From 73cf043ed7a04c3476d9db3c97230e1808cd2f1d Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 26 May 2022 09:12:53 -0700 Subject: [PATCH 01/40] Reduce max rebuffer events + update log messages --- webroot/js/components/latencyCompensator.js | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/webroot/js/components/latencyCompensator.js b/webroot/js/components/latencyCompensator.js index f6dec50b8..f325243c6 100644 --- a/webroot/js/components/latencyCompensator.js +++ b/webroot/js/components/latencyCompensator.js @@ -27,7 +27,7 @@ How to help with this? The Owncast Latency Compensator will: - Completely give up on all compensation if too many buffering events occur. */ -const REBUFFER_EVENT_LIMIT = 5; // Max number of buffering events before we stop compensating for latency. +const REBUFFER_EVENT_LIMIT = 4; // Max number of buffering events before we stop compensating for latency. const MIN_BUFFER_DURATION = 200; // Min duration a buffer event must last to be counted. const MAX_SPEEDUP_RATE = 1.08; // The playback rate when compensating for latency. const MAX_SPEEDUP_RAMP = 0.02; // The max amount we will increase the playback rate at once. @@ -97,7 +97,6 @@ class LatencyCompensator { } if (this.inTimeout) { - console.log('in timeout...'); return; } @@ -201,7 +200,7 @@ class LatencyCompensator { ) { const jumpAmount = latency / 1000 - segment.duration * 3; const seekPosition = this.player.currentTime() + jumpAmount; - console.log( + console.info( 'latency', latency / 1000, 'jumping', @@ -251,7 +250,7 @@ class LatencyCompensator { this.stop(); } - console.log( + console.info( 'latency', latency / 1000, 'min', @@ -286,7 +285,7 @@ class LatencyCompensator { this.lastJumpOccurred = new Date(); - console.log( + console.info( 'current time', this.player.currentTime(), 'seeking to', @@ -392,7 +391,6 @@ class LatencyCompensator { return; } - console.log('handle error', e); this.timeout(); } @@ -403,7 +401,7 @@ class LatencyCompensator { return; } - console.log('timeout due to buffering'); + console.log('latency compensation timeout due to buffering:', this.bufferingCounter, 'buffering events of', REBUFFER_EVENT_LIMIT); this.timeout(); // Allow us to forget about old buffering events if enough time goes by. From 03f5f8c854615b93685788e822008d8a3863a415 Mon Sep 17 00:00:00 2001 From: gabek Date: Thu, 26 May 2022 16:13:26 +0000 Subject: [PATCH 02/40] Prettified Code! --- webroot/js/components/latencyCompensator.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/webroot/js/components/latencyCompensator.js b/webroot/js/components/latencyCompensator.js index f325243c6..7a3ba5250 100644 --- a/webroot/js/components/latencyCompensator.js +++ b/webroot/js/components/latencyCompensator.js @@ -401,7 +401,12 @@ class LatencyCompensator { return; } - console.log('latency compensation timeout due to buffering:', this.bufferingCounter, 'buffering events of', REBUFFER_EVENT_LIMIT); + console.log( + 'latency compensation timeout due to buffering:', + this.bufferingCounter, + 'buffering events of', + REBUFFER_EVENT_LIMIT + ); this.timeout(); // Allow us to forget about old buffering events if enough time goes by. From 1bc12da73a85935b6c5be704b253529b6ebcd804 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 26 May 2022 12:40:50 -0700 Subject: [PATCH 03/40] Remove reference to unused var --- webroot/js/metrics/playback.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/webroot/js/metrics/playback.js b/webroot/js/metrics/playback.js index d059f94f0..0fa5e6eab 100644 --- a/webroot/js/metrics/playback.js +++ b/webroot/js/metrics/playback.js @@ -267,10 +267,8 @@ function getCurrentlyPlayingSegment(tech, old_segment = null) { } } - // Null segment_time in case it's lower then 0. if (!segment) { segment = target_media.segments[0]; - segment_time = 0; } return segment; From e9405d1065ee5b9d61fc2c67a30362b6f5e6bcd9 Mon Sep 17 00:00:00 2001 From: Owncast Date: Thu, 26 May 2022 20:47:43 +0000 Subject: [PATCH 04/40] Update admin to 0dde73c00edfc6826405fa573e459c5be5dfc7e0 --- static/admin/404/index.html | 2 +- .../_buildManifest.js | 0 .../_middlewareManifest.js | 0 .../_ssgManifest.js | 0 static/admin/access-tokens/index.html | 2 +- static/admin/actions/index.html | 2 +- static/admin/chat/messages/index.html | 2 +- static/admin/chat/users/index.html | 2 +- static/admin/config-chat/index.html | 2 +- static/admin/config-federation/index.html | 2 +- static/admin/config-notify/index.html | 2 +- static/admin/config-public-details/index.html | 2 +- static/admin/config-server-details/index.html | 2 +- static/admin/config-social-items/index.html | 2 +- static/admin/config-storage/index.html | 2 +- static/admin/config-video/index.html | 2 +- static/admin/federation/actions/index.html | 2 +- static/admin/federation/followers/index.html | 2 +- static/admin/hardware-info/index.html | 4 ++-- static/admin/help/index.html | 2 +- static/admin/index.html | 2 +- static/admin/logs/index.html | 2 +- static/admin/stream-health/index.html | 2 +- static/admin/upgrade/index.html | 2 +- static/admin/viewer-info/index.html | 2 +- static/admin/webhooks/index.html | 2 +- 26 files changed, 24 insertions(+), 24 deletions(-) rename static/admin/_next/static/{T-aegAtVT4emY30cpZ11L => GgyZQ5iYJSPP0iopcehNG}/_buildManifest.js (100%) rename static/admin/_next/static/{T-aegAtVT4emY30cpZ11L => GgyZQ5iYJSPP0iopcehNG}/_middlewareManifest.js (100%) rename static/admin/_next/static/{T-aegAtVT4emY30cpZ11L => GgyZQ5iYJSPP0iopcehNG}/_ssgManifest.js (100%) diff --git a/static/admin/404/index.html b/static/admin/404/index.html index 3e942963c..27c4a4416 100644 --- a/static/admin/404/index.html +++ b/static/admin/404/index.html @@ -1 +1 @@ -404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file diff --git a/static/admin/_next/static/T-aegAtVT4emY30cpZ11L/_buildManifest.js b/static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_buildManifest.js similarity index 100% rename from static/admin/_next/static/T-aegAtVT4emY30cpZ11L/_buildManifest.js rename to static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_buildManifest.js diff --git a/static/admin/_next/static/T-aegAtVT4emY30cpZ11L/_middlewareManifest.js b/static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_middlewareManifest.js similarity index 100% rename from static/admin/_next/static/T-aegAtVT4emY30cpZ11L/_middlewareManifest.js rename to static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_middlewareManifest.js diff --git a/static/admin/_next/static/T-aegAtVT4emY30cpZ11L/_ssgManifest.js b/static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_ssgManifest.js similarity index 100% rename from static/admin/_next/static/T-aegAtVT4emY30cpZ11L/_ssgManifest.js rename to static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_ssgManifest.js diff --git a/static/admin/access-tokens/index.html b/static/admin/access-tokens/index.html index a178d1a6b..fe2ebe54e 100644 --- a/static/admin/access-tokens/index.html +++ b/static/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/admin/actions/index.html b/static/admin/actions/index.html index a5a507405..939b232a3 100644 --- a/static/admin/actions/index.html +++ b/static/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/admin/chat/messages/index.html b/static/admin/chat/messages/index.html index ca56a3273..f4e2b6296 100644 --- a/static/admin/chat/messages/index.html +++ b/static/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/admin/chat/users/index.html b/static/admin/chat/users/index.html index 9f7abccf9..1db0a3c8f 100644 --- a/static/admin/chat/users/index.html +++ b/static/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/admin/config-chat/index.html b/static/admin/config-chat/index.html index a4f603a68..3f49e9736 100644 --- a/static/admin/config-chat/index.html +++ b/static/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-federation/index.html b/static/admin/config-federation/index.html index 748c4601d..054ebc04e 100644 --- a/static/admin/config-federation/index.html +++ b/static/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-notify/index.html b/static/admin/config-notify/index.html index c6c2c9922..04527d33a 100644 --- a/static/admin/config-notify/index.html +++ b/static/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file diff --git a/static/admin/config-public-details/index.html b/static/admin/config-public-details/index.html index cbcc9a35f..4ecc1c8d2 100644 --- a/static/admin/config-public-details/index.html +++ b/static/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/admin/config-server-details/index.html b/static/admin/config-server-details/index.html index 615d882dc..50306ce16 100644 --- a/static/admin/config-server-details/index.html +++ b/static/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/admin/config-social-items/index.html b/static/admin/config-social-items/index.html index 0982b47d3..9f3ecbfdb 100644 --- a/static/admin/config-social-items/index.html +++ b/static/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/admin/config-storage/index.html b/static/admin/config-storage/index.html index 15737490e..e168e2fa4 100644 --- a/static/admin/config-storage/index.html +++ b/static/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/admin/config-video/index.html b/static/admin/config-video/index.html index bf96a85da..43d112caf 100644 --- a/static/admin/config-video/index.html +++ b/static/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/admin/federation/actions/index.html b/static/admin/federation/actions/index.html index eca2b5a1c..76d7c5ef1 100644 --- a/static/admin/federation/actions/index.html +++ b/static/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file diff --git a/static/admin/federation/followers/index.html b/static/admin/federation/followers/index.html index 3b90d3f79..37949783d 100644 --- a/static/admin/federation/followers/index.html +++ b/static/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file diff --git a/static/admin/hardware-info/index.html b/static/admin/hardware-info/index.html index f98e34e5a..c43ecf672 100644 --- a/static/admin/hardware-info/index.html +++ b/static/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Disk
0%
Loading...
\ No newline at end of file + a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" style="stroke:#52C41A;stroke-dasharray:0px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s">
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/admin/help/index.html b/static/admin/help/index.html index 8a203a315..8f3c68581 100644 --- a/static/admin/help/index.html +++ b/static/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/admin/index.html b/static/admin/index.html index d9f22460b..73de05205 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/admin/logs/index.html b/static/admin/logs/index.html index 49dcfc96b..11abbd56b 100644 --- a/static/admin/logs/index.html +++ b/static/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/stream-health/index.html b/static/admin/stream-health/index.html index 51372e538..fbf993e5b 100644 --- a/static/admin/stream-health/index.html +++ b/static/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/admin/upgrade/index.html b/static/admin/upgrade/index.html index 0f92d1023..d20a87c79 100644 --- a/static/admin/upgrade/index.html +++ b/static/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/admin/viewer-info/index.html b/static/admin/viewer-info/index.html index 3d504a2f0..417af2dd2 100644 --- a/static/admin/viewer-info/index.html +++ b/static/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file diff --git a/static/admin/webhooks/index.html b/static/admin/webhooks/index.html index 238f9fbdf..970a76a82 100644 --- a/static/admin/webhooks/index.html +++ b/static/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file From 2307321c7996deb11c1c72f12fad53bd0b5fb4f5 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Fri, 27 May 2022 19:19:14 +0200 Subject: [PATCH 05/40] Check multiple Accept headers for content-type (#1935) --- router/middleware/activityPub.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/router/middleware/activityPub.go b/router/middleware/activityPub.go index 3c3805a0f..51fdc09ca 100644 --- a/router/middleware/activityPub.go +++ b/router/middleware/activityPub.go @@ -22,8 +22,10 @@ func RequireActivityPubOrRedirect(handler http.HandlerFunc) http.HandlerFunc { } acceptedContentTypes := []string{"application/json", "application/json+ld", "application/activity+json", `application/ld+json; profile="https://www.w3.org/ns/activitystreams"`} - acceptString := r.Header.Get("Accept") - accept := strings.Split(acceptString, ",") + var accept []string + for _, a := range r.Header.Values("Accept") { + accept = append(accept, strings.Split(a, ",")...) + } for _, singleType := range accept { if _, accepted := utils.FindInSlice(acceptedContentTypes, strings.TrimSpace(singleType)); accepted { From 75309703e9b67180a84fd46227f57290cfcf2055 Mon Sep 17 00:00:00 2001 From: ErAzOr2k Date: Fri, 27 May 2022 19:23:05 +0200 Subject: [PATCH 06/40] Add fullscreen mode/Change name (#1934) --- webroot/manifest.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webroot/manifest.json b/webroot/manifest.json index b724ebe23..1ece421ae 100644 --- a/webroot/manifest.json +++ b/webroot/manifest.json @@ -1,5 +1,5 @@ { - "name": "App", + "name": "Owncast", "icons": [ { "src": "\/img\/favicon\/android-icon-36x36.png", @@ -37,5 +37,6 @@ "type": "image\/png", "density": "4.0" } - ] + ], + "display": "fullscreen" } From af1e786c99d0ba6ad50c68682d4a836a3f5e9e45 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Fri, 27 May 2022 12:55:01 -0700 Subject: [PATCH 07/40] Limit seeking to live edge on play event to only if not previously playing. --- webroot/js/components/latencyCompensator.js | 29 ++++++++++++++++++--- 1 file changed, 25 insertions(+), 4 deletions(-) diff --git a/webroot/js/components/latencyCompensator.js b/webroot/js/components/latencyCompensator.js index 7a3ba5250..c85442455 100644 --- a/webroot/js/components/latencyCompensator.js +++ b/webroot/js/components/latencyCompensator.js @@ -47,6 +47,7 @@ const STARTUP_WAIT_TIME = 10 * 1000; // The amount of time after we start up tha class LatencyCompensator { constructor(player) { this.player = player; + this.playing = false; this.enabled = false; this.running = false; this.inTimeout = false; @@ -61,6 +62,7 @@ class LatencyCompensator { this.clockSkewMs = 0; this.player.on('playing', this.handlePlaying.bind(this)); + this.player.on('pause', this.handlePause.bind(this)); this.player.on('error', this.handleError.bind(this)); this.player.on('waiting', this.handleBuffering.bind(this)); this.player.on('stalled', this.handleBuffering.bind(this)); @@ -274,6 +276,12 @@ class LatencyCompensator { } shouldJumpToLive() { + // If we've been rebuffering some recently then don't make it worse by + // jumping more into the future. + if (this.bufferingCounter > 1) { + return false; + } + const now = new Date().getTime(); const delta = now - this.lastJumpOccurred; return delta > MAX_JUMP_FREQUENCY; @@ -362,6 +370,9 @@ class LatencyCompensator { } handlePlaying() { + const wasPreviouslyPlaying = this.playing; + this.playing = true; + clearTimeout(this.bufferingTimer); if (!this.enabled) { return; @@ -371,11 +382,21 @@ class LatencyCompensator { return; } - // Seek to live immediately on starting playback to handle any long-pause + // If we were not previously playing (was paused, or this is a cold start) + // seek to live immediately on starting playback to handle any long-pause // scenarios or somebody starting far back from the live edge. - this.jumpingToLiveIgnoreBuffer = true; - this.player.liveTracker.seekToLiveEdge(); - this.lastJumpOccurred = new Date(); + // If we were playing previously then that means we're probably coming back + // from a rebuffering event, meaning we should not be adding more seeking + // to the mix, just let it play. + if (!wasPreviouslyPlaying) { + this.jumpingToLiveIgnoreBuffer = true; + this.player.liveTracker.seekToLiveEdge(); + this.lastJumpOccurred = new Date(); + } + } + + handlePause() { + this.playing = false; } handleEnded() { From 31fc84ff522e6d217add0134a9e30f14a84a1913 Mon Sep 17 00:00:00 2001 From: gabek Date: Fri, 27 May 2022 19:55:25 +0000 Subject: [PATCH 08/40] Prettified Code! --- webroot/js/components/latencyCompensator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webroot/js/components/latencyCompensator.js b/webroot/js/components/latencyCompensator.js index c85442455..6b368f2f2 100644 --- a/webroot/js/components/latencyCompensator.js +++ b/webroot/js/components/latencyCompensator.js @@ -281,7 +281,7 @@ class LatencyCompensator { if (this.bufferingCounter > 1) { return false; } - + const now = new Date().getTime(); const delta = now - this.lastJumpOccurred; return delta > MAX_JUMP_FREQUENCY; From e7015d0e48923a2c5cac132115c44d655bf907ea Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 30 May 2022 06:11:21 -0700 Subject: [PATCH 09/40] Lock file maintenance (#1938) Co-authored-by: Renovate Bot --- build/javascript/package-lock.json | 149 +++++++++++++++-------------- 1 file changed, 75 insertions(+), 74 deletions(-) diff --git a/build/javascript/package-lock.json b/build/javascript/package-lock.json index f0da8a197..a2e43aa34 100644 --- a/build/javascript/package-lock.json +++ b/build/javascript/package-lock.json @@ -5,9 +5,9 @@ "requires": true, "dependencies": { "@babel/runtime": { - "version": "7.17.9", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.17.9.tgz", - "integrity": "sha512-lSiBBvodq29uShpWGNbgFdKYNiFDo5/HIYsaCEY9ff4sb10x9jizo2+pRrSyF4jKZCXqgzuqBOQKbUm90gQwJg==", + "version": "7.18.3", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.18.3.tgz", + "integrity": "sha512-38Y8f7YUhce/K7RMwTp7m0uCumpv9hZkitCbBClqQIow1qSbCvGkcegKOXpEWCQLfWmevgRiWokZ1GkpfhbZug==", "requires": { "regenerator-runtime": "^0.13.4" } @@ -296,7 +296,7 @@ "boolbase": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=" + "integrity": "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==" }, "brace-expansion": { "version": "1.1.11", @@ -358,9 +358,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001335", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001335.tgz", - "integrity": "sha512-ddP1Tgm7z2iIxu6QTtbZUv6HJxSaV/PZeSrWFZtbY4JZ69tOeNhBCl3HyRQgeNZKE5AOn1kpV7fhljigy0Ty3w==" + "version": "1.0.30001344", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001344.tgz", + "integrity": "sha512-0ZFjnlCaXNOAYcV7i+TtdKBp0L/3XEU2MF/x6Du1lrh+SRX4IfzIVL4HNJg5pB2PmFb8rszIGyOvsZnqqRoc2g==" }, "chalk": { "version": "4.1.2", @@ -454,7 +454,7 @@ "color-name": { "version": "1.1.3", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" + "integrity": "sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==" }, "color-string": { "version": "1.9.1", @@ -479,7 +479,7 @@ "concat-map": { "version": "0.0.1", "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" + "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==" }, "css-declaration-sorter": { "version": "6.2.2", @@ -535,26 +535,26 @@ } }, "cssnano-preset-default": { - "version": "5.2.7", - "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-5.2.7.tgz", - "integrity": "sha512-JiKP38ymZQK+zVKevphPzNSGHSlTI+AOwlasoSRtSVMUU285O7/6uZyd5NbW92ZHp41m0sSHe6JoZosakj63uA==", + "version": "5.2.10", + "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-5.2.10.tgz", + "integrity": "sha512-H8TJRhTjBKVOPltp9vr9El9I+IfYsOMhmXdK0LwdvwJcxYX9oWkY7ctacWusgPWAgQq1vt/WO8v+uqpfLnM7QA==", "dev": true, "requires": { "css-declaration-sorter": "^6.2.2", "cssnano-utils": "^3.1.0", "postcss-calc": "^8.2.3", "postcss-colormin": "^5.3.0", - "postcss-convert-values": "^5.1.0", - "postcss-discard-comments": "^5.1.1", + "postcss-convert-values": "^5.1.2", + "postcss-discard-comments": "^5.1.2", "postcss-discard-duplicates": "^5.1.0", "postcss-discard-empty": "^5.1.1", "postcss-discard-overridden": "^5.1.0", - "postcss-merge-longhand": "^5.1.4", - "postcss-merge-rules": "^5.1.1", + "postcss-merge-longhand": "^5.1.5", + "postcss-merge-rules": "^5.1.2", "postcss-minify-font-values": "^5.1.0", "postcss-minify-gradients": "^5.1.1", - "postcss-minify-params": "^5.1.2", - "postcss-minify-selectors": "^5.2.0", + "postcss-minify-params": "^5.1.3", + "postcss-minify-selectors": "^5.2.1", "postcss-normalize-charset": "^5.1.0", "postcss-normalize-display-values": "^5.1.0", "postcss-normalize-positions": "^5.1.0", @@ -589,7 +589,7 @@ "defined": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/defined/-/defined-1.0.0.tgz", - "integrity": "sha1-yY2bzvdWdBiOEQlpFRGZ45sfppM=" + "integrity": "sha512-Y2caI5+ZwS5c3RiNDJ6u53VhQHv+hHKwhkI1iHvceKUHw9Df6EK2zRLfjejRgMuCuxK7PfSWIMwWecceVvThjQ==" }, "dependency-graph": { "version": "0.11.0", @@ -598,13 +598,13 @@ "dev": true }, "detective": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.0.tgz", - "integrity": "sha512-6SsIx+nUUbuK0EthKjv0zrdnajCCXVYGmbYYiYjFVpzcjwEs/JMDZ8tPRG29J/HhN56t3GJp2cGSWDRjjot8Pg==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/detective/-/detective-5.2.1.tgz", + "integrity": "sha512-v9XE1zRnz1wRtgurGu0Bs8uHKFSTdteYZNbIPFVhUZ39L/S79ppMpdmVOZAnoz1jfEFodc48n6MX483Xo3t1yw==", "requires": { - "acorn-node": "^1.6.1", + "acorn-node": "^1.8.2", "defined": "^1.0.0", - "minimist": "^1.1.1" + "minimist": "^1.2.6" } }, "dir-glob": { @@ -653,9 +653,9 @@ } }, "electron-to-chromium": { - "version": "1.4.129", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.129.tgz", - "integrity": "sha512-GgtN6bsDtHdtXJtlMYZWGB/uOyjZWjmRDumXTas7dGBaB9zUyCjzHet1DY2KhyHN8R0GLbzZWqm4efeddqqyRQ==" + "version": "1.4.141", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.141.tgz", + "integrity": "sha512-mfBcbqc0qc6RlxrsIgLG2wCqkiPAjEezHxGTu7p3dHHFOurH4EjS9rFZndX5axC8264rI1Pcbw8uQP39oZckeA==" }, "emoji-regex": { "version": "8.0.0", @@ -676,12 +676,12 @@ "escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" }, "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" + "integrity": "sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==" }, "fast-glob": { "version": "3.2.11", @@ -736,7 +736,7 @@ "jsonfile": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", + "integrity": "sha512-m6F1R3z8jjlf2imQHS2Qez5sjKWQzbuuhuJ/FKYFRZvPE3PuHcSMVZzfsLhGVOkfd20obL5SWEBew5ShlquNxg==", "requires": { "graceful-fs": "^4.1.6" } @@ -746,7 +746,7 @@ "fs.realpath": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" + "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==" }, "fsevents": { "version": "2.3.2", @@ -761,9 +761,9 @@ "integrity": "sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==" }, "fuzzysort": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/fuzzysort/-/fuzzysort-1.2.1.tgz", - "integrity": "sha512-egTSF3U6H6T9tXtAhEm5P5guSSDjd96/NUWrbmoGlIu3ATMdXra13gwQdEFRY6ehsFe8xec7UnQz+k34CGWCIg==" + "version": "1.9.0", + "resolved": "https://registry.npmjs.org/fuzzysort/-/fuzzysort-1.9.0.tgz", + "integrity": "sha512-MOxCT0qLTwLqmEwc7UtU045RKef7mc8Qz8eR4r2bLNEq9dy/c3ZKMEFp6IEst69otkQdFZ4FfgH2dmZD+ddX1g==" }, "get-caller-file": { "version": "2.0.5", @@ -778,14 +778,14 @@ "dev": true }, "glob": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz", - "integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==", + "version": "7.2.3", + "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", + "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", "requires": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", "inherits": "2", - "minimatch": "^3.0.4", + "minimatch": "^3.1.1", "once": "^1.3.0", "path-is-absolute": "^1.0.0" } @@ -838,7 +838,7 @@ "has-flag": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=" + "integrity": "sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==" }, "htm": { "version": "3.1.1", @@ -872,12 +872,12 @@ "individual": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/individual/-/individual-2.0.0.tgz", - "integrity": "sha1-gzsJfa0jKU52EXqY+zjg2a1hu5c=" + "integrity": "sha512-pWt8hBCqJsUWI/HtcfWod7+N9SgAqyPEaF7JQjwzjn5vGrpg6aQ5qeAFQ7dx//UH4J1O+7xqew+gCeeFt6xN/g==" }, "inflight": { "version": "1.0.6", "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", + "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "requires": { "once": "^1.3.0", "wrappy": "1" @@ -913,7 +913,7 @@ "is-extglob": { "version": "2.1.1", "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true }, "is-fullwidth-code-point": { @@ -970,13 +970,13 @@ "lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", "dev": true }, "lodash.uniq": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=", + "integrity": "sha512-xfBaXQd9ryd9dlSDvnvI0lvxfLJlYAZzXomUYzLKtUeOQvOP5piqAWuGtrhWeqaXK9hhoM/iyJc5AV+XfsX3HQ==", "dev": true }, "m3u8-parser": { @@ -1062,9 +1062,9 @@ } }, "nanoid": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.3.tgz", - "integrity": "sha512-p1sjXuopFs0xg+fPASzQ28agW1oHD7xDsd9Xkf3T15H3c/cifrFHVwrh74PdoklAPi+i7MdRsE47vm2r6JoB+w==", + "version": "3.3.4", + "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.3.4.tgz", + "integrity": "sha512-MqBkQh/OHTS2egovRtLk45wEyNXwF+cokD+1YPf9u5VfJiRdAiRwB2froX5Co9Rh20xs4siNPm8naNotSD6RBw==", "dev": true }, "node-emoji": { @@ -1076,9 +1076,9 @@ } }, "node-releases": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.4.tgz", - "integrity": "sha512-gbMzqQtTtDz/00jQzZ21PQzdI9PyLYqUSvD0p3naOhX4odFji0ZxYdnVwPTxmSwkmxhcFImpozceidSG+AgoPQ==" + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.5.tgz", + "integrity": "sha512-U9h1NLROZTq9uE1SNffn6WuPDg8icmi3ns4rEl/oTfIle4iLjTliCzgTsbaIFMq/Xn078/lfY/BL0GWZ+psK4Q==" }, "normalize-path": { "version": "3.0.0", @@ -1271,18 +1271,19 @@ } }, "postcss-convert-values": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.1.0.tgz", - "integrity": "sha512-GkyPbZEYJiWtQB0KZ0X6qusqFHUepguBCNFi9t5JJc7I2OTXG7C0twbTLvCfaKOLl3rSXmpAwV7W5txd91V84g==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-5.1.2.tgz", + "integrity": "sha512-c6Hzc4GAv95B7suy4udszX9Zy4ETyMCgFPUDtWjdFTKH1SE9eFY/jEpHSwTH1QPuwxHpWslhckUQWbNRM4ho5g==", "dev": true, "requires": { + "browserslist": "^4.20.3", "postcss-value-parser": "^4.2.0" } }, "postcss-discard-comments": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-5.1.1.tgz", - "integrity": "sha512-5JscyFmvkUxz/5/+TB3QTTT9Gi9jHkcn8dcmmuN68JQcv3aQg4y88yEHHhwFB52l/NkaJ43O0dbksGMAo49nfQ==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-5.1.2.tgz", + "integrity": "sha512-+L8208OVbHVF2UQf1iDmRcbdjJkuBF6IS29yBDSiWUIzpYaAhtNl6JYnYm12FnkeCwQqF5LeklOu6rAqgfBZqQ==", "dev": true }, "postcss-discard-duplicates": { @@ -1403,9 +1404,9 @@ } }, "postcss-merge-longhand": { - "version": "5.1.4", - "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.1.4.tgz", - "integrity": "sha512-hbqRRqYfmXoGpzYKeW0/NCZhvNyQIlQeWVSao5iKWdyx7skLvCfQFGIUsP9NUs3dSbPac2IC4Go85/zG+7MlmA==", + "version": "5.1.5", + "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-5.1.5.tgz", + "integrity": "sha512-NOG1grw9wIO+60arKa2YYsrbgvP6tp+jqc7+ZD5/MalIw234ooH2C6KlR6FEn4yle7GqZoBxSK1mLBE9KPur6w==", "dev": true, "requires": { "postcss-value-parser": "^4.2.0", @@ -1413,9 +1414,9 @@ } }, "postcss-merge-rules": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.1.1.tgz", - "integrity": "sha512-8wv8q2cXjEuCcgpIB1Xx1pIy8/rhMPIQqYKNzEdyx37m6gpq83mQQdCxgIkFgliyEnKvdwJf/C61vN4tQDq4Ww==", + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-5.1.2.tgz", + "integrity": "sha512-zKMUlnw+zYCWoPN6yhPjtcEdlJaMUZ0WyVcxTAmw3lkkN/NDMRkOkiuctQEoWAOvH7twaxUUdvBWl0d4+hifRQ==", "dev": true, "requires": { "browserslist": "^4.16.6", @@ -1445,9 +1446,9 @@ } }, "postcss-minify-params": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-5.1.2.tgz", - "integrity": "sha512-aEP+p71S/urY48HWaRHasyx4WHQJyOYaKpQ6eXl8k0kxg66Wt/30VR6/woh8THgcpRbonJD5IeD+CzNhPi1L8g==", + "version": "5.1.3", + "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-5.1.3.tgz", + "integrity": "sha512-bkzpWcjykkqIujNL+EVEPOlLYi/eZ050oImVtHU7b4lFS82jPnsCb44gvC6pxaNt38Els3jWYDHTjHKf0koTgg==", "dev": true, "requires": { "browserslist": "^4.16.6", @@ -1456,9 +1457,9 @@ } }, "postcss-minify-selectors": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-5.2.0.tgz", - "integrity": "sha512-vYxvHkW+iULstA+ctVNx0VoRAR4THQQRkG77o0oa4/mBS0OzGvvzLIvHDv/nNEM0crzN2WIyFU5X7wZhaUK3RA==", + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-5.2.1.tgz", + "integrity": "sha512-nPJu7OjZJTsVUmPdm2TcaiohIwxP+v8ha9NehQ2ye9szv4orirRU3SDdtUmKH+10nzn0bAyOXZ0UEr7OpvLehg==", "dev": true, "requires": { "postcss-selector-parser": "^6.0.5" @@ -1975,9 +1976,9 @@ "dev": true }, "nth-check": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.0.1.tgz", - "integrity": "sha512-it1vE95zF6dTT9lBsYbxvqh0Soy4SPowchj0UBGj/V6cTPnXXtQOPUbhZ6CmGzAD/rW22LQK6E96pcdJXk4A4w==", + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-2.1.1.tgz", + "integrity": "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==", "dev": true, "requires": { "boolbase": "^1.0.0" @@ -2185,9 +2186,9 @@ "dev": true }, "yargs": { - "version": "17.4.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.4.1.tgz", - "integrity": "sha512-WSZD9jgobAg3ZKuCQZSa3g9QOJeCCqLoLAykiWgmXnDo9EPnn4RPf5qVTtzgOx66o6/oqhcA5tHtJXpG8pMt3g==", + "version": "17.5.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.5.1.tgz", + "integrity": "sha512-t6YAJcxDkNX7NFYiVtKvWUz8l+PaKTLiL63mJYWR2GnHq2gjEWISzsLp9wg3aY36dY1j+gfIEL3pIF+XlJJfbA==", "dev": true, "requires": { "cliui": "^7.0.2", From 677700414b25adee8f8912ff4ea5fd3c9effc9da Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Thu, 2 Jun 2022 23:37:20 -0700 Subject: [PATCH 10/40] Allow adjusting latency targets based on buffering events --- webroot/js/components/latencyCompensator.js | 49 +++++++++++++++++---- 1 file changed, 41 insertions(+), 8 deletions(-) diff --git a/webroot/js/components/latencyCompensator.js b/webroot/js/components/latencyCompensator.js index 6b368f2f2..bd7cdcf47 100644 --- a/webroot/js/components/latencyCompensator.js +++ b/webroot/js/components/latencyCompensator.js @@ -60,6 +60,11 @@ class LatencyCompensator { this.lastJumpOccurred = null; this.startupTime = new Date(); this.clockSkewMs = 0; + this.currentLatency = null; + + // Keep track of all the latencies we encountered buffering events + // in order to determine a new minimum latency. + this.bufferedAtLatency = []; this.player.on('playing', this.handlePlaying.bind(this)); this.player.on('pause', this.handlePause.bind(this)); @@ -69,6 +74,11 @@ class LatencyCompensator { this.player.on('ended', this.handleEnded.bind(this)); this.player.on('canplaythrough', this.handlePlaying.bind(this)); this.player.on('canplay', this.handlePlaying.bind(this)); + + this.check = this.check.bind(this); + this.start = this.start.bind(this); + this.enable = this.enable.bind(this); + this.countBufferingEvent = this.countBufferingEvent.bind(this); } // To keep our client clock in sync with the server clock to determine @@ -163,13 +173,27 @@ class LatencyCompensator { } // How far away from live edge do we stop the compensator. - const minLatencyThreshold = Math.max( + const computedMinLatencyThreshold = Math.max( MIN_LATENCY, segment.duration * 1000 * LOWEST_LATENCY_SEGMENT_LENGTH_MULTIPLIER ); + // Create an array of all the buffering events in the past along with + // the computed min latency above. + const targetLatencies = this.bufferedAtLatency.concat([ + computedMinLatencyThreshold, + ]); + + // Determine if we need to reduce the minimum latency we computed + // above based on buffering events that have taken place in the past by + // creating an array of all the buffering events and the above computed + // minimum latency target and averaging all those values. + const minLatencyThreshold = + targetLatencies.reduce((sum, current) => sum + current, 0) / + targetLatencies.length; + // How far away from live edge do we start the compensator. - const maxLatencyThreshold = Math.max( + let maxLatencyThreshold = Math.max( minLatencyThreshold * 1.4, Math.min( segment.duration * 1000 * HIGHEST_LATENCY_SEGMENT_LENGTH_MULTIPLIER, @@ -177,9 +201,17 @@ class LatencyCompensator { ) ); + // If this newly adjusted minimum latency ends up being greater than + // the previously computed maximum latency then reset the maximum + // value using the minimum + an offset. + if (minLatencyThreshold >= maxLatencyThreshold) { + maxLatencyThreshold = minLatencyThreshold + 3000; + } + const segmentTime = segment.dateTimeObject.getTime(); const now = new Date().getTime() + this.clockSkewMs; const latency = now - segmentTime; + this.currentLatency = latency; // Since the calculation of latency is based on clock times, it's possible // things can be reported incorrectly. So we use a sanity check here to @@ -347,10 +379,6 @@ class LatencyCompensator { } timeout() { - if (this.inTimeout) { - return; - } - if (this.jumpingToLiveIgnoreBuffer) { return; } @@ -417,18 +445,20 @@ class LatencyCompensator { countBufferingEvent() { this.bufferingCounter++; + if (this.bufferingCounter > REBUFFER_EVENT_LIMIT) { this.disable(); return; } + this.bufferedAtLatency.push(this.currentLatency); + console.log( 'latency compensation timeout due to buffering:', this.bufferingCounter, 'buffering events of', REBUFFER_EVENT_LIMIT ); - this.timeout(); // Allow us to forget about old buffering events if enough time goes by. setTimeout(() => { @@ -439,7 +469,7 @@ class LatencyCompensator { } handleBuffering() { - if (!this.enabled) { + if (!this.enabled || this.inTimeout) { return; } @@ -448,6 +478,9 @@ class LatencyCompensator { return; } + this.timeout(); + + clearTimeout(this.bufferingTimer); this.bufferingTimer = setTimeout(() => { this.countBufferingEvent(); }, MIN_BUFFER_DURATION); From 017c85e41db471683e666d07dfb5ed922e66c8aa Mon Sep 17 00:00:00 2001 From: Owncast Date: Sat, 4 Jun 2022 05:15:44 +0000 Subject: [PATCH 11/40] Update admin to f4a727ac630869f95576fc75c7e23f8266c9e05d --- static/admin/404/index.html | 2 +- .../_buildManifest.js | 2 +- .../_middlewareManifest.js | 0 .../_ssgManifest.js | 0 .../static/chunks/pages/stream-health-5edc91e4fa00ba5c.js | 1 - .../static/chunks/pages/stream-health-fe46c37b7e05b347.js | 1 + static/admin/access-tokens/index.html | 2 +- static/admin/actions/index.html | 2 +- static/admin/chat/messages/index.html | 2 +- static/admin/chat/users/index.html | 2 +- static/admin/config-chat/index.html | 2 +- static/admin/config-federation/index.html | 2 +- static/admin/config-notify/index.html | 2 +- static/admin/config-public-details/index.html | 2 +- static/admin/config-server-details/index.html | 2 +- static/admin/config-social-items/index.html | 2 +- static/admin/config-storage/index.html | 2 +- static/admin/config-video/index.html | 2 +- static/admin/federation/actions/index.html | 2 +- static/admin/federation/followers/index.html | 2 +- static/admin/hardware-info/index.html | 4 ++-- static/admin/help/index.html | 2 +- static/admin/index.html | 2 +- static/admin/logs/index.html | 2 +- static/admin/stream-health/index.html | 2 +- static/admin/upgrade/index.html | 2 +- static/admin/viewer-info/index.html | 2 +- static/admin/webhooks/index.html | 2 +- 28 files changed, 26 insertions(+), 26 deletions(-) rename static/admin/_next/static/{GgyZQ5iYJSPP0iopcehNG => IxPiOvZ14tEsYkM5oGl6v}/_buildManifest.js (83%) rename static/admin/_next/static/{GgyZQ5iYJSPP0iopcehNG => IxPiOvZ14tEsYkM5oGl6v}/_middlewareManifest.js (100%) rename static/admin/_next/static/{GgyZQ5iYJSPP0iopcehNG => IxPiOvZ14tEsYkM5oGl6v}/_ssgManifest.js (100%) delete mode 100644 static/admin/_next/static/chunks/pages/stream-health-5edc91e4fa00ba5c.js create mode 100644 static/admin/_next/static/chunks/pages/stream-health-fe46c37b7e05b347.js diff --git a/static/admin/404/index.html b/static/admin/404/index.html index 27c4a4416..2d6b01ee1 100644 --- a/static/admin/404/index.html +++ b/static/admin/404/index.html @@ -1 +1 @@ -404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file diff --git a/static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_buildManifest.js b/static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_buildManifest.js similarity index 83% rename from static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_buildManifest.js rename to static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_buildManifest.js index 397e030f6..4ffddce92 100644 --- a/static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_buildManifest.js +++ b/static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,c,a,e,t,i,n,f,o,d,h,g,u,r,k){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,n,h,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,n,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,n,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,f,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-e1721280387f6322.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[k,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,k,"static/chunks/1556-d7a4de19826e46f3.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,d,f,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-187b2bf3e1265f44.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,h,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,d,"static/chunks/pages/stream-health-5edc91e4fa00ba5c.js"],"/upgrade":[s,c,"static/chunks/9655-6347f487aa1205af.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,n,d,f,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,d,h,g,u,r,k){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,h,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-e1721280387f6322.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[k,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,k,"static/chunks/1556-d7a4de19826e46f3.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,d,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-187b2bf3e1265f44.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,h,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,d,"static/chunks/pages/stream-health-fe46c37b7e05b347.js"],"/upgrade":[s,c,"static/chunks/9655-6347f487aa1205af.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,d,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_middlewareManifest.js b/static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_middlewareManifest.js similarity index 100% rename from static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_middlewareManifest.js rename to static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_middlewareManifest.js diff --git a/static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_ssgManifest.js b/static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_ssgManifest.js similarity index 100% rename from static/admin/_next/static/GgyZQ5iYJSPP0iopcehNG/_ssgManifest.js rename to static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_ssgManifest.js diff --git a/static/admin/_next/static/chunks/pages/stream-health-5edc91e4fa00ba5c.js b/static/admin/_next/static/chunks/pages/stream-health-5edc91e4fa00ba5c.js deleted file mode 100644 index 8c3a175cf..000000000 --- a/static/admin/_next/static/chunks/pages/stream-health-5edc91e4fa00ba5c.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9632],{24019:function(e,t,a){"use strict";a.d(t,{Z:function(){return l}});var r=a(1413),n=a(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},o=a(42135),s=function(e,t){return n.createElement(o.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};s.displayName="ClockCircleOutlined";var l=n.forwardRef(s)},86401:function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/stream-health",function(){return a(26102)}])},89270:function(e,t,a){"use strict";a.d(t,{Z:function(){return u}});var r=a(85893),n=a(31877),i=a(92616),o=a.n(i),s=a(58091),l=a(60727);function c(e){var t={};return e.forEach((function(e){var a=new Date(e.time),r=(0,s.Z)(a,"H:mma");t[r]=e.value})),t}function u(e){var t=e.data,a=e.title,n=e.color,i=e.unit,o=e.dataCollections,s=e.yFlipped,u=e.yLogarithmic,d=[];t&&t.length>0&&d.push({name:a,color:n,data:c(t)}),o.forEach((function(e){d.push({name:e.name,data:c(e.data),color:e.color,dataset:e.options})}));var h={scales:{y:{reverse:!1,type:"linear"},x:{type:"time"}}};return h.scales.y.reverse=s,h.scales.y.type=u?"logarithmic":"linear",(0,r.jsx)("div",{className:"line-chart-container",children:(0,r.jsx)(l.wW,{xtitle:"Time",ytitle:a,suffix:i,legend:"bottom",color:n,data:d,download:a,library:h})})}o().use(n.Z),u.defaultProps={dataCollections:[],data:[],title:"",yFlipped:!1,yLogarithmic:!1}},14880:function(e,t,a){"use strict";a.d(t,{Z:function(){return f}});var r=a(85893),n=a(8751),i=a(11475),o=a(25968),s=a(6226),l=a(74763),c=a(84485),u=a(14670),d=a(71577),h=a(41664),p=a(67294),y=a(35159);function f(e){var t=e.showTroubleshootButton,a=(0,p.useContext)(y.aC).health;if(!a)return null;var f=a.healthy,m=a.healthPercentage,v=a.message,x=a.representation,g="#3f8600",w="info";return m<80?(g="#cf000f",w="error"):m<30&&(g="#f0ad4e",w="error"),(0,r.jsxs)("div",{children:[(0,r.jsxs)(o.Z,{gutter:8,children:[(0,r.jsx)(s.Z,{span:12,children:(0,r.jsx)(l.Z,{title:"Healthy Stream",value:f?"Yes":"No",valueStyle:{color:g},prefix:f?(0,r.jsx)(n.Z,{}):(0,r.jsx)(i.Z,{})})}),(0,r.jsx)(s.Z,{span:12,children:(0,r.jsx)(l.Z,{title:"Playback Health",value:m,valueStyle:{color:g},suffix:"%"})})]}),(0,r.jsx)(o.Z,{style:{display:x<100&&0!==x?"grid":"none"},children:(0,r.jsxs)(c.Z.Text,{type:"secondary",style:{textAlign:"center",fontSize:"0.7em",opacity:"0.3"},children:["Stream health represents ",x,"% of all known players. Other player status is unknown."]})}),(0,r.jsx)(o.Z,{gutter:16,style:{width:"100%",display:v?"grid":"none",marginTop:"10px"},children:(0,r.jsx)(s.Z,{span:24,children:(0,r.jsx)(u.Z,{message:v,type:w,showIcon:!0,action:t&&(0,r.jsx)(h.default,{passHref:!0,href:"/stream-health",children:(0,r.jsx)(d.Z,{size:"small",type:"text",style:{color:"black"},children:"TROUBLESHOOT"})})})})})]})}f.defaultProps={showTroubleshootButton:!0}},26102:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return P}});var r=a(34051),n=a.n(r),i=a(85893),o=a(84485),s=a(14670),l=a(11382),c=a(26713),u=a(25968),d=a(6226),h=a(97751),p=a(74763),y=a(67294),f=a(1413),m={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},v=a(42135),x=function(e,t){return y.createElement(v.Z,(0,f.Z)((0,f.Z)({},e),{},{ref:t,icon:m}))};x.displayName="WifiOutlined";var g=y.forwardRef(x),w=a(24019),j=a(28058),b=a(58827),Z=a(89270),F=a(14880),S=a(35159);function k(e,t,a,r,n,i,o){try{var s=e[i](o),l=s.value}catch(c){return void a(c)}s.done?t(l):Promise.resolve(l).then(r,n)}function C(e){var t=e.title,a=e.description;return(0,i.jsxs)("div",{className:"description-box",children:[(0,i.jsx)(o.Z.Title,{children:t}),(0,i.jsx)(o.Z.Paragraph,{children:a})]})}function P(){var e,t,a,r,f,m,v,x=(0,y.useState)([]),P=x[0],T=x[1],N=(0,y.useState)([]),E=N[0],B=N[1],L=(0,y.useState)(),D=L[0],O=L[1],z=(0,y.useState)(),I=z[0],_=z[1],q=(0,y.useState)([]),M=q[0],H=q[1],R=(0,y.useState)([]),V=R[0],A=R[1],Q=(0,y.useState)([]),W=Q[0],Y=Q[1],X=(0,y.useState)([]),U=X[0],$=X[1],G=(0,y.useState)([]),J=G[0],K=G[1],ee=(0,y.useState)([]),te=ee[0],ae=ee[1],re=(0,y.useState)([]),ne=re[0],ie=re[1],oe=(0,y.useState)([]),se=oe[0],le=oe[1],ce=(0,y.useState)(0),ue=ce[0],de=ce[1],he=function(){var e,t=(e=n().mark((function e(){var t;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,b.rQ)(b.N$);case 3:t=e.sent,T(t.errors),B(t.qualityVariantChanges),_(t.highestLatency),O(t.lowestLatency),H(t.medianLatency),A(t.medianSegmentDownloadDuration||[]),Y(t.maximumSegmentDownloadDuration||[]),$(t.minimumSegmentDownloadDuration||[]),K(t.minPlayerBitrate),ae(t.medianPlayerBitrate),ie(t.maxPlayerBitrate),le(t.availableBitrates),de(t.segmentLength-.3),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(0),console.error(e.t0);case 22:case"end":return e.stop()}}),e,null,[[0,19]])})),function(){var t=this,a=arguments;return new Promise((function(r,n){var i=e.apply(t,a);function o(e){k(i,r,n,o,s,"next",e)}function s(e){k(i,r,n,o,s,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();(0,y.useEffect)((function(){var e;return he(),e=setInterval(he,b.NE),function(){clearInterval(e)}}),[]);var pe=(0,i.jsxs)("div",{children:[(0,i.jsx)(o.Z.Title,{children:"Stream Performance"}),(0,i.jsx)(s.Z,{type:"info",message:" Once a stream has started and viewers have been watching, playback data and metrics will be available to you."}),(0,i.jsx)(l.Z,{size:"large",children:(0,i.jsx)("div",{style:{marginTop:"50px",height:"100px"}})})]});if(!(null===P||void 0===P?void 0:P.length))return pe;if(!(null===M||void 0===M?void 0:M.length))return pe;if(!(null===V||void 0===V?void 0:V.length))return pe;var ye=[{name:"Errors",color:"#B63FFF",options:{radius:3},data:P},{name:"Quality changes",color:"#2087E2",options:{radius:2},data:E}],fe=[{name:"Median stream latency",color:"#00FFFF",options:{radius:2},data:M},{name:"Lowest stream latency",color:"#02FD0D",options:{radius:2},data:D},{name:"Highest stream latency",color:"#B63FFF",options:{radius:2},data:I}],me=[{name:"Max download duration",color:"#B63FFF",options:{radius:2},data:W},{name:"Median download duration",color:"#00FFFF",options:{radius:2},data:V},{name:"Min download duration",color:"#02FD0D",options:{radius:2},data:U},{name:"Approximate limit",color:"#003FFF",data:V.map((function(e){return{time:e.time,value:ue}})),options:{radius:0}}],ve=[{name:"Slowest player speed",color:"#B63FFF",data:J,options:{radius:2}},{name:"Median player speed",color:"#00FFFF",data:te,options:{radius:2}},{name:"Fastest player speed",color:"#02FD0D",data:ne,options:{radius:2}}];se.forEach((function(e){ve.push({name:"Available bitrate",color:"#003FFF",data:J.map((function(t){return{time:t.time,value:e}})),options:{radius:0}})}));var xe=null===(t=null===(e=ve[0])||void 0===e?void 0:e.data[ve[0].data.length-1])||void 0===t?void 0:t.value,ge=null===(a=V[V.length-1])||void 0===a?void 0:a.value,we=se[0],je=(null===(r=M[M.length-1])||void 0===r?void 0:r.value)||0,be=(null===(f=I[I.length-1])||void 0===f?void 0:f.value)||0,Ze=(null===(m=D[D.length-1])||void 0===m?void 0:m.value)||0,Fe=(Number(be)+Number(Ze)+Number(je))/3,Se=0;((null===(v=ye[0])||void 0===v?void 0:v.data.length)||0)>5?Se=ye[0].data.slice(-3).reduce((function(e,t){return e+Number(t.value)}),0):Se=ye[0].data.reduce((function(e,t){return e+Number(t.value)}),0);var ke=xe>0||ge>0||Se>0,Ce=null,Pe=null;0!==xe&&xeue&&(Pe="Your viewers may be consuming your video slower than required. This may be due to slow networks or your latency configuration. You need to decrease the amount of time viewers are taking to consume your video. Consider adding a lower quality with a lower bitrate or experiment with increasing the latency buffer setting.");var Te=Se>0?"#B63FFF":"#FFFFFF",Ne={display:"flex",alignItems:"center",justifyContent:"center",height:"80px"},Ee=(0,y.useContext)(S.aC).health;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Title,{children:"Stream Performance"}),(0,i.jsx)(o.Z.Paragraph,{children:"This tool hopes to help you identify and troubleshoot problems you may be experiencing with your stream. It aims to aggregate experiences across your viewers, meaning one viewer with an exceptionally bad experience may throw off numbers for the whole, especially with a low number of viewers."}),(0,i.jsx)(o.Z.Paragraph,{children:"The data is only collected by those using the Owncast web interface and is unable to gain insight into external players people may be using such as VLC, MPV, QuickTime, etc."}),(0,i.jsxs)(c.Z,{direction:"vertical",size:"middle",children:[(0,i.jsxs)(u.Z,{gutter:[16,16],justify:"space-around",style:{display:ke?"flex":"none"},children:[0!==xe&&(0,i.jsx)(d.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Viewer Playback Speed",value:"".concat(xe),prefix:(0,i.jsx)(g,{style:{marginRight:"5px"}}),precision:0,suffix:"kbps"})})})}),0!==Fe&&(0,i.jsx)(d.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Viewer Latency",value:"".concat(Fe),prefix:(0,i.jsx)(w.Z,{style:{marginRight:"5px"}}),precision:0,suffix:"seconds"})})})}),(0,i.jsx)(d.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Recent Client Playback Warnings",value:"".concat(Se||0),valueStyle:{color:Te},prefix:(0,i.jsx)(j.Z,{style:{marginRight:"5px"}}),suffix:""})})})})]}),Ee&&(0,i.jsx)(u.Z,{justify:"space-around",children:(0,i.jsx)(d.Z,{style:{width:"100%"},children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)(F.Z,{showTroubleshootButton:!1})})})}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Video Segment Download",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"Once a video segment takes too long to download a viewer will experience buffering. If you see slow downloads you should offer a lower quality for your viewers, or find other ways, possibly an external storage provider, a CDN or a faster network, to improve your stream quality. Increasing your latency buffer can also help for some viewers."}),(0,i.jsx)(o.Z.Paragraph,{children:"In short, once the pink line consistently gets near the blue line, your stream is likely experiencing problems for viewers."})]})}),Pe&&(0,i.jsx)(s.Z,{message:"Slow downloads",description:Pe,type:"error",showIcon:!0}),(0,i.jsx)(Z.Z,{title:"Seconds",dataCollections:me,color:"#FF7700",unit:"s",yLogarithmic:!0})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Player Network Speed",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"The playback bitrate of your viewers. Once somebody's bitrate drops below the lowest video variant bitrate they will experience buffering. If you see viewers with slow connections trying to play your video you should consider offering an additional, lower quality."}),(0,i.jsx)(o.Z.Paragraph,{children:"In short, once the pink line gets near the lowest blue line, your stream is likely experiencing problems for at least one of your viewers."})]})}),Ce&&(0,i.jsx)(s.Z,{message:"Low bandwidth viewers",description:Ce,type:"error",showIcon:!0}),(0,i.jsx)(Z.Z,{title:"Lowest Player Bitrate",dataCollections:ve,color:"#FF7700",unit:"kbps",yLogarithmic:!0})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Errors and Quality Changes",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"Recent number of errors, including buffering, and quality changes from across all your viewers. Errors can occur for many reasons, including browser issues, plugins, wifi problems, and they don't all represent fatal issues or something you have control over."}),"A quality change is not necessarily a negative thing, but if it's excessive and coinciding with errors you should consider adding another quality variant.",(0,i.jsx)(o.Z.Paragraph,{})]})}),(0,i.jsx)(Z.Z,{title:"#",dataCollections:ye,color:"#FF7700",unit:""})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Viewer Latency",description:"An approximate number of seconds that your viewers are behind your live video. The largest cause of latency spikes is buffering. High latency itself is not a problem, and optimizing for low latency can result in buffering, resulting in even higher latency."}),(0,i.jsx)(Z.Z,{title:"Seconds",dataCollections:fe,color:"#FF7700",unit:"s"})]})]})]})}}},function(e){e.O(0,[7570,1741,8091,8879,7751,4763,1080,9774,2888,179],(function(){return t=86401,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/static/admin/_next/static/chunks/pages/stream-health-fe46c37b7e05b347.js b/static/admin/_next/static/chunks/pages/stream-health-fe46c37b7e05b347.js new file mode 100644 index 000000000..98618af4d --- /dev/null +++ b/static/admin/_next/static/chunks/pages/stream-health-fe46c37b7e05b347.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9632],{24019:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},o=r(42135),s=function(e,t){return n.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:i}))};s.displayName="ClockCircleOutlined";var l=n.forwardRef(s)},86401:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/stream-health",function(){return r(26102)}])},89270:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var a=r(85893),n=r(31877),i=r(92616),o=r.n(i),s=r(58091),l=r(60727);function c(e){var t={};return e.forEach((function(e){var r=new Date(e.time),a=(0,s.Z)(r,"H:mma");t[a]=e.value})),t}function d(e){var t=e.data,r=e.title,n=e.color,i=e.unit,o=e.dataCollections,s=e.yFlipped,d=e.yLogarithmic,u=[];t&&t.length>0&&u.push({name:r,color:n,data:c(t)}),o.forEach((function(e){u.push({name:e.name,data:c(e.data),color:e.color,dataset:e.options})}));var h={scales:{y:{reverse:!1,type:"linear"},x:{type:"time"}}};return h.scales.y.reverse=s,h.scales.y.type=d?"logarithmic":"linear",(0,a.jsx)("div",{className:"line-chart-container",children:(0,a.jsx)(l.wW,{xtitle:"Time",ytitle:r,suffix:i,legend:"bottom",color:n,data:u,download:r,library:h})})}o().use(n.Z),d.defaultProps={dataCollections:[],data:[],title:"",yFlipped:!1,yLogarithmic:!1}},14880:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var a=r(85893),n=r(8751),i=r(11475),o=r(25968),s=r(6226),l=r(74763),c=r(84485),d=r(14670),u=r(71577),h=r(41664),p=r(67294),y=r(35159);function m(e){var t=e.showTroubleshootButton,r=(0,p.useContext)(y.aC).health;if(!r)return null;var m=r.healthy,f=r.healthPercentage,v=r.message,g=r.representation,x="#3f8600",w="info";return f<80?(x="#cf000f",w="error"):f<30&&(x="#f0ad4e",w="error"),(0,a.jsxs)("div",{children:[(0,a.jsxs)(o.Z,{gutter:8,children:[(0,a.jsx)(s.Z,{span:12,children:(0,a.jsx)(l.Z,{title:"Healthy Stream",value:m?"Yes":"No",valueStyle:{color:x},prefix:m?(0,a.jsx)(n.Z,{}):(0,a.jsx)(i.Z,{})})}),(0,a.jsx)(s.Z,{span:12,children:(0,a.jsx)(l.Z,{title:"Playback Health",value:f,valueStyle:{color:x},suffix:"%"})})]}),(0,a.jsx)(o.Z,{style:{display:g<100&&0!==g?"grid":"none"},children:(0,a.jsxs)(c.Z.Text,{type:"secondary",style:{textAlign:"center",fontSize:"0.7em",opacity:"0.3"},children:["Stream health represents ",g,"% of all known players. Other player status is unknown."]})}),(0,a.jsx)(o.Z,{gutter:16,style:{width:"100%",display:v?"grid":"none",marginTop:"10px"},children:(0,a.jsx)(s.Z,{span:24,children:(0,a.jsx)(d.Z,{message:v,type:w,showIcon:!0,action:t&&(0,a.jsx)(h.default,{passHref:!0,href:"/stream-health",children:(0,a.jsx)(u.Z,{size:"small",type:"text",style:{color:"black"},children:"TROUBLESHOOT"})})})})})]})}m.defaultProps={showTroubleshootButton:!0}},26102:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return P}});var a=r(34051),n=r.n(a),i=r(85893),o=r(84485),s=r(14670),l=r(11382),c=r(26713),d=r(25968),u=r(6226),h=r(97751),p=r(74763),y=r(67294),m=r(1413),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},v=r(42135),g=function(e,t){return y.createElement(v.Z,(0,m.Z)((0,m.Z)({},e),{},{ref:t,icon:f}))};g.displayName="WifiOutlined";var x=y.forwardRef(g),w=r(24019),j=r(28058),b=r(58827),Z=r(89270),F=r(14880),k=r(35159);function S(e,t,r,a,n,i,o){try{var s=e[i](o),l=s.value}catch(c){return void r(c)}s.done?t(l):Promise.resolve(l).then(a,n)}function C(e){var t=e.title,r=e.description;return(0,i.jsxs)("div",{className:"description-box",children:[(0,i.jsx)(o.Z.Title,{children:t}),(0,i.jsx)(o.Z.Paragraph,{children:r})]})}function P(){var e,t,r,a,m,f,v,g=(0,y.useState)([]),P=g[0],T=g[1],N=(0,y.useState)([]),E=N[0],B=N[1],L=(0,y.useState)(),D=L[0],O=L[1],q=(0,y.useState)(),z=q[0],_=q[1],I=(0,y.useState)([]),M=I[0],H=I[1],R=(0,y.useState)([]),V=R[0],A=R[1],Q=(0,y.useState)([]),W=Q[0],Y=Q[1],U=(0,y.useState)([]),X=U[0],$=U[1],G=(0,y.useState)([]),J=G[0],K=G[1],ee=(0,y.useState)([]),te=ee[0],re=ee[1],ae=(0,y.useState)([]),ne=ae[0],ie=ae[1],oe=(0,y.useState)([]),se=oe[0],le=oe[1],ce=(0,y.useState)(0),de=ce[0],ue=ce[1],he=function(){var e,t=(e=n().mark((function e(){var t;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,b.rQ)(b.N$);case 3:t=e.sent,T(t.errors),B(t.qualityVariantChanges),_(t.highestLatency),O(t.lowestLatency),H(t.medianLatency),A(t.medianSegmentDownloadDuration||[]),Y(t.maximumSegmentDownloadDuration||[]),$(t.minimumSegmentDownloadDuration||[]),K(t.minPlayerBitrate),re(t.medianPlayerBitrate),ie(t.maxPlayerBitrate),le(t.availableBitrates),ue(t.segmentLength-.3),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(0),console.error(e.t0);case 22:case"end":return e.stop()}}),e,null,[[0,19]])})),function(){var t=this,r=arguments;return new Promise((function(a,n){var i=e.apply(t,r);function o(e){S(i,a,n,o,s,"next",e)}function s(e){S(i,a,n,o,s,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();(0,y.useEffect)((function(){var e;return he(),e=setInterval(he,b.NE),function(){clearInterval(e)}}),[]);var pe=(0,i.jsxs)("div",{children:[(0,i.jsx)(o.Z.Title,{children:"Stream Performance"}),(0,i.jsx)(s.Z,{type:"info",message:" Once a stream has started and viewers have been watching, playback data and metrics will be available to you."}),(0,i.jsx)(l.Z,{size:"large",children:(0,i.jsx)("div",{style:{marginTop:"50px",height:"100px"}})})]});if(!(null===P||void 0===P?void 0:P.length))return pe;if(!(null===M||void 0===M?void 0:M.length))return pe;if(!(null===V||void 0===V?void 0:V.length))return pe;var ye=[{name:"Errors",color:"#B63FFF",options:{radius:3},data:P},{name:"Quality changes",color:"#2087E2",options:{radius:2},data:E}],me=[{name:"Median stream latency",color:"#00FFFF",options:{radius:2},data:M},{name:"Lowest stream latency",color:"#02FD0D",options:{radius:2},data:D},{name:"Highest stream latency",color:"#B63FFF",options:{radius:2},data:z}],fe=[{name:"Max download duration",color:"#B63FFF",options:{radius:2},data:W},{name:"Median download duration",color:"#00FFFF",options:{radius:2},data:V},{name:"Min download duration",color:"#02FD0D",options:{radius:2},data:X},{name:"Approximate limit",color:"#003FFF",data:V.map((function(e){return{time:e.time,value:de}})),options:{radius:0}}],ve=[{name:"Slowest player speed",color:"#B63FFF",data:J,options:{radius:2}},{name:"Median player speed",color:"#00FFFF",data:te,options:{radius:2}},{name:"Fastest player speed",color:"#02FD0D",data:ne,options:{radius:2}}];se.forEach((function(e){ve.push({name:"Available bitrate",color:"#003FFF",data:J.map((function(t){return{time:t.time,value:e}})),options:{radius:0}})}));var ge=null===(t=null===(e=ve[0])||void 0===e?void 0:e.data[ve[0].data.length-1])||void 0===t?void 0:t.value,xe=null===(r=V[V.length-1])||void 0===r?void 0:r.value,we=se[0],je=(null===(a=M[M.length-1])||void 0===a?void 0:a.value)||0,be=(null===(m=z[z.length-1])||void 0===m?void 0:m.value)||0,Ze=(null===(f=D[D.length-1])||void 0===f?void 0:f.value)||0,Fe=(Number(be)+Number(Ze)+Number(je))/3,ke=0;((null===(v=ye[0])||void 0===v?void 0:v.data.length)||0)>5?ke=ye[0].data.slice(-3).reduce((function(e,t){return e+Number(t.value)}),0):ke=ye[0].data.reduce((function(e,t){return e+Number(t.value)}),0);var Se=ge>0||xe>0||ke>0,Ce=null,Pe=null;0!==ge&&gede&&(Pe="Your viewers may be consuming your video slower than required. This may be due to slow networks or your latency configuration. You need to decrease the amount of time viewers are taking to consume your video. Consider adding a lower quality with a lower bitrate or experiment with increasing the latency buffer setting.");var Te=ke>0?"#B63FFF":"#FFFFFF",Ne={display:"flex",alignItems:"center",justifyContent:"center",height:"80px"},Ee=(0,y.useContext)(k.aC).health;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Title,{children:"Stream Performance"}),(0,i.jsx)(o.Z.Paragraph,{children:"This tool hopes to help you identify and troubleshoot problems you may be experiencing with your stream. It aims to aggregate experiences across your viewers, meaning one viewer with an exceptionally bad experience may throw off numbers for the whole, especially with a low number of viewers."}),(0,i.jsx)(o.Z.Paragraph,{children:"The data is only collected by those using the Owncast web interface and is unable to gain insight into external players people may be using such as VLC, MPV, QuickTime, etc."}),(0,i.jsxs)(c.Z,{direction:"vertical",size:"middle",children:[(0,i.jsxs)(d.Z,{gutter:[16,16],justify:"space-around",style:{display:Se?"flex":"none"},children:[0!==ge&&(0,i.jsx)(u.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Viewer Playback Speed",value:"".concat(ge),prefix:(0,i.jsx)(x,{style:{marginRight:"5px"}}),precision:0,suffix:"kbps"})})})}),0!==Fe&&(0,i.jsx)(u.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Viewer Latency",value:"".concat(Fe),prefix:(0,i.jsx)(w.Z,{style:{marginRight:"5px"}}),precision:0,suffix:"seconds"})})})}),(0,i.jsx)(u.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Recent Client Playback Warnings",value:"".concat(ke||0),valueStyle:{color:Te},prefix:(0,i.jsx)(j.Z,{style:{marginRight:"5px"}}),suffix:""})})})})]}),Ee&&(0,i.jsx)(d.Z,{justify:"space-around",children:(0,i.jsx)(u.Z,{style:{width:"100%"},children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)(F.Z,{showTroubleshootButton:!1})})})}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Video Segment Download",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"Once a video segment takes too long to download a viewer will experience buffering. If you see slow downloads you should offer a lower quality for your viewers, or find other ways, possibly an external storage provider, a CDN or a faster network, to improve your stream quality. Increasing your latency buffer can also help for some viewers."}),(0,i.jsx)(o.Z.Paragraph,{children:"Once the pink line consistently gets near the blue line, your stream is likely experiencing problems for viewers."})]})}),Pe&&(0,i.jsx)(s.Z,{message:"Slow downloads",description:Pe,type:"error",showIcon:!0}),(0,i.jsx)(Z.Z,{title:"Seconds",dataCollections:fe,color:"#FF7700",unit:"s",yLogarithmic:!0})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Player Network Speed",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"The playback bitrate of your viewers. Once somebody's bitrate drops below the lowest video variant bitrate they will experience buffering. If you see viewers with slow connections trying to play your video you should consider offering an additional, lower quality."}),(0,i.jsx)(o.Z.Paragraph,{children:"Once the pink line gets near the lowest blue line, your stream is likely experiencing problems for at least one of your viewers."})]})}),Ce&&(0,i.jsx)(s.Z,{message:"Low bandwidth viewers",description:Ce,type:"error",showIcon:!0}),(0,i.jsx)(Z.Z,{title:"Lowest Player Bitrate",dataCollections:ve,color:"#FF7700",unit:"kbps",yLogarithmic:!0})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Errors and Quality Changes",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"Recent number of errors, including buffering, and quality changes from across all your viewers. Errors can occur for many reasons, including browser issues, plugins, wifi problems, and they don't all represent fatal issues or something you have control over."}),"A quality change is not necessarily a negative thing but excessive errors may indicate you might need to add additional qualities to support your viewers.",(0,i.jsx)(o.Z.Paragraph,{})]})}),(0,i.jsx)(Z.Z,{title:"#",dataCollections:ye,color:"#FF7700",unit:""})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Viewer Latency",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{children:"The approximate number of seconds that your viewers are behind your live video. High latency itself is not a problem, and optimizing for low latency can result in buffering, resulting in even higher latency. The largest cause of latency spikes is buffering. Adding lower qualities for your viewers will allow those with slow networks to more comfortably play back your stream, reducing the likelihood of buffering, therefore keeping latency lower for more viewers."}),(0,i.jsx)("p",{children:'For some networks, some browsers, and some playback environments a new experimental "minimized latency mode" is available for testing in the player settings and could help lower latency for some viewers.'}),(0,i.jsx)("p",{children:"Note: Using an external S3 storage provider may add some additional latency as it requires an layer of content transfer."})]})}),(0,i.jsx)(Z.Z,{title:"Seconds",dataCollections:me,color:"#FF7700",unit:"s"})]})]})]})}}},function(e){e.O(0,[7570,1741,8091,8879,7751,4763,1080,9774,2888,179],(function(){return t=86401,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/static/admin/access-tokens/index.html b/static/admin/access-tokens/index.html index fe2ebe54e..e0cd3cf5e 100644 --- a/static/admin/access-tokens/index.html +++ b/static/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/admin/actions/index.html b/static/admin/actions/index.html index 939b232a3..c567e92c9 100644 --- a/static/admin/actions/index.html +++ b/static/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/admin/chat/messages/index.html b/static/admin/chat/messages/index.html index f4e2b6296..87eee3fa4 100644 --- a/static/admin/chat/messages/index.html +++ b/static/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/admin/chat/users/index.html b/static/admin/chat/users/index.html index 1db0a3c8f..4ba12c369 100644 --- a/static/admin/chat/users/index.html +++ b/static/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/admin/config-chat/index.html b/static/admin/config-chat/index.html index 3f49e9736..4da551aaf 100644 --- a/static/admin/config-chat/index.html +++ b/static/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-federation/index.html b/static/admin/config-federation/index.html index 054ebc04e..0d59b4edf 100644 --- a/static/admin/config-federation/index.html +++ b/static/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-notify/index.html b/static/admin/config-notify/index.html index 04527d33a..b231f2621 100644 --- a/static/admin/config-notify/index.html +++ b/static/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file diff --git a/static/admin/config-public-details/index.html b/static/admin/config-public-details/index.html index 4ecc1c8d2..ebfc79129 100644 --- a/static/admin/config-public-details/index.html +++ b/static/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/admin/config-server-details/index.html b/static/admin/config-server-details/index.html index 50306ce16..e05538fce 100644 --- a/static/admin/config-server-details/index.html +++ b/static/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/admin/config-social-items/index.html b/static/admin/config-social-items/index.html index 9f3ecbfdb..2af1a3cc4 100644 --- a/static/admin/config-social-items/index.html +++ b/static/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/admin/config-storage/index.html b/static/admin/config-storage/index.html index e168e2fa4..20c1b1f8f 100644 --- a/static/admin/config-storage/index.html +++ b/static/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/admin/config-video/index.html b/static/admin/config-video/index.html index 43d112caf..848afa337 100644 --- a/static/admin/config-video/index.html +++ b/static/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/admin/federation/actions/index.html b/static/admin/federation/actions/index.html index 76d7c5ef1..90e31f5d4 100644 --- a/static/admin/federation/actions/index.html +++ b/static/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file diff --git a/static/admin/federation/followers/index.html b/static/admin/federation/followers/index.html index 37949783d..82969c4c9 100644 --- a/static/admin/federation/followers/index.html +++ b/static/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file diff --git a/static/admin/hardware-info/index.html b/static/admin/hardware-info/index.html index c43ecf672..d609644c4 100644 --- a/static/admin/hardware-info/index.html +++ b/static/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Disk
0%
Loading...
\ No newline at end of file + a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" style="stroke:#52C41A;stroke-dasharray:0px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s">
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/admin/help/index.html b/static/admin/help/index.html index 8f3c68581..5de769f3a 100644 --- a/static/admin/help/index.html +++ b/static/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/admin/index.html b/static/admin/index.html index 73de05205..d3616a308 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/admin/logs/index.html b/static/admin/logs/index.html index 11abbd56b..486827889 100644 --- a/static/admin/logs/index.html +++ b/static/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/stream-health/index.html b/static/admin/stream-health/index.html index fbf993e5b..fe2caf4cd 100644 --- a/static/admin/stream-health/index.html +++ b/static/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/admin/upgrade/index.html b/static/admin/upgrade/index.html index d20a87c79..37ac90842 100644 --- a/static/admin/upgrade/index.html +++ b/static/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/admin/viewer-info/index.html b/static/admin/viewer-info/index.html index 417af2dd2..7d6a68519 100644 --- a/static/admin/viewer-info/index.html +++ b/static/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file diff --git a/static/admin/webhooks/index.html b/static/admin/webhooks/index.html index 970a76a82..ef7f122a5 100644 --- a/static/admin/webhooks/index.html +++ b/static/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file From 824e0c1599abf2a1107e29659954e3edd1d3e5f6 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 4 Jun 2022 05:21:55 +0000 Subject: [PATCH 12/40] Update module github.com/mattn/go-sqlite3 to v1.14.13 --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index d8fe9e746..793c9acb7 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/gorilla/websocket v1.5.0 github.com/grafov/m3u8 v0.11.1 github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible - github.com/mattn/go-sqlite3 v1.14.12 + github.com/mattn/go-sqlite3 v1.14.13 github.com/microcosm-cc/bluemonday v1.0.18 github.com/mssola/user_agent v0.5.3 github.com/nareix/joy5 v0.0.0-20210317075623-2c912ca30590 diff --git a/go.sum b/go.sum index 7770abf7c..0330b18bd 100644 --- a/go.sum +++ b/go.sum @@ -193,6 +193,8 @@ github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0/go.mod h1:zJYVVT2 github.com/mattn/go-sqlite3 v1.14.7/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/mattn/go-sqlite3 v1.14.12 h1:TJ1bhYJPV44phC+IMu1u2K/i5RriLTPe+yc68XDJ1Z0= github.com/mattn/go-sqlite3 v1.14.12/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= +github.com/mattn/go-sqlite3 v1.14.13 h1:1tj15ngiFfcZzii7yd82foL+ks+ouQcj8j/TPq3fk1I= +github.com/mattn/go-sqlite3 v1.14.13/go.mod h1:NyWgC/yNuGj7Q9rpYnZvas74GogHl5/Z4A/KQRfk6bU= github.com/matttproud/golang_protobuf_extensions v1.0.1 h1:4hp9jkHxhMHkqkrB3Ix0jegS5sx/RkqARlsWZ6pIwiU= github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0= github.com/microcosm-cc/bluemonday v1.0.18 h1:6HcxvXDAi3ARt3slx6nTesbvorIc3QeTzBNRvWktHBo= From 2a01b209149e4e4230c391352f0e68073491672c Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sat, 4 Jun 2022 11:34:03 +0000 Subject: [PATCH 13/40] Update module github.com/prometheus/client_golang to v1.12.2 --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 793c9acb7..dcacf46ba 100644 --- a/go.mod +++ b/go.mod @@ -39,7 +39,7 @@ require ( golang.org/x/sys v0.0.0-20220325203850-36772127a21f // indirect ) -require github.com/prometheus/client_golang v1.12.1 +require github.com/prometheus/client_golang v1.12.2 require ( github.com/beorn7/perks v1.0.1 // indirect diff --git a/go.sum b/go.sum index 0330b18bd..9bca93cdb 100644 --- a/go.sum +++ b/go.sum @@ -234,6 +234,8 @@ github.com/prometheus/client_golang v1.7.1/go.mod h1:PY5Wy2awLA44sXw4AOSfFBetzPP github.com/prometheus/client_golang v1.11.0/go.mod h1:Z6t4BnS23TR94PD6BsDNk8yVqroYurpAkEiz0P2BEV0= github.com/prometheus/client_golang v1.12.1 h1:ZiaPsmm9uiBeaSMRznKsCDNtPCS0T3JVDGF+06gjBzk= github.com/prometheus/client_golang v1.12.1/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= +github.com/prometheus/client_golang v1.12.2 h1:51L9cDoUHVrXx4zWYlcLQIZ+d+VXHgqnYKkIuq4g/34= +github.com/prometheus/client_golang v1.12.2/go.mod h1:3Z9XVyYiZYEO+YQWt3RD2R3jrbd179Rt297l4aS6nDY= github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod h1:MbSGuTsp3dbXC40dX6PRTWyKYBIrTGTE9sqQNg2J8bo= github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= From ab0a46cbd2c6e511328140b491c184100399d98a Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 4 Jun 2022 11:36:03 -0700 Subject: [PATCH 14/40] Change text to clarify following is on the fediverse --- webroot/js/components/fediverse-follow-modal.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/webroot/js/components/fediverse-follow-modal.js b/webroot/js/components/fediverse-follow-modal.js index 369649af7..87a2e1244 100644 --- a/webroot/js/components/fediverse-follow-modal.js +++ b/webroot/js/components/fediverse-follow-modal.js @@ -96,8 +96,9 @@ export default class FediverseFollowModal extends Component { return html`

- By following this stream you'll get posts and notifications such as - when it goes live. + By following this stream on the Fediverse you'll receive updates when + it goes live, get posts from the streamer, and be featured as a + follower.

Date: Sat, 4 Jun 2022 22:41:25 -0700 Subject: [PATCH 15/40] Fix middleware attached to wrong endpoint --- router/router.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/router/router.go b/router/router.go index 9f505db4e..1efbb5dd2 100644 --- a/router/router.go +++ b/router/router.go @@ -355,8 +355,8 @@ func Start() error { // Start auth flow http.HandleFunc("/api/auth/indieauth", middleware.RequireUserAccessToken(indieauth.StartAuthFlow)) - http.HandleFunc("/api/auth/indieauth/callback", middleware.RequireAdminAuth(indieauth.HandleRedirect)) - http.HandleFunc("/api/auth/provider/indieauth", indieauth.HandleAuthEndpoint) + http.HandleFunc("/api/auth/indieauth/callback", indieauth.HandleRedirect) + http.HandleFunc("/api/auth/provider/indieauth", middleware.RequireAdminAuth(indieauth.HandleAuthEndpoint)) http.HandleFunc("/api/auth/fediverse", middleware.RequireUserAccessToken(fediverseauth.RegisterFediverseOTPRequest)) http.HandleFunc("/api/auth/fediverse/verify", fediverseauth.VerifyFediverseOTPRequest) From 26eebf47d540f377f221ddaf4f4d8f49956d1675 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 5 Jun 2022 22:45:20 -0700 Subject: [PATCH 16/40] Pass back actual error payload --- auth/indieauth/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auth/indieauth/client.go b/auth/indieauth/client.go index 6e70f8c92..ac8869927 100644 --- a/auth/indieauth/client.go +++ b/auth/indieauth/client.go @@ -68,7 +68,7 @@ func HandleCallbackCode(code, state string) (*Request, *Response, error) { var response Response if err := json.Unmarshal(body, &response); err != nil { - return nil, nil, errors.Wrap(err, "unable to parse IndieAuth response") + return nil, nil, errors.Wrap(err, "unable to parse IndieAuth response: "+string(body)) } if response.Error != "" || response.ErrorDescription != "" { From d6814b516a5295b87bb1ad4828440510a827d863 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 5 Jun 2022 22:46:46 -0700 Subject: [PATCH 17/40] Require auth middleware only on GET requests --- controllers/auth/indieauth/server.go | 5 ++++- router/router.go | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/controllers/auth/indieauth/server.go b/controllers/auth/indieauth/server.go index 78c10a367..a994be6eb 100644 --- a/controllers/auth/indieauth/server.go +++ b/controllers/auth/indieauth/server.go @@ -6,13 +6,16 @@ import ( ia "github.com/owncast/owncast/auth/indieauth" "github.com/owncast/owncast/controllers" + "github.com/owncast/owncast/router/middleware" ) // HandleAuthEndpoint will handle the IndieAuth auth endpoint. func HandleAuthEndpoint(w http.ResponseWriter, r *http.Request) { if r.Method == http.MethodGet { // Require the GET request for IndieAuth to be behind admin login. - handleAuthEndpointGet(w, r) + f := middleware.RequireAdminAuth(handleAuthEndpointGet) + f(w, r) + return } else if r.Method == http.MethodPost { handleAuthEndpointPost(w, r) } else { diff --git a/router/router.go b/router/router.go index 1efbb5dd2..de5390a77 100644 --- a/router/router.go +++ b/router/router.go @@ -356,7 +356,7 @@ func Start() error { // Start auth flow http.HandleFunc("/api/auth/indieauth", middleware.RequireUserAccessToken(indieauth.StartAuthFlow)) http.HandleFunc("/api/auth/indieauth/callback", indieauth.HandleRedirect) - http.HandleFunc("/api/auth/provider/indieauth", middleware.RequireAdminAuth(indieauth.HandleAuthEndpoint)) + http.HandleFunc("/api/auth/provider/indieauth", indieauth.HandleAuthEndpoint) http.HandleFunc("/api/auth/fediverse", middleware.RequireUserAccessToken(fediverseauth.RegisterFediverseOTPRequest)) http.HandleFunc("/api/auth/fediverse/verify", fediverseauth.VerifyFediverseOTPRequest) From 0c1e00a6434f6de6522cccac4799f22845844386 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 6 Jun 2022 05:52:16 +0000 Subject: [PATCH 18/40] Update golang.org/x/net digest to c960675 --- go.mod | 4 ++-- go.sum | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index dcacf46ba..b0b6b1ae8 100644 --- a/go.mod +++ b/go.mod @@ -35,8 +35,8 @@ require ( github.com/tklauser/numcpus v0.4.0 // indirect github.com/yusufpapurcu/wmi v1.2.2 // indirect golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 // indirect - golang.org/x/net v0.0.0-20220421235706-1d1ef9303861 - golang.org/x/sys v0.0.0-20220325203850-36772127a21f // indirect + golang.org/x/net v0.0.0-20220531201128-c960675eff93 + golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect ) require github.com/prometheus/client_golang v1.12.2 diff --git a/go.sum b/go.sum index 9bca93cdb..21c9126e9 100644 --- a/go.sum +++ b/go.sum @@ -372,6 +372,8 @@ golang.org/x/net v0.0.0-20220420153159-1850ba15e1be h1:yx80W7nvY5ySWpaU8UWaj5o9e golang.org/x/net v0.0.0-20220420153159-1850ba15e1be/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220421235706-1d1ef9303861 h1:yssD99+7tqHWO5Gwh81phT+67hg+KttniBr6UnEXOY8= golang.org/x/net v0.0.0-20220421235706-1d1ef9303861/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= +golang.org/x/net v0.0.0-20220531201128-c960675eff93 h1:MYimHLfoXEpOhqd/zgoA/uoXzHB86AEky4LAx5ij9xA= +golang.org/x/net v0.0.0-20220531201128-c960675eff93/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -432,6 +434,8 @@ golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220128215802-99c3d69c2c27/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220325203850-36772127a21f h1:TrmogKRsSOxRMJbLYGrB4SBbW+LJcEllYBLME5Zk5pU= golang.org/x/sys v0.0.0-20220325203850-36772127a21f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a h1:dGzPydgVsqGcTRVwiLJ1jVbufYwmzD3LfVPLKsKg+0k= +golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 h1:JGgROgKl9N8DuW20oFS5gxc+lE67/N3FcwmBPMe7ArY= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= From 365beb525cf2cb8d085ed511bf686e0625f44229 Mon Sep 17 00:00:00 2001 From: Owncast Date: Mon, 6 Jun 2022 13:30:05 +0000 Subject: [PATCH 19/40] Update admin to 678a9600e2eefa97abd712b2f639b718ebab083c --- static/admin/404/index.html | 2 +- .../_buildManifest.js | 2 +- .../_middlewareManifest.js | 0 .../_ssgManifest.js | 0 static/admin/_next/static/chunks/1556-d7a4de19826e46f3.js | 1 - static/admin/_next/static/chunks/1556-f79a922e799c7a06.js | 1 + static/admin/_next/static/chunks/2589-c48f3b04b9a6c7ce.js | 1 + static/admin/_next/static/chunks/2589-e1721280387f6322.js | 1 - static/admin/_next/static/chunks/6132-187b2bf3e1265f44.js | 1 - static/admin/_next/static/chunks/6132-4fc73fe4cc2a426e.js | 1 + static/admin/_next/static/chunks/9655-6347f487aa1205af.js | 1 - static/admin/_next/static/chunks/9655-722bcfb83a61ab83.js | 1 + .../admin/_next/static/chunks/pages/_app-31f10b5fdaf0b550.js | 1 - .../admin/_next/static/chunks/pages/_app-4e3c6e515fee028c.js | 1 + static/admin/access-tokens/index.html | 2 +- static/admin/actions/index.html | 2 +- static/admin/chat/messages/index.html | 2 +- static/admin/chat/users/index.html | 2 +- static/admin/config-chat/index.html | 2 +- static/admin/config-federation/index.html | 2 +- static/admin/config-notify/index.html | 2 +- static/admin/config-public-details/index.html | 2 +- static/admin/config-server-details/index.html | 2 +- static/admin/config-social-items/index.html | 2 +- static/admin/config-storage/index.html | 2 +- static/admin/config-video/index.html | 2 +- static/admin/federation/actions/index.html | 2 +- static/admin/federation/followers/index.html | 2 +- static/admin/hardware-info/index.html | 4 ++-- static/admin/help/index.html | 2 +- static/admin/index.html | 2 +- static/admin/logs/index.html | 2 +- static/admin/stream-health/index.html | 2 +- static/admin/upgrade/index.html | 2 +- static/admin/viewer-info/index.html | 2 +- static/admin/webhooks/index.html | 2 +- 36 files changed, 30 insertions(+), 30 deletions(-) rename static/admin/_next/static/{IxPiOvZ14tEsYkM5oGl6v => cHVLAQoqAIT68gjWpJz4z}/_buildManifest.js (79%) rename static/admin/_next/static/{IxPiOvZ14tEsYkM5oGl6v => cHVLAQoqAIT68gjWpJz4z}/_middlewareManifest.js (100%) rename static/admin/_next/static/{IxPiOvZ14tEsYkM5oGl6v => cHVLAQoqAIT68gjWpJz4z}/_ssgManifest.js (100%) delete mode 100644 static/admin/_next/static/chunks/1556-d7a4de19826e46f3.js create mode 100644 static/admin/_next/static/chunks/1556-f79a922e799c7a06.js create mode 100644 static/admin/_next/static/chunks/2589-c48f3b04b9a6c7ce.js delete mode 100644 static/admin/_next/static/chunks/2589-e1721280387f6322.js delete mode 100644 static/admin/_next/static/chunks/6132-187b2bf3e1265f44.js create mode 100644 static/admin/_next/static/chunks/6132-4fc73fe4cc2a426e.js delete mode 100644 static/admin/_next/static/chunks/9655-6347f487aa1205af.js create mode 100644 static/admin/_next/static/chunks/9655-722bcfb83a61ab83.js delete mode 100644 static/admin/_next/static/chunks/pages/_app-31f10b5fdaf0b550.js create mode 100644 static/admin/_next/static/chunks/pages/_app-4e3c6e515fee028c.js diff --git a/static/admin/404/index.html b/static/admin/404/index.html index 2d6b01ee1..ff76c9499 100644 --- a/static/admin/404/index.html +++ b/static/admin/404/index.html @@ -1 +1 @@ -404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file diff --git a/static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_buildManifest.js b/static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_buildManifest.js similarity index 79% rename from static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_buildManifest.js rename to static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_buildManifest.js index 4ffddce92..b06c6a549 100644 --- a/static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_buildManifest.js +++ b/static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,d,h,g,u,r,k){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,h,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-e1721280387f6322.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[k,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,k,"static/chunks/1556-d7a4de19826e46f3.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,d,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-187b2bf3e1265f44.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,h,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,d,"static/chunks/pages/stream-health-fe46c37b7e05b347.js"],"/upgrade":[s,c,"static/chunks/9655-6347f487aa1205af.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,d,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,h,d,g,u,r,k){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,d,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-c48f3b04b9a6c7ce.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[k,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,k,"static/chunks/1556-f79a922e799c7a06.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,h,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-4fc73fe4cc2a426e.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,d,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,h,"static/chunks/pages/stream-health-fe46c37b7e05b347.js"],"/upgrade":[s,c,"static/chunks/9655-722bcfb83a61ab83.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,h,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_middlewareManifest.js b/static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_middlewareManifest.js similarity index 100% rename from static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_middlewareManifest.js rename to static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_middlewareManifest.js diff --git a/static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_ssgManifest.js b/static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_ssgManifest.js similarity index 100% rename from static/admin/_next/static/IxPiOvZ14tEsYkM5oGl6v/_ssgManifest.js rename to static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_ssgManifest.js diff --git a/static/admin/_next/static/chunks/1556-d7a4de19826e46f3.js b/static/admin/_next/static/chunks/1556-d7a4de19826e46f3.js deleted file mode 100644 index 81c5ead1d..000000000 --- a/static/admin/_next/static/chunks/1556-d7a4de19826e46f3.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1556],{48689:function(e,t,n){n.d(t,{Z:function(){return l}});var a=n(1413),r=n(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},i=n(42135),s=function(e,t){return r.createElement(i.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:o}))};s.displayName="DeleteOutlined";var l=r.forwardRef(s)},6226:function(e,t,n){n.d(t,{Z:function(){return v}});var a=n(4942),r=n(87462),o=n(71002),i=n(67294),s=n(94184),l=n.n(s),u=n(99134),c=n(59844),d=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0){var F=m[0]/2;D.paddingLeft=F,D.paddingRight=F}if(m&&m[1]>0&&!y){var L=m[1]/2;D.paddingTop=L,D.paddingBottom=L}return E&&(D.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(E),!1!==g||D.minWidth||(D.minWidth=0)),i.createElement("div",(0,r.Z)({},P,{style:(0,r.Z)((0,r.Z)({},D),O),className:B,ref:t}),S)}));p.displayName="Col";var v=p},99134:function(e,t,n){var a=(0,n(67294).createContext)({});t.Z=a},25968:function(e,t,n){n.d(t,{Z:function(){return g}});var a=n(87462),r=n(4942),o=n(71002),i=n(97685),s=n(67294),l=n(94184),u=n.n(l),c=n(59844),d=n(99134),f=n(93355),p=n(24308),v=n(98082),h=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0?F[0]/-2:void 0,H=F[1]>0?F[1]/-2:void 0;if(V&&(R.marginLeft=V,R.marginRight=V),T){var j=(0,i.Z)(F,2);R.rowGap=j[1]}else H&&(R.marginTop=H,R.marginBottom=H);var A=(0,i.Z)(F,2),I=A[0],U=A[1],G=s.useMemo((function(){return{gutter:[I,U],wrap:x,supportFlexGap:T}}),[I,U,x,T]);return s.createElement(d.Z.Provider,{value:G},s.createElement("div",(0,a.Z)({},C,{className:L,style:(0,a.Z)((0,a.Z)({},R),y),ref:t}),b))})));m.displayName="Row";var g=m},48761:function(e,t,n){n.d(t,{Z:function(){return re}});var a=n(71002),r=n(4942),o=n(87462),i=n(97685),s=n(67294),l=n(1413),u=n(15671),c=n(43144),d=n(60136),f=n(3289),p=n(80334),v=function(e){var t,n,a=e.className,o=e.included,i=e.vertical,u=e.style,c=e.length,d=e.offset,f=e.reverse;c<0&&(f=!f,c=Math.abs(c),d=100-d);var p=i?(t={},(0,r.Z)(t,f?"top":"bottom","".concat(d,"%")),(0,r.Z)(t,f?"bottom":"top","auto"),(0,r.Z)(t,"height","".concat(c,"%")),t):(n={},(0,r.Z)(n,f?"right":"left","".concat(d,"%")),(0,r.Z)(n,f?"left":"right","auto"),(0,r.Z)(n,"width","".concat(c,"%")),n),v=(0,l.Z)((0,l.Z)({},u),p);return o?s.createElement("div",{className:a,style:v}):null},h=n(91),m=n(74902),g=n(61120);function y(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,g.Z)(e)););return e}function b(){return b="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var a=y(e,t);if(a){var r=Object.getOwnPropertyDescriptor(a,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},b.apply(this,arguments)}var Z=n(64019),k=n(94184),x=n.n(k),C=function(e){var t=e.prefixCls,n=e.vertical,a=e.reverse,o=e.marks,i=e.dots,u=e.step,c=e.included,d=e.lowerBound,f=e.upperBound,v=e.max,h=e.min,m=e.dotStyle,g=e.activeDotStyle,y=v-h,b=function(e,t,n,a,r,o){(0,p.ZP)(!n||a>0,"`Slider[step]` should be a positive number in order to make Slider[dots] work.");var i=Object.keys(t).map(parseFloat).sort((function(e,t){return e-t}));if(n&&a)for(var s=r;s<=o;s+=a)-1===i.indexOf(s)&&i.push(s);return i}(0,o,i,u,h,v).map((function(e){var o,i="".concat(Math.abs(e-h)/y*100,"%"),u=!c&&e===f||c&&e<=f&&e>=d,p=n?(0,l.Z)((0,l.Z)({},m),{},(0,r.Z)({},a?"top":"bottom",i)):(0,l.Z)((0,l.Z)({},m),{},(0,r.Z)({},a?"right":"left",i));u&&(p=(0,l.Z)((0,l.Z)({},p),g));var v=x()((o={},(0,r.Z)(o,"".concat(t,"-dot"),!0),(0,r.Z)(o,"".concat(t,"-dot-active"),u),(0,r.Z)(o,"".concat(t,"-dot-reverse"),a),o));return s.createElement("span",{className:v,style:p,key:e})}));return s.createElement("div",{className:"".concat(t,"-step")},b)},w=function(e){var t=e.className,n=e.vertical,o=e.reverse,i=e.marks,u=e.included,c=e.upperBound,d=e.lowerBound,f=e.max,p=e.min,v=e.onClickLabel,h=Object.keys(i),m=f-p,g=h.map(parseFloat).sort((function(e,t){return e-t})).map((function(e){var f,h=i[e],g="object"===(0,a.Z)(h)&&!s.isValidElement(h),y=g?h.label:h;if(!y&&0!==y)return null;var b=!u&&e===c||u&&e<=c&&e>=d,Z=x()((f={},(0,r.Z)(f,"".concat(t,"-text"),!0),(0,r.Z)(f,"".concat(t,"-text-active"),b),f)),k=(0,r.Z)({marginBottom:"-50%"},o?"top":"bottom","".concat((e-p)/m*100,"%")),C=(0,r.Z)({transform:"translateX(".concat(o?"50%":"-50%",")"),msTransform:"translateX(".concat(o?"50%":"-50%",")")},o?"right":"left","".concat((e-p)/m*100,"%")),w=n?k:C,M=g?(0,l.Z)((0,l.Z)({},w),h.style):w;return s.createElement("span",{className:Z,style:M,key:e,onMouseDown:function(t){return v(t,e)},onTouchStart:function(t){return v(t,e)}},y)}));return s.createElement("div",{className:t},g)},M=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(){var e;return(0,u.Z)(this,n),(e=t.apply(this,arguments)).state={clickFocused:!1},e.setHandleRef=function(t){e.handle=t},e.handleMouseUp=function(){document.activeElement===e.handle&&e.setClickFocus(!0)},e.handleMouseDown=function(t){t.preventDefault(),e.focus()},e.handleBlur=function(){e.setClickFocus(!1)},e.handleKeyDown=function(){e.setClickFocus(!1)},e}return(0,c.Z)(n,[{key:"componentDidMount",value:function(){this.onMouseUpListener=(0,Z.Z)(document,"mouseup",this.handleMouseUp)}},{key:"componentWillUnmount",value:function(){this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"setClickFocus",value:function(e){this.setState({clickFocused:e})}},{key:"clickFocus",value:function(){this.setClickFocus(!0),this.focus()}},{key:"focus",value:function(){this.handle.focus()}},{key:"blur",value:function(){this.handle.blur()}},{key:"render",value:function(){var e,t,n,a=this.props,i=a.prefixCls,u=a.vertical,c=a.reverse,d=a.offset,f=a.style,p=a.disabled,v=a.min,m=a.max,g=a.value,y=a.tabIndex,b=a.ariaLabel,Z=a.ariaLabelledBy,k=a.ariaValueTextFormatter,C=(0,h.Z)(a,["prefixCls","vertical","reverse","offset","style","disabled","min","max","value","tabIndex","ariaLabel","ariaLabelledBy","ariaValueTextFormatter"]),w=x()(this.props.className,(0,r.Z)({},"".concat(i,"-handle-click-focused"),this.state.clickFocused)),M=u?(e={},(0,r.Z)(e,c?"top":"bottom","".concat(d,"%")),(0,r.Z)(e,c?"bottom":"top","auto"),(0,r.Z)(e,"transform",c?null:"translateY(+50%)"),e):(t={},(0,r.Z)(t,c?"right":"left","".concat(d,"%")),(0,r.Z)(t,c?"left":"right","auto"),(0,r.Z)(t,"transform","translateX(".concat(c?"+":"-","50%)")),t),S=(0,l.Z)((0,l.Z)({},f),M),E=y||0;return(p||null===y)&&(E=null),k&&(n=k(g)),s.createElement("div",(0,o.Z)({ref:this.setHandleRef,tabIndex:E},C,{className:w,style:S,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,role:"slider","aria-valuemin":v,"aria-valuemax":m,"aria-valuenow":g,"aria-disabled":!!p,"aria-label":b,"aria-labelledby":Z,"aria-valuetext":n}))}}]),n}(s.Component),S=n(73935),E=n(15105);function O(e,t){try{return Object.keys(t).some((function(n){return e.target===(0,S.findDOMNode)(t[n])}))}catch(n){return!1}}function P(e,t){var n=t.min,a=t.max;return ea}function N(e){return e.touches.length>1||"touchend"===e.type.toLowerCase()&&e.touches.length>0}function T(e,t){var n=t.marks,a=t.step,r=t.min,o=t.max,i=Object.keys(n).map(parseFloat);if(null!==a){var s=Math.pow(10,B(a)),l=Math.floor((o*s-r*s)/(a*s)),u=Math.min((e-r)/a,l),c=Math.round(u)*a+r;i.push(c)}var d=i.map((function(t){return Math.abs(e-t)}));return i[d.indexOf(Math.min.apply(Math,(0,m.Z)(d)))]}function B(e){var t=e.toString(),n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}function D(e,t){return e?t.clientY:t.pageX}function F(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function L(e,t){var n=t.getBoundingClientRect();return e?n.top+.5*n.height:window.pageXOffset+n.left+.5*n.width}function R(e,t){var n=t.max,a=t.min;return e<=a?a:e>=n?n:e}function V(e,t){var n=t.step,a=isFinite(T(e,t))?T(e,t):0;return null===n?a:parseFloat(a.toFixed(B(n)))}function H(e){e.stopPropagation(),e.preventDefault()}function j(e,t,n){var a="increase",r="decrease",o=a;switch(e.keyCode){case E.Z.UP:o=t&&n?r:a;break;case E.Z.RIGHT:o=!t&&n?r:a;break;case E.Z.DOWN:o=t&&n?a:r;break;case E.Z.LEFT:o=!t&&n?a:r;break;case E.Z.END:return function(e,t){return t.max};case E.Z.HOME:return function(e,t){return t.min};case E.Z.PAGE_UP:return function(e,t){return e+2*t.step};case E.Z.PAGE_DOWN:return function(e,t){return e-2*t.step};default:return}return function(e,t){return function(e,t,n){var a={increase:function(e,t){return e+t},decrease:function(e,t){return e-t}},r=a[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),o=Object.keys(n.marks)[r];return n.step?a[e](t,n.step):Object.keys(n.marks).length&&n.marks[o]?n.marks[o]:t}(o,e,t)}}function A(){}function I(e){var t;return t=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(e){var a;(0,u.Z)(this,n),(a=t.call(this,e)).onDown=function(e,t){var n=t,r=a.props,o=r.draggableTrack,i=r.vertical,s=a.state.bounds,l=o&&a.positionGetValue&&a.positionGetValue(n)||[],u=O(e,a.handlesRefs);if(a.dragTrack=o&&s.length>=2&&!u&&!l.map((function(e,t){var n=!!t||e>=s[t];return t===l.length-1?e<=s[t]:n})).some((function(e){return!e})),a.dragTrack)a.dragOffset=n,a.startBounds=(0,m.Z)(s);else{if(u){var c=L(i,e.target);a.dragOffset=n-c,n=c}else a.dragOffset=0;a.onStart(n)}},a.onMouseDown=function(e){if(0===e.button){a.removeDocumentEvents();var t=D(a.props.vertical,e);a.onDown(e,t),a.addDocumentMouseEvents()}},a.onTouchStart=function(e){if(!N(e)){var t=F(a.props.vertical,e);a.onDown(e,t),a.addDocumentTouchEvents(),H(e)}},a.onFocus=function(e){var t=a.props,n=t.onFocus,r=t.vertical;if(O(e,a.handlesRefs)&&!a.dragTrack){var o=L(r,e.target);a.dragOffset=0,a.onStart(o),H(e),n&&n(e)}},a.onBlur=function(e){var t=a.props.onBlur;a.dragTrack||a.onEnd(),t&&t(e)},a.onMouseUp=function(){a.handlesRefs[a.prevMovedHandleIndex]&&a.handlesRefs[a.prevMovedHandleIndex].clickFocus()},a.onMouseMove=function(e){if(a.sliderRef){var t=D(a.props.vertical,e);a.onMove(e,t-a.dragOffset,a.dragTrack,a.startBounds)}else a.onEnd()},a.onTouchMove=function(e){if(!N(e)&&a.sliderRef){var t=F(a.props.vertical,e);a.onMove(e,t-a.dragOffset,a.dragTrack,a.startBounds)}else a.onEnd()},a.onKeyDown=function(e){a.sliderRef&&O(e,a.handlesRefs)&&a.onKeyboard(e)},a.onClickMarkLabel=function(e,t){e.stopPropagation(),a.onChange({value:t}),a.setState({value:t},(function(){return a.onEnd(!0)}))},a.saveSlider=function(e){a.sliderRef=e};var r=e.step,o=e.max,i=e.min,s=!isFinite(o-i)||(o-i)%r===0;return(0,p.ZP)(!r||Math.floor(r)!==r||s,"Slider[max] - Slider[min] (".concat(o-i,") should be a multiple of Slider[step] (").concat(r,")")),a.handlesRefs={},a}return(0,c.Z)(n,[{key:"componentDidMount",value:function(){this.document=this.sliderRef&&this.sliderRef.ownerDocument;var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"componentWillUnmount",value:function(){b((0,g.Z)(n.prototype),"componentWillUnmount",this)&&b((0,g.Z)(n.prototype),"componentWillUnmount",this).call(this),this.removeDocumentEvents()}},{key:"getSliderStart",value:function(){var e=this.sliderRef,t=this.props,n=t.vertical,a=t.reverse,r=e.getBoundingClientRect();return n?a?r.bottom:r.top:window.pageXOffset+(a?r.right:r.left)}},{key:"getSliderLength",value:function(){var e=this.sliderRef;if(!e)return 0;var t=e.getBoundingClientRect();return this.props.vertical?t.height:t.width}},{key:"addDocumentTouchEvents",value:function(){this.onTouchMoveListener=(0,Z.Z)(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=(0,Z.Z)(this.document,"touchend",this.onEnd)}},{key:"addDocumentMouseEvents",value:function(){this.onMouseMoveListener=(0,Z.Z)(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=(0,Z.Z)(this.document,"mouseup",this.onEnd)}},{key:"removeDocumentEvents",value:function(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"focus",value:function(){var e;this.props.disabled||null===(e=this.handlesRefs[0])||void 0===e||e.focus()}},{key:"blur",value:function(){var e=this;this.props.disabled||Object.keys(this.handlesRefs).forEach((function(t){var n,a;null===(n=e.handlesRefs[t])||void 0===n||null===(a=n.blur)||void 0===a||a.call(n)}))}},{key:"calcValue",value:function(e){var t=this.props,n=t.vertical,a=t.min,r=t.max,o=Math.abs(Math.max(e,0)/this.getSliderLength());return n?(1-o)*(r-a)+a:o*(r-a)+a}},{key:"calcValueByPos",value:function(e){var t=(this.props.reverse?-1:1)*(e-this.getSliderStart());return this.trimAlignValue(this.calcValue(t))}},{key:"calcOffset",value:function(e){var t=this.props,n=t.min,a=(e-n)/(t.max-n);return Math.max(0,100*a)}},{key:"saveHandle",value:function(e,t){this.handlesRefs[e]=t}},{key:"render",value:function(){var e,t=this.props,a=t.prefixCls,o=t.className,i=t.marks,u=t.dots,c=t.step,d=t.included,f=t.disabled,p=t.vertical,v=t.reverse,h=t.min,m=t.max,y=t.children,Z=t.maximumTrackStyle,k=t.style,M=t.railStyle,S=t.dotStyle,E=t.activeDotStyle,O=b((0,g.Z)(n.prototype),"render",this).call(this),P=O.tracks,N=O.handles,T=x()(a,(e={},(0,r.Z)(e,"".concat(a,"-with-marks"),Object.keys(i).length),(0,r.Z)(e,"".concat(a,"-disabled"),f),(0,r.Z)(e,"".concat(a,"-vertical"),p),(0,r.Z)(e,o,o),e));return s.createElement("div",{ref:this.saveSlider,className:T,onTouchStart:f?A:this.onTouchStart,onMouseDown:f?A:this.onMouseDown,onMouseUp:f?A:this.onMouseUp,onKeyDown:f?A:this.onKeyDown,onFocus:f?A:this.onFocus,onBlur:f?A:this.onBlur,style:k},s.createElement("div",{className:"".concat(a,"-rail"),style:(0,l.Z)((0,l.Z)({},Z),M)}),P,s.createElement(C,{prefixCls:a,vertical:p,reverse:v,marks:i,dots:u,step:c,included:d,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:m,min:h,dotStyle:S,activeDotStyle:E}),N,s.createElement(w,{className:"".concat(a,"-mark"),onClickLabel:f?A:this.onClickMarkLabel,vertical:p,marks:i,included:d,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:m,min:h,reverse:v}),y)}}]),n}(e),t.displayName="ComponentEnhancer(".concat(e.displayName,")"),t.defaultProps=(0,l.Z)((0,l.Z)({},e.defaultProps),{},{prefixCls:"rc-slider",className:"",min:0,max:100,step:1,marks:{},handle:function(e){var t=e.index,n=(0,h.Z)(e,["index"]);return delete n.dragging,null===n.value?null:s.createElement(M,(0,o.Z)({},n,{key:t}))},onBeforeChange:A,onChange:A,onAfterChange:A,included:!0,disabled:!1,dots:!1,vertical:!1,reverse:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),t}var U=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(e){var a;(0,u.Z)(this,n),(a=t.call(this,e)).positionGetValue=function(e){return[]},a.onEnd=function(e){var t=a.state.dragging;a.removeDocumentEvents(),(t||e)&&a.props.onAfterChange(a.getValue()),a.setState({dragging:!1})};var r=void 0!==e.defaultValue?e.defaultValue:e.min,o=void 0!==e.value?e.value:r;return a.state={value:a.trimAlignValue(o),dragging:!1},(0,p.ZP)(!("minimumTrackStyle"in e),"minimumTrackStyle will be deprecated, please use trackStyle instead."),(0,p.ZP)(!("maximumTrackStyle"in e),"maximumTrackStyle will be deprecated, please use railStyle instead."),a}return(0,c.Z)(n,[{key:"calcValueByPos",value:function(e){return 0}},{key:"calcOffset",value:function(e){return 0}},{key:"saveHandle",value:function(e,t){}},{key:"removeDocumentEvents",value:function(){}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,a=n.min,r=n.max,o=n.value,i=n.onChange;if("min"in this.props||"max"in this.props){var s=void 0!==o?o:t.value,l=this.trimAlignValue(s,this.props);l!==t.value&&(this.setState({value:l}),a===e.min&&r===e.max||!P(s,this.props)||i(l))}}},{key:"onChange",value:function(e){var t=this.props,n=!("value"in t),a=e.value>this.props.max?(0,l.Z)((0,l.Z)({},e),{},{value:this.props.max}):e;n&&this.setState(a);var r=a.value;t.onChange(r)}},{key:"onStart",value:function(e){this.setState({dragging:!0});var t=this.props,n=this.getValue();t.onBeforeChange(n);var a=this.calcValueByPos(e);this.startValue=a,this.startPosition=e,a!==n&&(this.prevMovedHandleIndex=0,this.onChange({value:a}))}},{key:"onMove",value:function(e,t){H(e);var n=this.state.value,a=this.calcValueByPos(t);a!==n&&this.onChange({value:a})}},{key:"onKeyboard",value:function(e){var t=this.props,n=t.reverse,a=j(e,t.vertical,n);if(a){H(e);var r=this.state.value,o=a(r,this.props),i=this.trimAlignValue(o);if(i===r)return;this.onChange({value:i}),this.props.onAfterChange(i),this.onEnd()}}},{key:"getValue",value:function(){return this.state.value}},{key:"getLowerBound",value:function(){var e=this.props.startPoint||this.props.min;return this.state.value>e?e:this.state.value}},{key:"getUpperBound",value:function(){return this.state.value1&&void 0!==arguments[1]?arguments[1]:{};if(null===e)return null;var n=(0,l.Z)((0,l.Z)({},this.props),t),a=R(e,n);return V(a,n)}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,a=t.vertical,r=t.included,o=t.disabled,i=t.minimumTrackStyle,u=t.trackStyle,c=t.handleStyle,d=t.tabIndex,f=t.ariaLabelForHandle,p=t.ariaLabelledByForHandle,h=t.ariaValueTextFormatterForHandle,m=t.min,g=t.max,y=t.startPoint,b=t.reverse,Z=t.handle,k=this.state,x=k.value,C=k.dragging,w=this.calcOffset(x),M=Z({className:"".concat(n,"-handle"),prefixCls:n,vertical:a,offset:w,value:x,dragging:C,disabled:o,min:m,max:g,reverse:b,index:0,tabIndex:d,ariaLabel:f,ariaLabelledBy:p,ariaValueTextFormatter:h,style:c[0]||c,ref:function(t){return e.saveHandle(0,t)}}),S=void 0!==y?this.calcOffset(y):0,E=u[0]||u;return{tracks:s.createElement(v,{className:"".concat(n,"-track"),vertical:a,included:r,offset:S,reverse:b,length:w-S,style:(0,l.Z)((0,l.Z)({},i),E)}),handles:M}}}]),n}(s.Component),G=I(U),_=function(e){var t=e.value,n=e.handle,a=e.bounds,r=e.props,o=r.allowCross,i=r.pushable,s=Number(i),l=R(t,r),u=l;return o||null==n||void 0===a||(n>0&&l<=a[n-1]+s&&(u=a[n-1]+s),n=a[n+1]-s&&(u=a[n+1]-s)),V(u,r)},K=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(e){var a;(0,u.Z)(this,n),(a=t.call(this,e)).positionGetValue=function(e){var t=a.getValue(),n=a.calcValueByPos(e),r=a.getClosestBound(n),o=a.getBoundNeedMoving(n,r);if(n===t[o])return null;var i=(0,m.Z)(t);return i[o]=n,i},a.onEnd=function(e){var t=a.state.handle;a.removeDocumentEvents(),t||(a.dragTrack=!1),(null!==t||e)&&a.props.onAfterChange(a.getValue()),a.setState({handle:null})};var r=e.count,o=e.min,i=e.max,s=Array.apply(void 0,(0,m.Z)(Array(r+1))).map((function(){return o})),l="defaultValue"in e?e.defaultValue:s,c=(void 0!==e.value?e.value:l).map((function(t,n){return _({value:t,handle:n,props:e})})),d=c[0]===i?0:c.length-1;return a.state={handle:null,recent:d,bounds:c},a}return(0,c.Z)(n,[{key:"calcValueByPos",value:function(e){return 0}},{key:"getSliderLength",value:function(){return 0}},{key:"calcOffset",value:function(e){return 0}},{key:"saveHandle",value:function(e,t){}},{key:"removeDocumentEvents",value:function(){}},{key:"componentDidUpdate",value:function(e,t){var n=this,a=this.props,r=a.onChange,o=a.value,i=a.min,s=a.max;if(("min"in this.props||"max"in this.props)&&(i!==e.min||s!==e.max)){var l=o||t.bounds;if(l.some((function(e){return P(e,n.props)})))r(l.map((function(e){return R(e,n.props)})))}}},{key:"onChange",value:function(e){var t=this.props;if(!("value"in t))this.setState(e);else{var n={};["handle","recent"].forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),Object.keys(n).length&&this.setState(n)}var a=(0,l.Z)((0,l.Z)({},this.state),e).bounds;t.onChange(a)}},{key:"onStart",value:function(e){var t=this.props,n=this.state,a=this.getValue();t.onBeforeChange(a);var r=this.calcValueByPos(e);this.startValue=r,this.startPosition=e;var o=this.getClosestBound(r);if(this.prevMovedHandleIndex=this.getBoundNeedMoving(r,o),this.setState({handle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex}),r!==a[this.prevMovedHandleIndex]){var i=(0,m.Z)(n.bounds);i[this.prevMovedHandleIndex]=r,this.onChange({bounds:i})}}},{key:"onMove",value:function(e,t,n,a){H(e);var r=this.state,o=this.props,i=o.max||100,s=o.min||0;if(n){var l=o.vertical?-t:t;l=o.reverse?-l:l;var u=i-Math.max.apply(Math,(0,m.Z)(a)),c=s-Math.min.apply(Math,(0,m.Z)(a)),d=Math.min(Math.max(l/(this.getSliderLength()/(i-s)),c),u),f=a.map((function(e){return Math.floor(Math.max(Math.min(e+d,i),s))}));r.bounds.map((function(e,t){return e===f[t]})).some((function(e){return!e}))&&this.onChange({bounds:f})}else{var p=this.calcValueByPos(t);p!==r.bounds[r.handle]&&this.moveTo(p)}}},{key:"onKeyboard",value:function(e){var t=this.props,n=t.reverse,a=j(e,t.vertical,n);if(a){H(e);var r=this.state,o=this.props,i=r.bounds,s=r.handle,l=i[null===s?r.recent:s],u=a(l,o),c=_({value:u,handle:s,bounds:r.bounds,props:o});if(c===l)return;this.moveTo(c,!0)}}},{key:"getValue",value:function(){return this.state.bounds}},{key:"getClosestBound",value:function(e){for(var t=this.state.bounds,n=0,a=1;a=t[a]&&(n=a);return Math.abs(t[n+1]-e)=a.length||r<0)return!1;var o=t+n,i=a[r],s=this.props.pushable,l=Number(s),u=n*(e[o]-i);return!!this.pushHandle(e,o,n,l-u)&&(e[t]=i,!0)}},{key:"trimAlignValue",value:function(e){var t=this.state,n=t.handle,a=t.bounds;return _({value:e,handle:n,bounds:a,props:this.props})}},{key:"render",value:function(){var e=this,t=this.state,n=t.handle,a=t.bounds,o=this.props,i=o.prefixCls,l=o.vertical,u=o.included,c=o.disabled,d=o.min,f=o.max,p=o.reverse,h=o.handle,m=o.trackStyle,g=o.handleStyle,y=o.tabIndex,b=o.ariaLabelGroupForHandles,Z=o.ariaLabelledByGroupForHandles,k=o.ariaValueTextFormatterGroupForHandles,C=a.map((function(t){return e.calcOffset(t)})),w="".concat(i,"-handle"),M=a.map((function(t,a){var o,s=y[a]||0;(c||null===y[a])&&(s=null);var u=n===a;return h({className:x()((o={},(0,r.Z)(o,w,!0),(0,r.Z)(o,"".concat(w,"-").concat(a+1),!0),(0,r.Z)(o,"".concat(w,"-dragging"),u),o)),prefixCls:i,vertical:l,dragging:u,offset:C[a],value:t,index:a,tabIndex:s,min:d,max:f,reverse:p,disabled:c,style:g[a],ref:function(t){return e.saveHandle(a,t)},ariaLabel:b[a],ariaLabelledBy:Z[a],ariaValueTextFormatter:k[a]})}));return{tracks:a.slice(0,-1).map((function(e,t){var n,a=t+1,o=x()((n={},(0,r.Z)(n,"".concat(i,"-track"),!0),(0,r.Z)(n,"".concat(i,"-track-").concat(a),!0),n));return s.createElement(v,{className:o,vertical:l,reverse:p,included:u,offset:C[a-1],length:C[a]-C[a-1],style:m[t],key:a})})),handles:M}}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(!("value"in e||"min"in e||"max"in e))return null;var n=e.value||t.bounds,a=n.map((function(n,a){return _({value:n,handle:a,bounds:t.bounds,props:e})}));if(t.bounds.length===a.length){if(a.every((function(e,n){return e===t.bounds[n]})))return null}else a=n.map((function(t,n){return _({value:t,handle:n,props:e})}));return(0,l.Z)((0,l.Z)({},t),{},{bounds:a})}}]),n}(s.Component);K.displayName="Range",K.defaultProps={count:1,allowCross:!0,pushable:!1,draggableTrack:!1,tabIndex:[],ariaLabelGroupForHandles:[],ariaLabelledByGroupForHandles:[],ariaValueTextFormatterGroupForHandles:[]};var W=I(K),X=n(22972),z=n(42550),Y=n(75164),Q=s.forwardRef((function(e,t){var n=e.visible,a=e.overlay,r=s.useRef(null),i=(0,z.sQ)(t,r),l=s.useRef(null);function u(){Y.Z.cancel(l.current)}return s.useEffect((function(){return n?l.current=(0,Y.Z)((function(){var e;null===(e=r.current)||void 0===e||e.forcePopupAlign()})):u(),u}),[n,a]),s.createElement(X.default,(0,o.Z)({ref:i},e))}));var J=G;J.Range=W,J.Handle=M,J.createSliderWithTooltip=function(e){var t;return t=function(t){(0,d.Z)(a,t);var n=(0,f.Z)(a);function a(){var e;return(0,u.Z)(this,a),(e=n.apply(this,arguments)).state={visibles:{}},e.handleTooltipVisibleChange=function(t,n){e.setState((function(e){return{visibles:(0,l.Z)((0,l.Z)({},e.visibles),{},(0,r.Z)({},t,n))}}))},e.handleWithTooltip=function(t){var n,a=t.value,r=t.dragging,i=t.index,u=t.disabled,c=(0,h.Z)(t,["value","dragging","index","disabled"]),d=e.props,f=d.tipFormatter,p=d.tipProps,v=d.handleStyle,m=d.getTooltipContainer,g=p.prefixCls,y=void 0===g?"rc-slider-tooltip":g,b=p.overlay,Z=void 0===b?f(a):b,k=p.placement,x=void 0===k?"top":k,C=p.visible,w=void 0!==C&&C,S=(0,h.Z)(p,["prefixCls","overlay","placement","visible"]);return n=Array.isArray(v)?v[i]||v[0]:v,s.createElement(Q,(0,o.Z)({},S,{getTooltipContainer:m,prefixCls:y,overlay:Z,placement:x,visible:!u&&(e.state.visibles[i]||r)||w,key:i}),s.createElement(M,(0,o.Z)({},c,{style:(0,l.Z)({},n),value:a,onMouseEnter:function(){return e.handleTooltipVisibleChange(i,!0)},onMouseLeave:function(){return e.handleTooltipVisibleChange(i,!1)}})))},e}return(0,c.Z)(a,[{key:"render",value:function(){return s.createElement(e,(0,o.Z)({},this.props,{handle:this.handleWithTooltip}))}}]),a}(s.Component),t.defaultProps={tipFormatter:function(e){return e},handleStyle:[{}],tipProps:{},getTooltipContainer:function(e){return e.parentNode}},t};var $=J,q=n(56266),ee=s.forwardRef((function(e,t){var n=e.visible,a=(0,s.useRef)(null),r=(0,s.useRef)(null);function i(){Y.Z.cancel(r.current),r.current=null}return s.useEffect((function(){return n?r.current=(0,Y.Z)((function(){var e;null===(e=a.current)||void 0===e||e.forcePopupAlign(),r.current=null})):i(),i}),[n,e.title]),s.createElement(q.Z,(0,o.Z)({ref:(0,z.sQ)(a,t)},e))})),te=n(59844),ne=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0){var F=m[0]/2;D.paddingLeft=F,D.paddingRight=F}if(m&&m[1]>0&&!y){var L=m[1]/2;D.paddingTop=L,D.paddingBottom=L}return E&&(D.flex=function(e){return"number"===typeof e?"".concat(e," ").concat(e," auto"):/^\d+(\.\d+)?(px|em|rem|%)$/.test(e)?"0 0 ".concat(e):e}(E),!1!==g||D.minWidth||(D.minWidth=0)),i.createElement("div",(0,r.Z)({},P,{style:(0,r.Z)((0,r.Z)({},D),O),className:B,ref:t}),S)}));p.displayName="Col";var v=p},99134:function(e,t,n){var a=(0,n(67294).createContext)({});t.Z=a},25968:function(e,t,n){n.d(t,{Z:function(){return g}});var a=n(87462),r=n(4942),o=n(71002),i=n(97685),s=n(67294),l=n(94184),u=n.n(l),c=n(59844),d=n(99134),f=n(93355),p=n(24308),v=n(98082),h=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0?F[0]/-2:void 0,H=F[1]>0?F[1]/-2:void 0;if(V&&(R.marginLeft=V,R.marginRight=V),T){var j=(0,i.Z)(F,2);R.rowGap=j[1]}else H&&(R.marginTop=H,R.marginBottom=H);var A=(0,i.Z)(F,2),I=A[0],U=A[1],G=s.useMemo((function(){return{gutter:[I,U],wrap:x,supportFlexGap:T}}),[I,U,x,T]);return s.createElement(d.Z.Provider,{value:G},s.createElement("div",(0,a.Z)({},C,{className:L,style:(0,a.Z)((0,a.Z)({},R),y),ref:t}),b))})));m.displayName="Row";var g=m},48761:function(e,t,n){n.d(t,{Z:function(){return re}});var a=n(71002),r=n(4942),o=n(87462),i=n(97685),s=n(67294),l=n(1413),u=n(15671),c=n(43144),d=n(60136),f=n(3289),p=n(80334),v=function(e){var t,n,a=e.className,o=e.included,i=e.vertical,u=e.style,c=e.length,d=e.offset,f=e.reverse;c<0&&(f=!f,c=Math.abs(c),d=100-d);var p=i?(t={},(0,r.Z)(t,f?"top":"bottom","".concat(d,"%")),(0,r.Z)(t,f?"bottom":"top","auto"),(0,r.Z)(t,"height","".concat(c,"%")),t):(n={},(0,r.Z)(n,f?"right":"left","".concat(d,"%")),(0,r.Z)(n,f?"left":"right","auto"),(0,r.Z)(n,"width","".concat(c,"%")),n),v=(0,l.Z)((0,l.Z)({},u),p);return o?s.createElement("div",{className:a,style:v}):null},h=n(91),m=n(74902),g=n(61120);function y(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=(0,g.Z)(e)););return e}function b(){return b="undefined"!==typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var a=y(e,t);if(a){var r=Object.getOwnPropertyDescriptor(a,t);return r.get?r.get.call(arguments.length<3?e:n):r.value}},b.apply(this,arguments)}var Z=n(64019),k=n(94184),x=n.n(k),C=function(e){var t=e.prefixCls,n=e.vertical,a=e.reverse,o=e.marks,i=e.dots,u=e.step,c=e.included,d=e.lowerBound,f=e.upperBound,v=e.max,h=e.min,m=e.dotStyle,g=e.activeDotStyle,y=v-h,b=function(e,t,n,a,r,o){(0,p.ZP)(!n||a>0,"`Slider[step]` should be a positive number in order to make Slider[dots] work.");var i=Object.keys(t).map(parseFloat).sort((function(e,t){return e-t}));if(n&&a)for(var s=r;s<=o;s+=a)-1===i.indexOf(s)&&i.push(s);return i}(0,o,i,u,h,v).map((function(e){var o,i="".concat(Math.abs(e-h)/y*100,"%"),u=!c&&e===f||c&&e<=f&&e>=d,p=n?(0,l.Z)((0,l.Z)({},m),{},(0,r.Z)({},a?"top":"bottom",i)):(0,l.Z)((0,l.Z)({},m),{},(0,r.Z)({},a?"right":"left",i));u&&(p=(0,l.Z)((0,l.Z)({},p),g));var v=x()((o={},(0,r.Z)(o,"".concat(t,"-dot"),!0),(0,r.Z)(o,"".concat(t,"-dot-active"),u),(0,r.Z)(o,"".concat(t,"-dot-reverse"),a),o));return s.createElement("span",{className:v,style:p,key:e})}));return s.createElement("div",{className:"".concat(t,"-step")},b)},w=function(e){var t=e.className,n=e.vertical,o=e.reverse,i=e.marks,u=e.included,c=e.upperBound,d=e.lowerBound,f=e.max,p=e.min,v=e.onClickLabel,h=Object.keys(i),m=f-p,g=h.map(parseFloat).sort((function(e,t){return e-t})).map((function(e){var f,h=i[e],g="object"===(0,a.Z)(h)&&!s.isValidElement(h),y=g?h.label:h;if(!y&&0!==y)return null;var b=!u&&e===c||u&&e<=c&&e>=d,Z=x()((f={},(0,r.Z)(f,"".concat(t,"-text"),!0),(0,r.Z)(f,"".concat(t,"-text-active"),b),f)),k=(0,r.Z)({marginBottom:"-50%"},o?"top":"bottom","".concat((e-p)/m*100,"%")),C=(0,r.Z)({transform:"translateX(".concat(o?"50%":"-50%",")"),msTransform:"translateX(".concat(o?"50%":"-50%",")")},o?"right":"left","".concat((e-p)/m*100,"%")),w=n?k:C,M=g?(0,l.Z)((0,l.Z)({},w),h.style):w;return s.createElement("span",{className:Z,style:M,key:e,onMouseDown:function(t){return v(t,e)},onTouchStart:function(t){return v(t,e)}},y)}));return s.createElement("div",{className:t},g)},M=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(){var e;return(0,u.Z)(this,n),(e=t.apply(this,arguments)).state={clickFocused:!1},e.setHandleRef=function(t){e.handle=t},e.handleMouseUp=function(){document.activeElement===e.handle&&e.setClickFocus(!0)},e.handleMouseDown=function(t){t.preventDefault(),e.focus()},e.handleBlur=function(){e.setClickFocus(!1)},e.handleKeyDown=function(){e.setClickFocus(!1)},e}return(0,c.Z)(n,[{key:"componentDidMount",value:function(){this.onMouseUpListener=(0,Z.Z)(document,"mouseup",this.handleMouseUp)}},{key:"componentWillUnmount",value:function(){this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"setClickFocus",value:function(e){this.setState({clickFocused:e})}},{key:"clickFocus",value:function(){this.setClickFocus(!0),this.focus()}},{key:"focus",value:function(){this.handle.focus()}},{key:"blur",value:function(){this.handle.blur()}},{key:"render",value:function(){var e,t,n,a=this.props,i=a.prefixCls,u=a.vertical,c=a.reverse,d=a.offset,f=a.style,p=a.disabled,v=a.min,m=a.max,g=a.value,y=a.tabIndex,b=a.ariaLabel,Z=a.ariaLabelledBy,k=a.ariaValueTextFormatter,C=(0,h.Z)(a,["prefixCls","vertical","reverse","offset","style","disabled","min","max","value","tabIndex","ariaLabel","ariaLabelledBy","ariaValueTextFormatter"]),w=x()(this.props.className,(0,r.Z)({},"".concat(i,"-handle-click-focused"),this.state.clickFocused)),M=u?(e={},(0,r.Z)(e,c?"top":"bottom","".concat(d,"%")),(0,r.Z)(e,c?"bottom":"top","auto"),(0,r.Z)(e,"transform",c?null:"translateY(+50%)"),e):(t={},(0,r.Z)(t,c?"right":"left","".concat(d,"%")),(0,r.Z)(t,c?"left":"right","auto"),(0,r.Z)(t,"transform","translateX(".concat(c?"+":"-","50%)")),t),S=(0,l.Z)((0,l.Z)({},f),M),E=y||0;return(p||null===y)&&(E=null),k&&(n=k(g)),s.createElement("div",(0,o.Z)({ref:this.setHandleRef,tabIndex:E},C,{className:w,style:S,onBlur:this.handleBlur,onKeyDown:this.handleKeyDown,onMouseDown:this.handleMouseDown,role:"slider","aria-valuemin":v,"aria-valuemax":m,"aria-valuenow":g,"aria-disabled":!!p,"aria-label":b,"aria-labelledby":Z,"aria-valuetext":n}))}}]),n}(s.Component),S=n(73935),E=n(15105);function O(e,t){try{return Object.keys(t).some((function(n){return e.target===(0,S.findDOMNode)(t[n])}))}catch(n){return!1}}function P(e,t){var n=t.min,a=t.max;return ea}function N(e){return e.touches.length>1||"touchend"===e.type.toLowerCase()&&e.touches.length>0}function T(e,t){var n=t.marks,a=t.step,r=t.min,o=t.max,i=Object.keys(n).map(parseFloat);if(null!==a){var s=Math.pow(10,B(a)),l=Math.floor((o*s-r*s)/(a*s)),u=Math.min((e-r)/a,l),c=Math.round(u)*a+r;i.push(c)}var d=i.map((function(t){return Math.abs(e-t)}));return i[d.indexOf(Math.min.apply(Math,(0,m.Z)(d)))]}function B(e){var t=e.toString(),n=0;return t.indexOf(".")>=0&&(n=t.length-t.indexOf(".")-1),n}function D(e,t){return e?t.clientY:t.pageX}function F(e,t){return e?t.touches[0].clientY:t.touches[0].pageX}function L(e,t){var n=t.getBoundingClientRect();return e?n.top+.5*n.height:window.pageXOffset+n.left+.5*n.width}function R(e,t){var n=t.max,a=t.min;return e<=a?a:e>=n?n:e}function V(e,t){var n=t.step,a=isFinite(T(e,t))?T(e,t):0;return null===n?a:parseFloat(a.toFixed(B(n)))}function H(e){e.stopPropagation(),e.preventDefault()}function j(e,t,n){var a="increase",r="decrease",o=a;switch(e.keyCode){case E.Z.UP:o=t&&n?r:a;break;case E.Z.RIGHT:o=!t&&n?r:a;break;case E.Z.DOWN:o=t&&n?a:r;break;case E.Z.LEFT:o=!t&&n?a:r;break;case E.Z.END:return function(e,t){return t.max};case E.Z.HOME:return function(e,t){return t.min};case E.Z.PAGE_UP:return function(e,t){return e+2*t.step};case E.Z.PAGE_DOWN:return function(e,t){return e-2*t.step};default:return}return function(e,t){return function(e,t,n){var a={increase:function(e,t){return e+t},decrease:function(e,t){return e-t}},r=a[e](Object.keys(n.marks).indexOf(JSON.stringify(t)),1),o=Object.keys(n.marks)[r];return n.step?a[e](t,n.step):Object.keys(n.marks).length&&n.marks[o]?n.marks[o]:t}(o,e,t)}}function A(){}function I(e){var t;return t=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(e){var a;(0,u.Z)(this,n),(a=t.call(this,e)).onDown=function(e,t){var n=t,r=a.props,o=r.draggableTrack,i=r.vertical,s=a.state.bounds,l=o&&a.positionGetValue&&a.positionGetValue(n)||[],u=O(e,a.handlesRefs);if(a.dragTrack=o&&s.length>=2&&!u&&!l.map((function(e,t){var n=!!t||e>=s[t];return t===l.length-1?e<=s[t]:n})).some((function(e){return!e})),a.dragTrack)a.dragOffset=n,a.startBounds=(0,m.Z)(s);else{if(u){var c=L(i,e.target);a.dragOffset=n-c,n=c}else a.dragOffset=0;a.onStart(n)}},a.onMouseDown=function(e){if(0===e.button){a.removeDocumentEvents();var t=D(a.props.vertical,e);a.onDown(e,t),a.addDocumentMouseEvents()}},a.onTouchStart=function(e){if(!N(e)){var t=F(a.props.vertical,e);a.onDown(e,t),a.addDocumentTouchEvents(),H(e)}},a.onFocus=function(e){var t=a.props,n=t.onFocus,r=t.vertical;if(O(e,a.handlesRefs)&&!a.dragTrack){var o=L(r,e.target);a.dragOffset=0,a.onStart(o),H(e),n&&n(e)}},a.onBlur=function(e){var t=a.props.onBlur;a.dragTrack||a.onEnd(),t&&t(e)},a.onMouseUp=function(){a.handlesRefs[a.prevMovedHandleIndex]&&a.handlesRefs[a.prevMovedHandleIndex].clickFocus()},a.onMouseMove=function(e){if(a.sliderRef){var t=D(a.props.vertical,e);a.onMove(e,t-a.dragOffset,a.dragTrack,a.startBounds)}else a.onEnd()},a.onTouchMove=function(e){if(!N(e)&&a.sliderRef){var t=F(a.props.vertical,e);a.onMove(e,t-a.dragOffset,a.dragTrack,a.startBounds)}else a.onEnd()},a.onKeyDown=function(e){a.sliderRef&&O(e,a.handlesRefs)&&a.onKeyboard(e)},a.onClickMarkLabel=function(e,t){e.stopPropagation(),a.onChange({value:t}),a.setState({value:t},(function(){return a.onEnd(!0)}))},a.saveSlider=function(e){a.sliderRef=e};var r=e.step,o=e.max,i=e.min,s=!isFinite(o-i)||(o-i)%r===0;return(0,p.ZP)(!r||Math.floor(r)!==r||s,"Slider[max] - Slider[min] (".concat(o-i,") should be a multiple of Slider[step] (").concat(r,")")),a.handlesRefs={},a}return(0,c.Z)(n,[{key:"componentDidMount",value:function(){this.document=this.sliderRef&&this.sliderRef.ownerDocument;var e=this.props,t=e.autoFocus,n=e.disabled;t&&!n&&this.focus()}},{key:"componentWillUnmount",value:function(){b((0,g.Z)(n.prototype),"componentWillUnmount",this)&&b((0,g.Z)(n.prototype),"componentWillUnmount",this).call(this),this.removeDocumentEvents()}},{key:"getSliderStart",value:function(){var e=this.sliderRef,t=this.props,n=t.vertical,a=t.reverse,r=e.getBoundingClientRect();return n?a?r.bottom:r.top:window.pageXOffset+(a?r.right:r.left)}},{key:"getSliderLength",value:function(){var e=this.sliderRef;if(!e)return 0;var t=e.getBoundingClientRect();return this.props.vertical?t.height:t.width}},{key:"addDocumentTouchEvents",value:function(){this.onTouchMoveListener=(0,Z.Z)(this.document,"touchmove",this.onTouchMove),this.onTouchUpListener=(0,Z.Z)(this.document,"touchend",this.onEnd)}},{key:"addDocumentMouseEvents",value:function(){this.onMouseMoveListener=(0,Z.Z)(this.document,"mousemove",this.onMouseMove),this.onMouseUpListener=(0,Z.Z)(this.document,"mouseup",this.onEnd)}},{key:"removeDocumentEvents",value:function(){this.onTouchMoveListener&&this.onTouchMoveListener.remove(),this.onTouchUpListener&&this.onTouchUpListener.remove(),this.onMouseMoveListener&&this.onMouseMoveListener.remove(),this.onMouseUpListener&&this.onMouseUpListener.remove()}},{key:"focus",value:function(){var e;this.props.disabled||null===(e=this.handlesRefs[0])||void 0===e||e.focus()}},{key:"blur",value:function(){var e=this;this.props.disabled||Object.keys(this.handlesRefs).forEach((function(t){var n,a;null===(n=e.handlesRefs[t])||void 0===n||null===(a=n.blur)||void 0===a||a.call(n)}))}},{key:"calcValue",value:function(e){var t=this.props,n=t.vertical,a=t.min,r=t.max,o=Math.abs(Math.max(e,0)/this.getSliderLength());return n?(1-o)*(r-a)+a:o*(r-a)+a}},{key:"calcValueByPos",value:function(e){var t=(this.props.reverse?-1:1)*(e-this.getSliderStart());return this.trimAlignValue(this.calcValue(t))}},{key:"calcOffset",value:function(e){var t=this.props,n=t.min,a=(e-n)/(t.max-n);return Math.max(0,100*a)}},{key:"saveHandle",value:function(e,t){this.handlesRefs[e]=t}},{key:"render",value:function(){var e,t=this.props,a=t.prefixCls,o=t.className,i=t.marks,u=t.dots,c=t.step,d=t.included,f=t.disabled,p=t.vertical,v=t.reverse,h=t.min,m=t.max,y=t.children,Z=t.maximumTrackStyle,k=t.style,M=t.railStyle,S=t.dotStyle,E=t.activeDotStyle,O=b((0,g.Z)(n.prototype),"render",this).call(this),P=O.tracks,N=O.handles,T=x()(a,(e={},(0,r.Z)(e,"".concat(a,"-with-marks"),Object.keys(i).length),(0,r.Z)(e,"".concat(a,"-disabled"),f),(0,r.Z)(e,"".concat(a,"-vertical"),p),(0,r.Z)(e,o,o),e));return s.createElement("div",{ref:this.saveSlider,className:T,onTouchStart:f?A:this.onTouchStart,onMouseDown:f?A:this.onMouseDown,onMouseUp:f?A:this.onMouseUp,onKeyDown:f?A:this.onKeyDown,onFocus:f?A:this.onFocus,onBlur:f?A:this.onBlur,style:k},s.createElement("div",{className:"".concat(a,"-rail"),style:(0,l.Z)((0,l.Z)({},Z),M)}),P,s.createElement(C,{prefixCls:a,vertical:p,reverse:v,marks:i,dots:u,step:c,included:d,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:m,min:h,dotStyle:S,activeDotStyle:E}),N,s.createElement(w,{className:"".concat(a,"-mark"),onClickLabel:f?A:this.onClickMarkLabel,vertical:p,marks:i,included:d,lowerBound:this.getLowerBound(),upperBound:this.getUpperBound(),max:m,min:h,reverse:v}),y)}}]),n}(e),t.displayName="ComponentEnhancer(".concat(e.displayName,")"),t.defaultProps=(0,l.Z)((0,l.Z)({},e.defaultProps),{},{prefixCls:"rc-slider",className:"",min:0,max:100,step:1,marks:{},handle:function(e){var t=e.index,n=(0,h.Z)(e,["index"]);return delete n.dragging,null===n.value?null:s.createElement(M,(0,o.Z)({},n,{key:t}))},onBeforeChange:A,onChange:A,onAfterChange:A,included:!0,disabled:!1,dots:!1,vertical:!1,reverse:!1,trackStyle:[{}],handleStyle:[{}],railStyle:{},dotStyle:{},activeDotStyle:{}}),t}var U=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(e){var a;(0,u.Z)(this,n),(a=t.call(this,e)).positionGetValue=function(e){return[]},a.onEnd=function(e){var t=a.state.dragging;a.removeDocumentEvents(),(t||e)&&a.props.onAfterChange(a.getValue()),a.setState({dragging:!1})};var r=void 0!==e.defaultValue?e.defaultValue:e.min,o=void 0!==e.value?e.value:r;return a.state={value:a.trimAlignValue(o),dragging:!1},(0,p.ZP)(!("minimumTrackStyle"in e),"minimumTrackStyle will be deprecated, please use trackStyle instead."),(0,p.ZP)(!("maximumTrackStyle"in e),"maximumTrackStyle will be deprecated, please use railStyle instead."),a}return(0,c.Z)(n,[{key:"calcValueByPos",value:function(e){return 0}},{key:"calcOffset",value:function(e){return 0}},{key:"saveHandle",value:function(e,t){}},{key:"removeDocumentEvents",value:function(){}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,a=n.min,r=n.max,o=n.value,i=n.onChange;if("min"in this.props||"max"in this.props){var s=void 0!==o?o:t.value,l=this.trimAlignValue(s,this.props);l!==t.value&&(this.setState({value:l}),a===e.min&&r===e.max||!P(s,this.props)||i(l))}}},{key:"onChange",value:function(e){var t=this.props,n=!("value"in t),a=e.value>this.props.max?(0,l.Z)((0,l.Z)({},e),{},{value:this.props.max}):e;n&&this.setState(a);var r=a.value;t.onChange(r)}},{key:"onStart",value:function(e){this.setState({dragging:!0});var t=this.props,n=this.getValue();t.onBeforeChange(n);var a=this.calcValueByPos(e);this.startValue=a,this.startPosition=e,a!==n&&(this.prevMovedHandleIndex=0,this.onChange({value:a}))}},{key:"onMove",value:function(e,t){H(e);var n=this.state.value,a=this.calcValueByPos(t);a!==n&&this.onChange({value:a})}},{key:"onKeyboard",value:function(e){var t=this.props,n=t.reverse,a=j(e,t.vertical,n);if(a){H(e);var r=this.state.value,o=a(r,this.props),i=this.trimAlignValue(o);if(i===r)return;this.onChange({value:i}),this.props.onAfterChange(i),this.onEnd()}}},{key:"getValue",value:function(){return this.state.value}},{key:"getLowerBound",value:function(){var e=this.props.startPoint||this.props.min;return this.state.value>e?e:this.state.value}},{key:"getUpperBound",value:function(){return this.state.value1&&void 0!==arguments[1]?arguments[1]:{};if(null===e)return null;var n=(0,l.Z)((0,l.Z)({},this.props),t),a=R(e,n);return V(a,n)}},{key:"render",value:function(){var e=this,t=this.props,n=t.prefixCls,a=t.vertical,r=t.included,o=t.disabled,i=t.minimumTrackStyle,u=t.trackStyle,c=t.handleStyle,d=t.tabIndex,f=t.ariaLabelForHandle,p=t.ariaLabelledByForHandle,h=t.ariaValueTextFormatterForHandle,m=t.min,g=t.max,y=t.startPoint,b=t.reverse,Z=t.handle,k=this.state,x=k.value,C=k.dragging,w=this.calcOffset(x),M=Z({className:"".concat(n,"-handle"),prefixCls:n,vertical:a,offset:w,value:x,dragging:C,disabled:o,min:m,max:g,reverse:b,index:0,tabIndex:d,ariaLabel:f,ariaLabelledBy:p,ariaValueTextFormatter:h,style:c[0]||c,ref:function(t){return e.saveHandle(0,t)}}),S=void 0!==y?this.calcOffset(y):0,E=u[0]||u;return{tracks:s.createElement(v,{className:"".concat(n,"-track"),vertical:a,included:r,offset:S,reverse:b,length:w-S,style:(0,l.Z)((0,l.Z)({},i),E)}),handles:M}}}]),n}(s.Component),G=I(U),_=function(e){var t=e.value,n=e.handle,a=e.bounds,r=e.props,o=r.allowCross,i=r.pushable,s=Number(i),l=R(t,r),u=l;return o||null==n||void 0===a||(n>0&&l<=a[n-1]+s&&(u=a[n-1]+s),n=a[n+1]-s&&(u=a[n+1]-s)),V(u,r)},K=function(e){(0,d.Z)(n,e);var t=(0,f.Z)(n);function n(e){var a;(0,u.Z)(this,n),(a=t.call(this,e)).positionGetValue=function(e){var t=a.getValue(),n=a.calcValueByPos(e),r=a.getClosestBound(n),o=a.getBoundNeedMoving(n,r);if(n===t[o])return null;var i=(0,m.Z)(t);return i[o]=n,i},a.onEnd=function(e){var t=a.state.handle;a.removeDocumentEvents(),t||(a.dragTrack=!1),(null!==t||e)&&a.props.onAfterChange(a.getValue()),a.setState({handle:null})};var r=e.count,o=e.min,i=e.max,s=Array.apply(void 0,(0,m.Z)(Array(r+1))).map((function(){return o})),l="defaultValue"in e?e.defaultValue:s,c=(void 0!==e.value?e.value:l).map((function(t,n){return _({value:t,handle:n,props:e})})),d=c[0]===i?0:c.length-1;return a.state={handle:null,recent:d,bounds:c},a}return(0,c.Z)(n,[{key:"calcValueByPos",value:function(e){return 0}},{key:"getSliderLength",value:function(){return 0}},{key:"calcOffset",value:function(e){return 0}},{key:"saveHandle",value:function(e,t){}},{key:"removeDocumentEvents",value:function(){}},{key:"componentDidUpdate",value:function(e,t){var n=this,a=this.props,r=a.onChange,o=a.value,i=a.min,s=a.max;if(("min"in this.props||"max"in this.props)&&(i!==e.min||s!==e.max)){var l=o||t.bounds;if(l.some((function(e){return P(e,n.props)})))r(l.map((function(e){return R(e,n.props)})))}}},{key:"onChange",value:function(e){var t=this.props;if(!("value"in t))this.setState(e);else{var n={};["handle","recent"].forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),Object.keys(n).length&&this.setState(n)}var a=(0,l.Z)((0,l.Z)({},this.state),e).bounds;t.onChange(a)}},{key:"onStart",value:function(e){var t=this.props,n=this.state,a=this.getValue();t.onBeforeChange(a);var r=this.calcValueByPos(e);this.startValue=r,this.startPosition=e;var o=this.getClosestBound(r);if(this.prevMovedHandleIndex=this.getBoundNeedMoving(r,o),this.setState({handle:this.prevMovedHandleIndex,recent:this.prevMovedHandleIndex}),r!==a[this.prevMovedHandleIndex]){var i=(0,m.Z)(n.bounds);i[this.prevMovedHandleIndex]=r,this.onChange({bounds:i})}}},{key:"onMove",value:function(e,t,n,a){H(e);var r=this.state,o=this.props,i=o.max||100,s=o.min||0;if(n){var l=o.vertical?-t:t;l=o.reverse?-l:l;var u=i-Math.max.apply(Math,(0,m.Z)(a)),c=s-Math.min.apply(Math,(0,m.Z)(a)),d=Math.min(Math.max(l/(this.getSliderLength()/(i-s)),c),u),f=a.map((function(e){return Math.floor(Math.max(Math.min(e+d,i),s))}));r.bounds.map((function(e,t){return e===f[t]})).some((function(e){return!e}))&&this.onChange({bounds:f})}else{var p=this.calcValueByPos(t);p!==r.bounds[r.handle]&&this.moveTo(p)}}},{key:"onKeyboard",value:function(e){var t=this.props,n=t.reverse,a=j(e,t.vertical,n);if(a){H(e);var r=this.state,o=this.props,i=r.bounds,s=r.handle,l=i[null===s?r.recent:s],u=a(l,o),c=_({value:u,handle:s,bounds:r.bounds,props:o});if(c===l)return;this.moveTo(c,!0)}}},{key:"getValue",value:function(){return this.state.bounds}},{key:"getClosestBound",value:function(e){for(var t=this.state.bounds,n=0,a=1;a=t[a]&&(n=a);return Math.abs(t[n+1]-e)=a.length||r<0)return!1;var o=t+n,i=a[r],s=this.props.pushable,l=Number(s),u=n*(e[o]-i);return!!this.pushHandle(e,o,n,l-u)&&(e[t]=i,!0)}},{key:"trimAlignValue",value:function(e){var t=this.state,n=t.handle,a=t.bounds;return _({value:e,handle:n,bounds:a,props:this.props})}},{key:"render",value:function(){var e=this,t=this.state,n=t.handle,a=t.bounds,o=this.props,i=o.prefixCls,l=o.vertical,u=o.included,c=o.disabled,d=o.min,f=o.max,p=o.reverse,h=o.handle,m=o.trackStyle,g=o.handleStyle,y=o.tabIndex,b=o.ariaLabelGroupForHandles,Z=o.ariaLabelledByGroupForHandles,k=o.ariaValueTextFormatterGroupForHandles,C=a.map((function(t){return e.calcOffset(t)})),w="".concat(i,"-handle"),M=a.map((function(t,a){var o,s=y[a]||0;(c||null===y[a])&&(s=null);var u=n===a;return h({className:x()((o={},(0,r.Z)(o,w,!0),(0,r.Z)(o,"".concat(w,"-").concat(a+1),!0),(0,r.Z)(o,"".concat(w,"-dragging"),u),o)),prefixCls:i,vertical:l,dragging:u,offset:C[a],value:t,index:a,tabIndex:s,min:d,max:f,reverse:p,disabled:c,style:g[a],ref:function(t){return e.saveHandle(a,t)},ariaLabel:b[a],ariaLabelledBy:Z[a],ariaValueTextFormatter:k[a]})}));return{tracks:a.slice(0,-1).map((function(e,t){var n,a=t+1,o=x()((n={},(0,r.Z)(n,"".concat(i,"-track"),!0),(0,r.Z)(n,"".concat(i,"-track-").concat(a),!0),n));return s.createElement(v,{className:o,vertical:l,reverse:p,included:u,offset:C[a-1],length:C[a]-C[a-1],style:m[t],key:a})})),handles:M}}}],[{key:"getDerivedStateFromProps",value:function(e,t){if(!("value"in e||"min"in e||"max"in e))return null;var n=e.value||t.bounds,a=n.map((function(n,a){return _({value:n,handle:a,bounds:t.bounds,props:e})}));if(t.bounds.length===a.length){if(a.every((function(e,n){return e===t.bounds[n]})))return null}else a=n.map((function(t,n){return _({value:t,handle:n,props:e})}));return(0,l.Z)((0,l.Z)({},t),{},{bounds:a})}}]),n}(s.Component);K.displayName="Range",K.defaultProps={count:1,allowCross:!0,pushable:!1,draggableTrack:!1,tabIndex:[],ariaLabelGroupForHandles:[],ariaLabelledByGroupForHandles:[],ariaValueTextFormatterGroupForHandles:[]};var W=I(K),X=n(22972),z=n(42550),Y=n(75164),Q=s.forwardRef((function(e,t){var n=e.visible,a=e.overlay,r=s.useRef(null),i=(0,z.sQ)(t,r),l=s.useRef(null);function u(){Y.Z.cancel(l.current)}return s.useEffect((function(){return n?l.current=(0,Y.Z)((function(){var e;null===(e=r.current)||void 0===e||e.forcePopupAlign()})):u(),u}),[n,a]),s.createElement(X.default,(0,o.Z)({ref:i},e))}));var J=G;J.Range=W,J.Handle=M,J.createSliderWithTooltip=function(e){var t;return t=function(t){(0,d.Z)(a,t);var n=(0,f.Z)(a);function a(){var e;return(0,u.Z)(this,a),(e=n.apply(this,arguments)).state={visibles:{}},e.handleTooltipVisibleChange=function(t,n){e.setState((function(e){return{visibles:(0,l.Z)((0,l.Z)({},e.visibles),{},(0,r.Z)({},t,n))}}))},e.handleWithTooltip=function(t){var n,a=t.value,r=t.dragging,i=t.index,u=t.disabled,c=(0,h.Z)(t,["value","dragging","index","disabled"]),d=e.props,f=d.tipFormatter,p=d.tipProps,v=d.handleStyle,m=d.getTooltipContainer,g=p.prefixCls,y=void 0===g?"rc-slider-tooltip":g,b=p.overlay,Z=void 0===b?f(a):b,k=p.placement,x=void 0===k?"top":k,C=p.visible,w=void 0!==C&&C,S=(0,h.Z)(p,["prefixCls","overlay","placement","visible"]);return n=Array.isArray(v)?v[i]||v[0]:v,s.createElement(Q,(0,o.Z)({},S,{getTooltipContainer:m,prefixCls:y,overlay:Z,placement:x,visible:!u&&(e.state.visibles[i]||r)||w,key:i}),s.createElement(M,(0,o.Z)({},c,{style:(0,l.Z)({},n),value:a,onMouseEnter:function(){return e.handleTooltipVisibleChange(i,!0)},onMouseLeave:function(){return e.handleTooltipVisibleChange(i,!1)}})))},e}return(0,c.Z)(a,[{key:"render",value:function(){return s.createElement(e,(0,o.Z)({},this.props,{handle:this.handleWithTooltip}))}}]),a}(s.Component),t.defaultProps={tipFormatter:function(e){return e},handleStyle:[{}],tipProps:{},getTooltipContainer:function(e){return e.parentNode}},t};var $=J,q=n(56266),ee=s.forwardRef((function(e,t){var n=e.visible,a=(0,s.useRef)(null),r=(0,s.useRef)(null);function i(){Y.Z.cancel(r.current),r.current=null}return s.useEffect((function(){return n?r.current=(0,Y.Z)((function(){var e;null===(e=a.current)||void 0===e||e.forcePopupAlign(),r.current=null})):i(),i}),[n,e.title]),s.createElement(q.Z,(0,o.Z)({ref:(0,z.sQ)(a,t)},e))})),te=n(59844),ne=function(e,t){var n={};for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var r=0;for(a=Object.getOwnPropertySymbols(e);r0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var n=e.data[t];Array.isArray(n)?n.forEach((function(e){r.append("".concat(t,"[]"),e)})):r.append(t,n)})),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(function(e,t){var r="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),n=new Error(r);return n.status=t.status,n.method=e.method,n.url=e.action,n}(e,t),y(t)):e.onSuccess(y(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var n=e.headers||{};return null!==n["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(n).forEach((function(e){null!==n[e]&&t.setRequestHeader(e,n[e])})),t.send(r),{abort:function(){t.abort()}}}var w=+new Date,x=0;function E(){return"rc-upload-".concat(w,"-").concat(++x)}var A=r(80334),D=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var r=n.toLowerCase(),s=t.toLowerCase(),a=[s];return".jpg"!==s&&".jpeg"!==s||(a=[".jpg",".jpeg"]),a.some((function(e){return r.endsWith(e)}))}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,A.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};var q=function(e,t,r){var n=function e(n,o){n.path=o||"",n.isFile?n.file((function(e){r(e)&&(n.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=n.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):n.isDirectory&&function(e,t){var r=e.createReader(),n=[];!function e(){r.readEntries((function(r){var o=Array.prototype.slice.apply(r);n=n.concat(o),o.length?e():t(n)}))}()}(n,(function(t){t.forEach((function(t){e(t,"".concat(o).concat(n.name,"/"))}))}))};e.forEach((function(e){n(e.webkitGetAsEntry())}))},S=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],F=function(e){(0,h.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;(0,p.Z)(this,r);for(var n=arguments.length,o=new Array(n),a=0;ai?l=-((a=i*(oe/e))-s)/2:c=-((s=e*(oe/i))-a)/2,n.drawImage(o,c,l,s,a);var u=r.toDataURL();document.body.removeChild(r),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))},isImageUrl:function(e){if(e.type&&!e.thumbUrl)return ne(e.type);var t=e.thumbUrl||e.url||"",r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(r))||!/^data:/.test(t)&&!r}};var ke=be,ye=r(23715),Ce=r(6213),we=r(21687),xe=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},Ee="__LIST_IGNORE_".concat(Date.now(),"__"),Ae=function(e,t){var r,c=e.fileList,p=e.defaultFileList,f=e.onRemove,h=e.showUploadList,d=e.listType,m=e.onPreview,g=e.onDownload,_=e.onChange,v=e.onDrop,k=e.previewFile,y=e.disabled,C=e.locale,w=e.iconRender,x=e.isImageUrl,E=e.progress,A=e.prefixCls,D=e.className,q=e.type,S=e.children,F=e.style,L=e.itemRender,Z=e.maxCount,I=(0,R.Z)(p||[],{value:c,postState:function(e){return null!==e&&void 0!==e?e:[]}}),T=(0,a.Z)(I,2),O=T[0],N=T[1],M=u.useState("drop"),P=(0,a.Z)(M,2),j=P[0],B=P[1],U=u.useRef();u.useEffect((function(){(0,we.Z)("fileList"in e||!("value"in e),"Upload","`value` is not a valid prop, do you mean `fileList`?"),(0,we.Z)(!("transformFile"in e),"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly.")}),[]),u.useMemo((function(){var e=Date.now();(c||[]).forEach((function(t,r){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(r,"__"))}))}),[c]);var V=function(e,t,r){var n=(0,s.Z)(t);1===Z?n=n.slice(-1):Z&&(n=n.slice(0,Z)),N(n);var o={file:e,fileList:n};r&&(o.event=r),null===_||void 0===_||_(o)},H=function(e){var t=e.filter((function(e){return!e.file[Ee]}));if(t.length){var r=t.map((function(e){return ee(e.file)})),n=(0,s.Z)(O);r.forEach((function(e){n=te(e,n)})),r.forEach((function(e,r){var o=e;if(t[r].parsedFile)e.status="uploading";else{var i,s=e.originFileObj;try{i=new File([s],s.name,{type:s.type})}catch(a){(i=new Blob([s],{type:s.type})).name=s.name,i.lastModifiedDate=new Date,i.lastModified=(new Date).getTime()}i.uid=e.uid,o=i}V(o,n)}))}},$=function(e,t,r){try{"string"===typeof e&&(e=JSON.parse(e))}catch(i){}if(re(t,O)){var n=ee(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;var o=te(n,O);V(n,o)}},G=function(e,t){if(re(t,O)){var r=ee(t);r.status="uploading",r.percent=e.percent;var n=te(r,O);V(r,n,e)}},J=function(e,t,r){if(re(r,O)){var n=ee(r);n.error=e,n.response=t,n.status="error";var o=te(n,O);V(n,o)}},W=function(e){var t;Promise.resolve("function"===typeof f?f(e):f).then((function(r){var n;if(!1!==r){var i=function(e,t){var r=void 0!==e.uid?"uid":"name",n=t.filter((function(t){return t[r]!==e[r]}));return n.length===t.length?null:n}(e,O);i&&(t=(0,o.Z)((0,o.Z)({},e),{status:"removed"}),null===O||void 0===O||O.forEach((function(e){var r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")})),null===(n=U.current)||void 0===n||n.abort(t),V(t,i))}}))},K=function(e){B(e.type),"drop"===e.type&&(null===v||void 0===v||v(e))};u.useImperativeHandle(t,(function(){return{onBatchStart:H,onSuccess:$,onProgress:G,onError:J,fileList:O,upload:U.current}}));var Y=u.useContext(se.E_),X=Y.getPrefixCls,Q=Y.direction,ne=X("upload",A),oe=(0,o.Z)((0,o.Z)({onBatchStart:H,onError:J,onProgress:G,onSuccess:$},e),{prefixCls:ne,beforeUpload:function(t,r){return xe(void 0,void 0,void 0,l().mark((function n(){var o,s,a,c;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=e.beforeUpload,s=e.transformFile,a=t,!o){n.next=13;break}return n.next=5,o(t,r);case 5:if(!1!==(c=n.sent)){n.next=8;break}return n.abrupt("return",!1);case 8:if(delete t[Ee],c!==Ee){n.next=12;break}return Object.defineProperty(t,Ee,{value:!0,configurable:!0}),n.abrupt("return",!1);case 12:"object"===(0,i.Z)(c)&&c&&(a=c);case 13:if(!s){n.next=17;break}return n.next=16,s(a);case 16:a=n.sent;case 17:return n.abrupt("return",a);case 18:case"end":return n.stop()}}),n)})))},onChange:void 0});delete oe.className,delete oe.style,S&&!y||delete oe.id;var ie=function(e,t){return h?u.createElement(ye.Z,{componentName:"Upload",defaultLocale:Ce.Z.Upload},(function(r){var n="boolean"===typeof h?{}:h,i=n.showRemoveIcon,s=n.showPreviewIcon,a=n.showDownloadIcon,c=n.removeIcon,l=n.previewIcon,p=n.downloadIcon;return u.createElement(ke,{listType:d,items:O,previewFile:k,onPreview:m,onDownload:g,onRemove:W,showRemoveIcon:!y&&i,showPreviewIcon:s,showDownloadIcon:a,removeIcon:c,previewIcon:l,downloadIcon:p,iconRender:w,locale:(0,o.Z)((0,o.Z)({},r),C),isImageUrl:x,progress:E,appendAction:e,appendActionVisible:t,itemRender:L})})):e};if("drag"===q){var ae,ce=b()(ne,(ae={},(0,n.Z)(ae,"".concat(ne,"-drag"),!0),(0,n.Z)(ae,"".concat(ne,"-drag-uploading"),O.some((function(e){return"uploading"===e.status}))),(0,n.Z)(ae,"".concat(ne,"-drag-hover"),"dragover"===j),(0,n.Z)(ae,"".concat(ne,"-disabled"),y),(0,n.Z)(ae,"".concat(ne,"-rtl"),"rtl"===Q),ae),D);return u.createElement("span",null,u.createElement("div",{className:ce,onDrop:K,onDragOver:K,onDragLeave:K,style:F},u.createElement(z,(0,o.Z)({},oe,{ref:U,className:"".concat(ne,"-btn")}),u.createElement("div",{className:"".concat(ne,"-drag-container")},S))),ie())}var le=b()(ne,(r={},(0,n.Z)(r,"".concat(ne,"-select"),!0),(0,n.Z)(r,"".concat(ne,"-select-").concat(d),!0),(0,n.Z)(r,"".concat(ne,"-disabled"),y),(0,n.Z)(r,"".concat(ne,"-rtl"),"rtl"===Q),r)),ue=function(e){return u.createElement("div",{className:le,style:e},u.createElement(z,(0,o.Z)({},oe,{ref:U})))};return"picture-card"===d?u.createElement("span",{className:b()("".concat(ne,"-picture-card-wrapper"),D)},ie(ue(),!!S)):u.createElement("span",{className:D},ue(S?void 0:{display:"none"}),ie())},De=u.forwardRef(Ae);De.Dragger=M,De.LIST_IGNORE=Ee,De.displayName="Upload",De.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var qe=De;qe.Dragger=M;var Se=qe},68337:function(e,t,r){"use strict";function n(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function s(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function u(e){var t=e.re=r(36066)(e.__opts__),n=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),"i");var c=[];function l(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===o(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?i(r.validate)?n.validate=r.validate:l(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?n.normalize=r.normalize:r.normalize?l(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?l(t,r):c.push(t)}})),c.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(s).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function f(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=n({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},u(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},h.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,s,a,c;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c=0&&null!==(n=e.match(this.re.email_fuzzy))&&(i=n.index+n[1].length,s=n.index+n[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=s)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(f(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(f(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},36066:function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},9980:function(e,t,r){"use strict";e.exports=r(17024)},26233:function(e,t,r){"use strict";e.exports=r(59323)},40813:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},51947:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",n=new RegExp("^(?:"+t+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),o=new RegExp("^(?:"+t+"|"+r+")");e.exports.n=n,e.exports.q=o},67022:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function o(e,t){return n.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=r(26233);var p=/[&<>"]/,f=/[&<>"]/g,h={"&":"&","<":"<",">":">",'"':"""};function d(e){return h[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=r(73189);t.lib={},t.lib.mdurl=r(48765),t.lib.ucmicro=r(84205),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(a,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,(function(e,t,r){return t||function(e,t){var r=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&i(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(r):e}(e,r)}))},t.isValidEntityCode=i,t.fromCodePoint=s,t.escapeHtml=function(e){return p.test(e)?e.replace(f,d):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}},51685:function(e,t,r){"use strict";t.parseLinkLabel=r(33595),t.parseLinkDestination=r(12548),t.parseLinkTitle=r(88040)},12548:function(e,t,r){"use strict";var n=r(67022).unescapeAll;e.exports=function(e,t,r){var o,i,s=t,a={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t32)return a;if(41===o){if(0===i)break;i--}t++}return s===t||0!==i||(a.str=n(e.slice(s,t)),a.lines=0,a.pos=t,a.ok=!0),a}},33595:function(e){"use strict";e.exports=function(e,t,r){var n,o,i,s,a=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos=r)return c;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return c;for(t++,40===i&&(i=41);t=0))try{t.hostname=p.toASCII(t.hostname)}catch(r){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(r){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function b(e,t){if(!(this instanceof b))return new b(e,t);t||n.isString(e)||(t=e||{},e="default"),this.inline=new c,this.block=new a,this.core=new s,this.renderer=new i,this.linkify=new l,this.validateLink=m,this.normalizeLink=_,this.normalizeLinkText=v,this.utils=n,this.helpers=n.assign({},o),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return n.assign(this.options,e),this},b.prototype.configure=function(e){var t,r=this;if(n.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},b.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},82471:function(e,t,r){"use strict";var n=r(79580),o=[["table",r(91785),["paragraph","reference"]],["code",r(38768)],["fence",r(13542),["paragraph","reference","blockquote","list"]],["blockquote",r(45258),["paragraph","reference","blockquote","list"]],["hr",r(35634),["paragraph","reference","blockquote","list"]],["list",r(18532),["paragraph","reference","blockquote"]],["reference",r(43804)],["html_block",r(76329),["paragraph","reference","blockquote"]],["heading",r(61630),["paragraph","reference","blockquote"]],["lheading",r(56850)],["paragraph",r(96864)]];function i(){this.ruler=new n;for(var e=0;e=r))&&!(e.sCount[s]=c){e.line=r;break}for(n=0;n=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},s.prototype.parse=function(e,t,r,n){var o,i,s,a=new this.State(e,t,r,n);for(this.tokenize(a),s=(i=this.ruler2.getRules("")).length,o=0;o"+i(e[t].content)+""},s.code_block=function(e,t,r,n,o){var s=e[t];return""+i(e[t].content)+"\n"},s.fence=function(e,t,r,n,s){var a,c,l,u,p,f=e[t],h=f.info?o(f.info).trim():"",d="",m="";return h&&(d=(l=h.split(/(\s+)/g))[0],m=l.slice(2).join("")),0===(a=r.highlight&&r.highlight(f.content,d,m)||i(f.content)).indexOf(""+a+"\n"):"
"+a+"
\n"},s.image=function(e,t,r,n,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,r,n),o.renderToken(e,t,r)},s.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},s.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},s.text=function(e,t){return i(e[t].content)},s.html_block=function(e,t){return e[t].content},s.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">")},a.prototype.renderInline=function(e,t,r){for(var n,o="",i=this.rules,s=0,a=e.length;s=4)return!1;if(62!==e.src.charCodeAt(A++))return!1;if(o)return!0;for(c=h=e.sCount[t]+1,32===e.src.charCodeAt(A)?(A++,c++,h++,i=!1,k=!0):9===e.src.charCodeAt(A)?(k=!0,(e.bsCount[t]+h)%4===3?(A++,c++,h++,i=!1):i=!0):k=!1,d=[e.bMarks[t]],e.bMarks[t]=A;A=D,v=[e.sCount[t]],e.sCount[t]=h-c,b=[e.tShift[t]],e.tShift[t]=A-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",f=t+1;f=(D=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(A++)||x){if(u)break;for(y=!1,a=0,l=C.length;a=D,m.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(k?1:0),v.push(e.sCount[f]),e.sCount[f]=h-c,b.push(e.tShift[f]),e.tShift[f]=A-e.bMarks[f]}for(g=e.blkIndent,e.blkIndent=0,(w=e.push("blockquote_open","blockquote",1)).markup=">",w.map=p=[t,0],e.md.block.tokenize(e,t,f),(w=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=_,p[1]=e.line,a=0;a=4))break;o=++n}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}},13542:function(e){"use strict";e.exports=function(e,t,r,n){var o,i,s,a,c,l,u,p=!1,f=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>h)return!1;if(126!==(o=e.src.charCodeAt(f))&&96!==o)return!1;if(c=f,(i=(f=e.skipChars(f,o))-c)<3)return!1;if(u=e.src.slice(c,f),s=e.src.slice(f,h),96===o&&s.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((f=c=e.bMarks[a]+e.tShift[a])<(h=e.eMarks[a])&&e.sCount[a]=4)&&!((f=e.skipChars(f,o))-c=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(s=1,i=e.src.charCodeAt(++l);35===i&&l6||ll&&n(e.src.charCodeAt(a-1))&&(u=a),e.line=t+1,(c=e.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(l,u).trim(),c.map=[t,e.line],c.children=[],(c=e.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),!0)}},35634:function(e,t,r){"use strict";var n=r(67022).isSpace;e.exports=function(e,t,r,o){var i,s,a,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(s=1;l|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,n){var o,s,a,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),o=0;o=4)return!1;for(f=e.parentType,e.parentType="paragraph";h3)){if(e.sCount[h]>=e.blkIndent&&(c=e.bMarks[h]+e.tShift[h])<(l=e.eMarks[h])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=l)){u=61===p?1:2;break}if(!(e.sCount[h]<0)){for(o=!1,i=0,s=d.length;i=s)return-1;if((r=e.src.charCodeAt(i++))<48||r>57)return-1;for(;;){if(i>=s)return-1;if(!((r=e.src.charCodeAt(i++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-o>=10)return-1}return i=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(z=!0),(q=i(e,t))>=0){if(f=!0,F=e.bMarks[t]+e.tShift[t],v=Number(e.src.slice(F,q-1)),z&&1!==v)return!1}else{if(!((q=o(e,t))>=0))return!1;f=!1}if(z&&e.skipSpaces(q)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(q-1),n)return!0;for(g=e.tokens.length,f?(I=e.push("ordered_list_open","ol",1),1!==v&&(I.attrs=[["start",v]])):I=e.push("bullet_list_open","ul",1),I.map=m=[t,0],I.markup=String.fromCharCode(_),k=t,S=!1,Z=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";k=b?1:y-p)>4&&(u=1),l=p+u,(I=e.push("list_item_open","li",1)).markup=String.fromCharCode(_),I.map=h=[t,0],f&&(I.info=e.src.slice(F,q-1)),A=e.tight,E=e.tShift[t],x=e.sCount[t],C=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[t]=a-e.bMarks[t],e.sCount[t]=y,a>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!S||(R=!1),S=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[t]=E,e.sCount[t]=x,e.tight=A,(I=e.push("list_item_close","li",-1)).markup=String.fromCharCode(_),k=t=e.line,h[1]=k,a=e.bMarks[t],k>=r)break;if(e.sCount[k]=4)break;for(L=!1,c=0,d=Z.length;c3)&&!(e.sCount[c]<0)){for(n=!1,o=0,i=l.length;o=4)return!1;if(91!==e.src.charCodeAt(w))return!1;for(;++w3)&&!(e.sCount[E]<0)){for(b=!1,p=0,f=k.length;p0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,r,n){var i,s,a,c,l,u,p,f=e;if(e>=t)return"";for(u=new Array(t-e),i=0;fr?new Array(s-r+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},i.prototype.Token=n,e.exports=i},91785:function(e,t,r){"use strict";var n=r(67022).isSpace;function o(e,t){var r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.substr(r,n-r)}function i(e){var t,r=[],n=0,o=e.length,i=!1,s=0,a="";for(t=e.charCodeAt(n);nr)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((l=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(w=e.src.charCodeAt(l++))&&45!==w&&58!==w)return!1;if(l>=e.eMarks[f])return!1;if(124!==(x=e.src.charCodeAt(l++))&&45!==x&&58!==x&&!n(x))return!1;if(45===w&&n(x))return!1;for(;l=4)return!1;if((h=i(c)).length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),0===(d=h.length)||d!==g.length)return!1;if(s)return!0;for(k=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),(m=e.push("table_open","table",1)).map=v=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u=4)break;for((h=i(c)).length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),f===t+2&&((m=e.push("tbody_open","tbody",1)).map=b=[t+2,0]),(m=e.push("tr_open","tr",1)).map=[f,f+1],u=0;u/i.test(e)}e.exports=function(e){var t,r,i,s,a,c,l,u,p,f,h,d,m,g,_,v,b,k,y=e.tokens;if(e.md.options.linkify)for(r=0,i=y.length;r=0;t--)if("link_close"!==(c=s[t]).type){if("html_inline"===c.type&&(k=c.content,/^\s]/i.test(k)&&m>0&&m--,o(c.content)&&m++),!(m>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(p=c.content,b=e.md.linkify.match(p),l=[],d=c.level,h=0,u=0;uh&&((a=new e.Token("text","",0)).content=p.slice(h,f),a.level=d,l.push(a)),(a=new e.Token("link_open","a",1)).attrs=[["href",_]],a.level=d++,a.markup="linkify",a.info="auto",l.push(a),(a=new e.Token("text","",0)).content=v,a.level=d,l.push(a),(a=new e.Token("link_close","a",-1)).level=--d,a.markup="linkify",a.info="auto",l.push(a),h=b[u].lastIndex);h=0;t--)"text"!==(r=e[t]).type||o||(r.content=r.content.replace(n,i)),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}function a(e){var r,n,o=0;for(r=e.length-1;r>=0;r--)"text"!==(n=e[r]).type||o||t.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}e.exports=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)"inline"===e.tokens[n].type&&(r.test(e.tokens[n].content)&&s(e.tokens[n].children),t.test(e.tokens[n].content)&&a(e.tokens[n].children))}},58450:function(e,t,r){"use strict";var n=r(67022).isWhiteSpace,o=r(67022).isPunctChar,i=r(67022).isMdAsciiPunct,s=/['"]/,a=/['"]/g;function c(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function l(e,t){var r,s,l,u,p,f,h,d,m,g,_,v,b,k,y,C,w,x,E,A,D;for(E=[],r=0;r=0&&!(E[w].level<=h);w--);if(E.length=w+1,"text"===s.type){p=0,f=(l=s.content).length;e:for(;p=0)m=l.charCodeAt(u.index-1);else for(w=r-1;w>=0&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w--)if(e[w].content){m=e[w].content.charCodeAt(e[w].content.length-1);break}if(g=32,p=48&&m<=57&&(C=y=!1),y&&C&&(y=_,C=v),y||C){if(C)for(w=E.length-1;w>=0&&(d=E[w],!(E[w].level=0;t--)"inline"===e.tokens[t].type&&s.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}},16480:function(e,t,r){"use strict";var n=r(75872);function o(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=n,e.exports=o},43420:function(e){"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,r=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,n){var o,i,s,a,c,l,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(c=e.pos,l=e.posMax;;){if(++u>=l)return!1;if(60===(a=e.src.charCodeAt(u)))return!1;if(62===a)break}return o=e.src.slice(c+1,u),r.test(o)?(i=e.md.normalizeLink(o),!!e.md.validateLink(i)&&(n||((s=e.push("link_open","a",1)).attrs=[["href",i]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(o),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=o.length+2,!0)):!!t.test(o)&&(i=e.md.normalizeLink("mailto:"+o),!!e.md.validateLink(i)&&(n||((s=e.push("link_open","a",1)).attrs=[["href",i]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(o),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=o.length+2,!0))}},79755:function(e){"use strict";e.exports=function(e,t){var r,n,o,i,s,a,c,l,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(r=u,u++,n=e.posMax;us;n-=d[n]+1)if((i=t[n]).marker===o.marker&&i.open&&i.end<0&&(c=!1,(i.close||o.open)&&(i.length+o.length)%3===0&&(i.length%3===0&&o.length%3===0||(c=!0)),!c)){l=n>0&&!t[n-1].open?d[n-1]+1:0,d[r]=r-n+l,d[n]=l,o.open=!1,i.end=r,i.close=!1,a=-1,h=-2;break}-1!==a&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}e.exports=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(t(0,e.delimiters),r=0;r=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(o=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===o.token+1,s=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?s+s:s,i.content="",(i=e.tokens[o.token]).type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?s+s:s,i.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}e.exports.w=function(e,t){var r,n,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(n=e.scanDelims(e.pos,42===i),r=0;r?@[]^_`{|}~-".split("").forEach((function(e){o[e.charCodeAt(0)]=1})),e.exports=function(e,t){var r,i=e.pos,s=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i=i)&&(!(33!==(r=e.src.charCodeAt(s+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(o=e.src.slice(s).match(n))&&(t||(e.push("html_inline","",0).content=e.src.slice(s,s+o[0].length)),e.pos+=o[0].length,!0))))}},83006:function(e,t,r){"use strict";var n=r(67022).normalizeReference,o=r(67022).isSpace;e.exports=function(e,t){var r,i,s,a,c,l,u,p,f,h,d,m,g,_="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=c+1)=b)return!1;for(g=u,(f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(_=e.md.normalizeLink(f.str),e.md.validateLink(_)?u=f.pos:_=""),g=u;u=b||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if("undefined"===typeof e.env.references)return!1;if(u=0?a=e.src.slice(g,u++):u=c+1):u=c+1,a||(a=e.src.slice(l,c)),!(p=e.env.references[n(a)]))return e.pos=v,!1;_=p.href,h=p.title}return t||(s=e.src.slice(l,c),e.md.inline.parse(s,e.md,e.env,m=[]),(d=e.push("image","img",0)).attrs=r=[["src",_],["alt",""]],d.children=m,d.content=s,h&&r.push(["title",h])),e.pos=u,e.posMax=b,!0}},81727:function(e,t,r){"use strict";var n=r(67022).normalizeReference,o=r(67022).isSpace;e.exports=function(e,t){var r,i,s,a,c,l,u,p,f="",h="",d=e.pos,m=e.posMax,g=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(a=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=a+1)=m)return!1;if(g=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok){for(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?l=u.pos:f="",g=l;l=m||41!==e.src.charCodeAt(l))&&(_=!0),l++}if(_){if("undefined"===typeof e.env.references)return!1;if(l=0?s=e.src.slice(g,l++):l=a+1):l=a+1,s||(s=e.src.slice(c,a)),!(p=e.env.references[n(s)]))return e.pos=d,!1;f=p.href,h=p.title}return t||(e.pos=c,e.posMax=a,e.push("link_open","a",1).attrs=r=[["href",f]],h&&r.push(["title",h]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0}},43905:function(e,t,r){"use strict";var n=r(67022).isSpace;e.exports=function(e,t){var r,o,i,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;if(r=e.pending.length-1,o=e.posMax,!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){for(i=r-1;i>=1&&32===e.pending.charCodeAt(i-1);)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(s++;s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},a.prototype.scanDelims=function(e,t){var r,n,a,c,l,u,p,f,h,d=e,m=!0,g=!0,_=this.posMax,v=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;d<_&&this.src.charCodeAt(d)===v;)d++;return a=d-e,n=d<_?this.src.charCodeAt(d):32,p=s(r)||i(String.fromCharCode(r)),h=s(n)||i(String.fromCharCode(n)),u=o(r),(f=o(n))?m=!1:h&&(u||p||(m=!1)),u?g=!1:p&&(f||h||(g=!1)),t?(c=m,l=g):(c=m&&(!g||p),l=g&&(!m||h)),{can_open:c,can_close:l,length:a}},a.prototype.Token=n,e.exports=a},44814:function(e){"use strict";function t(e,t){var r,n,o,i,s,a=[],c=t.length;for(r=0;r0&&n++,"text"===o[t].type&&t+1=0&&(r=this.attrs[t][1]),r},t.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=t},83122:function(e){"use strict";var t={};function r(e,n){var o;return"string"!==typeof n&&(n=r.defaultChars),o=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),o.push(n);for(r=0;r=55296&&c<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(c),t+=6):240===(248&n)&&t+91114111?l+="\ufffd\ufffd\ufffd\ufffd":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):l+="\ufffd";return l}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="",e.exports=r},70729:function(e){"use strict";var t={};function r(e,n,o){var i,s,a,c,l,u="";for("string"!==typeof n&&(o=n,n=r.defaultChars),"undefined"===typeof o&&(o=!0),l=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1=56320&&c<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",e.exports=r},2201:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},48765:function(e,t,r){"use strict";e.exports.encode=r(70729),e.exports.decode=r(83122),e.exports.format=r(2201),e.exports.parse=r(9553)},9553:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var r=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(i),a=["%","/","?",";","#"].concat(s),c=["/","?","#"],l=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var n,i,s,h,d,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=o.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var _=r.exec(m);if(_&&(s=(_=_[0]).toLowerCase(),this.protocol=_,m=m.substr(_.length)),(t||_||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(d="//"===m.substr(0,2))||_&&p[_]||(m=m.substr(2),this.slashes=!0)),!p[_]&&(d||_&&!f[_])){var v,b,k=-1;for(n=0;n127?E+="x":E+=x[A];if(!E.match(l)){var q=w.slice(0,n),S=w.slice(n+1),F=x.match(u);F&&(q.push(F[1]),S.unshift(F[2])),S.length&&(m=S.join(".")+m),this.hostname=q.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var L=m.indexOf("#");-1!==L&&(this.hash=m.substr(L),m=m.slice(0,L));var Z=m.indexOf("?");return-1!==Z&&(this.search=m.substr(Z),m=m.slice(0,Z)),m&&(this.pathname=m),f[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=n.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,r){if(e&&e instanceof t)return e;var n=new t;return n.parse(e,r),n}},90638:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var r=function(){return f=!0,t()};g(p,e).then(r,r)}))},window.__NEXT_PRELOADREADY=m.preloadReady;var _=m;t.default=_},56780:function(){},5152:function(e,t,r){e.exports=r(90638)},3689:function(e,t,r){"use strict";r.r(t),r.d(t,{ucs2decode:function(){return h},ucs2encode:function(){return d},decode:function(){return _},encode:function(){return v},toASCII:function(){return k},toUnicode:function(){return b}});const n=2147483647,o=36,i=/^xn--/,s=/[^\0-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(c[e])}function f(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const o=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(a,".")).split("."),t).join(".");return n+o}function h(e){const t=[];let r=0;const n=e.length;for(;r=55296&&o<=56319&&rString.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,r){let n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;n+=o)e=l(e/35);return l(n+36*e/(e+38))},_=function(e){const t=[],r=e.length;let i=0,s=128,a=72,c=e.lastIndexOf("-");c<0&&(c=0);for(let n=0;n=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let f=c>0?c+1:0;f=r&&p("invalid-input");const c=(u=e.charCodeAt(f++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:o;(c>=o||c>l((n-i)/t))&&p("overflow"),i+=c*t;const h=s<=a?1:s>=a+26?26:s-a;if(cl(n/d)&&p("overflow"),t*=d}const h=t.length+1;a=g(i-c,h,0==c),l(i/h)>n-s&&p("overflow"),s+=l(i/h),i%=h,t.splice(i++,0,s)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let r=(e=h(e)).length,i=128,s=0,a=72;for(const n of e)n<128&&t.push(u(n));let c=t.length,f=c;for(c&&t.push("-");f=i&&tl((n-s)/h)&&p("overflow"),s+=(r-i)*h,i=r;for(const d of e)if(dn&&p("overflow"),d==i){let e=s;for(let r=o;;r+=o){const n=r<=a?1:r>=a+26?26:r-a;if(e","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')}}]); \ No newline at end of file diff --git a/static/admin/_next/static/chunks/2589-e1721280387f6322.js b/static/admin/_next/static/chunks/2589-e1721280387f6322.js deleted file mode 100644 index 1c0a5b4f8..000000000 --- a/static/admin/_next/static/chunks/2589-e1721280387f6322.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2589],{48689:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},s=r(42135),a=function(e,t){return o.createElement(s.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};a.displayName="DeleteOutlined";var c=o.forwardRef(a)},88484:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(1413),o=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},s=r(42135),a=function(e,t){return o.createElement(s.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:i}))};a.displayName="UploadOutlined";var c=o.forwardRef(a)},94594:function(e,t,r){"use strict";r.d(t,{Z:function(){return y}});var n=r(87462),o=r(4942),i=r(67294),s=r(97685),a=r(91),c=r(94184),l=r.n(c),u=r(21770),p=r(15105),f=i.forwardRef((function(e,t){var r,n=e.prefixCls,c=void 0===n?"rc-switch":n,f=e.className,h=e.checked,d=e.defaultChecked,m=e.disabled,g=e.loadingIcon,_=e.checkedChildren,v=e.unCheckedChildren,b=e.onClick,k=e.onChange,y=e.onKeyDown,C=(0,a.Z)(e,["prefixCls","className","checked","defaultChecked","disabled","loadingIcon","checkedChildren","unCheckedChildren","onClick","onChange","onKeyDown"]),w=(0,u.Z)(!1,{value:h,defaultValue:d}),x=(0,s.Z)(w,2),E=x[0],A=x[1];function D(e,t){var r=E;return m||(A(r=e),null===k||void 0===k||k(r,t)),r}var q=l()(c,f,(r={},(0,o.Z)(r,"".concat(c,"-checked"),E),(0,o.Z)(r,"".concat(c,"-disabled"),m),r));return i.createElement("button",Object.assign({},C,{type:"button",role:"switch","aria-checked":E,disabled:m,className:q,ref:t,onKeyDown:function(e){e.which===p.Z.LEFT?D(!1,e):e.which===p.Z.RIGHT&&D(!0,e),null===y||void 0===y||y(e)},onClick:function(e){var t=D(!E,e);null===b||void 0===b||b(t,e)}}),g,i.createElement("span",{className:"".concat(c,"-inner")},E?_:v))}));f.displayName="Switch";var h=f,d=r(50888),m=r(68349),g=r(59844),_=r(97647),v=r(21687),b=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach((function(t){var n=e.data[t];Array.isArray(n)?n.forEach((function(e){r.append("".concat(t,"[]"),e)})):r.append(t,n)})),e.file instanceof Blob?r.append(e.filename,e.file,e.file.name):r.append(e.filename,e.file),t.onerror=function(t){e.onError(t)},t.onload=function(){return t.status<200||t.status>=300?e.onError(function(e,t){var r="cannot ".concat(e.method," ").concat(e.action," ").concat(t.status,"'"),n=new Error(r);return n.status=t.status,n.method=e.method,n.url=e.action,n}(e,t),k(t)):e.onSuccess(k(t),t)},t.open(e.method,e.action,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var n=e.headers||{};return null!==n["X-Requested-With"]&&t.setRequestHeader("X-Requested-With","XMLHttpRequest"),Object.keys(n).forEach((function(e){null!==n[e]&&t.setRequestHeader(e,n[e])})),t.send(r),{abort:function(){t.abort()}}}var C=+new Date,w=0;function x(){return"rc-upload-".concat(C,"-").concat(++w)}var E=r(80334),A=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(","),n=e.name||"",o=e.type||"",i=o.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim();if(/^\*(\/\*)?$/.test(e))return!0;if("."===t.charAt(0)){var r=n.toLowerCase(),s=t.toLowerCase(),a=[s];return".jpg"!==s&&".jpeg"!==s||(a=[".jpg",".jpeg"]),a.some((function(e){return r.endsWith(e)}))}return/\/\*$/.test(t)?i===t.replace(/\/.*$/,""):o===t||!!/^\w+$/.test(t)&&((0,E.ZP)(!1,"Upload takes an invalidate 'accept' type '".concat(t,"'.Skip for check.")),!0)}))}return!0};var D=function(e,t,r){var n=function e(n,o){n.path=o||"",n.isFile?n.file((function(e){r(e)&&(n.fullPath&&!e.webkitRelativePath&&(Object.defineProperties(e,{webkitRelativePath:{writable:!0}}),e.webkitRelativePath=n.fullPath.replace(/^\//,""),Object.defineProperties(e,{webkitRelativePath:{writable:!1}})),t([e]))})):n.isDirectory&&function(e,t){var r=e.createReader(),n=[];!function e(){r.readEntries((function(r){var o=Array.prototype.slice.apply(r);n=n.concat(o),o.length?e():t(n)}))}()}(n,(function(t){t.forEach((function(t){e(t,"".concat(o).concat(n.name,"/"))}))}))};e.forEach((function(e){n(e.webkitGetAsEntry())}))},q=["component","prefixCls","className","disabled","id","style","multiple","accept","capture","children","directory","openFileDialogOnClick","onMouseEnter","onMouseLeave"],S=function(e){(0,h.Z)(r,e);var t=(0,d.Z)(r);function r(){var e;(0,p.Z)(this,r);for(var n=arguments.length,o=new Array(n),a=0;ai?l=-((a=i*(ne/e))-s)/2:c=-((s=e*(ne/i))-a)/2,n.drawImage(o,c,l,s,a);var u=r.toDataURL();document.body.removeChild(r),t(u)},o.src=window.URL.createObjectURL(e)}else t("")}))},isImageUrl:function(e){if(e.type&&!e.thumbUrl)return re(e.type);var t=e.thumbUrl||e.url||"",r=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split("/"),t=e[e.length-1].split(/#|\?/)[0];return(/\.[^./\\]*$/.exec(t)||[""])[0]}(t);return!(!/^data:image\//.test(t)&&!/(webp|svg|png|gif|jpg|jpeg|jfif|bmp|dpg|ico)$/i.test(r))||!/^data:/.test(t)&&!r}};var be=ve,ke=r(23715),ye=r(6213),Ce=r(21687),we=function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{c(n.next(e))}catch(t){i(t)}}function a(e){try{c(n.throw(e))}catch(t){i(t)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))},xe="__LIST_IGNORE_".concat(Date.now(),"__"),Ee=function(e,t){var r,c=e.fileList,p=e.defaultFileList,f=e.onRemove,h=e.showUploadList,d=e.listType,m=e.onPreview,g=e.onDownload,_=e.onChange,b=e.onDrop,k=e.previewFile,y=e.disabled,C=e.locale,w=e.iconRender,x=e.isImageUrl,E=e.progress,A=e.prefixCls,D=e.className,q=e.type,S=e.children,F=e.style,L=e.itemRender,I=e.maxCount,R=(0,Z.Z)(p||[],{value:c,postState:function(e){return null!==e&&void 0!==e?e:[]}}),T=(0,a.Z)(R,2),O=T[0],N=T[1],M=u.useState("drop"),P=(0,a.Z)(M,2),j=P[0],B=P[1],U=u.useRef();u.useEffect((function(){(0,Ce.Z)("fileList"in e||!("value"in e),"Upload","`value` is not a valid prop, do you mean `fileList`?"),(0,Ce.Z)(!("transformFile"in e),"Upload","`transformFile` is deprecated. Please use `beforeUpload` directly.")}),[]),u.useMemo((function(){var e=Date.now();(c||[]).forEach((function(t,r){t.uid||Object.isFrozen(t)||(t.uid="__AUTO__".concat(e,"_").concat(r,"__"))}))}),[c]);var V=function(e,t,r){var n=(0,s.Z)(t);1===I?n=n.slice(-1):I&&(n=n.slice(0,I)),N(n);var o={file:e,fileList:n};r&&(o.event=r),null===_||void 0===_||_(o)},H=function(e){var t=e.filter((function(e){return!e.file[xe]}));if(t.length){var r=t.map((function(e){return Q(e.file)})),n=(0,s.Z)(O);r.forEach((function(e){n=ee(e,n)})),r.forEach((function(e,r){var o=e;if(t[r].parsedFile)e.status="uploading";else{var i,s=e.originFileObj;try{i=new File([s],s.name,{type:s.type})}catch(a){(i=new Blob([s],{type:s.type})).name=s.name,i.lastModifiedDate=new Date,i.lastModified=(new Date).getTime()}i.uid=e.uid,o=i}V(o,n)}))}},$=function(e,t,r){try{"string"===typeof e&&(e=JSON.parse(e))}catch(i){}if(te(t,O)){var n=Q(t);n.status="done",n.percent=100,n.response=e,n.xhr=r;var o=ee(n,O);V(n,o)}},G=function(e,t){if(te(t,O)){var r=Q(t);r.status="uploading",r.percent=e.percent;var n=ee(r,O);V(r,n,e)}},J=function(e,t,r){if(te(r,O)){var n=Q(r);n.error=e,n.response=t,n.status="error";var o=ee(n,O);V(n,o)}},W=function(e){var t;Promise.resolve("function"===typeof f?f(e):f).then((function(r){var n;if(!1!==r){var i=function(e,t){var r=void 0!==e.uid?"uid":"name",n=t.filter((function(t){return t[r]!==e[r]}));return n.length===t.length?null:n}(e,O);i&&(t=(0,o.Z)((0,o.Z)({},e),{status:"removed"}),null===O||void 0===O||O.forEach((function(e){var r=void 0!==t.uid?"uid":"name";e[r]!==t[r]||Object.isFrozen(e)||(e.status="removed")})),null===(n=U.current)||void 0===n||n.abort(t),V(t,i))}}))},K=function(e){B(e.type),"drop"===e.type&&(null===b||void 0===b||b(e))};u.useImperativeHandle(t,(function(){return{onBatchStart:H,onSuccess:$,onProgress:G,onError:J,fileList:O,upload:U.current}}));var Y=u.useContext(ie.E_),X=Y.getPrefixCls,re=Y.direction,ne=X("upload",A),oe=(0,o.Z)((0,o.Z)({onBatchStart:H,onError:J,onProgress:G,onSuccess:$},e),{prefixCls:ne,beforeUpload:function(t,r){return we(void 0,void 0,void 0,l().mark((function n(){var o,s,a,c;return l().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(o=e.beforeUpload,s=e.transformFile,a=t,!o){n.next=13;break}return n.next=5,o(t,r);case 5:if(!1!==(c=n.sent)){n.next=8;break}return n.abrupt("return",!1);case 8:if(delete t[xe],c!==xe){n.next=12;break}return Object.defineProperty(t,xe,{value:!0,configurable:!0}),n.abrupt("return",!1);case 12:"object"===(0,i.Z)(c)&&c&&(a=c);case 13:if(!s){n.next=17;break}return n.next=16,s(a);case 16:a=n.sent;case 17:return n.abrupt("return",a);case 18:case"end":return n.stop()}}),n)})))},onChange:void 0});delete oe.className,delete oe.style,S&&!y||delete oe.id;var se=function(e,t){return h?u.createElement(ke.Z,{componentName:"Upload",defaultLocale:ye.Z.Upload},(function(r){var n="boolean"===typeof h?{}:h,i=n.showRemoveIcon,s=n.showPreviewIcon,a=n.showDownloadIcon,c=n.removeIcon,l=n.previewIcon,p=n.downloadIcon;return u.createElement(be,{listType:d,items:O,previewFile:k,onPreview:m,onDownload:g,onRemove:W,showRemoveIcon:!y&&i,showPreviewIcon:s,showDownloadIcon:a,removeIcon:c,previewIcon:l,downloadIcon:p,iconRender:w,locale:(0,o.Z)((0,o.Z)({},r),C),isImageUrl:x,progress:E,appendAction:e,appendActionVisible:t,itemRender:L})})):e};if("drag"===q){var ae,ce=v()(ne,(ae={},(0,n.Z)(ae,"".concat(ne,"-drag"),!0),(0,n.Z)(ae,"".concat(ne,"-drag-uploading"),O.some((function(e){return"uploading"===e.status}))),(0,n.Z)(ae,"".concat(ne,"-drag-hover"),"dragover"===j),(0,n.Z)(ae,"".concat(ne,"-disabled"),y),(0,n.Z)(ae,"".concat(ne,"-rtl"),"rtl"===re),ae),D);return u.createElement("span",null,u.createElement("div",{className:ce,onDrop:K,onDragOver:K,onDragLeave:K,style:F},u.createElement(z,(0,o.Z)({},oe,{ref:U,className:"".concat(ne,"-btn")}),u.createElement("div",{className:"".concat(ne,"-drag-container")},S))),se())}var le=v()(ne,(r={},(0,n.Z)(r,"".concat(ne,"-select"),!0),(0,n.Z)(r,"".concat(ne,"-select-").concat(d),!0),(0,n.Z)(r,"".concat(ne,"-disabled"),y),(0,n.Z)(r,"".concat(ne,"-rtl"),"rtl"===re),r)),ue=function(e){return u.createElement("div",{className:le,style:e},u.createElement(z,(0,o.Z)({},oe,{ref:U})))};return"picture-card"===d?u.createElement("span",{className:v()("".concat(ne,"-picture-card-wrapper"),D)},se(ue(),!!S)):u.createElement("span",{className:D},ue(S?void 0:{display:"none"}),se())},Ae=u.forwardRef(Ee);Ae.Dragger=N,Ae.LIST_IGNORE=xe,Ae.displayName="Upload",Ae.defaultProps={type:"select",multiple:!1,action:"",data:{},accept:"",showUploadList:!0,listType:"text",className:"",disabled:!1,supportServerRender:!0};var De=Ae;De.Dragger=N;var qe=De},68337:function(e,t,r){"use strict";function n(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){t&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e}function o(e){return Object.prototype.toString.call(e)}function i(e){return"[object Function]"===o(e)}function s(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var a={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};var c={"http:":{validate:function(e,t,r){var n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){var n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){var n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},l="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444".split("|");function u(e){var t=e.re=r(36066)(e.__opts__),n=e.__tlds__.slice();function a(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||n.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),n.push(t.src_xn),t.src_tlds=n.join("|"),t.email_fuzzy=RegExp(a(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(a(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(a(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(a(t.tpl_host_fuzzy_test),"i");var c=[];function l(e,t){throw new Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach((function(t){var r=e.__schemas__[t];if(null!==r){var n={validate:null,link:null};if(e.__compiled__[t]=n,"[object Object]"===o(r))return!function(e){return"[object RegExp]"===o(e)}(r.validate)?i(r.validate)?n.validate=r.validate:l(t,r):n.validate=function(e){return function(t,r){var n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}(r.validate),void(i(r.normalize)?n.normalize=r.normalize:r.normalize?l(t,r):n.normalize=function(e,t){t.normalize(e)});!function(e){return"[object String]"===o(e)}(r)?l(t,r):c.push(t)}})),c.forEach((function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)})),e.__compiled__[""]={validate:null,normalize:function(e,t){t.normalize(e)}};var u=Object.keys(e.__compiled__).filter((function(t){return t.length>0&&e.__compiled__[t]})).map(s).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+u+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><\uff5c]|"+t.src_ZPCc+"))("+u+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),function(e){e.__index__=-1,e.__text_cache__=""}(e)}function p(e,t){var r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function f(e,t){var r=new p(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function h(e,t){if(!(this instanceof h))return new h(e,t);var r;t||(r=e,Object.keys(r||{}).reduce((function(e,t){return e||a.hasOwnProperty(t)}),!1)&&(t=e,e={})),this.__opts__=n({},a,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=n({},c,e),this.__compiled__={},this.__tlds__=l,this.__tlds_replaced__=!1,this.re={},u(this)}h.prototype.add=function(e,t){return this.__schemas__[e]=t,u(this),this},h.prototype.set=function(e){return this.__opts__=n(this.__opts__,e),this},h.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;var t,r,n,o,i,s,a,c;if(this.re.schema_test.test(e))for((a=this.re.schema_search).lastIndex=0;null!==(t=a.exec(e));)if(o=this.testSchemaAt(e,t[2],a.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(c=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||c=0&&null!==(n=e.match(this.re.email_fuzzy))&&(i=n.index+n[1].length,s=n.index+n[0].length,(this.__index__<0||ithis.__last_index__)&&(this.__schema__="mailto:",this.__index__=i,this.__last_index__=s)),this.__index__>=0},h.prototype.pretest=function(e){return this.re.pretest.test(e)},h.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0},h.prototype.match=function(e){var t=0,r=[];this.__index__>=0&&this.__text_cache__===e&&(r.push(f(this,t)),t=this.__last_index__);for(var n=t?e.slice(t):e;this.test(n);)r.push(f(this,t)),n=n.slice(this.__last_index__),t+=this.__last_index__;return r.length?r:null},h.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter((function(e,t,r){return e!==r[t-1]})).reverse(),u(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,u(this),this)},h.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},h.prototype.onCompile=function(){},e.exports=h},36066:function(e,t,r){"use strict";e.exports=function(e){var t={};t.src_Any=r(29369).source,t.src_Cc=r(99413).source,t.src_Z=r(35045).source,t.src_P=r(73189).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");return t.src_pseudo_letter="(?:(?![><\uff5c]|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|[><\uff5c]|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+"[><\uff5c]|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy='(^|[><\uff5c]|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|"+t.src_ZPCc+"))((?![$+<=>^`|\uff5c])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},9980:function(e,t,r){"use strict";e.exports=r(17024)},26233:function(e,t,r){"use strict";e.exports=r(59323)},40813:function(e){"use strict";e.exports=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"]},51947:function(e){"use strict";var t="<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^\"'=<>`\\x00-\\x20]+|'[^']*'|\"[^\"]*\"))?)*\\s*\\/?>",r="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",n=new RegExp("^(?:"+t+"|"+r+"|\x3c!----\x3e|\x3c!--(?:-?[^>-])(?:-?[^-])*--\x3e|<[?][\\s\\S]*?[?]>|]*>|)"),o=new RegExp("^(?:"+t+"|"+r+")");e.exports.n=n,e.exports.q=o},67022:function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;function o(e,t){return n.call(e,t)}function i(e){return!(e>=55296&&e<=57343)&&(!(e>=64976&&e<=65007)&&(65535!==(65535&e)&&65534!==(65535&e)&&(!(e>=0&&e<=8)&&(11!==e&&(!(e>=14&&e<=31)&&(!(e>=127&&e<=159)&&!(e>1114111)))))))}function s(e){if(e>65535){var t=55296+((e-=65536)>>10),r=56320+(1023&e);return String.fromCharCode(t,r)}return String.fromCharCode(e)}var a=/\\([!"#$%&'()*+,\-.\/:;<=>?@[\\\]^_`{|}~])/g,c=new RegExp(a.source+"|"+/&([a-z#][a-z0-9]{1,31});/gi.source,"gi"),l=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))/i,u=r(26233);var p=/[&<>"]/,f=/[&<>"]/g,h={"&":"&","<":"<",">":">",'"':"""};function d(e){return h[e]}var m=/[.?*+^$[\]\\(){}|-]/g;var g=r(73189);t.lib={},t.lib.mdurl=r(48765),t.lib.ucmicro=r(84205),t.assign=function(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach((function(t){if(t){if("object"!==typeof t)throw new TypeError(t+"must be object");Object.keys(t).forEach((function(r){e[r]=t[r]}))}})),e},t.isString=function(e){return"[object String]"===function(e){return Object.prototype.toString.call(e)}(e)},t.has=o,t.unescapeMd=function(e){return e.indexOf("\\")<0?e:e.replace(a,"$1")},t.unescapeAll=function(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(c,(function(e,t,r){return t||function(e,t){var r=0;return o(u,t)?u[t]:35===t.charCodeAt(0)&&l.test(t)&&i(r="x"===t[1].toLowerCase()?parseInt(t.slice(2),16):parseInt(t.slice(1),10))?s(r):e}(e,r)}))},t.isValidEntityCode=i,t.fromCodePoint=s,t.escapeHtml=function(e){return p.test(e)?e.replace(f,d):e},t.arrayReplaceAt=function(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))},t.isSpace=function(e){switch(e){case 9:case 32:return!0}return!1},t.isWhiteSpace=function(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1},t.isMdAsciiPunct=function(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}},t.isPunctChar=function(e){return g.test(e)},t.escapeRE=function(e){return e.replace(m,"\\$&")},t.normalizeReference=function(e){return e=e.trim().replace(/\s+/g," "),"\u1e7e"==="\u1e9e".toLowerCase()&&(e=e.replace(/\u1e9e/g,"\xdf")),e.toLowerCase().toUpperCase()}},51685:function(e,t,r){"use strict";t.parseLinkLabel=r(33595),t.parseLinkDestination=r(12548),t.parseLinkTitle=r(88040)},12548:function(e,t,r){"use strict";var n=r(67022).unescapeAll;e.exports=function(e,t,r){var o,i,s=t,a={ok:!1,pos:0,lines:0,str:""};if(60===e.charCodeAt(t)){for(t++;t32)return a;if(41===o){if(0===i)break;i--}t++}return s===t||0!==i||(a.str=n(e.slice(s,t)),a.lines=0,a.pos=t,a.ok=!0),a}},33595:function(e){"use strict";e.exports=function(e,t,r){var n,o,i,s,a=-1,c=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos=r)return c;if(34!==(i=e.charCodeAt(t))&&39!==i&&40!==i)return c;for(t++,40===i&&(i=41);t=0))try{t.hostname=p.toASCII(t.hostname)}catch(r){}return u.encode(u.format(t))}function v(e){var t=u.parse(e,!0);if(t.hostname&&(!t.protocol||g.indexOf(t.protocol)>=0))try{t.hostname=p.toUnicode(t.hostname)}catch(r){}return u.decode(u.format(t),u.decode.defaultChars+"%")}function b(e,t){if(!(this instanceof b))return new b(e,t);t||n.isString(e)||(t=e||{},e="default"),this.inline=new c,this.block=new a,this.core=new s,this.renderer=new i,this.linkify=new l,this.validateLink=m,this.normalizeLink=_,this.normalizeLinkText=v,this.utils=n,this.helpers=n.assign({},o),this.options={},this.configure(e),t&&this.set(t)}b.prototype.set=function(e){return n.assign(this.options,e),this},b.prototype.configure=function(e){var t,r=this;if(n.isString(e)&&!(e=f[t=e]))throw new Error('Wrong `markdown-it` preset "'+t+'", check name');if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&r.set(e.options),e.components&&Object.keys(e.components).forEach((function(t){e.components[t].rules&&r[t].ruler.enableOnly(e.components[t].rules),e.components[t].rules2&&r[t].ruler2.enableOnly(e.components[t].rules2)})),this},b.prototype.enable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.enable(e,!0))}),this),r=r.concat(this.inline.ruler2.enable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this},b.prototype.disable=function(e,t){var r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach((function(t){r=r.concat(this[t].ruler.disable(e,!0))}),this),r=r.concat(this.inline.ruler2.disable(e,!0));var n=e.filter((function(e){return r.indexOf(e)<0}));if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this},b.prototype.use=function(e){var t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this},b.prototype.parse=function(e,t){if("string"!==typeof e)throw new Error("Input data should be a String");var r=new this.core.State(e,this,t);return this.core.process(r),r.tokens},b.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)},b.prototype.parseInline=function(e,t){var r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens},b.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)},e.exports=b},82471:function(e,t,r){"use strict";var n=r(79580),o=[["table",r(91785),["paragraph","reference"]],["code",r(38768)],["fence",r(13542),["paragraph","reference","blockquote","list"]],["blockquote",r(45258),["paragraph","reference","blockquote","list"]],["hr",r(35634),["paragraph","reference","blockquote","list"]],["list",r(18532),["paragraph","reference","blockquote"]],["reference",r(43804)],["html_block",r(76329),["paragraph","reference","blockquote"]],["heading",r(61630),["paragraph","reference","blockquote"]],["lheading",r(56850)],["paragraph",r(96864)]];function i(){this.ruler=new n;for(var e=0;e=r))&&!(e.sCount[s]=c){e.line=r;break}for(n=0;n=i)break}else e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()},s.prototype.parse=function(e,t,r,n){var o,i,s,a=new this.State(e,t,r,n);for(this.tokenize(a),s=(i=this.ruler2.getRules("")).length,o=0;o"+i(e[t].content)+""},s.code_block=function(e,t,r,n,o){var s=e[t];return""+i(e[t].content)+"\n"},s.fence=function(e,t,r,n,s){var a,c,l,u,p,f=e[t],h=f.info?o(f.info).trim():"",d="",m="";return h&&(d=(l=h.split(/(\s+)/g))[0],m=l.slice(2).join("")),0===(a=r.highlight&&r.highlight(f.content,d,m)||i(f.content)).indexOf(""+a+"\n"):"
"+a+"
\n"},s.image=function(e,t,r,n,o){var i=e[t];return i.attrs[i.attrIndex("alt")][1]=o.renderInlineAsText(i.children,r,n),o.renderToken(e,t,r)},s.hardbreak=function(e,t,r){return r.xhtmlOut?"
\n":"
\n"},s.softbreak=function(e,t,r){return r.breaks?r.xhtmlOut?"
\n":"
\n":"\n"},s.text=function(e,t){return i(e[t].content)},s.html_block=function(e,t){return e[t].content},s.html_inline=function(e,t){return e[t].content},a.prototype.renderAttrs=function(e){var t,r,n;if(!e.attrs)return"";for(n="",t=0,r=e.attrs.length;t\n":">")},a.prototype.renderInline=function(e,t,r){for(var n,o="",i=this.rules,s=0,a=e.length;s=4)return!1;if(62!==e.src.charCodeAt(A++))return!1;if(o)return!0;for(c=h=e.sCount[t]+1,32===e.src.charCodeAt(A)?(A++,c++,h++,i=!1,k=!0):9===e.src.charCodeAt(A)?(k=!0,(e.bsCount[t]+h)%4===3?(A++,c++,h++,i=!1):i=!0):k=!1,d=[e.bMarks[t]],e.bMarks[t]=A;A=D,v=[e.sCount[t]],e.sCount[t]=h-c,b=[e.tShift[t]],e.tShift[t]=A-e.bMarks[t],C=e.md.block.ruler.getRules("blockquote"),_=e.parentType,e.parentType="blockquote",f=t+1;f=(D=e.eMarks[f])));f++)if(62!==e.src.charCodeAt(A++)||x){if(u)break;for(y=!1,a=0,l=C.length;a=D,m.push(e.bsCount[f]),e.bsCount[f]=e.sCount[f]+1+(k?1:0),v.push(e.sCount[f]),e.sCount[f]=h-c,b.push(e.tShift[f]),e.tShift[f]=A-e.bMarks[f]}for(g=e.blkIndent,e.blkIndent=0,(w=e.push("blockquote_open","blockquote",1)).markup=">",w.map=p=[t,0],e.md.block.tokenize(e,t,f),(w=e.push("blockquote_close","blockquote",-1)).markup=">",e.lineMax=E,e.parentType=_,p[1]=e.line,a=0;a=4))break;o=++n}return e.line=o,(i=e.push("code_block","code",0)).content=e.getLines(t,o,4+e.blkIndent,!1)+"\n",i.map=[t,e.line],!0}},13542:function(e){"use strict";e.exports=function(e,t,r,n){var o,i,s,a,c,l,u,p=!1,f=e.bMarks[t]+e.tShift[t],h=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(f+3>h)return!1;if(126!==(o=e.src.charCodeAt(f))&&96!==o)return!1;if(c=f,(i=(f=e.skipChars(f,o))-c)<3)return!1;if(u=e.src.slice(c,f),s=e.src.slice(f,h),96===o&&s.indexOf(String.fromCharCode(o))>=0)return!1;if(n)return!0;for(a=t;!(++a>=r)&&!((f=c=e.bMarks[a]+e.tShift[a])<(h=e.eMarks[a])&&e.sCount[a]=4)&&!((f=e.skipChars(f,o))-c=4)return!1;if(35!==(i=e.src.charCodeAt(l))||l>=u)return!1;for(s=1,i=e.src.charCodeAt(++l);35===i&&l6||ll&&n(e.src.charCodeAt(a-1))&&(u=a),e.line=t+1,(c=e.push("heading_open","h"+String(s),1)).markup="########".slice(0,s),c.map=[t,e.line],(c=e.push("inline","",0)).content=e.src.slice(l,u).trim(),c.map=[t,e.line],c.children=[],(c=e.push("heading_close","h"+String(s),-1)).markup="########".slice(0,s)),!0)}},35634:function(e,t,r){"use strict";var n=r(67022).isSpace;e.exports=function(e,t,r,o){var i,s,a,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(42!==(i=e.src.charCodeAt(l++))&&45!==i&&95!==i)return!1;for(s=1;l|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(o.source+"\\s*$"),/^$/,!1]];e.exports=function(e,t,r,n){var o,s,a,c,l=e.bMarks[t]+e.tShift[t],u=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;if(!e.md.options.html)return!1;if(60!==e.src.charCodeAt(l))return!1;for(c=e.src.slice(l,u),o=0;o=4)return!1;for(f=e.parentType,e.parentType="paragraph";h3)){if(e.sCount[h]>=e.blkIndent&&(c=e.bMarks[h]+e.tShift[h])<(l=e.eMarks[h])&&(45===(p=e.src.charCodeAt(c))||61===p)&&(c=e.skipChars(c,p),(c=e.skipSpaces(c))>=l)){u=61===p?1:2;break}if(!(e.sCount[h]<0)){for(o=!1,i=0,s=d.length;i=s)return-1;if((r=e.src.charCodeAt(i++))<48||r>57)return-1;for(;;){if(i>=s)return-1;if(!((r=e.src.charCodeAt(i++))>=48&&r<=57)){if(41===r||46===r)break;return-1}if(i-o>=10)return-1}return i=4)return!1;if(e.listIndent>=0&&e.sCount[t]-e.listIndent>=4&&e.sCount[t]=e.blkIndent&&(Z=!0),(q=i(e,t))>=0){if(f=!0,F=e.bMarks[t]+e.tShift[t],v=Number(e.src.slice(F,q-1)),Z&&1!==v)return!1}else{if(!((q=o(e,t))>=0))return!1;f=!1}if(Z&&e.skipSpaces(q)>=e.eMarks[t])return!1;if(_=e.src.charCodeAt(q-1),n)return!0;for(g=e.tokens.length,f?(z=e.push("ordered_list_open","ol",1),1!==v&&(z.attrs=[["start",v]])):z=e.push("bullet_list_open","ul",1),z.map=m=[t,0],z.markup=String.fromCharCode(_),k=t,S=!1,I=e.md.block.ruler.getRules("list"),w=e.parentType,e.parentType="list";k=b?1:y-p)>4&&(u=1),l=p+u,(z=e.push("list_item_open","li",1)).markup=String.fromCharCode(_),z.map=h=[t,0],f&&(z.info=e.src.slice(F,q-1)),A=e.tight,E=e.tShift[t],x=e.sCount[t],C=e.listIndent,e.listIndent=e.blkIndent,e.blkIndent=l,e.tight=!0,e.tShift[t]=a-e.bMarks[t],e.sCount[t]=y,a>=b&&e.isEmpty(t+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,t,r,!0),e.tight&&!S||(R=!1),S=e.line-t>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=C,e.tShift[t]=E,e.sCount[t]=x,e.tight=A,(z=e.push("list_item_close","li",-1)).markup=String.fromCharCode(_),k=t=e.line,h[1]=k,a=e.bMarks[t],k>=r)break;if(e.sCount[k]=4)break;for(L=!1,c=0,d=I.length;c3)&&!(e.sCount[c]<0)){for(n=!1,o=0,i=l.length;o=4)return!1;if(91!==e.src.charCodeAt(w))return!1;for(;++w3)&&!(e.sCount[E]<0)){for(b=!1,p=0,f=k.length;p0&&this.level++,this.tokens.push(o),o},i.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]},i.prototype.skipEmptyLines=function(e){for(var t=this.lineMax;et;)if(!o(this.src.charCodeAt(--e)))return e+1;return e},i.prototype.skipChars=function(e,t){for(var r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e},i.prototype.getLines=function(e,t,r,n){var i,s,a,c,l,u,p,f=e;if(e>=t)return"";for(u=new Array(t-e),i=0;fr?new Array(s-r+1).join(" ")+this.src.slice(c,l):this.src.slice(c,l)}return u.join("")},i.prototype.Token=n,e.exports=i},91785:function(e,t,r){"use strict";var n=r(67022).isSpace;function o(e,t){var r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.substr(r,n-r)}function i(e){var t,r=[],n=0,o=e.length,i=!1,s=0,a="";for(t=e.charCodeAt(n);nr)return!1;if(f=t+1,e.sCount[f]=4)return!1;if((l=e.bMarks[f]+e.tShift[f])>=e.eMarks[f])return!1;if(124!==(w=e.src.charCodeAt(l++))&&45!==w&&58!==w)return!1;if(l>=e.eMarks[f])return!1;if(124!==(x=e.src.charCodeAt(l++))&&45!==x&&58!==x&&!n(x))return!1;if(45===w&&n(x))return!1;for(;l=4)return!1;if((h=i(c)).length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),0===(d=h.length)||d!==g.length)return!1;if(s)return!0;for(k=e.parentType,e.parentType="table",C=e.md.block.ruler.getRules("blockquote"),(m=e.push("table_open","table",1)).map=v=[t,0],(m=e.push("thead_open","thead",1)).map=[t,t+1],(m=e.push("tr_open","tr",1)).map=[t,t+1],u=0;u=4)break;for((h=i(c)).length&&""===h[0]&&h.shift(),h.length&&""===h[h.length-1]&&h.pop(),f===t+2&&((m=e.push("tbody_open","tbody",1)).map=b=[t+2,0]),(m=e.push("tr_open","tr",1)).map=[f,f+1],u=0;u/i.test(e)}e.exports=function(e){var t,r,i,s,a,c,l,u,p,f,h,d,m,g,_,v,b,k,y=e.tokens;if(e.md.options.linkify)for(r=0,i=y.length;r=0;t--)if("link_close"!==(c=s[t]).type){if("html_inline"===c.type&&(k=c.content,/^\s]/i.test(k)&&m>0&&m--,o(c.content)&&m++),!(m>0)&&"text"===c.type&&e.md.linkify.test(c.content)){for(p=c.content,b=e.md.linkify.match(p),l=[],d=c.level,h=0,u=0;uh&&((a=new e.Token("text","",0)).content=p.slice(h,f),a.level=d,l.push(a)),(a=new e.Token("link_open","a",1)).attrs=[["href",_]],a.level=d++,a.markup="linkify",a.info="auto",l.push(a),(a=new e.Token("text","",0)).content=v,a.level=d,l.push(a),(a=new e.Token("link_close","a",-1)).level=--d,a.markup="linkify",a.info="auto",l.push(a),h=b[u].lastIndex);h=0;t--)"text"!==(r=e[t]).type||o||(r.content=r.content.replace(n,i)),"link_open"===r.type&&"auto"===r.info&&o--,"link_close"===r.type&&"auto"===r.info&&o++}function a(e){var r,n,o=0;for(r=e.length-1;r>=0;r--)"text"!==(n=e[r]).type||o||t.test(n.content)&&(n.content=n.content.replace(/\+-/g,"\xb1").replace(/\.{2,}/g,"\u2026").replace(/([?!])\u2026/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),"link_open"===n.type&&"auto"===n.info&&o--,"link_close"===n.type&&"auto"===n.info&&o++}e.exports=function(e){var n;if(e.md.options.typographer)for(n=e.tokens.length-1;n>=0;n--)"inline"===e.tokens[n].type&&(r.test(e.tokens[n].content)&&s(e.tokens[n].children),t.test(e.tokens[n].content)&&a(e.tokens[n].children))}},58450:function(e,t,r){"use strict";var n=r(67022).isWhiteSpace,o=r(67022).isPunctChar,i=r(67022).isMdAsciiPunct,s=/['"]/,a=/['"]/g;function c(e,t,r){return e.substr(0,t)+r+e.substr(t+1)}function l(e,t){var r,s,l,u,p,f,h,d,m,g,_,v,b,k,y,C,w,x,E,A,D;for(E=[],r=0;r=0&&!(E[w].level<=h);w--);if(E.length=w+1,"text"===s.type){p=0,f=(l=s.content).length;e:for(;p=0)m=l.charCodeAt(u.index-1);else for(w=r-1;w>=0&&("softbreak"!==e[w].type&&"hardbreak"!==e[w].type);w--)if(e[w].content){m=e[w].content.charCodeAt(e[w].content.length-1);break}if(g=32,p=48&&m<=57&&(C=y=!1),y&&C&&(y=_,C=v),y||C){if(C)for(w=E.length-1;w>=0&&(d=E[w],!(E[w].level=0;t--)"inline"===e.tokens[t].type&&s.test(e.tokens[t].content)&&l(e.tokens[t].children,e)}},16480:function(e,t,r){"use strict";var n=r(75872);function o(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}o.prototype.Token=n,e.exports=o},43420:function(e){"use strict";var t=/^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,r=/^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;e.exports=function(e,n){var o,i,s,a,c,l,u=e.pos;if(60!==e.src.charCodeAt(u))return!1;for(c=e.pos,l=e.posMax;;){if(++u>=l)return!1;if(60===(a=e.src.charCodeAt(u)))return!1;if(62===a)break}return o=e.src.slice(c+1,u),r.test(o)?(i=e.md.normalizeLink(o),!!e.md.validateLink(i)&&(n||((s=e.push("link_open","a",1)).attrs=[["href",i]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(o),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=o.length+2,!0)):!!t.test(o)&&(i=e.md.normalizeLink("mailto:"+o),!!e.md.validateLink(i)&&(n||((s=e.push("link_open","a",1)).attrs=[["href",i]],s.markup="autolink",s.info="auto",(s=e.push("text","",0)).content=e.md.normalizeLinkText(o),(s=e.push("link_close","a",-1)).markup="autolink",s.info="auto"),e.pos+=o.length+2,!0))}},79755:function(e){"use strict";e.exports=function(e,t){var r,n,o,i,s,a,c,l,u=e.pos;if(96!==e.src.charCodeAt(u))return!1;for(r=u,u++,n=e.posMax;us;n-=d[n]+1)if((i=t[n]).marker===o.marker&&i.open&&i.end<0&&(c=!1,(i.close||o.open)&&(i.length+o.length)%3===0&&(i.length%3===0&&o.length%3===0||(c=!0)),!c)){l=n>0&&!t[n-1].open?d[n-1]+1:0,d[r]=r-n+l,d[n]=l,o.open=!1,i.end=r,i.close=!1,a=-1,h=-2;break}-1!==a&&(u[o.marker][(o.open?3:0)+(o.length||0)%3]=a)}}}e.exports=function(e){var r,n=e.tokens_meta,o=e.tokens_meta.length;for(t(0,e.delimiters),r=0;r=0;r--)95!==(n=t[r]).marker&&42!==n.marker||-1!==n.end&&(o=t[n.end],a=r>0&&t[r-1].end===n.end+1&&t[r-1].marker===n.marker&&t[r-1].token===n.token-1&&t[n.end+1].token===o.token+1,s=String.fromCharCode(n.marker),(i=e.tokens[n.token]).type=a?"strong_open":"em_open",i.tag=a?"strong":"em",i.nesting=1,i.markup=a?s+s:s,i.content="",(i=e.tokens[o.token]).type=a?"strong_close":"em_close",i.tag=a?"strong":"em",i.nesting=-1,i.markup=a?s+s:s,i.content="",a&&(e.tokens[t[r-1].token].content="",e.tokens[t[n.end+1].token].content="",r--))}e.exports.w=function(e,t){var r,n,o=e.pos,i=e.src.charCodeAt(o);if(t)return!1;if(95!==i&&42!==i)return!1;for(n=e.scanDelims(e.pos,42===i),r=0;r?@[]^_`{|}~-".split("").forEach((function(e){o[e.charCodeAt(0)]=1})),e.exports=function(e,t){var r,i=e.pos,s=e.posMax;if(92!==e.src.charCodeAt(i))return!1;if(++i=i)&&(!(33!==(r=e.src.charCodeAt(s+1))&&63!==r&&47!==r&&!function(e){var t=32|e;return t>=97&&t<=122}(r))&&(!!(o=e.src.slice(s).match(n))&&(t||(e.push("html_inline","",0).content=e.src.slice(s,s+o[0].length)),e.pos+=o[0].length,!0))))}},83006:function(e,t,r){"use strict";var n=r(67022).normalizeReference,o=r(67022).isSpace;e.exports=function(e,t){var r,i,s,a,c,l,u,p,f,h,d,m,g,_="",v=e.pos,b=e.posMax;if(33!==e.src.charCodeAt(e.pos))return!1;if(91!==e.src.charCodeAt(e.pos+1))return!1;if(l=e.pos+2,(c=e.md.helpers.parseLinkLabel(e,e.pos+1,!1))<0)return!1;if((u=c+1)=b)return!1;for(g=u,(f=e.md.helpers.parseLinkDestination(e.src,u,e.posMax)).ok&&(_=e.md.normalizeLink(f.str),e.md.validateLink(_)?u=f.pos:_=""),g=u;u=b||41!==e.src.charCodeAt(u))return e.pos=v,!1;u++}else{if("undefined"===typeof e.env.references)return!1;if(u=0?a=e.src.slice(g,u++):u=c+1):u=c+1,a||(a=e.src.slice(l,c)),!(p=e.env.references[n(a)]))return e.pos=v,!1;_=p.href,h=p.title}return t||(s=e.src.slice(l,c),e.md.inline.parse(s,e.md,e.env,m=[]),(d=e.push("image","img",0)).attrs=r=[["src",_],["alt",""]],d.children=m,d.content=s,h&&r.push(["title",h])),e.pos=u,e.posMax=b,!0}},81727:function(e,t,r){"use strict";var n=r(67022).normalizeReference,o=r(67022).isSpace;e.exports=function(e,t){var r,i,s,a,c,l,u,p,f="",h="",d=e.pos,m=e.posMax,g=e.pos,_=!0;if(91!==e.src.charCodeAt(e.pos))return!1;if(c=e.pos+1,(a=e.md.helpers.parseLinkLabel(e,e.pos,!0))<0)return!1;if((l=a+1)=m)return!1;if(g=l,(u=e.md.helpers.parseLinkDestination(e.src,l,e.posMax)).ok){for(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?l=u.pos:f="",g=l;l=m||41!==e.src.charCodeAt(l))&&(_=!0),l++}if(_){if("undefined"===typeof e.env.references)return!1;if(l=0?s=e.src.slice(g,l++):l=a+1):l=a+1,s||(s=e.src.slice(c,a)),!(p=e.env.references[n(s)]))return e.pos=d,!1;f=p.href,h=p.title}return t||(e.pos=c,e.posMax=a,e.push("link_open","a",1).attrs=r=[["href",f]],h&&r.push(["title",h]),e.md.inline.tokenize(e),e.push("link_close","a",-1)),e.pos=l,e.posMax=m,!0}},43905:function(e,t,r){"use strict";var n=r(67022).isSpace;e.exports=function(e,t){var r,o,i,s=e.pos;if(10!==e.src.charCodeAt(s))return!1;if(r=e.pending.length-1,o=e.posMax,!t)if(r>=0&&32===e.pending.charCodeAt(r))if(r>=1&&32===e.pending.charCodeAt(r-1)){for(i=r-1;i>=1&&32===e.pending.charCodeAt(i-1);)i--;e.pending=e.pending.slice(0,i),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(s++;s0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],i={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(o),this.tokens_meta.push(i),o},a.prototype.scanDelims=function(e,t){var r,n,a,c,l,u,p,f,h,d=e,m=!0,g=!0,_=this.posMax,v=this.src.charCodeAt(e);for(r=e>0?this.src.charCodeAt(e-1):32;d<_&&this.src.charCodeAt(d)===v;)d++;return a=d-e,n=d<_?this.src.charCodeAt(d):32,p=s(r)||i(String.fromCharCode(r)),h=s(n)||i(String.fromCharCode(n)),u=o(r),(f=o(n))?m=!1:h&&(u||p||(m=!1)),u?g=!1:p&&(f||h||(g=!1)),t?(c=m,l=g):(c=m&&(!g||p),l=g&&(!m||h)),{can_open:c,can_close:l,length:a}},a.prototype.Token=n,e.exports=a},44814:function(e){"use strict";function t(e,t){var r,n,o,i,s,a=[],c=t.length;for(r=0;r0&&n++,"text"===o[t].type&&t+1=0&&(r=this.attrs[t][1]),r},t.prototype.attrJoin=function(e,t){var r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t},e.exports=t},83122:function(e){"use strict";var t={};function r(e,n){var o;return"string"!==typeof n&&(n=r.defaultChars),o=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),o.push(n);for(r=0;r=55296&&c<=57343?"\ufffd\ufffd\ufffd":String.fromCharCode(c),t+=6):240===(248&n)&&t+91114111?l+="\ufffd\ufffd\ufffd\ufffd":(c-=65536,l+=String.fromCharCode(55296+(c>>10),56320+(1023&c))),t+=9):l+="\ufffd";return l}))}r.defaultChars=";/?:@&=+$,#",r.componentChars="",e.exports=r},70729:function(e){"use strict";var t={};function r(e,n,o){var i,s,a,c,l,u="";for("string"!==typeof n&&(o=n,n=r.defaultChars),"undefined"===typeof o&&(o=!0),l=function(e){var r,n,o=t[e];if(o)return o;for(o=t[e]=[],r=0;r<128;r++)n=String.fromCharCode(r),/^[0-9a-z]$/i.test(n)?o.push(n):o.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2));for(r=0;r=55296&&a<=57343){if(a>=55296&&a<=56319&&i+1=56320&&c<=57343){u+=encodeURIComponent(e[i]+e[i+1]),i++;continue}u+="%EF%BF%BD"}else u+=encodeURIComponent(e[i]);return u}r.defaultChars=";/?:@&=+$,-_.!~*'()#",r.componentChars="-_.!~*'()",e.exports=r},2201:function(e){"use strict";e.exports=function(e){var t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&-1!==e.hostname.indexOf(":")?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||""}},48765:function(e,t,r){"use strict";e.exports.encode=r(70729),e.exports.decode=r(83122),e.exports.format=r(2201),e.exports.parse=r(9553)},9553:function(e){"use strict";function t(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var r=/^([a-z0-9.+-]+:)/i,n=/:[0-9]*$/,o=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,i=["{","}","|","\\","^","`"].concat(["<",">",'"',"`"," ","\r","\n","\t"]),s=["'"].concat(i),a=["%","/","?",";","#"].concat(s),c=["/","?","#"],l=/^[+a-z0-9A-Z_-]{0,63}$/,u=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,p={javascript:!0,"javascript:":!0},f={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};t.prototype.parse=function(e,t){var n,i,s,h,d,m=e;if(m=m.trim(),!t&&1===e.split("#").length){var g=o.exec(m);if(g)return this.pathname=g[1],g[2]&&(this.search=g[2]),this}var _=r.exec(m);if(_&&(s=(_=_[0]).toLowerCase(),this.protocol=_,m=m.substr(_.length)),(t||_||m.match(/^\/\/[^@\/]+@[^@\/]+/))&&(!(d="//"===m.substr(0,2))||_&&p[_]||(m=m.substr(2),this.slashes=!0)),!p[_]&&(d||_&&!f[_])){var v,b,k=-1;for(n=0;n127?E+="x":E+=x[A];if(!E.match(l)){var q=w.slice(0,n),S=w.slice(n+1),F=x.match(u);F&&(q.push(F[1]),S.unshift(F[2])),S.length&&(m=S.join(".")+m),this.hostname=q.join(".");break}}}}this.hostname.length>255&&(this.hostname=""),C&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}var L=m.indexOf("#");-1!==L&&(this.hash=m.substr(L),m=m.slice(0,L));var I=m.indexOf("?");return-1!==I&&(this.search=m.substr(I),m=m.slice(0,I)),m&&(this.pathname=m),f[s]&&this.hostname&&!this.pathname&&(this.pathname=""),this},t.prototype.parseHost=function(e){var t=n.exec(e);t&&(":"!==(t=t[0])&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)},e.exports=function(e,r){if(e&&e instanceof t)return e;var n=new t;return n.parse(e,r),n}},90638:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function o(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:[];return new Promise((function(t){var r=function(){return f=!0,t()};g(p,e).then(r,r)}))},window.__NEXT_PRELOADREADY=m.preloadReady;var _=m;t.default=_},56780:function(){},5152:function(e,t,r){e.exports=r(90638)},3689:function(e,t,r){"use strict";r.r(t),r.d(t,{ucs2decode:function(){return h},ucs2encode:function(){return d},decode:function(){return _},encode:function(){return v},toASCII:function(){return k},toUnicode:function(){return b}});const n=2147483647,o=36,i=/^xn--/,s=/[^\0-\x7E]/,a=/[\x2E\u3002\uFF0E\uFF61]/g,c={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},l=Math.floor,u=String.fromCharCode;function p(e){throw new RangeError(c[e])}function f(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]);const o=function(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}((e=e.replace(a,".")).split("."),t).join(".");return n+o}function h(e){const t=[];let r=0;const n=e.length;for(;r=55296&&o<=56319&&rString.fromCodePoint(...e),m=function(e,t){return e+22+75*(e<26)-((0!=t)<<5)},g=function(e,t,r){let n=0;for(e=r?l(e/700):e>>1,e+=l(e/t);e>455;n+=o)e=l(e/35);return l(n+36*e/(e+38))},_=function(e){const t=[],r=e.length;let i=0,s=128,a=72,c=e.lastIndexOf("-");c<0&&(c=0);for(let n=0;n=128&&p("not-basic"),t.push(e.charCodeAt(n));for(let f=c>0?c+1:0;f=r&&p("invalid-input");const c=(u=e.charCodeAt(f++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:o;(c>=o||c>l((n-i)/t))&&p("overflow"),i+=c*t;const h=s<=a?1:s>=a+26?26:s-a;if(cl(n/d)&&p("overflow"),t*=d}const h=t.length+1;a=g(i-c,h,0==c),l(i/h)>n-s&&p("overflow"),s+=l(i/h),i%=h,t.splice(i++,0,s)}var u;return String.fromCodePoint(...t)},v=function(e){const t=[];let r=(e=h(e)).length,i=128,s=0,a=72;for(const n of e)n<128&&t.push(u(n));let c=t.length,f=c;for(c&&t.push("-");f=i&&tl((n-s)/h)&&p("overflow"),s+=(r-i)*h,i=r;for(const d of e)if(dn&&p("overflow"),d==i){let e=s;for(let r=o;;r+=o){const n=r<=a?1:r>=a+26?26:r-a;if(e","GT":">","Gt":"\u226b","gtdot":"\u22d7","gtlPar":"\u2995","gtquest":"\u2a7c","gtrapprox":"\u2a86","gtrarr":"\u2978","gtrdot":"\u22d7","gtreqless":"\u22db","gtreqqless":"\u2a8c","gtrless":"\u2277","gtrsim":"\u2273","gvertneqq":"\u2269\ufe00","gvnE":"\u2269\ufe00","Hacek":"\u02c7","hairsp":"\u200a","half":"\xbd","hamilt":"\u210b","HARDcy":"\u042a","hardcy":"\u044a","harrcir":"\u2948","harr":"\u2194","hArr":"\u21d4","harrw":"\u21ad","Hat":"^","hbar":"\u210f","Hcirc":"\u0124","hcirc":"\u0125","hearts":"\u2665","heartsuit":"\u2665","hellip":"\u2026","hercon":"\u22b9","hfr":"\ud835\udd25","Hfr":"\u210c","HilbertSpace":"\u210b","hksearow":"\u2925","hkswarow":"\u2926","hoarr":"\u21ff","homtht":"\u223b","hookleftarrow":"\u21a9","hookrightarrow":"\u21aa","hopf":"\ud835\udd59","Hopf":"\u210d","horbar":"\u2015","HorizontalLine":"\u2500","hscr":"\ud835\udcbd","Hscr":"\u210b","hslash":"\u210f","Hstrok":"\u0126","hstrok":"\u0127","HumpDownHump":"\u224e","HumpEqual":"\u224f","hybull":"\u2043","hyphen":"\u2010","Iacute":"\xcd","iacute":"\xed","ic":"\u2063","Icirc":"\xce","icirc":"\xee","Icy":"\u0418","icy":"\u0438","Idot":"\u0130","IEcy":"\u0415","iecy":"\u0435","iexcl":"\xa1","iff":"\u21d4","ifr":"\ud835\udd26","Ifr":"\u2111","Igrave":"\xcc","igrave":"\xec","ii":"\u2148","iiiint":"\u2a0c","iiint":"\u222d","iinfin":"\u29dc","iiota":"\u2129","IJlig":"\u0132","ijlig":"\u0133","Imacr":"\u012a","imacr":"\u012b","image":"\u2111","ImaginaryI":"\u2148","imagline":"\u2110","imagpart":"\u2111","imath":"\u0131","Im":"\u2111","imof":"\u22b7","imped":"\u01b5","Implies":"\u21d2","incare":"\u2105","in":"\u2208","infin":"\u221e","infintie":"\u29dd","inodot":"\u0131","intcal":"\u22ba","int":"\u222b","Int":"\u222c","integers":"\u2124","Integral":"\u222b","intercal":"\u22ba","Intersection":"\u22c2","intlarhk":"\u2a17","intprod":"\u2a3c","InvisibleComma":"\u2063","InvisibleTimes":"\u2062","IOcy":"\u0401","iocy":"\u0451","Iogon":"\u012e","iogon":"\u012f","Iopf":"\ud835\udd40","iopf":"\ud835\udd5a","Iota":"\u0399","iota":"\u03b9","iprod":"\u2a3c","iquest":"\xbf","iscr":"\ud835\udcbe","Iscr":"\u2110","isin":"\u2208","isindot":"\u22f5","isinE":"\u22f9","isins":"\u22f4","isinsv":"\u22f3","isinv":"\u2208","it":"\u2062","Itilde":"\u0128","itilde":"\u0129","Iukcy":"\u0406","iukcy":"\u0456","Iuml":"\xcf","iuml":"\xef","Jcirc":"\u0134","jcirc":"\u0135","Jcy":"\u0419","jcy":"\u0439","Jfr":"\ud835\udd0d","jfr":"\ud835\udd27","jmath":"\u0237","Jopf":"\ud835\udd41","jopf":"\ud835\udd5b","Jscr":"\ud835\udca5","jscr":"\ud835\udcbf","Jsercy":"\u0408","jsercy":"\u0458","Jukcy":"\u0404","jukcy":"\u0454","Kappa":"\u039a","kappa":"\u03ba","kappav":"\u03f0","Kcedil":"\u0136","kcedil":"\u0137","Kcy":"\u041a","kcy":"\u043a","Kfr":"\ud835\udd0e","kfr":"\ud835\udd28","kgreen":"\u0138","KHcy":"\u0425","khcy":"\u0445","KJcy":"\u040c","kjcy":"\u045c","Kopf":"\ud835\udd42","kopf":"\ud835\udd5c","Kscr":"\ud835\udca6","kscr":"\ud835\udcc0","lAarr":"\u21da","Lacute":"\u0139","lacute":"\u013a","laemptyv":"\u29b4","lagran":"\u2112","Lambda":"\u039b","lambda":"\u03bb","lang":"\u27e8","Lang":"\u27ea","langd":"\u2991","langle":"\u27e8","lap":"\u2a85","Laplacetrf":"\u2112","laquo":"\xab","larrb":"\u21e4","larrbfs":"\u291f","larr":"\u2190","Larr":"\u219e","lArr":"\u21d0","larrfs":"\u291d","larrhk":"\u21a9","larrlp":"\u21ab","larrpl":"\u2939","larrsim":"\u2973","larrtl":"\u21a2","latail":"\u2919","lAtail":"\u291b","lat":"\u2aab","late":"\u2aad","lates":"\u2aad\ufe00","lbarr":"\u290c","lBarr":"\u290e","lbbrk":"\u2772","lbrace":"{","lbrack":"[","lbrke":"\u298b","lbrksld":"\u298f","lbrkslu":"\u298d","Lcaron":"\u013d","lcaron":"\u013e","Lcedil":"\u013b","lcedil":"\u013c","lceil":"\u2308","lcub":"{","Lcy":"\u041b","lcy":"\u043b","ldca":"\u2936","ldquo":"\u201c","ldquor":"\u201e","ldrdhar":"\u2967","ldrushar":"\u294b","ldsh":"\u21b2","le":"\u2264","lE":"\u2266","LeftAngleBracket":"\u27e8","LeftArrowBar":"\u21e4","leftarrow":"\u2190","LeftArrow":"\u2190","Leftarrow":"\u21d0","LeftArrowRightArrow":"\u21c6","leftarrowtail":"\u21a2","LeftCeiling":"\u2308","LeftDoubleBracket":"\u27e6","LeftDownTeeVector":"\u2961","LeftDownVectorBar":"\u2959","LeftDownVector":"\u21c3","LeftFloor":"\u230a","leftharpoondown":"\u21bd","leftharpoonup":"\u21bc","leftleftarrows":"\u21c7","leftrightarrow":"\u2194","LeftRightArrow":"\u2194","Leftrightarrow":"\u21d4","leftrightarrows":"\u21c6","leftrightharpoons":"\u21cb","leftrightsquigarrow":"\u21ad","LeftRightVector":"\u294e","LeftTeeArrow":"\u21a4","LeftTee":"\u22a3","LeftTeeVector":"\u295a","leftthreetimes":"\u22cb","LeftTriangleBar":"\u29cf","LeftTriangle":"\u22b2","LeftTriangleEqual":"\u22b4","LeftUpDownVector":"\u2951","LeftUpTeeVector":"\u2960","LeftUpVectorBar":"\u2958","LeftUpVector":"\u21bf","LeftVectorBar":"\u2952","LeftVector":"\u21bc","lEg":"\u2a8b","leg":"\u22da","leq":"\u2264","leqq":"\u2266","leqslant":"\u2a7d","lescc":"\u2aa8","les":"\u2a7d","lesdot":"\u2a7f","lesdoto":"\u2a81","lesdotor":"\u2a83","lesg":"\u22da\ufe00","lesges":"\u2a93","lessapprox":"\u2a85","lessdot":"\u22d6","lesseqgtr":"\u22da","lesseqqgtr":"\u2a8b","LessEqualGreater":"\u22da","LessFullEqual":"\u2266","LessGreater":"\u2276","lessgtr":"\u2276","LessLess":"\u2aa1","lesssim":"\u2272","LessSlantEqual":"\u2a7d","LessTilde":"\u2272","lfisht":"\u297c","lfloor":"\u230a","Lfr":"\ud835\udd0f","lfr":"\ud835\udd29","lg":"\u2276","lgE":"\u2a91","lHar":"\u2962","lhard":"\u21bd","lharu":"\u21bc","lharul":"\u296a","lhblk":"\u2584","LJcy":"\u0409","ljcy":"\u0459","llarr":"\u21c7","ll":"\u226a","Ll":"\u22d8","llcorner":"\u231e","Lleftarrow":"\u21da","llhard":"\u296b","lltri":"\u25fa","Lmidot":"\u013f","lmidot":"\u0140","lmoustache":"\u23b0","lmoust":"\u23b0","lnap":"\u2a89","lnapprox":"\u2a89","lne":"\u2a87","lnE":"\u2268","lneq":"\u2a87","lneqq":"\u2268","lnsim":"\u22e6","loang":"\u27ec","loarr":"\u21fd","lobrk":"\u27e6","longleftarrow":"\u27f5","LongLeftArrow":"\u27f5","Longleftarrow":"\u27f8","longleftrightarrow":"\u27f7","LongLeftRightArrow":"\u27f7","Longleftrightarrow":"\u27fa","longmapsto":"\u27fc","longrightarrow":"\u27f6","LongRightArrow":"\u27f6","Longrightarrow":"\u27f9","looparrowleft":"\u21ab","looparrowright":"\u21ac","lopar":"\u2985","Lopf":"\ud835\udd43","lopf":"\ud835\udd5d","loplus":"\u2a2d","lotimes":"\u2a34","lowast":"\u2217","lowbar":"_","LowerLeftArrow":"\u2199","LowerRightArrow":"\u2198","loz":"\u25ca","lozenge":"\u25ca","lozf":"\u29eb","lpar":"(","lparlt":"\u2993","lrarr":"\u21c6","lrcorner":"\u231f","lrhar":"\u21cb","lrhard":"\u296d","lrm":"\u200e","lrtri":"\u22bf","lsaquo":"\u2039","lscr":"\ud835\udcc1","Lscr":"\u2112","lsh":"\u21b0","Lsh":"\u21b0","lsim":"\u2272","lsime":"\u2a8d","lsimg":"\u2a8f","lsqb":"[","lsquo":"\u2018","lsquor":"\u201a","Lstrok":"\u0141","lstrok":"\u0142","ltcc":"\u2aa6","ltcir":"\u2a79","lt":"<","LT":"<","Lt":"\u226a","ltdot":"\u22d6","lthree":"\u22cb","ltimes":"\u22c9","ltlarr":"\u2976","ltquest":"\u2a7b","ltri":"\u25c3","ltrie":"\u22b4","ltrif":"\u25c2","ltrPar":"\u2996","lurdshar":"\u294a","luruhar":"\u2966","lvertneqq":"\u2268\ufe00","lvnE":"\u2268\ufe00","macr":"\xaf","male":"\u2642","malt":"\u2720","maltese":"\u2720","Map":"\u2905","map":"\u21a6","mapsto":"\u21a6","mapstodown":"\u21a7","mapstoleft":"\u21a4","mapstoup":"\u21a5","marker":"\u25ae","mcomma":"\u2a29","Mcy":"\u041c","mcy":"\u043c","mdash":"\u2014","mDDot":"\u223a","measuredangle":"\u2221","MediumSpace":"\u205f","Mellintrf":"\u2133","Mfr":"\ud835\udd10","mfr":"\ud835\udd2a","mho":"\u2127","micro":"\xb5","midast":"*","midcir":"\u2af0","mid":"\u2223","middot":"\xb7","minusb":"\u229f","minus":"\u2212","minusd":"\u2238","minusdu":"\u2a2a","MinusPlus":"\u2213","mlcp":"\u2adb","mldr":"\u2026","mnplus":"\u2213","models":"\u22a7","Mopf":"\ud835\udd44","mopf":"\ud835\udd5e","mp":"\u2213","mscr":"\ud835\udcc2","Mscr":"\u2133","mstpos":"\u223e","Mu":"\u039c","mu":"\u03bc","multimap":"\u22b8","mumap":"\u22b8","nabla":"\u2207","Nacute":"\u0143","nacute":"\u0144","nang":"\u2220\u20d2","nap":"\u2249","napE":"\u2a70\u0338","napid":"\u224b\u0338","napos":"\u0149","napprox":"\u2249","natural":"\u266e","naturals":"\u2115","natur":"\u266e","nbsp":"\xa0","nbump":"\u224e\u0338","nbumpe":"\u224f\u0338","ncap":"\u2a43","Ncaron":"\u0147","ncaron":"\u0148","Ncedil":"\u0145","ncedil":"\u0146","ncong":"\u2247","ncongdot":"\u2a6d\u0338","ncup":"\u2a42","Ncy":"\u041d","ncy":"\u043d","ndash":"\u2013","nearhk":"\u2924","nearr":"\u2197","neArr":"\u21d7","nearrow":"\u2197","ne":"\u2260","nedot":"\u2250\u0338","NegativeMediumSpace":"\u200b","NegativeThickSpace":"\u200b","NegativeThinSpace":"\u200b","NegativeVeryThinSpace":"\u200b","nequiv":"\u2262","nesear":"\u2928","nesim":"\u2242\u0338","NestedGreaterGreater":"\u226b","NestedLessLess":"\u226a","NewLine":"\\n","nexist":"\u2204","nexists":"\u2204","Nfr":"\ud835\udd11","nfr":"\ud835\udd2b","ngE":"\u2267\u0338","nge":"\u2271","ngeq":"\u2271","ngeqq":"\u2267\u0338","ngeqslant":"\u2a7e\u0338","nges":"\u2a7e\u0338","nGg":"\u22d9\u0338","ngsim":"\u2275","nGt":"\u226b\u20d2","ngt":"\u226f","ngtr":"\u226f","nGtv":"\u226b\u0338","nharr":"\u21ae","nhArr":"\u21ce","nhpar":"\u2af2","ni":"\u220b","nis":"\u22fc","nisd":"\u22fa","niv":"\u220b","NJcy":"\u040a","njcy":"\u045a","nlarr":"\u219a","nlArr":"\u21cd","nldr":"\u2025","nlE":"\u2266\u0338","nle":"\u2270","nleftarrow":"\u219a","nLeftarrow":"\u21cd","nleftrightarrow":"\u21ae","nLeftrightarrow":"\u21ce","nleq":"\u2270","nleqq":"\u2266\u0338","nleqslant":"\u2a7d\u0338","nles":"\u2a7d\u0338","nless":"\u226e","nLl":"\u22d8\u0338","nlsim":"\u2274","nLt":"\u226a\u20d2","nlt":"\u226e","nltri":"\u22ea","nltrie":"\u22ec","nLtv":"\u226a\u0338","nmid":"\u2224","NoBreak":"\u2060","NonBreakingSpace":"\xa0","nopf":"\ud835\udd5f","Nopf":"\u2115","Not":"\u2aec","not":"\xac","NotCongruent":"\u2262","NotCupCap":"\u226d","NotDoubleVerticalBar":"\u2226","NotElement":"\u2209","NotEqual":"\u2260","NotEqualTilde":"\u2242\u0338","NotExists":"\u2204","NotGreater":"\u226f","NotGreaterEqual":"\u2271","NotGreaterFullEqual":"\u2267\u0338","NotGreaterGreater":"\u226b\u0338","NotGreaterLess":"\u2279","NotGreaterSlantEqual":"\u2a7e\u0338","NotGreaterTilde":"\u2275","NotHumpDownHump":"\u224e\u0338","NotHumpEqual":"\u224f\u0338","notin":"\u2209","notindot":"\u22f5\u0338","notinE":"\u22f9\u0338","notinva":"\u2209","notinvb":"\u22f7","notinvc":"\u22f6","NotLeftTriangleBar":"\u29cf\u0338","NotLeftTriangle":"\u22ea","NotLeftTriangleEqual":"\u22ec","NotLess":"\u226e","NotLessEqual":"\u2270","NotLessGreater":"\u2278","NotLessLess":"\u226a\u0338","NotLessSlantEqual":"\u2a7d\u0338","NotLessTilde":"\u2274","NotNestedGreaterGreater":"\u2aa2\u0338","NotNestedLessLess":"\u2aa1\u0338","notni":"\u220c","notniva":"\u220c","notnivb":"\u22fe","notnivc":"\u22fd","NotPrecedes":"\u2280","NotPrecedesEqual":"\u2aaf\u0338","NotPrecedesSlantEqual":"\u22e0","NotReverseElement":"\u220c","NotRightTriangleBar":"\u29d0\u0338","NotRightTriangle":"\u22eb","NotRightTriangleEqual":"\u22ed","NotSquareSubset":"\u228f\u0338","NotSquareSubsetEqual":"\u22e2","NotSquareSuperset":"\u2290\u0338","NotSquareSupersetEqual":"\u22e3","NotSubset":"\u2282\u20d2","NotSubsetEqual":"\u2288","NotSucceeds":"\u2281","NotSucceedsEqual":"\u2ab0\u0338","NotSucceedsSlantEqual":"\u22e1","NotSucceedsTilde":"\u227f\u0338","NotSuperset":"\u2283\u20d2","NotSupersetEqual":"\u2289","NotTilde":"\u2241","NotTildeEqual":"\u2244","NotTildeFullEqual":"\u2247","NotTildeTilde":"\u2249","NotVerticalBar":"\u2224","nparallel":"\u2226","npar":"\u2226","nparsl":"\u2afd\u20e5","npart":"\u2202\u0338","npolint":"\u2a14","npr":"\u2280","nprcue":"\u22e0","nprec":"\u2280","npreceq":"\u2aaf\u0338","npre":"\u2aaf\u0338","nrarrc":"\u2933\u0338","nrarr":"\u219b","nrArr":"\u21cf","nrarrw":"\u219d\u0338","nrightarrow":"\u219b","nRightarrow":"\u21cf","nrtri":"\u22eb","nrtrie":"\u22ed","nsc":"\u2281","nsccue":"\u22e1","nsce":"\u2ab0\u0338","Nscr":"\ud835\udca9","nscr":"\ud835\udcc3","nshortmid":"\u2224","nshortparallel":"\u2226","nsim":"\u2241","nsime":"\u2244","nsimeq":"\u2244","nsmid":"\u2224","nspar":"\u2226","nsqsube":"\u22e2","nsqsupe":"\u22e3","nsub":"\u2284","nsubE":"\u2ac5\u0338","nsube":"\u2288","nsubset":"\u2282\u20d2","nsubseteq":"\u2288","nsubseteqq":"\u2ac5\u0338","nsucc":"\u2281","nsucceq":"\u2ab0\u0338","nsup":"\u2285","nsupE":"\u2ac6\u0338","nsupe":"\u2289","nsupset":"\u2283\u20d2","nsupseteq":"\u2289","nsupseteqq":"\u2ac6\u0338","ntgl":"\u2279","Ntilde":"\xd1","ntilde":"\xf1","ntlg":"\u2278","ntriangleleft":"\u22ea","ntrianglelefteq":"\u22ec","ntriangleright":"\u22eb","ntrianglerighteq":"\u22ed","Nu":"\u039d","nu":"\u03bd","num":"#","numero":"\u2116","numsp":"\u2007","nvap":"\u224d\u20d2","nvdash":"\u22ac","nvDash":"\u22ad","nVdash":"\u22ae","nVDash":"\u22af","nvge":"\u2265\u20d2","nvgt":">\u20d2","nvHarr":"\u2904","nvinfin":"\u29de","nvlArr":"\u2902","nvle":"\u2264\u20d2","nvlt":"<\u20d2","nvltrie":"\u22b4\u20d2","nvrArr":"\u2903","nvrtrie":"\u22b5\u20d2","nvsim":"\u223c\u20d2","nwarhk":"\u2923","nwarr":"\u2196","nwArr":"\u21d6","nwarrow":"\u2196","nwnear":"\u2927","Oacute":"\xd3","oacute":"\xf3","oast":"\u229b","Ocirc":"\xd4","ocirc":"\xf4","ocir":"\u229a","Ocy":"\u041e","ocy":"\u043e","odash":"\u229d","Odblac":"\u0150","odblac":"\u0151","odiv":"\u2a38","odot":"\u2299","odsold":"\u29bc","OElig":"\u0152","oelig":"\u0153","ofcir":"\u29bf","Ofr":"\ud835\udd12","ofr":"\ud835\udd2c","ogon":"\u02db","Ograve":"\xd2","ograve":"\xf2","ogt":"\u29c1","ohbar":"\u29b5","ohm":"\u03a9","oint":"\u222e","olarr":"\u21ba","olcir":"\u29be","olcross":"\u29bb","oline":"\u203e","olt":"\u29c0","Omacr":"\u014c","omacr":"\u014d","Omega":"\u03a9","omega":"\u03c9","Omicron":"\u039f","omicron":"\u03bf","omid":"\u29b6","ominus":"\u2296","Oopf":"\ud835\udd46","oopf":"\ud835\udd60","opar":"\u29b7","OpenCurlyDoubleQuote":"\u201c","OpenCurlyQuote":"\u2018","operp":"\u29b9","oplus":"\u2295","orarr":"\u21bb","Or":"\u2a54","or":"\u2228","ord":"\u2a5d","order":"\u2134","orderof":"\u2134","ordf":"\xaa","ordm":"\xba","origof":"\u22b6","oror":"\u2a56","orslope":"\u2a57","orv":"\u2a5b","oS":"\u24c8","Oscr":"\ud835\udcaa","oscr":"\u2134","Oslash":"\xd8","oslash":"\xf8","osol":"\u2298","Otilde":"\xd5","otilde":"\xf5","otimesas":"\u2a36","Otimes":"\u2a37","otimes":"\u2297","Ouml":"\xd6","ouml":"\xf6","ovbar":"\u233d","OverBar":"\u203e","OverBrace":"\u23de","OverBracket":"\u23b4","OverParenthesis":"\u23dc","para":"\xb6","parallel":"\u2225","par":"\u2225","parsim":"\u2af3","parsl":"\u2afd","part":"\u2202","PartialD":"\u2202","Pcy":"\u041f","pcy":"\u043f","percnt":"%","period":".","permil":"\u2030","perp":"\u22a5","pertenk":"\u2031","Pfr":"\ud835\udd13","pfr":"\ud835\udd2d","Phi":"\u03a6","phi":"\u03c6","phiv":"\u03d5","phmmat":"\u2133","phone":"\u260e","Pi":"\u03a0","pi":"\u03c0","pitchfork":"\u22d4","piv":"\u03d6","planck":"\u210f","planckh":"\u210e","plankv":"\u210f","plusacir":"\u2a23","plusb":"\u229e","pluscir":"\u2a22","plus":"+","plusdo":"\u2214","plusdu":"\u2a25","pluse":"\u2a72","PlusMinus":"\xb1","plusmn":"\xb1","plussim":"\u2a26","plustwo":"\u2a27","pm":"\xb1","Poincareplane":"\u210c","pointint":"\u2a15","popf":"\ud835\udd61","Popf":"\u2119","pound":"\xa3","prap":"\u2ab7","Pr":"\u2abb","pr":"\u227a","prcue":"\u227c","precapprox":"\u2ab7","prec":"\u227a","preccurlyeq":"\u227c","Precedes":"\u227a","PrecedesEqual":"\u2aaf","PrecedesSlantEqual":"\u227c","PrecedesTilde":"\u227e","preceq":"\u2aaf","precnapprox":"\u2ab9","precneqq":"\u2ab5","precnsim":"\u22e8","pre":"\u2aaf","prE":"\u2ab3","precsim":"\u227e","prime":"\u2032","Prime":"\u2033","primes":"\u2119","prnap":"\u2ab9","prnE":"\u2ab5","prnsim":"\u22e8","prod":"\u220f","Product":"\u220f","profalar":"\u232e","profline":"\u2312","profsurf":"\u2313","prop":"\u221d","Proportional":"\u221d","Proportion":"\u2237","propto":"\u221d","prsim":"\u227e","prurel":"\u22b0","Pscr":"\ud835\udcab","pscr":"\ud835\udcc5","Psi":"\u03a8","psi":"\u03c8","puncsp":"\u2008","Qfr":"\ud835\udd14","qfr":"\ud835\udd2e","qint":"\u2a0c","qopf":"\ud835\udd62","Qopf":"\u211a","qprime":"\u2057","Qscr":"\ud835\udcac","qscr":"\ud835\udcc6","quaternions":"\u210d","quatint":"\u2a16","quest":"?","questeq":"\u225f","quot":"\\"","QUOT":"\\"","rAarr":"\u21db","race":"\u223d\u0331","Racute":"\u0154","racute":"\u0155","radic":"\u221a","raemptyv":"\u29b3","rang":"\u27e9","Rang":"\u27eb","rangd":"\u2992","range":"\u29a5","rangle":"\u27e9","raquo":"\xbb","rarrap":"\u2975","rarrb":"\u21e5","rarrbfs":"\u2920","rarrc":"\u2933","rarr":"\u2192","Rarr":"\u21a0","rArr":"\u21d2","rarrfs":"\u291e","rarrhk":"\u21aa","rarrlp":"\u21ac","rarrpl":"\u2945","rarrsim":"\u2974","Rarrtl":"\u2916","rarrtl":"\u21a3","rarrw":"\u219d","ratail":"\u291a","rAtail":"\u291c","ratio":"\u2236","rationals":"\u211a","rbarr":"\u290d","rBarr":"\u290f","RBarr":"\u2910","rbbrk":"\u2773","rbrace":"}","rbrack":"]","rbrke":"\u298c","rbrksld":"\u298e","rbrkslu":"\u2990","Rcaron":"\u0158","rcaron":"\u0159","Rcedil":"\u0156","rcedil":"\u0157","rceil":"\u2309","rcub":"}","Rcy":"\u0420","rcy":"\u0440","rdca":"\u2937","rdldhar":"\u2969","rdquo":"\u201d","rdquor":"\u201d","rdsh":"\u21b3","real":"\u211c","realine":"\u211b","realpart":"\u211c","reals":"\u211d","Re":"\u211c","rect":"\u25ad","reg":"\xae","REG":"\xae","ReverseElement":"\u220b","ReverseEquilibrium":"\u21cb","ReverseUpEquilibrium":"\u296f","rfisht":"\u297d","rfloor":"\u230b","rfr":"\ud835\udd2f","Rfr":"\u211c","rHar":"\u2964","rhard":"\u21c1","rharu":"\u21c0","rharul":"\u296c","Rho":"\u03a1","rho":"\u03c1","rhov":"\u03f1","RightAngleBracket":"\u27e9","RightArrowBar":"\u21e5","rightarrow":"\u2192","RightArrow":"\u2192","Rightarrow":"\u21d2","RightArrowLeftArrow":"\u21c4","rightarrowtail":"\u21a3","RightCeiling":"\u2309","RightDoubleBracket":"\u27e7","RightDownTeeVector":"\u295d","RightDownVectorBar":"\u2955","RightDownVector":"\u21c2","RightFloor":"\u230b","rightharpoondown":"\u21c1","rightharpoonup":"\u21c0","rightleftarrows":"\u21c4","rightleftharpoons":"\u21cc","rightrightarrows":"\u21c9","rightsquigarrow":"\u219d","RightTeeArrow":"\u21a6","RightTee":"\u22a2","RightTeeVector":"\u295b","rightthreetimes":"\u22cc","RightTriangleBar":"\u29d0","RightTriangle":"\u22b3","RightTriangleEqual":"\u22b5","RightUpDownVector":"\u294f","RightUpTeeVector":"\u295c","RightUpVectorBar":"\u2954","RightUpVector":"\u21be","RightVectorBar":"\u2953","RightVector":"\u21c0","ring":"\u02da","risingdotseq":"\u2253","rlarr":"\u21c4","rlhar":"\u21cc","rlm":"\u200f","rmoustache":"\u23b1","rmoust":"\u23b1","rnmid":"\u2aee","roang":"\u27ed","roarr":"\u21fe","robrk":"\u27e7","ropar":"\u2986","ropf":"\ud835\udd63","Ropf":"\u211d","roplus":"\u2a2e","rotimes":"\u2a35","RoundImplies":"\u2970","rpar":")","rpargt":"\u2994","rppolint":"\u2a12","rrarr":"\u21c9","Rrightarrow":"\u21db","rsaquo":"\u203a","rscr":"\ud835\udcc7","Rscr":"\u211b","rsh":"\u21b1","Rsh":"\u21b1","rsqb":"]","rsquo":"\u2019","rsquor":"\u2019","rthree":"\u22cc","rtimes":"\u22ca","rtri":"\u25b9","rtrie":"\u22b5","rtrif":"\u25b8","rtriltri":"\u29ce","RuleDelayed":"\u29f4","ruluhar":"\u2968","rx":"\u211e","Sacute":"\u015a","sacute":"\u015b","sbquo":"\u201a","scap":"\u2ab8","Scaron":"\u0160","scaron":"\u0161","Sc":"\u2abc","sc":"\u227b","sccue":"\u227d","sce":"\u2ab0","scE":"\u2ab4","Scedil":"\u015e","scedil":"\u015f","Scirc":"\u015c","scirc":"\u015d","scnap":"\u2aba","scnE":"\u2ab6","scnsim":"\u22e9","scpolint":"\u2a13","scsim":"\u227f","Scy":"\u0421","scy":"\u0441","sdotb":"\u22a1","sdot":"\u22c5","sdote":"\u2a66","searhk":"\u2925","searr":"\u2198","seArr":"\u21d8","searrow":"\u2198","sect":"\xa7","semi":";","seswar":"\u2929","setminus":"\u2216","setmn":"\u2216","sext":"\u2736","Sfr":"\ud835\udd16","sfr":"\ud835\udd30","sfrown":"\u2322","sharp":"\u266f","SHCHcy":"\u0429","shchcy":"\u0449","SHcy":"\u0428","shcy":"\u0448","ShortDownArrow":"\u2193","ShortLeftArrow":"\u2190","shortmid":"\u2223","shortparallel":"\u2225","ShortRightArrow":"\u2192","ShortUpArrow":"\u2191","shy":"\xad","Sigma":"\u03a3","sigma":"\u03c3","sigmaf":"\u03c2","sigmav":"\u03c2","sim":"\u223c","simdot":"\u2a6a","sime":"\u2243","simeq":"\u2243","simg":"\u2a9e","simgE":"\u2aa0","siml":"\u2a9d","simlE":"\u2a9f","simne":"\u2246","simplus":"\u2a24","simrarr":"\u2972","slarr":"\u2190","SmallCircle":"\u2218","smallsetminus":"\u2216","smashp":"\u2a33","smeparsl":"\u29e4","smid":"\u2223","smile":"\u2323","smt":"\u2aaa","smte":"\u2aac","smtes":"\u2aac\ufe00","SOFTcy":"\u042c","softcy":"\u044c","solbar":"\u233f","solb":"\u29c4","sol":"/","Sopf":"\ud835\udd4a","sopf":"\ud835\udd64","spades":"\u2660","spadesuit":"\u2660","spar":"\u2225","sqcap":"\u2293","sqcaps":"\u2293\ufe00","sqcup":"\u2294","sqcups":"\u2294\ufe00","Sqrt":"\u221a","sqsub":"\u228f","sqsube":"\u2291","sqsubset":"\u228f","sqsubseteq":"\u2291","sqsup":"\u2290","sqsupe":"\u2292","sqsupset":"\u2290","sqsupseteq":"\u2292","square":"\u25a1","Square":"\u25a1","SquareIntersection":"\u2293","SquareSubset":"\u228f","SquareSubsetEqual":"\u2291","SquareSuperset":"\u2290","SquareSupersetEqual":"\u2292","SquareUnion":"\u2294","squarf":"\u25aa","squ":"\u25a1","squf":"\u25aa","srarr":"\u2192","Sscr":"\ud835\udcae","sscr":"\ud835\udcc8","ssetmn":"\u2216","ssmile":"\u2323","sstarf":"\u22c6","Star":"\u22c6","star":"\u2606","starf":"\u2605","straightepsilon":"\u03f5","straightphi":"\u03d5","strns":"\xaf","sub":"\u2282","Sub":"\u22d0","subdot":"\u2abd","subE":"\u2ac5","sube":"\u2286","subedot":"\u2ac3","submult":"\u2ac1","subnE":"\u2acb","subne":"\u228a","subplus":"\u2abf","subrarr":"\u2979","subset":"\u2282","Subset":"\u22d0","subseteq":"\u2286","subseteqq":"\u2ac5","SubsetEqual":"\u2286","subsetneq":"\u228a","subsetneqq":"\u2acb","subsim":"\u2ac7","subsub":"\u2ad5","subsup":"\u2ad3","succapprox":"\u2ab8","succ":"\u227b","succcurlyeq":"\u227d","Succeeds":"\u227b","SucceedsEqual":"\u2ab0","SucceedsSlantEqual":"\u227d","SucceedsTilde":"\u227f","succeq":"\u2ab0","succnapprox":"\u2aba","succneqq":"\u2ab6","succnsim":"\u22e9","succsim":"\u227f","SuchThat":"\u220b","sum":"\u2211","Sum":"\u2211","sung":"\u266a","sup1":"\xb9","sup2":"\xb2","sup3":"\xb3","sup":"\u2283","Sup":"\u22d1","supdot":"\u2abe","supdsub":"\u2ad8","supE":"\u2ac6","supe":"\u2287","supedot":"\u2ac4","Superset":"\u2283","SupersetEqual":"\u2287","suphsol":"\u27c9","suphsub":"\u2ad7","suplarr":"\u297b","supmult":"\u2ac2","supnE":"\u2acc","supne":"\u228b","supplus":"\u2ac0","supset":"\u2283","Supset":"\u22d1","supseteq":"\u2287","supseteqq":"\u2ac6","supsetneq":"\u228b","supsetneqq":"\u2acc","supsim":"\u2ac8","supsub":"\u2ad4","supsup":"\u2ad6","swarhk":"\u2926","swarr":"\u2199","swArr":"\u21d9","swarrow":"\u2199","swnwar":"\u292a","szlig":"\xdf","Tab":"\\t","target":"\u2316","Tau":"\u03a4","tau":"\u03c4","tbrk":"\u23b4","Tcaron":"\u0164","tcaron":"\u0165","Tcedil":"\u0162","tcedil":"\u0163","Tcy":"\u0422","tcy":"\u0442","tdot":"\u20db","telrec":"\u2315","Tfr":"\ud835\udd17","tfr":"\ud835\udd31","there4":"\u2234","therefore":"\u2234","Therefore":"\u2234","Theta":"\u0398","theta":"\u03b8","thetasym":"\u03d1","thetav":"\u03d1","thickapprox":"\u2248","thicksim":"\u223c","ThickSpace":"\u205f\u200a","ThinSpace":"\u2009","thinsp":"\u2009","thkap":"\u2248","thksim":"\u223c","THORN":"\xde","thorn":"\xfe","tilde":"\u02dc","Tilde":"\u223c","TildeEqual":"\u2243","TildeFullEqual":"\u2245","TildeTilde":"\u2248","timesbar":"\u2a31","timesb":"\u22a0","times":"\xd7","timesd":"\u2a30","tint":"\u222d","toea":"\u2928","topbot":"\u2336","topcir":"\u2af1","top":"\u22a4","Topf":"\ud835\udd4b","topf":"\ud835\udd65","topfork":"\u2ada","tosa":"\u2929","tprime":"\u2034","trade":"\u2122","TRADE":"\u2122","triangle":"\u25b5","triangledown":"\u25bf","triangleleft":"\u25c3","trianglelefteq":"\u22b4","triangleq":"\u225c","triangleright":"\u25b9","trianglerighteq":"\u22b5","tridot":"\u25ec","trie":"\u225c","triminus":"\u2a3a","TripleDot":"\u20db","triplus":"\u2a39","trisb":"\u29cd","tritime":"\u2a3b","trpezium":"\u23e2","Tscr":"\ud835\udcaf","tscr":"\ud835\udcc9","TScy":"\u0426","tscy":"\u0446","TSHcy":"\u040b","tshcy":"\u045b","Tstrok":"\u0166","tstrok":"\u0167","twixt":"\u226c","twoheadleftarrow":"\u219e","twoheadrightarrow":"\u21a0","Uacute":"\xda","uacute":"\xfa","uarr":"\u2191","Uarr":"\u219f","uArr":"\u21d1","Uarrocir":"\u2949","Ubrcy":"\u040e","ubrcy":"\u045e","Ubreve":"\u016c","ubreve":"\u016d","Ucirc":"\xdb","ucirc":"\xfb","Ucy":"\u0423","ucy":"\u0443","udarr":"\u21c5","Udblac":"\u0170","udblac":"\u0171","udhar":"\u296e","ufisht":"\u297e","Ufr":"\ud835\udd18","ufr":"\ud835\udd32","Ugrave":"\xd9","ugrave":"\xf9","uHar":"\u2963","uharl":"\u21bf","uharr":"\u21be","uhblk":"\u2580","ulcorn":"\u231c","ulcorner":"\u231c","ulcrop":"\u230f","ultri":"\u25f8","Umacr":"\u016a","umacr":"\u016b","uml":"\xa8","UnderBar":"_","UnderBrace":"\u23df","UnderBracket":"\u23b5","UnderParenthesis":"\u23dd","Union":"\u22c3","UnionPlus":"\u228e","Uogon":"\u0172","uogon":"\u0173","Uopf":"\ud835\udd4c","uopf":"\ud835\udd66","UpArrowBar":"\u2912","uparrow":"\u2191","UpArrow":"\u2191","Uparrow":"\u21d1","UpArrowDownArrow":"\u21c5","updownarrow":"\u2195","UpDownArrow":"\u2195","Updownarrow":"\u21d5","UpEquilibrium":"\u296e","upharpoonleft":"\u21bf","upharpoonright":"\u21be","uplus":"\u228e","UpperLeftArrow":"\u2196","UpperRightArrow":"\u2197","upsi":"\u03c5","Upsi":"\u03d2","upsih":"\u03d2","Upsilon":"\u03a5","upsilon":"\u03c5","UpTeeArrow":"\u21a5","UpTee":"\u22a5","upuparrows":"\u21c8","urcorn":"\u231d","urcorner":"\u231d","urcrop":"\u230e","Uring":"\u016e","uring":"\u016f","urtri":"\u25f9","Uscr":"\ud835\udcb0","uscr":"\ud835\udcca","utdot":"\u22f0","Utilde":"\u0168","utilde":"\u0169","utri":"\u25b5","utrif":"\u25b4","uuarr":"\u21c8","Uuml":"\xdc","uuml":"\xfc","uwangle":"\u29a7","vangrt":"\u299c","varepsilon":"\u03f5","varkappa":"\u03f0","varnothing":"\u2205","varphi":"\u03d5","varpi":"\u03d6","varpropto":"\u221d","varr":"\u2195","vArr":"\u21d5","varrho":"\u03f1","varsigma":"\u03c2","varsubsetneq":"\u228a\ufe00","varsubsetneqq":"\u2acb\ufe00","varsupsetneq":"\u228b\ufe00","varsupsetneqq":"\u2acc\ufe00","vartheta":"\u03d1","vartriangleleft":"\u22b2","vartriangleright":"\u22b3","vBar":"\u2ae8","Vbar":"\u2aeb","vBarv":"\u2ae9","Vcy":"\u0412","vcy":"\u0432","vdash":"\u22a2","vDash":"\u22a8","Vdash":"\u22a9","VDash":"\u22ab","Vdashl":"\u2ae6","veebar":"\u22bb","vee":"\u2228","Vee":"\u22c1","veeeq":"\u225a","vellip":"\u22ee","verbar":"|","Verbar":"\u2016","vert":"|","Vert":"\u2016","VerticalBar":"\u2223","VerticalLine":"|","VerticalSeparator":"\u2758","VerticalTilde":"\u2240","VeryThinSpace":"\u200a","Vfr":"\ud835\udd19","vfr":"\ud835\udd33","vltri":"\u22b2","vnsub":"\u2282\u20d2","vnsup":"\u2283\u20d2","Vopf":"\ud835\udd4d","vopf":"\ud835\udd67","vprop":"\u221d","vrtri":"\u22b3","Vscr":"\ud835\udcb1","vscr":"\ud835\udccb","vsubnE":"\u2acb\ufe00","vsubne":"\u228a\ufe00","vsupnE":"\u2acc\ufe00","vsupne":"\u228b\ufe00","Vvdash":"\u22aa","vzigzag":"\u299a","Wcirc":"\u0174","wcirc":"\u0175","wedbar":"\u2a5f","wedge":"\u2227","Wedge":"\u22c0","wedgeq":"\u2259","weierp":"\u2118","Wfr":"\ud835\udd1a","wfr":"\ud835\udd34","Wopf":"\ud835\udd4e","wopf":"\ud835\udd68","wp":"\u2118","wr":"\u2240","wreath":"\u2240","Wscr":"\ud835\udcb2","wscr":"\ud835\udccc","xcap":"\u22c2","xcirc":"\u25ef","xcup":"\u22c3","xdtri":"\u25bd","Xfr":"\ud835\udd1b","xfr":"\ud835\udd35","xharr":"\u27f7","xhArr":"\u27fa","Xi":"\u039e","xi":"\u03be","xlarr":"\u27f5","xlArr":"\u27f8","xmap":"\u27fc","xnis":"\u22fb","xodot":"\u2a00","Xopf":"\ud835\udd4f","xopf":"\ud835\udd69","xoplus":"\u2a01","xotime":"\u2a02","xrarr":"\u27f6","xrArr":"\u27f9","Xscr":"\ud835\udcb3","xscr":"\ud835\udccd","xsqcup":"\u2a06","xuplus":"\u2a04","xutri":"\u25b3","xvee":"\u22c1","xwedge":"\u22c0","Yacute":"\xdd","yacute":"\xfd","YAcy":"\u042f","yacy":"\u044f","Ycirc":"\u0176","ycirc":"\u0177","Ycy":"\u042b","ycy":"\u044b","yen":"\xa5","Yfr":"\ud835\udd1c","yfr":"\ud835\udd36","YIcy":"\u0407","yicy":"\u0457","Yopf":"\ud835\udd50","yopf":"\ud835\udd6a","Yscr":"\ud835\udcb4","yscr":"\ud835\udcce","YUcy":"\u042e","yucy":"\u044e","yuml":"\xff","Yuml":"\u0178","Zacute":"\u0179","zacute":"\u017a","Zcaron":"\u017d","zcaron":"\u017e","Zcy":"\u0417","zcy":"\u0437","Zdot":"\u017b","zdot":"\u017c","zeetrf":"\u2128","ZeroWidthSpace":"\u200b","Zeta":"\u0396","zeta":"\u03b6","zfr":"\ud835\udd37","Zfr":"\u2128","ZHcy":"\u0416","zhcy":"\u0436","zigrarr":"\u21dd","zopf":"\ud835\udd6b","Zopf":"\u2124","Zscr":"\ud835\udcb5","zscr":"\ud835\udccf","zwj":"\u200d","zwnj":"\u200c"}')}}]); \ No newline at end of file diff --git a/static/admin/_next/static/chunks/6132-187b2bf3e1265f44.js b/static/admin/_next/static/chunks/6132-187b2bf3e1265f44.js deleted file mode 100644 index ce939f459..000000000 --- a/static/admin/_next/static/chunks/6132-187b2bf3e1265f44.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6132],{85368:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"}},16976:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"}},25330:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"}},67303:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"}},77384:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"}},79203:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"}},83647:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"}},57583:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"}},29260:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z"}}]},name:"enter",theme:"outlined"}},78515:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"}},34950:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"}},15369:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"}},20702:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"}},25828:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"}},37431:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(95183))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},67996:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(48138))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},71961:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(79686))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},42547:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(86266))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},74337:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(92018))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},40753:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(83482))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},69427:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(52655))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},10775:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(58452))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},39398:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(73764))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},42461:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(77998))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},67039:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(3855))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},94354:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(46564))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},93201:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(34106))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},628:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=(n=r(4851))&&n.__esModule?n:{default:n};t.default=a,e.exports=a},99906:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1413),a=r(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M148.2 674.6zm106.7-92.3c-25 25-38.7 58.1-38.7 93.4s13.8 68.5 38.7 93.4c25 25 58.1 38.7 93.4 38.7 35.3 0 68.5-13.8 93.4-38.7l59.4-59.4-186.8-186.8-59.4 59.4zm420.8-366.1c-35.3 0-68.5 13.8-93.4 38.7l-59.4 59.4 186.8 186.8 59.4-59.4c24.9-25 38.7-58.1 38.7-93.4s-13.8-68.5-38.7-93.4c-25-25-58.1-38.7-93.4-38.7z",fill:t}},{tag:"path",attrs:{d:"M578.9 546.7a8.03 8.03 0 00-11.3 0L501 613.3 410.7 523l66.7-66.7c3.1-3.1 3.1-8.2 0-11.3L441 408.6a8.03 8.03 0 00-11.3 0L363 475.3l-43-43a7.85 7.85 0 00-5.7-2.3c-2 0-4.1.8-5.7 2.3L206.8 534.2a199.45 199.45 0 00-58.6 140.4c-.2 39.5 11.2 79.1 34.3 113.1l-76.1 76.1a8.03 8.03 0 000 11.3l42.4 42.4c1.6 1.6 3.6 2.3 5.7 2.3s4.1-.8 5.7-2.3l76.1-76.1c33.7 22.9 72.9 34.3 112.1 34.3 51.2 0 102.4-19.5 141.5-58.6l101.9-101.9c3.1-3.1 3.1-8.2 0-11.3l-43-43 66.7-66.7c3.1-3.1 3.1-8.2 0-11.3l-36.6-36.2zM441.7 769.1a131.32 131.32 0 01-93.4 38.7c-35.3 0-68.4-13.7-93.4-38.7-24.9-24.9-38.7-58.1-38.7-93.4s13.7-68.4 38.7-93.4l59.4-59.4 186.8 186.8-59.4 59.4zm476-620.3l-42.4-42.4c-1.6-1.6-3.6-2.3-5.7-2.3s-4.1.8-5.7 2.3l-76.1 76.1a199.27 199.27 0 00-112.1-34.3c-51.2 0-102.4 19.5-141.5 58.6L432.3 308.7a8.03 8.03 0 000 11.3L704 591.7c1.6 1.6 3.6 2.3 5.7 2.3 2 0 4.1-.8 5.7-2.3l101.9-101.9c68.9-69 77-175.7 24.3-253.5l76.1-76.1c3.1-3.2 3.1-8.3 0-11.4zM769.1 441.7l-59.4 59.4-186.8-186.8 59.4-59.4c24.9-24.9 58.1-38.7 93.4-38.7s68.4 13.7 93.4 38.7c24.9 24.9 38.7 58.1 38.7 93.4s-13.8 68.4-38.7 93.4z",fill:e}}]}},name:"api",theme:"twotone"},l=r(42135),c=function(e,t){return a.createElement(l.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};c.displayName="ApiTwoTone";var i=a.forwardRef(c)},80869:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1413),a=r(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308zm484 172v96c0 6.5-.22 12.95-.66 19.35C859.94 728.64 908 796.7 908 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-44.24-23.94-82.89-59.57-103.7a278.63 278.63 0 01-22.66 49.02 281.39 281.39 0 01-100.45 100.45C611.84 946.07 563.55 960 512 960s-99.84-13.93-141.32-38.23a281.39 281.39 0 01-100.45-100.45 278.63 278.63 0 01-22.66-49.02A119.95 119.95 0 00188 876a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-79.3 48.07-147.36 116.66-176.65A284.12 284.12 0 01232 680v-96H84a8 8 0 01-8-8v-56a8 8 0 018-8h148V412c-76.77 0-139-62.23-139-139a8 8 0 018-8h60a8 8 0 018 8 63 63 0 0063 63h560a63 63 0 0063-63 8 8 0 018-8h60a8 8 0 018 8c0 76.77-62.23 139-139 139v100h148a8 8 0 018 8v56a8 8 0 01-8 8H792zM368 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-40.04 8.78-76.75 25.9-108.07a184.57 184.57 0 0174.03-74.03C427.25 72.78 463.96 64 504 64h16c40.04 0 76.75 8.78 108.07 25.9a184.57 184.57 0 0174.03 74.03C719.22 195.25 728 231.96 728 272a8 8 0 01-8 8h-56a8 8 0 01-8-8c0-28.33-5.94-53.15-17.08-73.53a112.56 112.56 0 00-45.39-45.4C573.15 141.95 548.33 136 520 136h-16c-28.33 0-53.15 5.94-73.53 17.08a112.56 112.56 0 00-45.4 45.39C373.95 218.85 368 243.67 368 272z",fill:e}},{tag:"path",attrs:{d:"M308 412v268c0 36.78 9.68 71.96 27.8 102.9a205.39 205.39 0 0073.3 73.3A202.68 202.68 0 00512 884c36.78 0 71.96-9.68 102.9-27.8a205.39 205.39 0 0073.3-73.3A202.68 202.68 0 00716 680V412H308z",fill:t}}]}},name:"bug",theme:"twotone"},l=r(42135),c=function(e,t){return a.createElement(l.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};c.displayName="BugTwoTone";var i=a.forwardRef(c)},38958:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1413),a=r(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M864 320H677.2l-17.1-47.8-22.9-64.2H386.7l-22.9 64.2-17.1 47.8H160c-4.4 0-8 3.6-8 8v456c0 4.4 3.6 8 8 8h704c4.4 0 8-3.6 8-8V328c0-4.4-3.6-8-8-8zM512 704c-88.4 0-160-71.6-160-160s71.6-160 160-160 160 71.6 160 160-71.6 160-160 160z",fill:t}},{tag:"path",attrs:{d:"M512 384c-88.4 0-160 71.6-160 160s71.6 160 160 160 160-71.6 160-160-71.6-160-160-160zm0 256c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96z",fill:e}},{tag:"path",attrs:{d:"M864 248H728l-32.4-90.8a32.07 32.07 0 00-30.2-21.2H358.6c-13.5 0-25.6 8.5-30.1 21.2L296 248H160c-44.2 0-80 35.8-80 80v456c0 44.2 35.8 80 80 80h704c44.2 0 80-35.8 80-80V328c0-44.2-35.8-80-80-80zm8 536c0 4.4-3.6 8-8 8H160c-4.4 0-8-3.6-8-8V328c0-4.4 3.6-8 8-8h186.7l17.1-47.8 22.9-64.2h250.5l22.9 64.2 17.1 47.8H864c4.4 0 8 3.6 8 8v456z",fill:e}}]}},name:"camera",theme:"twotone"},l=r(42135),c=function(e,t){return a.createElement(l.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};c.displayName="CameraTwoTone";var i=a.forwardRef(c)},30925:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1413),a=r(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M232 616h560V408H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 888h560V680H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40zM232 344h560V136H232v208zm112-144c22.1 0 40 17.9 40 40s-17.9 40-40 40-40-17.9-40-40 17.9-40 40-40z",fill:t}},{tag:"path",attrs:{d:"M304 512a40 40 0 1080 0 40 40 0 10-80 0zm0 272a40 40 0 1080 0 40 40 0 10-80 0zm0-544a40 40 0 1080 0 40 40 0 10-80 0z",fill:e}},{tag:"path",attrs:{d:"M832 64H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32zm-40 824H232V680h560v208zm0-272H232V408h560v208zm0-272H232V136h560v208z",fill:e}}]}},name:"database",theme:"twotone"},l=r(42135),c=function(e,t){return a.createElement(l.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};c.displayName="DatabaseTwoTone";var i=a.forwardRef(c)},65987:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1413),a=r(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M761.1 288.3L687.8 215 325.1 577.6l-15.6 89 88.9-15.7z",fill:t}},{tag:"path",attrs:{d:"M880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32zm-622.3-84c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89z",fill:e}}]}},name:"edit",theme:"twotone"},l=r(42135),c=function(e,t){return a.createElement(l.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};c.displayName="EditTwoTone";var i=a.forwardRef(c)},17502:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1413),a=r(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M145 96l66 746.6L511.8 928l299.6-85.4L878.7 96H145zm610.9 700.6l-244.1 69.6-245.2-69.6-56.7-641.2h603.8l-57.8 641.2z",fill:e}},{tag:"path",attrs:{d:"M209.9 155.4l56.7 641.2 245.2 69.6 244.1-69.6 57.8-641.2H209.9zm530.4 117.9l-4.8 47.2-1.7 19.5H381.7l8.2 94.2H511v-.2h214.7l-3.2 24.3-21.2 242.2-1.7 16.3-187.7 51.7v.4h-1.7l-188.6-52-11.3-144.7h91l6.5 73.2 102.4 27.7h.8v-.2l102.4-27.7 11.4-118.5H511.9v.1H305.4l-22.7-253.5L281 249h461l-1.7 24.3z",fill:t}},{tag:"path",attrs:{d:"M281 249l1.7 24.3 22.7 253.5h206.5v-.1h112.9l-11.4 118.5L511 672.9v.2h-.8l-102.4-27.7-6.5-73.2h-91l11.3 144.7 188.6 52h1.7v-.4l187.7-51.7 1.7-16.3 21.2-242.2 3.2-24.3H511v.2H389.9l-8.2-94.2h352.1l1.7-19.5 4.8-47.2L742 249H511z",fill:e}}]}},name:"html5",theme:"twotone"},l=r(42135),c=function(e,t){return a.createElement(l.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};c.displayName="Html5TwoTone";var i=a.forwardRef(c)},29158:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1413),a=r(67294),o={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M574 665.4a8.03 8.03 0 00-11.3 0L446.5 781.6c-53.8 53.8-144.6 59.5-204 0-59.5-59.5-53.8-150.2 0-204l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3l-39.8-39.8a8.03 8.03 0 00-11.3 0L191.4 526.5c-84.6 84.6-84.6 221.5 0 306s221.5 84.6 306 0l116.2-116.2c3.1-3.1 3.1-8.2 0-11.3L574 665.4zm258.6-474c-84.6-84.6-221.5-84.6-306 0L410.3 307.6a8.03 8.03 0 000 11.3l39.7 39.7c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c53.8-53.8 144.6-59.5 204 0 59.5 59.5 53.8 150.2 0 204L665.3 562.6a8.03 8.03 0 000 11.3l39.8 39.8c3.1 3.1 8.2 3.1 11.3 0l116.2-116.2c84.5-84.6 84.5-221.5 0-306.1zM610.1 372.3a8.03 8.03 0 00-11.3 0L372.3 598.7a8.03 8.03 0 000 11.3l39.6 39.6c3.1 3.1 8.2 3.1 11.3 0l226.4-226.4c3.1-3.1 3.1-8.2 0-11.3l-39.5-39.6z"}}]},name:"link",theme:"outlined"},l=r(42135),c=function(e,t){return a.createElement(l.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};c.displayName="LinkOutlined";var i=a.forwardRef(c)},43439:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1413),a=r(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z",fill:e}},{tag:"path",attrs:{d:"M512 140c-205.4 0-372 166.6-372 372s166.6 372 372 372 372-166.6 372-372-166.6-372-372-372zm0 632c-22.1 0-40-17.9-40-40s17.9-40 40-40 40 17.9 40 40-17.9 40-40 40zm62.9-219.5a48.3 48.3 0 00-30.9 44.8V620c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-21.5c0-23.1 6.7-45.9 19.9-64.9 12.9-18.6 30.9-32.8 52.1-40.9 34-13.1 56-41.6 56-72.7 0-44.1-43.1-80-96-80s-96 35.9-96 80v7.6c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V420c0-39.3 17.2-76 48.4-103.3C430.4 290.4 470 276 512 276s81.6 14.5 111.6 40.7C654.8 344 672 380.7 672 420c0 57.8-38.1 109.8-97.1 132.5z",fill:t}},{tag:"path",attrs:{d:"M472 732a40 40 0 1080 0 40 40 0 10-80 0zm151.6-415.3C593.6 290.5 554 276 512 276s-81.6 14.4-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.2 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5 0-39.3-17.2-76-48.4-103.3z",fill:e}}]}},name:"question-circle",theme:"twotone"},l=r(42135),c=function(e,t){return a.createElement(l.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};c.displayName="QuestionCircleTwoTone";var i=a.forwardRef(c)},90543:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1413),a=r(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M859.3 569.7l.2.1c3.1-18.9 4.6-38.2 4.6-57.3 0-17.1-1.3-34.3-3.7-51.1 2.4 16.7 3.6 33.6 3.6 50.5 0 19.4-1.6 38.8-4.7 57.8zM99 398.1c-.5-.4-.9-.8-1.4-1.3.7.7 1.4 1.4 2.2 2.1l65.5 55.9v-.1L99 398.1zm536.6-216h.1l-15.5-83.8c-.2-1-.4-1.9-.7-2.8.1.5.3 1.1.4 1.6l15.7 85zm54 546.5l31.4-25.8 92.8 32.9c17-22.9 31.3-47.5 42.6-73.6l-74.7-63.9 6.6-40.1c2.5-15.1 3.8-30.6 3.8-46.1s-1.3-31-3.8-46.1l-6.5-39.9 74.7-63.9c-11.4-26-25.6-50.7-42.6-73.6l-92.8 32.9-31.4-25.8c-23.9-19.6-50.6-35-79.3-45.8l-38.1-14.3-17.9-97a377.5 377.5 0 00-85 0l-17.9 97.2-37.9 14.3c-28.5 10.8-55 26.2-78.7 45.7l-31.4 25.9-93.4-33.2c-17 22.9-31.3 47.5-42.6 73.6l75.5 64.5-6.5 40c-2.5 14.9-3.7 30.2-3.7 45.5 0 15.2 1.3 30.6 3.7 45.5l6.5 40-75.5 64.5c11.4 26 25.6 50.7 42.6 73.6l93.4-33.2 31.4 25.9c23.7 19.5 50.2 34.9 78.7 45.7l37.8 14.5 17.9 97.2c28.2 3.2 56.9 3.2 85 0l17.9-97 38.1-14.3c28.8-10.8 55.4-26.2 79.3-45.8zm-177.1-50.3c-30.5 0-59.2-7.8-84.3-21.5C373.3 627 336 568.9 336 502c0-97.2 78.8-176 176-176 66.9 0 125 37.3 154.8 92.2 13.7 25 21.5 53.7 21.5 84.3 0 97.1-78.7 175.8-175.8 175.8zM207.2 812.8c-5.5 1.9-11.2 2.3-16.6 1.2 5.7 1.2 11.7 1 17.5-1l81.4-29c-.1-.1-.3-.2-.4-.3l-81.9 29.1zm717.6-414.7l-65.5 56c0 .2.1.5.1.7l65.4-55.9c7.1-6.1 11.1-14.9 11.2-24-.3 8.8-4.3 17.3-11.2 23.2z",fill:t}},{tag:"path",attrs:{d:"M935.8 646.6c.5 4.7 0 9.5-1.7 14.1l-.9 2.6a446.02 446.02 0 01-79.7 137.9l-1.8 2.1a32 32 0 01-35.1 9.5l-81.3-28.9a350 350 0 01-99.7 57.6l-15.7 85a32.05 32.05 0 01-25.8 25.7l-2.7.5a445.2 445.2 0 01-79.2 7.1h.3c26.7 0 53.4-2.4 79.4-7.1l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-84.9c36.2-13.6 69.6-32.9 99.6-57.5l81.2 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.5-87.4 79.6-137.7l.9-2.6c1.6-4.7 2.1-9.7 1.5-14.5z",fill:t}},{tag:"path",attrs:{d:"M688 502c0-30.3-7.7-58.9-21.2-83.8C637 363.3 578.9 326 512 326c-97.2 0-176 78.8-176 176 0 66.9 37.3 125 92.2 154.8 24.9 13.5 53.4 21.2 83.8 21.2 97.2 0 176-78.8 176-176zm-288 0c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502z",fill:e}},{tag:"path",attrs:{d:"M594.1 952.2a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c1.7-4.6 2.2-9.4 1.7-14.1-.9-7.9-4.7-15.4-11-20.9l-65.3-55.9-.2-.1c3.1-19 4.7-38.4 4.7-57.8 0-16.9-1.2-33.9-3.6-50.5-.3-2.2-.7-4.4-1-6.6 0-.2-.1-.5-.1-.7l65.5-56c6.9-5.9 10.9-14.4 11.2-23.2.1-4-.5-8.1-1.9-12l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.4-44-99.6-57.6h-.1l-15.7-85c-.1-.5-.2-1.1-.4-1.6a32.08 32.08 0 00-25.4-24.1l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6a32.09 32.09 0 007.9 33.9c.5.4.9.9 1.4 1.3l66.3 56.6v.1c-3.1 18.8-4.6 37.9-4.6 57 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1c4.9 5.7 11.4 9.4 18.5 10.7 5.4 1 11.1.7 16.6-1.2l81.9-29.1c.1.1.3.2.4.3 29.7 24.3 62.8 43.6 98.6 57.1l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5c26.1 4.7 52.8 7.1 79.5 7.1h.3c26.6 0 53.3-2.4 79.2-7.1l2.7-.5zm-39.8-66.5a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97z",fill:e}}]}},name:"setting",theme:"twotone"},l=r(42135),c=function(e,t){return a.createElement(l.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};c.displayName="SettingTwoTone";var i=a.forwardRef(c)},99767:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(1413),a=r(67294),o={icon:function(e,t){return{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M180 292h80v440h-80zm369 180h-74a3 3 0 00-3 3v74a3 3 0 003 3h74a3 3 0 003-3v-74a3 3 0 00-3-3zm215-108h80v296h-80z",fill:t}},{tag:"path",attrs:{d:"M904 296h-66v-96c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v96h-66c-4.4 0-8 3.6-8 8v416c0 4.4 3.6 8 8 8h66v96c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-96h66c4.4 0 8-3.6 8-8V304c0-4.4-3.6-8-8-8zm-60 364h-80V364h80v296zM612 404h-66V232c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v172h-66c-4.4 0-8 3.6-8 8v200c0 4.4 3.6 8 8 8h66v172c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8V620h66c4.4 0 8-3.6 8-8V412c0-4.4-3.6-8-8-8zm-60 145a3 3 0 01-3 3h-74a3 3 0 01-3-3v-74a3 3 0 013-3h74a3 3 0 013 3v74zM320 224h-66v-56c0-4.4-3.6-8-8-8h-52c-4.4 0-8 3.6-8 8v56h-66c-4.4 0-8 3.6-8 8v560c0 4.4 3.6 8 8 8h66v56c0 4.4 3.6 8 8 8h52c4.4 0 8-3.6 8-8v-56h66c4.4 0 8-3.6 8-8V232c0-4.4-3.6-8-8-8zm-60 508h-80V292h80v440z",fill:e}}]}},name:"sliders",theme:"twotone"},l=r(42135),c=function(e,t){return a.createElement(l.Z,(0,n.Z)((0,n.Z)({},e),{},{ref:t,icon:o}))};c.displayName="SlidersTwoTone";var i=a.forwardRef(c)},92074:function(e,t,r){"use strict";var n=r(95318),a=r(20862);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(81109)),l=n(r(63038)),c=n(r(59713)),i=n(r(6479)),u=a(r(67294)),s=n(r(94184)),f=n(r(98399)),d=n(r(95160)),p=r(46768),v=r(72479),m=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];(0,p.setTwoToneColor)("#1890ff");var h=u.forwardRef((function(e,t){var r,n=e.className,a=e.icon,p=e.spin,h=e.rotate,y=e.tabIndex,g=e.onClick,b=e.twoToneColor,M=(0,i.default)(e,m),E=u.useContext(f.default).prefixCls,C=void 0===E?"anticon":E,O=(0,s.default)(C,(r={},(0,c.default)(r,"".concat(C,"-").concat(a.name),!!a.name),(0,c.default)(r,"".concat(C,"-spin"),!!p||"loading"===a.name),r),n),w=y;void 0===w&&g&&(w=-1);var x=h?{msTransform:"rotate(".concat(h,"deg)"),transform:"rotate(".concat(h,"deg)")}:void 0,k=(0,v.normalizeTwoToneColors)(b),P=(0,l.default)(k,2),_=P[0],j=P[1];return u.createElement("span",(0,o.default)((0,o.default)({role:"img","aria-label":a.name},M),{},{ref:t,tabIndex:w,onClick:g,className:O}),u.createElement(d.default,{icon:a,primaryColor:_,secondaryColor:j,style:x}))}));h.displayName="AntdIcon",h.getTwoToneColor=p.getTwoToneColor,h.setTwoToneColor=p.setTwoToneColor;var y=h;t.default=y},98399:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(67294).createContext)({});t.default=n},95160:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r(6479)),o=n(r(81109)),l=r(72479),c=["icon","className","onClick","style","primaryColor","secondaryColor"],i={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var u=function(e){var t=e.icon,r=e.className,n=e.onClick,u=e.style,s=e.primaryColor,f=e.secondaryColor,d=(0,a.default)(e,c),p=i;if(s&&(p={primaryColor:s,secondaryColor:f||(0,l.getSecondaryColor)(s)}),(0,l.useInsertStyles)(),(0,l.warning)((0,l.isIconDefinition)(t),"icon should be icon definiton, but got ".concat(t)),!(0,l.isIconDefinition)(t))return null;var v=t;return v&&"function"===typeof v.icon&&(v=(0,o.default)((0,o.default)({},v),{},{icon:v.icon(p.primaryColor,p.secondaryColor)})),(0,l.generate)(v.icon,"svg-".concat(v.name),(0,o.default)({className:r,onClick:n,style:u,"data-icon":v.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d))};u.displayName="IconReact",u.getTwoToneColors=function(){return(0,o.default)({},i)},u.setTwoToneColors=function(e){var t=e.primaryColor,r=e.secondaryColor;i.primaryColor=t,i.secondaryColor=r||(0,l.getSecondaryColor)(t),i.calculated=!!r};var s=u;t.default=s},46768:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.setTwoToneColor=function(e){var t=(0,l.normalizeTwoToneColors)(e),r=(0,a.default)(t,2),n=r[0],c=r[1];return o.default.setTwoToneColors({primaryColor:n,secondaryColor:c})},t.getTwoToneColor=function(){var e=o.default.getTwoToneColors();if(!e.calculated)return e.primaryColor;return[e.primaryColor,e.secondaryColor]};var a=n(r(63038)),o=n(r(95160)),l=r(72479)},95183:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(85368)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="CheckCircleFilled";var s=l.forwardRef(u);t.default=s},48138:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(16976)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="CheckCircleOutlined";var s=l.forwardRef(u);t.default=s},79686:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(25330)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="CheckOutlined";var s=l.forwardRef(u);t.default=s},86266:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(67303)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="CloseCircleFilled";var s=l.forwardRef(u);t.default=s},92018:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(77384)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="CloseCircleOutlined";var s=l.forwardRef(u);t.default=s},83482:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(79203)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="CloseOutlined";var s=l.forwardRef(u);t.default=s},52655:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(83647)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="CopyOutlined";var s=l.forwardRef(u);t.default=s},58452:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(57583)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="EditOutlined";var s=l.forwardRef(u);t.default=s},73764:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(29260)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="EnterOutlined";var s=l.forwardRef(u);t.default=s},77998:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(78515)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="ExclamationCircleFilled";var s=l.forwardRef(u);t.default=s},3855:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(34950)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="ExclamationCircleOutlined";var s=l.forwardRef(u);t.default=s},46564:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(15369)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="InfoCircleFilled";var s=l.forwardRef(u);t.default=s},34106:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(20702)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="InfoCircleOutlined";var s=l.forwardRef(u);t.default=s},4851:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(81109)),l=n(r(67294)),c=a(r(25828)),i=a(r(92074)),u=function(e,t){return l.createElement(i.default,(0,o.default)((0,o.default)({},e),{},{ref:t,icon:c.default}))};u.displayName="LoadingOutlined";var s=l.forwardRef(u);t.default=s},72479:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.warning=function(e,t){(0,u.default)(e,"[@ant-design/icons] ".concat(t))},t.isIconDefinition=function(e){return"object"===(0,l.default)(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===(0,l.default)(e.icon)||"function"===typeof e.icon)},t.normalizeAttrs=d,t.generate=function e(t,r,n){if(!n)return i.default.createElement(t.tag,(0,o.default)({key:r},d(t.attrs)),(t.children||[]).map((function(n,a){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(a))})));return i.default.createElement(t.tag,(0,o.default)((0,o.default)({key:r},d(t.attrs)),n),(t.children||[]).map((function(n,a){return e(n,"".concat(r,"-").concat(t.tag,"-").concat(a))})))},t.getSecondaryColor=function(e){return(0,c.generate)(e)[0]},t.normalizeTwoToneColors=function(e){if(!e)return[];return Array.isArray(e)?e:[e]},t.useInsertStyles=t.iconStyles=t.svgBaseProps=void 0;var o=a(r(81109)),l=a(r(50008)),c=r(92138),i=n(r(67294)),u=a(r(45520)),s=r(93399),f=a(r(98399));function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,r){var n=e[r];if("class"===r)t.className=n,delete t.class;else t[r]=n;return t}),{})}t.svgBaseProps={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"};var p="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";t.iconStyles=p;t.useInsertStyles=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=(0,i.useContext)(f.default),r=t.csp;(0,i.useEffect)((function(){(0,s.updateCSS)(e,"@ant-design-icons",{prepend:!0,csp:r})}),[])}},67228:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},e.exports.__esModule=!0,e.exports.default=e.exports},37316:function(e){e.exports=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a},e.exports.__esModule=!0,e.exports.default=e.exports},78585:function(e,t,r){var n=r(50008).default,a=r(81506);e.exports=function(e,t){if(t&&("object"===n(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},99489:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},63038:function(e,t,r){var n=r(22858),a=r(13884),o=r(60379),l=r(80521);e.exports=function(e,t){return n(e)||a(e,t)||o(e,t)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},319:function(e,t,r){var n=r(23646),a=r(46860),o=r(60379),l=r(98206);e.exports=function(e){return n(e)||a(e)||o(e)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},60379:function(e,t,r){var n=r(67228);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},131:function(e,t,r){"use strict";r.r(t),r.d(t,{TinyColor:function(){return n.C},bounds:function(){return g},convertDecimalToHex:function(){return i.Wl},convertHexToDecimal:function(){return i.T6},default:function(){return b},fromRatio:function(){return f},hslToRgb:function(){return i.ve},hsvToRgb:function(){return i.WE},inputToRGB:function(){return p.uA},isReadable:function(){return l},isValidCSSUnit:function(){return p.ky},legacyRandom:function(){return d},mostReadable:function(){return c},names:function(){return a.R},numberInputToObject:function(){return i.Yt},parseIntFromHex:function(){return i.VD},random:function(){return v},readability:function(){return o},rgbToHex:function(){return i.vq},rgbToHsl:function(){return i.lC},rgbToHsv:function(){return i.py},rgbToRgb:function(){return i.rW},rgbaToArgbHex:function(){return i.GC},rgbaToHex:function(){return i.s},stringInputToObject:function(){return p.uz},tinycolor:function(){return n.H},toMsFilter:function(){return u}});var n=r(10274),a=r(48701);function o(e,t){var r=new n.C(e),a=new n.C(t);return(Math.max(r.getLuminance(),a.getLuminance())+.05)/(Math.min(r.getLuminance(),a.getLuminance())+.05)}function l(e,t,r){var n,a;void 0===r&&(r={level:"AA",size:"small"});var l=o(e,t);switch((null!==(n=r.level)&&void 0!==n?n:"AA")+(null!==(a=r.size)&&void 0!==a?a:"small")){case"AAsmall":case"AAAlarge":return l>=4.5;case"AAlarge":return l>=3;case"AAAsmall":return l>=7;default:return!1}}function c(e,t,r){void 0===r&&(r={includeFallbackColors:!1,level:"AA",size:"small"});for(var a=null,i=0,u=r.includeFallbackColors,s=r.level,f=r.size,d=0,p=t;di&&(i=m,a=new n.C(v))}return l(e,a,{level:s,size:f})||!u?a:(r.includeFallbackColors=!1,c(e,["#fff","#000"],r))}var i=r(86500);function u(e,t){var r=new n.C(e),a="#"+(0,i.GC)(r.r,r.g,r.b,r.a),o=a,l=r.gradientType?"GradientType = 1, ":"";if(t){var c=new n.C(t);o="#"+(0,i.GC)(c.r,c.g,c.b,c.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(l,"startColorstr=").concat(a,",endColorstr=").concat(o,")")}var s=r(90279);function f(e,t){var r={r:(0,s.JX)(e.r),g:(0,s.JX)(e.g),b:(0,s.JX)(e.b)};return void 0!==e.a&&(r.a=Number(e.a)),new n.C(r,t)}function d(){return new n.C({r:Math.random(),g:Math.random(),b:Math.random()})}var p=r(1350);function v(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(v(e));return e.count=t,r}var a=function(e,t){var r=h(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"===typeof e){var r=g.find((function(t){return t.name===e}));if(r){var a=y(r);if(a.hueRange)return a.hueRange}var o=new n.C(e);if(o.isValid){var l=o.toHsv().h;return[l,l]}}return[0,360]}(e),t);r<0&&(r=360+r);return r}(e.hue,e.seed),o=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return h([0,100],t.seed);var r=m(e).saturationRange,n=r[0],a=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=a-10;break;case"light":a=55}return h([n,a],t.seed)}(a,e),l=function(e,t,r){var n=function(e,t){for(var r=m(e).lowerBounds,n=0;n=a&&t<=l){var i=(c-o)/(l-a);return i*t+(o-i*a)}}return 0}(e,t),a=100;switch(r.luminosity){case"dark":a=n+20;break;case"light":n=(a+n)/2;break;case"random":n=0,a=100}return h([n,a],r.seed)}(a,o,e),c={h:a,s:o,v:l};return void 0!==e.alpha&&(c.a=e.alpha),new n.C(c)}function m(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=g;t=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function h(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0,a=(t=(9301*t+49297)%233280)/233280;return Math.floor(n+a*(r-n))}function y(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,a]}}var g=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],b=n.H},24308:function(e,t,r){"use strict";r.d(t,{c4:function(){return o}});var n=r(4942),a=r(87462),o=["xxl","xl","lg","md","sm","xs"],l={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},c=new Map,i=-1,u={},s={matchHandlers:{},dispatch:function(e){return u=e,c.forEach((function(e){return e(u)})),c.size>=1},subscribe:function(e){return c.size||this.register(),i+=1,c.set(i,e),e(u),i},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(l).forEach((function(t){var r=l[t],n=e.matchHandlers[r];null===n||void 0===n||n.mql.removeListener(null===n||void 0===n?void 0:n.listener)})),c.clear()},register:function(){var e=this;Object.keys(l).forEach((function(t){var r=l[t],o=function(r){var o=r.matches;e.dispatch((0,a.Z)((0,a.Z)({},u),(0,n.Z)({},t,o)))},c=window.matchMedia(r);c.addListener(o),e.matchHandlers[r]={mql:c,listener:o},o(c)}))}};t.ZP=s},27049:function(e,t,r){"use strict";var n=r(87462),a=r(4942),o=r(67294),l=r(94184),c=r.n(l),i=r(59844),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a0?"-".concat(v):v,O=!!y,w="left"===v&&null!=m,x="right"===v&&null!=m,k=c()(E,"".concat(E,"-").concat(d),(r={},(0,a.Z)(r,"".concat(E,"-with-text"),O),(0,a.Z)(r,"".concat(E,"-with-text").concat(C),O),(0,a.Z)(r,"".concat(E,"-dashed"),!!g),(0,a.Z)(r,"".concat(E,"-plain"),!!b),(0,a.Z)(r,"".concat(E,"-rtl"),"rtl"===i),(0,a.Z)(r,"".concat(E,"-no-default-orientation-margin-left"),w),(0,a.Z)(r,"".concat(E,"-no-default-orientation-margin-right"),x),r),h),P=(0,n.Z)((0,n.Z)({},w&&{marginLeft:m}),x&&{marginRight:m});return o.createElement("div",(0,n.Z)({className:k},M,{role:"separator"}),y&&o.createElement("span",{className:"".concat(E,"-inner-text"),style:P},y))}))}},33859:function(e,t,r){"use strict";r.d(t,{ZP:function(){return w}});var n=r(4942),a=r(67294),o=r(94184),l=r.n(o),c=r(89739),i=r(4340),u=r(21640),s=r(1413),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},d=r(42135),p=function(e,t){return a.createElement(d.Z,(0,s.Z)((0,s.Z)({},e),{},{ref:t,icon:f}))};p.displayName="WarningFilled";var v=a.forwardRef(p),m=r(59844),h=r(21687),y=function(){return a.createElement("svg",{width:"252",height:"294"},a.createElement("defs",null,a.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(0 .012)"},a.createElement("mask",{fill:"#fff"}),a.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),a.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),a.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),a.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),a.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),a.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),a.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),a.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),a.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),a.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),a.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),a.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),a.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),a.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),a.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),a.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),a.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),a.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),a.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),a.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),a.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),a.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),a.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),a.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),a.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),a.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),a.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),a.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),a.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),a.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),a.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),a.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),a.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),a.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),a.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),a.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),a.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),a.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"})))},g=function(){return a.createElement("svg",{width:"254",height:"294"},a.createElement("defs",null,a.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),a.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(0 .067)"},a.createElement("mask",{fill:"#fff"}),a.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),a.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),a.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),a.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),a.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),a.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),a.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),a.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),a.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),a.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),a.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),a.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),a.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),a.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),a.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),a.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),a.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),a.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),a.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),a.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),a.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),a.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),a.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),a.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),a.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),a.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),a.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),a.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),a.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),a.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),a.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),a.createElement("mask",{fill:"#fff"}),a.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),a.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),a.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),a.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),a.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),a.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),a.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),a.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"})))},b=function(){return a.createElement("svg",{width:"251",height:"294"},a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),a.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),a.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),a.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),a.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),a.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),a.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),a.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),a.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),a.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),a.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),a.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),a.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),a.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),a.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),a.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),a.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),a.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),a.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),a.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),a.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),a.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),a.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),a.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),a.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),a.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),a.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),a.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),a.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),a.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),a.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),a.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),a.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),a.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),a.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})))},M={success:c.Z,error:i.Z,info:u.Z,warning:v},E={404:y,500:g,403:b},C=Object.keys(E),O=function(e){var t=e.prefixCls,r=e.className,o=e.subTitle,c=e.title,i=e.style,u=e.children,s=e.status,f=void 0===s?"info":s,d=e.icon,p=e.extra,v=a.useContext(m.E_),y=v.getPrefixCls,g=v.direction,b=y("result",t),O=l()(b,"".concat(b,"-").concat(f),r,(0,n.Z)({},"".concat(b,"-rtl"),"rtl"===g));return a.createElement("div",{className:O,style:i},function(e,t){var r=t.status,n=t.icon,o=l()("".concat(e,"-icon"));if((0,h.Z)(!("string"===typeof n&&n.length>2),"Result","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(n,"` at https://ant.design/components/icon")),C.includes("".concat(r))){var c=E[r];return a.createElement("div",{className:"".concat(o," ").concat(e,"-image")},a.createElement(c,null))}var i=a.createElement(M[r]);return a.createElement("div",{className:o},n||i)}(b,{status:f,icon:d}),a.createElement("div",{className:"".concat(b,"-title")},c),o&&a.createElement("div",{className:"".concat(b,"-subtitle")},o),function(e,t){var r=t.extra;return r&&a.createElement("div",{className:"".concat(e,"-extra")},r)}(b,{extra:p}),u&&a.createElement("div",{className:"".concat(b,"-content")},u))};O.PRESENTED_IMAGE_403=E[403],O.PRESENTED_IMAGE_404=E[404],O.PRESENTED_IMAGE_500=E[500];var w=O},45471:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetStatusColorTypes=t.PresetColorTypes=void 0;var n=r(66764),a=(0,n.tuple)("success","processing","error","default","warning");t.PresetStatusColorTypes=a;var o=(0,n.tuple)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime");t.PresetColorTypes=o},72454:function(e,t,r){"use strict";var n=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,Object.defineProperty(t,"resetWarned",{enumerable:!0,get:function(){return a.resetWarned}});var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var i=l?Object.getOwnPropertyDescriptor(e,c):null;i&&(i.get||i.set)?Object.defineProperty(a,c,i):a[c]=e[c]}a.default=e,r&&r.set(e,a);return a}(r(45520));function o(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}t.default=function(e,t,r){(0,a.default)(e,"[antd: ".concat(t,"] ").concat(r))}},53683:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionName=t.default=void 0;var r=function(){return{height:0,opacity:0}},n=function(e){return{height:e.scrollHeight,opacity:1}},a=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},o={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:n,onEnterActive:n,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:r,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500};t.getTransitionName=function(e,t,r){return void 0!==r?r:"".concat(e,"-").concat(t)};var l=o;t.default=l},47419:function(e,t,r){"use strict";var n=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElement=function(e,t){return c(e,e,t)},t.isValidElement=void 0,t.replaceElement=c;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var i=l?Object.getOwnPropertyDescriptor(e,c):null;i&&(i.get||i.set)?Object.defineProperty(a,c,i):a[c]=e[c]}a.default=e,r&&r.set(e,a);return a}(r(67294));function o(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var l=a.isValidElement;function c(e,t,r){return l(e)?a.cloneElement(e,"function"===typeof r?r(e.props||{}):r):t}t.isValidElement=l},38882:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.detectFlexGapSupported=t.canUseDocElement=void 0,Object.defineProperty(t,"isStyleSupport",{enumerable:!0,get:function(){return l.isStyleSupport}});var a,o=n(r(19158)),l=r(3481),c=function(){return(0,o.default)()&&window.document.documentElement};t.canUseDocElement=c;t.detectFlexGapSupported=function(){if(!c())return!1;if(void 0!==a)return a;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),a=1===e.scrollHeight,document.body.removeChild(e),a}},60938:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67154)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),c=n(r(27712));function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}var u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a0&&(N=l.createElement(i.FormProvider,{validateMessages:S},n)),m&&(N=l.createElement(s.default,{locale:m,_ANT_MARK__:s.ANT_MARK},N)),x&&(N=l.createElement(c.default.Provider,{value:j},N)),h&&(N=l.createElement(p.SizeContextProvider,{size:h},N)),l.createElement(d.ConfigContext.Provider,{value:_},N)},P=function(e){return l.useEffect((function(){e.direction&&(v.default.config({rtl:"rtl"===e.direction}),m.default.config({rtl:"rtl"===e.direction}))}),[e.direction]),l.createElement(f.default,null,(function(t,r,n){return l.createElement(d.ConfigConsumer,null,(function(t){return l.createElement(k,(0,o.default)({parentContext:t,legacyLocale:n},e))}))}))};P.ConfigContext=d.ConfigContext,P.SizeContext=p.default,P.config=function(e){var t=e.prefixCls,r=e.iconPrefixCls,n=e.theme;void 0!==t&&(E=t),void 0!==r&&(C=r),n&&(0,h.registerTheme)(w(),n)};var _=P;t.default=_},95190:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),l=n(r(36671)),c=r(31929);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}var u=function(e){return o.createElement(c.ConfigConsumer,null,(function(t){var r=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return o.createElement(l.default,{image:l.default.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(l.default,{image:l.default.PRESENTED_IMAGE_SIMPLE,className:"".concat(r,"-small")});default:return o.createElement(l.default,null)}}))};t.default=u},25633:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r(67154)),o=n(r(27590)),l=n(r(52040)),c={lang:(0,a.default)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o.default),timePickerLocale:(0,a.default)({},l.default)};t.default=c},12268:function(e,t,r){"use strict";var n=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var i=o?Object.getOwnPropertyDescriptor(e,c):null;i&&(i.get||i.set)?Object.defineProperty(a,c,i):a[c]=e[c]}a.default=e,r&&r.set(e,a);return a}(r(67294)),o=r(31929);function l(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}var c=function(){var e=(0,a.useContext(o.ConfigContext).getPrefixCls)("empty-img-default");return a.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(24 31.67)"},a.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),a.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),a.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),a.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),a.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),a.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),a.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},a.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),a.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};t.default=c},36671:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67154)),l=n(r(59713)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),i=n(r(94184)),u=r(31929),s=n(r(73625)),f=n(r(12268)),d=n(r(69749));function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}var v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a3&&void 0!==arguments[3]?arguments[3]:{},o=n.props,l=o.className,u=o.addonBefore,s=o.addonAfter,f=o.size,d=o.disabled,h=o.htmlSize,y=(0,m.default)(n.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered","htmlSize","showCount"]);return p.createElement("input",(0,c.default)({autoComplete:a.autoComplete},y,{onChange:n.handleChange,onFocus:n.onFocus,onBlur:n.onBlur,onKeyDown:n.handleKeyDown,className:(0,v.default)((0,M.getInputClassName)(e,r,f||t,d,n.direction),(0,i.default)({},l,l&&!u&&!s)),ref:n.saveInput,size:h}))},n.clearPasswordValueAttribute=function(){n.removePasswordTimeout=setTimeout((function(){n.input&&"password"===n.input.getAttribute("type")&&n.input.hasAttribute("value")&&n.input.removeAttribute("value")}))},n.handleChange=function(e){n.setValue(e.target.value,n.clearPasswordValueAttribute),O(n.input,e,n.props.onChange)},n.handleKeyDown=function(e){var t=n.props,r=t.onPressEnter,a=t.onKeyDown;r&&13===e.keyCode&&r(e),null===a||void 0===a||a(e)},n.renderShowCountSuffix=function(e){var t=n.state.value,r=n.props,a=r.maxLength,c=r.suffix,u=r.showCount,s=Number(a)>0;if(c||u){var f=(0,l.default)(C(t)).length,d=null;return d="object"===(0,o.default)(u)?u.formatter({count:f,maxLength:a}):"".concat(f).concat(s?" / ".concat(a):""),p.createElement(p.Fragment,null,!!u&&p.createElement("span",{className:(0,v.default)("".concat(e,"-show-count-suffix"),(0,i.default)({},"".concat(e,"-show-count-has-suffix"),!!c))},d),c)}return null},n.renderComponent=function(e){var t=e.getPrefixCls,r=e.direction,a=e.input,o=n.state,l=o.value,i=o.focused,u=n.props,s=u.prefixCls,f=u.bordered,d=void 0===f||f,v=t("input",s);n.direction=r;var m=n.renderShowCountSuffix(v);return p.createElement(g.default.Consumer,null,(function(e){return p.createElement(h.default,(0,c.default)({size:e},n.props,{prefixCls:v,inputType:"input",value:C(l),element:n.renderInput(v,e,d,a),handleReset:n.handleReset,ref:n.saveClearableInput,direction:r,focused:i,triggerFocus:n.focus,bordered:d,suffix:m}))}))};var a="undefined"===typeof e.value?e.defaultValue:e.value;return n.state={value:a,focused:!1,prevValue:e.value},n}return(0,s.default)(r,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(e){return(0,M.hasPrefixSuffix)(e)!==(0,M.hasPrefixSuffix)(this.props)&&(0,b.default)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"setSelectionRange",value:function(e,t,r){this.input.setSelectionRange(e,t,r)}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(e,t){void 0===this.props.value?this.setState({value:e},t):null===t||void 0===t||t()}},{key:"render",value:function(){return p.createElement(y.ConfigConsumer,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevValue,n={prevValue:e.value};return void 0===e.value&&r===e.value||(n.value=e.value),e.disabled&&(n.focused=!1),n}}]),r}(p.Component);x.defaultProps={type:"text"};var k=x;t.default=k},14104:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(50008)),l=n(r(67154)),c=n(r(59713)),i=n(r(63038)),u=n(r(319)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=b(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),f=n(r(57239)),d=n(r(18475)),p=n(r(94184)),v=n(r(60869)),m=n(r(67434)),h=r(31929),y=r(10815),g=n(r(3236));function b(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(b=function(e){return e?r:t})(e)}var M=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);an&&(a=t),a}var O=s.forwardRef((function(e,t){var r,n=e.prefixCls,a=e.bordered,b=void 0===a||a,O=e.showCount,w=void 0!==O&&O,x=e.maxLength,k=e.className,P=e.style,_=e.size,j=e.onCompositionStart,N=e.onCompositionEnd,S=e.onChange,L=M(e,["prefixCls","bordered","showCount","maxLength","className","style","size","onCompositionStart","onCompositionEnd","onChange"]),F=s.useContext(h.ConfigContext),T=F.getPrefixCls,A=F.direction,z=s.useContext(g.default),R=s.useRef(null),D=s.useRef(null),W=s.useState(!1),B=(0,i.default)(W,2),I=B[0],H=B[1],V=s.useRef(),Z=s.useRef(0),U=(0,v.default)(L.defaultValue,{value:L.value}),K=(0,i.default)(U,2),$=K[0],Y=K[1],G=L.hidden,Q=function(e,t){void 0===L.value&&(Y(e),null===t||void 0===t||t())},X=Number(x)>0,q=T("input",n);s.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=R.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,r;(0,y.triggerFocus)(null===(r=null===(t=R.current)||void 0===t?void 0:t.resizableTextArea)||void 0===r?void 0:r.textArea,e)},blur:function(){var e;return null===(e=R.current)||void 0===e?void 0:e.blur()}}}));var J=s.createElement(f.default,(0,l.default)({},(0,d.default)(L,["allowClear"]),{className:(0,p.default)((r={},(0,c.default)(r,"".concat(q,"-borderless"),!b),(0,c.default)(r,k,k&&!w),(0,c.default)(r,"".concat(q,"-sm"),"small"===z||"small"===_),(0,c.default)(r,"".concat(q,"-lg"),"large"===z||"large"===_),r)),style:w?void 0:P,prefixCls:q,onCompositionStart:function(e){H(!0),V.current=$,Z.current=e.currentTarget.selectionStart,null===j||void 0===j||j(e)},onChange:function(e){var t=e.target.value;!I&&X&&(t=C(e.target.selectionStart>=x+1||e.target.selectionStart===t.length||!e.target.selectionStart,$,t,x));Q(t),(0,y.resolveOnChange)(e.currentTarget,e,S,t)},onCompositionEnd:function(e){var t;H(!1);var r=e.currentTarget.value;X&&(r=C(Z.current>=x+1||Z.current===(null===(t=V.current)||void 0===t?void 0:t.length),V.current,r,x));r!==$&&(Q(r),(0,y.resolveOnChange)(e.currentTarget,e,S,r)),null===N||void 0===N||N(e)},ref:R})),ee=(0,y.fixControlledValue)($);I||!X||null!==L.value&&void 0!==L.value||(ee=E(ee,x));var te=s.createElement(m.default,(0,l.default)({},L,{prefixCls:q,direction:A,inputType:"text",value:ee,element:J,handleReset:function(e){var t,r;Q("",(function(){var e;null===(e=R.current)||void 0===e||e.focus()})),(0,y.resolveOnChange)(null===(r=null===(t=R.current)||void 0===t?void 0:t.resizableTextArea)||void 0===r?void 0:r.textArea,e,S)},ref:D,bordered:b,style:w?void 0:P}));if(w){var re=(0,u.default)(ee).length,ne="";return ne="object"===(0,o.default)(w)?w.formatter({count:re,maxLength:x}):"".concat(re).concat(X?" / ".concat(x):""),s.createElement("div",{hidden:G,className:(0,p.default)("".concat(q,"-textarea"),(0,c.default)({},"".concat(q,"-textarea-rtl"),"rtl"===A),"".concat(q,"-textarea-show-count"),k),style:P,"data-count":ne},te)}return te}));t.default=O},36714:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.getInputClassName=function(e,t,r,n,l){var c;return(0,o.default)(e,(c={},(0,a.default)(c,"".concat(e,"-sm"),"small"===r),(0,a.default)(c,"".concat(e,"-lg"),"large"===r),(0,a.default)(c,"".concat(e,"-disabled"),n),(0,a.default)(c,"".concat(e,"-rtl"),"rtl"===l),(0,a.default)(c,"".concat(e,"-borderless"),!t),c))},t.hasPrefixSuffix=function(e){return!!(e.prefix||e.suffix||e.allowClear)};var a=n(r(59713)),o=n(r(94184))},73625:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.useLocaleReceiver=function(e,t){var r=s.useContext(d.default);return[s.useMemo((function(){var n=t||f.default[e||"global"],a=e&&r?r[e]:{};return(0,o.default)((0,o.default)({},"function"===typeof n?n():n),a||{})}),[e,t,r])]};var o=n(r(67154)),l=n(r(34575)),c=n(r(93913)),i=n(r(2205)),u=n(r(99842)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),f=n(r(95209)),d=n(r(89354));function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}var v=function(e){(0,i.default)(r,e);var t=(0,u.default)(r);function r(){return(0,l.default)(this,r),t.apply(this,arguments)}return(0,c.default)(r,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,r=e.defaultLocale||f.default[null!==t&&void 0!==t?t:"global"],n=this.context,a=t&&n?n[t]:{};return(0,o.default)((0,o.default)({},r instanceof Function?r():r),a||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?f.default.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),r}(s.Component);t.default=v,v.defaultProps={componentName:"global"},v.contextType=d.default},89354:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(67294).createContext)(void 0);t.default=n},95209:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r(56350)).default;t.default=a},53594:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ANT_MARK=void 0;var o=n(r(67154)),l=n(r(34575)),c=n(r(93913)),i=n(r(2205)),u=n(r(99842)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=m(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),f=n(r(30845)),d=n(r(72454)),p=r(10625),v=n(r(89354));function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(m=function(e){return e?r:t})(e)}var h="internalMark";t.ANT_MARK=h;var y=function(e){(0,i.default)(r,e);var t=(0,u.default)(r);function r(e){var n;return(0,l.default)(this,r),(n=t.call(this,e)).getMemoizedContextValue=(0,f.default)((function(e){return(0,o.default)((0,o.default)({},e),{exist:!0})})),(0,p.changeConfirmLocale)(e.locale&&e.locale.Modal),(0,d.default)(e._ANT_MARK__===h,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),n}return(0,c.default)(r,[{key:"componentDidMount",value:function(){(0,p.changeConfirmLocale)(this.props.locale&&this.props.locale.Modal)}},{key:"componentDidUpdate",value:function(e){var t=this.props.locale;e.locale!==t&&(0,p.changeConfirmLocale)(t&&t.Modal)}},{key:"componentWillUnmount",value:function(){(0,p.changeConfirmLocale)()}},{key:"render",value:function(){var e=this.props,t=e.locale,r=e.children,n=this.getMemoizedContextValue(t);return s.createElement(v.default.Provider,{value:n},r)}}]),r}(s.Component);t.default=y,y.defaultProps={locale:{}}},56350:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r(62273)),o=n(r(25633)),l=n(r(52040)),c=n(r(1028)),i="${label} is not a valid ${type}",u={locale:"en",Pagination:a.default,DatePicker:o.default,TimePicker:l.default,Calendar:c.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};t.default=u},64333:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var r,n,a=null,f={add:function(e,t){null===a||void 0===a||a.component.add(e,t)}},d=(0,i.default)(f),p=(0,l.default)(d,2),v=p[0],m=p[1];var h=c.useRef({});return h.current.open=function(l){var c=l.prefixCls,i=r("message",c),u=r(),f=l.key||(0,s.getKeyThenIncreaseKey)(),d=new Promise((function(r){var c=function(){return"function"===typeof l.onClose&&l.onClose(),r(!0)};e((0,o.default)((0,o.default)({},l),{prefixCls:i,rootPrefixCls:u,getPopupContainer:n}),(function(e){var r=e.prefixCls,n=e.instance;a=n,v(t((0,o.default)((0,o.default)({},l),{key:f,onClose:c}),r))}))})),p=function(){a&&a.removeNotice(f)};return p.then=function(e,t){return d.then(e,t)},p.promise=d,p},["success","info","warning","error","loading"].forEach((function(e){return(0,s.attachTypeApi)(h.current,e)})),[h.current,c.createElement(u.ConfigConsumer,{key:"holder"},(function(e){return r=e.getPrefixCls,n=e.getPopupContainer,m}))]}};var o=n(r(67154)),l=n(r(63038)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),i=n(r(45484)),u=r(31929),s=r(11187);function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}},11187:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.attachTypeApi=T,t.getInstance=t.default=void 0,t.getKeyThenIncreaseKey=j;var o,l=n(r(67154)),c=n(r(59713)),i=b(r(67294)),u=n(r(94184)),s=n(r(91127)),f=n(r(628)),d=n(r(42461)),p=n(r(42547)),v=n(r(37431)),m=n(r(94354)),h=n(r(64333)),y=b(r(31929));function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(g=function(e){return e?r:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=g(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}return n.default=e,r&&r.set(e,n),n}var M,E,C,O=3,w=1,x="",k="move-up",P=!1,_=!1;function j(){return w++}function N(e,t){var r=e.prefixCls,n=e.getPopupContainer,a=(0,y.globalConfig)(),l=a.getPrefixCls,c=a.getRootPrefixCls,i=a.getIconPrefixCls,u=l("message",r||x),f=c(e.rootPrefixCls,u),d=i();if(o)t({prefixCls:u,rootPrefixCls:f,iconPrefixCls:d,instance:o});else{var p={prefixCls:u,transitionName:P?k:"".concat(f,"-").concat(k),style:{top:M},getContainer:E||n,maxCount:C};s.default.newInstance(p,(function(e){o?t({prefixCls:u,rootPrefixCls:f,iconPrefixCls:d,instance:o}):(o=e,t({prefixCls:u,rootPrefixCls:f,iconPrefixCls:d,instance:e}))}))}}var S={info:m.default,success:v.default,error:p.default,warning:d.default,loading:f.default};function L(e,t,r){var n,a=void 0!==e.duration?e.duration:O,o=S[e.type],l=(0,u.default)("".concat(t,"-custom-content"),(n={},(0,c.default)(n,"".concat(t,"-").concat(e.type),e.type),(0,c.default)(n,"".concat(t,"-rtl"),!0===_),n));return{key:e.key,duration:a,style:e.style||{},className:e.className,content:i.createElement(y.default,{iconPrefixCls:r},i.createElement("div",{className:l},e.icon||o&&i.createElement(o,null),i.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}var F={open:function(e){var t=e.key||j(),r=new Promise((function(r){var n=function(){return"function"===typeof e.onClose&&e.onClose(),r(!0)};N(e,(function(r){var a=r.prefixCls,o=r.iconPrefixCls;r.instance.notice(L((0,l.default)((0,l.default)({},e),{key:t,onClose:n}),a,o))}))})),n=function(){o&&o.removeNotice(t)};return n.then=function(e,t){return r.then(e,t)},n.promise=r,n},config:function(e){void 0!==e.top&&(M=e.top,o=null),void 0!==e.duration&&(O=e.duration),void 0!==e.prefixCls&&(x=e.prefixCls),void 0!==e.getContainer&&(E=e.getContainer,o=null),void 0!==e.transitionName&&(k=e.transitionName,o=null,P=!0),void 0!==e.maxCount&&(C=e.maxCount,o=null),void 0!==e.rtl&&(_=e.rtl)},destroy:function(e){if(o)if(e){(0,o.removeNotice)(e)}else{var t=o.destroy;t(),o=null}}};function T(e,t){e[t]=function(r,n,a){return function(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}(r)?e.open((0,l.default)((0,l.default)({},r),{type:t})):("function"===typeof n&&(a=n,n=void 0),e.open({content:r,duration:n,type:t,onClose:a}))}}["success","info","warning","error","loading"].forEach((function(e){return T(F,e)})),F.warn=F.warning,F.useMessage=(0,h.default)(N,L);t.getInstance=function(){return null};var A=F;t.default=A},10625:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.changeConfirmLocale=function(e){l=e?(0,a.default)((0,a.default)({},l),e):(0,a.default)({},o.default.Modal)},t.getConfirmLocale=function(){return l};var a=n(r(67154)),o=n(r(56350)),l=(0,a.default)({},o.default.Modal)},23298:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var r,n=null,a={add:function(e,t){null===n||void 0===n||n.component.add(e,t)}},s=(0,i.default)(a),f=(0,l.default)(s,2),d=f[0],p=f[1];var v=c.useRef({});return v.current.open=function(a){var l=a.prefixCls,c=r("notification",l);e((0,o.default)((0,o.default)({},a),{prefixCls:c}),(function(e){var r=e.prefixCls,o=e.instance;n=o,d(t(a,r))}))},["success","info","warning","error"].forEach((function(e){v.current[e]=function(t){return v.current.open((0,o.default)((0,o.default)({},t),{type:e}))}})),[v.current,c.createElement(u.ConfigConsumer,{key:"holder"},(function(e){return r=e.getPrefixCls,p}))]}};var o=n(r(67154)),l=n(r(63038)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),i=n(r(45484)),u=r(31929);function s(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}},16318:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.getInstance=t.default=void 0;var o=n(r(87757)),l=n(r(67154)),c=n(r(59713)),i=b(r(67294)),u=n(r(91127)),s=n(r(40753)),f=n(r(94184)),d=n(r(67996)),p=n(r(74337)),v=n(r(67039)),m=n(r(93201)),h=n(r(23298)),y=b(r(31929));function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(g=function(e){return e?r:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=g(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}return n.default=e,r&&r.set(e,n),n}var M,E,C,O=function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function l(e){try{i(n.next(e))}catch(t){o(t)}}function c(e){try{i(n.throw(e))}catch(t){o(t)}}function i(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,c)}i((n=n.apply(e,t||[])).next())}))},w={},x=4.5,k=24,P=24,_="",j="topRight",N=!1;function S(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P;switch(e){case"topLeft":t={left:0,top:r,bottom:"auto"};break;case"topRight":t={right:0,top:r,bottom:"auto"};break;case"bottomLeft":t={left:0,top:"auto",bottom:n};break;default:t={right:0,top:"auto",bottom:n}}return t}function L(e,t){var r=e.placement,n=void 0===r?j:r,a=e.top,o=e.bottom,l=e.getContainer,i=void 0===l?M:l,s=e.prefixCls,d=(0,y.globalConfig)(),p=d.getPrefixCls,v=d.getIconPrefixCls,m=p("notification",s||_),h=v(),g="".concat(m,"-").concat(n),b=w[g];if(b)Promise.resolve(b).then((function(e){t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:h,instance:e})}));else{var E=(0,f.default)("".concat(m,"-").concat(n),(0,c.default)({},"".concat(m,"-rtl"),!0===N));w[g]=new Promise((function(e){u.default.newInstance({prefixCls:m,className:E,style:S(n,a,o),getContainer:i,maxCount:C},(function(r){e(r),t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:h,instance:r})}))}))}}var F={success:d.default,info:m.default,error:p.default,warning:v.default};function T(e,t,r){var n=e.duration,a=e.icon,o=e.type,l=e.description,u=e.message,d=e.btn,p=e.onClose,v=e.onClick,m=e.key,h=e.style,g=e.className,b=e.closeIcon,M=void 0===b?E:b,C=void 0===n?x:n,O=null;a?O=i.createElement("span",{className:"".concat(t,"-icon")},e.icon):o&&(O=i.createElement(F[o]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(o)}));var w=i.createElement("span",{className:"".concat(t,"-close-x")},M||i.createElement(s.default,{className:"".concat(t,"-close-icon")})),k=!l&&O?i.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:i.createElement(y.default,{iconPrefixCls:r},i.createElement("div",{className:O?"".concat(t,"-with-icon"):"",role:"alert"},O,i.createElement("div",{className:"".concat(t,"-message")},k,u),i.createElement("div",{className:"".concat(t,"-description")},l),d?i.createElement("span",{className:"".concat(t,"-btn")},d):null)),duration:C,closable:!0,closeIcon:w,onClose:p,onClick:v,key:m,style:h||{},className:(0,f.default)(g,(0,c.default)({},"".concat(t,"-").concat(o),!!o))}}var A={open:function(e){L(e,(function(t){var r=t.prefixCls,n=t.iconPrefixCls;t.instance.notice(T(e,r,n))}))},close:function(e){Object.keys(w).forEach((function(t){return Promise.resolve(w[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,r=e.placement,n=e.bottom,a=e.top,o=e.getContainer,l=e.closeIcon,c=e.prefixCls;void 0!==c&&(_=c),void 0!==t&&(x=t),void 0!==r?j=r:e.rtl&&(j="topLeft"),void 0!==n&&(P=n),void 0!==a&&(k=a),void 0!==o&&(M=o),void 0!==l&&(E=l),void 0!==e.rtl&&(N=e.rtl),void 0!==e.maxCount&&(C=e.maxCount)},destroy:function(){Object.keys(w).forEach((function(e){Promise.resolve(w[e]).then((function(e){e.destroy()})),delete w[e]}))}};["success","info","warning","error"].forEach((function(e){A[e]=function(t){return A.open((0,l.default)((0,l.default)({},t),{type:e}))}})),A.warn=A.warning,A.useNotification=(0,h.default)(L,T);t.getInstance=function(e){return O(void 0,void 0,void 0,o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)})))};var z=A;t.default=z},52040:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};t.default=r},94055:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(59713)),l=n(r(63038)),c=n(r(67154)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=y(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),u=n(r(22972)),s=n(r(60869)),f=n(r(94184)),d=n(r(27571)),p=r(47419),v=r(31929),m=r(45471),h=r(53683);function y(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(y=function(e){return e?r:t})(e)}var g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a=0||n.indexOf("Bottom")>=0?o.top="".concat(a.height-t.offset[1],"px"):(n.indexOf("Top")>=0||n.indexOf("bottom")>=0)&&(o.top="".concat(-t.offset[1],"px")),n.indexOf("left")>=0||n.indexOf("Right")>=0?o.left="".concat(a.width-t.offset[0],"px"):(n.indexOf("right")>=0||n.indexOf("Left")>=0)&&(o.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(o.left," ").concat(o.top)}},overlayInnerStyle:Z,arrowContent:i.createElement("span",{className:"".concat(z,"-arrow-content"),style:W}),motion:{motionName:(0,h.getTransitionName)(R,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),D?(0,p.cloneElement)(B,{className:H}):B)}));E.displayName="Tooltip",E.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var C=E;t.default=C},27571:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.arrowWidth,r=void 0===t?4:t,n=e.horizontalArrowShift,l=void 0===n?16:n,c=e.verticalArrowShift,s=void 0===c?8:c,f=e.autoAdjustOverflow,d={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(l+r),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(s+r)]},topRight:{points:["br","tc"],offset:[l+r,-4]},rightTop:{points:["tl","cr"],offset:[4,-(s+r)]},bottomRight:{points:["tr","bc"],offset:[l+r,4]},rightBottom:{points:["bl","cr"],offset:[4,s+r]},bottomLeft:{points:["tl","bc"],offset:[-(l+r),4]},leftBottom:{points:["br","cl"],offset:[-4,s+r]}};return Object.keys(d).forEach((function(t){d[t]=e.arrowPointAtCenter?(0,a.default)((0,a.default)({},d[t]),{overflow:u(f),targetOffset:i}):(0,a.default)((0,a.default)({},o.placements[t]),{overflow:u(f)}),d[t].ignoreShake=!0})),d},t.getOverflowOptions=u;var a=n(r(67154)),o=r(24375),l={adjustX:1,adjustY:1},c={adjustX:0,adjustY:0},i=[0,0];function u(e){return"boolean"===typeof e?e?l:c:(0,a.default)((0,a.default)({},c),e)}},12385:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67154)),l=n(r(63038)),c=n(r(50008)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),u=n(r(45598)),s=n(r(82546));function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function d(e){var t=(0,c.default)(e);return"string"===t||"number"===t}function p(e,t){for(var r=0,n=[],a=0;at){var c=t-r;return n.push(String(o).slice(0,c)),n}n.push(o),r=l}return e}var v=function(e){var t=e.enabledMeasure,r=e.children,n=e.text,a=e.width,c=e.rows,f=e.onEllipsis,v=i.useState([0,0,0]),m=(0,l.default)(v,2),h=m[0],y=m[1],g=i.useState(0),b=(0,l.default)(g,2),M=b[0],E=b[1],C=(0,l.default)(h,3),O=C[0],w=C[1],x=C[2],k=i.useState(0),P=(0,l.default)(k,2),_=P[0],j=P[1],N=i.useRef(null),S=i.useRef(null),L=i.useMemo((function(){return(0,u.default)(n)}),[n]),F=i.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){d(e)?t+=String(e).length:t+=1})),t}(L)}),[L]),T=i.useMemo((function(){return t&&3===M?r(p(L,w),w1&&Ge,Je=function(e){var t;Le(!0),null===(t=Ze.onExpand)||void 0===t||t.call(Ze,e)},et=u.useState(0),tt=(0,i.default)(et,2),rt=tt[0],nt=tt[1],at=function(e){var t;ze(e),Ae!==e&&(null===(t=Ze.onEllipsis)||void 0===t||t.call(Ze,e))};u.useEffect((function(){var e=Y.current;if(Ve&&Ge&&e){var t=qe?e.offsetHeight1&&void 0!==arguments[1]?arguments[1]:{},n=[];return a.default.Children.forEach(t,(function(t){(void 0!==t&&null!==t||r.keepEmpty)&&(Array.isArray(t)?n=n.concat(e(t)):(0,o.isFragment)(t)&&t.props?n=n.concat(e(t.props.children,r)):n.push(t))})),n};var a=n(r(67294)),o=r(59864)},19158:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}},93399:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.injectCSS=c,t.removeCSS=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=u(e,r);null===n||void 0===n||null===(t=n.parentNode)||void 0===t||t.removeChild(n)},t.updateCSS=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=l(r);if(!i.has(n)){var a=c("",r),s=a.parentNode;i.set(n,s),s.removeChild(a)}var f=u(t,r);if(f){var d,p,v;if((null===(d=r.csp)||void 0===d?void 0:d.nonce)&&f.nonce!==(null===(p=r.csp)||void 0===p?void 0:p.nonce))f.nonce=null===(v=r.csp)||void 0===v?void 0:v.nonce;return f.innerHTML!==e&&(f.innerHTML=e),f}var m=c(e,r);return m[o]=t,m};var a=n(r(19158)),o="rc-util-key";function l(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function c(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,a.default)())return null;var n,o=document.createElement("style");(null===(t=r.csp)||void 0===t?void 0:t.nonce)&&(o.nonce=null===(n=r.csp)||void 0===n?void 0:n.nonce);o.innerHTML=e;var c=l(r),i=c.firstChild;return r.prepend&&c.prepend?c.prepend(o):r.prepend&&i?c.insertBefore(o,i):c.appendChild(o),o}var i=new Map;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=l(t);return Array.from(i.get(r).children).find((function(t){return"STYLE"===t.tagName&&t[o]===e}))}},3481:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.isStyleSupport=function(e,t){if(!Array.isArray(e)&&void 0!==t)return function(e,t){if(!o(e))return!1;var r=document.createElement("div"),n=r.style[e];return r.style[e]=t,r.style[e]!==n}(e,t);return o(e)};var a=n(r(19158)),o=function(e){if((0,a.default)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],r=window.document.documentElement;return t.some((function(e){return e in r.style}))}return!1}},27712:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},n=r;t.default=n},82546:function(e,t,r){"use strict";var n=r(95318),a=r(20862);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(67294)),l=(0,n(r(19158)).default)()?o.useLayoutEffect:o.useEffect;t.default=l},67265:function(e,t,r){"use strict";var n=r(20862);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=a.useRef({});"value"in n.current&&!r(n.current.condition,t)||(n.current.value=e(),n.current.condition=t);return n.current.value};var a=n(r(67294))},60869:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=t||{},n=r.defaultValue,a=r.value,c=r.onChange,i=r.postState,u=l.useState((function(){return void 0!==a?a:void 0!==n?"function"===typeof n?n():n:"function"===typeof e?e():e})),s=(0,o.default)(u,2),f=s[0],d=s[1],p=void 0!==a?a:f;i&&(p=i(p));var v=l.useRef(c);v.current=c;var m=l.useCallback((function(e){d(e),p!==e&&v.current&&v.current(e,p)}),[p,v]),h=l.useRef(!0);return l.useEffect((function(){h.current?h.current=!1:void 0===a&&d(a)}),[a]),[p,m]};var o=a(r(63038)),l=n(r(67294))},18475:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,a.default)({},e);Array.isArray(t)&&t.forEach((function(e){delete r[e]}));return r};var a=n(r(81109))},75531:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.composeRef=i,t.fillRef=c,t.supportRef=function(e){var t,r,n=(0,o.isMemo)(e)?e.type.type:e.type;if("function"===typeof n&&!(null===(t=n.prototype)||void 0===t?void 0:t.render))return!1;if("function"===typeof e&&!(null===(r=e.prototype)||void 0===r?void 0:r.render))return!1;return!0},t.useComposeRef=function(){for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,r){var n=e[r];if("class"===r)t.className=n,delete t.class;else t[r]=n;return t}),{})}t.svgBaseProps={width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",focusable:"false"};var p="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n";t.iconStyles=p;t.useInsertStyles=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p,t=(0,i.useContext)(f.default),r=t.csp;(0,i.useEffect)((function(){(0,s.updateCSS)(e,"@ant-design-icons",{prepend:!0,csp:r})}),[])}},67228:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o},e.exports.__esModule=!0,e.exports.default=e.exports},37316:function(e){e.exports=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n=0||(a[r]=e[r]);return a},e.exports.__esModule=!0,e.exports.default=e.exports},78585:function(e,t,r){var n=r(50008).default,a=r(81506);e.exports=function(e,t){if(t&&("object"===n(t)||"function"===typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},99489:function(e){function t(r,n){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(r,n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},63038:function(e,t,r){var n=r(22858),a=r(13884),o=r(60379),l=r(80521);e.exports=function(e,t){return n(e)||a(e,t)||o(e,t)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},319:function(e,t,r){var n=r(23646),a=r(46860),o=r(60379),l=r(98206);e.exports=function(e){return n(e)||a(e)||o(e)||l()},e.exports.__esModule=!0,e.exports.default=e.exports},60379:function(e,t,r){var n=r(67228);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},131:function(e,t,r){"use strict";r.r(t),r.d(t,{TinyColor:function(){return n.C},bounds:function(){return g},convertDecimalToHex:function(){return i.Wl},convertHexToDecimal:function(){return i.T6},default:function(){return b},fromRatio:function(){return f},hslToRgb:function(){return i.ve},hsvToRgb:function(){return i.WE},inputToRGB:function(){return p.uA},isReadable:function(){return l},isValidCSSUnit:function(){return p.ky},legacyRandom:function(){return d},mostReadable:function(){return c},names:function(){return a.R},numberInputToObject:function(){return i.Yt},parseIntFromHex:function(){return i.VD},random:function(){return v},readability:function(){return o},rgbToHex:function(){return i.vq},rgbToHsl:function(){return i.lC},rgbToHsv:function(){return i.py},rgbToRgb:function(){return i.rW},rgbaToArgbHex:function(){return i.GC},rgbaToHex:function(){return i.s},stringInputToObject:function(){return p.uz},tinycolor:function(){return n.H},toMsFilter:function(){return u}});var n=r(10274),a=r(48701);function o(e,t){var r=new n.C(e),a=new n.C(t);return(Math.max(r.getLuminance(),a.getLuminance())+.05)/(Math.min(r.getLuminance(),a.getLuminance())+.05)}function l(e,t,r){var n,a;void 0===r&&(r={level:"AA",size:"small"});var l=o(e,t);switch((null!==(n=r.level)&&void 0!==n?n:"AA")+(null!==(a=r.size)&&void 0!==a?a:"small")){case"AAsmall":case"AAAlarge":return l>=4.5;case"AAlarge":return l>=3;case"AAAsmall":return l>=7;default:return!1}}function c(e,t,r){void 0===r&&(r={includeFallbackColors:!1,level:"AA",size:"small"});for(var a=null,i=0,u=r.includeFallbackColors,s=r.level,f=r.size,d=0,p=t;di&&(i=m,a=new n.C(v))}return l(e,a,{level:s,size:f})||!u?a:(r.includeFallbackColors=!1,c(e,["#fff","#000"],r))}var i=r(86500);function u(e,t){var r=new n.C(e),a="#"+(0,i.GC)(r.r,r.g,r.b,r.a),o=a,l=r.gradientType?"GradientType = 1, ":"";if(t){var c=new n.C(t);o="#"+(0,i.GC)(c.r,c.g,c.b,c.a)}return"progid:DXImageTransform.Microsoft.gradient(".concat(l,"startColorstr=").concat(a,",endColorstr=").concat(o,")")}var s=r(90279);function f(e,t){var r={r:(0,s.JX)(e.r),g:(0,s.JX)(e.g),b:(0,s.JX)(e.b)};return void 0!==e.a&&(r.a=Number(e.a)),new n.C(r,t)}function d(){return new n.C({r:Math.random(),g:Math.random(),b:Math.random()})}var p=r(1350);function v(e){if(void 0===e&&(e={}),void 0!==e.count&&null!==e.count){var t=e.count,r=[];for(e.count=void 0;t>r.length;)e.count=null,e.seed&&(e.seed+=1),r.push(v(e));return e.count=t,r}var a=function(e,t){var r=h(function(e){var t=parseInt(e,10);if(!Number.isNaN(t)&&t<360&&t>0)return[t,t];if("string"===typeof e){var r=g.find((function(t){return t.name===e}));if(r){var a=y(r);if(a.hueRange)return a.hueRange}var o=new n.C(e);if(o.isValid){var l=o.toHsv().h;return[l,l]}}return[0,360]}(e),t);r<0&&(r=360+r);return r}(e.hue,e.seed),o=function(e,t){if("monochrome"===t.hue)return 0;if("random"===t.luminosity)return h([0,100],t.seed);var r=m(e).saturationRange,n=r[0],a=r[1];switch(t.luminosity){case"bright":n=55;break;case"dark":n=a-10;break;case"light":a=55}return h([n,a],t.seed)}(a,e),l=function(e,t,r){var n=function(e,t){for(var r=m(e).lowerBounds,n=0;n=a&&t<=l){var i=(c-o)/(l-a);return i*t+(o-i*a)}}return 0}(e,t),a=100;switch(r.luminosity){case"dark":a=n+20;break;case"light":n=(a+n)/2;break;case"random":n=0,a=100}return h([n,a],r.seed)}(a,o,e),c={h:a,s:o,v:l};return void 0!==e.alpha&&(c.a=e.alpha),new n.C(c)}function m(e){e>=334&&e<=360&&(e-=360);for(var t=0,r=g;t=n.hueRange[0]&&e<=n.hueRange[1])return n}throw Error("Color not found")}function h(e,t){if(void 0===t)return Math.floor(e[0]+Math.random()*(e[1]+1-e[0]));var r=e[1]||1,n=e[0]||0,a=(t=(9301*t+49297)%233280)/233280;return Math.floor(n+a*(r-n))}function y(e){var t=e.lowerBounds[0][0],r=e.lowerBounds[e.lowerBounds.length-1][0],n=e.lowerBounds[e.lowerBounds.length-1][1],a=e.lowerBounds[0][1];return{name:e.name,hueRange:e.hueRange,lowerBounds:e.lowerBounds,saturationRange:[t,r],brightnessRange:[n,a]}}var g=[{name:"monochrome",hueRange:null,lowerBounds:[[0,0],[100,0]]},{name:"red",hueRange:[-26,18],lowerBounds:[[20,100],[30,92],[40,89],[50,85],[60,78],[70,70],[80,60],[90,55],[100,50]]},{name:"orange",hueRange:[19,46],lowerBounds:[[20,100],[30,93],[40,88],[50,86],[60,85],[70,70],[100,70]]},{name:"yellow",hueRange:[47,62],lowerBounds:[[25,100],[40,94],[50,89],[60,86],[70,84],[80,82],[90,80],[100,75]]},{name:"green",hueRange:[63,178],lowerBounds:[[30,100],[40,90],[50,85],[60,81],[70,74],[80,64],[90,50],[100,40]]},{name:"blue",hueRange:[179,257],lowerBounds:[[20,100],[30,86],[40,80],[50,74],[60,60],[70,52],[80,44],[90,39],[100,35]]},{name:"purple",hueRange:[258,282],lowerBounds:[[20,100],[30,87],[40,79],[50,70],[60,65],[70,59],[80,52],[90,45],[100,42]]},{name:"pink",hueRange:[283,334],lowerBounds:[[20,100],[30,90],[40,86],[60,84],[80,80],[90,75],[100,73]]}],b=n.H},24308:function(e,t,r){"use strict";r.d(t,{c4:function(){return o}});var n=r(4942),a=r(87462),o=["xxl","xl","lg","md","sm","xs"],l={xs:"(max-width: 575px)",sm:"(min-width: 576px)",md:"(min-width: 768px)",lg:"(min-width: 992px)",xl:"(min-width: 1200px)",xxl:"(min-width: 1600px)"},c=new Map,i=-1,u={},s={matchHandlers:{},dispatch:function(e){return u=e,c.forEach((function(e){return e(u)})),c.size>=1},subscribe:function(e){return c.size||this.register(),i+=1,c.set(i,e),e(u),i},unsubscribe:function(e){c.delete(e),c.size||this.unregister()},unregister:function(){var e=this;Object.keys(l).forEach((function(t){var r=l[t],n=e.matchHandlers[r];null===n||void 0===n||n.mql.removeListener(null===n||void 0===n?void 0:n.listener)})),c.clear()},register:function(){var e=this;Object.keys(l).forEach((function(t){var r=l[t],o=function(r){var o=r.matches;e.dispatch((0,a.Z)((0,a.Z)({},u),(0,n.Z)({},t,o)))},c=window.matchMedia(r);c.addListener(o),e.matchHandlers[r]={mql:c,listener:o},o(c)}))}};t.ZP=s},27049:function(e,t,r){"use strict";var n=r(87462),a=r(4942),o=r(67294),l=r(94184),c=r.n(l),i=r(59844),u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a0?"-".concat(v):v,O=!!y,w="left"===v&&null!=m,x="right"===v&&null!=m,k=c()(E,"".concat(E,"-").concat(d),(r={},(0,a.Z)(r,"".concat(E,"-with-text"),O),(0,a.Z)(r,"".concat(E,"-with-text").concat(C),O),(0,a.Z)(r,"".concat(E,"-dashed"),!!g),(0,a.Z)(r,"".concat(E,"-plain"),!!b),(0,a.Z)(r,"".concat(E,"-rtl"),"rtl"===i),(0,a.Z)(r,"".concat(E,"-no-default-orientation-margin-left"),w),(0,a.Z)(r,"".concat(E,"-no-default-orientation-margin-right"),x),r),h),P=(0,n.Z)((0,n.Z)({},w&&{marginLeft:m}),x&&{marginRight:m});return o.createElement("div",(0,n.Z)({className:k},M,{role:"separator"}),y&&o.createElement("span",{className:"".concat(E,"-inner-text"),style:P},y))}))}},33859:function(e,t,r){"use strict";r.d(t,{ZP:function(){return w}});var n=r(4942),a=r(67294),o=r(94184),l=r.n(o),c=r(89739),i=r(4340),u=r(21640),s=r(1413),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M955.7 856l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zM480 416c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v184c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V416zm32 352a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"warning",theme:"filled"},d=r(42135),p=function(e,t){return a.createElement(d.Z,(0,s.Z)((0,s.Z)({},e),{},{ref:t,icon:f}))};p.displayName="WarningFilled";var v=a.forwardRef(p),m=r(59844),h=r(21687),y=function(){return a.createElement("svg",{width:"252",height:"294"},a.createElement("defs",null,a.createElement("path",{d:"M0 .387h251.772v251.772H0z"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(0 .012)"},a.createElement("mask",{fill:"#fff"}),a.createElement("path",{d:"M0 127.32v-2.095C0 56.279 55.892.387 124.838.387h2.096c68.946 0 124.838 55.892 124.838 124.838v2.096c0 68.946-55.892 124.838-124.838 124.838h-2.096C55.892 252.16 0 196.267 0 127.321",fill:"#E4EBF7",mask:"url(#b)"})),a.createElement("path",{d:"M39.755 130.84a8.276 8.276 0 1 1-16.468-1.66 8.276 8.276 0 0 1 16.468 1.66",fill:"#FFF"}),a.createElement("path",{d:"M36.975 134.297l10.482 5.943M48.373 146.508l-12.648 10.788",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M39.875 159.352a5.667 5.667 0 1 1-11.277-1.136 5.667 5.667 0 0 1 11.277 1.136M57.588 143.247a5.708 5.708 0 1 1-11.358-1.145 5.708 5.708 0 0 1 11.358 1.145M99.018 26.875l29.82-.014a4.587 4.587 0 1 0-.003-9.175l-29.82.013a4.587 4.587 0 1 0 .003 9.176M110.424 45.211l29.82-.013a4.588 4.588 0 0 0-.004-9.175l-29.82.013a4.587 4.587 0 1 0 .004 9.175",fill:"#FFF"}),a.createElement("path",{d:"M112.798 26.861v-.002l15.784-.006a4.588 4.588 0 1 0 .003 9.175l-15.783.007v-.002a4.586 4.586 0 0 0-.004-9.172M184.523 135.668c-.553 5.485-5.447 9.483-10.931 8.93-5.485-.553-9.483-5.448-8.93-10.932.552-5.485 5.447-9.483 10.932-8.93 5.485.553 9.483 5.447 8.93 10.932",fill:"#FFF"}),a.createElement("path",{d:"M179.26 141.75l12.64 7.167M193.006 156.477l-15.255 13.011",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M184.668 170.057a6.835 6.835 0 1 1-13.6-1.372 6.835 6.835 0 0 1 13.6 1.372M203.34 153.325a6.885 6.885 0 1 1-13.7-1.382 6.885 6.885 0 0 1 13.7 1.382",fill:"#FFF"}),a.createElement("path",{d:"M151.931 192.324a2.222 2.222 0 1 1-4.444 0 2.222 2.222 0 0 1 4.444 0zM225.27 116.056a2.222 2.222 0 1 1-4.445 0 2.222 2.222 0 0 1 4.444 0zM216.38 151.08a2.223 2.223 0 1 1-4.446-.001 2.223 2.223 0 0 1 4.446 0zM176.917 107.636a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM195.291 92.165a2.223 2.223 0 1 1-4.445 0 2.223 2.223 0 0 1 4.445 0zM202.058 180.711a2.223 2.223 0 1 1-4.446 0 2.223 2.223 0 0 1 4.446 0z",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M214.404 153.302l-1.912 20.184-10.928 5.99M173.661 174.792l-6.356 9.814h-11.36l-4.508 6.484M174.941 125.168v-15.804M220.824 117.25l-12.84 7.901-15.31-7.902V94.39"}),a.createElement("path",{d:"M166.588 65.936h-3.951a4.756 4.756 0 0 1-4.743-4.742 4.756 4.756 0 0 1 4.743-4.743h3.951a4.756 4.756 0 0 1 4.743 4.743 4.756 4.756 0 0 1-4.743 4.742",fill:"#FFF"}),a.createElement("path",{d:"M174.823 30.03c0-16.281 13.198-29.48 29.48-29.48 16.28 0 29.48 13.199 29.48 29.48 0 16.28-13.2 29.48-29.48 29.48-16.282 0-29.48-13.2-29.48-29.48",fill:"#1890FF"}),a.createElement("path",{d:"M205.952 38.387c.5.5.785 1.142.785 1.928s-.286 1.465-.785 1.964c-.572.5-1.214.75-2 .75-.785 0-1.429-.285-1.929-.785-.572-.5-.82-1.143-.82-1.929s.248-1.428.82-1.928c.5-.5 1.144-.75 1.93-.75.785 0 1.462.25 1.999.75m4.285-19.463c1.428 1.249 2.143 2.963 2.143 5.142 0 1.712-.427 3.13-1.219 4.25-.067.096-.137.18-.218.265-.416.429-1.41 1.346-2.956 2.699a5.07 5.07 0 0 0-1.428 1.75 5.207 5.207 0 0 0-.536 2.357v.5h-4.107v-.5c0-1.357.215-2.536.714-3.5.464-.964 1.857-2.464 4.178-4.536l.43-.5c.643-.785.964-1.643.964-2.535 0-1.18-.358-2.108-1-2.785-.678-.68-1.643-1.001-2.858-1.001-1.536 0-2.642.464-3.357 1.43-.37.5-.621 1.135-.76 1.904a1.999 1.999 0 0 1-1.971 1.63h-.004c-1.277 0-2.257-1.183-1.98-2.43.337-1.518 1.02-2.78 2.073-3.784 1.536-1.5 3.607-2.25 6.25-2.25 2.32 0 4.214.607 5.642 1.894",fill:"#FFF"}),a.createElement("path",{d:"M52.04 76.131s21.81 5.36 27.307 15.945c5.575 10.74-6.352 9.26-15.73 4.935-10.86-5.008-24.7-11.822-11.577-20.88",fill:"#FFB594"}),a.createElement("path",{d:"M90.483 67.504l-.449 2.893c-.753.49-4.748-2.663-4.748-2.663l-1.645.748-1.346-5.684s6.815-4.589 8.917-5.018c2.452-.501 9.884.94 10.7 2.278 0 0 1.32.486-2.227.69-3.548.203-5.043.447-6.79 3.132-1.747 2.686-2.412 3.624-2.412 3.624",fill:"#FFC6A0"}),a.createElement("path",{d:"M128.055 111.367c-2.627-7.724-6.15-13.18-8.917-15.478-3.5-2.906-9.34-2.225-11.366-4.187-1.27-1.231-3.215-1.197-3.215-1.197s-14.98-3.158-16.828-3.479c-2.37-.41-2.124-.714-6.054-1.405-1.57-1.907-2.917-1.122-2.917-1.122l-7.11-1.383c-.853-1.472-2.423-1.023-2.423-1.023l-2.468-.897c-1.645 9.976-7.74 13.796-7.74 13.796 1.795 1.122 15.703 8.3 15.703 8.3l5.107 37.11s-3.321 5.694 1.346 9.109c0 0 19.883-3.743 34.921-.329 0 0 3.047-2.546.972-8.806.523-3.01 1.394-8.263 1.736-11.622.385.772 2.019 1.918 3.14 3.477 0 0 9.407-7.365 11.052-14.012-.832-.723-1.598-1.585-2.267-2.453-.567-.736-.358-2.056-.765-2.717-.669-1.084-1.804-1.378-1.907-1.682",fill:"#FFF"}),a.createElement("path",{d:"M101.09 289.998s4.295 2.041 7.354 1.021c2.821-.94 4.53.668 7.08 1.178 2.55.51 6.874 1.1 11.686-1.26-.103-5.51-6.889-3.98-11.96-6.713-2.563-1.38-3.784-4.722-3.598-8.799h-9.402s-1.392 10.52-1.16 14.573",fill:"#CBD1D1"}),a.createElement("path",{d:"M101.067 289.826s2.428 1.271 6.759.653c3.058-.437 3.712.481 7.423 1.031 3.712.55 10.724-.069 11.823-.894.413 1.1-.343 2.063-.343 2.063s-1.512.603-4.812.824c-2.03.136-5.8.291-7.607-.503-1.787-1.375-5.247-1.903-5.728-.241-3.918.95-7.355-.286-7.355-.286l-.16-2.647z",fill:"#2B0849"}),a.createElement("path",{d:"M108.341 276.044h3.094s-.103 6.702 4.536 8.558c-4.64.618-8.558-2.303-7.63-8.558",fill:"#A4AABA"}),a.createElement("path",{d:"M57.542 272.401s-2.107 7.416-4.485 12.306c-1.798 3.695-4.225 7.492 5.465 7.492 6.648 0 8.953-.48 7.423-6.599-1.53-6.12.266-13.199.266-13.199h-8.669z",fill:"#CBD1D1"}),a.createElement("path",{d:"M51.476 289.793s2.097 1.169 6.633 1.169c6.083 0 8.249-1.65 8.249-1.65s.602 1.114-.619 2.165c-.993.855-3.597 1.591-7.39 1.546-4.145-.048-5.832-.566-6.736-1.168-.825-.55-.687-1.58-.137-2.062",fill:"#2B0849"}),a.createElement("path",{d:"M58.419 274.304s.033 1.519-.314 2.93c-.349 1.42-1.078 3.104-1.13 4.139-.058 1.151 4.537 1.58 5.155.034.62-1.547 1.294-6.427 1.913-7.252.619-.825-4.903-2.119-5.624.15",fill:"#A4AABA"}),a.createElement("path",{d:"M99.66 278.514l13.378.092s1.298-54.52 1.853-64.403c.554-9.882 3.776-43.364 1.002-63.128l-12.547-.644-22.849.78s-.434 3.966-1.195 9.976c-.063.496-.682.843-.749 1.365-.075.585.423 1.354.32 1.966-2.364 14.08-6.377 33.104-8.744 46.677-.116.666-1.234 1.009-1.458 2.691-.04.302.211 1.525.112 1.795-6.873 18.744-10.949 47.842-14.277 61.885l14.607-.014s2.197-8.57 4.03-16.97c2.811-12.886 23.111-85.01 23.111-85.01l3.016-.521 1.043 46.35s-.224 1.234.337 2.02c.56.785-.56 1.123-.392 2.244l.392 1.794s-.449 7.178-.898 11.89c-.448 4.71-.092 39.165-.092 39.165",fill:"#7BB2F9"}),a.createElement("path",{d:"M76.085 221.626c1.153.094 4.038-2.019 6.955-4.935M106.36 225.142s2.774-1.11 6.103-3.883",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M107.275 222.1s2.773-1.11 6.102-3.884",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M74.74 224.767s2.622-.591 6.505-3.365M86.03 151.634c-.27 3.106.3 8.525-4.336 9.123M103.625 149.88s.11 14.012-1.293 15.065c-2.219 1.664-2.99 1.944-2.99 1.944M99.79 150.438s.035 12.88-1.196 24.377M93.673 175.911s7.212-1.664 9.431-1.664M74.31 205.861a212.013 212.013 0 0 1-.979 4.56s-1.458 1.832-1.009 3.776c.449 1.944-.947 2.045-4.985 15.355-1.696 5.59-4.49 18.591-6.348 27.597l-.231 1.12M75.689 197.807a320.934 320.934 0 0 1-.882 4.754M82.591 152.233L81.395 162.7s-1.097.15-.5 2.244c.113 1.346-2.674 15.775-5.18 30.43M56.12 274.418h13.31",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M116.241 148.22s-17.047-3.104-35.893.2c.158 2.514-.003 4.15-.003 4.15s14.687-2.818 35.67-.312c.252-2.355.226-4.038.226-4.038",fill:"#192064"}),a.createElement("path",{d:"M106.322 151.165l.003-4.911a.81.81 0 0 0-.778-.815c-2.44-.091-5.066-.108-7.836-.014a.818.818 0 0 0-.789.815l-.003 4.906a.81.81 0 0 0 .831.813c2.385-.06 4.973-.064 7.73.017a.815.815 0 0 0 .842-.81",fill:"#FFF"}),a.createElement("path",{d:"M105.207 150.233l.002-3.076a.642.642 0 0 0-.619-.646 94.321 94.321 0 0 0-5.866-.01.65.65 0 0 0-.63.647v3.072a.64.64 0 0 0 .654.644 121.12 121.12 0 0 1 5.794.011c.362.01.665-.28.665-.642",fill:"#192064"}),a.createElement("path",{d:"M100.263 275.415h12.338M101.436 270.53c.006 3.387.042 5.79.111 6.506M101.451 264.548a915.75 915.75 0 0 0-.015 4.337M100.986 174.965l.898 44.642s.673 1.57-.225 2.692c-.897 1.122 2.468.673.898 2.243-1.57 1.57.897 1.122 0 3.365-.596 1.489-.994 21.1-1.096 35.146",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M46.876 83.427s-.516 6.045 7.223 5.552c11.2-.712 9.218-9.345 31.54-21.655-.786-2.708-2.447-4.744-2.447-4.744s-11.068 3.11-22.584 8.046c-6.766 2.9-13.395 6.352-13.732 12.801M104.46 91.057l.941-5.372-8.884-11.43-5.037 5.372-1.74 7.834a.321.321 0 0 0 .108.32c.965.8 6.5 5.013 14.347 3.544a.332.332 0 0 0 .264-.268",fill:"#FFC6A0"}),a.createElement("path",{d:"M93.942 79.387s-4.533-2.853-2.432-6.855c1.623-3.09 4.513 1.133 4.513 1.133s.52-3.642 3.121-3.642c.52-1.04 1.561-4.162 1.561-4.162s11.445 2.601 13.526 3.121c0 5.203-2.304 19.424-7.84 19.861-8.892.703-12.449-9.456-12.449-9.456",fill:"#FFC6A0"}),a.createElement("path",{d:"M113.874 73.446c2.601-2.081 3.47-9.722 3.47-9.722s-2.479-.49-6.64-2.05c-4.683-2.081-12.798-4.747-17.48.976-9.668 3.223-2.05 19.823-2.05 19.823l2.713-3.021s-3.935-3.287-2.08-6.243c2.17-3.462 3.92 1.073 3.92 1.073s.637-2.387 3.581-3.342c.355-.71 1.036-2.674 1.432-3.85a1.073 1.073 0 0 1 1.263-.704c2.4.558 8.677 2.019 11.356 2.662.522.125.871.615.82 1.15l-.305 3.248z",fill:"#520038"}),a.createElement("path",{d:"M104.977 76.064c-.103.61-.582 1.038-1.07.956-.489-.083-.801-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.644.698 1.254M112.132 77.694c-.103.61-.582 1.038-1.07.956-.488-.083-.8-.644-.698-1.254.103-.61.582-1.038 1.07-.956.488.082.8.643.698 1.254",fill:"#552950"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round",d:"M110.13 74.84l-.896 1.61-.298 4.357h-2.228"}),a.createElement("path",{d:"M110.846 74.481s1.79-.716 2.506.537",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.386 74.282s.477-1.114 1.113-.716c.637.398 1.274 1.433.558 1.99-.717.556.159 1.67.159 1.67",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M103.287 72.93s1.83 1.113 4.137.954",stroke:"#5C2552",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M103.685 81.762s2.227 1.193 4.376 1.193M104.64 84.308s.954.398 1.511.318M94.693 81.205s2.308 7.4 10.424 7.639",stroke:"#DB836E",strokeWidth:"1.118",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M81.45 89.384s.45 5.647-4.935 12.787M69 82.654s-.726 9.282-8.204 14.206",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M129.405 122.865s-5.272 7.403-9.422 10.768",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M119.306 107.329s.452 4.366-2.127 32.062",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M150.028 151.232h-49.837a1.01 1.01 0 0 1-1.01-1.01v-31.688c0-.557.452-1.01 1.01-1.01h49.837c.558 0 1.01.453 1.01 1.01v31.688a1.01 1.01 0 0 1-1.01 1.01",fill:"#F2D7AD"}),a.createElement("path",{d:"M150.29 151.232h-19.863v-33.707h20.784v32.786a.92.92 0 0 1-.92.92",fill:"#F4D19D"}),a.createElement("path",{d:"M123.554 127.896H92.917a.518.518 0 0 1-.425-.816l6.38-9.113c.193-.277.51-.442.85-.442h31.092l-7.26 10.371z",fill:"#F2D7AD"}),a.createElement("path",{fill:"#CC9B6E",d:"M123.689 128.447H99.25v-.519h24.169l7.183-10.26.424.298z"}),a.createElement("path",{d:"M158.298 127.896h-18.669a2.073 2.073 0 0 1-1.659-.83l-7.156-9.541h19.965c.49 0 .95.23 1.244.622l6.69 8.92a.519.519 0 0 1-.415.83",fill:"#F4D19D"}),a.createElement("path",{fill:"#CC9B6E",d:"M157.847 128.479h-19.384l-7.857-10.475.415-.31 7.7 10.266h19.126zM130.554 150.685l-.032-8.177.519-.002.032 8.177z"}),a.createElement("path",{fill:"#CC9B6E",d:"M130.511 139.783l-.08-21.414.519-.002.08 21.414zM111.876 140.932l-.498-.143 1.479-5.167.498.143zM108.437 141.06l-2.679-2.935 2.665-3.434.41.318-2.397 3.089 2.384 2.612zM116.607 141.06l-.383-.35 2.383-2.612-2.397-3.089.41-.318 2.665 3.434z"}),a.createElement("path",{d:"M154.316 131.892l-3.114-1.96.038 3.514-1.043.092c-1.682.115-3.634.23-4.789.23-1.902 0-2.693 2.258 2.23 2.648l-2.645-.596s-2.168 1.317.504 2.3c0 0-1.58 1.217.561 2.58-.584 3.504 5.247 4.058 7.122 3.59 1.876-.47 4.233-2.359 4.487-5.16.28-3.085-.89-5.432-3.35-7.238",fill:"#FFC6A0"}),a.createElement("path",{d:"M153.686 133.577s-6.522.47-8.36.372c-1.836-.098-1.904 2.19 2.359 2.264 3.739.15 5.451-.044 5.451-.044",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M145.16 135.877c-1.85 1.346.561 2.355.561 2.355s3.478.898 6.73.617",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M151.89 141.71s-6.28.111-6.73-2.132c-.223-1.346.45-1.402.45-1.402M146.114 140.868s-1.103 3.16 5.44 3.533M151.202 129.932v3.477M52.838 89.286c3.533-.337 8.423-1.248 13.582-7.754",stroke:"#DB836E",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M168.567 248.318a6.647 6.647 0 0 1-6.647-6.647v-66.466a6.647 6.647 0 1 1 13.294 0v66.466a6.647 6.647 0 0 1-6.647 6.647",fill:"#5BA02E"}),a.createElement("path",{d:"M176.543 247.653a6.647 6.647 0 0 1-6.646-6.647v-33.232a6.647 6.647 0 1 1 13.293 0v33.232a6.647 6.647 0 0 1-6.647 6.647",fill:"#92C110"}),a.createElement("path",{d:"M186.443 293.613H158.92a3.187 3.187 0 0 1-3.187-3.187v-46.134a3.187 3.187 0 0 1 3.187-3.187h27.524a3.187 3.187 0 0 1 3.187 3.187v46.134a3.187 3.187 0 0 1-3.187 3.187",fill:"#F2D7AD"}),a.createElement("path",{d:"M88.979 89.48s7.776 5.384 16.6 2.842",stroke:"#E4EBF7",strokeWidth:"1.101",strokeLinecap:"round",strokeLinejoin:"round"})))},g=function(){return a.createElement("svg",{width:"254",height:"294"},a.createElement("defs",null,a.createElement("path",{d:"M0 .335h253.49v253.49H0z"}),a.createElement("path",{d:"M0 293.665h253.49V.401H0z"})),a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(0 .067)"},a.createElement("mask",{fill:"#fff"}),a.createElement("path",{d:"M0 128.134v-2.11C0 56.608 56.273.334 125.69.334h2.11c69.416 0 125.69 56.274 125.69 125.69v2.11c0 69.417-56.274 125.69-125.69 125.69h-2.11C56.273 253.824 0 197.551 0 128.134",fill:"#E4EBF7",mask:"url(#b)"})),a.createElement("path",{d:"M39.989 132.108a8.332 8.332 0 1 1-16.581-1.671 8.332 8.332 0 0 1 16.58 1.671",fill:"#FFF"}),a.createElement("path",{d:"M37.19 135.59l10.553 5.983M48.665 147.884l-12.734 10.861",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M40.11 160.816a5.706 5.706 0 1 1-11.354-1.145 5.706 5.706 0 0 1 11.354 1.145M57.943 144.6a5.747 5.747 0 1 1-11.436-1.152 5.747 5.747 0 0 1 11.436 1.153M99.656 27.434l30.024-.013a4.619 4.619 0 1 0-.004-9.238l-30.024.013a4.62 4.62 0 0 0 .004 9.238M111.14 45.896l30.023-.013a4.62 4.62 0 1 0-.004-9.238l-30.024.013a4.619 4.619 0 1 0 .004 9.238",fill:"#FFF"}),a.createElement("path",{d:"M113.53 27.421v-.002l15.89-.007a4.619 4.619 0 1 0 .005 9.238l-15.892.007v-.002a4.618 4.618 0 0 0-.004-9.234M150.167 70.091h-3.979a4.789 4.789 0 0 1-4.774-4.775 4.788 4.788 0 0 1 4.774-4.774h3.979a4.789 4.789 0 0 1 4.775 4.774 4.789 4.789 0 0 1-4.775 4.775",fill:"#FFF"}),a.createElement("path",{d:"M171.687 30.234c0-16.392 13.289-29.68 29.681-29.68 16.392 0 29.68 13.288 29.68 29.68 0 16.393-13.288 29.681-29.68 29.681s-29.68-13.288-29.68-29.68",fill:"#FF603B"}),a.createElement("path",{d:"M203.557 19.435l-.676 15.035a1.514 1.514 0 0 1-3.026 0l-.675-15.035a2.19 2.19 0 1 1 4.377 0m-.264 19.378c.513.477.77 1.1.77 1.87s-.257 1.393-.77 1.907c-.55.476-1.21.733-1.943.733a2.545 2.545 0 0 1-1.87-.77c-.55-.514-.806-1.136-.806-1.87 0-.77.256-1.393.806-1.87.513-.513 1.137-.733 1.87-.733.77 0 1.43.22 1.943.733",fill:"#FFF"}),a.createElement("path",{d:"M119.3 133.275c4.426-.598 3.612-1.204 4.079-4.778.675-5.18-3.108-16.935-8.262-25.118-1.088-10.72-12.598-11.24-12.598-11.24s4.312 4.895 4.196 16.199c1.398 5.243.804 14.45.804 14.45s5.255 11.369 11.78 10.487",fill:"#FFB594"}),a.createElement("path",{d:"M100.944 91.61s1.463-.583 3.211.582c8.08 1.398 10.368 6.706 11.3 11.368 1.864 1.282 1.864 2.33 1.864 3.496.365.777 1.515 3.03 1.515 3.03s-7.225 1.748-10.954 6.758c-1.399-6.41-6.936-25.235-6.936-25.235",fill:"#FFF"}),a.createElement("path",{d:"M94.008 90.5l1.019-5.815-9.23-11.874-5.233 5.581-2.593 9.863s8.39 5.128 16.037 2.246",fill:"#FFB594"}),a.createElement("path",{d:"M82.931 78.216s-4.557-2.868-2.445-6.892c1.632-3.107 4.537 1.139 4.537 1.139s.524-3.662 3.139-3.662c.523-1.046 1.569-4.184 1.569-4.184s11.507 2.615 13.6 3.138c-.001 5.23-2.317 19.529-7.884 19.969-8.94.706-12.516-9.508-12.516-9.508",fill:"#FFC6A0"}),a.createElement("path",{d:"M102.971 72.243c2.616-2.093 3.489-9.775 3.489-9.775s-2.492-.492-6.676-2.062c-4.708-2.092-12.867-4.771-17.575.982-9.54 4.41-2.062 19.93-2.062 19.93l2.729-3.037s-3.956-3.304-2.092-6.277c2.183-3.48 3.943 1.08 3.943 1.08s.64-2.4 3.6-3.36c.356-.714 1.04-2.69 1.44-3.872a1.08 1.08 0 0 1 1.27-.707c2.41.56 8.723 2.03 11.417 2.676.524.126.876.619.825 1.156l-.308 3.266z",fill:"#520038"}),a.createElement("path",{d:"M101.22 76.514c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.961.491.083.805.647.702 1.26M94.26 75.074c-.104.613-.585 1.044-1.076.96-.49-.082-.805-.646-.702-1.26.104-.613.585-1.044 1.076-.96.491.082.805.646.702 1.26",fill:"#552950"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round",d:"M99.206 73.644l-.9 1.62-.3 4.38h-2.24"}),a.createElement("path",{d:"M99.926 73.284s1.8-.72 2.52.54",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M81.367 73.084s.48-1.12 1.12-.72c.64.4 1.28 1.44.56 2s.16 1.68.16 1.68",stroke:"#DB836E",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.326 71.724s1.84 1.12 4.16.96",stroke:"#5C2552",strokeWidth:"1.117",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M92.726 80.604s2.24 1.2 4.4 1.2M93.686 83.164s.96.4 1.52.32M83.687 80.044s1.786 6.547 9.262 7.954",stroke:"#DB836E",strokeWidth:"1.063",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M95.548 91.663s-1.068 2.821-8.298 2.105c-7.23-.717-10.29-5.044-10.29-5.044",stroke:"#E4EBF7",strokeWidth:"1.136",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M78.126 87.478s6.526 4.972 16.47 2.486c0 0 9.577 1.02 11.536 5.322 5.36 11.77.543 36.835 0 39.962 3.496 4.055-.466 8.483-.466 8.483-15.624-3.548-35.81-.6-35.81-.6-4.849-3.546-1.223-9.044-1.223-9.044L62.38 110.32c-2.485-15.227.833-19.803 3.549-20.743 3.03-1.049 8.04-1.282 8.04-1.282.496-.058 1.08-.076 1.37-.233 2.36-1.282 2.787-.583 2.787-.583",fill:"#FFF"}),a.createElement("path",{d:"M65.828 89.81s-6.875.465-7.59 8.156c-.466 8.857 3.03 10.954 3.03 10.954s6.075 22.102 16.796 22.957c8.39-2.176 4.758-6.702 4.661-11.42-.233-11.304-7.108-16.897-7.108-16.897s-4.212-13.75-9.789-13.75",fill:"#FFC6A0"}),a.createElement("path",{d:"M71.716 124.225s.855 11.264 9.828 6.486c4.765-2.536 7.581-13.828 9.789-22.568 1.456-5.768 2.58-12.197 2.58-12.197l-4.973-1.709s-2.408 5.516-7.769 12.275c-4.335 5.467-9.144 11.11-9.455 17.713",fill:"#FFC6A0"}),a.createElement("path",{d:"M108.463 105.191s1.747 2.724-2.331 30.535c2.376 2.216 1.053 6.012-.233 7.51",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M123.262 131.527s-.427 2.732-11.77 1.981c-15.187-1.006-25.326-3.25-25.326-3.25l.933-5.8s.723.215 9.71-.068c11.887-.373 18.714-6.07 24.964-1.022 4.039 3.263 1.489 8.16 1.489 8.16",fill:"#FFC6A0"}),a.createElement("path",{d:"M70.24 90.974s-5.593-4.739-11.054 2.68c-3.318 7.223.517 15.284 2.664 19.578-.31 3.729 2.33 4.311 2.33 4.311s.108.895 1.516 2.68c4.078-7.03 6.72-9.166 13.711-12.546-.328-.656-1.877-3.265-1.825-3.767.175-1.69-1.282-2.623-1.282-2.623s-.286-.156-1.165-2.738c-.788-2.313-2.036-5.177-4.895-7.575",fill:"#FFF"}),a.createElement("path",{d:"M90.232 288.027s4.855 2.308 8.313 1.155c3.188-1.063 5.12.755 8.002 1.331 2.881.577 7.769 1.243 13.207-1.424-.117-6.228-7.786-4.499-13.518-7.588-2.895-1.56-4.276-5.336-4.066-9.944H91.544s-1.573 11.89-1.312 16.47",fill:"#CBD1D1"}),a.createElement("path",{d:"M90.207 287.833s2.745 1.437 7.639.738c3.456-.494 3.223.66 7.418 1.282 4.195.621 13.092-.194 14.334-1.126.466 1.242-.388 2.33-.388 2.33s-1.709.682-5.438.932c-2.295.154-8.098.276-10.14-.621-2.02-1.554-4.894-1.515-6.06-.234-4.427 1.075-7.184-.31-7.184-.31l-.181-2.991z",fill:"#2B0849"}),a.createElement("path",{d:"M98.429 272.257h3.496s-.117 7.574 5.127 9.671c-5.244.7-9.672-2.602-8.623-9.671",fill:"#A4AABA"}),a.createElement("path",{d:"M44.425 272.046s-2.208 7.774-4.702 12.899c-1.884 3.874-4.428 7.854 5.729 7.854 6.97 0 9.385-.503 7.782-6.917-1.604-6.415.279-13.836.279-13.836h-9.088z",fill:"#CBD1D1"}),a.createElement("path",{d:"M38.066 290.277s2.198 1.225 6.954 1.225c6.376 0 8.646-1.73 8.646-1.73s.63 1.168-.649 2.27c-1.04.897-3.77 1.668-7.745 1.621-4.347-.05-6.115-.593-7.062-1.224-.864-.577-.72-1.657-.144-2.162",fill:"#2B0849"}),a.createElement("path",{d:"M45.344 274.041s.035 1.592-.329 3.07c-.365 1.49-1.13 3.255-1.184 4.34-.061 1.206 4.755 1.657 5.403.036.65-1.622 1.357-6.737 2.006-7.602.648-.865-5.14-2.222-5.896.156",fill:"#A4AABA"}),a.createElement("path",{d:"M89.476 277.57l13.899.095s1.349-56.643 1.925-66.909c.576-10.267 3.923-45.052 1.042-65.585l-13.037-.669-23.737.81s-.452 4.12-1.243 10.365c-.065.515-.708.874-.777 1.417-.078.608.439 1.407.332 2.044-2.455 14.627-5.797 32.736-8.256 46.837-.121.693-1.282 1.048-1.515 2.796-.042.314.22 1.584.116 1.865-7.14 19.473-12.202 52.601-15.66 67.19l15.176-.015s2.282-10.145 4.185-18.871c2.922-13.389 24.012-88.32 24.012-88.32l3.133-.954-.158 48.568s-.233 1.282.35 2.098c.583.815-.581 1.167-.408 2.331l.408 1.864s-.466 7.458-.932 12.352c-.467 4.895 1.145 40.69 1.145 40.69",fill:"#7BB2F9"}),a.createElement("path",{d:"M64.57 218.881c1.197.099 4.195-2.097 7.225-5.127M96.024 222.534s2.881-1.152 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M96.973 219.373s2.882-1.153 6.34-4.034",stroke:"#648BD8",strokeWidth:"1.032",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M63.172 222.144s2.724-.614 6.759-3.496M74.903 146.166c-.281 3.226.31 8.856-4.506 9.478M93.182 144.344s.115 14.557-1.344 15.65c-2.305 1.73-3.107 2.02-3.107 2.02M89.197 144.923s.269 13.144-1.01 25.088M83.525 170.71s6.81-1.051 9.116-1.051M46.026 270.045l-.892 4.538M46.937 263.289l-.815 4.157M62.725 202.503c-.33 1.618-.102 1.904-.449 3.438 0 0-2.756 1.903-2.29 3.923.466 2.02-.31 3.424-4.505 17.252-1.762 5.807-4.233 18.922-6.165 28.278-.03.144-.521 2.646-1.14 5.8M64.158 194.136c-.295 1.658-.6 3.31-.917 4.938M71.33 146.787l-1.244 10.877s-1.14.155-.519 2.33c.117 1.399-2.778 16.39-5.382 31.615M44.242 273.727H58.07",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M106.18 142.117c-3.028-.489-18.825-2.744-36.219.2a.625.625 0 0 0-.518.644c.063 1.307.044 2.343.015 2.995a.617.617 0 0 0 .716.636c3.303-.534 17.037-2.412 35.664-.266.347.04.66-.214.692-.56.124-1.347.16-2.425.17-3.029a.616.616 0 0 0-.52-.62",fill:"#192064"}),a.createElement("path",{d:"M96.398 145.264l.003-5.102a.843.843 0 0 0-.809-.847 114.104 114.104 0 0 0-8.141-.014.85.85 0 0 0-.82.847l-.003 5.097c0 .476.388.857.864.845 2.478-.064 5.166-.067 8.03.017a.848.848 0 0 0 .876-.843",fill:"#FFF"}),a.createElement("path",{d:"M95.239 144.296l.002-3.195a.667.667 0 0 0-.643-.672c-1.9-.061-3.941-.073-6.094-.01a.675.675 0 0 0-.654.672l-.002 3.192c0 .376.305.677.68.669 1.859-.042 3.874-.043 6.02.012.376.01.69-.291.691-.668",fill:"#192064"}),a.createElement("path",{d:"M90.102 273.522h12.819M91.216 269.761c.006 3.519-.072 5.55 0 6.292M90.923 263.474c-.009 1.599-.016 2.558-.016 4.505M90.44 170.404l.932 46.38s.7 1.631-.233 2.796c-.932 1.166 2.564.7.932 2.33-1.63 1.633.933 1.166 0 3.497-.618 1.546-1.031 21.921-1.138 36.513",stroke:"#648BD8",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M73.736 98.665l2.214 4.312s2.098.816 1.865 2.68l.816 2.214M64.297 116.611c.233-.932 2.176-7.147 12.585-10.488M77.598 90.042s7.691 6.137 16.547 2.72",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M91.974 86.954s5.476-.816 7.574-4.545c1.297-.345.72 2.212-.33 3.671-.7.971-1.01 1.554-1.01 1.554s.194.31.155.816c-.053.697-.175.653-.272 1.048-.081.335.108.657 0 1.049-.046.17-.198.5-.382.878-.12.249-.072.687-.2.948-.231.469-1.562 1.87-2.622 2.855-3.826 3.554-5.018 1.644-6.001-.408-.894-1.865-.661-5.127-.874-6.875-.35-2.914-2.622-3.03-1.923-4.429.343-.685 2.87.69 3.263 1.748.757 2.04 2.952 1.807 2.622 1.69",fill:"#FFC6A0"}),a.createElement("path",{d:"M99.8 82.429c-.465.077-.35.272-.97 1.243-.622.971-4.817 2.932-6.39 3.224-2.589.48-2.278-1.56-4.254-2.855-1.69-1.107-3.562-.638-1.398 1.398.99.932.932 1.107 1.398 3.205.335 1.506-.64 3.67.7 5.593",stroke:"#DB836E",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M79.543 108.673c-2.1 2.926-4.266 6.175-5.557 8.762",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.72 124.768s-2.098-1.942-5.127-2.719c-3.03-.777-3.574-.155-5.516.078-1.942.233-3.885-.932-3.652.7.233 1.63 5.05 1.01 5.206 2.097.155 1.087-6.37 2.796-8.313 2.175-.777.777.466 1.864 2.02 2.175.233 1.554 2.253 1.554 2.253 1.554s.699 1.01 2.641 1.088c2.486 1.32 8.934-.7 10.954-1.554 2.02-.855-.466-5.594-.466-5.594",fill:"#FFC6A0"}),a.createElement("path",{d:"M73.425 122.826s.66 1.127 3.167 1.418c2.315.27 2.563.583 2.563.583s-2.545 2.894-9.07 2.272M72.416 129.274s3.826.097 4.933-.718M74.98 130.75s1.961.136 3.36-.505M77.232 131.916s1.748.019 2.914-.505M73.328 122.321s-.595-1.032 1.262-.427c1.671.544 2.833.055 5.128.155 1.389.061 3.067-.297 3.982.15 1.606.784 3.632 2.181 3.632 2.181s10.526 1.204 19.033-1.127M78.864 108.104s-8.39 2.758-13.168 12.12",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M109.278 112.533s3.38-3.613 7.575-4.662",stroke:"#E4EBF7",strokeWidth:"1.085",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M107.375 123.006s9.697-2.745 11.445-.88",stroke:"#E59788",strokeWidth:".774",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M194.605 83.656l3.971-3.886M187.166 90.933l3.736-3.655M191.752 84.207l-4.462-4.56M198.453 91.057l-4.133-4.225M129.256 163.074l3.718-3.718M122.291 170.039l3.498-3.498M126.561 163.626l-4.27-4.27M132.975 170.039l-3.955-3.955",stroke:"#BFCDDD",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M190.156 211.779h-1.604a4.023 4.023 0 0 1-4.011-4.011V175.68a4.023 4.023 0 0 1 4.01-4.01h1.605a4.023 4.023 0 0 1 4.011 4.01v32.088a4.023 4.023 0 0 1-4.01 4.01",fill:"#A3B4C6"}),a.createElement("path",{d:"M237.824 212.977a4.813 4.813 0 0 1-4.813 4.813h-86.636a4.813 4.813 0 0 1 0-9.626h86.636a4.813 4.813 0 0 1 4.813 4.813",fill:"#A3B4C6"}),a.createElement("mask",{fill:"#fff"}),a.createElement("path",{fill:"#A3B4C6",mask:"url(#d)",d:"M154.098 190.096h70.513v-84.617h-70.513z"}),a.createElement("path",{d:"M224.928 190.096H153.78a3.219 3.219 0 0 1-3.208-3.209V167.92a3.219 3.219 0 0 1 3.208-3.21h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.219 3.219 0 0 1-3.21 3.209M224.928 130.832H153.78a3.218 3.218 0 0 1-3.208-3.208v-18.968a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.21v18.967a3.218 3.218 0 0 1-3.21 3.208",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M159.563 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 120.546a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 120.546h-22.461a.802.802 0 0 1-.802-.802v-3.208c0-.443.359-.803.802-.803h22.46c.444 0 .803.36.803.803v3.208c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),a.createElement("path",{d:"M224.928 160.464H153.78a3.218 3.218 0 0 1-3.208-3.209v-18.967a3.219 3.219 0 0 1 3.208-3.209h71.148a3.219 3.219 0 0 1 3.209 3.209v18.967a3.218 3.218 0 0 1-3.21 3.209",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M173.455 130.832h49.301M164.984 130.832h6.089M155.952 130.832h6.75M173.837 160.613h49.3M165.365 160.613h6.089M155.57 160.613h6.751",stroke:"#7C90A5",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),a.createElement("path",{d:"M159.563 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M166.98 151.038a2.407 2.407 0 1 1 0-4.814 2.407 2.407 0 0 1 0 4.814M174.397 151.038a2.407 2.407 0 1 1 .001-4.814 2.407 2.407 0 0 1 0 4.814M222.539 151.038h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802M159.563 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M166.98 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M174.397 179.987a2.407 2.407 0 1 1 0-4.813 2.407 2.407 0 0 1 0 4.813M222.539 179.987h-22.461a.802.802 0 0 1-.802-.802v-3.209c0-.443.359-.802.802-.802h22.46c.444 0 .803.36.803.802v3.209c0 .443-.36.802-.802.802",fill:"#FFF",mask:"url(#d)"}),a.createElement("path",{d:"M203.04 221.108h-27.372a2.413 2.413 0 0 1-2.406-2.407v-11.448a2.414 2.414 0 0 1 2.406-2.407h27.372a2.414 2.414 0 0 1 2.407 2.407V218.7a2.413 2.413 0 0 1-2.407 2.407",fill:"#BFCDDD",mask:"url(#d)"}),a.createElement("path",{d:"M177.259 207.217v11.52M201.05 207.217v11.52",stroke:"#A3B4C6",strokeWidth:"1.124",strokeLinecap:"round",strokeLinejoin:"round",mask:"url(#d)"}),a.createElement("path",{d:"M162.873 267.894a9.422 9.422 0 0 1-9.422-9.422v-14.82a9.423 9.423 0 0 1 18.845 0v14.82a9.423 9.423 0 0 1-9.423 9.422",fill:"#5BA02E",mask:"url(#d)"}),a.createElement("path",{d:"M171.22 267.83a9.422 9.422 0 0 1-9.422-9.423v-3.438a9.423 9.423 0 0 1 18.845 0v3.438a9.423 9.423 0 0 1-9.422 9.423",fill:"#92C110",mask:"url(#d)"}),a.createElement("path",{d:"M181.31 293.666h-27.712a3.209 3.209 0 0 1-3.209-3.21V269.79a3.209 3.209 0 0 1 3.209-3.21h27.711a3.209 3.209 0 0 1 3.209 3.21v20.668a3.209 3.209 0 0 1-3.209 3.209",fill:"#F2D7AD",mask:"url(#d)"})))},b=function(){return a.createElement("svg",{width:"251",height:"294"},a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("path",{d:"M0 129.023v-2.084C0 58.364 55.591 2.774 124.165 2.774h2.085c68.574 0 124.165 55.59 124.165 124.165v2.084c0 68.575-55.59 124.166-124.165 124.166h-2.085C55.591 253.189 0 197.598 0 129.023",fill:"#E4EBF7"}),a.createElement("path",{d:"M41.417 132.92a8.231 8.231 0 1 1-16.38-1.65 8.231 8.231 0 0 1 16.38 1.65",fill:"#FFF"}),a.createElement("path",{d:"M38.652 136.36l10.425 5.91M49.989 148.505l-12.58 10.73",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M41.536 161.28a5.636 5.636 0 1 1-11.216-1.13 5.636 5.636 0 0 1 11.216 1.13M59.154 145.261a5.677 5.677 0 1 1-11.297-1.138 5.677 5.677 0 0 1 11.297 1.138M100.36 29.516l29.66-.013a4.562 4.562 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 0 0 .005 9.126M111.705 47.754l29.659-.013a4.563 4.563 0 1 0-.004-9.126l-29.66.013a4.563 4.563 0 1 0 .005 9.126",fill:"#FFF"}),a.createElement("path",{d:"M114.066 29.503V29.5l15.698-.007a4.563 4.563 0 1 0 .004 9.126l-15.698.007v-.002a4.562 4.562 0 0 0-.004-9.122M185.405 137.723c-.55 5.455-5.418 9.432-10.873 8.882-5.456-.55-9.432-5.418-8.882-10.873.55-5.455 5.418-9.432 10.873-8.882 5.455.55 9.432 5.418 8.882 10.873",fill:"#FFF"}),a.createElement("path",{d:"M180.17 143.772l12.572 7.129M193.841 158.42L178.67 171.36",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{d:"M185.55 171.926a6.798 6.798 0 1 1-13.528-1.363 6.798 6.798 0 0 1 13.527 1.363M204.12 155.285a6.848 6.848 0 1 1-13.627-1.375 6.848 6.848 0 0 1 13.626 1.375",fill:"#FFF"}),a.createElement("path",{d:"M152.988 194.074a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0zM225.931 118.217a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM217.09 153.051a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.42 0zM177.84 109.842a2.21 2.21 0 1 1-4.422 0 2.21 2.21 0 0 1 4.421 0zM196.114 94.454a2.21 2.21 0 1 1-4.421 0 2.21 2.21 0 0 1 4.421 0zM202.844 182.523a2.21 2.21 0 1 1-4.42 0 2.21 2.21 0 0 1 4.42 0z",stroke:"#FFF",strokeWidth:"2"}),a.createElement("path",{stroke:"#FFF",strokeWidth:"2",d:"M215.125 155.262l-1.902 20.075-10.87 5.958M174.601 176.636l-6.322 9.761H156.98l-4.484 6.449M175.874 127.28V111.56M221.51 119.404l-12.77 7.859-15.228-7.86V96.668"}),a.createElement("path",{d:"M180.68 29.32C180.68 13.128 193.806 0 210 0c16.193 0 29.32 13.127 29.32 29.32 0 16.194-13.127 29.322-29.32 29.322-16.193 0-29.32-13.128-29.32-29.321",fill:"#A26EF4"}),a.createElement("path",{d:"M221.45 41.706l-21.563-.125a1.744 1.744 0 0 1-1.734-1.754l.071-12.23a1.744 1.744 0 0 1 1.754-1.734l21.562.125c.964.006 1.74.791 1.735 1.755l-.071 12.229a1.744 1.744 0 0 1-1.754 1.734",fill:"#FFF"}),a.createElement("path",{d:"M215.106 29.192c-.015 2.577-2.049 4.654-4.543 4.64-2.494-.014-4.504-2.115-4.489-4.693l.04-6.925c.016-2.577 2.05-4.654 4.543-4.64 2.494.015 4.504 2.116 4.49 4.693l-.04 6.925zm-4.53-14.074a6.877 6.877 0 0 0-6.916 6.837l-.043 7.368a6.877 6.877 0 0 0 13.754.08l.042-7.368a6.878 6.878 0 0 0-6.837-6.917zM167.566 68.367h-3.93a4.73 4.73 0 0 1-4.717-4.717 4.73 4.73 0 0 1 4.717-4.717h3.93a4.73 4.73 0 0 1 4.717 4.717 4.73 4.73 0 0 1-4.717 4.717",fill:"#FFF"}),a.createElement("path",{d:"M168.214 248.838a6.611 6.611 0 0 1-6.61-6.611v-66.108a6.611 6.611 0 0 1 13.221 0v66.108a6.611 6.611 0 0 1-6.61 6.61",fill:"#5BA02E"}),a.createElement("path",{d:"M176.147 248.176a6.611 6.611 0 0 1-6.61-6.61v-33.054a6.611 6.611 0 1 1 13.221 0v33.053a6.611 6.611 0 0 1-6.61 6.611",fill:"#92C110"}),a.createElement("path",{d:"M185.994 293.89h-27.376a3.17 3.17 0 0 1-3.17-3.17v-45.887a3.17 3.17 0 0 1 3.17-3.17h27.376a3.17 3.17 0 0 1 3.17 3.17v45.886a3.17 3.17 0 0 1-3.17 3.17",fill:"#F2D7AD"}),a.createElement("path",{d:"M81.972 147.673s6.377-.927 17.566-1.28c11.729-.371 17.57 1.086 17.57 1.086s3.697-3.855.968-8.424c1.278-12.077 5.982-32.827.335-48.273-1.116-1.339-3.743-1.512-7.536-.62-1.337.315-7.147-.149-7.983-.1l-15.311-.347s-3.487-.17-8.035-.508c-1.512-.113-4.227-1.683-5.458-.338-.406.443-2.425 5.669-1.97 16.077l8.635 35.642s-3.141 3.61 1.219 7.085",fill:"#FFF"}),a.createElement("path",{d:"M75.768 73.325l-.9-6.397 11.982-6.52s7.302-.118 8.038 1.205c.737 1.324-5.616.993-5.616.993s-1.836 1.388-2.615 2.5c-1.654 2.363-.986 6.471-8.318 5.986-1.708.284-2.57 2.233-2.57 2.233",fill:"#FFC6A0"}),a.createElement("path",{d:"M52.44 77.672s14.217 9.406 24.973 14.444c1.061.497-2.094 16.183-11.892 11.811-7.436-3.318-20.162-8.44-21.482-14.496-.71-3.258 2.543-7.643 8.401-11.76M141.862 80.113s-6.693 2.999-13.844 6.876c-3.894 2.11-10.137 4.704-12.33 7.988-6.224 9.314 3.536 11.22 12.947 7.503 6.71-2.651 28.999-12.127 13.227-22.367",fill:"#FFB594"}),a.createElement("path",{d:"M76.166 66.36l3.06 3.881s-2.783 2.67-6.31 5.747c-7.103 6.195-12.803 14.296-15.995 16.44-3.966 2.662-9.754 3.314-12.177-.118-3.553-5.032.464-14.628 31.422-25.95",fill:"#FFC6A0"}),a.createElement("path",{d:"M64.674 85.116s-2.34 8.413-8.912 14.447c.652.548 18.586 10.51 22.144 10.056 5.238-.669 6.417-18.968 1.145-20.531-.702-.208-5.901-1.286-8.853-2.167-.87-.26-1.611-1.71-3.545-.936l-1.98-.869zM128.362 85.826s5.318 1.956 7.325 13.734c-.546.274-17.55 12.35-21.829 7.805-6.534-6.94-.766-17.393 4.275-18.61 4.646-1.121 5.03-1.37 10.23-2.929",fill:"#FFF"}),a.createElement("path",{d:"M78.18 94.656s.911 7.41-4.914 13.078",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.397 94.68s3.124 2.572 10.263 2.572c7.14 0 9.074-3.437 9.074-3.437",stroke:"#E4EBF7",strokeWidth:".932",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M117.184 68.639l-6.781-6.177s-5.355-4.314-9.223-.893c-3.867 3.422 4.463 2.083 5.653 4.165 1.19 2.082.848 1.143-2.083.446-5.603-1.331-2.082.893 2.975 5.355 2.091 1.845 6.992.955 6.992.955l2.467-3.851z",fill:"#FFC6A0"}),a.createElement("path",{d:"M105.282 91.315l-.297-10.937-15.918-.027-.53 10.45c-.026.403.17.788.515.999 2.049 1.251 9.387 5.093 15.799.424.287-.21.443-.554.431-.91",fill:"#FFB594"}),a.createElement("path",{d:"M107.573 74.24c.817-1.147.982-9.118 1.015-11.928a1.046 1.046 0 0 0-.965-1.055l-4.62-.365c-7.71-1.044-17.071.624-18.253 6.346-5.482 5.813-.421 13.244-.421 13.244s1.963 3.566 4.305 6.791c.756 1.041.398-3.731 3.04-5.929 5.524-4.594 15.899-7.103 15.899-7.103",fill:"#5C2552"}),a.createElement("path",{d:"M88.426 83.206s2.685 6.202 11.602 6.522c7.82.28 8.973-7.008 7.434-17.505l-.909-5.483c-6.118-2.897-15.478.54-15.478.54s-.576 2.044-.19 5.504c-2.276 2.066-1.824 5.618-1.824 5.618s-.905-1.922-1.98-2.321c-.86-.32-1.897.089-2.322 1.98-1.04 4.632 3.667 5.145 3.667 5.145",fill:"#FFC6A0"}),a.createElement("path",{stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round",d:"M100.843 77.099l1.701-.928-1.015-4.324.674-1.406"}),a.createElement("path",{d:"M105.546 74.092c-.022.713-.452 1.279-.96 1.263-.51-.016-.904-.607-.882-1.32.021-.713.452-1.278.96-1.263.51.016.904.607.882 1.32M97.592 74.349c-.022.713-.452 1.278-.961 1.263-.509-.016-.904-.607-.882-1.32.022-.713.452-1.279.961-1.263.51.016.904.606.882 1.32",fill:"#552950"}),a.createElement("path",{d:"M91.132 86.786s5.269 4.957 12.679 2.327",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M99.776 81.903s-3.592.232-1.44-2.79c1.59-1.496 4.897-.46 4.897-.46s1.156 3.906-3.457 3.25",fill:"#DB836E"}),a.createElement("path",{d:"M102.88 70.6s2.483.84 3.402.715M93.883 71.975s2.492-1.144 4.778-1.073",stroke:"#5C2552",strokeWidth:"1.526",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M86.32 77.374s.961.879 1.458 2.106c-.377.48-1.033 1.152-.236 1.809M99.337 83.719s1.911.151 2.509-.254",stroke:"#DB836E",strokeWidth:"1.145",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M87.782 115.821l15.73-3.012M100.165 115.821l10.04-2.008",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M66.508 86.763s-1.598 8.83-6.697 14.078",stroke:"#E4EBF7",strokeWidth:"1.114",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M128.31 87.934s3.013 4.121 4.06 11.785",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M64.09 84.816s-6.03 9.912-13.607 9.903",stroke:"#DB836E",strokeWidth:".795",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M112.366 65.909l-.142 5.32s5.993 4.472 11.945 9.202c4.482 3.562 8.888 7.455 10.985 8.662 4.804 2.766 8.9 3.355 11.076 1.808 4.071-2.894 4.373-9.878-8.136-15.263-4.271-1.838-16.144-6.36-25.728-9.73",fill:"#FFC6A0"}),a.createElement("path",{d:"M130.532 85.488s4.588 5.757 11.619 6.214",stroke:"#DB836E",strokeWidth:".75",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M121.708 105.73s-.393 8.564-1.34 13.612",stroke:"#E4EBF7",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M115.784 161.512s-3.57-1.488-2.678-7.14",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M101.52 290.246s4.326 2.057 7.408 1.03c2.842-.948 4.564.673 7.132 1.186 2.57.514 6.925 1.108 11.772-1.269-.104-5.551-6.939-4.01-12.048-6.763-2.582-1.39-3.812-4.757-3.625-8.863h-9.471s-1.402 10.596-1.169 14.68",fill:"#CBD1D1"}),a.createElement("path",{d:"M101.496 290.073s2.447 1.281 6.809.658c3.081-.44 3.74.485 7.479 1.039 3.739.554 10.802-.07 11.91-.9.415 1.108-.347 2.077-.347 2.077s-1.523.608-4.847.831c-2.045.137-5.843.293-7.663-.507-1.8-1.385-5.286-1.917-5.77-.243-3.947.958-7.41-.288-7.41-.288l-.16-2.667z",fill:"#2B0849"}),a.createElement("path",{d:"M108.824 276.19h3.116s-.103 6.751 4.57 8.62c-4.673.624-8.62-2.32-7.686-8.62",fill:"#A4AABA"}),a.createElement("path",{d:"M57.65 272.52s-2.122 7.47-4.518 12.396c-1.811 3.724-4.255 7.548 5.505 7.548 6.698 0 9.02-.483 7.479-6.648-1.541-6.164.268-13.296.268-13.296H57.65z",fill:"#CBD1D1"}),a.createElement("path",{d:"M51.54 290.04s2.111 1.178 6.682 1.178c6.128 0 8.31-1.662 8.31-1.662s.605 1.122-.624 2.18c-1 .862-3.624 1.603-7.444 1.559-4.177-.049-5.876-.57-6.786-1.177-.831-.554-.692-1.593-.138-2.078",fill:"#2B0849"}),a.createElement("path",{d:"M58.533 274.438s.034 1.529-.315 2.95c-.352 1.431-1.087 3.127-1.139 4.17-.058 1.16 4.57 1.592 5.194.035.623-1.559 1.303-6.475 1.927-7.306.622-.831-4.94-2.135-5.667.15",fill:"#A4AABA"}),a.createElement("path",{d:"M100.885 277.015l13.306.092s1.291-54.228 1.843-64.056c.552-9.828 3.756-43.13.997-62.788l-12.48-.64-22.725.776s-.433 3.944-1.19 9.921c-.062.493-.677.838-.744 1.358-.075.582.42 1.347.318 1.956-2.35 14.003-6.343 32.926-8.697 46.425-.116.663-1.227 1.004-1.45 2.677-.04.3.21 1.516.112 1.785-6.836 18.643-10.89 47.584-14.2 61.551l14.528-.014s2.185-8.524 4.008-16.878c2.796-12.817 22.987-84.553 22.987-84.553l3-.517 1.037 46.1s-.223 1.228.334 2.008c.558.782-.556 1.117-.39 2.233l.39 1.784s-.446 7.14-.892 11.826c-.446 4.685-.092 38.954-.092 38.954",fill:"#7BB2F9"}),a.createElement("path",{d:"M77.438 220.434c1.146.094 4.016-2.008 6.916-4.91M107.55 223.931s2.758-1.103 6.069-3.862",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M108.459 220.905s2.759-1.104 6.07-3.863",stroke:"#648BD8",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M76.099 223.557s2.608-.587 6.47-3.346M87.33 150.82c-.27 3.088.297 8.478-4.315 9.073M104.829 149.075s.11 13.936-1.286 14.983c-2.207 1.655-2.975 1.934-2.975 1.934M101.014 149.63s.035 12.81-1.19 24.245M94.93 174.965s7.174-1.655 9.38-1.655M75.671 204.754c-.316 1.55-.64 3.067-.973 4.535 0 0-1.45 1.822-1.003 3.756.446 1.934-.943 2.034-4.96 15.273-1.686 5.559-4.464 18.49-6.313 27.447-.078.38-4.018 18.06-4.093 18.423M77.043 196.743a313.269 313.269 0 0 1-.877 4.729M83.908 151.414l-1.19 10.413s-1.091.148-.496 2.23c.111 1.34-2.66 15.692-5.153 30.267M57.58 272.94h13.238",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"}),a.createElement("path",{d:"M117.377 147.423s-16.955-3.087-35.7.199c.157 2.501-.002 4.128-.002 4.128s14.607-2.802 35.476-.31c.251-2.342.226-4.017.226-4.017",fill:"#192064"}),a.createElement("path",{d:"M107.511 150.353l.004-4.885a.807.807 0 0 0-.774-.81c-2.428-.092-5.04-.108-7.795-.014a.814.814 0 0 0-.784.81l-.003 4.88c0 .456.371.82.827.808a140.76 140.76 0 0 1 7.688.017.81.81 0 0 0 .837-.806",fill:"#FFF"}),a.createElement("path",{d:"M106.402 149.426l.002-3.06a.64.64 0 0 0-.616-.643 94.135 94.135 0 0 0-5.834-.009.647.647 0 0 0-.626.643l-.001 3.056c0 .36.291.648.651.64 1.78-.04 3.708-.041 5.762.012.36.009.662-.279.662-.64",fill:"#192064"}),a.createElement("path",{d:"M101.485 273.933h12.272M102.652 269.075c.006 3.368.04 5.759.11 6.47M102.667 263.125c-.009 1.53-.015 2.98-.016 4.313M102.204 174.024l.893 44.402s.669 1.561-.224 2.677c-.892 1.116 2.455.67.893 2.231-1.562 1.562.893 1.116 0 3.347-.592 1.48-.988 20.987-1.09 34.956",stroke:"#648BD8",strokeWidth:"1.051",strokeLinecap:"round",strokeLinejoin:"round"})))},M={success:c.Z,error:i.Z,info:u.Z,warning:v},E={404:y,500:g,403:b},C=Object.keys(E),O=function(e){var t=e.prefixCls,r=e.className,o=e.subTitle,c=e.title,i=e.style,u=e.children,s=e.status,f=void 0===s?"info":s,d=e.icon,p=e.extra,v=a.useContext(m.E_),y=v.getPrefixCls,g=v.direction,b=y("result",t),O=l()(b,"".concat(b,"-").concat(f),r,(0,n.Z)({},"".concat(b,"-rtl"),"rtl"===g));return a.createElement("div",{className:O,style:i},function(e,t){var r=t.status,n=t.icon,o=l()("".concat(e,"-icon"));if((0,h.Z)(!("string"===typeof n&&n.length>2),"Result","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(n,"` at https://ant.design/components/icon")),C.includes("".concat(r))){var c=E[r];return a.createElement("div",{className:"".concat(o," ").concat(e,"-image")},a.createElement(c,null))}var i=a.createElement(M[r]);return a.createElement("div",{className:o},n||i)}(b,{status:f,icon:d}),a.createElement("div",{className:"".concat(b,"-title")},c),o&&a.createElement("div",{className:"".concat(b,"-subtitle")},o),function(e,t){var r=t.extra;return r&&a.createElement("div",{className:"".concat(e,"-extra")},r)}(b,{extra:p}),u&&a.createElement("div",{className:"".concat(b,"-content")},u))};O.PRESENTED_IMAGE_403=E[403],O.PRESENTED_IMAGE_404=E[404],O.PRESENTED_IMAGE_500=E[500];var w=O},45471:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.PresetStatusColorTypes=t.PresetColorTypes=void 0;var n=r(66764),a=(0,n.tuple)("success","processing","error","default","warning");t.PresetStatusColorTypes=a;var o=(0,n.tuple)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime");t.PresetColorTypes=o},72454:function(e,t,r){"use strict";var n=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,Object.defineProperty(t,"resetWarned",{enumerable:!0,get:function(){return a.resetWarned}});var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var i=l?Object.getOwnPropertyDescriptor(e,c):null;i&&(i.get||i.set)?Object.defineProperty(a,c,i):a[c]=e[c]}a.default=e,r&&r.set(e,a);return a}(r(45520));function o(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}t.default=function(e,t,r){(0,a.default)(e,"[antd: ".concat(t,"] ").concat(r))}},53683:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getTransitionName=t.default=void 0;var r=function(){return{height:0,opacity:0}},n=function(e){return{height:e.scrollHeight,opacity:1}},a=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},o={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:n,onEnterActive:n,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:r,onAppearEnd:a,onEnterEnd:a,onLeaveEnd:a,motionDeadline:500};t.getTransitionName=function(e,t,r){return void 0!==r?r:"".concat(e,"-").concat(t)};var l=o;t.default=l},47419:function(e,t,r){"use strict";var n=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.cloneElement=function(e,t){return c(e,e,t)},t.isValidElement=void 0,t.replaceElement=c;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var a={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var i=l?Object.getOwnPropertyDescriptor(e,c):null;i&&(i.get||i.set)?Object.defineProperty(a,c,i):a[c]=e[c]}a.default=e,r&&r.set(e,a);return a}(r(67294));function o(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}var l=a.isValidElement;function c(e,t,r){return l(e)?a.cloneElement(e,"function"===typeof r?r(e.props||{}):r):t}t.isValidElement=l},38882:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.detectFlexGapSupported=t.canUseDocElement=void 0,Object.defineProperty(t,"isStyleSupport",{enumerable:!0,get:function(){return l.isStyleSupport}});var a,o=n(r(19158)),l=r(3481),c=function(){return(0,o.default)()&&window.document.documentElement};t.canUseDocElement=c;t.detectFlexGapSupported=function(){if(!c())return!1;if(void 0!==a)return a;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),a=1===e.scrollHeight,document.body.removeChild(e),a}},60938:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67154)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),c=n(r(27712));function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}var u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a0&&(N=l.createElement(i.FormProvider,{validateMessages:S},n)),m&&(N=l.createElement(s.default,{locale:m,_ANT_MARK__:s.ANT_MARK},N)),x&&(N=l.createElement(c.default.Provider,{value:j},N)),h&&(N=l.createElement(p.SizeContextProvider,{size:h},N)),l.createElement(d.ConfigContext.Provider,{value:_},N)},P=function(e){return l.useEffect((function(){e.direction&&(v.default.config({rtl:"rtl"===e.direction}),m.default.config({rtl:"rtl"===e.direction}))}),[e.direction]),l.createElement(f.default,null,(function(t,r,n){return l.createElement(d.ConfigConsumer,null,(function(t){return l.createElement(k,(0,o.default)({parentContext:t,legacyLocale:n},e))}))}))};P.ConfigContext=d.ConfigContext,P.SizeContext=p.default,P.config=function(e){var t=e.prefixCls,r=e.iconPrefixCls,n=e.theme;void 0!==t&&(E=t),void 0!==r&&(C=r),n&&(0,h.registerTheme)(w(),n)};var _=P;t.default=_},95190:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=i(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),l=n(r(36671)),c=r(31929);function i(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(i=function(e){return e?r:t})(e)}var u=function(e){return o.createElement(c.ConfigConsumer,null,(function(t){var r=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return o.createElement(l.default,{image:l.default.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(l.default,{image:l.default.PRESENTED_IMAGE_SIMPLE,className:"".concat(r,"-small")});default:return o.createElement(l.default,null)}}))};t.default=u},25633:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r(67154)),o=n(r(27590)),l=n(r(52040)),c={lang:(0,a.default)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},o.default),timePickerLocale:(0,a.default)({},l.default)};t.default=c},12268:function(e,t,r){"use strict";var n=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!==typeof e)return{default:e};var r=l(t);if(r&&r.has(e))return r.get(e);var a={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var i=o?Object.getOwnPropertyDescriptor(e,c):null;i&&(i.get||i.set)?Object.defineProperty(a,c,i):a[c]=e[c]}a.default=e,r&&r.set(e,a);return a}(r(67294)),o=r(31929);function l(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(l=function(e){return e?r:t})(e)}var c=function(){var e=(0,a.useContext(o.ConfigContext).getPrefixCls)("empty-img-default");return a.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},a.createElement("g",{fill:"none",fillRule:"evenodd"},a.createElement("g",{transform:"translate(24 31.67)"},a.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),a.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),a.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),a.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),a.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),a.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),a.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},a.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),a.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))};t.default=c},36671:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67154)),l=n(r(59713)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),i=n(r(94184)),u=r(31929),s=n(r(73625)),f=n(r(12268)),d=n(r(69749));function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}var v=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a3&&void 0!==arguments[3]?arguments[3]:{},o=n.props,l=o.className,u=o.addonBefore,s=o.addonAfter,f=o.size,d=o.disabled,h=o.htmlSize,y=(0,m.default)(n.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered","htmlSize","showCount"]);return p.createElement("input",(0,c.default)({autoComplete:a.autoComplete},y,{onChange:n.handleChange,onFocus:n.onFocus,onBlur:n.onBlur,onKeyDown:n.handleKeyDown,className:(0,v.default)((0,M.getInputClassName)(e,r,f||t,d,n.direction),(0,i.default)({},l,l&&!u&&!s)),ref:n.saveInput,size:h}))},n.clearPasswordValueAttribute=function(){n.removePasswordTimeout=setTimeout((function(){n.input&&"password"===n.input.getAttribute("type")&&n.input.hasAttribute("value")&&n.input.removeAttribute("value")}))},n.handleChange=function(e){n.setValue(e.target.value,n.clearPasswordValueAttribute),O(n.input,e,n.props.onChange)},n.handleKeyDown=function(e){var t=n.props,r=t.onPressEnter,a=t.onKeyDown;r&&13===e.keyCode&&r(e),null===a||void 0===a||a(e)},n.renderShowCountSuffix=function(e){var t=n.state.value,r=n.props,a=r.maxLength,c=r.suffix,u=r.showCount,s=Number(a)>0;if(c||u){var f=(0,l.default)(C(t)).length,d=null;return d="object"===(0,o.default)(u)?u.formatter({count:f,maxLength:a}):"".concat(f).concat(s?" / ".concat(a):""),p.createElement(p.Fragment,null,!!u&&p.createElement("span",{className:(0,v.default)("".concat(e,"-show-count-suffix"),(0,i.default)({},"".concat(e,"-show-count-has-suffix"),!!c))},d),c)}return null},n.renderComponent=function(e){var t=e.getPrefixCls,r=e.direction,a=e.input,o=n.state,l=o.value,i=o.focused,u=n.props,s=u.prefixCls,f=u.bordered,d=void 0===f||f,v=t("input",s);n.direction=r;var m=n.renderShowCountSuffix(v);return p.createElement(g.default.Consumer,null,(function(e){return p.createElement(h.default,(0,c.default)({size:e},n.props,{prefixCls:v,inputType:"input",value:C(l),element:n.renderInput(v,e,d,a),handleReset:n.handleReset,ref:n.saveClearableInput,direction:r,focused:i,triggerFocus:n.focus,bordered:d,suffix:m}))}))};var a="undefined"===typeof e.value?e.defaultValue:e.value;return n.state={value:a,focused:!1,prevValue:e.value},n}return(0,s.default)(r,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(e){return(0,M.hasPrefixSuffix)(e)!==(0,M.hasPrefixSuffix)(this.props)&&(0,b.default)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"setSelectionRange",value:function(e,t,r){this.input.setSelectionRange(e,t,r)}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(e,t){void 0===this.props.value?this.setState({value:e},t):null===t||void 0===t||t()}},{key:"render",value:function(){return p.createElement(y.ConfigConsumer,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var r=t.prevValue,n={prevValue:e.value};return void 0===e.value&&r===e.value||(n.value=e.value),e.disabled&&(n.focused=!1),n}}]),r}(p.Component);x.defaultProps={type:"text"};var k=x;t.default=k},14104:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(50008)),l=n(r(67154)),c=n(r(59713)),i=n(r(63038)),u=n(r(319)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=b(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),f=n(r(57239)),d=n(r(18475)),p=n(r(94184)),v=n(r(60869)),m=n(r(67434)),h=r(31929),y=r(10815),g=n(r(3236));function b(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(b=function(e){return e?r:t})(e)}var M=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);an&&(a=t),a}var O=s.forwardRef((function(e,t){var r,n=e.prefixCls,a=e.bordered,b=void 0===a||a,O=e.showCount,w=void 0!==O&&O,x=e.maxLength,k=e.className,P=e.style,_=e.size,j=e.onCompositionStart,N=e.onCompositionEnd,S=e.onChange,L=M(e,["prefixCls","bordered","showCount","maxLength","className","style","size","onCompositionStart","onCompositionEnd","onChange"]),F=s.useContext(h.ConfigContext),T=F.getPrefixCls,A=F.direction,z=s.useContext(g.default),R=s.useRef(null),D=s.useRef(null),W=s.useState(!1),B=(0,i.default)(W,2),I=B[0],H=B[1],V=s.useRef(),Z=s.useRef(0),U=(0,v.default)(L.defaultValue,{value:L.value}),K=(0,i.default)(U,2),$=K[0],Y=K[1],G=L.hidden,Q=function(e,t){void 0===L.value&&(Y(e),null===t||void 0===t||t())},X=Number(x)>0,q=T("input",n);s.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=R.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,r;(0,y.triggerFocus)(null===(r=null===(t=R.current)||void 0===t?void 0:t.resizableTextArea)||void 0===r?void 0:r.textArea,e)},blur:function(){var e;return null===(e=R.current)||void 0===e?void 0:e.blur()}}}));var J=s.createElement(f.default,(0,l.default)({},(0,d.default)(L,["allowClear"]),{className:(0,p.default)((r={},(0,c.default)(r,"".concat(q,"-borderless"),!b),(0,c.default)(r,k,k&&!w),(0,c.default)(r,"".concat(q,"-sm"),"small"===z||"small"===_),(0,c.default)(r,"".concat(q,"-lg"),"large"===z||"large"===_),r)),style:w?void 0:P,prefixCls:q,onCompositionStart:function(e){H(!0),V.current=$,Z.current=e.currentTarget.selectionStart,null===j||void 0===j||j(e)},onChange:function(e){var t=e.target.value;!I&&X&&(t=C(e.target.selectionStart>=x+1||e.target.selectionStart===t.length||!e.target.selectionStart,$,t,x));Q(t),(0,y.resolveOnChange)(e.currentTarget,e,S,t)},onCompositionEnd:function(e){var t;H(!1);var r=e.currentTarget.value;X&&(r=C(Z.current>=x+1||Z.current===(null===(t=V.current)||void 0===t?void 0:t.length),V.current,r,x));r!==$&&(Q(r),(0,y.resolveOnChange)(e.currentTarget,e,S,r)),null===N||void 0===N||N(e)},ref:R})),ee=(0,y.fixControlledValue)($);I||!X||null!==L.value&&void 0!==L.value||(ee=E(ee,x));var te=s.createElement(m.default,(0,l.default)({},L,{prefixCls:q,direction:A,inputType:"text",value:ee,element:J,handleReset:function(e){var t,r;Q("",(function(){var e;null===(e=R.current)||void 0===e||e.focus()})),(0,y.resolveOnChange)(null===(r=null===(t=R.current)||void 0===t?void 0:t.resizableTextArea)||void 0===r?void 0:r.textArea,e,S)},ref:D,bordered:b,style:w?void 0:P}));if(w){var re=(0,u.default)(ee).length,ne="";return ne="object"===(0,o.default)(w)?w.formatter({count:re,maxLength:x}):"".concat(re).concat(X?" / ".concat(x):""),s.createElement("div",{hidden:G,className:(0,p.default)("".concat(q,"-textarea"),(0,c.default)({},"".concat(q,"-textarea-rtl"),"rtl"===A),"".concat(q,"-textarea-show-count"),k),style:P,"data-count":ne},te)}return te}));t.default=O},36714:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.getInputClassName=function(e,t,r,n,l){var c;return(0,o.default)(e,(c={},(0,a.default)(c,"".concat(e,"-sm"),"small"===r),(0,a.default)(c,"".concat(e,"-lg"),"large"===r),(0,a.default)(c,"".concat(e,"-disabled"),n),(0,a.default)(c,"".concat(e,"-rtl"),"rtl"===l),(0,a.default)(c,"".concat(e,"-borderless"),!t),c))},t.hasPrefixSuffix=function(e){return!!(e.prefix||e.suffix||e.allowClear)};var a=n(r(59713)),o=n(r(94184))},73625:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.useLocaleReceiver=function(e,t){var r=s.useContext(d.default);return[s.useMemo((function(){var n=t||f.default[e||"global"],a=e&&r?r[e]:{};return(0,o.default)((0,o.default)({},"function"===typeof n?n():n),a||{})}),[e,t,r])]};var o=n(r(67154)),l=n(r(34575)),c=n(r(93913)),i=n(r(2205)),u=n(r(99842)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=p(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),f=n(r(95209)),d=n(r(89354));function p(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(p=function(e){return e?r:t})(e)}var v=function(e){(0,i.default)(r,e);var t=(0,u.default)(r);function r(){return(0,l.default)(this,r),t.apply(this,arguments)}return(0,c.default)(r,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,r=e.defaultLocale||f.default[null!==t&&void 0!==t?t:"global"],n=this.context,a=t&&n?n[t]:{};return(0,o.default)((0,o.default)({},r instanceof Function?r():r),a||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?f.default.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),r}(s.Component);t.default=v,v.defaultProps={componentName:"global"},v.contextType=d.default},89354:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=(0,r(67294).createContext)(void 0);t.default=n},95209:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r(56350)).default;t.default=a},53594:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.ANT_MARK=void 0;var o=n(r(67154)),l=n(r(34575)),c=n(r(93913)),i=n(r(2205)),u=n(r(99842)),s=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=m(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),f=n(r(30845)),d=n(r(72454)),p=r(10625),v=n(r(89354));function m(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(m=function(e){return e?r:t})(e)}var h="internalMark";t.ANT_MARK=h;var y=function(e){(0,i.default)(r,e);var t=(0,u.default)(r);function r(e){var n;return(0,l.default)(this,r),(n=t.call(this,e)).getMemoizedContextValue=(0,f.default)((function(e){return(0,o.default)((0,o.default)({},e),{exist:!0})})),(0,p.changeConfirmLocale)(e.locale&&e.locale.Modal),(0,d.default)(e._ANT_MARK__===h,"LocaleProvider","`LocaleProvider` is deprecated. Please use `locale` with `ConfigProvider` instead: http://u.ant.design/locale"),n}return(0,c.default)(r,[{key:"componentDidMount",value:function(){(0,p.changeConfirmLocale)(this.props.locale&&this.props.locale.Modal)}},{key:"componentDidUpdate",value:function(e){var t=this.props.locale;e.locale!==t&&(0,p.changeConfirmLocale)(t&&t.Modal)}},{key:"componentWillUnmount",value:function(){(0,p.changeConfirmLocale)()}},{key:"render",value:function(){var e=this.props,t=e.locale,r=e.children,n=this.getMemoizedContextValue(t);return s.createElement(v.default.Provider,{value:n},r)}}]),r}(s.Component);t.default=y,y.defaultProps={locale:{}}},56350:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=n(r(62273)),o=n(r(25633)),l=n(r(52040)),c=n(r(1028)),i="${label} is not a valid ${type}",u={locale:"en",Pagination:a.default,DatePicker:o.default,TimePicker:l.default,Calendar:c.default,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:i,method:i,array:i,object:i,number:i,date:i,boolean:i,integer:i,float:i,regexp:i,email:i,url:i,hex:i},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}};t.default=u},64333:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var r,n,a=null,f={add:function(e,t){null===a||void 0===a||a.component.add(e,t)}},d=(0,i.default)(f),p=(0,l.default)(d,2),v=p[0],m=p[1];var h=c.useRef({});return h.current.open=function(l){var c=l.prefixCls,i=r("message",c),u=r(),f=l.key||(0,s.getKeyThenIncreaseKey)(),d=new Promise((function(r){var c=function(){return"function"===typeof l.onClose&&l.onClose(),r(!0)};e((0,o.default)((0,o.default)({},l),{prefixCls:i,rootPrefixCls:u,getPopupContainer:n}),(function(e){var r=e.prefixCls,n=e.instance;a=n,v(t((0,o.default)((0,o.default)({},l),{key:f,onClose:c}),r))}))})),p=function(){a&&a.removeNotice(f)};return p.then=function(e,t){return d.then(e,t)},p.promise=d,p},["success","info","warning","error","loading"].forEach((function(e){return(0,s.attachTypeApi)(h.current,e)})),[h.current,c.createElement(u.ConfigConsumer,{key:"holder"},(function(e){return r=e.getPrefixCls,n=e.getPopupContainer,m}))]}};var o=n(r(67154)),l=n(r(63038)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),i=n(r(45484)),u=r(31929),s=r(11187);function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}},11187:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.attachTypeApi=T,t.getInstance=t.default=void 0,t.getKeyThenIncreaseKey=j;var o,l=n(r(67154)),c=n(r(59713)),i=b(r(67294)),u=n(r(94184)),s=n(r(91127)),f=n(r(628)),d=n(r(42461)),p=n(r(42547)),v=n(r(37431)),m=n(r(94354)),h=n(r(64333)),y=b(r(31929));function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(g=function(e){return e?r:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=g(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}return n.default=e,r&&r.set(e,n),n}var M,E,C,O=3,w=1,x="",k="move-up",P=!1,_=!1;function j(){return w++}function N(e,t){var r=e.prefixCls,n=e.getPopupContainer,a=(0,y.globalConfig)(),l=a.getPrefixCls,c=a.getRootPrefixCls,i=a.getIconPrefixCls,u=l("message",r||x),f=c(e.rootPrefixCls,u),d=i();if(o)t({prefixCls:u,rootPrefixCls:f,iconPrefixCls:d,instance:o});else{var p={prefixCls:u,transitionName:P?k:"".concat(f,"-").concat(k),style:{top:M},getContainer:E||n,maxCount:C};s.default.newInstance(p,(function(e){o?t({prefixCls:u,rootPrefixCls:f,iconPrefixCls:d,instance:o}):(o=e,t({prefixCls:u,rootPrefixCls:f,iconPrefixCls:d,instance:e}))}))}}var S={info:m.default,success:v.default,error:p.default,warning:d.default,loading:f.default};function L(e,t,r){var n,a=void 0!==e.duration?e.duration:O,o=S[e.type],l=(0,u.default)("".concat(t,"-custom-content"),(n={},(0,c.default)(n,"".concat(t,"-").concat(e.type),e.type),(0,c.default)(n,"".concat(t,"-rtl"),!0===_),n));return{key:e.key,duration:a,style:e.style||{},className:e.className,content:i.createElement(y.default,{iconPrefixCls:r},i.createElement("div",{className:l},e.icon||o&&i.createElement(o,null),i.createElement("span",null,e.content))),onClose:e.onClose,onClick:e.onClick}}var F={open:function(e){var t=e.key||j(),r=new Promise((function(r){var n=function(){return"function"===typeof e.onClose&&e.onClose(),r(!0)};N(e,(function(r){var a=r.prefixCls,o=r.iconPrefixCls;r.instance.notice(L((0,l.default)((0,l.default)({},e),{key:t,onClose:n}),a,o))}))})),n=function(){o&&o.removeNotice(t)};return n.then=function(e,t){return r.then(e,t)},n.promise=r,n},config:function(e){void 0!==e.top&&(M=e.top,o=null),void 0!==e.duration&&(O=e.duration),void 0!==e.prefixCls&&(x=e.prefixCls),void 0!==e.getContainer&&(E=e.getContainer,o=null),void 0!==e.transitionName&&(k=e.transitionName,o=null,P=!0),void 0!==e.maxCount&&(C=e.maxCount,o=null),void 0!==e.rtl&&(_=e.rtl)},destroy:function(e){if(o)if(e){(0,o.removeNotice)(e)}else{var t=o.destroy;t(),o=null}}};function T(e,t){e[t]=function(r,n,a){return function(e){return"[object Object]"===Object.prototype.toString.call(e)&&!!e.content}(r)?e.open((0,l.default)((0,l.default)({},r),{type:t})):("function"===typeof n&&(a=n,n=void 0),e.open({content:r,duration:n,type:t,onClose:a}))}}["success","info","warning","error","loading"].forEach((function(e){return T(F,e)})),F.warn=F.warning,F.useMessage=(0,h.default)(N,L);t.getInstance=function(){return null};var A=F;t.default=A},10625:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.changeConfirmLocale=function(e){l=e?(0,a.default)((0,a.default)({},l),e):(0,a.default)({},o.default.Modal)},t.getConfirmLocale=function(){return l};var a=n(r(67154)),o=n(r(56350)),l=(0,a.default)({},o.default.Modal)},23298:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return function(){var r,n=null,a={add:function(e,t){null===n||void 0===n||n.component.add(e,t)}},s=(0,i.default)(a),f=(0,l.default)(s,2),d=f[0],p=f[1];var v=c.useRef({});return v.current.open=function(a){var l=a.prefixCls,c=r("notification",l);e((0,o.default)((0,o.default)({},a),{prefixCls:c}),(function(e){var r=e.prefixCls,o=e.instance;n=o,d(t(a,r))}))},["success","info","warning","error"].forEach((function(e){v.current[e]=function(t){return v.current.open((0,o.default)((0,o.default)({},t),{type:e}))}})),[v.current,c.createElement(u.ConfigConsumer,{key:"holder"},(function(e){return r=e.getPrefixCls,p}))]}};var o=n(r(67154)),l=n(r(63038)),c=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),i=n(r(45484)),u=r(31929);function s(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(s=function(e){return e?r:t})(e)}},16318:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.getInstance=t.default=void 0;var o=n(r(87757)),l=n(r(67154)),c=n(r(59713)),i=b(r(67294)),u=n(r(91127)),s=n(r(40753)),f=n(r(94184)),d=n(r(67996)),p=n(r(74337)),v=n(r(67039)),m=n(r(93201)),h=n(r(23298)),y=b(r(31929));function g(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(g=function(e){return e?r:t})(e)}function b(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=g(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}return n.default=e,r&&r.set(e,n),n}var M,E,C,O=function(e,t,r,n){return new(r||(r=Promise))((function(a,o){function l(e){try{i(n.next(e))}catch(t){o(t)}}function c(e){try{i(n.throw(e))}catch(t){o(t)}}function i(e){var t;e.done?a(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(l,c)}i((n=n.apply(e,t||[])).next())}))},w={},x=4.5,k=24,P=24,_="",j="topRight",N=!1;function S(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:k,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:P;switch(e){case"topLeft":t={left:0,top:r,bottom:"auto"};break;case"topRight":t={right:0,top:r,bottom:"auto"};break;case"bottomLeft":t={left:0,top:"auto",bottom:n};break;default:t={right:0,top:"auto",bottom:n}}return t}function L(e,t){var r=e.placement,n=void 0===r?j:r,a=e.top,o=e.bottom,l=e.getContainer,i=void 0===l?M:l,s=e.prefixCls,d=(0,y.globalConfig)(),p=d.getPrefixCls,v=d.getIconPrefixCls,m=p("notification",s||_),h=v(),g="".concat(m,"-").concat(n),b=w[g];if(b)Promise.resolve(b).then((function(e){t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:h,instance:e})}));else{var E=(0,f.default)("".concat(m,"-").concat(n),(0,c.default)({},"".concat(m,"-rtl"),!0===N));w[g]=new Promise((function(e){u.default.newInstance({prefixCls:m,className:E,style:S(n,a,o),getContainer:i,maxCount:C},(function(r){e(r),t({prefixCls:"".concat(m,"-notice"),iconPrefixCls:h,instance:r})}))}))}}var F={success:d.default,info:m.default,error:p.default,warning:v.default};function T(e,t,r){var n=e.duration,a=e.icon,o=e.type,l=e.description,u=e.message,d=e.btn,p=e.onClose,v=e.onClick,m=e.key,h=e.style,g=e.className,b=e.closeIcon,M=void 0===b?E:b,C=void 0===n?x:n,O=null;a?O=i.createElement("span",{className:"".concat(t,"-icon")},e.icon):o&&(O=i.createElement(F[o]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(o)}));var w=i.createElement("span",{className:"".concat(t,"-close-x")},M||i.createElement(s.default,{className:"".concat(t,"-close-icon")})),k=!l&&O?i.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:i.createElement(y.default,{iconPrefixCls:r},i.createElement("div",{className:O?"".concat(t,"-with-icon"):"",role:"alert"},O,i.createElement("div",{className:"".concat(t,"-message")},k,u),i.createElement("div",{className:"".concat(t,"-description")},l),d?i.createElement("span",{className:"".concat(t,"-btn")},d):null)),duration:C,closable:!0,closeIcon:w,onClose:p,onClick:v,key:m,style:h||{},className:(0,f.default)(g,(0,c.default)({},"".concat(t,"-").concat(o),!!o))}}var A={open:function(e){L(e,(function(t){var r=t.prefixCls,n=t.iconPrefixCls;t.instance.notice(T(e,r,n))}))},close:function(e){Object.keys(w).forEach((function(t){return Promise.resolve(w[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,r=e.placement,n=e.bottom,a=e.top,o=e.getContainer,l=e.closeIcon,c=e.prefixCls;void 0!==c&&(_=c),void 0!==t&&(x=t),void 0!==r?j=r:e.rtl&&(j="topLeft"),void 0!==n&&(P=n),void 0!==a&&(k=a),void 0!==o&&(M=o),void 0!==l&&(E=l),void 0!==e.rtl&&(N=e.rtl),void 0!==e.maxCount&&(C=e.maxCount)},destroy:function(){Object.keys(w).forEach((function(e){Promise.resolve(w[e]).then((function(e){e.destroy()})),delete w[e]}))}};["success","info","warning","error"].forEach((function(e){A[e]=function(t){return A.open((0,l.default)((0,l.default)({},t),{type:e}))}})),A.warn=A.warning,A.useNotification=(0,h.default)(L,T);t.getInstance=function(e){return O(void 0,void 0,void 0,o.default.mark((function e(){return o.default.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",null);case 1:case"end":return e.stop()}}),e)})))};var z=A;t.default=z},52040:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={placeholder:"Select time",rangePlaceholder:["Start time","End time"]};t.default=r},94055:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(59713)),l=n(r(63038)),c=n(r(67154)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=y(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),u=n(r(22972)),s=n(r(60869)),f=n(r(94184)),d=n(r(27571)),p=r(47419),v=r(31929),m=r(45471),h=r(53683);function y(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(y=function(e){return e?r:t})(e)}var g=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(n=Object.getOwnPropertySymbols(e);a=0||n.indexOf("Bottom")>=0?o.top="".concat(a.height-t.offset[1],"px"):(n.indexOf("Top")>=0||n.indexOf("bottom")>=0)&&(o.top="".concat(-t.offset[1],"px")),n.indexOf("left")>=0||n.indexOf("Right")>=0?o.left="".concat(a.width-t.offset[0],"px"):(n.indexOf("right")>=0||n.indexOf("Left")>=0)&&(o.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(o.left," ").concat(o.top)}},overlayInnerStyle:Z,arrowContent:i.createElement("span",{className:"".concat(z,"-arrow-content"),style:W}),motion:{motionName:(0,h.getTransitionName)(R,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),D?(0,p.cloneElement)(B,{className:H}):B)}));E.displayName="Tooltip",E.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var C=E;t.default=C},27571:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.arrowWidth,r=void 0===t?4:t,n=e.horizontalArrowShift,l=void 0===n?16:n,c=e.verticalArrowShift,s=void 0===c?8:c,f=e.autoAdjustOverflow,d={left:{points:["cr","cl"],offset:[-4,0]},right:{points:["cl","cr"],offset:[4,0]},top:{points:["bc","tc"],offset:[0,-4]},bottom:{points:["tc","bc"],offset:[0,4]},topLeft:{points:["bl","tc"],offset:[-(l+r),-4]},leftTop:{points:["tr","cl"],offset:[-4,-(s+r)]},topRight:{points:["br","tc"],offset:[l+r,-4]},rightTop:{points:["tl","cr"],offset:[4,-(s+r)]},bottomRight:{points:["tr","bc"],offset:[l+r,4]},rightBottom:{points:["bl","cr"],offset:[4,s+r]},bottomLeft:{points:["tl","bc"],offset:[-(l+r),4]},leftBottom:{points:["br","cl"],offset:[-4,s+r]}};return Object.keys(d).forEach((function(t){d[t]=e.arrowPointAtCenter?(0,a.default)((0,a.default)({},d[t]),{overflow:u(f),targetOffset:i}):(0,a.default)((0,a.default)({},o.placements[t]),{overflow:u(f)}),d[t].ignoreShake=!0})),d},t.getOverflowOptions=u;var a=n(r(67154)),o=r(24375),l={adjustX:1,adjustY:1},c={adjustX:0,adjustY:0},i=[0,0];function u(e){return"boolean"===typeof e?e?l:c:(0,a.default)((0,a.default)({},c),e)}},12385:function(e,t,r){"use strict";var n=r(95318),a=r(50008);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(r(67154)),l=n(r(63038)),c=n(r(50008)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!==typeof e)return{default:e};var r=f(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var l in e)if("default"!==l&&Object.prototype.hasOwnProperty.call(e,l)){var c=o?Object.getOwnPropertyDescriptor(e,l):null;c&&(c.get||c.set)?Object.defineProperty(n,l,c):n[l]=e[l]}n.default=e,r&&r.set(e,n);return n}(r(67294)),u=n(r(45598)),s=n(r(82546));function f(e){if("function"!==typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(f=function(e){return e?r:t})(e)}function d(e){var t=(0,c.default)(e);return"string"===t||"number"===t}function p(e,t){for(var r=0,n=[],a=0;at){var c=t-r;return n.push(String(o).slice(0,c)),n}n.push(o),r=l}return e}var v=function(e){var t=e.enabledMeasure,r=e.children,n=e.text,a=e.width,c=e.rows,f=e.onEllipsis,v=i.useState([0,0,0]),m=(0,l.default)(v,2),h=m[0],y=m[1],g=i.useState(0),b=(0,l.default)(g,2),M=b[0],E=b[1],C=(0,l.default)(h,3),O=C[0],w=C[1],x=C[2],k=i.useState(0),P=(0,l.default)(k,2),_=P[0],j=P[1],N=i.useRef(null),S=i.useRef(null),L=i.useMemo((function(){return(0,u.default)(n)}),[n]),F=i.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){d(e)?t+=String(e).length:t+=1})),t}(L)}),[L]),T=i.useMemo((function(){return t&&3===M?r(p(L,w),w1&&Ge,Je=function(e){var t;Le(!0),null===(t=Ze.onExpand)||void 0===t||t.call(Ze,e)},et=u.useState(0),tt=(0,i.default)(et,2),rt=tt[0],nt=tt[1],at=function(e){var t;ze(e),Ae!==e&&(null===(t=Ze.onEllipsis)||void 0===t||t.call(Ze,e))};u.useEffect((function(){var e=Y.current;if(Ve&&Ge&&e){var t=qe?e.offsetHeight1&&void 0!==arguments[1]?arguments[1]:{},n=[];return a.default.Children.forEach(t,(function(t){(void 0!==t&&null!==t||r.keepEmpty)&&(Array.isArray(t)?n=n.concat(e(t)):(0,o.isFragment)(t)&&t.props?n=n.concat(e(t.props.children,r)):n.push(t))})),n};var a=n(r(67294)),o=r(59864)},19158:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}},93399:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.injectCSS=c,t.removeCSS=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=u(e,r);null===n||void 0===n||null===(t=n.parentNode)||void 0===t||t.removeChild(n)},t.updateCSS=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=l(r);if(!i.has(n)){var a=c("",r),s=a.parentNode;i.set(n,s),s.removeChild(a)}var f=u(t,r);if(f){var d,p,v;if((null===(d=r.csp)||void 0===d?void 0:d.nonce)&&f.nonce!==(null===(p=r.csp)||void 0===p?void 0:p.nonce))f.nonce=null===(v=r.csp)||void 0===v?void 0:v.nonce;return f.innerHTML!==e&&(f.innerHTML=e),f}var m=c(e,r);return m[o]=t,m};var a=n(r(19158)),o="rc-util-key";function l(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function c(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,a.default)())return null;var n,o=document.createElement("style");(null===(t=r.csp)||void 0===t?void 0:t.nonce)&&(o.nonce=null===(n=r.csp)||void 0===n?void 0:n.nonce);o.innerHTML=e;var c=l(r),i=c.firstChild;return r.prepend&&c.prepend?c.prepend(o):r.prepend&&i?c.insertBefore(o,i):c.appendChild(o),o}var i=new Map;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=l(t);return Array.from(i.get(r).children).find((function(t){return"STYLE"===t.tagName&&t[o]===e}))}},3481:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.isStyleSupport=function(e,t){if(!Array.isArray(e)&&void 0!==t)return function(e,t){if(!o(e))return!1;var r=document.createElement("div"),n=r.style[e];return r.style[e]=t,r.style[e]!==n}(e,t);return o(e)};var a=n(r(19158)),o=function(e){if((0,a.default)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],r=window.document.documentElement;return t.some((function(e){return e in r.style}))}return!1}},27712:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=r.F1&&t<=r.F12)return!1;switch(t){case r.ALT:case r.CAPS_LOCK:case r.CONTEXT_MENU:case r.CTRL:case r.DOWN:case r.END:case r.ESC:case r.HOME:case r.INSERT:case r.LEFT:case r.MAC_FF_META:case r.META:case r.NUMLOCK:case r.NUM_CENTER:case r.PAGE_DOWN:case r.PAGE_UP:case r.PAUSE:case r.PRINT_SCREEN:case r.RIGHT:case r.SHIFT:case r.UP:case r.WIN_KEY:case r.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=r.ZERO&&e<=r.NINE)return!0;if(e>=r.NUM_ZERO&&e<=r.NUM_MULTIPLY)return!0;if(e>=r.A&&e<=r.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case r.SPACE:case r.QUESTION_MARK:case r.NUM_PLUS:case r.NUM_MINUS:case r.NUM_PERIOD:case r.NUM_DIVISION:case r.SEMICOLON:case r.DASH:case r.EQUALS:case r.COMMA:case r.PERIOD:case r.SLASH:case r.APOSTROPHE:case r.SINGLE_QUOTE:case r.OPEN_SQUARE_BRACKET:case r.BACKSLASH:case r.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}},n=r;t.default=n},82546:function(e,t,r){"use strict";var n=r(95318),a=r(20862);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=a(r(67294)),l=(0,n(r(19158)).default)()?o.useLayoutEffect:o.useEffect;t.default=l},67265:function(e,t,r){"use strict";var n=r(20862);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var n=a.useRef({});"value"in n.current&&!r(n.current.condition,t)||(n.current.value=e(),n.current.condition=t);return n.current.value};var a=n(r(67294))},60869:function(e,t,r){"use strict";var n=r(20862),a=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=t||{},n=r.defaultValue,a=r.value,c=r.onChange,i=r.postState,u=l.useState((function(){return void 0!==a?a:void 0!==n?"function"===typeof n?n():n:"function"===typeof e?e():e})),s=(0,o.default)(u,2),f=s[0],d=s[1],p=void 0!==a?a:f;i&&(p=i(p));var v=l.useRef(c);v.current=c;var m=l.useCallback((function(e){d(e),p!==e&&v.current&&v.current(e,p)}),[p,v]),h=l.useRef(!0);return l.useEffect((function(){h.current?h.current=!1:void 0===a&&d(a)}),[a]),[p,m]};var o=a(r(63038)),l=n(r(67294))},18475:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=(0,a.default)({},e);Array.isArray(t)&&t.forEach((function(e){delete r[e]}));return r};var a=n(r(81109))},75531:function(e,t,r){"use strict";var n=r(95318);Object.defineProperty(t,"__esModule",{value:!0}),t.composeRef=i,t.fillRef=c,t.supportRef=function(e){var t,r,n=(0,o.isMemo)(e)?e.type.type:e.type;if("function"===typeof n&&!(null===(t=n.prototype)||void 0===t?void 0:t.render))return!1;if("function"===typeof e&&!(null===(r=e.prototype)||void 0===r?void 0:r.render))return!1;return!0},t.useComposeRef=function(){for(var e=arguments.length,t=new Array(e),r=0;r=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1=56320&&a<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[i]);return c}t.defaultChars=";/?:@&=+$,-_.!~*'()#",t.componentChars="-_.!~*'()",e.exports=t},71471:function(e,n){"use strict";var t=60103,r=60106,o=60107,i=60108,l=60114,u=60109,a=60110,s=60112,c=60113,f=60120,p=60115,d=60116,h=60121,m=60122,g=60117,y=60129,k=60131;if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;t=x("react.element"),r=x("react.portal"),o=x("react.fragment"),i=x("react.strict_mode"),l=x("react.profiler"),u=x("react.provider"),a=x("react.context"),s=x("react.forward_ref"),c=x("react.suspense"),f=x("react.suspense_list"),p=x("react.memo"),d=x("react.lazy"),h=x("react.block"),m=x("react.server.block"),g=x("react.fundamental"),y=x("react.debug_trace_mode"),k=x("react.legacy_hidden")}function v(e){if("object"===typeof e&&null!==e){var n=e.$$typeof;switch(n){case t:switch(e=e.type){case o:case l:case i:case c:case f:return e;default:switch(e=e&&e.$$typeof){case a:case s:case d:case p:case u:return e;default:return n}}case r:return n}}}var b=u,w=t,S=s,C=o,E=d,A=p,F=r,T=l,P=i,O=c;n.ContextConsumer=a,n.ContextProvider=b,n.Element=w,n.ForwardRef=S,n.Fragment=C,n.Lazy=E,n.Memo=A,n.Portal=F,n.Profiler=T,n.StrictMode=P,n.Suspense=O,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return v(e)===a},n.isContextProvider=function(e){return v(e)===u},n.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===t},n.isForwardRef=function(e){return v(e)===s},n.isFragment=function(e){return v(e)===o},n.isLazy=function(e){return v(e)===d},n.isMemo=function(e){return v(e)===p},n.isPortal=function(e){return v(e)===r},n.isProfiler=function(e){return v(e)===l},n.isStrictMode=function(e){return v(e)===i},n.isSuspense=function(e){return v(e)===c},n.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===l||e===y||e===i||e===c||e===f||e===k||"object"===typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===a||e.$$typeof===s||e.$$typeof===g||e.$$typeof===h||e[0]===m)},n.typeOf=v},82143:function(e,n,t){"use strict";e.exports=t(71471)},57848:function(e,n,t){var r=t(18139);e.exports=function(e,n){var t,o=null;if(!e||"string"!==typeof e)return o;for(var i,l,u=r(e),a="function"===typeof n,s=0,c=u.length;se.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1);return o<0?"":e.slice(r,o)}if(n===e)return"";let l=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(o=i):(u=-1,o=l));r===o?o=l:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(d(e),0===e.length)return".";let n,t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){d(e);let n,t=e.length,r=-1,o=0,i=-1,l=0;for(;t--;){const u=e.charCodeAt(t);if(47!==u)r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==l&&(l=1):i>-1&&(l=-1);else if(n){o=t+1;break}}if(i<0||r<0||0===l||1===l&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let n,t=-1;for(;++t2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),l=a,u=0;continue}}else if(o.length>0){o="",i=0,l=a,u=0;continue}n&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(l+1,a):o=e.slice(l+1,a),i=a-l-1;l=a,u=0}else 46===t&&u>-1?u++:u=-1}return o}(e,!n);0!==t.length||n||(t=".");t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/");return n?"/"+t:t}(n)},sep:"/"};function d(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function g(e){if("string"===typeof e)e=new URL(e);else if(!m(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const n=e.pathname;let t=-1;for(;++tn.length;let u;r&&n.push(o);try{u=e.apply(this,n)}catch(i){const n=i;if(r&&t)throw n;return o(n)}r||(u instanceof Promise?u.then(l,o):u instanceof Error?o(u):l(u))}function o(e,...r){t||(t=!0,n(e,...r))}function l(e){o(null,e)}}(u,o)(...l):r(null,...l)}}(null,...n)},use:function(t){if("function"!==typeof t)throw new TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}const A=function e(){const n=E(),t=[];let r,o={},i=-1;return u.data=function(e,n){if("string"===typeof e)return 2===arguments.length?(I("data",r),o[e]=n,u):F.call(o,e)&&o[e]||null;if(e)return I("data",r),o=e,u;return o},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(r)return u;for(;++i{if(!e&&n&&t){const o=u.stringify(n,t);void 0===o||null===o||("string"===typeof(r=o)||l(r)?t.value=o:t.result=o),i(e,t)}else i(e);var r}))}t(null,n)},u.processSync=function(e){let n;u.freeze(),P("processSync",u.Parser),O("processSync",u.Compiler);const t=z(e);return u.process(t,r),L("processSync","process",n),t;function r(e){n=!0,w(e)}},u;function u(){const n=e();let r=-1;for(;++ro?0:o+n:n>o?o:n,t=t>0?t:0,r.length<1e4)i=Array.from(r),i.unshift(n,t),[].splice.apply(e,i);else for(t&&[].splice.apply(e,[n,t]);l0?(B(e,e.length,0,n),e):n}const j={}.hasOwnProperty;function N(e,n){let t;for(t in n){const r=(j.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t];let i;for(i in o){j.call(r,i)||(r[i]=[]);const e=o[i];H(r[i],Array.isArray(e)?e:e?[e]:[])}}}function H(e,n){let t=-1;const r=[];for(;++ti))return;const t=n.events.length;let o,u,a=t;for(;a--;)if("exit"===n.events[a][0]&&"chunkFlow"===n.events[a][1].type){if(o){u=n.events[a][1].end;break}o=!0}for(y(l),e=t;er;){const r=t[o];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function k(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}},oe={tokenize:function(e,n,t){return ne(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ie={tokenize:function(e,n,t){return ne(e,(function(e){return null===e||X(e)?n(e):t(e)}),"linePrefix")},partial:!0};function le(e){const n={};let t,r,o,i,l,u,a,s=-1;for(;++s=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}},partial:!0};const ce={tokenize:function(e){const n=this,t=e.attempt(ie,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}),e.attempt(this.parser.constructs.flowInitial,r,ne(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ae,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}};const fe={resolveAll:me()},pe=he("string"),de=he("text");function he(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],o=n.attempt(r,i,l);return i;function i(e){return a(e)?o(e):l(e)}function l(e){if(null!==e)return n.enter("data"),n.consume(e),u;n.consume(e)}function u(e){return a(e)?(n.exit("data"),o(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;const n=r[e];let o=-1;if(n)for(;++o-1&&(l[0]=l[0].slice(r)),i>0&&l.push(e[o].slice(0,i)));return l}(l,e)}function h(){return Object.assign({},r)}function m(){let e;for(;r._indexs?t(o):(e.consume(o),h):41===o?c--?(e.consume(o),h):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):null===o||K(o)?c?t(o):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):Y(o)?t(o):(e.consume(o),92===o?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function Ee(e,n,t,r,o,i){const l=this;let u,a=0;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),e.enter(i),s};function s(f){return null===f||91===f||93===f&&!u||94===f&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),n):X(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(n){return null===n||91===n||93===n||X(n)||a++>999?(e.exit("chunkString"),s(n)):(e.consume(n),u=u||!Z(n),92===n?f:c)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,c):c(n)}}function Ae(e,n,t,r,o,i){let l;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),l=40===n?41:n,u};function u(t){return t===l?(e.enter(o),e.consume(t),e.exit(o),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===l?(e.exit(i),u(l)):null===n?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ne(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(n))}function s(n){return n===l||null===n||X(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?c:s)}function c(n){return n===l||92===n?(e.consume(n),s):s(n)}}function Fe(e,n){let t;return function r(o){if(X(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t=!0,r;if(Z(o))return ne(e,r,t?"linePrefix":"lineSuffix")(o);return n(o)}}function Te(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pe={name:"definition",tokenize:function(e,n,t){const r=this;let o;return function(n){return e.enter("definition"),Ee.call(r,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function i(n){return o=Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),Fe(e,Ce(e,e.attempt(Oe,ne(e,l,"whitespace"),ne(e,l,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(n)}function l(i){return null===i||X(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),n(i)):t(i)}}},Oe={tokenize:function(e,n,t){return function(n){return K(n)?Fe(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?Ae(e,ne(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function o(e){return null===e||X(e)?n(e):t(e)}},partial:!0};const Ie={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),ne(e,o,"linePrefix",5)(n)};function o(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?i(e):t(e)}function i(n){return null===n?u(n):X(n)?e.attempt(De,i,u)(n):(e.enter("codeFlowValue"),l(n))}function l(n){return null===n||X(n)?(e.exit("codeFlowValue"),i(n)):(e.consume(n),l)}function u(t){return e.exit("codeIndented"),n(t)}}},De={tokenize:function(e,n,t){const r=this;return o;function o(n){return r.parser.lazy[r.now().line]?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o):ne(e,i,"linePrefix",5)(n)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):X(e)?o(e):t(e)}},partial:!0};const Le={name:"headingAtx",tokenize:function(e,n,t){const r=this;let o=0;return function(n){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(n)};function i(u){return 35===u&&o++<6?(e.consume(u),i):null===u||K(u)?(e.exit("atxHeadingSequence"),r.interrupt?n(u):l(u)):t(u)}function l(t){return 35===t?(e.enter("atxHeadingSequence"),u(t)):null===t||X(t)?(e.exit("atxHeading"),n(t)):Z(t)?ne(e,l,"whitespace")(t):(e.enter("atxHeadingText"),a(t))}function u(n){return 35===n?(e.consume(n),u):(e.exit("atxHeadingSequence"),l(n))}function a(n){return null===n||35===n||K(n)?(e.exit("atxHeadingText"),l(n)):(e.consume(n),a)}},resolve:function(e,n){let t,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},B(e,i,o-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]]));return e}};const ze={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let o,i,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){i="paragraph"===r.events[l][1].type;break}return function(n){if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=n,u(n);return t(n)};function u(n){return n===o?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),ne(e,a,"lineSuffix")(n))}function a(r){return null===r||X(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const l={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,n]),e.splice(o+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[o][1].end)):e[t][1]=l;return e.push(["exit",l,n]),e}};const Me=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","source","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Re=["pre","script","style","textarea"],Be={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let o,i,l,u,a;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(u){return 33===u?(e.consume(u),c):47===u?(e.consume(u),d):63===u?(e.consume(u),o=3,r.interrupt?n:z):U(u)?(e.consume(u),l=String.fromCharCode(u),i=!0,h):t(u)}function c(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,l="CDATA[",u=0,p):U(i)?(e.consume(i),o=4,r.interrupt?n:z):t(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?n:z):t(o)}function p(o){return o===l.charCodeAt(u++)?(e.consume(o),u===l.length?r.interrupt?n:A:p):t(o)}function d(n){return U(n)?(e.consume(n),l=String.fromCharCode(n),h):t(n)}function h(u){return null===u||47===u||62===u||K(u)?47!==u&&i&&Re.includes(l.toLowerCase())?(o=1,r.interrupt?n(u):A(u)):Me.includes(l.toLowerCase())?(o=6,47===u?(e.consume(u),m):r.interrupt?n(u):A(u)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(u):i?y(u):g(u)):45===u||$(u)?(e.consume(u),l+=String.fromCharCode(u),h):t(u)}function m(o){return 62===o?(e.consume(o),r.interrupt?n:A):t(o)}function g(n){return Z(n)?(e.consume(n),g):C(n)}function y(n){return 47===n?(e.consume(n),C):58===n||95===n||U(n)?(e.consume(n),k):Z(n)?(e.consume(n),y):C(n)}function k(n){return 45===n||46===n||58===n||95===n||$(n)?(e.consume(n),k):x(n)}function x(n){return 61===n?(e.consume(n),v):Z(n)?(e.consume(n),x):y(n)}function v(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),a=n,b):Z(n)?(e.consume(n),v):(a=null,w(n))}function b(n){return null===n||X(n)?t(n):n===a?(e.consume(n),S):(e.consume(n),b)}function w(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||K(n)?x(n):(e.consume(n),w)}function S(e){return 47===e||62===e||Z(e)?y(e):t(e)}function C(n){return 62===n?(e.consume(n),E):t(n)}function E(n){return Z(n)?(e.consume(n),E):null===n||X(n)?A(n):t(n)}function A(n){return 45===n&&2===o?(e.consume(n),O):60===n&&1===o?(e.consume(n),I):62===n&&4===o?(e.consume(n),M):63===n&&3===o?(e.consume(n),z):93===n&&5===o?(e.consume(n),L):!X(n)||6!==o&&7!==o?null===n||X(n)?F(n):(e.consume(n),A):e.check(_e,M,F)(n)}function F(n){return e.exit("htmlFlowData"),T(n)}function T(n){return null===n?R(n):X(n)?e.attempt({tokenize:P,partial:!0},T,R)(n):(e.enter("htmlFlowData"),A(n))}function P(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}}function O(n){return 45===n?(e.consume(n),z):A(n)}function I(n){return 47===n?(e.consume(n),l="",D):A(n)}function D(n){return 62===n&&Re.includes(l.toLowerCase())?(e.consume(n),M):U(n)&&l.length<8?(e.consume(n),l+=String.fromCharCode(n),D):A(n)}function L(n){return 93===n?(e.consume(n),z):A(n)}function z(n){return 62===n?(e.consume(n),M):45===n&&2===o?(e.consume(n),z):A(n)}function M(n){return null===n||X(n)?(e.exit("htmlFlowData"),R(n)):(e.consume(n),M)}function R(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2));return e},concrete:!0},_e={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(ie,n,t)}},partial:!0};const je={name:"codeFenced",tokenize:function(e,n,t){const r=this,o={tokenize:function(e,n,t){let r=0;return ne(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),i(n)}function i(n){return n===a?(e.consume(n),r++,i):r1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[t][1].end),p=Object.assign({},e[c][1].start);Je(f,-u),Je(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},l={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},o={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},l.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=_(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=_(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),a=_(a,ye(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),a=_(a,[["exit",o,n],["enter",l,n],["exit",l,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,a=_(a,[["enter",e[c][1],n],["exit",e[c][1],n]])):s=0,B(e,t-1,c-t+3,a),c=t+a.length-s-2;break}c=-1;for(;++c13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||65535===(65535&t)||65534===(65535&t)||t>1114111?"\ufffd":String.fromCharCode(t)}const yn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function kn(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return gn(t.slice(n?2:1),n?16:10)}return He(t)||e}const xn={}.hasOwnProperty,vn=function(e,n,t){return"string"!==typeof n&&(t=n,n=void 0),function(e={}){const n=bn({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ie),autolinkProtocol:P,autolinkEmail:P,atxHeading:s(ne),blockQuote:s(X),characterEscape:P,characterReference:P,codeFenced:s(Z),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:s(Z,c),codeText:s(J,c),codeTextData:P,data:P,codeFlowValue:P,definition:s(G),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:s(ee),hardBreakEscape:s(te),hardBreakTrailing:s(te),htmlFlow:s(re,c),htmlFlowData:P,htmlText:s(re,c),htmlTextData:P,image:s(oe),label:c,link:s(ie),listItem:s(ue),listItemValue:g,listOrdered:s(le,m),listUnordered:s(le),paragraph:s(ae),reference:q,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:s(ne),strong:s(se),thematicBreak:s(fe)},exit:{atxHeading:p(),atxHeadingSequence:E,autolink:p(),autolinkEmail:K,autolinkProtocol:Y,blockQuote:p(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:Q,codeFenced:p(v),codeFencedFence:x,codeFencedFenceInfo:y,codeFencedFenceMeta:k,codeFlowValue:O,codeIndented:p(b),codeText:p(R),codeTextData:O,data:O,definition:p(),definitionDestinationString:C,definitionLabelString:w,definitionTitleString:S,emphasis:p(),hardBreakEscape:p(D),hardBreakTrailing:p(D),htmlFlow:p(L),htmlFlowData:O,htmlText:p(z),htmlTextData:O,image:p(_),label:N,labelText:j,lineEnding:I,link:p(B),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:$,resourceDestinationString:H,resourceTitleString:U,resource:V,setextHeading:p(T),setextHeadingLineSequence:F,setextHeadingText:A,strong:p(),thematicBreak:p()}},e.mdastExtensions||[]),t={};return r;function r(e){let t={type:"root",children:[]};const r=[],u=[],s={stack:[t],tokenStack:r,config:n,enter:f,exit:d,buffer:c,resume:h,setData:i,getData:l};let p=-1;for(;++p0){const e=r[r.length-1];(e[1]||Sn).call(s,void 0,e[0])}for(t.position={start:a(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:a(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p{const t=this.data("settings");return vn(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})},En=function(e,n,t){var r={type:String(e)};return void 0!==t&&null!==t||"string"!==typeof n&&!Array.isArray(n)?Object.assign(r,n):t=n,Array.isArray(t)?r.children=t:void 0!==t&&null!==t&&(r.value=String(t)),r};const An=function(e){if(void 0===e||null===e)return Tn;if("string"===typeof e)return function(e){return Fn(n);function n(n){return n&&n.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t":"")+")"}));return f;function f(){let s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c-1?t.offset:null}}}const zn=function(e,n,t,r){"function"===typeof n&&"function"!==typeof t&&(r=t,t=n,n=null);var o=An(n),i=r?-1:1;!function e(l,u,a){var s,c="object"===typeof l&&null!==l?l:{};"string"===typeof c.type&&(s="string"===typeof c.tagName?c.tagName:"string"===typeof c.name?c.name:void 0,Object.defineProperty(f,"name",{value:"node ("+c.type+(s?"<"+s+">":"")+")"}));return f;function f(){var s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c":"gt"};function qn(e,n){const t=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+Vn[e]+";"}))}(function(e){const n=[];let t=-1,r=0,o=0;for(;++t55295&&i<57344){const n=e.charCodeAt(t+1);i<56320&&n>56319&&n<57344?(l=String.fromCharCode(i,n),o=1):l="\ufffd"}else l=String.fromCharCode(i);l&&(n.push(e.slice(r,t),encodeURIComponent(l)),r=t+o+1,l=""),o&&(t+=o,o=0)}return n.join("")+e.slice(r)}(e||""));if(!n)return t;const r=t.indexOf(":"),o=t.indexOf("?"),i=t.indexOf("#"),l=t.indexOf("/");return r<0||l>-1&&r>l||o>-1&&r>o||i>-1&&r>i||n.test(t.slice(0,r))?t:""}function $n(e,n){const t=[];let r=-1;for(n&&t.push(En("text","\n"));++r0&&t.push(En("text","\n")),t}function Wn(e,n){const t=String(n.identifier),r=qn(t.toLowerCase()),o=e.footnoteOrder.indexOf(t);let i;-1===o?(e.footnoteOrder.push(t),e.footnoteCounts[t]=1,i=e.footnoteOrder.length):(e.footnoteCounts[t]++,i=o+1);const l=e.footnoteCounts[t];return e(n,"sup",[e(n.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[En("text",String(i))])])}var Qn=t(70729);function Yn(e,n){const t=n.referenceType;let r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return En("text","!["+n.alt+r);const o=Un(e,n),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(En("text","["));const l=o[o.length-1];return l&&"text"===l.type?l.value+=r:o.push(En("text",r)),o}function Kn(e){const n=e.spread;return void 0===n||null===n?e.children.length>1:n}const Xn={blockquote:function(e,n){return e(n,"blockquote",$n(Un(e,n),!0))},break:function(e,n){return[e(n,"br"),En("text","\n")]},code:function(e,n){const t=n.value?n.value+"\n":"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);const i=e(n,"code",o,[En("text",t)]);return n.meta&&(i.data={meta:n.meta}),e(n.position,"pre",[i])},delete:function(e,n){return e(n,"del",Un(e,n))},emphasis:function(e,n){return e(n,"em",Un(e,n))},footnoteReference:Wn,footnote:function(e,n){const t=e.footnoteById;let r=1;for(;r in t;)r++;const o=String(r);return t[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:n.children}],position:n.position},Wn(e,{type:"footnoteReference",identifier:o,position:n.position})},heading:function(e,n){return e(n,"h"+n.depth,Un(e,n))},html:function(e,n){return e.dangerous?e.augment(n,En("raw",n.value)):null},imageReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Yn(e,n);const r={src:Qn(t.url||""),alt:n.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"img",r)},image:function(e,n){const t={src:Qn(n.url),alt:n.alt};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"img",t)},inlineCode:function(e,n){return e(n,"code",[En("text",n.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Yn(e,n);const r={href:Qn(t.url||"")};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"a",r,Un(e,n))},link:function(e,n){const t={href:Qn(n.url)};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"a",t,Un(e,n))},listItem:function(e,n,t){const r=Un(e,n),o=t?function(e){let n=e.spread;const t=e.children;let r=-1;for(;!n&&++r0&&t.children.unshift(En("text"," ")),t.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let u=-1;for(;++u{const n=String(e.identifier).toUpperCase();Jn.call(o,n)||(o[n]=e)})),l;function i(e,n){if(e&&"data"in e&&e.data){const t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){const r="type"in e?e:{position:e};(t=r)&&t.position&&t.position.start&&t.position.start.line&&t.position.start.column&&t.position.end&&t.position.end.line&&t.position.end.column&&(n.position={start:In(r),end:Dn(r)})}var t;return n}function l(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}(e,n),r=Nn(t,e,null),o=function(e){let n=-1;const t=[];for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};u>1&&n.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(n)}const s=o[o.length-1];if(s&&"element"===s.type&&"p"===s.tagName){const e=s.children[s.children.length-1];e&&"text"===e.type?e.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...a)}else o.push(...a);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:$n(o,!0)};r.position&&(c.position=r.position),t.push(c)}return 0===t.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[En("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:$n(t,!0)},{type:"text",value:"\n"}]}}(t);return o&&r.children.push(En("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}var et=function(e,n){return e&&"run"in e?function(e,n){return(t,r,o)=>{e.run(Gn(t,n),r,(e=>{o(e)}))}}(e,n):function(e){return n=>Gn(n,e)}(e||n)};var nt=t(45697);class tt{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function rt(e,n){const t={},r={};let o=-1;for(;++o"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),bt=xt({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function wt(e,n){return n in e?e[n]:n}function St(e,n){return wt(e,n.toLowerCase())}const Ct=xt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:St,properties:{xmlns:null,xmlnsXLink:null}}),Et=xt({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:at,ariaAutoComplete:null,ariaBusy:at,ariaChecked:at,ariaColCount:ct,ariaColIndex:ct,ariaColSpan:ct,ariaControls:ft,ariaCurrent:null,ariaDescribedBy:ft,ariaDetails:null,ariaDisabled:at,ariaDropEffect:ft,ariaErrorMessage:null,ariaExpanded:at,ariaFlowTo:ft,ariaGrabbed:at,ariaHasPopup:null,ariaHidden:at,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ft,ariaLevel:ct,ariaLive:null,ariaModal:at,ariaMultiLine:at,ariaMultiSelectable:at,ariaOrientation:null,ariaOwns:ft,ariaPlaceholder:null,ariaPosInSet:ct,ariaPressed:at,ariaReadOnly:at,ariaRelevant:null,ariaRequired:at,ariaRoleDescription:ft,ariaRowCount:ct,ariaRowIndex:ct,ariaRowSpan:ct,ariaSelected:at,ariaSetSize:ct,ariaSort:null,ariaValueMax:ct,ariaValueMin:ct,ariaValueNow:ct,ariaValueText:null,role:null}}),At=xt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:St,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pt,acceptCharset:ft,accessKey:ft,action:null,allow:null,allowFullScreen:ut,allowPaymentRequest:ut,allowUserMedia:ut,alt:null,as:null,async:ut,autoCapitalize:null,autoComplete:ft,autoFocus:ut,autoPlay:ut,capture:ut,charSet:null,checked:ut,cite:null,className:ft,cols:ct,colSpan:null,content:null,contentEditable:at,controls:ut,controlsList:ft,coords:ct|pt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ut,defer:ut,dir:null,dirName:null,disabled:ut,download:st,draggable:at,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ut,formTarget:null,headers:ft,height:ct,hidden:ut,high:ct,href:null,hrefLang:null,htmlFor:ft,httpEquiv:ft,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:ut,itemId:null,itemProp:ft,itemRef:ft,itemScope:ut,itemType:ft,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ut,low:ct,manifest:null,max:null,maxLength:ct,media:null,method:null,min:null,minLength:ct,multiple:ut,muted:ut,name:null,nonce:null,noModule:ut,noValidate:ut,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ut,optimum:ct,pattern:null,ping:ft,placeholder:null,playsInline:ut,poster:null,preload:null,readOnly:ut,referrerPolicy:null,rel:ft,required:ut,reversed:ut,rows:ct,rowSpan:ct,sandbox:ft,scope:null,scoped:ut,seamless:ut,selected:ut,shape:null,size:ct,sizes:null,slot:null,span:ct,spellCheck:at,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ct,step:null,style:null,tabIndex:ct,target:null,title:null,translate:null,type:null,typeMustMatch:ut,useMap:null,value:at,width:ct,wrap:null,align:null,aLink:null,archive:ft,axis:null,background:null,bgColor:null,border:ct,borderColor:null,bottomMargin:ct,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ut,declare:ut,event:null,face:null,frame:null,frameBorder:null,hSpace:ct,leftMargin:ct,link:null,longDesc:null,lowSrc:null,marginHeight:ct,marginWidth:ct,noResize:ut,noHref:ut,noShade:ut,noWrap:ut,object:null,profile:null,prompt:null,rev:null,rightMargin:ct,rules:null,scheme:null,scrolling:at,standby:null,summary:null,text:null,topMargin:ct,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ct,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ut,disableRemotePlayback:ut,prefix:null,property:null,results:ct,security:null,unselectable:null}}),Ft=xt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:wt,properties:{about:dt,accentHeight:ct,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ct,amplitude:ct,arabicForm:null,ascent:ct,attributeName:null,attributeType:null,azimuth:ct,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ct,by:null,calcMode:null,capHeight:ct,className:ft,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ct,diffuseConstant:ct,direction:null,display:null,dur:null,divisor:ct,dominantBaseline:null,download:ut,dx:null,dy:null,edgeMode:null,editable:null,elevation:ct,enableBackground:null,end:null,event:null,exponent:ct,externalResourcesRequired:null,fill:null,fillOpacity:ct,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pt,g2:pt,glyphName:pt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ct,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ct,horizOriginX:ct,horizOriginY:ct,id:null,ideographic:ct,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ct,k:ct,k1:ct,k2:ct,k3:ct,k4:ct,kernelMatrix:dt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ct,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ct,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ct,overlineThickness:ct,paintOrder:null,panose1:null,path:null,pathLength:ct,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ft,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ct,pointsAtY:ct,pointsAtZ:ct,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:dt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:dt,rev:dt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:dt,requiredFeatures:dt,requiredFonts:dt,requiredFormats:dt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ct,specularExponent:ct,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ct,strikethroughThickness:ct,string:null,stroke:null,strokeDashArray:dt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ct,strokeOpacity:ct,strokeWidth:null,style:null,surfaceScale:ct,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:dt,tabIndex:ct,tableValues:null,target:null,targetX:ct,targetY:ct,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:dt,to:null,transform:null,u1:null,u2:null,underlinePosition:ct,underlineThickness:ct,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ct,values:null,vAlphabetic:ct,vMathematical:ct,vectorEffect:null,vHanging:ct,vIdeographic:ct,version:null,vertAdvY:ct,vertOriginX:ct,vertOriginY:ct,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ct,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Tt=rt([bt,vt,Ct,Et,At],"html"),Pt=rt([bt,vt,Ct,Et,Ft],"svg");function Ot(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return n=>{On(n,"element",((n,t,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(n.tagName)),!i&&e.allowElement&&"number"===typeof t&&(i=!e.allowElement(n,t,o)),i&&"number"===typeof t)return e.unwrapDisallowed&&n.children?o.children.splice(t,1,...n.children):o.children.splice(t,1),t}))}}const It=["http","https","mailto","tel"];var Dt=t(82143);function Lt(e){var n=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}const zt=/^data[-\w.:]+$/i,Mt=/-[a-z]/g,Rt=/[A-Z]/g;function Bt(e){return"-"+e.toLowerCase()}function _t(e){return e.charAt(1).toUpperCase()}const jt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Nt=t(57848);const Ht={}.hasOwnProperty,Ut=new Set(["table","thead","tbody","tfoot","tr"]);function Vt(e,n){const t=[];let r,o=-1;for(;++oString(e))).join("")),!h&&o.rawSourcePos&&(a.sourcePosition=n.position),!h&&o.includeElementIndex&&(a.index=$t(r,n),a.siblingCount=$t(r)),h||(a.node=n),f.length>0?i.createElement(d,a,f):i.createElement(d,a)}function $t(e,n){let t=-1,r=0;for(;++t4&&"data"===t.slice(0,4)&&zt.test(n)){if("-"===n.charAt(4)){const e=n.slice(5).replace(Mt,_t);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=n.slice(4);if(!Mt.test(e)){let t=e.replace(Rt,Bt);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}o=gt}return new o(r,n)}(r.schema,n);let i=t;null!==i&&void 0!==i&&i===i&&(Array.isArray(i)&&(i=o.commaSeparated?function(e,n){var t=n||{};return""===e[e.length-1]&&(e=e.concat("")),e.join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===o.property&&"string"===typeof i&&(i=function(e){const n={};try{Nt(e,t)}catch{}return n;function t(e,t){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,Qt)]=t}}(i)),o.space&&o.property?e[Ht.call(jt,o.property)?jt[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function Qt(e,n){return n.toUpperCase()}const Yt={}.hasOwnProperty,Kt={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Xt(e){for(const i in Kt)if(Yt.call(Kt,i)&&Yt.call(e,i)){const e=Kt[i];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${i}\` (see for more info)`),delete Kt[i]}const n=A().use(Cn).use(e.remarkPlugins||[]).use(et,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Ot,e),t=new k;"string"===typeof e.children?t.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=n.runSync(n.parse(t),t);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},Vt({options:e,schema:Tt,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}Xt.defaultProps={transformLinkUri:function(e){const n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;const r=n.indexOf(":");if(-1===r)return n;let o=-1;for(;++oo?n:(o=n.indexOf("#"),-1!==o&&r>o?n:"javascript:void(0)")}},Xt.propTypes={children:nt.string,className:nt.string,allowElement:nt.func,allowedElements:nt.arrayOf(nt.string),disallowedElements:nt.arrayOf(nt.string),unwrapDisallowed:nt.bool,remarkPlugins:nt.arrayOf(nt.oneOfType([nt.object,nt.func,nt.arrayOf(nt.oneOfType([nt.object,nt.func]))])),rehypePlugins:nt.arrayOf(nt.oneOfType([nt.object,nt.func,nt.arrayOf(nt.oneOfType([nt.object,nt.func]))])),sourcePos:nt.bool,rawSourcePos:nt.bool,skipHtml:nt.bool,includeElementIndex:nt.bool,transformLinkUri:nt.oneOfType([nt.func,nt.bool]),linkTarget:nt.oneOfType([nt.func,nt.string]),transformImageUri:nt.func,components:nt.object}}}]); \ No newline at end of file diff --git a/static/admin/_next/static/chunks/9655-722bcfb83a61ab83.js b/static/admin/_next/static/chunks/9655-722bcfb83a61ab83.js new file mode 100644 index 000000000..8c0b2dbe8 --- /dev/null +++ b/static/admin/_next/static/chunks/9655-722bcfb83a61ab83.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9655],{94470:function(e){"use strict";var n=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,o=Object.getOwnPropertyDescriptor,i=function(e){return"function"===typeof Array.isArray?Array.isArray(e):"[object Array]"===t.call(e)},l=function(e){if(!e||"[object Object]"!==t.call(e))return!1;var r,o=n.call(e,"constructor"),i=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!o&&!i)return!1;for(r in e);return"undefined"===typeof r||n.call(e,r)},u=function(e,n){r&&"__proto__"===n.name?r(e,n.name,{enumerable:!0,configurable:!0,value:n.newValue,writable:!0}):e[n.name]=n.newValue},a=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;if(o)return o(e,t).value}return e[t]};e.exports=function e(){var n,t,r,o,s,c,f=arguments[0],p=1,d=arguments.length,h=!1;for("boolean"===typeof f&&(h=f,f=arguments[1]||{},p=2),(null==f||"object"!==typeof f&&"function"!==typeof f)&&(f={});p=55296&&u<=57343){if(u>=55296&&u<=56319&&i+1=56320&&a<=57343){c+=encodeURIComponent(e[i]+e[i+1]),i++;continue}c+="%EF%BF%BD"}else c+=encodeURIComponent(e[i]);return c}t.defaultChars=";/?:@&=+$,-_.!~*'()#",t.componentChars="-_.!~*'()",e.exports=t},71471:function(e,n){"use strict";var t=60103,r=60106,o=60107,i=60108,l=60114,u=60109,a=60110,s=60112,c=60113,f=60120,p=60115,d=60116,h=60121,m=60122,g=60117,y=60129,k=60131;if("function"===typeof Symbol&&Symbol.for){var x=Symbol.for;t=x("react.element"),r=x("react.portal"),o=x("react.fragment"),i=x("react.strict_mode"),l=x("react.profiler"),u=x("react.provider"),a=x("react.context"),s=x("react.forward_ref"),c=x("react.suspense"),f=x("react.suspense_list"),p=x("react.memo"),d=x("react.lazy"),h=x("react.block"),m=x("react.server.block"),g=x("react.fundamental"),y=x("react.debug_trace_mode"),k=x("react.legacy_hidden")}function v(e){if("object"===typeof e&&null!==e){var n=e.$$typeof;switch(n){case t:switch(e=e.type){case o:case l:case i:case c:case f:return e;default:switch(e=e&&e.$$typeof){case a:case s:case d:case p:case u:return e;default:return n}}case r:return n}}}var b=u,w=t,S=s,C=o,E=d,A=p,F=r,T=l,P=i,O=c;n.ContextConsumer=a,n.ContextProvider=b,n.Element=w,n.ForwardRef=S,n.Fragment=C,n.Lazy=E,n.Memo=A,n.Portal=F,n.Profiler=T,n.StrictMode=P,n.Suspense=O,n.isAsyncMode=function(){return!1},n.isConcurrentMode=function(){return!1},n.isContextConsumer=function(e){return v(e)===a},n.isContextProvider=function(e){return v(e)===u},n.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===t},n.isForwardRef=function(e){return v(e)===s},n.isFragment=function(e){return v(e)===o},n.isLazy=function(e){return v(e)===d},n.isMemo=function(e){return v(e)===p},n.isPortal=function(e){return v(e)===r},n.isProfiler=function(e){return v(e)===l},n.isStrictMode=function(e){return v(e)===i},n.isSuspense=function(e){return v(e)===c},n.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===o||e===l||e===y||e===i||e===c||e===f||e===k||"object"===typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===p||e.$$typeof===u||e.$$typeof===a||e.$$typeof===s||e.$$typeof===g||e.$$typeof===h||e[0]===m)},n.typeOf=v},82143:function(e,n,t){"use strict";e.exports=t(71471)},57848:function(e,n,t){var r=t(18139);e.exports=function(e,n){var t,o=null;if(!e||"string"!==typeof e)return o;for(var i,l,u=r(e),a="function"===typeof n,s=0,c=u.length;se.length){for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else o<0&&(t=!0,o=i+1);return o<0?"":e.slice(r,o)}if(n===e)return"";let l=-1,u=n.length-1;for(;i--;)if(47===e.charCodeAt(i)){if(t){r=i+1;break}}else l<0&&(t=!0,l=i+1),u>-1&&(e.charCodeAt(i)===n.charCodeAt(u--)?u<0&&(o=i):(u=-1,o=l));r===o?o=l:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){if(d(e),0===e.length)return".";let n,t=-1,r=e.length;for(;--r;)if(47===e.charCodeAt(r)){if(n){t=r;break}}else n||(n=!0);return t<0?47===e.charCodeAt(0)?"/":".":1===t&&47===e.charCodeAt(0)?"//":e.slice(0,t)},extname:function(e){d(e);let n,t=e.length,r=-1,o=0,i=-1,l=0;for(;t--;){const u=e.charCodeAt(t);if(47!==u)r<0&&(n=!0,r=t+1),46===u?i<0?i=t:1!==l&&(l=1):i>-1&&(l=-1);else if(n){o=t+1;break}}if(i<0||r<0||0===l||1===l&&i===r-1&&i===o+1)return"";return e.slice(i,r)},join:function(...e){let n,t=-1;for(;++t2){if(r=o.lastIndexOf("/"),r!==o.length-1){r<0?(o="",i=0):(o=o.slice(0,r),i=o.length-1-o.lastIndexOf("/")),l=a,u=0;continue}}else if(o.length>0){o="",i=0,l=a,u=0;continue}n&&(o=o.length>0?o+"/..":"..",i=2)}else o.length>0?o+="/"+e.slice(l+1,a):o=e.slice(l+1,a),i=a-l-1;l=a,u=0}else 46===t&&u>-1?u++:u=-1}return o}(e,!n);0!==t.length||n||(t=".");t.length>0&&47===e.charCodeAt(e.length-1)&&(t+="/");return n?"/"+t:t}(n)},sep:"/"};function d(e){if("string"!==typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const h={cwd:function(){return"/"}};function m(e){return null!==e&&"object"===typeof e&&e.href&&e.origin}function g(e){if("string"===typeof e)e=new URL(e);else if(!m(e)){const n=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw n.code="ERR_INVALID_ARG_TYPE",n}if("file:"!==e.protocol){const e=new TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){const e=new TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}const n=e.pathname;let t=-1;for(;++tn.length;let u;r&&n.push(o);try{u=e.apply(this,n)}catch(i){const n=i;if(r&&t)throw n;return o(n)}r||(u instanceof Promise?u.then(l,o):u instanceof Error?o(u):l(u))}function o(e,...r){t||(t=!0,n(e,...r))}function l(e){o(null,e)}}(u,o)(...l):r(null,...l)}}(null,...n)},use:function(t){if("function"!==typeof t)throw new TypeError("Expected `middelware` to be a function, not "+t);return e.push(t),n}};return n}const A=function e(){const n=E(),t=[];let r,o={},i=-1;return u.data=function(e,n){if("string"===typeof e)return 2===arguments.length?(I("data",r),o[e]=n,u):F.call(o,e)&&o[e]||null;if(e)return I("data",r),o=e,u;return o},u.Parser=void 0,u.Compiler=void 0,u.freeze=function(){if(r)return u;for(;++i{if(!e&&n&&t){const o=u.stringify(n,t);void 0===o||null===o||("string"===typeof(r=o)||l(r)?t.value=o:t.result=o),i(e,t)}else i(e);var r}))}t(null,n)},u.processSync=function(e){let n;u.freeze(),P("processSync",u.Parser),O("processSync",u.Compiler);const t=z(e);return u.process(t,r),L("processSync","process",n),t;function r(e){n=!0,w(e)}},u;function u(){const n=e();let r=-1;for(;++ro?0:o+n:n>o?o:n,t=t>0?t:0,r.length<1e4)i=Array.from(r),i.unshift(n,t),[].splice.apply(e,i);else for(t&&[].splice.apply(e,[n,t]);l0?(B(e,e.length,0,n),e):n}const j={}.hasOwnProperty;function N(e,n){let t;for(t in n){const r=(j.call(e,t)?e[t]:void 0)||(e[t]={}),o=n[t];let i;for(i in o){j.call(r,i)||(r[i]=[]);const e=o[i];H(r[i],Array.isArray(e)?e:e?[e]:[])}}}function H(e,n){let t=-1;const r=[];for(;++ti))return;const t=n.events.length;let o,u,a=t;for(;a--;)if("exit"===n.events[a][0]&&"chunkFlow"===n.events[a][1].type){if(o){u=n.events[a][1].end;break}o=!0}for(y(l),e=t;er;){const r=t[o];n.containerState=r[1],r[0].exit.call(n,e)}t.length=r}function k(){r.write([null]),o=void 0,r=void 0,n.containerState._closeFlow=void 0}}},oe={tokenize:function(e,n,t){return ne(e,e.attempt(this.parser.constructs.document,n,t),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const ie={tokenize:function(e,n,t){return ne(e,(function(e){return null===e||X(e)?n(e):t(e)}),"linePrefix")},partial:!0};function le(e){const n={};let t,r,o,i,l,u,a,s=-1;for(;++s=4?n(o):e.interrupt(r.parser.constructs.flow,t,n)(o)}},partial:!0};const ce={tokenize:function(e){const n=this,t=e.attempt(ie,(function(r){if(null===r)return void e.consume(r);return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),n.currentConstruct=void 0,t}),e.attempt(this.parser.constructs.flowInitial,r,ne(e,e.attempt(this.parser.constructs.flow,r,e.attempt(ae,r)),"linePrefix")));return t;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),n.currentConstruct=void 0,t;e.consume(r)}}};const fe={resolveAll:me()},pe=he("string"),de=he("text");function he(e){return{tokenize:function(n){const t=this,r=this.parser.constructs[e],o=n.attempt(r,i,l);return i;function i(e){return a(e)?o(e):l(e)}function l(e){if(null!==e)return n.enter("data"),n.consume(e),u;n.consume(e)}function u(e){return a(e)?(n.exit("data"),o(e)):(n.consume(e),u)}function a(e){if(null===e)return!0;const n=r[e];let o=-1;if(n)for(;++o-1&&(l[0]=l[0].slice(r)),i>0&&l.push(e[o].slice(0,i)));return l}(l,e)}function h(){return Object.assign({},r)}function m(){let e;for(;r._indexs?t(o):(e.consume(o),h):41===o?c--?(e.consume(o),h):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):null===o||K(o)?c?t(o):(e.exit("chunkString"),e.exit(u),e.exit(l),e.exit(r),n(o)):Y(o)?t(o):(e.consume(o),92===o?m:h)}function m(n){return 40===n||41===n||92===n?(e.consume(n),h):h(n)}}function Ee(e,n,t,r,o,i){const l=this;let u,a=0;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),e.enter(i),s};function s(f){return null===f||91===f||93===f&&!u||94===f&&!a&&"_hiddenFootnoteSupport"in l.parser.constructs||a>999?t(f):93===f?(e.exit(i),e.enter(o),e.consume(f),e.exit(o),e.exit(r),n):X(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),s):(e.enter("chunkString",{contentType:"string"}),c(f))}function c(n){return null===n||91===n||93===n||X(n)||a++>999?(e.exit("chunkString"),s(n)):(e.consume(n),u=u||!Z(n),92===n?f:c)}function f(n){return 91===n||92===n||93===n?(e.consume(n),a++,c):c(n)}}function Ae(e,n,t,r,o,i){let l;return function(n){return e.enter(r),e.enter(o),e.consume(n),e.exit(o),l=40===n?41:n,u};function u(t){return t===l?(e.enter(o),e.consume(t),e.exit(o),e.exit(r),n):(e.enter(i),a(t))}function a(n){return n===l?(e.exit(i),u(l)):null===n?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ne(e,a,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),s(n))}function s(n){return n===l||null===n||X(n)?(e.exit("chunkString"),a(n)):(e.consume(n),92===n?c:s)}function c(n){return n===l||92===n?(e.consume(n),s):s(n)}}function Fe(e,n){let t;return function r(o){if(X(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),t=!0,r;if(Z(o))return ne(e,r,t?"linePrefix":"lineSuffix")(o);return n(o)}}function Te(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Pe={name:"definition",tokenize:function(e,n,t){const r=this;let o;return function(n){return e.enter("definition"),Ee.call(r,e,i,t,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function i(n){return o=Te(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===n?(e.enter("definitionMarker"),e.consume(n),e.exit("definitionMarker"),Fe(e,Ce(e,e.attempt(Oe,ne(e,l,"whitespace"),ne(e,l,"whitespace")),t,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString"))):t(n)}function l(i){return null===i||X(i)?(e.exit("definition"),r.parser.defined.includes(o)||r.parser.defined.push(o),n(i)):t(i)}}},Oe={tokenize:function(e,n,t){return function(n){return K(n)?Fe(e,r)(n):t(n)};function r(n){return 34===n||39===n||40===n?Ae(e,ne(e,o,"whitespace"),t,"definitionTitle","definitionTitleMarker","definitionTitleString")(n):t(n)}function o(e){return null===e||X(e)?n(e):t(e)}},partial:!0};const Ie={name:"codeIndented",tokenize:function(e,n,t){const r=this;return function(n){return e.enter("codeIndented"),ne(e,o,"linePrefix",5)(n)};function o(e){const n=r.events[r.events.length-1];return n&&"linePrefix"===n[1].type&&n[2].sliceSerialize(n[1],!0).length>=4?i(e):t(e)}function i(n){return null===n?u(n):X(n)?e.attempt(De,i,u)(n):(e.enter("codeFlowValue"),l(n))}function l(n){return null===n||X(n)?(e.exit("codeFlowValue"),i(n)):(e.consume(n),l)}function u(t){return e.exit("codeIndented"),n(t)}}},De={tokenize:function(e,n,t){const r=this;return o;function o(n){return r.parser.lazy[r.now().line]?t(n):X(n)?(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o):ne(e,i,"linePrefix",5)(n)}function i(e){const i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?n(e):X(e)?o(e):t(e)}},partial:!0};const Le={name:"headingAtx",tokenize:function(e,n,t){const r=this;let o=0;return function(n){return e.enter("atxHeading"),e.enter("atxHeadingSequence"),i(n)};function i(u){return 35===u&&o++<6?(e.consume(u),i):null===u||K(u)?(e.exit("atxHeadingSequence"),r.interrupt?n(u):l(u)):t(u)}function l(t){return 35===t?(e.enter("atxHeadingSequence"),u(t)):null===t||X(t)?(e.exit("atxHeading"),n(t)):Z(t)?ne(e,l,"whitespace")(t):(e.enter("atxHeadingText"),a(t))}function u(n){return 35===n?(e.consume(n),u):(e.exit("atxHeadingSequence"),l(n))}function a(n){return null===n||35===n||K(n)?(e.exit("atxHeadingText"),l(n)):(e.consume(n),a)}},resolve:function(e,n){let t,r,o=e.length-2,i=3;"whitespace"===e[i][1].type&&(i+=2);o-2>i&&"whitespace"===e[o][1].type&&(o-=2);"atxHeadingSequence"===e[o][1].type&&(i===o-1||o-4>i&&"whitespace"===e[o-2][1].type)&&(o-=i+1===o?2:4);o>i&&(t={type:"atxHeadingText",start:e[i][1].start,end:e[o][1].end},r={type:"chunkText",start:e[i][1].start,end:e[o][1].end,contentType:"text"},B(e,i,o-i+1,[["enter",t,n],["enter",r,n],["exit",r,n],["exit",t,n]]));return e}};const ze={name:"setextUnderline",tokenize:function(e,n,t){const r=this;let o,i,l=r.events.length;for(;l--;)if("lineEnding"!==r.events[l][1].type&&"linePrefix"!==r.events[l][1].type&&"content"!==r.events[l][1].type){i="paragraph"===r.events[l][1].type;break}return function(n){if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),e.enter("setextHeadingLineSequence"),o=n,u(n);return t(n)};function u(n){return n===o?(e.consume(n),u):(e.exit("setextHeadingLineSequence"),ne(e,a,"lineSuffix")(n))}function a(r){return null===r||X(r)?(e.exit("setextHeadingLine"),n(r)):t(r)}},resolveTo:function(e,n){let t,r,o,i=e.length;for(;i--;)if("enter"===e[i][0]){if("content"===e[i][1].type){t=i;break}"paragraph"===e[i][1].type&&(r=i)}else"content"===e[i][1].type&&e.splice(i,1),o||"definition"!==e[i][1].type||(o=i);const l={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",l,n]),e.splice(o+1,0,["exit",e[t][1],n]),e[t][1].end=Object.assign({},e[o][1].end)):e[t][1]=l;return e.push(["exit",l,n]),e}};const Me=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],Re=["pre","script","style","textarea"],Be={name:"htmlFlow",tokenize:function(e,n,t){const r=this;let o,i,l,u,a;return function(n){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),s};function s(u){return 33===u?(e.consume(u),c):47===u?(e.consume(u),d):63===u?(e.consume(u),o=3,r.interrupt?n:z):U(u)?(e.consume(u),l=String.fromCharCode(u),i=!0,h):t(u)}function c(i){return 45===i?(e.consume(i),o=2,f):91===i?(e.consume(i),o=5,l="CDATA[",u=0,p):U(i)?(e.consume(i),o=4,r.interrupt?n:z):t(i)}function f(o){return 45===o?(e.consume(o),r.interrupt?n:z):t(o)}function p(o){return o===l.charCodeAt(u++)?(e.consume(o),u===l.length?r.interrupt?n:A:p):t(o)}function d(n){return U(n)?(e.consume(n),l=String.fromCharCode(n),h):t(n)}function h(u){return null===u||47===u||62===u||K(u)?47!==u&&i&&Re.includes(l.toLowerCase())?(o=1,r.interrupt?n(u):A(u)):Me.includes(l.toLowerCase())?(o=6,47===u?(e.consume(u),m):r.interrupt?n(u):A(u)):(o=7,r.interrupt&&!r.parser.lazy[r.now().line]?t(u):i?y(u):g(u)):45===u||$(u)?(e.consume(u),l+=String.fromCharCode(u),h):t(u)}function m(o){return 62===o?(e.consume(o),r.interrupt?n:A):t(o)}function g(n){return Z(n)?(e.consume(n),g):C(n)}function y(n){return 47===n?(e.consume(n),C):58===n||95===n||U(n)?(e.consume(n),k):Z(n)?(e.consume(n),y):C(n)}function k(n){return 45===n||46===n||58===n||95===n||$(n)?(e.consume(n),k):x(n)}function x(n){return 61===n?(e.consume(n),v):Z(n)?(e.consume(n),x):y(n)}function v(n){return null===n||60===n||61===n||62===n||96===n?t(n):34===n||39===n?(e.consume(n),a=n,b):Z(n)?(e.consume(n),v):(a=null,w(n))}function b(n){return null===n||X(n)?t(n):n===a?(e.consume(n),S):(e.consume(n),b)}function w(n){return null===n||34===n||39===n||60===n||61===n||62===n||96===n||K(n)?x(n):(e.consume(n),w)}function S(e){return 47===e||62===e||Z(e)?y(e):t(e)}function C(n){return 62===n?(e.consume(n),E):t(n)}function E(n){return Z(n)?(e.consume(n),E):null===n||X(n)?A(n):t(n)}function A(n){return 45===n&&2===o?(e.consume(n),O):60===n&&1===o?(e.consume(n),I):62===n&&4===o?(e.consume(n),M):63===n&&3===o?(e.consume(n),z):93===n&&5===o?(e.consume(n),L):!X(n)||6!==o&&7!==o?null===n||X(n)?F(n):(e.consume(n),A):e.check(_e,M,F)(n)}function F(n){return e.exit("htmlFlowData"),T(n)}function T(n){return null===n?R(n):X(n)?e.attempt({tokenize:P,partial:!0},T,R)(n):(e.enter("htmlFlowData"),A(n))}function P(e,n,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),o};function o(e){return r.parser.lazy[r.now().line]?t(e):n(e)}}function O(n){return 45===n?(e.consume(n),z):A(n)}function I(n){return 47===n?(e.consume(n),l="",D):A(n)}function D(n){return 62===n&&Re.includes(l.toLowerCase())?(e.consume(n),M):U(n)&&l.length<8?(e.consume(n),l+=String.fromCharCode(n),D):A(n)}function L(n){return 93===n?(e.consume(n),z):A(n)}function z(n){return 62===n?(e.consume(n),M):45===n&&2===o?(e.consume(n),z):A(n)}function M(n){return null===n||X(n)?(e.exit("htmlFlowData"),R(n)):(e.consume(n),M)}function R(t){return e.exit("htmlFlow"),n(t)}},resolveTo:function(e){let n=e.length;for(;n--&&("enter"!==e[n][0]||"htmlFlow"!==e[n][1].type););n>1&&"linePrefix"===e[n-2][1].type&&(e[n][1].start=e[n-2][1].start,e[n+1][1].start=e[n-2][1].start,e.splice(n-2,2));return e},concrete:!0},_e={tokenize:function(e,n,t){return function(r){return e.exit("htmlFlowData"),e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),e.attempt(ie,n,t)}},partial:!0};const je={name:"codeFenced",tokenize:function(e,n,t){const r=this,o={tokenize:function(e,n,t){let r=0;return ne(e,o,"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function o(n){return e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),i(n)}function i(n){return n===a?(e.consume(n),r++,i):r1&&e[c][1].end.offset-e[c][1].start.offset>1?2:1;const f=Object.assign({},e[t][1].end),p=Object.assign({},e[c][1].start);Je(f,-u),Je(p,u),i={type:u>1?"strongSequence":"emphasisSequence",start:f,end:Object.assign({},e[t][1].end)},l={type:u>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[c][1].start),end:p},o={type:u>1?"strongText":"emphasisText",start:Object.assign({},e[t][1].end),end:Object.assign({},e[c][1].start)},r={type:u>1?"strong":"emphasis",start:Object.assign({},i.start),end:Object.assign({},l.end)},e[t][1].end=Object.assign({},i.start),e[c][1].start=Object.assign({},l.end),a=[],e[t][1].end.offset-e[t][1].start.offset&&(a=_(a,[["enter",e[t][1],n],["exit",e[t][1],n]])),a=_(a,[["enter",r,n],["enter",i,n],["exit",i,n],["enter",o,n]]),a=_(a,ye(n.parser.constructs.insideSpan.null,e.slice(t+1,c),n)),a=_(a,[["exit",o,n],["enter",l,n],["exit",l,n],["exit",r,n]]),e[c][1].end.offset-e[c][1].start.offset?(s=2,a=_(a,[["enter",e[c][1],n],["exit",e[c][1],n]])):s=0,B(e,t-1,c-t+3,a),c=t+a.length-s-2;break}c=-1;for(;++c13&&t<32||t>126&&t<160||t>55295&&t<57344||t>64975&&t<65008||65535===(65535&t)||65534===(65535&t)||t>1114111?"\ufffd":String.fromCharCode(t)}const yn=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function kn(e,n,t){if(n)return n;if(35===t.charCodeAt(0)){const e=t.charCodeAt(1),n=120===e||88===e;return gn(t.slice(n?2:1),n?16:10)}return He(t)||e}const xn={}.hasOwnProperty,vn=function(e,n,t){return"string"!==typeof n&&(t=n,n=void 0),function(e={}){const n=bn({transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:s(ie),autolinkProtocol:P,autolinkEmail:P,atxHeading:s(ne),blockQuote:s(X),characterEscape:P,characterReference:P,codeFenced:s(Z),codeFencedFenceInfo:c,codeFencedFenceMeta:c,codeIndented:s(Z,c),codeText:s(J,c),codeTextData:P,data:P,codeFlowValue:P,definition:s(G),definitionDestinationString:c,definitionLabelString:c,definitionTitleString:c,emphasis:s(ee),hardBreakEscape:s(te),hardBreakTrailing:s(te),htmlFlow:s(re,c),htmlFlowData:P,htmlText:s(re,c),htmlTextData:P,image:s(oe),label:c,link:s(ie),listItem:s(ue),listItemValue:g,listOrdered:s(le,m),listUnordered:s(le),paragraph:s(ae),reference:q,referenceString:c,resourceDestinationString:c,resourceTitleString:c,setextHeading:s(ne),strong:s(se),thematicBreak:s(fe)},exit:{atxHeading:p(),atxHeadingSequence:E,autolink:p(),autolinkEmail:K,autolinkProtocol:Y,blockQuote:p(),characterEscapeValue:O,characterReferenceMarkerHexadecimal:W,characterReferenceMarkerNumeric:W,characterReferenceValue:Q,codeFenced:p(v),codeFencedFence:x,codeFencedFenceInfo:y,codeFencedFenceMeta:k,codeFlowValue:O,codeIndented:p(b),codeText:p(R),codeTextData:O,data:O,definition:p(),definitionDestinationString:C,definitionLabelString:w,definitionTitleString:S,emphasis:p(),hardBreakEscape:p(D),hardBreakTrailing:p(D),htmlFlow:p(L),htmlFlowData:O,htmlText:p(z),htmlTextData:O,image:p(_),label:N,labelText:j,lineEnding:I,link:p(B),listItem:p(),listOrdered:p(),listUnordered:p(),paragraph:p(),referenceString:$,resourceDestinationString:H,resourceTitleString:U,resource:V,setextHeading:p(T),setextHeadingLineSequence:F,setextHeadingText:A,strong:p(),thematicBreak:p()}},e.mdastExtensions||[]),t={};return r;function r(e){let t={type:"root",children:[]};const r=[],u=[],s={stack:[t],tokenStack:r,config:n,enter:f,exit:d,buffer:c,resume:h,setData:i,getData:l};let p=-1;for(;++p0){const e=r[r.length-1];(e[1]||Sn).call(s,void 0,e[0])}for(t.position={start:a(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:a(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p{const t=this.data("settings");return vn(n,Object.assign({},t,e,{extensions:this.data("micromarkExtensions")||[],mdastExtensions:this.data("fromMarkdownExtensions")||[]}))}})},En=function(e,n,t){var r={type:String(e)};return void 0!==t&&null!==t||"string"!==typeof n&&!Array.isArray(n)?Object.assign(r,n):t=n,Array.isArray(t)?r.children=t:void 0!==t&&null!==t&&(r.value=String(t)),r};const An=function(e){if(void 0===e||null===e)return Tn;if("string"===typeof e)return function(e){return Fn(n);function n(n){return n&&n.type===e}}(e);if("object"===typeof e)return Array.isArray(e)?function(e){const n=[];let t=-1;for(;++t":"")+")"}));return f;function f(){let s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c-1?t.offset:null}}}const zn=function(e,n,t,r){"function"===typeof n&&"function"!==typeof t&&(r=t,t=n,n=null);var o=An(n),i=r?-1:1;!function e(l,u,a){var s,c="object"===typeof l&&null!==l?l:{};"string"===typeof c.type&&(s="string"===typeof c.tagName?c.tagName:"string"===typeof c.name?c.name:void 0,Object.defineProperty(f,"name",{value:"node ("+c.type+(s?"<"+s+">":"")+")"}));return f;function f(){var s,c,f,p=[];if((!n||o(l,u,a[a.length-1]||null))&&(p=function(e){if(Array.isArray(e))return e;if("number"===typeof e)return[true,e];return[e]}(t(l,a)),false===p[0]))return p;if(l.children&&"skip"!==p[0])for(c=(r?l.children.length:-1)+i,f=a.concat(l);c>-1&&c":"gt"};function qn(e,n){const t=function(e){return e.replace(/["&<>]/g,(function(e){return"&"+Vn[e]+";"}))}(function(e){const n=[];let t=-1,r=0,o=0;for(;++t55295&&i<57344){const n=e.charCodeAt(t+1);i<56320&&n>56319&&n<57344?(l=String.fromCharCode(i,n),o=1):l="\ufffd"}else l=String.fromCharCode(i);l&&(n.push(e.slice(r,t),encodeURIComponent(l)),r=t+o+1,l=""),o&&(t+=o,o=0)}return n.join("")+e.slice(r)}(e||""));if(!n)return t;const r=t.indexOf(":"),o=t.indexOf("?"),i=t.indexOf("#"),l=t.indexOf("/");return r<0||l>-1&&r>l||o>-1&&r>o||i>-1&&r>i||n.test(t.slice(0,r))?t:""}function $n(e,n){const t=[];let r=-1;for(n&&t.push(En("text","\n"));++r0&&t.push(En("text","\n")),t}function Wn(e,n){const t=String(n.identifier),r=qn(t.toLowerCase()),o=e.footnoteOrder.indexOf(t);let i;-1===o?(e.footnoteOrder.push(t),e.footnoteCounts[t]=1,i=e.footnoteOrder.length):(e.footnoteCounts[t]++,i=o+1);const l=e.footnoteCounts[t];return e(n,"sup",[e(n.position,"a",{href:"#"+e.clobberPrefix+"fn-"+r,id:e.clobberPrefix+"fnref-"+r+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:"footnote-label"},[En("text",String(i))])])}var Qn=t(70729);function Yn(e,n){const t=n.referenceType;let r="]";if("collapsed"===t?r+="[]":"full"===t&&(r+="["+(n.label||n.identifier)+"]"),"imageReference"===n.type)return En("text","!["+n.alt+r);const o=Un(e,n),i=o[0];i&&"text"===i.type?i.value="["+i.value:o.unshift(En("text","["));const l=o[o.length-1];return l&&"text"===l.type?l.value+=r:o.push(En("text",r)),o}function Kn(e){const n=e.spread;return void 0===n||null===n?e.children.length>1:n}const Xn={blockquote:function(e,n){return e(n,"blockquote",$n(Un(e,n),!0))},break:function(e,n){return[e(n,"br"),En("text","\n")]},code:function(e,n){const t=n.value?n.value+"\n":"",r=n.lang&&n.lang.match(/^[^ \t]+(?=[ \t]|$)/),o={};r&&(o.className=["language-"+r]);const i=e(n,"code",o,[En("text",t)]);return n.meta&&(i.data={meta:n.meta}),e(n.position,"pre",[i])},delete:function(e,n){return e(n,"del",Un(e,n))},emphasis:function(e,n){return e(n,"em",Un(e,n))},footnoteReference:Wn,footnote:function(e,n){const t=e.footnoteById;let r=1;for(;r in t;)r++;const o=String(r);return t[o]={type:"footnoteDefinition",identifier:o,children:[{type:"paragraph",children:n.children}],position:n.position},Wn(e,{type:"footnoteReference",identifier:o,position:n.position})},heading:function(e,n){return e(n,"h"+n.depth,Un(e,n))},html:function(e,n){return e.dangerous?e.augment(n,En("raw",n.value)):null},imageReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Yn(e,n);const r={src:Qn(t.url||""),alt:n.alt};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"img",r)},image:function(e,n){const t={src:Qn(n.url),alt:n.alt};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"img",t)},inlineCode:function(e,n){return e(n,"code",[En("text",n.value.replace(/\r?\n|\r/g," "))])},linkReference:function(e,n){const t=e.definition(n.identifier);if(!t)return Yn(e,n);const r={href:Qn(t.url||"")};return null!==t.title&&void 0!==t.title&&(r.title=t.title),e(n,"a",r,Un(e,n))},link:function(e,n){const t={href:Qn(n.url)};return null!==n.title&&void 0!==n.title&&(t.title=n.title),e(n,"a",t,Un(e,n))},listItem:function(e,n,t){const r=Un(e,n),o=t?function(e){let n=e.spread;const t=e.children;let r=-1;for(;!n&&++r0&&t.children.unshift(En("text"," ")),t.children.unshift(e(null,"input",{type:"checkbox",checked:n.checked,disabled:!0})),i.className=["task-list-item"]}let u=-1;for(;++u{const n=String(e.identifier).toUpperCase();Jn.call(o,n)||(o[n]=e)})),l;function i(e,n){if(e&&"data"in e&&e.data){const t=e.data;t.hName&&("element"!==n.type&&(n={type:"element",tagName:"",properties:{},children:[]}),n.tagName=t.hName),"element"===n.type&&t.hProperties&&(n.properties={...n.properties,...t.hProperties}),"children"in n&&n.children&&t.hChildren&&(n.children=t.hChildren)}if(e){const r="type"in e?e:{position:e};(t=r)&&t.position&&t.position.start&&t.position.start.line&&t.position.start.column&&t.position.end&&t.position.end.line&&t.position.end.column&&(n.position={start:In(r),end:Dn(r)})}var t;return n}function l(e,n,t,r){return Array.isArray(t)&&(r=t,t={}),i(e,{type:"element",tagName:n,properties:t||{},children:r||[]})}}(e,n),r=Nn(t,e,null),o=function(e){let n=-1;const t=[];for(;++n1?"-"+u:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:e.footnoteBackLabel},children:[{type:"text",value:"\u21a9"}]};u>1&&n.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(u)}]}),a.length>0&&a.push({type:"text",value:" "}),a.push(n)}const s=o[o.length-1];if(s&&"element"===s.type&&"p"===s.tagName){const e=s.children[s.children.length-1];e&&"text"===e.type?e.value+=" ":s.children.push({type:"text",value:" "}),s.children.push(...a)}else o.push(...a);const c={type:"element",tagName:"li",properties:{id:e.clobberPrefix+"fn-"+l},children:$n(o,!0)};r.position&&(c.position=r.position),t.push(c)}return 0===t.length?null:{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:"h2",properties:{id:"footnote-label",className:["sr-only"]},children:[En("text",e.footnoteLabel)]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:$n(t,!0)},{type:"text",value:"\n"}]}}(t);return o&&r.children.push(En("text","\n"),o),Array.isArray(r)?{type:"root",children:r}:r}var et=function(e,n){return e&&"run"in e?function(e,n){return(t,r,o)=>{e.run(Gn(t,n),r,(e=>{o(e)}))}}(e,n):function(e){return n=>Gn(n,e)}(e||n)};var nt=t(45697);class tt{constructor(e,n,t){this.property=e,this.normal=n,t&&(this.space=t)}}function rt(e,n){const t={},r={};let o=-1;for(;++o"xlink:"+n.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),bt=xt({space:"xml",transform:(e,n)=>"xml:"+n.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function wt(e,n){return n in e?e[n]:n}function St(e,n){return wt(e,n.toLowerCase())}const Ct=xt({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:St,properties:{xmlns:null,xmlnsXLink:null}}),Et=xt({transform:(e,n)=>"role"===n?n:"aria-"+n.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:at,ariaAutoComplete:null,ariaBusy:at,ariaChecked:at,ariaColCount:ct,ariaColIndex:ct,ariaColSpan:ct,ariaControls:ft,ariaCurrent:null,ariaDescribedBy:ft,ariaDetails:null,ariaDisabled:at,ariaDropEffect:ft,ariaErrorMessage:null,ariaExpanded:at,ariaFlowTo:ft,ariaGrabbed:at,ariaHasPopup:null,ariaHidden:at,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ft,ariaLevel:ct,ariaLive:null,ariaModal:at,ariaMultiLine:at,ariaMultiSelectable:at,ariaOrientation:null,ariaOwns:ft,ariaPlaceholder:null,ariaPosInSet:ct,ariaPressed:at,ariaReadOnly:at,ariaRelevant:null,ariaRequired:at,ariaRoleDescription:ft,ariaRowCount:ct,ariaRowIndex:ct,ariaRowSpan:ct,ariaSelected:at,ariaSetSize:ct,ariaSort:null,ariaValueMax:ct,ariaValueMin:ct,ariaValueNow:ct,ariaValueText:null,role:null}}),At=xt({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:St,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:pt,acceptCharset:ft,accessKey:ft,action:null,allow:null,allowFullScreen:ut,allowPaymentRequest:ut,allowUserMedia:ut,alt:null,as:null,async:ut,autoCapitalize:null,autoComplete:ft,autoFocus:ut,autoPlay:ut,capture:ut,charSet:null,checked:ut,cite:null,className:ft,cols:ct,colSpan:null,content:null,contentEditable:at,controls:ut,controlsList:ft,coords:ct|pt,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ut,defer:ut,dir:null,dirName:null,disabled:ut,download:st,draggable:at,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ut,formTarget:null,headers:ft,height:ct,hidden:ut,high:ct,href:null,hrefLang:null,htmlFor:ft,httpEquiv:ft,id:null,imageSizes:null,imageSrcSet:null,inputMode:null,integrity:null,is:null,isMap:ut,itemId:null,itemProp:ft,itemRef:ft,itemScope:ut,itemType:ft,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ut,low:ct,manifest:null,max:null,maxLength:ct,media:null,method:null,min:null,minLength:ct,multiple:ut,muted:ut,name:null,nonce:null,noModule:ut,noValidate:ut,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ut,optimum:ct,pattern:null,ping:ft,placeholder:null,playsInline:ut,poster:null,preload:null,readOnly:ut,referrerPolicy:null,rel:ft,required:ut,reversed:ut,rows:ct,rowSpan:ct,sandbox:ft,scope:null,scoped:ut,seamless:ut,selected:ut,shape:null,size:ct,sizes:null,slot:null,span:ct,spellCheck:at,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ct,step:null,style:null,tabIndex:ct,target:null,title:null,translate:null,type:null,typeMustMatch:ut,useMap:null,value:at,width:ct,wrap:null,align:null,aLink:null,archive:ft,axis:null,background:null,bgColor:null,border:ct,borderColor:null,bottomMargin:ct,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ut,declare:ut,event:null,face:null,frame:null,frameBorder:null,hSpace:ct,leftMargin:ct,link:null,longDesc:null,lowSrc:null,marginHeight:ct,marginWidth:ct,noResize:ut,noHref:ut,noShade:ut,noWrap:ut,object:null,profile:null,prompt:null,rev:null,rightMargin:ct,rules:null,scheme:null,scrolling:at,standby:null,summary:null,text:null,topMargin:ct,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ct,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ut,disableRemotePlayback:ut,prefix:null,property:null,results:ct,security:null,unselectable:null}}),Ft=xt({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:wt,properties:{about:dt,accentHeight:ct,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ct,amplitude:ct,arabicForm:null,ascent:ct,attributeName:null,attributeType:null,azimuth:ct,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ct,by:null,calcMode:null,capHeight:ct,className:ft,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ct,diffuseConstant:ct,direction:null,display:null,dur:null,divisor:ct,dominantBaseline:null,download:ut,dx:null,dy:null,edgeMode:null,editable:null,elevation:ct,enableBackground:null,end:null,event:null,exponent:ct,externalResourcesRequired:null,fill:null,fillOpacity:ct,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:pt,g2:pt,glyphName:pt,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ct,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ct,horizOriginX:ct,horizOriginY:ct,id:null,ideographic:ct,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ct,k:ct,k1:ct,k2:ct,k3:ct,k4:ct,kernelMatrix:dt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ct,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ct,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ct,overlineThickness:ct,paintOrder:null,panose1:null,path:null,pathLength:ct,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ft,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ct,pointsAtY:ct,pointsAtZ:ct,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:dt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:dt,rev:dt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:dt,requiredFeatures:dt,requiredFonts:dt,requiredFormats:dt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ct,specularExponent:ct,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ct,strikethroughThickness:ct,string:null,stroke:null,strokeDashArray:dt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ct,strokeOpacity:ct,strokeWidth:null,style:null,surfaceScale:ct,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:dt,tabIndex:ct,tableValues:null,target:null,targetX:ct,targetY:ct,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:dt,to:null,transform:null,u1:null,u2:null,underlinePosition:ct,underlineThickness:ct,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ct,values:null,vAlphabetic:ct,vMathematical:ct,vectorEffect:null,vHanging:ct,vIdeographic:ct,version:null,vertAdvY:ct,vertOriginX:ct,vertOriginY:ct,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ct,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Tt=rt([bt,vt,Ct,Et,At],"html"),Pt=rt([bt,vt,Ct,Et,Ft],"svg");function Ot(e){if(e.allowedElements&&e.disallowedElements)throw new TypeError("Only one of `allowedElements` and `disallowedElements` should be defined");if(e.allowedElements||e.disallowedElements||e.allowElement)return n=>{On(n,"element",((n,t,r)=>{const o=r;let i;if(e.allowedElements?i=!e.allowedElements.includes(n.tagName):e.disallowedElements&&(i=e.disallowedElements.includes(n.tagName)),!i&&e.allowElement&&"number"===typeof t&&(i=!e.allowElement(n,t,o)),i&&"number"===typeof t)return e.unwrapDisallowed&&n.children?o.children.splice(t,1,...n.children):o.children.splice(t,1),t}))}}const It=["http","https","mailto","tel"];var Dt=t(82143);function Lt(e){var n=e&&"object"===typeof e&&"text"===e.type?e.value||"":e;return"string"===typeof n&&""===n.replace(/[ \t\n\f\r]/g,"")}const zt=/^data[-\w.:]+$/i,Mt=/-[a-z]/g,Rt=/[A-Z]/g;function Bt(e){return"-"+e.toLowerCase()}function _t(e){return e.charAt(1).toUpperCase()}const jt={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var Nt=t(57848);const Ht={}.hasOwnProperty,Ut=new Set(["table","thead","tbody","tfoot","tr"]);function Vt(e,n){const t=[];let r,o=-1;for(;++oString(e))).join("")),!h&&o.rawSourcePos&&(a.sourcePosition=n.position),!h&&o.includeElementIndex&&(a.index=$t(r,n),a.siblingCount=$t(r)),h||(a.node=n),f.length>0?i.createElement(d,a,f):i.createElement(d,a)}function $t(e,n){let t=-1,r=0;for(;++t4&&"data"===t.slice(0,4)&&zt.test(n)){if("-"===n.charAt(4)){const e=n.slice(5).replace(Mt,_t);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=n.slice(4);if(!Mt.test(e)){let t=e.replace(Rt,Bt);"-"!==t.charAt(0)&&(t="-"+t),n="data"+t}}o=gt}return new o(r,n)}(r.schema,n);let i=t;null!==i&&void 0!==i&&i===i&&(Array.isArray(i)&&(i=o.commaSeparated?function(e,n){var t=n||{};return""===e[e.length-1]&&(e=e.concat("")),e.join((t.padRight?" ":"")+","+(!1===t.padLeft?"":" ")).trim()}(i):i.join(" ").trim()),"style"===o.property&&"string"===typeof i&&(i=function(e){const n={};try{Nt(e,t)}catch{}return n;function t(e,t){const r="-ms-"===e.slice(0,4)?`ms-${e.slice(4)}`:e;n[r.replace(/-([a-z])/g,Qt)]=t}}(i)),o.space&&o.property?e[Ht.call(jt,o.property)?jt[o.property]:o.property]=i:o.attribute&&(e[o.attribute]=i))}function Qt(e,n){return n.toUpperCase()}const Yt={}.hasOwnProperty,Kt={plugins:{to:"plugins",id:"change-plugins-to-remarkplugins"},renderers:{to:"components",id:"change-renderers-to-components"},astPlugins:{id:"remove-buggy-html-in-markdown-parser"},allowDangerousHtml:{id:"remove-buggy-html-in-markdown-parser"},escapeHtml:{id:"remove-buggy-html-in-markdown-parser"},source:{to:"children",id:"change-source-to-children"},allowNode:{to:"allowElement",id:"replace-allownode-allowedtypes-and-disallowedtypes"},allowedTypes:{to:"allowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},disallowedTypes:{to:"disallowedElements",id:"replace-allownode-allowedtypes-and-disallowedtypes"},includeNodeIndex:{to:"includeElementIndex",id:"change-includenodeindex-to-includeelementindex"}};function Xt(e){for(const i in Kt)if(Yt.call(Kt,i)&&Yt.call(e,i)){const e=Kt[i];console.warn(`[react-markdown] Warning: please ${e.to?`use \`${e.to}\` instead of`:"remove"} \`${i}\` (see for more info)`),delete Kt[i]}const n=A().use(Cn).use(e.remarkPlugins||[]).use(et,{...e.remarkRehypeOptions,allowDangerousHtml:!0}).use(e.rehypePlugins||[]).use(Ot,e),t=new k;"string"===typeof e.children?t.value=e.children:void 0!==e.children&&null!==e.children&&console.warn(`[react-markdown] Warning: please pass a string as \`children\` (not: \`${e.children}\`)`);const r=n.runSync(n.parse(t),t);if("root"!==r.type)throw new TypeError("Expected a `root` node");let o=i.createElement(i.Fragment,{},Vt({options:e,schema:Tt,listDepth:0},r));return e.className&&(o=i.createElement("div",{className:e.className},o)),o}Xt.defaultProps={transformLinkUri:function(e){const n=(e||"").trim(),t=n.charAt(0);if("#"===t||"/"===t)return n;const r=n.indexOf(":");if(-1===r)return n;let o=-1;for(;++oo?n:(o=n.indexOf("#"),-1!==o&&r>o?n:"javascript:void(0)")}},Xt.propTypes={children:nt.string,className:nt.string,allowElement:nt.func,allowedElements:nt.arrayOf(nt.string),disallowedElements:nt.arrayOf(nt.string),unwrapDisallowed:nt.bool,remarkPlugins:nt.arrayOf(nt.oneOfType([nt.object,nt.func,nt.arrayOf(nt.oneOfType([nt.object,nt.func]))])),rehypePlugins:nt.arrayOf(nt.oneOfType([nt.object,nt.func,nt.arrayOf(nt.oneOfType([nt.object,nt.func]))])),sourcePos:nt.bool,rawSourcePos:nt.bool,skipHtml:nt.bool,includeElementIndex:nt.bool,transformLinkUri:nt.oneOfType([nt.func,nt.bool]),linkTarget:nt.oneOfType([nt.func,nt.string]),transformImageUri:nt.func,components:nt.object}}}]); \ No newline at end of file diff --git a/static/admin/_next/static/chunks/pages/_app-31f10b5fdaf0b550.js b/static/admin/_next/static/chunks/pages/_app-31f10b5fdaf0b550.js deleted file mode 100644 index 66c0d222c..000000000 --- a/static/admin/_next/static/chunks/pages/_app-31f10b5fdaf0b550.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{92138:function(e,t,n){"use strict";n.r(t),n.d(t,{blue:function(){return Z},cyan:function(){return C},geekblue:function(){return k},generate:function(){return d},gold:function(){return y},green:function(){return E},grey:function(){return P},lime:function(){return x},magenta:function(){return S},orange:function(){return b},presetDarkPalettes:function(){return m},presetPalettes:function(){return v},presetPrimaryColors:function(){return p},purple:function(){return N},red:function(){return h},volcano:function(){return g},yellow:function(){return w}});var r=n(86500),o=n(1350),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function c(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function u(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}function s(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function l(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function f(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function d(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),d=5;d>0;d-=1){var p=a(r),v=c((0,o.uA)({h:s(p,d,!0),s:l(p,d,!0),v:f(p,d,!0)}));n.push(v)}n.push(c(r));for(var m=1;m<=4;m+=1){var h=a(r),g=c((0,o.uA)({h:s(h,m),s:l(h,m),v:f(h,m)}));n.push(g)}return"dark"===t.theme?i.map((function(e){var r=e.index,i=e.opacity;return c(u((0,o.uA)(t.backgroundColor||"#141414"),(0,o.uA)(n[r]),100*i))})):n}var p={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},v={},m={};Object.keys(p).forEach((function(e){v[e]=d(p[e]),v[e].primary=v[e][5],m[e]=d(p[e],{theme:"dark",backgroundColor:"#141414"}),m[e].primary=m[e][5]}));var h=v.red,g=v.volcano,y=v.gold,b=v.orange,w=v.yellow,x=v.lime,E=v.green,C=v.cyan,Z=v.blue,k=v.geekblue,N=v.purple,S=v.magenta,P=v.grey},42135:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(1413),o=n(97685),i=n(4942),a=n(91),c=n(67294),u=n(94184),s=n.n(u),l=n(63017),f=n(71002),d=n(92138),p=n(80334),v=n(44958);function m(e){return"object"===(0,f.Z)(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===(0,f.Z)(e.icon)||"function"===typeof e.icon)}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else t[n]=r;return t}),{})}function g(e,t,n){return n?c.createElement(e.tag,(0,r.Z)((0,r.Z)({key:t},h(e.attrs)),n),(e.children||[]).map((function(n,r){return g(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):c.createElement(e.tag,(0,r.Z)({key:t},h(e.attrs)),(e.children||[]).map((function(n,r){return g(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function y(e){return(0,d.generate)(e)[0]}function b(e){return e?Array.isArray(e)?e:[e]:[]}var w="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",x=["icon","className","onClick","style","primaryColor","secondaryColor"],E={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var C=function(e){var t,n,o=e.icon,i=e.className,u=e.onClick,s=e.style,f=e.primaryColor,d=e.secondaryColor,h=(0,a.Z)(e,x),b=E;if(f&&(b={primaryColor:f,secondaryColor:d||y(f)}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=(0,c.useContext)(l.Z).csp;(0,c.useEffect)((function(){(0,v.hq)(e,"@ant-design-icons",{prepend:!0,csp:t})}),[])}(),t=m(o),n="icon should be icon definiton, but got ".concat(o),(0,p.ZP)(t,"[@ant-design/icons] ".concat(n)),!m(o))return null;var C=o;return C&&"function"===typeof C.icon&&(C=(0,r.Z)((0,r.Z)({},C),{},{icon:C.icon(b.primaryColor,b.secondaryColor)})),g(C.icon,"svg-".concat(C.name),(0,r.Z)({className:i,onClick:u,style:s,"data-icon":C.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},h))};C.displayName="IconReact",C.getTwoToneColors=function(){return(0,r.Z)({},E)},C.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;E.primaryColor=t,E.secondaryColor=n||y(t),E.calculated=!!n};var Z=C;function k(e){var t=b(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return Z.setTwoToneColors({primaryColor:r,secondaryColor:i})}var N=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];k("#1890ff");var S=c.forwardRef((function(e,t){var n,u=e.className,f=e.icon,d=e.spin,p=e.rotate,v=e.tabIndex,m=e.onClick,h=e.twoToneColor,g=(0,a.Z)(e,N),y=c.useContext(l.Z).prefixCls,w=void 0===y?"anticon":y,x=s()(w,(n={},(0,i.Z)(n,"".concat(w,"-").concat(f.name),!!f.name),(0,i.Z)(n,"".concat(w,"-spin"),!!d||"loading"===f.name),n),u),E=v;void 0===E&&m&&(E=-1);var C=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,k=b(h),S=(0,o.Z)(k,2),P=S[0],O=S[1];return c.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":f.name},g),{},{ref:t,tabIndex:E,onClick:m,className:x}),c.createElement(Z,{icon:f,primaryColor:P,secondaryColor:O,style:C}))}));S.displayName="AntdIcon",S.getTwoToneColor=function(){var e=Z.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},S.setTwoToneColor=k;var P=S},63017:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},89739:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CheckCircleFilled";var u=o.forwardRef(c)},8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CheckCircleOutlined";var u=o.forwardRef(c)},63606:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CheckOutlined";var u=o.forwardRef(c)},4340:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseCircleFilled";var u=o.forwardRef(c)},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseCircleOutlined";var u=o.forwardRef(c)},97937:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseOutlined";var u=o.forwardRef(c)},57132:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CopyOutlined";var u=o.forwardRef(c)},80882:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="DownOutlined";var u=o.forwardRef(c)},86548:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EditOutlined";var u=o.forwardRef(c)},89705:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EllipsisOutlined";var u=o.forwardRef(c)},21640:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="ExclamationCircleFilled";var u=o.forwardRef(c)},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="ExclamationCircleOutlined";var u=o.forwardRef(c)},90420:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EyeInvisibleOutlined";var u=o.forwardRef(c)},99611:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EyeOutlined";var u=o.forwardRef(c)},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="InfoCircleFilled";var u=o.forwardRef(c)},45605:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="InfoCircleOutlined";var u=o.forwardRef(c)},6171:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="LeftOutlined";var u=o.forwardRef(c)},50888:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="LoadingOutlined";var u=o.forwardRef(c)},18073:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="RightOutlined";var u=o.forwardRef(c)},68795:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="SearchOutlined";var u=o.forwardRef(c)},28058:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="WarningOutlined";var u=o.forwardRef(c)},59591:function(e,t,n){var r=n(50008).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(O){l=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new N(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=C(a,n);if(c){if(c===p)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}t.wrap=f;var p={};function v(){}function m(){}function h(){}var g={};l(g,c,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(S([])));b&&b!==n&&i.call(b,c)&&(g=b);var w=h.prototype=v.prototype=Object.create(g);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,c,u){var s=d(e[o],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==r(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,u)}),(function(e){n("throw",e,c,u)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,u)}))}u(s.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function C(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=d(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function Z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Z,this),this.reset(!0)}function S(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},50008:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},87757:function(e,t,n){e.exports=n(59591)()},86500:function(e,t,n){"use strict";n.d(t,{rW:function(){return o},lC:function(){return i},ve:function(){return c},py:function(){return u},WE:function(){return s},vq:function(){return l},s:function(){return f},GC:function(){return d},Wl:function(){return p},T6:function(){return v},VD:function(){return m},Yt:function(){return h}});var r=n(90279);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=0,u=(o+i)/2;if(o===i)c=0,a=0;else{var s=o-i;switch(c=u>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){var o,i,c;if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,c=n,o=n;else{var u=n<.5?n*(1+t):n+t-n*t,s=2*n-u;o=a(s,u,e+1/3),i=a(s,u,e),c=a(s,u,e-1/3)}return{r:255*o,g:255*i,b:255*c}}function u(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=o,u=o-i,s=0===o?0:u/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/u+(t>16,g:(65280&e)>>8,b:255&e}}},48701:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(e,t,n){"use strict";n.d(t,{uA:function(){return a},uz:function(){return f},ky:function(){return d}});var r=n(86500),o=n(48701),i=n(90279);function a(e){var t={r:0,g:0,b:0},n=1,o=null,a=null,c=null,u=!1,s=!1;return"string"===typeof e&&(e=f(e)),"object"===typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),u=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(o=(0,i.JX)(e.s),a=(0,i.JX)(e.v),t=(0,r.WE)(e.h,o,a),u=!0,s="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(o=(0,i.JX)(e.s),c=(0,i.JX)(e.l),t=(0,r.ve)(e.h,o,c),u=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:u,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var c="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),u="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),s="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),l={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=l.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=l.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=l.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=l.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=l.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=l.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=l.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=l.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=l.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=l.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}function d(e){return Boolean(l.CSS_UNIT.exec(String(e)))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return c},H:function(){return u}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),c=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}n.d(t,{sh:function(){return r},V2:function(){return o},Yq:function(){return i},JX:function(){return a},FZ:function(){return c}})},86743:function(e,t,n){"use strict";var r=n(87462),o=n(97685),i=n(67294),a=n(71577),c=n(8613),u=n(73577);function s(e){return!(!e||!e.then)}t.Z=function(e){var t=i.useRef(!1),n=i.useRef(),l=(0,u.Z)(),f=i.useState(!1),d=(0,o.Z)(f,2),p=d[0],v=d[1];i.useEffect((function(){var t;if(e.autoFocus){var r=n.current;t=setTimeout((function(){return r.focus()}))}return function(){t&&clearTimeout(t)}}),[]);var m=e.type,h=e.children,g=e.prefixCls,y=e.buttonProps;return i.createElement(a.Z,(0,r.Z)({},(0,c.n)(m),{onClick:function(n){var r=e.actionFn,o=e.close;if(!t.current)if(t.current=!0,r){var i;if(e.emitEvent){if(i=r(n),e.quitOnNullishReturnValue&&!s(i))return t.current=!1,void o(n)}else if(r.length)i=r(o),t.current=!1;else if(!(i=r()))return void o();!function(n){var r=e.close;s(n)&&(v(!0),n.then((function(){l()||v(!1),r.apply(void 0,arguments),t.current=!1}),(function(e){console.error(e),l()||v(!1),t.current=!1})))}(i)}else o()},loading:p,prefixCls:g},y,{ref:n}),h)}},98787:function(e,t,n){"use strict";n.d(t,{E:function(){return o},Y:function(){return i}});var r=n(93355),o=(0,r.b)("success","processing","error","default","warning"),i=(0,r.b)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},21687:function(e,t,n){"use strict";var r=n(80334);t.Z=function(e,t,n){(0,r.ZP)(e,"[antd: ".concat(t,"] ").concat(n))}},5467:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n]),t}),{})}n.d(t,{Z:function(){return r}})},81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e?"function"===typeof e?e():e:null}},73577:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(){var e=r.useRef(!0);return r.useEffect((function(){return function(){e.current=!1}}),[]),function(){return!e.current}}},98082:function(e,t,n){"use strict";var r=n(97685),o=n(67294),i=n(31808);t.Z=function(){var e=o.useState(!1),t=(0,r.Z)(e,2),n=t[0],a=t[1];return o.useEffect((function(){a((0,i.fk)())}),[]),n}},33603:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r=function(){return{height:0,opacity:0}},o=function(e){return{height:e.scrollHeight,opacity:1}},i=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},a={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:r,onAppearEnd:i,onEnterEnd:i,onLeaveEnd:i,motionDeadline:500},c=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};t.Z=a},96159:function(e,t,n){"use strict";n.d(t,{l$:function(){return o},wm:function(){return i},Tm:function(){return a}});var r=n(67294),o=r.isValidElement;function i(e,t,n){return o(e)?r.cloneElement(e,"function"===typeof n?n(e.props||{}):n):t}function a(e,t){return i(e,e,t)}},31808:function(e,t,n){"use strict";n.d(t,{jD:function(){return i},fk:function(){return a}});var r,o=n(98924),i=function(){return(0,o.Z)()&&window.document.documentElement},a=function(){if(!i())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},93355:function(e,t,n){"use strict";n.d(t,{b:function(){return r},a:function(){return o}});var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=d++,r=t;function o(){(r-=1)<=0?(e(),delete p[n]):p[n]=(0,f.Z)(o)}return p[n]=(0,f.Z)(o),n}v.cancel=function(e){void 0!==e&&(f.Z.cancel(p[e]),delete p[e])},v.ids=p;var m,h=n(59844),g=n(96159);function y(e){return!e||null===e.offsetParent||e.hidden}function b(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}var w=function(e){(0,a.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;return(0,r.Z)(this,n),(e=t.apply(this,arguments)).containerRef=u.createRef(),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var r,o,a=e.props,c=a.insertExtraNode;if(!(a.disabled||!t||y(t)||t.className.indexOf("-leave")>=0)){e.extraNode=document.createElement("div");var u=(0,i.Z)(e).extraNode,l=e.context.getPrefixCls;u.className="".concat(l(""),"-click-animating-node");var f=e.getAttributeName();if(t.setAttribute(f,"true"),n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&b(n)&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){u.style.borderColor=n;var d=(null===(r=t.getRootNode)||void 0===r?void 0:r.call(t))||t.ownerDocument,p=d instanceof Document?d.body:null!==(o=d.firstChild)&&void 0!==o?o:d;m=(0,s.hq)("\n [".concat(l(""),"-click-animating-without-extra-node='true']::after, .").concat(l(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),"antd-wave",{csp:e.csp,attachTo:p})}c&&t.appendChild(u),["transition","animation"].forEach((function(n){t.addEventListener("".concat(n,"start"),e.onTransitionStart),t.addEventListener("".concat(n,"end"),e.onTransitionEnd)}))}},e.onTransitionStart=function(t){if(!e.destroyed){var n=e.containerRef.current;t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(t&&t.getAttribute&&!t.getAttribute("disabled")&&!(t.className.indexOf("disabled")>=0)){var n=function(n){if("INPUT"!==n.target.tagName&&!y(n.target)){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout((function(){return e.onClick(t,r)}),0),v.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=v((function(){e.animationStart=!1}),10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;if(e.csp=n,!u.isValidElement(r))return r;var o=e.containerRef;return(0,l.Yr)(r)&&(o=(0,l.sQ)(r.ref,e.containerRef)),(0,g.Tm)(r,{ref:o})},e}return(0,o.Z)(n,[{key:"componentDidMount",value:function(){var e=this.containerRef.current;e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var e=this.context.getPrefixCls,t=this.props.insertExtraNode;return"".concat(e(""),t?"-click-animating":"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(e){var t=this;if(e&&e!==this.extraNode&&e instanceof Element){var n=this.props.insertExtraNode,r=this.getAttributeName();e.setAttribute(r,"false"),m&&(m.innerHTML=""),n&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),["transition","animation"].forEach((function(n){e.removeEventListener("".concat(n,"start"),t.onTransitionStart),e.removeEventListener("".concat(n,"end"),t.onTransitionEnd)}))}}},{key:"render",value:function(){return u.createElement(h.C,null,this.renderWave)}}]),n}(u.Component);w.contextType=h.E_},14670:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(87462),o=n(4942),i=n(97685),a=n(67294),c=n(97937),u=n(8751),s=n(11475),l=n(45605),f=n(18429),d=n(89739),p=n(21640),v=n(78860),m=n(4340),h=n(88320),g=n(94184),y=n.n(g),b=n(59844),w=n(5467),x=n(15671),E=n(43144),C=n(60136),Z=n(3289),k=function(e){(0,C.Z)(n,e);var t=(0,Z.Z)(n);function n(){var e;return(0,x.Z)(this,n),(e=t.apply(this,arguments)).state={error:void 0,info:{componentStack:""}},e}return(0,E.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,o=this.state,i=o.error,c=o.info,u=c&&c.componentStack?c.componentStack:null,s="undefined"===typeof t?(i||"").toString():t,l="undefined"===typeof n?u:n;return i?a.createElement(M,{type:"error",message:s,description:a.createElement("pre",null,l)}):r}}]),n}(a.Component),N=n(96159),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o2),"Button","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(N,"` at https://ant.design/components/icon")),(0,b.Z)(!(j&&T(m)),"Button","`link` or `text` button can't be a `ghost` button.");var te=K("btn",p),ne=!1!==G,re=E||L,oe=re&&{large:"lg",small:"sm",middle:void 0}[re]||"",ie=V?"loading":N,ae=s()(te,(n={},(0,o.Z)(n,"".concat(te,"-").concat(x),"default"!==x&&x),(0,o.Z)(n,"".concat(te,"-").concat(m),m),(0,o.Z)(n,"".concat(te,"-").concat(oe),oe),(0,o.Z)(n,"".concat(te,"-icon-only"),!Z&&0!==Z&&!!ie),(0,o.Z)(n,"".concat(te,"-background-ghost"),j&&!T(m)),(0,o.Z)(n,"".concat(te,"-loading"),V),(0,o.Z)(n,"".concat(te,"-two-chinese-chars"),B&&ne),(0,o.Z)(n,"".concat(te,"-block"),R),(0,o.Z)(n,"".concat(te,"-dangerous"),!!h),(0,o.Z)(n,"".concat(te,"-rtl"),"rtl"===Y),n),C),ce=N&&!V?N:c.createElement(k,{existIcon:!!N,prefixCls:te,loading:!!V}),ue=Z||0===Z?function(e,t){var n=!1,r=[];return c.Children.forEach(e,(function(e){var t=(0,a.Z)(e),o="string"===t||"number"===t;if(n&&o){var i=r.length-1,c=r[i];r[i]="".concat(c).concat(e)}else r.push(e);n=o})),c.Children.map(r,(function(e){return M(e,t)}))}(Z,Q()&&ne):null,se=(0,l.Z)(I,["navigate"]);if(void 0!==se.href)return c.createElement("a",(0,r.Z)({},se,{className:ae,onClick:ee,ref:X}),ce,ue);var le=c.createElement("button",(0,r.Z)({},I,{type:_,className:ae,onClick:ee,ref:X}),ce,ue);return T(m)?le:c.createElement(g.Z,{disabled:!!V},le)},R=c.forwardRef(A);R.displayName="Button",R.Group=h,R.__ANT_BUTTON=!0;var F=R},71577:function(e,t,n){"use strict";var r=n(8613);t.Z=r.Z},97647:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(67294),o=r.createContext(void 0),i=function(e){var t=e.children,n=e.size;return r.createElement(o.Consumer,null,(function(e){return r.createElement(o.Provider,{value:n||e},t)}))};t.Z=o},59844:function(e,t,n){"use strict";n.d(t,{C:function(){return u},E_:function(){return c},PG:function(){return s}});var r=n(87462),o=n(67294),i=n(62986),a=function(e){return o.createElement(u,null,(function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return o.createElement(i.Z,null)}}))},c=o.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")},renderEmpty:a}),u=c.Consumer;function s(e){return function(t){var n=function(n){return o.createElement(u,null,(function(i){var a=e.prefixCls,c=(0,i.getPrefixCls)(a,n.prefixCls);return o.createElement(t,(0,r.Z)({},i,n,{prefixCls:c}))}))},i=t.constructor,a=i&&i.displayName||t.name||"Component";return n.displayName="withConfigConsumer(".concat(a,")"),n}}},62986:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),o=n(4942),i=n(67294),a=n(94184),c=n.n(a),u=n(59844),s=n(23715),l=function(){var e=(0,i.useContext(u.E_).getPrefixCls)("empty-img-default");return i.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(24 31.67)"},i.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),i.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),i.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),i.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),i.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),i.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),i.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},i.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),i.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},f=function(){var e=(0,i.useContext(u.E_).getPrefixCls)("empty-img-simple");return i.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},i.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),i.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},i.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),i.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o3&&void 0!==arguments[3]?arguments[3]:{},o=u.props,c=o.className,s=o.addonBefore,l=o.addonAfter,d=o.size,m=o.disabled,h=o.htmlSize,g=(0,v.Z)(u.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered","htmlSize","showCount"]);return f.createElement("input",(0,i.Z)({autoComplete:r.autoComplete},g,{onChange:u.handleChange,onFocus:u.onFocus,onBlur:u.onBlur,onKeyDown:u.handleKeyDown,className:p()((0,b.X)(e,n,d||t,m,u.direction),(0,a.Z)({},c,c&&!s&&!l)),ref:u.saveInput,size:h}))},u.clearPasswordValueAttribute=function(){u.removePasswordTimeout=setTimeout((function(){u.input&&"password"===u.input.getAttribute("type")&&u.input.hasAttribute("value")&&u.input.removeAttribute("value")}))},u.handleChange=function(e){u.setValue(e.target.value,u.clearPasswordValueAttribute),x(u.input,e,u.props.onChange)},u.handleKeyDown=function(e){var t=u.props,n=t.onPressEnter,r=t.onKeyDown;n&&13===e.keyCode&&n(e),null===r||void 0===r||r(e)},u.renderShowCountSuffix=function(e){var t=u.state.value,n=u.props,i=n.maxLength,c=n.suffix,s=n.showCount,l=Number(i)>0;if(c||s){var d=(0,o.Z)(w(t)).length,v=null;return v="object"===(0,r.Z)(s)?s.formatter({count:d,maxLength:i}):"".concat(d).concat(l?" / ".concat(i):""),f.createElement(f.Fragment,null,!!s&&f.createElement("span",{className:p()("".concat(e,"-show-count-suffix"),(0,a.Z)({},"".concat(e,"-show-count-has-suffix"),!!c))},v),c)}return null},u.renderComponent=function(e){var t=e.getPrefixCls,n=e.direction,r=e.input,o=u.state,a=o.value,c=o.focused,s=u.props,l=s.prefixCls,d=s.bordered,p=void 0===d||d,v=t("input",l);u.direction=n;var h=u.renderShowCountSuffix(v);return f.createElement(g.Z.Consumer,null,(function(e){return f.createElement(m.Z,(0,i.Z)({size:e},u.props,{prefixCls:v,inputType:"input",value:w(a),element:u.renderInput(v,e,p,r),handleReset:u.handleReset,ref:u.saveClearableInput,direction:n,focused:c,triggerFocus:u.focus,bordered:p,suffix:h}))}))};var s="undefined"===typeof e.value?e.defaultValue:e.value;return u.state={value:s,focused:!1,prevValue:e.value},u}return(0,u.Z)(n,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(e){return(0,b.b)(e)!==(0,b.b)(this.props)&&(0,y.Z)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"setSelectionRange",value:function(e,t,n){this.input.setSelectionRange(e,t,n)}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(e,t){void 0===this.props.value?this.setState({value:e},t):null===t||void 0===t||t()}},{key:"render",value:function(){return f.createElement(h.C,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevValue,r={prevValue:e.value};return void 0===e.value&&n===e.value||(r.value=e.value),e.disabled&&(r.focused=!1),r}}]),n}(f.Component);C.defaultProps={type:"text"},t.ZP=C},96330:function(e,t,n){"use strict";var r=n(71002),o=n(87462),i=n(4942),a=n(97685),c=n(74902),u=n(67294),s=n(57239),l=n(98423),f=n(94184),d=n.n(f),p=n(21770),v=n(69430),m=n(59844),h=n(77749),g=n(97647),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);or&&(o=t),o}var x=u.forwardRef((function(e,t){var n,f=e.prefixCls,x=e.bordered,E=void 0===x||x,C=e.showCount,Z=void 0!==C&&C,k=e.maxLength,N=e.className,S=e.style,P=e.size,O=e.onCompositionStart,T=e.onCompositionEnd,M=e.onChange,j=y(e,["prefixCls","bordered","showCount","maxLength","className","style","size","onCompositionStart","onCompositionEnd","onChange"]),A=u.useContext(m.E_),R=A.getPrefixCls,F=A.direction,_=u.useContext(g.Z),I=u.useRef(null),L=u.useRef(null),D=u.useState(!1),z=(0,a.Z)(D,2),V=z[0],H=z[1],U=u.useRef(),q=u.useRef(0),B=(0,p.Z)(j.defaultValue,{value:j.value}),W=(0,a.Z)(B,2),$=W[0],K=W[1],G=j.hidden,Y=function(e,t){void 0===j.value&&(K(e),null===t||void 0===t||t())},X=Number(k)>0,Q=R("input",f);u.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=I.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,h.nH)(null===(n=null===(t=I.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=I.current)||void 0===e?void 0:e.blur()}}}));var J=u.createElement(s.default,(0,o.Z)({},(0,l.Z)(j,["allowClear"]),{className:d()((n={},(0,i.Z)(n,"".concat(Q,"-borderless"),!E),(0,i.Z)(n,N,N&&!Z),(0,i.Z)(n,"".concat(Q,"-sm"),"small"===_||"small"===P),(0,i.Z)(n,"".concat(Q,"-lg"),"large"===_||"large"===P),n)),style:Z?void 0:S,prefixCls:Q,onCompositionStart:function(e){H(!0),U.current=$,q.current=e.currentTarget.selectionStart,null===O||void 0===O||O(e)},onChange:function(e){var t=e.target.value;!V&&X&&(t=w(e.target.selectionStart>=k+1||e.target.selectionStart===t.length||!e.target.selectionStart,$,t,k));Y(t),(0,h.rJ)(e.currentTarget,e,M,t)},onCompositionEnd:function(e){var t;H(!1);var n=e.currentTarget.value;X&&(n=w(q.current>=k+1||q.current===(null===(t=U.current)||void 0===t?void 0:t.length),U.current,n,k));n!==$&&(Y(n),(0,h.rJ)(e.currentTarget,e,M,n)),null===T||void 0===T||T(e)},ref:I})),ee=(0,h.D7)($);V||!X||null!==j.value&&void 0!==j.value||(ee=b(ee,k));var te=u.createElement(v.Z,(0,o.Z)({},j,{prefixCls:Q,direction:F,inputType:"text",value:ee,element:J,handleReset:function(e){var t,n;Y("",(function(){var e;null===(e=I.current)||void 0===e||e.focus()})),(0,h.rJ)(null===(n=null===(t=I.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e,M)},ref:L,bordered:E,style:Z?void 0:S}));if(Z){var ne=(0,c.Z)(ee).length,re="";return re="object"===(0,r.Z)(Z)?Z.formatter({count:ne,maxLength:k}):"".concat(ne).concat(X?" / ".concat(k):""),u.createElement("div",{hidden:G,className:d()("".concat(Q,"-textarea"),(0,i.Z)({},"".concat(Q,"-textarea-rtl"),"rtl"===F),"".concat(Q,"-textarea-show-count"),N),style:S,"data-count":re},te)}return te}));t.Z=x},69677:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(77749),o=n(4942),i=n(67294),a=n(94184),c=n.n(a),u=n(59844),s=function(e){return i.createElement(u.C,null,(function(t){var n,r=t.getPrefixCls,a=t.direction,u=e.prefixCls,s=e.className,l=void 0===s?"":s,f=r("input-group",u),d=c()(f,(n={},(0,o.Z)(n,"".concat(f,"-lg"),"large"===e.size),(0,o.Z)(n,"".concat(f,"-sm"),"small"===e.size),(0,o.Z)(n,"".concat(f,"-compact"),e.compact),(0,o.Z)(n,"".concat(f,"-rtl"),"rtl"===a),n),l);return i.createElement("span",{className:d,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}))},l=n(87462),f=n(42550),d=n(68795),p=n(71577),v=n(97647),m=n(96159),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}}(),Z=a.forwardRef((function(e,t){var n=e.prefixCls,c=e.className,l=e.trigger,f=e.children,d=e.defaultCollapsed,p=void 0!==d&&d,Z=e.theme,k=void 0===Z?"dark":Z,N=e.style,S=void 0===N?{}:N,P=e.collapsible,O=void 0!==P&&P,T=e.reverseArrow,M=void 0!==T&&T,j=e.width,A=void 0===j?200:j,R=e.collapsedWidth,F=void 0===R?80:R,_=e.zeroWidthTriggerStyle,I=e.breakpoint,L=e.onCollapse,D=e.onBreakpoint,z=w(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),V=(0,a.useContext)(g.Gs).siderHook,H=(0,a.useState)("collapsed"in z?z.collapsed:p),U=(0,i.Z)(H,2),q=U[0],B=U[1],W=(0,a.useState)(!1),$=(0,i.Z)(W,2),K=$[0],G=$[1];(0,a.useEffect)((function(){"collapsed"in z&&B(z.collapsed)}),[z.collapsed]);var Y=function(e,t){"collapsed"in z||B(e),null===L||void 0===L||L(e,t)},X=(0,a.useRef)();X.current=function(e){G(e.matches),null===D||void 0===D||D(e.matches),q!==e.matches&&Y(e.matches,"responsive")},(0,a.useEffect)((function(){function e(e){return X.current(e)}var t;if("undefined"!==typeof window){var n=window.matchMedia;if(n&&I&&I in x){t=n("(max-width: ".concat(x[I],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null===t||void 0===t||t.removeEventListener("change",e)}catch(r){null===t||void 0===t||t.removeListener(e)}}}),[I]),(0,a.useEffect)((function(){var e=C("ant-sider-");return V.addSider(e),function(){return V.removeSider(e)}}),[]);var Q=function(){Y(!q,"clickTrigger")},J=(0,a.useContext)(y.E_).getPrefixCls,ee=a.useMemo((function(){return{siderCollapsed:q}}),[q]);return a.createElement(E.Provider,{value:ee},function(){var e,i=J("layout-sider",n),d=(0,s.Z)(z,["collapsed"]),p=q?F:A,g=b(p)?"".concat(p,"px"):String(p),y=0===parseFloat(String(F||0))?a.createElement("span",{onClick:Q,className:u()("".concat(i,"-zero-width-trigger"),"".concat(i,"-zero-width-trigger-").concat(M?"right":"left")),style:_},l||a.createElement(v,null)):null,w={expanded:M?a.createElement(m.Z,null):a.createElement(h.Z,null),collapsed:M?a.createElement(h.Z,null):a.createElement(m.Z,null)}[q?"collapsed":"expanded"],x=null!==l?y||a.createElement("div",{className:"".concat(i,"-trigger"),onClick:Q,style:{width:g}},l||w):null,E=(0,o.Z)((0,o.Z)({},S),{flex:"0 0 ".concat(g),maxWidth:g,minWidth:g,width:g}),C=u()(i,"".concat(i,"-").concat(k),(e={},(0,r.Z)(e,"".concat(i,"-collapsed"),!!q),(0,r.Z)(e,"".concat(i,"-has-trigger"),O&&null!==l&&!y),(0,r.Z)(e,"".concat(i,"-below"),!!K),(0,r.Z)(e,"".concat(i,"-zero-width"),0===parseFloat(g)),e),c);return a.createElement("aside",(0,o.Z)({className:C},d,{style:E,ref:t}),a.createElement("div",{className:"".concat(i,"-children")},f),O||K&&y?x:null)}())}));Z.displayName="Sider";var k=Z},2897:function(e,t,n){"use strict";n.d(t,{Gs:function(){return d},h4:function(){return h},$_:function(){return g},VY:function(){return y}});var r=n(74902),o=n(4942),i=n(97685),a=n(87462),c=n(67294),u=n(94184),s=n.n(u),l=n(59844),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0),(0,o.Z)(t,"".concat(h,"-rtl"),"rtl"===n),t),g),C=c.useMemo((function(){return{siderHook:{addSider:function(e){m((function(t){return[].concat((0,r.Z)(t),[e])}))},removeSider:function(e){m((function(t){return t.filter((function(t){return t!==e}))}))}}}}),[]);return c.createElement(d.Provider,{value:C},c.createElement(w,(0,a.Z)({className:E},x),y))})),h=p({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(v),g=p({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(v),y=p({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(v);t.ZP=m},23715:function(e,t,n){"use strict";n.d(t,{Z:function(){return f},E:function(){return d}});var r=n(87462),o=n(15671),i=n(43144),a=n(60136),c=n(3289),u=n(67294),s=n(6213).Z,l=n(67178),f=function(e){(0,a.Z)(n,e);var t=(0,c.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,n=e.defaultLocale||s[null!==t&&void 0!==t?t:"global"],o=this.context,i=t&&o?o[t]:{};return(0,r.Z)((0,r.Z)({},n instanceof Function?n():n),i||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?s.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),n}(u.Component);function d(e,t){var n=u.useContext(l.Z);return[u.useMemo((function(){var o=t||s[e||"global"],i=e&&n?n[e]:{};return(0,r.Z)((0,r.Z)({},"function"===typeof o?o():o),i||{})}),[e,t,n])]}f.defaultProps={componentName:"global"},f.contextType=l.Z},67178:function(e,t,n){"use strict";var r=(0,n(67294).createContext)(void 0);t.Z=r},6213:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62906),o=n(87462),i={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},a={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},c={lang:(0,o.Z)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},i),timePickerLocale:(0,o.Z)({},a)},u=c,s="${label} is not a valid ${type}",l={locale:"en",Pagination:r.Z,DatePicker:c,TimePicker:a,Calendar:u,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}}},61709:function(e,t,n){"use strict";n.d(t,{Z:function(){return ut}});var r=n(87462),o=n(15671),i=n(43144),a=n(60136),c=n(3289),u=n(67294),s=n(4942),l=n(1413),f=n(74902),d=n(97685),p=n(91),v=n(94184),m=n.n(v),h=n(96774),g=n.n(h),y=n(21770),b=n(80334),w=n(48611),x=n(15105),E=n(98423),C=n(56982),Z=["children","locked"],k=u.createContext(null);function N(e){var t=e.children,n=e.locked,r=(0,p.Z)(e,Z),o=u.useContext(k),i=(0,C.Z)((function(){return function(e,t){var n=(0,l.Z)({},e);return Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}(o,r)}),[o,r],(function(e,t){return!n&&(e[0]!==t[0]||!g()(e[1],t[1]))}));return u.createElement(k.Provider,{value:i},t)}function S(e,t,n,r){var o=u.useContext(k),i=o.activeKey,a=o.onActive,c=o.onInactive,s={active:i===e};return t||(s.onMouseEnter=function(t){null===n||void 0===n||n({key:e,domEvent:t}),a(e)},s.onMouseLeave=function(t){null===r||void 0===r||r({key:e,domEvent:t}),c(e)}),s}var P=["item"];function O(e){var t=e.item,n=(0,p.Z)(e,P);return Object.defineProperty(n,"item",{get:function(){return(0,b.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function T(e){var t=e.icon,n=e.props,r=e.children;return("function"===typeof t?u.createElement(t,(0,l.Z)({},n)):t)||r||null}function M(e){var t=u.useContext(k),n=t.mode,r=t.rtl,o=t.inlineIndent;if("inline"!==n)return null;return r?{paddingRight:e*o}:{paddingLeft:e*o}}var j=[],A=u.createContext(null);function R(){return u.useContext(A)}var F=u.createContext(j);function _(e){var t=u.useContext(F);return u.useMemo((function(){return void 0!==e?[].concat((0,f.Z)(t),[e]):t}),[t,e])}var I=u.createContext(null),L=u.createContext(null);function D(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function z(e){return D(u.useContext(L),e)}var V=u.createContext({}),H=["title","attribute","elementRef"],U=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],q=["active"],B=function(e){(0,a.Z)(n,e);var t=(0,c.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=(0,p.Z)(e,H),a=(0,E.Z)(i,["eventKey"]);return(0,b.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u.createElement(w.Z.Item,(0,r.Z)({},n,{title:"string"===typeof t?t:void 0},a,{ref:o}))}}]),n}(u.Component),W=function(e){var t,n=e.style,o=e.className,i=e.eventKey,a=(e.warnKey,e.disabled),c=e.itemIcon,d=e.children,v=e.role,h=e.onMouseEnter,g=e.onMouseLeave,y=e.onClick,b=e.onKeyDown,w=e.onFocus,E=(0,p.Z)(e,U),C=z(i),Z=u.useContext(k),N=Z.prefixCls,P=Z.onItemClick,j=Z.disabled,A=Z.overflowDisabled,R=Z.itemIcon,F=Z.selectedKeys,I=Z.onActive,L=u.useContext(V)._internalRenderMenuItem,D="".concat(N,"-item"),H=u.useRef(),W=u.useRef(),$=j||a,K=_(i);var G=function(e){return{key:i,keyPath:(0,f.Z)(K).reverse(),item:H.current,domEvent:e}},Y=c||R,X=S(i,$,h,g),Q=X.active,J=(0,p.Z)(X,q),ee=F.includes(i),te=M(K.length),ne={};"option"===e.role&&(ne["aria-selected"]=ee);var re=u.createElement(B,(0,r.Z)({ref:H,elementRef:W,role:null===v?"none":v||"menuitem",tabIndex:a?null:-1,"data-menu-id":A&&C?null:C},E,J,ne,{component:"li","aria-disabled":a,style:(0,l.Z)((0,l.Z)({},te),n),className:m()(D,(t={},(0,s.Z)(t,"".concat(D,"-active"),Q),(0,s.Z)(t,"".concat(D,"-selected"),ee),(0,s.Z)(t,"".concat(D,"-disabled"),$),t),o),onClick:function(e){if(!$){var t=G(e);null===y||void 0===y||y(O(t)),P(t)}},onKeyDown:function(e){if(null===b||void 0===b||b(e),e.which===x.Z.ENTER){var t=G(e);null===y||void 0===y||y(O(t)),P(t)}},onFocus:function(e){I(i),null===w||void 0===w||w(e)}}),d,u.createElement(T,{props:(0,l.Z)((0,l.Z)({},e),{},{isSelected:ee}),icon:Y}));return L&&(re=L(re,e)),re};var $=function(e){var t=e.eventKey,n=R(),r=_(t);return u.useEffect((function(){if(n)return n.registerPath(t,r),function(){n.unregisterPath(t,r)}}),[r]),n?null:u.createElement(W,e)},K=n(50344);function G(e,t){return(0,K.Z)(e).map((function(e,n){if(u.isValidElement(e)){var r,o,i=e.key,a=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i;(null===a||void 0===a)&&(a="tmp_key-".concat([].concat((0,f.Z)(t),[n]).join("-")));var c={key:a,eventKey:a};return u.cloneElement(e,c)}return e}))}function Y(e){var t=u.useRef(e);t.current=e;var n=u.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o1&&(E.motionAppear=!1);var C=E.onVisibleChanged;return E.onVisibleChanged=function(e){return h.current||e||w(!0),null===C||void 0===C?void 0:C(e)},b?null:u.createElement(N,{mode:a,locked:!h.current},u.createElement(se.Z,(0,r.Z)({visible:x},E,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),(function(e){var n=e.className,r=e.style;return u.createElement(ee,{id:t,className:n,style:r},i)})))}var fe=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],de=["active"],pe=function(e){var t,n=e.style,o=e.className,i=e.title,a=e.eventKey,c=(e.warnKey,e.disabled),f=e.internalPopupClose,v=e.children,h=e.itemIcon,g=e.expandIcon,y=e.popupClassName,b=e.popupOffset,x=e.onClick,E=e.onMouseEnter,C=e.onMouseLeave,Z=e.onTitleClick,P=e.onTitleMouseEnter,j=e.onTitleMouseLeave,A=(0,p.Z)(e,fe),R=z(a),F=u.useContext(k),L=F.prefixCls,D=F.mode,H=F.openKeys,U=F.disabled,q=F.overflowDisabled,B=F.activeKey,W=F.selectedKeys,$=F.itemIcon,K=F.expandIcon,G=F.onItemClick,X=F.onOpenChange,Q=F.onActive,J=u.useContext(V)._internalRenderSubMenuItem,te=u.useContext(I).isSubPathKey,ne=_(),re="".concat(L,"-submenu"),oe=U||c,ie=u.useRef(),ae=u.useRef();var ce=h||$,se=g||K,pe=H.includes(a),ve=!q&&pe,me=te(W,a),he=S(a,oe,P,j),ge=he.active,ye=(0,p.Z)(he,de),be=u.useState(!1),we=(0,d.Z)(be,2),xe=we[0],Ee=we[1],Ce=function(e){oe||Ee(e)},Ze=u.useMemo((function(){return ge||"inline"!==D&&(xe||te([B],a))}),[D,ge,B,xe,a,te]),ke=M(ne.length),Ne=Y((function(e){null===x||void 0===x||x(O(e)),G(e)})),Se=R&&"".concat(R,"-popup"),Pe=u.createElement("div",(0,r.Z)({role:"menuitem",style:ke,className:"".concat(re,"-title"),tabIndex:oe?null:-1,ref:ie,title:"string"===typeof i?i:null,"data-menu-id":q&&R?null:R,"aria-expanded":ve,"aria-haspopup":!0,"aria-controls":Se,"aria-disabled":oe,onClick:function(e){oe||(null===Z||void 0===Z||Z({key:a,domEvent:e}),"inline"===D&&X(a,!pe))},onFocus:function(){Q(a)}},ye),i,u.createElement(T,{icon:"horizontal"!==D?se:null,props:(0,l.Z)((0,l.Z)({},e),{},{isOpen:ve,isSubMenu:!0})},u.createElement("i",{className:"".concat(re,"-arrow")}))),Oe=u.useRef(D);if("inline"!==D&&(Oe.current=ne.length>1?"vertical":D),!q){var Te=Oe.current;Pe=u.createElement(ue,{mode:Te,prefixCls:re,visible:!f&&ve&&"inline"!==D,popupClassName:y,popupOffset:b,popup:u.createElement(N,{mode:"horizontal"===Te?"vertical":Te},u.createElement(ee,{id:Se,ref:ae},v)),disabled:oe,onVisibleChange:function(e){"inline"!==D&&X(a,e)}},Pe)}var Me=u.createElement(w.Z.Item,(0,r.Z)({role:"none"},A,{component:"li",style:n,className:m()(re,"".concat(re,"-").concat(D),o,(t={},(0,s.Z)(t,"".concat(re,"-open"),ve),(0,s.Z)(t,"".concat(re,"-active"),Ze),(0,s.Z)(t,"".concat(re,"-selected"),me),(0,s.Z)(t,"".concat(re,"-disabled"),oe),t)),onMouseEnter:function(e){Ce(!0),null===E||void 0===E||E({key:a,domEvent:e})},onMouseLeave:function(e){Ce(!1),null===C||void 0===C||C({key:a,domEvent:e})}}),Pe,!q&&u.createElement(le,{id:Se,open:ve,keyPath:ne},v));return J&&(Me=J(Me,e)),u.createElement(N,{onItemClick:Ne,mode:"horizontal"===D?"vertical":D,itemIcon:ce,expandIcon:se},Me)};function ve(e){var t,n=e.eventKey,r=e.children,o=_(n),i=G(r,o),a=R();return u.useEffect((function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}}),[o]),t=a?i:u.createElement(pe,e,i),u.createElement(F.Provider,{value:o},t)}var me=n(88603),he=x.Z.LEFT,ge=x.Z.RIGHT,ye=x.Z.UP,be=x.Z.DOWN,we=x.Z.ENTER,xe=x.Z.ESC,Ee=x.Z.HOME,Ce=x.Z.END,Ze=[ye,be,he,ge];function ke(e,t){return(0,me.tS)(e,!0).filter((function(e){return t.has(e)}))}function Ne(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=ke(e,t),i=o.length,a=o.findIndex((function(e){return n===e}));return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}function Se(e,t,n,r,o,i,a,c,l,f){var d=u.useRef(),p=u.useRef();p.current=t;var v=function(){ne.Z.cancel(d.current)};return u.useEffect((function(){return function(){v()}}),[]),function(u){var m=u.which;if([].concat(Ze,[we,xe,Ee,Ce]).includes(m)){var h,g,y,b=function(){return h=new Set,g=new Map,y=new Map,i().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(D(r,e),"']"));t&&(h.add(t),y.set(t,e),g.set(e,t))})),h};b();var w=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(g.get(t),h),x=y.get(w),E=function(e,t,n,r){var o,i,a,c,u="prev",l="next",f="children",d="parent";if("inline"===e&&r===we)return{inlineTrigger:!0};var p=(o={},(0,s.Z)(o,ye,u),(0,s.Z)(o,be,l),o),v=(i={},(0,s.Z)(i,he,n?l:u),(0,s.Z)(i,ge,n?u:l),(0,s.Z)(i,be,f),(0,s.Z)(i,we,f),i),m=(a={},(0,s.Z)(a,ye,u),(0,s.Z)(a,be,l),(0,s.Z)(a,we,f),(0,s.Z)(a,xe,d),(0,s.Z)(a,he,n?f:d),(0,s.Z)(a,ge,n?d:f),a);switch(null===(c={inline:p,horizontal:v,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m}["".concat(e).concat(t?"":"Sub")])||void 0===c?void 0:c[r]){case u:return{offset:-1,sibling:!0};case l:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(e,1===a(x,!0).length,n,m);if(!E&&m!==Ee&&m!==Ce)return;(Ze.includes(m)||[Ee,Ce].includes(m))&&u.preventDefault();var C=function(e){if(e){var t=e,n=e.querySelector("a");(null===n||void 0===n?void 0:n.getAttribute("href"))&&(t=n);var r=y.get(e);c(r),v(),d.current=(0,ne.Z)((function(){p.current===r&&t.focus()}))}};if([Ee,Ce].includes(m)||E.sibling||!w){var Z,k,N=ke(Z=w&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(w):o.current,h);k=m===Ee?N[0]:m===Ce?N[N.length-1]:Ne(Z,h,w,E.offset),C(k)}else if(E.inlineTrigger)l(x);else if(E.offset>0)l(x,!0),v(),d.current=(0,ne.Z)((function(){b();var e=w.getAttribute("aria-controls"),t=Ne(document.getElementById(e),h);C(t)}),5);else if(E.offset<0){var S=a(x,!0),P=S[S.length-2],O=g.get(P);l(P,!1),C(O)}}null===f||void 0===f||f(u)}}var Pe=Math.random().toFixed(5).toString().slice(2),Oe=0;var Te="__RC_UTIL_PATH_SPLIT__",Me=function(e){return e.join(Te)},je="rc-menu-more";function Ae(){var e=u.useState({}),t=(0,d.Z)(e,2)[1],n=(0,u.useRef)(new Map),r=(0,u.useRef)(new Map),o=u.useState([]),i=(0,d.Z)(o,2),a=i[0],c=i[1],s=(0,u.useRef)(0),l=(0,u.useRef)(!1),p=(0,u.useCallback)((function(e,o){var i=Me(o);r.current.set(i,e),n.current.set(e,i),s.current+=1;var a,c=s.current;a=function(){c===s.current&&(l.current||t({}))},Promise.resolve().then(a)}),[]),v=(0,u.useCallback)((function(e,t){var o=Me(t);r.current.delete(o),n.current.delete(e)}),[]),m=(0,u.useCallback)((function(e){c(e)}),[]),h=(0,u.useCallback)((function(e,t){var r=n.current.get(e)||"",o=r.split(Te);return t&&a.includes(o[0])&&o.unshift(je),o}),[a]),g=(0,u.useCallback)((function(e,t){return e.some((function(e){return h(e,!0).includes(t)}))}),[h]),y=(0,u.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(Te),o=new Set;return(0,f.Z)(r.current.keys()).forEach((function(e){e.startsWith(t)&&o.add(r.current.get(e))})),o}),[]);return u.useEffect((function(){return function(){l.current=!0}}),[]),{registerPath:p,unregisterPath:v,refreshOverflowKeys:m,isSubPathKey:g,getKeyPath:h,getKeys:function(){var e=(0,f.Z)(n.current.keys());return a.length&&e.push(je),e},getSubPathKeys:y}}var Re=["prefixCls","style","className","tabIndex","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Fe=[],_e=function(e){var t,n,o=e.prefixCls,i=void 0===o?"rc-menu":o,a=e.style,c=e.className,v=e.tabIndex,h=void 0===v?0:v,b=e.children,x=e.direction,E=e.id,C=e.mode,Z=void 0===C?"vertical":C,k=e.inlineCollapsed,S=e.disabled,P=e.disabledOverflow,T=e.subMenuOpenDelay,M=void 0===T?.1:T,j=e.subMenuCloseDelay,R=void 0===j?.1:j,F=e.forceSubMenuRender,_=e.defaultOpenKeys,D=e.openKeys,z=e.activeKey,H=e.defaultActiveFirst,U=e.selectable,q=void 0===U||U,B=e.multiple,W=void 0!==B&&B,K=e.defaultSelectedKeys,X=e.selectedKeys,Q=e.onSelect,J=e.onDeselect,ee=e.inlineIndent,te=void 0===ee?24:ee,ne=e.motion,re=e.defaultMotions,oe=e.triggerSubMenuAction,ie=void 0===oe?"hover":oe,ae=e.builtinPlacements,ce=e.itemIcon,ue=e.expandIcon,se=e.overflowedIndicator,le=void 0===se?"...":se,fe=e.overflowedIndicatorPopupClassName,de=e.getPopupContainer,pe=e.onClick,me=e.onOpenChange,he=e.onKeyDown,ge=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),ye=e._internalRenderSubMenuItem,be=(0,p.Z)(e,Re),we=G(b,Fe),xe=u.useState(!1),Ee=(0,d.Z)(xe,2),Ce=Ee[0],Ze=Ee[1],ke=u.useRef(),Ne=function(e){var t=(0,y.Z)(e,{value:e}),n=(0,d.Z)(t,2),r=n[0],o=n[1];return u.useEffect((function(){Oe+=1;var e="".concat(Pe,"-").concat(Oe);o("rc-menu-uuid-".concat(e))}),[]),r}(E),Te="rtl"===x;var Me=u.useMemo((function(){return"inline"!==Z&&"vertical"!==Z||!k?[Z,!1]:["vertical",k]}),[Z,k]),_e=(0,d.Z)(Me,2),Ie=_e[0],Le=_e[1],De=u.useState(0),ze=(0,d.Z)(De,2),Ve=ze[0],He=ze[1],Ue=Ve>=we.length-1||"horizontal"!==Ie||P,qe=(0,y.Z)(_,{value:D,postState:function(e){return e||Fe}}),Be=(0,d.Z)(qe,2),We=Be[0],$e=Be[1],Ke=function(e){$e(e),null===me||void 0===me||me(e)},Ge=u.useState(We),Ye=(0,d.Z)(Ge,2),Xe=Ye[0],Qe=Ye[1],Je="inline"===Ie,et=u.useRef(!1);u.useEffect((function(){Je&&Qe(We)}),[We]),u.useEffect((function(){et.current?Je?$e(Xe):Ke(Fe):et.current=!0}),[Je]);var tt=Ae(),nt=tt.registerPath,rt=tt.unregisterPath,ot=tt.refreshOverflowKeys,it=tt.isSubPathKey,at=tt.getKeyPath,ct=tt.getKeys,ut=tt.getSubPathKeys,st=u.useMemo((function(){return{registerPath:nt,unregisterPath:rt}}),[nt,rt]),lt=u.useMemo((function(){return{isSubPathKey:it}}),[it]);u.useEffect((function(){ot(Ue?Fe:we.slice(Ve+1).map((function(e){return e.key})))}),[Ve,Ue]);var ft=(0,y.Z)(z||H&&(null===(t=we[0])||void 0===t?void 0:t.key),{value:z}),dt=(0,d.Z)(ft,2),pt=dt[0],vt=dt[1],mt=Y((function(e){vt(e)})),ht=Y((function(){vt(void 0)})),gt=(0,y.Z)(K||[],{value:X,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?Fe:[e]}}),yt=(0,d.Z)(gt,2),bt=yt[0],wt=yt[1],xt=Y((function(e){null===pe||void 0===pe||pe(O(e)),function(e){if(q){var t,n=e.key,r=bt.includes(n);t=W?r?bt.filter((function(e){return e!==n})):[].concat((0,f.Z)(bt),[n]):[n],wt(t);var o=(0,l.Z)((0,l.Z)({},e),{},{selectedKeys:t});r?null===J||void 0===J||J(o):null===Q||void 0===Q||Q(o)}!W&&We.length&&"inline"!==Ie&&Ke(Fe)}(e)})),Et=Y((function(e,t){var n=We.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Ie){var r=ut(e);n=n.filter((function(e){return!r.has(e)}))}g()(We,n)||Ke(n)})),Ct=Y(de),Zt=Se(Ie,pt,Te,Ne,ke,ct,at,vt,(function(e,t){var n=null!==t&&void 0!==t?t:!We.includes(e);Et(e,n)}),he);u.useEffect((function(){Ze(!0)}),[]);var kt=u.useMemo((function(){return{_internalRenderMenuItem:ge,_internalRenderSubMenuItem:ye}}),[ge,ye]),Nt="horizontal"!==Ie||P?we:we.map((function(e,t){return u.createElement(N,{key:e.key,overflowDisabled:t>Ve},e)})),St=u.createElement(w.Z,(0,r.Z)({id:E,ref:ke,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:$,className:m()(i,"".concat(i,"-root"),"".concat(i,"-").concat(Ie),c,(n={},(0,s.Z)(n,"".concat(i,"-inline-collapsed"),Le),(0,s.Z)(n,"".concat(i,"-rtl"),Te),n)),dir:x,style:a,role:"menu",tabIndex:h,data:Nt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?we.slice(-t):null;return u.createElement(ve,{eventKey:je,title:le,disabled:Ue,internalPopupClose:0===t,popupClassName:fe},n)},maxCount:"horizontal"!==Ie||P?w.Z.INVALIDATE:w.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){He(e)},onKeyDown:Zt},be));return u.createElement(V.Provider,{value:kt},u.createElement(L.Provider,{value:Ne},u.createElement(N,{prefixCls:i,mode:Ie,openKeys:We,rtl:Te,disabled:S,motion:Ce?ne:null,defaultMotions:Ce?re:null,activeKey:pt,onActive:mt,onInactive:ht,selectedKeys:bt,inlineIndent:te,subMenuOpenDelay:M,subMenuCloseDelay:R,forceSubMenuRender:F,builtinPlacements:ae,triggerSubMenuAction:ie,getPopupContainer:Ct,itemIcon:ce,expandIcon:ue,onItemClick:xt,onOpenChange:Et},u.createElement(I.Provider,{value:lt},St),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(A.Provider,{value:st},we)))))},Ie=["className","title","eventKey","children"],Le=["children"],De=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,p.Z)(e,Ie),a=u.useContext(k).prefixCls,c="".concat(a,"-item-group");return u.createElement("li",(0,r.Z)({},i,{onClick:function(e){return e.stopPropagation()},className:m()(c,t)}),u.createElement("div",{className:"".concat(c,"-title"),title:"string"===typeof n?n:void 0},n),u.createElement("ul",{className:"".concat(c,"-list")},o))};function ze(e){var t=e.children,n=(0,p.Z)(e,Le),r=G(t,_(n.eventKey));return R()?r:u.createElement(De,(0,E.Z)(n,["warnKey"]),r)}function Ve(e){var t=e.className,n=e.style,r=u.useContext(k).prefixCls;return R()?null:u.createElement("li",{className:m()("".concat(r,"-item-divider"),t),style:n})}var He=_,Ue=_e;Ue.Item=$,Ue.SubMenu=ve,Ue.ItemGroup=ze,Ue.Divider=Ve;var qe=Ue,Be=n(89705),We=n(30845),$e=(0,u.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ke=n(96159);var Ge=function(e){var t,n,o=e.popupClassName,i=e.icon,a=e.title,c=u.useContext($e),s=c.prefixCls,l=c.inlineCollapsed,f=c.antdMenuTheme,d=He();if(i){var p=(0,Ke.l$)(a)&&"span"===a.type;n=u.createElement(u.Fragment,null,(0,Ke.Tm)(i,{className:m()((0,Ke.l$)(i)?null===(t=i.props)||void 0===t?void 0:t.className:"","".concat(s,"-item-icon"))}),p?a:u.createElement("span",{className:"".concat(s,"-title-content")},a))}else n=l&&!d.length&&a&&"string"===typeof a?u.createElement("div",{className:"".concat(s,"-inline-collapsed-noicon")},a.charAt(0)):u.createElement("span",{className:"".concat(s,"-title-content")},a);var v=u.useMemo((function(){return(0,r.Z)((0,r.Z)({},c),{firstLevel:!1})}),[c]);return u.createElement($e.Provider,{value:v},u.createElement(ve,(0,r.Z)({},(0,E.Z)(e,["icon"]),{title:n,popupClassName:m()(s,"".concat(s,"-").concat(f),o)})))},Ye=n(56266),Xe=n(7293),Qe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return{};var n=t.element,r=void 0===n?document.body:n,o={},i=Object.keys(e);return i.forEach((function(e){o[e]=r.style[e]})),i.forEach((function(t){r.style[t]=e[t]})),o};var b={},w=function(e){if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth||e){var t="ant-scrolling-effect",n=new RegExp("".concat(t),"g"),r=document.body.className;if(e){if(!n.test(r))return;return y(b),b={},void(document.body.className=r.replace(n,"").trim())}var o=(0,g.Z)();if(o&&(b=y({position:"relative",width:"calc(100% - ".concat(o,"px)")}),!n.test(r))){var i="".concat(r," ").concat(t);document.body.className=i.trim()}}},x=n(74902),E=[],C="ant-scrolling-effect",Z=new RegExp("".concat(C),"g"),k=0,N=new Map,S=(0,u.Z)((function e(t){var n=this;(0,c.Z)(this,e),this.lockTarget=void 0,this.options=void 0,this.getContainer=function(){var e;return null===(e=n.options)||void 0===e?void 0:e.container},this.reLock=function(e){var t=E.find((function(e){return e.target===n.lockTarget}));t&&n.unLock(),n.options=e,t&&(t.options=e,n.lock())},this.lock=function(){var e;if(!E.some((function(e){return e.target===n.lockTarget})))if(E.some((function(e){var t,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})))E=[].concat((0,x.Z)(E),[{target:n.lockTarget,options:n.options}]);else{var t=0,r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body;(r===document.body&&window.innerWidth-document.documentElement.clientWidth>0||r.scrollHeight>r.clientHeight)&&(t=(0,g.Z)());var o=r.className;if(0===E.filter((function(e){var t,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})).length&&N.set(r,y({width:0!==t?"calc(100% - ".concat(t,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:r})),!Z.test(o)){var i="".concat(o," ").concat(C);r.className=i.trim()}E=[].concat((0,x.Z)(E),[{target:n.lockTarget,options:n.options}])}},this.unLock=function(){var e,t=E.find((function(e){return e.target===n.lockTarget}));if(E=E.filter((function(e){return e.target!==n.lockTarget})),t&&!E.some((function(e){var n,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(n=t.options)||void 0===n?void 0:n.container)}))){var r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body,o=r.className;Z.test(o)&&(y(N.get(r),{element:r}),N.delete(r),r.className=r.className.replace(Z,"").trim())}},this.lockTarget=k++,this.options=t})),P=0,O=(0,v.Z)();var T={},M=function(e){if(!O)return null;if(e){if("string"===typeof e)return document.querySelectorAll(e)[0];if("function"===typeof e)return e();if("object"===(0,f.Z)(e)&&e instanceof window.HTMLElement)return e}return document.body},j=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,c.Z)(this,n),(r=t.call(this,e)).container=void 0,r.componentRef=i.createRef(),r.rafId=void 0,r.scrollLocker=void 0,r.renderComponent=void 0,r.updateScrollLocker=function(e){var t=(e||{}).visible,n=r.props,o=n.getContainer,i=n.visible;i&&i!==t&&O&&M(o)!==r.scrollLocker.getContainer()&&r.scrollLocker.reLock({container:M(o)})},r.updateOpenCount=function(e){var t=e||{},n=t.visible,o=t.getContainer,i=r.props,a=i.visible,c=i.getContainer;a!==n&&O&&M(c)===document.body&&(a&&!n?P+=1:e&&(P-=1)),("function"===typeof c&&"function"===typeof o?c.toString()!==o.toString():c!==o)&&r.removeCurrentContainer()},r.attachToParent=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||r.container&&!r.container.parentNode){var t=M(r.props.getContainer);return!!t&&(t.appendChild(r.container),!0)}return!0},r.getContainer=function(){return O?(r.container||(r.container=document.createElement("div"),r.attachToParent(!0)),r.setWrapperClassName(),r.container):null},r.setWrapperClassName=function(){var e=r.props.wrapperClassName;r.container&&e&&e!==r.container.className&&(r.container.className=e)},r.removeCurrentContainer=function(){var e,t;null===(e=r.container)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(r.container)},r.switchScrollingEffect=function(){1!==P||Object.keys(T).length?P||(y(T),T={},w(!0)):(w(),T=y({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))},r.scrollLocker=new S({container:M(e.getContainer)}),r}return(0,u.Z)(n,[{key:"componentDidMount",value:function(){var e=this;this.updateOpenCount(),this.attachToParent()||(this.rafId=(0,d.Z)((function(){e.forceUpdate()})))}},{key:"componentDidUpdate",value:function(e){this.updateOpenCount(e),this.updateScrollLocker(e),this.setWrapperClassName(),this.attachToParent()}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visible,n=e.getContainer;O&&M(n)===document.body&&(P=t&&P?P-1:P),this.removeCurrentContainer(),d.Z.cancel(this.rafId)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.forceRender,r=e.visible,o=null,a={getOpenCount:function(){return P},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect,scrollLocker:this.scrollLocker};return(n||r||this.componentRef.current)&&(o=i.createElement(h,{getContainer:this.getContainer,ref:this.componentRef},t(a))),o}}]),n}(i.Component),A=j,R=n(1413),F=n(94184),_=n.n(F),I=n(15105),L=n(94999),D=n(64217),z=n(88320);function V(e){var t=e.prefixCls,n=e.style,r=e.visible,a=e.maskProps,c=e.motionName;return i.createElement(z.Z,{key:"mask",visible:r,motionName:c,leavedClassName:"".concat(t,"-mask-hidden")},(function(e){var r=e.className,c=e.style;return i.createElement("div",(0,o.Z)({style:(0,R.Z)((0,R.Z)({},c),n),className:_()("".concat(t,"-mask"),r)},a))}))}function H(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}var U=-1;function q(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var o=e.document;"number"!==typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var B=i.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate})),W={width:0,height:0,overflow:"hidden",outline:"none"},$=i.forwardRef((function(e,t){var n=e.closable,r=e.prefixCls,c=e.width,u=e.height,s=e.footer,l=e.title,f=e.closeIcon,d=e.style,p=e.className,v=e.visible,m=e.forceRender,h=e.bodyStyle,g=e.bodyProps,y=e.children,b=e.destroyOnClose,w=e.modalRender,x=e.motionName,E=e.ariaId,C=e.onClose,Z=e.onVisibleChanged,k=e.onMouseDown,N=e.onMouseUp,S=e.mousePosition,P=(0,i.useRef)(),O=(0,i.useRef)(),T=(0,i.useRef)();i.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=P.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===O.current?P.current.focus():e||t!==P.current||O.current.focus()}}}));var M,j,A,F=i.useState(),I=(0,a.Z)(F,2),L=I[0],D=I[1],V={};function H(){var e=function(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=q(o),n.top+=q(o,!0),n}(T.current);D(S?"".concat(S.x-e.left,"px ").concat(S.y-e.top,"px"):"")}void 0!==c&&(V.width=c),void 0!==u&&(V.height=u),L&&(V.transformOrigin=L),s&&(M=i.createElement("div",{className:"".concat(r,"-footer")},s)),l&&(j=i.createElement("div",{className:"".concat(r,"-header")},i.createElement("div",{className:"".concat(r,"-title"),id:E},l))),n&&(A=i.createElement("button",{type:"button",onClick:C,"aria-label":"Close",className:"".concat(r,"-close")},f||i.createElement("span",{className:"".concat(r,"-close-x")})));var U=i.createElement("div",{className:"".concat(r,"-content")},A,j,i.createElement("div",(0,o.Z)({className:"".concat(r,"-body"),style:h},g),y),M);return i.createElement(z.Z,{visible:v,onVisibleChanged:Z,onAppearPrepare:H,onEnterPrepare:H,forceRender:m,motionName:x,removeOnLeave:b,ref:T},(function(e,t){var n=e.className,o=e.style;return i.createElement("div",{key:"dialog-element",role:"document",ref:t,style:(0,R.Z)((0,R.Z)((0,R.Z)({},o),d),V),className:_()(r,p,n),onMouseDown:k,onMouseUp:N},i.createElement("div",{tabIndex:0,ref:P,style:W,"aria-hidden":"true"}),i.createElement(B,{shouldUpdate:v||m},w?w(U):U),i.createElement("div",{tabIndex:0,ref:O,style:W,"aria-hidden":"true"}))}))}));$.displayName="Content";var K=$;function G(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,c=e.visible,u=void 0!==c&&c,s=e.keyboard,l=void 0===s||s,f=e.focusTriggerAfterClose,d=void 0===f||f,p=e.scrollLocker,v=e.title,m=e.wrapStyle,h=e.wrapClassName,g=e.wrapProps,y=e.onClose,b=e.afterClose,w=e.transitionName,x=e.animation,E=e.closable,C=void 0===E||E,Z=e.mask,k=void 0===Z||Z,N=e.maskTransitionName,S=e.maskAnimation,P=e.maskClosable,O=void 0===P||P,T=e.maskStyle,M=e.maskProps,j=(0,i.useRef)(),A=(0,i.useRef)(),F=(0,i.useRef)(),z=i.useState(u),q=(0,a.Z)(z,2),B=q[0],W=q[1],$=(0,i.useRef)();function G(e){null===y||void 0===y||y(e)}$.current||($.current="rcDialogTitle".concat(U+=1));var Y=(0,i.useRef)(!1),X=(0,i.useRef)(),Q=null;return O&&(Q=function(e){Y.current?Y.current=!1:A.current===e.target&&G(e)}),(0,i.useEffect)((function(){return u&&W(!0),function(){}}),[u]),(0,i.useEffect)((function(){return function(){clearTimeout(X.current)}}),[]),(0,i.useEffect)((function(){return B?(null===p||void 0===p||p.lock(),null===p||void 0===p?void 0:p.unLock):function(){}}),[B,p]),i.createElement("div",(0,o.Z)({className:"".concat(n,"-root")},(0,D.Z)(e,{data:!0})),i.createElement(V,{prefixCls:n,visible:k&&u,motionName:H(n,N,S),style:(0,R.Z)({zIndex:r},T),maskProps:M}),i.createElement("div",(0,o.Z)({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===I.Z.ESC)return e.stopPropagation(),void G(e);u&&e.keyCode===I.Z.TAB&&F.current.changeActive(!e.shiftKey)},className:_()("".concat(n,"-wrap"),h),ref:A,onClick:Q,role:"dialog","aria-labelledby":v?$.current:null,style:(0,R.Z)((0,R.Z)({zIndex:r},m),{},{display:B?null:"none"})},g),i.createElement(K,(0,o.Z)({},e,{onMouseDown:function(){clearTimeout(X.current),Y.current=!0},onMouseUp:function(){X.current=setTimeout((function(){Y.current=!1}))},ref:F,closable:C,ariaId:$.current,prefixCls:n,visible:u,onClose:G,onVisibleChanged:function(e){if(e){var t;if(!(0,L.Z)(A.current,document.activeElement))j.current=document.activeElement,null===(t=F.current)||void 0===t||t.focus()}else{if(W(!1),k&&j.current&&d){try{j.current.focus({preventScroll:!0})}catch(n){}j.current=null}B&&(null===b||void 0===b||b())}},motionName:H(n,w,x)}))))}var Y=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,c=e.destroyOnClose,u=void 0!==c&&c,s=e.afterClose,l=i.useState(t),f=(0,a.Z)(l,2),d=f[0],p=f[1];return i.useEffect((function(){t&&p(!0)}),[t]),!1===n?i.createElement(G,(0,o.Z)({},e,{getOpenCount:function(){return 2}})):r||!u||d?i.createElement(A,{visible:t,forceRender:r,getContainer:n},(function(t){return i.createElement(G,(0,o.Z)({},e,{destroyOnClose:u,afterClose:function(){null===s||void 0===s||s(),p(!1)}},t))})):null};Y.displayName="Dialog";var X=Y,Q=n(97937),J=n(6213),ee=(0,o.Z)({},J.Z.Modal);function te(e){ee=e?(0,o.Z)((0,o.Z)({},ee),e):(0,o.Z)({},J.Z.Modal)}function ne(){return ee}var re,oe=n(71577),ie=n(8613),ae=n(23715),ce=n(59844),ue=n(31808),se=n(33603),le=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:nt,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:rt;switch(e){case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}function ut(e,t){var n=e.placement,o=void 0===n?it:n,i=e.top,a=e.bottom,c=e.getContainer,u=void 0===c?Xe:c,s=e.prefixCls,l=Et(),f=l.getPrefixCls,d=l.getIconPrefixCls,p=f("notification",s||ot),v=d(),m="".concat(p,"-").concat(o),h=et[m];if(h)Promise.resolve(h).then((function(e){t({prefixCls:"".concat(p,"-notice"),iconPrefixCls:v,instance:e})}));else{var g=_()("".concat(p,"-").concat(o),(0,r.Z)({},"".concat(p,"-rtl"),!0===at));et[m]=new Promise((function(e){Pe.default.newInstance({prefixCls:p,className:g,style:ct(o,i,a),getContainer:u,maxCount:Je},(function(n){e(n),t({prefixCls:"".concat(p,"-notice"),iconPrefixCls:v,instance:n})}))}))}}var st={success:ve.Z,info:pe.Z,error:me.Z,warning:he.Z};function lt(e,t,n){var o=e.duration,a=e.icon,c=e.type,u=e.description,s=e.message,l=e.btn,f=e.onClose,d=e.onClick,p=e.key,v=e.style,m=e.className,h=e.closeIcon,g=void 0===h?Qe:h,y=void 0===o?tt:o,b=null;a?b=i.createElement("span",{className:"".concat(t,"-icon")},e.icon):c&&(b=i.createElement(st[c]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(c)}));var w=i.createElement("span",{className:"".concat(t,"-close-x")},g||i.createElement(Q.Z,{className:"".concat(t,"-close-icon")})),x=!u&&b?i.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:i.createElement(kt,{iconPrefixCls:n},i.createElement("div",{className:b?"".concat(t,"-with-icon"):"",role:"alert"},b,i.createElement("div",{className:"".concat(t,"-message")},x,s),i.createElement("div",{className:"".concat(t,"-description")},u),l?i.createElement("span",{className:"".concat(t,"-btn")},l):null)),duration:y,closable:!0,closeIcon:w,onClose:f,onClick:d,key:p,style:v||{},className:_()(m,(0,r.Z)({},"".concat(t,"-").concat(c),!!c))}}var ft={open:function(e){ut(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(lt(e,n,r))}))},close:function(e){Object.keys(et).forEach((function(t){return Promise.resolve(et[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,i=e.getContainer,a=e.closeIcon,c=e.prefixCls;void 0!==c&&(ot=c),void 0!==t&&(tt=t),void 0!==n?it=n:e.rtl&&(it="topLeft"),void 0!==r&&(rt=r),void 0!==o&&(nt=o),void 0!==i&&(Xe=i),void 0!==a&&(Qe=a),void 0!==e.rtl&&(at=e.rtl),void 0!==e.maxCount&&(Je=e.maxCount)},destroy:function(){Object.keys(et).forEach((function(e){Promise.resolve(et[e]).then((function(e){e.destroy()})),delete et[e]}))}};["success","info","warning","error"].forEach((function(e){ft[e]=function(t){return ft.open((0,o.Z)((0,o.Z)({},t),{type:e}))}})),ft.warn=ft.warning,ft.useNotification=function(e,t){return function(){var n,r=null,c={add:function(e,t){null===r||void 0===r||r.component.add(e,t)}},u=(0,Re.Z)(c),s=(0,a.Z)(u,2),l=s[0],f=s[1];var d=i.useRef({});return d.current.open=function(i){var a=i.prefixCls,c=n("notification",a);e((0,o.Z)((0,o.Z)({},i),{prefixCls:c}),(function(e){var n=e.prefixCls,o=e.instance;r=o,l(t(i,n))}))},["success","info","warning","error"].forEach((function(e){d.current[e]=function(t){return d.current.open((0,o.Z)((0,o.Z)({},t),{type:e}))}})),[d.current,i.createElement(ce.C,{key:"holder"},(function(e){return n=e.getPrefixCls,f}))]}}(ut,lt);var dt=ft,pt=n(44958),vt=n(10274),mt=n(92138),ht="-ant-".concat(Date.now(),"-").concat(Math.random());var gt,yt,bt=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","form"];function wt(){return gt||"ant"}function xt(){return yt||"anticon"}var Et=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(wt(),"-").concat(e):wt())},getIconPrefixCls:xt,getRootPrefixCls:function(e,t){return e||(gt||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):wt()))}}},Ct=function(e){var t,n,r=e.children,a=e.csp,c=e.autoInsertSpaceInButton,u=e.form,s=e.locale,l=e.componentSize,f=e.direction,d=e.space,p=e.virtual,v=e.dropdownMatchSelectWidth,m=e.legacyLocale,h=e.parentContext,g=e.iconPrefixCls,y=i.useCallback((function(t,n){var r=e.prefixCls;if(n)return n;var o=r||h.getPrefixCls("");return t?"".concat(o,"-").concat(t):o}),[h.getPrefixCls,e.prefixCls]),b=(0,o.Z)((0,o.Z)({},h),{csp:a,autoInsertSpaceInButton:c,locale:s||m,direction:f,space:d,virtual:p,dropdownMatchSelectWidth:v,getPrefixCls:y});bt.forEach((function(t){var n=e[t];n&&(b[t]=n)}));var w=(0,xe.Z)((function(){return b}),b,(function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((function(n){return e[n]!==t[n]}))})),x=i.useMemo((function(){return{prefixCls:g,csp:a}}),[g]),E=r,C={};return s&&(C=(null===(t=s.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=J.Z.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),u&&u.validateMessages&&(C=(0,o.Z)((0,o.Z)({},C),u.validateMessages)),Object.keys(C).length>0&&(E=i.createElement(we.FormProvider,{validateMessages:C},r)),s&&(E=i.createElement(ke,{locale:s,_ANT_MARK__:Ze},E)),g&&(E=i.createElement(be.Z.Provider,{value:x},E)),l&&(E=i.createElement(Se.q,{size:l},E)),i.createElement(ce.E_.Provider,{value:w},E)},Zt=function(e){return i.useEffect((function(){e.direction&&(Ye.config({rtl:"rtl"===e.direction}),dt.config({rtl:"rtl"===e.direction}))}),[e.direction]),i.createElement(ae.Z,null,(function(t,n,r){return i.createElement(ce.C,null,(function(t){return i.createElement(Ct,(0,o.Z)({parentContext:t,legacyLocale:r},e))}))}))};Zt.ConfigContext=ce.E_,Zt.SizeContext=Se.Z,Zt.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(gt=t),void 0!==n&&(yt=n),r&&function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null===t||void 0===t?void 0:t(n))||n).toRgbString()},o=function(e,t){var o=new vt.C(e),i=(0,mt.generate)(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=i[1],n["".concat(t,"-color-hover")]=i[4],n["".concat(t,"-color-active")]=i[7],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=i[1],n["".concat(t,"-color-deprecated-border")]=i[3]};if(t.primaryColor){o(t.primaryColor,"primary");var i=new vt.C(t.primaryColor),a=(0,mt.generate)(i.toRgbString());a.forEach((function(e,t){n["primary-".concat(t+1)]=e})),n["primary-color-deprecated-l-35"]=r(i,(function(e){return e.lighten(35)})),n["primary-color-deprecated-l-20"]=r(i,(function(e){return e.lighten(20)})),n["primary-color-deprecated-t-20"]=r(i,(function(e){return e.tint(20)})),n["primary-color-deprecated-t-50"]=r(i,(function(e){return e.tint(50)})),n["primary-color-deprecated-f-12"]=r(i,(function(e){return e.setAlpha(.12*e.getAlpha())}));var c=new vt.C(a[0]);n["primary-color-active-deprecated-f-30"]=r(c,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(c,(function(e){return e.darken(2)}))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var u=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));(0,v.Z)()?(0,pt.hq)("\n :root {\n ".concat(u.join("\n"),"\n }\n "),"".concat(ht,"-dynamic-theme")):(0,ye.Z)(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}(wt(),r)};var kt=Zt,Nt=function(e){var t=e.icon,n=e.onCancel,o=e.onOk,a=e.close,c=e.zIndex,u=e.afterClose,s=e.visible,l=e.keyboard,f=e.centered,d=e.getContainer,p=e.maskStyle,v=e.okText,m=e.okButtonProps,h=e.cancelText,g=e.cancelButtonProps,y=e.direction,b=e.prefixCls,w=e.wrapClassName,x=e.rootPrefixCls,E=e.iconPrefixCls,C=e.bodyStyle,Z=e.closable,k=void 0!==Z&&Z,N=e.closeIcon,S=e.modalRender,P=e.focusTriggerAfterClose;(0,ye.Z)(!("string"===typeof t&&t.length>2),"Modal","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(t,"` at https://ant.design/components/icon"));var O=e.okType||"primary",T="".concat(b,"-confirm"),M=!("okCancel"in e)||e.okCancel,j=e.width||416,A=e.style||{},R=void 0===e.mask||e.mask,F=void 0!==e.maskClosable&&e.maskClosable,I=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),L=_()(T,"".concat(T,"-").concat(e.type),(0,r.Z)({},"".concat(T,"-rtl"),"rtl"===y),e.className),D=M&&i.createElement(ge.Z,{actionFn:n,close:a,autoFocus:"cancel"===I,buttonProps:g,prefixCls:"".concat(x,"-btn")},h);return i.createElement(kt,{prefixCls:x,iconPrefixCls:E,direction:y},i.createElement(de,{prefixCls:b,className:L,wrapClassName:_()((0,r.Z)({},"".concat(T,"-centered"),!!e.centered),w),onCancel:function(){return a({triggerCancel:!0})},visible:s,title:"",footer:"",transitionName:(0,se.m)(x,"zoom",e.transitionName),maskTransitionName:(0,se.m)(x,"fade",e.maskTransitionName),mask:R,maskClosable:F,maskStyle:p,style:A,bodyStyle:C,width:j,zIndex:c,afterClose:u,keyboard:l,centered:f,getContainer:d,closable:k,closeIcon:N,modalRender:S,focusTriggerAfterClose:P},i.createElement("div",{className:"".concat(T,"-body-wrapper")},i.createElement("div",{className:"".concat(T,"-body")},t,void 0===e.title?null:i.createElement("span",{className:"".concat(T,"-title")},e.title),i.createElement("div",{className:"".concat(T,"-content")},e.content)),i.createElement("div",{className:"".concat(T,"-btns")},D,i.createElement(ge.Z,{type:O,actionFn:o,close:a,autoFocus:"ok"===I,buttonProps:m,prefixCls:"".concat(x,"-btn")},v)))))},St=[],Pt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-t.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-t.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayInnerStyle:W,arrowContent:a.createElement("span",{className:"".concat(L,"-arrow-content"),style:V}),motion:{motionName:(0,b.m)(D,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),z?(0,h.Tm)(H,{className:q}):H)}));C.displayName="Tooltip",C.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var Z=C},84485:function(e,t,n){"use strict";n.d(t,{Z:function(){return se}});var r=n(87462),o=n(4942),i=n(67294),a=n(94184),c=n.n(a),u=n(42550),s=n(59844),l=n(21687),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);ot){var c=t-n;return r.push(String(i).slice(0,c)),r}r.push(i),n=a}return e}var B=function(e){var t=e.enabledMeasure,n=e.children,o=e.text,a=e.width,c=e.rows,u=e.onEllipsis,s=i.useState([0,0,0]),l=(0,g.Z)(s,2),f=l[0],d=l[1],p=i.useState(0),v=(0,g.Z)(p,2),m=v[0],h=v[1],y=(0,g.Z)(f,3),w=y[0],x=y[1],E=y[2],C=i.useState(0),Z=(0,g.Z)(C,2),k=Z[0],S=Z[1],P=i.useRef(null),O=i.useRef(null),T=i.useMemo((function(){return(0,b.Z)(o)}),[o]),M=i.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){U(e)?t+=String(e).length:t+=1})),t}(T)}),[T]),j=i.useMemo((function(){return t&&3===m?n(q(T,x),x1&&Ke,Qe=function(e){var t;Me(!0),null===(t=Ue.onExpand)||void 0===t||t.call(Ue,e)},Je=i.useState(0),et=(0,g.Z)(Je,2),tt=et[0],nt=et[1],rt=function(e){var t;Fe(e),Re!==e&&(null===(t=Ue.onEllipsis)||void 0===t||t.call(Ue,e))};i.useEffect((function(){var e=z.current;if(He&&Ke&&e){var t=Xe?e.offsetHeight1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},40364:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(19013),o=n(13882);function i(e,t){return(0,o.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(t).getTime()}var a={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function c(e){return e?a[e]:a.trunc}function u(e,t,n){(0,o.Z)(2,arguments);var r=i(e,t)/1e3;return c(null===n||void 0===n?void 0:n.roundingMethod)(r)}},19013:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13882);function o(e){(0,r.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),o=n(80401),i=n(57667),a=n(21327),c=n(81866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tl))return!1;var d=u.get(e),p=u.get(t);if(d&&p)return d==t&&p==e;var v=-1,m=!0,h=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++v-1&&e%1==0&&e-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:function(e,t,n){var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=c},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},35694:function(e,t,n){var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!c.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;e.exports=u},18446:function(e,t,n){var r=n(90939);e.exports=function(e,t){return r(e,t)}},23560:function(e,t,n){var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},36719:function(e,t,n){var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},3674:function(e,t,n){var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},30845:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var b="default",w="textarea",x="url";function E(e){var t=(0,s.useState)(null),n=t[0],r=t[1],c=(0,s.useState)(!1),h=c[0],b=c[1],w=((0,s.useContext)(d.aC)||{}).setFieldInConfigState,x=null,E=e.apiPath,C=e.configPath,Z=void 0===C?"":C,k=e.initialValue,N=e.useTrim,S=e.useTrimLead,P=y(e,["apiPath","configPath","initialValue","useTrim","useTrimLead"]),O=P.fieldName,T=P.required,M=P.tip,j=P.status,A=P.value,R=P.onChange,F=P.onSubmit,_=function(){r(null),b(!1),clearTimeout(x),x=null};(0,s.useEffect)((function(){T&&(""===A||null===A)||A===k?b(!1):(_(),b(!0))}),[A]);var I=function(){var e,t=(e=o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(T&&""!==A||A!==k)){e.next=6;break}return r((0,f.kg)(f.Jk)),e.next=4,(0,l.Si)({apiPath:E,data:{value:A},onSuccess:function(){w({fieldName:O,value:A,path:Z}),r((0,f.kg)(f.zv))},onError:function(e){r((0,f.kg)(f.Un,"There was an error: ".concat(e)))}});case 4:x=setTimeout(_,l.sI),F&&F();case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){m(i,r,o,a,c,"next",e)}function c(e){m(i,r,o,a,c,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),L=u()({"textfield-with-submit-container":!0,submittable:h});return(0,i.jsxs)("div",{className:L,children:[(0,i.jsx)("div",{className:"textfield-component",children:(0,i.jsx)(v.ZP,g({},P,{onSubmit:null,onBlur:function(e){var t=e.value;R&&T&&""===t&&R({fieldName:O,value:k})},onChange:function(e){var t=e.fieldName,n=e.value;if(R){var r=n;N?r=n.trim():S&&(r=n.replace(/^\s+/g,"")),R({fieldName:t,value:r})}}}))}),(0,i.jsxs)("div",{className:"formfield-container lower-container",children:[(0,i.jsx)("p",{className:"label-spacer"}),(0,i.jsxs)("div",{className:"lower-content",children:[(0,i.jsx)("div",{className:"field-tip",children:M}),(0,i.jsx)(p.Z,{status:j||n}),(0,i.jsx)("div",{className:"update-button-container",children:(0,i.jsx)(a.Z,{type:"primary",size:"small",className:"submit-button",onClick:I,disabled:!h,children:"Update"})})]})]})]})}E.defaultProps={configPath:"",initialValue:""}},48419:function(e,t,n){"use strict";n.d(t,{mG:function(){return ee},A8:function(){return J},Kx:function(){return Q},Sk:function(){return te},xA:function(){return ne},ZP:function(){return re}});var r=n(85893),o=n(67294),i=n(94184),a=n.n(i),c=n(87462),u=n(4942),s=n(97685),l=n(71002),f=n(91),d=n(15105),p=n(42550),v=n(15671),m=n(43144);function h(){return"function"===typeof BigInt}function g(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),i=o[0]||"0",a=o[1]||"0";"0"===i&&"0"===a&&(n=!1);var c=n?"-":"";return{negative:n,negativeStr:c,trimStr:r,integerStr:i,decimalStr:a,fullStr:"".concat(c).concat(r)}}function y(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function b(e){var t=String(e);if(y(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return(null===r||void 0===r?void 0:r[1])&&(n+=r[1].length),n}return t.includes(".")&&x(t)?t.length-t.indexOf(".")-1:0}function w(e){var t=String(e);if(y(e)){if(e>Number.MAX_SAFE_INTEGER)return String(h()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r0&&void 0!==arguments[0])||arguments[0];return e?this.isInvalidate()?"":w(this.number):this.origin}}]),e}(),C=function(){function e(t){if((0,v.Z)(this,e),this.origin="",this.negative=void 0,this.integer=void 0,this.decimal=void 0,this.decimalLen=void 0,this.empty=void 0,this.nan=void 0,(t||0===t)&&String(t).trim())if(this.origin=String(t),"-"!==t){var n=t;if(y(n)&&(n=Number(n)),x(n="string"===typeof n?n:w(n))){var r=g(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var i=o[1]||"0";this.decimal=BigInt(i),this.decimalLen=i.length}else this.nan=!0}else this.nan=!0;else this.empty=!0}return(0,m.Z)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){var t="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0"));return BigInt(t)}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);if(n.isInvalidate())return this;var r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),o=g((this.alignDecimal(r)+n.alignDecimal(r)).toString()),i=o.negativeStr,a=o.trimStr,c="".concat(i).concat(a.padStart(r+1,"0"));return new e("".concat(c.slice(0,-r),".").concat(c.slice(-r)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null===e||void 0===e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e?this.isInvalidate()?"":g("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function Z(e){return h()?new C(e):new E(e)}function k(e,t,n){if(""===e)return"";var r=g(e),o=r.negativeStr,i=r.integerStr,a=r.decimalStr,c="".concat(t).concat(a),u="".concat(o).concat(i);if(n>=0){var s=Number(a[n]);return s>=5?k(Z(e).add("".concat(o,"0.").concat("0".repeat(n)).concat(10-s)).toString(),t,n):0===n?u:"".concat(u).concat(t).concat(a.padEnd(n,"0").slice(0,n))}return".0"===c?u:"".concat(u).concat(c)}var N=n(31131);function S(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,i=e.upDisabled,s=e.downDisabled,l=e.onStep,f=o.useRef(),d=o.useRef();d.current=l;var p=function(e,t){e.preventDefault(),d.current(t),f.current=setTimeout((function e(){d.current(t),f.current=setTimeout(e,200)}),600)},v=function(){clearTimeout(f.current)};if(o.useEffect((function(){return v}),[]),(0,N.Z)())return null;var m="".concat(t,"-handler"),h=a()(m,"".concat(m,"-up"),(0,u.Z)({},"".concat(m,"-up-disabled"),i)),g=a()(m,"".concat(m,"-down"),(0,u.Z)({},"".concat(m,"-down-disabled"),s)),y={unselectable:"on",role:"button",onMouseUp:v,onMouseLeave:v};return o.createElement("div",{className:"".concat(m,"-wrap")},o.createElement("span",(0,c.Z)({},y,{onMouseDown:function(e){p(e,!0)},"aria-label":"Increase Value","aria-disabled":i,className:h}),n||o.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),o.createElement("span",(0,c.Z)({},y,{onMouseDown:function(e){p(e,!1)},"aria-label":"Decrease Value","aria-disabled":s,className:g}),r||o.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}var P=n(80334);var O=(0,n(98924).Z)()?o.useLayoutEffect:o.useEffect;function T(e,t){var n=o.useRef(!1);O((function(){if(n.current)return e();n.current=!0}),t)}var M=n(75164),j=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],A=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},R=function(e){var t=Z(e);return t.isInvalidate()?null:t},F=o.forwardRef((function(e,t){var n,r=e.prefixCls,i=void 0===r?"rc-input-number":r,v=e.className,m=e.style,h=e.min,g=e.max,y=e.step,E=void 0===y?1:y,C=e.defaultValue,N=e.value,O=e.disabled,F=e.readOnly,_=e.upHandler,I=e.downHandler,L=e.keyboard,D=e.controls,z=void 0===D||D,V=e.stringMode,H=e.parser,U=e.formatter,q=e.precision,B=e.decimalSeparator,W=e.onChange,$=e.onInput,K=e.onPressEnter,G=e.onStep,Y=(0,f.Z)(e,j),X="".concat(i,"-input"),Q=o.useRef(null),J=o.useState(!1),ee=(0,s.Z)(J,2),te=ee[0],ne=ee[1],re=o.useRef(!1),oe=o.useRef(!1),ie=o.useState((function(){return Z(null!==N&&void 0!==N?N:C)})),ae=(0,s.Z)(ie,2),ce=ae[0],ue=ae[1];var se=o.useCallback((function(e,t){if(!t)return q>=0?q:Math.max(b(e),b(E))}),[q,E]),le=o.useCallback((function(e){var t=String(e);if(H)return H(t);var n=t;return B&&(n=n.replace(B,".")),n.replace(/[^\w.-]+/g,"")}),[H,B]),fe=o.useRef(""),de=o.useCallback((function(e,t){if(U)return U(e,{userTyping:t,input:String(fe.current)});var n="number"===typeof e?w(e):e;if(!t){var r=se(n,t);if(x(n)&&(B||r>=0))n=k(n,B||".",r)}return n}),[U,se,B]),pe=o.useState((function(){var e=null!==C&&void 0!==C?C:N;return ce.isInvalidate()&&["string","number"].includes((0,l.Z)(e))?Number.isNaN(e)?"":e:de(ce.toString(),!1)})),ve=(0,s.Z)(pe,2),me=ve[0],he=ve[1];function ge(e,t){he(de(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}fe.current=me;var ye=o.useMemo((function(){return R(g)}),[g]),be=o.useMemo((function(){return R(h)}),[h]),we=o.useMemo((function(){return!(!ye||!ce||ce.isInvalidate())&&ye.lessEquals(ce)}),[ye,ce]),xe=o.useMemo((function(){return!(!be||!ce||ce.isInvalidate())&&ce.lessEquals(be)}),[be,ce]),Ee=function(e,t){var n=(0,o.useRef)(null);return[function(){try{var t=e.selectionStart,r=e.selectionEnd,o=e.value,i=o.substring(0,t),a=o.substring(r);n.current={start:t,end:r,value:o,beforeTxt:i,afterTxt:a}}catch(c){}},function(){if(e&&n.current&&t)try{var r=e.value,o=n.current,i=o.beforeTxt,a=o.afterTxt,c=o.start,u=r.length;if(r.endsWith(a))u=r.length-n.current.afterTxt.length;else if(r.startsWith(i))u=i.length;else{var s=i[c-1],l=r.indexOf(s,c-1);-1!==l&&(u=l+1)}e.setSelectionRange(u,u)}catch(f){(0,P.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(f.message))}}]}(Q.current,te),Ce=(0,s.Z)(Ee,2),Ze=Ce[0],ke=Ce[1],Ne=function(e){return ye&&!e.lessEquals(ye)?ye:be&&!be.lessEquals(e)?be:null},Se=function(e){return!Ne(e)},Pe=function(e,t){var n,r=e,o=Se(r)||r.isEmpty();if(r.isEmpty()||t||(r=Ne(r)||r,o=!0),!F&&!O&&o){var i=r.toString(),a=se(i,t);return a>=0&&(r=Z(k(i,".",a))),r.equals(ce)||(n=r,void 0===N&&ue(n),null===W||void 0===W||W(r.isEmpty()?null:A(V,r)),void 0===N&&ge(r,t)),r}return ce},Oe=function(){var e=(0,o.useRef)(0),t=function(){M.Z.cancel(e.current)};return(0,o.useEffect)((function(){return t}),[]),function(n){t(),e.current=(0,M.Z)((function(){n()}))}}(),Te=function e(t){if(Ze(),he(t),!oe.current){var n=Z(le(t));n.isNaN()||Pe(n,!0)}null===$||void 0===$||$(t),Oe((function(){var n=t;H||(n=t.replace(/\u3002/g,".")),n!==t&&e(n)}))},Me=function(e){var t;if(!(e&&we||!e&&xe)){re.current=!1;var n=Z(E);e||(n=n.negate());var r=(ce||Z(0)).add(n.toString()),o=Pe(r,!1);null===G||void 0===G||G(A(V,o),{offset:E,type:e?"up":"down"}),null===(t=Q.current)||void 0===t||t.focus()}},je=function(e){var t=Z(le(me)),n=t;n=t.isNaN()?ce:Pe(t,e),void 0!==N?ge(ce,!1):n.isNaN()||ge(n,!1)};return T((function(){ce.isInvalidate()||ge(ce,!1)}),[q]),T((function(){var e=Z(N);ue(e);var t=Z(le(me));e.equals(t)&&re.current&&!U||ge(e,re.current)}),[N]),T((function(){U&&ke()}),[me]),o.createElement("div",{className:a()(i,v,(n={},(0,u.Z)(n,"".concat(i,"-focused"),te),(0,u.Z)(n,"".concat(i,"-disabled"),O),(0,u.Z)(n,"".concat(i,"-readonly"),F),(0,u.Z)(n,"".concat(i,"-not-a-number"),ce.isNaN()),(0,u.Z)(n,"".concat(i,"-out-of-range"),!ce.isInvalidate()&&!Se(ce)),n)),style:m,onFocus:function(){ne(!0)},onBlur:function(){je(!1),ne(!1),re.current=!1},onKeyDown:function(e){var t=e.which;re.current=!0,t===d.Z.ENTER&&(oe.current||(re.current=!1),je(!1),null===K||void 0===K||K(e)),!1!==L&&!oe.current&&[d.Z.UP,d.Z.DOWN].includes(t)&&(Me(d.Z.UP===t),e.preventDefault())},onKeyUp:function(){re.current=!1},onCompositionStart:function(){oe.current=!0},onCompositionEnd:function(){oe.current=!1,Te(Q.current.value)}},z&&o.createElement(S,{prefixCls:i,upNode:_,downNode:I,upDisabled:we,downDisabled:xe,onStep:Me}),o.createElement("div",{className:"".concat(X,"-wrap")},o.createElement("input",(0,c.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":h,"aria-valuemax":g,"aria-valuenow":ce.isInvalidate()?null:ce.toString(),step:E},Y,{ref:(0,p.sQ)(Q,t),className:X,value:me,onChange:function(e){Te(e.target.value)},disabled:O,readOnly:F}))))}));F.displayName="InputNumber";var _=F,I=n(1413),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},D=n(42135),z=function(e,t){return o.createElement(D.Z,(0,I.Z)((0,I.Z)({},e),{},{ref:t,icon:L}))};z.displayName="UpOutlined";var V=o.forwardRef(z),H=n(80882),U=n(59844),q=n(97647),B=n(96159),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);oe.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;t&&n&&t(n)}))}),e);return u.set(n,t={id:n,observer:i,elements:o}),t}(n),o=r.id,i=r.observer,a=r.elements;return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),u.delete(o);var t=s.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));t>-1&&s.splice(t,1)}}}(e,(function(e){return e&&p(e)}),{root:m,rootMargin:n}))}),[r,m,n,d]);return i.useEffect((function(){if(!c&&!d){var e=a.requestIdleCallback((function(){return p(!0)}));return function(){return a.cancelIdleCallback(e)}}}),[d]),i.useEffect((function(){t&&h(t.current)}),[t]),[g,d]};var i=n(67294),a=n(9311),c="undefined"!==typeof IntersectionObserver;var u=new Map,s=[]},99651:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ee}});var r=n(85893),o=(n(55062),n(79016),n(71358),n(5801),n(74831),n(19958),n(97882),n(66599),n(12920),n(60291),n(42116),n(97741),n(36384),n(90887),n(32997),n(65715),n(17882),n(35159)),i=n(57553),a=n(34051),c=n.n(a),u=n(67294),s=n(45697),l=n.n(s),f=n(41664),d=n(9008),p=n(40364),v=n(11163),m=n(2897),h=n(7293),g=m.ZP;g.Header=m.h4,g.Footer=m.$_,g.Content=m.VY,g.Sider=h.Z;var y=g,b=n(61709),w=n(14670),x=n(84485),E=n(55241),C=n(26713),Z=n(56266),k=n(71577),N=n(1413),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"},P=n(42135),O=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:S}))};O.displayName="PlayCircleFilled";var T=u.forwardRef(O),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-square",theme:"filled"},j=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:M}))};j.displayName="MinusSquareFilled";var A=u.forwardRef(j),R={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},F=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:R}))};F.displayName="HomeOutlined";var _=u.forwardRef(F),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z"}}]},name:"line-chart",theme:"outlined"},L=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:I}))};L.displayName="LineChartOutlined";var D=u.forwardRef(L),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"},V=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:z}))};V.displayName="MessageOutlined";var H=u.forwardRef(V),U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},q=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:U}))};q.displayName="SettingOutlined";var B=u.forwardRef(q),W={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"},$=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:W}))};$.displayName="ToolOutlined";var K=u.forwardRef($),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z"}}]},name:"experiment",theme:"outlined"},Y=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:G}))};Y.displayName="ExperimentOutlined";var X=u.forwardRef(Y),Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},J=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:Q}))};J.displayName="QuestionCircleOutlined";var ee=u.forwardRef(J),te=n(86548),ne=n(94184),re=n.n(ne),oe=n(58827),ie=n(2766),ae=n(92659),ce=n(50197),ue=n(25964),se=n(69677),le=n(52455),fe=n(83192);function de(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function pe(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){de(i,r,o,a,c,"next",e)}function c(e){de(i,r,o,a,c,"throw",e)}a(void 0)}))}}var ve=se.Z.TextArea;function me(e){var t=e.visible,n=e.handleClose,o=function(){d(!1),m(null),n()},i=(0,u.useState)(""),a=i[0],s=i[1],l=(0,u.useState)(!1),f=l[0],d=l[1],p=(0,u.useState)(null),v=p[0],m=p[1];function h(){return(h=pe(c().mark((function e(){var t;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d(!0),t={value:a},e.prev=2,e.next=5,(0,oe.rQ)(oe.e_,{data:t,method:"POST",auth:!0});case 5:m(fe.zv),setTimeout(o,1e3),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),console.error(e.t0),m(fe.Un);case 13:d(!1);case 14:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}return(0,r.jsx)(le.Z,{destroyOnClose:!0,width:600,title:"Post to Followers",visible:t,onCancel:n,footer:[(0,r.jsx)(k.Z,{onClick:function(){return n()},children:"Cancel"}),(0,r.jsx)(k.Z,{type:"primary",onClick:function(){return h.apply(this,arguments)},disabled:f||v,loading:f,children:(null===v||void 0===v?void 0:v.toUpperCase())||"Post"})],children:(0,r.jsx)(C.Z,{id:"fediverse-post-container",direction:"vertical",children:(0,r.jsx)(ve,{placeholder:"Tell the world about your streaming plans...",size:"large",showCount:!0,maxLength:500,style:{height:"150px"},onChange:function(e){s(e.target.value)}})})})}function he(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ye(e){for(var t=1;ta}return!0}return e>=t}function ee(e){return te.apply(this,arguments)}function te(){return(te=c(o().mark((function e(t){var n,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Y();case 2:if(n=e.sent,"v"===(r=n.tag_name).substr(0,1)&&(r=r.substr(1)),J(t,r)){e.next=7;break}return e.abrupt("return",r);case 7:return e.abrupt("return",null);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},25964:function(e,t,n){"use strict";n.d(t,{sI:function(){return f},AA:function(){return d},d$:function(){return p},$w:function(){return h},c9:function(){return g},sv:function(){return y},vv:function(){return b},AP:function(){return w},CJ:function(){return x},cf:function(){return E},os:function(){return C},CQ:function(){return Z},pE:function(){return k},Si:function(){return N},RE:function(){return M},$t:function(){return j},rs:function(){return A},IX:function(){return R},ZQ:function(){return F},Ri:function(){return _},KB:function(){return I},rE:function(){return L},lT:function(){return D},cj:function(){return z},ME:function(){return V},y_:function(){return H},EY:function(){return U},P:function(){return q},gX:function(){return B},yj:function(){return W},kB:function(){return $},dj:function(){return K},Dg:function(){return G},AN:function(){return Y},Kl:function(){return X},LC:function(){return Q},FE:function(){return J},BF:function(){return ee},Xc:function(){return te},yi:function(){return ne},B_:function(){return re},dR:function(){return oe},dL:function(){return ie},nm:function(){return ae},Xq:function(){return ce},x8:function(){return ue},yC:function(){return se},SS:function(){return le},HM:function(){return fe},t$:function(){return de},I$:function(){return pe},i3:function(){return ve},wC:function(){return me},z_:function(){return he},zm:function(){return ge},oy:function(){return ye},mv:function(){return be},$Z:function(){return we}});var r=n(34051),o=n.n(r),i=n(58827),a=n(48419),c=n(19411);function u(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,c,"next",e)}function c(e){u(i,r,o,a,c,"throw",e)}a(void 0)}))}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=3e3,d="/pagecontent",p="/customstyles",v="/serverurl",m="/nsfw",h="/s3",g="/socialhandles",y="/video/streamlatencylevel",b="/video/streamoutputvariants",w="/directoryenabled",x="/chat/forbiddenusernames",E="/chat/suggestedusernames",C="/externalactions",Z="/video/codec",k="/federation/blockdomains";function N(e){return S.apply(this,arguments)}function S(){return(S=s(o().mark((function e(t){var n,r,a,c,u;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.apiPath,r=t.data,a=t.onSuccess,c=t.onError,e.next=3,(0,i.rQ)("".concat(i.ao).concat(n),{data:r,method:"POST",auth:!0});case 3:(u=e.sent).success&&a?a(u.message):c&&c(u.message);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var P,O,T,M={apiPath:"/name",configPath:"instanceDetails",maxLength:255,placeholder:"Owncast site name",label:"Name",tip:"The name of your Owncast server",required:!0,useTrimLead:!0},j={apiPath:"/streamtitle",configPath:"instanceDetails",maxLength:100,placeholder:"Doing cool things...",label:"Stream Title",tip:"What is your stream about today?"},A={apiPath:"/serversummary",configPath:"instanceDetails",maxLength:500,placeholder:"",label:"About",tip:"A brief blurb about you, your server, or what your stream is about."},R={apiPath:"/welcomemessage",configPath:"instanceDetails",maxLength:2500,placeholder:"",label:"Welcome Message",tip:"A system chat message sent to viewers when they first connect to chat. Leave blank to disable."},F={apiPath:"/logo",configPath:"instanceDetails",maxLength:255,placeholder:"/img/mylogo.png",label:"Logo",tip:"Upload your logo if you have one. We recommend that you use a square image that is at least 256x256. SVGs are discouraged as they cannot be displayed on all social media platforms."},_={apiPath:"/key",configPath:"",maxLength:255,placeholder:"abc123",label:"Stream Key",tip:"Save this key somewhere safe, you will need it to stream or login to the admin dashboard!",required:!0},I={apiPath:"/ffmpegpath",configPath:"",maxLength:255,placeholder:"/usr/local/bin/ffmpeg",label:"FFmpeg Path",tip:"Absolute file path of the FFMPEG application on your server",required:!0},L={apiPath:"/webserverport",configPath:"",maxLength:6,placeholder:"8080",label:"Owncast port",tip:"What port is your Owncast web server listening? Default is 8080",required:!0},D={apiPath:"/rtmpserverport",configPath:"",maxLength:6,placeholder:"1935",label:"RTMP port",tip:"What port should accept inbound broadcasts? Default is 1935",required:!0},z={apiPath:v,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server.",type:a.xA,pattern:c.a,useTrim:!0},V={apiPath:"/sockethostoverride",configPath:"",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Websocket host override",tip:"The direct URL of your Owncast server.",type:a.xA,pattern:c.a,useTrim:!0},H={apiPath:"/tags",configPath:"instanceDetails",maxLength:24,placeholder:"Add a new tag",required:!0,label:"",tip:""},U={apiPath:m,configPath:"instanceDetails",label:"NSFW?",tip:"Turn this ON if you plan to steam explicit or adult content. Please respectfully set this flag so unexpected eyes won't accidentally see it in the Directory."},q={apiPath:w,configPath:"yp",label:"Enable directory",tip:"Turn this ON to request to show up in the directory."},B={framerate:24,videoPassthrough:!1,videoBitrate:800,audioPassthrough:!0,audioBitrate:0,cpuUsageLevel:3,scaledHeight:null,scaledWidth:null,name:""},W={apiPath:"/chat/disable",configPath:"",label:"Chat",tip:"Turn the chat functionality on/off on your Owncast server.",useSubmit:!0},$={apiPath:"/chat/joinmessagesenabled",configPath:"",label:"Join Messages",tip:"Show when a viewer joins the chat.",useSubmit:!0},K={apiPath:"/chat/establishedusermode",configPath:"",label:"Established users only",tip:"Only users who have previously been established for some time may chat.",useSubmit:!0},G={apiPath:x,placeholder:"username",label:"Forbidden usernames",tip:"A list of words in chat usernames you disallow."},Y={apiPath:E,placeholder:"username",label:"Default usernames",tip:"An optional list of chat usernames that new users get assigned. If the list holds less then 10 items, random names will be generated. Users can change their usernames afterwards and the same username may be given out multple times.",min_not_reached:"At least 10 items are required for this feature.",no_entries:"The default name generator is used."},X={apiPath:"/federation/enable",configPath:"federation",label:"Enable Social Features",tip:"Send and receive activities on the Fediverse.",useSubmit:!0},Q={apiPath:"/federation/private",configPath:"federation",label:"Private",tip:"Follow requests will require approval and only followers will see your activity.",useSubmit:!0},J={apiPath:"/federation/showengagement",configPath:"showEngagement",label:"Show engagement",tip:"Following, liking and sharing will appear in the chat feed.",useSubmit:!0},ee={apiPath:"/federation/livemessage",configPath:"federation",maxLength:500,placeholder:"My stream has started, tune in!",label:"Now Live message",tip:"The message sent announcing that your live stream has begun. Tags will be automatically added. Leave blank to disable."},te={apiPath:"/federation/username",configPath:"federation",maxLength:10,placeholder:"owncast",default:"owncast",label:"Username",tip:'The username used for sending and receiving activities from the Fediverse. For example, if you use "bob" as a username you would send messages to the fediverse from @bob@yourserver. Once people start following your instance you should not change this.'},ne={apiPath:v,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.",type:a.xA,pattern:c.a,useTrim:!0},re={apiPath:m,configPath:"instanceDetails",label:"Potentially NSFW",tip:"Turn this ON if you plan to steam explicit or adult content so previews of your stream can be marked as potentially sensitive."},oe={apiPath:k,configPath:"federation",label:"Blocked domains",placeholder:"bad.domain.biz",tip:"You can block specific domains from interacting with you."},ie={audioBitrate:{min:600,max:1200,defaultValue:800,unit:"kbps",incrementBy:100,tip:"nothing to see here"},videoPassthrough:{tip:"If enabled, all other settings will be disabled. Otherwise configure as desired."},audioPassthrough:{tip:"If No is selected, then you should set your desired Audio Bitrate."},scaledWidth:{fieldName:"scaledWidth",label:"Resized Width",maxLength:4,placeholder:"1080",tip:"Optionally resize this content's width."},scaledHeight:{fieldName:"scaledHeight",label:"Resized Height",maxLength:4,placeholder:"720",tip:"Optionally resize this content's height."}},ae={min:24,max:120,defaultValue:24,unit:"fps",incrementBy:null,tip:"Reducing your framerate will decrease the amount of video that needs to be encoded and sent to your viewers, saving CPU and bandwidth at the expense of smoothness. A lower value is generally is fine for most content."},ce=(l(P={},ae.min,"".concat(ae.min," ").concat(ae.unit)),l(P,25,""),l(P,30,""),l(P,50,""),l(P,60,""),l(P,90,""),l(P,ae.max,"".concat(ae.max," ").concat(ae.unit)),P),ue=(l(O={},ae.min,"".concat(ae.min,"fps - Good for film, presentations, music, low power/bandwidth servers.")),l(O,25,"25fps - Good for film, presentations, music, low power/bandwidth servers."),l(O,30,"30fps - Good for slow/casual games, chat, general purpose."),l(O,50,"50fps - Good for fast/action games, sports, HD video."),l(O,60,"60fps - Good for fast/action games, sports, HD video."),l(O,90,"90fps - Good for newer fast games and hardware."),l(O,ae.max,"".concat(ae.max,"fps - Experimental, use at your own risk!")),O),se={min:400,max:6e3,defaultValue:1200,unit:"kbps",incrementBy:100,tip:"The overall quality of your stream is generally impacted most by bitrate."},le={fieldName:"name",label:"Name",maxLength:15,placeholder:"HD or Low",tip:"Human-readable name for for displaying in the player."},fe=(l(T={},se.min,"".concat(se.min," ").concat(se.unit)),l(T,3e3,3e3),l(T,4500,4500),l(T,se.max,"".concat(se.max," ").concat(se.unit)),T),de={1:"lowest",2:"",3:"",4:"",5:"highest"},pe={1:"Lowest hardware usage - lowest quality video",2:"Low hardware usage - low quality video",3:"Medium hardware usage - average quality video",4:"High hardware usage - high quality video",5:"Highest hardware usage - higher quality video"},ve={VIDEO_HEIGHT:1080,VIDEO_BITRATE:3e3,HELP_TEXT:"You have only set one video quality variant. If your server has the computing resources, consider adding another, lower-quality variant, so more people can view your content!"},me={url:"",platform:""},he="OTHER_SOCIAL_HANDLE_OPTION",ge={accessKey:{fieldName:"accessKey",label:"Access Key",maxLength:255,placeholder:"access key 123",tip:""},acl:{fieldName:"acl",label:"ACL",maxLength:255,placeholder:"",tip:"Optional specific access control value to add to your content. Generally not required."},bucket:{fieldName:"bucket",label:"Bucket",maxLength:255,placeholder:"bucket 123",tip:"Create a new bucket for each Owncast instance you may be running."},endpoint:{fieldName:"endpoint",label:"Endpoint",maxLength:255,placeholder:"https://your.s3.provider.endpoint.com",tip:'The full URL (with "https://") endpoint from your storage provider.',useTrim:!0,type:a.xA,pattern:c.a},region:{fieldName:"region",label:"Region",maxLength:255,placeholder:"region 123",tip:""},secret:{fieldName:"secret",label:"Secret key",maxLength:255,placeholder:"your secret key",tip:""},servingEndpoint:{fieldName:"servingEndpoint",label:"Serving Endpoint",maxLength:255,placeholder:"http://cdn.ss3.provider.endpoint.com",tip:"Optional URL that content should be accessed from instead of the default. Used with CDNs and specific storage providers. Generally not required.",type:a.xA,pattern:c.a,useTrim:!0},forcePathStyle:{fieldName:"forcePathStyle",label:"Force path-style",tip:"If your S3 provider doesn't support virtual-hosted-style URLs set this to ON (i.e. Oracle Cloud Object Storage)"}},ye={webhookUrl:{fieldName:"webhook",label:"Webhook URL",maxLength:255,placeholder:"https://discord.com/api/webhooks/837/jf38-6iNEv",tip:"The webhook assigned to your channel.",type:a.xA,pattern:c.a,useTrim:!0},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:300,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},be={goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},we={apiKey:{fieldName:"apiKey",label:"API Key",maxLength:200,tip:"",placeholder:"gaUQhRC2lqfrEFfElBXJgOctU"},apiSecret:{fieldName:"apiSecret",label:"API Secret",maxLength:200,tip:"",placeholder:"IIz4jFZMWbUKdFOEGUprFjRwIslG56d1SPQlolJYjXwJ2y2qKS"},accessToken:{fieldName:"accessToken",label:"Access Token",maxLength:200,tip:"",placeholder:"952540400-EEiwe9fkuSvWjnNC82YFa9kgpqbyAP3J7FjE2dkka"},accessTokenSecret:{fieldName:"accessTokenSecret",label:"Access Token Secret",maxLength:200,tip:"",placeholder:"xO0AZWNGfZxpNsYPg3zNEKhAsPPGvNZFlzQArA2khI9Kg"},bearerToken:{fieldName:"bearerToken",label:"Bearer Token",maxLength:200,tip:"",placeholder:"AAAAAAAAAAAAAAFqpXwEAAnnepHkjA8XD5ftx5jUadYIRtPtaq7AAAAwpXPpDWKDcdhiWr0tVDjsgW%2B4awGOM9VQ%3XPoMFuWcHsE42TK"},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}}},2766:function(e,t,n){"use strict";n.d(t,{t5:function(){return i},Qr:function(){return a},wS:function(){return u},AB:function(){return s}});var r=n(42238),o=n.n(r);function i(e){var t=e.split(":");t[t.length-1]="";var n=t.join(":");return"[::1]"===(n=n.slice(0,n.length-1))||"127.0.0.1"===n?"Localhost":n}function a(e){return!e||0===Object.keys(e).length&&e.constructor===Object}function c(e,t,n){return String(t.repeat(n)+e).slice(-n)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=Number.isFinite(+e)?Math.abs(e):0,n=Math.floor(t/86400),r=n>0?"".concat(n," day").concat(n>1?"s":""," "):"",o=Math.floor(t/3600%24),i=o||n?c("".concat(o,":"),"0",3):"",a=Math.floor(t/60%60),u=c("".concat(a,":"),"0",3),s=Math.floor(t%60),l=c("".concat(s),"0",2);return r+i+u+l}function s(e){var t=o()(e),n=t.device,r=t.os,i=t.browser,a=i.major,c=i.name,u=r.version,s=r.name,l=n.model,f=n.type;if("libmpv"===e)return"mpv media player";if(!c||!a||!s)return e;var d=l||f?" (".concat(l||f,")"):"";return"".concat(c," ").concat(a," on ").concat(s," ").concat(u,"\n ").concat(d)}},83192:function(e,t,n){"use strict";n.d(t,{Un:function(){return l},Jk:function(){return d},zv:function(){return p},dG:function(){return v},kg:function(){return h}});var r=n(85893),o=n(89739),i=n(21640),a=n(50888),c=n(28058);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,l="error",f="invalid",d="proessing",p="success",v="warning",m=(u(s={},p,{type:p,icon:(0,r.jsx)(o.Z,{style:{color:"green"}}),message:"Success!"}),u(s,l,{type:l,icon:(0,r.jsx)(i.Z,{style:{color:"red"}}),message:"An error occurred."}),u(s,f,{type:f,icon:(0,r.jsx)(i.Z,{style:{color:"red"}}),message:"An error occurred."}),u(s,d,{type:d,icon:(0,r.jsx)(a.Z,{}),message:""}),u(s,v,{type:v,icon:(0,r.jsx)(c.Z,{style:{color:"#fc0"}}),message:""}),s);function h(e,t){return e&&m[e]?t?{type:e,icon:m[e].icon,message:t}:m[e]:null}},35159:function(e,t,n){"use strict";n.d(t,{aC:function(){return h}});var r=n(34051),o=n.n(r),i=n(85893),a=n(67294),c=n(45697),u=n.n(c),s=n(58827);function l(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){l(i,r,o,a,c,"next",e)}function c(e){l(i,r,o,a,c,"throw",e)}a(void 0)}))}}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){for(var t=1;t1)for(var n=1;n1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}}));return a}return e}function A(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!==typeof e||e))}function R(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var c=r;r+=1,c()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},V={integer:function(e){return V.number(e)&&parseInt(e,10)===e},float:function(e){return V.number(e)&&!V.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===typeof e&&!V.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&e.length<=320&&!!e.match(z.email)},url:function(e){return"string"===typeof e&&e.length<=2048&&!!e.match(z.url)},hex:function(e){return"string"===typeof e&&!!e.match(z.hex)}},H={required:D,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(j(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t)D(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?V[i](t)||r.push(j(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(j(o.messages.types[i],e.fullField,e.type))}},range:function(e,t,n,r,o){var i="number"===typeof e.len,a="number"===typeof e.min,c="number"===typeof e.max,u=t,s=null,l="number"===typeof t,f="string"===typeof t,d=Array.isArray(t);if(l?s="number":f?s="string":d&&(s="array"),!s)return!1;d&&(u=t.length),f&&(u=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?u!==e.len&&r.push(j(o.messages[s].len,e.fullField,e.len)):a&&!c&&ue.max?r.push(j(o.messages[s].max,e.fullField,e.max)):a&&c&&(ue.max)&&r.push(j(o.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&r.push(j(o.messages.enum,e.fullField,e.enum.join(", ")))},pattern:function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(j(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(j(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},U=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,i)&&!e.required)return n();H.required(e,t,r,a,o,i),A(t,i)||H.type(e,t,r,a,o)}n(a)},q={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,"string")&&!e.required)return n();H.required(e,t,r,i,o,"string"),A(t,"string")||(H.type(e,t,r,i,o),H.range(e,t,r,i,o),H.pattern(e,t,r,i,o),!0===e.whitespace&&H.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&H.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&(H.type(e,t,r,i,o),H.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&H.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),A(t)||H.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&(H.type(e,t,r,i,o),H.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&(H.type(e,t,r,i,o),H.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((void 0===t||null===t)&&!e.required)return n();H.required(e,t,r,i,o,"array"),void 0!==t&&null!==t&&(H.type(e,t,r,i,o),H.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&H.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&H.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,"string")&&!e.required)return n();H.required(e,t,r,i,o),A(t,"string")||H.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,"date")&&!e.required)return n();var a;if(H.required(e,t,r,i,o),!A(t,"date"))a=t instanceof Date?t:new Date(t),H.type(e,a,r,i,o),a&&H.range(e,a.getTime(),r,i,o)}n(i)},url:U,hex:U,email:U,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;H.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o)}n(i)}};function B(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var W=B(),$=function(){function e(e){this.rules=null,this._messages=W,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=L(B(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var i=t,a=n,c=r;if("function"===typeof a&&(c=a,a={}),!this.rules||0===Object.keys(this.rules).length)return c&&c(null,i),Promise.resolve(i);if(a.messages){var u=this.messages();u===W&&(u=B()),L(u,a.messages),a.messages=u}else a.messages=this.messages();var s={};(a.keys||Object.keys(this.rules)).forEach((function(e){var n=o.rules[e],r=i[e];n.forEach((function(n){var a=n;"function"===typeof a.transform&&(i===t&&(i=Z({},i)),r=i[e]=a.transform(r)),(a="function"===typeof a?{validator:a}:Z({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),s[e]=s[e]||[],s[e].push({rule:a,value:r,source:i,field:e}))}))}));var l={};return _(s,a,(function(t,n){var r,o=t.rule,c=("object"===o.type||"array"===o.type)&&("object"===typeof o.fields||"object"===typeof o.defaultField);function u(e,t){return Z({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function s(r){void 0===r&&(r=[]);var s=Array.isArray(r)?r:[r];!a.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==o.message&&(s=[].concat(o.message));var f=s.map(I(o,i));if(a.first&&f.length)return l[o.field]=1,n(f);if(c){if(o.required&&!t.value)return void 0!==o.message?f=[].concat(o.message).map(I(o,i)):a.error&&(f=[a.error(o,j(a.messages.required,o.field))]),n(f);var d={};o.defaultField&&Object.keys(t.value).map((function(e){d[e]=o.defaultField})),d=Z({},d,t.rule.fields);var p={};Object.keys(d).forEach((function(e){var t=d[e],n=Array.isArray(t)?t:[t];p[e]=n.map(u.bind(null,e))}));var v=new e(p);v.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),v.validate(t.value,t.rule.options||a,(function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(f)}if(c=c&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,s,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,s,t.source,a)}catch(f){null==console.error||console.error(f),setTimeout((function(){throw f}),0),s(f.message)}!0===r?s():!1===r?s("function"===typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?s(r):r instanceof Error&&s(r.message)}r&&r.then&&r.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){!function(e){var t=[],n={};function r(e){var n;Array.isArray(e)?t=(n=t).concat.apply(n,e):t.push(e)}for(var o=0;o3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!X(e,t.slice(0,-1))?e:J(e,t,n,r)}function te(e){return b(e)}function ne(e,t){return X(e,t)}function re(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=ee(e,t,n,r);return o}function oe(e,t){var n={};return t.forEach((function(t){var r=ne(e,t);n=re(n,t,r)})),n}function ie(e,t){return e&&e.some((function(e){return se(e,t)}))}function ae(e){return"object"===(0,Y.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function ce(e,t){var n=Array.isArray(e)?(0,u.Z)(e):(0,c.Z)({},e);return t?(Object.keys(t).forEach((function(e){var r=n[e],o=t[e],i=ae(r)&&ae(o);n[e]=i?ce(r,o||{}):o})),n):n}function ue(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,u.Z)(e.slice(0,n)),[o],(0,u.Z)(e.slice(n,t)),(0,u.Z)(e.slice(t+1,r))):i<0?[].concat((0,u.Z)(e.slice(0,t)),(0,u.Z)(e.slice(t+1,n+1)),[o],(0,u.Z)(e.slice(n+1,r))):e}var de=$;function pe(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}function ve(e,t,n,r,o){return me.apply(this,arguments)}function me(){return me=(0,E.Z)(x().mark((function e(t,n,o,i,s){var l,f,d,p,v,m,h,g;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(l=(0,c.Z)({},o)).ruleIndex,f=null,l&&"array"===l.type&&l.defaultField&&(f=l.defaultField,delete l.defaultField),d=new de((0,a.Z)({},t,[l])),p=ue({},G,i.validateMessages),d.messages(p),v=[],e.prev=8,e.next=11,Promise.resolve(d.validate((0,a.Z)({},t,n),(0,c.Z)({},i)));case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(8),e.t0.errors?v=e.t0.errors.map((function(e,t){var n=e.message;return r.isValidElement(n)?r.cloneElement(n,{key:"error_".concat(t)}):n})):(console.error(e.t0),v=[p.default]);case 16:if(v.length||!f){e.next=21;break}return e.next=19,Promise.all(n.map((function(e,n){return ve("".concat(t,".").concat(n),e,f,i,s)})));case 19:return m=e.sent,e.abrupt("return",m.reduce((function(e,t){return[].concat((0,u.Z)(e),(0,u.Z)(t))}),[]));case 21:return h=(0,c.Z)((0,c.Z)({},o),{},{name:t,enum:(o.enum||[]).join(", ")},s),g=v.map((function(e){return"string"===typeof e?pe(e,h):e})),e.abrupt("return",g);case 24:case"end":return e.stop()}}),e,null,[[8,13]])}))),me.apply(this,arguments)}function he(e,t,n,r,o,i){var a,u=e.join("."),s=n.map((function(e,t){var n=e.validator,r=(0,c.Z)((0,c.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,(function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:we;if(o.validatePromise===r){o.validatePromise=null;var t=[],n=[];e.forEach((function(e){var r=e.rule.warningOnly,o=e.errors,i=void 0===o?we:o;r?n.push.apply(n,(0,u.Z)(i)):t.push.apply(t,(0,u.Z)(i))})),o.errors=t,o.warnings=n,o.triggerMetaEvent(),o.reRender()}})),d}));return o.validatePromise=r,o.dirty=!0,o.errors=we,o.warnings=we,o.triggerMetaEvent(),o.reRender(),r},o.isFieldValidating=function(){return!!o.validatePromise},o.isFieldTouched=function(){return o.touched},o.isFieldDirty=function(){return!(!o.dirty&&void 0===o.props.initialValue)||void 0!==(0,o.props.fieldContext.getInternalHooks(h).getInitialValue)(o.getNamePath())},o.getErrors=function(){return o.errors},o.getWarnings=function(){return o.warnings},o.isListField=function(){return o.props.isListField},o.isList=function(){return o.props.isList},o.isPreserve=function(){return o.props.preserve},o.getMeta=function(){return o.prevValidating=o.isFieldValidating(),{touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath()}},o.getOnlyChild=function(e){if("function"===typeof e){var t=o.getMeta();return(0,c.Z)((0,c.Z)({},o.getOnlyChild(e(o.getControlled(),t,o.props.fieldContext))),{},{isFunction:!0})}var n=(0,v.Z)(e);return 1===n.length&&r.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},o.getValue=function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return ne(e||t(!0),n)},o.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.trigger,r=t.validateTrigger,i=t.getValueFromEvent,u=t.normalize,s=t.valuePropName,l=t.getValueProps,f=t.fieldContext,d=void 0!==r?r:f.validateTrigger,p=o.getNamePath(),v=f.getInternalHooks,m=f.getFieldsValue,g=v(h),y=g.dispatch,w=o.getValue(),x=l||function(e){return(0,a.Z)({},s,e)},E=e[n],C=(0,c.Z)((0,c.Z)({},e),x(w));C[n]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r=0&&t<=n.length?(l.keys=[].concat((0,u.Z)(l.keys.slice(0,t)),[l.id],(0,u.Z)(l.keys.slice(t))),i([].concat((0,u.Z)(n.slice(0,t)),[e],(0,u.Z)(n.slice(t))))):(l.keys=[].concat((0,u.Z)(l.keys),[l.id]),i([].concat((0,u.Z)(n),[e]))),l.id+=1},remove:function(e){var t=c(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(l.keys=l.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=c();e<0||e>=n.length||t<0||t>=n.length||(l.keys=fe(l.keys,e,t),i(fe(n,e,t)))}}},p=r||[];return Array.isArray(p)||(p=[]),o(p.map((function(e,t){var n=l.keys[t];return void 0===n&&(l.keys[t]=l.id,n=l.keys[t],l.id+=1),{name:t,key:n,isListField:!0}})),d,t)}))))},Ne=n(97685);var Se="__@field_split__";function Pe(e){return e.map((function(e){return"".concat((0,Y.Z)(e),":").concat(e)})).join(Se)}var Oe=function(){function e(){(0,s.Z)(this,e),this.kvs=new Map}return(0,l.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(Pe(e),t)}},{key:"get",value:function(e){return this.kvs.get(Pe(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(Pe(e))}},{key:"map",value:function(e){return(0,u.Z)(this.kvs.entries()).map((function(t){var n=(0,Ne.Z)(t,2),r=n[0],o=n[1],i=r.split(Se);return e({key:i.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,Ne.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o})),value:o})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}(),Te=Oe,Me=["name","errors"],je=(0,l.Z)((function e(t){var n=this;(0,s.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===h?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue}):((0,m.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.setInitialValues=function(e,t){n.initialValues=e||{},t&&(n.store=ue({},e,n.store))},this.getInitialValue=function(e){return ne(n.initialValues,e)},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.timeoutId=null,this.warningUnhooked=function(){0},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new Te;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=te(e);return t.get(n)||{INVALIDATE_NAME_PATH:te(e)}}))},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),o=[];return r.forEach((function(n){var r,i="INVALIDATE_NAME_PATH"in n?n.INVALIDATE_NAME_PATH:n.getNamePath();if(e||!(null===(r=n.isListField)||void 0===r?void 0:r.call(n)))if(t){var a="getMeta"in n?n.getMeta():null;t(a)&&o.push(i)}else o.push(i)})),oe(n.store,o.map(te))},this.getFieldValue=function(e){n.warningUnhooked();var t=te(e);return ne(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:te(e[n]),errors:[],warnings:[]}}))},this.getFieldError=function(e){n.warningUnhooked();var t=te(e);return n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){n.warningUnhooked();var t=te(e);return n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new Te,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o,i=function(r){r.forEach((function(r){if(void 0!==r.props.initialValue){var o=r.getNamePath();if(void 0!==n.getInitialValue(o))(0,m.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)(0,m.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);e.skipExist&&void 0!==a||(n.store=re(n.store,o,(0,u.Z)(i)[0].value))}}}}))};e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,(0,u.Z)((0,u.Z)(r).map((function(e){return e.entity}))))}))):o=r,i(o)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e)return n.store=ue({},n.initialValues),n.resetWithFieldInitialValue(),void n.notifyObservers(t,null,{type:"reset"});var r=e.map(te);r.forEach((function(e){var t=n.getInitialValue(e);n.store=re(n.store,e,t)})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"})},this.setFields=function(e){n.warningUnhooked();var t=n.store;e.forEach((function(e){var r=e.name,o=(e.errors,(0,i.Z)(e,Me)),a=te(r);"value"in o&&(n.store=re(n.store,a,o.value)),n.notifyObservers(t,[a],{type:"setField",data:e})}))},this.getFields=function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,c.Z)((0,c.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o}))},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===ne(n.store,r)&&(n.store=re(n.store,r,t))}},this.registerField=function(e){if(n.fieldEntities.push(e),void 0!==e.props.initialValue){var t=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(t,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e}));var i=void 0!==r?r:n.preserve;if(!1===i&&(!t||o.length>1)){var a=e.getNamePath(),c=t?void 0:ne(n.initialValues,a);if(a.length&&n.getFieldValue(a)!==c&&n.fieldEntities.every((function(e){return!se(e.getNamePath(),a)}))){var u=n.store;n.store=re(u,a,c,!0),n.notifyObservers(u,[a],{type:"remove"}),n.triggerDependenciesUpdate(u,a)}}}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=(0,c.Z)((0,c.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,u.Z)(r))}),r},this.updateValue=function(e,t){var r=te(e),o=n.store;n.store=re(n.store,r,t),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"});var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(oe(n.store,[r]),n.getFieldsValue());n.triggerOnFieldsChange([r].concat((0,u.Z)(i)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;e&&(n.store=ue(n.store,e)),n.notifyObservers(t,null,{type:"valueUpdate",source:"external"})},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new Te;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=te(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new Te;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}r(o.filter((function(t){var n=t.name;return ie(e,n)})),o)}},this.validateFields=function(e,t){n.warningUnhooked();var r=!!e,o=r?e.map(te):[],i=[];n.getFieldEntities(!0).forEach((function(a){if(r||o.push(a.getNamePath()),(null===t||void 0===t?void 0:t.recursive)&&r){var s=a.getNamePath();s.every((function(t,n){return e[n]===t||void 0===e[n]}))&&o.push(s)}if(a.props.rules&&a.props.rules.length){var l=a.getNamePath();if(!r||ie(o,l)){var f=a.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},G),n.validateMessages)},t));i.push(f.then((function(){return{name:l,errors:[],warnings:[]}})).catch((function(e){var t=[],n=[];return e.forEach((function(e){var r=e.rule.warningOnly,o=e.errors;r?n.push.apply(n,(0,u.Z)(o)):t.push.apply(t,(0,u.Z)(o))})),t.length?Promise.reject({name:l,errors:t,warnings:n}):{name:l,errors:t,warnings:n}})))}}}));var a=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(i);n.lastValidatePromise=a,a.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var s=a.then((function(){return n.lastValidatePromise===a?Promise.resolve(n.getFieldsValue(o)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(o),errorFields:t,outOfDate:n.lastValidatePromise!==a})}));return s.catch((function(e){return e})),s},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t}));var Ae=function(e){var t=r.useRef(),n=r.useState({}),o=(0,Ne.Z)(n,2)[1];if(!t.current)if(e)t.current=e;else{var i=new je((function(){o({})}));t.current=i.getForm()}return[t.current]},Re=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Fe=function(e){var t=e.validateMessages,n=e.onFormChange,o=e.onFormFinish,i=e.children,u=r.useContext(Re),s=r.useRef({});return r.createElement(Re.Provider,{value:(0,c.Z)((0,c.Z)({},u),{},{validateMessages:(0,c.Z)((0,c.Z)({},u.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),u.triggerFormChange(e,t)},triggerFormFinish:function(e,t){o&&o(e,{values:t,forms:s.current}),u.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=(0,c.Z)((0,c.Z)({},s.current),{},(0,a.Z)({},e,t))),u.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.Z)({},s.current);delete t[e],s.current=t,u.unregisterForm(e)}})},i)},_e=Re,Ie=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Le=function(e,t){var n=e.name,a=e.initialValues,s=e.fields,l=e.form,f=e.preserve,d=e.children,p=e.component,v=void 0===p?"form":p,m=e.validateMessages,g=e.validateTrigger,b=void 0===g?"onChange":g,w=e.onValuesChange,x=e.onFieldsChange,E=e.onFinish,C=e.onFinishFailed,Z=(0,i.Z)(e,Ie),k=r.useContext(_e),N=Ae(l),S=(0,Ne.Z)(N,1)[0],P=S.getInternalHooks(h),O=P.useSubscribe,T=P.setInitialValues,M=P.setCallbacks,j=P.setValidateMessages,A=P.setPreserve;r.useImperativeHandle(t,(function(){return S})),r.useEffect((function(){return k.registerForm(n,S),function(){k.unregisterForm(n)}}),[k,S,n]),j((0,c.Z)((0,c.Z)({},k.validateMessages),m)),M({onValuesChange:w,onFieldsChange:function(e){if(k.triggerFormChange(n,e),x){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:1,n=L+=1;function r(t){if(0===t)z(n),e();else{var o=_((function(){r(t-1)}));D.set(n,o)}}return r(t),n}V.cancel=function(e){var t=D.get(e);return z(t),I(t)};var H=p()?c.useLayoutEffect:c.useEffect,U=[M,j,A,R];function q(e){return e===A||e===R}var B=function(e,t){var n=F(T),r=(0,i.Z)(n,2),o=r[0],a=r[1],u=function(){var e=c.useRef(null);function t(){V.cancel(e.current)}return c.useEffect((function(){return function(){t()}}),[]),[function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=V((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),s=(0,i.Z)(u,2),l=s[0],f=s[1];return H((function(){if(o!==T&&o!==R){var e=U.indexOf(o),n=U[e+1],r=t(o);false===r?a(n,!0):l((function(e){function t(){e.isCanceled()||a(n,!0)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,o]),c.useEffect((function(){return function(){f()}}),[]),[function(){a(M,!0)},o]};function W(e,t,n,a){var u=a.motionEnter,s=void 0===u||u,l=a.motionAppear,f=void 0===l||l,d=a.motionLeave,p=void 0===d||d,v=a.motionDeadline,m=a.motionLeaveImmediately,h=a.onAppearPrepare,g=a.onEnterPrepare,y=a.onLeavePrepare,b=a.onAppearStart,w=a.onEnterStart,x=a.onLeaveStart,E=a.onAppearActive,k=a.onEnterActive,T=a.onLeaveActive,R=a.onAppearEnd,_=a.onEnterEnd,I=a.onLeaveEnd,L=a.onVisibleChanged,D=F(),z=(0,i.Z)(D,2),V=z[0],U=z[1],W=F(N),$=(0,i.Z)(W,2),K=$[0],G=$[1],Y=F(null),X=(0,i.Z)(Y,2),Q=X[0],J=X[1],ee=(0,c.useRef)(!1),te=(0,c.useRef)(null);function ne(){return n()}var re=(0,c.useRef)(!1);function oe(e){var t=ne();if(!e||e.deadline||e.target===t){var n,r=re.current;K===S&&r?n=null===R||void 0===R?void 0:R(t,e):K===P&&r?n=null===_||void 0===_?void 0:_(t,e):K===O&&r&&(n=null===I||void 0===I?void 0:I(t,e)),K!==N&&r&&!1!==n&&(G(N,!0),J(null,!0))}}var ie=function(e){var t=(0,c.useRef)(),n=(0,c.useRef)(e);n.current=e;var r=c.useCallback((function(e){n.current(e)}),[]);function o(e){e&&(e.removeEventListener(Z,r),e.removeEventListener(C,r))}return c.useEffect((function(){return function(){o(t.current)}}),[]),[function(e){t.current&&t.current!==e&&o(t.current),e&&e!==t.current&&(e.addEventListener(Z,r),e.addEventListener(C,r),t.current=e)},o]}(oe),ae=(0,i.Z)(ie,1)[0],ce=c.useMemo((function(){var e,t,n;switch(K){case S:return e={},(0,r.Z)(e,M,h),(0,r.Z)(e,j,b),(0,r.Z)(e,A,E),e;case P:return t={},(0,r.Z)(t,M,g),(0,r.Z)(t,j,w),(0,r.Z)(t,A,k),t;case O:return n={},(0,r.Z)(n,M,y),(0,r.Z)(n,j,x),(0,r.Z)(n,A,T),n;default:return{}}}),[K]),ue=B(K,(function(e){if(e===M){var t=ce.prepare;return!!t&&t(ne())}var n;fe in ce&&J((null===(n=ce[fe])||void 0===n?void 0:n.call(ce,ne(),null))||null);return fe===A&&(ae(ne()),v>0&&(clearTimeout(te.current),te.current=setTimeout((function(){oe({deadline:!0})}),v))),true})),se=(0,i.Z)(ue,2),le=se[0],fe=se[1],de=q(fe);re.current=de,H((function(){U(t);var n,r=ee.current;(ee.current=!0,e)&&(!r&&t&&f&&(n=S),r&&t&&s&&(n=P),(r&&!t&&p||!r&&m&&!t&&p)&&(n=O),n&&(G(n),le()))}),[t]),(0,c.useEffect)((function(){(K===S&&!f||K===P&&!s||K===O&&!p)&&G(N)}),[f,s,p]),(0,c.useEffect)((function(){return function(){ee.current=!1,clearTimeout(te.current)}}),[]),(0,c.useEffect)((function(){void 0!==V&&K===N&&(null===L||void 0===L||L(V))}),[V,K]);var pe=Q;return ce.prepare&&fe===j&&(pe=(0,o.Z)({transition:"none"},pe)),[K,fe,pe,null!==V&&void 0!==V?V:t]}var $=n(15671),K=n(43144),G=n(60136),Y=n(3289),X=function(e){(0,G.Z)(n,e);var t=(0,Y.Z)(n);function n(){return(0,$.Z)(this,n),t.apply(this,arguments)}return(0,K.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component),Q=X;var J=function(e){var t=e;function n(e){return!(!e.motionName||!t)}"object"===(0,a.Z)(e)&&(t=e.transitionSupport);var f=c.forwardRef((function(e,t){var a=e.visible,f=void 0===a||a,p=e.removeOnLeave,v=void 0===p||p,m=e.forceRender,h=e.children,g=e.motionName,y=e.leavedClassName,b=e.eventProps,w=n(e),x=(0,c.useRef)(),E=(0,c.useRef)();var C=W(w,f,(function(){try{return x.current instanceof HTMLElement?x.current:(e=E.current)instanceof HTMLElement?e:u.findDOMNode(e)}catch(t){return null}var e}),e),Z=(0,i.Z)(C,4),S=Z[0],P=Z[1],O=Z[2],T=Z[3],A=c.useRef(T);T&&(A.current=!0);var R,F=c.useCallback((function(e){x.current=e,l(t,e)}),[t]),_=(0,o.Z)((0,o.Z)({},b),{},{visible:f});if(h)if(S!==N&&n(e)){var I,L;P===M?L="prepare":q(P)?L="active":P===j&&(L="start"),R=h((0,o.Z)((0,o.Z)({},_),{},{className:d()(k(g,S),(I={},(0,r.Z)(I,k(g,"".concat(S,"-").concat(L)),L),(0,r.Z)(I,g,"string"===typeof g),I)),style:O}),F)}else R=T?h((0,o.Z)({},_),F):!v&&A.current?h((0,o.Z)((0,o.Z)({},_),{},{className:y}),F):m?h((0,o.Z)((0,o.Z)({},_),{},{style:{display:"none"}}),F):null;else R=null;c.isValidElement(R)&&function(e){var t,n,r=(0,s.isMemo)(e)?e.type.type:e.type;return!("function"===typeof r&&!(null===(t=r.prototype)||void 0===t?void 0:t.render))&&!("function"===typeof e&&!(null===(n=e.prototype)||void 0===n?void 0:n.render))}(R)&&(R.ref||(R=c.cloneElement(R,{ref:F})));return c.createElement(Q,{ref:E},R)}));return f.displayName="CSSMotion",f}(E),ee=n(87462),te=n(91),ne="add",re="keep",oe="remove",ie="removed";function ae(e){var t;return t=e&&"object"===(0,a.Z)(e)&&"key"in e?e:{key:e},(0,o.Z)((0,o.Z)({},t),{},{key:String(t.key)})}function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ae)}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=ce(e),c=ce(t);a.forEach((function(e){for(var t=!1,a=r;a1}));return s.forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==oe}))).forEach((function(t){t.key===e&&(t.status=re)}))})),n}var se=["component","children","onVisibleChanged","onAllRemoved"],le=["status"],fe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J,n=function(e){(0,G.Z)(r,e);var n=(0,Y.Z)(r);function r(){var e;(0,$.Z)(this,r);for(var t=arguments.length,i=new Array(t),a=0;a=a&&(o.key=c[0].notice.key,o.updateMark=b(),o.userPassKey=r,c.shift()),c.push({notice:o,holderCallback:n})),{notices:c}}))},e.remove=function(t){e.setState((function(e){return{notices:e.notices.filter((function(e){var n=e.notice,r=n.key;return(n.userPassKey||r)!==t}))}}))},e.noticePropsMap={},e}return(0,c.Z)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r="".concat(t,"-").concat(n)),r}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,a=n.className,c=n.closeIcon,u=n.style,s=[];return t.forEach((function(n,o){var a=n.notice,u=n.holderCallback,l=o===t.length-1?a.updateMark:void 0,f=a.key,d=a.userPassKey,p=(0,i.Z)((0,i.Z)((0,i.Z)({prefixCls:r,closeIcon:c},a),a.props),{},{key:f,noticeKey:d||f,updateMark:l,onClose:function(t){var n;e.remove(t),null===(n=a.onClose)||void 0===n||n.call(a)},onClick:a.onClick,children:a.content});s.push(f),e.noticePropsMap[f]={props:p,holderCallback:u}})),l.createElement("div",{className:p()(r,a),style:u},l.createElement(v.V,{keys:s,motionName:this.getTransitionName(),onVisibleChanged:function(t,n){var r=n.key;t||delete e.noticePropsMap[r]}},(function(t){var n=t.key,a=t.className,c=t.style,u=t.visible,s=e.noticePropsMap[n],f=s.props,d=s.holderCallback;return d?l.createElement("div",{key:n,className:p()(a,"".concat(r,"-hook-holder")),style:(0,i.Z)({},c),ref:function(t){"undefined"!==typeof n&&(t?(e.hookRefs.set(n,t),d(t,f)):e.hookRefs.delete(n))}}):l.createElement(m.Z,(0,o.Z)({},f,{className:p()(a,null===f||void 0===f?void 0:f.className),style:(0,i.Z)((0,i.Z)({},c),null===f||void 0===f?void 0:f.style),visible:u}))})))}}]),n}(l.Component);w.newInstance=void 0,w.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},w.newInstance=function(e,t){var n=e||{},i=n.getContainer,a=(0,r.Z)(n,["getContainer"]),c=document.createElement("div");i?i().appendChild(c):document.body.appendChild(c);var u=!1;f.render(l.createElement(w,(0,o.Z)({},a,{ref:function(e){u||(u=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){f.unmountComponentAtNode(c),c.parentNode&&c.parentNode.removeChild(c)},useNotification:function(){return(0,h.Z)(e)}}))}})),c)};var x=w},51550:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(74902),o=n(87462),i=n(97685),a=n(67294),c=n(51784);function u(e){var t=a.useRef({}),n=a.useState([]),u=(0,i.Z)(n,2),s=u[0],l=u[1];return[function(n){var i=!0;e.add(n,(function(e,n){var u=n.key;if(e&&(!t.current[u]||i)){var s=a.createElement(c.Z,(0,o.Z)({},n,{holder:e}));t.current[u]=s,l((function(e){var t=e.findIndex((function(e){return e.key===n.key}));if(-1===t)return[].concat((0,r.Z)(e),[s]);var o=(0,r.Z)(e);return o[t]=s,o}))}i=!1}))},a.createElement(a.Fragment,null,s)]}},48611:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(87462),o=n(1413),i=n(97685),a=n(91),c=n(67294),u=n(94184),s=n.n(u),l=n(48555);var f="undefined"!==typeof window&&window.document&&window.document.createElement?c.useLayoutEffect:c.useEffect,d=["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","className","style","children","display","order","component"],p=void 0;function v(e,t){var n=e.prefixCls,i=e.invalidate,u=e.item,f=e.renderItem,v=e.responsive,m=e.registerSize,h=e.itemKey,g=e.className,y=e.style,b=e.children,w=e.display,x=e.order,E=e.component,C=void 0===E?"div":E,Z=(0,a.Z)(e,d),k=v&&!w;function N(e){m(h,e)}c.useEffect((function(){return function(){N(null)}}),[]);var S,P=f&&u!==p?f(u):b;i||(S={opacity:k?0:1,height:k?0:p,overflowY:k?"hidden":p,order:v?x:p,pointerEvents:k?"none":p,position:k?"absolute":p});var O={};k&&(O["aria-hidden"]=!0);var T=c.createElement(C,(0,r.Z)({className:s()(!i&&n,g),style:(0,o.Z)((0,o.Z)({},S),y)},O,Z,{ref:t}),P);return v&&(T=c.createElement(l.default,{onResize:function(e){N(e.offsetWidth)}},T)),T}var m=c.forwardRef(v);m.displayName="Item";var h=m,g=function(e){return+setTimeout(e,16)},y=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(g=function(e){return window.requestAnimationFrame(e)},y=function(e){return window.cancelAnimationFrame(e)});var b=0,w=new Map;function x(e){w.delete(e)}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=b+=1;function r(t){if(0===t)x(n),e();else{var o=g((function(){r(t-1)}));w.set(n,o)}}return r(t),n}function C(){var e=function(e){var t=c.useRef(!1),n=c.useState(e),r=(0,i.Z)(n,2),o=r[0],a=r[1];return c.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[o,function(e,n){n&&t.current||a(e)}]}({}),t=(0,i.Z)(e,2)[1],n=(0,c.useRef)([]),r=0,o=0;return function(e){var i=r;return r+=1,n.current.lengthZ,ke=(0,c.useMemo)((function(){var e=p;return Ee?e=null===H&&D?p:p.slice(0,Math.min(p.length,q/b)):"number"===typeof Z&&(e=p.slice(0,Z)),e}),[p,b,H,Z,Ee]),Ne=(0,c.useMemo)((function(){return Ee?p.slice(me+1):p.slice(ke.length)}),[p,ke,Ee,me]),Se=(0,c.useCallback)((function(e,t){var n;return"function"===typeof g?g(e):null!==(n=g&&(null===e||void 0===e?void 0:e[g]))&&void 0!==n?n:t}),[g]),Pe=(0,c.useCallback)(v||function(e){return e},[v]);function Oe(e,t){ve(e),t||(be(eq){Oe(r-1),le(e-o-ie+te);break}}S&&Me(0)+ie>q&&le(null)}}),[q,$,te,ie,Se,ke]);var je=ye&&!!Ne.length,Ae={};null!==se&&Ee&&(Ae={position:"absolute",left:se,top:0});var Re,Fe={prefixCls:we,responsive:Ee,component:F,invalidate:Ce},_e=m?function(e,t){var n=Se(e,t);return c.createElement(M.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},Fe),{},{order:t,item:e,itemKey:n,registerSize:Te,display:t<=me})},m(e,t))}:function(e,t){var n=Se(e,t);return c.createElement(h,(0,r.Z)({},Fe,{order:t,key:n,item:e,renderItem:Pe,itemKey:n,registerSize:Te,display:t<=me}))},Ie={order:je?me:Number.MAX_SAFE_INTEGER,className:"".concat(we,"-rest"),registerSize:function(e,t){ne(t),Q(te)},display:je};if(N)N&&(Re=c.createElement(M.Provider,{value:(0,o.Z)((0,o.Z)({},Fe),Ie)},N(Ne)));else{var Le=k||R;Re=c.createElement(h,(0,r.Z)({},Fe,Ie),"function"===typeof Le?Le(Ne):Le)}var De=c.createElement(O,(0,r.Z)({className:s()(!Ce&&u,E),style:x,ref:t},I),ke.map(_e),Ze?Re:null,S&&c.createElement(h,(0,r.Z)({},Fe,{order:me,className:"".concat(we,"-suffix"),registerSize:function(e,t){ae(t)},display:!0,style:Ae}),S));return Ee&&(De=c.createElement(l.default,{onResize:function(e,t){U(t.clientWidth)}},De)),De}var _=c.forwardRef(F);_.displayName="Overflow",_.Item=O,_.RESPONSIVE=j,_.INVALIDATE=A;var I=_},62906:function(e,t){"use strict";t.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},48555:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var r=n(87462),o=n(67294),i=n(50344),a=(n(80334),n(1413)),c=n(42550),u=n(34203),s=n(91033),l=new Map;var f=new s.Z((function(e){e.forEach((function(e){var t,n=e.target;null===(t=l.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var d=n(15671),p=n(43144),v=n(60136),m=n(3289),h=function(e){(0,v.Z)(n,e);var t=(0,m.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,p.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),g=o.createContext(null);function y(e){var t=e.children,n=e.disabled,r=o.useRef(null),i=o.useRef(null),s=o.useContext(g),d="function"===typeof t,p=d?t(r):t,v=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!d&&o.isValidElement(p)&&(0,c.Yr)(p),y=m?p.ref:null,b=o.useMemo((function(){return(0,c.sQ)(y,r)}),[y,r]),w=o.useRef(e);w.current=e;var x=o.useCallback((function(e){var t=w.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,c=o.height,u=e.offsetWidth,l=e.offsetHeight,f=Math.floor(i),d=Math.floor(c);if(v.current.width!==f||v.current.height!==d||v.current.offsetWidth!==u||v.current.offsetHeight!==l){var p={width:f,height:d,offsetWidth:u,offsetHeight:l};v.current=p;var m=u===Math.round(i)?i:u,h=l===Math.round(c)?c:l,g=(0,a.Z)((0,a.Z)({},p),{},{offsetWidth:m,offsetHeight:h});null===s||void 0===s||s(g,e,r),n&&Promise.resolve().then((function(){n(g,e)}))}}),[]);return o.useEffect((function(){var e,t,o=(0,u.Z)(r.current)||(0,u.Z)(i.current);return o&&!n&&(e=o,t=x,l.has(e)||(l.set(e,new Set),f.observe(e)),l.get(e).add(t)),function(){return function(e,t){l.has(e)&&(l.get(e).delete(t),l.get(e).size||(f.unobserve(e),l.delete(e)))}(o,x)}}),[r.current,n]),o.createElement(h,{ref:i},m?o.cloneElement(p,{ref:b}):p)}function b(e){var t=e.children;return("function"===typeof t?[t]:(0,i.Z)(t)).map((function(t,n){var i=(null===t||void 0===t?void 0:t.key)||"".concat("rc-observer-key","-").concat(n);return o.createElement(y,(0,r.Z)({},e,{key:i}),t)}))}b.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(g),c=o.useCallback((function(e,t,o){r.current+=1;var c=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){c===r.current&&(null===n||void 0===n||n(i.current),i.current=[])})),null===a||void 0===a||a(e,t,o)}),[n,a]);return o.createElement(g.Provider,{value:c},t)};var w=b},57239:function(e,t,n){"use strict";n.r(t),n.d(t,{ResizableTextArea:function(){return Z},default:function(){return k}});var r,o=n(87462),i=n(15671),a=n(43144),c=n(60136),u=n(3289),s=n(67294),l=n(1413),f=n(4942),d=n(48555),p=n(98423),v=n(94184),m=n.n(v),h="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",g=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],y={};function b(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&y[n])return y[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),c=g.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),u={sizingStyle:c,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(y[n]=u),u}var w,x=n(96774),E=n.n(x);!function(e){e[e.NONE=0]="NONE",e[e.RESIZING=1]="RESIZING",e[e.RESIZED=2]="RESIZED"}(w||(w={}));var C=function(e){(0,c.Z)(n,e);var t=(0,u.Z)(n);function n(e){var a;return(0,i.Z)(this,n),(a=t.call(this,e)).nextFrameActionId=void 0,a.resizeFrameId=void 0,a.textArea=void 0,a.saveTextArea=function(e){a.textArea=e},a.handleResize=function(e){var t=a.state.resizeStatus,n=a.props,r=n.autoSize,o=n.onResize;t===w.NONE&&("function"===typeof o&&o(e),r&&a.resizeOnNextFrame())},a.resizeOnNextFrame=function(){cancelAnimationFrame(a.nextFrameActionId),a.nextFrameActionId=requestAnimationFrame(a.resizeTextarea)},a.resizeTextarea=function(){var e=a.props.autoSize;if(e&&a.textArea){var t=e.minRows,n=e.maxRows,o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var i=b(e,t),a=i.paddingSize,c=i.borderSize,u=i.boxSizing,s=i.sizingStyle;r.setAttribute("style","".concat(s,";").concat(h)),r.value=e.value||e.placeholder||"";var l,f=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER,p=r.scrollHeight;if("border-box"===u?p+=c:"content-box"===u&&(p-=a),null!==n||null!==o){r.value=" ";var v=r.scrollHeight-a;null!==n&&(f=v*n,"border-box"===u&&(f=f+a+c),p=Math.max(f,p)),null!==o&&(d=v*o,"border-box"===u&&(d=d+a+c),l=p>d?"":"hidden",p=Math.min(d,p))}return{height:p,minHeight:f,maxHeight:d,overflowY:l,resize:"none"}}(a.textArea,!1,t,n);a.setState({textareaStyles:o,resizeStatus:w.RESIZING},(function(){cancelAnimationFrame(a.resizeFrameId),a.resizeFrameId=requestAnimationFrame((function(){a.setState({resizeStatus:w.RESIZED},(function(){a.resizeFrameId=requestAnimationFrame((function(){a.setState({resizeStatus:w.NONE}),a.fixFirefoxAutoScroll()}))}))}))}))}},a.renderTextArea=function(){var e=a.props,t=e.prefixCls,n=void 0===t?"rc-textarea":t,r=e.autoSize,i=e.onResize,c=e.className,u=e.disabled,v=a.state,h=v.textareaStyles,g=v.resizeStatus,y=(0,p.Z)(a.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),b=m()(n,c,(0,f.Z)({},"".concat(n,"-disabled"),u));"value"in y&&(y.value=y.value||"");var x=(0,l.Z)((0,l.Z)((0,l.Z)({},a.props.style),h),g===w.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return s.createElement(d.default,{onResize:a.handleResize,disabled:!(r||i)},s.createElement("textarea",(0,o.Z)({},y,{className:b,style:x,ref:a.saveTextArea})))},a.state={textareaStyles:{},resizeStatus:w.NONE},a}return(0,a.Z)(n,[{key:"componentDidUpdate",value:function(e){e.value===this.props.value&&E()(e.autoSize,this.props.autoSize)||this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var e=this.textArea.selectionStart,t=this.textArea.selectionEnd;this.textArea.setSelectionRange(e,t)}}catch(n){}}},{key:"render",value:function(){return this.renderTextArea()}}]),n}(s.Component),Z=C,k=function(e){(0,c.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;(0,i.Z)(this,n),(r=t.call(this,e)).resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value,(function(){r.resizableTextArea.resizeTextarea()})),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,o=t.onKeyDown;13===e.keyCode&&n&&n(e),o&&o(e)};var o="undefined"===typeof e.value||null===e.value?e.defaultValue:e.value;return r.state={value:o},r}return(0,a.Z)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return s.createElement(Z,(0,o.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(s.Component)},22972:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(87462),o=n(71002),i=n(1413),a=n(91),c=n(67294),u=n(21480),s=n(43159),l=function(e){var t=e.overlay,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle;return c.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"===typeof t?t():t)},f=function(e,t){var n=e.overlayClassName,f=e.trigger,d=void 0===f?["hover"]:f,p=e.mouseEnterDelay,v=void 0===p?0:p,m=e.mouseLeaveDelay,h=void 0===m?.1:m,g=e.overlayStyle,y=e.prefixCls,b=void 0===y?"rc-tooltip":y,w=e.children,x=e.onVisibleChange,E=e.afterVisibleChange,C=e.transitionName,Z=e.animation,k=e.motion,N=e.placement,S=void 0===N?"right":N,P=e.align,O=void 0===P?{}:P,T=e.destroyTooltipOnHide,M=void 0!==T&&T,j=e.defaultVisible,A=e.getTooltipContainer,R=e.overlayInnerStyle,F=(0,a.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),_=(0,c.useRef)(null);(0,c.useImperativeHandle)(t,(function(){return _.current}));var I=(0,i.Z)({},F);"visible"in e&&(I.popupVisible=e.visible);var L=!1,D=!1;if("boolean"===typeof M)L=M;else if(M&&"object"===(0,o.Z)(M)){var z=M.keepParent;L=!0===z,D=!1===z}return c.createElement(u.Z,(0,r.Z)({popupClassName:n,prefixCls:b,popup:function(){var t=e.arrowContent,n=void 0===t?null:t,r=e.overlay,o=e.id;return[c.createElement("div",{className:"".concat(b,"-arrow"),key:"arrow"},n),c.createElement(l,{key:"content",prefixCls:b,id:o,overlay:r,overlayInnerStyle:R})]},action:d,builtinPlacements:s.C,popupPlacement:S,ref:_,popupAlign:O,getPopupContainer:A,onPopupVisibleChange:x,afterPopupVisibleChange:E,popupTransitionName:C,popupAnimation:Z,popupMotion:k,defaultPopupVisible:j,destroyPopupOnHide:L,autoDestroy:D,mouseLeaveDelay:h,popupStyle:g,mouseEnterDelay:v},I),w)},d=(0,c.forwardRef)(f)},43159:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r={adjustX:1,adjustY:1},o=[0,0],i={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:o}}},21480:function(e,t,n){"use strict";n.d(t,{Z:function(){return ft}});var r=n(1413),o=n(87462),i=n(15671),a=n(43144),c=n(97326),u=n(60136),s=n(3289),l=n(67294),f=n(73935),d=function(e){return+setTimeout(e,16)},p=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(d=function(e){return window.requestAnimationFrame(e)},p=function(e){return window.cancelAnimationFrame(e)});var v=0,m=new Map;function h(e){m.delete(e)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=v+=1;function r(t){if(0===t)h(n),e();else{var o=d((function(){r(t-1)}));m.set(n,o)}}return r(t),n}function y(e,t){return!!e&&e.contains(t)}g.cancel=function(e){var t=m.get(e);return h(t),p(t)};var b=n(71002),w=n(59864);function x(e,t){"function"===typeof e?e(t):"object"===(0,b.Z)(e)&&e&&"current"in e&&(e.current=t)}function E(){for(var e=arguments.length,t=new Array(e),n=0;n=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function ke(e){var t,n,r;if(we.isWindow(e)||9===e.nodeType){var o=we.getWindow(e);t={left:we.getWindowScrollLeft(o),top:we.getWindowScrollTop(o)},n=we.viewportWidth(o),r=we.viewportHeight(o)}else t=we.offset(e),n=we.outerWidth(e),r=we.outerHeight(e);return t.width=n,t.height=r,t}function Ne(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,c=e.top;return"c"===n?c+=i/2:"b"===n&&(c+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:c}}function Se(e,t,n,r,o){var i=Ne(t,n[1]),a=Ne(e,n[0]),c=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-c[0]+r[0]-o[0]),top:Math.round(e.top-c[1]+r[1]-o[1])}}function Pe(e,t,n){return e.leftn.right}function Oe(e,t,n){return e.topn.bottom}function Te(e,t,n){var r=[];return we.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function Me(e,t){return e[t]=-e[t],e}function je(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function Ae(e,t){e[0]=je(e[0],t.width),e[1]=je(e[1],t.height)}function Re(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],c=n.overflow,u=n.source||e;i=[].concat(i),a=[].concat(a);var s={},l=0,f=Ze(u,!(!(c=c||{})||!c.alwaysByViewport)),d=ke(u);Ae(i,d),Ae(a,t);var p=Se(d,t,o,i,a),v=we.merge(d,p);if(f&&(c.adjustX||c.adjustY)&&r){if(c.adjustX&&Pe(p,d,f)){var m=Te(o,/[lr]/gi,{l:"r",r:"l"}),h=Me(i,0),g=Me(a,0);(function(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),we.mix(o,i)}(p,d,f,s))}return v.width!==d.width&&we.css(u,"width",we.width(u)+v.width-d.width),v.height!==d.height&&we.css(u,"height",we.height(u)+v.height-d.height),we.offset(u,{left:v.left,top:v.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:s}}function Fe(e,t,n){var r=n.target||t,o=ke(r),i=!function(e,t){var n=Ze(e,t),r=ke(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport);return Re(e,o,n,i)}Fe.__getOffsetParent=Ee,Fe.__getVisibleRectForElement=Ze;var _e=n(64019),Ie=n(18446),Le=n.n(Ie),De=n(91033),ze=n(94999);function Ve(e,t){var n=null,r=null;var o=new De.Z((function(e){var o=(0,O.Z)(e,1)[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),a=i.width,c=i.height,u=Math.floor(a),s=Math.floor(c);n===u&&r===s||Promise.resolve().then((function(){t({width:u,height:s})})),n=u,r=s}}));return e&&o.observe(e),function(){o.disconnect()}}function He(e){return"function"!==typeof e?null:e()}function Ue(e){return"object"===(0,b.Z)(e)&&e?e:null}var qe=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,a=e.onAlign,c=e.monitorWindowResize,u=e.monitorBufferTime,s=void 0===u?0:u,f=l.useRef({}),d=l.useRef(),p=l.Children.only(n),v=l.useRef({});v.current.disabled=r,v.current.target=o,v.current.align=i,v.current.onAlign=a;var m=function(e,t){var n=l.useRef(!1),r=l.useRef(null);function o(){window.clearTimeout(r.current)}return[function i(a){if(o(),n.current&&!0!==a)r.current=window.setTimeout((function(){n.current=!1,i()}),t);else{if(!1===e())return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,o()}]}((function(){var e=v.current,t=e.disabled,n=e.target,r=e.align,o=e.onAlign;if(!t&&n){var i,a=d.current,c=He(n),u=Ue(n);f.current.element=c,f.current.point=u,f.current.align=r;var s=document.activeElement;return c&&(0,_.Z)(c)?i=Fe(a,c,r):u&&(i=function(e,t,n){var r,o,i=we.getDocument(e),a=i.defaultView||i.parentWindow,c=we.getWindowScrollLeft(a),u=we.getWindowScrollTop(a),s=we.viewportWidth(a),l=we.viewportHeight(a),f={left:r="pageX"in t?t.pageX:c+t.clientX,top:o="pageY"in t?t.pageY:u+t.clientY,width:0,height:0},d=r>=0&&r<=c+s&&o>=0&&o<=u+l,p=[n.points[0],"cc"];return Re(e,f,L(L({},n),{},{points:p}),d)}(a,u,r)),function(e,t){e!==document.activeElement&&(0,ze.Z)(t,e)&&"function"===typeof e.focus&&e.focus()}(s,a),o&&i&&o(a,i),!0}return!1}),s),h=(0,O.Z)(m,2),g=h[0],y=h[1],b=l.useRef({cancel:function(){}}),w=l.useRef({cancel:function(){}});l.useEffect((function(){var e,t,n=He(o),r=Ue(o);d.current!==w.current.element&&(w.current.cancel(),w.current.element=d.current,w.current.cancel=Ve(d.current,g)),f.current.element===n&&((e=f.current.point)===(t=r)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))&&Le()(f.current.align,i)||(g(),b.current.element!==n&&(b.current.cancel(),b.current.element=n,b.current.cancel=Ve(n,g)))})),l.useEffect((function(){r?y():g()}),[r]);var x=l.useRef(null);return l.useEffect((function(){c?x.current||(x.current=(0,_e.Z)(window,"resize",g)):x.current&&(x.current.remove(),x.current=null)}),[c]),l.useEffect((function(){return function(){b.current.cancel(),w.current.cancel(),x.current&&x.current.remove(),y()}}),[]),l.useImperativeHandle(t,(function(){return{forceAlign:function(){return g(!0)}}})),l.isValidElement(p)&&(p=l.cloneElement(p,{ref:(0,F.sQ)(p.ref,d)})),p},Be=l.forwardRef(qe);Be.displayName="Align";var We=Be,$e=Z()?l.useLayoutEffect:l.useEffect,Ke=n(87757),Ge=n.n(Ke),Ye=n(15861);var Xe=["measure","alignPre","align",null,"motion"],Qe=function(e,t){var n=function(e){var t=l.useRef(!1),n=l.useState(e),r=(0,O.Z)(n,2),o=r[0],i=r[1];return l.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[o,function(e,n){n&&t.current||i(e)}]}(null),r=(0,O.Z)(n,2),o=r[0],i=r[1],a=(0,l.useRef)();function c(e){i(e,!0)}function u(){g.cancel(a.current)}return(0,l.useEffect)((function(){c("measure")}),[e]),(0,l.useEffect)((function(){if("measure"===o)t();o&&(a.current=g((0,Ye.Z)(Ge().mark((function e(){var t,n;return Ge().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Xe.indexOf(o),(n=Xe[t+1])&&-1!==t&&c(n);case 3:case"end":return e.stop()}}),e)})))))}),[o]),(0,l.useEffect)((function(){return function(){u()}}),[]),[o,function(e){u(),a.current=g((function(){c((function(e){switch(o){case"align":return"motion";case"motion":return"stable"}return e})),null===e||void 0===e||e()}))}]},Je=l.forwardRef((function(e,t){var n=e.visible,i=e.prefixCls,a=e.className,c=e.style,u=e.children,s=e.zIndex,f=e.stretch,d=e.destroyPopupOnHide,p=e.forceRender,v=e.align,m=e.point,h=e.getRootDomNode,g=e.getClassNameFromAlign,y=e.onAlign,b=e.onMouseEnter,w=e.onMouseLeave,x=e.onMouseDown,E=e.onTouchStart,C=(0,l.useRef)(),Z=(0,l.useRef)(),k=(0,l.useState)(),N=(0,O.Z)(k,2),P=N[0],T=N[1],A=function(e){var t=l.useState({width:0,height:0}),n=(0,O.Z)(t,2),r=n[0],o=n[1];return[l.useMemo((function(){var t={};if(e){var n=r.width,o=r.height;-1!==e.indexOf("height")&&o?t.height=o:-1!==e.indexOf("minHeight")&&o&&(t.minHeight=o),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t}),[e,r]),function(e){o({width:e.offsetWidth,height:e.offsetHeight})}]}(f),R=(0,O.Z)(A,2),F=R[0],_=R[1];var I=Qe(n,(function(){f&&_(h())})),L=(0,O.Z)(I,2),D=L[0],z=L[1],V=(0,l.useState)(0),H=(0,O.Z)(V,2),U=H[0],q=H[1],B=(0,l.useRef)();function W(){var e;null===(e=C.current)||void 0===e||e.forceAlign()}function $(e,t){var n=g(t);P!==n&&T(n),q((function(e){return e+1})),"align"===D&&(null===y||void 0===y||y(e,t))}$e((function(){"alignPre"===D&&q(0)}),[D]),$e((function(){"align"===D&&(U<2?W():z((function(){var e;null===(e=B.current)||void 0===e||e.call(B)})))}),[U]);var K=(0,r.Z)({},j(e));function G(){return new Promise((function(e){B.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=K[e];K[e]=function(e,n){return z(),null===t||void 0===t?void 0:t(e,n)}})),l.useEffect((function(){K.motionName||"motion"!==D||z()}),[K.motionName,D]),l.useImperativeHandle(t,(function(){return{forceAlign:W,getElement:function(){return Z.current}}}));var Y=(0,r.Z)((0,r.Z)({},F),{},{zIndex:s,opacity:"motion"!==D&&"stable"!==D&&n?0:void 0,pointerEvents:n||"stable"===D?void 0:"none"},c),X=!0;!(null===v||void 0===v?void 0:v.points)||"align"!==D&&"stable"!==D||(X=!1);var Q=u;return l.Children.count(u)>1&&(Q=l.createElement("div",{className:"".concat(i,"-content")},u)),l.createElement(M.Z,(0,o.Z)({visible:n,ref:Z,leavedClassName:"".concat(i,"-hidden")},K,{onAppearPrepare:G,onEnterPrepare:G,removeOnLeave:d,forceRender:p}),(function(e,t){var n=e.className,o=e.style,c=S()(i,a,P,n);return l.createElement(We,{target:m||h,key:"popup",ref:C,monitorWindowResize:!0,disabled:X,align:v,onAlign:$},l.createElement("div",{ref:t,className:c,onMouseEnter:b,onMouseLeave:w,onMouseDownCapture:x,onTouchStartCapture:E,style:(0,r.Z)((0,r.Z)({},o),Y)},Q))}))}));Je.displayName="PopupInner";var et=Je,tt=l.forwardRef((function(e,t){var n=e.prefixCls,i=e.visible,a=e.zIndex,c=e.children,u=e.mobile,s=(u=void 0===u?{}:u).popupClassName,f=u.popupStyle,d=u.popupMotion,p=void 0===d?{}:d,v=u.popupRender,m=l.useRef();l.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return m.current}}}));var h=(0,r.Z)({zIndex:a},f),g=c;return l.Children.count(c)>1&&(g=l.createElement("div",{className:"".concat(n,"-content")},c)),v&&(g=v(g)),l.createElement(M.Z,(0,o.Z)({visible:i,ref:m,removeOnLeave:!0},p),(function(e,t){var o=e.className,i=e.style,a=S()(n,s,o);return l.createElement("div",{ref:t,className:a,style:(0,r.Z)((0,r.Z)({},i),h)},g)}))}));tt.displayName="MobilePopupInner";var nt=tt,rt=["visible","mobile"],ot=l.forwardRef((function(e,t){var n=e.visible,i=e.mobile,a=(0,T.Z)(e,rt),c=(0,l.useState)(n),u=(0,O.Z)(c,2),s=u[0],f=u[1],d=(0,l.useState)(!1),p=(0,O.Z)(d,2),v=p[0],m=p[1],h=(0,r.Z)((0,r.Z)({},a),{},{visible:s});(0,l.useEffect)((function(){f(n),n&&i&&m(function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4)))}())}),[n,i]);var g=v?l.createElement(nt,(0,o.Z)({},h,{mobile:i,ref:t})):l.createElement(et,(0,o.Z)({},h,{ref:t}));return l.createElement("div",null,l.createElement(A,h),g)}));ot.displayName="Popup";var it=ot,at=l.createContext(null);function ct(){}function ut(){return""}function st(e){return e?e.ownerDocument:window.document}var lt=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];var ft=function(e){var t=function(t){(0,u.Z)(d,t);var n=(0,s.Z)(d);function d(e){var t,r;return(0,i.Z)(this,d),(t=n.call(this,e)).popupRef=l.createRef(),t.triggerRef=l.createRef(),t.portalContainer=void 0,t.attachId=void 0,t.clickOutsideHandler=void 0,t.touchOutsideHandler=void 0,t.contextMenuOutsideHandler1=void 0,t.contextMenuOutsideHandler2=void 0,t.mouseDownTimeout=void 0,t.focusTime=void 0,t.preClickTime=void 0,t.preTouchTime=void 0,t.delayTimer=void 0,t.hasPopupMouseDown=void 0,t.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},t.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},t.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onPopupMouseEnter=function(){t.clearDelayTimer()},t.onPopupMouseLeave=function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&y(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},t.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},t.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},t.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},t.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},t.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},t.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},t.onPopupMouseDown=function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)},t.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),o=t.getPopupDomNode();y(r,n)&&!t.isContextMenuOnly()||y(o,n)||t.hasPopupMouseDown||t.close()}},t.getRootDomNode=function(){var e,n=t.props.getTriggerDOMNode;if(n)return n(t.triggerRef.current);try{var r=(e=t.triggerRef.current)instanceof HTMLElement?e:f.findDOMNode(e);if(r)return r}catch(o){}return f.findDOMNode((0,c.Z)(t))},t.getPopupClassNameFromAlign=function(e){var n=[],r=t.props,o=r.popupPlacement,i=r.builtinPlacements,a=r.prefixCls,c=r.alignPoint,u=r.getPopupClassNameFromAlign;return o&&i&&n.push(function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},64019:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e,t,n,o){var i=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return e.addEventListener&&e.addEventListener(t,i,o),{remove:function(){e.removeEventListener&&e.removeEventListener(t,i)}}}},98924:function(e,t,n){"use strict";function r(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}n.d(t,{Z:function(){return r}})},94999:function(e,t,n){"use strict";function r(e,t){return!!e&&e.contains(t)}n.d(t,{Z:function(){return r}})},44958:function(e,t,n){"use strict";n.d(t,{hq:function(){return s}});var r=n(98924),o="rc-util-key";function i(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function a(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var o,a=document.createElement("style");(null===(t=n.csp)||void 0===t?void 0:t.nonce)&&(a.nonce=null===(o=n.csp)||void 0===o?void 0:o.nonce);a.innerHTML=e;var c=i(n),u=c.firstChild;return n.prepend&&c.prepend?c.prepend(a):n.prepend&&u?c.insertBefore(a,u):c.appendChild(a),a}var c=new Map;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i(t);return Array.from(c.get(n).children).find((function(t){return"STYLE"===t.tagName&&t[o]===e}))}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i(n);if(!c.has(r)){var s=a("",n),l=s.parentNode;c.set(r,l),l.removeChild(s)}var f=u(t,n);if(f){var d,p,v;if((null===(d=n.csp)||void 0===d?void 0:d.nonce)&&f.nonce!==(null===(p=n.csp)||void 0===p?void 0:p.nonce))f.nonce=null===(v=n.csp)||void 0===v?void 0:v.nonce;return f.innerHTML!==e&&(f.innerHTML=e),f}var m=a(e,n);return m[o]=t,m}},34203:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e){return e instanceof HTMLElement?e:r.findDOMNode(e)}},88603:function(e,t,n){"use strict";n.d(t,{tS:function(){return a}});var r=n(74902),o=n(5110);function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,o.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),a=Number(i),c=null;return i&&!Number.isNaN(a)?c=a:r&&null===c&&(c=0),r&&e.disabled&&(c=null),null!==c&&(c>=0||t&&c<0)}return!1}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.Z)(e.querySelectorAll("*")).filter((function(e){return i(e,t)}));return i(e,t)&&n.unshift(e),n}},5110:function(e,t){"use strict";t.Z=function(e){if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){var n=e.getBoundingClientRect();if(n.width||n.height)return!0}return!1}},79370:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(98924),o=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1};function i(e,t){return Array.isArray(e)||void 0===t?o(e):function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}(e,t)}},15105:function(e,t){"use strict";var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},74204:function(e,t,n){"use strict";var r;function o(e){if("undefined"===typeof document)return 0;if(e||void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var i=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),r=i-a}return r}function i(e){var t=e.match(/^(.*)px$/),n=Number(null===t||void 0===t?void 0:t[1]);return Number.isNaN(n)?o():n}function a(e){if("undefined"===typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:i(n),height:i(r)}}n.d(t,{Z:function(){return o},o:function(){return a}})},8410:function(e,t,n){"use strict";var r=n(67294),o=(0,n(98924).Z)()?r.useLayoutEffect:r.useEffect;t.Z=o},56982:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t,n){var o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},21770:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(97685),o=n(67294);function i(e,t){var n=t||{},i=n.defaultValue,a=n.value,c=n.onChange,u=n.postState,s=o.useState((function(){return void 0!==a?a:void 0!==i?"function"===typeof i?i():i:"function"===typeof e?e():e})),l=(0,r.Z)(s,2),f=l[0],d=l[1],p=void 0!==a?a:f;u&&(p=u(p));var v=o.useRef(c);v.current=c;var m=o.useCallback((function(e){d(e),p!==e&&v.current&&v.current(e,p)}),[p,v]),h=o.useRef(!0);return o.useEffect((function(){h.current?h.current=!1:void 0===a&&d(a)}),[a]),[p,m]}},31131:function(e,t){"use strict";t.Z=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4)))}},98423:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1413);function o(e,t){var n=(0,r.Z)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},64217:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function c(e,t){return 0===e.indexOf(t)}function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.Z)({},n);var u={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||c(n,i))||t.data&&c(n,a)||t.attr&&o.includes(n))&&(u[n]=e[n])})),u}},75164:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function c(e){a.delete(e)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=i+=1;function o(t){if(0===t)c(n),e();else{var i=r((function(){o(t-1)}));a.set(n,i)}}return o(t),n}u.cancel=function(e){var t=a.get(e);return c(t),o(t)}},42550:function(e,t,n){"use strict";n.d(t,{mH:function(){return a},sQ:function(){return c},x1:function(){return u},Yr:function(){return s}});var r=n(71002),o=n(59864),i=n(56982);function a(e,t){"function"===typeof e?e(t):"object"===(0,r.Z)(e)&&e&&"current"in e&&(e.current=t)}function c(){for(var e=arguments.length,t=new Array(e),n=0;n0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),l=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),E="undefined"!==typeof WeakMap?new WeakMap:new r,C=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new x(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var Z="undefined"!==typeof i.ResizeObserver?i.ResizeObserver:C;t.Z=Z},96774:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),u=0;u0?2===c.length?typeof c[1]==a?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==a||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):i:this[c[0]]=l?c[1].call(this,l,c[2]):i:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):i):this[c]=l||i;f+=2}},U=function(e,t){for(var n in t)if(typeof t[n]===u&&t[n].length>0){for(var r=0;r255?V(e,255):e,this},this.setUA(n),this};W.VERSION="1.0.2",W.BROWSER=L([f,v,"major"]),W.CPU=L([m]),W.DEVICE=L([l,p,d,h,g,b,y,w,x]),W.ENGINE=W.OS=L([f,v]),typeof t!==c?(e.exports&&(t=e.exports=W),t.UAParser=W):n.amdO?(r=function(){return W}.call(t,n,t,e))===i||(e.exports=r):typeof o!==c&&(o.UAParser=W);var $=typeof o!==c&&(o.jQuery||o.Zepto);if($&&!$.ua){var K=new W;$.ua=K.getResult(),$.ua.get=function(){return K.getUA()},$.ua.set=function(e){K.setUA(e);var t=K.getResult();for(var n in t)$.ua[n]=t[n]}}}("object"===typeof window?window:this)},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},97685:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83878);var o=n(40181),i=n(25267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(u){c=!0,o=u}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},84506:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(83878),o=n(59199),i=n(40181),a=n(25267);function c(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},74902:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(30907);var o=n(59199),i=n(40181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(30907);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],(function(){return t(76363),t(90387)}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/admin/_next/static/chunks/pages/_app-4e3c6e515fee028c.js b/static/admin/_next/static/chunks/pages/_app-4e3c6e515fee028c.js new file mode 100644 index 000000000..6e42e4394 --- /dev/null +++ b/static/admin/_next/static/chunks/pages/_app-4e3c6e515fee028c.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{92138:function(e,t,n){"use strict";n.r(t),n.d(t,{blue:function(){return Z},cyan:function(){return C},geekblue:function(){return k},generate:function(){return d},gold:function(){return y},green:function(){return E},grey:function(){return P},lime:function(){return x},magenta:function(){return S},orange:function(){return b},presetDarkPalettes:function(){return m},presetPalettes:function(){return v},presetPrimaryColors:function(){return p},purple:function(){return N},red:function(){return h},volcano:function(){return g},yellow:function(){return w}});var r=n(86500),o=n(1350),i=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function a(e){var t=e.r,n=e.g,o=e.b,i=(0,r.py)(t,n,o);return{h:360*i.h,s:i.s,v:i.v}}function c(e){var t=e.r,n=e.g,o=e.b;return"#".concat((0,r.vq)(t,n,o,!1))}function u(e,t,n){var r=n/100;return{r:(t.r-e.r)*r+e.r,g:(t.g-e.g)*r+e.g,b:(t.b-e.b)*r+e.b}}function s(e,t,n){var r;return(r=Math.round(e.h)>=60&&Math.round(e.h)<=240?n?Math.round(e.h)-2*t:Math.round(e.h)+2*t:n?Math.round(e.h)+2*t:Math.round(e.h)-2*t)<0?r+=360:r>=360&&(r-=360),r}function l(e,t,n){return 0===e.h&&0===e.s?e.s:((r=n?e.s-.16*t:4===t?e.s+.16:e.s+.05*t)>1&&(r=1),n&&5===t&&r>.1&&(r=.1),r<.06&&(r=.06),Number(r.toFixed(2)));var r}function f(e,t,n){var r;return(r=n?e.v+.05*t:e.v-.15*t)>1&&(r=1),Number(r.toFixed(2))}function d(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[],r=(0,o.uA)(e),d=5;d>0;d-=1){var p=a(r),v=c((0,o.uA)({h:s(p,d,!0),s:l(p,d,!0),v:f(p,d,!0)}));n.push(v)}n.push(c(r));for(var m=1;m<=4;m+=1){var h=a(r),g=c((0,o.uA)({h:s(h,m),s:l(h,m),v:f(h,m)}));n.push(g)}return"dark"===t.theme?i.map((function(e){var r=e.index,i=e.opacity;return c(u((0,o.uA)(t.backgroundColor||"#141414"),(0,o.uA)(n[r]),100*i))})):n}var p={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},v={},m={};Object.keys(p).forEach((function(e){v[e]=d(p[e]),v[e].primary=v[e][5],m[e]=d(p[e],{theme:"dark",backgroundColor:"#141414"}),m[e].primary=m[e][5]}));var h=v.red,g=v.volcano,y=v.gold,b=v.orange,w=v.yellow,x=v.lime,E=v.green,C=v.cyan,Z=v.blue,k=v.geekblue,N=v.purple,S=v.magenta,P=v.grey},42135:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(1413),o=n(97685),i=n(4942),a=n(91),c=n(67294),u=n(94184),s=n.n(u),l=n(63017),f=n(71002),d=n(92138),p=n(80334),v=n(44958);function m(e){return"object"===(0,f.Z)(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===(0,f.Z)(e.icon)||"function"===typeof e.icon)}function h(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,n){var r=e[n];if("class"===n)t.className=r,delete t.class;else t[n]=r;return t}),{})}function g(e,t,n){return n?c.createElement(e.tag,(0,r.Z)((0,r.Z)({key:t},h(e.attrs)),n),(e.children||[]).map((function(n,r){return g(n,"".concat(t,"-").concat(e.tag,"-").concat(r))}))):c.createElement(e.tag,(0,r.Z)({key:t},h(e.attrs)),(e.children||[]).map((function(n,r){return g(n,"".concat(t,"-").concat(e.tag,"-").concat(r))})))}function y(e){return(0,d.generate)(e)[0]}function b(e){return e?Array.isArray(e)?e:[e]:[]}var w="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",x=["icon","className","onClick","style","primaryColor","secondaryColor"],E={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};var C=function(e){var t,n,o=e.icon,i=e.className,u=e.onClick,s=e.style,f=e.primaryColor,d=e.secondaryColor,h=(0,a.Z)(e,x),b=E;if(f&&(b={primaryColor:f,secondaryColor:d||y(f)}),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:w,t=(0,c.useContext)(l.Z).csp;(0,c.useEffect)((function(){(0,v.hq)(e,"@ant-design-icons",{prepend:!0,csp:t})}),[])}(),t=m(o),n="icon should be icon definiton, but got ".concat(o),(0,p.ZP)(t,"[@ant-design/icons] ".concat(n)),!m(o))return null;var C=o;return C&&"function"===typeof C.icon&&(C=(0,r.Z)((0,r.Z)({},C),{},{icon:C.icon(b.primaryColor,b.secondaryColor)})),g(C.icon,"svg-".concat(C.name),(0,r.Z)({className:i,onClick:u,style:s,"data-icon":C.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},h))};C.displayName="IconReact",C.getTwoToneColors=function(){return(0,r.Z)({},E)},C.setTwoToneColors=function(e){var t=e.primaryColor,n=e.secondaryColor;E.primaryColor=t,E.secondaryColor=n||y(t),E.calculated=!!n};var Z=C;function k(e){var t=b(e),n=(0,o.Z)(t,2),r=n[0],i=n[1];return Z.setTwoToneColors({primaryColor:r,secondaryColor:i})}var N=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];k("#1890ff");var S=c.forwardRef((function(e,t){var n,u=e.className,f=e.icon,d=e.spin,p=e.rotate,v=e.tabIndex,m=e.onClick,h=e.twoToneColor,g=(0,a.Z)(e,N),y=c.useContext(l.Z).prefixCls,w=void 0===y?"anticon":y,x=s()(w,(n={},(0,i.Z)(n,"".concat(w,"-").concat(f.name),!!f.name),(0,i.Z)(n,"".concat(w,"-spin"),!!d||"loading"===f.name),n),u),E=v;void 0===E&&m&&(E=-1);var C=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,k=b(h),S=(0,o.Z)(k,2),P=S[0],O=S[1];return c.createElement("span",(0,r.Z)((0,r.Z)({role:"img","aria-label":f.name},g),{},{ref:t,tabIndex:E,onClick:m,className:x}),c.createElement(Z,{icon:f,primaryColor:P,secondaryColor:O,style:C}))}));S.displayName="AntdIcon",S.getTwoToneColor=function(){var e=Z.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor},S.setTwoToneColor=k;var P=S},63017:function(e,t,n){"use strict";var r=(0,n(67294).createContext)({});t.Z=r},89739:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z"}}]},name:"check-circle",theme:"filled"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CheckCircleFilled";var u=o.forwardRef(c)},8751:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M699 353h-46.9c-10.2 0-19.9 4.9-25.9 13.3L469 584.3l-71.2-98.8c-6-8.3-15.6-13.3-25.9-13.3H325c-6.5 0-10.3 7.4-6.5 12.7l124.6 172.8a31.8 31.8 0 0051.7 0l210.6-292c3.9-5.3.1-12.7-6.4-12.7z"}},{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"check-circle",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CheckCircleOutlined";var u=o.forwardRef(c)},63606:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z"}}]},name:"check",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CheckOutlined";var u=o.forwardRef(c)},4340:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"}}]},name:"close-circle",theme:"filled"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseCircleFilled";var u=o.forwardRef(c)},18429:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M685.4 354.8c0-4.4-3.6-8-8-8l-66 .3L512 465.6l-99.3-118.4-66.1-.3c-4.4 0-8 3.5-8 8 0 1.9.7 3.7 1.9 5.2l130.1 155L340.5 670a8.32 8.32 0 00-1.9 5.2c0 4.4 3.6 8 8 8l66.1-.3L512 564.4l99.3 118.4 66 .3c4.4 0 8-3.5 8-8 0-1.9-.7-3.7-1.9-5.2L553.5 515l130.1-155c1.2-1.4 1.8-3.3 1.8-5.2z"}},{tag:"path",attrs:{d:"M512 65C264.6 65 64 265.6 64 513s200.6 448 448 448 448-200.6 448-448S759.4 65 512 65zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}}]},name:"close-circle",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseCircleOutlined";var u=o.forwardRef(c)},97937:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"}}]},name:"close",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CloseOutlined";var u=o.forwardRef(c)},57132:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z"}}]},name:"copy",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="CopyOutlined";var u=o.forwardRef(c)},80882:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z"}}]},name:"down",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="DownOutlined";var u=o.forwardRef(c)},86548:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EditOutlined";var u=o.forwardRef(c)},89705:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EllipsisOutlined";var u=o.forwardRef(c)},21640:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"exclamation-circle",theme:"filled"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="ExclamationCircleFilled";var u=o.forwardRef(c)},11475:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 688a48 48 0 1096 0 48 48 0 10-96 0zm24-112h48c4.4 0 8-3.6 8-8V296c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8z"}}]},name:"exclamation-circle",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="ExclamationCircleOutlined";var u=o.forwardRef(c)},90420:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z"}},{tag:"path",attrs:{d:"M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z"}}]},name:"eye-invisible",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EyeInvisibleOutlined";var u=o.forwardRef(c)},99611:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z"}}]},name:"eye",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="EyeOutlined";var u=o.forwardRef(c)},78860:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z"}}]},name:"info-circle",theme:"filled"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="InfoCircleFilled";var u=o.forwardRef(c)},45605:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M464 336a48 48 0 1096 0 48 48 0 10-96 0zm72 112h-48c-4.4 0-8 3.6-8 8v272c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V456c0-4.4-3.6-8-8-8z"}}]},name:"info-circle",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="InfoCircleOutlined";var u=o.forwardRef(c)},6171:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="LeftOutlined";var u=o.forwardRef(c)},50888:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="LoadingOutlined";var u=o.forwardRef(c)},18073:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="RightOutlined";var u=o.forwardRef(c)},68795:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="SearchOutlined";var u=o.forwardRef(c)},28058:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o=n(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 720a48 48 0 1096 0 48 48 0 10-96 0zm16-304v184c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V416c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8zm475.7 440l-416-720c-6.2-10.7-16.9-16-27.7-16s-21.6 5.3-27.7 16l-416 720C56 877.4 71.4 904 96 904h832c24.6 0 40-26.6 27.7-48zm-783.5-27.9L512 239.9l339.8 588.2H172.2z"}}]},name:"warning",theme:"outlined"},a=n(42135),c=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:i}))};c.displayName="WarningOutlined";var u=o.forwardRef(c)},59591:function(e,t,n){var r=n(50008).default;function o(){"use strict";e.exports=o=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,i=n.hasOwnProperty,a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",s=a.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(O){l=function(e,t,n){return e[t]=n}}function f(e,t,n,r){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new N(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return P()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=C(a,n);if(c){if(c===p)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=d(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===p)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(O){return{type:"throw",arg:O}}}t.wrap=f;var p={};function v(){}function m(){}function h(){}var g={};l(g,c,(function(){return this}));var y=Object.getPrototypeOf,b=y&&y(y(S([])));b&&b!==n&&i.call(b,c)&&(g=b);var w=h.prototype=v.prototype=Object.create(g);function x(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(o,a,c,u){var s=d(e[o],e,a);if("throw"!==s.type){var l=s.arg,f=l.value;return f&&"object"==r(f)&&i.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,c,u)}),(function(e){n("throw",e,c,u)})):t.resolve(f).then((function(e){l.value=e,c(l)}),(function(e){return n("throw",e,c,u)}))}u(s.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function C(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method))return p;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var r=d(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,p;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,p):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,p)}function Z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Z,this),this.reset(!0)}function S(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n=0;--r){var o=this.tryEntries[r],a=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var c=i.call(o,"catchLoc"),u=i.call(o,"finallyLoc");if(c&&u){if(this.prev=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&i.call(r,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),p}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:S(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),p}},t}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},50008:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},87757:function(e,t,n){var r=n(59591)();e.exports=r;try{regeneratorRuntime=r}catch(o){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},86500:function(e,t,n){"use strict";n.d(t,{rW:function(){return o},lC:function(){return i},ve:function(){return c},py:function(){return u},WE:function(){return s},vq:function(){return l},s:function(){return f},GC:function(){return d},Wl:function(){return p},T6:function(){return v},VD:function(){return m},Yt:function(){return h}});var r=n(90279);function o(e,t,n){return{r:255*(0,r.sh)(e,255),g:255*(0,r.sh)(t,255),b:255*(0,r.sh)(n,255)}}function i(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=0,u=(o+i)/2;if(o===i)c=0,a=0;else{var s=o-i;switch(c=u>.5?s/(2-o-i):s/(o+i),o){case e:a=(t-n)/s+(t1&&(n-=1),n<1/6?e+6*n*(t-e):n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function c(e,t,n){var o,i,c;if(e=(0,r.sh)(e,360),t=(0,r.sh)(t,100),n=(0,r.sh)(n,100),0===t)i=n,c=n,o=n;else{var u=n<.5?n*(1+t):n+t-n*t,s=2*n-u;o=a(s,u,e+1/3),i=a(s,u,e),c=a(s,u,e-1/3)}return{r:255*o,g:255*i,b:255*c}}function u(e,t,n){e=(0,r.sh)(e,255),t=(0,r.sh)(t,255),n=(0,r.sh)(n,255);var o=Math.max(e,t,n),i=Math.min(e,t,n),a=0,c=o,u=o-i,s=0===o?0:u/o;if(o===i)a=0;else{switch(o){case e:a=(t-n)/u+(t>16,g:(65280&e)>>8,b:255&e}}},48701:function(e,t,n){"use strict";n.d(t,{R:function(){return r}});var r={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"}},1350:function(e,t,n){"use strict";n.d(t,{uA:function(){return a},uz:function(){return f},ky:function(){return d}});var r=n(86500),o=n(48701),i=n(90279);function a(e){var t={r:0,g:0,b:0},n=1,o=null,a=null,c=null,u=!1,s=!1;return"string"===typeof e&&(e=f(e)),"object"===typeof e&&(d(e.r)&&d(e.g)&&d(e.b)?(t=(0,r.rW)(e.r,e.g,e.b),u=!0,s="%"===String(e.r).substr(-1)?"prgb":"rgb"):d(e.h)&&d(e.s)&&d(e.v)?(o=(0,i.JX)(e.s),a=(0,i.JX)(e.v),t=(0,r.WE)(e.h,o,a),u=!0,s="hsv"):d(e.h)&&d(e.s)&&d(e.l)&&(o=(0,i.JX)(e.s),c=(0,i.JX)(e.l),t=(0,r.ve)(e.h,o,c),u=!0,s="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(n=e.a)),n=(0,i.Yq)(n),{ok:u,format:e.format||s,r:Math.min(255,Math.max(t.r,0)),g:Math.min(255,Math.max(t.g,0)),b:Math.min(255,Math.max(t.b,0)),a:n}}var c="(?:".concat("[-\\+]?\\d*\\.\\d+%?",")|(?:").concat("[-\\+]?\\d+%?",")"),u="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),s="[\\s|\\(]+(".concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")[,|\\s]+(").concat(c,")\\s*\\)?"),l={CSS_UNIT:new RegExp(c),rgb:new RegExp("rgb"+u),rgba:new RegExp("rgba"+s),hsl:new RegExp("hsl"+u),hsla:new RegExp("hsla"+s),hsv:new RegExp("hsv"+u),hsva:new RegExp("hsva"+s),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function f(e){if(0===(e=e.trim().toLowerCase()).length)return!1;var t=!1;if(o.R[e])e=o.R[e],t=!0;else if("transparent"===e)return{r:0,g:0,b:0,a:0,format:"name"};var n=l.rgb.exec(e);return n?{r:n[1],g:n[2],b:n[3]}:(n=l.rgba.exec(e))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=l.hsl.exec(e))?{h:n[1],s:n[2],l:n[3]}:(n=l.hsla.exec(e))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=l.hsv.exec(e))?{h:n[1],s:n[2],v:n[3]}:(n=l.hsva.exec(e))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=l.hex8.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),a:(0,r.T6)(n[4]),format:t?"name":"hex8"}:(n=l.hex6.exec(e))?{r:(0,r.VD)(n[1]),g:(0,r.VD)(n[2]),b:(0,r.VD)(n[3]),format:t?"name":"hex"}:(n=l.hex4.exec(e))?{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),a:(0,r.T6)(n[4]+n[4]),format:t?"name":"hex8"}:!!(n=l.hex3.exec(e))&&{r:(0,r.VD)(n[1]+n[1]),g:(0,r.VD)(n[2]+n[2]),b:(0,r.VD)(n[3]+n[3]),format:t?"name":"hex"}}function d(e){return Boolean(l.CSS_UNIT.exec(String(e)))}},10274:function(e,t,n){"use strict";n.d(t,{C:function(){return c},H:function(){return u}});var r=n(86500),o=n(48701),i=n(1350),a=n(90279),c=function(){function e(t,n){var o;if(void 0===t&&(t=""),void 0===n&&(n={}),t instanceof e)return t;"number"===typeof t&&(t=(0,r.Yt)(t)),this.originalInput=t;var a=(0,i.uA)(t);this.originalInput=t,this.r=a.r,this.g=a.g,this.b=a.b,this.a=a.a,this.roundA=Math.round(100*this.a)/100,this.format=null!==(o=n.format)&&void 0!==o?o:a.format,this.gradientType=n.gradientType,this.r<1&&(this.r=Math.round(this.r)),this.g<1&&(this.g=Math.round(this.g)),this.b<1&&(this.b=Math.round(this.b)),this.isValid=a.ok}return e.prototype.isDark=function(){return this.getBrightness()<128},e.prototype.isLight=function(){return!this.isDark()},e.prototype.getBrightness=function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},e.prototype.getLuminance=function(){var e=this.toRgb(),t=e.r/255,n=e.g/255,r=e.b/255;return.2126*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(n<=.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))},e.prototype.getAlpha=function(){return this.a},e.prototype.setAlpha=function(e){return this.a=(0,a.Yq)(e),this.roundA=Math.round(100*this.a)/100,this},e.prototype.toHsv=function(){var e=(0,r.py)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,v:e.v,a:this.a}},e.prototype.toHsvString=function(){var e=(0,r.py)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.v);return 1===this.a?"hsv(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsva(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHsl=function(){var e=(0,r.lC)(this.r,this.g,this.b);return{h:360*e.h,s:e.s,l:e.l,a:this.a}},e.prototype.toHslString=function(){var e=(0,r.lC)(this.r,this.g,this.b),t=Math.round(360*e.h),n=Math.round(100*e.s),o=Math.round(100*e.l);return 1===this.a?"hsl(".concat(t,", ").concat(n,"%, ").concat(o,"%)"):"hsla(".concat(t,", ").concat(n,"%, ").concat(o,"%, ").concat(this.roundA,")")},e.prototype.toHex=function(e){return void 0===e&&(e=!1),(0,r.vq)(this.r,this.g,this.b,e)},e.prototype.toHexString=function(e){return void 0===e&&(e=!1),"#"+this.toHex(e)},e.prototype.toHex8=function(e){return void 0===e&&(e=!1),(0,r.s)(this.r,this.g,this.b,this.a,e)},e.prototype.toHex8String=function(e){return void 0===e&&(e=!1),"#"+this.toHex8(e)},e.prototype.toRgb=function(){return{r:Math.round(this.r),g:Math.round(this.g),b:Math.round(this.b),a:this.a}},e.prototype.toRgbString=function(){var e=Math.round(this.r),t=Math.round(this.g),n=Math.round(this.b);return 1===this.a?"rgb(".concat(e,", ").concat(t,", ").concat(n,")"):"rgba(".concat(e,", ").concat(t,", ").concat(n,", ").concat(this.roundA,")")},e.prototype.toPercentageRgb=function(){var e=function(e){return"".concat(Math.round(100*(0,a.sh)(e,255)),"%")};return{r:e(this.r),g:e(this.g),b:e(this.b),a:this.a}},e.prototype.toPercentageRgbString=function(){var e=function(e){return Math.round(100*(0,a.sh)(e,255))};return 1===this.a?"rgb(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%)"):"rgba(".concat(e(this.r),"%, ").concat(e(this.g),"%, ").concat(e(this.b),"%, ").concat(this.roundA,")")},e.prototype.toName=function(){if(0===this.a)return"transparent";if(this.a<1)return!1;for(var e="#"+(0,r.vq)(this.r,this.g,this.b,!1),t=0,n=Object.entries(o.R);t=0;return t||!r||!e.startsWith("hex")&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this.a?this.toName():this.toRgbString()},e.prototype.toNumber=function(){return(Math.round(this.r)<<16)+(Math.round(this.g)<<8)+Math.round(this.b)},e.prototype.clone=function(){return new e(this.toString())},e.prototype.lighten=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l+=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.brighten=function(t){void 0===t&&(t=10);var n=this.toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-t/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-t/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-t/100*255))),new e(n)},e.prototype.darken=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.l-=t/100,n.l=(0,a.V2)(n.l),new e(n)},e.prototype.tint=function(e){return void 0===e&&(e=10),this.mix("white",e)},e.prototype.shade=function(e){return void 0===e&&(e=10),this.mix("black",e)},e.prototype.desaturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s-=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.saturate=function(t){void 0===t&&(t=10);var n=this.toHsl();return n.s+=t/100,n.s=(0,a.V2)(n.s),new e(n)},e.prototype.greyscale=function(){return this.desaturate(100)},e.prototype.spin=function(t){var n=this.toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,new e(n)},e.prototype.mix=function(t,n){void 0===n&&(n=50);var r=this.toRgb(),o=new e(t).toRgb(),i=n/100;return new e({r:(o.r-r.r)*i+r.r,g:(o.g-r.g)*i+r.g,b:(o.b-r.b)*i+r.b,a:(o.a-r.a)*i+r.a})},e.prototype.analogous=function(t,n){void 0===t&&(t=6),void 0===n&&(n=30);var r=this.toHsl(),o=360/n,i=[this];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,i.push(new e(r));return i},e.prototype.complement=function(){var t=this.toHsl();return t.h=(t.h+180)%360,new e(t)},e.prototype.monochromatic=function(t){void 0===t&&(t=6);for(var n=this.toHsv(),r=n.h,o=n.s,i=n.v,a=[],c=1/t;t--;)a.push(new e({h:r,s:o,v:i})),i=(i+c)%1;return a},e.prototype.splitcomplement=function(){var t=this.toHsl(),n=t.h;return[this,new e({h:(n+72)%360,s:t.s,l:t.l}),new e({h:(n+216)%360,s:t.s,l:t.l})]},e.prototype.onBackground=function(t){var n=this.toRgb(),r=new e(t).toRgb();return new e({r:r.r+(n.r-r.r)*n.a,g:r.g+(n.g-r.g)*n.a,b:r.b+(n.b-r.b)*n.a})},e.prototype.triad=function(){return this.polyad(3)},e.prototype.tetrad=function(){return this.polyad(4)},e.prototype.polyad=function(t){for(var n=this.toHsl(),r=n.h,o=[this],i=360/t,a=1;a1)&&(e=1),e}function a(e){return e<=1?"".concat(100*Number(e),"%"):e}function c(e){return 1===e.length?"0"+e:String(e)}n.d(t,{sh:function(){return r},V2:function(){return o},Yq:function(){return i},JX:function(){return a},FZ:function(){return c}})},86743:function(e,t,n){"use strict";var r=n(87462),o=n(97685),i=n(67294),a=n(71577),c=n(8613),u=n(73577);function s(e){return!(!e||!e.then)}t.Z=function(e){var t=i.useRef(!1),n=i.useRef(),l=(0,u.Z)(),f=i.useState(!1),d=(0,o.Z)(f,2),p=d[0],v=d[1];i.useEffect((function(){var t;if(e.autoFocus){var r=n.current;t=setTimeout((function(){return r.focus()}))}return function(){t&&clearTimeout(t)}}),[]);var m=e.type,h=e.children,g=e.prefixCls,y=e.buttonProps;return i.createElement(a.Z,(0,r.Z)({},(0,c.n)(m),{onClick:function(n){var r=e.actionFn,o=e.close;if(!t.current)if(t.current=!0,r){var i;if(e.emitEvent){if(i=r(n),e.quitOnNullishReturnValue&&!s(i))return t.current=!1,void o(n)}else if(r.length)i=r(o),t.current=!1;else if(!(i=r()))return void o();!function(n){var r=e.close;s(n)&&(v(!0),n.then((function(){l()||v(!1),r.apply(void 0,arguments),t.current=!1}),(function(e){console.error(e),l()||v(!1),t.current=!1})))}(i)}else o()},loading:p,prefixCls:g},y,{ref:n}),h)}},98787:function(e,t,n){"use strict";n.d(t,{E:function(){return o},Y:function(){return i}});var r=n(93355),o=(0,r.b)("success","processing","error","default","warning"),i=(0,r.b)("pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime")},21687:function(e,t,n){"use strict";var r=n(80334);t.Z=function(e,t,n){(0,r.ZP)(e,"[antd: ".concat(t,"] ").concat(n))}},5467:function(e,t,n){"use strict";function r(e){return Object.keys(e).reduce((function(t,n){return"data-"!==n.substr(0,5)&&"aria-"!==n.substr(0,5)&&"role"!==n||"data-__"===n.substr(0,7)||(t[n]=e[n]),t}),{})}n.d(t,{Z:function(){return r}})},81643:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e?"function"===typeof e?e():e:null}},73577:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(){var e=r.useRef(!0);return r.useEffect((function(){return function(){e.current=!1}}),[]),function(){return!e.current}}},98082:function(e,t,n){"use strict";var r=n(97685),o=n(67294),i=n(31808);t.Z=function(){var e=o.useState(!1),t=(0,r.Z)(e,2),n=t[0],a=t[1];return o.useEffect((function(){a((0,i.fk)())}),[]),n}},33603:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r=function(){return{height:0,opacity:0}},o=function(e){return{height:e.scrollHeight,opacity:1}},i=function(e,t){return!0===(null===t||void 0===t?void 0:t.deadline)||"height"===t.propertyName},a={motionName:"ant-motion-collapse",onAppearStart:r,onEnterStart:r,onAppearActive:o,onEnterActive:o,onLeaveStart:function(e){return{height:e?e.offsetHeight:0}},onLeaveActive:r,onAppearEnd:i,onEnterEnd:i,onLeaveEnd:i,motionDeadline:500},c=function(e,t,n){return void 0!==n?n:"".concat(e,"-").concat(t)};t.Z=a},96159:function(e,t,n){"use strict";n.d(t,{l$:function(){return o},wm:function(){return i},Tm:function(){return a}});var r=n(67294),o=r.isValidElement;function i(e,t,n){return o(e)?r.cloneElement(e,"function"===typeof n?n(e.props||{}):n):t}function a(e,t){return i(e,e,t)}},31808:function(e,t,n){"use strict";n.d(t,{jD:function(){return i},fk:function(){return a}});var r,o=n(98924),i=function(){return(0,o.Z)()&&window.document.documentElement},a=function(){if(!i())return!1;if(void 0!==r)return r;var e=document.createElement("div");return e.style.display="flex",e.style.flexDirection="column",e.style.rowGap="1px",e.appendChild(document.createElement("div")),e.appendChild(document.createElement("div")),document.body.appendChild(e),r=1===e.scrollHeight,document.body.removeChild(e),r}},93355:function(e,t,n){"use strict";n.d(t,{b:function(){return r},a:function(){return o}});var r=function(){for(var e=arguments.length,t=new Array(e),n=0;n1&&void 0!==arguments[1]?arguments[1]:1,n=d++,r=t;function o(){(r-=1)<=0?(e(),delete p[n]):p[n]=(0,f.Z)(o)}return p[n]=(0,f.Z)(o),n}v.cancel=function(e){void 0!==e&&(f.Z.cancel(p[e]),delete p[e])},v.ids=p;var m,h=n(59844),g=n(96159);function y(e){return!e||null===e.offsetParent||e.hidden}function b(e){var t=(e||"").match(/rgba?\((\d*), (\d*), (\d*)(, [\d.]*)?\)/);return!(t&&t[1]&&t[2]&&t[3])||!(t[1]===t[2]&&t[2]===t[3])}var w=function(e){(0,a.Z)(n,e);var t=(0,c.Z)(n);function n(){var e;return(0,r.Z)(this,n),(e=t.apply(this,arguments)).containerRef=u.createRef(),e.animationStart=!1,e.destroyed=!1,e.onClick=function(t,n){var r,o,a=e.props,c=a.insertExtraNode;if(!(a.disabled||!t||y(t)||t.className.indexOf("-leave")>=0)){e.extraNode=document.createElement("div");var u=(0,i.Z)(e).extraNode,l=e.context.getPrefixCls;u.className="".concat(l(""),"-click-animating-node");var f=e.getAttributeName();if(t.setAttribute(f,"true"),n&&"#ffffff"!==n&&"rgb(255, 255, 255)"!==n&&b(n)&&!/rgba\((?:\d*, ){3}0\)/.test(n)&&"transparent"!==n){u.style.borderColor=n;var d=(null===(r=t.getRootNode)||void 0===r?void 0:r.call(t))||t.ownerDocument,p=d instanceof Document?d.body:null!==(o=d.firstChild)&&void 0!==o?o:d;m=(0,s.hq)("\n [".concat(l(""),"-click-animating-without-extra-node='true']::after, .").concat(l(""),"-click-animating-node {\n --antd-wave-shadow-color: ").concat(n,";\n }"),"antd-wave",{csp:e.csp,attachTo:p})}c&&t.appendChild(u),["transition","animation"].forEach((function(n){t.addEventListener("".concat(n,"start"),e.onTransitionStart),t.addEventListener("".concat(n,"end"),e.onTransitionEnd)}))}},e.onTransitionStart=function(t){if(!e.destroyed){var n=e.containerRef.current;t&&t.target===n&&!e.animationStart&&e.resetEffect(n)}},e.onTransitionEnd=function(t){t&&"fadeEffect"===t.animationName&&e.resetEffect(t.target)},e.bindAnimationEvent=function(t){if(t&&t.getAttribute&&!t.getAttribute("disabled")&&!(t.className.indexOf("disabled")>=0)){var n=function(n){if("INPUT"!==n.target.tagName&&!y(n.target)){e.resetEffect(t);var r=getComputedStyle(t).getPropertyValue("border-top-color")||getComputedStyle(t).getPropertyValue("border-color")||getComputedStyle(t).getPropertyValue("background-color");e.clickWaveTimeoutId=window.setTimeout((function(){return e.onClick(t,r)}),0),v.cancel(e.animationStartId),e.animationStart=!0,e.animationStartId=v((function(){e.animationStart=!1}),10)}};return t.addEventListener("click",n,!0),{cancel:function(){t.removeEventListener("click",n,!0)}}}},e.renderWave=function(t){var n=t.csp,r=e.props.children;if(e.csp=n,!u.isValidElement(r))return r;var o=e.containerRef;return(0,l.Yr)(r)&&(o=(0,l.sQ)(r.ref,e.containerRef)),(0,g.Tm)(r,{ref:o})},e}return(0,o.Z)(n,[{key:"componentDidMount",value:function(){var e=this.containerRef.current;e&&1===e.nodeType&&(this.instance=this.bindAnimationEvent(e))}},{key:"componentWillUnmount",value:function(){this.instance&&this.instance.cancel(),this.clickWaveTimeoutId&&clearTimeout(this.clickWaveTimeoutId),this.destroyed=!0}},{key:"getAttributeName",value:function(){var e=this.context.getPrefixCls,t=this.props.insertExtraNode;return"".concat(e(""),t?"-click-animating":"-click-animating-without-extra-node")}},{key:"resetEffect",value:function(e){var t=this;if(e&&e!==this.extraNode&&e instanceof Element){var n=this.props.insertExtraNode,r=this.getAttributeName();e.setAttribute(r,"false"),m&&(m.innerHTML=""),n&&this.extraNode&&e.contains(this.extraNode)&&e.removeChild(this.extraNode),["transition","animation"].forEach((function(n){e.removeEventListener("".concat(n,"start"),t.onTransitionStart),e.removeEventListener("".concat(n,"end"),t.onTransitionEnd)}))}}},{key:"render",value:function(){return u.createElement(h.C,null,this.renderWave)}}]),n}(u.Component);w.contextType=h.E_},14670:function(e,t,n){"use strict";n.d(t,{Z:function(){return M}});var r=n(87462),o=n(4942),i=n(97685),a=n(67294),c=n(97937),u=n(8751),s=n(11475),l=n(45605),f=n(18429),d=n(89739),p=n(21640),v=n(78860),m=n(4340),h=n(88320),g=n(94184),y=n.n(g),b=n(59844),w=n(5467),x=n(15671),E=n(43144),C=n(60136),Z=n(3289),k=function(e){(0,C.Z)(n,e);var t=(0,Z.Z)(n);function n(){var e;return(0,x.Z)(this,n),(e=t.apply(this,arguments)).state={error:void 0,info:{componentStack:""}},e}return(0,E.Z)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,o=this.state,i=o.error,c=o.info,u=c&&c.componentStack?c.componentStack:null,s="undefined"===typeof t?(i||"").toString():t,l="undefined"===typeof n?u:n;return i?a.createElement(M,{type:"error",message:s,description:a.createElement("pre",null,l)}):r}}]),n}(a.Component),N=n(96159),S=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o2),"Button","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(N,"` at https://ant.design/components/icon")),(0,b.Z)(!(j&&T(m)),"Button","`link` or `text` button can't be a `ghost` button.");var te=K("btn",p),ne=!1!==G,re=E||L,oe=re&&{large:"lg",small:"sm",middle:void 0}[re]||"",ie=V?"loading":N,ae=s()(te,(n={},(0,o.Z)(n,"".concat(te,"-").concat(x),"default"!==x&&x),(0,o.Z)(n,"".concat(te,"-").concat(m),m),(0,o.Z)(n,"".concat(te,"-").concat(oe),oe),(0,o.Z)(n,"".concat(te,"-icon-only"),!Z&&0!==Z&&!!ie),(0,o.Z)(n,"".concat(te,"-background-ghost"),j&&!T(m)),(0,o.Z)(n,"".concat(te,"-loading"),V),(0,o.Z)(n,"".concat(te,"-two-chinese-chars"),B&&ne),(0,o.Z)(n,"".concat(te,"-block"),F),(0,o.Z)(n,"".concat(te,"-dangerous"),!!h),(0,o.Z)(n,"".concat(te,"-rtl"),"rtl"===Y),n),C),ce=N&&!V?N:c.createElement(k,{existIcon:!!N,prefixCls:te,loading:!!V}),ue=Z||0===Z?function(e,t){var n=!1,r=[];return c.Children.forEach(e,(function(e){var t=(0,a.Z)(e),o="string"===t||"number"===t;if(n&&o){var i=r.length-1,c=r[i];r[i]="".concat(c).concat(e)}else r.push(e);n=o})),c.Children.map(r,(function(e){return M(e,t)}))}(Z,Q()&&ne):null,se=(0,l.Z)(I,["navigate"]);if(void 0!==se.href)return c.createElement("a",(0,r.Z)({},se,{className:ae,onClick:ee,ref:X}),ce,ue);var le=c.createElement("button",(0,r.Z)({},I,{type:_,className:ae,onClick:ee,ref:X}),ce,ue);return T(m)?le:c.createElement(g.Z,{disabled:!!V},le)},F=c.forwardRef(A);F.displayName="Button",F.Group=h,F.__ANT_BUTTON=!0;var R=F},71577:function(e,t,n){"use strict";var r=n(8613);t.Z=r.Z},97647:function(e,t,n){"use strict";n.d(t,{q:function(){return i}});var r=n(67294),o=r.createContext(void 0),i=function(e){var t=e.children,n=e.size;return r.createElement(o.Consumer,null,(function(e){return r.createElement(o.Provider,{value:n||e},t)}))};t.Z=o},59844:function(e,t,n){"use strict";n.d(t,{C:function(){return u},E_:function(){return c},PG:function(){return s}});var r=n(87462),o=n(67294),i=n(62986),a=function(e){return o.createElement(u,null,(function(t){var n=(0,t.getPrefixCls)("empty");switch(e){case"Table":case"List":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE});case"Select":case"TreeSelect":case"Cascader":case"Transfer":case"Mentions":return o.createElement(i.Z,{image:i.Z.PRESENTED_IMAGE_SIMPLE,className:"".concat(n,"-small")});default:return o.createElement(i.Z,null)}}))},c=o.createContext({getPrefixCls:function(e,t){return t||(e?"ant-".concat(e):"ant")},renderEmpty:a}),u=c.Consumer;function s(e){return function(t){var n=function(n){return o.createElement(u,null,(function(i){var a=e.prefixCls,c=(0,i.getPrefixCls)(a,n.prefixCls);return o.createElement(t,(0,r.Z)({},i,n,{prefixCls:c}))}))},i=t.constructor,a=i&&i.displayName||t.name||"Component";return n.displayName="withConfigConsumer(".concat(a,")"),n}}},62986:function(e,t,n){"use strict";n.d(t,{Z:function(){return h}});var r=n(87462),o=n(4942),i=n(67294),a=n(94184),c=n.n(a),u=n(59844),s=n(23715),l=function(){var e=(0,i.useContext(u.E_).getPrefixCls)("empty-img-default");return i.createElement("svg",{className:e,width:"184",height:"152",viewBox:"0 0 184 152",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("g",{transform:"translate(24 31.67)"},i.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"67.797",cy:"106.89",rx:"67.797",ry:"12.668"}),i.createElement("path",{className:"".concat(e,"-path-1"),d:"M122.034 69.674L98.109 40.229c-1.148-1.386-2.826-2.225-4.593-2.225h-51.44c-1.766 0-3.444.839-4.592 2.225L13.56 69.674v15.383h108.475V69.674z"}),i.createElement("path",{className:"".concat(e,"-path-2"),d:"M101.537 86.214L80.63 61.102c-1.001-1.207-2.507-1.867-4.048-1.867H31.724c-1.54 0-3.047.66-4.048 1.867L6.769 86.214v13.792h94.768V86.214z",transform:"translate(13.56)"}),i.createElement("path",{className:"".concat(e,"-path-3"),d:"M33.83 0h67.933a4 4 0 0 1 4 4v93.344a4 4 0 0 1-4 4H33.83a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4z"}),i.createElement("path",{className:"".concat(e,"-path-4"),d:"M42.678 9.953h50.237a2 2 0 0 1 2 2V36.91a2 2 0 0 1-2 2H42.678a2 2 0 0 1-2-2V11.953a2 2 0 0 1 2-2zM42.94 49.767h49.713a2.262 2.262 0 1 1 0 4.524H42.94a2.262 2.262 0 0 1 0-4.524zM42.94 61.53h49.713a2.262 2.262 0 1 1 0 4.525H42.94a2.262 2.262 0 0 1 0-4.525zM121.813 105.032c-.775 3.071-3.497 5.36-6.735 5.36H20.515c-3.238 0-5.96-2.29-6.734-5.36a7.309 7.309 0 0 1-.222-1.79V69.675h26.318c2.907 0 5.25 2.448 5.25 5.42v.04c0 2.971 2.37 5.37 5.277 5.37h34.785c2.907 0 5.277-2.421 5.277-5.393V75.1c0-2.972 2.343-5.426 5.25-5.426h26.318v33.569c0 .617-.077 1.216-.221 1.789z"})),i.createElement("path",{className:"".concat(e,"-path-5"),d:"M149.121 33.292l-6.83 2.65a1 1 0 0 1-1.317-1.23l1.937-6.207c-2.589-2.944-4.109-6.534-4.109-10.408C138.802 8.102 148.92 0 161.402 0 173.881 0 184 8.102 184 18.097c0 9.995-10.118 18.097-22.599 18.097-4.528 0-8.744-1.066-12.28-2.902z"}),i.createElement("g",{className:"".concat(e,"-g"),transform:"translate(149.65 15.383)"},i.createElement("ellipse",{cx:"20.654",cy:"3.167",rx:"2.849",ry:"2.815"}),i.createElement("path",{d:"M5.698 5.63H0L2.898.704zM9.259.704h4.985V5.63H9.259z"}))))},f=function(){var e=(0,i.useContext(u.E_).getPrefixCls)("empty-img-simple");return i.createElement("svg",{className:e,width:"64",height:"41",viewBox:"0 0 64 41",xmlns:"http://www.w3.org/2000/svg"},i.createElement("g",{transform:"translate(0 1)",fill:"none",fillRule:"evenodd"},i.createElement("ellipse",{className:"".concat(e,"-ellipse"),cx:"32",cy:"33",rx:"32",ry:"7"}),i.createElement("g",{className:"".concat(e,"-g"),fillRule:"nonzero"},i.createElement("path",{d:"M55 12.76L44.854 1.258C44.367.474 43.656 0 42.907 0H21.093c-.749 0-1.46.474-1.947 1.257L9 12.761V22h46v-9.24z"}),i.createElement("path",{d:"M41.613 15.931c0-1.605.994-2.93 2.227-2.931H55v18.137C55 33.26 53.68 35 52.05 35h-40.1C10.32 35 9 33.259 9 31.137V13h11.16c1.233 0 2.227 1.323 2.227 2.928v.022c0 1.605 1.005 2.901 2.237 2.901h14.752c1.232 0 2.237-1.308 2.237-2.913v-.007z",className:"".concat(e,"-path")}))))},d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o3&&void 0!==arguments[3]?arguments[3]:{},o=u.props,c=o.className,s=o.addonBefore,l=o.addonAfter,d=o.size,m=o.disabled,h=o.htmlSize,g=(0,v.Z)(u.props,["prefixCls","onPressEnter","addonBefore","addonAfter","prefix","suffix","allowClear","defaultValue","size","inputType","bordered","htmlSize","showCount"]);return f.createElement("input",(0,i.Z)({autoComplete:r.autoComplete},g,{onChange:u.handleChange,onFocus:u.onFocus,onBlur:u.onBlur,onKeyDown:u.handleKeyDown,className:p()((0,b.X)(e,n,d||t,m,u.direction),(0,a.Z)({},c,c&&!s&&!l)),ref:u.saveInput,size:h}))},u.clearPasswordValueAttribute=function(){u.removePasswordTimeout=setTimeout((function(){u.input&&"password"===u.input.getAttribute("type")&&u.input.hasAttribute("value")&&u.input.removeAttribute("value")}))},u.handleChange=function(e){u.setValue(e.target.value,u.clearPasswordValueAttribute),x(u.input,e,u.props.onChange)},u.handleKeyDown=function(e){var t=u.props,n=t.onPressEnter,r=t.onKeyDown;n&&13===e.keyCode&&n(e),null===r||void 0===r||r(e)},u.renderShowCountSuffix=function(e){var t=u.state.value,n=u.props,i=n.maxLength,c=n.suffix,s=n.showCount,l=Number(i)>0;if(c||s){var d=(0,o.Z)(w(t)).length,v=null;return v="object"===(0,r.Z)(s)?s.formatter({count:d,maxLength:i}):"".concat(d).concat(l?" / ".concat(i):""),f.createElement(f.Fragment,null,!!s&&f.createElement("span",{className:p()("".concat(e,"-show-count-suffix"),(0,a.Z)({},"".concat(e,"-show-count-has-suffix"),!!c))},v),c)}return null},u.renderComponent=function(e){var t=e.getPrefixCls,n=e.direction,r=e.input,o=u.state,a=o.value,c=o.focused,s=u.props,l=s.prefixCls,d=s.bordered,p=void 0===d||d,v=t("input",l);u.direction=n;var h=u.renderShowCountSuffix(v);return f.createElement(g.Z.Consumer,null,(function(e){return f.createElement(m.Z,(0,i.Z)({size:e},u.props,{prefixCls:v,inputType:"input",value:w(a),element:u.renderInput(v,e,p,r),handleReset:u.handleReset,ref:u.saveClearableInput,direction:n,focused:c,triggerFocus:u.focus,bordered:p,suffix:h}))}))};var s="undefined"===typeof e.value?e.defaultValue:e.value;return u.state={value:s,focused:!1,prevValue:e.value},u}return(0,u.Z)(n,[{key:"componentDidMount",value:function(){this.clearPasswordValueAttribute()}},{key:"componentDidUpdate",value:function(){}},{key:"getSnapshotBeforeUpdate",value:function(e){return(0,b.b)(e)!==(0,b.b)(this.props)&&(0,y.Z)(this.input!==document.activeElement,"Input","When Input is focused, dynamic add or remove prefix / suffix will make it lose focus caused by dom structure change. Read more: https://ant.design/components/input/#FAQ"),null}},{key:"componentWillUnmount",value:function(){this.removePasswordTimeout&&clearTimeout(this.removePasswordTimeout)}},{key:"blur",value:function(){this.input.blur()}},{key:"setSelectionRange",value:function(e,t,n){this.input.setSelectionRange(e,t,n)}},{key:"select",value:function(){this.input.select()}},{key:"setValue",value:function(e,t){void 0===this.props.value?this.setState({value:e},t):null===t||void 0===t||t()}},{key:"render",value:function(){return f.createElement(h.C,null,this.renderComponent)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevValue,r={prevValue:e.value};return void 0===e.value&&n===e.value||(r.value=e.value),e.disabled&&(r.focused=!1),r}}]),n}(f.Component);C.defaultProps={type:"text"},t.ZP=C},96330:function(e,t,n){"use strict";var r=n(71002),o=n(87462),i=n(4942),a=n(97685),c=n(74902),u=n(67294),s=n(57239),l=n(98423),f=n(94184),d=n.n(f),p=n(21770),v=n(69430),m=n(59844),h=n(77749),g=n(97647),y=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);or&&(o=t),o}var x=u.forwardRef((function(e,t){var n,f=e.prefixCls,x=e.bordered,E=void 0===x||x,C=e.showCount,Z=void 0!==C&&C,k=e.maxLength,N=e.className,S=e.style,P=e.size,O=e.onCompositionStart,T=e.onCompositionEnd,M=e.onChange,j=y(e,["prefixCls","bordered","showCount","maxLength","className","style","size","onCompositionStart","onCompositionEnd","onChange"]),A=u.useContext(m.E_),F=A.getPrefixCls,R=A.direction,_=u.useContext(g.Z),I=u.useRef(null),L=u.useRef(null),D=u.useState(!1),z=(0,a.Z)(D,2),V=z[0],H=z[1],U=u.useRef(),q=u.useRef(0),B=(0,p.Z)(j.defaultValue,{value:j.value}),W=(0,a.Z)(B,2),$=W[0],K=W[1],G=j.hidden,Y=function(e,t){void 0===j.value&&(K(e),null===t||void 0===t||t())},X=Number(k)>0,Q=F("input",f);u.useImperativeHandle(t,(function(){var e;return{resizableTextArea:null===(e=I.current)||void 0===e?void 0:e.resizableTextArea,focus:function(e){var t,n;(0,h.nH)(null===(n=null===(t=I.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e)},blur:function(){var e;return null===(e=I.current)||void 0===e?void 0:e.blur()}}}));var J=u.createElement(s.default,(0,o.Z)({},(0,l.Z)(j,["allowClear"]),{className:d()((n={},(0,i.Z)(n,"".concat(Q,"-borderless"),!E),(0,i.Z)(n,N,N&&!Z),(0,i.Z)(n,"".concat(Q,"-sm"),"small"===_||"small"===P),(0,i.Z)(n,"".concat(Q,"-lg"),"large"===_||"large"===P),n)),style:Z?void 0:S,prefixCls:Q,onCompositionStart:function(e){H(!0),U.current=$,q.current=e.currentTarget.selectionStart,null===O||void 0===O||O(e)},onChange:function(e){var t=e.target.value;!V&&X&&(t=w(e.target.selectionStart>=k+1||e.target.selectionStart===t.length||!e.target.selectionStart,$,t,k));Y(t),(0,h.rJ)(e.currentTarget,e,M,t)},onCompositionEnd:function(e){var t;H(!1);var n=e.currentTarget.value;X&&(n=w(q.current>=k+1||q.current===(null===(t=U.current)||void 0===t?void 0:t.length),U.current,n,k));n!==$&&(Y(n),(0,h.rJ)(e.currentTarget,e,M,n)),null===T||void 0===T||T(e)},ref:I})),ee=(0,h.D7)($);V||!X||null!==j.value&&void 0!==j.value||(ee=b(ee,k));var te=u.createElement(v.Z,(0,o.Z)({},j,{prefixCls:Q,direction:R,inputType:"text",value:ee,element:J,handleReset:function(e){var t,n;Y("",(function(){var e;null===(e=I.current)||void 0===e||e.focus()})),(0,h.rJ)(null===(n=null===(t=I.current)||void 0===t?void 0:t.resizableTextArea)||void 0===n?void 0:n.textArea,e,M)},ref:L,bordered:E,style:Z?void 0:S}));if(Z){var ne=(0,c.Z)(ee).length,re="";return re="object"===(0,r.Z)(Z)?Z.formatter({count:ne,maxLength:k}):"".concat(ne).concat(X?" / ".concat(k):""),u.createElement("div",{hidden:G,className:d()("".concat(Q,"-textarea"),(0,i.Z)({},"".concat(Q,"-textarea-rtl"),"rtl"===R),"".concat(Q,"-textarea-show-count"),N),style:S,"data-count":re},te)}return te}));t.Z=x},69677:function(e,t,n){"use strict";n.d(t,{Z:function(){return P}});var r=n(77749),o=n(4942),i=n(67294),a=n(94184),c=n.n(a),u=n(59844),s=function(e){return i.createElement(u.C,null,(function(t){var n,r=t.getPrefixCls,a=t.direction,u=e.prefixCls,s=e.className,l=void 0===s?"":s,f=r("input-group",u),d=c()(f,(n={},(0,o.Z)(n,"".concat(f,"-lg"),"large"===e.size),(0,o.Z)(n,"".concat(f,"-sm"),"small"===e.size),(0,o.Z)(n,"".concat(f,"-compact"),e.compact),(0,o.Z)(n,"".concat(f,"-rtl"),"rtl"===a),n),l);return i.createElement("span",{className:d,style:e.style,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,onFocus:e.onFocus,onBlur:e.onBlur},e.children)}))},l=n(87462),f=n(42550),d=n(68795),p=n(71577),v=n(97647),m=n(96159),h=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0&&void 0!==arguments[0]?arguments[0]:"";return e+=1,"".concat(t).concat(e)}}(),Z=a.forwardRef((function(e,t){var n=e.prefixCls,c=e.className,l=e.trigger,f=e.children,d=e.defaultCollapsed,p=void 0!==d&&d,Z=e.theme,k=void 0===Z?"dark":Z,N=e.style,S=void 0===N?{}:N,P=e.collapsible,O=void 0!==P&&P,T=e.reverseArrow,M=void 0!==T&&T,j=e.width,A=void 0===j?200:j,F=e.collapsedWidth,R=void 0===F?80:F,_=e.zeroWidthTriggerStyle,I=e.breakpoint,L=e.onCollapse,D=e.onBreakpoint,z=w(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),V=(0,a.useContext)(g.Gs).siderHook,H=(0,a.useState)("collapsed"in z?z.collapsed:p),U=(0,i.Z)(H,2),q=U[0],B=U[1],W=(0,a.useState)(!1),$=(0,i.Z)(W,2),K=$[0],G=$[1];(0,a.useEffect)((function(){"collapsed"in z&&B(z.collapsed)}),[z.collapsed]);var Y=function(e,t){"collapsed"in z||B(e),null===L||void 0===L||L(e,t)},X=(0,a.useRef)();X.current=function(e){G(e.matches),null===D||void 0===D||D(e.matches),q!==e.matches&&Y(e.matches,"responsive")},(0,a.useEffect)((function(){function e(e){return X.current(e)}var t;if("undefined"!==typeof window){var n=window.matchMedia;if(n&&I&&I in x){t=n("(max-width: ".concat(x[I],")"));try{t.addEventListener("change",e)}catch(r){t.addListener(e)}e(t)}}return function(){try{null===t||void 0===t||t.removeEventListener("change",e)}catch(r){null===t||void 0===t||t.removeListener(e)}}}),[I]),(0,a.useEffect)((function(){var e=C("ant-sider-");return V.addSider(e),function(){return V.removeSider(e)}}),[]);var Q=function(){Y(!q,"clickTrigger")},J=(0,a.useContext)(y.E_).getPrefixCls,ee=a.useMemo((function(){return{siderCollapsed:q}}),[q]);return a.createElement(E.Provider,{value:ee},function(){var e,i=J("layout-sider",n),d=(0,s.Z)(z,["collapsed"]),p=q?R:A,g=b(p)?"".concat(p,"px"):String(p),y=0===parseFloat(String(R||0))?a.createElement("span",{onClick:Q,className:u()("".concat(i,"-zero-width-trigger"),"".concat(i,"-zero-width-trigger-").concat(M?"right":"left")),style:_},l||a.createElement(v,null)):null,w={expanded:M?a.createElement(m.Z,null):a.createElement(h.Z,null),collapsed:M?a.createElement(h.Z,null):a.createElement(m.Z,null)}[q?"collapsed":"expanded"],x=null!==l?y||a.createElement("div",{className:"".concat(i,"-trigger"),onClick:Q,style:{width:g}},l||w):null,E=(0,o.Z)((0,o.Z)({},S),{flex:"0 0 ".concat(g),maxWidth:g,minWidth:g,width:g}),C=u()(i,"".concat(i,"-").concat(k),(e={},(0,r.Z)(e,"".concat(i,"-collapsed"),!!q),(0,r.Z)(e,"".concat(i,"-has-trigger"),O&&null!==l&&!y),(0,r.Z)(e,"".concat(i,"-below"),!!K),(0,r.Z)(e,"".concat(i,"-zero-width"),0===parseFloat(g)),e),c);return a.createElement("aside",(0,o.Z)({className:C},d,{style:E,ref:t}),a.createElement("div",{className:"".concat(i,"-children")},f),O||K&&y?x:null)}())}));Z.displayName="Sider";var k=Z},2897:function(e,t,n){"use strict";n.d(t,{Gs:function(){return d},h4:function(){return h},$_:function(){return g},VY:function(){return y}});var r=n(74902),o=n(4942),i=n(97685),a=n(87462),c=n(67294),u=n(94184),s=n.n(u),l=n(59844),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o0),(0,o.Z)(t,"".concat(h,"-rtl"),"rtl"===n),t),g),C=c.useMemo((function(){return{siderHook:{addSider:function(e){m((function(t){return[].concat((0,r.Z)(t),[e])}))},removeSider:function(e){m((function(t){return t.filter((function(t){return t!==e}))}))}}}}),[]);return c.createElement(d.Provider,{value:C},c.createElement(w,(0,a.Z)({className:E},x),y))})),h=p({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(v),g=p({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(v),y=p({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(v);t.ZP=m},23715:function(e,t,n){"use strict";n.d(t,{Z:function(){return f},E:function(){return d}});var r=n(87462),o=n(15671),i=n(43144),a=n(60136),c=n(3289),u=n(67294),s=n(6213).Z,l=n(67178),f=function(e){(0,a.Z)(n,e);var t=(0,c.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"getLocale",value:function(){var e=this.props,t=e.componentName,n=e.defaultLocale||s[null!==t&&void 0!==t?t:"global"],o=this.context,i=t&&o?o[t]:{};return(0,r.Z)((0,r.Z)({},n instanceof Function?n():n),i||{})}},{key:"getLocaleCode",value:function(){var e=this.context,t=e&&e.locale;return e&&e.exist&&!t?s.locale:t}},{key:"render",value:function(){return this.props.children(this.getLocale(),this.getLocaleCode(),this.context)}}]),n}(u.Component);function d(e,t){var n=u.useContext(l.Z);return[u.useMemo((function(){var o=t||s[e||"global"],i=e&&n?n[e]:{};return(0,r.Z)((0,r.Z)({},"function"===typeof o?o():o),i||{})}),[e,t,n])]}f.defaultProps={componentName:"global"},f.contextType=l.Z},67178:function(e,t,n){"use strict";var r=(0,n(67294).createContext)(void 0);t.Z=r},6213:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(62906),o=n(87462),i={locale:"en_US",today:"Today",now:"Now",backToToday:"Back to today",ok:"Ok",clear:"Clear",month:"Month",year:"Year",timeSelect:"select time",dateSelect:"select date",weekSelect:"Choose a week",monthSelect:"Choose a month",yearSelect:"Choose a year",decadeSelect:"Choose a decade",yearFormat:"YYYY",dateFormat:"M/D/YYYY",dayFormat:"D",dateTimeFormat:"M/D/YYYY HH:mm:ss",monthBeforeYear:!0,previousMonth:"Previous month (PageUp)",nextMonth:"Next month (PageDown)",previousYear:"Last year (Control + left)",nextYear:"Next year (Control + right)",previousDecade:"Last decade",nextDecade:"Next decade",previousCentury:"Last century",nextCentury:"Next century"},a={placeholder:"Select time",rangePlaceholder:["Start time","End time"]},c={lang:(0,o.Z)({placeholder:"Select date",yearPlaceholder:"Select year",quarterPlaceholder:"Select quarter",monthPlaceholder:"Select month",weekPlaceholder:"Select week",rangePlaceholder:["Start date","End date"],rangeYearPlaceholder:["Start year","End year"],rangeMonthPlaceholder:["Start month","End month"],rangeWeekPlaceholder:["Start week","End week"]},i),timePickerLocale:(0,o.Z)({},a)},u=c,s="${label} is not a valid ${type}",l={locale:"en",Pagination:r.Z,DatePicker:c,TimePicker:a,Calendar:u,global:{placeholder:"Please select"},Table:{filterTitle:"Filter menu",filterConfirm:"OK",filterReset:"Reset",filterEmptyText:"No filters",filterCheckall:"Select all items",filterSearchPlaceholder:"Search in filters",emptyText:"No data",selectAll:"Select current page",selectInvert:"Invert current page",selectNone:"Clear all data",selectionAll:"Select all data",sortTitle:"Sort",expand:"Expand row",collapse:"Collapse row",triggerDesc:"Click to sort descending",triggerAsc:"Click to sort ascending",cancelSort:"Click to cancel sorting"},Modal:{okText:"OK",cancelText:"Cancel",justOkText:"OK"},Popconfirm:{okText:"OK",cancelText:"Cancel"},Transfer:{titles:["",""],searchPlaceholder:"Search here",itemUnit:"item",itemsUnit:"items",remove:"Remove",selectCurrent:"Select current page",removeCurrent:"Remove current page",selectAll:"Select all data",removeAll:"Remove all data",selectInvert:"Invert current page"},Upload:{uploading:"Uploading...",removeFile:"Remove file",uploadError:"Upload error",previewFile:"Preview file",downloadFile:"Download file"},Empty:{description:"No Data"},Icon:{icon:"icon"},Text:{edit:"Edit",copy:"Copy",copied:"Copied",expand:"Expand"},PageHeader:{back:"Back"},Form:{optional:"(optional)",defaultValidateMessages:{default:"Field validation error for ${label}",required:"Please enter ${label}",enum:"${label} must be one of [${enum}]",whitespace:"${label} cannot be a blank character",date:{format:"${label} date format is invalid",parse:"${label} cannot be converted to a date",invalid:"${label} is an invalid date"},types:{string:s,method:s,array:s,object:s,number:s,date:s,boolean:s,integer:s,float:s,regexp:s,email:s,url:s,hex:s},string:{len:"${label} must be ${len} characters",min:"${label} must be at least ${min} characters",max:"${label} must be up to ${max} characters",range:"${label} must be between ${min}-${max} characters"},number:{len:"${label} must be equal to ${len}",min:"${label} must be minimum ${min}",max:"${label} must be maximum ${max}",range:"${label} must be between ${min}-${max}"},array:{len:"Must be ${len} ${label}",min:"At least ${min} ${label}",max:"At most ${max} ${label}",range:"The amount of ${label} must be between ${min}-${max}"},pattern:{mismatch:"${label} does not match the pattern ${pattern}"}}},Image:{preview:"Preview"}}},61709:function(e,t,n){"use strict";n.d(t,{Z:function(){return ut}});var r=n(87462),o=n(15671),i=n(43144),a=n(60136),c=n(3289),u=n(67294),s=n(4942),l=n(1413),f=n(74902),d=n(97685),p=n(91),v=n(94184),m=n.n(v),h=n(96774),g=n.n(h),y=n(21770),b=n(80334),w=n(48611),x=n(15105),E=n(98423),C=n(56982),Z=["children","locked"],k=u.createContext(null);function N(e){var t=e.children,n=e.locked,r=(0,p.Z)(e,Z),o=u.useContext(k),i=(0,C.Z)((function(){return function(e,t){var n=(0,l.Z)({},e);return Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}(o,r)}),[o,r],(function(e,t){return!n&&(e[0]!==t[0]||!g()(e[1],t[1]))}));return u.createElement(k.Provider,{value:i},t)}function S(e,t,n,r){var o=u.useContext(k),i=o.activeKey,a=o.onActive,c=o.onInactive,s={active:i===e};return t||(s.onMouseEnter=function(t){null===n||void 0===n||n({key:e,domEvent:t}),a(e)},s.onMouseLeave=function(t){null===r||void 0===r||r({key:e,domEvent:t}),c(e)}),s}var P=["item"];function O(e){var t=e.item,n=(0,p.Z)(e,P);return Object.defineProperty(n,"item",{get:function(){return(0,b.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function T(e){var t=e.icon,n=e.props,r=e.children;return("function"===typeof t?u.createElement(t,(0,l.Z)({},n)):t)||r||null}function M(e){var t=u.useContext(k),n=t.mode,r=t.rtl,o=t.inlineIndent;if("inline"!==n)return null;return r?{paddingRight:e*o}:{paddingLeft:e*o}}var j=[],A=u.createContext(null);function F(){return u.useContext(A)}var R=u.createContext(j);function _(e){var t=u.useContext(R);return u.useMemo((function(){return void 0!==e?[].concat((0,f.Z)(t),[e]):t}),[t,e])}var I=u.createContext(null),L=u.createContext(null);function D(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function z(e){return D(u.useContext(L),e)}var V=u.createContext({}),H=["title","attribute","elementRef"],U=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],q=["active"],B=function(e){(0,a.Z)(n,e);var t=(0,c.Z)(n);function n(){return(0,o.Z)(this,n),t.apply(this,arguments)}return(0,i.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=(0,p.Z)(e,H),a=(0,E.Z)(i,["eventKey"]);return(0,b.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u.createElement(w.Z.Item,(0,r.Z)({},n,{title:"string"===typeof t?t:void 0},a,{ref:o}))}}]),n}(u.Component),W=function(e){var t,n=e.style,o=e.className,i=e.eventKey,a=(e.warnKey,e.disabled),c=e.itemIcon,d=e.children,v=e.role,h=e.onMouseEnter,g=e.onMouseLeave,y=e.onClick,b=e.onKeyDown,w=e.onFocus,E=(0,p.Z)(e,U),C=z(i),Z=u.useContext(k),N=Z.prefixCls,P=Z.onItemClick,j=Z.disabled,A=Z.overflowDisabled,F=Z.itemIcon,R=Z.selectedKeys,I=Z.onActive,L=u.useContext(V)._internalRenderMenuItem,D="".concat(N,"-item"),H=u.useRef(),W=u.useRef(),$=j||a,K=_(i);var G=function(e){return{key:i,keyPath:(0,f.Z)(K).reverse(),item:H.current,domEvent:e}},Y=c||F,X=S(i,$,h,g),Q=X.active,J=(0,p.Z)(X,q),ee=R.includes(i),te=M(K.length),ne={};"option"===e.role&&(ne["aria-selected"]=ee);var re=u.createElement(B,(0,r.Z)({ref:H,elementRef:W,role:null===v?"none":v||"menuitem",tabIndex:a?null:-1,"data-menu-id":A&&C?null:C},E,J,ne,{component:"li","aria-disabled":a,style:(0,l.Z)((0,l.Z)({},te),n),className:m()(D,(t={},(0,s.Z)(t,"".concat(D,"-active"),Q),(0,s.Z)(t,"".concat(D,"-selected"),ee),(0,s.Z)(t,"".concat(D,"-disabled"),$),t),o),onClick:function(e){if(!$){var t=G(e);null===y||void 0===y||y(O(t)),P(t)}},onKeyDown:function(e){if(null===b||void 0===b||b(e),e.which===x.Z.ENTER){var t=G(e);null===y||void 0===y||y(O(t)),P(t)}},onFocus:function(e){I(i),null===w||void 0===w||w(e)}}),d,u.createElement(T,{props:(0,l.Z)((0,l.Z)({},e),{},{isSelected:ee}),icon:Y}));return L&&(re=L(re,e)),re};var $=function(e){var t=e.eventKey,n=F(),r=_(t);return u.useEffect((function(){if(n)return n.registerPath(t,r),function(){n.unregisterPath(t,r)}}),[r]),n?null:u.createElement(W,e)},K=n(50344);function G(e,t){return(0,K.Z)(e).map((function(e,n){if(u.isValidElement(e)){var r,o,i=e.key,a=null!==(r=null===(o=e.props)||void 0===o?void 0:o.eventKey)&&void 0!==r?r:i;(null===a||void 0===a)&&(a="tmp_key-".concat([].concat((0,f.Z)(t),[n]).join("-")));var c={key:a,eventKey:a};return u.cloneElement(e,c)}return e}))}function Y(e){var t=u.useRef(e);t.current=e;var n=u.useCallback((function(){for(var e,n=arguments.length,r=new Array(n),o=0;o1&&(E.motionAppear=!1);var C=E.onVisibleChanged;return E.onVisibleChanged=function(e){return h.current||e||w(!0),null===C||void 0===C?void 0:C(e)},b?null:u.createElement(N,{mode:a,locked:!h.current},u.createElement(se.Z,(0,r.Z)({visible:x},E,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),(function(e){var n=e.className,r=e.style;return u.createElement(ee,{id:t,className:n,style:r},i)})))}var fe=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],de=["active"],pe=function(e){var t,n=e.style,o=e.className,i=e.title,a=e.eventKey,c=(e.warnKey,e.disabled),f=e.internalPopupClose,v=e.children,h=e.itemIcon,g=e.expandIcon,y=e.popupClassName,b=e.popupOffset,x=e.onClick,E=e.onMouseEnter,C=e.onMouseLeave,Z=e.onTitleClick,P=e.onTitleMouseEnter,j=e.onTitleMouseLeave,A=(0,p.Z)(e,fe),F=z(a),R=u.useContext(k),L=R.prefixCls,D=R.mode,H=R.openKeys,U=R.disabled,q=R.overflowDisabled,B=R.activeKey,W=R.selectedKeys,$=R.itemIcon,K=R.expandIcon,G=R.onItemClick,X=R.onOpenChange,Q=R.onActive,J=u.useContext(V)._internalRenderSubMenuItem,te=u.useContext(I).isSubPathKey,ne=_(),re="".concat(L,"-submenu"),oe=U||c,ie=u.useRef(),ae=u.useRef();var ce=h||$,se=g||K,pe=H.includes(a),ve=!q&&pe,me=te(W,a),he=S(a,oe,P,j),ge=he.active,ye=(0,p.Z)(he,de),be=u.useState(!1),we=(0,d.Z)(be,2),xe=we[0],Ee=we[1],Ce=function(e){oe||Ee(e)},Ze=u.useMemo((function(){return ge||"inline"!==D&&(xe||te([B],a))}),[D,ge,B,xe,a,te]),ke=M(ne.length),Ne=Y((function(e){null===x||void 0===x||x(O(e)),G(e)})),Se=F&&"".concat(F,"-popup"),Pe=u.createElement("div",(0,r.Z)({role:"menuitem",style:ke,className:"".concat(re,"-title"),tabIndex:oe?null:-1,ref:ie,title:"string"===typeof i?i:null,"data-menu-id":q&&F?null:F,"aria-expanded":ve,"aria-haspopup":!0,"aria-controls":Se,"aria-disabled":oe,onClick:function(e){oe||(null===Z||void 0===Z||Z({key:a,domEvent:e}),"inline"===D&&X(a,!pe))},onFocus:function(){Q(a)}},ye),i,u.createElement(T,{icon:"horizontal"!==D?se:null,props:(0,l.Z)((0,l.Z)({},e),{},{isOpen:ve,isSubMenu:!0})},u.createElement("i",{className:"".concat(re,"-arrow")}))),Oe=u.useRef(D);if("inline"!==D&&(Oe.current=ne.length>1?"vertical":D),!q){var Te=Oe.current;Pe=u.createElement(ue,{mode:Te,prefixCls:re,visible:!f&&ve&&"inline"!==D,popupClassName:y,popupOffset:b,popup:u.createElement(N,{mode:"horizontal"===Te?"vertical":Te},u.createElement(ee,{id:Se,ref:ae},v)),disabled:oe,onVisibleChange:function(e){"inline"!==D&&X(a,e)}},Pe)}var Me=u.createElement(w.Z.Item,(0,r.Z)({role:"none"},A,{component:"li",style:n,className:m()(re,"".concat(re,"-").concat(D),o,(t={},(0,s.Z)(t,"".concat(re,"-open"),ve),(0,s.Z)(t,"".concat(re,"-active"),Ze),(0,s.Z)(t,"".concat(re,"-selected"),me),(0,s.Z)(t,"".concat(re,"-disabled"),oe),t)),onMouseEnter:function(e){Ce(!0),null===E||void 0===E||E({key:a,domEvent:e})},onMouseLeave:function(e){Ce(!1),null===C||void 0===C||C({key:a,domEvent:e})}}),Pe,!q&&u.createElement(le,{id:Se,open:ve,keyPath:ne},v));return J&&(Me=J(Me,e)),u.createElement(N,{onItemClick:Ne,mode:"horizontal"===D?"vertical":D,itemIcon:ce,expandIcon:se},Me)};function ve(e){var t,n=e.eventKey,r=e.children,o=_(n),i=G(r,o),a=F();return u.useEffect((function(){if(a)return a.registerPath(n,o),function(){a.unregisterPath(n,o)}}),[o]),t=a?i:u.createElement(pe,e,i),u.createElement(R.Provider,{value:o},t)}var me=n(88603),he=x.Z.LEFT,ge=x.Z.RIGHT,ye=x.Z.UP,be=x.Z.DOWN,we=x.Z.ENTER,xe=x.Z.ESC,Ee=x.Z.HOME,Ce=x.Z.END,Ze=[ye,be,he,ge];function ke(e,t){return(0,me.tS)(e,!0).filter((function(e){return t.has(e)}))}function Ne(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var o=ke(e,t),i=o.length,a=o.findIndex((function(e){return n===e}));return r<0?-1===a?a=i-1:a-=1:r>0&&(a+=1),o[a=(a+i)%i]}function Se(e,t,n,r,o,i,a,c,l,f){var d=u.useRef(),p=u.useRef();p.current=t;var v=function(){ne.Z.cancel(d.current)};return u.useEffect((function(){return function(){v()}}),[]),function(u){var m=u.which;if([].concat(Ze,[we,xe,Ee,Ce]).includes(m)){var h,g,y,b=function(){return h=new Set,g=new Map,y=new Map,i().forEach((function(e){var t=document.querySelector("[data-menu-id='".concat(D(r,e),"']"));t&&(h.add(t),y.set(t,e),g.set(e,t))})),h};b();var w=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(g.get(t),h),x=y.get(w),E=function(e,t,n,r){var o,i,a,c,u="prev",l="next",f="children",d="parent";if("inline"===e&&r===we)return{inlineTrigger:!0};var p=(o={},(0,s.Z)(o,ye,u),(0,s.Z)(o,be,l),o),v=(i={},(0,s.Z)(i,he,n?l:u),(0,s.Z)(i,ge,n?u:l),(0,s.Z)(i,be,f),(0,s.Z)(i,we,f),i),m=(a={},(0,s.Z)(a,ye,u),(0,s.Z)(a,be,l),(0,s.Z)(a,we,f),(0,s.Z)(a,xe,d),(0,s.Z)(a,he,n?f:d),(0,s.Z)(a,ge,n?d:f),a);switch(null===(c={inline:p,horizontal:v,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m}["".concat(e).concat(t?"":"Sub")])||void 0===c?void 0:c[r]){case u:return{offset:-1,sibling:!0};case l:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(e,1===a(x,!0).length,n,m);if(!E&&m!==Ee&&m!==Ce)return;(Ze.includes(m)||[Ee,Ce].includes(m))&&u.preventDefault();var C=function(e){if(e){var t=e,n=e.querySelector("a");(null===n||void 0===n?void 0:n.getAttribute("href"))&&(t=n);var r=y.get(e);c(r),v(),d.current=(0,ne.Z)((function(){p.current===r&&t.focus()}))}};if([Ee,Ce].includes(m)||E.sibling||!w){var Z,k,N=ke(Z=w&&"inline"!==e?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(w):o.current,h);k=m===Ee?N[0]:m===Ce?N[N.length-1]:Ne(Z,h,w,E.offset),C(k)}else if(E.inlineTrigger)l(x);else if(E.offset>0)l(x,!0),v(),d.current=(0,ne.Z)((function(){b();var e=w.getAttribute("aria-controls"),t=Ne(document.getElementById(e),h);C(t)}),5);else if(E.offset<0){var S=a(x,!0),P=S[S.length-2],O=g.get(P);l(P,!1),C(O)}}null===f||void 0===f||f(u)}}var Pe=Math.random().toFixed(5).toString().slice(2),Oe=0;var Te="__RC_UTIL_PATH_SPLIT__",Me=function(e){return e.join(Te)},je="rc-menu-more";function Ae(){var e=u.useState({}),t=(0,d.Z)(e,2)[1],n=(0,u.useRef)(new Map),r=(0,u.useRef)(new Map),o=u.useState([]),i=(0,d.Z)(o,2),a=i[0],c=i[1],s=(0,u.useRef)(0),l=(0,u.useRef)(!1),p=(0,u.useCallback)((function(e,o){var i=Me(o);r.current.set(i,e),n.current.set(e,i),s.current+=1;var a,c=s.current;a=function(){c===s.current&&(l.current||t({}))},Promise.resolve().then(a)}),[]),v=(0,u.useCallback)((function(e,t){var o=Me(t);r.current.delete(o),n.current.delete(e)}),[]),m=(0,u.useCallback)((function(e){c(e)}),[]),h=(0,u.useCallback)((function(e,t){var r=n.current.get(e)||"",o=r.split(Te);return t&&a.includes(o[0])&&o.unshift(je),o}),[a]),g=(0,u.useCallback)((function(e,t){return e.some((function(e){return h(e,!0).includes(t)}))}),[h]),y=(0,u.useCallback)((function(e){var t="".concat(n.current.get(e)).concat(Te),o=new Set;return(0,f.Z)(r.current.keys()).forEach((function(e){e.startsWith(t)&&o.add(r.current.get(e))})),o}),[]);return u.useEffect((function(){return function(){l.current=!0}}),[]),{registerPath:p,unregisterPath:v,refreshOverflowKeys:m,isSubPathKey:g,getKeyPath:h,getKeys:function(){var e=(0,f.Z)(n.current.keys());return a.length&&e.push(je),e},getSubPathKeys:y}}var Fe=["prefixCls","style","className","tabIndex","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],Re=[],_e=function(e){var t,n,o=e.prefixCls,i=void 0===o?"rc-menu":o,a=e.style,c=e.className,v=e.tabIndex,h=void 0===v?0:v,b=e.children,x=e.direction,E=e.id,C=e.mode,Z=void 0===C?"vertical":C,k=e.inlineCollapsed,S=e.disabled,P=e.disabledOverflow,T=e.subMenuOpenDelay,M=void 0===T?.1:T,j=e.subMenuCloseDelay,F=void 0===j?.1:j,R=e.forceSubMenuRender,_=e.defaultOpenKeys,D=e.openKeys,z=e.activeKey,H=e.defaultActiveFirst,U=e.selectable,q=void 0===U||U,B=e.multiple,W=void 0!==B&&B,K=e.defaultSelectedKeys,X=e.selectedKeys,Q=e.onSelect,J=e.onDeselect,ee=e.inlineIndent,te=void 0===ee?24:ee,ne=e.motion,re=e.defaultMotions,oe=e.triggerSubMenuAction,ie=void 0===oe?"hover":oe,ae=e.builtinPlacements,ce=e.itemIcon,ue=e.expandIcon,se=e.overflowedIndicator,le=void 0===se?"...":se,fe=e.overflowedIndicatorPopupClassName,de=e.getPopupContainer,pe=e.onClick,me=e.onOpenChange,he=e.onKeyDown,ge=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),ye=e._internalRenderSubMenuItem,be=(0,p.Z)(e,Fe),we=G(b,Re),xe=u.useState(!1),Ee=(0,d.Z)(xe,2),Ce=Ee[0],Ze=Ee[1],ke=u.useRef(),Ne=function(e){var t=(0,y.Z)(e,{value:e}),n=(0,d.Z)(t,2),r=n[0],o=n[1];return u.useEffect((function(){Oe+=1;var e="".concat(Pe,"-").concat(Oe);o("rc-menu-uuid-".concat(e))}),[]),r}(E),Te="rtl"===x;var Me=u.useMemo((function(){return"inline"!==Z&&"vertical"!==Z||!k?[Z,!1]:["vertical",k]}),[Z,k]),_e=(0,d.Z)(Me,2),Ie=_e[0],Le=_e[1],De=u.useState(0),ze=(0,d.Z)(De,2),Ve=ze[0],He=ze[1],Ue=Ve>=we.length-1||"horizontal"!==Ie||P,qe=(0,y.Z)(_,{value:D,postState:function(e){return e||Re}}),Be=(0,d.Z)(qe,2),We=Be[0],$e=Be[1],Ke=function(e){$e(e),null===me||void 0===me||me(e)},Ge=u.useState(We),Ye=(0,d.Z)(Ge,2),Xe=Ye[0],Qe=Ye[1],Je="inline"===Ie,et=u.useRef(!1);u.useEffect((function(){Je&&Qe(We)}),[We]),u.useEffect((function(){et.current?Je?$e(Xe):Ke(Re):et.current=!0}),[Je]);var tt=Ae(),nt=tt.registerPath,rt=tt.unregisterPath,ot=tt.refreshOverflowKeys,it=tt.isSubPathKey,at=tt.getKeyPath,ct=tt.getKeys,ut=tt.getSubPathKeys,st=u.useMemo((function(){return{registerPath:nt,unregisterPath:rt}}),[nt,rt]),lt=u.useMemo((function(){return{isSubPathKey:it}}),[it]);u.useEffect((function(){ot(Ue?Re:we.slice(Ve+1).map((function(e){return e.key})))}),[Ve,Ue]);var ft=(0,y.Z)(z||H&&(null===(t=we[0])||void 0===t?void 0:t.key),{value:z}),dt=(0,d.Z)(ft,2),pt=dt[0],vt=dt[1],mt=Y((function(e){vt(e)})),ht=Y((function(){vt(void 0)})),gt=(0,y.Z)(K||[],{value:X,postState:function(e){return Array.isArray(e)?e:null===e||void 0===e?Re:[e]}}),yt=(0,d.Z)(gt,2),bt=yt[0],wt=yt[1],xt=Y((function(e){null===pe||void 0===pe||pe(O(e)),function(e){if(q){var t,n=e.key,r=bt.includes(n);t=W?r?bt.filter((function(e){return e!==n})):[].concat((0,f.Z)(bt),[n]):[n],wt(t);var o=(0,l.Z)((0,l.Z)({},e),{},{selectedKeys:t});r?null===J||void 0===J||J(o):null===Q||void 0===Q||Q(o)}!W&&We.length&&"inline"!==Ie&&Ke(Re)}(e)})),Et=Y((function(e,t){var n=We.filter((function(t){return t!==e}));if(t)n.push(e);else if("inline"!==Ie){var r=ut(e);n=n.filter((function(e){return!r.has(e)}))}g()(We,n)||Ke(n)})),Ct=Y(de),Zt=Se(Ie,pt,Te,Ne,ke,ct,at,vt,(function(e,t){var n=null!==t&&void 0!==t?t:!We.includes(e);Et(e,n)}),he);u.useEffect((function(){Ze(!0)}),[]);var kt=u.useMemo((function(){return{_internalRenderMenuItem:ge,_internalRenderSubMenuItem:ye}}),[ge,ye]),Nt="horizontal"!==Ie||P?we:we.map((function(e,t){return u.createElement(N,{key:e.key,overflowDisabled:t>Ve},e)})),St=u.createElement(w.Z,(0,r.Z)({id:E,ref:ke,prefixCls:"".concat(i,"-overflow"),component:"ul",itemComponent:$,className:m()(i,"".concat(i,"-root"),"".concat(i,"-").concat(Ie),c,(n={},(0,s.Z)(n,"".concat(i,"-inline-collapsed"),Le),(0,s.Z)(n,"".concat(i,"-rtl"),Te),n)),dir:x,style:a,role:"menu",tabIndex:h,data:Nt,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?we.slice(-t):null;return u.createElement(ve,{eventKey:je,title:le,disabled:Ue,internalPopupClose:0===t,popupClassName:fe},n)},maxCount:"horizontal"!==Ie||P?w.Z.INVALIDATE:w.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){He(e)},onKeyDown:Zt},be));return u.createElement(V.Provider,{value:kt},u.createElement(L.Provider,{value:Ne},u.createElement(N,{prefixCls:i,mode:Ie,openKeys:We,rtl:Te,disabled:S,motion:Ce?ne:null,defaultMotions:Ce?re:null,activeKey:pt,onActive:mt,onInactive:ht,selectedKeys:bt,inlineIndent:te,subMenuOpenDelay:M,subMenuCloseDelay:F,forceSubMenuRender:R,builtinPlacements:ae,triggerSubMenuAction:ie,getPopupContainer:Ct,itemIcon:ce,expandIcon:ue,onItemClick:xt,onOpenChange:Et},u.createElement(I.Provider,{value:lt},St),u.createElement("div",{style:{display:"none"},"aria-hidden":!0},u.createElement(A.Provider,{value:st},we)))))},Ie=["className","title","eventKey","children"],Le=["children"],De=function(e){var t=e.className,n=e.title,o=(e.eventKey,e.children),i=(0,p.Z)(e,Ie),a=u.useContext(k).prefixCls,c="".concat(a,"-item-group");return u.createElement("li",(0,r.Z)({},i,{onClick:function(e){return e.stopPropagation()},className:m()(c,t)}),u.createElement("div",{className:"".concat(c,"-title"),title:"string"===typeof n?n:void 0},n),u.createElement("ul",{className:"".concat(c,"-list")},o))};function ze(e){var t=e.children,n=(0,p.Z)(e,Le),r=G(t,_(n.eventKey));return F()?r:u.createElement(De,(0,E.Z)(n,["warnKey"]),r)}function Ve(e){var t=e.className,n=e.style,r=u.useContext(k).prefixCls;return F()?null:u.createElement("li",{className:m()("".concat(r,"-item-divider"),t),style:n})}var He=_,Ue=_e;Ue.Item=$,Ue.SubMenu=ve,Ue.ItemGroup=ze,Ue.Divider=Ve;var qe=Ue,Be=n(89705),We=n(30845),$e=(0,u.createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1}),Ke=n(96159);var Ge=function(e){var t,n,o=e.popupClassName,i=e.icon,a=e.title,c=u.useContext($e),s=c.prefixCls,l=c.inlineCollapsed,f=c.antdMenuTheme,d=He();if(i){var p=(0,Ke.l$)(a)&&"span"===a.type;n=u.createElement(u.Fragment,null,(0,Ke.Tm)(i,{className:m()((0,Ke.l$)(i)?null===(t=i.props)||void 0===t?void 0:t.className:"","".concat(s,"-item-icon"))}),p?a:u.createElement("span",{className:"".concat(s,"-title-content")},a))}else n=l&&!d.length&&a&&"string"===typeof a?u.createElement("div",{className:"".concat(s,"-inline-collapsed-noicon")},a.charAt(0)):u.createElement("span",{className:"".concat(s,"-title-content")},a);var v=u.useMemo((function(){return(0,r.Z)((0,r.Z)({},c),{firstLevel:!1})}),[c]);return u.createElement($e.Provider,{value:v},u.createElement(ve,(0,r.Z)({},(0,E.Z)(e,["icon"]),{title:n,popupClassName:m()(s,"".concat(s,"-").concat(f),o)})))},Ye=n(56266),Xe=n(7293),Qe=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:{};if(!e)return{};var n=t.element,r=void 0===n?document.body:n,o={},i=Object.keys(e);return i.forEach((function(e){o[e]=r.style[e]})),i.forEach((function(t){r.style[t]=e[t]})),o};var b={},w=function(e){if(document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth||e){var t="ant-scrolling-effect",n=new RegExp("".concat(t),"g"),r=document.body.className;if(e){if(!n.test(r))return;return y(b),b={},void(document.body.className=r.replace(n,"").trim())}var o=(0,g.Z)();if(o&&(b=y({position:"relative",width:"calc(100% - ".concat(o,"px)")}),!n.test(r))){var i="".concat(r," ").concat(t);document.body.className=i.trim()}}},x=n(74902),E=[],C="ant-scrolling-effect",Z=new RegExp("".concat(C),"g"),k=0,N=new Map,S=(0,u.Z)((function e(t){var n=this;(0,c.Z)(this,e),this.lockTarget=void 0,this.options=void 0,this.getContainer=function(){var e;return null===(e=n.options)||void 0===e?void 0:e.container},this.reLock=function(e){var t=E.find((function(e){return e.target===n.lockTarget}));t&&n.unLock(),n.options=e,t&&(t.options=e,n.lock())},this.lock=function(){var e;if(!E.some((function(e){return e.target===n.lockTarget})))if(E.some((function(e){var t,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})))E=[].concat((0,x.Z)(E),[{target:n.lockTarget,options:n.options}]);else{var t=0,r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body;(r===document.body&&window.innerWidth-document.documentElement.clientWidth>0||r.scrollHeight>r.clientHeight)&&(t=(0,g.Z)());var o=r.className;if(0===E.filter((function(e){var t,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(t=n.options)||void 0===t?void 0:t.container)})).length&&N.set(r,y({width:0!==t?"calc(100% - ".concat(t,"px)"):void 0,overflow:"hidden",overflowX:"hidden",overflowY:"hidden"},{element:r})),!Z.test(o)){var i="".concat(o," ").concat(C);r.className=i.trim()}E=[].concat((0,x.Z)(E),[{target:n.lockTarget,options:n.options}])}},this.unLock=function(){var e,t=E.find((function(e){return e.target===n.lockTarget}));if(E=E.filter((function(e){return e.target!==n.lockTarget})),t&&!E.some((function(e){var n,r=e.options;return(null===r||void 0===r?void 0:r.container)===(null===(n=t.options)||void 0===n?void 0:n.container)}))){var r=(null===(e=n.options)||void 0===e?void 0:e.container)||document.body,o=r.className;Z.test(o)&&(y(N.get(r),{element:r}),N.delete(r),r.className=r.className.replace(Z,"").trim())}},this.lockTarget=k++,this.options=t})),P=0,O=(0,v.Z)();var T={},M=function(e){if(!O)return null;if(e){if("string"===typeof e)return document.querySelectorAll(e)[0];if("function"===typeof e)return e();if("object"===(0,f.Z)(e)&&e instanceof window.HTMLElement)return e}return document.body},j=function(e){(0,s.Z)(n,e);var t=(0,l.Z)(n);function n(e){var r;return(0,c.Z)(this,n),(r=t.call(this,e)).container=void 0,r.componentRef=i.createRef(),r.rafId=void 0,r.scrollLocker=void 0,r.renderComponent=void 0,r.updateScrollLocker=function(e){var t=(e||{}).visible,n=r.props,o=n.getContainer,i=n.visible;i&&i!==t&&O&&M(o)!==r.scrollLocker.getContainer()&&r.scrollLocker.reLock({container:M(o)})},r.updateOpenCount=function(e){var t=e||{},n=t.visible,o=t.getContainer,i=r.props,a=i.visible,c=i.getContainer;a!==n&&O&&M(c)===document.body&&(a&&!n?P+=1:e&&(P-=1)),("function"===typeof c&&"function"===typeof o?c.toString()!==o.toString():c!==o)&&r.removeCurrentContainer()},r.attachToParent=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(e||r.container&&!r.container.parentNode){var t=M(r.props.getContainer);return!!t&&(t.appendChild(r.container),!0)}return!0},r.getContainer=function(){return O?(r.container||(r.container=document.createElement("div"),r.attachToParent(!0)),r.setWrapperClassName(),r.container):null},r.setWrapperClassName=function(){var e=r.props.wrapperClassName;r.container&&e&&e!==r.container.className&&(r.container.className=e)},r.removeCurrentContainer=function(){var e,t;null===(e=r.container)||void 0===e||null===(t=e.parentNode)||void 0===t||t.removeChild(r.container)},r.switchScrollingEffect=function(){1!==P||Object.keys(T).length?P||(y(T),T={},w(!0)):(w(),T=y({overflow:"hidden",overflowX:"hidden",overflowY:"hidden"}))},r.scrollLocker=new S({container:M(e.getContainer)}),r}return(0,u.Z)(n,[{key:"componentDidMount",value:function(){var e=this;this.updateOpenCount(),this.attachToParent()||(this.rafId=(0,d.Z)((function(){e.forceUpdate()})))}},{key:"componentDidUpdate",value:function(e){this.updateOpenCount(e),this.updateScrollLocker(e),this.setWrapperClassName(),this.attachToParent()}},{key:"componentWillUnmount",value:function(){var e=this.props,t=e.visible,n=e.getContainer;O&&M(n)===document.body&&(P=t&&P?P-1:P),this.removeCurrentContainer(),d.Z.cancel(this.rafId)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.forceRender,r=e.visible,o=null,a={getOpenCount:function(){return P},getContainer:this.getContainer,switchScrollingEffect:this.switchScrollingEffect,scrollLocker:this.scrollLocker};return(n||r||this.componentRef.current)&&(o=i.createElement(h,{getContainer:this.getContainer,ref:this.componentRef},t(a))),o}}]),n}(i.Component),A=j,F=n(1413),R=n(94184),_=n.n(R),I=n(15105),L=n(94999),D=n(64217),z=n(88320);function V(e){var t=e.prefixCls,n=e.style,r=e.visible,a=e.maskProps,c=e.motionName;return i.createElement(z.Z,{key:"mask",visible:r,motionName:c,leavedClassName:"".concat(t,"-mask-hidden")},(function(e){var r=e.className,c=e.style;return i.createElement("div",(0,o.Z)({style:(0,F.Z)((0,F.Z)({},c),n),className:_()("".concat(t,"-mask"),r)},a))}))}function H(e,t,n){var r=t;return!r&&n&&(r="".concat(e,"-").concat(n)),r}var U=-1;function q(e,t){var n=e["page".concat(t?"Y":"X","Offset")],r="scroll".concat(t?"Top":"Left");if("number"!==typeof n){var o=e.document;"number"!==typeof(n=o.documentElement[r])&&(n=o.body[r])}return n}var B=i.memo((function(e){return e.children}),(function(e,t){return!t.shouldUpdate})),W={width:0,height:0,overflow:"hidden",outline:"none"},$=i.forwardRef((function(e,t){var n=e.closable,r=e.prefixCls,c=e.width,u=e.height,s=e.footer,l=e.title,f=e.closeIcon,d=e.style,p=e.className,v=e.visible,m=e.forceRender,h=e.bodyStyle,g=e.bodyProps,y=e.children,b=e.destroyOnClose,w=e.modalRender,x=e.motionName,E=e.ariaId,C=e.onClose,Z=e.onVisibleChanged,k=e.onMouseDown,N=e.onMouseUp,S=e.mousePosition,P=(0,i.useRef)(),O=(0,i.useRef)(),T=(0,i.useRef)();i.useImperativeHandle(t,(function(){return{focus:function(){var e;null===(e=P.current)||void 0===e||e.focus()},changeActive:function(e){var t=document.activeElement;e&&t===O.current?P.current.focus():e||t!==P.current||O.current.focus()}}}));var M,j,A,R=i.useState(),I=(0,a.Z)(R,2),L=I[0],D=I[1],V={};function H(){var e=function(e){var t=e.getBoundingClientRect(),n={left:t.left,top:t.top},r=e.ownerDocument,o=r.defaultView||r.parentWindow;return n.left+=q(o),n.top+=q(o,!0),n}(T.current);D(S?"".concat(S.x-e.left,"px ").concat(S.y-e.top,"px"):"")}void 0!==c&&(V.width=c),void 0!==u&&(V.height=u),L&&(V.transformOrigin=L),s&&(M=i.createElement("div",{className:"".concat(r,"-footer")},s)),l&&(j=i.createElement("div",{className:"".concat(r,"-header")},i.createElement("div",{className:"".concat(r,"-title"),id:E},l))),n&&(A=i.createElement("button",{type:"button",onClick:C,"aria-label":"Close",className:"".concat(r,"-close")},f||i.createElement("span",{className:"".concat(r,"-close-x")})));var U=i.createElement("div",{className:"".concat(r,"-content")},A,j,i.createElement("div",(0,o.Z)({className:"".concat(r,"-body"),style:h},g),y),M);return i.createElement(z.Z,{visible:v,onVisibleChanged:Z,onAppearPrepare:H,onEnterPrepare:H,forceRender:m,motionName:x,removeOnLeave:b,ref:T},(function(e,t){var n=e.className,o=e.style;return i.createElement("div",{key:"dialog-element",role:"document",ref:t,style:(0,F.Z)((0,F.Z)((0,F.Z)({},o),d),V),className:_()(r,p,n),onMouseDown:k,onMouseUp:N},i.createElement("div",{tabIndex:0,ref:P,style:W,"aria-hidden":"true"}),i.createElement(B,{shouldUpdate:v||m},w?w(U):U),i.createElement("div",{tabIndex:0,ref:O,style:W,"aria-hidden":"true"}))}))}));$.displayName="Content";var K=$;function G(e){var t=e.prefixCls,n=void 0===t?"rc-dialog":t,r=e.zIndex,c=e.visible,u=void 0!==c&&c,s=e.keyboard,l=void 0===s||s,f=e.focusTriggerAfterClose,d=void 0===f||f,p=e.scrollLocker,v=e.title,m=e.wrapStyle,h=e.wrapClassName,g=e.wrapProps,y=e.onClose,b=e.afterClose,w=e.transitionName,x=e.animation,E=e.closable,C=void 0===E||E,Z=e.mask,k=void 0===Z||Z,N=e.maskTransitionName,S=e.maskAnimation,P=e.maskClosable,O=void 0===P||P,T=e.maskStyle,M=e.maskProps,j=(0,i.useRef)(),A=(0,i.useRef)(),R=(0,i.useRef)(),z=i.useState(u),q=(0,a.Z)(z,2),B=q[0],W=q[1],$=(0,i.useRef)();function G(e){null===y||void 0===y||y(e)}$.current||($.current="rcDialogTitle".concat(U+=1));var Y=(0,i.useRef)(!1),X=(0,i.useRef)(),Q=null;return O&&(Q=function(e){Y.current?Y.current=!1:A.current===e.target&&G(e)}),(0,i.useEffect)((function(){return u&&W(!0),function(){}}),[u]),(0,i.useEffect)((function(){return function(){clearTimeout(X.current)}}),[]),(0,i.useEffect)((function(){return B?(null===p||void 0===p||p.lock(),null===p||void 0===p?void 0:p.unLock):function(){}}),[B,p]),i.createElement("div",(0,o.Z)({className:"".concat(n,"-root")},(0,D.Z)(e,{data:!0})),i.createElement(V,{prefixCls:n,visible:k&&u,motionName:H(n,N,S),style:(0,F.Z)({zIndex:r},T),maskProps:M}),i.createElement("div",(0,o.Z)({tabIndex:-1,onKeyDown:function(e){if(l&&e.keyCode===I.Z.ESC)return e.stopPropagation(),void G(e);u&&e.keyCode===I.Z.TAB&&R.current.changeActive(!e.shiftKey)},className:_()("".concat(n,"-wrap"),h),ref:A,onClick:Q,role:"dialog","aria-labelledby":v?$.current:null,style:(0,F.Z)((0,F.Z)({zIndex:r},m),{},{display:B?null:"none"})},g),i.createElement(K,(0,o.Z)({},e,{onMouseDown:function(){clearTimeout(X.current),Y.current=!0},onMouseUp:function(){X.current=setTimeout((function(){Y.current=!1}))},ref:R,closable:C,ariaId:$.current,prefixCls:n,visible:u,onClose:G,onVisibleChanged:function(e){if(e){var t;if(!(0,L.Z)(A.current,document.activeElement))j.current=document.activeElement,null===(t=R.current)||void 0===t||t.focus()}else{if(W(!1),k&&j.current&&d){try{j.current.focus({preventScroll:!0})}catch(n){}j.current=null}B&&(null===b||void 0===b||b())}},motionName:H(n,w,x)}))))}var Y=function(e){var t=e.visible,n=e.getContainer,r=e.forceRender,c=e.destroyOnClose,u=void 0!==c&&c,s=e.afterClose,l=i.useState(t),f=(0,a.Z)(l,2),d=f[0],p=f[1];return i.useEffect((function(){t&&p(!0)}),[t]),!1===n?i.createElement(G,(0,o.Z)({},e,{getOpenCount:function(){return 2}})):r||!u||d?i.createElement(A,{visible:t,forceRender:r,getContainer:n},(function(t){return i.createElement(G,(0,o.Z)({},e,{destroyOnClose:u,afterClose:function(){null===s||void 0===s||s(),p(!1)}},t))})):null};Y.displayName="Dialog";var X=Y,Q=n(97937),J=n(6213),ee=(0,o.Z)({},J.Z.Modal);function te(e){ee=e?(0,o.Z)((0,o.Z)({},ee),e):(0,o.Z)({},J.Z.Modal)}function ne(){return ee}var re,oe=n(71577),ie=n(8613),ae=n(23715),ce=n(59844),ue=n(31808),se=n(33603),le=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o1&&void 0!==arguments[1]?arguments[1]:nt,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:rt;switch(e){case"topLeft":t={left:0,top:n,bottom:"auto"};break;case"topRight":t={right:0,top:n,bottom:"auto"};break;case"bottomLeft":t={left:0,top:"auto",bottom:r};break;default:t={right:0,top:"auto",bottom:r}}return t}function ut(e,t){var n=e.placement,o=void 0===n?it:n,i=e.top,a=e.bottom,c=e.getContainer,u=void 0===c?Xe:c,s=e.prefixCls,l=Et(),f=l.getPrefixCls,d=l.getIconPrefixCls,p=f("notification",s||ot),v=d(),m="".concat(p,"-").concat(o),h=et[m];if(h)Promise.resolve(h).then((function(e){t({prefixCls:"".concat(p,"-notice"),iconPrefixCls:v,instance:e})}));else{var g=_()("".concat(p,"-").concat(o),(0,r.Z)({},"".concat(p,"-rtl"),!0===at));et[m]=new Promise((function(e){Pe.default.newInstance({prefixCls:p,className:g,style:ct(o,i,a),getContainer:u,maxCount:Je},(function(n){e(n),t({prefixCls:"".concat(p,"-notice"),iconPrefixCls:v,instance:n})}))}))}}var st={success:ve.Z,info:pe.Z,error:me.Z,warning:he.Z};function lt(e,t,n){var o=e.duration,a=e.icon,c=e.type,u=e.description,s=e.message,l=e.btn,f=e.onClose,d=e.onClick,p=e.key,v=e.style,m=e.className,h=e.closeIcon,g=void 0===h?Qe:h,y=void 0===o?tt:o,b=null;a?b=i.createElement("span",{className:"".concat(t,"-icon")},e.icon):c&&(b=i.createElement(st[c]||null,{className:"".concat(t,"-icon ").concat(t,"-icon-").concat(c)}));var w=i.createElement("span",{className:"".concat(t,"-close-x")},g||i.createElement(Q.Z,{className:"".concat(t,"-close-icon")})),x=!u&&b?i.createElement("span",{className:"".concat(t,"-message-single-line-auto-margin")}):null;return{content:i.createElement(kt,{iconPrefixCls:n},i.createElement("div",{className:b?"".concat(t,"-with-icon"):"",role:"alert"},b,i.createElement("div",{className:"".concat(t,"-message")},x,s),i.createElement("div",{className:"".concat(t,"-description")},u),l?i.createElement("span",{className:"".concat(t,"-btn")},l):null)),duration:y,closable:!0,closeIcon:w,onClose:f,onClick:d,key:p,style:v||{},className:_()(m,(0,r.Z)({},"".concat(t,"-").concat(c),!!c))}}var ft={open:function(e){ut(e,(function(t){var n=t.prefixCls,r=t.iconPrefixCls;t.instance.notice(lt(e,n,r))}))},close:function(e){Object.keys(et).forEach((function(t){return Promise.resolve(et[t]).then((function(t){t.removeNotice(e)}))}))},config:function(e){var t=e.duration,n=e.placement,r=e.bottom,o=e.top,i=e.getContainer,a=e.closeIcon,c=e.prefixCls;void 0!==c&&(ot=c),void 0!==t&&(tt=t),void 0!==n?it=n:e.rtl&&(it="topLeft"),void 0!==r&&(rt=r),void 0!==o&&(nt=o),void 0!==i&&(Xe=i),void 0!==a&&(Qe=a),void 0!==e.rtl&&(at=e.rtl),void 0!==e.maxCount&&(Je=e.maxCount)},destroy:function(){Object.keys(et).forEach((function(e){Promise.resolve(et[e]).then((function(e){e.destroy()})),delete et[e]}))}};["success","info","warning","error"].forEach((function(e){ft[e]=function(t){return ft.open((0,o.Z)((0,o.Z)({},t),{type:e}))}})),ft.warn=ft.warning,ft.useNotification=function(e,t){return function(){var n,r=null,c={add:function(e,t){null===r||void 0===r||r.component.add(e,t)}},u=(0,Fe.Z)(c),s=(0,a.Z)(u,2),l=s[0],f=s[1];var d=i.useRef({});return d.current.open=function(i){var a=i.prefixCls,c=n("notification",a);e((0,o.Z)((0,o.Z)({},i),{prefixCls:c}),(function(e){var n=e.prefixCls,o=e.instance;r=o,l(t(i,n))}))},["success","info","warning","error"].forEach((function(e){d.current[e]=function(t){return d.current.open((0,o.Z)((0,o.Z)({},t),{type:e}))}})),[d.current,i.createElement(ce.C,{key:"holder"},(function(e){return n=e.getPrefixCls,f}))]}}(ut,lt);var dt=ft,pt=n(44958),vt=n(10274),mt=n(92138),ht="-ant-".concat(Date.now(),"-").concat(Math.random());var gt,yt,bt=["getTargetContainer","getPopupContainer","renderEmpty","pageHeader","input","form"];function wt(){return gt||"ant"}function xt(){return yt||"anticon"}var Et=function(){return{getPrefixCls:function(e,t){return t||(e?"".concat(wt(),"-").concat(e):wt())},getIconPrefixCls:xt,getRootPrefixCls:function(e,t){return e||(gt||(t&&t.includes("-")?t.replace(/^(.*)-[^-]*$/,"$1"):wt()))}}},Ct=function(e){var t,n,r=e.children,a=e.csp,c=e.autoInsertSpaceInButton,u=e.form,s=e.locale,l=e.componentSize,f=e.direction,d=e.space,p=e.virtual,v=e.dropdownMatchSelectWidth,m=e.legacyLocale,h=e.parentContext,g=e.iconPrefixCls,y=i.useCallback((function(t,n){var r=e.prefixCls;if(n)return n;var o=r||h.getPrefixCls("");return t?"".concat(o,"-").concat(t):o}),[h.getPrefixCls,e.prefixCls]),b=(0,o.Z)((0,o.Z)({},h),{csp:a,autoInsertSpaceInButton:c,locale:s||m,direction:f,space:d,virtual:p,dropdownMatchSelectWidth:v,getPrefixCls:y});bt.forEach((function(t){var n=e[t];n&&(b[t]=n)}));var w=(0,xe.Z)((function(){return b}),b,(function(e,t){var n=Object.keys(e),r=Object.keys(t);return n.length!==r.length||n.some((function(n){return e[n]!==t[n]}))})),x=i.useMemo((function(){return{prefixCls:g,csp:a}}),[g]),E=r,C={};return s&&(C=(null===(t=s.Form)||void 0===t?void 0:t.defaultValidateMessages)||(null===(n=J.Z.Form)||void 0===n?void 0:n.defaultValidateMessages)||{}),u&&u.validateMessages&&(C=(0,o.Z)((0,o.Z)({},C),u.validateMessages)),Object.keys(C).length>0&&(E=i.createElement(we.FormProvider,{validateMessages:C},r)),s&&(E=i.createElement(ke,{locale:s,_ANT_MARK__:Ze},E)),g&&(E=i.createElement(be.Z.Provider,{value:x},E)),l&&(E=i.createElement(Se.q,{size:l},E)),i.createElement(ce.E_.Provider,{value:w},E)},Zt=function(e){return i.useEffect((function(){e.direction&&(Ye.config({rtl:"rtl"===e.direction}),dt.config({rtl:"rtl"===e.direction}))}),[e.direction]),i.createElement(ae.Z,null,(function(t,n,r){return i.createElement(ce.C,null,(function(t){return i.createElement(Ct,(0,o.Z)({parentContext:t,legacyLocale:r},e))}))}))};Zt.ConfigContext=ce.E_,Zt.SizeContext=Se.Z,Zt.config=function(e){var t=e.prefixCls,n=e.iconPrefixCls,r=e.theme;void 0!==t&&(gt=t),void 0!==n&&(yt=n),r&&function(e,t){var n={},r=function(e,t){var n=e.clone();return(n=(null===t||void 0===t?void 0:t(n))||n).toRgbString()},o=function(e,t){var o=new vt.C(e),i=(0,mt.generate)(o.toRgbString());n["".concat(t,"-color")]=r(o),n["".concat(t,"-color-disabled")]=i[1],n["".concat(t,"-color-hover")]=i[4],n["".concat(t,"-color-active")]=i[7],n["".concat(t,"-color-outline")]=o.clone().setAlpha(.2).toRgbString(),n["".concat(t,"-color-deprecated-bg")]=i[1],n["".concat(t,"-color-deprecated-border")]=i[3]};if(t.primaryColor){o(t.primaryColor,"primary");var i=new vt.C(t.primaryColor),a=(0,mt.generate)(i.toRgbString());a.forEach((function(e,t){n["primary-".concat(t+1)]=e})),n["primary-color-deprecated-l-35"]=r(i,(function(e){return e.lighten(35)})),n["primary-color-deprecated-l-20"]=r(i,(function(e){return e.lighten(20)})),n["primary-color-deprecated-t-20"]=r(i,(function(e){return e.tint(20)})),n["primary-color-deprecated-t-50"]=r(i,(function(e){return e.tint(50)})),n["primary-color-deprecated-f-12"]=r(i,(function(e){return e.setAlpha(.12*e.getAlpha())}));var c=new vt.C(a[0]);n["primary-color-active-deprecated-f-30"]=r(c,(function(e){return e.setAlpha(.3*e.getAlpha())})),n["primary-color-active-deprecated-d-02"]=r(c,(function(e){return e.darken(2)}))}t.successColor&&o(t.successColor,"success"),t.warningColor&&o(t.warningColor,"warning"),t.errorColor&&o(t.errorColor,"error"),t.infoColor&&o(t.infoColor,"info");var u=Object.keys(n).map((function(t){return"--".concat(e,"-").concat(t,": ").concat(n[t],";")}));(0,v.Z)()?(0,pt.hq)("\n :root {\n ".concat(u.join("\n"),"\n }\n "),"".concat(ht,"-dynamic-theme")):(0,ye.Z)(!1,"ConfigProvider","SSR do not support dynamic theme with css variables.")}(wt(),r)};var kt=Zt,Nt=function(e){var t=e.icon,n=e.onCancel,o=e.onOk,a=e.close,c=e.zIndex,u=e.afterClose,s=e.visible,l=e.keyboard,f=e.centered,d=e.getContainer,p=e.maskStyle,v=e.okText,m=e.okButtonProps,h=e.cancelText,g=e.cancelButtonProps,y=e.direction,b=e.prefixCls,w=e.wrapClassName,x=e.rootPrefixCls,E=e.iconPrefixCls,C=e.bodyStyle,Z=e.closable,k=void 0!==Z&&Z,N=e.closeIcon,S=e.modalRender,P=e.focusTriggerAfterClose;(0,ye.Z)(!("string"===typeof t&&t.length>2),"Modal","`icon` is using ReactNode instead of string naming in v4. Please check `".concat(t,"` at https://ant.design/components/icon"));var O=e.okType||"primary",T="".concat(b,"-confirm"),M=!("okCancel"in e)||e.okCancel,j=e.width||416,A=e.style||{},F=void 0===e.mask||e.mask,R=void 0!==e.maskClosable&&e.maskClosable,I=null!==e.autoFocusButton&&(e.autoFocusButton||"ok"),L=_()(T,"".concat(T,"-").concat(e.type),(0,r.Z)({},"".concat(T,"-rtl"),"rtl"===y),e.className),D=M&&i.createElement(ge.Z,{actionFn:n,close:a,autoFocus:"cancel"===I,buttonProps:g,prefixCls:"".concat(x,"-btn")},h);return i.createElement(kt,{prefixCls:x,iconPrefixCls:E,direction:y},i.createElement(de,{prefixCls:b,className:L,wrapClassName:_()((0,r.Z)({},"".concat(T,"-centered"),!!e.centered),w),onCancel:function(){return a({triggerCancel:!0})},visible:s,title:"",footer:"",transitionName:(0,se.m)(x,"zoom",e.transitionName),maskTransitionName:(0,se.m)(x,"fade",e.maskTransitionName),mask:F,maskClosable:R,maskStyle:p,style:A,bodyStyle:C,width:j,zIndex:c,afterClose:u,keyboard:l,centered:f,getContainer:d,closable:k,closeIcon:N,modalRender:S,focusTriggerAfterClose:P},i.createElement("div",{className:"".concat(T,"-body-wrapper")},i.createElement("div",{className:"".concat(T,"-body")},t,void 0===e.title?null:i.createElement("span",{className:"".concat(T,"-title")},e.title),i.createElement("div",{className:"".concat(T,"-content")},e.content)),i.createElement("div",{className:"".concat(T,"-btns")},D,i.createElement(ge.Z,{type:O,actionFn:o,close:a,autoFocus:"ok"===I,buttonProps:m,prefixCls:"".concat(x,"-btn")},v)))))},St=[],Pt=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o=0||r.indexOf("Bottom")>=0?i.top="".concat(o.height-t.offset[1],"px"):(r.indexOf("Top")>=0||r.indexOf("bottom")>=0)&&(i.top="".concat(-t.offset[1],"px")),r.indexOf("left")>=0||r.indexOf("Right")>=0?i.left="".concat(o.width-t.offset[0],"px"):(r.indexOf("right")>=0||r.indexOf("Left")>=0)&&(i.left="".concat(-t.offset[0],"px")),e.style.transformOrigin="".concat(i.left," ").concat(i.top)}},overlayInnerStyle:W,arrowContent:a.createElement("span",{className:"".concat(L,"-arrow-content"),style:V}),motion:{motionName:(0,b.m)(D,"zoom-big-fast",e.transitionName),motionDeadline:1e3}}),z?(0,h.Tm)(H,{className:q}):H)}));C.displayName="Tooltip",C.defaultProps={placement:"top",mouseEnterDelay:.1,mouseLeaveDelay:.1,arrowPointAtCenter:!1,autoAdjustOverflow:!0};var Z=C},84485:function(e,t,n){"use strict";n.d(t,{Z:function(){return se}});var r=n(87462),o=n(4942),i=n(67294),a=n(94184),c=n.n(a),u=n(42550),s=n(59844),l=n(21687),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);ot){var c=t-n;return r.push(String(i).slice(0,c)),r}r.push(i),n=a}return e}var B=function(e){var t=e.enabledMeasure,n=e.children,o=e.text,a=e.width,c=e.rows,u=e.onEllipsis,s=i.useState([0,0,0]),l=(0,g.Z)(s,2),f=l[0],d=l[1],p=i.useState(0),v=(0,g.Z)(p,2),m=v[0],h=v[1],y=(0,g.Z)(f,3),w=y[0],x=y[1],E=y[2],C=i.useState(0),Z=(0,g.Z)(C,2),k=Z[0],S=Z[1],P=i.useRef(null),O=i.useRef(null),T=i.useMemo((function(){return(0,b.Z)(o)}),[o]),M=i.useMemo((function(){return function(e){var t=0;return e.forEach((function(e){U(e)?t+=String(e).length:t+=1})),t}(T)}),[T]),j=i.useMemo((function(){return t&&3===m?n(q(T,x),x1&&Ke,Qe=function(e){var t;Me(!0),null===(t=Ue.onExpand)||void 0===t||t.call(Ue,e)},Je=i.useState(0),et=(0,g.Z)(Je,2),tt=et[0],nt=et[1],rt=function(e){var t;Re(e),Fe!==e&&(null===(t=Ue.onEllipsis)||void 0===t||t.call(Ue,e))};i.useEffect((function(){var e=z.current;if(He&&Ke&&e){var t=Xe?e.offsetHeight1?"s":"")+" required, but only "+t.length+" present")}n.d(t,{Z:function(){return r}})},40364:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(19013),o=n(13882);function i(e,t){return(0,o.Z)(2,arguments),(0,r.Z)(e).getTime()-(0,r.Z)(t).getTime()}var a={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function c(e){return e?a[e]:a.trunc}function u(e,t,n){(0,o.Z)(2,arguments);var r=i(e,t)/1e3;return c(null===n||void 0===n?void 0:n.roundingMethod)(r)}},19013:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(13882);function o(e){(0,r.Z)(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===typeof e&&"[object Date]"===t?new Date(e.getTime()):"number"===typeof e||"[object Number]"===t?new Date(e):("string"!==typeof e&&"[object String]"!==t||"undefined"===typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://git.io/fjule"),console.warn((new Error).stack)),new Date(NaN))}},18552:function(e,t,n){var r=n(10852)(n(55639),"DataView");e.exports=r},1989:function(e,t,n){var r=n(51789),o=n(80401),i=n(57667),a=n(21327),c=n(81866);function u(e){var t=-1,n=null==e?0:e.length;for(this.clear();++tl))return!1;var d=u.get(e),p=u.get(t);if(d&&p)return d==t&&p==e;var v=-1,m=!0,h=2&n?new r:void 0;for(u.set(e,t),u.set(t,e);++v-1&&e%1==0&&e-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:function(e,t,n){var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,c=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=c},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},55639:function(e,t,n){var r=n(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=r||o||Function("return this")();e.exports=i},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(n){}try{return e+""}catch(n){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!==e&&t!==t}},35694:function(e,t,n){var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,c=i.propertyIsEnumerable,u=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!c.call(e,"callee")};e.exports=u},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,c=a&&a.exports===i?r.Buffer:void 0,u=(c?c.isBuffer:void 0)||o;e.exports=u},18446:function(e,t,n){var r=n(90939);e.exports=function(e,t){return r(e,t)}},23560:function(e,t,n){var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},36719:function(e,t,n){var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,c=a?o(a):r;e.exports=c},3674:function(e,t,n){var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},30845:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return i}});var r=Number.isNaN||function(e){return"number"===typeof e&&e!==e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var b="default",w="textarea",x="url";function E(e){var t=(0,s.useState)(null),n=t[0],r=t[1],c=(0,s.useState)(!1),h=c[0],b=c[1],w=((0,s.useContext)(d.aC)||{}).setFieldInConfigState,x=null,E=e.apiPath,C=e.configPath,Z=void 0===C?"":C,k=e.initialValue,N=e.useTrim,S=e.useTrimLead,P=y(e,["apiPath","configPath","initialValue","useTrim","useTrimLead"]),O=P.fieldName,T=P.required,M=P.tip,j=P.status,A=P.value,F=P.onChange,R=P.onSubmit,_=function(){r(null),b(!1),clearTimeout(x),x=null};(0,s.useEffect)((function(){T&&(""===A||null===A)||A===k?b(!1):(_(),b(!0))}),[A]);var I=function(){var e,t=(e=o().mark((function e(){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(T&&""!==A||A!==k)){e.next=6;break}return r((0,f.kg)(f.Jk)),e.next=4,(0,l.Si)({apiPath:E,data:{value:A},onSuccess:function(){w({fieldName:O,value:A,path:Z}),r((0,f.kg)(f.zv))},onError:function(e){r((0,f.kg)(f.Un,"There was an error: ".concat(e)))}});case 4:x=setTimeout(_,l.sI),R&&R();case 6:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){m(i,r,o,a,c,"next",e)}function c(e){m(i,r,o,a,c,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),L=u()({"textfield-with-submit-container":!0,submittable:h});return(0,i.jsxs)("div",{className:L,children:[(0,i.jsx)("div",{className:"textfield-component",children:(0,i.jsx)(v.ZP,g({},P,{onSubmit:null,onBlur:function(e){var t=e.value;F&&T&&""===t&&F({fieldName:O,value:k})},onChange:function(e){var t=e.fieldName,n=e.value;if(F){var r=n;N?r=n.trim():S&&(r=n.replace(/^\s+/g,"")),F({fieldName:t,value:r})}}}))}),(0,i.jsxs)("div",{className:"formfield-container lower-container",children:[(0,i.jsx)("p",{className:"label-spacer"}),(0,i.jsxs)("div",{className:"lower-content",children:[(0,i.jsx)("div",{className:"field-tip",children:M}),(0,i.jsx)(p.Z,{status:j||n}),(0,i.jsx)("div",{className:"update-button-container",children:(0,i.jsx)(a.Z,{type:"primary",size:"small",className:"submit-button",onClick:I,disabled:!h,children:"Update"})})]})]})]})}E.defaultProps={configPath:"",initialValue:""}},48419:function(e,t,n){"use strict";n.d(t,{mG:function(){return ee},A8:function(){return J},Kx:function(){return Q},Sk:function(){return te},xA:function(){return ne},ZP:function(){return re}});var r=n(85893),o=n(67294),i=n(94184),a=n.n(i),c=n(87462),u=n(4942),s=n(97685),l=n(71002),f=n(91),d=n(15105),p=n(42550),v=n(15671),m=n(43144);function h(){return"function"===typeof BigInt}function g(e){var t=e.trim(),n=t.startsWith("-");n&&(t=t.slice(1)),(t=t.replace(/(\.\d*[^0])0*$/,"$1").replace(/\.0*$/,"").replace(/^0+/,"")).startsWith(".")&&(t="0".concat(t));var r=t||"0",o=r.split("."),i=o[0]||"0",a=o[1]||"0";"0"===i&&"0"===a&&(n=!1);var c=n?"-":"";return{negative:n,negativeStr:c,trimStr:r,integerStr:i,decimalStr:a,fullStr:"".concat(c).concat(r)}}function y(e){var t=String(e);return!Number.isNaN(Number(t))&&t.includes("e")}function b(e){var t=String(e);if(y(e)){var n=Number(t.slice(t.indexOf("e-")+2)),r=t.match(/\.(\d+)/);return(null===r||void 0===r?void 0:r[1])&&(n+=r[1].length),n}return t.includes(".")&&x(t)?t.length-t.indexOf(".")-1:0}function w(e){var t=String(e);if(y(e)){if(e>Number.MAX_SAFE_INTEGER)return String(h()?BigInt(e).toString():Number.MAX_SAFE_INTEGER);if(eNumber.MAX_SAFE_INTEGER)return new e(Number.MAX_SAFE_INTEGER);if(r0&&void 0!==arguments[0])||arguments[0];return e?this.isInvalidate()?"":w(this.number):this.origin}}]),e}(),C=function(){function e(t){if((0,v.Z)(this,e),this.origin="",this.negative=void 0,this.integer=void 0,this.decimal=void 0,this.decimalLen=void 0,this.empty=void 0,this.nan=void 0,(t||0===t)&&String(t).trim())if(this.origin=String(t),"-"!==t){var n=t;if(y(n)&&(n=Number(n)),x(n="string"===typeof n?n:w(n))){var r=g(n);this.negative=r.negative;var o=r.trimStr.split(".");this.integer=BigInt(o[0]);var i=o[1]||"0";this.decimal=BigInt(i),this.decimalLen=i.length}else this.nan=!0}else this.nan=!0;else this.empty=!0}return(0,m.Z)(e,[{key:"getMark",value:function(){return this.negative?"-":""}},{key:"getIntegerStr",value:function(){return this.integer.toString()}},{key:"getDecimalStr",value:function(){return this.decimal.toString().padStart(this.decimalLen,"0")}},{key:"alignDecimal",value:function(e){var t="".concat(this.getMark()).concat(this.getIntegerStr()).concat(this.getDecimalStr().padEnd(e,"0"));return BigInt(t)}},{key:"negate",value:function(){var t=new e(this.toString());return t.negative=!t.negative,t}},{key:"add",value:function(t){if(this.isInvalidate())return new e(t);var n=new e(t);if(n.isInvalidate())return this;var r=Math.max(this.getDecimalStr().length,n.getDecimalStr().length),o=g((this.alignDecimal(r)+n.alignDecimal(r)).toString()),i=o.negativeStr,a=o.trimStr,c="".concat(i).concat(a.padStart(r+1,"0"));return new e("".concat(c.slice(0,-r),".").concat(c.slice(-r)))}},{key:"isEmpty",value:function(){return this.empty}},{key:"isNaN",value:function(){return this.nan}},{key:"isInvalidate",value:function(){return this.isEmpty()||this.isNaN()}},{key:"equals",value:function(e){return this.toString()===(null===e||void 0===e?void 0:e.toString())}},{key:"lessEquals",value:function(e){return this.add(e.negate().toString()).toNumber()<=0}},{key:"toNumber",value:function(){return this.isNaN()?NaN:Number(this.toString())}},{key:"toString",value:function(){var e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return e?this.isInvalidate()?"":g("".concat(this.getMark()).concat(this.getIntegerStr(),".").concat(this.getDecimalStr())).fullStr:this.origin}}]),e}();function Z(e){return h()?new C(e):new E(e)}function k(e,t,n){if(""===e)return"";var r=g(e),o=r.negativeStr,i=r.integerStr,a=r.decimalStr,c="".concat(t).concat(a),u="".concat(o).concat(i);if(n>=0){var s=Number(a[n]);return s>=5?k(Z(e).add("".concat(o,"0.").concat("0".repeat(n)).concat(10-s)).toString(),t,n):0===n?u:"".concat(u).concat(t).concat(a.padEnd(n,"0").slice(0,n))}return".0"===c?u:"".concat(u).concat(c)}var N=n(31131);function S(e){var t=e.prefixCls,n=e.upNode,r=e.downNode,i=e.upDisabled,s=e.downDisabled,l=e.onStep,f=o.useRef(),d=o.useRef();d.current=l;var p=function(e,t){e.preventDefault(),d.current(t),f.current=setTimeout((function e(){d.current(t),f.current=setTimeout(e,200)}),600)},v=function(){clearTimeout(f.current)};if(o.useEffect((function(){return v}),[]),(0,N.Z)())return null;var m="".concat(t,"-handler"),h=a()(m,"".concat(m,"-up"),(0,u.Z)({},"".concat(m,"-up-disabled"),i)),g=a()(m,"".concat(m,"-down"),(0,u.Z)({},"".concat(m,"-down-disabled"),s)),y={unselectable:"on",role:"button",onMouseUp:v,onMouseLeave:v};return o.createElement("div",{className:"".concat(m,"-wrap")},o.createElement("span",(0,c.Z)({},y,{onMouseDown:function(e){p(e,!0)},"aria-label":"Increase Value","aria-disabled":i,className:h}),n||o.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-up-inner")})),o.createElement("span",(0,c.Z)({},y,{onMouseDown:function(e){p(e,!1)},"aria-label":"Decrease Value","aria-disabled":s,className:g}),r||o.createElement("span",{unselectable:"on",className:"".concat(t,"-handler-down-inner")})))}var P=n(80334);var O=(0,n(98924).Z)()?o.useLayoutEffect:o.useEffect;function T(e,t){var n=o.useRef(!1);O((function(){if(n.current)return e();n.current=!0}),t)}var M=n(75164),j=["prefixCls","className","style","min","max","step","defaultValue","value","disabled","readOnly","upHandler","downHandler","keyboard","controls","stringMode","parser","formatter","precision","decimalSeparator","onChange","onInput","onPressEnter","onStep"],A=function(e,t){return e||t.isEmpty()?t.toString():t.toNumber()},F=function(e){var t=Z(e);return t.isInvalidate()?null:t},R=o.forwardRef((function(e,t){var n,r=e.prefixCls,i=void 0===r?"rc-input-number":r,v=e.className,m=e.style,h=e.min,g=e.max,y=e.step,E=void 0===y?1:y,C=e.defaultValue,N=e.value,O=e.disabled,R=e.readOnly,_=e.upHandler,I=e.downHandler,L=e.keyboard,D=e.controls,z=void 0===D||D,V=e.stringMode,H=e.parser,U=e.formatter,q=e.precision,B=e.decimalSeparator,W=e.onChange,$=e.onInput,K=e.onPressEnter,G=e.onStep,Y=(0,f.Z)(e,j),X="".concat(i,"-input"),Q=o.useRef(null),J=o.useState(!1),ee=(0,s.Z)(J,2),te=ee[0],ne=ee[1],re=o.useRef(!1),oe=o.useRef(!1),ie=o.useState((function(){return Z(null!==N&&void 0!==N?N:C)})),ae=(0,s.Z)(ie,2),ce=ae[0],ue=ae[1];var se=o.useCallback((function(e,t){if(!t)return q>=0?q:Math.max(b(e),b(E))}),[q,E]),le=o.useCallback((function(e){var t=String(e);if(H)return H(t);var n=t;return B&&(n=n.replace(B,".")),n.replace(/[^\w.-]+/g,"")}),[H,B]),fe=o.useRef(""),de=o.useCallback((function(e,t){if(U)return U(e,{userTyping:t,input:String(fe.current)});var n="number"===typeof e?w(e):e;if(!t){var r=se(n,t);if(x(n)&&(B||r>=0))n=k(n,B||".",r)}return n}),[U,se,B]),pe=o.useState((function(){var e=null!==C&&void 0!==C?C:N;return ce.isInvalidate()&&["string","number"].includes((0,l.Z)(e))?Number.isNaN(e)?"":e:de(ce.toString(),!1)})),ve=(0,s.Z)(pe,2),me=ve[0],he=ve[1];function ge(e,t){he(de(e.isInvalidate()?e.toString(!1):e.toString(!t),t))}fe.current=me;var ye=o.useMemo((function(){return F(g)}),[g]),be=o.useMemo((function(){return F(h)}),[h]),we=o.useMemo((function(){return!(!ye||!ce||ce.isInvalidate())&&ye.lessEquals(ce)}),[ye,ce]),xe=o.useMemo((function(){return!(!be||!ce||ce.isInvalidate())&&ce.lessEquals(be)}),[be,ce]),Ee=function(e,t){var n=(0,o.useRef)(null);return[function(){try{var t=e.selectionStart,r=e.selectionEnd,o=e.value,i=o.substring(0,t),a=o.substring(r);n.current={start:t,end:r,value:o,beforeTxt:i,afterTxt:a}}catch(c){}},function(){if(e&&n.current&&t)try{var r=e.value,o=n.current,i=o.beforeTxt,a=o.afterTxt,c=o.start,u=r.length;if(r.endsWith(a))u=r.length-n.current.afterTxt.length;else if(r.startsWith(i))u=i.length;else{var s=i[c-1],l=r.indexOf(s,c-1);-1!==l&&(u=l+1)}e.setSelectionRange(u,u)}catch(f){(0,P.ZP)(!1,"Something warning of cursor restore. Please fire issue about this: ".concat(f.message))}}]}(Q.current,te),Ce=(0,s.Z)(Ee,2),Ze=Ce[0],ke=Ce[1],Ne=function(e){return ye&&!e.lessEquals(ye)?ye:be&&!be.lessEquals(e)?be:null},Se=function(e){return!Ne(e)},Pe=function(e,t){var n,r=e,o=Se(r)||r.isEmpty();if(r.isEmpty()||t||(r=Ne(r)||r,o=!0),!R&&!O&&o){var i=r.toString(),a=se(i,t);return a>=0&&(r=Z(k(i,".",a))),r.equals(ce)||(n=r,void 0===N&&ue(n),null===W||void 0===W||W(r.isEmpty()?null:A(V,r)),void 0===N&&ge(r,t)),r}return ce},Oe=function(){var e=(0,o.useRef)(0),t=function(){M.Z.cancel(e.current)};return(0,o.useEffect)((function(){return t}),[]),function(n){t(),e.current=(0,M.Z)((function(){n()}))}}(),Te=function e(t){if(Ze(),he(t),!oe.current){var n=Z(le(t));n.isNaN()||Pe(n,!0)}null===$||void 0===$||$(t),Oe((function(){var n=t;H||(n=t.replace(/\u3002/g,".")),n!==t&&e(n)}))},Me=function(e){var t;if(!(e&&we||!e&&xe)){re.current=!1;var n=Z(E);e||(n=n.negate());var r=(ce||Z(0)).add(n.toString()),o=Pe(r,!1);null===G||void 0===G||G(A(V,o),{offset:E,type:e?"up":"down"}),null===(t=Q.current)||void 0===t||t.focus()}},je=function(e){var t=Z(le(me)),n=t;n=t.isNaN()?ce:Pe(t,e),void 0!==N?ge(ce,!1):n.isNaN()||ge(n,!1)};return T((function(){ce.isInvalidate()||ge(ce,!1)}),[q]),T((function(){var e=Z(N);ue(e);var t=Z(le(me));e.equals(t)&&re.current&&!U||ge(e,re.current)}),[N]),T((function(){U&&ke()}),[me]),o.createElement("div",{className:a()(i,v,(n={},(0,u.Z)(n,"".concat(i,"-focused"),te),(0,u.Z)(n,"".concat(i,"-disabled"),O),(0,u.Z)(n,"".concat(i,"-readonly"),R),(0,u.Z)(n,"".concat(i,"-not-a-number"),ce.isNaN()),(0,u.Z)(n,"".concat(i,"-out-of-range"),!ce.isInvalidate()&&!Se(ce)),n)),style:m,onFocus:function(){ne(!0)},onBlur:function(){je(!1),ne(!1),re.current=!1},onKeyDown:function(e){var t=e.which;re.current=!0,t===d.Z.ENTER&&(oe.current||(re.current=!1),je(!1),null===K||void 0===K||K(e)),!1!==L&&!oe.current&&[d.Z.UP,d.Z.DOWN].includes(t)&&(Me(d.Z.UP===t),e.preventDefault())},onKeyUp:function(){re.current=!1},onCompositionStart:function(){oe.current=!0},onCompositionEnd:function(){oe.current=!1,Te(Q.current.value)}},z&&o.createElement(S,{prefixCls:i,upNode:_,downNode:I,upDisabled:we,downDisabled:xe,onStep:Me}),o.createElement("div",{className:"".concat(X,"-wrap")},o.createElement("input",(0,c.Z)({autoComplete:"off",role:"spinbutton","aria-valuemin":h,"aria-valuemax":g,"aria-valuenow":ce.isInvalidate()?null:ce.toString(),step:E},Y,{ref:(0,p.sQ)(Q,t),className:X,value:me,onChange:function(e){Te(e.target.value)},disabled:O,readOnly:R}))))}));R.displayName="InputNumber";var _=R,I=n(1413),L={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z"}}]},name:"up",theme:"outlined"},D=n(42135),z=function(e,t){return o.createElement(D.Z,(0,I.Z)((0,I.Z)({},e),{},{ref:t,icon:L}))};z.displayName="UpOutlined";var V=o.forwardRef(z),H=n(80882),U=n(59844),q=n(97647),B=n(96159),W=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);oe.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n0;t&&n&&t(n)}))}),e);return u.set(n,t={id:n,observer:i,elements:o}),t}(n),o=r.id,i=r.observer,a=r.elements;return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),u.delete(o);var t=s.findIndex((function(e){return e.root===o.root&&e.margin===o.margin}));t>-1&&s.splice(t,1)}}}(e,(function(e){return e&&p(e)}),{root:m,rootMargin:n}))}),[r,m,n,d]);return i.useEffect((function(){if(!c&&!d){var e=a.requestIdleCallback((function(){return p(!0)}));return function(){return a.cancelIdleCallback(e)}}}),[d]),i.useEffect((function(){t&&h(t.current)}),[t]),[g,d]};var i=n(67294),a=n(9311),c="undefined"!==typeof IntersectionObserver;var u=new Map,s=[]},99651:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return Ee}});var r=n(85893),o=(n(55062),n(79016),n(71358),n(5801),n(74831),n(19958),n(97882),n(66599),n(12920),n(60291),n(42116),n(97741),n(36384),n(90887),n(32997),n(65715),n(17882),n(35159)),i=n(57553),a=n(34051),c=n.n(a),u=n(67294),s=n(45697),l=n.n(s),f=n(41664),d=n(9008),p=n(40364),v=n(11163),m=n(2897),h=n(7293),g=m.ZP;g.Header=m.h4,g.Footer=m.$_,g.Content=m.VY,g.Sider=h.Z;var y=g,b=n(61709),w=n(14670),x=n(84485),E=n(55241),C=n(26713),Z=n(56266),k=n(71577),N=n(1413),S={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm144.1 454.9L437.7 677.8a8.02 8.02 0 01-12.7-6.5V353.7a8 8 0 0112.7-6.5L656.1 506a7.9 7.9 0 010 12.9z"}}]},name:"play-circle",theme:"filled"},P=n(42135),O=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:S}))};O.displayName="PlayCircleFilled";var T=u.forwardRef(O),M={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zM704 536c0 4.4-3.6 8-8 8H328c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h368c4.4 0 8 3.6 8 8v48z"}}]},name:"minus-square",theme:"filled"},j=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:M}))};j.displayName="MinusSquareFilled";var A=u.forwardRef(j),F={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M946.5 505L560.1 118.8l-25.9-25.9a31.5 31.5 0 00-44.4 0L77.5 505a63.9 63.9 0 00-18.8 46c.4 35.2 29.7 63.3 64.9 63.3h42.5V940h691.8V614.3h43.4c17.1 0 33.2-6.7 45.3-18.8a63.6 63.6 0 0018.7-45.3c0-17-6.7-33.1-18.8-45.2zM568 868H456V664h112v204zm217.9-325.7V868H632V640c0-22.1-17.9-40-40-40H432c-22.1 0-40 17.9-40 40v228H238.1V542.3h-96l370-369.7 23.1 23.1L882 542.3h-96.1z"}}]},name:"home",theme:"outlined"},R=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:F}))};R.displayName="HomeOutlined";var _=u.forwardRef(R),I={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M888 792H200V168c0-4.4-3.6-8-8-8h-56c-4.4 0-8 3.6-8 8v688c0 4.4 3.6 8 8 8h752c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM305.8 637.7c3.1 3.1 8.1 3.1 11.3 0l138.3-137.6L583 628.5c3.1 3.1 8.2 3.1 11.3 0l275.4-275.3c3.1-3.1 3.1-8.2 0-11.3l-39.6-39.6a8.03 8.03 0 00-11.3 0l-230 229.9L461.4 404a8.03 8.03 0 00-11.3 0L266.3 586.7a8.03 8.03 0 000 11.3l39.5 39.7z"}}]},name:"line-chart",theme:"outlined"},L=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:I}))};L.displayName="LineChartOutlined";var D=u.forwardRef(L),z={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M464 512a48 48 0 1096 0 48 48 0 10-96 0zm200 0a48 48 0 1096 0 48 48 0 10-96 0zm-400 0a48 48 0 1096 0 48 48 0 10-96 0zm661.2-173.6c-22.6-53.7-55-101.9-96.3-143.3a444.35 444.35 0 00-143.3-96.3C630.6 75.7 572.2 64 512 64h-2c-60.6.3-119.3 12.3-174.5 35.9a445.35 445.35 0 00-142 96.5c-40.9 41.3-73 89.3-95.2 142.8-23 55.4-34.6 114.3-34.3 174.9A449.4 449.4 0 00112 714v152a46 46 0 0046 46h152.1A449.4 449.4 0 00510 960h2.1c59.9 0 118-11.6 172.7-34.3a444.48 444.48 0 00142.8-95.2c41.3-40.9 73.8-88.7 96.5-142 23.6-55.2 35.6-113.9 35.9-174.5.3-60.9-11.5-120-34.8-175.6zm-151.1 438C704 845.8 611 884 512 884h-1.7c-60.3-.3-120.2-15.3-173.1-43.5l-8.4-4.5H188V695.2l-4.5-8.4C155.3 633.9 140.3 574 140 513.7c-.4-99.7 37.7-193.3 107.6-263.8 69.8-70.5 163.1-109.5 262.8-109.9h1.7c50 0 98.5 9.7 144.2 28.9 44.6 18.7 84.6 45.6 119 80 34.3 34.3 61.3 74.4 80 119 19.4 46.2 29.1 95.2 28.9 145.8-.6 99.6-39.7 192.9-110.1 262.7z"}}]},name:"message",theme:"outlined"},V=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:z}))};V.displayName="MessageOutlined";var H=u.forwardRef(V),U={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M924.8 625.7l-65.5-56c3.1-19 4.7-38.4 4.7-57.8s-1.6-38.8-4.7-57.8l65.5-56a32.03 32.03 0 009.3-35.2l-.9-2.6a443.74 443.74 0 00-79.7-137.9l-1.8-2.1a32.12 32.12 0 00-35.1-9.5l-81.3 28.9c-30-24.6-63.5-44-99.7-57.6l-15.7-85a32.05 32.05 0 00-25.8-25.7l-2.7-.5c-52.1-9.4-106.9-9.4-159 0l-2.7.5a32.05 32.05 0 00-25.8 25.7l-15.8 85.4a351.86 351.86 0 00-99 57.4l-81.9-29.1a32 32 0 00-35.1 9.5l-1.8 2.1a446.02 446.02 0 00-79.7 137.9l-.9 2.6c-4.5 12.5-.8 26.5 9.3 35.2l66.3 56.6c-3.1 18.8-4.6 38-4.6 57.1 0 19.2 1.5 38.4 4.6 57.1L99 625.5a32.03 32.03 0 00-9.3 35.2l.9 2.6c18.1 50.4 44.9 96.9 79.7 137.9l1.8 2.1a32.12 32.12 0 0035.1 9.5l81.9-29.1c29.8 24.5 63.1 43.9 99 57.4l15.8 85.4a32.05 32.05 0 0025.8 25.7l2.7.5a449.4 449.4 0 00159 0l2.7-.5a32.05 32.05 0 0025.8-25.7l15.7-85a350 350 0 0099.7-57.6l81.3 28.9a32 32 0 0035.1-9.5l1.8-2.1c34.8-41.1 61.6-87.5 79.7-137.9l.9-2.6c4.5-12.3.8-26.3-9.3-35zM788.3 465.9c2.5 15.1 3.8 30.6 3.8 46.1s-1.3 31-3.8 46.1l-6.6 40.1 74.7 63.9a370.03 370.03 0 01-42.6 73.6L721 702.8l-31.4 25.8c-23.9 19.6-50.5 35-79.3 45.8l-38.1 14.3-17.9 97a377.5 377.5 0 01-85 0l-17.9-97.2-37.8-14.5c-28.5-10.8-55-26.2-78.7-45.7l-31.4-25.9-93.4 33.2c-17-22.9-31.2-47.6-42.6-73.6l75.5-64.5-6.5-40c-2.4-14.9-3.7-30.3-3.7-45.5 0-15.3 1.2-30.6 3.7-45.5l6.5-40-75.5-64.5c11.3-26.1 25.6-50.7 42.6-73.6l93.4 33.2 31.4-25.9c23.7-19.5 50.2-34.9 78.7-45.7l37.9-14.3 17.9-97.2c28.1-3.2 56.8-3.2 85 0l17.9 97 38.1 14.3c28.7 10.8 55.4 26.2 79.3 45.8l31.4 25.8 92.8-32.9c17 22.9 31.2 47.6 42.6 73.6L781.8 426l6.5 39.9zM512 326c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm79.2 255.2A111.6 111.6 0 01512 614c-29.9 0-58-11.7-79.2-32.8A111.6 111.6 0 01400 502c0-29.9 11.7-58 32.8-79.2C454 401.6 482.1 390 512 390c29.9 0 58 11.6 79.2 32.8A111.6 111.6 0 01624 502c0 29.9-11.7 58-32.8 79.2z"}}]},name:"setting",theme:"outlined"},q=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:U}))};q.displayName="SettingOutlined";var B=u.forwardRef(q),W={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M876.6 239.5c-.5-.9-1.2-1.8-2-2.5-5-5-13.1-5-18.1 0L684.2 409.3l-67.9-67.9L788.7 169c.8-.8 1.4-1.6 2-2.5 3.6-6.1 1.6-13.9-4.5-17.5-98.2-58-226.8-44.7-311.3 39.7-67 67-89.2 162-66.5 247.4l-293 293c-3 3-2.8 7.9.3 11l169.7 169.7c3.1 3.1 8.1 3.3 11 .3l292.9-292.9c85.5 22.8 180.5.7 247.6-66.4 84.4-84.5 97.7-213.1 39.7-311.3zM786 499.8c-58.1 58.1-145.3 69.3-214.6 33.6l-8.8 8.8-.1-.1-274 274.1-79.2-79.2 230.1-230.1s0 .1.1.1l52.8-52.8c-35.7-69.3-24.5-156.5 33.6-214.6a184.2 184.2 0 01144-53.5L537 318.9a32.05 32.05 0 000 45.3l124.5 124.5a32.05 32.05 0 0045.3 0l132.8-132.8c3.7 51.8-14.4 104.8-53.6 143.9z"}}]},name:"tool",theme:"outlined"},$=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:W}))};$.displayName="ToolOutlined";var K=u.forwardRef($),G={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 472a40 40 0 1080 0 40 40 0 10-80 0zm367 352.9L696.3 352V178H768v-68H256v68h71.7v174L145 824.9c-2.8 7.4-4.3 15.2-4.3 23.1 0 35.3 28.7 64 64 64h614.6c7.9 0 15.7-1.5 23.1-4.3 33-12.7 49.4-49.8 36.6-82.8zM395.7 364.7V180h232.6v184.7L719.2 600c-20.7-5.3-42.1-8-63.9-8-61.2 0-119.2 21.5-165.3 60a188.78 188.78 0 01-121.3 43.9c-32.7 0-64.1-8.3-91.8-23.7l118.8-307.5zM210.5 844l41.7-107.8c35.7 18.1 75.4 27.8 116.6 27.8 61.2 0 119.2-21.5 165.3-60 33.9-28.2 76.3-43.9 121.3-43.9 35 0 68.4 9.5 97.6 27.1L813.5 844h-603z"}}]},name:"experiment",theme:"outlined"},Y=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:G}))};Y.displayName="ExperimentOutlined";var X=u.forwardRef(Y),Q={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z"}}]},name:"question-circle",theme:"outlined"},J=function(e,t){return u.createElement(P.Z,(0,N.Z)((0,N.Z)({},e),{},{ref:t,icon:Q}))};J.displayName="QuestionCircleOutlined";var ee=u.forwardRef(J),te=n(86548),ne=n(94184),re=n.n(ne),oe=n(58827),ie=n(2766),ae=n(92659),ce=n(50197),ue=n(25964),se=n(69677),le=n(52455),fe=n(83192);function de(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function pe(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){de(i,r,o,a,c,"next",e)}function c(e){de(i,r,o,a,c,"throw",e)}a(void 0)}))}}var ve=se.Z.TextArea;function me(e){var t=e.visible,n=e.handleClose,o=function(){d(!1),m(null),n()},i=(0,u.useState)(""),a=i[0],s=i[1],l=(0,u.useState)(!1),f=l[0],d=l[1],p=(0,u.useState)(null),v=p[0],m=p[1];function h(){return(h=pe(c().mark((function e(){var t;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return d(!0),t={value:a},e.prev=2,e.next=5,(0,oe.rQ)(oe.e_,{data:t,method:"POST",auth:!0});case 5:m(fe.zv),setTimeout(o,1e3),e.next=13;break;case 9:e.prev=9,e.t0=e.catch(2),console.error(e.t0),m(fe.Un);case 13:d(!1);case 14:case"end":return e.stop()}}),e,null,[[2,9]])})))).apply(this,arguments)}return(0,r.jsx)(le.Z,{destroyOnClose:!0,width:600,title:"Post to Followers",visible:t,onCancel:n,footer:[(0,r.jsx)(k.Z,{onClick:function(){return n()},children:"Cancel"}),(0,r.jsx)(k.Z,{type:"primary",onClick:function(){return h.apply(this,arguments)},disabled:f||v,loading:f,children:(null===v||void 0===v?void 0:v.toUpperCase())||"Post"})],children:(0,r.jsx)(C.Z,{id:"fediverse-post-container",direction:"vertical",children:(0,r.jsx)(ve,{placeholder:"Tell the world about your streaming plans...",size:"large",showCount:!0,maxLength:500,style:{height:"150px"},onChange:function(e){s(e.target.value)}})})})}function he(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function ge(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ye(e){for(var t=1;ta}return!0}return e>=t}function ee(e){return te.apply(this,arguments)}function te(){return(te=c(o().mark((function e(t){var n,r;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Y();case 2:if(n=e.sent,"v"===(r=n.tag_name).substr(0,1)&&(r=r.substr(1)),J(t,r)){e.next=7;break}return e.abrupt("return",r);case 7:return e.abrupt("return",null);case 8:case"end":return e.stop()}}),e)})))).apply(this,arguments)}},25964:function(e,t,n){"use strict";n.d(t,{sI:function(){return f},AA:function(){return d},d$:function(){return p},$w:function(){return h},c9:function(){return g},sv:function(){return y},vv:function(){return b},AP:function(){return w},CJ:function(){return x},cf:function(){return E},os:function(){return C},CQ:function(){return Z},pE:function(){return k},Si:function(){return N},RE:function(){return M},$t:function(){return j},rs:function(){return A},IX:function(){return F},ZQ:function(){return R},Ri:function(){return _},KB:function(){return I},rE:function(){return L},lT:function(){return D},cj:function(){return z},ME:function(){return V},y_:function(){return H},EY:function(){return U},P:function(){return q},gX:function(){return B},yj:function(){return W},kB:function(){return $},dj:function(){return K},Dg:function(){return G},AN:function(){return Y},Kl:function(){return X},LC:function(){return Q},FE:function(){return J},BF:function(){return ee},Xc:function(){return te},yi:function(){return ne},B_:function(){return re},dR:function(){return oe},dL:function(){return ie},nm:function(){return ae},Xq:function(){return ce},x8:function(){return ue},yC:function(){return se},SS:function(){return le},HM:function(){return fe},t$:function(){return de},I$:function(){return pe},i3:function(){return ve},wC:function(){return me},z_:function(){return he},zm:function(){return ge},oy:function(){return ye},mv:function(){return be},$Z:function(){return we}});var r=n(34051),o=n.n(r),i=n(58827),a=n(48419),c=n(19411);function u(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function s(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){u(i,r,o,a,c,"next",e)}function c(e){u(i,r,o,a,c,"throw",e)}a(void 0)}))}}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var f=3e3,d="/pagecontent",p="/customstyles",v="/serverurl",m="/nsfw",h="/s3",g="/socialhandles",y="/video/streamlatencylevel",b="/video/streamoutputvariants",w="/directoryenabled",x="/chat/forbiddenusernames",E="/chat/suggestedusernames",C="/externalactions",Z="/video/codec",k="/federation/blockdomains";function N(e){return S.apply(this,arguments)}function S(){return(S=s(o().mark((function e(t){var n,r,a,c,u;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.apiPath,r=t.data,a=t.onSuccess,c=t.onError,e.next=3,(0,i.rQ)("".concat(i.ao).concat(n),{data:r,method:"POST",auth:!0});case 3:(u=e.sent).success&&a?a(u.message):c&&c(u.message);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var P,O,T,M={apiPath:"/name",configPath:"instanceDetails",maxLength:255,placeholder:"Owncast site name",label:"Name",tip:"The name of your Owncast server",required:!0,useTrimLead:!0},j={apiPath:"/streamtitle",configPath:"instanceDetails",maxLength:100,placeholder:"Doing cool things...",label:"Stream Title",tip:"What is your stream about today?"},A={apiPath:"/serversummary",configPath:"instanceDetails",maxLength:500,placeholder:"",label:"About",tip:"A brief blurb about you, your server, or what your stream is about."},F={apiPath:"/welcomemessage",configPath:"instanceDetails",maxLength:2500,placeholder:"",label:"Welcome Message",tip:"A system chat message sent to viewers when they first connect to chat. Leave blank to disable."},R={apiPath:"/logo",configPath:"instanceDetails",maxLength:255,placeholder:"/img/mylogo.png",label:"Logo",tip:"Upload your logo if you have one. We recommend that you use a square image that is at least 256x256. SVGs are discouraged as they cannot be displayed on all social media platforms."},_={apiPath:"/key",configPath:"",maxLength:255,placeholder:"abc123",label:"Stream Key",tip:"Save this key somewhere safe, you will need it to stream or login to the admin dashboard!",required:!0},I={apiPath:"/ffmpegpath",configPath:"",maxLength:255,placeholder:"/usr/local/bin/ffmpeg",label:"FFmpeg Path",tip:"Absolute file path of the FFMPEG application on your server",required:!0},L={apiPath:"/webserverport",configPath:"",maxLength:6,placeholder:"8080",label:"Owncast port",tip:"What port is your Owncast web server listening? Default is 8080",required:!0},D={apiPath:"/rtmpserverport",configPath:"",maxLength:6,placeholder:"1935",label:"RTMP port",tip:"What port should accept inbound broadcasts? Default is 1935",required:!0},z={apiPath:v,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server.",type:a.xA,pattern:c.a,useTrim:!0},V={apiPath:"/sockethostoverride",configPath:"",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Websocket host override",tip:"The direct URL of your Owncast server.",type:a.xA,pattern:c.a,useTrim:!0},H={apiPath:"/tags",configPath:"instanceDetails",maxLength:24,placeholder:"Add a new tag",required:!0,label:"",tip:""},U={apiPath:m,configPath:"instanceDetails",label:"NSFW?",tip:"Turn this ON if you plan to steam explicit or adult content. Please respectfully set this flag so unexpected eyes won't accidentally see it in the Directory."},q={apiPath:w,configPath:"yp",label:"Enable directory",tip:"Turn this ON to request to show up in the directory."},B={framerate:24,videoPassthrough:!1,videoBitrate:800,audioPassthrough:!0,audioBitrate:0,cpuUsageLevel:3,scaledHeight:null,scaledWidth:null,name:""},W={apiPath:"/chat/disable",configPath:"",label:"Chat",tip:"Turn the chat functionality on/off on your Owncast server.",useSubmit:!0},$={apiPath:"/chat/joinmessagesenabled",configPath:"",label:"Join Messages",tip:"Show when a viewer joins the chat.",useSubmit:!0},K={apiPath:"/chat/establishedusermode",configPath:"",label:"Established users only",tip:"Only users who have previously been established for some time may chat.",useSubmit:!0},G={apiPath:x,placeholder:"username",label:"Forbidden usernames",tip:"A list of words in chat usernames you disallow."},Y={apiPath:E,placeholder:"username",label:"Default usernames",tip:"An optional list of chat usernames that new users get assigned. If the list holds less then 10 items, random names will be generated. Users can change their usernames afterwards and the same username may be given out multple times.",min_not_reached:"At least 10 items are required for this feature.",no_entries:"The default name generator is used."},X={apiPath:"/federation/enable",configPath:"federation",label:"Enable Social Features",tip:"Send and receive activities on the Fediverse.",useSubmit:!0},Q={apiPath:"/federation/private",configPath:"federation",label:"Private",tip:"Follow requests will require approval and only followers will see your activity.",useSubmit:!0},J={apiPath:"/federation/showengagement",configPath:"showEngagement",label:"Show engagement",tip:"Following, liking and sharing will appear in the chat feed.",useSubmit:!0},ee={apiPath:"/federation/livemessage",configPath:"federation",maxLength:500,placeholder:"My stream has started, tune in!",label:"Now Live message",tip:"The message sent announcing that your live stream has begun. Tags will be automatically added. Leave blank to disable."},te={apiPath:"/federation/username",configPath:"federation",maxLength:10,placeholder:"owncast",default:"owncast",label:"Username",tip:'The username used for sending and receiving activities from the Fediverse. For example, if you use "bob" as a username you would send messages to the fediverse from @bob@yourserver. Once people start following your instance you should not change this.'},ne={apiPath:v,configPath:"yp",maxLength:255,placeholder:"https://owncast.mysite.com",label:"Server URL",tip:"The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.",type:a.xA,pattern:c.a,useTrim:!0},re={apiPath:m,configPath:"instanceDetails",label:"Potentially NSFW",tip:"Turn this ON if you plan to steam explicit or adult content so previews of your stream can be marked as potentially sensitive."},oe={apiPath:k,configPath:"federation",label:"Blocked domains",placeholder:"bad.domain.biz",tip:"You can block specific domains from interacting with you."},ie={audioBitrate:{min:600,max:1200,defaultValue:800,unit:"kbps",incrementBy:100,tip:"nothing to see here"},videoPassthrough:{tip:"If enabled, all other settings will be disabled. Otherwise configure as desired."},audioPassthrough:{tip:"If No is selected, then you should set your desired Audio Bitrate."},scaledWidth:{fieldName:"scaledWidth",label:"Resized Width",maxLength:4,placeholder:"1080",tip:"Optionally resize this content's width."},scaledHeight:{fieldName:"scaledHeight",label:"Resized Height",maxLength:4,placeholder:"720",tip:"Optionally resize this content's height."}},ae={min:24,max:120,defaultValue:24,unit:"fps",incrementBy:null,tip:"Reducing your framerate will decrease the amount of video that needs to be encoded and sent to your viewers, saving CPU and bandwidth at the expense of smoothness. A lower value is generally is fine for most content."},ce=(l(P={},ae.min,"".concat(ae.min," ").concat(ae.unit)),l(P,25,""),l(P,30,""),l(P,50,""),l(P,60,""),l(P,90,""),l(P,ae.max,"".concat(ae.max," ").concat(ae.unit)),P),ue=(l(O={},ae.min,"".concat(ae.min,"fps - Good for film, presentations, music, low power/bandwidth servers.")),l(O,25,"25fps - Good for film, presentations, music, low power/bandwidth servers."),l(O,30,"30fps - Good for slow/casual games, chat, general purpose."),l(O,50,"50fps - Good for fast/action games, sports, HD video."),l(O,60,"60fps - Good for fast/action games, sports, HD video."),l(O,90,"90fps - Good for newer fast games and hardware."),l(O,ae.max,"".concat(ae.max,"fps - Experimental, use at your own risk!")),O),se={min:400,max:6e3,defaultValue:1200,unit:"kbps",incrementBy:100,tip:"The overall quality of your stream is generally impacted most by bitrate."},le={fieldName:"name",label:"Name",maxLength:15,placeholder:"HD or Low",tip:"Human-readable name for for displaying in the player."},fe=(l(T={},se.min,"".concat(se.min," ").concat(se.unit)),l(T,3e3,3e3),l(T,4500,4500),l(T,se.max,"".concat(se.max," ").concat(se.unit)),T),de={1:"lowest",2:"",3:"",4:"",5:"highest"},pe={1:"Lowest hardware usage - lowest quality video",2:"Low hardware usage - low quality video",3:"Medium hardware usage - average quality video",4:"High hardware usage - high quality video",5:"Highest hardware usage - higher quality video"},ve={VIDEO_HEIGHT:1080,VIDEO_BITRATE:3e3,HELP_TEXT:"You have only set one video quality variant. If your server has the computing resources, consider adding another, lower-quality variant, so more people can view your content!"},me={url:"",platform:""},he="OTHER_SOCIAL_HANDLE_OPTION",ge={accessKey:{fieldName:"accessKey",label:"Access Key",maxLength:255,placeholder:"access key 123",tip:""},acl:{fieldName:"acl",label:"ACL",maxLength:255,placeholder:"",tip:"Optional specific access control value to add to your content. Generally not required."},bucket:{fieldName:"bucket",label:"Bucket",maxLength:255,placeholder:"bucket 123",tip:"Create a new bucket for each Owncast instance you may be running."},endpoint:{fieldName:"endpoint",label:"Endpoint",maxLength:255,placeholder:"https://your.s3.provider.endpoint.com",tip:'The full URL (with "https://") endpoint from your storage provider.',useTrim:!0,type:a.xA,pattern:c.a},region:{fieldName:"region",label:"Region",maxLength:255,placeholder:"region 123",tip:""},secret:{fieldName:"secret",label:"Secret key",maxLength:255,placeholder:"your secret key",tip:""},servingEndpoint:{fieldName:"servingEndpoint",label:"Serving Endpoint",maxLength:255,placeholder:"http://cdn.ss3.provider.endpoint.com",tip:"Optional URL that content should be accessed from instead of the default. Used with CDNs and specific storage providers. Generally not required.",type:a.xA,pattern:c.a,useTrim:!0},forcePathStyle:{fieldName:"forcePathStyle",label:"Force path-style",tip:"If your S3 provider doesn't support virtual-hosted-style URLs set this to ON (i.e. Oracle Cloud Object Storage)"}},ye={webhookUrl:{fieldName:"webhook",label:"Webhook URL",maxLength:255,placeholder:"https://discord.com/api/webhooks/837/jf38-6iNEv",tip:"The webhook assigned to your channel.",type:a.xA,pattern:c.a,useTrim:!0},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:300,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},be={goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}},we={apiKey:{fieldName:"apiKey",label:"API Key",maxLength:200,tip:"",placeholder:"gaUQhRC2lqfrEFfElBXJgOctU"},apiSecret:{fieldName:"apiSecret",label:"API Secret",maxLength:200,tip:"",placeholder:"IIz4jFZMWbUKdFOEGUprFjRwIslG56d1SPQlolJYjXwJ2y2qKS"},accessToken:{fieldName:"accessToken",label:"Access Token",maxLength:200,tip:"",placeholder:"952540400-EEiwe9fkuSvWjnNC82YFa9kgpqbyAP3J7FjE2dkka"},accessTokenSecret:{fieldName:"accessTokenSecret",label:"Access Token Secret",maxLength:200,tip:"",placeholder:"xO0AZWNGfZxpNsYPg3zNEKhAsPPGvNZFlzQArA2khI9Kg"},bearerToken:{fieldName:"bearerToken",label:"Bearer Token",maxLength:200,tip:"",placeholder:"AAAAAAAAAAAAAAFqpXwEAAnnepHkjA8XD5ftx5jUadYIRtPtaq7AAAAwpXPpDWKDcdhiWr0tVDjsgW%2B4awGOM9VQ%3XPoMFuWcHsE42TK"},goLiveMessage:{fieldName:"goLiveMessage",label:"Go Live Text",maxLength:200,tip:"The text to send when you go live.",placeholder:"I've gone live! Come watch!"}}},2766:function(e,t,n){"use strict";n.d(t,{t5:function(){return i},Qr:function(){return a},wS:function(){return u},AB:function(){return s}});var r=n(42238),o=n.n(r);function i(e){var t=e.split(":");t[t.length-1]="";var n=t.join(":");return"[::1]"===(n=n.slice(0,n.length-1))||"127.0.0.1"===n?"Localhost":n}function a(e){return!e||0===Object.keys(e).length&&e.constructor===Object}function c(e,t,n){return String(t.repeat(n)+e).slice(-n)}function u(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=Number.isFinite(+e)?Math.abs(e):0,n=Math.floor(t/86400),r=n>0?"".concat(n," day").concat(n>1?"s":""," "):"",o=Math.floor(t/3600%24),i=o||n?c("".concat(o,":"),"0",3):"",a=Math.floor(t/60%60),u=c("".concat(a,":"),"0",3),s=Math.floor(t%60),l=c("".concat(s),"0",2);return r+i+u+l}function s(e){var t=o()(e),n=t.device,r=t.os,i=t.browser,a=i.major,c=i.name,u=r.version,s=r.name,l=n.model,f=n.type;if("libmpv"===e)return"mpv media player";if(!c||!a||!s)return e;var d=l||f?" (".concat(l||f,")"):"";return"".concat(c," ").concat(a," on ").concat(s," ").concat(u,"\n ").concat(d)}},83192:function(e,t,n){"use strict";n.d(t,{Un:function(){return l},Jk:function(){return d},zv:function(){return p},dG:function(){return v},kg:function(){return h}});var r=n(85893),o=n(89739),i=n(21640),a=n(50888),c=n(28058);function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var s,l="error",f="invalid",d="proessing",p="success",v="warning",m=(u(s={},p,{type:p,icon:(0,r.jsx)(o.Z,{style:{color:"green"}}),message:"Success!"}),u(s,l,{type:l,icon:(0,r.jsx)(i.Z,{style:{color:"red"}}),message:"An error occurred."}),u(s,f,{type:f,icon:(0,r.jsx)(i.Z,{style:{color:"red"}}),message:"An error occurred."}),u(s,d,{type:d,icon:(0,r.jsx)(a.Z,{}),message:""}),u(s,v,{type:v,icon:(0,r.jsx)(c.Z,{style:{color:"#fc0"}}),message:""}),s);function h(e,t){return e&&m[e]?t?{type:e,icon:m[e].icon,message:t}:m[e]:null}},35159:function(e,t,n){"use strict";n.d(t,{aC:function(){return h}});var r=n(34051),o=n.n(r),i=n(85893),a=n(67294),c=n(45697),u=n.n(c),s=n(58827);function l(e,t,n,r,o,i,a){try{var c=e[i](a),u=c.value}catch(s){return void n(s)}c.done?t(u):Promise.resolve(u).then(r,o)}function f(e){return function(){var t=this,n=arguments;return new Promise((function(r,o){var i=e.apply(t,n);function a(e){l(i,r,o,a,c,"next",e)}function c(e){l(i,r,o,a,c,"throw",e)}a(void 0)}))}}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e){for(var t=1;t1)for(var n=1;n1?t-1:0),r=1;r=i)return e;switch(e){case"%s":return String(n[o++]);case"%d":return Number(n[o++]);case"%j":try{return JSON.stringify(n[o++])}catch(t){return"[Circular]"}break;default:return e}}));return a}return e}function A(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!function(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"date"===e||"pattern"===e}(t)||"string"!==typeof e||e))}function F(e,t,n){var r=0,o=e.length;!function i(a){if(a&&a.length)n(a);else{var c=r;r+=1,c()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+\.)+[a-zA-Z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},V={integer:function(e){return V.number(e)&&parseInt(e,10)===e},float:function(e){return V.number(e)&&!V.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(t){return!1}},date:function(e){return"function"===typeof e.getTime&&"function"===typeof e.getMonth&&"function"===typeof e.getYear&&!isNaN(e.getTime())},number:function(e){return!isNaN(e)&&"number"===typeof e},object:function(e){return"object"===typeof e&&!V.array(e)},method:function(e){return"function"===typeof e},email:function(e){return"string"===typeof e&&e.length<=320&&!!e.match(z.email)},url:function(e){return"string"===typeof e&&e.length<=2048&&!!e.match(z.url)},hex:function(e){return"string"===typeof e&&!!e.match(z.hex)}},H={required:D,whitespace:function(e,t,n,r,o){(/^\s+$/.test(t)||""===t)&&r.push(j(o.messages.whitespace,e.fullField))},type:function(e,t,n,r,o){if(e.required&&void 0===t)D(e,t,n,r,o);else{var i=e.type;["integer","float","array","regexp","object","method","email","number","date","url","hex"].indexOf(i)>-1?V[i](t)||r.push(j(o.messages.types[i],e.fullField,e.type)):i&&typeof t!==e.type&&r.push(j(o.messages.types[i],e.fullField,e.type))}},range:function(e,t,n,r,o){var i="number"===typeof e.len,a="number"===typeof e.min,c="number"===typeof e.max,u=t,s=null,l="number"===typeof t,f="string"===typeof t,d=Array.isArray(t);if(l?s="number":f?s="string":d&&(s="array"),!s)return!1;d&&(u=t.length),f&&(u=t.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,"_").length),i?u!==e.len&&r.push(j(o.messages[s].len,e.fullField,e.len)):a&&!c&&ue.max?r.push(j(o.messages[s].max,e.fullField,e.max)):a&&c&&(ue.max)&&r.push(j(o.messages[s].range,e.fullField,e.min,e.max))},enum:function(e,t,n,r,o){e.enum=Array.isArray(e.enum)?e.enum:[],-1===e.enum.indexOf(t)&&r.push(j(o.messages.enum,e.fullField,e.enum.join(", ")))},pattern:function(e,t,n,r,o){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(j(o.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"===typeof e.pattern){new RegExp(e.pattern).test(t)||r.push(j(o.messages.pattern.mismatch,e.fullField,t,e.pattern))}}},U=function(e,t,n,r,o){var i=e.type,a=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,i)&&!e.required)return n();H.required(e,t,r,a,o,i),A(t,i)||H.type(e,t,r,a,o)}n(a)},q={string:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,"string")&&!e.required)return n();H.required(e,t,r,i,o,"string"),A(t,"string")||(H.type(e,t,r,i,o),H.range(e,t,r,i,o),H.pattern(e,t,r,i,o),!0===e.whitespace&&H.whitespace(e,t,r,i,o))}n(i)},method:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&H.type(e,t,r,i,o)}n(i)},number:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(""===t&&(t=void 0),A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&(H.type(e,t,r,i,o),H.range(e,t,r,i,o))}n(i)},boolean:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&H.type(e,t,r,i,o)}n(i)},regexp:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),A(t)||H.type(e,t,r,i,o)}n(i)},integer:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&(H.type(e,t,r,i,o),H.range(e,t,r,i,o))}n(i)},float:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&(H.type(e,t,r,i,o),H.range(e,t,r,i,o))}n(i)},array:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if((void 0===t||null===t)&&!e.required)return n();H.required(e,t,r,i,o,"array"),void 0!==t&&null!==t&&(H.type(e,t,r,i,o),H.range(e,t,r,i,o))}n(i)},object:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&H.type(e,t,r,i,o)}n(i)},enum:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o),void 0!==t&&H.enum(e,t,r,i,o)}n(i)},pattern:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,"string")&&!e.required)return n();H.required(e,t,r,i,o),A(t,"string")||H.pattern(e,t,r,i,o)}n(i)},date:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t,"date")&&!e.required)return n();var a;if(H.required(e,t,r,i,o),!A(t,"date"))a=t instanceof Date?t:new Date(t),H.type(e,a,r,i,o),a&&H.range(e,a.getTime(),r,i,o)}n(i)},url:U,hex:U,email:U,required:function(e,t,n,r,o){var i=[],a=Array.isArray(t)?"array":typeof t;H.required(e,t,r,i,o,a),n(i)},any:function(e,t,n,r,o){var i=[];if(e.required||!e.required&&r.hasOwnProperty(e.field)){if(A(t)&&!e.required)return n();H.required(e,t,r,i,o)}n(i)}};function B(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var W=B(),$=function(){function e(e){this.rules=null,this._messages=W,this.define(e)}var t=e.prototype;return t.define=function(e){var t=this;if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==typeof e||Array.isArray(e))throw new Error("Rules must be an object");this.rules={},Object.keys(e).forEach((function(n){var r=e[n];t.rules[n]=Array.isArray(r)?r:[r]}))},t.messages=function(e){return e&&(this._messages=L(B(),e)),this._messages},t.validate=function(t,n,r){var o=this;void 0===n&&(n={}),void 0===r&&(r=function(){});var i=t,a=n,c=r;if("function"===typeof a&&(c=a,a={}),!this.rules||0===Object.keys(this.rules).length)return c&&c(null,i),Promise.resolve(i);if(a.messages){var u=this.messages();u===W&&(u=B()),L(u,a.messages),a.messages=u}else a.messages=this.messages();var s={};(a.keys||Object.keys(this.rules)).forEach((function(e){var n=o.rules[e],r=i[e];n.forEach((function(n){var a=n;"function"===typeof a.transform&&(i===t&&(i=Z({},i)),r=i[e]=a.transform(r)),(a="function"===typeof a?{validator:a}:Z({},a)).validator=o.getValidationMethod(a),a.validator&&(a.field=e,a.fullField=a.fullField||e,a.type=o.getType(a),s[e]=s[e]||[],s[e].push({rule:a,value:r,source:i,field:e}))}))}));var l={};return _(s,a,(function(t,n){var r,o=t.rule,c=("object"===o.type||"array"===o.type)&&("object"===typeof o.fields||"object"===typeof o.defaultField);function u(e,t){return Z({},t,{fullField:o.fullField+"."+e,fullFields:o.fullFields?[].concat(o.fullFields,[e]):[e]})}function s(r){void 0===r&&(r=[]);var s=Array.isArray(r)?r:[r];!a.suppressWarning&&s.length&&e.warning("async-validator:",s),s.length&&void 0!==o.message&&(s=[].concat(o.message));var f=s.map(I(o,i));if(a.first&&f.length)return l[o.field]=1,n(f);if(c){if(o.required&&!t.value)return void 0!==o.message?f=[].concat(o.message).map(I(o,i)):a.error&&(f=[a.error(o,j(a.messages.required,o.field))]),n(f);var d={};o.defaultField&&Object.keys(t.value).map((function(e){d[e]=o.defaultField})),d=Z({},d,t.rule.fields);var p={};Object.keys(d).forEach((function(e){var t=d[e],n=Array.isArray(t)?t:[t];p[e]=n.map(u.bind(null,e))}));var v=new e(p);v.messages(a.messages),t.rule.options&&(t.rule.options.messages=a.messages,t.rule.options.error=a.error),v.validate(t.value,t.rule.options||a,(function(e){var t=[];f&&f.length&&t.push.apply(t,f),e&&e.length&&t.push.apply(t,e),n(t.length?t:null)}))}else n(f)}if(c=c&&(o.required||!o.required&&t.value),o.field=t.field,o.asyncValidator)r=o.asyncValidator(o,t.value,s,t.source,a);else if(o.validator){try{r=o.validator(o,t.value,s,t.source,a)}catch(f){null==console.error||console.error(f),setTimeout((function(){throw f}),0),s(f.message)}!0===r?s():!1===r?s("function"===typeof o.message?o.message(o.fullField||o.field):o.message||(o.fullField||o.field)+" fails"):r instanceof Array?s(r):r instanceof Error&&s(r.message)}r&&r.then&&r.then((function(){return s()}),(function(e){return s(e)}))}),(function(e){!function(e){var t=[],n={};function r(e){var n;Array.isArray(e)?t=(n=t).concat.apply(n,e):t.push(e)}for(var o=0;o3&&void 0!==arguments[3]&&arguments[3];return t.length&&r&&void 0===n&&!X(e,t.slice(0,-1))?e:J(e,t,n,r)}function te(e){return b(e)}function ne(e,t){return X(e,t)}function re(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=ee(e,t,n,r);return o}function oe(e,t){var n={};return t.forEach((function(t){var r=ne(e,t);n=re(n,t,r)})),n}function ie(e,t){return e&&e.some((function(e){return se(e,t)}))}function ae(e){return"object"===(0,Y.Z)(e)&&null!==e&&Object.getPrototypeOf(e)===Object.prototype}function ce(e,t){var n=Array.isArray(e)?(0,u.Z)(e):(0,c.Z)({},e);return t?(Object.keys(t).forEach((function(e){var r=n[e],o=t[e],i=ae(r)&&ae(o);n[e]=i?ce(r,o||{}):o})),n):n}function ue(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r=r||n<0||n>=r)return e;var o=e[t],i=t-n;return i>0?[].concat((0,u.Z)(e.slice(0,n)),[o],(0,u.Z)(e.slice(n,t)),(0,u.Z)(e.slice(t+1,r))):i<0?[].concat((0,u.Z)(e.slice(0,t)),(0,u.Z)(e.slice(t+1,n+1)),[o],(0,u.Z)(e.slice(n+1,r))):e}var de=$;function pe(e,t){return e.replace(/\$\{\w+\}/g,(function(e){var n=e.slice(2,-1);return t[n]}))}function ve(e,t,n,r,o){return me.apply(this,arguments)}function me(){return me=(0,E.Z)(x().mark((function e(t,n,o,i,s){var l,f,d,p,v,m,h,g;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return delete(l=(0,c.Z)({},o)).ruleIndex,f=null,l&&"array"===l.type&&l.defaultField&&(f=l.defaultField,delete l.defaultField),d=new de((0,a.Z)({},t,[l])),p=ue({},G,i.validateMessages),d.messages(p),v=[],e.prev=8,e.next=11,Promise.resolve(d.validate((0,a.Z)({},t,n),(0,c.Z)({},i)));case 11:e.next=16;break;case 13:e.prev=13,e.t0=e.catch(8),e.t0.errors?v=e.t0.errors.map((function(e,t){var n=e.message;return r.isValidElement(n)?r.cloneElement(n,{key:"error_".concat(t)}):n})):(console.error(e.t0),v=[p.default]);case 16:if(v.length||!f){e.next=21;break}return e.next=19,Promise.all(n.map((function(e,n){return ve("".concat(t,".").concat(n),e,f,i,s)})));case 19:return m=e.sent,e.abrupt("return",m.reduce((function(e,t){return[].concat((0,u.Z)(e),(0,u.Z)(t))}),[]));case 21:return h=(0,c.Z)((0,c.Z)({},o),{},{name:t,enum:(o.enum||[]).join(", ")},s),g=v.map((function(e){return"string"===typeof e?pe(e,h):e})),e.abrupt("return",g);case 24:case"end":return e.stop()}}),e,null,[[8,13]])}))),me.apply(this,arguments)}function he(e,t,n,r,o,i){var a,u=e.join("."),s=n.map((function(e,t){var n=e.validator,r=(0,c.Z)((0,c.Z)({},e),{},{ruleIndex:t});return n&&(r.validator=function(e,t,r){var o=!1,i=n(e,t,(function(){for(var e=arguments.length,t=new Array(e),n=0;n0&&void 0!==arguments[0]?arguments[0]:we;if(o.validatePromise===r){o.validatePromise=null;var t=[],n=[];e.forEach((function(e){var r=e.rule.warningOnly,o=e.errors,i=void 0===o?we:o;r?n.push.apply(n,(0,u.Z)(i)):t.push.apply(t,(0,u.Z)(i))})),o.errors=t,o.warnings=n,o.triggerMetaEvent(),o.reRender()}})),d}));return o.validatePromise=r,o.dirty=!0,o.errors=we,o.warnings=we,o.triggerMetaEvent(),o.reRender(),r},o.isFieldValidating=function(){return!!o.validatePromise},o.isFieldTouched=function(){return o.touched},o.isFieldDirty=function(){return!(!o.dirty&&void 0===o.props.initialValue)||void 0!==(0,o.props.fieldContext.getInternalHooks(h).getInitialValue)(o.getNamePath())},o.getErrors=function(){return o.errors},o.getWarnings=function(){return o.warnings},o.isListField=function(){return o.props.isListField},o.isList=function(){return o.props.isList},o.isPreserve=function(){return o.props.preserve},o.getMeta=function(){return o.prevValidating=o.isFieldValidating(),{touched:o.isFieldTouched(),validating:o.prevValidating,errors:o.errors,warnings:o.warnings,name:o.getNamePath()}},o.getOnlyChild=function(e){if("function"===typeof e){var t=o.getMeta();return(0,c.Z)((0,c.Z)({},o.getOnlyChild(e(o.getControlled(),t,o.props.fieldContext))),{},{isFunction:!0})}var n=(0,v.Z)(e);return 1===n.length&&r.isValidElement(n[0])?{child:n[0],isFunction:!1}:{child:n,isFunction:!1}},o.getValue=function(e){var t=o.props.fieldContext.getFieldsValue,n=o.getNamePath();return ne(e||t(!0),n)},o.getControlled=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=o.props,n=t.trigger,r=t.validateTrigger,i=t.getValueFromEvent,u=t.normalize,s=t.valuePropName,l=t.getValueProps,f=t.fieldContext,d=void 0!==r?r:f.validateTrigger,p=o.getNamePath(),v=f.getInternalHooks,m=f.getFieldsValue,g=v(h),y=g.dispatch,w=o.getValue(),x=l||function(e){return(0,a.Z)({},s,e)},E=e[n],C=(0,c.Z)((0,c.Z)({},e),x(w));C[n]=function(){var e;o.touched=!0,o.dirty=!0,o.triggerMetaEvent();for(var t=arguments.length,n=new Array(t),r=0;r=0&&t<=n.length?(l.keys=[].concat((0,u.Z)(l.keys.slice(0,t)),[l.id],(0,u.Z)(l.keys.slice(t))),i([].concat((0,u.Z)(n.slice(0,t)),[e],(0,u.Z)(n.slice(t))))):(l.keys=[].concat((0,u.Z)(l.keys),[l.id]),i([].concat((0,u.Z)(n),[e]))),l.id+=1},remove:function(e){var t=c(),n=new Set(Array.isArray(e)?e:[e]);n.size<=0||(l.keys=l.keys.filter((function(e,t){return!n.has(t)})),i(t.filter((function(e,t){return!n.has(t)}))))},move:function(e,t){if(e!==t){var n=c();e<0||e>=n.length||t<0||t>=n.length||(l.keys=fe(l.keys,e,t),i(fe(n,e,t)))}}},p=r||[];return Array.isArray(p)||(p=[]),o(p.map((function(e,t){var n=l.keys[t];return void 0===n&&(l.keys[t]=l.id,n=l.keys[t],l.id+=1),{name:t,key:n,isListField:!0}})),d,t)}))))},Ne=n(97685);var Se="__@field_split__";function Pe(e){return e.map((function(e){return"".concat((0,Y.Z)(e),":").concat(e)})).join(Se)}var Oe=function(){function e(){(0,s.Z)(this,e),this.kvs=new Map}return(0,l.Z)(e,[{key:"set",value:function(e,t){this.kvs.set(Pe(e),t)}},{key:"get",value:function(e){return this.kvs.get(Pe(e))}},{key:"update",value:function(e,t){var n=t(this.get(e));n?this.set(e,n):this.delete(e)}},{key:"delete",value:function(e){this.kvs.delete(Pe(e))}},{key:"map",value:function(e){return(0,u.Z)(this.kvs.entries()).map((function(t){var n=(0,Ne.Z)(t,2),r=n[0],o=n[1],i=r.split(Se);return e({key:i.map((function(e){var t=e.match(/^([^:]*):(.*)$/),n=(0,Ne.Z)(t,3),r=n[1],o=n[2];return"number"===r?Number(o):o})),value:o})}))}},{key:"toJSON",value:function(){var e={};return this.map((function(t){var n=t.key,r=t.value;return e[n.join(".")]=r,null})),e}}]),e}(),Te=Oe,Me=["name","errors"],je=(0,l.Z)((function e(t){var n=this;(0,s.Z)(this,e),this.formHooked=!1,this.forceRootUpdate=void 0,this.subscribable=!0,this.store={},this.fieldEntities=[],this.initialValues={},this.callbacks={},this.validateMessages=null,this.preserve=null,this.lastValidatePromise=null,this.getForm=function(){return{getFieldValue:n.getFieldValue,getFieldsValue:n.getFieldsValue,getFieldError:n.getFieldError,getFieldWarning:n.getFieldWarning,getFieldsError:n.getFieldsError,isFieldsTouched:n.isFieldsTouched,isFieldTouched:n.isFieldTouched,isFieldValidating:n.isFieldValidating,isFieldsValidating:n.isFieldsValidating,resetFields:n.resetFields,setFields:n.setFields,setFieldsValue:n.setFieldsValue,validateFields:n.validateFields,submit:n.submit,getInternalHooks:n.getInternalHooks}},this.getInternalHooks=function(e){return e===h?(n.formHooked=!0,{dispatch:n.dispatch,initEntityValue:n.initEntityValue,registerField:n.registerField,useSubscribe:n.useSubscribe,setInitialValues:n.setInitialValues,setCallbacks:n.setCallbacks,setValidateMessages:n.setValidateMessages,getFields:n.getFields,setPreserve:n.setPreserve,getInitialValue:n.getInitialValue}):((0,m.ZP)(!1,"`getInternalHooks` is internal usage. Should not call directly."),null)},this.useSubscribe=function(e){n.subscribable=e},this.setInitialValues=function(e,t){n.initialValues=e||{},t&&(n.store=ue({},e,n.store))},this.getInitialValue=function(e){return ne(n.initialValues,e)},this.setCallbacks=function(e){n.callbacks=e},this.setValidateMessages=function(e){n.validateMessages=e},this.setPreserve=function(e){n.preserve=e},this.timeoutId=null,this.warningUnhooked=function(){0},this.getFieldEntities=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return e?n.fieldEntities.filter((function(e){return e.getNamePath().length})):n.fieldEntities},this.getFieldsMap=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=new Te;return n.getFieldEntities(e).forEach((function(e){var n=e.getNamePath();t.set(n,e)})),t},this.getFieldEntitiesForNamePathList=function(e){if(!e)return n.getFieldEntities(!0);var t=n.getFieldsMap(!0);return e.map((function(e){var n=te(e);return t.get(n)||{INVALIDATE_NAME_PATH:te(e)}}))},this.getFieldsValue=function(e,t){if(n.warningUnhooked(),!0===e&&!t)return n.store;var r=n.getFieldEntitiesForNamePathList(Array.isArray(e)?e:null),o=[];return r.forEach((function(n){var r,i="INVALIDATE_NAME_PATH"in n?n.INVALIDATE_NAME_PATH:n.getNamePath();if(e||!(null===(r=n.isListField)||void 0===r?void 0:r.call(n)))if(t){var a="getMeta"in n?n.getMeta():null;t(a)&&o.push(i)}else o.push(i)})),oe(n.store,o.map(te))},this.getFieldValue=function(e){n.warningUnhooked();var t=te(e);return ne(n.store,t)},this.getFieldsError=function(e){return n.warningUnhooked(),n.getFieldEntitiesForNamePathList(e).map((function(t,n){return t&&!("INVALIDATE_NAME_PATH"in t)?{name:t.getNamePath(),errors:t.getErrors(),warnings:t.getWarnings()}:{name:te(e[n]),errors:[],warnings:[]}}))},this.getFieldError=function(e){n.warningUnhooked();var t=te(e);return n.getFieldsError([t])[0].errors},this.getFieldWarning=function(e){n.warningUnhooked();var t=te(e);return n.getFieldsError([t])[0].warnings},this.isFieldsTouched=function(){n.warningUnhooked();for(var e=arguments.length,t=new Array(e),r=0;r0&&void 0!==arguments[0]?arguments[0]:{},t=new Te,r=n.getFieldEntities(!0);r.forEach((function(e){var n=e.props.initialValue,r=e.getNamePath();if(void 0!==n){var o=t.get(r)||new Set;o.add({entity:e,value:n}),t.set(r,o)}}));var o,i=function(r){r.forEach((function(r){if(void 0!==r.props.initialValue){var o=r.getNamePath();if(void 0!==n.getInitialValue(o))(0,m.ZP)(!1,"Form already set 'initialValues' with path '".concat(o.join("."),"'. Field can not overwrite it."));else{var i=t.get(o);if(i&&i.size>1)(0,m.ZP)(!1,"Multiple Field with path '".concat(o.join("."),"' set 'initialValue'. Can not decide which one to pick."));else if(i){var a=n.getFieldValue(o);e.skipExist&&void 0!==a||(n.store=re(n.store,o,(0,u.Z)(i)[0].value))}}}}))};e.entities?o=e.entities:e.namePathList?(o=[],e.namePathList.forEach((function(e){var n,r=t.get(e);r&&(n=o).push.apply(n,(0,u.Z)((0,u.Z)(r).map((function(e){return e.entity}))))}))):o=r,i(o)},this.resetFields=function(e){n.warningUnhooked();var t=n.store;if(!e)return n.store=ue({},n.initialValues),n.resetWithFieldInitialValue(),void n.notifyObservers(t,null,{type:"reset"});var r=e.map(te);r.forEach((function(e){var t=n.getInitialValue(e);n.store=re(n.store,e,t)})),n.resetWithFieldInitialValue({namePathList:r}),n.notifyObservers(t,r,{type:"reset"})},this.setFields=function(e){n.warningUnhooked();var t=n.store;e.forEach((function(e){var r=e.name,o=(e.errors,(0,i.Z)(e,Me)),a=te(r);"value"in o&&(n.store=re(n.store,a,o.value)),n.notifyObservers(t,[a],{type:"setField",data:e})}))},this.getFields=function(){return n.getFieldEntities(!0).map((function(e){var t=e.getNamePath(),r=e.getMeta(),o=(0,c.Z)((0,c.Z)({},r),{},{name:t,value:n.getFieldValue(t)});return Object.defineProperty(o,"originRCField",{value:!0}),o}))},this.initEntityValue=function(e){var t=e.props.initialValue;if(void 0!==t){var r=e.getNamePath();void 0===ne(n.store,r)&&(n.store=re(n.store,r,t))}},this.registerField=function(e){if(n.fieldEntities.push(e),void 0!==e.props.initialValue){var t=n.store;n.resetWithFieldInitialValue({entities:[e],skipExist:!0}),n.notifyObservers(t,[e.getNamePath()],{type:"valueUpdate",source:"internal"})}return function(t,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];n.fieldEntities=n.fieldEntities.filter((function(t){return t!==e}));var i=void 0!==r?r:n.preserve;if(!1===i&&(!t||o.length>1)){var a=e.getNamePath(),c=t?void 0:ne(n.initialValues,a);if(a.length&&n.getFieldValue(a)!==c&&n.fieldEntities.every((function(e){return!se(e.getNamePath(),a)}))){var u=n.store;n.store=re(u,a,c,!0),n.notifyObservers(u,[a],{type:"remove"}),n.triggerDependenciesUpdate(u,a)}}}},this.dispatch=function(e){switch(e.type){case"updateValue":var t=e.namePath,r=e.value;n.updateValue(t,r);break;case"validateField":var o=e.namePath,i=e.triggerName;n.validateFields([o],{triggerName:i})}},this.notifyObservers=function(e,t,r){if(n.subscribable){var o=(0,c.Z)((0,c.Z)({},r),{},{store:n.getFieldsValue(!0)});n.getFieldEntities().forEach((function(n){(0,n.onStoreChange)(e,t,o)}))}else n.forceRootUpdate()},this.triggerDependenciesUpdate=function(e,t){var r=n.getDependencyChildrenFields(t);return r.length&&n.validateFields(r),n.notifyObservers(e,r,{type:"dependenciesUpdate",relatedFields:[t].concat((0,u.Z)(r))}),r},this.updateValue=function(e,t){var r=te(e),o=n.store;n.store=re(n.store,r,t),n.notifyObservers(o,[r],{type:"valueUpdate",source:"internal"});var i=n.triggerDependenciesUpdate(o,r),a=n.callbacks.onValuesChange;a&&a(oe(n.store,[r]),n.getFieldsValue());n.triggerOnFieldsChange([r].concat((0,u.Z)(i)))},this.setFieldsValue=function(e){n.warningUnhooked();var t=n.store;e&&(n.store=ue(n.store,e)),n.notifyObservers(t,null,{type:"valueUpdate",source:"external"})},this.getDependencyChildrenFields=function(e){var t=new Set,r=[],o=new Te;n.getFieldEntities().forEach((function(e){(e.props.dependencies||[]).forEach((function(t){var n=te(t);o.update(n,(function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Set;return t.add(e),t}))}))}));return function e(n){(o.get(n)||new Set).forEach((function(n){if(!t.has(n)){t.add(n);var o=n.getNamePath();n.isFieldDirty()&&o.length&&(r.push(o),e(o))}}))}(e),r},this.triggerOnFieldsChange=function(e,t){var r=n.callbacks.onFieldsChange;if(r){var o=n.getFields();if(t){var i=new Te;t.forEach((function(e){var t=e.name,n=e.errors;i.set(t,n)})),o.forEach((function(e){e.errors=i.get(e.name)||e.errors}))}r(o.filter((function(t){var n=t.name;return ie(e,n)})),o)}},this.validateFields=function(e,t){n.warningUnhooked();var r=!!e,o=r?e.map(te):[],i=[];n.getFieldEntities(!0).forEach((function(a){if(r||o.push(a.getNamePath()),(null===t||void 0===t?void 0:t.recursive)&&r){var s=a.getNamePath();s.every((function(t,n){return e[n]===t||void 0===e[n]}))&&o.push(s)}if(a.props.rules&&a.props.rules.length){var l=a.getNamePath();if(!r||ie(o,l)){var f=a.validateRules((0,c.Z)({validateMessages:(0,c.Z)((0,c.Z)({},G),n.validateMessages)},t));i.push(f.then((function(){return{name:l,errors:[],warnings:[]}})).catch((function(e){var t=[],n=[];return e.forEach((function(e){var r=e.rule.warningOnly,o=e.errors;r?n.push.apply(n,(0,u.Z)(o)):t.push.apply(t,(0,u.Z)(o))})),t.length?Promise.reject({name:l,errors:t,warnings:n}):{name:l,errors:t,warnings:n}})))}}}));var a=function(e){var t=!1,n=e.length,r=[];return e.length?new Promise((function(o,i){e.forEach((function(e,a){e.catch((function(e){return t=!0,e})).then((function(e){n-=1,r[a]=e,n>0||(t&&i(r),o(r))}))}))})):Promise.resolve([])}(i);n.lastValidatePromise=a,a.catch((function(e){return e})).then((function(e){var t=e.map((function(e){return e.name}));n.notifyObservers(n.store,t,{type:"validateFinish"}),n.triggerOnFieldsChange(t,e)}));var s=a.then((function(){return n.lastValidatePromise===a?Promise.resolve(n.getFieldsValue(o)):Promise.reject([])})).catch((function(e){var t=e.filter((function(e){return e&&e.errors.length}));return Promise.reject({values:n.getFieldsValue(o),errorFields:t,outOfDate:n.lastValidatePromise!==a})}));return s.catch((function(e){return e})),s},this.submit=function(){n.warningUnhooked(),n.validateFields().then((function(e){var t=n.callbacks.onFinish;if(t)try{t(e)}catch(r){console.error(r)}})).catch((function(e){var t=n.callbacks.onFinishFailed;t&&t(e)}))},this.forceRootUpdate=t}));var Ae=function(e){var t=r.useRef(),n=r.useState({}),o=(0,Ne.Z)(n,2)[1];if(!t.current)if(e)t.current=e;else{var i=new je((function(){o({})}));t.current=i.getForm()}return[t.current]},Fe=r.createContext({triggerFormChange:function(){},triggerFormFinish:function(){},registerForm:function(){},unregisterForm:function(){}}),Re=function(e){var t=e.validateMessages,n=e.onFormChange,o=e.onFormFinish,i=e.children,u=r.useContext(Fe),s=r.useRef({});return r.createElement(Fe.Provider,{value:(0,c.Z)((0,c.Z)({},u),{},{validateMessages:(0,c.Z)((0,c.Z)({},u.validateMessages),t),triggerFormChange:function(e,t){n&&n(e,{changedFields:t,forms:s.current}),u.triggerFormChange(e,t)},triggerFormFinish:function(e,t){o&&o(e,{values:t,forms:s.current}),u.triggerFormFinish(e,t)},registerForm:function(e,t){e&&(s.current=(0,c.Z)((0,c.Z)({},s.current),{},(0,a.Z)({},e,t))),u.registerForm(e,t)},unregisterForm:function(e){var t=(0,c.Z)({},s.current);delete t[e],s.current=t,u.unregisterForm(e)}})},i)},_e=Fe,Ie=["name","initialValues","fields","form","preserve","children","component","validateMessages","validateTrigger","onValuesChange","onFieldsChange","onFinish","onFinishFailed"],Le=function(e,t){var n=e.name,a=e.initialValues,s=e.fields,l=e.form,f=e.preserve,d=e.children,p=e.component,v=void 0===p?"form":p,m=e.validateMessages,g=e.validateTrigger,b=void 0===g?"onChange":g,w=e.onValuesChange,x=e.onFieldsChange,E=e.onFinish,C=e.onFinishFailed,Z=(0,i.Z)(e,Ie),k=r.useContext(_e),N=Ae(l),S=(0,Ne.Z)(N,1)[0],P=S.getInternalHooks(h),O=P.useSubscribe,T=P.setInitialValues,M=P.setCallbacks,j=P.setValidateMessages,A=P.setPreserve;r.useImperativeHandle(t,(function(){return S})),r.useEffect((function(){return k.registerForm(n,S),function(){k.unregisterForm(n)}}),[k,S,n]),j((0,c.Z)((0,c.Z)({},k.validateMessages),m)),M({onValuesChange:w,onFieldsChange:function(e){if(k.triggerFormChange(n,e),x){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:1,n=L+=1;function r(t){if(0===t)z(n),e();else{var o=_((function(){r(t-1)}));D.set(n,o)}}return r(t),n}V.cancel=function(e){var t=D.get(e);return z(t),I(t)};var H=p()?c.useLayoutEffect:c.useEffect,U=[M,j,A,F];function q(e){return e===A||e===F}var B=function(e,t){var n=R(T),r=(0,i.Z)(n,2),o=r[0],a=r[1],u=function(){var e=c.useRef(null);function t(){V.cancel(e.current)}return c.useEffect((function(){return function(){t()}}),[]),[function n(r){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t();var i=V((function(){o<=1?r({isCanceled:function(){return i!==e.current}}):n(r,o-1)}));e.current=i},t]}(),s=(0,i.Z)(u,2),l=s[0],f=s[1];return H((function(){if(o!==T&&o!==F){var e=U.indexOf(o),n=U[e+1],r=t(o);false===r?a(n,!0):l((function(e){function t(){e.isCanceled()||a(n,!0)}!0===r?t():Promise.resolve(r).then(t)}))}}),[e,o]),c.useEffect((function(){return function(){f()}}),[]),[function(){a(M,!0)},o]};function W(e,t,n,a){var u=a.motionEnter,s=void 0===u||u,l=a.motionAppear,f=void 0===l||l,d=a.motionLeave,p=void 0===d||d,v=a.motionDeadline,m=a.motionLeaveImmediately,h=a.onAppearPrepare,g=a.onEnterPrepare,y=a.onLeavePrepare,b=a.onAppearStart,w=a.onEnterStart,x=a.onLeaveStart,E=a.onAppearActive,k=a.onEnterActive,T=a.onLeaveActive,F=a.onAppearEnd,_=a.onEnterEnd,I=a.onLeaveEnd,L=a.onVisibleChanged,D=R(),z=(0,i.Z)(D,2),V=z[0],U=z[1],W=R(N),$=(0,i.Z)(W,2),K=$[0],G=$[1],Y=R(null),X=(0,i.Z)(Y,2),Q=X[0],J=X[1],ee=(0,c.useRef)(!1),te=(0,c.useRef)(null);function ne(){return n()}var re=(0,c.useRef)(!1);function oe(e){var t=ne();if(!e||e.deadline||e.target===t){var n,r=re.current;K===S&&r?n=null===F||void 0===F?void 0:F(t,e):K===P&&r?n=null===_||void 0===_?void 0:_(t,e):K===O&&r&&(n=null===I||void 0===I?void 0:I(t,e)),K!==N&&r&&!1!==n&&(G(N,!0),J(null,!0))}}var ie=function(e){var t=(0,c.useRef)(),n=(0,c.useRef)(e);n.current=e;var r=c.useCallback((function(e){n.current(e)}),[]);function o(e){e&&(e.removeEventListener(Z,r),e.removeEventListener(C,r))}return c.useEffect((function(){return function(){o(t.current)}}),[]),[function(e){t.current&&t.current!==e&&o(t.current),e&&e!==t.current&&(e.addEventListener(Z,r),e.addEventListener(C,r),t.current=e)},o]}(oe),ae=(0,i.Z)(ie,1)[0],ce=c.useMemo((function(){var e,t,n;switch(K){case S:return e={},(0,r.Z)(e,M,h),(0,r.Z)(e,j,b),(0,r.Z)(e,A,E),e;case P:return t={},(0,r.Z)(t,M,g),(0,r.Z)(t,j,w),(0,r.Z)(t,A,k),t;case O:return n={},(0,r.Z)(n,M,y),(0,r.Z)(n,j,x),(0,r.Z)(n,A,T),n;default:return{}}}),[K]),ue=B(K,(function(e){if(e===M){var t=ce.prepare;return!!t&&t(ne())}var n;fe in ce&&J((null===(n=ce[fe])||void 0===n?void 0:n.call(ce,ne(),null))||null);return fe===A&&(ae(ne()),v>0&&(clearTimeout(te.current),te.current=setTimeout((function(){oe({deadline:!0})}),v))),true})),se=(0,i.Z)(ue,2),le=se[0],fe=se[1],de=q(fe);re.current=de,H((function(){U(t);var n,r=ee.current;(ee.current=!0,e)&&(!r&&t&&f&&(n=S),r&&t&&s&&(n=P),(r&&!t&&p||!r&&m&&!t&&p)&&(n=O),n&&(G(n),le()))}),[t]),(0,c.useEffect)((function(){(K===S&&!f||K===P&&!s||K===O&&!p)&&G(N)}),[f,s,p]),(0,c.useEffect)((function(){return function(){ee.current=!1,clearTimeout(te.current)}}),[]),(0,c.useEffect)((function(){void 0!==V&&K===N&&(null===L||void 0===L||L(V))}),[V,K]);var pe=Q;return ce.prepare&&fe===j&&(pe=(0,o.Z)({transition:"none"},pe)),[K,fe,pe,null!==V&&void 0!==V?V:t]}var $=n(15671),K=n(43144),G=n(60136),Y=n(3289),X=function(e){(0,G.Z)(n,e);var t=(0,Y.Z)(n);function n(){return(0,$.Z)(this,n),t.apply(this,arguments)}return(0,K.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(c.Component),Q=X;var J=function(e){var t=e;function n(e){return!(!e.motionName||!t)}"object"===(0,a.Z)(e)&&(t=e.transitionSupport);var f=c.forwardRef((function(e,t){var a=e.visible,f=void 0===a||a,p=e.removeOnLeave,v=void 0===p||p,m=e.forceRender,h=e.children,g=e.motionName,y=e.leavedClassName,b=e.eventProps,w=n(e),x=(0,c.useRef)(),E=(0,c.useRef)();var C=W(w,f,(function(){try{return x.current instanceof HTMLElement?x.current:(e=E.current)instanceof HTMLElement?e:u.findDOMNode(e)}catch(t){return null}var e}),e),Z=(0,i.Z)(C,4),S=Z[0],P=Z[1],O=Z[2],T=Z[3],A=c.useRef(T);T&&(A.current=!0);var F,R=c.useCallback((function(e){x.current=e,l(t,e)}),[t]),_=(0,o.Z)((0,o.Z)({},b),{},{visible:f});if(h)if(S!==N&&n(e)){var I,L;P===M?L="prepare":q(P)?L="active":P===j&&(L="start"),F=h((0,o.Z)((0,o.Z)({},_),{},{className:d()(k(g,S),(I={},(0,r.Z)(I,k(g,"".concat(S,"-").concat(L)),L),(0,r.Z)(I,g,"string"===typeof g),I)),style:O}),R)}else F=T?h((0,o.Z)({},_),R):!v&&A.current?h((0,o.Z)((0,o.Z)({},_),{},{className:y}),R):m?h((0,o.Z)((0,o.Z)({},_),{},{style:{display:"none"}}),R):null;else F=null;c.isValidElement(F)&&function(e){var t,n,r=(0,s.isMemo)(e)?e.type.type:e.type;return!("function"===typeof r&&!(null===(t=r.prototype)||void 0===t?void 0:t.render))&&!("function"===typeof e&&!(null===(n=e.prototype)||void 0===n?void 0:n.render))}(F)&&(F.ref||(F=c.cloneElement(F,{ref:R})));return c.createElement(Q,{ref:E},F)}));return f.displayName="CSSMotion",f}(E),ee=n(87462),te=n(91),ne="add",re="keep",oe="remove",ie="removed";function ae(e){var t;return t=e&&"object"===(0,a.Z)(e)&&"key"in e?e:{key:e},(0,o.Z)((0,o.Z)({},t),{},{key:String(t.key)})}function ce(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.map(ae)}function ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[],r=0,i=t.length,a=ce(e),c=ce(t);a.forEach((function(e){for(var t=!1,a=r;a1}));return s.forEach((function(e){(n=n.filter((function(t){var n=t.key,r=t.status;return n!==e||r!==oe}))).forEach((function(t){t.key===e&&(t.status=re)}))})),n}var se=["component","children","onVisibleChanged","onAllRemoved"],le=["status"],fe=["eventProps","visible","children","motionName","motionAppear","motionEnter","motionLeave","motionLeaveImmediately","motionDeadline","removeOnLeave","leavedClassName","onAppearStart","onAppearActive","onAppearEnd","onEnterStart","onEnterActive","onEnterEnd","onLeaveStart","onLeaveActive","onLeaveEnd"];var de=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:J,n=function(e){(0,G.Z)(r,e);var n=(0,Y.Z)(r);function r(){var e;(0,$.Z)(this,r);for(var t=arguments.length,i=new Array(t),a=0;a=a&&(o.key=c[0].notice.key,o.updateMark=b(),o.userPassKey=r,c.shift()),c.push({notice:o,holderCallback:n})),{notices:c}}))},e.remove=function(t){e.setState((function(e){return{notices:e.notices.filter((function(e){var n=e.notice,r=n.key;return(n.userPassKey||r)!==t}))}}))},e.noticePropsMap={},e}return(0,c.Z)(n,[{key:"getTransitionName",value:function(){var e=this.props,t=e.prefixCls,n=e.animation,r=this.props.transitionName;return!r&&n&&(r="".concat(t,"-").concat(n)),r}},{key:"render",value:function(){var e=this,t=this.state.notices,n=this.props,r=n.prefixCls,a=n.className,c=n.closeIcon,u=n.style,s=[];return t.forEach((function(n,o){var a=n.notice,u=n.holderCallback,l=o===t.length-1?a.updateMark:void 0,f=a.key,d=a.userPassKey,p=(0,i.Z)((0,i.Z)((0,i.Z)({prefixCls:r,closeIcon:c},a),a.props),{},{key:f,noticeKey:d||f,updateMark:l,onClose:function(t){var n;e.remove(t),null===(n=a.onClose)||void 0===n||n.call(a)},onClick:a.onClick,children:a.content});s.push(f),e.noticePropsMap[f]={props:p,holderCallback:u}})),l.createElement("div",{className:p()(r,a),style:u},l.createElement(v.V,{keys:s,motionName:this.getTransitionName(),onVisibleChanged:function(t,n){var r=n.key;t||delete e.noticePropsMap[r]}},(function(t){var n=t.key,a=t.className,c=t.style,u=t.visible,s=e.noticePropsMap[n],f=s.props,d=s.holderCallback;return d?l.createElement("div",{key:n,className:p()(a,"".concat(r,"-hook-holder")),style:(0,i.Z)({},c),ref:function(t){"undefined"!==typeof n&&(t?(e.hookRefs.set(n,t),d(t,f)):e.hookRefs.delete(n))}}):l.createElement(m.Z,(0,o.Z)({},f,{className:p()(a,null===f||void 0===f?void 0:f.className),style:(0,i.Z)((0,i.Z)({},c),null===f||void 0===f?void 0:f.style),visible:u}))})))}}]),n}(l.Component);w.newInstance=void 0,w.defaultProps={prefixCls:"rc-notification",animation:"fade",style:{top:65,left:"50%"}},w.newInstance=function(e,t){var n=e||{},i=n.getContainer,a=(0,r.Z)(n,["getContainer"]),c=document.createElement("div");i?i().appendChild(c):document.body.appendChild(c);var u=!1;f.render(l.createElement(w,(0,o.Z)({},a,{ref:function(e){u||(u=!0,t({notice:function(t){e.add(t)},removeNotice:function(t){e.remove(t)},component:e,destroy:function(){f.unmountComponentAtNode(c),c.parentNode&&c.parentNode.removeChild(c)},useNotification:function(){return(0,h.Z)(e)}}))}})),c)};var x=w},51550:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(74902),o=n(87462),i=n(97685),a=n(67294),c=n(51784);function u(e){var t=a.useRef({}),n=a.useState([]),u=(0,i.Z)(n,2),s=u[0],l=u[1];return[function(n){var i=!0;e.add(n,(function(e,n){var u=n.key;if(e&&(!t.current[u]||i)){var s=a.createElement(c.Z,(0,o.Z)({},n,{holder:e}));t.current[u]=s,l((function(e){var t=e.findIndex((function(e){return e.key===n.key}));if(-1===t)return[].concat((0,r.Z)(e),[s]);var o=(0,r.Z)(e);return o[t]=s,o}))}i=!1}))},a.createElement(a.Fragment,null,s)]}},48611:function(e,t,n){"use strict";n.d(t,{Z:function(){return I}});var r=n(87462),o=n(1413),i=n(97685),a=n(91),c=n(67294),u=n(94184),s=n.n(u),l=n(48555);var f="undefined"!==typeof window&&window.document&&window.document.createElement?c.useLayoutEffect:c.useEffect,d=["prefixCls","invalidate","item","renderItem","responsive","registerSize","itemKey","className","style","children","display","order","component"],p=void 0;function v(e,t){var n=e.prefixCls,i=e.invalidate,u=e.item,f=e.renderItem,v=e.responsive,m=e.registerSize,h=e.itemKey,g=e.className,y=e.style,b=e.children,w=e.display,x=e.order,E=e.component,C=void 0===E?"div":E,Z=(0,a.Z)(e,d),k=v&&!w;function N(e){m(h,e)}c.useEffect((function(){return function(){N(null)}}),[]);var S,P=f&&u!==p?f(u):b;i||(S={opacity:k?0:1,height:k?0:p,overflowY:k?"hidden":p,order:v?x:p,pointerEvents:k?"none":p,position:k?"absolute":p});var O={};k&&(O["aria-hidden"]=!0);var T=c.createElement(C,(0,r.Z)({className:s()(!i&&n,g),style:(0,o.Z)((0,o.Z)({},S),y)},O,Z,{ref:t}),P);return v&&(T=c.createElement(l.default,{onResize:function(e){N(e.offsetWidth)}},T)),T}var m=c.forwardRef(v);m.displayName="Item";var h=m,g=function(e){return+setTimeout(e,16)},y=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(g=function(e){return window.requestAnimationFrame(e)},y=function(e){return window.cancelAnimationFrame(e)});var b=0,w=new Map;function x(e){w.delete(e)}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=b+=1;function r(t){if(0===t)x(n),e();else{var o=g((function(){r(t-1)}));w.set(n,o)}}return r(t),n}function C(){var e=function(e){var t=c.useRef(!1),n=c.useState(e),r=(0,i.Z)(n,2),o=r[0],a=r[1];return c.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[o,function(e,n){n&&t.current||a(e)}]}({}),t=(0,i.Z)(e,2)[1],n=(0,c.useRef)([]),r=0,o=0;return function(e){var i=r;return r+=1,n.current.lengthZ,ke=(0,c.useMemo)((function(){var e=p;return Ee?e=null===H&&D?p:p.slice(0,Math.min(p.length,q/b)):"number"===typeof Z&&(e=p.slice(0,Z)),e}),[p,b,H,Z,Ee]),Ne=(0,c.useMemo)((function(){return Ee?p.slice(me+1):p.slice(ke.length)}),[p,ke,Ee,me]),Se=(0,c.useCallback)((function(e,t){var n;return"function"===typeof g?g(e):null!==(n=g&&(null===e||void 0===e?void 0:e[g]))&&void 0!==n?n:t}),[g]),Pe=(0,c.useCallback)(v||function(e){return e},[v]);function Oe(e,t){ve(e),t||(be(eq){Oe(r-1),le(e-o-ie+te);break}}S&&Me(0)+ie>q&&le(null)}}),[q,$,te,ie,Se,ke]);var je=ye&&!!Ne.length,Ae={};null!==se&&Ee&&(Ae={position:"absolute",left:se,top:0});var Fe,Re={prefixCls:we,responsive:Ee,component:R,invalidate:Ce},_e=m?function(e,t){var n=Se(e,t);return c.createElement(M.Provider,{key:n,value:(0,o.Z)((0,o.Z)({},Re),{},{order:t,item:e,itemKey:n,registerSize:Te,display:t<=me})},m(e,t))}:function(e,t){var n=Se(e,t);return c.createElement(h,(0,r.Z)({},Re,{order:t,key:n,item:e,renderItem:Pe,itemKey:n,registerSize:Te,display:t<=me}))},Ie={order:je?me:Number.MAX_SAFE_INTEGER,className:"".concat(we,"-rest"),registerSize:function(e,t){ne(t),Q(te)},display:je};if(N)N&&(Fe=c.createElement(M.Provider,{value:(0,o.Z)((0,o.Z)({},Re),Ie)},N(Ne)));else{var Le=k||F;Fe=c.createElement(h,(0,r.Z)({},Re,Ie),"function"===typeof Le?Le(Ne):Le)}var De=c.createElement(O,(0,r.Z)({className:s()(!Ce&&u,E),style:x,ref:t},I),ke.map(_e),Ze?Fe:null,S&&c.createElement(h,(0,r.Z)({},Re,{order:me,className:"".concat(we,"-suffix"),registerSize:function(e,t){ae(t)},display:!0,style:Ae}),S));return Ee&&(De=c.createElement(l.default,{onResize:function(e,t){U(t.clientWidth)}},De)),De}var _=c.forwardRef(R);_.displayName="Overflow",_.Item=O,_.RESPONSIVE=j,_.INVALIDATE=A;var I=_},62906:function(e,t){"use strict";t.Z={items_per_page:"/ page",jump_to:"Go to",jump_to_confirm:"confirm",page:"Page",prev_page:"Previous Page",next_page:"Next Page",prev_5:"Previous 5 Pages",next_5:"Next 5 Pages",prev_3:"Previous 3 Pages",next_3:"Next 3 Pages",page_size:"Page Size"}},48555:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return w}});var r=n(87462),o=n(67294),i=n(50344),a=(n(80334),n(1413)),c=n(42550),u=n(34203),s=n(91033),l=new Map;var f=new s.Z((function(e){e.forEach((function(e){var t,n=e.target;null===(t=l.get(n))||void 0===t||t.forEach((function(e){return e(n)}))}))}));var d=n(15671),p=n(43144),v=n(60136),m=n(3289),h=function(e){(0,v.Z)(n,e);var t=(0,m.Z)(n);function n(){return(0,d.Z)(this,n),t.apply(this,arguments)}return(0,p.Z)(n,[{key:"render",value:function(){return this.props.children}}]),n}(o.Component),g=o.createContext(null);function y(e){var t=e.children,n=e.disabled,r=o.useRef(null),i=o.useRef(null),s=o.useContext(g),d="function"===typeof t,p=d?t(r):t,v=o.useRef({width:-1,height:-1,offsetWidth:-1,offsetHeight:-1}),m=!d&&o.isValidElement(p)&&(0,c.Yr)(p),y=m?p.ref:null,b=o.useMemo((function(){return(0,c.sQ)(y,r)}),[y,r]),w=o.useRef(e);w.current=e;var x=o.useCallback((function(e){var t=w.current,n=t.onResize,r=t.data,o=e.getBoundingClientRect(),i=o.width,c=o.height,u=e.offsetWidth,l=e.offsetHeight,f=Math.floor(i),d=Math.floor(c);if(v.current.width!==f||v.current.height!==d||v.current.offsetWidth!==u||v.current.offsetHeight!==l){var p={width:f,height:d,offsetWidth:u,offsetHeight:l};v.current=p;var m=u===Math.round(i)?i:u,h=l===Math.round(c)?c:l,g=(0,a.Z)((0,a.Z)({},p),{},{offsetWidth:m,offsetHeight:h});null===s||void 0===s||s(g,e,r),n&&Promise.resolve().then((function(){n(g,e)}))}}),[]);return o.useEffect((function(){var e,t,o=(0,u.Z)(r.current)||(0,u.Z)(i.current);return o&&!n&&(e=o,t=x,l.has(e)||(l.set(e,new Set),f.observe(e)),l.get(e).add(t)),function(){return function(e,t){l.has(e)&&(l.get(e).delete(t),l.get(e).size||(f.unobserve(e),l.delete(e)))}(o,x)}}),[r.current,n]),o.createElement(h,{ref:i},m?o.cloneElement(p,{ref:b}):p)}function b(e){var t=e.children;return("function"===typeof t?[t]:(0,i.Z)(t)).map((function(t,n){var i=(null===t||void 0===t?void 0:t.key)||"".concat("rc-observer-key","-").concat(n);return o.createElement(y,(0,r.Z)({},e,{key:i}),t)}))}b.Collection=function(e){var t=e.children,n=e.onBatchResize,r=o.useRef(0),i=o.useRef([]),a=o.useContext(g),c=o.useCallback((function(e,t,o){r.current+=1;var c=r.current;i.current.push({size:e,element:t,data:o}),Promise.resolve().then((function(){c===r.current&&(null===n||void 0===n||n(i.current),i.current=[])})),null===a||void 0===a||a(e,t,o)}),[n,a]);return o.createElement(g.Provider,{value:c},t)};var w=b},57239:function(e,t,n){"use strict";n.r(t),n.d(t,{ResizableTextArea:function(){return Z},default:function(){return k}});var r,o=n(87462),i=n(15671),a=n(43144),c=n(60136),u=n(3289),s=n(67294),l=n(1413),f=n(4942),d=n(48555),p=n(98423),v=n(94184),m=n.n(v),h="\n min-height:0 !important;\n max-height:none !important;\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",g=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],y={};function b(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=e.getAttribute("id")||e.getAttribute("data-reactid")||e.getAttribute("name");if(t&&y[n])return y[n];var r=window.getComputedStyle(e),o=r.getPropertyValue("box-sizing")||r.getPropertyValue("-moz-box-sizing")||r.getPropertyValue("-webkit-box-sizing"),i=parseFloat(r.getPropertyValue("padding-bottom"))+parseFloat(r.getPropertyValue("padding-top")),a=parseFloat(r.getPropertyValue("border-bottom-width"))+parseFloat(r.getPropertyValue("border-top-width")),c=g.map((function(e){return"".concat(e,":").concat(r.getPropertyValue(e))})).join(";"),u={sizingStyle:c,paddingSize:i,borderSize:a,boxSizing:o};return t&&n&&(y[n]=u),u}var w,x=n(96774),E=n.n(x);!function(e){e[e.NONE=0]="NONE",e[e.RESIZING=1]="RESIZING",e[e.RESIZED=2]="RESIZED"}(w||(w={}));var C=function(e){(0,c.Z)(n,e);var t=(0,u.Z)(n);function n(e){var a;return(0,i.Z)(this,n),(a=t.call(this,e)).nextFrameActionId=void 0,a.resizeFrameId=void 0,a.textArea=void 0,a.saveTextArea=function(e){a.textArea=e},a.handleResize=function(e){var t=a.state.resizeStatus,n=a.props,r=n.autoSize,o=n.onResize;t===w.NONE&&("function"===typeof o&&o(e),r&&a.resizeOnNextFrame())},a.resizeOnNextFrame=function(){cancelAnimationFrame(a.nextFrameActionId),a.nextFrameActionId=requestAnimationFrame(a.resizeTextarea)},a.resizeTextarea=function(){var e=a.props.autoSize;if(e&&a.textArea){var t=e.minRows,n=e.maxRows,o=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;r||((r=document.createElement("textarea")).setAttribute("tab-index","-1"),r.setAttribute("aria-hidden","true"),document.body.appendChild(r)),e.getAttribute("wrap")?r.setAttribute("wrap",e.getAttribute("wrap")):r.removeAttribute("wrap");var i=b(e,t),a=i.paddingSize,c=i.borderSize,u=i.boxSizing,s=i.sizingStyle;r.setAttribute("style","".concat(s,";").concat(h)),r.value=e.value||e.placeholder||"";var l,f=Number.MIN_SAFE_INTEGER,d=Number.MAX_SAFE_INTEGER,p=r.scrollHeight;if("border-box"===u?p+=c:"content-box"===u&&(p-=a),null!==n||null!==o){r.value=" ";var v=r.scrollHeight-a;null!==n&&(f=v*n,"border-box"===u&&(f=f+a+c),p=Math.max(f,p)),null!==o&&(d=v*o,"border-box"===u&&(d=d+a+c),l=p>d?"":"hidden",p=Math.min(d,p))}return{height:p,minHeight:f,maxHeight:d,overflowY:l,resize:"none"}}(a.textArea,!1,t,n);a.setState({textareaStyles:o,resizeStatus:w.RESIZING},(function(){cancelAnimationFrame(a.resizeFrameId),a.resizeFrameId=requestAnimationFrame((function(){a.setState({resizeStatus:w.RESIZED},(function(){a.resizeFrameId=requestAnimationFrame((function(){a.setState({resizeStatus:w.NONE}),a.fixFirefoxAutoScroll()}))}))}))}))}},a.renderTextArea=function(){var e=a.props,t=e.prefixCls,n=void 0===t?"rc-textarea":t,r=e.autoSize,i=e.onResize,c=e.className,u=e.disabled,v=a.state,h=v.textareaStyles,g=v.resizeStatus,y=(0,p.Z)(a.props,["prefixCls","onPressEnter","autoSize","defaultValue","onResize"]),b=m()(n,c,(0,f.Z)({},"".concat(n,"-disabled"),u));"value"in y&&(y.value=y.value||"");var x=(0,l.Z)((0,l.Z)((0,l.Z)({},a.props.style),h),g===w.RESIZING?{overflowX:"hidden",overflowY:"hidden"}:null);return s.createElement(d.default,{onResize:a.handleResize,disabled:!(r||i)},s.createElement("textarea",(0,o.Z)({},y,{className:b,style:x,ref:a.saveTextArea})))},a.state={textareaStyles:{},resizeStatus:w.NONE},a}return(0,a.Z)(n,[{key:"componentDidUpdate",value:function(e){e.value===this.props.value&&E()(e.autoSize,this.props.autoSize)||this.resizeTextarea()}},{key:"componentWillUnmount",value:function(){cancelAnimationFrame(this.nextFrameActionId),cancelAnimationFrame(this.resizeFrameId)}},{key:"fixFirefoxAutoScroll",value:function(){try{if(document.activeElement===this.textArea){var e=this.textArea.selectionStart,t=this.textArea.selectionEnd;this.textArea.setSelectionRange(e,t)}}catch(n){}}},{key:"render",value:function(){return this.renderTextArea()}}]),n}(s.Component),Z=C,k=function(e){(0,c.Z)(n,e);var t=(0,u.Z)(n);function n(e){var r;(0,i.Z)(this,n),(r=t.call(this,e)).resizableTextArea=void 0,r.focus=function(){r.resizableTextArea.textArea.focus()},r.saveTextArea=function(e){r.resizableTextArea=e},r.handleChange=function(e){var t=r.props.onChange;r.setValue(e.target.value,(function(){r.resizableTextArea.resizeTextarea()})),t&&t(e)},r.handleKeyDown=function(e){var t=r.props,n=t.onPressEnter,o=t.onKeyDown;13===e.keyCode&&n&&n(e),o&&o(e)};var o="undefined"===typeof e.value||null===e.value?e.defaultValue:e.value;return r.state={value:o},r}return(0,a.Z)(n,[{key:"setValue",value:function(e,t){"value"in this.props||this.setState({value:e},t)}},{key:"blur",value:function(){this.resizableTextArea.textArea.blur()}},{key:"render",value:function(){return s.createElement(Z,(0,o.Z)({},this.props,{value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,ref:this.saveTextArea}))}}],[{key:"getDerivedStateFromProps",value:function(e){return"value"in e?{value:e.value}:null}}]),n}(s.Component)},22972:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return d}});var r=n(87462),o=n(71002),i=n(1413),a=n(91),c=n(67294),u=n(21480),s=n(43159),l=function(e){var t=e.overlay,n=e.prefixCls,r=e.id,o=e.overlayInnerStyle;return c.createElement("div",{className:"".concat(n,"-inner"),id:r,role:"tooltip",style:o},"function"===typeof t?t():t)},f=function(e,t){var n=e.overlayClassName,f=e.trigger,d=void 0===f?["hover"]:f,p=e.mouseEnterDelay,v=void 0===p?0:p,m=e.mouseLeaveDelay,h=void 0===m?.1:m,g=e.overlayStyle,y=e.prefixCls,b=void 0===y?"rc-tooltip":y,w=e.children,x=e.onVisibleChange,E=e.afterVisibleChange,C=e.transitionName,Z=e.animation,k=e.motion,N=e.placement,S=void 0===N?"right":N,P=e.align,O=void 0===P?{}:P,T=e.destroyTooltipOnHide,M=void 0!==T&&T,j=e.defaultVisible,A=e.getTooltipContainer,F=e.overlayInnerStyle,R=(0,a.Z)(e,["overlayClassName","trigger","mouseEnterDelay","mouseLeaveDelay","overlayStyle","prefixCls","children","onVisibleChange","afterVisibleChange","transitionName","animation","motion","placement","align","destroyTooltipOnHide","defaultVisible","getTooltipContainer","overlayInnerStyle"]),_=(0,c.useRef)(null);(0,c.useImperativeHandle)(t,(function(){return _.current}));var I=(0,i.Z)({},R);"visible"in e&&(I.popupVisible=e.visible);var L=!1,D=!1;if("boolean"===typeof M)L=M;else if(M&&"object"===(0,o.Z)(M)){var z=M.keepParent;L=!0===z,D=!1===z}return c.createElement(u.Z,(0,r.Z)({popupClassName:n,prefixCls:b,popup:function(){var t=e.arrowContent,n=void 0===t?null:t,r=e.overlay,o=e.id;return[c.createElement("div",{className:"".concat(b,"-arrow"),key:"arrow"},n),c.createElement(l,{key:"content",prefixCls:b,id:o,overlay:r,overlayInnerStyle:F})]},action:d,builtinPlacements:s.C,popupPlacement:S,ref:_,popupAlign:O,getPopupContainer:A,onPopupVisibleChange:x,afterPopupVisibleChange:E,popupTransitionName:C,popupAnimation:Z,popupMotion:k,defaultPopupVisible:j,destroyPopupOnHide:L,autoDestroy:D,mouseLeaveDelay:h,popupStyle:g,mouseEnterDelay:v},I),w)},d=(0,c.forwardRef)(f)},43159:function(e,t,n){"use strict";n.d(t,{C:function(){return i}});var r={adjustX:1,adjustY:1},o=[0,0],i={left:{points:["cr","cl"],overflow:r,offset:[-4,0],targetOffset:o},right:{points:["cl","cr"],overflow:r,offset:[4,0],targetOffset:o},top:{points:["bc","tc"],overflow:r,offset:[0,-4],targetOffset:o},bottom:{points:["tc","bc"],overflow:r,offset:[0,4],targetOffset:o},topLeft:{points:["bl","tl"],overflow:r,offset:[0,-4],targetOffset:o},leftTop:{points:["tr","tl"],overflow:r,offset:[-4,0],targetOffset:o},topRight:{points:["br","tr"],overflow:r,offset:[0,-4],targetOffset:o},rightTop:{points:["tl","tr"],overflow:r,offset:[4,0],targetOffset:o},bottomRight:{points:["tr","br"],overflow:r,offset:[0,4],targetOffset:o},rightBottom:{points:["bl","br"],overflow:r,offset:[4,0],targetOffset:o},bottomLeft:{points:["tl","bl"],overflow:r,offset:[0,4],targetOffset:o},leftBottom:{points:["br","bl"],overflow:r,offset:[-4,0],targetOffset:o}}},21480:function(e,t,n){"use strict";n.d(t,{Z:function(){return lt}});var r=n(1413),o=n(87462),i=n(15671),a=n(43144),c=n(97326),u=n(60136),s=n(3289),l=n(67294),f=n(73935),d=function(e){return+setTimeout(e,16)},p=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(d=function(e){return window.requestAnimationFrame(e)},p=function(e){return window.cancelAnimationFrame(e)});var v=0,m=new Map;function h(e){m.delete(e)}function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=v+=1;function r(t){if(0===t)h(n),e();else{var o=d((function(){r(t-1)}));m.set(n,o)}}return r(t),n}function y(e,t){return!!e&&e.contains(t)}g.cancel=function(e){var t=m.get(e);return h(t),p(t)};var b=n(71002),w=n(59864);function x(e,t){"function"===typeof e?e(t):"object"===(0,b.Z)(e)&&e&&"current"in e&&(e.current=t)}function E(){for(var e=arguments.length,t=new Array(e),n=0;n=0&&n.left>=0&&n.bottom>n.top&&n.right>n.left?n:null}function ke(e){var t,n,r;if(we.isWindow(e)||9===e.nodeType){var o=we.getWindow(e);t={left:we.getWindowScrollLeft(o),top:we.getWindowScrollTop(o)},n=we.viewportWidth(o),r=we.viewportHeight(o)}else t=we.offset(e),n=we.outerWidth(e),r=we.outerHeight(e);return t.width=n,t.height=r,t}function Ne(e,t){var n=t.charAt(0),r=t.charAt(1),o=e.width,i=e.height,a=e.left,c=e.top;return"c"===n?c+=i/2:"b"===n&&(c+=i),"c"===r?a+=o/2:"r"===r&&(a+=o),{left:a,top:c}}function Se(e,t,n,r,o){var i=Ne(t,n[1]),a=Ne(e,n[0]),c=[a.left-i.left,a.top-i.top];return{left:Math.round(e.left-c[0]+r[0]-o[0]),top:Math.round(e.top-c[1]+r[1]-o[1])}}function Pe(e,t,n){return e.leftn.right}function Oe(e,t,n){return e.topn.bottom}function Te(e,t,n){var r=[];return we.each(e,(function(e){r.push(e.replace(t,(function(e){return n[e]})))})),r}function Me(e,t){return e[t]=-e[t],e}function je(e,t){return(/%$/.test(e)?parseInt(e.substring(0,e.length-1),10)/100*t:parseInt(e,10))||0}function Ae(e,t){e[0]=je(e[0],t.width),e[1]=je(e[1],t.height)}function Fe(e,t,n,r){var o=n.points,i=n.offset||[0,0],a=n.targetOffset||[0,0],c=n.overflow,u=n.source||e;i=[].concat(i),a=[].concat(a);var s={},l=0,f=Ze(u,!(!(c=c||{})||!c.alwaysByViewport)),d=ke(u);Ae(i,d),Ae(a,t);var p=Se(d,t,o,i,a),v=we.merge(d,p);if(f&&(c.adjustX||c.adjustY)&&r){if(c.adjustX&&Pe(p,d,f)){var m=Te(o,/[lr]/gi,{l:"r",r:"l"}),h=Me(i,0),g=Me(a,0);(function(e,t,n){return e.left>n.right||e.left+t.widthn.bottom||e.top+t.height=n.left&&o.left+i.width>n.right&&(i.width-=o.left+i.width-n.right),r.adjustX&&o.left+i.width>n.right&&(o.left=Math.max(n.right-i.width,n.left)),r.adjustY&&o.top=n.top&&o.top+i.height>n.bottom&&(i.height-=o.top+i.height-n.bottom),r.adjustY&&o.top+i.height>n.bottom&&(o.top=Math.max(n.bottom-i.height,n.top)),we.mix(o,i)}(p,d,f,s))}return v.width!==d.width&&we.css(u,"width",we.width(u)+v.width-d.width),v.height!==d.height&&we.css(u,"height",we.height(u)+v.height-d.height),we.offset(u,{left:v.left,top:v.top},{useCssRight:n.useCssRight,useCssBottom:n.useCssBottom,useCssTransform:n.useCssTransform,ignoreShake:n.ignoreShake}),{points:o,offset:i,targetOffset:a,overflow:s}}function Re(e,t,n){var r=n.target||t,o=ke(r),i=!function(e,t){var n=Ze(e,t),r=ke(e);return!n||r.left+r.width<=n.left||r.top+r.height<=n.top||r.left>=n.right||r.top>=n.bottom}(r,n.overflow&&n.overflow.alwaysByViewport);return Fe(e,o,n,i)}Re.__getOffsetParent=Ee,Re.__getVisibleRectForElement=Ze;var _e=n(64019),Ie=n(18446),Le=n.n(Ie),De=n(91033),ze=n(94999);function Ve(e,t){var n=null,r=null;var o=new De.Z((function(e){var o=(0,O.Z)(e,1)[0].target;if(document.documentElement.contains(o)){var i=o.getBoundingClientRect(),a=i.width,c=i.height,u=Math.floor(a),s=Math.floor(c);n===u&&r===s||Promise.resolve().then((function(){t({width:u,height:s})})),n=u,r=s}}));return e&&o.observe(e),function(){o.disconnect()}}function He(e){return"function"!==typeof e?null:e()}function Ue(e){return"object"===(0,b.Z)(e)&&e?e:null}var qe=function(e,t){var n=e.children,r=e.disabled,o=e.target,i=e.align,a=e.onAlign,c=e.monitorWindowResize,u=e.monitorBufferTime,s=void 0===u?0:u,f=l.useRef({}),d=l.useRef(),p=l.Children.only(n),v=l.useRef({});v.current.disabled=r,v.current.target=o,v.current.align=i,v.current.onAlign=a;var m=function(e,t){var n=l.useRef(!1),r=l.useRef(null);function o(){window.clearTimeout(r.current)}return[function i(a){if(o(),n.current&&!0!==a)r.current=window.setTimeout((function(){n.current=!1,i()}),t);else{if(!1===e())return;n.current=!0,r.current=window.setTimeout((function(){n.current=!1}),t)}},function(){n.current=!1,o()}]}((function(){var e=v.current,t=e.disabled,n=e.target,r=e.align,o=e.onAlign;if(!t&&n){var i,a=d.current,c=He(n),u=Ue(n);f.current.element=c,f.current.point=u,f.current.align=r;var s=document.activeElement;return c&&(0,_.Z)(c)?i=Re(a,c,r):u&&(i=function(e,t,n){var r,o,i=we.getDocument(e),a=i.defaultView||i.parentWindow,c=we.getWindowScrollLeft(a),u=we.getWindowScrollTop(a),s=we.viewportWidth(a),l=we.viewportHeight(a),f={left:r="pageX"in t?t.pageX:c+t.clientX,top:o="pageY"in t?t.pageY:u+t.clientY,width:0,height:0},d=r>=0&&r<=c+s&&o>=0&&o<=u+l,p=[n.points[0],"cc"];return Fe(e,f,L(L({},n),{},{points:p}),d)}(a,u,r)),function(e,t){e!==document.activeElement&&(0,ze.Z)(t,e)&&"function"===typeof e.focus&&e.focus()}(s,a),o&&i&&o(a,i),!0}return!1}),s),h=(0,O.Z)(m,2),g=h[0],y=h[1],b=l.useRef({cancel:function(){}}),w=l.useRef({cancel:function(){}});l.useEffect((function(){var e,t,n=He(o),r=Ue(o);d.current!==w.current.element&&(w.current.cancel(),w.current.element=d.current,w.current.cancel=Ve(d.current,g)),f.current.element===n&&((e=f.current.point)===(t=r)||e&&t&&("pageX"in t&&"pageY"in t?e.pageX===t.pageX&&e.pageY===t.pageY:"clientX"in t&&"clientY"in t&&e.clientX===t.clientX&&e.clientY===t.clientY))&&Le()(f.current.align,i)||(g(),b.current.element!==n&&(b.current.cancel(),b.current.element=n,b.current.cancel=Ve(n,g)))})),l.useEffect((function(){r?y():g()}),[r]);var x=l.useRef(null);return l.useEffect((function(){c?x.current||(x.current=(0,_e.Z)(window,"resize",g)):x.current&&(x.current.remove(),x.current=null)}),[c]),l.useEffect((function(){return function(){b.current.cancel(),w.current.cancel(),x.current&&x.current.remove(),y()}}),[]),l.useImperativeHandle(t,(function(){return{forceAlign:function(){return g(!0)}}})),l.isValidElement(p)&&(p=l.cloneElement(p,{ref:(0,R.sQ)(p.ref,d)})),p},Be=l.forwardRef(qe);Be.displayName="Align";var We=Be,$e=Z()?l.useLayoutEffect:l.useEffect,Ke=n(74165),Ge=n(15861);var Ye=["measure","alignPre","align",null,"motion"],Xe=function(e,t){var n=function(e){var t=l.useRef(!1),n=l.useState(e),r=(0,O.Z)(n,2),o=r[0],i=r[1];return l.useEffect((function(){return t.current=!1,function(){t.current=!0}}),[]),[o,function(e,n){n&&t.current||i(e)}]}(null),r=(0,O.Z)(n,2),o=r[0],i=r[1],a=(0,l.useRef)();function c(e){i(e,!0)}function u(){g.cancel(a.current)}return(0,l.useEffect)((function(){c("measure")}),[e]),(0,l.useEffect)((function(){if("measure"===o)t();o&&(a.current=g((0,Ge.Z)((0,Ke.Z)().mark((function e(){var t,n;return(0,Ke.Z)().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Ye.indexOf(o),(n=Ye[t+1])&&-1!==t&&c(n);case 3:case"end":return e.stop()}}),e)})))))}),[o]),(0,l.useEffect)((function(){return function(){u()}}),[]),[o,function(e){u(),a.current=g((function(){c((function(e){switch(o){case"align":return"motion";case"motion":return"stable"}return e})),null===e||void 0===e||e()}))}]},Qe=l.forwardRef((function(e,t){var n=e.visible,i=e.prefixCls,a=e.className,c=e.style,u=e.children,s=e.zIndex,f=e.stretch,d=e.destroyPopupOnHide,p=e.forceRender,v=e.align,m=e.point,h=e.getRootDomNode,g=e.getClassNameFromAlign,y=e.onAlign,b=e.onMouseEnter,w=e.onMouseLeave,x=e.onMouseDown,E=e.onTouchStart,C=e.onClick,Z=(0,l.useRef)(),k=(0,l.useRef)(),N=(0,l.useState)(),P=(0,O.Z)(N,2),T=P[0],A=P[1],F=function(e){var t=l.useState({width:0,height:0}),n=(0,O.Z)(t,2),r=n[0],o=n[1];return[l.useMemo((function(){var t={};if(e){var n=r.width,o=r.height;-1!==e.indexOf("height")&&o?t.height=o:-1!==e.indexOf("minHeight")&&o&&(t.minHeight=o),-1!==e.indexOf("width")&&n?t.width=n:-1!==e.indexOf("minWidth")&&n&&(t.minWidth=n)}return t}),[e,r]),function(e){o({width:e.offsetWidth,height:e.offsetHeight})}]}(f),R=(0,O.Z)(F,2),_=R[0],I=R[1];var L=Xe(n,(function(){f&&I(h())})),D=(0,O.Z)(L,2),z=D[0],V=D[1],H=(0,l.useState)(0),U=(0,O.Z)(H,2),q=U[0],B=U[1],W=(0,l.useRef)();function $(){var e;null===(e=Z.current)||void 0===e||e.forceAlign()}function K(e,t){var n=g(t);T!==n&&A(n),B((function(e){return e+1})),"align"===z&&(null===y||void 0===y||y(e,t))}$e((function(){"alignPre"===z&&B(0)}),[z]),$e((function(){"align"===z&&(q<2?$():V((function(){var e;null===(e=W.current)||void 0===e||e.call(W)})))}),[q]);var G=(0,r.Z)({},j(e));function Y(){return new Promise((function(e){W.current=e}))}["onAppearEnd","onEnterEnd","onLeaveEnd"].forEach((function(e){var t=G[e];G[e]=function(e,n){return V(),null===t||void 0===t?void 0:t(e,n)}})),l.useEffect((function(){G.motionName||"motion"!==z||V()}),[G.motionName,z]),l.useImperativeHandle(t,(function(){return{forceAlign:$,getElement:function(){return k.current}}}));var X=(0,r.Z)((0,r.Z)({},_),{},{zIndex:s,opacity:"motion"!==z&&"stable"!==z&&n?0:void 0,pointerEvents:n||"stable"===z?void 0:"none"},c),Q=!0;!(null===v||void 0===v?void 0:v.points)||"align"!==z&&"stable"!==z||(Q=!1);var J=u;return l.Children.count(u)>1&&(J=l.createElement("div",{className:"".concat(i,"-content")},u)),l.createElement(M.Z,(0,o.Z)({visible:n,ref:k,leavedClassName:"".concat(i,"-hidden")},G,{onAppearPrepare:Y,onEnterPrepare:Y,removeOnLeave:d,forceRender:p}),(function(e,t){var n=e.className,o=e.style,c=S()(i,a,T,n);return l.createElement(We,{target:m||h,key:"popup",ref:Z,monitorWindowResize:!0,disabled:Q,align:v,onAlign:K},l.createElement("div",{ref:t,className:c,onMouseEnter:b,onMouseLeave:w,onMouseDownCapture:x,onTouchStartCapture:E,onClick:C,style:(0,r.Z)((0,r.Z)({},o),X)},J))}))}));Qe.displayName="PopupInner";var Je=Qe,et=l.forwardRef((function(e,t){var n=e.prefixCls,i=e.visible,a=e.zIndex,c=e.children,u=e.mobile,s=(u=void 0===u?{}:u).popupClassName,f=u.popupStyle,d=u.popupMotion,p=void 0===d?{}:d,v=u.popupRender,m=e.onClick,h=l.useRef();l.useImperativeHandle(t,(function(){return{forceAlign:function(){},getElement:function(){return h.current}}}));var g=(0,r.Z)({zIndex:a},f),y=c;return l.Children.count(c)>1&&(y=l.createElement("div",{className:"".concat(n,"-content")},c)),v&&(y=v(y)),l.createElement(M.Z,(0,o.Z)({visible:i,ref:h,removeOnLeave:!0},p),(function(e,t){var o=e.className,i=e.style,a=S()(n,s,o);return l.createElement("div",{ref:t,className:a,onClick:m,style:(0,r.Z)((0,r.Z)({},i),g)},y)}))}));et.displayName="MobilePopupInner";var tt=et,nt=["visible","mobile"],rt=l.forwardRef((function(e,t){var n=e.visible,i=e.mobile,a=(0,T.Z)(e,nt),c=(0,l.useState)(n),u=(0,O.Z)(c,2),s=u[0],f=u[1],d=(0,l.useState)(!1),p=(0,O.Z)(d,2),v=p[0],m=p[1],h=(0,r.Z)((0,r.Z)({},a),{},{visible:s});(0,l.useEffect)((function(){f(n),n&&i&&m(function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4)))}())}),[n,i]);var g=v?l.createElement(tt,(0,o.Z)({},h,{mobile:i,ref:t})):l.createElement(Je,(0,o.Z)({},h,{ref:t}));return l.createElement("div",null,l.createElement(A,h),g)}));rt.displayName="Popup";var ot=rt,it=l.createContext(null);function at(){}function ct(){return""}function ut(e){return e?e.ownerDocument:window.document}var st=["onClick","onMouseDown","onTouchStart","onMouseEnter","onMouseLeave","onFocus","onBlur","onContextMenu"];var lt=function(e){var t=function(t){(0,u.Z)(d,t);var n=(0,s.Z)(d);function d(e){var t,r;return(0,i.Z)(this,d),(t=n.call(this,e)).popupRef=l.createRef(),t.triggerRef=l.createRef(),t.portalContainer=void 0,t.attachId=void 0,t.clickOutsideHandler=void 0,t.touchOutsideHandler=void 0,t.contextMenuOutsideHandler1=void 0,t.contextMenuOutsideHandler2=void 0,t.mouseDownTimeout=void 0,t.focusTime=void 0,t.preClickTime=void 0,t.preTouchTime=void 0,t.delayTimer=void 0,t.hasPopupMouseDown=void 0,t.onMouseEnter=function(e){var n=t.props.mouseEnterDelay;t.fireEvents("onMouseEnter",e),t.delaySetPopupVisible(!0,n,n?null:e)},t.onMouseMove=function(e){t.fireEvents("onMouseMove",e),t.setPoint(e)},t.onMouseLeave=function(e){t.fireEvents("onMouseLeave",e),t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onPopupMouseEnter=function(){t.clearDelayTimer()},t.onPopupMouseLeave=function(e){var n;e.relatedTarget&&!e.relatedTarget.setTimeout&&y(null===(n=t.popupRef.current)||void 0===n?void 0:n.getElement(),e.relatedTarget)||t.delaySetPopupVisible(!1,t.props.mouseLeaveDelay)},t.onFocus=function(e){t.fireEvents("onFocus",e),t.clearDelayTimer(),t.isFocusToShow()&&(t.focusTime=Date.now(),t.delaySetPopupVisible(!0,t.props.focusDelay))},t.onMouseDown=function(e){t.fireEvents("onMouseDown",e),t.preClickTime=Date.now()},t.onTouchStart=function(e){t.fireEvents("onTouchStart",e),t.preTouchTime=Date.now()},t.onBlur=function(e){t.fireEvents("onBlur",e),t.clearDelayTimer(),t.isBlurToHide()&&t.delaySetPopupVisible(!1,t.props.blurDelay)},t.onContextMenu=function(e){e.preventDefault(),t.fireEvents("onContextMenu",e),t.setPopupVisible(!0,e)},t.onContextMenuClose=function(){t.isContextMenuToShow()&&t.close()},t.onClick=function(e){if(t.fireEvents("onClick",e),t.focusTime){var n;if(t.preClickTime&&t.preTouchTime?n=Math.min(t.preClickTime,t.preTouchTime):t.preClickTime?n=t.preClickTime:t.preTouchTime&&(n=t.preTouchTime),Math.abs(n-t.focusTime)<20)return;t.focusTime=0}t.preClickTime=0,t.preTouchTime=0,t.isClickToShow()&&(t.isClickToHide()||t.isBlurToHide())&&e&&e.preventDefault&&e.preventDefault();var r=!t.state.popupVisible;(t.isClickToHide()&&!r||r&&t.isClickToShow())&&t.setPopupVisible(!t.state.popupVisible,e)},t.onPopupMouseDown=function(){var e;(t.hasPopupMouseDown=!0,clearTimeout(t.mouseDownTimeout),t.mouseDownTimeout=window.setTimeout((function(){t.hasPopupMouseDown=!1}),0),t.context)&&(e=t.context).onPopupMouseDown.apply(e,arguments)},t.onDocumentClick=function(e){if(!t.props.mask||t.props.maskClosable){var n=e.target,r=t.getRootDomNode(),o=t.getPopupDomNode();y(r,n)&&!t.isContextMenuOnly()||y(o,n)||t.hasPopupMouseDown||t.close()}},t.getRootDomNode=function(){var e,n=t.props.getTriggerDOMNode;if(n)return n(t.triggerRef.current);try{var r=(e=t.triggerRef.current)instanceof HTMLElement?e:f.findDOMNode(e);if(r)return r}catch(o){}return f.findDOMNode((0,c.Z)(t))},t.getPopupClassNameFromAlign=function(e){var n=[],r=t.props,o=r.popupPlacement,i=r.builtinPlacements,a=r.prefixCls,c=r.alignPoint,u=r.getPopupClassNameFromAlign;return o&&i&&n.push(function(e,t,n,r){for(var o=n.points,i=Object.keys(e),a=0;a1&&void 0!==arguments[1]?arguments[1]:{},n=[];return r.Children.forEach(e,(function(e){(void 0!==e&&null!==e||t.keepEmpty)&&(Array.isArray(e)?n=n.concat(i(e)):(0,o.isFragment)(e)&&e.props?n=n.concat(i(e.props.children,t)):n.push(e))})),n}},64019:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e,t,n,o){var i=r.unstable_batchedUpdates?function(e){r.unstable_batchedUpdates(n,e)}:n;return e.addEventListener&&e.addEventListener(t,i,o),{remove:function(){e.removeEventListener&&e.removeEventListener(t,i)}}}},98924:function(e,t,n){"use strict";function r(){return!("undefined"===typeof window||!window.document||!window.document.createElement)}n.d(t,{Z:function(){return r}})},94999:function(e,t,n){"use strict";function r(e,t){return!!e&&e.contains(t)}n.d(t,{Z:function(){return r}})},44958:function(e,t,n){"use strict";n.d(t,{hq:function(){return s}});var r=n(98924),o="rc-util-key";function i(e){return e.attachTo?e.attachTo:document.querySelector("head")||document.body}function a(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(0,r.Z)())return null;var o,a=document.createElement("style");(null===(t=n.csp)||void 0===t?void 0:t.nonce)&&(a.nonce=null===(o=n.csp)||void 0===o?void 0:o.nonce);a.innerHTML=e;var c=i(n),u=c.firstChild;return n.prepend&&c.prepend?c.prepend(a):n.prepend&&u?c.insertBefore(a,u):c.appendChild(a),a}var c=new Map;function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i(t);return Array.from(c.get(n).children).find((function(t){return"STYLE"===t.tagName&&t[o]===e}))}function s(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=i(n);if(!c.has(r)){var s=a("",n),l=s.parentNode;c.set(r,l),l.removeChild(s)}var f=u(t,n);if(f){var d,p,v;if((null===(d=n.csp)||void 0===d?void 0:d.nonce)&&f.nonce!==(null===(p=n.csp)||void 0===p?void 0:p.nonce))f.nonce=null===(v=n.csp)||void 0===v?void 0:v.nonce;return f.innerHTML!==e&&(f.innerHTML=e),f}var m=a(e,n);return m[o]=t,m}},34203:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(73935);function o(e){return e instanceof HTMLElement?e:r.findDOMNode(e)}},88603:function(e,t,n){"use strict";n.d(t,{tS:function(){return a}});var r=n(74902),o=n(5110);function i(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,o.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),i=e.getAttribute("tabindex"),a=Number(i),c=null;return i&&!Number.isNaN(a)?c=a:r&&null===c&&(c=0),r&&e.disabled&&(c=null),null!==c&&(c>=0||t&&c<0)}return!1}function a(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.Z)(e.querySelectorAll("*")).filter((function(e){return i(e,t)}));return i(e,t)&&n.unshift(e),n}},5110:function(e,t){"use strict";t.Z=function(e){if(!e)return!1;if(e.offsetParent)return!0;if(e.getBBox){var t=e.getBBox();if(t.width||t.height)return!0}if(e.getBoundingClientRect){var n=e.getBoundingClientRect();if(n.width||n.height)return!0}return!1}},79370:function(e,t,n){"use strict";n.d(t,{G:function(){return i}});var r=n(98924),o=function(e){if((0,r.Z)()&&window.document.documentElement){var t=Array.isArray(e)?e:[e],n=window.document.documentElement;return t.some((function(e){return e in n.style}))}return!1};function i(e,t){return Array.isArray(e)||void 0===t?o(e):function(e,t){if(!o(e))return!1;var n=document.createElement("div"),r=n.style[e];return n.style[e]=t,n.style[e]!==r}(e,t)}},15105:function(e,t){"use strict";var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE)return!0;if(e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY)return!0;if(e>=n.A&&e<=n.Z)return!0;if(-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},74204:function(e,t,n){"use strict";var r;function o(e){if("undefined"===typeof document)return 0;if(e||void 0===r){var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var n=document.createElement("div"),o=n.style;o.position="absolute",o.top="0",o.left="0",o.pointerEvents="none",o.visibility="hidden",o.width="200px",o.height="150px",o.overflow="hidden",n.appendChild(t),document.body.appendChild(n);var i=t.offsetWidth;n.style.overflow="scroll";var a=t.offsetWidth;i===a&&(a=n.clientWidth),document.body.removeChild(n),r=i-a}return r}function i(e){var t=e.match(/^(.*)px$/),n=Number(null===t||void 0===t?void 0:t[1]);return Number.isNaN(n)?o():n}function a(e){if("undefined"===typeof document||!e||!(e instanceof Element))return{width:0,height:0};var t=getComputedStyle(e,"::-webkit-scrollbar"),n=t.width,r=t.height;return{width:i(n),height:i(r)}}n.d(t,{Z:function(){return o},o:function(){return a}})},8410:function(e,t,n){"use strict";var r=n(67294),o=(0,n(98924).Z)()?r.useLayoutEffect:r.useEffect;t.Z=o},56982:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e,t,n){var o=r.useRef({});return"value"in o.current&&!n(o.current.condition,t)||(o.current.value=e(),o.current.condition=t),o.current.value}},21770:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(97685),o=n(67294);function i(e,t){var n=t||{},i=n.defaultValue,a=n.value,c=n.onChange,u=n.postState,s=o.useState((function(){return void 0!==a?a:void 0!==i?"function"===typeof i?i():i:"function"===typeof e?e():e})),l=(0,r.Z)(s,2),f=l[0],d=l[1],p=void 0!==a?a:f;u&&(p=u(p));var v=o.useRef(c);v.current=c;var m=o.useCallback((function(e){d(e),p!==e&&v.current&&v.current(e,p)}),[p,v]),h=o.useRef(!0);return o.useEffect((function(){h.current?h.current=!1:void 0===a&&d(a)}),[a]),[p,m]}},31131:function(e,t){"use strict";t.Z=function(){if("undefined"===typeof navigator||"undefined"===typeof window)return!1;var e=navigator.userAgent||navigator.vendor||window.opera;return!(!/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(e)&&!/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(null===e||void 0===e?void 0:e.substr(0,4)))}},98423:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(1413);function o(e,t){var n=(0,r.Z)({},e);return Array.isArray(t)&&t.forEach((function(e){delete n[e]})),n}},64217:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(1413),o="".concat("accept acceptCharset accessKey action allowFullScreen allowTransparency\n alt async autoComplete autoFocus autoPlay capture cellPadding cellSpacing challenge\n charSet checked classID className colSpan cols content contentEditable contextMenu\n controls coords crossOrigin data dateTime default defer dir disabled download draggable\n encType form formAction formEncType formMethod formNoValidate formTarget frameBorder\n headers height hidden high href hrefLang htmlFor httpEquiv icon id inputMode integrity\n is keyParams keyType kind label lang list loop low manifest marginHeight marginWidth max maxLength media\n mediaGroup method min minLength multiple muted name noValidate nonce open\n optimum pattern placeholder poster preload radioGroup readOnly rel required\n reversed role rowSpan rows sandbox scope scoped scrolling seamless selected\n shape size sizes span spellCheck src srcDoc srcLang srcSet start step style\n summary tabIndex target title type useMap value width wmode wrap"," ").concat("onCopy onCut onPaste onCompositionEnd onCompositionStart onCompositionUpdate onKeyDown\n onKeyPress onKeyUp onFocus onBlur onChange onInput onSubmit onClick onContextMenu onDoubleClick\n onDrag onDragEnd onDragEnter onDragExit onDragLeave onDragOver onDragStart onDrop onMouseDown\n onMouseEnter onMouseLeave onMouseMove onMouseOut onMouseOver onMouseUp onSelect onTouchCancel\n onTouchEnd onTouchMove onTouchStart onScroll onWheel onAbort onCanPlay onCanPlayThrough\n onDurationChange onEmptied onEncrypted onEnded onError onLoadedData onLoadedMetadata\n onLoadStart onPause onPlay onPlaying onProgress onRateChange onSeeked onSeeking onStalled onSuspend onTimeUpdate onVolumeChange onWaiting onLoad onError").split(/[\s\n]+/),i="aria-",a="data-";function c(e,t){return 0===e.indexOf(t)}function u(e){var t,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t=!1===n?{aria:!0,data:!0,attr:!0}:!0===n?{aria:!0}:(0,r.Z)({},n);var u={};return Object.keys(e).forEach((function(n){(t.aria&&("role"===n||c(n,i))||t.data&&c(n,a)||t.attr&&o.includes(n))&&(u[n]=e[n])})),u}},75164:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=function(e){return+setTimeout(e,16)},o=function(e){return clearTimeout(e)};"undefined"!==typeof window&&"requestAnimationFrame"in window&&(r=function(e){return window.requestAnimationFrame(e)},o=function(e){return window.cancelAnimationFrame(e)});var i=0,a=new Map;function c(e){a.delete(e)}function u(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=i+=1;function o(t){if(0===t)c(n),e();else{var i=r((function(){o(t-1)}));a.set(n,i)}}return o(t),n}u.cancel=function(e){var t=a.get(e);return c(t),o(t)}},42550:function(e,t,n){"use strict";n.d(t,{mH:function(){return a},sQ:function(){return c},x1:function(){return u},Yr:function(){return s}});var r=n(71002),o=n(59864),i=n(56982);function a(e,t){"function"===typeof e?e(t):"object"===(0,r.Z)(e)&&e&&"current"in e&&(e.current=t)}function c(){for(var e=arguments.length,t=new Array(e),n=0;n0},e.prototype.connect_=function(){o&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){o&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;c.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),l=function(e,t){for(var n=0,r=Object.keys(t);n0},e}(),E="undefined"!==typeof WeakMap?new WeakMap:new r,C=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new x(t,n,this);E.set(this,r)};["observe","unobserve","disconnect"].forEach((function(e){C.prototype[e]=function(){var t;return(t=E.get(this))[e].apply(t,arguments)}}));var Z="undefined"!==typeof i.ResizeObserver?i.ResizeObserver:C;t.Z=Z},96774:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),u=0;u0?2===c.length?typeof c[1]==a?this[c[0]]=c[1].call(this,l):this[c[0]]=c[1]:3===c.length?typeof c[1]!==a||c[1].exec&&c[1].test?this[c[0]]=l?l.replace(c[1],c[2]):i:this[c[0]]=l?c[1].call(this,l,c[2]):i:4===c.length&&(this[c[0]]=l?c[3].call(this,l.replace(c[1],c[2])):i):this[c]=l||i;f+=2}},U=function(e,t){for(var n in t)if(typeof t[n]===u&&t[n].length>0){for(var r=0;r255?V(e,255):e,this},this.setUA(n),this};W.VERSION="1.0.2",W.BROWSER=L([f,v,"major"]),W.CPU=L([m]),W.DEVICE=L([l,p,d,h,g,b,y,w,x]),W.ENGINE=W.OS=L([f,v]),typeof t!==c?(e.exports&&(t=e.exports=W),t.UAParser=W):n.amdO?(r=function(){return W}.call(t,n,t,e))===i||(e.exports=r):typeof o!==c&&(o.UAParser=W);var $=typeof o!==c&&(o.jQuery||o.Zepto);if($&&!$.ua){var K=new W;$.ua=K.getResult(),$.ua.get=function(){return K.getUA()},$.ua.set=function(e){K.setUA(e);var t=K.getResult();for(var n in t)$.ua[n]=t[n]}}}("object"===typeof window?window:this)},30907:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},74165:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(71002);function o(){o=function(){return e};var e={},t=Object.prototype,n=t.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function s(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(P){s=function(e,t,n){return e[t]=n}}function l(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,i=Object.create(o.prototype),a=new k(r||[]);return i._invoke=function(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return S()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=E(a,n);if(c){if(c===d)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var u=f(e,t,n);if("normal"===u.type){if(r=n.done?"completed":"suspendedYield",u.arg===d)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r="completed",n.method="throw",n.arg=u.arg)}}}(e,n,a),i}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(P){return{type:"throw",arg:P}}}e.wrap=l;var d={};function p(){}function v(){}function m(){}var h={};s(h,a,(function(){return this}));var g=Object.getPrototypeOf,y=g&&g(g(N([])));y&&y!==t&&n.call(y,a)&&(h=y);var b=m.prototype=p.prototype=Object.create(h);function w(e){["next","throw","return"].forEach((function(t){s(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function o(i,a,c,u){var s=f(e[i],e,a);if("throw"!==s.type){var l=s.arg,d=l.value;return d&&"object"==(0,r.Z)(d)&&n.call(d,"__await")?t.resolve(d.__await).then((function(e){o("next",e,c,u)}),(function(e){o("throw",e,c,u)})):t.resolve(d).then((function(e){l.value=e,c(l)}),(function(e){return o("throw",e,c,u)}))}u(s.arg)}var i;this._invoke=function(e,n){function r(){return new t((function(t,r){o(e,n,t,r)}))}return i=i?i.then(r,r):r()}}function E(e,t){var n=e.iterator[t.method];if(void 0===n){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=void 0,E(e,t),"throw"===t.method))return d;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var r=f(n,e.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,d;var o=r.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,d):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function Z(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function N(e){if(e){var t=e[a];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function t(){for(;++r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=n.call(i,"catchLoc"),u=n.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),Z(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;Z(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:N(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}},89611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},97685:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(83878);var o=n(40181),i=n(25267);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(u){c=!0,o=u}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},84506:function(e,t,n){"use strict";n.d(t,{Z:function(){return c}});var r=n(83878),o=n(59199),i=n(40181),a=n(25267);function c(e){return(0,r.Z)(e)||(0,o.Z)(e)||(0,i.Z)(e)||(0,a.Z)()}},74902:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(30907);var o=n(59199),i=n(40181);function a(e){return function(e){if(Array.isArray(e))return(0,r.Z)(e)}(e)||(0,o.Z)(e)||(0,i.Z)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},71002:function(e,t,n){"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{Z:function(){return r}})},40181:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(30907);function o(e,t){if(e){if("string"===typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.Z)(e,t):void 0}}}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[9774,179],(function(){return t(76363),t(90387)}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/admin/access-tokens/index.html b/static/admin/access-tokens/index.html index e0cd3cf5e..f2987187f 100644 --- a/static/admin/access-tokens/index.html +++ b/static/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/admin/actions/index.html b/static/admin/actions/index.html index c567e92c9..c6c35a732 100644 --- a/static/admin/actions/index.html +++ b/static/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/admin/chat/messages/index.html b/static/admin/chat/messages/index.html index 87eee3fa4..349c4ccff 100644 --- a/static/admin/chat/messages/index.html +++ b/static/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/admin/chat/users/index.html b/static/admin/chat/users/index.html index 4ba12c369..17ded4d60 100644 --- a/static/admin/chat/users/index.html +++ b/static/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/admin/config-chat/index.html b/static/admin/config-chat/index.html index 4da551aaf..ca46d1e6a 100644 --- a/static/admin/config-chat/index.html +++ b/static/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-federation/index.html b/static/admin/config-federation/index.html index 0d59b4edf..ee9e5f11a 100644 --- a/static/admin/config-federation/index.html +++ b/static/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-notify/index.html b/static/admin/config-notify/index.html index b231f2621..12f230cba 100644 --- a/static/admin/config-notify/index.html +++ b/static/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file diff --git a/static/admin/config-public-details/index.html b/static/admin/config-public-details/index.html index ebfc79129..a20f4f877 100644 --- a/static/admin/config-public-details/index.html +++ b/static/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/admin/config-server-details/index.html b/static/admin/config-server-details/index.html index e05538fce..3f0f923ed 100644 --- a/static/admin/config-server-details/index.html +++ b/static/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/admin/config-social-items/index.html b/static/admin/config-social-items/index.html index 2af1a3cc4..8a6351b06 100644 --- a/static/admin/config-social-items/index.html +++ b/static/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/admin/config-storage/index.html b/static/admin/config-storage/index.html index 20c1b1f8f..f87731c2a 100644 --- a/static/admin/config-storage/index.html +++ b/static/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/admin/config-video/index.html b/static/admin/config-video/index.html index 848afa337..469cf47ca 100644 --- a/static/admin/config-video/index.html +++ b/static/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/admin/federation/actions/index.html b/static/admin/federation/actions/index.html index 90e31f5d4..285224ce7 100644 --- a/static/admin/federation/actions/index.html +++ b/static/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file diff --git a/static/admin/federation/followers/index.html b/static/admin/federation/followers/index.html index 82969c4c9..5c58d0491 100644 --- a/static/admin/federation/followers/index.html +++ b/static/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file diff --git a/static/admin/hardware-info/index.html b/static/admin/hardware-info/index.html index d609644c4..8fec39528 100644 --- a/static/admin/hardware-info/index.html +++ b/static/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Disk
0%
Loading...
\ No newline at end of file + a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" style="stroke:#52C41A;stroke-dasharray:0px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s">
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/admin/help/index.html b/static/admin/help/index.html index 5de769f3a..0996e248a 100644 --- a/static/admin/help/index.html +++ b/static/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/admin/index.html b/static/admin/index.html index d3616a308..c0c6adccc 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/admin/logs/index.html b/static/admin/logs/index.html index 486827889..2ca0ed2dc 100644 --- a/static/admin/logs/index.html +++ b/static/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/stream-health/index.html b/static/admin/stream-health/index.html index fe2caf4cd..464eef399 100644 --- a/static/admin/stream-health/index.html +++ b/static/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/admin/upgrade/index.html b/static/admin/upgrade/index.html index 37ac90842..9ec880b9c 100644 --- a/static/admin/upgrade/index.html +++ b/static/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/admin/viewer-info/index.html b/static/admin/viewer-info/index.html index 7d6a68519..30851a81e 100644 --- a/static/admin/viewer-info/index.html +++ b/static/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file diff --git a/static/admin/webhooks/index.html b/static/admin/webhooks/index.html index ef7f122a5..91e833073 100644 --- a/static/admin/webhooks/index.html +++ b/static/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file From 251c773661131e45da8c61f146aada69e4e81381 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 6 Jun 2022 14:38:23 +0000 Subject: [PATCH 20/40] Update module github.com/yuin/goldmark to v1.4.12 --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index b0b6b1ae8..4acafdfbf 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/schollz/sqlite3dump v1.3.1 github.com/sirupsen/logrus v1.8.1 github.com/teris-io/shortid v0.0.0-20201117134242-e59966efd125 - github.com/yuin/goldmark v1.4.11 + github.com/yuin/goldmark v1.4.12 golang.org/x/mod v0.5.1 golang.org/x/time v0.0.0-20220411224347-583f2d630306 mvdan.cc/xurls v1.1.0 diff --git a/go.sum b/go.sum index 21c9126e9..4c75eeb88 100644 --- a/go.sum +++ b/go.sum @@ -285,6 +285,8 @@ github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9de github.com/yuin/goldmark v1.1.32/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= github.com/yuin/goldmark v1.4.11 h1:i45YIzqLnUc2tGaTlJCyUxSG8TvgyGqhqOZOUKIjJ6w= github.com/yuin/goldmark v1.4.11/go.mod h1:rmuwmfZ0+bvzB24eSC//bk1R1Zp3hM0OXYv/G2LIilg= +github.com/yuin/goldmark v1.4.12 h1:6hffw6vALvEDqJ19dOJvJKOoAOKe4NDaTqvd2sktGN0= +github.com/yuin/goldmark v1.4.12/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/yusufpapurcu/wmi v1.2.2 h1:KBNDSne4vP5mbSWnJbO+51IMOXJB67QiYCSBrubbPRg= github.com/yusufpapurcu/wmi v1.2.2/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= From ceb2d50403f3967bedb4459c522284dfbe7a8f8e Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Mon, 6 Jun 2022 22:24:54 +0000 Subject: [PATCH 21/40] Update module github.com/aws/aws-sdk-go to v1.44.28 --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 4acafdfbf..04d85cadf 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.17 require ( github.com/amalfra/etag v1.0.0 - github.com/aws/aws-sdk-go v1.43.44 + github.com/aws/aws-sdk-go v1.44.28 github.com/go-fed/activity v1.0.1-0.20210803212804-d866ba75dd0f github.com/go-fed/httpsig v1.1.0 github.com/go-ole/go-ole v1.2.6 // indirect diff --git a/go.sum b/go.sum index 4c75eeb88..e5c5e84bf 100644 --- a/go.sum +++ b/go.sum @@ -48,6 +48,8 @@ github.com/aws/aws-sdk-go v1.43.43 h1:1L06qzQvl4aC3Skfh5rV7xVhGHjIZoHcqy16NoyQ1o github.com/aws/aws-sdk-go v1.43.43/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aws/aws-sdk-go v1.43.44 h1:t+97cY4ScE/czlNlK5iikUGi7w1fC0uop1OUalDIRT4= github.com/aws/aws-sdk-go v1.43.44/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= +github.com/aws/aws-sdk-go v1.44.28 h1:h/OAqEqY18wq//v6h4GNPMmCkxuzSDrWuGyrvSiRqf4= +github.com/aws/aws-sdk-go v1.44.28/go.mod h1:y4AeaBuwd2Lk+GepC1E9v0qOiTws0MIWAX4oIKwKHZo= github.com/aymerick/douceur v0.2.0 h1:Mv+mAeH1Q+n9Fr+oyamOlAkUNPWPlA8PPGR0QAaYuPk= github.com/aymerick/douceur v0.2.0/go.mod h1:wlT5vV2O3h55X9m7iVYN0TBM0NH/MmbLnd30/FjWUq4= github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q= From 5c795afe27cb7604ff21db6d196777e84075a2b5 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 7 Jun 2022 05:51:52 +0000 Subject: [PATCH 22/40] Update golang.org/x/net digest to c690dde --- go.mod | 2 +- go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 04d85cadf..1e22485d4 100644 --- a/go.mod +++ b/go.mod @@ -35,7 +35,7 @@ require ( github.com/tklauser/numcpus v0.4.0 // indirect github.com/yusufpapurcu/wmi v1.2.2 // indirect golang.org/x/crypto v0.0.0-20211215153901-e495a2d5b3d3 // indirect - golang.org/x/net v0.0.0-20220531201128-c960675eff93 + golang.org/x/net v0.0.0-20220607020251-c690dde0001d golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect ) diff --git a/go.sum b/go.sum index e5c5e84bf..303988410 100644 --- a/go.sum +++ b/go.sum @@ -378,6 +378,8 @@ golang.org/x/net v0.0.0-20220421235706-1d1ef9303861 h1:yssD99+7tqHWO5Gwh81phT+67 golang.org/x/net v0.0.0-20220421235706-1d1ef9303861/go.mod h1:CfG3xpIq0wQ8r1q4Su4UZFWDARRcnwPjda9FqA0JpMk= golang.org/x/net v0.0.0-20220531201128-c960675eff93 h1:MYimHLfoXEpOhqd/zgoA/uoXzHB86AEky4LAx5ij9xA= golang.org/x/net v0.0.0-20220531201128-c960675eff93/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= +golang.org/x/net v0.0.0-20220607020251-c690dde0001d h1:4SFsTMi4UahlKoloni7L4eYzhFRifURQLw+yv0QDCx8= +golang.org/x/net v0.0.0-20220607020251-c690dde0001d/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= From e26442ec7d015881222288e354e2f3f374938d19 Mon Sep 17 00:00:00 2001 From: Owncast Date: Tue, 7 Jun 2022 23:44:16 +0000 Subject: [PATCH 23/40] Update admin to ce743edb6f68455da9897d5ddf159f5ce258345d --- static/admin/404/index.html | 2 +- .../_buildManifest.js | 2 +- .../_middlewareManifest.js | 0 .../_ssgManifest.js | 0 static/admin/access-tokens/index.html | 2 +- static/admin/actions/index.html | 2 +- static/admin/chat/messages/index.html | 2 +- static/admin/chat/users/index.html | 2 +- static/admin/config-chat/index.html | 2 +- static/admin/config-federation/index.html | 2 +- static/admin/config-notify/index.html | 2 +- static/admin/config-public-details/index.html | 2 +- static/admin/config-server-details/index.html | 2 +- static/admin/config-social-items/index.html | 2 +- static/admin/config-storage/index.html | 2 +- static/admin/config-video/index.html | 2 +- static/admin/federation/actions/index.html | 2 +- static/admin/federation/followers/index.html | 2 +- static/admin/hardware-info/index.html | 4 ++-- static/admin/help/index.html | 2 +- static/admin/index.html | 2 +- static/admin/logs/index.html | 2 +- static/admin/stream-health/index.html | 2 +- static/admin/upgrade/index.html | 2 +- static/admin/viewer-info/index.html | 2 +- static/admin/webhooks/index.html | 2 +- 26 files changed, 25 insertions(+), 25 deletions(-) rename static/admin/_next/static/{cHVLAQoqAIT68gjWpJz4z => ArNiPdm614wBU8kMjlEvA}/_buildManifest.js (88%) rename static/admin/_next/static/{cHVLAQoqAIT68gjWpJz4z => ArNiPdm614wBU8kMjlEvA}/_middlewareManifest.js (100%) rename static/admin/_next/static/{cHVLAQoqAIT68gjWpJz4z => ArNiPdm614wBU8kMjlEvA}/_ssgManifest.js (100%) diff --git a/static/admin/404/index.html b/static/admin/404/index.html index ff76c9499..2e50a95fc 100644 --- a/static/admin/404/index.html +++ b/static/admin/404/index.html @@ -1 +1 @@ -404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file diff --git a/static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_buildManifest.js b/static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_buildManifest.js similarity index 88% rename from static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_buildManifest.js rename to static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_buildManifest.js index b06c6a549..ae668006c 100644 --- a/static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_buildManifest.js +++ b/static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,h,d,g,u,r,k){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,d,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-c48f3b04b9a6c7ce.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[k,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,k,"static/chunks/1556-f79a922e799c7a06.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,h,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-4fc73fe4cc2a426e.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,d,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,h,"static/chunks/pages/stream-health-fe46c37b7e05b347.js"],"/upgrade":[s,c,"static/chunks/9655-722bcfb83a61ab83.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,h,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,d,h,g,u,r,k){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,h,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-c48f3b04b9a6c7ce.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[k,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,k,"static/chunks/1556-f79a922e799c7a06.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,d,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-4fc73fe4cc2a426e.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,h,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,d,"static/chunks/pages/stream-health-fe46c37b7e05b347.js"],"/upgrade":[s,c,"static/chunks/9655-722bcfb83a61ab83.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,d,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_middlewareManifest.js b/static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_middlewareManifest.js similarity index 100% rename from static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_middlewareManifest.js rename to static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_middlewareManifest.js diff --git a/static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_ssgManifest.js b/static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_ssgManifest.js similarity index 100% rename from static/admin/_next/static/cHVLAQoqAIT68gjWpJz4z/_ssgManifest.js rename to static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_ssgManifest.js diff --git a/static/admin/access-tokens/index.html b/static/admin/access-tokens/index.html index f2987187f..7fc59ea8e 100644 --- a/static/admin/access-tokens/index.html +++ b/static/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/admin/actions/index.html b/static/admin/actions/index.html index c6c35a732..af2a83822 100644 --- a/static/admin/actions/index.html +++ b/static/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/admin/chat/messages/index.html b/static/admin/chat/messages/index.html index 349c4ccff..0561cb5d5 100644 --- a/static/admin/chat/messages/index.html +++ b/static/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/admin/chat/users/index.html b/static/admin/chat/users/index.html index 17ded4d60..5fb839a14 100644 --- a/static/admin/chat/users/index.html +++ b/static/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/admin/config-chat/index.html b/static/admin/config-chat/index.html index ca46d1e6a..1848643d0 100644 --- a/static/admin/config-chat/index.html +++ b/static/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-federation/index.html b/static/admin/config-federation/index.html index ee9e5f11a..f4d88165b 100644 --- a/static/admin/config-federation/index.html +++ b/static/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-notify/index.html b/static/admin/config-notify/index.html index 12f230cba..52d4cd14e 100644 --- a/static/admin/config-notify/index.html +++ b/static/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file diff --git a/static/admin/config-public-details/index.html b/static/admin/config-public-details/index.html index a20f4f877..33d59f660 100644 --- a/static/admin/config-public-details/index.html +++ b/static/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/admin/config-server-details/index.html b/static/admin/config-server-details/index.html index 3f0f923ed..35b9bfb17 100644 --- a/static/admin/config-server-details/index.html +++ b/static/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/admin/config-social-items/index.html b/static/admin/config-social-items/index.html index 8a6351b06..2cdae7a1a 100644 --- a/static/admin/config-social-items/index.html +++ b/static/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/admin/config-storage/index.html b/static/admin/config-storage/index.html index f87731c2a..ae8cd8010 100644 --- a/static/admin/config-storage/index.html +++ b/static/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/admin/config-video/index.html b/static/admin/config-video/index.html index 469cf47ca..25bebf910 100644 --- a/static/admin/config-video/index.html +++ b/static/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/admin/federation/actions/index.html b/static/admin/federation/actions/index.html index 285224ce7..fbd715323 100644 --- a/static/admin/federation/actions/index.html +++ b/static/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file diff --git a/static/admin/federation/followers/index.html b/static/admin/federation/followers/index.html index 5c58d0491..10bf21302 100644 --- a/static/admin/federation/followers/index.html +++ b/static/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file diff --git a/static/admin/hardware-info/index.html b/static/admin/hardware-info/index.html index 8fec39528..267300b27 100644 --- a/static/admin/hardware-info/index.html +++ b/static/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Disk
0%
Loading...
\ No newline at end of file + a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" style="stroke:#52C41A;stroke-dasharray:0px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s">
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/admin/help/index.html b/static/admin/help/index.html index 0996e248a..be0ec8eb5 100644 --- a/static/admin/help/index.html +++ b/static/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/admin/index.html b/static/admin/index.html index c0c6adccc..b8e0beee2 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/admin/logs/index.html b/static/admin/logs/index.html index 2ca0ed2dc..5dea0b108 100644 --- a/static/admin/logs/index.html +++ b/static/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/stream-health/index.html b/static/admin/stream-health/index.html index 464eef399..ab71ffbd5 100644 --- a/static/admin/stream-health/index.html +++ b/static/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/admin/upgrade/index.html b/static/admin/upgrade/index.html index 9ec880b9c..a20f34f8f 100644 --- a/static/admin/upgrade/index.html +++ b/static/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/admin/viewer-info/index.html b/static/admin/viewer-info/index.html index 30851a81e..71f294d83 100644 --- a/static/admin/viewer-info/index.html +++ b/static/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file diff --git a/static/admin/webhooks/index.html b/static/admin/webhooks/index.html index 91e833073..6aee4ee1f 100644 --- a/static/admin/webhooks/index.html +++ b/static/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file From 09d3350d509addf3b735659a5a78236da1035418 Mon Sep 17 00:00:00 2001 From: Owncast Date: Thu, 9 Jun 2022 04:52:55 +0000 Subject: [PATCH 24/40] Update admin to b6858dddff0ae30fbf3b1013b23faaafe091e90d --- static/admin/404/index.html | 2 +- .../_buildManifest.js | 2 +- .../_middlewareManifest.js | 0 .../_ssgManifest.js | 0 ...-fe46c37b7e05b347.js => stream-health-4a811c8adeb950de.js} | 2 +- static/admin/access-tokens/index.html | 2 +- static/admin/actions/index.html | 2 +- static/admin/chat/messages/index.html | 2 +- static/admin/chat/users/index.html | 2 +- static/admin/config-chat/index.html | 2 +- static/admin/config-federation/index.html | 2 +- static/admin/config-notify/index.html | 2 +- static/admin/config-public-details/index.html | 2 +- static/admin/config-server-details/index.html | 2 +- static/admin/config-social-items/index.html | 2 +- static/admin/config-storage/index.html | 2 +- static/admin/config-video/index.html | 2 +- static/admin/federation/actions/index.html | 2 +- static/admin/federation/followers/index.html | 2 +- static/admin/hardware-info/index.html | 4 ++-- static/admin/help/index.html | 2 +- static/admin/index.html | 2 +- static/admin/logs/index.html | 2 +- static/admin/stream-health/index.html | 2 +- static/admin/upgrade/index.html | 2 +- static/admin/viewer-info/index.html | 2 +- static/admin/webhooks/index.html | 2 +- 27 files changed, 26 insertions(+), 26 deletions(-) rename static/admin/_next/static/{ArNiPdm614wBU8kMjlEvA => DOMh6S0mpd9yCoOvLhG_c}/_buildManifest.js (90%) rename static/admin/_next/static/{ArNiPdm614wBU8kMjlEvA => DOMh6S0mpd9yCoOvLhG_c}/_middlewareManifest.js (100%) rename static/admin/_next/static/{ArNiPdm614wBU8kMjlEvA => DOMh6S0mpd9yCoOvLhG_c}/_ssgManifest.js (100%) rename static/admin/_next/static/chunks/pages/{stream-health-fe46c37b7e05b347.js => stream-health-4a811c8adeb950de.js} (66%) diff --git a/static/admin/404/index.html b/static/admin/404/index.html index 2e50a95fc..43e1c1253 100644 --- a/static/admin/404/index.html +++ b/static/admin/404/index.html @@ -1 +1 @@ -404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file diff --git a/static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_buildManifest.js b/static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_buildManifest.js similarity index 90% rename from static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_buildManifest.js rename to static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_buildManifest.js index ae668006c..f3bda5cf6 100644 --- a/static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_buildManifest.js +++ b/static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,d,h,g,u,r,k){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,h,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-c48f3b04b9a6c7ce.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[k,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,k,"static/chunks/1556-f79a922e799c7a06.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,d,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-4fc73fe4cc2a426e.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,h,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,d,"static/chunks/pages/stream-health-fe46c37b7e05b347.js"],"/upgrade":[s,c,"static/chunks/9655-722bcfb83a61ab83.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,d,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,d,h,g,u,r,b){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,h,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-c48f3b04b9a6c7ce.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[b,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,b,"static/chunks/1556-f79a922e799c7a06.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,d,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-4fc73fe4cc2a426e.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,h,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,d,"static/chunks/pages/stream-health-4a811c8adeb950de.js"],"/upgrade":[s,c,"static/chunks/9655-722bcfb83a61ab83.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,d,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_middlewareManifest.js b/static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_middlewareManifest.js similarity index 100% rename from static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_middlewareManifest.js rename to static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_middlewareManifest.js diff --git a/static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_ssgManifest.js b/static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_ssgManifest.js similarity index 100% rename from static/admin/_next/static/ArNiPdm614wBU8kMjlEvA/_ssgManifest.js rename to static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_ssgManifest.js diff --git a/static/admin/_next/static/chunks/pages/stream-health-fe46c37b7e05b347.js b/static/admin/_next/static/chunks/pages/stream-health-4a811c8adeb950de.js similarity index 66% rename from static/admin/_next/static/chunks/pages/stream-health-fe46c37b7e05b347.js rename to static/admin/_next/static/chunks/pages/stream-health-4a811c8adeb950de.js index 98618af4d..6e91b1db3 100644 --- a/static/admin/_next/static/chunks/pages/stream-health-fe46c37b7e05b347.js +++ b/static/admin/_next/static/chunks/pages/stream-health-4a811c8adeb950de.js @@ -1 +1 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9632],{24019:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},o=r(42135),s=function(e,t){return n.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:i}))};s.displayName="ClockCircleOutlined";var l=n.forwardRef(s)},86401:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/stream-health",function(){return r(26102)}])},89270:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var a=r(85893),n=r(31877),i=r(92616),o=r.n(i),s=r(58091),l=r(60727);function c(e){var t={};return e.forEach((function(e){var r=new Date(e.time),a=(0,s.Z)(r,"H:mma");t[a]=e.value})),t}function d(e){var t=e.data,r=e.title,n=e.color,i=e.unit,o=e.dataCollections,s=e.yFlipped,d=e.yLogarithmic,u=[];t&&t.length>0&&u.push({name:r,color:n,data:c(t)}),o.forEach((function(e){u.push({name:e.name,data:c(e.data),color:e.color,dataset:e.options})}));var h={scales:{y:{reverse:!1,type:"linear"},x:{type:"time"}}};return h.scales.y.reverse=s,h.scales.y.type=d?"logarithmic":"linear",(0,a.jsx)("div",{className:"line-chart-container",children:(0,a.jsx)(l.wW,{xtitle:"Time",ytitle:r,suffix:i,legend:"bottom",color:n,data:u,download:r,library:h})})}o().use(n.Z),d.defaultProps={dataCollections:[],data:[],title:"",yFlipped:!1,yLogarithmic:!1}},14880:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var a=r(85893),n=r(8751),i=r(11475),o=r(25968),s=r(6226),l=r(74763),c=r(84485),d=r(14670),u=r(71577),h=r(41664),p=r(67294),y=r(35159);function m(e){var t=e.showTroubleshootButton,r=(0,p.useContext)(y.aC).health;if(!r)return null;var m=r.healthy,f=r.healthPercentage,v=r.message,g=r.representation,x="#3f8600",w="info";return f<80?(x="#cf000f",w="error"):f<30&&(x="#f0ad4e",w="error"),(0,a.jsxs)("div",{children:[(0,a.jsxs)(o.Z,{gutter:8,children:[(0,a.jsx)(s.Z,{span:12,children:(0,a.jsx)(l.Z,{title:"Healthy Stream",value:m?"Yes":"No",valueStyle:{color:x},prefix:m?(0,a.jsx)(n.Z,{}):(0,a.jsx)(i.Z,{})})}),(0,a.jsx)(s.Z,{span:12,children:(0,a.jsx)(l.Z,{title:"Playback Health",value:f,valueStyle:{color:x},suffix:"%"})})]}),(0,a.jsx)(o.Z,{style:{display:g<100&&0!==g?"grid":"none"},children:(0,a.jsxs)(c.Z.Text,{type:"secondary",style:{textAlign:"center",fontSize:"0.7em",opacity:"0.3"},children:["Stream health represents ",g,"% of all known players. Other player status is unknown."]})}),(0,a.jsx)(o.Z,{gutter:16,style:{width:"100%",display:v?"grid":"none",marginTop:"10px"},children:(0,a.jsx)(s.Z,{span:24,children:(0,a.jsx)(d.Z,{message:v,type:w,showIcon:!0,action:t&&(0,a.jsx)(h.default,{passHref:!0,href:"/stream-health",children:(0,a.jsx)(u.Z,{size:"small",type:"text",style:{color:"black"},children:"TROUBLESHOOT"})})})})})]})}m.defaultProps={showTroubleshootButton:!0}},26102:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return P}});var a=r(34051),n=r.n(a),i=r(85893),o=r(84485),s=r(14670),l=r(11382),c=r(26713),d=r(25968),u=r(6226),h=r(97751),p=r(74763),y=r(67294),m=r(1413),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},v=r(42135),g=function(e,t){return y.createElement(v.Z,(0,m.Z)((0,m.Z)({},e),{},{ref:t,icon:f}))};g.displayName="WifiOutlined";var x=y.forwardRef(g),w=r(24019),j=r(28058),b=r(58827),Z=r(89270),F=r(14880),k=r(35159);function S(e,t,r,a,n,i,o){try{var s=e[i](o),l=s.value}catch(c){return void r(c)}s.done?t(l):Promise.resolve(l).then(a,n)}function C(e){var t=e.title,r=e.description;return(0,i.jsxs)("div",{className:"description-box",children:[(0,i.jsx)(o.Z.Title,{children:t}),(0,i.jsx)(o.Z.Paragraph,{children:r})]})}function P(){var e,t,r,a,m,f,v,g=(0,y.useState)([]),P=g[0],T=g[1],N=(0,y.useState)([]),E=N[0],B=N[1],L=(0,y.useState)(),D=L[0],O=L[1],q=(0,y.useState)(),z=q[0],_=q[1],I=(0,y.useState)([]),M=I[0],H=I[1],R=(0,y.useState)([]),V=R[0],A=R[1],Q=(0,y.useState)([]),W=Q[0],Y=Q[1],U=(0,y.useState)([]),X=U[0],$=U[1],G=(0,y.useState)([]),J=G[0],K=G[1],ee=(0,y.useState)([]),te=ee[0],re=ee[1],ae=(0,y.useState)([]),ne=ae[0],ie=ae[1],oe=(0,y.useState)([]),se=oe[0],le=oe[1],ce=(0,y.useState)(0),de=ce[0],ue=ce[1],he=function(){var e,t=(e=n().mark((function e(){var t;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,b.rQ)(b.N$);case 3:t=e.sent,T(t.errors),B(t.qualityVariantChanges),_(t.highestLatency),O(t.lowestLatency),H(t.medianLatency),A(t.medianSegmentDownloadDuration||[]),Y(t.maximumSegmentDownloadDuration||[]),$(t.minimumSegmentDownloadDuration||[]),K(t.minPlayerBitrate),re(t.medianPlayerBitrate),ie(t.maxPlayerBitrate),le(t.availableBitrates),ue(t.segmentLength-.3),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(0),console.error(e.t0);case 22:case"end":return e.stop()}}),e,null,[[0,19]])})),function(){var t=this,r=arguments;return new Promise((function(a,n){var i=e.apply(t,r);function o(e){S(i,a,n,o,s,"next",e)}function s(e){S(i,a,n,o,s,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();(0,y.useEffect)((function(){var e;return he(),e=setInterval(he,b.NE),function(){clearInterval(e)}}),[]);var pe=(0,i.jsxs)("div",{children:[(0,i.jsx)(o.Z.Title,{children:"Stream Performance"}),(0,i.jsx)(s.Z,{type:"info",message:" Once a stream has started and viewers have been watching, playback data and metrics will be available to you."}),(0,i.jsx)(l.Z,{size:"large",children:(0,i.jsx)("div",{style:{marginTop:"50px",height:"100px"}})})]});if(!(null===P||void 0===P?void 0:P.length))return pe;if(!(null===M||void 0===M?void 0:M.length))return pe;if(!(null===V||void 0===V?void 0:V.length))return pe;var ye=[{name:"Errors",color:"#B63FFF",options:{radius:3},data:P},{name:"Quality changes",color:"#2087E2",options:{radius:2},data:E}],me=[{name:"Median stream latency",color:"#00FFFF",options:{radius:2},data:M},{name:"Lowest stream latency",color:"#02FD0D",options:{radius:2},data:D},{name:"Highest stream latency",color:"#B63FFF",options:{radius:2},data:z}],fe=[{name:"Max download duration",color:"#B63FFF",options:{radius:2},data:W},{name:"Median download duration",color:"#00FFFF",options:{radius:2},data:V},{name:"Min download duration",color:"#02FD0D",options:{radius:2},data:X},{name:"Approximate limit",color:"#003FFF",data:V.map((function(e){return{time:e.time,value:de}})),options:{radius:0}}],ve=[{name:"Slowest player speed",color:"#B63FFF",data:J,options:{radius:2}},{name:"Median player speed",color:"#00FFFF",data:te,options:{radius:2}},{name:"Fastest player speed",color:"#02FD0D",data:ne,options:{radius:2}}];se.forEach((function(e){ve.push({name:"Available bitrate",color:"#003FFF",data:J.map((function(t){return{time:t.time,value:e}})),options:{radius:0}})}));var ge=null===(t=null===(e=ve[0])||void 0===e?void 0:e.data[ve[0].data.length-1])||void 0===t?void 0:t.value,xe=null===(r=V[V.length-1])||void 0===r?void 0:r.value,we=se[0],je=(null===(a=M[M.length-1])||void 0===a?void 0:a.value)||0,be=(null===(m=z[z.length-1])||void 0===m?void 0:m.value)||0,Ze=(null===(f=D[D.length-1])||void 0===f?void 0:f.value)||0,Fe=(Number(be)+Number(Ze)+Number(je))/3,ke=0;((null===(v=ye[0])||void 0===v?void 0:v.data.length)||0)>5?ke=ye[0].data.slice(-3).reduce((function(e,t){return e+Number(t.value)}),0):ke=ye[0].data.reduce((function(e,t){return e+Number(t.value)}),0);var Se=ge>0||xe>0||ke>0,Ce=null,Pe=null;0!==ge&&gede&&(Pe="Your viewers may be consuming your video slower than required. This may be due to slow networks or your latency configuration. You need to decrease the amount of time viewers are taking to consume your video. Consider adding a lower quality with a lower bitrate or experiment with increasing the latency buffer setting.");var Te=ke>0?"#B63FFF":"#FFFFFF",Ne={display:"flex",alignItems:"center",justifyContent:"center",height:"80px"},Ee=(0,y.useContext)(k.aC).health;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Title,{children:"Stream Performance"}),(0,i.jsx)(o.Z.Paragraph,{children:"This tool hopes to help you identify and troubleshoot problems you may be experiencing with your stream. It aims to aggregate experiences across your viewers, meaning one viewer with an exceptionally bad experience may throw off numbers for the whole, especially with a low number of viewers."}),(0,i.jsx)(o.Z.Paragraph,{children:"The data is only collected by those using the Owncast web interface and is unable to gain insight into external players people may be using such as VLC, MPV, QuickTime, etc."}),(0,i.jsxs)(c.Z,{direction:"vertical",size:"middle",children:[(0,i.jsxs)(d.Z,{gutter:[16,16],justify:"space-around",style:{display:Se?"flex":"none"},children:[0!==ge&&(0,i.jsx)(u.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Viewer Playback Speed",value:"".concat(ge),prefix:(0,i.jsx)(x,{style:{marginRight:"5px"}}),precision:0,suffix:"kbps"})})})}),0!==Fe&&(0,i.jsx)(u.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Viewer Latency",value:"".concat(Fe),prefix:(0,i.jsx)(w.Z,{style:{marginRight:"5px"}}),precision:0,suffix:"seconds"})})})}),(0,i.jsx)(u.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Recent Client Playback Warnings",value:"".concat(ke||0),valueStyle:{color:Te},prefix:(0,i.jsx)(j.Z,{style:{marginRight:"5px"}}),suffix:""})})})})]}),Ee&&(0,i.jsx)(d.Z,{justify:"space-around",children:(0,i.jsx)(u.Z,{style:{width:"100%"},children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)(F.Z,{showTroubleshootButton:!1})})})}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Video Segment Download",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"Once a video segment takes too long to download a viewer will experience buffering. If you see slow downloads you should offer a lower quality for your viewers, or find other ways, possibly an external storage provider, a CDN or a faster network, to improve your stream quality. Increasing your latency buffer can also help for some viewers."}),(0,i.jsx)(o.Z.Paragraph,{children:"Once the pink line consistently gets near the blue line, your stream is likely experiencing problems for viewers."})]})}),Pe&&(0,i.jsx)(s.Z,{message:"Slow downloads",description:Pe,type:"error",showIcon:!0}),(0,i.jsx)(Z.Z,{title:"Seconds",dataCollections:fe,color:"#FF7700",unit:"s",yLogarithmic:!0})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Player Network Speed",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"The playback bitrate of your viewers. Once somebody's bitrate drops below the lowest video variant bitrate they will experience buffering. If you see viewers with slow connections trying to play your video you should consider offering an additional, lower quality."}),(0,i.jsx)(o.Z.Paragraph,{children:"Once the pink line gets near the lowest blue line, your stream is likely experiencing problems for at least one of your viewers."})]})}),Ce&&(0,i.jsx)(s.Z,{message:"Low bandwidth viewers",description:Ce,type:"error",showIcon:!0}),(0,i.jsx)(Z.Z,{title:"Lowest Player Bitrate",dataCollections:ve,color:"#FF7700",unit:"kbps",yLogarithmic:!0})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Errors and Quality Changes",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"Recent number of errors, including buffering, and quality changes from across all your viewers. Errors can occur for many reasons, including browser issues, plugins, wifi problems, and they don't all represent fatal issues or something you have control over."}),"A quality change is not necessarily a negative thing but excessive errors may indicate you might need to add additional qualities to support your viewers.",(0,i.jsx)(o.Z.Paragraph,{})]})}),(0,i.jsx)(Z.Z,{title:"#",dataCollections:ye,color:"#FF7700",unit:""})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Viewer Latency",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{children:"The approximate number of seconds that your viewers are behind your live video. High latency itself is not a problem, and optimizing for low latency can result in buffering, resulting in even higher latency. The largest cause of latency spikes is buffering. Adding lower qualities for your viewers will allow those with slow networks to more comfortably play back your stream, reducing the likelihood of buffering, therefore keeping latency lower for more viewers."}),(0,i.jsx)("p",{children:'For some networks, some browsers, and some playback environments a new experimental "minimized latency mode" is available for testing in the player settings and could help lower latency for some viewers.'}),(0,i.jsx)("p",{children:"Note: Using an external S3 storage provider may add some additional latency as it requires an layer of content transfer."})]})}),(0,i.jsx)(Z.Z,{title:"Seconds",dataCollections:me,color:"#FF7700",unit:"s"})]})]})]})}}},function(e){e.O(0,[7570,1741,8091,8879,7751,4763,1080,9774,2888,179],(function(){return t=86401,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9632],{24019:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var a=r(1413),n=r(67294),i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M686.7 638.6L544.1 535.5V288c0-4.4-3.6-8-8-8H488c-4.4 0-8 3.6-8 8v275.4c0 2.6 1.2 5 3.3 6.5l165.4 120.6c3.6 2.6 8.6 1.8 11.2-1.7l28.6-39c2.6-3.7 1.8-8.7-1.8-11.2z"}}]},name:"clock-circle",theme:"outlined"},o=r(42135),s=function(e,t){return n.createElement(o.Z,(0,a.Z)((0,a.Z)({},e),{},{ref:t,icon:i}))};s.displayName="ClockCircleOutlined";var l=n.forwardRef(s)},86401:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/stream-health",function(){return r(26102)}])},89270:function(e,t,r){"use strict";r.d(t,{Z:function(){return d}});var a=r(85893),n=r(31877),i=r(92616),o=r.n(i),s=r(58091),l=r(60727);function c(e){var t={};return e.forEach((function(e){var r=new Date(e.time),a=(0,s.Z)(r,"H:mma");t[a]=e.value})),t}function d(e){var t=e.data,r=e.title,n=e.color,i=e.unit,o=e.dataCollections,s=e.yFlipped,d=e.yLogarithmic,u=[];t&&t.length>0&&u.push({name:r,color:n,data:c(t)}),o.forEach((function(e){u.push({name:e.name,data:c(e.data),color:e.color,dataset:e.options})}));var h={scales:{y:{reverse:!1,type:"linear"},x:{type:"time"}}};return h.scales.y.reverse=s,h.scales.y.type=d?"logarithmic":"linear",(0,a.jsx)("div",{className:"line-chart-container",children:(0,a.jsx)(l.wW,{xtitle:"Time",ytitle:r,suffix:i,legend:"bottom",color:n,data:u,download:r,library:h})})}o().use(n.Z),d.defaultProps={dataCollections:[],data:[],title:"",yFlipped:!1,yLogarithmic:!1}},14880:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var a=r(85893),n=r(8751),i=r(11475),o=r(25968),s=r(6226),l=r(74763),c=r(84485),d=r(14670),u=r(71577),h=r(41664),p=r(67294),y=r(35159);function m(e){var t=e.showTroubleshootButton,r=(0,p.useContext)(y.aC).health;if(!r)return null;var m=r.healthy,f=r.healthPercentage,v=r.message,g=r.representation,x="#3f8600",w="info";return f<80?(x="#cf000f",w="error"):f<30&&(x="#f0ad4e",w="error"),(0,a.jsxs)("div",{children:[(0,a.jsxs)(o.Z,{gutter:8,children:[(0,a.jsx)(s.Z,{span:12,children:(0,a.jsx)(l.Z,{title:"Healthy Stream",value:m?"Yes":"No",valueStyle:{color:x},prefix:m?(0,a.jsx)(n.Z,{}):(0,a.jsx)(i.Z,{})})}),(0,a.jsx)(s.Z,{span:12,children:(0,a.jsx)(l.Z,{title:"Playback Health",value:f,valueStyle:{color:x},suffix:"%"})})]}),(0,a.jsx)(o.Z,{style:{display:g<100&&0!==g?"grid":"none"},children:(0,a.jsxs)(c.Z.Text,{type:"secondary",style:{textAlign:"center",fontSize:"0.7em",opacity:"0.3"},children:["Stream health represents ",g,"% of all known players. Other player status is unknown."]})}),(0,a.jsx)(o.Z,{gutter:16,style:{width:"100%",display:v?"grid":"none",marginTop:"10px"},children:(0,a.jsx)(s.Z,{span:24,children:(0,a.jsx)(d.Z,{message:v,type:w,showIcon:!0,action:t&&(0,a.jsx)(h.default,{passHref:!0,href:"/stream-health",children:(0,a.jsx)(u.Z,{size:"small",type:"text",style:{color:"black"},children:"TROUBLESHOOT"})})})})})]})}m.defaultProps={showTroubleshootButton:!0}},26102:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return P}});var a=r(34051),n=r.n(a),i=r(85893),o=r(84485),s=r(14670),l=r(11382),c=r(26713),d=r(25968),u=r(6226),h=r(97751),p=r(74763),y=r(67294),m=r(1413),f={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M723 620.5C666.8 571.6 593.4 542 513 542s-153.8 29.6-210.1 78.6a8.1 8.1 0 00-.8 11.2l36 42.9c2.9 3.4 8 3.8 11.4.9C393.1 637.2 450.3 614 513 614s119.9 23.2 163.5 61.5c3.4 2.9 8.5 2.5 11.4-.9l36-42.9c2.8-3.3 2.4-8.3-.9-11.2zm117.4-140.1C751.7 406.5 637.6 362 513 362s-238.7 44.5-327.5 118.4a8.05 8.05 0 00-1 11.3l36 42.9c2.8 3.4 7.9 3.8 11.2 1C308 472.2 406.1 434 513 434s205 38.2 281.2 101.6c3.4 2.8 8.4 2.4 11.2-1l36-42.9c2.8-3.4 2.4-8.5-1-11.3zm116.7-139C835.7 241.8 680.3 182 511 182c-168.2 0-322.6 59-443.7 157.4a8 8 0 00-1.1 11.4l36 42.9c2.8 3.3 7.8 3.8 11.1 1.1C222 306.7 360.3 254 511 254c151.8 0 291 53.5 400 142.7 3.4 2.8 8.4 2.3 11.2-1.1l36-42.9c2.9-3.4 2.4-8.5-1.1-11.3zM448 778a64 64 0 10128 0 64 64 0 10-128 0z"}}]},name:"wifi",theme:"outlined"},v=r(42135),g=function(e,t){return y.createElement(v.Z,(0,m.Z)((0,m.Z)({},e),{},{ref:t,icon:f}))};g.displayName="WifiOutlined";var x=y.forwardRef(g),w=r(24019),j=r(28058),b=r(58827),Z=r(89270),F=r(14880),k=r(35159);function S(e,t,r,a,n,i,o){try{var s=e[i](o),l=s.value}catch(c){return void r(c)}s.done?t(l):Promise.resolve(l).then(a,n)}function C(e){var t=e.title,r=e.description;return(0,i.jsxs)("div",{className:"description-box",children:[(0,i.jsx)(o.Z.Title,{children:t}),(0,i.jsx)(o.Z.Paragraph,{children:r})]})}function P(){var e,t,r,a,m,f,v,g=(0,y.useState)([]),P=g[0],T=g[1],N=(0,y.useState)([]),E=N[0],B=N[1],L=(0,y.useState)(),D=L[0],O=L[1],q=(0,y.useState)(),z=q[0],_=q[1],I=(0,y.useState)([]),M=I[0],H=I[1],R=(0,y.useState)([]),V=R[0],A=R[1],Q=(0,y.useState)([]),W=Q[0],Y=Q[1],U=(0,y.useState)([]),X=U[0],$=U[1],G=(0,y.useState)([]),J=G[0],K=G[1],ee=(0,y.useState)([]),te=ee[0],re=ee[1],ae=(0,y.useState)([]),ne=ae[0],ie=ae[1],oe=(0,y.useState)([]),se=oe[0],le=oe[1],ce=(0,y.useState)(0),de=ce[0],ue=ce[1],he=function(){var e,t=(e=n().mark((function e(){var t;return n().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,b.rQ)(b.N$);case 3:t=e.sent,T(t.errors),B(t.qualityVariantChanges),_(t.highestLatency),O(t.lowestLatency),H(t.medianLatency),A(t.medianSegmentDownloadDuration||[]),Y(t.maximumSegmentDownloadDuration||[]),$(t.minimumSegmentDownloadDuration||[]),K(t.minPlayerBitrate),re(t.medianPlayerBitrate),ie(t.maxPlayerBitrate),le(t.availableBitrates),ue(t.segmentLength-.3),e.next=22;break;case 19:e.prev=19,e.t0=e.catch(0),console.error(e.t0);case 22:case"end":return e.stop()}}),e,null,[[0,19]])})),function(){var t=this,r=arguments;return new Promise((function(a,n){var i=e.apply(t,r);function o(e){S(i,a,n,o,s,"next",e)}function s(e){S(i,a,n,o,s,"throw",e)}o(void 0)}))});return function(){return t.apply(this,arguments)}}();(0,y.useEffect)((function(){var e;return he(),e=setInterval(he,b.NE),function(){clearInterval(e)}}),[]);var pe=(0,i.jsxs)("div",{children:[(0,i.jsx)(o.Z.Title,{children:"Stream Performance"}),(0,i.jsx)(s.Z,{type:"info",message:" Once a stream has started and viewers have been watching, playback data and metrics will be available to you."}),(0,i.jsx)(l.Z,{size:"large",children:(0,i.jsx)("div",{style:{marginTop:"50px",height:"100px"}})})]});if(!(null===P||void 0===P?void 0:P.length))return pe;if(!(null===M||void 0===M?void 0:M.length))return pe;if(!(null===V||void 0===V?void 0:V.length))return pe;var ye=[{name:"Errors",color:"#B63FFF",options:{radius:3},data:P},{name:"Quality changes",color:"#2087E2",options:{radius:2},data:E}],me=[{name:"Median stream latency",color:"#00FFFF",options:{radius:2},data:M},{name:"Lowest stream latency",color:"#02FD0D",options:{radius:2},data:D},{name:"Highest stream latency",color:"#B63FFF",options:{radius:2},data:z}],fe=[{name:"Max download duration",color:"#B63FFF",options:{radius:2},data:W},{name:"Median download duration",color:"#00FFFF",options:{radius:2},data:V},{name:"Min download duration",color:"#02FD0D",options:{radius:2},data:X},{name:"Approximate limit",color:"#003FFF",data:V.map((function(e){return{time:e.time,value:de}})),options:{radius:0}}],ve=[{name:"Slowest player speed",color:"#B63FFF",data:J,options:{radius:2}},{name:"Median player speed",color:"#00FFFF",data:te,options:{radius:2}},{name:"Fastest player speed",color:"#02FD0D",data:ne,options:{radius:2}}];se.forEach((function(e){ve.push({name:"Available bitrate",color:"#003FFF",data:J.map((function(t){return{time:t.time,value:e}})),options:{radius:0}})}));var ge=null===(t=null===(e=ve[0])||void 0===e?void 0:e.data[ve[0].data.length-1])||void 0===t?void 0:t.value,xe=null===(r=V[V.length-1])||void 0===r?void 0:r.value,we=se[0],je=(null===(a=M[M.length-1])||void 0===a?void 0:a.value)||0,be=(null===(m=z[z.length-1])||void 0===m?void 0:m.value)||0,Ze=(null===(f=D[D.length-1])||void 0===f?void 0:f.value)||0,Fe=(Number(be)+Number(Ze)+Number(je))/3,ke=0;((null===(v=ye[0])||void 0===v?void 0:v.data.length)||0)>5?ke=ye[0].data.slice(-3).reduce((function(e,t){return e+Number(t.value)}),0):ke=ye[0].data.reduce((function(e,t){return e+Number(t.value)}),0);var Se=ge>0||xe>0||ke>0,Ce=null,Pe=null;0!==ge&&gede&&(Pe="Your viewers may be consuming your video slower than required. This may be due to slow networks or your latency configuration. You need to decrease the amount of time viewers are taking to consume your video. Consider adding a lower quality with a lower bitrate or experiment with increasing the latency buffer setting.");var Te=ke>0?"#B63FFF":"#FFFFFF",Ne={display:"flex",alignItems:"center",justifyContent:"center",height:"80px"},Ee=(0,y.useContext)(k.aC).health;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Title,{children:"Stream Performance"}),(0,i.jsx)(o.Z.Paragraph,{children:"This tool hopes to help you identify and troubleshoot problems you may be experiencing with your stream. It aims to aggregate experiences across your viewers, meaning one viewer with an exceptionally bad experience may throw off numbers for the whole, especially with a low number of viewers."}),(0,i.jsx)(o.Z.Paragraph,{children:"The data is only collected by certain browsers using the Owncast web interface and is unable to gain insight into external players people may be using such as VLC, MPV, QuickTime, etc."}),(0,i.jsxs)(c.Z,{direction:"vertical",size:"middle",children:[(0,i.jsxs)(d.Z,{gutter:[16,16],justify:"space-around",style:{display:Se?"flex":"none"},children:[0!==ge&&(0,i.jsx)(u.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Viewer Playback Speed",value:"".concat(ge),prefix:(0,i.jsx)(x,{style:{marginRight:"5px"}}),precision:0,suffix:"kbps"})})})}),0!==Fe&&(0,i.jsx)(u.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Viewer Latency",value:"".concat(Fe),prefix:(0,i.jsx)(w.Z,{style:{marginRight:"5px"}}),precision:0,suffix:"seconds"})})})}),(0,i.jsx)(u.Z,{children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)("div",{style:Ne,children:(0,i.jsx)(p.Z,{title:"Recent Client Playback Warnings",value:"".concat(ke||0),valueStyle:{color:Te},prefix:(0,i.jsx)(j.Z,{style:{marginRight:"5px"}}),suffix:""})})})})]}),Ee&&(0,i.jsx)(d.Z,{justify:"space-around",children:(0,i.jsx)(u.Z,{style:{width:"100%"},children:(0,i.jsx)(h.Z,{type:"inner",children:(0,i.jsx)(F.Z,{showTroubleshootButton:!1})})})}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Video Segment Download",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"Once a video segment takes too long to download a viewer will experience buffering. If you see slow downloads you should offer a lower quality for your viewers, or find other ways, possibly an external storage provider, a CDN or a faster network, to improve your stream quality. Increasing your latency buffer can also help for some viewers."}),(0,i.jsx)(o.Z.Paragraph,{children:"Once the pink line consistently gets near the blue line, your stream is likely experiencing problems for viewers."})]})}),Pe&&(0,i.jsx)(s.Z,{message:"Slow downloads",description:Pe,type:"error",showIcon:!0}),(0,i.jsx)(Z.Z,{title:"Seconds",dataCollections:fe,color:"#FF7700",unit:"s",yLogarithmic:!0})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Player Network Speed",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"The playback bitrate of your viewers. Once somebody's bitrate drops below the lowest video variant bitrate they will experience buffering. If you see viewers with slow connections trying to play your video you should consider offering an additional, lower quality."}),(0,i.jsx)(o.Z.Paragraph,{children:"Once the pink line gets near the lowest blue line, your stream is likely experiencing problems for at least one of your viewers."})]})}),Ce&&(0,i.jsx)(s.Z,{message:"Low bandwidth viewers",description:Ce,type:"error",showIcon:!0}),(0,i.jsx)(Z.Z,{title:"Lowest Player Bitrate",dataCollections:ve,color:"#FF7700",unit:"kbps",yLogarithmic:!0})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Errors and Quality Changes",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.Z.Paragraph,{children:"Recent number of errors, including buffering, and quality changes from across all your viewers. Errors can occur for many reasons, including browser issues, plugins, wifi problems, and they don't all represent fatal issues or something you have control over."}),"A quality change is not necessarily a negative thing but excessive errors may indicate you might need to add additional qualities to support your viewers.",(0,i.jsx)(o.Z.Paragraph,{})]})}),(0,i.jsx)(Z.Z,{title:"#",dataCollections:ye,color:"#FF7700",unit:""})]}),(0,i.jsxs)(h.Z,{children:[(0,i.jsx)(C,{title:"Viewer Latency",description:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("p",{children:"The approximate number of seconds that your viewers are behind your live video. High latency itself is not a problem, and optimizing for low latency can result in buffering, resulting in even higher latency. The largest cause of latency spikes is buffering. Adding lower qualities for your viewers will allow those with slow networks to more comfortably play back your stream, reducing the likelihood of buffering, therefore keeping latency lower for more viewers."}),(0,i.jsx)("p",{children:'For some networks, some browsers, and some playback environments a new experimental "minimized latency mode" is available for testing in the player settings and could help lower latency for some viewers.'}),(0,i.jsx)("p",{children:"Note: Using an external S3 storage provider may add some additional latency as it requires an layer of content transfer."})]})}),(0,i.jsx)(Z.Z,{title:"Seconds",dataCollections:me,color:"#FF7700",unit:"s"})]})]})]})}}},function(e){e.O(0,[7570,1741,8091,8879,7751,4763,1080,9774,2888,179],(function(){return t=86401,e(e.s=t);var t}));var t=e.O();_N_E=t}]); \ No newline at end of file diff --git a/static/admin/access-tokens/index.html b/static/admin/access-tokens/index.html index 7fc59ea8e..3f4b4a73f 100644 --- a/static/admin/access-tokens/index.html +++ b/static/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/admin/actions/index.html b/static/admin/actions/index.html index af2a83822..121d71a79 100644 --- a/static/admin/actions/index.html +++ b/static/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/admin/chat/messages/index.html b/static/admin/chat/messages/index.html index 0561cb5d5..d80224853 100644 --- a/static/admin/chat/messages/index.html +++ b/static/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/admin/chat/users/index.html b/static/admin/chat/users/index.html index 5fb839a14..5bcf8784d 100644 --- a/static/admin/chat/users/index.html +++ b/static/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/admin/config-chat/index.html b/static/admin/config-chat/index.html index 1848643d0..d528b0429 100644 --- a/static/admin/config-chat/index.html +++ b/static/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-federation/index.html b/static/admin/config-federation/index.html index f4d88165b..3fee1e555 100644 --- a/static/admin/config-federation/index.html +++ b/static/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-notify/index.html b/static/admin/config-notify/index.html index 52d4cd14e..364b4429f 100644 --- a/static/admin/config-notify/index.html +++ b/static/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file diff --git a/static/admin/config-public-details/index.html b/static/admin/config-public-details/index.html index 33d59f660..24c17b4cf 100644 --- a/static/admin/config-public-details/index.html +++ b/static/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/admin/config-server-details/index.html b/static/admin/config-server-details/index.html index 35b9bfb17..6f6ba7c64 100644 --- a/static/admin/config-server-details/index.html +++ b/static/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/admin/config-social-items/index.html b/static/admin/config-social-items/index.html index 2cdae7a1a..a97e561df 100644 --- a/static/admin/config-social-items/index.html +++ b/static/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/admin/config-storage/index.html b/static/admin/config-storage/index.html index ae8cd8010..0e9b39a9f 100644 --- a/static/admin/config-storage/index.html +++ b/static/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/admin/config-video/index.html b/static/admin/config-video/index.html index 25bebf910..6a550bc74 100644 --- a/static/admin/config-video/index.html +++ b/static/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/admin/federation/actions/index.html b/static/admin/federation/actions/index.html index fbd715323..b59ce0478 100644 --- a/static/admin/federation/actions/index.html +++ b/static/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file diff --git a/static/admin/federation/followers/index.html b/static/admin/federation/followers/index.html index 10bf21302..d7d333b9c 100644 --- a/static/admin/federation/followers/index.html +++ b/static/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file diff --git a/static/admin/hardware-info/index.html b/static/admin/hardware-info/index.html index 267300b27..59c7eebf9 100644 --- a/static/admin/hardware-info/index.html +++ b/static/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Disk
0%
Loading...
\ No newline at end of file + a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" style="stroke:#52C41A;stroke-dasharray:0px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s">
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/admin/help/index.html b/static/admin/help/index.html index be0ec8eb5..6124fc55f 100644 --- a/static/admin/help/index.html +++ b/static/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/admin/index.html b/static/admin/index.html index b8e0beee2..5e7d3bd7f 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/admin/logs/index.html b/static/admin/logs/index.html index 5dea0b108..80e8ab022 100644 --- a/static/admin/logs/index.html +++ b/static/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/stream-health/index.html b/static/admin/stream-health/index.html index ab71ffbd5..db88e11d7 100644 --- a/static/admin/stream-health/index.html +++ b/static/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/admin/upgrade/index.html b/static/admin/upgrade/index.html index a20f34f8f..1f21220c7 100644 --- a/static/admin/upgrade/index.html +++ b/static/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/admin/viewer-info/index.html b/static/admin/viewer-info/index.html index 71f294d83..52341befd 100644 --- a/static/admin/viewer-info/index.html +++ b/static/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file diff --git a/static/admin/webhooks/index.html b/static/admin/webhooks/index.html index 6aee4ee1f..4da045c77 100644 --- a/static/admin/webhooks/index.html +++ b/static/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file From 0f4aab24a8719e3d646175ec85abf9250ef9a489 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sat, 11 Jun 2022 15:11:17 -0700 Subject: [PATCH 25/40] Tweaks for sig verify error message --- activitypub/inbox/worker.go | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/activitypub/inbox/worker.go b/activitypub/inbox/worker.go index 2d0fd9403..a427cad08 100644 --- a/activitypub/inbox/worker.go +++ b/activitypub/inbox/worker.go @@ -21,7 +21,7 @@ import ( func handle(request apmodels.InboxRequest) { if verified, err := Verify(request.Request); err != nil { - log.Debugln("Error in attempting to verify request", err) + log.Errorln("Error in attempting to verify request", err) return } else if !verified { log.Debugln("Request failed verification", err) @@ -35,6 +35,7 @@ func handle(request apmodels.InboxRequest) { // Verify will Verify the http signature of an inbound request as well as // check it against the list of blocked domains. +// nolint: cyclop func Verify(request *http.Request) (bool, error) { verifier, err := httpsig.NewVerifier(request) if err != nil { @@ -51,6 +52,10 @@ func Verify(request *http.Request) (bool, error) { } signature := request.Header.Get("signature") + if signature == "" { + return false, errors.New("http signature header not found in request") + } + var algorithmString string signatureComponents := strings.Split(signature, ",") for _, component := range signatureComponents { @@ -102,8 +107,7 @@ func Verify(request *http.Request) (bool, error) { // The verifier will verify the Digest in addition to the HTTP signature if err := verifier.Verify(parsedKey, algorithm); err != nil { - log.Warnln("verification error for", pubKeyID, err) - return false, errors.Wrap(err, "verification error: "+pubKeyID.String()) + return false, errors.Wrap(err, algorithmString+" http signature verification error for: "+pubKeyID.String()) } return true, nil From 0c64c988d566bc0f8a2d9d7a40508744f18e53f2 Mon Sep 17 00:00:00 2001 From: cr0ax <60494319+cr0ax@users.noreply.github.com> Date: Sat, 11 Jun 2022 18:04:50 -0700 Subject: [PATCH 26/40] Change .editorconfig to reflect current state of the code (#1944) Signed-off-by: Christian Burke --- .editorconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.editorconfig b/.editorconfig index 514cb5dac..d7d4d8ca7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -2,7 +2,7 @@ root = true [*] -indent_style = space +indent_style = tab indent_size = 2 tab_width = 2 end_of_line = lf From f4392a9e6f2930b6a84495059c2f312f71e6a785 Mon Sep 17 00:00:00 2001 From: cr0ax <60494319+cr0ax@users.noreply.github.com> Date: Sat, 11 Jun 2022 18:21:11 -0700 Subject: [PATCH 27/40] Use a custom http client when connecting to aws (#1945) Signed-off-by: Christian Burke --- core/storageproviders/s3Storage.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/core/storageproviders/s3Storage.go b/core/storageproviders/s3Storage.go index 269dfdecd..09d82f871 100644 --- a/core/storageproviders/s3Storage.go +++ b/core/storageproviders/s3Storage.go @@ -3,9 +3,11 @@ package storageproviders import ( "bufio" "fmt" + "net/http" "os" "path/filepath" "strings" + "time" "github.com/owncast/owncast/core/data" "github.com/owncast/owncast/core/playlist" @@ -176,6 +178,14 @@ func (s *S3Storage) Save(filePath string, retryCount int) (string, error) { } func (s *S3Storage) connectAWS() *session.Session { + t := http.DefaultTransport.(*http.Transport).Clone() + t.MaxIdleConnsPerHost = 100 + + httpClient := &http.Client{ + Timeout: 10 * time.Second, + Transport: t, + } + creds := credentials.NewStaticCredentials(s.s3AccessKey, s.s3Secret, "") _, err := creds.Get() if err != nil { @@ -184,6 +194,7 @@ func (s *S3Storage) connectAWS() *session.Session { sess, err := session.NewSession( &aws.Config{ + HTTPClient: httpClient, Region: aws.String(s.s3Region), Credentials: creds, Endpoint: aws.String(s.s3Endpoint), From 3b9ec5de55fd0f07b3672b892640bba27c2ff3e7 Mon Sep 17 00:00:00 2001 From: Owncast Date: Mon, 13 Jun 2022 13:47:15 +0000 Subject: [PATCH 28/40] Update admin to f1214a5c7c32657eb4fefe8d2384fe629bc797ca --- static/admin/404/index.html | 2 +- .../_buildManifest.js | 2 +- .../_middlewareManifest.js | 0 .../_ssgManifest.js | 0 static/admin/access-tokens/index.html | 2 +- static/admin/actions/index.html | 2 +- static/admin/chat/messages/index.html | 2 +- static/admin/chat/users/index.html | 2 +- static/admin/config-chat/index.html | 2 +- static/admin/config-federation/index.html | 2 +- static/admin/config-notify/index.html | 2 +- static/admin/config-public-details/index.html | 2 +- static/admin/config-server-details/index.html | 2 +- static/admin/config-social-items/index.html | 2 +- static/admin/config-storage/index.html | 2 +- static/admin/config-video/index.html | 2 +- static/admin/federation/actions/index.html | 2 +- static/admin/federation/followers/index.html | 2 +- static/admin/hardware-info/index.html | 4 ++-- static/admin/help/index.html | 2 +- static/admin/index.html | 2 +- static/admin/logs/index.html | 2 +- static/admin/stream-health/index.html | 2 +- static/admin/upgrade/index.html | 2 +- static/admin/viewer-info/index.html | 2 +- static/admin/webhooks/index.html | 2 +- 26 files changed, 25 insertions(+), 25 deletions(-) rename static/admin/_next/static/{DOMh6S0mpd9yCoOvLhG_c => NcsIiDDw_Nr7mWPwXCb8o}/_buildManifest.js (94%) rename static/admin/_next/static/{DOMh6S0mpd9yCoOvLhG_c => NcsIiDDw_Nr7mWPwXCb8o}/_middlewareManifest.js (100%) rename static/admin/_next/static/{DOMh6S0mpd9yCoOvLhG_c => NcsIiDDw_Nr7mWPwXCb8o}/_ssgManifest.js (100%) diff --git a/static/admin/404/index.html b/static/admin/404/index.html index 43e1c1253..3f3af68d8 100644 --- a/static/admin/404/index.html +++ b/static/admin/404/index.html @@ -1 +1 @@ -404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file diff --git a/static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_buildManifest.js b/static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_buildManifest.js similarity index 94% rename from static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_buildManifest.js rename to static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_buildManifest.js index f3bda5cf6..ac47577f4 100644 --- a/static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_buildManifest.js +++ b/static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,d,h,g,u,r,b){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,h,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-c48f3b04b9a6c7ce.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[b,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,b,"static/chunks/1556-f79a922e799c7a06.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,d,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-4fc73fe4cc2a426e.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,h,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,d,"static/chunks/pages/stream-health-4a811c8adeb950de.js"],"/upgrade":[s,c,"static/chunks/9655-722bcfb83a61ab83.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,d,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,d,h,g,u,r,k){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,h,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-c48f3b04b9a6c7ce.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[k,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,k,"static/chunks/1556-f79a922e799c7a06.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,d,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-4fc73fe4cc2a426e.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,h,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,d,"static/chunks/pages/stream-health-4a811c8adeb950de.js"],"/upgrade":[s,c,"static/chunks/9655-722bcfb83a61ab83.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,d,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_middlewareManifest.js b/static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_middlewareManifest.js similarity index 100% rename from static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_middlewareManifest.js rename to static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_middlewareManifest.js diff --git a/static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_ssgManifest.js b/static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_ssgManifest.js similarity index 100% rename from static/admin/_next/static/DOMh6S0mpd9yCoOvLhG_c/_ssgManifest.js rename to static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_ssgManifest.js diff --git a/static/admin/access-tokens/index.html b/static/admin/access-tokens/index.html index 3f4b4a73f..1600d1161 100644 --- a/static/admin/access-tokens/index.html +++ b/static/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/admin/actions/index.html b/static/admin/actions/index.html index 121d71a79..d41ded8ca 100644 --- a/static/admin/actions/index.html +++ b/static/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/admin/chat/messages/index.html b/static/admin/chat/messages/index.html index d80224853..0051be052 100644 --- a/static/admin/chat/messages/index.html +++ b/static/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/admin/chat/users/index.html b/static/admin/chat/users/index.html index 5bcf8784d..929acba73 100644 --- a/static/admin/chat/users/index.html +++ b/static/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/admin/config-chat/index.html b/static/admin/config-chat/index.html index d528b0429..f59542719 100644 --- a/static/admin/config-chat/index.html +++ b/static/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-federation/index.html b/static/admin/config-federation/index.html index 3fee1e555..569a42a01 100644 --- a/static/admin/config-federation/index.html +++ b/static/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-notify/index.html b/static/admin/config-notify/index.html index 364b4429f..8e41d7949 100644 --- a/static/admin/config-notify/index.html +++ b/static/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file diff --git a/static/admin/config-public-details/index.html b/static/admin/config-public-details/index.html index 24c17b4cf..8de9c799f 100644 --- a/static/admin/config-public-details/index.html +++ b/static/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/admin/config-server-details/index.html b/static/admin/config-server-details/index.html index 6f6ba7c64..f644b5bd3 100644 --- a/static/admin/config-server-details/index.html +++ b/static/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/admin/config-social-items/index.html b/static/admin/config-social-items/index.html index a97e561df..69c5d07ce 100644 --- a/static/admin/config-social-items/index.html +++ b/static/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/admin/config-storage/index.html b/static/admin/config-storage/index.html index 0e9b39a9f..9468fa981 100644 --- a/static/admin/config-storage/index.html +++ b/static/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/admin/config-video/index.html b/static/admin/config-video/index.html index 6a550bc74..9ee8941db 100644 --- a/static/admin/config-video/index.html +++ b/static/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/admin/federation/actions/index.html b/static/admin/federation/actions/index.html index b59ce0478..66fe5a0d3 100644 --- a/static/admin/federation/actions/index.html +++ b/static/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file diff --git a/static/admin/federation/followers/index.html b/static/admin/federation/followers/index.html index d7d333b9c..22fcd36f5 100644 --- a/static/admin/federation/followers/index.html +++ b/static/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file diff --git a/static/admin/hardware-info/index.html b/static/admin/hardware-info/index.html index 59c7eebf9..57527e9e6 100644 --- a/static/admin/hardware-info/index.html +++ b/static/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Disk
0%
Loading...
\ No newline at end of file + a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" style="stroke:#52C41A;stroke-dasharray:0px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s">
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/admin/help/index.html b/static/admin/help/index.html index 6124fc55f..339ff6693 100644 --- a/static/admin/help/index.html +++ b/static/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/admin/index.html b/static/admin/index.html index 5e7d3bd7f..0088b2994 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/admin/logs/index.html b/static/admin/logs/index.html index 80e8ab022..4fa51d522 100644 --- a/static/admin/logs/index.html +++ b/static/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/stream-health/index.html b/static/admin/stream-health/index.html index db88e11d7..2a243f217 100644 --- a/static/admin/stream-health/index.html +++ b/static/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/admin/upgrade/index.html b/static/admin/upgrade/index.html index 1f21220c7..901e58d2e 100644 --- a/static/admin/upgrade/index.html +++ b/static/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/admin/viewer-info/index.html b/static/admin/viewer-info/index.html index 52341befd..8b96da4f2 100644 --- a/static/admin/viewer-info/index.html +++ b/static/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file diff --git a/static/admin/webhooks/index.html b/static/admin/webhooks/index.html index 4da045c77..157374b71 100644 --- a/static/admin/webhooks/index.html +++ b/static/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file From 793e177501e4c3a02e2cef332ad632b2a4b0850f Mon Sep 17 00:00:00 2001 From: Owncast Date: Mon, 13 Jun 2022 20:28:09 +0000 Subject: [PATCH 29/40] Update admin to cadb926648602bf6fa760ce80ddd600a039fd845 --- static/admin/404/index.html | 2 +- .../_next/static/chunks/pages/chat/users-201d39dd28f27416.js | 1 - .../_next/static/chunks/pages/chat/users-c3f6235e6932151e.js | 1 + .../_buildManifest.js | 2 +- .../_middlewareManifest.js | 0 .../_ssgManifest.js | 0 static/admin/access-tokens/index.html | 2 +- static/admin/actions/index.html | 2 +- static/admin/chat/messages/index.html | 2 +- static/admin/chat/users/index.html | 2 +- static/admin/config-chat/index.html | 2 +- static/admin/config-federation/index.html | 2 +- static/admin/config-notify/index.html | 2 +- static/admin/config-public-details/index.html | 2 +- static/admin/config-server-details/index.html | 2 +- static/admin/config-social-items/index.html | 2 +- static/admin/config-storage/index.html | 2 +- static/admin/config-video/index.html | 2 +- static/admin/federation/actions/index.html | 2 +- static/admin/federation/followers/index.html | 2 +- static/admin/hardware-info/index.html | 4 ++-- static/admin/help/index.html | 2 +- static/admin/index.html | 2 +- static/admin/logs/index.html | 2 +- static/admin/stream-health/index.html | 2 +- static/admin/upgrade/index.html | 2 +- static/admin/viewer-info/index.html | 2 +- static/admin/webhooks/index.html | 2 +- 28 files changed, 26 insertions(+), 26 deletions(-) delete mode 100644 static/admin/_next/static/chunks/pages/chat/users-201d39dd28f27416.js create mode 100644 static/admin/_next/static/chunks/pages/chat/users-c3f6235e6932151e.js rename static/admin/_next/static/{NcsIiDDw_Nr7mWPwXCb8o => h7hU4WC0tUz8rUOsX2wuQ}/_buildManifest.js (86%) rename static/admin/_next/static/{NcsIiDDw_Nr7mWPwXCb8o => h7hU4WC0tUz8rUOsX2wuQ}/_middlewareManifest.js (100%) rename static/admin/_next/static/{NcsIiDDw_Nr7mWPwXCb8o => h7hU4WC0tUz8rUOsX2wuQ}/_ssgManifest.js (100%) diff --git a/static/admin/404/index.html b/static/admin/404/index.html index 3f3af68d8..059c8bf2f 100644 --- a/static/admin/404/index.html +++ b/static/admin/404/index.html @@ -1 +1 @@ -404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file +404: This page could not be found

What is your stream about today?

What is your stream about today?
Offline

404

This page could not be found.

\ No newline at end of file diff --git a/static/admin/_next/static/chunks/pages/chat/users-201d39dd28f27416.js b/static/admin/_next/static/chunks/pages/chat/users-201d39dd28f27416.js deleted file mode 100644 index b309813e5..000000000 --- a/static/admin/_next/static/chunks/pages/chat/users-201d39dd28f27416.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1255],{22494:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/users",function(){return t(59673)}])},59673:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return _},default:function(){return D}});var r=t(34051),a=t.n(r),s=t(85893),c=t(67294),o=t(88879),i=t(35159),d=t(58827),u=t(20643),l=t(69677),f=t(96003),h=t(68795),p=t(48483),v=t(85533),x=t(85584),m=t(66192),g=t(2766);function y(e){var n=e.data,t=[{title:"Display Name",key:"username",render:function(e){var n=e.user,t={connectedAt:e.connectedAt,messageCount:e.messageCount,userAgent:e.userAgent};return(0,s.jsx)(x.Z,{user:n,connectionInfo:t,children:(0,s.jsx)("span",{className:"display-name",children:n.displayName})})},sorter:function(e,n){return n.user.displayName.localeCompare(e.user.displayName)},filterIcon:(0,s.jsx)(h.Z,{}),filterDropdown:function(e){var n=e.setSelectedKeys,t=e.selectedKeys,r=e.confirm;return(0,s.jsx)("div",{style:{padding:8},children:(0,s.jsx)(l.Z,{placeholder:"Search display names...",value:t[0],onChange:function(e){n(e.target.value?[e.target.value]:[]),r({closeDropdown:!1})}})})},onFilter:function(e,n){return n.user.displayName.includes(e)},sortDirections:["descend","ascend"]},{title:"Messages sent",dataIndex:"messageCount",key:"messageCount",className:"number-col",width:"12%",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"],render:function(e){return(0,s.jsx)("div",{style:{textAlign:"center"},children:e})}},{title:"Connected Time",dataIndex:"connectedAt",key:"connectedAt",defaultSortOrder:"ascend",render:function(e){return(0,v.Z)(new Date(e))},sorter:function(e,n){return new Date(n.connectedAt).getTime()-new Date(e.connectedAt).getTime()},sortDirections:["descend","ascend"]},{title:"Authenticated",dataIndex:"authenticated",key:"authenticated",render:function(e){return e?(0,s.jsxs)("div",{children:["Yes ",(0,s.jsx)(p.Z,{twoToneColor:"green"})]}):"No"}},{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,g.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,s.jsx)(m.Z,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,s.jsx)(f.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})}var w=t(71577),j=t(58091),k=t(84674);function A(e,n,t,r,a,s,c){try{var o=e[s](c),i=o.value}catch(d){return void t(d)}o.done?n(i):Promise.resolve(i).then(r,a)}function b(e){return function(){var n=this,t=arguments;return new Promise((function(r,a){var s=e.apply(n,t);function c(e){A(s,r,a,c,o,"next",e)}function o(e){A(s,r,a,c,o,"throw",e)}c(void 0)}))}}function N(){return(N=b(a().mark((function e(n){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,d.rQ)(d.RB,{data:{value:n},method:"POST",auth:!0});case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})))).apply(this,arguments)}function C(e){var n=e.data,t=[{title:"IP Address",dataIndex:"ipAddress",key:"ipAddress"},{title:"Reason",dataIndex:"notes",key:"notes"},{title:"Created",dataIndex:"createdAt",key:"createdAt",render:function(e){return function(e){return(0,j.Z)(new Date(e),"MMM d H:mma")}(e)},sorter:function(e,n){return new Date(e.createdAt).getTime()-new Date(n.createdAt).getTime()},sortDirections:["descend","ascend"]},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,s.jsx)(w.Z,{title:"Remove IP Address Ban",onClick:function(){return function(e){return N.apply(this,arguments)}(n.ipAddress)},icon:(0,s.jsx)(k.Z,{twoToneColor:"#ff4d4f"}),className:"block-user-button"})}}];return(0,s.jsx)(f.Z,{pagination:{hideOnSinglePage:!0},className:"table-container",columns:t,dataSource:n,size:"large",rowKey:"ipAddress"})}function I(e,n,t,r,a,s,c){try{var o=e[s](c),i=o.value}catch(d){return void t(d)}o.done?n(i):Promise.resolve(i).then(r,a)}var Z=o.Z.TabPane,_=1e4;function D(){var e=((0,c.useContext)(i.aC)||{}).online,n=(0,c.useState)([]),t=n[0],r=n[1],l=(0,c.useState)([]),f=l[0],h=l[1],p=(0,c.useState)([]),v=p[0],x=p[1],m=(0,c.useState)([]),g=m[0],w=m[1],j=function(){var e,n=(e=a().mark((function e(){var n,t,s,c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,d.rQ)(d.qk);case 3:n=e.sent,r(n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("==== error",e.t0);case 10:return e.prev=10,e.next=13,(0,d.rQ)(d.Kp);case 13:t=e.sent,x(t),e.next=20;break;case 17:e.prev=17,e.t1=e.catch(10),console.log("==== error",e.t1);case 20:return e.prev=20,e.next=23,(0,d.rQ)(d.GC);case 23:s=e.sent,w(s),e.next=30;break;case 27:e.prev=27,e.t2=e.catch(20),console.error("error fetching moderators",e.t2);case 30:return e.prev=30,e.next=33,(0,d.rQ)(d.Bu);case 33:c=e.sent,h(c),e.next=40;break;case 37:e.prev=37,e.t3=e.catch(30),console.error("error fetching banned ips",e.t3);case 40:case"end":return e.stop()}}),e,null,[[0,7],[10,17],[20,27],[30,37]])})),function(){var n=this,t=arguments;return new Promise((function(r,a){var s=e.apply(n,t);function c(e){I(s,r,a,c,o,"next",e)}function o(e){I(s,r,a,c,o,"throw",e)}c(void 0)}))});return function(){return n.apply(this,arguments)}}();(0,c.useEffect)((function(){var e;return j(),e=setInterval(j,_),function(){clearInterval(e)}}),[e]);var k=e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y,{data:v}),(0,s.jsxs)("p",{className:"description",children:["Visit the"," ",(0,s.jsx)("a",{href:"https://owncast.online/docs/viewers/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"documentation"})," ","to configure additional details about your viewers."]})]}):(0,s.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,s.jsxs)(o.Z,{defaultActiveKey:"1",children:[(0,s.jsx)(Z,{tab:(0,s.jsxs)("span",{children:["Connected ",e?"(".concat(v.length,")"):"(offline)"]}),children:k},"1"),(0,s.jsx)(Z,{tab:(0,s.jsxs)("span",{children:["Banned Users (",t.length,")"]}),children:(0,s.jsx)(u.Z,{data:t})},"2"),(0,s.jsx)(Z,{tab:(0,s.jsxs)("span",{children:["IP Bans (",f.length,")"]}),children:(0,s.jsx)(C,{data:f})},"3"),(0,s.jsx)(Z,{tab:(0,s.jsxs)("span",{children:["Moderators (",g.length,")"]}),children:(0,s.jsx)(u.Z,{data:g})},"4")]})}}},function(e){e.O(0,[3662,1741,6003,8091,8879,5533,6489,1371,9774,2888,179],(function(){return n=22494,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/admin/_next/static/chunks/pages/chat/users-c3f6235e6932151e.js b/static/admin/_next/static/chunks/pages/chat/users-c3f6235e6932151e.js new file mode 100644 index 000000000..af4817861 --- /dev/null +++ b/static/admin/_next/static/chunks/pages/chat/users-c3f6235e6932151e.js @@ -0,0 +1 @@ +(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1255],{22494:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chat/users",function(){return t(59673)}])},59673:function(e,n,t){"use strict";t.r(n),t.d(n,{FETCH_INTERVAL:function(){return _},default:function(){return D}});var r=t(34051),a=t.n(r),s=t(85893),c=t(67294),o=t(88879),i=t(35159),u=t(58827),d=t(20643),l=t(69677),f=t(96003),h=t(68795),p=t(48483),v=t(85533),x=t(85584),m=t(66192),g=t(2766);function y(e){var n=e.data,t=[{title:"Display Name",key:"username",render:function(e){var n=e.user,t={connectedAt:e.connectedAt,messageCount:e.messageCount,userAgent:e.userAgent};return(0,s.jsx)(x.Z,{user:n,connectionInfo:t,children:(0,s.jsx)("span",{className:"display-name",children:n.displayName})})},sorter:function(e,n){return n.user.displayName.localeCompare(e.user.displayName)},filterIcon:(0,s.jsx)(h.Z,{}),filterDropdown:function(e){var n=e.setSelectedKeys,t=e.selectedKeys,r=e.confirm;return(0,s.jsx)("div",{style:{padding:8},children:(0,s.jsx)(l.Z,{placeholder:"Search display names...",value:t[0],onChange:function(e){n(e.target.value?[e.target.value]:[]),r({closeDropdown:!1})}})})},onFilter:function(e,n){return n.user.displayName.includes(e)},sortDirections:["descend","ascend"]},{title:"Messages sent",dataIndex:"messageCount",key:"messageCount",className:"number-col",width:"12%",sorter:function(e,n){return e.messageCount-n.messageCount},sortDirections:["descend","ascend"],render:function(e){return(0,s.jsx)("div",{style:{textAlign:"center"},children:e})}},{title:"Connected Time",dataIndex:"connectedAt",key:"connectedAt",defaultSortOrder:"ascend",render:function(e){return(0,v.Z)(new Date(e))},sorter:function(e,n){return new Date(n.connectedAt).getTime()-new Date(e.connectedAt).getTime()},sortDirections:["descend","ascend"]},{title:"Authenticated",key:"authenticated",render:function(e){return e.user.authenticated?(0,s.jsxs)(s.Fragment,{children:["Yes ",(0,s.jsx)(p.Z,{twoToneColor:"green"})]}):"No"}},{title:"User Agent",dataIndex:"userAgent",key:"userAgent",render:function(e){return(0,g.AB)(e)}},{title:"Location",dataIndex:"geo",key:"geo",render:function(e){return e?"".concat(e.regionName,", ").concat(e.countryCode):"-"}},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,s.jsx)(m.Z,{user:n.user,isEnabled:!n.user.disabledAt})}}];return(0,s.jsx)(f.Z,{className:"table-container",pagination:{hideOnSinglePage:!0},columns:t,dataSource:n,size:"small",rowKey:"id"})}var w=t(71577),j=t(58091),k=t(84674);function A(e,n,t,r,a,s,c){try{var o=e[s](c),i=o.value}catch(u){return void t(u)}o.done?n(i):Promise.resolve(i).then(r,a)}function b(e){return function(){var n=this,t=arguments;return new Promise((function(r,a){var s=e.apply(n,t);function c(e){A(s,r,a,c,o,"next",e)}function o(e){A(s,r,a,c,o,"throw",e)}c(void 0)}))}}function N(){return(N=b(a().mark((function e(n){return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,u.rQ)(u.RB,{data:{value:n},method:"POST",auth:!0});case 3:e.next=8;break;case 5:e.prev=5,e.t0=e.catch(0),console.error(e.t0);case 8:case"end":return e.stop()}}),e,null,[[0,5]])})))).apply(this,arguments)}function C(e){var n=e.data,t=[{title:"IP Address",dataIndex:"ipAddress",key:"ipAddress"},{title:"Reason",dataIndex:"notes",key:"notes"},{title:"Created",dataIndex:"createdAt",key:"createdAt",render:function(e){return function(e){return(0,j.Z)(new Date(e),"MMM d H:mma")}(e)},sorter:function(e,n){return new Date(e.createdAt).getTime()-new Date(n.createdAt).getTime()},sortDirections:["descend","ascend"]},{title:"",key:"block",className:"actions-col",render:function(e,n){return(0,s.jsx)(w.Z,{title:"Remove IP Address Ban",onClick:function(){return function(e){return N.apply(this,arguments)}(n.ipAddress)},icon:(0,s.jsx)(k.Z,{twoToneColor:"#ff4d4f"}),className:"block-user-button"})}}];return(0,s.jsx)(f.Z,{pagination:{hideOnSinglePage:!0},className:"table-container",columns:t,dataSource:n,size:"large",rowKey:"ipAddress"})}function I(e,n,t,r,a,s,c){try{var o=e[s](c),i=o.value}catch(u){return void t(u)}o.done?n(i):Promise.resolve(i).then(r,a)}var Z=o.Z.TabPane,_=1e4;function D(){var e=((0,c.useContext)(i.aC)||{}).online,n=(0,c.useState)([]),t=n[0],r=n[1],l=(0,c.useState)([]),f=l[0],h=l[1],p=(0,c.useState)([]),v=p[0],x=p[1],m=(0,c.useState)([]),g=m[0],w=m[1],j=function(){var e,n=(e=a().mark((function e(){var n,t,s,c;return a().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,(0,u.rQ)(u.qk);case 3:n=e.sent,r(n),e.next=10;break;case 7:e.prev=7,e.t0=e.catch(0),console.log("==== error",e.t0);case 10:return e.prev=10,e.next=13,(0,u.rQ)(u.Kp);case 13:t=e.sent,x(t),e.next=20;break;case 17:e.prev=17,e.t1=e.catch(10),console.log("==== error",e.t1);case 20:return e.prev=20,e.next=23,(0,u.rQ)(u.GC);case 23:s=e.sent,w(s),e.next=30;break;case 27:e.prev=27,e.t2=e.catch(20),console.error("error fetching moderators",e.t2);case 30:return e.prev=30,e.next=33,(0,u.rQ)(u.Bu);case 33:c=e.sent,h(c),e.next=40;break;case 37:e.prev=37,e.t3=e.catch(30),console.error("error fetching banned ips",e.t3);case 40:case"end":return e.stop()}}),e,null,[[0,7],[10,17],[20,27],[30,37]])})),function(){var n=this,t=arguments;return new Promise((function(r,a){var s=e.apply(n,t);function c(e){I(s,r,a,c,o,"next",e)}function o(e){I(s,r,a,c,o,"throw",e)}c(void 0)}))});return function(){return n.apply(this,arguments)}}();(0,c.useEffect)((function(){var e;return j(),e=setInterval(j,_),function(){clearInterval(e)}}),[e]);var k=e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y,{data:v}),(0,s.jsxs)("p",{className:"description",children:["Visit the"," ",(0,s.jsx)("a",{href:"https://owncast.online/docs/viewers/?source=admin",target:"_blank",rel:"noopener noreferrer",children:"documentation"})," ","to configure additional details about your viewers."]})]}):(0,s.jsx)("p",{className:"description",children:"When a stream is active and chat is enabled, connected chat clients will be displayed here."});return(0,s.jsxs)(o.Z,{defaultActiveKey:"1",children:[(0,s.jsx)(Z,{tab:(0,s.jsxs)("span",{children:["Connected ",e?"(".concat(v.length,")"):"(offline)"]}),children:k},"1"),(0,s.jsx)(Z,{tab:(0,s.jsxs)("span",{children:["Banned Users (",t.length,")"]}),children:(0,s.jsx)(d.Z,{data:t})},"2"),(0,s.jsx)(Z,{tab:(0,s.jsxs)("span",{children:["IP Bans (",f.length,")"]}),children:(0,s.jsx)(C,{data:f})},"3"),(0,s.jsx)(Z,{tab:(0,s.jsxs)("span",{children:["Moderators (",g.length,")"]}),children:(0,s.jsx)(d.Z,{data:g})},"4")]})}}},function(e){e.O(0,[3662,1741,6003,8091,8879,5533,6489,1371,9774,2888,179],(function(){return n=22494,e(e.s=n);var n}));var n=e.O();_N_E=n}]); \ No newline at end of file diff --git a/static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_buildManifest.js b/static/admin/_next/static/h7hU4WC0tUz8rUOsX2wuQ/_buildManifest.js similarity index 86% rename from static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_buildManifest.js rename to static/admin/_next/static/h7hU4WC0tUz8rUOsX2wuQ/_buildManifest.js index ac47577f4..5f511d0bf 100644 --- a/static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_buildManifest.js +++ b/static/admin/_next/static/h7hU4WC0tUz8rUOsX2wuQ/_buildManifest.js @@ -1 +1 @@ -self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,d,h,g,u,r,k){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,h,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-201d39dd28f27416.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-c48f3b04b9a6c7ce.js",r,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[k,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,r,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,k,"static/chunks/1556-f79a922e799c7a06.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,d,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-4fc73fe4cc2a426e.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,h,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,d,"static/chunks/pages/stream-health-4a811c8adeb950de.js"],"/upgrade":[s,c,"static/chunks/9655-722bcfb83a61ab83.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,d,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file +self.__BUILD_MANIFEST=function(s,c,a,e,t,i,f,n,o,d,h,g,u,b,r){return{__rewrites:{beforeFiles:[],afterFiles:[],fallback:[]},"/":[s,c,a,e,t,i,f,h,"static/chunks/2494-8114e9c6571377d1.js","static/chunks/pages/index-e0ac83ceaf99b5f0.js"],"/_error":["static/chunks/pages/_error-785557186902809b.js"],"/access-tokens":[s,c,a,"static/chunks/pages/access-tokens-d328b918d1f9b3d4.js"],"/actions":[s,c,"static/chunks/pages/actions-9278698db4cd1a16.js"],"/chat/messages":[g,s,c,a,f,u,"static/chunks/pages/chat/messages-0df125d8b9455827.js"],"/chat/users":[g,s,c,a,e,f,"static/chunks/6489-cea2e8971ed16ad4.js",u,"static/chunks/pages/chat/users-c3f6235e6932151e.js"],"/config-chat":["static/chunks/pages/config-chat-bacb12d23264144b.js"],"/config-federation":["static/chunks/1829-f5c4fb462b2f7e98.js","static/chunks/pages/config-federation-ea0f018fb4193b61.js"],"/config-notify":["static/chunks/pages/config-notify-10a8844dc11ca4b2.js"],"/config-public-details":[s,c,n,"static/css/e773f9ad06a56dc3.css","static/chunks/2589-c48f3b04b9a6c7ce.js",b,"static/chunks/pages/config-public-details-94ff52653eb2586e.js"],"/config-server-details":[r,"static/chunks/pages/config-server-details-cd516688accb84d3.js"],"/config-social-items":[s,c,b,"static/chunks/pages/config-social-items-42e2ed4eed8d4dd2.js"],"/config-storage":["static/chunks/5473-623385148d67cba2.js","static/chunks/pages/config-storage-5ff120c715bfdb04.js"],"/config-video":[s,c,r,"static/chunks/1556-f79a922e799c7a06.js","static/chunks/pages/config-video-32d86e0ba98dc6fe.js"],"/federation/actions":[s,c,a,"static/chunks/pages/federation/actions-7cfffddef3b58d86.js"],"/federation/followers":[s,c,a,e,"static/chunks/pages/federation/followers-d2d105c342c79f98.js"],"/hardware-info":[o,a,e,t,i,d,n,"static/chunks/pages/hardware-info-4723b20a84e4f461.js"],"/help":[e,t,"static/chunks/6132-4fc73fe4cc2a426e.js","static/chunks/pages/help-deeb1c0f667c7d75.js"],"/logs":[s,c,a,h,"static/chunks/pages/logs-df4b23b85b8ac818.js"],"/stream-health":[o,s,a,e,t,i,d,"static/chunks/pages/stream-health-4a811c8adeb950de.js"],"/upgrade":[s,c,"static/chunks/9655-722bcfb83a61ab83.js","static/chunks/pages/upgrade-6cb31f6812e79694.js"],"/viewer-info":[o,s,c,a,e,t,i,f,d,n,"static/chunks/pages/viewer-info-03fcbea265510389.js"],"/webhooks":[s,c,"static/chunks/pages/webhooks-651cb241952e0e4a.js"],sortedPages:["/","/_app","/_error","/access-tokens","/actions","/chat/messages","/chat/users","/config-chat","/config-federation","/config-notify","/config-public-details","/config-server-details","/config-social-items","/config-storage","/config-video","/federation/actions","/federation/followers","/hardware-info","/help","/logs","/stream-health","/upgrade","/viewer-info","/webhooks"]}}("static/chunks/1741-d9d648ade4ad86b9.js","static/chunks/6003-f37682e25271f05f.js","static/chunks/8091-5bc21baa6d0d3232.js","static/chunks/8879-af8bf87fdc518c08.js","static/chunks/7751-48959ec0f11e9080.js","static/chunks/4763-7fd93797a527a971.js","static/chunks/5533-096cc7dc6703128f.js","static/chunks/7910-699eb8ed3467dc00.js","static/chunks/36bcf0ca-110fd889741d5f41.js","static/chunks/1080-1a127ea7f5a8eb3d.js","static/chunks/2429-ccb4d7fa1648dd38.js","static/chunks/29107295-4a69275373f23f88.js","static/chunks/1371-f41477e42ee50603.js","static/chunks/1017-0760c7f39ffcc2a7.js","static/chunks/4578-afc9eff4fbf5ecb1.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB(); \ No newline at end of file diff --git a/static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_middlewareManifest.js b/static/admin/_next/static/h7hU4WC0tUz8rUOsX2wuQ/_middlewareManifest.js similarity index 100% rename from static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_middlewareManifest.js rename to static/admin/_next/static/h7hU4WC0tUz8rUOsX2wuQ/_middlewareManifest.js diff --git a/static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_ssgManifest.js b/static/admin/_next/static/h7hU4WC0tUz8rUOsX2wuQ/_ssgManifest.js similarity index 100% rename from static/admin/_next/static/NcsIiDDw_Nr7mWPwXCb8o/_ssgManifest.js rename to static/admin/_next/static/h7hU4WC0tUz8rUOsX2wuQ/_ssgManifest.js diff --git a/static/admin/access-tokens/index.html b/static/admin/access-tokens/index.html index 1600d1161..ac511cf6c 100644 --- a/static/admin/access-tokens/index.html +++ b/static/admin/access-tokens/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Access Tokens

Access tokens are used to allow external, 3rd party tools to perform specific actions on your Owncast server. They should be kept secure and never included in client code, instead they should be kept on a server that you control.
Read more about how to use these tokens, with examples, at our documentation.
NameTokenScopesLast Used
No Data

\ No newline at end of file diff --git a/static/admin/actions/index.html b/static/admin/actions/index.html index d41ded8ca..95b30ab18 100644 --- a/static/admin/actions/index.html +++ b/static/admin/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

External Actions

External action URLs are 3rd party UI you can display, embedded, into your Owncast page when a user clicks on a button to launch your action.
Read more about how to use actions, with examples, at our documentation.
NameDescriptionURLIconColorOpens
No Data

\ No newline at end of file diff --git a/static/admin/chat/messages/index.html b/static/admin/chat/messages/index.html index 0051be052..959ce0c34 100644 --- a/static/admin/chat/messages/index.html +++ b/static/admin/chat/messages/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Chat Messages

Manage the messages from viewers that show up on your stream.

Check multiple messages to change their visibility to:
Time
User
Message
No Data
\ No newline at end of file diff --git a/static/admin/chat/users/index.html b/static/admin/chat/users/index.html index 929acba73..bbd1c382e 100644 --- a/static/admin/chat/users/index.html +++ b/static/admin/chat/users/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

When a stream is active and chat is enabled, connected chat clients will be displayed here.

\ No newline at end of file diff --git a/static/admin/config-chat/index.html b/static/admin/config-chat/index.html index f59542719..e2c589ead 100644 --- a/static/admin/config-chat/index.html +++ b/static/admin/config-chat/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-federation/index.html b/static/admin/config-federation/index.html index 569a42a01..2ee56dae4 100644 --- a/static/admin/config-federation/index.html +++ b/static/admin/config-federation/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/config-notify/index.html b/static/admin/config-notify/index.html index 8e41d7949..1409f329e 100644 --- a/static/admin/config-notify/index.html +++ b/static/admin/config-notify/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Notifications

Let your viewers know when you go live by supporting any of the below notification channels. Learn more about live notifications.


The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

The full url to your Owncast server is required to enable social features. Must use SSL (https). Once people start following your instance you should not change this.

Browser Alerts

Viewers can opt into being notified when you go live with their browser.

Not all browsers support this.

Enable browser notifications

The text to send when you go live.

Twitter

Let your Twitter followers know each time you go live.

Enable Twitter

The text to send when you go live.

Discord

Let your Discord channel know each time you go live.

Create a webhook under Edit Channel / Integrations on your Discord channel and provide it below.

Enable Discord

The webhook assigned to your channel.

The text to send when you go live.

Fediverse Followers

Enabling Fediverse social features will alert your followers when you go live, along with other functionality.

Fediverse social features: Disabled

Configure

Custom

Build your own notifications by using custom webhooks.

Create
\ No newline at end of file diff --git a/static/admin/config-public-details/index.html b/static/admin/config-public-details/index.html index 8de9c799f..4a5593258 100644 --- a/static/admin/config-public-details/index.html +++ b/static/admin/config-public-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

General Settings

The following are displayed on your site to describe your stream and its content. Learn more.

Custom Page Content

Edit the content of your page by using simple Markdown syntax.


Customize your page styling with CSS

Customize the look and feel of your Owncast instance by overriding the CSS styles of various components on the page. Refer to the CSS & Components guide.

Please input plain CSS text, as this will be directly injected onto your page during load.


\ No newline at end of file diff --git a/static/admin/config-server-details/index.html b/static/admin/config-server-details/index.html index f644b5bd3..ce091cc98 100644 --- a/static/admin/config-server-details/index.html +++ b/static/admin/config-server-details/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Server Settings

You should change your stream key from the default and keep it safe. For most people it's likely the other settings will not need to be changed.

\ No newline at end of file diff --git a/static/admin/config-social-items/index.html b/static/admin/config-social-items/index.html index 69c5d07ce..e91b32115 100644 --- a/static/admin/config-social-items/index.html +++ b/static/admin/config-social-items/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Social Items

\ No newline at end of file diff --git a/static/admin/config-storage/index.html b/static/admin/config-storage/index.html index 9468fa981..7f2a3c273 100644 --- a/static/admin/config-storage/index.html +++ b/static/admin/config-storage/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Storage

Owncast supports optionally using external storage providers to stream your video. Learn more about this by visiting our Storage Documentation.

Configuring this incorrectly will likely cause your video to be unplayable. Double check the documentation for your storage provider on how to configure the bucket you created for Owncast.

Keep in mind this is for live streaming, not for archival, recording or VOD purposes.

\ No newline at end of file diff --git a/static/admin/config-video/index.html b/static/admin/config-video/index.html index 9ee8941db..219dc8a7f 100644 --- a/static/admin/config-video/index.html +++ b/static/admin/config-video/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Video configuration

Before changing your video configuration visit the video documentation to learn how it impacts your stream performance. The general rule is to start conservatively by having one middle quality stream output variant and experiment with adding more of varied qualities.

Stream output

NameVideo bitrateCPU Usage
No name800 kbpsMedium

Latency Buffer

While it's natural to want to keep your latency as low as possible, you may experience reduced error tolerance and stability the lower you go. The lowest setting is not recommended.

For interactive live streams you may want to experiment with a lower latency, for non-interactive broadcasts you may want to increase it. Read to learn more.

LowestHighest

\ No newline at end of file diff --git a/static/admin/federation/actions/index.html b/static/admin/federation/actions/index.html index 66fe5a0d3..d58628898 100644 --- a/static/admin/federation/actions/index.html +++ b/static/admin/federation/actions/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Fediverse Actions

Below is a list of actions that were taken by others in response to your posts as well as people who requested to follow you.
ActionFromWhen
No Data
\ No newline at end of file diff --git a/static/admin/federation/followers/index.html b/static/admin/federation/followers/index.html index 22fcd36f5..e61209443 100644 --- a/static/admin/federation/followers/index.html +++ b/static/admin/federation/followers/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

The following accounts get notified when you go live or send a post.

NameURL
Added
Remove
No Data
\ No newline at end of file diff --git a/static/admin/hardware-info/index.html b/static/admin/hardware-info/index.html index 57527e9e6..6197659ab 100644 --- a/static/admin/hardware-info/index.html +++ b/static/admin/hardware-info/index.html @@ -1,4 +1,4 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Hardware Info


Disk
0%
Loading...
\ No newline at end of file + a 47,47 0 1 1 0,94" stroke="" stroke-linecap="round" stroke-width="6" opacity="0" fill-opacity="0" style="stroke:#52C41A;stroke-dasharray:0px 295.3097094374406px;stroke-dashoffset:-37.5px;transition:stroke-dashoffset .3s ease 0s, stroke-dasharray .3s ease 0s, stroke .3s, stroke-width .06s ease .3s, opacity .3s ease 0s">
Disk
0%
Loading...
\ No newline at end of file diff --git a/static/admin/help/index.html b/static/admin/help/index.html index 339ff6693..8c2b3347a 100644 --- a/static/admin/help/index.html +++ b/static/admin/help/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

How can we help you?

Troubleshooting

Fix your problems

Documentation

Read the Docs

Common tasks

I want to configure my owncast instance
Help configuring my broadcasting software
I want to embed my stream into another site
I want to customize my website
I want to tweak my video output
I want to use an external storage provider

Other

I found a bug
If you found a bug, then please let us know
I have a general question
Most general questions are answered in our FAQ or exist in our discussions
I want to build add-ons for Owncast
You can build your own bots, overlays, tools and add-ons with our developer APIs. 
\ No newline at end of file diff --git a/static/admin/index.html b/static/admin/index.html index 0088b2994..f8874fc1f 100644 --- a/static/admin/index.html +++ b/static/admin/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

No stream is active

You should start one.

Use your broadcasting software
Chat is disabled
Chat will continue to be disabled until you begin a live stream.
Find an audience on the Owncast Directory
List yourself in the Owncast Directory and show off your stream. Enable it in settings.
fediverse
Add your Owncast instance to the Fediverse
Enable Owncast social features to have your instance join the Fediverse, allowing people to follow, share and engage with your live stream.

News & Updates from Owncast

\ No newline at end of file diff --git a/static/admin/logs/index.html b/static/admin/logs/index.html index 4fa51d522..eb23e25a5 100644 --- a/static/admin/logs/index.html +++ b/static/admin/logs/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline
\ No newline at end of file diff --git a/static/admin/stream-health/index.html b/static/admin/stream-health/index.html index 2a243f217..ee4538044 100644 --- a/static/admin/stream-health/index.html +++ b/static/admin/stream-health/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Stream Performance

\ No newline at end of file diff --git a/static/admin/upgrade/index.html b/static/admin/upgrade/index.html index 901e58d2e..abc41dd42 100644 --- a/static/admin/upgrade/index.html +++ b/static/admin/upgrade/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Thu Jan 01 1970

Downloads

NameSize
No Data
\ No newline at end of file diff --git a/static/admin/viewer-info/index.html b/static/admin/viewer-info/index.html index 8b96da4f2..0c0c15329 100644 --- a/static/admin/viewer-info/index.html +++ b/static/admin/viewer-info/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Viewer Info


Max viewers last stream
0
All-time max viewers
0
User AgentLocation
Watch Time
No Data
\ No newline at end of file diff --git a/static/admin/webhooks/index.html b/static/admin/webhooks/index.html index 157374b71..de7a5bb69 100644 --- a/static/admin/webhooks/index.html +++ b/static/admin/webhooks/index.html @@ -1 +1 @@ -Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file +Owncast Admin

What is your stream about today?

What is your stream about today?
Offline

Webhooks

A webhook is a callback made to an external API in response to an event that takes place within Owncast. This can be used to build chat bots or sending automatic notifications that you've started streaming.
Read more about how to use webhooks, with examples, at our documentation.
URLEvents
No Data

\ No newline at end of file From ee118e905c41320e78cda854be94d517e415321d Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Mon, 13 Jun 2022 13:27:24 -0700 Subject: [PATCH 30/40] Add Prometheus endpoint to OpenAPI spec --- openapi.yaml | 40 ++++++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 14 deletions(-) diff --git a/openapi.yaml b/openapi.yaml index c82c4ef29..d94ec809d 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1,8 +1,8 @@ openapi: 3.0.1 info: title: Owncast - description: Owncast is a self-hosted live video and web chat server for use with existing popular broadcasting software. The following APIs represent the state in the development branch. - version: '0.0.11' + description: Owncast is a self-hosted live video and web chat server for use with existing popular broadcasting software. + version: '0.0.12' contact: name: Gabe Kangas email: gabek@real-ity.com @@ -334,7 +334,12 @@ components: example: https://mastodon.cloud/users/gabektest type: type: string - enum: [FEDIVERSE_ENGAGEMENT_FOLLOW, FEDIVERSE_ENGAGEMENT_LIKE, FEDIVERSE_ENGAGEMENT_REPOST] + enum: + [ + FEDIVERSE_ENGAGEMENT_FOLLOW, + FEDIVERSE_ENGAGEMENT_LIKE, + FEDIVERSE_ENGAGEMENT_REPOST, + ] securitySchemes: AdminBasicAuth: @@ -1439,7 +1444,7 @@ paths: /api/admin/config/federation/enable: post: summary: Enable or disable federated social features. - tags: ["Admin"] + tags: ['Admin'] security: - AdminBasicAuth: [] responses: @@ -1451,11 +1456,10 @@ paths: schema: $ref: '#/components/schemas/BooleanValue' - /api/admin/config/federation/private: post: summary: Enable or disable private federation mode. - tags: ["Admin"] + tags: ['Admin'] security: - AdminBasicAuth: [] responses: @@ -1467,11 +1471,10 @@ paths: schema: $ref: '#/components/schemas/BooleanValue' - /api/admin/config/federation/showengagement: post: summary: Enable or disable Federation activity showing in chat. - tags: ["Admin"] + tags: ['Admin'] security: - AdminBasicAuth: [] responses: @@ -1486,7 +1489,7 @@ paths: /api/admin/config/federation/username: post: summary: Set the username you are seen as on the fediverse. - tags: ["Admin"] + tags: ['Admin'] security: - AdminBasicAuth: [] responses: @@ -1501,7 +1504,7 @@ paths: /api/admin/config/federation/livemessage: post: summary: Set the message sent to the fediverse when this instance goes live. - tags: ["Admin"] + tags: ['Admin'] security: - AdminBasicAuth: [] responses: @@ -1516,7 +1519,7 @@ paths: /api/admin/config/federation/blockdomains: post: summary: Save a collection of domains that should be ignored on the fediverse. - tags: ["Admin"] + tags: ['Admin'] security: - AdminBasicAuth: [] responses: @@ -1535,7 +1538,7 @@ paths: /api/admin/federation/send: post: summary: Manually send a message to the fediverse from this instance. - tags: ["Admin"] + tags: ['Admin'] security: - AdminBasicAuth: [] responses: @@ -1552,7 +1555,7 @@ paths: /api/admin/federation/actions: get: summary: Get a list of accepted actions that took place on the Fediverse. - tags: ["Admin"] + tags: ['Admin'] security: - AdminBasicAuth: [] responses: @@ -1565,7 +1568,6 @@ paths: items: $ref: '#/components/schemas/FederatedAction' - /api/integrations/streamtitle: post: summary: Set the stream title. @@ -2126,3 +2128,13 @@ paths: '200': description: The list of default names have been updated. $ref: '#/components/responses/BasicResponse' + + /api/admin/prometheus: + get: + tags: ['Admin'] + security: + - AdminBasicAuth: [] + summary: Return Prometheus-compatible scraper metrics. + responses: + '200': + description: Prometheus-compatible scraper values. From 40d4d71af2e2216a319d950fa23d030f09e2d6ff Mon Sep 17 00:00:00 2001 From: Owncast Date: Mon, 13 Jun 2022 20:34:48 +0000 Subject: [PATCH 31/40] Commit updated API documentation --- docs/api/index.html | 1973 ++++++++++++++++++++++--------------------- 1 file changed, 989 insertions(+), 984 deletions(-) diff --git a/docs/api/index.html b/docs/api/index.html index 263c2c20d..5f7ee1bd6 100644 --- a/docs/api/index.html +++ b/docs/api/index.html @@ -13,21 +13,27 @@ } -

Owncast (0.0.11)

Download OpenAPI specification:Download

Owncast is a self-hosted live video and web chat server for use with existing popular broadcasting software. The following APIs represent the state in the development branch.

-

Authentication

AdminBasicAuth

The username for admin basic auth is admin and the password is the stream key.

-
Security Scheme Type HTTP
HTTP Authorization Scheme basic

AccessToken

3rd party integration auth where a service user must provide an access token.

-
Security Scheme Type HTTP
HTTP Authorization Scheme bearer

UserToken

A standard user must provide a valid access token.

-
Security Scheme Type API Key
Query parameter name: accessToken

ModeratorUserToken

A moderator user must provide a valid access token.

-
Security Scheme Type API Key
Query parameter name: accessToken

Admin

Admin operations requiring authentication.

-

Server status and broadcaster

Authorizations:

Responses

Response samples

Content type
application/json
{
  • "broadcaster": {
    },
  • "online": true,
  • "viewerCount": 3,
  • "overallPeakViewerCount": 4,
  • "sessionPeakViewerCount": 4,
  • "versionNumber": "0.0.3"
}

Disconnect Broadcaster

Disconnect the active inbound stream, if one exists, and terminate the broadcast.

-
Authorizations:

Responses

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Reset your YP registration key.

Used when there is a problem with your registration to the Owncast Directory via the YP APIs. This will reset your local registration key.

-
Authorizations:

Responses

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Return a list of currently connected clients

Return a list of currently connected clients with optional geo details.

-
Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Return a list of currently connected clients

Return a list of currently connected clients with optional geo details.

-
Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Return recent log entries

Returns server logs.

-
Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Return recent warning and error logs.

Return recent warning and error logs.

-
Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Server Configuration

Get the current configuration of the Owncast server.

-
Authorizations:

Responses

Response samples

Content type
application/json
{
  • "instanceDetails": {
    },
  • "ffmpegPath": "string",
  • "webServerPort": 0,
  • "rtmpServerPort": 0,
  • "s3": {
    },
  • "videoSettings": {
    },
  • "yp": {
    }
}

Chat messages, unfiltered.

Get a list of all chat messages with no filters applied.

-
Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update the visibility of chat messages.

Pass an array of IDs you want to change the chat visibility of.

-
Authorizations:
Request Body schema: application/json
visible
boolean

Are these messages visible.

-
idArray
Array of strings

Responses

Request samples

Content type
application/json
{
  • "visible": true,
  • "idArray": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Enable or disable a single user.

Enable or disable a single user. Disabling will also hide all the user's chat messages.

-
Authorizations:
Request Body schema: application/json
userId
string

User ID to act upon.

-
enabled
boolean

Set the enabled state of this user.

-

Responses

Request samples

Content type
application/json
{
  • "userId": "yklw5Imng",
  • "enabled": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the stream key.

Set the stream key. Also used as the admin password.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the custom page content.

Set the custom page content using markdown.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
"# Welcome to my cool server!<br><br>I _hope_ you enjoy it."

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the stream title.

Set the title of the currently streaming content.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "Streaming my favorite game, Desert Bus."
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the server name.

Set the name associated with your server. Often is your name, username or identity.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the server summary.

Set the summary of your server's streaming content.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "The best in Desert Bus Streaming"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the server logo.

Set the logo for your server. Path is relative to webroot.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "/img/mylogo.png"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the server tags.

Set the tags displayed for your server and the categories you can show up in on the directory.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the ffmpeg binary path

Set the path for a specific copy of ffmpeg on your system.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "/home/owncast/ffmpeg"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the owncast web port.

Set the port the owncast web server should listen on.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": 8080
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the inbound rtmp server port.

Set the port where owncast service will listen for inbound broadcasts.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": 1935
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Mark if your stream is not safe for work

Mark if your stream can be consitered not safe for work. Used in different contexts, including the directory for filtering purposes.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": false
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set if this server supports the Owncast directory.

If set to true the server will attempt to register itself with the Owncast Directory. Off by default.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the public url of this owncast server.

Set the public url of this owncast server. Used for the directory and optional integrations.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the latency level for the stream.

Sets the latency level that determines how much video is buffered between the server and viewer. Less latency can end up with more buffering.

-
Authorizations:
Request Body schema: application/json
value
integer

The latency level

-

Responses

Request samples

Content type
application/json
{
  • "value": 4
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the configuration of your stream output.

Sets the detailed configuration for all of the stream variants you support.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the video codec.

Sets the specific video codec that will be used for video encoding. Some codecs will support hardware acceleration. Not all codecs will be supported for all systems.

-
Authorizations:
Request Body schema: application/json
value
string

The video codec to change to.

-

Responses

Request samples

Content type
application/json
{
  • "value": "libx264"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set your storage configration.

Sets your S3 storage provider configuration details to enable external storage.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": {
    }
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set your social handles.

Sets the external links to social networks and profiles.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Custom CSS styles to be used in the web front endpoints.

Save a string containing CSS to be inserted in to the web frontend page.

-
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "body { color: orange; background: black; }"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Viewers Over Time

Get the tracked viewer count over the collected period.

-
Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Hardware Stats

Get the CPU, Memory and Disk utilization levels over the collected period.

-
Authorizations:

Responses

Response samples

Content type
application/json
{
  • "cpu": [
    ],
  • "memory": [
    ],
  • "disk": [
    ]
}

Enable or disable federated social features.

Authorizations:
Request Body schema: application/json
value
boolean

Responses

Request samples

Content type
application/json
{
  • "value": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Enable or disable private federation mode.

Authorizations:
Request Body schema: application/json
value
boolean

Responses

Request samples

Content type
application/json
{
  • "value": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Enable or disable Federation activity showing in chat.

Authorizations:
Request Body schema: application/json
value
boolean

Responses

Request samples

Content type
application/json
{
  • "value": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the username you are seen as on the fediverse.

Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the message sent to the fediverse when this instance goes live.

Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Save a collection of domains that should be ignored on the fediverse.

Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Manually send a message to the fediverse from this instance.

Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "I'm still streaming, you should come visit."
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Get a list of accepted actions that took place on the Fediverse.

Authorizations:

Responses

Response samples

Content type
application/json
[]

Return all webhooks.

Return all of the configured webhooks for external events.

-
Authorizations:

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "url": "string",
  • "events": [
    ],
  • "timestamp": "2019-08-24T14:15:22Z",
  • "lastUsed": "2019-08-24T14:15:22Z"
}

Set external action URLs.

Set a collection of external action URLs that are displayed in the UI.

-
Authorizations:
Request Body schema: application/json
Array
url
string

URL of the external action content.

-
title
string

The title to put on the external action button.

-
description
string

Optional additional description to display in the UI.

-
icon
string

The URL to an image to place on the external action button.

-
color
string

Optional color to use for drawing the action button.

-
openExternally
boolean

If set this action will open in a new browser tab instead of an internal modal.

-

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Delete a single webhook.

Delete a single webhook by its ID.

-
Authorizations:
Request Body schema: application/json
id
string

The webhook id to delete

-

Responses

Request samples

Content type
application/json
{
  • "id": "string"
}

Create a webhook.

Create a single webhook that acts on the requested events.

-
Authorizations:
Request Body schema: application/json
url
string

The url to post the events to.

-
events
Array of strings

The events to be notified about.

-

Responses

Request samples

Content type
application/json
{
  • "url": "string",
  • "events": [
    ]
}

Response samples

Content type
application/json
{
  • "name": "your new token",
  • "token": "zG2xO-mHTFnelCp5xaIkYEFWcPhoOswOSRmFC1BkI="
}

Set moderator priviledges on a chat users.

Give a chat user ID and be able to grant or remove moderator priviledges to this user.

-
Authorizations:
Request Body schema: application/json
userId
string

User ID of the chat user you want to change moderation status of.

-
isModerator
boolean

The moderator status of this user.

-

Responses

Request samples

Content type
application/json
{
  • "userId": "xJ84_48Ghj",
  • "isModerator": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Get a list of chat moderator users.

Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get the followers of this instance

Authorizations:

Responses

Response samples

Content type
application/json
[]

Get a list of follow requests that are pending.

Authorizations:

Responses

Get a list of follow requests that have been blocked/rejected.

Authorizations:

Responses

Approve a pending follow request.

Authorizations:
Request Body schema: application/json
actorIRI
string

The requestor's remote IRI used to identify the user.

-

Responses

Request samples

Content type
application/json
{
  • "actorIRI": "string"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

A list of names to select from randomly for new chat users.

Authorizations:
Request Body schema: application/json
value
Array of strings

Responses

Request samples

Content type
application/json
{
  • "value": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Chat

Endpoints related to the chat interface.

-

Register a chat user

Register a user that returns an access token for accessing chat.

-
Authorizations:
Request Body schema: application/json
displayName
string

Optionally provide a display name you want to assign to this user when registering.

-

Responses

Request samples

Content type
application/json
{
  • "displayName": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "accessToken": "string",
  • "displayName": "string"
}

Chat Messages Backlog

Used to get chat messages prior to connecting to the websocket.

-
Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get Custom Emoji

Get a list of custom emoji that are supported in chat.

-

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Integrations

APIs built to allow 3rd parties to interact with an Owncast server.

-

Set the stream title.

Set the title of the currently streaming content.

-
Authorizations:
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "Streaming my favorite game, Desert Bus."
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Send a chat message.

Send a chat message on behalf of a 3rd party integration, bot or service.

-
Authorizations:
Request Body schema: application/json
body
string

The message text that will be sent as the user.

-

Responses

Request samples

Content type
application/json
{
  • "body": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "sent"
}

Send a system chat message.

Send a chat message on behalf of the system/server.

-
Authorizations:
Request Body schema: application/json
body
string

The message text that will be sent as the system user.

-

Responses

Request samples

Content type
application/json
{
  • "body": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "sent"
}

Send a chat action.

Send an action that took place to the chat.

-
Authorizations:
Request Body schema: application/json
body
required
string

The message text that will be sent as the system user.

-
author
string

An optional user name that performed the action.

-

Responses

Request samples

Content type
application/json
{
  • "body": "rolled a 15 on the dice",
  • "author": "JohnSmith"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "sent"
}

Send system chat message to a client, identified by its ClientId

Send a chat message on behalf of the system/server to a single client.

-
Authorizations:
path Parameters
clientId
required
integer <int64>

Client ID (a unique numeric Id, identifying the client connection)

-
Request Body schema: application/json
body
required
string

The message text that will be sent to the client.

-

Responses

Request samples

Content type
application/json
{
  • "body": "What a beautiful day. I love it"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "messages": "sent"
}

Create an access token.

Create a single access token that has access to the access scopes provided.

-
Authorizations:
Request Body schema: application/json
name
string

The human-readable name to give this access token.

-
scopes
Array of strings

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "scopes": [
    ]
}

Response samples

Content type
application/json
{
  • "name": "your new token",
  • "token": "zG2xO-mHTFnelCp5xaIkYEFWcPhoOswOSRmFC1BkI="
}

Delete an access token.

Delete a single access token.

-
Authorizations:
Request Body schema: application/json
token
string

The token to delete

-

Responses

Request samples

Content type
application/json
{
  • "token": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "deleted token"
}

Return all access tokens.

Return all of the available access tokens.

-
Authorizations:

Responses

Response samples

Content type
application/json
[
  • "string"
]

Set external action URLs.

Set a collection of external action URLs that are displayed in the UI.

-
Authorizations:
Request Body schema: application/json
Array
url
string

URL of the external action content.

-
title
string

The title to put on the external action button.

-
description
string

Optional additional description to display in the UI.

-
icon
string

The URL to an image to place on the external action button.

-
color
string

Optional color to use for drawing the action button.

-
openExternally
boolean

If set this action will open in a new browser tab instead of an internal modal.

-

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Return a list of currently connected clients

Return a list of currently connected clients with optional geo details.

-
Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Historical Chat Messages

Used to get the backlog of chat messages.

-
Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update the visibility of chat messages.

Pass an array of IDs you want to change the chat visibility of.

-
Authorizations:
Request Body schema: application/json
visible
boolean

Are these messages visible.

-
idArray
Array of strings

Responses

Request samples

Content type
application/json
{
  • "visible": true,
  • "idArray": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Moderation

Chat-related actions that can take place by a moderator.

-

Update the visibility of chat messages.

Pass an array of IDs you want to change the chat visibility of.

-
Authorizations:
Request Body schema: application/json
visible
boolean

Are these messages visible.

-
idArray
Array of strings

Responses

Request samples

Content type
application/json
{
  • "visible": true,
  • "idArray": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Disable (block) or re-enable a chat user.

Authorizations:
Request Body schema: application/json
userId
string

User ID of the chat user you're changing.

-
enabled
boolean

State of this user. False to block/disable.

-

Responses

Request samples

Content type
application/json
{
  • "userId": "string",
  • "enabled": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set moderator priviledges on a chat users.

Give a chat user ID and be able to grant or remove moderator priviledges to this user.

-
Authorizations:
Request Body schema: application/json
userId
string

User ID of the chat user you want to change moderation status of.

-
isModerator
boolean

The moderator status of this user.

-

Responses

Request samples

Content type
application/json
{
  • "userId": "xJ84_48Ghj",
  • "isModerator": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Get a list of chat moderator users.

Authorizations:

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Server

Information

The client configuration. Information useful for the user interface.

-

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "summary": "string",
  • "logo": "string",
  • "tags": [
    ],
  • "socialHandles": [],
  • "extraPageContent": "<p>This page is <strong>super</strong> cool!",
  • "version": "Owncast v0.0.3-macOS (ef3796a033b32a312ebf5b334851cbf9959e7ecb)"
}

Mark the current viewer as active.

For tracking viewer count, periodically hit the ping endpoint.

-

Responses

Current Status

This endpoint is used to discover when a server is broadcasting, the number of active viewers as well as other useful information for updating the user interface.

-

Responses

Response samples

Content type
application/json
{
  • "lastConnectTime": "2020-10-03T21:36:22-05:00",
  • "lastDisconnectTime": null,
  • "online": true,
  • "overallMaxViewerCount": 420,
  • "sessionMaxViewerCount": 12,
  • "viewerCount": 7
}

Yellow Pages Information

Information to be used in the Yellow Pages service, a global directory of Owncast servers.

-

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "description": "string",
  • "logo": "string",
  • "nsfw": true,
  • "tags": [
    ],
  • "online": true,
  • "viewerCount": 0,
  • "overallMaxViewerCount": 0,
  • "sessionMaxViewerCount": 0,
  • "lastConnectTime": "2019-08-24T14:15:22Z"
}

Get the public followers of this instance

Responses

Response samples

Content type
application/json
[]

Return the information needed to redirect a user to a fediverse server to perform a remote follow action.

Request Body schema: application/json
account
string

The fediverse username@server.tld account that wants to perform the remote follow action.

-

Responses

Request samples

Content type
application/json
{
  • "account": "johnsmith@fediverse.biz"
}

Response samples

Content type
application/json
+ " fill="currentColor">

Owncast (0.0.12)

Download OpenAPI specification:Download

Owncast is a self-hosted live video and web chat server for use with existing popular broadcasting software.

+

Admin

Admin operations requiring authentication.

+

Server status and broadcaster

Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
{
  • "broadcaster": {
    },
  • "online": true,
  • "viewerCount": 3,
  • "overallPeakViewerCount": 4,
  • "sessionPeakViewerCount": 4,
  • "versionNumber": "0.0.3"
}

Disconnect Broadcaster

Disconnect the active inbound stream, if one exists, and terminate the broadcast.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Reset your YP registration key.

Used when there is a problem with your registration to the Owncast Directory via the YP APIs. This will reset your local registration key.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Return a list of currently connected clients

Return a list of currently connected clients with optional geo details.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Return a list of currently connected clients

Return a list of currently connected clients with optional geo details.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Return recent log entries

Returns server logs.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Return recent warning and error logs.

Return recent warning and error logs.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    },
  • {
    }
]

Server Configuration

Get the current configuration of the Owncast server.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
{
  • "instanceDetails": {
    },
  • "ffmpegPath": "string",
  • "webServerPort": 0,
  • "rtmpServerPort": 0,
  • "s3": {
    },
  • "videoSettings": {
    },
  • "yp": {
    }
}

Chat messages, unfiltered.

Get a list of all chat messages with no filters applied.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update the visibility of chat messages.

Pass an array of IDs you want to change the chat visibility of.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
visible
boolean

Are these messages visible.

+
idArray
Array of strings

Responses

Request samples

Content type
application/json
{
  • "visible": true,
  • "idArray": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Enable or disable a single user.

Enable or disable a single user. Disabling will also hide all the user's chat messages.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
userId
string

User ID to act upon.

+
enabled
boolean

Set the enabled state of this user.

+

Responses

Request samples

Content type
application/json
{
  • "userId": "yklw5Imng",
  • "enabled": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the stream key.

Set the stream key. Also used as the admin password.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the custom page content.

Set the custom page content using markdown.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
"# Welcome to my cool server!<br><br>I _hope_ you enjoy it."

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the stream title.

Set the title of the currently streaming content.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "Streaming my favorite game, Desert Bus."
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the server name.

Set the name associated with your server. Often is your name, username or identity.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the server summary.

Set the summary of your server's streaming content.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "The best in Desert Bus Streaming"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the server logo.

Set the logo for your server. Path is relative to webroot.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "/img/mylogo.png"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the server tags.

Set the tags displayed for your server and the categories you can show up in on the directory.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the ffmpeg binary path

Set the path for a specific copy of ffmpeg on your system.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "/home/owncast/ffmpeg"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the owncast web port.

Set the port the owncast web server should listen on.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": 8080
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the inbound rtmp server port.

Set the port where owncast service will listen for inbound broadcasts.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": 1935
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Mark if your stream is not safe for work

Mark if your stream can be consitered not safe for work. Used in different contexts, including the directory for filtering purposes.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": false
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set if this server supports the Owncast directory.

If set to true the server will attempt to register itself with the Owncast Directory. Off by default.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the public url of this owncast server.

Set the public url of this owncast server. Used for the directory and optional integrations.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the latency level for the stream.

Sets the latency level that determines how much video is buffered between the server and viewer. Less latency can end up with more buffering.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
value
integer

The latency level

+

Responses

Request samples

Content type
application/json
{
  • "value": 4
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the configuration of your stream output.

Sets the detailed configuration for all of the stream variants you support.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the video codec.

Sets the specific video codec that will be used for video encoding. Some codecs will support hardware acceleration. Not all codecs will be supported for all systems.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
value
string

The video codec to change to.

+

Responses

Request samples

Content type
application/json
{
  • "value": "libx264"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set your storage configration.

Sets your S3 storage provider configuration details to enable external storage.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": {
    }
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set your social handles.

Sets the external links to social networks and profiles.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Custom CSS styles to be used in the web front endpoints.

Save a string containing CSS to be inserted in to the web frontend page.

+
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "body { color: orange; background: black; }"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Viewers Over Time

Get the tracked viewer count over the collected period.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[
  • {
    },
  • {
    }
]

Hardware Stats

Get the CPU, Memory and Disk utilization levels over the collected period.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
{
  • "cpu": [
    ],
  • "memory": [
    ],
  • "disk": [
    ]
}

Enable or disable federated social features.

Authorizations:
AdminBasicAuth
Request Body schema: application/json
value
boolean

Responses

Request samples

Content type
application/json
{
  • "value": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Enable or disable private federation mode.

Authorizations:
AdminBasicAuth
Request Body schema: application/json
value
boolean

Responses

Request samples

Content type
application/json
{
  • "value": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Enable or disable Federation activity showing in chat.

Authorizations:
AdminBasicAuth
Request Body schema: application/json
value
boolean

Responses

Request samples

Content type
application/json
{
  • "value": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the username you are seen as on the fediverse.

Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set the message sent to the fediverse when this instance goes live.

Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "string"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Save a collection of domains that should be ignored on the fediverse.

Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Manually send a message to the fediverse from this instance.

Authorizations:
AdminBasicAuth
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "I'm still streaming, you should come visit."
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Get a list of accepted actions that took place on the Fediverse.

Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[]

Return all webhooks.

Return all of the configured webhooks for external events.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
{
  • "id": "string",
  • "url": "string",
  • "events": [
    ],
  • "timestamp": "2019-08-24T14:15:22Z",
  • "lastUsed": "2019-08-24T14:15:22Z"
}

Set external action URLs.

Set a collection of external action URLs that are displayed in the UI.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
Array
url
string

URL of the external action content.

+
title
string

The title to put on the external action button.

+
description
string

Optional additional description to display in the UI.

+
icon
string

The URL to an image to place on the external action button.

+
color
string

Optional color to use for drawing the action button.

+
openExternally
boolean

If set this action will open in a new browser tab instead of an internal modal.

+

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Delete a single webhook.

Delete a single webhook by its ID.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
id
string

The webhook id to delete

+

Responses

Request samples

Content type
application/json
{
  • "id": "string"
}

Create a webhook.

Create a single webhook that acts on the requested events.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
url
string

The url to post the events to.

+
events
Array of strings

The events to be notified about.

+

Responses

Request samples

Content type
application/json
{
  • "url": "string",
  • "events": [
    ]
}

Response samples

Content type
application/json
{
  • "name": "your new token",
  • "token": "zG2xO-mHTFnelCp5xaIkYEFWcPhoOswOSRmFC1BkI="
}

Set moderator priviledges on a chat users.

Give a chat user ID and be able to grant or remove moderator priviledges to this user.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
userId
string

User ID of the chat user you want to change moderation status of.

+
isModerator
boolean

The moderator status of this user.

+

Responses

Request samples

Content type
application/json
{
  • "userId": "xJ84_48Ghj",
  • "isModerator": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Get a list of chat moderator users.

Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get the followers of this instance

Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[]

Get a list of follow requests that are pending.

Authorizations:
AdminBasicAuth

Responses

Get a list of follow requests that have been blocked/rejected.

Authorizations:
AdminBasicAuth

Responses

Approve a pending follow request.

Authorizations:
AdminBasicAuth
Request Body schema: application/json
actorIRI
string

The requestor's remote IRI used to identify the user.

+

Responses

Request samples

Content type
application/json
{
  • "actorIRI": "string"
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

A list of names to select from randomly for new chat users.

Authorizations:
AdminBasicAuth
Request Body schema: application/json
value
Array of strings

Responses

Request samples

Content type
application/json
{
  • "value": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Return Prometheus-compatible scraper metrics.

Authorizations:
AdminBasicAuth

Responses

Chat

Endpoints related to the chat interface.

+

Register a chat user

Register a user that returns an access token for accessing chat.

+
Authorizations:
UserToken
Request Body schema: application/json
displayName
string

Optionally provide a display name you want to assign to this user when registering.

+

Responses

Request samples

Content type
application/json
{
  • "displayName": "string"
}

Response samples

Content type
application/json
{
  • "id": "string",
  • "accessToken": "string",
  • "displayName": "string"
}

Chat Messages Backlog

Used to get chat messages prior to connecting to the websocket.

+
Authorizations:
UserToken

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Get Custom Emoji

Get a list of custom emoji that are supported in chat.

+

Responses

Response samples

Content type
application/json
{
  • "items": [
    ]
}

Integrations

APIs built to allow 3rd parties to interact with an Owncast server.

+

Set the stream title.

Set the title of the currently streaming content.

+
Authorizations:
AccessToken
Request Body schema: application/json
string or integer or object or boolean

Responses

Request samples

Content type
application/json
{
  • "value": "Streaming my favorite game, Desert Bus."
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Send a chat message.

Send a chat message on behalf of a 3rd party integration, bot or service.

+
Authorizations:
AccessToken
Request Body schema: application/json
body
string

The message text that will be sent as the user.

+

Responses

Request samples

Content type
application/json
{
  • "body": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "sent"
}

Send a system chat message.

Send a chat message on behalf of the system/server.

+
Authorizations:
AccessToken
Request Body schema: application/json
body
string

The message text that will be sent as the system user.

+

Responses

Request samples

Content type
application/json
{
  • "body": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "sent"
}

Send a chat action.

Send an action that took place to the chat.

+
Authorizations:
AccessToken
Request Body schema: application/json
body
required
string

The message text that will be sent as the system user.

+
author
string

An optional user name that performed the action.

+

Responses

Request samples

Content type
application/json
{
  • "body": "rolled a 15 on the dice",
  • "author": "JohnSmith"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "sent"
}

Send system chat message to a client, identified by its ClientId

Send a chat message on behalf of the system/server to a single client.

+
Authorizations:
AccessToken
path Parameters
clientId
required
integer <int64>

Client ID (a unique numeric Id, identifying the client connection)

+
Request Body schema: application/json
body
required
string

The message text that will be sent to the client.

+

Responses

Request samples

Content type
application/json
{
  • "body": "What a beautiful day. I love it"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "messages": "sent"
}

Create an access token.

Create a single access token that has access to the access scopes provided.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
name
string

The human-readable name to give this access token.

+
scopes
Array of strings

Responses

Request samples

Content type
application/json
{
  • "name": "string",
  • "scopes": [
    ]
}

Response samples

Content type
application/json
{
  • "name": "your new token",
  • "token": "zG2xO-mHTFnelCp5xaIkYEFWcPhoOswOSRmFC1BkI="
}

Delete an access token.

Delete a single access token.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
token
string

The token to delete

+

Responses

Request samples

Content type
application/json
{
  • "token": "string"
}

Response samples

Content type
application/json
{
  • "success": true,
  • "message": "deleted token"
}

Return all access tokens.

Return all of the available access tokens.

+
Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[
  • "string"
]

Set external action URLs.

Set a collection of external action URLs that are displayed in the UI.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
Array
url
string

URL of the external action content.

+
title
string

The title to put on the external action button.

+
description
string

Optional additional description to display in the UI.

+
icon
string

The URL to an image to place on the external action button.

+
color
string

Optional color to use for drawing the action button.

+
openExternally
boolean

If set this action will open in a new browser tab instead of an internal modal.

+

Responses

Request samples

Content type
application/json
[
  • {
    }
]

Return a list of currently connected clients

Return a list of currently connected clients with optional geo details.

+
Authorizations:
AccessToken

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Historical Chat Messages

Used to get the backlog of chat messages.

+
Authorizations:
AccessToken

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Update the visibility of chat messages.

Pass an array of IDs you want to change the chat visibility of.

+
Authorizations:
AccessToken
Request Body schema: application/json
visible
boolean

Are these messages visible.

+
idArray
Array of strings

Responses

Request samples

Content type
application/json
{
  • "visible": true,
  • "idArray": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Moderation

Chat-related actions that can take place by a moderator.

+

Update the visibility of chat messages.

Pass an array of IDs you want to change the chat visibility of.

+
Authorizations:
ModeratorUserToken
Request Body schema: application/json
visible
boolean

Are these messages visible.

+
idArray
Array of strings

Responses

Request samples

Content type
application/json
{
  • "visible": true,
  • "idArray": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Disable (block) or re-enable a chat user.

Authorizations:
ModeratorUserToken
Request Body schema: application/json
userId
string

User ID of the chat user you're changing.

+
enabled
boolean

State of this user. False to block/disable.

+

Responses

Request samples

Content type
application/json
{
  • "userId": "string",
  • "enabled": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Set moderator priviledges on a chat users.

Give a chat user ID and be able to grant or remove moderator priviledges to this user.

+
Authorizations:
AdminBasicAuth
Request Body schema: application/json
userId
string

User ID of the chat user you want to change moderation status of.

+
isModerator
boolean

The moderator status of this user.

+

Responses

Request samples

Content type
application/json
{
  • "userId": "xJ84_48Ghj",
  • "isModerator": true
}

Response samples

Content type
application/json
Example
{
  • "success": true,
  • "message": "context specific success message"
}

Get a list of chat moderator users.

Authorizations:
AdminBasicAuth

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Server

Information

The client configuration. Information useful for the user interface.

+

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "summary": "string",
  • "logo": "string",
  • "tags": [
    ],
  • "socialHandles": [],
  • "extraPageContent": "<p>This page is <strong>super</strong> cool!",
  • "version": "Owncast v0.0.3-macOS (ef3796a033b32a312ebf5b334851cbf9959e7ecb)"
}

Mark the current viewer as active.

For tracking viewer count, periodically hit the ping endpoint.

+

Responses

Current Status

This endpoint is used to discover when a server is broadcasting, the number of active viewers as well as other useful information for updating the user interface.

+

Responses

Response samples

Content type
application/json
{
  • "lastConnectTime": "2020-10-03T21:36:22-05:00",
  • "lastDisconnectTime": null,
  • "online": true,
  • "overallMaxViewerCount": 420,
  • "sessionMaxViewerCount": 12,
  • "viewerCount": 7
}

Yellow Pages Information

Information to be used in the Yellow Pages service, a global directory of Owncast servers.

+

Responses

Response samples

Content type
application/json
{
  • "name": "string",
  • "description": "string",
  • "logo": "string",
  • "nsfw": true,
  • "tags": [
    ],
  • "online": true,
  • "viewerCount": 0,
  • "overallMaxViewerCount": 0,
  • "sessionMaxViewerCount": 0,
  • "lastConnectTime": "2019-08-24T14:15:22Z"
}

Get the public followers of this instance

Responses

Response samples

Content type
application/json
[]

Return the information needed to redirect a user to a fediverse server to perform a remote follow action.

Request Body schema: application/json
account
string

The fediverse username@server.tld account that wants to perform the remote follow action.

+

Responses

Request samples

Content type
application/json
{
  • "account": "johnsmith@fediverse.biz"
}

Response samples