diff --git a/README.md b/README.md index 6f3c77a..15ad2eb 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ This plugin solves this issue by allowing you to: - How far you want to seek forward/back ## Usage -- Highlight a video url and use the 'Open Video Player' hotkey or press your designated hotkey to select a local video to play (no need to highlight text for local videos) +- Copy to clipboard or highlight a video url and use the 'Open Video Player' hotkey or press your designated hotkey to select a local video/audio file to play - Jot down notes and anytime you want to insert a timestamp, press the registered hotkey - Toggle pausing/playing the video by using hotkey (my default is option space) - Open videos at the timestamp you left off on (this is reset if plugin is disabled) @@ -40,7 +40,8 @@ This plugin should work with: - mixcloud - dailymotion - twitch -- local videos +- local videos/audios +- bilibili ## Demo @@ -51,7 +52,7 @@ https://user-images.githubusercontent.com/39292521/167230491-f5439a62-a3f7-445c- 1. Inserting timestamps into a bulleted section does not work. Unfortunately, code-blocks cannot be in-line with text. Make sure to press enter/insert the timestamp on a new line. 2. If you decide to change the colors of your buttons/text, any old buttons/text will not update with the new colors until you reload the app. You can also click the '<>' when hovering over the code-block and it will refresh with the new colors. 3. If your timestamp/video button dont work, simply switch between live-editing and viewing modes. -4. Local videos currently cannot generate buttons. It's probably doable, but I couldn't find a way to make it work without glitching. + ## Other Authors diff --git a/esbuild.config.mjs b/esbuild.config.mjs index f1fe201..253d3aa 100644 --- a/esbuild.config.mjs +++ b/esbuild.config.mjs @@ -49,4 +49,5 @@ esbuild.build({ sourcemap: prod ? false : 'inline', treeShaking: true, outfile: 'main.js', + platform: "node" }).catch(() => process.exit(1)); diff --git a/handlers/bilibili.ts b/handlers/bilibili.ts new file mode 100644 index 0000000..52a7459 --- /dev/null +++ b/handlers/bilibili.ts @@ -0,0 +1,293 @@ +import { Application } from "express"; +import { createProxyMiddleware } from "http-proxy-middleware"; +import { Options } from "http-proxy-middleware/dist/types"; +import * as https from "https"; +import { PORT, HOST } from "./server"; +import xml from "xml"; + +const biliUrlPattern = /(bilibili\.com\/(video\/)?(((av\d{8})|(bv[A-Za-z0-9}]{10}))(\?|\/)?))|(b23\.tv\/([A-Za-z0-9]{6}|[A-Za-z0-9]{12})$)/i; + +var dashBaseUrlRoute = "biliRedirect"; +var mpdRoute = "biligetmpd"; +var biliSubRoute = "bilisubtovtt"; + +export function isBiliUrl(url: string) { + if (biliUrlPattern.test(url)) { + return true; + } else { + return false; + } +} + +function redirect_b23(url: string) { + return new Promise((resolve) => { + https.get((/^(https|http):\/\//.test(url) ? "" : "https://") + url, { method: "HEAD" }, async (res) => { + resolve(res.headers.location); + }); + }); +} + +// https://github.com/1015770492/bilibili-download/blob/master/doc/bilibili-Api%E6%96%87%E6%A1%A3.md +export function getBiliInfo(url: string) { + return new Promise<{ url: string; subtitles: object[] }>(async (res) => { + if (/b23\.tv\/([A-Za-z0-9]{6})/.test(url)) { + url = (await redirect_b23(url)).toString(); + } + + var api_view_params; + if (url.match(/\/bv[A-Za-z0-9}]{10}/gi)) { + api_view_params = { bvid: url.match(/\/bv[A-Za-z0-9}]{10}/gi)[0].slice(1) }; + } else if (url.match(/\/av\d{8}/gi)) { + api_view_params = { aid: url.match(/\/av\d{8}/gi)[0].slice(3) }; + } + var page_number = url.match(/(?<=\?p=)\d+/i)?.[0] || "1"; + + var api_view_url = "https://api.bilibili.com/x/web-interface/view"; + var cid_res = await (await fetch(biliUrlProxy(`${api_view_url}?${new URLSearchParams(api_view_params)}`))).json(); + + var page = cid_res.data.pages.find((p: any) => p.page == page_number); + var cid = page.cid; + + var params = { bvid: api_view_params.bvid || cid_res.data.bvid, cid: cid }; + + var subtitles: any[] = []; + var subArr: any[]; + if (page_number !== "1") { + var new_res = await (await fetch(biliUrlProxy(`${api_view_url}?${new URLSearchParams(params)}`))).json(); + subArr = new_res.data.subtitle.list; + } else { + subArr = cid_res.data.subtitle.list; + } + subArr.forEach((sub, i) => { + subtitles.push({ + kind: "subtitles", + src: `http://${HOST}:${PORT}/${biliSubRoute}/subtitle_url=${sub.subtitle_url}`, + srcLang: sub.lan, + label: sub.lan, + default: i == 0 ? true : false, + }); + }); + + res({ + url: `http://${HOST}:${PORT}/${mpdRoute}/${new URLSearchParams(params)}.mpd`, + subtitles: subtitles, + }); + }); +} + +var biliUrlProxy = (url: string) => { + return `http://${HOST}:${PORT}/${dashBaseUrlRoute}/` + new URL(url).host + new URL(url).pathname + new URL(url).search; +}; + +function getDash(params: object) { + return new Promise(async (res) => { + const api_playurl_url = "https://api.bilibili.com/x/player/playurl"; + var api_playurl_params = { + ...params, + fnval: "16", + qn: "64", + fnver: "0", + fourk: "1", + }; + + + var dash_res = await (await fetch(biliUrlProxy(`${api_playurl_url}?${new URLSearchParams(api_playurl_params)}`))).json(); + var dash = dash_res.data.dash; + + var video = []; + var audio = []; + + for (const key in dash.video) { + if (Object.hasOwnProperty.call(dash.video, key) && dash.video[key].codecs.startsWith("av")) { + const e = dash.video[key]; + var video_xml_obj = { + Representation: [ + { + _attr: { + id: e.id, + bandwidth: e.bandwidth, + mimeType: e.mimeType, + codecs: e.codecs, + width: e.width, + height: e.height, + frameRate: e.frameRate, + sar: e.sar, + startWithSap: e.startWithSap, + codecid: e.codecid, + }, + }, + { + BaseURL: biliUrlProxy(e.baseUrl), + }, + { + SegmentBase: [ + { + _attr: { + indexRange: e.SegmentBase.indexRange, + Initialization: e.SegmentBase.Initialization, + }, + }, + ], + }, + ], + }; + video.push(video_xml_obj); + } + } + for (const key in dash.audio) { + if (Object.hasOwnProperty.call(dash.audio, key)) { + const e = dash.audio[key]; + + var audio_xml_obj = { + Representation: [ + { + _attr: { + id: e.id, + bandwidth: e.bandwidth, + mimeType: e.mimeType, + codecs: e.codecs, + startWithSap: e.startWithSap, + codecid: e.codecid, + }, + }, + { + BaseURL: biliUrlProxy(e.baseUrl), + }, + { + SegmentBase: [ + { + _attr: { + indexRange: e.SegmentBase.indexRange, + Initialization: e.SegmentBase.Initialization, + }, + }, + ], + }, + ], + }; + audio.push(audio_xml_obj); + } + } + var xmlArr = [ + { + MPD: [ + { + _attr: { + xmlns: "urn:mpeg:dash:schema:mpd:2011", + profiles: "urn:mpeg:dash:profile:isoff-on-demand:2011,http://dashif.org/guidelines/dash264", + type: "static", + minBufferTime: `PT${dash.minBufferTime}S`, + mediaPresentationDuration: `PT${dash.duration}S`, + }, + }, + { + Period: [ + { + _attr: { + duration: `PT${dash.duration}S`, + }, + }, + { + AdaptationSet: [ + { + _attr: { + contentType: "video", + bitstreamSwitching: "true", + }, + }, + ...video, + ], + }, + { + AdaptationSet: [ + { + _attr: { + contentType: "audio", + bitstreamSwitching: "true", + }, + }, + ...audio, + ], + }, + ], + }, + ], + }, + ]; + var xml_ = xml(xmlArr, true); + res(xml_); + }); +} + +// https://github.com/aidenlx/mx-bili-plugin/blob/master/src/fake-bili/proxy/fake.ts +export function biliRedirects(app: Application) { + var user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0"; + + const options: Options = { + target: "http://www.example.org", + changeOrigin: true, + ws: true, + pathRewrite: { + [`^/${dashBaseUrlRoute}/.+?/`]: "/", + }, + router: (req) => { + return "https://" + req.params.host; + }, + onProxyReq: (proxyReq) => { + proxyReq.setHeader("user-agent", user_agent); + proxyReq.setHeader("referer", "https://www.bilibili.com/"); + proxyReq.setHeader("origin", "https://www.bilibili.com/"); + }, + onProxyRes: (proxyRes) => { + proxyRes.headers["Access-Control-Allow-Origin"] = "*"; + }, + }; + + app.use(`/${dashBaseUrlRoute}/:host`, createProxyMiddleware(options)); + + app.get(`/${mpdRoute}/*`, async (req, res, next) => { + var params: any = decodeURI(req.url.split(`/${mpdRoute}/`)[1]).slice(0, -4); + params = Object.fromEntries(new URLSearchParams(params)); + var mpd = await getDash(params); + res.writeHead(200, { + "Content-Type": "application/dash+xml", + "Access-Control-Allow-Origin": "*", + }); + res.end(mpd); + }); + + app.get(`/${biliSubRoute}/*`, async function (req, res) { + var params: any = decodeURI(req.url.split(`/${biliSubRoute}/`)[1]); + params = Object.fromEntries(new URLSearchParams(params)); + + var sub_url = params.subtitle_url; + if (!params.subtitle_url) { + var params_str = new URLSearchParams((({ index, ...o }) => o)(params)).toString(); + + var api_view_url = "https://api.bilibili.com/x/web-interface/view"; + var fetch_url = biliUrlProxy(`${api_view_url}?${params_str}`); + var list_res = await (await fetch(fetch_url)).json(); + + sub_url = list_res.data.subtitle.list[params.index].subtitle_url; + } + + + var str = ""; + var subjson = (await (await fetch(sub_url)).json()).body; + for (let i = 0; i < subjson.length; i++) { + const sub = subjson[i]; + var fromtime = new Date(sub.from * 1000).toISOString().slice(11, 23); + var totime = new Date(sub.to * 1000).toISOString().slice(11, 23); + str += `${i + 1}\n`; + str += `${fromtime} --> ${totime}\n`; + str += `${sub.content}\n\n`; + } + var vtt = "WEBVTT FILE\r\n\r\n" + str; + const headers = { + "Content-Type": "text/vtt", + "Access-Control-Allow-Origin": "*", + }; + res.writeHead(200, headers); + res.end(vtt); + }); +} diff --git a/handlers/misc.ts b/handlers/misc.ts new file mode 100644 index 0000000..cbbf89e --- /dev/null +++ b/handlers/misc.ts @@ -0,0 +1,77 @@ +import * as fs from "fs"; +import ReactPlayer from "react-player"; + +export function cleanUrl(url: string) { + var urlregex = new RegExp( + /((https:\/\/www\.|http:\/\/www\.|https:\/\/|http:\/\/)?[a-zA-Z]{2,}(\.[a-zA-Z]{2,})(\.[a-zA-Z]{2,})?\/[a-zA-Z0-9]{2,}|((https:\/\/www\.|http:\/\/www\.|https:\/\/|http:\/\/)?[a-zA-Z]{2,}(\.[a-zA-Z]{2,})(\.[a-zA-Z]{2,})?)|(https:\/\/www\.|http:\/\/www\.|https:\/\/|http:\/\/)?[a-zA-Z0-9]{2,}\.[a-zA-Z0-9]{2,}\.[a-zA-Z0-9]{2,}(\.[a-zA-Z0-9]{2,})|http:\/\/127\.0\.0\.1:[0-9]|http:\/\/localhost:[0-9])[^\s]+/gi + ); + if (url.match(urlregex)) { + url = url.match(urlregex)[0].toString(); + url = /^[https|http]/.test(url) ? url : "https://" + url; + } + return url; +} + +export function isLocalFile(path: fs.PathLike) { + var cleanpath = path.toString().replace(/^\"(.+)\"$/, "$1"); // for removing quotes from links copied via "copy as path" in windows + if (fs.existsSync(cleanpath)) { + return true; + } else { + return false; + } +} +export function isSameVideo(reactplayer: any, lastLine: string) { + if (!reactplayer) return false; + + lastLine = lastLine.toString().replace(/^\"(.+)\"$/, "$1"); + var url = reactplayer?.props?.main_url || reactplayer?.props?.url; + if (!url) return false; + if (url.includes(lastLine) || lastLine.includes(url)) { + return true; + } + + var player = reactplayer.getInternalPlayer(); + + // youtube id + if (player?.playerInfo) { + if (lastLine.includes(player.playerInfo?.videoData?.video_id)) { + return true; + } + } + + // bilibili id + var bilipattern = /(b23\.tv|bilibili\.com)\/(video\/)?(av\d{8}|bv[A-Za-z0-9}]{10}|[A-Za-z0-9]{6})/i; + var bili_id = url.match(bilipattern)?.pop(); + if (bilipattern.test(url) && bilipattern.test(lastLine) && lastLine.includes(bili_id)) { + if (/\?p=\d+/i.test(url) && !lastLine.includes(url.match(/\?p=\d+/i)?.[0])) { + return false; + } else { + return true; + } + } + + var same = false; + var patterns = [ + // node_modules/react-player/lazy/patterns.js + /vimeo\.com\/(?!progressive_redirect).+/, + /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch|story)(\.php?|\/).+$/, + /^https?:\/\/fb\.watch\/.+$/, + /streamable\.com\/([a-z0-9]+)$/, + /(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?(.*)$/, + /(?:www\.|go\.)?twitch\.tv\/videos\/(\d+)($|\?)/, + /(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+)($|\?)/, + /^(?:(?:https?):)?(?:\/\/)?(?:www\.)?(?:(?:dailymotion\.com(?:\/embed)?\/video)|dai\.ly)\/([a-zA-Z0-9]+)(?:_[\w_-]+)?$/, + /mixcloud\.com\/([^/]+\/[^/]+)/, + /vidyard.com\/(?:watch\/)?([a-zA-Z0-9-_]+)/, + /^https?:\/\/[a-zA-Z]+\.kaltura.(com|org)\/p\/([0-9]+)\/sp\/([0-9]+)00\/embedIframeJs\/uiconf_id\/([0-9]+)\/partner_id\/([0-9]+)(.*)entry_id.([a-zA-Z0-9-_].*)$/, + //https://gist.github.com/TrevorJTClarke/a14c37db3c11ee23a700 + /https?:\/\/(?:w\.|www\.|)(?:soundcloud\.com\/)(?:(?:player\/\?url=https\%3A\/\/api.soundcloud.com\/tracks\/)|)(((\w|-)[^A-z]{7})|([A-Za-z0-9]+(?:[-_][A-Za-z0-9]+)*(?!\/sets(?:\/|$))(?:\/[A-Za-z0-9]+(?:[-_][A-Za-z0-9]+)*){1,2}))/, + ]; + patterns.forEach((pattern) => { + var id = url.match(pattern)?.[1] || null; + if (pattern.test(lastLine) && new RegExp(id).test(lastLine)) { + same = true; + } + }); + return same; +} diff --git a/handlers/server.ts b/handlers/server.ts new file mode 100644 index 0000000..b35ab21 --- /dev/null +++ b/handlers/server.ts @@ -0,0 +1,122 @@ +import express from "express"; +import * as fs from "fs"; +import * as mime from "mime-types"; +import { Notice } from "obsidian"; +import * as http from "http"; +import { AddressInfo } from "node:net"; +import languageEncoding from "detect-file-encoding-and-language"; +import { biliRedirects } from "./bilibili"; + +export var server: http.Server = undefined; +export var PORT: number; +export var HOST = "127.0.0.1"; + +var localVideoRoute = "localvideo"; +var subtitleRoute = "subtitles"; + +export function localVideoRedirect(url: string) { + url = url.toString().replace(/^\"(.+)\"$/, "$1"); + return `http://${HOST}:${PORT}/${localVideoRoute}/${url}`; +} + +export function subtitleRedirect(url: string) { + url = url.toString().replace(/^\"(.+)\"$/, "$1"); + return `http://${HOST}:${PORT}/${subtitleRoute}/${url}`; +} + +async function checkPort(port: number) { + if (0 > port || port > 65536) return false; + + return new Promise((resolve) => { + var req = http.get(`http://127.0.0.1:${port}`, function (res) { + if (res.statusCode != 400) { + resolve(null); + } + }); + req.on("error", function (e) { + resolve(port); + }); + }); +} + +export function startServer(port_: any) { + return new Promise(async (res) => { + var app: express.Application = express(); + server = app.listen(await checkPort(port_), function () { + var server_adress = server.address() as AddressInfo; + PORT = server_adress.port; + console.log(`Port ${PORT} listening`); + new Notice(port_ ? `Local server started on Port ${port_}` : `Port ${port_} is already used, local server started at port ${PORT}`); + res(server); + }); + + app.get(`/${localVideoRoute}/*`, function (req, res) { + // https://blog.logrocket.com/build-video-streaming-server-node/ + var path = decodeURI(req.url.split(`/${localVideoRoute}/`)[1]).replace(/^\"(.+)\"$/, "$1"); + var range = req.headers.range; + + if (!range) { + range = "bytes=0-"; + } + const videoSize = fs.statSync(path).size; + + const CHUNK_SIZE = 10 ** 6 * 4; // 4MB + const start = Number(range.replace(/\D/g, "")); + const end = Math.min(start + CHUNK_SIZE, videoSize - 1); + + // Create headers + const contentLength = end - start + 1; + const headers = { + "Content-Range": `bytes ${start}-${end}/${videoSize}`, + "Accept-Ranges": "bytes", + "Content-Length": contentLength, + "Content-Type": mime.lookup(path) || "video/mp4", + "Access-Control-Allow-Origin": "*", + // "Access-Control-Allow-Origin": "app://obsidian.md", + }; + + // HTTP Status 206 for Partial Content + res.writeHead(206, headers); + + // create video read stream for this particular chunk + const videoStream = fs.createReadStream(path, { start, end }); + + // Stream the video chunk to the client + videoStream.pipe(res); + }); + + app.get(`/${subtitleRoute}/*`, async function (req, res) { + var path = decodeURI(req.url.split(`/${subtitleRoute}/`)[1]).replace(/^\"(.+)\"$/, "$1"); + var srt_ = fs.readFileSync(path); + var encoding = (await languageEncoding(path)).encoding; + let decoder = new TextDecoder(encoding); // default 'utf-8' or 'utf8' + var srt = decoder.decode(srt_); + var vtt; + if (path.endsWith(".srt")) { + // https://github.com/mafintosh/srt-to-vtt/blob/8b0e4bac28f18694e741949c50a8cbf73cd7bb6e/index.js#L9 + vtt = + "WEBVTT FILE\r\n\r\n" + + srt + .replace(/\{\\([ibu])\}/g, "") + .replace(/\{\\([ibu])1\}/g, "<$1>") + .replace(/\{([ibu])\}/g, "<$1>") + .replace(/\{\/([ibu])\}/g, "") + .replace(/(\d\d:\d\d:\d\d),(\d\d\d)/g, "$1.$2") + .replace(/(\d\d:\d\d:\d\d\.\d\d\d --> \d\d:\d\d:\d\d\.\d\d\d)/g, "$1 align:middle line:90%") // for using with audio player + .concat("\r\n\r\n"); + } else if (path.endsWith(".vtt")) { + vtt = srt; + } + + const headers = { + "Content-Type": "text/vtt", + "Access-Control-Allow-Origin": "*", + }; + res.writeHead(200, headers); + res.end(vtt); + }); + + biliRedirects(app); + + }); +} diff --git a/main.js b/main.js index 1daf98d..61c99c8 100644 --- a/main.js +++ b/main.js @@ -27,6 +27,18 @@ var __spreadValues = (a, b) => { }; var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b)); var __markAsModule = (target) => __defProp(target, "__esModule", { value: true }); +var __objRest = (source, exclude) => { + var target = {}; + for (var prop in source) + if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0) + target[prop] = source[prop]; + if (source != null && __getOwnPropSymbols) + for (var prop of __getOwnPropSymbols(source)) { + if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop)) + target[prop] = source[prop]; + } + return target; +}; var __commonJS = (cb, mod) => function __require() { return mod || (0, cb[Object.keys(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; @@ -67,17 +79,319 @@ var __async = (__this, __arguments, generator) => { }); }; +// node_modules/react/cjs/react.production.min.js +var require_react_production_min = __commonJS({ + "node_modules/react/cjs/react.production.min.js"(exports) { + "use strict"; + var l = Symbol.for("react.element"); + var n = Symbol.for("react.portal"); + var p = Symbol.for("react.fragment"); + var q = Symbol.for("react.strict_mode"); + var r = Symbol.for("react.profiler"); + var t = Symbol.for("react.provider"); + var u = Symbol.for("react.context"); + var v = Symbol.for("react.forward_ref"); + var w = Symbol.for("react.suspense"); + var x = Symbol.for("react.memo"); + var y = Symbol.for("react.lazy"); + var z = Symbol.iterator; + function A(a) { + if (a === null || typeof a !== "object") + return null; + a = z && a[z] || a["@@iterator"]; + return typeof a === "function" ? a : null; + } + var B = { isMounted: function() { + return false; + }, enqueueForceUpdate: function() { + }, enqueueReplaceState: function() { + }, enqueueSetState: function() { + } }; + var C = Object.assign; + var D = {}; + function E(a, b, e) { + this.props = a; + this.context = b; + this.refs = D; + this.updater = e || B; + } + E.prototype.isReactComponent = {}; + E.prototype.setState = function(a, b) { + if (typeof a !== "object" && typeof a !== "function" && a != 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, a, b, "setState"); + }; + E.prototype.forceUpdate = function(a) { + this.updater.enqueueForceUpdate(this, a, "forceUpdate"); + }; + function F() { + } + F.prototype = E.prototype; + function G(a, b, e) { + this.props = a; + this.context = b; + this.refs = D; + this.updater = e || B; + } + var H = G.prototype = new F(); + H.constructor = G; + C(H, E.prototype); + H.isPureReactComponent = true; + var I = Array.isArray; + var J = Object.prototype.hasOwnProperty; + var K = { current: null }; + var L = { key: true, ref: true, __self: true, __source: true }; + function M(a, b, e) { + var d, c = {}, k = null, h = null; + if (b != null) + for (d in b.ref !== void 0 && (h = b.ref), b.key !== void 0 && (k = "" + b.key), b) + J.call(b, d) && !L.hasOwnProperty(d) && (c[d] = b[d]); + var g = arguments.length - 2; + if (g === 1) + c.children = e; + else if (1 < g) { + for (var f = Array(g), m = 0; m < g; m++) + f[m] = arguments[m + 2]; + c.children = f; + } + if (a && a.defaultProps) + for (d in g = a.defaultProps, g) + c[d] === void 0 && (c[d] = g[d]); + return { $$typeof: l, type: a, key: k, ref: h, props: c, _owner: K.current }; + } + function N(a, b) { + return { $$typeof: l, type: a.type, key: b, ref: a.ref, props: a.props, _owner: a._owner }; + } + function O(a) { + return typeof a === "object" && a !== null && a.$$typeof === l; + } + function escape2(a) { + var b = { "=": "=0", ":": "=2" }; + return "$" + a.replace(/[=:]/g, function(a2) { + return b[a2]; + }); + } + var P = /\/+/g; + function Q(a, b) { + return typeof a === "object" && a !== null && a.key != null ? escape2("" + a.key) : b.toString(36); + } + function R(a, b, e, d, c) { + var k = typeof a; + if (k === "undefined" || k === "boolean") + a = null; + var h = false; + if (a === null) + h = true; + else + switch (k) { + case "string": + case "number": + h = true; + break; + case "object": + switch (a.$$typeof) { + case l: + case n: + h = true; + } + } + if (h) + return h = a, c = c(h), a = d === "" ? "." + Q(h, 0) : d, I(c) ? (e = "", a != null && (e = a.replace(P, "$&/") + "/"), R(c, b, e, "", function(a2) { + return a2; + })) : c != null && (O(c) && (c = N(c, e + (!c.key || h && h.key === c.key ? "" : ("" + c.key).replace(P, "$&/") + "/") + a)), b.push(c)), 1; + h = 0; + d = d === "" ? "." : d + ":"; + if (I(a)) + for (var g = 0; g < a.length; g++) { + k = a[g]; + var f = d + Q(k, g); + h += R(k, b, e, f, c); + } + else if (f = A(a), typeof f === "function") + for (a = f.call(a), g = 0; !(k = a.next()).done; ) + k = k.value, f = d + Q(k, g++), h += R(k, b, e, f, c); + else if (k === "object") + throw b = String(a), Error("Objects are not valid as a React child (found: " + (b === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : b) + "). If you meant to render a collection of children, use an array instead."); + return h; + } + function S(a, b, e) { + if (a == null) + return a; + var d = [], c = 0; + R(a, d, "", "", function(a2) { + return b.call(e, a2, c++); + }); + return d; + } + function T(a) { + if (a._status === -1) { + var b = a._result; + b = b(); + b.then(function(b2) { + if (a._status === 0 || a._status === -1) + a._status = 1, a._result = b2; + }, function(b2) { + if (a._status === 0 || a._status === -1) + a._status = 2, a._result = b2; + }); + a._status === -1 && (a._status = 0, a._result = b); + } + if (a._status === 1) + return a._result.default; + throw a._result; + } + var U = { current: null }; + var V = { transition: null }; + var W = { ReactCurrentDispatcher: U, ReactCurrentBatchConfig: V, ReactCurrentOwner: K }; + exports.Children = { map: S, forEach: function(a, b, e) { + S(a, function() { + b.apply(this, arguments); + }, e); + }, count: function(a) { + var b = 0; + S(a, function() { + b++; + }); + return b; + }, toArray: function(a) { + return S(a, function(a2) { + return a2; + }) || []; + }, only: function(a) { + if (!O(a)) + throw Error("React.Children.only expected to receive a single React element child."); + return a; + } }; + exports.Component = E; + exports.Fragment = p; + exports.Profiler = r; + exports.PureComponent = G; + exports.StrictMode = q; + exports.Suspense = w; + exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = W; + exports.cloneElement = function(a, b, e) { + if (a === null || a === void 0) + throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + a + "."); + var d = C({}, a.props), c = a.key, k = a.ref, h = a._owner; + if (b != null) { + b.ref !== void 0 && (k = b.ref, h = K.current); + b.key !== void 0 && (c = "" + b.key); + if (a.type && a.type.defaultProps) + var g = a.type.defaultProps; + for (f in b) + J.call(b, f) && !L.hasOwnProperty(f) && (d[f] = b[f] === void 0 && g !== void 0 ? g[f] : b[f]); + } + var f = arguments.length - 2; + if (f === 1) + d.children = e; + else if (1 < f) { + g = Array(f); + for (var m = 0; m < f; m++) + g[m] = arguments[m + 2]; + d.children = g; + } + return { $$typeof: l, type: a.type, key: c, ref: k, props: d, _owner: h }; + }; + exports.createContext = function(a) { + a = { $$typeof: u, _currentValue: a, _currentValue2: a, _threadCount: 0, Provider: null, Consumer: null, _defaultValue: null, _globalName: null }; + a.Provider = { $$typeof: t, _context: a }; + return a.Consumer = a; + }; + exports.createElement = M; + exports.createFactory = function(a) { + var b = M.bind(null, a); + b.type = a; + return b; + }; + exports.createRef = function() { + return { current: null }; + }; + exports.forwardRef = function(a) { + return { $$typeof: v, render: a }; + }; + exports.isValidElement = O; + exports.lazy = function(a) { + return { $$typeof: y, _payload: { _status: -1, _result: a }, _init: T }; + }; + exports.memo = function(a, b) { + return { $$typeof: x, type: a, compare: b === void 0 ? null : b }; + }; + exports.startTransition = function(a) { + var b = V.transition; + V.transition = {}; + try { + a(); + } finally { + V.transition = b; + } + }; + exports.unstable_act = function() { + throw Error("act(...) is not supported in production builds of React."); + }; + exports.useCallback = function(a, b) { + return U.current.useCallback(a, b); + }; + exports.useContext = function(a) { + return U.current.useContext(a); + }; + exports.useDebugValue = function() { + }; + exports.useDeferredValue = function(a) { + return U.current.useDeferredValue(a); + }; + exports.useEffect = function(a, b) { + return U.current.useEffect(a, b); + }; + exports.useId = function() { + return U.current.useId(); + }; + exports.useImperativeHandle = function(a, b, e) { + return U.current.useImperativeHandle(a, b, e); + }; + exports.useInsertionEffect = function(a, b) { + return U.current.useInsertionEffect(a, b); + }; + exports.useLayoutEffect = function(a, b) { + return U.current.useLayoutEffect(a, b); + }; + exports.useMemo = function(a, b) { + return U.current.useMemo(a, b); + }; + exports.useReducer = function(a, b, e) { + return U.current.useReducer(a, b, e); + }; + exports.useRef = function(a) { + return U.current.useRef(a); + }; + exports.useState = function(a) { + return U.current.useState(a); + }; + exports.useSyncExternalStore = function(a, b, e) { + return U.current.useSyncExternalStore(a, b, e); + }; + exports.useTransition = function() { + return U.current.useTransition(); + }; + exports.version = "18.1.0"; + } +}); + // node_modules/react/cjs/react.development.js var require_react_development = __commonJS({ "node_modules/react/cjs/react.development.js"(exports, module2) { "use strict"; - if (true) { + if (process.env.NODE_ENV !== "production") { (function() { "use strict"; if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") { __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); } - var ReactVersion = "18.2.0"; + var ReactVersion = "18.1.0"; + var enableScopeAPI = false; + var enableCacheElement = false; + var enableTransitionTracing = false; + var enableLegacyHidden = false; + var enableDebugTracing = false; var REACT_ELEMENT_TYPE = Symbol.for("react.element"); var REACT_PORTAL_TYPE = Symbol.for("react.portal"); var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"); @@ -143,11 +457,6 @@ var require_react_development = __commonJS({ return stack; }; } - var enableScopeAPI = false; - var enableCacheElement = false; - var enableTransitionTracing = false; - var enableLegacyHidden = false; - var enableDebugTracing = false; var ReactSharedInternals = { ReactCurrentDispatcher, ReactCurrentBatchConfig, @@ -614,7 +923,7 @@ var require_react_development = __commonJS({ } var SEPARATOR = "."; var SUBSEPARATOR = ":"; - function escape(key) { + function escape2(key) { var escapeRegex = /[=:]/g; var escaperLookup = { "=": "=0", @@ -635,7 +944,7 @@ var require_react_development = __commonJS({ { checkKeyStringCoercion(element.key); } - return escape("" + element.key); + return escape2("" + element.key); } return index.toString(36); } @@ -1859,8 +2168,8 @@ var require_react_development = __commonJS({ var require_react = __commonJS({ "node_modules/react/index.js"(exports, module2) { "use strict"; - if (false) { - module2.exports = null; + if (process.env.NODE_ENV === "production") { + module2.exports = require_react_production_min(); } else { module2.exports = require_react_development(); } @@ -6964,11 +7273,124 @@ var require_react_fast_compare = __commonJS({ } }); +// node_modules/react-is/cjs/react-is.production.min.js +var require_react_is_production_min = __commonJS({ + "node_modules/react-is/cjs/react-is.production.min.js"(exports) { + "use strict"; + var b = typeof Symbol === "function" && Symbol.for; + var c = b ? Symbol.for("react.element") : 60103; + var d = b ? Symbol.for("react.portal") : 60106; + var e = b ? Symbol.for("react.fragment") : 60107; + var f = b ? Symbol.for("react.strict_mode") : 60108; + var g = b ? Symbol.for("react.profiler") : 60114; + var h = b ? Symbol.for("react.provider") : 60109; + var k = b ? Symbol.for("react.context") : 60110; + var l = b ? Symbol.for("react.async_mode") : 60111; + var m = b ? Symbol.for("react.concurrent_mode") : 60111; + var n = b ? Symbol.for("react.forward_ref") : 60112; + var p = b ? Symbol.for("react.suspense") : 60113; + var q = b ? Symbol.for("react.suspense_list") : 60120; + var r = b ? Symbol.for("react.memo") : 60115; + var t = b ? Symbol.for("react.lazy") : 60116; + var v = b ? Symbol.for("react.block") : 60121; + var w = b ? Symbol.for("react.fundamental") : 60117; + var x = b ? Symbol.for("react.responder") : 60118; + var y = b ? Symbol.for("react.scope") : 60119; + function z(a) { + if (typeof a === "object" && a !== null) { + var u = a.$$typeof; + switch (u) { + case c: + switch (a = a.type, a) { + case l: + case m: + case e: + case g: + case f: + case p: + return a; + default: + switch (a = a && a.$$typeof, a) { + case k: + case n: + case t: + case r: + case h: + return a; + default: + return u; + } + } + case d: + return u; + } + } + } + function A(a) { + return z(a) === m; + } + exports.AsyncMode = l; + exports.ConcurrentMode = m; + exports.ContextConsumer = k; + exports.ContextProvider = h; + exports.Element = c; + exports.ForwardRef = n; + exports.Fragment = e; + exports.Lazy = t; + exports.Memo = r; + exports.Portal = d; + exports.Profiler = g; + exports.StrictMode = f; + exports.Suspense = p; + exports.isAsyncMode = function(a) { + return A(a) || z(a) === l; + }; + exports.isConcurrentMode = A; + exports.isContextConsumer = function(a) { + return z(a) === k; + }; + exports.isContextProvider = function(a) { + return z(a) === h; + }; + exports.isElement = function(a) { + return typeof a === "object" && a !== null && a.$$typeof === c; + }; + exports.isForwardRef = function(a) { + return z(a) === n; + }; + exports.isFragment = function(a) { + return z(a) === e; + }; + exports.isLazy = function(a) { + return z(a) === t; + }; + exports.isMemo = function(a) { + return z(a) === r; + }; + exports.isPortal = function(a) { + return z(a) === d; + }; + exports.isProfiler = function(a) { + return z(a) === g; + }; + exports.isStrictMode = function(a) { + return z(a) === f; + }; + exports.isSuspense = function(a) { + return z(a) === p; + }; + exports.isValidElementType = function(a) { + return typeof a === "string" || typeof a === "function" || a === e || a === m || a === g || a === f || a === p || a === q || typeof a === "object" && a !== null && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v); + }; + exports.typeOf = z; + } +}); + // node_modules/react-is/cjs/react-is.development.js var require_react_is_development = __commonJS({ "node_modules/react-is/cjs/react-is.development.js"(exports) { "use strict"; - if (true) { + if (process.env.NODE_ENV !== "production") { (function() { "use strict"; var hasSymbol = typeof Symbol === "function" && Symbol.for; @@ -7122,8 +7544,8 @@ var require_react_is_development = __commonJS({ var require_react_is = __commonJS({ "node_modules/react-is/index.js"(exports, module2) { "use strict"; - if (false) { - module2.exports = null; + if (process.env.NODE_ENV === "production") { + module2.exports = require_react_is_production_min(); } else { module2.exports = require_react_is_development(); } @@ -7222,7 +7644,7 @@ var require_checkPropTypes = __commonJS({ "use strict"; var printWarning = function() { }; - if (true) { + if (process.env.NODE_ENV !== "production") { ReactPropTypesSecret = require_ReactPropTypesSecret(); loggedTypeFailures = {}; has = require_has(); @@ -7241,7 +7663,7 @@ var require_checkPropTypes = __commonJS({ var loggedTypeFailures; var has; function checkPropTypes(typeSpecs, values, location, componentName, getStack) { - if (true) { + if (process.env.NODE_ENV !== "production") { for (var typeSpecName in typeSpecs) { if (has(typeSpecs, typeSpecName)) { var error; @@ -7268,7 +7690,7 @@ var require_checkPropTypes = __commonJS({ } } checkPropTypes.resetWarningCache = function() { - if (true) { + if (process.env.NODE_ENV !== "production") { loggedTypeFailures = {}; } }; @@ -7287,7 +7709,7 @@ var require_factoryWithTypeCheckers = __commonJS({ var checkPropTypes = require_checkPropTypes(); var printWarning = function() { }; - if (true) { + if (process.env.NODE_ENV !== "production") { printWarning = function(text) { var message = "Warning: " + text; if (typeof console !== "undefined") { @@ -7347,7 +7769,7 @@ var require_factoryWithTypeCheckers = __commonJS({ } PropTypeError.prototype = Error.prototype; function createChainableTypeChecker(validate) { - if (true) { + if (process.env.NODE_ENV !== "production") { var manualPropTypeCallCache = {}; var manualPropTypeWarningCount = 0; } @@ -7359,7 +7781,7 @@ var require_factoryWithTypeCheckers = __commonJS({ var err = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"); err.name = "Invariant Violation"; throw err; - } else if (typeof console !== "undefined") { + } else if (process.env.NODE_ENV !== "production" && typeof console !== "undefined") { var cacheKey = componentName + ":" + propName; if (!manualPropTypeCallCache[cacheKey] && manualPropTypeWarningCount < 3) { printWarning("You are manually calling a React.PropTypes validation function for the `" + propFullName + "` prop on `" + componentName + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."); @@ -7454,7 +7876,7 @@ var require_factoryWithTypeCheckers = __commonJS({ } function createEnumTypeChecker(expectedValues) { if (!Array.isArray(expectedValues)) { - if (true) { + if (process.env.NODE_ENV !== "production") { if (arguments.length > 1) { printWarning("Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."); } else { @@ -7505,7 +7927,7 @@ var require_factoryWithTypeCheckers = __commonJS({ } function createUnionTypeChecker(arrayOfTypeCheckers) { if (!Array.isArray(arrayOfTypeCheckers)) { - true ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0; + process.env.NODE_ENV !== "production" ? printWarning("Invalid argument supplied to oneOfType, expected an instance of array.") : void 0; return emptyFunctionThatReturnsNull; } for (var i = 0; i < arrayOfTypeCheckers.length; i++) { @@ -7703,15 +8125,69 @@ var require_factoryWithTypeCheckers = __commonJS({ } }); +// node_modules/prop-types/factoryWithThrowingShims.js +var require_factoryWithThrowingShims = __commonJS({ + "node_modules/prop-types/factoryWithThrowingShims.js"(exports, module2) { + "use strict"; + var ReactPropTypesSecret = require_ReactPropTypesSecret(); + function emptyFunction() { + } + function emptyFunctionWithReset() { + } + emptyFunctionWithReset.resetWarningCache = emptyFunction; + module2.exports = function() { + function shim(props, propName, componentName, location, propFullName, secret) { + if (secret === ReactPropTypesSecret) { + return; + } + var err = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"); + err.name = "Invariant Violation"; + throw err; + } + ; + shim.isRequired = shim; + function getShim() { + return shim; + } + ; + var ReactPropTypes = { + array: shim, + bigint: shim, + bool: shim, + func: shim, + number: shim, + object: shim, + string: shim, + symbol: shim, + any: shim, + arrayOf: getShim, + element: shim, + elementType: shim, + instanceOf: getShim, + node: shim, + objectOf: getShim, + oneOf: getShim, + oneOfType: getShim, + shape: getShim, + exact: getShim, + checkPropTypes: emptyFunctionWithReset, + resetWarningCache: emptyFunction + }; + ReactPropTypes.PropTypes = ReactPropTypes; + return ReactPropTypes; + }; + } +}); + // node_modules/prop-types/index.js var require_prop_types = __commonJS({ "node_modules/prop-types/index.js"(exports, module2) { - if (true) { + if (process.env.NODE_ENV !== "production") { ReactIs = require_react_is(); throwOnDirectAccess = true; module2.exports = require_factoryWithTypeCheckers()(ReactIs.isElement, throwOnDirectAccess); } else { - module2.exports = null(); + module2.exports = require_factoryWithThrowingShims()(); } var ReactIs; var throwOnDirectAccess; @@ -9142,11 +9618,282 @@ var require_lazy = __commonJS({ } }); +// node_modules/scheduler/cjs/scheduler.production.min.js +var require_scheduler_production_min = __commonJS({ + "node_modules/scheduler/cjs/scheduler.production.min.js"(exports) { + "use strict"; + function f(a, b) { + var c = a.length; + a.push(b); + a: + for (; 0 < c; ) { + var d = c - 1 >>> 1, e = a[d]; + if (0 < g(e, b)) + a[d] = b, a[c] = e, c = d; + else + break a; + } + } + function h(a) { + return a.length === 0 ? null : a[0]; + } + function k(a) { + if (a.length === 0) + return null; + var b = a[0], c = a.pop(); + if (c !== b) { + a[0] = c; + a: + for (var d = 0, e = a.length, w = e >>> 1; d < w; ) { + var m = 2 * (d + 1) - 1, C = a[m], n = m + 1, x = a[n]; + if (0 > g(C, c)) + n < e && 0 > g(x, C) ? (a[d] = x, a[n] = c, d = n) : (a[d] = C, a[m] = c, d = m); + else if (n < e && 0 > g(x, c)) + a[d] = x, a[n] = c, d = n; + else + break a; + } + } + return b; + } + function g(a, b) { + var c = a.sortIndex - b.sortIndex; + return c !== 0 ? c : a.id - b.id; + } + if (typeof performance === "object" && typeof performance.now === "function") { + l = performance; + exports.unstable_now = function() { + return l.now(); + }; + } else { + p = Date, q = p.now(); + exports.unstable_now = function() { + return p.now() - q; + }; + } + var l; + var p; + var q; + var r = []; + var t = []; + var u = 1; + var v = null; + var y = 3; + var z = false; + var A = false; + var B = false; + var D = typeof setTimeout === "function" ? setTimeout : null; + var E = typeof clearTimeout === "function" ? clearTimeout : null; + var F = typeof setImmediate !== "undefined" ? setImmediate : null; + typeof navigator !== "undefined" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling); + function G(a) { + for (var b = h(t); b !== null; ) { + if (b.callback === null) + k(t); + else if (b.startTime <= a) + k(t), b.sortIndex = b.expirationTime, f(r, b); + else + break; + b = h(t); + } + } + function H(a) { + B = false; + G(a); + if (!A) + if (h(r) !== null) + A = true, I(J); + else { + var b = h(t); + b !== null && K(H, b.startTime - a); + } + } + function J(a, b) { + A = false; + B && (B = false, E(L), L = -1); + z = true; + var c = y; + try { + G(b); + for (v = h(r); v !== null && (!(v.expirationTime > b) || a && !M()); ) { + var d = v.callback; + if (typeof d === "function") { + v.callback = null; + y = v.priorityLevel; + var e = d(v.expirationTime <= b); + b = exports.unstable_now(); + typeof e === "function" ? v.callback = e : v === h(r) && k(r); + G(b); + } else + k(r); + v = h(r); + } + if (v !== null) + var w = true; + else { + var m = h(t); + m !== null && K(H, m.startTime - b); + w = false; + } + return w; + } finally { + v = null, y = c, z = false; + } + } + var N = false; + var O = null; + var L = -1; + var P = 5; + var Q = -1; + function M() { + return exports.unstable_now() - Q < P ? false : true; + } + function R() { + if (O !== null) { + var a = exports.unstable_now(); + Q = a; + var b = true; + try { + b = O(true, a); + } finally { + b ? S() : (N = false, O = null); + } + } else + N = false; + } + var S; + if (typeof F === "function") + S = function() { + F(R); + }; + else if (typeof MessageChannel !== "undefined") { + T = new MessageChannel(), U = T.port2; + T.port1.onmessage = R; + S = function() { + U.postMessage(null); + }; + } else + S = function() { + D(R, 0); + }; + var T; + var U; + function I(a) { + O = a; + N || (N = true, S()); + } + function K(a, b) { + L = D(function() { + a(exports.unstable_now()); + }, b); + } + exports.unstable_IdlePriority = 5; + exports.unstable_ImmediatePriority = 1; + exports.unstable_LowPriority = 4; + exports.unstable_NormalPriority = 3; + exports.unstable_Profiling = null; + exports.unstable_UserBlockingPriority = 2; + exports.unstable_cancelCallback = function(a) { + a.callback = null; + }; + exports.unstable_continueExecution = function() { + A || z || (A = true, I(J)); + }; + exports.unstable_forceFrameRate = function(a) { + 0 > a || 125 < a ? console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported") : P = 0 < a ? Math.floor(1e3 / a) : 5; + }; + exports.unstable_getCurrentPriorityLevel = function() { + return y; + }; + exports.unstable_getFirstCallbackNode = function() { + return h(r); + }; + exports.unstable_next = function(a) { + switch (y) { + case 1: + case 2: + case 3: + var b = 3; + break; + default: + b = y; + } + var c = y; + y = b; + try { + return a(); + } finally { + y = c; + } + }; + exports.unstable_pauseExecution = function() { + }; + exports.unstable_requestPaint = function() { + }; + exports.unstable_runWithPriority = function(a, b) { + switch (a) { + case 1: + case 2: + case 3: + case 4: + case 5: + break; + default: + a = 3; + } + var c = y; + y = a; + try { + return b(); + } finally { + y = c; + } + }; + exports.unstable_scheduleCallback = function(a, b, c) { + var d = exports.unstable_now(); + typeof c === "object" && c !== null ? (c = c.delay, c = typeof c === "number" && 0 < c ? d + c : d) : c = d; + switch (a) { + case 1: + var e = -1; + break; + case 2: + e = 250; + break; + case 5: + e = 1073741823; + break; + case 4: + e = 1e4; + break; + default: + e = 5e3; + } + e = c + e; + a = { id: u++, callback: b, priorityLevel: a, startTime: c, expirationTime: e, sortIndex: -1 }; + c > d ? (a.sortIndex = c, f(t, a), h(r) === null && a === h(t) && (B ? (E(L), L = -1) : B = true, K(H, c - d))) : (a.sortIndex = e, f(r, a), A || z || (A = true, I(J))); + return a; + }; + exports.unstable_shouldYield = M; + exports.unstable_wrapCallback = function(a) { + var b = y; + return function() { + var c = y; + y = b; + try { + return a.apply(this, arguments); + } finally { + y = c; + } + }; + }; + } +}); + // node_modules/scheduler/cjs/scheduler.development.js var require_scheduler_development = __commonJS({ "node_modules/scheduler/cjs/scheduler.development.js"(exports) { "use strict"; - if (true) { + if (process.env.NODE_ENV !== "production") { (function() { "use strict"; if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") { @@ -9596,2062 +10343,9109 @@ var require_scheduler_development = __commonJS({ var require_scheduler = __commonJS({ "node_modules/scheduler/index.js"(exports, module2) { "use strict"; - if (false) { - module2.exports = null; + if (process.env.NODE_ENV === "production") { + module2.exports = require_scheduler_production_min(); } else { module2.exports = require_scheduler_development(); } } }); -// node_modules/react-dom/cjs/react-dom.development.js -var require_react_dom_development = __commonJS({ - "node_modules/react-dom/cjs/react-dom.development.js"(exports) { +// node_modules/react-dom/cjs/react-dom.production.min.js +var require_react_dom_production_min = __commonJS({ + "node_modules/react-dom/cjs/react-dom.production.min.js"(exports) { "use strict"; - if (true) { - (function() { - "use strict"; - if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ !== "undefined" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart === "function") { - __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error()); + var aa = require_react(); + var ba = require_scheduler(); + function p(a) { + for (var b = "https://reactjs.org/docs/error-decoder.html?invariant=" + a, c = 1; c < arguments.length; c++) + b += "&args[]=" + encodeURIComponent(arguments[c]); + return "Minified React error #" + a + "; visit " + b + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings."; + } + var da = new Set(); + var ea = {}; + function fa(a, b) { + ha(a, b); + ha(a + "Capture", b); + } + function ha(a, b) { + ea[a] = b; + for (a = 0; a < b.length; a++) + da.add(b[a]); + } + var ia = !(typeof window === "undefined" || typeof window.document === "undefined" || typeof window.document.createElement === "undefined"); + var ja = Object.prototype.hasOwnProperty; + var ka = /^[: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]*$/; + var la = {}; + var ma = {}; + function na(a) { + if (ja.call(ma, a)) + return true; + if (ja.call(la, a)) + return false; + if (ka.test(a)) + return ma[a] = true; + la[a] = true; + return false; + } + function oa(a, b, c, d) { + if (c !== null && c.type === 0) + return false; + switch (typeof b) { + case "function": + case "symbol": + return true; + case "boolean": + if (d) + return false; + if (c !== null) + return !c.acceptsBooleans; + a = a.toLowerCase().slice(0, 5); + return a !== "data-" && a !== "aria-"; + default: + return false; + } + } + function pa(a, b, c, d) { + if (b === null || typeof b === "undefined" || oa(a, b, c, d)) + return true; + if (d) + return false; + if (c !== null) + switch (c.type) { + case 3: + return !b; + case 4: + return b === false; + case 5: + return isNaN(b); + case 6: + return isNaN(b) || 1 > b; } - var React3 = require_react(); - var Scheduler = require_scheduler(); - var ReactSharedInternals = React3.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; - var suppressWarning = false; - function setSuppressWarning(newSuppressWarning) { - { - suppressWarning = newSuppressWarning; - } + return false; + } + function t(a, b, c, d, e, f, g) { + this.acceptsBooleans = b === 2 || b === 3 || b === 4; + this.attributeName = d; + this.attributeNamespace = e; + this.mustUseProperty = c; + this.propertyName = a; + this.type = b; + this.sanitizeURL = f; + this.removeEmptyString = g; + } + var z = {}; + "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a) { + z[a] = new t(a, 0, false, a, null, false, false); + }); + [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(a) { + var b = a[0]; + z[b] = new t(b, 1, false, a[1], null, false, false); + }); + ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(a) { + z[a] = new t(a, 2, false, a.toLowerCase(), null, false, false); + }); + ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(a) { + z[a] = new t(a, 2, false, a, null, false, false); + }); + "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(a) { + z[a] = new t(a, 3, false, a.toLowerCase(), null, false, false); + }); + ["checked", "multiple", "muted", "selected"].forEach(function(a) { + z[a] = new t(a, 3, true, a, null, false, false); + }); + ["capture", "download"].forEach(function(a) { + z[a] = new t(a, 4, false, a, null, false, false); + }); + ["cols", "rows", "size", "span"].forEach(function(a) { + z[a] = new t(a, 6, false, a, null, false, false); + }); + ["rowSpan", "start"].forEach(function(a) { + z[a] = new t(a, 5, false, a.toLowerCase(), null, false, false); + }); + var qa = /[\-:]([a-z])/g; + function ra(a) { + return a[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(a) { + var b = a.replace(qa, ra); + z[b] = new t(b, 1, false, a, null, false, false); + }); + "xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a) { + var b = a.replace(qa, ra); + z[b] = new t(b, 1, false, a, "http://www.w3.org/1999/xlink", false, false); + }); + ["xml:base", "xml:lang", "xml:space"].forEach(function(a) { + var b = a.replace(qa, ra); + z[b] = new t(b, 1, false, a, "http://www.w3.org/XML/1998/namespace", false, false); + }); + ["tabIndex", "crossOrigin"].forEach(function(a) { + z[a] = new t(a, 1, false, a.toLowerCase(), null, false, false); + }); + z.xlinkHref = new t("xlinkHref", 1, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); + ["src", "href", "action", "formAction"].forEach(function(a) { + z[a] = new t(a, 1, false, a.toLowerCase(), null, true, true); + }); + function sa(a, b, c, d) { + var e = z.hasOwnProperty(b) ? z[b] : null; + if (e !== null ? e.type !== 0 : d || !(2 < b.length) || b[0] !== "o" && b[0] !== "O" || b[1] !== "n" && b[1] !== "N") + pa(b, c, e, d) && (c = null), d || e === null ? na(b) && (c === null ? a.removeAttribute(b) : a.setAttribute(b, "" + c)) : e.mustUseProperty ? a[e.propertyName] = c === null ? e.type === 3 ? false : "" : c : (b = e.attributeName, d = e.attributeNamespace, c === null ? a.removeAttribute(b) : (e = e.type, c = e === 3 || e === 4 && c === true ? "" : "" + c, d ? a.setAttributeNS(d, b, c) : a.setAttribute(b, c))); + } + var ta = aa.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED; + var ua = Symbol.for("react.element"); + var va = Symbol.for("react.portal"); + var wa = Symbol.for("react.fragment"); + var xa = Symbol.for("react.strict_mode"); + var za = Symbol.for("react.profiler"); + var Aa = Symbol.for("react.provider"); + var Ba = Symbol.for("react.context"); + var Ca = Symbol.for("react.forward_ref"); + var Da = Symbol.for("react.suspense"); + var Ea = Symbol.for("react.suspense_list"); + var Fa = Symbol.for("react.memo"); + var Ga = Symbol.for("react.lazy"); + Symbol.for("react.scope"); + Symbol.for("react.debug_trace_mode"); + var Ha = Symbol.for("react.offscreen"); + Symbol.for("react.legacy_hidden"); + Symbol.for("react.cache"); + Symbol.for("react.tracing_marker"); + var Ia = Symbol.iterator; + function Ja(a) { + if (a === null || typeof a !== "object") + return null; + a = Ia && a[Ia] || a["@@iterator"]; + return typeof a === "function" ? a : null; + } + var A = Object.assign; + var Ka; + function La(a) { + if (Ka === void 0) + try { + throw Error(); + } catch (c) { + var b = c.stack.trim().match(/\n( *(at )?)/); + Ka = b && b[1] || ""; } - function warn(format) { - { - if (!suppressWarning) { - for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { - args[_key - 1] = arguments[_key]; - } - printWarning("warn", format, args); + return "\n" + Ka + a; + } + var Ma = false; + function Na(a, b) { + if (!a || Ma) + return ""; + Ma = true; + var c = Error.prepareStackTrace; + Error.prepareStackTrace = void 0; + try { + if (b) + if (b = function() { + throw Error(); + }, Object.defineProperty(b.prototype, "props", { set: function() { + throw Error(); + } }), typeof Reflect === "object" && Reflect.construct) { + try { + Reflect.construct(b, []); + } catch (l) { + var d = l; } + Reflect.construct(a, [], b); + } else { + try { + b.call(); + } catch (l) { + d = l; + } + a.call(b.prototype); } - } - function error(format) { - { - if (!suppressWarning) { - for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) { - args[_key2 - 1] = arguments[_key2]; + else { + try { + throw Error(); + } catch (l) { + d = l; + } + a(); + } + } catch (l) { + if (l && d && typeof l.stack === "string") { + for (var e = l.stack.split("\n"), f = d.stack.split("\n"), g = e.length - 1, h = f.length - 1; 1 <= g && 0 <= h && e[g] !== f[h]; ) + h--; + for (; 1 <= g && 0 <= h; g--, h--) + if (e[g] !== f[h]) { + if (g !== 1 || h !== 1) { + do + if (g--, h--, 0 > h || e[g] !== f[h]) { + var k = "\n" + e[g].replace(" at new ", " at "); + a.displayName && k.includes("") && (k = k.replace("", a.displayName)); + return k; + } + while (1 <= g && 0 <= h); } - printWarning("error", format, args); + break; } - } } - function printWarning(level, format, args) { - { - var ReactDebugCurrentFrame2 = ReactSharedInternals.ReactDebugCurrentFrame; - var stack = ReactDebugCurrentFrame2.getStackAddendum(); - if (stack !== "") { - format += "%s"; - args = args.concat([stack]); + } finally { + Ma = false, Error.prepareStackTrace = c; + } + return (a = a ? a.displayName || a.name : "") ? La(a) : ""; + } + function Oa(a) { + switch (a.tag) { + case 5: + return La(a.type); + case 16: + return La("Lazy"); + case 13: + return La("Suspense"); + case 19: + return La("SuspenseList"); + case 0: + case 2: + case 15: + return a = Na(a.type, false), a; + case 11: + return a = Na(a.type.render, false), a; + case 1: + return a = Na(a.type, true), a; + default: + return ""; + } + } + function Pa(a) { + if (a == null) + return null; + if (typeof a === "function") + return a.displayName || a.name || null; + if (typeof a === "string") + return a; + switch (a) { + case wa: + return "Fragment"; + case va: + return "Portal"; + case za: + return "Profiler"; + case xa: + return "StrictMode"; + case Da: + return "Suspense"; + case Ea: + return "SuspenseList"; + } + if (typeof a === "object") + switch (a.$$typeof) { + case Ba: + return (a.displayName || "Context") + ".Consumer"; + case Aa: + return (a._context.displayName || "Context") + ".Provider"; + case Ca: + var b = a.render; + a = a.displayName; + a || (a = b.displayName || b.name || "", a = a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"); + return a; + case Fa: + return b = a.displayName || null, b !== null ? b : Pa(a.type) || "Memo"; + case Ga: + b = a._payload; + a = a._init; + try { + return Pa(a(b)); + } catch (c) { } - var argsWithFormat = args.map(function(item) { - return String(item); - }); - argsWithFormat.unshift("Warning: " + format); - Function.prototype.apply.call(console[level], console, argsWithFormat); - } - } - var FunctionComponent = 0; - var ClassComponent = 1; - var IndeterminateComponent = 2; - var HostRoot = 3; - var HostPortal = 4; - var HostComponent = 5; - var HostText = 6; - var Fragment2 = 7; - var Mode = 8; - var ContextConsumer = 9; - var ContextProvider = 10; - var ForwardRef = 11; - var Profiler = 12; - var SuspenseComponent = 13; - var MemoComponent = 14; - var SimpleMemoComponent = 15; - var LazyComponent = 16; - var IncompleteClassComponent = 17; - var DehydratedFragment = 18; - var SuspenseListComponent = 19; - var ScopeComponent = 21; - var OffscreenComponent = 22; - var LegacyHiddenComponent = 23; - var CacheComponent = 24; - var TracingMarkerComponent = 25; - var enableClientRenderFallbackOnTextMismatch = true; - var enableNewReconciler = false; - var enableLazyContextPropagation = false; - var enableLegacyHidden = false; - var enableSuspenseAvoidThisFallback = false; - var disableCommentsAsDOMContainers = true; - var enableCustomElementPropertySupport = false; - var warnAboutStringRefs = false; - var enableSchedulingProfiler = true; - var enableProfilerTimer = true; - var enableProfilerCommitHooks = true; - var allNativeEvents = new Set(); - var registrationNameDependencies = {}; - var possibleRegistrationNames = {}; - function registerTwoPhaseEvent(registrationName, dependencies) { - registerDirectEvent(registrationName, dependencies); - registerDirectEvent(registrationName + "Capture", dependencies); } - function registerDirectEvent(registrationName, dependencies) { - { - if (registrationNameDependencies[registrationName]) { - error("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.", registrationName); - } - } - registrationNameDependencies[registrationName] = dependencies; - { - var lowerCasedName = registrationName.toLowerCase(); - possibleRegistrationNames[lowerCasedName] = registrationName; - if (registrationName === "onDoubleClick") { - possibleRegistrationNames.ondblclick = registrationName; - } - } - for (var i = 0; i < dependencies.length; i++) { - allNativeEvents.add(dependencies[i]); + return null; + } + function Qa(a) { + var b = a.type; + switch (a.tag) { + case 24: + return "Cache"; + case 9: + return (b.displayName || "Context") + ".Consumer"; + case 10: + return (b._context.displayName || "Context") + ".Provider"; + case 18: + return "DehydratedFragment"; + case 11: + return a = b.render, a = a.displayName || a.name || "", b.displayName || (a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"); + case 7: + return "Fragment"; + case 5: + return b; + case 4: + return "Portal"; + case 3: + return "Root"; + case 6: + return "Text"; + case 16: + return Pa(b); + case 8: + return b === xa ? "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 b === "function") + return b.displayName || b.name || null; + if (typeof b === "string") + return b; + } + return null; + } + function Ra(a) { + switch (typeof a) { + case "boolean": + case "number": + case "string": + case "undefined": + return a; + case "object": + return a; + default: + return ""; + } + } + function Sa(a) { + var b = a.type; + return (a = a.nodeName) && a.toLowerCase() === "input" && (b === "checkbox" || b === "radio"); + } + function Ta(a) { + var b = Sa(a) ? "checked" : "value", c = Object.getOwnPropertyDescriptor(a.constructor.prototype, b), d = "" + a[b]; + if (!a.hasOwnProperty(b) && typeof c !== "undefined" && typeof c.get === "function" && typeof c.set === "function") { + var e = c.get, f = c.set; + Object.defineProperty(a, b, { configurable: true, get: function() { + return e.call(this); + }, set: function(a2) { + d = "" + a2; + f.call(this, a2); + } }); + Object.defineProperty(a, b, { enumerable: c.enumerable }); + return { getValue: function() { + return d; + }, setValue: function(a2) { + d = "" + a2; + }, stopTracking: function() { + a._valueTracker = null; + delete a[b]; + } }; + } + } + function Ua(a) { + a._valueTracker || (a._valueTracker = Ta(a)); + } + function Va(a) { + if (!a) + return false; + var b = a._valueTracker; + if (!b) + return true; + var c = b.getValue(); + var d = ""; + a && (d = Sa(a) ? a.checked ? "true" : "false" : a.value); + a = d; + return a !== c ? (b.setValue(a), true) : false; + } + function Wa(a) { + a = a || (typeof document !== "undefined" ? document : void 0); + if (typeof a === "undefined") + return null; + try { + return a.activeElement || a.body; + } catch (b) { + return a.body; + } + } + function Xa(a, b) { + var c = b.checked; + return A({}, b, { defaultChecked: void 0, defaultValue: void 0, value: void 0, checked: c != null ? c : a._wrapperState.initialChecked }); + } + function Ya(a, b) { + var c = b.defaultValue == null ? "" : b.defaultValue, d = b.checked != null ? b.checked : b.defaultChecked; + c = Ra(b.value != null ? b.value : c); + a._wrapperState = { initialChecked: d, initialValue: c, controlled: b.type === "checkbox" || b.type === "radio" ? b.checked != null : b.value != null }; + } + function Za(a, b) { + b = b.checked; + b != null && sa(a, "checked", b, false); + } + function $a(a, b) { + Za(a, b); + var c = Ra(b.value), d = b.type; + if (c != null) + if (d === "number") { + if (c === 0 && a.value === "" || a.value != c) + a.value = "" + c; + } else + a.value !== "" + c && (a.value = "" + c); + else if (d === "submit" || d === "reset") { + a.removeAttribute("value"); + return; + } + b.hasOwnProperty("value") ? bb(a, b.type, c) : b.hasOwnProperty("defaultValue") && bb(a, b.type, Ra(b.defaultValue)); + b.checked == null && b.defaultChecked != null && (a.defaultChecked = !!b.defaultChecked); + } + function cb(a, b, c) { + if (b.hasOwnProperty("value") || b.hasOwnProperty("defaultValue")) { + var d = b.type; + if (!(d !== "submit" && d !== "reset" || b.value !== void 0 && b.value !== null)) + return; + b = "" + a._wrapperState.initialValue; + c || b === a.value || (a.value = b); + a.defaultValue = b; + } + c = a.name; + c !== "" && (a.name = ""); + a.defaultChecked = !!a._wrapperState.initialChecked; + c !== "" && (a.name = c); + } + function bb(a, b, c) { + if (b !== "number" || Wa(a.ownerDocument) !== a) + c == null ? a.defaultValue = "" + a._wrapperState.initialValue : a.defaultValue !== "" + c && (a.defaultValue = "" + c); + } + var db = Array.isArray; + function eb(a, b, c, d) { + a = a.options; + if (b) { + b = {}; + for (var e = 0; e < c.length; e++) + b["$" + c[e]] = true; + for (c = 0; c < a.length; c++) + e = b.hasOwnProperty("$" + a[c].value), a[c].selected !== e && (a[c].selected = e), e && d && (a[c].defaultSelected = true); + } else { + c = "" + Ra(c); + b = null; + for (e = 0; e < a.length; e++) { + if (a[e].value === c) { + a[e].selected = true; + d && (a[e].defaultSelected = true); + return; } + b !== null || a[e].disabled || (b = a[e]); } - var canUseDOM = !!(typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined"); - var hasOwnProperty = Object.prototype.hasOwnProperty; - function typeName(value) { - { - var hasToStringTag = typeof Symbol === "function" && Symbol.toStringTag; - var type = hasToStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object"; - return type; - } + b !== null && (b.selected = true); + } + } + function fb(a, b) { + if (b.dangerouslySetInnerHTML != null) + throw Error(p(91)); + return A({}, b, { value: void 0, defaultValue: void 0, children: "" + a._wrapperState.initialValue }); + } + function gb(a, b) { + var c = b.value; + if (c == null) { + c = b.children; + b = b.defaultValue; + if (c != null) { + if (b != null) + throw Error(p(92)); + if (db(c)) { + if (1 < c.length) + throw Error(p(93)); + c = c[0]; + } + b = c; + } + b == null && (b = ""); + c = b; + } + a._wrapperState = { initialValue: Ra(c) }; + } + function hb(a, b) { + var c = Ra(b.value), d = Ra(b.defaultValue); + c != null && (c = "" + c, c !== a.value && (a.value = c), b.defaultValue == null && a.defaultValue !== c && (a.defaultValue = c)); + d != null && (a.defaultValue = "" + d); + } + function ib(a) { + var b = a.textContent; + b === a._wrapperState.initialValue && b !== "" && b !== null && (a.value = b); + } + function jb(a) { + switch (a) { + case "svg": + return "http://www.w3.org/2000/svg"; + case "math": + return "http://www.w3.org/1998/Math/MathML"; + default: + return "http://www.w3.org/1999/xhtml"; + } + } + function kb(a, b) { + return a == null || a === "http://www.w3.org/1999/xhtml" ? jb(b) : a === "http://www.w3.org/2000/svg" && b === "foreignObject" ? "http://www.w3.org/1999/xhtml" : a; + } + var lb; + var mb = function(a) { + return typeof MSApp !== "undefined" && MSApp.execUnsafeLocalFunction ? function(b, c, d, e) { + MSApp.execUnsafeLocalFunction(function() { + return a(b, c, d, e); + }); + } : a; + }(function(a, b) { + if (a.namespaceURI !== "http://www.w3.org/2000/svg" || "innerHTML" in a) + a.innerHTML = b; + else { + lb = lb || document.createElement("div"); + lb.innerHTML = "" + b.valueOf().toString() + ""; + for (b = lb.firstChild; a.firstChild; ) + a.removeChild(a.firstChild); + for (; b.firstChild; ) + a.appendChild(b.firstChild); + } + }); + function nb(a, b) { + if (b) { + var c = a.firstChild; + if (c && c === a.lastChild && c.nodeType === 3) { + c.nodeValue = b; + return; } - function willCoercionThrow(value) { - { - try { - testStringCoercion(value); - return false; - } catch (e) { - return true; - } - } + } + a.textContent = b; + } + var ob = { + animationIterationCount: true, + aspectRatio: true, + borderImageOutset: true, + borderImageSlice: true, + borderImageWidth: true, + boxFlex: true, + boxFlexGroup: true, + boxOrdinalGroup: true, + columnCount: true, + columns: true, + flex: true, + flexGrow: true, + flexPositive: true, + flexShrink: true, + flexNegative: true, + flexOrder: true, + gridArea: true, + gridRow: true, + gridRowEnd: true, + gridRowSpan: true, + gridRowStart: true, + gridColumn: true, + gridColumnEnd: true, + gridColumnSpan: true, + gridColumnStart: true, + fontWeight: true, + lineClamp: true, + lineHeight: true, + opacity: true, + order: true, + orphans: true, + tabSize: true, + widows: true, + zIndex: true, + zoom: true, + fillOpacity: true, + floodOpacity: true, + stopOpacity: true, + strokeDasharray: true, + strokeDashoffset: true, + strokeMiterlimit: true, + strokeOpacity: true, + strokeWidth: true + }; + var pb = ["Webkit", "ms", "Moz", "O"]; + Object.keys(ob).forEach(function(a) { + pb.forEach(function(b) { + b = b + a.charAt(0).toUpperCase() + a.substring(1); + ob[b] = ob[a]; + }); + }); + function qb(a, b, c) { + return b == null || typeof b === "boolean" || b === "" ? "" : c || typeof b !== "number" || b === 0 || ob.hasOwnProperty(a) && ob[a] ? ("" + b).trim() : b + "px"; + } + function rb(a, b) { + a = a.style; + for (var c in b) + if (b.hasOwnProperty(c)) { + var d = c.indexOf("--") === 0, e = qb(c, b[c], d); + c === "float" && (c = "cssFloat"); + d ? a.setProperty(c, e) : a[c] = e; } - function testStringCoercion(value) { - return "" + value; + } + var sb = A({ menuitem: true }, { area: true, base: true, br: true, col: true, embed: true, hr: true, img: true, input: true, keygen: true, link: true, meta: true, param: true, source: true, track: true, wbr: true }); + function tb(a, b) { + if (b) { + if (sb[a] && (b.children != null || b.dangerouslySetInnerHTML != null)) + throw Error(p(137, a)); + if (b.dangerouslySetInnerHTML != null) { + if (b.children != null) + throw Error(p(60)); + if (typeof b.dangerouslySetInnerHTML !== "object" || !("__html" in b.dangerouslySetInnerHTML)) + throw Error(p(61)); + } + if (b.style != null && typeof b.style !== "object") + throw Error(p(62)); + } + } + function ub(a, b) { + if (a.indexOf("-") === -1) + return typeof b.is === "string"; + switch (a) { + 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 false; + default: + return true; + } + } + var vb = null; + function wb(a) { + a = a.target || a.srcElement || window; + a.correspondingUseElement && (a = a.correspondingUseElement); + return a.nodeType === 3 ? a.parentNode : a; + } + var xb = null; + var yb = null; + var zb = null; + function Ab(a) { + if (a = Bb(a)) { + if (typeof xb !== "function") + throw Error(p(280)); + var b = a.stateNode; + b && (b = Cb(b), xb(a.stateNode, a.type, b)); + } + } + function Db(a) { + yb ? zb ? zb.push(a) : zb = [a] : yb = a; + } + function Eb() { + if (yb) { + var a = yb, b = zb; + zb = yb = null; + Ab(a); + if (b) + for (a = 0; a < b.length; a++) + Ab(b[a]); + } + } + function Fb(a, b) { + return a(b); + } + function Gb() { + } + var Hb = false; + function Ib(a, b, c) { + if (Hb) + return a(b, c); + Hb = true; + try { + return Fb(a, b, c); + } finally { + if (Hb = false, yb !== null || zb !== null) + Gb(), Eb(); + } + } + function Jb(a, b) { + var c = a.stateNode; + if (c === null) + return null; + var d = Cb(c); + if (d === null) + return null; + c = d[b]; + a: + switch (b) { + case "onClick": + case "onClickCapture": + case "onDoubleClick": + case "onDoubleClickCapture": + case "onMouseDown": + case "onMouseDownCapture": + case "onMouseMove": + case "onMouseMoveCapture": + case "onMouseUp": + case "onMouseUpCapture": + case "onMouseEnter": + (d = !d.disabled) || (a = a.type, d = !(a === "button" || a === "input" || a === "select" || a === "textarea")); + a = !d; + break a; + default: + a = false; } - function checkAttributeStringCoercion(value, attributeName) { - { - if (willCoercionThrow(value)) { - error("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.", attributeName, typeName(value)); - return testStringCoercion(value); - } + if (a) + return null; + if (c && typeof c !== "function") + throw Error(p(231, b, typeof c)); + return c; + } + var Kb = false; + if (ia) + try { + Lb = {}; + Object.defineProperty(Lb, "passive", { get: function() { + Kb = true; + } }); + window.addEventListener("test", Lb, Lb); + window.removeEventListener("test", Lb, Lb); + } catch (a) { + Kb = false; + } + var Lb; + function Mb(a, b, c, d, e, f, g, h, k) { + var l = Array.prototype.slice.call(arguments, 3); + try { + b.apply(c, l); + } catch (n) { + this.onError(n); + } + } + var Nb = false; + var Ob = null; + var Pb = false; + var Qb = null; + var Rb = { onError: function(a) { + Nb = true; + Ob = a; + } }; + function Sb(a, b, c, d, e, f, g, h, k) { + Nb = false; + Ob = null; + Mb.apply(Rb, arguments); + } + function Tb(a, b, c, d, e, f, g, h, k) { + Sb.apply(this, arguments); + if (Nb) { + if (Nb) { + var l = Ob; + Nb = false; + Ob = null; + } else + throw Error(p(198)); + Pb || (Pb = true, Qb = l); + } + } + function Ub(a) { + var b = a, c = a; + if (a.alternate) + for (; b.return; ) + b = b.return; + else { + a = b; + do + b = a, (b.flags & 4098) !== 0 && (c = b.return), a = b.return; + while (a); + } + return b.tag === 3 ? c : null; + } + function Vb(a) { + if (a.tag === 13) { + var b = a.memoizedState; + b === null && (a = a.alternate, a !== null && (b = a.memoizedState)); + if (b !== null) + return b.dehydrated; + } + return null; + } + function Wb(a) { + if (Ub(a) !== a) + throw Error(p(188)); + } + function Xb(a) { + var b = a.alternate; + if (!b) { + b = Ub(a); + if (b === null) + throw Error(p(188)); + return b !== a ? null : a; + } + for (var c = a, d = b; ; ) { + var e = c.return; + if (e === null) + break; + var f = e.alternate; + if (f === null) { + d = e.return; + if (d !== null) { + c = d; + continue; } - } - function checkKeyStringCoercion(value) { - { - if (willCoercionThrow(value)) { - error("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value)); - return testStringCoercion(value); + break; + } + if (e.child === f.child) { + for (f = e.child; f; ) { + if (f === c) + return Wb(e), a; + if (f === d) + return Wb(e), b; + f = f.sibling; + } + throw Error(p(188)); + } + if (c.return !== d.return) + c = e, d = f; + else { + for (var g = false, h = e.child; h; ) { + if (h === c) { + g = true; + c = e; + d = f; + break; + } + if (h === d) { + g = true; + d = e; + c = f; + break; } + h = h.sibling; } - } - function checkPropStringCoercion(value, propName) { - { - if (willCoercionThrow(value)) { - error("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.", propName, typeName(value)); - return testStringCoercion(value); + if (!g) { + for (h = f.child; h; ) { + if (h === c) { + g = true; + c = f; + d = e; + break; + } + if (h === d) { + g = true; + d = f; + c = e; + break; + } + h = h.sibling; } + if (!g) + throw Error(p(189)); } } - function checkCSSPropertyStringCoercion(value, propName) { - { - if (willCoercionThrow(value)) { - error("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.", propName, typeName(value)); - return testStringCoercion(value); + if (c.alternate !== d) + throw Error(p(190)); + } + if (c.tag !== 3) + throw Error(p(188)); + return c.stateNode.current === c ? a : b; + } + function Yb(a) { + a = Xb(a); + return a !== null ? Zb(a) : null; + } + function Zb(a) { + if (a.tag === 5 || a.tag === 6) + return a; + for (a = a.child; a !== null; ) { + var b = Zb(a); + if (b !== null) + return b; + a = a.sibling; + } + return null; + } + var $b = ba.unstable_scheduleCallback; + var ac = ba.unstable_cancelCallback; + var bc = ba.unstable_shouldYield; + var cc = ba.unstable_requestPaint; + var B = ba.unstable_now; + var dc = ba.unstable_getCurrentPriorityLevel; + var ec = ba.unstable_ImmediatePriority; + var fc = ba.unstable_UserBlockingPriority; + var gc = ba.unstable_NormalPriority; + var hc = ba.unstable_LowPriority; + var ic = ba.unstable_IdlePriority; + var jc = null; + var kc = null; + function lc(a) { + if (kc && typeof kc.onCommitFiberRoot === "function") + try { + kc.onCommitFiberRoot(jc, a, void 0, (a.current.flags & 128) === 128); + } catch (b) { + } + } + var nc = Math.clz32 ? Math.clz32 : mc; + var oc = Math.log; + var pc = Math.LN2; + function mc(a) { + a >>>= 0; + return a === 0 ? 32 : 31 - (oc(a) / pc | 0) | 0; + } + var qc = 64; + var rc = 4194304; + function sc(a) { + switch (a & -a) { + 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 a & 4194240; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return a & 130023424; + case 134217728: + return 134217728; + case 268435456: + return 268435456; + case 536870912: + return 536870912; + case 1073741824: + return 1073741824; + default: + return a; + } + } + function tc(a, b) { + var c = a.pendingLanes; + if (c === 0) + return 0; + var d = 0, e = a.suspendedLanes, f = a.pingedLanes, g = c & 268435455; + if (g !== 0) { + var h = g & ~e; + h !== 0 ? d = sc(h) : (f &= g, f !== 0 && (d = sc(f))); + } else + g = c & ~e, g !== 0 ? d = sc(g) : f !== 0 && (d = sc(f)); + if (d === 0) + return 0; + if (b !== 0 && b !== d && (b & e) === 0 && (e = d & -d, f = b & -b, e >= f || e === 16 && (f & 4194240) !== 0)) + return b; + (d & 4) !== 0 && (d |= c & 16); + b = a.entangledLanes; + if (b !== 0) + for (a = a.entanglements, b &= d; 0 < b; ) + c = 31 - nc(b), e = 1 << c, d |= a[c], b &= ~e; + return d; + } + function uc(a, b) { + switch (a) { + case 1: + case 2: + case 4: + return b + 250; + case 8: + case 16: + case 32: + case 64: + case 128: + case 256: + case 512: + case 1024: + case 2048: + case 4096: + case 8192: + case 16384: + case 32768: + case 65536: + case 131072: + case 262144: + case 524288: + case 1048576: + case 2097152: + return b + 5e3; + case 4194304: + case 8388608: + case 16777216: + case 33554432: + case 67108864: + return -1; + case 134217728: + case 268435456: + case 536870912: + case 1073741824: + return -1; + default: + return -1; + } + } + function vc(a, b) { + for (var c = a.suspendedLanes, d = a.pingedLanes, e = a.expirationTimes, f = a.pendingLanes; 0 < f; ) { + var g = 31 - nc(f), h = 1 << g, k = e[g]; + if (k === -1) { + if ((h & c) === 0 || (h & d) !== 0) + e[g] = uc(h, b); + } else + k <= b && (a.expiredLanes |= h); + f &= ~h; + } + } + function wc(a) { + a = a.pendingLanes & -1073741825; + return a !== 0 ? a : a & 1073741824 ? 1073741824 : 0; + } + function xc() { + var a = qc; + qc <<= 1; + (qc & 4194240) === 0 && (qc = 64); + return a; + } + function yc(a) { + for (var b = [], c = 0; 31 > c; c++) + b.push(a); + return b; + } + function zc(a, b, c) { + a.pendingLanes |= b; + b !== 536870912 && (a.suspendedLanes = 0, a.pingedLanes = 0); + a = a.eventTimes; + b = 31 - nc(b); + a[b] = c; + } + function Ac(a, b) { + var c = a.pendingLanes & ~b; + a.pendingLanes = b; + a.suspendedLanes = 0; + a.pingedLanes = 0; + a.expiredLanes &= b; + a.mutableReadLanes &= b; + a.entangledLanes &= b; + b = a.entanglements; + var d = a.eventTimes; + for (a = a.expirationTimes; 0 < c; ) { + var e = 31 - nc(c), f = 1 << e; + b[e] = 0; + d[e] = -1; + a[e] = -1; + c &= ~f; + } + } + function Bc(a, b) { + var c = a.entangledLanes |= b; + for (a = a.entanglements; c; ) { + var d = 31 - nc(c), e = 1 << d; + e & b | a[d] & b && (a[d] |= b); + c &= ~e; + } + } + var C = 0; + function Cc(a) { + a &= -a; + return 1 < a ? 4 < a ? (a & 268435455) !== 0 ? 16 : 536870912 : 4 : 1; + } + var Dc; + var Ec; + var Fc; + var Gc; + var Hc; + var Ic = false; + var Jc = []; + var Kc = null; + var Lc = null; + var Mc = null; + var Nc = new Map(); + var Oc = new Map(); + var Pc = []; + var Qc = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" "); + function Rc(a, b) { + switch (a) { + case "focusin": + case "focusout": + Kc = null; + break; + case "dragenter": + case "dragleave": + Lc = null; + break; + case "mouseover": + case "mouseout": + Mc = null; + break; + case "pointerover": + case "pointerout": + Nc.delete(b.pointerId); + break; + case "gotpointercapture": + case "lostpointercapture": + Oc.delete(b.pointerId); + } + } + function Sc(a, b, c, d, e, f) { + if (a === null || a.nativeEvent !== f) + return a = { blockedOn: b, domEventName: c, eventSystemFlags: d, nativeEvent: f, targetContainers: [e] }, b !== null && (b = Bb(b), b !== null && Ec(b)), a; + a.eventSystemFlags |= d; + b = a.targetContainers; + e !== null && b.indexOf(e) === -1 && b.push(e); + return a; + } + function Tc(a, b, c, d, e) { + switch (b) { + case "focusin": + return Kc = Sc(Kc, a, b, c, d, e), true; + case "dragenter": + return Lc = Sc(Lc, a, b, c, d, e), true; + case "mouseover": + return Mc = Sc(Mc, a, b, c, d, e), true; + case "pointerover": + var f = e.pointerId; + Nc.set(f, Sc(Nc.get(f) || null, a, b, c, d, e)); + return true; + case "gotpointercapture": + return f = e.pointerId, Oc.set(f, Sc(Oc.get(f) || null, a, b, c, d, e)), true; + } + return false; + } + function Uc(a) { + var b = Vc(a.target); + if (b !== null) { + var c = Ub(b); + if (c !== null) { + if (b = c.tag, b === 13) { + if (b = Vb(c), b !== null) { + a.blockedOn = b; + Hc(a.priority, function() { + Fc(c); + }); + return; } + } else if (b === 3 && c.stateNode.current.memoizedState.isDehydrated) { + a.blockedOn = c.tag === 3 ? c.stateNode.containerInfo : null; + return; } } - function checkHtmlStringCoercion(value) { - { - if (willCoercionThrow(value)) { - error("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", typeName(value)); - return testStringCoercion(value); - } - } - } - function checkFormFieldValueStringCoercion(value) { - { - if (willCoercionThrow(value)) { - error("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.", typeName(value)); - return testStringCoercion(value); - } - } + } + a.blockedOn = null; + } + function Wc(a) { + if (a.blockedOn !== null) + return false; + for (var b = a.targetContainers; 0 < b.length; ) { + var c = Xc(a.domEventName, a.eventSystemFlags, b[0], a.nativeEvent); + if (c === null) { + c = a.nativeEvent; + var d = new c.constructor(c.type, c); + vb = d; + c.target.dispatchEvent(d); + vb = null; + } else + return b = Bb(c), b !== null && Ec(b), a.blockedOn = c, false; + b.shift(); + } + return true; + } + function Yc(a, b, c) { + Wc(a) && c.delete(b); + } + function Zc() { + Ic = false; + Kc !== null && Wc(Kc) && (Kc = null); + Lc !== null && Wc(Lc) && (Lc = null); + Mc !== null && Wc(Mc) && (Mc = null); + Nc.forEach(Yc); + Oc.forEach(Yc); + } + function $c(a, b) { + a.blockedOn === b && (a.blockedOn = null, Ic || (Ic = true, ba.unstable_scheduleCallback(ba.unstable_NormalPriority, Zc))); + } + function ad(a) { + function b(b2) { + return $c(b2, a); + } + if (0 < Jc.length) { + $c(Jc[0], a); + for (var c = 1; c < Jc.length; c++) { + var d = Jc[c]; + d.blockedOn === a && (d.blockedOn = null); } - var RESERVED = 0; - var STRING = 1; - var BOOLEANISH_STRING = 2; - var BOOLEAN = 3; - var OVERLOADED_BOOLEAN = 4; - var NUMERIC = 5; - var POSITIVE_NUMERIC = 6; - var ATTRIBUTE_NAME_START_CHAR = ":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"; - var ATTRIBUTE_NAME_CHAR = ATTRIBUTE_NAME_START_CHAR + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040"; - var VALID_ATTRIBUTE_NAME_REGEX = new RegExp("^[" + ATTRIBUTE_NAME_START_CHAR + "][" + ATTRIBUTE_NAME_CHAR + "]*$"); - var illegalAttributeNameCache = {}; - var validatedAttributeNameCache = {}; - function isAttributeNameSafe(attributeName) { - if (hasOwnProperty.call(validatedAttributeNameCache, attributeName)) { - return true; - } - if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) { - return false; - } - if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName)) { - validatedAttributeNameCache[attributeName] = true; - return true; + } + Kc !== null && $c(Kc, a); + Lc !== null && $c(Lc, a); + Mc !== null && $c(Mc, a); + Nc.forEach(b); + Oc.forEach(b); + for (c = 0; c < Pc.length; c++) + d = Pc[c], d.blockedOn === a && (d.blockedOn = null); + for (; 0 < Pc.length && (c = Pc[0], c.blockedOn === null); ) + Uc(c), c.blockedOn === null && Pc.shift(); + } + var bd = ta.ReactCurrentBatchConfig; + var cd = true; + function dd(a, b, c, d) { + var e = C, f = bd.transition; + bd.transition = null; + try { + C = 1, ed(a, b, c, d); + } finally { + C = e, bd.transition = f; + } + } + function fd(a, b, c, d) { + var e = C, f = bd.transition; + bd.transition = null; + try { + C = 4, ed(a, b, c, d); + } finally { + C = e, bd.transition = f; + } + } + function ed(a, b, c, d) { + if (cd) { + var e = Xc(a, b, c, d); + if (e === null) + gd(a, b, d, hd, c), Rc(a, d); + else if (Tc(e, a, b, c, d)) + d.stopPropagation(); + else if (Rc(a, d), b & 4 && -1 < Qc.indexOf(a)) { + for (; e !== null; ) { + var f = Bb(e); + f !== null && Dc(f); + f = Xc(a, b, c, d); + f === null && gd(a, b, d, hd, c); + if (f === e) + break; + e = f; } - illegalAttributeNameCache[attributeName] = true; - { - error("Invalid attribute name: `%s`", attributeName); + e !== null && d.stopPropagation(); + } else + gd(a, b, d, null, c); + } + } + var hd = null; + function Xc(a, b, c, d) { + hd = null; + a = wb(d); + a = Vc(a); + if (a !== null) + if (b = Ub(a), b === null) + a = null; + else if (c = b.tag, c === 13) { + a = Vb(b); + if (a !== null) + return a; + a = null; + } else if (c === 3) { + if (b.stateNode.current.memoizedState.isDehydrated) + return b.tag === 3 ? b.stateNode.containerInfo : null; + a = null; + } else + b !== a && (a = null); + hd = a; + return null; + } + function id(a) { + switch (a) { + case "cancel": + case "click": + case "close": + case "contextmenu": + case "copy": + case "cut": + case "auxclick": + case "dblclick": + case "dragend": + case "dragstart": + case "drop": + case "focusin": + case "focusout": + case "input": + case "invalid": + case "keydown": + case "keypress": + case "keyup": + case "mousedown": + case "mouseup": + case "paste": + case "pause": + case "play": + case "pointercancel": + case "pointerdown": + case "pointerup": + case "ratechange": + case "reset": + case "resize": + case "seeked": + case "submit": + case "touchcancel": + case "touchend": + case "touchstart": + case "volumechange": + case "change": + case "selectionchange": + case "textInput": + case "compositionstart": + case "compositionend": + case "compositionupdate": + case "beforeblur": + case "afterblur": + case "beforeinput": + case "blur": + case "fullscreenchange": + case "focus": + case "hashchange": + case "popstate": + case "select": + case "selectstart": + return 1; + case "drag": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "mousemove": + case "mouseout": + case "mouseover": + case "pointermove": + case "pointerout": + case "pointerover": + case "scroll": + case "toggle": + case "touchmove": + case "wheel": + case "mouseenter": + case "mouseleave": + case "pointerenter": + case "pointerleave": + return 4; + case "message": + switch (dc()) { + case ec: + return 1; + case fc: + return 4; + case gc: + case hc: + return 16; + case ic: + return 536870912; + default: + return 16; } + default: + return 16; + } + } + var jd = null; + var kd = null; + var ld = null; + function md() { + if (ld) + return ld; + var a, b = kd, c = b.length, d, e = "value" in jd ? jd.value : jd.textContent, f = e.length; + for (a = 0; a < c && b[a] === e[a]; a++) + ; + var g = c - a; + for (d = 1; d <= g && b[c - d] === e[f - d]; d++) + ; + return ld = e.slice(a, 1 < d ? 1 - d : void 0); + } + function nd(a) { + var b = a.keyCode; + "charCode" in a ? (a = a.charCode, a === 0 && b === 13 && (a = 13)) : a = b; + a === 10 && (a = 13); + return 32 <= a || a === 13 ? a : 0; + } + function od() { + return true; + } + function pd() { + return false; + } + function qd(a) { + function b(b2, d, e, f, g) { + this._reactName = b2; + this._targetInst = e; + this.type = d; + this.nativeEvent = f; + this.target = g; + this.currentTarget = null; + for (var c in a) + a.hasOwnProperty(c) && (b2 = a[c], this[c] = b2 ? b2(f) : f[c]); + this.isDefaultPrevented = (f.defaultPrevented != null ? f.defaultPrevented : f.returnValue === false) ? od : pd; + this.isPropagationStopped = pd; + return this; + } + A(b.prototype, { preventDefault: function() { + this.defaultPrevented = true; + var a2 = this.nativeEvent; + a2 && (a2.preventDefault ? a2.preventDefault() : typeof a2.returnValue !== "unknown" && (a2.returnValue = false), this.isDefaultPrevented = od); + }, stopPropagation: function() { + var a2 = this.nativeEvent; + a2 && (a2.stopPropagation ? a2.stopPropagation() : typeof a2.cancelBubble !== "unknown" && (a2.cancelBubble = true), this.isPropagationStopped = od); + }, persist: function() { + }, isPersistent: od }); + return b; + } + var rd = { eventPhase: 0, bubbles: 0, cancelable: 0, timeStamp: function(a) { + return a.timeStamp || Date.now(); + }, defaultPrevented: 0, isTrusted: 0 }; + var sd = qd(rd); + var td = A({}, rd, { view: 0, detail: 0 }); + var ud = qd(td); + var vd; + var wd; + var xd; + var zd = A({}, td, { screenX: 0, screenY: 0, clientX: 0, clientY: 0, pageX: 0, pageY: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, getModifierState: yd, button: 0, buttons: 0, relatedTarget: function(a) { + return a.relatedTarget === void 0 ? a.fromElement === a.srcElement ? a.toElement : a.fromElement : a.relatedTarget; + }, movementX: function(a) { + if ("movementX" in a) + return a.movementX; + a !== xd && (xd && a.type === "mousemove" ? (vd = a.screenX - xd.screenX, wd = a.screenY - xd.screenY) : wd = vd = 0, xd = a); + return vd; + }, movementY: function(a) { + return "movementY" in a ? a.movementY : wd; + } }); + var Ad = qd(zd); + var Bd = A({}, zd, { dataTransfer: 0 }); + var Cd = qd(Bd); + var Dd = A({}, td, { relatedTarget: 0 }); + var Ed = qd(Dd); + var Fd = A({}, rd, { animationName: 0, elapsedTime: 0, pseudoElement: 0 }); + var Gd = qd(Fd); + var Hd = A({}, rd, { clipboardData: function(a) { + return "clipboardData" in a ? a.clipboardData : window.clipboardData; + } }); + var Id = qd(Hd); + var Jd = A({}, rd, { data: 0 }); + var Kd = qd(Jd); + var Ld = { + Esc: "Escape", + Spacebar: " ", + Left: "ArrowLeft", + Up: "ArrowUp", + Right: "ArrowRight", + Down: "ArrowDown", + Del: "Delete", + Win: "OS", + Menu: "ContextMenu", + Apps: "ContextMenu", + Scroll: "ScrollLock", + MozPrintableKey: "Unidentified" + }; + var Md = { + 8: "Backspace", + 9: "Tab", + 12: "Clear", + 13: "Enter", + 16: "Shift", + 17: "Control", + 18: "Alt", + 19: "Pause", + 20: "CapsLock", + 27: "Escape", + 32: " ", + 33: "PageUp", + 34: "PageDown", + 35: "End", + 36: "Home", + 37: "ArrowLeft", + 38: "ArrowUp", + 39: "ArrowRight", + 40: "ArrowDown", + 45: "Insert", + 46: "Delete", + 112: "F1", + 113: "F2", + 114: "F3", + 115: "F4", + 116: "F5", + 117: "F6", + 118: "F7", + 119: "F8", + 120: "F9", + 121: "F10", + 122: "F11", + 123: "F12", + 144: "NumLock", + 145: "ScrollLock", + 224: "Meta" + }; + var Nd = { Alt: "altKey", Control: "ctrlKey", Meta: "metaKey", Shift: "shiftKey" }; + function Od(a) { + var b = this.nativeEvent; + return b.getModifierState ? b.getModifierState(a) : (a = Nd[a]) ? !!b[a] : false; + } + function yd() { + return Od; + } + var Pd = A({}, td, { key: function(a) { + if (a.key) { + var b = Ld[a.key] || a.key; + if (b !== "Unidentified") + return b; + } + return a.type === "keypress" ? (a = nd(a), a === 13 ? "Enter" : String.fromCharCode(a)) : a.type === "keydown" || a.type === "keyup" ? Md[a.keyCode] || "Unidentified" : ""; + }, code: 0, location: 0, ctrlKey: 0, shiftKey: 0, altKey: 0, metaKey: 0, repeat: 0, locale: 0, getModifierState: yd, charCode: function(a) { + return a.type === "keypress" ? nd(a) : 0; + }, keyCode: function(a) { + return a.type === "keydown" || a.type === "keyup" ? a.keyCode : 0; + }, which: function(a) { + return a.type === "keypress" ? nd(a) : a.type === "keydown" || a.type === "keyup" ? a.keyCode : 0; + } }); + var Qd = qd(Pd); + var Rd = A({}, zd, { pointerId: 0, width: 0, height: 0, pressure: 0, tangentialPressure: 0, tiltX: 0, tiltY: 0, twist: 0, pointerType: 0, isPrimary: 0 }); + var Sd = qd(Rd); + var Td = A({}, td, { touches: 0, targetTouches: 0, changedTouches: 0, altKey: 0, metaKey: 0, ctrlKey: 0, shiftKey: 0, getModifierState: yd }); + var Ud = qd(Td); + var Vd = A({}, rd, { propertyName: 0, elapsedTime: 0, pseudoElement: 0 }); + var Wd = qd(Vd); + var Xd = A({}, zd, { + deltaX: function(a) { + return "deltaX" in a ? a.deltaX : "wheelDeltaX" in a ? -a.wheelDeltaX : 0; + }, + deltaY: function(a) { + return "deltaY" in a ? a.deltaY : "wheelDeltaY" in a ? -a.wheelDeltaY : "wheelDelta" in a ? -a.wheelDelta : 0; + }, + deltaZ: 0, + deltaMode: 0 + }); + var Yd = qd(Xd); + var Zd = [9, 13, 27, 32]; + var $d = ia && "CompositionEvent" in window; + var ae = null; + ia && "documentMode" in document && (ae = document.documentMode); + var be = ia && "TextEvent" in window && !ae; + var ce = ia && (!$d || ae && 8 < ae && 11 >= ae); + var de = String.fromCharCode(32); + var ee = false; + function fe(a, b) { + switch (a) { + case "keyup": + return Zd.indexOf(b.keyCode) !== -1; + case "keydown": + return b.keyCode !== 229; + case "keypress": + case "mousedown": + case "focusout": + return true; + default: return false; - } - function shouldIgnoreAttribute(name, propertyInfo, isCustomComponentTag) { - if (propertyInfo !== null) { - return propertyInfo.type === RESERVED; - } - if (isCustomComponentTag) { - return false; - } - if (name.length > 2 && (name[0] === "o" || name[0] === "O") && (name[1] === "n" || name[1] === "N")) { - return true; + } + } + function ge(a) { + a = a.detail; + return typeof a === "object" && "data" in a ? a.data : null; + } + var he = false; + function ie(a, b) { + switch (a) { + case "compositionend": + return ge(b); + case "keypress": + if (b.which !== 32) + return null; + ee = true; + return de; + case "textInput": + return a = b.data, a === de && ee ? null : a; + default: + return null; + } + } + function je(a, b) { + if (he) + return a === "compositionend" || !$d && fe(a, b) ? (a = md(), ld = kd = jd = null, he = false, a) : null; + switch (a) { + case "paste": + return null; + case "keypress": + if (!(b.ctrlKey || b.altKey || b.metaKey) || b.ctrlKey && b.altKey) { + if (b.char && 1 < b.char.length) + return b.char; + if (b.which) + return String.fromCharCode(b.which); } + return null; + case "compositionend": + return ce && b.locale !== "ko" ? null : b.data; + default: + return null; + } + } + var ke = { color: true, date: true, datetime: true, "datetime-local": true, email: true, month: true, number: true, password: true, range: true, search: true, tel: true, text: true, time: true, url: true, week: true }; + function le(a) { + var b = a && a.nodeName && a.nodeName.toLowerCase(); + return b === "input" ? !!ke[a.type] : b === "textarea" ? true : false; + } + function me(a, b, c, d) { + Db(d); + b = ne(b, "onChange"); + 0 < b.length && (c = new sd("onChange", "change", null, c, d), a.push({ event: c, listeners: b })); + } + var oe = null; + var pe = null; + function qe(a) { + re(a, 0); + } + function se(a) { + var b = te(a); + if (Va(b)) + return a; + } + function ue(a, b) { + if (a === "change") + return b; + } + var ve = false; + if (ia) { + if (ia) { + xe = "oninput" in document; + if (!xe) { + ye = document.createElement("div"); + ye.setAttribute("oninput", "return;"); + xe = typeof ye.oninput === "function"; + } + we = xe; + } else + we = false; + ve = we && (!document.documentMode || 9 < document.documentMode); + } + var we; + var xe; + var ye; + function ze() { + oe && (oe.detachEvent("onpropertychange", Ae), pe = oe = null); + } + function Ae(a) { + if (a.propertyName === "value" && se(pe)) { + var b = []; + me(b, pe, a, wb(a)); + Ib(qe, b); + } + } + function Be(a, b, c) { + a === "focusin" ? (ze(), oe = b, pe = c, oe.attachEvent("onpropertychange", Ae)) : a === "focusout" && ze(); + } + function Ce(a) { + if (a === "selectionchange" || a === "keyup" || a === "keydown") + return se(pe); + } + function De(a, b) { + if (a === "click") + return se(b); + } + function Ee(a, b) { + if (a === "input" || a === "change") + return se(b); + } + function Fe(a, b) { + return a === b && (a !== 0 || 1 / a === 1 / b) || a !== a && b !== b; + } + var Ge = typeof Object.is === "function" ? Object.is : Fe; + function He(a, b) { + if (Ge(a, b)) + return true; + if (typeof a !== "object" || a === null || typeof b !== "object" || b === null) + return false; + var c = Object.keys(a), d = Object.keys(b); + if (c.length !== d.length) + return false; + for (d = 0; d < c.length; d++) { + var e = c[d]; + if (!ja.call(b, e) || !Ge(a[e], b[e])) return false; + } + return true; + } + function Ie(a) { + for (; a && a.firstChild; ) + a = a.firstChild; + return a; + } + function Je(a, b) { + var c = Ie(a); + a = 0; + for (var d; c; ) { + if (c.nodeType === 3) { + d = a + c.textContent.length; + if (a <= b && d >= b) + return { node: c, offset: b - a }; + a = d; + } + a: { + for (; c; ) { + if (c.nextSibling) { + c = c.nextSibling; + break a; + } + c = c.parentNode; + } + c = void 0; + } + c = Ie(c); + } + } + function Ke(a, b) { + return a && b ? a === b ? true : a && a.nodeType === 3 ? false : b && b.nodeType === 3 ? Ke(a, b.parentNode) : "contains" in a ? a.contains(b) : a.compareDocumentPosition ? !!(a.compareDocumentPosition(b) & 16) : false : false; + } + function Le() { + for (var a = window, b = Wa(); b instanceof a.HTMLIFrameElement; ) { + try { + var c = typeof b.contentWindow.location.href === "string"; + } catch (d) { + c = false; + } + if (c) + a = b.contentWindow; + else + break; + b = Wa(a.document); + } + return b; + } + function Me(a) { + var b = a && a.nodeName && a.nodeName.toLowerCase(); + return b && (b === "input" && (a.type === "text" || a.type === "search" || a.type === "tel" || a.type === "url" || a.type === "password") || b === "textarea" || a.contentEditable === "true"); + } + function Ne(a) { + var b = Le(), c = a.focusedElem, d = a.selectionRange; + if (b !== c && c && c.ownerDocument && Ke(c.ownerDocument.documentElement, c)) { + if (d !== null && Me(c)) { + if (b = d.start, a = d.end, a === void 0 && (a = b), "selectionStart" in c) + c.selectionStart = b, c.selectionEnd = Math.min(a, c.value.length); + else if (a = (b = c.ownerDocument || document) && b.defaultView || window, a.getSelection) { + a = a.getSelection(); + var e = c.textContent.length, f = Math.min(d.start, e); + d = d.end === void 0 ? f : Math.min(d.end, e); + !a.extend && f > d && (e = d, d = f, f = e); + e = Je(c, f); + var g = Je(c, d); + e && g && (a.rangeCount !== 1 || a.anchorNode !== e.node || a.anchorOffset !== e.offset || a.focusNode !== g.node || a.focusOffset !== g.offset) && (b = b.createRange(), b.setStart(e.node, e.offset), a.removeAllRanges(), f > d ? (a.addRange(b), a.extend(g.node, g.offset)) : (b.setEnd(g.node, g.offset), a.addRange(b))); + } + } + b = []; + for (a = c; a = a.parentNode; ) + a.nodeType === 1 && b.push({ element: a, left: a.scrollLeft, top: a.scrollTop }); + typeof c.focus === "function" && c.focus(); + for (c = 0; c < b.length; c++) + a = b[c], a.element.scrollLeft = a.left, a.element.scrollTop = a.top; + } + } + var Oe = ia && "documentMode" in document && 11 >= document.documentMode; + var Pe = null; + var Qe = null; + var Re = null; + var Se = false; + function Te(a, b, c) { + var d = c.window === c ? c.document : c.nodeType === 9 ? c : c.ownerDocument; + Se || Pe == null || Pe !== Wa(d) || (d = Pe, "selectionStart" in d && Me(d) ? d = { start: d.selectionStart, end: d.selectionEnd } : (d = (d.ownerDocument && d.ownerDocument.defaultView || window).getSelection(), d = { anchorNode: d.anchorNode, anchorOffset: d.anchorOffset, focusNode: d.focusNode, focusOffset: d.focusOffset }), Re && He(Re, d) || (Re = d, d = ne(Qe, "onSelect"), 0 < d.length && (b = new sd("onSelect", "select", null, b, c), a.push({ event: b, listeners: d }), b.target = Pe))); + } + function Ue(a, b) { + var c = {}; + c[a.toLowerCase()] = b.toLowerCase(); + c["Webkit" + a] = "webkit" + b; + c["Moz" + a] = "moz" + b; + return c; + } + var Ve = { animationend: Ue("Animation", "AnimationEnd"), animationiteration: Ue("Animation", "AnimationIteration"), animationstart: Ue("Animation", "AnimationStart"), transitionend: Ue("Transition", "TransitionEnd") }; + var We = {}; + var Xe = {}; + ia && (Xe = document.createElement("div").style, "AnimationEvent" in window || (delete Ve.animationend.animation, delete Ve.animationiteration.animation, delete Ve.animationstart.animation), "TransitionEvent" in window || delete Ve.transitionend.transition); + function Ye(a) { + if (We[a]) + return We[a]; + if (!Ve[a]) + return a; + var b = Ve[a], c; + for (c in b) + if (b.hasOwnProperty(c) && c in Xe) + return We[a] = b[c]; + return a; + } + var Ze = Ye("animationend"); + var $e = Ye("animationiteration"); + var af = Ye("animationstart"); + var bf = Ye("transitionend"); + var cf = new Map(); + var df = "abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" "); + function ef(a, b) { + cf.set(a, b); + fa(b, [a]); + } + for (ff = 0; ff < df.length; ff++) { + gf = df[ff], hf = gf.toLowerCase(), jf = gf[0].toUpperCase() + gf.slice(1); + ef(hf, "on" + jf); + } + var gf; + var hf; + var jf; + var ff; + ef(Ze, "onAnimationEnd"); + ef($e, "onAnimationIteration"); + ef(af, "onAnimationStart"); + ef("dblclick", "onDoubleClick"); + ef("focusin", "onFocus"); + ef("focusout", "onBlur"); + ef(bf, "onTransitionEnd"); + ha("onMouseEnter", ["mouseout", "mouseover"]); + ha("onMouseLeave", ["mouseout", "mouseover"]); + ha("onPointerEnter", ["pointerout", "pointerover"]); + ha("onPointerLeave", ["pointerout", "pointerover"]); + fa("onChange", "change click focusin focusout input keydown keyup selectionchange".split(" ")); + fa("onSelect", "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")); + fa("onBeforeInput", ["compositionend", "keypress", "textInput", "paste"]); + fa("onCompositionEnd", "compositionend focusout keydown keypress keyup mousedown".split(" ")); + fa("onCompositionStart", "compositionstart focusout keydown keypress keyup mousedown".split(" ")); + fa("onCompositionUpdate", "compositionupdate focusout keydown keypress keyup mousedown".split(" ")); + var kf = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "); + var lf = new Set("cancel close invalid load scroll toggle".split(" ").concat(kf)); + function mf(a, b, c) { + var d = a.type || "unknown-event"; + a.currentTarget = c; + Tb(d, b, void 0, a); + a.currentTarget = null; + } + function re(a, b) { + b = (b & 4) !== 0; + for (var c = 0; c < a.length; c++) { + var d = a[c], e = d.event; + d = d.listeners; + a: { + var f = void 0; + if (b) + for (var g = d.length - 1; 0 <= g; g--) { + var h = d[g], k = h.instance, l = h.currentTarget; + h = h.listener; + if (k !== f && e.isPropagationStopped()) + break a; + mf(e, h, l); + f = k; + } + else + for (g = 0; g < d.length; g++) { + h = d[g]; + k = h.instance; + l = h.currentTarget; + h = h.listener; + if (k !== f && e.isPropagationStopped()) + break a; + mf(e, h, l); + f = k; + } } - function shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag) { - if (propertyInfo !== null && propertyInfo.type === RESERVED) { - return false; - } - switch (typeof value) { - case "function": - case "symbol": - return true; - case "boolean": { - if (isCustomComponentTag) { - return false; + } + if (Pb) + throw a = Qb, Pb = false, Qb = null, a; + } + function D(a, b) { + var c = b[nf]; + c === void 0 && (c = b[nf] = new Set()); + var d = a + "__bubble"; + c.has(d) || (of(b, a, 2, false), c.add(d)); + } + function pf(a, b, c) { + var d = 0; + b && (d |= 4); + of(c, a, d, b); + } + var qf = "_reactListening" + Math.random().toString(36).slice(2); + function rf(a) { + if (!a[qf]) { + a[qf] = true; + da.forEach(function(b2) { + b2 !== "selectionchange" && (lf.has(b2) || pf(b2, false, a), pf(b2, true, a)); + }); + var b = a.nodeType === 9 ? a : a.ownerDocument; + b === null || b[qf] || (b[qf] = true, pf("selectionchange", false, b)); + } + } + function of(a, b, c, d) { + switch (id(b)) { + case 1: + var e = dd; + break; + case 4: + e = fd; + break; + default: + e = ed; + } + c = e.bind(null, b, c, a); + e = void 0; + !Kb || b !== "touchstart" && b !== "touchmove" && b !== "wheel" || (e = true); + d ? e !== void 0 ? a.addEventListener(b, c, { capture: true, passive: e }) : a.addEventListener(b, c, true) : e !== void 0 ? a.addEventListener(b, c, { passive: e }) : a.addEventListener(b, c, false); + } + function gd(a, b, c, d, e) { + var f = d; + if ((b & 1) === 0 && (b & 2) === 0 && d !== null) + a: + for (; ; ) { + if (d === null) + return; + var g = d.tag; + if (g === 3 || g === 4) { + var h = d.stateNode.containerInfo; + if (h === e || h.nodeType === 8 && h.parentNode === e) + break; + if (g === 4) + for (g = d.return; g !== null; ) { + var k = g.tag; + if (k === 3 || k === 4) { + if (k = g.stateNode.containerInfo, k === e || k.nodeType === 8 && k.parentNode === e) + return; + } + g = g.return; + } + for (; h !== null; ) { + g = Vc(h); + if (g === null) + return; + k = g.tag; + if (k === 5 || k === 6) { + d = f = g; + continue a; + } + h = h.parentNode; + } + } + d = d.return; + } + Ib(function() { + var d2 = f, e2 = wb(c), g2 = []; + a: { + var h2 = cf.get(a); + if (h2 !== void 0) { + var k2 = sd, m = a; + switch (a) { + case "keypress": + if (nd(c) === 0) + break a; + case "keydown": + case "keyup": + k2 = Qd; + break; + case "focusin": + m = "focus"; + k2 = Ed; + break; + case "focusout": + m = "blur"; + k2 = Ed; + break; + case "beforeblur": + case "afterblur": + k2 = Ed; + break; + case "click": + if (c.button === 2) + break a; + case "auxclick": + case "dblclick": + case "mousedown": + case "mousemove": + case "mouseup": + case "mouseout": + case "mouseover": + case "contextmenu": + k2 = Ad; + break; + case "drag": + case "dragend": + case "dragenter": + case "dragexit": + case "dragleave": + case "dragover": + case "dragstart": + case "drop": + k2 = Cd; + break; + case "touchcancel": + case "touchend": + case "touchmove": + case "touchstart": + k2 = Ud; + break; + case Ze: + case $e: + case af: + k2 = Gd; + break; + case bf: + k2 = Wd; + break; + case "scroll": + k2 = ud; + break; + case "wheel": + k2 = Yd; + break; + case "copy": + case "cut": + case "paste": + k2 = Id; + break; + case "gotpointercapture": + case "lostpointercapture": + case "pointercancel": + case "pointerdown": + case "pointermove": + case "pointerout": + case "pointerover": + case "pointerup": + k2 = Sd; + } + var w = (b & 4) !== 0, J = !w && a === "scroll", v = w ? h2 !== null ? h2 + "Capture" : null : h2; + w = []; + for (var x = d2, r; x !== null; ) { + r = x; + var F = r.stateNode; + r.tag === 5 && F !== null && (r = F, v !== null && (F = Jb(x, v), F != null && w.push(sf(x, F, r)))); + if (J) + break; + x = x.return; + } + 0 < w.length && (h2 = new k2(h2, m, null, c, e2), g2.push({ event: h2, listeners: w })); + } + } + if ((b & 7) === 0) { + a: { + h2 = a === "mouseover" || a === "pointerover"; + k2 = a === "mouseout" || a === "pointerout"; + if (h2 && c !== vb && (m = c.relatedTarget || c.fromElement) && (Vc(m) || m[tf])) + break a; + if (k2 || h2) { + h2 = e2.window === e2 ? e2 : (h2 = e2.ownerDocument) ? h2.defaultView || h2.parentWindow : window; + if (k2) { + if (m = c.relatedTarget || c.toElement, k2 = d2, m = m ? Vc(m) : null, m !== null && (J = Ub(m), m !== J || m.tag !== 5 && m.tag !== 6)) + m = null; + } else + k2 = null, m = d2; + if (k2 !== m) { + w = Ad; + F = "onMouseLeave"; + v = "onMouseEnter"; + x = "mouse"; + if (a === "pointerout" || a === "pointerover") + w = Sd, F = "onPointerLeave", v = "onPointerEnter", x = "pointer"; + J = k2 == null ? h2 : te(k2); + r = m == null ? h2 : te(m); + h2 = new w(F, x + "leave", k2, c, e2); + h2.target = J; + h2.relatedTarget = r; + F = null; + Vc(e2) === d2 && (w = new w(v, x + "enter", m, c, e2), w.target = r, w.relatedTarget = J, F = w); + J = F; + if (k2 && m) + b: { + w = k2; + v = m; + x = 0; + for (r = w; r; r = uf(r)) + x++; + r = 0; + for (F = v; F; F = uf(F)) + r++; + for (; 0 < x - r; ) + w = uf(w), x--; + for (; 0 < r - x; ) + v = uf(v), r--; + for (; x--; ) { + if (w === v || v !== null && w === v.alternate) + break b; + w = uf(w); + v = uf(v); + } + w = null; + } + else + w = null; + k2 !== null && vf(g2, h2, k2, w, false); + m !== null && J !== null && vf(g2, J, m, w, true); } - if (propertyInfo !== null) { - return !propertyInfo.acceptsBooleans; - } else { - var prefix2 = name.toLowerCase().slice(0, 5); - return prefix2 !== "data-" && prefix2 !== "aria-"; + } + } + a: { + h2 = d2 ? te(d2) : window; + k2 = h2.nodeName && h2.nodeName.toLowerCase(); + if (k2 === "select" || k2 === "input" && h2.type === "file") + var Z = ue; + else if (le(h2)) + if (ve) + Z = Ee; + else { + Z = Ce; + var ya = Be; } + else + (k2 = h2.nodeName) && k2.toLowerCase() === "input" && (h2.type === "checkbox" || h2.type === "radio") && (Z = De); + if (Z && (Z = Z(a, d2))) { + me(g2, Z, c, e2); + break a; } - default: - return false; + ya && ya(a, h2, d2); + a === "focusout" && (ya = h2._wrapperState) && ya.controlled && h2.type === "number" && bb(h2, "number", h2.value); } + ya = d2 ? te(d2) : window; + switch (a) { + case "focusin": + if (le(ya) || ya.contentEditable === "true") + Pe = ya, Qe = d2, Re = null; + break; + case "focusout": + Re = Qe = Pe = null; + break; + case "mousedown": + Se = true; + break; + case "contextmenu": + case "mouseup": + case "dragend": + Se = false; + Te(g2, c, e2); + break; + case "selectionchange": + if (Oe) + break; + case "keydown": + case "keyup": + Te(g2, c, e2); + } + var ab; + if ($d) + b: { + switch (a) { + case "compositionstart": + var ca = "onCompositionStart"; + break b; + case "compositionend": + ca = "onCompositionEnd"; + break b; + case "compositionupdate": + ca = "onCompositionUpdate"; + break b; + } + ca = void 0; + } + else + he ? fe(a, c) && (ca = "onCompositionEnd") : a === "keydown" && c.keyCode === 229 && (ca = "onCompositionStart"); + ca && (ce && c.locale !== "ko" && (he || ca !== "onCompositionStart" ? ca === "onCompositionEnd" && he && (ab = md()) : (jd = e2, kd = "value" in jd ? jd.value : jd.textContent, he = true)), ya = ne(d2, ca), 0 < ya.length && (ca = new Kd(ca, a, null, c, e2), g2.push({ event: ca, listeners: ya }), ab ? ca.data = ab : (ab = ge(c), ab !== null && (ca.data = ab)))); + if (ab = be ? ie(a, c) : je(a, c)) + d2 = ne(d2, "onBeforeInput"), 0 < d2.length && (e2 = new Kd("onBeforeInput", "beforeinput", null, c, e2), g2.push({ event: e2, listeners: d2 }), e2.data = ab); + } + re(g2, b); + }); + } + function sf(a, b, c) { + return { instance: a, listener: b, currentTarget: c }; + } + function ne(a, b) { + for (var c = b + "Capture", d = []; a !== null; ) { + var e = a, f = e.stateNode; + e.tag === 5 && f !== null && (e = f, f = Jb(a, c), f != null && d.unshift(sf(a, f, e)), f = Jb(a, b), f != null && d.push(sf(a, f, e))); + a = a.return; + } + return d; + } + function uf(a) { + if (a === null) + return null; + do + a = a.return; + while (a && a.tag !== 5); + return a ? a : null; + } + function vf(a, b, c, d, e) { + for (var f = b._reactName, g = []; c !== null && c !== d; ) { + var h = c, k = h.alternate, l = h.stateNode; + if (k !== null && k === d) + break; + h.tag === 5 && l !== null && (h = l, e ? (k = Jb(c, f), k != null && g.unshift(sf(c, k, h))) : e || (k = Jb(c, f), k != null && g.push(sf(c, k, h)))); + c = c.return; + } + g.length !== 0 && a.push({ event: b, listeners: g }); + } + var wf = /\r\n?/g; + var xf = /\u0000|\uFFFD/g; + function yf(a) { + return (typeof a === "string" ? a : "" + a).replace(wf, "\n").replace(xf, ""); + } + function zf(a, b, c) { + b = yf(b); + if (yf(a) !== b && c) + throw Error(p(425)); + } + function Af() { + } + var Bf = null; + var Cf = null; + function Df(a, b) { + return a === "textarea" || a === "noscript" || typeof b.children === "string" || typeof b.children === "number" || typeof b.dangerouslySetInnerHTML === "object" && b.dangerouslySetInnerHTML !== null && b.dangerouslySetInnerHTML.__html != null; + } + var Ef = typeof setTimeout === "function" ? setTimeout : void 0; + var Ff = typeof clearTimeout === "function" ? clearTimeout : void 0; + var Gf = typeof Promise === "function" ? Promise : void 0; + var If = typeof queueMicrotask === "function" ? queueMicrotask : typeof Gf !== "undefined" ? function(a) { + return Gf.resolve(null).then(a).catch(Hf); + } : Ef; + function Hf(a) { + setTimeout(function() { + throw a; + }); + } + function Jf(a, b) { + var c = b, d = 0; + do { + var e = c.nextSibling; + a.removeChild(c); + if (e && e.nodeType === 8) + if (c = e.data, c === "/$") { + if (d === 0) { + a.removeChild(e); + ad(b); + return; + } + d--; + } else + c !== "$" && c !== "$?" && c !== "$!" || d++; + c = e; + } while (c); + ad(b); + } + function Kf(a) { + for (; a != null; a = a.nextSibling) { + var b = a.nodeType; + if (b === 1 || b === 3) + break; + if (b === 8) { + b = a.data; + if (b === "$" || b === "$!" || b === "$?") + break; + if (b === "/$") + return null; } - function shouldRemoveAttribute(name, value, propertyInfo, isCustomComponentTag) { - if (value === null || typeof value === "undefined") { - return true; - } - if (shouldRemoveAttributeWithWarning(name, value, propertyInfo, isCustomComponentTag)) { - return true; + } + return a; + } + function Lf(a) { + a = a.previousSibling; + for (var b = 0; a; ) { + if (a.nodeType === 8) { + var c = a.data; + if (c === "$" || c === "$!" || c === "$?") { + if (b === 0) + return a; + b--; + } else + c === "/$" && b++; + } + a = a.previousSibling; + } + return null; + } + var Mf = Math.random().toString(36).slice(2); + var Nf = "__reactFiber$" + Mf; + var Of = "__reactProps$" + Mf; + var tf = "__reactContainer$" + Mf; + var nf = "__reactEvents$" + Mf; + var Pf = "__reactListeners$" + Mf; + var Qf = "__reactHandles$" + Mf; + function Vc(a) { + var b = a[Nf]; + if (b) + return b; + for (var c = a.parentNode; c; ) { + if (b = c[tf] || c[Nf]) { + c = b.alternate; + if (b.child !== null || c !== null && c.child !== null) + for (a = Lf(a); a !== null; ) { + if (c = a[Nf]) + return c; + a = Lf(a); + } + return b; + } + a = c; + c = a.parentNode; + } + return null; + } + function Bb(a) { + a = a[Nf] || a[tf]; + return !a || a.tag !== 5 && a.tag !== 6 && a.tag !== 13 && a.tag !== 3 ? null : a; + } + function te(a) { + if (a.tag === 5 || a.tag === 6) + return a.stateNode; + throw Error(p(33)); + } + function Cb(a) { + return a[Of] || null; + } + var Rf = []; + var Sf = -1; + function Tf(a) { + return { current: a }; + } + function E(a) { + 0 > Sf || (a.current = Rf[Sf], Rf[Sf] = null, Sf--); + } + function G(a, b) { + Sf++; + Rf[Sf] = a.current; + a.current = b; + } + var Uf = {}; + var H = Tf(Uf); + var Vf = Tf(false); + var Wf = Uf; + function Xf(a, b) { + var c = a.type.contextTypes; + if (!c) + return Uf; + var d = a.stateNode; + if (d && d.__reactInternalMemoizedUnmaskedChildContext === b) + return d.__reactInternalMemoizedMaskedChildContext; + var e = {}, f; + for (f in c) + e[f] = b[f]; + d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = b, a.__reactInternalMemoizedMaskedChildContext = e); + return e; + } + function Yf(a) { + a = a.childContextTypes; + return a !== null && a !== void 0; + } + function Zf() { + E(Vf); + E(H); + } + function $f(a, b, c) { + if (H.current !== Uf) + throw Error(p(168)); + G(H, b); + G(Vf, c); + } + function ag(a, b, c) { + var d = a.stateNode; + b = b.childContextTypes; + if (typeof d.getChildContext !== "function") + return c; + d = d.getChildContext(); + for (var e in d) + if (!(e in b)) + throw Error(p(108, Qa(a) || "Unknown", e)); + return A({}, c, d); + } + function bg(a) { + a = (a = a.stateNode) && a.__reactInternalMemoizedMergedChildContext || Uf; + Wf = H.current; + G(H, a); + G(Vf, Vf.current); + return true; + } + function cg(a, b, c) { + var d = a.stateNode; + if (!d) + throw Error(p(169)); + c ? (a = ag(a, b, Wf), d.__reactInternalMemoizedMergedChildContext = a, E(Vf), E(H), G(H, a)) : E(Vf); + G(Vf, c); + } + var dg = null; + var eg = false; + var fg = false; + function gg(a) { + dg === null ? dg = [a] : dg.push(a); + } + function hg(a) { + eg = true; + gg(a); + } + function ig() { + if (!fg && dg !== null) { + fg = true; + var a = 0, b = C; + try { + var c = dg; + for (C = 1; a < c.length; a++) { + var d = c[a]; + do + d = d(true); + while (d !== null); + } + dg = null; + eg = false; + } catch (e) { + throw dg !== null && (dg = dg.slice(a + 1)), $b(ec, ig), e; + } finally { + C = b, fg = false; + } + } + return null; + } + var jg = ta.ReactCurrentBatchConfig; + function kg(a, b) { + if (a && a.defaultProps) { + b = A({}, b); + a = a.defaultProps; + for (var c in a) + b[c] === void 0 && (b[c] = a[c]); + return b; + } + return b; + } + var lg = Tf(null); + var mg = null; + var ng = null; + var og = null; + function pg() { + og = ng = mg = null; + } + function qg(a) { + var b = lg.current; + E(lg); + a._currentValue = b; + } + function rg(a, b, c) { + for (; a !== null; ) { + var d = a.alternate; + (a.childLanes & b) !== b ? (a.childLanes |= b, d !== null && (d.childLanes |= b)) : d !== null && (d.childLanes & b) !== b && (d.childLanes |= b); + if (a === c) + break; + a = a.return; + } + } + function sg(a, b) { + mg = a; + og = ng = null; + a = a.dependencies; + a !== null && a.firstContext !== null && ((a.lanes & b) !== 0 && (tg = true), a.firstContext = null); + } + function ug(a) { + var b = a._currentValue; + if (og !== a) + if (a = { context: a, memoizedValue: b, next: null }, ng === null) { + if (mg === null) + throw Error(p(308)); + ng = a; + mg.dependencies = { lanes: 0, firstContext: a }; + } else + ng = ng.next = a; + return b; + } + var vg = null; + var wg = false; + function xg(a) { + a.updateQueue = { baseState: a.memoizedState, firstBaseUpdate: null, lastBaseUpdate: null, shared: { pending: null, interleaved: null, lanes: 0 }, effects: null }; + } + function yg(a, b) { + a = a.updateQueue; + b.updateQueue === a && (b.updateQueue = { baseState: a.baseState, firstBaseUpdate: a.firstBaseUpdate, lastBaseUpdate: a.lastBaseUpdate, shared: a.shared, effects: a.effects }); + } + function zg(a, b) { + return { eventTime: a, lane: b, tag: 0, payload: null, callback: null, next: null }; + } + function Ag(a, b) { + var c = a.updateQueue; + c !== null && (c = c.shared, Bg(a) ? (a = c.interleaved, a === null ? (b.next = b, vg === null ? vg = [c] : vg.push(c)) : (b.next = a.next, a.next = b), c.interleaved = b) : (a = c.pending, a === null ? b.next = b : (b.next = a.next, a.next = b), c.pending = b)); + } + function Cg(a, b, c) { + b = b.updateQueue; + if (b !== null && (b = b.shared, (c & 4194240) !== 0)) { + var d = b.lanes; + d &= a.pendingLanes; + c |= d; + b.lanes = c; + Bc(a, c); + } + } + function Dg(a, b) { + var c = a.updateQueue, d = a.alternate; + if (d !== null && (d = d.updateQueue, c === d)) { + var e = null, f = null; + c = c.firstBaseUpdate; + if (c !== null) { + do { + var g = { eventTime: c.eventTime, lane: c.lane, tag: c.tag, payload: c.payload, callback: c.callback, next: null }; + f === null ? e = f = g : f = f.next = g; + c = c.next; + } while (c !== null); + f === null ? e = f = b : f = f.next = b; + } else + e = f = b; + c = { baseState: d.baseState, firstBaseUpdate: e, lastBaseUpdate: f, shared: d.shared, effects: d.effects }; + a.updateQueue = c; + return; + } + a = c.lastBaseUpdate; + a === null ? c.firstBaseUpdate = b : a.next = b; + c.lastBaseUpdate = b; + } + function Eg(a, b, c, d) { + var e = a.updateQueue; + wg = false; + var f = e.firstBaseUpdate, g = e.lastBaseUpdate, h = e.shared.pending; + if (h !== null) { + e.shared.pending = null; + var k = h, l = k.next; + k.next = null; + g === null ? f = l : g.next = l; + g = k; + var n = a.alternate; + n !== null && (n = n.updateQueue, h = n.lastBaseUpdate, h !== g && (h === null ? n.firstBaseUpdate = l : h.next = l, n.lastBaseUpdate = k)); + } + if (f !== null) { + var u = e.baseState; + g = 0; + n = l = k = null; + h = f; + do { + var q = h.lane, y = h.eventTime; + if ((d & q) === q) { + n !== null && (n = n.next = { + eventTime: y, + lane: 0, + tag: h.tag, + payload: h.payload, + callback: h.callback, + next: null + }); + a: { + var m = a, w = h; + q = b; + y = c; + switch (w.tag) { + case 1: + m = w.payload; + if (typeof m === "function") { + u = m.call(y, u, q); + break a; + } + u = m; + break a; + case 3: + m.flags = m.flags & -65537 | 128; + case 0: + m = w.payload; + q = typeof m === "function" ? m.call(y, u, q) : m; + if (q === null || q === void 0) + break a; + u = A({}, u, q); + break a; + case 2: + wg = true; + } + } + h.callback !== null && h.lane !== 0 && (a.flags |= 64, q = e.effects, q === null ? e.effects = [h] : q.push(h)); + } else + y = { eventTime: y, lane: q, tag: h.tag, payload: h.payload, callback: h.callback, next: null }, n === null ? (l = n = y, k = u) : n = n.next = y, g |= q; + h = h.next; + if (h === null) + if (h = e.shared.pending, h === null) + break; + else + q = h, h = q.next, q.next = null, e.lastBaseUpdate = q, e.shared.pending = null; + } while (1); + n === null && (k = u); + e.baseState = k; + e.firstBaseUpdate = l; + e.lastBaseUpdate = n; + b = e.shared.interleaved; + if (b !== null) { + e = b; + do + g |= e.lane, e = e.next; + while (e !== b); + } else + f === null && (e.shared.lanes = 0); + Fg |= g; + a.lanes = g; + a.memoizedState = u; + } + } + function Gg(a, b, c) { + a = b.effects; + b.effects = null; + if (a !== null) + for (b = 0; b < a.length; b++) { + var d = a[b], e = d.callback; + if (e !== null) { + d.callback = null; + d = c; + if (typeof e !== "function") + throw Error(p(191, e)); + e.call(d); } - if (isCustomComponentTag) { - return false; + } + } + var Hg = new aa.Component().refs; + function Ig(a, b, c, d) { + b = a.memoizedState; + c = c(d, b); + c = c === null || c === void 0 ? b : A({}, b, c); + a.memoizedState = c; + a.lanes === 0 && (a.updateQueue.baseState = c); + } + var Mg = { isMounted: function(a) { + return (a = a._reactInternals) ? Ub(a) === a : false; + }, enqueueSetState: function(a, b, c) { + a = a._reactInternals; + var d = Jg(), e = Kg(a), f = zg(d, e); + f.payload = b; + c !== void 0 && c !== null && (f.callback = c); + Ag(a, f); + b = Lg(a, e, d); + b !== null && Cg(b, a, e); + }, enqueueReplaceState: function(a, b, c) { + a = a._reactInternals; + var d = Jg(), e = Kg(a), f = zg(d, e); + f.tag = 1; + f.payload = b; + c !== void 0 && c !== null && (f.callback = c); + Ag(a, f); + b = Lg(a, e, d); + b !== null && Cg(b, a, e); + }, enqueueForceUpdate: function(a, b) { + a = a._reactInternals; + var c = Jg(), d = Kg(a), e = zg(c, d); + e.tag = 2; + b !== void 0 && b !== null && (e.callback = b); + Ag(a, e); + b = Lg(a, d, c); + b !== null && Cg(b, a, d); + } }; + function Ng(a, b, c, d, e, f, g) { + a = a.stateNode; + return typeof a.shouldComponentUpdate === "function" ? a.shouldComponentUpdate(d, f, g) : b.prototype && b.prototype.isPureReactComponent ? !He(c, d) || !He(e, f) : true; + } + function Og(a, b, c) { + var d = false, e = Uf; + var f = b.contextType; + typeof f === "object" && f !== null ? f = ug(f) : (e = Yf(b) ? Wf : H.current, d = b.contextTypes, f = (d = d !== null && d !== void 0) ? Xf(a, e) : Uf); + b = new b(c, f); + a.memoizedState = b.state !== null && b.state !== void 0 ? b.state : null; + b.updater = Mg; + a.stateNode = b; + b._reactInternals = a; + d && (a = a.stateNode, a.__reactInternalMemoizedUnmaskedChildContext = e, a.__reactInternalMemoizedMaskedChildContext = f); + return b; + } + function Pg(a, b, c, d) { + a = b.state; + typeof b.componentWillReceiveProps === "function" && b.componentWillReceiveProps(c, d); + typeof b.UNSAFE_componentWillReceiveProps === "function" && b.UNSAFE_componentWillReceiveProps(c, d); + b.state !== a && Mg.enqueueReplaceState(b, b.state, null); + } + function Qg(a, b, c, d) { + var e = a.stateNode; + e.props = c; + e.state = a.memoizedState; + e.refs = Hg; + xg(a); + var f = b.contextType; + typeof f === "object" && f !== null ? e.context = ug(f) : (f = Yf(b) ? Wf : H.current, e.context = Xf(a, f)); + e.state = a.memoizedState; + f = b.getDerivedStateFromProps; + typeof f === "function" && (Ig(a, b, f, c), e.state = a.memoizedState); + typeof b.getDerivedStateFromProps === "function" || typeof e.getSnapshotBeforeUpdate === "function" || typeof e.UNSAFE_componentWillMount !== "function" && typeof e.componentWillMount !== "function" || (b = e.state, typeof e.componentWillMount === "function" && e.componentWillMount(), typeof e.UNSAFE_componentWillMount === "function" && e.UNSAFE_componentWillMount(), b !== e.state && Mg.enqueueReplaceState(e, e.state, null), Eg(a, c, e, d), e.state = a.memoizedState); + typeof e.componentDidMount === "function" && (a.flags |= 4194308); + } + var Rg = []; + var Sg = 0; + var Tg = null; + var Ug = 0; + var Vg = []; + var Wg = 0; + var Xg = null; + var Yg = 1; + var Zg = ""; + function $g(a, b) { + Rg[Sg++] = Ug; + Rg[Sg++] = Tg; + Tg = a; + Ug = b; + } + function ah(a, b, c) { + Vg[Wg++] = Yg; + Vg[Wg++] = Zg; + Vg[Wg++] = Xg; + Xg = a; + var d = Yg; + a = Zg; + var e = 32 - nc(d) - 1; + d &= ~(1 << e); + c += 1; + var f = 32 - nc(b) + e; + if (30 < f) { + var g = e - e % 5; + f = (d & (1 << g) - 1).toString(32); + d >>= g; + e -= g; + Yg = 1 << 32 - nc(b) + e | c << e | d; + Zg = f + a; + } else + Yg = 1 << f | c << e | d, Zg = a; + } + function bh(a) { + a.return !== null && ($g(a, 1), ah(a, 1, 0)); + } + function ch(a) { + for (; a === Tg; ) + Tg = Rg[--Sg], Rg[Sg] = null, Ug = Rg[--Sg], Rg[Sg] = null; + for (; a === Xg; ) + Xg = Vg[--Wg], Vg[Wg] = null, Zg = Vg[--Wg], Vg[Wg] = null, Yg = Vg[--Wg], Vg[Wg] = null; + } + var dh = null; + var eh = null; + var I = false; + var fh = null; + function gh(a, b) { + var c = hh(5, null, null, 0); + c.elementType = "DELETED"; + c.stateNode = b; + c.return = a; + b = a.deletions; + b === null ? (a.deletions = [c], a.flags |= 16) : b.push(c); + } + function ih(a, b) { + switch (a.tag) { + case 5: + var c = a.type; + b = b.nodeType !== 1 || c.toLowerCase() !== b.nodeName.toLowerCase() ? null : b; + return b !== null ? (a.stateNode = b, dh = a, eh = Kf(b.firstChild), true) : false; + case 6: + return b = a.pendingProps === "" || b.nodeType !== 3 ? null : b, b !== null ? (a.stateNode = b, dh = a, eh = null, true) : false; + case 13: + return b = b.nodeType !== 8 ? null : b, b !== null ? (c = Xg !== null ? { id: Yg, overflow: Zg } : null, a.memoizedState = { dehydrated: b, treeContext: c, retryLane: 1073741824 }, c = hh(18, null, null, 0), c.stateNode = b, c.return = a, a.child = c, dh = a, eh = null, true) : false; + default: + return false; + } + } + function jh(a) { + return (a.mode & 1) !== 0 && (a.flags & 128) === 0; + } + function kh(a) { + if (I) { + var b = eh; + if (b) { + var c = b; + if (!ih(a, b)) { + if (jh(a)) + throw Error(p(418)); + b = Kf(c.nextSibling); + var d = dh; + b && ih(a, b) ? gh(d, c) : (a.flags = a.flags & -4097 | 2, I = false, dh = a); } - if (propertyInfo !== null) { - switch (propertyInfo.type) { - case BOOLEAN: - return !value; - case OVERLOADED_BOOLEAN: - return value === false; - case NUMERIC: - return isNaN(value); - case POSITIVE_NUMERIC: - return isNaN(value) || value < 1; + } else { + if (jh(a)) + throw Error(p(418)); + a.flags = a.flags & -4097 | 2; + I = false; + dh = a; + } + } + } + function lh(a) { + for (a = a.return; a !== null && a.tag !== 5 && a.tag !== 3 && a.tag !== 13; ) + a = a.return; + dh = a; + } + function mh(a) { + if (a !== dh) + return false; + if (!I) + return lh(a), I = true, false; + var b; + (b = a.tag !== 3) && !(b = a.tag !== 5) && (b = a.type, b = b !== "head" && b !== "body" && !Df(a.type, a.memoizedProps)); + if (b && (b = eh)) { + if (jh(a)) { + for (a = eh; a; ) + a = Kf(a.nextSibling); + throw Error(p(418)); + } + for (; b; ) + gh(a, b), b = Kf(b.nextSibling); + } + lh(a); + if (a.tag === 13) { + a = a.memoizedState; + a = a !== null ? a.dehydrated : null; + if (!a) + throw Error(p(317)); + a: { + a = a.nextSibling; + for (b = 0; a; ) { + if (a.nodeType === 8) { + var c = a.data; + if (c === "/$") { + if (b === 0) { + eh = Kf(a.nextSibling); + break a; + } + b--; + } else + c !== "$" && c !== "$!" && c !== "$?" || b++; } + a = a.nextSibling; } - return false; + eh = null; } - function getPropertyInfo(name) { - return properties.hasOwnProperty(name) ? properties[name] : null; + } else + eh = dh ? Kf(a.stateNode.nextSibling) : null; + return true; + } + function nh() { + eh = dh = null; + I = false; + } + function oh(a) { + fh === null ? fh = [a] : fh.push(a); + } + function ph(a, b, c) { + a = c.ref; + if (a !== null && typeof a !== "function" && typeof a !== "object") { + if (c._owner) { + c = c._owner; + if (c) { + if (c.tag !== 1) + throw Error(p(309)); + var d = c.stateNode; + } + if (!d) + throw Error(p(147, a)); + var e = d, f = "" + a; + if (b !== null && b.ref !== null && typeof b.ref === "function" && b.ref._stringRef === f) + return b.ref; + b = function(a2) { + var b2 = e.refs; + b2 === Hg && (b2 = e.refs = {}); + a2 === null ? delete b2[f] : b2[f] = a2; + }; + b._stringRef = f; + return b; } - function PropertyInfoRecord(name, type, mustUseProperty, attributeName, attributeNamespace, sanitizeURL2, removeEmptyString) { - this.acceptsBooleans = type === BOOLEANISH_STRING || type === BOOLEAN || type === OVERLOADED_BOOLEAN; - this.attributeName = attributeName; - this.attributeNamespace = attributeNamespace; - this.mustUseProperty = mustUseProperty; - this.propertyName = name; - this.type = type; - this.sanitizeURL = sanitizeURL2; - this.removeEmptyString = removeEmptyString; + if (typeof a !== "string") + throw Error(p(284)); + if (!c._owner) + throw Error(p(290, a)); + } + return a; + } + function qh(a, b) { + a = Object.prototype.toString.call(b); + throw Error(p(31, a === "[object Object]" ? "object with keys {" + Object.keys(b).join(", ") + "}" : a)); + } + function rh(a) { + var b = a._init; + return b(a._payload); + } + function sh(a) { + function b(b2, c2) { + if (a) { + var d2 = b2.deletions; + d2 === null ? (b2.deletions = [c2], b2.flags |= 16) : d2.push(c2); } - var properties = {}; - var reservedProps = [ - "children", - "dangerouslySetInnerHTML", - "defaultValue", - "defaultChecked", - "innerHTML", - "suppressContentEditableWarning", - "suppressHydrationWarning", - "style" - ]; - reservedProps.forEach(function(name) { - properties[name] = new PropertyInfoRecord(name, RESERVED, false, name, null, false, false); - }); - [["acceptCharset", "accept-charset"], ["className", "class"], ["htmlFor", "for"], ["httpEquiv", "http-equiv"]].forEach(function(_ref) { - var name = _ref[0], attributeName = _ref[1]; - properties[name] = new PropertyInfoRecord(name, STRING, false, attributeName, null, false, false); + } + function c(c2, d2) { + if (!a) + return null; + for (; d2 !== null; ) + b(c2, d2), d2 = d2.sibling; + return null; + } + function d(a2, b2) { + for (a2 = new Map(); b2 !== null; ) + b2.key !== null ? a2.set(b2.key, b2) : a2.set(b2.index, b2), b2 = b2.sibling; + return a2; + } + function e(a2, b2) { + a2 = th(a2, b2); + a2.index = 0; + a2.sibling = null; + return a2; + } + function f(b2, c2, d2) { + b2.index = d2; + if (!a) + return b2.flags |= 1048576, c2; + d2 = b2.alternate; + if (d2 !== null) + return d2 = d2.index, d2 < c2 ? (b2.flags |= 2, c2) : d2; + b2.flags |= 2; + return c2; + } + function g(b2) { + a && b2.alternate === null && (b2.flags |= 2); + return b2; + } + function h(a2, b2, c2, d2) { + if (b2 === null || b2.tag !== 6) + return b2 = uh(c2, a2.mode, d2), b2.return = a2, b2; + b2 = e(b2, c2); + b2.return = a2; + return b2; + } + function k(a2, b2, c2, d2) { + var f2 = c2.type; + if (f2 === wa) + return n(a2, b2, c2.props.children, d2, c2.key); + if (b2 !== null && (b2.elementType === f2 || typeof f2 === "object" && f2 !== null && f2.$$typeof === Ga && rh(f2) === b2.type)) + return d2 = e(b2, c2.props), d2.ref = ph(a2, b2, c2), d2.return = a2, d2; + d2 = vh(c2.type, c2.key, c2.props, null, a2.mode, d2); + d2.ref = ph(a2, b2, c2); + d2.return = a2; + return d2; + } + function l(a2, b2, c2, d2) { + if (b2 === null || b2.tag !== 4 || b2.stateNode.containerInfo !== c2.containerInfo || b2.stateNode.implementation !== c2.implementation) + return b2 = wh(c2, a2.mode, d2), b2.return = a2, b2; + b2 = e(b2, c2.children || []); + b2.return = a2; + return b2; + } + function n(a2, b2, c2, d2, f2) { + if (b2 === null || b2.tag !== 7) + return b2 = xh(c2, a2.mode, d2, f2), b2.return = a2, b2; + b2 = e(b2, c2); + b2.return = a2; + return b2; + } + function u(a2, b2, c2) { + if (typeof b2 === "string" && b2 !== "" || typeof b2 === "number") + return b2 = uh("" + b2, a2.mode, c2), b2.return = a2, b2; + if (typeof b2 === "object" && b2 !== null) { + switch (b2.$$typeof) { + case ua: + return c2 = vh(b2.type, b2.key, b2.props, null, a2.mode, c2), c2.ref = ph(a2, null, b2), c2.return = a2, c2; + case va: + return b2 = wh(b2, a2.mode, c2), b2.return = a2, b2; + case Ga: + var d2 = b2._init; + return u(a2, d2(b2._payload), c2); + } + if (db(b2) || Ja(b2)) + return b2 = xh(b2, a2.mode, c2, null), b2.return = a2, b2; + qh(a2, b2); + } + return null; + } + function q(a2, b2, c2, d2) { + var e2 = b2 !== null ? b2.key : null; + if (typeof c2 === "string" && c2 !== "" || typeof c2 === "number") + return e2 !== null ? null : h(a2, b2, "" + c2, d2); + if (typeof c2 === "object" && c2 !== null) { + switch (c2.$$typeof) { + case ua: + return c2.key === e2 ? k(a2, b2, c2, d2) : null; + case va: + return c2.key === e2 ? l(a2, b2, c2, d2) : null; + case Ga: + return e2 = c2._init, q(a2, b2, e2(c2._payload), d2); + } + if (db(c2) || Ja(c2)) + return e2 !== null ? null : n(a2, b2, c2, d2, null); + qh(a2, c2); + } + return null; + } + function y(a2, b2, c2, d2, e2) { + if (typeof d2 === "string" && d2 !== "" || typeof d2 === "number") + return a2 = a2.get(c2) || null, h(b2, a2, "" + d2, e2); + if (typeof d2 === "object" && d2 !== null) { + switch (d2.$$typeof) { + case ua: + return a2 = a2.get(d2.key === null ? c2 : d2.key) || null, k(b2, a2, d2, e2); + case va: + return a2 = a2.get(d2.key === null ? c2 : d2.key) || null, l(b2, a2, d2, e2); + case Ga: + var f2 = d2._init; + return y(a2, b2, c2, f2(d2._payload), e2); + } + if (db(d2) || Ja(d2)) + return a2 = a2.get(c2) || null, n(b2, a2, d2, e2, null); + qh(b2, d2); + } + return null; + } + function m(e2, g2, h2, k2) { + for (var l2 = null, n2 = null, r = g2, m2 = g2 = 0, x = null; r !== null && m2 < h2.length; m2++) { + r.index > m2 ? (x = r, r = null) : x = r.sibling; + var v = q(e2, r, h2[m2], k2); + if (v === null) { + r === null && (r = x); + break; + } + a && r && v.alternate === null && b(e2, r); + g2 = f(v, g2, m2); + n2 === null ? l2 = v : n2.sibling = v; + n2 = v; + r = x; + } + if (m2 === h2.length) + return c(e2, r), I && $g(e2, m2), l2; + if (r === null) { + for (; m2 < h2.length; m2++) + r = u(e2, h2[m2], k2), r !== null && (g2 = f(r, g2, m2), n2 === null ? l2 = r : n2.sibling = r, n2 = r); + I && $g(e2, m2); + return l2; + } + for (r = d(e2, r); m2 < h2.length; m2++) + x = y(r, e2, m2, h2[m2], k2), x !== null && (a && x.alternate !== null && r.delete(x.key === null ? m2 : x.key), g2 = f(x, g2, m2), n2 === null ? l2 = x : n2.sibling = x, n2 = x); + a && r.forEach(function(a2) { + return b(e2, a2); }); - ["contentEditable", "draggable", "spellCheck", "value"].forEach(function(name) { - properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, name.toLowerCase(), null, false, false); + I && $g(e2, m2); + return l2; + } + function w(e2, g2, h2, k2) { + var l2 = Ja(h2); + if (typeof l2 !== "function") + throw Error(p(150)); + h2 = l2.call(h2); + if (h2 == null) + throw Error(p(151)); + for (var n2 = l2 = null, m2 = g2, r = g2 = 0, x = null, v = h2.next(); m2 !== null && !v.done; r++, v = h2.next()) { + m2.index > r ? (x = m2, m2 = null) : x = m2.sibling; + var w2 = q(e2, m2, v.value, k2); + if (w2 === null) { + m2 === null && (m2 = x); + break; + } + a && m2 && w2.alternate === null && b(e2, m2); + g2 = f(w2, g2, r); + n2 === null ? l2 = w2 : n2.sibling = w2; + n2 = w2; + m2 = x; + } + if (v.done) + return c(e2, m2), I && $g(e2, r), l2; + if (m2 === null) { + for (; !v.done; r++, v = h2.next()) + v = u(e2, v.value, k2), v !== null && (g2 = f(v, g2, r), n2 === null ? l2 = v : n2.sibling = v, n2 = v); + I && $g(e2, r); + return l2; + } + for (m2 = d(e2, m2); !v.done; r++, v = h2.next()) + v = y(m2, e2, r, v.value, k2), v !== null && (a && v.alternate !== null && m2.delete(v.key === null ? r : v.key), g2 = f(v, g2, r), n2 === null ? l2 = v : n2.sibling = v, n2 = v); + a && m2.forEach(function(a2) { + return b(e2, a2); }); - ["autoReverse", "externalResourcesRequired", "focusable", "preserveAlpha"].forEach(function(name) { - properties[name] = new PropertyInfoRecord(name, BOOLEANISH_STRING, false, name, null, false, false); + I && $g(e2, r); + return l2; + } + function J(a2, d2, f2, h2) { + typeof f2 === "object" && f2 !== null && f2.type === wa && f2.key === null && (f2 = f2.props.children); + if (typeof f2 === "object" && f2 !== null) { + switch (f2.$$typeof) { + case ua: + a: { + for (var k2 = f2.key, l2 = d2; l2 !== null; ) { + if (l2.key === k2) { + k2 = f2.type; + if (k2 === wa) { + if (l2.tag === 7) { + c(a2, l2.sibling); + d2 = e(l2, f2.props.children); + d2.return = a2; + a2 = d2; + break a; + } + } else if (l2.elementType === k2 || typeof k2 === "object" && k2 !== null && k2.$$typeof === Ga && rh(k2) === l2.type) { + c(a2, l2.sibling); + d2 = e(l2, f2.props); + d2.ref = ph(a2, l2, f2); + d2.return = a2; + a2 = d2; + break a; + } + c(a2, l2); + break; + } else + b(a2, l2); + l2 = l2.sibling; + } + f2.type === wa ? (d2 = xh(f2.props.children, a2.mode, h2, f2.key), d2.return = a2, a2 = d2) : (h2 = vh(f2.type, f2.key, f2.props, null, a2.mode, h2), h2.ref = ph(a2, d2, f2), h2.return = a2, a2 = h2); + } + return g(a2); + case va: + a: { + for (l2 = f2.key; d2 !== null; ) { + if (d2.key === l2) + if (d2.tag === 4 && d2.stateNode.containerInfo === f2.containerInfo && d2.stateNode.implementation === f2.implementation) { + c(a2, d2.sibling); + d2 = e(d2, f2.children || []); + d2.return = a2; + a2 = d2; + break a; + } else { + c(a2, d2); + break; + } + else + b(a2, d2); + d2 = d2.sibling; + } + d2 = wh(f2, a2.mode, h2); + d2.return = a2; + a2 = d2; + } + return g(a2); + case Ga: + return l2 = f2._init, J(a2, d2, l2(f2._payload), h2); + } + if (db(f2)) + return m(a2, d2, f2, h2); + if (Ja(f2)) + return w(a2, d2, f2, h2); + qh(a2, f2); + } + return typeof f2 === "string" && f2 !== "" || typeof f2 === "number" ? (f2 = "" + f2, d2 !== null && d2.tag === 6 ? (c(a2, d2.sibling), d2 = e(d2, f2), d2.return = a2, a2 = d2) : (c(a2, d2), d2 = uh(f2, a2.mode, h2), d2.return = a2, a2 = d2), g(a2)) : c(a2, d2); + } + return J; + } + var yh = sh(true); + var zh = sh(false); + var Ah = {}; + var Bh = Tf(Ah); + var Ch = Tf(Ah); + var Dh = Tf(Ah); + function Eh(a) { + if (a === Ah) + throw Error(p(174)); + return a; + } + function Fh(a, b) { + G(Dh, b); + G(Ch, a); + G(Bh, Ah); + a = b.nodeType; + switch (a) { + case 9: + case 11: + b = (b = b.documentElement) ? b.namespaceURI : kb(null, ""); + break; + default: + a = a === 8 ? b.parentNode : b, b = a.namespaceURI || null, a = a.tagName, b = kb(b, a); + } + E(Bh); + G(Bh, b); + } + function Gh() { + E(Bh); + E(Ch); + E(Dh); + } + function Hh(a) { + Eh(Dh.current); + var b = Eh(Bh.current); + var c = kb(b, a.type); + b !== c && (G(Ch, a), G(Bh, c)); + } + function Ih(a) { + Ch.current === a && (E(Bh), E(Ch)); + } + var K = Tf(0); + function Jh(a) { + for (var b = a; b !== null; ) { + if (b.tag === 13) { + var c = b.memoizedState; + if (c !== null && (c = c.dehydrated, c === null || c.data === "$?" || c.data === "$!")) + return b; + } else if (b.tag === 19 && b.memoizedProps.revealOrder !== void 0) { + if ((b.flags & 128) !== 0) + return b; + } else if (b.child !== null) { + b.child.return = b; + b = b.child; + continue; + } + if (b === a) + break; + for (; b.sibling === null; ) { + if (b.return === null || b.return === a) + return null; + b = b.return; + } + b.sibling.return = b.return; + b = b.sibling; + } + return null; + } + var Kh = []; + function Lh() { + for (var a = 0; a < Kh.length; a++) + Kh[a]._workInProgressVersionPrimary = null; + Kh.length = 0; + } + var Mh = ta.ReactCurrentDispatcher; + var Nh = ta.ReactCurrentBatchConfig; + var Oh = 0; + var L = null; + var M = null; + var N = null; + var Ph = false; + var Qh = false; + var Rh = 0; + var Sh = 0; + function O() { + throw Error(p(321)); + } + function Th(a, b) { + if (b === null) + return false; + for (var c = 0; c < b.length && c < a.length; c++) + if (!Ge(a[c], b[c])) + return false; + return true; + } + function Uh(a, b, c, d, e, f) { + Oh = f; + L = b; + b.memoizedState = null; + b.updateQueue = null; + b.lanes = 0; + Mh.current = a === null || a.memoizedState === null ? Vh : Wh; + a = c(d, e); + if (Qh) { + f = 0; + do { + Qh = false; + Rh = 0; + if (25 <= f) + throw Error(p(301)); + f += 1; + N = M = null; + b.updateQueue = null; + Mh.current = Xh; + a = c(d, e); + } while (Qh); + } + Mh.current = Yh; + b = M !== null && M.next !== null; + Oh = 0; + N = M = L = null; + Ph = false; + if (b) + throw Error(p(300)); + return a; + } + function Zh() { + var a = Rh !== 0; + Rh = 0; + return a; + } + function $h() { + var a = { memoizedState: null, baseState: null, baseQueue: null, queue: null, next: null }; + N === null ? L.memoizedState = N = a : N = N.next = a; + return N; + } + function ai() { + if (M === null) { + var a = L.alternate; + a = a !== null ? a.memoizedState : null; + } else + a = M.next; + var b = N === null ? L.memoizedState : N.next; + if (b !== null) + N = b, M = a; + else { + if (a === null) + throw Error(p(310)); + M = a; + a = { memoizedState: M.memoizedState, baseState: M.baseState, baseQueue: M.baseQueue, queue: M.queue, next: null }; + N === null ? L.memoizedState = N = a : N = N.next = a; + } + return N; + } + function bi(a, b) { + return typeof b === "function" ? b(a) : b; + } + function ci(a) { + var b = ai(), c = b.queue; + if (c === null) + throw Error(p(311)); + c.lastRenderedReducer = a; + var d = M, e = d.baseQueue, f = c.pending; + if (f !== null) { + if (e !== null) { + var g = e.next; + e.next = f.next; + f.next = g; + } + d.baseQueue = e = f; + c.pending = null; + } + if (e !== null) { + f = e.next; + d = d.baseState; + var h = g = null, k = null, l = f; + do { + var n = l.lane; + if ((Oh & n) === n) + k !== null && (k = k.next = { lane: 0, action: l.action, hasEagerState: l.hasEagerState, eagerState: l.eagerState, next: null }), d = l.hasEagerState ? l.eagerState : a(d, l.action); + else { + var u = { + lane: n, + action: l.action, + hasEagerState: l.hasEagerState, + eagerState: l.eagerState, + next: null + }; + k === null ? (h = k = u, g = d) : k = k.next = u; + L.lanes |= n; + Fg |= n; + } + l = l.next; + } while (l !== null && l !== f); + k === null ? g = d : k.next = h; + Ge(d, b.memoizedState) || (tg = true); + b.memoizedState = d; + b.baseState = g; + b.baseQueue = k; + c.lastRenderedState = d; + } + a = c.interleaved; + if (a !== null) { + e = a; + do + f = e.lane, L.lanes |= f, Fg |= f, e = e.next; + while (e !== a); + } else + e === null && (c.lanes = 0); + return [b.memoizedState, c.dispatch]; + } + function di(a) { + var b = ai(), c = b.queue; + if (c === null) + throw Error(p(311)); + c.lastRenderedReducer = a; + var d = c.dispatch, e = c.pending, f = b.memoizedState; + if (e !== null) { + c.pending = null; + var g = e = e.next; + do + f = a(f, g.action), g = g.next; + while (g !== e); + Ge(f, b.memoizedState) || (tg = true); + b.memoizedState = f; + b.baseQueue === null && (b.baseState = f); + c.lastRenderedState = f; + } + return [f, d]; + } + function ei() { + } + function fi(a, b) { + var c = L, d = ai(), e = b(), f = !Ge(d.memoizedState, e); + f && (d.memoizedState = e, tg = true); + d = d.queue; + gi(hi.bind(null, c, d, a), [a]); + if (d.getSnapshot !== b || f || N !== null && N.memoizedState.tag & 1) { + c.flags |= 2048; + ii(9, ji.bind(null, c, d, e, b), void 0, null); + if (P === null) + throw Error(p(349)); + (Oh & 30) !== 0 || ki(c, b, e); + } + return e; + } + function ki(a, b, c) { + a.flags |= 16384; + a = { getSnapshot: b, value: c }; + b = L.updateQueue; + b === null ? (b = { lastEffect: null, stores: null }, L.updateQueue = b, b.stores = [a]) : (c = b.stores, c === null ? b.stores = [a] : c.push(a)); + } + function ji(a, b, c, d) { + b.value = c; + b.getSnapshot = d; + li(b) && Lg(a, 1, -1); + } + function hi(a, b, c) { + return c(function() { + li(b) && Lg(a, 1, -1); + }); + } + function li(a) { + var b = a.getSnapshot; + a = a.value; + try { + var c = b(); + return !Ge(a, c); + } catch (d) { + return true; + } + } + function mi(a) { + var b = $h(); + typeof a === "function" && (a = a()); + b.memoizedState = b.baseState = a; + a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: bi, lastRenderedState: a }; + b.queue = a; + a = a.dispatch = ni.bind(null, L, a); + return [b.memoizedState, a]; + } + function ii(a, b, c, d) { + a = { tag: a, create: b, destroy: c, deps: d, next: null }; + b = L.updateQueue; + b === null ? (b = { lastEffect: null, stores: null }, L.updateQueue = b, b.lastEffect = a.next = a) : (c = b.lastEffect, c === null ? b.lastEffect = a.next = a : (d = c.next, c.next = a, a.next = d, b.lastEffect = a)); + return a; + } + function oi() { + return ai().memoizedState; + } + function pi(a, b, c, d) { + var e = $h(); + L.flags |= a; + e.memoizedState = ii(1 | b, c, void 0, d === void 0 ? null : d); + } + function qi(a, b, c, d) { + var e = ai(); + d = d === void 0 ? null : d; + var f = void 0; + if (M !== null) { + var g = M.memoizedState; + f = g.destroy; + if (d !== null && Th(d, g.deps)) { + e.memoizedState = ii(b, c, f, d); + return; + } + } + L.flags |= a; + e.memoizedState = ii(1 | b, c, f, d); + } + function ri(a, b) { + return pi(8390656, 8, a, b); + } + function gi(a, b) { + return qi(2048, 8, a, b); + } + function si(a, b) { + return qi(4, 2, a, b); + } + function ti(a, b) { + return qi(4, 4, a, b); + } + function ui(a, b) { + if (typeof b === "function") + return a = a(), b(a), function() { + b(null); + }; + if (b !== null && b !== void 0) + return a = a(), b.current = a, function() { + b.current = null; + }; + } + function vi(a, b, c) { + c = c !== null && c !== void 0 ? c.concat([a]) : null; + return qi(4, 4, ui.bind(null, b, a), c); + } + function wi() { + } + function xi(a, b) { + var c = ai(); + b = b === void 0 ? null : b; + var d = c.memoizedState; + if (d !== null && b !== null && Th(b, d[1])) + return d[0]; + c.memoizedState = [a, b]; + return a; + } + function yi(a, b) { + var c = ai(); + b = b === void 0 ? null : b; + var d = c.memoizedState; + if (d !== null && b !== null && Th(b, d[1])) + return d[0]; + a = a(); + c.memoizedState = [a, b]; + return a; + } + function zi(a, b, c) { + if ((Oh & 21) === 0) + return a.baseState && (a.baseState = false, tg = true), a.memoizedState = c; + Ge(c, b) || (c = xc(), L.lanes |= c, Fg |= c, a.baseState = true); + return b; + } + function Ai(a, b) { + var c = C; + C = c !== 0 && 4 > c ? c : 4; + a(true); + var d = Nh.transition; + Nh.transition = {}; + try { + a(false), b(); + } finally { + C = c, Nh.transition = d; + } + } + function Bi() { + return ai().memoizedState; + } + function Ci(a, b, c) { + var d = Kg(a); + c = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null }; + Di(a) ? Ei(b, c) : (Fi(a, b, c), c = Jg(), a = Lg(a, d, c), a !== null && Gi(a, b, d)); + } + function ni(a, b, c) { + var d = Kg(a), e = { lane: d, action: c, hasEagerState: false, eagerState: null, next: null }; + if (Di(a)) + Ei(b, e); + else { + Fi(a, b, e); + var f = a.alternate; + if (a.lanes === 0 && (f === null || f.lanes === 0) && (f = b.lastRenderedReducer, f !== null)) + try { + var g = b.lastRenderedState, h = f(g, c); + e.hasEagerState = true; + e.eagerState = h; + if (Ge(h, g)) + return; + } catch (k) { + } finally { + } + c = Jg(); + a = Lg(a, d, c); + a !== null && Gi(a, b, d); + } + } + function Di(a) { + var b = a.alternate; + return a === L || b !== null && b === L; + } + function Ei(a, b) { + Qh = Ph = true; + var c = a.pending; + c === null ? b.next = b : (b.next = c.next, c.next = b); + a.pending = b; + } + function Fi(a, b, c) { + Bg(a) ? (a = b.interleaved, a === null ? (c.next = c, vg === null ? vg = [b] : vg.push(b)) : (c.next = a.next, a.next = c), b.interleaved = c) : (a = b.pending, a === null ? c.next = c : (c.next = a.next, a.next = c), b.pending = c); + } + function Gi(a, b, c) { + if ((c & 4194240) !== 0) { + var d = b.lanes; + d &= a.pendingLanes; + c |= d; + b.lanes = c; + Bc(a, c); + } + } + var Yh = { readContext: ug, useCallback: O, useContext: O, useEffect: O, useImperativeHandle: O, useInsertionEffect: O, useLayoutEffect: O, useMemo: O, useReducer: O, useRef: O, useState: O, useDebugValue: O, useDeferredValue: O, useTransition: O, useMutableSource: O, useSyncExternalStore: O, useId: O, unstable_isNewReconciler: false }; + var Vh = { readContext: ug, useCallback: function(a, b) { + $h().memoizedState = [a, b === void 0 ? null : b]; + return a; + }, useContext: ug, useEffect: ri, useImperativeHandle: function(a, b, c) { + c = c !== null && c !== void 0 ? c.concat([a]) : null; + return pi(4194308, 4, ui.bind(null, b, a), c); + }, useLayoutEffect: function(a, b) { + return pi(4194308, 4, a, b); + }, useInsertionEffect: function(a, b) { + return pi(4, 2, a, b); + }, useMemo: function(a, b) { + var c = $h(); + b = b === void 0 ? null : b; + a = a(); + c.memoizedState = [a, b]; + return a; + }, useReducer: function(a, b, c) { + var d = $h(); + b = c !== void 0 ? c(b) : b; + d.memoizedState = d.baseState = b; + a = { pending: null, interleaved: null, lanes: 0, dispatch: null, lastRenderedReducer: a, lastRenderedState: b }; + d.queue = a; + a = a.dispatch = Ci.bind(null, L, a); + return [d.memoizedState, a]; + }, useRef: function(a) { + var b = $h(); + a = { current: a }; + return b.memoizedState = a; + }, useState: mi, useDebugValue: wi, useDeferredValue: function(a) { + return $h().memoizedState = a; + }, useTransition: function() { + var a = mi(false), b = a[0]; + a = Ai.bind(null, a[1]); + $h().memoizedState = a; + return [b, a]; + }, useMutableSource: function() { + }, useSyncExternalStore: function(a, b, c) { + var d = L, e = $h(); + if (I) { + if (c === void 0) + throw Error(p(407)); + c = c(); + } else { + c = b(); + if (P === null) + throw Error(p(349)); + (Oh & 30) !== 0 || ki(d, b, c); + } + e.memoizedState = c; + var f = { value: c, getSnapshot: b }; + e.queue = f; + ri(hi.bind(null, d, f, a), [a]); + d.flags |= 2048; + ii(9, ji.bind(null, d, f, c, b), void 0, null); + return c; + }, useId: function() { + var a = $h(), b = P.identifierPrefix; + if (I) { + var c = Zg; + var d = Yg; + c = (d & ~(1 << 32 - nc(d) - 1)).toString(32) + c; + b = ":" + b + "R" + c; + c = Rh++; + 0 < c && (b += "H" + c.toString(32)); + b += ":"; + } else + c = Sh++, b = ":" + b + "r" + c.toString(32) + ":"; + return a.memoizedState = b; + }, unstable_isNewReconciler: false }; + var Wh = { + readContext: ug, + useCallback: xi, + useContext: ug, + useEffect: gi, + useImperativeHandle: vi, + useInsertionEffect: si, + useLayoutEffect: ti, + useMemo: yi, + useReducer: ci, + useRef: oi, + useState: function() { + return ci(bi); + }, + useDebugValue: wi, + useDeferredValue: function(a) { + var b = ai(); + return zi(b, M.memoizedState, a); + }, + useTransition: function() { + var a = ci(bi)[0], b = ai().memoizedState; + return [a, b]; + }, + useMutableSource: ei, + useSyncExternalStore: fi, + useId: Bi, + unstable_isNewReconciler: false + }; + var Xh = { readContext: ug, useCallback: xi, useContext: ug, useEffect: gi, useImperativeHandle: vi, useInsertionEffect: si, useLayoutEffect: ti, useMemo: yi, useReducer: di, useRef: oi, useState: function() { + return di(bi); + }, useDebugValue: wi, useDeferredValue: function(a) { + var b = ai(); + return M === null ? b.memoizedState = a : zi(b, M.memoizedState, a); + }, useTransition: function() { + var a = di(bi)[0], b = ai().memoizedState; + return [a, b]; + }, useMutableSource: ei, useSyncExternalStore: fi, useId: Bi, unstable_isNewReconciler: false }; + function Hi(a, b) { + try { + var c = "", d = b; + do + c += Oa(d), d = d.return; + while (d); + var e = c; + } catch (f) { + e = "\nError generating stack: " + f.message + "\n" + f.stack; + } + return { value: a, source: b, stack: e }; + } + function Ii(a, b) { + try { + console.error(b.value); + } catch (c) { + setTimeout(function() { + throw c; }); - [ - "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(name) { - properties[name] = new PropertyInfoRecord(name, BOOLEAN, false, name.toLowerCase(), null, false, false); - }); - [ - "checked", - "multiple", - "muted", - "selected" - ].forEach(function(name) { - properties[name] = new PropertyInfoRecord(name, BOOLEAN, true, name, null, false, false); - }); - [ - "capture", - "download" - ].forEach(function(name) { - properties[name] = new PropertyInfoRecord(name, OVERLOADED_BOOLEAN, false, name, null, false, false); - }); - [ - "cols", - "rows", - "size", - "span" - ].forEach(function(name) { - properties[name] = new PropertyInfoRecord(name, POSITIVE_NUMERIC, false, name, null, false, false); - }); - ["rowSpan", "start"].forEach(function(name) { - properties[name] = new PropertyInfoRecord(name, NUMERIC, false, name.toLowerCase(), null, false, false); - }); - var CAMELIZE = /[\-\:]([a-z])/g; - var capitalize = function(token) { - return token[1].toUpperCase(); + } + } + var Ji = typeof WeakMap === "function" ? WeakMap : Map; + function Ki(a, b, c) { + c = zg(-1, c); + c.tag = 3; + c.payload = { element: null }; + var d = b.value; + c.callback = function() { + Li || (Li = true, Mi = d); + Ii(a, b); + }; + return c; + } + function Ni(a, b, c) { + c = zg(-1, c); + c.tag = 3; + var d = a.type.getDerivedStateFromError; + if (typeof d === "function") { + var e = b.value; + c.payload = function() { + return d(e); }; - [ - "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(attributeName) { - var name = attributeName.replace(CAMELIZE, capitalize); - properties[name] = new PropertyInfoRecord(name, STRING, false, attributeName, null, false, false); - }); - [ - "xlink:actuate", - "xlink:arcrole", - "xlink:role", - "xlink:show", - "xlink:title", - "xlink:type" - ].forEach(function(attributeName) { - var name = attributeName.replace(CAMELIZE, capitalize); - properties[name] = new PropertyInfoRecord(name, STRING, false, attributeName, "http://www.w3.org/1999/xlink", false, false); - }); - [ - "xml:base", - "xml:lang", - "xml:space" - ].forEach(function(attributeName) { - var name = attributeName.replace(CAMELIZE, capitalize); - properties[name] = new PropertyInfoRecord(name, STRING, false, attributeName, "http://www.w3.org/XML/1998/namespace", false, false); - }); - ["tabIndex", "crossOrigin"].forEach(function(attributeName) { - properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, attributeName.toLowerCase(), null, false, false); - }); - var xlinkHref = "xlinkHref"; - properties[xlinkHref] = new PropertyInfoRecord("xlinkHref", STRING, false, "xlink:href", "http://www.w3.org/1999/xlink", true, false); - ["src", "href", "action", "formAction"].forEach(function(attributeName) { - properties[attributeName] = new PropertyInfoRecord(attributeName, STRING, false, attributeName.toLowerCase(), null, true, true); - }); - var isJavaScriptProtocol = /^[\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; - var didWarn = false; - function sanitizeURL(url) { - { - if (!didWarn && isJavaScriptProtocol.test(url)) { - didWarn = true; - error("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(url)); - } - } + c.callback = function() { + Ii(a, b); + }; + } + var f = a.stateNode; + f !== null && typeof f.componentDidCatch === "function" && (c.callback = function() { + Ii(a, b); + typeof d !== "function" && (Oi === null ? Oi = new Set([this]) : Oi.add(this)); + var c2 = b.stack; + this.componentDidCatch(b.value, { componentStack: c2 !== null ? c2 : "" }); + }); + return c; + } + function Pi(a, b, c) { + var d = a.pingCache; + if (d === null) { + d = a.pingCache = new Ji(); + var e = new Set(); + d.set(b, e); + } else + e = d.get(b), e === void 0 && (e = new Set(), d.set(b, e)); + e.has(c) || (e.add(c), a = Qi.bind(null, a, b, c), b.then(a, a)); + } + function Ri(a) { + do { + var b; + if (b = a.tag === 13) + b = a.memoizedState, b = b !== null ? b.dehydrated !== null ? true : false : true; + if (b) + return a; + a = a.return; + } while (a !== null); + return null; + } + function Si(a, b, c, d, e) { + if ((a.mode & 1) === 0) + return a === b ? a.flags |= 65536 : (a.flags |= 128, c.flags |= 131072, c.flags &= -52805, c.tag === 1 && (c.alternate === null ? c.tag = 17 : (b = zg(-1, 1), b.tag = 2, Ag(c, b))), c.lanes |= 1), a; + a.flags |= 65536; + a.lanes = e; + return a; + } + var Ti; + var Ui; + var Vi; + var Wi; + Ti = function(a, b) { + for (var c = b.child; c !== null; ) { + if (c.tag === 5 || c.tag === 6) + a.appendChild(c.stateNode); + else if (c.tag !== 4 && c.child !== null) { + c.child.return = c; + c = c.child; + continue; + } + if (c === b) + break; + for (; c.sibling === null; ) { + if (c.return === null || c.return === b) + return; + c = c.return; } - function getValueForProperty(node, name, expected, propertyInfo) { - { - if (propertyInfo.mustUseProperty) { - var propertyName = propertyInfo.propertyName; - return node[propertyName]; - } else { - { - checkAttributeStringCoercion(expected, name); - } - if (propertyInfo.sanitizeURL) { - sanitizeURL("" + expected); + c.sibling.return = c.return; + c = c.sibling; + } + }; + Ui = function() { + }; + Vi = function(a, b, c, d) { + var e = a.memoizedProps; + if (e !== d) { + a = b.stateNode; + Eh(Bh.current); + var f = null; + switch (c) { + case "input": + e = Xa(a, e); + d = Xa(a, d); + f = []; + break; + case "select": + e = A({}, e, { value: void 0 }); + d = A({}, d, { value: void 0 }); + f = []; + break; + case "textarea": + e = fb(a, e); + d = fb(a, d); + f = []; + break; + default: + typeof e.onClick !== "function" && typeof d.onClick === "function" && (a.onclick = Af); + } + tb(c, d); + var g; + c = null; + for (l in e) + if (!d.hasOwnProperty(l) && e.hasOwnProperty(l) && e[l] != null) + if (l === "style") { + var h = e[l]; + for (g in h) + h.hasOwnProperty(g) && (c || (c = {}), c[g] = ""); + } else + l !== "dangerouslySetInnerHTML" && l !== "children" && l !== "suppressContentEditableWarning" && l !== "suppressHydrationWarning" && l !== "autoFocus" && (ea.hasOwnProperty(l) ? f || (f = []) : (f = f || []).push(l, null)); + for (l in d) { + var k = d[l]; + h = e != null ? e[l] : void 0; + if (d.hasOwnProperty(l) && k !== h && (k != null || h != null)) + if (l === "style") + if (h) { + for (g in h) + !h.hasOwnProperty(g) || k && k.hasOwnProperty(g) || (c || (c = {}), c[g] = ""); + for (g in k) + k.hasOwnProperty(g) && h[g] !== k[g] && (c || (c = {}), c[g] = k[g]); + } else + c || (f || (f = []), f.push(l, c)), c = k; + else + l === "dangerouslySetInnerHTML" ? (k = k ? k.__html : void 0, h = h ? h.__html : void 0, k != null && h !== k && (f = f || []).push(l, k)) : l === "children" ? typeof k !== "string" && typeof k !== "number" || (f = f || []).push(l, "" + k) : l !== "suppressContentEditableWarning" && l !== "suppressHydrationWarning" && (ea.hasOwnProperty(l) ? (k != null && l === "onScroll" && D("scroll", a), f || h === k || (f = [])) : (f = f || []).push(l, k)); + } + c && (f = f || []).push("style", c); + var l = f; + if (b.updateQueue = l) + b.flags |= 4; + } + }; + Wi = function(a, b, c, d) { + c !== d && (b.flags |= 4); + }; + function Xi(a, b) { + if (!I) + switch (a.tailMode) { + case "hidden": + b = a.tail; + for (var c = null; b !== null; ) + b.alternate !== null && (c = b), b = b.sibling; + c === null ? a.tail = null : c.sibling = null; + break; + case "collapsed": + c = a.tail; + for (var d = null; c !== null; ) + c.alternate !== null && (d = c), c = c.sibling; + d === null ? b || a.tail === null ? a.tail = null : a.tail.sibling = null : d.sibling = null; + } + } + function Q(a) { + var b = a.alternate !== null && a.alternate.child === a.child, c = 0, d = 0; + if (b) + for (var e = a.child; e !== null; ) + c |= e.lanes | e.childLanes, d |= e.subtreeFlags & 14680064, d |= e.flags & 14680064, e.return = a, e = e.sibling; + else + for (e = a.child; e !== null; ) + c |= e.lanes | e.childLanes, d |= e.subtreeFlags, d |= e.flags, e.return = a, e = e.sibling; + a.subtreeFlags |= d; + a.childLanes = c; + return b; + } + function Yi(a, b, c) { + var d = b.pendingProps; + ch(b); + switch (b.tag) { + case 2: + case 16: + case 15: + case 0: + case 11: + case 7: + case 8: + case 12: + case 9: + case 14: + return Q(b), null; + case 1: + return Yf(b.type) && Zf(), Q(b), null; + case 3: + d = b.stateNode; + Gh(); + E(Vf); + E(H); + Lh(); + d.pendingContext && (d.context = d.pendingContext, d.pendingContext = null); + if (a === null || a.child === null) + mh(b) ? b.flags |= 4 : a === null || a.memoizedState.isDehydrated && (b.flags & 256) === 0 || (b.flags |= 1024, fh !== null && (Zi(fh), fh = null)); + Ui(a, b); + Q(b); + return null; + case 5: + Ih(b); + var e = Eh(Dh.current); + c = b.type; + if (a !== null && b.stateNode != null) + Vi(a, b, c, d, e), a.ref !== b.ref && (b.flags |= 512, b.flags |= 2097152); + else { + if (!d) { + if (b.stateNode === null) + throw Error(p(166)); + Q(b); + return null; + } + a = Eh(Bh.current); + if (mh(b)) { + d = b.stateNode; + c = b.type; + var f = b.memoizedProps; + d[Nf] = b; + d[Of] = f; + a = (b.mode & 1) !== 0; + switch (c) { + case "dialog": + D("cancel", d); + D("close", d); + break; + case "iframe": + case "object": + case "embed": + D("load", d); + break; + case "video": + case "audio": + for (e = 0; e < kf.length; e++) + D(kf[e], d); + break; + case "source": + D("error", d); + break; + case "img": + case "image": + case "link": + D("error", d); + D("load", d); + break; + case "details": + D("toggle", d); + break; + case "input": + Ya(d, f); + D("invalid", d); + break; + case "select": + d._wrapperState = { wasMultiple: !!f.multiple }; + D("invalid", d); + break; + case "textarea": + gb(d, f), D("invalid", d); + } + tb(c, f); + e = null; + for (var g in f) + if (f.hasOwnProperty(g)) { + var h = f[g]; + g === "children" ? typeof h === "string" ? d.textContent !== h && (f.suppressHydrationWarning !== true && zf(d.textContent, h, a), e = ["children", h]) : typeof h === "number" && d.textContent !== "" + h && (f.suppressHydrationWarning !== true && zf(d.textContent, h, a), e = ["children", "" + h]) : ea.hasOwnProperty(g) && h != null && g === "onScroll" && D("scroll", d); + } + switch (c) { + case "input": + Ua(d); + cb(d, f, true); + break; + case "textarea": + Ua(d); + ib(d); + break; + case "select": + case "option": + break; + default: + typeof f.onClick === "function" && (d.onclick = Af); } - var attributeName = propertyInfo.attributeName; - var stringValue = null; - if (propertyInfo.type === OVERLOADED_BOOLEAN) { - if (node.hasAttribute(attributeName)) { - var value = node.getAttribute(attributeName); - if (value === "") { - return true; - } - if (shouldRemoveAttribute(name, expected, propertyInfo, false)) { - return value; - } - if (value === "" + expected) { - return expected; - } - return value; + d = e; + b.updateQueue = d; + d !== null && (b.flags |= 4); + } else { + g = e.nodeType === 9 ? e : e.ownerDocument; + a === "http://www.w3.org/1999/xhtml" && (a = jb(c)); + a === "http://www.w3.org/1999/xhtml" ? c === "script" ? (a = g.createElement("div"), a.innerHTML = "