PageSourceSearch

https://app.northflank.com/supermarine.js

js northflank.com collected 2026-09-24 08:51:44 UTC 441,081 bytes, 99 lines download raw bytes

1(function(){var ne,ye,ge;(function(){ne=this}).call(window),function(){var ee=__meteor_runtime_config__;ye=ee.meteorEnv,ge={isProduction:ye.NODE_ENV==="production",isDevelopment:ye.NODE_ENV!=="production",isClient:!0,isServer:!1,isCordova:!1,isModern:ee.isModern},ee.gitCommitHash&&(ge.gitCommitHash=ee.gitCommitHash),ee.PUBLIC_SETTINGS&&(ge.settings={public:ee.PUBLIC_SETTINGS})}.call(window),function(){function ee(){this._promiseInfoMap=Object.create(null)}var oe=ee.prototype;oe._define=function(ae,k){k=k||{};for(var O=arguments.length,f=2;f<O;++f){var p=arguments[f];for(var P in p)P in k||(k[P]=p[P])}this[ae]=k;var i=this._promiseInfoMap[ae];return i&&i.resolve(k),k},oe._has=function(ae){return Object.prototype.hasOwnProperty.call(this,ae)},oe._promise=function(ae){var k=this,O=k._promiseInfoMap[ae];return O||((O=k._promiseInfoMap[ae]={}).promise=new Promise((function(f,p){O.resolve=f,k._has(ae)?f(k[ae]):ge.startup((function(){k._has(ae)||p(new Error("Package "+ae+" not installed"))}))}))),O.promise},ne.Package=new ee,typeof exports=="object"&&(exports.PackageRegistry=ee)}.call(window),function(){if(ge.isServer)var ee=Npm.require("fibers/future");typeof __meteor_runtime_config__=="object"&&__meteor_runtime_config__.meteorRelease&&(ge.release=__meteor_runtime_config__.meteorRelease),ge._get=function(k){for(var O=1;O<arguments.length;O++){if(!(arguments[O]in k))return;k=k[arguments[O]]}return k},ge._ensure=function(k){for(var O=1;O<arguments.length;O++){var f=arguments[O];f in k||(k[f]={}),k=k[f]}return k},ge._delete=function(k){for(var O=[k],f=!0,p=1;p<arguments.length-1;p++){var P;if(!((P=arguments[p])in k)){f=!1;break}if(typeof(k=k[P])!="object")break;O.push(k)}for(var p=O.length-1;p>=0;p--){var P=arguments[p+1];if(f)f=!1;else for(var i in O[p][P])return;delete O[p][P]}},ge.promisify=function(k,O,f){return f===void 0&&(f=!0),function(){return new Promise((function(p,P){var i=ge.bindEnvironment((function(m,l){var a=m,o=l;if(f||(a=l,o=m),a)return P(a);p(o)})),d=Array.prototype.slice.call(arguments).filter((function(m){return m!==void 0}));return d.push(i),k.apply(O||this,d)}))}},ge.wrapAsync=function(k,O){return function(){for(var f=O||this,p=Array.prototype.slice.call(arguments),P,i=p.length-1;i>=0;--i){var d=p[i],m=typeof d;if(m!=="undefined"){m==="function"&&(P=d);break}}if(!P){if(ge.isClient)P=ae;else{var l=new ee;P=l.resolver()}++i}p[i]=ge.bindEnvironment(P);var a=k.apply(f,p);return l?l.wait():a}},ge.wrapFn=function(k){if(!k||typeof k!="function")throw new ge.Error("Expected to receive function to wrap");return ge.isClient?k:function(){var O=k.apply(this,arguments);return O&&typeof O.then=="function"?Promise.await(O):O}};var oe=Object.prototype.hasOwnProperty;ge._inherits=function(k,O){for(var f in O)oe.call(O,f)&&(k[f]=O[f]);var p=function(){this.constructor=k};return p.prototype=O.prototype,k.prototype=new p,k.__super__=O.prototype,k};var X=!1;function ae(k){if(k)return ge._debug("Exception in callback of async function",k)}ge._wrapAsync=function(k,O){return X||(ge._debug("Meteor._wrapAsync has been renamed to Meteor.wrapAsync"),X=!0),ge.wrapAsync.apply(ge,arguments)}}.call(window),function(){"use strict";var ee=this;function oe(){if(ee.setImmediate){var k=function(O){ee.setImmediate(O)};return k.implementation="setImmediate",k}return null}function X(){if(!ee.postMessage||ee.importScripts)return null;var k=!0,O=ee.onmessage;if(ee.onmessage=function(){k=!1},ee.postMessage("","*"),ee.onmessage=O,!k)return null;var f=0,p={},P="Meteor._setImmediate."+Math.random()+".";function i(l,a){return typeof l=="string"&&l.substring(0,a.length)===a}function d(l){if(l.source===ee&&i(l.data,P)){var a=l.data.substring(P.length);try{p[a]&&p[a]()}finally{delete p[a]}}}ee.addEventListener?ee.addEventListener("message",d,!1):ee.attachEvent("onmessage",d);var m=function(l){++f,p[f]=l,ee.postMessage(P+f,"*")};return m.implementation="postMessage",m}function ae(){var k=function(O){ee.setTimeout(O,0)};return k.implementation="setTimeout",k}ge._setImmediate=oe()||X()||ae()}.call(window),function(){function ee(X){if(Package.ddp){var ae=Package.ddp.DDP,k=ae._CurrentMethodInvocation||ae._CurrentInvocation,O=k.get();if(O&&O.isSimulation)throw new Error("Can't set timers inside simulations");return function(){k.withValue(null,X)}}return X}function oe(X,ae){return ge.bindEnvironment(ee(ae),X)}ge.setTimeout=function(X,ae){return setTimeout(oe("setTimeout callback",X),ae)},ge.setInterval=function(X,ae){return setInterval(oe("setInterval callback",X),ae)},ge.clearInterval=function(X){return clearInterval(X)},ge.clearTimeout=function(X){return clearTimeout(X)},ge.defer=function(X){ge._setImmediate(oe("defer callback",X))}}.call(window),function(){ge.makeErrorType=function(ee,oe){var X=function(){Error.captureStackTrace?Error.captureStackTrace(this,X):this.stack=new Error().stack,oe.apply(this,arguments),this.errorType=ee};
1return ge._inherits(X,Error),X},ge.Error=ge.makeErrorType("Meteor.Error",(function(ee,oe,X){var ae=this;ae.isClientSafe=!0,ae.error=ee,ae.reason=oe,ae.details=X,ae.reason?ae.message=ae.reason+" ["+ae.error+"]":ae.message="["+ae.error+"]"})),ge.Error.prototype.clone=function(){var ee=this;return new ge.Error(ee.error,ee.reason,ee.details)}}.call(window),function(){ge._noYieldsAllowed=function(oe){return oe()},ge._SynchronousQueue=function(){var oe=this;oe._tasks=[],oe._running=!1,oe._runTimeout=null};var ee=ge._SynchronousQueue.prototype;ee.runTask=function(oe){var X=this;if(!X.safeToRunTask())throw new Error("Could not synchronously run a task from a running task");X._tasks.push(oe);var ae=X._tasks;X._tasks=[],X._running=!0,X._runTimeout&&(clearTimeout(X._runTimeout),X._runTimeout=null);try{for(;ae.length>0;){var k=ae.shift();try{k()}catch(O){if(ae.length===0)throw O;ge._debug("Exception in queued task",O)}}}finally{X._running=!1}},ee.queueTask=function(oe){var X=this;X._tasks.push(oe),X._runTimeout||(X._runTimeout=setTimeout((function(){return X.flush.apply(X,arguments)}),0))},ee.flush=function(){var oe;this.runTask((function(){}))},ee.drain=function(){var oe=this;if(oe.safeToRunTask())for(;oe._tasks.length>0;)oe.flush()},ee.safeToRunTask=function(){var oe;return!this._running}}.call(window),function(){var ee=[],oe=!1,X=!1,ae=0,k=function(){ae++},O=function(){ae--,f()},f=function(){if(!(X||!oe||ae>0)){for(X=!0;ee.length;)ee.shift()();
1ge.isCordova&&WebAppLocalServer.startupDidComplete()}},p=function(){oe||(oe=!0,f())};ge.isCordova&&(k(),document.addEventListener("deviceready",O,!1)),document.readyState==="complete"||document.readyState==="loaded"?window.setTimeout(p):document.addEventListener?(document.addEventListener("DOMContentLoaded",p,!1),window.addEventListener("load",p,!1)):(document.attachEvent("onreadystatechange",(function(){document.readyState==="complete"&&p()})),window.attachEvent("load",p)),ge.startup=function(P){var i=!document.addEventListener&&document.documentElement.doScroll;if(i&&window===top){try{i("left")}catch{return void setTimeout((function(){ge.startup(P)}),50)}P()}else X?P():ee.push(P)}}.call(window),function(){var ee=0;ge._debug=function(){if(ee)ee--;else if(typeof console<"u"&&typeof console.log<"u"){if(arguments.length==0)console.log("");else if(typeof console.log.apply=="function"){for(var oe=!0,X=0;X<arguments.length;X++)typeof arguments[X]!="string"&&(oe=!1);oe?console.log.apply(console,[Array.prototype.join.call(arguments," ")]):console.log.apply(console,arguments)}else if(typeof Function.prototype.bind=="function"){var ae=Function.prototype.bind.call(console.log,console);ae.apply(console,arguments)}}},ge._suppress_log=function(oe){ee+=oe},ge._suppressed_log_expected=function(){return ee!==0}}.call(window),function(){ge._escapeRegExp=function(ee){return String(ee).replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}}.call(window),function(){var ee;ee=ge.isClient?ye.TEST_METADATA:process.env.TEST_METADATA;var oe=JSON.parse(ee||"{}"),X=oe.driverPackage;ge.isTest=!!oe.isTest,ge.isAppTest=!!oe.isAppTest,ge.isPackageTest=!!X&&!ge.isTest&&!ge.isAppTest,typeof X=="string"&&ge.startup((function(){var ae=Package[X];if(!ae)throw new Error("Can't find test driver package: "+X);if(ge.isClient){if(typeof ae.runTests!="function")throw new Error("Test driver package "+X+" missing `runTests` export");ae.runTests()}else typeof ae.start=="function"&&ae.start()}))}.call(window),function(){var ee=0,oe=[],X=!1;ge.EnvironmentVariable=function(){this.slot=ee++};var ae=ge.EnvironmentVariable.prototype;ae.getCurrentValues=function(){return oe},ae.get=function(){return oe[this.slot]},ae.getOrNullIfOutsideFiber=function(){return this.get()},ae.withValue=function(k,O){var f=oe[this.slot];try{oe[this.slot]=k;var p=O()}finally{oe[this.slot]=f}return p},ae._set=function(k){oe[this.slot]=k},ae._setNewContextAndGetCurrent=function(k){var O=oe[this.slot];return this._set(k),O},ae._isCallAsyncMethodRunning=function(){return X},ae._setCallAsyncMethodRunning=function(k){X=k},ge.bindEnvironment=function(k,O,f){var p=oe.slice();if(!O||typeof O=="string"){var P=O||"callback of async function";O=function(i){ge._debug("Exception in "+P+":",i)}}return function(){var i=oe;try{oe=p;var d=k.apply(f,arguments)}catch(m){O(m)}finally{oe=i}return d}},ge._nodeCodeMustBeInFiber=function(){}}.call(window),function(){ge.absoluteUrl=function(X,ae){ae||typeof X!="object"||(ae=X,X=void 0);var k=(ae=Object.assign({},ge.absoluteUrl.defaultOptions,ae||{})).rootUrl;
1if(!k)throw new Error("Must pass options.rootUrl or set ROOT_URL in the server environment");if(/^http[s]?:\/\//i.test(k)||(k="http://"+k),k.endsWith("/")||(k+="/"),X){for(;X.startsWith("/");)X=X.slice(1);k+=X}return ae.secure&&/^http:/.test(k)&&!/http:\/\/localhost[:\/]/.test(k)&&!/http:\/\/127\.0\.0\.1[:\/]/.test(k)&&(k=k.replace(/^http:/,"https:")),ae.replaceLocalhost&&(k=k.replace(/^http:\/\/localhost([:\/].*)/,"http://127.0.0.1$1")),k};var ee=ge.absoluteUrl.defaultOptions={},oe=typeof window=="object"&&window.location;typeof __meteor_runtime_config__=="object"&&__meteor_runtime_config__.ROOT_URL?ee.rootUrl=__meteor_runtime_config__.ROOT_URL:oe&&oe.protocol&&oe.host&&(ee.rootUrl=oe.protocol+"//"+oe.host),oe&&oe.protocol==="https:"&&(ee.secure=!0),ge._relativeToSiteRootUrl=function(X){return typeof __meteor_runtime_config__=="object"&&X.substr(0,1)==="/"&&(X=(__meteor_runtime_config__.ROOT_URL_PATH_PREFIX||"")+X),X}}.call(window),Package._define("meteor",{Meteor:ge,global:ne,meteorEnv:ye})})();Package._define("meteor-base");Package._define("mobile-experience");(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee,oe,X,ae,k;ee=function(O){"use strict";var f=(O=O||{}).extensions||[".js",".json"],p=O.fallback,P=O.mainFields||(O.browser?["browser","main"]:["main"]),i={}.hasOwnProperty;function d(T,L){return _(T)&&w(L)&&i.call(T,L)}var m={},l=new D("/",new D("/..")),a=I(l),o,c;function u(T,L){return _(T)&&j(l,T,L),a}function g(T){this.id=T,this.children=[],this.childrenById={}}function v(T,L){return d(T,L)&&T[L]}function _(T){return T!==null&&typeof T=="object"}function E(T){return typeof T=="function"}function w(T){return typeof T=="string"}function S(T){return new Error("Cannot find module '"+T+"'")}function I(T){var L=T.module;function z(V){return L.require(V)}return z.extensions=C(T).slice(0),z.resolve=function(J){return L.resolve(J)},z}function D(T,L){var z=this;z.parent=L=L||null,z.module=new g(T),m[T]=z,z.contents=null,z.deps={}}function y(T,L){var z=T.module;if(!d(z,"exports")){var V=T.contents;if(!V){if(T.stub)return T.stub;throw S(z.id)}if(L){z.parent=L;var J=L.children;Array.isArray(J)&&J.push(z)}V(I(T),z.exports=T.stub||{},z,T.module.id,T.parent.module.id),z.loaded=!0}var ie=z.runSetters||z.runModuleSetters;return E(ie)&&ie.call(z),z.exports}function b(T){return T&&_(T.contents)}function U(T){return T&&T.contents===null}function j(T,L,z){Array.isArray(L)?(L.forEach((function(V){w(V)?T.deps[V]=T.module.id:E(V)?L=V:_(V)&&(T.stub=T.stub||{},F(V,(function(J,ie){T.stub[ie]=J})))})),E(L)||(L=null)):E(L)||w(L)||_(L)||(L=null),L&&(T.contents=T.contents||(_(L)?{}:L),_(L)&&b(T)&&F(L,(function(V,J){if(J==="..")ie=T.parent;else{var ie=v(T.contents,J);ie||((ie=T.contents[J]=new D(T.module.id.replace(/\/*$/,"/")+J,T)).options=z)}j(ie,V,z)})))}function F(T,L,z){Object.keys(T).forEach((function(V){L.call(this,T[V],V)}),z)}function C(T){return T.options&&T.options.extensions||f}function N(T,L,z){for(;T&&!b(T);)T=T.parent;if(!T||!L||L===".")return T;if(L==="..")return T.parent;var V=v(T.contents,L);if(z&&(!V||b(V)))for(var J=0;J<z.length;++J){var ie=v(T.contents,L+z[J]);if(ie&&!b(ie))return ie}return V}function K(T,L,z){var V=L.split("/");return V.every((function(J,ie){return T=ie<V.length-1?N(T,J):N(T,J,z)})),T}function re(T,L){var z=L&&L.module;T&&z&&(T.childrenById[z.id]=z)}function q(T,L,J,V){var J=J||T.module,ie=C(T);for(T=L.charAt(0)==="/"?K(l,L,ie):L.charAt(0)==="."?K(T,L,ie):W(T,L,ie);b(T);){if((V=V||[]).indexOf(T)<0){V.push(T);var le=N(T,"package.json"),H=le&&y(le,J),de,$;if(H&&P.some((function(A){var x=H[A];if(w(x))return de=K(T,x,ie)||q(T,x,J,V)}))&&de){T=de,re(J,le);continue}}T=N(T,"index",ie)}return T&&w(T.contents)&&(T=q(T,T.contents,J,V)),re(J,T),T}function W(T,L,z){for(var V;T&&!V;T=T.parent)V=b(T)&&K(T,"node_modules/"+L,z);return V}return u.fetch=function(T){throw new Error("fetch not implemented")},g.prototype.prefetch=function(T){var L=this,z=v(m,L.id),V=o=o||Promise.resolve();function J(ie){var le=v(m,ie.id);U(le)&&!le.pending&&(le.pending=!0,(c=c||{})[ie.id]={module:le.module,deps:Object.keys(le.deps),options:le.options,stub:le.stub},F(le.deps,(function(H,de){q(le,de)})),F(ie.childrenById,J))}return o=new Promise((function(ie){var le=L.resolve(T);F(L.childrenById,J),ie(le)})).then((function(ie){var le=c;function H(){le&&Object.keys(le).forEach((function(de){v(m,de).pending=!1}))}return c=null,new Promise((function(de){de(le&&u.fetch(le))})).then((function(de){function $(){return u(de),H(),ie}return V.then($,$)}),(function(de){throw H(),de}))}))},u.Module=g,g.prototype.resolve=function(T){var L=q(m[this.id],T);if(L)return L.module.id;var z=S(T);if(p&&E(p.resolve))return p.resolve(T,this.id,z);throw z},g.prototype.require=function(L){var z=q(m[this.id],L);if(z)return y(z,this);var V=S(L);if(E(p))return p(L,this.id,V);throw V},u},typeof exports=="object"&&(exports.makeInstaller=ee),function(){oe=function(O){var f,p,P;return{from:function(i){return!!O&&String(O).split("/").slice(0,-1).some((function(m){return m===i}));var d},fromClientError:function(){return new Error('Unable to import on the server a module from a client directory: "'+O+`" 
2 (cross-boundary import) see: https://guide.meteor.com/structure.html#special-directories`)},fromServerError:function(){return new Error('Unable to import on the client a module from a server directory: "'+O+`" 
3 (cross-boundary import) see: https://guide.meteor.com/structure.html#special-directories`)}}}}.call(window),function(){X=function(O){var f=O.split("/",2)[1];return new Error('Cannot find package "'+f+'". Try "meteor add '+f+'".')}}.call(window),function(){ae=ee({browser:!0,mainFields:["browser","module","main"],fallback:function(O,f,p){k(O,f,p)}})}.call(window),function(){if(typeof Profile=="function"&&process.env.METEOR_PROFILE){var O=ae.Module.prototype;O.require=Profile((function(f){return"require("+JSON.stringify(f)+")"}),O.require)}}.call(window),function(){k=function(O,f,p){if(O&&O.startsWith("meteor/"))throw X(O);if(!O.startsWith(".")&&!O.startsWith("/")||oe(O).from("node_modules"))throw p;if(ne.isServer&&oe(O).from("client"))throw oe(O).fromClientError();if(ne.isClient&&oe(O).from("server"))throw oe(O).fromServerError();if(p)throw p}}.call(window),Package._define("modules-runtime",{meteorInstall:ae,verifyErrors:k})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package["modules-runtime"].meteorInstall,oe=Package["modules-runtime"].verifyErrors,X=ee({node_modules:{meteor:{modules:{
3"client.js":function(O,f){O("./install-packages.js"),O("./stubs.js"),O("./process.js"),O("./reify.js"),f.addStyles=O("./css").addStyles},
3"css.js":function(O,f){var p=document,P=p.getElementsByTagName("head").item(0);f.addStyles=function(i){var d=p.createElement("style");d.setAttribute("type","text/css");var m=d.sheet||d.styleSheet;return m?m.cssText=i:d.appendChild(p.createTextNode(i)),P.appendChild(d)}},
3"install-packages.js":function(k,O,f){function p(P,i){var d={};d[P+".js"]=typeof i=="string"?i:function(m,l,a){a.exports=Package[P]},ee({node_modules:{meteor:d}})}p("meteor"),p("meteor-base"),p("mobile-experience"),p("modules-runtime"),p("modules","meteor/modules/client.js"),p("modern-browsers"),p("babel-compiler"),p("react-fast-refresh"),p("ecmascript"),p("ecmascript-runtime"),p("babel-runtime"),p("promise","meteor/promise/client.js"),p("fetch","meteor/fetch/modern.js"),p("dynamic-import","meteor/dynamic-import/client.js"),p("es5-shim"),p("ecmascript-runtime-client","meteor/ecmascript-runtime-client/modern.js"),p("base64","meteor/base64/base64.js"),p("ejson","meteor/ejson/ejson.js"),p("diff-sequence","meteor/diff-sequence/diff.js"),p("geojson-utils","meteor/geojson-utils/main.js"),p("id-map","meteor/id-map/id-map.js"),p("random","meteor/random/main_client.js"),p("mongo-id","meteor/mongo-id/id.js"),p("ordered-dict","meteor/ordered-dict/ordered_dict.js"),p("tracker"),p("minimongo","meteor/minimongo/minimongo_client.js"),p("check","meteor/check/match.js"),p("retry","meteor/retry/retry.js"),p("callback-hook","meteor/callback-hook/hook.js"),p("ddp-common"),p("reload","meteor/reload/reload.js"),p("socket-stream-client","meteor/socket-stream-client/browser.js"),p("ddp-client","meteor/ddp-client/client/client.js"),p("ddp"),p("ddp-server"),p("allow-deny"),p("logging","meteor/logging/logging.js"),p("mongo"),p("reactive-var"),p("minifier-css"),p("standard-minifier-css"),p("standard-minifier-js"),p("typescript"),p("shell-server"),p("static-html"),p("react-meteor-data","meteor/react-meteor-data/index.js"),p("ddp-rate-limiter"),p("localstorage"),p("url","meteor/url/modern.js"),p("accounts-base","meteor/accounts-base/client_main.js"),p("sha"),p("accounts-password"),p("webapp","meteor/webapp/webapp_client.js"),p("hot-code-push"),p("launch-screen"),p("autoupdate","meteor/autoupdate/autoupdate_client.js")},
3"process.js":function(k,O,f){if(!ye.process)try{ye.process=k("process")}catch{ye.process={}}var p=ye.process;ne.isServer?ee({node_modules:{
3"process.js":function(d,m,l){l.exports=p}}}):(p.platform="browser",p.nextTick=p.nextTick||ne._setImmediate),typeof p.env!="object"&&(p.env={});var P=Object.prototype.hasOwnProperty;for(var i in ge)P.call(ge,i)&&(p.env[i]=ge[i])},
3"reify.js":function(k,O,f){k("@meteorjs/reify/lib/runtime").enable(f.constructor.prototype)},
3"stubs.js":function(O){var f=!1;try{O.resolve("meteor-node-stubs"),f=!0}catch{}f&&O("meteor-node-stubs")},node_modules:{"@meteorjs":{reify:{lib:{runtime:{
3"index.js":function(k,O,f){"use strict";var p=k("./utils.js"),P=k("./entry.js");function i(c,u,g){p.setESModule(this.exports),P.getOrCreate(this.id,this);var v=this.resolve(c),_=P.getOrCreate(v);p.isObject(u)&&_.addSetters(this,u,g);var E=this.require(v);_.module===null&&(_.module={id:v,exports:E}),_.runSetters()}function d(c,u){p.setESModule(this.exports);var g=P.getOrCreate(this.id,this);g.addGetters(c,u),this.loaded&&g.runSetters()}function m(c){return this.export({default:function(){return c}},!0)}function l(c){var u=this,g=c==="*+",v=function(_){c==="*"||c==="*+"?Object.keys(_).forEach((function(E){(g||E!=="default")&&p.copyKey(E,u.exports,_)})):u.exports[c]=_};return c!=="*+"&&c!=="*"&&(v.exportAs=c),v}function a(c,u){return P.getOrCreate(this.id,this).runSetters(u,!0),c}function o(c){return this.exportAs(c?"*+":"*")}O.enable=function(c){return c.link!==i&&(c.link=i,c.export=d,c.exportDefault=m,c.exportAs=l,c.runSetters=a,c.makeNsSetter=o,!0)}},
3"utils.js":function(k,O,f){"use strict";var p=typeof Object.setPrototypeOf=="function",P=typeof Symbol=="function",i="__esModule",d=P?Symbol.for(i):null,m=P&&typeof Symbol.toStringTag=="symbol",l=typeof Object.getOwnPropertyDescriptor=="function",a=Object.prototype.hasOwnProperty;function o(w,S,I){if(l){var D=Object.getOwnPropertyDescriptor(I,w);D.configurable=!0,Object.defineProperty(S,w,D)}else S[w]=I[w]}function c(w){if(v(w)){if(P&&a.call(w,d))return!!w[d];if(a.call(w,i))return!!w[i]}return!1}function u(w){v(w)&&(P&&(w[d]=!0),w[i]||Object.defineProperty(w,i,{configurable:!0,enumerable:!1,value:!0,writable:!0}))}function g(w){return typeof w=="object"&&w!==null}function v(w){var S=typeof w;return S==="function"||S==="object"&&w!==null}function _(){var w=Object.create(null);return m&&Object.defineProperty(w,Symbol.toStringTag,{value:"Module",configurable:!1,enumerable:!1,writable:!1}),u(w),w}function E(w,S){return p?Object.setPrototypeOf(w,S):w.__proto__=S,w}O.copyKey=o,O.valueOrGetter=function(w,S){if(l&&a.call(w,S)){var I=Object.getOwnPropertyDescriptor(w,S);if(typeof I.get=="function")return I.get}return w[S]},O.getESModule=c,O.setESModule=u,O.isObject=g,O.isObjectLike=v,O.ensureObjectProperty=function(w,S){return a.call(w,S)?w[S]:w[S]=Object.create(null)},O.createNamespace=_,O.setPrototypeOf=E},
3"entry.js":function(k,O,f){"use strict";var p=k("./utils.js"),P={},i={},d={},m=Object.prototype.hasOwnProperty,l=0;function a(b){this.id=b,this.module=null,this.namespace=p.createNamespace(),this.getters=Object.create(null),this.setters=Object.create(null),this.newSetters=Object.create(null),this.snapshots=Object.create(null)}var o=p.setPrototypeOf(a.prototype,null),c=Object.create(null);function u(b){var U=Object.keys(b),j=U.indexOf("__esModule");return j>=0&&U.splice(j,1),U}function g(b,U){if(typeof U=="function")return U;if(typeof U=="string")return b.exportAs(U);if(Array.isArray(U))switch(U.length){case 0:return null;case 1:return g(b,U[0]);default:var j=U.map((function(F){return g(b,F)}));return function(F){j.forEach((function(C){C(F)}))}}return null}function v(b,U){var j=!1;if(b.module!==null){var F=b.module.exports;p.getESModule(F)||(b.namespace.default=F,j=!0),p.isObjectLike(F)&&((U===void 0||U.indexOf("*")>=0)&&(U=Object.keys(F)),U.forEach((function(C){m.call(b.getters,C)||j&&C==="default"||!m.call(F,C)||p.copyKey(C,b.namespace,F)})))}}function _(b,U,j){var F=Object.create(null),C=[];U==="*"?u(j).forEach((function(K){C.push(K),F[K]=E(p.valueOrGetter(j,K))})):(C.push(U),F[U]=E(j));var N=b.snapshots[U];return N&&C.every((function(K){return N[K]===F[K]}))&&C.length===Object.keys(N).length?N:F}function E(b){return b===void 0?d:b!=b&&isNaN(b)?i:b}function w(b,U,j){if(b.snapshots[U]!==j)return b.snapshots[U]=j,delete b.newSetters[U],Object.keys(b.setters[U]);var F=b.newSetters[U],C=F&&Object.keys(F);return C&&C.length?(delete b.newSetters[U],C):void 0}function S(b,U,j){U===void 0&&(U=Object.keys(b.setters)),U.forEach((function(F){if(F!=="__esModule"){var C=b.setters[F];if(C){var N=b.getters[F],K=typeof N=="function"&&N.runCount>0&&N.constant,re=I(b,F),q=_(b,F,re),W=w(b,F,q);W!==void 0&&W.forEach((function(T){var L=C[T];L&&(j(L,F,re),K&&delete C[T])}))}}}))}function I(b,U){if(U==="*")return b.namespace;if(m.call(b.namespace,U))return b.namespace[U];if(b.module!==null){var j=b.module.exports;if(!(U!=="default"||p.getESModule(j)&&"default"in j))return j;if(j!=null)return j[U]}}function D(){return Math.random().toString(36).replace("0.",++l+"$")}function y(b,U){var j=b.getters[U];if(!j)return P;try{var F=j();return++j.runCount,F}catch{}return P}a.getOrCreate=function(b,U){var j=m.call(c,b)?c[b]:c[b]=new a(b);return p.isObject(U)&&U.id===j.id&&(j.module=U),j},o.addGetters=function(b,U){var j=u(b),F=j.length;U=!!U;for(var C=0;C<F;++C){var N=j[C],K=b[N];typeof K!="function"||N in this.getters||(this.getters[N]=K,K.constant=U,K.runCount=0)}},o.addSetters=function(b,U,j){var F=u(U),C=F.length;if(C){j=j===void 0?D():b.id+":"+j;for(var N=this,K=0;K<C;++K){var re=F[K],q=g(b,U[re]);typeof q=="function"&&(q.parent=b,p.ensureObjectProperty(N.setters,re)[j]=q,p.ensureObjectProperty(N.newSetters,re)[j]=q)}N.runSetters(F)}},o.runGetters=function(b){v(this,b),(b===void 0||b.indexOf("*")>=0)&&(b=Object.keys(this.getters));for(var U=b.length,j=0;j<U;++j){var F=b[j],C=y(this,F);C!==P&&(this.namespace[F]=C,this.module.exports[F]=C)}},o.runSetters=function(b,U){var j,F;if(this.runGetters(b),U&&b!==void 0&&b.push("*"),S(this,b,(function(W,T,L){j===void 0&&(j=Object.create(null)),F===void 0&&(F=Object.create(null));var z=W.parent.id;W.exportAs!==void 0&&F[z]!==!1?(F[z]=F[z]||[],F[z].push(W.exportAs)):F[z]!==!1&&(F[z]=!1),j[z]=W.parent,W(L,T)})),j)for(var C=Object.keys(j),N=C.length,K=0;K<N;++K){var re=j[C[K]],q=c[re.id];q&&q.runSetters(F[C[K]]||void 0,!!F[C[K]])}},f.exports=a}}}}}}}}}},{extensions:[".js",".json"]});ee({node_modules:{react:{
3"package.json":function(k,O,f){f.exports={name:"react",version:"18.2.0",main:"index.js"}},
3"index.js":function(k,O,f){"use strict";f.exports=k("./cjs/react.production.min.js")},cjs:{
3"react.production.min.js":function(O,f){"use strict";var p=Symbol.for("react.element"),P=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),m=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),a=Symbol.for("react.context"),o=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),v=Symbol.iterator;function _(H){return H===null||typeof H!="object"?null:typeof(H=v&&H[v]||H["@@iterator"])=="function"?H:null}var E={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},w=Object.assign,S={};function I(H,de,$){this.props=H,this.context=de,this.refs=S,this.updater=$||E}function D(){}function y(H,de,$){this.props=H,this.context=de,this.refs=S,this.updater=$||E}I.prototype.isReactComponent={},I.prototype.setState=function(H,de){if(typeof H!="object"&&typeof H!="function"&&H!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,H,de,"setState")},I.prototype.forceUpdate=function(H){this.updater.enqueueForceUpdate(this,H,"forceUpdate")},D.prototype=I.prototype;var b=y.prototype=new D;b.constructor=y,w(b,I.prototype),b.isPureReactComponent=!0;var U=Array.isArray,j=Object.prototype.hasOwnProperty,F={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function N(H,de,$){var A,x={},M=null,B=null;if(de!=null)for(A in de.ref!==void 0&&(B=de.ref),de.key!==void 0&&(M=""+de.key),de)j.call(de,A)&&!C.hasOwnProperty(A)&&(x[A]=de[A]);var G=arguments.length-2;if(G===1)x.children=$;else if(1<G){for(var te=Array(G),ce=0;ce<G;ce++)te[ce]=arguments[ce+2];x.children=te}if(H&&H.defaultProps)for(A in G=H.defaultProps)x[A]===void 0&&(x[A]=G[A]);return{$$typeof:p,type:H,key:M,ref:B,props:x,_owner:F.current}}function K(H,de){return{$$typeof:p,type:H.type,key:de,ref:H.ref,props:H.props,_owner:H._owner}}function re(H){return typeof H=="object"&&H!==null&&H.$$typeof===p}function q(H){var de={"=":"=0",":":"=2"};return"$"+H.replace(/[=:]/g,(function($){return de[$]}))}var W=/\/+/g;function T(H,de){return typeof H=="object"&&H!==null&&H.key!=null?q(""+H.key):de.toString(36)}function L(H,de,$,A,x){var M=typeof H;M!=="undefined"&&M!=="boolean"||(H=null);var B=!1;if(H===null)B=!0;else switch(M){case"string":case"number":B=!0;break;case"object":switch(H.$$typeof){case p:case P:B=!0}}if(B)return x=x(B=H),H=A===""?"."+T(B,0):A,U(x)?($="",H!=null&&($=H.replace(W,"$&/")+"/"),L(x,de,$,"",(function(ce){return ce}))):x!=null&&(re(x)&&(x=K(x,$+(!x.key||B&&B.key===x.key?"":(""+x.key).replace(W,"$&/")+"/")+H)),de.push(x)),1;if(B=0,A=A===""?".":A+":",U(H))for(var G=0;G<H.length;G++){var te=A+T(M=H[G],G);B+=L(M,de,$,te,x)}else if(typeof(te=_(H))=="function")for(H=te.call(H),G=0;!(M=H.next()).done;)B+=L(M=M.value,de,$,te=A+T(M,G++),x);else if(M==="object")throw de=String(H),Error("Objects are not valid as a React child (found: "+(de==="[object Object]"?"object with keys {"+Object.keys(H).join(", ")+"}":de)+"). If you meant to render a collection of children, use an array instead.");return B}function z(H,de,$){if(H==null)return H;var A=[],x=0;return L(H,A,"","",(function(M){return de.call($,M,x++)})),A}function V(H){if(H._status===-1){var de=H._result;(de=de()).then((function($){H._status!==0&&H._status!==-1||(H._status=1,H._result=$)}),(function($){H._status!==0&&H._status!==-1||(H._status=2,H._result=$)})),H._status===-1&&(H._status=0,H._result=de)}if(H._status===1)return H._result.default;throw H._result}var J={current:null},ie={transition:null},le={ReactCurrentDispatcher:J,ReactCurrentBatchConfig:ie,ReactCurrentOwner:F};f.Children={map:z,forEach:function(H,de,$){z(H,(function(){de.apply(this,arguments)}),$)},count:function(H){var de=0;return z(H,(function(){de++})),de},toArray:function(H){return z(H,(function(de){return de}))||[]},only:function(H){if(!re(H))throw Error("React.Children.only expected to receive a single React element child.");return H}},f.Component=I,f.Fragment=i,f.Profiler=m,f.PureComponent=y,f.StrictMode=d,f.Suspense=c,f.__SECRET_INT
vendor: 2,401 bytes, line 3
3ERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=le,f.cloneElement=function(H,de,$){if(H==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+H+".");var A=w({},H.props),x=H.key,M=H.ref,B=H._owner;if(de!=null){if(de.ref!==void 0&&(M=de.ref,B=F.current),de.key!==void 0&&(x=""+de.key),H.type&&H.type.defaultProps)var G=H.type.defaultProps;for(te in de)j.call(de,te)&&!C.hasOwnProperty(te)&&(A[te]=de[te]===void 0&&G!==void 0?G[te]:de[te])}var te=arguments.length-2;if(te===1)A.children=$;else if(1<te){G=Array(te);for(var ce=0;ce<te;ce++)G[ce]=arguments[ce+2];A.children=G}return{$$typeof:p,type:H.type,key:x,ref:M,props:A,_owner:B}},f.createContext=function(H){return(H={$$typeof:a,_currentValue:H,_currentValue2:H,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:H},H.Consumer=H},f.createElement=N,f.createFactory=function(H){var de=N.bind(null,H);return de.type=H,de},f.createRef=function(){return{current:null}},f.forwardRef=function(H){return{$$typeof:o,render:H}},f.isValidElement=re,f.lazy=function(H){return{$$typeof:g,_payload:{_status:-1,_result:H},_init:V}},f.memo=function(H,de){return{$$typeof:u,type:H,compare:de===void 0?null:de}},f.startTransition=function(H){var de=ie.transition;ie.transition={};try{H()}finally{ie.transition=de}},f.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},f.useCallback=function(H,de){return J.current.useCallback(H,de)},f.useContext=function(H){return J.current.useContext(H)},f.useDebugValue=function(){},f.useDeferredValue=function(H){return J.current.useDeferredValue(H)},f.useEffect=function(H,de){return J.current.useEffect(H,de)},f.useId=function(){return J.current.useId()},f.useImperativeHandle=function(H,de,$){return J.current.useImperativeHandle(H,de,$)},f.useInsertionEffect=function(H,de){return J.current.useInsertionEffect(H,de)},f.useLayoutEffect=function(H,de){return J.current.useLayoutEffect(H,de)},f.useMemo=function(H,de){return J.current.useMemo(H,de)},f.useReducer=function(H,de,$){return J.current.useReducer(H,de,$)},f.useRef=function(H){return J.current.useRef(H)},f.useState=function(H){return J.current.useState(H)},f.useSyncExternalStore=function(H,de,$){return J.current.useSyncExternalStore(H,de,$)},f.useTransition=function(){return J.current.useTransition()},f.version="18.2.0"},
3"react.development.js":function(k,O,f){"use strict"}}},"react-dom":{
3"package.json":function(k,O,f){f.exports={name:"react-dom",version:"18.2.0",browser:{"./server.js":"./server.browser.js"},main:"index.js"}},
3"client.js":function(O,f){"use strict";var p=O("react-dom"),P;f.createRoot=p.createRoot,f.hydrateRoot=p.hydrateRoot},
3"index.js":function(k,O,f){"use strict";function p(){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE=="function")try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(p)}catch(P){console.error(P)}}p(),f.exports=k("./cjs/react-dom.production.min.js")},cjs:{
3"react-dom.production.min.js":function(O,f){"use strict";var p=O("react"),P=O("scheduler");function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var d=new Set,m={};function l(e,t){a(e,t),a(e+"Capture",t)}function a(e,t){for(m[e]=t,e=0;e<t.length;e++)d.add(t[e])}var o=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),c=Object.prototype.hasOwnProperty,u=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},v={};function _(e){return!!c.call(v,e)||!c.call(g,e)&&(u.test(e)?v[e]=!0:(g[e]=!0,!1))}function E(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5))!=="data-"&&e!=="aria-");default:return!1}}function w(e,t,n,r){if(t===null||typeof t>"u"||E(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function S(e,t,n,r,s,h,R){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=s,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=h,this.removeEmptyString=R}var I={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){I[e]=new S(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];I[t]=new S(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){I[e]=new S(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){I[e]=new S(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){I[e]=new S(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){I[e]=new S(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){I[e]=new S(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){I[e]=new S(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){I[e]=new S(e,5,!1,e.toLowerCase(),null,!1,!1)}));var D=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var s=I.hasOwnProperty(t)?I[t]:null;(s!==null?s.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!=="O"||t[1]!=="n"&&t[1]!=="N")&&(w(t,n,s,r)&&(n=null),r||s===null?_(t)&&(n===null?e.removeAttribute(t):e.setAttribute(t,""+n)):s.mustUseProperty?e[s.propertyName]=n===null?s.type!==3&&"":n:(t=s.attributeName,r=s.attributeNamespace,n===null?e.removeAttribute(t):(n=(s=s.type)===3||s===4&&n===!0?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode
3-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(D,y);I[t]=new S(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(D,y);I[t]=new S(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(D,y);I[t]=new S(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){I[e]=new S(e,1,!1,e.toLowerCase(),null,!1,!1)})),I.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){I[e]=new S(e,1,!1,e.toLowerCase(),null,!0,!0)}));var U=p.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,j=Symbol.for("react.element"),F=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),K=Symbol.for("react.profiler"),re=Symbol.for("react.provider"),q=Symbol.for("react.context"),W=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),z=Symbol.for("react.memo"),V=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var J=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var ie=Symbol.iterator;function le(e){return e===null||typeof e!="object"?null:typeof(e=ie&&e[ie]||e["@@iterator"])=="function"?e:null}var H=Object.assign,de;function $(e){if(de===void 0)try{throw Error()}catch(n){var t=n.stack.trim().match(/\n( *(at )?)/);de=t&&t[1]||""}return`
4`+de+e}var A=!1;function x(e,t){if(!e||A)return"";A=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(pe){var r=pe}Reflect.construct(e,[],t)}else{try{t.call()}catch(pe){r=pe}e.call(t.prototype)}else{try{throw Error()}catch(pe){r=pe}e()}}catch(pe){if(pe&&r&&typeof pe.stack=="string"){for(var s=pe.stack.split(`
5`),h=r.stack.split(`
6`),R=s.length-1,Q=h.length-1;1<=R&&0<=Q&&s[R]!==h[Q];)Q--;for(;1<=R&&0<=Q;R--,Q--)if(s[R]!==h[Q]){if(R!==1||Q!==1)do if(R--,0>--Q||s[R]!==h[Q]){var Z=`
7`+s[R].replace(" at new "," at ");return e.displayName&&Z.includes("<anonymous>")&&(Z=Z.replace("<anonymous>",e.displayName)),Z}while(1<=R&&0<=Q);break}}}finally{A=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?$(e):""}function M(e){switch(e.tag){case 5:return $(e.type);case 16:return $("Lazy");case 13:return $("Suspense");case 19:return $("SuspenseList");case 0:case 2:case 15:return e=x(e.type,!1);case 11:return e=x(e.type.render,!1);case 1:return e=x(e.type,!0);default:return""}}function B(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case C:return"Fragment";case F:return"Portal";case K:return"Profiler";case N:return"StrictMode";case T:return"Suspense";case L:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case q:return(e.displayName||"Context")+".Consumer";case re:return(e._context.displayName||"Context")+".Provider";case W:var t=e.render;return(e=e.displayName)||(e=(e=t.displayName||t.name||"")!==""?"ForwardRef("+e+")":"ForwardRef"),e;case z:return(t=e.displayName||null)!==null?t:B(e.type)||"Memo";case V:t=e._payload,e=e._init;try{return B(e(t))}catch{}}return null}function G(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return B(t);case 8:return t===N?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function te(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function ce(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function ve(e){var t=ce(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var s=n.get,h=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return s.call(window)},set:function(R){r=""+R,h.call(this,R)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(R){r=""+R},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function be(e){e._valueTracker||(e._valueTracker=ve(e))}function Pe(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=ce(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Ne(e){if(typeof(e=e||(typeof document<"u"?document:void 0))>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function We(e,t){var n=t.checked;return H({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function Ve(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=te(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function Ke(e,t){(t=t.checked)!=null&&b(e,"checked",t,!1)}function rt(e,t){Ke(e,t);var n=te(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset")return void e.removeAttribute("value");t.hasOwnProperty("value")?yt(e,t.type,n):t.hasOwnProperty("defaultValue")&&yt(e,t.type,te
7(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function lt(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}(n=e.name)!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function yt(e,t,n){t==="number"&&Ne(e.ownerDocument)===e||(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Qt=Array.isArray;function Jt(e,t,n,r){if(e=e.options,t){t={};for(var s=0;s<n.length;s++)t["$"+n[s]]=!0;for(n=0;n<e.length;n++)s=t.hasOwnProperty("$"+e[n].value),e[n].selected!==s&&(e[n].selected=s),s&&r&&(e[n].defaultSelected=!0)}else{for(n=""+te(n),t=null,s=0;s<e.length;s++){if(e[s].value===n)return e[s].selected=!0,void(r&&(e[s].defaultSelected=!0));t!==null||e[s].disabled||(t=e[s])}t!==null&&(t.selected=!0)}}function Y(e,t){if(t.dangerouslySetInnerHTML!=null)throw Error(i(91));return H({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function he(e,t){var n=t.value;if(n==null){if(n=t.children,t=t.defaultValue,n!=null){if(t!=null)throw Error(i(92));if(Qt(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}t==null&&(t=""),n=t}e._wrapperState={initialValue:te(n)}}function me(e,t){var n=te(t.value),r=te(t.defaultValue);n!=null&&((n=""+n)!==e.value&&(e.value=n),t.defaultValue==null&&e.defaultValue!==n&&(e.defaultValue=n)),r!=null&&(e.defaultValue=""+r)}function _e(e){var t=e.textContent;t===e._wrapperState.initialValue&&t!==""&&t!==null&&(e.value=t)}function Se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function je(e,t){return e==null||e==="http://www.w3.org/1999/xhtml"?Se(t):e==="http://www.w3.org/2000/svg"&&t==="foreignObject"?"http://www.w3.org/1999/xhtml":e}var Ie,Ue=(Le=function(e,t){if(e.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in e)e.innerHTML=t;else{for((Ie=Ie||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=Ie.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Le(e,t,n,r)}))}:Le),Le;function Ze(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3)return void(n.nodeValue=t)}e.textContent=t}var vt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Rn=["Webkit","ms","Moz","O"];function sr(e,t,n){return t==null||typeof t=="boolean"||t===""?"":n||typeof t!="number"||t===0||vt.hasOwnProperty(e)&&vt[e]?(""+t).trim():t+"px"}function Fa(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=n.indexOf("--")===0,s=sr(n,t[n],r);n==="float"&&(n="cssFloat"),r?e.setProperty(n,s):e[n]=s}}Object.keys(vt).forEach((function(e){Rn.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),vt[t]=vt[e]}))}));var Sc=H({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function Jo(e,t){if(t){if(Sc[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(i(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(i(60));if(typeof t.dangerouslySetInnerHTML!="object"||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(t.style!=null&&typeof t.style!="object")throw Error(i(62))}}function Ko(e,t){if(e.indexOf("-")===-1)return typeof t.is=="str
7ing";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Go=null;function Yo(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xo=null,Dn=null,Ln=null;function Ua(e){if(e=Pr(e)){if(typeof Xo!="function")throw Error(i(280));var t=e.stateNode;t&&(t=co(t),Xo(e.stateNode,e.type,t))}}function $a(e){Dn?Ln?Ln.push(e):Ln=[e]:Dn=e}function Ba(){if(Dn){var e=Dn,t=Ln;if(Ln=Dn=null,Ua(e),t)for(e=0;e<t.length;e++)Ua(t[e])}}function za(e,t){return e(t)}function Wa(){}var Zo=!1;function Va(e,t,n){if(Zo)return e(t,n);Zo=!0;try{return za(e,t,n)}finally{Zo=!1,(Dn!==null||Ln!==null)&&(Wa(),Ba())}}function lr(e,t){var n=e.stateNode;if(n===null)return null;var r=co(n);if(r===null)return null;switch(n=r[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!((e=e.type)==="button"||e==="input"||e==="select"||e==="textarea")),e=!r;break;default:e=!1}if(e)return null;if(n&&typeof n!="function")throw Error(i(231,t,typeof n));return n}var ei=!1;if(o)try{var cr={};Object.defineProperty(cr,"passive",{get:function(){ei=!0}}),window.addEventListener("test",cr,cr),window.removeEventListener("test",cr,cr)}catch{ei=!1}function xc(e,t,n,r,s,h,R,Q,Z){var pe=Array.prototype.slice.call(arguments,3);try{t.apply(n,pe)}catch(we){this.onError(we)}}var ur=!1,Wr=null,Vr=!1,ti=null,jc={onError:function(e){ur=!0,Wr=e}};function Oc(e,t,n,r,s,h,R,Q,Z){ur=!1,Wr=null,xc.apply(jc,arguments)}function Pc(e,t,n,r,s,h,R,Q,Z){if(Oc.apply(this,arguments),ur){if(!ur)throw Error(i(198));var pe=Wr;ur=!1,Wr=null,Vr||(Vr=!0,ti=pe)}}function kn(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do(4098&(t=e).flags)!=0&&(n=t.return),e=t.return;while(e)}return t.tag===3?n:null}function qa(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate)!==null&&(t=e.memoizedState),t!==null)return t.dehydrated}return null}function Ha(e){if(kn(e)!==e)throw Error(i(188))}function Cc(e){var t=e.alternate;if(!t){if((t=kn(e))===null)throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var s=n.return;if(s===null)break;var h=s.alternate;if(h===null){if((r=s.return)!==null){n=r;continue}break}if(s.child===h.child){for(h=s.child;h;){if(h===n)return Ha(s),e;if(h===r)return Ha(s),t;h=h.sibling}throw Error(i(188))}if(n.return!==r.return)n=s,r=h;else{for(var R=!1,Q=s.child;Q;){if(Q===n){R=!0,n=s,r=h;break}if(Q===r){R=!0,r=s,n=h;break}Q=Q.sibling}if(!R){for(Q=h.child;Q;){if(Q===n){R=!0,n=h,r=s;break}if(Q===r){R=!0,r=h,n=s;break}Q=Q.sibling}if(!R)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(n.tag!==3)throw Error(i(188));return n.stateNode.current===n?e:t}function Qa(e){return(e=Cc(e))!==null?Ja(e):null}function Ja(e){if(e.tag===5||e.tag===6)return e;for(e=e.child;e!==null;){var t=Ja(e);if(t!==null)return t;e=e.sibling}return null}var Ka=P.unstable_scheduleCallback,Ga=P.unstable_cancelCallback,Ic=P.unstable_shouldYield,Tc=P.unstable_requestPaint,et=P.unstable_now,Mc=P.unstable_getCurrentPriorityLevel,ni=P.unstable_ImmediatePriority,Ya=P.unstable_UserBlockingPriority,ri=P.unstable_NormalPriority,Ac=P.unstable_LowPriority,Xa=P.unstable_IdlePriority,qr=null,Bt=null;function Nc(e){if(Bt&&typeof Bt.onCommitFiberRoot=="function")try{Bt.onCommitFiberRoot(qr,e,void 0,(128&e.current.flags)==128)}catch{}}var Rt=Math.clz32?Math.clz32:Lc,Rc=Math.log,Dc=Math.LN2;function Lc(e){return(e>>>=0)===0?32:31-(Rc(e)/Dc|0)|0}var oi=64,ii=4194304;function dr(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Hr(e,t){var n=e.pendingLanes;if(n===0)return 0;var r=0,s=e.suspendedLanes,h=e.pingedLanes,R=268435455&n;if(R!==0){var Q=R&~s;Q!==0?r=dr(Q):(h&=R)!==0&&(r=dr(h))}else(R=n&~s)!==0?r=dr(R):h!==0&&(r=dr(h));if(r===0)return 0;if(t!==0&&t!==r&&(t&s)==0&&((s=r&-r)>=(h=t&-t)||s===16&&(4194240&h)!=0))return t;if((4&r)!=0&&(r|=16&n),(t=e.entangledLanes)!==0)for(e=e.entanglements,t&=r;0<t;)s=1<<(n=31-Rt(t)),r|=e[n],t&=~s;return r}function Fc(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function Uc(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,s=e.expirationTimes,h=e.pendingLanes;0<h;){var R=31-Rt(h),Q=1<<R,Z=s[R];Z===-1?(Q&n)!=0&&(Q&r)==0||(s[R]=Fc(Q,t)):Z<=t&&(e.expiredLanes|=Q),h&=~Q}}function ai(e){return(e=-1073741825&e.pendingLanes)!==0?e:1073741824&e?1073741824:0}function Za(){var e=oi;return(4194240&(oi<<=1))==0&&(oi=64),e}function si(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function fr(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-Rt(t)]=n}function $c(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var s=31-Rt(n),h=1<<s;t[s]=0,r[s]=-1,e[s]=-1,n&=~h}}function li(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-Rt(n),s=1<<r;s&t|e[r]&t&&(e[r]|=t),n&=~s}}var ze=0;function es(e){return 1<(e&=-e)?4<e?(268435455&e)!=0?16:536870912:4:1}var ts,ci,ns,rs,os,ui=!1,Qr=[],nn=null,rn=null,on=null,hr=new Map,pr=ne
7w Map,an=[],Bc="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function is(e,t){switch(e){case"focusin":case"focusout":nn=null;break;case"dragenter":case"dragleave":rn=null;break;case"mouseover":case"mouseout":on=null;break;case"pointerover":case"pointerout":hr.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":pr.delete(t.pointerId)}}function mr(e,t,n,r,s,h){return e===null||e.nativeEvent!==h?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:h,targetContainers:[s]},t!==null&&(t=Pr(t))!==null&&ci(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,s!==null&&t.indexOf(s)===-1&&t.push(s),e)}function zc(e,t,n,r,s){switch(t){case"focusin":return nn=mr(nn,e,t,n,r,s),!0;case"dragenter":return rn=mr(rn,e,t,n,r,s),!0;case"mouseover":return on=mr(on,e,t,n,r,s),!0;case"pointerover":var h=s.pointerId;return hr.set(h,mr(hr.get(h)||null,e,t,n,r,s)),!0;case"gotpointercapture":return h=s.pointerId,pr.set(h,mr(pr.get(h)||null,e,t,n,r,s)),!0}return!1}function as(e){var t=Sn(e.target);if(t!==null){var n=kn(t);if(n!==null){if((t=n.tag)===13){if((t=qa(n))!==null)return e.blockedOn=t,void os(e.priority,(function(){ns(n)}))}else if(t===3&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=n.tag===3?n.stateNode.containerInfo:null)}}e.blockedOn=null}function Jr(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var n=fi(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(n!==null)return(t=Pr(n))!==null&&ci(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Go=r,n.target.dispatchEvent(r),Go=null,t.shift()}return!0}function ss(e,t,n){Jr(e)&&n.delete(t)}function Wc(){ui=!1,nn!==null&&Jr(nn)&&(nn=null),rn!==null&&Jr(rn)&&(rn=null),on!==null&&Jr(on)&&(on=null),hr.forEach(ss),pr.forEach(ss)}function gr(e,t){e.blockedOn===t&&(e.blockedOn=null,ui||(ui=!0,P.unstable_scheduleCallback(P.unstable_NormalPriority,Wc)))}function yr(e){function t(s){return gr(s,e)}if(0<Qr.length){gr(Qr[0],e);for(var n=1;n<Qr.length;n++){var r=Qr[n];r.blockedOn===e&&(r.blockedOn=null)}}for(nn!==null&&gr(nn,e),rn!==null&&gr(rn,e),on!==null&&gr(on,e),hr.forEach(t),pr.forEach(t),n=0;n<an.length;n++)(r=an[n]).blockedOn===e&&(r.blockedOn=null);for(;0<an.length&&(n=an[0]).blockedOn===null;)as(n),n.blockedOn===null&&an.shift()}var Fn=U.ReactCurrentBatchConfig,Kr=!0;function Vc(e,t,n,r){var s=ze,h=Fn.transition;Fn.transition=null;try{ze=1,di(e,t,n,r)}finally{ze=s,Fn.transition=h}}function qc(e,t,n,r){var s=ze,h=Fn.transition;Fn.transition=null;try{ze=4,di(e,t,n,r)}finally{ze=s,Fn.transition=h}}function di(e,t,n,r){if(Kr){var s=fi(e,t,n,r);if(s===null)Ci(e,t,r,Gr,n),is(e,r);else if(zc(s,e,t,n,r))r.stopPropagation();else if(is(e,r),4&t&&-1<Bc.indexOf(e)){for(;s!==null;){var h=Pr(s);if(h!==null&&ts(h),(h=fi(e,t,n,r))===null&&Ci(e,t,r,Gr,n),h===s)break;s=h}s!==null&&r.stopPropagation()}else Ci(e,t,r,null,n)}}var Gr=null;function fi(e,t,n,r){if(Gr=null,(e=Sn(e=Yo(r)))!==null)if((t=kn(e))===null)e=null;else if((n=t.tag)===13){if((e=qa(t))!==null)return e;e=null}else if(n===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gr=e,null}function ls(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Mc()){case ni:return 1;case Ya:return 4;case ri:case Ac:return 16;case Xa:return 536870912;default:return 16}default:return 16}}var En=null,hi=null,Yr=null;function cs(){if(Yr)return Yr;var e,t=hi,n=t.length,r,s="value"in En?En.value:En.textContent,h=s.length;for(e=0;e<n&&t[e]===s[e];e++);var R=n-e;for(r=1;r<=R&&t[n-r]===s[h-r];r++);return Yr=s.slice(e,1<r?1-r:void 0)}function Xr(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode)===0&&t===13&&(e=13):e=t,e===10&&(e=13),32<=e||e===13?e:0}function Zr(){return!0}function us(){return!1}function Et(e){function t(n,r,s,h,R){for(var Q in this._reactName=n,this._targetInst=s,this.type=r,this.nativeEvent=h,this.target=R,this.currentTarget=null,e)e.hasOwnProperty(Q)&&(n=e[Q],this[Q]=n?n(h):h[Q]);return this.isDefaultPrevented=(h.defaultPrevented!=null?h.defaultPrevented:h.returnValue===!1)?Zr:us,this.isPropagationStopped=us,this}return H(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var n=this.nativeEvent;n&&(n.preventDefault?n.preventDefault():typeof n.returnValue!="unknown"&&(n.returnValue=!1),this.isDefaultPrevented=Zr)},stopPropagation:function(){var n=this.nativeEvent;n&&(n.stopPropagation?n.stopPropagation():typeof n.cancelBubble!="unknown"&&(n.cancelBubble=!0),this.isPropagationStopped=Zr)},persist:function(){},isPersistent:Zr}),t}var Un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pi=Et(Un),vr=H({},Un,{view:0,detail:0}),Hc=Et(vr),mi,gi,br,eo=H({},vr,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:vi,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==br&&(br&&e.type==="mousemove"?(mi=e.screenX-br.screenX,gi=e.screenY-br.screenY):gi=mi=0,br=e),mi)},movementY:function(e){return"movementY"in e?e.movementY:gi}}),ds=Et(eo),dd,Qc=Et(H({},eo,{dataTransfer:0})),fd,yi=Et(H({},vr,{relatedTarget:0})),hd,Jc=Et(H({},Un,{animationName:0,elapsedTime:0,pseudoElement:0})),Kc=H({},Un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),Gc=Et(Kc),pd,fs=Et(H({},Un,{data:0})),Yc={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Xc={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Zc={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function eu(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Zc[e])&&!!t[e]}function vi(){return eu}var tu=H({},vr,{key:function(e){if(e.key){var t=Yc[e.key]||e.key;if(t!=="Unidentified")return t}
7return e.type==="keypress"?(e=Xr(e))===13?"Enter":String.fromCharCode(e):e.type==="keydown"||e.type==="keyup"?Xc[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:vi,charCode:function(e){return e.type==="keypress"?Xr(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?Xr(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),nu=Et(tu),md,hs=Et(H({},eo,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),gd,ru=Et(H({},vr,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:vi})),yd,ou=Et(H({},Un,{propertyName:0,elapsedTime:0,pseudoElement:0})),iu=H({},eo,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),au=Et(iu),su=[9,13,27,32],bi=o&&"CompositionEvent"in window,_r=null;o&&"documentMode"in document&&(_r=document.documentMode);var lu=o&&"TextEvent"in window&&!_r,ps=o&&(!bi||_r&&8<_r&&11>=_r),ms=" ",gs=!1;function ys(e,t){switch(e){case"keyup":return su.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function vs(e){return typeof(e=e.detail)=="object"&&"data"in e?e.data:null}var $n=!1;function cu(e,t){switch(e){case"compositionend":return vs(t);case"keypress":return t.which!==32?null:(gs=!0,ms);case"textInput":return(e=t.data)===ms&&gs?null:e;default:return null}}function uu(e,t){if($n)return e==="compositionend"||!bi&&ys(e,t)?(e=cs(),Yr=hi=En=null,$n=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return ps&&t.locale!=="ko"?null:t.data}}var du={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function bs(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!du[e.type]:t==="textarea"}function _s(e,t,n,r){$a(r),0<(t=ao(t,"onChange")).length&&(n=new pi("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var to=null,wr=null;function fu(e){Fs(e,0)}function no(e){var t;if(Pe(qn(e)))return e}function hu(e,t){if(e==="change")return t}var ws=!1;if(o){var _i;if(o){var wi="oninput"in document;if(!wi){var ks=document.createElement("div");ks.setAttribute("oninput","return;"),wi=typeof ks.oninput=="function"}_i=wi}else _i=!1;ws=_i&&(!document.documentMode||9<document.documentMode)}function Es(){to&&(to.detachEvent("onpropertychange",Ss),wr=to=null)}function Ss(e){if(e.propertyName==="value"&&no(wr)){var t=[];_s(t,wr,e,Yo(e)),Va(fu,t)}}function pu(e,t,n){e==="focusin"?(Es(),wr=n,(to=t).attachEvent("onpropertychange",Ss)):e==="focusout"&&Es()}function mu(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return no(wr)}function gu(e,t){if(e==="click")return no(t)}function yu(e,t){if(e==="input"||e==="change")return no(t)}function vu(e,t){return e===t&&(e!==0||1/e==1/t)||e!=e&&t!=t}var Dt=typeof Object.is=="function"?Object.is:vu;function kr(e,t){if(Dt(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var s=n[r];if(!c.call(t,s)||!Dt(e[s],t[s]))return!1}return!0}function xs(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function js(e,t){var n=xs(e),r;for(e=0;n;){if(n.nodeType===3){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=xs(n)}}function Os(e,t){return!(!e||!t)&&(e===t||(!e||e.nodeType!==3)&&(t&&t.nodeType===3?Os(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function Ps(){for(var e=window,t=Ne();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href=="string"}catch{n=!1}if(!n)break;t=Ne((e=t.contentWindow).document)}return t}function ki(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}function bu(e){var t=Ps(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&Os(n.ownerDocument.documentElement,n)){if(r!==null&&ki(n)){if(t=r.start,(e=r.end)===void 0&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var s=n.textContent.length,h=Math.min(r.start,s);r=r.end===void 0?h:Math.min(r.end,s),!e.extend&&h>r&&(s=r,r=h,h=s),s=js(n,h);var R=js(n,r);s&&R&&(e.rangeCount!==1||e.anchorNode!==s.node||e.anchorOffset!==s.offset||e.focusNode!==R.node||e.focusOffset!==R.offset)&&((t=t.createRange()).setStart(s.node,s.offset),e.removeAllRanges(),h>r?(e.addRange(t),e.extend(R.node,R.offset)):(t.setEnd(R.node,R.offset),e.addRange(t)))}}for(t=[],e=n;e=e.parentNode;)e.nodeType===1&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof n.focus=="function"&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var _u=o&&"documentMode"in document&&11>=document.documentMode,Bn=null,Ei=null,Er=null,Si=!1;function Cs(e,t,n){var r=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;Si||Bn==null||Bn!==Ne(r)||("selectionStart"in(r=Bn)&&ki(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focu
7sNode:r.focusNode,focusOffset:r.focusOffset},Er&&kr(Er,r)||(Er=r,0<(r=ao(Ei,"onSelect")).length&&(t=new pi("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=Bn)))}function ro(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var zn={animationend:ro("Animation","AnimationEnd"),animationiteration:ro("Animation","AnimationIteration"),animationstart:ro("Animation","AnimationStart"),transitionend:ro("Transition","TransitionEnd")},xi={},Is={};function oo(e){if(xi[e])return xi[e];if(!zn[e])return e;var t=zn[e],n;for(n in t)if(t.hasOwnProperty(n)&&n in Is)return xi[e]=t[n];return e}o&&(Is=document.createElement("div").style,"AnimationEvent"in window||(delete zn.animationend.animation,delete zn.animationiteration.animation,delete zn.animationstart.animation),"TransitionEvent"in window||delete zn.transitionend.transition);var Ts=oo("animationend"),Ms=oo("animationiteration"),As=oo("animationstart"),Ns=oo("transitionend"),Rs=new Map,Ds="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function sn(e,t){Rs.set(e,t),l(t,[e])}for(var ji=0;ji<Ds.length;ji++){var Oi=Ds[ji],vd,bd;sn(Oi.toLowerCase(),"on"+(Oi[0].toUpperCase()+Oi.slice(1)))}sn(Ts,"onAnimationEnd"),sn(Ms,"onAnimationIteration"),sn(As,"onAnimationStart"),sn("dblclick","onDoubleClick"),sn("focusin","onFocus"),sn("focusout","onBlur"),sn(Ns,"onTransitionEnd"),a("onMouseEnter",["mouseout","mouseover"]),a("onMouseLeave",["mouseout","mouseover"]),a("onPointerEnter",["pointerout","pointerover"]),a("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),wu=new Set("cancel close invalid load scroll toggle".split(" ").concat(Sr));function Ls(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,Pc(r,t,void 0,e),e.currentTarget=null}function Fs(e,t){t=(4&t)!=0;for(var n=0;n<e.length;n++){var r=e[n],s=r.event;r=r.listeners;e:{var h=void 0;if(t)for(var R=r.length-1;0<=R;R--){var Q=r[R],Z=Q.instance,pe=Q.currentTarget;if(Q=Q.listener,Z!==h&&s.isPropagationStopped())break e;Ls(s,Q,pe),h=Z}else for(R=0;R<r.length;R++){if(Z=(Q=r[R]).instance,pe=Q.currentTarget,Q=Q.listener,Z!==h&&s.isPropagationStopped())break e;Ls(s,Q,pe),h=Z}}}if(Vr)throw e=ti,Vr=!1,ti=null,e}function He(e,t){var n=t[Ri];n===void 0&&(n=t[Ri]=new Set);var r=e+"__bubble";n.has(r)||(Us(t,e,2,!1),n.add(r))}function Pi(e,t,n){var r=0;t&&(r|=4),Us(n,e,r,t)}var io="_reactListening"+Math.random().toString(36).slice(2);function xr(e){if(!e[io]){e[io]=!0,d.forEach((function(n){n!=="selectionchange"&&(wu.has(n)||Pi(n,!1,e),Pi(n,!0,e))}));var t=e.nodeType===9?e:e.ownerDocument;t===null||t[io]||(t[io]=!0,Pi("selectionchange",!1,t))}}function Us(e,t,n,r){switch(ls(t)){case 1:var s=Vc;break;case 4:s=qc;break;default:s=di}n=s.bind(null,t,n,e),s=void 0,!ei||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(s=!0),r?s!==void 0?e.addEventListener(t,n,{capture:!0,passive:s}):e.addEventListener(t,n,!0):s!==void 0?e.addEventListener(t,n,{passive:s}):e.addEventListener(t,n,!1)}
7function Ci(e,t,n,r,s){var h=r;if((1&t)==0&&(2&t)==0&&r!==null)e:for(;;){if(r===null)return;var R=r.tag;if(R===3||R===4){var Q=r.stateNode.containerInfo;if(Q===s||Q.nodeType===8&&Q.parentNode===s)break;if(R===4)for(R=r.return;R!==null;){var Z=R.tag;if((Z===3||Z===4)&&((Z=R.stateNode.containerInfo)===s||Z.nodeType===8&&Z.parentNode===s))return;R=R.return}for(;Q!==null;){if((R=Sn(Q))===null)return;if((Z=R.tag)===5||Z===6){r=h=R;continue e}Q=Q.parentNode}}r=r.return}Va((function(){var pe=h,we=Yo(n),ke=[];e:{var Ee=Rs.get(e);if(Ee!==void 0){var Oe=pi,Te=e;switch(e){case"keypress":if(Xr(n)===0)break e;case"keydown":case"keyup":Oe=nu;break;case"focusin":Te="focus",Oe=yi;break;case"focusout":Te="blur",Oe=yi;break;case"beforeblur":case"afterblur":Oe=yi;break;case"click":if(n.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":Oe=ds;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":Oe=Qc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":Oe=ru;break;case Ts:case Ms:case As:Oe=Jc;break;case Ns:Oe=ou;break;case"scroll":Oe=Hc;break;case"wheel":Oe=au;break;case"copy":case"cut":case"paste":Oe=Gc;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":Oe=hs}var Me=(4&t)!=0,nt=!Me&&e==="scroll",ue=Me?Ee!==null?Ee+"Capture":null:Ee;Me=[];for(var se=pe,fe;se!==null;){var xe=(fe=se).stateNode;if(fe.tag===5&&xe!==null&&(fe=xe,ue!==null&&(xe=lr(se,ue))!=null&&Me.push(jr(se,xe,fe))),nt)break;se=se.return}0<Me.length&&(Ee=new Oe(Ee,Te,null,n,we),ke.push({event:Ee,listeners:Me}))}}if((7&t)==0){if(Oe=e==="mouseout"||e==="pointerout",(!(Ee=e==="mouseover"||e==="pointerover")||n===Go||!(Te=n.relatedTarget||n.fromElement)||!Sn(Te)&&!Te[Kt])&&(Oe||Ee)&&(Ee=we.window===we?we:(Ee=we.ownerDocument)?Ee.defaultView||Ee.parentWindow:window,Oe?(Oe=pe,(Te=(Te=n.relatedTarget||n.toElement)?Sn(Te):null)!==null&&(Te!==(nt=kn(Te))||Te.tag!==5&&Te.tag!==6)&&(Te=null)):(Oe=null,Te=pe),Oe!==Te)){if(Me=ds,xe="onMouseLeave",ue="onMouseEnter",se="mouse",e!=="pointerout"&&e!=="pointerover"||(Me=hs,xe="onPointerLeave",ue="onPointerEnter",se="pointer"),nt=Oe==null?Ee:qn(Oe),fe=Te==null?Ee:qn(Te),(Ee=new Me(xe,se+"leave",Oe,n,we)).target=nt,Ee.relatedTarget=fe,xe=null,Sn(we)===pe&&((Me=new Me(ue,se+"enter",Te,n,we)).target=fe,Me.relatedTarget=nt,xe=Me),nt=xe,Oe&&Te)e:{for(ue=Te,se=0,fe=Me=Oe;fe;fe=Wn(fe))se++;for(fe=0,xe=ue;xe;xe=Wn(xe))fe++;for(;0<se-fe;)Me=Wn(Me),se--;for(;0<fe-se;)ue=Wn(ue),fe--;for(;se--;){if(Me===ue||ue!==null&&Me===ue.alternate)break e;Me=Wn(Me),ue=Wn(ue)}Me=null}else Me=null;Oe!==null&&$s(ke,Ee,Oe,Me,!1),Te!==null&&nt!==null&&$s(ke,nt,Te,Me,!0)}if((Oe=(Ee=pe?qn(pe):window).nodeName&&Ee.nodeName.toLowerCase())==="select"||Oe==="input"&&Ee.type==="file")var Ae=hu;else if(bs(Ee))if(ws)Ae=yu;else{Ae=mu;var De=pu}else(Oe=Ee.nodeName)&&Oe.toLowerCase()==="input"&&(Ee.type==="checkbox"||Ee.type==="radio")&&(Ae=gu);switch(Ae&&(Ae=Ae(e,pe))?_s(ke,Ae,n,we):(De&&De(e,Ee,pe),e==="focusout"&&(De=Ee._wrapperState)&&De.controlled&&Ee.type==="number"&&yt(Ee,"number",Ee.value)),De=pe?qn(pe):window,e){case"focusin":(bs(De)||De.contentEditable==="true")&&(Bn=De,Ei=pe,Er=null);break;case"focusout":Er=Ei=Bn=null;break;case"mousedown":Si=!0;break;case"contextmenu":case"mouseup":case"dragend":Si=!1,Cs(ke,n,we);break;case"selectionchange":if(_u)break;case"keydown":case"keyup":Cs(ke,n,we)}var Re;if(bi)e:{switch(e){case"compositionstart":var Fe="onCompositionStart";break e;case"compositionend":Fe="onCompositionEnd";break e;case"compositionupdate":Fe="onCompositionUpdate";break e}Fe=void 0}else $n?ys(e,n)&&(Fe="onCompositionEnd"):e==="keydown"&&n.keyCode===229&&(Fe="onCompositionStart");Fe&&(ps&&n.locale!=="ko"&&($n||Fe!=="onCompositionStart"?Fe==="onCompositionEnd"&&$n&&(Re=cs()):(hi="value"in(En=we)?En.value:En.textContent,$n=!0)),0<(De=ao(pe,Fe)).length&&(Fe=new fs(Fe,e,null,n,we),ke.push({event:Fe,listeners:De}),(Re||(Re=vs(n))!==null)&&(Fe.data=Re))),(Re=lu?cu(e,n):uu(e,n))&&0<(pe=ao(pe,"onBeforeInput")).length&&(we=new fs("onBeforeInput","beforeinput",null,n,we),ke.push({event:we,listeners:pe}),we.data=Re)}Fs(ke,t)}))}function jr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function ao(e,t){for(var n=t+"Capture",r=[];e!==null;){var s=e,h=s.stateNode;s.tag===5&&h!==null&&(s=h,(h=lr(e,n))!=null&&r.unshift(jr(e,h,s)),(h=lr(e,t))!=null&&r.push(jr(e,h,s))),e=e.return}return r}function Wn(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5);return e||null}
7function $s(e,t,n,r,s){for(var h=t._reactName,R=[];n!==null&&n!==r;){var Q=n,Z=Q.alternate,pe=Q.stateNode;if(Z!==null&&Z===r)break;Q.tag===5&&pe!==null&&(Q=pe,s?(Z=lr(n,h))!=null&&R.unshift(jr(n,Z,Q)):s||(Z=lr(n,h))!=null&&R.push(jr(n,Z,Q))),n=n.return}R.length!==0&&e.push({event:t,listeners:R})}var ku=/\r\n?/g,Eu=/\u0000|\uFFFD/g;function Bs(e){return(typeof e=="string"?e:""+e).replace(ku,`
8`).replace(Eu,"")}function so(e,t,n){if(t=Bs(t),Bs(e)!==t&&n)throw Error(i(425))}function lo(){}var Ii=null,Ti=null;function Mi(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Ai=typeof setTimeout=="function"?setTimeout:void 0,Su=typeof clearTimeout=="function"?clearTimeout:void 0,zs=typeof Promise=="function"?Promise:void 0,xu=typeof queueMicrotask=="function"?queueMicrotask:typeof zs<"u"?function(e){return zs.resolve(null).then(e).catch(ju)}:Ai;function ju(e){setTimeout((function(){throw e}))}function Ni(e,t){var n=t,r=0;do{var s=n.nextSibling;if(e.removeChild(n),s&&s.nodeType===8)if((n=s.data)==="/$"){if(r===0)return e.removeChild(s),void yr(t);r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=s}while(n);yr(t)}function ln(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if((t=e.data)==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Ws(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var Vn=Math.random().toString(36).slice(2),zt="__reactFiber$"+Vn,Or="__reactProps$"+Vn,Kt="__reactContainer$"+Vn,Ri="__reactEvents$"+Vn,Ou="__reactListeners$"+Vn,Pu="__reactHandles$"+Vn;function Sn(e){var t=e[zt];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Kt]||n[zt]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=Ws(e);e!==null;){if(n=e[zt])return n;e=Ws(e)}return t}n=(e=n).parentNode}return null}function Pr(e){return!(e=e[zt]||e[Kt])||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function qn(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(i(33))}function co(e){return e[Or]||null}var Di=[],Hn=-1;function cn(e){return{current:e}}function Qe(e){0>Hn||(e.current=Di[Hn],Di[Hn]=null,Hn--)}function qe(e,t){Hn++,Di[Hn]=e.current,e.current=t}var un={},dt=cn(un),bt=cn(!1),xn=un;function Qn(e,t){var n=e.type.contextTypes;if(!n)return un;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var s={},h;for(h in n)s[h]=t[h];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=s),s}function St(e){return(e=e.childContextTypes)!=null}function Li(){Qe(bt),Qe(dt)}function Vs(e,t,n){if(dt.current!==un)throw Error(i(168));qe(dt,t),qe(bt,n)}function qs(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;for(var s in r=r.getChildContext())if(!(s in t))throw Error(i(108,G(e)||"Unknown",s));return H({},n,r)}function uo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||un,xn=dt.current,qe(dt,e),qe(bt,bt.current),!0}function Hs(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=qs(e,t,xn),r.__reactInternalMemoizedMergedChildContext=e,Qe(bt),Qe(dt),qe(dt,e)):Qe(bt),qe(bt,n)}var Gt=null,fo=!1,Fi=!1;function Qs(e){Gt===null?Gt=[e]:Gt.push(e)}function Cu(e){fo=!0,Qs(e)}function dn(){if(!Fi&&Gt!==null){Fi=!0;var e=0,t=ze;try{var n=Gt;for(ze=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Gt=null,fo=!1}catch(s){throw Gt!==null&&(Gt=Gt.slice(e+1)),Ka(ni,dn),s}finally{ze=t,Fi=!1}}return null}var Jn=[],Kn=0,ho=null,po=0,Ct=[],It=0,jn=null,Lt=1,Yt="";function On(e,t){Jn[Kn++]=po,Jn[Kn++]=ho,ho=e,po=t}function Js(e,t,n){Ct[It++]=Lt,Ct[It++]=Yt,Ct[It++]=jn,jn=e;var r=Lt;e=Yt;var s=32-Rt(r)-1;r&=~(1<<s),n+=1;var h=32-Rt(t)+s;if(30<h){var R=s-s%5;h=(r&(1<<R)-1).toString(32),r>>=R,s-=R,Lt=1<<32-Rt(t)+s|n<<s|r,Yt=h+e}else Lt=1<<h|n<<s|r,Yt=e}function Ui(e){e.return!==null&&(On(e,1),Js(e,1,0))}function $i(e){for(;e===ho;)ho=Jn[--Kn],Jn[Kn]=null,po=Jn[--Kn],Jn[Kn]=null;for(;e===jn;)jn=Ct[--It],Ct[It]=null,Yt=Ct[--It],Ct[It]=null,Lt=Ct[--It],Ct[It]=null}var xt=null,jt=null,Je=!1,Ft=null;function Ks(e,t){var n=Nt(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,(t=e.deletions)===null?(e.deletions=[n],e.flags|=16):t.push(n)}function Gs(e,t){switch(e.tag){case 5:var n=e.type;
8return(t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)!==null&&(e.stateNode=t,xt=e,jt=ln(t.firstChild),!0);case 6:return(t=e.pendingProps===""||t.nodeType!==3?null:t)!==null&&(e.stateNode=t,xt=e,jt=null,!0);case 13:return(t=t.nodeType!==8?null:t)!==null&&(n=jn!==null?{id:Lt,overflow:Yt}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Nt(18,null,null,0)).stateNode=t,n.return=e,e.child=n,xt=e,jt=null,!0);default:return!1}}function Bi(e){return(1&e.mode)!=0&&(128&e.flags)==0}function zi(e){if(Je){var t=jt;if(t){var n=t;if(!Gs(e,t)){if(Bi(e))throw Error(i(418));t=ln(n.nextSibling);var r=xt;t&&Gs(e,t)?Ks(r,n):(e.flags=-4097&e.flags|2,Je=!1,xt=e)}}else{if(Bi(e))throw Error(i(418));e.flags=-4097&e.flags|2,Je=!1,xt=e}}}function Ys(e){for(e=e.return;e!==null&&e.tag!==5&&e.tag!==3&&e.tag!==13;)e=e.return;xt=e}function mo(e){if(e!==xt)return!1;if(!Je)return Ys(e),Je=!0,!1;var t;if((t=e.tag!==3)&&!(t=e.tag!==5)&&(t=(t=e.type)!=="head"&&t!=="body"&&!Mi(e.type,e.memoizedProps)),t&&(t=jt)){if(Bi(e))throw Xs(),Error(i(418));for(;t;)Ks(e,t),t=ln(t.nextSibling)}if(Ys(e),e.tag===13){if(!(e=(e=e.memoizedState)!==null?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="/$"){if(t===0){jt=ln(e.nextSibling);break e}t--}else n!=="$"&&n!=="$!"&&n!=="$?"||t++}e=e.nextSibling}jt=null}}else jt=xt?ln(e.stateNode.nextSibling):null;return!0}function Xs(){for(var e=jt;e;)e=ln(e.nextSibling)}function Gn(){jt=xt=null,Je=!1}function Wi(e){Ft===null?Ft=[e]:Ft.push(e)}var Iu=U.ReactCurrentBatchConfig;function Ut(e,t){if(e&&e.defaultProps){for(var n in t=H({},t),e=e.defaultProps)t[n]===void 0&&(t[n]=e[n]);return t}return t}var go=cn(null),yo=null,Yn=null,Vi=null;function qi(){Vi=Yn=yo=null}function Hi(e){var t=go.current;Qe(go),e._currentValue=t}function Qi(e,t,n){for(;e!==null;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,r!==null&&(r.childLanes|=t)):r!==null&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Xn(e,t){yo=e,Vi=Yn=null,(e=e.dependencies)!==null&&e.firstContext!==null&&((e.lanes&t)!=0&&(_t=!0),e.firstContext=null)}function Tt(e){var t=e._currentValue;if(Vi!==e)if(e={context:e,memoizedValue:t,next:null},Yn===null){if(yo===null)throw Error(i(308));Yn=e,yo.dependencies={lanes:0,firstContext:e}}else Yn=Yn.next=e;return t}var Pn=null;function Ji(e){Pn===null?Pn=[e]:Pn.push(e)}function Zs(e,t,n,r){var s=t.interleaved;return s===null?(n.next=n,Ji(t)):(n.next=s.next,s.next=n),t.interleaved=n,Xt(e,r)}function Xt(e,t){e.lanes|=t;var n=e.alternate;for(n!==null&&(n.lanes|=t),n=e,e=e.return;e!==null;)e.childLanes|=t,(n=e.alternate)!==null&&(n.childLanes|=t),n=e,e=e.return;return n.tag===3?n.stateNode:null}var fn=!1;function Ki(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function el(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Zt(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function hn(e,t,n){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,(2&$e)!=0){var s=r.pending;return s===null?t.next=t:(t.next=s.next,s.next=t),r.pending=t,Xt(e,n)}return(s=r.interleaved)===null?(t.next=t,Ji(r)):(t.next=s.next,s.next=t),r.interleaved=t,Xt(e,n)}function vo(e,t,n){if((t=t.updateQueue)!==null&&(t=t.shared,(4194240&n)!=0)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,li(e,n)}}function tl(e,t){var n=e.updateQueue,r=e.alternate;if(r!==null&&n===(r=r.updateQueue)){var s=null,h=null;if((n=n.firstBaseUpdate)!==null){do{var R={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};h===null?s=h=R:h=h.next=R,n=n.next}while(n!==null);h===null?s=h=t:h=h.next=t}else s=h=t;return n={baseState:r.baseState,firstBaseUpdate:s,lastBaseUpdate:h,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}(e=n.lastBaseUpdate)===null?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function bo(e,t,n,r){var s=e.updateQueue;fn=!1;var h=s.firstBaseUpdate,R=s.lastBaseUpdate,Q=s.shared.pending;if(Q!==null){s.shared.pending=null;var Z=Q,pe=Z.next;Z.next=null,R===null?h=pe:R.next=pe,R=Z;var we=e.alternate;we!==null&&(Q=(we=we.updateQueue).lastBaseUpdate)!==R&&(Q===null?we.firstBaseUpdate=pe:Q.next=pe,we.lastBaseUpdate=Z)}if(h!==null){var ke=s.baseState;for(R=0,we=pe=Z=null,Q=h;;){var Ee=Q.lane,Oe=Q.eventTime;if((r&Ee)===Ee){we!==null&&(we=we.next={eventTime:Oe,lane:0,tag:Q.tag,payload:Q.payload,callback:Q.callback,next:null});e:{var Te=e,Me=Q;switch(Ee=t,Oe=n,Me.tag){case 1:if(typeof(Te=Me.payload)=="function"){ke=Te.call(Oe,ke,Ee);break e}ke=Te;break e;case 3:Te.flags=-65537&Te.flags|128;case 0:if((Ee=typeof(Te=Me.payload)=="function"?Te.call(Oe,ke,Ee):Te)==null)break e;ke=H({},ke,Ee);break e;case 2:fn=!0}}Q.callback!==null&&Q.lane!==0&&(e.flags|=64,(Ee=s.effects)===null?s.effects=[Q]:Ee.push(Q))}else Oe={eventTime:Oe,lane:Ee,tag:Q.tag,payload:Q.payload,callback:Q.callback,next:null},we===null?(pe=we=Oe,Z=ke):we=we.next=Oe,R|=Ee;if((Q=Q.next)===null){if((Q=s.shared.pending)===null)break;Q=(Ee=Q).next,Ee.next=null,s.lastBaseUpdate=Ee,s.shared.pending=null}}if(we===null&&(Z=ke),s.baseState=Z,s.firstBaseUpdate=pe,s.lastBaseUpdate=we,(t=s.shared.interleaved)!==null){s=t;do R|=s.lane,s=s.next;while(s!==t)}else h===null&&(s.shared.lanes=0);Tn|=R,e.lanes=R,e.memoizedState=ke}}function nl(e,t,n){if(e=t.effects,t.effects=null,e!==null)for(t=0;t<e.length;t++){var r=e[t],s=r.callback;
8if(s!==null){if(r.callback=null,r=n,typeof s!="function")throw Error(i(191,s));s.call(r)}}}var rl=new p.Component().refs;function Gi(e,t,n,r){n=(n=n(r,t=e.memoizedState))==null?t:H({},t,n),e.memoizedState=n,e.lanes===0&&(e.updateQueue.baseState=n)}var _o={isMounted:function(e){return!!(e=e._reactInternals)&&kn(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=gt(),s=vn(e),h=Zt(r,s);h.payload=t,n!=null&&(h.callback=n),(t=hn(e,h,s))!==null&&($t(t,e,s,r),vo(t,e,s))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=gt(),s=vn(e),h=Zt(r,s);h.tag=1,h.payload=t,n!=null&&(h.callback=n),(t=hn(e,h,s))!==null&&($t(t,e,s,r),vo(t,e,s))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=gt(),r=vn(e),s=Zt(n,r);s.tag=2,t!=null&&(s.callback=t),(t=hn(e,s,r))!==null&&($t(t,e,r,n),vo(t,e,r))}};function ol(e,t,n,r,s,h,R){return typeof(e=e.stateNode).shouldComponentUpdate=="function"?e.shouldComponentUpdate(r,h,R):!t.prototype||!t.prototype.isPureReactComponent||!kr(n,r)||!kr(s,h)}function il(e,t,n){var r=!1,s=un,h=t.contextType;return typeof h=="object"&&h!==null?h=Tt(h):(s=St(t)?xn:dt.current,h=(r=(r=t.contextTypes)!=null)?Qn(e,s):un),t=new t(n,h),e.memoizedState=t.state!==null&&t.state!==void 0?t.state:null,t.updater=_o,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=s,e.__reactInternalMemoizedMaskedChildContext=h),t}function al(e,t,n,r){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(n,r),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&_o.enqueueReplaceState(t,t.state,null)}function Yi(e,t,n,r){var s=e.stateNode;s.props=n,s.state=e.memoizedState,s.refs=rl,Ki(e);var h=t.contextType;typeof h=="object"&&h!==null?s.context=Tt(h):(h=St(t)?xn:dt.current,s.context=Qn(e,h)),s.state=e.memoizedState,typeof(h=t.getDerivedStateFromProps)=="function"&&(Gi(e,t,h,n),s.state=e.memoizedState),typeof t.getDerivedStateFromProps=="function"||typeof s.getSnapshotBeforeUpdate=="function"||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(t=s.state,typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount(),t!==s.state&&_o.enqueueReplaceState(s,s.state,null),bo(e,n,s,r),s.state=e.memoizedState),typeof s.componentDidMount=="function"&&(e.flags|=4194308)}function Cr(e,t,n){if((e=n.ref)!==null&&typeof e!="function"&&typeof e!="object"){if(n._owner){if(n=n._owner){if(n.tag!==1)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var s=r,h=""+e;return t!==null&&t.ref!==null&&typeof t.ref=="function"&&t.ref._stringRef===h?t.ref:(t=function(R){var Q=s.refs;Q===rl&&(Q=s.refs={}),R===null?delete Q[h]:Q[h]=R},t._stringRef=h,t)}if(typeof e!="string")throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function wo(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function sl(e){var t;return(0,e._init)(e._payload)}function ll(e){function t(ue,se){if(e){var fe=ue.deletions;fe===null?(ue.deletions=[se],ue.flags|=16):fe.push(se)}}function n(ue,se){if(!e)return null;for(;se!==null;)t(ue,se),se=se.sibling;return null}function r(ue,se){for(ue=new Map;se!==null;)se.key!==null?ue.set(se.key,se):ue.set(se.index,se),se=se.sibling;return ue}function s(ue,se){return(ue=_n(ue,se)).index=0,ue.sibling=null,ue}function h(ue,se,fe){return ue.index=fe,e?(fe=ue.alternate)!==null?(fe=fe.index)<se?(ue.flags|=2,se):fe:(ue.flags|=2,se):(ue.flags|=1048576,se)}function R(ue){return e&&ue.alternate===null&&(ue.flags|=2),ue}function Q(ue,se,fe,xe){return se===null||se.tag!==6?((se=Ma(fe,ue.mode,xe)).return=ue,se):((se=s(se,fe)).return=ue,se)}function Z(ue,se,fe,xe){var Ae=fe.type;return Ae===C?we(ue,se,fe.props.children,xe,fe.key):se!==null&&(se.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===V&&sl(Ae)===se.type)?((xe=s(se,fe.props)).ref=Cr(ue,se,fe),xe.return=ue,xe):((xe=$o(fe.type,fe.key,fe.props,null,ue.mode,xe)).ref=Cr(ue,se,fe),xe.return=ue,xe)}function pe(ue,se,fe,xe){return se===null||se.tag!==4||se.stateNode.containerInfo!==fe.containerInfo||se.stateNode.implementation!==fe.implementation?((se=Aa(fe,ue.mode,xe)).return=ue,se):((se=s(se,fe.children||[])).return=ue,se)}function we(ue,se,fe,xe,Ae){return se===null||se.tag!==7?((se=Nn(fe,ue.mode,xe,Ae)).return=ue,se):((se=s(se,fe)).return=ue,se)}function ke(ue,se,fe){if(typeof se=="string"&&se!==""||typeof se=="number")return(se=Ma(""+se,ue.mode,fe)).return=ue,se;if(typeof se=="object"&&se!==null){switch(se.$$typeof){case j:return(fe=$o(se.type,se.key,se.props,null,ue.mode,fe)).ref=Cr(ue,null,se),fe.return=ue,fe;case F:return(se=Aa(se,ue.mode,fe)).return=ue,se;case V:var xe;return ke(ue,(0,se._init)(se._payload),fe)}if(Qt(se)||le(se))return(se=Nn(se,ue.mode,fe,null)).return=ue,se;wo(ue,se)}return null}function Ee(ue,se,fe,xe){var Ae=se!==null?se.key:null;if(typeof fe=="string"&&fe!==""||typeof fe=="number")return Ae!==null?null:Q(ue,se,""+fe,xe);if(typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case j:return fe.key===Ae?Z(ue,se,fe,xe):null;case F:return fe.key===Ae?pe(ue,se,fe,xe):null;case V:return Ee(ue,se,(Ae=fe._init)(fe._payload),xe)}if(Qt(fe)||le(fe))return Ae!==null?null:we(ue,se,fe,xe,null);wo(ue,fe)}return null}function Oe(ue,se,fe,xe,Ae){if(typeof xe=="string"&&xe!==""||typeof xe=="number")return Q(se,ue=ue.get(fe)||null,""+xe,Ae);if(typeof xe=="object"&&xe!==null){switch(xe.$$typeof){case j:return Z(se,ue=ue.get(xe.key===null?fe:xe.key)||null,xe,Ae);case F:return pe(se,ue=ue.get(xe.key===null?fe:xe.key)||null,xe,Ae);case V:var De;return Oe(ue,se,fe,(0,xe._init)(xe._payload),Ae)}if(Qt(xe)||le(xe))return we(se,ue=ue.get(fe)||null,xe,Ae,null);wo(se,xe)}return null}function Te(ue,se,fe,xe){for(var Ae=null,De=null,Re=se,Fe=se=0,ut=null;Re!==null&&Fe<fe.length;Fe++){Re.index>
8Fe?(ut=Re,Re=null):ut=Re.sibling;var Be=Ee(ue,Re,fe[Fe],xe);if(Be===null){Re===null&&(Re=ut);break}e&&Re&&Be.alternate===null&&t(ue,Re),se=h(Be,se,Fe),De===null?Ae=Be:De.sibling=Be,De=Be,Re=ut}if(Fe===fe.length)return n(ue,Re),Je&&On(ue,Fe),Ae;if(Re===null){for(;Fe<fe.length;Fe++)(Re=ke(ue,fe[Fe],xe))!==null&&(se=h(Re,se,Fe),De===null?Ae=Re:De.sibling=Re,De=Re);return Je&&On(ue,Fe),Ae}for(Re=r(ue,Re);Fe<fe.length;Fe++)(ut=Oe(Re,ue,Fe,fe[Fe],xe))!==null&&(e&&ut.alternate!==null&&Re.delete(ut.key===null?Fe:ut.key),se=h(ut,se,Fe),De===null?Ae=ut:De.sibling=ut,De=ut);return e&&Re.forEach((function(wn){return t(ue,wn)})),Je&&On(ue,Fe),Ae}function Me(ue,se,fe,xe){var Ae=le(fe);if(typeof Ae!="function")throw Error(i(150));if((fe=Ae.call(fe))==null)throw Error(i(151));for(var De=Ae=null,Re=se,Fe=se=0,ut=null,Be=fe.next();Re!==null&&!Be.done;Fe++,Be=fe.next()){Re.index>Fe?(ut=Re,Re=null):ut=Re.sibling;var wn=Ee(ue,Re,Be.value,xe);if(wn===null){Re===null&&(Re=ut);break}e&&Re&&wn.alternate===null&&t(ue,Re),se=h(wn,se,Fe),De===null?Ae=wn:De.sibling=wn,De=wn,Re=ut}if(Be.done)return n(ue,Re),Je&&On(ue,Fe),Ae;if(Re===null){for(;!Be.done;Fe++,Be=fe.next())(Be=ke(ue,Be.value,xe))!==null&&(se=h(Be,se,Fe),De===null?Ae=Be:De.sibling=Be,De=Be);return Je&&On(ue,Fe),Ae}for(Re=r(ue,Re);!Be.done;Fe++,Be=fe.next())(Be=Oe(Re,ue,Fe,Be.value,xe))!==null&&(e&&Be.alternate!==null&&Re.delete(Be.key===null?Fe:Be.key),se=h(Be,se,Fe),De===null?Ae=Be:De.sibling=Be,De=Be);return e&&Re.forEach((function(ud){return t(ue,ud)})),Je&&On(ue,Fe),Ae}function nt(ue,se,fe,xe){if(typeof fe=="object"&&fe!==null&&fe.type===C&&fe.key===null&&(fe=fe.props.children),typeof fe=="object"&&fe!==null){switch(fe.$$typeof){case j:e:{for(var Ae=fe.key,De=se;De!==null;){if(De.key===Ae){if((Ae=fe.type)===C){if(De.tag===7){n(ue,De.sibling),(se=s(De,fe.props.children)).return=ue,ue=se;break e}}else if(De.elementType===Ae||typeof Ae=="object"&&Ae!==null&&Ae.$$typeof===V&&sl(Ae)===De.type){n(ue,De.sibling),(se=s(De,fe.props)).ref=Cr(ue,De,fe),se.return=ue,ue=se;break e}n(ue,De);break}t(ue,De),De=De.sibling}fe.type===C?((se=Nn(fe.props.children,ue.mode,xe,fe.key)).return=ue,ue=se):((xe=$o(fe.type,fe.key,fe.props,null,ue.mode,xe)).ref=Cr(ue,se,fe),xe.return=ue,ue=xe)}return R(ue);case F:e:{for(De=fe.key;se!==null;){if(se.key===De){if(se.tag===4&&se.stateNode.containerInfo===fe.containerInfo&&se.stateNode.implementation===fe.implementation){n(ue,se.sibling),(se=s(se,fe.children||[])).return=ue,ue=se;break e}n(ue,se);break}t(ue,se),se=se.sibling}(se=Aa(fe,ue.mode,xe)).return=ue,ue=se}return R(ue);case V:return nt(ue,se,(De=fe._init)(fe._payload),xe)}if(Qt(fe))return Te(ue,se,fe,xe);if(le(fe))return Me(ue,se,fe,xe);wo(ue,fe)}return typeof fe=="string"&&fe!==""||typeof fe=="number"?(fe=""+fe,se!==null&&se.tag===6?(n(ue,se.sibling),(se=s(se,fe)).return=ue,ue=se):(n(ue,se),(se=Ma(fe,ue.mode,xe)).return=ue,ue=se),R(ue)):n(ue,se)}return nt}var Zn=ll(!0),cl=ll(!1),Ir={},Wt=cn(Ir),Tr=cn(Ir),Mr=cn(Ir);function Cn(e){if(e===Ir)throw Error(i(174));return e}function Xi(e,t){switch(qe(Mr,t),qe(Tr,e),qe(Wt,Ir),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:je(null,"");break;default:t=je(t=(e=e===8?t.parentNode:t).namespaceURI||null,e=e.tagName)}Qe(Wt),qe(Wt,t)}function er(){Qe(Wt),Qe(Tr),Qe(Mr)}function ul(e){Cn(Mr.current);var t=Cn(Wt.current),n=je(t,e.type);t!==n&&(qe(Tr,e),qe(Wt,n))}function Zi(e){Tr.current===e&&(Qe(Wt),Qe(Tr))}var Ye=cn(0);function ko(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&((n=n.dehydrated)===null||n.data==="$?"||n.data==="$!"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if((128&t.flags)!=0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ea=[];function ta(){for(var e=0;e<ea.length;e++)ea[e]._workInProgressVersionPrimary=null;ea.length=0}var Eo=U.ReactCurrentDispatcher,na=U.ReactCurrentBatchConfig,In=0,Ge=null,it=null,at=null,So=!1,Ar=!1,Nr=0,Tu=0;function ft(){throw Error(i(321))}function ra(e,t){if(t===null)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!Dt(e[n],t[n]))return!1;return!0}function oa(e,t,n,r,s,h){if(In=h,Ge=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Eo.current=e===null||e.memoizedState===null?Ru:Du,e=n(r,s),Ar){h=0;do{if(Ar=!1,Nr=0,25<=h)throw Error(i(301));h+=1,at=it=null,t.updateQueue=null,Eo.current=Lu,e=n(r,s)}while(Ar)}if(Eo.current=Oo,t=it!==null&&it.next!==null,In=0,at=it=Ge=null,So=!1,t)throw Error(i(300));return e}function ia(){var e=Nr!==0;return Nr=0,e}function Vt(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return at===null?Ge.memoizedState=at=e:at=at.next=e,at}function Mt(){if(it===null){var e=Ge.alternate;e=e!==null?e.memoizedState:null}else e=it.next;var t=at===null?Ge.memoizedState:at.next;if(t!==null)at=t,it=e;else{if(e===null)throw Error(i(310));e={memoizedState:(it=e).memoizedState,baseState:it.baseState,baseQueue:it.baseQueue,queue:it.queue,next:null},at===null?Ge.memoizedState=at=e:at=at.next=e}return at}function Rr(e,t){return typeof t=="function"?t(e):t}function aa(e){var t=Mt(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=it,s=r.baseQueue,h=n.pending;if(h!==null){if(s!==null){var R=s.next;s.next=h.next,h.next=R}
8r.baseQueue=s=h,n.pending=null}if(s!==null){h=s.next,r=r.baseState;var Q=R=null,Z=null,pe=h;do{var we=pe.lane;if((In&we)===we)Z!==null&&(Z=Z.next={lane:0,action:pe.action,hasEagerState:pe.hasEagerState,eagerState:pe.eagerState,next:null}),r=pe.hasEagerState?pe.eagerState:e(r,pe.action);else{var ke={lane:we,action:pe.action,hasEagerState:pe.hasEagerState,eagerState:pe.eagerState,next:null};Z===null?(Q=Z=ke,R=r):Z=Z.next=ke,Ge.lanes|=we,Tn|=we}pe=pe.next}while(pe!==null&&pe!==h);Z===null?R=r:Z.next=Q,Dt(r,t.memoizedState)||(_t=!0),t.memoizedState=r,t.baseState=R,t.baseQueue=Z,n.lastRenderedState=r}if((e=n.interleaved)!==null){s=e;do h=s.lane,Ge.lanes|=h,Tn|=h,s=s.next;while(s!==e)}else s===null&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function sa(e){var t=Mt(),n=t.queue;if(n===null)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,s=n.pending,h=t.memoizedState;if(s!==null){n.pending=null;var R=s=s.next;do h=e(h,R.action),R=R.next;while(R!==s);Dt(h,t.memoizedState)||(_t=!0),t.memoizedState=h,t.baseQueue===null&&(t.baseState=h),n.lastRenderedState=h}return[h,r]}function dl(){}function fl(e,t){var n=Ge,r=Mt(),s=t(),h=!Dt(r.memoizedState,s);if(h&&(r.memoizedState=s,_t=!0),r=r.queue,la(ml.bind(null,n,r,e),[e]),r.getSnapshot!==t||h||at!==null&&1&at.memoizedState.tag){if(n.flags|=2048,Dr(9,pl.bind(null,n,r,s,t),void 0,null),st===null)throw Error(i(349));(30&In)!=0||hl(n,t,s)}return s}function hl(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},(t=Ge.updateQueue)===null?(t={lastEffect:null,stores:null},Ge.updateQueue=t,t.stores=[e]):(n=t.stores)===null?t.stores=[e]:n.push(e)}function pl(e,t,n,r){t.value=n,t.getSnapshot=r,gl(t)&&yl(e)}function ml(e,t,n){return n((function(){gl(t)&&yl(e)}))}function gl(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!Dt(e,n)}catch{return!0}}function yl(e){var t=Xt(e,1);t!==null&&$t(t,e,1,-1)}function vl(e){var t=Vt();return typeof e=="function"&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Rr,lastRenderedState:e},t.queue=e,e=e.dispatch=Nu.bind(null,Ge,e),[t.memoizedState,e]}function Dr(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},(t=Ge.updateQueue)===null?(t={lastEffect:null,stores:null},Ge.updateQueue=t,t.lastEffect=e.next=e):(n=t.lastEffect)===null?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function bl(){return Mt().memoizedState}function xo(e,t,n,r){var s=Vt();Ge.flags|=e,s.memoizedState=Dr(1|t,n,void 0,r===void 0?null:r)}function jo(e,t,n,r){var s=Mt();r=r===void 0?null:r;var h=void 0;if(it!==null){var R=it.memoizedState;if(h=R.destroy,r!==null&&ra(r,R.deps))return void(s.memoizedState=Dr(t,n,h,r))}Ge.flags|=e,s.memoizedState=Dr(1|t,n,h,r)}function _l(e,t){return xo(8390656,8,e,t)}function la(e,t){return jo(2048,8,e,t)}function wl(e,t){return jo(4,2,e,t)}function kl(e,t){return jo(4,4,e,t)}function El(e,t){return typeof t=="function"?(e=e(),t(e),function(){t(null)}):t!=null?(e=e(),t.current=e,function(){t.current=null}):void 0}function Sl(e,t,n){return n=n!=null?n.concat([e]):null,jo(4,4,El.bind(null,t,e),n)}function ca(){}function xl(e,t){var n=Mt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ra(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function jl(e,t){var n=Mt();t=t===void 0?null:t;var r=n.memoizedState;return r!==null&&t!==null&&ra(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ol(e,t,n){return(21&In)==0?(e.baseState&&(e.baseState=!1,_t=!0),e.memoizedState=n):(Dt(n,t)||(n=Za(),Ge.lanes|=n,Tn|=n,e.baseState=!0),t)}function Mu(e,t){var n=ze;ze=n!==0&&4>n?n:4,e(!0);var r=na.transition;na.transition={};try{e(!1),t()}finally{ze=n,na.transition=r}}function Pl(){return Mt().memoizedState}function Au(e,t,n){var r=vn(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Cl(e))Il(t,n);else if((n=Zs(e,t,n,r))!==null){var s;$t(n,e,r,gt()),Tl(n,t,r)}}function Nu(e,t,n){var r=vn(e),s={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Cl(e))Il(t,s);else{var h=e.alternate;if(e.lanes===0&&(h===null||h.lanes===0)&&(h=t.lastRenderedReducer)!==null)try{var R=t.lastRenderedState,Q=h(R,n);if(s.hasEagerState=!0,s.eagerState=Q,Dt(Q,R)){var Z=t.interleaved;return Z===null?(s.next=s,Ji(t)):(s.next=Z.next,Z.next=s),void(t.interleaved=s)}}catch{}(n=Zs(e,t,s,r))!==null&&($t(n,e,r,s=gt()),Tl(n,t,r))}}function Cl(e){var t=e.alternate;return e===Ge||t!==null&&t===Ge}function Il(e,t){Ar=So=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Tl(e,t,n){if((4194240&n)!=0){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,li(e,n)}}var Oo={readContext:Tt,useCallback:ft,useContext:ft,useEffect:ft,useImperativeHandle:ft,useInsertionEffect:ft,useLayoutEffect:ft,useMemo:ft,useReducer:ft,useRef:ft,useState:ft,useDebugValue:ft,useDeferredValue:ft,useTransition:ft,useMutableSource:ft,useSyncExternalStore:ft,useId:ft,unstable_isNewReconciler:!1},Ru={readContext:Tt,useCallback:function(e,t){return Vt().memoizedState=[e,t===void 0?null:t],e},useContext:Tt,useEffect:_l,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xo(4194308,4,El.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xo(4194308,4,e,t)},useInsertionEffect:function(e,t){return xo(4,2,e,t)},useMemo:function(e,t){var n=Vt();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Vt();return t=n!==void 0?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=Au.bind(null,Ge,e),[r.memoizedState,e]}
8,useRef:function(e){var t;return e={current:e},Vt().memoizedState=e},useState:vl,useDebugValue:ca,useDeferredValue:function(e){return Vt().memoizedState=e},useTransition:function(){var e=vl(!1),t=e[0];return e=Mu.bind(null,e[1]),Vt().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=Ge,s=Vt();if(Je){if(n===void 0)throw Error(i(407));n=n()}else{if(n=t(),st===null)throw Error(i(349));(30&In)!=0||hl(r,t,n)}s.memoizedState=n;var h={value:n,getSnapshot:t};return s.queue=h,_l(ml.bind(null,r,h,e),[e]),r.flags|=2048,Dr(9,pl.bind(null,r,h,n,t),void 0,null),n},useId:function(){var e=Vt(),t=st.identifierPrefix;if(Je){var n=Yt,r=Lt;t=":"+t+"R"+(n=(Lt&~(1<<32-Rt(Lt)-1)).toString(32)+n),0<(n=Nr++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Tu++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},Du={readContext:Tt,useCallback:xl,useContext:Tt,useEffect:la,useImperativeHandle:Sl,useInsertionEffect:wl,useLayoutEffect:kl,useMemo:jl,useReducer:aa,useRef:bl,useState:function(){return aa(Rr)},useDebugValue:ca,useDeferredValue:function(e){var t;return Ol(Mt(),it.memoizedState,e)},useTransition:function(){var e,t;return[aa(Rr)[0],Mt().memoizedState]},useMutableSource:dl,useSyncExternalStore:fl,useId:Pl,unstable_isNewReconciler:!1},Lu={readContext:Tt,useCallback:xl,useContext:Tt,useEffect:la,useImperativeHandle:Sl,useInsertionEffect:wl,useLayoutEffect:kl,useMemo:jl,useReducer:sa,useRef:bl,useState:function(){return sa(Rr)},useDebugValue:ca,useDeferredValue:function(e){var t=Mt();return it===null?t.memoizedState=e:Ol(t,it.memoizedState,e)},useTransition:function(){var e,t;return[sa(Rr)[0],Mt().memoizedState]},useMutableSource:dl,useSyncExternalStore:fl,useId:Pl,unstable_isNewReconciler:!1};function tr(e,t){try{var n="",r=t;do n+=M(r),r=r.return;while(r);var s=n}catch(h){s=`
9Error generating stack: `+h.message+`
10`+h.stack}return{value:e,source:t,stack:s,digest:null}}function ua(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function da(e,t){try{console.error(t.value)}catch(n){setTimeout((function(){throw n}))}}var Fu=typeof WeakMap=="function"?WeakMap:Map;function Ml(e,t,n){(n=Zt(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){No||(No=!0,Sa=r),da(e,t)},n}function Al(e,t,n){(n=Zt(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var s=t.value;n.payload=function(){return r(s)},n.callback=function(){da(e,t)}}var h=e.stateNode;return h!==null&&typeof h.componentDidCatch=="function"&&(n.callback=function(){da(e,t),typeof r!="function"&&(gn===null?gn=new Set([this]):gn.add(this));var R=t.stack;this.componentDidCatch(t.value,{componentStack:R!==null?R:""})}),n}function Nl(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new Fu;var s=new Set;r.set(t,s)}else(s=r.get(t))===void 0&&(s=new Set,r.set(t,s));s.has(n)||(s.add(n),e=Zu.bind(null,e,t,n),t.then(e,e))}function Rl(e){do{var t;if((t=e.tag===13)&&(t=(t=e.memoizedState)===null||t.dehydrated!==null),t)return e;e=e.return}while(e!==null);return null}function Dl(e,t,n,r,s){return(1&e.mode)==0?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:((t=Zt(-1,1)).tag=2,hn(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=s,e)}var Uu=U.ReactCurrentOwner,_t=!1;function wt(e,t,n,r){t.child=e===null?cl(t,null,n,r):Zn(t,e.child,n,r)}function Ll(e,t,n,r,s){n=n.render;var h=t.ref;return Xn(t,s),r=oa(e,t,n,r,h,s),n=ia(),e===null||_t?(Je&&n&&Ui(t),t.flags|=1,wt(e,t,r,s),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,en(e,t,s))}
10function Fl(e,t,n,r,s){if(e===null){var h=n.type;return typeof h!="function"||Ta(h)||h.defaultProps!==void 0||n.compare!==null||n.defaultProps!==void 0?((e=$o(n.type,null,r,t,t.mode,s)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=h,Ul(e,t,h,r,s))}if(h=e.child,(e.lanes&s)==0){var R=h.memoizedProps;if((n=(n=n.compare)!==null?n:kr)(R,r)&&e.ref===t.ref)return en(e,t,s)}return t.flags|=1,(e=_n(h,r)).ref=t.ref,e.return=t,t.child=e}function Ul(e,t,n,r,s){if(e!==null){var h=e.memoizedProps;if(kr(h,r)&&e.ref===t.ref){if(_t=!1,t.pendingProps=r=h,(e.lanes&s)==0)return t.lanes=e.lanes,en(e,t,s);(131072&e.flags)!=0&&(_t=!0)}}return fa(e,t,n,r,s)}function $l(e,t,n){var r=t.pendingProps,s=r.children,h=e!==null?e.memoizedState:null;if(r.mode==="hidden")if((1&t.mode)==0)t.memoizedState={baseLanes:0,cachePool:null,transitions:null},qe(rr,Ot),Ot|=n;else{if((1073741824&n)==0)return e=h!==null?h.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,qe(rr,Ot),Ot|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=h!==null?h.baseLanes:n,qe(rr,Ot),Ot|=r}else h!==null?(r=h.baseLanes|n,t.memoizedState=null):r=n,qe(rr,Ot),Ot|=r;return wt(e,t,s,n),t.child}function Bl(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function fa(e,t,n,r,s){var h=St(n)?xn:dt.current;return h=Qn(t,h),Xn(t,s),n=oa(e,t,n,r,h,s),r=ia(),e===null||_t?(Je&&r&&Ui(t),t.flags|=1,wt(e,t,n,s),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~s,en(e,t,s))}function zl(e,t,n,r,s){if(St(n)){var h=!0;uo(t)}else h=!1;if(Xn(t,s),t.stateNode===null)Co(e,t),il(t,n,r),Yi(t,n,r,s),r=!0;else if(e===null){var R=t.stateNode,Q=t.memoizedProps;R.props=Q;var Z=R.context,pe=n.contextType;typeof pe=="object"&&pe!==null?pe=Tt(pe):pe=Qn(t,pe=St(n)?xn:dt.current);var we=n.getDerivedStateFromProps,ke=typeof we=="function"||typeof R.getSnapshotBeforeUpdate=="function";ke||typeof R.UNSAFE_componentWillReceiveProps!="function"&&typeof R.componentWillReceiveProps!="function"||(Q!==r||Z!==pe)&&al(t,R,r,pe),fn=!1;var Ee=t.memoizedState;R.state=Ee,bo(t,r,R,s),Z=t.memoizedState,Q!==r||Ee!==Z||bt.current||fn?(typeof we=="function"&&(Gi(t,n,we,r),Z=t.memoizedState),(Q=fn||ol(t,n,Q,r,Ee,Z,pe))?(ke||typeof R.UNSAFE_componentWillMount!="function"&&typeof R.componentWillMount!="function"||(typeof R.componentWillMount=="function"&&R.componentWillMount(),typeof R.UNSAFE_componentWillMount=="function"&&R.UNSAFE_componentWillMount()),typeof R.componentDidMount=="function"&&(t.flags|=4194308)):(typeof R.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=Z),R.props=r,R.state=Z,R.context=pe,r=Q):(typeof R.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{R=t.stateNode,el(e,t),Q=t.memoizedProps,pe=t.type===t.elementType?Q:Ut(t.type,Q),R.props=pe,ke=t.pendingProps,Ee=R.context,typeof(Z=n.contextType)=="object"&&Z!==null?Z=Tt(Z):Z=Qn(t,Z=St(n)?xn:dt.current);var Oe=n.getDerivedStateFromProps;(we=typeof Oe=="function"||typeof R.getSnapshotBeforeUpdate=="function")||typeof R.UNSAFE_componentWillReceiveProps!="function"&&typeof R.componentWillReceiveProps!="function"||(Q!==ke||Ee!==Z)&&al(t,R,r,Z),fn=!1,Ee=t.memoizedState,R.state=Ee,bo(t,r,R,s);var Te=t.memoizedState;Q!==ke||Ee!==Te||bt.current||fn?(typeof Oe=="function"&&(Gi(t,n,Oe,r),Te=t.memoizedState),(pe=fn||ol(t,n,pe,r,Ee,Te,Z)||!1)?(we||typeof R.UNSAFE_componentWillUpdate!="function"&&typeof R.componentWillUpdate!="function"||(typeof R.componentWillUpdate=="function"&&R.componentWillUpdate(r,Te,Z),typeof R.UNSAFE_componentWillUpdate=="function"&&R.UNSAFE_componentWillUpdate(r,Te,Z)),typeof R.componentDidUpdate=="function"&&(t.flags|=4),typeof R.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof R.componentDidUpdate!="function"||Q===e.memoizedProps&&Ee===e.memoizedState||(t.flags|=4),typeof R.getSnapshotBeforeUpdate!="function"||Q===e.memoizedProps&&Ee===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=Te),R.props=r,R.state=Te,R.context=Z,r=pe):(typeof R.componentDidUpdate!="function"||Q===e.memoizedProps&&Ee===e.memoizedState||(t.flags|=4),typeof R.getSnapshotBeforeUpdate!="function"||Q===e.memoizedProps&&Ee===e.memoizedState||(t.flags|=1024),r=!1)}return ha(e,t,n,r,h,s)}function ha(e,t,n,r,s,h){Bl(e,t);var R=(128&t.flags)!=0;if(!r&&!R)return s&&Hs(t,n,!1),en(e,t,h);r=t.stateNode,Uu.current=t;var Q=R&&typeof n.getDerivedStateFromError!="function"?null:r.render();return t.flags|=1,e!==null&&R?(t.child=Zn(t,e.child,null,h),t.child=Zn(t,null,Q,h)):wt(e,t,Q,h),t.memoizedState=r.state,s&&Hs(t,n,!0),t.child}function Wl(e){var t=e.stateNode;t.pendingContext?Vs(e,t.pendingContext,t.pendingContext!==t.context):t.context&&Vs(e,t.context,!1),Xi(e,t.containerInfo)}
10function Vl(e,t,n,r,s){return Gn(),Wi(s),t.flags|=256,wt(e,t,n,r),t.child}var pa={dehydrated:null,treeContext:null,retryLane:0},ql,$u,Hl,Ql;function ma(e){return{baseLanes:e,cachePool:null,transitions:null}}function Jl(e,t,n){var r=t.pendingProps,s=Ye.current,h=!1,R=(128&t.flags)!=0,Q;if((Q=R)||(Q=(e===null||e.memoizedState!==null)&&(2&s)!=0),Q?(h=!0,t.flags&=-129):e!==null&&e.memoizedState===null||(s|=1),qe(Ye,1&s),e===null)return zi(t),(e=t.memoizedState)!==null&&(e=e.dehydrated)!==null?((1&t.mode)==0?t.lanes=1:e.data==="$!"?t.lanes=8:t.lanes=1073741824,null):(R=r.children,e=r.fallback,h?(r=t.mode,h=t.child,R={mode:"hidden",children:R},(1&r)==0&&h!==null?(h.childLanes=0,h.pendingProps=R):h=Bo(R,r,0,null),e=Nn(e,r,n,null),h.return=t,e.return=t,h.sibling=e,t.child=h,t.child.memoizedState=ma(n),t.memoizedState=pa,e):ga(t,R));if((s=e.memoizedState)!==null&&(Q=s.dehydrated)!==null)return Bu(e,t,R,r,Q,s,n);if(h){h=r.fallback,R=t.mode,Q=(s=e.child).sibling;var Z={mode:"hidden",children:r.children};return(1&R)==0&&t.child!==s?((r=t.child).childLanes=0,r.pendingProps=Z,t.deletions=null):(r=_n(s,Z)).subtreeFlags=14680064&s.subtreeFlags,Q!==null?h=_n(Q,h):(h=Nn(h,R,n,null)).flags|=2,h.return=t,r.return=t,r.sibling=h,t.child=r,r=h,h=t.child,R=(R=e.child.memoizedState)===null?ma(n):{baseLanes:R.baseLanes|n,cachePool:null,transitions:R.transitions},h.memoizedState=R,h.childLanes=e.childLanes&~n,t.memoizedState=pa,r}return e=(h=e.child).sibling,r=_n(h,{mode:"visible",children:r.children}),(1&t.mode)==0&&(r.lanes=n),r.return=t,r.sibling=null,e!==null&&((n=t.deletions)===null?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=r,t.memoizedState=null,r}function ga(e,t){return(t=Bo({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Po(e,t,n,r){return r!==null&&Wi(r),Zn(t,e.child,null,n),(e=ga(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Bu(e,t,n,r,s,h,R){if(n)return 256&t.flags?(t.flags&=-257,Po(e,t,R,r=ua(Error(i(422))))):t.memoizedState!==null?(t.child=e.child,t.flags|=128,null):(h=r.fallback,s=t.mode,r=Bo({mode:"visible",children:r.children},s,0,null),(h=Nn(h,s,R,null)).flags|=2,r.return=t,h.return=t,r.sibling=h,t.child=r,(1&t.mode)!=0&&Zn(t,e.child,null,R),t.child.memoizedState=ma(R),t.memoizedState=pa,h);if((1&t.mode)==0)return Po(e,t,R,null);if(s.data==="$!"){if(r=s.nextSibling&&s.nextSibling.dataset)var Q=r.dgst;return r=Q,Po(e,t,R,r=ua(h=Error(i(419)),r,void 0))}if(Q=(R&e.childLanes)!=0,_t||Q){if((r=st)!==null){switch(R&-R){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}(s=(s&(r.suspendedLanes|R))!=0?0:s)!==0&&s!==h.retryLane&&(h.retryLane=s,Xt(e,s),$t(r,e,s,-1))}return Ia(),Po(e,t,R,r=ua(Error(i(421))))}return s.data==="$?"?(t.flags|=128,t.child=e.child,t=ed.bind(null,e),s._reactRetry=t,null):(e=h.treeContext,jt=ln(s.nextSibling),xt=t,Je=!0,Ft=null,e!==null&&(Ct[It++]=Lt,Ct[It++]=Yt,Ct[It++]=jn,Lt=e.id,Yt=e.overflow,jn=t),(t=ga(t,r.children)).flags|=4096,t)}function Kl(e,t,n){e.lanes|=t;var r=e.alternate;r!==null&&(r.lanes|=t),Qi(e.return,t,n)}function ya(e,t,n,r,s){var h=e.memoizedState;h===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:s}:(h.isBackwards=t,h.rendering=null,h.renderingStartTime=0,h.last=r,h.tail=n,h.tailMode=s)}function Gl(e,t,n){var r=t.pendingProps,s=r.revealOrder,h=r.tail;if(wt(e,t,r.children,n),(2&(r=Ye.current))!=0)r=1&r|2,t.flags|=128;else{if(e!==null&&(128&e.flags)!=0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&Kl(e,n,t);else if(e.tag===19)Kl(e,n,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(qe(Ye,r),(1&t.mode)==0)t.memoizedState=null;else switch(s){case"forwards":for(n=t.child,s=null;n!==null;)(e=n.alternate)!==null&&ko(e)===null&&(s=n),n=n.sibling;(n=s)===null?(s=t.child,t.child=null):(s=n.sibling,n.sibling=null),ya(t,!1,s,n,h);break;case"backwards":for(n=null,s=t.child,t.child=null;s!==null;){if((e=s.alternate)!==null&&ko(e)===null){t.child=s;break}e=s.sibling,s.sibling=n,n=s,s=e}ya(t,!0,n,null,h);break;case"together":ya(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Co(e,t){(1&t.mode)==0&&e!==null&&(e.alternate=null,t.alternate=null,t.flags|=2)}
10function en(e,t,n){if(e!==null&&(t.dependencies=e.dependencies),Tn|=t.lanes,(n&t.childLanes)==0)return null;if(e!==null&&t.child!==e.child)throw Error(i(153));if(t.child!==null){for(n=_n(e=t.child,e.pendingProps),t.child=n,n.return=t;e.sibling!==null;)e=e.sibling,(n=n.sibling=_n(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function zu(e,t,n){switch(t.tag){case 3:Wl(t),Gn();break;case 5:ul(t);break;case 1:St(t.type)&&uo(t);break;case 4:Xi(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,s=t.memoizedProps.value;qe(go,r._currentValue),r._currentValue=s;break;case 13:if((r=t.memoizedState)!==null)return r.dehydrated!==null?(qe(Ye,1&Ye.current),t.flags|=128,null):(n&t.child.childLanes)!=0?Jl(e,t,n):(qe(Ye,1&Ye.current),(e=en(e,t,n))!==null?e.sibling:null);qe(Ye,1&Ye.current);break;case 19:if(r=(n&t.childLanes)!=0,(128&e.flags)!=0){if(r)return Gl(e,t,n);t.flags|=128}if((s=t.memoizedState)!==null&&(s.rendering=null,s.tail=null,s.lastEffect=null),qe(Ye,Ye.current),r)break;return null;case 22:case 23:return t.lanes=0,$l(e,t,n)}return en(e,t,n)}function Lr(e,t){if(!Je)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;t!==null;)t.alternate!==null&&(n=t),t=t.sibling;n===null?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;n!==null;)n.alternate!==null&&(r=n),n=n.sibling;r===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function pt(e){var t=e.alternate!==null&&e.alternate.child===e.child,n=0,r=0;if(t)for(var s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=14680064&s.subtreeFlags,r|=14680064&s.flags,s.return=e,s=s.sibling;else for(s=e.child;s!==null;)n|=s.lanes|s.childLanes,r|=s.subtreeFlags,r|=s.flags,s.return=e,s=s.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Wu(e,t,n){var r=t.pendingProps;switch($i(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return pt(t),null;case 1:case 17:return St(t.type)&&Li(),pt(t),null;case 3:return r=t.stateNode,er(),Qe(bt),Qe(dt),ta(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),e!==null&&e.child!==null||(mo(t)?t.flags|=4:e===null||e.memoizedState.isDehydrated&&(256&t.flags)==0||(t.flags|=1024,Ft!==null&&(Oa(Ft),Ft=null))),pt(t),null;case 5:Zi(t);var s=Cn(Mr.current);if(n=t.type,e!==null&&t.stateNode!=null)Hl(e,t,n,r,s),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(t.stateNode===null)throw Error(i(166));return pt(t),null}if(e=Cn(Wt.current),mo(t)){r=t.stateNode,n=t.type;var h=t.memoizedProps;switch(r[zt]=t,r[Or]=h,e=(1&t.mode)!=0,n){case"dialog":He("cancel",r),He("close",r);break;case"iframe":case"object":case"embed":He("load",r);break;case"video":case"audio":for(s=0;s<Sr.length;s++)He(Sr[s],r);break;case"source":He("error",r);break;case"img":case"image":case"link":He("error",r),He("load",r);break;case"details":He("toggle",r);break;case"input":Ve(r,h),He("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!h.multiple},He("invalid",r);break;case"textarea":he(r,h),He("invalid",r)}for(var R in Jo(n,h),s=null,h)if(h.hasOwnProperty(R)){var Q=h[R];R==="children"?typeof Q=="string"?r.textContent!==Q&&(h.suppressHydrationWarning!==!0&&so(r.textContent,Q,e),s=["children",Q]):typeof Q=="number"&&r.textContent!==""+Q&&(h.suppressHydrationWarning!==!0&&so(r.textContent,Q,e),s=["children",""+Q]):m.hasOwnProperty(R)&&Q!=null&&R==="onScroll"&&He("scroll",r)}switch(n){case"input":be(r),lt(r,h,!0);break;case"textarea":be(r),_e(r);break;case"select":case"option":break;default:typeof h.onClick=="function"&&(r.onclick=lo)}r=s,t.updateQueue=r,r!==null&&(t.flags|=4)}else{R=s.nodeType===9?s:s.ownerDocument,e==="http://www.w3.org/1999/xhtml"&&(e=Se(n)),e==="http://www.w3.org/1999/xhtml"?n==="script"?((e=R.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=R.createElement(n,{is:r.is}):(e=R.createElement(n),n==="select"&&(R=e,r.multiple?R.multiple=!0:r.size&&(R.size=r.size))):e=R.createElementNS(e,n),e[zt]=t,e[Or]=r,ql(e,t,!1,!1),t.stateNode=e;e:{switch(R=Ko(n,r),n){case"dialog":He("cancel",e),He("close",e),s=r;break;case"iframe":case"object":case"embed":He("load",e),s=r;break;case"video":case"audio":for(s=0;s<Sr.length;s++)He(Sr[s],e);s=r;break;case"source":He("error",e),s=r;break;case"img":case"image":case"link":He("error",e),He("load",e),s=r;break;case"details":He("toggle",e),s=r;break;case"input":Ve(e,r),s=We(e,r),He("invalid",e);break;case"option":default:s=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},s=H({},r,{value:void 0}),He("invalid",e);break;case"textarea":he(e,r),s=Y(e,r),He("invalid",e)}for(h in Jo(n,s),Q=s)if(Q.hasOwnProperty(h)){var Z=Q[h];h==="style"?Fa(e,Z):h==="dangerouslySetInnerHTML"?(Z=Z?Z.__html:void 0)!=null&&Ue(e,Z):h==="children"?typeof Z=="string"?(n!=="textarea"||Z!=="")&&Ze(e,Z):typeof Z=="number"&&Ze(e,""+Z):h!=="suppressContentEditableWarning"&&h!=="suppressHydrationWarning"&&h!=="autoFocus"&&(m.hasOwnProperty(h)?Z!=null&&h==="onScroll"&&He("scroll",e):Z!=null&&b(e,h,Z,R))}switch(n){case"input":be(e),lt(e,r,!1);break;case"textarea":be(e),_e(e);break;case"option":r.value!=null&&e.setAttribute("value",""+te(r.value));break;case"select":e.multiple=!!r.multiple,(h=r.value)!=null?Jt(e,!!r.multiple,h,!1):r.defaultValue!=null&&Jt(e,!!r.multiple,r.defaultValue,!0);break;default:typeof s.onClick=="function"&&(e.onclick=lo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}t.ref!==null&&(t.flags|=512,t.flags|=2097152)}
10return pt(t),null;case 6:if(e&&t.stateNode!=null)Ql(e,t,e.memoizedProps,r);else{if(typeof r!="string"&&t.stateNode===null)throw Error(i(166));if(n=Cn(Mr.current),Cn(Wt.current),mo(t)){if(r=t.stateNode,n=t.memoizedProps,r[zt]=t,(h=r.nodeValue!==n)&&(e=xt)!==null)switch(e.tag){case 3:so(r.nodeValue,n,(1&e.mode)!=0);break;case 5:e.memoizedProps.suppressHydrationWarning!==!0&&so(r.nodeValue,n,(1&e.mode)!=0)}h&&(t.flags|=4)}else(r=(n.nodeType===9?n:n.ownerDocument).createTextNode(r))[zt]=t,t.stateNode=r}return pt(t),null;case 13:if(Qe(Ye),r=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(Je&&jt!==null&&(1&t.mode)!=0&&(128&t.flags)==0)Xs(),Gn(),t.flags|=98560,h=!1;else if(h=mo(t),r!==null&&r.dehydrated!==null){if(e===null){if(!h)throw Error(i(318));if(!(h=(h=t.memoizedState)!==null?h.dehydrated:null))throw Error(i(317));h[zt]=t}else Gn(),(128&t.flags)==0&&(t.memoizedState=null),t.flags|=4;pt(t),h=!1}else Ft!==null&&(Oa(Ft),Ft=null),h=!0;if(!h)return 65536&t.flags?t:null}return(128&t.flags)!=0?(t.lanes=n,t):((r=r!==null)!=(e!==null&&e.memoizedState!==null)&&r&&(t.child.flags|=8192,(1&t.mode)!=0&&(e===null||(1&Ye.current)!=0?ot===0&&(ot=3):Ia())),t.updateQueue!==null&&(t.flags|=4),pt(t),null);case 4:return er(),e===null&&xr(t.stateNode.containerInfo),pt(t),null;case 10:return Hi(t.type._context),pt(t),null;case 19:if(Qe(Ye),(h=t.memoizedState)===null)return pt(t),null;if(r=(128&t.flags)!=0,(R=h.rendering)===null)if(r)Lr(h,!1);else{if(ot!==0||e!==null&&(128&e.flags)!=0)for(e=t.child;e!==null;){if((R=ko(e))!==null){for(t.flags|=128,Lr(h,!1),(r=R.updateQueue)!==null&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;n!==null;)e=r,(h=n).flags&=14680066,(R=h.alternate)===null?(h.childLanes=0,h.lanes=e,h.child=null,h.subtreeFlags=0,h.memoizedProps=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.stateNode=null):(h.childLanes=R.childLanes,h.lanes=R.lanes,h.child=R.child,h.subtreeFlags=0,h.deletions=null,h.memoizedProps=R.memoizedProps,h.memoizedState=R.memoizedState,h.updateQueue=R.updateQueue,h.type=R.type,e=R.dependencies,h.dependencies=e===null?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return qe(Ye,1&Ye.current|2),t.child}e=e.sibling}h.tail!==null&&et()>or&&(t.flags|=128,r=!0,Lr(h,!1),t.lanes=4194304)}else{if(!r)if((e=ko(R))!==null){if(t.flags|=128,r=!0,(n=e.updateQueue)!==null&&(t.updateQueue=n,t.flags|=4),Lr(h,!0),h.tail===null&&h.tailMode==="hidden"&&!R.alternate&&!Je)return pt(t),null}else 2*et()-h.renderingStartTime>or&&n!==1073741824&&(t.flags|=128,r=!0,Lr(h,!1),t.lanes=4194304);h.isBackwards?(R.sibling=t.child,t.child=R):((n=h.last)!==null?n.sibling=R:t.child=R,h.last=R)}return h.tail!==null?(t=h.tail,h.rendering=t,h.tail=t.sibling,h.renderingStartTime=et(),t.sibling=null,n=Ye.current,qe(Ye,r?1&n|2:1&n),t):(pt(t),null);case 22:case 23:return Ca(),r=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(t.flags|=8192),r&&(1&t.mode)!=0?(1073741824&Ot)!=0&&(pt(t),6&t.subtreeFlags&&(t.flags|=8192)):pt(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Vu(e,t){switch($i(t),t.tag){case 1:return St(t.type)&&Li(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return er(),Qe(bt),Qe(dt),ta(),(65536&(e=t.flags))!=0&&(128&e)==0?(t.flags=-65537&e|128,t):null;case 5:return Zi(t),null;case 13:if(Qe(Ye),(e=t.memoizedState)!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(i(340));Gn()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Qe(Ye),null;case 4:return er(),null;case 10:return Hi(t.type._context),null;case 22:case 23:return Ca(),null;default:return null}}ql=function(e,t){for(var n=t.child;n!==null;){if(n.tag===5||n.tag===6)e.appendChild(n.stateNode);else if(n.tag!==4&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===t)break;for(;n.sibling===null;){if(n.return===null||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},$u=function(){},Hl=function(e,t,n,r){var s=e.memoizedProps;if(s!==r){e=t.stateNode,Cn(Wt.current);var h=null,R;switch(n){case"input":s=We(e,s),r=We(e,r),h=[];break;case"select":s=H({},s,{value:void 0}),r=H({},r,{value:void 0}),h=[];break;case"textarea":s=Y(e,s),r=Y(e,r),h=[];break;default:typeof s.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=lo)}for(pe in Jo(n,r),n=null,s)if(!r.hasOwnProperty(pe)&&s.hasOwnProperty(pe)&&s[pe]!=null)if(pe==="style"){var Q=s[pe];for(R in Q)Q.hasOwnProperty(R)&&(n||(n={}),n[R]="")}else pe!=="dangerouslySetInnerHTML"&&pe!=="children"&&pe!=="suppressContentEditableWarning"&&pe!=="suppressHydrationWarning"&&pe!=="autoFocus"&&(m.hasOwnProperty(pe)?h||(h=[]):(h=h||[]).push(pe,null));for(pe in r){var Z=r[pe];if(Q=s!=null?s[pe]:void 0,r.hasOwnProperty(pe)&&Z!==Q&&(Z!=null||Q!=null))if(pe==="style")if(Q){for(R in Q)!Q.hasOwnProperty(R)||Z&&Z.hasOwnProperty(R)||(n||(n={}),n[R]="");for(R in Z)Z.hasOwnProperty(R)&&Q[R]!==Z[R]&&(n||(n={}),n[R]=Z[R])}else n||(h||(h=[]),h.push(pe,n)),n=Z;else pe==="dangerouslySetInnerHTML"?(Z=Z?Z.__html:void 0,Q=Q?Q.__html:void 0,Z!=null&&Q!==Z&&(h=h||[]).push(pe,Z)):pe==="children"?typeof Z!="string"&&typeof Z!="number"||(h=h||[]).push(pe,""+Z):pe!=="suppressContentEditableWarning"&&pe!=="suppressHydrationWarning"&&(m.hasOwnProperty(pe)?(Z!=null&&pe==="onScroll"&&He("scroll",e),h||Q===Z||(h=[])):(h=h||[]).push(pe,Z))}n&&(h=h||[]).push("style",n);var pe=h;(t.updateQueue=pe)&&(t.flags|=4)}},Ql=function(e,t,n,r){n!==r&&(t.flags|=4)};var Io=!1,ht=!1,qu=typeof WeakSet=="function"?WeakSet:Set,Ce=null;function nr(e,t){var n=e.ref;if(n!==null)if(typeof n=="function")try{n(null)}catch(r){Xe(e,t,r)}else n.current=null}function Yl(e,t,n){try{n()}catch(r){Xe(e,t,r)}}var Xl=!1;function Hu(e,t){if(Ii=Kr,ki(e=Ps())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&r.rangeCount!==0){n=r.anchorNode;var s=r.anchorOffset,h=r.focusNode;r=r.focusOffset;try{n.nodeType,h.nodeType}catch{n=null;break e}var R=0,Q=-1,Z=-1,pe=0,we=0,ke=e,Ee=null;t:for(;;){for(var Oe;ke!==n||s!==0&&ke.nodeType!==3||(Q=R+s),ke!==h||r!==0&&ke.nodeType!==3||(Z=R+r),ke.nodeType===3&&(R+=ke.nodeValue.length),(Oe=ke.firstChild)!==null;)Ee=ke,ke=Oe;
10for(;;){if(ke===e)break t;if(Ee===n&&++pe===s&&(Q=R),Ee===h&&++we===r&&(Z=R),(Oe=ke.nextSibling)!==null)break;Ee=(ke=Ee).parentNode}ke=Oe}n=Q===-1||Z===-1?null:{start:Q,end:Z}}else n=null}n=n||{start:0,end:0}}else n=null;for(Ti={focusedElem:e,selectionRange:n},Kr=!1,Ce=t;Ce!==null;)if(e=(t=Ce).child,(1028&t.subtreeFlags)!=0&&e!==null)e.return=t,Ce=e;else for(;Ce!==null;){t=Ce;try{var Te=t.alternate;if((1024&t.flags)!=0)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(Te!==null){var Me=Te.memoizedProps,nt=Te.memoizedState,ue=t.stateNode,se=ue.getSnapshotBeforeUpdate(t.elementType===t.type?Me:Ut(t.type,Me),nt);ue.__reactInternalSnapshotBeforeUpdate=se}break;case 3:var fe=t.stateNode.containerInfo;fe.nodeType===1?fe.textContent="":fe.nodeType===9&&fe.documentElement&&fe.removeChild(fe.documentElement);break;default:throw Error(i(163))}}catch(xe){Xe(t,t.return,xe)}if((e=t.sibling)!==null){e.return=t.return,Ce=e;break}Ce=t.return}return Te=Xl,Xl=!1,Te}function Fr(e,t,n){var r=t.updateQueue;if((r=r!==null?r.lastEffect:null)!==null){var s=r=r.next;do{if((s.tag&e)===e){var h=s.destroy;s.destroy=void 0,h!==void 0&&Yl(t,n,h)}s=s.next}while(s!==r)}}function To(e,t){if((t=(t=t.updateQueue)!==null?t.lastEffect:null)!==null){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function va(e){var t=e.ref;if(t!==null){var n=e.stateNode;e.tag,e=n,typeof t=="function"?t(e):t.current=e}}function Zl(e){var t=e.alternate;t!==null&&(e.alternate=null,Zl(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode)!==null&&(delete t[zt],delete t[Or],delete t[Ri],delete t[Ou],delete t[Pu]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ec(e){return e.tag===5||e.tag===3||e.tag===4}function tc(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||ec(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(2&e.flags||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ba(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),(n=n._reactRootContainer)!=null||t.onclick!==null||(t.onclick=lo));else if(r!==4&&(e=e.child)!==null)for(ba(e,t,n),e=e.sibling;e!==null;)ba(e,t,n),e=e.sibling}function _a(e,t,n){var r=e.tag;if(r===5||r===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(r!==4&&(e=e.child)!==null)for(_a(e,t,n),e=e.sibling;e!==null;)_a(e,t,n),e=e.sibling}var mt=null,qt=!1;function pn(e,t,n){for(n=n.child;n!==null;)nc(e,t,n),n=n.sibling}function nc(e,t,n){if(Bt&&typeof Bt.onCommitFiberUnmount=="function")try{Bt.onCommitFiberUnmount(qr,n)}catch{}switch(n.tag){case 5:ht||nr(n,t);case 6:var r=mt,s=qt;mt=null,pn(e,t,n),qt=s,(mt=r)!==null&&(qt?(e=mt,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):mt.removeChild(n.stateNode));break;case 18:mt!==null&&(qt?(e=mt,n=n.stateNode,e.nodeType===8?Ni(e.parentNode,n):e.nodeType===1&&Ni(e,n),yr(e)):Ni(mt,n.stateNode));break;case 4:r=mt,s=qt,mt=n.stateNode.containerInfo,qt=!0,pn(e,t,n),mt=r,qt=s;break;case 0:case 11:case 14:case 15:if(!ht&&(r=n.updateQueue)!==null&&(r=r.lastEffect)!==null){s=r=r.next;do{var h=s,R=h.destroy;h=h.tag,R!==void 0&&((2&h)!=0||(4&h)!=0)&&Yl(n,t,R),s=s.next}while(s!==r)}pn(e,t,n);break;case 1:if(!ht&&(nr(n,t),typeof(r=n.stateNode).componentWillUnmount=="function"))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(Q){Xe(n,t,Q)}pn(e,t,n);break;case 21:pn(e,t,n);break;case 22:1&n.mode?(ht=(r=ht)||n.memoizedState!==null,pn(e,t,n),ht=r):pn(e,t,n);break;default:pn(e,t,n)}}function rc(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new qu),t.forEach((function(r){var s=td.bind(null,e,r);n.has(r)||(n.add(r),r.then(s,s))}))}}function Ht(e,t){var n=t.deletions;if(n!==null)for(var r=0;r<n.length;r++){var s=n[r];try{var h=e,R=t,Q=R;e:for(;Q!==null;){switch(Q.tag){case 5:mt=Q.stateNode,qt=!1;break e;case 3:case 4:mt=Q.stateNode.containerInfo,qt=!0;break e}Q=Q.return}if(mt===null)throw Error(i(160));nc(h,R,s),mt=null,qt=!1;var Z=s.alternate;Z!==null&&(Z.return=null),s.return=null}catch(pe){Xe(s,t,pe)}}if(12854&t.subtreeFlags)for(t=t.child;t!==null;)oc(t,e),t=t.sibling}function oc(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(Ht(t,e),tn(e),4&r){try{Fr(3,e,e.return),To(3,e)}catch(Me){Xe(e,e.return,Me)}try{Fr(5,e,e.return)}catch(Me){Xe(e,e.return,Me)}}break;case 1:Ht(t,e),tn(e),512&r&&n!==null&&nr(n,n.return);break;case 5:if(Ht(t,e),tn(e),512&r&&n!==null&&nr(n,n.return),32&e.flags){var s=e.stateNode;try{Ze(s,"")}catch(Me){Xe(e,e.return,Me)}}if(4&r&&(s=e.stateNode)!=null){var h=e.memoizedProps,R=n!==null?n.memoizedProps:h,Q=e.type,Z=e.updateQueue;if(e.updateQueue=null,Z!==null)try{Q==="input"&&h.type==="radio"&&h.name!=null&&Ke(s,h),Ko(Q,R);var pe=Ko(Q,h);for(R=0;R<Z.length;R+=2){var we=Z[R],ke=Z[R+1];we==="style"?Fa(s,ke):we==="dangerouslySetInnerHTML"?Ue(s,ke):we==="children"?Ze(s,ke):b(s,we,ke,pe)}switch(Q){case"input":rt(s,h);break;case"textarea":me(s,h);break;case"select":var Ee=s._wrapperState.wasMultiple;s._wrapperState.wasMultiple=!!h.multiple;var Oe=h.value;Oe!=null?Jt(s,!!h.multiple,Oe,!1):Ee!==!!h.multiple&&(h.defaultValue!=null?Jt(s,!!h.multiple,h.defaultValue,!0):Jt(s,!!h.multiple,h.multiple?[]:"",!1))}s[Or]=h}catch(Me){Xe(e,e.return,Me)}}break;case 6:if(Ht(t,e),tn(e),4&r){if(e.stateNode===null)throw Error(i(162));s=e.stateNode,h=e.memoizedProps;
10try{s.nodeValue=h}catch(Me){Xe(e,e.return,Me)}}break;case 3:if(Ht(t,e),tn(e),4&r&&n!==null&&n.memoizedState.isDehydrated)try{yr(t.containerInfo)}catch(Me){Xe(e,e.return,Me)}break;case 4:default:Ht(t,e),tn(e);break;case 13:Ht(t,e),tn(e),8192&(s=e.child).flags&&(h=s.memoizedState!==null,s.stateNode.isHidden=h,!h||s.alternate!==null&&s.alternate.memoizedState!==null||(Ea=et())),4&r&&rc(e);break;case 22:if(we=n!==null&&n.memoizedState!==null,1&e.mode?(ht=(pe=ht)||we,Ht(t,e),ht=pe):Ht(t,e),tn(e),8192&r){if(pe=e.memoizedState!==null,(e.stateNode.isHidden=pe)&&!we&&(1&e.mode)!=0)for(Ce=e,we=e.child;we!==null;){for(ke=Ce=we;Ce!==null;){switch(Oe=(Ee=Ce).child,Ee.tag){case 0:case 11:case 14:case 15:Fr(4,Ee,Ee.return);break;case 1:nr(Ee,Ee.return);var Te=Ee.stateNode;if(typeof Te.componentWillUnmount=="function"){r=Ee,n=Ee.return;try{t=r,Te.props=t.memoizedProps,Te.state=t.memoizedState,Te.componentWillUnmount()}catch(Me){Xe(r,n,Me)}}break;case 5:nr(Ee,Ee.return);break;case 22:if(Ee.memoizedState!==null){sc(ke);continue}}Oe!==null?(Oe.return=Ee,Ce=Oe):sc(ke)}we=we.sibling}e:for(we=null,ke=e;;){if(ke.tag===5){if(we===null){we=ke;try{s=ke.stateNode,pe?typeof(h=s.style).setProperty=="function"?h.setProperty("display","none","important"):h.display="none":(Q=ke.stateNode,R=(Z=ke.memoizedProps.style)!=null&&Z.hasOwnProperty("display")?Z.display:null,Q.style.display=sr("display",R))}catch(Me){Xe(e,e.return,Me)}}}else if(ke.tag===6){if(we===null)try{ke.stateNode.nodeValue=pe?"":ke.memoizedProps}catch(Me){Xe(e,e.return,Me)}}else if((ke.tag!==22&&ke.tag!==23||ke.memoizedState===null||ke===e)&&ke.child!==null){ke.child.return=ke,ke=ke.child;continue}if(ke===e)break;for(;ke.sibling===null;){if(ke.return===null||ke.return===e)break e;we===ke&&(we=null),ke=ke.return}we===ke&&(we=null),ke.sibling.return=ke.return,ke=ke.sibling}}break;case 19:Ht(t,e),tn(e),4&r&&rc(e);case 21:}}function tn(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;n!==null;){if(ec(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var s=r.stateNode,h;32&r.flags&&(Ze(s,""),r.flags&=-33),_a(e,tc(e),s);break;case 3:case 4:var R=r.stateNode.containerInfo,Q;ba(e,tc(e),R);break;default:throw Error(i(161))}}catch(Z){Xe(e,e.return,Z)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function Qu(e,t,n){Ce=e,ic(e,t,n)}function ic(e,t,n){for(var r=(1&e.mode)!=0;Ce!==null;){var s=Ce,h=s.child;if(s.tag===22&&r){var R=s.memoizedState!==null||Io;if(!R){var Q=s.alternate,Z=Q!==null&&Q.memoizedState!==null||ht;Q=Io;var pe=ht;if(Io=R,(ht=Z)&&!pe)for(Ce=s;Ce!==null;)Z=(R=Ce).child,R.tag===22&&R.memoizedState!==null?lc(s):Z!==null?(Z.return=R,Ce=Z):lc(s);for(;h!==null;)Ce=h,ic(h,t,n),h=h.sibling;Ce=s,Io=Q,ht=pe}ac(e,t,n)}else(8772&s.subtreeFlags)!=0&&h!==null?(h.return=s,Ce=h):ac(e,t,n)}}function ac(e){for(;Ce!==null;){var t=Ce;if((8772&t.flags)!=0){var n=t.alternate;try{if((8772&t.flags)!=0)switch(t.tag){case 0:case 11:case 15:ht||To(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!ht)if(n===null)r.componentDidMount();else{var s=t.elementType===t.type?n.memoizedProps:Ut(t.type,n.memoizedProps);r.componentDidUpdate(s,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var h=t.updateQueue;h!==null&&nl(t,h,r);break;case 3:var R=t.updateQueue;if(R!==null){if(n=null,t.child!==null)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}nl(t,R,n)}break;case 5:var Q=t.stateNode;if(n===null&&4&t.flags){n=Q;var Z=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":Z.autoFocus&&n.focus();break;case"img":Z.src&&(n.src=Z.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(t.memoizedState===null){var pe=t.alternate;if(pe!==null){var we=pe.memoizedState;if(we!==null){var ke=we.dehydrated;ke!==null&&yr(ke)}}}break;default:throw Error(i(163))}ht||512&t.flags&&va(t)}catch(Ee){Xe(t,t.return,Ee)}}if(t===e){Ce=null;break}if((n=t.sibling)!==null){n.return=t.return,Ce=n;break}Ce=t.return}}function sc(e){for(;Ce!==null;){var t=Ce;if(t===e){Ce=null;break}var n=t.sibling;if(n!==null){n.return=t.return,Ce=n;break}Ce=t.return}}function lc(e){for(;Ce!==null;){var t=Ce;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{To(4,t)}catch(Z){Xe(t,n,Z)}break;case 1:var r=t.stateNode;if(typeof r.componentDidMount=="function"){var s=t.return;try{r.componentDidMount()}catch(Z){Xe(t,s,Z)}}var h=t.return;try{va(t)}catch(Z){Xe(t,h,Z)}break;case 5:var R=t.return;try{va(t)}catch(Z){Xe(t,R,Z)}}}catch(Z){Xe(t,t.return,Z)}if(t===e){Ce=null;break}var Q=t.sibling;if(Q!==null){Q.return=t.return,Ce=Q;break}Ce=t.return}}var Ju=Math.ceil,Mo=U.ReactCurrentDispatcher,wa=U.ReactCurrentOwner,At=U.ReactCurrentBatchConfig,$e=0,st=null,tt=null,ct=0,Ot=0,rr=cn(0),ot=0,Ur=null,Tn=0,Ao=0,ka=0,$r=null,Pt=null,Ea=0,or=1/0,mn=null,No=!1,Sa=null,gn=null,Ro=!1,yn=null,Do=0,Br=0,xa=null,Lo=-1,Fo=0,cc;function gt(){return(6&$e)!=0?et():Lo!==-1?Lo:Lo=et()}function vn(e){return(1&e.mode)==0?1:(2&$e)!=0&&ct!==0?ct&-ct:Iu.transition!==null?(Fo===0&&(Fo=Za()),Fo):(e=ze)!==0?e:e=(e=window.event)===void 0?16:ls(e.type)}function $t(e,t,n,r){if(50<Br)throw Br=0,xa=null,Error(i(185));fr(e,n,r),(2&$e)!=0&&e===st||(e===st&&((2&$e)==0&&(Ao|=n),ot===4&&bn(e,ct)),kt(e,r),n===1&&$e===0&&(1&t.mode)==0&&(or=et()+500,fo&&dn()))}function kt(e,t){var n=e.callbackNode;Uc(e,t);var r=Hr(e,e===st?ct:0);if(r===0)n!==null&&Ga(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(n!=null&&Ga(n),t===1)e.tag===0?Cu(dc.bind(null,e)):Qs(dc.bind(null,e)),xu((function(){(6&$e)==0&&dn()})),n=null;else{switch(es(r)){case 1:n=ni;break;case 4:n=Ya;break;case 16:default:n=ri;break;case 536870912:n=Xa}n=vc(n,uc.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function uc(e,t){if(Lo=-1,Fo=0,(6&$e)!=0)throw Error(i(327));var n=e.callbackNode;if(ar()&&e.callbackNode!==n)return null;var r=Hr(e,e===st?ct:0);if(r===0)return null;if((30&r)!=0||(r&e.expiredLanes)!=0||t)t=Uo(e,r);else{t=r;var s=$e;$e|=2;var h=hc();for(st===e&&ct===t||(mn=null,or=et()+500,An(e,t));;)try{Yu();break}catch(Q){fc(e,Q)}qi(),Mo.current=h,$e=s,tt!==null?t=0:(st=null,ct=0,t=ot)}if(t!==0){if(t===2&&(s=ai(e))!==0&&(r=s,t=ja(e,s)),t===1)throw n=Ur,An(e,0),bn(e,r),kt(e,et()),n;if(t===6)bn(e,r);else{if(s=e.current.alternate,(30&r)==0&&!Ku(s)&&((t=Uo(e,r))===2&&(h=ai(e))!==0&&(r=h,t=ja(e,h)),t===1))throw n=Ur,An(e,0),bn(e,r),kt(e,et()),n;switch(e.finishedWork=s,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:ir(e,Pt,mn);break;
10case 3:if(bn(e,r),(130023424&r)===r&&10<(t=Ea+500-et())){if(Hr(e,0)!==0)break;if(((s=e.suspendedLanes)&r)!==r){gt(),e.pingedLanes|=e.suspendedLanes&s;break}e.timeoutHandle=Ai(ir.bind(null,e,Pt,mn),t);break}ir(e,Pt,mn);break;case 4:if(bn(e,r),(4194240&r)===r)break;for(t=e.eventTimes,s=-1;0<r;){var R=31-Rt(r);h=1<<R,(R=t[R])>s&&(s=R),r&=~h}if(r=s,10<(r=(120>(r=et()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ju(r/1960))-r)){e.timeoutHandle=Ai(ir.bind(null,e,Pt,mn),r);break}ir(e,Pt,mn);break;default:throw Error(i(329))}}}return kt(e,et()),e.callbackNode===n?uc.bind(null,e):null}function ja(e,t){var n=$r;return e.current.memoizedState.isDehydrated&&(An(e,t).flags|=256),(e=Uo(e,t))!==2&&(t=Pt,Pt=n,t!==null&&Oa(t)),e}function Oa(e){Pt===null?Pt=e:Pt.push.apply(Pt,e)}function Ku(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(n!==null&&(n=n.stores)!==null)for(var r=0;r<n.length;r++){var s=n[r],h=s.getSnapshot;s=s.value;try{if(!Dt(h(),s))return!1}catch{return!1}}}if(n=t.child,16384&t.subtreeFlags&&n!==null)n.return=t,t=n;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function bn(e,t){for(t&=~ka,t&=~Ao,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Rt(t),r=1<<n;e[n]=-1,t&=~r}}function dc(e){if((6&$e)!=0)throw Error(i(327));ar();var t=Hr(e,0);if((1&t)==0)return kt(e,et()),null;var n=Uo(e,t);if(e.tag!==0&&n===2){var r=ai(e);r!==0&&(t=r,n=ja(e,r))}if(n===1)throw n=Ur,An(e,0),bn(e,t),kt(e,et()),n;if(n===6)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,ir(e,Pt,mn),kt(e,et()),null}function Pa(e,t){var n=$e;$e|=1;try{return e(t)}finally{($e=n)===0&&(or=et()+500,fo&&dn())}}function Mn(e){yn!==null&&yn.tag===0&&(6&$e)==0&&ar();var t=$e;$e|=1;var n=At.transition,r=ze;try{if(At.transition=null,ze=1,e)return e()}finally{ze=r,At.transition=n,(6&($e=t))==0&&dn()}}function Ca(){Ot=rr.current,Qe(rr)}function An(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(n!==-1&&(e.timeoutHandle=-1,Su(n)),tt!==null)for(n=tt.return;n!==null;){var r=n;switch($i(r),r.tag){case 1:(r=r.type.childContextTypes)!=null&&Li();break;case 3:er(),Qe(bt),Qe(dt),ta();break;case 5:Zi(r);break;case 4:er();break;case 13:case 19:Qe(Ye);break;case 10:Hi(r.type._context);break;case 22:case 23:Ca()}n=n.return}if(st=e,tt=e=_n(e.current,null),ct=Ot=t,ot=0,Ur=null,ka=Ao=Tn=0,Pt=$r=null,Pn!==null){for(t=0;t<Pn.length;t++)if((r=(n=Pn[t]).interleaved)!==null){n.interleaved=null;var s=r.next,h=n.pending;if(h!==null){var R=h.next;h.next=s,r.next=R}n.pending=r}Pn=null}return e}function fc(e,t){for(;;){var n=tt;try{if(qi(),Eo.current=Oo,So){for(var r=Ge.memoizedState;r!==null;){var s=r.queue;s!==null&&(s.pending=null),r=r.next}So=!1}if(In=0,at=it=Ge=null,Ar=!1,Nr=0,wa.current=null,n===null||n.return===null){ot=1,Ur=t,tt=null;break}e:{var h=e,R=n.return,Q=n,Z=t;if(t=ct,Q.flags|=32768,Z!==null&&typeof Z=="object"&&typeof Z.then=="function"){var pe=Z,we=Q,ke=we.tag;if((1&we.mode)==0&&(ke===0||ke===11||ke===15)){var Ee=we.alternate;Ee?(we.updateQueue=Ee.updateQueue,we.memoizedState=Ee.memoizedState,we.lanes=Ee.lanes):(we.updateQueue=null,we.memoizedState=null)}var Oe=Rl(R);if(Oe!==null){Oe.flags&=-257,Dl(Oe,R,Q,h,t),1&Oe.mode&&Nl(h,pe,t),Z=pe;var Te=(t=Oe).updateQueue;if(Te===null){var Me=new Set;Me.add(Z),t.updateQueue=Me}else Te.add(Z);break e}if((1&t)==0){Nl(h,pe,t),Ia();break e}Z=Error(i(426))}else if(Je&&1&Q.mode){var nt=Rl(R);if(nt!==null){(65536&nt.flags)==0&&(nt.flags|=256),Dl(nt,R,Q,h,t),Wi(tr(Z,Q));break e}}h=Z=tr(Z,Q),ot!==4&&(ot=2),$r===null?$r=[h]:$r.push(h),h=R;do{switch(h.tag){case 3:var ue;h.flags|=65536,t&=-t,h.lanes|=t,tl(h,Ml(h,Z,t));break e;case 1:Q=Z;var se=h.type,fe=h.stateNode;if((128&h.flags)==0&&(typeof se.getDerivedStateFromError=="function"||fe!==null&&typeof fe.componentDidCatch=="function"&&(gn===null||!gn.has(fe)))){var xe;h.flags|=65536,t&=-t,h.lanes|=t,tl(h,Al(h,Q,t));break e}}h=h.return}while(h!==null)}mc(n)}catch(Ae){t=Ae,tt===n&&n!==null&&(tt=n=n.return);continue}break}}function hc(){var e=Mo.current;return Mo.current=Oo,e===null?Oo:e}function Ia(){ot!==0&&ot!==3&&ot!==2||(ot=4),st===null||(268435455&Tn)==0&&(268435455&Ao)==0||bn(st,ct)}function Uo(e,t){var n=$e;$e|=2;var r=hc();for(st===e&&ct===t||(mn=null,An(e,t));;)try{Gu();break}catch(s){fc(e,s)}if(qi(),$e=n,Mo.current=r,tt!==null)throw Error(i(261));return st=null,ct=0,ot}function Gu(){for(;tt!==null;)pc(tt)}function Yu(){for(;tt!==null&&!Ic();)pc(tt)}function pc(e){var t=cc(e.alternate,e,Ot);e.memoizedProps=e.pendingProps,t===null?mc(e):tt=t,wa.current=null}function mc(e){var t=e;do{var n=t.alternate;if(e=t.return,(32768&t.flags)==0){if((n=Wu(n,t,Ot))!==null)return void(tt=n)}else{if((n=Vu(n,t))!==null)return n.flags&=32767,void(tt=n);if(e===null)return ot=6,void(tt=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if((t=t.sibling)!==null)return void(tt=t);tt=t=e}while(t!==null);ot===0&&(ot=5)}function ir(e,t,n){var r=ze,s=At.transition;try{At.transition=null,ze=1,Xu(e,t,n,r)}finally{At.transition=s,ze=r}return null}function Xu(e,t,n,r){do ar();while(yn!==null);if((6&$e)!=0)throw Error(i(327));
10n=e.finishedWork;var s=e.finishedLanes;if(n===null)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var h=n.lanes|n.childLanes;if($c(e,h),e===st&&(tt=st=null,ct=0),(2064&n.subtreeFlags)==0&&(2064&n.flags)==0||Ro||(Ro=!0,vc(ri,(function(){return ar(),null}))),h=(15990&n.flags)!=0,(15990&n.subtreeFlags)!=0||h){h=At.transition,At.transition=null;var R=ze;ze=1;var Q=$e;$e|=4,wa.current=null,Hu(e,n),oc(n,e),bu(Ti),Kr=!!Ii,Ti=Ii=null,e.current=n,Qu(n,e,s),Tc(),$e=Q,ze=R,At.transition=h}else e.current=n;if(Ro&&(Ro=!1,yn=e,Do=s),(h=e.pendingLanes)===0&&(gn=null),Nc(n.stateNode,r),kt(e,et()),t!==null)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((s=t[n]).value,{componentStack:s.stack,digest:s.digest});if(No)throw No=!1,e=Sa,Sa=null,e;return(1&Do)!=0&&e.tag!==0&&ar(),(1&(h=e.pendingLanes))!=0?e===xa?Br++:(Br=0,xa=e):Br=0,dn(),null}function ar(){if(yn!==null){var e=es(Do),t=At.transition,n=ze;try{if(At.transition=null,ze=16>e?16:e,yn===null)var r=!1;else{if(e=yn,yn=null,Do=0,(6&$e)!=0)throw Error(i(331));var s=$e;for($e|=4,Ce=e.current;Ce!==null;){var h=Ce,R=h.child;
10if((16&Ce.flags)!=0){var Q=h.deletions;if(Q!==null){for(var Z=0;Z<Q.length;Z++){var pe=Q[Z];for(Ce=pe;Ce!==null;){var we=Ce;switch(we.tag){case 0:case 11:case 15:Fr(8,we,h)}var ke=we.child;if(ke!==null)ke.return=we,Ce=ke;else for(;Ce!==null;){var Ee=(we=Ce).sibling,Oe=we.return;if(Zl(we),we===pe){Ce=null;break}if(Ee!==null){Ee.return=Oe,Ce=Ee;break}Ce=Oe}}}var Te=h.alternate;if(Te!==null){var Me=Te.child;if(Me!==null){Te.child=null;do{var nt=Me.sibling;Me.sibling=null,Me=nt}while(Me!==null)}}Ce=h}}if((2064&h.subtreeFlags)!=0&&R!==null)R.return=h,Ce=R;else for(;Ce!==null;){if((2048&(h=Ce).flags)!=0)switch(h.tag){case 0:case 11:case 15:Fr(9,h,h.return)}var ue=h.sibling;if(ue!==null){ue.return=h.return,Ce=ue;break}Ce=h.return}}var se=e.current;for(Ce=se;Ce!==null;){var fe=(R=Ce).child;if((2064&R.subtreeFlags)!=0&&fe!==null)fe.return=R,Ce=fe;else for(R=se;Ce!==null;){if((2048&(Q=Ce).flags)!=0)try{switch(Q.tag){case 0:case 11:case 15:To(9,Q)}}catch(Ae){Xe(Q,Q.return,Ae)}if(Q===R){Ce=null;break}var xe=Q.sibling;if(xe!==null){xe.return=Q.return,Ce=xe;break}Ce=Q.return}}if($e=s,dn(),Bt&&typeof Bt.onPostCommitFiberRoot=="function")try{Bt.onPostCommitFiberRoot(qr,e)}catch{}r=!0}return r}finally{ze=n,At.transition=t}}return!1}function gc(e,t,n){e=hn(e,t=Ml(e,t=tr(n,t),1),1),t=gt(),e!==null&&(fr(e,1,t),kt(e,t))}function Xe(e,t,n){if(e.tag===3)gc(e,e,n);else for(;t!==null;){if(t.tag===3){gc(t,e,n);break}if(t.tag===1){var r=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof r.componentDidCatch=="function"&&(gn===null||!gn.has(r))){t=hn(t,e=Al(t,e=tr(n,e),1),1),e=gt(),t!==null&&(fr(t,1,e),kt(t,e));break}}t=t.return}}function Zu(e,t,n){var r=e.pingCache;r!==null&&r.delete(t),t=gt(),e.pingedLanes|=e.suspendedLanes&n,st===e&&(ct&n)===n&&(ot===4||ot===3&&(130023424&ct)===ct&&500>et()-Ea?An(e,0):ka|=n),kt(e,t)}function yc(e,t){t===0&&((1&e.mode)==0?t=1:(t=ii,(130023424&(ii<<=1))==0&&(ii=4194304)));var n=gt();(e=Xt(e,t))!==null&&(fr(e,t,n),kt(e,n))}function ed(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),yc(e,n)}function td(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,s=e.memoizedState;s!==null&&(n=s.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}r!==null&&r.delete(t),yc(e,n)}function vc(e,t){return Ka(e,t)}function nd(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nt(e,t,n,r){return new nd(e,t,n,r)}function Ta(e){return!(!(e=e.prototype)||!e.isReactComponent)}function rd(e){if(typeof e=="function")return Ta(e)?1:0;if(e!=null){if((e=e.$$typeof)===W)return 11;if(e===z)return 14}return 2}function _n(e,t){var n=e.alternate;return n===null?((n=Nt(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function $o(e,t,n,r,s,h){var R=2;if(r=e,typeof e=="function")Ta(e)&&(R=1);else if(typeof e=="string")R=5;else e:switch(e){case C:return Nn(n.children,s,h,t);case N:R=8,s|=8;break;case K:return(e=Nt(12,n,t,2|s)).elementType=K,e.lanes=h,e;case T:return(e=Nt(13,n,t,s)).elementType=T,e.lanes=h,e;case L:return(e=Nt(19,n,t,s)).elementType=L,e.lanes=h,e;case J:return Bo(n,s,h,t);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case re:R=10;break e;case q:R=9;break e;case W:R=11;break e;case z:R=14;break e;case V:R=16,r=null;break e}throw Error(i(130,e==null?e:typeof e,""))}return(t=Nt(R,n,t,s)).elementType=e,t.type=r,t.lanes=h,t}function Nn(e,t,n,r){return(e=Nt(7,e,r,t)).lanes=n,e}function Bo(e,t,n,r){return(e=Nt(22,e,r,t)).elementType=J,e.lanes=n,e.stateNode={isHidden:!1},e}
10function Ma(e,t,n){return(e=Nt(6,e,null,t)).lanes=n,e}function Aa(e,t,n){return(t=Nt(4,e.children!==null?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function od(e,t,n,r,s){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=si(0),this.expirationTimes=si(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=si(0),this.identifierPrefix=r,this.onRecoverableError=s,this.mutableSourceEagerHydrationData=null}function Na(e,t,n,r,s,h,R,Q,Z){return e=new od(e,t,n,Q,Z),t===1?(t=1,h===!0&&(t|=8)):t=0,h=Nt(3,null,null,t),e.current=h,h.stateNode=e,h.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ki(h),e}function id(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:F,key:r==null?null:""+r,children:e,containerInfo:t,implementation:n}}function bc(e){if(!e)return un;e:{if(kn(e=e._reactInternals)!==e||e.tag!==1)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(St(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(t!==null);throw Error(i(171))}if(e.tag===1){var n=e.type;if(St(n))return qs(e,n,t)}return t}function _c(e,t,n,r,s,h,R,Q,Z){return(e=Na(n,r,!0,e,s,h,R,Q,Z)).context=bc(null),n=e.current,(h=Zt(r=gt(),s=vn(n))).callback=t??null,hn(n,h,s),e.current.lanes=s,fr(e,s,r),kt(e,r),e}function zo(e,t,n,r){var s=t.current,h=gt(),R=vn(s);return n=bc(n),t.context===null?t.context=n:t.pendingContext=n,(t=Zt(h,R)).payload={element:e},(r=r===void 0?null:r)!==null&&(t.callback=r),(e=hn(s,t,R))!==null&&($t(e,s,R,h),vo(e,s,R)),R}function Wo(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function wc(e,t){if((e=e.memoizedState)!==null&&e.dehydrated!==null){var n=e.retryLane;e.retryLane=n!==0&&n<t?n:t}}function Ra(e,t){wc(e,t),(e=e.alternate)&&wc(e,t)}function ad(){return null}cc=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||bt.current)_t=!0;else{if((e.lanes&n)==0&&(128&t.flags)==0)return _t=!1,zu(e,t,n);_t=(131072&e.flags)!=0}else _t=!1,Je&&(1048576&t.flags)!=0&&Js(t,po,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Co(e,t),e=t.pendingProps;var s=Qn(t,dt.current);Xn(t,n),s=oa(null,t,r,e,s,n);var h=ia();return t.flags|=1,typeof s=="object"&&s!==null&&typeof s.render=="function"&&s.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,St(r)?(h=!0,uo(t)):h=!1,t.memoizedState=s.state!==null&&s.state!==void 0?s.state:null,Ki(t),s.updater=_o,t.stateNode=s,s._reactInternals=t,Yi(t,r,e,n),t=ha(null,t,r,!0,h,n)):(t.tag=0,Je&&h&&Ui(t),wt(null,t,s,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Co(e,t),e=t.pendingProps,r=(s=r._init)(r._payload),t.type=r,s=t.tag=rd(r),e=Ut(r,e),s){case 0:t=fa(null,t,r,e,n);break e;case 1:t=zl(null,t,r,e,n);break e;case 11:t=Ll(null,t,r,e,n);break e;case 14:t=Fl(null,t,r,Ut(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,s=t.pendingProps,fa(e,t,r,s=t.elementType===r?s:Ut(r,s),n);case 1:return r=t.type,s=t.pendingProps,zl(e,t,r,s=t.elementType===r?s:Ut(r,s),n);case 3:e:{if(Wl(t),e===null)throw Error(i(387));r=t.pendingProps,s=(h=t.memoizedState).element,el(e,t),bo(t,r,null,n);var R=t.memoizedState;if(r=R.element,h.isDehydrated){if(h={element:r,isDehydrated:!1,cache:R.cache,pendingSuspenseBoundaries:R.pendingSuspenseBoundaries,transitions:R.transitions},t.updateQueue.baseState=h,t.memoizedState=h,256&t.flags){t=Vl(e,t,r,n,s=tr(Error(i(423)),t));break e}if(r!==s){t=Vl(e,t,r,n,s=tr(Error(i(424)),t));break e}for(jt=ln(t.stateNode.containerInfo.firstChild),xt=t,Je=!0,Ft=null,n=cl(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(Gn(),r===s){t=en(e,t,n);break e}wt(e,t,r,n)}t=t.child}return t;case 5:return ul(t),e===null&&zi(t),r=t.type,s=t.pendingProps,h=e!==null?e.memoizedProps:null,R=s.children,Mi(r,s)?R=null:h!==null&&Mi(r,h)&&(t.flags|=32),Bl(e,t),wt(e,t,R,n),t.child;case 6:return e===null&&zi(t),null;case 13:return Jl(e,t,n);case 4:return Xi(t,t.stateNode.containerInfo),r=t.pendingProps,e===null?t.child=Zn(t,null,r,n):wt(e,t,r,n),t.child;case 11:return r=t.type,s=t.pendingProps,Ll(e,t,r,s=t.elementType===r?s:Ut(r,
10s),n);case 7:return wt(e,t,t.pendingProps,n),t.child;case 8:case 12:return wt(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,s=t.pendingProps,h=t.memoizedProps,R=s.value,qe(go,r._currentValue),r._currentValue=R,h!==null)if(Dt(h.value,R)){if(h.children===s.children&&!bt.current){t=en(e,t,n);break e}}else for((h=t.child)!==null&&(h.return=t);h!==null;){var Q=h.dependencies;if(Q!==null){R=h.child;for(var Z=Q.firstContext;Z!==null;){if(Z.context===r){if(h.tag===1){(Z=Zt(-1,n&-n)).tag=2;var pe=h.updateQueue;if(pe!==null){var we=(pe=pe.shared).pending;we===null?Z.next=Z:(Z.next=we.next,we.next=Z),pe.pending=Z}}h.lanes|=n,(Z=h.alternate)!==null&&(Z.lanes|=n),Qi(h.return,n,t),Q.lanes|=n;break}Z=Z.next}}else if(h.tag===10)R=h.type===t.type?null:h.child;else if(h.tag===18){if((R=h.return)===null)throw Error(i(341));R.lanes|=n,(Q=R.alternate)!==null&&(Q.lanes|=n),Qi(R,n,t),R=h.sibling}else R=h.child;if(R!==null)R.return=h;else for(R=h;R!==null;){if(R===t){R=null;break}if((h=R.sibling)!==null){h.return=R.return,R=h;break}R=R.return}h=R}wt(e,t,s.children,n),t=t.child}return t;case 9:return s=t.type,r=t.pendingProps.children,Xn(t,n),r=r(s=Tt(s)),t.flags|=1,wt(e,t,r,n),t.child;case 14:return s=Ut(r=t.type,t.pendingProps),Fl(e,t,r,s=Ut(r.type,s),n);case 15:return Ul(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,s=t.pendingProps,s=t.elementType===r?s:Ut(r,s),Co(e,t),t.tag=1,St(r)?(e=!0,uo(t)):e=!1,Xn(t,n),il(t,r,s),Yi(t,r,s,n),ha(null,t,r,!0,e,n);case 19:return Gl(e,t,n);case 22:return $l(e,t,n)}throw Error(i(156,t.tag))};var kc=typeof reportError=="function"?reportError:function(e){console.error(e)};function Da(e){this._internalRoot=e}function Vo(e){this._internalRoot=e}function La(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function qo(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11&&(e.nodeType!==8||e.nodeValue!==" react-mount-point-unstable "))}function Ec(){}function sd(e,t,n,r,s){if(s){if(typeof r=="function"){var h=r;r=function(){var pe=Wo(R);h.call(pe)}}var R=_c(t,r,e,0,null,!1,!1,"",Ec);return e._reactRootContainer=R,e[Kt]=R.current,xr(e.nodeType===8?e.parentNode:e),Mn(),R}for(;s=e.lastChild;)e.removeChild(s);if(typeof r=="function"){var Q=r;r=function(){var pe=Wo(Z);Q.call(pe)}}var Z=Na(e,0,!1,null,null,!1,!1,"",Ec);return e._reactRootContainer=Z,e[Kt]=Z.current,xr(e.nodeType===8?e.parentNode:e),Mn((function(){zo(t,Z,n,r)})),Z}function Ho(e,t,n,r,s){var h=n._reactRootContainer;if(h){var R=h;if(typeof s=="function"){var Q=s;s=function(){var Z=Wo(R);Q.call(Z)}}zo(t,R,e,s)}else R=sd(n,t,e,s,r);return Wo(R)}Vo.prototype.render=Da.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(i(409));zo(e,t,null,null)},Vo.prototype.unmount=Da.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;Mn((function(){zo(null,e,null,null)})),t[Kt]=null}},Vo.prototype.unstable_scheduleHydration=function(e){if(e){var t=rs();e={blockedOn:null,target:e,priority:t};for(var n=0;n<an.length&&t!==0&&t<an[n].priority;n++);an.splice(n,0,e),n===0&&as(e)}},ts=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dr(t.pendingLanes);n!==0&&(li(t,1|n),kt(t,et()),(6&$e)==0&&(or=et()+500,dn()))}break;case 13:Mn((function(){var r=Xt(e,1);if(r!==null){var s=gt();$t(r,e,1,s)}})),Ra(e,1)}},ci=function(e){if(e.tag===13){var t=Xt(e,134217728),n;t!==null&&$t(t,e,134217728,gt()),Ra(e,134217728)}},ns=function(e){if(e.tag===13){var t=vn(e),n=Xt(e,t),r;n!==null&&$t(n,e,t,gt()),Ra(e,t)}},rs=function(){return ze},os=function(e,t){var n=ze;try{return ze=e,t()}finally{ze=n}},Xo=function(e,t,n){switch(t){case"input":if(rt(e,n),t=n.name,n.type==="radio"&&t!=null){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var s=co(r);if(!s)throw Error(i(90));Pe(r),rt(r,s)}}}break;case"textarea":me(e,n);break;case"select":(t=n.value)!=null&&Jt(e,!!n.multiple,t,!1)}},za=Pa,Wa=Mn;var ld={usingClientEntryPoint:!1,Events:[Pr,qn,co,$a,Ba,Pa]},zr={findFiberByHostInstance:Sn,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},cd={bundleType:zr.bundleType,version:zr.version,rendererPackageName:zr.rendererPackageName,rendererConfig:zr.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:U.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return(e=Qa(e))===null?null:e.stateNode},findFiberByHostInstance:zr.findFiberByHostInstance||ad,findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};
10if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"){var Qo=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!Qo.isDisabled&&Qo.supportsFiber)try{qr=Qo.inject(cd),Bt=Qo}catch{}}f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ld,f.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!La(t))throw Error(i(200));return id(e,t,null,n)},f.createRoot=function(e,t){if(!La(e))throw Error(i(299));var n=!1,r="",s=kc;return t!=null&&(t.unstable_strictMode===!0&&(n=!0),t.identifierPrefix!==void 0&&(r=t.identifierPrefix),t.onRecoverableError!==void 0&&(s=t.onRecoverableError)),t=Na(e,1,!1,null,null,n,!1,r,s),e[Kt]=t.current,xr(e.nodeType===8?e.parentNode:e),new Da(t)},f.findDOMNode=function(e){if(e==null)return null;if(e.nodeType===1)return e;var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(i(188)):(e=Object.keys(e).join(","),Error(i(268,e)));return e=(e=Qa(t))===null?null:e.stateNode},f.flushSync=function(e){return Mn(e)},f.hydrate=function(e,t,n){if(!qo(t))throw Error(i(200));return Ho(null,e,t,!0,n)},f.hydrateRoot=function(e,t,n){if(!La(e))throw Error(i(405));var r=n!=null&&n.hydratedSources||null,s=!1,h="",R=kc;if(n!=null&&(n.unstable_strictMode===!0&&(s=!0),n.identifierPrefix!==void 0&&(h=n.identifierPrefix),n.onRecoverableError!==void 0&&(R=n.onRecoverableError)),t=_c(t,null,e,1,n??null,s,!1,h,R),e[Kt]=t.current,xr(e),r)for(e=0;e<r.length;e++)s=(s=(n=r[e])._getVersion)(n._source),t.mutableSourceEagerHydrationData==null?t.mutableSourceEagerHydrationData=[n,s]:t.mutableSourceEagerHydrationData.push(n,s);return new Vo(t)},f.render=function(e,t,n){if(!qo(t))throw Error(i(200));return Ho(null,e,t,!1,n)},f.unmountComponentAtNode=function(e){if(!qo(e))throw Error(i(40));return!!e._reactRootContainer&&(Mn((function(){Ho(null,null,e,!1,(function(){e._reactRootContainer=null,e[Kt]=null}))})),!0)},f.unstable_batchedUpdates=Pa,f.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!qo(n))throw Error(i(200));if(e==null||e._reactInternals===void 0)throw Error(i(38));return Ho(e,t,n,!1,r)},f.version="18.2.0-next-9e3b772b8-20220608"},
10"react-dom.development.js":function(k,O,f){"use strict"}}},scheduler:{
10"package.json":function(k,O,f){f.exports={name:"scheduler",version:"0.23.0",main:"index.js"}},
10"index.js":function(k,O,f){"use strict";f.exports=k("./cjs/scheduler.production.min.js")},cjs:{
10"scheduler.production.min.js":function(O,f){"use strict";function p(J,ie){var le=J.length;for(J.push(ie);0<le;){var H=le-1>>>1,de=J[H];if(!(0<d(de,ie)))break;J[H]=ie,J[le]=de,le=H}}function P(J){return J.length===0?null:J[0]}function i(J){if(J.length===0)return null;var ie=J[0],le=J.pop();if(le!==ie){J[0]=le;for(var H=0,de=J.length,$=de>>>1;H<$;){var A=2*(H+1)-1,x=J[A],M=A+1,B=J[M];if(0>d(x,le))M<de&&0>d(B,x)?(J[H]=B,J[M]=le,H=M):(J[H]=x,J[A]=le,H=A);else{if(!(M<de&&0>d(B,le)))break;J[H]=B,J[M]=le,H=M}}}return ie}function d(J,ie){var le=J.sortIndex-ie.sortIndex;return le!==0?le:J.id-ie.id}if(typeof performance=="object"&&typeof performance.now=="function"){var m=performance;f.unstable_now=function(){return m.now()}}else{var l=Date,a=l.now();f.unstable_now=function(){return l.now()-a}}var o=[],c=[],u=1,g=null,v=3,_=!1,E=!1,w=!1,S=typeof setTimeout=="function"?setTimeout:null,I=typeof clearTimeout=="function"?clearTimeout:null,D=typeof setImmediate<"u"?setImmediate:null;function y(J){for(var ie=P(c);ie!==null;){if(ie.callback===null)i(c);else{if(!(ie.startTime<=J))break;i(c),ie.sortIndex=ie.expirationTime,p(o,ie)}ie=P(c)}}function b(J){if(w=!1,y(J),!E)if(P(o)!==null)E=!0,z(U);else{var ie=P(c);ie!==null&&V(b,ie.startTime-J)}}function U(J,ie){E=!1,w&&(w=!1,I(C),C=-1),_=!0;var le=v;try{for(y(ie),g=P(o);g!==null&&(!(g.expirationTime>ie)||J&&!q());){var H=g.callback;if(typeof H=="function"){g.callback=null,v=g.priorityLevel;var de=H(g.expirationTime<=ie);ie=f.unstable_now(),typeof de=="function"?g.callback=de:g===P(o)&&i(o),y(ie)}else i(o);g=P(o)}if(g!==null)var $=!0;else{var A=P(c);A!==null&&V(b,A.startTime-ie),$=!1}return $}finally{g=null,v=le,_=!1}}typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var j=!1,F=null,C=-1,N=5,K=-1,re;function q(){return!(f.unstable_now()-K<N)}function W(){if(F!==null){var J=f.unstable_now();K=J;var ie=!0;try{ie=F(!0,J)}finally{ie?re():(j=!1,F=null)}}else j=!1}if(typeof D=="function")re=function(){D(W)};else if(typeof MessageChannel<"u"){var T=new MessageChannel,L=T.port2;T.port1.onmessage=W,re=function(){L.postMessage(null)}}else re=function(){S(W,0)};function z(J){F=J,j||(j=!0,re())}function V(J,ie){C=S((function(){J(f.unstable_now())}),ie)}f.unstable_IdlePriority=5,f.unstable_ImmediatePriority=1,f.unstable_LowPriority=4,f.unstable_NormalPriority=3,f.unstable_Profiling=null,f.unstable_UserBlockingPriority=2,f.unstable_cancelCallback=function(J){J.callback=null},f.unstable_continueExecution=function(){E||_||(E=!0,z(U))},f.unstable_forceFrameRate=function(J){0>J||125<J?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<J?Math.floor(1e3/J):5},f.unstable_getCurrentPriorityLevel=function(){return v},f.unstable_getFirstCallbackNode=function(){return P(o)},f.unstable_next=function(J){switch(v){case 1:case 2:case 3:var ie=3;break;default:ie=v}var le=v;v=ie;try{return J()}finally{v=le}},f.unstable_pauseExecution=function(){},f.unstable_requestPaint=function(){},f.unstable_runWithPriority=function(J,ie){switch(J){case 1:case 2:case 3:case 4:case 5:break;default:J=3}var le=v;v=J;try{return ie()}finally{v=le}},f.unstable_scheduleCallback=function(J,ie,le){var H=f.unstable_now();switch(typeof le=="object"&&le!==null?le=typeof(le=le.delay)=="number"&&0<le?H+le:H:le=H,J){case 1:var de=-1;break;case 2:de=250;break;case 5:de=1073741823;break;case 4:de=1e4;break;default:de=5e3}return J={id:u++,callback:ie,priorityLevel:J,startTime:le,expirationTime:de=le+de,sortIndex:-1},le>H?(J.sortIndex=le,p(c,J),P(o)===null&&J===P(c)&&(w?(I(C),C=-1):w=!0,V(b,le-H))):(J.sortIndex=de,p(o,J),E||_||(E=!0,z(U))),J},f.unstable_shouldYield=q,f.unstable_wrapCallback=function(J){var ie=v;return function(){var le=v;v=ie;try{return J.apply(this,arguments)}finally{v=le}}}},
10"scheduler.development.js":function(O,f){"use strict"}}},"meteor-node-stubs":{
10"package.json":function(k,O,f){f.exports={name:"meteor-node-stubs",version:"1.2.5",main:"index.js"}},
10"index.js":function(k,O,f){var p=k("./map.json"),P={};if(Object.keys(p).forEach((function(i){if(typeof p[i]=="string"){var d=f.id.split("/");d.pop(),d.push("node_modules",p[i]),O[i]=P[i+".js"]=P["node:"+i]=d.join("/")}else O[i]=p[i],P[i+".js"]=P["node:"+i]=function(){}})),typeof ee=="function"&&ee({"..":{node_modules:P}}),typeof ye.Buffer!="function")try{ye.Buffer=k("buffer").Buffer}catch{}},
10"map.json":function(k,O,f){f.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:{
10"process.js":function(O){O("process/browser.js")}},node_modules:{process:{
10"browser.js":function(k,O,f){var p=f.exports={},P,i;function d(){throw new Error("setTimeout has not been defined")}function m(){throw new Error("clearTimeout has not been defined")}function l(S){if(P===setTimeout)return setTimeout(S,0);if((P===d||!P)&&setTimeout)return P=setTimeout,setTimeout(S,0);try{return P(S,0)}catch{try{return P.call(null,S,0)}catch{return P.call(this,S,0)}}}function a(S){if(i===clearTimeout)return clearTimeout(S);if((i===m||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(S);try{return i(S)}catch{try{return i.call(null,S)}catch{return i.call(this,S)}}}(function(){try{P=typeof setTimeout=="function"?setTimeout:d}catch{P=d}try{i=typeof clearTimeout=="function"?clearTimeout:m}catch{i=m}})();var o=[],c=!1,u,g=-1;function v(){c&&u&&(c=!1,u.length?o=u.concat(o):g=-1,o.length&&_())}function _(){if(!c){var S=l(v);c=!0;for(var I=o.length;I;){for(u=o,o=[];++g<I;)u&&u[g].run();g=-1,I=o.length}u=null,c=!1,a(S)}}function E(S,I){this.fun=S,this.array=I}function w(){}p.nextTick=function(S){var I=new Array(arguments.length-1);if(arguments.length>1)for(var D=1;D<arguments.length;D++)I[D-1]=arguments[D];o.push(new E(S,I)),o.length!==1||c||l(_)},E.prototype.run=function(){this.fun.apply(null,this.array)},p.title="browser",p.browser=!0,p.env={},p.argv=[],p.version="",p.versions={},p.on=w,p.addListener=w,p.once=w,p.off=w,p.removeListener=w,p.removeAllListeners=w,p.emit=w,p.prependListener=w,p.prependOnceListener=w,p.listeners=function(S){return[]},p.binding=function(S){throw new Error("process.binding is not supported")},p.cwd=function(){return"/"},p.chdir=function(S){throw new Error("process.chdir is not supported")},p.umask=function(){return 0}}}}},"@babel":{runtime:{helpers:{
10"objectSpread2.js":function(k,O,f){var p=k("./defineProperty.js");function P(d,m){var l=Object.keys(d);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(d);m&&(a=a.filter((function(o){return Object.getOwnPropertyDescriptor(d,o).enumerable}))),l.push.apply(l,a)}return l}function i(d){for(var m=1;m<arguments.length;m++){var l=arguments[m]!=null?arguments[m]:{};m%2?P(Object(l),!0).forEach((function(a){p(d,a,l[a])})):Object.getOwnPropertyDescriptors?Object.defineProperties(d,Object.getOwnPropertyDescriptors(l)):P(Object(l)).forEach((function(a){Object.defineProperty(d,a,Object.getOwnPropertyDescriptor(l,a))}))}return d}f.exports=i,f.exports.__esModule=!0,f.exports.default=f.exports},
10"defineProperty.js":function(k,O,f){var p=k("./toPropertyKey.js");function P(i,d,m){return(d=p(d))in i?Object.defineProperty(i,d,{value:m,enumerable:!0,configurable:!0,writable:!0}):i[d]=m,i}f.exports=P,f.exports.__esModule=!0,f.exports.default=f.exports},
10"toPropertyKey.js":function(k,O,f){var p=k("./typeof.js").default,P=k("./toPrimitive.js");function i(d){var m=P(d,"string");return p(m)==="symbol"?m:String(m)}f.exports=i,f.exports.__esModule=!0,f.exports.default=f.exports},
10"typeof.js":function(k,O,f){function p(P){return f.exports=p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},f.exports.__esModule=!0,f.exports.default=f.exports,p(P)}f.exports=p,f.exports.__esModule=!0,f.exports.default=f.exports},
10"toPrimitive.js":function(k,O,f){var p=k("./typeof.js").default;function P(i,d){if(p(i)!=="object"||i===null)return i;var m=i[Symbol.toPrimitive];if(m!==void 0){var l=m.call(i,d||"default");if(p(l)!=="object")return l;throw new TypeError("@@toPrimitive must return a primitive value.")}return(d==="string"?String:Number)(i)}f.exports=P,f.exports.__esModule=!0,f.exports.default=f.exports},
10"objectWithoutProperties.js":function(k,O,f){var p=k("./objectWithoutPropertiesLoose.js");function P(i,d){if(i==null)return{};var m=p(i,d),l,a;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(i);for(a=0;a<o.length;a++)l=o[a],d.indexOf(l)>=0||Object.prototype.propertyIsEnumerable.call(i,l)&&(m[l]=i[l])}return m}f.exports=P,f.exports.__esModule=!0,f.exports.default=f.exports},
10"objectWithoutPropertiesLoose.js":function(k,O,f){function p(P,i){if(P==null)return{};var d={},m=Object.keys(P),l,a;for(a=0;a<m.length;a++)l=m[a],i.indexOf(l)>=0||(d[l]=P[l]);return d}f.exports=p,f.exports.__esModule=!0,f.exports.default=f.exports},
10"extends.js":function(k,O,f){function p(){return f.exports=p=Object.assign?Object.assign.bind():function(P){for(var i=1;i<arguments.length;i++){var d=arguments[i];for(var m in d)Object.prototype.hasOwnProperty.call(d,m)&&(P[m]=d[m])}return P},f.exports.__esModule=!0,f.exports.default=f.exports,p.apply(this,arguments)}f.exports=p,f.exports.__esModule=!0,f.exports.default=f.exports}}}}}},{extensions:[".js",".json",".html",".jsx",".css"]});var ae=X("/node_modules/meteor/modules/client.js");Package._define("modules",ae,{meteorInstall:ee})})();Package._define("modern-browsers");Package._define("babel-compiler");(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee,oe,X;(0,Package.modules.meteorInstall)({node_modules:{meteor:{"react-fast-refresh":{
10"client.js":function(ae,k,O){var f=__meteor_runtime_config__&&__meteor_runtime_config__.reactFastRefreshEnabled,p=!!O.hot,P;function i(m){p&&(P=P||ae("./client-runtime.js"))(m)}if(p&&f){var d=!1;O.hot.onRequire({before:function(m){d||(d=!0,i(m),d=!1)}}),window.___INIT_METEOR_FAST_REFRESH=function(){}}else window.___INIT_METEOR_FAST_REFRESH=i},
10"client-runtime.js":function(ae,k,O){var f=ae("react-refresh/runtime"),p=null;function P(){p||(p=setTimeout((function(){p=null,f.performReactRefresh()}),0))}function i(l,a){if(f.register(a,l+" %exports%"),a!=null&&typeof a=="object")for(var o in a){var c=Object.getOwnPropertyDescriptor(a,o);if(!c||!c.get){var u=a[o],g=l+" %exports% "+o;f.register(u,g)}}}function d(l){if(f.isLikelyComponentType(l))return!0;if(l==null||typeof l!="object"||l instanceof Element)return!1;var a=!1,o=!0;for(var c in l){a=!0;var u=Object.getOwnPropertyDescriptor(l,c);if(u&&u.get)return!1;try{f.isLikelyComponentType(l[c])||(o=!1)}catch(g){if(g.name==="SecurityError")return!1;throw g}}return a&&o}f.injectIntoGlobalHook(window),window.$RefreshReg$=function(){},window.$RefreshSig$=function(){return function(l){return l}};var m=new WeakMap;O.hot.onRequire({after:function(l){var a=m.get(l),o=a&&a.pop();o&&(window.$RefreshReg$=o.prevRefreshReg,window.$RefreshSig$=o.prevRefreshSig,d(l.exports)&&(i(l.id,l.exports),l.hot.accept(),P()))}}),O.exports=function(a){if(!a.loaded){var o=m.get(a);o===void 0&&(o=[],m.set(a,o));var c=window.$RefreshReg$,u=window.$RefreshSig$;window.RefreshRuntime=f,window.$RefreshReg$=function(g,v){var _=a.id+" "+v;RefreshRuntime.register(g,_)},window.$RefreshSig$=RefreshRuntime.createSignatureFunctionForTransform,o.push({prevRefreshReg:c,prevRefreshSig:u})}}},node_modules:{"react-refresh":{
10"runtime.js":function(ae,k,O){"use strict";O.exports=ae("./cjs/react-refresh-runtime.production.min.js")},cjs:{
10"react-refresh-runtime.production.min.js":function(){"use strict";throw Error("React Refresh runtime should not be included in the production bundle.")},
10"react-refresh-runtime.development.js":function(ae,k,O){"use strict"}}}}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/react-fast-refresh/client.js"),Package._define("react-fast-refresh",{ReactFastRefresh:oe})})();Package._define("ecmascript");Package._define("ecmascript-runtime");Package._define("babel-runtime");(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee,oe,X=(0,Package.modules.meteorInstall)({node_modules:{meteor:{promise:{
10"modern.js":function(){oe=ye.Promise},
10"client.js":function(O){O("./extensions.js"),O("meteor-promise").makeCompatible(oe)},
10"extensions.js":function(){var O=oe.prototype,f=Object.prototype.hasOwnProperty;O.done=function(p,P){var i=this;arguments.length>0&&(i=this.then.apply(this,arguments)),i.then(null,(function(d){ne._setImmediate((function(){throw d}))}))},f.call(O,"finally")||(O.finally=function(p){var P=!1,i;return this.then((function(d){return i=d,p()}),(function(d){return P=!0,i=d,p()})).then((function(){if(P)throw i;return i}))})},node_modules:{"meteor-promise":{
10"package.json":function(k,O,f){f.exports={name:"meteor-promise",version:"0.9.0",browser:"promise_client.js",main:"promise_server.js"}},
10"promise_client.js":function(O,f){function p(P){throw P}f.makeCompatible=function(P){var i=P.prototype.then;P.prototype.then=function(d,m){return typeof ne=="object"&&typeof ne.bindEnvironment=="function"?i.call(this,d&&ne.bindEnvironment(d,p),m&&ne.bindEnvironment(m,p)):i.call(this,d,m)}}}}}}}}},{extensions:[".js",".json"]});X("/node_modules/meteor/promise/modern.js");var ae=X("/node_modules/meteor/promise/client.js");Package._define("promise",ae,{Promise:oe})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.modules.meteorInstall,oe=Package.promise.Promise,X,ae=ee({node_modules:{meteor:{fetch:{
10"modern.js":function(f,p){p.fetch=ye.fetch,p.Headers=ye.Headers,p.Request=ye.Request,p.Response=ye.Response}}}}},{extensions:[".js",".json"]}),k=ae("/node_modules/meteor/fetch/modern.js");Package._define("fetch",k,{fetch:X})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.modules.meteorInstall,oe=Package.promise.Promise,X=Package.fetch.fetch,ae=ee({node_modules:{meteor:{"dynamic-import":{
10"client.js":function(O,f,p){var P=p.constructor,i=O("./cache.js"),d=O("meteor/modules").meteorInstall,m=O("./dynamic-versions.js"),l=ye.indexedDB,a=ne.settings&&ne.settings.public&&ne.settings.public.packages&&ne.settings.public.packages["dynamic-import"]||{};function o(S){var I=[""],D=Object.create(null);function y(b){b&&typeof b=="object"?Object.keys(b).forEach((function(U){I.push(U),y(b[U]),I.pop()})):typeof b=="string"&&(D[I.join("/")]=b)}return y(S),D}function c(S,I,D){return function(){return(D&&D.eval||eval)("("+I+`)
11//# sourceURL=`+S).apply(this,arguments)}}P.prototype.dynamicImport=function(S){var I=this;return I.prefetch(S).then((function(){return w(I,S)}))},d.fetch=function(S){var I=Object.create(null),D=Object.create(null),y;function b(j,F){E(I,j,c(j,F,S[j].options))}function U(j){E(y=y||Object.create(null),j,1)}return Object.keys(S).forEach((function(j){var F=m.get(j);F?D[j]=F:U(j)})),i.checkMany(D).then((function(j){return Object.keys(j).forEach((function(F){var C=j[F];C?b(F,C):U(F)})),y&&_(y).then((function(F){var C=Object.create(null),N=o(F);Object.keys(N).forEach((function(K){var re=N[K];b(K,re);var q=m.get(K);q&&(C[K]={version:q,source:re})})),i.setMany(C)}))})).then((function(){return I}))};var u=null;f.setSecretKey=function(S){u=S};var g=O("./common.js").fetchURL;function v(){try{return window.self!==window.top}catch{return!0}}function _(S){var I=g,D=a.useLocationOrigin,y=a.disableLocationOriginIframe;return I=!D||!location||y&&v()?ne.absoluteUrl(I):location.origin.concat(__meteor_runtime_config__.ROOT_URL_PATH_PREFIX||"",I),u&&(I+="key="+u),X(I,{method:"POST",body:JSON.stringify(S)}).then((function(b){if(!b.ok)throw b;return b.json()}))}function E(S,I,D){var y=I.split("/"),b=y.length-1;y.forEach((function(U,j){U&&(S=S[U]=S[U]||(j<b?Object.create(null):D))}))}function w(S,I){var D;return S.link(I,{"*":function(y){D=y}}),Object.defineProperty(D,"__esModule",{value:!0,enumerable:!1}),D}},
11"cache.js":function(O,f,p){var P,i=ne.isClient&&!ne.isCordova&&ne.isProduction;function d(){return typeof indexedDB<"u"?indexedDB:typeof webkitIndexedDB<"u"?webkitIndexedDB:typeof mozIndexedDB<"u"?mozIndexedDB:typeof OIndexedDB<"u"?OIndexedDB:typeof msIndexedDB<"u"?msIndexedDB:void 0}function m(g){return(P=P||new oe((function(v,_){var E=d();if(!E)throw new Error("IndexedDB not available");var w=E.open("MeteorDynamicImportCache",2);w.onupgradeneeded=function(S){var I=S.target.result;Array.from(I.objectStoreNames).forEach(I.deleteObjectStore,I),Object.keys(l).forEach((function(D){I.createObjectStore(D,l[D])}))},w.onerror=a(_,"indexedDB.open"),w.onsuccess=function(S){v(S.target.result)}}))).then(g,(function(v){return g(null)}))}var l={sourcesByVersion:{keyPath:"version"}};function a(g,v){return function(_){return g(new Error("IndexedDB failure in "+v+" "+JSON.stringify(_.target))),!0}}var o=0;f.checkMany=function(g){var v=Object.keys(g),_=Object.create(null);return v.forEach((function(E){_[E]=null})),i?m((function(E){if(!E)return _;var w,S=E.transaction(["sourcesByVersion"],"readonly").objectStore("sourcesByVersion");function I(){return--o,_}return++o,oe.all(v.map((function(D){return new oe((function(y,b){var U=g[D];if(U){var j=S.get(U);j.onerror=a(b,"sourcesByVersion.get"),j.onsuccess=function(F){var C=F.target.result;C&&(_[D]=C.source),y()}}else y()}))}))).then(I,I)})):oe.resolve(_)};var c=Object.create(null);function u(){if(o>0)return u.timer=setTimeout(u,100);u.timer=null;var g=c;return c=Object.create(null),m((function(v){if(v){var _,E=v.transaction(["sourcesByVersion"],"readwrite").objectStore("sourcesByVersion");return oe.all(Object.keys(g).map((function(w){var S=g[w];return new oe((function(I,D){var y=E.put({version:S.version,source:S.source});y.onerror=a(D,"sourcesByVersion.put"),y.onsuccess=I}))})))}}))}f.setMany=function(g){i&&(Object.assign(c,g),u.timer||(u.timer=setTimeout(u,100)))}},
11"common.js":function(f,p){p.fetchURL="/__meteor__/dynamic-import/fetch"},
11"dynamic-versions.js":function(O,f,p){var P={},i="/node_modules/meteor/";function d(l){var a=[""],o=[];function c(u){u&&typeof u=="object"?Object.keys(u).forEach((function(g){a.push(g),c(u[g]),a.pop()})):typeof u=="string"&&o.push(a.join("/"))}return c(l),o}function m(l){function a(o,c){oe.all(o.splice(0,c).map((function(u){return new oe((function(g,v){p.prefetch(u).then(g).catch((function(_){u.indexOf(i)===0?p.prefetch(i+u.replace(i,"").replace("_",":")).then(g).catch(v):v(_)}))}))}))).then((function(){o.length>0&&setTimeout((function(){a(o,c)}),0)}))}Package.appcache&&a(d(P),50)}f.get=function(l){var a=P,o=null;return l.split("/").some((function(c){return c&&(a=a[c]||a[c.replace(":","_")]),!a||(typeof a=="string"?(o=a,!0):void 0)})),o},ye.addEventListener?ye.addEventListener("load",m,!1):ye.attachEvent&&ye.attachEvent("onload",m)}}}}},{extensions:[".js",".json"]}),k=ae("/node_modules/meteor/dynamic-import/client.js");Package._define("dynamic-import",k)})();Package._define("es5-shim");(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.modules.meteorInstall,oe=Package.promise.Promise,X=ee({node_modules:{meteor:{"ecmascript-runtime-client":{
11"modern.js":function(O){try{O("core-js/modules/es.object.get-own-property-descriptors")}catch{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(`
12`))}O("core-js/modules/es.object.is"),O("core-js/modules/es.function.name"),O("core-js/modules/es.number.is-finite"),O("core-js/modules/es.number.is-nan"),O("core-js/modules/es.array.flat"),O("core-js/modules/es.array.flat-map"),O("core-js/modules/es.object.from-entries"),O("core-js/modules/es.string.pad-start"),O("core-js/modules/es.string.pad-end"),O("core-js/modules/es.string.trim-start"),O("core-js/modules/es.string.trim-end"),O("core-js/modules/es.symbol.async-iterator")},node_modules:{"core-js":{modules:{
12"es.object.get-own-property-descriptors.js":function(O){var f=O("../internals/export"),p=O("../internals/descriptors"),P=O("../internals/own-keys"),i=O("../internals/to-indexed-object"),d=O("../internals/object-get-own-property-descriptor"),m=O("../internals/create-property");f({target:"Object",stat:!0,sham:!p},{getOwnPropertyDescriptors:function(a){for(var o=i(a),c=d.f,u=P(o),g={},v=0,_,E;u.length>v;)(E=c(o,_=u[v++]))!==void 0&&m(g,_,E);return g}})},
12"es.object.is.js":function(O){var f,p;O("../internals/export")({target:"Object",stat:!0},{is:O("../internals/same-value")})},
12"es.function.name.js":function(O){var f=O("../internals/descriptors"),p=O("../internals/object-define-property").f,P=Function.prototype,i=P.toString,d=/^\s*function ([^ (]*)/,m="name";f&&!(m in P)&&p(P,m,{configurable:!0,get:function(){try{return i.call(window).match(d)[1]}catch{return""}}})},
12"es.number.is-finite.js":function(O){var f,p;O("../internals/export")({target:"Number",stat:!0},{isFinite:O("../internals/number-is-finite")})},
12"es.number.is-nan.js":function(O){var f;O("../internals/export")({target:"Number",stat:!0},{isNaN:function(P){return P!=P}})},
12"es.array.flat.js":function(O){"use strict";var f=O("../internals/export"),p=O("../internals/flatten-into-array"),P=O("../internals/to-object"),i=O("../internals/to-length"),d=O("../internals/to-integer"),m=O("../internals/array-species-create");f({target:"Array",proto:!0},{flat:function(){var a=arguments.length?arguments[0]:void 0,o=P(this),c=i(o.length),u=m(o,0);return u.length=p(u,o,o,c,0,a===void 0?1:d(a)),u}})},
12"es.array.flat-map.js":function(O){"use strict";var f=O("../internals/export"),p=O("../internals/flatten-into-array"),P=O("../internals/to-object"),i=O("../internals/to-length"),d=O("../internals/a-function"),m=O("../internals/array-species-create");f({target:"Array",proto:!0},{flatMap:function(a){var o=P(this),c=i(o.length),u;return d(a),(u=m(o,0)).length=p(u,o,o,c,0,1,a,arguments.length>1?arguments[1]:void 0),u}})},
12"es.object.from-entries.js":function(O){var f=O("../internals/export"),p=O("../internals/iterate"),P=O("../internals/create-property");f({target:"Object",stat:!0},{fromEntries:function(d){var m={};return p(d,(function(l,a){P(m,l,a)}),{AS_ENTRIES:!0}),m}})},
12"es.string.pad-start.js":function(O){"use strict";var f=O("../internals/export"),p=O("../internals/string-pad").start,P;f({target:"String",proto:!0,forced:O("../internals/string-pad-webkit-bug")},{padStart:function(d){return p(this,d,arguments.length>1?arguments[1]:void 0)}})},
12"es.string.pad-end.js":function(O){"use strict";var f=O("../internals/export"),p=O("../internals/string-pad").end,P;f({target:"String",proto:!0,forced:O("../internals/string-pad-webkit-bug")},{padEnd:function(d){return p(this,d,arguments.length>1?arguments[1]:void 0)}})},
12"es.string.trim-start.js":function(O){"use strict";var f=O("../internals/export"),p=O("../internals/string-trim").start,P,i=O("../internals/string-trim-forced")("trimStart"),d=i?function(){return p(this)}:"".trimStart;f({target:"String",proto:!0,forced:i},{trimStart:d,trimLeft:d})},
12"es.string.trim-end.js":function(O){"use strict";var f=O("../internals/export"),p=O("../internals/string-trim").end,P,i=O("../internals/string-trim-forced")("trimEnd"),d=i?function(){return p(this)}:"".trimEnd;f({target:"String",proto:!0,forced:i},{trimEnd:d,trimRight:d})},
12"es.symbol.async-iterator.js":function(O){var f;O("../internals/define-well-known-symbol")("asyncIterator")}},internals:{
12"export.js":function(k,O,f){var p=k("../internals/global"),P=k("../internals/object-get-own-property-descriptor").f,i=k("../internals/create-non-enumerable-property"),d=k("../internals/redefine"),m=k("../internals/set-global"),l=k("../internals/copy-constructor-properties"),a=k("../internals/is-forced");f.exports=function(o,c){var u=o.target,g=o.global,v=o.stat,_,E,w,S,I,D;if(E=g?p:v?p[u]||m(u,{}):(p[u]||{}).prototype)for(w in c){if(I=c[w],S=o.noTargetGet?(D=P(E,w))&&D.value:E[w],!(_=a(g?w:u+(v?".":"#")+w,o.forced))&&S!==void 0){if(typeof I==typeof S)continue;l(I,S)}(o.sham||S&&S.sham)&&i(I,"sham",!0),d(E,w,I,o)}}},
12"global.js":function(k,O,f){var p=function(P){return P&&P.Math==Math&&P};f.exports=p(typeof globalThis=="object"&&globalThis)||p(typeof window=="object"&&window)||p(typeof self=="object"&&self)||p(typeof ye=="object"&&ye)||(function(){return this})()||Function("return this")()},
12"object-get-own-property-descriptor.js":function(O,f){var p=O("../internals/descriptors"),P=O("../internals/object-property-is-enumerable"),i=O("../internals/create-property-descriptor"),d=O("../internals/to-indexed-object"),m=O("../internals/to-primitive"),l=O("../internals/has"),a=O("../internals/ie8-dom-define"),o=Object.getOwnPropertyDescriptor;f.f=p?o:function(u,g){if(u=d(u),g=m(g,!0),a)try{return o(u,g)}catch{}if(l(u,g))return i(!P.f.call(u,g),u[g])}},
12"descriptors.js":function(k,O,f){var p=k("../internals/fails");f.exports=!p((function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}))},
12"fails.js":function(k,O,f){f.exports=function(p){try{return!!p()}catch{return!0}}},
12"object-property-is-enumerable.js":function(O,f){"use strict";var p={}.propertyIsEnumerable,P=Object.getOwnPropertyDescriptor,i=P&&!p.call({1:2},1);f.f=i?function(m){var l=P(this,m);return!!l&&l.enumerable}:p},
12"create-property-descriptor.js":function(k,O,f){f.exports=function(p,P){return{enumerable:!(1&p),configurable:!(2&p),writable:!(4&p),value:P}}},
12"to-indexed-object.js":function(k,O,f){var p=k("../internals/indexed-object"),P=k("../internals/require-object-coercible");f.exports=function(i){return p(P(i))}},
12"indexed-object.js":function(k,O,f){var p=k("../internals/fails"),P=k("../internals/classof-raw"),i="".split;f.exports=p((function(){return!Object("z").propertyIsEnumerable(0)}))?function(d){return P(d)=="String"?i.call(d,""):Object(d)}:Object},
12"classof-raw.js":function(k,O,f){var p={}.toString;f.exports=function(P){return p.call(P).slice(8,-1)}},
12"require-object-coercible.js":function(k,O,f){f.exports=function(p){if(p==null)throw TypeError("Can't call method on "+p);return p}},
12"to-primitive.js":function(k,O,f){var p=k("../internals/is-object");f.exports=function(P,i){if(!p(P))return P;var d,m;if(i&&typeof(d=P.toString)=="function"&&!p(m=d.call(P))||typeof(d=P.valueOf)=="function"&&!p(m=d.call(P))||!i&&typeof(d=P.toString)=="function"&&!p(m=d.call(P)))return m;throw TypeError("Can't convert object to primitive value")}},
12"is-object.js":function(k,O,f){f.exports=function(p){return typeof p=="object"?p!==null:typeof p=="function"}},
12"has.js":function(k,O,f){var p=k("../internals/to-object"),P={}.hasOwnProperty;f.exports=Object.hasOwn||function(d,m){return P.call(p(d),m)}},
12"to-object.js":function(k,O,f){var p=k("../internals/require-object-coercible");f.exports=function(P){return Object(p(P))}},
12"ie8-dom-define.js":function(k,O,f){var p=k("../internals/descriptors"),P=k("../internals/fails"),i=k("../internals/document-create-element");f.exports=!p&&!P((function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!=7}))},
12"document-create-element.js":function(k,O,f){var p=k("../internals/global"),P=k("../internals/is-object"),i=p.document,d=P(i)&&P(i.createElement);f.exports=function(m){return d?i.createElement(m):{}}},
12"create-non-enumerable-property.js":function(k,O,f){var p=k("../internals/descriptors"),P=k("../internals/object-define-property"),i=k("../internals/create-property-descriptor");f.exports=p?function(d,m,l){return P.f(d,m,i(1,l))}:function(d,m,l){return d[m]=l,d}},
12"object-define-property.js":function(O,f){var p=O("../internals/descriptors"),P=O("../internals/ie8-dom-define"),i=O("../internals/an-object"),d=O("../internals/to-primitive"),m=Object.defineProperty;f.f=p?m:function(a,o,c){if(i(a),o=d(o,!0),i(c),P)try{return m(a,o,c)}catch{}if("get"in c||"set"in c)throw TypeError("Accessors not supported");return"value"in c&&(a[o]=c.value),a}},
12"an-object.js":function(k,O,f){var p=k("../internals/is-object");f.exports=function(P){if(!p(P))throw TypeError(String(P)+" is not an object");return P}},
12"redefine.js":function(k,O,f){var p=k("../internals/global"),P=k("../internals/create-non-enumerable-property"),i=k("../internals/has"),d=k("../internals/set-global"),m=k("../internals/inspect-source"),l=k("../internals/internal-state"),a=l.get,o=l.enforce,c=String(String).split("String");(f.exports=function(u,g,v,_){var E=!!_&&!!_.unsafe,w=!!_&&!!_.enumerable,S=!!_&&!!_.noTargetGet,I;typeof v=="function"&&(typeof g!="string"||i(v,"name")||P(v,"name",g),(I=o(v)).source||(I.source=c.join(typeof g=="string"?g:""))),u!==p?(E?!S&&u[g]&&(w=!0):delete u[g],w?u[g]=v:P(u,g,v)):w?u[g]=v:d(g,v)})(Function.prototype,"toString",(function(){return typeof this=="function"&&a(this).source||m(this)}))},
12"set-global.js":function(k,O,f){var p=k("../internals/global"),P=k("../internals/create-non-enumerable-property");f.exports=function(i,d){try{P(p,i,d)}catch{p[i]=d}return d}},
12"inspect-source.js":function(k,O,f){var p=k("../internals/shared-store"),P=Function.toString;typeof p.inspectSource!="function"&&(p.inspectSource=function(i){return P.call(i)}),f.exports=p.inspectSource},
12"shared-store.js":function(k,O,f){var p=k("../internals/global"),P=k("../internals/set-global"),i="__core-js_shared__",d=p[i]||P(i,{});f.exports=d},
12"internal-state.js":function(k,O,f){var p=k("../internals/native-weak-map"),P=k("../internals/global"),i=k("../internals/is-object"),d=k("../internals/create-non-enumerable-property"),m=k("../internals/has"),l=k("../internals/shared-store"),a=k("../internals/shared-key"),o=k("../internals/hidden-keys"),c="Object already initialized",u=P.WeakMap,g,v,_,E=function(U){return _(U)?v(U):g(U,{})},w=function(U){return function(j){var F;if(!i(j)||(F=v(j)).type!==U)throw TypeError("Incompatible receiver, "+U+" required");return F}};if(p||l.state){var S=l.state||(l.state=new u),I=S.get,D=S.has,y=S.set;g=function(U,j){if(D.call(S,U))throw new TypeError(c);return j.facade=U,y.call(S,U,j),j},v=function(U){return I.call(S,U)||{}},_=function(U){return D.call(S,U)}}else{var b=a("state");o[b]=!0,g=function(U,j){if(m(U,b))throw new TypeError(c);return j.facade=U,d(U,b,j),j},v=function(U){return m(U,b)?U[b]:{}},_=function(U){return m(U,b)}}f.exports={set:g,get:v,has:_,enforce:E,getterFor:w}},
12"native-weak-map.js":function(k,O,f){var p=k("../internals/global"),P=k("../internals/inspect-source"),i=p.WeakMap;f.exports=typeof i=="function"&&/native code/.test(P(i))},
12"shared-key.js":function(k,O,f){var p=k("../internals/shared"),P=k("../internals/uid"),i=p("keys");f.exports=function(d){return i[d]||(i[d]=P(d))}},
12"shared.js":function(k,O,f){var p=k("../internals/is-pure"),P=k("../internals/shared-store");(f.exports=function(i,d){return P[i]||(P[i]=d!==void 0?d:{})})("versions",[]).push({version:"3.15.2",mode:p?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},
12"is-pure.js":function(k,O,f){f.exports=!1},
12"uid.js":function(k,O,f){var p=0,P=Math.random();f.exports=function(i){return"Symbol("+String(i===void 0?"":i)+")_"+(++p+P).toString(36)}},
12"hidden-keys.js":function(k,O,f){f.exports={}},
12"copy-constructor-properties.js":function(k,O,f){var p=k("../internals/has"),P=k("../internals/own-keys"),i=k("../internals/object-get-own-property-descriptor"),d=k("../internals/object-define-property");f.exports=function(m,l){for(var a=P(l),o=d.f,c=i.f,u=0;u<a.length;u++){var g=a[u];p(m,g)||o(m,g,c(l,g))}}},
12"own-keys.js":function(k,O,f){var p=k("../internals/get-built-in"),P=k("../internals/object-get-own-property-names"),i=k("../internals/object-get-own-property-symbols"),d=k("../internals/an-object");f.exports=p("Reflect","ownKeys")||function(l){var a=P.f(d(l)),o=i.f;return o?a.concat(o(l)):a}},
12"get-built-in.js":function(k,O,f){var p=k("../internals/path"),P=k("../internals/global"),i=function(d){return typeof d=="function"?d:void 0};f.exports=function(d,m){return arguments.length<2?i(p[d])||i(P[d]):p[d]&&p[d][m]||P[d]&&P[d][m]}},
12"path.js":function(k,O,f){var p=k("../internals/global");f.exports=p},
12"object-get-own-property-names.js":function(O,f){var p=O("../internals/object-keys-internal"),P,i=O("../internals/enum-bug-keys").concat("length","prototype");f.f=Object.getOwnPropertyNames||function(m){return p(m,i)}},
12"object-keys-internal.js":function(k,O,f){var p=k("../internals/has"),P=k("../internals/to-indexed-object"),i=k("../internals/array-includes").indexOf,d=k("../internals/hidden-keys");f.exports=function(m,l){var a=P(m),o=0,c=[],u;for(u in a)!p(d,u)&&p(a,u)&&c.push(u);for(;l.length>o;)p(a,u=l[o++])&&(~i(c,u)||c.push(u));return c}},
12"array-includes.js":function(k,O,f){var p=k("../internals/to-indexed-object"),P=k("../internals/to-length"),i=k("../internals/to-absolute-index"),d=function(m){return function(l,a,o){var c=p(l),u=P(c.length),g=i(o,u),v;if(m&&a!=a){for(;u>g;)if((v=c[g++])!=v)return!0}else for(;u>g;g++)if((m||g in c)&&c[g]===a)return m||g||0;return!m&&-1}};f.exports={includes:d(!0),indexOf:d(!1)}},
12"to-length.js":function(k,O,f){var p=k("../internals/to-integer"),P=Math.min;f.exports=function(i){return i>0?P(p(i),9007199254740991):0}},
12"to-integer.js":function(k,O,f){var p=Math.ceil,P=Math.floor;f.exports=function(i){return isNaN(i=+i)?0:(i>0?P:p)(i)}},
12"to-absolute-index.js":function(k,O,f){var p=k("../internals/to-integer"),P=Math.max,i=Math.min;f.exports=function(d,m){var l=p(d);return l<0?P(l+m,0):i(l,m)}},
12"enum-bug-keys.js":function(k,O,f){f.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},
12"object-get-own-property-symbols.js":function(O,f){f.f=Object.getOwnPropertySymbols},
12"is-forced.js":function(k,O,f){var p=k("../internals/fails"),P=/#|\.prototype\./,i=function(o,c){var u=m[d(o)];return u==a||u!=l&&(typeof c=="function"?p(c):!!c)},d=i.normalize=function(o){return String(o).replace(P,".").toLowerCase()},m=i.data={},l=i.NATIVE="N",a=i.POLYFILL="P";f.exports=i},
12"create-property.js":function(k,O,f){"use strict";var p=k("../internals/to-primitive"),P=k("../internals/object-define-property"),i=k("../internals/create-property-descriptor");f.exports=function(d,m,l){var a=p(m);a in d?P.f(d,a,i(0,l)):d[a]=l}},
12"same-value.js":function(k,O,f){f.exports=Object.is||function(P,i){return P===i?P!==0||1/P==1/i:P!=P&&i!=i}},
12"number-is-finite.js":function(k,O,f){var p,P=k("../internals/global").isFinite;f.exports=Number.isFinite||function(d){return typeof d=="number"&&P(d)}},
12"flatten-into-array.js":function(k,O,f){"use strict";var p=k("../internals/is-array"),P=k("../internals/to-length"),i=k("../internals/function-bind-context"),d=function(m,l,a,o,c,u,g,v){for(var _=c,E=0,w=!!g&&i(g,v,3),S;E<o;){if(E in a){if(S=w?w(a[E],E,l):a[E],u>0&&p(S))_=d(m,l,S,P(S.length),_,u-1)-1;else{if(_>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[_]=S}_++}E++}return _};f.exports=d},
12"is-array.js":function(k,O,f){var p=k("../internals/classof-raw");f.exports=Array.isArray||function(i){return p(i)=="Array"}},
vendor: 384 bytes, line 12
12"function-bind-context.js":function(k,O,f){var p=k("../internals/a-function");f.exports=function(P,i,d){if(p(P),i===void 0)return P;switch(d){case 0:return function(){return P.call(i)};case 1:return function(m){return P.call(i,m)};case 2:return function(m,l){return P.call(i,m,l)};case 3:return function(m,l,a){return P.call(i,m,l,a)}}return function(){return P.apply(i,arguments)}}},
12"a-function.js":function(k,O,f){f.exports=function(p){if(typeof p!="function")throw TypeError(String(p)+" is not a function");return p}},
12"array-species-create.js":function(k,O,f){var p=k("../internals/is-object"),P=k("../internals/is-array"),i,d=k("../internals/well-known-symbol")("species");f.exports=function(m,l){var a;return P(m)&&(typeof(a=m.constructor)!="function"||a!==Array&&!P(a.prototype)?p(a)&&(a=a[d])===null&&(a=void 0):a=void 0),new(a===void 0?Array:a)(l===0?0:l)}},
12"well-known-symbol.js":function(k,O,f){var p=k("../internals/global"),P=k("../internals/shared"),i=k("../internals/has"),d=k("../internals/uid"),m=k("../internals/native-symbol"),l=k("../internals/use-symbol-as-uid"),a=P("wks"),o=p.Symbol,c=l?o:o&&o.withoutSetter||d;f.exports=function(u){return i(a,u)&&(m||typeof a[u]=="string")||(m&&i(o,u)?a[u]=o[u]:a[u]=c("Symbol."+u)),a[u]}},
12"native-symbol.js":function(k,O,f){var p=k("../internals/engine-v8-version"),P=k("../internals/fails");f.exports=!!Object.getOwnPropertySymbols&&!P((function(){var i=Symbol();return!String(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&p&&p<41}))},
12"engine-v8-version.js":function(k,O,f){var p=k("../internals/global"),P=k("../internals/engine-user-agent"),i=p.process,d=i&&i.versions,m=d&&d.v8,l,a;m?a=(l=m.split("."))[0]<4?1:l[0]+l[1]:P&&(!(l=P.match(/Edge\/(\d+)/))||l[1]>=74)&&(l=P.match(/Chrome\/(\d+)/))&&(a=l[1]),f.exports=a&&+a},
12"engine-user-agent.js":function(k,O,f){var p=k("../internals/get-built-in");f.exports=p("navigator","userAgent")||""},
12"use-symbol-as-uid.js":function(k,O,f){var p=k("../internals/native-symbol");f.exports=p&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},
12"iterate.js":function(k,O,f){var p=k("../internals/an-object"),P=k("../internals/is-array-iterator-method"),i=k("../internals/to-length"),d=k("../internals/function-bind-context"),m=k("../internals/get-iterator-method"),l=k("../internals/iterator-close"),a=function(o,c){this.stopped=o,this.result=c};f.exports=function(o,c,u){var g=u&&u.that,v=!(!u||!u.AS_ENTRIES),_=!(!u||!u.IS_ITERATOR),E=!(!u||!u.INTERRUPTED),w=d(c,g,1+v+E),S,I,D,y,b,U,j,F=function(N){return S&&l(S),new a(!0,N)},C=function(N){return v?(p(N),E?w(N[0],N[1],F):w(N[0],N[1])):E?w(N,F):w(N)};if(_)S=o;else{if(typeof(I=m(o))!="function")throw TypeError("Target is not iterable");if(P(I)){for(D=0,y=i(o.length);y>D;D++)if((b=C(o[D]))&&b instanceof a)return b;return new a(!1)}S=I.call(o)}for(U=S.next;!(j=U.call(S)).done;){try{b=C(j.value)}catch(N){throw l(S),N}if(typeof b=="object"&&b&&b instanceof a)return b}return new a(!1)}},
12"is-array-iterator-method.js":function(k,O,f){var p=k("../internals/well-known-symbol"),P=k("../internals/iterators"),i=p("iterator"),d=Array.prototype;f.exports=function(m){return m!==void 0&&(P.Array===m||d[i]===m)}},
12"iterators.js":function(k,O,f){f.exports={}},
12"get-iterator-method.js":function(k,O,f){var p=k("../internals/classof"),P=k("../internals/iterators"),i,d=k("../internals/well-known-symbol")("iterator");f.exports=function(m){if(m!=null)return m[d]||m["@@iterator"]||P[p(m)]}},
12"classof.js":function(k,O,f){var p=k("../internals/to-string-tag-support"),P=k("../internals/classof-raw"),i,d=k("../internals/well-known-symbol")("toStringTag"),m=P((function(){return arguments})())=="Arguments",l=function(a,o){try{return a[o]}catch{}};f.exports=p?P:function(a){var o,c,u;return a===void 0?"Undefined":a===null?"Null":typeof(c=l(o=Object(a),d))=="string"?c:m?P(o):(u=P(o))=="Object"&&typeof o.callee=="function"?"Arguments":u}},
12"to-string-tag-support.js":function(k,O,f){var p,P,i={};i[k("../internals/well-known-symbol")("toStringTag")]="z",f.exports=String(i)==="[object z]"},
12"iterator-close.js":function(k,O,f){var p=k("../internals/an-object");f.exports=function(P){var i=P.return;if(i!==void 0)return p(i.call(P)).value}},
12"string-pad.js":function(k,O,f){var p=k("../internals/to-length"),P=k("../internals/string-repeat"),i=k("../internals/require-object-coercible"),d=Math.ceil,m=function(l){return function(a,o,c){var u=String(i(a)),g=u.length,v=c===void 0?" ":String(c),_=p(o),E,w;return _<=g||v==""?u:(E=_-g,(w=P.call(v,d(E/v.length))).length>E&&(w=w.slice(0,E)),l?u+w:w+u)}};f.exports={start:m(!1),end:m(!0)}},
vendor: 296 bytes, line 12
12"string-repeat.js":function(k,O,f){"use strict";var p=k("../internals/to-integer"),P=k("../internals/require-object-coercible");f.exports=function(d){var m=String(P(this)),l="",a=p(d);if(a<0||a==1/0)throw RangeError("Wrong number of repetitions");for(;a>0;(a>>>=1)&&(m+=m))1&a&&(l+=m);return l}},
12"string-pad-webkit-bug.js":function(k,O,f){var p=k("../internals/engine-user-agent");f.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(p)},
12"string-trim.js":function(k,O,f){var p=k("../internals/require-object-coercible"),P,i="["+k("../internals/whitespaces")+"]",d=RegExp("^"+i+i+"*"),m=RegExp(i+i+"*$"),l=function(a){return function(o){var c=String(p(o));return 1&a&&(c=c.replace(d,"")),2&a&&(c=c.replace(m,"")),c}};f.exports={start:l(1),end:l(2),trim:l(3)}},
12"whitespaces.js":function(k,O,f){f.exports=`	
13\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`},
13"string-trim-forced.js":function(k,O,f){var p=k("../internals/fails"),P=k("../internals/whitespaces"),i="\u200B\x85\u180E";f.exports=function(d){return p((function(){return!!P[d]()||i[d]()!=i||P[d].name!==d}))}},
13"define-well-known-symbol.js":function(k,O,f){var p=k("../internals/path"),P=k("../internals/has"),i=k("../internals/well-known-symbol-wrapped"),d=k("../internals/object-define-property").f;f.exports=function(m){var l=p.Symbol||(p.Symbol={});P(l,m)||d(l,m,{value:i.f(m)})}},
13"well-known-symbol-wrapped.js":function(O,f){var p=O("../internals/well-known-symbol");f.f=p}}}}}}}},{extensions:[".js",".json"]}),ae=X("/node_modules/meteor/ecmascript-runtime-client/modern.js");Package._define("ecmascript-runtime-client",ae)})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.modules.meteorInstall,oe=Package.promise.Promise,X,ae=ee({node_modules:{meteor:{base64:{
13"base64.js":function(O,f,p){p.export({Base64:()=>c});let P="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",i=Object.create(null),d=u=>P.charAt(u),m=u=>u==="="?-1:i[u];for(let u=0;u<P.length;u++)i[d(u)]=u;let l=u=>{if(typeof u=="string"){let S=u;u=a(S.length);for(let I=0;I<S.length;I++){let D=S.charCodeAt(I);if(D>255)throw new Error("Not ascii. Base64.encode can only take ascii strings.");u[I]=D}}let g=[],v=null,_=null,E=null,w=null;for(let S=0;S<u.length;S++)switch(S%3){case 0:v=u[S]>>2&63,_=(3&u[S])<<4;break;case 1:_|=u[S]>>4&15,E=(15&u[S])<<2;break;case 2:E|=u[S]>>6&3,w=63&u[S],g.push(d(v)),g.push(d(_)),g.push(d(E)),g.push(d(w)),v=null,_=null,E=null,w=null}return v!=null&&(g.push(d(v)),g.push(d(_)),E==null?g.push("="):g.push(d(E)),w==null&&g.push("=")),g.join("")},a=u=>{if(typeof Uint8Array>"u"||typeof ArrayBuffer>"u"){let g=[];for(let v=0;v<u;v++)g.push(0);return g.$Uint8ArrayPolyfill=!0,g}return new Uint8Array(new ArrayBuffer(u))},o=void 0,c={encode:l,decode:u=>{let g=Math.floor(3*u.length/4);u.charAt(u.length-1)=="="&&(g--,u.charAt(u.length-2)=="="&&g--);let v=a(g),_=null,E=null,w=null,S=0;for(let I=0;I<u.length;I++){let D=u.charAt(I),y=m(D);switch(I%4){case 0:if(y<0)throw new Error("invalid base64 string");_=y<<2;break;case 1:if(y<0)throw new Error("invalid base64 string");_|=y>>4,v[S++]=_,E=(15&y)<<4;break;case 2:y>=0&&(E|=y>>2,v[S++]=E,w=(3&y)<<6);break;case 3:y>=0&&(v[S++]=w|y)}}return v},newBinary:a}}}}}},{extensions:[".js",".json"]}),k=ae("/node_modules/meteor/base64/base64.js");Package._define("base64",k,{Base64:X})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.base64.Base64,oe=Package.modules.meteorInstall,X=Package.promise.Promise,ae,k=oe({node_modules:{meteor:{ejson:{
13"ejson.js":function(f,p,P){let i,d,m,l,a,o,c,u,g;P.export({EJSON:()=>v}),P.link("./utils",{isFunction(y){i=y},isObject(y){d=y},keysOf(y){m=y},lengthOf(y){l=y},hasOwn(y){a=y},convertMapToObject(y){o=y},isArguments(y){c=y},isInfOrNaN(y){u=y},handleError(y){g=y}},0);let v={},_=new Map;v.addType=(y,b)=>{if(_.has(y))throw new Error("Type ".concat(y," already present"));_.set(y,b)};let E=[{matchJSONValue:y=>a(y,"$date")&&l(y)===1,matchObject:y=>y instanceof Date,toJSONValue:y=>({$date:y.getTime()}),fromJSONValue:y=>new Date(y.$date)},{matchJSONValue:y=>a(y,"$regexp")&&a(y,"$flags")&&l(y)===2,matchObject:y=>y instanceof RegExp,toJSONValue:y=>({$regexp:y.source,$flags:y.flags}),fromJSONValue:y=>new RegExp(y.$regexp,y.$flags.slice(0,50).replace(/[^gimuy]/g,"").replace(/(.)(?=.*\1)/g,""))},{matchJSONValue:y=>a(y,"$InfNaN")&&l(y)===1,matchObject:u,toJSONValue(y){let b;return b=Number.isNaN(y)?0:y===1/0?1:-1,{$InfNaN:b}},fromJSONValue:y=>y.$InfNaN/0},{matchJSONValue:y=>a(y,"$binary")&&l(y)===1,matchObject:y=>typeof Uint8Array<"u"&&y instanceof Uint8Array||y&&a(y,"$Uint8ArrayPolyfill"),toJSONValue:y=>({$binary:ee.encode(y)}),fromJSONValue:y=>ee.decode(y.$binary)},{matchJSONValue:y=>a(y,"$escape")&&l(y)===1,matchObject(y){let b=!1;if(y){let U=l(y);U!==1&&U!==2||(b=E.some((j=>j.matchJSONValue(y))))}return b},toJSONValue(y){let b={};return m(y).forEach((U=>{b[U]=v.toJSONValue(y[U])})),{$escape:b}},fromJSONValue(y){let b={};return m(y.$escape).forEach((U=>{b[U]=v.fromJSONValue(y.$escape[U])})),b}},{matchJSONValue:y=>a(y,"$type")&&a(y,"$value")&&l(y)===2,matchObject:y=>v._isCustomType(y),toJSONValue(y){let b=ne._noYieldsAllowed((()=>y.toJSONValue()));return{$type:y.typeName(),$value:b}},fromJSONValue(y){let b=y.$type;if(!_.has(b))throw new Error("Custom EJSON type ".concat(b," is not defined"));let U=_.get(b);return ne._noYieldsAllowed((()=>U(y.$value)))}}];v._isCustomType=y=>y&&i(y.toJSONValue)&&i(y.typeName)&&_.has(y.typeName()),v._getTypes=function(){return arguments.length>0&&arguments[0]!==void 0&&arguments[0]?_:o(_)},v._getConverters=()=>E;let w=y=>{for(let b=0;b<E.length;b++){let U=E[b];if(U.matchObject(y))return U.toJSONValue(y)}},S=y=>{if(y===null)return null;let b=w(y);return b!==void 0?b:(d(y)&&m(y).forEach((U=>{let j=y[U];if(!d(j)&&j!==void 0&&!u(j))return;let F=w(j);F?y[U]=F:S(j)})),y)};v._adjustTypesToJSONValue=S,v.toJSONValue=y=>{let b=w(y);if(b!==void 0)return b;let U=y;return d(y)&&(U=v.clone(y),S(U)),U};let I=y=>{if(d(y)&&y!==null){let b=m(y);if(b.length<=2&&b.every((U=>typeof U=="string"&&U.substr(0,1)==="$")))for(let U=0;U<E.length;U++){let j=E[U];if(j.matchJSONValue(y))return j.fromJSONValue(y)}}return y},D=y=>{if(y===null)return null;let b=I(y);return b!==y?b:(d(y)&&m(y).forEach((U=>{let j=y[U];if(d(j)){let F=I(j);if(j!==F)return void(y[U]=F);D(j)}})),y)};v._adjustTypesFromJSONValue=D,v.fromJSONValue=y=>{let b=I(y);return b===y&&d(y)&&(b=v.clone(y),D(b)),b},v.stringify=g(((y,b)=>{let U,j=v.toJSONValue(y);if(b&&(b.canonical||b.indent)){let F;P.link("./stringify",{default(C){F=C}},1),U=F(j,b)}else U=JSON.stringify(j);return U})),v.parse=y=>{if(typeof y!="string")throw new Error("EJSON.parse argument should be a string");return v.fromJSONValue(JSON.parse(y))},v.isBinary=y=>!!(typeof Uint8Array<"u"&&y instanceof Uint8Array||y&&y.$Uint8ArrayPolyfill),v.equals=(y,b,U)=>{let j,F=!(!U||!U.keyOrderSensitive);if(y===b||Number.isNaN(y)&&Number.isNaN(b))return!0;if(!y||!b||!d(y)||!d(b))return!1;if(y instanceof Date&&b instanceof Date)return y.valueOf()===b.valueOf();if(v.isBinary(y)&&v.isBinary(b)){if(y.length!==b.length)return!1;for(j=0;j<y.length;j++)if(y[j]!==b[j])return!1;return!0}if(i(y.equals))return y.equals(b,U);if(i(b.equals))return b.equals(y,U);let C=Array.isArray(y),N=Array.isArray(b);if(C!==N)return!1;if(C&&N){if(y.length!==b.length)return!1;for(j=0;j<y.length;j++)if(!v.equals(y[j],b[j],U))return!1;return!0}switch(v._isCustomType(y)+v._isCustomType(b)){case 1:return!1;case 2:return v.equals(v.toJSONValue(y),v.toJSONValue(b))}let K,re=m(y),q=m(b);return F?(j=0,K=re.every((W=>!(j>=q.length)&&W===q[j]&&!!v.equals(y[W],b[q[j]],U)&&(j++,!0)))):(j=0,K=re.every((W=>!!a(b,W)&&!!v.equals(y[W],b[W],U)&&(j++,!0)))),K&&j===q.length},v.clone=y=>{let b;if(!d(y))return y;if(y===null)return null;if(y instanceof Date)return new Date(y.getTime());if(y instanceof RegExp)return y;if(v.isBinary(y)){b=v.newBinary(y.length);for(let U=0;U<y.length;U++)b[U]=y[U];return b}return Array.isArray(y)?y.map(v.clone):c(y)?Array.from(y).map(v.clone):i(y.clone)?y.clone():v._isCu
13stomType(y)?v.fromJSONValue(v.clone(v.toJSONValue(y)),!0):(b={},m(y).forEach((U=>{b[U]=v.clone(y[U])})),b)},v.newBinary=ee.newBinary},
13"stringify.js":function(f,p,P){function i(l){return JSON.stringify(l)}let d=(l,a,o,c,u)=>{let g=a[l];switch(typeof g){case"string":return i(g);case"number":return isFinite(g)?String(g):"null";case"boolean":return String(g);case"object":{if(!g)return"null";let v=c+o,_=[],E;if(Array.isArray(g)||{}.hasOwnProperty.call(g,"callee")){let S=g.length;for(let I=0;I<S;I+=1)_[I]=d(I,g,o,v,u)||"null";return E=_.length===0?"[]":v?`[
14`+v+_.join(`,
15`+v)+`
16`+c+"]":"["+_.join(",")+"]",E}let w=Object.keys(g);return u&&(w=w.sort()),w.forEach((S=>{E=d(S,g,o,v,u),E&&_.push(i(S)+(v?": ":":")+E)})),E=_.length===0?"{}":v?`{
17`+v+_.join(`,
18`+v)+`
19`+c+"}":"{"+_.join(",")+"}",E}}},m=(l,a)=>{let o=Object.assign({indent:"",canonical:!1},a);if(o.indent===!0)o.indent="  ";else if(typeof o.indent=="number"){let c="";for(let u=0;u<o.indent;u++)c+=" ";o.indent=c}return d("",{"":l},o.indent,"",o.canonical)};P.exportDefault(m)},
19"utils.js":function(f,p,P){P.export({isFunction:()=>i,isObject:()=>d,keysOf:()=>m,lengthOf:()=>l,hasOwn:()=>a,convertMapToObject:()=>o,isArguments:()=>c,isInfOrNaN:()=>u,checkError:()=>g,handleError:()=>v});let i=_=>typeof _=="function",d=_=>typeof _=="object",m=_=>Object.keys(_),l=_=>Object.keys(_).length,a=(_,E)=>Object.prototype.hasOwnProperty.call(_,E),o=_=>Array.from(_).reduce(((E,w)=>{let[S,I]=w;return E[S]=I,E}),{}),c=_=>_!=null&&a(_,"callee"),u=_=>Number.isNaN(_)||_===1/0||_===-1/0,g={maxStack:_=>new RegExp("Maximum call stack size exceeded","g").test(_)},v=_=>function(){try{return _.apply(this,arguments)}catch(E){throw g.maxStack(E.message)?new Error("Converting circular structure to JSON"):E}}}}}}},{extensions:[".js",".json"]}),O=k("/node_modules/meteor/ejson/ejson.js");Package._define("ejson",O,{EJSON:ae})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.ejson.EJSON,oe=Package.modules.meteorInstall,X=Package.promise.Promise,ae,k=oe({node_modules:{meteor:{"diff-sequence":{
19"diff.js":function(f,p,P){P.export({DiffSequence:()=>i});let i={},d=Object.prototype.hasOwnProperty;function m(l){for(let a in Object(l))if(d.call(l,a))return!1;return!0}i.diffQueryChanges=function(l,a,o,c,u){l?i.diffQueryOrderedChanges(a,o,c,u):i.diffQueryUnorderedChanges(a,o,c,u)},i.diffQueryUnorderedChanges=function(l,a,o,c){var u=(c=c||{}).projectionFn||ee.clone;if(o.movedBefore)throw new Error("_diffQueryUnordered called with a movedBefore observer!");a.forEach((function(g,v){var _=l.get(v);if(_){if(o.changed&&!ee.equals(_,g)){var E=u(g),w=u(_),S=i.makeChangedFields(E,w);m(S)||o.changed(v,S)}}else if(o.added){var I=u(g);delete I._id,o.added(g._id,I)}})),o.removed&&l.forEach((function(g,v){a.has(v)||o.removed(v)}))},i.diffQueryOrderedChanges=function(l,a,o,c){var u=(c=c||{}).projectionFn||ee.clone,g={};a.forEach((function(F){g[F._id]&&ne._debug("Duplicate _id in new_results"),g[F._id]=!0}));var v={};l.forEach((function(F,C){F._id in v&&ne._debug("Duplicate _id in old_results"),v[F._id]=C}));for(var _=[],E=0,w=a.length,S=new Array(w),I=new Array(w),D=function(F){return v[a[F]._id]},y=0;y<w;y++)if(v[a[y]._id]!==void 0){for(var b=E;b>0&&!(D(S[b-1])<D(y));)b--;I[y]=b===0?-1:S[b-1],S[b]=y,b+1>E&&(E=b+1)}for(var U=E===0?-1:S[E-1];U>=0;)_.push(U),U=I[U];_.reverse(),_.push(a.length),l.forEach((function(F){g[F._id]||o.removed&&o.removed(F._id)}));var j=0;_.forEach((function(F){for(var C=a[F]?a[F]._id:null,N,K,re,q,W,T=j;T<F;T++)K=a[T],d.call(v,K._id)?(N=l[v[K._id]],q=u(K),W=u(N),m(re=i.makeChangedFields(q,W))||o.changed&&o.changed(K._id,re),o.movedBefore&&o.movedBefore(K._id,C)):(delete(re=u(K))._id,o.addedBefore&&o.addedBefore(K._id,re,C),o.added&&o.added(K._id,re));C&&(K=a[F],N=l[v[K._id]],q=u(K),W=u(N),m(re=i.makeChangedFields(q,W))||o.changed&&o.changed(K._id,re)),j=F+1}))},i.diffObjects=function(l,a,o){Object.keys(l).forEach((c=>{let u=l[c];d.call(a,c)?o.both&&o.both(c,u,a[c]):o.leftOnly&&o.leftOnly(c,u)})),o.rightOnly&&Object.keys(a).forEach((c=>{let u=a[c];d.call(l,c)||o.rightOnly(c,u)}))},i.diffMaps=function(l,a,o){l.forEach((function(c,u){a.has(u)?o.both&&o.both(u,c,a.get(u)):o.leftOnly&&o.leftOnly(u,c)})),o.rightOnly&&a.forEach((function(c,u){l.has(u)||o.rightOnly(u,c)}))},i.makeChangedFields=function(l,a){var o={};return i.diffObjects(a,l,{leftOnly:function(c,u){o[c]=void 0},rightOnly:function(c,u){o[c]=u},both:function(c,u,g){ee.equals(u,g)||(o[c]=g)}}),o},i.applyChanges=function(l,a){Object.keys(a).forEach((o=>{let c=a[o];typeof c>"u"?delete l[o]:l[o]=c}))}}}}}},{extensions:[".js",".json"]}),O=k("/node_modules/meteor/diff-sequence/diff.js");Package._define("diff-sequence",O,{DiffSequence:ae})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee,oe,X=(0,Package.modules.meteorInstall)({node_modules:{meteor:{"geojson-utils":{
19"main.js":function(O,f){f.GeoJSON=O("./geojson-utils.js")},
19"geojson-utils.js":function(k,O,f){(function(){var p={};function P(d){for(var m=[],l=[],a=0;a<d[0].length;a++)m.push(d[0][a][1]),l.push(d[0][a][0]);return m=m.sort((function(o,c){return o-c})),l=l.sort((function(o,c){return o-c})),[[m[0],l[0]],[m[m.length-1],l[l.length-1]]]}function i(d,m,l){for(var a=[[0,0]],o=0;o<l.length;o++){for(var c=0;c<l[o].length;c++)a.push(l[o][c]);a.push([0,0])}for(var u=!1,o=0,c=a.length-1;o<a.length;c=o++)a[o][0]>m!=a[c][0]>m&&d<(a[c][1]-a[o][1])*(m-a[o][0])/(a[c][0]-a[o][0])+a[o][1]&&(u=!u);return u}typeof f<"u"&&f.exports&&(f.exports=p),p.lineStringsIntersect=function(d,m){for(var l=[],a=0;a<=d.coordinates.length-2;++a)for(var o=0;o<=m.coordinates.length-2;++o){var c={x:d.coordinates[a][1],y:d.coordinates[a][0]},u={x:d.coordinates[a+1][1],y:d.coordinates[a+1][0]},g={x:m.coordinates[o][1],y:m.coordinates[o][0]},v={x:m.coordinates[o+1][1],y:m.coordinates[o+1][0]},_,E,w=(v.y-g.y)*(u.x-c.x)-(v.x-g.x)*(u.y-c.y);if(w!=0){var S=((v.x-g.x)*(c.y-g.y)-(v.y-g.y)*(c.x-g.x))/w,I=((u.x-c.x)*(c.y-g.y)-(u.y-c.y)*(c.x-g.x))/w;0<=S&&S<=1&&0<=I&&I<=1&&l.push({type:"Point",coordinates:[c.x+S*(u.x-c.x),c.y+S*(u.y-c.y)]})}}return l.length==0&&(l=!1),l},p.pointInBoundingBox=function(d,m){return!(d.coordinates[1]<m[0][0]||d.coordinates[1]>m[1][0]||d.coordinates[0]<m[0][1]||d.coordinates[0]>m[1][1])},p.pointInPolygon=function(d,m){for(var l=m.type=="Polygon"?[m.coordinates]:m.coordinates,a=!1,o=0;o<l.length;o++)p.pointInBoundingBox(d,P(l[o]))&&(a=!0);if(!a)return!1;for(var c=!1,o=0;o<l.length;o++)i(d.coordinates[1],d.coordinates[0],l[o])&&(c=!0);return c},p.numberToRadius=function(d){return d*Math.PI/180},p.numberToDegree=function(d){return 180*d/Math.PI},p.drawCircle=function(d,m,l){for(var a=[m.coordinates[1],m.coordinates[0]],o=d/1e3/6371,c=[p.numberToRadius(a[0]),p.numberToRadius(a[1])],l=l||15,u=[[a[0],a[1]]],g=0;g<l;g++){var v=2*Math.PI*g/l,_=Math.asin(Math.sin(c[0])*Math.cos(o)+Math.cos(c[0])*Math.sin(o)*Math.cos(v)),E=c[1]+Math.atan2(Math.sin(v)*Math.sin(o)*Math.cos(c[0]),Math.cos(o)-Math.sin(c[0])*Math.sin(_));u[g]=[],u[g][1]=p.numberToDegree(_),u[g][0]=p.numberToDegree(E)}return{type:"Polygon",coordinates:[u]}},p.rectangleCentroid=function(d){var m=d.coordinates[0],l=m[0][0],a=m[0][1],o,c,u,g;return{type:"Point",coordinates:[l+(m[2][0]-l)/2,a+(m[2][1]-a)/2]}},p.pointDistance=function(d,m){var l=d.coordinates[0],a=d.coordinates[1],o=m.coordinates[0],c=m.coordinates[1],u=p.numberToRadius(c-a),g=p.numberToRadius(o-l),v=Math.pow(Math.sin(u/2),2)+Math.cos(p.numberToRadius(a))*Math.cos(p.numberToRadius(c))*Math.pow(Math.sin(g/2),2),_;return 6371*(2*Math.atan2(Math.sqrt(v),Math.sqrt(1-v)))*1e3},p.geometryWithinRadius=function(d,m,l){if(d.type=="Point")return p.pointDistance(d,m)<=l;if(d.type=="LineString"||d.type=="Polygon"){var a={},o;for(var c in o=d.type=="Polygon"?d.coordinates[0]:d.coordinates)if(a.coordinates=o[c],p.pointDistance(a,m)>l)return!1}return!0},p.area=function(d){for(var m=0,l=d.coordinates[0],a=l.length-1,o,c,u=0;u<l.length;a=u++){var o={x:l[u][1],y:l[u][0]},c={x:l[a][1],y:l[a][0]};m+=o.x*c.y,m-=o.y*c.x}return m/=2},p.centroid=function(d){for(var m,l=0,a=0,o=d.coordinates[0],c=o.length-1,u,g,v=0;v<o.length;c=v++){var u={x:o[v][1],y:o[v][0]},g={x:o[c][1],y:o[c][0]};l+=(u.x+g.x)*(m=u.x*g.y-g.x*u.y),a+=(u.y+g.y)*m}return{type:"Point",coordinates:[a/(m=6*p.area(d)),l/m]}},p.simplify=function(d,m){var l,a,o,c,u,g,v,_,E,w,S,I,D,y,b,U,j,F,C;m=m||20,d=d.map((function(T){return{lng:T.coordinates[0],lat:T.coordinates[1]}}));var N=Math.PI/180*.5,K=[],re=[],q=[];if(d.length<3)return d;for(l=d.length,w=360*m/(2*Math.PI*6378137),w*=w,o=0,re[0]=0,q[0]=l-1,a=1;a>0;)if(c=re[a-1],u=q[a-1],a--,u-c>1){for(S=d[u].lng()-d[c].lng(),I=d[u].lat()-d[c].lat(),Math.abs(S)>180&&(S=360-Math.abs(S)),D=(S*=Math.cos(N*(d[u].lat()+d[c].lat())))*S+I*I,g=c+1,v=c,E=-1;g<u;g++)y=d[g].lng()-d[c].lng(),b=d[g].lat()-d[c].lat(),Math.abs(y)>180&&(y=360-Math.abs(y)),U=(y*=Math.cos(N*(d[g].lat()+d[c].lat())))*y+b*b,j=d[g].lng()-d[u].lng(),F=d[g].lat()-d[u].lat(),Math.abs(j)>180&&(j=360-Math.abs(j)),(_=U>=D+(C=(j*=Math.cos(N*(d[g].lat()+d[u].lat())))*j+F*F)?C:C>=D+U?U:(y*I-b*S)*(y*I-b*S)/D)>E&&(v=g,E=_);E<w?(K[o]=c,o++):(re[++a-1]=v,q[a-1]=u,re[++a-1]=c,q[a-1]=v)}else K[o]=c,o++;K[o]=l-1,o++;for(var W=[],g=0;g<o;g++)W.push(d[K[g]]);return W.map((function(T){return{type:"Point",coordinates:[T.lng,T.lat]}}))},p.destinationPoint=function(d,m,l){l/=6371,m=p.numberToRadius(m);var a=p.numberToRadius(d.coordinates[0]),o=p.numberToRadius(d.coordinates[1]),c=Math.asin(Math.sin(a)*Math.cos(l)+Math.cos(a)*Math.sin(l)*Math.cos(m)),u=o+Math.atan2(Math.sin(m)*Math.sin(l)*Math.cos(a),Math.cos(l)-Math.sin(a)*Math.sin(c));return u=(u+3*Math.PI)%(2*Math.PI)-Math.PI,{type:"Point",coordinates:[p.numberToDegree(c),p.numberToDegree(u)]}}})()}}}}},{extensions:[".js",".json"]}),ae=X("/node_modules/meteor/geojson-utils/main.js");Package._define("geojson-utils",ae,{GeoJSON:oe})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.ejson.EJSON,oe=Package.modules.meteorInstall,X=Package.promise.Promise,ae,k=oe({node_modules:{meteor:{"id-map":{
19"id-map.js":function(f,p,P){P.export({IdMap:()=>i});class i{constructor(m,l){this._map=new Map,this._idStringify=m||JSON.stringify,this._idParse=l||JSON.parse}get(m){let l=this._idStringify(m);return this._map.get(l)}set(m,l){let a=this._idStringify(m);this._map.set(a,l)}remove(m){let l=this._idStringify(m);this._map.delete(l)}has(m){let l=this._idStringify(m);return this._map.has(l)}empty(){return this._map.size===0}clear(){this._map.clear()}forEach(m){for(let[l,a]of this._map)if(m.call(null,a,this._idParse(l))===!1)return}size(){return this._map.size}setDefault(m,l){let a=this._idStringify(m);return this._map.has(a)?this._map.get(a):(this._map.set(a,l),l)}clone(){let m=new i(this._idStringify,this._idParse);return this._map.forEach((function(l,a){m._map.set(a,ee.clone(l))})),m}}}}}}},{extensions:[".js",".json"]}),O=k("/node_modules/meteor/id-map/id-map.js");Package._define("id-map",O,{IdMap:ae})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.modules.meteorInstall,oe=Package.promise.Promise,X,ae,k=ee({node_modules:{meteor:{random:{
19"main_client.js":function(f,p,P){let i,d,m,l;P.export({Random:()=>a}),P.link("./BrowserRandomGenerator",{default(o){i=o}},0),P.link("./createAleaGenerator",{default(o){d=o}},1),P.link("./createRandom",{default(o){m=o}},2),l=typeof window<"u"&&window.crypto&&window.crypto.getRandomValues?new i:d();let a=m(l)},
19"AbstractRandomGenerator.js":function(f,p,P){let i;P.export({default:()=>l}),P.link("meteor/meteor",{Meteor(a){i=a}},0);let d="23456789ABCDEFGHJKLMNPQRSTWXYZabcdefghijkmnopqrstuvwxyz",m="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789-_";class l{fraction(){throw new Error("Unknown random generator type")}hexString(o){return this._randomString(o,"0123456789abcdef")}_randomString(o,c){let u="";for(let g=0;g<o;g++)u+=this.choice(c);return u}id(o){return o===void 0&&(o=17),this._randomString(o,d)}secret(o){return o===void 0&&(o=43),this._randomString(o,m)}choice(o){let c=Math.floor(this.fraction()*o.length);return typeof o=="string"?o.substr(c,1):o[c]}}},
19"AleaRandomGenerator.js":function(f,p,P){let i;function d(l){function a(){let E=4022871197,w=S=>{S=S.toString();for(let I=0;I<S.length;I++){E+=S.charCodeAt(I);let D=.02519603282416938*E;E=D>>>0,D-=E,D*=E,E=D>>>0,D-=E,E+=4294967296*D}return 23283064365386963e-26*(E>>>0)};return w.version="Mash 0.9",w}let o=0,c=0,u=0,g=1;l.length===0&&(l=[+new Date]);let v=a();o=v(" "),c=v(" "),u=v(" ");for(let E=0;E<l.length;E++)o-=v(l[E]),o<0&&(o+=1),c-=v(l[E]),c<0&&(c+=1),u-=v(l[E]),u<0&&(u+=1);v=null;let _=()=>{let E=2091639*o+23283064365386963e-26*g;return o=c,c=u,u=E-(g=0|E)};return _.uint32=()=>4294967296*_(),_.fract53=()=>_()+11102230246251565e-32*(2097152*_()|0),_.version="Alea 0.9",_.args=l,_}P.export({default:()=>m}),P.link("./AbstractRandomGenerator",{default(l){i=l}},0);class m extends i{constructor(){let{seeds:a=[]}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(super(),!a)throw new Error("No seeds were provided for Alea PRNG");this.alea=d(a)}fraction(){return this.alea()}}},
19"BrowserRandomGenerator.js":function(f,p,P){let i;P.export({default:()=>d}),P.link("./AbstractRandomGenerator",{default(m){i=m}},0);class d extends i{fraction(){let l=new Uint32Array(1);return window.crypto.getRandomValues(l),23283064365386963e-26*l[0]}}},
19"createAleaGenerator.js":function(f,p,P){let i;P.export({default:()=>a}),P.link("./AleaRandomGenerator",{default(o){i=o}},0);let d=typeof window<"u"&&window.innerHeight||typeof document<"u"&&document.documentElement&&document.documentElement.clientHeight||typeof document<"u"&&document.body&&document.body.clientHeight||1,m=typeof window<"u"&&window.innerWidth||typeof document<"u"&&document.documentElement&&document.documentElement.clientWidth||typeof document<"u"&&document.body&&document.body.clientWidth||1,l=typeof navigator<"u"&&navigator.userAgent||"";function a(){return new i({seeds:[new Date,d,m,l,Math.random()]})}},
19"createRandom.js":function(f,p,P){let i,d;function m(l){return l.createWithSeeds=function(){for(var a=arguments.length,o=new Array(a),c=0;c<a;c++)o[c]=arguments[c];if(o.length===0)throw new Error("No seeds were provided");return new i({seeds:o})},l.insecure=d(),l}P.export({default:()=>m}),P.link("./AleaRandomGenerator",{default(l){i=l}},0),P.link("./createAleaGenerator",{default(l){d=l}},1)}}}}},{extensions:[".js",".json"]}),O=k("/node_modules/meteor/random/main_client.js");Package._define("random",O,{Random:ae})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.ejson.EJSON,oe=Package.random.Random,X=Package.modules.meteorInstall,ae=Package.promise.Promise,k,O,f=X({node_modules:{meteor:{"mongo-id":{
19"id.js":function(P,i,d){let m,l;d.export({MongoID:()=>a}),d.link("meteor/ejson",{EJSON(o){m=o}},0),d.link("meteor/random",{Random(o){l=o}},1);let a={_looksLikeObjectID:o=>o.length===24&&/^[0-9a-f]*$/.test(o),ObjectID:class{constructor(c){if(c){if(c=c.toLowerCase(),!a._looksLikeObjectID(c))throw new Error("Invalid hexadecimal string for creating an ObjectID");this._str=c}else this._str=l.hexString(24)}equals(c){return c instanceof a.ObjectID&&this.valueOf()===c.valueOf()}toString(){return'ObjectID("'.concat(this._str,'")')}clone(){return new a.ObjectID(this._str)}typeName(){return"oid"}getTimestamp(){return Number.parseInt(this._str.substr(0,8),16)}valueOf(){return this._str}toJSONValue(){return this.valueOf()}toHexString(){return this.valueOf()}}};m.addType("oid",(o=>new a.ObjectID(o))),a.idStringify=o=>{if(o instanceof a.ObjectID)return o.valueOf();if(typeof o=="string"){var c=o.charAt(0);return o===""?o:c==="-"||c==="~"||a._looksLikeObjectID(o)||c==="{"?"-".concat(o):o}if(o===void 0)return"-";if(typeof o=="object"&&o!==null)throw new Error("Meteor does not currently support objects other than ObjectID as ids");return"~".concat(JSON.stringify(o))},a.idParse=o=>{var c=o.charAt(0);return o===""?o:o==="-"?void 0:c==="-"?o.substr(1):c==="~"?JSON.parse(o.substr(1)):a._looksLikeObjectID(o)?new a.ObjectID(o):o}}}}}},{extensions:[".js",".json"]}),p=f("/node_modules/meteor/mongo-id/id.js");Package._define("mongo-id",p,{MongoID:O})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.modules.meteorInstall,oe=Package.promise.Promise,X,ae=ee({node_modules:{meteor:{"ordered-dict":{
19"ordered_dict.js":function(O,f,p){function P(d,m,l,a){return{key:d,value:m,next:l,prev:a}}p.export({OrderedDict:()=>i});class i{constructor(){this._dict=Object.create(null),this._first=null,this._last=null,this._size=0;for(var m=arguments.length,l=new Array(m),a=0;a<m;a++)l[a]=arguments[a];typeof l[0]=="function"?this._stringify=l.shift():this._stringify=function(o){return o},l.forEach((o=>this.putBefore(o[0],o[1],null)))}_k(m){return" "+this._stringify(m)}empty(){return!this._first}size(){return this._size}_linkEltIn(m){m.next?(m.prev=m.next.prev,m.next.prev=m,m.prev&&(m.prev.next=m)):(m.prev=this._last,this._last&&(this._last.next=m),this._last=m),this._first!==null&&this._first!==m.next||(this._first=m)}_linkEltOut(m){m.next&&(m.next.prev=m.prev),m.prev&&(m.prev.next=m.next),m===this._last&&(this._last=m.prev),m===this._first&&(this._first=m.next)}putBefore(m,l,a){if(this._dict[this._k(m)])throw new Error("Item "+m+" already present in OrderedDict");var o=P(m,l,a?this._dict[this._k(a)]:null);if(typeof o.next>"u")throw new Error("could not find item to put this one before");this._linkEltIn(o),this._dict[this._k(m)]=o,this._size++}append(m,l){this.putBefore(m,l,null)}remove(m){var l=this._dict[this._k(m)];if(typeof l>"u")throw new Error("Item "+m+" not present in OrderedDict");return this._linkEltOut(l),this._size--,delete this._dict[this._k(m)],l.value}get(m){if(this.has(m))return this._dict[this._k(m)].value}has(m){return Object.prototype.hasOwnProperty.call(this._dict,this._k(m))}forEach(m){let l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;for(var a=0,o=this._first;o!==null;){var c;if(m.call(l,o.value,o.key,a)===i.BREAK)return;o=o.next,a++}}first(){if(!this.empty())return this._first.key}firstValue(){if(!this.empty())return this._first.value}last(){if(!this.empty())return this._last.key}lastValue(){if(!this.empty())return this._last.value}prev(m){if(this.has(m)){var l=this._dict[this._k(m)];if(l.prev)return l.prev.key}return null}next(m){if(this.has(m)){var l=this._dict[this._k(m)];if(l.next)return l.next.key}return null}moveBefore(m,l){var a=this._dict[this._k(m)],o=l?this._dict[this._k(l)]:null;if(typeof a>"u")throw new Error("Item to move is not present");if(typeof o>"u")throw new Error("Could not find element to move this one before");o!==a.next&&(this._linkEltOut(a),a.next=o,this._linkEltIn(a))}indexOf(m){var l=null;return this.forEach(((a,o,c)=>{if(this._k(o)===this._k(m))return l=c,i.BREAK})),l}_checkRep(){Object.keys(this._dict).forEach((m=>{let l=this._dict[m];if(l.next===l)throw new Error("Next is a loop");if(l.prev===l)throw new Error("Prev is a loop")}))}}i.BREAK={break:!0}}}}}},{extensions:[".js",".json"]}),k=ae("/node_modules/meteor/ordered-dict/ordered_dict.js");Package._define("ordered-dict",k,{OrderedDict:X})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.modules.meteorInstall,oe=Package.promise.Promise,X,ae,k,O=ee({node_modules:{meteor:{tracker:{
19"tracker.js":function(){function p(){return typeof ne<"u"?ne._debug:typeof console<"u"&&console.error?function(){console.error.apply(console,arguments)}:function(){}}function P(E){typeof ne<"u"&&ne._suppressed_log_expected()&&ne._suppress_log(E-1)}function i(E,w){if(u)throw w;var S=["Exception from Tracker "+E+" function:"];if(w.stack&&w.message&&w.name){var I=w.stack.indexOf(w.message);if(I<0||I>w.name.length+2){var D=w.name+": "+w.message;S.push(D)}}S.push(w.stack),P(S.length);for(var y=0;y<S.length;y++)p()(S[y])}function d(E){return typeof ne>"u"||ne.isClient?E:function(){var w=arguments;ne._noYieldsAllowed((function(){E.apply(null,w)}))}}ae=X={},X.active=!1,X.currentComputation=null;var m=1,l=[],a=!1,o=!1,c=!1,u=!1,g=[];function v(){a||(typeof ne<"u"?ne._setImmediate(X._runFlush):setTimeout(X._runFlush,0),a=!0)}var _=!1;X.Computation=class{constructor(w,S,I){if(!_)throw new Error("Tracker.Computation constructor is private; use Tracker.autorun");_=!1,this.stopped=!1,this.invalidated=!1,this.firstRun=!0,this._id=m++,this._onInvalidateCallbacks=[],this._onStopCallbacks=[],this._parent=S,this._func=w,this._onError=I,this._recomputing=!1;var D=!0;try{this._compute(),D=!1}finally{this.firstRun=!1,D&&this.stop()}}onInvalidate(w){if(typeof w!="function")throw new Error("onInvalidate requires a function");this.invalidated?X.nonreactive((()=>{d(w)(this)})):this._onInvalidateCallbacks.push(w)}onStop(w){if(typeof w!="function")throw new Error("onStop requires a function");this.stopped?X.nonreactive((()=>{d(w)(this)})):this._onStopCallbacks.push(w)}invalidate(){if(!this.invalidated){this._recomputing||this.stopped||(v(),l.push(this)),this.invalidated=!0;for(var w=0,S;S=this._onInvalidateCallbacks[w];w++)X.nonreactive((()=>{d(S)(this)}));this._onInvalidateCallbacks=[]}}stop(){if(!this.stopped){this.stopped=!0,this.invalidate();for(var w=0,S;S=this._onStopCallbacks[w];w++)X.nonreactive((()=>{d(S)(this)}));this._onStopCallbacks=[]}}_compute(){this.invalidated=!1;var w=c;c=!0;try{X.withComputation(this,(()=>{d(this._func)(this)}))}finally{c=w}}_needsRecompute(){return this.invalidated&&!this.stopped}_recompute(){this._recomputing=!0;try{if(this._needsRecompute())try{this._compute()}catch(w){this._onError?this._onError(w):i("recompute",w)}}finally{this._recomputing=!1}}flush(){this._recomputing||this._recompute()}run(){this.invalidate(),this.flush()}},X.Dependency=class{constructor(){this._dependentsById=Object.create(null)}depend(w){if(!w){if(!X.active)return!1;w=X.currentComputation}var S=w._id;return!(S in this._dependentsById)&&(this._dependentsById[S]=w,w.onInvalidate((()=>{delete this._dependentsById[S]})),!0)}changed(){for(var w in this._dependentsById)this._dependentsById[w].invalidate()}hasDependents(){for(var w in this._dependentsById)return!0;return!1}},X.flush=function(E){X._runFlush({finishSynchronously:!0,throwFirstError:E&&E._throwFirstError})},X.inFlush=function(){return o},X._runFlush=function(E){if(X.inFlush())throw new Error("Can't call Tracker.flush while flushing");if(c)throw new Error("Can't flush inside Tracker.autorun");o=!0,a=!0,u=!!(E=E||{}).throwFirstError;var w=0,S=!1;try{for(;l.length||g.length;){for(;l.length;){var I=l.shift();if(I._recompute(),I._needsRecompute()&&l.unshift(I),!E.finishSynchronously&&++w>1e3)return void(S=!0)}if(g.length){var D=g.shift();try{D()}catch(y){i("afterFlush",y)}}}S=!0}finally{if(S||(o=!1,X._runFlush({finishSynchronously:E.finishSynchronously,throwFirstError:!1})),a=!1,o=!1,l.length||g.length){if(E.finishSynchronously)throw new Error("still have more to do?");setTimeout(v,10)}}},X.autorun=function(E,w){if(typeof E!="function")throw new Error("Tracker.autorun requires a function argument");w=w||{},_=!0;var S=new X.Computation(E,X.currentComputation,w.onError);return X.active&&X.onInvalidate((function(){S.stop()})),S},X.nonreactive=function(E){return X.withComputation(null,E)},X.withComputation=function(E,w){var S=X.currentComputation;X.currentComputation=E,X.active=!!E;try{return w()}finally{X.currentComputation=S,X.active=!!S}},X.onInvalidate=function(E){if(!X.active)throw new Error("Tracker.onInvalidate requires a currentComputation");X.currentComputation.onInvalidate(E)},X.afterFlush=function(E){g.push(E),v()}}}}}},{extensions:[".js",".json"]});O("/node_modules/meteor/tracker/tracker.js"),Package._define("tracker",{Tracker:X,Deps:ae})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package["diff-sequence"].DiffSequence,oe=Package.ejson.EJSON,X=Package["geojson-utils"].GeoJSON,ae=Package["id-map"].IdMap,k=Package["mongo-id"].MongoID,O=Package["ordered-dict"].OrderedDict,f
19=Package.random.Random,p=Package.tracker.Tracker,P=Package.tracker.Deps,i=Package.modules.meteorInstall,d=Package.promise.Promise,m,l,a,o,c,u,g,v,_,E,w,S,I,D=i({node_modules:{meteor:{minimongo:{
19"minimongo_client.js":function(b,U,j){j.link("./minimongo_common.js")},
19"common.js":function(b,U,j){let F;j.export({hasOwn:()=>C,ELEMENT_OPERATORS:()=>N,compileDocumentSelector:()=>z,equalityElementMatcher:()=>le,expandArraysInBranches:()=>de,isIndexable:()=>B,isNumericKey:()=>G,isOperatorObject:()=>te,makeLookupFunction:()=>ve,nothingMatcher:()=>be,pathsToTree:()=>Ne,populateDocumentWithQueryFields:()=>rt,projectionDetails:()=>lt,regexpElementMatcher:()=>yt}),j.link("./local_collection.js",{default(Y){F=Y}},0);let C=Object.prototype.hasOwnProperty,N={$lt:ce((Y=>Y<0)),$gt:ce((Y=>Y>0)),$lte:ce((Y=>Y<=0)),$gte:ce((Y=>Y>=0)),$mod:{compileElementSelector(Y){if(!Array.isArray(Y)||Y.length!==2||typeof Y[0]!="number"||typeof Y[1]!="number")throw Error("argument to $mod must be an array of two numbers");let he=Y[0],me=Y[1];return _e=>typeof _e=="number"&&_e%he===me}},$in:{compileElementSelector(Y){if(!Array.isArray(Y))throw Error("$in needs an array");let he=Y.map((me=>{if(me instanceof RegExp)return yt(me);if(te(me))throw Error("cannot nest $ under $in");return le(me)}));return me=>(me===void 0&&(me=null),he.some((_e=>_e(me))))}},$size:{dontExpandLeafArrays:!0,compileElementSelector(Y){if(typeof Y=="string")Y=0;else if(typeof Y!="number")throw Error("$size needs a number");return he=>Array.isArray(he)&&he.length===Y}},$type:{dontIncludeLeafArrays:!0,compileElementSelector(Y){if(typeof Y=="string"){let he={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(he,Y))throw Error("unknown string alias for $type: ".concat(Y));Y=he[Y]}else{if(typeof Y!="number")throw Error("argument to $type is not a number or a string");if(Y===0||Y<-1||Y>19&&Y!==127)throw Error("Invalid numerical $type code: ".concat(Y))}return he=>he!==void 0&&F._f._type(he)===Y}},$bitsAllSet:{compileElementSelector(Y){let he=$(Y,"$bitsAllSet");return me=>{let _e=A(me,he.length);return _e&&he.every(((Se,je)=>(_e[je]&Se)===Se))}}},$bitsAnySet:{compileElementSelector(Y){let he=$(Y,"$bitsAnySet");return me=>{let _e=A(me,he.length);return _e&&he.some(((Se,je)=>(~_e[je]&Se)!==Se))}}},$bitsAllClear:{compileElementSelector(Y){let he=$(Y,"$bitsAllClear");return me=>{let _e=A(me,he.length);return _e&&he.every(((Se,je)=>!(_e[je]&Se)))}}},$bitsAnyClear:{compileElementSelector(Y){let he=$(Y,"$bitsAnyClear");return me=>{let _e=A(me,he.length);return _e&&he.some(((Se,je)=>(_e[je]&Se)!==Se))}}},$regex:{compileElementSelector(Y,he){if(!(typeof Y=="string"||Y instanceof RegExp))throw Error("$regex has to be a string or RegExp");let me;if(he.$options!==void 0){if(/[^gim]/.test(he.$options))throw new Error("Only the i, m, and g regexp options are supported");let _e=Y instanceof RegExp?Y.source:Y;me=new RegExp(_e,he.$options)}else me=Y instanceof RegExp?Y:new RegExp(Y);return yt(me)}},$elemMatch:{dontExpandLeafArrays:!0,compileElementSelector(Y,he,me){if(!F._isPlainObject(Y))throw Error("$elemMatch need an object");let _e=!te(Object.keys(Y).filter((je=>!C.call(K,je))).reduce(((je,Ie)=>Object.assign(je,{[Ie]:Y[Ie]})),{}),!0),Se;return Se=_e?z(Y,me,{inElemMatch:!0}):V(Y,me),je=>{if(!Array.isArray(je))return!1;for(let Ie=0;Ie<je.length;++Ie){let Ue=je[Ie],Le;if(_e){if(!B(Ue))return!1;Le=Ue}else Le=[{value:Ue,dontIterate:!0}];if(Se(Le).result)return Ie}return!1}}}},K={$and:(Y,he,me)=>W(L(Y,he,me)),$or(Y,he,me){let _e=L(Y,he,me);return _e.length===1?_e[0]:Se=>({result:_e.some((Ie=>Ie(Se).result))})},$nor(Y,he,me){let _e=L(Y,he,me);return Se=>({result:_e.every((Ie=>!Ie(Se).result))})},$where:(Y,he)=>(he._recordPathUsed(""),he._hasWhere=!0,Y instanceof Function||(Y=Function("obj","return ".concat(Y))),me=>({result:Y.call(me,me)})),$comment:()=>()=>({result:!0})},re={$eq:Y=>J(le(Y)),$not:(Y,he,me)=>M(V(Y,me)),$ne:Y=>M(J(le(Y))),$nin:Y=>M(J(N.$in.compileElementSelector(Y))),$exists(Y){let he=J((me=>me!==void 0));return Y?he:M(he)},$options(Y,he){if(!C.call(he,"$regex"))throw Error("$options needs a $regex");return H},$maxDistance(Y,he){if(!he.$near)throw Error("$maxDistance needs a $near");return H},$all(Y,he,me){if(!Array.isArray(Y))throw Error("$all requires array");if(Y.length===0)return be;
19let _e=Y.map((Se=>{if(te(Se))throw Error("no $ expressions in $all");return V(Se,me)}));return T(_e)},$near(Y,he,me,_e){if(!_e)throw Error("$near can't be inside another $ operator");let Se,je,Ie;if(me._hasGeoQuery=!0,F._isPlainObject(Y)&&C.call(Y,"$geometry"))Se=Y.$maxDistance,je=Y.$geometry,Ie=Ue=>Ue?Ue.type?Ue.type==="Point"?X.pointDistance(je,Ue):X.geometryWithinRadius(Ue,je,Se)?0:Se+1:X.pointDistance(je,{type:"Point",coordinates:We(Ue)}):null;else{if(Se=he.$maxDistance,!B(Y))throw Error("$near argument must be coordinate pair or GeoJSON");je=We(Y),Ie=Ue=>B(Ue)?ie(je,Ue):null}return Ue=>{let Le={result:!1};return de(Ue).every((Ze=>{let vt;return!me._isUpdate&&(typeof Ze.value!="object"||(vt=Ie(Ze.value),vt===null||vt>Se)||Le.distance!==void 0&&Le.distance<=vt)?!0:(Le.result=!0,Le.distance=vt,Ze.arrayIndices?Le.arrayIndices=Ze.arrayIndices:delete Le.arrayIndices,!me._isUpdate)})),Le}}};function q(Y){return Y.length===0?H:Y.length===1?Y[0]:he=>{let me={};return me.result=Y.every((_e=>{let Se=_e(he);return Se.result&&Se.distance!==void 0&&me.distance===void 0&&(me.distance=Se.distance),Se.result&&Se.arrayIndices&&(me.arrayIndices=Se.arrayIndices),Se.result})),me.result||(delete me.distance,delete me.arrayIndices),me}}let W=q,T=q;function L(Y,he,me){if(!Array.isArray(Y)||Y.length===0)throw Error("$and/$or/$nor must be nonempty array");return Y.map((_e=>{if(!F._isPlainObject(_e))throw Error("$or/$and/$nor entries need to be full objects");return z(_e,he,{inElemMatch:me})}))}function z(Y,he){let me=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},_e=Object.keys(Y).map((Se=>{let je=Y[Se];if(Se.substr(0,1)==="$"){if(!C.call(K,Se))throw new Error("Unrecognized logical operator: ".concat(Se));return he._isSimple=!1,K[Se](je,he,me.inElemMatch)}if(me.inElemMatch||he._recordPathUsed(Se),typeof je=="function")return;let Ie=ve(Se),Ue=V(je,he,me.isRoot);return Le=>Ue(Ie(Le))})).filter(Boolean);return W(_e)}function V(Y,he,me){return Y instanceof RegExp?(he._isSimple=!1,J(yt(Y))):te(Y)?Pe(Y,he,me):J(le(Y))}function J(Y){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return me=>{let _e=he.dontExpandLeafArrays?me:de(me,he.dontIncludeLeafArrays),Se={};return Se.result=_e.some((je=>{let Ie=Y(je.value);return typeof Ie=="number"&&(je.arrayIndices||(je.arrayIndices=[Ie]),Ie=!0),Ie&&je.arrayIndices&&(Se.arrayIndices=je.arrayIndices),Ie})),Se}}function ie(Y,he){let me=We(Y),_e=We(he);return Math.hypot(me[0]-_e[0],me[1]-_e[1])}function le(Y){if(te(Y))throw Error("Can't create equalityValueSelector for operator object");return Y==null?he=>he==null:he=>F._f._equal(Y,he)}function H(Y){return{result:!0}}function de(Y,he){let me=[];return Y.forEach((_e=>{let Se=Array.isArray(_e.value);he&&Se&&!_e.dontIterate||me.push({arrayIndices:_e.arrayIndices,value:_e.value}),Se&&!_e.dontIterate&&_e.value.forEach(((je,Ie)=>{me.push({arrayIndices:(_e.arrayIndices||[]).concat(Ie),value:je})}))})),me}function $(Y,he){if(Number.isInteger(Y)&&Y>=0)return new Uint8Array(new Int32Array([Y]).buffer);if(oe.isBinary(Y))return new Uint8Array(Y.buffer);if(Array.isArray(Y)&&Y.every((me=>Number.isInteger(me)&&me>=0))){let me=new ArrayBuffer(1+(Math.max(...Y)>>3)),_e=new Uint8Array(me);return Y.forEach((Se=>{_e[Se>>3]|=1<<(7&Se)})),_e}throw Error("operand to ".concat(he," 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 A(Y,he){if(Number.isSafeInteger(Y)){let me=new ArrayBuffer(Math.max(he,2*Uint32Array.BYTES_PER_ELEMENT)),_e=new Uint32Array(me,0,2);return _e[0]=Y%4294967296|0,_e[1]=Y/4294967296|0,Y<0&&(_e=new Uint8Array(me,2),_e.forEach(((Se,je)=>{_e[je]=255}))),new Uint8Array(me)}return!!oe.isBinary(Y)&&new Uint8Array(Y.buffer)}function x(Y,he,me){Object.keys(Y).forEach((_e=>{if(_e.length>he.length&&_e.indexOf("".concat(he,"."))===0||he.length>_e.length&&he.indexOf("".concat(_e,"."))===0)throw new Error("cannot infer query fields to set, both paths '".concat(_e,"' and ")+"'".concat(he,"' are matched"));if(_e===he)throw new Error("cannot infer query fields to set, path '".concat(he,"' is matched twice"))})),Y[he]=me}function M(Y){return he=>({result:!Y(he).result})}function B(Y){return Array.isArray(Y)||F._isPlainObject(Y)}function G(Y){return/^[0-9]+$/.test(Y)}function te(Y,he){if(!F._isPlainObject(Y))return!1;let me;return Object.keys(Y).forEach((_e=>{let Se=_e.substr(0,1)==="$"||_e==="diff";if(me===void 0)me=Se;else if(me!==Se){if(!he)throw new Error("Inconsistent operator: ".concat(JSON.stringify(Y)));me=!1}})),!!me}function ce(Y){return{compileElementSelector(he){if(Array.isArray(he))return()=>!1;he===void 0&&(he=null);let me=F._f._type(he);return _e=>
19(_e===void 0&&(_e=null),F._f._type(_e)===me&&Y(F._f._cmp(_e,he)))}}}function ve(Y){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},me=Y.split("."),_e=me.length?me[0]:"",Se=me.length>1&&ve(me.slice(1).join("."),he);function je(Ie,Ue,Le){return Ie&&Ie.length?Ue?[{arrayIndices:Ie,dontIterate:Ue,value:Le}]:[{arrayIndices:Ie,value:Le}]:Ue?[{dontIterate:Ue,value:Le}]:[{value:Le}]}return(Ie,Ue)=>{if(Array.isArray(Ie)){if(!(G(_e)&&_e<Ie.length))return[];Ue=Ue?Ue.concat(+_e,"x"):[+_e,"x"]}let Le=Ie[_e];if(!Se)return je(Ue,Array.isArray(Ie)&&Array.isArray(Le),Le);if(!B(Le))return Array.isArray(Ie)?[]:je(Ue,!1,void 0);let Ze=[],vt=Rn=>{Ze.push(...Rn)};return vt(Se(Le,Ue)),!Array.isArray(Le)||G(me[1])&&he.forSort||Le.forEach(((Rn,sr)=>{F._isPlainObject(Rn)&&vt(Se(Rn,Ue?Ue.concat(sr):[sr]))})),Ze}}function be(Y){return{result:!1}}function Pe(Y,he,me){let _e=Object.keys(Y).map((Se=>{let je=Y[Se],Ie=["$lt","$lte","$gt","$gte"].includes(Se)&&typeof je=="number",Ue=["$ne","$eq"].includes(Se)&&je!==Object(je),Le=["$in","$nin"].includes(Se)&&Array.isArray(je)&&!je.some((Ze=>Ze===Object(Ze)));if(Ie||Le||Ue||(he._isSimple=!1),C.call(re,Se))return re[Se](je,Y,he,me);if(C.call(N,Se)){let Ze=N[Se];return J(Ze.compileElementSelector(je,Y,he),Ze)}throw new Error("Unrecognized operator: ".concat(Se))}));return T(_e)}function Ne(Y,he,me){let _e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return Y.forEach((Se=>{let je=Se.split("."),Ie=_e,Ue=void 0;if(je.slice(0,-1).every(((Le,Ze)=>{if(C.call(Ie,Le)){if(Ie[Le]!==Object(Ie[Le])&&(Ie[Le]=me(Ie[Le],je.slice(0,Ze+1).join("."),Se),Ie[Le]!==Object(Ie[Le])))return!1}else Ie[Le]={};return Ie=Ie[Le],!0}))){let Le=je[je.length-1];C.call(Ie,Le)?Ie[Le]=me(Ie[Le],Se,Se):Ie[Le]=he(Se)}})),_e}function We(Y){return Array.isArray(Y)?Y.slice():[Y.x,Y.y]}function Ve(Y,he,me){me&&Object.getPrototypeOf(me)===Object.prototype?Ke(Y,he,me):me instanceof RegExp||x(Y,he,me)}function Ke(Y,he,me){let _e=Object.keys(me),Se=_e.filter((je=>je[0]!=="$"));if(Se.length>0||!_e.length){if(_e.length!==Se.length)throw new Error("unknown operator: ".concat(Se[0]));Jt(me,he),x(Y,he,me)}else Object.keys(me).forEach((je=>{let Ie=me[je];je==="$eq"?Ve(Y,he,Ie):je==="$all"&&Ie.forEach((Ue=>Ve(Y,he,Ue)))}))}function rt(Y){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Object.getPrototypeOf(Y)===Object.prototype?Object.keys(Y).forEach((me=>{let _e=Y[me];me==="$and"?_e.forEach((Se=>rt(Se,he))):me==="$or"?_e.length===1&&rt(_e[0],he):me[0]!=="$"&&Ve(he,me,_e)})):F._selectorIsId(Y)&&x(he,"_id",Y),he}function lt(Y){let he=Object.keys(Y).sort();he.length===1&&he[0]==="_id"||he.includes("_id")&&Y._id||(he=he.filter((Se=>Se!=="_id")));let me=null;he.forEach((Se=>{let je=!!Y[Se];if(me===null&&(me=je),me!==je)throw o("You cannot currently mix including and excluding fields.")}));let _e=Ne(he,(Se=>me),((Se,je,Ie)=>{let Le=je;throw o("both ".concat(Ie," and ").concat(Le," found in fields option, ")+"using both of them may trigger unexpected behavior. Did you mean to use only one of them?")}));return{including:me,tree:_e}}function yt(Y){return he=>he instanceof RegExp?he.toString()===Y.toString():typeof he=="string"&&(Y.lastIndex=0,Y.test(he))}function Qt(Y,he){if(Y.includes("."))throw new Error("The dotted field '".concat(Y,"' in '").concat(he,".").concat(Y," is not valid for storage."));if(Y[0]==="$")throw new Error("The dollar ($) prefixed field  '".concat(he,".").concat(Y," is not valid for storage."))}function Jt(Y,he){Y&&Object.getPrototypeOf(Y)===Object.prototype&&Object.keys(Y).forEach((me=>{Qt(me,he),Jt(Y[me],he+"."+me)}))}a={makeLookupFunction:ve},o=function(Y){let he=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};typeof Y=="string"&&he.field&&(Y+=" for field '".concat(he.field,"'"));let me=new Error(Y);return me.name="MinimongoError",me}},
19"constants.js":function(b,U,j){function F(K){return"".concat(K.replace("_",""),"Async")}j.export({getAsyncMethodName:()=>F,ASYNC_COLLECTION_METHODS:()=>C,ASYNC_CURSOR_METHODS:()=>N});let C=["_createCappedCollection","_dropCollection","_dropIndex","createIndex","findOne","insert","remove","update","upsert"],N=["count","fetch","forEach","map"]},
19"cursor.js":function(b,U,j){let F,C,N,K;j.export({default:()=>re}),j.link("./local_collection.js",{default(q){F=q}},0),j.link("./common.js",{hasOwn(q){C=q}},1),j.link("./constants",{ASYNC_CURSOR_METHODS(q){N=q},getAsyncMethodName(q){K=q}},2);class re{constructor(W,T){let L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.collection=W,this.sorter=null,this.matcher=new I.Matcher(T),F._selectorIsIdPerhapsAsObject(T)?this._selectorId=C.call(T,"_id")?T._id:T:(this._selectorId=void 0,(this.matcher.hasGeoQuery()||L.sort)&&(this.sorter=new I.Sorter(L.sort||[]))),this.skip=L.skip||0,this.limit=L.limit,this.fields=L.projection||L.fields,this._projectionFn=F._compileProjection(this.fields||{}),this._transform=F.wrapTransform(L.transform),typeof p<"u"&&(this.reactive=L.reactive===void 0||L.reactive)}count(){return this.reactive&&this._depend({added:!0,removed:!0},!0),this._getRawObjects({ordered:!0}).length}fetch(){let W=[];return this.forEach((T=>{W.push(T)})),W}[Symbol.iterator](){this.reactive&&this._depend({addedBefore:!0,removed:!0,changed:!0,movedBefore:!0});let W=0,T=this._getRawObjects({ordered:!0});return{next:()=>{if(W<T.length){let L=this._projectionFn(T[W++]);return this._transform&&(L=this._transform(L)),{value:L}}return{done:!0}}}}[Symbol.asyncIterator](){let W=this[Symbol.iterator]();return{next:async()=>d.resolve(W.next())}}forEach(W,T){this.reactive&&this._depend({addedBefore:!0,removed:!0,changed:!0,movedBefore:!0}),this._getRawObjects({ordered:!0}).forEach(((L,z)=>{L=this._projectionFn(L),this._transform&&(L=this._transform(L)),W.call(T,L,z,this)}))}getTransform(){return this._transform}map(W,T){let L=[];return this.forEach(((z,V)=>{L.push(W.call(T,z,V,this))})),L}observe(W){return F._observeFromObserveChanges(this,W)}observeChanges(W){let T=F._observeChangesCallbacksAreOrdered(W);if(!W._allow_unordered&&!T&&(this.skip||this.limit))throw new Error("Mu
19st use an ordered observe with skip or limit (i.e. 'addedBefore' for observeChanges or 'addedAt' for observe, instead of 'added').");if(this.fields&&(this.fields._id===0||this.fields._id===!1))throw Error("You may not observe a cursor with {fields: {_id: 0}}");let L=void 0,z={cursor:this,dirty:!1,distances:this.matcher.hasGeoQuery()&&T&&new F._IdMap,matcher:this.matcher,ordered:T,projectionFn:this._projectionFn,resultsSnapshot:null,sorter:T&&this.sorter},V;this.reactive&&(V=this.collection.next_qid++,this.collection.queries[V]=z),z.results=this._getRawObjects({ordered:T,distances:z.distances}),this.collection.paused&&(z.resultsSnapshot=T?[]:new F._IdMap);let J=le=>{if(!le)return()=>{};let H=this;return function(){if(H.collection.paused)return;let de=arguments;H.collection._observeQueue.queueTask((()=>{le.apply(this,de)}))}};z.added=J(W.added),z.changed=J(W.changed),z.removed=J(W.removed),T&&(z.addedBefore=J(W.addedBefore),z.movedBefore=J(W.movedBefore)),W._suppress_initial||this.collection.paused||z.results.forEach((le=>{let H=oe.clone(le);delete H._id,T&&z.addedBefore(le._id,this._projectionFn(H),null),z.added(le._id,this._projectionFn(H))}));let ie=Object.assign(new F.ObserveHandle,{collection:this.collection,stop:()=>{this.reactive&&delete this.collection.queries[V]}});return this.reactive&&p.active&&p.onInvalidate((()=>{ie.stop()})),this.collection._observeQueue.drain(),ie}_depend(W,T){if(p.active){let L=new p.Dependency,z=L.changed.bind(L);L.depend();let V={_allow_unordered:T,_suppress_initial:!0};["added","addedBefore","changed","movedBefore","removed"].forEach((J=>{W[J]&&(V[J]=z)})),this.observeChanges(V)}}_getCollectionName(){return this.collection.name}_getRawObjects(){let W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=W.applySkipLimit!==!1,L=W.ordered?[]:new F._IdMap;if(this._selectorId!==void 0){if(T&&this.skip)return L;let V=this.collection._docs.get(this._selectorId);return V&&(W.ordered?L.push(V):L.set(this._selectorId,V)),L}let z;return this.matcher.hasGeoQuery()&&W.ordered&&(W.distances?(z=W.distances,z.clear()):z=new F._IdMap),this.collection._docs.forEach(((V,J)=>{let ie=this.matcher.documentMatches(V);return ie.result&&(W.ordered?(L.push(V),z&&ie.distance!==void 0&&z.set(J,ie.distance)):L.set(J,V)),!T||!this.limit||this.skip||this.sorter||L.length!==this.limit})),W.ordered?(this.sorter&&L.sort(this.sorter.getComparator({distances:z})),T&&(this.limit||this.skip)?L.slice(this.skip,this.limit?this.limit+this.skip:L.length):L):L}_publishCursor(W){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,W,this.collection.name)}}N.forEach((q=>{let W=K(q);re.prototype[W]=function(){try{this[q].isCalledFromAsync=!0;for(var T=arguments.length,L=new Array(T),z=0;z<T;z++)L[z]=arguments[z];return d.resolve(this[q].apply(this,L))}catch(V){return d.reject(V)}}}))},
19"local_collection.js":function(b,U,j){let F,C,N,K,re,q,W,T,L;j.link("@babel/runtime/helpers/objectSpread2",{default($){F=$}},0),j.export({default:()=>z}),j.link("./cursor.js",{default($){C=$}},0),j.link("./observe_handle.js",{default($){N=$}},1),j.link("./common.js",{hasOwn($){K=$},isIndexable($){re=$},isNumericKey($){q=$},isOperatorObject($){W=$},populateDocumentWithQueryFields($){T=$},projectionDetails($){L=$}},2);class z{constructor(A){this.name=A,this._docs=new z._IdMap,this._observeQueue=new ne._SynchronousQueue,this.next_qid=1,this.queries=Object.create(null),this._savedOriginals=null,this.paused=!1}countDocuments(A,x){return this.find(A??{},x).countAsync()}estimatedDocumentCount(A){return this.find({},A).countAsync()}find(A,x){return arguments.length===0&&(A={}),new z.Cursor(this,A,x)}findOne(A){let x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return arguments.length===0&&(A={}),x.limit=1,this.find(A,x).fetch()[0]}insert(A,x){le(A=oe.clone(A)),K.call(A,"_id")||(A._id=z._useOID?new k.ObjectID:f.id());let M=A._id;if(this._docs.has(M))throw o("Duplicate _id '".concat(M,"'"));this._saveOriginal(M,void 0),this._docs.set(M,A);let B=[];return Object.keys(this.queries).forEach((G=>{let te=this.queries[G];if(te.dirty)return;let ce=te.matcher.documentMatches(A);ce.result&&(te.distances&&ce.distance!==void 0&&te.distances.set(M,ce.distance),te.cursor.skip||te.cursor.limit?B.push(G):z._insertInResults(te,A))})),B.forEach((G=>{this.queries[G]&&this._recomputeResults(this.queries[G])})),this._observeQueue.drain(),x&&ne.defer((()=>{x(null,M)})),M}pauseObservers(){this.paused||(this.paused=!0,Object.keys(this.queries).forEach((A=>{let x=this.queries[A];x.resultsSnapshot=oe.clone(x.results)})))}remove(A,x){if(this.paused&&!this._savedOriginals&&oe.equals(A,{})){let ve=this._docs.size();return this._docs.clear(),Object.keys(this.queries).forEach((be=>{let Pe=this.queries[be];Pe.ordered?Pe.results=[]:Pe.results.clear()})),x&&ne.defer((()=>{x(null,ve)})),ve}let M=new I.Matcher(A),B=[];this._eachPossiblyMatchingDoc(A,((ve,be)=>{M.documentMatches(ve).result&&B.push(be)}));let G=[],te=[];for(let ve=0;ve<B.length;ve++){let be=B[ve],Pe=this._docs.get(be);Object.keys(this.queries).forEach((Ne=>{let We=this.queries[Ne];We.dirty||We.matcher.documentMatches(Pe).result&&(We.cursor.skip||We.cursor.limit?G.push(Ne):te.push({qid:Ne,doc:Pe}))})),this._saveOriginal(be,Pe),this._docs.remove(be)}te.forEach((ve=>{let be=this.queries[ve.qid];be&&(be.distances&&be.distances.remove(ve.doc._id),z._removeFromResults(be,ve.doc))})),G.forEach((ve=>{let be=this.queries[ve];be&&this._recomputeResults(be)})),this._observeQueue.drain();let ce=B.length;return x&&ne.defer((()=>{x(null,ce)})),ce}resumeObservers(){this.paused&&(this.paused=!1,Object.keys(this.queries).forEach((A=>{let x=this.queries[A];x.dirty?(x.dirty=!1,this._recomputeResults(x,x.resultsSnapshot)):z._diffQueryChanges(x.ordered,x.resultsSnapshot,x.results,x,{projectionFn:x.projectionFn}),x.resultsSnapshot=null})),this._observeQueue.drain())}retrieveOriginals(){if(!this._savedOriginals)throw new Error("Called retrieveOriginals without saveOriginals");let A=this._savedOriginals;return this._savedOriginals=null,A}saveOriginals(){if(this._savedOriginals)throw new Error("Called saveOriginals twice without retrieveOriginals");this._savedOriginals=new z._IdMap}update(A,x,M,B){!B&&M instanceof Function&&(B=M,M=null),M||(M={});let G=new I.Matcher(A,!0),te={},ce=new z._IdMap,ve=z._idsMatchedBySelector(A);Object.keys(this.queries).forEach((Ve=>{let Ke=this.queries[Ve];if((Ke.cursor.skip||Ke.cursor.limit)&&!this.paused){if(Ke.results instanceof z._IdMap)return void(te[Ve]=Ke.results.clone());if(!(Ke.results instanceof Array))throw new Error("Assertion failed: query.results not an array");let rt=lt=>{if(ce.has(lt._id))return ce.get(lt._id);let yt=ve&&!ve.some((Qt=>oe.equals(Qt,lt._id)))?lt:oe.clone(lt);return ce.set(lt._id,yt),yt};te[Ve]=Ke.results.map(rt)}}));let be={},Pe=0,Ne,We;if(this._eachPossiblyMatchingDoc(A,((Ve,Ke)=>{let rt=G.documentMatches(Ve);return!(rt.result&&(this._saveOriginal(Ke,Ve),this._modifyAndNotify(Ve,x,be,rt.arrayIndices),++Pe,!M.multi))})),Object.keys(be).forEach((Ve=>{let Ke=this.queries[Ve];Ke&&this._recomputeResults(Ke,te[Ve])})),this._observeQueue.drain(),Pe===0&&M.upsert){let Ve=z._createUpsertDocument(A,x);!Ve._id&&M.insertedId&&(Ve._id=M.insertedId),Ne=this.insert(Ve),Pe=1}return M._returnObject?(We={numberAffected:Pe},Ne!==void 0&&(We.insertedId=Ne)):We=Pe,B&&ne.defer((()=>{B(null,We)})),We}
19upsert(A,x,M,B){return B||typeof M!="function"||(B=M,M={}),this.update(A,x,Object.assign({},M,{upsert:!0,_returnObject:!0}),B)}_eachPossiblyMatchingDoc(A,x){let M=z._idsMatchedBySelector(A);M?M.some((B=>{let G=this._docs.get(B);if(G)return x(G,B)===!1})):this._docs.forEach(x)}_modifyAndNotify(A,x,M,B){let G={};Object.keys(this.queries).forEach((ce=>{let ve=this.queries[ce];ve.dirty||(ve.ordered?G[ce]=ve.matcher.documentMatches(A).result:G[ce]=ve.results.has(A._id))}));let te=oe.clone(A);z._modify(A,x,{arrayIndices:B}),Object.keys(this.queries).forEach((ce=>{let ve=this.queries[ce];if(ve.dirty)return;let be=ve.matcher.documentMatches(A),Pe=be.result,Ne=G[ce];Pe&&ve.distances&&be.distance!==void 0&&ve.distances.set(A._id,be.distance),ve.cursor.skip||ve.cursor.limit?(Ne||Pe)&&(M[ce]=!0):Ne&&!Pe?z._removeFromResults(ve,A):!Ne&&Pe?z._insertInResults(ve,A):Ne&&Pe&&z._updateInResults(ve,A,te)}))}_recomputeResults(A,x){this.paused?A.dirty=!0:(this.paused||x||(x=A.results),A.distances&&A.distances.clear(),A.results=A.cursor._getRawObjects({distances:A.distances,ordered:A.ordered}),this.paused||z._diffQueryChanges(A.ordered,x,A.results,A,{projectionFn:A.projectionFn}))}_saveOriginal(A,x){this._savedOriginals&&(this._savedOriginals.has(A)||this._savedOriginals.set(A,oe.clone(x)))}}z.Cursor=C,z.ObserveHandle=N,z._CachingChangeObserver=class{constructor(){let A=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},x=A.callbacks&&z._observeChangesCallbacksAreOrdered(A.callbacks);if(K.call(A,"ordered")){if(this.ordered=A.ordered,A.callbacks&&A.ordered!==x)throw Error("ordered option doesn't match callbacks")}else{if(!A.callbacks)throw Error("must provide ordered or callbacks");this.ordered=x}let M=A.callbacks||{};this.ordered?(this.docs=new O(k.idStringify),this.applyChange={addedBefore:(B,G,te)=>{let ce=F({},G);ce._id=B,M.addedBefore&&M.addedBefore.call(this,B,oe.clone(G),te),M.added&&M.added.call(this,B,oe.clone(G)),this.docs.putBefore(B,ce,te||null)},movedBefore:(B,G)=>{let te=this.docs.get(B);M.movedBefore&&M.movedBefore.call(this,B,G),this.docs.moveBefore(B,G||null)}}):(this.docs=new z._IdMap,this.applyChange={added:(B,G)=>{let te=F({},G);M.added&&M.added.call(this,B,oe.clone(G)),te._id=B,this.docs.set(B,te)}}),this.applyChange.changed=(B,G)=>{let te=this.docs.get(B);if(!te)throw new Error("Unknown id for changed: ".concat(B));M.changed&&M.changed.call(this,B,oe.clone(G)),ee.applyChanges(te,G)},this.applyChange.removed=B=>{M.removed&&M.removed.call(this,B),this.docs.remove(B)}}},z._IdMap=class extends ae{constructor(){super(k.idStringify,k.idParse)}},z.wrapTransform=$=>{if(!$)return null;if($.__wrappedTransform__)return $;let A=x=>{if(!K.call(x,"_id"))throw new Error("can only transform documents with _id");let M=x._id,B=p.nonreactive((()=>$(x)));if(!z._isPlainObject(B))throw new Error("transform must return object");if(K.call(B,"_id")){if(!oe.equals(B._id,M))throw new Error("transformed document can't have different _id")}else B._id=M;return B};return A.__wrappedTransform__=!0,A},z._binarySearch=($,A,x)=>{let M=0,B=A.length;for(;B>0;){let G=Math.floor(B/2);$(x,A[M+G])>=0?(M+=G+1,B-=G+1):B=G}return M},z._checkSupportedProjection=$=>{if($!==Object($)||Array.isArray($))throw o("fields option must be an object");Object.keys($).forEach((A=>{if(A.split(".").includes("$"))throw o("Minimongo doesn't support $ operator in projections yet.");let x=$[A];if(typeof x=="object"&&["$elemMatch","$meta","$slice"].some((M=>K.call(x,M))))throw o("Minimongo doesn't support operators in projections yet.");if(![1,0,!0,!1].includes(x))throw o("Projection values should be one of 1, 0, true, or false")}))},z._compileProjection=$=>{z._checkSupportedProjection($);let A=$._id===void 0||$._id,x=L($),M=(B,G)=>{if(Array.isArray(B))return B.map((ce=>M(ce,G)));let te=x.including?{}:oe.clone(B);return Object.keys(G).forEach((ce=>{if(B==null||!K.call(B,ce))return;let ve=G[ce];ve===Object(ve)?B[ce]===Object(B[ce])&&(te[ce]=M(B[ce],ve)):x.including?te[ce]=oe.clone(B[ce]):delete te[ce]})),B!=null?te:B};return B=>{let G=M(B,x.tree);return A&&K.call(B,"_id")&&(G._id=B._id),!A&&K.call(G,"_id")&&delete G._id,G}},z._createUpsertDocument=($,A)=>{let x=T($),M=z._isModificationMod(A),B={};if(x._id&&(B._id=x._id,delete x._id),z._modify(B,{$set:x}),z._modify(B,A,{isInsert:!0}),M)return B;let G=Object.assign({},A);return B._id&&(G._id=B._id),G},z._diffObjects=($,A,x)=>ee.diffObjects($,A,x),z._diffQueryChanges=($,A,x,M,B)=>ee.diffQueryChanges($,A,x,M,B),z._diffQueryOrderedChanges=($,A,x,M)=>ee.diffQueryOrderedChanges($,A,x,M),z._diffQueryUnorderedChanges=($,A,x,M)=>ee.diffQueryUnorderedChanges($,A,x,M),z._findInOrderedResults=($,A)=>{if(!$.ordered)throw new Error("Can't call _findInOrderedResults on unordered query");for(let x=0;x<$.results.length;x++)if($.results[x]===A)return x;throw Error("object missing from query")},z._idsMatchedBySelector=$=>{if(z._selectorIsId($))return[$];if(!$)return null;if(K.call($,"_id"))return z._selectorIsId($._id)?[$._id]:$._id&&Array.isArray($._id.$in)&&$._id.$in.length&&$._id.$in.every(z._selectorIsId)?$._id.$in:null;if(Array.isArray($.$and))for(let A=0;A<$.$and.length;++A){let x=z._idsMatchedBySelector($.$and[A]);if(x)return x}return null},z._insertInResults=($,A)=>{let x=oe.clone(A);
19if(delete x._id,$.ordered){if($.sorter){let M=z._insertInSortedList($.sorter.getComparator({distances:$.distances}),$.results,A),B=$.results[M+1];B=B?B._id:null,$.addedBefore(A._id,$.projectionFn(x),B)}else $.addedBefore(A._id,$.projectionFn(x),null),$.results.push(A);$.added(A._id,$.projectionFn(x))}else $.added(A._id,$.projectionFn(x)),$.results.set(A._id,A)},z._insertInSortedList=($,A,x)=>{if(A.length===0)return A.push(x),0;let M=z._binarySearch($,A,x);return A.splice(M,0,x),M},z._isModificationMod=$=>{let A=!1,x=!1;if(Object.keys($).forEach((M=>{M.substr(0,1)==="$"?A=!0:x=!0})),A&&x)throw new Error("Update parameter cannot have both modifier and non-modifier fields.");return A},z._isPlainObject=$=>$&&z._f._type($)===3,z._modify=function($,A){let x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!z._isPlainObject(A))throw o("Modifier must be an object");A=oe.clone(A);let M=W(A),B=M?oe.clone($):A;if(M){if(Object.keys(A).forEach((G=>{let te=x.isInsert&&G==="$setOnInsert",ce=V[te?"$set":G],ve=A[G];if(!ce)throw o("Invalid modifier specified ".concat(G));Object.keys(ve).forEach((be=>{let Pe=ve[be];if(be==="")throw o("An empty update path is not valid.");let Ne=be.split(".");if(!Ne.every(Boolean))throw o("The update path '".concat(be,"' contains an empty field name, ")+"which is not allowed.");let We=de(B,Ne,{arrayIndices:x.arrayIndices,forbidArray:G==="$rename",noCreate:J[G]});ce(We,Ne.pop(),Pe,be,B)}))})),$._id&&!oe.equals($._id,B._id))throw o('After applying the update to the document {_id: "'.concat($._id,'", ...},')+" the (immutable) field '_id' was found to have been altered to "+'_id: "'.concat(B._id,'"'))}else{if($._id&&A._id&&!oe.equals($._id,A._id))throw o('The _id field cannot be changed from {_id: "'.concat($._id,'"} to ')+'{_id: "'.concat(A._id,'"}'));le(A)}Object.keys($).forEach((G=>{G!=="_id"&&delete $[G]})),Object.keys(B).forEach((G=>{$[G]=B[G]}))},z._observeFromObserveChanges=($,A)=>{let x=$.getTransform()||(ce=>ce),M=!!A._suppress_initial,B;if(z._observeCallbacksAreOrdered(A)){let ce=!A._no_indices;B={addedBefore(ve,be,Pe){if(M||!A.addedAt&&!A.added)return;let Ne=x(Object.assign(be,{_id:ve}));A.addedAt?A.addedAt(Ne,ce?Pe?this.docs.indexOf(Pe):this.docs.size():-1,Pe):A.added(Ne)},changed(ve,be){if(!A.changedAt&&!A.changed)return;let Pe=oe.clone(this.docs.get(ve));if(!Pe)throw new Error("Unknown id for changed: ".concat(ve));let Ne=x(oe.clone(Pe));ee.applyChanges(Pe,be),A.changedAt?A.changedAt(x(Pe),Ne,ce?this.docs.indexOf(ve):-1):A.changed(x(Pe),Ne)},movedBefore(ve,be){if(!A.movedTo)return;let Pe=ce?this.docs.indexOf(ve):-1,Ne=ce?be?this.docs.indexOf(be):this.docs.size():-1;Ne>Pe&&--Ne,A.movedTo(x(oe.clone(this.docs.get(ve))),Pe,Ne,be||null)},removed(ve){if(!A.removedAt&&!A.removed)return;let be=x(this.docs.get(ve));A.removedAt?A.removedAt(be,ce?this.docs.indexOf(ve):-1):A.removed(be)}}}else B={added(ce,ve){!M&&A.added&&A.added(x(Object.assign(ve,{_id:ce})))},changed(ce,ve){if(A.changed){let be=this.docs.get(ce),Pe=oe.clone(be);ee.applyChanges(Pe,ve),A.changed(x(Pe),x(oe.clone(be)))}},removed(ce){A.removed&&A.removed(x(this.docs.get(ce)))}};let G=new z._CachingChangeObserver({callbacks:B});G.applyChange._fromObserve=!0;let te=$.observeChanges(G.applyChange,{nonMutatingCallbacks:!0});return M=!1,te},z._observeCallbacksAreOrdered=$=>{if($.added&&$.addedAt)throw new Error("Please specify only one of added() and addedAt()");if($.changed&&$.changedAt)throw new Error("Please specify only one of changed() and changedAt()");if($.removed&&$.removedAt)throw new Error("Please specify only one of removed() and removedAt()");return!!($.addedAt||$.changedAt||$.movedTo||$.removedAt)},z._observeChangesCallbacksAreOrdered=$=>{if($.added&&$.addedBefore)throw new Error("Please specify only one of added() and addedBefore()");return!(!$.addedBefore&&!$.movedBefore)},z._removeFromResults=($,A)=>{if($.ordered){let x=z._findInOrderedResults($,A);$.removed(A._id),$.results.splice(x,1)}else{let x=A._id;$.removed(A._id),$.results.remove(x)}},z._selectorIsId=$=>typeof $=="number"||typeof $=="string"||$ instanceof k.ObjectID,z._selectorIsIdPerhapsAsObject=$=>z._selectorIsId($)||z._selectorIsId($&&$._id)&&Object.keys($).length===1,z._updateInResults=($,A,x)=>{if(!oe.equals(A._id,x._id))throw new Error("Can't change a doc's _id while updating");let M=$.projectionFn,B=ee.makeChangedFields(M(A),M(x));if(!$.ordered)return void(Object.keys(B).length&&($.changed(A._id,B),$.results.set(A._id,A)));let G=z._findInOrderedResults($,A);if(Object.keys(B).length&&$.changed(A._id,B),!$.sorter)return;$.results.splice(G,1);let te=z._insertInSortedList($.sorter.getComparator({distances:$.distances}),$.results,A);if(G!==te){let ce=$.results[te+1];ce=ce?ce._id:null,$.movedBefore&&$.movedBefore(A._id,ce)}};let V={$currentDate($,A,x){if(typeof x=="object"&&K.call(x,"$type")){if(x.$type!=="date")throw o("Minimongo does currently only support the date type in $currentDate modifiers",{field:A})}else if(x!==!0)throw o("Invalid $currentDate modifier",{field:A});$[A]=new Date},$inc($,A,x){if(typeof x!="number")throw o("Modifier $inc allowed for numbers only",{field:A});if(A in $){if(typeof $[A]!="number")throw o("Cannot apply $inc modifier to non-number",{field:A});$[A]+=x}else $[A]=x},$min($,A,x){if(typeof x!="number")throw o("Modifier $min allowed for numbers only",{field:A});if(A in $){if(typeof $[A]!="number")throw o("Cannot apply $min modifier to non-number",{field:A});$[A]>x&&($[A]=x)}else $[A]=x},$max($,A,x){if(typeof x!="number")throw o("Modifier $max allowed for numbers only",{field:A});if(A in $){if(typeof $[A]!="number")throw o("Cannot apply $max modifier to non-number",{field:A});$[A]<x&&($[A]=x)}else $[A]=x},$mul($,A,x){if(typeof x!="number")throw o("Modifier $mul allowed for numbers only",{field:A});if(A in $){if(typeof $[A]!="number")throw o("Cannot apply $mul modifier to non-number",{field:A});$[A]*=x}else $[A]=0},$rename($,A,x,M,B){if(M===x)throw o("$rename source must differ from target",{field:A});
19if($===null)throw o("$rename source field invalid",{field:A});if(typeof x!="string")throw o("$rename target must be a string",{field:A});if(x.includes("\0"))throw o("The 'to' field for $rename cannot contain an embedded null byte",{field:A});if($===void 0)return;let G=$[A];delete $[A];let te=x.split("."),ce=de(B,te,{forbidArray:!0});if(ce===null)throw o("$rename target field invalid",{field:A});ce[te.pop()]=G},$set($,A,x){if($!==Object($)){let M=o("Cannot set property on non-object field",{field:A});throw M.setPropertyError=!0,M}if($===null){let M=o("Cannot set property on null",{field:A});throw M.setPropertyError=!0,M}le(x),$[A]=x},$setOnInsert($,A,x){},$unset($,A,x){$!==void 0&&($ instanceof Array?A in $&&($[A]=null):delete $[A])},$push($,A,x){if($[A]===void 0&&($[A]=[]),!($[A]instanceof Array))throw o("Cannot apply $push modifier to non-array",{field:A});if(!x||!x.$each)return le(x),void $[A].push(x);let M=x.$each;if(!(M instanceof Array))throw o("$each must be an array",{field:A});let B,G,te;if(le(M),"$position"in x){if(typeof x.$position!="number")throw o("$position must be a numeric value",{field:A});if(x.$position<0)throw o("$position in $push must be zero or positive",{field:A});B=x.$position}if("$slice"in x){if(typeof x.$slice!="number")throw o("$slice must be a numeric value",{field:A});G=x.$slice}if(x.$sort){if(G===void 0)throw o("$sort requires $slice to be present",{field:A});te=new I.Sorter(x.$sort).getComparator(),M.forEach((ce=>{if(z._f._type(ce)!==3)throw o("$push like modifiers using $sort require all elements to be objects",{field:A})}))}if(B===void 0)M.forEach((ce=>{$[A].push(ce)}));else{let ce=[B,0];M.forEach((ve=>{ce.push(ve)})),$[A].splice(...ce)}te&&$[A].sort(te),G!==void 0&&($[A]=G===0?[]:G<0?$[A].slice(G):$[A].slice(0,G))},$pushAll($,A,x){if(!(typeof x=="object"&&x instanceof Array))throw o("Modifier $pushAll/pullAll allowed for arrays only");le(x);let M=$[A];if(M===void 0)$[A]=x;else{if(!(M instanceof Array))throw o("Cannot apply $pushAll modifier to non-array",{field:A});M.push(...x)}},$addToSet($,A,x){let M=!1;typeof x=="object"&&Object.keys(x)[0]==="$each"&&(M=!0);let B=M?x.$each:[x];le(B);let G=$[A];if(G===void 0)$[A]=B;else{if(!(G instanceof Array))throw o("Cannot apply $addToSet modifier to non-array",{field:A});B.forEach((te=>{G.some((ce=>z._f._equal(te,ce)))||G.push(te)}))}},$pop($,A,x){if($===void 0)return;let M=$[A];if(M!==void 0){if(!(M instanceof Array))throw o("Cannot apply $pop modifier to non-array",{field:A});typeof x=="number"&&x<0?M.splice(0,1):M.pop()}},$pull($,A,x){if($===void 0)return;let M=$[A];if(M===void 0)return;if(!(M instanceof Array))throw o("Cannot apply $pull/pullAll modifier to non-array",{field:A});let B;if(x==null||typeof x!="object"||x instanceof Array)B=M.filter((G=>!z._f._equal(G,x)));else{let G=new I.Matcher(x);B=M.filter((te=>!G.documentMatches(te).result))}$[A]=B},$pullAll($,A,x){if(!(typeof x=="object"&&x instanceof Array))throw o("Modifier $pushAll/pullAll allowed for arrays only",{field:A});if($===void 0)return;let M=$[A];if(M!==void 0){if(!(M instanceof Array))throw o("Cannot apply $pull/pullAll modifier to non-array",{field:A});$[A]=M.filter((B=>!x.some((G=>z._f._equal(B,G)))))}},$bit($,A,x){throw o("$bit is not supported",{field:A})},$v(){}},J={$pop:!0,$pull:!0,$pullAll:!0,$rename:!0,$unset:!0},ie={".":"contain '.'","\0":"contain null bytes"};function le($){$&&typeof $=="object"&&JSON.stringify($,((A,x)=>(H(A),x)))}function H($){let A;if(typeof $=="string"&&(A=$.match(/^\0/)))throw o("Key ".concat($," must not ").concat(ie[A[0]]))}function de($,A){let x=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},M=!1;for(let B=0;B<A.length;B++){let G=B===A.length-1,te=A[B];if(!re($)){if(x.noCreate)return;let ce=o("cannot use the part '".concat(te,"' to traverse ").concat($));throw ce.setPropertyError=!0,ce}if($ instanceof Array){if(x.forbidArray)return null;if(te==="$"){if(M)throw o("Too many positional (i.e. '$') elements");if(!x.arrayIndices||!x.arrayIndices.length)throw o("The positional operator did not find the match needed from the query");
19te=x.arrayIndices[0],M=!0}else{if(!q(te)){if(x.noCreate)return;throw o("can't append to array using string field name [".concat(te,"]"))}te=parseInt(te)}if(G&&(A[B]=te),x.noCreate&&te>=$.length)return;for(;$.length<te;)$.push(null);if(!G){if($.length===te)$.push({});else if(typeof $[te]!="object")throw o("can't modify field '".concat(A[B+1],"' of list value ")+JSON.stringify($[te]))}}else if(H(te),!(te in $)){if(x.noCreate)return;G||($[te]={})}if(G)return $;$=$[te]}}},
19"matcher.js":function(b,U,j){var F;let C,N,K,re;j.export({default:()=>W}),j.link("./local_collection.js",{default(T){C=T}},0),j.link("./common.js",{compileDocumentSelector(T){N=T},hasOwn(T){K=T},nothingMatcher(T){re=T}},1);let q=((F=Package["mongo-decimal"])===null||F===void 0?void 0:F.Decimal)||class{};class W{constructor(L,z){this._paths={},this._hasGeoQuery=!1,this._hasWhere=!1,this._isSimple=!0,this._matchingDocument=void 0,this._selector=null,this._docMatcher=this._compileSelector(L),this._isUpdate=z}documentMatches(L){if(L!==Object(L))throw Error("documentMatches needs a document");return this._docMatcher(L)}hasGeoQuery(){return this._hasGeoQuery}hasWhere(){return this._hasWhere}isSimple(){return this._isSimple}_compileSelector(L){if(L instanceof Function)return this._isSimple=!1,this._selector=L,this._recordPathUsed(""),z=>({result:!!L.call(z)});if(C._selectorIsId(L))return this._selector={_id:L},this._recordPathUsed("_id"),z=>({result:oe.equals(z._id,L)});if(!L||K.call(L,"_id")&&!L._id)return this._isSimple=!1,re;if(Array.isArray(L)||oe.isBinary(L)||typeof L=="boolean")throw new Error("Invalid selector: ".concat(L));return this._selector=oe.clone(L),N(L,this,{isRoot:!0})}_getPaths(){return Object.keys(this._paths)}_recordPathUsed(L){this._paths[L]=!0}}C._f={_type:T=>typeof T=="number"?1:typeof T=="string"?2:typeof T=="boolean"?8:Array.isArray(T)?4:T===null?10:T instanceof RegExp?11:typeof T=="function"?13:T instanceof Date?9:oe.isBinary(T)?5:T instanceof k.ObjectID?7:T instanceof q?1:3,_equal:(T,L)=>oe.equals(T,L,{keyOrderSensitive:!0}),_typeorder:T=>[-1,1,2,3,4,5,-1,6,7,8,0,9,-1,100,2,100,1,8,1][T],_cmp(T,L){if(T===void 0)return L===void 0?0:-1;if(L===void 0)return 1;let z=C._f._type(T),V=C._f._type(L),J=C._f._typeorder(z),ie=C._f._typeorder(V);if(J!==ie)return J<ie?-1:1;if(z!==V)throw Error("Missing type coercion logic in _cmp");if(z===7&&(z=V=2,T=T.toHexString(),L=L.toHexString()),z===9&&(z=V=1,T=isNaN(T)?0:T.getTime(),L=isNaN(L)?0:L.getTime()),z===1)return T instanceof q?T.minus(L).toNumber():T-L;if(V===2)return T<L?-1:T===L?0:1;if(z===3){let le=H=>{let de=[];return Object.keys(H).forEach(($=>{de.push($,H[$])})),de};return C._f._cmp(le(T),le(L))}if(z===4)for(let le=0;;le++){if(le===T.length)return le===L.length?0:-1;if(le===L.length)return 1;let H=C._f._cmp(T[le],L[le]);if(H!==0)return H}if(z===5){if(T.length!==L.length)return T.length-L.length;for(let le=0;le<T.length;le++){if(T[le]<L[le])return-1;if(T[le]>L[le])return 1}return 0}if(z===8)return T?L?0:1:L?-1:0;if(z===10)return 0;throw Error(z===11?"Sorting not supported on regular expression":z===13?"Sorting not supported on Javascript code":"Unknown type to sort")}}},
19"minimongo_common.js":function(b,U,j){let F,C,N;j.link("./local_collection.js",{default(K){F=K}},0),j.link("./matcher.js",{default(K){C=K}},1),j.link("./sorter.js",{default(K){N=K}},2),S=F,I={LocalCollection:F,Matcher:C,Sorter:N}},
19"observe_handle.js":function(b,U,j){j.export({default:()=>F});class F{}},
19"sorter.js":function(b,U,j){let F,C,N,K,re,q,W;j.export({default:()=>T}),j.link("./common.js",{ELEMENT_OPERATORS(z){F=z},equalityElementMatcher(z){C=z},expandArraysInBranches(z){N=z},hasOwn(z){K=z},isOperatorObject(z){re=z},makeLookupFunction(z){q=z},regexpElementMatcher(z){W=z}},0);class T{constructor(V){this._sortSpecParts=[],this._sortFunction=null;let J=(ie,le)=>{if(!ie)throw Error("sort keys must be non-empty");if(ie.charAt(0)==="$")throw Error("unsupported sort key: ".concat(ie));this._sortSpecParts.push({ascending:le,lookup:q(ie,{forSort:!0}),path:ie})};if(V instanceof Array)V.forEach((ie=>{typeof ie=="string"?J(ie,!0):J(ie[0],ie[1]!=="desc")}));else if(typeof V=="object")Object.keys(V).forEach((ie=>{J(ie,V[ie]>=0)}));else{if(typeof V!="function")throw Error("Bad sort specification: ".concat(JSON.stringify(V)));this._sortFunction=V}if(!this._sortFunction){if(this.affectedByModifier){let ie={};this._sortSpecParts.forEach((le=>{ie[le.path]=1})),this._selectorForAffectedByModifier=new I.Matcher(ie)}this._keyComparator=L(this._sortSpecParts.map(((ie,le)=>this._keyFieldComparator(le))))}}getComparator(V){if(this._sortSpecParts.length||!V||!V.distances)return this._getBaseComparator();let J=V.distances;return(ie,le)=>{if(!J.has(ie._id))throw Error("Missing distance for ".concat(ie._id));if(!J.has(le._id))throw Error("Missing distance for ".concat(le._id));return J.get(ie._id)-J.get(le._id)}}_compareKeys(V,J){if(V.length!==this._sortSpecParts.length||J.length!==this._sortSpecParts.length)throw Error("Key has wrong length");return this._keyComparator(V,J)}_generateKeysFromDoc(V,J){if(this._sortSpecParts.length===0)throw new Error("can't generate keys without a spec");let ie=de=>"".concat(de.join(","),","),le=null,H=this._sortSpecParts.map((de=>{let $=N(de.lookup(V),!0);$.length||($=[{value:void 0}]);let A=Object.create(null),x=!1;if($.forEach((M=>{if(!M.arrayIndices){if($.length>1)throw Error("multiple branches but no array used?");return void(A[""]=M.value)}x=!0;let B=ie(M.arrayIndices);if(K.call(A,B))throw Error("duplicate path: ".concat(B));if(A[B]=M.value,le&&!K.call(le,B))throw Error("cannot index parallel arrays")})),le){if(!K.call(A,"")&&Object.keys(le).length!==Object.keys(A).length)throw Error("cannot index parallel arrays!")}else x&&(le={},Object.keys(A).forEach((M=>{le[M]=!0})));return A}));if(le)Object.keys(le).forEach((de=>{let $=H.map((A=>{if(K.call(A,""))return A[""];if(!K.call(A,de))throw Error("missing path?");return A[de]}));J($)}));else{let de=H.map(($=>{if(!K.call($,""))throw Error("no value in sole key case?");return $[""]}));J(de)}}_getBaseComparator(){return this._sortFunction?this._sortFunction:this._sortSpecParts.length?(V,J)=>{let ie=this._getMinKeyFromDoc(V),le=this._getMinKeyFromDoc(J);return this._compareKeys(ie,le)}:(V,J)=>0}_getMinKeyFromDoc(V){let J=null;return this._generateKeysFromDoc(V,(ie=>{J!==null?this._compareKeys(ie,J)<0&&(J=ie):J=ie})),J}_getPaths(){return this._sortSpecParts.map((V=>V.path))}_keyFieldComparator(V){let J=!this._sortSpecParts[V].ascending;return(ie,le)=>{let H=S._f._cmp(ie[V],le[V]);return J?-H:H}}}function L(z){return(V,J)=>{for(let ie=0;ie<z.length;++ie){let le=z[ie](V,J);if(le!==0)return le}return 0}}}}}}},{extensions:[".js",".json"]}),y=D("/node_modules/meteor/minimongo/minimongo_client.js");Package._define("minimongo",y,{LocalCollection:S,Minimongo:I,MinimongoTest:a,MinimongoError:o})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.ejson.EJSON,oe=Package.modules.meteorInstall,X=Package.promise.Promise,ae,k,O=oe({node_modules:{meteor:{check:{
19"match.js":function(p,P,i){let d;i.export({check:()=>a,Match:()=>o}),i.link("./isPlainObject",{isPlainObject(C){d=C}},0);let m=new ne.EnvironmentVariable,l=Object.prototype.hasOwnProperty;function a(C,N){let K=m.getOrNullIfOutsideFiber();K&&K.checking(C);let re=I(C,N);if(re){let q=new o.Error(re.message);throw re.path&&(q.message+=" in field ".concat(re.path),q.path=re.path),q}}let o={Optional:function(C){return new c(C)},Maybe:function(C){return new u(C)},OneOf:function(){for(var C=arguments.length,N=new Array(C),K=0;K<C;K++)N[K]=arguments[K];return new g(N)},Any:["__any__"],Where:function(C){return new v(C)},ObjectIncluding:function(C){return new _(C)},ObjectWithValues:function(C){return new E(C)},Integer:["__integer__"],Error:ne.makeErrorType("Match.Error",(function(C){this.message="Match error: ".concat(C),this.path="",this.sanitizedError=new ne.Error(400,"Match failed")})),test:(C,N)=>!I(C,N),_failIfArgumentsAreNotAllChecked(C,N,K,re){let q=new D(K,re),W=m.withValue(q,(()=>C.apply(N,K)));return q.throwUnlessAllArgumentsHaveBeenChecked(),W}};class c{constructor(N){this.pattern=N}}class u{constructor(N){this.pattern=N}}
19class g{constructor(N){if(!N||N.length===0)throw new Error("Must provide at least one choice to Match.OneOf");this.choices=N}}class v{constructor(N){this.condition=N}}class _{constructor(N){this.pattern=N}}class E{constructor(N){this.pattern=N}}let w=function(C){let N=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(C===null)return"null";if(N.onlyShowType)return typeof C;if(typeof C!="object")return ee.stringify(C);try{JSON.stringify(C)}catch(K){if(K.name==="TypeError")return typeof C}return ee.stringify(C)},S=[[String,"string"],[Number,"number"],[Boolean,"boolean"],[Function,"function"],[void 0,"undefined"]],I=(C,N)=>{if(N===o.Any)return!1;for(let L=0;L<S.length;++L)if(N===S[L][0])return typeof C!==S[L][1]&&{message:"Expected ".concat(S[L][1],", got ").concat(w(C,{onlyShowType:!0})),path:""};if(N===null)return C!==null&&{message:"Expected null, got ".concat(w(C)),path:""};if(typeof N=="string"||typeof N=="number"||typeof N=="boolean")return C!==N&&{message:"Expected ".concat(N,", got ").concat(w(C)),path:""};if(N===o.Integer)return(typeof C!="number"||(0|C)!==C)&&{message:"Expected Integer, got ".concat(w(C)),path:""};if(N===Object&&(N=o.ObjectIncluding({})),N instanceof Array){if(N.length!==1)return{message:"Bad pattern: arrays must have one type element ".concat(w(N)),path:""};if(!Array.isArray(C)&&!F(C))return{message:"Expected array, got ".concat(w(C)),path:""};for(let L=0,z=C.length;L<z;L++){let V=I(C[L],N[0]);if(V)return V.path=b(L,V.path),V}return!1}if(N instanceof v){let L;try{L=N.condition(C)}catch(z){if(!(z instanceof o.Error))throw z;return{message:z.message,path:z.path}}return!L&&{message:"Failed Match.Where validation",path:""}}if(N instanceof u?N=o.OneOf(void 0,null,N.pattern):N instanceof c&&(N=o.OneOf(void 0,N.pattern)),N instanceof g){for(let L=0;L<N.choices.length;++L)if(!I(C,N.choices[L]))return!1;return{message:"Failed Match.OneOf, Match.Maybe or Match.Optional validation",path:""}}if(N instanceof Function)return!(C instanceof N)&&{message:"Expected ".concat(N.name||"particular constructor"),path:""};let K=!1,re;if(N instanceof _&&(K=!0,N=N.pattern),N instanceof E&&(K=!0,re=[N.pattern],N={}),typeof N!="object")return{message:"Bad pattern: unknown pattern type",path:""};if(typeof C!="object")return{message:"Expected object, got ".concat(typeof C),path:""};if(C===null)return{message:"Expected object, got null",path:""};if(!d(C))return{message:"Expected plain object",path:""};let q=Object.create(null),W=Object.create(null);Object.keys(N).forEach((L=>{let z=N[L];z instanceof c||z instanceof u?W[L]=z.pattern:q[L]=z}));for(let L in Object(C)){let z=C[L];if(l.call(q,L)){let V=I(z,q[L]);if(V)return V.path=b(L,V.path),V;delete q[L]}else if(l.call(W,L)){let V=I(z,W[L]);if(V)return V.path=b(L,V.path),V}else{if(!K)return{message:"Unknown key",path:L};if(re){let V=I(z,re[0]);if(V)return V.path=b(L,V.path),V}}}let T=Object.keys(q);return T.length?{message:"Missing key '".concat(T[0],"'"),path:""}:void 0};class D{constructor(N,K){this.args=[...N],this.args.reverse(),this.description=K}checking(N){this._checkingOneValue(N)||(Array.isArray(N)||F(N))&&Array.prototype.forEach.call(N,this._checkingOneValue.bind(this))}_checkingOneValue(N){for(let K=0;K<this.args.length;++K)if(N===this.args[K]||Number.isNaN(N)&&Number.isNaN(this.args[K]))return this.args.splice(K,1),!0;return!1}throwUnlessAllArgumentsHaveBeenChecked(){if(this.args.length>0)throw new Error("Did not check() all arguments during ".concat(this.description))}}let y=["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"],b=(C,N)=>(typeof C=="number"||C.match(/^[0-9]+$/)?C="[".concat(C,"]"):(!C.match(/^[a-z_$][0-9a-z_$]*$/i)||y.indexOf(C)>=0)&&(C=JSON.stringify([C])),N&&N[0]!=="["?"".concat(C,".").concat(N):C+N),U=C=>typeof C=="object"&&C!==null,j=C=>U(C)&&Object.prototype.toString.call(C)==="[object Arguments]",F=j((function(){return arguments})())?j:C=>U(C)&&typeof C.callee=="function"},
19"isPlainObject.js":function(p,P,i){i.export({isPlainObject:()=>u});let d=void 0,m={}.toString,l=Object.prototype.hasOwnProperty,a=l.toString,o=a.call(Object),c=Object.getPrototypeOf,u=g=>{let v,_;return!(!g||m.call(g)!=="[object Object]")&&(v=c(g),!v||(_=l.call(v,"constructor")&&v.constructor,typeof _=="function"&&a.call(_)===o))}}}}}},{extensions:[".js",".json"]}),f=O("/node_modules/meteor/check/match.js");Package._define("check",f,{check:ae,Match:k})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.random.Random,oe=Package.modules.meteorInstall,X=Package.promise.Promise,ae,k=oe({node_modules:{meteor:{retry:{
19"retry.js":function(f,p,P){P.export({Retry:()=>i});class i{constructor(){let{baseTimeout:m=1e3,exponent:l=2.2,maxTimeout:a=3e5,minTimeout:o=10,minCount:c=2,fuzz:u=.5}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.baseTimeout=m,this.exponent=l,this.maxTimeout=a,this.minTimeout=o,this.minCount=c,this.fuzz=u,this.retryTimer=null}clear(){this.retryTimer&&clearTimeout(this.retryTimer),this.retryTimer=null}_timeout(m){return m<this.minCount?this.minTimeout:Math.min(this.maxTimeout,this.baseTimeout*Math.pow(this.exponent,m))*(ee.fraction()*this.fuzz+(1-this.fuzz/2));var l}retryLater(m,l){var a=this._timeout(m);return this.retryTimer&&clearTimeout(this.retryTimer),this.retryTimer=ne.setTimeout(l,a),a}}}}}}},{extensions:[".js",".json"]}),O=k("/node_modules/meteor/retry/retry.js");Package._define("retry",O,{Retry:ae})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.modules.meteorInstall,oe=Package.promise.Promise,X,ae,k,O=ee({node_modules:{meteor:{"callback-hook":{
19"hook.js":function(p,P,i){i.export({Hook:()=>m});let d=Object.prototype.hasOwnProperty;class m{constructor(o){if(o=o||{},this.nextCallbackId=0,this.callbacks=Object.create(null),this.bindEnvironment=!0,o.bindEnvironment===!1&&(this.bindEnvironment=!1),this.wrapAsync=!0,o.wrapAsync===!1&&(this.wrapAsync=!1),o.exceptionHandler)this.exceptionHandler=o.exceptionHandler;else if(o.debugPrintExceptions){if(typeof o.debugPrintExceptions!="string")throw new Error("Hook option debugPrintExceptions should be a string");this.exceptionHandler=o.debugPrintExceptions}}register(o){let c=this.exceptionHandler||function(g){throw g};o=this.bindEnvironment?ne.bindEnvironment(o,c):l(o,c),this.wrapAsync&&(o=ne.wrapFn(o));let u=this.nextCallbackId++;return this.callbacks[u]=o,{callback:o,stop:()=>{delete this.callbacks[u]}}}clear(){this.nextCallbackId=0,this.callbacks=[]}forEach(o){ne._nodeCodeMustBeInFiber();let c=Object.keys(this.callbacks);for(let u=0;u<c.length;++u){let g=c[u];if(d.call(this.callbacks,g)&&!o(this.callbacks[g]))break}}async forEachAsync(o){let c=Object.keys(this.callbacks);for(let u=0;u<c.length;++u){let g=c[u];if(d.call(this.callbacks,g)){let v=this.callbacks[g];if(!await o(v))break}}}each(o){return this.forEach(o)}}function l(a,o,c){if(!o||typeof o=="string"){let u=o||"callback of async function";o=function(g){ne._debug("Exception in "+u,g)}}return function(){let u;try{for(var g=arguments.length,v=new Array(g),_=0;_<g;_++)v[_]=arguments[_];u=a.apply(c,v)}catch(E){o(E)}return u}}}}}}},{extensions:[".js",".json"]}),f=O("/node_modules/meteor/callback-hook/hook.js");Package._define("callback-hook",f,{Hook:k})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.check.check,oe=Package.check.Match,X=Package.random.Random,ae=Package.ejson.EJSON,k=Package.tracker.Tracker,O=Package.tracker.Deps,f=Package.retry.Retry,p=Package.modules.meteorInstall,P=Package.promise.Promise,i,d=p({node_modules:{meteor:{"ddp-common":{
19"namespace.js":function(){i={}},
19"heartbeat.js":function(){i.Heartbeat=class{constructor(a){this.heartbeatInterval=a.heartbeatInterval,this.heartbeatTimeout=a.heartbeatTimeout,this._sendPing=a.sendPing,this._onTimeout=a.onTimeout,this._seenPacket=!1,this._heartbeatIntervalHandle=null,this._heartbeatTimeoutHandle=null}stop(){this._clearHeartbeatIntervalTimer(),this._clearHeartbeatTimeoutTimer()}start(){this.stop(),this._startHeartbeatIntervalTimer()}_startHeartbeatIntervalTimer(){this._heartbeatIntervalHandle=ne.setInterval((()=>this._heartbeatIntervalFired()),this.heartbeatInterval)}_startHeartbeatTimeoutTimer(){this._heartbeatTimeoutHandle=ne.setTimeout((()=>this._heartbeatTimeoutFired()),this.heartbeatTimeout)}_clearHeartbeatIntervalTimer(){this._heartbeatIntervalHandle&&(ne.clearInterval(this._heartbeatIntervalHandle),this._heartbeatIntervalHandle=null)}_clearHeartbeatTimeoutTimer(){this._heartbeatTimeoutHandle&&(ne.clearTimeout(this._heartbeatTimeoutHandle),this._heartbeatTimeoutHandle=null)}_heartbeatIntervalFired(){this._seenPacket||this._heartbeatTimeoutHandle||(this._sendPing(),this._startHeartbeatTimeoutTimer()),this._seenPacket=!1}_heartbeatTimeoutFired(){this._heartbeatTimeoutHandle=null,this._onTimeout()}messageReceived(){this._seenPacket=!0,this._heartbeatTimeoutHandle&&this._clearHeartbeatTimeoutTimer()}}},
19"utils.js":function(m,l,a){"use strict";a.export({hasOwn:()=>o,slice:()=>c,keys:()=>u,isEmpty:()=>g,last:()=>v});let o=Object.prototype.hasOwnProperty,c=Array.prototype.slice;function u(_){return Object.keys(Object(_))}function g(_){if(_==null)return!0;if(Array.isArray(_)||typeof _=="string")return _.length===0;for(let E in _)if(o.call(_,E))return!1;return!0}function v(_,E,w){if(_!=null)return E==null||w?_[_.length-1]:c.call(_,Math.max(_.length-E,0))}i.SUPPORTED_DDP_VERSIONS=["1","pre2","pre1"],i.parseDDP=function(_){try{var E=JSON.parse(_)}catch{return ne._debug("Discarding message with invalid JSON",_),null}return E===null||typeof E!="object"?(ne._debug("Discarding non-object DDP message",_),null):(o.call(E,"cleared")&&(o.call(E,"fields")||(E.fields={}),E.cleared.forEach((w=>{E.fields[w]=void 0})),delete E.cleared),["fields","params","result"].forEach((w=>{o.call(E,w)&&(E[w]=ae._adjustTypesFromJSONValue(E[w]))})),E)},i.stringifyDDP=function(_){let E=ae.clone(_);if(o.call(_,"fields")){let w=[];Object.keys(_.fields).forEach((S=>{typeof _.fields[S]>"u"&&(w.push(S),delete E.fields[S])})),g(w)||(E.cleared=w),g(E.fields)&&delete E.fields}if(["fields","params","result"].forEach((w=>{o.call(E,w)&&(E[w]=ae._adjustTypesToJSONValue(E[w]))})),_.id&&typeof _.id!="string")throw new Error("Message id is not a string");return JSON.stringify(E)}},
19"method_invocation.js":function(){i.MethodInvocation=class{constructor(a){this.isSimulation=a.isSimulation,this._unblock=a.unblock||function(){},this._calledUnblock=!1,this._isFromCallAsync=a.isFromCallAsync,this.userId=a.userId,this._setUserId=a.setUserId||function(){},this.connection=a.connection,this.randomSeed=a.randomSeed,this.randomStream=null}unblock(){this._calledUnblock=!0,this._unblock()}setUserId(a){if(this._calledUnblock)throw new Error("Can't call setUserId in a method after calling unblock");this.userId=a,this._setUserId(a)}}},
19"random_stream.js":function(){function l(){return X.hexString(20)}i.RandomStream=class{constructor(o){this.seed=[].concat(o.seed||l()),this.sequences=Object.create(null)}_sequence(o){var c=this,u=c.sequences[o]||null;if(u===null){for(var g=c.seed.concat(o),v=0;v<g.length;v++)typeof g[v]=="function"&&(g[v]=g[v]());c.sequences[o]=u=X.createWithSeeds.apply(null,g)}return u}},i.RandomStream.get=function(a,o){if(o||(o="default"),!a)return X.insecure;var c=a.randomStream;return c||(a.randomStream=c=new i.RandomStream({seed:a.randomSeed})),c._sequence(o)},i.makeRpcSeed=function(a,o){var c;return i.RandomStream.get(a,"/rpc/"+o).hexString(20)}}}}}},{extensions:[".js",".json"]});d("/node_modules/meteor/ddp-common/namespace.js"),d("/node_modules/meteor/ddp-common/heartbeat.js"),d("/node_modules/meteor/ddp-common/utils.js"),d("/node_modules/meteor/ddp-common/method_invocation.js"),d("/node_modules/meteor/ddp-common/random_stream.js"),Package._define("ddp-common",{DDPCommon:i})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.modules.meteorInstall,oe=Package.promise.Promise,X,ae=ee({node_modules:{meteor:{reload:{
19"reload.js":function(O,f,p){p.export({Reload:()=>P});let P={},i=ne.settings&&ne.settings.public&&ne.settings.public.packages&&ne.settings.public.packages.reload||{};function d(_,E){i.debug&&console.log("[reload] ".concat(_),JSON.stringify(E))}let m="Meteor_Reload",l={},a,o=null;try{o=window.sessionStorage,o?(o.setItem("__dummy__","1"),o.removeItem("__dummy__")):o=null}catch{o=null}P._getData=function(){return o&&o.getItem(m)},o&&(a=P._getData(),o.removeItem(m)),a||(a="{}");let c={};try{c=JSON.parse(a),typeof c!="object"&&(ne._debug("Got bad data on reload. Ignoring."),c={})}catch{ne._debug("Got invalid JSON on reload. Ignoring.")}c.reload&&typeof c.data=="object"&&(l=c.data);let u=[];P._onMigrate=function(_,E){d("_onMigrate",{name:_}),E||(E=_,_=void 0,d("_onMigrate no callback")),u.push({name:_,callback:E})},P._migrationData=function(_){return d("_migrationData",{name:_}),l[_]};let g=function(_,E){d("pollProviders",{options:E}),_=_||function(){},E=E||{};let{immediateMigration:w}=E;d("pollProviders is ".concat(w?"":"NOT ","immediateMigration"),{options:E});let S={},I=!0;return u.forEach((D=>{let{callback:y,name:b}=D||{},[U,j]=y(_,E)||[];d("pollProviders provider ".concat(b||"unknown"," is ").concat(U?"ready":"NOT ready"),{options:E}),U||(I=!1),j!==void 0&&b&&(S[b]=j)})),I?(d("pollProviders allReady",{options:E,migrationData:S}),S):w?(d("pollProviders immediateMigration",{options:E,migrationData:S}),S):null};P._migrate=function(_,E){d("_migrate",{options:E});let w=g(_,E);if(w===null)return!1;let S;try{S=JSON.stringify({data:w,reload:!0})}catch(I){throw ne._debug("Couldn't serialize data for migration",w),I}if(o)try{o.setItem(m,S)}catch(I){ne._debug("Couldn't save data for migration to sessionStorage",I)}else ne._debug("Browser does not support sessionStorage. Not saving migration state.");return!0},P._withFreshProvidersForTest=function(_){let E=u.slice(0);u=[];try{_()}finally{u=E}};let v=!1;P._reload=function(_){function E(){d("tryReload"),setTimeout(S,1)}function w(){d("forceBrowserReload"),window.location.hash||window.location.href.endsWith("#")?window.location.reload():window.location.replace(window.location.href)}function S(){d("reload"),P._migrate(E,_)&&(ne.isCordova?WebAppLocalServer.switchToPendingVersion((()=>{w()})):w())}d("_reload",{options:_}),_=_||{},v?d("reloading in progress already",{options:_}):(v=!0,E())}}}}}},{extensions:[".js",".json"]}),k=ae("/node_modules/meteor/reload/reload.js");Package._define("reload",k,{Reload:X})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.retry.Retry,oe=Package.modules.meteorInstall,X=Package.promise.Promise,ae,k=oe({node_modules:{meteor:{"socket-stream-client":{
19"browser.js":function(O,f,p){let P,i,d,m,l;p.link("@babel/runtime/helpers/objectSpread2",{default(o){P=o}},0),p.export({ClientStream:()=>a}),p.link("./urls.js",{toSockjsUrl(o){i=o},toWebsocketUrl(o){d=o}},0),p.link("./common.js",{StreamClientCommon(o){m=o}},1),p.link("./sockjs-1.6.1-min-.js",{default(o){l=o}},2);class a extends m{constructor(c,u){super(u),this._initCommon(this.options),this.HEARTBEAT_TIMEOUT=1e5,this.rawUrl=c,this.socket=null,this.lastError=null,this.heartbeatTimer=null,window.addEventListener("online",this._online.bind(this),!1),this._launchConnection()}send(c){this.currentStatus.connected&&this.socket.send(c)}_changeUrl(c){this.rawUrl=c}_connected(){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",(c=>{c()})))}_cleanup(c){this._clearConnectionAndHeartbeatTimers(),this.socket&&(this.socket.onmessage=this.socket.onclose=this.socket.onerror=this.socket.onheartbeat=()=>{},this.socket.close(),this.socket=null),this.forEachCallback("disconnect",(u=>{u(c)}))}_clearConnectionAndHeartbeatTimers(){this.connectionTimer&&(clearTimeout(this.connectionTimer),this.connectionTimer=null),this.heartbeatTimer&&(clearTimeout(this.heartbeatTimer),this.heartbeatTimer=null)}_heartbeat_timeout(){console.log("Connection timeout. No sockjs heartbeat received."),this._lostConnection(new this.ConnectionError("Heartbeat timed out"))}_heartbeat_received(){this._forcedToDisconnect||(this.heartbeatTimer&&clearTimeout(this.heartbeatTimer),this.heartbeatTimer=setTimeout(this._heartbeat_timeout.bind(this),this.HEARTBEAT_TIMEOUT))}_sockjsProtocolsWhitelist(){var c=["xdr-polling","xhr-polling","iframe-xhr-polling","jsonp-polling"],u;return navigator&&/iPhone|iPad|iPod/.test(navigator.userAgent)&&/OS 4_|OS 5_/.test(navigator.userAgent)||(c=["websocket"].concat(c)),c}_launchConnection(){this._cleanup();var c=P({transports:this._sockjsProtocolsWhitelist()},this.options._sockjsOptions);let u=typeof l=="function",g=!0;this.socket=u&&!g?new l(i(this.rawUrl),void 0,c):new WebSocket(d(this.rawUrl)),this.socket.onopen=v=>{this.lastError=null,this._connected()},this.socket.onmessage=v=>{this.lastError=null,this._heartbeat_received(),this.currentStatus.connected&&this.forEachCallback("message",(_=>{_(v.data)}))},this.socket.onclose=()=>{this._lostConnection()},this.socket.onerror=v=>{let{lastError:_}=this;this.lastError=v,_||console.error("stream error",v,new Date().toDateString())},this.socket.onheartbeat=()=>{this.lastError=null,this._heartbeat_received()},this.connectionTimer&&clearTimeout(this.connectionTimer),this.connectionTimer=setTimeout((()=>{this._lostConnection(new this.ConnectionError("DDP connection timed out"))}),this.CONNECT_TIMEOUT)}}},
19"common.js":function(O,f,p){let P,i;p.link("@babel/runtime/helpers/objectSpread2",{default(l){P=l}},0),p.export({StreamClientCommon:()=>m}),p.link("meteor/retry",{Retry(l){i=l}},0);let d=new Error("forced reconnect");class m{constructor(a){this.options=P({retry:!0},a||null),this.ConnectionError=a&&a.ConnectionError||Error}on(a,o){if(a!=="message"&&a!=="reset"&&a!=="disconnect")throw new Error("unknown event type: "+a);this.eventCallbacks[a]||(this.eventCallbacks[a]=[]),this.eventCallbacks[a].push(o)}forEachCallback(a,o){this.eventCallbacks[a]&&this.eventCallbacks[a].length&&this.eventCallbacks[a].forEach(o)}_initCommon(a){a=a||Object.create(null),this.CONNECT_TIMEOUT=a.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=()=>{this.statusListeners&&this.statusListeners.changed()},this._retry=new i,this.connectionTimer=null}reconnect(a){(a=a||Object.create(null)).url&&this._changeUrl(a.url),a._sockjsOptions&&(this.options._sockjsOptions=a._sockjsOptions),this.currentStatus.connected?(a._force||a.url)&&this._lostConnection(d):(this.currentStatus.status==="connecting"&&this._lostConnection(),this._retry.clear(),this.currentStatus.retryCount-=1,this._retryNow())}disconnect(a){a=a||Object.create(null),this._forcedToDisconnect||(a._permanent&&(this._forcedToDisconnect=!0),this._cleanup(),this._retry.clear(),this.currentStatus={status:a._permanent?"failed":"offline",connected:!1,retryCount:0},a._permanent&&a._error&&(this.currentStatus.reason=a._error),this.statusChanged())}_lostConnection(a){this._cleanup(a),this._retryLater(a)}_online(){this.currentStatus.status!="offline"&&this.reconnect()}_retryLater(a){var o=0;this.options.retry||a===d?(o=this._retry.retryLater(this.currentStatus.retryCount,this._retryNow.bind(this)),this.currentStatus.status="waiting",this.currentStatus.retryTime=new Date().getTime()+o):(this.currentStatus.status="failed",delete this.currentStatus.retryTime),this.currentStatus.connected=!1,this.statusChanged()}_retryNow(){this._forcedToDisconnect||(this.currentStatus.retryCount+=1,this.currentStatus.status="connecting",this.currentStatus.connected=!1,delete this.currentStatus.retryTime,this.statusChanged(),this._launchConnection())}status(){return this.statusListeners&&this.statusListeners.depend(),this.currentStatus}}},
19"sockjs-1.6.1-min-.js":function(O,f,p){(function(P){(function(i){typeof f=="object"&&typeof p<"u"?p.exports=i():typeof define=="function"&&define.amd?define([],i):(typeof window<"u"?window:typeof ye<"u"?ye:typeof self<"u"?self:this).SockJS=i()})((function(){return(function i(d,m,l){function a(u,g){if(!m[u]){if(!d[u]){var v=typeof O=="function"&&O;if(!g&&v)return v(u,!0);if(o)return o(u,!0);var _=new Error("Cannot find module '"+u+"'");throw _.code="MODULE_NOT_FOUND",_}var E=m[u]={exports:{}};d[u][0].call(E.exports,(function(w){return a(d[u][1][w]||w)}),E,E.exports,i,d,m,l)}return m[u].exports}for(var o=typeof O=="function"&&O,c=0;c<l.length;c++)a(l[c]);return a})({1:[function(i,d,m){(function(l){(function(){"use strict";var a=i("./transport-list");d.exports=i("./main")(a),"_sockjs_onload"in l&&setTimeout(l._sockjs_onload,1)}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"./main":14,"./transport-list":16}],2:[function(i,d,m){"use strict";var l=i("inherits"),a=i("./event");function o(){a.call(window),this.initEvent("close",!1,!1),this.wasClean=!1,this.code=0,this.reason=""}l(o,a),d.exports=o},{"./event":4,inherits:54}],3:[function(i,d,m){"use strict";var l=i("inherits"),a=i("./eventtarget");function o(){a.call(window)}l(o,a),o.prototype.removeAllListeners=function(c){c?delete window._listeners[c]:window._listeners={}},o.prototype.once=function(c,u){var g=this,v=!1;this.on(c,(function _(){g.removeListener(c,_),v||(v=!0,u.apply(this,arguments))}))},o.prototype.emit=function(){var c=arguments[0],u=window._listeners[c];if(u){for(var g=arguments.length,v=new Array(g-1),_=1;_<g;_++)v[_-1]=arguments[_];for(var E=0;E<u.length;E++)u[E].apply(this,v)}},o.prototype.on=o.prototype.addListener=a.prototype.addEventListener,o.prototype.removeListener=a.prototype.removeEventListener,d.exports.EventEmitter=o},{"./eventtarget":5,inherits:54}],4:[function(i,d,m){"use strict";function l(a){this.type=a}l.prototype.initEvent=function(a,o,c){return this.type=a,this.bubbles=o,this.cancelable=c,this.timeStamp=+new Date,this},l.prototype.stopPropagation=function(){},l.prototype.preventDefault=function(){},l.CAPTURING_PHASE=1,l.AT_TARGET=2,l.BUBBLING_PHASE=3,d.exports=l},{}],5:[function(i,d,m){"use strict";function l(){window._listeners={}}l.prototype.addEventListener=function(a,o){a in window._listeners||(window._listeners[a]=[]);var c=window._listeners[a];c.indexOf(o)===-1&&(c=c.concat([o])),window._listeners[a]=c},l.prototype.removeEventListener=function(a,o){var c=window._listeners[a];if(c){var u=c.indexOf(o);u===-1||(1<c.length?window._listeners[a]=c.slice(0,u).concat(c.slice(u+1)):delete window._listeners[a])}},l.prototype.dispatchEvent=function(){var a=arguments[0],o=a.type,c=arguments.length===1?[a]:Array.apply(null,arguments);if(this["on"+o]&&this["on"+o].apply(this,c),o in window._listeners)for(var u=window._listeners[o],g=0;g<u.length;g++)u[g].apply(this,c)},d.exports=l},{}],6:[function(i,d,m){"use strict";var l=i("inherits"),a=i("./event");function o(c){a.call(window),this.initEvent("message",!1,!1),this.data=c}l(o,a),d.exports=o},{"./event":4,inherits:54}],7:[function(i,d,m){"use strict";var l=i("./utils/iframe");function a(o){(this._transport=o).on("message",this._transportMessage.bind(this)),o.on("close",this._transportClose.bind(this))}a.prototype._transportClose=function(o,c){l.postMessage("c",JSON.stringify([o,c]))},a.prototype._transportMessage=function(o){l.postMessage("t",o)},a.prototype._send=function(o){this._transport.send(o)},a.prototype._close=function(){this._transport.close(),this._transport.removeAllListeners()},d.exports=a},{"./utils/iframe":47}],8:[function(i,d,m){"use strict";var l=i("./utils/url"),a=i("./utils/event"),o=i("./facade"),c=i("./info-iframe-receiver"),u=i("./utils/iframe"),g=i("./location"),v=function(){};d.exports=function(_,E){var w,S={};E.forEach((function(I){I.facadeTransport&&(S[I.facadeTransport.transportName]=I.facadeTransport)})),S[c.transportName]=c,_.bootstrap_iframe=function(){var I;u.currentWindowId=g.hash.slice(1),a.attachEvent("message",(function(D){if(D.source===parent&&(w===void 0&&(w=D.origin),D.origin===w)){var y;try{y=JSON.parse(D.data)}catch{return void D.data}if(y.windowId===u.currentWindowId)switch(y.type){case"s":var b;try{b=JSON.parse(y.data)}catch{y.data;break}var U=b[0],j=b[1],F=b[2],C=b[3];if(U!==_.version)throw new Error('Incompatible SockJS! Main site uses: "'+U+'", the iframe: "'+_.version+'".');if(!l.isOriginEqual(F,g.href)||!l.isOriginEqual(C,g.href))throw new Error("Can't connect to different domain from within an iframe. ("+g.href+", "+F+", "+C+")");I=new o(new S[j](F,C));break;case"m":I._send(y.data);break;case"c":I&&I._close(),I=null}}})),u.postMessage("s")}}},{"./facade":7,"./info-iframe-receiver":10,"./location":13,"./ut
19ils/event":46,"./utils/iframe":47,"./utils/url":52,debug:void 0}],9:[function(i,d,m){"use strict";var l=i("events").EventEmitter,a=i("inherits"),o=i("./utils/object"),c=function(){};function u(g,v){l.call(window);var _=this,E=+new Date;this.xo=new v("GET",g),this.xo.once("finish",(function(w,S){var I,D;if(w===200){if(D=+new Date-E,S)try{I=JSON.parse(S)}catch{}o.isObject(I)||(I={})}_.emit("finish",I,D),_.removeAllListeners()}))}a(u,l),u.prototype.close=function(){this.removeAllListeners(),this.xo.close()},d.exports=u},{"./utils/object":49,debug:void 0,events:3,inherits:54}],10:[function(i,d,m){"use strict";var l=i("inherits"),a=i("events").EventEmitter,o=i("./transport/sender/xhr-local"),c=i("./info-ajax");function u(g){var v=this;a.call(window),this.ir=new c(g,o),this.ir.once("finish",(function(_,E){v.ir=null,v.emit("message",JSON.stringify([_,E]))}))}l(u,a),u.transportName="iframe-info-receiver",u.prototype.close=function(){this.ir&&(this.ir.close(),this.ir=null),this.removeAllListeners()},d.exports=u},{"./info-ajax":9,"./transport/sender/xhr-local":37,events:3,inherits:54}],11:[function(i,d,m){(function(l){(function(){"use strict";var a=i("events").EventEmitter,o=i("inherits"),c=i("./utils/event"),u=i("./transport/iframe"),g=i("./info-iframe-receiver"),v=function(){};function _(E,w){var S=this;function I(){var D=S.ifr=new u(g.transportName,w,E);D.once("message",(function(y){if(y){var b;try{b=JSON.parse(y)}catch{return S.emit("finish"),void S.close()}var U=b[0],j=b[1];S.emit("finish",U,j)}S.close()})),D.once("close",(function(){S.emit("finish"),S.close()}))}a.call(window),l.document.body?I():c.attachEvent("load",I)}o(_,a),_.enabled=function(){return u.enabled()},_.prototype.close=function(){this.ifr&&this.ifr.close(),this.removeAllListeners(),this.ifr=null},d.exports=_}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"./info-iframe-receiver":10,"./transport/iframe":22,"./utils/event":46,debug:void 0,events:3,inherits:54}],12:[function(i,d,m){"use strict";var l=i("events").EventEmitter,a=i("inherits"),o=i("./utils/url"),c=i("./transport/sender/xdr"),u=i("./transport/sender/xhr-cors"),g=i("./transport/sender/xhr-local"),v=i("./transport/sender/xhr-fake"),_=i("./info-iframe"),E=i("./info-ajax"),w=function(){};function S(I,D){var y=this;l.call(window),setTimeout((function(){y.doXhr(I,D)}),0)}a(S,l),S._getReceiver=function(I,D,y){return y.sameOrigin?new E(D,g):u.enabled?new E(D,u):c.enabled&&y.sameScheme?new E(D,c):_.enabled()?new _(I,D):new E(D,v)},S.prototype.doXhr=function(I,D){var y=this,b=o.addPath(I,"/info");this.xo=S._getReceiver(I,b,D),this.timeoutRef=setTimeout((function(){y._cleanup(!1),y.emit("finish")}),S.timeout),this.xo.once("finish",(function(U,j){y._cleanup(!0),y.emit("finish",U,j)}))},S.prototype._cleanup=function(I){clearTimeout(this.timeoutRef),this.timeoutRef=null,!I&&this.xo&&this.xo.close(),this.xo=null},S.prototype.close=function(){this.removeAllListeners(),this._cleanup(!1)},S.timeout=8e3,d.exports=S},{"./info-ajax":9,"./info-iframe":11,"./transport/sender/xdr":34,"./transport/sender/xhr-cors":35,"./transport/sender/xhr-fake":36,"./transport/sender/xhr-local":37,"./utils/url":52,debug:void 0,events:3,inherits:54}],13:[function(i,d,m){(function(l){(function(){"use strict";d.exports=l.location||{origin:"http://localhost:80",protocol:"http:",host:"localhost",port:80,href:"http://localhost/",hash:""}}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{}],14:[function(i,d,m){(function(l){(function(){"use strict";i("./shims");var a,o=i("url-parse"),c=i("inherits"),u=i("./utils/random"),g=i("./utils/escape"),v=i("./utils/url"),_=i("./utils/event"),E=i("./utils/transport"),w=i("./utils/object"),S=i("./utils/browser"),I=i("./utils/log"),D=i("./event/event"),y=i("./event/eventtarget"),b=i("./location"),U=i("./event/close"),j=i("./event/trans-message"),F=i("./info-receiver"),C=function(){};function N(re,q,W){if(!(this instanceof N))return new N(re,q,W);if(arguments.length<1)throw new TypeError("Failed to construct 'SockJS: 1 argument required, but only 0 present");y.call(window),this.readyState=N.CONNECTING,this.extensions="",this.protocol="",(W=W||{}).protocols_whitelist&&I.warn("'protocols_whitelist' is DEPRECATED. Use 'transports' instead."),this._transportsWhitelist=W.transports,this._transportOptions=W.transportOptions||{},this._timeout=W.timeout||0;var T=W.sessionId||8;if(typeof T=="function")this._generateSessionId=T;else{if(typeof T!="number")throw new TypeError("If sessionId is used in the options, it needs to be a number or a function.");this._generateSessionId=function(){return u.string(T)}}this._server=W.server||u.numberString(1e3);var L=new o(re);if(!L.host||!L.protocol)throw new SyntaxError("The URL '"+re+"' is 
19invalid");if(L.hash)throw new SyntaxError("The URL must not contain a fragment");if(L.protocol!=="http:"&&L.protocol!=="https:")throw new SyntaxError("The URL's scheme must be either 'http:' or 'https:'. '"+L.protocol+"' is not allowed.");var z=L.protocol==="https:";if(b.protocol==="https:"&&!z&&!v.isLoopbackAddr(L.hostname))throw new Error("SecurityError: An insecure SockJS connection may not be initiated from a page loaded over HTTPS");q?Array.isArray(q)||(q=[q]):q=[];var V=q.sort();V.forEach((function(ie,le){if(!ie)throw new SyntaxError("The protocols entry '"+ie+"' is invalid.");if(le<V.length-1&&ie===V[le+1])throw new SyntaxError("The protocols entry '"+ie+"' is duplicated.")}));var J=v.getOrigin(b.href);this._origin=J?J.toLowerCase():null,L.set("pathname",L.pathname.replace(/\/+$/,"")),this.url=L.href,this.url,this._urlInfo={nullOrigin:!S.hasDomain(),sameOrigin:v.isOriginEqual(this.url,b.href),sameScheme:v.isSchemeEqual(this.url,b.href)},this._ir=new F(this.url,this._urlInfo),this._ir.once("finish",this._receiveInfo.bind(this))}function K(re){return re===1e3||3e3<=re&&re<=4999}c(N,y),N.prototype.close=function(re,q){if(re&&!K(re))throw new Error("InvalidAccessError: Invalid code");if(q&&123<q.length)throw new SyntaxError("reason argument has an invalid length");this.readyState!==N.CLOSING&&this.readyState!==N.CLOSED&&this._close(re||1e3,q||"Normal closure",!0)},N.prototype.send=function(re){if(typeof re!="string"&&(re=""+re),this.readyState===N.CONNECTING)throw new Error("InvalidStateError: The connection has not been established yet");this.readyState===N.OPEN&&this._transport.send(g.quote(re))},N.version=i("./version"),N.CONNECTING=0,N.OPEN=1,N.CLOSING=2,N.CLOSED=3,N.prototype._receiveInfo=function(re,q){if(this._ir=null,re){this._rto=this.countRTO(q),this._transUrl=re.base_url?re.base_url:this.url,re=w.extend(re,this._urlInfo);var W=a.filterToEnabled(this._transportsWhitelist,re);this._transports=W.main,this._transports.length,this._connect()}else this._close(1002,"Cannot connect to server")},N.prototype._connect=function(){for(var re=this._transports.shift();re;re=this._transports.shift()){if(re.transportName,re.needBody&&(!l.document.body||l.document.readyState!==void 0&&l.document.readyState!=="complete"&&l.document.readyState!=="interactive"))return this._transports.unshift(re),void _.attachEvent("load",this._connect.bind(this));var q=Math.max(this._timeout,this._rto*re.roundTrips||5e3);this._transportTimeoutId=setTimeout(this._transportTimeout.bind(this),q);var W=v.addPath(this._transUrl,"/"+this._server+"/"+this._generateSessionId()),T=this._transportOptions[re.transportName],L=new re(W,this._transUrl,T);return L.on("message",this._transportMessage.bind(this)),L.once("close",this._transportClose.bind(this)),L.transportName=re.transportName,void(this._transport=L)}this._close(2e3,"All transports failed",!1)},N.prototype._transportTimeout=function(){this.readyState===N.CONNECTING&&(this._transport&&this._transport.close(),this._transportClose(2007,"Transport timed out"))},N.prototype._transportMessage=function(re){var q,W=this,T=re.slice(0,1),L=re.slice(1);switch(T){case"o":return void this._open();case"h":return this.dispatchEvent(new D("heartbeat")),void this.transport}if(L)try{q=JSON.parse(L)}catch{}if(q!==void 0)switch(T){case"a":Array.isArray(q)&&q.forEach((function(z){W.transport,W.dispatchEvent(new j(z))}));break;case"m":this.transport,this.dispatchEvent(new j(q));break;case"c":Array.isArray(q)&&q.length===2&&this._close(q[0],q[1],!0)}},N.prototype._transportClose=function(re,q){this.transport,this._transport&&(this._transport.removeAllListeners(),this._transport=null,this.transport=null),K(re)||re===2e3||this.readyState!==N.CONNECTING?this._close(re,q):this._connect()},N.prototype._open=function(){this._transport&&this._transport.transportName,this.readyState,this.readyState===N.CONNECTING?(this._transportTimeoutId&&(clearTimeout(this._transportTimeoutId),this._transportTimeoutId=null),this.readyState=N.OPEN,this.transport=this._transport.transportName,this.dispatchEvent(new D("open")),this.transport):this._close(1006,"Server lost session")},N.prototype._close=function(re,q,W){this.transport,this.readyState;var T=!1;if(this._ir&&(T=!0,this._ir.close(),this._ir=null),this._transport&&(this._transport.close(),this._transport=null,this.transport=null),this.readyState===N.CLOSED)throw new Error("InvalidStateError: SockJS has already been closed");this.readyState=N.CLOSING,setTimeout(function(){this.readyState=N.CLOSED,T&&this.dispatchEvent(new D("error"));var L=new U("close");L.wasClean=W||!1,L.code=re||1e3,L.reason=q,this.dispatchEvent(L),this.onmessage=this.onclose
19=this.onerror=null}.bind(this),0)},N.prototype.countRTO=function(re){return 100<re?4*re:300+re},d.exports=function(re){return a=E(re),i("./iframe-bootstrap")(N,re),N}}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"./event/close":2,"./event/event":4,"./event/eventtarget":5,"./event/trans-message":6,"./iframe-bootstrap":8,"./info-receiver":12,"./location":13,"./shims":15,"./utils/browser":44,"./utils/escape":45,"./utils/event":46,"./utils/log":48,"./utils/object":49,"./utils/random":50,"./utils/transport":51,"./utils/url":52,"./version":53,debug:void 0,inherits:54,"url-parse":57}],15:[function(i,d,m){"use strict";function l(W){return u.toString.call(W)==="[object Function]"}function a(W){return E.call(W)==="[object String]"}var o,c=Array.prototype,u=Object.prototype,g=Function.prototype,v=String.prototype,_=c.slice,E=u.toString,w=Object.defineProperty&&(function(){try{return Object.defineProperty({},"x",{}),!0}catch{return!1}})();function S(W,T,L){for(var z in T)u.hasOwnProperty.call(T,z)&&o(W,z,T[z],L)}function I(W){if(W==null)throw new TypeError("can't convert "+W+" to object");return Object(W)}function D(){}o=w?function(W,T,L,z){!z&&T in W||Object.defineProperty(W,T,{configurable:!0,enumerable:!1,writable:!0,value:L})}:function(W,T,L,z){!z&&T in W||(W[T]=L)},S(g,{bind:function(W){var T=this;if(!l(T))throw new TypeError("Function.prototype.bind called on incompatible "+T);for(var L=_.call(arguments,1),z=Math.max(0,T.length-L.length),V=[],J=0;J<z;J++)V.push("$"+J);var ie=Function("binder","return function ("+V.join(",")+"){ return binder.apply(this, arguments); }")((function(){if(this instanceof ie){var le=T.apply(this,L.concat(_.call(arguments)));return Object(le)===le?le:this}return T.apply(W,L.concat(_.call(arguments)))}));return T.prototype&&(D.prototype=T.prototype,ie.prototype=new D,D.prototype=null),ie}}),S(Array,{isArray:function(W){return E.call(W)==="[object Array]"}});var y,b,U,j=Object("a"),F=j[0]!=="a"||!(0 in j);S(c,{forEach:function(W,T){var L=I(this),z=F&&a(this)?this.split(""):L,V=T,J=-1,ie=z.length>>>0;if(!l(W))throw new TypeError;for(;++J<ie;)J in z&&W.call(V,z[J],J,L)}},(y=c.forEach,U=b=!0,y&&(y.call("foo",(function(W,T,L){typeof L!="object"&&(b=!1)})),y.call([1],(function(){U=typeof this=="string"}),"x")),!(y&&b&&U)));var C=Array.prototype.indexOf&&[0,1].indexOf(1,2)!==-1;S(c,{indexOf:function(W,T){var L=F&&a(this)?this.split(""):I(this),z=L.length>>>0;if(!z)return-1;var V=0;for(1<arguments.length&&(V=(function(J){var ie=+J;return ie!=ie?ie=0:ie!==0&&ie!==1/0&&ie!==-1/0&&(ie=(0<ie||-1)*Math.floor(Math.abs(ie))),ie})(T)),V=0<=V?V:Math.max(0,z+V);V<z;V++)if(V in L&&L[V]===W)return V;return-1}},C);var N,K=v.split;"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||"tesst".split(/(s)*/)[1]==="t"||"test".split(/(?:)/,-1).length!==4||"".split(/.?/).length||1<".".split(/()()/).length?(N=/()??/.exec("")[1]===void 0,v.split=function(W,T){var L=this;if(W===void 0&&T===0)return[];if(E.call(W)!=="[object RegExp]")return K.call(this,W,T);var z,V,J,ie,le=[],H=(W.ignoreCase?"i":"")+(W.multiline?"m":"")+(W.extended?"x":"")+(W.sticky?"y":""),de=0;for(W=new RegExp(W.source,H+"g"),L+="",N||(z=new RegExp("^"+W.source+"$(?!\\s)",H)),T=T===void 0?-1>>>0:(function($){return $>>>0})(T);(V=W.exec(L))&&!(de<(J=V.index+V[0].length)&&(le.push(L.slice(de,V.index)),!N&&1<V.length&&V[0].replace(z,(function(){for(var $=1;$<arguments.length-2;$++)arguments[$]===void 0&&(V[$]=void 0)})),1<V.length&&V.index<L.length&&c.push.apply(le,V.slice(1)),ie=V[0].length,de=J,le.length>=T));)W.lastIndex===V.index&&W.lastIndex++;return de===L.length?!ie&&W.test("")||le.push(""):le.push(L.slice(de)),le.length>T?le.slice(0,T):le}):"0".split(void 0,0).length&&(v.split=function(W,T){return W===void 0&&T===0?[]:K.call(this,W,T)});var re=v.substr,q;S(v,{substr:function(W,T){return re.call(this,W<0&&(W=this.length+W)<0?0:W,T)}},"".substr&&"0b".substr(-1)!=="b")},{}],16:[function(i,d,m){"use strict";d.exports=[i("./transport/websocket"),i("./transport/xhr-streaming"),i("./transport/xdr-streaming"),i("./transport/eventsource"),i("./transport/lib/iframe-wrap")(i("./transport/eventsource")),i("./transport/htmlfile"),i("./transport/lib/iframe-wrap")(i("./transport/htmlfile")),i("./transport/xhr-polling"),i("./transport/xdr-polling"),i("./transport/lib/iframe-wrap")(i("./transport/xhr-polling")),i("./transport/jsonp-polling")]},{"./transport/eventsource":20,"./transport/htmlfile":21,"./transport/jsonp-polling":23,"./transport/lib/iframe-wrap":26,"./transport/websocket":38,"./transport/xdr-polling":39,"./transport/xdr-streaming":40,"./transport/xhr-polling":41,"./transport/xhr-streaming":42}],17:[function(i,d,m){(function(l){(function(){"use strict";var a=i("events").EventEmitter,o=i("inherits"),c=i("../../utils/event"),u=i("../../utils/url"),g=l.XMLHttpRequest,v=function(){};function _(S,I,D,y){var b=this;a.call(window),setTimeout((function(){b._start(S,I,D,y)}),0)}o(_,a),_.prototype._start=function(S,I,D,y){var b=this;try{this.xhr=new g}catch{}
19if(!this.xhr)return this.emit("finish",0,"no xhr support"),void this._cleanup();I=u.addQuery(I,"t="+ +new Date),this.unloadRef=c.unloadAdd((function(){b._cleanup(!0)}));try{this.xhr.open(S,I,!0),this.timeout&&"timeout"in this.xhr&&(this.xhr.timeout=this.timeout,this.xhr.ontimeout=function(){b.emit("finish",0,""),b._cleanup(!1)})}catch{return this.emit("finish",0,""),void this._cleanup(!1)}if(y&&y.noCredentials||!_.supportsCORS||(this.xhr.withCredentials=!0),y&&y.headers)for(var U in y.headers)this.xhr.setRequestHeader(U,y.headers[U]);this.xhr.onreadystatechange=function(){if(b.xhr){var j,F,C=b.xhr;switch(C.readyState,C.readyState){case 3:try{F=C.status,j=C.responseText}catch{}F===1223&&(F=204),F===200&&j&&0<j.length&&b.emit("chunk",F,j);break;case 4:(F=C.status)===1223&&(F=204),F!==12005&&F!==12029||(F=0),C.responseText,b.emit("finish",F,C.responseText),b._cleanup(!1)}}};try{b.xhr.send(D)}catch{b.emit("finish",0,""),b._cleanup(!1)}},_.prototype._cleanup=function(S){if(this.xhr){if(this.removeAllListeners(),c.unloadDel(this.unloadRef),this.xhr.onreadystatechange=function(){},this.xhr.ontimeout&&(this.xhr.ontimeout=null),S)try{this.xhr.abort()}catch{}this.unloadRef=this.xhr=null}},_.prototype.close=function(){this._cleanup(!0)},_.enabled=!!g;var E=["Active"].concat("Object").join("X");!_.enabled&&E in l&&(_.enabled=!!new(g=function(){try{return new l[E]("Microsoft.XMLHTTP")}catch{return null}}));var w=!1;try{w="withCredentials"in new g}catch{}_.supportsCORS=w,d.exports=_}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"../../utils/event":46,"../../utils/url":52,debug:void 0,events:3,inherits:54}],18:[function(i,d,m){(function(l){(function(){d.exports=l.EventSource}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{}],19:[function(i,d,m){(function(l){(function(){"use strict";var a=l.WebSocket||l.MozWebSocket;d.exports=a?function(o){return new a(o)}:void 0}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{}],20:[function(i,d,m){"use strict";var l=i("inherits"),a=i("./lib/ajax-based"),o=i("./receiver/eventsource"),c=i("./sender/xhr-cors"),u=i("eventsource");function g(v){if(!g.enabled())throw new Error("Transport created when disabled");a.call(this,v,"/eventsource",o,c)}l(g,a),g.enabled=function(){return!!u},g.transportName="eventsource",g.roundTrips=2,d.exports=g},{"./lib/ajax-based":24,"./receiver/eventsource":29,"./sender/xhr-cors":35,eventsource:18,inherits:54}],21:[function(i,d,m){"use strict";var l=i("inherits"),a=i("./receiver/htmlfile"),o=i("./sender/xhr-local"),c=i("./lib/ajax-based");function u(g){if(!a.enabled)throw new Error("Transport created when disabled");c.call(this,g,"/htmlfile",a,o)}l(u,c),u.enabled=function(g){return a.enabled&&g.sameOrigin},u.transportName="htmlfile",u.roundTrips=2,d.exports=u},{"./lib/ajax-based":24,"./receiver/htmlfile":30,"./sender/xhr-local":37,inherits:54}],22:[function(i,d,m){"use strict";var l=i("inherits"),a=i("events").EventEmitter,o=i("../version"),c=i("../utils/url"),u=i("../ut
19ils/iframe"),g=i("../utils/event"),v=i("../utils/random"),_=function(){};function E(w,S,I){if(!E.enabled())throw new Error("Transport created when disabled");a.call(window);var D=this;this.origin=c.getOrigin(I),this.baseUrl=I,this.transUrl=S,this.transport=w,this.windowId=v.string(8);var y=c.addPath(I,"/iframe.html")+"#"+this.windowId;this.iframeObj=u.createIframe(y,(function(b){D.emit("close",1006,"Unable to load an iframe ("+b+")"),D.close()})),this.onmessageCallback=this._message.bind(this),g.attachEvent("message",this.onmessageCallback)}l(E,a),E.prototype.close=function(){if(this.removeAllListeners(),this.iframeObj){g.detachEvent("message",this.onmessageCallback);try{this.postMessage("c")}catch{}this.iframeObj.cleanup(),this.iframeObj=null,this.onmessageCallback=this.iframeObj=null}},E.prototype._message=function(w){if(w.data,c.isOriginEqual(w.origin,this.origin)){var S;try{S=JSON.parse(w.data)}catch{return void w.data}if(S.windowId===this.windowId)switch(S.type){case"s":this.iframeObj.loaded(),this.postMessage("s",JSON.stringify([o,this.transport,this.transUrl,this.baseUrl]));break;case"t":this.emit("message",S.data);break;case"c":var I;try{I=JSON.parse(S.data)}catch{return void S.data}this.emit("close",I[0],I[1]),this.close()}else S.windowId,this.windowId}else w.origin,this.origin},E.prototype.postMessage=function(w,S){this.iframeObj.post(JSON.stringify({windowId:this.windowId,type:w,data:S||""}),this.origin)},E.prototype.send=function(w){this.postMessage("m",w)},E.enabled=function(){return u.iframeEnabled},E.transportName="iframe",E.roundTrips=2,d.exports=E},{"../utils/event":46,"../utils/iframe":47,"../utils/random":50,"../utils/url":52,"../version":53,debug:void 0,events:3,inherits:54}],23:[function(i,d,m){(function(l){(function(){"use strict";var a=i("inherits"),o=i("./lib/sender-receiver"),c=i("./receiver/jsonp"),u=i("./sender/jsonp");function g(v){if(!g.enabled())throw new Error("Transport created when disabled");o.call(this,v,"/jsonp",u,c)}a(g,o),g.enabled=function(){return!!l.document},g.transportName="jsonp-polling",g.roundTrips=1,g.needBody=!0,d.exports=g}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"./lib/sender-receiver":28,"./receiver/jsonp":31,"./sender/jsonp":33,inherits:54}],24:[function(i,d,m){"use strict";var l=i("inherits"),a=i("../../utils/url"),o=i("./sender-receiver"),c=function(){};function u(g,v,_,E){var w;o.call(this,g,v,(w=E,function(S,I,D){var y={};typeof I=="string"&&(y.headers={"Content-type":"text/plain"});var b=a.addPath(S,"/xhr_send"),U=new w("POST",b,I,y);return U.once("finish",(function(j){if(U=null,j!==200&&j!==204)return D(new Error("http status "+j));D()})),function(){U.close(),U=null;var j=new Error("Aborted");j.code=1e3,D(j)}}),_,E)}l(u,o),d.exports=u},{"../../utils/url":52,"./sender-receiver":28,debug:void 0,inherits:54}],25:[function(i,d,m){"use strict";var l=i("inherits"),a=i("events").EventEmitter,o=function(){};function c(u,g){a.call(window),this.sendBuffer=[],this.sender=g,this.url=u}l(c,a),c.prototype.send=function(u){this.sendBuffer.push(u),this.sendStop||this.sendSchedule()},c.prototype.sendScheduleWait=function(){var u,g=this;this.sendStop=function(){g.sendStop=null,clearTimeout(u)},u=setTimeout((function(){g.sendStop=null,g.sendSchedule()}),25)},c.prototype.sendSchedule=function(){this.sendBuffer.length;var u=this;if(0<this.sendBuffer.length){var g="["+this.sendBuffer.join(",")+"]";this.sendStop=this.sender(this.url,g,(function(v){u.sendStop=null,v?(u.emit("close",v.code||1006,"Sending error: "+v),u.close()):u.sendScheduleWait()})),this.sendBuffer=[]}},c.prototype._cleanup=function(){this.removeAllListeners()},c.prototype.close=function(){this._cleanup(),this.sendStop&&(this.sendStop(),this.sendStop=null)},d.exports=c},{debug:void 0,events:3,inherits:54}],26:[function(i,d,m){(function(l){(function(){"use strict";var a=i("inherits"),o=i("../iframe"),c=i("../../utils/object");d.exports=function(u){function g(v,_){o.call(this,u.transportName,v,_)}return a(g,o),g.enabled=function(v,_){if(!l.document)return!1;var E=c.extend({},_);return E.sameOrigin=!0,u.enabled(E)&&o.enabled()},g.transportName="iframe-"+u.transportName,g.needBody=!0,g.roundTrips=o.roundTrips+u.roundTrips-1,g.facadeTransport=u,g}}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"../../utils/object":49,"../iframe":22,inherits:54}],27:[function(i,d,m){"use strict";var l=i("inherits"),a=i("events").EventEmitter,o=function(){};function c(u,g,v){a.call(window),this.Receiver=u,this.receiveUrl=g,this.AjaxObject=v,this._scheduleReceiver()}l(c,a),c.prototype._scheduleReceiver=function(){var u=this,g=this.poll=new this.Receiver(this.receiveUrl,this.AjaxObject);g.on("message",(function(v){u.emit("message",v)}
19)),g.once("close",(function(v,_){u.pollIsClosing,u.poll=g=null,u.pollIsClosing||(_==="network"?u._scheduleReceiver():(u.emit("close",v||1006,_),u.removeAllListeners()))}))},c.prototype.abort=function(){this.removeAllListeners(),this.pollIsClosing=!0,this.poll&&this.poll.abort()},d.exports=c},{debug:void 0,events:3,inherits:54}],28:[function(i,d,m){"use strict";var l=i("inherits"),a=i("../../utils/url"),o=i("./buffered-sender"),c=i("./polling"),u=function(){};function g(v,_,E,w,S){var I=a.addPath(v,_),D=this;o.call(this,v,E),this.poll=new c(w,I,S),this.poll.on("message",(function(y){D.emit("message",y)})),this.poll.once("close",(function(y,b){D.poll=null,D.emit("close",y,b),D.close()}))}l(g,o),g.prototype.close=function(){o.prototype.close.call(window),this.removeAllListeners(),this.poll&&(this.poll.abort(),this.poll=null)},d.exports=g},{"../../utils/url":52,"./buffered-sender":25,"./polling":27,debug:void 0,inherits:54}],29:[function(i,d,m){"use strict";var l=i("inherits"),a=i("events").EventEmitter,o=i("eventsource"),c=function(){};function u(g){a.call(window);var v=this,_=this.es=new o(g);_.onmessage=function(E){E.data,v.emit("message",decodeURI(E.data))},_.onerror=function(E){_.readyState;var w=_.readyState!==2?"network":"permanent";v._cleanup(),v._close(w)}}l(u,a),u.prototype.abort=function(){this._cleanup(),this._close("user")},u.prototype._cleanup=function(){var g=this.es;g&&(g.onmessage=g.onerror=null,g.close(),this.es=null)},u.prototype._close=function(g){var v=this;setTimeout((function(){v.emit("close",null,g),v.removeAllListeners()}),200)},d.exports=u},{debug:void 0,events:3,eventsource:18,inherits:54}],30:[function(i,d,m){(function(l){(function(){"use strict";var a=i("inherits"),o=i("../../utils/iframe"),c=i("../../utils/url"),u=i("events").EventEmitter,g=i("../../utils/random"),v=function(){};function _(w){u.call(window);var S=this;o.polluteGlobalNamespace(),this.id="a"+g.string(6),w=c.addQuery(w,"c="+decodeURIComponent(o.WPrefix+"."+this.id)),_.htmlfileEnabled;var I=_.htmlfileEnabled?o.createHtmlfile:o.createIframe;l[o.WPrefix][this.id]={start:function(){S.iframeObj.loaded()},message:function(D){S.emit("message",D)},stop:function(){S._cleanup(),S._close("network")}},this.iframeObj=I(w,(function(){S._cleanup(),S._close("permanent")}))}a(_,u),_.prototype.abort=function(){this._cleanup(),this._close("user")},_.prototype._cleanup=function(){this.iframeObj&&(this.iframeObj.cleanup(),this.iframeObj=null),delete l[o.WPrefix][this.id]},_.prototype._close=function(w){this.emit("close",null,w),this.removeAllListeners()},_.htmlfileEnabled=!1;var E=["Active"].concat("Object").join("X");if(E in l)try{_.htmlfileEnabled=!!new l[E]("htmlfile")}catch{}_.enabled=_.htmlfileEnabled||o.iframeEnabled,d.exports=_}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"../../utils/iframe":47,"../../utils/random":50,"../../utils/url":52,debug:void 0,events:3,inherits:54}],31:[function(i,d,m){(function(l){(function(){"use strict";var a=i("../../utils/iframe"),o=i("../../utils/random"),c=i("../../utils/browser"),u=i("../../utils/url"),g=i("inherits"),v=i("events").EventEmitter,_=function(){};function E(w){var S=this;v.call(window),a.polluteGlobalNamespace(),this.id="a"+o.string(6);var I=u.addQuery(w,"c="+encodeURIComponent(a.WPrefix+"."+this.id));l[a.WPrefix][this.id]=this._callback.bind(this),this._createScript(I),this.timeoutId=setTimeout((function(){S._abort(new Error("JSONP script loaded abnormally (timeout)"))}),E.timeout)}g(E,v),E.prototype.abort=function(){if(l[a.WPrefix][this.id]){var w=new Error("JSONP user aborted read");w.code=1e3,this._abort(w)}},E.timeout=35e3,E.scriptErrorTimeout=1e3,E.prototype._callback=function(w){this._cleanup(),this.aborting||(w&&this.emit("message",w),this.emit("close",null,"network"),this.removeAllListeners())},E.prototype._abort=function(w){this._cleanup(),this.aborting=!0,this.emit("close",w.code,w.message),this.removeAllListeners()},E.prototype._cleanup=function(){if(clearTimeout(this.timeoutId),this.script2&&(this.script2.parentNode.removeChild(this.script2),this.script2=null),this.script){var w=this.script;w.parentNode.removeChild(w),w.onreadystatechange=w.onerror=w.onload=w.onclick=null,this.script=null}delete l[a.WPrefix][this.id]},E.prototype._scriptError=function(){var w=this;this.errorTimer||(this.errorTimer=setTimeout((function(){w.loadedOkay||w._abort(new Error("JSONP script loaded abnormally (onerror)"))}),E.scriptErrorTimeout))},E.prototype._createScript=function(w){var S,I=this,D=this.script=l.document.createElement("script");
19if(D.id="a"+o.string(8),D.src=w,D.type="text/javascript",D.charset="UTF-8",D.onerror=this._scriptError.bind(this),D.onload=function(){I._abort(new Error("JSONP script loaded abnormally (onload)"))},D.onreadystatechange=function(){if(D.readyState,/loaded|closed/.test(D.readyState)){if(D&&D.htmlFor&&D.onclick){I.loadedOkay=!0;try{D.onclick()}catch{}}D&&I._abort(new Error("JSONP script loaded abnormally (onreadystatechange)"))}},D.async===void 0&&l.document.attachEvent)if(c.isOpera())(S=this.script2=l.document.createElement("script")).text="try{var a = document.getElementById('"+D.id+"'); if(a)a.onerror();}catch(x){};",D.async=S.async=!1;else{try{D.htmlFor=D.id,D.event="onclick"}catch{}D.async=!0}D.async!==void 0&&(D.async=!0);var y=l.document.getElementsByTagName("head")[0];y.insertBefore(D,y.firstChild),S&&y.insertBefore(S,y.firstChild)},d.exports=E}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"../../utils/browser":44,"../../utils/iframe":47,"../../utils/random":50,"../../utils/url":52,debug:void 0,events:3,inherits:54}],32:[function(i,d,m){"use strict";var l=i("inherits"),a=i("events").EventEmitter,o=function(){};function c(u,g){a.call(window);var v=this;this.bufferPosition=0,this.xo=new g("POST",u,null),this.xo.on("chunk",this._chunkHandler.bind(this)),this.xo.once("finish",(function(_,E){v._chunkHandler(_,E),v.xo=null;var w=_===200?"network":"permanent";v.emit("close",null,w),v._cleanup()}))}l(c,a),c.prototype._chunkHandler=function(u,g){if(u===200&&g)for(var v=-1;;this.bufferPosition+=v+1){var _=g.slice(this.bufferPosition);if((v=_.indexOf(`
20`))===-1)break;var E=_.slice(0,v);E&&this.emit("message",E)}},c.prototype._cleanup=function(){this.removeAllListeners()},c.prototype.abort=function(){this.xo&&(this.xo.close(),this.emit("close",null,"user"),this.xo=null),this._cleanup()},d.exports=c},{debug:void 0,events:3,inherits:54}],33:[function(i,d,m){(function(l){(function(){"use strict";var a,o,c=i("../../utils/random"),u=i("../../utils/url"),g=function(){};d.exports=function(v,_,E){a||((a=l.document.createElement("form")).style.display="none",a.style.position="absolute",a.method="POST",a.enctype="application/x-www-form-urlencoded",a.acceptCharset="UTF-8",(o=l.document.createElement("textarea")).name="d",a.appendChild(o),l.document.body.appendChild(a));var w="a"+c.string(8);a.target=w,a.action=u.addQuery(u.addPath(v,"/jsonp_send"),"i="+w);var S=(function(D){try{return l.document.createElement('<iframe name="'+D+'">')}catch{var y=l.document.createElement("iframe");return y.name=D,y}})(w);S.id=w,S.style.display="none",a.appendChild(S);try{o.value=_}catch{}function I(D){S.onerror&&(S.onreadystatechange=S.onerror=S.onload=null,setTimeout((function(){S.parentNode.removeChild(S),S=null}),500),o.value="",E(D))}return a.submit(),S.onerror=function(){I()},S.onload=function(){I()},S.onreadystatechange=function(D){S.readyState,S.readyState==="complete"&&I()},function(){I(new Error("Aborted"))}}}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"../../utils/random":50,"../../utils/url":52,debug:void 0}],34:[function(i,d,m){(function(l){(function(){"use strict";var a=i("events").EventEmitter,o=i("inherits"),c=i("../../utils/event"),u=i("../../utils/browser"),g=i("../../utils/url"),v=function(){};function _(E,w,S){var I=this;a.call(window),setTimeout((function(){I._start(E,w,S)}),0)}o(_,a),_.prototype._start=function(E,w,S){var I=this,D=new l.XDomainRequest;w=g.addQuery(w,"t="+ +new Date),D.onerror=function(){I._error()},D.ontimeout=function(){I._error()},D.onprogress=function(){D.responseText,I.emit("chunk",200,D.responseText)},D.onload=function(){I.emit("finish",200,D.responseText),I._cleanup(!1)},this.xdr=D,this.unloadRef=c.unloadAdd((function(){I._cleanup(!0)}));try{this.xdr.open(E,w),this.timeout&&(this.xdr.timeout=this.timeout),this.xdr.send(S)}catch{this._error()}},_.prototype._error=function(){this.emit("finish",0,""),this._cleanup(!1)},_.prototype._cleanup=function(E){if(this.xdr){if(this.removeAllListeners(),c.unloadDel(this.unloadRef),this.xdr.ontimeout=this.xdr.onerror=this.xdr.on
20progress=this.xdr.onload=null,E)try{this.xdr.abort()}catch{}this.unloadRef=this.xdr=null}},_.prototype.close=function(){this._cleanup(!0)},_.enabled=!(!l.XDomainRequest||!u.hasDomain()),d.exports=_}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"../../utils/browser":44,"../../utils/event":46,"../../utils/url":52,debug:void 0,events:3,inherits:54}],35:[function(i,d,m){"use strict";var l=i("inherits"),a=i("../driver/xhr");function o(c,u,g,v){a.call(this,c,u,g,v)}l(o,a),o.enabled=a.enabled&&a.supportsCORS,d.exports=o},{"../driver/xhr":17,inherits:54}],36:[function(i,d,m){"use strict";var l=i("events").EventEmitter;function a(){var o=this;l.call(window),this.to=setTimeout((function(){o.emit("finish",200,"{}")}),a.timeout)}i("inherits")(a,l),a.prototype.close=function(){clearTimeout(this.to)},a.timeout=2e3,d.exports=a},{events:3,inherits:54}],37:[function(i,d,m){"use strict";var l=i("inherits"),a=i("../driver/xhr");function o(c,u,g){a.call(this,c,u,g,{noCredentials:!0})}l(o,a),o.enabled=a.enabled,d.exports=o},{"../driver/xhr":17,inherits:54}],38:[function(i,d,m){"use strict";
20var l=i("../utils/event"),a=i("../utils/url"),o=i("inherits"),c=i("events").EventEmitter,u=i("./driver/websocket"),g=function(){};function v(_,E,w){if(!v.enabled())throw new Error("Transport created when disabled");c.call(window);var S=this,I=a.addPath(_,"/websocket");I=I.slice(0,5)==="https"?"wss"+I.slice(5):"ws"+I.slice(4),this.url=I,this.ws=new u(this.url,[],w),this.ws.onmessage=function(D){D.data,S.emit("message",D.data)},this.unloadRef=l.unloadAdd((function(){S.ws.close()})),this.ws.onclose=function(D){D.code,D.reason,S.emit("close",D.code,D.reason),S._cleanup()},this.ws.onerror=function(D){S.emit("close",1006,"WebSocket connection broken"),S._cleanup()}}o(v,c),v.prototype.send=function(_){var E="["+_+"]";this.ws.send(E)},v.prototype.close=function(){var _=this.ws;this._cleanup(),_&&_.close()},v.prototype._cleanup=function(){var _=this.ws;_&&(_.onmessage=_.onclose=_.onerror=null),l.unloadDel(this.unloadRef),this.unloadRef=this.ws=null,this.removeAllListeners()},v.enabled=function(){return!!u},v.transportName="websocket",v.roundTrips=2,d.exports=v},{"../utils/event":46,"../utils/url":52,"./driver/websocket":19,debug:void 0,events:3,inherits:54}],39:[function(i,d,m){"use strict";var l=i("inherits"),a=i("./lib/ajax-based"),o=i("./xdr-streaming"),c=i("./receiver/xhr"),u=i("./sender/xdr");function g(v){if(!u.enabled)throw new Error("Transport created when disabled");a.call(this,v,"/xhr",c,u)}l(g,a),g.enabled=o.enabled,g.transportName="xdr-polling",g.roundTrips=2,d.exports=g},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xdr":34,"./xdr-streaming":40,inherits:54}],40:[function(i,d,m){"use strict";var l=i("inherits"),a=i("./lib/ajax-based"),o=i("./receiver/xhr"),c=i("./sender/xdr");function u(g){if(!c.enabled)throw new Error("Transport created when disabled");a.call(this,g,"/xhr_streaming",o,c)}l(u,a),u.enabled=function(g){return!g.cookie_needed&&!g.nullOrigin&&c.enabled&&g.sameScheme},u.transportName="xdr-streaming",u.roundTrips=2,d.exports=u},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xdr":34,inherits:54}],41:[function(i,d,m){"use strict";var l=i("inherits"),a=i("./lib/ajax-based"),o=i("./receiver/xhr"),c=i("./sender/xhr-cors"),u=i("./sender/xhr-local");function g(v){if(!u.enabled&&!c.enabled)throw new Error("Transport created when disabled");a.call(this,v,"/xhr",o,c)}l(g,a),g.enabled=function(v){return!v.nullOrigin&&(!(!u.enabled||!v.sameOrigin)||c.enabled)},g.transportName="xhr-polling",g.roundTrips=2,d.exports=g},{"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xhr-cors":35,"./sender/xhr-local":37,inherits:54}],42:[function(i,d,m){(function(l){(function(){"use strict";var a=i("inherits"),o=i("./lib/ajax-based"),c=i("./receiver/xhr"),u=i("./sender/xhr-cors"),g=i("./sender/xhr-local"),v=i("../utils/browser");function _(E){if(!g.enabled&&!u.enabled)throw new Error("Transport created when disabled");o.call(this,E,"/xhr_streaming",c,u)}a(_,o),_.enabled=function(E){return!E.nullOrigin&&!v.isOpera()&&u.enabled},_.transportName="xhr-streaming",_.roundTrips=2,_.needBody=!!l.document,d.exports=_}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"../utils/browser":44,"./lib/ajax-based":24,"./receiver/xhr":32,"./sender/xhr-cors":35,"./sender/xhr-local":37,inherits:54}],43:[function(i,d,m){(function(l){(function(){"use strict";l.crypto&&l.crypto.getRandomValues?d.exports.randomBytes=function(a){var o=new Uint8Array(a);return l.crypto.getRandomValues(o),o}:d.exports.randomBytes=function(a){for(var o=new Array(a),c=0;c<a;c++)o[c]=Math.floor(256*Math.random());return o}}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{}],44:[function(i,d,m){(function(l){(function(){"use strict";d.exports={isOpera:function(){return l.navigator&&/opera/i.test(l.navigator.userAgent)},isKonqueror:function(){return l.navigator&&/konqueror/i.test(l.navigator.userAgent)},hasDomain:function(){if(!l.document)return!0;try{return!!l.document.domain}catch{return!1}}}}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{}],45:[function(i,d,m){"use strict";var l,a=/[\x00-\x1f\ud800-\udfff\ufffe\uffff\u0300-\u0333\u033d-\u0346\u034a-\u034c\u0350-\u0352\u0357-\u0358\u035c-\u0362\u0374\u037e\u0387\u0591-\u05af\u
2005c4\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;d.exports={quote:function(o){var c=JSON.stringify(o);return a.lastIndex=0,a.test(c)?(l=l||(function(u){var g,v={},_=[];for(g=0;g<65536;g++)_.push(String.fromCharCode(g));return u.lastIndex=0,_.join("").replace(u,(function(E){return v[E]="\\u"+("0000"+E.charCodeAt(0).toString(16)).slice(-4),""})),u.lastIndex=0,v})(a),c.replace(a,(function(u){return l[u]}))):c}}},{}],46:[function(i,d,m){(function(l){(function(){"use strict";var a=i("./random"),o={},c=!1,u=l.chrome&&l.chrome.app&&l.chrome.app.runtime;d.exports={attachEvent:function(g,v){l.addEventListener!==void 0?l.addEventListener(g,v,!1):l.document&&l.attachEvent&&(l.document.attachEvent("on"+g,v),l.attachEvent("on"+g,v))},detachEvent:function(g,v){l.addEventListener!==void 0?l.removeEventListener(g,v,!1):l.document&&l.detachEvent&&(l.document.detachEvent("on"+g,v),l.detachEvent("on"+g,v))},unloadAdd:function(g){if(u)return null;var v=a.string(8);return o[v]=g,c&&setTimeout(this.triggerUnloadCallbacks,0),v},unloadDel:function(g){g in o&&delete o[g]},triggerUnloadCallbacks:function(){for(var g in o)o[g](),delete o[g]}},u||d.exports.attachEvent("unload",(function(){c||(c=!0,d.exports.triggerUnloadCallbacks())}))}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"./random":50}],47:[function(i,d,m){(function(l){(function(){"use strict";var a=i("./event"),o=i("./browser"),c=function(){};d.exports={WPrefix:"_jp",currentWindowId:null,polluteGlobalNamespace:function(){d.exports.WPrefix in l||(l[d.exports.WPrefix]={})},postMessage:function(u,g){l.parent!==l&&l.parent.postMessage(JSON.stringify({windowId:d.exports.currentWindowId,type:u,data:g||""}),"*")},createIframe:function(u,g){function v(){clearTimeout(w);try{I.onload=null}catch{}I.onerror=null}function _(){I&&(v(),setTimeout((function(){I&&I.parentNode.removeChild(I),I=null}),0),a.unloadDel(S))}function E(D){I&&(_(),g(D))}var w,S,I=l.document.createElement("iframe");return I.src=u,I.style.display="none",I.style.position="absolute",I.onerror=function(){E("onerror")},I.onload=function(){clearTimeout(w),w=setTimeout((function(){E("onload timeout")}),2e3)},l.document.body.appendChild(I),w=setTimeout((function(){E("timeout")}),15e3),S=a.unloadAdd(_),{post:function(D,y){setTimeout((function(){try{I&&I.contentWindow&&I.contentWindow.postMessage(D,y)}catch{}}),0)},cleanup:_,loaded:v}},createHtmlfile:function(u,g){function v(){clearTimeout(w),I.onerror=null}function _(){y&&(v(),a.unloadDel(S),I.parentNode.removeChild(I),I=y=null,CollectGarbage())}function E(U){y&&(_(),g(U))}var w,S,I,D=["Active"].concat("Object").join("X"),y=new l[D]("htmlfile");y.open(),y.write('<html><script>document.domain="'+l.document.domain+'";<\/script></html>'),y.close(),y.parentWindow[d.exports.WPrefix]=l[d.exports.WPrefix];var b=y.createElement("div");return y.body.appendChild(b),I=y.createElement("iframe"),b.appendChild(I),I.src=u,I.onerror=function(){E("onerror")},w=setTimeout((function(){E("timeout")}),15e3),S=a.unloadAdd(_),{post:function(U,j){try{setTimeout((function(){I&&I.contentWindow&&I.contentWindow.postMessage(U,j)}),0)}catch{}},cleanup:_,loaded:v}}},d.exports.iframeEnabled=!1,l.document&&(d.exports.iframeEnabled=(typeof l.postMessage=="function"||typeof l.postMessage=="object")&&!o.isKonqueror())}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{"./browser":44,"./event":46,debug:void 0}],48:[function(i,d,m){(function(l){(function(){"use strict";var a={};["log","debug","warn"].forEach((function(o){var c;try{c=l.console&&l.console[o]&&l.console[o].apply}catch{}a[o]=c?function(){return l.console[o].apply(l.console,arguments)}:o==="log"?function(){}:a.log})),d.exports=a}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{}],49:[function(i,d,m){"use strict";d.exports={isObject:function(l){var a=typeof l;return a=="function"||a=="object"&&!!l},extend:function(l){if(!this.isObject(l))return l;for(var a,o,c=1,u=arguments.length;c<u;c++)for(o in a=arguments[c])Object.prototype.hasOwnProperty.call(a,o)&&(l[o]=a[o]);return l}}},{}],50:[function(i,d,m){"use strict";var l=i("crypto"),a="abcdefghijklmnopqrstuvwxyz012345";d.exports={string:function(o){for(var c=a.length,u=l.randomBytes(o),g=[],v=0;v<o;v++)g.push(a.substr(u[v]%c,1));return g.join("")},number:function(o){return Math.floor(Math.random()*o)},numberString:function(o){var c=(""+(o-1)).length;return(new Array(c+1).join("0")+this.number(o)).slice(-c)}}},{crypto:43}],51:[function(i,d,m){"use strict";var l=function(){};d.exports=function(a){return{filterToEnabled:function(o,c){var u={main:[],facade:[]};
20return o?typeof o=="string"&&(o=[o]):o=[],a.forEach((function(g){g&&(g.transportName!=="websocket"||c.websocket!==!1)&&(o.length&&o.indexOf(g.transportName)===-1?g.transportName:g.enabled(c)?(g.transportName,u.main.push(g),g.facadeTransport&&u.facade.push(g.facadeTransport)):g.transportName)})),u}}}},{debug:void 0}],52:[function(i,d,m){"use strict";var l=i("url-parse"),a=function(){};d.exports={getOrigin:function(o){if(!o)return null;var c=new l(o);if(c.protocol==="file:")return null;var u=c.port;return u=u||(c.protocol==="https:"?"443":"80"),c.protocol+"//"+c.hostname+":"+u},isOriginEqual:function(o,c){var u=this.getOrigin(o)===this.getOrigin(c);return u},isSchemeEqual:function(o,c){return o.split(":")[0]===c.split(":")[0]},addPath:function(o,c){var u=o.split("?");return u[0]+c+(u[1]?"?"+u[1]:"")},addQuery:function(o,c){return o+(o.indexOf("?")===-1?"?"+c:"&"+c)},isLoopbackAddr:function(o){return/^127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(o)||/^\[::1\]$/.test(o)}}},{debug:void 0,"url-parse":57}],53:[function(i,d,m){d.exports="1.6.1"},{}],54:[function(i,d,m){typeof Object.create=="function"?d.exports=function(l,a){a&&(l.super_=a,l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}))}:d.exports=function(l,a){if(a){let c=function(){};var o=c;l.super_=a,c.prototype=a.prototype,l.prototype=new c,l.prototype.constructor=l}}},{}],55:[function(i,d,m){"use strict";var l=Object.prototype.hasOwnProperty;function a(o){try{return decodeURIComponent(o.replace(/\+/g," "))}catch{return null}}m.stringify=function(o,c){c=c||"";var u,g,v=[];for(g in typeof c!="string"&&(c="?"),o)if(l.call(o,g)){if((u=o[g])||u!=null&&!isNaN(u)||(u=""),g=encodeURIComponent(g),u=encodeURIComponent(u),g===null||u===null)continue;v.push(g+"="+u)}return v.length?c+v.join("&"):""},m.parse=function(o){for(var c,u=/([^=?&]+)=?([^&]*)/g,g={};c=u.exec(o);){var v=a(c[1]),_=a(c[2]);v===null||_===null||v in g||(g[v]=_)}return g}},{}],56:[function(i,d,m){"use strict";d.exports=function(l,a){if(a=a.split(":")[0],!(l=+l))return!1;switch(a){case"http":case"ws":return l!==80;case"https":case"wss":return l!==443;case"ftp":return l!==21;case"gopher":return l!==70;case"file":return!1}return l!==0}},{}],57:[function(i,d,m){(function(l){(function(){"use strict";var a=i("requires-port"),o=i("querystringify"),c=/^[\x00-\x20\u00a0\u1680\u2000-\u200a\u2028\u2029\u202f\u205f\u3000\ufeff]+/,u=/[\n\r\t]/g,g=/^[A-Za-z][A-Za-z0-9+-.]*:\/\//,v=/:\d+$/,_=/^([a-z][a-z0-9.+-]*:)?(\/\/)?([\\/]+)?([\S\s]*)/i,E=/^[a-zA-Z]:/;function w(j){return(j||"").toString().replace(c,"")}var S=[["#","hash"],["?","query"],function(j,F){return y(F.protocol)?j.replace(/\\/g,"/"):j},["/","pathname"],["@","auth",1],[NaN,"host",void 0,1,1],[/:(\d*)$/,"port",void 0,1],[NaN,"hostname",void 0,1,1]],I={hash:1,query:1};function D(j){var F,C=(typeof window<"u"?window:l!==void 0?l:typeof self<"u"?self:{}).location||{},N={},K=typeof(j=j||C);if(j.protocol==="blob:")N=new U(unescape(j.pathname),{});else if(K=="string")for(F in N=new U(j,{}),I)delete N[F];else if(K=="object"){for(F in j)F in I||(N[F]=j[F]);N.slashes===void 0&&(N.slashes=g.test(j.href))}return N}function y(j){return j==="file:"||j==="ftp:"||j==="http:"||j==="https:"||j==="ws:"||j==="wss:"}function b(j,F){j=(j=w(j)).replace(u,""),F=F||{};var C,N=_.exec(j),K=N[1]?N[1].toLowerCase():"",re=!!N[2],q=!!N[3],W=0;return re?W=q?(C=N[2]+N[3]+N[4],N[2].length+N[3].length):(C=N[2]+N[4],N[2].length):q?(C=N[3]+N[4],W=N[3].length):C=N[4],K==="file:"?2<=W&&(C=C.slice(2)):y(K)?C=N[4]:K?re&&(C=C.slice(2)):2<=W&&y(F.protocol)&&(C=N[4]),{protocol:K,slashes:re||y(K),slashesCount:W,rest:C}}function U(j,F,C){if(j=(j=w(j)).replace(u,""),!(this instanceof U))return new U(j,F,C);var N,K,re,q,W,T,L=S.slice(),z=typeof F,V=this,J=0;for(z!="object"&&z!="string"&&(C=F,F=null),C&&typeof C!="function"&&(C=o.parse),N=!(K=b(j||"",F=D(F))).protocol&&!K.slashes,V.slashes=K.slashes||N&&F.slashes,V.protocol=K.protocol||F.protocol||"",j=K.rest,(K.protocol==="file:"&&(K.slashesCount!==2||E.test(j))||!K.slashes&&(K.protocol||K.slashesCount<2||!y(V.protocol)))&&(L[3]=[/(.*)/,"pathname"]);J<L.length;J++)typeof(q=L[J])!="function"?(re=q[0],T=q[1],re!=re?V[T]=j:typeof re=="string"?~(W=re==="@"?j.lastIndexOf(re):j.indexOf(re))&&(j=typeof q[2]=="number"?(V[T]=j.slice(0,W),j.slice(W+q[2])):(V[T]=j.slice(W),j.slice(0,W))):(W=re.exec(j))&&(V[T]=W[1],j=j.slice(0,W.index)),V[T]=V[T]||N&&q[3]&&F[T]||"",q[4]&&(V[T]=V[T].toLowerCase())):j=q(j,V);
20C&&(V.query=C(V.query)),N&&F.slashes&&V.pathname.charAt(0)!=="/"&&(V.pathname!==""||F.pathname!=="")&&(V.pathname=(function(ie,le){if(ie==="")return le;for(var H=(le||"/").split("/").slice(0,-1).concat(ie.split("/")),de=H.length,$=H[de-1],A=!1,x=0;de--;)H[de]==="."?H.splice(de,1):H[de]===".."?(H.splice(de,1),x++):x&&(de===0&&(A=!0),H.splice(de,1),x--);return A&&H.unshift(""),$!=="."&&$!==".."||H.push(""),H.join("/")})(V.pathname,F.pathname)),V.pathname.charAt(0)!=="/"&&y(V.protocol)&&(V.pathname="/"+V.pathname),a(V.port,V.protocol)||(V.host=V.hostname,V.port=""),V.username=V.password="",V.auth&&(~(W=V.auth.indexOf(":"))?(V.username=V.auth.slice(0,W),V.username=encodeURIComponent(decodeURIComponent(V.username)),V.password=V.auth.slice(W+1),V.password=encodeURIComponent(decodeURIComponent(V.password))):V.username=encodeURIComponent(decodeURIComponent(V.auth)),V.auth=V.password?V.username+":"+V.password:V.username),V.origin=V.protocol!=="file:"&&y(V.protocol)&&V.host?V.protocol+"//"+V.host:"null",V.href=V.toString()}U.prototype={set:function(j,F,C){var N=this;switch(j){case"query":typeof F=="string"&&F.length&&(F=(C||o.parse)(F)),N[j]=F;break;case"port":N[j]=F,a(F,N.protocol)?F&&(N.host=N.hostname+":"+F):(N.host=N.hostname,N[j]="");break;case"hostname":N[j]=F,N.port&&(F+=":"+N.port),N.host=F;break;case"host":N[j]=F,v.test(F)?(F=F.split(":"),N.port=F.pop(),N.hostname=F.join(":")):(N.hostname=F,N.port="");break;case"protocol":N.protocol=F.toLowerCase(),N.slashes=!C;break;case"pathname":case"hash":if(F){var K=j==="pathname"?"/":"#";N[j]=F.charAt(0)!==K?K+F:F}else N[j]=F;break;case"username":case"password":N[j]=encodeURIComponent(F);break;case"auth":var re=F.indexOf(":");~re?(N.username=F.slice(0,re),N.username=encodeURIComponent(decodeURIComponent(N.username)),N.password=F.slice(re+1),N.password=encodeURIComponent(decodeURIComponent(N.password))):N.username=encodeURIComponent(decodeURIComponent(F))}for(var q=0;q<S.length;q++){var W=S[q];W[4]&&(N[W[1]]=N[W[1]].toLowerCase())}return N.auth=N.password?N.username+":"+N.password:N.username,N.origin=N.protocol!=="file:"&&y(N.protocol)&&N.host?N.protocol+"//"+N.host:"null",N.href=N.toString(),N},toString:function(j){j&&typeof j=="function"||(j=o.stringify);var F,C=this,N=C.host,K=C.protocol;K&&K.charAt(K.length-1)!==":"&&(K+=":");var re=K+(C.protocol&&C.slashes||y(C.protocol)?"//":"");return C.username?(re+=C.username,C.password&&(re+=":"+C.password),re+="@"):C.password?(re+=":"+C.password,re+="@"):C.protocol!=="file:"&&y(C.protocol)&&!N&&C.pathname!=="/"&&(re+="@"),(N[N.length-1]===":"||v.test(C.hostname)&&!C.port)&&(N+=":"),re+=N+C.pathname,(F=typeof C.query=="object"?j(C.query):C.query)&&(re+=F.charAt(0)!=="?"?"?"+F:F),C.hash&&(re+=C.hash),re}},U.extractProtocol=b,U.location=D,U.trimLeft=w,U.qs=o,d.exports=U}).call(window)}).call(this,typeof ye<"u"?ye:typeof self<"u"?self:typeof window<"u"?window:{})},{querystringify:55,"requires-port":56}]},{},[1])(1)}))}).call(this,p)},
20"urls.js":function(O,f,p){let P;function i(l,a,o){a||(a="http"),o!=="sockjs"&&l.startsWith("/")&&(l=P.absoluteUrl(l.substr(1)));var c=l.match(/^ddp(i?)\+sockjs:\/\//),u=l.match(/^http(s?):\/\//),g;if(c){var v=l.substr(c[0].length);g=c[1]==="i"?a:a+"s";var _=v.indexOf("/"),E=_===-1?v:v.substr(0,_),w=_===-1?"":v.substr(_);return g+"://"+(E=E.replace(/\*/g,(()=>Math.floor(10*Math.random()))))+w}if(u){g=u[1]?a+"s":a;var S=l.substr(u[0].length);l=g+"://"+S}return l.indexOf("://")!==-1||l.startsWith("/")||(l=a+"://"+l),(l=P._relativeToSiteRootUrl(l)).endsWith("/")?l+o:l+"/"+o}function d(l){return i(l,"http","sockjs")}function m(l){return i(l,"ws","websocket")}p.export({toSockjsUrl:()=>d,toWebsocketUrl:()=>m}),p.link("meteor/meteor",{Meteor(l){P=l}},0)}}}}},{extensions:[".js",".json"]});Package._define("socket-stream-client")})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.check.check,oe=Package.check.Match,X=Package.random.Random,ae=Package.ejson.EJSON,k=Package.tracker.Tracker,O=Package.tracker.Deps,f=Package.retry.Retry,p=Package["id-map"].IdMap,P=Package["callback-hook"].Hook,i=Package["ddp-common"].DDPCommon,d=Package.reload.Reload,m=Package["diff-sequence"].DiffSequence,l=Package["mongo-id"].MongoID,a=Package.modules.meteorInstall,o=Package.promise.Promise,c,u,g,v,_=a({node_modules:{meteor:{"ddp-client":{client:{
20"client.js":function(w,S,I){I.link("../common/namespace.js",{DDP:"DDP"},0),I.link("../common/livedata_connection"),I.link("./client_convenience")},
20"client_convenience.js":function(w,S,I){let D,y;I.link("../common/namespace.js",{DDP(C){D=C}},0),I.link("meteor/meteor",{Meteor(C){y=C}},1),y.refresh=()=>{};let b=void 0,U=(typeof __meteor_runtime_config__<"u"?__meteor_runtime_config__:Object.create(null)).DDP_DEFAULT_CONNECTION_URL||"/",j=new f;function F(C){if(y._debug(C),Package.reload){let K=(Package.reload.Reload._migrationData("livedata")||Object.create(null)).DDPVersionNegotiationFailures||0;++K,Package.reload.Reload._onMigrate("livedata",(()=>[!0,{DDPVersionNegotiationFailures:K}])),j.retryLater(K,(()=>{Package.reload.Reload._reload({immediateMigration:!0})}))}}y.connection=D.connect(U,{onDDPVersionNegotiationFailure:F}),["subscribe","methods","call","callAsync","apply","applyAsync","status","reconnect","disconnect"].forEach((C=>{y[C]=y.connection[C].bind(y.connection)}))}},common:{
20"MethodInvoker.js":function(w,S,I){I.export({default:()=>D});class D{constructor(b){this.methodId=b.methodId,this.sentMessage=!1,this._callback=b.callback,this._connection=b.connection,this._message=b.message,this._onResultReceived=b.onResultReceived||(()=>{}),this._wait=b.wait,this.noRetry=b.noRetry,this._methodResult=null,this._dataVisible=!1,this._connection._methodInvokers[this.methodId]=this}sendMessage(){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)}_maybeInvokeCallback(){this._methodResult&&this._dataVisible&&(this._callback(this._methodResult[0],this._methodResult[1]),delete this._connection._methodInvokers[this.methodId],this._connection._outstandingMethodFinished())}receiveResult(b,U){if(this.gotResult())throw new Error("Methods should only receive results once");this._methodResult=[b,U],this._onResultReceived(b,U),this._maybeInvokeCallback()}dataVisible(){this._dataVisible=!0,this._maybeInvokeCallback()}gotResult(){return!!this._methodResult}}},
20"livedata_connection.js":function(w,S,I){let D=["stubInvocation","invocation"],y=["stubInvocation","invocation"],b,U,j,F,C,N,K,re,q,W,T,L,z,V,J,ie,le,H;I.link("@babel/runtime/helpers/objectWithoutProperties",{default(A){b=A}},0),I.link("@babel/runtime/helpers/objectSpread2",{default(A){U=A}},1),I.export({Connection:()=>$}),I.link("meteor/meteor",{Meteor(A){j=A}},0),I.link("meteor/ddp-common",{DDPCommon(A){F=A}},1),I.link("meteor/tracker",{Tracker(A){C=A}},2),I.link("meteor/ejson",{EJSON(A){N=A}},3),I.link("meteor/random",{Random(A){K=A}},4),I.link("meteor/callback-hook",{Hook(A){re=A}},5),I.link("meteor/mongo-id",{MongoID(A){q=A}},6),I.link("./namespace.js",{DDP(A){W=A}},7),I.link("./MethodInvoker.js",{default(A){T=A}},8),I.link("meteor/ddp-common/utils.js",{hasOwn(A){L=A},slice(A){z=A},keys(A){V=A},isEmpty(A){J=A},last(A){ie=A}},9),j.isServer&&(le=Npm.require("fibers"),H=Npm.require("fibers/future"));class de extends p{constructor(){super(q.idStringify,q.idParse)}}class ${constructor(x,M){let B=this;if(this.options=M=U({onConnected(){},onDDPVersionNegotiationFailure(te){j._debug(te)},heartbeatInterval:17500,heartbeatTimeout:15e3,npmFayeOptions:Object.create(null),reloadWithOutstanding:!1,supportedDDPVersions:F.SUPPORTED_DDP_VERSIONS,retry:!0,respondToPings:!0,bufferedWritesInterval:5,bufferedWritesMaxAge:500},M),B.onReconnect=null,typeof x=="object")B._stream=x;else{let{ClientStream:te}=w("meteor/socket-stream-client");B._stream=new te(x,{retry:M.retry,ConnectionError:W.ConnectionError,headers:M.headers,_sockjsOptions:M._sockjsOptions,_dontPrintErrors:M._dontPrintErrors,connectTimeoutMs:M.connectTimeoutMs,npmFayeOptions:M.npmFayeOptions})}B._lastSessionId=null,B._versionSuggestion=null,B._version=null,B._stores=Object.create(null),B._methodHandlers=Object.create(null),B._nextMethodId=1,B._supportedDDPVersions=M.supportedDDPVersions,B._heartbeatInterval=M.heartbeatInterval,B._heartbeatTimeout=M.heartbeatTimeout,B._methodInvokers=Object.create(null),B._outstandingMethodBlocks=[],B._documentsWrittenByStub={},B._serverDocuments={},B._afterUpdateCallbacks=[],B._messagesBufferedUntilQuiescence=[],B._methodsBlockingQuiescence={},B._subsBeingRevived={},B._resetStores=!1,B._updatesForUnknownStores={},B._retryMigrate=null,B.__flushBufferedWrites=j.bindEnvironment(B._flushBufferedWrites,"flushing DDP buffered writes",B),B._bufferedWrites={},B._bufferedWritesFlushAt=null,B._bufferedWritesFlushHandle=null,B._bufferedWritesInterval=M.bufferedWritesInterval,B._bufferedWritesMaxAge=M.bufferedWritesMaxAge,B._subscriptions={},B._userId=null,B._userIdDeps=new C.Dependency,j.isClient&&Package.reload&&!M.reloadWithOutstanding&&Package.reload.Reload._onMigrate((te=>B._readyToMigrate()?[!0]:(B._retryMigrate=te,[!1])));let G=()=>{B._heartbeat&&(B._heartbeat.stop(),B._heartbeat=null)};j.isServer?(B._stream.on("message",j.bindEnvironment(this.onMessage.bind(this),"handling DDP message")),B._stream.on("reset",j.bindEnvironment(this.onReset.bind(this),"handling DDP reset")),B._stream.on("disconnect",j.bindEnvironment(G,"handling DDP disconnect"))):(B._stream.on("message",this.onMessage.bind(this)),B._stream.on("reset",this.onReset.bind(this)),B._stream.on("disconnect",G))}registerStore(x,M){let B=this;if(x in B._stores)return!1;let G=Object.create(null),te=void 0;["update","beginUpdate","endUpdate","saveOriginals","retrieveOriginals","getDoc","_getCollection"].forEach((ve=>{G[ve]=function(){if(M[ve])return M[ve](...arguments)}})),B._stores[x]=G;let ce=B._updatesForUnknownStores[x];return Array.isArray(ce)&&(G.beginUpdate(ce.length,!1),ce.forEach((ve=>{G.update(ve)})),G.endUpdate(),delete B._updatesForUnknownStores[x]),!0}subscribe(x){let M=this,B=z.call(arguments,1),G=Object.create(null);if(B.length){let be=B[B.length-1];typeof be=="function"?G.onReady=B.pop():be&&[be.onReady,be.onError,be.onStop].some((Pe=>typeof Pe=="function"))&&(G=B.pop())}let te=Object.values(M._subscriptions).find((be=>be.inactive&&be.name===x&&N.equals(be.params,B))),ce;te?(ce=te.id,te.inactive=!1,G.onReady&&(te.ready?G.onReady():te.readyCallback=G.onReady),G.onError&&(te.errorCallback=G.onError),G.onStop&&(te.stopCallback=G.onStop)):(ce=K.id(),M._subscriptions[ce]={id:ce,name:x,params:N.clone(B),inactive:!1,ready:!1,readyDeps:new C.Dependency,readyCallback:G.onReady,errorCallback:G.onError,stopCallback:G.onStop,connection:M,remove(){delete this.connection._subscriptions[this.id],this.ready&&this.readyDeps.changed()},stop(){this.connection._send({msg:"unsub",id:ce}),this.remove(),G.onStop&&G.onStop()}},M._send({msg:"sub",id:ce,name:x,params:B}));let ve={stop(){L.call(M._subscriptions,ce)&&M._subscriptions[ce].stop()},ready(){if(!L.call(M._subscriptions,ce))return!1;let be=M._subscriptions[ce];return be.readyDeps.depend(),be.ready},subscriptionId:ce};return C.active&&C.onInvalidate((be=>{L.call(M._subscriptions,ce)&&(M._subscriptions[ce].inactive=!0),C.afterFlush((()=>{L.call(M._subscriptions,ce)&&M._subscriptions[ce].inactive&&ve.stop()}))})),ve}_subscribeAndWait(x,M,B){let G=this,te=new H,ce=!1;(M=M||[]).push({onReady(){ce=!0,te.return()},onError(be){ce?B&&B.onLateError&&B.onLateError(be):te.throw(be)}});let ve=G.subscribe.apply(G,[x].concat(M));return te.wait(),ve}
20methods(x){Object.entries(x).forEach((M=>{let[B,G]=M;if(typeof G!="function")throw new Error("Method '"+B+"' must be a function");if(this._methodHandlers[B])throw new Error("A method named '"+B+"' is already defined");this._methodHandlers[B]=G}))}_getIsSimulation(x){let{isFromCallAsync:M,alreadyInSimulation:B}=x;return M?B&&W._CurrentMethodInvocation._isCallAsyncMethodRunning():B}call(x){let M=z.call(arguments,1),B;return M.length&&typeof M[M.length-1]=="function"&&(B=M.pop()),this.apply(x,M,B)}async callAsync(x){let M=z.call(arguments,1);if(M.length&&typeof M[M.length-1]=="function")throw new Error("Meteor.callAsync() does not accept a callback. You should 'await' the result, or use .then().");return W._CurrentMethodInvocation._set(),W._CurrentMethodInvocation._setCallAsyncMethodRunning(!0),new o(((B,G)=>{this.applyAsync(x,M,{isFromCallAsync:!0},((te,ce)=>{W._CurrentMethodInvocation._setCallAsyncMethodRunning(!1),te?G(te):B(ce)}))}))}apply(x,M,B,G){let te=this._stubCall(x,N.clone(M)),{stubInvocation:ce,invocation:ve}=te,be=b(te,D);if(be.hasStub){this._getIsSimulation({alreadyInSimulation:be.alreadyInSimulation,isFromCallAsync:be.isFromCallAsync})||this._saveOriginals();try{be.stubReturnValue=W._CurrentMethodInvocation.withValue(ve,ce)}catch(Pe){be.exception=Pe}}return this._apply(x,be,M,B,G)}async applyAsync(x,M,B,G){let te=this._stubCall(x,N.clone(M),B),{stubInvocation:ce,invocation:ve}=te,be=b(te,y);if(be.hasStub){this._getIsSimulation({alreadyInSimulation:be.alreadyInSimulation,isFromCallAsync:be.isFromCallAsync})||this._saveOriginals();try{let Pe=W._CurrentMethodInvocation._setNewContextAndGetCurrent(ve);try{let Ne=ce(),We=Ne&&typeof Ne.then=="function";be.stubReturnValue=We?await Ne:Ne}finally{W._CurrentMethodInvocation._set(Pe)}}catch(Pe){be.exception=Pe}}return this._apply(x,be,M,B,G)}_apply(x,M,B,G,te){let ce=this;te||typeof G!="function"||(te=G,G=Object.create(null)),G=G||Object.create(null),te&&(te=j.bindEnvironment(te,"delivering result of invoking '"+x+"'")),B=N.clone(B);let{hasStub:ve,exception:be,stubReturnValue:Pe,alreadyInSimulation:Ne,randomSeed:We}=M;if(this._getIsSimulation({alreadyInSimulation:Ne,isFromCallAsync:M.isFromCallAsync})){if(te)return void te(be,Pe);if(be)throw be;return Pe}let Ve=""+ce._nextMethodId++;ve&&ce._retrieveAndStoreOriginals(Ve);let Ke={msg:"method",id:Ve,method:x,params:B};if(be){if(G.throwStubExceptions)throw be;be._expectedByTest||j._debug("Exception while simulating the effect of invoking '"+x+"'",be)}let rt;te||(j.isClient?te=yt=>{yt&&j._debug("Error invoking Method '"+x+"'",yt)}:(rt=new H,te=rt.resolver())),We.value!==null&&(Ke.randomSeed=We.value);let lt=new T({methodId:Ve,callback:te,connection:ce,onResultReceived:G.onResultReceived,wait:!!G.wait,message:Ke,noRetry:!!G.noRetry});return G.wait?ce._outstandingMethodBlocks.push({wait:!0,methods:[lt]}):((J(ce._outstandingMethodBlocks)||ie(ce._outstandingMethodBlocks).wait)&&ce._outstandingMethodBlocks.push({wait:!1,methods:[]}),ie(ce._outstandingMethodBlocks).methods.push(lt)),ce._outstandingMethodBlocks.length===1&&lt.sendMessage(),rt?rt.wait():G.returnStubValue?Pe:void 0}_stubCall(x,M,B){let G=this,te=W._CurrentMethodInvocation.get(),ce=G._methodHandlers[x],ve=te==null?void 0:te.isSimulation,be=te==null?void 0:te._isFromCallAsync,Pe={value:null},Ne={alreadyInSimulation:ve,randomSeed:Pe,isFromCallAsync:be};if(!ce)return U(U({},Ne),{},{hasStub:!1});let We=()=>(Pe.value===null&&(Pe.value=F.makeRpcSeed(te,x)),Pe.value),Ve=lt=>{G.setUserId(lt)},Ke=new F.MethodInvocation({isSimulation:!0,userId:G.userId(),isFromCallAsync:B==null?void 0:B.isFromCallAsync,setUserId:Ve,randomSeed:()=>We()}),rt=()=>j.isServer?j._noYieldsAllowed((()=>ce.apply(Ke,N.clone(M)))):ce.apply(Ke,N.clone(M));return U(U({},Ne),{},{hasStub:!0,stubInvocation:rt,invocation:Ke})}_saveOriginals(){this._waitingForQuiescence()||this._flushBufferedWrites(),Object.values(this._stores).forEach((x=>{x.saveOriginals()}))}_retrieveAndStoreOriginals(x){let M=this;if(M._documentsWrittenByStub[x])throw new Error("Duplicate methodId in _retrieveAndStoreOriginals");let B=[];
20Object.entries(M._stores).forEach((G=>{let[te,ce]=G,ve=ce.retrieveOriginals();ve&&ve.forEach(((be,Pe)=>{B.push({collection:te,id:Pe}),L.call(M._serverDocuments,te)||(M._serverDocuments[te]=new de);let Ne=M._serverDocuments[te].setDefault(Pe,Object.create(null));Ne.writtenByStubs||(Ne.document=be,Ne.flushCallbacks=[],Ne.writtenByStubs=Object.create(null)),Ne.writtenByStubs[x]=!0}))})),J(B)||(M._documentsWrittenByStub[x]=B)}_unsubscribeAll(){Object.values(this._subscriptions).forEach((x=>{x.name!=="meteor_autoupdate_clientVersions"&&x.stop()}))}_send(x){this._stream.send(F.stringifyDDP(x))}_lostConnection(x){this._stream._lostConnection(x)}status(){return this._stream.status(...arguments)}reconnect(){return this._stream.reconnect(...arguments)}disconnect(){return this._stream.disconnect(...arguments)}close(){return this._stream.disconnect({_permanent:!0})}userId(){return this._userIdDeps&&this._userIdDeps.depend(),this._userId}setUserId(x){this._userId!==x&&(this._userId=x,this._userIdDeps&&this._userIdDeps.changed())}_waitingForQuiescence(){return!J(this._subsBeingRevived)||!J(this._methodsBlockingQuiescence)}_anyMethodsAreOutstanding(){let x=this._methodInvokers;return Object.values(x).some((M=>!!M.sentMessage))}_livedata_connected(x){let M=this,B;if(M._version!=="pre1"&&M._heartbeatInterval!==0&&(M._heartbeat=new F.Heartbeat({heartbeatInterval:M._heartbeatInterval,heartbeatTimeout:M._heartbeatTimeout,onTimeout(){M._lostConnection(new W.ConnectionError("DDP heartbeat timed out"))},sendPing(){M._send({msg:"ping"})}}),M._heartbeat.start()),M._lastSessionId&&(M._resetStores=!0),typeof x.session=="string"&&(B=M._lastSessionId===x.session,M._lastSessionId=x.session),!B){if(M._updatesForUnknownStores=Object.create(null),M._resetStores&&(M._documentsWrittenByStub=Object.create(null),M._serverDocuments=Object.create(null)),M._afterUpdateCallbacks=[],M._subsBeingRevived=Object.create(null),Object.entries(M._subscriptions).forEach((G=>{let[te,ce]=G;ce.ready&&(M._subsBeingRevived[te]=!0)})),M._methodsBlockingQuiescence=Object.create(null),M._resetStores){let G=M._methodInvokers;V(G).forEach((te=>{let ce=G[te];ce.gotResult()?M._afterUpdateCallbacks.push((function(){return ce.dataVisible(...arguments)})):ce.sentMessage&&(M._methodsBlockingQuiescence[ce.methodId]=!0)}))}M._messagesBufferedUntilQuiescence=[],M._waitingForQuiescence()||(M._resetStores&&(Object.values(M._stores).forEach((G=>{G.beginUpdate(0,!0),G.endUpdate()})),M._resetStores=!1),M._runAfterUpdateCallbacks())}}_processOneDataMessage(x,M){let B=x.msg;B==="added"?this._process_added(x,M):B==="changed"?this._process_changed(x,M):B==="removed"?this._process_removed(x,M):B==="ready"?this._process_ready(x,M):B==="updated"?this._process_updated(x,M):B==="nosub"||j._debug("discarding unknown livedata data message type",x)}_livedata_data(x){let M=this;if(M._waitingForQuiescence()){if(M._messagesBufferedUntilQuiescence.push(x),x.msg==="nosub"&&delete M._subsBeingRevived[x.id],x.subs&&x.subs.forEach((te=>{delete M._subsBeingRevived[te]})),x.methods&&x.methods.forEach((te=>{delete M._methodsBlockingQuiescence[te]})),M._waitingForQuiescence())return;let G=M._messagesBufferedUntilQuiescence;Object.values(G).forEach((te=>{M._processOneDataMessage(te,M._bufferedWrites)})),M._messagesBufferedUntilQuiescence=[]}else M._processOneDataMessage(x,M._bufferedWrites);let B=x.msg==="added"||x.msg==="changed"||x.msg==="removed";if(M._bufferedWritesInterval!==0&&B){if(M._bufferedWritesFlushAt===null)M._bufferedWritesFlushAt=new Date().valueOf()+M._bufferedWritesMaxAge;else if(M._bufferedWritesFlushAt<new Date().valueOf())return void M._flushBufferedWrites();M._bufferedWritesFlushHandle&&clearTimeout(M._bufferedWritesFlushHandle),M._bufferedWritesFlushHandle=setTimeout(M.__flushBufferedWrites,M._bufferedWritesInterval)}else M._flushBufferedWrites()}_flushBufferedWrites(){let x=this;x._bufferedWritesFlushHandle&&(clearTimeout(x._bufferedWritesFlushHandle),x._bufferedWritesFlushHandle=null),x._bufferedWritesFlushAt=null;let M=x._bufferedWrites;x._bufferedWrites=Object.create(null),x._performWrites(M)}_performWrites(x){let M=this;
20!M._resetStores&&J(x)||(Object.entries(M._stores).forEach((B=>{let[G,te]=B;te.beginUpdate(L.call(x,G)?x[G].length:0,M._resetStores)})),M._resetStores=!1,Object.entries(x).forEach((B=>{let[G,te]=B,ce=M._stores[G];if(ce)te.forEach((ve=>{ce.update(ve)}));else{let ve=M._updatesForUnknownStores;L.call(ve,G)||(ve[G]=[]),ve[G].push(...te)}})),Object.values(M._stores).forEach((B=>{B.endUpdate()}))),M._runAfterUpdateCallbacks()}_runAfterUpdateCallbacks(){let x=this,M=x._afterUpdateCallbacks;x._afterUpdateCallbacks=[],M.forEach((B=>{B()}))}_pushUpdate(x,M,B){L.call(x,M)||(x[M]=[]),x[M].push(B)}_getServerDoc(x,M){let B=this;if(!L.call(B._serverDocuments,x))return null;let G=void 0;return B._serverDocuments[x].get(M)||null}_process_added(x,M){let B=this,G=q.idParse(x.id),te=B._getServerDoc(x.collection,G);if(te){let ce=te.document!==void 0;if(te.document=x.fields||Object.create(null),te.document._id=G,B._resetStores){let ve=B._stores[x.collection].getDoc(x.id);ve!==void 0&&(x.fields=ve),B._pushUpdate(M,x.collection,x)}else if(ce)throw new Error("Server sent add for existing id: "+x.id)}else B._pushUpdate(M,x.collection,x)}_process_changed(x,M){let B=this,G=B._getServerDoc(x.collection,q.idParse(x.id));if(G){if(G.document===void 0)throw new Error("Server sent changed for nonexisting id: "+x.id);m.applyChanges(G.document,x.fields)}else B._pushUpdate(M,x.collection,x)}_process_removed(x,M){let B=this,G=B._getServerDoc(x.collection,q.idParse(x.id));if(G){if(G.document===void 0)throw new Error("Server sent removed for nonexisting id:"+x.id);G.document=void 0}else B._pushUpdate(M,x.collection,{msg:"removed",collection:x.collection,id:x.id})}_process_updated(x,M){let B=this;x.methods.forEach((G=>{let te=B._documentsWrittenByStub[G]||{};Object.values(te).forEach((ve=>{let be=B._getServerDoc(ve.collection,ve.id);if(!be)throw new Error("Lost serverDoc for "+JSON.stringify(ve));if(!be.writtenByStubs[G])throw new Error("Doc "+JSON.stringify(ve)+" not written by  method "+G);delete be.writtenByStubs[G],J(be.writtenByStubs)&&(B._pushUpdate(M,ve.collection,{msg:"replace",id:q.idStringify(ve.id),replace:be.document}),be.flushCallbacks.forEach((Pe=>{Pe()})),B._serverDocuments[ve.collection].remove(ve.id))})),delete B._documentsWrittenByStub[G];let ce=B._methodInvokers[G];if(!ce)throw new Error("No callback invoker for method "+G);B._runWhenAllServerDocsAreFlushed((function(){return ce.dataVisible(...arguments)}))}))}_process_ready(x,M){let B=this;x.subs.forEach((G=>{B._runWhenAllServerDocsAreFlushed((()=>{let te=B._subscriptions[G];te&&(te.ready||(te.ready=!0,te.readyCallback&&te.readyCallback(),te.readyDeps.changed()))}))}))}_runWhenAllServerDocsAreFlushed(x){let M=this,B=()=>{M._afterUpdateCallbacks.push(x)},G=0,te=()=>{--G,G===0&&B()};Object.values(M._serverDocuments).forEach((ce=>{ce.forEach((ve=>{V(ve.writtenByStubs).some((Pe=>{let Ne=M._methodInvokers[Pe];return Ne&&Ne.sentMessage}))&&(++G,ve.flushCallbacks.push(te))}))})),G===0&&B()}_livedata_nosub(x){let M=this;if(M._livedata_data(x),!L.call(M._subscriptions,x.id))return;let B=M._subscriptions[x.id].errorCallback,G=M._subscriptions[x.id].stopCallback;M._subscriptions[x.id].remove();let te=ce=>ce&&ce.error&&new j.Error(ce.error.error,ce.error.reason,ce.error.details);B&&x.error&&B(te(x)),G&&G(te(x))}_livedata_result(x){let M=this;if(J(M._bufferedWrites)||M._flushBufferedWrites(),J(M._outstandingMethodBlocks))return void j._debug("Received method result but no methods outstanding");let B=M._outstandingMethodBlocks[0].methods,G,te=B.find(((ce,ve)=>{let be=ce.methodId===x.id;return be&&(G=ve),be}));te?(B.splice(G,1),L.call(x,"error")?te.receiveResult(new j.Error(x.error.error,x.error.reason,x.error.details)):te.receiveResult(void 0,x.result)):j._debug("Can't match method response to original method call",x)}_outstandingMethodFinished(){let x=this;if(!x._anyMethodsAreOutstanding()){if(!J(x._outstandingMethodBlocks)){let M=x._outstandingMethodBlocks.shift();if(!J(M.methods))throw new Error("No methods outstanding but nonempty block: "+JSON.stringify(M));J(x._outstandingMethodBlocks)||x._sendOutstandingMethods()}x._maybeMigrate()}}_sendOutstandingMethods(){let x=this;J(x._outstandingMethodBlocks)||x._outstandingMethodBlocks[0].methods.forEach((M=>{M.sendMessage()}))}_livedata_error(x){j._debug("Received error from server: ",x.reason),x.offendingMessage&&j._debug("For: ",x.offendingMessage)}_callOnReconnectAndSendAppropriateOutstandingMethods(){let x=this,M=x._outstandingMethodBlocks;
20if(x._outstandingMethodBlocks=[],x.onReconnect&&x.onReconnect(),W._reconnectHook.each((B=>(B(x),!0))),!J(M)){if(J(x._outstandingMethodBlocks))return x._outstandingMethodBlocks=M,void x._sendOutstandingMethods();ie(x._outstandingMethodBlocks).wait||M[0].wait||(M[0].methods.forEach((B=>{ie(x._outstandingMethodBlocks).methods.push(B),x._outstandingMethodBlocks.length===1&&B.sendMessage()})),M.shift()),x._outstandingMethodBlocks.push(...M)}}_readyToMigrate(){return J(this._methodInvokers)}_maybeMigrate(){let x=this;x._retryMigrate&&x._readyToMigrate()&&(x._retryMigrate(),x._retryMigrate=null)}onMessage(x){let M;try{M=F.parseDDP(x)}catch(B){return void j._debug("Exception while parsing DDP",B)}if(this._heartbeat&&this._heartbeat.messageReceived(),M!==null&&M.msg)if(M.msg==="connected")this._version=this._versionSuggestion,this._livedata_connected(M),this.options.onConnected();else if(M.msg==="failed")if(this._supportedDDPVersions.indexOf(M.version)>=0)this._versionSuggestion=M.version,this._stream.reconnect({_force:!0});else{let B="DDP version negotiation failed; server requested version "+M.version;this._stream.disconnect({_permanent:!0,_error:B}),this.options.onDDPVersionNegotiationFailure(B)}else M.msg==="ping"&&this.options.respondToPings?this._send({msg:"pong",id:M.id}):M.msg==="pong"||(["added","changed","removed","ready","updated"].includes(M.msg)?this._livedata_data(M):M.msg==="nosub"?this._livedata_nosub(M):M.msg==="result"?this._livedata_result(M):M.msg==="error"?this._livedata_error(M):j._debug("discarding unknown livedata message type",M));else if(!M||!M.testMessageOnConnect){if(Object.keys(M).length===1&&M.server_id)return;j._debug("discarding invalid livedata message",M)}}onReset(){let x={msg:"connect"};if(this._lastSessionId&&(x.session=this._lastSessionId),x.version=this._versionSuggestion||this._supportedDDPVersions[0],this._versionSuggestion=x.version,x.support=this._supportedDDPVersions,this._send(x),this._outstandingMethodBlocks.length>0){let M=this._outstandingMethodBlocks[0].methods;this._outstandingMethodBlocks[0].methods=M.filter((B=>(B.sentMessage&&B.noRetry&&B.receiveResult(new j.Error("invocation-failed","Method invocation might have failed due to dropped connection. Failing because `noRetry` option was passed to Meteor.apply.")),!(B.sentMessage&&B.noRetry))))}this._outstandingMethodBlocks.length>0&&this._outstandingMethodBlocks[0].methods.length===0&&this._outstandingMethodBlocks.shift(),V(this._methodInvokers).forEach((M=>{this._methodInvokers[M].sentMessage=!1})),this._callOnReconnectAndSendAppropriateOutstandingMethods(),Object.entries(this._subscriptions).forEach((M=>{let[B,G]=M;this._send({msg:"sub",id:B,name:G.name,params:G.params})}))}}},
20"namespace.js":function(w,S,I){let D,y,b;I.export({DDP:()=>j}),I.link("meteor/ddp-common",{DDPCommon(C){D=C}},0),I.link("meteor/meteor",{Meteor(C){y=C}},1),I.link("./livedata_connection.js",{Connection(C){b=C}},2);let U=[],j={};function F(C){this.message=C}j._CurrentMethodInvocation=new y.EnvironmentVariable,j._CurrentPublicationInvocation=new y.EnvironmentVariable,j._CurrentInvocation=j._CurrentMethodInvocation,j.ConnectionError=y.makeErrorType("DDP.ConnectionError",F),j.ForcedReconnectError=y.makeErrorType("DDP.ForcedReconnectError",(()=>{})),j.randomStream=C=>{let N=j._CurrentMethodInvocation.get();return D.RandomStream.get(N,C)},j.connect=(C,N)=>{let K=new b(C,N);return U.push(K),K},j._reconnectHook=new P({bindEnvironment:!1}),j.onReconnect=C=>j._reconnectHook.register(C),j._allSubscriptionsReady=()=>U.every((C=>Object.values(C._subscriptions).every((N=>N.ready))))}}}}}},{extensions:[".js",".json"]}),E=_("/node_modules/meteor/ddp-client/client/client.js");Package._define("ddp-client",E,{DDP:v})})();(function(){var ne=Package["ddp-client"].DDP;Package._define("ddp",{DDP:ne})})();Package._define("ddp-server");(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.minimongo.LocalCollection,oe=Package.minimongo.Minimongo,X=Package.check.check,ae=Package.check.Match,k=Package.ejson.EJSON,O=Package["ddp-client"].DDP,f=Package.modules.meteorInstall,p=Package.promise.Promise,P,i=f({node_modules:{meteor:{"allow-deny":{
20"allow-deny.js":function(){let m=Object.prototype.hasOwnProperty,l=(P={CollectionPrototype:{}}).CollectionPrototype;l.allow=function(_){u(this,"allow",_)},l.deny=function(_){u(this,"deny",_)},l._defineMutationMethods=function(_){let E=this;if(_=_||{},E._restricted=!1,E._insecure=void 0,E._validators={insert:{allow:[],deny:[]},update:{allow:[],deny:[]},remove:{allow:[],deny:[]},upsert:{allow:[],deny:[]},fetch:[],fetchAllFields:!1},E._name&&(E._prefix="/"+E._name+"/",E._connection&&(E._connection===ne.server||ne.isClient))){let w={};["insert","update","remove"].forEach((S=>{let I=E._prefix+S;if(_.useExisting){let D=ne.isClient?"_methodHandlers":"method_handlers";if(E._connection[D]&&typeof E._connection[D][I]=="function")return}w[I]=function(){X(arguments,[ae.Any]);let D=Array.from(arguments);try{let y=null;if(S!=="insert"||m.call(D[0],"_id")||(y=E._makeNewID()),this.isSimulation)return y!==null&&(D[0]._id=y),E._collection[S].apply(E._collection,D);if(S!=="insert"&&g(D[0],S),E._restricted){if(E._validators[S].allow.length===0)throw new ne.Error(403,"Access denied. No allow validators set on restricted collection for method '"+S+"'.");let b="_validated"+S.charAt(0).toUpperCase()+S.slice(1);return D.unshift(this.userId),S==="insert"&&D.push(y),E[b].apply(E,D)}if(E._isInsecure())return y!==null&&(D[0]._id=y),E._collection[S].apply(E._collection,D);throw new ne.Error(403,"Access denied")}catch(y){throw y.name==="MongoError"||y.name==="BulkWriteError"||y.name==="MongoBulkWriteError"||y.name==="MinimongoError"?new ne.Error(409,y.toString()):y}}})),E._connection.methods(w)}},l._updateFetch=function(_){let E=this;if(!E._validators.fetchAllFields)if(_){let w=Object.create(null),S=I=>I&&I.forEach((D=>w[D]=1));S(E._validators.fetch),S(_),E._validators.fetch=Object.keys(w)}else E._validators.fetchAllFields=!0,E._validators.fetch=null},l._isInsecure=function(){let _=this;return _._insecure===void 0?!!Package.insecure:_._insecure},l._validatedInsert=function(_,E,w){let S=this;if(S._validators.insert.deny.some((I=>I(_,c(I,E,w)))))throw new ne.Error(403,"Access denied");if(S._validators.insert.allow.every((I=>!I(_,c(I,E,w)))))throw new ne.Error(403,"Access denied");w!==null&&(E._id=w),S._collection.insert.call(S._collection,E)},l._validatedUpdate=function(_,E,w,S){let I=this;if(X(w,Object),S=Object.assign(Object.create(null),S),!ee._selectorIsIdPerhapsAsObject(E))throw new Error("validated update should be of a single ID");if(S.upsert)throw new ne.Error(403,"Access denied. Upserts not allowed in a restricted collection.");let D="Access denied. In a restricted collection you can only update documents, not replace them. Use a Mongo update operator, such as '$set'.",y=Object.keys(w),b={};if(y.length===0)throw new ne.Error(403,D);y.forEach((C=>{let N=w[C];if(C.charAt(0)!=="$")throw new ne.Error(403,D);if(!m.call(a,C))throw new ne.Error(403,"Access denied. Operator "+C+" not allowed in a restricted collection.");Object.keys(N).forEach((K=>{K.indexOf(".")!==-1&&(K=K.substring(0,K.indexOf("."))),b[K]=!0}))}));let U=Object.keys(b),j={transform:null};I._validators.fetchAllFields||(j.fields={},I._validators.fetch.forEach((C=>{j.fields[C]=1})));let F=I._collection.findOne(E,j);if(!F)return 0;if(I._validators.update.deny.some((C=>{let N=o(C,F);return C(_,N,U,w)})))throw new ne.Error(403,"Access denied");if(I._validators.update.allow.every((C=>{let N=o(C,F);return!C(_,N,U,w)})))throw new ne.Error(403,"Access denied");return S._forbidReplace=!0,I._collection.update.call(I._collection,E,w,S)};let a={$inc:1,$set:1,$unset:1,$addToSet:1,$pop:1,$pullAll:1,$pull:1,$pushAll:1,$push:1,$bit:1};function o(_,E){return _.transform?_.transform(E):E}function c(_,E,w){let S=E;return _.transform&&(S=k.clone(E),w!==null&&(S._id=w),S=_.transform(S)),S}function u(_,E,w){let S=/^(?:insert|update|remove|fetch|transform)$/;
20if(Object.keys(w).forEach((I=>{if(!S.test(I))throw new Error(E+": Invalid key: "+I)})),_._restricted=!0,["insert","update","remove"].forEach((I=>{if(m.call(w,I)){if(!(w[I]instanceof Function))throw new Error(E+": Value for `"+I+"` must be a function");w.transform===void 0?w[I].transform=_._transform:w[I].transform=ee.wrapTransform(w.transform),_._validators[I][E].push(w[I])}})),w.update||w.remove||w.fetch){if(w.fetch&&!(w.fetch instanceof Array))throw new Error(E+": Value for `fetch` must be an array");_._updateFetch(w.fetch)}}function g(_,E){if(!ee._selectorIsIdPerhapsAsObject(_))throw new ne.Error(403,"Not permitted. Untrusted code may only "+E+" documents by ID.")}function v(){var _;let E=(O._CurrentMethodInvocation||O._CurrentInvocation).get();return E&&E.isSimulation}l._validatedRemove=function(_,E){let w=this,S={transform:null};w._validators.fetchAllFields||(S.fields={},w._validators.fetch.forEach((D=>{S.fields[D]=1})));let I=w._collection.findOne(E,S);if(!I)return 0;if(w._validators.remove.deny.some((D=>D(_,o(D,I)))))throw new ne.Error(403,"Access denied");if(w._validators.remove.allow.every((D=>!D(_,o(D,I)))))throw new ne.Error(403,"Access denied");return w._collection.remove.call(w._collection,E)},l._callMutatorMethod=function(E,w,S){!ne.isClient||S||v()||(S=function(y){y&&ne._debug(E+" failed",y)});let I=void 0;(E==="update"||E==="remove")&&!v()&&g(w[0],E);let D=this._prefix+E;return this._connection.apply(D,w,{returnStubValue:!0},S)}}}}}},{extensions:[".js",".json"]});i("/node_modules/meteor/allow-deny/allow-deny.js"),Package._define("allow-deny",{AllowDeny:P})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.ejson.EJSON,oe=Package.modules.meteorInstall,X=Package.promise.Promise,ae,k,O=oe({node_modules:{meteor:{logging:{
20"logging.js":function(p,P,i){let d,m;i.link("@babel/runtime/helpers/objectSpread2",{default(D){d=D}},0),i.export({Log:()=>a}),i.link("meteor/meteor",{Meteor(D){m=D}},0);let l=Object.prototype.hasOwnProperty;function a(){a.info(...arguments)}let o=0,c=[],u=0;a._intercept=D=>{o+=D},a._suppress=D=>{u+=D},a._intercepted=()=>{let D=c;return c=[],o=0,D},a.outputFormat="json";let g={debug:"green",warn:"magenta",error:"red"},v="blue",_=typeof process=="object"&&process.platform==="win32",E=D=>_&&typeof D=="string"&&!D.endsWith("Bright")?"".concat(D,"Bright"):D,w=["time","timeInexact","level","file","line","program","originApp","satellite","stderr"],S=[...w,"app","message"],I=D=>{let y=a.format(D),b=D.level;typeof console<"u"&&console[b]?console[b](y):typeof console.log.apply=="function"?console.log.apply(console,[y]):typeof Function.prototype.bind=="function"&&Function.prototype.bind.call(console.log,console).apply(console,[y])};a._getCallerDetails=()=>{let y=new Error().stack;if(!y)return{};let b,U=y.split(`
21`).slice(1);for(b of U){if(b.match(/^\s*(at eval \(eval)|(eval:)/))return{file:"eval"};if(!b.match(/packages\/(?:local-test[:_])?logging(?:\/|\.js)/))break}let j={},F=/(?:[@(]| at )([^(]+?):([0-9:]+)(?:\)|$)/.exec(b);return F&&(j.line=F[2].split(":")[0],j.file=F[1].split("/").slice(-1)[0].split("?")[0]),j},["debug","info","warn","error"].forEach((D=>{a[D]=y=>{if(u)return void u--;let b=!1;o&&(o--,b=!0);let U=y!==Object(y)||y instanceof RegExp||y instanceof Date?{message:String(y).toString()}:y;if(w.forEach((j=>{if(U[j])throw new Error("Can't set '".concat(j,"' in log message"))})),l.call(U,"message")&&typeof U.message!="string")throw new Error("The 'message' field in log objects must be a string");if(U.omitCallerDetails||(U=d(d({},a._getCallerDetails()),U)),U.time=new Date,U.level=D,D!=="debug"||!m.isProduction)if(b)c.push(ee.stringify(U));else if(m.isServer)if(a.outputFormat==="colored-text")console.log(a.format(U,{color:!0}));else{if(a.outputFormat!=="json")throw new Error("Unknown logging output format: ".concat(a.outputFormat));console.log(ee.stringify(U))}else I(U)}})),a.parse=D=>{let y=null;if(D&&D.startsWith("{"))try{y=ee.parse(D)}catch{}return y&&y.time&&y.time instanceof Date?y:null},a.format=function(D){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};D=d({},D);let{time:b,timeInexact:U,level:j="info",file:F,line:C,app:N="",originApp:K,message:re="",program:q="",satellite:W="",stderr:T=""}=D;if(!(b instanceof Date))throw new Error("'time' must be a Date object");S.forEach((x=>{delete D[x]})),Object.keys(D).length>0&&(re&&(re+=" "),re+=ee.stringify(D));let L=x=>x.toString().padStart(2,"0"),z=x=>x.toString().padStart(3,"0"),V=b.getFullYear().toString()+L(b.getMonth()+1)+L(b.getDate()),J=L(b.getHours())+":"+L(b.getMinutes())+":"+L(b.getSeconds())+"."+z(b.getMilliseconds()),ie="(".concat(-new Date().getTimezoneOffset()/60,")"),le="";N&&(le+=N),K&&K!==N&&(le+=" via ".concat(K)),le&&(le="[".concat(le,"] "));let H=[];q&&H.push(q),F&&H.push(F),C&&H.push(C);let de=H.length?"(".concat(H.join(":"),") "):"";W&&(de+="[".concat(W,"]"));let $=T?"(STDERR) ":"",A=[j.charAt(0).toUpperCase(),V,"-",J,ie,U?"? ":" ",le,de,$].join("");return ae.prettify(A,y.color&&E(y.metaColor||v))+ae.prettify(re,y.color&&E(g[j]))},a.objFromText=(D,y)=>d({message:D,level:"info",time:new Date,timeInexact:!0},y)},
21"logging_browser.js":function(){(ae={}).prettify=function(P,i){return P}}}}}},{extensions:[".js",".json"]}),f=O("/node_modules/meteor/logging/logging.js");O("/node_modules/meteor/logging/logging_browser.js"),Package._define("logging",f,{Log:k})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package["allow-deny"].AllowDeny,oe=Package.random.Random,X=Package.ejson.EJSON,ae=Package.minimongo.LocalCollection,k=Package.minimongo.Minimongo,O=Package["ddp-client"].DDP,f=Package.tracker.Tracker,p=Package.tracker.Deps,P=Package["diff-sequence"].DiffSequence,i=Package["mongo-id"].MongoID,d=Package.check.check,m=Package.check.Match,l=Package.logging.Log,a=Package.modules.meteorInstall,o=Package.promise.Promise,c,u,g,v,_,E,w,S=a({node_modules:{meteor:{mongo:{
21"local_collection_driver.js":function(I,D,y){y.export({LocalCollectionDriver:()=>b});let b=new class{constructor(){this.noConnCollections=Object.create(null)}open(F,C){return F?C?(C._mongo_livedata_collections||(C._mongo_livedata_collections=Object.create(null)),U(F,C._mongo_livedata_collections)):U(F,this.noConnCollections):new ae}};function U(j,F){return j in F?F[j]:F[j]=new ae(j)}},
21"collection.js":function(I,D,y){(function(b){let U,j,F,C;function N(q,W,T){if(process.env.WARN_WHEN_USING_OLD_API&&!T){if(W===void 0||W.includes("oplog"))return;console.warn(`
22   
23   Calling method `.concat(W,".").concat(q,` from old API on server.
24   This method will be removed, from the server, in version 3.
25   Trace is below:`)),console.trace()}}function K(q,W){return q&&function(T,L){T?q(T):q(T,typeof W=="function"?W(L):L)}}function re(q){if(q.length&&(q[q.length-1]===void 0||q[q.length-1]instanceof Function))return q.pop()}b.link("@babel/runtime/helpers/objectSpread2",{default(q){U=q}},0),b.export({warnUsingOldApi:()=>N}),b.link("meteor/minimongo/constants",{ASYNC_COLLECTION_METHODS(q){j=q},getAsyncMethodName(q){F=q}},0),b.link("./mongo_utils",{normalizeProjection(q){C=q}},1),(c={}).Collection=function(W,T){if(W||W===null||(ne._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.)"),W=null),W!==null&&typeof W!="string")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),(T=U({connection:void 0,idGeneration:"STRING",transform:null,_driver:void 0,_preventAutopublish:!1},T)).idGeneration==="MONGO"?this._makeNewID=function(){var L=W?O.randomStream("/collection/"+W):oe.insecure;return new c.ObjectID(L.hexString(24))}:this._makeNewID=function(){var L;return(W?O.randomStream("/collection/"+W):oe.insecure).id()},this._transform=ae.wrapTransform(T.transform),W&&T.connection!==null?T.connection?this._connection=T.connection:ne.isClient?this._connection=ne.connection:this._connection=ne.server:this._connection=null,!T._driver)if(W&&this._connection===ne.server&&typeof MongoInternals<"u"&&MongoInternals.defaultRemoteCollectionDriver)T._driver=MongoInternals.defaultRemoteCollectionDriver();else{let{LocalCollectionDriver:L}=I("./local_collection_driver.js");T._driver=L}if(this._collection=T._driver.open(W,this._connection),this._name=W,this._driver=T._driver,this._maybeSetUpReplication(W,T),T.defineMutationMethods!==!1)try{this._defineMutationMethods({useExisting:T._suppressSameNameError===!0})}catch(L){throw L.message==="A method named '/".concat(W,"/insert' is already defined")?new Error('There is already a collection named "'.concat(W,'"')):L}Package.autopublish&&!T._preventAutopublish&&this._connection&&this._connection.publish&&this._connection.publish(null,(()=>this.find()),{is_auto:!0})},Object.assign(c.Collection.prototype,{_maybeSetUpReplication(q,W){let{_suppressSameNameError:T=!1}=W,L=this;if(!L._connection||!L._connection.registerStore)return;let z=void 0;if(!L._connection.registerStore(q,{beginUpdate(V,J){(V>1||J)&&L._collection.pauseObservers(),J&&L._collection.remove({})},update(V){var J=i.idParse(V.id),ie=L._collection._docs.get(J);if(ne.isClient)if(V.msg==="added"&&ie)V.msg="changed";else{if(V.msg==="removed"&&!ie)return;if(V.msg==="changed"&&!ie)for(g in V.msg="added",u=V.fields)(v=u[g])===void 0&&delete V.fields[g]}if(V.msg!=="replace")if(V.msg==="added"){if(ie)throw new Error("Expected not to find a document already present for an add");L._collection.insert(U({_id:J},V.fields))}else if(V.msg==="removed"){if(!ie)throw new Error("Expected to find a document already present for removed");L._collection.remove(J)}else{if(V.msg!=="changed")throw new Error("I don't know how to deal with this message");{if(!ie)throw new Error("Expected to find a document to change");let de=Object.keys(V.fields);if(de.length>0){var le={};de.forEach(($=>{let A=V.fields[$];X.equals(ie[$],A)||(typeof A>"u"?(le.$unset||(le.$unset={}),le.$unset[$]=1):(le.$set||(le.$set={}),le.$set[$]=A))})),Object.keys(le).length>0&&L._collection.update(J,le)}}}else{var H=V.replace;H?ie?L._collection.update(J,H):L._collection.insert(H):ie&&L._collection.remove(J)}},endUpdate(){L._collection.resumeObservers()},saveOriginals(){L._collection.saveOriginals()},retrieveOriginals:()=>L._collection.retrieveOriginals(),getDoc:V=>L.findOne(V),_getCollection:()=>L})){let V='There is already a collection named "'.concat(q,'"');if(T!==!0)throw new Error(V);console.warn?console.warn(V):console.log(V)}},countDocuments(){return this._collection.countDocuments(...arguments)},estimatedDocumentCount(){return this._collection.estimatedDocumentCount(...arguments)},_getFindSelector:q=>q.length==0?{}:q[0],_getFindOptions(q){let[,W]=q||[],T=C(W);var L=this;return q.length<2?{transform:L._transform}:(d(T,m.Optional(m.ObjectIncluding({projection:m.Optional(m.OneOf(Object,void 0)),sort:m.Optional(m.OneOf(Object,Array,Function,void 0)),limit:m.Optional(m.OneOf(Number,void 0)),skip:m.Optional(m.OneOf(Number,void 0))}))),U({transform:L._transform},T))},find(){for(var q=arguments.length,W=new Array(q),T=0;T<q;T++)W[T]=arguments[T];return this._collection.find(this._getFindSelector(W),this._getFindOptions(W))},findOne(){N("findOne",this._name,this.findOne.isCalledFromAsync),this.findOne.isCalledFromAsync=!1;for(var q=arguments.length,W=new Array(q),T=0;T<q;T++)W[T]=arguments[T];return this._collection.findOne(this._getFindSelector(W),this._getFindOptions(W))}}),Object.assign(c.Collection,{_publishCursor(q,W,T){var L=q.observeChanges({added:function(z,V){W.added(T,z,V)},changed:function(z,V){W.changed(T,z,V)},removed:function(z){W.removed(T,z)}},{nonMutatingCallbacks:!0});return W.onStop((function(){L.stop()})),L},_rewriteSelector(q){let{fallbackId:W}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(ae._selectorIsId(q)&&(q={_id:q}),Array.isArray(q))throw new Error("Mongo selector can't be an array.");return!q||"_id"in q&&!q._id?{_id:W||oe.id()}:q}}),Object.assign(c.Collection.prototype,{insert(q,W){if(!q)throw new Error("insert requires an argument");
25if(N("insert",this._name,this.insert.isCalledFromAsync),this.insert.isCalledFromAsync=!1,"_id"in(q=Object.create(Object.getPrototypeOf(q),Object.getOwnPropertyDescriptors(q)))){if(!q._id||!(typeof q._id=="string"||q._id instanceof c.ObjectID))throw new Error("Meteor requires document _id fields to be non-empty strings or ObjectIDs")}else{let z=!0;this._isRemoteCollection()&&(O._CurrentMethodInvocation.get()||(z=!1)),z&&(q._id=this._makeNewID())}var T=function(z){return q._id?q._id:(q._id=z,z)};let L=K(W,T);if(this._isRemoteCollection())return T(this._callMutatorMethod("insert",[q],L));try{return T(this._collection.insert(q,L))}catch(z){if(W)return W(z),null;throw z}},update(q,W){for(var T=arguments.length,L=new Array(T>2?T-2:0),z=2;z<T;z++)L[z-2]=arguments[z];let V=re(L),J=U({},L[0]||null),ie;if(J&&J.upsert)if(J.insertedId){if(!(typeof J.insertedId=="string"||J.insertedId instanceof c.ObjectID))throw new Error("insertedId must be string or ObjectID");ie=J.insertedId}else q&&q._id||(ie=this._makeNewID(),J.generatedId=!0,J.insertedId=ie);N("update",this._name,this.update.isCalledFromAsync),this.update.isCalledFromAsync=!1,q=c.Collection._rewriteSelector(q,{fallbackId:ie});let le=K(V);if(this._isRemoteCollection()){let H=[q,W,J];return this._callMutatorMethod("update",H,le)}try{return this._collection.update(q,W,J,le)}catch(H){if(V)return V(H),null;throw H}},remove(q,W){q=c.Collection._rewriteSelector(q);let T=K(W);if(this._isRemoteCollection())return this._callMutatorMethod("remove",[q],T);N("remove",this._name,this.remove.isCalledFromAsync),this.remove.isCalledFromAsync=!1;try{return this._collection.remove(q,T)}catch(L){if(W)return W(L),null;throw L}},_isRemoteCollection(){return this._connection&&this._connection!==ne.server},upsert(q,W,T,L){return L||typeof T!="function"||(L=T,T={}),N("upsert",this._name,this.upsert.isCalledFromAsync),this.upsert.isCalledFromAsync=!1,this.update.isCalledFromAsync=!0,this.update(q,W,U(U({},T),{},{_returnObject:!0,upsert:!0}),L)},_ensureIndex(q,W){var T=this;if(!T._collection._ensureIndex||!T._collection.createIndex)throw new Error("Can only call createIndex on server collections");if(T._collection.createIndex)T._collection.createIndex(q,W);else{let L;b.link("meteor/logging",{Log(z){L=z}},2),L.debug("_ensureIndex has been deprecated, please use the new 'createIndex' instead".concat(W!=null&&W.name?", index name: ".concat(W.name):", index: ".concat(JSON.stringify(q)))),T._collection._ensureIndex(q,W)}},createIndex(q,W){var T=this;if(!T._collection.createIndex)throw new Error("Can only call createIndex on server collections");N("createIndex",T._name,T.createIndex.isCalledFromAsync),T.createIndex.isCalledFromAsync=!1;try{T._collection.createIndex(q,W)}catch(J){var L,z,V;if(!J.message.includes("An equivalent index already exists with the same name but different options.")||(L=ne.settings)===null||L===void 0||(z=L.packages)===null||z===void 0||(V=z.mongo)===null||V===void 0||!V.reCreateIndexOnOptionMismatch)throw new ne.Error('An error occurred when creating an index for collection "'.concat(T._name,": ").concat(J.message));{let ie;b.link("meteor/logging",{Log(le){ie=le}},3),ie.info("Re-creating index ".concat(q," for ").concat(T._name," due to options mismatch.")),T._collection._dropIndex(q),T._collection.createIndex(q,W)}}},_dropIndex(q){var W=this;if(!W._collection._dropIndex)throw new Error("Can only call _dropIndex on server collections");W._collection._dropIndex(q)},_dropCollection(){var q=this;if(!q._collection.dropCollection)throw new Error("Can only call _dropCollection on server collections");q._collection.dropCollection()},_createCappedCollection(q,W){var T=this;if(!T._collection._createCappedCollection)throw new Error("Can only call _createCappedCollection on server collections");N("_createCappedCollection",T._name,T._createCappedCollection.isCalledFromAsync),T._createCappedCollection.isCalledFromAsync=!1,T._collection._createCappedCollection(q,W)},rawCollection(){var q=this;if(!q._collection.rawCollection)throw new Error("Can only call rawCollection on server collections");return q._collection.rawCollection()},rawDatabase(){var q=this;if(!q._driver.mongo||!q._driver.mongo.db)throw new Error("Can only call rawDatabase on server collections");return q._driver.mongo.db}}
25),c.ObjectID=i.ObjectID,c.Cursor=ae.Cursor,c.Collection.Cursor=c.Cursor,c.Collection.ObjectID=c.ObjectID,ne.Collection=c.Collection,Object.assign(c.Collection.prototype,ee.CollectionPrototype),j.forEach((q=>{let W=F(q);c.Collection.prototype[W]=function(){try{return this[q].isCalledFromAsync=!0,o.resolve(this[q](...arguments))}catch(T){return o.reject(T)}}}))}).call(this,y)},
25"mongo_utils.js":function(I,D,y){let b=["fields","projection"],U,j;y.link("@babel/runtime/helpers/objectSpread2",{default(C){U=C}},0),y.link("@babel/runtime/helpers/objectWithoutProperties",{default(C){j=C}},1),y.export({normalizeProjection:()=>F});let F=C=>{let N=C||{},{fields:K,projection:re}=N,q=j(N,b);return U(U({},q),re||K?{projection:K||re}:{})}}}}}},{extensions:[".js",".json"]});S("/node_modules/meteor/mongo/local_collection_driver.js"),S("/node_modules/meteor/mongo/collection.js"),Package._define("mongo",{Mongo:c})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.tracker.Tracker,oe=Package.tracker.Deps,X;(function(){(X=function(ae,k){if(!(this instanceof X))return new X(ae,k);this.curValue=ae,this.equalsFunc=k,this.dep=new ee.Dependency})._isEqual=function(ae,k){var O=ae,f;return ae===k&&(!ae||typeof ae=="number"||typeof ae=="boolean"||typeof ae=="string")},X.prototype.get=function(){return ee.active&&this.dep.depend(),this.curValue},X.prototype.set=function(ae){var k=this.curValue;(this.equalsFunc||X._isEqual)(k,ae)||(this.curValue=ae,this.dep.changed())},X.prototype.toString=function(){return"ReactiveVar{"+this.get()+"}"},X.prototype._numListeners=function(){var ae=0;for(var k in this.dep._dependentsById)ae++;return ae}}).call(window),Package._define("reactive-var",{ReactiveVar:X})})();(function(){var ne;Package._define("minifier-css",{CssTools:ne})})();Package._define("standard-minifier-css");Package._define("standard-minifier-js");Package._define("typescript");Package._define("shell-server");Package._define("static-html");(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.tracker.Tracker,oe=Package.tracker.Deps,X=Package.modules.meteorInstall,ae=Package.promise.Promise,k=X({node_modules:{meteor:{"react-meteor-data":{
25"index.js":function(O,f,p){let P;if(p.link("react",{default(i){P=i}},0),p.link("./useTracker",{useTracker:"useTracker"},1),p.link("./withTracker.tsx",{withTracker:"withTracker"},2),p.link("./useFind",{useFind:"useFind"},3),p.link("./useSubscribe",{useSubscribe:"useSubscribe"},4),ne.isDevelopment){let i=P.version.split(".");(i[0]<16||i[0]==16&&i[1]<8)&&console.warn("react-meteor-data 2.x requires React version >= 16.8.")}},
25"useFind.ts":function(O,f,p){let P,i,d,m,l,a,o;p.export({useFind:()=>E}),p.link("meteor/meteor",{Meteor(S){P=S}},0),p.link("meteor/mongo",{Mongo(S){i=S}},1),p.link("react",{useReducer(S){d=S},useMemo(S){m=S},useEffect(S){l=S},useRef(S){a=S}},2),p.link("meteor/tracker",{Tracker(S){o=S}},3);let c=(S,I)=>{switch(I.type){case"refresh":return I.data;case"addedAt":return[...S.slice(0,I.atIndex),I.document,...S.slice(I.atIndex)];case"changedAt":return[...S.slice(0,I.atIndex),I.document,...S.slice(I.atIndex+1)];case"removedAt":return[...S.slice(0,I.atIndex),...S.slice(I.atIndex+1)];case"movedTo":let D=S[I.fromIndex],y=[...S.slice(0,I.fromIndex),...S.slice(I.fromIndex+1)];return y.splice(I.toIndex,0,D),y}},u=S=>{S==null||S instanceof i.Cursor||S._mongo&&S._cursorDescription||console.warn("Warning: useFind requires an instance of Mongo.Cursor. Make sure you do NOT call .fetch() on your cursor.")},g=S=>{let I=[];return S.observe({addedAt(y,b,U){I.splice(b,0,y)}}).stop(),I},v=function(S){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],D=m((()=>{let j=o.nonreactive(S);return P.isDevelopment&&u(j),j}),I),[y,b]=d(c,null,(()=>D instanceof i.Cursor?g(D):[])),U=a(!1);return l((()=>{if(U.current){if(!(D instanceof i.Cursor))return;let F=g(D);b({type:"refresh",data:F})}else U.current=!0;if(!(D instanceof i.Cursor))return;let j=D.observe({addedAt(F,C,N){b({type:"addedAt",document:F,atIndex:C})},changedAt(F,C,N){b({type:"changedAt",document:F,atIndex:N})},removedAt(F,C){b({type:"removedAt",atIndex:C})},movedTo(F,C,N,K){b({type:"movedTo",fromIndex:C,toIndex:N})},_suppress_initial:!0});return()=>{j.stop()}}),[D]),D&&y},_=(S,I)=>o.nonreactive((()=>{var D,y;let b=S();return P.isDevelopment&&u(b),(D=b==null||(y=b.fetch)===null||y===void 0?void 0:y.call(b))!==null&&D!==void 0?D:null})),E=P.isServer?_:v;function w(S){let I=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];function D(y,b,U,j){console.warn("Warning: useFind expected a ".concat(y," in it's ").concat(b," argument ")+"(".concat(U,"), but got type of `").concat(j,"`."))}return typeof S!="function"&&D("function","1st","reactiveFn",S),I&&Array.isArray(I)||D("array","2nd","deps",typeof I),E(S,I)}p.exportDefault(P.isDevelopment?w:E)},
25"useSubscribe.ts":function(O,f,p){let P,i;p.export({useSubscribe:()=>l}),p.link("meteor/meteor",{Meteor(a){P=a}},0),p.link("./useTracker",{useTracker(a){i=a}},1);let d=function(a){for(var o=arguments.length,c=new Array(o>1?o-1:0),u=1;u<o;u++)c[u-1]=arguments[u];let g=!1,v,_=i((()=>!a||(v=P.subscribe(a,...c),v.ready())),(()=>!g));return()=>(g=!0,!_)},m=function(a){return()=>!1},l=P.isServer?m:d},
25"useTracker.ts":function(O,f,p){let P,i,d,m,l,a;function o(D){let y=!1;Package.mongo&&Package.mongo.Mongo&&D&&typeof D=="object"&&(D instanceof Package.mongo.Mongo.Cursor?y=!0:Object.getPrototypeOf(D)===Object.prototype&&Object.keys(D).forEach((b=>{D[b]instanceof Package.mongo.Mongo.Cursor&&(y=!0)}))),y&&console.warn("Warning: your reactive function is returning a Mongo cursor. This value will not be reactive. You probably want to call `.fetch()` on the cursor before returning it.")}p.export({useTracker:()=>I}),p.link("meteor/meteor",{Meteor(D){P=D}},0),p.link("meteor/tracker",{Tracker(D){i=D}},1),p.link("react",{useReducer(D){d=D},useEffect(D){m=D},useRef(D){l=D},useMemo(D){a=D}},2);let c=D=>D+1,u=()=>d(c,0)[1],g=function(D){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,{current:b}=l({isMounted:!1,trackerData:null}),U=u();return b.computation&&(b.computation.stop(),delete b.computation),i.nonreactive((()=>i.autorun((j=>{b.computation=j;let F=D(j);j.firstRun?b.trackerData=F:y&&y(b.trackerData,F)||U()})))),b.isMounted||P.defer((()=>{!b.isMounted&&b.computation&&(b.computation.stop(),delete b.computation)})),m((()=>(b.isMounted=!0,b.computation||(y?i.nonreactive((()=>i.autorun((j=>{let F=D(j);b.computation=j,y(b.trackerData,F)||U()})))):U()),()=>{var j;(j=b.computation)===null||j===void 0||j.stop(),delete b.computation,b.isMounted=!1})),[]),b.trackerData},v=function(D,y){let b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,U=u(),{current:j}=l({reactiveFn:D});return j.reactiveFn=D,a((()=>{let F=i.nonreactive((()=>i.autorun((C=>{let N=j.reactiveFn();C.firstRun?j.data=N:b&&b(j.data,N)||(j.data=N,U())}))));j.comp&&j.comp.stop(),j.comp=F,P.defer((()=>{!j.isMounted&&j.comp&&(j.comp.stop(),delete j.comp)}))}),y),m((()=>(j.isMounted=!0,j.comp||(j.comp=i.nonreactive((()=>i.autorun((F=>{let C=j.reactiveFn(F);b&&b(j.data,C)||(j.data=C,U())}))))),()=>{j.comp.stop(),delete j.comp,j.isMounted=!1})),y),j.data};function _(D){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;return y!=null&&Array.isArray(y)?v(D,y,b):(typeof y=="function"&&(b=y),g(D,b))}let E=D=>i.nonreactive(D),w=P.isServer?E:_;function S(D){let y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;function U(F,C,N,K){console.warn("Warning: useTracker expected a ".concat(F," in it's ").concat(C," argument ")+"(".concat(N,"), but got type of `").concat(K,"`."))}typeof D!="function"&&U("function","1st","reactiveFn",D),y&&b&&!Array.isArray(y)&&typeof b=="function"?U("array & function","2nd and 3rd","deps, skipUpdate","".concat(typeof y," & ").concat(typeof b)):(y&&!Array.isArray(y)&&typeof y!="function"&&U("array or function","2nd","deps or skipUpdate",typeof y),b&&typeof b!="function"&&U("function","3rd","skipUpdate",typeof b));let j=w(D,y,b);return o(j),j}let I=P.isDevelopment?S:w},
25"withTracker.tsx":function(O,f,p){let P,i,d,m,l;p.link("@babel/runtime/helpers/extends",{default(o){P=o}},0),p.export({withTracker:()=>a}),p.link("react",{default(o){i=o},forwardRef(o){d=o},memo(o){m=o}},0),p.link("./useTracker",{useTracker(o){l=o}},1);let a=o=>c=>{let u=typeof o=="function"?o:o.getMeteorData,g=d(((_,E)=>{let w=l((()=>u(_)||{}),o.skipUpdate);return i.createElement(c,P({ref:E},_,w))})),{pure:v=!0}=o;return v?m(g):g}}}}}},{extensions:[".js",".json",".ts",".tsx"]});Package._define("react-meteor-data")})();Package._define("ddp-rate-limiter");(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.random.Random;(function(){var oe=Object.prototype.hasOwnProperty,X="_localstorage_test_"+ee.id(),ae,k;try{(k=ye.localStorage)&&(k.setItem(X,X),ae=k.getItem(X),k.removeItem(X))}catch{}X===ae&&(ne.isServer?ne._localStorage=k:["getItem","setItem","removeItem"].forEach((function(O){this[O]=function(){return k[O].apply(k,arguments)}}),ne._localStorage={})),ne._localStorage||(ne.isClient&&ne._debug("You are running a browser with no localStorage or userData support. Logging in from one tab will not cause another tab to be logged in."),ne._localStorage=Object.create({setItem:function(O,f){this[O]=f},removeItem:function(O){delete this[O]},getItem:function(O){return oe.call(this,O)?this[O]:null}}))}).call(window),Package._define("localstorage")})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee,oe,X,ae=(0,Package.modules.meteorInstall)({node_modules:{meteor:{url:{
25"modern.js":function(f,p){oe=ye.URL,X=ye.URLSearchParams,p.URL=oe,p.URLSearchParams=X,Object.assign(oe,f("./bc/url_client"))},bc:{
25"url_client.js":function(f,p){var P=f("./url_common.js");p._constructUrl=function(i,d,m){var l=/^(.*?)(\?.*)?$/.exec(i);return P.buildUrl(l[1],l[2],d,m)},p._encodeParams=P._encodeParams},
25"url_common.js":function(f,p){function P(d){return encodeURIComponent(d).replace(/\*/g,"%2A")}var i=function(d,m){var l=[],a=Array.isArray(d);for(var o in d)if(Object.prototype.hasOwnProperty.call(d,o)){var c=m?m+"["+(a?"":o)+"]":o,u=d[o];if(typeof u=="object")l.push(i(u,c));else{var g=P(c).replace("%5B","[").replace("%5D","]");l.push(g+"="+P(u))}}return l.join("&").replace(/%20/g,"+")};p._encodeParams=i,p.buildUrl=function(d,m,l,a){var o=d,c=m?m.slice(1):null;if(typeof l=="string"&&(c=String(l)),a){c=c||"";var u=i(a);c&&u&&(c+="&"),c+=u}var g=o;return c!==null&&(g+="?"+c),g}}}}}}},{extensions:[".js",".json"]}),k=ae("/node_modules/meteor/url/modern.js");Package._define("url",k,{URL:oe,URLSearchParams:X})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.tracker.Tracker,oe=Package.tracker.Deps,X=Package.random.Random,ae=Package["callback-hook"].Hook,k=Package["reactive-var"].ReactiveVar,O=Package.url.URL,f=Package.url.URLSearchParams,p=Package["ddp-client"].DDP,P=Package.mongo.Mongo,i=Package.modules.meteorInstall,d=Package.promise.Promise,m,l,a,o=i({node_modules:{meteor:{"accounts-base":{
25"client_main.js":function(u,g,v){let _,E;v.export({Accounts:()=>m,AccountsClient:()=>_,AccountsTest:()=>E,default:()=>g}),v.link("./accounts_client.js",{AccountsClient(w){_=w},AccountsTest(w){E=w}},0),v.runSetters(m=new _,["Accounts"]),ne.users=m.users},
25"accounts_client.js":function(u,g,v){let _,E;v.link("@babel/runtime/helpers/objectSpread2",{default(y){_=y}},0),v.export({AccountsClient:()=>w,AccountsTest:()=>D}),v.link("./accounts_common.js",{AccountsCommon(y){E=y}},0);class w extends E{constructor(b){super(b),this._loggingIn=new k(!1),this._loggingOut=new k(!1),this._loginServicesHandle=this.connection.subscribe("meteor.loginServiceConfiguration"),this._pageLoadLoginCallbacks=[],this._pageLoadLoginAttemptInfo=null,this.savedHash=window.location.hash,this._initUrlMatching(),this._initLocalStorage(),this._loginFuncs={},this._loginCallbacksCalled=!1}userId(){return this.connection.userId()}_setLoggingIn(b){this._loggingIn.set(b)}loggingIn(){return this._loggingIn.get()}loggingOut(){return this._loggingOut.get()}registerClientLoginFunction(b,U){if(this._loginFuncs[b])throw new Error("".concat(b," has been defined already"));this._loginFuncs[b]=U}callLoginFunction(b){if(!this._loginFuncs[b])throw new Error("".concat(b," was not defined"));for(var U=arguments.length,j=new Array(U>1?U-1:0),F=1;F<U;F++)j[F-1]=arguments[F];return this._loginFuncs[b].apply(this,j)}applyLoginFunction(b,U){if(!this._loginFuncs[b])throw new Error("".concat(b," was not defined"));return this._loginFuncs[b].apply(this,U)}logout(b){this._loggingOut.set(!0),this.connection.apply("logout",[],{wait:!0},((U,j)=>{this._loggingOut.set(!1),this._loginCallbacksCalled=!1,U?b&&b(U):(this.makeClientLoggedOut(),b&&b())}))}logoutOtherClients(b){this.connection.apply("getNewToken",[],{wait:!0},((U,j)=>{U||this._storeLoginToken(this.userId(),j.token,j.tokenExpires)})),this.connection.apply("removeOtherTokens",[],{wait:!0},(U=>b&&b(U)))}callLoginMethod(b){let U;b=_({methodName:"login",methodArguments:[{}],_suppressLoggingIn:!1},b),["validateResult","userCallback"].forEach((K=>{b[K]||(b[K]=()=>null)}));let j=K=>{let{error:re,loginDetails:q}=K;U||(U=!0,this._loginCallbacksCalled=!0,re?this._onLoginFailureHook.forEach((W=>(W({error:re}),!0))):this._onLoginHook.forEach((W=>(W(q),!0))),b.userCallback(re,q))},F=!1,C=(K,re)=>{!K&&re&&re.token&&(this._reconnectStopper&&this._reconnectStopper.stop(),this._reconnectStopper=p.onReconnect((q=>{if(q!=this.connection)return;F=!0;let W=this._storedLoginToken();W&&(re={token:W,tokenExpires:this._storedLoginTokenExpires()}),re.tokenExpires||(re.tokenExpires=this._tokenExpiration(new Date)),this._tokenExpiresSoon(re.tokenExpires)?this.makeClientLoggedOut():this.callLoginMethod({methodArguments:[{resume:re.token}],_suppressLoggingIn:!0,userCallback:(T,L)=>{let z=this._storedLoginToken();T&&z&&z===re.token&&this.makeClientLoggedOut(),j({error:T,loginDetails:L})}})})))},N=(K,re)=>{if(!F){if(this._setLoggingIn(!1),K||!re)return K=K||new Error("No result from call to ".concat(b.methodName)),void j({error:K});try{b.validateResult(re)}catch(q){return void j({error:q})}this.makeClientLoggedIn(re.id,re.token,re.tokenExpires),j({loginDetails:re})}};b._suppressLoggingIn||this._setLoggingIn(!0),this.connection.apply(b.methodName,b.methodArguments,{wait:!0,onResultReceived:C},N)}makeClientLoggedOut(){this.connection._userId&&this._onLogoutHook.each((b=>(b(),!0))),this._unstoreLoginToken(),this.connection.setUserId(null),this._reconnectStopper&&this._reconnectStopper.stop()}makeClientLoggedIn(b,U,j){this._storeLoginToken(b,U,j),this.connection.setUserId(b)}loginServicesConfigured(){return this._loginServicesHandle.ready()}onPageLoadLogin(b){this._pageLoadLoginAttemptInfo?b(this._pageLoadLoginAttemptInfo):this._pageLoadLoginCallbacks.push(b)}_pageLoadLogin(b){this._pageLoadLoginAttemptInfo?ne._debug("Ignoring unexpected duplicate page load login attempt info"):(this._pageLoadLoginCallbacks.forEach((U=>U(b))),this._pageLoadLoginCallbacks=[],this._pageLoadLoginAttemptInfo=b)}_startupCallback(b){this._loginCallbacksCalled&&ne.setTimeout((()=>b({type:"resume"})),0)}loginWithToken(b,U){this.callLoginMethod({methodArguments:[{resume:b}],userCallback:U})}_enableAutoLogin(){this._autoLoginEnabled=!0,this._pollStoredLoginToken()}_isolateLoginTokenForTest(){this.LOGIN_TOKEN_KEY=this.LOGIN_TOKEN_KEY+X.id(),this.USER_ID_KEY=this.USER_ID_KEY+X.id()}_storeLoginToken(b,U,j){ne._localStorage.setItem(this.USER_ID_KEY,b),ne._localStorage.setItem(this.LOGIN_TOKEN_KEY,U),j||(j=this._tokenExpiration(new Date)),ne._localStorage.setItem(this.LOGIN_TOKEN_EXPIRES_KEY,j),this._lastLoginTokenWhenPolled=U}_unstoreLoginToken(){ne._localStorage.removeItem(this.USER_ID_KEY),ne._localStorage.removeItem(this.LOGIN_TOKEN_KEY),ne._localStorage.removeItem(this.LOGIN_TOKEN_EXPIRES_KEY),this._lastLoginTokenWhenPolled=null}_storedLoginToken(){return ne._localStorage.getItem(this.LOGIN_TOKEN_KEY)}_storedLoginTokenExpires(){return ne._localStorage.getItem(this.LOGIN_TOKEN_EXPIRES_KEY)}_storedUserId(){return ne._localStorage.getItem(this.USER_ID_KEY)}_unstoreLoginTokenIfExpiresSoon(){let b=this._storedLoginTokenExpires();b&&this._tokenExpiresSoon(new Date(b))&&this._unstoreLoginToken()}_initLocalStorage(){this.LOGIN_TOKEN_KEY="Meteor.loginToken",this.LOGIN_TOKEN_EXPIRES_KEY="Meteor.loginTokenExpires",this.USER_ID_KEY="Meteor.userId";let b=__meteor_runtime_config__.ROOT_URL_PATH_PREFIX;if(b||this.connection!==ne.connection){let j=":".concat(this.connection._stream.rawUrl);b&&(j+=":".concat(b)),this.LOGIN_TOKEN_KEY+=j,this.LOGIN_TOKEN_EXPIRES_KEY+=j,this.USER_ID_KEY+=j}let U;if(this._autoLoginEnabled&&(this._unstoreLoginTokenIfExpiresSoon(),U=this._storedLoginToken(),U)){let j=this._storedUserId();j&&this.connection.setUserId(j),this.loginWithToken(U,(F=>{F&&(ne._debug("Error logging in with token: ".concat(F)),this.makeClientLoggedOut()),this._pageLoadLogin({type:"resume",allowed:!F,error:F,methodName:"login",methodArguments:[{resume:U}]})}))}this._lastLoginTokenWhenPolled=U,this._pollIntervalTimer&&clearInterval(this._pollIntervalTimer),this._pollIntervalTimer=setInterval((()=>{this._pollStoredLoginToken()}),3e3)}_pollStoredLoginToken(){if(!this._autoLoginEnabled)return;let b=this._storedLoginToken();this._lastLoginTokenWhenPolled!=b&&(b?this.loginWithToken(b,(U=>{U&&this.makeClientLoggedOut()})):this.logout()),this._lastLoginTokenWhenPolled=b}_initUrlMatching(){this._autoLoginEnabled=!0,this._accountsCallbacks={},this._attemptToMatchHash()}_attemptToMatchHash(){I(this,this.savedHash,S)}onResetPasswordLink(b){this._accountsCallbacks["reset-password"]&&ne._debug("Accounts.onResetPasswordLink was called more than once. Only one callback added will be executed."),this._accountsCallbacks["reset-password"]=b}onEmailVerificationLink(b){this._accountsCallbacks["verify-email"]&&ne._debug("Accounts.onEmailVerificationLink was called more than once. Only one callback added will be executed."),this._accountsCallbacks["verify-email"]=b}onEnrollmentLink(b){this._accountsCallbacks["enroll-account"]&&ne._debug("Accounts.onEnrollmentLink was called more than once. Only one callback added will be executed."),this._accountsCallbacks["enroll-account"]=b}}if(ne.loggingIn=()=>m.loggingIn(),ne.loggingOut=()=>m.loggingOut(),ne.logout=y=>m.logout(y),ne.logoutOtherClients=y=>m.logoutOtherClients(y),ne.loginWithToken=(y,b)=>m.loginWithToken(y,b),Package.blaze){let{Template:y}=Package.blaze.Blaze;y.registerHelper("currentUser",(()=>ne.user())),y.registerHelper("loggingIn",(()=>ne.loggingIn())),y.registerHelper("loggingOut",(()=>ne.loggingOut())),y.registerHelper("loggingInOrOut",(()=>ne.loggingIn()||ne.loggingOut()))}let S=function(y,b){this._autoLoginEnabled=!1,ne.startup((()=>{this._accountsCallbacks[b]&&this._accountsCallbacks[b](y,(()=>this._enableAutoLogin()))}))},I=(y,b,U)=>{["reset-password","verify-email","enroll-account"].forEach((j=>{let F,C=new RegExp("^\\#\\/".concat(j,"\\/(.*)$")),N=b.match(C);N&&(F=N[1],j==="reset-password"?y._resetPasswordToken=F:j==="verify-email"?y._verifyEmailToken=F:j==="enroll-account"&&(y._enrollAccountToken=F),window.location.hash="",U.call(y,F,j))}))},D={attemptToMatchHash:(y,b)=>I(m,y,b)}},
25"accounts_common.js":function(u,g,v){let _,E;v.link("@babel/runtime/helpers/objectSpread2",{default(F){_=F}},0),v.export({AccountsCommon:()=>S,EXPIRE_TOKENS_INTERVAL_MS:()=>U}),v.link("meteor/meteor",{Meteor(F){E=F}},0);let w=["sendVerificationEmail","forbidClientAccountCreation","passwordEnrollTokenExpiration","passwordEnrollTokenExpirationInDays","restrictCreationByEmailDomain","loginExpirationInDays","loginExpiration","passwordResetTokenExpirationInDays","passwordResetTokenExpiration","ambiguousErrorMessages","bcryptRounds","defaultFieldSelector","loginTokenExpirationHours","tokenSequenceLength","collection"];class S{constructor(C){this._options={},this.connection=void 0,this._initConnection(C||{}),this.users=this._initializeCollection(C||{}),this._onLoginHook=new ae({bindEnvironment:!1,debugPrintExceptions:"onLogin callback"}),this._onLoginFailureHook=new ae({bindEnvironment:!1,debugPrintExceptions:"onLoginFailure callback"}),this._onLogoutHook=new ae({bindEnvironment:!1,debugPrintExceptions:"onLogout callback"}),this.DEFAULT_LOGIN_EXPIRATION_DAYS=I,this.LOGIN_UNEXPIRING_TOKEN_DAYS=j;let N="Accounts.LoginCancelledError";this.LoginCancelledError=E.makeErrorType(N,(function(K){this.message=K})),this.LoginCancelledError.prototype.name=N,this.LoginCancelledError.numericError=145546287}_initializeCollection(C){if(C.collection&&typeof C.collection!="string"&&!(C.collection instanceof P.Collection))throw new E.Error('Collection parameter can be only of type string or "Mongo.Collection"');let N="users",K;return typeof C.collection=="string"&&(N=C.collection),K=C.collection instanceof P.Collection?C.collection:new P.Collection(N,{_preventAutopublish:!0,connection:this.connection}),K}userId(){throw new Error("userId method not implemented")}_addDefaultFieldSelector(){let C=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!this._options.defaultFieldSelector)return C;if(!C.fields)return _(_({}
25,C),{},{fields:this._options.defaultFieldSelector});let N=Object.keys(C.fields);if(!N.length||C.fields[N[0]])return C;let K=Object.keys(this._options.defaultFieldSelector);return this._options.defaultFieldSelector[K[0]]?C:_(_({},C),{},{fields:_(_({},C.fields),this._options.defaultFieldSelector)})}user(C){let N=this.userId();return N?this.users.findOne(N,this._addDefaultFieldSelector(C)):null}async userAsync(C){let N=this.userId();return N?this.users.findOneAsync(N,this._addDefaultFieldSelector(C)):null}config(C){if(E.isServer?__meteor_runtime_config__.accountsConfigCalled=!0:__meteor_runtime_config__.accountsConfigCalled||E._debug("Accounts.config was called on the client but not on the server; some configuration options may not take effect."),Object.prototype.hasOwnProperty.call(C,"oauthSecretKey")){if(E.isClient)throw new Error("The oauthSecretKey option may only be specified on the server");if(!Package["oauth-encryption"])throw new Error("The oauth-encryption package must be loaded to set oauthSecretKey");Package["oauth-encryption"].OAuthEncryption.loadKey(C.oauthSecretKey),delete(C=_({},C)).oauthSecretKey}Object.keys(C).forEach((N=>{if(!w.includes(N))throw new E.Error("Accounts.config: Invalid key: ".concat(N))})),w.forEach((N=>{if(N in C){if(N in this._options&&N!=="collection")throw new E.Error("Can't set `".concat(N,"` more than once"));this._options[N]=C[N]}})),C.collection&&C.collection!==this.users._name&&C.collection!==this.users&&(this.users=this._initializeCollection(C))}onLogin(C){let N=this._onLoginHook.register(C);return this._startupCallback(N.callback),N}onLoginFailure(C){return this._onLoginFailureHook.register(C)}onLogout(C){return this._onLogoutHook.register(C)}_initConnection(C){E.isClient&&(C.connection?this.connection=C.connection:C.ddpUrl?this.connection=p.connect(C.ddpUrl):typeof __meteor_runtime_config__<"u"&&__meteor_runtime_config__.ACCOUNTS_CONNECTION_URL?this.connection=p.connect(__meteor_runtime_config__.ACCOUNTS_CONNECTION_URL):this.connection=E.connection)}_getTokenLifetimeMs(){let C=this._options.loginExpirationInDays===null?j:this._options.loginExpirationInDays;return this._options.loginExpiration||864e5*(C||I)}_getPasswordResetTokenLifetimeMs(){return this._options.passwordResetTokenExpiration||864e5*(this._options.passwordResetTokenExpirationInDays||D)}_getPasswordEnrollTokenLifetimeMs(){return this._options.passwordEnrollTokenExpiration||864e5*(this._options.passwordEnrollTokenExpirationInDays||y)}_tokenExpiration(C){return new Date(new Date(C).getTime()+this._getTokenLifetimeMs())}_tokenExpiresSoon(C){let N=.1*this._getTokenLifetimeMs(),K=1e3*b;return N>K&&(N=K),new Date>new Date(C)-N}_startupCallback(C){}}E.userId=()=>m.userId(),E.user=F=>m.user(F),E.userAsync=F=>m.userAsync(F);let I=90,D=3,y=30,b=60,U=6e5,j=36500}}}}},{extensions:[".js",".json"]}),c=o("/node_modules/meteor/accounts-base/client_main.js");Package._define("accounts-base",c,{Accounts:m})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee;(function(){ee=(function(){function oe(X){var ae=8,k=0;function O(v,_){var E=(65535&v)+(65535&_),w;return(v>>16)+(_>>16)+(E>>16)<<16|65535&E}function f(v,_){return v>>>_|v<<32-_}function p(v,_){return v>>>_}function P(v,_,E){return v&_^~v&E}function i(v,_,E){return v&_^v&E^_&E}function d(v){return f(v,2)^f(v,13)^f(v,22)}function m(v){return f(v,6)^f(v,11)^f(v,25)}function l(v){return f(v,7)^f(v,18)^p(v,3)}function a(v){return f(v,17)^f(v,19)^p(v,10)}function o(v,_){var E=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
25734187,3204031479,3329325298],w=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],S=new Array(64),I,D,y,b,U,j,F,C,N,K,re,q;v[_>>5]|=128<<24-_%32,v[15+(_+64>>9<<4)]=_;for(var N=0;N<v.length;N+=16){I=w[0],D=w[1],y=w[2],b=w[3],U=w[4],j=w[5],F=w[6],C=w[7];for(var K=0;K<64;K++)S[K]=K<16?v[K+N]:O(O(O(a(S[K-2]),S[K-7]),l(S[K-15])),S[K-16]),re=O(O(O(O(C,m(U)),P(U,j,F)),E[K]),S[K]),q=O(d(I),i(I,D,y)),C=F,F=j,j=U,U=O(b,re),b=y,y=D,D=I,I=O(re,q);w[0]=O(I,w[0]),w[1]=O(D,w[1]),w[2]=O(y,w[2]),w[3]=O(b,w[3]),w[4]=O(U,w[4]),w[5]=O(j,w[5]),w[6]=O(F,w[6]),w[7]=O(C,w[7])}return w}function c(v){for(var _=Array(),E=255,w=0;w<8*v.length;w+=8)_[w>>5]|=(v.charCodeAt(w/8)&E)<<24-w%32;return _}function u(v){for(var _="",E=0;E<v.length;E++){var w=v.charCodeAt(E);w<128?_+=String.fromCharCode(w):w>127&&w<2048?(_+=String.fromCharCode(w>>6|192),_+=String.fromCharCode(63&w|128)):(_+=String.fromCharCode(w>>12|224),_+=String.fromCharCode(w>>6&63|128),_+=String.fromCharCode(63&w|128))}return _}function g(v){for(var _="0123456789abcdef",E="",w=0;w<4*v.length;w++)E+=_.charAt(v[w>>2]>>8*(3-w%4)+4&15)+_.charAt(v[w>>2]>>8*(3-w%4)&15);return E}return g(o(c(X=u(X)),8*X.length))}return oe})()}).call(window),Package._define("sha",{SHA256:ee})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package["accounts-base"].Accounts,oe=Package.sha.SHA256,X=Package.ejson.EJSON,ae=Package["ddp-client"].DDP,k=Package.modules.meteorInstall,O=Package.promise.Promise,f;k({node_modules:{meteor:{"accounts-password":{
25"password_client.js":function(p,P,i){let d;i.link("@babel/runtime/helpers/objectSpread2",{default(a){d=a}},0);let m=(a,o)=>{if(!o)throw a;o(a)},l=a=>{let{selector:o,password:c,code:u,callback:g}=a;return typeof o=="string"&&(o=o.includes("@")?{email:o}:{username:o}),ee.callLoginMethod({methodArguments:[{user:o,password:ee._hashPassword(c),code:u}],userCallback:(v,_)=>{v?m(v,g):g&&g()}}),o};ne.loginWithPassword=(a,o,c)=>l({selector:a,password:o,callback:c}),ee._hashPassword=a=>({digest:oe(a),algorithm:"sha-256"}),ne.loginWithPasswordAnd2faCode=(a,o,c,u)=>{if(c==null||typeof c!="string"||!c)throw new ne.Error(400,"token is required to use loginWithPasswordAnd2faCode and must be a string");return l({selector:a,password:o,code:c,callback:u})},ee.createUser=(a,o)=>{if(typeof(a=d({},a)).password!="string")throw new Error("options.password must be a string");if(!a.password)return m(new ne.Error(400,"Password may not be empty"),o);a.password=ee._hashPassword(a.password),ee.callLoginMethod({methodName:"createUser",methodArguments:[a],userCallback:o})},ee.changePassword=(a,o,c)=>ne.user()?typeof o=="string"||o instanceof String?o?void ee.connection.apply("changePassword",[a?ee._hashPassword(a):null,ee._hashPassword(o)],((u,g)=>{u||!g?m(u||new Error("No result from changePassword."),c):c&&c()})):m(new ne.Error(400,"Password may not be empty"),c):m(new ne.Error(400,"Password must be a string"),c):m(new Error("Mu
25st be logged in to change password."),c),ee.forgotPassword=(a,o)=>{if(!a.email)return m(new ne.Error(400,"Must pass options.email"),o);o?ee.connection.call("forgotPassword",a,o):ee.connection.call("forgotPassword",a)},ee.resetPassword=(a,o,c)=>typeof a=="string"||a instanceof String?typeof o=="string"||o instanceof String?o?void ee.callLoginMethod({methodName:"resetPassword",methodArguments:[a,ee._hashPassword(o)],userCallback:c}):m(new ne.Error(400,"Password may not be empty"),c):m(new ne.Error(400,"Password must be a string"),c):m(new ne.Error(400,"Token must be a string"),c),ee.verifyEmail=(a,o)=>{if(!a)return m(new ne.Error(400,"Need to pass token"),o);ee.callLoginMethod({methodName:"verifyEmail",methodArguments:[a],userCallback:o})}}}}}},{extensions:[".js",".json"]})("/node_modules/meteor/accounts-password/password_client.js"),Package._define("accounts-password")})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.modules.meteorInstall,oe=Package.promise.Promise,X,ae=ee({node_modules:{meteor:{webapp:{
25"webapp_client.js":function(O,f,p){p.export({WebApp:()=>P});let P={_isCssLoaded:()=>document.styleSheets.length===0||Array.prototype.find.call(document.styleSheets,(i=>i.cssText&&!i.cssRules?!i.cssText.match(/meteor-css-not-found-error/):!Array.prototype.find.call(i.cssRules,(d=>d.selectorText===".meteor-css-not-found-error"))))}}}}}},{extensions:[".js",".json"]}),k=ae("/node_modules/meteor/webapp/webapp_client.js");Package._define("webapp",k,{WebApp:X})})();Package._define("hot-code-push");(function(){var ne;Package._define("launch-screen",{LaunchScreen:ne})})();(function(){var ne=Package.meteor.Meteor,ye=Package.meteor.global,ge=Package.meteor.meteorEnv,ee=Package.tracker.Tracker,oe=Package.tracker.Deps,X=Package.retry.Retry,ae=Package["ddp-client"].DDP,k=Package.modules.meteorInstall,O=Package.promise.Promise,f,p=k({node_modules:{meteor:{autoupdate:{
25"autoupdate_client.js":function(i,d,m){(function(l){let a;l.export({Autoupdate:()=>u}),l.link("./client_versions.js",{ClientVersions(w){a=w}},0);let o=ne.isCordova?"web.cordova":ne.isModern?"web.browser":"web.browser.legacy",c=((__meteor_runtime_config__.autoupdate||{}).versions||{})[o]||{version:"unknown",versionRefreshable:"unknown",versionNonRefreshable:"unknown",assets:[]},u={},g=u._clientVersions=new a;ne.connection.registerStore("meteor_autoupdate_clientVersions",g.createStore()),u.newClientAvailable=function(){return g.newClientAvailable(o,["versionRefreshable","versionNonRefreshable"],c)};let v=!1,_=new X({minCount:0,baseTimeout:3e4}),E=0;u._retrySubscription=()=>{},u._retrySubscription()}).call(this,m)},
25"client_versions.js":function(i,d,m){let l,a;m.link("@babel/runtime/helpers/objectSpread2",{default(c){l=c}},0),m.export({ClientVersions:()=>o}),m.link("meteor/tracker",{Tracker(c){a=c}},0);class o{constructor(){this._versions=new Map,this._watchCallbacks=new Set}createStore(){return{update:u=>{let{id:g,msg:v,fields:_}=u;v!=="added"&&v!=="changed"||this.set(g,_)}}}hasVersions(){return this._versions.size>0}get(u){return this._versions.get(u)}set(u,g){let v=this._versions.get(u),_=!1;v?Object.assign(v,g):(v=l({_id:u},g),_=!0,this._versions.set(u,v)),this._watchCallbacks.forEach((E=>{let{fn:w,filter:S}=E;S&&S!==v._id||w(v,_)}))}watch(u){let{skipInitial:g,filter:v}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!g){let E=O.resolve();this._versions.forEach((w=>{v&&v!==w._id||E.then((()=>u(w,!0)))}))}let _={fn:u,filter:v};return this._watchCallbacks.add(_),()=>this._watchCallbacks.delete(_)}newClientAvailable(u,g,v){function _(I){return I._id===u&&g.some((D=>I[D]!==v[D]))}let E=new a.Dependency,w=this.get(u);E.depend();let S=this.watch((I=>{_(I)&&(E.changed(),S())}),{skipInitial:!0});return!!w&&_(w)}}}}}}},{extensions:[".js",".json"]}),P=p("/node_modules/meteor/autoupdate/autoupdate_client.js");Package._define("autoupdate",P,{Autoupdate:f})})();window.Mongo=Package.mongo.Mongo,window.ReactiveVar=Package["reactive-var"].ReactiveVar,window.Meteor=Package.meteor.Meteor,window.global=Package.meteor.global,window.meteorEnv=Package.meteor.meteorEnv,window.WebApp=Package.webapp.WebApp,window.DDP=Package["ddp-client"].DDP,window.LaunchScreen=Package["launch-screen"].LaunchScreen,window.meteorInstall=Package.modules.meteorInstall,Promise=Package.promise.Promise,window.Accounts=Package["accounts-base"].Accounts,window.Autoupdate=Package.autoupdate.Autoupdate,window.Reload=Package.reload.Reload;var Id=meteorInstall({imports:{api:{
25"links.js":function(ne,ye,ge){let ee;ge.export({LinksCollection:()=>oe}),ge.link("meteor/mongo",{Mongo(X){ee=X}},0);let oe=new ee.Collection("links")}},ui:{
25"App.jsx":function(ne,ye,ge){let ee,oe,X;ge.export({App:()=>ae}),ge.link("react",{default(k){ee=k}},0),ge.link("./Hello.jsx",{Hello(k){oe=k}},1),ge.link("./Info.jsx",{Info(k){X=k}},2);let ae=()=>ee.createElement("div",null,ee.createElement("h1",null,"Welcome to Meteor!"),ee.createElement(oe,null),ee.createElement(X,null))},
25"Hello.jsx":function(ne,ye,ge){let ee,oe;ge.export({Hello:()=>X}),ge.link("react",{default(ae){ee=ae},useState(ae){oe=ae}},0);let X=()=>{let[ae,k]=oe(0),O=()=>{k(ae+1)};return ee.createElement("div",null,ee.createElement("button",{onClick:O},"Click Me"),ee.createElement("p",null,"You've pressed the button ",ae," times."))}},
25"Info.jsx":function(ne,ye,ge){let ee,oe,X,ae;ge.export({Info:()=>k}),ge.link("react",{default(O){ee=O}},0),ge.link("meteor/react-meteor-data",{useFind(O){oe=O},useSubscribe(O){X=O}},1),ge.link("../api/links",{LinksCollection(O){ae=O}},2);let k=()=>{let O=X("links"),f=oe((()=>ae.find()));return O()?ee.createElement("div",null,"Loading..."):ee.createElement("div",null,ee.createElement("h2",null,"Learn Meteor!"),ee.createElement("ul",null,f.map((p=>ee.createElement("li",{key:p._id},ee.createElement("a",{href:p.url,target:"_blank"},p.title))))))}}}},client:{
25"main.jsx":function(ne,ye,ge){let ee,oe,X,ae;ge.link("react",{default(k){ee=k}},0),ge.link("react-dom/client",{createRoot(k){oe=k}},1),ge.link("meteor/meteor",{Meteor(k){X=k}},2),ge.link("/imports/ui/App",{App(k){ae=k}},3),X.startup((()=>{let k=document.getElementById("react-target"),O=void 0;oe(k).render(ee.createElement(ae,null))}))}
25}},{extensions:[".js",".json",".html",".jsx",".css"]});window.Mongo=Package.mongo.Mongo;window.ReactiveVar=Package["reactive-var"].ReactiveVar;window.Tracker=Package.tracker.Tracker;window.Deps=Package.tracker.Deps;window.Accounts=Package["accounts-base"].Accounts;window.Meteor=Package.meteor.Meteor;window.global=Package.meteor.global;window.meteorEnv=Package.meteor.meteorEnv;window.WebApp=Package.webapp.WebApp;window.DDP=Package["ddp-client"].DDP;window.Autoupdate=Package.autoupdate.Autoupdate;window.Reload=Package.reload.Reload;Package.reload&&Package.reload.Reload._onMigrate(function(){return[!1]});
26/**
27 * @license React
28 * react.production.min.js
29 *
30 * Copyright (c) Facebook, Inc. and its affiliates.
31 *
32 * This source code is licensed under the MIT license found in the
33 * LICENSE file in the root directory of this source tree.
34 */
35/**
36 * @license React
37 * react.development.js
38 *
39 * Copyright (c) Facebook, Inc. and its affiliates.
40 *
41 * This source code is licensed under the MIT license found in the
42 * LICENSE file in the root directory of this source tree.
43 */
44/**
45 * @license React
46 * react-dom.production.min.js
47 *
48 * Copyright (c) Facebook, Inc. and its affiliates.
49 *
50 * This source code is licensed under the MIT license found in the
51 * LICENSE file in the root directory of this source tree.
52 */
53/**
54 * @license React
55 * react-dom.development.js
56 *
57 * Copyright (c) Facebook, Inc. and its affiliates.
58 *
59 * This source code is licensed under the MIT license found in the
60 * LICENSE file in the root directory of this source tree.
61 */
62/**
63 * @license React
64 * scheduler.production.min.js
65 *
66 * Copyright (c) Facebook, Inc. and its affiliates.
67 *
68 * This source code is licensed under the MIT license found in the
69 * LICENSE file in the root directory of this source tree.
70 */
71/**
72 * @license React
73 * scheduler.development.js
74 *
75 * Copyright (c) Facebook, Inc. and its affiliates.
76 *
77 * This source code is licensed under the MIT license found in the
78 * LICENSE file in the root directory of this source tree.
79 */
80/**
81 * @license React
82 * react-refresh-runtime.production.min.js
83 *
84 * Copyright (c) Facebook, Inc. and its affiliates.
85 *
86 * This source code is licensed under the MIT license found in the
87 * LICENSE file in the root directory of this source tree.
88 */
89/**
90 * @license React
91 * react-refresh-runtime.development.js
92 *
93 * Copyright (c) Facebook, Inc. and its affiliates.
94 *
95 * This source code is licensed under the MIT license found in the
96 * LICENSE file in the root directory of this source tree.
97 */
98!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5b7c0cab-be42-5161-8a24-a54b9113b953")}catch(e){}}();
99//# debugId=5b7c0cab-be42-5161-8a24-a54b9113b953

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.