Version 5.0.6

This commit is contained in:
Neo committed 2025-12-19 18:55:49 -08:00
1 parent a3a4a9ccbd
commit b89858b2ff
1214 files changed
+92828 -14859

No files matched your search

+5 -1
View File
@@ -25,7 +25,7 @@ use IPS\core\Achievements\Rank;
use IPS\core\Achievements\Rule;
use IPS\core\extensions\core\CommunityEnhancements\FacebookPixel;
use IPS\core\extensions\core\CommunityEnhancements\Postmark;
use IPS\core\extensions\core\CommunityEnhancements\Sendgrid;
use IPS\core\extensions\core\CommunityEnhancements\SendGrid;
use IPS\core\extensions\core\CommunityEnhancements\Zapier;
use IPS\core\Warnings\Warning;
use IPS\Data\Store;
@@ -830,6 +830,10 @@ class Application extends SystemApplication
$return[ '{tabKey}' ] = new Text( 'extension_tab_key', null, true );
break;
case 'MFAHandler':
$return[ '{key}' ] = new Text( 'extension_key', null, true );
break;
case 'ModCp':
$return[ '{tabKey}' ] = new Text( 'extension_tab_key', null, true );
$return[ '{manageType}' ] = new Select( 'extension_modcp_manage_type', 'other', true, [
+4 -2
View File
@@ -261,7 +261,7 @@
"google analytics"
]
},
"app=core&module=applications&controller=enhancements&do=edit&searchResult=ga_code": {
"app=core&module=applications&controller=enhancements&do=edit&id=core_GoogleAnalytics": {
"lang_key": "ga_code",
"restriction": "enhancements_manage",
"keywords": [
@@ -2068,7 +2068,9 @@
"restriction": "general_manage",
"keywords": [
"offline",
"online"
"online",
"site online",
"site"
]
},
"app=core&module=settings&controller=general&searchResult=form_site_social_profiles": {
+7 -5
View File
@@ -91,6 +91,7 @@
<setting key="ads_force_sidebar"><![CDATA[{"key":"ads_force_sidebar","default":"","report":"full"}]]></setting>
<setting key="ads_txt"><![CDATA[{"key":"ads_txt","default":"","report":"none"}]]></setting>
<setting key="ads_txt_enabled"><![CDATA[{"key":"ads_txt_enabled","default":"","report":"bool"}]]></setting>
<setting key="ads_txt_redirect_url"><![CDATA[{"key":"ads_txt_redirect_url","default":"","report":"bool"}]]></setting>
<setting key="ajax_pagination"><![CDATA[{"key":"ajax_pagination","default":"1","report":"full"}]]></setting>
<setting key="all_activity_clubs"><![CDATA[{"key":"all_activity_clubs","default":"1","report":"full"}]]></setting>
<setting key="all_activity_follow_content"><![CDATA[{"key":"all_activity_follow_content","default":"1","report":"full"}]]></setting>
@@ -136,7 +137,7 @@
<setting key="bruteforce_global_period"><![CDATA[{"key":"bruteforce_global_period","default":"15","report":"full"}]]></setting>
<setting key="clickjackprevention"><![CDATA[{"key":"clickjackprevention","default":"xframe","report":"full"}]]></setting>
<setting key="club_max_cover"><![CDATA[{"key":"club_max_cover","default":"-1","report":"full"}]]></setting>
<setting key="club_nodes_in_apps"><![CDATA[{"key":"club_nodes_in_apps","default":"","report":"full"}]]></setting>
<setting key="club_nodes_in_apps"><![CDATA[{"key":"club_nodes_in_apps","default":"0","report":"full"}]]></setting>
<setting key="clubs"><![CDATA[{"key":"clubs","default":"","report":"full"}]]></setting>
<setting key="clubs_allow_view_change"><![CDATA[{"key":"clubs_allow_view_change","default":"1","report":"full"}]]></setting>
<setting key="clubs_default_sort"><![CDATA[{"key":"clubs_default_sort","default":"last_activity","report":"full"}]]></setting>
@@ -286,6 +287,7 @@
<setting key="match_ipaddress"><![CDATA[{"key":"match_ipaddress","default":"1","report":"full"}]]></setting>
<setting key="matomo_code"><![CDATA[{"key":"matomo_code","default":"","report":"none"}]]></setting>
<setting key="matomo_enabled"><![CDATA[{"key":"matomo_enabled","default":"","report":"full"}]]></setting>
<setting key="max_embeddedmedia_width"><![CDATA[{"key":"max_embeddedmedia_width","default":"0","report":"none"}]]></setting>
<setting key="max_internalembed_width"><![CDATA[{"key":"max_internalembed_width","default":"500","report":"full"}]]></setting>
<setting key="max_internalembed_width_css"><![CDATA[{"key":"max_internalembed_width_css","default":"none","report":"none"}]]></setting>
<setting key="max_poll_choices"><![CDATA[{"key":"max_poll_choices","default":"20","report":"full"}]]></setting>
@@ -524,7 +526,7 @@
<widget key="achievements"><![CDATA[{"class":"\\IPS\\Widget\\StaticCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"menu","embeddable":true}]]></widget>
<widget key="advertisements"><![CDATA[{"class":"\\IPS\\Widget","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"menu","embeddable":true}]]></widget>
<widget key="tableofcontents"><![CDATA[{"class":"\\IPS\\Widget\\StaticCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":false,"menu_style":"menu","layouts":"wrap","embeddable":false}]]></widget>
<widget key="tags"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"menu","layouts":"","embeddable":false,"padding":true,"default_layout":null,"searchterms":"tag"}]]></widget>
<widget key="tags"><![CDATA[{"class":"\\IPS\\Widget\\PermissionCache","restrict":["sidebar","cms"],"default_area":"","allow_reuse":true,"menu_style":"menu","layouts":"","embeddable":false,"padding":false,"default_layout":null,"searchterms":"tag"}]]></widget>
<acpsearch key="app=core&amp;module=achievements&amp;controller=badges"><![CDATA[{"lang_key":"menu__core_achievements_badges","restriction":"badges_manage","keywords":["awards","badges","rewards","trophies","trophy"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=achievements&amp;controller=ranks"><![CDATA[{"lang_key":"menu__core_achievements_ranks","restriction":"ranks_manage","keywords":["badges","ranks","titles"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=achievements&amp;controller=rules"><![CDATA[{"lang_key":"achievements_rules","restriction":"rules_manage","keywords":["achievement","achievement rules","award","badge","karma","point","rule"]}]]></acpsearch>
@@ -552,7 +554,7 @@
<acpsearch key="app=core&amp;module=applications&amp;controller=enhancements&amp;do=edit&amp;id=core_Pixabay"><![CDATA[{"lang_key":"enhancements__core_Pixabay","restriction":"enhancements_manage","keywords":["photos","pixabay","stock","stock photo"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=applications&amp;controller=enhancements&amp;do=edit&amp;id=core_Postmark"><![CDATA[{"lang_key":"menu__core_applications_enhancements","restriction":"enhancements_manage","keywords":["postmark"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=applications&amp;controller=enhancements&amp;do=edit&amp;searchResult=form_ga_enabled"><![CDATA[{"lang_key":"ga_enabled","restriction":"enhancements_manage","keywords":["analytics","google analytics"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=applications&amp;controller=enhancements&amp;do=edit&amp;searchResult=ga_code"><![CDATA[{"lang_key":"ga_code","restriction":"enhancements_manage","keywords":["analytics","google analytics"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=applications&amp;controller=enhancements&amp;do=edit&amp;id=core_GoogleAnalytics"><![CDATA[{"lang_key":"ga_code","restriction":"enhancements_manage","keywords":["analytics","google analytics"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=applications&amp;controller=menu"><![CDATA[{"lang_key":"menu__core_applications_menu","restriction":"menu_manage","keywords":["header","menu manager","navigation"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=applications&amp;controller=rss"><![CDATA[{"lang_key":"menu__core_applications_rss","restriction":"rss_manage","keywords":["atom feed","feed import","rss feed"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=bulkmail&amp;controller=bulkmail"><![CDATA[{"lang_key":"menu__core_bulkmail_bulkmail","restriction":"bulkmail_manage","keywords":["announce","blast","bulk","bulk mail","campaign","email","mail","mass","newsletter","sendgrid"]}]]></acpsearch>
@@ -751,7 +753,7 @@
<acpsearch key="app=core&amp;module=settings&amp;controller=general&amp;searchResult=form_copyright_line"><![CDATA[{"lang_key":"copyright_line","restriction":"general_manage","keywords":["copyright","license"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=settings&amp;controller=general&amp;searchResult=form_diagnostics_reporting"><![CDATA[{"lang_key":"diagnostics_reporting","restriction":"general_manage","keywords":["diagnostics","reports"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=settings&amp;controller=general&amp;searchResult=form_site_address"><![CDATA[{"lang_key":"site_address","restriction":"general_manage","keywords":["address","mail"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=settings&amp;controller=general&amp;searchResult=form_site_online"><![CDATA[{"lang_key":"site_online","restriction":"general_manage","keywords":["offline","online"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=settings&amp;controller=general&amp;searchResult=form_site_online"><![CDATA[{"lang_key":"site_online","restriction":"general_manage","keywords":["offline","online","site online","site"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=settings&amp;controller=general&amp;searchResult=form_site_social_profiles"><![CDATA[{"lang_key":"site_social_profiles","restriction":"general_manage","keywords":["bluesky","facebook","social profile","tiktok","twitter","x","youtube"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=settings&amp;controller=general&amp;searchResult=form_site_twitter_id"><![CDATA[{"lang_key":"site_twitter_id","restriction":"general_manage","keywords":["site twitter","twitter","twitter id","x"]}]]></acpsearch>
<acpsearch key="app=core&amp;module=settings&amp;controller=licensekey"><![CDATA[{"lang_key":"menu__core_settings_licensekey","restriction":"licensekey_manage","keywords":["license key"]}]]></acpsearch>
@@ -931,7 +933,7 @@
<themeeditorsetting key="set__i-header-primary--he"><![CDATA[{"key":"set__i-header-primary--he","type":"range","name":"Primary header height","desc":"","refresh":false,"min":"40","max":"400","default":"100","cat":"desktopHeader"}]]></themeeditorsetting>
<themeeditorsetting key="set__i-sidebar-ui-logo--fo-si"><![CDATA[{"key":"set__i-sidebar-ui-logo--fo-si","type":"range","name":"Desktop font-size (px)","desc":"Adjust the font-size of your text logo on the desktop sidebar layout.","refresh":false,"min":"10","max":"50","default":"20","cat":"textLogo"}]]></themeeditorsetting>
<themeeditorsetting key="i-box--bo-co"><![CDATA[{"key":"i-box--bo-co","type":"color","name":"Border color","desc":"","refresh":false,"light_default":"var(--i-base_4)","dark_default":"var(--i-base_3)","cat":"contentBoxes"}]]></themeeditorsetting>
<themeeditorsetting key="i-link--co"><![CDATA[{"key":"i-link--co","type":"color","name":"Link color","desc":"","refresh":false,"light_default":"var(--i-base-contrast_5)","dark_default":"var(--i-base-contrast_5)","cat":"typography"}]]></themeeditorsetting>
<themeeditorsetting key="i-link--co"><![CDATA[{"key":"i-link--co","type":"color","name":"Link color","desc":"","refresh":false,"light_default":"var(--i-base-contrast_6)","dark_default":"var(--i-base-contrast_6)","cat":"typography"}]]></themeeditorsetting>
<themeeditorsetting key="i-mobileFooter-active--ba-co"><![CDATA[{"key":"i-mobileFooter-active--ba-co","type":"color","name":"Footer: Active button background","desc":"","refresh":false,"light_default":"var(--i-primary)","dark_default":"var(--i-primary)","cat":"mobileNavigation"}]]></themeeditorsetting>
<themeeditorsetting key="i-navPanel--ba-co"><![CDATA[{"key":"i-navPanel--ba-co","type":"color","name":"Background","desc":"","refresh":false,"light_default":"var(--i-base-contrast_5)","dark_default":"var(--i-base_2)","cat":"navigationPanel"}]]></themeeditorsetting>
<themeeditorsetting key="set__i-mobile-logo--fo-si"><![CDATA[{"key":"set__i-mobile-logo--fo-si","type":"range","name":"Mobile font-size (px)","desc":"Adjust the font-size of your text logo on the mobile layout.","refresh":false,"min":10,"max":50,"step":1,"default":"18","cat":"textLogo"}]]></themeeditorsetting>
@@ -14,6 +14,7 @@ namespace IPS\{app}\extensions\core\Build;
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Extensions\BuildAbstract;
use IPS\Application\BuilderFilter;
use RuntimeException;
use function defined;
@@ -37,6 +38,16 @@ class {class} extends BuildAbstract
public function build() : void
{
}
/**
* Should the current file/directory be included in the tar
*
* @return bool
*/
public function accept( BuilderFilter $current ): bool
{
return true;
}
/**
* Finish Build
@@ -31,22 +31,5 @@ if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
*/
class {class} extends ClubAbstract
{
/**
* Tabs
*
* @param Club $club The club
* @param Model|null $container Container
* @return array
*/
public function tabs( Club $club, ?Model $container = NULL ): array
{
return array(
'unique_id' => array(
'href' => '',
'title' => '',
'isActive' => FALSE,
'show' => FALSE
)
);
}
}
@@ -0,0 +1,146 @@
<?php
/**
* @brief MFA Handler Extension
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
{subpackage}
* @since {date}
*/
namespace IPS\{app}\extensions\core\MFAHandler;
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Http\Url;
use IPS\Member;
use IPS\MFA\MFAHandler;
use function defined;
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* MFAHandler Extension
*/
class {class} extends MFAHandler
{
/**
* @brief Key
*/
public static string $key = '{key}';
/**
* Handler is enabled
*
* @return bool
*/
public function isEnabled(): bool
{
return true;
}
/**
* Member *can* use this handler (even if they have not yet configured it)
*
* @param Member $member The member
* @return bool
*/
public function memberCanUseHandler( Member $member ): bool
{
return true;
}
/**
* Member has configured this handler
*
* @param Member $member The member
* @return bool
*/
public function memberHasConfiguredHandler( Member $member ): bool
{
return false;
}
/**
* Show a setup screen
*
* @param Member $member The member
* @param bool $showingMultipleHandlers Set to TRUE if multiple options are being displayed
* @param Url $url URL for page
* @return string
*/
public function configurationScreen( Member $member, bool $showingMultipleHandlers, Url $url ): string
{
return '';
}
/**
* Submit configuration screen. Return TRUE if was accepted
*
* @param Member $member The member
* @return bool
*/
public function configurationScreenSubmit( Member $member ): bool
{
return false;
}
/**
* Get the form for a member to authenticate
*
* @param Member $member The member
* @param Url $url URL for page
* @return string
*/
public function authenticationScreen( Member $member, Url $url ): string
{
return '';
}
/**
* Submit authentication screen. Return TRUE if was accepted
*
* @param Member $member The member
* @return bool
*/
public function authenticationScreenSubmit( Member $member ): bool
{
return false;
}
/**
* Toggle
*
* @param bool $enabled On/Off
* @return void
*/
public function toggle( bool $enabled ): void
{
}
/**
* ACP Settings
*
* @return string
*/
public function acpSettings(): string
{
return '';
}
/**
* If member has configured this handler, disable it
*
* @param Member $member The member
* @return void
*/
public function disableHandlerForMember( Member $member ): void
{
}
}
@@ -0,0 +1,38 @@
<?php
/**
* @brief ShareServices Extension
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
{subpackage}
* @since {date}
*/
namespace IPS\{app}\extensions\core\ShareServices;
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Content\ShareServices;
use function defined;
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* ShareServices Extension
*/
class {class} extends ShareServices
{
/**
* Return the HTML code to show the share link
*
* @return string
*/
public function __toString(): string
{
return "";
}
}
@@ -0,0 +1,31 @@
<?php
/**
* @brief File Listener
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
{subpackage}
* @since {date}
*/
namespace IPS\{app}\listeners;
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Events\ListenerType\FileListenerType;
use IPS\File as SystemFile;
use function defined;
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header(($_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0') . ' 403 Forbidden');
exit;
}
/**
* File Listener
*/
class {filename} extends FileListenerType
{
}
@@ -0,0 +1,32 @@
<?php
/**
* @brief Poll Listener
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
{subpackage}
* @since {date}
*/
namespace IPS\{app}\listeners;
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Events\ListenerType\PollListenerType;
use IPS\Poll as PollClass;
use IPS\Poll\Vote as VoteClass;
use function defined;
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header(($_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0') . ' 403 Forbidden');
exit;
}
/**
* Poll Listener
*/
class {filename} extends PollListenerType
{
}
+2
View File
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugins></plugins>
+1 -4
View File
@@ -69,7 +69,7 @@
"isDynamicEntry": true
},
"src/main.jsx": {
"file": "assets/main-CbPFTxeK.js",
"file": "assets/main-BwLJeu7q.js",
"name": "main",
"src": "src/main.jsx",
"isEntry": true,
@@ -85,9 +85,6 @@
"src/assets/icons/wrap.svg",
"src/assets/icons/wrapInverted.svg",
"src/assets/icons/wrapNone.svg"
],
"css": [
"assets/main-D_J_Hmvj.css"
]
}
}
+4 -2
View File
@@ -524,7 +524,7 @@
</tr>
</table>
{{$emailContent = $email->parseTextForEmail( $message->post, $email->language, ( \IPS\Settings::i()->email_truncate ? 150 : NULL ) );}}
{{$emailContent = $email->parseTextForEmail( $message->firstComment()?->post, $email->language, ( \IPS\Settings::i()->email_truncate ? 150 : NULL ) );}}
{{if $emailContent}}
<br />
<table width='100%' cellpadding='0' cellspacing='0' border='0'>
@@ -1918,6 +1918,7 @@ URL: {$content->url()}
</p>
<br>
{{if $staff->member_id}}
<table width='100%' cellpadding='0' cellspacing='0' border='0'>
<tr>
<td dir='{dir}' width='40' valign='top'>
@@ -1932,6 +1933,7 @@ URL: {$content->url()}
</td>
</tr>
</table>
{{endif}}
</td>
{{$count++;}}
{{if $count == 1 || $count == 3}}
@@ -2049,7 +2051,7 @@ URL: {$content->url()}
<br>
<br><strong>{$badge->_title}</strong>
<br>
<img src="{file="$badge->image" extension="core_Badges"}">
<img src='{{if $badge->badge_use_image}}{file="$badge->image" extension="core_Badges"}{{else}}{$badge->_icon}{{endif}}'>
{{endif}}
<br /><br />
<em style='color: #8c8c8c'>&mdash; {setting="board_name"}</em>]]></template_content_html><template_data>$member, $recognize, $email</template_data><template_content_plaintext><![CDATA[{$email->language->addToStack("notification__new_recognized")}
+1
View File
@@ -99,6 +99,7 @@
"Badges": "IPS\\core\\extensions\\core\\FileStorage\\Badges",
"ClubField": "IPS\\core\\extensions\\core\\FileStorage\\ClubField",
"Clubs": "IPS\\core\\extensions\\core\\FileStorage\\Clubs",
"CustomBadges": "IPS\\core\\extensions\\core\\FileStorage\\CustomBadges",
"Emoticons": "IPS\\core\\extensions\\core\\FileStorage\\Emoticons",
"Icons": "IPS\\core\\extensions\\core\\FileStorage\\Icons",
"Imageproxycache": "IPS\\core\\extensions\\core\\FileStorage\\Imageproxycache",
+11
View File
@@ -226,6 +226,17 @@
}
]
},
"profile_tab": {
"friendly": "profile\/{#id}-{?}\/tab-{@tab}",
"real": "app=core&module=members&controller=profile",
"seoTitles": [
{
"class": "\\IPS\\Member",
"queryParam": "id",
"property": "members_seo_name"
}
]
},
"profile": {
"friendly": "profile\/{#id}-{?}",
"real": "app=core&module=members&controller=profile",
File diff suppressed because it is too large. Load diff
+150 -48
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<language>
<app key="core" version="5000049">
<app key="core" version="5000074">
<word key="__app_core" js="0">System</word>
<word key="__indefart_personal_conversation" js="0">a personal conversation</word>
<word key="__indefart_personal_conversation_message" js="0">a message in a personal conversation</word>
@@ -24,6 +24,7 @@
<word key="nexus_package_item_pl" js="0">Products</word>
<word key="_defart_from_date" js="0"><![CDATA[<a href='%s'>%s</a> from %s]]></word>
<word key="first_unread_post" js="0">Go to first unread post</word>
<word key="participated_in_content" js="0">You've replied to this content</word>
<word key="get_last_post" js="0">Go to last post</word>
<word key="subscribed" js="0">Subscribed</word>
<word key="guest_unsubscribe_choice" js="0">Unsubscribe from</word>
@@ -223,7 +224,7 @@
<word key="register_button" js="0">Create my Account</word>
<word key="reg_admin_mails" js="0">Send me news and updates</word>
<word key="reg_agreed_terms" js="0"><![CDATA[I agree to the <a href='%s' data-ipsDialog data-ipsDialog-title='Registration Terms'>Terms of Use</a>]]></word>
<word key="reg_privacy_link" js="0"><![CDATA[<strong> and <a href='%s' %s>Privacy Policy</a></strong>]]></word>
<word key="reg_privacy_link" js="0"><![CDATA[ and <a href='%s' %s>Privacy Policy</a>]]></word>
<word key="reg_your_account" js="0">Your Account</word>
<word key="reg_confirmation" js="0">Confirmation</word>
<word key="reg_start_faster" js="0">Get started faster</word>
@@ -419,6 +420,8 @@
<word key="switch_to_account" js="0">Switch back to %s</word>
<word key="site" js="0">Visit Site</word>
<word key="acp_quick_links" js="0">Quick Links</word>
<word key="acp_switch_to_cloud" js="0">Switch to Cloud</word>
<word key="acp_switch_to_cloud_hide" js="0">Hide this for a while</word>
<word key="acp_version_number" js="0">v%s</word>
<word key="acp_version_number_raw" js="0">Version %s</word>
<word key="redirecting" js="0">Redirecting...</word>
@@ -868,8 +871,8 @@
<word key="message_staff_badge" js="0">Staff Note</word>
<word key="all_permissions" js="0">All Permissions</word>
<word key="more_info" js="0">More Info</word>
<word key="all_permissions_group_hovertitle" js="0">See all permissions for group &quot;%s&quot;</word>
<word key="all_permissions_node_hovertitle" js="0">See all permissions for &quot;%s&quot;</word>
<word key="all_permissions_group_hovertitle" js="0"><![CDATA[See all permissions for group &quot;%s&quot;]]></word>
<word key="all_permissions_node_hovertitle" js="0"><![CDATA[See all permissions for &quot;%s&quot;]]></word>
<word key="carousel_prev" js="0">Previous carousel slide</word>
<word key="carousel_next" js="0">Next carousel slide</word>
<word key="board_error_title" js="0">Error</word>
@@ -1117,9 +1120,6 @@
<word key="download_upgrade_initial_md5_fail_explain" js="0">The following files have been modified. By continuing, the changes made will be lost.</word>
<word key="upgrade_complete" js="0">The upgrade is complete</word>
<word key="upgrade_complete_database_error" js="0">Although the upgrade finished successfully, there are some issues with your database.</word>
<word key="download_upgrade_initial_theme_conflicts_title" js="0">Incompatible {!#[1:Theme][?:Themes]}</word>
<word key="download_upgrade_initial_theme_conflicts_explain" js="0"><![CDATA[{!#[1:One][?:Some]} of your themes {!#[1:is][?:are]} not compatible with the version you are upgrading to because {!#[1:it includes][?:they include]} modifications to templates and/or CSS files which this version needs to update.<br><br><strong>If you obtained the affected {!#[1:theme][?:themes]} from a designer</strong> you should contact them to ask if a new version of the {!#[1:theme is][?:themes are]} available for this version. If there is, continue with the upgrade and then update the {!#[1:theme][?:themes]} after. If there is not an update available, you may want to remove {!#[1:that theme][?:those themes]} or wait until {!#[1:a new version is][?:new versions are]} available before proceeding.<br><br><strong>If you modified the affected {!#[1:theme][?:themes]} yourself</strong>, you can use the links below to review your customisations. If the customisations are no longer required, you can revert them, otherwise you will need to incorporate the changes made by the version you are upgrading to. For more details on the theme changes in this version, see the <a href='{external.themediff}' target='_blank' rel='noopener'>Theme Differences Documentation</a>.]]></word>
<word key="download_upgrade_initial_theme_conflicts_tip" js="0"><![CDATA[Tip: When viewing a template or CSS file from one of the links above, select <strong>Show Default</strong> from the <i class='fa-solid fa-gear'></i> dropdown to compare your customisations with the default for the current version.]]></word>
<word key="download_upgrade_database_check_fail_title" js="0">Database Check</word>
<word key="download_upgrade_database_check_fail_desc" js="0">There are some problems with your database which need to be fixed before you can start the upgrade.</word>
<word key="acplog__upgrade_started" js="0">Community upgrade started</word>
@@ -1213,6 +1213,7 @@
<word key="ext__MemberACPProfileContentTab" js="0">Add a tab to the Content Statistics block within the AdminCP member view.</word>
<word key="ext__MemberRestrictions" js="0"><![CDATA[Show content and add fields to the associated form for the Warnings &amp; Restrictions block within the AdminCP member view.]]></word>
<word key="ext__MemberExportPersonalInformation" js="0">Add additional data to the personal information XML file.</word>
<word key="ext__MFAHandler" js="0">Create a custom MFA handler</word>
<word key="ext__ModCp" js="0">Add to the ModCP.</word>
<word key="ext__ModCpMemberManagement" js="0">Add filters to the ModCP member management page.</word>
<word key="ext__ModeratorPermissions" js="0">Add moderator permissions.</word>
@@ -1222,6 +1223,7 @@
<word key="ext__Profile" js="0">Add content to users' profiles.</word>
<word key="ext__Queue" js="0">Specify background queue tasks used by the application.</word>
<word key="ext__SearchIndex" js="0">Alter the search index data before it is stored.</word>
<word key="ext__ShareServices" js="0">Add a custom Share Service for an external platform</word>
<word key="ext__Sitemap" js="0"><![CDATA[Add to the sitemap.<br><span class='ipsBadge ipsBadge--intermediary'>Recommended</span> if you have content pages that are not Content Items.]]></word>
<word key="ext__StreamItems" js="0">Add extra items to activity stream</word>
<word key="ext__Uninstall" js="0"><![CDATA[Run code when an application is uninstalled.<br><span class='ipsBadge ipsBadge--negative'>Required</span> if your application alters tables outside of your application.]]></word>
@@ -1371,6 +1373,7 @@
<word key="report_type" js="0">Why do you want to report this?</word>
<word key="report_type_byline" js="0">Reported as %s.</word>
<word key="report_type_byline_msg" js="0">Reported to show a moderator.</word>
<word key="ipaddress_no_permission" js="0"><![CDATA[<em>You do not have permission to view this content.</em>]]></word>
<word key="default_notification_title" js="0">You have a new notification</word>
<word key="default_notification_body" js="0">You'll need to visit the site to read it. Tap here to log in.</word>
<word key="notifications__core_Messenger" js="0">Messenger</word>
@@ -2271,6 +2274,7 @@
<word key="prune_member_history" js="0">Prune Member History</word>
<word key="prune_member_history_desc" js="0">Enabling this setting will prune member history entries such as display name history and other items</word>
<word key="prune_known_ips" js="0">Prune Member IP Addresses</word>
<word key="prune_known_ips_desc" js="0">Some IP addresses will be retained regardless of this setting, such as those that appear in Administrator or Moderator logs.</word>
<word key="prune_known_devices" js="0">Prune Member Device History</word>
<word key="prune_item_markers" js="0">Prune Item Markers</word>
<word key="prune_item_markers_desc" js="0">Item markers track when a user has last read a container or a content item. It is usually unnecessary to track item markers for an extended period of time, however setting this option too low will result in all content showing as unread for users who do not visit regularly.</word>
@@ -2944,7 +2948,7 @@
<word key="social_links_in_email" js="0">Include social profile links in emails?</word>
<word key="social_links_in_email_desc" js="0"><![CDATA[<a href='{internal.app=core&module=settings&controller=general}'>Social profiles</a> will show in the footer of site emails.]]></word>
<word key="our_picks_in_email" js="0">Include featured content in emails?</word>
<word key="our_picks_in_email_desc" js="0"><![CDATA[<a href='{internal.front.app=core&module=feature&controller=feature.featured_show}'>Content</a> from 'Featured Content' will show in the footer of site emails.]]></word>
<word key="our_picks_in_email_desc" js="0"><![CDATA[<a href='{internal.front.app=core&module=feature&controller=featured.featured_show}' target='_blank'>Content</a> from 'Featured Content' will show in the footer of site emails.]]></word>
<word key="email_truncate" js="0">Truncate Content</word>
<word key="email_truncate_desc" js="0">Truncate the contents of a notification email to stimulate re-engagement back to the community.</word>
<word key="overview_license_key_header" js="0">License Key: %s</word>
@@ -3092,6 +3096,7 @@
<word key="emailtpl_notification_new_likes" js="0">Content like notification</word>
<word key="emailtpl_notification_new_react" js="0">Content reaction notification</word>
<word key="emailtpl_notification_report_center" js="0">Reported content notification</word>
<word key="emailtpl_notification_report_content_author" js="0">Notification to reported content author</word>
<word key="emailtpl_upgrade" js="0">Upgrade information email</word>
<word key="emailtpl_unsubscribeNotification" js="0">Notification unsubscribe</word>
<word key="emailtpl_unsubscribeFollow" js="0">Follow unsubscribe</word>
@@ -3735,7 +3740,7 @@
<word key="reindexing_stuff" js="0">Reindexing %s</word>
<word key="reindexing_single_item" js="0"><![CDATA[Reindexing <a href='%s' target='_blank' rel='noopener'>%s</a>]]></word>
<word key="reindexing_single_item_comments" js="0"><![CDATA[Reindexing comments on <a href='%s' target='_blank' rel='noopener'>%s</a>]]></word>
<word key="reindexing_single_item_reviews" js="0"><![CDATA[Reindexing reviews on <a href='%s' target_'_blank' rel='noopener'>%s</a>]]></word>
<word key="reindexing_single_item_reviews" js="0"><![CDATA[Reindexing reviews on <a href='%s' target='_blank' rel='noopener'>%s</a>]]></word>
<word key="rebuilding_content_images" js="0">Rebuilding %s images</word>
<word key="rebuilding_noncontent_images" js="0">Rebuilding %s images</word>
<word key="rebuilding_noncontent_posts" js="0">Rebuilding %s</word>
@@ -3946,6 +3951,9 @@
<word key="google_adsense_ajax_ins_4" js="0">Disable the 'Use AJAX pagination?' setting and save the Theme.</word>
<word key="google_adsense_other" js="0">Google has many other terms which affect how you can use their network and other advertisement networks have similar rules. Make sure you check your network's rules carefully for any additional steps you may need to take.</word>
<word key="ads_txt_enabled" js="0">Set custom ads.txt?</word>
<word key="ads_txt_option_redirect" js="0">Yes, Redirect to a different location</word>
<word key="ads_txt_redirect_url" js="0">Redirect to URL</word>
<word key="ads_txt_redirect_url_desc" js="0">Requests to ads.txt will be redirected to this URL</word>
<word key="ads_txt" js="0">ads.txt</word>
<word key="ads_txt_enabled_desc" js="0"><![CDATA[<a href='{external.ads-dot-text}' target='_blank' rel='noopener'>ads.txt</a> is a simple, flexible, and secure method for publishers and distributors to declare who is authorized to sell their inventory.]]></word>
<word key="menu__core_moderation" js="0">Content Moderation</word>
@@ -3971,6 +3979,8 @@
<word key="automaticmoderation_row_desc" js="0">Member %s</word>
<word key="automaticmoderation_hide_reason" js="0">Reached the automatic moderation threshold</word>
<word key="gbw_immune_auto_mod" js="0">Bypass automatic moderation?</word>
<word key="gbw_can_mark_helpful" js="0">Can mark content as 'Helpful'?</word>
<word key="gbw_can_mark_helpful_desc" js="0">Members in this group can mark content as 'Helpful' which is a per-forum option which shows when 'Topic Solutions' is enabled.</word>
<word key="gbw_immune_auto_mod_desc" js="0">Automatic moderation will not be applied to any content members in this group author.</word>
<word key="reportedContent_settings" js="0">Settings</word>
<word key="acplog__automoderation_settings" js="0">Edited automatic moderation settings</word>
@@ -4186,7 +4196,12 @@
<word key="email_sent" js="0">The email has been sent</word>
<word key="send_email_form" js="0">Email this page</word>
<word key="send_email_form_with_title" js="0">Email this page ( %s )</word>
<word key="auto_share_twitter" js="0"><![CDATA[<i class='fa-brands fa-x-twitter'></i> Share on X]]></word>
<word key="auto_share_x" js="0"><![CDATA[Share on <i class='fa-brands fa-x-twitter'></i>]]></word>
<word key="auto_share_facebook" js="0"><![CDATA[Share on <i class='fa-brands fa-facebook'></i>]]></word>
<word key="auto_share_reddit" js="0"><![CDATA[Share on <i class='fa-brands fa-reddit'></i>]]></word>
<word key="auto_share_email" js="0">Share via email</word>
<word key="auto_share_linkedin" js="0"><![CDATA[Share on <i class='fa-brands fa-linkedin'></i>]]></word>
<word key="auto_share_pinterest" js="0"><![CDATA[Share on <i class='fa-brands fa-pinterest'></i>]]></word>
<word key="share_this_comment" js="0">Share this comment</word>
<word key="link_to_comment" js="0">Link to comment</word>
<word key="copy_share_link" js="0">Copy Link to Clipboard</word>
@@ -4266,6 +4281,10 @@
<word key="editor_r__giphy" js="0">Can use Giphy</word>
<word key="editor_r__dependency" js="0">This feature also requires &quot;%s&quot;</word>
<word key="editor_r__tables" js="0">Can use tables?</word>
<word key="editor_r__fa_icons" js="0">Show Font Awesome Icons in the Editor Icon Menu</word>
<word key="editor_r__native_emoji" js="0">Show Native Emoji in the Editor Icon Menu</word>
<word key="editor_r__custom_emoji" js="0">Show Custom Emoji in the Editor Icon Menu</word>
<word key="editor_r__custom_emoji__desc" js="0"><![CDATA[This setting applies to <a href='{internal.app=core&module=editor&controller=emoticons}'>Custom Emoji Sets</a>.]]></word>
<word key="editor_extensions" js="0">Third Party Editor Extensions</word>
<word key="dependent_less_strict_than_dependency" js="0">This restriction cannot be less strict than its dependency.</word>
<word key="g_editor_mode_default" js="0">Default (recommended)</word>
@@ -4301,7 +4320,9 @@
<word key="thumbnails_rebuilt" js="0">The attachment thumbnails will be rebuilt in the background</word>
<word key="refurls_rebuilt" js="0">The link data will be rebuilt in the background</word>
<word key="max_internalembed_width" js="0">Maximum embedded content width</word>
<word key="max_internalembed_width_desc" js="0">This setting restricts the size of content (such as topics, albums and products) from embedded links. The content will never be wider than the user's browser can display.</word>
<word key="max_internalembed_width_desc" js="0">This setting restricts the size of content (such as topics, albums, OG Link Previews, Social Media Embeds and more) from embedded links. The content will never be wider than the content's container or the user's browser can display.</word>
<word key="max_embeddedmedia_width" js="0">Maximum embedded media width</word>
<word key="max_embeddedmedia_width_desc" js="0">This setting restricts the size of embedded media, such as Youtube videos and external images. The media will never be wider than the content's container or the user's browser can display.</word>
<word key="word_expansion" js="0">Word Expansion</word>
<word key="word_add" js="0">Add Word</word>
<word key="word_a_short" js="0">Word</word>
@@ -6072,6 +6093,7 @@
<word key="widget_feed_min_reviews" js="0">Minimum reviews</word>
<word key="widget_feed_min_rating" js="0">Minimum rating</word>
<word key="widget_feed_show" js="0">Number to show</word>
<word key="widget_feed_offset" js="0">Offset</word>
<word key="widget_feed_sort_on" js="0">Sort by</word>
<word key="widget_feed_sort_dir" js="0">Sort direction</word>
<word key="widget_feed_comment_date" js="0">Posted</word>
@@ -6266,16 +6288,16 @@
<word key="search_index_timeframe_unlimited" js="0">Do not exclude any content</word>
<word key="search_method" js="0">Search Engine</word>
<word key="search_method_mysql" js="0">MySQL (Default)</word>
<word key="search_method_elastic" js="0">Elasticsearch (Advanced)</word>
<word key="search_method_elastic_desc" js="0"><![CDATA[A distributed search engine recommended for high traffic communities with lots of data. Requires an Elasticsearch server. <a href='{external.elasticsearch}' target='_blank' rel='noopener'>Learn more</a>]]></word>
<word key="search_elastic_server" js="0">Elasticsearch Server</word>
<word key="search_elastic_server_desc" js="0">Must be running at least version %s, but less than version %s.</word>
<word key="search_elastic_server_no_version" js="0">The server did not return the expected response. Check Elasticsearch is properly installed and accessible from your web server. If you visit the provided URL in your browser you should see details about the installed version.</word>
<word key="search_method_elastic" js="0">Elasticsearch / OpenSearch (Advanced)</word>
<word key="search_method_elastic_desc" js="0"><![CDATA[A distributed search engine recommended for high traffic communities with lots of data. Requires an Elasticsearch/OpenSearch server. <a href='{external.elasticsearch}' target='_blank' rel='noopener'>Learn more</a>]]></word>
<word key="search_elastic_server" js="0">Server</word>
<word key="search_elastic_server_desc" js="0"><![CDATA[Elasticsearch: Must be running at least version %s, but less than version %s.<br>OpenSearch: Must be running a version of 2.1.x.]]></word>
<word key="search_elastic_server_no_version" js="0">The server did not return the expected response. Check Elasticsearch/OpenSearch is properly installed and accessible from your web server. If you visit the provided URL in your browser you should see details about the installed version.</word>
<word key="search_elastic_server_unsupported_version" js="0">Version %s or higher is required. Your Elasticsearch server has version %s installed.</word>
<word key="search_elastic_server_unsupported_version_high" js="0">Version %s or higher is not supported. Your Elasticsearch server has version %s installed.</word>
<word key="search_elastic_server_error" js="0">The server did not return the expected response. Check Elasticsearch is properly installed and accessible from your web server. If you visit the provided URL in your browser you should see details about the installed version. Error: %s</word>
<word key="search_elastic_server_error" js="0">The server did not return the expected response. Check Elasticsearch/OpenSearch is properly installed and accessible from your web server. If you visit the provided URL in your browser you should see details about the installed version. Error: %s</word>
<word key="search_opensearch_server_unsupported_version" js="0">OpenSearch version %s is not supported.</word>
<word key="search_elastic_index" js="0">Elasticsearch Index Name</word>
<word key="search_elastic_index" js="0">Index Name</word>
<word key="search_elastic_index_desc" js="0">It is important to use different index names if multiple Invision Community installations are using the same Elasticsearch instance</word>
<word key="search_options" js="0">Search Options</word>
<word key="search_title_boost" js="0">Title Boost</word>
@@ -7153,7 +7175,7 @@
<word key="no_promote_permission" js="0">You do not have permission to feature items</word>
<word key="promote_cant_promote_admin" js="0">The chosen item cannot be featured</word>
<word key="promote_promoted_on" js="0">Featured %s</word>
<word key="block_promoted" js="0">Featured content</word>
<word key="block_promoted" js="0">Featured Content</word>
<word key="block_promoted_desc" js="0">Shows a curated list of hand picked items</word>
<word key="promote_submit" js="0">Feature</word>
<word key="editor__core_Meta" js="0">Content Meta Data</word>
@@ -7260,7 +7282,7 @@
<word key="loc_viewing_cookie_policy_action" js="0">%s is reading the cookie policy page</word>
<word key="cookies_about_header" js="0">Cookies are small text files that are placed on your computer by websites that you visit. They are widely used in order to make websites work, or work more efficiently, as well as to provide information to the owners of the site. Depending on your access level and actions on the site, various preference based cookies may be set to enrich your experience. These cookies are used to remember your theme, language and item marking preferences, etc.</word>
<word key="cookies_change_header" js="0">How do I change my cookie settings?</word>
<word key="cookies_change_text" js="0"><![CDATA[Most web browsers allow some control of most cookies through the browser settings. To find out more about cookies, including how to see what cookies have been set and how to manage and delete them, visit <a href='http://www.aboutcookies.org' rel='noopener nofollow' target='_blank'>www.aboutcookies.org</a> or <a href='http://www.allaboutcookies.org' rel='nofollow noopener' target='_blank'>www.allaboutcookies.org</a>.<br>To opt out of being tracked by Google Analytics across all websites visit <a href='http://tools.google.com/dlpage/gaoptout' rel='nofollow noopener' target='_blank'>http://tools.google.com/dlpage/gaoptout</a>.]]></word>
<word key="cookies_change_text" js="0"><![CDATA[Most web browsers allow some control of most cookies through the browser settings. To find out more about cookies, including how to see what cookies have been set and how to manage and delete them, visit <a href='https://www.aboutcookies.org' rel='noopener nofollow' target='_blank'>www.aboutcookies.org</a> or <a href='https://www.allaboutcookies.org' rel='nofollow noopener' target='_blank'>www.allaboutcookies.org</a>.<br>To opt out of being tracked by Google Analytics across all websites visit <a href='https://tools.google.com/dlpage/gaoptout' rel='nofollow noopener' target='_blank'>https://tools.google.com/dlpage/gaoptout</a>.]]></word>
<word key="cookie_session_front" js="0">This cookie contains the ID of your current session.</word>
<word key="cookie_member_id" js="0">Your member ID. Used to identify if you are logged in.</word>
<word key="cookie_loggedIn" js="0">This cookie is set after login, it is used by caching mechanisms to identify if you are logged in.</word>
@@ -7739,25 +7761,6 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="badges" js="0">Badges</word>
<word key="menu__core_membersettings_badges" js="0">Badges</word>
<word key="badge_name" js="0">Name</word>
<word key="badge_use_custom" js="0">Create a custom image</word>
<word key="badge_preview" js="0">Preview</word>
<word key="badge_icon" js="0">Icon</word>
<word key="badge_foreground" js="0">Icon color</word>
<word key="badge_foreground_desc" js="0">This color is applied to the the selected icon. Note that colors are not applied to Emojis</word>
<word key="badge_background" js="0">Background color</word>
<word key="badge_border" js="0">Border color</word>
<word key="badge_shape" js="0">Shape</word>
<word key="badge_square" js="0">Square</word>
<word key="badge_circle" js="0">Circle</word>
<word key="badge_n_gon" js="0">Polygon</word>
<word key="badge_star" js="0">Star</word>
<word key="badge_flower" js="0">Flower</word>
<word key="badge_sides" js="0">Points/Vertices</word>
<word key="badge_sides_desc" js="0">For polygons, this is the number of sides and vertices; for stars, this is the number of points, and flowers this is the number of &quot;petals&quot;.</word>
<word key="badge_rotation" js="0">Rotation (degrees)</word>
<word key="badge_rotation_desc" js="0">This is the rotation of just the background shape, not the active icon or number</word>
<word key="badge_number_overlay" js="0">Badge Number</word>
<word key="badge_number_overlay_desc" js="0">The Badge Number will show on top of the rest of the badge in the lower right corner. It is useful if you have a series of badges for similar achievements, for example 10 days active vs 5 days active.</word>
<word key="badge_image" js="0">Image</word>
<word key="badge_image_desc" js="0">Badge images must have equal dimensions</word>
<word key="badge_manually_awarded" js="0">Manually Awardable</word>
@@ -7907,6 +7910,28 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="AchievementAction__ContentPromotion_title_generic" js="0">content featured</word>
<word key="achievement_filter_ContentPromotion_nth_suffix" js="0"><![CDATA[<span data-role='th'>th</span> featured item]]></word>
<word key="AchievementAction__ContentPromotion_log_subject" js="0">%2$s was featured via &quot;%1$s&quot;</word>
<word key="custombadge_use_custom" js="0">Create a custom image</word>
<word key="custombadge_preview" js="0">Preview</word>
<word key="custombadge_icon" js="0">Icon</word>
<word key="custombadge_foreground" js="0">Icon color</word>
<word key="custombadge_foreground_desc" js="0">This color is applied to the the selected icon. Note that colors are not applied to Emojis</word>
<word key="custombadge_background" js="0">Background color</word>
<word key="custombadge_border" js="0">Border color</word>
<word key="custombadge_shape" js="0">Shape</word>
<word key="custombadge_square" js="0">Square</word>
<word key="custombadge_circle" js="0">Circle</word>
<word key="custombadge_n_gon" js="0">Polygon</word>
<word key="custombadge_star" js="0">Star</word>
<word key="custombadge_flower" js="0">Flower</word>
<word key="custombadge_sides" js="0">Points/Vertices</word>
<word key="custombadge_no_shape" js="0">None</word>
<word key="custombadge_sides_desc" js="0">For polygons, this is the number of sides and vertices; for stars, this is the number of points, and flowers this is the number of &quot;petals&quot;.</word>
<word key="custombadge_rotation" js="0">Rotation (degrees)</word>
<word key="custombadge_rotation_desc" js="0">This is the rotation of just the background shape, not the active icon or number</word>
<word key="custombadge_number_overlay" js="0">Badge Number</word>
<word key="custombadge_number_overlay_desc" js="0">The Badge Number will show on top of the rest of the badge in the lower right corner. It is useful if you have a series of badges for similar achievements, for example 10 days active vs 5 days active.</word>
<word key="custombadge_icon_size" js="0">Icon Size</word>
<word key="custombadge_icon_size_desc" js="0">Depending on the shape of the badge and the individual icon selected, the size may need to be manually adjusted to look right</word>
<word key="acplog__achievement_settings" js="0">Adjusted achievement settings</word>
<word key="acp_rank_points_for_next" js="0">Points for next rank:</word>
<word key="acp_profile_points" js="0">%s points</word>
@@ -8085,7 +8110,7 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="acp_achievements_import_option_badge_wipe" js="0">Remove existing unassigned badges</word>
<word key="acp_achievements_import_option_badge_wipe_desc" js="0">Remove all badges not assigned to a rule before importing.</word>
<word key="acp_achievements_rebuild_not_checked" js="0">Please check the confirm box before submitting this rebuild</word>
<word key="acp_notifications_cannot_use_web_push" js="0"><![CDATA[<strong>Web Push Unavailable</strong><br>Unfortunately, your server does not have the <a href='http://php.net/manual/en/book.gmp.php'>GMP PHP extension</a> installed. Please contact your host or consider switching to <a href='https://invisioncommunity.com/buy'>Invision Cloud Community</a> which has Web Push Notifications enabled.]]></word>
<word key="acp_notifications_cannot_use_web_push" js="0"><![CDATA[<strong>Web Push Unavailable</strong><br>Unfortunately, your server does not have the <a href='https://php.net/manual/en/book.gmp.php'>GMP PHP extension</a> installed. Please contact your host or consider switching to <a href='https://invisioncommunity.com/buy'>Invision Cloud Community</a> which has Web Push Notifications enabled.]]></word>
<word key="achievements_profile_rank_progress" js="0">Rank Progress</word>
<word key="profile_rank_progress_blurb_percentage" js="0"><![CDATA[%s has earned <strong>%s of %s</strong> ranks, and is in the <strong>top %s&percnt;</strong> of all members!]]></word>
<word key="profile_rank_progress_blurb" js="0"><![CDATA[%s has earned <strong>%s of %s</strong> ranks.]]></word>
@@ -8226,9 +8251,11 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="webhook_club_member_added" js="0">Fired when a member joins a club</word>
<word key="webhook_club_member_removed" js="0">Fired when a member leaves a club</word>
<word key="webhook_contentitem_created" js="0">Fired when %s is created</word>
<word key="webhook_contentitem_edited" js="0">Fired when %s is edited</word>
<word key="webhook_content_promoted" js="0">Fired when a content item gets featured</word>
<word key="webhook_content_marked_solved" js="0">Fired when a content item gets marked as solved</word>
<word key="webhook_contentitem_deleted" js="0">Fired when %s is deleted</word>
<word key="webhook_contentitem_modaction" js="0">Fired when a modaction is performed on %s</word>
<word key="webhook_logs_success" js="0">Prune webhook success requests and responses</word>
<word key="acplog__webhook_settings" js="0">Adjusted webhook settings</word>
<word key="webhook_content_type" js="0">Content Type</word>
@@ -8865,7 +8892,7 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="login_bad_username_or_password" js="0">The email or password was incorrect. Please try again (make sure your caps lock is off).</word>
<word key="login_err_locked_unlock" js="0">Your account has been locked. Try again in {# [1:minute][?:minutes]}.</word>
<word key="login_err_locked_nounlock" js="0">Your account has been locked. Try again later.</word>
<word key="sign_in_with_these" js="0">Or sign in with one of these services</word>
<word key="sign_in_with_these" js="0">Or sign in with...</word>
<word key="login_err_remote_validate" js="0"><![CDATA[You must validate your account at another site before you can log in successfully. Please <a href='%s' target='_blank' rel='noopener'>click here</a> to validate your account.]]></word>
<word key="login_connect_generic_error" js="0">There was an error processing your login request at one of the sites in our network.</word>
<word key="invalid_login_as_user_key" js="0">Secure login key mismatch</word>
@@ -9259,6 +9286,10 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="club_node_public_no" js="0">Club members can view and participate</word>
<word key="club_node_public_view" js="0">Anyone can view</word>
<word key="club_node_public_participate" js="0">Anyone can view and participate</word>
<word key="club_node_creators" js="0">Who can create content?</word>
<word key="club_node_creators_0" js="0">All club members</word>
<word key="club_node_creators_1" js="0">Club Moderators only</word>
<word key="club_node_creators_1_desc" js="0">Club members can still reply to content</word>
<word key="menu__core_clubs" js="0">Clubs</word>
<word key="menu__core_clubs_clubs" js="0">Clubs</word>
<word key="menu__core_clubs_settings" js="0">Settings</word>
@@ -9352,6 +9383,7 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="filestorage__core_Clubs" js="0">Clubs Images</word>
<word key="filestorage__core_ClubField" js="0">Club Custom Fields</word>
<word key="club_filter_type" js="0">Club Type</word>
<word key="club_filter_name" js="0">Club Name</word>
<word key="f_filterable" js="0">Allow Filtering?</word>
<word key="club_member" js="0">You are a member of this club</word>
<word key="club_expired" js="0">Your membership for this club has expired</word>
@@ -9405,7 +9437,7 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="club_moderation" js="0">Permissions</word>
<word key="clubs_default_view" js="0">Default View</word>
<word key="clubs_allow_view_change" js="0">Allow users to choose view?</word>
<word key="club_node" js="0">%s %s</word>
<word key="club_node" js="0">%s: %s</word>
<word key="clubs_paid_settings" js="0">Paid Clubs</word>
<word key="clubs_paid_on" js="0">Enable Paid Clubs?</word>
<word key="clubs_paid_on_desc" js="0"><![CDATA[If enabled, users who have permission will be able to create clubs for which a membership fee must be paid to join.<br>You can control which groups can create paid clubs from the <a href='{internal.app=core&module=members&controller=groups}'>Groups</a> page.<br>When someone purchases a paid club membership, the money will be added to the club owner's account credit. You can control how users can withdraw account credit from the <a href='{internal.app=nexus&module=payments&controller=payouts&do=settings}'>Withdrawals</a> page.]]></word>
@@ -9651,6 +9683,8 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="dev_listeners_PackageListenerType" js="0">Commerce Package Listener</word>
<word key="dev_listeners_NodeListenerType" js="0">Node Listener</word>
<word key="dev_listeners_ClubListenerType" js="0">Club Listener</word>
<word key="dev_listeners_PollListenerType" js="0">Poll Listener</word>
<word key="dev_listeners_FileListenerType" js="0">File Listener</word>
<word key="dev_schema" js="0">Database Schema</word>
<word key="dev_versions" js="0">Versions</word>
<word key="dev_hooks" js="0">Hooks</word>
@@ -9966,6 +10000,7 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="extension_form_type__registration" js="0">Registration Form</word>
<word key="extension_form_type__checkout" js="0">Checkout Form</word>
<word key="extension_tab_key" js="0">Tab Key</word>
<word key="extension_key" js="0">Extension Key</word>
<word key="extension_statistics_page" js="0">Statistics Page</word>
<word key="extension_acp_notify_group" js="0">Notification Group</word>
<word key="extension_acp_notify_group_desc" js="0">Identifier for what to group this notification type with on the settings form</word>
@@ -11084,9 +11119,8 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="stream_view_more" js="0">View More</word>
<word key="acplog__streams_restored" js="0">Restored default activity streams</word>
<word key="acplog__all_activity_settings" js="0">Edited All Activity stream settings</word>
<word key="editor_attach_drag" js="0">Drag files here to attach, or</word>
<word key="editor_attach_choose_drag" js="0">choose files...</word>
<word key="editor_attach_choose_nodrag" js="0">Add Files</word>
<word key="editor_attach_desc_small" js="0">Select files to upload..</word>
<word key="editor_attach_desc_large" js="0"><![CDATA[Drag files here to attach, or <span>choose files...</span>]]></word>
<word key="editor_attach_other" js="0">Other Media</word>
<word key="editor_insert_existing_file" js="0">Insert existing attachment</word>
<word key="editor_insert_existing_image" js="0">Insert existing image</word>
@@ -11471,6 +11505,7 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="tags_landing_limit_desc" js="0">Maximum number of items that will be shown on the landing page</word>
<word key="tagged_items_number" js="0">{# [1:item][?:items]}</word>
<word key="can_pin_tagged" js="0">Can Feature Content on Tag Pages</word>
<word key="can_edit_tags" js="0">Can edit tag properties</word>
<word key="queue_converting_open_tags" js="0">Converting Tags</word>
<word key="pin_to_tag" js="0">Feature on Page</word>
<word key="tag_pin_info" js="0">This content will also appear on the Featured Content page.</word>
@@ -11492,6 +11527,16 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="block_tags_desc" js="0">Show content tagged with one or more specified tags</word>
<word key="copy_tag_text" js="0">Copy of %s</word>
<word key="filestorage__core_Tags" js="0">Tags</word>
<word key="tag_tools" js="0">Tools</word>
<word key="merge_tag_tool" js="0">Merge Tags</word>
<word key="tags_mass_delete" js="0">Bulk Delete</word>
<word key="tag_merge_from" js="0">Merge From</word>
<word key="tag_merge_to" js="0">Merge To</word>
<word key="err__bad_tag_merge" js="0">Destination Tag cannot be included in the Source Tag list</word>
<word key="tag_merge_requested" js="0">Tags have been queued for merge</word>
<word key="queue_merging_tag" js="0">Merging Tag %s</word>
<word key="tag_merge_processing" js="0"><![CDATA[<em>Merge in Progress</em>]]></word>
<word key="tag_to_delete" js="0">Tags</word>
<word key="js_num_comments" js="1">{# [1:Comment][?:Comments]}</word>
<word key="js_num_reviews" js="1">{# [1:Review][?:Reviews]}</word>
<word key="js_num_mod_comments" js="1">{# Moderator [1:Comment][?:Comments]}</word>
@@ -11555,6 +11600,7 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="time_1_hour_ago" js="1">1 hour ago</word>
<word key="time_other" js="1">On {{time}}</word>
<word key="time_at" js="1">at</word>
<word key="tag_delete_confirm_detail" js="1">Please confirm that you want to delete these tags. This action cannot be undone.</word>
<word key="validation_invalid" js="1">The value entered is not valid</word>
<word key="validation_max" js="1">Maximum allowed value is {{data[1]}}</word>
<word key="validation_min" js="1">Minimum allowed value is {{data[1]}}</word>
@@ -11638,7 +11684,7 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="core_pagebuilder_area-no_options" js="1">The currently selected area has no available layout options.</word>
<word key="core_pagebuilder_area-move-up" js="1">Move area up</word>
<word key="core_pagebuilder_area-move-down" js="1">Move area down</word>
<word key="page_editor_cta" js="1">
<word key="page_editor_cta" js="1">
Drag and drop widgets here</word>
<word key="table_of_contents_add" js="1">Add to Table of Contents</word>
<word key="table_of_contents_remove" js="1">Remove from Table of Contents</word>
@@ -12087,8 +12133,21 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="ipsFa__fas" js="1">solid</word>
<word key="iconpicker_icon_cannot_add" js="1">You have added the maximum allowed icons</word>
<word key="iconpicker_prompt" js="1">Search for an icon</word>
<word key="iconpicker_error_fatal" js="1">Cannot search Icons at this time</word>
<word key="ips_icon_picker__tab_fa" js="1">Icons</word>
<word key="ips_icon_picker__tab_emoji" js="1">Emojis</word>
<word key="iconpicker_selected_icons" js="1">Selected Icons</word>
<word key="iconpicker_submit" js="1">Select {!# [1: icon][?:# icons]}</word>
<word key="iconpicker_no_results" js="1">😭 No Results</word>
<word key="iconpicker_category--all_icons" js="1">All Icons</word>
<word key="iconpicker_category--activities" js="1">Activities</word>
<word key="iconpicker_category--animals_nature" js="1"><![CDATA[Animals & Nature]]></word>
<word key="iconpicker_category--flags" js="1">Flags</word>
<word key="iconpicker_category--food_drink" js="1"><![CDATA[Food & Drink]]></word>
<word key="iconpicker_category--objects" js="1">Objects</word>
<word key="iconpicker_category--smileys_people" js="1"><![CDATA[Smileys & People]]></word>
<word key="iconpicker_category--symbols" js="1">Symbols</word>
<word key="iconpicker_category--travel_places" js="1"><![CDATA[Travel & Places]]></word>
<word key="mediaNoneSelected" js="1">No items selected</word>
<word key="mediaMultipleSelected" js="1">{# [1:item selected][?:items selected]}</word>
<word key="mediaEmptyFolder" js="1">There are no items in this folder yet</word>
@@ -12129,6 +12188,7 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="editor_tool--boxwidth" js="1">Box Width</word>
<word key="editor_tool--boxmode" js="1">Expandable</word>
<word key="editor_tool--box-options" js="1">Box Options</word>
<word key="editor_tool--media-options" js="1">Media Options</word>
<word key="editor_tool--hr" js="1">Horizontal Rule</word>
<word key="editor_tool--stockreply" js="1">Stock Reply</word>
<word key="editor_tool--giphy" js="1">Search GIF</word>
@@ -12151,11 +12211,11 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="editor_tool--width-small" js="1">Small</word>
<word key="editor_tool--width-automatic" js="1">Default</word>
<word key="editor_tool--width-custom" js="1">Custom</word>
<word key="editor_tool--width-image-desc" js="1">Width: </word>
<word key="editor_tool--width-image-desc" js="1">Width</word>
<word key="editor_tool--width-resize-message" js="1">Drag to resize</word>
<word key="editor_tool--float-left" js="1">Left Wrap</word>
<word key="editor_tool--float-right" js="1">Right Wrap</word>
<word key="editor_tool--float-regular" js="1">Inline</word>
<word key="editor_tool--float-regular" js="1">Default</word>
<word key="editor_tool--table" js="1">Table</word>
<word key="editor_tool--tableOptions" js="1">Configure Table</word>
<word key="editor_tool--globalTableOptions" js="1">Table Actions</word>
@@ -12175,6 +12235,38 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="editor_tool--table-splitCell" js="1">Split Cell</word>
<word key="editor_tool--table-mergeCells" js="1">Merge Cells</word>
<word key="editor_tool--table-toggleHeaderCell" js="1">Toggle Header Cell</word>
<word key="editor_tool--autosave-message-before" js="1">The content was restored from an automatically saved draft. Click to </word>
<word key="editor_tool--autosave-message-inner" js="1">clear draft</word>
<word key="editor_tool--autosave-message-after" js="1">.</word>
<word key="editor_tool--autoembed-message-before" js="1">A URL was inserted as embedded content. Click to </word>
<word key="editor_tool--autoembed-message-inner" js="1">insert as link</word>
<word key="editor_tool--autoembed-message-after" js="1"> instead.</word>
<word key="editor_tool--autolink-message-before" js="1">Text was automatically converted to a link. Click to </word>
<word key="editor_tool--autolink-message-inner" js="1">undo</word>
<word key="editor_tool--autolink-message-after" js="1">.</word>
<word key="editor_color--root" js="1">Default</word>
<word key="editor_color--soft" js="1">Faint</word>
<word key="editor_color--hard" js="1">Prominent</word>
<word key="editor_color--theme_1" js="1">Background 1</word>
<word key="editor_color--theme_2" js="1">Background 2</word>
<word key="editor_color--theme_3" js="1">Background 3</word>
<word key="editor_color--theme_4" js="1">Background 4</word>
<word key="editor_color--theme_5" js="1">Background 5</word>
<word key="editor_color--theme_6" js="1">Background 6</word>
<word key="editor_color--red" js="1">Red</word>
<word key="editor_color--orange" js="1">Orange</word>
<word key="editor_color--yellow" js="1">Yellow</word>
<word key="editor_color--green" js="1">Green</word>
<word key="editor_color--blue" js="1">Blue</word>
<word key="editor_color--indigo" js="1">Indigo</word>
<word key="editor_color--violet" js="1">Violet</word>
<word key="editor_color--box-match-prefix" js="1">Match</word>
<word key="editor_font_default" js="1">Default</word>
<word key="editor_attachment_upload_placeholder" js="1">Uploading Attachment...</word>
<word key="editor_link_panel--text" js="1">Text</word>
<word key="editor_link_panel--text-placeholder" js="1">Link text</word>
<word key="editor_link_panel--url" js="1">Url</word>
<word key="editor_link_panel--url-placeholder" js="1">E.g. https://google.com</word>
<word key="editor_code--plaintext" js="1">Plain Text</word>
<word key="editor_code--c" js="1">C</word>
<word key="editor_code--xml" js="1">HTML/XML</word>
@@ -12212,6 +12304,16 @@ In PHP8, altering overloaded method signatures within a subclass results in a fa
<word key="editor_add_box_title" js="1">Add a box title...</word>
<word key="editor_giphy_prompt" js="1">Search for GIFs...</word>
<word key="editor_font_type_generic" js="1">OS Native</word>
<word key="editor_font_size_default" js="1">(default)</word>
<word key="editor_node--paragraph" js="1">Paragraph</word>
<word key="editor_node--heading_1" js="1">Heading 1</word>
<word key="editor_node--heading_2" js="1">Heading 2</word>
<word key="editor_node--heading_3" js="1">Heading 3</word>
<word key="editor_node--heading_4" js="1">Heading 4</word>
<word key="editor_node--heading_5" js="1">Heading 5</word>
<word key="editor_node--heading_6" js="1">Heading 6</word>
<word key="editor_node--code_block" js="1">Code Block</word>
<word key="editor_giphy_attribution" js="1">Powered by </word>
<word key="moderator_alert_reply_ready" js="1">Your reply has been sent</word>
<word key="moderator_alert_reply_view" js="1">View Reply</word>
<word key="ips.ui.controls.cannot_load" js="1">This content cannot be loaded at this time.</word>
+1 -1
View File
@@ -1 +1 @@
{"build":1736969781011}
{"build":1744217344745}
+52 -228
View File
@@ -2922,7 +2922,7 @@
"g_signature_limits": "0:::::",
"g_hide_online_list": "0",
"g_bitoptions": "26148875",
"g_bitoptions2": "24",
"g_bitoptions2": "8216",
"g_pm_perday": "-1",
"g_mod_post_unit": "5",
"g_ppd_limit": "500",
@@ -5220,6 +5220,18 @@
"zerofill": false,
"auto_increment": false,
"binary": false
},
"pf_contains_pii": {
"name": "pf_contains_pii",
"type": "TINYINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": "0",
"comment": "",
"unsigned": false,
"auto_increment": false
}
},
"indexes": {
@@ -8776,20 +8788,6 @@
"values": [],
"zerofill": false
},
"mt_hasattach": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 5,
"name": "mt_hasattach",
"type": "SMALLINT",
"unsigned": false,
"values": [],
"zerofill": false
},
"mt_starter_id": {
"allow_null": false,
"auto_increment": false,
@@ -8888,20 +8886,6 @@
"values": [],
"zerofill": false
},
"mt_is_draft": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 1,
"name": "mt_is_draft",
"type": "INT",
"unsigned": false,
"values": [],
"zerofill": false
},
"mt_is_deleted": {
"allow_null": false,
"auto_increment": false,
@@ -11872,203 +11856,6 @@
"collation": "utf8mb4_unicode_ci",
"engine": "InnoDB"
},
"core_theme_conflict": {
"name": "core_theme_conflict",
"columns": {
"conflict_id": {
"allow_null": false,
"auto_increment": true,
"binary": false,
"comment": "",
"decimals": null,
"default": null,
"length": 10,
"name": "conflict_id",
"type": "INT",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_set_id": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "conflict_set_id",
"type": "INT",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_item_id": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "conflict_item_id",
"type": "INT",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_type": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "html",
"length": 10,
"name": "conflict_type",
"type": "VARCHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_app": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "",
"length": 100,
"name": "conflict_app",
"type": "VARCHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_location": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "",
"length": 255,
"name": "conflict_location",
"type": "VARCHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_path": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "",
"length": 255,
"name": "conflict_path",
"type": "VARCHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_name": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "",
"length": 255,
"name": "conflict_name",
"type": "VARCHAR",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_data": {
"allow_null": true,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": null,
"length": 0,
"name": "conflict_data",
"type": "TEXT",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_content": {
"allow_null": true,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": null,
"length": 0,
"name": "conflict_content",
"type": "MEDIUMTEXT",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_long_version": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "conflict_long_version",
"type": "INT",
"unsigned": false,
"values": [],
"zerofill": false
},
"conflict_date": {
"allow_null": false,
"auto_increment": false,
"binary": false,
"comment": "",
"decimals": null,
"default": "0",
"length": 10,
"name": "conflict_date",
"type": "INT",
"unsigned": false,
"values": [],
"zerofill": false
}
},
"indexes": {
"PRIMARY": {
"type": "primary",
"name": "PRIMARY",
"length": [
null
],
"columns": [
"conflict_id"
]
},
"conflict_set_id": {
"type": "key",
"name": "conflict_set_id",
"length": [
null,
null
],
"columns": [
"conflict_set_id",
"conflict_type"
]
}
}
},
"core_theme_content_history": {
"name": "core_theme_content_history",
"columns": {
@@ -21217,6 +21004,18 @@
"type": "TINYINT",
"unsigned": true,
"values": []
},
"creators": {
"name": "creators",
"type": "TINYINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": true,
"default": "0",
"comment": "",
"unsigned": true,
"auto_increment": false
}
},
"indexes": {
@@ -29131,7 +28930,8 @@
"circle",
"ngon",
"star",
"flower"
"flower",
"no_shape"
],
"allow_null": false,
"default": "circle",
@@ -29145,7 +28945,7 @@
"length": null,
"decimals": null,
"values": null,
"allow_null": false,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
@@ -29222,6 +29022,30 @@
"comment": "",
"unsigned": false,
"auto_increment": false
},
"file": {
"name": "file",
"type": "VARCHAR",
"length": 255,
"decimals": null,
"values": null,
"allow_null": true,
"default": null,
"comment": "",
"unsigned": false,
"auto_increment": false
},
"icon_size": {
"name": "icon_size",
"type": "TINYINT",
"length": null,
"decimals": null,
"values": null,
"allow_null": false,
"default": "3",
"comment": "relative size of the icon",
"unsigned": true,
"auto_increment": false
}
},
"indexes": {
+91 -6
View File
@@ -89,6 +89,11 @@
"default": "",
"report": "bool"
},
{
"key": "ads_txt_redirect_url",
"default": "",
"report": "bool"
},
{
"key": "ajax_pagination",
"default": "1",
@@ -316,7 +321,7 @@
},
{
"key": "club_nodes_in_apps",
"default": "",
"default": "0",
"report": "full"
},
{
@@ -936,8 +941,83 @@
},
{
"key": "ipb_reg_number",
"default": "",
"report": "bool"
"default": "LICENSE KEY GOES HERE!-123456789",
"report": "full"
},
{
"key": "ipb_license_active",
"default": "1",
"report": "full"
},
{
"key": "ipb_license_cloud",
"default": "0",
"report": "full"
},
{
"key": "ipb_license_url",
"default": "https:\/\/www.invisionpower.com\/buy\/self-hosted",
"report": "full"
},
{
"key": "ipb_license_test_url",
"default": "http:\/\/community.invisionpower.com",
"report": "full"
},
{
"key": "ipb_license_expires",
"default": "09 MAR 2037",
"report": "full"
},
{
"key": "ipb_license_product_forums",
"default": "1",
"report": "full"
},
{
"key": "ipb_license_product_calendar",
"default": "1",
"report": "full"
},
{
"key": "ipb_license_product_blog",
"default": "1",
"report": "full"
},
{
"key": "ipb_license_product_gallery",
"default": "1",
"report": "full"
},
{
"key": "ipb_license_product_downloads",
"default": "1",
"report": "full"
},
{
"key": "ipb_license_product_cms",
"default": "1",
"report": "full"
},
{
"key": "ipb_license_product_nexus",
"default": "1",
"report": "full"
},
{
"key": "ipb_license_product_copyright",
"default": "1",
"report": "full"
},
{
"key": "ipb_license_chat_limit",
"default": "0",
"report": "full"
},
{
"key": "ipb_license_support",
"default": "N/A",
"report": "full"
},
{
"key": "ipb_url_blacklist",
@@ -966,7 +1046,7 @@
},
{
"key": "ipsgeoip",
"default": "1",
"default": "0",
"report": "full"
},
{
@@ -1064,6 +1144,11 @@
"default": "",
"report": "full"
},
{
"key": "max_embeddedmedia_width",
"default": "0",
"report": "none"
},
{
"key": "max_internalembed_width",
"default": "500",
@@ -1886,12 +1971,12 @@
},
{
"key": "spam_service_enabled",
"default": "1",
"default": "0",
"report": "full"
},
{
"key": "spam_service_send_to_ips",
"default": "1",
"default": "0",
"report": "full"
},
{
File diff suppressed because it is too large. Load diff
+2 -2
View File
@@ -961,8 +961,8 @@
"name": "Link color",
"desc": "",
"refresh": false,
"light_default": "var(--i-base-contrast_5)",
"dark_default": "var(--i-base-contrast_5)",
"light_default": "var(--i-base-contrast_6)",
"dark_default": "var(--i-base-contrast_6)",
"cat": "typography"
},
"i-mobileFooter-active--ba-co": {
+33 -1
View File
@@ -268,6 +268,13 @@
"107785": "4.7.19",
"107786": "4.7.19",
"107787": "4.7.19",
"107795": "4.7.20 Beta 1",
"107796": "4.7.20 Beta 2",
"107797": "4.7.20 Beta 3",
"107798": "4.7.20 Beta 4",
"107799": "4.7.20 Beta 5",
"107800": "4.7.20",
"107801": "4.7.20",
"500001": "5.0.0 Alpha 1",
"500002": "5.0.0 Alpha 2",
"5000003": "5.0.0 Alpha 3",
@@ -316,5 +323,30 @@
"5000046": "5.0.0 Beta 14",
"5000047": "5.0.0 Beta 14.1",
"5000048": "5.0.0 Beta 14.2",
"5000049": "5.0.0"
"5000049": "5.0.0",
"5000050": "5.0.0",
"5000051": "5.0.0",
"5000052": "5.0.1",
"5000053": "5.0.1",
"5000054": "5.0.2",
"5000055": "5.0.2",
"5000056": "5.0.2",
"5000057": "5.0.3",
"5000058": "5.0.3",
"5000059": "5.0.3",
"5000060": "5.0.3",
"5000061": "5.0.4 Beta 1",
"5000062": "5.0.4 Beta 1",
"5000063": "5.0.4 Beta 1",
"5000064": "5.0.4 Beta 2",
"5000065": "5.0.4 Beta 3",
"5000066": "5.0.4",
"5000067": "5.0.5 Beta 1",
"5000068": "5.0.5 Beta 2",
"5000069": "5.0.5",
"5000070": "5.0.6 Beta 1",
"5000071": "5.0.6 Beta 2",
"5000072": "5.0.6 Beta 3",
"5000073": "5.0.6 Beta 4",
"5000074": "5.0.6"
}
+1 -1
View File
@@ -189,7 +189,7 @@
"menu_style": "menu",
"layouts": "",
"embeddable": false,
"padding": true,
"padding": false,
"default_layout": null,
"searchterms": "tag"
}
@@ -212,10 +212,13 @@ class Reaction extends ContentAchievementActionAbstract
{
$class = $exploded[0];
$content = $class::load( $exploded[1] );
$contentLink = Theme::i()->getTemplate( 'global', 'core', 'global' )->basicUrl( $content->url(), TRUE, $content->indefiniteArticle(), FALSE );
$reaction = $content->reacted( Member::load( $exploded[2] ) );
$reactionName = $reaction->_title;
if( \IPS\IPS::classUsesTrait( $content, 'IPS\Content\Reactable' ) )
{
$contentLink = Theme::i()->getTemplate( 'global', 'core', 'global' )->basicUrl( $content->url(), TRUE, $content->indefiniteArticle(), FALSE );
$reaction = $content->reacted( Member::load( $exploded[2] ) );
$reactionName = $reaction->_title;
}
}
catch ( Exception $e ) { }
@@ -82,7 +82,7 @@ class Codemirror extends BuildAbstract
*
* @return void
*/
protected function finish() : void
public function finish() : void
{
}
@@ -90,6 +90,6 @@ class GeoIP extends CommunityEnhancementsAbstract
*/
public function toggle( bool $enabled ) : void
{
Settings::i()->changeValues( array( 'ipsgeoip' => $enabled ) );
Settings::i()->changeValues( array( 'ipsgeoip' => 0 ) );
}
}
@@ -81,7 +81,7 @@ class GoogleAnalytics extends CommunityEnhancementsAbstract
$form->add( new YesNo( 'ga_enabled', Settings::i()->ga_enabled, FALSE, array(
'togglesOn' => [ 'ga_code' ]
) ) );
$form->add( new Codemirror( 'ga_code', Settings::i()->ga_code, null, array( 'height' => 150, 'codeModeAllowedLanguages' => [ 'xml' ] ), function( $val ){
$form->add( new Codemirror( 'ga_code', Settings::i()->ga_code, null, array( 'height' => 150, 'codeModeAllowedLanguages' => [ 'html' ] ), function( $val ){
if( empty( $val ) and Request::i()->ga_enabled_checkbox )
{
throw new InvalidArgumentException('form_required');
@@ -92,8 +92,8 @@ class GoogleTagManager extends CommunityEnhancementsAbstract
$form->add( new YesNo( 'core_datalayer_use_gtm', Settings::i()->core_datalayer_use_gtm, FALSE ) );
$form->add( new Text( 'core_datalayer_gtmkey', Settings::i()->core_datalayer_gtmkey, FALSE ) );
}
$form->add( new Codemirror( 'googletag_head_code', Settings::i()->googletag_head_code, FALSE, array( 'height' => 150, 'codeModeAllowedLanguages' => [ 'xml' ] ), NULL, NULL, NULL, 'googletag_head_code' ) );
$form->add( new Codemirror( 'googletag_noscript_code', Settings::i()->googletag_noscript_code, FALSE, array( 'height' => 150, 'codeModeAllowedLanguages' => [ 'xml' ] ), NULL, NULL, NULL, 'googletag_noscript_code' ) );
$form->add( new Codemirror( 'googletag_head_code', Settings::i()->googletag_head_code, FALSE, array( 'height' => 150, 'codeModeAllowedLanguages' => [ 'html' ] ), NULL, NULL, NULL, 'googletag_head_code' ) );
$form->add( new Codemirror( 'googletag_noscript_code', Settings::i()->googletag_noscript_code, FALSE, array( 'height' => 150, 'codeModeAllowedLanguages' => [ 'html' ] ), NULL, NULL, NULL, 'googletag_noscript_code' ) );
if ( $form->values() )
{
@@ -86,7 +86,7 @@ class Matomo extends CommunityEnhancementsAbstract
$form = new Form;
$form->add( new YesNo( 'matomo_enabled', Settings::i()->matomo_enabled, FALSE, array(), $validation ) );
$form->add( new Codemirror( 'matomo_code', Settings::i()->matomo_code, FALSE, array( 'height' => 150, 'codeModeAllowedLanguages' => [ 'xml' ] ), NULL, NULL, NULL, 'matomo_code' ) );
$form->add( new Codemirror( 'matomo_code', Settings::i()->matomo_code, FALSE, array( 'height' => 150, 'codeModeAllowedLanguages' => [ 'html' ] ), NULL, NULL, NULL, 'matomo_code' ) );
if ( $form->values() )
{
@@ -48,19 +48,7 @@ class LatestNews extends DashboardAbstract
*/
public function getBlock(): string
{
$ipsNews = ( isset( Store::i()->ips_news ) ) ? json_decode( Store::i()->ips_news, TRUE ) : array();
if( empty( $ipsNews ) or $ipsNews['time'] < ( time() - 43200 ) )
{
try
{
$this->refreshNews();
$ipsNews = ( isset( Store::i()->ips_news ) ) ? json_decode( Store::i()->ips_news, TRUE ) : array();
}
catch( Exception | RuntimeException $e ) {}
}
return Theme::i()->getTemplate( 'dashboard' )->ipsNews( $ipsNews['content'] ?? NULL );
return '';
}
/**
@@ -151,23 +151,20 @@ class Attachment extends EditorMediaAbstract
if ( isset( static::$loadedExtensions[ $map['location_key'] ] ) )
{
if( method_exists( static::$loadedExtensions[$map['location_key']], 'attachmentLookup'))
try
{
try {
$url = static::$loadedExtensions[$map['location_key']]->attachmentLookup($map['id1'], $map['id2'], $map['id3']);
$url = static::$loadedExtensions[$map['location_key']]->attachmentLookup($map['id1'], $map['id2'], $map['id3']);
/* Test url() method to prevent BadMethodCallException from the template below - an attachment may be
located within a Node class that doesn't support urls, such as CMS Blocks. */
/* Test url() method to prevent BadMethodCallException from the template below - an attachment may be
located within a Node class that doesn't support urls, such as CMS Blocks. */
if ($url instanceof Content or $url instanceof Model){
$url->url();
}
static::$locations[$attachId][] = $url;
} catch (LogicException | BadMethodCallException $e) {
if ($url instanceof Content or $url instanceof Model){
$url->url();
}
static::$locations[$attachId][] = $url;
}
catch ( LogicException | BadMethodCallException $e) {}
}
}
}
@@ -0,0 +1,94 @@
<?php
/**
* @brief File Storage Extension: CustomBadges
* @author <a href='https://www.invisioncommunity.com'>Invision Power Services, Inc.</a>
* @copyright (c) Invision Power Services, Inc.
* @license https://www.invisioncommunity.com/legal/standards/
* @package Invision Community
* @since 10 Mar 2025
*/
namespace IPS\core\extensions\core\FileStorage;
/* To prevent PHP errors (extending class does not exist) revealing path */
use IPS\Db;
use IPS\Extensions\FileStorageAbstract;
use IPS\File as SystemFile;
use OutOfRangeException;
use UnderflowException;
use function defined;
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
header( ( $_SERVER['SERVER_PROTOCOL'] ?? 'HTTP/1.0' ) . ' 403 Forbidden' );
exit;
}
/**
* File Storage Extension: CustomBadges
*/
class CustomBadges extends FileStorageAbstract
{
/**
* Count stored files
*
* @return int
*/
public function count(): int
{
return (int) Db::i()->select( "count(*)", 'core_custom_badges' )->first();
}
/**
* Move stored files
*
* @param int $offset This will be sent starting with 0, increasing to get all files stored by this extension
* @param int $storageConfiguration New storage configuration ID
* @param int|NULL $oldConfiguration Old storage configuration ID
* @throws UnderflowException When file record doesn't exist. Indicating there are no more files to move
* @return void
*/
public function move( int $offset, int $storageConfiguration, int $oldConfiguration=NULL ) : void
{
$row = Db::i()->select( '*', 'core_custom_badges', null, 'id', [ $offset, 1 ] )->first();
try
{
$file = SystemFile::get( $oldConfiguration ?: 'core_CustomBadges', $row['file'] )->move( $storageConfiguration );
if( (string) $file != $row['file'] )
{
Db::i()->update( 'core_custom_badges', [ 'file' => (string) $file ], [ 'id=?', $row['id'] ] );
}
}
catch( OutOfRangeException ){}
}
/**
* Check if a file is valid
*
* @param SystemFile|string $file The file path to check
* @return bool
*/
public function isValidFile( SystemFile|string $file ): bool
{
return (bool) Db::i()->select( 'count(*)', 'core_custom_badges', [ 'file=?', (string) $file ] )->first();
}
/**
* Delete all stored files
*
* @return void
*/
public function delete() : void
{
foreach( Db::i()->select( '*', 'core_custom_badges' ) as $row )
{
try
{
SystemFile::get( 'core_CustomBadges', $row['file'] )->delete();
}
catch( OutOfRangeException ){}
}
}
}
@@ -20,6 +20,7 @@ use IPS\Helpers\Form\Translatable;
use IPS\Http\Url;
use IPS\Lang;
use IPS\Member;
use OutOfRangeException;
use function defined;
use function json_decode;
@@ -158,14 +159,12 @@ class Menu extends FrontNavigationAbstract
{
foreach ( $frontNavigation[ $this->id ] as $item )
{
if ( Application::appIsEnabled( $item['app'] ) )
try
{
$class = 'IPS\\' . $item['app'] . '\extensions\core\FrontNavigation\\' . $item['extension'];
if ( class_exists( $class ) )
{
$this->children[ $item['id'] ] = new $class( json_decode( $item['config'], TRUE ), $item['id'], $item['permissions'], $item['menu_types'], json_decode( (string) $item['icon'], TRUE ) );
}
$class = Application::getExtensionClass( $item['app'], 'FrontNavigation', $item['extension'] );
$this->children[ $item['id'] ] = new $class( json_decode( $item['config'], TRUE ), $item['id'], $item['permissions'], $item['menu_types'], json_decode( (string) $item['icon'], TRUE ) );
}
catch( OutOfRangeException ){}
}
}
}
@@ -24,6 +24,7 @@ use IPS\Http\Url;
use IPS\Member;
use IPS\Request;
use OutOfRangeException;
use function class_exists;
use function count;
use function defined;
use function is_object;
@@ -59,7 +60,7 @@ class Node extends FrontNavigationAbstract
{
parent::__construct( $configuration, $id, $permissions, $menuTypes, $icon );
if ( count( $configuration ) and isset( $configuration['nodeClass'] ) and ! empty( $configuration['id'] ) )
if ( count( $configuration ) and isset( $configuration['nodeClass'] ) and class_exists( $configuration['nodeClass'] ) and ! empty( $configuration['id'] ) )
{
try
{
@@ -26,10 +26,14 @@ use IPS\Member;
use IPS\Member\Group;
use IPS\Settings;
use IPS\Theme;
use function array_filter;
use function array_merge;
use function count;
use function defined;
use function explode;
use function intval;
use function is_array;
use const ARRAY_FILTER_USE_KEY;
if ( !defined( '\IPS\SUITE_UNIQUE_KEY' ) )
{
@@ -204,8 +208,16 @@ class Content extends GroupFormAbstract
/* Moderation */
$form->addHeader( 'group_moderation' );
$form->add( new CheckboxSet( 'g_can_report', !$group->g_can_report ? 0 : ( $group->g_can_report == '1' ? '1' : explode( ',', $group->g_can_report ) ), FALSE, array(
'options' => array_filter( array_merge( array( 'IPS\core\Messenger\Message' => 'personal_conversation_pl' ), $contentClasses ), function( $class ) {
return IPS::classUsesTrait( $class, 'IPS\Content\Reportable' );
}, ARRAY_FILTER_USE_KEY ),
'unlimited' => '1'
) ) );
if( $group->g_id != Settings::i()->guest_group )
{
$form->add( new YesNo( 'gbw_can_mark_helpful', $group->g_bitoptions['gbw_can_mark_helpful'] ) );
$form->add( new YesNo( 'gbw_immune_auto_mod', $group->g_bitoptions['gbw_immune_auto_mod'] ) );
$form->add( new CheckboxSet( 'g_lock_unlock_own', !$group->g_lock_unlock_own ? 0 : ( $group->g_lock_unlock_own == '1' ? '1' : explode( ',', $group->g_lock_unlock_own ) ), FALSE, array(
'options' => array_filter( $contentClasses, function( $class ) {
@@ -215,12 +227,6 @@ class Content extends GroupFormAbstract
) ) );
}
$form->add( new CheckboxSet( 'g_can_report', !$group->g_can_report ? 0 : ( $group->g_can_report == '1' ? '1' : explode( ',', $group->g_can_report ) ), FALSE, array(
'options' => array_filter( array_merge( array( 'IPS\core\Messenger\Message' => 'personal_conversation_pl' ), $contentClasses ), function( $class ) {
return IPS::classUsesTrait( $class, 'IPS\Content\Reportable' );
}, ARRAY_FILTER_USE_KEY ),
'unlimited' => '1'
) ) );
$form->add( new YesNo( 'g_avoid_flood', $group->g_avoid_flood ) );
$form->add( new YesNo( 'g_avoid_q', $group->g_avoid_q, FALSE, array( 'togglesOff' => array( 'g_mod_preview' ), 'toggleValue' => FALSE ) ) );
$form->add( new YesNo( 'g_mod_preview', $group->g_mod_preview, FALSE, array( 'togglesOn' => array( 'g_mod_post_unit' ) ), NULL, NULL, NULL, 'g_mod_preview' ) );
@@ -314,7 +320,7 @@ class Content extends GroupFormAbstract
break;
}
$bwKeys = array( 'gbw_disable_tagging', 'gbw_disable_prefixes', 'gbw_delete_attachments', 'gbw_post_highlight', 'gbw_promote', 'gbw_immune_auto_mod', 'gbw_hide_inline_modevents', 'gbw_posted_in', 'gbw_posted_in_secondary' );
$bwKeys = array( 'gbw_disable_tagging', 'gbw_disable_prefixes', 'gbw_delete_attachments', 'gbw_post_highlight', 'gbw_promote', 'gbw_immune_auto_mod', 'gbw_hide_inline_modevents', 'gbw_posted_in', 'gbw_posted_in_secondary', 'gbw_can_mark_helpful' );
foreach ( $bwKeys as $k )
{
@@ -222,7 +222,7 @@ class GroupSettings extends GroupFormAbstract
if( Settings::i()->signatures_enabled AND $group->g_id != Settings::i()->guest_group )
{
$form->addHeader( 'group_signatures' );
$signatureLimits = ( $group->g_id ) ? explode( ':', $group->g_signature_limits ) : array( 0, '', '', '', '', '' );
$signatureLimits = ( $group->g_id and $group->g_signature_limits ) ? explode( ':', $group->g_signature_limits ) : array( 0, '', '', '', '', '' );
$form->add( new YesNo( 'g_use_signatures', !$signatureLimits[0], FALSE, array( 'togglesOn' => array( 'g_signature_limit', 'g_sig_max_images', 'g_sig_max_image_size', 'g_sig_max_urls', 'g_sig_max_lines' ) ), NULL, NULL, NULL, 'g_use_signatures' ) );
$form->add( new Custom( 'g_signature_limit', array( $group->g_sig_unit, $group->g_bitoptions['gbw_sig_unit_type'] ), FALSE, array( 'getHtml' => function( $element )
{
@@ -129,12 +129,13 @@ class Content extends ExtensionGenerator
try
{
$comment = $class::load( $data[ $class::$databasePrefix . $class::$databaseColumnId ] );
return Theme::i()->getTemplate( 'global', 'core', 'global' )->basicUrl( $comment->url(), TRUE, $comment->item()->mapped('title') );
}
catch ( OutOfRangeException $e )
{
return '';
if( $comment->canView() )
{
return Theme::i()->getTemplate( 'global', 'core', 'global' )->basicUrl( $comment->url(), TRUE, $comment->item()->mapped('title') );
}
}
catch ( OutOfRangeException $e ){}
return Member::loggedIn()->language()->addToStack( 'ipaddress_no_permission' );
}
);
@@ -171,7 +172,16 @@ class Content extends ExtensionGenerator
}
}
return Theme::i()->getTemplate( 'global', 'core', 'global' )->basicUrl( $class::load( $data[ $class::$databasePrefix . $class::$databaseColumnId ] )->url(), TRUE, $val );
try
{
$item = $class::load( $data[ $class::$databasePrefix . $class::$databaseColumnId ] );
if( $item->canView() )
{
return Theme::i()->getTemplate( 'global', 'core', 'global' )->basicUrl( $item->url(), TRUE, $val );
}
}
catch( OutOfRangeException ){}
return Member::loggedIn()->language()->addToStack( 'ipaddress_no_permission' );
},
);
if( isset( $class::$databaseColumnMap['container'] ) )
@@ -180,7 +190,11 @@ class Content extends ExtensionGenerator
{
$nodeClass = $class::$containerNodeClass;
$node = $nodeClass::load( $val );
return Theme::i()->getTemplate( 'global', 'core', 'global' )->basicUrl( $node->url(), TRUE, $node->_title );
if( $node->canView() )
{
return Theme::i()->getTemplate( 'global', 'core', 'global' )->basicUrl( $node->url(), TRUE, $node->_title );
}
return Member::loggedIn()->language()->addToStack( 'ipaddress_no_permission' );
};
}
@@ -243,5 +257,36 @@ class Content extends ExtensionGenerator
}
return Db::i()->select( "{$class::$databasePrefix}{$class::$databaseColumnMap['ip_address']} AS ip, count(*) AS count, MIN({$class::$databasePrefix}{$class::$databaseColumnMap['date']}) AS first, MAX({$class::$databasePrefix}{$class::$databaseColumnMap['date']}) AS last", $class::$databaseTable, array( "{$class::$databasePrefix}{$class::$databaseColumnMap['author']}=?", $member->member_id ), NULL, NULL, "{$class::$databasePrefix}{$class::$databaseColumnMap['ip_address']}" )->setKeyField( 'ip' );
}
}
/**
* Removes the logged IP address
*
* @param int $time
* @return void
*/
public function pruneIpAddresses( int $time ) : void
{
/* @var ContentClass $class */
$class = $this->class;
$classes = [ $class ];
if( isset( $class::$commentClass ) )
{
$classes[] = $class::$commentClass;
}
if( isset( $class::$reviewClass ) )
{
$classes[] = $class::$reviewClass;
}
foreach( $classes as $class )
{
if( isset( $class::$databaseColumnMap['ip_address'] ) and isset( $class::$databaseColumnMap['date'] ) )
{
Db::i()->update( $class::$databaseTable, [ $class::$databasePrefix . $class::$databaseColumnMap['ip_address'] => '' ], [
$class::$databasePrefix . $class::$databaseColumnMap['ip_address'] . ' != ? and ' . $class::$databasePrefix . $class::$databaseColumnMap['date'] . ' < ?', '', $time
] );
}
}
}
}
@@ -14,6 +14,8 @@ namespace IPS\core\extensions\core\MemberACPProfileBlocks;
use IPS\Application;
use IPS\core\MemberACPProfile\Block;
use IPS\Helpers\Menu;
use IPS\Helpers\Menu\Link;
use IPS\Http\Url;
use IPS\Login;
use IPS\Login\Handler;
@@ -77,44 +79,23 @@ class BasicInformation extends Block
$canChangePassword = FALSE;
}
$accountActions = array();
$accountActions = new Menu( 'account_actions', css: 'ipsButton ipsButton--primary ipsButton--large' );
if ( Member::loggedIn()->member_id != $this->member->member_id AND Member::loggedIn()->hasAcpRestriction( 'core', 'members', 'member_login' ) AND !$this->member->isBanned() )
{
$accountActions[] = array(
'title' => Member::loggedIn()->language()->addToStack( 'login_as_x', FALSE, array( 'sprintf' => array( $this->member->name ) ) ),
'icon' => 'key',
'link' => Url::internal( "app=core&module=members&controller=members&do=login&id={$this->member->member_id}" )->csrf(),
'class' => '',
'target' => '_blank'
);
$accountActions->add( new Link( Url::internal( "app=core&module=members&controller=members&do=login&id={$this->member->member_id}" )->csrf(), Member::loggedIn()->language()->addToStack( 'login_as_x', false, [ 'sprintf' => [ $this->member->name ] ] ), dataAttributes: [ 'target' => '_blank' ], icon: 'fa-solid fa-key' ) );
}
if ( Member::loggedIn()->hasAcpRestriction( 'core', 'members', 'members_merge' ) )
{
$accountActions[] = array(
'title' => 'merge_with_another_account',
'icon' => 'level-up',
'link' => Url::internal( "app=core&module=members&controller=members&do=merge&id={$this->member->member_id}" ),
'data' => array( 'ipsDialog' => '', 'ipsDialog-title' => Member::loggedIn()->language()->addToStack('merge') )
);
$accountActions->add( new Link( Url::internal( "app=core&module=members&controller=members&do=merge&id={$this->member->member_id}" ), 'merge_with_another_account', dataAttributes: [ 'data-ipsDialog-title' => Member::loggedIn()->language()->addToStack( 'merge' ) ], opensDialog: true, icon: 'fa-solid fa-level-up' ) );
}
if ( Member::loggedIn()->hasAcpRestriction( 'core', 'members', 'member_delete' ) and ( Member::loggedIn()->hasAcpRestriction( 'core', 'members', 'member_delete_admin' ) or !$this->member->isAdmin() ) and $this->member->member_id != Member::loggedIn()->member_id )
{
$accountActions[] = array(
'title' => 'delete',
'icon' => 'times-circle',
'link' => Url::internal( "app=core&module=members&controller=members&do=delete&id={$this->member->member_id}" ),
'data' => array( 'ipsDialog' => '', 'ipsDialog-title' => Member::loggedIn()->language()->addToStack('delete') ),
);
$accountActions->add( new Link( Url::internal( "app=core&module=members&controller=members&do=delete&id={$this->member->member_id}" ), 'delete', dataAttributes: [ 'data-ipsDialog-title' => Member::loggedIn()->language()->addToStack( 'delete' ) ], opensDialog: true, icon: 'fa-solid fa-times-circle' ) );
}
if ( Member::loggedIn()->hasAcpRestriction( 'core', 'members', 'member_export_pi' ) )
{
$accountActions[] = array(
'title' => 'member_export_pi_title',
'icon' => 'download',
'link' => Url::internal( "app=core&module=members&controller=members&do=exportPersonalInfo&id={$this->member->member_id}" ),
'data' => array( 'ipsDialog' => '', 'ipsDialog-title' => Member::loggedIn()->language()->addToStack('member_export_pi_title') )
);
$accountActions->add( new Link( Url::internal( "app=core&module=members&controller=members&do=exportPersonalInfo&id={$this->member->member_id}" ), 'member_export_pi_title', dataAttributes: [ 'data-ipsDialog-title' => Member::loggedIn()->language()->addToStack( 'member_export_pi_title' ) ], opensDialog: true, icon: 'fa-solid fa-download' ) );
}
/* Data Layer PII Option */
@@ -126,19 +107,34 @@ class BasicInformation extends Block
)
{
$enabled = !$this->member->members_bitoptions['datalayer_pii_optout'];
$accountActions[] = array(
'title' => $enabled ? 'datalayer_omit_member_pii' : 'datalayer_collect_member_pii',
'icon' => 'id-card',
'link' => Url::internal( "app=core&module=members&controller=members&do=toggleDataLayerPii&id={$this->member->member_id}" ),
);
$accountActions->add( new Link( Url::internal( "app=core&module=members&controller=members&do=toggleDataLayerPii&id={$this->member->member_id}" ), ( $enabled ? 'datalayer_omit_member_pii' : 'datalayer_collect_member_pii' ), icon: 'fa-solid fa-id-card' ) );
}
if( Member::loggedIn()->hasAcpRestriction( 'core', 'members', 'member_edit' ) )
{
$accountActions->add( new Link( $this->member->acpUrl()->setQueryString( 'do', 'edit' ), 'edit_member_account', dataAttributes: [ 'data-ipsDialog-title' => Member::loggedIn()->language()->addToStack( 'edit_member_account' ) ], opensDialog: true, icon: 'fa-solid fa-sliders' ) );
}
if( $canChangePassword )
{
$accountActions->add( new Link( $this->member->acpUrl()->setQueryString( 'do', 'password' ), ( $hasPassword ? 'edit_password' : 'set_password' ), dataAttributes: [ 'data-ipsDialog-title' => Member::loggedIn()->language()->addToStack( 'edit_password' ) ], opensDialog: true, icon: 'fa-solid fa-lock' ) );
}
/* Extensions */
foreach( Application::allExtensions( 'core', 'UserMenu' ) as $ext )
{
foreach( $ext->acpAccountActionsMenu( $this->member ) as $element )
{
$accountActions->add( $element );
}
}
$activeSubscription = FALSE;
if ( Application::appIsEnabled('nexus') and Settings::i()->nexus_subs_enabled ) // I know... this should really be a hook... I won't tell if you won't
{
$activeSubscription = Subscription::loadByMember( $this->member, true );
}
return (string) Theme::i()->getTemplate('memberprofile')->basicInformation( $this->member, $canChangePassword, $hasPassword, $activeIntegrations, $accountActions, $activeSubscription );
return (string) Theme::i()->getTemplate('memberprofile')->basicInformation( $this->member, $activeIntegrations, $accountActions, $activeSubscription );
}
}
@@ -17,6 +17,7 @@ use IPS\Application;
use IPS\core\MemberACPProfile\TabbedBlock;
use IPS\Member;
use IPS\Theme;
use OutOfRangeException;
use function defined;
use function in_array;
@@ -196,14 +197,14 @@ class ContentStatistics extends TabbedBlock
else
{
$exploded = explode( '_', $tab );
$class = 'IPS\\' . $exploded[0] . '\\extensions\\core\\MemberACPProfileContentTab\\' . $exploded[1];
if ( class_exists( $class ) )
try
{
$class = Application::getExtensionClass( $exploded[0], 'MemberACPProfileContentTab', $exploded[1] );
$ext = new $class( $this->member );
return $ext->output();
}
catch( OutOfRangeException ){}
return '';
}
}
@@ -80,6 +80,27 @@ class Reports extends Controller
{
return 'content';
}
/**
* Any counters that will be displayed in the ModCP Header.
* This should return an array of counters, where each item contains
* title (a language string)
* total
* id (optional element ID)
*
* @return array
*/
public function getCounters() : array
{
if( $this->getTab() )
{
return [
[ 'id' => 'elModCPReportCount', 'title' => 'active_reports', 'total' => Member::loggedIn()->reportCount( TRUE ) ]
];
}
return [];
}
/**
* Execute
@@ -382,8 +403,18 @@ class Reports extends Controller
}
$form->add( new Select( 'modal_author_notification', null, null, [ 'options' => $notifications ] ) );
try
{
$class = $report->class;
$thing = $class::load( $report->content_id );
}
catch( \OutOfRangeException $e )
{
Output::i()->error( 'node_error', '2S319/2', 404 );
}
/* Fix the language string */
Member::loggedIn()->language()->words['modal_author_notification'] = Member::loggedIn()->language()->addToStack('modal_author__notification', null, [ 'sprintf' => [ $report->author()->name ] ] );
Member::loggedIn()->language()->words['modal_author_notification'] = Member::loggedIn()->language()->addToStack('modal_author__notification', null, [ 'sprintf' => [ $thing->author()->name ] ] );
if ( $values = $form->values() )
{
Session::i()->csrfCheck();
@@ -64,6 +64,22 @@ class Unapproved extends ModCpAbstract
return 'content';
}
/**
* Any counters that will be displayed in the ModCP Header.
* This should return an array of counters, where each item contains
* title (a language string)
* total
* id (optional element ID)
*
* @return array
*/
public function getCounters() : array
{
return [
[ 'id' => 'elModCPApprovalCount', 'title' => 'modcp_approval', 'total' => $this->getApprovalQueueCount() ]
];
}
/**
* Execute
*
@@ -100,6 +100,7 @@ class Content extends ModeratorPermissionsAbstract
$return['can_manage_alerts'] = 'YesNo';
$return['can_pin_tagged'] = 'YesNo';
$return['can_edit_tags'] = 'YesNo';
return $return;
}
@@ -180,15 +180,15 @@ class ContentGenerator extends ExtensionGenerator
/* Return */
return $return;
}
/**
* After change
*
* @param array $moderator The moderator
* @param array $changed Values that were changed
* @param array|string $changed Values that were changed
* @return void
*/
public function onChange( array $moderator, array $changed ) : void
public function onChange( array $moderator, array|string $changed ) : void
{
/* @var Item $class */
$class = $this->class;
@@ -16,6 +16,7 @@ use IPS\Application\Module;
use IPS\Content;
use IPS\Content\Comment;
use IPS\Content\Item;
use IPS\Content\ReadMarkers;
use IPS\core\Reports\Report;
use IPS\core\Reports\Types;
use IPS\core\Warnings\Warning;
@@ -565,22 +566,26 @@ class Moderation extends NotificationsAbstract
}
$item = $notification->item;
if ( $item instanceof Comment )
{
$title = $item->item()->mapped('title');
$unread = false;
/* Unread? */
$unread = false;
if ( $item->item()->timeLastRead() instanceof DateTime )
{
$unread =( $item->item()->timeLastRead()->getTimestamp() < $notification->updated_time->getTimestamp() );
}
}
else
if( IPS::classUsesTrait( $item, ReadMarkers::class ) )
{
$title = $item->mapped('title');
$unread = (bool) ( $item->unread() );
if ( $item instanceof Comment )
{
$title = $item->item()->mapped('title');
/* Unread? */
if ( $item->item()->timeLastRead() instanceof DateTime )
{
$unread =( $item->item()->timeLastRead()->getTimestamp() < $notification->updated_time->getTimestamp() );
}
}
else
{
$title = $item->mapped('title');
$unread = (bool) ( $item->unread() );
}
}
$name = ( IPS::classUsesTrait( $item, 'IPS\Content\Anonymous' ) AND $item->isAnonymous() ) ? Member::loggedIn()->language()->addToStack( 'post_anonymously_placename' ) : $item->author()->name;
@@ -283,6 +283,12 @@ class MyStuff extends NotificationsAbstract
}
$item = ( $comment instanceof Item ) ? $comment : $comment->item();
if( !\IPS\IPS::classUsesTrait( $item, 'IPS\Content\Reactable' ) )
{
throw new OutOfRangeException;
}
$idColumn = $comment::$databaseColumnId;
$between = time();
@@ -358,6 +364,10 @@ class MyStuff extends NotificationsAbstract
}
$item = ( $comment instanceof Item ) ? $comment : $comment->item();
if( !\IPS\IPS::classUsesTrait( $item, 'IPS\Content\Reactable' ) )
{
throw new OutOfRangeException;
}
$idColumn = $comment::$databaseColumnId;
$between = time();
@@ -417,6 +427,10 @@ class MyStuff extends NotificationsAbstract
public static function parse_mobile_new_likes( Lang $language, Content $content, Member $liker ) : array
{
$item = ( $content instanceof Item ) ? $content : $content->item();
if( !\IPS\IPS::classUsesTrait( $item, 'IPS\Content\Reactable' ) )
{
throw new OutOfRangeException;
}
$idField = $item::$databaseColumnId;
$lang = Reaction::isLikeMode() ? 'notification__new_likes' : 'notification__new_react';
@@ -53,14 +53,16 @@ class MoveFiles extends QueueAbstract
public function run( array &$data, int $offset ): int
{
$exploded = explode( '_', $data['storageExtension'] );
$classname = "IPS\\{$exploded[2]}\\extensions\\core\\FileStorage\\{$exploded[3]}";
$offset = $offset ?: 0;
if ( !class_exists( $classname ) or !Application::appIsEnabled( $exploded[2] ) )
try
{
$classname = Application::getExtensionClass( $exploded[2], 'FileStorage', $exploded[3] );
}
catch( OutOfRangeException )
{
throw new \IPS\Task\Queue\OutOfRangeException;
}
$offset = $offset ?: 0;
$extension = new $classname;
for ( $i = 0; $i < $this->batch; $i++ )
@@ -51,6 +51,12 @@ class RebuildReputationLeaderboard extends QueueAbstract
try
{
$date = Db::i()->select( 'MIN(rep_date)', 'core_reputation_index' )->first();
if( empty( $date ) )
{
throw new OutOfRangeException;
}
$data = array();
/* We work a day in arrears */
@@ -15,6 +15,7 @@ use IPS\Content;
use IPS\Content\Item;
use IPS\Content\Search\Index;
use IPS\Content\Search\SearchContent;
use IPS\Content\Tag;
use IPS\Db;
use IPS\Extensions\QueueAbstract;
use IPS\Member;
@@ -152,8 +153,21 @@ class UpdateTaggedItems extends QueueAbstract
*/
public function getProgress( array $data, int $offset ): array
{
if( isset( $data['delete'] ) )
{
$title = 'queue_deleting_tag';
}
elseif( isset( $data['merge'] ) )
{
$title = 'queue_merging_tag';
}
else
{
$title = 'queue_renaming_tag';
}
return [
'text' => Member::loggedIn()->language()->addToStack( ( isset( $data['delete'] ) ? 'queue_deleting_tag' : 'queue_renaming_tag' ), true, [ 'sprintf' => [ $data['tag'] ] ] ),
'text' => Member::loggedIn()->language()->addToStack( $title, true, [ 'sprintf' => [ $data['tag'] ] ] ),
'complete' => ( $data['processed'] ? round( 100 / $data['count'] * $data['processed'], 2 ) : 0 )
];
}
@@ -167,6 +181,11 @@ class UpdateTaggedItems extends QueueAbstract
*/
public function postComplete( array $data, bool $processed = TRUE ) : void
{
/* If this was a merge, delete the tag when we're done */
$queueData = json_decode( $data['data'], true );
if( isset( $queueData['merge'] ) )
{
Tag::load( $queueData['tag'], 'tag_text' )->delete();
}
}
}
+28 -21
View File
@@ -11,6 +11,7 @@
use IPS\Application;
use IPS\Db;
use IPS\Dispatcher\External;
use IPS\Events\Event;
use IPS\File;
use IPS\Login;
use IPS\Member;
@@ -30,6 +31,8 @@ try
/* Init */
$permission = FALSE;
$loadedExtensions = array();
$relatedItem = null;
$extra = array();
/* Get attachment */
$attachment = Db::i()->select( '*', 'core_attachments', array( 'attach_id=?', Request::i()->id ) )->first();
@@ -55,36 +58,36 @@ try
}
}
if( $permission !== TRUE )
foreach ( Db::i()->select( '*', 'core_attachments_map', array( 'attachment_id=?', $attachment['attach_id'] ) ) as $map )
{
foreach ( Db::i()->select( '*', 'core_attachments_map', array( 'attachment_id=?', $attachment['attach_id'] ) ) as $map )
$extra = [ 'id1' => $map['id1'], 'id2' => $map['id2'], 'id3' => $map['id3'] ];
if ( !isset( $loadedExtensions[ $map['location_key'] ] ) )
{
if ( !isset( $loadedExtensions[ $map['location_key'] ] ) )
$exploded = explode( '_', $map['location_key'] );
try
{
$exploded = explode( '_', $map['location_key'] );
try
$extensions = Application::load( $exploded[0] )->extensions( 'core', 'EditorLocations' );
if ( isset( $extensions[ $exploded[1] ] ) )
{
$extensions = Application::load( $exploded[0] )->extensions( 'core', 'EditorLocations' );
if ( isset( $extensions[ $exploded[1] ] ) )
{
$loadedExtensions[ $map['location_key'] ] = $extensions[ $exploded[1] ];
}
$loadedExtensions[ $map['location_key'] ] = $extensions[ $exploded[1] ];
}
catch (OutOfRangeException $e ) { }
}
if ( isset( $loadedExtensions[ $map['location_key'] ] ) )
catch (OutOfRangeException $e ) { }
}
if ( isset( $loadedExtensions[ $map['location_key'] ] ) )
{
try
{
try
$relatedItem = $loadedExtensions[ $map['location_key'] ]->attachmentLookup( $map['id1'], $map['id2'], $map['id3'] );
if ( !$permission and $loadedExtensions[ $map['location_key'] ]->attachmentPermissionCheck( $member, $map['id1'], $map['id2'], $map['id3'], $attachment ) )
{
if ( $loadedExtensions[ $map['location_key'] ]->attachmentPermissionCheck( $member, $map['id1'], $map['id2'], $map['id3'], $attachment ) )
{
$permission = TRUE;
break;
}
$permission = TRUE;
}
catch (OutOfRangeException $e ) { }
}
catch ( OutOfRangeException | LogicException $e ) { }
break;
}
}
@@ -101,6 +104,9 @@ try
/* Update download counter */
Db::i()->update( 'core_attachments', "attach_hits=attach_hits+1", array( 'attach_id=?', $attachment['attach_id'] ) );
/* Fire an event */
Event::fire( 'onDownload', $file, [ $relatedItem, $extra ] );
/* If it's an AWS file just redirect to it */
$file->originalFilename = $attachment['attach_file'];
@@ -125,7 +131,7 @@ try
$file->printFile();
exit;
}
catch (UnexpectedValueException | UnderflowException | ErrorException $e )
catch ( UnexpectedValueException | UnderflowException | ErrorException $e )
{
switch( get_class( $e ) )
{
@@ -138,6 +144,7 @@ catch (UnexpectedValueException | UnderflowException | ErrorException $e )
break;
case 'ErrorException':
default:
$code = '2C327/1';
break;
}
+6 -2
View File
@@ -8,6 +8,7 @@
* @since 11 Feb 2016
*/
use IPS\Application;
use IPS\Dispatcher\Front;
use IPS\File;
use IPS\Output;
@@ -20,8 +21,11 @@ try
{
/* Get the extension */
list( $app, $extension ) = explode( '_', Request::i()->storage );
$classname = 'IPS\\' . $app . '\extensions\core\FileStorage\\' . $extension;
if ( !class_exists( $classname ) )
try
{
$classname = Application::getExtensionClass( $app, 'FileStorage', $extension );
}
catch( OutOfRangeException )
{
throw new RuntimeException;
}
+1 -1
View File
@@ -37,7 +37,7 @@ catch ( OutOfRangeException ) {}
try
{
$badge = CustomBadge::load( (int) $badgeID );
$data = (string) $badge;
$data = (string) $badge->raw;
if ( !empty( $cacheKey ) )
{
Store::i()->$cacheKey = $data;
@@ -73,82 +73,6 @@ window.ips.utils = {
return document.getElementById( id );
},
/**
* Extend an object with another object
*
* @param {object} originalObj Original object
* @param {object} newObj New object
* @returns {void}
*/
extendObj: function (originalObj, newObj) {
for( var i in newObj ){
if( newObj.hasOwnProperty(i) ){
originalObj[i] = newObj[i];
}
}
return originalObj;
},
/**
* Returns parsed information about a URL
*
* @param {string} url URL to parse
* @returns {object}
*/
parseURL: function (url) {
var elem = document.createElement('a');
ips.utils.insertBefore( elem, document.body.firstChild );
elem.href = url;
var data = {
protocol: elem.protocol,
hostname: elem.hostname,
port: elem.port,
pathname: elem.pathname,
search: elem.search,
hash: elem.hash,
host: elem.host
};
elem.parentNode.removeChild( elem );
return data;
},
/**
* Returns the document scroll offset
*
* @returns {object}
*/
getScrollOffset: function () {
var doc = document.documentElement;
return {
left: (window.pageXOffset || doc.scrollLeft) - (doc.clientLeft || 0),
top: (window.pageYOffset || doc.scrollTop) - (doc.clientTop || 0)
};
},
/**
* Returns the offset relative to the document for an element
*
* @param {element} element Element to get the offset for
* @returns {object}
*/
getOffset: function (element) {
var p = {
left: element.offsetLeft || 0,
top: element.offsetTop || 0
};
while (element = element.offsetParent) {
p.left += element.offsetLeft;
p.top += element.offsetTop;
}
return p;
},
/**
* Returns the outer height of the element
*
@@ -158,15 +82,6 @@ window.ips.utils = {
return elem.offsetHeight || 0;
},
/**
* Returns the outer width of the element
*
* @returns {number}
*/
getObjWidth: function (elem) {
return elem.offsetWidth || 0;
},
/**
* Fade the element in
*
@@ -190,30 +105,6 @@ window.ips.utils = {
tick();
},
/**
* Returns the document height
*
* @returns {number}
*/
getDocHeight: function () {
var D = document;
return Math.max(
D.body.scrollHeight, D.documentElement.scrollHeight,
D.body.offsetHeight, D.documentElement.offsetHeight,
D.body.clientHeight, D.documentElement.clientHeight
);
},
/**
* Returns the viewport height
*
* @returns {number}
*/
getViewportHeight: function () {
return Math.max( document.documentElement.clientHeight, window.innerHeight || 0 );
},
/**
* Returns attributes for an element
*
@@ -5,13 +5,15 @@
( function () {
"use strict";
var _origin;
var _div;
var _posting = false;
var _timer;
var _timeout = 200; //ms
var _embedId = '';
var _failSafe = null;
let _origin;
let _div;
let _embedId = '';
let _failSafe = null;
/**
* @type {ResizeObserver}
*/
let _ro;
/**
* Init method, called when the document is ready
@@ -26,15 +28,10 @@
// Work out our URL
_div = ips.utils.get('ipsEmbed');
var url = ips.utils.parseURL( window.location );
if( url.protocol == '' || url.protocol == ':' ){
utils.log( url );
url.protocol = window.location.protocol;
}
const url = new URL(window.location.href);
// Set our origin
_origin = url.protocol + '//' + url.host;
_origin = url.origin;
ips.utils.log( "Origin in loader is " + _origin );
// Hide the content
@@ -68,68 +65,66 @@
*
* @returns {void}
*/
function startTimeout() {
function createResizeObserver() {
ips.utils.log("Creating resize observer for external embed...");
let debounceLastCall=0, debounceTimeout, debounceInterval=200, sentMessage=false;
const debouncePostMessage = (height) => {
clearTimeout(debounceTimeout);
const delta = Date.now() - debounceLastCall - debounceInterval;
debounceLastCall = Date.now();
debounceTimeout = setTimeout(
() => {
if (!sentMessage) {
sentMessage = true;
ips.utils.fadeIn(_div);
}
_div.parentNode.className = '';
_postMessage('height', {height})
},
Math.max(0, -delta)
);
}
var currentSize = 0;
var repeats = 0;
ips.utils.log("Starting timeout...");
// Main loop
_timer = setInterval( function () {
// What we want to do here is make the loading process more pleasant and less jumpy.
// To do that, we'll make the embed invisible until we've fetched the same height 6 times
// in a row (approx 1 second). If that happens we'll assume it has finished loading, and then
// we'll fade it in and start sending the recorded height to the parent for resizing.
var height = ips.utils.getObjHeight( _div );
if( !height )
{
return;
}
ips.utils.log("Determined height as " + height + ' for embed ID ' + _embedId );
// If we HAVEN'T started posting our size
if( !_posting ){
if( height == currentSize ){
repeats++;
} else {
// The height has changed, so reset our repeat counter
repeats = 0;
}
if( repeats == 6 ){
_posting = true;
ips.utils.fadeIn( _div );
_ro = new ResizeObserver((entries) => {
for (const entry of entries) {
if (entry.target === _div) {
if (typeof entry.borderBoxSize?.[0]?.blockSize === 'number') {
debouncePostMessage(entry.borderBoxSize[0].blockSize + 10);
}
break;
}
}
});
currentSize = height;
_ro.observe(
_div,
{box: 'border-box'}
);
if( _posting ){
_div.parentNode.className = '';
// resize observers usually call the callback right when .observe() is called, but just in case we manually send the height if there hasn't been one
setTimeout(() => {
// still hasn't been called?
if (debounceLastCall === 0) {
const height = ips.utils.getObjHeight(_div);
ips.utils.log("Determined height as " + height + ' for external embed ID ' + _embedId );
_postMessage('height', {
height: ( height + 10 )
});
// getting the height can force a reflow, so just double check it stil hasn't been called
if (debounceLastCall === 0) {
debounceLastCall = Date.now(); // do this outside the last call
debouncePostMessage(height);
}
}
}, _timeout);
};
}, 20);
}
/**
* Posts a message to the iframe
*
* @param {number} [pageNo] Page number to load
* @returns {void}
*/
var _postMessage = function (method, obj) {
// Send to parent window
window.top.postMessage( JSON.stringify( ips.utils.extendObj( obj || {}, {
method: method,
embedId: _embedId
} ) ), _origin );
window.top.postMessage(JSON.stringify( {...obj, method, embedId: _embedId}), _origin);
};
/**
@@ -142,16 +137,16 @@
* @param {object} data Data from the iframe
* @returns {void}
*/
ready: function (data) {
ready(data) {
_embedId = data.embedId;
_postMessage('ok');
startTimeout();
createResizeObserver();
clearInterval( _failSafe ); // Stop our emergency timer
},
stop: function (data) {
clearInterval( _timer );
stop() {
_ro?.disconnect();
clearInterval( _failSafe ); // Stop our emergency timer
eventHandler.off( window, 'message', windowMessage );
}
@@ -5,14 +5,17 @@
( function () {
"use strict";
var _origin;
var _div;
var _posting = false;
var _timer;
var _timeout = 200; //ms
var _embedId = '';
var _embedMaxWidth = null;
var _initialHeight = 0;
let _origin;
let _div;
let _embedId = '';
let _initialHeight = 0;
let _embedMaxWidth = null;
let _currentHeight = null;
/**
* @type {ResizeObserver}
*/
let _ro;
/**
* Init method, called when the document is ready
@@ -27,15 +30,10 @@
// Work out our URL
_div = ips.utils.get('ipsEmbed');
var url = ips.utils.parseURL( window.location );
if( url.protocol == '' || url.protocol == ':' ){
ips.utils.log( url );
url.protocol = window.location.protocol;
}
const url = new URL(window.location.href);
// Set our origin
_origin = url.protocol + '//' + url.host;
_origin = url.origin;
ips.utils.log( "Origin in loader is " + _origin );
// Hide the content
@@ -61,11 +59,11 @@
links[i].setAttribute('target', '_blank');
}
startTimeout();
};
createResizeObserver();
}
var _showEmbed = function () {
document.body.className = document.body.className.replace('unloaded ', '');
document.body.classList.remove('unloaded');
ips.utils.fadeIn( _div );
};
@@ -74,66 +72,79 @@
*
* @returns {void}
*/
var startTimeout = function () {
function createResizeObserver() {
ips.utils.log("Creating resize observer for internal embed...");
let debounceLastCall=0, debounceTimeout, debounceInterval=200, sentMessage=false;
const debouncePostMessage = (height) => {
clearTimeout(debounceTimeout);
const delta = Date.now() - debounceLastCall - debounceInterval;
debounceLastCall = Date.now();
debounceTimeout = setTimeout(
() => {
_currentHeight = height;
ips.utils.log("Determined height as " + height + ' for internal embed ID ' + _embedId );
if (!sentMessage) {
sentMessage = true;
_showEmbed();
}
var currentSize = 0;
var repeats = 0;
if( _embedMaxWidth !== null ){
_postMessage('dims', {
height: height,
width: _embedMaxWidth
});
} else {
_postMessage('height', {
height: height
});
}
},
Math.max(0, -delta)
);
}
ips.utils.log("Starting timeout...");
// Main loop
_timer = setInterval( function () {
// What we want to do here is make the loading process more pleasant and less jumpy.
// To do that, we'll make the embed invisible until we've fetched the same height 6 times
// in a row (approx 1 second). If that happens we'll assume it has finished loading, and then
// we'll fade it in and start sending the recorded height to the parent for resizing.
var height = ips.utils.getObjHeight( _div );
// If we HAVEN'T started posting our size
if( !_posting ){
if( height == currentSize ){
repeats++;
} else {
// The height has changed, so reset our repeat counter
repeats = 0;
}
if( repeats == 6 ){
_posting = true;
_showEmbed();
_ro = new ResizeObserver((entries) => {
for (const entry of entries) {
if (entry.target === _div) {
if (typeof entry.borderBoxSize?.[0]?.blockSize === 'number') {
debouncePostMessage(entry.borderBoxSize[0].blockSize + 10);
}
break;
}
}
});
currentSize = height;
_ro.observe(
_div,
{box: 'border-box'}
);
if( _posting ){
if( _embedMaxWidth !== null ){
_postMessage('dims', {
height: height,
width: _embedMaxWidth
});
} else {
_postMessage('height', {
height: height
});
// resize observers usually call the callback right when .observe() is called, but just in case we manually send the height if there hasn't been one
setTimeout(() => {
// still hasn't been called?
if (debounceLastCall === 0) {
const height = ips.utils.getObjHeight(_div);
// getting the height can force a reflow, so just double check it stil hasn't been called
if (debounceLastCall === 0) {
debounceLastCall = Date.now(); // do this outside the last call
debouncePostMessage(height + 10);
}
}
}, _timeout);
};
}, 20);
}
/**
* Posts a message to the iframe
*
* @param {number} [pageNo] Page number to load
* @param {string} method Method - will be encoded in the resulting message
* @param {Object} [obj={}] Obj - Any other keys and properties to encode in the message object
*
* @returns {void}
*/
var _postMessage = function (method, obj) {
// Send to parent window
window.top.postMessage( JSON.stringify( ips.utils.extendObj( obj || {}, {
method: method,
embedId: _embedId
} ) ), _origin );
window.top.postMessage( JSON.stringify({...obj, method, embedId: _embedId}), _origin);
};
/**
@@ -178,17 +189,32 @@
* @param {object} data Data from the iframe
* @returns {void}
*/
ready: function (data) {
ready(data) {
_embedId = data.embedId;
_postMessage('ok');
// make sure this is sent back to the regular IPS js. The resize observer is created on init(), which is called on domcontentready, not on "ready" which indicates the host page is ready to accept messages
if (_currentHeight !== null) {
if( _embedMaxWidth !== null ){
_postMessage('dims', {
height: _currentHeight,
width: _embedMaxWidth
});
} else {
_postMessage('height', {
height: _currentHeight
});
}
}
},
stop: function (data) {
clearInterval( _timer );
stop() {
_ro?.disconnect();
ips.eventHandler.off( window, 'message', windowMessage );
},
responsiveState: function (data) {
responsiveState(data) {
if( data.currentIs === 'phone' ){
document.body.className += ' ipsRichEmbed_phone';
} else {
@@ -213,7 +239,7 @@
var method = pmData.method;
} catch (err) {
ips.utils.error("iframe: invalid data.");
Debug.error(err.message)
ips.utils.error(err.message)
return;
}
@@ -223,7 +249,7 @@
} else {
ips.utils.log("Method " + method + " doesn't exist");
}
};
}
ips.utils.contentLoaded( window, function () {
init();
@@ -1 +1 @@
(()=>{var e,s,t={4333:(e,s,t)=>{var a={"./1c":[4570,6319,4570],"./1c.js":[4570,6319,4570],"./abnf":[4414,4414],"./abnf.js":[4414,4414],"./accesslog":[7490,7490],"./accesslog.js":[7490,7490],"./actionscript":[227,227],"./actionscript.js":[227,227],"./ada":[4968,4968],"./ada.js":[4968,4968],"./angelscript":[2725,2725],"./angelscript.js":[2725,2725],"./apache":[8430,8430],"./apache.js":[8430,8430],"./applescript":[7485,7485],"./applescript.js":[7485,7485],"./arcade":[1573,1573],"./arcade.js":[1573,1573],"./arduino":[319,319],"./arduino.js":[319,319],"./armasm":[358,358],"./armasm.js":[358,358],"./asciidoc":[2548,2548],"./asciidoc.js":[2548,2548],"./aspectj":[1016,1016],"./aspectj.js":[1016,1016],"./autohotkey":[3182,3182],"./autohotkey.js":[3182,3182],"./autoit":[661,661],"./autoit.js":[661,661],"./avrasm":[6286,6286],"./avrasm.js":[6286,6286],"./awk":[2715,2715],"./awk.js":[2715,2715],"./axapta":[3408,3408],"./axapta.js":[3408,3408],"./bash":[1755,1755],"./bash.js":[1755,1755],"./basic":[7535,7535],"./basic.js":[7535,7535],"./bnf":[9841,9841],"./bnf.js":[9841,9841],"./brainfuck":[3857,3857],"./brainfuck.js":[3857,3857],"./c":[3179,3179],"./c.js":[3179,3179],"./cal":[8123,8123],"./cal.js":[8123,8123],"./capnproto":[775,775],"./capnproto.js":[775,775],"./ceylon":[6740,6740],"./ceylon.js":[6740,6740],"./clean":[1675,1675],"./clean.js":[1675,1675],"./clojure":[894,894],"./clojure-repl":[4796,4796],"./clojure-repl.js":[4796,4796],"./clojure.js":[894,894],"./cmake":[7297,7297],"./cmake.js":[7297,7297],"./coffeescript":[2478,2478],"./coffeescript.js":[2478,2478],"./coq":[1434,1434],"./coq.js":[1434,1434],"./cos":[5875,5875],"./cos.js":[5875,5875],"./cpp":[863,863],"./cpp.js":[863,863],"./crmsh":[3582,3582],"./crmsh.js":[3582,3582],"./crystal":[8826,8826],"./crystal.js":[8826,8826],"./csharp":[5528,5528],"./csharp.js":[5528,5528],"./csp":[5248,5248],"./csp.js":[5248,5248],"./css":[1931,1931],"./css.js":[1931,1931],"./d":[552,552],"./d.js":[552,552],"./dart":[309,309],"./dart.js":[309,309],"./delphi":[713,713],"./delphi.js":[713,713],"./diff":[1730,1730],"./diff.js":[1730,1730],"./django":[2669,2669],"./django.js":[2669,2669],"./dns":[3485,3485],"./dns.js":[3485,3485],"./dockerfile":[1955,1955],"./dockerfile.js":[1955,1955],"./dos":[5763,5763],"./dos.js":[5763,5763],"./dsconfig":[5434,5434],"./dsconfig.js":[5434,5434],"./dts":[2908,2908],"./dts.js":[2908,2908],"./dust":[7565,7565],"./dust.js":[7565,7565],"./ebnf":[3152,3152],"./ebnf.js":[3152,3152],"./elixir":[1066,1066],"./elixir.js":[1066,1066],"./elm":[3435,3435],"./elm.js":[3435,3435],"./erb":[7005,7005],"./erb.js":[7005,7005],"./erlang":[8771,8771],"./erlang-repl":[8163,8163],"./erlang-repl.js":[8163,8163],"./erlang.js":[8771,8771],"./excel":[1007,1007],"./excel.js":[1007,1007],"./fix":[3596,3596],"./fix.js":[3596,3596],"./flix":[6634,6634],"./flix.js":[6634,6634],"./fortran":[8315,8315],"./fortran.js":[8315,8315],"./fsharp":[3078,3078],"./fsharp.js":[3078,3078],"./gams":[6929,6929],"./gams.js":[6929,6929],"./gauss":[1715,1715],"./gauss.js":[1715,1715],"./gcode":[7952,7952],"./gcode.js":[7952,7952],"./gherkin":[4935,4935],"./gherkin.js":[4935,4935],"./glsl":[1040,1040],"./glsl.js":[1040,1040],"./gml":[5726,7413,5726],"./gml.js":[5726,7413,5726],"./go":[3191,3191],"./go.js":[3191,3191],"./golo":[6643,6643],"./golo.js":[6643,6643],"./gradle":[7578,7578],"./gradle.js":[7578,7578],"./graphql":[6429,6429],"./graphql.js":[6429,6429],"./groovy":[371,371],"./groovy.js":[371,371],"./haml":[1690,1690],"./haml.js":[1690,1690],"./handlebars":[9079,9079],"./handlebars.js":[9079,9079],"./haskell":[7300,7469],"./haskell.js":[7300,7469],"./haxe":[3376,3376],"./haxe.js":[3376,3376],"./hsp":[8678,8678],"./hsp.js":[8678,8678],"./http":[3323,3323],"./http.js":[3323,3323],"./hy":[4010,4010],"./hy.js":[4010,4010],"./inform7":[3916,3916],"./inform7.js":[3916,3916],"./ini":[5544,5544],"./ini.js":[5544,5544],"./irpf90":[1642,1642],"./irpf90.js":[1642,1642],"./isbl":[3018,7930,3018],"./isbl.js":[3018,7930,3018],"./java":[1489,1489],"./java.js":[1489,1489],"./javascript":[6191,6191],"./javascript.js":[6191,6191],"./jboss-cli":[6812,6812],"./jboss-cli.js":[6812,6812],"./json":[8772,8772],"./json.js":[8772,8772],"./julia":[1122,1122],"./julia-repl":[1799,1799],"./julia-repl.js":[1799,1799],"./julia.js":[1122,1122],"./kotlin":[5872,5872],"./kotlin.js":[5872,5872],"./lasso":[7074,7074],"./lasso.js":[7074,7074],"./latex":[7649,7649],"./latex.js":[7649,7649],"./ldif":[8881,8881],"./ldif.js":[8881,8881],"./leaf":[150,150],"./leaf.js":[150,150],"./less":[7015,7015],"./less.js":[7015,7015],"./lisp":[8093,8093],"./lisp.js":[8093,8093],"./livecodeserver":[9924,9924],"./livecodeserver.js":[9924,9924],"./livescript":[6252,6252],"./livescript.js":[6252,6252],"./llvm":[3660,3660],"./llvm.js":[3660,3660],"./lsl":[6561,6561],"./lsl.js":[6561,6561],"./lua":[3324,3324],"./lua.js":[3324,3324],"./makefile":[6503,6503],"./makefile.js":[6503,6503],"./markdown":[7274,7274],"./markdown.js":[7274,7274],"./mathematLine truncated
(()=>{var e,s,t={4333:(e,s,t)=>{var a={"./1c":[4570,6319,4570],"./1c.js":[4570,6319,4570],"./abnf":[4414,4414],"./abnf.js":[4414,4414],"./accesslog":[7490,7490],"./accesslog.js":[7490,7490],"./actionscript":[227,227],"./actionscript.js":[227,227],"./ada":[4968,4968],"./ada.js":[4968,4968],"./angelscript":[2725,2725],"./angelscript.js":[2725,2725],"./apache":[8430,8430],"./apache.js":[8430,8430],"./applescript":[7485,7485],"./applescript.js":[7485,7485],"./arcade":[1573,1573],"./arcade.js":[1573,1573],"./arduino":[319,319],"./arduino.js":[319,319],"./armasm":[358,358],"./armasm.js":[358,358],"./asciidoc":[2548,2548],"./asciidoc.js":[2548,2548],"./aspectj":[1016,1016],"./aspectj.js":[1016,1016],"./autohotkey":[3182,3182],"./autohotkey.js":[3182,3182],"./autoit":[661,661],"./autoit.js":[661,661],"./avrasm":[6286,6286],"./avrasm.js":[6286,6286],"./awk":[2715,2715],"./awk.js":[2715,2715],"./axapta":[3408,3408],"./axapta.js":[3408,3408],"./bash":[1755,1755],"./bash.js":[1755,1755],"./basic":[7535,7535],"./basic.js":[7535,7535],"./bnf":[9841,9841],"./bnf.js":[9841,9841],"./brainfuck":[3857,3857],"./brainfuck.js":[3857,3857],"./c":[3179,3179],"./c.js":[3179,3179],"./cal":[8123,8123],"./cal.js":[8123,8123],"./capnproto":[775,775],"./capnproto.js":[775,775],"./ceylon":[6740,6740],"./ceylon.js":[6740,6740],"./clean":[1675,1675],"./clean.js":[1675,1675],"./clojure":[894,894],"./clojure-repl":[4796,4796],"./clojure-repl.js":[4796,4796],"./clojure.js":[894,894],"./cmake":[7297,7297],"./cmake.js":[7297,7297],"./coffeescript":[2478,2478],"./coffeescript.js":[2478,2478],"./coq":[1434,1434],"./coq.js":[1434,1434],"./cos":[5875,5875],"./cos.js":[5875,5875],"./cpp":[863,863],"./cpp.js":[863,863],"./crmsh":[3582,3582],"./crmsh.js":[3582,3582],"./crystal":[8826,8826],"./crystal.js":[8826,8826],"./csharp":[5528,5528],"./csharp.js":[5528,5528],"./csp":[5248,5248],"./csp.js":[5248,5248],"./css":[1931,1931],"./css.js":[1931,1931],"./d":[552,552],"./d.js":[552,552],"./dart":[309,309],"./dart.js":[309,309],"./delphi":[713,713],"./delphi.js":[713,713],"./diff":[1730,1730],"./diff.js":[1730,1730],"./django":[2669,2669],"./django.js":[2669,2669],"./dns":[3485,3485],"./dns.js":[3485,3485],"./dockerfile":[1955,1955],"./dockerfile.js":[1955,1955],"./dos":[5763,5763],"./dos.js":[5763,5763],"./dsconfig":[5434,5434],"./dsconfig.js":[5434,5434],"./dts":[2908,2908],"./dts.js":[2908,2908],"./dust":[7565,7565],"./dust.js":[7565,7565],"./ebnf":[3152,3152],"./ebnf.js":[3152,3152],"./elixir":[1066,1066],"./elixir.js":[1066,1066],"./elm":[3435,3435],"./elm.js":[3435,3435],"./erb":[7005,7005],"./erb.js":[7005,7005],"./erlang":[8771,8771],"./erlang-repl":[8163,8163],"./erlang-repl.js":[8163,8163],"./erlang.js":[8771,8771],"./excel":[1007,1007],"./excel.js":[1007,1007],"./fix":[3596,3596],"./fix.js":[3596,3596],"./flix":[6634,6634],"./flix.js":[6634,6634],"./fortran":[8315,8315],"./fortran.js":[8315,8315],"./fsharp":[3078,3078],"./fsharp.js":[3078,3078],"./gams":[6929,6929],"./gams.js":[6929,6929],"./gauss":[1715,1715],"./gauss.js":[1715,1715],"./gcode":[7952,7952],"./gcode.js":[7952,7952],"./gherkin":[4935,4935],"./gherkin.js":[4935,4935],"./glsl":[1040,1040],"./glsl.js":[1040,1040],"./gml":[5726,7413,5726],"./gml.js":[5726,7413,5726],"./go":[3191,3191],"./go.js":[3191,3191],"./golo":[6643,6643],"./golo.js":[6643,6643],"./gradle":[7578,7578],"./gradle.js":[7578,7578],"./graphql":[6429,6429],"./graphql.js":[6429,6429],"./groovy":[371,371],"./groovy.js":[371,371],"./haml":[1690,1690],"./haml.js":[1690,1690],"./handlebars":[9079,9079],"./handlebars.js":[9079,9079],"./haskell":[7300,7469],"./haskell.js":[7300,7469],"./haxe":[3376,3376],"./haxe.js":[3376,3376],"./hsp":[8678,8678],"./hsp.js":[8678,8678],"./http":[3323,3323],"./http.js":[3323,3323],"./hy":[4010,4010],"./hy.js":[4010,4010],"./inform7":[3916,3916],"./inform7.js":[3916,3916],"./ini":[5544,5544],"./ini.js":[5544,5544],"./irpf90":[1642,1642],"./irpf90.js":[1642,1642],"./isbl":[3018,7930,3018],"./isbl.js":[3018,7930,3018],"./java":[1489,1489],"./java.js":[1489,1489],"./javascript":[6191,6191],"./javascript.js":[6191,6191],"./jboss-cli":[6812,6812],"./jboss-cli.js":[6812,6812],"./json":[8772,8772],"./json.js":[8772,8772],"./julia":[1122,1122],"./julia-repl":[1799,1799],"./julia-repl.js":[1799,1799],"./julia.js":[1122,1122],"./kotlin":[5872,5872],"./kotlin.js":[5872,5872],"./lasso":[7074,7074],"./lasso.js":[7074,7074],"./latex":[7649,7649],"./latex.js":[7649,7649],"./ldif":[8881,8881],"./ldif.js":[8881,8881],"./leaf":[150,150],"./leaf.js":[150,150],"./less":[7015,7015],"./less.js":[7015,7015],"./lisp":[8093,8093],"./lisp.js":[8093,8093],"./livecodeserver":[9924,9924],"./livecodeserver.js":[9924,9924],"./livescript":[6252,6252],"./livescript.js":[6252,6252],"./llvm":[3660,3660],"./llvm.js":[3660,3660],"./lsl":[6561,6561],"./lsl.js":[6561,6561],"./lua":[3324,3324],"./lua.js":[3324,3324],"./makefile":[6503,6503],"./makefile.js":[6503,6503],"./markdown":[7274,7274],"./markdown.js":[7274,7274],"./mathematLine truncated
@@ -18,7 +18,7 @@ function contains(parent,child){if(child.nodeType==3){child=child.parentNode;}
if(parent.contains){return parent.contains(child)}
do{if(child.nodeType==11){child=child.host;}
if(child==parent){return true}}while(child=child.parentNode)}
function activeElt(doc){var activeElement;try{activeElement=doc.activeElement;}catch(e){activeElement=doc.body||null;}
function activeElt(rootNode){var doc=rootNode.ownerDocument||rootNode;var activeElement;try{activeElement=rootNode.activeElement;}catch(e){activeElement=doc.body||null;}
while(activeElement&&activeElement.shadowRoot&&activeElement.shadowRoot.activeElement){activeElement=activeElement.shadowRoot.activeElement;}
return activeElement}
function addClass(node,cls){var current=node.className;if(!classTest(cls).test(current)){node.className+=(current?" ":"")+cls;}}
@@ -27,6 +27,8 @@ return b}
var selectInput=function(node){node.select();};if(ios){selectInput=function(node){node.selectionStart=0;node.selectionEnd=node.value.length;};}
else if(ie){selectInput=function(node){try{node.select();}catch(_e){}};}
function doc(cm){return cm.display.wrapper.ownerDocument}
function root(cm){return rootNode(cm.display.wrapper)}
function rootNode(element){return element.getRootNode?element.getRootNode():element.ownerDocument}
function win(cm){return doc(cm).defaultView}
function bind(f){var args=Array.prototype.slice.call(arguments,1);return function(){return f.apply(null,args)}}
function copyObj(obj,target,overwrite){if(!target){target={};}
@@ -754,7 +756,7 @@ op.barMeasure=measureForScrollbars(cm);if(display.maxLineChanged&&!cm.options.li
if(op.updatedDisplay||op.selectionChanged){op.preparedSelection=display.input.prepareSelection();}}
function endOperation_W2(op){var cm=op.cm;if(op.adjustWidthTo!=null){cm.display.sizer.style.minWidth=op.adjustWidthTo+"px";if(op.maxScrollLeft<cm.doc.scrollLeft){setScrollLeft(cm,Math.min(cm.display.scroller.scrollLeft,op.maxScrollLeft),true);}
cm.display.maxLineChanged=false;}
var takeFocus=op.focus&&op.focus==activeElt(doc(cm));if(op.preparedSelection){cm.display.input.showSelection(op.preparedSelection,takeFocus);}
var takeFocus=op.focus&&op.focus==activeElt(root(cm));if(op.preparedSelection){cm.display.input.showSelection(op.preparedSelection,takeFocus);}
if(op.updatedDisplay||op.startHeight!=cm.doc.height){updateScrollbars(cm,op.barMeasure);}
if(op.updatedDisplay){setDocumentHeight(cm,op.barMeasure);}
if(op.selectionChanged){restartBlink(cm);}
@@ -794,10 +796,10 @@ line.stateAfter=context.line%5==0?context.save():null;context.nextLine();}
if(+new Date>end){startWorker(cm,cm.options.workDelay);return true}});doc.highlightFrontier=context.line;doc.modeFrontier=Math.max(doc.modeFrontier,context.line);if(changedLines.length){runInOp(cm,function(){for(var i=0;i<changedLines.length;i++){regLineChange(cm,changedLines[i],"text");}});}}
var DisplayUpdate=function(cm,viewport,force){var display=cm.display;this.viewport=viewport;this.visible=visibleLines(display,cm.doc,viewport);this.editorIsHidden=!display.wrapper.offsetWidth;this.wrapperHeight=display.wrapper.clientHeight;this.wrapperWidth=display.wrapper.clientWidth;this.oldDisplayWidth=displayWidth(cm);this.force=force;this.dims=getDimensions(cm);this.events=[];};DisplayUpdate.prototype.signal=function(emitter,type){if(hasHandler(emitter,type)){this.events.push(arguments);}};DisplayUpdate.prototype.finish=function(){for(var i=0;i<this.events.length;i++){signal.apply(null,this.events[i]);}};function maybeClipScrollbars(cm){var display=cm.display;if(!display.scrollbarsClipped&&display.scroller.offsetWidth){display.nativeBarWidth=display.scroller.offsetWidth-display.scroller.clientWidth;display.heightForcer.style.height=scrollGap(cm)+"px";display.sizer.style.marginBottom=-display.nativeBarWidth+"px";display.sizer.style.borderRightWidth=scrollGap(cm)+"px";display.scrollbarsClipped=true;}}
function selectionSnapshot(cm){if(cm.hasFocus()){return null}
var active=activeElt(doc(cm));if(!active||!contains(cm.display.lineDiv,active)){return null}
var active=activeElt(root(cm));if(!active||!contains(cm.display.lineDiv,active)){return null}
var result={activeElt:active};if(window.getSelection){var sel=win(cm).getSelection();if(sel.anchorNode&&sel.extend&&contains(cm.display.lineDiv,sel.anchorNode)){result.anchorNode=sel.anchorNode;result.anchorOffset=sel.anchorOffset;result.focusNode=sel.focusNode;result.focusOffset=sel.focusOffset;}}
return result}
function restoreSelection(snapshot){if(!snapshot||!snapshot.activeElt||snapshot.activeElt==activeElt(snapshot.activeElt.ownerDocument)){return}
function restoreSelection(snapshot){if(!snapshot||!snapshot.activeElt||snapshot.activeElt==activeElt(rootNode(snapshot.activeElt))){return}
snapshot.activeElt.focus();if(!/^(INPUT|TEXTAREA)$/.test(snapshot.activeElt.nodeName)&&snapshot.anchorNode&&contains(document.body,snapshot.anchorNode)&&contains(document.body,snapshot.focusNode)){var doc=snapshot.activeElt.ownerDocument;var sel=doc.defaultView.getSelection(),range=doc.createRange();range.setEnd(snapshot.anchorNode,snapshot.anchorOffset);range.collapse(false);sel.removeAllRanges();sel.addRange(range);sel.extend(snapshot.focusNode,snapshot.focusOffset);}}
function updateDisplayIfNeeded(cm,update){var display=cm.display,doc=cm.doc;if(update.editorIsHidden){resetView(cm);return false}
if(!update.force&&update.visible.from>=display.viewFrom&&update.visible.to<=display.viewTo&&(display.updateLineNumbers==null||display.updateLineNumbers>=display.viewTo)&&display.renderedView==display.view&&countDirtyView(cm)==0){return false}
@@ -1301,7 +1303,7 @@ function handleKeyBinding(cm,e){var name=keyName(e,true);if(!name){return false}
if(e.shiftKey&&!cm.state.keySeq){return dispatchKey(cm,"Shift-"+name,e,function(b){return doHandleBinding(cm,b,true);})||dispatchKey(cm,name,e,function(b){if(typeof b=="string"?/^go[A-Z]/.test(b):b.motion){return doHandleBinding(cm,b)}})}else{return dispatchKey(cm,name,e,function(b){return doHandleBinding(cm,b);})}}
function handleCharBinding(cm,e,ch){return dispatchKey(cm,"'"+ch+"'",e,function(b){return doHandleBinding(cm,b,true);})}
var lastStoppedKey=null;function onKeyDown(e){var cm=this;if(e.target&&e.target!=cm.display.input.getField()){return}
cm.curOp.focus=activeElt(doc(cm));if(signalDOMEvent(cm,e)){return}
cm.curOp.focus=activeElt(root(cm));if(signalDOMEvent(cm,e)){return}
if(ie&&ie_version<11&&e.keyCode==27){e.returnValue=false;}
var code=e.keyCode;cm.display.shift=code==16||e.shiftKey;var handled=handleKeyBinding(cm,e);if(presto){lastStoppedKey=handled?code:null;if(!handled&&code==88&&!hasCopyEvent&&(mac?e.metaKey:e.ctrlKey)){cm.replaceSelection("",null,"cut");}}
if(gecko&&!mac&&!handled&&code==46&&e.shiftKey&&!e.ctrlKey&&document.execCommand){document.execCommand("cut");}
@@ -1341,7 +1343,7 @@ if(value.addNew==null){value.addNew=mac?event.metaKey:event.ctrlKey;}
if(value.moveOnDrag==null){value.moveOnDrag=!(mac?event.altKey:event.ctrlKey);}
return value}
function leftButtonDown(cm,pos,repeat,event){if(ie){setTimeout(bind(ensureFocus,cm),0);}
else{cm.curOp.focus=activeElt(doc(cm));}
else{cm.curOp.focus=activeElt(root(cm));}
var behavior=configureMouse(cm,repeat,event);var sel=cm.doc.sel,contained;if(cm.options.dragDrop&&dragAndDrop&&!cm.isReadOnly()&&repeat=="single"&&(contained=sel.contains(pos))>-1&&(cmp((contained=sel.ranges[contained]).from(),pos)<0||pos.xRel>0)&&(cmp(contained.to(),pos)>0||pos.xRel<0)){leftButtonStartDrag(cm,event,pos,behavior);}
else
{leftButtonSelect(cm,event,pos,behavior);}}
@@ -1358,25 +1360,25 @@ if(unit=="word"){return cm.findWordAt(pos)}
if(unit=="line"){return new Range(Pos(pos.line,0),clipPos(cm.doc,Pos(pos.line+1,0)))}
var result=unit(cm,pos);return new Range(result.from,result.to)}
function leftButtonSelect(cm,event,start,behavior){if(ie){delayBlurEvent(cm);}
var display=cm.display,doc$1=cm.doc;e_preventDefault(event);var ourRange,ourIndex,startSel=doc$1.sel,ranges=startSel.ranges;if(behavior.addNew&&!behavior.extend){ourIndex=doc$1.sel.contains(start);if(ourIndex>-1){ourRange=ranges[ourIndex];}
var display=cm.display,doc=cm.doc;e_preventDefault(event);var ourRange,ourIndex,startSel=doc.sel,ranges=startSel.ranges;if(behavior.addNew&&!behavior.extend){ourIndex=doc.sel.contains(start);if(ourIndex>-1){ourRange=ranges[ourIndex];}
else
{ourRange=new Range(start,start);}}else{ourRange=doc$1.sel.primary();ourIndex=doc$1.sel.primIndex;}
{ourRange=new Range(start,start);}}else{ourRange=doc.sel.primary();ourIndex=doc.sel.primIndex;}
if(behavior.unit=="rectangle"){if(!behavior.addNew){ourRange=new Range(start,start);}
start=posFromMouse(cm,event,true,true);ourIndex=-1;}else{var range=rangeForUnit(cm,start,behavior.unit);if(behavior.extend){ourRange=extendRange(ourRange,range.anchor,range.head,behavior.extend);}
else
{ourRange=range;}}
if(!behavior.addNew){ourIndex=0;setSelection(doc$1,new Selection([ourRange],0),sel_mouse);startSel=doc$1.sel;}else if(ourIndex==-1){ourIndex=ranges.length;setSelection(doc$1,normalizeSelection(cm,ranges.concat([ourRange]),ourIndex),{scroll:false,origin:"*mouse"});}else if(ranges.length>1&&ranges[ourIndex].empty()&&behavior.unit=="char"&&!behavior.extend){setSelection(doc$1,normalizeSelection(cm,ranges.slice(0,ourIndex).concat(ranges.slice(ourIndex+1)),0),{scroll:false,origin:"*mouse"});startSel=doc$1.sel;}else{replaceOneSelection(doc$1,ourIndex,ourRange,sel_mouse);}
if(!behavior.addNew){ourIndex=0;setSelection(doc,new Selection([ourRange],0),sel_mouse);startSel=doc.sel;}else if(ourIndex==-1){ourIndex=ranges.length;setSelection(doc,normalizeSelection(cm,ranges.concat([ourRange]),ourIndex),{scroll:false,origin:"*mouse"});}else if(ranges.length>1&&ranges[ourIndex].empty()&&behavior.unit=="char"&&!behavior.extend){setSelection(doc,normalizeSelection(cm,ranges.slice(0,ourIndex).concat(ranges.slice(ourIndex+1)),0),{scroll:false,origin:"*mouse"});startSel=doc.sel;}else{replaceOneSelection(doc,ourIndex,ourRange,sel_mouse);}
var lastPos=start;function extendTo(pos){if(cmp(lastPos,pos)==0){return}
lastPos=pos;if(behavior.unit=="rectangle"){var ranges=[],tabSize=cm.options.tabSize;var startCol=countColumn(getLine(doc$1,start.line).text,start.ch,tabSize);var posCol=countColumn(getLine(doc$1,pos.line).text,pos.ch,tabSize);var left=Math.min(startCol,posCol),right=Math.max(startCol,posCol);for(var line=Math.min(start.line,pos.line),end=Math.min(cm.lastLine(),Math.max(start.line,pos.line));line<=end;line++){var text=getLine(doc$1,line).text,leftPos=findColumn(text,left,tabSize);if(left==right){ranges.push(new Range(Pos(line,leftPos),Pos(line,leftPos)));}
lastPos=pos;if(behavior.unit=="rectangle"){var ranges=[],tabSize=cm.options.tabSize;var startCol=countColumn(getLine(doc,start.line).text,start.ch,tabSize);var posCol=countColumn(getLine(doc,pos.line).text,pos.ch,tabSize);var left=Math.min(startCol,posCol),right=Math.max(startCol,posCol);for(var line=Math.min(start.line,pos.line),end=Math.min(cm.lastLine(),Math.max(start.line,pos.line));line<=end;line++){var text=getLine(doc,line).text,leftPos=findColumn(text,left,tabSize);if(left==right){ranges.push(new Range(Pos(line,leftPos),Pos(line,leftPos)));}
else if(text.length>leftPos){ranges.push(new Range(Pos(line,leftPos),Pos(line,findColumn(text,right,tabSize))));}}
if(!ranges.length){ranges.push(new Range(start,start));}
setSelection(doc$1,normalizeSelection(cm,startSel.ranges.slice(0,ourIndex).concat(ranges),ourIndex),{origin:"*mouse",scroll:false});cm.scrollIntoView(pos);}else{var oldRange=ourRange;var range=rangeForUnit(cm,pos,behavior.unit);var anchor=oldRange.anchor,head;if(cmp(range.anchor,anchor)>0){head=range.head;anchor=minPos(oldRange.from(),range.anchor);}else{head=range.anchor;anchor=maxPos(oldRange.to(),range.head);}
var ranges$1=startSel.ranges.slice(0);ranges$1[ourIndex]=bidiSimplify(cm,new Range(clipPos(doc$1,anchor),head));setSelection(doc$1,normalizeSelection(cm,ranges$1,ourIndex),sel_mouse);}}
setSelection(doc,normalizeSelection(cm,startSel.ranges.slice(0,ourIndex).concat(ranges),ourIndex),{origin:"*mouse",scroll:false});cm.scrollIntoView(pos);}else{var oldRange=ourRange;var range=rangeForUnit(cm,pos,behavior.unit);var anchor=oldRange.anchor,head;if(cmp(range.anchor,anchor)>0){head=range.head;anchor=minPos(oldRange.from(),range.anchor);}else{head=range.anchor;anchor=maxPos(oldRange.to(),range.head);}
var ranges$1=startSel.ranges.slice(0);ranges$1[ourIndex]=bidiSimplify(cm,new Range(clipPos(doc,anchor),head));setSelection(doc,normalizeSelection(cm,ranges$1,ourIndex),sel_mouse);}}
var editorSize=display.wrapper.getBoundingClientRect();var counter=0;function extend(e){var curCount=++counter;var cur=posFromMouse(cm,e,true,behavior.unit=="rectangle");if(!cur){return}
if(cmp(cur,lastPos)!=0){cm.curOp.focus=activeElt(doc(cm));extendTo(cur);var visible=visibleLines(display,doc$1);if(cur.line>=visible.to||cur.line<visible.from){setTimeout(operation(cm,function(){if(counter==curCount){extend(e);}}),150);}}else{var outside=e.clientY<editorSize.top?-20:e.clientY>editorSize.bottom?20:0;if(outside){setTimeout(operation(cm,function(){if(counter!=curCount){return}
if(cmp(cur,lastPos)!=0){cm.curOp.focus=activeElt(root(cm));extendTo(cur);var visible=visibleLines(display,doc);if(cur.line>=visible.to||cur.line<visible.from){setTimeout(operation(cm,function(){if(counter==curCount){extend(e);}}),150);}}else{var outside=e.clientY<editorSize.top?-20:e.clientY>editorSize.bottom?20:0;if(outside){setTimeout(operation(cm,function(){if(counter!=curCount){return}
display.scroller.scrollTop+=outside;extend(e);}),50);}}}
function done(e){cm.state.selectingText=false;counter=Infinity;if(e){e_preventDefault(e);display.input.focus();}
off(display.wrapper.ownerDocument,"mousemove",move);off(display.wrapper.ownerDocument,"mouseup",up);doc$1.history.lastSelOrigin=null;}
off(display.wrapper.ownerDocument,"mousemove",move);off(display.wrapper.ownerDocument,"mouseup",up);doc.history.lastSelOrigin=null;}
var move=operation(cm,function(e){if(e.buttons===0||!e_button(e)){done(e);}
else{extend(e);}});var up=operation(cm,done);cm.state.selectingText=up;on(display.wrapper.ownerDocument,"mousemove",move);on(display.wrapper.ownerDocument,"mouseup",up);}
function bidiSimplify(cm,range){var anchor=range.anchor;var head=range.head;var anchorLine=getLine(cm.doc,anchor.line);if(cmp(anchor,head)==0&&anchor.sticky==head.sticky){return range}
@@ -1521,7 +1523,7 @@ return new Range(Pos(pos.line,start),Pos(pos.line,end))},toggleOverwrite:functio
if(this.state.overwrite=!this.state.overwrite){addClass(this.display.cursorDiv,"CodeMirror-overwrite");}
else
{rmClass(this.display.cursorDiv,"CodeMirror-overwrite");}
signal(this,"overwriteToggle",this,this.state.overwrite);},hasFocus:function(){return this.display.input.getField()==activeElt(doc(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:methodOp(function(x,y){scrollToCoords(this,x,y);}),getScrollInfo:function(){var scroller=this.display.scroller;return{left:scroller.scrollLeft,top:scroller.scrollTop,height:scroller.scrollHeight-scrollGap(this)-this.display.barHeight,width:scroller.scrollWidth-scrollGap(this)-this.display.barWidth,clientHeight:displayHeight(this),clientWidth:displayWidth(this)}},scrollIntoView:methodOp(function(range,margin){if(range==null){range={from:this.doc.sel.primary().head,to:null};if(margin==null){margin=this.options.cursorScrollMargin;}}else if(typeof range=="number"){range={from:Pos(range,0),to:null};}else if(range.from==null){range={from:range,to:null};}
signal(this,"overwriteToggle",this,this.state.overwrite);},hasFocus:function(){return this.display.input.getField()==activeElt(root(this))},isReadOnly:function(){return!!(this.options.readOnly||this.doc.cantEdit)},scrollTo:methodOp(function(x,y){scrollToCoords(this,x,y);}),getScrollInfo:function(){var scroller=this.display.scroller;return{left:scroller.scrollLeft,top:scroller.scrollTop,height:scroller.scrollHeight-scrollGap(this)-this.display.barHeight,width:scroller.scrollWidth-scrollGap(this)-this.display.barWidth,clientHeight:displayHeight(this),clientWidth:displayWidth(this)}},scrollIntoView:methodOp(function(range,margin){if(range==null){range={from:this.doc.sel.primary().head,to:null};if(margin==null){margin=this.options.cursorScrollMargin;}}else if(typeof range=="number"){range={from:Pos(range,0),to:null};}else if(range.from==null){range={from:range,to:null};}
if(!range.to){range.to=range.from;}
range.margin=margin||0;if(range.from.line!=null){scrollToRange(this,range);}else{scrollToCoordsRange(this,range.from,range.to,range.margin);}}),setSize:methodOp(function(width,height){var this$1=this;var interpret=function(val){return typeof val=="number"||/^\d+$/.test(String(val))?val+"px":val;};if(width!=null){this.display.wrapper.style.width=interpret(width);}
if(height!=null){this.display.wrapper.style.height=interpret(height);}
@@ -1559,8 +1561,8 @@ if(ie_version<=11){setTimeout(operation(cm,function(){return this$1.updateFromDO
this$1.composing.done=true;}});on(div,"touchstart",function(){return input.forceCompositionEnd();});on(div,"input",function(){if(!this$1.composing){this$1.readFromDOMSoon();}});function onCopyCut(e){if(!belongsToInput(e)||signalDOMEvent(cm,e)){return}
if(cm.somethingSelected()){setLastCopied({lineWise:false,text:cm.getSelections()});if(e.type=="cut"){cm.replaceSelection("",null,"cut");}}else if(!cm.options.lineWiseCopyCut){return}else{var ranges=copyableRanges(cm);setLastCopied({lineWise:true,text:ranges.text});if(e.type=="cut"){cm.operation(function(){cm.setSelections(ranges.ranges,0,sel_dontScroll);cm.replaceSelection("",null,"cut");});}}
if(e.clipboardData){e.clipboardData.clearData();var content=lastCopied.text.join("\n");e.clipboardData.setData("Text",content);if(e.clipboardData.getData("Text")==content){e.preventDefault();return}}
var kludge=hiddenTextarea(),te=kludge.firstChild;disableBrowserMagic(te);cm.display.lineSpace.insertBefore(kludge,cm.display.lineSpace.firstChild);te.value=lastCopied.text.join("\n");var hadFocus=activeElt(div.ownerDocument);selectInput(te);setTimeout(function(){cm.display.lineSpace.removeChild(kludge);hadFocus.focus();if(hadFocus==div){input.showPrimarySelection();}},50);}
on(div,"copy",onCopyCut);on(div,"cut",onCopyCut);};ContentEditableInput.prototype.screenReaderLabelChanged=function(label){if(label){this.div.setAttribute('aria-label',label);}else{this.div.removeAttribute('aria-label');}};ContentEditableInput.prototype.prepareSelection=function(){var result=prepareSelection(this.cm,false);result.focus=activeElt(this.div.ownerDocument)==this.div;return result};ContentEditableInput.prototype.showSelection=function(info,takeFocus){if(!info||!this.cm.display.view.length){return}
var kludge=hiddenTextarea(),te=kludge.firstChild;disableBrowserMagic(te);cm.display.lineSpace.insertBefore(kludge,cm.display.lineSpace.firstChild);te.value=lastCopied.text.join("\n");var hadFocus=activeElt(rootNode(div));selectInput(te);setTimeout(function(){cm.display.lineSpace.removeChild(kludge);hadFocus.focus();if(hadFocus==div){input.showPrimarySelection();}},50);}
on(div,"copy",onCopyCut);on(div,"cut",onCopyCut);};ContentEditableInput.prototype.screenReaderLabelChanged=function(label){if(label){this.div.setAttribute('aria-label',label);}else{this.div.removeAttribute('aria-label');}};ContentEditableInput.prototype.prepareSelection=function(){var result=prepareSelection(this.cm,false);result.focus=activeElt(rootNode(this.div))==this.div;return result};ContentEditableInput.prototype.showSelection=function(info,takeFocus){if(!info||!this.cm.display.view.length){return}
if(info.focus||takeFocus){this.showPrimarySelection();}
this.showMultipleSelections(info);};ContentEditableInput.prototype.getSelection=function(){return this.cm.display.wrapper.ownerDocument.getSelection()};ContentEditableInput.prototype.showPrimarySelection=function(){var sel=this.getSelection(),cm=this.cm,prim=cm.doc.sel.primary();var from=prim.from(),to=prim.to();if(cm.display.viewTo==cm.display.viewFrom||from.line>=cm.display.viewTo||to.line<cm.display.viewFrom){sel.removeAllRanges();return}
var curAnchor=domToPos(cm,sel.anchorNode,sel.anchorOffset);var curFocus=domToPos(cm,sel.focusNode,sel.focusOffset);if(curAnchor&&!curAnchor.bad&&curFocus&&!curFocus.bad&&cmp(minPos(curAnchor,curFocus),from)==0&&cmp(maxPos(curAnchor,curFocus),to)==0){return}
@@ -1572,7 +1574,7 @@ if(rng){if(!gecko&&cm.state.focused){sel.collapse(start.node,start.offset);if(!r
if(old&&sel.anchorNode==null){sel.addRange(old);}
else if(gecko){this.startGracePeriod();}}
this.rememberSelection();};ContentEditableInput.prototype.startGracePeriod=function(){var this$1=this;clearTimeout(this.gracePeriod);this.gracePeriod=setTimeout(function(){this$1.gracePeriod=false;if(this$1.selectionChanged()){this$1.cm.operation(function(){return this$1.cm.curOp.selectionChanged=true;});}},20);};ContentEditableInput.prototype.showMultipleSelections=function(info){removeChildrenAndAdd(this.cm.display.cursorDiv,info.cursors);removeChildrenAndAdd(this.cm.display.selectionDiv,info.selection);};ContentEditableInput.prototype.rememberSelection=function(){var sel=this.getSelection();this.lastAnchorNode=sel.anchorNode;this.lastAnchorOffset=sel.anchorOffset;this.lastFocusNode=sel.focusNode;this.lastFocusOffset=sel.focusOffset;};ContentEditableInput.prototype.selectionInEditor=function(){var sel=this.getSelection();if(!sel.rangeCount){return false}
var node=sel.getRangeAt(0).commonAncestorContainer;return contains(this.div,node)};ContentEditableInput.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"){if(!this.selectionInEditor()||activeElt(this.div.ownerDocument)!=this.div){this.showSelection(this.prepareSelection(),true);}
var node=sel.getRangeAt(0).commonAncestorContainer;return contains(this.div,node)};ContentEditableInput.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"){if(!this.selectionInEditor()||activeElt(rootNode(this.div))!=this.div){this.showSelection(this.prepareSelection(),true);}
this.div.focus();}};ContentEditableInput.prototype.blur=function(){this.div.blur();};ContentEditableInput.prototype.getField=function(){return this.div};ContentEditableInput.prototype.supportsTouch=function(){return true};ContentEditableInput.prototype.receivedFocus=function(){var this$1=this;var input=this;if(this.selectionInEditor()){setTimeout(function(){return this$1.pollSelection();},20);}
else
{runInOp(this.cm,function(){return input.cm.curOp.selectionChanged=true;});}
@@ -1650,7 +1652,7 @@ input.composing={start:start,range:cm.markText(start,cm.getCursor("to"),{classNa
return result};TextareaInput.prototype.showSelection=function(drawn){var cm=this.cm,display=cm.display;removeChildrenAndAdd(display.cursorDiv,drawn.cursors);removeChildrenAndAdd(display.selectionDiv,drawn.selection);if(drawn.teTop!=null){this.wrapper.style.top=drawn.teTop+"px";this.wrapper.style.left=drawn.teLeft+"px";}};TextareaInput.prototype.reset=function(typing){if(this.contextMenuPending||this.composing&&typing){return}
var cm=this.cm;this.resetting=true;if(cm.somethingSelected()){this.prevInput="";var content=cm.getSelection();this.textarea.value=content;if(cm.state.focused){selectInput(this.textarea);}
if(ie&&ie_version>=9){this.hasSelection=content;}}else if(!typing){this.prevInput=this.textarea.value="";if(ie&&ie_version>=9){this.hasSelection=null;}}
this.resetting=false;};TextareaInput.prototype.getField=function(){return this.textarea};TextareaInput.prototype.supportsTouch=function(){return false};TextareaInput.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!mobile||activeElt(this.textarea.ownerDocument)!=this.textarea)){try{this.textarea.focus();}
this.resetting=false;};TextareaInput.prototype.getField=function(){return this.textarea};TextareaInput.prototype.supportsTouch=function(){return false};TextareaInput.prototype.focus=function(){if(this.cm.options.readOnly!="nocursor"&&(!mobile||activeElt(rootNode(this.textarea))!=this.textarea)){try{this.textarea.focus();}
catch(e){}}};TextareaInput.prototype.blur=function(){this.textarea.blur();};TextareaInput.prototype.resetPosition=function(){this.wrapper.style.top=this.wrapper.style.left=0;};TextareaInput.prototype.receivedFocus=function(){this.slowPoll();};TextareaInput.prototype.slowPoll=function(){var this$1=this;if(this.pollingFast){return}
this.polling.set(this.cm.options.pollInterval,function(){this$1.poll();if(this$1.cm.state.focused){this$1.slowPoll();}});};TextareaInput.prototype.fastPoll=function(){var missed=false,input=this;input.pollingFast=true;function p(){var changed=input.poll();if(!changed&&!missed){missed=true;input.polling.set(60,p);}
else{input.pollingFast=false;input.slowPoll();}}
@@ -1678,14 +1680,14 @@ if(ie&&ie_version>=9){prepareSelectAllHack();}
if(captureRightClick){e_stop(e);var mouseup=function(){off(window,"mouseup",mouseup);setTimeout(rehide,20);};on(window,"mouseup",mouseup);}else{setTimeout(rehide,50);}};TextareaInput.prototype.readOnlyChanged=function(val){if(!val){this.reset();}
this.textarea.disabled=val=="nocursor";this.textarea.readOnly=!!val;};TextareaInput.prototype.setUneditable=function(){};TextareaInput.prototype.needsContentAttribute=false;function fromTextArea(textarea,options){options=options?copyObj(options):{};options.value=textarea.value;if(!options.tabindex&&textarea.tabIndex){options.tabindex=textarea.tabIndex;}
if(!options.placeholder&&textarea.placeholder){options.placeholder=textarea.placeholder;}
if(options.autofocus==null){var hasFocus=activeElt(textarea.ownerDocument);options.autofocus=hasFocus==textarea||textarea.getAttribute("autofocus")!=null&&hasFocus==document.body;}
if(options.autofocus==null){var hasFocus=activeElt(rootNode(textarea));options.autofocus=hasFocus==textarea||textarea.getAttribute("autofocus")!=null&&hasFocus==document.body;}
function save(){textarea.value=cm.getValue();}
var realSubmit;if(textarea.form){on(textarea.form,"submit",save);if(!options.leaveSubmitMethodAlone){var form=textarea.form;realSubmit=form.submit;try{var wrappedSubmit=form.submit=function(){save();form.submit=realSubmit;form.submit();form.submit=wrappedSubmit;};}catch(e){}}}
options.finishInit=function(cm){cm.save=save;cm.getTextArea=function(){return textarea;};cm.toTextArea=function(){cm.toTextArea=isNaN;save();textarea.parentNode.removeChild(cm.getWrapperElement());textarea.style.display="";if(textarea.form){off(textarea.form,"submit",save);if(!options.leaveSubmitMethodAlone&&typeof textarea.form.submit=="function"){textarea.form.submit=realSubmit;}}};};textarea.style.display="none";var cm=CodeMirror(function(node){return textarea.parentNode.insertBefore(node,textarea.nextSibling);},options);return cm}
function addLegacyProps(CodeMirror){CodeMirror.off=off;CodeMirror.on=on;CodeMirror.wheelEventPixels=wheelEventPixels;CodeMirror.Doc=Doc;CodeMirror.splitLines=splitLinesAuto;CodeMirror.countColumn=countColumn;CodeMirror.findColumn=findColumn;CodeMirror.isWordChar=isWordCharBasic;CodeMirror.Pass=Pass;CodeMirror.signal=signal;CodeMirror.Line=Line;CodeMirror.changeEnd=changeEnd;CodeMirror.scrollbarModel=scrollbarModel;CodeMirror.Pos=Pos;CodeMirror.cmpPos=cmp;CodeMirror.modes=modes;CodeMirror.mimeModes=mimeModes;CodeMirror.resolveMode=resolveMode;CodeMirror.getMode=getMode;CodeMirror.modeExtensions=modeExtensions;CodeMirror.extendMode=extendMode;CodeMirror.copyState=copyState;CodeMirror.startState=startState;CodeMirror.innerMode=innerMode;CodeMirror.commands=commands;CodeMirror.keyMap=keyMap;CodeMirror.keyName=keyName;CodeMirror.isModifierKey=isModifierKey;CodeMirror.lookupKey=lookupKey;CodeMirror.normalizeKeyMap=normalizeKeyMap;CodeMirror.StringStream=StringStream;CodeMirror.SharedTextMarker=SharedTextMarker;CodeMirror.TextMarker=TextMarker;CodeMirror.LineWidget=LineWidget;CodeMirror.e_preventDefault=e_preventDefault;CodeMirror.e_stopPropagation=e_stopPropagation;CodeMirror.e_stop=e_stop;CodeMirror.addClass=addClass;CodeMirror.contains=contains;CodeMirror.rmClass=rmClass;CodeMirror.keyNames=keyNames;}
defineOptions(CodeMirror);addEditorMethods(CodeMirror);var dontDelegate="iter insert remove copy getEditor constructor".split(" ");for(var prop in Doc.prototype){if(Doc.prototype.hasOwnProperty(prop)&&indexOf(dontDelegate,prop)<0){CodeMirror.prototype[prop]=(function(method){return function(){return method.apply(this.doc,arguments)}})(Doc.prototype[prop]);}}
eventMixin(Doc);CodeMirror.inputStyles={"textarea":TextareaInput,"contenteditable":ContentEditableInput};CodeMirror.defineMode=function(name){if(!CodeMirror.defaults.mode&&name!="null"){CodeMirror.defaults.mode=name;}
defineMode.apply(this,arguments);};CodeMirror.defineMIME=defineMIME;CodeMirror.defineMode("null",function(){return({token:function(stream){return stream.skipToEnd();}});});CodeMirror.defineMIME("text/plain","null");CodeMirror.defineExtension=function(name,func){CodeMirror.prototype[name]=func;};CodeMirror.defineDocExtension=function(name,func){Doc.prototype[name]=func;};CodeMirror.fromTextArea=fromTextArea;addLegacyProps(CodeMirror);CodeMirror.version="5.65.14";return CodeMirror;})));;(function(mod){if(typeof exports=="object"&&typeof module=="object")
defineMode.apply(this,arguments);};CodeMirror.defineMIME=defineMIME;CodeMirror.defineMode("null",function(){return({token:function(stream){return stream.skipToEnd();}});});CodeMirror.defineMIME("text/plain","null");CodeMirror.defineExtension=function(name,func){CodeMirror.prototype[name]=func;};CodeMirror.defineDocExtension=function(name,func){Doc.prototype[name]=func;};CodeMirror.fromTextArea=fromTextArea;addLegacyProps(CodeMirror);CodeMirror.version="5.65.18";return CodeMirror;})));;(function(mod){if(typeof exports=="object"&&typeof module=="object")
mod(require("../../lib/codemirror"));else if(typeof define=="function"&&define.amd)
define(["../../lib/codemirror"],mod);else
mod(CodeMirror);})(function(CodeMirror){"use strict";function Context(indented,column,type,info,align,prev){this.indented=indented;this.column=column;this.type=type;this.info=info;this.align=align;this.prev=prev;}
Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

@@ -0,0 +1,75 @@
var g0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Cd={exports:{}},Ps={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Qd;function Bv(){if(Qd)return Ps;Qd=1;var T=Symbol.for("react.transitional.element"),Q=Symbol.for("react.fragment");function g(E,Z,Mt){var k=null;if(Mt!==void 0&&(k=""+Mt),Z.key!==void 0&&(k=""+Z.key),"key"in Z){Mt={};for(var $ in Z)$!=="key"&&(Mt[$]=Z[$])}else Mt=Z;return Z=Mt.ref,{$$typeof:T,type:E,key:k,ref:Z!==void 0?Z:null,props:Mt}}return Ps.Fragment=Q,Ps.jsx=g,Ps.jsxs=g,Ps}var Zd;function Nv(){return Zd||(Zd=1,Cd.exports=Bv()),Cd.exports}var at=Nv(),Hd={exports:{}},Dt={};/**
* @license React
* react.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Kd;function wv(){if(Kd)return Dt;Kd=1;var T=Symbol.for("react.transitional.element"),Q=Symbol.for("react.portal"),g=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),Z=Symbol.for("react.profiler"),Mt=Symbol.for("react.consumer"),k=Symbol.for("react.context"),$=Symbol.for("react.forward_ref"),G=Symbol.for("react.suspense"),U=Symbol.for("react.memo"),nt=Symbol.for("react.lazy"),it=Symbol.iterator;function ct(p){return p===null||typeof p!="object"?null:(p=it&&p[it]||p["@@iterator"],typeof p=="function"?p:null)}var lt={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},Jt=Object.assign,yt={};function Nt(p,q,dt){this.props=p,this.context=q,this.refs=yt,this.updater=dt||lt}Nt.prototype.isReactComponent={},Nt.prototype.setState=function(p,q){if(typeof p!="object"&&typeof p!="function"&&p!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,p,q,"setState")},Nt.prototype.forceUpdate=function(p){this.updater.enqueueForceUpdate(this,p,"forceUpdate")};function fe(){}fe.prototype=Nt.prototype;function ne(p,q,dt){this.props=p,this.context=q,this.refs=yt,this.updater=dt||lt}var le=ne.prototype=new fe;le.constructor=ne,Jt(le,Nt.prototype),le.isPureReactComponent=!0;var Ce=Array.isArray,pt={H:null,A:null,T:null,S:null},ie=Object.prototype.hasOwnProperty;function pe(p,q,dt,rt,J,xt){return dt=xt.ref,{$$typeof:T,type:p,key:q,ref:dt!==void 0?dt:null,props:xt}}function ve(p,q){return pe(p.type,q,void 0,void 0,void 0,p.props)}function I(p){return typeof p=="object"&&p!==null&&p.$$typeof===T}function St(p){var q={"=":"=0",":":"=2"};return"$"+p.replace(/[=:]/g,function(dt){return q[dt]})}var qe=/\/+/g;function wt(p,q){return typeof p=="object"&&p!==null&&p.key!=null?St(""+p.key):q.toString(36)}function Ht(){}function Te(p){switch(p.status){case"fulfilled":return p.value;case"rejected":throw p.reason;default:switch(typeof p.status=="string"?p.then(Ht,Ht):(p.status="pending",p.then(function(q){p.status==="pending"&&(p.status="fulfilled",p.value=q)},function(q){p.status==="pending"&&(p.status="rejected",p.reason=q)})),p.status){case"fulfilled":return p.value;case"rejected":throw p.reason}}throw p}function V(p,q,dt,rt,J){var xt=typeof p;(xt==="undefined"||xt==="boolean")&&(p=null);var At=!1;if(p===null)At=!0;else switch(xt){case"bigint":case"string":case"number":At=!0;break;case"object":switch(p.$$typeof){case T:case Q:At=!0;break;case nt:return At=p._init,V(At(p._payload),q,dt,rt,J)}}if(At)return J=J(p),At=rt===""?"."+wt(p,0):rt,Ce(J)?(dt="",At!=null&&(dt=At.replace(qe,"$&/")+"/"),V(J,q,dt,"",function(ce){return ce})):J!=null&&(I(J)&&(J=ve(J,dt+(J.key==null||p&&p.key===J.key?"":(""+J.key).replace(qe,"$&/")+"/")+At)),q.push(J)),1;At=0;var $e=rt===""?".":rt+":";if(Ce(p))for(var Xt=0;Xt<p.length;Xt++)rt=p[Xt],xt=$e+wt(rt,Xt),At+=V(rt,q,dt,xt,J);else if(Xt=ct(p),typeof Xt=="function")for(p=Xt.call(p),Xt=0;!(rt=p.next()).done;)rt=rt.value,xt=$e+wt(rt,Xt++),At+=V(rt,q,dt,xt,J);else if(xt==="object"){if(typeof p.then=="function")return V(Te(p),q,dt,rt,J);throw q=String(p),Error("Objects are not valid as a React child (found: "+(q==="[object Object]"?"object with keys {"+Object.keys(p).join(", ")+"}":q)+"). If you meant to render a collection of children, use an array instead.")}return At}function X(p,q,dt){if(p==null)return p;var rt=[],J=0;return V(p,rt,"","",function(xt){return q.call(dt,xt,J++)}),rt}function ft(p){if(p._status===-1){var q=p._result;q=q(),q.then(function(dt){(p._status===0||p._status===-1)&&(p._status=1,p._result=dt)},function(dt){(p._status===0||p._status===-1)&&(p._status=2,p._result=dt)}),p._status===-1&&(p._status=0,p._result=q)}if(p._status===1)return p._result.default;throw p._result}var F=typeof reportError=="function"?reportError:function(p){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var q=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof p=="object"&&p!==null&&typeof p.message=="string"?String(p.message):String(p),error:p});if(!window.dispatchEvent(q))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",p);return}console.error(p)};function It(){}return Dt.Children={map:X,forEach:function(p,q,dt){X(p,function(){q.apply(this,arguments)},dt)},count:function(p){var q=0;return X(p,function(){q++}),q},toArray:function(p){return X(p,function(q){return q})||[]},only:function(p){if(!I(p))throw Error("React.Children.only expected to receive a single React element child.");return p}},Dt.Component=Nt,Dt.Fragment=g,Dt.Profiler=Z,Dt.PureComponent=ne,Dt.StrictMode=E,Dt.Suspense=G,Dt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=pt,Dt.act=function(){throw Error("act(...) is not supported in production builds of React.")},Dt.cache=function(p){return function(){return p.apply(null,arguments)}},Dt.cloneElement=function(p,qLine truncated
* @license React
* scheduler.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Vd;function Lv(){return Vd||(Vd=1,function(T){function Q(X,ft){var F=X.length;X.push(ft);t:for(;0<F;){var It=F-1>>>1,p=X[It];if(0<Z(p,ft))X[It]=ft,X[F]=p,F=It;else break t}}function g(X){return X.length===0?null:X[0]}function E(X){if(X.length===0)return null;var ft=X[0],F=X.pop();if(F!==ft){X[0]=F;t:for(var It=0,p=X.length,q=p>>>1;It<q;){var dt=2*(It+1)-1,rt=X[dt],J=dt+1,xt=X[J];if(0>Z(rt,F))J<p&&0>Z(xt,rt)?(X[It]=xt,X[J]=F,It=J):(X[It]=rt,X[dt]=F,It=dt);else if(J<p&&0>Z(xt,F))X[It]=xt,X[J]=F,It=J;else break t}}return ft}function Z(X,ft){var F=X.sortIndex-ft.sortIndex;return F!==0?F:X.id-ft.id}if(T.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var Mt=performance;T.unstable_now=function(){return Mt.now()}}else{var k=Date,$=k.now();T.unstable_now=function(){return k.now()-$}}var G=[],U=[],nt=1,it=null,ct=3,lt=!1,Jt=!1,yt=!1,Nt=typeof setTimeout=="function"?setTimeout:null,fe=typeof clearTimeout=="function"?clearTimeout:null,ne=typeof setImmediate<"u"?setImmediate:null;function le(X){for(var ft=g(U);ft!==null;){if(ft.callback===null)E(U);else if(ft.startTime<=X)E(U),ft.sortIndex=ft.expirationTime,Q(G,ft);else break;ft=g(U)}}function Ce(X){if(yt=!1,le(X),!Jt)if(g(G)!==null)Jt=!0,Te();else{var ft=g(U);ft!==null&&V(Ce,ft.startTime-X)}}var pt=!1,ie=-1,pe=5,ve=-1;function I(){return!(T.unstable_now()-ve<pe)}function St(){if(pt){var X=T.unstable_now();ve=X;var ft=!0;try{t:{Jt=!1,yt&&(yt=!1,fe(ie),ie=-1),lt=!0;var F=ct;try{e:{for(le(X),it=g(G);it!==null&&!(it.expirationTime>X&&I());){var It=it.callback;if(typeof It=="function"){it.callback=null,ct=it.priorityLevel;var p=It(it.expirationTime<=X);if(X=T.unstable_now(),typeof p=="function"){it.callback=p,le(X),ft=!0;break e}it===g(G)&&E(G),le(X)}else E(G);it=g(G)}if(it!==null)ft=!0;else{var q=g(U);q!==null&&V(Ce,q.startTime-X),ft=!1}}break t}finally{it=null,ct=F,lt=!1}ft=void 0}}finally{ft?qe():pt=!1}}}var qe;if(typeof ne=="function")qe=function(){ne(St)};else if(typeof MessageChannel<"u"){var wt=new MessageChannel,Ht=wt.port2;wt.port1.onmessage=St,qe=function(){Ht.postMessage(null)}}else qe=function(){Nt(St,0)};function Te(){pt||(pt=!0,qe())}function V(X,ft){ie=Nt(function(){X(T.unstable_now())},ft)}T.unstable_IdlePriority=5,T.unstable_ImmediatePriority=1,T.unstable_LowPriority=4,T.unstable_NormalPriority=3,T.unstable_Profiling=null,T.unstable_UserBlockingPriority=2,T.unstable_cancelCallback=function(X){X.callback=null},T.unstable_continueExecution=function(){Jt||lt||(Jt=!0,Te())},T.unstable_forceFrameRate=function(X){0>X||125<X?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):pe=0<X?Math.floor(1e3/X):5},T.unstable_getCurrentPriorityLevel=function(){return ct},T.unstable_getFirstCallbackNode=function(){return g(G)},T.unstable_next=function(X){switch(ct){case 1:case 2:case 3:var ft=3;break;default:ft=ct}var F=ct;ct=ft;try{return X()}finally{ct=F}},T.unstable_pauseExecution=function(){},T.unstable_requestPaint=function(){},T.unstable_runWithPriority=function(X,ft){switch(X){case 1:case 2:case 3:case 4:case 5:break;default:X=3}var F=ct;ct=X;try{return ft()}finally{ct=F}},T.unstable_scheduleCallback=function(X,ft,F){var It=T.unstable_now();switch(typeof F=="object"&&F!==null?(F=F.delay,F=typeof F=="number"&&0<F?It+F:It):F=It,X){case 1:var p=-1;break;case 2:p=250;break;case 5:p=1073741823;break;case 4:p=1e4;break;default:p=5e3}return p=F+p,X={id:nt++,callback:ft,priorityLevel:X,startTime:F,expirationTime:p,sortIndex:-1},F>It?(X.sortIndex=F,Q(U,X),g(G)===null&&X===g(U)&&(yt?(fe(ie),ie=-1):yt=!0,V(Ce,F-It))):(X.sortIndex=p,Q(G,X),Jt||lt||(Jt=!0,Te())),X},T.unstable_shouldYield=I,T.unstable_wrapCallback=function(X){var ft=ct;return function(){var F=ct;ct=ft;try{return X.apply(this,arguments)}finally{ct=F}}}}(wd)),wd}var Jd;function qv(){return Jd||(Jd=1,Nd.exports=Lv()),Nd.exports}var Ld={exports:{}},vn={};/**
* @license React
* react-dom.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Wd;function Yv(){if(Wd)return vn;Wd=1;var T=Yd();function Q(G){var U="https://react.dev/errors/"+G;if(1<arguments.length){U+="?args[]="+encodeURIComponent(arguments[1]);for(var nt=2;nt<arguments.length;nt++)U+="&args[]="+encodeURIComponent(arguments[nt])}return"Minified React error #"+G+"; visit "+U+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function g(){}var E={d:{f:g,r:function(){throw Error(Q(522))},D:g,C:g,L:g,m:g,X:g,S:g,M:g},p:0,findDOMNode:null},Z=Symbol.for("react.portal");function Mt(G,U,nt){var it=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Z,key:it==null?null:""+it,children:G,containerInfo:U,implementation:nt}}var k=T.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function $(G,U){if(G==="font")return"";if(typeof U=="string")return U==="use-credentials"?U:""}return vn.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=E,vn.createPortal=function(G,U){var nt=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!U||U.nodeType!==1&&U.nodeType!==9&&U.nodeType!==11)throw Error(Q(299));return Mt(G,U,null,nt)},vn.flushSync=function(G){var U=k.T,nt=E.p;try{if(k.T=null,E.p=2,G)return G()}finally{k.T=U,E.p=nt,E.d.f()}},vn.preconnect=function(G,U){typeof G=="string"&&(U?(U=U.crossOrigin,U=typeof U=="string"?U==="use-credentials"?U:"":void 0):U=null,E.d.C(G,U))},vn.prefetchDNS=function(G){typeof G=="string"&&E.d.D(G)},vn.preinit=function(G,U){if(typeof G=="string"&&U&&typeof U.as=="string"){var nt=U.as,it=$(nt,U.crossOrigin),ct=typeof U.integrity=="string"?U.integrity:void 0,lt=typeof U.fetchPriority=="string"?U.fetchPriority:void 0;nt==="style"?E.d.S(G,typeof U.precedence=="string"?U.precedence:void 0,{crossOrigin:it,integrity:ct,fetchPriority:lt}):nt==="script"&&E.d.X(G,{crossOrigin:it,integrity:ct,fetchPriority:lt,nonce:typeof U.nonce=="string"?U.nonce:void 0})}},vn.preinitModule=function(G,U){if(typeof G=="string")if(typeof U=="object"&&U!==null){if(U.as==null||U.as==="script"){var nt=$(U.as,U.crossOrigin);E.d.M(G,{crossOrigin:nt,integrity:typeof U.integrity=="string"?U.integrity:void 0,nonce:typeof U.nonce=="string"?U.nonce:void 0})}}else U==null&&E.d.M(G)},vn.preload=function(G,U){if(typeof G=="string"&&typeof U=="object"&&U!==null&&typeof U.as=="string"){var nt=U.as,it=$(nt,U.crossOrigin);E.d.L(G,nt,{crossOrigin:it,integrity:typeof U.integrity=="string"?U.integrity:void 0,nonce:typeof U.nonce=="string"?U.nonce:void 0,type:typeof U.type=="string"?U.type:void 0,fetchPriority:typeof U.fetchPriority=="string"?U.fetchPriority:void 0,referrerPolicy:typeof U.referrerPolicy=="string"?U.referrerPolicy:void 0,imageSrcSet:typeof U.imageSrcSet=="string"?U.imageSrcSet:void 0,imageSizes:typeof U.imageSizes=="string"?U.imageSizes:void 0,media:typeof U.media=="string"?U.media:void 0})}},vn.preloadModule=function(G,U){if(typeof G=="string")if(U){var nt=$(U.as,U.crossOrigin);E.d.m(G,{as:typeof U.as=="string"&&U.as!=="script"?U.as:void 0,crossOrigin:nt,integrity:typeof U.integrity=="string"?U.integrity:void 0})}else E.d.m(G)},vn.requestFormReset=function(G){E.d.r(G)},vn.unstable_batchedUpdates=function(G,U){return G(U)},vn.useFormState=function(G,U,nt){return k.H.useFormState(G,U,nt)},vn.useFormStatus=function(){return k.H.useHostTransitionStatus()},vn.version="19.0.0",vn}var $d;function Gv(){if($d)return Ld.exports;$d=1;function T(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(T)}catch(Q){console.error(Q)}}return T(),Ld.exports=Yv(),Ld.exports}/**
* @license React
* react-dom-client.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Fd;function Xv(){if(Fd)return to;Fd=1;var T=qv(),Q=Yd(),g=Gv();function E(t){var e="https://react.dev/errors/"+t;if(1<arguments.length){e+="?args[]="+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n])}return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function Z(t){return!(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)}var Mt=Symbol.for("react.element"),k=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),nt=Symbol.for("react.profiler"),it=Symbol.for("react.provider"),ct=Symbol.for("react.consumer"),lt=Symbol.for("react.context"),Jt=Symbol.for("react.forward_ref"),yt=Symbol.for("react.suspense"),Nt=Symbol.for("react.suspense_list"),fe=Symbol.for("react.memo"),ne=Symbol.for("react.lazy"),le=Symbol.for("react.offscreen"),Ce=Symbol.for("react.memo_cache_sentinel"),pt=Symbol.iterator;function ie(t){return t===null||typeof t!="object"?null:(t=pt&&t[pt]||t["@@iterator"],typeof t=="function"?t:null)}var pe=Symbol.for("react.client.reference");function ve(t){if(t==null)return null;if(typeof t=="function")return t.$$typeof===pe?null:t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case G:return"Fragment";case $:return"Portal";case nt:return"Profiler";case U:return"StrictMode";case yt:return"Suspense";case Nt:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case lt:return(t.displayName||"Context")+".Provider";case ct:return(t._context.displayName||"Context")+".Consumer";case Jt:var e=t.render;return t=t.displayName,t||(t=e.displayName||e.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case fe:return e=t.displayName||null,e!==null?e:ve(t.type)||"Memo";case ne:e=t._payload,t=t._init;try{return ve(t(e))}catch{}}return null}var I=Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,St=Object.assign,qe,wt;function Ht(t){if(qe===void 0)try{throw Error()}catch(n){var e=n.stack.trim().match(/\n( *(at )?)/);qe=e&&e[1]||"",wt=-1<n.stack.indexOf(`
at`)?" (<anonymous>)":-1<n.stack.indexOf("@")?"@unknown:0:0":""}return`
`+qe+t+wt}var Te=!1;function V(t,e){if(!t||Te)return"";Te=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var a={DetermineComponentFrameRoot:function(){try{if(e){var L=function(){throw Error()};if(Object.defineProperty(L.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(L,[])}catch(C){var x=C}Reflect.construct(t,[],L)}else{try{L.call()}catch(C){x=C}t.call(L.prototype)}}else{try{throw Error()}catch(C){x=C}(L=t())&&typeof L.catch=="function"&&L.catch(function(){})}}catch(C){if(C&&x&&typeof C.stack=="string")return[C.stack,x.stack]}return[null,null]}};a.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var i=Object.getOwnPropertyDescriptor(a.DetermineComponentFrameRoot,"name");i&&i.configurable&&Object.defineProperty(a.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var c=a.DetermineComponentFrameRoot(),s=c[0],d=c[1];if(s&&d){var y=s.split(`
`),b=d.split(`
`);for(i=a=0;a<y.length&&!y[a].includes("DetermineComponentFrameRoot");)a++;for(;i<b.length&&!b[i].includes("DetermineComponentFrameRoot");)i++;if(a===y.length||i===b.length)for(a=y.length-1,i=b.length-1;1<=a&&0<=i&&y[a]!==b[i];)i--;for(;1<=a&&0<=i;a--,i--)if(y[a]!==b[i]){if(a!==1||i!==1)do if(a--,i--,0>i||y[a]!==b[i]){var H=`
`+y[a].replace(" at new "," at ");return t.displayName&&H.includes("<anonymous>")&&(H=H.replace("<anonymous>",t.displayName)),H}while(1<=a&&0<=i);break}}}finally{Te=!1,Error.prepareStackTrace=n}return(n=t?t.displayName||t.name:"")?Ht(n):""}function X(t){switch(t.tag){case 26:case 27:case 5:return Ht(t.type);case 16:return Ht("Lazy");case 13:return Ht("Suspense");case 19:return Ht("SuspenseList");case 0:case 15:return t=V(t.type,!1),t;case 11:return t=V(t.type.render,!1),t;case 1:return t=V(t.type,!0),t;default:return""}}function ft(t){try{var e="";do e+=X(t),t=t.return;while(t);return e}catch(n){return`
Error generating stack: `+n.message+`
`+n.stack}}function F(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do e=t,e.flags&4098&&(n=e.return),t=e.return;while(t)}return e.tag===3?n:null}function It(t){if(t.tag===13){var e=t.memoizedState;if(e===null&&(t=t.alternate,t!==null&&(e=t.memoizedState)),e!==null)return e.dehydrated}return null}function p(t){if(F(t)!==t)throw Error(E(188))}function q(t){var e=t.alternate;if(!e){if(e=F(t),e===null)throw Error(E(188));return e!==t?null:t}for(var n=t,a=e;;){var i=n.return;if(i===null)break;var c=i.alternate;if(c===null){if(a=i.return,a!==null){n=a;continue}break}if(i.child===c.child){for(c=i.child;c;){if(c===n)return p(i),t;if(c===a)return p(i),e;c=c.sibling}throw Error(E(188))}if(n.return!==a.return)n=i,a=c;else{for(var s=!1,d=i.child;d;){if(d===n){s=!0,n=i,a=c;break}if(d===a){s=!0,a=i,n=c;break}d=d.sibling}if(!s){for(d=c.child;d;){if(d===n){s=!0,n=c,a=i;break}if(d===a){s=!0,a=c,n=i;break}d=d.sibling}if(!s)throw Error(E(189))}}if(n.alternate!==a)throw Error(E(190))}if(n.tag!==3)throw Error(E(188));return n.stateNode.current===n?t:e}function dt(t){var e=t.tag;if(e===5||e===26||e===27||e===6)return t;for(t=t.child;t!==null;){if(e=dt(t),e!==null)return e;t=t.sibling}return null}var rt=Array.isArray,J=g.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,xt={pending:!1,data:null,method:null,action:null},At=[],$e=-1;function Xt(t){return{current:t}}function ce(t){0>$e||(t.current=At[$e],At[$e]=null,$e--)}function re(t,e){$e++,At[$e]=t.current,t.current=e}var gn=Xt(null),fu=Xt(null),Bl=Xt(null),an=Xt(null);function cu(t,e){switch(re(Bl,e),re(fu,t),re(gn,null),t=e.nodeType,t){case 9:case 11:e=(e=e.documentElement)&&(e=e.namespaceURI)?kh(e):0;break;default:if(t=t===8?e.parentNode:e,e=t.tagName,t=t.namespaceURI)t=kh(t),e=Ih(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}ce(gn),re(gn,e)}function _a(){ce(gn),ce(fu),ce(Bl)}function Jn(t){t.memoizedState!==null&&re(an,t);var e=gn.current,n=Ih(e,t.type);e!==n&&(re(fu,t),re(gn,n))}function hi(t){fu.current===t&&(ce(gn),ce(fu)),an.current===t&&(ce(an),_f._currentValue=xt)}var Jc=Object.prototype.hasOwnProperty,Gu=T.unstable_scheduleCallback,yn=T.unstable_cancelCallback,di=T.unstable_shouldYield,Tf=T.unstable_requestPaint,hl=T.unstable_now,vi=T.unstable_getCurrentPriorityLevel,lo=T.unstable_ImmediatePriority,ma=T.unstable_UserBlockingPriority,Nl=T.unstable_NormalPriority,Wc=T.unstable_LowPriority,Of=T.unstable_IdlePriority,$c=T.log,Fc=T.unstable_setDisableYieldValue,Xu=null,Fe=null;function kc(t){if(Fe&&typeof Fe.onCommitFiberRoot=="function")try{Fe.onCommitFiberRoot(Xu,t,void 0,(t.current.flags&128)===128)}catch{}}function dl(t){if(typeof $c=="function"&&Fc(t),Fe&&typeof Fe.setStrictMode=="function")try{Fe.setStrictMode(Xu,t)}catch{}}var ke=Math.clz32?Math.clz32:m0,y0=Math.log,_0=Math.LN2;function m0(t){return t>>>=0,t===0?32:31-(y0(t)/_0|0)|0}var gi=128,yi=4194304;function Qu(t){var e=t&42;if(e!==0)return e;switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return t&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return t}}function Rf(t,e){var n=t.pendingLanes;if(n===0)return 0;var a=0,i=t.suspendedLanes,c=t.pingedLanes,s=t.warmLanes;t=t.finishedLanes!==0;var d=n&134217727;return d!==0?(n=d&~i,n!==0?a=Qu(n):(c&=d,c!==0?a=Qu(c):t||(s=d&~s,s!==0&&(a=Qu(s))))):(d=n&~i,d!==0?a=Qu(d):c!==0?a=Qu(c):t||(s=n&~s,s!==0&&(a=Qu(s)))),a===0?0:e!==0&&e!==a&&!(e&i)&&(i=a&-a,s=e&-e,i>=s||i===32&&(s&4194176)!==0)?e:a}function _i(t,e){return(t.pendingLanes&~(t.suspendedLanes&~t.pingedLanes)&e)===0}function p0(t,e){switch(t){case 1:case 2:case 4:case 8:return e+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ic(){var t=gi;return gi<<=1,!(gi&4194176)&&(gi=128),t}function uo(){var t=yi;return yi<<=1,!(yi&62914560)&&(yi=4194304),t}function Pc(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function mi(t,e){t.pendingLanes|=e,e!==268435456&&(t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0)}function tr(t,e,n,a,i,c){var s=t.pendingLanes;t.pendingLanes=n,t.suspendedLanes=0,t.pingedLanes=0,t.warmLanes=0,t.expiredLanes&=n,t.entangledLanes&=n,t.errorRecoveryDisabledLanes&=n,t.shellSuspendCounter=0;var d=t.entanglements,y=t.expirationTimes,b=t.hiddenUpdates;for(n=s&~n;0<n;){var H=31-ke(n),L=1<<H;d[H Line truncated
`).replace(rd,"")}function bt(t,e){return e=Nu(e),Nu(t)===e}function Uc(){}function Tt(t,e,n,a,i,c){switch(n){case"children":typeof a=="string"?e==="body"||e==="textarea"&&a===""||Wn(t,a):(typeof a=="number"||typeof a=="bigint")&&e!=="body"&&Wn(t,""+a);break;case"className":Si(t,"class",a);break;case"tabIndex":Si(t,"tabindex",a);break;case"dir":case"role":case"viewBox":case"width":case"height":Si(t,n,a);break;case"style":_o(t,a,c);break;case"data":if(e!=="object"){Si(t,"data",a);break}case"src":case"href":if(a===""&&(e!=="a"||n!=="href")){t.removeAttribute(n);break}if(a==null||typeof a=="function"||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=Ti(""+a),t.setAttribute(n,a);break;case"action":case"formAction":if(typeof a=="function"){t.setAttribute(n,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof c=="function"&&(n==="formAction"?(e!=="input"&&Tt(t,e,"name",i.name,i,null),Tt(t,e,"formEncType",i.formEncType,i,null),Tt(t,e,"formMethod",i.formMethod,i,null),Tt(t,e,"formTarget",i.formTarget,i,null)):(Tt(t,e,"encType",i.encType,i,null),Tt(t,e,"method",i.method,i,null),Tt(t,e,"target",i.target,i,null)));if(a==null||typeof a=="symbol"||typeof a=="boolean"){t.removeAttribute(n);break}a=Ti(""+a),t.setAttribute(n,a);break;case"onClick":a!=null&&(t.onclick=Uc);break;case"onScroll":a!=null&&Yt("scroll",t);break;case"onScrollEnd":a!=null&&Yt("scrollend",t);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(E(61));if(n=a.__html,n!=null){if(i.children!=null)throw Error(E(60));t.innerHTML=n}}break;case"multiple":t.multiple=a&&typeof a!="function"&&typeof a!="symbol";break;case"muted":t.muted=a&&typeof a!="function"&&typeof a!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(a==null||typeof a=="function"||typeof a=="boolean"||typeof a=="symbol"){t.removeAttribute("xlink:href");break}n=Ti(""+a),t.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",n);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""+a):t.removeAttribute(n);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":a&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,""):t.removeAttribute(n);break;case"capture":case"download":a===!0?t.setAttribute(n,""):a!==!1&&a!=null&&typeof a!="function"&&typeof a!="symbol"?t.setAttribute(n,a):t.removeAttribute(n);break;case"cols":case"rows":case"size":case"span":a!=null&&typeof a!="function"&&typeof a!="symbol"&&!isNaN(a)&&1<=a?t.setAttribute(n,a):t.removeAttribute(n);break;case"rowSpan":case"start":a==null||typeof a=="function"||typeof a=="symbol"||isNaN(a)?t.removeAttribute(n):t.setAttribute(n,a);break;case"popover":Yt("beforetoggle",t),Yt("toggle",t),xf(t,"popover",a);break;case"xlinkActuate":gl(t,"http://www.w3.org/1999/xlink","xlink:actuate",a);break;case"xlinkArcrole":gl(t,"http://www.w3.org/1999/xlink","xlink:arcrole",a);break;case"xlinkRole":gl(t,"http://www.w3.org/1999/xlink","xlink:role",a);break;case"xlinkShow":gl(t,"http://www.w3.org/1999/xlink","xlink:show",a);break;case"xlinkTitle":gl(t,"http://www.w3.org/1999/xlink","xlink:title",a);break;case"xlinkType":gl(t,"http://www.w3.org/1999/xlink","xlink:type",a);break;case"xmlBase":gl(t,"http://www.w3.org/XML/1998/namespace","xml:base",a);break;case"xmlLang":gl(t,"http://www.w3.org/XML/1998/namespace","xml:lang",a);break;case"xmlSpace":gl(t,"http://www.w3.org/XML/1998/namespace","xml:space",a);break;case"is":xf(t,"is",a);break;case"innerText":case"textContent":break;default:(!(2<n.length)||n[0]!=="o"&&n[0]!=="O"||n[1]!=="n"&&n[1]!=="N")&&(n=mo.get(n)||n,xf(t,n,a))}}function _e(t,e,n,a,i,c){switch(n){case"style":_o(t,a,c);break;case"dangerouslySetInnerHTML":if(a!=null){if(typeof a!="object"||!("__html"in a))throw Error(E(61));if(n=a.__html,n!=null){if(i.children!=null)throw Error(E(60));t.innerHTML=n}}break;case"children":typeof a=="string"?Wn(t,a):(typeof a=="number"||typeof a=="bigint")&&Wn(t,""+a);break;case"onScroll":a!=null&&Yt("scroll",t);break;case"onScrollEnd":a!=null&&Yt("scrollend",t);break;case"onClick":a!=null&&(t.onclick=Uc);break;case"suppressContentEditableWarning":case"suppressHydrationWar Line truncated
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/var Vv=no.exports,Pd;function Jv(){return Pd||(Pd=1,function(T,Q){(function(){var g,E="4.17.21",Z=200,Mt="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",k="Expected a function",$="Invalid `variable` option passed into `_.template`",G="__lodash_hash_undefined__",U=500,nt="__lodash_placeholder__",it=1,ct=2,lt=4,Jt=1,yt=2,Nt=1,fe=2,ne=4,le=8,Ce=16,pt=32,ie=64,pe=128,ve=256,I=512,St=30,qe="...",wt=800,Ht=16,Te=1,V=2,X=3,ft=1/0,F=9007199254740991,It=17976931348623157e292,p=NaN,q=4294967295,dt=q-1,rt=q>>>1,J=[["ary",pe],["bind",Nt],["bindKey",fe],["curry",le],["curryRight",Ce],["flip",I],["partial",pt],["partialRight",ie],["rearg",ve]],xt="[object Arguments]",At="[object Array]",$e="[object AsyncFunction]",Xt="[object Boolean]",ce="[object Date]",re="[object DOMException]",gn="[object Error]",fu="[object Function]",Bl="[object GeneratorFunction]",an="[object Map]",cu="[object Number]",_a="[object Null]",Jn="[object Object]",hi="[object Promise]",Jc="[object Proxy]",Gu="[object RegExp]",yn="[object Set]",di="[object String]",Tf="[object Symbol]",hl="[object Undefined]",vi="[object WeakMap]",lo="[object WeakSet]",ma="[object ArrayBuffer]",Nl="[object DataView]",Wc="[object Float32Array]",Of="[object Float64Array]",$c="[object Int8Array]",Fc="[object Int16Array]",Xu="[object Int32Array]",Fe="[object Uint8Array]",kc="[object Uint8ClampedArray]",dl="[object Uint16Array]",ke="[object Uint32Array]",y0=/\b__p \+= '';/g,_0=/\b(__p \+=) '' \+/g,m0=/(__e\(.*?\)|\b__t\)) \+\n'';/g,gi=/&(?:amp|lt|gt|quot|#39);/g,yi=/[&<>"']/g,Qu=RegExp(gi.source),Rf=RegExp(yi.source),_i=/<%-([\s\S]+?)%>/g,p0=/<%([\s\S]+?)%>/g,Ic=/<%=([\s\S]+?)%>/g,uo=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Pc=/^\w*$/,mi=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,tr=/[\\^$.*+?()[\]{}|]/g,ao=RegExp(tr.source),Mf=/^\s+/,io=/\s/,fo=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,S0=/\{\n\/\* \[wrapped with (.+)\] \*/,ru=/,? & /,Ze=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,fn=/[()=,{}\[\]\/\s]/,pa=/\\(\\)?/g,er=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,co=/\w*$/,b0=/^[-+]0x[0-9a-f]+$/i,ro=/^0b[01]+$/i,pi=/^\[object .+?Constructor\]$/,nr=/^0o[0-7]+$/i,Zu=/^(?:0|[1-9]\d*)$/,Sa=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,su=/($^)/,ba=/['\n\r\u2028\u2029\\]/g,Oe="\\ud800-\\udfff",so="\\u0300-\\u036f",oo="\\ufe20-\\ufe2f",Ku="\\u20d0-\\u20ff",ju=so+oo+Ku,vl="\\u2700-\\u27bf",ho="a-z\\xdf-\\xf6\\xf8-\\xff",vo="\\xac\\xb1\\xd7\\xf7",go="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",A0="\\u2000-\\u206f",xf=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Si="A-Z\\xc0-\\xd6\\xd8-\\xde",gl="\\ufe0e\\ufe0f",_n=vo+go+A0+xf,zf="['’]",E0="["+Oe+"]",bi="["+_n+"]",Ai="["+ju+"]",Ei="\\d+",T0="["+vl+"]",mn="["+ho+"]",Df="[^"+Oe+_n+Ei+vl+ho+Si+"]",Uf="\\ud83c[\\udffb-\\udfff]",lr="(?:"+Ai+"|"+Uf+")",Vu="[^"+Oe+"]",Cf="(?:\\ud83c[\\udde6-\\uddff]){2}",Hf="[\\ud800-\\udbff][\\udc00-\\udfff]",Wn="["+Si+"]",yo="\\u200d",ur="(?:"+mn+"|"+Df+")",_o="(?:"+Wn+"|"+Df+")",Bf="(?:"+zf+"(?:d|ll|m|re|s|t|ve))?",mo="(?:"+zf+"(?:D|LL|M|RE|S|T|VE))?",po=lr+"?",Ti="["+gl+"]?",ar="(?:"+yo+"(?:"+[Vu,Cf,Hf].join("|")+")"+Ti+po+")*",ir="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Aa="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Ju=Ti+po+ar,So="(?:"+[T0,Cf,Hf].join("|")+")"+Ju,fr="(?:"+[Vu+Ai+"?",Ai,Cf,Hf,E0].join("|")+")",bo=RegExp(zf,"g"),Oi=RegExp(Ai,"g"),Ri=RegExp(Uf+"(?="+Uf+")|"+fr+Ju,"g"),Mi=RegExp([Wn+"?"+mn+"+"+Bf+"(?="+[bi,Wn,"$"].join("|")+")",_o+"+"+mo+"(?="+[bi,Wn+ur,"$"].join("|")+")",Wn+"?"+ur+"+"+Bf,Wn+"+"+mo,Aa,ir,Ei,So].join("|"),"g"),ou=RegExp("["+yo+Oe+ju+gl+"]"),cr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Nf=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Ao=-1,Pt={};Pt[Wc]=Pt[Of]=Pt[$c]=Pt[Fc]=Pt[Xu]=Pt[Fe]=Pt[kc]=Pt[dl]=Pt[ke]=!0,Pt[xt]=Pt[At]=Pt[ma]=Pt[Xt]=Pt[Nl]=Pt[ce]=Pt[gn]=Pt[fu]=Pt[an]=Pt[cu]=Pt[Jn]=Pt[Gu]=Pt[yn]=Pt[di]=Pt[vi]=!1;var kt={};kt[xt]=kt[At]=kt[ma]=kt[Nl]=kt[Xt]=kt[ce]=kt[Wc]=kt[Of]=kt[$c]=kt[Fc]=kt[Xu]=kt[an]=kt[cu]=kt[Jn]=kt[Gu]=kt[yn]=kt[di]=kt[Tf]=kt[Fe]=kt[kc]=kt[dl]=kt[ke]=!0,kt[gn]=kt[fu]=kt[vi]=!1;var Eo={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",Line truncated
/* [wrapped with `+u+`] */
`)}function _h(l){return bt(l)||Nu(l)||!!(Iu&&l&&l[Iu])}function il(l,u){var f=typeof l;return u=u??F,!!u&&(f=="number"||f!="symbol"&&Zu.test(l))&&l>-1&&l%1==0&&l<u}function Ge(l,u,f){if(!de(f))return!1;var r=typeof u;return(r=="number"?Tt(f)&&il(u,f.length):r=="string"&&u in f)?Vn(f[u],l):!1}function Ia(l,u){if(bt(l))return!1;var f=typeof l;return f=="number"||f=="symbol"||f=="boolean"||l==null||Cn(l)?!0:Pc.test(l)||!uo.test(l)||u!=null&&l in te(u)}function kl(l){var u=typeof l;return u=="string"||u=="number"||u=="symbol"||u=="boolean"?l!=="__proto__":l===null}function he(l){var u=ul(l),f=h[u];if(typeof f!="function"||!(u in Et.prototype))return!1;if(l===f)return!0;var r=Fi(f);return!!r&&l===r[0]}function ls(l){return!!qn&&qn in l}var mh=Wf?lu:Ud;function be(l){var u=l&&l.constructor,f=typeof u=="function"&&u.prototype||za;return l===f}function us(l){return l===l&&!de(l)}function ph(l,u){return function(f){return f==null?!1:f[l]===u&&(u!==g||l in te(f))}}function Sh(l){var u=of(l,function(r){return f.size===U&&f.clear(),r}),f=u.cache;return u}function bh(l,u){var f=l[1],r=u[1],o=f|r,v=o<(Nt|fe|pe),_=r==pe&&f==le||r==pe&&f==ve&&l[7].length<=u[8]||r==(pe|ve)&&u[7].length<=u[8]&&f==le;if(!(v||_))return l;r&Nt&&(l[2]=u[2],o|=f&Nt?0:ne);var m=u[3];if(m){var O=l[3];l[3]=O?Wr(O,m,u[4]):m,l[4]=O?gu(l[3],nt):u[4]}return m=u[5],m&&(O=l[5],l[5]=O?$r(O,m,u[6]):m,l[6]=O?gu(l[5],nt):u[6]),m=u[7],m&&(l[7]=m),r&pe&&(l[8]=l[8]==null?u[8]:_t(l[8],u[8])),l[9]==null&&(l[9]=u[9]),l[0]=u[0],l[1]=o,l}function Ue(l){var u=[];if(l!=null)for(var f in te(l))u.push(f);return u}function Rn(l){return Ie.call(l)}function zl(l,u,f){return u=qt(u===g?l.length-1:u,0),function(){for(var r=arguments,o=-1,v=qt(r.length-u,0),_=z(v);++o<v;)_[o]=r[u+o];o=-1;for(var m=z(u+1);++o<u;)m[o]=r[o];return m[u]=f(_),rn(l,this,m)}}function as(l,u){return u.length<2?l:Jl(l,Tn(u,0,-1))}function Ah(l,u){for(var f=l.length,r=_t(u.length,f),o=en(l);r--;){var v=u[r];l[r]=il(v,f)?o[v]:g}return l}function is(l,u){if(!(u==="constructor"&&typeof l[u]=="function")&&u!="__proto__")return l[u]}var bc=xn(Qr),Ve=ta||function(l,u){return Re.setTimeout(l,u)},Mn=xn(K0);function fs(l,u,f){var r=u+"";return Mn(l,yh(r,cs(vh(r),f)))}function xn(l){var u=0,f=0;return function(){var r=kn(),o=Ht-(r-f);if(f=r,o>0){if(++u>=wt)return arguments[0]}else u=0;return l.apply(g,arguments)}}function Pi(l,u){var f=-1,r=l.length,o=r-1;for(u=u===g?r:u;++f<u;){var v=sc(f,o),_=l[v];l[v]=l[f],l[f]=_}return l.length=u,l}var Dl=Sh(function(l){var u=[];return l.charCodeAt(0)===46&&u.push(""),l.replace(mi,function(f,r,o,v){u.push(o?v.replace(pa,"$1"):r||f)}),u});function nn(l){if(typeof l=="string"||Cn(l))return l;var u=l+"";return u=="0"&&1/l==-1/0?"-0":u}function dn(l){if(l!=null){try{return Di.call(l)}catch{}try{return l+""}catch{}}return""}function cs(l,u){return wn(J,function(f){var r="_."+f[0];u&f[1]&&!Yf(l,r)&&l.push(r)}),l.sort()}function Ac(l){if(l instanceof Et)return l.clone();var u=new An(l.__wrapped__,l.__chain__);return u.__actions__=en(l.__actions__),u.__index__=l.__index__,u.__values__=l.__values__,u}function Uu(l,u,f){(f?Ge(l,u,f):u===g)?u=1:u=qt(Ot(u),0);var r=l==null?0:l.length;if(!r||u<1)return[];for(var o=0,v=0,_=z(Xn(r/u));o<r;)_[v++]=Tn(l,o,o+=u);return _}function Eh(l){for(var u=-1,f=l==null?0:l.length,r=0,o=[];++u<f;){var v=l[u];v&&(o[r++]=v)}return o}function Pa(){var l=arguments.length;if(!l)return[];for(var u=z(l-1),f=arguments[0],r=l;r--;)u[r-1]=arguments[r];return wl(bt(f)?en(f):[f],ze(u,1))}var tf=Rt(function(l,u){return _e(l)?wa(l,ze(u,1,_e,!0)):[]}),ef=Rt(function(l,u){var f=ln(u);return _e(f)&&(f=g),_e(l)?wa(l,ze(u,1,_e,!0),ut(f,2)):[]}),ti=Rt(function(l,u){var f=ln(u);return _e(f)&&(f=g),_e(l)?wa(l,ze(u,1,_e,!0),g,f):[]});function Th(l,u,f){var r=l==null?0:l.length;return r?(u=f||u===g?1:Ot(u),Tn(l,u<0?0:u,r)):[]}function Oh(l,u,f){var r=l==null?0:l.length;return r?(u=f||u===g?1:Ot(u),u=r-u,Tn(l,0,u<0?0:u)):[]}function nf(l,u){return l&&l.length?Ka(l,ut(u,3),!0,!0):[]}function Rh(l,u){return l&&l.length?Ka(l,ut(u,3),!0):[]}function Ec(l,u,f,r){var o=l==null?0:l.length;return o?(f&&typeof f!="number"&&Ge(l,u,f)&&(f=0,r=o),sn(l,u,f,r)):[]}function rs(l,u,f){var r=l==null?0:l.length;if(!r)return-1;var o=f==null?0:Ot(f);return o<0&&(o=qt(r+o,0)),Gf(l,ut(u,3),o)}function Mh(l,u,f){var r=l==null?0:l.length;if(!r)return-1;var o=r-1;return f!==g&&(o=Ot(f),o=f<0?qt(r+o,0):_t(o,r-1)),Gf(l,ut(u,3),o,!0)}function zn(l){var u=l==null?0:l.length;return u?ze(l,1):[]}function ss(l){var u=l==null?0:l.length;return u?ze(l,ft):[]}function Cu(l,u){var f=l==null?0:l.length;return f?(u=u===g?1:Ot(u),ze(l,u)):[]}function xh(l){for(var u=-1,f=l==null?0:l.length,r={};++u<f;){var o=l[u];r[o[0]]=o[1]}return r}function lf(l){return l&&l.length?l[0]:g}function sa(l,u,f){var r=l==null?0:l.length;if(!r)return-1;var o=f==null?0:Ot(f);return o<0&&(o=qt(r+o,0)),Ta(l,u,o)}function zh(l){var u=l==null?0:l.length;return u?Tn(l,0,-1):[]}var os=Rt(function(l){var u=se(l,Wl);return u.length&&u[0]===l[0] Line truncated
`;l.replace(K,function(gt,Gt,Kt,sl,Bn,ol){return Kt||(Kt=sl),Y+=l.slice(B,ol).replace(ba,wo),Gt&&(m=!0,Y+=`' +
__e(`+Gt+`) +
'`),Bn&&(O=!0,Y+=`';
`+Bn+`;
__p += '`),Kt&&(Y+=`' +
((__t = (`+Kt+`)) == null ? '' : __t) +
'`),B=ol+gt.length,gt}),Y+=`';
`;var vt=Wt.call(u,"variable")&&u.variable;if(!vt)Y=`with (obj) {
`+Y+`
}
`;else if(fn.test(vt))throw new ot($);Y=(O?Y.replace(y0,""):Y).replace(_0,"$1").replace(m0,"$1;"),Y="function("+(vt||"obj")+`) {
`+(vt?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(m?", __e = _.escape":"")+(O?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+Y+`return __p
}`;var Ct=R(function(){return Lt(v,tt+"return "+Y).apply(g,_)});if(Ct.source=Y,vf(Ct))throw Ct;return Ct}function d(l){return Ft(l).toLowerCase()}function y(l){return Ft(l).toUpperCase()}function b(l,u,f){if(l=Ft(l),l&&(f||u===g))return Bo(l);if(!l||!(u=Se(u)))return l;var r=Ln(l),o=Ln(u),v=Ma(r,o),_=xa(r,o)+1;return Fl(r,v,_).join("")}function H(l,u,f){if(l=Ft(l),l&&(f||u===g))return l.slice(0,_r(l)+1);if(!l||!(u=Se(u)))return l;var r=Ln(l),o=xa(r,Ln(u))+1;return Fl(r,0,o).join("")}function L(l,u,f){if(l=Ft(l),l&&(f||u===g))return l.replace(Mf,"");if(!l||!(u=Se(u)))return l;var r=Ln(l),o=Ma(r,Ln(u));return Fl(r,o).join("")}function x(l,u){var f=St,r=qe;if(de(u)){var o="separator"in u?u.separator:o;f="length"in u?Ot(u.length):f,r="omission"in u?Se(u.omission):r}l=Ft(l);var v=l.length;if(vu(l)){var _=Ln(l);v=_.length}if(f>=v)return l;var m=f-_l(r);if(m<1)return r;var O=_?Fl(_,0,m).join(""):l.slice(0,m);if(o===g)return O+r;if(_&&(m+=O.length-m),Bc(o)){if(l.slice(m).search(o)){var B,w=O;for(o.global||(o=Ll(o.source,Ft(co.exec(o))+"g")),o.lastIndex=0;B=o.exec(w);)var Y=B.index;O=O.slice(0,Y===g?m:Y)}}else if(l.indexOf(Se(o),m)!=m){var K=O.lastIndexOf(o);K>-1&&(O=O.slice(0,K))}return O+r}function C(l){return l=Ft(l),l&&Qu.test(l)?l.replace(gi,Go):l}var P=Ru(function(l,u,f){return l+(f?" ":"")+u.toUpperCase()}),mt=dc("toUpperCase");function me(l,u,f){return l=Ft(l),u=f?g:u,u===g?Lo(l)?w0(l):U0(l):l.match(u)||[]}var R=Rt(function(l,u){try{return rn(l,g,u)}catch(f){return vf(f)?f:new ot(f)}}),S=Ml(function(l,u){return wn(u,function(f){f=nn(f),En(l,f,ga(l[f],l))}),l});function M(l){var u=l==null?0:l.length,f=ut();return l=u?se(l,function(r){if(typeof r[1]!="function")throw new bn(k);return[f(r[0]),r[1]]}):[],Rt(function(r){for(var o=-1;++o<u;){var v=l[o];if(rn(v[0],this,r))return rn(v[1],this,r)}})}function N(l){return xr(jt(l,it))}function W(l){return function(){return l}}function Ut(l,u){return l==null||l!==l?u:l}var et=gc(),ht=gc(!0);function Vt(l){return l}function Zt(l){return Br(typeof l=="function"?l:jt(l,it))}function Yu(l){return Nr(jt(l,it))}function Md(l,u){return rc(l,jt(u,it))}var lv=Rt(function(l,u){return function(f){return qa(f,l,u)}}),uv=Rt(function(l,u){return function(f){return qa(l,f,u)}});function xd(l,u,f){var r=we(u),o=fa(u,r);f==null&&!(de(u)&&(o.length||!r.length))&&(f=u,u=l,l=this,o=fa(u,we(u)));var v=!(de(f)&&"chain"in f)||!!f.chain,_=lu(l);return wn(o,function(m){var O=u[m];l[m]=O,_&&(l.prototype[m]=function(){var B=this.__chain__;if(v||B){var w=l(this.__wrapped__),Y=w.__actions__=en(this.__actions__);return Y.push({func:O,args:arguments,thisArg:l}),w.__chain__=B,w}return O.apply(l,wl([this.value()],arguments))})}),l}function av(){return Re._===this&&(Re._=pr),this}function zd(){}function iv(l){return l=Ot(l),Rt(function(u){return wr(u,l)})}var fv=el(se),cv=el(Do),rv=el(dr);function Gd(l){return Ia(l)?Xf(nn(l)):ch(l)}function sv(l){return function(u){return l==null?g:Jl(l,u)}}var ov=ts(),hv=ts(!0);function Dd(){return[]}function Ud(){return!1}function dv(){return{}}function vv(){return""}function gv(){return!0}function yv(l,u){if(l=Ot(l),l<1||l>F)return[];var f=q,r=_t(l,q);u=ut(u),l-=q;for(var o=du(r,u);++f<l;)u(f);return o}function _v(l){return bt(l)?se(l,nn):Cn(l)?[l]:en(Dl(Ft(l)))}function mv(l){var u=++Zo;return Ft(l)+u}var pv=Wi(function(l,u){return l+u},0),Sv=nl("ceil"),bv=Wi(function(l,u){return l/u},1),Av=nl("floor");function Ev(l){return l&&l.length?La(l,Vt,ic):g}function Tv(l,u){return l&&l.length?La(l,ut(u,2),ic):g}function Ov(l){return Co(l,Vt)}function Rv(l,u){return Co(l,ut(u,2))}function Mv(l){return l&&l.length?La(l,Vt,Ga):g}function xv(l,u){return l&&l.length?La(l,ut(u,2),Ga):g}var zv=Wi(function(l,u){return l*u},1),Dv=nl("round"),Uv=Wi(function(l,u){return l-u},0);function Cv(l){return l&&l.length?Zf(l,Vt):0}function Hv(l,u){return l&&l.length?Zf(l,ut(u,2)):0}return h.after=Os,h.ary=Bu,h.assign=ci,h.assignIn=ri,h.assignInWith=gf,h.assignWith=Lc,h.at=Ks,h.before=fl,h.bind=ga,h.bindAll=S,h.bindKey=Vh,h.castArray=Bs,h.chain=Je,h.chunk=Uu,h.compact=Eh,h.concat=Pa,h.cond=M,h.conforms=N,h.constant=W,h.countBy=qh,h.create=js,h.curry=Rs,h.curryRight=Ms,h.debounce=xs,h.defaults=qc,h.defaultsDeep=u0,h.defer=id,h.delay=zs,h.difference=tf,h.differenceBy=ef,h.differenceWith=ti,h.drop=Th,h.dropRight=Oh,h.dropRightWhile=nf,h.dropWhile=Rh,h.fill=Ec,h.filter=As,h.flatMap=td,h.flatMapDeep=Yh,h.flatMapDepth=Gh,h.flatten=zn,h.flattenDeep=ss,h.flattenDepth=Cu,h.flip=Jh,h.flow=et,h.flowRight=ht,h.fromPairs=xh,h.functions=pd,h.functionsIn=Yc,h.groupBy=Xh,h.initial=zh,h.intersection=os,h.intersectionBy=hs,h.intersectionWith=Il,h.invert=_f,h.invertBy=Sd,h.invokeMap=ed,h.iteratee=Zt,h.keyBy=Zh,h.keys=we,h.keysIn=un,h.map=nu,h.mapKeys=c0,h.mapValues=Ws,h.matches=Yu,h.matchesProperty=Md,h.memoize=of,h.merge=r0,h.mergeWith=mf,h.method=lv,h.methodOf=uv,h.mixin=xd,h.negate=xc,h.nthArg=iv,h.omit=bd,h.omitBy=Ad,h.once=Ds,h.orderBy=Kh,h.over=fv,h.overArgs=Us,h.overEvery=cv,h.overSome=rv,h.partial=Cs,h.p Line truncated
@@ -0,0 +1,8 @@
{
"src/main.jsx": {
"file": "assets/main-CNyZ4sn3.js",
"name": "main",
"src": "src/main.jsx",
"isEntry": true
}
}
@@ -0,0 +1,78 @@
var SE=Object.defineProperty;var xE=(e,t,r)=>t in e?SE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Zh=(e,t,r)=>(xE(e,typeof t!="symbol"?t+"":t,r),r);const CE="modulepreload",EE=function(e){return"/"+e},Xh={},kE=function(t,r,o){if(!r||r.length===0)return t();const l=document.getElementsByTagName("link");return Promise.all(r.map(s=>{if(s=EE(s),s in Xh)return;Xh[s]=!0;const c=s.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(!!o)for(let E=l.length-1;E>=0;E--){const x=l[E];if(x.href===s&&(!c||x.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${f}`))return;const m=document.createElement("link");if(m.rel=c?"stylesheet":CE,c||(m.as="script",m.crossOrigin=""),m.href=s,document.head.appendChild(m),c)return new Promise((E,x)=>{m.addEventListener("load",E),m.addEventListener("error",()=>x(new Error(`Unable to preload CSS for ${s}`)))})})).then(()=>t()).catch(s=>{const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=s,window.dispatchEvent(c),!c.defaultPrevented)throw s})};var fo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function LE(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var c0={exports:{}},ps={},f0={exports:{}},me={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var il=Symbol.for("react.element"),RE=Symbol.for("react.portal"),IE=Symbol.for("react.fragment"),TE=Symbol.for("react.strict_mode"),OE=Symbol.for("react.profiler"),AE=Symbol.for("react.provider"),NE=Symbol.for("react.context"),PE=Symbol.for("react.forward_ref"),BE=Symbol.for("react.suspense"),ME=Symbol.for("react.memo"),WE=Symbol.for("react.lazy"),Jh=Symbol.iterator;function DE(e){return e===null||typeof e!="object"?null:(e=Jh&&e[Jh]||e["@@iterator"],typeof e=="function"?e:null)}var d0={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p0=Object.assign,h0={};function $i(e,t,r){this.props=e,this.context=t,this.refs=h0,this.updater=r||d0}$i.prototype.isReactComponent={};$i.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};$i.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function g0(){}g0.prototype=$i.prototype;function _f(e,t,r){this.props=e,this.context=t,this.refs=h0,this.updater=r||d0}var Sf=_f.prototype=new g0;Sf.constructor=_f;p0(Sf,$i.prototype);Sf.isPureReactComponent=!0;var bh=Array.isArray,m0=Object.prototype.hasOwnProperty,xf={current:null},v0={key:!0,ref:!0,__self:!0,__source:!0};function w0(e,t,r){var o,l={},s=null,c=null;if(t!=null)for(o in t.ref!==void 0&&(c=t.ref),t.key!==void 0&&(s=""+t.key),t)m0.call(t,o)&&!v0.hasOwnProperty(o)&&(l[o]=t[o]);var f=arguments.length-2;if(f===1)l.children=r;else if(1<f){for(var p=Array(f),m=0;m<f;m++)p[m]=arguments[m+2];l.children=p}if(e&&e.defaultProps)for(o in f=e.defaultProps,f)l[o]===void 0&&(l[o]=f[o]);return{$$typeof:il,type:e,key:s,ref:c,props:l,_owner:xf.current}}function zE(e,t){return{$$typeof:il,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function Cf(e){return typeof e=="object"&&e!==null&&e.$$typeof===il}function $E(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(r){return t[r]})}var eg=/\/+/g;function Za(e,t){return typeof e=="object"&&e!==null&&e.key!=null?$E(""+e.key):t.toString(36)}function Eu(e,t,r,o,l){var s=typeof e;(s==="undefined"||s==="boolean")&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case"string":case"number":c=!0;break;case"object":switch(e.$$typeof){case il:case RE:c=!0}}if(c)return c=e,l=l(c),e=o===""?"."+Za(c,0):o,bh(l)?(r="",e!=null&&(r=e.replace(eg,"$&/")+"/"),Eu(l,t,r,"",function(m){return m})):l!=null&&(Cf(l)&&(l=zE(l,r+(!l.key||c&&c.key===l.key?"":(""+l.key).replace(eg,"$&/")+"/")+e)),t.push(l)),1;if(c=0,o=o===""?".":o+":",bh(e))for(var f=0;f<e.length;f++){s=e[f];var p=o+Za(s,f);c+=Eu(s,t,r,p,l)}else if(p=DE(e),typeof p=="function")for(e=p.call(e),f=0;!(s=e.next()).done;)s=s.value,p=o+Za(s,f++),c+=Eu(s,t,r,p,l);else if(s==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return c}function ru(e,t,r){if(e==null)return e;var o=[],l=0;return Eu(e,o,"","",function(s){return t.call(r,s,l++)}),o}function FE(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(r){(e._status===0||e._status===-1)&&(e._status=1,e._result=r)},function(r){(e._status===0||e._status===-1)&&(e._status=2,e._result=r)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var wt={current:null},ku={transition:null},UE={ReactCurrentDispatcher:wt,ReactCurrentBatchConfig:ku,ReactCurrentOwner:xf};me.Children={map:ru,forEach:function(e,t,r){ru(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return ru(e,function(){t++}),t},toArray:function(e){return ru(e,function(t){return t})||[]},only:function(e){if(!Cf(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};me.Component=$i;me.Fragment=IE;me.Profiler=OE;me.PureComponent=_f;me.StrictMode=TE;me.Suspense=BE;me.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=UE;me.cloneElement=function(e,t,r){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=p0({},e.props),l=e.key,s=e.ref,c=e._owner;if(t!=null){if(t.ref!==void 0&&(s=t.ref,c=xf.current),t.key!==void 0&&(l=""+t.key),e.type&&e.type.defaultProps)var f=e.type.defaultProps;for(p in t)m0.call(t,p)&&!v0.hasOwnProperty(p)&&(o[p]=t[p]===void 0&&f!==void 0?f[p]:t[p])}var p=arguments.length-2;if(p===1)o.children=r;else if(1<p){f=Array(p);for(var m=0;m<p;m++)f[m]=arguments[m+2];o.children=f}return{$$typeof:il,type:e.type,key:l,ref:s,props:o,_owner:c}};me.createContext=function(e){return e={$$typeof:NE,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},e.Provider={$$typeof:AE,_conLine truncated
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var HE=ee,GE=Symbol.for("react.element"),VE=Symbol.for("react.fragment"),qE=Object.prototype.hasOwnProperty,QE=HE.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,KE={key:!0,ref:!0,__self:!0,__source:!0};function y0(e,t,r){var o,l={},s=null,c=null;r!==void 0&&(s=""+r),t.key!==void 0&&(s=""+t.key),t.ref!==void 0&&(c=t.ref);for(o in t)qE.call(t,o)&&!KE.hasOwnProperty(o)&&(l[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps,t)l[o]===void 0&&(l[o]=t[o]);return{$$typeof:GE,type:e,key:s,ref:c,props:l,_owner:QE.current}}ps.Fragment=VE;ps.jsx=y0;ps.jsxs=y0;c0.exports=ps;var I=c0.exports,Ec={},_0={exports:{}},Ft={},S0={exports:{}},x0={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(U,V){var H=U.length;U.push(V);e:for(;0<H;){var Y=H-1>>>1,ve=U[Y];if(0<l(ve,V))U[Y]=V,U[H]=ve,H=Y;else break e}}function r(U){return U.length===0?null:U[0]}function o(U){if(U.length===0)return null;var V=U[0],H=U.pop();if(H!==V){U[0]=H;e:for(var Y=0,ve=U.length,ke=ve>>>1;Y<ke;){var Se=2*(Y+1)-1,Ye=U[Se],Ze=Se+1,Tt=U[Ze];if(0>l(Ye,H))Ze<ve&&0>l(Tt,Ye)?(U[Y]=Tt,U[Ze]=H,Y=Ze):(U[Y]=Ye,U[Se]=H,Y=Se);else if(Ze<ve&&0>l(Tt,H))U[Y]=Tt,U[Ze]=H,Y=Ze;else break e}}return V}function l(U,V){var H=U.sortIndex-V.sortIndex;return H!==0?H:U.id-V.id}if(typeof performance=="object"&&typeof performance.now=="function"){var s=performance;e.unstable_now=function(){return s.now()}}else{var c=Date,f=c.now();e.unstable_now=function(){return c.now()-f}}var p=[],m=[],E=1,x=null,w=3,S=!1,T=!1,L=!1,z=typeof setTimeout=="function"?setTimeout:null,v=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(U){for(var V=r(m);V!==null;){if(V.callback===null)o(m);else if(V.startTime<=U)o(m),V.sortIndex=V.expirationTime,t(p,V);else break;V=r(m)}}function N(U){if(L=!1,C(U),!T)if(r(p)!==null)T=!0,Ne(M);else{var V=r(m);V!==null&&de(N,V.startTime-U)}}function M(U,V){T=!1,L&&(L=!1,v(B),B=-1),S=!0;var H=w;try{for(C(V),x=r(p);x!==null&&(!(x.expirationTime>V)||U&&!q());){var Y=x.callback;if(typeof Y=="function"){x.callback=null,w=x.priorityLevel;var ve=Y(x.expirationTime<=V);V=e.unstable_now(),typeof ve=="function"?x.callback=ve:x===r(p)&&o(p),C(V)}else o(p);x=r(p)}if(x!==null)var ke=!0;else{var Se=r(m);Se!==null&&de(N,Se.startTime-V),ke=!1}return ke}finally{x=null,w=H,S=!1}}var D=!1,O=null,B=-1,J=5,Q=-1;function q(){return!(e.unstable_now()-Q<J)}function b(){if(O!==null){var U=e.unstable_now();Q=U;var V=!0;try{V=O(!0,U)}finally{V?te():(D=!1,O=null)}}else D=!1}var te;if(typeof y=="function")te=function(){y(b)};else if(typeof MessageChannel<"u"){var ue=new MessageChannel,le=ue.port2;ue.port1.onmessage=b,te=function(){le.postMessage(null)}}else te=function(){z(b,0)};function Ne(U){O=U,D||(D=!0,te())}function de(U,V){B=z(function(){U(e.unstable_now())},V)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(U){U.callback=null},e.unstable_continueExecution=function(){T||S||(T=!0,Ne(M))},e.unstable_forceFrameRate=function(U){0>U||125<U?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):J=0<U?Math.floor(1e3/U):5},e.unstable_getCurrentPriorityLevel=function(){return w},e.unstable_getFirstCallbackNode=function(){return r(p)},e.unstable_next=function(U){switch(w){case 1:case 2:case 3:var V=3;break;default:V=w}var H=w;w=V;try{return U()}finally{w=H}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(U,V){switch(U){case 1:case 2:case 3:case 4:case 5:break;default:U=3}var H=w;w=U;try{return V()}finally{w=H}},e.unstable_scheduleCallback=function(U,V,H){var Y=e.unstable_now();switch(typeof H=="object"&&H!==null?(H=H.delay,H=typeof H=="number"&&0<H?Y+H:Y):H=Y,U){case 1:var ve=-1;break;case 2:ve=250;break;case 5:ve=1073741823;break;case 4:ve=1e4;break;default:ve=5e3}return ve=H+ve,U={id:E++,callback:V,priorityLevel:U,startTime:H,expirationTime:ve,sortIndex:-1},H>Y?(U.sortIndex=H,t(m,U),r(p)===null&&U===r(m)&&(L?(v(B),B=-1):L=!0,de(N,H-Y))):(U.sortIndex=ve,t(p,U),T||S||(T=!0,Ne(M))),U},e.unstable_shouldYield=q,e.unstable_wrapCallback=function(U){var V=w;return function(){var H=w;w=V;try{return U.apply(this,arguments)}finally{w=H}}}})(x0);S0.exports=x0;var YE=S0.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var C0=ee,$t=YE;function G(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var E0=new Set,$o={};function Qr(e,t){Ni(e,t),Ni(e+"Capture",t)}function Ni(e,t){for($o[e]=t,e=0;e<t.length;e++)E0.add(t[e])}var Un=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),kc=Object.prototype.hasOwnProperty,ZE=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,tg={},ng={};function XE(e){return kc.call(ng,e)?!0:kc.call(tg,e)?!1:ZE.test(e)?ng[e]=!0:(tg[e]=!0,!1)}function JE(e,t,r,o){if(r!==null&&r.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return o?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function bE(e,t,r,o){if(t===null||typeof t>"u"||JE(e,t,r,o))return!0;if(o)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function yt(e,t,r,o,l,s,c){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=o,this.attributeNamespace=l,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=s,this.removeEmptyString=c}var lt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){lt[e]=new yt(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];lt[t]=new yt(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){lt[e]=new yt(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){lt[e]=new yt(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){lt[e]=new yt(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){lt[e]=new yt(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){lt[e]=new yt(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){lt[e]=new yt(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){lt[e]=new yt(e,5,!1,e.toLowerCase(),null,!1,!1)});var Ef=/[\-:]([a-z])/g;function kf(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(Ef,kf);lt[t]=new yt(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(Ef,kf);lt[t]=new yt(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(Ef,kf);lt[t]=new yt(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){lt[e]=new yt(e,1,!1,e.toLowerCase(),null,!1,!1)});lt.xlinkHref=new yt("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){lt[e]=new yt(e,1,!1,e.toLowerCase(),null,!0,!0)});function Lf(e,t,r,o){var l=lt.hasOwnProperty(t)?lt[t]:null;(l!==null?l.type!==0:o||!(2<t.length)||t[0]!=="o"&&t[0]!== Line truncated
`+Xa+e}var Ja=!1;function ba(e,t){if(!e||Ja)return"";Ja=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(m){var o=m}Reflect.construct(e,[],t)}else{try{t.call()}catch(m){o=m}e.call(t.prototype)}else{try{throw Error()}catch(m){o=m}e()}}catch(m){if(m&&o&&typeof m.stack=="string"){for(var l=m.stack.split(`
`),s=o.stack.split(`
`),c=l.length-1,f=s.length-1;1<=c&&0<=f&&l[c]!==s[f];)f--;for(;1<=c&&0<=f;c--,f--)if(l[c]!==s[f]){if(c!==1||f!==1)do if(c--,f--,0>f||l[c]!==s[f]){var p=`
`+l[c].replace(" at new "," at ");return e.displayName&&p.includes("<anonymous>")&&(p=p.replace("<anonymous>",e.displayName)),p}while(1<=c&&0<=f);break}}}finally{Ja=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?ko(e):""}function e2(e){switch(e.tag){case 5:return ko(e.type);case 16:return ko("Lazy");case 13:return ko("Suspense");case 19:return ko("SuspenseList");case 0:case 2:case 15:return e=ba(e.type,!1),e;case 11:return e=ba(e.type.render,!1),e;case 1:return e=ba(e.type,!0),e;default:return""}}function Tc(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case gi:return"Fragment";case hi:return"Portal";case Lc:return"Profiler";case Rf:return"StrictMode";case Rc:return"Suspense";case Ic:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case L0:return(e.displayName||"Context")+".Consumer";case k0:return(e._context.displayName||"Context")+".Provider";case If:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Tf:return t=e.displayName||null,t!==null?t:Tc(e.type)||"Memo";case ir:t=e._payload,e=e._init;try{return Tc(e(t))}catch{}}return null}function t2(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Tc(t);case 8:return t===Rf?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Sr(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function I0(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function n2(e){var t=I0(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var l=r.get,s=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return l.call(this)},set:function(c){o=""+c,s.call(this,c)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return o},setValue:function(c){o=""+c},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function ou(e){e._valueTracker||(e._valueTracker=n2(e))}function T0(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),o="";return e&&(o=I0(e)?e.checked?"true":"false":e.value),e=o,e!==r?(t.setValue(e),!0):!1}function Du(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Oc(e,t){var r=t.checked;return ze({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function ig(e,t){var r=t.defaultValue==null?"":t.defaultValue,o=t.checked!=null?t.checked:t.defaultChecked;r=Sr(t.value!=null?t.value:r),e._wrapperState={initialChecked:o,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function O0(e,t){t=t.checked,t!=null&&Lf(e,"checked",t,!1)}function Ac(e,t){O0(e,t);var r=Sr(t.value),o=t.type;if(r!=null)o==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(o==="submit"||o==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Nc(e,t.type,r):t.hasOwnProperty("defaultValue")&&Nc(e,t.type,Sr(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function og(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(!(o!=="submit"&&o!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}r=e.name,r!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,r!==""&&(e.name=r)}function Nc(e,t,r){(t!=="number"||Du(e.ownerDocument)!==e)&&(r==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var Lo=Array.isArray;function Li(e,t,r,o){if(e=e.options,t){t={};for(var l=0;l<r.length;l++)t["$"+r[l]]=!0;for(r=0;r<e.length;r++)l=t.hasOwnProperty("$"+e[r].value),e[r].selected!==l&&(e[r].selected=l),l&&o&&(e[r].defaultSelected=!0)}else{for(r=""+Sr(r),t=null,l=0;l<e.length;l++){if(e[l].value===r){e[l].selected=!0,o&&(e[l].defaultSelected=!0);return}t!==null||e[l].disabled||(t=e[l])}t!==null&&(t.selected=!0)}}function Pc(e,t){if(t.dan Line truncated
`).replace(dk,"")}function pu(e,t,r){if(t=Ig(t),Ig(e)!==t&&r)throw Error(G(425))}function Vu(){}var qc=null,Qc=null;function Kc(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Yc=typeof setTimeout=="function"?setTimeout:void 0,pk=typeof clearTimeout=="function"?clearTimeout:void 0,Tg=typeof Promise=="function"?Promise:void 0,hk=typeof queueMicrotask=="function"?queueMicrotask:typeof Tg<"u"?function(e){return Tg.resolve(null).then(e).catch(gk)}:Yc;function gk(e){setTimeout(function(){throw e})}function dc(e,t){var r=t,o=0;do{var l=r.nextSibling;if(e.removeChild(r),l&&l.nodeType===8)if(r=l.data,r==="/$"){if(o===0){e.removeChild(l),Go(t);return}o--}else r!=="$"&&r!=="$?"&&r!=="$!"||o++;r=l}while(r);Go(t)}function hr(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function Og(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r==="$"||r==="$!"||r==="$?"){if(t===0)return e;t--}else r==="/$"&&t++}e=e.previousSibling}return null}var Ui=Math.random().toString(36).slice(2),Cn="__reactFiber$"+Ui,Yo="__reactProps$"+Ui,jn="__reactContainer$"+Ui,Zc="__reactEvents$"+Ui,mk="__reactListeners$"+Ui,vk="__reactHandles$"+Ui;function Dr(e){var t=e[Cn];if(t)return t;for(var r=e.parentNode;r;){if(t=r[jn]||r[Cn]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=Og(e);e!==null;){if(r=e[Cn])return r;e=Og(e)}return t}e=r,r=e.parentNode}return null}function ul(e){return e=e[Cn]||e[jn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function yi(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(G(33))}function ws(e){return e[Yo]||null}var Xc=[],_i=-1;function Er(e){return{current:e}}function Ae(e){0>_i||(e.current=Xc[_i],Xc[_i]=null,_i--)}function Ie(e,t){_i++,Xc[_i]=e.current,e.current=t}var xr={},dt=Er(xr),Lt=Er(!1),jr=xr;function Pi(e,t){var r=e.type.contextTypes;if(!r)return xr;var o=e.stateNode;if(o&&o.__reactInternalMemoizedUnmaskedChildContext===t)return o.__reactInternalMemoizedMaskedChildContext;var l={},s;for(s in r)l[s]=t[s];return o&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=l),l}function Rt(e){return e=e.childContextTypes,e!=null}function qu(){Ae(Lt),Ae(dt)}function Ag(e,t,r){if(dt.current!==xr)throw Error(G(168));Ie(dt,t),Ie(Lt,r)}function wm(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,typeof o.getChildContext!="function")return r;o=o.getChildContext();for(var l in o)if(!(l in t))throw Error(G(108,t2(e)||"Unknown",l));return ze({},r,o)}function Qu(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||xr,jr=dt.current,Ie(dt,e),Ie(Lt,Lt.current),!0}function Ng(e,t,r){var o=e.stateNode;if(!o)throw Error(G(169));r?(e=wm(e,t,jr),o.__reactInternalMemoizedMergedChildContext=e,Ae(Lt),Ae(dt),Ie(dt,e)):Ae(Lt),Ie(Lt,r)}var Dn=null,ys=!1,pc=!1;function ym(e){Dn===null?Dn=[e]:Dn.push(e)}function wk(e){ys=!0,ym(e)}function kr(){if(!pc&&Dn!==null){pc=!0;var e=0,t=Ee;try{var r=Dn;for(Ee=1;e<r.length;e++){var o=r[e];do o=o(!0);while(o!==null)}Dn=null,ys=!1}catch(l){throw Dn!==null&&(Dn=Dn.slice(e+1)),G0(Af,kr),l}finally{Ee=t,pc=!1}}return null}var Si=[],xi=0,Ku=null,Yu=0,Zt=[],Xt=0,Hr=null,zn=1,$n="";function Mr(e,t){Si[xi++]=Yu,Si[xi++]=Ku,Ku=e,Yu=t}function _m(e,t,r){Zt[Xt++]=zn,Zt[Xt++]=$n,Zt[Xt++]=Hr,Hr=e;var o=zn;e=$n;var l=32-hn(o)-1;o&=~(1<<l),r+=1;var s=32-hn(t)+l;if(30<s){var c=l-l%5;s=(o&(1<<c)-1).toString(32),o>>=c,l-=c,zn=1<<32-hn(t)+l|r<<l|o,$n=s+e}else zn=1<<s|r<<l|o,$n=e}function Ff(e){e.return!==null&&(Mr(e,1),_m(e,1,0))}function Uf(e){for(;e===Ku;)Ku=Si[--xi],Si[xi]=null,Yu=Si[--xi],Si[xi]=null;for(;e===Hr;)Hr=Zt[--Xt],Zt[Xt]=null,$n=Zt[--Xt],Zt[Xt]=null,zn=Zt[--Xt],Zt[Xt]=null}var zt=null,Dt=null,Be=!1,pn=null;function Sm(e,t){var r=Jt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletions,t===null?(e.deletions=[r],e.flags|=16):t.push(r)}function Pg(e,t){switch(e.tag){case 5:var r=e.type;return t=t.nodeType!==1||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,zt=e,Dt=hr(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,zt=e,Dt=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(r=Hr!==null?{id:zn,overflow:$n}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},r=Jt(18,null,null,0),r.stateNode=t,r.return=e,e.child=r,zt=e,Dt=null,!0):!1;default:return!1}}function Jc(e){return(e.mode&1)!==0&&(e.flags&128)===0}function bc(e){if(Be){var t=Dt;if(t){var r=t;if(!Pg(e,t)){if(Jc(e))throw Error(G(418));t=hr(r.nextSibling);var o=zt;t&&Pg(e,t)?Sm(o,r):(e.flags=e.flags&-4097|2,Be=!1,zt=e)}}else{if(Jc(e))throw Error(G(418));e.flags=e.flags&-4097|2,Be=!1,zt=e}}}function Bg(e){for(e=e Line truncated
Error generating stack: `+s.message+`
`+s.stack}return{value:e,source:t,stack:l,digest:null}}function wc(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function rf(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var Rk=typeof WeakMap=="function"?WeakMap:Map;function Ym(e,t,r){r=Fn(-1,r),r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){rs||(rs=!0,hf=o),rf(e,t)},r}function Zm(e,t,r){r=Fn(-1,r),r.tag=3;var o=e.type.getDerivedStateFromError;if(typeof o=="function"){var l=t.value;r.payload=function(){return o(l)},r.callback=function(){rf(e,t)}}var s=e.stateNode;return s!==null&&typeof s.componentDidCatch=="function"&&(r.callback=function(){rf(e,t),typeof o!="function"&&(mr===null?mr=new Set([this]):mr.add(this));var c=t.stack;this.componentDidCatch(t.value,{componentStack:c!==null?c:""})}),r}function jg(e,t,r){var o=e.pingCache;if(o===null){o=e.pingCache=new Rk;var l=new Set;o.set(t,l)}else l=o.get(t),l===void 0&&(l=new Set,o.set(t,l));l.has(r)||(l.add(r),e=Uk.bind(null,e,t,r),t.then(e,e))}function Hg(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function Gg(e,t,r,o,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=Fn(-1,1),t.tag=2,gr(r,t,1))),r.lanes|=1),e)}var Ik=qn.ReactCurrentOwner,kt=!1;function mt(e,t,r,o){t.child=e===null?Im(t,null,r,o):Mi(t,e.child,r,o)}function Vg(e,t,r,o,l){r=r.render;var s=t.ref;return Oi(t,l),o=Jf(e,t,r,o,s,l),r=bf(),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Gn(e,t,l)):(Be&&r&&Ff(t),t.flags|=1,mt(e,t,o,l),t.child)}function qg(e,t,r,o,l){if(e===null){var s=r.type;return typeof s=="function"&&!ad(s)&&s.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=s,Xm(e,t,s,o,l)):(e=Mu(r.type,null,o,t,t.mode,l),e.ref=t.ref,e.return=t,t.child=e)}if(s=e.child,!(e.lanes&l)){var c=s.memoizedProps;if(r=r.compare,r=r!==null?r:qo,r(c,o)&&e.ref===t.ref)return Gn(e,t,l)}return t.flags|=1,e=wr(s,o),e.ref=t.ref,e.return=t,t.child=e}function Xm(e,t,r,o,l){if(e!==null){var s=e.memoizedProps;if(qo(s,o)&&e.ref===t.ref)if(kt=!1,t.pendingProps=o=s,(e.lanes&l)!==0)e.flags&131072&&(kt=!0);else return t.lanes=e.lanes,Gn(e,t,l)}return of(e,t,r,o,l)}function Jm(e,t,r){var o=t.pendingProps,l=o.children,s=e!==null?e.memoizedState:null;if(o.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ie(ki,Wt),Wt|=r;else{if(!(r&1073741824))return e=s!==null?s.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ie(ki,Wt),Wt|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},o=s!==null?s.baseLanes:r,Ie(ki,Wt),Wt|=o}else s!==null?(o=s.baseLanes|r,t.memoizedState=null):o=r,Ie(ki,Wt),Wt|=o;return mt(e,t,l,r),t.child}function bm(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function of(e,t,r,o,l){var s=Rt(r)?jr:dt.current;return s=Pi(t,s),Oi(t,l),r=Jf(e,t,r,o,s,l),o=bf(),e!==null&&!kt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~l,Gn(e,t,l)):(Be&&o&&Ff(t),t.flags|=1,mt(e,t,r,l),t.child)}function Qg(e,t,r,o,l){if(Rt(r)){var s=!0;Qu(t)}else s=!1;if(Oi(t,l),t.stateNode===null)Nu(e,t),Lm(t,r,o),nf(t,r,o,l),o=!0;else if(e===null){var c=t.stateNode,f=t.memoizedProps;c.props=f;var p=c.context,m=r.contextType;typeof m=="object"&&m!==null?m=en(m):(m=Rt(r)?jr:dt.current,m=Pi(t,m));var E=r.getDerivedStateFromProps,x=typeof E=="function"||typeof c.getSnapshotBeforeUpdate=="function";x||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(f!==o||p!==m)&&zg(t,c,o,m),or=!1;var w=t.memoizedState;c.state=w,Ju(t,o,c,l),p=t.memoizedState,f!==o||w!==p||Lt.current||or?(typeof E=="function"&&(tf(t,r,E,o),p=t.memoizedState),(f=or||Dg(t,r,f,o,w,p,m))?(x||typeof c.UNSAFE_componentWillMount!="function"&&typeof c.componentWillMount!="function"||(typeof c.componentWillMount=="function"&&c.componentWillMount(),typeof c.UNSAFE_componentWillMount=="function"&&c.UNSAFE_componentWillMount()),typeof c.componentDidMount=="function"&&(t.flags|=4194308)):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=o,t.memoizedState=p),c.props=o,c.state=p,c.context=m,o=f):(typeof c.componentDidMount=="function"&&(t.flags|=4194308),o=!1)}else{c=t.stateNode,Em(e,t),f=t.memoizedProps,m=t.type===t.elementType?f:fn(t.type,f),c.props=m,x=t.pendingProps,w=c.context,p=r.contextType,typeof p=="object"&&p!==null?p=en(p):(p=Rt(r)?jr:dt.current,p=Pi(t,p));var S=r.getDerivedStateFromProps;(E=typeof S=="function"||typeof c.getSnapshotBeforeUpdate=="function")||typeof c.UNSAFE_componentWillReceiveProps!="function"&&typeof c.componentWillReceiveProps!="function"||(f!==x||w!==p)&&zg(t,c,o,p),or=!1,w=t.memoizedState,c.state=w,Ju(t,o,c,l);var T=t.memoizedS Line truncated
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/us.exports;(function(e,t){(function(){var r,o="4.17.21",l=200,s="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",c="Expected a function",f="Invalid `variable` option passed into `_.template`",p="__lodash_hash_undefined__",m=500,E="__lodash_placeholder__",x=1,w=2,S=4,T=1,L=2,z=1,v=2,y=4,C=8,N=16,M=32,D=64,O=128,B=256,J=512,Q=30,q="...",b=800,te=16,ue=1,le=2,Ne=3,de=1/0,U=9007199254740991,V=17976931348623157e292,H=0/0,Y=4294967295,ve=Y-1,ke=Y>>>1,Se=[["ary",O],["bind",z],["bindKey",v],["curry",C],["curryRight",N],["flip",J],["partial",M],["partialRight",D],["rearg",B]],Ye="[object Arguments]",Ze="[object Array]",Tt="[object AsyncFunction]",Hi="[object Boolean]",Gi="[object Date]",Dv="[object DOMException]",dl="[object Error]",pl="[object Function]",yd="[object GeneratorFunction]",nn="[object Map]",Vi="[object Number]",zv="[object Null]",Ln="[object Object]",_d="[object Promise]",$v="[object Proxy]",qi="[object RegExp]",rn="[object Set]",Qi="[object String]",hl="[object Symbol]",Fv="[object Undefined]",Ki="[object WeakMap]",Uv="[object WeakSet]",Yi="[object ArrayBuffer]",Zr="[object DataView]",Ts="[object Float32Array]",Os="[object Float64Array]",As="[object Int8Array]",Ns="[object Int16Array]",Ps="[object Int32Array]",Bs="[object Uint8Array]",Ms="[object Uint8ClampedArray]",Ws="[object Uint16Array]",Ds="[object Uint32Array]",jv=/\b__p \+= '';/g,Hv=/\b(__p \+=) '' \+/g,Gv=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Sd=/&(?:amp|lt|gt|quot|#39);/g,xd=/[&<>"']/g,Vv=RegExp(Sd.source),qv=RegExp(xd.source),Qv=/<%-([\s\S]+?)%>/g,Kv=/<%([\s\S]+?)%>/g,Cd=/<%=([\s\S]+?)%>/g,Yv=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Zv=/^\w*$/,Xv=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zs=/[\\^$.*+?()[\]{}|]/g,Jv=RegExp(zs.source),$s=/^\s+/,bv=/\s/,e1=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,t1=/\{\n\/\* \[wrapped with (.+)\] \*/,n1=/,? & /,r1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,i1=/[()=,{}\[\]\/\s]/,o1=/\\(\\)?/g,l1=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ed=/\w*$/,u1=/^[-+]0x[0-9a-f]+$/i,s1=/^0b[01]+$/i,a1=/^\[object .+?Constructor\]$/,c1=/^0o[0-7]+$/i,f1=/^(?:0|[1-9]\d*)$/,d1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gl=/($^)/,p1=/['\n\r\u2028\u2029\\]/g,ml="\\ud800-\\udfff",h1="\\u0300-\\u036f",g1="\\ufe20-\\ufe2f",m1="\\u20d0-\\u20ff",kd=h1+g1+m1,Ld="\\u2700-\\u27bf",Rd="a-z\\xdf-\\xf6\\xf8-\\xff",v1="\\xac\\xb1\\xd7\\xf7",w1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",y1="\\u2000-\\u206f",_1=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Id="A-Z\\xc0-\\xd6\\xd8-\\xde",Td="\\ufe0e\\ufe0f",Od=v1+w1+y1+_1,Fs="['’]",S1="["+ml+"]",Ad="["+Od+"]",vl="["+kd+"]",Nd="\\d+",x1="["+Ld+"]",Pd="["+Rd+"]",Bd="[^"+ml+Od+Nd+Ld+Rd+Id+"]",Us="\\ud83c[\\udffb-\\udfff]",C1="(?:"+vl+"|"+Us+")",Md="[^"+ml+"]",js="(?:\\ud83c[\\udde6-\\uddff]){2}",Hs="[\\ud800-\\udbff][\\udc00-\\udfff]",Xr="["+Id+"]",Wd="\\u200d",Dd="(?:"+Pd+"|"+Bd+")",E1="(?:"+Xr+"|"+Bd+")",zd="(?:"+Fs+"(?:d|ll|m|re|s|t|ve))?",$d="(?:"+Fs+"(?:D|LL|M|RE|S|T|VE))?",Fd=C1+"?",Ud="["+Td+"]?",k1="(?:"+Wd+"(?:"+[Md,js,Hs].join("|")+")"+Ud+Fd+")*",L1="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",R1="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",jd=Ud+Fd+k1,I1="(?:"+[x1,js,Hs].join("|")+")"+jd,T1="(?:"+[Md+vl+"?",vl,js,Hs,S1].join("|")+")",O1=RegExp(Fs,"g"),A1=RegExp(vl,"g"),Gs=RegExp(Us+"(?="+Us+")|"+T1+jd,"g"),N1=RegExp([Xr+"?"+Pd+"+"+zd+"(?="+[Ad,Xr,"$"].join("|")+")",E1+"+"+$d+"(?="+[Ad,Xr+Dd,"$"].join("|")+")",Xr+"?"+Dd+"+"+zd,Xr+"+"+$d,R1,L1,Nd,I1].join("|"),"g"),P1=RegExp("["+Wd+ml+kd+Td+"]"),B1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,M1=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],W1=-1,Te={};Te[Ts]=Te[Os]=Te[As]=Te[Ns]=Te[Ps]=Te[Bs]=Te[Ms]=Te[Ws]=Te[Ds]=!0,Te[Ye]=Te[Ze]=Te[Yi]=Te[Hi]=Te[Zr]=Te[Gi]=Te[dl]=Te[pl]=Te[nn]=Te[Vi]=Te[Ln]=Te[qi]=Te[rn]=Te[Qi]=Te[Ki]=!1;var Re={};Re[Ye]=Re[Ze]=Re[Yi]=Re[Zr]=Re[Hi]=Re[Gi]=Re[Ts]=Re[Os]=Re[As]=Re[Ns]=Re[Ps]=Re[nn]=Re[Vi]=Re[Ln]=Re[qi]=Re[rn]=Re[Qi]=Re[hl]=Re[Bs]=Re[Ms]=Re[Ws]=Re[Ds]=!0,Re[dl]=Re[pl]=Re[Ki]=!1;var D1={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċLine truncated
/* [wrapped with `+i+`] */
`)}function by(n){return ae(n)||Br(n)||!!(fp&&n&&n[fp])}function Nn(n,i){var u=typeof n;return i=i??U,!!i&&(u=="number"||u!="symbol"&&f1.test(n))&&n>-1&&n%1==0&&n<i}function ht(n,i,u){if(!Me(u))return!1;var a=typeof i;return(a=="number"?St(u)&&Nn(i,u.length):a=="string"&&i in u)?un(u[i],n):!1}function Aa(n,i){if(ae(n))return!1;var u=typeof n;return u=="number"||u=="symbol"||u=="boolean"||n==null||Pt(n)?!0:Zv.test(n)||!Yv.test(n)||i!=null&&n in Le(i)}function e_(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}function Na(n){var i=ql(n),u=h[i];if(typeof u!="function"||!(i in ge.prototype))return!1;if(n===u)return!0;var a=Ia(u);return!!a&&n===a[0]}function t_(n){return!!up&&up in n}var n_=xl?Pn:Ya;function so(n){var i=n&&n.constructor,u=typeof i=="function"&&i.prototype||ni;return n===u}function uh(n){return n===n&&!Me(n)}function sh(n,i){return function(u){return u==null?!1:u[n]===i&&(i!==r||n in Le(u))}}function r_(n){var i=Jl(n,function(a){return u.size===m&&u.clear(),a}),u=i.cache;return i}function i_(n,i){var u=n[1],a=i[1],d=u|a,g=d<(z|v|O),_=a==O&&u==C||a==O&&u==B&&n[7].length<=i[8]||a==(O|B)&&i[7].length<=i[8]&&u==C;if(!(g||_))return n;a&z&&(n[2]=i[2],d|=u&z?0:y);var k=i[3];if(k){var A=n[3];n[3]=A?Gp(A,k,i[4]):k,n[4]=A?Zn(n[3],E):i[4]}return k=i[5],k&&(A=n[5],n[5]=A?Vp(A,k,i[6]):k,n[6]=A?Zn(n[5],E):i[6]),k=i[7],k&&(n[7]=k),a&O&&(n[8]=n[8]==null?i[8]:ut(n[8],i[8])),n[9]==null&&(n[9]=i[9]),n[0]=i[0],n[1]=d,n}function o_(n){var i=[];if(n!=null)for(var u in Le(n))i.push(u);return i}function l_(n){return El.call(n)}function ah(n,i,u){return i=qe(i===r?n.length-1:i,0),function(){for(var a=arguments,d=-1,g=qe(a.length-i,0),_=P(g);++d<g;)_[d]=a[i+d];d=-1;for(var k=P(i+1);++d<i;)k[d]=a[d];return k[i]=u(_),Ot(n,this,k)}}function ch(n,i){return i.length<2?n:Ar(n,Qt(i,0,-1))}function u_(n,i){for(var u=n.length,a=ut(i.length,u),d=_t(n);a--;){var g=i[a];n[a]=Nn(g,u)?d[g]:r}return n}function Pa(n,i){if(!(i==="constructor"&&typeof n[i]=="function")&&i!="__proto__")return n[i]}var fh=ph(Bp),ao=xw||function(n,i){return tt.setTimeout(n,i)},Ba=ph(Oy);function dh(n,i,u){var a=i+"";return Ba(n,Jy(a,s_(Yy(a),u)))}function ph(n){var i=0,u=0;return function(){var a=Lw(),d=te-(a-u);if(u=a,d>0){if(++i>=b)return arguments[0]}else i=0;return n.apply(r,arguments)}}function Kl(n,i){var u=-1,a=n.length,d=a-1;for(i=i===r?a:i;++u<i;){var g=ma(u,d),_=n[g];n[g]=n[u],n[u]=_}return n.length=i,n}var hh=r_(function(n){var i=[];return n.charCodeAt(0)===46&&i.push(""),n.replace(Xv,function(u,a,d,g){i.push(d?g.replace(o1,"$1"):a||u)}),i});function _n(n){if(typeof n=="string"||Pt(n))return n;var i=n+"";return i=="0"&&1/n==-de?"-0":i}function Pr(n){if(n!=null){try{return Cl.call(n)}catch{}try{return n+""}catch{}}return""}function s_(n,i){return Ht(Se,function(u){var a="_."+u[0];i&u[1]&&!wl(n,a)&&n.push(a)}),n.sort()}function gh(n){if(n instanceof ge)return n.clone();var i=new Vt(n.__wrapped__,n.__chain__);return i.__actions__=_t(n.__actions__),i.__index__=n.__index__,i.__values__=n.__values__,i}function a_(n,i,u){(u?ht(n,i,u):i===r)?i=1:i=qe(ce(i),0);var a=n==null?0:n.length;if(!a||i<1)return[];for(var d=0,g=0,_=P(Ol(a/i));d<a;)_[g++]=Qt(n,d,d+=i);return _}function c_(n){for(var i=-1,u=n==null?0:n.length,a=0,d=[];++i<u;){var g=n[i];g&&(d[a++]=g)}return d}function f_(){var n=arguments.length;if(!n)return[];for(var i=P(n-1),u=arguments[0],a=n;a--;)i[a-1]=arguments[a];return Yn(ae(u)?_t(u):[u],nt(i,1))}var d_=pe(function(n,i){return Ue(n)?ro(n,nt(i,1,Ue,!0)):[]}),p_=pe(function(n,i){var u=Kt(i);return Ue(u)&&(u=r),Ue(n)?ro(n,nt(i,1,Ue,!0),re(u,2)):[]}),h_=pe(function(n,i){var u=Kt(i);return Ue(u)&&(u=r),Ue(n)?ro(n,nt(i,1,Ue,!0),r,u):[]});function g_(n,i,u){var a=n==null?0:n.length;return a?(i=u||i===r?1:ce(i),Qt(n,i<0?0:i,a)):[]}function m_(n,i,u){var a=n==null?0:n.length;return a?(i=u||i===r?1:ce(i),i=a-i,Qt(n,0,i<0?0:i)):[]}function v_(n,i){return n&&n.length?Fl(n,re(i,3),!0,!0):[]}function w_(n,i){return n&&n.length?Fl(n,re(i,3),!0):[]}function y_(n,i,u,a){var d=n==null?0:n.length;return d?(u&&typeof u!="number"&&ht(n,i,u)&&(u=0,a=d),fy(n,i,u,a)):[]}function mh(n,i,u){var a=n==null?0:n.length;if(!a)return-1;var d=u==null?0:ce(u);return d<0&&(d=qe(a+d,0)),yl(n,re(i,3),d)}function vh(n,i,u){var a=n==null?0:n.length;if(!a)return-1;var d=a-1;return u!==r&&(d=ce(u),d=u<0?qe(a+d,0):ut(d,a-1)),yl(n,re(i,3),d,!0)}function wh(n){var i=n==null?0:n.length;return i?nt(n,1):[]}function __(n){var i=n==null?0:n.length;return i?nt(n,de):[]}function S_(n,i){var u=n==null?0:n.length;return u?(i=i===r?1:ce(i),nt(n,i)):[]}function x_(n){for(var i=-1,u=n==null?0:n.length,a={};++i<u;){var d=n[i];a[d[0]]=d[1]}return a}function yh(n){return n&&n.length?n[0]:r}function C_(n,i,u){var a=n==null?0:n.length;if(!a)return-1;var d=u==null?0:ce(u);return d<0&&(d=qe(a+d,0)),Jr(n,i,d)}function E_(n){var i=n==null?0:n.length;return i?Qt(n,0,-1):[]}var k_=pe(function(n){var i=Pe(n,Sa);return i.length&&i[0]===n[0]?fa(i):[]}),L_=pe Line truncated
`;n.replace(K,function(oe,he,we,Bt,gt,Mt){return we||(we=Bt),j+=n.slice($,Mt).replace(p1,nw),he&&(k=!0,j+=`' +
__e(`+he+`) +
'`),gt&&(A=!0,j+=`';
`+gt+`;
__p += '`),we&&(j+=`' +
((__t = (`+we+`)) == null ? '' : __t) +
'`),$=Mt+oe.length,oe}),j+=`';
`;var ie=Ce.call(i,"variable")&&i.variable;if(!ie)j=`with (obj) {
`+j+`
}
`;else if(i1.test(ie))throw new se(f);j=(A?j.replace(jv,""):j).replace(Hv,"$1").replace(Gv,"$1;"),j="function("+(ie||"obj")+`) {
`+(ie?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(k?", __e = _.escape":"")+(A?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+j+`return __p
}`;var fe=Qh(function(){return _e(g,ne+"return "+j).apply(r,_)});if(fe.source=j,$a(fe))throw fe;return fe}function IC(n){return xe(n).toLowerCase()}function TC(n){return xe(n).toUpperCase()}function OC(n,i,u){if(n=xe(n),n&&(u||i===r))return np(n);if(!n||!(i=Nt(i)))return n;var a=on(n),d=on(i),g=rp(a,d),_=ip(a,d)+1;return tr(a,g,_).join("")}function AC(n,i,u){if(n=xe(n),n&&(u||i===r))return n.slice(0,lp(n)+1);if(!n||!(i=Nt(i)))return n;var a=on(n),d=ip(a,on(i))+1;return tr(a,0,d).join("")}function NC(n,i,u){if(n=xe(n),n&&(u||i===r))return n.replace($s,"");if(!n||!(i=Nt(i)))return n;var a=on(n),d=rp(a,on(i));return tr(a,d).join("")}function PC(n,i){var u=Q,a=q;if(Me(i)){var d="separator"in i?i.separator:d;u="length"in i?ce(i.length):u,a="omission"in i?Nt(i.omission):a}n=xe(n);var g=n.length;if(br(n)){var _=on(n);g=_.length}if(u>=g)return n;var k=u-ei(a);if(k<1)return a;var A=_?tr(_,0,k).join(""):n.slice(0,k);if(d===r)return A+a;if(_&&(k+=A.length-k),Fa(d)){if(n.slice(k).search(d)){var $,F=A;for(d.global||(d=na(d.source,xe(Ed.exec(d))+"g")),d.lastIndex=0;$=d.exec(F);)var j=$.index;A=A.slice(0,j===r?k:j)}}else if(n.indexOf(Nt(d),k)!=k){var K=A.lastIndexOf(d);K>-1&&(A=A.slice(0,K))}return A+a}function BC(n){return n=xe(n),n&&Vv.test(n)?n.replace(Sd,aw):n}var MC=ui(function(n,i,u){return n+(u?" ":"")+i.toUpperCase()}),Ha=Kp("toUpperCase");function qh(n,i,u){return n=xe(n),i=u?r:i,i===r?iw(n)?dw(n):Y1(n):n.match(i)||[]}var Qh=pe(function(n,i){try{return Ot(n,r,i)}catch(u){return $a(u)?u:new se(u)}}),WC=An(function(n,i){return Ht(i,function(u){u=_n(u),Tn(n,u,Da(n[u],n))}),n});function DC(n){var i=n==null?0:n.length,u=re();return n=i?Pe(n,function(a){if(typeof a[1]!="function")throw new Gt(c);return[u(a[0]),a[1]]}):[],pe(function(a){for(var d=-1;++d<i;){var g=n[d];if(Ot(g[0],this,a))return Ot(g[1],this,a)}})}function zC(n){return ay(qt(n,x))}function Ga(n){return function(){return n}}function $C(n,i){return n==null||n!==n?i:n}var FC=Zp(),UC=Zp(!0);function Ct(n){return n}function Va(n){return Lp(typeof n=="function"?n:qt(n,x))}function jC(n){return Ip(qt(n,x))}function HC(n,i){return Tp(n,qt(i,x))}var GC=pe(function(n,i){return function(u){return io(u,n,i)}}),VC=pe(function(n,i){return function(u){return io(n,u,i)}});function qa(n,i,u){var a=Xe(i),d=Dl(i,a);u==null&&!(Me(i)&&(d.length||!a.length))&&(u=i,i=n,n=this,d=Dl(i,Xe(i)));var g=!(Me(u)&&"chain"in u)||!!u.chain,_=Pn(n);return Ht(d,function(k){var A=i[k];n[k]=A,_&&(n.prototype[k]=function(){var $=this.__chain__;if(g||$){var F=n(this.__wrapped__),j=F.__actions__=_t(this.__actions__);return j.push({func:A,args:arguments,thisArg:n}),F.__chain__=$,F}return A.apply(n,Yn([this.value()],arguments))})}),n}function qC(){return tt._===this&&(tt._=ww),this}function Qa(){}function QC(n){return n=ce(n),pe(function(i){return Op(i,n)})}var KC=Ea(Pe),YC=Ea(Xd),ZC=Ea(Ys);function Kh(n){return Aa(n)?Zs(_n(n)):Ly(n)}function XC(n){return function(i){return n==null?r:Ar(n,i)}}var JC=Jp(),bC=Jp(!0);function Ka(){return[]}function Ya(){return!1}function eE(){return{}}function tE(){return""}function nE(){return!0}function rE(n,i){if(n=ce(n),n<1||n>U)return[];var u=Y,a=ut(n,Y);i=re(i),n-=Y;for(var d=bs(a,i);++u<n;)i(u);return d}function iE(n){return ae(n)?Pe(n,_n):Pt(n)?[n]:_t(hh(xe(n)))}function oE(n){var i=++mw;return xe(n)+i}var lE=Hl(function(n,i){return n+i},0),uE=ka("ceil"),sE=Hl(function(n,i){return n/i},1),aE=ka("floor");function cE(n){return n&&n.length?Wl(n,Ct,ca):r}function fE(n,i){return n&&n.length?Wl(n,re(i,2),ca):r}function dE(n){return ep(n,Ct)}function pE(n,i){return ep(n,re(i,2))}function hE(n){return n&&n.length?Wl(n,Ct,ha):r}function gE(n,i){return n&&n.length?Wl(n,re(i,2),ha):r}var mE=Hl(function(n,i){return n*i},1),vE=ka("round"),wE=Hl(function(n,i){return n-i},0);function yE(n){return n&&n.length?Js(n,Ct):0}function _E(n,i){return n&&n.length?Js(n,re(i,2)):0}return h.after=jS,h.ary=kh,h.assign=Tx,h.assignIn=$h,h.assignInWith=nu,h.assignWith=Ox,h.at=Ax,h.before=Lh,h.bind=Da,h.bindAll=WC,h.bindKey=Rh,h.castArray=ex,h.chain=xh,h.chunk=a_,h.compact=c_,h.concat=f_,h.cond=DC,h.conforms=zC,h.constant=Ga,h.countBy=yS,h.create=Nx,h.curry=Ih,h.curryRight=Th,h.debounce=Oh,h.defaults=Px,h.defaultsDeep=Bx,h.defer=HS,h.delay=GS,h.difference=d_,h.differenceBy=p_,h.differenceWith=h_,h.drop=g_,h.dropRight=m_,h.dropRightWhile=v_,h.dropWhile=w_,h.fill=y_,h.filter=SS,h.flatMap=ES,h.flatMapDeep=kS,h.flatMapDepth=LS,h.flatten=wh,h.flattenDeep=__,h.flattenDepth=S_,h.flip=VS,h.flow=FC,h.flowRight=UC,h.fromPairs=x_,h.functions=Ux,h.functionsIn=jx,h.groupBy=RS,h.initial=E_,h.intersection=k_,h.intersectionBy=L_,h.intersectionWith=R_,h.invert=Gx,h.invertBy=Vx,h.invokeMap=TS,h.iteratee=Va,h.keyBy=OS,h.keys=Xe,h.keysIn=xt,h.map=Zl,h.mapKeys=Qx,h.mapValues=Kx,h.matches=jC,h.matchesProperty=HC,h.memoize=Jl,h.merge=Yx,h.mergeWith=Fh,h.method=GC,h.methodOf=VC,h.mixin=qa,h.negate=bl,h.nthArg=QC,h.omit=Zx,h.omitBy=Xx,h.once=qS,h.orderBy=AS,h.over=KC,h.overArgs=QS,h.overEvery=YC,h.overSome=ZC,h.pa Line truncated
`;function sr({blocks:e=[],arrows:t=[],arrowId:r,rotate:o=!1,rotateNegative:l=!1,flip:s=!1,lines:c=[],children:f=[],includeInlineStyle:p=!1,effect:m,...E}){ee.useEffect(()=>m==null?void 0:m()),r=r||Math.floor(Math.random()*Math.pow(2,4*8)).toString(16),f?Symbol.iterator in f||(f=[f]):f=[],E.className||(E.className=""),E.className+=" cBuilderSvg";const x=()=>p?I.jsx("style",{children:Jk}):I.jsx(I.Fragment,{});return I.jsxs("svg",{viewBox:"0 0 100 100",...E,children:[I.jsx(x,{}),I.jsxs("defs",{children:[I.jsx("marker",{id:`arrow_${r}`,viewBox:"0 0 10 10",refX:"5",refY:"5",markerWidth:"2.5",markerHeight:"2.5",orient:"auto-start-reverse",fill:"currentColor",className:"cBuilderSvg__marker",markerUnits:"strokeWidth",children:I.jsx("path",{d:"M 0 0 L 10 5 L 0 10 Z"})}),I.jsx("clipPath",{id:`main_clip_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("rect",{x:5,y:5,width:90,height:90,rx:11.75})}),I.jsx("clipPath",{id:`clip1_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("path",{d:"M 0 0 L 25 0 L 25 100 L 0 100 Z"})}),I.jsx("clipPath",{id:`clip2_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("path",{d:"M72.5 0 L 97.5 0 L 97.5 100 L 72.5 100 Z"})}),I.jsx("clipPath",{id:`clip3_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("path",{d:"M75 25 L 80 25 A 5 5 0 0 0 85 30 L 85 80 A 5 5 0 0 0 80 85 L 30 85 A 5 5 0 0 0 25 80 L 25 75 L 70 75 A 5 5 0 0 0 75 70 Z"})}),I.jsx("clipPath",{id:`clip4_${r}`,clipPathUnits:"userSpaceOnUse",children:I.jsx("rect",{x:20,y:70,width:60,height:15,rx:5})})]}),I.jsx("g",{transform:o?void 0:`rotate(${l?"-":""}90)`,x:0,y:0,width:100,height:100,children:I.jsxs("g",{transform:o?void 0:`scale(${s?"1,-1":"1,1"})`,x:0,y:0,width:100,height:100,children:[I.jsx("rect",{width:95,height:95,x:2.5,y:2.5,rx:15,fill:"none",stroke:"none",strokeWidth:5,"data-role":"background"}),I.jsxs("g",{id:"mainarea",clipPath:`url(#main_clip_${r})`,children:[e.map((w,S)=>I.jsx("rect",{fill:"currentColor",rx:5,...w},S)),t.map(w=>I.jsx("path",{d:"M "+(w instanceof Array?w:w.points).map(({x:S,y:T})=>`${S} ${T}`).join(" L "),rx:20,fill:"none",strokeWidth:6,stroke:"currentColor",strokeLinejoin:"round",markerStart:["both","start"].includes(w.marker)?`url(#arrow_${r})`:void 0,markerEnd:["both","end",void 0].includes(w.marker)?`url(#arrow_${r})`:void 0,className:"cBuilderSvg__arrow"},JSON.stringify(w))),c.map(w=>I.jsx("path",{d:"M "+(w instanceof Array?w:w.points).map(({x:S,y:T})=>`${S} ${T}`).join(" L "),rx:20,fill:"none",strokeWidth:6,stroke:"currentColor",strokeLinejoin:"round",className:w.className||void 0},JSON.stringify(w))),f]}),I.jsx("rect",{width:95,height:95,x:2.5,y:2.5,rx:15,fill:"none",stroke:"currentColor",strokeWidth:5,"data-role":"outerborder"})]})})]})}function bk({pattern:e="start",horizontal:t=!0,...r}){const l=[{width:60},{width:80},{width:40}].map((s,c)=>({...s,height:23.4,className:"cBuilderSvg__box--outlined",y:5+90*c/3+1.3+2,x:(()=>e==="end"?97.5-s.width:e==="center"?50-s.width/2:2.5)()}));return I.jsx(sr,{blocks:l,rotate:t,...r})}function cn({...e}){return e.className=[e.className||"","cBuilderSvg__image-icon"].join(" ").trim().replace(/\s+/," "),I.jsxs("svg",{...e,viewBox:"0 0 90 90",children:[I.jsx("rect",{x:0,y:0,className:"cBuilderSvg__box--secondaryColoring",width:90,height:90,rx:10,fill:"currentColor"}),I.jsx("path",{d:"M4 86 L 25 28 L 55 68 L 69 50 L 84 86Z",stroke:"currentColor",strokeWidth:"6",fill:"currentColor",strokeLinejoin:"round"}),I.jsx("circle",{r:"10",cx:"70",cy:"20",fill:"currentColor",stroke:"currentColor"})]})}const So=[[{x:35,y:84},{x:16,y:84}],[{x:65,y:84},{x:84,y:84}]];function e3({behavior:e="wrap",horizontal:t=!1,...r}){r.className=r.className||"",r.className+=" cBuilderSvg--wrap-icon";const o=[],l=[],s=[];let c=4,f=c,p=[57,31],m,E,x,w,S,T;switch(e){case"carousel":o.push({width:15,height:40,x:0,y:20,className:"cBuilderSvg__box--outlined"}),o.push({width:66,height:60,x:17,y:10,className:"cBuilderSvg__box--outlined"}),o.push({width:15,height:40,x:85,y:20,className:"cBuilderSvg__box--outlined"}),o.push({height:3,width:40,y:25,x:22,rx:0}),o.push({height:3,width:30,y:32,x:22,rx:0}),o.push({height:3,width:52,y:39,x:22,rx:0}),o.push({height:3,width:22,y:46,x:22,rx:0}),l.push([{x:35,y:84},{x:16,y:84}]),l.push([{x:65,y:84},{x:84,y:84}]);break;case"table":case"table-carousel":c=1.3,x=e==="table-carousel"?78:70,w=e==="table-carousel"?11:15,m=e==="table-carousel"?20:0,E=e==="table-carousel"?1:3;for(let L=0;L<E;L++)o.push({height:85/3-4-2*c,width:x,y:7.5+85*L/3+c+2+m,x:w,className:"cBuilderSvg__box--outlined"});e==="table-carousel"&&l.splice(0,0,...So.map(L=>L.map(z=>({x:z.x,y:z.y-15}))));break;case"mini-grid":case"grid-carousel":case"mini-grid-carousel":case"grid":S=e.startsWith("mini")?3:2,E=e.startsWith("mini")?3:2,T=88,m=e==="grid-carousel"?7:0,e.startsWith("mini")&&(f=10,c=5),e==="grid-carousel"&&(E=1,S=3),e.endsWith("carousel")&&(T=e.startsWith("mini")?68:54,l.splice(l.length,0,...So.map(L=>L.map(z=>({x:z.x,y:z.y-5}))))),e==="mini-grid"&&(m=10,T=68),e==="mini-grid-carouse Line truncated
<div
class="ipsLoading"
style="width:${te.width}px; height:${te.height}px; position:static !important;"
>
<div class="ipsRichText ipsWidget__content ipsWidget__padding">
${b}
</div>
</div>`)}else c.current.style.height=`${te.height}px`,c.current.style.width=`${te.width}px`;setTimeout(async()=>{let le;try{le=await window.ips.fetch(D.action,{data:J,method:"post",bypassRedirect:!0})}catch(Ne){window.Debug.error(Ne)}y.hide(),M.remove(),t("default"),p({}),s(le)},100)})),y.addContentProcessor(D=>{var J,Q;const O=(J=M.parentElement)==null?void 0:J.getBoundingClientRect();if(O){const q=M.parentElement;q.style.width=O.width+"px",q.style.height=O.height+"px";const b=(Q=D.closest(".ipsDialog"))==null?void 0:Q.getAttribute("id");if(b){const te=(ue,{dialogID:le})=>{b===le&&(q.style.width="",q.style.height="",q.appendChild(M),z(M),window.$(document).off("hideDialog",te))};window.$(document).on("hideDialog",te)}}let B=M;for(;B;){if(B.parentElement===D)return;B=B.parentElement}D.innerHTML="",D.appendChild(M),z(M,!0)}),p({element:M,configId:N,dialogRef:y})}t("editing")}}}}function nl(e){return(e instanceof Element?e:document).querySelector("[data-ipsconfigform]")}function L3(e){return!1}function R3({blockID:e,title:t,config:r,update:o,defaultConfiguration:l,blank:s,getArea:c,contentRaw:f,selectArea:p},m){const[E,x]=ee.useState("default"),w=ee.useRef(null),S=Q=>{E==="default"&&Q==="editing"&&e.startsWith("app_cms_Wysiwyg")&&(y==null||y()),x(Q)};let T=!1;const{area:L}=ee.useContext(Yr),{setEditing:z,editForm:v,captureHeight:y,blockUsesInlineEditing:C,toolList:N,tiptapRef:M,toolListWrap:D}=k3({blockID:e,setState:S,state:E,blockArea:L,title:t,reloadContent:B,contentRaw:f},m);ee.useEffect(()=>{if(E==="default"){const Q=e.split("_");(!Q[3]||s)&&(T=!Q[3],T&&(e+=`_${Math.random().toString(36).slice(2,9)}`),B(),S("loading"))}}),ee.useEffect(()=>{var Q;r&&w.current&&((Q=w.current)==null?void 0:Q.dataset.menuListenerSet)!=="true"&&(w.current.dataset.menuListenerSet="true",window.$(document).trigger("contentChange",[window.$(w.current.parentElement)]),w.current.addEventListener("ipsMenuOpened",async q=>{if(await new Promise(te=>setTimeout(te,1)),C){await p(),J(),await z();return}let b=`${window.ips.getSetting("baseURL")}index.php?${Object.entries(cl()).map(([te,ue])=>`${encodeURIComponent(te)}=${encodeURIComponent(ue)}`).join("&")}&do=getConfiguration&block=${encodeURIComponent(e)}&pageApp=${encodeURIComponent(document.body.dataset.pageapp)}&pageModule=${encodeURIComponent(document.body.dataset.pagemodule)}&pageController=${encodeURIComponent(document.body.dataset.pagecontroller)}&pageArea=${encodeURIComponent(L)}&area=${encodeURIComponent(L)}`;try{if(await I3(),O()==="modal"){J();const te=window.ips.ui.dialog.create({title:t,url:b,forceReload:!0,destructOnClose:!0,remoteSubmit:!0});te.show(),document.querySelectorAll(`[id="${e}_edit_menu"]`).ipsHide();const ue=Qn.throttle(le=>{le.dialogID===te.dialogID&&(le.stopImmediatePropagation(),le.preventDefault(),B(le.response))},200);document.addEventListener("dialogSubmission",ue,{once:!0})}else q.menu.html(window.$("<div/>").addClass("ipsLoading").css({height:"100px"})),q.menu.get(0).dataset.pageEditorMenu="",setTimeout(async()=>{const te=await window.ips.fetch(b),ue=q.menu.get(0);if(ue.id)for(const le of document.querySelectorAll(`[id="${ue.id}"]`))le!==ue&&le.remove();q.menu.html(te).find("form").on("submit",async le=>{var Ne;le.preventDefault();try{const de=await window.ips.fetch(window.$(le.currentTarget).attr("action"),{data:window.$(le.currentTarget).serialize(),type:"post"});typeof de=="object"||((Ne=de==null?void 0:de.toLowerCase)==null?void 0:Ne.call(de))==="ok"?(await B(de),q.menu.trigger("closeMenu")):typeof de=="string"&&q.menu.html(de)}catch(de){window.Debug.warn(de),window.ips.ui.alert.show({type:"alert",icon:"warn",message:window.ips.getString("sidebarConfigError"),callbacks:{}})}}),q.menu.trigger("contentChange",[q.menu])},10);document.body.dispatchEvent(new ss(null))}catch(te){window.Debug.warn(te),window.ips.ui.alert("Something went wrong when loading the configuration settings")}await p()}))});function O(){var q;return c().otherOptions.area==="sidebar"?"modal":((q=Vn(e))==null?void 0:q.dataset.menustyle)||"none"}async function B(Q){const q={blockID:e,title:t,config:r,blank:!1,contentRaw:"Error"};(Q==null?void 0:Q.areaClasses)instanceof Array&&(q.areaClasses=Array.from(new Set(Q.areaClasses)));try{const b=await Pv(e,l,L,T,c().wrapBehavior);q.contentRaw=b,q.defaultConfiguration=void 0,o==null||o(q),S("default")}catch(b){o==null||o(q),S("contentLoadError"),window.Debug.log("something went wrong when loading a block's content."),window.Debug.error(b)}}function J(){document.querySelectorAll(`[id="${e}_edit_menu"]`).ipsHide()}return{reloadContent:B,state:E,setState:S,editForm:v,blockUsesInlineEditing:C,manageBlockRef:w,toolList:N,tiptapRef:M,toolListWrap:D}}function fl(e){return e.split("_").slice(0,3).join("_")}function Vn(e){if(typeof e!="string")return window.Debug.warn("Could not get a block base because the id is not a string"),null;const t=fl(e);return t?document.querySelector(`[data-role="availableBlocks"] :is([data-blockID="${t}"],[data-blockID*="$Line truncated
`)),await window.ips.ui.editorv5.whenLoaded();const le=document.createElement("div");le.setAttribute("hidden",""),document.body.appendChild(le);const[Ne,de]=await window.ips.utils.tiptap.editorInstance(le,{...window.ips.ui.editorv5.buildConfig({}),content:ue});if(await new Promise(U=>setTimeout(U)),ue=Ne.getHTML(),Ne.destroy(),de.unmount(),le.remove(),ue){O={orientation:e==="horizontal"?"vertical":"horizontal",children:[],wrapBehavior:"table",otherOptions:{},widgets:[{title:"WYSIWYG Editor",blockID:"app_cms_Wysiwyg",config:!0,blank:!1,contentRaw:ue,defaultConfiguration:{content:ue}}]};break}throw new Error(`The data from the drop event did not include ${te}, so the block could not be inserted in the widget area tree`)}const J=(B==null?void 0:B.blockID)||((T=O==null?void 0:O.widgets)==null?void 0:T[0].blockID),Q=J?Vn(J):null;if(new Set(((z=(L=Q==null?void 0:Q.dataset)==null?void 0:L.widgetDisallowedAreas)==null?void 0:z.split(",").map(te=>te.trim()))||[]).has(x)){document.querySelectorAll("section.cWidgetContainer:not([data-controller])").forEach(te=>{te.removeAttribute("hidden"),te.querySelectorAll(":scope > .cWidgetContainer__menu_region").forEach(ue=>ue.style.display="")});return}const b=E.current;if(b){if(B.blockID.startsWith("app_cms_Blocks:")){const U=Vn(B.blockID),V=U==null?void 0:U.dataset.customblockid;if(!V)throw new Error("The dropped block is a custom block but the block id is invalid");const H=await window.ips.fetch(window.ips.getSetting("baseURL"),{method:"get",data:{app:"cms",module:"pages",controller:"builder",do:"getCustomBlockContent",id:V}});if(typeof H.content!="string"||typeof H.block_key!="string"||typeof((v=H.configuration)==null?void 0:v.blocktitle)!="string")throw new TypeError("Could not add a custom block because the server didn't return a string for it's content, blocktitle data attribute, or block key (as in the key of the custom block)");B.contentRaw=H.content,B.defaultConfiguration={cms_widget_custom_block:H.block_key},B.blockID=`app_cms_Blocks_${Math.round(Math.random()*Math.pow(16,8)).toString(16)}`,B.blockTitle=H.configuration.blocktitle}const te=Ov(b,S.clientX,S.clientY),ue=B.areaDetails,le={title:B.blockTitle,blockID:B.blockID,config:B.config,blank:B.blank,contentRaw:B.contentRaw||"<div class='ipsLoading'></div>"};B.defaultConfiguration&&(le.defaultConfiguration=le.configuration=B.defaultConfiguration),O=O||{orientation:e==="horizontal"?"vertical":"horizontal",children:[],wrapBehavior:(ue==null?void 0:ue.wrapBehavior)||B.ipsWrapBehavior||((N=(C=(y=wd(B.blockID))==null?void 0:y.values())==null?void 0:C.next())==null?void 0:N.value)||"table",otherOptions:{...ue==null?void 0:ue.otherOptions},widgets:[le]};const Ne=await Bv(),de=[];if(Number.isInteger(B==null?void 0:B.areaId)&&B.area===x&&B.pageHash===Ne&&de.push(B.areaId),de.includes(f))return;if(fl(O.widgets[0].blockID)===O.widgets[0].blockID){O.widgets[0].blockID+="_";for(let U=0;U<6;U++)O.widgets[0].blockID+=Math.round(Math.random()*16).toString(16);O.widgets[0].contentRaw=await Pv(O.widgets[0].blockID,O.widgets[0].defaultConfiguration,x,!0,O.wrapBehavior),O.widgets[0].blank=!1}if((M=E==null?void 0:E.current)!=null&&M.closest(".cWidgetContainer--carousel")&&O.wrapBehavior in be&&(O.wrapBehavior=be[O.wrapBehavior],O.widgets.length&&(O.widgets[0].blank=!0,O.widgets[0].contentRaw=`<div class="ipsLoading">${O.widgets[0].contentRaw||""}</div>`)),["before","after"].includes(te))O.orientation=e,c==null||c(O,te==="before",de);else if(!t.length&&s.length){const U={orientation:e==="horizontal"?"vertical":"horizontal",children:[],wrapBehavior:r,otherOptions:l,widgets:s,areaId:f};o({newState:{children:te===0?[O,U]:[U,O],wrapBehavior:"wrap",widgets:[],otherOptions:{}},toRemove:de})}else t.splice(te,0,O),o({newState:{children:t},toRemove:de});(D=E.current)==null||D.dispatchEvent(new rl({widget:O.widgets[0],area:x}))}}catch(O){window.Debug.warn(O),window.Debug.log("Could not insert the content dropped inside a widget area"),window.ips.ui.alert.show({message:"This content cannot be dropped in the page"})}document.querySelectorAll("section.cWidgetContainer:not([data-controller])").forEach(O=>{O.removeAttribute("hidden"),O.querySelectorAll(":scope > .cWidgetContainer__menu_region").forEach(B=>B.style.display="")})},onDragOver:S=>{S.preventDefault(),S.stopPropagation(),W3({e:S,ref:E,orientation:e,wrapBehavior:r,getParent:p,children:t,clientX:S.clientX,clientY:S.clientY,blockArea:x})}}}function B3(e,t){if(e!=null&&e.classList.contains("cWidgetContainer--dragInside")){const r=e.querySelector(":scope.cWidgetContainer--carousel > .cWidgetContainer__carousel-wrap")||e,o=r.getBoundingClientRect();let l;const s=window.ips.ui.carousel.isRTL(r);if(r.scrollWidth<=o.width)return!1;if(t<o.left+Math.min(o.width/10,70))l="prev";else if(t>o.right-Math.max(o.width/10,70))l="next";else return!1;if(s&&(l=l==="next"?"prev":"next"),l&&!window.ips.ui.carousel.containerAtEnd(r,l))return M3(e,l),!0}return!1}const M3=Qn.throttle((e,t)=>{e.classList.remove("cWidgetLine truncated
`+S.message}catch{}window.Debug.warn(S)}}},200);function pi(e,t,r=400){var o;rt.has(e)||rt.set(e,new Map);for(const l of t.split(/\s+/).filter(s=>!!s)){rt.get(e).has(l)&&(clearTimeout(rt.get(e).get(l)),rt.get(e).delete(l)),e.classList.add(l),document.querySelectorAll(`.${l}`).forEach(c=>{var f;if(c!==e){c.classList.remove(l);const p=(f=rt.get(c))==null?void 0:f.get(l);p&&(clearTimeout(p),rt.get(c).delete(l))}});const s=setTimeout(()=>{var f;e.classList.remove(l);const c=(f=rt.get(e))==null?void 0:f.get(l);c&&(clearTimeout(c),rt.get(e).delete(l),rt.get(e).size||rt.delete(e))},r);rt.get(e).set(l,s)}(o=rt.get(e))!=null&&o.size||rt.delete(e)}setInterval(()=>{for(const e of rt.keys())if(e.closest("body")!==document.body){for(const t of rt.get(e).values())clearTimeout(t);rt.delete(e)}},5e3);const rt=new Map;function D3({wrapBehavior:e,widgets:t,scrollRef:r}){const o=ee.useRef(null),l=e==="carousel"&&!t.length;ee.useEffect(()=>{if(l){E();const w=c();if(w){fs.set(w,()=>{Wu.delete(w),E()});const S=L=>{var D;const[z,v,y]=f(),C=((D=L==null?void 0:L.detail)==null?void 0:D.direction)==="prev"?"prev":"next";let N=!1;if(C!=="prev"&&(z>=v-1?N=!0:p()?N=y[v-1].getBoundingClientRect().left>=w.getBoundingClientRect().left:N=y[v-1].getBoundingClientRect().right<=w.getBoundingClientRect().right),C==="prev"&&z===0||C!=="prev"&&N)return;const M=s().querySelector(`[data-carousel-arrow="${C}"]`);M instanceof HTMLElement&&x({target:M})};w.addEventListener("scrollPanels",S);const T=new ResizeObserver(Qn.debounce(E,100));return T.observe(w),()=>{fs.delete(w),w.removeEventListener("scrollPanels",S),T.disconnect()}}}});function s(){var w;return(w=r.current)!=null&&w.classList.contains("cWidgetContainer--carousel")?r.current:null}function c(){const w=s();return(w==null?void 0:w.querySelector(":scope > .cWidgetContainer__carousel-wrap"))||w}function f(){var y;const w=c();let S=[...(w==null?void 0:w.querySelectorAll(":scope > .cWidgetContainer"))||[]];const T=S.length;if(Wu.has(w))return[parseInt(((y=o.current)==null?void 0:y.dataset.actualOffset)||"0"),T,S];const L=w.getBoundingClientRect();let z;const v=p();for(z=0;z<T;z++){if(v&&S[z].getBoundingClientRect().right<=L.right+1)return[z,T,S];if(!v&&S[z].getBoundingClientRect().left>=L.left-1)return[z,T,S]}return[T-1,T,S]}function p(){return window.ips.ui.carousel.isRTL(c())}function m(){var L,z;const w=(L=c())==null?void 0:L.getBoundingClientRect();let S=[...((z=c())==null?void 0:z.querySelectorAll(":scope > .cWidgetContainer"))||[]];if(!w||!(S!=null&&S.length)||S.length===1)return 1;p()&&(S=S.reverse());const T=Math.abs(S[S.length-1].getBoundingClientRect().right-S[0].getBoundingClientRect().left);if(T){let v=Math.ceil(T/w.width);return S.length>2&&S[S.length-1].getBoundingClientRect().right-S[S.length-2].getBoundingClientRect().left>w.width&&v++,v}return 1}function E(){if(!o.current)return;let[w,S]=f();const T=m();w=Math.min(w,T),S=Math.min(S,T),o.current.innerText=`${w+1}/${S}`,o.current.closest(".cWidgetContainer__carousel-buttons").querySelectorAll("button").forEach(L=>S<=1?L.setAttribute("disabled",""):L.removeAttribute("disabled"))}function x(w){const S=c();if(!S)return;const T=w.target instanceof HTMLElement&&w.target.dataset.carouselArrow||"next",[L,z,v]=f();if(v.length<=1)return;const y=S.getBoundingClientRect();let C=!1;const N=p();T!=="prev"&&(L+1>=z||!N&&v[z-1].getBoundingClientRect().right<=y.right||N&&v[z-1].getBoundingClientRect().left>=y.left)&&(C=!0);const M=(T==="prev"&&L===0?z-1:C?0:L+(T==="prev"?-1:1))%z;let D;N?D=(M===z-1?v[M].getBoundingClientRect().left:v[M].getBoundingClientRect().right)-y.right:D=(M===z-1?v[M].getBoundingClientRect().right:v[M].getBoundingClientRect().left)-y.left,o.current.dataset.actualOffset=`${M}`,Wu.add(S),S.scrollTo({left:S.scrollLeft+D,behavior:"smooth"}),E()}return{indicatorRef:o,scroll:x}}const Wu=new WeakSet,fs=new WeakMap;function Mv(e,t=!1){var r;if(e instanceof HTMLElement&&e.matches(".cWidgetContainer--carousel > .cWidgetContainer__carousel-wrap")&&e.querySelector(".ipsWidget__content--wrap--editing")){const o=e.querySelector(".ipsWidget__content--wrap--editing"),l=(r=window.ips.ui.editorv5.getObj(window.$(o.querySelector("[data-ipseditorv5]"))))==null?void 0:r.getInstance();t?o==null||o.dispatchEvent(new CustomEvent("ips:editorHidePanes",{detail:{instance:l},bubbles:!0,cancelable:!0})):o.dispatchEvent(new CustomEvent("ips:editorShowPanes",{detail:{instance:l},bubbles:!0,cancelable:!0}))}}function a0(e){let t=e.target;for(;t instanceof HTMLElement;){if(Mv(t),fs.has(t)){let r=!1;const o=e.stopPropagation;if(e.stopPropagation=(function(){r=!0,o.call(this)}).bind(e),fs.get(t)(e),Wu.delete(t),r)break;e.stopPropagation=o.bind(e)}t=t.parentElement}}"onscrollend"in HTMLElement.prototype?window.addEventListener("scrollend",a0,{capture:!0}):window.addEventListener("scroll",Qn.debounce(a0,200),{capture:!0});window.addEventListener("scroll",e=>{let t=e.target;t instanceof HTMLElement&&t.matches(".cWidgetContainer--carousel > .cWidgetContainer__c Line truncated
@@ -11,7 +11,7 @@
"css": [
"assets/main-51be5621.css"
],
"file": "assets/main-86bcc86a.js",
"file": "assets/main-35a63872.js",
"isEntry": true,
"src": "src/main.jsx"
}
@@ -63,6 +63,7 @@ customElements.define('theme-editor', class extends HTMLElement {
this.cssEditorInstance = e.detail.instance;
this.showOrHideCSSWarning();
}
this.showOrHideRevertButton();
});
this.debounceTimeout = undefined;
@@ -675,7 +676,7 @@ customElements.define('theme-editor', class extends HTMLElement {
*/
async updateCustomCSS(){
let content = document.querySelector('#customCSS').value.replace(/<\/style>/g, '');
let content = document.querySelector('#customCSS').textContent.replace(/<\/style>/g, '');
this.customCSSEditor.value = content;
this.settings.custom = content;
@@ -798,7 +799,7 @@ customElements.define('theme-editor', class extends HTMLElement {
}
// Always open the panel with the swatch picker visible
let swatchTab = document.querySelector('[aria-controls="content__colorSelector__swatches"]');
let swatchTab = document.querySelector('[aria-controls="content__colorSelector__swatches_panel"]');
if(swatchTab.getAttribute("aria-expanded") === "false"){
swatchTab.click()
}
@@ -0,0 +1,218 @@
var uc=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function zf(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var QA={exports:{}},Vf={},jA={exports:{}},He={};/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var Wu=Symbol.for("react.element"),VB=Symbol.for("react.portal"),WB=Symbol.for("react.fragment"),qB=Symbol.for("react.strict_mode"),KB=Symbol.for("react.profiler"),QB=Symbol.for("react.provider"),jB=Symbol.for("react.context"),XB=Symbol.for("react.forward_ref"),ZB=Symbol.for("react.suspense"),JB=Symbol.for("react.memo"),eG=Symbol.for("react.lazy"),ZR=Symbol.iterator;function tG(e){return e===null||typeof e!="object"?null:(e=ZR&&e[ZR]||e["@@iterator"],typeof e=="function"?e:null)}var XA={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},ZA=Object.assign,JA={};function Al(e,t,n){this.props=e,this.context=t,this.refs=JA,this.updater=n||XA}Al.prototype.isReactComponent={};Al.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Al.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function eI(){}eI.prototype=Al.prototype;function _T(e,t,n){this.props=e,this.context=t,this.refs=JA,this.updater=n||XA}var fT=_T.prototype=new eI;fT.constructor=_T;ZA(fT,Al.prototype);fT.isPureReactComponent=!0;var JR=Array.isArray,tI=Object.prototype.hasOwnProperty,mT={current:null},nI={key:!0,ref:!0,__self:!0,__source:!0};function rI(e,t,n){var r,i={},o=null,s=null;if(t!=null)for(r in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(o=""+t.key),t)tI.call(t,r)&&!nI.hasOwnProperty(r)&&(i[r]=t[r]);var a=arguments.length-2;if(a===1)i.children=n;else if(1<a){for(var l=Array(a),u=0;u<a;u++)l[u]=arguments[u+2];i.children=l}if(e&&e.defaultProps)for(r in a=e.defaultProps,a)i[r]===void 0&&(i[r]=a[r]);return{$$typeof:Wu,type:e,key:o,ref:s,props:i,_owner:mT.current}}function nG(e,t){return{$$typeof:Wu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function gT(e){return typeof e=="object"&&e!==null&&e.$$typeof===Wu}function rG(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(n){return t[n]})}var eN=/\/+/g;function qg(e,t){return typeof e=="object"&&e!==null&&e.key!=null?rG(""+e.key):t.toString(36)}function t_(e,t,n,r,i){var o=typeof e;(o==="undefined"||o==="boolean")&&(e=null);var s=!1;if(e===null)s=!0;else switch(o){case"string":case"number":s=!0;break;case"object":switch(e.$$typeof){case Wu:case VB:s=!0}}if(s)return s=e,i=i(s),e=r===""?"."+qg(s,0):r,JR(i)?(n="",e!=null&&(n=e.replace(eN,"$&/")+"/"),t_(i,t,n,"",function(u){return u})):i!=null&&(gT(i)&&(i=nG(i,n+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(eN,"$&/")+"/")+e)),t.push(i)),1;if(s=0,r=r===""?".":r+":",JR(e))for(var a=0;a<e.length;a++){o=e[a];var l=r+qg(o,a);s+=t_(o,t,n,l,i)}else if(l=tG(e),typeof l=="function")for(e=l.call(e),a=0;!(o=e.next()).done;)o=o.value,l=r+qg(o,a++),s+=t_(o,t,n,l,i);else if(o==="object")throw t=String(e),Error("Objects are not valid as a React child (found: "+(t==="[object Object]"?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return s}function sp(e,t,n){if(e==null)return e;var r=[],i=0;return t_(e,r,"","",function(o){return t.call(n,o,i++)}),r}function iG(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(n){(e._status===0||e._status===-1)&&(e._status=1,e._result=n)},function(n){(e._status===0||e._status===-1)&&(e._status=2,e._result=n)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var Un={current:null},n_={transition:null},oG={ReactCurrentDispatcher:Un,ReactCurrentBatchConfig:n_,ReactCurrentOwner:mT};function iI(){throw Error("act(...) is not supported in production builds of React.")}He.Children={map:sp,forEach:function(e,t,n){sp(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return sp(e,function(){t++}),t},toArray:function(e){return sp(e,function(t){return t})||[]},only:function(e){if(!gT(e))throw Error("React.Children.only expected to receive a single React element child.");return e}};He.Component=Al;He.Fragment=WB;He.Profiler=KB;He.PureComponent=_T;He.StrictMode=qB;He.Suspense=ZB;He.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=oG;He.act=iI;He.cloneElement=function(e,t,n){if(e==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r=ZA({},e.props),i=e.key,o=e.ref,s=e._owner;if(t!=null){if(t.ref!==void 0&&(o=t.ref,s=mT.current),t.key!==void 0&&(i=""+t.key),e.type&&e.type.defaultProps)var a=e.type.defaultProps;for(l in t)tI.call(t,l)&&!nI.hasOwnProperty(l)&&(r[l]=t[l]===void 0&&a!==void 0?a[l]:t[l])}var l=arguments.length-2;if(l===1)r.children=n;else if(1<l){a=Array(l);for(var u=0;u<l;u++)a[u]=arguments[u+2];r.children=a}return{$$typeof:Wu,type:e.type,key:i,ref:o,props:r,_owner:s}};He.createContext=function(e){return e={$$typeof:jB,_currentValue:e,_currentValue2:e,_threadCountLine truncated
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var sG=k,aG=Symbol.for("react.element"),lG=Symbol.for("react.fragment"),cG=Object.prototype.hasOwnProperty,uG=sG.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,dG={key:!0,ref:!0,__self:!0,__source:!0};function oI(e,t,n){var r,i={},o=null,s=null;n!==void 0&&(o=""+n),t.key!==void 0&&(o=""+t.key),t.ref!==void 0&&(s=t.ref);for(r in t)cG.call(t,r)&&!dG.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps,t)i[r]===void 0&&(i[r]=t[r]);return{$$typeof:aG,type:e,key:o,ref:s,props:i,_owner:uG.current}}Vf.Fragment=lG;Vf.jsx=oI;Vf.jsxs=oI;QA.exports=Vf;var N=QA.exports,yE={},sI={exports:{}},gr={},aI={exports:{}},lI={};/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/(function(e){function t(D,H){var V=D.length;D.push(H);e:for(;0<V;){var q=V-1>>>1,te=D[q];if(0<i(te,H))D[q]=H,D[V]=te,V=q;else break e}}function n(D){return D.length===0?null:D[0]}function r(D){if(D.length===0)return null;var H=D[0],V=D.pop();if(V!==H){D[0]=V;e:for(var q=0,te=D.length,ue=te>>>1;q<ue;){var Be=2*(q+1)-1,Ee=D[Be],Oe=Be+1,vt=D[Oe];if(0>i(Ee,V))Oe<te&&0>i(vt,Ee)?(D[q]=vt,D[Oe]=V,q=Oe):(D[q]=Ee,D[Be]=V,q=Be);else if(Oe<te&&0>i(vt,V))D[q]=vt,D[Oe]=V,q=Oe;else break e}}return H}function i(D,H){var V=D.sortIndex-H.sortIndex;return V!==0?V:D.id-H.id}if(typeof performance=="object"&&typeof performance.now=="function"){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,a=s.now();e.unstable_now=function(){return s.now()-a}}var l=[],u=[],p=1,_=null,f=3,g=!1,h=!1,E=!1,b=typeof setTimeout=="function"?setTimeout:null,T=typeof clearTimeout=="function"?clearTimeout:null,y=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(D){for(var H=n(u);H!==null;){if(H.callback===null)r(u);else if(H.startTime<=D)r(u),H.sortIndex=H.expirationTime,t(l,H);else break;H=n(u)}}function O(D){if(E=!1,C(D),!h)if(n(l)!==null)h=!0,ne(A);else{var H=n(u);H!==null&&x(O,H.startTime-D)}}function A(D,H){h=!1,E&&(E=!1,T(U),U=-1),g=!0;var V=f;try{for(C(H),_=n(l);_!==null&&(!(_.expirationTime>H)||D&&!ae());){var q=_.callback;if(typeof q=="function"){_.callback=null,f=_.priorityLevel;var te=q(_.expirationTime<=H);H=e.unstable_now(),typeof te=="function"?_.callback=te:_===n(l)&&r(l),C(H)}else r(l);_=n(l)}if(_!==null)var ue=!0;else{var Be=n(u);Be!==null&&x(O,Be.startTime-H),ue=!1}return ue}finally{_=null,f=V,g=!1}}var w=!1,L=null,U=-1,$=5,B=-1;function ae(){return!(e.unstable_now()-B<$)}function be(){if(L!==null){var D=e.unstable_now();B=D;var H=!0;try{H=L(!0,D)}finally{H?pe():(w=!1,L=null)}}else w=!1}var pe;if(typeof y=="function")pe=function(){y(be)};else if(typeof MessageChannel<"u"){var de=new MessageChannel,ee=de.port2;de.port1.onmessage=be,pe=function(){ee.postMessage(null)}}else pe=function(){b(be,0)};function ne(D){L=D,w||(w=!0,pe())}function x(D,H){U=b(function(){D(e.unstable_now())},H)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(D){D.callback=null},e.unstable_continueExecution=function(){h||g||(h=!0,ne(A))},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):$=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(l)},e.unstable_next=function(D){switch(f){case 1:case 2:case 3:var H=3;break;default:H=f}var V=f;f=H;try{return D()}finally{f=V}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(D,H){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var V=f;f=D;try{return H()}finally{f=V}},e.unstable_scheduleCallback=function(D,H,V){var q=e.unstable_now();switch(typeof V=="object"&&V!==null?(V=V.delay,V=typeof V=="number"&&0<V?q+V:q):V=q,D){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=V+te,D={id:p++,callback:H,priorityLevel:D,startTime:V,expirationTime:te,sortIndex:-1},V>q?(D.sortIndex=V,t(u,D),n(l)===null&&D===n(u)&&(E?(T(U),U=-1):E=!0,x(O,V-q))):(D.sortIndex=te,t(l,D),h||g||(h=!0,ne(A))),D},e.unstable_shouldYield=ae,e.unstable_wrapCallback=function(D){var H=f;return function(){var V=f;f=H;try{return D.apply(this,arguments)}finally{f=V}}}})(lI);aI.exports=lI;var pG=aI.exports;/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var _G=k,mr=pG;function oe(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var cI=new Set,iu={};function oa(e,t){pl(e,t),pl(e+"Capture",t)}function pl(e,t){for(iu[e]=t,e=0;e<t.length;e++)cI.add(t[e])}var ji=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),CE=Object.prototype.hasOwnProperty,fG=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,tN={},nN={};function mG(e){return CE.call(nN,e)?!0:CE.call(tN,e)?!1:fG.test(e)?nN[e]=!0:(tN[e]=!0,!1)}function gG(e,t,n,r){if(n!==null&&n.type===0)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return r?!1:n!==null?!n.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function hG(e,t,n,r){if(t===null||typeof t>"u"||gG(e,t,n,r))return!0;if(r)return!1;if(n!==null)switch(n.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function Bn(e,t,n,r,i,o,s){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=s}var un={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){un[e]=new Bn(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];un[t]=new Bn(t,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){un[e]=new Bn(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){un[e]=new Bn(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){un[e]=new Bn(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){un[e]=new Bn(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){un[e]=new Bn(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){un[e]=new Bn(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){un[e]=new Bn(e,5,!1,e.toLowerCase(),null,!1,!1)});var hT=/[\-:]([a-z])/g;function ET(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(hT,ET);un[t]=new Bn(t,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(hT,ET);un[t]=new Bn(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(hT,ET);un[t]=new Bn(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){un[e]=new Bn(e,1,!1,e.toLowerCase(),null,!1,!1)});un.xlinkHref=new Bn("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){un[e]=new Bn(e,1,!1,e.toLowerCase(),null,!0,!0)});function ST(e,t,n,r){var i=un.hasOwnProperty(t)?un[t]:null;(i!==null?i.type!==0:r||!(2<t.length)||t[0]!=="o"&&t[0]!== Line truncated
`+Kg+e}var Qg=!1;function jg(e,t){if(!e||Qg)return"";Qg=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(u){var r=u}Reflect.construct(e,[],t)}else{try{t.call()}catch(u){r=u}e.call(t.prototype)}else{try{throw Error()}catch(u){r=u}e()}}catch(u){if(u&&r&&typeof u.stack=="string"){for(var i=u.stack.split(`
`),o=r.stack.split(`
`),s=i.length-1,a=o.length-1;1<=s&&0<=a&&i[s]!==o[a];)a--;for(;1<=s&&0<=a;s--,a--)if(i[s]!==o[a]){if(s!==1||a!==1)do if(s--,a--,0>a||i[s]!==o[a]){var l=`
`+i[s].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}while(1<=s&&0<=a);break}}}finally{Qg=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?Rc(e):""}function EG(e){switch(e.tag){case 5:return Rc(e.type);case 16:return Rc("Lazy");case 13:return Rc("Suspense");case 19:return Rc("SuspenseList");case 0:case 2:case 15:return e=jg(e.type,!1),e;case 11:return e=jg(e.type.render,!1),e;case 1:return e=jg(e.type,!0),e;default:return""}}function OE(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ua:return"Fragment";case Fa:return"Portal";case RE:return"Profiler";case TT:return"StrictMode";case NE:return"Suspense";case vE:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case dI:return(e.displayName||"Context")+".Consumer";case uI:return(e._context.displayName||"Context")+".Provider";case bT:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case yT:return t=e.displayName||null,t!==null?t:OE(e.type)||"Memo";case yo:t=e._payload,e=e._init;try{return OE(e(t))}catch{}}return null}function SG(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return OE(t);case 8:return t===TT?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function Jo(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _I(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function TG(e){var t=_I(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var i=n.get,o=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(s){r=""+s,o.call(this,s)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(s){r=""+s},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function lp(e){e._valueTracker||(e._valueTracker=TG(e))}function fI(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=_I(e)?e.checked?"true":"false":e.value),e=r,e!==n?(t.setValue(e),!0):!1}function y_(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function AE(e,t){var n=t.checked;return Nt({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:n??e._wrapperState.initialChecked})}function iN(e,t){var n=t.defaultValue==null?"":t.defaultValue,r=t.checked!=null?t.checked:t.defaultChecked;n=Jo(t.value!=null?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function mI(e,t){t=t.checked,t!=null&&ST(e,"checked",t,!1)}function IE(e,t){mI(e,t);var n=Jo(t.value),r=t.type;if(n!=null)r==="number"?(n===0&&e.value===""||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?wE(e,t.type,n):t.hasOwnProperty("defaultValue")&&wE(e,t.type,Jo(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function oN(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!(r!=="submit"&&r!=="reset"||t.value!==void 0&&t.value!==null))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}n=e.name,n!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,n!==""&&(e.name=n)}function wE(e,t,n){(t!=="number"||y_(e.ownerDocument)!==e)&&(n==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Nc=Array.isArray;function Za(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+Jo(n),t=null,i=0;i<e.length;i++){if(e[i].value===n){e[i].selected=!0,r&&(e[i].defaultSelected=!0);return}t!==null||e[i].disabled||(t=e[i])}t!==null&&(t.selected=!0)}}function DE(e,t){if(t.dan Line truncated
`).replace(wY,"")}function gp(e,t,n){if(t=AN(t),AN(e)!==t&&n)throw Error(oe(425))}function w_(){}var zE=null,VE=null;function WE(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var qE=typeof setTimeout=="function"?setTimeout:void 0,DY=typeof clearTimeout=="function"?clearTimeout:void 0,IN=typeof Promise=="function"?Promise:void 0,xY=typeof queueMicrotask=="function"?queueMicrotask:typeof IN<"u"?function(e){return IN.resolve(null).then(e).catch(MY)}:qE;function MY(e){setTimeout(function(){throw e})}function ch(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&i.nodeType===8)if(n=i.data,n==="/$"){if(r===0){e.removeChild(i),cu(t);return}r--}else n!=="$"&&n!=="$?"&&n!=="$!"||r++;n=i}while(n);cu(t)}function $o(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?")break;if(t==="/$")return null}}return e}function wN(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var n=e.data;if(n==="$"||n==="$!"||n==="$?"){if(t===0)return e;t--}else n==="/$"&&t++}e=e.previousSibling}return null}var wl=Math.random().toString(36).slice(2),gi="__reactFiber$"+wl,fu="__reactProps$"+wl,Xi="__reactContainer$"+wl,KE="__reactEvents$"+wl,LY="__reactListeners$"+wl,kY="__reactHandles$"+wl;function xs(e){var t=e[gi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Xi]||n[gi]){if(n=t.alternate,t.child!==null||n!==null&&n.child!==null)for(e=wN(e);e!==null;){if(n=e[gi])return n;e=wN(e)}return t}e=n,n=e.parentNode}return null}function Qu(e){return e=e[gi]||e[Xi],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Ha(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(oe(33))}function jf(e){return e[fu]||null}var QE=[],$a=-1;function as(e){return{current:e}}function mt(e){0>$a||(e.current=QE[$a],QE[$a]=null,$a--)}function lt(e,t){$a++,QE[$a]=e.current,e.current=t}var es={},bn=as(es),Zn=as(!1),Ks=es;function _l(e,t){var n=e.type.contextTypes;if(!n)return es;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i={},o;for(o in n)i[o]=t[o];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function Jn(e){return e=e.childContextTypes,e!=null}function D_(){mt(Zn),mt(bn)}function DN(e,t,n){if(bn.current!==es)throw Error(oe(168));lt(bn,t),lt(Zn,n)}function rw(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,typeof r.getChildContext!="function")return n;r=r.getChildContext();for(var i in r)if(!(i in t))throw Error(oe(108,SG(e)||"Unknown",i));return Nt({},n,r)}function x_(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||es,Ks=bn.current,lt(bn,e),lt(Zn,Zn.current),!0}function xN(e,t,n){var r=e.stateNode;if(!r)throw Error(oe(169));n?(e=rw(e,t,Ks),r.__reactInternalMemoizedMergedChildContext=e,mt(Zn),mt(bn),lt(bn,e)):mt(Zn),lt(Zn,n)}var Hi=null,Xf=!1,uh=!1;function iw(e){Hi===null?Hi=[e]:Hi.push(e)}function PY(e){Xf=!0,iw(e)}function ls(){if(!uh&&Hi!==null){uh=!0;var e=0,t=et;try{var n=Hi;for(et=1;e<n.length;e++){var r=n[e];do r=r(!0);while(r!==null)}Hi=null,Xf=!1}catch(i){throw Hi!==null&&(Hi=Hi.slice(e+1)),II(RT,ls),i}finally{et=t,uh=!1}}return null}var za=[],Va=0,M_=null,L_=0,Dr=[],xr=0,Qs=null,zi=1,Vi="";function vs(e,t){za[Va++]=L_,za[Va++]=M_,M_=e,L_=t}function ow(e,t,n){Dr[xr++]=zi,Dr[xr++]=Vi,Dr[xr++]=Qs,Qs=e;var r=zi;e=Vi;var i=32-Jr(r)-1;r&=~(1<<i),n+=1;var o=32-Jr(t)+i;if(30<o){var s=i-i%5;o=(r&(1<<s)-1).toString(32),r>>=s,i-=s,zi=1<<32-Jr(t)+i|n<<i|r,Vi=o+e}else zi=1<<o|n<<i|r,Vi=e}function MT(e){e.return!==null&&(vs(e,1),ow(e,1,0))}function LT(e){for(;e===M_;)M_=za[--Va],za[Va]=null,L_=za[--Va],za[Va]=null;for(;e===Qs;)Qs=Dr[--xr],Dr[xr]=null,Vi=Dr[--xr],Dr[xr]=null,zi=Dr[--xr],Dr[xr]=null}var _r=null,pr=null,St=!1,Qr=null;function sw(e,t){var n=Lr(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,t=e.deletions,t===null?(e.deletions=[n],e.flags|=16):t.push(n)}function MN(e,t){switch(e.tag){case 5:var n=e.type;return t=t.nodeType!==1||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t,t!==null?(e.stateNode=t,_r=e,pr=$o(t.firstChild),!0):!1;case 6:return t=e.pendingProps===""||t.nodeType!==3?null:t,t!==null?(e.stateNode=t,_r=e,pr=null,!0):!1;case 13:return t=t.nodeType!==8?null:t,t!==null?(n=Qs!==null?{id:zi,overflow:Vi}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},n=Lr(18,null,null,0),n.stateNode=t,n.return=e,e.child=n,_r=e,pr=null,!0):!1;default:return!1}}function jE(e){return(e.mode&1)!==0&&(e.flags&128)===0}function XE(e){if(St){var t=pr;if(t){var n=t;if(!MN(e,t)){if(jE(e))throw Error(oe(418));t=$o(n.nextSibling);var r=_r;t&&MN(e,t)?sw(r,n):(e.flags=e.flags&-4097|2,St=!1,_r=e)}}else{if(jE(e))throw Error(oe(418));e.flags=e.flags&-4097|2,St=!1,_r=e}}}function LN(e){ Line truncated
Error generating stack: `+o.message+`
`+o.stack}return{value:e,source:t,stack:i,digest:null}}function mh(e,t,n){return{value:e,source:null,stack:n??null,digest:t??null}}function tS(e,t){try{console.error(t.value)}catch(n){setTimeout(function(){throw n})}}var VY=typeof WeakMap=="function"?WeakMap:Map;function Mw(e,t,n){n=Ki(-1,n),n.tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){H_||(H_=!0,dS=r),tS(e,t)},n}function Lw(e,t,n){n=Ki(-1,n),n.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){tS(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(n.callback=function(){tS(e,t),typeof r!="function"&&(Vo===null?Vo=new Set([this]):Vo.add(this));var s=t.stack;this.componentDidCatch(t.value,{componentStack:s!==null?s:""})}),n}function HN(e,t,n){var r=e.pingCache;if(r===null){r=e.pingCache=new VY;var i=new Set;r.set(t,i)}else i=r.get(t),i===void 0&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=oH.bind(null,e,t,n),t.then(e,e))}function $N(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function zN(e,t,n,r,i){return e.mode&1?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,n.tag===1&&(n.alternate===null?n.tag=17:(t=Ki(-1,1),t.tag=2,zo(n,t,1))),n.lanes|=1),e)}var WY=no.ReactCurrentOwner,Xn=!1;function xn(e,t,n,r){t.child=e===null?cw(t,null,n,r):ml(t,e.child,n,r)}function VN(e,t,n,r,i){n=n.render;var o=t.ref;return nl(t,i),r=VT(e,t,n,r,o,i),n=WT(),e!==null&&!Xn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ji(e,t,i)):(St&&n&&MT(t),t.flags|=1,xn(e,t,r,i),t.child)}function WN(e,t,n,r,i){if(e===null){var o=n.type;return typeof o=="function"&&!nb(o)&&o.defaultProps===void 0&&n.compare===null&&n.defaultProps===void 0?(t.tag=15,t.type=o,kw(e,t,o,r,i)):(e=p_(n.type,null,r,t,t.mode,i),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&i)){var s=o.memoizedProps;if(n=n.compare,n=n!==null?n:du,n(s,r)&&e.ref===t.ref)return Ji(e,t,i)}return t.flags|=1,e=qo(o,r),e.ref=t.ref,e.return=t,t.child=e}function kw(e,t,n,r,i){if(e!==null){var o=e.memoizedProps;if(du(o,r)&&e.ref===t.ref)if(Xn=!1,t.pendingProps=r=o,(e.lanes&i)!==0)e.flags&131072&&(Xn=!0);else return t.lanes=e.lanes,Ji(e,t,i)}return nS(e,t,n,r,i)}function Pw(e,t,n){var r=t.pendingProps,i=r.children,o=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},lt(Ka,cr),cr|=n;else{if(!(n&1073741824))return e=o!==null?o.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,lt(Ka,cr),cr|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=o!==null?o.baseLanes:n,lt(Ka,cr),cr|=r}else o!==null?(r=o.baseLanes|n,t.memoizedState=null):r=n,lt(Ka,cr),cr|=r;return xn(e,t,i,n),t.child}function Fw(e,t){var n=t.ref;(e===null&&n!==null||e!==null&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function nS(e,t,n,r,i){var o=Jn(n)?Ks:bn.current;return o=_l(t,o),nl(t,i),n=VT(e,t,n,r,o,i),r=WT(),e!==null&&!Xn?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Ji(e,t,i)):(St&&r&&MT(t),t.flags|=1,xn(e,t,n,i),t.child)}function qN(e,t,n,r,i){if(Jn(n)){var o=!0;x_(t)}else o=!1;if(nl(t,i),t.stateNode===null)c_(e,t),xw(t,n,r),eS(t,n,r,i),r=!0;else if(e===null){var s=t.stateNode,a=t.memoizedProps;s.props=a;var l=s.context,u=n.contextType;typeof u=="object"&&u!==null?u=Ur(u):(u=Jn(n)?Ks:bn.current,u=_l(t,u));var p=n.getDerivedStateFromProps,_=typeof p=="function"||typeof s.getSnapshotBeforeUpdate=="function";_||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==r||l!==u)&&YN(t,s,r,u),Co=!1;var f=t.memoizedState;s.state=f,F_(t,r,s,i),l=t.memoizedState,a!==r||f!==l||Zn.current||Co?(typeof p=="function"&&(JE(t,n,p,r),l=t.memoizedState),(a=Co||GN(t,n,a,r,f,l,u))?(_||typeof s.UNSAFE_componentWillMount!="function"&&typeof s.componentWillMount!="function"||(typeof s.componentWillMount=="function"&&s.componentWillMount(),typeof s.UNSAFE_componentWillMount=="function"&&s.UNSAFE_componentWillMount()),typeof s.componentDidMount=="function"&&(t.flags|=4194308)):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),s.props=r,s.state=l,s.context=u,r=a):(typeof s.componentDidMount=="function"&&(t.flags|=4194308),r=!1)}else{s=t.stateNode,dw(e,t),a=t.memoizedProps,u=t.type===t.elementType?a:qr(t.type,a),s.props=u,_=t.pendingProps,f=s.context,l=n.contextType,typeof l=="object"&&l!==null?l=Ur(l):(l=Jn(n)?Ks:bn.current,l=_l(t,l));var g=n.getDerivedStateFromProps;(p=typeof g=="function"||typeof s.getSnapshotBeforeUpdate=="function")||typeof s.UNSAFE_componentWillReceiveProps!="function"&&typeof s.componentWillReceiveProps!="function"||(a!==_||f!==l)&&YN(t,s,r,l),Co=!1,f=t.memoizedState,s.state=f,F_(t,r,s,i);var h=t.memoizedS Line truncated
`)}}Js.empty=new Js(!0);class yH{constructor(t,n){this.string=t,this.nodeTypes=n,this.inline=null,this.pos=0,this.tokens=t.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==""&&this.tokens.pop(),this.tokens[0]==""&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(t){return this.next==t&&(this.pos++||!0)}err(t){throw new SyntaxError(t+" (in content expression '"+this.string+"')")}}function mD(e){let t=[];do t.push(CH(e));while(e.eat("|"));return t.length==1?t[0]:{type:"choice",exprs:t}}function CH(e){let t=[];do t.push(RH(e));while(e.next&&e.next!=")"&&e.next!="|");return t.length==1?t[0]:{type:"seq",exprs:t}}function RH(e){let t=OH(e);for(;;)if(e.eat("+"))t={type:"plus",expr:t};else if(e.eat("*"))t={type:"star",expr:t};else if(e.eat("?"))t={type:"opt",expr:t};else if(e.eat("{"))t=NH(e,t);else break;return t}function lv(e){/\D/.test(e.next)&&e.err("Expected number, got '"+e.next+"'");let t=Number(e.next);return e.pos++,t}function NH(e,t){let n=lv(e),r=n;return e.eat(",")&&(e.next!="}"?r=lv(e):r=-1),e.eat("}")||e.err("Unclosed braced range"),{type:"range",min:n,max:r,expr:t}}function vH(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let o in n){let s=n[o];s.isInGroup(t)&&i.push(s)}return i.length==0&&e.err("No node type or group '"+t+"' found"),i}function OH(e){if(e.eat("(")){let t=mD(e);return e.eat(")")||e.err("Missing closing paren"),t}else if(/\W/.test(e.next))e.err("Unexpected token '"+e.next+"'");else{let t=vH(e,e.next).map(n=>(e.inline==null?e.inline=n.isInline:e.inline!=n.isInline&&e.err("Mixing inline and block content"),{type:"name",value:n}));return e.pos++,t.length==1?t[0]:{type:"choice",exprs:t}}}function AH(e){let t=[[]];return i(o(e,0),n()),t;function n(){return t.push([])-1}function r(s,a,l){let u={term:l,to:a};return t[s].push(u),u}function i(s,a){s.forEach(l=>l.to=a)}function o(s,a){if(s.type=="choice")return s.exprs.reduce((l,u)=>l.concat(o(u,a)),[]);if(s.type=="seq")for(let l=0;;l++){let u=o(s.exprs[l],a);if(l==s.exprs.length-1)return u;i(u,a=n())}else if(s.type=="star"){let l=n();return r(a,l),i(o(s.expr,l),l),[r(l)]}else if(s.type=="plus"){let l=n();return i(o(s.expr,a),l),i(o(s.expr,l),l),[r(l)]}else{if(s.type=="opt")return[r(a)].concat(o(s.expr,a));if(s.type=="range"){let l=a;for(let u=0;u<s.min;u++){let p=n();i(o(s.expr,l),p),l=p}if(s.max==-1)i(o(s.expr,l),l);else for(let u=s.min;u<s.max;u++){let p=n();r(l,p),i(o(s.expr,l),p),l=p}return[r(l)]}else{if(s.type=="name")return[r(a,void 0,s.value)];throw new Error("Unknown expr type")}}}}function gD(e,t){return t-e}function cv(e,t){let n=[];return r(t),n.sort(gD);function r(i){let o=e[i];if(o.length==1&&!o[0].term)return r(o[0].to);n.push(i);for(let s=0;s<o.length;s++){let{term:a,to:l}=o[s];!a&&n.indexOf(l)==-1&&r(l)}}}function IH(e){let t=Object.create(null);return n(cv(e,0));function n(r){let i=[];r.forEach(s=>{e[s].forEach(({term:a,to:l})=>{if(!a)return;let u;for(let p=0;p<i.length;p++)i[p][0]==a&&(u=i[p][1]);cv(e,l).forEach(p=>{u||i.push([a,u=[]]),u.indexOf(p)==-1&&u.push(p)})})});let o=t[r.join(",")]=new Js(r.indexOf(e.length-1)>-1);for(let s=0;s<i.length;s++){let a=i[s][1].sort(gD);o.next.push({type:i[s][0],next:t[a.join(",")]||n(a)})}return o}}function wH(e,t){for(let n=0,r=[e];n<r.length;n++){let i=r[n],o=!i.validEnd,s=[];for(let a=0;a<i.next.length;a++){let{type:l,next:u}=i.next[a];s.push(l.name),o&&!(l.isText||l.hasRequiredAttrs())&&(o=!1),r.indexOf(u)==-1&&r.push(u)}o&&t.err("Only non-generatable nodes ("+s.join(", ")+") in a required position (see https://prosemirror.net/docs/guide/#generatable)")}}function hD(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function ED(e,t){let n=Object.create(null);for(let r in e){let i=t&&t[r];if(i===void 0){let o=e[r];if(o.hasDefault)i=o.default;else throw new RangeError("No value supplied for attribute "+r)}n[r]=i}return n}function SD(e,t,n,r){for(let i in t)if(!(i in e))throw new RangeError(`Unsupported attribute ${i} for ${n} of type ${i}`);for(let i in e){let o=e[i];o.validate&&o.validate(t[i])}}function TD(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new xH(e,r,t[r]);return n}let uv=class bD{constructor(t,n,r){this.name=t,this.schema=n,this.spec=r,this.markSet=null,this.groups=r.group?r.group.split(" "):[],this.attrs=TD(t,r.attrs),this.defaultAttrs=hD(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(r.inline||t=="text"),this.isText=t=="text"}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==Js.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(t){return this.groups.indexOf(t)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?"pre":"normal")}hasRequiredAttrs(){for(let t in this.attrs)if(this.attrs[t].isRequired)return!0;return!1}compatibleContent(t){return this==t||this.contentMatch.compatible(t.contentMatch)}computeAttrs(t){return!t&&this.defaultA Line truncated
`);else if(r=r.replace(/[ \t\r\n\u000c]+/g," "),/^[ \t\r\n\u000c]/.test(r)&&this.open==this.nodes.length-1){let s=i.content[i.content.length-1],a=t.previousSibling;(!s||a&&a.nodeName=="BR"||s.isText&&/[ \t\r\n\u000c]$/.test(s.text))&&(r=r.slice(1))}r&&this.insertNode(this.parser.schema.text(r),n),this.findInText(t)}else this.findInside(t)}addElement(t,n,r){let i=this.localPreserveWS,o=this.top;(t.tagName=="PRE"||/pre/.test(t.style&&t.style.whiteSpace))&&(this.localPreserveWS=!0);let s=t.nodeName.toLowerCase(),a;RD.hasOwnProperty(s)&&this.parser.normalizeLists&&PH(t);let l=this.options.ruleFromNode&&this.options.ruleFromNode(t)||(a=this.parser.matchTag(t,this,r));e:if(l?l.ignore:kH.hasOwnProperty(s))this.findInside(t),this.ignoreFallback(t,n);else if(!l||l.skip||l.closeParent){l&&l.closeParent?this.open=Math.max(0,this.open-1):l&&l.skip.nodeType&&(t=l.skip);let u,p=this.needsBlock;if(CD.hasOwnProperty(s))o.content.length&&o.content[0].isInline&&this.open&&(this.open--,o=this.top),u=!0,o.type||(this.needsBlock=!0);else if(!t.firstChild){this.leafFallback(t,n);break e}let _=l&&l.skip?n:this.readStyles(t,n);_&&this.addAll(t,_),u&&this.sync(o),this.needsBlock=p}else{let u=this.readStyles(t,n);u&&this.addElementByRule(t,l,u,l.consuming===!1?a:void 0)}this.localPreserveWS=i}leafFallback(t,n){t.nodeName=="BR"&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(t.ownerDocument.createTextNode(`
`),n)}ignoreFallback(t,n){t.nodeName=="BR"&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text("-"),n)}readStyles(t,n){let r=t.style;if(r&&r.length)for(let i=0;i<this.parser.matchedStyles.length;i++){let o=this.parser.matchedStyles[i],s=r.getPropertyValue(o);if(s)for(let a=void 0;;){let l=this.parser.matchStyle(o,s,this,a);if(!l)break;if(l.ignore)return null;if(l.clearMark?n=n.filter(u=>!l.clearMark(u)):n=n.concat(this.parser.schema.marks[l.mark].create(l.attrs)),l.consuming===!1)a=l;else break}}return n}addElementByRule(t,n,r,i){let o,s;if(n.node)if(s=this.parser.schema.nodes[n.node],s.isLeaf)this.insertNode(s.create(n.attrs),r)||this.leafFallback(t,r);else{let l=this.enter(s,n.attrs||null,r,n.preserveWhitespace);l&&(o=!0,r=l)}else{let l=this.parser.schema.marks[n.mark];r=r.concat(l.create(n.attrs))}let a=this.top;if(s&&s.isLeaf)this.findInside(t);else if(i)this.addElement(t,r,i);else if(n.getContent)this.findInside(t),n.getContent(t,this.parser.schema).forEach(l=>this.insertNode(l,r));else{let l=t;typeof n.contentElement=="string"?l=t.querySelector(n.contentElement):typeof n.contentElement=="function"?l=n.contentElement(t):n.contentElement&&(l=n.contentElement),this.findAround(t,l,!0),this.addAll(l,r),this.findAround(t,l,!1)}o&&this.sync(a)&&this.open--}addAll(t,n,r,i){let o=r||0;for(let s=r?t.childNodes[r]:t.firstChild,a=i==null?null:t.childNodes[i];s!=a;s=s.nextSibling,++o)this.findAtPoint(t,o),this.addDOM(s,n);this.findAtPoint(t,o)}findPlace(t,n){let r,i;for(let o=this.open;o>=0;o--){let s=this.nodes[o],a=s.findWrapping(t);if(a&&(!r||r.length>a.length)&&(r=a,i=s,!a.length)||s.solid)break}if(!r)return null;this.sync(i);for(let o=0;o<r.length;o++)n=this.enterInner(r[o],null,n,!1);return n}insertNode(t,n){if(t.isInline&&this.needsBlock&&!this.top.type){let i=this.textblockFromContext();i&&(n=this.enterInner(i,null,n))}let r=this.findPlace(t,n);if(r){this.closeExtra();let i=this.top;i.match&&(i.match=i.match.matchType(t.type));let o=ot.none;for(let s of r.concat(t.marks))(i.type?i.type.allowsMarkType(s.type):mv(s.type,t.type))&&(o=s.addToSet(o));return i.content.push(t.mark(o)),!0}return!1}enter(t,n,r,i){let o=this.findPlace(t.create(n),r);return o&&(o=this.enterInner(t,n,r,!0,i)),o}enterInner(t,n,r,i=!1,o){this.closeExtra();let s=this.top;s.match=s.match&&s.match.matchType(t);let a=pv(t,o,s.options);s.options&qc&&s.content.length==0&&(a|=qc);let l=ot.none;return r=r.filter(u=>(s.type?s.type.allowsMarkType(u.type):mv(u.type,t))?(l=u.addToSet(l),!1):!0),this.nodes.push(new Rp(t,n,l,i,null,a)),this.open++,r}closeExtra(t=!1){let n=this.nodes.length-1;if(n>this.open){for(;n>this.open;n--)this.nodes[n-1].content.push(this.nodes[n].finish(t));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(t){for(let n=this.open;n>=0;n--){if(this.nodes[n]==t)return this.open=n,!0;this.localPreserveWS&&(this.nodes[n].options|=yu)}return!1}get currentPos(){this.closeExtra();let t=0;for(let n=this.open;n>=0;n--){let r=this.nodes[n].content;for(let i=r.length-1;i>=0;i--)t+=r[i].nodeSize;n&&t++}return t}findAtPoint(t,n){if(this.find)for(let r=0;r<this.find.length;r++)this.find[r].node==t&&this.find[r].offset==n&&(this.find[r].pos=this.currentPos)}findInside(t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].pos==null&&t.nodeType==1&&t.contains(this.find[n].node)&&(this.find[n].pos=this.currentPos)}findAround(t,n,r){if(t!=n&&this.find)for(let i=0;i<this.find.length;i++)this.find[i].pos==null&&t.nodeType==1&&t.contains(this.find[i].node)&&n.compareDocumentPosition(this.find[i].node)&(r?2:4)&&(this.find[i].pos=this.currentPos)}findInText(t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==t&&(this.find[n].pos=this.currentPos-(t.nodeValue.length-this.find[n].offset))}matchesContext(t){if(t.indexOf("|")>-1)return t.split(/\s*\|\s*/).some(this.matchesContext,this);let n=t.split("/"),r=this.options.context,i=!this.isOpen&&(!r||r.parent.type==this.nodes[0].type),o=-(r?r.depth+1:0)+(i?0:1),s=(a,l)=>{for(;a>=0;a--){let u=n[a];if(u==""){if(a==n.length-1||a==0)continue;for(;l>=o;l--)if(s(a-1,l))return!0;return!1}else{let p=l>0||l==0&&i?this.nodes[l].type:r&&l>=o?r.node(l-o).type:null;if(!p||p.name!=u&&!p.isInGroup(u))return!1;l--}}return!0};return s(n.length-1,this.open)}textblockFromContext(){let t=this.options.context;if(t)for(let n=t.depth;n>=0;n--){let r=t.node(n).contentMatchAt(t.indexAfter(n)).defaultType;if(r&&r.isTextblock&&r.defaultAttrs)return r}for(let n in this.parser.schema.nodes){let r=this.parser.schema.nodes[n];if(r.isTextblock&&r.defaultAttrs)return r}}}function PH(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let r=t.nodeType==1?t.nodeName.toLowerCase():null;r&&RD.hasOwnProperty(r)&&n?(n.appendChild(t),t=n):r=="li"?n=t:r&&(n=null)}}function FH(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Line truncated
`))}})}function jH(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function XH(e,t,n,r,i){let o=e.doc.nodeAt(t);if(!o)throw new RangeError("No node at given position");n||(n=o.type);let s=n.create(r,null,i||o.marks);if(o.isLeaf)return e.replaceWith(t,t+o.nodeSize,s);if(!n.validContent(o.content))throw new RangeError("Invalid content for node type "+n.name);e.step(new Xt(t,t+o.nodeSize,t+1,t+o.nodeSize-1,new le(Z.from(s),0,0),1,!0))}function ol(e,t,n=1,r){let i=e.resolve(t),o=i.depth-n,s=r&&r[r.length-1]||i.parent;if(o<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!s.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let u=i.depth-1,p=n-2;u>o;u--,p--){let _=i.node(u),f=i.index(u);if(_.type.spec.isolating)return!1;let g=_.content.cutByIndex(f,_.childCount),h=r&&r[p+1];h&&(g=g.replaceChild(0,h.type.create(h.attrs)));let E=r&&r[p]||_;if(!_.canReplace(f+1,_.childCount)||!E.type.validContent(g))return!1}let a=i.indexAfter(o),l=r&&r[0];return i.node(o).canReplaceWith(a,a,l?l.type:i.node(o+1).type)}function ZH(e,t,n=1,r){let i=e.doc.resolve(t),o=Z.empty,s=Z.empty;for(let a=i.depth,l=i.depth-n,u=n-1;a>l;a--,u--){o=Z.from(i.node(a).copy(o));let p=r&&r[u];s=Z.from(p?p.type.create(p.attrs,s):i.node(a).copy(s))}e.step(new Kt(t,t,new le(o.append(s),n,n),!0))}function cs(e,t){let n=e.resolve(t),r=n.index();return xD(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function JH(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:r}=e.type.schema;for(let i=0;i<t.childCount;i++){let o=t.child(i),s=o.type==r?e.type.schema.nodes.text:o.type;if(n=n.matchType(s),!n||!e.type.allowsMarks(o.marks))return!1}return n.validEnd}function xD(e,t){return!!(e&&t&&!e.isLeaf&&JH(e,t))}function lm(e,t,n=-1){let r=e.resolve(t);for(let i=r.depth;;i--){let o,s,a=r.index(i);if(i==r.depth?(o=r.nodeBefore,s=r.nodeAfter):n>0?(o=r.node(i+1),a++,s=r.node(i).maybeChild(a)):(o=r.node(i).maybeChild(a-1),s=r.node(i+1)),o&&!o.isTextblock&&xD(o,s)&&r.node(i).canReplace(a,a+1))return t;if(i==0)break;t=n<0?r.before(i):r.after(i)}}function e$(e,t,n){let r=null,{linebreakReplacement:i}=e.doc.type.schema,o=e.doc.resolve(t-n),s=o.node().type;if(i&&s.inlineContent){let p=s.whitespace=="pre",_=!!s.contentMatch.matchType(i);p&&!_?r=!1:!p&&_&&(r=!0)}let a=e.steps.length;if(r===!1){let p=e.doc.resolve(t+n);DD(e,p.node(),p.before(),a)}s.inlineContent&&lb(e,t+n-1,s,o.node().contentMatchAt(o.index()),r==null);let l=e.mapping.slice(a),u=l.map(t-n);if(e.step(new Kt(u,l.map(t+n,-1),le.empty,!0)),r===!0){let p=e.doc.resolve(u);wD(e,p.node(),p.before(),e.steps.length)}return e}function t$(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(r.parentOffset==0)for(let i=r.depth-1;i>=0;i--){let o=r.index(i);if(r.node(i).canReplaceWith(o,o,n))return r.before(i+1);if(o>0)return null}if(r.parentOffset==r.parent.content.size)for(let i=r.depth-1;i>=0;i--){let o=r.indexAfter(i);if(r.node(i).canReplaceWith(o,o,n))return r.after(i+1);if(o<r.node(i).childCount)return null}return null}function n$(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let o=0;o<n.openStart;o++)i=i.firstChild.content;for(let o=1;o<=(n.openStart==0&&n.size?2:1);o++)for(let s=r.depth;s>=0;s--){let a=s==r.depth?0:r.pos<=(r.start(s+1)+r.end(s+1))/2?-1:1,l=r.index(s)+(a>0?1:0),u=r.node(s),p=!1;if(o==1)p=u.canReplace(l,l,i);else{let _=u.contentMatchAt(l).findWrapping(i.firstChild.type);p=_&&u.canReplaceWith(l,l,_[0])}if(p)return a==0?r.pos:a<0?r.before(s+1):r.after(s+1)}return null}function cm(e,t,n=t,r=le.empty){if(t==n&&!r.size)return null;let i=e.resolve(t),o=e.resolve(n);return MD(i,o,r)?new Kt(t,n,r):new r$(i,o,r).fit()}function MD(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}class r${constructor(t,n,r){this.$from=t,this.$to=n,this.unplaced=r,this.frontier=[],this.placed=Z.empty;for(let i=0;i<=t.depth;i++){let o=t.node(i);this.frontier.push({type:o.type,match:o.contentMatchAt(t.indexAfter(i))})}for(let i=t.depth;i>0;i--)this.placed=Z.from(t.node(i).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let u=this.findFittable();u?this.placeNodes(u):this.openMore()||this.dropNode()}let t=this.mustMoveInline(),n=this.placed.size-this.depth-this.$from.depth,r=this.$from,i=this.close(t<0?this.$to:r.doc.resolve(t));if(!i)return null;let o=this.placed,s=r.depth,a=i.depth;for(;s&&a&&o.childCount==1;)o=o.firstChild.content,s--,a--;let l=new le(o,s,a);return t>-1?new Xt(r.pos,t,this.$to.pos,this.$to.end(),l,n):l.size||r.pos!=this.$to.pos?new Kt(r.pos,i.pos,l):null}findFittable(){let t=this.unplaced.openStart;for(let n=this.unplaced.content,r=0,i=this.unplaced.openEnd;r<t;r++){let o=n.firstChild;if(n.childCount>1&&(i=0),o.type.spec.isolating&&i<=r){t=r;break}n=o.content}for(let n=1;n<=2;n+ Line truncated
`),_&&h==g.nodeValue.length)for(let E=g,b;E;E=E.parentNode){if(b=E.nextSibling){b.nodeName=="BR"&&(a=l={node:b.parentNode,offset:sn(b)+1});break}let T=E.pmViewDesc;if(T&&T.node&&T.node.isBlock)break}}else{let E=g.childNodes[h-1];_=E&&(E.nodeName=="BR"||E.contentEditable=="false")}}if(ri&&p.focusNode&&p.focusNode!=l.node&&p.focusNode.nodeType==1){let g=p.focusNode.childNodes[p.focusOffset];g&&g.contentEditable=="false"&&(i=!0)}if(!(i||_&&kn)&&ea(a.node,a.offset,p.anchorNode,p.anchorOffset)&&ea(l.node,l.offset,p.focusNode,p.focusOffset))return;let f=!1;if((u.extend||t==n)&&!_){u.collapse(a.node,a.offset);try{t!=n&&u.extend(l.node,l.offset),f=!0}catch{}}if(!f){if(t>n){let h=a;a=l,l=h}let g=document.createRange();g.setEnd(l.node,l.offset),g.setStart(a.node,a.offset),u.removeAllRanges(),u.addRange(g)}}ignoreMutation(t){return!this.contentDOM&&t.type!="selection"}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(t,n){for(let r=0,i=0;i<this.children.length;i++){let o=this.children[i],s=r+o.size;if(r==s?t<=s&&n>=r:t<s&&n>r){let a=r+o.border,l=s-o.border;if(t>=a&&n<=l){this.dirty=t==r||n==s?ks:Mv,t==a&&n==l&&(o.contentLost||o.dom.parentNode!=this.contentDOM)?o.dirty=Ci:o.markDirty(t-a,n-a);return}else o.dirty=o.dom==o.contentDOM&&o.dom.parentNode==this.contentDOM&&!o.children.length?ks:Ci}r=s}this.dirty=ks}markParentsDirty(){let t=1;for(let n=this.parent;n;n=n.parent,t++){let r=t==1?ks:Mv;n.dirty<r&&(n.dirty=r)}}get domAtom(){return!1}get ignoreForCoords(){return!1}isText(t){return!1}}class KD extends ed{constructor(t,n,r,i){let o,s=n.type.toDOM;if(typeof s=="function"&&(s=s(r,()=>{if(!o)return i;if(o.parent)return o.parent.posBeforeChild(o)})),!n.type.spec.raw){if(s.nodeType!=1){let a=document.createElement("span");a.appendChild(s),s=a}s.contentEditable="false",s.classList.add("ProseMirror-widget")}super(t,[],s,null),this.widget=n,this.widget=n,o=this}matchesWidget(t){return this.dirty==Fr&&t.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(t){let n=this.widget.spec.stopEvent;return n?n(t):!1}ignoreMutation(t){return t.type!="selection"||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get side(){return this.widget.type.side}}class P$ extends ed{constructor(t,n,r,i){super(t,[],n,null),this.textDOM=r,this.text=i}get size(){return this.text.length}localPosFromDOM(t,n){return t!=this.textDOM?this.posAtStart+(n?this.size:0):this.posAtStart+n}domFromPos(t){return{node:this.textDOM,offset:t}}ignoreMutation(t){return t.type==="characterData"&&t.target.nodeValue==t.oldValue}}class ta extends ed{constructor(t,n,r,i,o){super(t,[],r,i),this.mark=n,this.spec=o}static create(t,n,r,i){let o=i.nodeViews[n.type.name],s=o&&o(n,i,r);return(!s||!s.dom)&&(s=aa.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new ta(t,n,s.dom,s.contentDOM||s.dom,s)}parseRule(){return this.dirty&Ci||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(t){return this.dirty!=Ci&&this.mark.eq(t)}markDirty(t,n){if(super.markDirty(t,n),this.dirty!=Fr){let r=this.parent;for(;!r.node;)r=r.parent;r.dirty<this.dirty&&(r.dirty=this.dirty),this.dirty=Fr}}slice(t,n,r){let i=ta.create(this.parent,this.mark,!0,r),o=this.children,s=this.size;n<s&&(o=OS(o,n,s,r)),t>0&&(o=OS(o,0,t,r));for(let a=0;a<o.length;a++)o[a].parent=i;return i.children=o,i}ignoreMutation(t){return this.spec.ignoreMutation?this.spec.ignoreMutation(t):super.ignoreMutation(t)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}}class jo extends ed{constructor(t,n,r,i,o,s,a,l,u){super(t,[],o,s),this.node=n,this.outerDeco=r,this.innerDeco=i,this.nodeDOM=a}static create(t,n,r,i,o,s){let a=o.nodeViews[n.type.name],l,u=a&&a(n,o,()=>{if(!l)return s;if(l.parent)return l.parent.posBeforeChild(l)},r,i),p=u&&u.dom,_=u&&u.contentDOM;if(n.isText){if(!p)p=document.createTextNode(n.text);else if(p.nodeType!=3)throw new RangeError("Text must be rendered as a DOM text node")}else p||({dom:p,contentDOM:_}=aa.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs));!_&&!n.isText&&p.nodeName!="BR"&&(p.hasAttribute("contenteditable")||(p.contentEditable="false"),n.type.spec.draggable&&(p.draggable=!0));let f=p;return p=ZD(p,r,n),u?l=new F$(t,n,r,i,p,_||null,f,u,o,s+1):n.isText?new pm(t,n,r,i,p,f,o):new jo(t,n,r,i,p,_||null,f,o,s+1)}parseRule(){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace=="pre"&&(t.preserveWhitespace="full"),!this.contentDOM)t.getContent=()=>this.node.content;else if(!this.contentLost)t.contentElement=this.contentDOM;else{for(let n=this.children.length-1;n>=0;n--){let r=this.children[n];if(this.dom.contains(r.dom.parentNode)){t.contentElement=r.dom.parentNode;break}}t.contentElement||(t.getContent=()=>Z.empty)}return t}matchesNode(t,n,r){return this.dirty==Fr&&t.eq(this. Line truncated
`);return{dom:l,text:f,slice:t}}function ix(e,t,n,r,i){let o=i.parent.type.spec.code,s,a;if(!n&&!t)return null;let l=t&&(r||o||!n);if(l){if(e.someProp("transformPastedText",f=>{t=f(t,o||r,e)}),o)return t?new le(Z.from(e.state.schema.text(t.replace(/\r\n?/g,`
`))),0,0):le.empty;let _=e.someProp("clipboardTextParser",f=>f(t,i,r,e));if(_)a=_;else{let f=i.marks(),{schema:g}=e.state,h=aa.fromSchema(g);s=document.createElement("div"),t.split(/(?:\r\n?|\n)+/).forEach(E=>{let b=s.appendChild(document.createElement("p"));E&&b.appendChild(h.serializeNode(g.text(E,f)))})}}else e.someProp("transformPastedHTML",_=>{n=_(n,e)}),s=i2(n),Ju&&o2(s);let u=s&&s.querySelector("[data-pm-slice]"),p=u&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(u.getAttribute("data-pm-slice")||"");if(p&&p[3])for(let _=+p[3];_>0;_--){let f=s.firstChild;for(;f&&f.nodeType!=1;)f=f.nextSibling;if(!f)break;s=f}if(a||(a=(e.someProp("clipboardParser")||e.someProp("domParser")||Wc.fromSchema(e.state.schema)).parseSlice(s,{preserveWhitespace:!!(l||p),context:i,ruleFromNode(f){return f.nodeName=="BR"&&!f.nextSibling&&f.parentNode&&!t2.test(f.parentNode.nodeName)?{ignore:!0}:null}})),p)a=s2(Wv(a,+p[1],+p[2]),p[4]);else if(a=le.maxOpen(n2(a.content,i),!0),a.openStart||a.openEnd){let _=0,f=0;for(let g=a.content.firstChild;_<a.openStart&&!g.type.spec.isolating;_++,g=g.firstChild);for(let g=a.content.lastChild;f<a.openEnd&&!g.type.spec.isolating;f++,g=g.lastChild);a=Wv(a,_,f)}return e.someProp("transformPasted",_=>{a=_(a,e)}),a}const t2=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function n2(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let i=t.node(n).contentMatchAt(t.index(n)),o,s=[];if(e.forEach(a=>{if(!s)return;let l=i.findWrapping(a.type),u;if(!l)return s=null;if(u=s.length&&o.length&&sx(l,o,a,s[s.length-1],0))s[s.length-1]=u;else{s.length&&(s[s.length-1]=ax(s[s.length-1],o.length));let p=ox(a,l);s.push(p),i=i.matchType(p.type),o=l}}),s)return Z.from(s)}return e}function ox(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,Z.from(e));return e}function sx(e,t,n,r,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let o=sx(e,t,n,r.lastChild,i+1);if(o)return r.copy(r.content.replaceChild(r.childCount-1,o));if(r.contentMatchAt(r.childCount).matchType(i==e.length-1?n.type:e[i+1]))return r.copy(r.content.append(Z.from(ox(n,e,i+1))))}}function ax(e,t){if(t==0)return e;let n=e.content.replaceChild(e.childCount-1,ax(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(Z.empty,!0);return e.copy(n.append(r))}function wS(e,t,n,r,i,o){let s=t<0?e.firstChild:e.lastChild,a=s.content;return e.childCount>1&&(o=0),i<r-1&&(a=wS(a,t,n,r,i+1,o)),i>=n&&(a=t<0?s.contentMatchAt(0).fillBefore(a,o<=i).append(a):a.append(s.contentMatchAt(s.childCount).fillBefore(Z.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,s.copy(a))}function Wv(e,t,n){return t<e.openStart&&(e=new le(wS(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new le(wS(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}const lx={thead:["table"],tbody:["table"],tfoot:["table"],caption:["table"],colgroup:["table"],col:["table","colgroup"],tr:["table","tbody"],td:["table","tbody","tr"],th:["table","tbody","tr"]};let qv=null;function cx(){return qv||(qv=document.implementation.createHTMLDocument("title"))}let Ih=null;function r2(e){let t=window.trustedTypes;return t?(Ih||(Ih=t.createPolicy("ProseMirrorClipboard",{createHTML:n=>n})),Ih.createHTML(e)):e}function i2(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=cx().createElement("div"),r=/<([a-z][^>\s]+)/i.exec(e),i;if((i=r&&lx[r[1].toLowerCase()])&&(e=i.map(o=>"<"+o+">").join("")+e+i.map(o=>"</"+o+">").reverse().join("")),n.innerHTML=r2(e),i)for(let o=0;o<i.length;o++)n=n.querySelector(i[o])||n;return n}function o2(e){let t=e.querySelectorAll(Sn?"span:not([class]):not([style])":"span.Apple-converted-space");for(let n=0;n<t.length;n++){let r=t[n];r.childNodes.length==1&&r.textContent==" "&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(" "),r)}}function s2(e,t){if(!e.size)return e;let n=e.content.firstChild.type.schema,r;try{r=JSON.parse(t)}catch{return e}let{content:i,openStart:o,openEnd:s}=e;for(let a=r.length-2;a>=0;a-=2){let l=n.nodes[r[a]];if(!l||l.hasRequiredAttrs())break;i=Z.from(l.create(r[a+1],i)),o++,s++}return new le(i,o,s)}const Pn={},Fn={},a2={touchstart:!0,touchmove:!0};class l2{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:""},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}}function c2(e){for(let t in Pn){let n=Pn[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=r=>{d2(e,r)&&!mb(e,r)&&(e.editable||!(r.type in Fn))&&n(e,r)},a2[t]?{passive:!0}:void 0)}kn&&e.dom.addEventListener("input",()=>null), Line truncated
`).scrollIntoView()),!0)};function Rx(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}const uz=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),o=n.indexAfter(-1),s=Rx(i.contentMatchAt(o));if(!s||!i.canReplaceWith(o,o,s))return!1;if(t){let a=n.after(),l=e.tr.replaceWith(a,a,s.createAndFill());l.setSelection(we.near(l.doc.resolve(a),1)),t(l.scrollIntoView())}return!0},dz=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof ti||r.parent.inlineContent||i.parent.inlineContent)return!1;let o=Rx(i.parent.contentMatchAt(i.indexAfter()));if(!o||!o.isTextblock)return!1;if(t){let s=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,a=e.tr.insert(s,o.createAndFill());a.setSelection(ye.create(a.doc,s+1)),t(a.scrollIntoView())}return!0},pz=(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let o=n.before();if(ol(e.doc,o))return t&&t(e.tr.split(o).scrollIntoView()),!0}let r=n.blockRange(),i=r&&Dl(r);return i==null?!1:(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)},_z=(e,t)=>{let{$from:n,to:r}=e.selection,i,o=n.sharedDepth(r);return o==0?!1:(i=n.before(o),t&&t(e.tr.setSelection(Ce.create(e.doc,i))),!0)};function fz(e,t,n){let r=t.nodeBefore,i=t.nodeAfter,o=t.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&t.parent.canReplace(o-1,o)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(o,o+1)||!(i.isTextblock||cs(e.doc,t.pos))?!1:(n&&n(e.tr.join(t.pos).scrollIntoView()),!0)}function Nx(e,t,n,r){let i=t.nodeBefore,o=t.nodeAfter,s,a,l=i.type.spec.isolating||o.type.spec.isolating;if(!l&&fz(e,t,n))return!0;let u=!l&&t.parent.canReplace(t.index(),t.index()+1);if(u&&(s=(a=i.contentMatchAt(i.childCount)).findWrapping(o.type))&&a.matchType(s[0]||o.type).validEnd){if(n){let g=t.pos+o.nodeSize,h=Z.empty;for(let T=s.length-1;T>=0;T--)h=Z.from(s[T].create(null,h));h=Z.from(i.copy(h));let E=e.tr.step(new Xt(t.pos-1,g,t.pos,g,new le(h,1,0),s.length,!0)),b=E.doc.resolve(g+2*s.length);b.nodeAfter&&b.nodeAfter.type==i.type&&cs(E.doc,b.pos)&&E.join(b.pos),n(E.scrollIntoView())}return!0}let p=o.type.spec.isolating||r>0&&l?null:we.findFrom(t,1),_=p&&p.$from.blockRange(p.$to),f=_&&Dl(_);if(f!=null&&f>=t.depth)return n&&n(e.tr.lift(_,f).scrollIntoView()),!0;if(u&&yl(o,"start",!0)&&yl(i,"end")){let g=i,h=[];for(;h.push(g),!g.isTextblock;)g=g.lastChild;let E=o,b=1;for(;!E.isTextblock;E=E.firstChild)b++;if(g.canReplace(g.childCount,g.childCount,E.content)){if(n){let T=Z.empty;for(let C=h.length-1;C>=0;C--)T=Z.from(h[C].copy(T));let y=e.tr.step(new Xt(t.pos-h.length,t.pos+o.nodeSize,t.pos+b,t.pos+o.nodeSize-b,new le(T,h.length,0),0,!0));n(y.scrollIntoView())}return!0}}return!1}function vx(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,o=i.depth;for(;i.node(o).isInline;){if(!o)return!1;o--}return i.node(o).isTextblock?(n&&n(t.tr.setSelection(ye.create(t.doc,e<0?i.start(o):i.end(o)))),!0):!1}}const mz=vx(-1),gz=vx(1);function hz(e,t=null){return function(n,r){let{$from:i,$to:o}=n.selection,s=i.blockRange(o),a=s&&cb(s,e,t);return a?(r&&r(n.tr.wrap(s,a).scrollIntoView()),!0):!1}}function oO(e,t=null){return function(n,r){let i=!1;for(let o=0;o<n.selection.ranges.length&&!i;o++){let{$from:{pos:s},$to:{pos:a}}=n.selection.ranges[o];n.doc.nodesBetween(s,a,(l,u)=>{if(i)return!1;if(!(!l.isTextblock||l.hasMarkup(e,t)))if(l.type==e)i=!0;else{let p=n.doc.resolve(u),_=p.index();i=p.parent.canReplaceWith(_,_+1,e)}})}if(!i)return!1;if(r){let o=n.tr;for(let s=0;s<n.selection.ranges.length;s++){let{$from:{pos:a},$to:{pos:l}}=n.selection.ranges[s];o.setBlockType(a,l,e,t)}r(o.scrollIntoView())}return!0}}typeof navigator<"u"?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<"u"&&os.platform&&os.platform()=="darwin";function Ez(e,t=null){return function(n,r){let{$from:i,$to:o}=n.selection,s=i.blockRange(o);if(!s)return!1;let a=r?n.tr:null;return Sz(a,s,e,t)?(r&&r(a.scrollIntoView()),!0):!1}}function Sz(e,t,n,r=null){let i=!1,o=t,s=t.$from.doc;if(t.depth>=2&&t.$from.node(t.depth-1).type.compatibleContent(n)&&t.startIndex==0){if(t.$from.index(t.depth-1)==0)return!1;let l=s.resolve(t.start-2);o=new Q_(l,l,t.depth),t.endIndex<t.parent.childCount&&(t=new Q_(t.$from,s.resolve(t.$to.end(t.depth)),t.depth)),i=!0}let a=cb(o,n,r,t);return a?(e&&Tz(e,t,a,i,n),!0):!1}function Tz(e,t,n,r,i){let o=Z.empty;for(let p=n.length-1;p>=0;p--)o=Z.from(n[p].type.create(n[p].attrs,o));e.step(new Xt(t.start-(r?2:0),t.end,t.start,t.end,new le(o,0,0),n.length,!0));let s=0;for(let p=0;p<n.length;p++)n[p].type==i&&(s=p+1);let a=n.length-s,l=t.start+n.length-(r?2:0),u=t.parent;for(let p=t.startIndex,_=t.endIndex,f=!0;p<_;p++,f=!1)!f&&ol(e.doc,l,a)&&(e.split(l,a),l+=2*a),l+=u.child(p).nodeSize;return e}function bz(e){return function(t,n){let{$from:r,$to:i}=t.selection,o=r.blockRange(i,s=>s.childCount>0&&s.firstChild.type= Line truncated
`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}function xz(e){return Object.prototype.toString.call(e).slice(8,-1)}function Op(e){return xz(e)!=="Object"?!1:e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function hm(e,t){const n={...e};return Op(e)&&Op(t)&&Object.keys(t).forEach(r=>{Op(t[r])&&Op(e[r])?n[r]=hm(e[r],t[r]):n[r]=t[r]}),n}class en{constructor(t={}){this.type="mark",this.name="mark",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=Ue(ge(this,"addOptions",{name:this.name}))),this.storage=Ue(ge(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new en(t)}configure(t={}){const n=this.extend({...this.config,addOptions:()=>hm(this.options,t)});return n.name=this.name,n.parent=this.parent,n}extend(t={}){const n=new en(t);return n.parent=this,this.child=n,n.name=t.name?t.name:n.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=Ue(ge(n,"addOptions",{name:n.name})),n.storage=Ue(ge(n,"addStorage",{name:n.name,options:n.options})),n}static handleExit({editor:t,mark:n}){const{tr:r}=t.state,i=t.state.selection.$from;if(i.pos===i.end()){const s=i.marks();if(!!!s.find(u=>(u==null?void 0:u.type.name)===n.name))return!1;const l=s.find(u=>(u==null?void 0:u.type.name)===n.name);return l&&r.removeStoredMark(l),r.insertText(" ",i.pos),t.view.dispatch(r),!0}return!1}}function Mz(e){return typeof e=="number"}class Lz{constructor(t){this.find=t.find,this.handler=t.handler}}const kz=(e,t,n)=>{if(yb(t))return[...e.matchAll(t)];const r=t(e,n);return r?r.map(i=>{const o=[i.text];return o.index=i.index,o.input=e,o.data=i.data,i.replaceWith&&(i.text.includes(i.replaceWith)||console.warn('[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".'),o.push(i.replaceWith)),o}):[]};function Pz(e){const{editor:t,state:n,from:r,to:i,rule:o,pasteEvent:s,dropEvent:a}=e,{commands:l,chain:u,can:p}=new mm({editor:t,state:n}),_=[];return n.doc.nodesBetween(r,i,(g,h)=>{if(!g.isTextblock||g.type.spec.code)return;const E=Math.max(r,h),b=Math.min(i,h+g.content.size),T=g.textBetween(E-h,b-h,void 0,"");kz(T,o.find,s).forEach(C=>{if(C.index===void 0)return;const O=E+C.index+1,A=O+C[0].length,w={from:n.tr.mapping.map(O),to:n.tr.mapping.map(A)},L=o.handler({state:n,range:w,match:C,commands:l,chain:u,can:p,pasteEvent:s,dropEvent:a});_.push(L)})}),_.every(g=>g!==null)}const Fz=e=>{var t;const n=new ClipboardEvent("paste",{clipboardData:new DataTransfer});return(t=n.clipboardData)===null||t===void 0||t.setData("text/html",e),n};function Uz(e){const{editor:t,rules:n}=e;let r=null,i=!1,o=!1,s=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,a;try{a=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{a=null}const l=({state:p,from:_,to:f,rule:g,pasteEvt:h})=>{const E=p.tr,b=fm({state:p,transaction:E});if(!(!Pz({editor:t,state:b,from:Math.max(_-1,0),to:f.b-1,rule:g,pasteEvent:h,dropEvent:a})||!E.steps.length)){try{a=typeof DragEvent<"u"?new DragEvent("drop"):null}catch{a=null}return s=typeof ClipboardEvent<"u"?new ClipboardEvent("paste"):null,E}};return n.map(p=>new Xe({view(_){const f=g=>{var h;r=!((h=_.dom.parentElement)===null||h===void 0)&&h.contains(g.target)?_.dom.parentElement:null};return window.addEventListener("dragstart",f),{destroy(){window.removeEventListener("dragstart",f)}}},props:{handleDOMEvents:{drop:(_,f)=>(o=r===_.dom.parentElement,a=f,!1),paste:(_,f)=>{var g;const h=(g=f.clipboardData)===null||g===void 0?void 0:g.getData("text/html");return s=f,i=!!(h!=null&&h.includes("data-pm-slice")),!1}}},appendTransaction:(_,f,g)=>{const h=_[0],E=h.getMeta("uiEvent")==="paste"&&!i,b=h.getMeta("uiEvent")==="drop"&&!o,T=h.getMeta("applyPasteRules"),y=!!T;if(!E&&!b&&!y)return;if(y){let{text:A}=T;typeof A=="string"?A=A:A=td(Z.from(A),g.schema);const{from:w}=T,L=w+A.length,U=Fz(A);return l({rule:p,state:g,from:w,to:{b:L},pasteEvt:U})}const C=f.doc.content.findDiffStart(g.doc.content),O=f.doc.content.findDiffEnd(g.doc.content);if(!(!Mz(C)||!O||C===O.b))return l({rule:p,state:g,from:C,to:O,pasteEvt:s})}}))}function Bz(e){const t=e.filter((n,r)=>e.indexOf(n)!==r);return Array.from(new Set(t))}class ja{constructor(t,n){this.splittableMarks=[],this.editor=n,this.extensions=ja.resolve(t),this.schema=Az(this.extensions,n),this.setupExtensions()}static resolve(t){const n=ja.sort(ja.flatten(t)),r=Bz(n.map(i=>i.name));return r.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${r.map(i=>`'${i}' Line truncated
`,textSerializers:s={}}=n||{};let a="";return e.nodesBetween(r,i,(l,u,p,_)=>{var f;l.isBlock&&u>r&&(a+=o);const g=s==null?void 0:s[l.type.name];if(g)return p&&(a+=g({node:l,pos:u,parent:p,index:_,range:t})),!1;l.isText&&(a+=(f=l==null?void 0:l.text)===null||f===void 0?void 0:f.slice(Math.max(r,u)-u,i-u))}),a}function wx(e){return Object.fromEntries(Object.entries(e.nodes).filter(([,t])=>t.spec.toText).map(([t,n])=>[t,n.spec.toText]))}const Gz=gt.create({name:"clipboardTextSerializer",addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new Xe({key:new Qe("clipboardTextSerializer"),props:{clipboardTextSerializer:()=>{const{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:i}=t,{ranges:o}=i,s=Math.min(...o.map(p=>p.$from.pos)),a=Math.max(...o.map(p=>p.$to.pos)),l=wx(n);return Ix(r,{from:s,to:a},{...this.options.blockSeparator!==void 0?{blockSeparator:this.options.blockSeparator}:{},textSerializers:l})}}})]}}),Yz=()=>({editor:e,view:t})=>(requestAnimationFrame(()=>{var n;e.isDestroyed||(t.dom.blur(),(n=window==null?void 0:window.getSelection())===null||n===void 0||n.removeAllRanges())}),!0),Hz=(e=!1)=>({commands:t})=>t.setContent("",e),$z=()=>({state:e,tr:t,dispatch:n})=>{const{selection:r}=t,{ranges:i}=r;return n&&i.forEach(({$from:o,$to:s})=>{e.doc.nodesBetween(o.pos,s.pos,(a,l)=>{if(a.type.isText)return;const{doc:u,mapping:p}=t,_=u.resolve(p.map(l)),f=u.resolve(p.map(l+a.nodeSize)),g=_.blockRange(f);if(!g)return;const h=Dl(g);if(a.type.isTextblock){const{defaultType:E}=_.parent.contentMatchAt(_.index());t.setNodeMarkup(g.start,E)}(h||h===0)&&t.lift(g,h)})}),!0},zz=e=>t=>e(t),Vz=()=>({state:e,dispatch:t})=>dz(e,t),Wz=(e,t)=>({editor:n,tr:r})=>{const{state:i}=n,o=i.doc.slice(e.from,e.to);r.deleteRange(e.from,e.to);const s=r.mapping.map(t);return r.insert(s,o.content),r.setSelection(new ye(r.doc.resolve(s-1))),!0},qz=()=>({tr:e,dispatch:t})=>{const{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;const i=e.selection.$anchor;for(let o=i.depth;o>0;o-=1)if(i.node(o).type===r.type){if(t){const a=i.before(o),l=i.after(o);e.delete(a,l).scrollIntoView()}return!0}return!1},Kz=e=>({tr:t,state:n,dispatch:r})=>{const i=Jt(e,n.schema),o=t.selection.$anchor;for(let s=o.depth;s>0;s-=1)if(o.node(s).type===i){if(r){const l=o.before(s),u=o.after(s);t.delete(l,u).scrollIntoView()}return!0}return!1},Qz=e=>({tr:t,dispatch:n})=>{const{from:r,to:i}=e;return n&&t.delete(r,i),!0},jz=()=>({state:e,dispatch:t})=>J2(e,t),Xz=()=>({commands:e})=>e.keyboardShortcut("Enter"),Zz=()=>({state:e,dispatch:t})=>uz(e,t);function of(e,t,n={strict:!0}){const r=Object.keys(t);return r.length?r.every(i=>n.strict?t[i]===e[i]:yb(t[i])?t[i].test(e[i]):t[i]===e[i]):!0}function Dx(e,t,n={}){return e.find(r=>r.type===t&&of(Object.fromEntries(Object.keys(n).map(i=>[i,r.attrs[i]])),n))}function cO(e,t,n={}){return!!Dx(e,t,n)}function Cb(e,t,n){var r;if(!e||!t)return;let i=e.parent.childAfter(e.parentOffset);if((!i.node||!i.node.marks.some(p=>p.type===t))&&(i=e.parent.childBefore(e.parentOffset)),!i.node||!i.node.marks.some(p=>p.type===t)||(n=n||((r=i.node.marks[0])===null||r===void 0?void 0:r.attrs),!Dx([...i.node.marks],t,n)))return;let s=i.index,a=e.start()+i.offset,l=s+1,u=a+i.node.nodeSize;for(;s>0&&cO([...e.parent.child(s-1).marks],t,n);)s-=1,a-=e.parent.child(s).nodeSize;for(;l<e.parent.childCount&&cO([...e.parent.child(l).marks],t,n);)u+=e.parent.child(l).nodeSize,l+=1;return{from:a,to:u}}function ds(e,t){if(typeof e=="string"){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}const Jz=(e,t={})=>({tr:n,state:r,dispatch:i})=>{const o=ds(e,r.schema),{doc:s,selection:a}=n,{$from:l,from:u,to:p}=a;if(i){const _=Cb(l,o,t);if(_&&_.from<=u&&_.to>=p){const f=ye.create(s,_.from,_.to);n.setSelection(f)}}return!0},eV=e=>t=>{const n=typeof e=="function"?e(t):e;for(let r=0;r<n.length;r+=1)if(n[r](t))return!0;return!1};function xx(e){return e instanceof ye}function Po(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function Mx(e,t=null){if(!t)return null;const n=we.atStart(e),r=we.atEnd(e);if(t==="start"||t===!0)return n;if(t==="end")return r;const i=n.from,o=r.to;return t==="all"?ye.create(e,Po(0,i,o),Po(e.content.size,i,o)):ye.create(e,Po(t,i,o),Po(t,i,o))}function Em(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document}const tV=(e=null,t={})=>({editor:n,view:r,tr:i,dispatch:o})=>{t={scrollIntoView:!0,...t};const s=()=>{Em()&&r.dom.focus(),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),t!=null&&t.scrollIntoView&&n.commands.scrollIntoView())})};if(r.hasFocus()&&e===null||e===!1)return!0;if(o&&e===null&&!xx(n.state.selection))return s(),!0;const a=Mx(i.doc,e)||n.state.selection,l=n.state.selection.eq(a);return o&&(l||i.setSelection(a),l&&i.storedMarks&&i.setStoredMarks(i.storedMarks),s()),!0},nV=(e,t)=>n=>e.every((r,i)=>t Line truncated
position: relative;
}
.ProseMirror {
word-wrap: break-word;
white-space: pre-wrap;
white-space: break-spaces;
-webkit-font-variant-ligatures: none;
font-variant-ligatures: none;
font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
}
.ProseMirror [contenteditable="false"] {
white-space: normal;
}
.ProseMirror [contenteditable="false"] [contenteditable="true"] {
white-space: pre-wrap;
}
.ProseMirror pre {
white-space: pre-wrap;
}
img.ProseMirror-separator {
display: inline !important;
border: none !important;
margin: 0 !important;
width: 0 !important;
height: 0 !important;
}
.ProseMirror-gapcursor {
display: none;
pointer-events: none;
position: absolute;
margin: 0;
}
.ProseMirror-gapcursor:after {
content: "";
display: block;
position: absolute;
top: -2px;
width: 20px;
border-top: 1px solid black;
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
}
@keyframes ProseMirror-cursor-blink {
to {
visibility: hidden;
}
}
.ProseMirror-hideselection *::selection {
background: transparent;
}
.ProseMirror-hideselection *::-moz-selection {
background: transparent;
}
.ProseMirror-hideselection * {
caret-color: transparent;
}
.ProseMirror-focused .ProseMirror-gapcursor {
display: block;
}
.tippy-box[data-animation=fade][data-state=hidden] {
opacity: 0
}`;function fW(e,t,n){const r=document.querySelector("style[data-tiptap-style]");if(r!==null)return r;const i=document.createElement("style");return t&&i.setAttribute("nonce",t),i.setAttribute("data-tiptap-style",""),i.innerHTML=e,document.getElementsByTagName("head")[0].appendChild(i),i}class Ux extends Nz{constructor(t={}){super(),this.isFocused=!1,this.isInitialized=!1,this.extensionStorage={},this.options={element:document.createElement("div"),content:"",injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,onBeforeCreate:()=>null,onCreate:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:n})=>{throw n},onPaste:()=>null,onDrop:()=>null},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.setOptions(t),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on("beforeCreate",this.options.onBeforeCreate),this.emit("beforeCreate",{editor:this}),this.on("contentError",this.options.onContentError),this.createView(),this.injectCSS(),this.on("create",this.options.onCreate),this.on("update",this.options.onUpdate),this.on("selectionUpdate",this.options.onSelectionUpdate),this.on("transaction",this.options.onTransaction),this.on("focus",this.options.onFocus),this.on("blur",this.options.onBlur),this.on("destroy",this.options.onDestroy),this.on("drop",({event:n,slice:r,moved:i})=>this.options.onDrop(n,r,i)),this.on("paste",({event:n,slice:r})=>this.options.onPaste(n,r)),window.setTimeout(()=>{this.isDestroyed||(this.commands.focus(this.options.autofocus),this.emit("create",{editor:this}),this.isInitialized=!0)},0)}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager.chain()}can(){return this.commandManager.can()}injectCSS(){this.options.injectCSS&&document&&(this.css=fW(_W,this.options.injectNonce))}setOptions(t={}){this.options={...this.options,...t},!(!this.view||!this.state||this.isDestroyed)&&(this.options.editorProps&&this.view.setProps(this.options.editorProps),this.view.updateState(this.state))}setEditable(t,n=!0){this.setOptions({editable:t}),n&&this.emit("update",{editor:this,transaction:this.state.tr})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get state(){return this.view.state}registerPlugin(t,n){const r=Ax(n)?n(t,[...this.state.plugins]):[...this.state.plugins,t],i=this.state.reconfigure({plugins:r});return this.view.updateState(i),i}unregisterPlugin(t){if(this.isDestroyed)return;const n=this.state.plugins;let r=n;if([].concat(t).forEach(o=>{const s=typeof o=="string"?`${o}$`:o.key;r=n.filter(a=>!a.key.startsWith(s))}),n.length===r.length)return;const i=this.state.reconfigure({plugins:r});return this.view.updateState(i),i}createExtensionManager(){var t,n;const i=[...this.options.enableCoreExtensions?[lW,Gz.configure({blockSeparator:(n=(t=this.options.coreExtensionOptions)===null||t===void 0?void 0:t.clipboardTextSerializer)===null||n===void 0?void 0:n.blockSeparator}),sW,cW,uW,pW,aW,dW].filter(o=>typeof this.options.enableCoreExtensions=="object"?this.options.enableCoreExtensions[o.name]!==!1:!0):[],...this.options.extensions].filter(o=>["extension","node","mark"].includes(o==null?void 0:o.type));this.extensionManager=new ja(i,this)}createCommandManager(){this.commandManager=new mm({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createView(){var t;let n;try{n=xS(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(s){if(!(s instanceof Error)||!["[tiptap error]: Invalid JSON content","[tiptap error]: Invalid HTML content"].includes(s.message))throw s;this.emit("contentError",{editor:this,error:s,disableCollaboration:()=>{this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(a=>a.name!=="collaboration"),this.createExtensionManager()}}),n=xS(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1})}const r=Mx(n,this.options.autofocus);this.view=new $2(this.options.element,{...this.options.editorProps,attributes:{role:"textbox",...(t=this.options.editorProps)===null||t===void 0?void 0:t.attributes},dispatchTransaction:this.dispatchTransaction.bind(this),state:Qa.create({doc:n,selection:r||void 0})});const i=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(i),this.createNodeViews(),this.prependClass();const o=this.view.dom;o.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`tiptap ${this.view.dom.className}`}captureTransaction(t){this.isCapturingTransaction=!0,t(),this.isC Line truncated
`,textSerializers:r={}}=t||{};return MV(this.state.doc,{blockSeparator:n,textSerializers:{...wx(this.schema),...r}})}get isEmpty(){return Ob(this.state.doc)}getCharacterCount(){return console.warn('[tiptap warn]: "editor.getCharacterCount()" is deprecated. Please use "editor.storage.characterCount.characters()" instead.'),this.state.doc.content.size-2}destroy(){if(this.emit("destroy"),this.view){const t=this.view.dom;t&&t.editor&&delete t.editor,this.view.destroy()}this.removeAllListeners()}get isDestroyed(){var t;return!(!((t=this.view)===null||t===void 0)&&t.docView)}$node(t,n){var r;return((r=this.$doc)===null||r===void 0?void 0:r.querySelector(t,n))||null}$nodes(t,n){var r;return((r=this.$doc)===null||r===void 0?void 0:r.querySelectorAll(t,n))||null}$pos(t){const n=this.state.doc.resolve(t);return new ws(n,this)}get $doc(){return this.$pos(0)}}function na(e){return new nd({find:e.find,handler:({state:t,range:n,match:r})=>{const i=Ue(e.getAttributes,void 0,r);if(i===!1||i===null)return null;const{tr:o}=t,s=r[r.length-1],a=r[0];if(s){const l=a.search(/\S/),u=n.from+a.indexOf(s),p=u+s.length;if(vb(n.from,n.to,t.doc).filter(g=>g.mark.type.excluded.find(E=>E===e.type&&E!==g.mark.type)).filter(g=>g.to>u).length)return null;p<n.to&&o.delete(p,n.to),u>n.from&&o.delete(n.from+l,u);const f=n.from+l+s.length;o.addMark(n.from+l,f,e.type.create(i||{})),o.removeStoredMark(e.type)}}})}function Bx(e){return new nd({find:e.find,handler:({state:t,range:n,match:r})=>{const i=Ue(e.getAttributes,void 0,r)||{},{tr:o}=t,s=n.from;let a=n.to;const l=e.type.create(i);if(r[1]){const u=r[0].lastIndexOf(r[1]);let p=s+u;p>a?p=a:a=p+r[1].length;const _=r[0][r[0].length-1];o.insertText(_,s+r[0].length-1),o.replaceWith(p,a,l)}else if(r[0]){const u=e.type.isInline?s:s-1;o.insert(u,e.type.create(i)).delete(o.mapping.map(s),o.mapping.map(a))}o.scrollIntoView()}})}function kS(e){return new nd({find:e.find,handler:({state:t,range:n,match:r})=>{const i=t.doc.resolve(n.from),o=Ue(e.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,o)}})}function Dt(e){return new nd({find:e.find,handler:({state:t,range:n,match:r})=>{let i=e.replace,o=n.from;const s=n.to;if(r[1]){const a=r[0].lastIndexOf(r[1]);i+=r[0].slice(a+r[1].length),o+=a;const l=o-s;l>0&&(i=r[0].slice(a-l,a)+i,o=s)}t.tr.insertText(i,o,s)}})}function Iu(e){return new nd({find:e.find,handler:({state:t,range:n,match:r,chain:i})=>{const o=Ue(e.getAttributes,void 0,r)||{},s=t.tr.delete(n.from,n.to),l=s.doc.resolve(n.from).blockRange(),u=l&&cb(l,e.type,o);if(!u)return null;if(s.wrap(l,u),e.keepMarks&&e.editor){const{selection:_,storedMarks:f}=t,{splittableMarks:g}=e.editor.extensionManager,h=f||_.$to.parentOffset&&_.$from.marks();if(h){const E=h.filter(b=>g.includes(b.type.name));s.ensureMarks(E)}}if(e.keepAttributes){const _=e.type.name==="bulletList"||e.type.name==="orderedList"?"listItem":"taskList";i().updateAttributes(_,o).run()}const p=s.doc.resolve(n.from-1).nodeBefore;p&&p.type===e.type&&cs(s.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(r,p))&&s.join(n.from-1)}})}class tt{constructor(t={}){this.type="node",this.name="node",this.parent=null,this.child=null,this.config={name:this.name,defaultOptions:{}},this.config={...this.config,...t},this.name=this.config.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${this.name}".`),this.options=this.config.defaultOptions,this.config.addOptions&&(this.options=Ue(ge(this,"addOptions",{name:this.name}))),this.storage=Ue(ge(this,"addStorage",{name:this.name,options:this.options}))||{}}static create(t={}){return new tt(t)}configure(t={}){const n=this.extend({...this.config,addOptions:()=>hm(this.options,t)});return n.name=this.name,n.parent=this.parent,n}extend(t={}){const n=new tt(t);return n.parent=this,this.child=n,n.name=t.name?t.name:n.parent.name,t.defaultOptions&&Object.keys(t.defaultOptions).length>0&&console.warn(`[tiptap warn]: BREAKING CHANGE: "defaultOptions" is deprecated. Please use "addOptions" instead. Found in extension: "${n.name}".`),n.options=Ue(ge(n,"addOptions",{name:n.name})),n.storage=Ue(ge(n,"addStorage",{name:n.name,options:n.options})),n}}function mW(){return navigator.platform==="Android"||/android/i.test(navigator.userAgent)}class gW{constructor(t,n,r){this.isDragging=!1,this.component=t,this.editor=n.editor,this.options={stopEvent:null,ignoreMutation:null,...r},this.extension=n.extension,this.node=n.node,this.decorations=n.decorations,this.innerDecorations=n.innerDecorations,this.view=n.view,this.HTMLAttributes=n.HTMLAttributes,this.getPos=n.getPos,this.mount()}mount(){}get dom(){return this.editor.view.dom}get contentDOM(){return null}onDragStart(t){var n,r,i,o,s,a,l;const{view:u}=this.editor,p=t.target,_=p.nodeType===3?(n=p.parentElement)===null||n===void 0? Line truncated
* @license React
* use-sync-external-store-shim.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var _O;function SW(){if(_O)return Fh;_O=1;var e=it;function t(_,f){return _===f&&(_!==0||1/_===1/f)||_!==_&&f!==f}var n=typeof Object.is=="function"?Object.is:t,r=e.useState,i=e.useEffect,o=e.useLayoutEffect,s=e.useDebugValue;function a(_,f){var g=f(),h=r({inst:{value:g,getSnapshot:f}}),E=h[0].inst,b=h[1];return o(function(){E.value=g,E.getSnapshot=f,l(E)&&b({inst:E})},[_,g,f]),i(function(){return l(E)&&b({inst:E}),_(function(){l(E)&&b({inst:E})})},[_]),s(g),g}function l(_){var f=_.getSnapshot;_=_.value;try{var g=f();return!n(_,g)}catch{return!0}}function u(_,f){return f()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?u:a;return Fh.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,Fh}Gx.exports=SW();var Ab=Gx.exports;const TW=(...e)=>t=>{e.forEach(n=>{typeof n=="function"?n(t):n&&(n.current=t)})},bW=({contentComponent:e})=>{const t=Ab.useSyncExternalStore(e.subscribe,e.getSnapshot,e.getServerSnapshot);return it.createElement(it.Fragment,null,Object.values(t))};function yW(){const e=new Set;let t={};return{subscribe(n){return e.add(n),()=>{e.delete(n)}},getSnapshot(){return t},getServerSnapshot(){return t},setRenderer(n,r){t={...t,[n]:gH.createPortal(r.reactElement,r.element,n)},e.forEach(i=>i())},removeRenderer(n){const r={...t};delete r[n],t=r,e.forEach(i=>i())}}}class CW extends it.Component{constructor(t){var n;super(t),this.editorContentRef=it.createRef(),this.initialized=!1,this.state={hasContentComponentInitialized:!!(!((n=t.editor)===null||n===void 0)&&n.contentComponent)}}componentDidMount(){this.init()}componentDidUpdate(){this.init()}init(){const t=this.props.editor;if(t&&!t.isDestroyed&&t.options.element){if(t.contentComponent)return;const n=this.editorContentRef.current;n.append(...t.options.element.childNodes),t.setOptions({element:n}),t.contentComponent=yW(),this.state.hasContentComponentInitialized||(this.unsubscribeToContentComponent=t.contentComponent.subscribe(()=>{this.setState(r=>r.hasContentComponentInitialized?r:{hasContentComponentInitialized:!0}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent()})),t.createNodeViews(),this.initialized=!0}}componentWillUnmount(){const t=this.props.editor;if(!t||(this.initialized=!1,t.isDestroyed||t.view.setProps({nodeViews:{}}),this.unsubscribeToContentComponent&&this.unsubscribeToContentComponent(),t.contentComponent=null,!t.options.element.firstChild))return;const n=document.createElement("div");n.append(...t.options.element.childNodes),t.setOptions({element:n})}render(){const{editor:t,innerRef:n,...r}=this.props;return it.createElement(it.Fragment,null,it.createElement("div",{ref:TW(n,this.editorContentRef),...r}),(t==null?void 0:t.contentComponent)&&it.createElement(bW,{contentComponent:t.contentComponent}))}}const RW=k.forwardRef((e,t)=>{const n=it.useMemo(()=>Math.floor(Math.random()*4294967295).toString(),[e.editor]);return it.createElement(CW,{key:n,innerRef:t,...e})}),NW=it.memo(RW);var vW=function e(t,n){if(t===n)return!0;if(t&&n&&typeof t=="object"&&typeof n=="object"){if(t.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(t)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!e(t[i],n[i]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;for(i of t.entries())if(!e(i[1],n.get(i[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(i of t.entries())if(!n.has(i[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if(r=t.length,r!=n.length)return!1;for(i=r;i--!==0;)if(t[i]!==n[i])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if(o=Object.keys(t),r=o.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;i--!==0;){var s=o[i];if(!(s==="_owner"&&t.$$typeof)&&!e(t[s],n[s]))return!1}return!0}return t!==t&&n!==n},OW=EW(vW),Yx={exports:{}},Uh={};/**
* @license React
* use-sync-external-store-shim/with-selector.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var fO;function AW(){if(fO)return Uh;fO=1;var e=it,t=Ab;function n(u,p){return u===p&&(u!==0||1/u===1/p)||u!==u&&p!==p}var r=typeof Object.is=="function"?Object.is:n,i=t.useSyncExternalStore,o=e.useRef,s=e.useEffect,a=e.useMemo,l=e.useDebugValue;return Uh.useSyncExternalStoreWithSelector=function(u,p,_,f,g){var h=o(null);if(h.current===null){var E={hasValue:!1,value:null};h.current=E}else E=h.current;h=a(function(){function T(w){if(!y){if(y=!0,C=w,w=f(w),g!==void 0&&E.hasValue){var L=E.value;if(g(L,w))return O=L}return O=w}if(L=O,r(C,w))return L;var U=f(w);return g!==void 0&&g(L,U)?L:(C=w,O=U)}var y=!1,C,O,A=_===void 0?null:_;return[function(){return T(p())},A===null?void 0:function(){return T(A())}]},[p,_,f,g]);var b=i(u,h[0],h[1]);return s(function(){E.hasValue=!0,E.value=b},[b]),l(b),b},Uh}Yx.exports=AW();var IW=Yx.exports;const wW=typeof window<"u"?k.useLayoutEffect:k.useEffect;class DW{constructor(t){this.transactionNumber=0,this.lastTransactionNumber=0,this.subscribers=new Set,this.editor=t,this.lastSnapshot={editor:t,transactionNumber:0},this.getSnapshot=this.getSnapshot.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.watch=this.watch.bind(this),this.subscribe=this.subscribe.bind(this)}getSnapshot(){return this.transactionNumber===this.lastTransactionNumber?this.lastSnapshot:(this.lastTransactionNumber=this.transactionNumber,this.lastSnapshot={editor:this.editor,transactionNumber:this.transactionNumber},this.lastSnapshot)}getServerSnapshot(){return{editor:null,transactionNumber:0}}subscribe(t){return this.subscribers.add(t),()=>{this.subscribers.delete(t)}}watch(t){if(this.editor=t,this.editor){const n=()=>{this.transactionNumber+=1,this.subscribers.forEach(i=>i())},r=this.editor;return r.on("transaction",n),()=>{r.off("transaction",n)}}}}function xW(e){var t;const[n]=k.useState(()=>new DW(e.editor)),r=IW.useSyncExternalStoreWithSelector(n.subscribe,n.getSnapshot,n.getServerSnapshot,e.selector,(t=e.equalityFn)!==null&&t!==void 0?t:OW);return wW(()=>n.watch(e.editor),[e.editor,n]),k.useDebugValue(r),r}const MW=!1,PS=typeof window>"u",LW=PS||!!(typeof window<"u"&&window.next);class kW{constructor(t){this.editor=null,this.subscriptions=new Set,this.isComponentMounted=!1,this.previousDeps=null,this.instanceId="",this.options=t,this.subscriptions=new Set,this.setEditor(this.getInitialEditor()),this.scheduleDestroy(),this.getEditor=this.getEditor.bind(this),this.getServerSnapshot=this.getServerSnapshot.bind(this),this.subscribe=this.subscribe.bind(this),this.refreshEditorInstance=this.refreshEditorInstance.bind(this),this.scheduleDestroy=this.scheduleDestroy.bind(this),this.onRender=this.onRender.bind(this),this.createEditor=this.createEditor.bind(this)}setEditor(t){this.editor=t,this.instanceId=Math.random().toString(36).slice(2,9),this.subscriptions.forEach(n=>n())}getInitialEditor(){if(this.options.current.immediatelyRender===void 0)return PS||LW?null:this.createEditor();if(this.options.current.immediatelyRender&&PS&&MW)throw new Error("Tiptap Error: SSR has been detected, and `immediatelyRender` has been set to `true` this is an unsupported configuration that may result in errors, explicitly set `immediatelyRender` to `false` to avoid hydration mismatches.");return this.options.current.immediatelyRender?this.createEditor():null}createEditor(){const t={...this.options.current,onBeforeCreate:(...r)=>{var i,o;return(o=(i=this.options.current).onBeforeCreate)===null||o===void 0?void 0:o.call(i,...r)},onBlur:(...r)=>{var i,o;return(o=(i=this.options.current).onBlur)===null||o===void 0?void 0:o.call(i,...r)},onCreate:(...r)=>{var i,o;return(o=(i=this.options.current).onCreate)===null||o===void 0?void 0:o.call(i,...r)},onDestroy:(...r)=>{var i,o;return(o=(i=this.options.current).onDestroy)===null||o===void 0?void 0:o.call(i,...r)},onFocus:(...r)=>{var i,o;return(o=(i=this.options.current).onFocus)===null||o===void 0?void 0:o.call(i,...r)},onSelectionUpdate:(...r)=>{var i,o;return(o=(i=this.options.current).onSelectionUpdate)===null||o===void 0?void 0:o.call(i,...r)},onTransaction:(...r)=>{var i,o;return(o=(i=this.options.current).onTransaction)===null||o===void 0?void 0:o.call(i,...r)},onUpdate:(...r)=>{var i,o;return(o=(i=this.options.current).onUpdate)===null||o===void 0?void 0:o.call(i,...r)},onContentError:(...r)=>{var i,o;return(o=(i=this.options.current).onContentError)===null||o===void 0?void 0:o.call(i,...r)},onDrop:(...r)=>{var i,o;return(o=(i=this.options.current).onDrop)===null||o===void 0?void 0:o.call(i,...r)},onPaste:(...r)=>{var i,o;return(o=(i=this.options.current).onPaste)===null||o===void 0?void 0:o.call(i,...r)}};return new Ux(t)}getEditor(){return this.editor}getServerSnapshot(){return null}subscribe(t){return this.subscriptions.add(t),()=>{this.subscriptions.delete(t)}}onRender(t){return()=>(this.isComponentMounted=!0,clearTimeout(this.scheduledDestructionTimeout),this.editor&&!this.editor.isDestroyed&&t.length===0?this.editor.setOptions({...this.options.curreLine truncated
* @license
* Lodash <https://lodash.com/>
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
* Released under MIT license <https://lodash.com/license>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
*/af.exports;(function(e,t){(function(){var n,r="4.17.21",i=200,o="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",a="Invalid `variable` option passed into `_.template`",l="__lodash_hash_undefined__",u=500,p="__lodash_placeholder__",_=1,f=2,g=4,h=1,E=2,b=1,T=2,y=4,C=8,O=16,A=32,w=64,L=128,U=256,$=512,B=30,ae="...",be=800,pe=16,de=1,ee=2,ne=3,x=1/0,D=9007199254740991,H=17976931348623157e292,V=NaN,q=4294967295,te=q-1,ue=q>>>1,Be=[["ary",L],["bind",b],["bindKey",T],["curry",C],["curryRight",O],["flip",$],["partial",A],["partialRight",w],["rearg",U]],Ee="[object Arguments]",Oe="[object Array]",vt="[object AsyncFunction]",Tt="[object Boolean]",Ae="[object Date]",Gn="[object DOMException]",Te="[object Error]",Yn="[object Function]",oi="[object GeneratorFunction]",dt="[object Map]",Nn="[object Number]",nt="[object Null]",Ve="[object Object]",dn="[object Promise]",re="[object Proxy]",Er="[object RegExp]",Ie="[object Set]",Se="[object String]",vn="[object Symbol]",zt="[object Undefined]",Hn="[object WeakMap]",si="[object WeakSet]",z="[object ArrayBuffer]",Q="[object DataView]",se="[object Float32Array]",me="[object Float64Array]",Ge="[object Int8Array]",ht="[object Int16Array]",io="[object Int32Array]",oo="[object Uint8Array]",ld="[object Uint8ClampedArray]",cd="[object Uint16Array]",ud="[object Uint32Array]",ly=/\b__p \+= '';/g,cy=/\b(__p \+=) '' \+/g,uy=/(__e\(.*?\)|\b__t\)) \+\n'';/g,vm=/&(?:amp|lt|gt|quot|#39);/g,Om=/[&<>"']/g,dy=RegExp(vm.source),py=RegExp(Om.source),_y=/<%-([\s\S]+?)%>/g,fy=/<%([\s\S]+?)%>/g,Am=/<%=([\s\S]+?)%>/g,my=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,gy=/^\w*$/,hy=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,dd=/[\\^$.*+?()[\]{}|]/g,Ey=RegExp(dd.source),pd=/^\s+/,Sy=/\s/,Ty=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,by=/\{\n\/\* \[wrapped with (.+)\] \*/,yy=/,? & /,Cy=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Ry=/[()=,{}\[\]\/\s]/,Ny=/\\(\\)?/g,vy=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Im=/\w*$/,Oy=/^[-+]0x[0-9a-f]+$/i,Ay=/^0b[01]+$/i,Iy=/^\[object .+?Constructor\]$/,wy=/^0o[0-7]+$/i,Dy=/^(?:0|[1-9]\d*)$/,xy=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ul=/($^)/,My=/['\n\r\u2028\u2029\\]/g,Bl="\\ud800-\\udfff",Ly="\\u0300-\\u036f",ky="\\ufe20-\\ufe2f",Py="\\u20d0-\\u20ff",wm=Ly+ky+Py,Dm="\\u2700-\\u27bf",xm="a-z\\xdf-\\xf6\\xf8-\\xff",Fy="\\xac\\xb1\\xd7\\xf7",Uy="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",By="\\u2000-\\u206f",Gy=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Mm="A-Z\\xc0-\\xd6\\xd8-\\xde",Lm="\\ufe0e\\ufe0f",km=Fy+Uy+By+Gy,_d="['’]",Yy="["+Bl+"]",Pm="["+km+"]",Gl="["+wm+"]",Fm="\\d+",Hy="["+Dm+"]",Um="["+xm+"]",Bm="[^"+Bl+km+Fm+Dm+xm+Mm+"]",Yl="\\ud83c[\\udffb-\\udfff]",Gm="(?:"+Gl+"|"+Yl+")",fd="[^"+Bl+"]",Hl="(?:\\ud83c[\\udde6-\\uddff]){2}",$l="[\\ud800-\\udbff][\\udc00-\\udfff]",so="["+Mm+"]",md="\\u200d",zl="(?:"+Um+"|"+Bm+")",gd="(?:"+so+"|"+Bm+")",Vl="(?:"+_d+"(?:d|ll|m|re|s|t|ve))?",hd="(?:"+_d+"(?:D|LL|M|RE|S|T|VE))?",Ed=Gm+"?",Wl="["+Lm+"]?",da="(?:"+md+"(?:"+[fd,Hl,$l].join("|")+")"+Wl+Ed+")*",ql="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Sd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Kl=Wl+Ed+da,Td="(?:"+[Hy,Hl,$l].join("|")+")"+Kl,$y="(?:"+[fd+Gl+"?",Gl,Hl,$l,Yy].join("|")+")",zy=RegExp(_d,"g"),tk=RegExp(Gl,"g"),Ym=RegExp(Yl+"(?="+Yl+")|"+$y+Kl,"g"),nk=RegExp([so+"?"+Um+"+"+Vl+"(?="+[Pm,so,"$"].join("|")+")",gd+"+"+hd+"(?="+[Pm,so+zl,"$"].join("|")+")",so+"?"+zl+"+"+Vl,so+"+"+hd,Sd,ql,Fm,Td].join("|"),"g"),rk=RegExp("["+md+Bl+wm+Lm+"]"),ik=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ok=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],sk=-1,pt={};pt[se]=pt[me]=pt[Ge]=pt[ht]=pt[io]=pt[oo]=pt[ld]=pt[cd]=pt[ud]=!0,pt[Ee]=pt[Oe]=pt[z]=pt[Tt]=pt[Q]=pt[Ae]=pt[Te]=pt[Yn]=pt[dt]=pt[Nn]=pt[Ve]=pt[Er]=pt[Ie]=pt[Se]=pt[Hn]=!1;var st={};st[Ee]=st[Oe]=st[z]=st[Q]=st[Tt]=st[Ae]=st[se]=st[me]=st[Ge]=st[ht]=st[io]=st[dt]=st[Nn]=st[Ve]=st[Er]=st[Ie]=st[Se]=st[vn]=st[oo]=st[ld]=st[cd]=st[ud]=!0,st[Te]=st[Yn]=st[Hn]=!1;var ak={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",Line truncated
/* [wrapped with `+d+`] */
`)}function C0(c){return xe(c)||bs(c)||!!(_C&&c&&c[_C])}function wi(c,d){var m=typeof c;return d=d??D,!!d&&(m=="number"||m!="symbol"&&Dy.test(c))&&c>-1&&c%1==0&&c<d}function An(c,d,m){if(!bt(m))return!1;var S=typeof d;return(S=="number"?zn(m)&&wi(d,m.length):S=="string"&&d in m)?Hr(m[d],c):!1}function Ag(c,d){if(xe(c))return!1;var m=typeof c;return m=="number"||m=="symbol"||m=="boolean"||c==null||sr(c)?!0:gy.test(c)||!my.test(c)||d!=null&&c in rt(d)}function R0(c){var d=typeof c;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?c!=="__proto__":c===null}function Ig(c){var d=Qd(c),m=v[d];if(typeof m!="function"||!(d in $e.prototype))return!1;if(c===m)return!0;var S=Ng(m);return!!S&&c===S[0]}function N0(c){return!!cC&&cC in c}var v0=Nd?Di:Wg;function ac(c){var d=c&&c.constructor,m=typeof d=="function"&&d.prototype||ga;return c===m}function cR(c){return c===c&&!bt(c)}function uR(c,d){return function(m){return m==null?!1:m[c]===d&&(d!==n||c in rt(m))}}function O0(c){var d=tp(c,function(S){return m.size===u&&m.clear(),S}),m=d.cache;return d}function A0(c,d){var m=c[1],S=d[1],R=m|S,I=R<(b|T|L),M=S==L&&m==C||S==L&&m==U&&c[7].length<=d[8]||S==(L|U)&&d[7].length<=d[8]&&m==C;if(!(I||M))return c;S&b&&(c[2]=d[2],R|=m&b?0:y);var P=d[3];if(P){var Y=c[3];c[3]=Y?WC(Y,P,d[4]):P,c[4]=Y?co(c[3],p):d[4]}return P=d[5],P&&(Y=c[5],c[5]=Y?qC(Y,P,d[6]):P,c[6]=Y?co(c[5],p):d[6]),P=d[7],P&&(c[7]=P),S&L&&(c[8]=c[8]==null?d[8]:pn(c[8],d[8])),c[9]==null&&(c[9]=d[9]),c[0]=d[0],c[1]=R,c}function I0(c){var d=[];if(c!=null)for(var m in rt(c))d.push(m);return d}function w0(c){return Od.call(c)}function dR(c,d,m){return d=Yt(d===n?c.length-1:d,0),function(){for(var S=arguments,R=-1,I=Yt(S.length-d,0),M=W(I);++R<I;)M[R]=S[d+R];R=-1;for(var P=W(d+1);++R<d;)P[R]=S[R];return P[d]=m(M),rr(c,this,P)}}function pR(c,d){return d.length<2?c:Es(c,Rr(d,0,-1))}function D0(c,d){for(var m=c.length,S=pn(d.length,m),R=$n(c);S--;){var I=d[S];c[S]=wi(I,m)?R[I]:n}return c}function wg(c,d){if(!(d==="constructor"&&typeof c[d]=="function")&&d!="__proto__")return c[d]}var _R=mR(PC),lc=Wk||function(c,d){return tn.setTimeout(c,d)},Dg=mR(e0);function fR(c,d,m){var S=d+"";return Dg(c,y0(S,x0(S0(S),m)))}function mR(c){var d=0,m=0;return function(){var S=jk(),R=pe-(S-m);if(m=S,R>0){if(++d>=be)return arguments[0]}else d=0;return c.apply(n,arguments)}}function Xd(c,d){var m=-1,S=c.length,R=S-1;for(d=d===n?S:d;++m<d;){var I=_g(m,R),M=c[I];c[I]=c[m],c[m]=M}return c.length=d,c}var gR=O0(function(c){var d=[];return c.charCodeAt(0)===46&&d.push(""),c.replace(hy,function(m,S,R,I){d.push(R?I.replace(Ny,"$1"):S||m)}),d});function ci(c){if(typeof c=="string"||sr(c))return c;var d=c+"";return d=="0"&&1/c==-x?"-0":d}function Ts(c){if(c!=null){try{return vd.call(c)}catch{}try{return c+""}catch{}}return""}function x0(c,d){return Tr(Be,function(m){var S="_."+m[0];d&m[1]&&!bd(c,S)&&c.push(S)}),c.sort()}function hR(c){if(c instanceof $e)return c.clone();var d=new yr(c.__wrapped__,c.__chain__);return d.__actions__=$n(c.__actions__),d.__index__=c.__index__,d.__values__=c.__values__,d}function M0(c,d,m){(m?An(c,d,m):d===n)?d=1:d=Yt(Me(d),0);var S=c==null?0:c.length;if(!S||d<1)return[];for(var R=0,I=0,M=W(Md(S/d));R<S;)M[I++]=Rr(c,R,R+=d);return M}function L0(c){for(var d=-1,m=c==null?0:c.length,S=0,R=[];++d<m;){var I=c[d];I&&(R[S++]=I)}return R}function k0(){var c=arguments.length;if(!c)return[];for(var d=W(c-1),m=arguments[0],S=c;S--;)d[S-1]=arguments[S];return lo(xe(m)?$n(m):[m],nn(d,1))}var P0=Fe(function(c,d){return xt(c)?nc(c,nn(d,1,xt,!0)):[]}),F0=Fe(function(c,d){var m=Nr(d);return xt(m)&&(m=n),xt(c)?nc(c,nn(d,1,xt,!0),Re(m,2)):[]}),U0=Fe(function(c,d){var m=Nr(d);return xt(m)&&(m=n),xt(c)?nc(c,nn(d,1,xt,!0),n,m):[]});function B0(c,d,m){var S=c==null?0:c.length;return S?(d=m||d===n?1:Me(d),Rr(c,d<0?0:d,S)):[]}function G0(c,d,m){var S=c==null?0:c.length;return S?(d=m||d===n?1:Me(d),d=S-d,Rr(c,0,d<0?0:d)):[]}function Y0(c,d){return c&&c.length?$d(c,Re(d,3),!0,!0):[]}function H0(c,d){return c&&c.length?$d(c,Re(d,3),!0):[]}function $0(c,d,m,S){var R=c==null?0:c.length;return R?(m&&typeof m!="number"&&An(c,d,m)&&(m=0,S=R),kP(c,d,m,S)):[]}function ER(c,d,m){var S=c==null?0:c.length;if(!S)return-1;var R=m==null?0:Me(m);return R<0&&(R=Yt(S+R,0)),yd(c,Re(d,3),R)}function SR(c,d,m){var S=c==null?0:c.length;if(!S)return-1;var R=S-1;return m!==n&&(R=Me(m),R=m<0?Yt(S+R,0):pn(R,S-1)),yd(c,Re(d,3),R,!0)}function TR(c){var d=c==null?0:c.length;return d?nn(c,1):[]}function z0(c){var d=c==null?0:c.length;return d?nn(c,x):[]}function V0(c,d){var m=c==null?0:c.length;return m?(d=d===n?1:Me(d),nn(c,d)):[]}function W0(c){for(var d=-1,m=c==null?0:c.length,S={};++d<m;){var R=c[d];S[R[0]]=R[1]}return S}function bR(c){return c&&c.length?c[0]:n}function q0(c,d,m){var S=c==null?0:c.length;if(!S)return-1;var R=m==null?0:Me(m);return R<0&&(R=Yt(S+R,0)),pa(c,d,R)}function K0(c){var d=c==null?0:c.length;return d?Rr(c,0,-1):[]}var Q0=Fe(function(c){var d=Et(c,Eg);return d.length&&d[0]===c[0]?lg(d):[]}),j0=Fe( Line truncated
`;c.replace(ce,function(ve,Ye,ze,ar,In,lr){return ze||(ze=ar),J+=c.slice(j,lr).replace(My,vk),Ye&&(P=!0,J+=`' +
__e(`+Ye+`) +
'`),In&&(Y=!0,J+=`';
`+In+`;
__p += '`),ze&&(J+=`' +
((__t = (`+ze+`)) == null ? '' : __t) +
'`),j=lr+ve.length,ve}),J+=`';
`;var Ne=Je.call(d,"variable")&&d.variable;if(!Ne)J=`with (obj) {
`+J+`
}
`;else if(Ry.test(Ne))throw new De(a);J=(Y?J.replace(ly,""):J).replace(cy,"$1").replace(uy,"$1;"),J="function("+(Ne||"obj")+`) {
`+(Ne?"":`obj || (obj = {});
`)+"var __t, __p = ''"+(P?", __e = _.escape":"")+(Y?`, __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
`:`;
`)+J+`return __p
}`;var ke=QR(function(){return je(I,he+"return "+J).apply(n,M)});if(ke.source=J,Pg(ke))throw ke;return ke}function ZU(c){return Ze(c).toLowerCase()}function JU(c){return Ze(c).toUpperCase()}function eB(c,d,m){if(c=Ze(c),c&&(m||d===n))return iC(c);if(!c||!(d=or(d)))return c;var S=Gr(c),R=Gr(d),I=oC(S,R),M=sC(S,R)+1;return mo(S,I,M).join("")}function tB(c,d,m){if(c=Ze(c),c&&(m||d===n))return c.slice(0,lC(c)+1);if(!c||!(d=or(d)))return c;var S=Gr(c),R=sC(S,Gr(d))+1;return mo(S,0,R).join("")}function nB(c,d,m){if(c=Ze(c),c&&(m||d===n))return c.replace(pd,"");if(!c||!(d=or(d)))return c;var S=Gr(c),R=oC(S,Gr(d));return mo(S,R).join("")}function rB(c,d){var m=B,S=ae;if(bt(d)){var R="separator"in d?d.separator:R;m="length"in d?Me(d.length):m,S="omission"in d?or(d.omission):S}c=Ze(c);var I=c.length;if(_a(c)){var M=Gr(c);I=M.length}if(m>=I)return c;var P=m-fa(S);if(P<1)return S;var Y=M?mo(M,0,P).join(""):c.slice(0,P);if(R===n)return Y+S;if(M&&(P+=Y.length-P),Fg(R)){if(c.slice(P).search(R)){var j,X=Y;for(R.global||(R=Jm(R.source,Ze(Im.exec(R))+"g")),R.lastIndex=0;j=R.exec(X);)var J=j.index;Y=Y.slice(0,J===n?P:J)}}else if(c.indexOf(or(R),P)!=P){var ce=Y.lastIndexOf(R);ce>-1&&(Y=Y.slice(0,ce))}return Y+S}function iB(c){return c=Ze(c),c&&dy.test(c)?c.replace(vm,Mk):c}var oB=ba(function(c,d,m){return c+(m?" ":"")+d.toUpperCase()}),Gg=jC("toUpperCase");function KR(c,d,m){return c=Ze(c),d=m?n:d,d===n?Ak(c)?Pk(c):Sk(c):c.match(d)||[]}var QR=Fe(function(c,d){try{return rr(c,n,d)}catch(m){return Pg(m)?m:new De(m)}}),sB=Ii(function(c,d){return Tr(d,function(m){m=ci(m),Oi(c,m,Lg(c[m],c))}),c});function aB(c){var d=c==null?0:c.length,m=Re();return c=d?Et(c,function(S){if(typeof S[1]!="function")throw new br(s);return[m(S[0]),S[1]]}):[],Fe(function(S){for(var R=-1;++R<d;){var I=c[R];if(rr(I[0],this,S))return rr(I[1],this,S)}})}function lB(c){return MP(Cr(c,_))}function Yg(c){return function(){return c}}function cB(c,d){return c==null||c!==c?d:c}var uB=ZC(),dB=ZC(!0);function Wn(c){return c}function Hg(c){return AC(typeof c=="function"?c:Cr(c,_))}function pB(c){return wC(Cr(c,_))}function _B(c,d){return DC(c,Cr(d,_))}var fB=Fe(function(c,d){return function(m){return rc(m,c,d)}}),mB=Fe(function(c,d){return function(m){return rc(c,m,d)}});function $g(c,d,m){var S=Vt(d),R=Gd(d,S);m==null&&!(bt(d)&&(R.length||!S.length))&&(m=d,d=c,c=this,R=Gd(d,Vt(d)));var I=!(bt(m)&&"chain"in m)||!!m.chain,M=Di(c);return Tr(R,function(P){var Y=d[P];c[P]=Y,M&&(c.prototype[P]=function(){var j=this.__chain__;if(I||j){var X=c(this.__wrapped__),J=X.__actions__=$n(this.__actions__);return J.push({func:Y,args:arguments,thisArg:c}),X.__chain__=j,X}return Y.apply(c,lo([this.value()],arguments))})}),c}function gB(){return tn._===this&&(tn._=Hk),this}function zg(){}function hB(c){return c=Me(c),Fe(function(d){return xC(d,c)})}var EB=bg(Et),SB=bg(Jy),TB=bg(Wm);function jR(c){return Ag(c)?qm(ci(c)):jP(c)}function bB(c){return function(d){return c==null?n:Es(c,d)}}var yB=eR(),CB=eR(!0);function Vg(){return[]}function Wg(){return!1}function RB(){return{}}function NB(){return""}function vB(){return!0}function OB(c,d){if(c=Me(c),c<1||c>D)return[];var m=q,S=pn(c,q);d=Re(d),c-=q;for(var R=jm(S,d);++m<c;)d(m);return R}function AB(c){return xe(c)?Et(c,ci):sr(c)?[c]:$n(gR(Ze(c)))}function IB(c){var d=++Gk;return Ze(c)+d}var wB=Wd(function(c,d){return c+d},0),DB=yg("ceil"),xB=Wd(function(c,d){return c/d},1),MB=yg("floor");function LB(c){return c&&c.length?Bd(c,Wn,ag):n}function kB(c,d){return c&&c.length?Bd(c,Re(d,2),ag):n}function PB(c){return nC(c,Wn)}function FB(c,d){return nC(c,Re(d,2))}function UB(c){return c&&c.length?Bd(c,Wn,dg):n}function BB(c,d){return c&&c.length?Bd(c,Re(d,2),dg):n}var GB=Wd(function(c,d){return c*d},1),YB=yg("round"),HB=Wd(function(c,d){return c-d},0);function $B(c){return c&&c.length?Qm(c,Wn):0}function zB(c,d){return c&&c.length?Qm(c,Re(d,2)):0}return v.after=pF,v.ary=OR,v.assign=JF,v.assignIn=YR,v.assignInWith=op,v.assignWith=eU,v.at=tU,v.before=AR,v.bind=Lg,v.bindAll=sB,v.bindKey=IR,v.castArray=RF,v.chain=RR,v.chunk=M0,v.compact=L0,v.concat=k0,v.cond=aB,v.conforms=lB,v.constant=Yg,v.countBy=$1,v.create=nU,v.curry=wR,v.curryRight=DR,v.debounce=xR,v.defaults=rU,v.defaultsDeep=iU,v.defer=_F,v.delay=fF,v.difference=P0,v.differenceBy=F0,v.differenceWith=U0,v.drop=B0,v.dropRight=G0,v.dropRightWhile=Y0,v.dropWhile=H0,v.fill=$0,v.filter=V1,v.flatMap=K1,v.flatMapDeep=Q1,v.flatMapDepth=j1,v.flatten=TR,v.flattenDeep=z0,v.flattenDepth=V0,v.flip=mF,v.flow=uB,v.flowRight=dB,v.fromPairs=W0,v.functions=dU,v.functionsIn=pU,v.groupBy=X1,v.initial=K0,v.intersection=Q0,v.intersectionBy=j0,v.intersectionWith=X0,v.invert=fU,v.invertBy=mU,v.invokeMap=J1,v.iteratee=Hg,v.keyBy=eF,v.keys=Vt,v.keysIn=Vn,v.map=Jd,v.mapKeys=hU,v.mapValues=EU,v.matches=pB,v.matchesProperty=_B,v.memoize=tp,v.merge=SU,v.mergeWith=HR,v.method=fB,v.methodOf=mB,v.mixin=$g,v.negate=np,v.nthArg=hB,v.omit=TU,v.omitBy=bU,v.once=gF,v.orderBy=tF,v.over=EB,v.overArgs=hF,v.overEvery=SB,v.overSome=TB, Line truncated
`);return!o||!s?!1:e.chain().command(({tr:a})=>(a.delete(r.pos-2,r.pos),!0)).exitCode().run()},ArrowDown:({editor:e})=>{if(!this.options.exitOnArrowDown)return!1;const{state:t}=e,{selection:n,doc:r}=t,{$from:i,empty:o}=n;if(!o||i.parent.type!==this.type||!(i.parentOffset===i.parent.nodeSize-2))return!1;const a=i.after();return a===void 0?!1:r.nodeAt(a)?e.commands.command(({tr:u})=>(u.setSelection(we.near(r.resolve(a))),!0)):e.commands.exitCode()}}},addInputRules(){return[kS({find:ZW,type:this.type,getAttributes:e=>({language:e[1]})}),kS({find:JW,type:this.type,getAttributes:e=>({language:e[1]})})]},addProseMirrorPlugins(){return[new Xe({key:new Qe("codeBlockVSCodeHandler"),props:{handlePaste:(e,t)=>{if(!t.clipboardData||this.editor.isActive(this.type.name))return!1;const n=t.clipboardData.getData("text/plain"),r=t.clipboardData.getData("vscode-editor-data"),i=r?JSON.parse(r):void 0,o=i==null?void 0:i.mode;if(!n||!o)return!1;const{tr:s,schema:a}=e.state,l=a.text(n.replace(/\r\n?/g,`
`));return s.replaceSelectionWith(this.type.create({language:o},l)),s.selection.$from.parent.type!==this.type&&s.setSelection(ye.near(s.doc.resolve(Math.max(0,s.selection.from-2)))),s.setMeta("paste",!0),e.dispatch(s),!0}}})]}});function tq(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Xx(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const n=e[t],r=typeof n;(r==="object"||r==="function")&&!Object.isFrozen(n)&&Xx(n)}),e}let CO=class{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}};function Zx(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Fo(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r];return t.forEach(function(r){for(const i in r)n[i]=r[i]}),n}const nq="</span>",RO=e=>!!e.scope,rq=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const n=e.split(".");return[`${t}${n.shift()}`,...n.map((r,i)=>`${r}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};let iq=class{constructor(t,n){this.buffer="",this.classPrefix=n.classPrefix,t.walk(this)}addText(t){this.buffer+=Zx(t)}openNode(t){if(!RO(t))return;const n=rq(t.scope,{prefix:this.classPrefix});this.span(n)}closeNode(t){RO(t)&&(this.buffer+=nq)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}};const NO=(e={})=>{const t={children:[]};return Object.assign(t,e),t};let oq=class Jx{constructor(){this.rootNode=NO(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const n=NO({scope:t});this.add(n),this.stack.push(n)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,n){return typeof n=="string"?t.addText(n):n.children&&(t.openNode(n),n.children.forEach(r=>this._walk(t,r)),t.closeNode(n)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(n=>typeof n=="string")?t.children=[t.children.join("")]:t.children.forEach(n=>{Jx._collapse(n)}))}},sq=class extends oq{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,n){const r=t.root;n&&(r.scope=`language:${n}`),this.add(r)}toHTML(){return new iq(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}};function Du(e){return e?typeof e=="string"?e:e.source:null}function eM(e){return la("(?=",e,")")}function aq(e){return la("(?:",e,")*")}function lq(e){return la("(?:",e,")?")}function la(...e){return e.map(n=>Du(n)).join("")}function cq(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function xb(...e){return"("+(cq(e).capture?"":"?:")+e.map(r=>Du(r)).join("|")+")"}function tM(e){return new RegExp(e.toString()+"|").exec("").length-1}function uq(e,t){const n=e&&e.exec(t);return n&&n.index===0}const dq=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function Mb(e,{joinWith:t}){let n=0;return e.map(r=>{n+=1;const i=n;let o=Du(r),s="";for(;o.length>0;){const a=dq.exec(o);if(!a){s+=o;break}s+=o.substring(0,a.index),o=o.substring(a.index+a[0].length),a[0][0]==="\\"&&a[1]?s+="\\"+String(Number(a[1])+i):(s+=a[0],a[0]==="("&&n++)}return s}).map(r=>`(${r})`).join(t)}const pq=/\b\B/,nM="[a-zA-Z]\\w*",Lb="[a-zA-Z_]\\w*",rM="\\b\\d+(\\.\\d+)?",iM="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",oM="\\b(0b[01]+)",_q="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",fq=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=la(t,/.*\b/,e.binary,/\b.*/)),Fo({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(n,r)=>{n.index!==0&&r.ignoreMatch()}},e)},xu={begin:"\\\\[\\s\\S]",relevance:0},mq={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[xu]},gq={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[xu]},hq={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},Tm=function(e,t,n={}){const r=Fo({scope:"comment",begin:e,end:t,contains:[]},n);r.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=xb("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return r.contains.push({begin:la(/[ ] Line truncated
https://github.com/highlightjs/highlight.js/issues/2277`),q=x,V=D),H===void 0&&(H=!0);const te={code:V,language:q};ee("before:highlight",te);const ue=te.result?te.result:_(te.language,te.code,H);return ue.code=te.code,ee("after:highlight",ue),ue}function _(x,D,H,V){const q=Object.create(null);function te(z,Q){return z.keywords[Q]}function ue(){if(!re.keywords){Ie.addText(Se);return}let z=0;re.keywordPatternRe.lastIndex=0;let Q=re.keywordPatternRe.exec(Se),se="";for(;Q;){se+=Se.substring(z,Q.index);const me=nt.case_insensitive?Q[0].toLowerCase():Q[0],Ge=te(re,me);if(Ge){const[ht,io]=Ge;if(Ie.addText(se),se="",q[me]=(q[me]||0)+1,q[me]<=Kq&&(vn+=io),ht.startsWith("_"))se+=Q[0];else{const oo=nt.classNameAliases[ht]||ht;Oe(Q[0],oo)}}else se+=Q[0];z=re.keywordPatternRe.lastIndex,Q=re.keywordPatternRe.exec(Se)}se+=Se.substring(z),Ie.addText(se)}function Be(){if(Se==="")return;let z=null;if(typeof re.subLanguage=="string"){if(!t[re.subLanguage]){Ie.addText(Se);return}z=_(re.subLanguage,Se,!0,Er[re.subLanguage]),Er[re.subLanguage]=z._top}else z=g(Se,re.subLanguage.length?re.subLanguage:null);re.relevance>0&&(vn+=z.relevance),Ie.__addSublanguage(z._emitter,z.language)}function Ee(){re.subLanguage!=null?Be():ue(),Se=""}function Oe(z,Q){z!==""&&(Ie.startScope(Q),Ie.addText(z),Ie.endScope())}function vt(z,Q){let se=1;const me=Q.length-1;for(;se<=me;){if(!z._emit[se]){se++;continue}const Ge=nt.classNameAliases[z[se]]||z[se],ht=Q[se];Ge?Oe(ht,Ge):(Se=ht,ue(),Se=""),se++}}function Tt(z,Q){return z.scope&&typeof z.scope=="string"&&Ie.openNode(nt.classNameAliases[z.scope]||z.scope),z.beginScope&&(z.beginScope._wrap?(Oe(Se,nt.classNameAliases[z.beginScope._wrap]||z.beginScope._wrap),Se=""):z.beginScope._multi&&(vt(z.beginScope,Q),Se="")),re=Object.create(z,{parent:{value:re}}),re}function Ae(z,Q,se){let me=uq(z.endRe,se);if(me){if(z["on:end"]){const Ge=new CO(z);z["on:end"](Q,Ge),Ge.isMatchIgnored&&(me=!1)}if(me){for(;z.endsParent&&z.parent;)z=z.parent;return z}}if(z.endsWithParent)return Ae(z.parent,Q,se)}function Gn(z){return re.matcher.regexIndex===0?(Se+=z[0],1):(si=!0,0)}function Te(z){const Q=z[0],se=z.rule,me=new CO(se),Ge=[se.__beforeBegin,se["on:begin"]];for(const ht of Ge)if(ht&&(ht(z,me),me.isMatchIgnored))return Gn(Q);return se.skip?Se+=Q:(se.excludeBegin&&(Se+=Q),Ee(),!se.returnBegin&&!se.excludeBegin&&(Se=Q)),Tt(se,z),se.returnBegin?0:Q.length}function Yn(z){const Q=z[0],se=D.substring(z.index),me=Ae(re,z,se);if(!me)return IO;const Ge=re;re.endScope&&re.endScope._wrap?(Ee(),Oe(Q,re.endScope._wrap)):re.endScope&&re.endScope._multi?(Ee(),vt(re.endScope,z)):Ge.skip?Se+=Q:(Ge.returnEnd||Ge.excludeEnd||(Se+=Q),Ee(),Ge.excludeEnd&&(Se=Q));do re.scope&&Ie.closeNode(),!re.skip&&!re.subLanguage&&(vn+=re.relevance),re=re.parent;while(re!==me.parent);return me.starts&&Tt(me.starts,z),Ge.returnEnd?0:Q.length}function oi(){const z=[];for(let Q=re;Q!==nt;Q=Q.parent)Q.scope&&z.unshift(Q.scope);z.forEach(Q=>Ie.openNode(Q))}let dt={};function Nn(z,Q){const se=Q&&Q[0];if(Se+=z,se==null)return Ee(),0;if(dt.type==="begin"&&Q.type==="end"&&dt.index===Q.index&&se===""){if(Se+=D.slice(Q.index,Q.index+1),!i){const me=new Error(`0 width match regex (${x})`);throw me.languageName=x,me.badRule=dt.rule,me}return 1}if(dt=Q,Q.type==="begin")return Te(Q);if(Q.type==="illegal"&&!H){const me=new Error('Illegal lexeme "'+se+'" for mode "'+(re.scope||"<unnamed>")+'"');throw me.mode=re,me}else if(Q.type==="end"){const me=Yn(Q);if(me!==IO)return me}if(Q.type==="illegal"&&se==="")return 1;if(Hn>1e5&&Hn>Q.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Se+=se,se.length}const nt=$(x);if(!nt)throw Vs(o.replace("{}",x)),new Error('Unknown language: "'+x+'"');const Ve=zq(nt);let dn="",re=V||Ve;const Er={},Ie=new a.__emitter(a);oi();let Se="",vn=0,zt=0,Hn=0,si=!1;try{if(nt.__emitTokens)nt.__emitTokens(D,Ie);else{for(re.matcher.considerAll();;){Hn++,si?si=!1:re.matcher.considerAll(),re.matcher.lastIndex=zt;const z=re.matcher.exec(D);if(!z)break;const Q=D.substring(zt,z.index),se=Nn(Q,z);zt=z.index+se}Nn(D.substring(zt))}return Ie.finalize(),dn=Ie.toHTML(),{language:x,value:dn,relevance:vn,illegal:!1,_emitter:Ie,_top:re}}catch(z){if(z.message&&z.message.includes("Illegal"))return{language:x,value:Hh(D),illegal:!0,relevance:0,_illegalBy:{message:z.message,index:zt,context:D.slice(zt-100,zt+100),mode:z.mode,resultSoFar:dn},_emitter:Ie};if(i)return{language:x,value:Hh(D),illegal:!1,relevance:0,errorRaised:z,_emitter:Ie,_top:re};throw z}}function f(x){const D={value:Hh(x),illegal:!1,relevance:0,_top:s,_emitter:new a.__emitter(a)};return D._emitter.addText(x),D}function g(x,D){D=D||a.languages||Object.keys(t);const H=f(x),V=D.filter($).filter(ae).map(Ee=>_(Ee,x,!1));V.unshift(H);const q=V.sort((Ee,Oe)=>{if(Ee.relevance!==Oe.relevance)return Oe.relevance-Ee.relevance;if(Ee.language&&Oe.language){if($(Ee.language).supersetOf===Oe.language)return 1;if($(Oe.language).supersetOf===Ee.language)return-1}return 0}),[te,ue]=q, Line truncated
]*;`,relevance:0},{begin:"[vp][0-9]+"}]}}function FQ(e){const t="[a-z][a-zA-Z0-9_]*",n={className:"string",begin:"\\$.{1}"},r={className:"symbol",begin:"#"+e.UNDERSCORE_IDENT_RE};return{name:"Smalltalk",aliases:["st"],keywords:["self","super","nil","true","false","thisContext"],contains:[e.COMMENT('"','"'),e.APOS_STRING_MODE,{className:"type",begin:"\\b[A-Z][A-Za-z0-9_]*",relevance:0},{begin:t+":",relevance:0},e.C_NUMBER_MODE,r,n,{begin:"\\|[ ]*"+t+"([ ]+"+t+")*[ ]*\\|",returnBegin:!0,end:/\|/,illegal:/\S/,contains:[{begin:"(\\|[ ]*)?"+t}]},{begin:"#\\(",end:"\\)",contains:[e.APOS_STRING_MODE,n,e.C_NUMBER_MODE,r]}]}}function UQ(e){return{name:"SML (Standard ML)",aliases:["ml"],keywords:{$pattern:"[a-z_]\\w*!?",keyword:"abstype and andalso as case datatype do else end eqtype exception fn fun functor handle if in include infix infixr let local nonfix of op open orelse raise rec sharing sig signature struct structure then type val with withtype where while",built_in:"array bool char exn int list option order real ref string substring vector unit word",literal:"true false NONE SOME LESS EQUAL GREATER nil"},illegal:/\/\/|>>/,contains:[{className:"literal",begin:/\[(\|\|)?\]|\(\)/,relevance:0},e.COMMENT("\\(\\*","\\*\\)",{contains:["self"]}),{className:"symbol",begin:"'[A-Za-z_](?!')[\\w']*"},{className:"type",begin:"`[A-Z][\\w']*"},{className:"type",begin:"\\b[A-Z][\\w']*",relevance:0},{begin:"[a-z_]\\w*'[\\w']*"},e.inherit(e.APOS_STRING_MODE,{className:"string",relevance:0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"number",begin:"\\b(0[xX][a-fA-F0-9_]+[Lln]?|0[oO][0-7_]+[Lln]?|0[bB][01_]+[Lln]?|[0-9][0-9_]*([Lln]|(\\.[0-9_]*)?([eE][-+]?[0-9_]+)?)?)",relevance:0},{begin:/[-=]>/}]}}function BQ(e){const t={className:"variable",begin:/\b_+[a-zA-Z]\w*/},n={className:"title",begin:/[a-zA-Z][a-zA-Z_0-9]*_fnc_[a-zA-Z_0-9]+/},r={className:"string",variants:[{begin:'"',end:'"',contains:[{begin:'""',relevance:0}]},{begin:"'",end:"'",contains:[{begin:"''",relevance:0}]}]},i=["break","breakWith","breakOut","breakTo","case","catch","continue","continueWith","default","do","else","exit","exitWith","for","forEach","from","if","local","private","switch","step","then","throw","to","try","waitUntil","while","with"],o=["blufor","civilian","configNull","controlNull","displayNull","diaryRecordNull","east","endl","false","grpNull","independent","lineBreak","locationNull","nil","objNull","opfor","pi","resistance","scriptNull","sideAmbientLife","sideEmpty","sideEnemy","sideFriendly","sideLogic","sideUnknown","taskNull","teamMemberNull","true","west"],s=["abs","accTime","acos","action","actionIDs","actionKeys","actionKeysEx","actionKeysImages","actionKeysNames","actionKeysNamesArray","actionName","actionParams","activateAddons","activatedAddons","activateKey","activeTitleEffectParams","add3DENConnection","add3DENEventHandler","add3DENLayer","addAction","addBackpack","addBackpackCargo","addBackpackCargoGlobal","addBackpackGlobal","addBinocularItem","addCamShake","addCuratorAddons","addCuratorCameraArea","addCuratorEditableObjects","addCuratorEditingArea","addCuratorPoints","addEditorObject","addEventHandler","addForce","addForceGeneratorRTD","addGoggles","addGroupIcon","addHandgunItem","addHeadgear","addItem","addItemCargo","addItemCargoGlobal","addItemPool","addItemToBackpack","addItemToUniform","addItemToVest","addLiveStats","addMagazine","addMagazineAmmoCargo","addMagazineCargo","addMagazineCargoGlobal","addMagazineGlobal","addMagazinePool","addMagazines","addMagazineTurret","addMenu","addMenuItem","addMissionEventHandler","addMPEventHandler","addMusicEventHandler","addonFiles","addOwnedMine","addPlayerScores","addPrimaryWeaponItem","addPublicVariableEventHandler","addRating","addResources","addScore","addScoreSide","addSecondaryWeaponItem","addSwitchableUnit","addTeamMember","addToRemainsCollector","addTorque","addUniform","addUserActionEventHandler","addVehicle","addVest","addWaypoint","addWeapon","addWeaponCargo","addWeaponCargoGlobal","addWeaponGlobal","addWeaponItem","addWeaponPool","addWeaponTurret","addWeaponWithAttachmentsCargo","addWeaponWithAttachmentsCargoGlobal","admin","agent","agents","AGLToASL","aimedAtTarget","aimPos","airDensityCurveRTD","airDensityRTD","airplaneThrottle","airportSide","AISFinishHeal","alive","all3DENEntities","allActiveTitleEffects","allAddonsInfo","allAirports","allControls","allCurators","allCutLayers","allDead","allDeadMen","allDiaryRecords","allDiarySubjects","allDisplays","allEnv3DSoundSources","allGroups","allLODs","allMapMarkers","allMines","allMissionObjects","allObjects","allow3DMode","allowCrewInImmobile","allowCuratorLogicIgnoreAreas","allowDamage","allowDammage","allowedService","allowFileOperations","allowFleeing","allowGetIn","allowService","allowSprint","allPlayers","allSimpleObjects","allSites","allTurrets","allUnits","allUnitsUAV","allUsers","allVariables","ambientTemperature","ammo","ammoOnPylon","and","animate","animateBay","animateDoor","animatePylon","animateSouLine truncated
]*?"'`},{begin:`"[^\r
"]*"`}]},{className:"built_in",variants:[{begin:"\\b(abs|acos|asin|atan|atan2|atanh|ceil|cloglog|comb|cos|digamma|exp|floor|invcloglog|invlogit|ln|lnfact|lnfactorial|lngamma|log|log10|max|min|mod|reldif|round|sign|sin|sqrt|sum|tan|tanh|trigamma|trunc|betaden|Binomial|binorm|binormal|chi2|chi2tail|dgammapda|dgammapdada|dgammapdadx|dgammapdx|dgammapdxdx|F|Fden|Ftail|gammaden|gammap|ibeta|invbinomial|invchi2|invchi2tail|invF|invFtail|invgammap|invibeta|invnchi2|invnFtail|invnibeta|invnorm|invnormal|invttail|nbetaden|nchi2|nFden|nFtail|nibeta|norm|normal|normalden|normd|npnchi2|tden|ttail|uniform|abbrev|char|index|indexnot|length|lower|ltrim|match|plural|proper|real|regexm|regexr|regexs|reverse|rtrim|string|strlen|strlower|strltrim|strmatch|strofreal|strpos|strproper|strreverse|strrtrim|strtrim|strupper|subinstr|subinword|substr|trim|upper|word|wordcount|_caller|autocode|byteorder|chop|clip|cond|e|epsdouble|epsfloat|group|inlist|inrange|irecode|matrix|maxbyte|maxdouble|maxfloat|maxint|maxlong|mi|minbyte|mindouble|minfloat|minint|minlong|missing|r|recode|replay|return|s|scalar|d|date|day|dow|doy|halfyear|mdy|month|quarter|week|year|d|daily|dofd|dofh|dofm|dofq|dofw|dofy|h|halfyearly|hofd|m|mofd|monthly|q|qofd|quarterly|tin|twithin|w|weekly|wofd|y|yearly|yh|ym|yofd|yq|yw|cholesky|colnumb|colsof|corr|det|diag|diag0cnt|el|get|hadamard|I|inv|invsym|issym|issymmetric|J|matmissing|matuniform|mreldif|nullmat|rownumb|rowsof|sweep|syminv|trace|vec|vecdiag)(?=\\()"}]},e.COMMENT("^[ ]*\\*.*$",!1),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]}}function HQ(e){return{name:"STEP Part 21",aliases:["p21","step","stp"],case_insensitive:!0,keywords:{$pattern:"[A-Z_][A-Z0-9_.]*",keyword:["HEADER","ENDSEC","DATA"]},contains:[{className:"meta",begin:"ISO-10303-21;",relevance:10},{className:"meta",begin:"END-ISO-10303-21;",relevance:10},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.COMMENT("/\\*\\*!","\\*/"),e.C_NUMBER_MODE,e.inherit(e.APOS_STRING_MODE,{illegal:null}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null}),{className:"string",begin:"'",end:"'"},{className:"symbol",variants:[{begin:"#",end:"\\d+",illegal:"\\W"}]}]}}const $Q=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),zQ=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],VQ=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],WQ=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],qQ=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],KQ=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","backgrou Line truncated
(multipart)?`,end:`\\]
`},{className:"string",begin:"\\d{4}-\\d{2}-\\d{2}(\\s+)\\d{2}:\\d{2}:\\d{2}.\\d+Z"},{className:"string",begin:"(\\+|-)\\d+"},{className:"keyword",relevance:10,variants:[{begin:"^(test|testing|success|successful|failure|error|skip|xfail|uxsuccess)(:?)\\s+(test)?"},{begin:"^progress(:?)(\\s+)?(pop|push)?"},{begin:"^tags:"},{begin:"^time:"}]}]}}function XQ(e){return{name:"Tagger Script",contains:[{className:"comment",begin:/\$noop\(/,end:/\)/,contains:[{begin:/\\[()]/},{begin:/\(/,end:/\)/,contains:[{begin:/\\[()]/},"self"]}],relevance:10},{className:"keyword",begin:/\$[_a-zA-Z0-9]+(?=\()/},{className:"variable",begin:/%[_a-zA-Z0-9:]+%/},{className:"symbol",begin:/\\[\\nt$%,()]/},{className:"symbol",begin:/\\u[a-fA-F0-9]{4}/}]}}function ZQ(e){return{name:"Test Anything Protocol",case_insensitive:!0,contains:[e.HASH_COMMENT_MODE,{className:"meta",variants:[{begin:"^TAP version (\\d+)$"},{begin:"^1\\.\\.(\\d+)$"}]},{begin:/---$/,end:"\\.\\.\\.$",subLanguage:"yaml",relevance:0},{className:"number",begin:" (\\d+) "},{className:"symbol",variants:[{begin:"^ok"},{begin:"^not ok"}]}]}}function JQ(e){const t=e.regex,n=/[a-zA-Z_][a-zA-Z0-9_]*/,r={className:"number",variants:[e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE]};return{name:"Tcl",aliases:["tk"],keywords:["after","append","apply","array","auto_execok","auto_import","auto_load","auto_mkindex","auto_mkindex_old","auto_qualify","auto_reset","bgerror","binary","break","catch","cd","chan","clock","close","concat","continue","dde","dict","encoding","eof","error","eval","exec","exit","expr","fblocked","fconfigure","fcopy","file","fileevent","filename","flush","for","foreach","format","gets","glob","global","history","http","if","incr","info","interp","join","lappend|10","lassign|10","lindex|10","linsert|10","list","llength|10","load","lrange|10","lrepeat|10","lreplace|10","lreverse|10","lsearch|10","lset|10","lsort|10","mathfunc","mathop","memory","msgcat","namespace","open","package","parray","pid","pkg::create","pkg_mkIndex","platform","platform::shell","proc","puts","pwd","read","refchan","regexp","registry","regsub|10","rename","return","safe","scan","seek","set","socket","source","split","string","subst","switch","tcl_endOfWord","tcl_findLibrary","tcl_startOfNextWord","tcl_startOfPreviousWord","tcl_wordBreakAfter","tcl_wordBreakBefore","tcltest","tclvars","tell","time","tm","trace","unknown","unload","unset","update","uplevel","upvar","variable","vwait","while"],contains:[e.COMMENT(";[ \\t]*#","$"),e.COMMENT("^[ \\t]*#","$"),{beginKeywords:"proc",end:"[\\{]",excludeEnd:!0,contains:[{className:"title",begin:"[ \\t\\n\\r]+(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"[ \\t\\n\\r]",endsWithParent:!0,excludeEnd:!0}]},{className:"variable",variants:[{begin:t.concat(/\$/,t.optional(/::/),n,"(::",n,")*")},{begin:"\\$\\{(::)?[a-zA-Z_]((::)?[a-zA-Z0-9_])*",end:"\\}",contains:[r]}]},{className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[e.inherit(e.QUOTE_STRING_MODE,{illegal:null})]},r]}}function e4(e){const t=["bool","byte","i16","i32","i64","double","string","binary"];return{name:"Thrift",keywords:{keyword:["namespace","const","typedef","struct","enum","service","exception","void","oneway","set","list","map","required","optional"],type:t,literal:"true false"},contains:[e.QUOTE_STRING_MODE,e.NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"class",beginKeywords:"struct enum service exception",end:/\{/,illegal:/\n/,contains:[e.inherit(e.TITLE_MODE,{starts:{endsWithParent:!0,excludeEnd:!0}})]},{begin:"\\b(set|list|map)\\s*<",keywords:{type:[...t,"set","list","map"]},end:">",contains:["self"]}]}}function t4(e){const t={className:"number",begin:"[1-9][0-9]*",relevance:0},n={className:"symbol",begin:":[^\\]]+"},r={className:"built_in",begin:"(AR|P|PAYLOAD|PR|R|SR|RSR|LBL|VR|UALM|MESSAGE|UTOOL|UFRAME|TIMER|TIMER_OVERFLOW|JOINT_MAX_SPEED|RESUME_PROG|DIAG_REC)\\[",end:"\\]",contains:["self",t,n]},i={className:"built_in",begin:"(AI|AO|DI|DO|F|RI|RO|UI|UO|GI|GO|SI|SO)\\[",end:"\\]",contains:["self",t,e.QUOTE_STRING_MODE,n]};return{name:"TP",keywords:{keyword:["ABORT","ACC","ADJUST","AND","AP_LD","BREAK","CALL","CNT","COL","CONDITION","CONFIG","DA","DB","DIV","DETECT","ELSE","END","ENDFOR","ERR_NUM","ERROR_PROG","FINE","FOR","GP","GUARD","INC","IF","JMP","LINEAR_MAX_SPEED","LOCK","MOD","MONITOR","OFFSET","Offset","OR","OVERRIDE","PAUSE","PREG","PTH","RT_LD","RUN","SELECT","SKIP","Skip","TA","TB","TO","TOOL_OFFSET","Tool_Offset","UF","UT","UFRAME_NUM","UTOOL_NUM","UNLOCK","WAIT","X","Y","Z","W","P","R","STRLEN","SUBSTR","FINDSTR","VOFFSET","PROG","ATTR","MN","POS"],literal:["ON","OFF","max_speed","LPOS","JPOS","ENABLE","DISABLE","START","STOP","RESET"]},contains:[r,i,{className:"keyword",begin:"/(PROG|ATTR|MN|POS|END)\\b"},{className:"keyword",begin:"(CALL|RUN|POINT_LOGIC|LBL)\\b"},{className:"keyword",begin:"\\b(ACC|CNT|Skip|Offset|PSPD|RT_LD|AP_LD|Tool_Offset)"},{className:"number",begin:"\\d+(sec|msec|mm/sec|cm/min|inch/min|deg/sec|mm|in|cm)?\\b",relevance:0},e.COMMENT Line truncated
`},u]}}const G4=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z][A-Za-z0-9_-]*/}}),Y4=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],H4=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],gM=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],hM=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],$4=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","fon Line truncated
]`,g={scope:"string",variants:[u,l,p,_]},h={scope:"number",variants:[{begin:"\\b0[bB][01]+(?:_[01]+)*\\b"},{begin:"\\b0[oO][0-7]+(?:_[0-7]+)*\\b"},{begin:"\\b0[xX][\\da-fA-F]+(?:_[\\da-fA-F]+)*\\b"},{begin:"(?:\\b\\d+(?:_\\d+)*(\\.(?:\\d+(?:_\\d+)*))?|\\B\\.\\d+)(?:[eE][+-]?\\d+)?"}],relevance:0},E=["false","null","true"],b=["__CLASS__","__DIR__","__FILE__","__FUNCTION__","__COMPILER_HALT_OFFSET__","__LINE__","__METHOD__","__NAMESPACE__","__TRAIT__","die","echo","exit","include","include_once","print","require","require_once","array","abstract","and","as","binary","bool","boolean","break","callable","case","catch","class","clone","const","continue","declare","default","do","double","else","elseif","empty","enddeclare","endfor","endforeach","endif","endswitch","endwhile","enum","eval","extends","final","finally","float","for","foreach","from","global","goto","if","implements","instanceof","insteadof","int","integer","interface","isset","iterable","list","match|0","mixed","new","never","object","or","private","protected","public","readonly","real","return","string","switch","throw","trait","try","unset","use","var","void","while","xor","yield"],T=["Error|0","AppendIterator","ArgumentCountError","ArithmeticError","ArrayIterator","ArrayObject","AssertionError","BadFunctionCallException","BadMethodCallException","CachingIterator","CallbackFilterIterator","CompileError","Countable","DirectoryIterator","DivisionByZeroError","DomainException","EmptyIterator","ErrorException","Exception","FilesystemIterator","FilterIterator","GlobIterator","InfiniteIterator","InvalidArgumentException","IteratorIterator","LengthException","LimitIterator","LogicException","MultipleIterator","NoRewindIterator","OutOfBoundsException","OutOfRangeException","OuterIterator","OverflowException","ParentIterator","ParseError","RangeException","RecursiveArrayIterator","RecursiveCachingIterator","RecursiveCallbackFilterIterator","RecursiveDirectoryIterator","RecursiveFilterIterator","RecursiveIterator","RecursiveIteratorIterator","RecursiveRegexIterator","RecursiveTreeIterator","RegexIterator","RuntimeException","SeekableIterator","SplDoublyLinkedList","SplFileInfo","SplFileObject","SplFixedArray","SplHeap","SplMaxHeap","SplMinHeap","SplObjectStorage","SplObserver","SplPriorityQueue","SplQueue","SplStack","SplSubject","SplTempFileObject","TypeError","UnderflowException","UnexpectedValueException","UnhandledMatchError","ArrayAccess","BackedEnum","Closure","Fiber","Generator","Iterator","IteratorAggregate","Serializable","Stringable","Throwable","Traversable","UnitEnum","WeakReference","WeakMap","Directory","__PHP_Incomplete_Class","parent","php_user_filter","self","static","stdClass"],C={keyword:b,literal:(pe=>{const de=[];return pe.forEach(ee=>{de.push(ee),ee.toLowerCase()===ee?de.push(ee.toUpperCase()):de.push(ee.toLowerCase())}),de})(E),built_in:T},O=pe=>pe.map(de=>de.replace(/\|\d+$/,"")),A={variants:[{match:[/new/,t.concat(f,"+"),t.concat("(?!",O(T).join("\\b|"),"\\b)"),i],scope:{1:"keyword",4:"title.class"}}]},w=t.concat(r,"\\b(?!\\()"),L={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),w],scope:{2:"variable.constant"}},{match:[/::/,/class/],scope:{2:"variable.language"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\b)/)),w],scope:{1:"title.class",3:"variable.constant"}},{match:[i,t.concat("::",t.lookahead(/(?!class\b)/))],scope:{1:"title.class"}},{match:[i,/::/,/class/],scope:{1:"title.class",3:"variable.language"}}]},U={scope:"attr",match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},$={relevance:0,begin:/\(/,end:/\)/,keywords:C,contains:[U,o,L,e.C_BLOCK_COMMENT_MODE,g,h,A]},B={relevance:0,match:[/\b/,t.concat("(?!fn\\b|function\\b|",O(b).join("\\b|"),"|",O(T).join("\\b|"),"\\b)"),r,t.concat(f,"*"),t.lookahead(/(?=\()/)],scope:{3:"title.function.invoke"},contains:[$]};$.contains.push(B);const ae=[U,L,e.C_BLOCK_COMMENT_MODE,g,h,A],be={begin:t.concat(/#\[\s*/,i),beginScope:"meta",end:/]/,endScope:"meta",keywords:{literal:E,keyword:["new","array"]},contains:[{begin:/\[/,end:/]/,keywords:{literal:E,keyword:["new","array"]},contains:["self",...ae]},...ae,{scope:"meta",match:i}]};return{case_insensitive:!1,keywords:C,contains:[be,e.HASH_COMMENT_MODE,e.COMMENT("//","$"),e.COMMENT("/\\*","\\*/",{contains:[{scope:"doctag",match:"@[A-Za-z]+"}]}),{match:/__halt_compiler\(\);/,keywords:"__halt_compiler",starts:{scope:"comment",end:e.MATCH_NOTHING_RE,contains:[{match:/\?>/,scope:"meta",endsParent:!0}]}},s,{scope:"variable.language",match:/\$this\b/},o,B,L,{match:[/const/,/\s/,r],scope:{1:"keyword",3:"variable.constant"}},A,{scope:"function",relevance:0,beginKeywords:"fn function",end:/[;{]/,excludeEnd:!0,illegal:"[$%\\[]",contains:[{beginKeywords:"use"},e.UNDERSCORE_TITLE_MODE,{begin:"=>",endsParent:!0},{scope:"params",begin:"\\(",end:"\\)",excludeBegin:!0,excludeEnd:!0,keywords:C,contains:["self",o,L,e.C_BLOCK_COMMENT_MODE,g,h]}]},{scope:"class",variants:[{beginKeywords:"enum",illegal:/[($"]/},{beginKeywords:"class interface trai Line truncated
https://github.com/highlightjs/highlight.js/issues/2277`),q=x,V=D),H===void 0&&(H=!0);const te={code:V,language:q};ee("before:highlight",te);const ue=te.result?te.result:_(te.language,te.code,H);return ue.code=te.code,ee("after:highlight",ue),ue}function _(x,D,H,V){const q=Object.create(null);function te(z,Q){return z.keywords[Q]}function ue(){if(!re.keywords){Ie.addText(Se);return}let z=0;re.keywordPatternRe.lastIndex=0;let Q=re.keywordPatternRe.exec(Se),se="";for(;Q;){se+=Se.substring(z,Q.index);const me=nt.case_insensitive?Q[0].toLowerCase():Q[0],Ge=te(re,me);if(Ge){const[ht,io]=Ge;if(Ie.addText(se),se="",q[me]=(q[me]||0)+1,q[me]<=S5&&(vn+=io),ht.startsWith("_"))se+=Q[0];else{const oo=nt.classNameAliases[ht]||ht;Oe(Q[0],oo)}}else se+=Q[0];z=re.keywordPatternRe.lastIndex,Q=re.keywordPatternRe.exec(Se)}se+=Se.substring(z),Ie.addText(se)}function Be(){if(Se==="")return;let z=null;if(typeof re.subLanguage=="string"){if(!t[re.subLanguage]){Ie.addText(Se);return}z=_(re.subLanguage,Se,!0,Er[re.subLanguage]),Er[re.subLanguage]=z._top}else z=g(Se,re.subLanguage.length?re.subLanguage:null);re.relevance>0&&(vn+=z.relevance),Ie.__addSublanguage(z._emitter,z.language)}function Ee(){re.subLanguage!=null?Be():ue(),Se=""}function Oe(z,Q){z!==""&&(Ie.startScope(Q),Ie.addText(z),Ie.endScope())}function vt(z,Q){let se=1;const me=Q.length-1;for(;se<=me;){if(!z._emit[se]){se++;continue}const Ge=nt.classNameAliases[z[se]]||z[se],ht=Q[se];Ge?Oe(ht,Ge):(Se=ht,ue(),Se=""),se++}}function Tt(z,Q){return z.scope&&typeof z.scope=="string"&&Ie.openNode(nt.classNameAliases[z.scope]||z.scope),z.beginScope&&(z.beginScope._wrap?(Oe(Se,nt.classNameAliases[z.beginScope._wrap]||z.beginScope._wrap),Se=""):z.beginScope._multi&&(vt(z.beginScope,Q),Se="")),re=Object.create(z,{parent:{value:re}}),re}function Ae(z,Q,se){let me=kj(z.endRe,se);if(me){if(z["on:end"]){const Ge=new FO(z);z["on:end"](Q,Ge),Ge.isMatchIgnored&&(me=!1)}if(me){for(;z.endsParent&&z.parent;)z=z.parent;return z}}if(z.endsWithParent)return Ae(z.parent,Q,se)}function Gn(z){return re.matcher.regexIndex===0?(Se+=z[0],1):(si=!0,0)}function Te(z){const Q=z[0],se=z.rule,me=new FO(se),Ge=[se.__beforeBegin,se["on:begin"]];for(const ht of Ge)if(ht&&(ht(z,me),me.isMatchIgnored))return Gn(Q);return se.skip?Se+=Q:(se.excludeBegin&&(Se+=Q),Ee(),!se.returnBegin&&!se.excludeBegin&&(Se=Q)),Tt(se,z),se.returnBegin?0:Q.length}function Yn(z){const Q=z[0],se=D.substring(z.index),me=Ae(re,z,se);if(!me)return $O;const Ge=re;re.endScope&&re.endScope._wrap?(Ee(),Oe(Q,re.endScope._wrap)):re.endScope&&re.endScope._multi?(Ee(),vt(re.endScope,z)):Ge.skip?Se+=Q:(Ge.returnEnd||Ge.excludeEnd||(Se+=Q),Ee(),Ge.excludeEnd&&(Se=Q));do re.scope&&Ie.closeNode(),!re.skip&&!re.subLanguage&&(vn+=re.relevance),re=re.parent;while(re!==me.parent);return me.starts&&Tt(me.starts,z),Ge.returnEnd?0:Q.length}function oi(){const z=[];for(let Q=re;Q!==nt;Q=Q.parent)Q.scope&&z.unshift(Q.scope);z.forEach(Q=>Ie.openNode(Q))}let dt={};function Nn(z,Q){const se=Q&&Q[0];if(Se+=z,se==null)return Ee(),0;if(dt.type==="begin"&&Q.type==="end"&&dt.index===Q.index&&se===""){if(Se+=D.slice(Q.index,Q.index+1),!i){const me=new Error(`0 width match regex (${x})`);throw me.languageName=x,me.badRule=dt.rule,me}return 1}if(dt=Q,Q.type==="begin")return Te(Q);if(Q.type==="illegal"&&!H){const me=new Error('Illegal lexeme "'+se+'" for mode "'+(re.scope||"<unnamed>")+'"');throw me.mode=re,me}else if(Q.type==="end"){const me=Yn(Q);if(me!==$O)return me}if(Q.type==="illegal"&&se==="")return 1;if(Hn>1e5&&Hn>Q.index*3)throw new Error("potential infinite loop, way more iterations than matches");return Se+=se,se.length}const nt=$(x);if(!nt)throw Ws(o.replace("{}",x)),new Error('Unknown language: "'+x+'"');const Ve=m5(nt);let dn="",re=V||Ve;const Er={},Ie=new a.__emitter(a);oi();let Se="",vn=0,zt=0,Hn=0,si=!1;try{if(nt.__emitTokens)nt.__emitTokens(D,Ie);else{for(re.matcher.considerAll();;){Hn++,si?si=!1:re.matcher.considerAll(),re.matcher.lastIndex=zt;const z=re.matcher.exec(D);if(!z)break;const Q=D.substring(zt,z.index),se=Nn(Q,z);zt=z.index+se}Nn(D.substring(zt))}return Ie.finalize(),dn=Ie.toHTML(),{language:x,value:dn,relevance:vn,illegal:!1,_emitter:Ie,_top:re}}catch(z){if(z.message&&z.message.includes("Illegal"))return{language:x,value:qh(D),illegal:!0,relevance:0,_illegalBy:{message:z.message,index:zt,context:D.slice(zt-100,zt+100),mode:z.mode,resultSoFar:dn},_emitter:Ie};if(i)return{language:x,value:qh(D),illegal:!1,relevance:0,errorRaised:z,_emitter:Ie,_top:re};throw z}}function f(x){const D={value:qh(x),illegal:!1,relevance:0,_top:s,_emitter:new a.__emitter(a)};return D._emitter.addText(x),D}function g(x,D){D=D||a.languages||Object.keys(t);const H=f(x),V=D.filter($).filter(ae).map(Ee=>_(Ee,x,!1));V.unshift(H);const q=V.sort((Ee,Oe)=>{if(Ee.relevance!==Oe.relevance)return Oe.relevance-Ee.relevance;if(Ee.language&&Oe.language){if($(Ee.language).supersetOf===Oe.language)return 1;if($(Oe.language).supersetOf===Ee.language)return-1}return 0}),[te,ue]=q, Line truncated
`);return!r||!i?!1:!!e.chain().command(({tr:o})=>(o.delete(t.pos-2,t.pos),!0)).exitCode().run()}function M5(){if(this.options.codeMode)return!1;const{empty:e,$anchor:t}=this.editor.state.selection,n=t.pos===1;return!e||t.parent.type.name!==this.name?!1:n||!t.parent.textContent.length?!!this.editor.commands.clearNodes():!1}function L5({editor:e}){const t=e.state.selection.$from.parent.textContent.slice(0,e.state.selection.$from.parentOffset);return(t==null?void 0:t.split(`
`))||[]}const Gb=["arduino","bash","c","cpp","csharp","css","diff","go","graphql","ini","java","javascript","json","kotlin","less","lua","makefile","markdown","objectivec","perl","php","php-template","plaintext","python","python-repl","r","ruby","rust","scss","shell","sql","swift","typescript","vbnet","wasm","xml","yaml","ipsphtml","ipscss"],k5=tt.create({name:"listItem",addOptions(){return{HTMLAttributes:{},bulletListTypeName:"bulletList",orderedListTypeName:"orderedList"}},content:"paragraph block*",defining:!0,parseHTML(){return[{tag:"li"}]},renderHTML({HTMLAttributes:e}){return["li",Ke(this.options.HTMLAttributes,e),0]},addKeyboardShortcuts(){return{Enter:()=>this.editor.commands.splitListItem(this.name),Tab:()=>this.editor.commands.sinkListItem(this.name),"Shift-Tab":()=>this.editor.commands.liftListItem(this.name)}}}),Fu=k5.extend({parseHTML(){return[{tag:"li",getAttrs:e=>{var t;if(((t=e.childNodes)==null?void 0:t.length)>1){const n=document.createElement("div");n.innerHTML=e.innerHTML,e.innerHTML="",e.appendChild(n)}return null}}]}});function Qt(e,t="",n=!0){const r=i=>{t&&(i.message=t+": "+i.message),window.Debug[n?"warn":"error"](i)};try{const i=e();return i instanceof Promise?new Promise(o=>{i.catch(r).finally(()=>o(!1))}):!0}catch(i){return r(i),!1}}const cn=Mu.extend({addCommands(){var e;return{...(e=this.parent)==null?void 0:e.call(this)}},addAttributes(){var e;return{language:{default:this.options.defaultLanguage||((e=this.options.allowedLanguages)==null?void 0:e[0])||"plaintext",parseHTML:t=>{var r,i;const n=(r=(()=>{if(t.hasAttribute("language"))return t.getAttribute("language");for(const o of t.classList)if(o.match(/^language-([a-z0-9\-_]+)$/i))return o.match(/^language-([a-z0-9\-_]+)$/i)[1];if(t.dataset.language&&t.dataset.language in pf)return pf[t.dataset.language];for(const o of t.querySelectorAll("code")){if(o.hasAttribute("language"))return o.getAttribute("language");for(const s of o.classList)if(s.match(/^language-([a-z0-9\-_]+)$/i))return s.match(/^language-([a-z0-9\-_]+)$/i)[1]}})())==null?void 0:r.toLowerCase();return this.options.codeMode&&(!n||!Gb.includes(n)||n!==this.options.defaultLanguage&&this.options.allowedLanguages&&!this.options.allowedLanguages.includes(n))?this.options.defaultLanguage||((i=this.options.allowedLanguages)==null?void 0:i[0])||"plaintext":n}}}},addOptions(){var e;return{...(e=this.parent)==null?void 0:e.call(this),codeMode:!1,allowedLanguages:null}},renderHTML({HTMLAttributes:e}){var n;const t=this.options.codeMode?this.editor.options.lastLang||((n=this.editor.options.allowedLanguages)==null?void 0:n[0])||"plaintext":e.language;return["pre",{spellcheck:"false",class:`${this.options.codeMode?"":"ipsCode "}language-${t}`,"data-language":Nl[t]||t},["code",{},0]]},onUpdate({editor:e}){this.options.codeMode&&e.options.lastLang&&e.options.lastLang!==e.getAttributes(this).language&&e.chain().setCodeBlock({language:e.options.lastLang}).run()},addKeyboardShortcuts(){const e=this.editor;return{"Mod-Alt-c":()=>this.editor.commands.toggleCodeBlock(),Backspace:()=>{var o;if(!e.state.selection.empty||((o=e.state.selection.$from.parent)==null?void 0:o.type.name)!==this.name)return!1;if(M5.call(this))return!0;if(!this.options.codeMode&&(!e.state.selection.$from.parent.attrs.language||["plaintext","bash","shell","zsh","sh"].includes(e.state.selection.$from.parent.attrs.language)))return!1;const n=e.state.selection.$from.parent.textContent.slice(0,e.state.selection.$from.parentOffset),r=e.state.selection.$from.parent.textContent.slice(e.state.selection.$from.parentOffset);if(n&&r){for(const s in qt)if(n.endsWith(s)&&r.startsWith(qt[s]))return e.chain().deleteRange({from:e.state.selection.from-s.length,to:e.state.selection.from+qt[s].length}).setTextSelection(e.state.selection.from-s.length).focus().run()}const i=n.match(/(\t)[^\n]*(\n\t+)$/);return i?e.chain().deleteRange({from:e.state.selection.from-i[2].length,to:e.state.selection.from}).setTextSelection(e.state.selection.from-i[2].length).focus().run():!1},Enter:({editor:t})=>{var y,C,O,A,w,L,U,$,B,ae,be;if(x5.call(this,{editor:t}))return!0;const{$from:r}=t.state.selection,{parent:i}=r;if(!t.state.selection.empty||(i==null?void 0:i.type.name)!==this.name||!this.options.codeMode&&(!i.attrs.language||["plaintext","bash","shell","zsh","sh"].includes(i.attrs.language)))return!1;const o=L5({editor:t});if(!o.length)return!1;const s=o[o.length-1],a=o[o.length-2];let l=((C=(y=s.match(/^\t*/))==null?void 0:y[0])==null?void 0:C.length)||0,u=!1;const p=i.attrs.language,_=["ipsphtml","xml","html","xhtml","html5"].includes(p),f=["ipscss","css","scss","sass","less"].includes(p),g=["plaintext","rtf","markdown","md","bbcode"].includes(p),h=_?/(<[^>/]*>)$/:/([{[(.:]|->)$/,E=_?/(<\/[^/>]*>)$/:/^\s*([}\])]+[,;]?)$/;let b=!1;if(!_&&!f&&!g&&s.match(/^\s+(\.|->)?[a-z0-9_-]/i))if(s.match(/^\s+(\.|->)/))b=!0,l--;else{let pe=1;for(;pe<o.length&&((w=(A=(O=o[o.length-1-pe])==null?void 0:O.match(/^\t*/))==null?void 0:A[0])==null?void 0:w.length)< Line truncated
`+" ".repeat(l);u?(pe-=s.length,ee=s.replace(/^\t/,"")+ee):T&&(de=`
`+(l>1?" ".repeat(l-1):""),ee+=de);let ne=this.editor.chain().insertContentAt({from:pe,to:t.state.selection.from},{type:"text",text:ee});return de&&(ne=ne.setTextSelection(t.state.selection.from+ee.length-de.length)),ne.focus().run()}return!1},ArrowDown:({editor:t})=>{if(!this.options.exitOnArrowDown||this.options.codeMode)return!1;const{state:n}=t,{selection:r,doc:i}=n,{$from:o,empty:s}=r;if(!s||o.parent.type!==this.type||!(o.parentOffset===o.parent.nodeSize-2))return!1;const l=o.after();return l===void 0||i.nodeAt(l)?!1:!!t.commands.exitCode()},ArrowUp:P5.bind(this),Tab:Up.bind(this,!1,{editor:e}),"Shift-Tab":Up.bind(this,!0,{editor:e}),"Alt-Tab":Up.bind(this,!1,{editor:e},!0),"Shift-Alt-Tab":Up.bind(this,!0,{editor:e},!0)}},addProseMirrorPlugins(){var t;const e={};for(const n in qt)e[qt[n]]=n;return[...((t=this.parent)==null?void 0:t.call(this))||[],new Xe({key:new Qe("ipsCodeModeSyntaxHelpers"),props:{handleKeyDown:(n,r)=>{var o;if(!(r instanceof KeyboardEvent)||r.metaKey||r.altKey)return;const i=this.editor;if(((o=r.key)==null?void 0:o.toLowerCase())in qt)return r.key.toLowerCase()in e&&zO({editor:i,opener:r.key.toLowerCase()})?!0:!!F5({editor:i,char:r.key.toLowerCase()});if(r.key.toLowerCase()in e)return!!zO({editor:i,opener:e[r.key.toLowerCase()]})}}})]}});function P5({editor:e}){if(e.options.codeMode)return!1;const{$from:t,empty:n}=e.state.selection;if(t.nodeBefore||!n||t.parent.type!==this.type)return!1;let r=0,i;for(const s of[...t.path].reverse()){if(!Number.isInteger(s)&&(r++,r===2))break;i=s}return!r||!Number.isInteger(i)||i!==0||!(t.parentOffset===0)?!1:(e.chain().insertContentAt(t.before(),"<p>&nbsp;</p>",{updateSelection:!0}).run(),!0)}function Up(e=!1,{editor:t=null},n=!1){var r,i,o,s;if((!t.state.selection.empty||e)&&t.isActive(this.name)&&(t.options.codeMode||[...t.state.selection.$from.path].reverse()[3]===[...t.state.selection.$to.path].reverse()[3]))return t.state.selection.empty&&e&&t.state.selection.$from.parentOffset===0||Qt(()=>{t.chain().command(({tr:a,chain:l})=>{var u,p,_,f;try{const{from:g,to:h}=t.state.selection,E=[...t.state.selection.$from.path].reverse()[3]+1;let b=g;if(b>[...t.state.selection.$from.path].reverse()[3]){for(;b>[...t.state.selection.$from.path].reverse()[3]&&!((u=a.doc.slice(b-1,b--).content.content[0])!=null&&u.textContent.startsWith(`
`)););b++}const T=((p=a.doc.slice(b,h).content.content[0])==null?void 0:p.textContent)||"",y=g-b,C=T.split(`
`),O=C.map(L=>e?L.replace(/^\t/,""):" "+L).join(`
`);let A=!1;try{e&&C.length>1&&C[C.length-1].match(/^\t/)&&((f=(_=a.doc.slice(h,h+1))==null?void 0:_.content.content[0])==null?void 0:f.textContent)===" "&&(A=!0)}catch{}a.insertText(O,b,h);const w={from:b+y,to:b+O.length};e&&T.startsWith(" ")?w.from--:e||w.from++,A&&w.to++,E>w.from&&(w.from=E),l().setTextSelection(w).focus().run()}catch{}return!0}).run()},"Something went wrong when modifying indents in a codeblock selection"),!0;if(!n&&t.isActive(Fu.name))return!1;if(t.state.selection.empty){if(e){if(t.state.selection.$from.parentOffset>0){const a=t.state.doc.slice(t.state.selection.from-1,t.state.selection.from);if(((i=(r=a==null?void 0:a.content)==null?void 0:r.content[0])==null?void 0:i.textContent)===" "){const{from:l}=t.state.selection;return t.chain().command(({tr:u})=>(u.deleteRange(l-1,l),!0)).setTextSelection({from:l-1,to:l-1}).run(),!0}}if(t.state.selection.$from.parentOffset<t.state.selection.$from.parent.nodeSize-2){const a=t.state.doc.slice(t.state.selection.from,t.state.selection.from+1);if(((s=(o=a==null?void 0:a.content)==null?void 0:o.content[0])==null?void 0:s.textContent)===" "){const{from:l}=t.state.selection;return t.chain().command(({tr:u})=>(u.deleteRange(l,l+1),!0)).setTextSelection({from:l,to:l}).run(),!0}}}}else return!0;return t.chain().insertContent(" ").focus().run(),!0}function F5({editor:e,char:t}){var _,f,g;if(!(t in qt))return!1;const{$from:n,$to:r}=e.state.selection,i=n.parent,o=r.parent;if(((_=i==null?void 0:i.type)==null?void 0:_.name)!==Mu.name||i!==o)return!1;if(e.state.selection.empty)return e.chain().insertContent(`${t}${qt[t]}`).setTextSelection(e.state.selection.from+t.length).focus().run();const s=i.textContent;let a=s.slice(n.parentOffset,r.parentOffset);if(!a)return!1;if(['"',"'","`"].includes(t)){const h=new RegExp(`(^|[^\\\\])\\${t}`,"g");a=a.replaceAll(h,`$1\\${t}`).replaceAll(/\n/g,"\\n")}let l="",u=0;if(a.match(/\n/)){const E=s.slice(0,n.parentOffset).split(`
`).pop(),b=s.slice(r.parentOffset).split(`
`).shift();let T=Math.max(0,((g=(f=E.match(/^\t*/))==null?void 0:f[0])==null?void 0:g.length)+1);E.match(/^\t*$/)&&b.match(/^\t+$/)&&(T+=b.match(/^\t+$/)[0].length),b.match(/^\s*$/)&&(a=a.replace(/^\s*?\n\s*(.?)/,"$1")),u=T+1;const y=" ".repeat(T),C=new RegExp(`\\n\\t{0,${T?T-1:0}}`,"g");if(a=a.replaceAll(C,`
${y}`),a=`${t}
${y}${a}
${y?y.slice(0,y.length-1):""}${qt[t]}`,r.parentOffset<s.length)try{const O=s.slice(r.parentOffset,r.parentOffset+1);O!=null&&O.match(/\n/)||(l=`
`+(y?y.slice(0,y.length-1):""),a+=l)}catch{}}else a=`${t}${a}${qt[t]}`;const p={from:e.state.selection.from+t.length+u,to:e.state.selection.from+a.length-qt[t].length-l.length-(u?u-1:0)};return e.chain().insertContentAt({from:e.state.selection.from,to:e.state.selection.to},{type:"text",text:a}).setTextSelection(p).focus().run()}function zO({editor:e,opener:t}){var o;if(!(t in qt)||!e.state.selection.empty)return!1;const{$from:n}=e.state.selection,r=n.parent;if((r==null?void 0:r.type.name)!==Mu.name)return!1;const i=(o=n.parent)==null?void 0:o.textContent;if(n.parentOffset<1||n.parentOffset>=i.length)return!1;try{const s=n.parentOffset;let a=i==null?void 0:i.slice(s,s+qt[t].length);if(!a)return;if(a.startsWith(qt[t]))return s>0&&['"',"'","`"].includes(t)&&(i==null?void 0:i[s-1])==="\\"?e.chain().insertContent({type:"text",text:qt[t]}).focus().run():e.chain().setTextSelection(e.state.selection.from+qt[t].length).focus().run()}catch{return!1}return!1}const qt={"{":"}","[":"]","(":")","'":"'",'"':'"',"`":"`"};function VM(e){const t=[...e.state.selection.$from.path].reverse()[2],n=t==null?void 0:t.type.name;return n===kr.name?[n,{level:t.attrs.level||1}]:[n||"",{}]}function Dc(e){var n;if(e[0]===kr.name)return`Heading ${((n=e[1])==null?void 0:n.level)||""}`;const t=e[0]in zS?e[0]:Bt.name;return zS[t]}function U5(e){if(e in VO)return[VO[e],{}];const t=Dc([kr.name,{}]);if(e.startsWith(t)){const n=parseInt(e.replace("Heading","").trim())||1;return[kr.name,{level:n}]}return[Bt.name,{}]}const zS={[eo.name]:"Ordered List",[rs.name]:"Bullet List",[cn.name]:"Code Block",[Bt.name]:"Paragraph"},VO=Object.fromEntries([...Object.entries(zS)].map(e=>e.reverse())),Kh=new WeakMap;function B5(e){if(!Kh.has(e)){const t=[...xc].filter(i=>!(i===kr.name&&e.options.restrictions.has("heading"))&&e.extensionManager.extensions.some(o=>o.name===i)),n=[],r=e.extensionManager.extensions.find(i=>i.name===kr.name);t.forEach(i=>{i===kr.name?r.options.levels.forEach(o=>n.push([kr.name,{level:o}])):n.push([i,{}])}),Kh.set(e,n)}return Kh.get(e)}const xc=new Set([Bt.name,cn.name,kr.name]);function G5({...e}){const{editor:t}=k.useContext(Le),n=VM(t);e.dropdownOptions=e.dropdownOptions||{},e.dropdownOptions.className=e.dropdownOptions.className||"",e.dropdownOptions.className=[...e.dropdownOptions.className.split(/\s+/),"ipsRichText"].join(" ");const r=B5(t);return N.jsx(ps,{current:N.jsx(N.Fragment,{children:N.jsx("i",{className:"fa-solid fa-paragraph"})}),currentValue:Dc(n),blank:N.jsx(WO,{block:[Bt.title,{}]}),items:r.map(i=>[Dc(i),N.jsx(WO,{block:i},Dc(i))]),itemProps:Object.fromEntries(r.map(i=>[Dc(i),{disabled:!t.can().convertBlocks(i)}])),onChange:i=>{const o=U5(i);t.chain().convertBlocks(o).focus().run()},...e,dropdownOptions:{...e.dropdownOptions,location:"se"}})}function WO({block:e,style:t=!0}){if(e[0]===kr.name){const n=`h${e[1].level}`,r=window.ips.getString(`editor_node--heading_${e[1].level}`);return t?N.jsx(n,{children:r}):N.jsx(N.Fragment,{children:r})}if(e[0]===cn.name){const n=window.ips.getString("editor_node--code_block");return t?N.jsx("code",{children:n}):N.jsx(N.Fragment,{children:n})}return N.jsx(N.Fragment,{children:window.ips.getString("editor_node--paragraph")})}const Uu=en.create({name:"subscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sub"},{style:"vertical-align",getAttrs(e){return e!=="sub"?!1:null}}]},renderHTML({HTMLAttributes:e}){return["sub",Ke(this.options.HTMLAttributes,e),0]},addCommands(){return{setSubscript:()=>({commands:e})=>e.setMark(this.name),toggleSubscript:()=>({commands:e})=>e.toggleMark(this.name),unsetSubscript:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-,":()=>this.editor.commands.toggleSubscript()}}}),Bu=en.create({name:"superscript",addOptions(){return{HTMLAttributes:{}}},parseHTML(){return[{tag:"sup"},{style:"vertical-align",getAttrs(e){return e!=="super"?!1:null}}]},renderHTML({HTMLAttributes:e}){return["sup",Ke(this.options.HTMLAttributes,e),0]},addCommands(){return{setSuperscript:()=>({commands:e})=>e.setMark(this.name),toggleSuperscript:()=>({commands:e})=>e.toggleMark(this.name),unsetSuperscript:()=>({commands:e})=>e.unsetMark(this.name)}},addKeyboardShortcuts(){return{"Mod-.":()=>this.editor.commands.toggleSuperscript()}}}),Y5=tt.create({name:"ipsLatexContainer",group:"inline",inline:!0,content:"text*",renderHTML(){return["span",{class:"ipsLatexContainer"},0]},parseHTML(){return[{tag:"span",getAttrs:e=>e.classList.contains("ipsLatexContainer")&&null}]}}),id=tt.create({name:"horizontalRule",addOptions(){return{HTMLAttributes:{}}},group:"block",parseHTML(){return[{tag:"hr"}]},renderHTML({HTMLAttributes:e}){return["hr",Ke(this.options.HTMLAttributes,e)]},addCommands(){return{setHorizontalRule:()=>({chain:e,state:t})=>{const{selection:n}=t,{$from:r,$to:i}=n,o=e();return r.parentOffset===0?o.insertContentAt({from:Math.max(r.pos-1,0),to:i.pos},{type:this.name}):BV(n)?o.insertContentAt(i.pos,{type:this.name}):o.insertContent({type:tLine truncated
`,Q5="️",j5="‍",Jh="";let Bp=null,Gp=null;function X5(e=[]){const t={};Qn.groups=t;const n=new Qn;Bp==null&&(Bp=QO($5)),Gp==null&&(Gp=QO(z5)),ie(n,"'",$b),ie(n,"{",Xc),ie(n,"}",Zc),ie(n,"[",_f),ie(n,"]",ff),ie(n,"(",mf),ie(n,")",gf),ie(n,"<",hf),ie(n,">",Ef),ie(n,"(",Sf),ie(n,")",Tf),ie(n,"「",bf),ie(n,"」",yf),ie(n,"『",Cf),ie(n,"』",Rf),ie(n,"<",Nf),ie(n,">",vf),ie(n,"&",Of),ie(n,"*",Af),ie(n,"@",No),ie(n,"`",wf),ie(n,"^",Df),ie(n,":",wo),ie(n,",",zb),ie(n,"$",xf),ie(n,".",_i),ie(n,"=",Mf),ie(n,"!",Vb),ie(n,"-",Ir),ie(n,"%",Jc),ie(n,"|",Lf),ie(n,"+",kf),ie(n,"#",Pf),ie(n,"?",eu),ie(n,'"',Wb),ie(n,"/",fi),ie(n,";",qb),ie(n,"~",tu),ie(n,"_",Ff),ie(n,"\\",If),ie(n,"・",QM);const r=At(n,Pi,Yb,{[VS]:!0});At(r,Pi,r);const i=At(r,ki,qM,{[jc]:!0}),o=At(r,yc,KM,{[Mc]:!0}),s=At(n,ki,Ui,{[WS]:!0});At(s,Pi,i),At(s,ki,s),At(i,Pi,i),At(i,ki,i);const a=At(n,yc,QS,{[qS]:!0});At(a,ki),At(a,Pi,o),At(a,yc,a),At(o,Pi,o),At(o,ki),At(o,yc,o);const l=ie(n,Zh,Hb,{[Qh]:!0}),u=ie(n,KO,ZS,{[Qh]:!0}),p=At(n,Xh,ZS,{[Qh]:!0});ie(n,Jh,p),ie(u,Zh,l),ie(u,Jh,p),At(u,Xh,p),ie(p,KO),ie(p,Zh),At(p,Xh,p),ie(p,Jh,p);const _=At(n,jh,jM,{[WM]:!0});ie(_,"#"),At(_,jh,_),ie(_,Q5,_);const f=ie(_,j5);ie(f,"#"),At(f,jh,_);const g=[[ki,s],[Pi,i]],h=[[ki,null],[yc,a],[Pi,o]];for(let E=0;E<Bp.length;E++)Eo(n,Bp[E],jS,Ui,g);for(let E=0;E<Gp.length;E++)Eo(n,Gp[E],XS,QS,h);Fs(jS,{tld:!0,ascii:!0},t),Fs(XS,{utld:!0,alpha:!0},t),Eo(n,"file",h_,Ui,g),Eo(n,"mailto",h_,Ui,g),Eo(n,"http",Pa,Ui,g),Eo(n,"https",Pa,Ui,g),Eo(n,"ftp",Pa,Ui,g),Eo(n,"ftps",Pa,Ui,g),Fs(h_,{scheme:!0,ascii:!0},t),Fs(Pa,{slashscheme:!0,ascii:!0},t),e=e.sort((E,b)=>E[0]>b[0]?1:-1);for(let E=0;E<e.length;E++){const b=e[E][0],y=e[E][1]?{[V5]:!0}:{[W5]:!0};b.indexOf("-")>=0?y[KS]=!0:ki.test(b)?Pi.test(b)?y[jc]=!0:y[WS]=!0:y[VS]=!0,qO(n,b,b,y)}return qO(n,"localhost",Gu,{ascii:!0}),n.jd=new Qn(Uf),{start:n,tokens:ra({groups:t},XM)}}function ZM(e,t){const n=Z5(t.replace(/[A-Z]/g,a=>a.toLowerCase())),r=n.length,i=[];let o=0,s=0;for(;s<r;){let a=e,l=null,u=0,p=null,_=-1,f=-1;for(;s<r&&(l=a.go(n[s]));)a=l,a.accepts()?(_=0,f=0,p=a):_>=0&&(_+=n[s].length,f++),u+=n[s].length,o+=n[s].length,s++;o-=_,s-=f,u-=_,i.push({t:p.t,v:t.slice(o-u,o),s:o-u,e:o})}return i}function Z5(e){const t=[],n=e.length;let r=0;for(;r<n;){let i=e.charCodeAt(r),o,s=i<55296||i>56319||r+1===n||(o=e.charCodeAt(r+1))<56320||o>57343?e[r]:e.slice(r,r+2);t.push(s),r+=s.length}return t}function Eo(e,t,n,r,i){let o;const s=t.length;for(let a=0;a<s-1;a++){const l=t[a];e.j[l]?o=e.j[l]:(o=new Qn(r),o.jr=i.slice(),e.j[l]=o),e=o}return o=new Qn(n),o.jr=i.slice(),e.j[t[s-1]]=o,o}function QO(e){const t=[],n=[];let r=0,i="0123456789";for(;r<e.length;){let o=0;for(;i.indexOf(e[r+o])>=0;)o++;if(o>0){t.push(n.join(""));for(let s=parseInt(e.substring(r,r+o),10);s>0;s--)n.pop();r+=o}else n.push(e[r]),r++}return t}const vl={defaultProtocol:"http",events:null,format:jO,formatHref:jO,nl2br:!1,tagName:"a",target:null,rel:null,validate:!0,truncate:1/0,className:null,attributes:null,ignoreTags:[],render:null};function ym(e,t=null){let n=ra({},vl);e&&(n=ra(n,e instanceof ym?e.o:e));const r=n.ignoreTags,i=[];for(let o=0;o<r.length;o++)i.push(r[o].toUpperCase());this.o=n,t&&(this.defaultRender=t),this.ignoreTags=i}ym.prototype={o:vl,ignoreTags:[],defaultRender(e){return e},check(e){return this.get("validate",e.toString(),e)},get(e,t,n){const r=t!=null;let i=this.o[e];return i&&(typeof i=="object"?(i=n.t in i?i[n.t]:vl[e],typeof i=="function"&&r&&(i=i(t,n))):typeof i=="function"&&r&&(i=i(t,n.t,n)),i)},getObj(e,t,n){let r=this.o[e];return typeof r=="function"&&t!=null&&(r=r(t,n.t,n)),r},render(e){const t=e.render(this);return(this.get("render",null,e)||this.defaultRender)(t,e.t,e)}};function jO(e){return e}var J5=Object.freeze({__proto__:null,defaults:vl,Options:ym,assign:ra});function JM(e,t){this.t="token",this.v=e,this.tk=t}JM.prototype={isLink:!1,toString(){return this.v},toHref(e){return this.toString()},toFormattedString(e){const t=this.toString(),n=e.get("truncate",t,this),r=e.get("format",t,this);return n&&r.length>n?r.substring(0,n)+"…":r},toFormattedHref(e){return e.get("formatHref",this.toHref(e.get("defaultProtocol")),this)},startIndex(){return this.tk[0].s},endIndex(){return this.tk[this.tk.length-1].e},toObject(e=vl.defaultProtocol){return{type:this.t,value:this.toString(),isLink:this.isLink,href:this.toHref(e),start:this.startIndex(),end:this.endIndex()}},toFormattedObject(e){return{type:this.t,value:this.toFormattedString(e),isLink:this.isLink,href:this.toFormattedHref(e),start:this.startIndex(),end:this.endIndex()}},validate(e){return e.get("validate",this.toString(),this)},render(e){const t=this,n=this.toHref(e.get("defaultProtocol")),r=e.get("formatHref",n,this),i=e.get("tagName",n,t),o=this.toFormattedString(e),s={},a=e.get("className",n,t),l=e.get("target",n,t),u=e.get("rel",n,t),p=e.getObj("attributes",n,t),_=e.getObj("events",n,t);return s.href=r,a&&(s.class=a),l&&(s.target=l),u&&(s.rel=u),p&&ra(s,p),{tagName:i,aLine truncated
1. Must only contain digits, lowercase ASCII letters or "-"
2. Cannot start or end with "-"
3. "-" cannot repeat`);ft.customSchemes.push([e,t])}function s6(){ft.scanner=X5(ft.customSchemes);for(let e=0;e<ft.tokenQueue.length;e++)ft.tokenQueue[e][1]({scanner:ft.scanner});ft.parser=t6(ft.scanner.tokens);for(let e=0;e<ft.pluginQueue.length;e++)ft.pluginQueue[e][1]({scanner:ft.scanner,parser:ft.parser});return ft.initialized=!0,ft}function Kb(e){return ft.initialized||s6(),n6(ft.parser.start,e,ZM(ft.scanner.start,e))}Kb.scan=ZM;function Qb(e,t=null,n=null){if(t&&typeof t=="object"){if(n)throw Error(`linkifyjs: Invalid link type ${t}; must be a string`);n=t,t=null}const r=new ym(n),i=Kb(e),o=[];for(let s=0;s<i.length;s++){const a=i[s];a.isLink&&(!t||a.t===t)&&r.check(a)&&o.push(a.toFormattedObject(r))}return o}function a6(e){return e.length===1?e[0].isLink:e.length===3&&e[1].isLink?["()","[]"].includes(e[0].value+e[2].value):!1}function l6(e){return new Xe({key:new Qe("autolink"),appendTransaction:(t,n,r)=>{const i=t.some(u=>u.docChanged)&&!n.doc.eq(r.doc),o=t.some(u=>u.getMeta("preventAutolink"));if(!i||o)return;const{tr:s}=r,a=wV(n.doc,[...t]);if(FV(a).forEach(({newRange:u})=>{const p=xV(r.doc,u,g=>g.isTextblock);let _,f;if(p.length>1?(_=p[0],f=r.doc.textBetween(_.pos,_.pos+_.node.nodeSize,void 0," ")):p.length&&r.doc.textBetween(u.from,u.to," "," ").endsWith(" ")&&(_=p[0],f=r.doc.textBetween(_.pos,u.to,void 0," ")),_&&f){const g=f.split(" ").filter(T=>T!=="");if(g.length<=0)return!1;const h=g[g.length-1],E=_.pos+f.lastIndexOf(h);if(!h)return!1;const b=Kb(h).map(T=>T.toObject(e.defaultProtocol));if(!a6(b))return!1;b.filter(T=>T.isLink).map(T=>({...T,from:E+T.start+1,to:E+T.end+1})).filter(T=>r.schema.marks.code?!r.doc.rangeHasMark(T.from,T.to,r.schema.marks.code):!0).filter(T=>e.validate(T.value)).filter(T=>e.shouldAutoLink(T.value)).forEach(T=>{vb(T.from,T.to,r.doc).some(y=>y.mark.type===e.type)||s.addMark(T.from,T.to,e.type.create({href:T.href}))})}}),!!s.steps.length)return s}})}function c6(e){return new Xe({key:new Qe("handleClickLink"),props:{handleClick:(t,n,r)=>{var i,o;if(r.button!==0||!t.editable)return!1;let s=r.target;const a=[];for(;s.nodeName!=="DIV";)a.push(s),s=s.parentNode;if(!a.find(f=>f.nodeName==="A"))return!1;const l=Nb(t.state,e.type.name),u=r.target,p=(i=u==null?void 0:u.href)!==null&&i!==void 0?i:l.href,_=(o=u==null?void 0:u.target)!==null&&o!==void 0?o:l.target;return u&&p?(window.open(p,_),!0):!1}}})}function u6(e){return new Xe({key:new Qe("handlePasteLink"),props:{handlePaste:(t,n,r)=>{const{state:i}=t,{selection:o}=i,{empty:s}=o;if(s)return!1;let a="";r.content.forEach(u=>{a+=u.textContent});const l=Qb(a,{defaultProtocol:e.defaultProtocol}).find(u=>u.isLink&&u.value===a);return!a||!l?!1:(e.editor.commands.setMark(e.type,{href:l.href}),!0)}}})}const d6=/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g;function Cc(e,t){const n=["http","https","ftp","ftps","mailto","tel","callto","sms","cid","xmpp"];return t&&t.forEach(r=>{const i=typeof r=="string"?r:r.scheme;i&&n.push(i)}),!e||e.replace(d6,"").match(new RegExp(`^(?:(?:${n.join("|")}):|[^a-z]|[a-z+.-]+(?:[^a-z+.-:]|$))`,"i"))}const wa=en.create({name:"link",priority:1e3,keepOnSplit:!1,exitable:!0,onCreate(){this.options.validate&&!this.options.shouldAutoLink&&(this.options.shouldAutoLink=this.options.validate,console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")),this.options.protocols.forEach(e=>{if(typeof e=="string"){JO(e);return}JO(e.scheme,e.optionalSlashes)})},onDestroy(){o6()},inclusive(){return this.options.autolink},addOptions(){return{openOnClick:!0,linkOnPaste:!0,autolink:!0,protocols:[],defaultProtocol:"http",HTMLAttributes:{target:"_blank",rel:"noopener noreferrer nofollow",class:null},isAllowedUri:(e,t)=>!!Cc(e,t.protocols),validate:e=>!!e,shouldAutoLink:e=>!!e}},addAttributes(){return{href:{default:null,parseHTML(e){return e.getAttribute("href")}},target:{default:this.options.HTMLAttributes.target},rel:{default:this.options.HTMLAttributes.rel},class:{default:this.options.HTMLAttributes.class}}},parseHTML(){return[{tag:"a[href]",getAttrs:e=>{const t=e.getAttribute("href");return!t||!this.options.isAllowedUri(t,{defaultValidate:n=>!!Cc(n,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?!1:null}}]},renderHTML({HTMLAttributes:e}){return this.options.isAllowedUri(e.href,{defaultValidate:t=>!!Cc(t,this.options.protocols),protocols:this.options.protocols,defaultProtocol:this.options.defaultProtocol})?["a",Ke(this.options.HTMLAttributes,e),0]:["a",Ke(this.options.HTMLAttributes,{...e,href:""}),0]},addCommands(){return{setLink:e=>({chain:t})=>t().setMark(this.name,e).setMeta("preventAutolink",!0).run(),toggleLink:e=>({chain:t})=>t().toggleMark(this.name,e,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run(),unsetLink:()=>({chain:e})=>e().unsetMark(this.name,{extendEmptyMarkRange:!0}).setMeta("preventAutolink",!0).run()}},addPasteRules(){return[ns({find:e=>{const t=[];if(e){const{protocols:n,defaul Line truncated
`},addCommands(){return{setHardBreak:()=>({commands:e,chain:t,state:n,editor:r})=>e.first([()=>e.exitCode(),()=>e.command(()=>{const{selection:i,storedMarks:o}=n;if(i.$from.parent.type.spec.isolating)return!1;const{keepMarks:s}=this.options,{splittableMarks:a}=r.extensionManager,l=o||i.$to.parentOffset&&i.$from.marks();return t().insertContent({type:this.name}).command(({tr:u,dispatch:p})=>{if(p&&l&&s){const _=l.filter(f=>a.includes(f.type.name));u.ensureMarks(_)}return!0}).run()})])}},addKeyboardShortcuts(){return{"Mod-Enter":()=>this.editor.commands.setHardBreak(),"Shift-Enter":()=>this.editor.commands.setHardBreak()}}}),T_=tt.create({name:"doc",topNode:!0,content:"block+"}),BL=gt.create({name:"ipsAutosave",addCommands(){return{clearAutosave:()=>({editor:e,chain:t})=>(e.options.autoSaveKey&&(window.ips.utils.db.remove("editorSave",e.options.autoSaveKey),t().hideMessage("autosave").run()),!0)}},onUpdate(){this.storage.updateCallback()},onCreate(){var e,t;if(this.storage.initial=this.editor.getHTML(),this.storage.updateCallback=fr.debounce(()=>{var n;(n=this.editor)!=null&&n.options.autoSaveKey&&(this.editor.getHTML().trim()&&this.editor.getHTML()!=="<p></p>"?window.ips.utils.db.set("editorSave",this.editor.options.autoSaveKey,{content:this.editor.getHTML(),time:Math.round(Date.now()/1e3)}):this.editor.commands.clearAutosave(),this.editor.commands.hideMessage("autosave"))},500),(e=this.editor)!=null&&e.options.autoSaveKey){const n=window.ips.utils.db.get("editorSave",this.editor.options.autoSaveKey);if((t=n==null?void 0:n.content)!=null&&t.trim()&&(!n.time||Date.now()/1e3-86400*3<parseInt(n.time))){const r=new DOMParser().parseFromString(n.content,"text/html");if(!(r.body.innerText.trim().length||r.body.querySelector("iframe,img,video,audio,a,embed,.ipsEmoji,.ipsEmbeddedVideo,.ipsEmbeddedBrightcove,.ipsEmbeddedOther,.ipsEmbeddedPhoto")))return;this.editor.chain().setContent(n.content).command(({tr:i,chain:o})=>(!i.docChanged||GL(i.doc)?o().undo().hideMessage("autosave").run():o().showMessage("autosave").focus().run(),!0)).run()}}},addStorage(){return{initial:"",updateCallback:()=>{}}}});function GL(e){var t,n,r;return e.textContent==="<p></p>"?!0:!((t=e.textContent)!=null&&t.trim().length||![T_.name,Bt.name,bi.name,zu.name].includes(e.type.name)||(r=(n=e.content)==null?void 0:n.content)!=null&&r.length&&!e.content.content.some(i=>!GL(i)))}function FX(){const{editor:e}=k.useContext(Le);return N.jsxs(N.Fragment,{children:[window.ips.getString("editor_tool--autosave-message-before"),N.jsx("button",{className:"ipsEditor__autosave-clear",onClick:()=>e.chain().clearAutosave().setContent(e.storage[BL.name].initial||"").focus().run(),children:window.ips.getString("editor_tool--autosave-message-inner")}),window.ips.getString("editor_tool--autosave-message-after")]})}function UX({positions:e="",href:t}){const{editor:n}=k.useContext(Le),r=()=>{if(!e.length){n.commands.hideMessage("autoembed");return}let i=n.chain();for(const o of e)i=i.command(({tr:s,chain:a})=>a().insertContentAt({from:Math.max(0,s.mapping.map(o[0])),to:Math.min(s.doc.nodeSize-2,s.mapping.map(o[1]))},`<a href="${encodeURI(t)}" >${o[2]}</a>`));i.hideMessage("autoembed").focus().run()};return N.jsxs(N.Fragment,{children:[window.ips.getString("editor_tool--autoembed-message-before"),N.jsx("button",{className:"ipsEditor__autosave-clear",onClick:r,children:window.ips.getString("editor_tool--autoembed-message-inner")}),window.ips.getString("editor_tool--autoembed-message-after")]})}function BX(){const{editor:e}=k.useContext(Le),t=()=>{if(!e.storage[We.name].autolinked){e.commands.hideMessage("autolink");return}const n=e.storage[We.name].autolinked,{from:r,to:i}=e.state.selection;e.chain().setTextSelection({from:n.from,to:n.to}).unsetMark(We.name).setTextSelection({from:r,to:i}).focus().hideMessage("autolink").run()};return N.jsxs(N.Fragment,{children:[window.ips.getString("editor_tool--autolink-message-before"),N.jsx("button",{className:"ipsEditor__autosave-clear",onClick:t,children:window.ips.getString("editor_tool--autolink-message-inner")}),window.ips.getString("editor_tool--autolink-message-after")]})}function AA({name:e}){const{editor:t}=k.useContext(Le);return N.jsxs("div",{className:`ipsEditor__global-message ipsEditor__global-message--${e}`,children:[N.jsxs("div",{className:"ipsEditor__global-message-content",children:[N.jsx("i",{className:"fa-solid fa-circle-info"}),"  ",N.jsx(GX,{name:e})]}),N.jsx("button",{className:"ipsEditor__global-message-close",onClick:()=>t==null?void 0:t.commands.hideMessage(e),children:N.jsx("i",{className:"fa-solid fa-times-circle"})})]})}function GX({name:e}){const{messages:t}=k.useContext(dT),n=t.get(e);switch(e){case"autosave":return N.jsx(FX,{});case"autoembed":return N.jsx(UX,{...n});case"autolink":return N.jsx(BX,{});default:return typeof n=="string"&&n?N.jsx("span",{"data-ipseditorcustommessage":"true",dangerouslySetInnerHTML:{__html:n}}):N.jsx(N.Fragment,{children:"This is a global message!"})}}const dT=k.creLine truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function jX(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function xA(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function MA(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?xA(Object(n),!0).forEach(function(r){jX(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xA(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function XX(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return t.reduceRight(function(i,o){return o(i)},r)}}function kc(e){return function t(){for(var n=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return i.length>=e.length?e.apply(this,i):function(){for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return t.apply(n,[].concat(i,a))}}}function Yf(e){return{}.toString.call(e).includes("Object")}function ZX(e){return!Object.keys(e).length}function Vu(e){return typeof e=="function"}function JX(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function e8(e,t){return Yf(t)||Zo("changeType"),Object.keys(t).some(function(n){return!JX(e,n)})&&Zo("changeField"),t}function t8(e){Vu(e)||Zo("selectorType")}function n8(e){Vu(e)||Yf(e)||Zo("handlerType"),Yf(e)&&Object.values(e).some(function(t){return!Vu(t)})&&Zo("handlersType")}function r8(e){e||Zo("initialIsRequired"),Yf(e)||Zo("initialType"),ZX(e)&&Zo("initialContent")}function i8(e,t){throw new Error(e[t]||e.default)}var o8={initialIsRequired:"initial state is required",initialType:"initial state should be an object",initialContent:"initial state shouldn't be an empty object",handlerType:"handler should be an object or a function",handlersType:"all handlers should be a functions",selectorType:"selector should be a function",changeType:"provided value of changes should be an object",changeField:'it seams you want to change a field in the state which is not specified in the "initial" state',default:"an unknown error accured in `state-local` package"},Zo=kc(i8)(o8),Xp={changes:e8,selector:t8,handler:n8,initial:r8};function s8(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};Xp.initial(e),Xp.handler(t);var n={current:e},r=kc(c8)(n,t),i=kc(l8)(n),o=kc(Xp.changes)(e),s=kc(a8)(n);function a(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:function(p){return p};return Xp.selector(u),u(n.current)}function l(u){XX(r,i,o,s)(u)}return[a,l]}function a8(e,t){return Vu(t)?t(e.current):t}function l8(e,t){return e.current=MA(MA({},e.current),t),t}function c8(e,t,n){return Vu(t)?t(e.current):Object.keys(n).forEach(function(r){var i;return(i=t[r])===null||i===void 0?void 0:i.call(t,e.current[r])}),n}var u8={create:s8},d8={paths:{vs:"https://cdn.jsdelivr.net/npm/monaco-editor@0.43.0/min/vs"}};function p8(e){return function t(){for(var n=this,r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return i.length>=e.length?e.apply(this,i):function(){for(var s=arguments.length,a=new Array(s),l=0;l<s;l++)a[l]=arguments[l];return t.apply(n,[].concat(i,a))}}}function _8(e){return{}.toString.call(e).includes("Object")}function f8(e){return e||LA("configIsRequired"),_8(e)||LA("configType"),e.urls?(m8(),{paths:{vs:e.urls.monacoBase}}):e}function m8(){console.warn(YL.deprecation)}function g8(e,t){throw new Error(e[t]||e.default)}var YL={configIsRequired:"the configuration object is required",configType:"the configuration object should be an object",default:"an unknown error accured in `@monaco-editor/loader` package",deprecation:`Deprecation warning!
You are using deprecated way of configuration.
Instead of using
monaco.config({ urls: { monacoBase: '...' } })
use
monaco.config({ paths: { vs: '...' } })
For more please check the link https://github.com/suren-atoyan/monaco-loader#config
`},LA=p8(g8)(YL),h8={config:f8},E8=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return function(i){return n.reduceRight(function(o,s){return s(o)},i)}};function HL(e,t){return Object.keys(t).forEach(function(n){t[n]instanceof Object&&e[n]&&Object.assign(t[n],HL(e[n],t[n]))}),wA(wA({},e),t)}var S8={type:"cancelation",msg:"operation is manually canceled"};function fE(e){var t=!1,n=new Promise(function(r,i){e.then(function(o){return t?i(S8):r(o)}),e.catch(i)});return n.cancel=function(){return t=!0},n}var T8=u8.create({config:d8,isInitialized:!1,resolve:null,reject:null,monaco:null}),$L=VX(T8,2),ad=$L[0],Nm=$L[1];function b8(e){var t=h8.config(e),n=t.monaco,r=zX(t,["monaco"]);Nm(function(i){return{config:HL(i.config,r),monaco:n}})}function y8(){var e=ad(function(t){var n=t.monaco,r=t.isInitialized,i=t.resolve;return{monaco:n,isInitialized:r,resolve:i}});if(!e.isInitialized){if(Nm({isInitialized:!0}),e.monaco)return e.resolve(e.monaco),fE(mE);if(window.monaco&&window.monaco.editor)return zL(window.monaco),e.resolve(window.monaco),fE(mE);E8(C8,N8)(v8)}return fE(mE)}function C8(e){return document.body.appendChild(e)}function R8(e){var t=document.createElement("script");return e&&(t.src=e),t}function N8(e){var t=ad(function(r){var i=r.config,o=r.reject;return{config:i,reject:o}}),n=R8("".concat(t.config.paths.vs,"/loader.js"));return n.onload=function(){return e()},n.onerror=t.reject,n}function v8(){var e=ad(function(n){var r=n.config,i=n.resolve,o=n.reject;return{config:r,resolve:i,reject:o}}),t=window.require;t.config(e.config),t(["vs/editor/editor.main"],function(n){zL(n),e.resolve(n)},function(n){e.reject(n)})}function zL(e){ad().monaco||Nm({monaco:e})}function O8(){return ad(function(e){var t=e.monaco;return t})}var mE=new Promise(function(e,t){return Nm({resolve:e,reject:t})}),ay={config:b8,init:y8,__getMonacoInstance:O8},A8={wrapper:{display:"flex",position:"relative",textAlign:"initial"},fullWidth:{width:"100%"},hide:{display:"none"}},gE=A8,I8={container:{display:"flex",height:"100%",width:"100%",justifyContent:"center",alignItems:"center"}},w8=I8;function D8({children:e}){return it.createElement("div",{style:w8.container},e)}var x8=D8,M8=x8;function L8({width:e,height:t,isEditorReady:n,loading:r,_ref:i,className:o,wrapperProps:s}){return it.createElement("section",{style:{...gE.wrapper,width:e,height:t},...s},!n&&it.createElement(M8,null,r),it.createElement("div",{ref:i,style:{...gE.fullWidth,...!n&&gE.hide},className:o}))}var k8=L8,VL=k.memo(k8);function P8(e){k.useEffect(e,[])}var WL=P8;function F8(e,t,n=!0){let r=k.useRef(!0);k.useEffect(r.current||!n?()=>{r.current=!1}:e,t)}var ur=F8;function ru(){}function Xa(e,t,n,r){return U8(e,r)||B8(e,t,n,r)}function U8(e,t){return e.editor.getModel(qL(e,t))}function B8(e,t,n,r){return e.editor.createModel(t,n,r?qL(e,r):void 0)}function qL(e,t){return e.Uri.parse(t)}function G8({original:e,modified:t,language:n,originalLanguage:r,modifiedLanguage:i,originalModelPath:o,modifiedModelPath:s,keepCurrentOriginalModel:a=!1,keepCurrentModifiedModel:l=!1,theme:u="light",loading:p="Loading...",options:_={},height:f="100%",width:g="100%",className:h,wrapperProps:E={},beforeMount:b=ru,onMount:T=ru}){let[y,C]=k.useState(!1),[O,A]=k.useState(!0),w=k.useRef(null),L=k.useRef(null),U=k.useRef(null),$=k.useRef(T),B=k.useRef(b),ae=k.useRef(!1);WL(()=>{let ee=ay.init();return ee.then(ne=>(L.current=ne)&&A(!1)).catch(ne=>(ne==null?void 0:ne.type)!=="cancelation"&&console.error("Monaco initialization: error:",ne)),()=>w.current?de():ee.cancel()}),ur(()=>{if(w.current&&L.current){let ee=w.current.getOriginalEditor(),ne=Xa(L.current,e||"",r||n||"text",o||"");ne!==ee.getModel()&&ee.setModel(ne)}},[o],y),ur(()=>{if(w.current&&L.current){let ee=w.current.getModifiedEditor(),ne=Xa(L.current,t||"",i||n||"text",s||"");ne!==ee.getModel()&&ee.setModel(ne)}},[s],y),ur(()=>{let ee=w.current.getModifiedEditor();ee.getOption(L.current.editor.EditorOption.readOnly)?ee.setValue(t||""):t!==ee.getValue()&&(ee.executeEdits("",[{range:ee.getModel().getFullModelRange(),text:t||"",forceMoveMarkers:!0}]),ee.pushUndoStop())},[t],y),ur(()=>{var ee,ne;(ne=(ee=w.current)==null?void 0:ee.getModel())==null||ne.original.setValue(e||"")},[e],y),ur(()=>{let{original:ee,modified:ne}=w.current.getModel();L.current.editor.setModelLanguage(ee,r||n||"text"),L.current.editor.setModelLanguage(ne,i||n||"text")},[n,r,i],y),ur(()=>{var ee;(ee=L.current)==null||ee.editor.setTheme(u)},[u],y),ur(()=>{var ee;(ee=w.current)==null||ee.updateOptions(_)},[_],y);let be=k.useCallback(()=>{var x;if(!L.current)return;B.current(L.current);let ee=Xa(L.current,e||"",r||n||"text",o||""),ne=Xa(L.current,t||"",i||n||"text",s||"");(x=w.current)==null||x.setModel({original:ee,modified:ne})},[n,t,i,e,r,o,s]),pe=k.useCallback(()=>{var ee;!ae.current&&U.current&&(w.current=L.current.editor.createDiffEditor(U.current,{automaticLayout:!0,..._}),be(),(ee=L.current)==null||ee.editor.setTheme(u),C(!0),ae.current Line truncated
`+t.message,window.Debug.error(t),e_=null}).finally(()=>{for(const t of $A)t(e_),$A.delete(t);e(e_)})})}const o7=gt.create({name:"ipsMessages",addCommands(){let e={_messages:new Map,addMessage(n,r=""){this._messages.set(n,r)},removeMessage(n){this._messages.delete(n)},get messages(){return this._messages},onVisibilityChange(n){t=n}},t=!1;return{showMessage:(n,r="")=>()=>{e==null||e.addMessage(n,r)},hideMessage:n=>()=>{e==null||e.removeMessage(n)},registerMessageInterface:n=>()=>{var i,o,s;if(Object.is(n,e))return!1;let r=!1;for(const a in n)if(!Object.is(n[a],e[a])){r=!0;break}if(!r)return!1;if(e.messages instanceof Map)for(const a of e.messages.keys())(o=(i=n==null?void 0:n.messages)==null?void 0:i.has)!=null&&o.call(i,a)&&n.messages.get(a)===e.messages.get(a)||n.addMessage(a,e.messages.get(a));(!("visible"in n)||n.visible!==t)&&((s=n.onVisibilityChange)==null||s.call(n,t)),e=n},fireVisibilityChange:n=>()=>{var r;t=!!n,(r=e==null?void 0:e.onVisibilityChange)==null||r.call(e,t)}}}}),s7=({key:e,editor:t,onPaste:n,onDrop:r,allowedMimeTypes:i})=>new Xe({key:e||new Qe("fileHandler"),props:{handleDrop(o,s){var a;if(!r||!(!((a=s.dataTransfer)===null||a===void 0)&&a.files.length))return!1;const l=o.posAtCoords({left:s.clientX,top:s.clientY});let u=Array.from(s.dataTransfer.files);return i&&(u=u.filter(p=>i.includes(p.type))),u.length!==0&&(s.preventDefault(),s.stopPropagation(),r(t,u,(l==null?void 0:l.pos)||0),!0)},handlePaste(o,s){var a;if(!n||!(!((a=s.clipboardData)===null||a===void 0)&&a.files.length))return!1;let l=Array.from(s.clipboardData.files);const u=s.clipboardData.getData("text/html");return i&&(l=l.filter(p=>i.includes(p.type))),l.length!==0&&(s.preventDefault(),s.stopPropagation(),n(t,l,u),!(u.length>0))}}}),a7=gt.create({name:"fileHandler",addOptions:()=>({onPaste:void 0,onDrop:void 0,allowedMimeTypes:void 0}),addProseMirrorPlugins(){return[s7({key:new Qe(this.name),editor:this.editor,allowedMimeTypes:this.options.allowedMimeTypes,onDrop:this.options.onDrop,onPaste:this.options.onPaste})]}});function l7({mimeTypes:e,handler:t}){let n;Array.isArray(e)&&(n=new Set(e.map(i=>i.toLowerCase())));const r=i=>{const o=i instanceof DragEvent?i.dataTransfer:i.clipboardData;if(o.files.length){const s=[];for(const a of o.files)(!n||n.has(a.type.toLowerCase()))&&s.push(a);if(s.length)return t(s),!0}};return new Xe({key:new Qe("ipsDataTransferFixer"),props:{handlePaste:(i,o)=>r(o),handleDrop:(i,o)=>r(o)}})}const c7=a7.extend({addCommands(){var e;return{...(e=this.parent)==null?void 0:e.call(this),injectAttachments:t=>({editor:n,chain:r})=>{const i=u7(n.options.postkey);if(!i)return!1;let o=r();for(const s of t){const a=Math.round(Math.random()*Math.pow(10,8));let l=!1;o=o.insertContent({type:ct.name,attrs:{attachmentType:"file",attachmentSrc:"",attachmentLink:"",fileId:a,attachmentTitle:window.ips.getString("editor_attachment_upload_placeholder")}}),i.dispatchEvent(new d7({file:s,data:{ready:u=>{if(l)return;l=!0;const p=jb(n.$doc,a);p.length&&n.commands.command(({tr:_,chain:f})=>{let g=f();for(const{to:h,from:E}of p)g=g.insertContentAt({from:_.mapping.map(E),to:_.mapping.map(h)},u,{parseOptions:{preserveWhitespace:!1}});return!0})},error:u=>{l||(l=!0,u instanceof Error&&(u.message=`File upload failed:
${u.message}`,window.Debug.warn(u),n.commands.showMessage("file-attach","Couldn't insert one or more files pasted or dropped in the editor.")),n.commands.removeAttachment(a))}}}))}return o.run(),!0}}},addProseMirrorPlugins(){var e;return[l7({mimeTypes:this.options.allowedMimeTypes,handler:t=>this.options.onPaste(this.editor,t)}),...((e=this.parent)==null?void 0:e.call(this))||[]]}}).configure({onPaste(e,t){return e.commands.injectAttachments(t)},onDrop(e,t){return e.commands.injectAttachments(t)}});function u7(e){return!e||typeof e!="string"?null:document.querySelector(`[data-ipsuploader-postkey="${e}"]`)}class d7 extends Event{constructor(t){super("injectFile"),this.data=t}}const p7=["name","group","isInline","isBlock","isText","content","isLeaf","selectable","exitable","atom","addOptions","addKeyboardShortcuts","addAttributes","addGlobalAttributes","addCommands","renderHTML","parseHTML","onCreate","onUpdate","onBeforeCreate","onFocus","onBlur","onBeforeCreate","onSelectionUpdate","onDestroy","onTransaction","priority","defaultOptions","addInputRules","marks","addNodeView","whitespace","defining","isolating","renderText"];function _7(e,t){var a,l,u;if(!e.ipsPlugins){e.ipsPlugins={buttons:{},extensions:[],nodes:[],marks:[]};return}e.ipsPlugins.buttons={},Array.isArray((a=e.ipsPlugins)==null?void 0:a.extensions)?s(e.ipsPlugins.extensions,gt):e.ipsPlugins.extensions=[],Array.isArray((l=e.ipsPlugins)==null?void 0:l.nodes)?s(e.ipsPlugins.nodes,tt):e.ipsPlugins.nodes=[],Array.isArray((u=e.ipsPlugins)==null?void 0:u.marks)?s(e.ipsPlugins.marks,en):e.ipsPlugins.marks=[],e.ipsPlugins.nestedToolbars={},e.pluginButtonKeys=new Set;const n=new Set(e.tools.toolbar);for(const p in e.ipsPlugins.buttons)for(const{before:_,after:f}of e.ipsPlugins.buttons[p].locations){let g,h=!1;if(typeof f=="string"&&f in dA){const E=dA[f];e.ipsPlugins.nestedToolbars[E]=e.ipsPlugins.nestedToolbars[E]||[...is[E]],e.ipsPlugins.nestedToolbars[E].push(`custom:${p}`),h=!0}else if(typeof f=="string"&&n.has(f))g=e.tools.toolbar.indexOf(f)+1;else if(typeof _=="string"&&n.has(_))g=e.tools.toolbar.indexOf(_);else if(!_&&!f||_===null||f===null)g=e.tools.toolbar.length;else continue;e.pluginButtonKeys.add(`custom:${p}`),h||(n.add(`custom:${p}`),e.tools.toolbar.splice(g,0,`custom:${p}`))}function r(p){for(const _ of p.attributes)["class","style","id","src","title","rel","alt"].includes(_.name.toLowerCase())||p.removeAttribute(_.name);for(const _ of p.querySelectorAll(":scope > *"))r(_)}function i(p,_){var f;if(p.addButtons instanceof Function){const g=p.addButtons.bind(_)();if(typeof g!="object")throw new TypeError;const h=new DOMParser;for(const E in g){let{html:b,command:T,locations:y,element:C,isActive:O,isAvailable:A}=g[E];if(typeof b!="string"&&!(C instanceof HTMLElement)||!(T instanceof Function)||!Array.isArray(y))throw new TypeError;O!==void 0&&typeof O!="boolean"&&!(O instanceof Function)&&(window.Debug.warn(`Expected isActive to be a boolean or a Function, got a ${typeof O}. Casting to boolean.`),O=!!O),A!==void 0&&typeof A!="boolean"&&!(A instanceof Function)&&(window.Debug.warn(`Expected isAvailable to be a boolean or a Function, got a ${typeof A}. Casting to boolean.`),A=!!A);const w=[];for(const B of y)if(B===null)w.push({after:null,before:void 0});else if(typeof B=="object"){if(![void 0,null].includes(B.before)&&typeof B.before!="string"||![void 0,null].includes(B.after)&&typeof B.after!="string")throw new TypeError;w.push({after:B.after,before:B.before})}else typeof B=="string"?w.push({after:B,before:void 0}):w.push({after:void 0,before:void 0});y=w;const L=["script","link","style","pre","code","iframe","object","embed","noscript","video"];if(C instanceof Element)C.querySelectorAll(L.join(",")).forEach(B=>B.remove());else{const B=h.parseFromString(b,"text/html");if(!(B instanceof Document))throw new RangeError("The html passed in for the button is not readable");if(B.querySelectorAll(L.join(",")).forEach(ae=>ae.remove()),!(((f=B==null?void 0:B.body)==null?void 0:f.firstElementChild)instanceof HTMLElement)||!B.body.firstElementChild.innerHTML.length)throw new RangeError("The html passed in for the button is not readable");C=B.body.firstElementChild}if(r(C),L.includes(C.tagName.toLowerCase()))throw new RangeError(`The element of type ${C.tagName} cannot be used as a toolbar button`);const U=C.cloneNode(!0),$=`${p.name}_${E}`;e.ipsPlugins.buttons[$]={get element(){return U},set element(B){throw new Error("Cannot update the element of an ipsPlugin button!")},get command(){return T.bind(_)},set command(B){throw new Error("Cannot update the command of an ipsPlugin button!")},get isActive(){return O instanceof Function?O.bind(_):O},set isActive(B){throw new Error("Cannot update the isActive property of an ipsPlugin button!")},get isAvailable(){return A instanceof Function?A.bind(_):A},set isAvailable(B){throw new Error("Cannot update the isAvailable property of an ipsPlugin button!")},get locations(){return y},set locations(B){throw new Error Line truncated
${g.message}`,window.Debug.warn(g)}}}const bE=gt.create({name:"ipsHomeEnd",addKeyboardShortcuts(){return{Home:({editor:e})=>(Qt(()=>{var i,o,s;const{$from:t}=e.state.selection,n=t.pos-t.parentOffset;let r=t.pos;for(;r>n;){const a=e.state.doc.slice(r-1,r);if(((i=a.content.content[0])==null?void 0:i.textContent)===`
`||((s=(o=a.content.content[0])==null?void 0:o.type)==null?void 0:s.name)===zu.name)break;r--}e.chain().setTextSelection(r).focus().run()},"Something went wrong handling the 'Home' key press"),!0),End:({editor:e})=>(Qt(()=>{var i,o,s;const{$to:t}=e.state.selection,n=[...t.path].reverse()[3]+t.parent.nodeSize-1;let r=t.pos;for(;r<n;){const a=e.state.doc.slice(r,r+1);if(((i=a.content.content[0])==null?void 0:i.textContent)===`
`||((s=(o=a.content.content[0])==null?void 0:o.type)==null?void 0:s.name)===zu.name)break;r++}e.chain().setTextSelection(r).focus().run()},"Something went wrong handling the 'End' key press"),!0)}}}),f7=gt.create({name:"IPSSimpleRichText",addProseMirrorPlugins(){return[new Xe({key:new Qe("ipsSimpleRichTextPlugin"),filterTransaction:e=>!(this.editor.options.lengthFunction instanceof Function&&typeof this.editor.options.maxLength=="number"&&this.editor.options.lengthFunction(td(e.doc.content,this.editor.schema))>this.editor.options.maxLength),appendTransaction:(e,t,n)=>{const r=[];let i;const{from:o,to:s}=n.selection;n.doc.descendants((l,u)=>{var p,_;if(typeof l.textContent=="string"&&!l.textContent&&!l.isInline){const f=n.doc.resolve(u),g=m7(f,n.doc),h=g7(f,n.doc);if([o,s].some(E=>g.pos<E&&h.pos>E)){if(i===void 0&&e.some(E=>{var b;return(b=E.steps)==null?void 0:b.length})){let E=1,b=l;for(;(_=(p=b.content)==null?void 0:p.content)!=null&&_.length;)E++,b=b.content.content[0];i=E+u}return!1}return r.push([u,u+l.nodeSize]),!1}if(l.isInline||!l.content.content.length)return!1});const{tr:a}=n;for(const[l,u]of r.reverse())a.delete(l,u);if(i!==void 0){const l=ye.atStart(n.doc).from,u=ye.atEnd(n.doc).to,p=ye.create(n.doc,Po(i,l,u));o===p.from&&o===s||a.setSelection(p)}return a}})]},addKeyboardShortcuts(){return{Enter:({editor:e})=>{const t=e.view.dom.closest("form");if(t){let n=t.querySelector('button:is([type="submit"], :not([type]))');n||(n=document.createElement("button"),n.setAttribute("type","button"),n.setAttribute("hidden",""),t.appendChild(n),setTimeout(()=>n.documentElement===document.documentElement&&n.remove(),200)),n.click()}return!0},"Shift-Enter":({editor:e})=>(e.isActive(Fu.name)?e.commands.splitListItem(Fu.name):e.commands.splitBlock(),!1)}},onCreate(){this.editor.view.dom.addEventListener("clear",e=>{var t;this.editor.commands.setContent(((t=e.detail)==null?void 0:t.content)||"")})}});function m7(e,t){var r,i;const n=[...e.path].reverse();for(;n.length>=3;){if(n[1]>0){let o=n[2].content.content[n[1]-1],s=0;for(;o;)o=(i=(r=o.content)==null?void 0:r.content)!=null&&i.length?o.content.content[o.content.content.length-1]:null,s++;return t.resolve(e.pos-s)}n.splice(0,3)}return t.resolve(0)}function g7(e,t){var r,i;const n=[...e.path].reverse();for(;n.length>=3;){if(n[1]<n[2].content.content.length-1){let o=n[2].content.content[n[1]+1],s=0;for(;o;)s++,o=(i=(r=o.content)==null?void 0:r.content)==null?void 0:i[0];return t.resolve(e.pos+n[2].content.content[n[1]].nodeSize+s)}n.splice(0,3)}return t.resolve(t.nodeSize-2)}const h7=tt.create({name:"tableRow",addOptions(){return{HTMLAttributes:{}}},content:"(tableCell | tableHeader)*",tableRole:"row",parseHTML(){return[{tag:"tr"}]},renderHTML({HTMLAttributes:e}){return["tr",Ke(this.options.HTMLAttributes,e),0]}}),E7=tt.create({name:"tableHeader",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:e=>{const t=e.getAttribute("colwidth");return t?t.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"header_cell",isolating:!0,parseHTML(){return[{tag:"th"}]},renderHTML({HTMLAttributes:e}){return["th",Ke(this.options.HTMLAttributes,e),0]}}),S7=tt.create({name:"tableCell",addOptions(){return{HTMLAttributes:{}}},content:"block+",addAttributes(){return{colspan:{default:1},rowspan:{default:1},colwidth:{default:null,parseHTML:e=>{const t=e.getAttribute("colwidth");return t?t.split(",").map(r=>parseInt(r,10)):null}}}},tableRole:"cell",isolating:!0,parseHTML(){return[{tag:"td"}]},renderHTML({HTMLAttributes:e}){return["td",Ke(this.options.HTMLAttributes,e),0]}}),T7=gt.create({name:"ipsClearNewLine",addOptions(){return{removeNewLinesBefore:[]}},addStorage(){return{observedNodes:[cn.name,nr.name,ul.name,to.name,ny.name,ct.name]}},onCreate(){this.options.removeNewLinesBefore.length&&(this.storage.observedNodes=[...new Set([...this.storage.observedNodes,...this.options.removeNewLinesBefore])])},addKeyboardShortcuts(){return{Backspace:({editor:e})=>{var o,s,a,l,u,p,_;const{observedNodes:t}=this.storage;if(!(t!=null&&t.length))return;const n=e.state.selection;if(!n.empty)return;const r=n.$from.parent;if(!r||r.type.name!==Bt.name)return;const i=[...n.$from.path].reverse();if(r.content.size){if(!((u=(l=r==null?void 0:r.content)==null?void 0:l.content)!=null&&u.length)||r.content.content.length<2||((p=n.$from.nodeAfter)==null?void 0:p.type.name)!==zu.name||!t.includes((_=r.content.content[n.$from.parentOffset+1])==null?void 0:_.type.name))return;const f=i[1];let g;if(f!==0){if(!t.includes(r.content.content[f-1]))return;g=n.from-r.content.content[f-1].nodeSize}else{const h=i[5],E=i[4],b=h.type.name===ul.name?1:0;E>b&&t.includes(h.content.content[E-1].type.name)&&(g=i[3]-h.content.content[E-1].nodeSize)}return(typeof g!="number"||Number.isNaN(g))&&(g=n.from),e.chain().deleteRange({from:n.from,to:n.from+1}).setNodeSelection(g).run(),!0}else{const f=i[5],g=i[4];if(!f||g===void 0)return;co Line truncated
`);return n.chain().insertContentAt({from:a,to:h},{type:cn.name,attrs:_,content:[{type:"text",text:E}]}).setNodeSelection(a)}}}}),y7=tt.create({name:"IPSLazyLoadLegacy",parseHTML(){return[{tag:"*",getAttrs:e=>(window.ips.utils.lazyload.parseLazyLoadElements(e,!1),!1)}]},renderHTML(){return window.Debug.warn("The IPSLazyLoadLegacy node fixer is being rendered as HTML, but should never exist in the ProseMirror Node tree. This will create one empty <i-lazy-load-dummy-element> wrapper"),["i-lazy-load-dummy-element",0]},priority:1e4});function C7(e){var n,r,i,o,s,a,l,u,p,_,f,g,h,E,b,T,y;if(e.simpleRichText){const C=[bi,TE,T_,Bt,Fu,cA,kA,PA,FA,eo,rs,HA,$f,YA,f7];return window.navigator.platform==="MacIntel"&&C.push(bE),C}if(e.codeMode){const C=[cn.configure({defaultLanguage:"xml",...e,lowlight:Pu}),bi,TE,T_.extend({content:cn.name})];return window.navigator.platform==="MacIntel"&&C.push(bE),C}const t=[Bt,tZ,kA,PA,ek.extend({addInputRules(){var C;return(C=this.parent)==null?void 0:C.call(this).filter(O=>O.find.test("(c)")||O.find.test("(r)")||O.find.test("(tm)"))}}),T_,eo,rs,cA,cn.extend({addNodeView(){return Ml(z6,{update:()=>{}})}}).configure({lowlight:Pu,defaultLanguage:"plaintext",allowedLanguages:e.allowedLanguages&&Symbol.iterator in e.allowedLanguages?e.allowedLanguages:null}),We,b7,YA,FA,nr.configure({inline:!0,allowExternal:!((n=e.restrictions)!=null&&n.has("external_image")),float:!((r=e.restrictions)!=null&&r.has("float"))}),dl,Bu,Uu,bi,Fu,Yu,ny,id,TE,CZ,HA,$f,o7,Us,ul.configure({float:!((i=e.restrictions)!=null&&i.has("float"))}),_Z,Hu,(o=e.restrictions)!=null&&o.has("external_embed")&&((s=e.restrictions)!=null&&s.has("internal_embed"))?null:to.configure({internalEmbeds:!((a=e.restrictions)!=null&&a.has("internal_embed")),externalEmbeds:!((l=e.restrictions)!=null&&l.has("external_embed")),externalVideos:!((u=e.restrictions)!=null&&u.has("external_video")),externalImages:!((p=e.restrictions)!=null&&p.has("external_image")),ogEmbed:!((_=e.restrictions)!=null&&_.has("og_embed"))}),Bo.configure({types:I6(e)}),e[En.name]?En.configure(e[En.name]):En,zu.extend({addKeyboardShortcuts(){var O;const C={...(O=this.parent)==null?void 0:O.call(this)};return delete C["Mod-Enter"],C},renderText(){return`
`}}),...(f=e.restrictions)!=null&&f.has("tables")?[!1]:[PL.configure({resizable:!0,cellMinWidth:((g=e.table)==null?void 0:g.cellMinWidth)||20}),h7,E7,S7],UL,T7].filter(C=>!!C);return window.navigator.platform==="MacIntel"&&t.push(bE),e.autoSaveKey&&t.push(BL),e.postkey&&(t.push(c7),t.push(ct.configure({externalImages:!((h=e.restrictions)!=null&&h.has("external_image")),externalVideos:!((E=e.restrictions)!=null&&E.has("external_video")),float:!((b=e.restrictions)!=null&&b.has("float"))}))),(T=e.restrictions)!=null&&T.has("heading")||t.push(kr.configure({levels:(y=e.restrictions)!=null&&y.has("heading_1")?[2,3,4,5,6]:[1,2,3,4,5,6]})),t.push(y7),t}async function zA(e,t){var n,r;if(e.pluginButtonKeys=new Set,e.simpleRichText?(delete e.codeMode,e.tools={toolbar:[...RL]},e.react&&VW(e.react)):await D5(),e.restrictions&&Symbol.iterator in e.restrictions?e.restrictions=new Set(e.restrictions):(delete e.restrictions,e.restrictions=new Set),e.jQuery=e.jQuery||window.jQuery,e.editorProps={attributes:{class:e.codeMode?"":"ipsRichText"}},e.itemStates={},e.restrictions.has("native_emoji")&&!e.restrictions.has("custom_emoji")&&!await window.ips.utils.iconpicker.hasCustomEmoji()&&e.restrictions.add("custom_emoji"),e.extensions=C7(e),!(e.messagesContainer instanceof Element)&&((n=t==null?void 0:t.closest(".ipsEditor"))!=null&&n.querySelector('[data-role="editor-messages-container"]'))&&(e.messagesContainer=(r=t==null?void 0:t.closest(".ipsEditor"))==null?void 0:r.querySelector('[data-role="editor-messages-container"]')),e.codeMode)return e.tools={toolbar:["codelanguage"]},e;if(e.simpleRichText||_7(e,e.extensions),e.stockrepliesenabled){const i=await ey();Object.keys(i).length?window.Debug.log("Loaded stock replies"):(e.stockrepliesenabled=!1,window.Debug.log("No stock replies, disabling the button"))}if(!e.codeMode){for(const i in e.tools)e.tools[i]=e.tools[i].filter(o=>o==="giphy"&&!e.giphyenabled||o==="stockreply"&&!e.stockrepliesenabled?!1:!(e.hidebuttons instanceof Array&&e.hidebuttons.includes(o)));e.parseOptions=e.parseOptions||{},e.parseOptions.preserveWhitespace=!1}return e.tools.toolbar&&e.tools.toolbar[0]!=="block"&&(e.tools.toolbar=["block",...e.tools.toolbar.filter(i=>i!=="block")]),e}let VA=!1;function R7(){if(!VA){for(const e of["click","focus","keydown","keyup"])document.addEventListener(e,t=>{var n,r,i;(r=(n=t.target)==null?void 0:n.closest)!=null&&r.call(n,".ipsEditor__toolbar-item--unavailable")&&(t.preventDefault(),t.stopPropagation(),(i=t.stopImmediatePropagation)==null||i.call(t))},{capture:!0});VA=!0}}setTimeout(()=>window.ips.createModule("ips.utils.tiptap",()=>{const e=()=>({tools:{toolbar:["block","insert","bold","italic","underline","size","color","link","icon","stockreply","giphy","clear","format","tableOptions"]},allowedIframeDomains:window.ips.getSetting("allowedIframeDomains")||[],restrictions:new Set});return document.dispatchEvent(new CustomEvent("ipsTiptapLoaded")),{editorInstance(t,n={}){const r=yE.createRoot(t),i=fr.debounce((o,s)=>{s([o,r]),o instanceof Ux&&o.options.name&&setTimeout(()=>o.options.jQuery(o.view.dom.closest("[data-ipseditorv5]")).trigger("editorWidgetInitialized",{id:o.options.name}))},10,{leading:!1});return R7(),new Promise(o=>{zA({...e(),...n},t).then(s=>{r.render(N.jsx(it.StrictMode,{children:N.jsx(Q8,{resolve:a=>{i(a,o)},config:s})}))})})},allCodeLanguages:Nl,async decorateSimpleRichTextConfig(t){return t.simpleRichText=!0,await zA(t)}}}));
@@ -69,7 +69,7 @@
"isDynamicEntry": true
},
"src/main.jsx": {
"file": "assets/main-CbPFTxeK.js",
"file": "assets/main-BwLJeu7q.js",
"name": "main",
"src": "src/main.jsx",
"isEntry": true,
@@ -85,9 +85,6 @@
"src/assets/icons/wrap.svg",
"src/assets/icons/wrapInverted.svg",
"src/assets/icons/wrapNone.svg"
],
"css": [
"assets/main-D_J_Hmvj.css"
]
}
}
@@ -0,0 +1,31 @@
/*!-----------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/vscode/blob/main/LICENSE.txt
*-----------------------------------------------------------*/(function(){var J=["require","exports","vs/editor/common/core/range","vs/base/common/errors","vs/editor/common/core/position","vs/editor/common/core/offsetRange","vs/base/common/strings","vs/base/common/arrays","vs/base/common/lifecycle","vs/base/common/event","vs/editor/common/diff/defaultLinesDiffComputer/algorithms/diffAlgorithm","vs/base/common/platform","vs/base/common/assert","vs/editor/common/core/lineRange","vs/base/common/uri","vs/base/common/arraysFind","vs/editor/common/diff/defaultLinesDiffComputer/utils","vs/editor/common/diff/rangeMapping","vs/base/common/functional","vs/base/common/iterator","vs/base/common/linkedList","vs/base/common/map","vs/base/common/stopwatch","vs/base/common/cancellation","vs/base/common/diff/diff","vs/base/common/types","vs/base/common/codiconsUtil","vs/base/common/objects","vs/base/common/uint","vs/editor/common/core/characterClassifier","vs/editor/common/core/textLength","vs/editor/common/core/wordHelper","vs/editor/common/diff/defaultLinesDiffComputer/algorithms/myersDiffAlgorithm","vs/editor/common/diff/defaultLinesDiffComputer/linesSliceCharSequence","vs/editor/common/diff/linesDiffComputer","vs/nls.messages","vs/nls","vs/base/common/path","vs/base/common/network","vs/base/common/cache","vs/base/common/color","vs/base/common/diff/diffChange","vs/base/common/keyCodes","vs/base/common/lazy","vs/base/common/hash","vs/base/common/symbols","vs/base/common/codiconsLibrary","vs/base/common/codicons","vs/editor/common/core/selection","vs/editor/common/core/positionToOffset","vs/editor/common/core/textEdit","vs/editor/common/core/wordCharacterClassifier","vs/editor/common/diff/defaultLinesDiffComputer/heuristicSequenceOptimizations","vs/editor/common/diff/defaultLinesDiffComputer/lineSequence","vs/editor/common/diff/defaultLinesDiffComputer/algorithms/dynamicProgrammingDiffing","vs/editor/common/diff/defaultLinesDiffComputer/computeMovedLines","vs/editor/common/diff/defaultLinesDiffComputer/defaultLinesDiffComputer","vs/editor/common/diff/legacyLinesDiffComputer","vs/editor/common/diff/linesDiffComputers","vs/editor/common/languages/defaultDocumentColorsComputer","vs/editor/common/languages/linkComputer","vs/editor/common/languages/supports/inplaceReplaceSupport","vs/editor/common/model","vs/editor/common/model/prefixSumComputer","vs/editor/common/model/mirrorTextModel","vs/editor/common/model/textModelSearch","vs/editor/common/services/editorWorkerHost","vs/editor/common/services/findSectionHeaders","vs/editor/common/services/unicodeTextModelHighlighter","vs/editor/common/standalone/standaloneEnums","vs/editor/common/tokenizationRegistry","vs/base/common/async","vs/base/common/process","vs/editor/common/languages","vs/editor/common/services/editorBaseApi","vs/editor/common/services/textModelSync/textModelSync.impl","vs/base/common/worker/simpleWorker","vs/editor/common/services/editorSimpleWorker"],Z=function(W){for(var n=[],i=0,x=W.length;i<x;i++)n[i]=J[W[i]];return n};const Re=this,Me=typeof global=="object"?global:{};var ie;(function(W){W.global=Re;class n{get isWindows(){return this._detect(),this._isWindows}get isNode(){return this._detect(),this._isNode}get isElectronRenderer(){return this._detect(),this._isElectronRenderer}get isWebWorker(){return this._detect(),this._isWebWorker}get isElectronNodeIntegrationWebWorker(){return this._detect(),this._isElectronNodeIntegrationWebWorker}constructor(){this._detected=!1,this._isWindows=!1,this._isNode=!1,this._isElectronRenderer=!1,this._isWebWorker=!1,this._isElectronNodeIntegrationWebWorker=!1}_detect(){this._detected||(this._detected=!0,this._isWindows=n._isWindows(),this._isNode=typeof module<"u"&&!!module.exports,this._isElectronRenderer=typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.electron<"u"&&process.type==="renderer",this._isWebWorker=typeof W.global.importScripts=="function",this._isElectronNodeIntegrationWebWorker=this._isWebWorker&&typeof process<"u"&&typeof process.versions<"u"&&typeof process.versions.electron<"u"&&process.type==="worker")}static _isWindows(){return typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.indexOf("Windows")>=0?!0:typeof process<"u"?process.platform==="win32":!1}}W.Environment=n})(ie||(ie={}));var ie;(function(W){class n{constructor(d,f,p){this.type=d,this.detail=f,this.timestamp=p}}W.LoaderEvent=n;class i{constructor(d){this._events=[new n(1,"",d)]}record(d,f){this._events.push(new n(d,f,W.Utilities.getHighPerformanceTimestamp()))}getEvents(){return this._events}}W.LoaderEventRecorder=i;class x{record(d,f){}getEvents(){return[]}}x.INSTANCE=new x,W.NullLoaderEventRecorder=x})(ie||(ie={}));var ie;(function(W){class n{static fileUriToFilePath(x,A){if(A=decodeURI(A).replace(/%23/g,"#"),x){if(/^file:\/\/\//.test(A))return A.substr(8);if(/^file:\/\//.test(A))return A.substr(5)}else if(/^file:\/\//.test(A))return A.substr(7);return A}static startsWith(x,A){return x.length>=A.length&&xLine truncated
//# sourceURL=${m}`,(r?self.eval(r.createScript("",o)):new Function(o)).call(self),e()}).then(void 0,h);return}try{r&&(m=r.createScriptURL(m)),importScripts(m),e()}catch(o){h(o)}}}}class d{constructor(a){this._env=a,this._didInitialize=!1,this._didPatchNodeRequire=!1}_init(a){this._didInitialize||(this._didInitialize=!0,this._fs=a("fs"),this._vm=a("vm"),this._path=a("path"),this._crypto=a("crypto"))}_initNodeRequire(a,m){const{nodeCachedData:e}=m.getConfig().getOptionsLiteral();if(!e||this._didPatchNodeRequire)return;this._didPatchNodeRequire=!0;const h=this,r=a("module");function s(o){const u=o.constructor;let S=function(N){try{return o.require(N)}finally{}};return S.resolve=function(N,P){return u._resolveFilename(N,o,!1,P)},S.resolve.paths=function(N){return u._resolveLookupPaths(N,o)},S.main=process.mainModule,S.extensions=u._extensions,S.cache=u._cache,S}r.prototype._compile=function(o,u){const S=r.wrap(o.replace(/^#!.*/,"")),L=m.getRecorder(),N=h._getCachedDataPath(e,u),P={filename:u};let E;try{const y=h._fs.readFileSync(N);E=y.slice(0,16),P.cachedData=y.slice(16),L.record(60,N)}catch{L.record(61,N)}const v=new h._vm.Script(S,P),l=v.runInThisContext(P),b=h._path.dirname(u),g=s(this),w=[this.exports,g,this,u,b,process,Me,Buffer],M=l.apply(this.exports,w);return h._handleCachedData(v,S,N,!P.cachedData,m),h._verifyCachedData(v,S,N,E,m),M}}load(a,m,e,h){const r=a.getConfig().getOptionsLiteral(),s=f(a.getRecorder(),r.nodeRequire||W.global.nodeRequire),o=r.nodeInstrumenter||function(S){return S};this._init(s),this._initNodeRequire(s,a);let u=a.getRecorder();if(/^node\|/.test(m)){let S=m.split("|"),L=null;try{L=s(S[1])}catch(N){h(N);return}a.enqueueDefineAnonymousModule([],()=>L),e()}else{m=W.Utilities.fileUriToFilePath(this._env.isWindows,m);const S=this._path.normalize(m),L=this._getElectronRendererScriptPathOrUri(S),N=!!r.nodeCachedData,P=N?this._getCachedDataPath(r.nodeCachedData,m):void 0;this._readSourceAndCachedData(S,P,u,(E,v,l,b)=>{if(E){h(E);return}let g;v.charCodeAt(0)===d._BOM?g=d._PREFIX+v.substring(1)+d._SUFFIX:g=d._PREFIX+v+d._SUFFIX,g=o(g,S);const w={filename:L,cachedData:l},M=this._createAndEvalScript(a,g,w,e,h);this._handleCachedData(M,g,P,N&&!l,a),this._verifyCachedData(M,g,P,b,a)})}}_createAndEvalScript(a,m,e,h,r){const s=a.getRecorder();s.record(31,e.filename);const o=new this._vm.Script(m,e),u=o.runInThisContext(e),S=a.getGlobalAMDDefineFunc();let L=!1;const N=function(){return L=!0,S.apply(null,arguments)};return N.amd=S.amd,u.call(W.global,a.getGlobalAMDRequireFunc(),N,e.filename,this._path.dirname(e.filename)),s.record(32,e.filename),L?h():r(new Error(`Didn't receive define call in ${e.filename}!`)),o}_getElectronRendererScriptPathOrUri(a){if(!this._env.isElectronRenderer)return a;let m=a.match(/^([a-z])\:(.*)/i);return m?`file:///${(m[1].toUpperCase()+":"+m[2]).replace(/\\/g,"/")}`:`file://${a}`}_getCachedDataPath(a,m){const e=this._crypto.createHash("md5").update(m,"utf8").update(a.seed,"utf8").update(process.arch,"").digest("hex"),h=this._path.basename(m).replace(/\.js$/,"");return this._path.join(a.path,`${h}-${e}.code`)}_handleCachedData(a,m,e,h,r){a.cachedDataRejected?this._fs.unlink(e,s=>{r.getRecorder().record(62,e),this._createAndWriteCachedData(a,m,e,r),s&&r.getConfig().onError(s)}):h&&this._createAndWriteCachedData(a,m,e,r)}_createAndWriteCachedData(a,m,e,h){let r=Math.ceil(h.getConfig().getOptionsLiteral().nodeCachedData.writeDelay*(1+Math.random())),s=-1,o=0,u;const S=()=>{setTimeout(()=>{u||(u=this._crypto.createHash("md5").update(m,"utf8").digest());const L=a.createCachedData();if(!(L.length===0||L.length===s||o>=5)){if(L.length<s){S();return}s=L.length,this._fs.writeFile(e,Buffer.concat([u,L]),N=>{N&&h.getConfig().onError(N),h.getRecorder().record(63,e),S()})}},r*Math.pow(4,o++))};S()}_readSourceAndCachedData(a,m,e,h){if(!m)this._fs.readFile(a,{encoding:"utf8"},h);else{let r,s,o,u=2;const S=L=>{L?h(L):--u===0&&h(void 0,r,s,o)};this._fs.readFile(a,{encoding:"utf8"},(L,N)=>{r=N,S(L)}),this._fs.readFile(m,(L,N)=>{!L&&N&&N.length>0?(o=N.slice(0,16),s=N.slice(16),e.record(60,m)):e.record(61,m),S()})}}_verifyCachedData(a,m,e,h,r){h&&(a.cachedDataRejected||setTimeout(()=>{const s=this._crypto.createHash("md5").update(m,"utf8").digest();h.equals(s)||(r.getConfig().onError(new Error(`FAILED TO VERIFY CACHED DATA, deleting stale '${e}' now, but a RESTART IS REQUIRED`)),this._fs.unlink(e,o=>{o&&r.getConfig().onError(o)}))},Math.ceil(5e3*(1+Math.random()))))}}d._BOM=65279,d._PREFIX="(function (require, define, __filename, __dirname) { ",d._SUFFIX=`
});`;function f(c,a){if(a.__$__isRecorded)return a;const m=function(h){c.record(33,h);try{return a(h)}finally{c.record(34,h)}};return m.__$__isRecorded=!0,m}W.ensureRecordedNodeRequire=f;function p(c){return new n(c)}W.createScriptLoader=p})(ie||(ie={}));var ie;(function(W){class n{constructor(c){let a=c.lastIndexOf("/");a!==-1?this.fromModulePath=c.substr(0,a+1):this.fromModulePath=""}static _normalizeModuleId(c){let a=c,m;for(m=/\/\.\//;m.test(a);)a=a.replace(m,"/");for(a=a.replace(/^\.\//g,""),m=/\/(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//;m.test(a);)a=a.replace(m,"/");return a=a.replace(/^(([^\/])|([^\/][^\/\.])|([^\/\.][^\/])|([^\/][^\/][^\/]+))\/\.\.\//,""),a}resolveModule(c){let a=c;return W.Utilities.isAbsolutePath(a)||(W.Utilities.startsWith(a,"./")||W.Utilities.startsWith(a,"../"))&&(a=n._normalizeModuleId(this.fromModulePath+a)),a}}n.ROOT=new n(""),W.ModuleIdResolver=n;class i{constructor(c,a,m,e,h,r){this.id=c,this.strId=a,this.dependencies=m,this._callback=e,this._errorback=h,this.moduleIdResolver=r,this.exports={},this.error=null,this.exportsPassedIn=!1,this.unresolvedDependenciesCount=this.dependencies.length,this._isComplete=!1}static _safeInvokeFunction(c,a){try{return{returnedValue:c.apply(W.global,a),producedError:null}}catch(m){return{returnedValue:null,producedError:m}}}static _invokeFactory(c,a,m,e){return c.shouldInvokeFactory(a)?c.shouldCatchError()?this._safeInvokeFunction(m,e):{returnedValue:m.apply(W.global,e),producedError:null}:{returnedValue:null,producedError:null}}complete(c,a,m,e){this._isComplete=!0;let h=null;if(this._callback)if(typeof this._callback=="function"){c.record(21,this.strId);let r=i._invokeFactory(a,this.strId,this._callback,m);h=r.producedError,c.record(22,this.strId),!h&&typeof r.returnedValue<"u"&&(!this.exportsPassedIn||W.Utilities.isEmpty(this.exports))&&(this.exports=r.returnedValue)}else this.exports=this._callback;if(h){let r=W.ensureError(h);r.phase="factory",r.moduleId=this.strId,r.neededBy=e(this.id),this.error=r,a.onError(r)}this.dependencies=null,this._callback=null,this._errorback=null,this.moduleIdResolver=null}onDependencyError(c){return this._isComplete=!0,this.error=c,this._errorback?(this._errorback(c),!0):!1}isComplete(){return this._isComplete}}W.Module=i;class x{constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,this._intModuleIdToStrModuleId=[],this.getModuleId("exports"),this.getModuleId("module"),this.getModuleId("require")}getMaxModuleId(){return this._nextId}getModuleId(c){let a=this._strModuleIdToIntModuleId.get(c);return typeof a>"u"&&(a=this._nextId++,this._strModuleIdToIntModuleId.set(c,a),this._intModuleIdToStrModuleId[a]=c),a}getStrModuleId(c){return this._intModuleIdToStrModuleId[c]}}class A{constructor(c){this.id=c}}A.EXPORTS=new A(0),A.MODULE=new A(1),A.REQUIRE=new A(2),W.RegularDependency=A;class d{constructor(c,a,m){this.id=c,this.pluginId=a,this.pluginParam=m}}W.PluginDependency=d;class f{constructor(c,a,m,e,h=0){this._env=c,this._scriptLoader=a,this._loaderAvailableTimestamp=h,this._defineFunc=m,this._requireFunc=e,this._moduleIdProvider=new x,this._config=new W.Configuration(this._env),this._hasDependencyCycle=!1,this._modules2=[],this._knownModules2=[],this._inverseDependencies2=[],this._inversePluginDependencies2=new Map,this._currentAnonymousDefineCall=null,this._recorder=null,this._buildInfoPath=[],this._buildInfoDefineStack=[],this._buildInfoDependencies=[],this._requireFunc.moduleManager=this}reset(){return new f(this._env,this._scriptLoader,this._defineFunc,this._requireFunc,this._loaderAvailableTimestamp)}getGlobalAMDDefineFunc(){return this._defineFunc}getGlobalAMDRequireFunc(){return this._requireFunc}static _findRelevantLocationInStack(c,a){let m=r=>r.replace(/\\/g,"/"),e=m(c),h=a.split(/\n/);for(let r=0;r<h.length;r++){let s=h[r].match(/(.*):(\d+):(\d+)\)?$/);if(s){let o=s[1],u=s[2],S=s[3],L=Math.max(o.lastIndexOf(" ")+1,o.lastIndexOf("(")+1);if(o=o.substr(L),o=m(o),o===e){let N={line:parseInt(u,10),col:parseInt(S,10)};return N.line===1&&(N.col-=53),N}}}throw new Error("Could not correlate define call site for needle "+c)}getBuildInfo(){if(!this._config.isBuild())return null;let c=[],a=0;for(let m=0,e=this._modules2.length;m<e;m++){let h=this._modules2[m];if(!h)continue;let r=this._buildInfoPath[h.id]||null,s=this._buildInfoDefineStack[h.id]||null,o=this._buildInfoDependencies[h.id];c[a++]={id:h.strId,path:r,defineLocation:r&&s?f._findRelevantLocationInStack(r,s):null,dependencies:o,shim:null,exports:h.exports}}return c}getRecorder(){return this._recorder||(this._config.shouldRecordStats()?this._recorder=new W.LoaderEventRecorder(this._loaderAvailableTimestamp):this._recorder=W.NullLoaderEventRecorder.INSTANCE),this._recorder}getLoaderEvents(){return this.getRecorder().getEvents()}enqueueDefineAnonymousModule(c,a){if(this._currentAnonymousDefineCall!==null)throw new Error("Can only have one anonymous define call per script file");let m=null;this._config.isBuild()&& Line truncated
`)),c.unresolvedDependenciesCount--;continue}if(this._inverseDependencies2[h.id]=this._inverseDependencies2[h.id]||[],this._inverseDependencies2[h.id].push(c.id),h instanceof d){let s=this._modules2[h.pluginId];if(s&&s.isComplete()){this._loadPluginDependency(s.exports,h);continue}let o=this._inversePluginDependencies2.get(h.pluginId);o||(o=[],this._inversePluginDependencies2.set(h.pluginId,o)),o.push(h),this._loadModule(h.pluginId);continue}this._loadModule(h.id)}c.unresolvedDependenciesCount===0&&this._onModuleComplete(c)}_onModuleComplete(c){let a=this.getRecorder();if(c.isComplete())return;let m=c.dependencies,e=[];if(m)for(let o=0,u=m.length;o<u;o++){let S=m[o];if(S===A.EXPORTS){e[o]=c.exports;continue}if(S===A.MODULE){e[o]={id:c.strId,config:()=>this._config.getConfigForModule(c.strId)};continue}if(S===A.REQUIRE){e[o]=this._createRequire(c.moduleIdResolver);continue}let L=this._modules2[S.id];if(L){e[o]=L.exports;continue}e[o]=null}const h=o=>(this._inverseDependencies2[o]||[]).map(u=>this._moduleIdProvider.getStrModuleId(u));c.complete(a,this._config,e,h);let r=this._inverseDependencies2[c.id];if(this._inverseDependencies2[c.id]=null,r)for(let o=0,u=r.length;o<u;o++){let S=r[o],L=this._modules2[S];L.unresolvedDependenciesCount--,L.unresolvedDependenciesCount===0&&this._onModuleComplete(L)}let s=this._inversePluginDependencies2.get(c.id);if(s){this._inversePluginDependencies2.delete(c.id);for(let o=0,u=s.length;o<u;o++)this._loadPluginDependency(c.exports,s[o])}}}W.ModuleManager=f})(ie||(ie={}));var X,ie;(function(W){const n=new W.Environment;let i=null;const x=function(p,c,a){typeof p!="string"&&(a=c,c=p,p=null),(typeof c!="object"||!Array.isArray(c))&&(a=c,c=null),c||(c=["require","exports","module"]),p?i.defineModule(p,c,a,null,null):i.enqueueDefineAnonymousModule(c,a)};x.amd={jQuery:!0};const A=function(p,c=!1){i.configure(p,c)},d=function(){if(arguments.length===1){if(arguments[0]instanceof Object&&!Array.isArray(arguments[0])){A(arguments[0]);return}if(typeof arguments[0]=="string")return i.synchronousRequire(arguments[0])}if((arguments.length===2||arguments.length===3)&&Array.isArray(arguments[0])){i.defineModule(W.Utilities.generateAnonymousModule(),arguments[0],arguments[1],arguments[2],null);return}throw new Error("Unrecognized require call")};d.config=A,d.getConfig=function(){return i.getConfig().getOptionsLiteral()},d.reset=function(){i=i.reset()},d.getBuildInfo=function(){return i.getBuildInfo()},d.getStats=function(){return i.getLoaderEvents()},d.define=x;function f(){if(typeof W.global.require<"u"||typeof require<"u"){const p=W.global.require||require;if(typeof p=="function"&&typeof p.resolve=="function"){const c=W.ensureRecordedNodeRequire(i.getRecorder(),p);W.global.nodeRequire=c,d.nodeRequire=c,d.__$__nodeRequire=c}}n.isNode&&!n.isElectronRenderer&&!n.isElectronNodeIntegrationWebWorker?module.exports=d:(n.isElectronRenderer||(W.global.define=x),W.global.require=d)}W.init=f,(typeof W.global.define!="function"||!W.global.define.amd)&&(i=new W.ModuleManager(n,W.createScriptLoader(n),x,d,W.Utilities.getHighPerformanceTimestamp()),typeof W.global.require<"u"&&typeof W.global.require!="function"&&d.config(W.global.require),X=function(){return x.apply(null,arguments)},X.amd=x.amd,typeof doNotInitLoader>"u"&&f())})(ie||(ie={})),function(){const W=globalThis.MonacoEnvironment,n=W&&W.baseUrl?W.baseUrl:"../../../";function i(e,h){if(W?.createTrustedTypesPolicy)try{return W.createTrustedTypesPolicy(e,h)}catch(r){console.warn(r);return}try{return self.trustedTypes?.createPolicy(e,h)}catch(r){console.warn(r);return}}const x=i("amdLoader",{createScriptURL:e=>e,createScript:(e,...h)=>{const r=h.slice(0,-1).join(","),s=h.pop().toString();return`(function anonymous(${r}) { ${s}
})`}});function A(){try{return(x?globalThis.eval(x.createScript("","true")):new Function("true")).call(globalThis),!0}catch{return!1}}function d(){return new Promise((e,h)=>{if(typeof globalThis.define=="function"&&globalThis.define.amd)return e();const r=n+"vs/loader.js";if(!(/^((http:)|(https:)|(file:))/.test(r)&&r.substring(0,globalThis.origin.length)!==globalThis.origin)&&A()){fetch(r).then(o=>{if(o.status!==200)throw new Error(o.statusText);return o.text()}).then(o=>{o=`${o}
//# sourceURL=${r}`,(x?globalThis.eval(x.createScript("",o)):new Function(o)).call(globalThis),e()}).then(void 0,h);return}x?importScripts(x.createScriptURL(r)):importScripts(r),e()})}function f(){require.config({baseUrl:n,catchError:!0,trustedTypesPolicy:x,amdModulesPattern:/^vs\//})}function p(e){return d().then(()=>(f(),new Promise((h,r)=>{require([e],h,r)})))}function c(e){setTimeout(function(){const h=e.create((r,s)=>{globalThis.postMessage(r,s)});for(self.onmessage=r=>h.onmessage(r.data,r.ports);m.length>0;)self.onmessage(m.shift())},0)}typeof globalThis.define=="function"&&globalThis.define.amd&&f();let a=!0;const m=[];globalThis.onmessage=e=>{if(!a){m.push(e);return}a=!1,p(e.data).then(h=>{c(h)},h=>{console.error(h)})}}(),X(J[7],Z([0,1]),function(W,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Permutation=n.CallbackIterable=n.ArrayQueue=n.booleanComparator=n.numberComparator=n.CompareResult=void 0,n.tail=i,n.tail2=x,n.equals=A,n.removeFastWithoutKeepingOrder=d,n.binarySearch=f,n.binarySearch2=p,n.quickSelect=c,n.groupBy=a,n.groupAdjacentBy=m,n.forEachAdjacent=e,n.forEachWithNeighbors=h,n.coalesce=r,n.coalesceInPlace=s,n.isFalsyOrEmpty=o,n.isNonEmptyArray=u,n.distinct=S,n.firstOrDefault=L,n.range=N,n.arrayInsert=P,n.pushToStart=E,n.pushToEnd=v,n.pushMany=l,n.asArray=b,n.insertInto=g,n.splice=w,n.compareBy=_,n.tieBreakComparators=C,n.reverseOrder=T;function i(F,q=0){return F[F.length-(1+q)]}function x(F){if(F.length===0)throw new Error("Invalid tail call");return[F.slice(0,F.length-1),F[F.length-1]]}function A(F,q,B=(G,$)=>G===$){if(F===q)return!0;if(!F||!q||F.length!==q.length)return!1;for(let G=0,$=F.length;G<$;G++)if(!B(F[G],q[G]))return!1;return!0}function d(F,q){const B=F.length-1;q<B&&(F[q]=F[B]),F.pop()}function f(F,q,B){return p(F.length,G=>B(F[G],q))}function p(F,q){let B=0,G=F-1;for(;B<=G;){const $=(B+G)/2|0,U=q($);if(U<0)B=$+1;else if(U>0)G=$-1;else return $}return-(B+1)}function c(F,q,B){if(F=F|0,F>=q.length)throw new TypeError("invalid index");const G=q[Math.floor(q.length*Math.random())],$=[],U=[],ee=[];for(const re of q){const ue=B(re,G);ue<0?$.push(re):ue>0?U.push(re):ee.push(re)}return F<$.length?c(F,$,B):F<$.length+ee.length?ee[0]:c(F-($.length+ee.length),U,B)}function a(F,q){const B=[];let G;for(const $ of F.slice(0).sort(q))!G||q(G[0],$)!==0?(G=[$],B.push(G)):G.push($);return B}function*m(F,q){let B,G;for(const $ of F)G!==void 0&&q(G,$)?B.push($):(B&&(yield B),B=[$]),G=$;B&&(yield B)}function e(F,q){for(let B=0;B<=F.length;B++)q(B===0?void 0:F[B-1],B===F.length?void 0:F[B])}function h(F,q){for(let B=0;B<F.length;B++)q(B===0?void 0:F[B-1],F[B],B+1===F.length?void 0:F[B+1])}function r(F){return F.filter(q=>!!q)}function s(F){let q=0;for(let B=0;B<F.length;B++)F[B]&&(F[q]=F[B],q+=1);F.length=q}function o(F){return!Array.isArray(F)||F.length===0}function u(F){return Array.isArray(F)&&F.length>0}function S(F,q=B=>B){const B=new Set;return F.filter(G=>{const $=q(G);return B.has($)?!1:(B.add($),!0)})}function L(F,q){return F.length>0?F[0]:q}function N(F,q){let B=typeof q=="number"?F:0;typeof q=="number"?B=F:(B=0,q=F);const G=[];if(B<=q)for(let $=B;$<q;$++)G.push($);else for(let $=B;$>q;$--)G.push($);return G}function P(F,q,B){const G=F.slice(0,q),$=F.slice(q);return G.concat(B,$)}function E(F,q){const B=F.indexOf(q);B>-1&&(F.splice(B,1),F.unshift(q))}function v(F,q){const B=F.indexOf(q);B>-1&&(F.splice(B,1),F.push(q))}function l(F,q){for(const B of q)F.push(B)}function b(F){return Array.isArray(F)?F:[F]}function g(F,q,B){const G=M(F,q),$=F.length,U=B.length;F.length=$+U;for(let ee=$-1;ee>=G;ee--)F[ee+U]=F[ee];for(let ee=0;ee<U;ee++)F[ee+G]=B[ee]}function w(F,q,B,G){const $=M(F,q);let U=F.splice($,B);return U===void 0&&(U=[]),g(F,$,G),U}function M(F,q){return q<0?Math.max(q+F.length,0):Math.min(q,F.length)}var y;(function(F){function q(U){return U<0}F.isLessThan=q;function B(U){return U<=0}F.isLessThanOrEqual=B;function G(U){return U>0}F.isGreaterThan=G;function $(U){return U===0}F.isNeitherLessOrGreaterThan=$,F.greaterThan=1,F.lessThan=-1,F.neitherLessOrGreaterThan=0})(y||(n.CompareResult=y={}));function _(F,q){return(B,G)=>q(F(B),F(G))}function C(...F){return(q,B)=>{for(const G of F){const $=G(q,B);if(!y.isNeitherLessOrGreaterThan($))return $}return y.neitherLessOrGreaterThan}}const R=(F,q)=>F-q;n.numberComparator=R;const D=(F,q)=>(0,n.numberComparator)(F?1:0,q?1:0);n.booleanComparator=D;function T(F){return(q,B)=>-F(q,B)}class O{constructor(q){this.items=q,this.firstIdx=0,this.lastIdx=this.items.length-1}get length(){return this.lastIdx-this.firstIdx+1}takeWhile(q){let B=this.firstIdx;for(;B<this.items.length&&q(this.items[B]);)B++;const G=B===this.firstIdx?null:this.items.slice(this.firstIdx,B);return this.firstIdx=B,G}takeFromEndWhile(q){let B=this.lastIdx;for(;B>=0&&q(this.items[B]);)B--;const G=B===this.lastIdx?null:this.items.slice(B+1,this.lastIdx+1);return this.lastIdx=B,G}peek(){if(this.length!==0)return this.items[this.firstIdx]}dequeue(){const q=this.item Line truncated
`+u.stack):new Error(u.message+`
`+u.stack):u},0)}}emit(u){this.listeners.forEach(S=>{S(u)})}onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}}n.ErrorHandler=i,n.errorHandler=new i;function x(o){p(o)||n.errorHandler.onUnexpectedError(o)}function A(o){p(o)||n.errorHandler.onUnexpectedExternalError(o)}function d(o){if(o instanceof Error){const{name:u,message:S}=o,L=o.stacktrace||o.stack;return{$isError:!0,name:u,message:S,stack:L,noTelemetry:r.isErrorNoTelemetry(o)}}return o}const f="Canceled";function p(o){return o instanceof c?!0:o instanceof Error&&o.name===f&&o.message===f}class c extends Error{constructor(){super(f),this.name=this.message}}n.CancellationError=c;function a(){const o=new Error(f);return o.name=o.message,o}function m(o){return o?new Error(`Illegal argument: ${o}`):new Error("Illegal argument")}function e(o){return o?new Error(`Illegal state: ${o}`):new Error("Illegal state")}class h extends Error{constructor(u){super("NotSupported"),u&&(this.message=u)}}n.NotSupportedError=h;class r extends Error{constructor(u){super(u),this.name="CodeExpectedError"}static fromError(u){if(u instanceof r)return u;const S=new r;return S.message=u.message,S.stack=u.stack,S}static isErrorNoTelemetry(u){return u.name==="CodeExpectedError"}}n.ErrorNoTelemetry=r;class s extends Error{constructor(u){super(u||"An unexpected bug occurred."),Object.setPrototypeOf(this,s.prototype)}}n.BugIndicatingError=s}),X(J[12],Z([0,1,3]),function(W,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.ok=x,n.assertNever=A,n.softAssert=d,n.assertFn=f,n.checkAdjacentItems=p;function x(c,a){if(!c)throw new Error(a?`Assertion failed (${a})`:"Assertion Failed")}function A(c,a="Unreachable"){throw new Error(a)}function d(c){c||(0,i.onUnexpectedError)(new i.BugIndicatingError("Soft Assertion Failed"))}function f(c){if(!c()){debugger;c(),(0,i.onUnexpectedError)(new i.BugIndicatingError("Assertion Failed"))}}function p(c,a){let m=0;for(;m<c.length-1;){const e=c[m],h=c[m+1];if(!a(e,h))return!1;m++}return!0}}),X(J[18],Z([0,1]),function(W,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.createSingleCallFunction=i;function i(x,A){const d=this;let f=!1,p;return function(){if(f)return p;if(f=!0,A)try{p=x.apply(d,arguments)}finally{A()}else p=x.apply(d,arguments);return p}}}),X(J[19],Z([0,1]),function(W,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Iterable=void 0;var i;(function(x){function A(l){return l&&typeof l=="object"&&typeof l[Symbol.iterator]=="function"}x.is=A;const d=Object.freeze([]);function f(){return d}x.empty=f;function*p(l){yield l}x.single=p;function c(l){return A(l)?l:p(l)}x.wrap=c;function a(l){return l||d}x.from=a;function*m(l){for(let b=l.length-1;b>=0;b--)yield l[b]}x.reverse=m;function e(l){return!l||l[Symbol.iterator]().next().done===!0}x.isEmpty=e;function h(l){return l[Symbol.iterator]().next().value}x.first=h;function r(l,b){let g=0;for(const w of l)if(b(w,g++))return!0;return!1}x.some=r;function s(l,b){for(const g of l)if(b(g))return g}x.find=s;function*o(l,b){for(const g of l)b(g)&&(yield g)}x.filter=o;function*u(l,b){let g=0;for(const w of l)yield b(w,g++)}x.map=u;function*S(l,b){let g=0;for(const w of l)yield*b(w,g++)}x.flatMap=S;function*L(...l){for(const b of l)yield*b}x.concat=L;function N(l,b,g){let w=g;for(const M of l)w=b(w,M);return w}x.reduce=N;function*P(l,b,g=l.length){for(b<0&&(b+=l.length),g<0?g+=l.length:g>l.length&&(g=l.length);b<g;b++)yield l[b]}x.slice=P;function E(l,b=Number.POSITIVE_INFINITY){const g=[];if(b===0)return[g,l];const w=l[Symbol.iterator]();for(let M=0;M<b;M++){const y=w.next();if(y.done)return[g,x.empty()];g.push(y.value)}return[g,{[Symbol.iterator](){return w}}]}x.consume=E;async function v(l){const b=[];for await(const g of l)b.push(g);return Promise.resolve(b)}x.asyncToArray=v})(i||(n.Iterable=i={}))}),X(J[42],Z([0,1]),function(W,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.KeyCodeUtils=n.IMMUTABLE_KEY_CODE_TO_CODE=n.IMMUTABLE_CODE_TO_KEY_CODE=n.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE=n.EVENT_KEY_CODE_MAP=void 0,n.KeyChord=m;class i{constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(null)}define(h,r){this._keyCodeToStr[h]=r,this._strToKeyCode[r.toLowerCase()]=h}keyCodeToStr(h){return this._keyCodeToStr[h]}strToKeyCode(h){return this._strToKeyCode[h.toLowerCase()]||0}}const x=new i,A=new i,d=new i;n.EVENT_KEY_CODE_MAP=new Array(230),n.NATIVE_WINDOWS_KEY_CODE_TO_KEY_CODE={};const f=[],p=Object.create(null),c=Object.create(null);n.IMMUTABLE_CODE_TO_KEY_CODE=[],n.IMMUTABLE_KEY_CODE_TO_CODE=[];for(let e=0;e<=193;e++)n.IMMUTABLE_CODE_TO_KEY_CODE[e]=-1;for(let e=0;e<=132;e++)n.IMMUTABLE_KEY_CODE_TO_CODE[e]=-1;(function(){const e="",h=[[1,0,"None",0,"unknown",0,"VK_UNKNOWN",e,e],[1,1,"Hyper",0,e,0,e,e,e],[1,2,"Super",0,e,0,e,e,e],[1,3,"Fn",0,e,0,e,e,e],[1,4,"FnLock",0,e,0,e,e,e],[1,5,"Suspend",0,e,0,e,e,e],[1,6,"Resume",0,e,0,e,e,e],[1,7,"Turbo",0,e,0,e,e,e] Line truncated
`).slice(2).join(`
`))}}class o extends Error{constructor(R,D){super(R),this.name="ListenerLeakError",this.stack=D}}n.ListenerLeakError=o;class u extends Error{constructor(R,D){super(R),this.name="ListenerRefusalError",this.stack=D}}n.ListenerRefusalError=u;class S{constructor(R){this.value=R}}const L=2,N=(C,R)=>{if(C instanceof S)R(C);else for(let D=0;D<C.length;D++){const T=C[D];T&&R(T)}};let P;if(p){const C=[];setInterval(()=>{C.length!==0&&(console.warn("[LEAKING LISTENERS] GC'ed these listeners that were NOT yet disposed:"),console.warn(C.join(`
`)),C.length=0)},3e3),P=new FinalizationRegistry(R=>{typeof R=="string"&&C.push(R)})}class E{constructor(R){this._size=0,this._options=R,this._leakageMon=h>0||this._options?.leakWarningThreshold?new r(R?.onListenerError??i.onUnexpectedError,this._options?.leakWarningThreshold??h):void 0,this._perfMon=this._options?._profName?new e(this._options._profName):void 0,this._deliveryQueue=this._options?.deliveryQueue}dispose(){if(!this._disposed){if(this._disposed=!0,this._deliveryQueue?.current===this&&this._deliveryQueue.reset(),this._listeners){if(c){const R=this._listeners;queueMicrotask(()=>{N(R,D=>D.stack?.print())})}this._listeners=void 0,this._size=0}this._options?.onDidRemoveLastListener?.(),this._leakageMon?.dispose()}}get event(){return this._event??=(R,D,T)=>{if(this._leakageMon&&this._size>this._leakageMon.threshold**2){const q=`[${this._leakageMon.name}] REFUSES to accept new listeners because it exceeded its threshold by far (${this._size} vs ${this._leakageMon.threshold})`;console.warn(q);const B=this._leakageMon.getMostFrequentStack()??["UNKNOWN stack",-1],G=new u(`${q}. HINT: Stack shows most frequent listener (${B[1]}-times)`,B[0]);return(this._options?.onListenerError||i.onUnexpectedError)(G),A.Disposable.None}if(this._disposed)return A.Disposable.None;D&&(R=R.bind(D));const O=new S(R);let z,j;this._leakageMon&&this._size>=Math.ceil(this._leakageMon.threshold*.2)&&(O.stack=s.create(),z=this._leakageMon.check(O.stack,this._size+1)),c&&(O.stack=j??s.create()),this._listeners?this._listeners instanceof S?(this._deliveryQueue??=new l,this._listeners=[this._listeners,O]):this._listeners.push(O):(this._options?.onWillAddFirstListener?.(this),this._listeners=O,this._options?.onDidAddFirstListener?.(this)),this._size++;const F=(0,A.toDisposable)(()=>{P?.unregister(F),z?.(),this._removeListener(O)});if(T instanceof A.DisposableStore?T.add(F):Array.isArray(T)&&T.push(F),P){const q=new Error().stack.split(`
`).slice(2,3).join(`
`).trim(),B=/(file:|vscode-file:\/\/vscode-app)?(\/[^:]*:\d+:\d+)/.exec(q);P.register(F,B?.[2]??q,F)}return F},this._event}_removeListener(R){if(this._options?.onWillRemoveListener?.(this),!this._listeners)return;if(this._size===1){this._listeners=void 0,this._options?.onDidRemoveLastListener?.(this),this._size=0;return}const D=this._listeners,T=D.indexOf(R);if(T===-1)throw console.log("disposed?",this._disposed),console.log("size?",this._size),console.log("arr?",JSON.stringify(this._listeners)),new Error("Attempted to dispose unknown listener");this._size--,D[T]=void 0;const O=this._deliveryQueue.current===this;if(this._size*L<=D.length){let z=0;for(let j=0;j<D.length;j++)D[j]?D[z++]=D[j]:O&&(this._deliveryQueue.end--,z<this._deliveryQueue.i&&this._deliveryQueue.i--);D.length=z}}_deliver(R,D){if(!R)return;const T=this._options?.onListenerError||i.onUnexpectedError;if(!T){R.value(D);return}try{R.value(D)}catch(O){T(O)}}_deliverQueue(R){const D=R.current._listeners;for(;R.i<R.end;)this._deliver(D[R.i++],R.value);R.reset()}fire(R){if(this._deliveryQueue?.current&&(this._deliverQueue(this._deliveryQueue),this._perfMon?.stop()),this._perfMon?.start(this._size),this._listeners)if(this._listeners instanceof S)this._deliver(this._listeners,R);else{const D=this._deliveryQueue;D.enqueue(this,R,this._listeners.length),this._deliverQueue(D)}this._perfMon?.stop()}hasListeners(){return this._size>0}}n.Emitter=E;const v=()=>new l;n.createEventDeliveryQueue=v;class l{constructor(){this.i=-1,this.end=0}enqueue(R,D,T){this.i=0,this.end=T,this.current=R,this.value=D}reset(){this.i=this.end,this.current=void 0,this.value=void 0}}class b extends E{constructor(R){super(R),this._isPaused=0,this._eventQueue=new d.LinkedList,this._mergeFn=R?.merge}pause(){this._isPaused++}resume(){if(this._isPaused!==0&&--this._isPaused===0)if(this._mergeFn){if(this._eventQueue.size>0){const R=Array.from(this._eventQueue);this._eventQueue.clear(),super.fire(this._mergeFn(R))}}else for(;!this._isPaused&&this._eventQueue.size!==0;)super.fire(this._eventQueue.shift())}fire(R){this._size&&(this._isPaused!==0?this._eventQueue.push(R):super.fire(R))}}n.PauseableEmitter=b;class g extends b{constructor(R){super(R),this._delay=R.delay??100}fire(R){this._handle||(this.pause(),this._handle=setTimeout(()=>{this._handle=void 0,this.resume()},this._delay)),super.fire(R)}}n.DebounceEmitter=g;class w extends E{constructor(R){super(R),this._queuedEvents=[],this._mergeFn=R?.merge}fire(R){this.hasListeners()&&(this._queuedEvents.push(R),this._queuedEvents.length===1&&queueMicrotask(()=>{this._mergeFn?super.fire(this._mergeFn(this._queuedEvents)):this._queuedEvents.forEach(D=>super.fire(D)),this._queuedEvents=[]}))}}n.MicrotaskEmitter=w;class M{constructor(){this.hasListeners=!1,this.events=[],this.emitter=new E({onWillAddFirstListener:()=>this.onFirstListenerAdd(),onDidRemoveLastListener:()=>this.onLastListenerRemove()})}get event(){return this.emitter.event}add(R){const D={event:R,listener:null};this.events.push(D),this.hasListeners&&this.hook(D);const T=()=>{this.hasListeners&&this.unhook(D);const O=this.events.indexOf(D);this.events.splice(O,1)};return(0,A.toDisposable)((0,x.createSingleCallFunction)(T))}onFirstListenerAdd(){this.hasListeners=!0,this.events.forEach(R=>this.hook(R))}onLastListenerRemove(){this.hasListeners=!1,this.events.forEach(R=>this.unhook(R))}hook(R){R.listener=R.event(D=>this.emitter.fire(D))}unhook(R){R.listener?.dispose(),R.listener=null}dispose(){this.emitter.dispose();for(const R of this.events)R.listener?.dispose();this.events=[]}}n.EventMultiplexer=M;class y{constructor(){this.data=[]}wrapEvent(R,D,T){return(O,z,j)=>R(F=>{const q=this.data[this.data.length-1];if(!D){q?q.buffers.push(()=>O.call(z,F)):O.call(z,F);return}const B=q;if(!B){O.call(z,D(T,F));return}B.items??=[],B.items.push(F),B.buffers.length===0&&q.buffers.push(()=>{B.reducedResult??=T?B.items.reduce(D,T):B.items.reduce(D),O.call(z,B.reducedResult)})},void 0,j)}bufferEvents(R){const D={buffers:new Array};this.data.push(D);const T=R();return this.data.pop(),D.buffers.forEach(O=>O()),T}}n.EventBufferer=y;class _{constructor(){this.listening=!1,this.inputEvent=m.None,this.inputEventListener=A.Disposable.None,this.emitter=new E({onDidAddFirstListener:()=>{this.listening=!0,this.inputEventListener=this.inputEvent(this.emitter.fire,this.emitter)},onDidRemoveLastListener:()=>{this.listening=!1,this.inputEventListener.dispose()}}),this.event=this.emitter.event}set input(R){this.inputEvent=R,this.listening&&(this.inputEventListener.dispose(),this.inputEventListener=R(this.emitter.fire,this.emitter))}dispose(){this.inputEventListener.dispose(),this.emitter.dispose()}}n.Relay=_}),X(J[23],Z([0,1,9]),function(W,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.CancellationTokenSource=n.CancellationToken=void 0,n.cancelOnDispose=p;const x=Object.freeze(function(c,a){const m=setTimeout(c.bind(a),0);return{dispose(){clearTimeout(m)}}});var A;(function(c){function a(m){r Line truncated
`?(p++,c=0):c++;return new A(p,c)}constructor(f,p){this.lineCount=f,this.columnCount=p}isGreaterThanOrEqualTo(f){return this.lineCount!==f.lineCount?this.lineCount>f.lineCount:this.columnCount>=f.columnCount}createRange(f){return this.lineCount===0?new x.Range(f.lineNumber,f.column,f.lineNumber,f.column+this.columnCount):new x.Range(f.lineNumber,f.column,f.lineNumber+this.lineCount,this.columnCount+1)}addToPosition(f){return this.lineCount===0?new i.Position(f.lineNumber,f.column+this.columnCount):new i.Position(f.lineNumber+this.lineCount,this.columnCount+1)}toString(){return`${this.lineCount},${this.columnCount}`}}n.TextLength=A}),X(J[49],Z([0,1,5,30]),function(W,n,i,x){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.PositionOffsetTransformer=void 0;class A{constructor(f){this.text=f,this.lineStartOffsetByLineIdx=[],this.lineStartOffsetByLineIdx.push(0);for(let p=0;p<f.length;p++)f.charAt(p)===`
`&&this.lineStartOffsetByLineIdx.push(p+1)}getOffset(f){return this.lineStartOffsetByLineIdx[f.lineNumber-1]+f.column-1}getOffsetRange(f){return new i.OffsetRange(this.getOffset(f.getStartPosition()),this.getOffset(f.getEndPosition()))}get textLength(){const f=this.lineStartOffsetByLineIdx.length-1;return new x.TextLength(f,this.text.length-this.lineStartOffsetByLineIdx[f])}}n.PositionOffsetTransformer=A}),X(J[50],Z([0,1,12,3,4,49,2,30]),function(W,n,i,x,A,d,f,p){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.StringText=n.AbstractText=n.SingleTextEdit=n.TextEdit=void 0;class c{constructor(s){this.edits=s,(0,i.assertFn)(()=>(0,i.checkAdjacentItems)(s,(o,u)=>o.range.getEndPosition().isBeforeOrEqual(u.range.getStartPosition())))}apply(s){let o="",u=new A.Position(1,1);for(const L of this.edits){const N=L.range,P=N.getStartPosition(),E=N.getEndPosition(),v=m(u,P);v.isEmpty()||(o+=s.getValueOfRange(v)),o+=L.text,u=E}const S=m(u,s.endPositionExclusive);return S.isEmpty()||(o+=s.getValueOfRange(S)),o}applyToString(s){const o=new h(s);return this.apply(o)}getNewRanges(){const s=[];let o=0,u=0,S=0;for(const L of this.edits){const N=p.TextLength.ofText(L.text),P=A.Position.lift({lineNumber:L.range.startLineNumber+u,column:L.range.startColumn+(L.range.startLineNumber===o?S:0)}),E=N.createRange(P);s.push(E),u=E.endLineNumber-L.range.endLineNumber,S=E.endColumn-L.range.endColumn,o=L.range.endLineNumber}return s}}n.TextEdit=c;class a{constructor(s,o){this.range=s,this.text=o}toSingleEditOperation(){return{range:this.range,text:this.text}}}n.SingleTextEdit=a;function m(r,s){if(r.lineNumber===s.lineNumber&&r.column===Number.MAX_SAFE_INTEGER)return f.Range.fromPositions(s,s);if(!r.isBeforeOrEqual(s))throw new x.BugIndicatingError("start must be before end");return new f.Range(r.lineNumber,r.column,s.lineNumber,s.column)}class e{get endPositionExclusive(){return this.length.addToPosition(new A.Position(1,1))}}n.AbstractText=e;class h extends e{constructor(s){super(),this.value=s,this._t=new d.PositionOffsetTransformer(this.value)}getValueOfRange(s){return this._t.getOffsetRange(s).substring(this.value)}get length(){return this._t.textLength}}n.StringText=h}),X(J[51],Z([0,1,21,29]),function(W,n,i,x){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.WordCharacterClassifier=void 0,n.getMapForWordSeparators=f;class A extends x.CharacterClassifier{constructor(c,a){super(0),this._segmenter=null,this._cachedLine=null,this._cachedSegments=[],this.intlSegmenterLocales=a,this.intlSegmenterLocales.length>0?this._segmenter=new Intl.Segmenter(this.intlSegmenterLocales,{granularity:"word"}):this._segmenter=null;for(let m=0,e=c.length;m<e;m++)this.set(c.charCodeAt(m),2);this.set(32,1),this.set(9,1)}findPrevIntlWordBeforeOrAtOffset(c,a){let m=null;for(const e of this._getIntlSegmenterWordsOnLine(c)){if(e.index>a)break;m=e}return m}findNextIntlWordAtOrAfterOffset(c,a){for(const m of this._getIntlSegmenterWordsOnLine(c))if(!(m.index<a))return m;return null}_getIntlSegmenterWordsOnLine(c){return this._segmenter?this._cachedLine===c?this._cachedSegments:(this._cachedLine=c,this._cachedSegments=this._filterWordSegments(this._segmenter.segment(c)),this._cachedSegments):[]}_filterWordSegments(c){const a=[];for(const m of c)this._isWordLike(m)&&a.push(m);return a}_isWordLike(c){return!!c.isWordLike}}n.WordCharacterClassifier=A;const d=new i.LRUCache(10);function f(p,c){const a=`${p}/${c.join(",")}`;let m=d.get(a);return m||(m=new A(p,c),d.set(a,m)),m}}),X(J[31],Z([0,1,19,20]),function(W,n,i,x){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DEFAULT_WORD_REGEXP=n.USUAL_WORD_SEPARATORS=void 0,n.ensureValidWordDefinition=d,n.getWordAtText=p,n.USUAL_WORD_SEPARATORS="`~!@#$%^&*()-=+[{]}\\|;:'\",.<>/?";function A(a=""){let m="(-?\\d*\\.\\d\\w*)|([^";for(const e of n.USUAL_WORD_SEPARATORS)a.indexOf(e)>=0||(m+="\\"+e);return m+="\\s]+)",new RegExp(m,"g")}n.DEFAULT_WORD_REGEXP=A();function d(a){let m=n.DEFAULT_WORD_REGEXP;if(a&&a instanceof RegExp)if(a.global)m=a;else{let e="g";a.ignoreCase&&(e+="i"),a.multiline&&(e+="m"),a.unicode&&(e+="u"),m=new RegExp(a.source,e)}return m.lastIndex=0,m}const f=new x.LinkedList;f.unshift({maxLen:1e3,windowSize:15,timeBudget:150});function p(a,m,e,h,r){if(m=d(m),r||(r=i.Iterable.first(f)),e.length>r.maxLen){let L=a-r.maxLen/2;return L<0?L=0:h+=L,e=e.substring(L,a+r.maxLen/2),p(a,m,e,h,r)}const s=Date.now(),o=a-1-h;let u=-1,S=null;for(let L=1;!(Date.now()-s>=r.timeBudget);L++){const N=o-r.windowSize*L;m.lastIndex=Math.max(0,N);const P=c(m,e,o,u);if(!P&&S||(S=P,N<=0))break;u=N}if(S){const L={word:S[0],startColumn:h+1+S.index,endColumn:h+1+S.index+S[0].length};return m.lastIndex=0,L}return null}function c(a,m,e,h){let r;for(;r=a.exec(m);){const s=r.index||0;if(s<=e&&a.lastIndex>=e)return r;if(h>0&&s>h)return null}return null}}),X(J[10],Z([0,1,7,3,5]),function(W,n,i,x,A){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DateTimeout=n.InfiniteTimeout=n.OffsetPair=n.SLine truncated
`)}isStronglyEqual(d,f){return this.lines[d]===this.lines[f]}}n.LineSequence=i;function x(A){let d=0;for(;d<A.length&&(A.charCodeAt(d)===32||A.charCodeAt(d)===9);)d++;return d}}),X(J[16],Z([0,1]),function(W,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LineRangeFragment=n.Array2D=void 0,n.isSpace=x;class i{constructor(f,p){this.width=f,this.height=p,this.array=[],this.array=new Array(f*p)}get(f,p){return this.array[f+p*this.width]}set(f,p,c){this.array[f+p*this.width]=c}}n.Array2D=i;function x(d){return d===32||d===9}class A{static{this.chrKeys=new Map}static getKey(f){let p=this.chrKeys.get(f);return p===void 0&&(p=this.chrKeys.size,this.chrKeys.set(f,p)),p}constructor(f,p,c){this.range=f,this.lines=p,this.source=c,this.histogram=[];let a=0;for(let m=f.startLineNumber-1;m<f.endLineNumberExclusive-1;m++){const e=p[m];for(let r=0;r<e.length;r++){a++;const s=e[r],o=A.getKey(s);this.histogram[o]=(this.histogram[o]||0)+1}a++;const h=A.getKey(`
`);this.histogram[h]=(this.histogram[h]||0)+1}this.totalCount=a}computeSimilarity(f){let p=0;const c=Math.max(this.histogram.length,f.histogram.length);for(let a=0;a<c;a++)p+=Math.abs((this.histogram[a]??0)-(f.histogram[a]??0));return 1-p/(this.totalCount+f.totalCount)}}n.LineRangeFragment=A}),X(J[54],Z([0,1,5,10,16]),function(W,n,i,x,A){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.DynamicProgrammingDiffing=void 0;class d{compute(p,c,a=x.InfiniteTimeout.instance,m){if(p.length===0||c.length===0)return x.DiffAlgorithmResult.trivial(p,c);const e=new A.Array2D(p.length,c.length),h=new A.Array2D(p.length,c.length),r=new A.Array2D(p.length,c.length);for(let P=0;P<p.length;P++)for(let E=0;E<c.length;E++){if(!a.isValid())return x.DiffAlgorithmResult.trivialTimedOut(p,c);const v=P===0?0:e.get(P-1,E),l=E===0?0:e.get(P,E-1);let b;p.getElement(P)===c.getElement(E)?(P===0||E===0?b=0:b=e.get(P-1,E-1),P>0&&E>0&&h.get(P-1,E-1)===3&&(b+=r.get(P-1,E-1)),b+=m?m(P,E):1):b=-1;const g=Math.max(v,l,b);if(g===b){const w=P>0&&E>0?r.get(P-1,E-1):0;r.set(P,E,w+1),h.set(P,E,3)}else g===v?(r.set(P,E,0),h.set(P,E,1)):g===l&&(r.set(P,E,0),h.set(P,E,2));e.set(P,E,g)}const s=[];let o=p.length,u=c.length;function S(P,E){(P+1!==o||E+1!==u)&&s.push(new x.SequenceDiff(new i.OffsetRange(P+1,o),new i.OffsetRange(E+1,u))),o=P,u=E}let L=p.length-1,N=c.length-1;for(;L>=0&&N>=0;)h.get(L,N)===3?(S(L,N),L--,N--):h.get(L,N)===1?L--:N--;return S(-1,-1),s.reverse(),new x.DiffAlgorithmResult(s,!1)}}n.DynamicProgrammingDiffing=d}),X(J[33],Z([0,1,15,5,4,2,16]),function(W,n,i,x,A,d,f){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.LinesSliceCharSequence=void 0;class p{constructor(r,s,o){this.lines=r,this.range=s,this.considerWhitespaceChanges=o,this.elements=[],this.firstElementOffsetByLineIdx=[],this.lineStartOffsets=[],this.trimmedWsLengthsByLineIdx=[],this.firstElementOffsetByLineIdx.push(0);for(let u=this.range.startLineNumber;u<=this.range.endLineNumber;u++){let S=r[u-1],L=0;u===this.range.startLineNumber&&this.range.startColumn>1&&(L=this.range.startColumn-1,S=S.substring(L)),this.lineStartOffsets.push(L);let N=0;if(!o){const E=S.trimStart();N=S.length-E.length,S=E.trimEnd()}this.trimmedWsLengthsByLineIdx.push(N);const P=u===this.range.endLineNumber?Math.min(this.range.endColumn-1-L-N,S.length):S.length;for(let E=0;E<P;E++)this.elements.push(S.charCodeAt(E));u<this.range.endLineNumber&&(this.elements.push(10),this.firstElementOffsetByLineIdx.push(this.elements.length))}}toString(){return`Slice: "${this.text}"`}get text(){return this.getText(new x.OffsetRange(0,this.length))}getText(r){return this.elements.slice(r.start,r.endExclusive).map(s=>String.fromCharCode(s)).join("")}getElement(r){return this.elements[r]}get length(){return this.elements.length}getBoundaryScore(r){const s=e(r>0?this.elements[r-1]:-1),o=e(r<this.elements.length?this.elements[r]:-1);if(s===7&&o===8)return 0;if(s===8)return 150;let u=0;return s!==o&&(u+=10,s===0&&o===1&&(u+=1)),u+=m(s),u+=m(o),u}translateOffset(r,s="right"){const o=(0,i.findLastIdxMonotonous)(this.firstElementOffsetByLineIdx,S=>S<=r),u=r-this.firstElementOffsetByLineIdx[o];return new A.Position(this.range.startLineNumber+o,1+this.lineStartOffsets[o]+u+(u===0&&s==="left"?0:this.trimmedWsLengthsByLineIdx[o]))}translateRange(r){const s=this.translateOffset(r.start,"right"),o=this.translateOffset(r.endExclusive,"left");return o.isBefore(s)?d.Range.fromPositions(o,o):d.Range.fromPositions(s,o)}findWordContaining(r){if(r<0||r>=this.elements.length||!c(this.elements[r]))return;let s=r;for(;s>0&&c(this.elements[s-1]);)s--;let o=r;for(;o<this.elements.length&&c(this.elements[o]);)o++;return new x.OffsetRange(s,o)}countLinesIn(r){return this.translateOffset(r.endExclusive).lineNumber-this.translateOffset(r.start).lineNumber}isStronglyEqual(r,s){return this.elements[r]===this.elements[s]}extendToFullLines(r){const s=(0,i.findLastMonotonous)(this.firstElementOffsetByLineIdx,u=>u<=r.start)??0,o=(0,i.findFirstMonotonous)(this.firstElementOffsetByLineIdx,u=>r.endExclusive<=u)??this.elements.length;return new x.OffsetRange(s,o)}}n.LinesSliceCharSequence=p;function c(h){return h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57}const a={0:0,1:0,2:0,3:10,4:2,5:30,6:3,7:10,8:10};function m(h){return a[h]}function e(h){return h===10?8:h===13?7:(0,f.isSpace)(h)?6:h>=97&&h<=122?0:h>=65&&h<=90?1:h>=48&&h<=57?2:h===-1?3:h===44||h===59?5:4}}),X(J[34],Z([0,1]),function(W,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.MovedText=n.LinesDiff=void 0;class i{constructor(d,f,p){this.changes=d,this.moves=f,this.hitTimeout=p}}n.LinesDiff=i;class x{constructor(d,f){this.lineRangeMapping=d,this.changes=f}}n.MovedText=x}),X(J[17],Z([0,1,3,13,4,2,50]),function(W,n,i,x,A,d,f){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.RangeMapping=n.DetailedLineRangeMapping=n.LineRangeMapping=void 0;class p{static inverse(r,s,o){const u=[];let S=1,L=1;for(const P of r){const E=new p(new x.LineRange(S,P Line truncated
`).length>=15&&r(C,D=>D.length>=2)>=2}),g=L(N,g),g}function r(N,P){let E=0;for(const v of N)P(v)&&E++;return E}function s(N,P,E,v){const l=[],b=N.filter(M=>M.modified.isEmpty&&M.original.length>=3).map(M=>new a.LineRangeFragment(M.original,P,M)),g=new Set(N.filter(M=>M.original.isEmpty&&M.modified.length>=3).map(M=>new a.LineRangeFragment(M.modified,E,M))),w=new Set;for(const M of b){let y=-1,_;for(const C of g){const R=M.computeSimilarity(C);R>y&&(y=R,_=C)}if(y>.9&&_&&(g.delete(_),l.push(new x.LineRangeMapping(M.range,_.range)),w.add(M.source),w.add(_.source)),!v.isValid())return{moves:l,excludedChanges:w}}return{moves:l,excludedChanges:w}}function o(N,P,E,v,l,b){const g=[],w=new f.SetMap;for(const R of N)for(let D=R.original.startLineNumber;D<R.original.endLineNumberExclusive-2;D++){const T=`${P[D-1]}:${P[D+1-1]}:${P[D+2-1]}`;w.add(T,{range:new p.LineRange(D,D+3)})}const M=[];N.sort((0,A.compareBy)(R=>R.modified.startLineNumber,A.numberComparator));for(const R of N){let D=[];for(let T=R.modified.startLineNumber;T<R.modified.endLineNumberExclusive-2;T++){const O=`${E[T-1]}:${E[T+1-1]}:${E[T+2-1]}`,z=new p.LineRange(T,T+3),j=[];w.forEach(O,({range:F})=>{for(const B of D)if(B.originalLineRange.endLineNumberExclusive+1===F.endLineNumberExclusive&&B.modifiedLineRange.endLineNumberExclusive+1===z.endLineNumberExclusive){B.originalLineRange=new p.LineRange(B.originalLineRange.startLineNumber,F.endLineNumberExclusive),B.modifiedLineRange=new p.LineRange(B.modifiedLineRange.startLineNumber,z.endLineNumberExclusive),j.push(B);return}const q={modifiedLineRange:z,originalLineRange:F};M.push(q),j.push(q)}),D=j}if(!b.isValid())return[]}M.sort((0,A.reverseOrder)((0,A.compareBy)(R=>R.modifiedLineRange.length,A.numberComparator)));const y=new p.LineRangeSet,_=new p.LineRangeSet;for(const R of M){const D=R.modifiedLineRange.startLineNumber-R.originalLineRange.startLineNumber,T=y.subtractFrom(R.modifiedLineRange),O=_.subtractFrom(R.originalLineRange).getWithDelta(D),z=T.getIntersection(O);for(const j of z.ranges){if(j.length<3)continue;const F=j,q=j.delta(-D);g.push(new x.LineRangeMapping(q,F)),y.addRange(F),_.addRange(q)}}g.sort((0,A.compareBy)(R=>R.original.startLineNumber,A.numberComparator));const C=new d.MonotonousArray(N);for(let R=0;R<g.length;R++){const D=g[R],T=C.findLastMonotonous($=>$.original.startLineNumber<=D.original.startLineNumber),O=(0,d.findLastMonotonous)(N,$=>$.modified.startLineNumber<=D.modified.startLineNumber),z=Math.max(D.original.startLineNumber-T.original.startLineNumber,D.modified.startLineNumber-O.modified.startLineNumber),j=C.findLastMonotonous($=>$.original.startLineNumber<D.original.endLineNumberExclusive),F=(0,d.findLastMonotonous)(N,$=>$.modified.startLineNumber<D.modified.endLineNumberExclusive),q=Math.max(j.original.endLineNumberExclusive-D.original.endLineNumberExclusive,F.modified.endLineNumberExclusive-D.modified.endLineNumberExclusive);let B;for(B=0;B<z;B++){const $=D.original.startLineNumber-B-1,U=D.modified.startLineNumber-B-1;if($>v.length||U>l.length||y.contains(U)||_.contains($)||!u(v[$-1],l[U-1],b))break}B>0&&(_.addRange(new p.LineRange(D.original.startLineNumber-B,D.original.startLineNumber)),y.addRange(new p.LineRange(D.modified.startLineNumber-B,D.modified.startLineNumber)));let G;for(G=0;G<q;G++){const $=D.original.endLineNumberExclusive+G,U=D.modified.endLineNumberExclusive+G;if($>v.length||U>l.length||y.contains(U)||_.contains($)||!u(v[$-1],l[U-1],b))break}G>0&&(_.addRange(new p.LineRange(D.original.endLineNumberExclusive,D.original.endLineNumberExclusive+G)),y.addRange(new p.LineRange(D.modified.endLineNumberExclusive,D.modified.endLineNumberExclusive+G))),(B>0||G>0)&&(g[R]=new x.LineRangeMapping(new p.LineRange(D.original.startLineNumber-B,D.original.endLineNumberExclusive+G),new p.LineRange(D.modified.startLineNumber-B,D.modified.endLineNumberExclusive+G)))}return g}function u(N,P,E){if(N.trim()===P.trim())return!0;if(N.length>300&&P.length>300)return!1;const l=new m.MyersDiffAlgorithm().compute(new c.LinesSliceCharSequence([N],new e.Range(1,1,1,N.length),!1),new c.LinesSliceCharSequence([P],new e.Range(1,1,1,P.length),!1),E);let b=0;const g=i.SequenceDiff.invert(l.diffs,N.length);for(const _ of g)_.seq1Range.forEach(C=>{(0,a.isSpace)(N.charCodeAt(C))||b++});function w(_){let C=0;for(let R=0;R<N.length;R++)(0,a.isSpace)(_.charCodeAt(R))||C++;return C}const M=w(N.length>P.length?N:P);return b/M>.6&&M>10}function S(N){if(N.length===0)return N;N.sort((0,A.compareBy)(E=>E.original.startLineNumber,A.numberComparator));const P=[N[0]];for(let E=1;E<N.length;E++){const v=P[P.length-1],l=N[E],b=l.original.startLineNumber-v.original.endLineNumberExclusive,g=l.modified.startLineNumber-v.modified.endLineNumberExclusive;if(b>=0&&g>=0&&b+g<=2){P[P.length-1]=v.join(l);continue}P.push(l)}return P}function L(N,P){const E=new d.MonotonousArray(N);return P=P.filter(v=>{const l=E.findLastMonotonous(w=>w.original.startLineNumber<v.original.endLineNumberExclusive)||new x.LineRangeMapping(n Line truncated
`)>=0;let N=null;try{N=i.createRegExp(this.searchString,this.isRegex,{matchCase:this.matchCase,wholeWord:!1,multiline:L,global:!0,unicode:!0})}catch{return null}if(!N)return null;let P=!this.isRegex&&!L;return P&&this.searchString.toLowerCase()!==this.searchString.toUpperCase()&&(P=this.matchCase),new f.SearchData(N,this.wordSeparators?(0,x.getMapForWordSeparators)(this.wordSeparators,[]):null,P?this.searchString:null)}}n.SearchParams=c;function a(S){if(!S||S.length===0)return!1;for(let L=0,N=S.length;L<N;L++){const P=S.charCodeAt(L);if(P===10)return!0;if(P===92){if(L++,L>=N)break;const E=S.charCodeAt(L);if(E===110||E===114||E===87)return!0}}return!1}function m(S,L,N){if(!N)return new f.FindMatch(S,null);const P=[];for(let E=0,v=L.length;E<v;E++)P[E]=L[E];return new f.FindMatch(S,P)}class e{constructor(L){const N=[];let P=0;for(let E=0,v=L.length;E<v;E++)L.charCodeAt(E)===10&&(N[P++]=E);this._lineFeedsOffsets=N}findLineFeedCountBeforeOffset(L){const N=this._lineFeedsOffsets;let P=0,E=N.length-1;if(E===-1||L<=N[0])return 0;for(;P<E;){const v=P+((E-P)/2>>0);N[v]>=L?E=v-1:N[v+1]>=L?(P=v,E=v):P=v+1}return P+1}}class h{static findMatches(L,N,P,E,v){const l=N.parseSearchRequest();return l?l.regex.multiline?this._doFindMatchesMultiline(L,P,new u(l.wordSeparators,l.regex),E,v):this._doFindMatchesLineByLine(L,P,l,E,v):[]}static _getMultilineMatchRange(L,N,P,E,v,l){let b,g=0;E?(g=E.findLineFeedCountBeforeOffset(v),b=N+v+g):b=N+v;let w;if(E){const C=E.findLineFeedCountBeforeOffset(v+l.length)-g;w=b+l.length+C}else w=b+l.length;const M=L.getPositionAt(b),y=L.getPositionAt(w);return new d.Range(M.lineNumber,M.column,y.lineNumber,y.column)}static _doFindMatchesMultiline(L,N,P,E,v){const l=L.getOffsetAt(N.getStartPosition()),b=L.getValueInRange(N,1),g=L.getEOL()===`\r
`?new e(b):null,w=[];let M=0,y;for(P.reset(0);y=P.next(b);)if(w[M++]=m(this._getMultilineMatchRange(L,l,b,g,y.index,y[0]),y,E),M>=v)return w;return w}static _doFindMatchesLineByLine(L,N,P,E,v){const l=[];let b=0;if(N.startLineNumber===N.endLineNumber){const w=L.getLineContent(N.startLineNumber).substring(N.startColumn-1,N.endColumn-1);return b=this._findMatchesInLine(P,w,N.startLineNumber,N.startColumn-1,b,l,E,v),l}const g=L.getLineContent(N.startLineNumber).substring(N.startColumn-1);b=this._findMatchesInLine(P,g,N.startLineNumber,N.startColumn-1,b,l,E,v);for(let w=N.startLineNumber+1;w<N.endLineNumber&&b<v;w++)b=this._findMatchesInLine(P,L.getLineContent(w),w,0,b,l,E,v);if(b<v){const w=L.getLineContent(N.endLineNumber).substring(0,N.endColumn-1);b=this._findMatchesInLine(P,w,N.endLineNumber,0,b,l,E,v)}return l}static _findMatchesInLine(L,N,P,E,v,l,b,g){const w=L.wordSeparators;if(!b&&L.simpleSearch){const _=L.simpleSearch,C=_.length,R=N.length;let D=-C;for(;(D=N.indexOf(_,D+C))!==-1;)if((!w||o(w,N,R,D,C))&&(l[v++]=new f.FindMatch(new d.Range(P,D+1+E,P,D+1+C+E),null),v>=g))return v;return v}const M=new u(L.wordSeparators,L.regex);let y;M.reset(0);do if(y=M.next(N),y&&(l[v++]=m(new d.Range(P,y.index+1+E,P,y.index+1+y[0].length+E),y,b),v>=g))return v;while(y);return v}static findNextMatch(L,N,P,E){const v=N.parseSearchRequest();if(!v)return null;const l=new u(v.wordSeparators,v.regex);return v.regex.multiline?this._doFindNextMatchMultiline(L,P,l,E):this._doFindNextMatchLineByLine(L,P,l,E)}static _doFindNextMatchMultiline(L,N,P,E){const v=new A.Position(N.lineNumber,1),l=L.getOffsetAt(v),b=L.getLineCount(),g=L.getValueInRange(new d.Range(v.lineNumber,v.column,b,L.getLineMaxColumn(b)),1),w=L.getEOL()===`\r
`?new e(g):null;P.reset(N.column-1);const M=P.next(g);return M?m(this._getMultilineMatchRange(L,l,g,w,M.index,M[0]),M,E):N.lineNumber!==1||N.column!==1?this._doFindNextMatchMultiline(L,new A.Position(1,1),P,E):null}static _doFindNextMatchLineByLine(L,N,P,E){const v=L.getLineCount(),l=N.lineNumber,b=L.getLineContent(l),g=this._findFirstMatchInLine(P,b,l,N.column,E);if(g)return g;for(let w=1;w<=v;w++){const M=(l+w-1)%v,y=L.getLineContent(M+1),_=this._findFirstMatchInLine(P,y,M+1,1,E);if(_)return _}return null}static _findFirstMatchInLine(L,N,P,E,v){L.reset(E-1);const l=L.next(N);return l?m(new d.Range(P,l.index+1,P,l.index+1+l[0].length),l,v):null}static findPreviousMatch(L,N,P,E){const v=N.parseSearchRequest();if(!v)return null;const l=new u(v.wordSeparators,v.regex);return v.regex.multiline?this._doFindPreviousMatchMultiline(L,P,l,E):this._doFindPreviousMatchLineByLine(L,P,l,E)}static _doFindPreviousMatchMultiline(L,N,P,E){const v=this._doFindMatchesMultiline(L,new d.Range(1,1,N.lineNumber,N.column),P,E,10*p);if(v.length>0)return v[v.length-1];const l=L.getLineCount();return N.lineNumber!==l||N.column!==L.getLineMaxColumn(l)?this._doFindPreviousMatchMultiline(L,new A.Position(l,L.getLineMaxColumn(l)),P,E):null}static _doFindPreviousMatchLineByLine(L,N,P,E){const v=L.getLineCount(),l=N.lineNumber,b=L.getLineContent(l).substring(0,N.column-1),g=this._findLastMatchInLine(P,b,l,E);if(g)return g;for(let w=1;w<=v;w++){const M=(v+l-w-1)%v,y=L.getLineContent(M+1),_=this._findLastMatchInLine(P,y,M+1,E);if(_)return _}return null}static _findLastMatchInLine(L,N,P,E){let v=null,l;for(L.reset(0);l=L.next(N);)v=m(new d.Range(P,l.index+1,P,l.index+1+l[0].length),l,E);return v}}n.TextModelSearch=h;function r(S,L,N,P,E){if(P===0)return!0;const v=L.charCodeAt(P-1);if(S.get(v)!==0||v===13||v===10)return!0;if(E>0){const l=L.charCodeAt(P);if(S.get(l)!==0)return!0}return!1}function s(S,L,N,P,E){if(P+E===N)return!0;const v=L.charCodeAt(P+E);if(S.get(v)!==0||v===13||v===10)return!0;if(E>0){const l=L.charCodeAt(P+E-1);if(S.get(l)!==0)return!0}return!1}function o(S,L,N,P,E){return r(S,L,N,P,E)&&s(S,L,N,P,E)}class u{constructor(L,N){this._wordSeparators=L,this._searchRegex=N,this._prevMatchStartIndex=-1,this._prevMatchLength=0}reset(L){this._searchRegex.lastIndex=L,this._prevMatchStartIndex=-1,this._prevMatchLength=0}next(L){const N=L.length;let P;do{if(this._prevMatchStartIndex+this._prevMatchLength===N||(P=this._searchRegex.exec(L),!P))return null;const E=P.index,v=P[0].length;if(E===this._prevMatchStartIndex&&v===this._prevMatchLength){if(v===0){i.getNextCodePoint(L,N,this._searchRegex.lastIndex)>65535?this._searchRegex.lastIndex+=2:this._searchRegex.lastIndex+=1;continue}return null}if(this._prevMatchStartIndex=E,this._prevMatchLength=v,!this._wordSeparators||o(this._wordSeparators,L,N,E,v))return P}while(P);return null}}n.Searcher=u}),X(J[66],Z([0,1]),function(W,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.EditorWorkerHost=void 0;class i{static{this.CHANNEL_NAME="editorWorkerHost"}static getChannel(A){return A.getChannel(i.CHANNEL_NAME)}static setChannel(A,d){A.setChannel(i.CHANNEL_NAME,d)}}n.EditorWorkerHost=i}),X(J[67],Z([0,1]),function(W,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.findSectionHeaders=A;const i=new RegExp("\\bMARK:\\s*(.*)$","d"),x=/^-+|-+$/g;function A(a,m){let e=[];if(m.findRegionSectionHeaders&&m.foldingRules?.markers){const h=d(a,m);e=e.concat(h)}if(m.findMarkSectionHeaders){const h=f(a);e=e.concat(h)}return e}function d(a,m){const e=[],h=a.getLineCount();for(let r=1;r<=h;r++){const s=a.getLineContent(r),o=s.match(m.foldingRules.markers.start);if(o){const u={startLineNumber:r,startColumn:o[0].length+1,endLineNumber:r,endColumn:s.length+1};if(u.endColumn>u.startColumn){const S={range:u,...c(s.substring(o[0].length)),shouldBeInComments:!1};(S.text||S.hasSeparatorLine)&&e.push(S)}}}return e}function f(a){const m=[],e=a.getLineCount();for(let h=1;h<=e;h++){const r=a.getLineContent(h);p(r,h,m)}return m}function p(a,m,e){i.lastIndex=0;const h=i.exec(a);if(h){const r=h.indices[1][0]+1,s=h.indices[1][1]+1,o={startLineNumber:m,startColumn:r,endLineNumber:m,endColumn:s};if(o.endColumn>o.startColumn){const u={range:o,...c(h[1]),shouldBeInComments:!0};(u.text||u.hasSeparatorLine)&&e.push(u)}}}function c(a){a=a.trim();const m=a.startsWith("-");return a=a.replace(x,""),{text:a,hasSeparatorLine:m}}}),X(J[68],Z([0,1,2,65,6,12,31]),function(W,n,i,x,A,d,f){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.UnicodeTextModelHighlighter=void 0;class p{static computeUnicodeHighlights(h,r,s){const o=s?s.startLineNumber:1,u=s?s.endLineNumber:h.getLineCount(),S=new a(r),L=S.getCandidateCodePoints();let N;L==="allNonBasicAscii"?N=new RegExp("[^\\t\\n\\r\\x20-\\x7E]","g"):N=new RegExp(`${c(Array.from(L))}`,"g");const P=new x.Searcher(null,N),E=[];let v=!1,l,b=0,g=0,w=0;e:for(let M=o,y=u;M<=y;M++){const _=h.getLineContent(M),C=_.length;P.reset(0);do if(l=P.next(_),l){let R=l.i Line truncated
`||e===" "}}),X(J[69],Z([0,1]),function(W,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.WrappingIndent=n.TrackedRangeStickiness=n.TextEditorCursorStyle=n.TextEditorCursorBlinkingStyle=n.SymbolTag=n.SymbolKind=n.SignatureHelpTriggerKind=n.ShowLightbulbIconMode=n.SelectionDirection=n.ScrollbarVisibility=n.ScrollType=n.RenderMinimap=n.RenderLineNumbersType=n.PositionAffinity=n.PartialAcceptTriggerKind=n.OverviewRulerLane=n.OverlayWidgetPositionPreference=n.NewSymbolNameTriggerKind=n.NewSymbolNameTag=n.MouseTargetType=n.MinimapSectionHeaderStyle=n.MinimapPosition=n.MarkerTag=n.MarkerSeverity=n.KeyCode=n.InlineEditTriggerKind=n.InlineCompletionTriggerKind=n.InlayHintKind=n.InjectedTextCursorStops=n.IndentAction=n.HoverVerbosityAction=n.GlyphMarginLane=n.EndOfLineSequence=n.EndOfLinePreference=n.EditorOption=n.EditorAutoIndentStrategy=n.DocumentHighlightKind=n.DefaultEndOfLine=n.CursorChangeReason=n.ContentWidgetPositionPreference=n.CompletionTriggerKind=n.CompletionItemTag=n.CompletionItemKind=n.CompletionItemInsertTextRule=n.CodeActionTriggerType=n.AccessibilitySupport=void 0;var i;(function(t){t[t.Unknown=0]="Unknown",t[t.Disabled=1]="Disabled",t[t.Enabled=2]="Enabled"})(i||(n.AccessibilitySupport=i={}));var x;(function(t){t[t.Invoke=1]="Invoke",t[t.Auto=2]="Auto"})(x||(n.CodeActionTriggerType=x={}));var A;(function(t){t[t.None=0]="None",t[t.KeepWhitespace=1]="KeepWhitespace",t[t.InsertAsSnippet=4]="InsertAsSnippet"})(A||(n.CompletionItemInsertTextRule=A={}));var d;(function(t){t[t.Method=0]="Method",t[t.Function=1]="Function",t[t.Constructor=2]="Constructor",t[t.Field=3]="Field",t[t.Variable=4]="Variable",t[t.Class=5]="Class",t[t.Struct=6]="Struct",t[t.Interface=7]="Interface",t[t.Module=8]="Module",t[t.Property=9]="Property",t[t.Event=10]="Event",t[t.Operator=11]="Operator",t[t.Unit=12]="Unit",t[t.Value=13]="Value",t[t.Constant=14]="Constant",t[t.Enum=15]="Enum",t[t.EnumMember=16]="EnumMember",t[t.Keyword=17]="Keyword",t[t.Text=18]="Text",t[t.Color=19]="Color",t[t.File=20]="File",t[t.Reference=21]="Reference",t[t.Customcolor=22]="Customcolor",t[t.Folder=23]="Folder",t[t.TypeParameter=24]="TypeParameter",t[t.User=25]="User",t[t.Issue=26]="Issue",t[t.Snippet=27]="Snippet"})(d||(n.CompletionItemKind=d={}));var f;(function(t){t[t.Deprecated=1]="Deprecated"})(f||(n.CompletionItemTag=f={}));var p;(function(t){t[t.Invoke=0]="Invoke",t[t.TriggerCharacter=1]="TriggerCharacter",t[t.TriggerForIncompleteCompletions=2]="TriggerForIncompleteCompletions"})(p||(n.CompletionTriggerKind=p={}));var c;(function(t){t[t.EXACT=0]="EXACT",t[t.ABOVE=1]="ABOVE",t[t.BELOW=2]="BELOW"})(c||(n.ContentWidgetPositionPreference=c={}));var a;(function(t){t[t.NotSet=0]="NotSet",t[t.ContentFlush=1]="ContentFlush",t[t.RecoverFromMarkers=2]="RecoverFromMarkers",t[t.Explicit=3]="Explicit",t[t.Paste=4]="Paste",t[t.Undo=5]="Undo",t[t.Redo=6]="Redo"})(a||(n.CursorChangeReason=a={}));var m;(function(t){t[t.LF=1]="LF",t[t.CRLF=2]="CRLF"})(m||(n.DefaultEndOfLine=m={}));var e;(function(t){t[t.Text=0]="Text",t[t.Read=1]="Read",t[t.Write=2]="Write"})(e||(n.DocumentHighlightKind=e={}));var h;(function(t){t[t.None=0]="None",t[t.Keep=1]="Keep",t[t.Brackets=2]="Brackets",t[t.Advanced=3]="Advanced",t[t.Full=4]="Full"})(h||(n.EditorAutoIndentStrategy=h={}));var r;(function(t){t[t.acceptSuggestionOnCommitCharacter=0]="acceptSuggestionOnCommitCharacter",t[t.acceptSuggestionOnEnter=1]="acceptSuggestionOnEnter",t[t.accessibilitySupport=2]="accessibilitySupport",t[t.accessibilityPageSize=3]="accessibilityPageSize",t[t.ariaLabel=4]="ariaLabel",t[t.ariaRequired=5]="ariaRequired",t[t.autoClosingBrackets=6]="autoClosingBrackets",t[t.autoClosingComments=7]="autoClosingComments",t[t.screenReaderAnnounceInlineSuggestion=8]="screenReaderAnnounceInlineSuggestion",t[t.autoClosingDelete=9]="autoClosingDelete",t[t.autoClosingOvertype=10]="autoClosingOvertype",t[t.autoClosingQuotes=11]="autoClosingQuotes",t[t.autoIndent=12]="autoIndent",t[t.automaticLayout=13]="automaticLayout",t[t.autoSurround=14]="autoSurround",t[t.bracketPairColorization=15]="bracketPairColorization",t[t.guides=16]="guides",t[t.codeLens=17]="codeLens",t[t.codeLensFontFamily=18]="codeLensFontFamily",t[t.codeLensFontSize=19]="codeLensFontSize",t[t.colorDecorators=20]="colorDecorators",t[t.colorDecoratorsLimit=21]="colorDecoratorsLimit",t[t.columnSelection=22]="columnSelection",t[t.comments=23]="comments",t[t.contextmenu=24]="contextmenu",t[t.copyWithSyntaxHighlighting=25]="copyWithSyntaxHighlighting",t[t.cursorBlinking=26]="cursorBlinking",t[t.cursorSmoothCaretAnimation=27]="cursorSmoothCaretAnimation",t[t.cursorStyle=28]="cursorStyle",t[t.cursorSurroundingLines=29]="cursorSurroundingLines",t[t.cursorSurroundingLinesStyle=30]="cursorSurroundingLinesStyle",t[t.cursorWidth=31]="cursorWidth",t[t.disableLayerHinting=32]="disableLayerHinting",t[t.disableMonospaceOptimizations=33]="disableMonospaceOptimizations",t[t.domReadOnly=34]="domReadOnly",t[t.dragAndDrop=35]="dragAndDrop",t[t.dropIntoEdit Line truncated
//# sourceMappingURL=../../../../min-maps/vs/base/worker/workerMain.js.map
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/abap/abap", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var i in e)s(t,i,{get:e[i],enumerable:!0})},d=(t,e,i,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!c.call(t,n)&&n!==i&&s(t,n,{get:()=>e[n],enumerable:!(a=o(e,n))||a.enumerable});return t};var p=t=>d(s({},"__esModule",{value:!0}),t);var g={};l(g,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"*"},brackets:[["[","]"],["(",")"]]},u={defaultToken:"invalid",ignoreCase:!0,tokenPostfix:".abap",keywords:["abap-source","abbreviated","abstract","accept","accepting","according","activation","actual","add","add-corresponding","adjacent","after","alias","aliases","align","all","allocate","alpha","analysis","analyzer","and","append","appendage","appending","application","archive","area","arithmetic","as","ascending","aspect","assert","assign","assigned","assigning","association","asynchronous","at","attributes","authority","authority-check","avg","back","background","backup","backward","badi","base","before","begin","between","big","binary","bintohex","bit","black","blank","blanks","blob","block","blocks","blue","bound","boundaries","bounds","boxed","break-point","buffer","by","bypassing","byte","byte-order","call","calling","case","cast","casting","catch","center","centered","chain","chain-input","chain-request","change","changing","channels","character","char-to-hex","check","checkbox","ci_","circular","class","class-coding","class-data","class-events","class-methods","class-pool","cleanup","clear","client","clob","clock","close","coalesce","code","coding","col_background","col_group","col_heading","col_key","col_negative","col_normal","col_positive","col_total","collect","color","column","columns","comment","comments","commit","common","communication","comparing","component","components","compression","compute","concat","concat_with_space","concatenate","cond","condense","condition","connect","connection","constants","context","contexts","continue","control","controls","conv","conversion","convert","copies","copy","corresponding","country","cover","cpi","create","creating","critical","currency","currency_conversion","current","cursor","cursor-selection","customer","customer-function","dangerous","data","database","datainfo","dataset","date","dats_add_days","dats_add_months","dats_days_between","dats_is_valid","daylight","dd/mm/yy","dd/mm/yyyy","ddmmyy","deallocate","decimal_shift","decimals","declarations","deep","default","deferred","define","defining","definition","delete","deleting","demand","department","descending","describe","destination","detail","dialog","directory","disconnect","display","display-mode","distinct","divide","divide-corresponding","division","do","dummy","duplicate","duplicates","duration","during","dynamic","dynpro","edit","editor-call","else","elseif","empty","enabled","enabling","encoding","end","endat","endcase","endcatch","endchain","endclass","enddo","endenhancement","end-enhancement-section","endexec","endform","endfunction","endian","endif","ending","endinterface","end-lines","endloop","endmethod","endmodule","end-of-definition","end-of-editing","end-of-file","end-of-page","end-of-selection","endon","endprovide","endselect","end-test-injection","end-test-seam","endtry","endwhile","endwith","engineering","enhancement","enhancement-point","enhancements","enhancement-section","entries","entry","enum","environment","equiv","errormessage","errors","escaping","event","events","exact","except","exception","exceptions","exception-table","exclude","excluding","exec","execute","exists","exit","exit-command","expand","expanding","expiration","explicit","exponent","export","exporting","extend","extended","extension","extract","fail","fetch","field","field-groups","fields","field-symbol","field-symbols","file","filter","filters","filter-table","final","find","first","first-line","fixed-point","fkeq","fkge","flush","font","for","form","format","forward","found","frame","frames","free","friends","from","function","functionality","function-pool","further","gaps","generate","get","giving","gkeq","gkge","global","grant","green","group","groups","handle","handler","harmless","hashed","having","hdb","header","headers","heading","head-lines","help-id","help-request","hextobin","hide","high","hint","hold","hotspot","icon","id","identification","identifier","ids","if","ignore","ignoring","immediately","implementation","implementations","implemented","implicit","import","importing","in","inactive","incl","include","includes","including","increment","index","index-line","infotypes","inheriting","init","initial","initialization","inner","inout","input","insert","instance","instances","instr","intensified","interface","interface-pool","interfaces","internal","intervals","into","inverse","inverted-date","is","iso","job","join","keep","keeping","kernel","key","keys","keywords","kind","languaLine truncated
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/apex/apex", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var i=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(e,t)=>{for(var s in t)i(e,s,{get:t[s],enumerable:!0})},g=(e,t,s,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of c(t))!l.call(e,o)&&o!==s&&i(e,o,{get:()=>t[o],enumerable:!(a=r(t,o))||a.enumerable});return e};var p=e=>g(i({},"__esModule",{value:!0}),e);var h={};d(h,{conf:()=>m,language:()=>b});var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},u=["abstract","activate","and","any","array","as","asc","assert","autonomous","begin","bigdecimal","blob","boolean","break","bulk","by","case","cast","catch","char","class","collect","commit","const","continue","convertcurrency","decimal","default","delete","desc","do","double","else","end","enum","exception","exit","export","extends","false","final","finally","float","for","from","future","get","global","goto","group","having","hint","if","implements","import","in","inner","insert","instanceof","int","interface","into","join","last_90_days","last_month","last_n_days","last_week","like","limit","list","long","loop","map","merge","native","new","next_90_days","next_month","next_n_days","next_week","not","null","nulls","number","object","of","on","or","outer","override","package","parallel","pragma","private","protected","public","retrieve","return","returning","rollback","savepoint","search","select","set","short","sort","stat","static","strictfp","super","switch","synchronized","system","testmethod","then","this","this_month","this_week","throw","throws","today","tolabel","tomorrow","transaction","transient","trigger","true","try","type","undelete","update","upsert","using","virtual","void","volatile","webservice","when","where","while","yesterday"],f=e=>e.charAt(0).toUpperCase()+e.substr(1),n=[];u.forEach(e=>{n.push(e),n.push(e.toUpperCase()),n.push(f(e))});var b={defaultToken:"",tokenPostfix:".apex",keywords:n,operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[a-z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@apexdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],apexdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};return p(h);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/azcli/azcli", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},k=(t,e,o,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!l.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(a=i(e,n))||a.enumerable});return t};var p=t=>k(s({},"__esModule",{value:!0}),t);var d={};c(d,{conf:()=>f,language:()=>g});var f={comments:{lineComment:"#"}},g={defaultToken:"keyword",ignoreCase:!0,tokenPostfix:".azcli",str:/[^#\s]/,tokenizer:{root:[{include:"@comment"},[/\s-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}],[/^-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":{token:"key.identifier",next:"@type"}}}]],type:[{include:"@comment"},[/-+@str*\s*/,{cases:{"@eos":{token:"key.identifier",next:"@popall"},"@default":"key.identifier"}}],[/@str+\s*/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}]],comment:[[/#.*$/,{cases:{"@eos":{token:"comment",next:"@popall"}}}]]}};return p(d);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/bat/bat", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var n=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var l=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var g=(o,e)=>{for(var t in e)n(o,t,{get:e[t],enumerable:!0})},c=(o,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of l(e))!i.call(o,s)&&s!==t&&n(o,s,{get:()=>e[s],enumerable:!(a=r(e,s))||a.enumerable});return o};var p=o=>c(n({},"__esModule",{value:!0}),o);var k={};g(k,{conf:()=>d,language:()=>m});var d={comments:{lineComment:"REM"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|REM\\s+)#region"),end:new RegExp("^\\s*(::\\s*|REM\\s+)#endregion")}}},m={defaultToken:"",ignoreCase:!0,tokenPostfix:".bat",brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"}],keywords:/call|defined|echo|errorlevel|exist|for|goto|if|pause|set|shift|start|title|not|pushd|popd/,symbols:/[=><!~?&|+\-*\/\^;\.,]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^(\s*)(rem(?:\s.*|))$/,["","comment"]],[/(\@?)(@keywords)(?!\w)/,[{token:"keyword"},{token:"keyword.$2"}]],[/[ \t\r\n]+/,""],[/setlocal(?!\w)/,"keyword.tag-setlocal"],[/endlocal(?!\w)/,"keyword.tag-setlocal"],[/[a-zA-Z_]\w*/,""],[/:\w*/,"metatag"],[/%[^%]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],string:[[/[^\\"'%]+/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/%[\w ]+%/,"variable"],[/%%[\w]+(?!\w)/,"variable"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/$/,"string","@popall"]]}};return p(k);})();
return moduleExports;
});
@@ -0,0 +1,11 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/bicep/bicep", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var g=(e,n)=>{for(var o in n)r(e,o,{get:n[o],enumerable:!0})},l=(e,n,o,i)=>{if(n&&typeof n=="object"||typeof n=="function")for(let t of c(n))!a.call(e,t)&&t!==o&&r(e,t,{get:()=>n[t],enumerable:!(i=s(n,t))||i.enumerable});return e};var m=e=>l(r({},"__esModule",{value:!0}),e);var y={};g(y,{conf:()=>$,language:()=>w});var p=e=>`\\b${e}\\b`,k="[_a-zA-Z]",x="[_a-zA-Z0-9]",u=p(`${k}${x}*`),d=["targetScope","resource","module","param","var","output","for","in","if","existing"],b=["true","false","null"],f="[ \\t\\r\\n]",C="[0-9]+",$={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:"'''",close:"'''"}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:"'''",close:"'''",notIn:["string","comment"]}],autoCloseBefore:`:.,=}])'
`,indentationRules:{increaseIndentPattern:new RegExp("^((?!\\/\\/).)*(\\{[^}\"'`]*|\\([^)\"'`]*|\\[[^\\]\"'`]*)$"),decreaseIndentPattern:new RegExp("^((?!.*?\\/\\*).*\\*/)?\\s*[\\}\\]].*$")}},w={defaultToken:"",tokenPostfix:".bicep",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],symbols:/[=><!~?:&|+\-*/^%]+/,keywords:d,namedLiterals:b,escapes:"\\\\(u{[0-9A-Fa-f]+}|n|r|t|\\\\|'|\\${)",tokenizer:{root:[{include:"@expression"},{include:"@whitespace"}],stringVerbatim:[{regex:"(|'|'')[^']",action:{token:"string"}},{regex:"'''",action:{token:"string.quote",next:"@pop"}}],stringLiteral:[{regex:"\\${",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"[^\\\\'$]+",action:{token:"string"}},{regex:"@escapes",action:{token:"string.escape"}},{regex:"\\\\.",action:{token:"string.escape.invalid"}},{regex:"'",action:{token:"string",next:"@pop"}}],bracketCounting:[{regex:"{",action:{token:"delimiter.bracket",next:"@bracketCounting"}},{regex:"}",action:{token:"delimiter.bracket",next:"@pop"}},{include:"expression"}],comment:[{regex:"[^\\*]+",action:{token:"comment"}},{regex:"\\*\\/",action:{token:"comment",next:"@pop"}},{regex:"[\\/*]",action:{token:"comment"}}],whitespace:[{regex:f},{regex:"\\/\\*",action:{token:"comment",next:"@comment"}},{regex:"\\/\\/.*$",action:{token:"comment"}}],expression:[{regex:"'''",action:{token:"string.quote",next:"@stringVerbatim"}},{regex:"'",action:{token:"string.quote",next:"@stringLiteral"}},{regex:C,action:{token:"number"}},{regex:u,action:{cases:{"@keywords":{token:"keyword"},"@namedLiterals":{token:"keyword"},"@default":{token:"identifier"}}}}]}};return m(y);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/cameligo/cameligo", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var n in e)s(o,n,{get:e[n],enumerable:!0})},m=(o,e,n,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!l.call(o,t)&&t!==n&&s(o,t,{get:()=>e[t],enumerable:!(r=i(e,t))||r.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>d,language:()=>g});var d={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"],["<",">"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'},{open:"(*",close:"*)"}]},g={defaultToken:"",tokenPostfix:".cameligo",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["abs","assert","block","Bytes","case","Crypto","Current","else","failwith","false","for","fun","if","in","let","let%entry","let%init","List","list","Map","map","match","match%nat","mod","not","operation","Operation","of","record","Set","set","sender","skip","source","String","then","to","true","type","with"],typeKeywords:["int","unit","string","tz","nat","bool"],operators:["=",">","<","<=",">=","<>",":",":=","and","mod","or","+","-","*","/","@","&","^","%","->","<-","&&","||"],symbols:/[=><:@\^&|+\-*\/\^%]+/,tokenizer:{root:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\$[0-9a-fA-F]{1,16}/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/'/,"string","@string"],[/'[^\\']'/,"string"],[/'/,"string.invalid"],[/\#\d+/,"string"]],comment:[[/[^\(\*]+/,"comment"],[/\*\)/,"comment","@pop"],[/\(\*/,"comment"]],string:[[/[^\\']+/,"string"],[/\\./,"string.escape.invalid"],[/'/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"],[/\(\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};return p(u);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/clojure/clojure", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var a=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(t,e)=>{for(var r in e)a(t,r,{get:e[r],enumerable:!0})},l=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of i(e))!c.call(t,n)&&n!==r&&a(t,n,{get:()=>e[n],enumerable:!(s=o(e,n))||s.enumerable});return t};var p=t=>l(a({},"__esModule",{value:!0}),t);var h={};d(h,{conf:()=>u,language:()=>m});var u={comments:{lineComment:";;"},brackets:[["[","]"],["(",")"],["{","}"]],autoClosingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}],surroundingPairs:[{open:"[",close:"]"},{open:'"',close:'"'},{open:"(",close:")"},{open:"{",close:"}"}]},m={defaultToken:"",ignoreCase:!0,tokenPostfix:".clj",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"}],constants:["true","false","nil"],numbers:/^(?:[+\-]?\d+(?:(?:N|(?:[eE][+\-]?\d+))|(?:\.?\d*(?:M|(?:[eE][+\-]?\d+))?)|\/\d+|[xX][0-9a-fA-F]+|r[0-9a-zA-Z]+)?(?=[\\\[\]\s"#'(),;@^`{}~]|$))/,characters:/^(?:\\(?:backspace|formfeed|newline|return|space|tab|o[0-7]{3}|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{4}|.)?(?=[\\\[\]\s"(),;@^`{}~]|$))/,escapes:/^\\(?:["'\\bfnrt]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,qualifiedSymbols:/^(?:(?:[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*(?:\.[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*\/)?(?:\/|[^\\\/\[\]\d\s"#'(),;@^`{}~][^\\\[\]\s"(),;@^`{}~]*)*(?=[\\\[\]\s"(),;@^`{}~]|$))/,specialForms:[".","catch","def","do","if","monitor-enter","monitor-exit","new","quote","recur","set!","throw","try","var"],coreSymbols:["*","*'","*1","*2","*3","*agent*","*allow-unresolved-vars*","*assert*","*clojure-version*","*command-line-args*","*compile-files*","*compile-path*","*compiler-options*","*data-readers*","*default-data-reader-fn*","*e","*err*","*file*","*flush-on-newline*","*fn-loader*","*in*","*math-context*","*ns*","*out*","*print-dup*","*print-length*","*print-level*","*print-meta*","*print-namespace-maps*","*print-readably*","*read-eval*","*reader-resolver*","*source-path*","*suppress-read*","*unchecked-math*","*use-context-classloader*","*verbose-defrecords*","*warn-on-reflection*","+","+'","-","-'","->","->>","->ArrayChunk","->Eduction","->Vec","->VecNode","->VecSeq","-cache-protocol-fn","-reset-methods","..","/","<","<=","=","==",">",">=","EMPTY-NODE","Inst","StackTraceElement->vec","Throwable->map","accessor","aclone","add-classpath","add-watch","agent","agent-error","agent-errors","aget","alength","alias","all-ns","alter","alter-meta!","alter-var-root","amap","ancestors","and","any?","apply","areduce","array-map","as->","aset","aset-boolean","aset-byte","aset-char","aset-double","aset-float","aset-int","aset-long","aset-short","assert","assoc","assoc!","assoc-in","associative?","atom","await","await-for","await1","bases","bean","bigdec","bigint","biginteger","binding","bit-and","bit-and-not","bit-clear","bit-flip","bit-not","bit-or","bit-set","bit-shift-left","bit-shift-right","bit-test","bit-xor","boolean","boolean-array","boolean?","booleans","bound-fn","bound-fn*","bound?","bounded-count","butlast","byte","byte-array","bytes","bytes?","case","cast","cat","char","char-array","char-escape-string","char-name-string","char?","chars","chunk","chunk-append","chunk-buffer","chunk-cons","chunk-first","chunk-next","chunk-rest","chunked-seq?","class","class?","clear-agent-errors","clojure-version","coll?","comment","commute","comp","comparator","compare","compare-and-set!","compile","complement","completing","concat","cond","cond->","cond->>","condp","conj","conj!","cons","constantly","construct-proxy","contains?","count","counted?","create-ns","create-struct","cycle","dec","dec'","decimal?","declare","dedupe","default-data-readers","definline","definterface","defmacro","defmethod","defmulti","defn","defn-","defonce","defprotocol","defrecord","defstruct","deftype","delay","delay?","deliver","denominator","deref","derive","descendants","destructure","disj","disj!","dissoc","dissoc!","distinct","distinct?","doall","dorun","doseq","dosync","dotimes","doto","double","double-array","double?","doubles","drop","drop-last","drop-while","eduction","empty","empty?","ensure","ensure-reduced","enumeration-seq","error-handler","error-mode","eval","even?","every-pred","every?","ex-data","ex-info","extend","extend-protocol","extend-type","extenders","extends?","false?","ffirst","file-seq","filter","filterv","find","find-keyword","find-ns","find-protocol-impl","find-protocol-method","find-var","first","flatten","float","float-array","float?","floats","flush","fn","fn?","fnext","fnil","for","force","format","frequencies","future","future-call","future-cancel","future-cancelled?","future-done?","future?","gen-class","gen-interface","gensym","get","get-in","get-method","get-proxy-class","get-thread-bindings","get-validator","Line truncated
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/coffee/coffee", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var l=(n,e)=>{for(var t in e)s(n,t,{get:e[t],enumerable:!0})},p=(n,e,t,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of g(e))!a.call(n,r)&&r!==t&&s(n,r,{get:()=>e[r],enumerable:!(o=i(e,r))||o.enumerable});return n};var c=n=>p(s({},"__esModule",{value:!0}),n);var m={};l(m,{conf:()=>d,language:()=>x});var d={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#%\^\&\*\(\)\=\$\-\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{blockComment:["###","###"],lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},x={defaultToken:"",ignoreCase:!0,tokenPostfix:".coffee",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"}],regEx:/\/(?!\/\/)(?:[^\/\\]|\\.)*\/[igm]*/,keywords:["and","or","is","isnt","not","on","yes","@","no","off","true","false","null","this","new","delete","typeof","in","instanceof","return","throw","break","continue","debugger","if","else","switch","for","while","do","try","catch","finally","class","extends","super","undefined","then","unless","until","loop","of","by","when"],symbols:/[=><!~?&%|+\-*\/\^\.,\:]+/,escapes:/\\(?:[abfnrtv\\"'$]|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@[a-zA-Z_]\w*/,"variable.predefined"],[/[a-zA-Z_]\w*/,{cases:{this:"variable.predefined","@keywords":{token:"keyword.$0"},"@default":""}}],[/[ \t\r\n]+/,""],[/###/,"comment","@comment"],[/#.*$/,"comment"],["///",{token:"regexp",next:"@hereregexp"}],[/^(\s*)(@regEx)/,["","regexp"]],[/(\()(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\,)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\=)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\:)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\[)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\!)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\&)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\|)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\?)(\s*)(@regEx)/,["delimiter","","regexp"]],[/(\{)(\s*)(@regEx)/,["@brackets","","regexp"]],[/(\;)(\s*)(@regEx)/,["","","regexp"]],[/}/,{cases:{"$S2==interpolatedstring":{token:"string",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/@symbols/,"delimiter"],[/\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d+\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/0[0-7]+(?!\d)/,"number.octal"],[/\d+/,"number"],[/[,.]/,"delimiter"],[/"""/,"string",'@herestring."""'],[/'''/,"string","@herestring.'''"],[/"/,{cases:{"@eos":"string","@default":{token:"string",next:'@string."'}}}],[/'/,{cases:{"@eos":"string","@default":{token:"string",next:"@string.'"}}}]],string:[[/[^"'\#\\]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/\./,"string.escape.invalid"],[/#{/,{cases:{'$S2=="':{token:"string",next:"root.interpolatedstring"},"@default":"string"}}],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/#/,"string"]],herestring:[[/("""|''')/,{cases:{"$1==$S2":{token:"string",next:"@pop"},"@default":"string"}}],[/[^#\\'"]+/,"string"],[/['"]+/,"string"],[/@escapes/,"string.escape"],[/\./,"string.escape.invalid"],[/#{/,{token:"string.quote",next:"root.interpolatedstring"}],[/#/,"string"]],comment:[[/[^#]+/,"comment"],[/###/,"comment","@pop"],[/#/,"comment"]],hereregexp:[[/[^\\\/#]+/,"regexp"],[/\\./,"regexp"],[/#.*$/,"comment"],["///[igm]*",{token:"regexp",next:"@pop"}],[/\//,"regexp"]]}};return c(m);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/cpp/cpp", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var o=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var s=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var i in e)o(n,i,{get:e[i],enumerable:!0})},l=(n,e,i,_)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!s.call(n,t)&&t!==i&&o(n,t,{get:()=>e[t],enumerable:!(_=r(e,t))||_.enumerable});return n};var d=n=>l(o({},"__esModule",{value:!0}),n);var u={};c(u,{conf:()=>p,language:()=>m});var p={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"[",close:"]"},{open:"{",close:"}"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*#pragma\\s+region\\b"),end:new RegExp("^\\s*#pragma\\s+endregion\\b")}}},m={defaultToken:"",tokenPostfix:".cpp",brackets:[{token:"delimiter.curly",open:"{",close:"}"},{token:"delimiter.parenthesis",open:"(",close:")"},{token:"delimiter.square",open:"[",close:"]"},{token:"delimiter.angle",open:"<",close:">"}],keywords:["abstract","amp","array","auto","bool","break","case","catch","char","class","const","constexpr","const_cast","continue","cpu","decltype","default","delegate","delete","do","double","dynamic_cast","each","else","enum","event","explicit","export","extern","false","final","finally","float","for","friend","gcnew","generic","goto","if","in","initonly","inline","int","interface","interior_ptr","internal","literal","long","mutable","namespace","new","noexcept","nullptr","__nullptr","operator","override","partial","pascal","pin_ptr","private","property","protected","public","ref","register","reinterpret_cast","restrict","return","safe_cast","sealed","short","signed","sizeof","static","static_assert","static_cast","struct","switch","template","this","thread_local","throw","tile_static","true","try","typedef","typeid","typename","union","unsigned","using","virtual","void","volatile","wchar_t","where","while","_asm","_based","_cdecl","_declspec","_fastcall","_if_exists","_if_not_exists","_inline","_multiple_inheritance","_pascal","_single_inheritance","_stdcall","_virtual_inheritance","_w64","__abstract","__alignof","__asm","__assume","__based","__box","__builtin_alignof","__cdecl","__clrcall","__declspec","__delegate","__event","__except","__fastcall","__finally","__forceinline","__gc","__hook","__identifier","__if_exists","__if_not_exists","__inline","__int128","__int16","__int32","__int64","__int8","__interface","__leave","__m128","__m128d","__m128i","__m256","__m256d","__m256i","__m512","__m512d","__m512i","__m64","__multiple_inheritance","__newslot","__nogc","__noop","__nounwind","__novtordisp","__pascal","__pin","__pragma","__property","__ptr32","__ptr64","__raise","__restrict","__resume","__sealed","__single_inheritance","__stdcall","__super","__thiscall","__try","__try_cast","__typeof","__unaligned","__unhook","__uuidof","__value","__virtual_inheritance","__w64","__wchar_t"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[0abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/([uU](ll|LL|l|L)|(ll|LL|l|L)?[uU]?)/,floatsuffix:/[fFlL]?/,encoding:/u|u8|U|L/,tokenizer:{root:[[/@encoding?R\"(?:([^ ()\\\t]*))\(/,{token:"string.raw.begin",next:"@raw.$1"}],[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/^\s*#\s*include/,{token:"keyword.directive.include",next:"@include"}],[/^\s*#\s*\w+/,"keyword.directive"],{include:"@whitespace"},[/\[\s*\[/,{token:"annotation",next:"@annotation"}],[/[{}()<>\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F](@integersuffix)/,"number.hex"],[/0[0-7']*[0-7](@integersuffix)/,"number.octal"],[/0[bB][0-1']*[0-1](@integersuffix)/,"number.binary"],[/\d[\d']*\d(@integersuffix)/,"number"],[/\d(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*\\$/,"comment","@linecomment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],linecomment:[[/.*[^\\]$/,"comment","@pop"],[/[^]+/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"stringLine truncated
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/csharp/csharp", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},p=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!c.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(i=r(e,n))||i.enumerable});return t};var g=t=>p(s({},"__esModule",{value:!0}),t);var u={};l(u,{conf:()=>d,language:()=>m});var d={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\$\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],folding:{markers:{start:new RegExp("^\\s*#region\\b"),end:new RegExp("^\\s*#endregion\\b")}}},m={defaultToken:"",tokenPostfix:".cs",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],keywords:["extern","alias","using","bool","decimal","sbyte","byte","short","ushort","int","uint","long","ulong","char","float","double","object","dynamic","string","assembly","is","as","ref","out","this","base","new","typeof","void","checked","unchecked","default","delegate","var","const","if","else","switch","case","while","do","for","foreach","in","break","continue","goto","return","throw","try","catch","finally","lock","yield","from","let","where","join","on","equals","into","orderby","ascending","descending","select","group","by","namespace","partial","class","field","event","method","param","public","protected","internal","private","abstract","sealed","static","struct","readonly","volatile","virtual","override","params","get","set","add","remove","operator","true","false","implicit","explicit","interface","enum","null","async","await","fixed","sizeof","stackalloc","unsafe","nameof","when"],namespaceFollows:["namespace","using"],parenFollows:["if","for","while","switch","foreach","using","catch","when"],operators:["=","??","||","&&","|","^","&","==","!=","<=",">=","<<","+","-","*","/","%","!","~","++","--","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=",">>","=>"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/\@?[a-zA-Z_]\w*/,{cases:{"@namespaceFollows":{token:"keyword.$0",next:"@namespace"},"@keywords":{token:"keyword.$0",next:"@qualified"},"@default":{token:"identifier",next:"@qualified"}}}],{include:"@whitespace"},[/}/,{cases:{"$S2==interpolatedstring":{token:"string.quote",next:"@pop"},"$S2==litinterpstring":{token:"string.quote",next:"@pop"},"@default":"@brackets"}}],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/[0-9_]*\.[0-9_]+([eE][\-+]?\d+)?[fFdD]?/,"number.float"],[/0[xX][0-9a-fA-F_]+/,"number.hex"],[/0[bB][01_]+/,"number.hex"],[/[0-9_]+/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",next:"@string"}],[/\$\@"/,{token:"string.quote",next:"@litinterpstring"}],[/\@"/,{token:"string.quote",next:"@litstring"}],[/\$"/,{token:"string.quote",next:"@interpolatedstring"}],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],qualified:[[/[a-zA-Z_][\w]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],[/\./,"delimiter"],["","","@pop"]],namespace:[{include:"@whitespace"},[/[A-Z]\w*/,"namespace"],[/[\.=]/,"delimiter"],["","","@pop"]],comment:[[/[^\/*]+/,"comment"],["\\*/","comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",next:"@pop"}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]],litinterpstring:[[/[^"{]+/,"string"],[/""/,"string.escape"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.litinterpstring"}],[/"/,{token:"string.quote",next:"@pop"}]],interpolatedstring:[[/[^\\"{]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/{{/,"string.escape"],[/}}/,"string.escape"],[/{/,{token:"string.quote",next:"root.interpolatedstring"}],[/"/,{token:"string.quote",next:"@pop"}]],whitespace:[[/^[ \t\v\f]*#((r)|(load))(?=\s)/,"directive.csx"],[/^[ \t\v\f]*#\w.*$/,"namespace.cpp"],[/[ \t\v\f\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]]}};return g(u);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/csp/csp", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var a=(r,t)=>{for(var s in t)o(r,s,{get:t[s],enumerable:!0})},c=(r,t,s,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let e of u(t))!g.call(r,e)&&e!==s&&o(r,e,{get:()=>t[e],enumerable:!(n=i(t,e))||n.enumerable});return r};var q=r=>c(o({},"__esModule",{value:!0}),r);var p={};a(p,{conf:()=>f,language:()=>l});var f={brackets:[],autoClosingPairs:[],surroundingPairs:[]},l={keywords:[],typeKeywords:[],tokenPostfix:".csp",operators:[],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/child-src/,"string.quote"],[/connect-src/,"string.quote"],[/default-src/,"string.quote"],[/font-src/,"string.quote"],[/frame-src/,"string.quote"],[/img-src/,"string.quote"],[/manifest-src/,"string.quote"],[/media-src/,"string.quote"],[/object-src/,"string.quote"],[/script-src/,"string.quote"],[/style-src/,"string.quote"],[/worker-src/,"string.quote"],[/base-uri/,"string.quote"],[/plugin-types/,"string.quote"],[/sandbox/,"string.quote"],[/disown-opener/,"string.quote"],[/form-action/,"string.quote"],[/frame-ancestors/,"string.quote"],[/report-uri/,"string.quote"],[/report-to/,"string.quote"],[/upgrade-insecure-requests/,"string.quote"],[/block-all-mixed-content/,"string.quote"],[/require-sri-for/,"string.quote"],[/reflected-xss/,"string.quote"],[/referrer/,"string.quote"],[/policy-uri/,"string.quote"],[/'self'/,"string.quote"],[/'unsafe-inline'/,"string.quote"],[/'unsafe-eval'/,"string.quote"],[/'strict-dynamic'/,"string.quote"],[/'unsafe-hashed-attributes'/,"string.quote"]]}};return q(p);})();
return moduleExports;
});
@@ -0,0 +1,12 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/css/css", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var m=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},c=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s(e))!l.call(t,n)&&n!==o&&r(t,n,{get:()=>e[n],enumerable:!(i=a(e,n))||i.enumerable});return t};var d=t=>c(r({},"__esModule",{value:!0}),t);var k={};m(k,{conf:()=>u,language:()=>p});var u={wordPattern:/(#?-?\d*\.\d\w*%?)|((::|[@#.!:])?[\w-?]+%?)|::|[@#.!:]/g,comments:{blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},p={defaultToken:"",tokenPostfix:".css",ws:`[
\r\f]*`,identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.bracket"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@selector"}],selector:[{include:"@comments"},{include:"@import"},{include:"@strings"},["[@](keyframes|-webkit-keyframes|-moz-keyframes|-o-keyframes)",{token:"keyword",next:"@keyframedeclaration"}],["[@](page|content|font-face|-moz-document)",{token:"keyword"}],["[@](charset|namespace)",{token:"keyword",next:"@declarationbody"}],["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@selectorname"},["[\\*]","tag"],["[>\\+,]","delimiter"],["\\[",{token:"delimiter.bracket",next:"@selectorattribute"}],["{",{token:"delimiter.bracket",next:"@selectorbody"}]],selectorbody:[{include:"@comments"},["[*_]?@identifier@ws:(?=(\\s|\\d|[^{;}]*[;}]))","attribute.name","@rulevalue"],["}",{token:"delimiter.bracket",next:"@pop"}]],selectorname:[["(\\.|#(?=[^{])|%|(@identifier)|:)+","tag"]],selectorattribute:[{include:"@term"},["]",{token:"delimiter.bracket",next:"@pop"}]],term:[{include:"@comments"},["(url-prefix)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],["(url)(\\()",["attribute.value",{token:"delimiter.parenthesis",next:"@urldeclaration"}]],{include:"@functioninvocation"},{include:"@numbers"},{include:"@name"},{include:"@strings"},["([<>=\\+\\-\\*\\/\\^\\|\\~,])","delimiter"],[",","delimiter"]],rulevalue:[{include:"@comments"},{include:"@strings"},{include:"@term"},["!important","keyword"],[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],warndebug:[["[@](warn|debug)",{token:"keyword",next:"@declarationbody"}]],import:[["[@](import)",{token:"keyword",next:"@declarationbody"}]],urldeclaration:[{include:"@strings"},[`[^)\r
]+`,"string"],["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],parenthizedterm:[{include:"@term"},["\\)",{token:"delimiter.parenthesis",next:"@pop"}]],declarationbody:[{include:"@term"},[";","delimiter","@pop"],["(?=})",{token:"",next:"@pop"}]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[/[^*/]+/,"comment"],[/./,"comment"]],name:[["@identifier","attribute.value"]],numbers:[["-?(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],keyframedeclaration:[["@identifier","attribute.value"],["{",{token:"delimiter.bracket",switchTo:"@keyframebody"}]],keyframebody:[{include:"@term"},["{",{token:"delimiter.bracket",next:"@selectorbody"}],["}",{token:"delimiter.bracket",next:"@pop"}]],functioninvocation:[["@identifier\\(",{token:"attribute.value",next:"@functionarguments"}]],functionarguments:[["\\$@identifier@ws:","attribute.name"],["[,]","delimiter"],{include:"@term"},["\\)",{token:"attribute.value",next:"@pop"}]],strings:[['~?"',{token:"string",next:"@stringenddoublequote"}],["~?'",{token:"string",next:"@stringendquote"}]],stringenddoublequote:[["\\\\.","string"],['"',{token:"string",next:"@pop"}],[/[^\\"]+/,"string"],[".","string"]],stringendquote:[["\\\\.","string"],["'",{token:"string",next:"@pop"}],[/[^\\']+/,"string"],[".","string"]]}};return d(k);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/cypher/cypher", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(i,e)=>{for(var n in e)s(i,n,{get:e[n],enumerable:!0})},g=(i,e,n,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!l.call(i,t)&&t!==n&&s(i,t,{get:()=>e[t],enumerable:!(o=r(e,t))||o.enumerable});return i};var p=i=>g(s({},"__esModule",{value:!0}),i);var u={};c(u,{conf:()=>d,language:()=>m});var d={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"`",close:"`"}]},m={defaultToken:"",tokenPostfix:".cypher",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"}],keywords:["ALL","AND","AS","ASC","ASCENDING","BY","CALL","CASE","CONTAINS","CREATE","DELETE","DESC","DESCENDING","DETACH","DISTINCT","ELSE","END","ENDS","EXISTS","IN","IS","LIMIT","MANDATORY","MATCH","MERGE","NOT","ON","ON","OPTIONAL","OR","ORDER","REMOVE","RETURN","SET","SKIP","STARTS","THEN","UNION","UNWIND","WHEN","WHERE","WITH","XOR","YIELD"],builtinLiterals:["true","TRUE","false","FALSE","null","NULL"],builtinFunctions:["abs","acos","asin","atan","atan2","avg","ceil","coalesce","collect","cos","cot","count","degrees","e","endNode","exists","exp","floor","head","id","keys","labels","last","left","length","log","log10","lTrim","max","min","nodes","percentileCont","percentileDisc","pi","properties","radians","rand","range","relationships","replace","reverse","right","round","rTrim","sign","sin","size","split","sqrt","startNode","stDev","stDevP","substring","sum","tail","tan","timestamp","toBoolean","toFloat","toInteger","toLower","toString","toUpper","trim","type"],operators:["+","-","*","/","%","^","=","<>","<",">","<=",">=","->","<-","-->","<--"],escapes:/\\(?:[tbnrf\\"'`]|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+/,octaldigits:/[0-7]+/,hexdigits:/[0-9a-fA-F]+/,tokenizer:{root:[[/[{}[\]()]/,"@brackets"],{include:"common"}],common:[{include:"@whitespace"},{include:"@numbers"},{include:"@strings"},[/:[a-zA-Z_][\w]*/,"type.identifier"],[/[a-zA-Z_][\w]*(?=\()/,{cases:{"@builtinFunctions":"predefined.function"}}],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":"keyword","@builtinLiterals":"predefined.literal","@default":"identifier"}}],[/`/,"identifier.escape","@identifierBacktick"],[/[;,.:|]/,"delimiter"],[/[<>=%+\-*/^]+/,{cases:{"@operators":"delimiter","@default":""}}]],numbers:[[/-?(@digits)[eE](-?(@digits))?/,"number.float"],[/-?(@digits)?\.(@digits)([eE]-?(@digits))?/,"number.float"],[/-?0x(@hexdigits)/,"number.hex"],[/-?0(@octaldigits)/,"number.octal"],[/-?(@digits)/,"number"]],strings:[[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@stringDouble"],[/'/,"string","@stringSingle"]],whitespace:[[/[ \t\r\n]+/,"white"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/\/\/.*/,"comment"],[/[^/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[/*]/,"comment"]],stringDouble:[[/[^\\"]+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/"/,"string","@pop"]],stringSingle:[[/[^\\']+/,"string"],[/@escapes/,"string"],[/\\./,"string.invalid"],[/'/,"string","@pop"]],identifierBacktick:[[/[^\\`]+/,"identifier.escape"],[/@escapes/,"identifier.escape"],[/\\./,"identifier.escape.invalid"],[/`/,"identifier.escape","@pop"]]}};return p(u);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/dart/dart", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var p=(n,e)=>{for(var t in e)r(n,t,{get:e[t],enumerable:!0})},g=(n,e,t,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of c(e))!a.call(n,o)&&o!==t&&r(n,o,{get:()=>e[o],enumerable:!(s=i(e,o))||s.enumerable});return n};var l=n=>g(r({},"__esModule",{value:!0}),n);var x={};p(x,{conf:()=>d,language:()=>m});var d={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:"(",close:")"},{open:'"',close:'"'},{open:"`",close:"`"}],folding:{markers:{start:/^\s*\s*#?region\b/,end:/^\s*\s*#?endregion\b/}}},m={defaultToken:"invalid",tokenPostfix:".dart",keywords:["abstract","dynamic","implements","show","as","else","import","static","assert","enum","in","super","async","export","interface","switch","await","extends","is","sync","break","external","library","this","case","factory","mixin","throw","catch","false","new","true","class","final","null","try","const","finally","on","typedef","continue","for","operator","var","covariant","Function","part","void","default","get","rethrow","while","deferred","hide","return","with","do","if","set","yield"],typeKeywords:["int","double","String","bool"],operators:["+","-","*","/","~/","%","++","--","==","!=",">","<",">=","<=","=","-=","/=","%=",">>=","^=","+=","*=","~/=","<<=","&=","!=","||","&&","&","|","^","~","<<",">>","!",">>>","??","?",":","|="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/[a-z_$][\w$]*/,{cases:{"@typeKeywords":"type.identifier","@keywords":"keyword","@default":"identifier"}}],[/[A-Z_$][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([gimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/@[a-zA-Z]+/,"annotation"],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/\/.*$/,"comment.doc"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escape.control"],[/@regexpctl/,"regexp.escape.control"],[/[^\\\/]/,"regexp"],[/@regexpesc/,"regexp.escape"],[/\\\./,"regexp.invalid"],[/(\/)([gimsuy]*)/,[{token:"regexp",bracket:"@close",next:"@pop"},"keyword.other"]]],regexrange:[[/-/,"regexp.escape.control"],[/\^/,"regexp.invalid"],[/@regexpesc/,"regexp.escape"],[/[^\]]/,"regexp"],[/\]/,{token:"regexp.escape.control",next:"@pop",bracket:"@close"}]],string_double:[[/[^\\"\$]+/,"string"],[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"],[/\$\w+/,"identifier"]],string_single:[[/[^\\'\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/'/,"string","@pop"],[/\$\w+/,"identifier"]]}};return l(x);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/dockerfile/dockerfile", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var a=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var i=Object.prototype.hasOwnProperty;var p=(o,e)=>{for(var s in e)a(o,s,{get:e[s],enumerable:!0})},g=(o,e,s,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!i.call(o,n)&&n!==s&&a(o,n,{get:()=>e[n],enumerable:!(t=l(e,n))||t.enumerable});return o};var c=o=>g(a({},"__esModule",{value:!0}),o);var k={};p(k,{conf:()=>u,language:()=>d});var u={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},d={defaultToken:"",tokenPostfix:".dockerfile",variable:/\${?[\w]+}?/,tokenizer:{root:[{include:"@whitespace"},{include:"@comment"},[/(ONBUILD)(\s+)/,["keyword",""]],[/(ENV)(\s+)([\w]+)/,["keyword","",{token:"variable",next:"@arguments"}]],[/(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|ARG|VOLUME|LABEL|USER|WORKDIR|COPY|CMD|STOPSIGNAL|SHELL|HEALTHCHECK|ENTRYPOINT)/,{token:"keyword",next:"@arguments"}]],arguments:[{include:"@whitespace"},{include:"@strings"},[/(@variable)/,{cases:{"@eos":{token:"variable",next:"@popall"},"@default":"variable"}}],[/\\/,{cases:{"@eos":"","@default":""}}],[/./,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],whitespace:[[/\s+/,{cases:{"@eos":{token:"",next:"@popall"},"@default":""}}]],comment:[[/(^#.*$)/,"comment","@popall"]],strings:[[/\\'$/,"","@popall"],[/\\'/,""],[/'$/,"string","@popall"],[/'/,"string","@stringBody"],[/"$/,"string","@popall"],[/"/,"string","@dblStringBody"]],stringBody:[[/[^\\\$']/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/'$/,"string","@popall"],[/'/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]],dblStringBody:[[/[^\\\$"]/,{cases:{"@eos":{token:"string",next:"@popall"},"@default":"string"}}],[/\\./,"string.escape"],[/"$/,"string","@popall"],[/"/,"string","@pop"],[/(@variable)/,"variable"],[/\\$/,"string"],[/$/,"string","@popall"]]}};return c(k);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/ecl/ecl", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var r=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)r(o,t,{get:e[t],enumerable:!0})},d=(o,e,t,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s(e))!l.call(o,n)&&n!==t&&r(o,n,{get:()=>e[n],enumerable:!(a=i(e,n))||a.enumerable});return o};var p=o=>d(r({},"__esModule",{value:!0}),o);var g={};c(g,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}]},u={defaultToken:"",tokenPostfix:".ecl",ignoreCase:!0,brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],pounds:["append","break","declare","demangle","end","for","getdatatype","if","inmodule","loop","mangle","onwarning","option","set","stored","uniquename"].join("|"),keywords:["__compressed__","after","all","and","any","as","atmost","before","beginc","best","between","case","cluster","compressed","compression","const","counter","csv","default","descend","embed","encoding","encrypt","end","endc","endembed","endmacro","enum","escape","except","exclusive","expire","export","extend","fail","few","fileposition","first","flat","forward","from","full","function","functionmacro","group","grouped","heading","hole","ifblock","import","in","inner","interface","internal","joined","keep","keyed","last","left","limit","linkcounted","literal","little_endian","load","local","locale","lookup","lzw","macro","many","maxcount","maxlength","min skew","module","mofn","multiple","named","namespace","nocase","noroot","noscan","nosort","not","noxpath","of","onfail","only","opt","or","outer","overwrite","packed","partition","penalty","physicallength","pipe","prefetch","quote","record","repeat","retry","return","right","right1","right2","rows","rowset","scan","scope","self","separator","service","shared","skew","skip","smart","soapaction","sql","stable","store","terminator","thor","threshold","timelimit","timeout","token","transform","trim","type","unicodeorder","unordered","unsorted","unstable","update","use","validate","virtual","whole","width","wild","within","wnotrim","xml","xpath"],functions:["abs","acos","aggregate","allnodes","apply","ascii","asin","assert","asstring","atan","atan2","ave","build","buildindex","case","catch","choose","choosen","choosesets","clustersize","combine","correlation","cos","cosh","count","covariance","cron","dataset","dedup","define","denormalize","dictionary","distribute","distributed","distribution","ebcdic","enth","error","evaluate","event","eventextra","eventname","exists","exp","fail","failcode","failmessage","fetch","fromunicode","fromxml","getenv","getisvalid","global","graph","group","hash","hash32","hash64","hashcrc","hashmd5","having","httpcall","httpheader","if","iff","index","intformat","isvalid","iterate","join","keydiff","keypatch","keyunicode","length","library","limit","ln","loadxml","local","log","loop","map","matched","matchlength","matchposition","matchtext","matchunicode","max","merge","mergejoin","min","nofold","nolocal","nonempty","normalize","nothor","notify","output","parallel","parse","pipe","power","preload","process","project","pull","random","range","rank","ranked","realformat","recordof","regexfind","regexreplace","regroup","rejected","rollup","round","roundup","row","rowdiff","sample","sequential","set","sin","sinh","sizeof","soapcall","sort","sorted","sqrt","stepped","stored","sum","table","tan","tanh","thisnode","topn","tounicode","toxml","transfer","transform","trim","truncate","typeof","ungroup","unicodeorder","variance","wait","which","workunit","xmldecode","xmlencode","xmltext","xmlunicode"],typesint:["integer","unsigned"].join("|"),typesnum:["data","qstring","string","unicode","utf8","varstring","varunicode"],typesone:["ascii","big_endian","boolean","data","decimal","ebcdic","grouped","integer","linkcounted","pattern","qstring","real","record","rule","set of","streamed","string","token","udecimal","unicode","unsigned","utf8","varstring","varunicode"].join("|"),operators:["+","-","/",":=","<","<>","=",">","\\","and","in","not","or"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/@typesint[4|8]/,"type"],[/#(@pounds)/,"type"],[/@typesone/,"type"],[/[a-zA-Z_$][\w-$]*/,{cases:{"@functions":"keyword.function","@keywords":"keyword","@operators":"operator"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@syLine truncated
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/elixir/elixir", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var o=Object.defineProperty;var l=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var d=(t,e)=>{for(var i in e)o(t,i,{get:e[i],enumerable:!0})},c=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of s(e))!a.call(t,n)&&n!==i&&o(t,n,{get:()=>e[n],enumerable:!(r=l(e,n))||r.enumerable});return t};var m=t=>c(o({},"__esModule",{value:!0}),t);var p={};d(p,{conf:()=>u,language:()=>g});var u={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"'",close:"'"},{open:'"',close:'"'}],autoClosingPairs:[{open:"'",close:"'",notIn:["string","comment"]},{open:'"',close:'"',notIn:["comment"]},{open:'"""',close:'"""'},{open:"`",close:"`",notIn:["string","comment"]},{open:"(",close:")"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"<<",close:">>"}],indentationRules:{increaseIndentPattern:/^\s*(after|else|catch|rescue|fn|[^#]*(do|<\-|\->|\{|\[|\=))\s*$/,decreaseIndentPattern:/^\s*((\}|\])\s*$|(after|else|catch|rescue|end)\b)/}},g={defaultToken:"source",tokenPostfix:".elixir",brackets:[{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"<<",close:">>",token:"delimiter.angle.special"}],declarationKeywords:["def","defp","defn","defnp","defguard","defguardp","defmacro","defmacrop","defdelegate","defcallback","defmacrocallback","defmodule","defprotocol","defexception","defimpl","defstruct"],operatorKeywords:["and","in","not","or","when"],namespaceKeywords:["alias","import","require","use"],otherKeywords:["after","case","catch","cond","do","else","end","fn","for","if","quote","raise","receive","rescue","super","throw","try","unless","unquote_splicing","unquote","with"],constants:["true","false","nil"],nameBuiltin:["__MODULE__","__DIR__","__ENV__","__CALLER__","__STACKTRACE__"],operator:/-[->]?|!={0,2}|\*{1,2}|\/|\\\\|&{1,3}|\.\.?|\^(?:\^\^)?|\+\+?|<(?:-|<<|=|>|\|>|~>?)?|=~|={1,3}|>(?:=|>>)?|\|~>|\|>|\|{1,3}|~>>?|~~~|::/,variableName:/[a-z_][a-zA-Z0-9_]*[?!]?/,atomName:/[a-zA-Z_][a-zA-Z0-9_@]*[?!]?|@specialAtomName|@operator/,specialAtomName:/\.\.\.|<<>>|%\{\}|%|\{\}/,aliasPart:/[A-Z][a-zA-Z0-9_]*/,moduleName:/@aliasPart(?:\.@aliasPart)*/,sigilSymmetricDelimiter:/"""|'''|"|'|\/|\|/,sigilStartDelimiter:/@sigilSymmetricDelimiter|<|\{|\[|\(/,sigilEndDelimiter:/@sigilSymmetricDelimiter|>|\}|\]|\)/,sigilModifiers:/[a-zA-Z0-9]*/,decimal:/\d(?:_?\d)*/,hex:/[0-9a-fA-F](_?[0-9a-fA-F])*/,octal:/[0-7](_?[0-7])*/,binary:/[01](_?[01])*/,escape:/\\u[0-9a-fA-F]{4}|\\x[0-9a-fA-F]{2}|\\./,tokenizer:{root:[{include:"@whitespace"},{include:"@comments"},{include:"@keywordsShorthand"},{include:"@numbers"},{include:"@identifiers"},{include:"@strings"},{include:"@atoms"},{include:"@sigils"},{include:"@attributes"},{include:"@symbols"}],whitespace:[[/\s+/,"white"]],comments:[[/(#)(.*)/,["comment.punctuation","comment"]]],keywordsShorthand:[[/(@atomName)(:)(\s+)/,["constant","constant.punctuation","white"]],[/"(?=([^"]|#\{.*?\}|\\")*":)/,{token:"constant.delimiter",next:"@doubleQuotedStringKeyword"}],[/'(?=([^']|#\{.*?\}|\\')*':)/,{token:"constant.delimiter",next:"@singleQuotedStringKeyword"}]],doubleQuotedStringKeyword:[[/":/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],singleQuotedStringKeyword:[[/':/,{token:"constant.delimiter",next:"@pop"}],{include:"@stringConstantContentInterpol"}],numbers:[[/0b@binary/,"number.binary"],[/0o@octal/,"number.octal"],[/0x@hex/,"number.hex"],[/@decimal\.@decimal([eE]-?@decimal)?/,"number.float"],[/@decimal/,"number"]],identifiers:[[/\b(defp?|defnp?|defmacrop?|defguardp?|defdelegate)(\s+)(@variableName)(?!\s+@operator)/,["keyword.declaration","white",{cases:{unquote:"keyword","@default":"function"}}]],[/(@variableName)(?=\s*\.?\s*\()/,{cases:{"@declarationKeywords":"keyword.declaration","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@default":"function.call"}}],[/(@moduleName)(\s*)(\.)(\s*)(@variableName)/,["type.identifier","white","operator","white","function.call"]],[/(:)(@atomName)(\s*)(\.)(\s*)(@variableName)/,["constant.punctuation","constant","white","operator","white","function.call"]],[/(\|>)(\s*)(@variableName)/,["operator","white",{cases:{"@otherKeywords":"keyword","@default":"function.call"}}]],[/(&)(\s*)(@variableName)/,["operator","white","function.call"]],[/@variableName/,{cases:{"@declarationKeywords":"keyword.declaration","@operatorKeywords":"keyword.operator","@namespaceKeywords":"keyword","@otherKeywords":"keyword","@constants":"constant.language","@nameBuiltin":"variable.language","_.*":"comment.unused","@default":"identifier"}}],[/@moduleName/,"type.identifier"]],strings:[[/"""/,{token:"string.delimiter",next:"@doubleQuotedHeredoc"}],[/'''/,{token:"string.delimiter",next:"@singleQuotedHeredoc"}],[/"/,{token:"string.delimiter",next:"@doubleQuoteLine truncated
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/flow9/flow9", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},m=(o,e,t,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>e[n],enumerable:!(i=r(e,n))||i.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>g,language:()=>f});var g={comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string"]},{open:"[",close:"]",notIn:["string"]},{open:"(",close:")",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}]},f={defaultToken:"",tokenPostfix:".flow",keywords:["import","require","export","forbid","native","if","else","cast","unsafe","switch","default"],types:["io","mutable","bool","int","double","string","flow","void","ref","true","false","with"],operators:["=",">","<","<=",">=","==","!","!=",":=","::=","&&","||","+","-","*","/","@","&","%",":","->","\\","$","??","^"],symbols:/[@$=><!~?:&|+\-*\\\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":"keyword","@types":"type","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"delimiter"],[/[<>](?!@symbols)/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/((0(x|X)[0-9a-fA-F]*)|(([0-9]+\.?[0-9]*)|(\.[0-9]+))((e|E)(\+|-)?[0-9]+)?)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]]}};return p(u);})();
return moduleExports;
});
@@ -0,0 +1,12 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/freemarker2/freemarker2", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var B=Object.create;var d=Object.defineProperty;var C=Object.getOwnPropertyDescriptor;var D=Object.getOwnPropertyNames;var T=Object.getPrototypeOf,v=Object.prototype.hasOwnProperty;var w=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(n,i)=>(typeof require<"u"?require:n)[i]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')});var h=(t,n)=>()=>(n||t((n={exports:{}}).exports,n),n.exports),S=(t,n)=>{for(var i in n)d(t,i,{get:n[i],enumerable:!0})},s=(t,n,i,e)=>{if(n&&typeof n=="object"||typeof n=="function")for(let o of D(n))!v.call(t,o)&&o!==i&&d(t,o,{get:()=>n[o],enumerable:!(e=C(n,o))||e.enumerable});return t},m=(t,n,i)=>(s(t,n,"default"),i&&s(i,n,"default")),x=(t,n,i)=>(i=t!=null?B(T(t)):{},s(n||!t||!t.__esModule?d(i,"default",{value:t,enumerable:!0}):i,t)),I=t=>s(d({},"__esModule",{value:!0}),t);var F=h((q,f)=>{var y=x(w("vs/editor/editor.api"));f.exports=y});var M={};S(M,{TagAngleInterpolationBracket:()=>L,TagAngleInterpolationDollar:()=>R,TagAutoInterpolationBracket:()=>j,TagAutoInterpolationDollar:()=>Z,TagBracketInterpolationBracket:()=>O,TagBracketInterpolationDollar:()=>z});var _={};m(_,x(F()));var l=["assign","flush","ftl","return","global","import","include","break","continue","local","nested","nt","setting","stop","t","lt","rt","fallback"],k=["attempt","autoesc","autoEsc","compress","comment","escape","noescape","function","if","list","items","sep","macro","noparse","noParse","noautoesc","noAutoEsc","outputformat","switch","visit","recurse"],r={close:">",id:"angle",open:"<"},u={close:"\\]",id:"bracket",open:"\\["},P={close:"[>\\]]",id:"auto",open:"[<\\[]"},g={close:"\\}",id:"dollar",open1:"\\$",open2:"\\{"},A={close:"\\]",id:"bracket",open1:"\\[",open2:"="};function p(t){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],comments:{blockComment:[`${t.open}--`,`--${t.close}`]},autoCloseBefore:`
\r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`${t.open}#(?:${k.join("|")})([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),end:new RegExp(`${t.open}/#(?:${k.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`${t.open}#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),afterText:new RegExp(`^${t.open}/#([a-zA-Z_]+)[\\r\\n\\t ]*${t.close}$`),action:{indentAction:_.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`${t.open}#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/${t.close}]*(?!/)${t.close})[^${t.open}]*$`),action:{indentAction:_.languages.IndentAction.Indent}}]}}function b(){return{brackets:[["<",">"],["[","]"],["(",")"],["{","}"]],autoCloseBefore:`
\r }]),.:;=`,autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string"]}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],folding:{markers:{start:new RegExp(`[<\\[]#(?:${k.join("|")})([^/>\\]]*(?!/)[>\\]])[^<\\[]*$`),end:new RegExp(`[<\\[]/#(?:${k.join("|")})[\\r\\n\\t ]*>`)}},onEnterRules:[{beforeText:new RegExp(`[<\\[]#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),afterText:new RegExp("^[<\\[]/#([a-zA-Z_]+)[\\r\\n\\t ]*[>\\]]$"),action:{indentAction:_.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`[<\\[]#(?!(?:${l.join("|")}))([a-zA-Z_]+)([^/>\\]]*(?!/)[>\\]])[^[<\\[]]*$`),action:{indentAction:_.languages.IndentAction.Indent}}]}}function a(t,n){let i=`_${t.id}_${n.id}`,e=c=>c.replace(/__id__/g,i),o=c=>{let E=c.source.replace(/__id__/g,i);return new RegExp(E,c.flags)};return{unicode:!0,includeLF:!1,start:e("default__id__"),ignoreCase:!1,defaultToken:"invalid",tokenPostfix:".freemarker2",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],[e("open__id__")]:new RegExp(t.open),[e("close__id__")]:new RegExp(t.close),[e("iOpen1__id__")]:new RegExp(n.open1),[e("iOpen2__id__")]:new RegExp(n.open2),[e("iClose__id__")]:new RegExp(n.close),[e("startTag__id__")]:o(/(@open__id__)(#)/),[e("endTag__id__")]:o(/(@open__id__)(\/#)/),[e("startOrEndTag__id__")]:o(/(@open__id__)(\/?#)/),[e("closeTag1__id__")]:o(/((?:@blank)*)(@close__id__)/),[e("closeTag2__id__")]:o(/((?:@blank)*\/?)(@close__id__)/),blank:/[ \t\n\r]/,keywords:["false","true","in","as","using"],directiveStartCloseTag1:/attempt|recover|sep|auto[eE]sc|no(?:autoe|AutoE)sc|compress|default|no[eE]scape|comment|no[pP]arse/,directiveStartCloseTag2:/else|break|continue|return|stop|flush|t|lt|rt|nt|nested|recurse|fallback|ftl/,directiveStartBlank:/if|else[iI]f|list|for[eE]ach|switch|case|assign|global|local|include|import|function|macro|transform|visit|stop|return|call|setting|output[fF]ormat|nested|recurse|escape|ftl|items/,directiveEndCloseTag1:/if|list|items|sep|recover|attempt|for[eE]ach|local|global|assign|function|macro|output[fF]ormat|auto[eE]sc|no(?:autoe|AutoE)sc|compress|transform|switch|escape|no[eE]scape/,escapedChar:/\\(?:[ntrfbgla\\'"\{=]|(?:x[0-9A-Fa-f]{1,4}))/,asciiDigit:/[0-9]/,integer:/[0-9]+/,nonEscapedIdStartChar:/[\$@-Z_a-z\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u1FFF\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183-\u2184\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3006\u3031-\u3035\u303B-\u303C\u3040-\u318F\u31A0-\u31BA\u31F0-\u31FF\u3300-\u337F\u3400-\u4DB5\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5-\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uABC0-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40-\uFB41\uFB43-\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,escapedIdChar:/\\[\-\.:#]/,idStartChar:/(?:@nonEscapedIdStartChar)|(?:@escapedIdChar)/,id:/(?:@idStartChar)(?:(?:@idStartChar)|(?:@asciiDigit))*/,specialHashKeys:/\*\*|\*|false|true|in|as|using/,namedSymbols:/&lt;=|&gt;=|\\lte|\\lt|&lt;|\\gte|\\gt|&gt;|&amp;&amp;|\\and|-&gt;|->|==|!=|\+=|-=|\*=|\/=|%=|\+\+|--|<=|&&|\|\||:|\.\.\.|\.\.\*|\.\.<|\.\.!|\?\?|=|<|\+|-|\*|\/|%|\||\.\.|\?|!|&|\.|,|;/,arrows:["->","-&gt;"],delimiters:[";",":",",","."],stringOperators:["lte","lt","gte","gt"],noParseTags:["noparse","noParse","comment"],tokenizer:{[e("default__id__")]:[{include:e("@directive_token__id__")},{include:e("@interpolation_and_text_token__id__")}],[e("fmExpression__id__.directive")]:[{include:e("@blank_and_expression_comment_token__id__")},{include:e("@directive_end_token__id__")},{include:e("@expression_token__id__")}],[e("fmExpression__id__.interpolation")]:[{include:e("@blank_and_expression_comment_token Line truncated
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/fsharp/fsharp", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var o in e)s(n,o,{get:e[o],enumerable:!0})},g=(n,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of a(e))!l.call(n,t)&&t!==o&&s(n,t,{get:()=>e[t],enumerable:!(i=r(e,t))||i.enumerable});return n};var f=n=>g(s({},"__esModule",{value:!0}),n);var d={};c(d,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"//",blockComment:["(*","*)"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*//\\s*#region\\b|^\\s*\\(\\*\\s*#region(.*)\\*\\)"),end:new RegExp("^\\s*//\\s*#endregion\\b|^\\s*\\(\\*\\s*#endregion\\s*\\*\\)")}}},u={defaultToken:"",tokenPostfix:".fs",keywords:["abstract","and","atomic","as","assert","asr","base","begin","break","checked","component","const","constraint","constructor","continue","class","default","delegate","do","done","downcast","downto","elif","else","end","exception","eager","event","external","extern","false","finally","for","fun","function","fixed","functor","global","if","in","include","inherit","inline","interface","internal","land","lor","lsl","lsr","lxor","lazy","let","match","member","mod","module","mutable","namespace","method","mixin","new","not","null","of","open","or","object","override","private","parallel","process","protected","pure","public","rec","return","static","sealed","struct","sig","then","to","true","tailcall","trait","try","type","upcast","use","val","void","virtual","volatile","when","while","with","yield"],symbols:/[=><!~?:&|+\-*\^%;\.,\/]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,integersuffix:/[uU]?[yslnLI]?/,floatsuffix:/[fFmM]?/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[<.*>\]/,"annotation"],[/^#(if|else|endif)/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\d+[eE]([\-+]?\d+)?(@floatsuffix)/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?(@floatsuffix)/,"number.float"],[/0x[0-9a-fA-F]+LF/,"number.float"],[/0x[0-9a-fA-F]+(@integersuffix)/,"number.hex"],[/0b[0-1]+(@integersuffix)/,"number.bin"],[/\d+(@integersuffix)/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string",'@string."""'],[/"/,"string",'@string."'],[/\@"/,{token:"string.quote",next:"@litstring"}],[/'[^\\']'B?/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\(\*(?!\))/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^*(]+/,"comment"],[/\*\)/,"comment","@pop"],[/\*/,"comment"],[/\(\*\)/,"comment"],[/\(/,"comment"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/("""|"B?)/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]],litstring:[[/[^"]+/,"string"],[/""/,"string.escape"],[/"/,{token:"string.quote",next:"@pop"}]]}};return f(d);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/go/go", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var m=(n,e)=>{for(var t in e)s(n,t,{get:e[t],enumerable:!0})},l=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of a(e))!c.call(n,o)&&o!==t&&s(n,o,{get:()=>e[o],enumerable:!(r=i(e,o))||r.enumerable});return n};var g=n=>l(s({},"__esModule",{value:!0}),n);var d={};m(d,{conf:()=>p,language:()=>u});var p={comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`",notIn:["string"]},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"}]},u={defaultToken:"",tokenPostfix:".go",keywords:["break","case","chan","const","continue","default","defer","else","fallthrough","for","func","go","goto","if","import","interface","map","package","range","return","select","struct","switch","type","var","bool","true","false","uint8","uint16","uint32","uint64","int8","int16","int32","int64","float32","float64","complex64","complex128","byte","rune","uint","int","uintptr","string","nil"],operators:["+","-","*","/","%","&","|","^","<<",">>","&^","+=","-=","*=","/=","%=","&=","|=","^=","<<=",">>=","&^=","&&","||","<-","++","--","==","<",">","=","!","!=","<=",">=",":=","...","(",")","","]","{","}",",",";",".",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/\[\[.*\]\]/,"annotation"],[/^\s*#\w+/,"keyword"],[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F']*[0-9a-fA-F]/,"number.hex"],[/0[0-7']*[0-7]/,"number.octal"],[/0[bB][0-1']*[0-1]/,"number.binary"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string"],[/`/,"string","@rawstring"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@doccomment"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],doccomment:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],rawstring:[[/[^\`]/,"string"],[/`/,"string","@pop"]]}};return g(d);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/graphql/graphql", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var t in e)s(n,t,{get:e[t],enumerable:!0})},d=(n,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of i(e))!l.call(n,o)&&o!==t&&s(n,o,{get:()=>e[o],enumerable:!(r=a(e,o))||r.enumerable});return n};var p=n=>d(s({},"__esModule",{value:!0}),n);var u={};c(u,{conf:()=>g,language:()=>I});var g={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""',notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"""',close:'"""'},{open:'"',close:'"'}],folding:{offSide:!0}},I={defaultToken:"invalid",tokenPostfix:".gql",keywords:["null","true","false","query","mutation","subscription","extend","schema","directive","scalar","type","interface","union","enum","input","implements","fragment","on"],typeKeywords:["Int","Float","String","Boolean","ID"],directiveLocations:["SCHEMA","SCALAR","OBJECT","FIELD_DEFINITION","ARGUMENT_DEFINITION","INTERFACE","UNION","ENUM","ENUM_VALUE","INPUT_OBJECT","INPUT_FIELD_DEFINITION","QUERY","MUTATION","SUBSCRIPTION","FIELD","FRAGMENT_DEFINITION","FRAGMENT_SPREAD","INLINE_FRAGMENT","VARIABLE_DEFINITION"],operators:["=","!","?",":","&","|"],symbols:/[=!?:&|]+/,escapes:/\\(?:["\\\/bfnrt]|u[0-9A-Fa-f]{4})/,tokenizer:{root:[[/[a-z_][\w$]*/,{cases:{"@keywords":"keyword","@default":"key.identifier"}}],[/[$][\w$]*/,{cases:{"@keywords":"keyword","@default":"argument.identifier"}}],[/[A-Z][\w\$]*/,{cases:{"@typeKeywords":"keyword","@default":"type.identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,{token:"annotation",log:"annotation token: $0"}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"],[/"""/,{token:"string",next:"@mlstring",nextEmbedded:"markdown"}],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"/,{token:"string.quote",bracket:"@open",next:"@string"}]],mlstring:[[/[^"]+/,"string"],['"""',{token:"string",next:"@pop",nextEmbedded:"@pop"}]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,{token:"string.quote",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/#.*$/,"comment"]]}};return p(u);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/handlebars/handlebars", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var h=Object.create;var i=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var y=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var T=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),S=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},m=(e,t,n,o)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of u(t))!k.call(e,r)&&r!==n&&i(e,r,{get:()=>t[r],enumerable:!(o=b(t,r))||o.enumerable});return e},l=(e,t,n)=>(m(e,t,"default"),n&&m(n,t,"default")),s=(e,t,n)=>(n=e!=null?h(x(e)):{},m(t||!e||!e.__esModule?i(n,"default",{value:e,enumerable:!0}):n,e)),E=e=>m(i({},"__esModule",{value:!0}),e);var c=T((I,d)=>{var w=s(y("vs/editor/editor.api"));d.exports=w});var f={};S(f,{conf:()=>g,language:()=>$});var a={};l(a,s(c()));var p=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],g={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["{{!--","--}}"]},brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${p.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:a.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${p.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:a.languages.IndentAction.Indent}}]},$={defaultToken:"",tokenPostfix:"",tokenizer:{root:[[/\{\{!--/,"comment.block.start.handlebars","@commentBlock"],[/\{\{!/,"comment.start.handlebars","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.root"}],[/<!DOCTYPE/,"metatag.html","@doctype"],[/<!--/,"comment.html","@commentHtml"],[/(<)(\w+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)(script)/,["delimiter.html",{token:"tag.html",next:"@script"}]],[/(<)(style)/,["delimiter.html",{token:"tag.html",next:"@style"}]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)(\w+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],doctype:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/[^>]+/,"metatag.content.html"],[/>/,"metatag.html","@pop"]],comment:[[/\}\}/,"comment.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentBlock:[[/--\}\}/,"comment.block.end.handlebars","@pop"],[/./,"comment.content.handlebars"]],commentHtml:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.comment"}],[/-->/,"comment.html","@pop"],[/[^-]+/,"comment.content.html"],[/./,"comment.content.html"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.script"}],[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter.html","tag.html",{token:"delimiter.html",next:"@pop"}]]],scriptAfterType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterType"}],[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptAfterTypeEquals"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.text/javascript",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/\{\{/,{token:"@rematch",switchTo:"@handlebarsInSimpleState.scriptWithCustomType.$S2"}],[/>/,{token:"delimiter.html",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/\{\{/,{token:"@rematch",switLine truncated
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/hcl/hcl", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var r=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},d=(t,e,o,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of i(e))!c.call(t,s)&&s!==o&&r(t,s,{get:()=>e[s],enumerable:!(n=a(e,s))||n.enumerable});return t};var m=t=>d(r({},"__esModule",{value:!0}),t);var f={};l(f,{conf:()=>p,language:()=>g});var p={comments:{lineComment:"#",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'}]},g={defaultToken:"",tokenPostfix:".hcl",keywords:["var","local","path","for_each","any","string","number","bool","true","false","null","if ","else ","endif ","for ","in","endfor"],operators:["=",">=","<=","==","!=","+","-","*","/","%","&&","||","!","<",">","?","...",":"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,terraformFunctions:/(abs|ceil|floor|log|max|min|pow|signum|chomp|format|formatlist|indent|join|lower|regex|regexall|replace|split|strrev|substr|title|trimspace|upper|chunklist|coalesce|coalescelist|compact|concat|contains|distinct|element|flatten|index|keys|length|list|lookup|map|matchkeys|merge|range|reverse|setintersection|setproduct|setunion|slice|sort|transpose|values|zipmap|base64decode|base64encode|base64gzip|csvdecode|jsondecode|jsonencode|urlencode|yamldecode|yamlencode|abspath|dirname|pathexpand|basename|file|fileexists|fileset|filebase64|templatefile|formatdate|timeadd|timestamp|base64sha256|base64sha512|bcrypt|filebase64sha256|filebase64sha512|filemd5|filemd1|filesha256|filesha512|md5|rsadecrypt|sha1|sha256|sha512|uuid|uuidv5|cidrhost|cidrnetmask|cidrsubnet|tobool|tolist|tomap|tonumber|toset|tostring)/,terraformMainBlocks:/(module|data|terraform|resource|provider|variable|output|locals)/,tokenizer:{root:[[/^@terraformMainBlocks([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["type","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)(\{)/,["identifier","","string","","string","","@brackets"]],[/(\w+[ \t]+)([ \t]*)([\w-]+|"[\w-]+"|)([ \t]*)([\w-]+|"[\w-]+"|)(=)(\{)/,["identifier","","string","","operator","","@brackets"]],{include:"@terraform"}],terraform:[[/@terraformFunctions(\()/,["type","@brackets"]],[/[a-zA-Z_]\w*-*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"variable"}}],{include:"@whitespace"},{include:"@heredoc"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"operator","@default":""}}],[/\d*\d+[eE]([\-+]?\d+)?/,"number.float"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/\d[\d']*/,"number"],[/\d/,"number"],[/[;,.]/,"delimiter"],[/"/,"string","@string"],[/'/,"invalid"]],heredoc:[[/<<[-]*\s*["]?([\w\-]+)["]?/,{token:"string.heredoc.delimiter",next:"@heredocBody.$1"}]],heredocBody:[[/([\w\-]+)$/,{cases:{"$1==$S2":[{token:"string.heredoc.delimiter",next:"@popall"}],"@default":"string.heredoc"}}],[/./,"string.heredoc"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"],[/#.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],string:[[/\$\{/,{token:"delimiter",next:"@stringExpression"}],[/[^\\"\$]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@popall"]],stringInsideExpression:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],stringExpression:[[/\}/,{token:"delimiter",next:"@pop"}],[/"/,"string","@stringInsideExpression"],{include:"@terraform"}]}};return m(f);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/html/html", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var u=Object.create;var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var y=Object.getPrototypeOf,g=Object.prototype.hasOwnProperty;var k=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var E=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),T=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})},o=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of x(t))!g.call(e,r)&&r!==n&&a(e,r,{get:()=>t[r],enumerable:!(s=b(t,r))||s.enumerable});return e},d=(e,t,n)=>(o(e,t,"default"),n&&o(n,t,"default")),m=(e,t,n)=>(n=e!=null?u(y(e)):{},o(t||!e||!e.__esModule?a(n,"default",{value:e,enumerable:!0}):n,e)),w=e=>o(a({},"__esModule",{value:!0}),e);var l=E((A,p)=>{var h=m(k("vs/editor/editor.api"));p.exports=h});var $={};T($,{conf:()=>v,language:()=>f});var i={};d(i,m(l()));var c=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],v={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,comments:{blockComment:["<!--","-->"]},brackets:[["<!--","-->"],["<",">"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:'"',close:'"'},{open:"'",close:"'"},{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"<",close:">"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${c.join("|")}))([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:i.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${c.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:i.languages.IndentAction.Indent}}],folding:{markers:{start:new RegExp("^\\s*<!--\\s*#region\\b.*-->"),end:new RegExp("^\\s*<!--\\s*#endregion\\b.*-->")}}},f={defaultToken:"",tokenPostfix:".html",ignoreCase:!0,tokenizer:{root:[[/<!DOCTYPE/,"metatag","@doctype"],[/<!--/,"comment","@comment"],[/(<)((?:[\w\-]+:)?[\w\-]+)(\s*)(\/>)/,["delimiter","tag","","delimiter"]],[/(<)(script)/,["delimiter",{token:"tag",next:"@script"}]],[/(<)(style)/,["delimiter",{token:"tag",next:"@style"}]],[/(<)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/(<\/)((?:[\w\-]+:)?[\w\-]+)/,["delimiter",{token:"tag",next:"@otherTag"}]],[/</,"delimiter"],[/[^<]+/]],doctype:[[/[^>]+/,"metatag.content"],[/>/,"metatag","@pop"]],comment:[[/-->/,"comment","@pop"],[/[^-]+/,"comment.content"],[/./,"comment.content"]],otherTag:[[/\/?>/,"delimiter","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],script:[[/type/,"attribute.name","@scriptAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/(<\/)(script\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],scriptAfterType:[[/=/,"delimiter","@scriptAfterTypeEquals"],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptAfterTypeEquals:[[/"module"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/'module'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.text/javascript"}],[/"([^"]*)"/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/'([^']*)'/,{token:"attribute.value",switchTo:"@scriptWithCustomType.$1"}],[/>/,{token:"delimiter",next:"@scriptEmbedded",nextEmbedded:"text/javascript"}],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptWithCustomType:[[/>/,{token:"delimiter",next:"@scriptEmbedded.$S2",nextEmbedded:"$S2"}],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/],[/<\/script\s*>/,{token:"@rematch",next:"@pop"}]],scriptEmbedded:[[/<\/script/,{token:"@rematch",next:"@pop",nextEmbedded:"@pop"}],[/[^<]+/,""]],style:[[/type/,"attribute.name","@styleAfterType"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/(<\/)(style\s*)(>)/,["delimiter","tag",{token:"delimiter",next:"@pop"}]]],styleAfterType:[[/=/,"delimiter","@styleAfterTypeEquals"],[/>/,{token:"delimiter",next:"@styleEmbedded",nextEmbedded:"text/css"}],[/[ \t\r\n]+/],[/<\/style\s*>/,{token:"@rematch",next:"@pop"}]],styleAfterTypeEquals:[[/"([^"]*)"/,{token:"attribute.value",switchTo:"@styleWithCustomType.$1"}],[/'([^']*)'/,{token:"aLine truncated
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/ini/ini", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var t=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var g=Object.prototype.hasOwnProperty;var c=(n,e)=>{for(var s in e)t(n,s,{get:e[s],enumerable:!0})},l=(n,e,s,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of r(e))!g.call(n,o)&&o!==s&&t(n,o,{get:()=>e[o],enumerable:!(a=i(e,o))||a.enumerable});return n};var p=n=>l(t({},"__esModule",{value:!0}),n);var f={};c(f,{conf:()=>u,language:()=>m});var u={comments:{lineComment:"#"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},m={defaultToken:"",tokenPostfix:".ini",escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/^\[[^\]]*\]/,"metatag"],[/(^\w+)(\s*)(\=)/,["key","","delimiter"]],{include:"@whitespace"},[/\d+/,"number"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/^\s*[#;].*$/,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};return p(f);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/java/java", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var o in e)s(t,o,{get:e[o],enumerable:!0})},d=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of r(e))!c.call(t,n)&&n!==o&&s(t,n,{get:()=>e[n],enumerable:!(i=a(e,n))||i.enumerable});return t};var g=t=>d(s({},"__esModule",{value:!0}),t);var f={};l(f,{conf:()=>m,language:()=>p});var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},p={defaultToken:"",tokenPostfix:".java",keywords:["abstract","continue","for","new","switch","assert","default","goto","package","synchronized","boolean","do","if","private","this","break","double","implements","protected","throw","byte","else","import","public","throws","case","enum","instanceof","return","transient","catch","extends","int","short","try","char","final","interface","static","void","class","finally","long","strictfp","volatile","const","float","native","super","while","true","false","yield","record","sealed","non-sealed","permits"],operators:["=",">","<","!","~","?",":","==","<=",">=","!=","&&","||","++","--","+","-","*","/","&","|","^","%","<<",">>",">>>","+=","-=","*=","/=","&=","|=","^=","%=","<<=",">>=",">>>="],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[["non-sealed","keyword.non-sealed"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}};return g(f);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/javascript/javascript", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var x=Object.create;var a=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var f=Object.getOwnPropertyNames;var b=Object.getPrototypeOf,k=Object.prototype.hasOwnProperty;var y=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,n)=>(typeof require<"u"?require:t)[n]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var w=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),h=(e,t)=>{for(var n in t)a(e,n,{get:t[n],enumerable:!0})},s=(e,t,n,c)=>{if(t&&typeof t=="object"||typeof t=="function")for(let r of f(t))!k.call(e,r)&&r!==n&&a(e,r,{get:()=>t[r],enumerable:!(c=u(t,r))||c.enumerable});return e},g=(e,t,n)=>(s(e,t,"default"),n&&s(n,t,"default")),p=(e,t,n)=>(n=e!=null?x(b(e)):{},s(t||!e||!e.__esModule?a(n,"default",{value:e,enumerable:!0}):n,e)),v=e=>s(a({},"__esModule",{value:!0}),e);var d=w((C,l)=>{var A=p(y("vs/editor/editor.api"));l.exports=A});var _={};h(_,{conf:()=>$,language:()=>T});var i={};g(i,p(d()));var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],onEnterRules:[{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,afterText:/^\s*\*\/$/,action:{indentAction:i.languages.IndentAction.IndentOutdent,appendText:" * "}},{beforeText:/^\s*\/\*\*(?!\/)([^\*]|\*(?!\/))*$/,action:{indentAction:i.languages.IndentAction.None,appendText:" * "}},{beforeText:/^(\t|(\ \ ))*\ \*(\ ([^\*]|\*(?!\/))*)?$/,action:{indentAction:i.languages.IndentAction.None,appendText:"* "}},{beforeText:/^(\t|(\ \ ))*\ \*\/\s*$/,action:{indentAction:i.languages.IndentAction.None,removeText:1}}],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"',notIn:["string"]},{open:"'",close:"'",notIn:["string","comment"]},{open:"`",close:"`",notIn:["string","comment"]},{open:"/**",close:" */",notIn:["string"]}],folding:{markers:{start:new RegExp("^\\s*//\\s*#?region\\b"),end:new RegExp("^\\s*//\\s*#?endregion\\b")}}},o={defaultToken:"invalid",tokenPostfix:".ts",keywords:["abstract","any","as","asserts","bigint","boolean","break","case","catch","class","continue","const","constructor","debugger","declare","default","delete","do","else","enum","export","extends","false","finally","for","from","function","get","if","implements","import","in","infer","instanceof","interface","is","keyof","let","module","namespace","never","new","null","number","object","out","package","private","protected","public","override","readonly","require","global","return","satisfies","set","static","string","super","switch","symbol","this","throw","true","try","type","typeof","undefined","unique","unknown","var","void","while","with","yield","async","await","of"],operators:["<=",">=","==","!=","===","!==","=>","+","-","**","*","/","%","++","--","<<","</",">>",">>>","&","|","^","!","~","&&","||","??","?",":","=","+=","-=","*=","**=","/=","%=","<<=",">>=",">>>=","&=","|=","^=","@"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,regexpctl:/[(){}\[\]\$\^|\-*+?\.]/,regexpesc:/\\(?:[bBdDfnrstvwWn0\\\/]|@regexpctl|c[A-Z]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4})/,tokenizer:{root:[[/[{}]/,"delimiter.bracket"],{include:"common"}],common:[[/#?[a-z_$][\w$]*/,{cases:{"@keywords":"keyword","@default":"identifier"}}],[/[A-Z][\w\$]*/,"type.identifier"],{include:"@whitespace"},[/\/(?=([^\\\/]|\\.)+\/([dgimsuy]*)(\s*)(\.|;|,|\)|\]|\}|$))/,{token:"regexp",bracket:"@open",next:"@regexp"}],[/[()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/!(?=([^=]|$))/,"delimiter"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/(@digits)[eE]([\-+]?(@digits))?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?/,"number.float"],[/0[xX](@hexdigits)n?/,"number.hex"],[/0[oO]?(@octaldigits)n?/,"number.octal"],[/0[bB](@binarydigits)n?/,"number.binary"],[/(@digits)n?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string","@string_double"],[/'/,"string","@string_single"],[/`/,"string","@string_backtick"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@jsdoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],jsdoc:[[/[^\/*]+/,"comment.doc"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],regexp:[[/(\{)(\d+(?:,\d*)?)(\})/,["regexp.escape.control","regexp.escape.control","regexp.escape.control"]],[/(\[)(\^?)(?=(?:[^\]\\\/]|\\.)+)/,["regexp.escape.control",{token:"regexp.escape.control",next:"@regexrange"}]],[/(\()(\?:|\?=|\?!)/,["regexp.escape.control","regexp.escape.control"]],[/[()]/,"regexp.escaLine truncated
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/julia/julia", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var o=Object.defineProperty;var i=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var c=(t,e)=>{for(var n in e)o(t,n,{get:e[n],enumerable:!0})},l=(t,e,n,a)=>{if(e&&typeof e=="object"||typeof e=="function")for(let r of s(e))!p.call(t,r)&&r!==n&&o(t,r,{get:()=>e[r],enumerable:!(a=i(e,r))||a.enumerable});return t};var d=t=>l(o({},"__esModule",{value:!0}),t);var u={};c(u,{conf:()=>g,language:()=>m});var g={brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},m={tokenPostfix:".julia",keywords:["begin","while","if","for","try","return","break","continue","function","macro","quote","let","local","global","const","do","struct","module","baremodule","using","import","export","end","else","elseif","catch","finally","mutable","primitive","abstract","type","in","isa","where","new"],types:["LinRange","LineNumberNode","LinearIndices","LoadError","MIME","Matrix","Method","MethodError","Missing","MissingException","Module","NTuple","NamedTuple","Nothing","Number","OrdinalRange","OutOfMemoryError","OverflowError","Pair","PartialQuickSort","PermutedDimsArray","Pipe","Ptr","QuoteNode","Rational","RawFD","ReadOnlyMemoryError","Real","ReentrantLock","Ref","Regex","RegexMatch","RoundingMode","SegmentationFault","Set","Signed","Some","StackOverflowError","StepRange","StepRangeLen","StridedArray","StridedMatrix","StridedVecOrMat","StridedVector","String","StringIndexError","SubArray","SubString","SubstitutionString","Symbol","SystemError","Task","Text","TextDisplay","Timer","Tuple","Type","TypeError","TypeVar","UInt","UInt128","UInt16","UInt32","UInt64","UInt8","UndefInitializer","AbstractArray","UndefKeywordError","AbstractChannel","UndefRefError","AbstractChar","UndefVarError","AbstractDict","Union","AbstractDisplay","UnionAll","AbstractFloat","UnitRange","AbstractIrrational","Unsigned","AbstractMatrix","AbstractRange","Val","AbstractSet","Vararg","AbstractString","VecElement","AbstractUnitRange","VecOrMat","AbstractVecOrMat","Vector","AbstractVector","VersionNumber","Any","WeakKeyDict","ArgumentError","WeakRef","Array","AssertionError","BigFloat","BigInt","BitArray","BitMatrix","BitSet","BitVector","Bool","BoundsError","CapturedException","CartesianIndex","CartesianIndices","Cchar","Cdouble","Cfloat","Channel","Char","Cint","Cintmax_t","Clong","Clonglong","Cmd","Colon","Complex","ComplexF16","ComplexF32","ComplexF64","CompositeException","Condition","Cptrdiff_t","Cshort","Csize_t","Cssize_t","Cstring","Cuchar","Cuint","Cuintmax_t","Culong","Culonglong","Cushort","Cvoid","Cwchar_t","Cwstring","DataType","DenseArray","DenseMatrix","DenseVecOrMat","DenseVector","Dict","DimensionMismatch","Dims","DivideError","DomainError","EOFError","Enum","ErrorException","Exception","ExponentialBackOff","Expr","Float16","Float32","Float64","Function","GlobalRef","HTML","IO","IOBuffer","IOContext","IOStream","IdDict","IndexCartesian","IndexLinear","IndexStyle","InexactError","InitError","Int","Int128","Int16","Int32","Int64","Int8","Integer","InterruptException","InvalidStateException","Irrational","KeyError"],keywordops:["<:",">:",":","=>","...",".","->","?"],allops:/[^\w\d\s()\[\]{}"'#]+/,constants:["true","false","nothing","missing","undef","Inf","pi","NaN","\u03C0","\u212F","ans","PROGRAM_FILE","ARGS","C_NULL","VERSION","DEPOT_PATH","LOAD_PATH"],operators:["!","!=","!==","%","&","*","+","-","/","//","<","<<","<=","==","===","=>",">",">=",">>",">>>","\\","^","|","|>","~","\xF7","\u2208","\u2209","\u220B","\u220C","\u2218","\u221A","\u221B","\u2229","\u222A","\u2248","\u2249","\u2260","\u2261","\u2262","\u2264","\u2265","\u2286","\u2287","\u2288","\u2289","\u228A","\u228B","\u22BB"],brackets:[{open:"(",close:")",token:"delimiter.parenthesis"},{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.square"}],ident:/π|ℯ|\b(?!\d)\w+\b/,escape:/(?:[abefnrstv\\"'\n\r]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4})/,escapes:/\\(?:C\-(@escape|.)|c(@escape|.)|@escape)/,tokenizer:{root:[[/(::)\s*|\b(isa)\s+/,"keyword","@typeanno"],[/\b(isa)(\s*\(@ident\s*,\s*)/,["keyword",{token:"",next:"@typeanno"}]],[/\b(type|struct)[ \t]+/,"keyword","@typeanno"],[/^\s*:@ident[!?]?/,"metatag"],[/(return)(\s*:@ident[!?]?)/,["keyword","metatag"]],[/(\(|\[|\{|@allops)(\s*:@ident[!?]?)/,["","metatag"]],[/:\(/,"metatag","@quote"],[/r"""/,"regexp.delim","@tregexp"],[/r"/,"regexp.delim","@sregexp"],[/raw"""/,"string.delim","@rtstring"],[/[bv]?"""/,"string.delim","@dtstring"],[/raw"/,"string.delim","@rsstring"],[/[bv]?"/,"string.delim","@dsstring"],[/(@ident)\{/,{cases:{"$1@types":{token:"type",next:"@gen"},"@default":{token:"type",next:"@gen"}}}],[/@ident[!?'']?(?=\.?\()/,{cases:{"@types":"type","@keywords":"keyword","@consLine truncated
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/kotlin/kotlin", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var o=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var r=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var l=(n,e)=>{for(var i in e)o(n,i,{get:e[i],enumerable:!0})},d=(n,e,i,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of r(e))!c.call(n,t)&&t!==i&&o(n,t,{get:()=>e[t],enumerable:!(s=a(e,t))||s.enumerable});return n};var g=n=>d(o({},"__esModule",{value:!0}),n);var f={};l(f,{conf:()=>m,language:()=>p});var m={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\#\%\^\&\*\(\)\-\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\?\s]+)/g,comments:{lineComment:"//",blockComment:["/*","*/"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"},{open:"<",close:">"}],folding:{markers:{start:new RegExp("^\\s*//\\s*(?:(?:#?region\\b)|(?:<editor-fold\\b))"),end:new RegExp("^\\s*//\\s*(?:(?:#?endregion\\b)|(?:</editor-fold>))")}}},p={defaultToken:"",tokenPostfix:".kt",keywords:["as","as?","break","class","continue","do","else","false","for","fun","if","in","!in","interface","is","!is","null","object","package","return","super","this","throw","true","try","typealias","val","var","when","while","by","catch","constructor","delegate","dynamic","field","file","finally","get","import","init","param","property","receiver","set","setparam","where","actual","abstract","annotation","companion","const","crossinline","data","enum","expect","external","final","infix","inline","inner","internal","lateinit","noinline","open","operator","out","override","private","protected","public","reified","sealed","suspend","tailrec","vararg","field","it"],operators:["+","-","*","/","%","=","+=","-=","*=","/=","%=","++","--","&&","||","!","==","!=","===","!==",">","<","<=",">=","[","]","!!","?.","?:","::","..",":","?","->","@",";","$","_"],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,digits:/\d+(_+\d+)*/,octaldigits:/[0-7]+(_+[0-7]+)*/,binarydigits:/[0-1]+(_+[0-1]+)*/,hexdigits:/[[0-9a-fA-F]+(_+[0-9a-fA-F]+)*/,tokenizer:{root:[[/[A-Z][\w\$]*/,"type.identifier"],[/[a-zA-Z_$][\w$]*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/@\s*[a-zA-Z_\$][\w\$]*/,"annotation"],[/(@digits)[eE]([\-+]?(@digits))?[fFdD]?/,"number.float"],[/(@digits)\.(@digits)([eE][\-+]?(@digits))?[fFdD]?/,"number.float"],[/0[xX](@hexdigits)[Ll]?/,"number.hex"],[/0(@octaldigits)[Ll]?/,"number.octal"],[/0[bB](@binarydigits)[Ll]?/,"number.binary"],[/(@digits)[fFdD]/,"number.float"],[/(@digits)[lL]?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/"""/,"string","@multistring"],[/"/,"string","@string"],[/'[^\\']'/,"string"],[/(')(@escapes)(')/,["string","string.escape","string"]],[/'/,"string.invalid"]],whitespace:[[/[ \t\r\n]+/,""],[/\/\*\*(?!\/)/,"comment.doc","@javadoc"],[/\/\*/,"comment","@comment"],[/\/\/.*$/,"comment"]],comment:[[/[^\/*]+/,"comment"],[/\/\*/,"comment","@comment"],[/\*\//,"comment","@pop"],[/[\/*]/,"comment"]],javadoc:[[/[^\/*]+/,"comment.doc"],[/\/\*/,"comment.doc","@push"],[/\/\*/,"comment.doc.invalid"],[/\*\//,"comment.doc","@pop"],[/[\/*]/,"comment.doc"]],string:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"/,"string","@pop"]],multistring:[[/[^\\"]+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/"""/,"string","@pop"],[/./,"string"]]}};return g(f);})();
return moduleExports;
});
@@ -0,0 +1,11 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/less/less", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var r=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var a=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var d=(t,e)=>{for(var i in e)r(t,i,{get:e[i],enumerable:!0})},u=(t,e,i,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of a(e))!l.call(t,n)&&n!==i&&r(t,n,{get:()=>e[n],enumerable:!(o=s(e,n))||o.enumerable});return t};var c=t=>u(r({},"__esModule",{value:!0}),t);var p={};d(p,{conf:()=>m,language:()=>g});var m={wordPattern:/(#?-?\d*\.\d\w*%?)|([@#!.:]?[\w-?]+%?)|[@#!.]/g,comments:{blockComment:["/*","*/"],lineComment:"//"},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}",notIn:["string","comment"]},{open:"[",close:"]",notIn:["string","comment"]},{open:"(",close:")",notIn:["string","comment"]},{open:'"',close:'"',notIn:["string","comment"]},{open:"'",close:"'",notIn:["string","comment"]}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],folding:{markers:{start:new RegExp("^\\s*\\/\\*\\s*#region\\b\\s*(.*?)\\s*\\*\\/"),end:new RegExp("^\\s*\\/\\*\\s*#endregion\\b.*\\*\\/")}}},g={defaultToken:"",tokenPostfix:".less",identifier:"-?-?([a-zA-Z]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",identifierPlus:"-?-?([a-zA-Z:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))([\\w\\-:.]|(\\\\(([0-9a-fA-F]{1,6}\\s?)|[^[0-9a-fA-F])))*",brackets:[{open:"{",close:"}",token:"delimiter.curly"},{open:"[",close:"]",token:"delimiter.bracket"},{open:"(",close:")",token:"delimiter.parenthesis"},{open:"<",close:">",token:"delimiter.angle"}],tokenizer:{root:[{include:"@nestedJSBegin"},["[ \\t\\r\\n]+",""],{include:"@comments"},{include:"@keyword"},{include:"@strings"},{include:"@numbers"},["[*_]?[a-zA-Z\\-\\s]+(?=:.*(;|(\\\\$)))","attribute.name","@attribute"],["url(\\-prefix)?\\(",{token:"tag",next:"@urldeclaration"}],["[{}()\\[\\]]","@brackets"],["[,:;]","delimiter"],["#@identifierPlus","tag.id"],["&","tag"],["\\.@identifierPlus(?=\\()","tag.class","@attribute"],["\\.@identifierPlus","tag.class"],["@identifierPlus","tag"],{include:"@operators"},["@(@identifier(?=[:,\\)]))","variable","@attribute"],["@(@identifier)","variable"],["@","key","@atRules"]],nestedJSBegin:[["``","delimiter.backtick"],["`",{token:"delimiter.backtick",next:"@nestedJSEnd",nextEmbedded:"text/javascript"}]],nestedJSEnd:[["`",{token:"delimiter.backtick",next:"@pop",nextEmbedded:"@pop"}]],operators:[["[<>=\\+\\-\\*\\/\\^\\|\\~]","operator"]],keyword:[["(@[\\s]*import|![\\s]*important|true|false|when|iscolor|isnumber|isstring|iskeyword|isurl|ispixel|ispercentage|isem|hue|saturation|lightness|alpha|lighten|darken|saturate|desaturate|fadein|fadeout|fade|spin|mix|round|ceil|floor|percentage)\\b","keyword"]],urldeclaration:[{include:"@strings"},[`[^)\r
]+`,"string"],["\\)",{token:"tag",next:"@pop"}]],attribute:[{include:"@nestedJSBegin"},{include:"@comments"},{include:"@strings"},{include:"@numbers"},{include:"@keyword"},["[a-zA-Z\\-]+(?=\\()","attribute.value","@attribute"],[">","operator","@pop"],["@identifier","attribute.value"],{include:"@operators"},["@(@identifier)","variable"],["[)\\}]","@brackets","@pop"],["[{}()\\[\\]>]","@brackets"],["[;]","delimiter","@pop"],["[,=:]","delimiter"],["\\s",""],[".","attribute.value"]],comments:[["\\/\\*","comment","@comment"],["\\/\\/+.*","comment"]],comment:[["\\*\\/","comment","@pop"],[".","comment"]],numbers:[["(\\d*\\.)?\\d+([eE][\\-+]?\\d+)?",{token:"attribute.value.number",next:"@units"}],["#[0-9a-fA-F_]+(?!\\w)","attribute.value.hex"]],units:[["(em|ex|ch|rem|fr|vmin|vmax|vw|vh|vm|cm|mm|in|px|pt|pc|deg|grad|rad|turn|s|ms|Hz|kHz|%)?","attribute.value.unit","@pop"]],strings:[['~?"',{token:"string.delimiter",next:"@stringsEndDoubleQuote"}],["~?'",{token:"string.delimiter",next:"@stringsEndQuote"}]],stringsEndDoubleQuote:[['\\\\"',"string"],['"',{token:"string.delimiter",next:"@popall"}],[".","string"]],stringsEndQuote:[["\\\\'","string"],["'",{token:"string.delimiter",next:"@popall"}],[".","string"]],atRules:[{include:"@comments"},{include:"@strings"},["[()]","delimiter"],["[\\{;]","delimiter","@pop"],[".","key"]]}};return c(p);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/lexon/lexon", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var n=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var d=Object.getOwnPropertyNames;var a=Object.prototype.hasOwnProperty;var l=(t,e)=>{for(var i in e)n(t,i,{get:e[i],enumerable:!0})},p=(t,e,i,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of d(e))!a.call(t,o)&&o!==i&&n(t,o,{get:()=>e[o],enumerable:!(r=s(e,o))||r.enumerable});return t};var c=t=>p(n({},"__esModule",{value:!0}),t);var k={};l(k,{conf:()=>m,language:()=>u});var m={comments:{lineComment:"COMMENT"},brackets:[["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:":",close:"."}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:"`",close:"`"},{open:'"',close:'"'},{open:"'",close:"'"},{open:":",close:"."}],folding:{markers:{start:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#region"),end:new RegExp("^\\s*(::\\s*|COMMENT\\s+)#endregion")}}},u={tokenPostfix:".lexon",ignoreCase:!0,keywords:["lexon","lex","clause","terms","contracts","may","pay","pays","appoints","into","to"],typeKeywords:["amount","person","key","time","date","asset","text"],operators:["less","greater","equal","le","gt","or","and","add","added","subtract","subtracted","multiply","multiplied","times","divide","divided","is","be","certified"],symbols:/[=><!~?:&|+\-*\/\^%]+/,tokenizer:{root:[[/^(\s*)(comment:?(?:\s.*|))$/,["","comment"]],[/"/,{token:"identifier.quote",bracket:"@open",next:"@quoted_identifier"}],["LEX$",{token:"keyword",bracket:"@open",next:"@identifier_until_period"}],["LEXON",{token:"keyword",bracket:"@open",next:"@semver"}],[":",{token:"delimiter",bracket:"@open",next:"@identifier_until_period"}],[/[a-z_$][\w$]*/,{cases:{"@operators":"operator","@typeKeywords":"keyword.type","@keywords":"keyword","@default":"identifier"}}],{include:"@whitespace"},[/[{}()\[\]]/,"@brackets"],[/[<>](?!@symbols)/,"@brackets"],[/@symbols/,"delimiter"],[/\d*\.\d*\.\d*/,"number.semver"],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F]+/,"number.hex"],[/\d+/,"number"],[/[;,.]/,"delimiter"]],quoted_identifier:[[/[^\\"]+/,"identifier"],[/"/,{token:"identifier.quote",bracket:"@close",next:"@pop"}]],space_identifier_until_period:[[":","delimiter"],[" ",{token:"white",next:"@identifier_rest"}]],identifier_until_period:[{include:"@whitespace"},[":",{token:"delimiter",next:"@identifier_rest"}],[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],identifier_rest:[[/[^\\.]+/,"identifier"],[/\./,{token:"delimiter",bracket:"@close",next:"@pop"}]],semver:[{include:"@whitespace"},[":","delimiter"],[/\d*\.\d*\.\d*/,{token:"number.semver",bracket:"@close",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,"white"]]}};return c(k);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/liquid/liquid", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var p=Object.create;var a=Object.defineProperty;var g=Object.getOwnPropertyDescriptor;var w=Object.getOwnPropertyNames;var h=Object.getPrototypeOf,q=Object.prototype.hasOwnProperty;var f=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,i)=>(typeof require<"u"?require:t)[i]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')});var b=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),T=(e,t)=>{for(var i in t)a(e,i,{get:t[i],enumerable:!0})},r=(e,t,i,l)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of w(t))!q.call(e,o)&&o!==i&&a(e,o,{get:()=>t[o],enumerable:!(l=g(t,o))||l.enumerable});return e},d=(e,t,i)=>(r(e,t,"default"),i&&r(i,t,"default")),s=(e,t,i)=>(i=e!=null?p(h(e)):{},r(t||!e||!e.__esModule?a(i,"default",{value:e,enumerable:!0}):i,e)),k=e=>r(a({},"__esModule",{value:!0}),e);var c=b((y,u)=>{var _=s(f("vs/editor/editor.api"));u.exports=_});var $={};T($,{conf:()=>x,language:()=>S});var n={};d(n,s(c()));var m=["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr"],x={wordPattern:/(-?\d*\.\d\w*)|([^\`\~\!\@\$\^\&\*\(\)\=\+\[\{\]\}\\\|\;\:\'\"\,\.\<\>\/\s]+)/g,brackets:[["<!--","-->"],["<",">"],["{{","}}"],["{%","%}"],["{","}"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"%",close:"%"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"<",close:">"},{open:'"',close:'"'},{open:"'",close:"'"}],onEnterRules:[{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),afterText:/^<\/(\w[\w\d]*)\s*>$/i,action:{indentAction:n.languages.IndentAction.IndentOutdent}},{beforeText:new RegExp(`<(?!(?:${m.join("|")}))(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$`,"i"),action:{indentAction:n.languages.IndentAction.Indent}}]},S={defaultToken:"",tokenPostfix:"",builtinTags:["if","else","elseif","endif","render","assign","capture","endcapture","case","endcase","comment","endcomment","cycle","decrement","for","endfor","include","increment","layout","raw","endraw","render","tablerow","endtablerow","unless","endunless"],builtinFilters:["abs","append","at_least","at_most","capitalize","ceil","compact","date","default","divided_by","downcase","escape","escape_once","first","floor","join","json","last","lstrip","map","minus","modulo","newline_to_br","plus","prepend","remove","remove_first","replace","replace_first","reverse","round","rstrip","size","slice","sort","sort_natural","split","strip","strip_html","strip_newlines","times","truncate","truncatewords","uniq","upcase","url_decode","url_encode","where"],constants:["true","false"],operators:["==","!=",">","<",">=","<="],symbol:/[=><!]+/,identifier:/[a-zA-Z_][\w]*/,tokenizer:{root:[[/\{\%\s*comment\s*\%\}/,"comment.start.liquid","@comment"],[/\{\{/,{token:"@rematch",switchTo:"@liquidState.root"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.root"}],[/(<)([\w\-]+)(\/>)/,["delimiter.html","tag.html","delimiter.html"]],[/(<)([:\w]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/(<\/)([\w\-]+)/,["delimiter.html",{token:"tag.html",next:"@otherTag"}]],[/</,"delimiter.html"],[/\{/,"delimiter.html"],[/[^<{]+/]],comment:[[/\{\%\s*endcomment\s*\%\}/,"comment.end.liquid","@pop"],[/./,"comment.content.liquid"]],otherTag:[[/\{\{/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\{\%/,{token:"@rematch",switchTo:"@liquidState.otherTag"}],[/\/?>/,"delimiter.html","@pop"],[/"([^"]*)"/,"attribute.value"],[/'([^']*)'/,"attribute.value"],[/[\w\-]+/,"attribute.name"],[/=/,"delimiter"],[/[ \t\r\n]+/]],liquidState:[[/\{\{/,"delimiter.output.liquid"],[/\}\}/,{token:"delimiter.output.liquid",switchTo:"@$S2.$S3"}],[/\{\%/,"delimiter.tag.liquid"],[/raw\s*\%\}/,"delimiter.tag.liquid","@liquidRaw"],[/\%\}/,{token:"delimiter.tag.liquid",switchTo:"@$S2.$S3"}],{include:"liquidRoot"}],liquidRaw:[[/^(?!\{\%\s*endraw\s*\%\}).+/],[/\{\%/,"delimiter.tag.liquid"],[/@identifier/],[/\%\}/,{token:"delimiter.tag.liquid",next:"@root"}]],liquidRoot:[[/\d+(\.\d+)?/,"number.liquid"],[/"[^"]*"/,"string.liquid"],[/'[^']*'/,"string.liquid"],[/\s+/],[/@symbol/,{cases:{"@operators":"operator.liquid","@default":""}}],[/\./],[/@identifier/,{cases:{"@constants":"keyword.liquid","@builtinFilters":"predefined.liquid","@builtinTags":"predefined.liquid","@default":"variable.liquid"}}],[/[^}|%]/,"variable.liquid"]]}};return k($);})();
return moduleExports;
});
@@ -0,0 +1,10 @@
/*!-----------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Version: 0.52.2(404545bded1df6ffa41ea0af4e8ddb219018c6c1)
* Released under the MIT license
* https://github.com/microsoft/monaco-editor/blob/main/LICENSE.txt
*-----------------------------------------------------------------------------*/
define("vs/basic-languages/lua/lua", ["require","require"],(require)=>{
"use strict";var moduleExports=(()=>{var s=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var l=Object.prototype.hasOwnProperty;var c=(o,e)=>{for(var t in e)s(o,t,{get:e[t],enumerable:!0})},m=(o,e,t,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of i(e))!l.call(o,n)&&n!==t&&s(o,n,{get:()=>e[n],enumerable:!(r=a(e,n))||r.enumerable});return o};var p=o=>m(s({},"__esModule",{value:!0}),o);var u={};c(u,{conf:()=>d,language:()=>g});var d={comments:{lineComment:"--",blockComment:["--[[","]]"]},brackets:[["{","}"],["[","]"],["(",")"]],autoClosingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}],surroundingPairs:[{open:"{",close:"}"},{open:"[",close:"]"},{open:"(",close:")"},{open:'"',close:'"'},{open:"'",close:"'"}]},g={defaultToken:"",tokenPostfix:".lua",keywords:["and","break","do","else","elseif","end","false","for","function","goto","if","in","local","nil","not","or","repeat","return","then","true","until","while"],brackets:[{token:"delimiter.bracket",open:"{",close:"}"},{token:"delimiter.array",open:"[",close:"]"},{token:"delimiter.parenthesis",open:"(",close:")"}],operators:["+","-","*","/","%","^","#","==","~=","<=",">=","<",">","=",";",":",",",".","..","..."],symbols:/[=><!~?:&|+\-*\/\^%]+/,escapes:/\\(?:[abfnrtv\\"']|x[0-9A-Fa-f]{1,4}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})/,tokenizer:{root:[[/[a-zA-Z_]\w*/,{cases:{"@keywords":{token:"keyword.$0"},"@default":"identifier"}}],{include:"@whitespace"},[/(,)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["delimiter","","key","","delimiter"]],[/({)(\s*)([a-zA-Z_]\w*)(\s*)(:)(?!:)/,["@brackets","","key","","delimiter"]],[/[{}()\[\]]/,"@brackets"],[/@symbols/,{cases:{"@operators":"delimiter","@default":""}}],[/\d*\.\d+([eE][\-+]?\d+)?/,"number.float"],[/0[xX][0-9a-fA-F_]*[0-9a-fA-F]/,"number.hex"],[/\d+?/,"number"],[/[;,.]/,"delimiter"],[/"([^"\\]|\\.)*$/,"string.invalid"],[/'([^'\\]|\\.)*$/,"string.invalid"],[/"/,"string",'@string."'],[/'/,"string","@string.'"]],whitespace:[[/[ \t\r\n]+/,""],[/--\[([=]*)\[/,"comment","@comment.$1"],[/--.*$/,"comment"]],comment:[[/[^\]]+/,"comment"],[/\]([=]*)\]/,{cases:{"$1==$S2":{token:"comment",next:"@pop"},"@default":"comment"}}],[/./,"comment"]],string:[[/[^\\"']+/,"string"],[/@escapes/,"string.escape"],[/\\./,"string.escape.invalid"],[/["']/,{cases:{"$#==$S2":{token:"string",next:"@pop"},"@default":"string"}}]]}};return p(u);})();
return moduleExports;
});
Loaded 100 of 1214 files, more files were not shown because too many files have changed in this diff. Show more