From f19d8780dc4ec8618f8c4848977f252cc327dd1a Mon Sep 17 00:00:00 2001 From: Squall <2573040560@qq.com> Date: Tue, 28 Nov 2023 19:41:47 +0800 Subject: [PATCH] change a chain but still on latticetestnet --- .../dist/assets/{ccip-a5d920eb.js => ccip-d9b4134d.js} | 4 ++-- .../assets/{ccip-a5d920eb.js.map => ccip-d9b4134d.js.map} | 2 +- .../dist/assets/{index-de0b5468.js => index-7c2e4b8a.js} | 4 ++-- .../assets/{index-de0b5468.js.map => index-7c2e4b8a.js.map} | 2 +- .../dist/assets/{index-706e1e42.js => index-ee875c9d.js} | 6 +++--- .../assets/{index-706e1e42.js.map => index-ee875c9d.js.map} | 2 +- packages/client/dist/index.html | 2 +- packages/contracts/foundry.toml | 2 +- packages/contracts/worlds.json | 4 ++-- 9 files changed, 14 insertions(+), 14 deletions(-) rename packages/client/dist/assets/{ccip-a5d920eb.js => ccip-d9b4134d.js} (96%) rename packages/client/dist/assets/{ccip-a5d920eb.js.map => ccip-d9b4134d.js.map} (99%) rename packages/client/dist/assets/{index-de0b5468.js => index-7c2e4b8a.js} (99%) rename packages/client/dist/assets/{index-de0b5468.js.map => index-7c2e4b8a.js.map} (99%) rename packages/client/dist/assets/{index-706e1e42.js => index-ee875c9d.js} (99%) rename packages/client/dist/assets/{index-706e1e42.js.map => index-ee875c9d.js.map} (99%) diff --git a/packages/client/dist/assets/ccip-a5d920eb.js b/packages/client/dist/assets/ccip-d9b4134d.js similarity index 96% rename from packages/client/dist/assets/ccip-a5d920eb.js rename to packages/client/dist/assets/ccip-d9b4134d.js index 7ed69a1..7953e46 100644 --- a/packages/client/dist/assets/ccip-a5d920eb.js +++ b/packages/client/dist/assets/ccip-d9b4134d.js @@ -1,2 +1,2 @@ -import{B as l,g as w,s as y,i as p,I as h,d as g,a as k,b as O,e as L,H as m,f as E}from"./index-706e1e42.js";class x extends l{constructor({callbackSelector:e,cause:a,data:o,extraData:c,sender:s,urls:n}){super(a.shortMessage||"An error occurred while fetching for an offchain result.",{cause:a,metaMessages:[...a.metaMessages||[],a.metaMessages?.length?"":[],"Offchain Gateway Call:",n&&[" Gateway URL(s):",...n.map(d=>` ${w(d)}`)],` Sender: ${s}`,` Data: ${o}`,` Callback selector: ${e}`,` Extra data: ${c}`].flat()}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupError"})}}class M extends l{constructor({result:e,url:a}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${w(a)}`,`Response: ${y(e)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupResponseMalformedError"})}}class R extends l{constructor({sender:e,to:a}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${a}`,`OffchainLookup sender address: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupSenderMismatchError"})}}function $(t,e){if(!p(t))throw new h({address:t});if(!p(e))throw new h({address:e});return t.toLowerCase()===e.toLowerCase()}const C="0x556f1830",S={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function P(t,{blockNumber:e,blockTag:a,data:o,to:c}){const{args:s}=g({data:o,abi:[S]}),[n,d,r,i,f]=s;try{if(!$(c,n))throw new R({sender:n,to:c});const u=await A({data:r,sender:n,urls:d}),{data:b}=await k(t,{blockNumber:e,blockTag:a,data:O([i,L([{type:"bytes"},{type:"bytes"}],[u,f])]),to:c});return b}catch(u){throw new x({callbackSelector:i,cause:u,data:o,extraData:f,sender:n,urls:d})}}async function A({data:t,sender:e,urls:a}){let o=new Error("An unknown error occurred.");for(let c=0;c` ${w(d)}`)],` Sender: ${s}`,` Data: ${o}`,` Callback selector: ${e}`,` Extra data: ${c}`].flat()}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupError"})}}class M extends l{constructor({result:e,url:a}){super("Offchain gateway response is malformed. Response data must be a hex value.",{metaMessages:[`Gateway URL: ${w(a)}`,`Response: ${y(e)}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupResponseMalformedError"})}}class R extends l{constructor({sender:e,to:a}){super("Reverted sender address does not match target contract address (`to`).",{metaMessages:[`Contract address: ${a}`,`OffchainLookup sender address: ${e}`]}),Object.defineProperty(this,"name",{enumerable:!0,configurable:!0,writable:!0,value:"OffchainLookupSenderMismatchError"})}}function $(t,e){if(!p(t))throw new h({address:t});if(!p(e))throw new h({address:e});return t.toLowerCase()===e.toLowerCase()}const C="0x556f1830",S={name:"OffchainLookup",type:"error",inputs:[{name:"sender",type:"address"},{name:"urls",type:"string[]"},{name:"callData",type:"bytes"},{name:"callbackFunction",type:"bytes4"},{name:"extraData",type:"bytes"}]};async function P(t,{blockNumber:e,blockTag:a,data:o,to:c}){const{args:s}=g({data:o,abi:[S]}),[n,d,r,i,f]=s;try{if(!$(c,n))throw new R({sender:n,to:c});const u=await A({data:r,sender:n,urls:d}),{data:b}=await k(t,{blockNumber:e,blockTag:a,data:O([i,L([{type:"bytes"},{type:"bytes"}],[u,f])]),to:c});return b}catch(u){throw new x({callbackSelector:i,cause:u,data:o,extraData:f,sender:n,urls:d})}}async function A({data:t,sender:e,urls:a}){let o=new Error("An unknown error occurred.");for(let c=0;c ` ${getUrl(url)}`),\n ],\n ` Sender: ${sender}`,\n ` Data: ${data}`,\n ` Callback selector: ${callbackSelector}`,\n ` Extra data: ${extraData}`,\n ].flat(),\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'OffchainLookupError'\n });\n }\n}\nexport class OffchainLookupResponseMalformedError extends BaseError {\n constructor({ result, url }) {\n super('Offchain gateway response is malformed. Response data must be a hex value.', {\n metaMessages: [\n `Gateway URL: ${getUrl(url)}`,\n `Response: ${stringify(result)}`,\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'OffchainLookupResponseMalformedError'\n });\n }\n}\nexport class OffchainLookupSenderMismatchError extends BaseError {\n constructor({ sender, to }) {\n super('Reverted sender address does not match target contract address (`to`).', {\n metaMessages: [\n `Contract address: ${to}`,\n `OffchainLookup sender address: ${sender}`,\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'OffchainLookupSenderMismatchError'\n });\n }\n}\n//# sourceMappingURL=ccip.js.map","import { InvalidAddressError } from '../../errors/address.js';\nimport { isAddress } from './isAddress.js';\nexport function isAddressEqual(a, b) {\n if (!isAddress(a))\n throw new InvalidAddressError({ address: a });\n if (!isAddress(b))\n throw new InvalidAddressError({ address: b });\n return a.toLowerCase() === b.toLowerCase();\n}\n//# sourceMappingURL=isAddressEqual.js.map","import { call } from '../actions/public/call.js';\nimport {} from '../errors/base.js';\nimport { OffchainLookupError, OffchainLookupResponseMalformedError, OffchainLookupSenderMismatchError, } from '../errors/ccip.js';\nimport { HttpRequestError } from '../errors/request.js';\nimport { decodeErrorResult } from './abi/decodeErrorResult.js';\nimport { encodeAbiParameters } from './abi/encodeAbiParameters.js';\nimport { isAddressEqual } from './address/isAddressEqual.js';\nimport { concat } from './data/concat.js';\nimport { isHex } from './data/isHex.js';\nimport { stringify } from './stringify.js';\nexport const offchainLookupSignature = '0x556f1830';\nexport const offchainLookupAbiItem = {\n name: 'OffchainLookup',\n type: 'error',\n inputs: [\n {\n name: 'sender',\n type: 'address',\n },\n {\n name: 'urls',\n type: 'string[]',\n },\n {\n name: 'callData',\n type: 'bytes',\n },\n {\n name: 'callbackFunction',\n type: 'bytes4',\n },\n {\n name: 'extraData',\n type: 'bytes',\n },\n ],\n};\nexport async function offchainLookup(client, { blockNumber, blockTag, data, to, }) {\n const { args } = decodeErrorResult({\n data,\n abi: [offchainLookupAbiItem],\n });\n const [sender, urls, callData, callbackSelector, extraData] = args;\n try {\n if (!isAddressEqual(to, sender))\n throw new OffchainLookupSenderMismatchError({ sender, to });\n const result = await ccipFetch({ data: callData, sender, urls });\n const { data: data_ } = await call(client, {\n blockNumber,\n blockTag,\n data: concat([\n callbackSelector,\n encodeAbiParameters([{ type: 'bytes' }, { type: 'bytes' }], [result, extraData]),\n ]),\n to,\n });\n return data_;\n }\n catch (err) {\n throw new OffchainLookupError({\n callbackSelector,\n cause: err,\n data,\n extraData,\n sender,\n urls,\n });\n }\n}\nexport async function ccipFetch({ data, sender, urls, }) {\n let error = new Error('An unknown error occurred.');\n for (let i = 0; i < urls.length; i++) {\n const url = urls[i];\n const method = url.includes('{sender}') || url.includes('{data}') ? 'GET' : 'POST';\n const body = method === 'POST' ? { data, sender } : undefined;\n try {\n const response = await fetch(url.replace('{sender}', sender).replace('{data}', data), {\n body: JSON.stringify(body),\n method,\n });\n let result;\n if (response.headers.get('Content-Type')?.startsWith('application/json')) {\n result = (await response.json()).data;\n }\n else {\n result = (await response.text());\n }\n if (!response.ok) {\n error = new HttpRequestError({\n body,\n details: stringify(result.error) || response.statusText,\n headers: response.headers,\n status: response.status,\n url,\n });\n continue;\n }\n if (!isHex(result)) {\n error = new OffchainLookupResponseMalformedError({\n result,\n url,\n });\n continue;\n }\n return result;\n }\n catch (err) {\n error = new HttpRequestError({\n body,\n details: err.message,\n url,\n });\n }\n }\n throw error;\n}\n//# sourceMappingURL=ccip.js.map"],"names":["OffchainLookupError","BaseError","callbackSelector","cause","data","extraData","sender","urls","url","getUrl","OffchainLookupResponseMalformedError","result","stringify","OffchainLookupSenderMismatchError","to","isAddressEqual","a","b","isAddress","InvalidAddressError","offchainLookupSignature","offchainLookupAbiItem","offchainLookup","client","blockNumber","blockTag","args","decodeErrorResult","callData","ccipFetch","data_","call","concat","encodeAbiParameters","err","error","i","method","body","response","HttpRequestError","isHex"],"mappings":"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","x_google_ignoreList":[0,1,2]} \ No newline at end of file +{"version":3,"file":"ccip-d9b4134d.js","sources":["../../../../node_modules/.pnpm/viem@1.6.0_typescript@5.1.6_zod@3.22.2/node_modules/viem/dist/esm/errors/ccip.js","../../../../node_modules/.pnpm/viem@1.6.0_typescript@5.1.6_zod@3.22.2/node_modules/viem/dist/esm/utils/address/isAddressEqual.js","../../../../node_modules/.pnpm/viem@1.6.0_typescript@5.1.6_zod@3.22.2/node_modules/viem/dist/esm/utils/ccip.js"],"sourcesContent":["import { stringify } from '../utils/stringify.js';\nimport { BaseError } from './base.js';\nimport { getUrl } from './utils.js';\nexport class OffchainLookupError extends BaseError {\n constructor({ callbackSelector, cause, data, extraData, sender, urls, }) {\n super(cause.shortMessage ||\n 'An error occurred while fetching for an offchain result.', {\n cause,\n metaMessages: [\n ...(cause.metaMessages || []),\n cause.metaMessages?.length ? '' : [],\n 'Offchain Gateway Call:',\n urls && [\n ' Gateway URL(s):',\n ...urls.map((url) => ` ${getUrl(url)}`),\n ],\n ` Sender: ${sender}`,\n ` Data: ${data}`,\n ` Callback selector: ${callbackSelector}`,\n ` Extra data: ${extraData}`,\n ].flat(),\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'OffchainLookupError'\n });\n }\n}\nexport class OffchainLookupResponseMalformedError extends BaseError {\n constructor({ result, url }) {\n super('Offchain gateway response is malformed. Response data must be a hex value.', {\n metaMessages: [\n `Gateway URL: ${getUrl(url)}`,\n `Response: ${stringify(result)}`,\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'OffchainLookupResponseMalformedError'\n });\n }\n}\nexport class OffchainLookupSenderMismatchError extends BaseError {\n constructor({ sender, to }) {\n super('Reverted sender address does not match target contract address (`to`).', {\n metaMessages: [\n `Contract address: ${to}`,\n `OffchainLookup sender address: ${sender}`,\n ],\n });\n Object.defineProperty(this, \"name\", {\n enumerable: true,\n configurable: true,\n writable: true,\n value: 'OffchainLookupSenderMismatchError'\n });\n }\n}\n//# sourceMappingURL=ccip.js.map","import { InvalidAddressError } from '../../errors/address.js';\nimport { isAddress } from './isAddress.js';\nexport function isAddressEqual(a, b) {\n if (!isAddress(a))\n throw new InvalidAddressError({ address: a });\n if (!isAddress(b))\n throw new InvalidAddressError({ address: b });\n return a.toLowerCase() === b.toLowerCase();\n}\n//# sourceMappingURL=isAddressEqual.js.map","import { call } from '../actions/public/call.js';\nimport {} from '../errors/base.js';\nimport { OffchainLookupError, OffchainLookupResponseMalformedError, OffchainLookupSenderMismatchError, } from '../errors/ccip.js';\nimport { HttpRequestError } from '../errors/request.js';\nimport { decodeErrorResult } from './abi/decodeErrorResult.js';\nimport { encodeAbiParameters } from './abi/encodeAbiParameters.js';\nimport { isAddressEqual } from './address/isAddressEqual.js';\nimport { concat } from './data/concat.js';\nimport { isHex } from './data/isHex.js';\nimport { stringify } from './stringify.js';\nexport const offchainLookupSignature = '0x556f1830';\nexport const offchainLookupAbiItem = {\n name: 'OffchainLookup',\n type: 'error',\n inputs: [\n {\n name: 'sender',\n type: 'address',\n },\n {\n name: 'urls',\n type: 'string[]',\n },\n {\n name: 'callData',\n type: 'bytes',\n },\n {\n name: 'callbackFunction',\n type: 'bytes4',\n },\n {\n name: 'extraData',\n type: 'bytes',\n },\n ],\n};\nexport async function offchainLookup(client, { blockNumber, blockTag, data, to, }) {\n const { args } = decodeErrorResult({\n data,\n abi: [offchainLookupAbiItem],\n });\n const [sender, urls, callData, callbackSelector, extraData] = args;\n try {\n if (!isAddressEqual(to, sender))\n throw new OffchainLookupSenderMismatchError({ sender, to });\n const result = await ccipFetch({ data: callData, sender, urls });\n const { data: data_ } = await call(client, {\n blockNumber,\n blockTag,\n data: concat([\n callbackSelector,\n encodeAbiParameters([{ type: 'bytes' }, { type: 'bytes' }], [result, extraData]),\n ]),\n to,\n });\n return data_;\n }\n catch (err) {\n throw new OffchainLookupError({\n callbackSelector,\n cause: err,\n data,\n extraData,\n sender,\n urls,\n });\n }\n}\nexport async function ccipFetch({ data, sender, urls, }) {\n let error = new Error('An unknown error occurred.');\n for (let i = 0; i < urls.length; i++) {\n const url = urls[i];\n const method = url.includes('{sender}') || url.includes('{data}') ? 'GET' : 'POST';\n const body = method === 'POST' ? { data, sender } : undefined;\n try {\n const response = await fetch(url.replace('{sender}', sender).replace('{data}', data), {\n body: JSON.stringify(body),\n method,\n });\n let result;\n if (response.headers.get('Content-Type')?.startsWith('application/json')) {\n result = (await response.json()).data;\n }\n else {\n result = (await response.text());\n }\n if (!response.ok) {\n error = new HttpRequestError({\n body,\n details: stringify(result.error) || response.statusText,\n headers: response.headers,\n status: response.status,\n url,\n });\n continue;\n }\n if (!isHex(result)) {\n error = new OffchainLookupResponseMalformedError({\n result,\n url,\n });\n continue;\n }\n return result;\n }\n catch (err) {\n error = new HttpRequestError({\n body,\n details: err.message,\n url,\n });\n }\n }\n throw error;\n}\n//# sourceMappingURL=ccip.js.map"],"names":["OffchainLookupError","BaseError","callbackSelector","cause","data","extraData","sender","urls","url","getUrl","OffchainLookupResponseMalformedError","result","stringify","OffchainLookupSenderMismatchError","to","isAddressEqual","a","b","isAddress","InvalidAddressError","offchainLookupSignature","offchainLookupAbiItem","offchainLookup","client","blockNumber","blockTag","args","decodeErrorResult","callData","ccipFetch","data_","call","concat","encodeAbiParameters","err","error","i","method","body","response","HttpRequestError","isHex"],"mappings":"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","x_google_ignoreList":[0,1,2]} \ No newline at end of file diff --git a/packages/client/dist/assets/index-de0b5468.js b/packages/client/dist/assets/index-7c2e4b8a.js similarity index 99% rename from packages/client/dist/assets/index-de0b5468.js rename to packages/client/dist/assets/index-7c2e4b8a.js index b954839..b843cef 100644 --- a/packages/client/dist/assets/index-de0b5468.js +++ b/packages/client/dist/assets/index-7c2e4b8a.js @@ -1,4 +1,4 @@ -import{u as Py,P as jy,y as Ey,c as My,D as ah,W as Ny,o as zy,t as Cy,V as Ty,F as ih}from"./index-706e1e42.js";var Iy=Object.create,nd=Object.defineProperty,Ay=Object.getOwnPropertyDescriptor,Ly=Object.getOwnPropertyNames,Fy=Object.getPrototypeOf,Uy=Object.prototype.hasOwnProperty,Z=(e,o)=>()=>(e&&(o=e(e=0)),o),P=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),lh=(e,o)=>{for(var a in o)nd(e,a,{get:o[a],enumerable:!0})},Ry=(e,o,a,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let d of Ly(o))!Uy.call(e,d)&&d!==a&&nd(e,d,{get:()=>o[d],enumerable:!(l=Ay(o,d))||l.enumerable});return e},ke=(e,o,a)=>(a=e!=null?Iy(Fy(e)):{},Ry(o||!e||!e.__esModule?nd(a,"default",{value:e,enumerable:!0}):a,e)),Dy=P(e=>{var o=Symbol.for("react.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),m=Symbol.iterator;function g(j){return j===null||typeof j!="object"?null:(j=m&&j[m]||j["@@iterator"],typeof j=="function"?j:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,k={};function O(j,W,Se){this.props=j,this.context=W,this.refs=k,this.updater=Se||w}O.prototype.isReactComponent={},O.prototype.setState=function(j,W){if(typeof j!="object"&&typeof j!="function"&&j!=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,j,W,"setState")},O.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function z(){}z.prototype=O.prototype;function M(j,W,Se){this.props=j,this.context=W,this.refs=k,this.updater=Se||w}var N=M.prototype=new z;N.constructor=M,S(N,O.prototype),N.isPureReactComponent=!0;var A=Array.isArray,B=Object.prototype.hasOwnProperty,V={current:null},D={key:!0,ref:!0,__self:!0,__source:!0};function R(j,W,Se){var je,_e={},ze=null,Ae=null;if(W!=null)for(je in W.ref!==void 0&&(Ae=W.ref),W.key!==void 0&&(ze=""+W.key),W)B.call(W,je)&&!D.hasOwnProperty(je)&&(_e[je]=W[je]);var Be=arguments.length-2;if(Be===1)_e.children=Se;else if(1{o.exports=Dy()}),By=P(e=>{var o=sr(),a=Symbol.for("react.element"),l=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function u(f,p,v){var b,m={},g=null,w=null;v!==void 0&&(g=""+v),p.key!==void 0&&(g=""+p.key),p.ref!==void 0&&(w=p.ref);for(b in p)d.call(p,b)&&!i.hasOwnProperty(b)&&(m[b]=p[b]);if(f&&f.defaultProps)for(b in p=f.defaultProps,p)m[b]===void 0&&(m[b]=p[b]);return{$$typeof:a,type:f,key:g,ref:w,props:m,_owner:s.current}}e.Fragment=l,e.jsx=u,e.jsxs=u}),Ye=P((e,o)=>{o.exports=By()}),$y=P(e=>{function o(H,ce){var ve=H.length;H.push(ce);e:for(;0>>1,W=H[j];if(0>>1;jd(_e,ve))zed(Ae,_e)?(H[j]=Ae,H[ze]=ve,j=ze):(H[j]=_e,H[je]=ve,j=je);else if(zed(Ae,ve))H[j]=Ae,H[ze]=ve,j=ze;else break e}}return ce}function d(H,ce){var ve=H.sortIndex-ce.sortIndex;return ve!==0?ve:H.id-ce.id}typeof performance=="object"&&typeof performance.now=="function"?(s=performance,e.unstable_now=function(){return s.now()}):(i=Date,u=i.now(),e.unstable_now=function(){return i.now()-u});var s,i,u,f=[],p=[],v=1,b=null,m=3,g=!1,w=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function M(H){for(var ce=a(p);ce!==null;){if(ce.callback===null)l(p);else if(ce.startTime<=H)l(p),ce.sortIndex=ce.expirationTime,o(f,ce);else break;ce=a(p)}}function N(H){if(S=!1,M(H),!w)if(a(f)!==null)w=!0,be(A);else{var ce=a(p);ce!==null&&ue(N,ce.startTime-H)}}function A(H,ce){w=!1,S&&(S=!1,O(D),D=-1),g=!0;var ve=m;try{for(M(ce),b=a(f);b!==null&&(!(b.expirationTime>ce)||H&&!ee());){var j=b.callback;if(typeof j=="function"){b.callback=null,m=b.priorityLevel;var W=j(b.expirationTime<=ce);ce=e.unstable_now(),typeof W=="function"?b.callback=W:b===a(f)&&l(f),M(ce)}else l(f);b=a(f)}if(b!==null)var Se=!0;else{var je=a(p);je!==null&&ue(N,je.startTime-ce),Se=!1}return Se}finally{b=null,m=ve,g=!1}}var B=!1,V=null,D=-1,R=5,$=-1;function ee(){return!(e.unstable_now()-$H||125j?(H.sortIndex=ve,o(p,H),a(f)===null&&H===a(p)&&(S?(O(D),D=-1):S=!0,ue(N,ve-j))):(H.sortIndex=W,o(f,H),w||g||(w=!0,be(A))),H},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(H){var ce=m;return function(){var ve=m;m=ce;try{return H.apply(this,arguments)}finally{m=ve}}}}),Vy=P((e,o)=>{o.exports=$y()}),Wy=P(e=>{var o=sr(),a=Vy();function l(r){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+r,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,v=/^[: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]*$/,b={},m={};function g(r){return p.call(m,r)?!0:p.call(b,r)?!1:v.test(r)?m[r]=!0:(b[r]=!0,!1)}function w(r,t,n,c){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return c?!1:n!==null?!n.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function S(r,t,n,c){if(t===null||typeof t>"u"||w(r,t,n,c))return!0;if(c)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 k(r,t,n,c,h,y,x){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=c,this.attributeNamespace=h,this.mustUseProperty=n,this.propertyName=r,this.type=t,this.sanitizeURL=y,this.removeEmptyString=x}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){O[r]=new k(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var t=r[0];O[t]=new k(t,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){O[r]=new k(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){O[r]=new k(r,2,!1,r,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(r){O[r]=new k(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){O[r]=new k(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){O[r]=new k(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){O[r]=new k(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){O[r]=new k(r,5,!1,r.toLowerCase(),null,!1,!1)});var z=/[\-:]([a-z])/g;function M(r){return r[1].toUpperCase()}"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-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(r){var t=r.replace(z,M);O[t]=new k(t,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var t=r.replace(z,M);O[t]=new k(t,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var t=r.replace(z,M);O[t]=new k(t,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){O[r]=new k(r,1,!1,r.toLowerCase(),null,!1,!1)}),O.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){O[r]=new k(r,1,!1,r.toLowerCase(),null,!0,!0)});function N(r,t,n,c){var h=O.hasOwnProperty(t)?O[t]:null;(h!==null?h.type!==0:c||!(2()=>(e&&(o=e(e=0)),o),P=(e,o)=>()=>(o||e((o={exports:{}}).exports,o),o.exports),lh=(e,o)=>{for(var a in o)nd(e,a,{get:o[a],enumerable:!0})},Ry=(e,o,a,l)=>{if(o&&typeof o=="object"||typeof o=="function")for(let d of Ly(o))!Uy.call(e,d)&&d!==a&&nd(e,d,{get:()=>o[d],enumerable:!(l=Ay(o,d))||l.enumerable});return e},ke=(e,o,a)=>(a=e!=null?Iy(Fy(e)):{},Ry(o||!e||!e.__esModule?nd(a,"default",{value:e,enumerable:!0}):a,e)),Dy=P(e=>{var o=Symbol.for("react.element"),a=Symbol.for("react.portal"),l=Symbol.for("react.fragment"),d=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),f=Symbol.for("react.forward_ref"),p=Symbol.for("react.suspense"),v=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),m=Symbol.iterator;function g(j){return j===null||typeof j!="object"?null:(j=m&&j[m]||j["@@iterator"],typeof j=="function"?j:null)}var w={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},S=Object.assign,k={};function O(j,W,Se){this.props=j,this.context=W,this.refs=k,this.updater=Se||w}O.prototype.isReactComponent={},O.prototype.setState=function(j,W){if(typeof j!="object"&&typeof j!="function"&&j!=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,j,W,"setState")},O.prototype.forceUpdate=function(j){this.updater.enqueueForceUpdate(this,j,"forceUpdate")};function z(){}z.prototype=O.prototype;function M(j,W,Se){this.props=j,this.context=W,this.refs=k,this.updater=Se||w}var N=M.prototype=new z;N.constructor=M,S(N,O.prototype),N.isPureReactComponent=!0;var A=Array.isArray,B=Object.prototype.hasOwnProperty,V={current:null},D={key:!0,ref:!0,__self:!0,__source:!0};function R(j,W,Se){var je,_e={},ze=null,Ae=null;if(W!=null)for(je in W.ref!==void 0&&(Ae=W.ref),W.key!==void 0&&(ze=""+W.key),W)B.call(W,je)&&!D.hasOwnProperty(je)&&(_e[je]=W[je]);var Be=arguments.length-2;if(Be===1)_e.children=Se;else if(1{o.exports=Dy()}),By=P(e=>{var o=sr(),a=Symbol.for("react.element"),l=Symbol.for("react.fragment"),d=Object.prototype.hasOwnProperty,s=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function u(f,p,v){var b,m={},g=null,w=null;v!==void 0&&(g=""+v),p.key!==void 0&&(g=""+p.key),p.ref!==void 0&&(w=p.ref);for(b in p)d.call(p,b)&&!i.hasOwnProperty(b)&&(m[b]=p[b]);if(f&&f.defaultProps)for(b in p=f.defaultProps,p)m[b]===void 0&&(m[b]=p[b]);return{$$typeof:a,type:f,key:g,ref:w,props:m,_owner:s.current}}e.Fragment=l,e.jsx=u,e.jsxs=u}),Ye=P((e,o)=>{o.exports=By()}),$y=P(e=>{function o(H,ce){var ve=H.length;H.push(ce);e:for(;0>>1,W=H[j];if(0>>1;jd(_e,ve))zed(Ae,_e)?(H[j]=Ae,H[ze]=ve,j=ze):(H[j]=_e,H[je]=ve,j=je);else if(zed(Ae,ve))H[j]=Ae,H[ze]=ve,j=ze;else break e}}return ce}function d(H,ce){var ve=H.sortIndex-ce.sortIndex;return ve!==0?ve:H.id-ce.id}typeof performance=="object"&&typeof performance.now=="function"?(s=performance,e.unstable_now=function(){return s.now()}):(i=Date,u=i.now(),e.unstable_now=function(){return i.now()-u});var s,i,u,f=[],p=[],v=1,b=null,m=3,g=!1,w=!1,S=!1,k=typeof setTimeout=="function"?setTimeout:null,O=typeof clearTimeout=="function"?clearTimeout:null,z=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function M(H){for(var ce=a(p);ce!==null;){if(ce.callback===null)l(p);else if(ce.startTime<=H)l(p),ce.sortIndex=ce.expirationTime,o(f,ce);else break;ce=a(p)}}function N(H){if(S=!1,M(H),!w)if(a(f)!==null)w=!0,be(A);else{var ce=a(p);ce!==null&&ue(N,ce.startTime-H)}}function A(H,ce){w=!1,S&&(S=!1,O(D),D=-1),g=!0;var ve=m;try{for(M(ce),b=a(f);b!==null&&(!(b.expirationTime>ce)||H&&!ee());){var j=b.callback;if(typeof j=="function"){b.callback=null,m=b.priorityLevel;var W=j(b.expirationTime<=ce);ce=e.unstable_now(),typeof W=="function"?b.callback=W:b===a(f)&&l(f),M(ce)}else l(f);b=a(f)}if(b!==null)var Se=!0;else{var je=a(p);je!==null&&ue(N,je.startTime-ce),Se=!1}return Se}finally{b=null,m=ve,g=!1}}var B=!1,V=null,D=-1,R=5,$=-1;function ee(){return!(e.unstable_now()-$H||125j?(H.sortIndex=ve,o(p,H),a(f)===null&&H===a(p)&&(S?(O(D),D=-1):S=!0,ue(N,ve-j))):(H.sortIndex=W,o(f,H),w||g||(w=!0,be(A))),H},e.unstable_shouldYield=ee,e.unstable_wrapCallback=function(H){var ce=m;return function(){var ve=m;m=ce;try{return H.apply(this,arguments)}finally{m=ve}}}}),Vy=P((e,o)=>{o.exports=$y()}),Wy=P(e=>{var o=sr(),a=Vy();function l(r){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+r,n=1;n"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),p=Object.prototype.hasOwnProperty,v=/^[: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]*$/,b={},m={};function g(r){return p.call(m,r)?!0:p.call(b,r)?!1:v.test(r)?m[r]=!0:(b[r]=!0,!1)}function w(r,t,n,c){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return c?!1:n!==null?!n.acceptsBooleans:(r=r.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-");default:return!1}}function S(r,t,n,c){if(t===null||typeof t>"u"||w(r,t,n,c))return!0;if(c)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 k(r,t,n,c,h,y,x){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=c,this.attributeNamespace=h,this.mustUseProperty=n,this.propertyName=r,this.type=t,this.sanitizeURL=y,this.removeEmptyString=x}var O={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(r){O[r]=new k(r,0,!1,r,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(r){var t=r[0];O[t]=new k(t,1,!1,r[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(r){O[r]=new k(r,2,!1,r.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(r){O[r]=new k(r,2,!1,r,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(r){O[r]=new k(r,3,!1,r.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(r){O[r]=new k(r,3,!0,r,null,!1,!1)}),["capture","download"].forEach(function(r){O[r]=new k(r,4,!1,r,null,!1,!1)}),["cols","rows","size","span"].forEach(function(r){O[r]=new k(r,6,!1,r,null,!1,!1)}),["rowSpan","start"].forEach(function(r){O[r]=new k(r,5,!1,r.toLowerCase(),null,!1,!1)});var z=/[\-:]([a-z])/g;function M(r){return r[1].toUpperCase()}"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-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(r){var t=r.replace(z,M);O[t]=new k(t,1,!1,r,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(r){var t=r.replace(z,M);O[t]=new k(t,1,!1,r,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(r){var t=r.replace(z,M);O[t]=new k(t,1,!1,r,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(r){O[r]=new k(r,1,!1,r.toLowerCase(),null,!1,!1)}),O.xlinkHref=new k("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(r){O[r]=new k(r,1,!1,r.toLowerCase(),null,!0,!0)});function N(r,t,n,c){var h=O.hasOwnProperty(t)?O[t]:null;(h!==null?h.type!==0:c||!(2_||h[x]!==y[_]){var E=` @@ -175,4 +175,4 @@ react-router-dom/dist/index.js: @noble/hashes/esm/utils.js: (*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) *) */export{_k as mount}; -//# sourceMappingURL=index-de0b5468.js.map +//# sourceMappingURL=index-7c2e4b8a.js.map diff --git a/packages/client/dist/assets/index-de0b5468.js.map b/packages/client/dist/assets/index-7c2e4b8a.js.map similarity index 99% rename from packages/client/dist/assets/index-de0b5468.js.map rename to packages/client/dist/assets/index-7c2e4b8a.js.map index 038281d..8112150 100644 --- a/packages/client/dist/assets/index-de0b5468.js.map +++ b/packages/client/dist/assets/index-7c2e4b8a.js.map @@ -1 +1 @@ -{"version":3,"file":"index-de0b5468.js","sources":["../../../../node_modules/.pnpm/@latticexyz+dev-tools@2.0.0-next.3_@latticexyz+common@2.0.0-next.3_@latticexyz+recs@2.0.0-nex_zujj3pk4g6ejimorxdlq3nkxk4/node_modules/@latticexyz/dev-tools/dist/index.js"],"sourcesContent":["var JG=Object.create;var mR=Object.defineProperty;var ZG=Object.getOwnPropertyDescriptor;var eQ=Object.getOwnPropertyNames;var tQ=Object.getPrototypeOf,rQ=Object.prototype.hasOwnProperty;var se=(e,t)=>()=>(e&&(t=e(e=0)),t);var M=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mL=(e,t)=>{for(var n in t)mR(e,n,{get:t[n],enumerable:!0})},nQ=(e,t,n,i)=>{if(t&&typeof t==\"object\"||typeof t==\"function\")for(let o of eQ(t))!rQ.call(e,o)&&o!==n&&mR(e,o,{get:()=>t[o],enumerable:!(i=ZG(t,o))||i.enumerable});return e};var be=(e,t,n)=>(n=e!=null?JG(tQ(e)):{},nQ(t||!e||!e.__esModule?mR(n,\"default\",{value:e,enumerable:!0}):n,e));var OL=M(st=>{\"use strict\";var $v=Symbol.for(\"react.element\"),aQ=Symbol.for(\"react.portal\"),iQ=Symbol.for(\"react.fragment\"),oQ=Symbol.for(\"react.strict_mode\"),uQ=Symbol.for(\"react.profiler\"),lQ=Symbol.for(\"react.provider\"),sQ=Symbol.for(\"react.context\"),cQ=Symbol.for(\"react.forward_ref\"),fQ=Symbol.for(\"react.suspense\"),dQ=Symbol.for(\"react.memo\"),pQ=Symbol.for(\"react.lazy\"),yL=Symbol.iterator;function vQ(e){return e===null||typeof e!=\"object\"?null:(e=yL&&e[yL]||e[\"@@iterator\"],typeof e==\"function\"?e:null)}var SL={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_L=Object.assign,wL={};function Rf(e,t,n){this.props=e,this.context=t,this.refs=wL,this.updater=n||SL}Rf.prototype.isReactComponent={};Rf.prototype.setState=function(e,t){if(typeof e!=\"object\"&&typeof e!=\"function\"&&e!=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,e,t,\"setState\")};Rf.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,\"forceUpdate\")};function xL(){}xL.prototype=Rf.prototype;function gR(e,t,n){this.props=e,this.context=t,this.refs=wL,this.updater=n||SL}var bR=gR.prototype=new xL;bR.constructor=gR;_L(bR,Rf.prototype);bR.isPureReactComponent=!0;var gL=Array.isArray,EL=Object.prototype.hasOwnProperty,SR={current:null},CL={key:!0,ref:!0,__self:!0,__source:!0};function RL(e,t,n){var i,o={},l=null,c=null;if(t!=null)for(i in t.ref!==void 0&&(c=t.ref),t.key!==void 0&&(l=\"\"+t.key),t)EL.call(t,i)&&!CL.hasOwnProperty(i)&&(o[i]=t[i]);var p=arguments.length-2;if(p===1)o.children=n;else if(1{\"use strict\";process.env.NODE_ENV!==\"production\"&&function(){\"use strict\";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=\"18.2.0\",t=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),i=Symbol.for(\"react.fragment\"),o=Symbol.for(\"react.strict_mode\"),l=Symbol.for(\"react.profiler\"),c=Symbol.for(\"react.provider\"),p=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),S=Symbol.for(\"react.suspense_list\"),w=Symbol.for(\"react.memo\"),C=Symbol.for(\"react.lazy\"),T=Symbol.for(\"react.offscreen\"),k=Symbol.iterator,N=\"@@iterator\";function I(b){if(b===null||typeof b!=\"object\")return null;var D=k&&b[k]||b[N];return typeof D==\"function\"?D:null}var _={current:null},R={transition:null},A={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},F={current:null},G={},te=null;function re(b){te=b}G.setExtraStackFrame=function(b){te=b},G.getCurrentStack=null,G.getStackAddendum=function(){var b=\"\";te&&(b+=te);var D=G.getCurrentStack;return D&&(b+=D()||\"\"),b};var Se=!1,we=!1,De=!1,dt=!1,rt=!1,Pe={ReactCurrentDispatcher:_,ReactCurrentBatchConfig:R,ReactCurrentOwner:F};Pe.ReactDebugCurrentFrame=G,Pe.ReactCurrentActQueue=A;function ot(b){{for(var D=arguments.length,V=new Array(D>1?D-1:0),K=1;K1?D-1:0),K=1;K1){for(var Pt=Array(xt),Dt=0;Dt1){for(var Ft=Array(Dt),ir=0;ir is not supported and will be removed in a future major release. Did you mean to render instead?\")),D.Provider},set:function(Ce){D.Provider=Ce}},_currentValue:{get:function(){return D._currentValue},set:function(Ce){D._currentValue=Ce}},_currentValue2:{get:function(){return D._currentValue2},set:function(Ce){D._currentValue2=Ce}},_threadCount:{get:function(){return D._threadCount},set:function(Ce){D._threadCount=Ce}},Consumer:{get:function(){return V||(V=!0,Re(\"Rendering is not supported and will be removed in a future major release. Did you mean to render instead?\")),D.Consumer}},displayName:{get:function(){return D.displayName},set:function(Ce){oe||(ot(\"Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.\",Ce),oe=!0)}}}),D.Consumer=Ue}return D._currentRenderer=null,D._currentRenderer2=null,D}var Cr=-1,ua=0,no=1,ao=2;function Ga(b){if(b._status===Cr){var D=b._result,V=D();if(V.then(function(Ue){if(b._status===ua||b._status===Cr){var Ce=b;Ce._status=no,Ce._result=Ue}},function(Ue){if(b._status===ua||b._status===Cr){var Ce=b;Ce._status=ao,Ce._result=Ue}}),b._status===Cr){var K=b;K._status=ua,K._result=V}}if(b._status===no){var oe=b._result;return oe===void 0&&Re(`lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?`,oe),\"default\"in oe||Re(`lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))`,oe),oe.default}else throw b._result}function Vn(b){var D={_status:Cr,_result:b},V={$$typeof:C,_payload:D,_init:Ga};{var K,oe;Object.defineProperties(V,{defaultProps:{configurable:!0,get:function(){return K},set:function(Ue){Re(\"React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.\"),K=Ue,Object.defineProperty(V,\"defaultProps\",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return oe},set:function(Ue){Re(\"React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it.\"),oe=Ue,Object.defineProperty(V,\"propTypes\",{enumerable:!0})}}})}return V}function vt(b){b!=null&&b.$$typeof===w?Re(\"forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).\"):typeof b!=\"function\"?Re(\"forwardRef requires a render function but was given %s.\",b===null?\"null\":typeof b):b.length!==0&&b.length!==2&&Re(\"forwardRef render functions accept exactly two parameters: props and ref. %s\",b.length===1?\"Did you forget to use the ref parameter?\":\"Any additional parameter will be undefined.\"),b!=null&&(b.defaultProps!=null||b.propTypes!=null)&&Re(\"forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?\");var D={$$typeof:v,render:b};{var V;Object.defineProperty(D,\"displayName\",{enumerable:!1,configurable:!0,get:function(){return V},set:function(K){V=K,!b.name&&!b.displayName&&(b.displayName=K)}})}return D}var Zt;Zt=Symbol.for(\"react.module.reference\");function $n(b){return!!(typeof b==\"string\"||typeof b==\"function\"||b===i||b===l||rt||b===o||b===m||b===S||dt||b===T||Se||we||De||typeof b==\"object\"&&b!==null&&(b.$$typeof===C||b.$$typeof===w||b.$$typeof===c||b.$$typeof===p||b.$$typeof===v||b.$$typeof===Zt||b.getModuleId!==void 0))}function P(b,D){$n(b)||Re(\"memo: The first argument must be a component. Instead received: %s\",b===null?\"null\":typeof b);var V={$$typeof:w,type:b,compare:D===void 0?null:D};{var K;Object.defineProperty(V,\"displayName\",{enumerable:!1,configurable:!0,get:function(){return K},set:function(oe){K=oe,!b.name&&!b.displayName&&(b.displayName=oe)}})}return V}function Q(){var b=_.current;return b===null&&Re(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.`),b}function le(b){var D=Q();if(b._context!==void 0){var V=b._context;V.Consumer===b?Re(\"Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?\"):V.Provider===b&&Re(\"Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?\")}return D.useContext(b)}function Ne(b){var D=Q();return D.useState(b)}function Ze(b,D,V){var K=Q();return K.useReducer(b,D,V)}function mt(b){var D=Q();return D.useRef(b)}function Xe(b,D){var V=Q();return V.useEffect(b,D)}function Le(b,D){var V=Q();return V.useInsertionEffect(b,D)}function Nr(b,D){var V=Q();return V.useLayoutEffect(b,D)}function $t(b,D){var V=Q();return V.useCallback(b,D)}function Wt(b,D){var V=Q();return V.useMemo(b,D)}function kn(b,D,V){var K=Q();return K.useImperativeHandle(b,D,V)}function io(b,D){{var V=Q();return V.useDebugValue(b,D)}}function wc(){var b=Q();return b.useTransition()}function la(b){var D=Q();return D.useDeferredValue(b)}function ux(){var b=Q();return b.useId()}function Lo(b,D,V){var K=Q();return K.useSyncExternalStore(b,D,V)}var Je=0,ku,ap,ip,op,up,lp,sp;function cp(){}cp.__reactDisabledLog=!0;function Dm(){{if(Je===0){ku=console.log,ap=console.info,ip=console.warn,op=console.error,up=console.group,lp=console.groupCollapsed,sp=console.groupEnd;var b={configurable:!0,enumerable:!0,value:cp,writable:!0};Object.defineProperties(console,{info:b,log:b,warn:b,error:b,group:b,groupCollapsed:b,groupEnd:b})}Je++}}function lx(){{if(Je--,Je===0){var b={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Xt({},b,{value:ku}),info:Xt({},b,{value:ap}),warn:Xt({},b,{value:ip}),error:Xt({},b,{value:op}),group:Xt({},b,{value:up}),groupCollapsed:Xt({},b,{value:lp}),groupEnd:Xt({},b,{value:sp})})}Je<0&&Re(\"disabledDepth fell below zero. This is a bug in React. Please file an issue.\")}}var fp=Pe.ReactCurrentDispatcher,us;function Au(b,D,V){{if(us===void 0)try{throw Error()}catch(oe){var K=oe.stack.trim().match(/\\n( *(at )?)/);us=K&&K[1]||\"\"}return`\n`+us+b}}var Qa=!1,Mu;{var xc=typeof WeakMap==\"function\"?WeakMap:Map;Mu=new xc}function Nm(b,D){if(!b||Qa)return\"\";{var V=Mu.get(b);if(V!==void 0)return V}var K;Qa=!0;var oe=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Ue;Ue=fp.current,fp.current=null,Dm();try{if(D){var Ce=function(){throw Error()};if(Object.defineProperty(Ce.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==\"object\"&&Reflect.construct){try{Reflect.construct(Ce,[])}catch(jr){K=jr}Reflect.construct(b,[],Ce)}else{try{Ce.call()}catch(jr){K=jr}b.call(Ce.prototype)}}else{try{throw Error()}catch(jr){K=jr}b()}}catch(jr){if(jr&&K&&typeof jr.stack==\"string\"){for(var $e=jr.stack.split(`\n`),ut=K.stack.split(`\n`),xt=$e.length-1,Pt=ut.length-1;xt>=1&&Pt>=0&&$e[xt]!==ut[Pt];)Pt--;for(;xt>=1&&Pt>=0;xt--,Pt--)if($e[xt]!==ut[Pt]){if(xt!==1||Pt!==1)do if(xt--,Pt--,Pt<0||$e[xt]!==ut[Pt]){var Dt=`\n`+$e[xt].replace(\" at new \",\" at \");return b.displayName&&Dt.includes(\"\")&&(Dt=Dt.replace(\"\",b.displayName)),typeof b==\"function\"&&Mu.set(b,Dt),Dt}while(xt>=1&&Pt>=0);break}}}finally{Qa=!1,fp.current=Ue,lx(),Error.prepareStackTrace=oe}var Ft=b?b.displayName||b.name:\"\",ir=Ft?Au(Ft):\"\";return typeof b==\"function\"&&Mu.set(b,ir),ir}function dp(b,D,V){return Nm(b,!1)}function sx(b){var D=b.prototype;return!!(D&&D.isReactComponent)}function Pu(b,D,V){if(b==null)return\"\";if(typeof b==\"function\")return Nm(b,sx(b));if(typeof b==\"string\")return Au(b);switch(b){case m:return Au(\"Suspense\");case S:return Au(\"SuspenseList\")}if(typeof b==\"object\")switch(b.$$typeof){case v:return dp(b.render);case w:return Pu(b.type,D,V);case C:{var K=b,oe=K._payload,Ue=K._init;try{return Pu(Ue(oe),D,V)}catch{}}}return\"\"}var jm={},Ec=Pe.ReactDebugCurrentFrame;function Cc(b){if(b){var D=b._owner,V=Pu(b.type,b._source,D?D.type:null);Ec.setExtraStackFrame(V)}else Ec.setExtraStackFrame(null)}function Lm(b,D,V,K,oe){{var Ue=Function.call.bind(Kr);for(var Ce in b)if(Ue(b,Ce)){var $e=void 0;try{if(typeof b[Ce]!=\"function\"){var ut=Error((K||\"React class\")+\": \"+V+\" type `\"+Ce+\"` is invalid; it must be a function, usually from the `prop-types` package, but received `\"+typeof b[Ce]+\"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.\");throw ut.name=\"Invariant Violation\",ut}$e=b[Ce](D,Ce,K,V,null,\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\")}catch(xt){$e=xt}$e&&!($e instanceof Error)&&(Cc(oe),Re(\"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).\",K||\"React class\",V,Ce,typeof $e),Cc(null)),$e instanceof Error&&!($e.message in jm)&&(jm[$e.message]=!0,Cc(oe),Re(\"Failed %s type: %s\",V,$e.message),Cc(null))}}}function Du(b){if(b){var D=b._owner,V=Pu(b.type,b._source,D?D.type:null);re(V)}else re(null)}var Rc;Rc=!1;function Tt(){if(F.current){var b=ar(F.current.type);if(b)return`\n\nCheck the render method of \\``+b+\"`.\"}return\"\"}function cx(b){if(b!==void 0){var D=b.fileName.replace(/^.*[\\\\\\/]/,\"\"),V=b.lineNumber;return`\n\nCheck your code at `+D+\":\"+V+\".\"}return\"\"}function Um(b){return b!=null?cx(b.__source):\"\"}var Ye={};function Fm(b){var D=Tt();if(!D){var V=typeof b==\"string\"?b:b.displayName||b.name;V&&(D=`\n\nCheck the top-level render call using <`+V+\">.\")}return D}function An(b,D){if(!(!b._store||b._store.validated||b.key!=null)){b._store.validated=!0;var V=Fm(D);if(!Ye[V]){Ye[V]=!0;var K=\"\";b&&b._owner&&b._owner!==F.current&&(K=\" It was passed a child from \"+ar(b._owner.type)+\".\"),Du(b),Re('Each child in a list should have a unique \"key\" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',V,K),Du(null)}}}function Nu(b,D){if(typeof b==\"object\"){if(Qr(b))for(var V=0;V\",oe=\" Did you accidentally export a JSX literal instead of a component?\"):Ce=typeof b,Re(\"React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s\",Ce,oe)}var $e=W.apply(this,arguments);if($e==null)return $e;if(K)for(var ut=2;ut10&&ot(\"Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.\"),K._updatedFibers.clear()}}}var bi=!1,Oc=null;function pp(b){if(Oc===null)try{var D=(\"require\"+Math.random()).slice(0,7),V=$g&&$g[D];Oc=V.call($g,\"timers\").setImmediate}catch{Oc=function(oe){bi===!1&&(bi=!0,typeof MessageChannel>\"u\"&&Re(\"This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning.\"));var Ue=new MessageChannel;Ue.port1.onmessage=oe,Ue.port2.postMessage(void 0)}}return Oc(b)}var Uo=0,vp=!1;function px(b){{var D=Uo;Uo++,A.current===null&&(A.current=[]);var V=A.isBatchingLegacy,K;try{if(A.isBatchingLegacy=!0,K=b(),!V&&A.didScheduleLegacyUpdate){var oe=A.current;oe!==null&&(A.didScheduleLegacyUpdate=!1,kc(oe))}}catch(Ft){throw Tc(D),Ft}finally{A.isBatchingLegacy=V}if(K!==null&&typeof K==\"object\"&&typeof K.then==\"function\"){var Ue=K,Ce=!1,$e={then:function(Ft,ir){Ce=!0,Ue.then(function(jr){Tc(D),Uo===0?hp(jr,Ft,ir):Ft(jr)},function(jr){Tc(D),ir(jr)})}};return!vp&&typeof Promise<\"u\"&&Promise.resolve().then(function(){}).then(function(){Ce||(vp=!0,Re(\"You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);\"))}),$e}else{var ut=K;if(Tc(D),Uo===0){var xt=A.current;xt!==null&&(kc(xt),A.current=null);var Pt={then:function(Ft,ir){A.current===null?(A.current=[],hp(ut,Ft,ir)):Ft(ut)}};return Pt}else{var Dt={then:function(Ft,ir){Ft(ut)}};return Dt}}}}function Tc(b){b!==Uo-1&&Re(\"You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. \"),Uo=b}function hp(b,D,V){{var K=A.current;if(K!==null)try{kc(K),pp(function(){K.length===0?(A.current=null,D(b)):hp(b,D,V)})}catch(oe){V(oe)}else D(b)}}var Lu=!1;function kc(b){if(!Lu){Lu=!0;var D=0;try{for(;D{\"use strict\";process.env.NODE_ENV===\"production\"?wR.exports=OL():wR.exports=TL()});var AL=M(Wg=>{\"use strict\";var bQ=ur(),SQ=Symbol.for(\"react.element\"),_Q=Symbol.for(\"react.fragment\"),wQ=Object.prototype.hasOwnProperty,xQ=bQ.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,EQ={key:!0,ref:!0,__self:!0,__source:!0};function kL(e,t,n){var i,o={},l=null,c=null;n!==void 0&&(l=\"\"+n),t.key!==void 0&&(l=\"\"+t.key),t.ref!==void 0&&(c=t.ref);for(i in t)wQ.call(t,i)&&!EQ.hasOwnProperty(i)&&(o[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps,t)o[i]===void 0&&(o[i]=t[i]);return{$$typeof:SQ,type:e,key:l,ref:c,props:o,_owner:xQ.current}}Wg.Fragment=_Q;Wg.jsx=kL;Wg.jsxs=kL});var ML=M(Yg=>{\"use strict\";process.env.NODE_ENV!==\"production\"&&function(){\"use strict\";var e=ur(),t=Symbol.for(\"react.element\"),n=Symbol.for(\"react.portal\"),i=Symbol.for(\"react.fragment\"),o=Symbol.for(\"react.strict_mode\"),l=Symbol.for(\"react.profiler\"),c=Symbol.for(\"react.provider\"),p=Symbol.for(\"react.context\"),v=Symbol.for(\"react.forward_ref\"),m=Symbol.for(\"react.suspense\"),S=Symbol.for(\"react.suspense_list\"),w=Symbol.for(\"react.memo\"),C=Symbol.for(\"react.lazy\"),T=Symbol.for(\"react.offscreen\"),k=Symbol.iterator,N=\"@@iterator\";function I(P){if(P===null||typeof P!=\"object\")return null;var Q=k&&P[k]||P[N];return typeof Q==\"function\"?Q:null}var _=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function R(P){{for(var Q=arguments.length,le=new Array(Q>1?Q-1:0),Ne=1;Ne=1&&Wt>=0&&Le[$t]!==Nr[Wt];)Wt--;for(;$t>=1&&Wt>=0;$t--,Wt--)if(Le[$t]!==Nr[Wt]){if($t!==1||Wt!==1)do if($t--,Wt--,Wt<0||Le[$t]!==Nr[Wt]){var kn=`\n`+Le[$t].replace(\" at new \",\" at \");return P.displayName&&kn.includes(\"\")&&(kn=kn.replace(\"\",P.displayName)),typeof P==\"function\"&&ia.set(P,kn),kn}while($t>=1&&Wt>=0);break}}}finally{cn=!1,aa.current=mt,Mr(),Error.prepareStackTrace=Ze}var io=P?P.displayName||P.name:\"\",wc=io?Tn(io):\"\";return typeof P==\"function\"&&ia.set(P,wc),wc}function Er(P,Q,le){return Pr(P,!1)}function gr(P){var Q=P.prototype;return!!(Q&&Q.isReactComponent)}function Vt(P,Q,le){if(P==null)return\"\";if(typeof P==\"function\")return Pr(P,gr(P));if(typeof P==\"string\")return Tn(P);switch(P){case m:return Tn(\"Suspense\");case S:return Tn(\"SuspenseList\")}if(typeof P==\"object\")switch(P.$$typeof){case v:return Er(P.render);case w:return Vt(P.type,Q,le);case C:{var Ne=P,Ze=Ne._payload,mt=Ne._init;try{return Vt(mt(Ze),Q,le)}catch{}}}return\"\"}var br=Object.prototype.hasOwnProperty,Jt={},ar=_.ReactDebugCurrentFrame;function Kr(P){if(P){var Q=P._owner,le=Vt(P.type,P._source,Q?Q.type:null);ar.setExtraStackFrame(le)}else ar.setExtraStackFrame(null)}function gi(P,Q,le,Ne,Ze){{var mt=Function.call.bind(br);for(var Xe in P)if(mt(P,Xe)){var Le=void 0;try{if(typeof P[Xe]!=\"function\"){var Nr=Error((Ne||\"React class\")+\": \"+le+\" type `\"+Xe+\"` is invalid; it must be a function, usually from the `prop-types` package, but received `\"+typeof P[Xe]+\"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.\");throw Nr.name=\"Invariant Violation\",Nr}Le=P[Xe](Q,Xe,Ne,le,null,\"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED\")}catch($t){Le=$t}Le&&!(Le instanceof Error)&&(Kr(Ze),R(\"%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).\",Ne||\"React class\",le,Xe,typeof Le),Kr(null)),Le instanceof Error&&!(Le.message in Jt)&&(Jt[Le.message]=!0,Kr(Ze),R(\"Failed %s type: %s\",le,Le.message),Kr(null))}}}var eo=Array.isArray;function Xr(P){return eo(P)}function Sr(P){{var Q=typeof Symbol==\"function\"&&Symbol.toStringTag,le=Q&&P[Symbol.toStringTag]||P.constructor.name||\"Object\";return le}}function Hn(P){try{return Dr(P),!1}catch{return!0}}function Dr(P){return\"\"+P}function oa(P){if(Hn(P))return R(\"The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.\",Sr(P)),Dr(P)}var vr=_.ReactCurrentOwner,Bn={key:!0,ref:!0,__self:!0,__source:!0},Ta,W,j;j={};function H(P){if(br.call(P,\"ref\")){var Q=Object.getOwnPropertyDescriptor(P,\"ref\").get;if(Q&&Q.isReactWarning)return!1}return P.ref!==void 0}function Z(P){if(br.call(P,\"key\")){var Q=Object.getOwnPropertyDescriptor(P,\"key\").get;if(Q&&Q.isReactWarning)return!1}return P.key!==void 0}function ie(P,Q){if(typeof P.ref==\"string\"&&vr.current&&Q&&vr.current.stateNode!==Q){var le=Pe(vr.current.type);j[le]||(R('Component \"%s\" contains the string ref \"%s\". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',Pe(vr.current.type),P.ref),j[le]=!0)}}function de(P,Q){{var le=function(){Ta||(Ta=!0,R(\"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)\",Q))};le.isReactWarning=!0,Object.defineProperty(P,\"key\",{get:le,configurable:!0})}}function Ae(P,Q){{var le=function(){W||(W=!0,R(\"%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)\",Q))};le.isReactWarning=!0,Object.defineProperty(P,\"ref\",{get:le,configurable:!0})}}var ye=function(P,Q,le,Ne,Ze,mt,Xe){var Le={$$typeof:t,type:P,key:Q,ref:le,props:Xe,_owner:mt};return Le._store={},Object.defineProperty(Le._store,\"validated\",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Le,\"_self\",{configurable:!1,enumerable:!1,writable:!1,value:Ne}),Object.defineProperty(Le,\"_source\",{configurable:!1,enumerable:!1,writable:!1,value:Ze}),Object.freeze&&(Object.freeze(Le.props),Object.freeze(Le)),Le};function _e(P,Q,le,Ne,Ze){{var mt,Xe={},Le=null,Nr=null;le!==void 0&&(oa(le),Le=\"\"+le),Z(Q)&&(oa(Q.key),Le=\"\"+Q.key),H(Q)&&(Nr=Q.ref,ie(Q,Ze));for(mt in Q)br.call(Q,mt)&&!Bn.hasOwnProperty(mt)&&(Xe[mt]=Q[mt]);if(P&&P.defaultProps){var $t=P.defaultProps;for(mt in $t)Xe[mt]===void 0&&(Xe[mt]=$t[mt])}if(Le||Nr){var Wt=typeof P==\"function\"?P.displayName||P.name||\"Unknown\":P;Le&&de(Xe,Wt),Nr&&Ae(Xe,Wt)}return ye(P,Le,Nr,Ze,Ne,vr.current,Xe)}}var Me=_.ReactCurrentOwner,Ge=_.ReactDebugCurrentFrame;function Qe(P){if(P){var Q=P._owner,le=Vt(P.type,P._source,Q?Q.type:null);Ge.setExtraStackFrame(le)}else Ge.setExtraStackFrame(null)}var We;We=!1;function Ut(P){return typeof P==\"object\"&&P!==null&&P.$$typeof===t}function _r(){{if(Me.current){var P=Pe(Me.current.type);if(P)return`\n\nCheck the render method of \\``+P+\"`.\"}return\"\"}}function ka(P){{if(P!==void 0){var Q=P.fileName.replace(/^.*[\\\\\\/]/,\"\"),le=P.lineNumber;return`\n\nCheck your code at `+Q+\":\"+le+\".\"}return\"\"}}var to={};function ro(P){{var Q=_r();if(!Q){var le=typeof P==\"string\"?P:P.displayName||P.name;le&&(Q=`\n\nCheck the top-level render call using <`+le+\">.\")}return Q}}function Cr(P,Q){{if(!P._store||P._store.validated||P.key!=null)return;P._store.validated=!0;var le=ro(Q);if(to[le])return;to[le]=!0;var Ne=\"\";P&&P._owner&&P._owner!==Me.current&&(Ne=\" It was passed a child from \"+Pe(P._owner.type)+\".\"),Qe(P),R('Each child in a list should have a unique \"key\" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',le,Ne),Qe(null)}}function ua(P,Q){{if(typeof P!=\"object\")return;if(Xr(P))for(var le=0;le\",Le=\" Did you accidentally export a JSX literal instead of a component?\"):$t=typeof P,R(\"React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s\",$t,Le)}var Wt=_e(P,Q,le,Ze,mt);if(Wt==null)return Wt;if(Xe){var kn=Q.children;if(kn!==void 0)if(Ne)if(Xr(kn)){for(var io=0;io{\"use strict\";process.env.NODE_ENV===\"production\"?xR.exports=AL():xR.exports=ML()});var IL=M(qt=>{\"use strict\";function OR(e,t){var n=e.length;e.push(t);e:for(;0>>1,o=e[i];if(0>>1;iGg(p,n))vGg(m,p)?(e[i]=m,e[v]=n,i=v):(e[i]=p,e[c]=n,i=c);else if(vGg(m,n))e[i]=m,e[v]=n,i=v;else break e}}return t}function Gg(e,t){var n=e.sortIndex-t.sortIndex;return n!==0?n:e.id-t.id}typeof performance==\"object\"&&typeof performance.now==\"function\"?(PL=performance,qt.unstable_now=function(){return PL.now()}):(ER=Date,DL=ER.now(),qt.unstable_now=function(){return ER.now()-DL});var PL,ER,DL,So=[],ol=[],CQ=1,ai=null,Ln=3,Xg=!1,Fs=!1,Yv=!1,LL=typeof setTimeout==\"function\"?setTimeout:null,UL=typeof clearTimeout==\"function\"?clearTimeout:null,NL=typeof setImmediate<\"u\"?setImmediate:null;typeof navigator<\"u\"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function TR(e){for(var t=Ni(ol);t!==null;){if(t.callback===null)Kg(ol);else if(t.startTime<=e)Kg(ol),t.sortIndex=t.expirationTime,OR(So,t);else break;t=Ni(ol)}}function kR(e){if(Yv=!1,TR(e),!Fs)if(Ni(So)!==null)Fs=!0,MR(AR);else{var t=Ni(ol);t!==null&&PR(kR,t.startTime-e)}}function AR(e,t){Fs=!1,Yv&&(Yv=!1,UL(Gv),Gv=-1),Xg=!0;var n=Ln;try{for(TR(t),ai=Ni(So);ai!==null&&(!(ai.expirationTime>t)||e&&!qL());){var i=ai.callback;if(typeof i==\"function\"){ai.callback=null,Ln=ai.priorityLevel;var o=i(ai.expirationTime<=t);t=qt.unstable_now(),typeof o==\"function\"?ai.callback=o:ai===Ni(So)&&Kg(So),TR(t)}else Kg(So);ai=Ni(So)}if(ai!==null)var l=!0;else{var c=Ni(ol);c!==null&&PR(kR,c.startTime-t),l=!1}return l}finally{ai=null,Ln=n,Xg=!1}}var Jg=!1,Qg=null,Gv=-1,FL=5,zL=-1;function qL(){return!(qt.unstable_now()-zLe||125i?(e.sortIndex=n,OR(ol,e),Ni(So)===null&&e===Ni(ol)&&(Yv?(UL(Gv),Gv=-1):Yv=!0,PR(kR,n-i))):(e.sortIndex=o,OR(So,e),Fs||Xg||(Fs=!0,MR(AR))),e};qt.unstable_shouldYield=qL;qt.unstable_wrapCallback=function(e){var t=Ln;return function(){var n=Ln;Ln=t;try{return e.apply(this,arguments)}finally{Ln=n}}}});var HL=M(jt=>{\"use strict\";process.env.NODE_ENV!==\"production\"&&function(){\"use strict\";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=!1,t=!1,n=5;function i(j,H){var Z=j.length;j.push(H),c(j,H,Z)}function o(j){return j.length===0?null:j[0]}function l(j){if(j.length===0)return null;var H=j[0],Z=j.pop();return Z!==H&&(j[0]=Z,p(j,Z,0)),H}function c(j,H,Z){for(var ie=Z;ie>0;){var de=ie-1>>>1,Ae=j[de];if(v(Ae,H)>0)j[de]=H,j[ie]=Ae,ie=de;else return}}function p(j,H,Z){for(var ie=Z,de=j.length,Ae=de>>>1;ieZ&&(!j||Kr()));){var ie=rt.callback;if(typeof ie==\"function\"){rt.callback=null,Pe=rt.priorityLevel;var de=rt.expirationTime<=Z,Ae=ie(de);Z=jt.unstable_now(),typeof Ae==\"function\"?rt.callback=Ae:rt===o(we)&&l(we),ht(Z)}else l(we);rt=o(we)}if(rt!==null)return!0;var ye=o(De);return ye!==null&&vr(pt,ye.startTime-Z),!1}function Mr(j,H){switch(j){case m:case S:case w:case C:case T:break;default:j=w}var Z=Pe;Pe=j;try{return H()}finally{Pe=Z}}function aa(j){var H;switch(Pe){case m:case S:case w:H=w;break;default:H=Pe;break}var Z=Pe;Pe=H;try{return j()}finally{Pe=Z}}function Oa(j){var H=Pe;return function(){var Z=Pe;Pe=H;try{return j.apply(this,arguments)}finally{Pe=Z}}}function Tn(j,H,Z){var ie=jt.unstable_now(),de;if(typeof Z==\"object\"&&Z!==null){var Ae=Z.delay;typeof Ae==\"number\"&&Ae>0?de=ie+Ae:de=ie}else de=ie;var ye;switch(j){case m:ye=F;break;case S:ye=G;break;case T:ye=Se;break;case C:ye=re;break;case w:default:ye=te;break}var _e=de+ye,Me={id:dt++,callback:H,priorityLevel:j,startTime:de,expirationTime:_e,sortIndex:-1};return de>ie?(Me.sortIndex=de,i(De,Me),o(we)===null&&Me===o(De)&&(Mt?Bn():Mt=!0,vr(pt,de-ie))):(Me.sortIndex=_e,i(we,Me),!Re&&!ot&&(Re=!0,oa(sn))),Me}function cn(){}function ia(){!Re&&!ot&&(Re=!0,oa(sn))}function Qr(){return o(we)}function Pr(j){j.callback=null}function Er(){return Pe}var gr=!1,Vt=null,br=-1,Jt=n,ar=-1;function Kr(){var j=jt.unstable_now()-ar;return!(j125){console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\");return}j>0?Jt=Math.floor(1e3/j):Jt=n}var Xr=function(){if(Vt!==null){var j=jt.unstable_now();ar=j;var H=!0,Z=!0;try{Z=Vt(H,j)}finally{Z?Sr():(gr=!1,Vt=null)}}else gr=!1},Sr;if(typeof On==\"function\")Sr=function(){On(Xr)};else if(typeof MessageChannel<\"u\"){var Hn=new MessageChannel,Dr=Hn.port2;Hn.port1.onmessage=Xr,Sr=function(){Dr.postMessage(null)}}else Sr=function(){Gr(Xr,0)};function oa(j){Vt=j,gr||(gr=!0,Sr())}function vr(j,H){br=Gr(function(){j(jt.unstable_now())},H)}function Bn(){Bt(br),br=-1}var Ta=gi,W=null;jt.unstable_IdlePriority=T,jt.unstable_ImmediatePriority=m,jt.unstable_LowPriority=C,jt.unstable_NormalPriority=w,jt.unstable_Profiling=W,jt.unstable_UserBlockingPriority=S,jt.unstable_cancelCallback=Pr,jt.unstable_continueExecution=ia,jt.unstable_forceFrameRate=eo,jt.unstable_getCurrentPriorityLevel=Er,jt.unstable_getFirstCallbackNode=Qr,jt.unstable_next=aa,jt.unstable_pauseExecution=cn,jt.unstable_requestPaint=Ta,jt.unstable_runWithPriority=Mr,jt.unstable_scheduleCallback=Tn,jt.unstable_shouldYield=Kr,jt.unstable_wrapCallback=Oa,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()});var NR=M((Zye,DR)=>{\"use strict\";process.env.NODE_ENV===\"production\"?DR.exports=IL():DR.exports=HL()});var GF=M(Ba=>{\"use strict\";var Q2=ur(),Ia=NR();function ae(e){for(var t=\"https://reactjs.org/docs/error-decoder.html?invariant=\"+e,n=1;n\"u\"||typeof window.document>\"u\"||typeof window.document.createElement>\"u\"),nO=Object.prototype.hasOwnProperty,RQ=/^[: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]*$/,BL={},VL={};function OQ(e){return nO.call(VL,e)?!0:nO.call(BL,e)?!1:RQ.test(e)?VL[e]=!0:(BL[e]=!0,!1)}function TQ(e,t,n,i){if(n!==null&&n.type===0)return!1;switch(typeof t){case\"function\":case\"symbol\":return!0;case\"boolean\":return i?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!==\"data-\"&&e!==\"aria-\");default:return!1}}function kQ(e,t,n,i){if(t===null||typeof t>\"u\"||TQ(e,t,n,i))return!0;if(i)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 ra(e,t,n,i,o,l,c){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=i,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=l,this.removeEmptyString=c}var xn={};\"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style\".split(\" \").forEach(function(e){xn[e]=new ra(e,0,!1,e,null,!1,!1)});[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(e){var t=e[0];xn[t]=new ra(t,1,!1,e[1],null,!1,!1)});[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(e){xn[e]=new ra(e,2,!1,e.toLowerCase(),null,!1,!1)});[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(e){xn[e]=new ra(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){xn[e]=new ra(e,3,!1,e.toLowerCase(),null,!1,!1)});[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(e){xn[e]=new ra(e,3,!0,e,null,!1,!1)});[\"capture\",\"download\"].forEach(function(e){xn[e]=new ra(e,4,!1,e,null,!1,!1)});[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(e){xn[e]=new ra(e,6,!1,e,null,!1,!1)});[\"rowSpan\",\"start\"].forEach(function(e){xn[e]=new ra(e,5,!1,e.toLowerCase(),null,!1,!1)});var QO=/[\\-:]([a-z])/g;function KO(e){return e[1].toUpperCase()}\"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-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(QO,KO);xn[t]=new ra(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(QO,KO);xn[t]=new ra(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(QO,KO);xn[t]=new ra(t,1,!1,e,\"http://www.w3.org/XML/1998/namespace\",!1,!1)});[\"tabIndex\",\"crossOrigin\"].forEach(function(e){xn[e]=new ra(e,1,!1,e.toLowerCase(),null,!1,!1)});xn.xlinkHref=new ra(\"xlinkHref\",1,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1);[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(e){xn[e]=new ra(e,1,!1,e.toLowerCase(),null,!0,!0)});function XO(e,t,n,i){var o=xn.hasOwnProperty(t)?xn[t]:null;(o!==null?o.type!==0:i||!(2p||o[c]!==l[p]){var v=`\n`+o[c].replace(\" at new \",\" at \");return e.displayName&&v.includes(\"\")&&(v=v.replace(\"\",e.displayName)),v}while(1<=c&&0<=p);break}}}finally{LR=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:\"\")?nh(e):\"\"}function AQ(e){switch(e.tag){case 5:return nh(e.type);case 16:return nh(\"Lazy\");case 13:return nh(\"Suspense\");case 19:return nh(\"SuspenseList\");case 0:case 2:case 15:return e=UR(e.type,!1),e;case 11:return e=UR(e.type.render,!1),e;case 1:return e=UR(e.type,!0),e;default:return\"\"}}function uO(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 Af:return\"Fragment\";case kf:return\"Portal\";case aO:return\"Profiler\";case JO:return\"StrictMode\";case iO:return\"Suspense\";case oO:return\"SuspenseList\"}if(typeof e==\"object\")switch(e.$$typeof){case J2:return(e.displayName||\"Context\")+\".Consumer\";case X2:return(e._context.displayName||\"Context\")+\".Provider\";case ZO:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||\"\",e=e!==\"\"?\"ForwardRef(\"+e+\")\":\"ForwardRef\"),e;case eT:return t=e.displayName||null,t!==null?t:uO(e.type)||\"Memo\";case ll:t=e._payload,e=e._init;try{return uO(e(t))}catch{}}return null}function MQ(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=t.render,e=e.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 uO(t);case 8:return t===JO?\"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 wl(e){switch(typeof e){case\"boolean\":case\"number\":case\"string\":case\"undefined\":return e;case\"object\":return e;default:return\"\"}}function eU(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()===\"input\"&&(t===\"checkbox\"||t===\"radio\")}function PQ(e){var t=eU(e)?\"checked\":\"value\",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=\"\"+e[t];if(!e.hasOwnProperty(t)&&typeof n<\"u\"&&typeof n.get==\"function\"&&typeof n.set==\"function\"){var o=n.get,l=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(c){i=\"\"+c,l.call(this,c)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return i},setValue:function(c){i=\"\"+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function eb(e){e._valueTracker||(e._valueTracker=PQ(e))}function tU(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),i=\"\";return e&&(i=eU(e)?e.checked?\"true\":\"false\":e.value),e=i,e!==n?(t.setValue(e),!0):!1}function Tb(e){if(e=e||(typeof document<\"u\"?document:void 0),typeof e>\"u\")return null;try{return e.activeElement||e.body}catch{return e.body}}function lO(e,t){var n=t.checked;return cr({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function WL(e,t){var n=t.defaultValue==null?\"\":t.defaultValue,i=t.checked!=null?t.checked:t.defaultChecked;n=wl(t.value!=null?t.value:n),e._wrapperState={initialChecked:i,initialValue:n,controlled:t.type===\"checkbox\"||t.type===\"radio\"?t.checked!=null:t.value!=null}}function rU(e,t){t=t.checked,t!=null&&XO(e,\"checked\",t,!1)}function sO(e,t){rU(e,t);var n=wl(t.value),i=t.type;if(n!=null)i===\"number\"?(n===0&&e.value===\"\"||e.value!=n)&&(e.value=\"\"+n):e.value!==\"\"+n&&(e.value=\"\"+n);else if(i===\"submit\"||i===\"reset\"){e.removeAttribute(\"value\");return}t.hasOwnProperty(\"value\")?cO(e,t.type,n):t.hasOwnProperty(\"defaultValue\")&&cO(e,t.type,wl(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function YL(e,t,n){if(t.hasOwnProperty(\"value\")||t.hasOwnProperty(\"defaultValue\")){var i=t.type;if(!(i!==\"submit\"&&i!==\"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,n!==\"\"&&(e.name=\"\"),e.defaultChecked=!!e._wrapperState.initialChecked,n!==\"\"&&(e.name=n)}function cO(e,t,n){(t!==\"number\"||Tb(e.ownerDocument)!==e)&&(n==null?e.defaultValue=\"\"+e._wrapperState.initialValue:e.defaultValue!==\"\"+n&&(e.defaultValue=\"\"+n))}var ah=Array.isArray;function If(e,t,n,i){if(e=e.options,t){t={};for(var o=0;o\"+t.valueOf().toString()+\"\",t=tb.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}});function yh(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&n.nodeType===3){n.nodeValue=t;return}}e.textContent=t}var uh={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},DQ=[\"Webkit\",\"ms\",\"Moz\",\"O\"];Object.keys(uh).forEach(function(e){DQ.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),uh[t]=uh[e]})});function oU(e,t,n){return t==null||typeof t==\"boolean\"||t===\"\"?\"\":n||typeof t!=\"number\"||t===0||uh.hasOwnProperty(e)&&uh[e]?(\"\"+t).trim():t+\"px\"}function uU(e,t){e=e.style;for(var n in t)if(t.hasOwnProperty(n)){var i=n.indexOf(\"--\")===0,o=oU(n,t[n],i);n===\"float\"&&(n=\"cssFloat\"),i?e.setProperty(n,o):e[n]=o}}var NQ=cr({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 pO(e,t){if(t){if(NQ[e]&&(t.children!=null||t.dangerouslySetInnerHTML!=null))throw Error(ae(137,e));if(t.dangerouslySetInnerHTML!=null){if(t.children!=null)throw Error(ae(60));if(typeof t.dangerouslySetInnerHTML!=\"object\"||!(\"__html\"in t.dangerouslySetInnerHTML))throw Error(ae(61))}if(t.style!=null&&typeof t.style!=\"object\")throw Error(ae(62))}}function vO(e,t){if(e.indexOf(\"-\")===-1)return typeof t.is==\"string\";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 hO=null;function tT(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var mO=null,Hf=null,Bf=null;function KL(e){if(e=jh(e)){if(typeof mO!=\"function\")throw Error(ae(280));var t=e.stateNode;t&&(t=r0(t),mO(e.stateNode,e.type,t))}}function lU(e){Hf?Bf?Bf.push(e):Bf=[e]:Hf=e}function sU(){if(Hf){var e=Hf,t=Bf;if(Bf=Hf=null,KL(e),t)for(e=0;e>>=0,e===0?32:31-($Q(e)/WQ|0)|0}var rb=64,nb=4194304;function ih(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 e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function Pb(e,t){var n=e.pendingLanes;if(n===0)return 0;var i=0,o=e.suspendedLanes,l=e.pingedLanes,c=n&268435455;if(c!==0){var p=c&~o;p!==0?i=ih(p):(l&=c,l!==0&&(i=ih(l)))}else c=n&~o,c!==0?i=ih(c):l!==0&&(i=ih(l));if(i===0)return 0;if(t!==0&&t!==i&&!(t&o)&&(o=i&-i,l=t&-t,o>=l||o===16&&(l&4194240)!==0))return t;if(i&4&&(i|=n&16),t=e.entangledLanes,t!==0)for(e=e.entanglements,t&=i;0n;n++)t.push(e);return t}function Dh(e,t,n){e.pendingLanes|=t,t!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,t=31-zi(t),e[t]=n}function KQ(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 i=e.eventTimes;for(e=e.expirationTimes;0=sh),i2=String.fromCharCode(32),o2=!1;function kU(e,t){switch(e){case\"keyup\":return EK.indexOf(t.keyCode)!==-1;case\"keydown\":return t.keyCode!==229;case\"keypress\":case\"mousedown\":case\"focusout\":return!0;default:return!1}}function AU(e){return e=e.detail,typeof e==\"object\"&&\"data\"in e?e.data:null}var Mf=!1;function RK(e,t){switch(e){case\"compositionend\":return AU(t);case\"keypress\":return t.which!==32?null:(o2=!0,i2);case\"textInput\":return e=t.data,e===i2&&o2?null:e;default:return null}}function OK(e,t){if(Mf)return e===\"compositionend\"||!sT&&kU(e,t)?(e=OU(),bb=oT=dl=null,Mf=!1,e):null;switch(e){case\"paste\":return null;case\"keypress\":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1=t)return{node:n,offset:t-e};e=i}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=s2(n)}}function NU(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?NU(e,t.parentNode):\"contains\"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function jU(){for(var e=window,t=Tb();t instanceof e.HTMLIFrameElement;){try{var n=typeof t.contentWindow.location.href==\"string\"}catch{n=!1}if(n)e=t.contentWindow;else break;t=Tb(e.document)}return t}function cT(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 LK(e){var t=jU(),n=e.focusedElem,i=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&NU(n.ownerDocument.documentElement,n)){if(i!==null&&cT(n)){if(t=i.start,e=i.end,e===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,e.getSelection){e=e.getSelection();var o=n.textContent.length,l=Math.min(i.start,o);i=i.end===void 0?l:Math.min(i.end,o),!e.extend&&l>i&&(o=i,i=l,l=o),o=c2(n,l);var c=c2(n,i);o&&c&&(e.rangeCount!==1||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==c.node||e.focusOffset!==c.offset)&&(t=t.createRange(),t.setStart(o.node,o.offset),e.removeAllRanges(),l>i?(e.addRange(t),e.extend(c.node,c.offset)):(t.setEnd(c.node,c.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=document.documentMode,Pf=null,wO=null,fh=null,xO=!1;function f2(e,t,n){var i=n.window===n?n.document:n.nodeType===9?n:n.ownerDocument;xO||Pf==null||Pf!==Tb(i)||(i=Pf,\"selectionStart\"in i&&cT(i)?i={start:i.selectionStart,end:i.selectionEnd}:(i=(i.ownerDocument&&i.ownerDocument.defaultView||window).getSelection(),i={anchorNode:i.anchorNode,anchorOffset:i.anchorOffset,focusNode:i.focusNode,focusOffset:i.focusOffset}),fh&&xh(fh,i)||(fh=i,i=jb(wO,\"onSelect\"),0jf||(e.current=kO[jf],kO[jf]=null,jf--)}function It(e,t){jf++,kO[jf]=e.current,e.current=t}var xl={},qn=Cl(xl),ga=Cl(!1),Ws=xl;function Gf(e,t){var n=e.type.contextTypes;if(!n)return xl;var i=e.stateNode;if(i&&i.__reactInternalMemoizedUnmaskedChildContext===t)return i.__reactInternalMemoizedMaskedChildContext;var o={},l;for(l in n)o[l]=t[l];return i&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=o),o}function ba(e){return e=e.childContextTypes,e!=null}function Ub(){Qt(ga),Qt(qn)}function S2(e,t,n){if(qn.current!==xl)throw Error(ae(168));It(qn,t),It(ga,n)}function VU(e,t,n){var i=e.stateNode;if(t=t.childContextTypes,typeof i.getChildContext!=\"function\")return n;i=i.getChildContext();for(var o in i)if(!(o in t))throw Error(ae(108,MQ(e)||\"Unknown\",o));return cr({},n,i)}function Fb(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xl,Ws=qn.current,It(qn,e),It(ga,ga.current),!0}function _2(e,t,n){var i=e.stateNode;if(!i)throw Error(ae(169));n?(e=VU(e,t,Ws),i.__reactInternalMemoizedMergedChildContext=e,Qt(ga),Qt(qn),It(qn,e)):Qt(ga),It(ga,n)}var lu=null,n0=!1,GR=!1;function $U(e){lu===null?lu=[e]:lu.push(e)}function WK(e){n0=!0,$U(e)}function Rl(){if(!GR&&lu!==null){GR=!0;var e=0,t=kt;try{var n=lu;for(kt=1;e>=c,o-=c,su=1<<32-zi(t)+o|n<Se?(we=re,re=null):we=re.sibling;var De=C(_,re,A[Se],F);if(De===null){re===null&&(re=we);break}e&&re&&De.alternate===null&&t(_,re),R=l(De,R,Se),te===null?G=De:te.sibling=De,te=De,re=we}if(Se===A.length)return n(_,re),tr&&zs(_,Se),G;if(re===null){for(;SeSe?(we=re,re=null):we=re.sibling;var dt=C(_,re,De.value,F);if(dt===null){re===null&&(re=we);break}e&&re&&dt.alternate===null&&t(_,re),R=l(dt,R,Se),te===null?G=dt:te.sibling=dt,te=dt,re=we}if(De.done)return n(_,re),tr&&zs(_,Se),G;if(re===null){for(;!De.done;Se++,De=A.next())De=w(_,De.value,F),De!==null&&(R=l(De,R,Se),te===null?G=De:te.sibling=De,te=De);return tr&&zs(_,Se),G}for(re=i(_,re);!De.done;Se++,De=A.next())De=T(re,_,Se,De.value,F),De!==null&&(e&&De.alternate!==null&&re.delete(De.key===null?Se:De.key),R=l(De,R,Se),te===null?G=De:te.sibling=De,te=De);return e&&re.forEach(function(rt){return t(_,rt)}),tr&&zs(_,Se),G}function I(_,R,A,F){if(typeof A==\"object\"&&A!==null&&A.type===Af&&A.key===null&&(A=A.props.children),typeof A==\"object\"&&A!==null){switch(A.$$typeof){case Zg:e:{for(var G=A.key,te=R;te!==null;){if(te.key===G){if(G=A.type,G===Af){if(te.tag===7){n(_,te.sibling),R=o(te,A.props.children),R.return=_,_=R;break e}}else if(te.elementType===G||typeof G==\"object\"&&G!==null&&G.$$typeof===ll&&T2(G)===te.type){n(_,te.sibling),R=o(te,A.props),R.ref=Zv(_,te,A),R.return=_,_=R;break e}n(_,te);break}else t(_,te);te=te.sibling}A.type===Af?(R=$s(A.props.children,_.mode,F,A.key),R.return=_,_=R):(F=Ob(A.type,A.key,A.props,null,_.mode,F),F.ref=Zv(_,R,A),F.return=_,_=F)}return c(_);case kf:e:{for(te=A.key;R!==null;){if(R.key===te)if(R.tag===4&&R.stateNode.containerInfo===A.containerInfo&&R.stateNode.implementation===A.implementation){n(_,R.sibling),R=o(R,A.children||[]),R.return=_,_=R;break e}else{n(_,R);break}else t(_,R);R=R.sibling}R=rO(A,_.mode,F),R.return=_,_=R}return c(_);case ll:return te=A._init,I(_,R,te(A._payload),F)}if(ah(A))return k(_,R,A,F);if(Qv(A))return N(_,R,A,F);vb(_,A)}return typeof A==\"string\"&&A!==\"\"||typeof A==\"number\"?(A=\"\"+A,R!==null&&R.tag===6?(n(_,R.sibling),R=o(R,A),R.return=_,_=R):(n(_,R),R=tO(A,_.mode,F),R.return=_,_=R),c(_)):n(_,R)}return I}var Kf=ZU(!0),eF=ZU(!1),Lh={},Co=Cl(Lh),Oh=Cl(Lh),Th=Cl(Lh);function Bs(e){if(e===Lh)throw Error(ae(174));return e}function bT(e,t){switch(It(Th,t),It(Oh,e),It(Co,Lh),e=t.nodeType,e){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:dO(null,\"\");break;default:e=e===8?t.parentNode:t,t=e.namespaceURI||null,e=e.tagName,t=dO(t,e)}Qt(Co),It(Co,t)}function Xf(){Qt(Co),Qt(Oh),Qt(Th)}function tF(e){Bs(Th.current);var t=Bs(Co.current),n=dO(t,e.type);t!==n&&(It(Oh,e),It(Co,n))}function ST(e){Oh.current===e&&(Qt(Co),Qt(Oh))}var lr=Cl(0);function Vb(e){for(var t=e;t!==null;){if(t.tag===13){var n=t.memoizedState;if(n!==null&&(n=n.dehydrated,n===null||n.data===\"$?\"||n.data===\"$!\"))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!==void 0){if(t.flags&128)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 QR=[];function _T(){for(var e=0;en?n:4,e(!0);var i=KR.transition;KR.transition={};try{e(!1),t()}finally{kt=n,KR.transition=i}}function yF(){return ci().memoizedState}function KK(e,t,n){var i=Sl(e);if(n={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null},gF(e))bF(t,n);else if(n=QU(e,t,n,i),n!==null){var o=ta();qi(n,e,i,o),SF(n,t,i)}}function XK(e,t,n){var i=Sl(e),o={lane:i,action:n,hasEagerState:!1,eagerState:null,next:null};if(gF(e))bF(t,o);else{var l=e.alternate;if(e.lanes===0&&(l===null||l.lanes===0)&&(l=t.lastRenderedReducer,l!==null))try{var c=t.lastRenderedState,p=l(c,n);if(o.hasEagerState=!0,o.eagerState=p,Ii(p,c)){var v=t.interleaved;v===null?(o.next=o,yT(t)):(o.next=v.next,v.next=o),t.interleaved=o;return}}catch{}finally{}n=QU(e,t,o,i),n!==null&&(o=ta(),qi(n,e,i,o),SF(n,t,i))}}function gF(e){var t=e.alternate;return e===sr||t!==null&&t===sr}function bF(e,t){dh=$b=!0;var n=e.pending;n===null?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function SF(e,t,n){if(n&4194240){var i=t.lanes;i&=e.pendingLanes,n|=i,t.lanes=n,nT(e,n)}}var Wb={readContext:si,useCallback:Un,useContext:Un,useEffect:Un,useImperativeHandle:Un,useInsertionEffect:Un,useLayoutEffect:Un,useMemo:Un,useReducer:Un,useRef:Un,useState:Un,useDebugValue:Un,useDeferredValue:Un,useTransition:Un,useMutableSource:Un,useSyncExternalStore:Un,useId:Un,unstable_isNewReconciler:!1},JK={readContext:si,useCallback:function(e,t){return wo().memoizedState=[e,t===void 0?null:t],e},useContext:si,useEffect:A2,useImperativeHandle:function(e,t,n){return n=n!=null?n.concat([e]):null,xb(4194308,4,dF.bind(null,t,e),n)},useLayoutEffect:function(e,t){return xb(4194308,4,e,t)},useInsertionEffect:function(e,t){return xb(4,2,e,t)},useMemo:function(e,t){var n=wo();return t=t===void 0?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var i=wo();return t=n!==void 0?n(t):t,i.memoizedState=i.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},i.queue=e,e=e.dispatch=KK.bind(null,sr,e),[i.memoizedState,e]},useRef:function(e){var t=wo();return e={current:e},t.memoizedState=e},useState:k2,useDebugValue:RT,useDeferredValue:function(e){return wo().memoizedState=e},useTransition:function(){var e=k2(!1),t=e[0];return e=QK.bind(null,e[1]),wo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var i=sr,o=wo();if(tr){if(n===void 0)throw Error(ae(407));n=n()}else{if(n=t(),an===null)throw Error(ae(349));Gs&30||aF(i,t,n)}o.memoizedState=n;var l={value:n,getSnapshot:t};return o.queue=l,A2(oF.bind(null,i,l,e),[e]),i.flags|=2048,Mh(9,iF.bind(null,i,l,n,t),void 0,null),n},useId:function(){var e=wo(),t=an.identifierPrefix;if(tr){var n=cu,i=su;n=(i&~(1<<32-zi(i)-1)).toString(32)+n,t=\":\"+t+\"R\"+n,n=kh++,0\",e=e.removeChild(e.firstChild)):typeof i.is==\"string\"?e=c.createElement(n,{is:i.is}):(e=c.createElement(n),n===\"select\"&&(c=e,i.multiple?c.multiple=!0:i.size&&(c.size=i.size))):e=c.createElementNS(e,n),e[xo]=t,e[Rh]=i,kF(e,t,!1,!1),t.stateNode=e;e:{switch(c=vO(n,i),n){case\"dialog\":Gt(\"cancel\",e),Gt(\"close\",e),o=i;break;case\"iframe\":case\"object\":case\"embed\":Gt(\"load\",e),o=i;break;case\"video\":case\"audio\":for(o=0;oZf&&(t.flags|=128,i=!0,eh(l,!1),t.lanes=4194304)}else{if(!i)if(e=Vb(c),e!==null){if(t.flags|=128,i=!0,n=e.updateQueue,n!==null&&(t.updateQueue=n,t.flags|=4),eh(l,!0),l.tail===null&&l.tailMode===\"hidden\"&&!c.alternate&&!tr)return Fn(t),null}else 2*xr()-l.renderingStartTime>Zf&&n!==1073741824&&(t.flags|=128,i=!0,eh(l,!1),t.lanes=4194304);l.isBackwards?(c.sibling=t.child,t.child=c):(n=l.last,n!==null?n.sibling=c:t.child=c,l.last=c)}return l.tail!==null?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=xr(),t.sibling=null,n=lr.current,It(lr,i?n&1|2:n&1),t):(Fn(t),null);case 22:case 23:return PT(),i=t.memoizedState!==null,e!==null&&e.memoizedState!==null!==i&&(t.flags|=8192),i&&t.mode&1?Fa&1073741824&&(Fn(t),t.subtreeFlags&6&&(t.flags|=8192)):Fn(t),null;case 24:return null;case 25:return null}throw Error(ae(156,t.tag))}function oX(e,t){switch(dT(t),t.tag){case 1:return ba(t.type)&&Ub(),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return Xf(),Qt(ga),Qt(qn),_T(),e=t.flags,e&65536&&!(e&128)?(t.flags=e&-65537|128,t):null;case 5:return ST(t),null;case 13:if(Qt(lr),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ae(340));Qf()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return Qt(lr),null;case 4:return Xf(),null;case 10:return mT(t.type._context),null;case 22:case 23:return PT(),null;case 24:return null;default:return null}}var mb=!1,zn=!1,uX=typeof WeakSet==\"function\"?WeakSet:Set,Ee=null;function zf(e,t){var n=e.ref;if(n!==null)if(typeof n==\"function\")try{n(null)}catch(i){mr(e,t,i)}else n.current=null}function IO(e,t,n){try{n()}catch(i){mr(e,t,i)}}var z2=!1;function lX(e,t){if(EO=Db,e=jU(),cT(e)){if(\"selectionStart\"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var i=n.getSelection&&n.getSelection();if(i&&i.rangeCount!==0){n=i.anchorNode;var o=i.anchorOffset,l=i.focusNode;i=i.focusOffset;try{n.nodeType,l.nodeType}catch{n=null;break e}var c=0,p=-1,v=-1,m=0,S=0,w=e,C=null;t:for(;;){for(var T;w!==n||o!==0&&w.nodeType!==3||(p=c+o),w!==l||i!==0&&w.nodeType!==3||(v=c+i),w.nodeType===3&&(c+=w.nodeValue.length),(T=w.firstChild)!==null;)C=w,w=T;for(;;){if(w===e)break t;if(C===n&&++m===o&&(p=c),C===l&&++S===i&&(v=c),(T=w.nextSibling)!==null)break;w=C,C=w.parentNode}w=T}n=p===-1||v===-1?null:{start:p,end:v}}else n=null}n=n||{start:0,end:0}}else n=null;for(CO={focusedElem:e,selectionRange:n},Db=!1,Ee=t;Ee!==null;)if(t=Ee,e=t.child,(t.subtreeFlags&1028)!==0&&e!==null)e.return=t,Ee=e;else for(;Ee!==null;){t=Ee;try{var k=t.alternate;if(t.flags&1024)switch(t.tag){case 0:case 11:case 15:break;case 1:if(k!==null){var N=k.memoizedProps,I=k.memoizedState,_=t.stateNode,R=_.getSnapshotBeforeUpdate(t.elementType===t.type?N:Li(t.type,N),I);_.__reactInternalSnapshotBeforeUpdate=R}break;case 3:var A=t.stateNode.containerInfo;A.nodeType===1?A.textContent=\"\":A.nodeType===9&&A.documentElement&&A.removeChild(A.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(ae(163))}}catch(F){mr(t,t.return,F)}if(e=t.sibling,e!==null){e.return=t.return,Ee=e;break}Ee=t.return}return k=z2,z2=!1,k}function ph(e,t,n){var i=t.updateQueue;if(i=i!==null?i.lastEffect:null,i!==null){var o=i=i.next;do{if((o.tag&e)===e){var l=o.destroy;o.destroy=void 0,l!==void 0&&IO(t,n,l)}o=o.next}while(o!==i)}}function o0(e,t){if(t=t.updateQueue,t=t!==null?t.lastEffect:null,t!==null){var n=t=t.next;do{if((n.tag&e)===e){var i=n.create;n.destroy=i()}n=n.next}while(n!==t)}}function HO(e){var t=e.ref;if(t!==null){var n=e.stateNode;switch(e.tag){case 5:e=n;break;default:e=n}typeof t==\"function\"?t(e):t.current=e}}function PF(e){var t=e.alternate;t!==null&&(e.alternate=null,PF(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&(delete t[xo],delete t[Rh],delete t[TO],delete t[VK],delete t[$K])),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 DF(e){return e.tag===5||e.tag===3||e.tag===4}function q2(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||DF(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(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function BO(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.nodeType===8?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(n.nodeType===8?(t=n.parentNode,t.insertBefore(e,n)):(t=n,t.appendChild(e)),n=n._reactRootContainer,n!=null||t.onclick!==null||(t.onclick=Lb));else if(i!==4&&(e=e.child,e!==null))for(BO(e,t,n),e=e.sibling;e!==null;)BO(e,t,n),e=e.sibling}function VO(e,t,n){var i=e.tag;if(i===5||i===6)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(i!==4&&(e=e.child,e!==null))for(VO(e,t,n),e=e.sibling;e!==null;)VO(e,t,n),e=e.sibling}var _n=null,Ui=!1;function ul(e,t,n){for(n=n.child;n!==null;)NF(e,t,n),n=n.sibling}function NF(e,t,n){if(Eo&&typeof Eo.onCommitFiberUnmount==\"function\")try{Eo.onCommitFiberUnmount(Jb,n)}catch{}switch(n.tag){case 5:zn||zf(n,t);case 6:var i=_n,o=Ui;_n=null,ul(e,t,n),_n=i,Ui=o,_n!==null&&(Ui?(e=_n,n=n.stateNode,e.nodeType===8?e.parentNode.removeChild(n):e.removeChild(n)):_n.removeChild(n.stateNode));break;case 18:_n!==null&&(Ui?(e=_n,n=n.stateNode,e.nodeType===8?YR(e.parentNode,n):e.nodeType===1&&YR(e,n),_h(e)):YR(_n,n.stateNode));break;case 4:i=_n,o=Ui,_n=n.stateNode.containerInfo,Ui=!0,ul(e,t,n),_n=i,Ui=o;break;case 0:case 11:case 14:case 15:if(!zn&&(i=n.updateQueue,i!==null&&(i=i.lastEffect,i!==null))){o=i=i.next;do{var l=o,c=l.destroy;l=l.tag,c!==void 0&&(l&2||l&4)&&IO(n,t,c),o=o.next}while(o!==i)}ul(e,t,n);break;case 1:if(!zn&&(zf(n,t),i=n.stateNode,typeof i.componentWillUnmount==\"function\"))try{i.props=n.memoizedProps,i.state=n.memoizedState,i.componentWillUnmount()}catch(p){mr(n,t,p)}ul(e,t,n);break;case 21:ul(e,t,n);break;case 22:n.mode&1?(zn=(i=zn)||n.memoizedState!==null,ul(e,t,n),zn=i):ul(e,t,n);break;default:ul(e,t,n)}}function I2(e){var t=e.updateQueue;if(t!==null){e.updateQueue=null;var n=e.stateNode;n===null&&(n=e.stateNode=new uX),t.forEach(function(i){var o=yX.bind(null,e,i);n.has(i)||(n.add(i),i.then(o,o))})}}function ji(e,t){var n=t.deletions;if(n!==null)for(var i=0;io&&(o=c),i&=~l}if(i=o,i=xr()-i,i=(120>i?120:480>i?480:1080>i?1080:1920>i?1920:3e3>i?3e3:4320>i?4320:1960*cX(i/1960))-i,10e?16:e,pl===null)var i=!1;else{if(e=pl,pl=null,Qb=0,St&6)throw Error(ae(331));var o=St;for(St|=4,Ee=e.current;Ee!==null;){var l=Ee,c=l.child;if(Ee.flags&16){var p=l.deletions;if(p!==null){for(var v=0;vxr()-AT?Vs(e,0):kT|=n),Sa(e,t)}function HF(e,t){t===0&&(e.mode&1?(t=nb,nb<<=1,!(nb&130023424)&&(nb=4194304)):t=1);var n=ta();e=vu(e,t),e!==null&&(Dh(e,t,n),Sa(e,n))}function mX(e){var t=e.memoizedState,n=0;t!==null&&(n=t.retryLane),HF(e,n)}function yX(e,t){var n=0;switch(e.tag){case 13:var i=e.stateNode,o=e.memoizedState;o!==null&&(n=o.retryLane);break;case 19:i=e.stateNode;break;default:throw Error(ae(314))}i!==null&&i.delete(t),HF(e,n)}var BF;BF=function(e,t,n){if(e!==null)if(e.memoizedProps!==t.pendingProps||ga.current)ya=!0;else{if(!(e.lanes&n)&&!(t.flags&128))return ya=!1,aX(e,t,n);ya=!!(e.flags&131072)}else ya=!1,tr&&t.flags&1048576&&WU(t,qb,t.index);switch(t.lanes=0,t.tag){case 2:var i=t.type;Eb(e,t),e=t.pendingProps;var o=Gf(t,qn.current);$f(t,n),o=xT(null,t,i,e,o,n);var l=ET();return t.flags|=1,typeof o==\"object\"&&o!==null&&typeof o.render==\"function\"&&o.$$typeof===void 0?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ba(i)?(l=!0,Fb(t)):l=!1,t.memoizedState=o.state!==null&&o.state!==void 0?o.state:null,gT(t),o.updater=a0,t.stateNode=o,o._reactInternals=t,NO(t,i,e,n),t=UO(null,t,i,!0,l,n)):(t.tag=0,tr&&l&&fT(t),ea(null,t,o,n),t=t.child),t;case 16:i=t.elementType;e:{switch(Eb(e,t),e=t.pendingProps,o=i._init,i=o(i._payload),t.type=i,o=t.tag=bX(i),e=Li(i,e),o){case 0:t=LO(null,t,i,e,n);break e;case 1:t=L2(null,t,i,e,n);break e;case 11:t=N2(null,t,i,e,n);break e;case 14:t=j2(null,t,i,Li(i.type,e),n);break e}throw Error(ae(306,i,\"\"))}return t;case 0:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Li(i,o),LO(e,t,i,o,n);case 1:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Li(i,o),L2(e,t,i,o,n);case 3:e:{if(RF(t),e===null)throw Error(ae(387));i=t.pendingProps,l=t.memoizedState,o=l.element,KU(e,t),Bb(t,i,null,n);var c=t.memoizedState;if(i=c.element,l.isDehydrated)if(l={element:i,isDehydrated:!1,cache:c.cache,pendingSuspenseBoundaries:c.pendingSuspenseBoundaries,transitions:c.transitions},t.updateQueue.baseState=l,t.memoizedState=l,t.flags&256){o=Jf(Error(ae(423)),t),t=U2(e,t,i,n,o);break e}else if(i!==o){o=Jf(Error(ae(424)),t),t=U2(e,t,i,n,o);break e}else for(za=yl(t.stateNode.containerInfo.firstChild),qa=t,tr=!0,Fi=null,n=eF(t,null,i,n),t.child=n;n;)n.flags=n.flags&-3|4096,n=n.sibling;else{if(Qf(),i===o){t=hu(e,t,n);break e}ea(e,t,i,n)}t=t.child}return t;case 5:return tF(t),e===null&&MO(t),i=t.type,o=t.pendingProps,l=e!==null?e.memoizedProps:null,c=o.children,RO(i,o)?c=null:l!==null&&RO(i,l)&&(t.flags|=32),CF(e,t),ea(e,t,c,n),t.child;case 6:return e===null&&MO(t),null;case 13:return OF(e,t,n);case 4:return bT(t,t.stateNode.containerInfo),i=t.pendingProps,e===null?t.child=Kf(t,null,i,n):ea(e,t,i,n),t.child;case 11:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Li(i,o),N2(e,t,i,o,n);case 7:return ea(e,t,t.pendingProps,n),t.child;case 8:return ea(e,t,t.pendingProps.children,n),t.child;case 12:return ea(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(i=t.type._context,o=t.pendingProps,l=t.memoizedProps,c=o.value,It(Ib,i._currentValue),i._currentValue=c,l!==null)if(Ii(l.value,c)){if(l.children===o.children&&!ga.current){t=hu(e,t,n);break e}}else for(l=t.child,l!==null&&(l.return=t);l!==null;){var p=l.dependencies;if(p!==null){c=l.child;for(var v=p.firstContext;v!==null;){if(v.context===i){if(l.tag===1){v=fu(-1,n&-n),v.tag=2;var m=l.updateQueue;if(m!==null){m=m.shared;var S=m.pending;S===null?v.next=v:(v.next=S.next,S.next=v),m.pending=v}}l.lanes|=n,v=l.alternate,v!==null&&(v.lanes|=n),PO(l.return,n,t),p.lanes|=n;break}v=v.next}}else if(l.tag===10)c=l.type===t.type?null:l.child;else if(l.tag===18){if(c=l.return,c===null)throw Error(ae(341));c.lanes|=n,p=c.alternate,p!==null&&(p.lanes|=n),PO(c,n,t),c=l.sibling}else c=l.child;if(c!==null)c.return=l;else for(c=l;c!==null;){if(c===t){c=null;break}if(l=c.sibling,l!==null){l.return=c.return,c=l;break}c=c.return}l=c}ea(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,i=t.pendingProps.children,$f(t,n),o=si(o),i=i(o),t.flags|=1,ea(e,t,i,n),t.child;case 14:return i=t.type,o=Li(i,t.pendingProps),o=Li(i.type,o),j2(e,t,i,o,n);case 15:return xF(e,t,t.type,t.pendingProps,n);case 17:return i=t.type,o=t.pendingProps,o=t.elementType===i?o:Li(i,o),Eb(e,t),t.tag=1,ba(i)?(e=!0,Fb(t)):e=!1,$f(t,n),JU(t,i,o),NO(t,i,o,n),UO(null,t,i,!0,e,n);case 19:return TF(e,t,n);case 22:return EF(e,t,n)}throw Error(ae(156,t.tag))};function VF(e,t){return mU(e,t)}function gX(e,t,n,i){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=i,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ui(e,t,n,i){return new gX(e,t,n,i)}function NT(e){return e=e.prototype,!(!e||!e.isReactComponent)}function bX(e){if(typeof e==\"function\")return NT(e)?1:0;if(e!=null){if(e=e.$$typeof,e===ZO)return 11;if(e===eT)return 14}return 2}function _l(e,t){var n=e.alternate;return n===null?(n=ui(e.tag,t,e.key,e.mode),n.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=e.flags&14680064,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 Ob(e,t,n,i,o,l){var c=2;if(i=e,typeof e==\"function\")NT(e)&&(c=1);else if(typeof e==\"string\")c=5;else e:switch(e){case Af:return $s(n.children,o,l,t);case JO:c=8,o|=8;break;case aO:return e=ui(12,n,t,o|2),e.elementType=aO,e.lanes=l,e;case iO:return e=ui(13,n,t,o),e.elementType=iO,e.lanes=l,e;case oO:return e=ui(19,n,t,o),e.elementType=oO,e.lanes=l,e;case Z2:return l0(n,o,l,t);default:if(typeof e==\"object\"&&e!==null)switch(e.$$typeof){case X2:c=10;break e;case J2:c=9;break e;case ZO:c=11;break e;case eT:c=14;break e;case ll:c=16,i=null;break e}throw Error(ae(130,e==null?e:typeof e,\"\"))}return t=ui(c,n,t,o),t.elementType=e,t.type=i,t.lanes=l,t}function $s(e,t,n,i){return e=ui(7,e,i,t),e.lanes=n,e}function l0(e,t,n,i){return e=ui(22,e,i,t),e.elementType=Z2,e.lanes=n,e.stateNode={isHidden:!1},e}function tO(e,t,n){return e=ui(6,e,null,t),e.lanes=n,e}function rO(e,t,n){return t=ui(4,e.children!==null?e.children:[],e.key,t),t.lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function SX(e,t,n,i,o){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=zR(0),this.expirationTimes=zR(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=zR(0),this.identifierPrefix=i,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function jT(e,t,n,i,o,l,c,p,v){return e=new SX(e,t,n,p,v),t===1?(t=1,l===!0&&(t|=8)):t=0,l=ui(3,null,null,t),e.current=l,l.stateNode=e,l.memoizedState={element:i,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},gT(l),e}function _X(e,t,n){var i=3{\"use strict\";process.env.NODE_ENV!==\"production\"&&function(){\"use strict\";typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart==\"function\"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=ur(),t=NR(),n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,i=!1;function o(r){i=r}function l(r){if(!i){for(var a=arguments.length,u=new Array(a>1?a-1:0),s=1;s1?a-1:0),s=1;s2&&(r[0]===\"o\"||r[0]===\"O\")&&(r[1]===\"n\"||r[1]===\"N\")}function _e(r,a,u,s){if(u!==null&&u.type===Hn)return!1;switch(typeof a){case\"function\":case\"symbol\":return!0;case\"boolean\":{if(s)return!1;if(u!==null)return!u.acceptsBooleans;var f=r.toLowerCase().slice(0,5);return f!==\"data-\"&&f!==\"aria-\"}default:return!1}}function Me(r,a,u,s){if(a===null||typeof a>\"u\"||_e(r,a,u,s))return!0;if(s)return!1;if(u!==null)switch(u.type){case vr:return!a;case Bn:return a===!1;case Ta:return isNaN(a);case W:return isNaN(a)||a<1}return!1}function Ge(r){return We.hasOwnProperty(r)?We[r]:null}function Qe(r,a,u,s,f,d,h){this.acceptsBooleans=a===oa||a===vr||a===Bn,this.attributeName=s,this.attributeNamespace=f,this.mustUseProperty=u,this.propertyName=r,this.type=a,this.sanitizeURL=d,this.removeEmptyString=h}var We={},Ut=[\"children\",\"dangerouslySetInnerHTML\",\"defaultValue\",\"defaultChecked\",\"innerHTML\",\"suppressContentEditableWarning\",\"suppressHydrationWarning\",\"style\"];Ut.forEach(function(r){We[r]=new Qe(r,Hn,!1,r,null,!1,!1)}),[[\"acceptCharset\",\"accept-charset\"],[\"className\",\"class\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"]].forEach(function(r){var a=r[0],u=r[1];We[a]=new Qe(a,Dr,!1,u,null,!1,!1)}),[\"contentEditable\",\"draggable\",\"spellCheck\",\"value\"].forEach(function(r){We[r]=new Qe(r,oa,!1,r.toLowerCase(),null,!1,!1)}),[\"autoReverse\",\"externalResourcesRequired\",\"focusable\",\"preserveAlpha\"].forEach(function(r){We[r]=new Qe(r,oa,!1,r,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\"].forEach(function(r){We[r]=new Qe(r,vr,!1,r.toLowerCase(),null,!1,!1)}),[\"checked\",\"multiple\",\"muted\",\"selected\"].forEach(function(r){We[r]=new Qe(r,vr,!0,r,null,!1,!1)}),[\"capture\",\"download\"].forEach(function(r){We[r]=new Qe(r,Bn,!1,r,null,!1,!1)}),[\"cols\",\"rows\",\"size\",\"span\"].forEach(function(r){We[r]=new Qe(r,W,!1,r,null,!1,!1)}),[\"rowSpan\",\"start\"].forEach(function(r){We[r]=new Qe(r,Ta,!1,r.toLowerCase(),null,!1,!1)});var _r=/[\\-\\:]([a-z])/g,ka=function(r){return r[1].toUpperCase()};[\"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-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\"].forEach(function(r){var a=r.replace(_r,ka);We[a]=new Qe(a,Dr,!1,r,null,!1,!1)}),[\"xlink:actuate\",\"xlink:arcrole\",\"xlink:role\",\"xlink:show\",\"xlink:title\",\"xlink:type\"].forEach(function(r){var a=r.replace(_r,ka);We[a]=new Qe(a,Dr,!1,r,\"http://www.w3.org/1999/xlink\",!1,!1)}),[\"xml:base\",\"xml:lang\",\"xml:space\"].forEach(function(r){var a=r.replace(_r,ka);We[a]=new Qe(a,Dr,!1,r,\"http://www.w3.org/XML/1998/namespace\",!1,!1)}),[\"tabIndex\",\"crossOrigin\"].forEach(function(r){We[r]=new Qe(r,Dr,!1,r.toLowerCase(),null,!1,!1)});var to=\"xlinkHref\";We[to]=new Qe(\"xlinkHref\",Dr,!1,\"xlink:href\",\"http://www.w3.org/1999/xlink\",!0,!1),[\"src\",\"href\",\"action\",\"formAction\"].forEach(function(r){We[r]=new Qe(r,Dr,!1,r.toLowerCase(),null,!0,!0)});var ro=/^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*\\:/i,Cr=!1;function ua(r){!Cr&&ro.test(r)&&(Cr=!0,c(\"A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.\",JSON.stringify(r)))}function no(r,a,u,s){if(s.mustUseProperty){var f=s.propertyName;return r[f]}else{ar(u,a),s.sanitizeURL&&ua(\"\"+u);var d=s.attributeName,h=null;if(s.type===Bn){if(r.hasAttribute(d)){var y=r.getAttribute(d);return y===\"\"?!0:Me(a,u,s,!1)?y:y===\"\"+u?u:y}}else if(r.hasAttribute(d)){if(Me(a,u,s,!1))return r.getAttribute(d);if(s.type===vr)return u;h=r.getAttribute(d)}return Me(a,u,s,!1)?h===null?u:h:h===\"\"+u?u:h}}function ao(r,a,u,s){{if(!Ae(a))return;if(!r.hasAttribute(a))return u===void 0?void 0:null;var f=r.getAttribute(a);return ar(u,a),f===\"\"+u?u:f}}function Ga(r,a,u,s){var f=Ge(a);if(!ye(a,f,s)){if(Me(a,u,f,s)&&(u=null),s||f===null){if(Ae(a)){var d=a;u===null?r.removeAttribute(d):(ar(u,a),r.setAttribute(d,\"\"+u))}return}var h=f.mustUseProperty;if(h){var y=f.propertyName;if(u===null){var g=f.type;r[y]=g===vr?!1:\"\"}else r[y]=u;return}var E=f.attributeName,O=f.attributeNamespace;if(u===null)r.removeAttribute(E);else{var U=f.type,L;U===vr||U===Bn&&u===!0?L=\"\":(ar(u,E),L=\"\"+u,f.sanitizeURL&&ua(L.toString())),O?r.setAttributeNS(O,E,L):r.setAttribute(E,L)}}}var Vn=Symbol.for(\"react.element\"),vt=Symbol.for(\"react.portal\"),Zt=Symbol.for(\"react.fragment\"),$n=Symbol.for(\"react.strict_mode\"),P=Symbol.for(\"react.profiler\"),Q=Symbol.for(\"react.provider\"),le=Symbol.for(\"react.context\"),Ne=Symbol.for(\"react.forward_ref\"),Ze=Symbol.for(\"react.suspense\"),mt=Symbol.for(\"react.suspense_list\"),Xe=Symbol.for(\"react.memo\"),Le=Symbol.for(\"react.lazy\"),Nr=Symbol.for(\"react.scope\"),$t=Symbol.for(\"react.debug_trace_mode\"),Wt=Symbol.for(\"react.offscreen\"),kn=Symbol.for(\"react.legacy_hidden\"),io=Symbol.for(\"react.cache\"),wc=Symbol.for(\"react.tracing_marker\"),la=Symbol.iterator,ux=\"@@iterator\";function Lo(r){if(r===null||typeof r!=\"object\")return null;var a=la&&r[la]||r[ux];return typeof a==\"function\"?a:null}var Je=Object.assign,ku=0,ap,ip,op,up,lp,sp,cp;function Dm(){}Dm.__reactDisabledLog=!0;function lx(){{if(ku===0){ap=console.log,ip=console.info,op=console.warn,up=console.error,lp=console.group,sp=console.groupCollapsed,cp=console.groupEnd;var r={configurable:!0,enumerable:!0,value:Dm,writable:!0};Object.defineProperties(console,{info:r,log:r,warn:r,error:r,group:r,groupCollapsed:r,groupEnd:r})}ku++}}function fp(){{if(ku--,ku===0){var r={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Je({},r,{value:ap}),info:Je({},r,{value:ip}),warn:Je({},r,{value:op}),error:Je({},r,{value:up}),group:Je({},r,{value:lp}),groupCollapsed:Je({},r,{value:sp}),groupEnd:Je({},r,{value:cp})})}ku<0&&c(\"disabledDepth fell below zero. This is a bug in React. Please file an issue.\")}}var us=n.ReactCurrentDispatcher,Au;function Qa(r,a,u){{if(Au===void 0)try{throw Error()}catch(f){var s=f.stack.trim().match(/\\n( *(at )?)/);Au=s&&s[1]||\"\"}return`\n`+Au+r}}var Mu=!1,xc;{var Nm=typeof WeakMap==\"function\"?WeakMap:Map;xc=new Nm}function dp(r,a){if(!r||Mu)return\"\";{var u=xc.get(r);if(u!==void 0)return u}var s;Mu=!0;var f=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var d;d=us.current,us.current=null,lx();try{if(a){var h=function(){throw Error()};if(Object.defineProperty(h.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==\"object\"&&Reflect.construct){try{Reflect.construct(h,[])}catch(B){s=B}Reflect.construct(r,[],h)}else{try{h.call()}catch(B){s=B}r.call(h.prototype)}}else{try{throw Error()}catch(B){s=B}r()}}catch(B){if(B&&s&&typeof B.stack==\"string\"){for(var y=B.stack.split(`\n`),g=s.stack.split(`\n`),E=y.length-1,O=g.length-1;E>=1&&O>=0&&y[E]!==g[O];)O--;for(;E>=1&&O>=0;E--,O--)if(y[E]!==g[O]){if(E!==1||O!==1)do if(E--,O--,O<0||y[E]!==g[O]){var U=`\n`+y[E].replace(\" at new \",\" at \");return r.displayName&&U.includes(\"\")&&(U=U.replace(\"\",r.displayName)),typeof r==\"function\"&&xc.set(r,U),U}while(E>=1&&O>=0);break}}}finally{Mu=!1,us.current=d,fp(),Error.prepareStackTrace=f}var L=r?r.displayName||r.name:\"\",$=L?Qa(L):\"\";return typeof r==\"function\"&&xc.set(r,$),$}function sx(r,a,u){return dp(r,!0)}function Pu(r,a,u){return dp(r,!1)}function jm(r){var a=r.prototype;return!!(a&&a.isReactComponent)}function Ec(r,a,u){if(r==null)return\"\";if(typeof r==\"function\")return dp(r,jm(r));if(typeof r==\"string\")return Qa(r);switch(r){case Ze:return Qa(\"Suspense\");case mt:return Qa(\"SuspenseList\")}if(typeof r==\"object\")switch(r.$$typeof){case Ne:return Pu(r.render);case Xe:return Ec(r.type,a,u);case Le:{var s=r,f=s._payload,d=s._init;try{return Ec(d(f),a,u)}catch{}}}return\"\"}function Cc(r){var a=r._debugOwner?r._debugOwner.type:null,u=r._debugSource;switch(r.tag){case T:return Qa(r.type);case Se:return Qa(\"Lazy\");case G:return Qa(\"Suspense\");case dt:return Qa(\"SuspenseList\");case v:case S:case re:return Pu(r.type);case A:return Pu(r.type.render);case m:return sx(r.type);default:return\"\"}}function Lm(r){try{var a=\"\",u=r;do a+=Cc(u),u=u.return;while(u);return a}catch(s){return`\nError generating stack: `+s.message+`\n`+s.stack}}function Du(r,a,u){var s=r.displayName;if(s)return s;var f=a.displayName||a.name||\"\";return f!==\"\"?u+\"(\"+f+\")\":u}function Rc(r){return r.displayName||\"Context\"}function Tt(r){if(r==null)return null;if(typeof r.tag==\"number\"&&c(\"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue.\"),typeof r==\"function\")return r.displayName||r.name||null;if(typeof r==\"string\")return r;switch(r){case Zt:return\"Fragment\";case vt:return\"Portal\";case P:return\"Profiler\";case $n:return\"StrictMode\";case Ze:return\"Suspense\";case mt:return\"SuspenseList\"}if(typeof r==\"object\")switch(r.$$typeof){case le:var a=r;return Rc(a)+\".Consumer\";case Q:var u=r;return Rc(u._context)+\".Provider\";case Ne:return Du(r,r.render,\"ForwardRef\");case Xe:var s=r.displayName||null;return s!==null?s:Tt(r.type)||\"Memo\";case Le:{var f=r,d=f._payload,h=f._init;try{return Tt(h(d))}catch{return null}}}return null}function cx(r,a,u){var s=a.displayName||a.name||\"\";return r.displayName||(s!==\"\"?u+\"(\"+s+\")\":u)}function Um(r){return r.displayName||\"Context\"}function Ye(r){var a=r.tag,u=r.type;switch(a){case Re:return\"Cache\";case _:var s=u;return Um(s)+\".Consumer\";case R:var f=u;return Um(f._context)+\".Provider\";case De:return\"DehydratedFragment\";case A:return cx(u,u.render,\"ForwardRef\");case N:return\"Fragment\";case T:return u;case C:return\"Portal\";case w:return\"Root\";case k:return\"Text\";case Se:return Tt(u);case I:return u===$n?\"StrictMode\":\"Mode\";case Pe:return\"Offscreen\";case F:return\"Profiler\";case rt:return\"Scope\";case G:return\"Suspense\";case dt:return\"SuspenseList\";case Mt:return\"TracingMarker\";case m:case v:case we:case S:case te:case re:if(typeof u==\"function\")return u.displayName||u.name||null;if(typeof u==\"string\")return u;break}return null}var Fm=n.ReactDebugCurrentFrame,An=null,Nu=!1;function ju(){{if(An===null)return null;var r=An._debugOwner;if(r!==null&&typeof r<\"u\")return Ye(r)}return null}function fx(){return An===null?\"\":Lm(An)}function Jr(){Fm.getCurrentStack=null,An=null,Nu=!1}function er(r){Fm.getCurrentStack=r===null?null:fx,An=r,Nu=!1}function dx(){return An}function Ka(r){Nu=r}function sa(r){return\"\"+r}function bi(r){switch(typeof r){case\"boolean\":case\"number\":case\"string\":case\"undefined\":return r;case\"object\":return Sr(r),r;default:return\"\"}}var Oc={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function pp(r,a){Oc[a.type]||a.onChange||a.onInput||a.readOnly||a.disabled||a.value==null||c(\"You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`.\"),a.onChange||a.readOnly||a.disabled||a.checked==null||c(\"You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.\")}function Uo(r){var a=r.type,u=r.nodeName;return u&&u.toLowerCase()===\"input\"&&(a===\"checkbox\"||a===\"radio\")}function vp(r){return r._valueTracker}function px(r){r._valueTracker=null}function Tc(r){var a=\"\";return r&&(Uo(r)?a=r.checked?\"true\":\"false\":a=r.value),a}function hp(r){var a=Uo(r)?\"checked\":\"value\",u=Object.getOwnPropertyDescriptor(r.constructor.prototype,a);Sr(r[a]);var s=\"\"+r[a];if(!(r.hasOwnProperty(a)||typeof u>\"u\"||typeof u.get!=\"function\"||typeof u.set!=\"function\")){var f=u.get,d=u.set;Object.defineProperty(r,a,{configurable:!0,get:function(){return f.call(this)},set:function(y){Sr(y),s=\"\"+y,d.call(this,y)}}),Object.defineProperty(r,a,{enumerable:u.enumerable});var h={getValue:function(){return s},setValue:function(y){Sr(y),s=\"\"+y},stopTracking:function(){px(r),delete r[a]}};return h}}function Lu(r){vp(r)||(r._valueTracker=hp(r))}function kc(r){if(!r)return!1;var a=vp(r);if(!a)return!0;var u=a.getValue(),s=Tc(r);return s!==u?(a.setValue(s),!0):!1}function Ac(r){if(r=r||(typeof document<\"u\"?document:void 0),typeof r>\"u\")return null;try{return r.activeElement||r.body}catch{return r.body}}var zm=!1,qm=!1,Im=!1,b=!1;function D(r){var a=r.type===\"checkbox\"||r.type===\"radio\";return a?r.checked!=null:r.value!=null}function V(r,a){var u=r,s=a.checked,f=Je({},a,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:s??u._wrapperState.initialChecked});return f}function K(r,a){pp(\"input\",a),a.checked!==void 0&&a.defaultChecked!==void 0&&!qm&&(c(\"%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components\",ju()||\"A component\",a.type),qm=!0),a.value!==void 0&&a.defaultValue!==void 0&&!zm&&(c(\"%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components\",ju()||\"A component\",a.type),zm=!0);var u=r,s=a.defaultValue==null?\"\":a.defaultValue;u._wrapperState={initialChecked:a.checked!=null?a.checked:a.defaultChecked,initialValue:bi(a.value!=null?a.value:s),controlled:D(a)}}function oe(r,a){var u=r,s=a.checked;s!=null&&Ga(u,\"checked\",s,!1)}function Ue(r,a){var u=r;{var s=D(a);!u._wrapperState.controlled&&s&&!b&&(c(\"A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components\"),b=!0),u._wrapperState.controlled&&!s&&!Im&&(c(\"A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components\"),Im=!0)}oe(r,a);var f=bi(a.value),d=a.type;if(f!=null)d===\"number\"?(f===0&&u.value===\"\"||u.value!=f)&&(u.value=sa(f)):u.value!==sa(f)&&(u.value=sa(f));else if(d===\"submit\"||d===\"reset\"){u.removeAttribute(\"value\");return}a.hasOwnProperty(\"value\")?xt(u,a.type,f):a.hasOwnProperty(\"defaultValue\")&&xt(u,a.type,bi(a.defaultValue)),a.checked==null&&a.defaultChecked!=null&&(u.defaultChecked=!!a.defaultChecked)}function Ce(r,a,u){var s=r;if(a.hasOwnProperty(\"value\")||a.hasOwnProperty(\"defaultValue\")){var f=a.type,d=f===\"submit\"||f===\"reset\";if(d&&(a.value===void 0||a.value===null))return;var h=sa(s._wrapperState.initialValue);u||h!==s.value&&(s.value=h),s.defaultValue=h}var y=s.name;y!==\"\"&&(s.name=\"\"),s.defaultChecked=!s.defaultChecked,s.defaultChecked=!!s._wrapperState.initialChecked,y!==\"\"&&(s.name=y)}function $e(r,a){var u=r;Ue(u,a),ut(u,a)}function ut(r,a){var u=a.name;if(a.type===\"radio\"&&u!=null){for(var s=r;s.parentNode;)s=s.parentNode;ar(u,\"name\");for(var f=s.querySelectorAll(\"input[name=\"+JSON.stringify(\"\"+u)+'][type=\"radio\"]'),d=0;d.\")))}):a.dangerouslySetInnerHTML!=null&&(Ft||(Ft=!0,c(\"Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.\")))),a.selected!=null&&!Pt&&(c(\"Use the `defaultValue` or `value` props on must be a scalar value if `multiple` is false.%s\",u,Hm())}}}}function Fo(r,a,u,s){var f=r.options;if(a){for(var d=u,h={},y=0;y.\");var s=Je({},a,{value:void 0,defaultValue:void 0,children:sa(u._wrapperState.initialValue)});return s}function cM(r,a){var u=r;pp(\"textarea\",a),a.value!==void 0&&a.defaultValue!==void 0&&!sM&&(c(\"%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components\",ju()||\"A component\"),sM=!0);var s=a.value;if(s==null){var f=a.children,d=a.defaultValue;if(f!=null){c(\"Use the `defaultValue` or `value` props instead of setting children on