From d72125580c9c569b1d5daa1727759632e361e0c1 Mon Sep 17 00:00:00 2001 From: simatec Date: Wed, 16 Oct 2024 13:39:17 +0200 Subject: [PATCH] chore: release v3.0.26 * (simatec) Fix FTP Connections * (simatec) dependencies updated * (simatec) Issue Workflow added --- README.md | 942 +++++++++--------- admin/asset-manifest.json | 6 +- .../js/{main.5e0624d1.js => main.970c16c3.js} | 6 +- ...CENSE.txt => main.970c16c3.js.LICENSE.txt} | 0 admin/tab_m.html | 2 +- io-package.json | 28 +- package-lock.json | 4 +- package.json | 2 +- src-admin/package.json | 2 +- src/package.json | 2 +- 10 files changed, 497 insertions(+), 497 deletions(-) rename admin/static/js/{main.5e0624d1.js => main.970c16c3.js} (99%) rename admin/static/js/{main.5e0624d1.js.LICENSE.txt => main.970c16c3.js.LICENSE.txt} (100%) diff --git a/README.md b/README.md index 4b4349b0..e04d1cc8 100644 --- a/README.md +++ b/README.md @@ -60,62 +60,62 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa ************************************************************************************************************** -## Changelog -### **WORK IN PROGRESS** +## Changelog +### 3.0.26 (2024-10-16) * (simatec) Fix FTP Connections * (simatec) dependencies updated -* (simatec) Issue Workflow added - +* (simatec) Issue Workflow added + ### 3.0.25 (2024-09-26) * (bluefox) Improvement of Google Drive authentication workflow * (bluefox) Removed gulp from a build process * (simatec) small Design Fix * (simatec) Fix for Admin 7.1.5 * (simatec) Fix Test & Release -* (simatec) Fix ESlint errors - +* (simatec) Fix ESlint errors + ### 3.0.22 (2024-09-03) * (simatec) Fix Notification Instance * (simatec) Fix Notification Design -* (simatec) Fix Default Settings - +* (simatec) Fix Default Settings + ### 3.0.21 (2024-09-01) * (simatec) Fix Onedrive Notification * (simatec) Fix Zigbee2MQTT Backup -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 3.0.20 (2024-08-22) * (simatec) Responsive Design for Tab added * (simatec) Responsive Design for jsonConfig added -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 3.0.19 (2024-08-15) * (simatec) Fix CCU Backup * (simatec) Fix InfluxDB Backup Config -* (simatec) Fix Backup-Log for Slave Instanz - +* (simatec) Fix Backup-Log for Slave Instanz + ### 3.0.18 (2024-08-14) * (simatec) Package optimisation * (simatec) Fix the warning when opening the configuration -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 3.0.17 (2024-08-12) * (simatec) Fix io-package for Release * (simatec) manual-review added * (simatec) Fix Slave Backup -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 3.0.16 (2024-08-05) * (bluefox) dependencies updated -* (simatec) Rename json5 Files - +* (simatec) Rename json5 Files + ### 3.0.15 (2024-08-03) -* (simatec) fix dependencies - +* (simatec) fix dependencies + ### 3.0.14 (2024-08-02) * (simatec) dependencies updated -* (simatec) Improved log outputs - +* (simatec) Improved log outputs + ### 3.0.12 (2024-08-01) * (simatec) Backup Log for History added * (simatec) Added separate selection for deleting FTP backups @@ -125,55 +125,55 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) Added separate selection for deleting Googledrive backups * (simatec) Improved log outputs * (simatec) Source code cleaned up -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 3.0.11 (2024-07-28) * (simatec) Design Fix -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 3.0.10 (2024-07-22) * (simatec) Design Fix for Dark Mode -* (bluefox) dependencies updated - +* (bluefox) dependencies updated + ### 3.0.9 (2024-07-11) * (simatec) Tab Icons added * (simatec) small fix -* (simatec) Docu updated - +* (simatec) Docu updated + ### 3.0.8 (2024-07-01) * (Grothesk242/simatec) forceuid and forcegid added * (simatec) dependencies updated -* (simatec) small fix - +* (simatec) small fix + ### 3.0.7 (2024-06-26) * (simatec) Restore Information added * (simatec) Fix Formaterrors * (bluefox) Fixing the problems with styles -* (simatec) Fix iobroker Backup Error - +* (simatec) Fix iobroker Backup Error + ### 3.0.6 (2024-06-26) * (simatec) Restore Information added * (simatec) Fix Formaterrors * (bluefox) Fixing the problems with styles -* (simatec) Fix iobroker Backup Error - +* (simatec) Fix iobroker Backup Error + ### 3.0.5 (2024-06-18) -* (simatec) Fix Build - +* (simatec) Fix Build + ### 3.0.4 (2024-06-18) * (simatec) History Gui Fix * (simatec) Tab GUI modified * (bluefox) Added support for Admin 7 -* (simatec) Onedrive ready for School/Business Accounts - +* (simatec) Onedrive ready for School/Business Accounts + ### 3.0.3 (2024-06-10) * (simatec) Fixed WebDav * (simatec) Admin Notification for Backup errors added * (simatec) Remove Sentry Config * (simatec) Translations updated * (simatec) Error handling optimized -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 3.0.2 (2024-06-06) * (simatec) Fixed Google Drive * (simatec) Fixed Translations @@ -181,16 +181,16 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) Fixed MySql Backup * (simatec) Fixed Translation added * (simatec) Design Fix -* (simatec) new notifications content added - +* (simatec) new notifications content added + ### 3.0.1 (2024-05-29) * (simatec) Fixed umount callback * (simatec) Fixed Backup Message * (simatec) Translations updated * (simatec) Fixed InfluxDB Multi Backup * (simatec) Fixed Restore Console -* (simatec) Fixed Backup Console - +* (simatec) Fixed Backup Console + ### 3.0.0 (2024-05-28) * (simatec) jsonConfig added * (bluefox) Conversion to React @@ -201,32 +201,32 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) Fixed Nodered Backup * (simatec) some bugs fixed * (bluefox/simatec) New Restore-Interface -* (simatec) Translation updated - +* (simatec) Translation updated + ### 2.11.0 (2024-03-04) -* (simatec) Fixed Sqlite3 Path - +* (simatec) Fixed Sqlite3 Path + ### 2.10.11 (2024-02-14) * (simatec) Design Fix -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.10.10 (2024-02-04) -* (simatec) small Design Fix - +* (simatec) small Design Fix + ### 2.10.9 (2024-02-01) -* (simatec) Fixed Translation - +* (simatec) Fixed Translation + ### 2.10.8 (2024-01-30) * (simatec) Fixed Expert Mount * (simatec) Docu updated -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.10.7 (2024-01-29) * (simatec) small fixes * (simatec) small Design Fix * (simatec) Translation updated -* (simatec) Expert Mount added - +* (simatec) Expert Mount added + ### 2.10.6 (2024-01-27) * (simatec) Gulp deleted * (simatec) adapter-dev added @@ -234,111 +234,111 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) Customised design * (simatec) Hover info added to the Restore tab * (simatec) Improved mobile view -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.10.5 (2024-01-22) -* (simatec) Fixed CCU Backup with selfsigned Certificates - +* (simatec) Fixed CCU Backup with selfsigned Certificates + ### 2.10.4 (2024-01-21) -* (simatec) Fixed CCU Backup - +* (simatec) Fixed CCU Backup + ### 2.10.3 (2024-01-19) * (simatec) CCU backup switched from request to axios -* (simatec) Sentry fix - +* (simatec) Sentry fix + ### 2.10.2 (2024-01-14) * (simatec) Cronjob for Expert Settings added * (simatec) Code restructured -* (simatec) Translation added - +* (simatec) Translation added + ### 2.10.1 (2024-01-09) * (simatec) small Fixes -* (simatec) Code restructured - +* (simatec) Code restructured + ### 2.10.0 (2024-01-06) * (simatec) File server improved * (simatec) Restore Tab improved * (simatec) Design improved * (simatec) Docu updated -* (simatec) Breaking Changes for Docker mapping ports - +* (simatec) Breaking Changes for Docker mapping ports + ### 2.9.10 (2023-12-29) * (simatec) Fixed node-red restore -* (simatec) auto install after restore for node-red added - +* (simatec) auto install after restore for node-red added + ### 2.9.9 (2023-12-29) * (simatec) dependencies updated * (simatec) Default storage path for history adapter added -* (simatec) Added check of the storage path from the History Adapter - +* (simatec) Added check of the storage path from the History Adapter + ### 2.9.8 (2023-12-14) -* (simatec) Sentry fix - +* (simatec) Sentry fix + ### 2.9.7 (2023-12-12) * (simatec) URL Update -* (simatec) Fixed redis Password - +* (simatec) Fixed redis Password + ### 2.9.6 (2023-12-10) * (simatec) Gotify Notication added * (simatec) dependencies updated -* (simatec) Copypath check added - +* (simatec) Copypath check added + ### 2.9.5 (2023-11-29) * (simatec) dependencies updated -* (simatec) Fixed redis Password - +* (simatec) Fixed redis Password + ### 2.9.4 (2023-11-20) * (simatec) dependencies updated * (simatec) Fixed CIFS Password * (simatec) Fixed mySql Password * (simatec) Fixed pgSql Password -* (simatec) Fixed redis Password - +* (simatec) Fixed redis Password + ### 2.9.3 (2023-11-11) * (simatec) Fixed Port for Filerserver -* (simatec) Docu updated - +* (simatec) Docu updated + ### 2.9.2 (2023-11-10) * (simatec) dependencies updated * (simatec) Design fix * (simatec) Backup File upload added * (simatec) Uploadserver added -* (simatec) Translation updated - +* (simatec) Translation updated + ### 2.9.1 (2023-11-02) -* (simatec) ignore Build directory for ESPHome added - +* (simatec) ignore Build directory for ESPHome added + ### 2.9.0 (2023-11-01) * (simatec) mount option "Cache Loose" added * (simatec) ESPHome Backup added -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.8.7 (2023-10-19) -* (buanet) fix restore in docker v9 - +* (buanet) fix restore in docker v9 + ### 2.8.6 (2023-10-13) * (simatec) Fixed node-red restore -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.8.5 (2023-10-13) -* (simatec) Fixed mount errors - +* (simatec) Fixed mount errors + ### 2.8.4 (2023-10-11) * (simatec) Fixed mysql Backup * (simatec) Fixed pgsql Backup -* (simatec) Fixed InfluxDB Backup - +* (simatec) Fixed InfluxDB Backup + ### 2.8.3 (2023-10-10) * (simatec) Wake on LAN Advanced Settings added -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.8.2 (2023-09-28) -* (simatec) Fixed redis backup - +* (simatec) Fixed redis backup + ### 2.8.1 (2023-09-12) * (simatec) Fixed roles -* (simatec) help-links added - +* (simatec) help-links added + ### 2.8.0 (2023-09-11) * (simatec) small Sentry fixes * (simatec) Bugfix System-Message @@ -347,8 +347,8 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) dependencies updated * (simatec) Fixed Webdav * (simatec) WOL Address & Port added -* (simatec) Restore for Backitup Config added - +* (simatec) Restore for Backitup Config added + ### 2.7.0 (2023-08-14) * (simatec) dependencies updated * (simatec) Fixed error Messages @@ -356,106 +356,106 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) Docu & Wiki updated * (simatec) small bug fixes * (simatec) Translation updated -* (crycode-de) Add support for sending notifications via discord (requires ioBroker.discord >= 2.1) - +* (crycode-de) Add support for sending notifications via discord (requires ioBroker.discord >= 2.1) + ### 2.6.23 (2023-05-25) * (simatec) Fixed Influx Restore for MultiDB * (simatec) Token renew for Onedrive added -* (simatec) Fixed PSQL Restore - +* (simatec) Fixed PSQL Restore + ### 2.6.22 (2023-05-24) * (simatec) Fixed Influx Restore for MultiDB -* (simatec) Default Ports for InfluxDB added - +* (simatec) Default Ports for InfluxDB added + ### 2.6.21 (2023-05-19) * (simatec) small Sentry fixes * (simatec) Fixed Influx Restore * (simatec) Fixed Onedrive Download -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.6.20 (2023-05-02) * (simatec) FTP self signed Certificates added -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.6.19 (2023-04-20) -* (simatec) small fix for js-controller 5 - +* (simatec) small fix for js-controller 5 + ### 2.6.18 (2023-04-19) * (simatec) dependencies updated * (simatec) small Sentry fixes -* (simatec) Error notifications optimized - +* (simatec) Error notifications optimized + ### 2.6.17 (2023-04-13) * (simatec) Fixed delete InfluxDB tmp dir -* (simatec) small Sentry fixes - +* (simatec) small Sentry fixes + ### 2.6.16 (2023-03-30) -* (simatec) small fix for js-controller 5 - +* (simatec) small fix for js-controller 5 + ### 2.6.15 (2023-03-27) * (simatec) Node-Red Backup optimized * (simatec) Grafana Backup optimized * (simatec) Zigbee2mqtt Backup optimized -* (simatec) skip-verify for influxdb 2.x - +* (simatec) skip-verify for influxdb 2.x + ### 2.6.14 (2023-03-22) -* (simatec) Bug Fix History JSON - +* (simatec) Bug Fix History JSON + ### 2.6.13 (2023-03-22) * (simatec) Fixed Zigbee2mqtt Restore * (simatec) Fixed Grafana Backup * (simatec) Backup notifications optimized * (simatec) Error notifications optimized * (simatec) history data optimized -* (simatec) small bug fixes - +* (simatec) small bug fixes + ### 2.6.12 (2023-03-16) * (simatec) Fixed Zigbee2mqtt Backup & Restore * (simatec) Node-Red Backup optimized * (simatec) Grafana Backup optimized * (simatec) InfluxDB Backup optimized -* (simatec) Docu & Wiki updated - +* (simatec) Docu & Wiki updated + ### 2.6.11 (2023-03-11) -* (simatec) Fixed Zigbee2mqtt Backup & Restore - +* (simatec) Fixed Zigbee2mqtt Backup & Restore + ### 2.6.10 (2023-03-10) * (simatec) Design Fix * (simatec) node 14 set as minimum requirement * (simatec) cleaning status log added -* (simatec) Fixed Node-Red Backup & Restore - +* (simatec) Fixed Node-Red Backup & Restore + ### 2.6.9 (2023-03-08) * (simatec) Dropbox session upload optimized -* (simatec) Error handling optimized - +* (simatec) Error handling optimized + ### 2.6.8 (2023-03-07) -* (simatec) Fixed Dropbox session upload - +* (simatec) Fixed Dropbox session upload + ### 2.6.7 (2023-03-06) -* (simatec) Dropbox session upload optimized - +* (simatec) Dropbox session upload optimized + ### 2.6.6 (2023-03-05) -* (simatec) Dropbox file upload up to 350 GB added - +* (simatec) Dropbox file upload up to 350 GB added + ### 2.6.5 (2023-03-03) * (simatec) Fixed cifs Password -* (simatec) Fixed InfluxDB-Backup - +* (simatec) Fixed InfluxDB-Backup + ### 2.6.4 (2023-02-26) * (simatec) Design optimized -* (simatec) Onedrive Upload Session added - +* (simatec) Onedrive Upload Session added + ### 2.6.3 (2023-02-24) * (simatec) Fixed SQLite3 Backup -* (simatec) Fixed Matrix Message - +* (simatec) Fixed Matrix Message + ### 2.6.2 (2023-02-23) -* (simatec) Fixed SQLite3 Backup - +* (simatec) Fixed SQLite3 Backup + ### 2.6.1 (2023-02-20) -* (simatec) igonore temp-files for redis added - +* (simatec) igonore temp-files for redis added + ### 2.6.0 (2023-02-16) * (simatec) Onedrive-Api added * (simatec) Matrix Messenger added @@ -467,132 +467,132 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) Local-Storage check added * (simatec) System-Message added * (simatec) Jarvis Backup updated -* (simatec) many small Fixes - +* (simatec) many small Fixes + ### 2.5.12 (2023-01-19) -* (simatec) Fixed Windows ioBroker-Restore - +* (simatec) Fixed Windows ioBroker-Restore + ### 2.5.11 (2023-01-18) -* (simatec) Fixed Windows ioBroker-Restore - +* (simatec) Fixed Windows ioBroker-Restore + ### 2.5.10 (2023-01-03) * (simatec) Fixed Docker Restore * (simatec) Fixed Link Design * (simatec) dependencies updated -* (Grothesk242) Fixed CIFS Mount - +* (Grothesk242) Fixed CIFS Mount + ### 2.5.9 (2022-12-05) * (simatec) dependencies dropbox-v2-api updated * (simatec) Fixed Zigbee Restore * (simatec) Fixed Yahka Restore * (simatec) Fixed Javascript Restore -* (simatec) Fixed Dropbox Error Messages - +* (simatec) Fixed Dropbox Error Messages + ### 2.5.8 (2022-12-03) * (simatec) Fixed iobroker Backup -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.5.7 (2022-11-27) * (simatec) Axios 1.1.3 added -* (bluefox) Added ukrainian language - +* (bluefox) Added ukrainian language + ### 2.5.6 (2022-11-14) * (simatec) Fixed Grafana Backup * (simatec) Fixed Downloadserver -* (simatec) Translation updated - +* (simatec) Translation updated + ### 2.5.5 (2022-11-13) * (simatec) Design Fix -* (simatec) Docker DB Support added - +* (simatec) Docker DB Support added + ### 2.5.4 (2022-11-02) * (simatec) Fixed maxBuffer for DB-Backups * (simatec) Docu updated * (simatec) Fixed Dropbox error messages -* (simatec) Grafana self signed Certificates added - +* (simatec) Grafana self signed Certificates added + ### 2.5.3 (2022-11-01) -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.5.2 (2022-10-26) -* (simatec) Bugfix Google Drive - +* (simatec) Bugfix Google Drive + ### 2.5.1 (2022-10-26) -* (simatec) Bugfix Google Drive - +* (simatec) Bugfix Google Drive + ### 2.5.0 (2022-10-18) * (bluefox) Google Drive authentication was fixed -* (simatec) small Bugfix - +* (simatec) small Bugfix + ### 2.4.16 (2022-10-04) -* (simatec) small Bugfix - +* (simatec) small Bugfix + ### 2.4.15 (2022-10-03) * (simatec) adapter-core updated -* (simatec) path fix - +* (simatec) path fix + ### 2.4.14 (2022-09-29) -* (simatec) small Bugfix - +* (simatec) small Bugfix + ### 2.4.13 (2022-09-28) * (simatec) dependencies updated * (simatec) Fixed Grafana Backup * (simatec) Appveyor testing removed -* (simatec) Fixed Test & Release - +* (simatec) Fixed Test & Release + ### 2.4.12 (2022-08-11) -* (simatec) Fixed WebDav Error Handling - +* (simatec) Fixed WebDav Error Handling + ### 2.4.11 (2022-08-10) * (simatec) Filesize Check added * (simatec) dependencies updated * (simatec) Fixed mySql Backup -* (simatec) Fixed pgSql Backup - +* (simatec) Fixed pgSql Backup + ### 2.4.10 (2022-07-05) * (simatec) Code cleaning * (simatec) dependencies updated * (simatec) Disclaimer added * (simatec) Travis Support removed -* (simatec) Fixed backup-download with ssl - +* (simatec) Fixed backup-download with ssl + ### 2.4.9 (2022-05-25) * (simatec) German Wiki added * (simatec) English Wiki added -* (simatec) ignore .tar.gz files for zigbee Backups - +* (simatec) ignore .tar.gz files for zigbee Backups + ### 2.4.8 (2022-05-18) -* (simatec) Fixed restore from local Mount path - +* (simatec) Fixed restore from local Mount path + ### 2.4.7 (2022-05-16) * (simatec) dependencies updated * (simatec) many small bugfixes * (simatec) Fixed Sentry Error Messages -* (simatec) Default SMB Version 3.1.1 - +* (simatec) Default SMB Version 3.1.1 + ### 2.4.6 (2022-04-06) -* (simatec) https support for Download added - +* (simatec) https support for Download added + ### 2.4.5 (2022-04-04) -* (simatec) Download-Server close added - +* (simatec) Download-Server close added + ### 2.4.4 (2022-04-02) * (simatec) try/catch GoogleDrive added -* (Bluefox/simatec) Backup Download added - +* (Bluefox/simatec) Backup Download added + ### 2.4.3 (2022-03-29) * (simatec) Bugfixes Dropbox * (simatec) try/catch options added -* (simatec) code verifier check for Dropbox oAuth - +* (simatec) code verifier check for Dropbox oAuth + ### 2.4.2 (2022-03-29) -* (simatec) Bugfixes Dropbox - +* (simatec) Bugfixes Dropbox + ### 2.4.1 (2022-03-29) * (simatec) small Bugfixes * (simatec) try/catch Dropbox Api -* (simatec) Debug Log Dropbox Api - +* (simatec) Debug Log Dropbox Api + ### 2.4.0 (2022-03-28) * (simatec) Default History path added * (simatec) dependencies updated @@ -601,29 +601,29 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) Info Message for Script-Backup added * (simatec) Signal-cmb added * (simatec) many small Bugfixes -* (simatec) Documentation updated - +* (simatec) Documentation updated + ### 2.3.5 (2022-02-26) -* (simatec) fix Redis Config - +* (simatec) fix Redis Config + ### 2.3.4 (2022-02-26) * (simatec) Redis Remote Backup for Docker added -* (simatec) Docu updated - +* (simatec) Docu updated + ### 2.3.3 (2022-02-17) * (simatec) small GUI fixes -* (simatec) Docker restore tunning - +* (simatec) Docker restore tunning + ### 2.3.2 (2022-02-13) * (simatec) Bugfix Restore Interface for http -* (simatec) Fixed json history - +* (simatec) Fixed json history + ### 2.3.1 (2022-02-12) * (simatec) Bugfix Grafana * (simatec) Bugfix Restore for Docker System * (simatec) Restore Interface with https Support -* (simatec) use iobroker SSL Certificates for https - +* (simatec) use iobroker SSL Certificates for https + ### 2.3.0 (2022-02-11) * (simatec) Influxdb2 Backup added * (simatec) Influxdb2 Restore added @@ -636,26 +636,26 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) redis remote Backup added * (simatec) Error messages configurable * (simatec) Translations added -* (simatec) Adjustments to js-controller 4 - +* (simatec) Adjustments to js-controller 4 + ### 2.2.4 (2022-01-27) * (simatec) Restore backup of different controller version added -* (simatec) Fixed YAHKA Backup for more Instances - +* (simatec) Fixed YAHKA Backup for more Instances + ### 2.2.3 (2022-01-10) * (simatec) Bugfix Error Message -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.2.2 (06.11.2021) * (simatec) Fixed CCU option to use self-signed certificates * (simatec) Fixed Config Menu * (simatec) dependabot added -* (simatec) small Bugfixes - +* (simatec) small Bugfixes + ### 2.2.1 (08.10.2021) * (simatec) CCU option to use self-signed certificates -* (simatec) small fix for Javascript Message - +* (simatec) small fix for Javascript Message + ### 2.2.0 (06.10.2021) * (simatec) multihost function for master/slave systems added * (simatec) Multi CCU Backup added @@ -670,129 +670,129 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) delete option for temp-directory added * (simatec) breaking changes!! Javascript Backup from Objects added * (simatec) breaking changes!! Javascript Restore from Objects added -* (simatec) WebDav option to use self-signed certificates - +* (simatec) WebDav option to use self-signed certificates + ### 2.1.17 (15.08.2021) * (simatec) dependencies updated -* (simatec) Preparation for dark design by Admin 5 - +* (simatec) Preparation for dark design by Admin 5 + ### 2.1.16 (12.08.2021) * (simatec) dependencies updated * (simatec) https support for ccu backup -* (simatec) sentry Bugfixes - +* (simatec) sentry Bugfixes + ### 2.1.15 (05.08.2021) * (simatec) Bugfix Google Drive * (simatec) memory optimization * (simatec) fix Zigbee Restore * (simatec) Grafana Protocol selection added -* (simatec) translations updated - +* (simatec) translations updated + ### 2.1.14 (04.08.2021) * (simatec) dependencies updated * (simatec) RAM memory optimization * (simatec) googleapis deleted -* (simatec) @googleapis/drive added - +* (simatec) @googleapis/drive added + ### 2.1.13 (14.06.2021) * (simatec) ready for Grafana 8.x * (simatec) BugFix PostgreSQL * (simatec) dependencies updated -* (simatec) Name-Sufix for Messages added - +* (simatec) Name-Sufix for Messages added + ### 2.1.12 (01.06.2021) * (simatec) adminTab edited * (simatec) translation changed * (simatec) dependencies updated * (simatec) more debug for mount added -* (simatec) Bugfix history json - +* (simatec) Bugfix history json + ### 2.1.11 (19.05.2021) * (simatec) adminTab edited -* (simatec) translation changed - +* (simatec) translation changed + ### 2.1.10 (16.05.2021) -* (simatec) Bugfix adminTab - +* (simatec) Bugfix adminTab + ### 2.1.9 (15.05.2021) -* (simatec) adminTab for admin 5 changed - +* (simatec) adminTab for admin 5 changed + ### 2.1.8 (14.05.2021) -* (simatec) adminTab for admin 5 changed - +* (simatec) adminTab for admin 5 changed + ### 2.1.7 (14.05.2021) * (simatec) Bugfix mysql Restore * (simatec) Bugfix pgsql Restore * (simatec) small Bugfix * (simatec) dependencies updated -* (simatec) node 16 support added - +* (simatec) node 16 support added + ### 2.1.6 (01.05.2021) * (simatec) Bugfix for js-controller 3.3.x * (simatec) small Bugfix Dropbox Log -* (simatec) small Bugfix for History Config reading - +* (simatec) small Bugfix for History Config reading + ### 2.1.5 (29.04.2021) * (simatec) Bugfix AdminTab -* (simatec) small Bugfix - +* (simatec) small Bugfix + ### 2.1.4 (26.04.2021) * (simatec) Redesign Restore GUI -* (simatec) small GUI Bugfix - +* (simatec) small GUI Bugfix + ### 2.1.3 (22.04.2021) * (simatec) Admin-Tab changed * (simatec) Javascript Restore changed * (simatec) Redesign Admin-Tab * (simatec) Redesign Config -* (simatec) Preparation for admin 5 - +* (simatec) Preparation for admin 5 + ### 2.1.2 (13.04.2021) * (simatec) Creation of temporary folders changed * (simatec) Filter for redis rdb files changed * (simatec) automatic deletion of old influx databases added * (simatec) noserverino option for CIFS mount added -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 2.1.1 (11.04.2021) * (simatec) Bugfix redis * (simatec) debug Log for Restore request added * (simatec) Bugfix influxdb -* (simatec) ignore Filenames for javascript-Backup added - +* (simatec) ignore Filenames for javascript-Backup added + ### 2.1.0 (24.03.2021) * (simatec) Admin-Tab added * (simatec) dependencies targz removed * (simatec) dependencies tar-fs added * (simatec) dependencies updated -* (simatec) small Bugfixes - +* (simatec) small Bugfixes + ### 2.0.5 (14.03.2021) * (simatec) error handling for redis backup added * (simatec) error handling for history backup added -* (simatec) BugFix Grafana backup - +* (simatec) BugFix Grafana backup + ### 2.0.4 (10.03.2021) * (simatec) Bugfix history json * (simatec) BugFix Redis backup * (simatec) chmod for backup directory added -* (simatec) error handling for Grafana backup added - +* (simatec) error handling for Grafana backup added + ### 2.0.3 (04.03.2021) * (simatec) Promise for redis aof added * (simatec) BugFix Grafana restore -* (simatec) small BugFix umount - +* (simatec) small BugFix umount + ### 2.0.2 (03.03.2021) * (simatec) BugFix redis backup -* (simatec) aof for redis added - +* (simatec) aof for redis added + ### 2.0.1 (23.02.2021) * (simatec) BugFix redis backup/restore * (simatec) dependencies node-tar added * (simatec) BugFix Notification -* (simatec) BugFix Grafana backup - +* (simatec) BugFix Grafana backup + ### 2.0.0 (31.01.2021) * (simatec) BugFix detect last backup * (simatec) WebDAV added @@ -807,12 +807,12 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) Restore revised * (simatec) fixed many small bugs * (simatec) Added warning messages -* (simatec) Fixed cloud restore - +* (simatec) Fixed cloud restore + ### 1.8.5 (11.01.2021) * (simatec) Bugfix Jarvis Backup -* (simatec) Bugfix GUI - +* (simatec) Bugfix GUI + ### 1.8.4 (09.01.2021) * (simatec) Bugfix influxDB Backup * (simatec) Bugfix influxDB Restore @@ -821,19 +821,19 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) Bugfix mysql Backup * (simatec) Bugfix pgsql Backup * (simatec) small Bugfixes -* (simatec) Info-Message for storage added - +* (simatec) Info-Message for storage added + ### 1.8.3 (22.12.2020) * (simatec) Bugfix iobroker start after restore on Windows * (simatec) changed webui-port for restore * (simatec) Bugfix influxDB Restore -* (simatec) dependencies updated - +* (simatec) dependencies updated + ### 1.8.2 (09.12.2020) * (simatec) code cleaned * (simatec) code for history.html object revised -* (simatec) code for history.json object revised - +* (simatec) code for history.json object revised + ### 1.8.1 (07.12.2020) * (simatec) influxDB Backup added * (simatec) influxDB Restore added @@ -846,128 +846,128 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) new redis Restore added * (simatec) enable/disable option for Sentry Plugin * (simatec) smb 3.02 support added -* (simatec) smb 3.1.1 support added - +* (simatec) smb 3.1.1 support added + ### 1.7.0 (26.10.2020) * (simatec) small Bugfix for umount on cifs/nfs mount * (simatec) Dev-Dependencies updated -* (simatec) Dependencies updated - +* (simatec) Dependencies updated + ### 1.6.9 (30.09.2020) -* (simatec) Timeout fix for backup process - +* (simatec) Timeout fix for backup process + ### 1.6.8 (24.09.2020) * (simatec) Translations update for Weblate * (simatec) dependencies updated * (simatec) devdependencies updated -* (weblate) translation updated - +* (weblate) translation updated + ### 1.6.7 (09.09.2020) -* (simatec) Bugfix error on GoogleDrive - +* (simatec) Bugfix error on GoogleDrive + ### 1.6.6 (08.09.2020) * (simatec) Bugfix clean local backups -* (simatec) Bugfix mount and umount for sentry.io - +* (simatec) Bugfix mount and umount for sentry.io + ### 1.6.5 (07.09.2020) * (simatec) Bugfix GoogleDrive Rate Limit errors -* (simatec) small fixes on zigbee backup - +* (simatec) small fixes on zigbee backup + ### 1.6.4 (04.09.2020) * (simatec) small fixes for sentry.io -* (simatec) small fixes on zigbee backup - +* (simatec) small fixes on zigbee backup + ### 1.6.3 (01.09.2020) * (simatec) dependencies for googleapis updated * (simatec) dependencies for dropbox-v2-api updated -* (simatec) devdependencies updated - +* (simatec) devdependencies updated + ### 1.6.2 (31.08.2020) -* (simatec) added whatsapp-cmb support for notifications - +* (simatec) added whatsapp-cmb support for notifications + ### 1.6.1 (24.08.2020) -* (Apollon77) several fixes and optimizations - +* (Apollon77) several fixes and optimizations + ### 1.6.0 (03.08.2020) -* (Jey-Cee/simatec) adapter configuration revised - +* (Jey-Cee/simatec) adapter configuration revised + ### 1.5.9 (21.07.2020) * (simatec) small fixes on mysql backup * (simatec) next bugfixs error handling sentry.io -* (simatec) updated dependencies - +* (simatec) updated dependencies + ### 1.5.8 (20.05.2020) * (simatec) small fixes on zigbee backup * (simatec) added log for zigbee Instances -* (simatec) next bugfix error handling sentry.io - +* (simatec) next bugfix error handling sentry.io + ### 1.5.7 (11.05.2020) * (simatec) bugfix error handling sentry.io * (simatec) updated dependencies -* (simatec) added node14 support - +* (simatec) added node14 support + ### 1.5.6 (02.05.2020) -* (simatec) Bugfix reading restore list - +* (simatec) Bugfix reading restore list + ### 1.5.5 (01.05.2020) -* (simatec) bugfix error handling sentry.io - +* (simatec) bugfix error handling sentry.io + ### 1.5.4 (29.04.2020) * (simatec) added osDependencies for nfs and cifs -* (simatec) Bugfixes for error handling telegram, pushover, e-mail, ftp list and create backup folder - +* (simatec) Bugfixes for error handling telegram, pushover, e-mail, ftp list and create backup folder + ### 1.5.3 (28.04.2020) -* (simatec) many smal Bugfixes for error handling sentry.io - +* (simatec) many smal Bugfixes for error handling sentry.io + ### 1.5.2 (24.04.2020) * (simatec) error handling sentry.io -* (AlCalzone) docu updated - +* (AlCalzone) docu updated + ### 1.5.1 (23.04.2020) * (simatec) Bugfix list from nas -* (simatec) Bugfix sentry errors - +* (simatec) Bugfix sentry errors + ### 1.5.0 (21.04.2020) * (simatec) revised error handling * (simatec) revised mount process * (simatec) revised umount process * (simatec) added log for last backup file * (simatec) updated dependencies -* (simatec) added sentry.io support - +* (simatec) added sentry.io support + ### 1.4.5 (23.03.2020) -* (simatec) Bugfix CIFS Domain - +* (simatec) Bugfix CIFS Domain + ### 1.4.4 (23.03.2020) -* (simatec) Fixed history error - +* (simatec) Fixed history error + ### 1.4.3 (21.03.2020) -* (simatec) Fixed for autochecker - +* (simatec) Fixed for autochecker + ### 1.4.2 (21.03.2020) * (simatec) Fixed start after restore -* (simatec) update dependencies - +* (simatec) update dependencies + ### 1.4.1 (02.03.2020) -* (simatec) json historystate with more options - +* (simatec) json historystate with more options + ### 1.4.0 (27.02.2020) * (simatec) added next Backup Time * (simatec) added Name Suffix for mysql Backup * (simatec) added more Options for mysql * (simatec) added domain support for cifs -* (simatec) added json history state - +* (simatec) added json history state + ### 1.3.6 (18.12.2019) * (simatec) Fixed historyList for compact-mode -* (simatec) Added ack for history states - +* (simatec) Added ack for history states + ### 1.3.5 (17.12.2019) -* (simatec) Fixed compact-mode for history - +* (simatec) Fixed compact-mode for history + ### 1.3.4 (15.12.2019) -* (simatec) Fixed hide passwords - +* (simatec) Fixed hide passwords + ### 1.3.3 (14.12.2019) * (simatec) Fixed Webinterface for Restore * (simatec) Fixed MySql Backup @@ -978,20 +978,20 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) Added password hiding * (simatec) Clean Code * (simatec) detected history path -* (simatec) Fix detected - +* (simatec) Fix detected + ### 1.3.2 (04.12.2019) * (simatec) Add Webinterface for Restore -* (simatec) Bug fix - +* (simatec) Bug fix + ### 1.3.1 (02.12.2019) * (bluefox) Added information about the latest backup * (simatec) some Bug fix * (simatec) add new translation * (simatec) Fixed translation * (simatec) Default backup renamed to ioBroker backup -* (simatec) delete old objects - +* (simatec) delete old objects + ### 1.3.0 (22.11.2019) * (simatec) support end for the total backup * (simatec) Added backup of a history data path @@ -1003,56 +1003,56 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) new translations * (simatec) adjustments to the new Windows Installer * (simatec) adjustments to the new Linux installer -* (simatec) fixed some small bugs - +* (simatec) fixed some small bugs + ### 1.2.2 (20.10.2019) -* (simatec) Fixed update process - +* (simatec) Fixed update process + ### 1.2.1 (19.10.2019) -* (simatec) Fixed CIFS password with special characters - +* (simatec) Fixed CIFS password with special characters + ### 1.2.0 (02.07.2019) * (bluefox) Google Drive was added -* (simatec) Support for node 6 ended - +* (simatec) Support for node 6 ended + ### 1.1.4 (08.04.2019) * (simatec) Support for SMB3 * (simatec) Backup for Zigbee Database -* (simatec) Restore for Zigbee Database - +* (simatec) Restore for Zigbee Database + ### 1.1.3 (12.03.2019) * (simatec) Timeout for email sending * (simatec) Timeout for pushover sending * (simatec) Timeout for telegram sending -* (simatec) Code cleaned up - +* (simatec) Code cleaned up + ### 1.1.2 (21.02.2019) * (simatec) exec Start for iobroker -* (simatec) Fixed umount before Restore - +* (simatec) Fixed umount before Restore + ### 1.1.1 (12.02.2019) -* (simatec) Fixed iobroker-stop for total backup - +* (simatec) Fixed iobroker-stop for total backup + ### 1.1.0 (10.02.2019) -* (simatec) stable Release - +* (simatec) stable Release + ### 1.0.9 (02.02.2019) * (simatec) Add New umount query * (simatec) Add Umount wait by device busy * (simatec) Add Timeout for History settings -* (simatec) Add Notification only on error - +* (simatec) Add Notification only on error + ### 1.0.8 (26.01.2019) * (simatec) modification for new installer * (simatec) WOL-wait time adjustable -* (simatec) Fixed History settings - +* (simatec) Fixed History settings + ### 1.0.7 (17.01.2019) -* (simatec) better start/stop Handling for backup and restore - +* (simatec) better start/stop Handling for backup and restore + ### 1.0.6 (16.01.2019) -* (simatec) Fixed Start/Stop for new iobroker-installer - +* (simatec) Fixed Start/Stop for new iobroker-installer + ### 1.0.5 (14.01.2019) * (simatec) Fixed compact mode * (simatec) Fixed total backup @@ -1060,49 +1060,49 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (simatec) better history handling * (simatec) error Message for telegram * (simatec) error Message for E-Mail -* (simatec) error Message for pushover - +* (simatec) error Message for pushover + ### 1.0.4 (08.01.2019) -* (simatec) support for compact mode - +* (simatec) support for compact mode + ### 1.0.3 (06.01.2019) -* (simatec) Bugfix - +* (simatec) Bugfix + ### 1.0.2 (05.01.2019) -* (simatec) Fixed start/stop for new iobroker-Installer - +* (simatec) Fixed start/stop for new iobroker-Installer + ### 1.0.1 (30.12.2018) * (simatec) Fixed delete old Files -* (simatec) Add a wake on LAN for CIFS and NFS - +* (simatec) Add a wake on LAN for CIFS and NFS + ### 1.0.0 (24.12.2018) -* (simatec) Stable Release - +* (simatec) Stable Release + ### 0.4.4 (19.12.2018) -* (simatec) Fixed cifs-mount User - +* (simatec) Fixed cifs-mount User + ### 0.4.3 (17.12.2018) -* (simatec) Add device ID for pushover - +* (simatec) Add device ID for pushover + ### 0.4.2 (10.12.2018) * (simatec) Fixed mount / umount -* (simatec) Fixed Readme - +* (simatec) Fixed Readme + ### 0.4.1 (07.12.2018) * (simatec) Added boolean for backup Success * (simatec) Added Selection menu SMB type (CIFS) -* (simatec) Added Checkbox for mount as root (sudo) - +* (simatec) Added Checkbox for mount as root (sudo) + ### 0.4.0 (04.12.2018) -* (simatec) Added Pushover Notification - +* (simatec) Added Pushover Notification + ### 0.3.9 (03.12.2018) -* (simatec) Fixed cifs/nfs mount and umount - +* (simatec) Fixed cifs/nfs mount and umount + ### 0.3.8 (08.11.2018) * (simatec) Fixed notifications format -* (simatec) Fixed Telegram User - +* (simatec) Fixed Telegram User + ### 0.3.7 (07.11.2018) * (simatec) Added e-mail notification * (simatec) Create backup directory on first boot @@ -1110,34 +1110,34 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (peoples) Fixed Telegram SilentNotice * (peoples) Added Possibility to select a Telegram Receiver * (peoples) Added Possibility to select a Telegram Notification length -* (peoples) Some Translations - +* (peoples) Some Translations + ### 0.3.6 (16.10.2018) * (simatec) Fixed Dropbox Backup * (simatec) Fixed Restore path for ownDir * (simatec) Fixed FTP and NAS path -* (simatec) Fixed Access Token for dropbox - +* (simatec) Fixed Access Token for dropbox + ### 0.3.5 (03.10.2018) * (simatec) Fixed Translation * (simatec) Fixed Filename Suffix for Restore -* (peoples) Bugfix Title for Backup deletion - +* (peoples) Bugfix Title for Backup deletion + ### 0.3.4 (01.10.2018) -* (simatec) Fixed Restart after total-backup - +* (simatec) Fixed Restart after total-backup + ### 0.3.3 (27.09.2018) * (simatec) Fixed Backup-Directory for dropbox * (simatec) Fixed Restart after total-backup -* (simatec) Fixed error Log on cifs - +* (simatec) Fixed error Log on cifs + ### 0.3.2 (25.09.2018) -* (simatec) Fixed Filename for ccu backup - +* (simatec) Fixed Filename for ccu backup + ### 0.3.1 (25.09.2018) * (simatec) Fixed FTP Directory -* (simatec) delete old Files - +* (simatec) delete old Files + ### 0.3.0 (24.09.2018) * (bluefox/simatec) Add Multiplatform (Windows/Linux/Mac) * (bluefox/simatec) ioBroker.backitup switched to Javascript @@ -1151,69 +1151,69 @@ When you allow iobroker GmbH to collect diagnostic data, then also your installa * (peoples) Added silent mode for telegram * (simatec) Redis/mysql added with standard backup * (simatec) translations added -* (simatec) Docs adapted - +* (simatec) Docs adapted + ### 0.2.7 (29.07.2018) -* (simatec) Fixed Delete old Files - +* (simatec) Fixed Delete old Files + ### 0.2.6 (27.07.2018) * (bluefox) Configurable redis path was added * (simatec) Translations Script -* (simatec) Fixed FTP Upload - +* (simatec) Fixed FTP Upload + ### 0.2.5 (26.07.2018) * (simatec) Check for dependencies * (simatec) Delete older files if the number of files is greater than X * (simatec) Check for Backup Dir -* (simatec) Translations added - +* (simatec) Translations added + ### 0.2.4 (23.07.2018) * (peoples) Some Bugfixes - * (peoples) Added translations in words.js - + * (peoples) Added translations in words.js + ### 0.2.3 (19.07.2018) * (bluefox) The backup buttons in the configuration dialog were added * (bluefox) Show bash output text - * (peoples) Bug Fix Mysql-Login Error - + * (peoples) Bug Fix Mysql-Login Error + ### 0.2.2 (17.07.2018) - * (peoples/simatec/bluefox) Bug Fix Code - + * (peoples/simatec/bluefox) Bug Fix Code + ### 0.2.1 (15.07.2018) - * (peoples/simatec) Bug Fix - + * (peoples/simatec) Bug Fix + ### 0.2.0 (14.07.2018) - * (blufox) Code formatting - + * (blufox) Code formatting + ### 0.1.8 (11.07.2018) * (darkiop) MySQL-Sicherung um Host- und Portabfrage erweitert * (peoples) Versendende Telegram-Instanz wählbar * (peoples) Telegram-Nachrichten angepasst an Verbindungstyp * (peoples) History-Log angepasst an Verbindungstyp * (simatec) Komprimierung der MySQL-Datenbank-Sicherung eingebaut - * (simatec) Anpassung der Konfigoberfläche an Telegram-Instanz Auswahl - + * (simatec) Anpassung der Konfigoberfläche an Telegram-Instanz Auswahl + ### 0.1.7 (05.07.2018) - * (peoples) Datenpunkte in io-package definiert - + * (peoples) Datenpunkte in io-package definiert + ### 0.1.6 (04.07.2018) - * (simatec/peoples) Beta Version - + * (simatec/peoples) Beta Version + ### 0.1.5 (03.07.2018) - * (peoples) Log Einträge neu formatiert - + * (peoples) Log Einträge neu formatiert + ### 0.1.4 (02.07.2018) - * (simatec/peoples) diverse Anpassungen - + * (simatec/peoples) diverse Anpassungen + ### 0.1.3 (01.07.2018) - * (simatec/peoples) Sprachen hinzugefügt - + * (simatec/peoples) Sprachen hinzugefügt + ### 0.1.2 (30.06.2018) - * (simatec/peoples) Erste Beta-Version - + * (simatec/peoples) Erste Beta-Version + ### 0.1.0 (25.06.2018) - * (simatec/peoples) Erste Git-Adapter-Version - + * (simatec/peoples) Erste Git-Adapter-Version + ## License The MIT License (MIT) @@ -1236,4 +1236,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -THE SOFTWARE. +THE SOFTWARE. diff --git a/admin/asset-manifest.json b/admin/asset-manifest.json index 9c00a310..14c8e0a5 100644 --- a/admin/asset-manifest.json +++ b/admin/asset-manifest.json @@ -1,16 +1,16 @@ { "files": { "main.css": "./static/css/main.bd1167d4.css", - "main.js": "./static/js/main.5e0624d1.js", + "main.js": "./static/js/main.970c16c3.js", "static/js/245.30dc845d.chunk.js": "./static/js/245.30dc845d.chunk.js", "static/media/history.png": "./static/media/history.d21dcfa508bd8a624c85.png", "index.html": "./index.html", "main.bd1167d4.css.map": "./static/css/main.bd1167d4.css.map", - "main.5e0624d1.js.map": "./static/js/main.5e0624d1.js.map", + "main.970c16c3.js.map": "./static/js/main.970c16c3.js.map", "245.30dc845d.chunk.js.map": "./static/js/245.30dc845d.chunk.js.map" }, "entrypoints": [ "static/css/main.bd1167d4.css", - "static/js/main.5e0624d1.js" + "static/js/main.970c16c3.js" ] } \ No newline at end of file diff --git a/admin/static/js/main.5e0624d1.js b/admin/static/js/main.970c16c3.js similarity index 99% rename from admin/static/js/main.5e0624d1.js rename to admin/static/js/main.970c16c3.js index a2d17b6d..8ca1ab11 100644 --- a/admin/static/js/main.5e0624d1.js +++ b/admin/static/js/main.970c16c3.js @@ -1,4 +1,4 @@ -/*! For license information please see main.5e0624d1.js.LICENSE.txt */ +/*! For license information please see main.970c16c3.js.LICENSE.txt */ (()=>{var e={4371:(e,t,r)=>{"use strict";var n,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:i,height:l},u)},d),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},9128:(e,t,r)=>{"use strict";var n,o=Object.assign||function(e){for(var t=1;t=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:i,height:l},u)},d),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},1647:(e,t,r)=>{e=r.nmd(e),ace.define("ace/snippets",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter","ace/lib/lang","ace/range","ace/range_list","ace/keyboard/hash_handler","ace/tokenizer","ace/clipboard","ace/editor"],(function(e,t,r){"use strict";function n(e){var t=(new Date).toLocaleString("en-us",e);return 1==t.length?"0"+t:t}var o=e("./lib/dom"),i=e("./lib/oop"),a=e("./lib/event_emitter").EventEmitter,s=e("./lib/lang"),l=e("./range").Range,c=e("./range_list").RangeList,u=e("./keyboard/hash_handler").HashHandler,d=e("./tokenizer").Tokenizer,p=e("./clipboard"),h={CURRENT_WORD:function(e){return e.session.getTextRange(e.session.getWordRange())},SELECTION:function(e,t,r){var n=e.session.getTextRange();return r?n.replace(/\n\r?([ \t]*\S)/g,"\n"+r+"$1"):n},CURRENT_LINE:function(e){return e.session.getLine(e.getCursorPosition().row)},PREV_LINE:function(e){return e.session.getLine(e.getCursorPosition().row-1)},LINE_INDEX:function(e){return e.getCursorPosition().row},LINE_NUMBER:function(e){return e.getCursorPosition().row+1},SOFT_TABS:function(e){return e.session.getUseSoftTabs()?"YES":"NO"},TAB_SIZE:function(e){return e.session.getTabSize()},CLIPBOARD:function(e){return p.getText&&p.getText()},FILENAME:function(e){return/[^/\\]*$/.exec(this.FILEPATH(e))[0]},FILENAME_BASE:function(e){return/[^/\\]*$/.exec(this.FILEPATH(e))[0].replace(/\.[^.]*$/,"")},DIRECTORY:function(e){return this.FILEPATH(e).replace(/[^/\\]*$/,"")},FILEPATH:function(e){return"/not implemented.txt"},WORKSPACE_NAME:function(){return"Unknown"},FULLNAME:function(){return"Unknown"},BLOCK_COMMENT_START:function(e){var t=e.session.$mode||{};return t.blockComment&&t.blockComment.start||""},BLOCK_COMMENT_END:function(e){var t=e.session.$mode||{};return t.blockComment&&t.blockComment.end||""},LINE_COMMENT:function(e){return(e.session.$mode||{}).lineCommentStart||""},CURRENT_YEAR:n.bind(null,{year:"numeric"}),CURRENT_YEAR_SHORT:n.bind(null,{year:"2-digit"}),CURRENT_MONTH:n.bind(null,{month:"numeric"}),CURRENT_MONTH_NAME:n.bind(null,{month:"long"}),CURRENT_MONTH_NAME_SHORT:n.bind(null,{month:"short"}),CURRENT_DATE:n.bind(null,{day:"2-digit"}),CURRENT_DAY_NAME:n.bind(null,{weekday:"long"}),CURRENT_DAY_NAME_SHORT:n.bind(null,{weekday:"short"}),CURRENT_HOUR:n.bind(null,{hour:"2-digit",hour12:!1}),CURRENT_MINUTE:n.bind(null,{minute:"2-digit"}),CURRENT_SECOND:n.bind(null,{second:"2-digit"})};h.SELECTED_TEXT=h.SELECTION;var f=function(){function e(){this.snippetMap={},this.snippetNameMap={},this.variables=h}return e.prototype.getTokenizer=function(){return e.$tokenizer||this.createTokenizer()},e.prototype.createTokenizer=function(){function t(e){return e=e.substr(1),/^\d+$/.test(e)?[{tabstopId:parseInt(e,10)}]:[{text:e}]}function r(e){return"(?:[^\\\\"+e+"]|\\\\.)"}var n={regex:"/("+r("/")+"+)/",onMatch:function(e,t,r){var n=r[0];return n.fmtString=!0,n.guard=e.slice(1,-1),n.flag="",""},next:"formatString"};return e.$tokenizer=new d({start:[{regex:/\\./,onMatch:function(e,t,r){var n=e[1];return("}"==n&&r.length||-1!="`$\\".indexOf(n))&&(e=n),[e]}},{regex:/}/,onMatch:function(e,t,r){return[r.length?r.shift():e]}},{regex:/\$(?:\d+|\w+)/,onMatch:t},{regex:/\$\{[\dA-Z_a-z]+/,onMatch:function(e,r,n){var o=t(e.substr(1));return n.unshift(o[0]),o},next:"snippetVar"},{regex:/\n/,token:"newline",merge:!1}],snippetVar:[{regex:"\\|"+r("\\|")+"*\\|",onMatch:function(e,t,r){var n=e.slice(1,-1).replace(/\\[,|\\]|,/g,(function(e){return 2==e.length?e[1]:"\0"})).split("\0").map((function(e){return{value:e}}));return r[0].choices=n,[n[0]]},next:"start"},n,{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"start"}],formatString:[{regex:/:/,onMatch:function(e,t,r){return r.length&&r[0].expectElse?(r[0].expectElse=!1,r[0].ifEnd={elseEnd:r[0]},[r[0].ifEnd]):":"}},{regex:/\\./,onMatch:function(e,t,r){var n=e[1];return"}"==n&&r.length||-1!="`$\\".indexOf(n)?e=n:"n"==n?e="\n":"t"==n?e="\t":-1!="ulULE".indexOf(n)&&(e={changeCase:n,local:n>"a"}),[e]}},{regex:"/\\w*}",onMatch:function(e,t,r){var n=r.shift();return n&&(n.flag=e.slice(1,-1)),this.next=n&&n.tabstopId?"start":"",[n||e]},next:"start"},{regex:/\$(?:\d+|\w+)/,onMatch:function(e,t,r){return[{text:e.slice(1)}]}},{regex:/\${\w+/,onMatch:function(e,t,r){var n={text:e.slice(2)};return r.unshift(n),[n]},next:"formatStringVar"},{regex:/\n/,token:"newline",merge:!1},{regex:/}/,onMatch:function(e,t,r){var n=r.shift();return this.next=n&&n.tabstopId?"start":"",[n||e]},next:"start"}],formatStringVar:[{regex:/:\/\w+}/,onMatch:function(e,t,r){return r[0].formatFunction=e.slice(2,-1),[r.shift()]},next:"formatString"},n,{regex:/:[\?\-+]?/,onMatch:function(e,t,r){"+"==e[1]&&(r[0].ifEnd=r[0]),"?"==e[1]&&(r[0].expectElse=!0)},next:"formatString"},{regex:"([^:}\\\\]|\\\\.)*:?",token:"",next:"formatString"}]}),e.$tokenizer},e.prototype.tokenizeTmSnippet=function(e,t){return this.getTokenizer().getLineTokens(e,t).tokens.map((function(e){return e.value||e}))},e.prototype.getVariableValue=function(e,t,r){if(/^\d+$/.test(t))return(this.variables.__||{})[t]||"";if(/^[A-Z]\d+$/.test(t))return(this.variables[t[0]+"__"]||{})[t.substr(1)]||"";if(t=t.replace(/^TM_/,""),!this.variables.hasOwnProperty(t))return"";var n=this.variables[t];return"function"==typeof n&&(n=this.variables[t](e,t,r)),null==n?"":n},e.prototype.tmStrFormat=function(e,t,r){if(!t.fmt)return e;var n=t.flag||"",o=t.guard;o=new RegExp(o,n.replace(/[^gim]/g,""));var i="string"==typeof t.fmt?this.tokenizeTmSnippet(t.fmt,"formatString"):t.fmt,a=this,s=e.replace(o,(function(){var e=a.variables.__;a.variables.__=[].slice.call(arguments);for(var t=a.resolveVariables(i,r),n="E",o=0;o=0&&i.splice(a,1)}}var n=this.snippetMap,o=this.snippetNameMap;e.content?r(e):Array.isArray(e)&&e.forEach(r)},e.prototype.parseSnippetFile=function(e){e=e.replace(/\r/g,"");for(var t,r=[],n={},o=/^#.*|^({[\s\S]*})\s*$|^(\S+) (.*)$|^((?:\n*\t.*)+)/gm;t=o.exec(e);){if(t[1])try{n=JSON.parse(t[1]),r.push(n)}catch(a){}if(t[4])n.content=t[4].replace(/^\t/gm,""),r.push(n),n={};else{var i=t[2],s=t[3];if("regex"==i){var l=/\/((?:[^\/\\]|\\.)*)|$/g;n.guard=l.exec(s)[1],n.trigger=l.exec(s)[1],n.endTrigger=l.exec(s)[1],n.endGuard=l.exec(s)[1]}else"snippet"==i?(n.tabTrigger=s.match(/^\S*/)[0],n.name||(n.name=s)):i&&(n[i]=s)}}return r},e.prototype.getSnippetByName=function(e,t){var r,n=this.snippetNameMap;return this.getActiveScopes(t).some((function(t){var o=n[t];return o&&(r=o[e]),!!r}),this),r},e}();i.implement(f.prototype,a);var m=function(e,t,r){function n(e){for(var t=[],r=0;r1?(v=t[t.length-1].length,y+=t.length-1):v+=e.length,b+=e}else e&&(e.start?e.end={row:y,column:v}:e.start={row:y,column:v})})),{text:b,tabstops:c,tokens:l}},g=function(){function e(e){if(this.index=0,this.ranges=[],this.tabstops=[],e.tabstopManager)return e.tabstopManager;e.tabstopManager=this,this.$onChange=this.onChange.bind(this),this.$onChangeSelection=s.delayedCall(this.onChangeSelection.bind(this)).schedule,this.$onChangeSession=this.onChangeSession.bind(this),this.$onAfterExec=this.onAfterExec.bind(this),this.attach(e)}return e.prototype.attach=function(e){this.$openTabstops=null,this.selectedTabstop=null,this.editor=e,this.session=e.session,this.editor.on("change",this.$onChange),this.editor.on("changeSelection",this.$onChangeSelection),this.editor.on("changeSession",this.$onChangeSession),this.editor.commands.on("afterExec",this.$onAfterExec),this.editor.keyBinding.addKeyboardHandler(this.keyboardHandler)},e.prototype.detach=function(){this.tabstops.forEach(this.removeTabstopMarkers,this),this.ranges.length=0,this.tabstops.length=0,this.selectedTabstop=null,this.editor.off("change",this.$onChange),this.editor.off("changeSelection",this.$onChangeSelection),this.editor.off("changeSession",this.$onChangeSession),this.editor.commands.off("afterExec",this.$onAfterExec),this.editor.keyBinding.removeKeyboardHandler(this.keyboardHandler),this.editor.tabstopManager=null,this.session=null,this.editor=null},e.prototype.onChange=function(e){for(var t="r"==e.action[0],r=this.selectedTabstop||{},n=r.parents||{},o=this.tabstops.slice(),i=0;i2&&(this.tabstops.length&&i.push(i.splice(2,1)[0]),this.tabstops.splice.apply(this.tabstops,i))},e.prototype.addTabstopMarkers=function(e){var t=this.session;e.forEach((function(e){e.markerId||(e.markerId=t.addMarker(e,"ace_snippet-marker","text"))}))},e.prototype.removeTabstopMarkers=function(e){var t=this.session;e.forEach((function(e){t.removeMarker(e.markerId),e.markerId=null}))},e.prototype.updateTabstopMarkers=function(){if(this.selectedTabstop){var e=this.selectedTabstop.snippetId;0===this.selectedTabstop.index&&e--,this.tabstops.forEach((function(t){t.snippetId===e?this.addTabstopMarkers(t):this.removeTabstopMarkers(t)}),this)}},e.prototype.removeRange=function(e){var t=e.tabstop.indexOf(e);-1!=t&&e.tabstop.splice(t,1),-1!=(t=this.ranges.indexOf(e))&&this.ranges.splice(t,1),-1!=(t=e.tabstop.rangeList.ranges.indexOf(e))&&e.tabstop.splice(t,1),this.session.removeMarker(e.markerId),e.tabstop.length||(-1!=(t=this.tabstops.indexOf(e.tabstop))&&this.tabstops.splice(t,1),this.tabstops.length||this.detach())},e}();g.prototype.keyboardHandler=new u,g.prototype.keyboardHandler.bindKeys({Tab:function(e){t.snippetManager&&t.snippetManager.expandWithTab(e)||(e.tabstopManager.tabNext(1),e.renderer.scrollCursorIntoView())},"Shift-Tab":function(e){e.tabstopManager.tabNext(-1),e.renderer.scrollCursorIntoView()},Esc:function(e){e.tabstopManager.detach()}});var y=function(e,t){0==e.row&&(e.column+=t.column),e.row+=t.row},v=function(e,t){e.row==t.row&&(e.column-=t.column),e.row-=t.row};o.importCssString("\n.ace_snippet-marker {\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n background: rgba(194, 193, 208, 0.09);\n border: 1px dotted rgba(211, 208, 235, 0.62);\n position: absolute;\n}","snippets.css",!1),t.snippetManager=new f;var b=e("./editor").Editor;(function(){this.insertSnippet=function(e,r){return t.snippetManager.insertSnippet(this,e,r)},this.expandSnippet=function(e){return t.snippetManager.expandWithTab(this,e)}}).call(b.prototype)})),ace.define("ace/autocomplete/popup",["require","exports","module","ace/virtual_renderer","ace/editor","ace/range","ace/lib/event","ace/lib/lang","ace/lib/dom","ace/config","ace/lib/useragent"],(function(e,t,r){"use strict";var n=e("../virtual_renderer").VirtualRenderer,o=e("../editor").Editor,i=e("../range").Range,a=e("../lib/event"),s=e("../lib/lang"),l=e("../lib/dom"),c=e("../config").nls,u=e("./../lib/useragent"),d=function(e){return"suggest-aria-id:".concat(e)},p=u.isSafari?"menu":"listbox",h=u.isSafari?"menuitem":"option",f=u.isSafari?"aria-current":"aria-selected",m=function(e){var t=new n(e);t.$maxLines=4;var r=new o(t);return r.setHighlightActiveLine(!1),r.setShowPrintMargin(!1),r.renderer.setShowGutter(!1),r.renderer.setHighlightGutterLine(!1),r.$mouseHandler.$focusTimeout=0,r.$highlightTagPending=!0,r},g=function(e){var t=l.createElement("div"),r=m(t);e&&e.appendChild(t),t.style.display="none",r.renderer.content.style.cursor="default",r.renderer.setStyle("ace_autocomplete"),r.renderer.$textLayer.element.setAttribute("role",p),r.renderer.$textLayer.element.setAttribute("aria-roledescription",c("autocomplete.popup.aria-roledescription","Autocomplete suggestions")),r.renderer.$textLayer.element.setAttribute("aria-label",c("autocomplete.popup.aria-label","Autocomplete suggestions")),r.renderer.textarea.setAttribute("aria-hidden","true"),r.setOption("displayIndentGuides",!1),r.setOption("dragDelay",150);var n=function(){};r.focus=n,r.$isFocused=!0,r.renderer.$cursorLayer.restartTimer=n,r.renderer.$cursorLayer.element.style.opacity="0",r.renderer.$maxLines=8,r.renderer.$keepTextAreaAtCursor=!1,r.setHighlightActiveLine(!1),r.session.highlight(""),r.session.$searchHighlight.clazz="ace_highlight-marker",r.on("mousedown",(function(e){var t=e.getDocumentPosition();r.selection.moveToPosition(t),g.start.row=g.end.row=t.row,e.stop()}));var o,u=new i(-1,0,-1,1/0),g=new i(-1,0,-1,1/0);g.id=r.session.addMarker(g,"ace_active-line","fullLine"),r.setSelectOnHover=function(e){e?u.id&&(r.session.removeMarker(u.id),u.id=null):u.id=r.session.addMarker(u,"ace_line-hover","fullLine")},r.setSelectOnHover(!1),r.on("mousemove",(function(e){if(o){if(o.x!=e.x||o.y!=e.y){(o=e).scrollTop=r.renderer.scrollTop,r.isMouseOver=!0;var t=o.getDocumentPosition().row;u.start.row!=t&&(u.id||r.setRow(t),v(t))}}else o=e})),r.renderer.on("beforeRender",(function(){if(o&&-1!=u.start.row){o.$pos=null;var e=o.getDocumentPosition().row;u.id||r.setRow(e),v(e,!0)}})),r.renderer.on("afterRender",(function(){var e=r.getRow(),t=r.renderer.$textLayer,n=t.element.childNodes[e-t.config.firstRow],o=document.activeElement;if(n!==r.selectedNode&&r.selectedNode&&(l.removeCssClass(r.selectedNode,"ace_selected"),o.removeAttribute("aria-activedescendant"),r.selectedNode.removeAttribute(f),r.selectedNode.removeAttribute("id")),r.selectedNode=n,n){l.addCssClass(n,"ace_selected");var i=d(e);n.id=i,t.element.setAttribute("aria-activedescendant",i),o.setAttribute("aria-activedescendant",i),n.setAttribute("role",h),n.setAttribute("aria-roledescription",c("autocomplete.popup.item.aria-roledescription","item")),n.setAttribute("aria-label",r.getData(e).caption||r.getData(e).value),n.setAttribute("aria-setsize",r.data.length),n.setAttribute("aria-posinset",e+1),n.setAttribute("aria-describedby","doc-tooltip"),n.setAttribute(f,"true")}}));var y=function(){v(-1)},v=function(e,t){e!==u.start.row&&(u.start.row=u.end.row=e,t||r.session._emit("changeBackMarker"),r._emit("changeHoverMarker"))};r.getHoveredRow=function(){return u.start.row},a.addListener(r.container,"mouseout",(function(){r.isMouseOver=!1,y()})),r.on("hide",y),r.on("changeSelection",y),r.session.doc.getLength=function(){return r.data.length},r.session.doc.getLine=function(e){var t=r.data[e];return"string"==typeof t?t:t&&t.value||""};var b=r.session.bgTokenizer;return b.$tokenizeRow=function(e){function t(e,t){e&&o.push({type:(n.className||"")+(t||""),value:e})}var n=r.data[e],o=[];if(!n)return o;"string"==typeof n&&(n={value:n});for(var i=n.caption||n.value||n.name,a=i.toLowerCase(),s=(r.filterText||"").toLowerCase(),l=0,c=0,u=0;u<=s.length;u++)if(u!=c&&(n.matchMask&1<=u?"bottom":"top"),"top"===n?(d.bottom=e.top-this.$borderSize,d.top=d.bottom-u):"bottom"===n&&(d.top=e.top+t+this.$borderSize,d.bottom=d.top+u);var f=d.top>=0&&d.bottom<=s;if(!i&&!f)return!1;c.$maxPixelHeight=f?null:"top"===n?h:p,"top"===n?(a.style.top="",a.style.bottom=s-d.bottom+"px",r.isTopdown=!1):(a.style.top=d.top+"px",a.style.bottom="",r.isTopdown=!0),a.style.display="";var m=e.left;return m+a.offsetWidth>l&&(m=l-a.offsetWidth),a.style.left=m+"px",a.style.right="",r.isOpen||(r.isOpen=!0,this._signal("show"),o=null),r.anchorPos=e,r.anchor=n,!0},r.show=function(e,t,r){this.tryShow(e,t,r?"bottom":void 0,!0)},r.goTo=function(e){var t=this.getRow(),r=this.session.getLength()-1;switch(e){case"up":t=t<=0?r:t-1;break;case"down":t=t>=r?-1:t+1;break;case"start":t=0;break;case"end":t=r}this.setRow(t)},r.getTextLeftOffset=function(){return this.$borderSize+this.renderer.$padding+this.$imageSize},r.$imageSize=0,r.$borderSize=1,r};l.importCssString('\n.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {\n background-color: #CAD6FA;\n z-index: 1;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_marker-layer .ace_active-line {\n background-color: #3a674e;\n}\n.ace_editor.ace_autocomplete .ace_line-hover {\n border: 1px solid #abbffe;\n margin-top: -1px;\n background: rgba(233,233,253,0.4);\n position: absolute;\n z-index: 2;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_line-hover {\n border: 1px solid rgba(109, 150, 13, 0.8);\n background: rgba(58, 103, 78, 0.62);\n}\n.ace_completion-meta {\n opacity: 0.5;\n margin-left: 0.9em;\n}\n.ace_completion-message {\n margin-left: 0.9em;\n color: blue;\n}\n.ace_editor.ace_autocomplete .ace_completion-highlight{\n color: #2d69c7;\n}\n.ace_dark.ace_editor.ace_autocomplete .ace_completion-highlight{\n color: #93ca12;\n}\n.ace_editor.ace_autocomplete {\n width: 300px;\n z-index: 200000;\n border: 1px lightgray solid;\n position: fixed;\n box-shadow: 2px 3px 5px rgba(0,0,0,.2);\n line-height: 1.4;\n background: #fefefe;\n color: #111;\n}\n.ace_dark.ace_editor.ace_autocomplete {\n border: 1px #484747 solid;\n box-shadow: 2px 3px 5px rgba(0, 0, 0, 0.51);\n line-height: 1.4;\n background: #25282c;\n color: #c1c1c1;\n}\n.ace_autocomplete .ace_text-layer {\n width: calc(100% - 8px);\n}\n.ace_autocomplete .ace_line {\n display: flex;\n align-items: center;\n}\n.ace_autocomplete .ace_line > * {\n min-width: 0;\n flex: 0 0 auto;\n}\n.ace_autocomplete .ace_line .ace_ {\n flex: 0 1 auto;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.ace_autocomplete .ace_completion-spacer {\n flex: 1;\n}\n.ace_autocomplete.ace_loading:after {\n content: "";\n position: absolute;\n top: 0px;\n height: 2px;\n width: 8%;\n background: blue;\n z-index: 100;\n animation: ace_progress 3s infinite linear;\n animation-delay: 300ms;\n transform: translateX(-100%) scaleX(1);\n}\n@keyframes ace_progress {\n 0% { transform: translateX(-100%) scaleX(1) }\n 50% { transform: translateX(625%) scaleX(2) } \n 100% { transform: translateX(1500%) scaleX(3) } \n}\n@media (prefers-reduced-motion) {\n .ace_autocomplete.ace_loading:after {\n transform: translateX(625%) scaleX(2);\n animation: none;\n }\n}\n',"autocompletion.css",!1),t.AcePopup=g,t.$singleLineEditor=m,t.getAriaId=d})),ace.define("ace/autocomplete/inline_screenreader",["require","exports","module"],(function(e,t,r){"use strict";var n=function(){function e(e){this.editor=e,this.screenReaderDiv=document.createElement("div"),this.screenReaderDiv.classList.add("ace_screenreader-only"),this.editor.container.appendChild(this.screenReaderDiv)}return e.prototype.setScreenReaderContent=function(e){for(!this.popup&&this.editor.completer&&this.editor.completer.popup&&(this.popup=this.editor.completer.popup,this.popup.renderer.on("afterRender",function(){var e=this.popup.getRow(),t=this.popup.renderer.$textLayer,r=t.element.childNodes[e-t.config.firstRow];if(r){for(var n="doc-tooltip ",o=0;o=0&&r.test(e[i]);i--)o.push(e[i]);return o.reverse().join("")},t.retrieveFollowingIdentifier=function(e,t,r){r=r||n;for(var o=[],i=t;i0)for(var t=this.popup.getFirstVisibleRow();t<=this.popup.getLastVisibleRow();t++){var r=this.popup.getData(t);r&&(!e||r.hideInlinePreview)&&this.$seen(r)}},e.prototype.$onPopupShow=function(e){this.$onPopupChange(e),this.stickySelection=!1,this.stickySelectionDelay>=0&&this.stickySelectionTimer.schedule(this.stickySelectionDelay)},e.prototype.observeLayoutChanges=function(){if(!this.$elements&&this.editor){window.addEventListener("resize",this.onLayoutChange,{passive:!0}),window.addEventListener("wheel",this.mousewheelListener);for(var e=this.editor.container.parentNode,t=[];e;)t.push(e),e.addEventListener("scroll",this.onLayoutChange,{passive:!0}),e=e.parentNode;this.$elements=t}},e.prototype.unObserveLayoutChanges=function(){var e=this;window.removeEventListener("resize",this.onLayoutChange,{passive:!0}),window.removeEventListener("wheel",this.mousewheelListener),this.$elements&&this.$elements.forEach((function(t){t.removeEventListener("scroll",e.onLayoutChange,{passive:!0})})),this.$elements=null},e.prototype.onLayoutChange=function(){if(!this.popup.isOpen)return this.unObserveLayoutChanges();this.$updatePopupPosition(),this.updateDocTooltip()},e.prototype.$updatePopupPosition=function(){var e=this.editor,t=e.renderer,r=t.layerConfig.lineHeight,n=t.$cursorLayer.getPixelPosition(this.base,!0);n.left-=this.popup.getTextLeftOffset();var o=e.container.getBoundingClientRect();n.top+=o.top-t.layerConfig.offset,n.left+=o.left-e.renderer.scrollLeft,n.left+=t.gutterWidth;var i={top:n.top,left:n.left};t.$ghostText&&t.$ghostTextWidget&&this.base.row===t.$ghostText.position.row&&(i.top+=t.$ghostTextWidget.el.offsetHeight);var a=e.container.getBoundingClientRect().bottom-r,s=athis.filterText&&0===e.lastIndexOf(this.filterText,0))var t=this.filtered;else t=this.all;this.filterText=e,t=(t=this.filterCompletions(t,this.filterText)).sort((function(e,t){return t.exactMatch-e.exactMatch||t.$score-e.$score||(e.caption||e.value).localeCompare(t.caption||t.value)}));var r=null;t=t.filter((function(e){var t=e.snippet||e.caption||e.value;return t!==r&&(r=t,!0)})),this.filtered=t},e.prototype.filterCompletions=function(e,t){var r=[],n=t.toUpperCase(),o=t.toLowerCase();e:for(var i,a=0;i=e[a];a++){var s=!this.ignoreCaption&&i.caption||i.value||i.snippet;if(s){var l,c,u=-1,d=0,p=0;if(this.exactMatch){if(t!==s.substr(0,t.length))continue e}else{var h=s.toLowerCase().indexOf(o);if(h>-1)p=h;else for(var f=0;f=0&&(g<0||m0&&(-1===u&&(p+=10),p+=c,d|=1<",a.escapeHTML(e.caption),"","
",a.escapeHTML(u(e.snippet))].join(""))},id:"snippetCompleter"},p=[d,l,c];t.setCompleters=function(e){p.length=0,e&&p.push.apply(p,e)},t.addCompleter=function(e){p.push(e)},t.textCompleter=l,t.keyWordCompleter=c,t.snippetCompleter=d;var h,f={name:"expandSnippet",exec:function(e){return n.expandWithTab(e)},bindKey:"Tab"},m=function(e,t){g(t.session.$mode)},g=function(e){"string"==typeof e&&(e=i.$modes[e]),e&&(n.files||(n.files={}),y(e.$id,e.snippetFileId),e.modes&&e.modes.forEach(g))},y=function(e,t){t&&e&&!n.files[e]&&(n.files[e]={},i.loadModule(t,(function(t){t&&(n.files[e]=t,!t.snippets&&t.snippetText&&(t.snippets=n.parseSnippetFile(t.snippetText)),n.register(t.snippets||[],t.scope),t.includeScopes&&(n.snippetMap[t.scope].includeScopes=t.includeScopes,t.includeScopes.forEach((function(e){g("ace/mode/"+e)}))))})))},v=function(e){var t=e.editor,r=t.completer&&t.completer.activated;if("backspace"===e.command.name)r&&!s.getCompletionPrefix(t)&&t.completer.detach();else if("insertstring"===e.command.name&&!r){h=e;var n=e.editor.$liveAutocompletionDelay;n?b.delay(n):w(e)}},b=a.delayedCall((function(){w(h)}),0),w=function(e){var t=e.editor,r=s.getCompletionPrefix(t),n=e.args,i=s.triggerAutocomplete(t,n);if(r&&r.length>=t.$liveAutocompletionThreshold||i){var a=o.for(t);a.autoShown=!0,a.showPopup(t)}},_=e("../editor").Editor;e("../config").defineOptions(_.prototype,"editor",{enableBasicAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:p),this.commands.addCommand(o.startCommand)):this.commands.removeCommand(o.startCommand)},value:!1},enableLiveAutocompletion:{set:function(e){e?(this.completers||(this.completers=Array.isArray(e)?e:p),this.commands.on("afterExec",v)):this.commands.off("afterExec",v)},value:!1},liveAutocompletionDelay:{initialValue:0},liveAutocompletionThreshold:{initialValue:0},enableSnippets:{set:function(e){e?(this.commands.addCommand(f),this.on("changeMode",m),m(0,this)):(this.commands.removeCommand(f),this.off("changeMode",m))},value:!1}})})),ace.require(["ace/ext/language_tools"],(function(t){e&&(e.exports=t)}))},7879:(e,t,r)=>{e=r.nmd(e),ace.define("ace/mode/json_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],(function(e,t,r){"use strict";var n=e("../lib/oop"),o=e("./text_highlight_rules").TextHighlightRules,i=function(){this.$rules={start:[{token:"variable",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]\\s*(?=:)'},{token:"string",regex:'"',next:"string"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"text",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"comment",regex:"\\/\\/.*$"},{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"punctuation.operator",regex:/[,]/},{token:"text",regex:"\\s+"}],string:[{token:"constant.language.escape",regex:/\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|["\\\/bfnrt])/},{token:"string",regex:'"|$',next:"start"},{defaultToken:"string"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}]}};n.inherits(i,o),t.JsonHighlightRules=i})),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],(function(e,t,r){"use strict";var n=e("../range").Range,o=function(){};(function(){this.checkOutdent=function(e,t){return!!/^\s+$/.test(e)&&/^\s*\}/.test(t)},this.autoOutdent=function(e,t){var r=e.getLine(t).match(/^(\s*\})/);if(!r)return 0;var o=r[1].length,i=e.findMatchingBracket({row:t,column:o});if(!i||i.row==t)return 0;var a=this.$getIndent(e.getLine(i.row));e.replace(new n(t,0,t,o-1),a)},this.$getIndent=function(e){return e.match(/^\s*/)[0]}}).call(o.prototype),t.MatchingBraceOutdent=o})),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],(function(e,t,r){"use strict";var n=e("../../lib/oop"),o=e("../../range").Range,i=e("./fold_mode").FoldMode,a=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};n.inherits(a,i),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,r){var n=e.getLine(r);if(this.singleLineBlockCommentRe.test(n)&&!this.startRegionRe.test(n)&&!this.tripleStarBlockCommentRe.test(n))return"";var o=this._getFoldWidgetBase(e,t,r);return!o&&this.startRegionRe.test(n)?"start":o},this.getFoldWidgetRange=function(e,t,r,n){var o,i=e.getLine(r);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,r);if(o=i.match(this.foldingStartMarker)){var a=o.index;if(o[1])return this.openingBracketBlock(e,o[1],r,a);var s=e.getCommentFoldRange(r,a+o[0].length,1);return s&&!s.isMultiLine()&&(n?s=this.getSectionRange(e,r):"all"!=t&&(s=null)),s}if("markbegin"!==t&&(o=i.match(this.foldingStopMarker))){a=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],r,a):e.getCommentFoldRange(r,a,-1)}},this.getSectionRange=function(e,t){for(var r=e.getLine(t),n=r.search(/\S/),i=t,a=r.length,s=t+=1,l=e.getLength();++tc)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=i)break;if(u.isMultiLine())t=u.end.row;else if(n==c)break}s=t}}return new o(i,a,s,e.getLine(s).length)},this.getCommentRegionBlock=function(e,t,r){for(var n=t.search(/\s*$/),i=e.getLength(),a=r,s=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,l=1;++ra)return new o(a,n,r,t.length)}}.call(a.prototype)})),ace.define("ace/mode/json",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/json_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle","ace/worker/worker_client"],(function(e,t,r){"use strict";var n=e("../lib/oop"),o=e("./text").Mode,i=e("./json_highlight_rules").JsonHighlightRules,a=e("./matching_brace_outdent").MatchingBraceOutdent,s=e("./folding/cstyle").FoldMode,l=e("../worker/worker_client").WorkerClient,c=function(){this.HighlightRules=i,this.$outdent=new a,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new s};n.inherits(c,o),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(e,t,r){var n=this.$getIndent(t);"start"==e&&(t.match(/^.*[\{\(\[]\s*$/)&&(n+=r));return n},this.checkOutdent=function(e,t,r){return this.$outdent.checkOutdent(t,r)},this.autoOutdent=function(e,t,r){this.$outdent.autoOutdent(t,r)},this.createWorker=function(e){var t=new l(["ace"],"ace/mode/json_worker","JsonWorker");return t.attachToDocument(e.getDocument()),t.on("annotate",(function(t){e.setAnnotations(t.data)})),t.on("terminate",(function(){e.clearAnnotations()})),t},this.$id="ace/mode/json"}.call(c.prototype),t.Mode=c})),ace.require(["ace/mode/json"],(function(t){e&&(e.exports=t)}))},8689:(e,t,r)=>{e=r.nmd(e),ace.define("ace/theme/chrome-css",["require","exports","module"],(function(e,t,r){r.exports='.ace-chrome .ace_gutter {\n background: #ebebeb;\n color: #333;\n overflow : hidden;\n}\n\n.ace-chrome .ace_print-margin {\n width: 1px;\n background: #e8e8e8;\n}\n\n.ace-chrome {\n background-color: #FFFFFF;\n color: black;\n}\n\n.ace-chrome .ace_cursor {\n color: black;\n}\n\n.ace-chrome .ace_invisible {\n color: rgb(191, 191, 191);\n}\n\n.ace-chrome .ace_constant.ace_buildin {\n color: rgb(88, 72, 246);\n}\n\n.ace-chrome .ace_constant.ace_language {\n color: rgb(88, 92, 246);\n}\n\n.ace-chrome .ace_constant.ace_library {\n color: rgb(6, 150, 14);\n}\n\n.ace-chrome .ace_invalid {\n background-color: rgb(153, 0, 0);\n color: white;\n}\n\n.ace-chrome .ace_fold {\n}\n\n.ace-chrome .ace_support.ace_function {\n color: rgb(60, 76, 114);\n}\n\n.ace-chrome .ace_support.ace_constant {\n color: rgb(6, 150, 14);\n}\n\n.ace-chrome .ace_support.ace_type,\n.ace-chrome .ace_support.ace_class\n.ace-chrome .ace_support.ace_other {\n color: rgb(109, 121, 222);\n}\n\n.ace-chrome .ace_variable.ace_parameter {\n font-style:italic;\n color:#FD971F;\n}\n.ace-chrome .ace_keyword.ace_operator {\n color: rgb(104, 118, 135);\n}\n\n.ace-chrome .ace_comment {\n color: #236e24;\n}\n\n.ace-chrome .ace_comment.ace_doc {\n color: #236e24;\n}\n\n.ace-chrome .ace_comment.ace_doc.ace_tag {\n color: #236e24;\n}\n\n.ace-chrome .ace_constant.ace_numeric {\n color: rgb(0, 0, 205);\n}\n\n.ace-chrome .ace_variable {\n color: rgb(49, 132, 149);\n}\n\n.ace-chrome .ace_xml-pe {\n color: rgb(104, 104, 91);\n}\n\n.ace-chrome .ace_entity.ace_name.ace_function {\n color: #0000A2;\n}\n\n\n.ace-chrome .ace_heading {\n color: rgb(12, 7, 255);\n}\n\n.ace-chrome .ace_list {\n color:rgb(185, 6, 144);\n}\n\n.ace-chrome .ace_marker-layer .ace_selection {\n background: rgb(181, 213, 255);\n}\n\n.ace-chrome .ace_marker-layer .ace_step {\n background: rgb(252, 255, 0);\n}\n\n.ace-chrome .ace_marker-layer .ace_stack {\n background: rgb(164, 229, 101);\n}\n\n.ace-chrome .ace_marker-layer .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid rgb(192, 192, 192);\n}\n\n.ace-chrome .ace_marker-layer .ace_active-line {\n background: rgba(0, 0, 0, 0.07);\n}\n\n.ace-chrome .ace_gutter-active-line {\n background-color : #dcdcdc;\n}\n\n.ace-chrome .ace_marker-layer .ace_selected-word {\n background: rgb(250, 250, 255);\n border: 1px solid rgb(200, 200, 250);\n}\n\n.ace-chrome .ace_storage,\n.ace-chrome .ace_keyword,\n.ace-chrome .ace_meta.ace_tag {\n color: rgb(147, 15, 128);\n}\n\n.ace-chrome .ace_string.ace_regex {\n color: rgb(255, 0, 0)\n}\n\n.ace-chrome .ace_string {\n color: #1A1AA6;\n}\n\n.ace-chrome .ace_entity.ace_other.ace_attribute-name {\n color: #994409;\n}\n\n.ace-chrome .ace_indent-guide {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAE0lEQVQImWP4////f4bLly//BwAmVgd1/w11/gAAAABJRU5ErkJggg==") right repeat-y;\n}\n \n.ace-chrome .ace_indent-guide-active {\n background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAAAZSURBVHjaYvj///9/hivKyv8BAAAA//8DACLqBhbvk+/eAAAAAElFTkSuQmCC") right repeat-y;\n}\n'})),ace.define("ace/theme/chrome",["require","exports","module","ace/theme/chrome-css","ace/lib/dom"],(function(e,t,r){t.isDark=!1,t.cssClass="ace-chrome",t.cssText=e("./chrome-css"),e("../lib/dom").importCssString(t.cssText,t.cssClass,!1)})),ace.require(["ace/theme/chrome"],(function(t){e&&(e.exports=t)}))},8536:(e,t,r)=>{e=r.nmd(e),ace.define("ace/theme/clouds_midnight-css",["require","exports","module"],(function(e,t,r){r.exports=".ace-clouds-midnight .ace_gutter {\n background: #232323;\n color: #929292\n}\n\n.ace-clouds-midnight .ace_print-margin {\n width: 1px;\n background: #232323\n}\n\n.ace-clouds-midnight {\n background-color: #191919;\n color: #929292\n}\n\n.ace-clouds-midnight .ace_cursor {\n color: #7DA5DC\n}\n\n.ace-clouds-midnight .ace_marker-layer .ace_selection {\n background: #000000\n}\n\n.ace-clouds-midnight.ace_multiselect .ace_selection.ace_start {\n box-shadow: 0 0 3px 0px #191919;\n}\n\n.ace-clouds-midnight .ace_marker-layer .ace_step {\n background: rgb(102, 82, 0)\n}\n\n.ace-clouds-midnight .ace_marker-layer .ace_bracket {\n margin: -1px 0 0 -1px;\n border: 1px solid #BFBFBF\n}\n\n.ace-clouds-midnight .ace_marker-layer .ace_active-line {\n background: rgba(215, 215, 215, 0.031)\n}\n\n.ace-clouds-midnight .ace_gutter-active-line {\n background-color: rgba(215, 215, 215, 0.031)\n}\n\n.ace-clouds-midnight .ace_marker-layer .ace_selected-word {\n border: 1px solid #000000\n}\n\n.ace-clouds-midnight .ace_invisible {\n color: #666\n}\n\n.ace-clouds-midnight .ace_keyword,\n.ace-clouds-midnight .ace_meta,\n.ace-clouds-midnight .ace_support.ace_constant.ace_property-value {\n color: #927C5D\n}\n\n.ace-clouds-midnight .ace_keyword.ace_operator {\n color: #4B4B4B\n}\n\n.ace-clouds-midnight .ace_keyword.ace_other.ace_unit {\n color: #366F1A\n}\n\n.ace-clouds-midnight .ace_constant.ace_language {\n color: #39946A\n}\n\n.ace-clouds-midnight .ace_constant.ace_numeric {\n color: #46A609\n}\n\n.ace-clouds-midnight .ace_constant.ace_character.ace_entity {\n color: #A165AC\n}\n\n.ace-clouds-midnight .ace_invalid {\n color: #FFFFFF;\n background-color: #E92E2E\n}\n\n.ace-clouds-midnight .ace_fold {\n background-color: #927C5D;\n border-color: #929292\n}\n\n.ace-clouds-midnight .ace_storage,\n.ace-clouds-midnight .ace_support.ace_class,\n.ace-clouds-midnight .ace_support.ace_function,\n.ace-clouds-midnight .ace_support.ace_other,\n.ace-clouds-midnight .ace_support.ace_type {\n color: #E92E2E\n}\n\n.ace-clouds-midnight .ace_string {\n color: #5D90CD\n}\n\n.ace-clouds-midnight .ace_comment {\n color: #3C403B\n}\n\n.ace-clouds-midnight .ace_entity.ace_name.ace_tag,\n.ace-clouds-midnight .ace_entity.ace_other.ace_attribute-name {\n color: #606060\n}\n\n.ace-clouds-midnight .ace_indent-guide {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQImWNgYGBgYHB3d/8PAAOIAdULw8qMAAAAAElFTkSuQmCC) right repeat-y\n}\n\n.ace-clouds-midnight .ace_indent-guide-active {\n background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAACCAYAAACZgbYnAAAAEklEQVQIW2PQ1dX9zzBz5sz/ABCcBFFentLlAAAAAElFTkSuQmCC) right repeat-y;\n}\n"})),ace.define("ace/theme/clouds_midnight",["require","exports","module","ace/theme/clouds_midnight-css","ace/lib/dom"],(function(e,t,r){t.isDark=!0,t.cssClass="ace-clouds-midnight",t.cssText=e("./clouds_midnight-css"),e("../lib/dom").importCssString(t.cssText,t.cssClass,!1)})),ace.require(["ace/theme/clouds_midnight"],(function(t){e&&(e.exports=t)}))},2272:function(){!function(e){if(("undefined"==typeof e.window||!e.document)&&(!e.require||!e.define)){e.console||(e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console),e.window=e,e.ace=e,e.onerror=function(e,t,r,n,o){postMessage({type:"error",data:{message:e,data:o&&o.data,file:t,line:r,col:n,stack:o&&o.stack}})},e.normalizeModule=function(t,r){if(-1!==r.indexOf("!")){var n=r.split("!");return e.normalizeModule(t,n[0])+"!"+e.normalizeModule(t,n[1])}if("."==r.charAt(0)){var o=t.split("/").slice(0,-1).join("/");for(r=(o?o+"/":"")+r;-1!==r.indexOf(".")&&i!=r;){var i=r;r=r.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return r},e.require=function(t,r){if(r||(r=t,t=null),!r.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");r=e.normalizeModule(t,r);var n=e.require.modules[r];if(n)return n.initialized||(n.initialized=!0,n.exports=n.factory().exports),n.exports;if(!e.require.tlns)return console.log("unable to load "+r);var o=function(e,t){for(var r=e,n="";r;){var o=t[r];if("string"==typeof o)return o+n;if(o)return o.location.replace(/\/*$/,"/")+(n||o.main||o.name);if(!1===o)return"";var i=r.lastIndexOf("/");if(-1===i)break;n=r.substr(i)+n,r=r.slice(0,i)}return e}(r,e.require.tlns);return".js"!=o.slice(-3)&&(o+=".js"),e.require.id=r,e.require.modules[r]={},importScripts(o),e.require(t,r)},e.require.modules={},e.require.tlns={},e.define=function(t,r,n){if(2==arguments.length?(n=r,"string"!=typeof t&&(r=t,t=e.require.id)):1==arguments.length&&(n=t,r=[],t=e.require.id),"function"==typeof n){r.length||(r=["require","exports","module"]);var o=function(r){return e.require(t,r)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=n.apply(this,r.slice(0,n.length).map((function(t){switch(t){case"require":return o;case"exports":return e.exports;case"module":return e;default:return o(t)}})));return t&&(e.exports=t),e}}}else e.require.modules[t]={exports:n,initialized:!0}},e.define.amd={},e.require.tlns={},e.initBaseUrls=function(e){for(var t in e)this.require.tlns[t]=e[t]},e.initSender=function(){var t=e.require("ace/lib/event_emitter").EventEmitter,r=e.require("ace/lib/oop"),n=function(){};return function(){r.implement(this,t),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(n.prototype),new n};var t=e.main=null,r=e.sender=null;e.onmessage=function(n){var o=n.data;if(o.event&&r)r._signal(o.event,o.data);else if(o.command)if(t[o.command])t[o.command].apply(t,o.args);else{if(!e[o.command])throw new Error("Unknown command:"+o.command);e[o.command].apply(e,o.args)}else if(o.init){e.initBaseUrls(o.tlns),r=e.sender=e.initSender();var i=this.require(o.module)[o.classname];t=e.main=new i(r)}}}}(this),ace.define("ace/lib/oop",[],(function(e,t,r){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var r in t)e[r]=t[r];return e},t.implement=function(e,r){t.mixin(e,r)}})),ace.define("ace/apply_delta",[],(function(e,t,r){"use strict";t.applyDelta=function(e,t,r){var n=t.start.row,o=t.start.column,i=e[n]||"";switch(t.action){case"insert":if(1===t.lines.length)e[n]=i.substring(0,o)+t.lines[0]+i.substring(o);else{var a=[n,1].concat(t.lines);e.splice.apply(e,a),e[n]=i.substring(0,o)+e[n],e[n+t.lines.length-1]+=i.substring(o)}break;case"remove":var s=t.end.column,l=t.end.row;n===l?e[n]=i.substring(0,o)+i.substring(s):e.splice(n,l-n+1,i.substring(0,o)+e[l].substring(s))}}})),ace.define("ace/lib/event_emitter",[],(function(e,t,r){"use strict";var n={},o=function(){this.propagationStopped=!0},i=function(){this.defaultPrevented=!0};n._emit=n._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var r=this._eventRegistry[e]||[],n=this._defaultHandlers[e];if(r.length||n){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=o),t.preventDefault||(t.preventDefault=i),r=r.slice();for(var a=0;a ["+this.end.row+"/"+this.end.column+"]"},e.prototype.contains=function(e,t){return 0==this.compare(e,t)},e.prototype.compareRange=function(e){var t,r=e.end,n=e.start;return 1==(t=this.compare(r.row,r.column))?1==(t=this.compare(n.row,n.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(n.row,n.column))?-1:1==t?42:0},e.prototype.comparePoint=function(e){return this.compare(e.row,e.column)},e.prototype.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},e.prototype.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},e.prototype.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},e.prototype.isStart=function(e,t){return this.start.row==e&&this.start.column==t},e.prototype.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},e.prototype.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},e.prototype.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},e.prototype.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},e.prototype.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},e.prototype.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},e.prototype.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},e.prototype.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.clipRows=function(t,r){if(this.end.row>r)var n={row:r+1,column:0};else if(this.end.rowr)var o={row:r+1,column:0};else if(this.start.rowthis.row)){var t=function(e,t,r){var o="insert"==e.action,i=(o?1:-1)*(e.end.row-e.start.row),a=(o?1:-1)*(e.end.column-e.start.column),s=e.start,l=o?s:e.end;return n(t,s,r)?{row:t.row,column:t.column}:n(l,t,!r)?{row:t.row+i,column:t.column+(t.row==l.row?a:0)}:{row:s.row,column:s.column}}(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(t.row,t.column,!0)}},e.prototype.setPosition=function(e,t,r){var n;if(n=r?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var o={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:o,value:n})}},e.prototype.detach=function(){this.document.off("change",this.$onChange)},e.prototype.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},e.prototype.$clipPositionToDocument=function(e,t){var r={};return e>=this.document.getLength()?(r.row=Math.max(0,this.document.getLength()-1),r.column=this.document.getLine(r.row).length):e<0?(r.row=0,r.column=0):(r.row=e,r.column=Math.min(this.document.getLine(r.row).length,Math.max(0,t))),t<0&&(r.column=0),r},e}();a.prototype.$insertRight=!1,o.implement(a.prototype,i),t.Anchor=a})),ace.define("ace/document",[],(function(e,t,r){"use strict";var n=e("./lib/oop"),o=e("./apply_delta").applyDelta,i=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=e("./anchor").Anchor,l=function(){function e(e){this.$lines=[""],0===e.length?this.$lines=[""]:Array.isArray(e)?this.insertMergedLines({row:0,column:0},e):this.insert({row:0,column:0},e)}return e.prototype.setValue=function(e){var t=this.getLength()-1;this.remove(new a(0,0,t,this.getLine(t).length)),this.insert({row:0,column:0},e||"")},e.prototype.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},e.prototype.createAnchor=function(e,t){return new s(this,e,t)},e.prototype.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},e.prototype.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},e.prototype.setNewLineMode=function(e){this.$newLineMode!==e&&(this.$newLineMode=e,this._signal("changeNewLineMode"))},e.prototype.getNewLineMode=function(){return this.$newLineMode},e.prototype.isNewLine=function(e){return"\r\n"==e||"\r"==e||"\n"==e},e.prototype.getLine=function(e){return this.$lines[e]||""},e.prototype.getLines=function(e,t){return this.$lines.slice(e,t+1)},e.prototype.getAllLines=function(){return this.getLines(0,this.getLength())},e.prototype.getLength=function(){return this.$lines.length},e.prototype.getTextRange=function(e){return this.getLinesForRange(e).join(this.getNewLineCharacter())},e.prototype.getLinesForRange=function(e){var t;if(e.start.row===e.end.row)t=[this.getLine(e.start.row).substring(e.start.column,e.end.column)];else{(t=this.getLines(e.start.row,e.end.row))[0]=(t[0]||"").substring(e.start.column);var r=t.length-1;e.end.row-e.start.row==r&&(t[r]=t[r].substring(0,e.end.column))}return t},e.prototype.insertLines=function(e,t){return console.warn("Use of document.insertLines is deprecated. Use the insertFullLines method instead."),this.insertFullLines(e,t)},e.prototype.removeLines=function(e,t){return console.warn("Use of document.removeLines is deprecated. Use the removeFullLines method instead."),this.removeFullLines(e,t)},e.prototype.insertNewLine=function(e){return console.warn("Use of document.insertNewLine is deprecated. Use insertMergedLines(position, ['', '']) instead."),this.insertMergedLines(e,["",""])},e.prototype.insert=function(e,t){return this.getLength()<=1&&this.$detectNewLine(t),this.insertMergedLines(e,this.$split(t))},e.prototype.insertInLine=function(e,t){var r=this.clippedPos(e.row,e.column),n=this.pos(e.row,e.column+t.length);return this.applyDelta({start:r,end:n,action:"insert",lines:[t]},!0),this.clonePos(n)},e.prototype.clippedPos=function(e,t){var r=this.getLength();void 0===e?e=r:e<0?e=0:e>=r&&(e=r-1,t=void 0);var n=this.getLine(e);return void 0==t&&(t=n.length),{row:e,column:t=Math.min(Math.max(t,0),n.length)}},e.prototype.clonePos=function(e){return{row:e.row,column:e.column}},e.prototype.pos=function(e,t){return{row:e,column:t}},e.prototype.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},e.prototype.insertFullLines=function(e,t){var r=0;(e=Math.min(Math.max(e,0),this.getLength()))0,n=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},e.prototype.replace=function(e,t){return e instanceof a||(e=a.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},e.prototype.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},e.prototype.applyDelta=function(e,t){var r="insert"==e.action;(r?e.lines.length<=1&&!e.lines[0]:!a.comparePoints(e.start,e.end))||(r&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(o(this.$lines,e,t),this._signal("change",e)))},e.prototype.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row0;)1&t&&(r+=e),(t>>=1)&&(e+=e);return r};var n=/^\s\s*/,o=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(n,"")},t.stringTrimRight=function(e){return e.replace(o,"")},t.copyObject=function(e){var t={};for(var r in e)t[r]=e[r];return t},t.copyArray=function(e){for(var t=[],r=0,n=e.length;r65535?2:1}})),ace.define("ace/worker/mirror",[],(function(e,t,r){"use strict";var n=e("../document").Document,o=e("../lib/lang"),i=t.Mirror=function(e){this.sender=e;var t=this.doc=new n(""),r=this.deferredUpdate=o.delayedCall(this.onUpdate.bind(this)),i=this;e.on("change",(function(e){var n=e.data;if(n[0].start)t.applyDeltas(n);else for(var o=0;o=t.$lines.length)throw(s=new Error("Invalid delta")).data={path:i.$path,linesLength:t.$lines.length,start:a.start,end:a.end},s;t.applyDelta(a,!0)}if(i.$timeout)return r.schedule(i.$timeout);i.onUpdate()}))};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(i.prototype)})),ace.define("ace/mode/json/json_parse",[],(function(e,t,r){"use strict";var n,o,i,a,s={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},l=function(e){throw{name:"SyntaxError",message:e,at:n,text:i}},c=function(e){return e&&e!==o&&l("Expected '"+e+"' instead of '"+o+"'"),o=i.charAt(n),n+=1,o},u=function(){var e,t="";for("-"===o&&(t="-",c("-"));o>="0"&&o<="9";)t+=o,c();if("."===o)for(t+=".";c()&&o>="0"&&o<="9";)t+=o;if("e"===o||"E"===o)for(t+=o,c(),"-"!==o&&"+"!==o||(t+=o,c());o>="0"&&o<="9";)t+=o,c();if(e=+t,!isNaN(e))return e;l("Bad number")},d=function(){var e,t,r,n="";if('"'===o)for(;c();){if('"'===o)return c(),n;if("\\"===o)if(c(),"u"===o){for(r=0,t=0;t<4&&(e=parseInt(c(),16),isFinite(e));t+=1)r=16*r+e;n+=String.fromCharCode(r)}else{if("string"!=typeof s[o])break;n+=s[o]}else{if("\n"==o||"\r"==o)break;n+=o}}l("Bad string")},p=function(){for(;o&&o<=" ";)c()};return a=function(){switch(p(),o){case"{":return function(){var e,t={};if("{"===o){if(c("{"),p(),"}"===o)return c("}"),t;for(;o;){if(e=d(),p(),c(":"),Object.hasOwnProperty.call(t,e)&&l('Duplicate key "'+e+'"'),t[e]=a(),p(),"}"===o)return c("}"),t;c(","),p()}}l("Bad object")}();case"[":return function(){var e=[];if("["===o){if(c("["),p(),"]"===o)return c("]"),e;for(;o;){if(e.push(a()),p(),"]"===o)return c("]"),e;c(","),p()}}l("Bad array")}();case'"':return d();case"-":return u();default:return o>="0"&&o<="9"?u():function(){switch(o){case"t":return c("t"),c("r"),c("u"),c("e"),!0;case"f":return c("f"),c("a"),c("l"),c("s"),c("e"),!1;case"n":return c("n"),c("u"),c("l"),c("l"),null}l("Unexpected '"+o+"'")}()}},function(e,t){var r;return i=e,n=0,o=" ",r=a(),p(),o&&l("Syntax error"),"function"==typeof t?function e(r,n){var o,i,a=r[n];if(a&&"object"==typeof a)for(o in a)Object.hasOwnProperty.call(a,o)&&(void 0!==(i=e(a,o))?a[o]=i:delete a[o]);return t.call(r,n,a)}({"":r},""):r}})),ace.define("ace/mode/json_worker",[],(function(e,t,r){"use strict";var n=e("../lib/oop"),o=e("../worker/mirror").Mirror,i=e("./json/json_parse"),a=t.JsonWorker=function(e){o.call(this,e),this.setTimeout(200)};n.inherits(a,o),function(){this.onUpdate=function(){var e=this.doc.getValue(),t=[];try{e&&i(e)}catch(r){var n=this.doc.indexToPosition(r.at-1);t.push({row:n.row,column:n.column,text:r.message,type:"error"})}this.sender.emit("annotate",t)}}.call(a.prototype)}))},6603:(e,t,r)=>{e=r.nmd(e),function(){var e=function(){return this}();e||"undefined"==typeof window||(e=window);var t=function(e,r,n){"string"===typeof e?(2==arguments.length&&(n=r),t.modules[e]||(t.payloads[e]=n,t.modules[e]=null)):t.original?t.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace())};t.modules={},t.payloads={};var r=function(e,t,r){if("string"===typeof t){var o=i(e,t);if(void 0!=o)return r&&r(),o}else if("[object Array]"===Object.prototype.toString.call(t)){for(var a=[],s=0,l=t.length;sr.length)&&(t=r.length),t-=e.length;var n=r.indexOf(e,t);return-1!==n&&n===t})),String.prototype.repeat||n(String.prototype,"repeat",(function(e){for(var t="",r=this;e>0;)1&e&&(t+=r),(e>>=1)&&(r+=r);return t})),String.prototype.includes||n(String.prototype,"includes",(function(e,t){return-1!=this.indexOf(e,t)})),Object.assign||(Object.assign=function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r>>0,n=arguments[1]|0,o=n<0?Math.max(r+n,0):Math.min(n,r),i=arguments[2],a=void 0===i?r:i|0,s=a<0?Math.max(r+a,0):Math.min(a,r);o0;)1&t&&(r+=e),(t>>=1)&&(e+=e);return r};var n=/^\s\s*/,o=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(n,"")},t.stringTrimRight=function(e){return e.replace(o,"")},t.copyObject=function(e){var t={};for(var r in e)t[r]=e[r];return t},t.copyArray=function(e){for(var t=[],r=0,n=e.length;r65535?2:1}})),ace.define("ace/lib/useragent",["require","exports","module"],(function(e,t,r){"use strict";t.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},t.getOS=function(){return t.isMac?t.OS.MAC:t.isLinux?t.OS.LINUX:t.OS.WINDOWS};var n="object"==typeof navigator?navigator:{},o=(/mac|win|linux/i.exec(n.platform)||["other"])[0].toLowerCase(),i=n.userAgent||"",a=n.appName||"";t.isWin="win"==o,t.isMac="mac"==o,t.isLinux="linux"==o,t.isIE="Microsoft Internet Explorer"==a||a.indexOf("MSAppHost")>=0?parseFloat((i.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((i.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),t.isOldIE=t.isIE&&t.isIE<9,t.isGecko=t.isMozilla=i.match(/ Gecko\/\d+/),t.isOpera="object"==typeof opera&&"[object Opera]"==Object.prototype.toString.call(window.opera),t.isWebKit=parseFloat(i.split("WebKit/")[1])||void 0,t.isChrome=parseFloat(i.split(" Chrome/")[1])||void 0,t.isSafari=parseFloat(i.split(" Safari/")[1])&&!t.isChrome||void 0,t.isEdge=parseFloat(i.split(" Edge/")[1])||void 0,t.isAIR=i.indexOf("AdobeAIR")>=0,t.isAndroid=i.indexOf("Android")>=0,t.isChromeOS=i.indexOf(" CrOS ")>=0,t.isIOS=/iPad|iPhone|iPod/.test(i)&&!window.MSStream,t.isIOS&&(t.isMac=!0),t.isMobile=t.isIOS||t.isAndroid})),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],(function(e,t,r){"use strict";var n,o=e("./useragent");t.buildDom=function e(t,r,n){if("string"==typeof t&&t){var o=document.createTextNode(t);return r&&r.appendChild(o),o}if(!Array.isArray(t))return t&&t.appendChild&&r&&r.appendChild(t),t;if("string"!=typeof t[0]||!t[0]){for(var i=[],a=0;a=1.5,o.isChromeOS&&(t.HI_DPI=!1),"undefined"!==typeof document){var l=document.createElement("div");t.HI_DPI&&void 0!==l.style.transform&&(t.HAS_CSS_TRANSFORMS=!0),o.isEdge||"undefined"===typeof l.style.animationName||(t.HAS_CSS_ANIMATION=!0),l=null}t.HAS_CSS_TRANSFORMS?t.translate=function(e,t,r){e.style.transform="translate("+Math.round(t)+"px, "+Math.round(r)+"px)"}:t.translate=function(e,t,r){e.style.top=Math.round(r)+"px",e.style.left=Math.round(t)+"px"}})),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],(function(e,t,r){"use strict";var n=e("./dom");t.get=function(e,t){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onreadystatechange=function(){4===r.readyState&&t(r.responseText)},r.send(null)},t.loadScript=function(e,t){var r=n.getDocumentHead(),o=document.createElement("script");o.src=e,r.appendChild(o),o.onload=o.onreadystatechange=function(e,r){!r&&o.readyState&&"loaded"!=o.readyState&&"complete"!=o.readyState||(o=o.onload=o.onreadystatechange=null,r||t())}},t.qualifyURL=function(e){var t=document.createElement("a");return t.href=e,t.href}})),ace.define("ace/lib/oop",["require","exports","module"],(function(e,t,r){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var r in t)e[r]=t[r];return e},t.implement=function(e,r){t.mixin(e,r)}})),ace.define("ace/lib/event_emitter",["require","exports","module"],(function(e,t,r){"use strict";var n={},o=function(){this.propagationStopped=!0},i=function(){this.defaultPrevented=!0};n._emit=n._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var r=this._eventRegistry[e]||[],n=this._defaultHandlers[e];if(r.length||n){"object"==typeof t&&t||(t={}),t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=o),t.preventDefault||(t.preventDefault=i),r=r.slice();for(var a=0;a1&&(o=r[r.length-2]);var a=s[t+"Path"];return null==a?a=s.basePath:"/"==n&&(t=n=""),a&&"/"!=a.slice(-1)&&(a+="/"),a+t+n+o+this.get("suffix")},t.setModuleUrl=function(e,t){return s.$moduleUrls[e]=t};var l;t.setLoader=function(e){l=e},t.dynamicModules=Object.create(null),t.$loading={},t.$loaded={},t.loadModule=function(r,n){var i;if(Array.isArray(r))var a=r[0],s=r[1];else if("string"==typeof r)s=r;var u=function(r){if(r&&!t.$loading[s])return n&&n(r);if(t.$loading[s]||(t.$loading[s]=[]),t.$loading[s].push(n),!(t.$loading[s].length>1)){var i=function(){!function(t,r){"ace/theme/textmate"===t||"./theme/textmate"===t?r(null,e("./theme/textmate")):l?l(t,r):console.error("loader is not configured")}(s,(function(e,r){r&&(t.$loaded[s]=r),t._emit("load.module",{name:s,module:r});var n=t.$loading[s];t.$loading[s]=null,n.forEach((function(e){e&&e(r)}))}))};if(!t.get("packaged"))return i();o.loadScript(t.moduleUrl(s,a),i),c()}};if(t.dynamicModules[s])t.dynamicModules[s]().then((function(e){e.default?u(e.default):u(e)}));else{try{i=this.$require(s)}catch(d){}u(i||t.$loaded[s])}},t.$require=function(e){if("function"==typeof r.require){return r.require(e)}},t.setModuleLoader=function(e,r){t.dynamicModules[e]=r};var c=function(){s.basePath||s.workerPath||s.modePath||s.themePath||Object.keys(s.$moduleUrls).length||(console.error("Unable to infer path to ace from script src,","use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes","or with webpack use ace/webpack-resolver"),c=function(){})};t.version="1.36.2"})),ace.define("ace/loader_build",["require","exports","module","ace/lib/fixoldbrowsers","ace/config"],(function(e,t,n){"use strict";e("./lib/fixoldbrowsers");var o=e("./config");o.setLoader((function(t,r){e([t],(function(e){r(null,e)}))}));var i=function(){return this||"undefined"!=typeof window&&window}();function a(t){if(i&&i.document){o.set("packaged",t||e.packaged||n.packaged||i.define&&r.amdD.packaged);var a={},s="",l=document.currentScript||document._currentScript,c=l&&l.ownerDocument||document;l&&l.src&&(s=l.src.split(/[?#]/)[0].split("/").slice(0,-1).join("/")||"");for(var u,d=c.getElementsByTagName("script"),p=0;p ["+this.end.row+"/"+this.end.column+"]"},e.prototype.contains=function(e,t){return 0==this.compare(e,t)},e.prototype.compareRange=function(e){var t,r=e.end,n=e.start;return 1==(t=this.compare(r.row,r.column))?1==(t=this.compare(n.row,n.column))?2:0==t?1:0:-1==t?-2:-1==(t=this.compare(n.row,n.column))?-1:1==t?42:0},e.prototype.comparePoint=function(e){return this.compare(e.row,e.column)},e.prototype.containsRange=function(e){return 0==this.comparePoint(e.start)&&0==this.comparePoint(e.end)},e.prototype.intersects=function(e){var t=this.compareRange(e);return-1==t||0==t||1==t},e.prototype.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},e.prototype.isStart=function(e,t){return this.start.row==e&&this.start.column==t},e.prototype.setStart=function(e,t){"object"==typeof e?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},e.prototype.setEnd=function(e,t){"object"==typeof e?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},e.prototype.inside=function(e,t){return 0==this.compare(e,t)&&(!this.isEnd(e,t)&&!this.isStart(e,t))},e.prototype.insideStart=function(e,t){return 0==this.compare(e,t)&&!this.isEnd(e,t)},e.prototype.insideEnd=function(e,t){return 0==this.compare(e,t)&&!this.isStart(e,t)},e.prototype.compare=function(e,t){return this.isMultiLine()||e!==this.start.row?ethis.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0:tthis.end.column?1:0},e.prototype.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},e.prototype.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},e.prototype.clipRows=function(t,r){if(this.end.row>r)var n={row:r+1,column:0};else if(this.end.rowr)var o={row:r+1,column:0};else if(this.start.row1?++d>4&&(d=1):d=1,i.isIE){var a=Math.abs(e.clientX-s)>5||Math.abs(e.clientY-l)>5;c&&!a||(d=1),c&&clearTimeout(c),c=setTimeout((function(){c=null}),r[d-1]||600),1==d&&(s=e.clientX,l=e.clientY)}if(e._clicks=d,n[o]("mousedown",e),d>4)d=0;else if(d>1)return n[o](p[d],e)}Array.isArray(e)||(e=[e]),e.forEach((function(e){u(e,"mousedown",h,a)}))},t.getModifierString=function(e){return o.KEY_MODS[p(e)]},t.addCommandKeyListener=function(e,r,n){var l=null;u(e,"keydown",(function(e){a[e.keyCode]=(a[e.keyCode]||0)+1;var t=function(e,t,r){var n=p(t);if(!r&&t.code&&(r=o.$codeToKeyCode[t.code]||r),!i.isMac&&a){if(t.getModifierState&&(t.getModifierState("OS")||t.getModifierState("Win"))&&(n|=8),a.altGr){if(3==(3&n))return;a.altGr=0}if(18===r||17===r){var l=t.location;17===r&&1===l?1==a[r]&&(s=t.timeStamp):18===r&&3===n&&2===l&&t.timeStamp-s<50&&(a.altGr=!0)}}if(r in o.MODIFIER_KEYS&&(r=-1),n||13!==r||3!==t.location||(e(t,n,-r),!t.defaultPrevented)){if(i.isChromeOS&&8&n){if(e(t,n,r),t.defaultPrevented)return;n&=-9}return!!(n||r in o.FUNCTION_KEYS||r in o.PRINTABLE_KEYS)&&e(t,n,r)}}(r,e,e.keyCode);return l=e.defaultPrevented,t}),n),u(e,"keypress",(function(e){l&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey)&&(t.stopEvent(e),l=null)}),n),u(e,"keyup",(function(e){a[e.keyCode]=null}),n),a||(h(),u(window,"focus",h))},"object"==typeof window&&window.postMessage&&!i.isOldIE){var f=1;t.nextTick=function(e,r){r=r||window;var n="zero-timeout-message-"+f++,o=function(i){i.data==n&&(t.stopPropagation(i),d(r,"message",o),e())};u(r,"message",o),r.postMessage(n,"*")}}t.$idleBlocked=!1,t.onIdle=function(e,r){return setTimeout((function r(){t.$idleBlocked?setTimeout(r,100):e()}),r)},t.$idleBlockId=null,t.blockIdle=function(e){t.$idleBlockId&&clearTimeout(t.$idleBlockId),t.$idleBlocked=!0,t.$idleBlockId=setTimeout((function(){t.$idleBlocked=!1}),e||100)},t.nextFrame="object"==typeof window&&(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame),t.nextFrame?t.nextFrame=t.nextFrame.bind(window):t.nextFrame=function(e){setTimeout(e,17)}})),ace.define("ace/clipboard",["require","exports","module"],(function(e,t,r){"use strict";var n;r.exports={lineMode:!1,pasteCancelled:function(){return!!(n&&n>Date.now()-50)||(n=!1)},cancel:function(){n=Date.now()}}})),ace.define("ace/keyboard/textinput",["require","exports","module","ace/lib/event","ace/config","ace/lib/useragent","ace/lib/dom","ace/lib/lang","ace/clipboard","ace/lib/keys"],(function(e,t,r){"use strict";var n,o=e("../lib/event"),i=e("../config").nls,a=e("../lib/useragent"),s=e("../lib/dom"),l=e("../lib/lang"),c=e("../clipboard"),u=a.isChrome<18,d=a.isIE,p=a.isChrome>63,h=400,f=e("../lib/keys"),m=f.KEY_MODS,g=a.isIOS,y=g?/\s/:/\n/,v=a.isMobile;n=function(e,t){var r=s.createElement("textarea");r.className="ace_text-input",r.setAttribute("wrap","off"),r.setAttribute("autocorrect","off"),r.setAttribute("autocapitalize","off"),r.setAttribute("spellcheck","false"),r.style.opacity="0",e.insertBefore(r,e.firstChild);var n=!1,b=!1,w=!1,_=!1,x="";v||(r.style.fontSize="1px");var k=!1,S=!1,C="",E=0,D=0,A=0,T=Number.MAX_SAFE_INTEGER,M=Number.MIN_SAFE_INTEGER,O=0;try{var R=document.activeElement===r}catch(J){}this.setNumberOfExtraLines=function(e){T=Number.MAX_SAFE_INTEGER,M=Number.MIN_SAFE_INTEGER,O=e<0?0:e},this.setAriaOptions=function(e){if(e.activeDescendant?(r.setAttribute("aria-haspopup","true"),r.setAttribute("aria-autocomplete",e.inline?"both":"list"),r.setAttribute("aria-activedescendant",e.activeDescendant)):(r.setAttribute("aria-haspopup","false"),r.setAttribute("aria-autocomplete","both"),r.removeAttribute("aria-activedescendant")),e.role&&r.setAttribute("role",e.role),e.setLabel){r.setAttribute("aria-roledescription",i("text-input.aria-roledescription","editor"));var n="";if(t.$textInputAriaLabel&&(n+="".concat(t.$textInputAriaLabel,", ")),t.session){var o=t.session.selection.cursor.row;n+=i("text-input.aria-label","Cursor at row $0",[o+1])}r.setAttribute("aria-label",n)}},this.setAriaOptions({role:"textbox"}),o.addListener(r,"blur",(function(e){S||(t.onBlur(e),R=!1)}),t),o.addListener(r,"focus",(function(e){if(!S){if(R=!0,a.isEdge)try{if(!document.hasFocus())return}catch(e){}t.onFocus(e),a.isEdge?setTimeout(N):N()}}),t),this.$focusScroll=!1,this.focus=function(){if(this.setAriaOptions({setLabel:t.renderer.enableKeyboardAccessibility}),x||p||"browser"==this.$focusScroll)return r.focus({preventScroll:!0});var e=r.style.top;r.style.position="fixed",r.style.top="0px";try{var n=0!=r.getBoundingClientRect().top}catch(J){return}var o=[];if(n)for(var i=r.parentElement;i&&1==i.nodeType;)o.push(i),i.setAttribute("ace_nocontext","true"),i=!i.parentElement&&i.getRootNode?i.getRootNode().host:i.parentElement;r.focus({preventScroll:!0}),n&&o.forEach((function(e){e.removeAttribute("ace_nocontext")})),setTimeout((function(){r.style.position="","0px"==r.style.top&&(r.style.top=e)}),0)},this.blur=function(){r.blur()},this.isFocused=function(){return R},t.on("beforeEndOperation",(function(){var e=t.curOp,n=e&&e.command&&e.command.name;if("insertstring"!=n){var o=n&&(e.docChanged||e.selectionChanged);w&&o&&(C=r.value="",U()),N()}}));var L=function(e,r){for(var n=r,o=1;o<=e-T&&o<2*O+1;o++)n+=t.session.getLine(e-o).length+1;return n},N=g?function(e){if(R&&(!n||e)&&!_){e||(e="");var o="\n ab"+e+"cde fg\n";o!=r.value&&(r.value=C=o);var i=4+(e.length||(t.selection.isEmpty()?0:1));4==E&&D==i||r.setSelectionRange(4,i),E=4,D=i}}:function(){if(!w&&!_&&(R||I)){w=!0;var e=0,n=0,o="";if(t.session){var i=t.selection,a=i.getRange(),s=i.cursor.row;s===M+1?M=(T=M+1)+2*O:s===T-1?T=(M=T-1)-2*O:(sM+1)&&(T=s>O?s-O:0,M=s>O?s+O:2*O);for(var l=[],c=T;c<=M;c++)l.push(t.session.getLine(c));if(o=l.join("\n"),e=L(a.start.row,a.start.column),n=L(a.end.row,a.end.column),a.start.rowM){var d=t.session.getLine(M+1);n=a.end.row>M+1?d.length:a.end.column,n+=o.length+1,o=o+"\n"+d}else v&&s>0&&(o="\n"+o,n+=1,e+=1);o.length>h&&(e0&&C[p]==e[p];)p++,s--;for(c=c.slice(p),p=1;l>0&&C.length-p>E-1&&C[C.length-p]==e[e.length-p];)p++,l--;u-=p-1,d-=p-1;var h=c.length-p+1;if(h<0&&(s=-h,h=0),c=c.slice(0,h),!n&&!c&&!u&&!s&&!l&&!d)return"";_=!0;var f=!1;return a.isAndroid&&". "==c&&(c=" ",f=!0),c&&!s&&!l&&!u&&!d||k?t.onTextInput(c):t.onTextInput(c,{extendLeft:s,extendRight:l,restoreStart:u,restoreEnd:d}),_=!1,C=e,E=o,D=i,A=d,f?"\n":c},$=function(e){if(w)return V();if(e&&e.inputType){if("historyUndo"==e.inputType)return t.execCommand("undo");if("historyRedo"==e.inputType)return t.execCommand("redo")}var n=r.value,o=F(n,!0);(n.length>500||y.test(o)||v&&E<1&&E==D)&&N()},P=function(e,t,r){var n=e.clipboardData||window.clipboardData;if(n&&!u){var o=d||r?"Text":"text/plain";try{return t?!1!==n.setData(o,t):n.getData(o)}catch(e){if(!r)return P(e,t,!0)}}},B=function(e,i){var a=t.getCopyText();if(!a)return o.preventDefault(e);P(e,a)?(g&&(N(a),n=a,setTimeout((function(){n=!1}),10)),i?t.onCut():t.onCopy(),o.preventDefault(e)):(n=!0,r.value=a,r.select(),setTimeout((function(){n=!1,N(),i?t.onCut():t.onCopy()})))},z=function(e){B(e,!0)},W=function(e){B(e,!1)},H=function(e){var n=P(e);c.pasteCancelled()||("string"==typeof n?(n&&t.onPaste(n,e),a.isIE&&setTimeout(N),o.preventDefault(e)):(r.value="",b=!0))};o.addCommandKeyListener(r,(function(e,r,n){if(!w)return t.onCommandKey(e,r,n)}),t),o.addListener(r,"select",(function(e){w||(n?n=!1:!function(e){return 0===e.selectionStart&&e.selectionEnd>=C.length&&e.value===C&&C&&e.selectionEnd!==D}(r)?v&&r.selectionStart!=E&&N():(t.selectAll(),N()))}),t),o.addListener(r,"input",$,t),o.addListener(r,"cut",z,t),o.addListener(r,"copy",W,t),o.addListener(r,"paste",H,t),"oncut"in r&&"oncopy"in r&&"onpaste"in r||o.addListener(e,"keydown",(function(e){if((!a.isMac||e.metaKey)&&e.ctrlKey)switch(e.keyCode){case 67:W(e);break;case 86:H(e);break;case 88:z(e)}}),t);var V=function(){if(w&&t.onCompositionUpdate&&!t.$readOnly){if(k)return G();if(w.useTextareaForIME)t.onCompositionUpdate(r.value);else{var e=r.value;F(e),w.markerRange&&(w.context&&(w.markerRange.start.column=w.selectionStart=w.context.compositionStartOffset),w.markerRange.end.column=w.markerRange.start.column+D-w.selectionStart+A)}}},U=function(e){t.onCompositionEnd&&!t.$readOnly&&(w=!1,t.onCompositionEnd(),t.off("mousedown",G),e&&$())};function G(){S=!0,r.blur(),r.focus(),S=!1}var X,q=l.delayedCall(V,50).schedule.bind(null,null);function K(){clearTimeout(X),X=setTimeout((function(){x&&(r.style.cssText=x,x=""),t.renderer.$isMousePressed=!1,t.renderer.$keepTextAreaAtCursor&&t.renderer.$moveTextAreaToCursor()}),0)}o.addListener(r,"compositionstart",(function(e){if(!w&&t.onCompositionStart&&!t.$readOnly&&(w={},!k)){e.data&&(w.useTextareaForIME=!1),setTimeout(V,0),t._signal("compositionStart"),t.on("mousedown",G);var n=t.getSelectionRange();n.end.row=n.start.row,n.end.column=n.start.column,w.markerRange=n,w.selectionStart=E,t.onCompositionStart(w),w.useTextareaForIME?(C=r.value="",E=0,D=0):(r.msGetInputContext&&(w.context=r.msGetInputContext()),r.getInputContext&&(w.context=r.getInputContext()))}}),t),o.addListener(r,"compositionupdate",V,t),o.addListener(r,"keyup",(function(e){27==e.keyCode&&r.value.lengthD&&"\n"==C[a]?s=f.end:oD&&C.slice(0,a).split("\n").length>2?s=f.down:a>D&&" "==C[a-1]?(s=f.right,l=m.option):(a>D||a==D&&D!=E&&o==a)&&(s=f.right),o!==a&&(l|=m.shift),s){if(!t.onCommandKey({},l,s)&&t.commands){s=f.keyCodeToString(s);var c=t.commands.findKeyCommand(l,s);c&&t.execCommand(c)}E=o,D=a,N("")}}};document.addEventListener("selectionchange",a),t.on("destroy",(function(){document.removeEventListener("selectionchange",a)}))}(0,t,r),this.destroy=function(){r.parentElement&&r.parentElement.removeChild(r)}},t.TextInput=n,t.$setUserAgentForTests=function(e,t){v=e,g=t}})),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],(function(e,t,r){"use strict";var n=e("../lib/useragent"),o=function(){function e(e){e.$clickSelection=null;var t=e.editor;t.setDefaultHandler("mousedown",this.onMouseDown.bind(e)),t.setDefaultHandler("dblclick",this.onDoubleClick.bind(e)),t.setDefaultHandler("tripleclick",this.onTripleClick.bind(e)),t.setDefaultHandler("quadclick",this.onQuadClick.bind(e)),t.setDefaultHandler("mousewheel",this.onMouseWheel.bind(e));["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach((function(t){e[t]=this[t]}),this),e.selectByLines=this.extendSelectionBy.bind(e,"getLineRange"),e.selectByWords=this.extendSelectionBy.bind(e,"getWordRange")}return e.prototype.onMouseDown=function(e){var t=e.inSelection(),r=e.getDocumentPosition();this.mousedownEvent=e;var o=this.editor,i=e.getButton();return 0!==i?((o.getSelectionRange().isEmpty()||1==i)&&o.selection.moveToPosition(r),void(2==i&&(o.textInput.onContextMenu(e.domEvent),n.isMozilla||e.preventDefault()))):(this.mousedownEvent.time=Date.now(),!t||o.isFocused()||(o.focus(),!this.$focusTimeout||this.$clickSelection||o.inMultiSelectMode)?(this.captureMouse(e),this.startSelect(r,e.domEvent._clicks>1),e.preventDefault()):(this.setState("focusWait"),void this.captureMouse(e)))},e.prototype.startSelect=function(e,t){e=e||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var r=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?r.selection.selectToPosition(e):t||r.selection.moveToPosition(e),t||this.select(),r.setStyle("ace_selecting"),this.setState("select"))},e.prototype.select=function(){var e,t=this.editor,r=t.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var n=this.$clickSelection.comparePoint(r);if(-1==n)e=this.$clickSelection.end;else if(1==n)e=this.$clickSelection.start;else{var o=i(this.$clickSelection,r);r=o.cursor,e=o.anchor}t.selection.setSelectionAnchor(e.row,e.column)}t.selection.selectToPosition(r),t.renderer.scrollCursorIntoView()},e.prototype.extendSelectionBy=function(e){var t,r=this.editor,n=r.renderer.screenToTextCoordinates(this.x,this.y),o=r.selection[e](n.row,n.column);if(this.$clickSelection){var a=this.$clickSelection.comparePoint(o.start),s=this.$clickSelection.comparePoint(o.end);if(-1==a&&s<=0)t=this.$clickSelection.end,o.end.row==n.row&&o.end.column==n.column||(n=o.start);else if(1==s&&a>=0)t=this.$clickSelection.start,o.start.row==n.row&&o.start.column==n.column||(n=o.end);else if(-1==a&&1==s)n=o.end,t=o.start;else{var l=i(this.$clickSelection,n);n=l.cursor,t=l.anchor}r.selection.setSelectionAnchor(t.row,t.column)}r.selection.selectToPosition(n),r.renderer.scrollCursorIntoView()},e.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},e.prototype.focusWait=function(){var e,t,r,n,o=(e=this.mousedownEvent.x,t=this.mousedownEvent.y,r=this.x,n=this.y,Math.sqrt(Math.pow(r-e,2)+Math.pow(n-t,2))),i=Date.now();(o>0||i-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},e.prototype.onDoubleClick=function(e){var t=e.getDocumentPosition(),r=this.editor,n=r.session.getBracketRange(t);n?(n.isEmpty()&&(n.start.column--,n.end.column++),this.setState("select")):(n=r.selection.getWordRange(t.row,t.column),this.setState("selectByWords")),this.$clickSelection=n,this.select()},e.prototype.onTripleClick=function(e){var t=e.getDocumentPosition(),r=this.editor;this.setState("selectByLines");var n=r.getSelectionRange();n.isMultiLine()&&n.contains(t.row,t.column)?(this.$clickSelection=r.selection.getLineRange(n.start.row),this.$clickSelection.end=r.selection.getLineRange(n.end.row).end):this.$clickSelection=r.selection.getLineRange(t.row),this.select()},e.prototype.onQuadClick=function(e){var t=this.editor;t.selectAll(),this.$clickSelection=t.getSelectionRange(),this.setState("selectAll")},e.prototype.onMouseWheel=function(e){if(!e.getAccelKey()){e.getShiftKey()&&e.wheelY&&!e.wheelX&&(e.wheelX=e.wheelY,e.wheelY=0);var t=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var r=this.$lastScroll,n=e.domEvent.timeStamp,o=n-r.t,i=o?e.wheelX/o:r.vx,a=o?e.wheelY/o:r.vy;o<550&&(i=(i+r.vx)/2,a=(a+r.vy)/2);var s=Math.abs(i/a),l=!1;if(s>=1&&t.renderer.isScrollableBy(e.wheelX*e.speed,0)&&(l=!0),s<=1&&t.renderer.isScrollableBy(0,e.wheelY*e.speed)&&(l=!0),l)r.allowed=n;else if(n-r.allowed<550){Math.abs(i)<=1.5*Math.abs(r.vx)&&Math.abs(a)<=1.5*Math.abs(r.vy)?(l=!0,r.allowed=n):r.allowed=0}return r.t=n,r.vx=i,r.vy=a,l?(t.renderer.scrollBy(e.wheelX*e.speed,e.wheelY*e.speed),e.stop()):void 0}},e}();function i(e,t){if(e.start.row==e.end.row)var r=2*t.column-e.start.column-e.end.column;else if(e.start.row!=e.end.row-1||e.start.column||e.end.column)r=2*t.row-e.start.row-e.end.row;else var r=t.column-4;return r<0?{cursor:e.start,anchor:e.end}:{cursor:e.end,anchor:e.start}}o.prototype.selectEnd=o.prototype.selectByLinesEnd,o.prototype.selectAllEnd=o.prototype.selectByLinesEnd,o.prototype.selectByWordsEnd=o.prototype.selectByLinesEnd,t.DefaultHandlers=o})),ace.define("ace/lib/scroll",["require","exports","module"],(function(e,t,r){t.preventParentScroll=function(e){e.stopPropagation();var t=e.currentTarget;t.scrollHeight>t.clientHeight||e.preventDefault()}})),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],(function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__values||function(e){var t="function"===typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"===typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=e("./lib/dom"),a=(e("./lib/event"),e("./range").Range),s=e("./lib/scroll").preventParentScroll,l="ace_tooltip",c=function(){function e(e){this.isOpen=!1,this.$element=null,this.$parentNode=e}return e.prototype.$init=function(){return this.$element=i.createElement("div"),this.$element.className=l,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},e.prototype.getElement=function(){return this.$element||this.$init()},e.prototype.setText=function(e){this.getElement().textContent=e},e.prototype.setHtml=function(e){this.getElement().innerHTML=e},e.prototype.setPosition=function(e,t){this.getElement().style.left=e+"px",this.getElement().style.top=t+"px"},e.prototype.setClassName=function(e){i.addCssClass(this.getElement(),e)},e.prototype.setTheme=function(e){this.$element.className=l+" "+(e.isDark?"ace_dark ":"")+(e.cssClass||"")},e.prototype.show=function(e,t,r){null!=e&&this.setText(e),null!=t&&null!=r&&this.setPosition(t,r),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},e.prototype.hide=function(e){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=l,this.isOpen=!1)},e.prototype.getHeight=function(){return this.getElement().offsetHeight},e.prototype.getWidth=function(){return this.getElement().offsetWidth},e.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},e}(),u=new(function(){function e(){this.popups=[]}return e.prototype.addPopup=function(e){this.popups.push(e),this.updatePopups()},e.prototype.removePopup=function(e){var t=this.popups.indexOf(e);-1!==t&&(this.popups.splice(t,1),this.updatePopups())},e.prototype.updatePopups=function(){var e,t,r,n;this.popups.sort((function(e,t){return t.priority-e.priority}));var i=[];try{for(var a=o(this.popups),s=a.next();!s.done;s=a.next()){var l=s.value,c=!0;try{for(var u=(r=void 0,o(i)),d=u.next();!d.done;d=u.next()){var p=d.value;if(this.doPopupsOverlap(p,l)){c=!1;break}}}catch(h){r={error:h}}finally{try{d&&!d.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}c?i.push(l):l.hide()}}catch(f){e={error:f}}finally{try{s&&!s.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}},e.prototype.doPopupsOverlap=function(e,t){var r=e.getElement().getBoundingClientRect(),n=t.getElement().getBoundingClientRect();return r.leftn.left&&r.topn.top},e}());t.popupManager=u,t.Tooltip=c;var d=function(e){function t(t){void 0===t&&(t=document.body);var r=e.call(this,t)||this;r.timeout=void 0,r.lastT=0,r.idleTime=350,r.lastEvent=void 0,r.onMouseOut=r.onMouseOut.bind(r),r.onMouseMove=r.onMouseMove.bind(r),r.waitForHover=r.waitForHover.bind(r),r.hide=r.hide.bind(r);var n=r.getElement();return n.style.whiteSpace="pre-wrap",n.style.pointerEvents="auto",n.addEventListener("mouseout",r.onMouseOut),n.tabIndex=-1,n.addEventListener("blur",function(){n.contains(document.activeElement)||this.hide()}.bind(r)),n.addEventListener("wheel",s),r}return n(t,e),t.prototype.addToEditor=function(e){e.on("mousemove",this.onMouseMove),e.on("mousedown",this.hide),e.renderer.getMouseEventTarget().addEventListener("mouseout",this.onMouseOut,!0)},t.prototype.removeFromEditor=function(e){e.off("mousemove",this.onMouseMove),e.off("mousedown",this.hide),e.renderer.getMouseEventTarget().removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},t.prototype.onMouseMove=function(e,t){this.lastEvent=e,this.lastT=Date.now();var r=t.$mouseHandler.isMousePressed;if(this.isOpen){var n=this.lastEvent&&this.lastEvent.getDocumentPosition();this.range&&this.range.contains(n.row,n.column)&&!r&&!this.isOutsideOfText(this.lastEvent)||this.hide()}this.timeout||r||(this.lastEvent=e,this.timeout=setTimeout(this.waitForHover,this.idleTime))},t.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var e=Date.now()-this.lastT;this.idleTime-e>10?this.timeout=setTimeout(this.waitForHover,this.idleTime-e):(this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor))},t.prototype.isOutsideOfText=function(e){var t=e.editor,r=e.getDocumentPosition(),n=t.session.getLine(r.row);if(r.column==n.length){var o=t.renderer.pixelToScreenCoordinates(e.clientX,e.clientY),i=t.session.documentToScreenPosition(r.row,r.column);if(i.column!=o.column||i.row!=o.row)return!0}return!1},t.prototype.setDataProvider=function(e){this.$gatherData=e},t.prototype.showForRange=function(e,t,r,n){if((!n||n==this.lastEvent)&&(!this.isOpen||document.activeElement!=this.getElement())){var o=e.renderer;this.isOpen||(u.addPopup(this),this.$registerCloseEvents(),this.setTheme(o.theme)),this.isOpen=!0,this.addMarker(t,e.session),this.range=a.fromPoints(t.start,t.end);var i=o.textToScreenCoordinates(t.start.row,t.start.column),s=o.scroller.getBoundingClientRect();i.pageX=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=e("../lib/dom"),a=e("../lib/event"),s=e("../tooltip").Tooltip,l=e("../config").nls;e("../lib/lang");t.GutterHandler=function(e){var t,r,n=e.editor,o=n.renderer.$gutterLayer,s=new c(n);function l(){t&&(t=clearTimeout(t)),s.isOpen&&(s.hideTooltip(),n.off("mousewheel",l))}function u(e){s.setPosition(e.x,e.y)}e.editor.setDefaultHandler("guttermousedown",(function(t){if(n.isFocused()&&0==t.getButton()&&"foldWidgets"!=o.getRegion(t)){var r=t.getDocumentPosition().row,i=n.session.selection;if(t.getShiftKey())i.selectTo(r,0);else{if(2==t.domEvent.detail)return n.selectAll(),t.preventDefault();e.$clickSelection=n.selection.getLineRange(r)}return e.setState("selectByLines"),e.captureMouse(t),t.preventDefault()}})),e.editor.setDefaultHandler("guttermousemove",(function(a){var c=a.domEvent.target||a.domEvent.srcElement;if(i.hasCssClass(c,"ace_fold-widget"))return l();s.isOpen&&e.$tooltipFollowsMouse&&u(a),r=a,t||(t=setTimeout((function(){t=null,r&&!e.isMousePressed?function(){var t=r.getDocumentPosition().row;if(t==n.session.getLength()){var i=n.renderer.pixelToScreenCoordinates(0,r.y).row,a=r.$pos;if(i>n.session.documentToScreenRow(a.row,a.column))return l()}if(s.showTooltip(t),s.isOpen)if(n.on("mousewheel",l),e.$tooltipFollowsMouse)u(r);else{var c=r.getGutterRow(),d=o.$lines.get(c);if(d){var p=d.element.querySelector(".ace_gutter_annotation").getBoundingClientRect(),h=s.getElement().style;h.left=p.right+"px",h.top=p.bottom+"px"}else u(r)}}():l()}),50))})),a.addListener(n.renderer.$gutter,"mouseout",(function(e){r=null,s.isOpen&&!t&&(t=setTimeout((function(){t=null,l()}),50))}),n),n.on("changeSession",l),n.on("input",l)};var c=function(e){function t(t){var r=e.call(this,t.container)||this;return r.editor=t,r}return n(t,e),t.prototype.setPosition=function(e,t){var r=window.innerWidth||document.documentElement.clientWidth,n=window.innerHeight||document.documentElement.clientHeight,o=this.getWidth(),i=this.getHeight();(e+=15)+o>r&&(e-=e+o-r),(t+=15)+i>n&&(t-=20+i),s.prototype.setPosition.call(this,e,t)},Object.defineProperty(t,"annotationLabels",{get:function(){return{error:{singular:l("gutter-tooltip.aria-label.error.singular","error"),plural:l("gutter-tooltip.aria-label.error.plural","errors")},security:{singular:l("gutter-tooltip.aria-label.security.singular","security finding"),plural:l("gutter-tooltip.aria-label.security.plural","security findings")},warning:{singular:l("gutter-tooltip.aria-label.warning.singular","warning"),plural:l("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:l("gutter-tooltip.aria-label.info.singular","information message"),plural:l("gutter-tooltip.aria-label.info.plural","information messages")},hint:{singular:l("gutter-tooltip.aria-label.hint.singular","suggestion"),plural:l("gutter-tooltip.aria-label.hint.plural","suggestions")}}},enumerable:!1,configurable:!0}),t.prototype.showTooltip=function(e){var r,n,o=this.editor.renderer.$gutterLayer,a=o.$annotations[e];n=a?{displayText:Array.from(a.displayText),type:Array.from(a.type)}:{displayText:[],type:[]};var s=o.session.getFoldLine(e);if(s&&o.$showFoldedAnnotations){for(var l,c={error:[],security:[],warning:[],info:[],hint:[]},u={error:1,security:2,warning:3,info:4,hint:5},d=e+1;d<=s.end.row;d++)if(o.$annotations[d])for(var p=0;p5?g=null:n-g>=200&&(t.renderer.scrollCursorIntoView(),g=null)})(p=t.renderer.screenToTextCoordinates(l,c),e),function(e,r){var n=Date.now(),o=t.renderer.layerConfig.lineHeight,i=t.renderer.layerConfig.characterWidth,a=t.renderer.scroller.getBoundingClientRect(),s={x:{left:l-a.left,right:a.right-l},y:{top:c-a.top,bottom:a.bottom-c}},u=Math.min(s.x.left,s.x.right),d=Math.min(s.y.top,s.y.bottom),p={row:e.row,column:e.column};u/i<=2&&(p.column+=s.x.left=200&&t.renderer.scrollCursorIntoView(p):m=n:m=null}(p,e)}function _(){d=t.selection.toOrientedRange(),a=t.session.addMarker(d,"ace_selection",t.getSelectionStyle()),t.clearSelection(),t.isFocused()&&t.renderer.$cursorLayer.setBlinking(!1),clearInterval(u),w(),u=setInterval(w,20),b=0,o.addListener(document,"mousemove",S)}function x(){clearInterval(u),t.session.removeMarker(a),a=null,t.selection.fromOrientedRange(d),t.isFocused()&&!f&&t.$resetCursorStyle(),d=null,p=null,b=0,m=null,g=null,o.removeListener(document,"mousemove",S)}this.onDragStart=function(e){if(this.cancelDrag||!v.draggable){var n=this;return setTimeout((function(){n.startSelect(),n.captureMouse(e)}),0),e.preventDefault()}d=t.getSelectionRange();var o=e.dataTransfer;o.effectAllowed=t.getReadOnly()?"copy":"copyMove",t.container.appendChild(r),o.setDragImage&&o.setDragImage(r,0,0),setTimeout((function(){t.container.removeChild(r)})),o.clearData(),o.setData("Text",t.session.getTextRange()),f=!0,this.setState("drag")},this.onDragEnd=function(e){if(v.draggable=!1,f=!1,this.setState(null),!t.getReadOnly()){var r=e.dataTransfer.dropEffect;h||"move"!=r||t.session.remove(t.getSelectionRange()),t.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(e){if(!t.getReadOnly()&&C(e.dataTransfer))return l=e.clientX,c=e.clientY,a||_(),b++,e.dataTransfer.dropEffect=h=E(e),o.preventDefault(e)},this.onDragOver=function(e){if(!t.getReadOnly()&&C(e.dataTransfer))return l=e.clientX,c=e.clientY,a||(_(),b++),null!==k&&(k=null),e.dataTransfer.dropEffect=h=E(e),o.preventDefault(e)},this.onDragLeave=function(e){if(--b<=0&&a)return x(),h=null,o.preventDefault(e)},this.onDrop=function(e){if(p){var r=e.dataTransfer;if(f)switch(h){case"move":d=d.contains(p.row,p.column)?{start:p,end:p}:t.moveText(d,p);break;case"copy":d=t.moveText(d,p,!0)}else{var n=r.getData("Text");d={start:p,end:t.session.insert(p,n)},t.focus(),h=null}return x(),o.preventDefault(e)}},o.addListener(v,"dragstart",this.onDragStart.bind(e),t),o.addListener(v,"dragend",this.onDragEnd.bind(e),t),o.addListener(v,"dragenter",this.onDragEnter.bind(e),t),o.addListener(v,"dragover",this.onDragOver.bind(e),t),o.addListener(v,"dragleave",this.onDragLeave.bind(e),t),o.addListener(v,"drop",this.onDrop.bind(e),t);var k=null;function S(){null==k&&(k=setTimeout((function(){null!=k&&a&&x()}),20))}function C(e){var t=e.types;return!t||Array.prototype.some.call(t,(function(e){return"text/plain"==e||"Text"==e}))}function E(e){var t=["copy","copymove","all","uninitialized"],r=i.isMac?e.altKey:e.ctrlKey,n="uninitialized";try{n=e.dataTransfer.effectAllowed.toLowerCase()}catch(e){}var o="none";return r&&t.indexOf(n)>=0?o="copy":["move","copymove","linkmove","all","uninitialized"].indexOf(n)>=0?o="move":t.indexOf(n)>=0&&(o="copy"),o}}function s(e,t,r,n){return Math.sqrt(Math.pow(r-e,2)+Math.pow(n-t,2))}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){this.editor.container.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(e){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var e=this.editor;e.container.draggable=!0,e.renderer.$cursorLayer.setBlinking(!1),e.setStyle("ace_dragging");var t=i.isWin?"default":"move";e.renderer.setCursorStyle(t),this.setState("dragReady")},this.onMouseDrag=function(e){var t=this.editor.container;i.isIE&&"dragReady"==this.state&&(s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>3&&t.dragDrop());"dragWait"===this.state&&(s(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>0&&(t.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition())))},this.onMouseDown=function(e){if(this.$dragEnabled){this.mousedownEvent=e;var t=this.editor,r=e.inSelection(),n=e.getButton();if(1===(e.domEvent.detail||1)&&0===n&&r){if(e.editor.inMultiSelectMode&&(e.getAccelKey()||e.getShiftKey()))return;this.mousedownEvent.time=Date.now();var o=e.domEvent.target||e.domEvent.srcElement;if("unselectable"in o&&(o.unselectable="on"),t.getDragDelay()){if(i.isWebKit)this.cancelDrag=!0,t.container.draggable=!0;this.setState("dragWait")}else this.startDrag();this.captureMouse(e,this.onMouseDrag.bind(this)),e.defaultPrevented=!0}}}}).call(a.prototype),t.DragdropHandler=a})),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],(function(e,t,r){"use strict";var n=e("./mouse_event").MouseEvent,o=e("../lib/event"),i=e("../lib/dom");t.addTouchListeners=function(e,t){var r,a,s,l,c,u,d,p,h,f="scroll",m=0,g=0,y=0,v=0;function b(){var e=window.navigator&&window.navigator.clipboard,r=!1,n=function(e){return t.commands.canExecute(e,t)},o=function(o){var a=o.target.getAttribute("action");if("more"==a||!r)return r=!r,function(){var o=t.getCopyText(),a=t.session.getUndoManager().hasUndo();h.replaceChild(i.buildDom(r?["span",!o&&n("selectall")&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],o&&n("copy")&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],o&&n("cut")&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],e&&n("paste")&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],a&&n("undo")&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],n("find")&&["span",{class:"ace_mobile-button",action:"find"},"Find"],n("openCommandPalette")&&["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),h.firstChild)}();"paste"==a?e.readText().then((function(e){t.execCommand(a,e)})):a&&("cut"!=a&&"copy"!=a||(e?e.writeText(t.getCopyText()):document.execCommand("copy")),t.execCommand(a)),h.firstChild.style.display="none",r=!1,"openCommandPalette"!=a&&t.focus()};h=i.buildDom(["div",{class:"ace_mobile-menu",ontouchstart:function(e){f="menu",e.stopPropagation(),e.preventDefault(),t.textInput.focus()},ontouchend:function(e){e.stopPropagation(),e.preventDefault(),o(e)},onclick:o},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],t.container)}function w(){if(t.getOption("enableMobileMenu")){h||b();var e=t.selection.cursor,r=t.renderer.textToScreenCoordinates(e.row,e.column),n=t.renderer.textToScreenCoordinates(0,0).pageX,o=t.renderer.scrollLeft,i=t.container.getBoundingClientRect();h.style.top=r.pageY-i.top-3+"px",r.pageX-i.left1)return clearTimeout(c),c=null,s=-1,void(f="zoom");p=t.$mouseHandler.isMousePressed=!0;var i=t.renderer.layerConfig.lineHeight,u=t.renderer.layerConfig.lineHeight,h=e.timeStamp;l=h;var b=o[0],w=b.clientX,_=b.clientY;Math.abs(r-w)+Math.abs(a-_)>i&&(s=-1),r=e.clientX=w,a=e.clientY=_,y=v=0;var k=new n(e,t);if(d=k.getDocumentPosition(),h-s<500&&1==o.length&&!m)g++,e.preventDefault(),e.button=0,function(){c=null,clearTimeout(c),t.selection.moveToPosition(d);var e=g>=2?t.selection.getLineRange(d.row):t.session.getBracketRange(d);e&&!e.isEmpty()?t.selection.setRange(e):t.selection.selectWord(),f="wait"}();else{g=0;var S=t.selection.cursor,C=t.selection.isEmpty()?S:t.selection.anchor,E=t.renderer.$cursorLayer.getPixelPosition(S,!0),D=t.renderer.$cursorLayer.getPixelPosition(C,!0),A=t.renderer.scroller.getBoundingClientRect(),T=t.renderer.layerConfig.offset,M=t.renderer.scrollLeft,O=function(e,t){return(e/=u)*e+(t=t/i-.75)*t};if(e.clientXL?"cursor":"anchor"),f=L<3.5?"anchor":R<3.5?"cursor":"scroll",c=setTimeout(x,450)}s=h}),t),o.addListener(e,"touchend",(function(e){p=t.$mouseHandler.isMousePressed=!1,u&&clearInterval(u),"zoom"==f?(f="",m=0):c?(t.selection.moveToPosition(d),m=0,w()):"scroll"==f?(m+=60,u=setInterval((function(){m--<=0&&(clearInterval(u),u=null),Math.abs(y)<.01&&(y=0),Math.abs(v)<.01&&(v=0),m<20&&(y*=.9),m<20&&(v*=.9);var e=t.session.getScrollTop();t.renderer.scrollBy(10*y,10*v),e==t.session.getScrollTop()&&(m=0)}),10),_()):w(),clearTimeout(c),c=null}),t),o.addListener(e,"touchmove",(function(e){c&&(clearTimeout(c),c=null);var o=e.touches;if(!(o.length>1||"zoom"==f)){var i=o[0],s=r-i.clientX,u=a-i.clientY;if("wait"==f){if(!(s*s+u*u>4))return e.preventDefault();f="cursor"}r=i.clientX,a=i.clientY,e.clientX=i.clientX,e.clientY=i.clientY;var d=e.timeStamp,p=d-l;if(l=d,"scroll"==f){var h=new n(e,t);h.speed=1,h.wheelX=s,h.wheelY=u,10*Math.abs(s)=e){for(i=d+1;i=e;)i++;for(s=d,l=i-1;s=t.length||2!=(l=r[o-1])&&3!=l||2!=(c=t[o+1])&&3!=c?4:(i&&(c=3),c==l?c:4);case 10:return 2==(l=o>0?r[o-1]:5)&&o+10&&2==r[o-1])return 2;if(i)return 4;for(h=o+1,p=t.length;h=1425&&m<=2303||64286==m;if(l=t[h],g&&(1==l||7==l))return 1}return o<1||5==(l=t[o-1])?4:r[o-1];case 5:return i=!1,a=!0,n;case 6:return s=!0,4;case 13:case 14:case 16:case 17:case 15:i=!1;case d:return 4}}function g(e){var t=e.charCodeAt(0),r=t>>8;return 0==r?t>191?0:p[t]:5==r?/[\u0591-\u05f4]/.test(e)?1:0:6==r?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(e)?12:/[\u0660-\u0669\u066b-\u066c]/.test(e)?3:1642==t?u:/[\u06f0-\u06f9]/.test(e)?2:7:32==r&&t<=8287?h[255&t]:254==r&&t>=65136?7:4}t.L=0,t.R=1,t.EN=2,t.ON_R=3,t.AN=4,t.R_H=5,t.B=6,t.RLE=7,t.DOT="\xb7",t.doBidiReorder=function(e,r,u){if(e.length<2)return{};var p=e.split(""),h=new Array(p.length),y=new Array(p.length),v=[];n=u?1:0,function(e,t,r,u){var d=n?c:l,p=null,h=null,f=null,y=0,v=null,b=-1,w=null,_=null,x=[];if(!u)for(w=0,u=[];w0)if(16==v){for(w=b;w<_;w++)t[w]=1;b=-1}else b=-1;if(d[y][6])-1==b&&(b=_);else if(b>-1){for(w=b;w<_;w++)t[w]=f;b=-1}5==u[_]&&(t[_]=0),o|=f}if(s)for(w=0;w=0&&8==u[k];k--)t[k]=n}}(p,v,p.length,r);for(var b=0;b7&&r[b]<13||4===r[b]||r[b]===d)?v[b]=t.ON_R:b>0&&"\u0644"===p[b-1]&&/\u0622|\u0623|\u0625|\u0627/.test(p[b])&&(v[b-1]=v[b]=t.R_H,b++);p[p.length-1]===t.DOT&&(v[p.length-1]=t.B),"\u202b"===p[0]&&(v[0]=t.RLE);for(b=0;b=0&&(e=this.session.$docRowCache[r])}return e},e.prototype.getSplitIndex=function(){var e=0,t=this.session.$screenRowCache;if(t.length)for(var r,n=this.session.$getRowCacheIndex(t,this.currentRow);this.currentRow-e>0&&(r=this.session.$getRowCacheIndex(t,this.currentRow-e-1))===n;)n=r,e++;else e=this.currentRow;return e},e.prototype.updateRowLine=function(e,t){void 0===e&&(e=this.getDocumentRow());var r=e===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(e),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var i=this.session.$wrapData[e];i&&(void 0===t&&(t=this.getSplitIndex()),t>0&&i.length?(this.wrapIndent=i.indent,this.wrapOffset=this.wrapIndent*this.charWidths[n.L],this.line=tt?this.session.getOverwrite()?e:e-1:t,o=n.getVisualFromLogicalIdx(r,this.bidiMap),i=this.bidiMap.bidiLevels,a=0;!this.session.getOverwrite()&&e<=t&&i[o]%2!==0&&o++;for(var s=0;st&&i[o]%2===0&&(a+=this.charWidths[i[o]]),this.wrapIndent&&(a+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(a+=this.rtlLineOffset),a},e.prototype.getSelections=function(e,t){var r,n=this.bidiMap,o=n.bidiLevels,i=[],a=0,s=Math.min(e,t)-this.wrapIndent,l=Math.max(e,t)-this.wrapIndent,c=!1,u=!1,d=0;this.wrapIndent&&(a+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var p,h=0;h=s&&pr+i/2;){if(r+=i,n===o.length-1){i=0;break}i=this.charWidths[o[++n]]}return n>0&&o[n-1]%2!==0&&o[n]%2===0?(e0&&o[n-1]%2===0&&o[n]%2!==0?t=1+(e>r?this.bidiMap.logicalFromVisual[n]:this.bidiMap.logicalFromVisual[n-1]):this.isRtlDir&&n===o.length-1&&0===i&&o[n-1]%2===0||!this.isRtlDir&&0===n&&o[n]%2!==0?t=1+this.bidiMap.logicalFromVisual[n]:(n>0&&o[n-1]%2!==0&&0!==i&&n--,t=this.bidiMap.logicalFromVisual[n]),0===t&&this.isRtlDir&&t++,t+this.wrapIndent},e}();t.BidiHandler=a})),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],(function(e,t,r){"use strict";var n=e("./lib/oop"),o=e("./lib/lang"),i=e("./lib/event_emitter").EventEmitter,a=e("./range").Range,s=function(){function e(e){this.session=e,this.doc=e.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var t=this;this.cursor.on("change",(function(e){t.$cursorChanged=!0,t.$silent||t._emit("changeCursor"),t.$isEmpty||t.$silent||t._emit("changeSelection"),t.$keepDesiredColumnOnChange||e.old.column==e.value.column||(t.$desiredColumn=null)})),this.anchor.on("change",(function(){t.$anchorChanged=!0,t.$isEmpty||t.$silent||t._emit("changeSelection")}))}return e.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},e.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},e.prototype.getCursor=function(){return this.lead.getPosition()},e.prototype.setAnchor=function(e,t){this.$isEmpty=!1,this.anchor.setPosition(e,t)},e.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},e.prototype.getSelectionLead=function(){return this.lead.getPosition()},e.prototype.isBackwards=function(){var e=this.anchor,t=this.lead;return e.row>t.row||e.row==t.row&&e.column>t.column},e.prototype.getRange=function(){var e=this.anchor,t=this.lead;return this.$isEmpty?a.fromPoints(t,t):this.isBackwards()?a.fromPoints(t,e):a.fromPoints(e,t)},e.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},e.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},e.prototype.setRange=function(e,t){var r=t?e.end:e.start,n=t?e.start:e.end;this.$setSelection(r.row,r.column,n.row,n.column)},e.prototype.$setSelection=function(e,t,r,n){if(!this.$silent){var o=this.$isEmpty,i=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(e,t),this.cursor.setPosition(r,n),this.$isEmpty=!a.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||o!=this.$isEmpty||i)&&this._emit("changeSelection")}},e.prototype.$moveSelection=function(e){var t=this.lead;this.$isEmpty&&this.setSelectionAnchor(t.row,t.column),e.call(this)},e.prototype.selectTo=function(e,t){this.$moveSelection((function(){this.moveCursorTo(e,t)}))},e.prototype.selectToPosition=function(e){this.$moveSelection((function(){this.moveCursorToPosition(e)}))},e.prototype.moveTo=function(e,t){this.clearSelection(),this.moveCursorTo(e,t)},e.prototype.moveToPosition=function(e){this.clearSelection(),this.moveCursorToPosition(e)},e.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},e.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},e.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},e.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},e.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},e.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},e.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},e.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},e.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},e.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},e.prototype.getWordRange=function(e,t){if("undefined"==typeof t){var r=e||this.lead;e=r.row,t=r.column}return this.session.getWordRange(e,t)},e.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},e.prototype.selectAWord=function(){var e=this.getCursor(),t=this.session.getAWordRange(e.row,e.column);this.setSelectionRange(t)},e.prototype.getLineRange=function(e,t){var r,n="number"==typeof e?e:this.lead.row,o=this.session.getFoldLine(n);return o?(n=o.start.row,r=o.end.row):r=n,!0===t?new a(n,0,r,this.session.getLine(r).length):new a(n,0,r+1,0)},e.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},e.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},e.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},e.prototype.wouldMoveIntoSoftTab=function(e,t,r){var n=e.column,o=e.column+t;return r<0&&(n=e.column-t,o=e.column),this.session.isTabStop(e)&&this.doc.getLine(e.row).slice(n,o).split(" ").length-1==t},e.prototype.moveCursorLeft=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,-1))this.moveCursorTo(e.start.row,e.start.column);else if(0===t.column)t.row>0&&this.moveCursorTo(t.row-1,this.doc.getLine(t.row-1).length);else{var r=this.session.getTabSize();this.wouldMoveIntoSoftTab(t,r,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-r):this.moveCursorBy(0,-1)}},e.prototype.moveCursorRight=function(){var e,t=this.lead.getPosition();if(e=this.session.getFoldAt(t.row,t.column,1))this.moveCursorTo(e.end.row,e.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row0&&(t.column=n)}}this.moveCursorTo(t.row,t.column)},e.prototype.moveCursorFileEnd=function(){var e=this.doc.getLength()-1,t=this.doc.getLine(e).length;this.moveCursorTo(e,t)},e.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},e.prototype.moveCursorLongWordRight=function(){var e=this.lead.row,t=this.lead.column,r=this.doc.getLine(e),n=r.substring(t);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var o=this.session.getFoldAt(e,t,1);if(o)this.moveCursorTo(o.end.row,o.end.column);else{if(this.session.nonTokenRe.exec(n)&&(t+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,n=r.substring(t)),t>=r.length)return this.moveCursorTo(e,r.length),this.moveCursorRight(),void(e0&&this.moveCursorWordLeft());this.session.tokenRe.exec(i)&&(r-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(t,r)}},e.prototype.$shortWordEndIndex=function(e){var t,r=0,n=/\s/,o=this.session.tokenRe;if(o.lastIndex=0,this.session.tokenRe.exec(e))r=this.session.tokenRe.lastIndex;else{for(;(t=e[r])&&n.test(t);)r++;if(r<1)for(o.lastIndex=0;(t=e[r])&&!o.test(t);)if(o.lastIndex=0,r++,n.test(t)){if(r>2){r--;break}for(;(t=e[r])&&n.test(t);)r++;if(r>2)break}}return o.lastIndex=0,r},e.prototype.moveCursorShortWordRight=function(){var e=this.lead.row,t=this.lead.column,r=this.doc.getLine(e),n=r.substring(t),o=this.session.getFoldAt(e,t,1);if(o)return this.moveCursorTo(o.end.row,o.end.column);if(t==r.length){var i=this.doc.getLength();do{e++,n=this.doc.getLine(e)}while(e0&&/^\s*$/.test(n));r=n.length,/\s+$/.test(n)||(n="")}var i=o.stringReverse(n),a=this.$shortWordEndIndex(i);return this.moveCursorTo(t,r-a)},e.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},e.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},e.prototype.moveCursorBy=function(e,t){var r,n=this.session.documentToScreenPosition(this.lead.row,this.lead.column);if(0===t&&(0!==e&&(this.session.$bidiHandler.isBidiRow(n.row,this.lead.row)?(r=this.session.$bidiHandler.getPosLeft(n.column),n.column=Math.round(r/this.session.$bidiHandler.charWidths[0])):r=n.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?n.column=this.$desiredColumn:this.$desiredColumn=n.column),0!=e&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var o=this.session.lineWidgets[this.lead.row];e<0?e-=o.rowsAbove||0:e>0&&(e+=o.rowCount-(o.rowsAbove||0))}var i=this.session.screenToDocumentPosition(n.row+e,n.column,r);0!==e&&0===t&&i.row===this.lead.row&&(i.column,this.lead.column),this.moveCursorTo(i.row,i.column+t,0===t)},e.prototype.moveCursorToPosition=function(e){this.moveCursorTo(e.row,e.column)},e.prototype.moveCursorTo=function(e,t,r){var n=this.session.getFoldAt(e,t,1);n&&(e=n.start.row,t=n.start.column),this.$keepDesiredColumnOnChange=!0;var o=this.session.getLine(e);/[\uDC00-\uDFFF]/.test(o.charAt(t))&&o.charAt(t-1)&&(this.lead.row==e&&this.lead.column==t+1?t-=1:t+=1),this.lead.setPosition(e,t),this.$keepDesiredColumnOnChange=!1,r||(this.$desiredColumn=null)},e.prototype.moveCursorToScreen=function(e,t,r){var n=this.session.screenToDocumentPosition(e,t);this.moveCursorTo(n.row,n.column,r)},e.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},e.prototype.fromOrientedRange=function(e){this.setSelectionRange(e,e.cursor==e.start),this.$desiredColumn=e.desiredColumn||this.$desiredColumn},e.prototype.toOrientedRange=function(e){var t=this.getRange();return e?(e.start.column=t.start.column,e.start.row=t.start.row,e.end.column=t.end.column,e.end.row=t.end.row):e=t,e.cursor=this.isBackwards()?e.start:e.end,e.desiredColumn=this.$desiredColumn,e},e.prototype.getRangeOfMovements=function(e){var t=this.getCursor();try{e(this);var r=this.getCursor();return a.fromPoints(t,r)}catch(n){return a.fromPoints(t,t)}finally{this.moveCursorToPosition(t)}},e.prototype.toJSON=function(){if(this.rangeCount)var e=this.ranges.map((function(e){var t=e.clone();return t.isBackwards=e.cursor==e.start,t}));else(e=this.getRange()).isBackwards=this.isBackwards();return e},e.prototype.fromJSON=function(e){if(void 0==e.start){if(this.rangeList&&e.length>1){this.toSingleRange(e[0]);for(var t=e.length;t--;){var r=a.fromPoints(e[t].start,e[t].end);e[t].isBackwards&&(r.cursor=r.start),this.addRange(r,!0)}return}e=e[0]}this.rangeList&&this.toSingleRange(e),this.setSelectionRange(e,e.isBackwards)},e.prototype.isEqual=function(e){if((e.length||this.rangeCount)&&e.length!=this.rangeCount)return!1;if(!e.length||!this.ranges)return this.getRange().isEqual(e);for(var t=this.ranges.length;t--;)if(!this.ranges[t].isEqual(e[t]))return!1;return!0},e}();s.prototype.setSelectionAnchor=s.prototype.setAnchor,s.prototype.getSelectionAnchor=s.prototype.getAnchor,s.prototype.setSelectionRange=s.prototype.setRange,n.implement(s.prototype,i),t.Selection=s})),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],(function(e,t,r){"use strict";var n=e("./lib/report_error").reportError,o=2e3,i=function(){function e(e){for(var t in this.splitRegex,this.states=e,this.regExps={},this.matchMappings={},this.states){for(var r=this.states[t],n=[],o=0,i=this.matchMappings[t]={defaultToken:"text"},a="g",s=[],l=0;l1?this.$applyToken:c.token),d>1&&(/\\\d/.test(c.regex)?u=c.regex.replace(/\\([0-9]+)/g,(function(e,t){return"\\"+(parseInt(t,10)+o+1)})):(d=1,u=this.removeCapturingGroups(c.regex)),c.splitRegex||"string"==typeof c.token||s.push(c)),i[o]=l,o+=d,n.push(u),c.onMatch||(c.onMatch=null)}}n.length||(i[0]=0,n.push("$")),s.forEach((function(e){e.splitRegex=this.createSplitterRegexp(e.regex,a)}),this),this.regExps[t]=new RegExp("("+n.join(")|(")+")|($)",a)}}return e.prototype.$setMaxTokenCount=function(e){o=0|e},e.prototype.$applyToken=function(e){var t=this.splitRegex.exec(e).slice(1),r=this.token.apply(this,t);if("string"===typeof r)return[{type:r,value:e}];for(var n=[],o=0,i=r.length;ou){var y=e.substring(u,g-m.length);p.type==h?p.value+=y:(p.type&&c.push(p),p={type:h,value:y})}for(var v=0;vo){for(d>2*e.length&&this.reportError("infinite loop with in ace tokenizer",{startState:t,line:e});u1&&r[0]!==n&&r.unshift("#tmp",n),{tokens:c,state:r.length?r:n}},e}();i.prototype.reportError=n,t.Tokenizer=i})),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],(function(e,t,r){"use strict";var n,o=e("../lib/deep_copy").deepCopy;(function(){this.addRules=function(e,t){if(t)for(var r in e){for(var n=e[r],o=0;o=this.$rowTokens.length;){if(this.$row+=1,e||(e=this.$session.getLength()),this.$row>=e)return this.$row=e-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},e.prototype.getCurrentTokenRow=function(){return this.$row},e.prototype.getCurrentTokenColumn=function(){var e=this.$rowTokens,t=this.$tokenIndex,r=e[t].start;if(void 0!==r)return r;for(r=0;t>0;)r+=e[t-=1].value.length;return r},e.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},e.prototype.getCurrentTokenRange=function(){var e=this.$rowTokens[this.$tokenIndex],t=this.getCurrentTokenColumn();return new n(this.$row,t,this.$row,t+e.value.length)},e}();t.TokenIterator=o})),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],(function(e,t,r){"use strict";var n,o,i=e("../../lib/oop"),a=e("../behaviour").Behaviour,s=e("../../token_iterator").TokenIterator,l=e("../../lib/lang"),c=["text","paren.rparen","rparen","paren","punctuation.operator"],u=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],d={},p={'"':'"',"'":"'"},h=function(e){var t=-1;if(e.multiSelect&&(t=e.selection.index,d.rangeCount!=e.multiSelect.rangeCount&&(d={rangeCount:e.multiSelect.rangeCount})),d[t])return n=d[t];n=d[t]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},f=function(e,t,r,n){var o=e.end.row-e.start.row;return{text:r+t+n,selection:[0,e.start.column+1,o,e.end.column+(o?0:1)]}};(o=function(e){e=e||{},this.add("braces","insertion",(function(t,r,i,a,s){var c=i.getCursorPosition(),u=a.doc.getLine(c.row);if("{"==s){h(i);var d=i.getSelectionRange(),p=a.doc.getTextRange(d),m=a.getTokenAt(c.row,c.column);if(""!==p&&"{"!==p&&i.getWrapBehavioursEnabled())return f(d,p,"{","}");if(m&&/(?:string)\.quasi|\.xml/.test(m.type)){if([/tag\-(?:open|name)/,/attribute\-name/].some((function(e){return e.test(m.type)}))||/(string)\.quasi/.test(m.type)&&"$"!==m.value[c.column-m.start-1])return;return o.recordAutoInsert(i,a,"}"),{text:"{}",selection:[1,1]}}if(o.isSaneInsertion(i,a))return/[\]\}\)]/.test(u[c.column])||i.inMultiSelectMode||e.braces?(o.recordAutoInsert(i,a,"}"),{text:"{}",selection:[1,1]}):(o.recordMaybeInsert(i,a,"{"),{text:"{",selection:[1,1]})}else if("}"==s){if(h(i),"}"==u.substring(c.column,c.column+1))if(null!==a.$findOpeningBracket("}",{column:c.column+1,row:c.row})&&o.isAutoInsertedClosing(c,u,s))return o.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else{if("\n"==s||"\r\n"==s){h(i);var g="";if(o.isMaybeInsertedClosing(c,u)&&(g=l.stringRepeat("}",n.maybeInsertedBrackets),o.clearMaybeInsertedClosing()),"}"===u.substring(c.column,c.column+1)){var y=a.findMatchingBracket({row:c.row,column:c.column+1},"}");if(!y)return null;var v=this.$getIndent(a.getLine(y.row))}else{if(!g)return void o.clearMaybeInsertedClosing();v=this.$getIndent(u)}var b=v+a.getTabString();return{text:"\n"+b+"\n"+v+g,selection:[1,b.length,1,b.length]}}o.clearMaybeInsertedClosing()}})),this.add("braces","deletion",(function(e,t,r,o,i){var a=o.doc.getTextRange(i);if(!i.isMultiLine()&&"{"==a){if(h(r),"}"==o.doc.getLine(i.start.row).substring(i.end.column,i.end.column+1))return i.end.column++,i;n.maybeInsertedBrackets--}})),this.add("parens","insertion",(function(e,t,r,n,i){if("("==i){h(r);var a=r.getSelectionRange(),s=n.doc.getTextRange(a);if(""!==s&&r.getWrapBehavioursEnabled())return f(a,s,"(",")");if(o.isSaneInsertion(r,n))return o.recordAutoInsert(r,n,")"),{text:"()",selection:[1,1]}}else if(")"==i){h(r);var l=r.getCursorPosition(),c=n.doc.getLine(l.row);if(")"==c.substring(l.column,l.column+1))if(null!==n.$findOpeningBracket(")",{column:l.column+1,row:l.row})&&o.isAutoInsertedClosing(l,c,i))return o.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("parens","deletion",(function(e,t,r,n,o){var i=n.doc.getTextRange(o);if(!o.isMultiLine()&&"("==i&&(h(r),")"==n.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o})),this.add("brackets","insertion",(function(e,t,r,n,i){if("["==i){h(r);var a=r.getSelectionRange(),s=n.doc.getTextRange(a);if(""!==s&&r.getWrapBehavioursEnabled())return f(a,s,"[","]");if(o.isSaneInsertion(r,n))return o.recordAutoInsert(r,n,"]"),{text:"[]",selection:[1,1]}}else if("]"==i){h(r);var l=r.getCursorPosition(),c=n.doc.getLine(l.row);if("]"==c.substring(l.column,l.column+1))if(null!==n.$findOpeningBracket("]",{column:l.column+1,row:l.row})&&o.isAutoInsertedClosing(l,c,i))return o.popAutoInsertedClosing(),{text:"",selection:[1,1]}}})),this.add("brackets","deletion",(function(e,t,r,n,o){var i=n.doc.getTextRange(o);if(!o.isMultiLine()&&"["==i&&(h(r),"]"==n.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)))return o.end.column++,o})),this.add("string_dquotes","insertion",(function(e,t,r,n,o){var i=n.$mode.$quotes||p;if(1==o.length&&i[o]){if(this.lineCommentStart&&-1!=this.lineCommentStart.indexOf(o))return;h(r);var a=o,s=r.getSelectionRange(),l=n.doc.getTextRange(s);if(!(""===l||1==l.length&&i[l])&&r.getWrapBehavioursEnabled())return f(s,l,a,a);if(!l){var c=r.getCursorPosition(),u=n.doc.getLine(c.row),d=u.substring(c.column-1,c.column),m=u.substring(c.column,c.column+1),g=n.getTokenAt(c.row,c.column),y=n.getTokenAt(c.row,c.column+1);if("\\"==d&&g&&/escape/.test(g.type))return null;var v,b=g&&/string|escape/.test(g.type),w=!y||/string|escape/.test(y.type);if(m==a)(v=b!==w)&&/string\.end/.test(y.type)&&(v=!1);else{if(b&&!w)return null;if(b&&w)return null;var _=n.$mode.tokenRe;_.lastIndex=0;var x=_.test(d);_.lastIndex=0;var k=_.test(m),S=n.$mode.$pairQuotesAfter;if(!(S&&S[a]&&S[a].test(d))&&x||k)return null;if(m&&!/[\s;,.})\]\\]/.test(m))return null;var C=u[c.column-2];if(d==a&&(C==a||_.test(C)))return null;v=!0}return{text:v?a+a:"",selection:[1,1]}}}})),this.add("string_dquotes","deletion",(function(e,t,r,n,o){var i=n.$mode.$quotes||p,a=n.doc.getTextRange(o);if(!o.isMultiLine()&&i.hasOwnProperty(a)&&(h(r),n.doc.getLine(o.start.row).substring(o.start.column+1,o.start.column+2)==a))return o.end.column++,o})),!1!==e.closeDocComment&&this.add("doc comment end","insertion",(function(e,t,r,n,o){if("doc-start"===e&&("\n"===o||"\r\n"===o)&&r.selection.isEmpty()){var i=r.getCursorPosition();if(0===i.column)return;for(var a=n.doc.getLine(i.row),s=n.doc.getLine(i.row+1),l=n.getTokens(i.row),c=0,u=0;u=i.column){if(c===i.column){if(!/\.doc/.test(d.type))return;if(/\*\//.test(d.value)){var p=l[u+1];if(!p||!/\.doc/.test(p.type))return}}var h=i.column-(c-d.value.length),f=d.value.indexOf("*/"),m=d.value.indexOf("/**",f>-1?f+2:0);if(-1!==m&&h>m&&h=f&&h<=m||!/\.doc/.test(d.type))return;break}}var g=this.$getIndent(a);if(/\s*\*/.test(s))return/^\s*\*/.test(a)?{text:o+g+"* ",selection:[1,2+g.length,1,2+g.length]}:{text:o+g+" * ",selection:[1,3+g.length,1,3+g.length]};if(/\/\*\*/.test(a.substring(0,i.column)))return{text:o+g+" * "+o+" "+g+"*/",selection:[1,4+g.length,1,4+g.length]}}}))}).isSaneInsertion=function(e,t){var r=e.getCursorPosition(),n=new s(t,r.row,r.column);if(!this.$matchTokenType(n.getCurrentToken()||"text",c)){if(/[)}\]]/.test(e.session.getLine(r.row)[r.column]))return!0;var o=new s(t,r.row,r.column+1);if(!this.$matchTokenType(o.getCurrentToken()||"text",c))return!1}return n.stepForward(),n.getCurrentTokenRow()!==r.row||this.$matchTokenType(n.getCurrentToken()||"text",u)},o.$matchTokenType=function(e,t){return t.indexOf(e.type||e)>-1},o.recordAutoInsert=function(e,t,r){var o=e.getCursorPosition(),i=t.doc.getLine(o.row);this.isAutoInsertedClosing(o,i,n.autoInsertedLineEnd[0])||(n.autoInsertedBrackets=0),n.autoInsertedRow=o.row,n.autoInsertedLineEnd=r+i.substr(o.column),n.autoInsertedBrackets++},o.recordMaybeInsert=function(e,t,r){var o=e.getCursorPosition(),i=t.doc.getLine(o.row);this.isMaybeInsertedClosing(o,i)||(n.maybeInsertedBrackets=0),n.maybeInsertedRow=o.row,n.maybeInsertedLineStart=i.substr(0,o.column)+r,n.maybeInsertedLineEnd=i.substr(o.column),n.maybeInsertedBrackets++},o.isAutoInsertedClosing=function(e,t,r){return n.autoInsertedBrackets>0&&e.row===n.autoInsertedRow&&r===n.autoInsertedLineEnd[0]&&t.substr(e.column)===n.autoInsertedLineEnd},o.isMaybeInsertedClosing=function(e,t){return n.maybeInsertedBrackets>0&&e.row===n.maybeInsertedRow&&t.substr(e.column)===n.maybeInsertedLineEnd&&t.substr(0,e.column)==n.maybeInsertedLineStart},o.popAutoInsertedClosing=function(){n.autoInsertedLineEnd=n.autoInsertedLineEnd.substr(1),n.autoInsertedBrackets--},o.clearMaybeInsertedClosing=function(){n&&(n.maybeInsertedBrackets=0,n.maybeInsertedRow=-1)},i.inherits(o,a),t.CstyleBehaviour=o})),ace.define("ace/unicode",["require","exports","module"],(function(e,t,r){"use strict";for(var n=[48,9,8,25,5,0,2,25,48,0,11,0,5,0,6,22,2,30,2,457,5,11,15,4,8,0,2,0,18,116,2,1,3,3,9,0,2,2,2,0,2,19,2,82,2,138,2,4,3,155,12,37,3,0,8,38,10,44,2,0,2,1,2,1,2,0,9,26,6,2,30,10,7,61,2,9,5,101,2,7,3,9,2,18,3,0,17,58,3,100,15,53,5,0,6,45,211,57,3,18,2,5,3,11,3,9,2,1,7,6,2,2,2,7,3,1,3,21,2,6,2,0,4,3,3,8,3,1,3,3,9,0,5,1,2,4,3,11,16,2,2,5,5,1,3,21,2,6,2,1,2,1,2,1,3,0,2,4,5,1,3,2,4,0,8,3,2,0,8,15,12,2,2,8,2,2,2,21,2,6,2,1,2,4,3,9,2,2,2,2,3,0,16,3,3,9,18,2,2,7,3,1,3,21,2,6,2,1,2,4,3,8,3,1,3,2,9,1,5,1,2,4,3,9,2,0,17,1,2,5,4,2,2,3,4,1,2,0,2,1,4,1,4,2,4,11,5,4,4,2,2,3,3,0,7,0,15,9,18,2,2,7,2,2,2,22,2,9,2,4,4,7,2,2,2,3,8,1,2,1,7,3,3,9,19,1,2,7,2,2,2,22,2,9,2,4,3,8,2,2,2,3,8,1,8,0,2,3,3,9,19,1,2,7,2,2,2,22,2,15,4,7,2,2,2,3,10,0,9,3,3,9,11,5,3,1,2,17,4,23,2,8,2,0,3,6,4,0,5,5,2,0,2,7,19,1,14,57,6,14,2,9,40,1,2,0,3,1,2,0,3,0,7,3,2,6,2,2,2,0,2,0,3,1,2,12,2,2,3,4,2,0,2,5,3,9,3,1,35,0,24,1,7,9,12,0,2,0,2,0,5,9,2,35,5,19,2,5,5,7,2,35,10,0,58,73,7,77,3,37,11,42,2,0,4,328,2,3,3,6,2,0,2,3,3,40,2,3,3,32,2,3,3,6,2,0,2,3,3,14,2,56,2,3,3,66,5,0,33,15,17,84,13,619,3,16,2,25,6,74,22,12,2,6,12,20,12,19,13,12,2,2,2,1,13,51,3,29,4,0,5,1,3,9,34,2,3,9,7,87,9,42,6,69,11,28,4,11,5,11,11,39,3,4,12,43,5,25,7,10,38,27,5,62,2,28,3,10,7,9,14,0,89,75,5,9,18,8,13,42,4,11,71,55,9,9,4,48,83,2,2,30,14,230,23,280,3,5,3,37,3,5,3,7,2,0,2,0,2,0,2,30,3,52,2,6,2,0,4,2,2,6,4,3,3,5,5,12,6,2,2,6,67,1,20,0,29,0,14,0,17,4,60,12,5,0,4,11,18,0,5,0,3,9,2,0,4,4,7,0,2,0,2,0,2,3,2,10,3,3,6,4,5,0,53,1,2684,46,2,46,2,132,7,6,15,37,11,53,10,0,17,22,10,6,2,6,2,6,2,6,2,6,2,6,2,6,2,6,2,31,48,0,470,1,36,5,2,4,6,1,5,85,3,1,3,2,2,89,2,3,6,40,4,93,18,23,57,15,513,6581,75,20939,53,1164,68,45,3,268,4,27,21,31,3,13,13,1,2,24,9,69,11,1,38,8,3,102,3,1,111,44,25,51,13,68,12,9,7,23,4,0,5,45,3,35,13,28,4,64,15,10,39,54,10,13,3,9,7,22,4,1,5,66,25,2,227,42,2,1,3,9,7,11171,13,22,5,48,8453,301,3,61,3,105,39,6,13,4,6,11,2,12,2,4,2,0,2,1,2,1,2,107,34,362,19,63,3,53,41,11,5,15,17,6,13,1,25,2,33,4,2,134,20,9,8,25,5,0,2,25,12,88,4,5,3,5,3,5,3,2],o=0,i=[],a=0;a2?n%l!=l-1:n%l==0})}else{if(!this.blockComment)return!1;var h=this.blockComment.start,f=this.blockComment.end,m=new RegExp("^(\\s*)(?:"+c.escapeRegExp(h)+")"),g=new RegExp("(?:"+c.escapeRegExp(f)+")\\s*$"),y=function(e,t){b(e,t)||i&&!/\S/.test(e)||(o.insertInLine({row:t,column:e.length},f),o.insertInLine({row:t,column:s},h))},v=function(e,t){var r;(r=e.match(g))&&o.removeInLine(t,e.length-r[0].length,e.length),(r=e.match(m))&&o.removeInLine(t,r[1].length,r[0].length)},b=function(e,r){if(m.test(e))return!0;for(var n=t.getTokens(r),o=0;oe.length&&(_=e.length)})),s==1/0&&(s=_,i=!1,a=!1),u&&s%l!=0&&(s=Math.floor(s/l)*l),w(a?v:y)},this.toggleBlockComment=function(e,t,r,n){var o=this.blockComment;if(o){!o.start&&o[0]&&(o=o[0]);var i,a,s=(m=new u(t,n.row,n.column)).getCurrentToken(),l=(t.selection,t.selection.toOrientedRange());if(s&&/comment/.test(s.type)){for(var c,p;s&&/comment/.test(s.type);){if(-1!=(g=s.value.indexOf(o.start))){var h=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+g;c=new d(h,f,h,f+o.start.length);break}s=m.stepBackward()}var m;for(s=(m=new u(t,n.row,n.column)).getCurrentToken();s&&/comment/.test(s.type);){var g;if(-1!=(g=s.value.indexOf(o.end))){h=m.getCurrentTokenRow(),f=m.getCurrentTokenColumn()+g;p=new d(h,f,h,f+o.end.length);break}s=m.stepForward()}p&&t.remove(p),c&&(t.remove(c),i=c.start.row,a=-o.start.length)}else a=o.start.length,i=r.start.row,t.insert(r.end,o.end),t.insert(r.start,o.start);l.start.row==i&&(l.start.column+=a),l.end.row==i&&(l.end.column+=a),t.selection.fromOrientedRange(l)}},this.getNextLineIndent=function(e,t,r){return this.$getIndent(t)},this.checkOutdent=function(e,t,r){return!1},this.autoOutdent=function(e,t,r){},this.$getIndent=function(e){return e.match(/^\s*/)[0]},this.createWorker=function(e){return null},this.createModeDelegates=function(e){for(var t in this.$embeds=[],this.$modes={},e)if(e[t]){var r=e[t],n=r.prototype.$id,i=o.$modes[n];i||(o.$modes[n]=i=new r),o.$modes[t]||(o.$modes[t]=i),this.$embeds.push(t),this.$modes[t]=i}var a=["toggleBlockComment","toggleCommentLines","getNextLineIndent","checkOutdent","autoOutdent","transformAction","getCompletions"],s=function(e){!function(t){var r=a[e],n=t[r];t[a[e]]=function(){return this.$delegator(r,arguments,n)}}(l)},l=this;for(t=0;tthis.row)){var t=function(e,t,r){var n="insert"==e.action,o=(n?1:-1)*(e.end.row-e.start.row),i=(n?1:-1)*(e.end.column-e.start.column),s=e.start,l=n?s:e.end;if(a(t,s,r))return{row:t.row,column:t.column};if(a(l,t,!r))return{row:t.row+o,column:t.column+(t.row==l.row?i:0)};return{row:s.row,column:s.column}}(e,{row:this.row,column:this.column},this.$insertRight);this.setPosition(t.row,t.column,!0)}},e.prototype.setPosition=function(e,t,r){var n;if(n=r?{row:e,column:t}:this.$clipPositionToDocument(e,t),this.row!=n.row||this.column!=n.column){var o={row:this.row,column:this.column};this.row=n.row,this.column=n.column,this._signal("change",{old:o,value:n})}},e.prototype.detach=function(){this.document.off("change",this.$onChange)},e.prototype.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},e.prototype.$clipPositionToDocument=function(e,t){var r={};return e>=this.document.getLength()?(r.row=Math.max(0,this.document.getLength()-1),r.column=this.document.getLine(r.row).length):e<0?(r.row=0,r.column=0):(r.row=e,r.column=Math.min(this.document.getLine(r.row).length,Math.max(0,t))),t<0&&(r.column=0),r},e}();function a(e,t,r){var n=r?e.column<=t.column:e.column=r&&(e=r-1,t=void 0);var n=this.getLine(e);return void 0==t&&(t=n.length),{row:e,column:t=Math.min(Math.max(t,0),n.length)}},e.prototype.clonePos=function(e){return{row:e.row,column:e.column}},e.prototype.pos=function(e,t){return{row:e,column:t}},e.prototype.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):(e.row=Math.max(0,e.row),e.column=Math.min(Math.max(e.column,0),this.getLine(e.row).length)),e},e.prototype.insertFullLines=function(e,t){var r=0;(e=Math.min(Math.max(e,0),this.getLength()))0,n=t=0&&this.applyDelta({start:this.pos(e,this.getLine(e).length),end:this.pos(e+1,0),action:"remove",lines:["",""]})},e.prototype.replace=function(e,t){return e instanceof a||(e=a.fromPoints(e.start,e.end)),0===t.length&&e.isEmpty()?e.start:t==this.getTextRange(e)?e.end:(this.remove(e),t?this.insert(e.start,t):e.start)},e.prototype.applyDeltas=function(e){for(var t=0;t=0;t--)this.revertDelta(e[t])},e.prototype.applyDelta=function(e,t){var r="insert"==e.action;(r?e.lines.length<=1&&!e.lines[0]:!a.comparePoints(e.start,e.end))||(r&&e.lines.length>2e4?this.$splitAndapplyLargeDelta(e,2e4):(o(this.$lines,e,t),this._signal("change",e)))},e.prototype.$safeApplyDelta=function(e){var t=this.$lines.length;("remove"==e.action&&e.start.row20){r.running=setTimeout(r.$worker,20);break}}r.currentLine=t,-1==n&&(n=t),i<=n&&r.fireUpdateEvent(i,n)}}}return e.prototype.setTokenizer=function(e){this.tokenizer=e,this.lines=[],this.states=[],this.start(0)},e.prototype.setDocument=function(e){this.doc=e,this.lines=[],this.states=[],this.stop()},e.prototype.fireUpdateEvent=function(e,t){var r={first:e,last:t};this._signal("update",{data:r})},e.prototype.start=function(e){this.currentLine=Math.min(e||0,this.currentLine,this.doc.getLength()),this.lines.splice(this.currentLine,this.lines.length),this.states.splice(this.currentLine,this.states.length),this.stop(),this.running=setTimeout(this.$worker,700)},e.prototype.scheduleStart=function(){this.running||(this.running=setTimeout(this.$worker,700))},e.prototype.$updateOnChange=function(e){var t=e.start.row,r=e.end.row-t;if(0===r)this.lines[t]=null;else if("remove"==e.action)this.lines.splice(t,r+1,null),this.states.splice(t,r+1,null);else{var n=Array(r+1);n.unshift(t,1),this.lines.splice.apply(this.lines,n),this.states.splice.apply(this.states,n)}this.currentLine=Math.min(t,this.currentLine,this.doc.getLength()),this.stop()},e.prototype.stop=function(){this.running&&clearTimeout(this.running),this.running=!1},e.prototype.getTokens=function(e){return this.lines[e]||this.$tokenizeRow(e)},e.prototype.getState=function(e){return this.currentLine==e&&this.$tokenizeRow(e),this.states[e]||"start"},e.prototype.$tokenizeRow=function(e){var t=this.doc.getLine(e),r=this.states[e-1],n=this.tokenizer.getLineTokens(t,r,e);return this.states[e]+""!==n.state+""?(this.states[e]=n.state,this.lines[e+1]=null,this.currentLine>e+1&&(this.currentLine=e+1)):this.currentLine==e&&(this.currentLine=e+1),this.lines[e]=n.tokens},e.prototype.cleanup=function(){this.running=!1,this.lines=[],this.states=[],this.currentLine=0,this.removeAllListeners()},e}();n.implement(i.prototype,o),t.BackgroundTokenizer=i})),ace.define("ace/search_highlight",["require","exports","module","ace/lib/lang","ace/range"],(function(e,t,r){"use strict";var n=e("./lib/lang"),o=e("./range").Range,i=function(){function e(e,t,r){void 0===r&&(r="text"),this.setRegexp(e),this.clazz=t,this.type=r}return e.prototype.setRegexp=function(e){this.regExp+""!=e+""&&(this.regExp=e,this.cache=[])},e.prototype.update=function(e,t,r,i){if(this.regExp)for(var a=i.firstRow,s=i.lastRow,l={},c=a;c<=s;c++){var u=this.cache[c];null==u&&((u=n.getMatchOffsets(r.getLine(c),this.regExp)).length>this.MAX_RANGES&&(u=u.slice(0,this.MAX_RANGES)),u=u.map((function(e){return new o(c,e.offset,c,e.offset+e.length)})),this.cache[c]=u.length?u:"");for(var d=u.length;d--;){var p=u[d].toScreenRange(r),h=p.toString();l[h]||(l[h]=!0,t.drawSingleLineMarker(e,p,this.clazz,i))}}},e}();i.prototype.MAX_RANGES=500,t.SearchHighlight=i})),ace.define("ace/undomanager",["require","exports","module","ace/range"],(function(e,t,r){"use strict";var n=function(){function e(){this.$keepRedoStack,this.$maxRev=0,this.$fromUndo=!1,this.$undoDepth=1/0,this.reset()}return e.prototype.addSession=function(e){this.$session=e},e.prototype.add=function(e,t,r){if(!this.$fromUndo&&e!=this.$lastDelta){if(this.$keepRedoStack||(this.$redoStack.length=0),!1===t||!this.lastDeltas){this.lastDeltas=[];var n=this.$undoStack.length;n>this.$undoDepth-1&&this.$undoStack.splice(0,n-this.$undoDepth+1),this.$undoStack.push(this.lastDeltas),e.id=this.$rev=++this.$maxRev}"remove"!=e.action&&"insert"!=e.action||(this.$lastDelta=e),this.lastDeltas.push(e)}},e.prototype.addSelection=function(e,t){this.selections.push({value:e,rev:t||this.$rev})},e.prototype.startNewGroup=function(){return this.lastDeltas=null,this.$rev},e.prototype.markIgnored=function(e,t){null==t&&(t=this.$rev+1);for(var r=this.$undoStack,n=r.length;n--;){var o=r[n][0];if(o.id<=e)break;o.id0},e.prototype.canRedo=function(){return this.$redoStack.length>0},e.prototype.bookmark=function(e){void 0==e&&(e=this.$rev),this.mark=e},e.prototype.isAtBookmark=function(){return this.$rev===this.mark},e.prototype.toJSON=function(){return{$redoStack:this.$redoStack,$undoStack:this.$undoStack}},e.prototype.fromJSON=function(e){this.reset(),this.$undoStack=e.$undoStack,this.$redoStack=e.$redoStack},e.prototype.$prettyPrint=function(e){return e?s(e):s(this.$undoStack)+"\n---\n"+s(this.$redoStack)},e}();n.prototype.hasUndo=n.prototype.canUndo,n.prototype.hasRedo=n.prototype.canRedo,n.prototype.isClean=n.prototype.isAtBookmark,n.prototype.markClean=n.prototype.bookmark;var o=e("./range").Range,i=o.comparePoints;o.comparePoints;function a(e){return{row:e.row,column:e.column}}function s(e){if(e=e||this,Array.isArray(e))return e.map(s).join("\n");var t="";return e.action?(t="insert"==e.action?"+":"-",t+="["+e.lines+"]"):e.value&&(t=Array.isArray(e.value)?e.value.map(l).join("\n"):l(e.value)),e.start&&(t+=l(e)),(e.id||e.rev)&&(t+="\t("+(e.id||e.rev)+")"),t}function l(e){return e.start.row+":"+e.start.column+"=>"+e.end.row+":"+e.end.column}function c(e,t){var r="insert"==e.action,n="insert"==t.action;if(r&&n)if(i(t.start,e.end)>=0)p(t,e,-1);else{if(!(i(t.start,e.start)<=0))return null;p(e,t,1)}else if(r&&!n)if(i(t.start,e.end)>=0)p(t,e,-1);else{if(!(i(t.end,e.start)<=0))return null;p(e,t,-1)}else if(!r&&n)if(i(t.start,e.start)>=0)p(t,e,1);else{if(!(i(t.start,e.start)<=0))return null;p(e,t,1)}else if(!r&&!n)if(i(t.start,e.start)>=0)p(t,e,1);else{if(!(i(t.end,e.start)<=0))return null;p(e,t,-1)}return[t,e]}function u(e,t){for(var r=e.length;r--;)for(var n=0;n=0?p(e,t,-1):(i(e.start,t.start)<=0||p(e,o.fromPoints(t.start,e.start),-1),p(t,e,1));else if(!r&&n)i(t.start,e.end)>=0?p(t,e,-1):(i(t.start,e.start)<=0||p(t,o.fromPoints(e.start,t.start),-1),p(e,t,1));else if(!r&&!n)if(i(t.start,e.end)>=0)p(t,e,-1);else{var a,s;if(!(i(t.end,e.start)<=0))return i(e.start,t.start)<0&&(a=e,e=f(e,t.start)),i(e.end,t.end)>0&&(s=f(e,t.end)),h(t.end,e.start,e.end,-1),s&&!a&&(e.lines=s.lines,e.start=s.start,e.end=s.end,s=e),[t,a,s].filter(Boolean);p(e,t,-1)}return[t,e]}function p(e,t,r){h(e.start,t.start,t.end,r),h(e.end,t.start,t.end,r)}function h(e,t,r,n){e.row==(1==n?t:r).row&&(e.column+=n*(r.column-t.column)),e.row+=n*(r.row-t.row)}function f(e,t){var r=e.lines,n=e.end;e.end=a(t);var o=e.end.row-e.start.row,i=r.splice(o,r.length),s=o?t.column:t.column-e.start.column;return r.push(i[0].substring(0,s)),i[0]=i[0].substr(s),{start:a(t),end:n,lines:i,action:e.action}}function m(e,t){t=function(e){return{start:a(e.start),end:a(e.end),action:e.action,lines:e.lines.slice()}}(t);for(var r=e.length;r--;){for(var n=e[r],o=0;othis.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(e),this.folds.sort((function(e,t){return-e.range.compareEnd(t.start.row,t.start.column)})),this.range.compareEnd(e.start.row,e.start.column)>0?(this.end.row=e.end.row,this.end.column=e.end.column):this.range.compareStart(e.end.row,e.end.column)<0&&(this.start.row=e.start.row,this.start.column=e.start.column)}else if(e.start.row==this.end.row)this.folds.push(e),this.end.row=e.end.row,this.end.column=e.end.column;else{if(e.end.row!=this.start.row)throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");this.folds.unshift(e),this.start.row=e.start.row,this.start.column=e.start.column}e.foldLine=this},e.prototype.containsRow=function(e){return e>=this.start.row&&e<=this.end.row},e.prototype.walk=function(e,t,r){var n,o,i=0,a=this.folds,s=!0;null==t&&(t=this.end.row,r=this.end.column);for(var l=0;l0)){var l=n(e,a.start);return 0===s?t&&0!==l?-i-2:i:l>0||0===l&&!t?i:-i-1}}return-i-1},e.prototype.add=function(e){var t=!e.isEmpty(),r=this.pointIndex(e.start,t);r<0&&(r=-r-1);var n=this.pointIndex(e.end,t,r);return n<0?n=-n-1:n++,this.ranges.splice(r,n-r,e)},e.prototype.addList=function(e){for(var t=[],r=e.length;r--;)t.push.apply(t,this.add(e[r]));return t},e.prototype.substractPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges.splice(t,1)},e.prototype.merge=function(){for(var e,t=[],r=this.ranges,o=(r=r.sort((function(e,t){return n(e.start,t.start)})))[0],i=1;i=0},e.prototype.containsPoint=function(e){return this.pointIndex(e)>=0},e.prototype.rangeAtPoint=function(e){var t=this.pointIndex(e);if(t>=0)return this.ranges[t]},e.prototype.clipRows=function(e,t){var r=this.ranges;if(r[0].start.row>t||r[r.length-1].start.row=n)break}if("insert"==e.action)for(var l=o-n,c=-t.column+r.column;an)break;if(u.start.row==n&&u.start.column>=t.column&&(u.start.column==t.column&&this.$bias<=0||(u.start.column+=c,u.start.row+=l)),u.end.row==n&&u.end.column>=t.column){if(u.end.column==t.column&&this.$bias<0)continue;u.end.column==t.column&&c>0&&au.start.column&&u.end.column==i[a+1].start.column&&(u.end.column-=c),u.end.column+=c,u.end.row+=l}}else for(l=n-o,c=t.column-r.column;ao)break;u.end.rowt.column)&&(u.end.column=t.column,u.end.row=t.row):(u.end.column+=c,u.end.row+=l):u.end.row>o&&(u.end.row+=l),u.start.rowt.column)&&(u.start.column=t.column,u.start.row=t.row):(u.start.column+=c,u.start.row+=l):u.start.row>o&&(u.start.row+=l)}if(0!=l&&a=e)return o;if(o.end.row>e)return null}return null},this.getNextFoldLine=function(e,t){var r=this.$foldData,n=0;for(t&&(n=r.indexOf(t)),-1==n&&(n=0);n=e)return o}return null},this.getFoldedRowCount=function(e,t){for(var r=this.$foldData,n=t-e+1,o=0;o=t){s=e?n-=t-s:n=0);break}a>=e&&(n-=s>=e?a-s:a-e+1)}return n},this.$addFoldLine=function(e){return this.$foldData.push(e),this.$foldData.sort((function(e,t){return e.start.row-t.start.row})),e},this.addFold=function(e,t){var r,n=this.$foldData,a=!1;e instanceof i?r=e:(r=new i(t,e)).collapseChildren=t.collapseChildren,this.$clipRangeToDocument(r.range);var s=r.start.row,l=r.start.column,c=r.end.row,u=r.end.column,d=this.getFoldAt(s,l,1),p=this.getFoldAt(c,u,-1);if(d&&p==d)return d.addSubFold(r);d&&!d.range.isStart(s,l)&&this.removeFold(d),p&&!p.range.isEnd(c,u)&&this.removeFold(p);var h=this.getFoldsInRange(r.range);h.length>0&&(this.removeFolds(h),r.collapseChildren||h.forEach((function(e){r.addSubFold(e)})));for(var f=0;f0&&this.foldAll(e.start.row+1,e.end.row,e.collapseChildren-1),e.subFolds=[]},this.expandFolds=function(e){e.forEach((function(e){this.expandFold(e)}),this)},this.unfold=function(e,t){var r,o;if(null==e)r=new n(0,0,this.getLength(),0),null==t&&(t=!0);else if("number"==typeof e)r=new n(e,0,e,this.getLine(e).length);else if("row"in e)r=n.fromPoints(e,e);else{if(Array.isArray(e))return o=[],e.forEach((function(e){o=o.concat(this.unfold(e))}),this),o;r=e}for(var i=o=this.getFoldsInRangeList(r);1==o.length&&n.comparePoints(o[0].start,r.start)<0&&n.comparePoints(o[0].end,r.end)>0;)this.expandFolds(o),o=this.getFoldsInRangeList(r);if(0!=t?this.removeFolds(o):this.expandFolds(o),i.length)return i},this.isRowFolded=function(e,t){return!!this.getFoldLine(e,t)},this.getRowFoldEnd=function(e,t){var r=this.getFoldLine(e,t);return r?r.end.row:e},this.getRowFoldStart=function(e,t){var r=this.getFoldLine(e,t);return r?r.start.row:e},this.getFoldDisplayLine=function(e,t,r,n,o){null==n&&(n=e.start.row),null==o&&(o=0),null==t&&(t=e.end.row),null==r&&(r=this.getLine(t).length);var i=this.doc,a="";return e.walk((function(e,t,r,s){if(!(td)break}while(i&&l.test(i.type));i=o.stepBackward()}else i=o.getCurrentToken();return c.end.row=o.getCurrentTokenRow(),c.end.column=o.getCurrentTokenColumn(),c}},this.foldAll=function(e,t,r,n){void 0==r&&(r=1e5);var o=this.foldWidgets;if(o){t=t||this.getLength();for(var i=e=e||0;i=e&&(i=a.end.row,a.collapseChildren=r,this.addFold("...",a))}}},this.foldToLevel=function(e){for(this.foldAll();e-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var e=this;this.foldAll(null,null,null,(function(t){for(var r=e.getTokens(t),n=0;n=0;){var i=r[o];if(null==i&&(i=r[o]=this.getFoldWidget(o)),"start"==i){var a=this.getFoldWidgetRange(o);if(n||(n=a),a&&a.end.row>=e)break}o--}return{range:-1!==o&&a,firstRange:n}},this.onFoldWidgetClick=function(e,t){t instanceof s&&(t=t.domEvent);var r={children:t.shiftKey,all:t.ctrlKey||t.metaKey,siblings:t.altKey};if(!this.$toggleFoldWidget(e,r)){var n=t.target||t.srcElement;n&&/ace_fold-widget/.test(n.className)&&(n.className+=" ace_invalid")}},this.$toggleFoldWidget=function(e,t){if(this.getFoldWidget){var r=this.getFoldWidget(e),n=this.getLine(e),o="end"===r?-1:1,i=this.getFoldAt(e,-1===o?0:n.length,o);if(i)return t.children||t.all?this.removeFold(i):this.expandFold(i),i;var a=this.getFoldWidgetRange(e,!0);if(a&&!a.isMultiLine()&&(i=this.getFoldAt(a.start.row,a.start.column,1))&&a.isEqual(i.range))return this.removeFold(i),i;if(t.siblings){var s=this.getParentFoldRangeData(e);if(s.range)var l=s.range.start.row+1,c=s.range.end.row;this.foldAll(l,c,t.all?1e4:0)}else t.children?(c=a?a.end.row:this.getLength(),this.foldAll(e+1,c,t.all?1e4:0)):a&&(t.all&&(a.collapseChildren=1e4),this.addFold("...",a));return a}},this.toggleFoldWidget=function(e){var t=this.selection.getCursor().row;t=this.getRowFoldStart(t);var r=this.$toggleFoldWidget(t,{});if(!r){var n=this.getParentFoldRangeData(t,!0);if(r=n.range||n.firstRange){t=r.start.row;var o=this.getFoldAt(t,this.getLine(t).length,1);o?this.removeFold(o):this.addFold("...",r)}}},this.updateFoldWidgets=function(e){var t=e.start.row,r=e.end.row-t;if(0===r)this.foldWidgets[t]=null;else if("remove"==e.action)this.foldWidgets.splice(t,r+1,null);else{var n=Array(r+1);n.unshift(t,1),this.foldWidgets.splice.apply(this.foldWidgets,n)}},this.tokenizerUpdateFoldWidgets=function(e){var t=e.data;t.first!=t.last&&this.foldWidgets.length>t.first&&this.foldWidgets.splice(t.first,this.foldWidgets.length)}}})),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],(function(e,t,r){"use strict";var n=e("../token_iterator").TokenIterator,o=e("../range").Range;t.BracketMatch=function(){this.findMatchingBracket=function(e,t){if(0==e.column)return null;var r=t||this.getLine(e.row).charAt(e.column-1);if(""==r)return null;var n=r.match(/([\(\[\{])|([\)\]\}])/);return n?n[1]?this.$findClosingBracket(n[1],e):this.$findOpeningBracket(n[2],e):null},this.getBracketRange=function(e){var t,r=this.getLine(e.row),n=!0,i=r.charAt(e.column-1),a=i&&i.match(/([\(\[\{])|([\)\]\}])/);if(a||(i=r.charAt(e.column),e={row:e.row,column:e.column+1},a=i&&i.match(/([\(\[\{])|([\)\]\}])/),n=!1),!a)return null;if(a[1]){if(!(s=this.$findClosingBracket(a[1],e)))return null;t=o.fromPoints(e,s),n||(t.end.column++,t.start.column--),t.cursor=t.end}else{var s;if(!(s=this.$findOpeningBracket(a[2],e)))return null;t=o.fromPoints(s,e),n||(t.start.column++,t.end.column--),t.cursor=t.start}return t},this.getMatchingBracketRanges=function(e,t){var r=this.getLine(e.row),n=/([\(\[\{])|([\)\]\}])/,i=!t&&r.charAt(e.column-1),a=i&&i.match(n);if(a||(i=(void 0===t||t)&&r.charAt(e.column),e={row:e.row,column:e.column+1},a=i&&i.match(n)),!a)return null;var s=new o(e.row,e.column-1,e.row,e.column),l=a[1]?this.$findClosingBracket(a[1],e):this.$findOpeningBracket(a[2],e);return l?[s,new o(l.row,l.column,l.row,l.column+1)]:[s]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(e,t,r){var o=this.$brackets[e],i=1,a=new n(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){r||(r=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var l=t.column-a.getCurrentTokenColumn()-2,c=s.value;;){for(;l>=0;){var u=c.charAt(l);if(u==o){if(0==(i-=1))return{row:a.getCurrentTokenRow(),column:l+a.getCurrentTokenColumn()}}else u==e&&(i+=1);l-=1}do{s=a.stepBackward()}while(s&&!r.test(s.type));if(null==s)break;l=(c=s.value).length-1}return null}},this.$findClosingBracket=function(e,t,r){var o=this.$brackets[e],i=1,a=new n(this,t.row,t.column),s=a.getCurrentToken();if(s||(s=a.stepForward()),s){r||(r=new RegExp("(\\.?"+s.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var l=t.column-a.getCurrentTokenColumn();;){for(var c=s.value,u=c.length;l"===t.value?n=!0:-1!==t.type.indexOf("tag-name")&&(r=!0))}while(t&&!r);return t},this.$findClosingTag=function(e,t){var r,n=t.value,i=t.value,a=0,s=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);t=e.stepForward();var l=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length),c=!1;do{if(-1!==(r=t).type.indexOf("tag-close")&&!c){var u=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(t=e.stepForward()){if(">"===t.value&&!c){u=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);c=!0}if(-1!==t.type.indexOf("tag-name")){if(i===(n=t.value))if("<"===r.value)a++;else if(""!==t.value)return;var h=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else if(i===n&&"/>"===t.value&&--a<0)h=p=d=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+2),u=new o(l.end.row,l.end.column,l.end.row,l.end.column+1)}}while(t&&a>=0);if(s&&u&&d&&h&&l&&p)return{openTag:new o(s.start.row,s.start.column,u.end.row,u.end.column),closeTag:new o(d.start.row,d.start.column,h.end.row,h.end.column),openTagName:l,closeTagName:p}},this.$findOpeningTag=function(e,t){var r=e.getCurrentToken(),n=t.value,i=0,a=e.getCurrentTokenRow(),s=e.getCurrentTokenColumn(),l=s+2,c=new o(a,s,a,l);e.stepForward();var u=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+t.value.length);if(-1===t.type.indexOf("tag-close")&&(t=e.stepForward()),t&&">"===t.value){var d=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);e.stepBackward(),e.stepBackward();do{if(t=r,a=e.getCurrentTokenRow(),l=(s=e.getCurrentTokenColumn())+t.value.length,r=e.stepBackward(),t)if(-1!==t.type.indexOf("tag-name")){if(n===t.value)if("<"===r.value){if(++i>0){var p=new o(a,s,a,l),h=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1);do{t=e.stepForward()}while(t&&">"!==t.value);var f=new o(e.getCurrentTokenRow(),e.getCurrentTokenColumn(),e.getCurrentTokenRow(),e.getCurrentTokenColumn()+1)}}else""===t.value){for(var m=0,g=r;g;){if(-1!==g.type.indexOf("tag-name")&&g.value===n){i--;break}if("<"===g.value)break;g=e.stepBackward(),m++}for(var y=0;yr&&(this.$docRowCache.splice(r,t),this.$screenRowCache.splice(r,t))},e.prototype.$getRowCacheIndex=function(e,t){for(var r=0,n=e.length-1;r<=n;){var o=r+n>>1,i=e[o];if(t>i)r=o+1;else{if(!(t=t);i++);return(r=n[i])?(r.index=i,r.start=o-r.value.length,r):null},e.prototype.setUndoManager=function(e){if(this.$undoManager=e,this.$informUndoManager&&this.$informUndoManager.cancel(),e){var t=this;e.addSession(this),this.$syncInformUndoManager=function(){t.$informUndoManager.cancel(),t.mergeUndoDeltas=!1},this.$informUndoManager=o.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},e.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},e.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},e.prototype.getTabString=function(){return this.getUseSoftTabs()?o.stringRepeat(" ",this.getTabSize()):"\t"},e.prototype.setUseSoftTabs=function(e){this.setOption("useSoftTabs",e)},e.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},e.prototype.setTabSize=function(e){this.setOption("tabSize",e)},e.prototype.getTabSize=function(){return this.$tabSize},e.prototype.isTabStop=function(e){return this.$useSoftTabs&&e.column%this.$tabSize===0},e.prototype.setNavigateWithinSoftTabs=function(e){this.setOption("navigateWithinSoftTabs",e)},e.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},e.prototype.setOverwrite=function(e){this.setOption("overwrite",e)},e.prototype.getOverwrite=function(){return this.$overwrite},e.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},e.prototype.addGutterDecoration=function(e,t){this.$decorations[e]||(this.$decorations[e]=""),this.$decorations[e]+=" "+t,this._signal("changeBreakpoint",{})},e.prototype.removeGutterDecoration=function(e,t){this.$decorations[e]=(this.$decorations[e]||"").replace(" "+t,""),this._signal("changeBreakpoint",{})},e.prototype.getBreakpoints=function(){return this.$breakpoints},e.prototype.setBreakpoints=function(e){this.$breakpoints=[];for(var t=0;t0&&(n=!!r.charAt(t-1).match(this.tokenRe)),n||(n=!!r.charAt(t).match(this.tokenRe)),n)var o=this.tokenRe;else if(/^\s+$/.test(r.slice(t-1,t+1)))o=/\s/;else o=this.nonTokenRe;var i=t;if(i>0){do{i--}while(i>=0&&r.charAt(i).match(o));i++}for(var a=t;ae&&(e=t.screenWidth)})),this.lineWidgetWidth=e},e.prototype.$computeWidth=function(e){if(this.$modified||e){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var t=this.doc.getAllLines(),r=this.$rowLengthCache,n=0,o=0,i=this.$foldData[o],a=i?i.start.row:1/0,s=t.length,l=0;la){if((l=i.end.row+1)>=s)break;a=(i=this.$foldData[o++])?i.start.row:1/0}null==r[l]&&(r[l]=this.$getStringScreenWidth(t[l])[0]),r[l]>n&&(n=r[l])}this.screenWidth=n}},e.prototype.getLine=function(e){return this.doc.getLine(e)},e.prototype.getLines=function(e,t){return this.doc.getLines(e,t)},e.prototype.getLength=function(){return this.doc.getLength()},e.prototype.getTextRange=function(e){return this.doc.getTextRange(e||this.selection.getRange())},e.prototype.insert=function(e,t){return this.doc.insert(e,t)},e.prototype.remove=function(e){return this.doc.remove(e)},e.prototype.removeFullLines=function(e,t){return this.doc.removeFullLines(e,t)},e.prototype.undoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var r=e.length-1;-1!=r;r--){var n=e[r];"insert"==n.action||"remove"==n.action?this.doc.revertDelta(n):n.folds&&this.addFolds(n.folds)}!t&&this.$undoSelect&&(e.selectionBefore?this.selection.fromJSON(e.selectionBefore):this.selection.setRange(this.$getUndoSelection(e,!0))),this.$fromUndo=!1}},e.prototype.redoChanges=function(e,t){if(e.length){this.$fromUndo=!0;for(var r=0;re.end.column&&(i.start.column+=c),i.end.row==e.end.row&&i.end.column>e.end.column&&(i.end.column+=c)),a&&i.start.row>=e.end.row&&(i.start.row+=a,i.end.row+=a)}if(i.end=this.insert(i.start,n),o.length){var s=e.start,l=i.start,c=(a=l.row-s.row,l.column-s.column);this.addFolds(o.map((function(e){return(e=e.clone()).start.row==s.row&&(e.start.column+=c),e.end.row==s.row&&(e.end.column+=c),e.start.row+=a,e.end.row+=a,e})))}return i},e.prototype.indentRows=function(e,t,r){r=r.replace(/\t/g,this.getTabString());for(var n=e;n<=t;n++)this.doc.insertInLine({row:n,column:0},r)},e.prototype.outdentRows=function(e){for(var t=e.collapseRows(),r=new u(0,0,0,0),n=this.getTabSize(),o=t.start.row;o<=t.end.row;++o){var i=this.getLine(o);r.start.row=o,r.end.row=o;for(var a=0;a0){var o;if((o=this.getRowFoldEnd(t+r))>this.doc.getLength()-1)return 0;n=o-t}else{e=this.$clipRowToDocument(e);n=(t=this.$clipRowToDocument(t))-e+1}var i=new u(e,0,t,Number.MAX_VALUE),a=this.getFoldsInRange(i).map((function(e){return(e=e.clone()).start.row+=n,e.end.row+=n,e})),s=0==r?this.doc.getLines(e,t):this.doc.removeFullLines(e,t);return this.doc.insertFullLines(e+n,s),a.length&&this.addFolds(a),n},e.prototype.moveLinesUp=function(e,t){return this.$moveLines(e,t,-1)},e.prototype.moveLinesDown=function(e,t){return this.$moveLines(e,t,1)},e.prototype.duplicateLines=function(e,t){return this.$moveLines(e,t,0)},e.prototype.$clipRowToDocument=function(e){return Math.max(0,Math.min(e,this.doc.getLength()-1))},e.prototype.$clipColumnToRow=function(e,t){return t<0?0:Math.min(this.doc.getLine(e).length,t)},e.prototype.$clipPositionToDocument=function(e,t){if(t=Math.max(0,t),e<0)e=0,t=0;else{var r=this.doc.getLength();e>=r?(e=r-1,t=this.doc.getLine(r-1).length):t=Math.min(this.doc.getLine(e).length,t)}return{row:e,column:t}},e.prototype.$clipRangeToDocument=function(e){e.start.row<0?(e.start.row=0,e.start.column=0):e.start.column=this.$clipColumnToRow(e.start.row,e.start.column);var t=this.doc.getLength()-1;return e.end.row>t?(e.end.row=t,e.end.column=this.doc.getLine(t).length):e.end.column=this.$clipColumnToRow(e.end.row,e.end.column),e},e.prototype.setUseWrapMode=function(e){if(e!=this.$useWrapMode){if(this.$useWrapMode=e,this.$modified=!0,this.$resetRowCache(0),e){var t=this.getLength();this.$wrapData=Array(t),this.$updateWrapData(0,t-1)}this._signal("changeWrapMode")}},e.prototype.getUseWrapMode=function(){return this.$useWrapMode},e.prototype.setWrapLimitRange=function(e,t){this.$wrapLimitRange.min===e&&this.$wrapLimitRange.max===t||(this.$wrapLimitRange={min:e,max:t},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},e.prototype.adjustWrapLimit=function(e,t){var r=this.$wrapLimitRange;r.max<0&&(r={min:t,max:t});var n=this.$constrainWrapLimit(e,r.min,r.max);return n!=this.$wrapLimit&&n>1&&(this.$wrapLimit=n,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0)},e.prototype.$constrainWrapLimit=function(e,t,r){return t&&(e=Math.max(t,e)),r&&(e=Math.min(r,e)),e},e.prototype.getWrapLimit=function(){return this.$wrapLimit},e.prototype.setWrapLimit=function(e){this.setWrapLimitRange(e,e)},e.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},e.prototype.$updateInternalDataOnChange=function(e){var t=this.$useWrapMode,r=e.action,n=e.start,o=e.end,i=n.row,a=o.row,s=a-i,l=null;if(this.$updating=!0,0!=s)if("remove"===r){this[t?"$wrapData":"$rowLengthCache"].splice(i,s);var c=this.$foldData;l=this.getFoldsInRange(e),this.removeFolds(l);var u=0;if(m=this.getFoldLine(o.row)){m.addRemoveChars(o.row,o.column,n.column-o.column),m.shiftRow(-s);var d=this.getFoldLine(i);d&&d!==m&&(d.merge(m),m=d),u=c.indexOf(m)+1}for(;u=o.row&&m.shiftRow(-s)}a=i}else{var p=Array(s);p.unshift(i,0);var h=t?this.$wrapData:this.$rowLengthCache;h.splice.apply(h,p);c=this.$foldData,u=0;if(m=this.getFoldLine(i)){var f=m.range.compareInside(n.row,n.column);0==f?(m=m.split(n.row,n.column))&&(m.shiftRow(s),m.addRemoveChars(a,0,o.column-n.column)):-1==f&&(m.addRemoveChars(i,0,o.column-n.column),m.shiftRow(s)),u=c.indexOf(m)+1}for(;u=i&&m.shiftRow(s)}}else s=Math.abs(e.start.column-e.end.column),"remove"===r&&(l=this.getFoldsInRange(e),this.removeFolds(l),s=-s),(m=this.getFoldLine(i))&&m.addRemoveChars(i,n.column,s);return t&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,t?this.$updateWrapData(i,a):this.$updateRowLengthCache(i,a),l},e.prototype.$updateRowLengthCache=function(e,t){this.$rowLengthCache[e]=null,this.$rowLengthCache[t]=null},e.prototype.$updateWrapData=function(e,t){var r,n,o=this.doc.getAllLines(),i=this.getTabSize(),a=this.$wrapData,s=this.$wrapLimit,l=e;for(t=Math.min(t,o.length-1);l<=t;)(n=this.getFoldLine(l,n))?(r=[],n.walk(function(e,t,n,i){var a;if(null!=e){(a=this.$getDisplayTokens(e,r.length))[0]=v;for(var s=1;st-d;){var p=i+t-d;if(e[p-1]>=_&&e[p]>=_)u(p);else if(e[p]!=v&&e[p]!=b){for(var h=Math.max(p-(t-(t>>2)),i-1);p>h&&e[p]h&&e[p]h&&e[p]==w;)p--}else for(;p>h&&e[p]<_;)p--;p>h?u(++p):(e[p=i+t]==y&&p--,u(p-d))}else{for(;p!=i-1&&e[p]!=v;p--);if(p>i){u(p);continue}for(p=i+t;p39&&i<48||i>57&&i<64?n.push(w):i>=4352&&S(i)?n.push(g,y):n.push(g)}return n},e.prototype.$getStringScreenWidth=function(e,t,r){if(0==t)return[0,0];var n,o;for(null==t&&(t=1/0),r=r||0,o=0;o=4352&&S(n)?r+=2:r+=1,!(r>t));o++);return[r,o]},e.prototype.getRowLength=function(e){var t=1;return this.lineWidgets&&(t+=this.lineWidgets[e]&&this.lineWidgets[e].rowCount||0),this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+t:t},e.prototype.getRowLineCount=function(e){return this.$useWrapMode&&this.$wrapData[e]?this.$wrapData[e].length+1:1},e.prototype.getRowWrapIndent=function(e){if(this.$useWrapMode){var t=this.screenToDocumentPosition(e,Number.MAX_VALUE),r=this.$wrapData[t.row];return r.length&&r[0]=0){s=c[u],i=this.$docRowCache[u];var p=e>c[d-1]}else p=!d;for(var h=this.getLength()-1,f=this.getNextFoldLine(i),m=f?f.start.row:1/0;s<=e&&!(s+(l=this.getRowLength(i))>e||i>=h);)s+=l,++i>m&&(i=f.end.row+1,m=(f=this.getNextFoldLine(i,f))?f.start.row:1/0),p&&(this.$docRowCache.push(i),this.$screenRowCache.push(s));if(f&&f.start.row<=i)n=this.getFoldDisplayLine(f),i=f.start.row;else{if(s+l<=e||i>h)return{row:h,column:this.getLine(h).length};n=this.getLine(i),f=null}var g=0,y=Math.floor(e-s);if(this.$useWrapMode){var v=this.$wrapData[i];v&&(o=v[y],y>0&&v.length&&(g=v.indent,a=v[y-1]||v[v.length-1],n=n.substring(a)))}return void 0!==r&&this.$bidiHandler.isBidiRow(s+y,i,y)&&(t=this.$bidiHandler.offsetToCol(r)),a+=this.$getStringScreenWidth(n,t-g)[1],this.$useWrapMode&&a>=o&&(a=o-1),f?f.idxToPosition(a):{row:i,column:a}},e.prototype.documentToScreenPosition=function(e,t){if("undefined"===typeof t)var r=this.$clipPositionToDocument(e.row,e.column);else r=this.$clipPositionToDocument(e,t);e=r.row,t=r.column;var n,o=0,i=null;(n=this.getFoldAt(e,t,1))&&(e=n.start.row,t=n.start.column);var a,s=0,l=this.$docRowCache,c=this.$getRowCacheIndex(l,e),u=l.length;if(u&&c>=0){s=l[c],o=this.$screenRowCache[c];var d=e>l[u-1]}else d=!u;for(var p=this.getNextFoldLine(s),h=p?p.start.row:1/0;s=h){if((a=p.end.row+1)>e)break;h=(p=this.getNextFoldLine(a,p))?p.start.row:1/0}else a=s+1;o+=this.getRowLength(s),s=a,d&&(this.$docRowCache.push(s),this.$screenRowCache.push(o))}var f="";p&&s>=h?(f=this.getFoldDisplayLine(p,e,t),i=p.start.row):(f=this.getLine(e).substring(0,t),i=e);var m=0;if(this.$useWrapMode){var g=this.$wrapData[i];if(g){for(var y=0;f.length>=g[y];)o++,y++;f=f.substring(g[y-1]||0,f.length),m=y>0?g.indent:0}}return this.lineWidgets&&this.lineWidgets[s]&&this.lineWidgets[s].rowsAbove&&(o+=this.lineWidgets[s].rowsAbove),{row:o,column:m+this.$getStringScreenWidth(f)[0]}},e.prototype.documentToScreenColumn=function(e,t){return this.documentToScreenPosition(e,t).column},e.prototype.documentToScreenRow=function(e,t){return this.documentToScreenPosition(e,t).row},e.prototype.getScreenLength=function(){var e=0,t=null;if(this.$useWrapMode)for(var r=this.$wrapData.length,n=0,o=(s=0,(t=this.$foldData[s++])?t.start.row:1/0);no&&(n=t.end.row+1,o=(t=this.$foldData[s++])?t.start.row:1/0)}else{e=this.getLength();for(var a=this.$foldData,s=0;sr);i++);return[n,i]})},e.prototype.getPrecedingCharacter=function(){var e=this.selection.getCursor();return 0===e.column?0===e.row?"":this.doc.getNewLineCharacter():this.getLine(e.row)[e.column-1]},e.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection.detach()},e}();m.$uid=0,m.prototype.$modes=a.$modes,m.prototype.getValue=m.prototype.toString,m.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},m.prototype.$overwrite=!1,m.prototype.$mode=null,m.prototype.$modeId=null,m.prototype.$scrollTop=0,m.prototype.$scrollLeft=0,m.prototype.$wrapLimit=80,m.prototype.$useWrapMode=!1,m.prototype.$wrapLimitRange={min:null,max:null},m.prototype.lineWidgets=null,m.prototype.isFullWidth=S,n.implement(m.prototype,s);var g=1,y=2,v=3,b=4,w=9,_=10,x=11,k=12;function S(e){return!(e<4352)&&(e>=4352&&e<=4447||e>=4515&&e<=4519||e>=4602&&e<=4607||e>=9001&&e<=9002||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12283||e>=12288&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12589||e>=12593&&e<=12686||e>=12688&&e<=12730||e>=12736&&e<=12771||e>=12784&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=13054||e>=13056&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=55216&&e<=55238||e>=55243&&e<=55291||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=65281&&e<=65376||e>=65504&&e<=65510)}e("./edit_session/folding").Folding.call(m.prototype),e("./edit_session/bracket_match").BracketMatch.call(m.prototype),a.defineOptions(m.prototype,"session",{wrap:{set:function(e){if(e&&"off"!=e?"free"==e?e=!0:"printMargin"==e?e=-1:"string"==typeof e&&(e=parseInt(e,10)||!1):e=!1,this.$wrap!=e)if(this.$wrap=e,e){var t="number"==typeof e?e:null;this.setWrapLimitRange(t,t),this.setUseWrapMode(!0)}else this.setUseWrapMode(!1)},get:function(){return this.getUseWrapMode()?-1==this.$wrap?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(e){(e="auto"==e?"text"!=this.$mode.type:"text"!=e)!=this.$wrapAsCode&&(this.$wrapAsCode=e,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(e){this.$useWorker=e,this.$stopWorker(),e&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(e){(e=parseInt(e))>0&&this.$tabSize!==e&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=e,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(e){this.setFoldStyle(e)},handlesSet:!0},overwrite:{set:function(e){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(e){this.doc.setNewLineMode(e)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(e){this.setMode(e)},get:function(){return this.$modeId},handlesSet:!0}}),t.EditSession=m})),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],(function(e,t,r){"use strict";var n=e("./lib/lang"),o=e("./lib/oop"),i=e("./range").Range,a=function(){function e(){this.$options={}}return e.prototype.set=function(e){return o.mixin(this.$options,e),this},e.prototype.getOptions=function(){return n.copyObject(this.$options)},e.prototype.setOptions=function(e){this.$options=e},e.prototype.find=function(e){var t=this.$options,r=this.$matchIterator(e,t);if(!r)return!1;var n=null;return r.forEach((function(e,r,o,a){return n=new i(e,r,o,a),!(r==a&&t.start&&t.start.start&&0!=t.skipCurrent&&n.isEqual(t.start))||(n=null,!1)})),n},e.prototype.findAll=function(e){var t=this.$options;if(!t.needle)return[];this.$assembleRegExp(t);var r=t.range,o=r?e.getLines(r.start.row,r.end.row):e.doc.getAllLines(),a=[],s=t.re;if(t.$isMultiLine){var l,c=s.length,u=o.length-c;e:for(var d=s.offset||0;d<=u;d++){for(var p=0;pm||(a.push(l=new i(d,m,d+c-1,g)),c>2&&(d=d+c-2))}}else for(var y=0;y_&&a[p].end.row==x;)p--;for(a=a.slice(y,p+1),y=0,p=a.length;y=c;r--)if(h(r,Number.MAX_VALUE,e))return;if(0!=t.wrap)for(r=u,c=l.row;r>=c;r--)if(h(r,Number.MAX_VALUE,e))return}};else d=function(e){var r=l.row;if(!h(r,l.column,e)){for(r+=1;r<=u;r++)if(h(r,0,e))return;if(0!=t.wrap)for(r=c,u=l.row;r<=u;r++)if(h(r,0,e))return}};if(t.$isMultiLine)var p=r.length,h=function(t,n,i){var a=o?t-p+1:t;if(!(a<0||a+p>e.getLength())){var s=e.getLine(a),l=s.search(r[0]);if(!(!o&&ln))return!!i(a,l,a+p-1,u)||void 0}}};else if(o)h=function(t,o,i){var s,l=e.getLine(t),c=[],u=0;for(r.lastIndex=0;s=r.exec(l);){var d=s[0].length;if(u=s.index,!d){if(u>=l.length)break;r.lastIndex=u+=n.skipEmptyMatch(l,u,a)}if(s.index+d>o)break;c.push(s.index,d)}for(var p=c.length-1;p>=0;p-=2){var h=c[p-1];if(i(t,h,t,h+(d=c[p])))return!0}};else h=function(t,o,i){var s,l,c=e.getLine(t);for(r.lastIndex=o;l=r.exec(c);){var u=l[0].length;if(i(t,s=l.index,t,s+u))return!0;if(!u&&(r.lastIndex=s+=n.skipEmptyMatch(c,s,a),s>=c.length))return!1}};return{forEach:d}},e}();t.Search=a})),ace.define("ace/keyboard/hash_handler",["require","exports","module","ace/lib/keys","ace/lib/useragent"],(function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=e("../lib/keys"),i=e("../lib/useragent"),a=o.KEY_MODS,s=function(){function e(e,t){this.$init(e,t,!1)}return e.prototype.$init=function(e,t,r){this.platform=t||(i.isMac?"mac":"win"),this.commands={},this.commandKeyBinding={},this.addCommands(e),this.$singleCommand=r},e.prototype.addCommand=function(e){this.commands[e.name]&&this.removeCommand(e),this.commands[e.name]=e,e.bindKey&&this._buildKeyHash(e)},e.prototype.removeCommand=function(e,t){var r=e&&("string"===typeof e?e:e.name);e=this.commands[r],t||delete this.commands[r];var n=this.commandKeyBinding;for(var o in n){var i=n[o];if(i==e)delete n[o];else if(Array.isArray(i)){var a=i.indexOf(e);-1!=a&&(i.splice(a,1),1==i.length&&(n[o]=i[0]))}}},e.prototype.bindKey=function(e,t,r){if("object"==typeof e&&e&&(void 0==r&&(r=e.position),e=e[this.platform]),e)return"function"==typeof t?this.addCommand({exec:t,bindKey:e,name:t.name||e}):void e.split("|").forEach((function(e){var n="";if(-1!=e.indexOf(" ")){var o=e.split(/\s+/);e=o.pop(),o.forEach((function(e){var t=this.parseKeys(e),r=a[t.hashId]+t.key;n+=(n?" ":"")+r,this._addCommandToBinding(n,"chainKeys")}),this),n+=" "}var i=this.parseKeys(e),s=a[i.hashId]+i.key;this._addCommandToBinding(n+s,t,r)}),this)},e.prototype._addCommandToBinding=function(e,t,r){var n,o=this.commandKeyBinding;if(t)if(!o[e]||this.$singleCommand)o[e]=t;else{Array.isArray(o[e])?-1!=(n=o[e].indexOf(t))&&o[e].splice(n,1):o[e]=[o[e]],"number"!=typeof r&&(r=l(t));var i=o[e];for(n=0;nr)break}i.splice(n,0,t)}else delete o[e]},e.prototype.addCommands=function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];if(r){if("string"===typeof r)return this.bindKey(r,t);"function"===typeof r&&(r={exec:r}),"object"===typeof r&&(r.name||(r.name=t),this.addCommand(r))}}),this)},e.prototype.removeCommands=function(e){Object.keys(e).forEach((function(t){this.removeCommand(e[t])}),this)},e.prototype.bindKeys=function(e){Object.keys(e).forEach((function(t){this.bindKey(t,e[t])}),this)},e.prototype._buildKeyHash=function(e){this.bindKey(e.bindKey,e)},e.prototype.parseKeys=function(e){var t=e.toLowerCase().split(/[\-\+]([\-\+])?/).filter((function(e){return e})),r=t.pop(),n=o[r];if(o.FUNCTION_KEYS[n])r=o.FUNCTION_KEYS[n].toLowerCase();else{if(!t.length)return{key:r,hashId:-1};if(1==t.length&&"shift"==t[0])return{key:r.toUpperCase(),hashId:-1}}for(var i=0,a=t.length;a--;){var s=o.KEY_MODS[t[a]];if(null==s)return"undefined"!=typeof console&&console.error("invalid modifier "+t[a]+" in "+e),!1;i|=s}return{key:r,hashId:i}},e.prototype.findKeyCommand=function(e,t){var r=a[e]+t;return this.commandKeyBinding[r]},e.prototype.handleKeyboard=function(e,t,r,n){if(!(n<0)){var o=a[t]+r,i=this.commandKeyBinding[o];return e.$keyChain&&(e.$keyChain+=" "+o,i=this.commandKeyBinding[e.$keyChain]||i),!i||"chainKeys"!=i&&"chainKeys"!=i[i.length-1]?(e.$keyChain&&(t&&4!=t||1!=r.length?(-1==t||n>0)&&(e.$keyChain=""):e.$keyChain=e.$keyChain.slice(0,-o.length-1)),{command:i}):(e.$keyChain=e.$keyChain||o,{command:"null"})}},e.prototype.getStatusText=function(e,t){return t.$keyChain||""},e}();function l(e){return"object"==typeof e&&e.bindKey&&e.bindKey.position||(e.isDefault?-100:0)}var c=function(e){function t(t,r){var n=e.call(this,t,r)||this;return n.$singleCommand=!0,n}return n(t,e),t}(s);c.call=function(e,t,r){s.prototype.$init.call(e,t,r,!0)},s.call=function(e,t,r){s.prototype.$init.call(e,t,r,!1)},t.HashHandler=c,t.MultiHashHandler=s})),ace.define("ace/commands/command_manager",["require","exports","module","ace/lib/oop","ace/keyboard/hash_handler","ace/lib/event_emitter"],(function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=e("../lib/oop"),i=e("../keyboard/hash_handler").MultiHashHandler,a=e("../lib/event_emitter").EventEmitter,s=function(e){function t(t,r){var n=e.call(this,r,t)||this;return n.byName=n.commands,n.setDefaultHandler("exec",(function(e){return e.args?e.command.exec(e.editor,e.args,e.event,!1):e.command.exec(e.editor,{},e.event,!0)})),n}return n(t,e),t.prototype.exec=function(e,t,r){if(Array.isArray(e)){for(var n=e.length;n--;)if(this.exec(e[n],t,r))return!0;return!1}if("string"===typeof e&&(e=this.commands[e]),!this.canExecute(e,t))return!1;var o={editor:t,command:e,args:r};return o.returnValue=this._emit("exec",o),this._signal("afterExec",o),!1!==o.returnValue},t.prototype.canExecute=function(e,t){return"string"===typeof e&&(e=this.commands[e]),!!e&&(!(t&&t.$readOnly&&!e.readOnly)&&!(0!=this.$checkCommandState&&e.isAvailable&&!e.isAvailable(t)))},t.prototype.toggleRecording=function(e){if(!this.$inReplay)return e&&e._emit("changeStatus"),this.recording?(this.macro.pop(),this.off("exec",this.$addCommandToMacro),this.macro.length||(this.macro=this.oldMacro),this.recording=!1):(this.$addCommandToMacro||(this.$addCommandToMacro=function(e){this.macro.push([e.command,e.args])}.bind(this)),this.oldMacro=this.macro,this.macro=[],this.on("exec",this.$addCommandToMacro),this.recording=!0)},t.prototype.replay=function(e){if(!this.$inReplay&&this.macro){if(this.recording)return this.toggleRecording(e);try{this.$inReplay=!0,this.macro.forEach((function(t){"string"==typeof t?this.exec(t,e):this.exec(t[0],e,t[1])}),this)}finally{this.$inReplay=!1}}},t.prototype.trimMacro=function(e){return e.map((function(e){return"string"!=typeof e[0]&&(e[0]=e[0].name),e[1]||(e=e[0]),e}))},t}(i);o.implement(s.prototype,a),t.CommandManager=s})),ace.define("ace/commands/default_commands",["require","exports","module","ace/lib/lang","ace/config","ace/range"],(function(e,t,r){"use strict";var n=e("../lib/lang"),o=e("../config"),i=e("../range").Range;function a(e,t){return{win:e,mac:t}}t.commands=[{name:"showSettingsMenu",description:"Show settings menu",bindKey:a("Ctrl-,","Command-,"),exec:function(e){o.loadModule("ace/ext/settings_menu",(function(t){t.init(e),e.showSettingsMenu()}))},readOnly:!0},{name:"goToNextError",description:"Go to next error",bindKey:a("Alt-E","F4"),exec:function(e){o.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,1)}))},scrollIntoView:"animate",readOnly:!0},{name:"goToPreviousError",description:"Go to previous error",bindKey:a("Alt-Shift-E","Shift-F4"),exec:function(e){o.loadModule("ace/ext/error_marker",(function(t){t.showErrorMarker(e,-1)}))},scrollIntoView:"animate",readOnly:!0},{name:"selectall",description:"Select all",bindKey:a("Ctrl-A","Command-A"),exec:function(e){e.selectAll()},readOnly:!0},{name:"centerselection",description:"Center selection",bindKey:a(null,"Ctrl-L"),exec:function(e){e.centerSelection()},readOnly:!0},{name:"gotoline",description:"Go to line...",bindKey:a("Ctrl-L","Command-L"),exec:function(e,t){"number"!==typeof t||isNaN(t)||e.gotoLine(t),e.prompt({$type:"gotoLine"})},readOnly:!0},{name:"fold",bindKey:a("Alt-L|Ctrl-F1","Command-Alt-L|Command-F1"),exec:function(e){e.session.toggleFold(!1)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"unfold",bindKey:a("Alt-Shift-L|Ctrl-Shift-F1","Command-Alt-Shift-L|Command-Shift-F1"),exec:function(e){e.session.toggleFold(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleFoldWidget",description:"Toggle fold widget",bindKey:a("F2","F2"),exec:function(e){e.session.toggleFoldWidget()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"toggleParentFoldWidget",description:"Toggle parent fold widget",bindKey:a("Alt-F2","Alt-F2"),exec:function(e){e.session.toggleFoldWidget(!0)},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"foldall",description:"Fold all",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAll()},scrollIntoView:"center",readOnly:!0},{name:"foldAllComments",description:"Fold all comments",bindKey:a(null,"Ctrl-Command-Option-0"),exec:function(e){e.session.foldAllComments()},scrollIntoView:"center",readOnly:!0},{name:"foldOther",description:"Fold other",bindKey:a("Alt-0","Command-Option-0"),exec:function(e){e.session.foldAll(),e.session.unfold(e.selection.getAllRanges())},scrollIntoView:"center",readOnly:!0},{name:"unfoldall",description:"Unfold all",bindKey:a("Alt-Shift-0","Command-Option-Shift-0"),exec:function(e){e.session.unfold()},scrollIntoView:"center",readOnly:!0},{name:"findnext",description:"Find next",bindKey:a("Ctrl-K","Command-G"),exec:function(e){e.findNext()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"findprevious",description:"Find previous",bindKey:a("Ctrl-Shift-K","Command-Shift-G"),exec:function(e){e.findPrevious()},multiSelectAction:"forEach",scrollIntoView:"center",readOnly:!0},{name:"selectOrFindNext",description:"Select or find next",bindKey:a("Alt-K","Ctrl-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findNext()},readOnly:!0},{name:"selectOrFindPrevious",description:"Select or find previous",bindKey:a("Alt-Shift-K","Ctrl-Shift-G"),exec:function(e){e.selection.isEmpty()?e.selection.selectWord():e.findPrevious()},readOnly:!0},{name:"find",description:"Find",bindKey:a("Ctrl-F","Command-F"),exec:function(e){o.loadModule("ace/ext/searchbox",(function(t){t.Search(e)}))},readOnly:!0},{name:"overwrite",description:"Overwrite",bindKey:"Insert",exec:function(e){e.toggleOverwrite()},readOnly:!0},{name:"selecttostart",description:"Select to start",bindKey:a("Ctrl-Shift-Home","Command-Shift-Home|Command-Shift-Up"),exec:function(e){e.getSelection().selectFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotostart",description:"Go to start",bindKey:a("Ctrl-Home","Command-Home|Command-Up"),exec:function(e){e.navigateFileStart()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectup",description:"Select up",bindKey:a("Shift-Up","Shift-Up|Ctrl-Shift-P"),exec:function(e){e.getSelection().selectUp()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golineup",description:"Go line up",bindKey:a("Up","Up|Ctrl-P"),exec:function(e,t){e.navigateUp(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttoend",description:"Select to end",bindKey:a("Ctrl-Shift-End","Command-Shift-End|Command-Shift-Down"),exec:function(e){e.getSelection().selectFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"gotoend",description:"Go to end",bindKey:a("Ctrl-End","Command-End|Command-Down"),exec:function(e){e.navigateFileEnd()},multiSelectAction:"forEach",readOnly:!0,scrollIntoView:"animate",aceCommandGroup:"fileJump"},{name:"selectdown",description:"Select down",bindKey:a("Shift-Down","Shift-Down|Ctrl-Shift-N"),exec:function(e){e.getSelection().selectDown()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"golinedown",description:"Go line down",bindKey:a("Down","Down|Ctrl-N"),exec:function(e,t){e.navigateDown(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordleft",description:"Select word left",bindKey:a("Ctrl-Shift-Left","Option-Shift-Left"),exec:function(e){e.getSelection().selectWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordleft",description:"Go to word left",bindKey:a("Ctrl-Left","Option-Left"),exec:function(e){e.navigateWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolinestart",description:"Select to line start",bindKey:a("Alt-Shift-Left","Command-Shift-Left|Ctrl-Shift-A"),exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolinestart",description:"Go to line start",bindKey:a("Alt-Left|Home","Command-Left|Home|Ctrl-A"),exec:function(e){e.navigateLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectleft",description:"Select left",bindKey:a("Shift-Left","Shift-Left|Ctrl-Shift-B"),exec:function(e){e.getSelection().selectLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoleft",description:"Go to left",bindKey:a("Left","Left|Ctrl-B"),exec:function(e,t){e.navigateLeft(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectwordright",description:"Select word right",bindKey:a("Ctrl-Shift-Right","Option-Shift-Right"),exec:function(e){e.getSelection().selectWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotowordright",description:"Go to word right",bindKey:a("Ctrl-Right","Option-Right"),exec:function(e){e.navigateWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selecttolineend",description:"Select to line end",bindKey:a("Alt-Shift-Right","Command-Shift-Right|Shift-End|Ctrl-Shift-E"),exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotolineend",description:"Go to line end",bindKey:a("Alt-Right|End","Command-Right|End|Ctrl-E"),exec:function(e){e.navigateLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectright",description:"Select right",bindKey:a("Shift-Right","Shift-Right"),exec:function(e){e.getSelection().selectRight()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"gotoright",description:"Go to right",bindKey:a("Right","Right|Ctrl-F"),exec:function(e,t){e.navigateRight(t.times)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectpagedown",description:"Select page down",bindKey:"Shift-PageDown",exec:function(e){e.selectPageDown()},readOnly:!0},{name:"pagedown",description:"Page down",bindKey:a(null,"Option-PageDown"),exec:function(e){e.scrollPageDown()},readOnly:!0},{name:"gotopagedown",description:"Go to page down",bindKey:a("PageDown","PageDown|Ctrl-V"),exec:function(e){e.gotoPageDown()},readOnly:!0},{name:"selectpageup",description:"Select page up",bindKey:"Shift-PageUp",exec:function(e){e.selectPageUp()},readOnly:!0},{name:"pageup",description:"Page up",bindKey:a(null,"Option-PageUp"),exec:function(e){e.scrollPageUp()},readOnly:!0},{name:"gotopageup",description:"Go to page up",bindKey:"PageUp",exec:function(e){e.gotoPageUp()},readOnly:!0},{name:"scrollup",description:"Scroll up",bindKey:a("Ctrl-Up",null),exec:function(e){e.renderer.scrollBy(0,-2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"scrolldown",description:"Scroll down",bindKey:a("Ctrl-Down",null),exec:function(e){e.renderer.scrollBy(0,2*e.renderer.layerConfig.lineHeight)},readOnly:!0},{name:"selectlinestart",description:"Select line start",bindKey:"Shift-Home",exec:function(e){e.getSelection().selectLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"selectlineend",description:"Select line end",bindKey:"Shift-End",exec:function(e){e.getSelection().selectLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"togglerecording",description:"Toggle recording",bindKey:a("Ctrl-Alt-E","Command-Option-E"),exec:function(e){e.commands.toggleRecording(e)},readOnly:!0},{name:"replaymacro",description:"Replay macro",bindKey:a("Ctrl-Shift-E","Command-Shift-E"),exec:function(e){e.commands.replay(e)},readOnly:!0},{name:"jumptomatching",description:"Jump to matching",bindKey:a("Ctrl-\\|Ctrl-P","Command-\\"),exec:function(e){e.jumpToMatching()},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"selecttomatching",description:"Select to matching",bindKey:a("Ctrl-Shift-\\|Ctrl-Shift-P","Command-Shift-\\"),exec:function(e){e.jumpToMatching(!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"expandToMatching",description:"Expand to matching",bindKey:a("Ctrl-Shift-M","Ctrl-Shift-M"),exec:function(e){e.jumpToMatching(!0,!0)},multiSelectAction:"forEach",scrollIntoView:"animate",readOnly:!0},{name:"passKeysToBrowser",description:"Pass keys to browser",bindKey:a(null,null),exec:function(){},passEvent:!0,readOnly:!0},{name:"copy",description:"Copy",exec:function(e){},readOnly:!0},{name:"cut",description:"Cut",exec:function(e){var t=e.$copyWithEmptySelection&&e.selection.isEmpty()?e.selection.getLineRange():e.selection.getRange();e._emit("cut",t),t.isEmpty()||e.session.remove(t),e.clearSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"paste",description:"Paste",exec:function(e,t){e.$handlePaste(t)},scrollIntoView:"cursor"},{name:"removeline",description:"Remove line",bindKey:a("Ctrl-D","Command-D"),exec:function(e){e.removeLines()},scrollIntoView:"cursor",multiSelectAction:"forEachLine"},{name:"duplicateSelection",description:"Duplicate selection",bindKey:a("Ctrl-Shift-D","Command-Shift-D"),exec:function(e){e.duplicateSelection()},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"sortlines",description:"Sort lines",bindKey:a("Ctrl-Alt-S","Command-Alt-S"),exec:function(e){e.sortLines()},scrollIntoView:"selection",multiSelectAction:"forEachLine"},{name:"togglecomment",description:"Toggle comment",bindKey:a("Ctrl-/","Command-/"),exec:function(e){e.toggleCommentLines()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"toggleBlockComment",description:"Toggle block comment",bindKey:a("Ctrl-Shift-/","Command-Shift-/"),exec:function(e){e.toggleBlockComment()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"modifyNumberUp",description:"Modify number up",bindKey:a("Ctrl-Shift-Up","Alt-Shift-Up"),exec:function(e){e.modifyNumber(1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"modifyNumberDown",description:"Modify number down",bindKey:a("Ctrl-Shift-Down","Alt-Shift-Down"),exec:function(e){e.modifyNumber(-1)},scrollIntoView:"cursor",multiSelectAction:"forEach"},{name:"replace",description:"Replace",bindKey:a("Ctrl-H","Command-Option-F"),exec:function(e){o.loadModule("ace/ext/searchbox",(function(t){t.Search(e,!0)}))}},{name:"undo",description:"Undo",bindKey:a("Ctrl-Z","Command-Z"),exec:function(e){e.undo()}},{name:"redo",description:"Redo",bindKey:a("Ctrl-Shift-Z|Ctrl-Y","Command-Shift-Z|Command-Y"),exec:function(e){e.redo()}},{name:"copylinesup",description:"Copy lines up",bindKey:a("Alt-Shift-Up","Command-Option-Up"),exec:function(e){e.copyLinesUp()},scrollIntoView:"cursor"},{name:"movelinesup",description:"Move lines up",bindKey:a("Alt-Up","Option-Up"),exec:function(e){e.moveLinesUp()},scrollIntoView:"cursor"},{name:"copylinesdown",description:"Copy lines down",bindKey:a("Alt-Shift-Down","Command-Option-Down"),exec:function(e){e.copyLinesDown()},scrollIntoView:"cursor"},{name:"movelinesdown",description:"Move lines down",bindKey:a("Alt-Down","Option-Down"),exec:function(e){e.moveLinesDown()},scrollIntoView:"cursor"},{name:"del",description:"Delete",bindKey:a("Delete","Delete|Ctrl-D|Shift-Delete"),exec:function(e){e.remove("right")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"backspace",description:"Backspace",bindKey:a("Shift-Backspace|Backspace","Ctrl-Backspace|Shift-Backspace|Backspace|Ctrl-H"),exec:function(e){e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"cut_or_delete",description:"Cut or delete",bindKey:a("Shift-Delete",null),exec:function(e){if(!e.selection.isEmpty())return!1;e.remove("left")},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestart",description:"Remove to line start",bindKey:a("Alt-Backspace","Command-Backspace"),exec:function(e){e.removeToLineStart()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineend",description:"Remove to line end",bindKey:a("Alt-Delete","Ctrl-K|Command-Delete"),exec:function(e){e.removeToLineEnd()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolinestarthard",description:"Remove to line start hard",bindKey:a("Ctrl-Shift-Backspace",null),exec:function(e){var t=e.selection.getRange();t.start.column=0,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removetolineendhard",description:"Remove to line end hard",bindKey:a("Ctrl-Shift-Delete",null),exec:function(e){var t=e.selection.getRange();t.end.column=Number.MAX_VALUE,e.session.remove(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordleft",description:"Remove word left",bindKey:a("Ctrl-Backspace","Alt-Backspace|Ctrl-Alt-Backspace"),exec:function(e){e.removeWordLeft()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"removewordright",description:"Remove word right",bindKey:a("Ctrl-Delete","Alt-Delete"),exec:function(e){e.removeWordRight()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"outdent",description:"Outdent",bindKey:a("Shift-Tab","Shift-Tab"),exec:function(e){e.blockOutdent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"indent",description:"Indent",bindKey:a("Tab","Tab"),exec:function(e){e.indent()},multiSelectAction:"forEach",scrollIntoView:"selectionPart"},{name:"blockoutdent",description:"Block outdent",bindKey:a("Ctrl-[","Ctrl-["),exec:function(e){e.blockOutdent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"blockindent",description:"Block indent",bindKey:a("Ctrl-]","Ctrl-]"),exec:function(e){e.blockIndent()},multiSelectAction:"forEachLine",scrollIntoView:"selectionPart"},{name:"insertstring",description:"Insert string",exec:function(e,t){e.insert(t)},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"inserttext",description:"Insert text",exec:function(e,t){e.insert(n.stringRepeat(t.text||"",t.times||1))},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"splitline",description:"Split line",bindKey:a(null,"Ctrl-O"),exec:function(e){e.splitLine()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"transposeletters",description:"Transpose letters",bindKey:a("Alt-Shift-X","Ctrl-T"),exec:function(e){e.transposeLetters()},multiSelectAction:function(e){e.transposeSelections(1)},scrollIntoView:"cursor"},{name:"touppercase",description:"To uppercase",bindKey:a("Ctrl-U","Ctrl-U"),exec:function(e){e.toUpperCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"tolowercase",description:"To lowercase",bindKey:a("Ctrl-Shift-U","Ctrl-Shift-U"),exec:function(e){e.toLowerCase()},multiSelectAction:"forEach",scrollIntoView:"cursor"},{name:"autoindent",description:"Auto Indent",bindKey:a(null,null),exec:function(e){e.autoIndent()},scrollIntoView:"animate"},{name:"expandtoline",description:"Expand to line",bindKey:a("Ctrl-Shift-L","Command-Shift-L"),exec:function(e){var t=e.selection.getRange();t.start.column=t.end.column=0,t.end.row++,e.selection.setRange(t,!1)},multiSelectAction:"forEach",scrollIntoView:"cursor",readOnly:!0},{name:"openlink",bindKey:a("Ctrl+F3","F3"),exec:function(e){e.openLink()}},{name:"joinlines",description:"Join lines",bindKey:a(null,null),exec:function(e){for(var t=e.selection.isBackwards(),r=t?e.selection.getSelectionLead():e.selection.getSelectionAnchor(),o=t?e.selection.getSelectionAnchor():e.selection.getSelectionLead(),a=e.session.doc.getLine(r.row).length,s=e.session.doc.getTextRange(e.selection.getRange()).replace(/\n\s*/," ").length,l=e.session.doc.getLine(r.row),c=r.row+1;c<=o.row+1;c++){var u=n.stringTrimLeft(n.stringTrimRight(e.session.doc.getLine(c)));0!==u.length&&(u=" "+u),l+=u}o.row+10?(e.selection.moveCursorTo(r.row,r.column),e.selection.selectTo(r.row,r.column+s)):(a=e.session.doc.getLine(r.row).length>a?a+1:a,e.selection.moveCursorTo(r.row,a))},multiSelectAction:"forEach",readOnly:!0},{name:"invertSelection",description:"Invert selection",bindKey:a(null,null),exec:function(e){var t=e.session.doc.getLength()-1,r=e.session.doc.getLine(t).length,n=e.selection.rangeList.ranges,o=[];n.length<1&&(n=[e.selection.getRange()]);for(var a=0;at[r].column&&r++,i.unshift(r,0),t.splice.apply(t,i),this.$updateRows()}}},e.prototype.$updateRows=function(){var e=this.session.lineWidgets;if(e){var t=!0;e.forEach((function(e,r){if(e)for(t=!1,e.row=r;e.$oldWidget;)e.$oldWidget.row=r,e=e.$oldWidget})),t&&(this.session.lineWidgets=null)}},e.prototype.$registerLineWidget=function(e){this.session.lineWidgets||(this.session.lineWidgets=new Array(this.session.getLength()));var t=this.session.lineWidgets[e.row];return t&&(e.$oldWidget=t,t.el&&t.el.parentNode&&(t.el.parentNode.removeChild(t.el),t._inDocument=!1)),this.session.lineWidgets[e.row]=e,e},e.prototype.addLineWidget=function(e){if(this.$registerLineWidget(e),e.session=this.session,!this.editor)return e;var t=this.editor.renderer;e.html&&!e.el&&(e.el=n.createElement("div"),e.el.innerHTML=e.html),e.text&&!e.el&&(e.el=n.createElement("div"),e.el.textContent=e.text),e.el&&(n.addCssClass(e.el,"ace_lineWidgetContainer"),e.className&&n.addCssClass(e.el,e.className),e.el.style.position="absolute",e.el.style.zIndex="5",t.container.appendChild(e.el),e._inDocument=!0,e.coverGutter||(e.el.style.zIndex="3"),null==e.pixelHeight&&(e.pixelHeight=e.el.offsetHeight)),null==e.rowCount&&(e.rowCount=e.pixelHeight/t.layerConfig.lineHeight);var r=this.session.getFoldAt(e.row,0);if(e.$fold=r,r){var o=this.session.lineWidgets;e.row!=r.end.row||o[r.start.row]?e.hidden=!0:o[r.start.row]=e}return this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows(),this.renderWidgets(null,t),this.onWidgetChanged(e),e},e.prototype.removeLineWidget=function(e){if(e._inDocument=!1,e.session=null,e.el&&e.el.parentNode&&e.el.parentNode.removeChild(e.el),e.editor&&e.editor.destroy)try{e.editor.destroy()}catch(r){}if(this.session.lineWidgets){var t=this.session.lineWidgets[e.row];if(t==e)this.session.lineWidgets[e.row]=e.$oldWidget,e.$oldWidget&&this.onWidgetChanged(e.$oldWidget);else for(;t;){if(t.$oldWidget==e){t.$oldWidget=e.$oldWidget;break}t=t.$oldWidget}}this.session._emit("changeFold",{data:{start:{row:e.row}}}),this.$updateRows()},e.prototype.getWidgetsAtRow=function(e){for(var t=this.session.lineWidgets,r=t&&t[e],n=[];r;)n.push(r),r=r.$oldWidget;return n},e.prototype.onWidgetChanged=function(e){this.session._changedWidgets.push(e),this.editor&&this.editor.renderer.updateFull()},e.prototype.measureWidgets=function(e,t){var r=this.session._changedWidgets,n=t.layerConfig;if(r&&r.length){for(var o=1/0,i=0;i0&&!n[o];)o--;this.firstRow=r.firstRow,this.lastRow=r.lastRow,t.$cursorLayer.config=r;for(var a=o;a<=i;a++){var s=n[a];if(s&&s.el)if(s.hidden)s.el.style.top=-100-(s.pixelHeight||0)+"px";else{s._inDocument||(s._inDocument=!0,t.container.appendChild(s.el));var l=t.$cursorLayer.getPixelPosition({row:a,column:0},!0).top;s.coverLine||(l+=r.lineHeight*this.session.getRowLineCount(s.row)),s.el.style.top=l-r.offset+"px";var c=s.coverGutter?0:t.gutterWidth;s.fixedWidth||(c-=t.scrollLeft),s.el.style.left=c+"px",s.fullWidth&&s.screenWidth&&(s.el.style.minWidth=r.width+2*r.padding+"px"),s.fixedWidth?s.el.style.right=t.scrollBar.getWidth()+"px":s.el.style.right=""}}}},e}();t.LineWidgets=o})),ace.define("ace/keyboard/gutter_handler",["require","exports","module","ace/lib/keys","ace/mouse/default_gutter_handler"],(function(e,t,r){"use strict";var n=e("../lib/keys"),o=e("../mouse/default_gutter_handler").GutterTooltip,i=function(){function e(e){this.editor=e,this.gutterLayer=e.renderer.$gutterLayer,this.element=e.renderer.$gutter,this.lines=e.renderer.$gutterLayer.$lines,this.activeRowIndex=null,this.activeLane=null,this.annotationTooltip=new o(this.editor)}return e.prototype.addListener=function(){this.element.addEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.addEventListener("focusout",this.$blurGutter.bind(this)),this.editor.on("mousewheel",this.$blurGutter.bind(this))},e.prototype.removeListener=function(){this.element.removeEventListener("keydown",this.$onGutterKeyDown.bind(this)),this.element.removeEventListener("focusout",this.$blurGutter.bind(this)),this.editor.off("mousewheel",this.$blurGutter.bind(this))},e.prototype.$onGutterKeyDown=function(e){if(this.annotationTooltip.isOpen)return e.preventDefault(),void(e.keyCode===n.escape&&this.annotationTooltip.hideTooltip());if(e.target===this.element){if(e.keyCode!=n.enter)return;e.preventDefault();var t=this.editor.getCursorPosition().row;return this.editor.isRowVisible(t)||this.editor.scrollToLine(t,!0,!0),void setTimeout(function(){var e=this.$rowToRowIndex(this.gutterLayer.$cursorCell.row),t=this.$findNearestFoldWidget(e),r=this.$findNearestAnnotation(e);if(null!==t||null!==r)return null===t&&null!==r?(this.activeRowIndex=r,this.activeLane="annotation",void this.$focusAnnotation(this.activeRowIndex)):null!==t&&null===r?(this.activeRowIndex=t,this.activeLane="fold",void this.$focusFoldWidget(this.activeRowIndex)):Math.abs(r-e)0||e+t=0&&this.$isFoldWidgetVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isFoldWidgetVisible(e+t))return e+t}return null},e.prototype.$findNearestAnnotation=function(e){if(this.$isAnnotationVisible(e))return e;for(var t=0;e-t>0||e+t=0&&this.$isAnnotationVisible(e-t))return e-t;if(e+t<=this.lines.getLength()-1&&this.$isAnnotationVisible(e+t))return e+t}return null},e.prototype.$focusFoldWidget=function(e){if(null!=e){var t=this.$getFoldWidget(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$focusAnnotation=function(e){if(null!=e){var t=this.$getAnnotation(e);t.classList.add(this.editor.renderer.keyboardFocusClassName),t.focus()}},e.prototype.$blurFoldWidget=function(e){var t=this.$getFoldWidget(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$blurAnnotation=function(e){var t=this.$getAnnotation(e);t.classList.remove(this.editor.renderer.keyboardFocusClassName),t.blur()},e.prototype.$moveFoldWidgetUp=function(){for(var e=this.activeRowIndex;e>0;)if(e--,this.$isFoldWidgetVisible(e))return this.$blurFoldWidget(this.activeRowIndex),this.activeRowIndex=e,void this.$focusFoldWidget(this.activeRowIndex)},e.prototype.$moveFoldWidgetDown=function(){for(var e=this.activeRowIndex;e0;)if(e--,this.$isAnnotationVisible(e))return this.$blurAnnotation(this.activeRowIndex),this.activeRowIndex=e,void this.$focusAnnotation(this.activeRowIndex)},e.prototype.$moveAnnotationDown=function(){for(var e=this.activeRowIndex;e=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},o=e("./lib/oop"),i=e("./lib/dom"),a=e("./lib/lang"),s=e("./lib/useragent"),l=e("./keyboard/textinput").TextInput,c=e("./mouse/mouse_handler").MouseHandler,u=e("./mouse/fold_handler").FoldHandler,d=e("./keyboard/keybinding").KeyBinding,p=e("./edit_session").EditSession,h=e("./search").Search,f=e("./range").Range,m=e("./lib/event_emitter").EventEmitter,g=e("./commands/command_manager").CommandManager,y=e("./commands/default_commands").commands,v=e("./config"),b=e("./token_iterator").TokenIterator,w=e("./line_widgets").LineWidgets,_=e("./keyboard/gutter_handler").GutterKeyboardHandler,x=e("./config").nls,k=e("./clipboard"),S=e("./lib/keys"),C=function(){function e(t,r,n){this.session,this.$toDestroy=[];var o=t.getContainerElement();this.container=o,this.renderer=t,this.id="editor"+ ++e.$uid,this.commands=new g(s.isMac?"mac":"win",y),"object"==typeof document&&(this.textInput=new l(t.getTextAreaContainer(),this),this.renderer.textarea=this.textInput.getElement(),this.$mouseHandler=new c(this),new u(this)),this.keyBinding=new d(this),this.$search=(new h).set({wrap:!0}),this.$historyTracker=this.$historyTracker.bind(this),this.commands.on("exec",this.$historyTracker),this.$initOperationListeners(),this._$emitInputEvent=a.delayedCall(function(){this._signal("input",{}),this.session&&!this.session.destroyed&&this.session.bgTokenizer.scheduleStart()}.bind(this)),this.on("change",(function(e,t){t._$emitInputEvent.schedule(31)})),this.setSession(r||n&&n.session||new p("")),v.resetOptions(this),n&&this.setOptions(n),v._signal("editor",this)}return e.prototype.$initOperationListeners=function(){this.commands.on("exec",this.startOperation.bind(this),!0),this.commands.on("afterExec",this.endOperation.bind(this),!0),this.$opResetTimer=a.delayedCall(this.endOperation.bind(this,!0)),this.on("change",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.docChanged=!0}.bind(this),!0),this.on("changeSelection",function(){this.curOp||(this.startOperation(),this.curOp.selectionBefore=this.$lastSel),this.curOp.selectionChanged=!0}.bind(this),!0)},e.prototype.startOperation=function(e){if(this.curOp){if(!e||this.curOp.command)return;this.prevOp=this.curOp}e||(this.previousCommand=null,e={}),this.$opResetTimer.schedule(),this.curOp=this.session.curOp={command:e.command||{},args:e.args,scrollTop:this.renderer.scrollTop},this.curOp.selectionBefore=this.selection.toJSON()},e.prototype.endOperation=function(e){if(this.curOp&&this.session){if(e&&!1===e.returnValue||!this.session)return this.curOp=null;if(1==e&&this.curOp.command&&"mouse"==this.curOp.command.name)return;if(this._signal("beforeEndOperation"),!this.curOp)return;var t=this.curOp.command,r=t&&t.scrollIntoView;if(r){switch(r){case"center-animate":r="animate";case"center":this.renderer.scrollCursorIntoView(null,.5);break;case"animate":case"cursor":this.renderer.scrollCursorIntoView();break;case"selectionPart":var n=this.selection.getRange(),o=this.renderer.layerConfig;(n.start.row>=o.lastRow||n.end.row<=o.firstRow)&&this.renderer.scrollSelectionIntoView(this.selection.anchor,this.selection.lead)}"animate"==r&&this.renderer.animateScrolling(this.curOp.scrollTop)}var i=this.selection.toJSON();this.curOp.selectionAfter=i,this.$lastSel=this.selection.toJSON(),this.session.getUndoManager().addSelection(i),this.prevOp=this.curOp,this.curOp=null}},e.prototype.$historyTracker=function(e){if(this.$mergeUndoDeltas){var t=this.prevOp,r=this.$mergeableCommands,n=t.command&&e.command.name==t.command.name;if("insertstring"==e.command.name){var o=e.args;void 0===this.mergeNextCommand&&(this.mergeNextCommand=!0),n=n&&this.mergeNextCommand&&(!/\s/.test(o)||/\s/.test(t.args)),this.mergeNextCommand=!0}else n=n&&-1!==r.indexOf(e.command.name);"always"!=this.$mergeUndoDeltas&&Date.now()-this.sequenceStartTime>2e3&&(n=!1),n?this.session.mergeUndoDeltas=!0:-1!==r.indexOf(e.command.name)&&(this.sequenceStartTime=Date.now())}},e.prototype.setKeyboardHandler=function(e,t){if(e&&"string"===typeof e&&"ace"!=e){this.$keybindingId=e;var r=this;v.loadModule(["keybinding",e],(function(n){r.$keybindingId==e&&r.keyBinding.setKeyboardHandler(n&&n.handler),t&&t()}))}else this.$keybindingId=null,this.keyBinding.setKeyboardHandler(e),t&&t()},e.prototype.getKeyboardHandler=function(){return this.keyBinding.getKeyboardHandler()},e.prototype.setSession=function(e){if(this.session!=e){this.curOp&&this.endOperation(),this.curOp={};var t=this.session;if(t){this.session.off("change",this.$onDocumentChange),this.session.off("changeMode",this.$onChangeMode),this.session.off("tokenizerUpdate",this.$onTokenizerUpdate),this.session.off("changeTabSize",this.$onChangeTabSize),this.session.off("changeWrapLimit",this.$onChangeWrapLimit),this.session.off("changeWrapMode",this.$onChangeWrapMode),this.session.off("changeFold",this.$onChangeFold),this.session.off("changeFrontMarker",this.$onChangeFrontMarker),this.session.off("changeBackMarker",this.$onChangeBackMarker),this.session.off("changeBreakpoint",this.$onChangeBreakpoint),this.session.off("changeAnnotation",this.$onChangeAnnotation),this.session.off("changeOverwrite",this.$onCursorChange),this.session.off("changeScrollTop",this.$onScrollTopChange),this.session.off("changeScrollLeft",this.$onScrollLeftChange);var r=this.session.getSelection();r.off("changeCursor",this.$onCursorChange),r.off("changeSelection",this.$onSelectionChange)}this.session=e,e?(this.$onDocumentChange=this.onDocumentChange.bind(this),e.on("change",this.$onDocumentChange),this.renderer.setSession(e),this.$onChangeMode=this.onChangeMode.bind(this),e.on("changeMode",this.$onChangeMode),this.$onTokenizerUpdate=this.onTokenizerUpdate.bind(this),e.on("tokenizerUpdate",this.$onTokenizerUpdate),this.$onChangeTabSize=this.renderer.onChangeTabSize.bind(this.renderer),e.on("changeTabSize",this.$onChangeTabSize),this.$onChangeWrapLimit=this.onChangeWrapLimit.bind(this),e.on("changeWrapLimit",this.$onChangeWrapLimit),this.$onChangeWrapMode=this.onChangeWrapMode.bind(this),e.on("changeWrapMode",this.$onChangeWrapMode),this.$onChangeFold=this.onChangeFold.bind(this),e.on("changeFold",this.$onChangeFold),this.$onChangeFrontMarker=this.onChangeFrontMarker.bind(this),this.session.on("changeFrontMarker",this.$onChangeFrontMarker),this.$onChangeBackMarker=this.onChangeBackMarker.bind(this),this.session.on("changeBackMarker",this.$onChangeBackMarker),this.$onChangeBreakpoint=this.onChangeBreakpoint.bind(this),this.session.on("changeBreakpoint",this.$onChangeBreakpoint),this.$onChangeAnnotation=this.onChangeAnnotation.bind(this),this.session.on("changeAnnotation",this.$onChangeAnnotation),this.$onCursorChange=this.onCursorChange.bind(this),this.session.on("changeOverwrite",this.$onCursorChange),this.$onScrollTopChange=this.onScrollTopChange.bind(this),this.session.on("changeScrollTop",this.$onScrollTopChange),this.$onScrollLeftChange=this.onScrollLeftChange.bind(this),this.session.on("changeScrollLeft",this.$onScrollLeftChange),this.selection=e.getSelection(),this.selection.on("changeCursor",this.$onCursorChange),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.onChangeMode(),this.onCursorChange(),this.onScrollTopChange(),this.onScrollLeftChange(),this.onSelectionChange(),this.onChangeFrontMarker(),this.onChangeBackMarker(),this.onChangeBreakpoint(),this.onChangeAnnotation(),this.session.getUseWrapMode()&&this.renderer.adjustWrapLimit(),this.renderer.updateFull()):(this.selection=null,this.renderer.setSession(e)),this._signal("changeSession",{session:e,oldSession:t}),this.curOp=null,t&&t._signal("changeEditor",{oldEditor:this}),e&&e._signal("changeEditor",{editor:this}),e&&!e.destroyed&&e.bgTokenizer.scheduleStart()}},e.prototype.getSession=function(){return this.session},e.prototype.setValue=function(e,t){return this.session.doc.setValue(e),t?1==t?this.navigateFileEnd():-1==t&&this.navigateFileStart():this.selectAll(),e},e.prototype.getValue=function(){return this.session.getValue()},e.prototype.getSelection=function(){return this.selection},e.prototype.resize=function(e){this.renderer.onResize(e)},e.prototype.setTheme=function(e,t){this.renderer.setTheme(e,t)},e.prototype.getTheme=function(){return this.renderer.getTheme()},e.prototype.setStyle=function(e){this.renderer.setStyle(e)},e.prototype.unsetStyle=function(e){this.renderer.unsetStyle(e)},e.prototype.getFontSize=function(){return this.getOption("fontSize")||i.computedStyle(this.container).fontSize},e.prototype.setFontSize=function(e){this.setOption("fontSize",e)},e.prototype.$highlightBrackets=function(){if(!this.$highlightPending){var e=this;this.$highlightPending=!0,setTimeout((function(){e.$highlightPending=!1;var t=e.session;if(t&&!t.destroyed){t.$bracketHighlight&&(t.$bracketHighlight.markerIds.forEach((function(e){t.removeMarker(e)})),t.$bracketHighlight=null);var r=e.getCursorPosition(),n=e.getKeyboardHandler(),o=n&&n.$getDirectionForHighlight&&n.$getDirectionForHighlight(e),i=t.getMatchingBracketRanges(r,o);if(!i){var a=new b(t,r.row,r.column).getCurrentToken();if(a&&/\b(?:tag-open|tag-name)/.test(a.type)){var s=t.getMatchingTags(r);s&&(i=[s.openTagName.isEmpty()?s.openTag:s.openTagName,s.closeTagName.isEmpty()?s.closeTag:s.closeTagName])}}if(!i&&t.$mode.getMatching&&(i=t.$mode.getMatching(e.session)),i){var l="ace_bracket";Array.isArray(i)?1==i.length&&(l="ace_error_bracket"):i=[i],2==i.length&&(0==f.comparePoints(i[0].end,i[1].start)?i=[f.fromPoints(i[0].start,i[1].end)]:0==f.comparePoints(i[0].start,i[1].end)&&(i=[f.fromPoints(i[1].start,i[0].end)])),t.$bracketHighlight={ranges:i,markerIds:i.map((function(e){return t.addMarker(e,l,"text")}))},e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}else e.getHighlightIndentGuides()&&e.renderer.$textLayer.$highlightIndentGuide()}}),50)}},e.prototype.focus=function(){this.textInput.focus()},e.prototype.isFocused=function(){return this.textInput.isFocused()},e.prototype.blur=function(){this.textInput.blur()},e.prototype.onFocus=function(e){this.$isFocused||(this.$isFocused=!0,this.renderer.showCursor(),this.renderer.visualizeFocus(),this._emit("focus",e))},e.prototype.onBlur=function(e){this.$isFocused&&(this.$isFocused=!1,this.renderer.hideCursor(),this.renderer.visualizeBlur(),this._emit("blur",e))},e.prototype.$cursorChange=function(){this.renderer.updateCursor(),this.$highlightBrackets(),this.$updateHighlightActiveLine()},e.prototype.onDocumentChange=function(e){var t=this.session.$useWrapMode,r=e.start.row==e.end.row?e.end.row:1/0;this.renderer.updateLines(e.start.row,r,t),this._signal("change",e),this.$cursorChange()},e.prototype.onTokenizerUpdate=function(e){var t=e.data;this.renderer.updateLines(t.first,t.last)},e.prototype.onScrollTopChange=function(){this.renderer.scrollToY(this.session.getScrollTop())},e.prototype.onScrollLeftChange=function(){this.renderer.scrollToX(this.session.getScrollLeft())},e.prototype.onCursorChange=function(){this.$cursorChange(),this._signal("changeSelection")},e.prototype.$updateHighlightActiveLine=function(){var e,t=this.getSession();if(this.$highlightActiveLine&&("line"==this.$selectionStyle&&this.selection.isMultiLine()||(e=this.getCursorPosition()),this.renderer.theme&&this.renderer.theme.$selectionColorConflict&&!this.selection.isEmpty()&&(e=!1),!this.renderer.$maxLines||1!==this.session.getLength()||this.renderer.$minLines>1||(e=!1)),t.$highlightLineMarker&&!e)t.removeMarker(t.$highlightLineMarker.id),t.$highlightLineMarker=null;else if(!t.$highlightLineMarker&&e){var r=new f(e.row,e.column,e.row,1/0);r.id=t.addMarker(r,"ace_active-line","screenLine"),t.$highlightLineMarker=r}else e&&(t.$highlightLineMarker.start.row=e.row,t.$highlightLineMarker.end.row=e.row,t.$highlightLineMarker.start.column=e.column,t._signal("changeBackMarker"))},e.prototype.onSelectionChange=function(e){var t=this.session;if(t.$selectionMarker&&t.removeMarker(t.$selectionMarker),t.$selectionMarker=null,this.selection.isEmpty())this.$updateHighlightActiveLine();else{var r=this.selection.getRange(),n=this.getSelectionStyle();t.$selectionMarker=t.addMarker(r,"ace_selection",n)}var o=this.$highlightSelectedWord&&this.$getSelectionHighLightRegexp();this.session.highlight(o),this._signal("changeSelection")},e.prototype.$getSelectionHighLightRegexp=function(){var e=this.session,t=this.getSelectionRange();if(!t.isEmpty()&&!t.isMultiLine()){var r=t.start.column,n=t.end.column,o=e.getLine(t.start.row),i=o.substring(r,n);if(!(i.length>5e3)&&/[\w\d]/.test(i)){var a=this.$search.$assembleRegExp({wholeWord:!0,caseSensitive:!0,needle:i}),s=o.substring(r-1,n+1);if(a.test(s))return a}}},e.prototype.onChangeFrontMarker=function(){this.renderer.updateFrontMarkers()},e.prototype.onChangeBackMarker=function(){this.renderer.updateBackMarkers()},e.prototype.onChangeBreakpoint=function(){this.renderer.updateBreakpoints()},e.prototype.onChangeAnnotation=function(){this.renderer.setAnnotations(this.session.getAnnotations())},e.prototype.onChangeMode=function(e){this.renderer.updateText(),this._emit("changeMode",e)},e.prototype.onChangeWrapLimit=function(){this.renderer.updateFull()},e.prototype.onChangeWrapMode=function(){this.renderer.onResize(!0)},e.prototype.onChangeFold=function(){this.$updateHighlightActiveLine(),this.renderer.updateFull()},e.prototype.getSelectedText=function(){return this.session.getTextRange(this.getSelectionRange())},e.prototype.getCopyText=function(){var e=this.getSelectedText(),t=this.session.doc.getNewLineCharacter(),r=!1;if(!e&&this.$copyWithEmptySelection){r=!0;for(var n=this.selection.getAllRanges(),o=0;os.search(/\S|$/)){var l=s.substr(o.column).search(/\S|$/);r.doc.removeInLine(o.row,o.column,o.column+l)}}this.clearSelection();var c=o.column,u=r.getState(o.row),d=(s=r.getLine(o.row),n.checkOutdent(u,s,e));if(r.insert(o,e),i&&i.selection&&(2==i.selection.length?this.selection.setSelectionRange(new f(o.row,c+i.selection[0],o.row,c+i.selection[1])):this.selection.setSelectionRange(new f(o.row+i.selection[0],i.selection[1],o.row+i.selection[2],i.selection[3]))),this.$enableAutoIndent){if(r.getDocument().isNewLine(e)){var p=n.getNextLineIndent(u,s.slice(0,o.column),r.getTabString());r.insert({row:o.row+1,column:0},p)}d&&n.autoOutdent(u,r,o.row)}},e.prototype.autoIndent=function(){for(var e=this.session,t=e.getMode(),r=this.selection.isEmpty()?[new f(0,0,e.doc.getLength()-1,0)]:this.selection.getAllRanges(),n="",o="",i="",a=e.getTabString(),s=0;s0&&(n=e.getState(u-1),o=e.getLine(u-1),i=t.getNextLineIndent(n,o,a));var d=e.getLine(u),p=t.$getIndent(d);if(i!==p){if(p.length>0){var h=new f(u,0,u,p.length);e.remove(h)}i.length>0&&e.insert({row:u,column:0},i)}t.autoOutdent(n,e,u)}},e.prototype.onTextInput=function(e,t){if(!t)return this.keyBinding.onTextInput(e);this.startOperation({command:{name:"insertstring"}});var r=this.applyComposition.bind(this,e,t);this.selection.rangeCount?this.forEachSelection(r):r(),this.endOperation()},e.prototype.applyComposition=function(e,t){var r;(t.extendLeft||t.extendRight)&&((r=this.selection.getRange()).start.column-=t.extendLeft,r.end.column+=t.extendRight,r.start.column<0&&(r.start.row--,r.start.column+=this.session.getLine(r.start.row).length+1),this.selection.setRange(r),e||r.isEmpty()||this.remove());(!e&&this.selection.isEmpty()||this.insert(e,!0),t.restoreStart||t.restoreEnd)&&((r=this.selection.getRange()).start.column-=t.restoreStart,r.end.column-=t.restoreEnd,this.selection.setRange(r))},e.prototype.onCommandKey=function(e,t,r){return this.keyBinding.onCommandKey(e,t,r)},e.prototype.setOverwrite=function(e){this.session.setOverwrite(e)},e.prototype.getOverwrite=function(){return this.session.getOverwrite()},e.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},e.prototype.setScrollSpeed=function(e){this.setOption("scrollSpeed",e)},e.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},e.prototype.setDragDelay=function(e){this.setOption("dragDelay",e)},e.prototype.getDragDelay=function(){return this.getOption("dragDelay")},e.prototype.setSelectionStyle=function(e){this.setOption("selectionStyle",e)},e.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},e.prototype.setHighlightActiveLine=function(e){this.setOption("highlightActiveLine",e)},e.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.setHighlightSelectedWord=function(e){this.setOption("highlightSelectedWord",e)},e.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},e.prototype.setAnimatedScroll=function(e){this.renderer.setAnimatedScroll(e)},e.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},e.prototype.setShowInvisibles=function(e){this.renderer.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},e.prototype.setDisplayIndentGuides=function(e){this.renderer.setDisplayIndentGuides(e)},e.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},e.prototype.setHighlightIndentGuides=function(e){this.renderer.setHighlightIndentGuides(e)},e.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},e.prototype.setShowPrintMargin=function(e){this.renderer.setShowPrintMargin(e)},e.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},e.prototype.setPrintMarginColumn=function(e){this.renderer.setPrintMarginColumn(e)},e.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},e.prototype.setReadOnly=function(e){this.setOption("readOnly",e)},e.prototype.getReadOnly=function(){return this.getOption("readOnly")},e.prototype.setBehavioursEnabled=function(e){this.setOption("behavioursEnabled",e)},e.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},e.prototype.setWrapBehavioursEnabled=function(e){this.setOption("wrapBehavioursEnabled",e)},e.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},e.prototype.setShowFoldWidgets=function(e){this.setOption("showFoldWidgets",e)},e.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.remove=function(e){this.selection.isEmpty()&&("left"==e?this.selection.selectLeft():this.selection.selectRight());var t=this.getSelectionRange();if(this.getBehavioursEnabled()){var r=this.session,n=r.getState(t.start.row),o=r.getMode().transformAction(n,"deletion",this,r,t);if(0===t.end.column){var i=r.getTextRange(t);if("\n"==i[i.length-1]){var a=r.getLine(t.end.row);/^\s+$/.test(a)&&(t.end.column=a.length)}}o&&(t=o)}this.session.remove(t),this.clearSelection()},e.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},e.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var e=this.getSelectionRange();e.start.column==e.end.column&&e.start.row==e.end.row&&(e.end.column=0,e.end.row++),this.session.remove(e),this.clearSelection()},e.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var e=this.getCursorPosition();this.insert("\n"),this.moveCursorToPosition(e)},e.prototype.setGhostText=function(e,t){this.session.widgetManager||(this.session.widgetManager=new w(this.session),this.session.widgetManager.attach(this)),this.renderer.setGhostText(e,t)},e.prototype.removeGhostText=function(){this.session.widgetManager&&this.renderer.removeGhostText()},e.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var e=this.getCursorPosition(),t=e.column;if(0!==t){var r,n,o=this.session.getLine(e.row);tt.toLowerCase()?1:0}));var o=new f(0,0,0,0);for(n=e.first;n<=e.last;n++){var i=t.getLine(n);o.start.row=n,o.end.row=n,o.end.column=i.length,t.replace(o,r[n-e.first])}},e.prototype.toggleCommentLines=function(){var e=this.session.getState(this.getCursorPosition().row),t=this.$getSelectedRows();this.session.getMode().toggleCommentLines(e,this.session,t.first,t.last)},e.prototype.toggleBlockComment=function(){var e=this.getCursorPosition(),t=this.session.getState(e.row),r=this.getSelectionRange();this.session.getMode().toggleBlockComment(t,this.session,r,e)},e.prototype.getNumberAt=function(e,t){var r=/[\-]?[0-9]+(?:\.[0-9]+)?/g;r.lastIndex=0;for(var n=this.session.getLine(e);r.lastIndex=t)return{value:o[0],start:o.index,end:o.index+o[0].length}}return null},e.prototype.modifyNumber=function(e){var t=this.selection.getCursor().row,r=this.selection.getCursor().column,n=new f(t,r-1,t,r),o=this.session.getTextRange(n);if(!isNaN(parseFloat(o))&&isFinite(o)){var i=this.getNumberAt(t,r);if(i){var a=i.value.indexOf(".")>=0?i.start+i.value.indexOf(".")+1:i.end,s=i.start+i.value.length-a,l=parseFloat(i.value);l*=Math.pow(10,s),a!==i.end&&r=s&&i<=l&&(r=t,c.selection.clearSelection(),c.moveCursorTo(e,s+n),c.selection.selectTo(e,l+n)),s=l}));for(var u,d=this.$toggleWordPairs,p=0;p=l&&a<=c&&p.match(/((?:https?|ftp):\/\/[\S]+)/)){s=p.replace(/[\s:.,'";}\]]+$/,"");break}l=c}}catch(h){r={error:h}}finally{try{d&&!d.done&&(o=u.return)&&o.call(u)}finally{if(r)throw r.error}}return s},e.prototype.openLink=function(){var e=this.selection.getCursor(),t=this.findLinkAt(e.row,e.column);return t&&window.open(t,"_blank"),null!=t},e.prototype.removeLines=function(){var e=this.$getSelectedRows();this.session.removeFullLines(e.first,e.last),this.clearSelection()},e.prototype.duplicateSelection=function(){var e=this.selection,t=this.session,r=e.getRange(),n=e.isBackwards();if(r.isEmpty()){var o=r.start.row;t.duplicateLines(o,o)}else{var i=n?r.start:r.end,a=t.insert(i,t.getTextRange(r));r.start=i,r.end=a,e.setSelectionRange(r,n)}},e.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},e.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},e.prototype.moveText=function(e,t,r){return this.session.moveText(e,t,r)},e.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},e.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},e.prototype.$moveLines=function(e,t){var r,n,o=this.selection;if(!o.inMultiSelectMode||this.inVirtualSelectionMode){var i=o.toOrientedRange();r=this.$getSelectedRows(i),n=this.session.$moveLines(r.first,r.last,t?0:e),t&&-1==e&&(n=0),i.moveBy(n,0),o.fromOrientedRange(i)}else{var a=o.rangeList.ranges;o.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var s=0,l=0,c=a.length,u=0;uh+1)break;h=f.last}for(u--,s=this.session.$moveLines(p,h,t?0:e),t&&-1==e&&(d=u+1);d<=u;)a[d].moveBy(s,0),d++;t||(s=0),l+=s}o.fromOrientedRange(o.ranges[0]),o.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},e.prototype.$getSelectedRows=function(e){return e=(e||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(e.start.row),last:this.session.getRowFoldEnd(e.end.row)}},e.prototype.onCompositionStart=function(e){this.renderer.showComposition(e)},e.prototype.onCompositionUpdate=function(e){this.renderer.setCompositionText(e)},e.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},e.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},e.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},e.prototype.isRowVisible=function(e){return e>=this.getFirstVisibleRow()&&e<=this.getLastVisibleRow()},e.prototype.isRowFullyVisible=function(e){return e>=this.renderer.getFirstFullyVisibleRow()&&e<=this.renderer.getLastFullyVisibleRow()},e.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},e.prototype.$moveByPage=function(e,t){var r=this.renderer,n=this.renderer.layerConfig,o=e*Math.floor(n.height/n.lineHeight);!0===t?this.selection.$moveSelection((function(){this.moveCursorBy(o,0)})):!1===t&&(this.selection.moveCursorBy(o,0),this.selection.clearSelection());var i=r.scrollTop;r.scrollBy(0,o*n.lineHeight),null!=t&&r.scrollCursorIntoView(null,.5),r.animateScrolling(i)},e.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},e.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},e.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},e.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},e.prototype.scrollPageDown=function(){this.$moveByPage(1)},e.prototype.scrollPageUp=function(){this.$moveByPage(-1)},e.prototype.scrollToRow=function(e){this.renderer.scrollToRow(e)},e.prototype.scrollToLine=function(e,t,r,n){this.renderer.scrollToLine(e,t,r,n)},e.prototype.centerSelection=function(){var e=this.getSelectionRange(),t={row:Math.floor(e.start.row+(e.end.row-e.start.row)/2),column:Math.floor(e.start.column+(e.end.column-e.start.column)/2)};this.renderer.alignCursor(t,.5)},e.prototype.getCursorPosition=function(){return this.selection.getCursor()},e.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},e.prototype.getSelectionRange=function(){return this.selection.getRange()},e.prototype.selectAll=function(){this.selection.selectAll()},e.prototype.clearSelection=function(){this.selection.clearSelection()},e.prototype.moveCursorTo=function(e,t){this.selection.moveCursorTo(e,t)},e.prototype.moveCursorToPosition=function(e){this.selection.moveCursorToPosition(e)},e.prototype.jumpToMatching=function(e,t){var r=this.getCursorPosition(),n=new b(this.session,r.row,r.column),o=n.getCurrentToken(),i=0;o&&-1!==o.type.indexOf("tag-name")&&(o=n.stepBackward());var a=o||n.stepForward();if(a){var s,l,c=!1,u={},d=r.column-a.start,p={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(a.value.match(/[{}()\[\]]/g)){for(;d1?u[a.value]++:"=0;--i)this.$tryReplace(r[i],e)&&n++;return this.selection.setSelectionRange(o),n},e.prototype.$tryReplace=function(e,t){var r=this.session.getTextRange(e);return null!==(t=this.$search.replace(r,t))?(e.end=this.session.replace(e,t),e):null},e.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},e.prototype.find=function(e,t,r){t||(t={}),"string"==typeof e||e instanceof RegExp?t.needle=e:"object"==typeof e&&o.mixin(t,e);var n=this.selection.getRange();null==t.needle&&((e=this.session.getTextRange(n)||this.$search.$options.needle)||(n=this.session.getWordRange(n.start.row,n.start.column),e=this.session.getTextRange(n)),this.$search.set({needle:e})),this.$search.set(t),t.start||this.$search.set({start:n});var i=this.$search.find(this.session);return t.preventScroll?i:i?(this.revealRange(i,r),i):(t.backwards?n.start=n.end:n.end=n.start,void this.selection.setRange(n))},e.prototype.findNext=function(e,t){this.find({skipCurrent:!0,backwards:!1},e,t)},e.prototype.findPrevious=function(e,t){this.find(e,{skipCurrent:!0,backwards:!0},t)},e.prototype.revealRange=function(e,t){this.session.unfold(e),this.selection.setSelectionRange(e);var r=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(e.start,e.end,.5),!1!==t&&this.renderer.animateScrolling(r)},e.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},e.prototype.destroy=function(){this.$toDestroy&&(this.$toDestroy.forEach((function(e){e.destroy()})),this.$toDestroy=null),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},e.prototype.setAutoScrollEditorIntoView=function(e){if(e){var t,r=this,n=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var o=this.$scrollAnchor;o.style.cssText="position:absolute",this.container.insertBefore(o,this.container.firstChild);var i=this.on("changeSelection",(function(){n=!0})),a=this.renderer.on("beforeRender",(function(){n&&(t=r.renderer.container.getBoundingClientRect())})),s=this.renderer.on("afterRender",(function(){if(n&&t&&(r.isFocused()||r.searchBox&&r.searchBox.isFocused())){var e=r.renderer,i=e.$cursorLayer.$pixelPos,a=e.layerConfig,s=i.top-a.offset;null!=(n=i.top>=0&&s+t.top<0||!(i.topwindow.innerHeight)&&null)&&(o.style.top=s+"px",o.style.left=i.left+"px",o.style.height=a.lineHeight+"px",o.scrollIntoView(n)),n=t=null}}));this.setAutoScrollEditorIntoView=function(e){e||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",i),this.renderer.off("afterRender",s),this.renderer.off("beforeRender",a))}}},e.prototype.$resetCursorStyle=function(){var e=this.$cursorStyle||"ace",t=this.renderer.$cursorLayer;t&&(t.setSmoothBlinking(/smooth/.test(e)),t.isBlinking=!this.$readOnly&&"wide"!=e,i.setCssClass(t.element,"ace_slim-cursors",/slim/.test(e)))},e.prototype.prompt=function(e,t,r){var n=this;v.loadModule("ace/ext/prompt",(function(o){o.prompt(n,e,t,r)}))},e}();C.$uid=0,C.prototype.curOp=null,C.prototype.prevOp={},C.prototype.$mergeableCommands=["backspace","del","insertstring"],C.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],o.implement(C.prototype,m),v.defineOptions(C.prototype,"editor",{selectionStyle:{set:function(e){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:e})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(e){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(e){this.textInput.setReadOnly(e),this.$resetCursorStyle()},initialValue:!1},copyWithEmptySelection:{set:function(e){this.textInput.setCopyWithEmptySelection(e)},initialValue:!1},cursorStyle:{set:function(e){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(e){this.setAutoScrollEditorIntoView(e)}},keyboardHandler:{set:function(e){this.setKeyboardHandler(e)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(e){this.session.setValue(e)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(e){this.setSession(e)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(e){this.renderer.$gutterLayer.setShowLineNumbers(e),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),e&&this.$relativeLineNumbers?E.attach(this):E.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(e){this.$showLineNumbers&&e?E.attach(this):E.detach(this)}},placeholder:{set:function(e){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var e=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(e&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),i.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(e||this.renderer.placeholderNode)!e&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"");else{this.renderer.on("afterRender",this.$updatePlaceholder),i.addCssClass(this.container,"ace_hasPlaceholder");var t=i.createElement("div");t.className="ace_placeholder",t.textContent=this.$placeholder||"",this.renderer.placeholderNode=t,this.renderer.content.appendChild(this.renderer.placeholderNode)}}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(e){var t,r={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(e){e.blur(),e.renderer.scroller.focus()},readOnly:!0},n=function(e){if(e.target==this.renderer.scroller&&e.keyCode===S.enter){e.preventDefault();var t=this.getCursorPosition().row;this.isRowVisible(t)||this.scrollToLine(t,!0,!0),this.focus()}};e?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(s.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",x("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",x("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",n.bind(this)),this.commands.addCommand(r),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",x("editor.gutter.aria-roledescription","editor")),this.renderer.$gutter.setAttribute("aria-label",x("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),t||(t=new _(this)),t.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",n.bind(this)),this.commands.removeCommand(r),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),t&&t.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(e){this.$textInputAriaLabel=e},initialValue:""},enableMobileMenu:{set:function(e){this.$enableMobileMenu=e},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",tooltipFollowsMouse:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var E={getText:function(e,t){return(Math.abs(e.selection.lead.row-t)||t+1+(t<9?"\xb7":""))+""},getWidth:function(e,t,r){return Math.max(t.toString().length,(r.lastRow+1).toString().length,2)*r.characterWidth},update:function(e,t){t.renderer.$loop.schedule(t.renderer.CHANGE_GUTTER)},attach:function(e){e.renderer.$gutterLayer.$renderer=this,e.on("changeSelection",this.update),this.update(null,e)},detach:function(e){e.renderer.$gutterLayer.$renderer==this&&(e.renderer.$gutterLayer.$renderer=null),e.off("changeSelection",this.update),this.update(null,e)}};t.Editor=C})),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],(function(e,t,r){"use strict";var n=e("../lib/dom"),o=function(){function e(e,t){this.element=e,this.canvasHeight=t||5e5,this.element.style.height=2*this.canvasHeight+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return e.prototype.moveContainer=function(e){n.translate(this.element,0,-e.firstRowScreen*e.lineHeight%this.canvasHeight-e.offset*this.$offsetCoefficient)},e.prototype.pageChanged=function(e,t){return Math.floor(e.firstRowScreen*e.lineHeight/this.canvasHeight)!==Math.floor(t.firstRowScreen*t.lineHeight/this.canvasHeight)},e.prototype.computeLineTop=function(e,t,r){var n=t.firstRowScreen*t.lineHeight,o=Math.floor(n/this.canvasHeight);return r.documentToScreenRow(e,0)*t.lineHeight-o*this.canvasHeight},e.prototype.computeLineHeight=function(e,t,r){return t.lineHeight*r.getRowLineCount(e)},e.prototype.getLength=function(){return this.cells.length},e.prototype.get=function(e){return this.cells[e]},e.prototype.shift=function(){this.$cacheCell(this.cells.shift())},e.prototype.pop=function(){this.$cacheCell(this.cells.pop())},e.prototype.push=function(e){if(Array.isArray(e)){this.cells.push.apply(this.cells,e);for(var t=n.createFragment(this.element),r=0;ri&&(l=o.end.row+1,i=(o=t.getNextFoldLine(l,o))?o.start.row:1/0),l>n){for(;this.$lines.getLength()>s+1;)this.$lines.pop();break}(a=this.$lines.get(++s))?a.row=l:(a=this.$lines.createCell(l,e,this.session,u),this.$lines.push(a)),this.$renderCell(a,e,o,l),l++}this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$updateGutterWidth=function(e){var t=this.session,r=t.gutterRenderer||this.$renderer,n=t.$firstLineNumber,o=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||t.$useWrapMode)&&(o=t.getLength()+n-1);var i=r?r.getWidth(t,o,e):o.toString().length*e.characterWidth,a=this.$padding||this.$computePadding();(i+=a.left+a.right)===this.gutterWidth||isNaN(i)||(this.gutterWidth=i,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",i))},e.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var e=this.session.selection.getCursor();this.$cursorRow!==e.row&&(this.$cursorRow=e.row)}},e.prototype.updateLineHighlight=function(){if(this.$highlightGutterLine){var e=this.session.selection.cursor.row;if(this.$cursorRow=e,!this.$cursorCell||this.$cursorCell.row!=e){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var t=this.$lines.cells;this.$cursorCell=null;for(var r=0;r=this.$cursorRow){if(n.row>this.$cursorRow){var o=this.session.getFoldLine(this.$cursorRow);if(!(r>0&&o&&o.start.row==t[r-1].row))break;n=t[r-1]}n.element.className="ace_gutter-active-line "+n.element.className,this.$cursorCell=n;break}}}}},e.prototype.scrollLines=function(e){var t=this.config;if(this.config=e,this.$updateCursorRow(),this.$lines.pageChanged(t,e))return this.update(e);this.$lines.moveContainer(e);var r=Math.min(e.lastRow+e.gutterOffset,this.session.getLength()-1),n=this.oldLastRow;if(this.oldLastRow=r,!t||n0;o--)this.$lines.shift();if(n>r)for(o=this.session.getFoldedRowCount(r+1,n);o>0;o--)this.$lines.pop();e.firstRown&&this.$lines.push(this.$renderLines(e,n+1,r)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(e)},e.prototype.$renderLines=function(e,t,r){for(var n=[],o=t,i=this.session.getNextFoldLine(o),a=i?i.start.row:1/0;o>a&&(o=i.end.row+1,a=(i=this.session.getNextFoldLine(o,i))?i.start.row:1/0),!(o>r);){var s=this.$lines.createCell(o,e,this.session,u);this.$renderCell(s,e,i,o),n.push(s),o++}return n},e.prototype.$renderCell=function(e,t,r,o){var i=e.element,a=this.session,s=i.childNodes[0],c=i.childNodes[1],u=i.childNodes[2],d=u.firstChild,p=a.$firstLineNumber,h=a.$breakpoints,f=a.$decorations,m=a.gutterRenderer||this.$renderer,g=this.$showFoldWidgets&&a.foldWidgets,y=r?r.start.row:Number.MAX_VALUE,v=t.lineHeight+"px",b=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",w=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",_=(m?m.getText(a,o):o+p).toString();if(this.$highlightGutterLine&&(o==this.$cursorRow||r&&o=y&&this.$cursorRow<=r.end.row)&&(b+="ace_gutter-active-line ",this.$cursorCell!=e&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=e)),h[o]&&(b+=h[o]),f[o]&&(b+=f[o]),this.$annotations[o]&&o!==y&&(b+=this.$annotations[o].className),g){var x=g[o];null==x&&(x=g[o]=a.getFoldWidget(o))}if(x){var k="ace_fold-widget ace_"+x,S="start"==x&&o==y&&or.right-t.right?"foldWidgets":void 0},e}();function u(e){var t=document.createTextNode("");e.appendChild(t);var r=n.createElement("span");e.appendChild(r);var o=n.createElement("span");e.appendChild(o);var i=n.createElement("span");return o.appendChild(i),e}c.prototype.$fixedWidth=!1,c.prototype.$highlightGutterLine=!0,c.prototype.$renderer="",c.prototype.$showLineNumbers=!0,c.prototype.$showFoldWidgets=!0,o.implement(c.prototype,a),t.Gutter=c})),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],(function(e,t,r){"use strict";var n=e("../range").Range,o=e("../lib/dom"),i=function(){function e(e){this.element=o.createElement("div"),this.element.className="ace_layer ace_marker-layer",e.appendChild(this.element)}return e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setMarkers=function(e){this.markers=e},e.prototype.elt=function(e,t){var r=-1!=this.i&&this.element.childNodes[this.i];r?this.i++:(r=document.createElement("div"),this.element.appendChild(r),this.i=-1),r.style.cssText=t,r.className=e},e.prototype.update=function(e){if(e){var t;for(var r in this.config=e,this.i=0,this.markers){var n=this.markers[r];if(n.range){var o=n.range.clipRows(e.firstRow,e.lastRow);if(!o.isEmpty())if(o=o.toScreenRange(this.session),n.renderer){var i=this.$getTop(o.start.row,e),a=this.$padding+o.start.column*e.characterWidth;n.renderer(t,o,a,i,e)}else"fullLine"==n.type?this.drawFullLineMarker(t,o,n.clazz,e):"screenLine"==n.type?this.drawScreenLineMarker(t,o,n.clazz,e):o.isMultiLine()?"text"==n.type?this.drawTextMarker(t,o,n.clazz,e):this.drawMultiLineMarker(t,o,n.clazz,e):this.drawSingleLineMarker(t,o,n.clazz+" ace_start ace_br15",e)}else n.update(t,this,this.session,e)}if(-1!=this.i)for(;this.ip?4:0)|(c==l?8:0)),o,c==l?0:1,i)},e.prototype.drawMultiLineMarker=function(e,t,r,n,o){var i=this.$padding,a=n.lineHeight,s=this.$getTop(t.start.row,n),l=i+t.start.column*n.characterWidth;(o=o||"",this.session.$bidiHandler.isBidiRow(t.start.row))?((c=t.clone()).end.row=c.start.row,c.end.column=this.session.getLine(c.start.row).length,this.drawBidiSingleLineMarker(e,c,r+" ace_br1 ace_start",n,null,o)):this.elt(r+" ace_br1 ace_start","height:"+a+"px;right:"+i+"px;top:"+s+"px;left:"+l+"px;"+(o||""));if(this.session.$bidiHandler.isBidiRow(t.end.row)){var c;(c=t.clone()).start.row=c.end.row,c.start.column=0,this.drawBidiSingleLineMarker(e,c,r+" ace_br12",n,null,o)}else{s=this.$getTop(t.end.row,n);var u=t.end.column*n.characterWidth;this.elt(r+" ace_br12","height:"+a+"px;width:"+u+"px;top:"+s+"px;left:"+i+"px;"+(o||""))}if(!((a=(t.end.row-t.start.row-1)*n.lineHeight)<=0)){s=this.$getTop(t.start.row+1,n);var d=(t.start.column?1:0)|(t.end.column?0:8);this.elt(r+(d?" ace_br"+d:""),"height:"+a+"px;right:"+i+"px;top:"+s+"px;left:"+i+"px;"+(o||""))}},e.prototype.drawSingleLineMarker=function(e,t,r,n,o,i){if(this.session.$bidiHandler.isBidiRow(t.start.row))return this.drawBidiSingleLineMarker(e,t,r,n,o,i);var a=n.lineHeight,s=(t.end.column+(o||0)-t.start.column)*n.characterWidth,l=this.$getTop(t.start.row,n),c=this.$padding+t.start.column*n.characterWidth;this.elt(r,"height:"+a+"px;width:"+s+"px;top:"+l+"px;left:"+c+"px;"+(i||""))},e.prototype.drawBidiSingleLineMarker=function(e,t,r,n,o,i){var a=n.lineHeight,s=this.$getTop(t.start.row,n),l=this.$padding;this.session.$bidiHandler.getSelections(t.start.column,t.end.column).forEach((function(e){this.elt(r,"height:"+a+"px;width:"+(e.width+(o||0))+"px;top:"+s+"px;left:"+(l+e.left)+"px;"+(i||""))}),this)},e.prototype.drawFullLineMarker=function(e,t,r,n,o){var i=this.$getTop(t.start.row,n),a=n.lineHeight;t.start.row!=t.end.row&&(a+=this.$getTop(t.end.row,n)-i),this.elt(r,"height:"+a+"px;top:"+i+"px;left:0;right:0;"+(o||""))},e.prototype.drawScreenLineMarker=function(e,t,r,n,o){var i=this.$getTop(t.start.row,n),a=n.lineHeight;this.elt(r,"height:"+a+"px;top:"+i+"px;left:0;right:0;"+(o||""))},e}();i.prototype.$padding=0,t.Marker=i})),ace.define("ace/layer/text_util",["require","exports","module"],(function(e,t,r){var n=new Set(["text","rparen","lparen"]);t.isTextToken=function(e){return n.has(e)}})),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],(function(e,t,r){"use strict";var n=e("../lib/oop"),o=e("../lib/dom"),i=e("../lib/lang"),a=e("./lines").Lines,s=e("../lib/event_emitter").EventEmitter,l=e("../config").nls,c=e("./text_util").isTextToken,u=function(){function e(e){this.dom=o,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",e.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new a(this.element)}return e.prototype.$updateEolChar=function(){var e=this.session.doc,t="\n"==e.getNewLineCharacter()&&"windows"!=e.getNewLineMode()?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=t)return this.EOL_CHAR=t,!0},e.prototype.setPadding=function(e){this.$padding=e,this.element.style.margin="0 "+e+"px"},e.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},e.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},e.prototype.$setFontMetrics=function(e){this.$fontMetrics=e,this.$fontMetrics.on("changeCharacterSize",function(e){this._signal("changeCharacterSize",e)}.bind(this)),this.$pollSizeChanges()},e.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},e.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},e.prototype.setSession=function(e){this.session=e,e&&this.$computeTabString()},e.prototype.setShowInvisibles=function(e){return this.showInvisibles!=e&&(this.showInvisibles=e,"string"==typeof e?(this.showSpaces=/tab/i.test(e),this.showTabs=/space/i.test(e),this.showEOL=/eol/i.test(e)):this.showSpaces=this.showTabs=this.showEOL=e,this.$computeTabString(),!0)},e.prototype.setDisplayIndentGuides=function(e){return this.displayIndentGuides!=e&&(this.displayIndentGuides=e,this.$computeTabString(),!0)},e.prototype.setHighlightIndentGuides=function(e){return this.$highlightIndentGuides!==e&&(this.$highlightIndentGuides=e,e)},e.prototype.$computeTabString=function(){var e=this.session.getTabSize();this.tabSize=e;for(var t=this.$tabStrings=[0],r=1;ru&&(s=l.end.row+1,u=(l=this.session.getNextFoldLine(s,l))?l.start.row:1/0),!(s>o);){var d=i[a++];if(d){this.dom.removeChildren(d),this.$renderLine(d,s,s==u&&l),c&&(d.style.top=this.$lines.computeLineTop(s,e,this.session)+"px");var p=e.lineHeight*this.session.getRowLength(s)+"px";d.style.height!=p&&(c=!0,d.style.height=p)}s++}if(c)for(;a0;o--)this.$lines.shift();if(t.lastRow>e.lastRow)for(o=this.session.getFoldedRowCount(e.lastRow+1,t.lastRow);o>0;o--)this.$lines.pop();e.firstRowt.lastRow&&this.$lines.push(this.$renderLinesFragment(e,t.lastRow+1,e.lastRow)),this.$highlightIndentGuide()},e.prototype.$renderLinesFragment=function(e,t,r){for(var n=[],i=t,a=this.session.getNextFoldLine(i),s=a?a.start.row:1/0;i>s&&(i=a.end.row+1,s=(a=this.session.getNextFoldLine(i,a))?a.start.row:1/0),!(i>r);){var l=this.$lines.createCell(i,e,this.session),c=l.element;this.dom.removeChildren(c),o.setStyle(c.style,"height",this.$lines.computeLineHeight(i,e,this.session)+"px"),o.setStyle(c.style,"top",this.$lines.computeLineTop(i,e,this.session)+"px"),this.$renderLine(c,i,i==s&&a),this.$useLineGroups()?c.className="ace_line_group":c.className="ace_line",n.push(l),i++}return n},e.prototype.update=function(e){this.$lines.moveContainer(e),this.config=e;for(var t=e.firstRow,r=e.lastRow,n=this.$lines;n.getLength();)n.pop();n.push(this.$renderLinesFragment(e,t,r))},e.prototype.$renderToken=function(e,t,r,n){for(var o,a=this,s=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,u=this.dom.createFragment(this.element),d=0;o=s.exec(n);){var p=o[1],h=o[2],f=o[3],m=o[4],g=o[5];if(a.showSpaces||!h){var y=d!=o.index?n.slice(d,o.index):"";if(d=o.index+o[0].length,y&&u.appendChild(this.dom.createTextNode(y,this.element)),p){var v=a.session.getScreenTabSize(t+o.index);u.appendChild(a.$tabStrings[v].cloneNode(!0)),t+=v-1}else if(h){if(a.showSpaces)(w=this.dom.createElement("span")).className="ace_invisible ace_invisible_space",w.textContent=i.stringRepeat(a.SPACE_CHAR,h.length),u.appendChild(w);else u.appendChild(this.dom.createTextNode(h,this.element))}else if(f){(w=this.dom.createElement("span")).className="ace_invisible ace_invisible_space ace_invalid",w.textContent=i.stringRepeat(a.SPACE_CHAR,f.length),u.appendChild(w)}else if(m){t+=1,(w=this.dom.createElement("span")).style.width=2*a.config.characterWidth+"px",w.className=a.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",w.textContent=a.showSpaces?a.SPACE_CHAR:m,u.appendChild(w)}else if(g){t+=1,(w=this.dom.createElement("span")).style.width=2*a.config.characterWidth+"px",w.className="ace_cjk",w.textContent=g,u.appendChild(w)}}}if(u.appendChild(this.dom.createTextNode(d?n.slice(d):n,this.element)),c(r.type))e.appendChild(u);else{var b="ace_"+r.type.replace(/\./g," ace_"),w=this.dom.createElement("span");"fold"==r.type&&(w.style.width=r.value.length*this.config.characterWidth+"px",w.setAttribute("title",l("inline-fold.closed.title","Unfold code"))),w.className=b,w.appendChild(u),e.appendChild(w)}return t+n.length},e.prototype.renderIndentGuide=function(e,t,r){var n=t.search(this.$indentGuideRe);if(n<=0||n>=r)return t;if(" "==t[0]){for(var o=(n-=n%this.tabSize)/this.tabSize,i=0;io[i].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}if(!this.$highlightIndentGuideMarker.end&&""!==e[t.row]&&t.column===e[t.row].length){this.$highlightIndentGuideMarker.dir=1;for(i=t.row+1;i0)for(var n=0;n=this.$highlightIndentGuideMarker.start+1){if(n.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(n,t)}}else for(r=e.length-1;r>=0;r--){n=e[r];if(this.$highlightIndentGuideMarker.end&&n.row=a;)s=this.$renderToken(l,s,u,d.substring(0,a-n)),d=d.substring(a-n),n=a,l=this.$createLineElement(),e.appendChild(l),l.appendChild(this.dom.createTextNode(i.stringRepeat("\xa0",r.indent),this.element)),s=0,a=r[++o]||Number.MAX_VALUE;0!=d.length&&(n+=d.length,s=this.$renderToken(l,s,u,d))}}r[r.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(l,s,null,"",!0)},e.prototype.$renderSimpleLine=function(e,t){for(var r=0,n=0;nthis.MAX_LINE_LENGTH)return this.$renderOverflowMessage(e,r,o,i);r=this.$renderToken(e,r,o,i)}}},e.prototype.$renderOverflowMessage=function(e,t,r,n,o){r&&this.$renderToken(e,t,r,n.slice(0,this.MAX_LINE_LENGTH-t));var i=this.dom.createElement("span");i.className="ace_inline_button ace_keyword ace_toggle_wrap",i.textContent=o?"":"",e.appendChild(i)},e.prototype.$renderLine=function(e,t,r){if(r||0==r||(r=this.session.getFoldLine(t)),r)var n=this.$getFoldLineTokens(t,r);else n=this.session.getTokens(t);var o=e;if(n.length){var i=this.session.getRowSplitData(t);if(i&&i.length){this.$renderWrappedLine(e,n,i);o=e.lastChild}else{o=e;this.$useLineGroups()&&(o=this.$createLineElement(),e.appendChild(o)),this.$renderSimpleLine(o,n)}}else this.$useLineGroups()&&(o=this.$createLineElement(),e.appendChild(o));if(this.showEOL&&o){r&&(t=r.end.row);var a=this.dom.createElement("span");a.className="ace_invisible ace_invisible_eol",a.textContent=t==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,o.appendChild(a)}},e.prototype.$getFoldLineTokens=function(e,t){var r=this.session,n=[];var o=r.getTokens(e);return t.walk((function(e,t,i,a,s){null!=e?n.push({type:"fold",value:e}):(s&&(o=r.getTokens(t)),o.length&&function(e,t,r){for(var o=0,i=0;i+e[o].value.lengthr-t&&(a=a.substring(0,r-t)),n.push({type:e[o].type,value:a}),i=t+a.length,o+=1);ir?n.push({type:e[o].type,value:a.substring(0,r-i)}):n.push(e[o]),i+=a.length,o+=1}}(o,a,i))}),t.end.row,this.session.getLine(t.end.row).length),n},e.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},e}();u.prototype.EOF_CHAR="\xb6",u.prototype.EOL_CHAR_LF="\xac",u.prototype.EOL_CHAR_CRLF="\xa4",u.prototype.EOL_CHAR=u.prototype.EOL_CHAR_LF,u.prototype.TAB_CHAR="\u2014",u.prototype.SPACE_CHAR="\xb7",u.prototype.$padding=0,u.prototype.MAX_LINE_LENGTH=1e4,u.prototype.showInvisibles=!1,u.prototype.showSpaces=!1,u.prototype.showTabs=!1,u.prototype.showEOL=!1,u.prototype.displayIndentGuides=!0,u.prototype.$highlightIndentGuides=!0,u.prototype.$tabStrings=[],u.prototype.destroy={},u.prototype.onChangeTabSize=u.prototype.$computeTabString,n.implement(u.prototype,s),t.Text=u})),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],(function(e,t,r){"use strict";var n=e("../lib/dom"),o=function(){function e(e){this.element=n.createElement("div"),this.element.className="ace_layer ace_cursor-layer",e.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),n.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return e.prototype.$updateOpacity=function(e){for(var t=this.cursors,r=t.length;r--;)n.setStyle(t[r].style,"opacity",e?"":"0")},e.prototype.$startCssAnimation=function(){for(var e=this.cursors,t=e.length;t--;)e[t].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&n.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},e.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,n.removeCssClass(this.element,"ace_animate-blinking")},e.prototype.setPadding=function(e){this.$padding=e},e.prototype.setSession=function(e){this.session=e},e.prototype.setBlinking=function(e){e!=this.isBlinking&&(this.isBlinking=e,this.restartTimer())},e.prototype.setBlinkInterval=function(e){e!=this.blinkInterval&&(this.blinkInterval=e,this.restartTimer())},e.prototype.setSmoothBlinking=function(e){e!=this.smoothBlinking&&(this.smoothBlinking=e,n.setCssClass(this.element,"ace_smooth-blinking",e),this.$updateCursors(!0),this.restartTimer())},e.prototype.addCursor=function(){var e=n.createElement("div");return e.className="ace_cursor",this.element.appendChild(e),this.cursors.push(e),e},e.prototype.removeCursor=function(){if(this.cursors.length>1){var e=this.cursors.pop();return e.parentNode.removeChild(e),e}},e.prototype.hideCursor=function(){this.isVisible=!1,n.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.showCursor=function(){this.isVisible=!0,n.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},e.prototype.restartTimer=function(){var e=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,n.removeCssClass(this.element,"ace_smooth-blinking")),e(!0),this.isBlinking&&this.blinkInterval&&this.isVisible)if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&n.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),n.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var t=function(){this.timeoutId=setTimeout((function(){e(!1)}),.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval((function(){e(!0),t()}),this.blinkInterval),t()}else this.$stopCssAnimation()},e.prototype.getPixelPosition=function(e,t){if(!this.config||!this.session)return{left:0,top:0};e||(e=this.session.selection.getCursor());var r=this.session.documentToScreenPosition(e);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(r.row,e.row)?this.session.$bidiHandler.getPosLeft(r.column):r.column*this.config.characterWidth),top:(r.row-(t?this.config.firstRowScreen:0))*this.config.lineHeight}},e.prototype.isCursorInView=function(e,t){return e.top>=0&&e.tope.height+e.offset||a.top<0)&&r>1)){var s=this.cursors[o++]||this.addCursor(),l=s.style;this.drawCursor?this.drawCursor(s,a,e,t[r],this.session):this.isCursorInView(a,e)?(n.setStyle(l,"display","block"),n.translate(s,a.left,a.top),n.setStyle(l,"width",Math.round(e.characterWidth)+"px"),n.setStyle(l,"height",e.lineHeight+"px")):n.setStyle(l,"display","none")}}for(;this.cursors.length>o;)this.removeCursor();var c=this.session.getOverwrite();this.$setOverwrite(c),this.$pixelPos=a,this.restartTimer()},e.prototype.$setOverwrite=function(e){e!=this.overwrite&&(this.overwrite=e,e?n.addCssClass(this.element,"ace_overwrite-cursors"):n.removeCssClass(this.element,"ace_overwrite-cursors"))},e.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},e}();o.prototype.$padding=0,o.prototype.drawCursor=null,t.Cursor=o})),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=e("./lib/oop"),i=e("./lib/dom"),a=e("./lib/event"),s=e("./lib/event_emitter").EventEmitter,l=32768,c=function(){function e(e,t){this.element=i.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+t,this.inner=i.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent="\xa0",this.element.appendChild(this.inner),e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addListener(this.element,"scroll",this.onScroll.bind(this)),a.addListener(this.element,"mousedown",a.preventDefault)}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();o.implement(c.prototype,s);var u=function(e){function t(t,r){var n=e.call(this,t,"-v")||this;return n.scrollTop=0,n.scrollHeight=0,r.$scrollbarWidth=n.width=i.scrollbarWidth(t.ownerDocument),n.inner.style.width=n.element.style.width=(n.width||15)+5+"px",n.$minWidth=0,n}return n(t,e),t.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,1!=this.coeff){var e=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-e)/(this.coeff-e)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.element.style.height=e+"px"},t.prototype.setScrollHeight=function(e){this.scrollHeight=e,e>l?(this.coeff=l/e,e=l):1!=this.coeff&&(this.coeff=1),this.inner.style.height=e+"px"},t.prototype.setScrollTop=function(e){this.scrollTop!=e&&(this.skipEvent=!0,this.scrollTop=e,this.element.scrollTop=e*this.coeff)},t}(c);u.prototype.setInnerHeight=u.prototype.setScrollHeight;var d=function(e){function t(t,r){var n=e.call(this,t,"-h")||this;return n.scrollLeft=0,n.height=r.$scrollbarWidth,n.inner.style.height=n.element.style.height=(n.height||15)+5+"px",n}return n(t,e),t.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.setWidth=function(e){this.element.style.width=e+"px"},t.prototype.setInnerWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollWidth=function(e){this.inner.style.width=e+"px"},t.prototype.setScrollLeft=function(e){this.scrollLeft!=e&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=e)},t}(c);t.ScrollBar=u,t.ScrollBarV=u,t.ScrollBarH=d,t.VScrollBar=u,t.HScrollBar=d})),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],(function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=e("./lib/oop"),i=e("./lib/dom"),a=e("./lib/event"),s=e("./lib/event_emitter").EventEmitter;i.importCssString(".ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{\n position: absolute;\n background: rgba(128, 128, 128, 0.6);\n -moz-box-sizing: border-box;\n box-sizing: border-box;\n border: 1px solid #bbb;\n border-radius: 2px;\n z-index: 8;\n}\n.ace_editor>.ace_sb-v, .ace_editor>.ace_sb-h {\n position: absolute;\n z-index: 6;\n background: none;\n overflow: hidden!important;\n}\n.ace_editor>.ace_sb-v {\n z-index: 6;\n right: 0;\n top: 0;\n width: 12px;\n}\n.ace_editor>.ace_sb-v div {\n z-index: 8;\n right: 0;\n width: 100%;\n}\n.ace_editor>.ace_sb-h {\n bottom: 0;\n left: 0;\n height: 12px;\n}\n.ace_editor>.ace_sb-h div {\n bottom: 0;\n height: 100%;\n}\n.ace_editor>.ace_sb_grabbed {\n z-index: 8;\n background: #000;\n}","ace_scrollbar.css",!1);var l=function(){function e(e,t){this.element=i.createElement("div"),this.element.className="ace_sb"+t,this.inner=i.createElement("div"),this.inner.className="",this.element.appendChild(this.inner),this.VScrollWidth=12,this.HScrollHeight=12,e.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,a.addMultiMouseDownListener(this.element,[500,300,300],this,"onMouseDown")}return e.prototype.setVisible=function(e){this.element.style.display=e?"":"none",this.isVisible=e,this.coeff=1},e}();o.implement(l.prototype,s);var c=function(e){function t(t,r){var n=e.call(this,t,"-v")||this;return n.scrollTop=0,n.scrollHeight=0,n.parent=t,n.width=n.VScrollWidth,n.renderer=r,n.inner.style.width=n.element.style.width=(n.width||15)+"px",n.$minWidth=0,n}return n(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===a.getButton(t)&&2!==t.detail){if(t.target===this.inner){var r=this,n=t.clientY,o=t.clientY,i=this.thumbTop;a.capture(this.inner,(function(e){n=e.clientY}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==n){var e=r.scrollTopFromThumbTop(i+n-o);e!==r.scrollTop&&r._emit("scroll",{data:e})}}),20);return a.preventDefault(t)}var l=t.clientY-this.element.getBoundingClientRect().top-this.thumbHeight/2;return this._emit("scroll",{data:this.scrollTopFromThumbTop(l)}),a.preventDefault(t)}},t.prototype.getHeight=function(){return this.height},t.prototype.scrollTopFromThumbTop=function(e){var t=e*(this.pageHeight-this.viewHeight)/(this.slideHeight-this.thumbHeight);return(t|=0)<0?t=0:t>this.pageHeight-this.viewHeight&&(t=this.pageHeight-this.viewHeight),t},t.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},t.prototype.setHeight=function(e){this.height=Math.max(0,e),this.slideHeight=this.height,this.viewHeight=this.height,this.setScrollHeight(this.pageHeight,!0)},t.prototype.setScrollHeight=function(e,t){(this.pageHeight!==e||t)&&(this.pageHeight=e,this.thumbHeight=this.slideHeight*this.viewHeight/this.pageHeight,this.thumbHeight>this.slideHeight&&(this.thumbHeight=this.slideHeight),this.thumbHeight<15&&(this.thumbHeight=15),this.inner.style.height=this.thumbHeight+"px",this.scrollTop>this.pageHeight-this.viewHeight&&(this.scrollTop=this.pageHeight-this.viewHeight,this.scrollTop<0&&(this.scrollTop=0),this._emit("scroll",{data:this.scrollTop})))},t.prototype.setScrollTop=function(e){this.scrollTop=e,e<0&&(e=0),this.thumbTop=e*(this.slideHeight-this.thumbHeight)/(this.pageHeight-this.viewHeight),this.inner.style.top=this.thumbTop+"px"},t}(l);c.prototype.setInnerHeight=c.prototype.setScrollHeight;var u=function(e){function t(t,r){var n=e.call(this,t,"-h")||this;return n.scrollLeft=0,n.scrollWidth=0,n.height=n.HScrollHeight,n.inner.style.height=n.element.style.height=(n.height||12)+"px",n.renderer=r,n}return n(t,e),t.prototype.onMouseDown=function(e,t){if("mousedown"===e&&0===a.getButton(t)&&2!==t.detail){if(t.target===this.inner){var r=this,n=t.clientX,o=t.clientX,i=this.thumbLeft;a.capture(this.inner,(function(e){n=e.clientX}),(function(){clearInterval(s)}));var s=setInterval((function(){if(void 0!==n){var e=r.scrollLeftFromThumbLeft(i+n-o);e!==r.scrollLeft&&r._emit("scroll",{data:e})}}),20);return a.preventDefault(t)}var l=t.clientX-this.element.getBoundingClientRect().left-this.thumbWidth/2;return this._emit("scroll",{data:this.scrollLeftFromThumbLeft(l)}),a.preventDefault(t)}},t.prototype.getHeight=function(){return this.isVisible?this.height:0},t.prototype.scrollLeftFromThumbLeft=function(e){var t=e*(this.pageWidth-this.viewWidth)/(this.slideWidth-this.thumbWidth);return(t|=0)<0?t=0:t>this.pageWidth-this.viewWidth&&(t=this.pageWidth-this.viewWidth),t},t.prototype.setWidth=function(e){this.width=Math.max(0,e),this.element.style.width=this.width+"px",this.slideWidth=this.width,this.viewWidth=this.width,this.setScrollWidth(this.pageWidth,!0)},t.prototype.setScrollWidth=function(e,t){(this.pageWidth!==e||t)&&(this.pageWidth=e,this.thumbWidth=this.slideWidth*this.viewWidth/this.pageWidth,this.thumbWidth>this.slideWidth&&(this.thumbWidth=this.slideWidth),this.thumbWidth<15&&(this.thumbWidth=15),this.inner.style.width=this.thumbWidth+"px",this.scrollLeft>this.pageWidth-this.viewWidth&&(this.scrollLeft=this.pageWidth-this.viewWidth,this.scrollLeft<0&&(this.scrollLeft=0),this._emit("scroll",{data:this.scrollLeft})))},t.prototype.setScrollLeft=function(e){this.scrollLeft=e,e<0&&(e=0),this.thumbLeft=e*(this.slideWidth-this.thumbWidth)/(this.pageWidth-this.viewWidth),this.inner.style.left=this.thumbLeft+"px"},t}(l);u.prototype.setInnerWidth=u.prototype.setScrollWidth,t.ScrollBar=c,t.ScrollBarV=c,t.ScrollBarH=u,t.VScrollBar=c,t.HScrollBar=u})),ace.define("ace/renderloop",["require","exports","module","ace/lib/event"],(function(e,t,r){"use strict";var n=e("./lib/event"),o=function(){function e(e,t){this.onRender=e,this.pending=!1,this.changes=0,this.$recursionLimit=2,this.window=t||window;var r=this;this._flush=function(e){r.pending=!1;var t=r.changes;if(t&&(n.blockIdle(100),r.changes=0,r.onRender(t)),r.changes){if(r.$recursionLimit--<0)return;r.schedule()}else r.$recursionLimit=2}}return e.prototype.schedule=function(e){this.changes=this.changes|e,this.changes&&!this.pending&&(n.nextFrame(this._flush),this.pending=!0)},e.prototype.clear=function(e){var t=this.changes;return this.changes=0,t},e}();t.RenderLoop=o})),ace.define("ace/layer/font_metrics",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/lib/event","ace/lib/useragent","ace/lib/event_emitter"],(function(e,t,r){var n=e("../lib/oop"),o=e("../lib/dom"),i=e("../lib/lang"),a=e("../lib/event"),s=e("../lib/useragent"),l=e("../lib/event_emitter").EventEmitter,c=512,u="function"==typeof ResizeObserver,d=200,p=function(){function e(e){this.el=o.createElement("div"),this.$setMeasureNodeStyles(this.el.style,!0),this.$main=o.createElement("div"),this.$setMeasureNodeStyles(this.$main.style),this.$measureNode=o.createElement("div"),this.$setMeasureNodeStyles(this.$measureNode.style),this.el.appendChild(this.$main),this.el.appendChild(this.$measureNode),e.appendChild(this.el),this.$measureNode.textContent=i.stringRepeat("X",c),this.$characterSize={width:0,height:0},u?this.$addObserver():this.checkForSizeChanges()}return e.prototype.$setMeasureNodeStyles=function(e,t){e.width=e.height="auto",e.left=e.top="0px",e.visibility="hidden",e.position="absolute",e.whiteSpace="pre",s.isIE<8?e["font-family"]="inherit":e.font="inherit",e.overflow=t?"hidden":"visible"},e.prototype.checkForSizeChanges=function(e){if(void 0===e&&(e=this.$measureSizes()),e&&(this.$characterSize.width!==e.width||this.$characterSize.height!==e.height)){this.$measureNode.style.fontWeight="bold";var t=this.$measureSizes();this.$measureNode.style.fontWeight="",this.$characterSize=e,this.charSizes=Object.create(null),this.allowBoldFonts=t&&t.width===e.width&&t.height===e.height,this._emit("changeCharacterSize",{data:e})}},e.prototype.$addObserver=function(){var e=this;this.$observer=new window.ResizeObserver((function(t){e.checkForSizeChanges()})),this.$observer.observe(this.$measureNode)},e.prototype.$pollSizeChanges=function(){if(this.$pollSizeChangesTimer||this.$observer)return this.$pollSizeChangesTimer;var e=this;return this.$pollSizeChangesTimer=a.onIdle((function t(){e.checkForSizeChanges(),a.onIdle(t,500)}),500)},e.prototype.setPolling=function(e){e?this.$pollSizeChanges():this.$pollSizeChangesTimer&&(clearInterval(this.$pollSizeChangesTimer),this.$pollSizeChangesTimer=0)},e.prototype.$measureSizes=function(e){var t={height:(e||this.$measureNode).clientHeight,width:(e||this.$measureNode).clientWidth/c};return 0===t.width||0===t.height?null:t},e.prototype.$measureCharWidth=function(e){return this.$main.textContent=i.stringRepeat(e,c),this.$main.getBoundingClientRect().width/c},e.prototype.getCharacterWidth=function(e){var t=this.charSizes[e];return void 0===t&&(t=this.charSizes[e]=this.$measureCharWidth(e)/this.$characterSize.width),t},e.prototype.destroy=function(){clearInterval(this.$pollSizeChangesTimer),this.$observer&&this.$observer.disconnect(),this.el&&this.el.parentNode&&this.el.parentNode.removeChild(this.el)},e.prototype.$getZoom=function(e){return e&&e.parentElement?(Number(window.getComputedStyle(e).zoom)||1)*this.$getZoom(e.parentElement):1},e.prototype.$initTransformMeasureNodes=function(){var e=function(e,t){return["div",{style:"position: absolute;top:"+e+"px;left:"+t+"px;"}]};this.els=o.buildDom([e(0,0),e(d,0),e(0,d),e(d,d)],this.el)},e.prototype.transformCoordinates=function(e,t){e&&(e=i(1/this.$getZoom(this.el),e));function r(e,t,r){var n=e[1]*t[0]-e[0]*t[1];return[(-t[1]*r[0]+t[0]*r[1])/n,(+e[1]*r[0]-e[0]*r[1])/n]}function n(e,t){return[e[0]-t[0],e[1]-t[1]]}function o(e,t){return[e[0]+t[0],e[1]+t[1]]}function i(e,t){return[e*t[0],e*t[1]]}function a(e){var t=e.getBoundingClientRect();return[t.left,t.top]}this.els||this.$initTransformMeasureNodes();var s=a(this.els[0]),l=a(this.els[1]),c=a(this.els[2]),u=a(this.els[3]),p=r(n(u,l),n(u,c),n(o(l,c),o(u,s))),h=i(1+p[0],n(l,s)),f=i(1+p[1],n(c,s));if(t){var m=t,g=p[0]*m[0]/d+p[1]*m[1]/d+1,y=o(i(m[0],h),i(m[1],f));return o(i(1/g/d,y),s)}var v=n(e,s),b=r(n(h,i(p[0],v)),n(f,i(p[1],v)),v);return i(d,b)},e}();p.prototype.$characterSize={width:0,height:0},n.implement(p.prototype,l),t.FontMetrics=p})),ace.define("ace/css/editor-css",["require","exports","module"],(function(e,t,r){r.exports='\n.ace_br1 {border-top-left-radius : 3px;}\n.ace_br2 {border-top-right-radius : 3px;}\n.ace_br3 {border-top-left-radius : 3px; border-top-right-radius: 3px;}\n.ace_br4 {border-bottom-right-radius: 3px;}\n.ace_br5 {border-top-left-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br6 {border-top-right-radius : 3px; border-bottom-right-radius: 3px;}\n.ace_br7 {border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px;}\n.ace_br8 {border-bottom-left-radius : 3px;}\n.ace_br9 {border-top-left-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br10{border-top-right-radius : 3px; border-bottom-left-radius: 3px;}\n.ace_br11{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br12{border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br13{border-top-left-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br14{border-top-right-radius : 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n.ace_br15{border-top-left-radius : 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px;}\n\n\n.ace_editor {\n position: relative;\n overflow: hidden;\n padding: 0;\n font: 12px/normal \'Monaco\', \'Menlo\', \'Ubuntu Mono\', \'Consolas\', \'Source Code Pro\', \'source-code-pro\', monospace;\n direction: ltr;\n text-align: left;\n -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n forced-color-adjust: none;\n}\n\n.ace_scroller {\n position: absolute;\n overflow: hidden;\n top: 0;\n bottom: 0;\n background-color: inherit;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n cursor: text;\n}\n\n.ace_content {\n position: absolute;\n box-sizing: border-box;\n min-width: 100%;\n contain: style size layout;\n font-variant-ligatures: no-common-ligatures;\n}\n\n.ace_keyboard-focus:focus {\n box-shadow: inset 0 0 0 2px #5E9ED6;\n outline: none;\n}\n\n.ace_dragging .ace_scroller:before{\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n content: \'\';\n background: rgba(250, 250, 250, 0.01);\n z-index: 1000;\n}\n.ace_dragging.ace_dark .ace_scroller:before{\n background: rgba(0, 0, 0, 0.01);\n}\n\n.ace_gutter {\n position: absolute;\n overflow : hidden;\n width: auto;\n top: 0;\n bottom: 0;\n left: 0;\n cursor: default;\n z-index: 4;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n contain: style size layout;\n}\n\n.ace_gutter-active-line {\n position: absolute;\n left: 0;\n right: 0;\n}\n\n.ace_scroller.ace_scroll-left:after {\n content: "";\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n box-shadow: 17px 0 16px -16px rgba(0, 0, 0, 0.4) inset;\n pointer-events: none;\n}\n\n.ace_gutter-cell, .ace_gutter-cell_svg-icons {\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n padding-left: 19px;\n padding-right: 6px;\n background-repeat: no-repeat;\n}\n\n.ace_gutter-cell_svg-icons .ace_gutter_annotation {\n margin-left: -14px;\n float: left;\n}\n\n.ace_gutter-cell .ace_gutter_annotation {\n margin-left: -19px;\n float: left;\n}\n\n.ace_gutter-cell.ace_error, .ace_icon.ace_error, .ace_icon.ace_error_fold, .ace_gutter-cell.ace_security, .ace_icon.ace_security, .ace_icon.ace_security_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAABOFBMVEX/////////QRswFAb/Ui4wFAYwFAYwFAaWGAfDRymzOSH/PxswFAb/SiUwFAYwFAbUPRvjQiDllog5HhHdRybsTi3/Tyv9Tir+Syj/UC3////XurebMBIwFAb/RSHbPx/gUzfdwL3kzMivKBAwFAbbvbnhPx66NhowFAYwFAaZJg8wFAaxKBDZurf/RB6mMxb/SCMwFAYwFAbxQB3+RB4wFAb/Qhy4Oh+4QifbNRcwFAYwFAYwFAb/QRzdNhgwFAYwFAbav7v/Uy7oaE68MBK5LxLewr/r2NXewLswFAaxJw4wFAbkPRy2PyYwFAaxKhLm1tMwFAazPiQwFAaUGAb/QBrfOx3bvrv/VC/maE4wFAbRPBq6MRO8Qynew8Dp2tjfwb0wFAbx6eju5+by6uns4uH9/f36+vr/GkHjAAAAYnRSTlMAGt+64rnWu/bo8eAA4InH3+DwoN7j4eLi4xP99Nfg4+b+/u9B/eDs1MD1mO7+4PHg2MXa347g7vDizMLN4eG+Pv7i5evs/v79yu7S3/DV7/498Yv24eH+4ufQ3Ozu/v7+y13sRqwAAADLSURBVHjaZc/XDsFgGIBhtDrshlitmk2IrbHFqL2pvXf/+78DPokj7+Fz9qpU/9UXJIlhmPaTaQ6QPaz0mm+5gwkgovcV6GZzd5JtCQwgsxoHOvJO15kleRLAnMgHFIESUEPmawB9ngmelTtipwwfASilxOLyiV5UVUyVAfbG0cCPHig+GBkzAENHS0AstVF6bacZIOzgLmxsHbt2OecNgJC83JERmePUYq8ARGkJx6XtFsdddBQgZE2nPR6CICZhawjA4Fb/chv+399kfR+MMMDGOQAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_warning, .ace_icon.ace_warning, .ace_icon.ace_warning_fold {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAMAAAAoLQ9TAAAAmVBMVEX///8AAAD///8AAAAAAABPSzb/5sAAAAB/blH/73z/ulkAAAAAAAD85pkAAAAAAAACAgP/vGz/rkDerGbGrV7/pkQICAf////e0IsAAAD/oED/qTvhrnUAAAD/yHD/njcAAADuv2r/nz//oTj/p064oGf/zHAAAAA9Nir/tFIAAAD/tlTiuWf/tkIAAACynXEAAAAAAAAtIRW7zBpBAAAAM3RSTlMAABR1m7RXO8Ln31Z36zT+neXe5OzooRDfn+TZ4p3h2hTf4t3k3ucyrN1K5+Xaks52Sfs9CXgrAAAAjklEQVR42o3PbQ+CIBQFYEwboPhSYgoYunIqqLn6/z8uYdH8Vmdnu9vz4WwXgN/xTPRD2+sgOcZjsge/whXZgUaYYvT8QnuJaUrjrHUQreGczuEafQCO/SJTufTbroWsPgsllVhq3wJEk2jUSzX3CUEDJC84707djRc5MTAQxoLgupWRwW6UB5fS++NV8AbOZgnsC7BpEAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_gutter-cell.ace_info, .ace_icon.ace_info, .ace_gutter-cell.ace_hint, .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAAJ0Uk5TAAB2k804AAAAPklEQVQY02NgIB68QuO3tiLznjAwpKTgNyDbMegwisCHZUETUZV0ZqOquBpXj2rtnpSJT1AEnnRmL2OgGgAAIKkRQap2htgAAAAASUVORK5CYII=");\n background-repeat: no-repeat;\n background-position: 2px center;\n}\n\n.ace_dark .ace_gutter-cell.ace_info, .ace_dark .ace_icon.ace_info, .ace_dark .ace_gutter-cell.ace_hint, .ace_dark .ace_icon.ace_hint {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQBAMAAADt3eJSAAAAJFBMVEUAAAChoaGAgIAqKiq+vr6tra1ZWVmUlJSbm5s8PDxubm56enrdgzg3AAAAAXRSTlMAQObYZgAAAClJREFUeNpjYMAPdsMYHegyJZFQBlsUlMFVCWUYKkAZMxZAGdxlDMQBAG+TBP4B6RyJAAAAAElFTkSuQmCC");\n}\n\n.ace_icon_svg.ace_error {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJyZWQiIHNoYXBlLXJlbmRlcmluZz0iZ2VvbWV0cmljUHJlY2lzaW9uIj4KPGNpcmNsZSBmaWxsPSJub25lIiBjeD0iOCIgY3k9IjgiIHI9IjciIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPGxpbmUgeDE9IjExIiB5MT0iNSIgeDI9IjUiIHkyPSIxMSIvPgo8bGluZSB4MT0iMTEiIHkxPSIxMSIgeDI9IjUiIHkyPSI1Ii8+CjwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0iZGFya29yYW5nZSIgZmlsbD0ibm9uZSIgc2hhcGUtcmVuZGVyaW5nPSJnZW9tZXRyaWNQcmVjaXNpb24iPgogICAgICAgIDxwYXRoIGNsYXNzPSJzdHJva2UtbGluZWpvaW4tcm91bmQiIGQ9Ik04IDE0LjgzMDdDOCAxNC44MzA3IDIgMTIuOTA0NyAyIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOEM3Ljk4OTk5IDEuMzQ5MTggMTAuNjkgMy4yNjU0OCAxNCAzLjI2NTQ4VjguMDg5OTJDMTQgMTIuOTA0NyA4IDE0LjgzMDcgOCAxNC44MzA3WiIvPgogICAgICAgIDxwYXRoIGQ9Ik0yIDguMDg5OTJWMy4yNjU0OEM1LjMxIDMuMjY1NDggNy45ODk5OSAxLjM0OTE4IDcuOTg5OTkgMS4zNDkxOCIvPgogICAgICAgIDxwYXRoIGQ9Ik0xMy45OSA4LjA4OTkyVjMuMjY1NDhDMTAuNjggMy4yNjU0OCA4IDEuMzQ5MTggOCAxLjM0OTE4Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggNFY5Ii8+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTggMTBWMTIiLz4KICAgIDwvZz4KPC9zdmc+");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJkYXJrb3JhbmdlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+Cjxwb2x5Z29uIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGZpbGw9Im5vbmUiIHBvaW50cz0iOCAxIDE1IDE1IDEgMTUgOCAxIi8+CjxyZWN0IHg9IjgiIHk9IjEyIiB3aWR0aD0iMC4wMSIgaGVpZ2h0PSIwLjAxIi8+CjxsaW5lIHgxPSI4IiB5MT0iNiIgeDI9IjgiIHkyPSIxMCIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: darkorange;\n}\n.ace_icon_svg.ace_info {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiI+CjxnIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlPSJibHVlIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CjxjaXJjbGUgZmlsbD0ibm9uZSIgY3g9IjgiIGN5PSI4IiByPSI3IiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+Cjxwb2x5bGluZSBwb2ludHM9IjggMTEgOCA4Ii8+Cjxwb2x5bGluZSBwb2ludHM9IjkgOCA2IDgiLz4KPGxpbmUgeDE9IjEwIiB5MT0iMTEiIHgyPSI2IiB5Mj0iMTEiLz4KPHJlY3QgeD0iOCIgeT0iNSIgd2lkdGg9IjAuMDEiIGhlaWdodD0iMC4wMSIvPgo8L2c+Cjwvc3ZnPg==");\n background-color: royalblue;\n}\n.ace_icon_svg.ace_hint {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjAgMTYiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgICA8ZyBzdHJva2Utd2lkdGg9IjIiIHN0cm9rZT0ic2lsdmVyIiBmaWxsPSJub25lIiBzaGFwZS1yZW5kZXJpbmc9Imdlb21ldHJpY1ByZWNpc2lvbiI+CiAgICAgICAgPHBhdGggY2xhc3M9InN0cm9rZS1saW5lam9pbi1yb3VuZCIgZD0iTTYgMTRIMTAiLz4KICAgICAgICA8cGF0aCBkPSJNOCAxMUg5QzkgOS40NzAwMiAxMiA4LjU0MDAyIDEyIDUuNzYwMDJDMTIuMDIgNC40MDAwMiAxMS4zOSAzLjM2MDAyIDEwLjQzIDIuNjcwMDJDOSAxLjY0MDAyIDcuMDAwMDEgMS42NDAwMiA1LjU3MDAxIDIuNjcwMDJDNC42MTAwMSAzLjM2MDAyIDMuOTggNC40MDAwMiA0IDUuNzYwMDJDNCA4LjU0MDAyIDcuMDAwMDEgOS40NzAwMiA3LjAwMDAxIDExSDhaIi8+CiAgICA8L2c+Cjwvc3ZnPg==");\n background-color: silver;\n}\n\n.ace_icon_svg.ace_error_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSI+CiAgPHBhdGggZD0ibSAxOC45Mjk4NTEsNy44Mjk4MDc2IGMgMC4xNDYzNTMsNi4zMzc0NjA0IC02LjMyMzE0Nyw3Ljc3Nzg0NDQgLTcuNDc3OTEyLDcuNzc3ODQ0NCAtMi4xMDcyNzI2LC0wLjEyODc1IDUuMTE3Njc4LDAuMzU2MjQ5IDUuMDUxNjk4LC03Ljg3MDA2MTggLTAuNjA0NjcyLC04LjAwMzk3MzQ5IC03LjA3NzI3MDYsLTcuNTYzMTE4OSAtNC44NTczLC03LjQzMDM5NTU2IDEuNjA2LC0wLjExNTE0MjI1IDYuODk3NDg1LDEuMjYyNTQ1OTYgNy4yODM1MTQsNy41MjI2MTI5NiB6IiBmaWxsPSJjcmltc29uIiBzdHJva2Utd2lkdGg9IjIiLz4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0ibSA4LjExNDc1NjIsMi4wNTI5ODI4IGMgMy4zNDkxNjk4LDAgNi4wNjQxMzI4LDIuNjc2ODYyNyA2LjA2NDEzMjgsNS45Nzg5NTMgMCwzLjMwMjExMjIgLTIuNzE0OTYzLDUuOTc4OTIwMiAtNi4wNjQxMzI4LDUuOTc4OTIwMiAtMy4zNDkxNDczLDAgLTYuMDY0MTc3MiwtMi42NzY4MDggLTYuMDY0MTc3MiwtNS45Nzg5MjAyIDAuMDA1MzksLTMuMjk5ODg2MSAyLjcxNzI2NTYsLTUuOTczNjQwOCA2LjA2NDE3NzIsLTUuOTc4OTUzIHogbSAwLC0xLjczNTgyNzE5IGMgLTQuMzIxNDgzNiwwIC03LjgyNDc0MDM4LDMuNDU0MDE4NDkgLTcuODI0NzQwMzgsNy43MTQ3ODAxOSAwLDQuMjYwNzI4MiAzLjUwMzI1Njc4LDcuNzE0NzQ1MiA3LjgyNDc0MDM4LDcuNzE0NzQ1MiA0LjMyMTQ0OTgsMCA3LjgyNDY5OTgsLTMuNDU0MDE3IDcuODI0Njk5OCwtNy43MTQ3NDUyIDAsLTIuMDQ2MDkxNCAtMC44MjQzOTIsLTQuMDA4MzY3MiAtMi4yOTE3NTYsLTUuNDU1MTc0NiBDIDEyLjE4MDIyNSwxLjEyOTk2NDggMTAuMTkwMDEzLDAuMzE3MTU1NjEgOC4xMTQ3NTYyLDAuMzE3MTU1NjEgWiBNIDYuOTM3NDU2Myw4LjI0MDU5ODUgNC42NzE4Njg1LDEwLjQ4NTg1MiA2LjAwODY4MTQsMTEuODc2NzI4IDguMzE3MDAzNSw5LjYwMDc5MTEgMTAuNjI1MzM3LDExLjg3NjcyOCAxMS45NjIxMzgsMTAuNDg1ODUyIDkuNjk2NTUwOCw4LjI0MDU5ODUgMTEuOTYyMTM4LDYuMDA2ODA2NiAxMC41NzMyNDYsNC42Mzc0MzM1IDguMzE3MDAzNSw2Ljg3MzQyOTcgNi4wNjA3NjA3LDQuNjM3NDMzNSA0LjY3MTg2ODUsNi4wMDY4MDY2IFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_security_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTcgMTQiIGZpbGw9Im5vbmUiPgogICAgPHBhdGggZD0iTTEwLjAwMDEgMTMuNjk5MkMxMC4wMDAxIDEzLjY5OTIgMTEuOTI0MSAxMy40NzYzIDEzIDEyLjY5OTJDMTQuNDEzOSAxMS42NzgxIDE2IDEwLjUgMTYuMTI1MSA2LjgxMTI2VjIuNTg5ODdDMTYuMTI1MSAyLjU0NzY4IDE2LjEyMjEgMi41MDYxOSAxNi4xMTY0IDIuNDY1NTlWMS43MTQ4NUgxNS4yNDE0TDE1LjIzMDcgMS43MTQ4NEwxNC42MjUxIDEuNjk5MjJWNi44MTEyM0MxNC42MjUxIDguNTEwNjEgMTQuNjI1MSA5LjQ2NDYxIDEyLjc4MjQgMTEuNzIxQzEyLjE1ODYgMTIuNDg0OCAxMC4wMDAxIDEzLjY5OTIgMTAuMDAwMSAxMy42OTkyWiIgZmlsbD0iY3JpbXNvbiIgc3Ryb2tlLXdpZHRoPSIyIi8+CiAgICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTcuMzM2MDkgMC4zNjc0NzVDNy4wMzIxNCAwLjE1MjY1MiA2LjYyNTQ4IDAuMTUzNjE0IDYuMzIyNTMgMC4zNjk5OTdMNi4zMDg2OSAwLjM3OTU1NEM2LjI5NTUzIDAuMzg4NTg4IDYuMjczODggMC40MDMyNjYgNi4yNDQxNyAwLjQyMjc4OUM2LjE4NDcxIDAuNDYxODYgNi4wOTMyMSAwLjUyMDE3MSA1Ljk3MzEzIDAuNTkxMzczQzUuNzMyNTEgMC43MzQwNTkgNS4zNzk5IDAuOTI2ODY0IDQuOTQyNzkgMS4xMjAwOUM0LjA2MTQ0IDEuNTA5NyAyLjg3NTQxIDEuODgzNzcgMS41ODk4NCAxLjg4Mzc3SDAuNzE0ODQ0VjIuNzU4NzdWNi45ODAxNUMwLjcxNDg0NCA5LjQ5Mzc0IDIuMjg4NjYgMTEuMTk3MyAzLjcwMjU0IDEyLjIxODVDNC40MTg0NSAxMi43MzU1IDUuMTI4NzQgMTMuMTA1MyA1LjY1NzMzIDEzLjM0NTdDNS45MjI4NCAxMy40NjY0IDYuMTQ1NjYgMTMuNTU1OSA2LjMwNDY1IDEzLjYxNjFDNi4zODQyMyAxMy42NDYyIDYuNDQ4MDUgMTMuNjY5IDYuNDkzNDkgMTMuNjg0OEM2LjUxNjIyIDEzLjY5MjcgNi41MzQzOCAxMy42OTg5IDYuNTQ3NjQgMTMuNzAzM0w2LjU2MzgyIDEzLjcwODdMNi41NjkwOCAxMy43MTA0TDYuNTcwOTkgMTMuNzExTDYuODM5ODQgMTMuNzUzM0w2LjU3MjQyIDEzLjcxMTVDNi43NDYzMyAxMy43NjczIDYuOTMzMzUgMTMuNzY3MyA3LjEwNzI3IDEzLjcxMTVMNy4xMDg3IDEzLjcxMUw3LjExMDYxIDEzLjcxMDRMNy4xMTU4NyAxMy43MDg3TDcuMTMyMDUgMTMuNzAzM0M3LjE0NTMxIDEzLjY5ODkgNy4xNjM0NiAxMy42OTI3IDcuMTg2MTkgMTMuNjg0OEM3LjIzMTY0IDEzLjY2OSA3LjI5NTQ2IDEzLjY0NjIgNy4zNzUwMyAxMy42MTYxQzcuNTM0MDMgMTMuNTU1OSA3Ljc1Njg1IDEzLjQ2NjQgOC4wMjIzNiAxMy4zNDU3QzguNTUwOTUgMTMuMTA1MyA5LjI2MTIzIDEyLjczNTUgOS45NzcxNSAxMi4yMTg1QzExLjM5MSAxMS4xOTczIDEyLjk2NDggOS40OTM3NyAxMi45NjQ4IDYuOTgwMThWMi43NTg4QzEyLjk2NDggMi43MTY2IDEyLjk2MTkgMi42NzUxMSAxMi45NTYxIDIuNjM0NTFWMS44ODM3N0gxMi4wODExQzEyLjA3NzUgMS44ODM3NyAxMi4wNzQgMS44ODM3NyAxMi4wNzA0IDEuODgzNzdDMTAuNzk3OSAxLjg4MDA0IDkuNjE5NjIgMS41MTEwMiA4LjczODk0IDEuMTI0ODZDOC43MzUzNCAxLjEyMzI3IDguNzMxNzQgMS4xMjE2OCA4LjcyODE0IDEuMTIwMDlDOC4yOTEwMyAwLjkyNjg2NCA3LjkzODQyIDAuNzM0MDU5IDcuNjk3NzkgMC41OTEzNzNDNy41Nzc3MiAwLjUyMDE3MSA3LjQ4NjIyIDAuNDYxODYgNy40MjY3NiAwLjQyMjc4OUM3LjM5NzA1IDAuNDAzMjY2IDcuMzc1MzkgMC4zODg1ODggNy4zNjIyNCAwLjM3OTU1NEw3LjM0ODk2IDAuMzcwMzVDNy4zNDg5NiAwLjM3MDM1IDcuMzQ4NDcgMC4zNzAwMiA3LjM0NTYzIDAuMzc0MDU0TDcuMzM3NzkgMC4zNjg2NTlMNy4zMzYwOSAwLjM2NzQ3NVpNOC4wMzQ3MSAyLjcyNjkxQzguODYwNCAzLjA5MDYzIDkuOTYwNjYgMy40NjMwOSAxMS4yMDYxIDMuNTg5MDdWNi45ODAxNUgxMS4yMTQ4QzExLjIxNDggOC42Nzk1MyAxMC4xNjM3IDkuOTI1MDcgOC45NTI1NCAxMC43OTk4QzguMzU1OTUgMTEuMjMwNiA3Ljc1Mzc0IDExLjU0NTQgNy4yOTc5NiAxMS43NTI3QzcuMTE2NzEgMTEuODM1MSA2Ljk2MDYyIDExLjg5OTYgNi44Mzk4NCAxMS45NDY5QzYuNzE5MDYgMTEuODk5NiA2LjU2Mjk3IDExLjgzNTEgNi4zODE3MyAxMS43NTI3QzUuOTI1OTUgMTEuNTQ1NCA1LjMyMzczIDExLjIzMDYgNC43MjcxNSAxMC43OTk4QzMuNTE2MDMgOS45MjUwNyAyLjQ2NDg0IDguNjc5NTUgMi40NjQ4NCA2Ljk4MDE4VjMuNTg5MDlDMy43MTczOCAzLjQ2MjM5IDQuODIzMDggMy4wODYzOSA1LjY1MDMzIDIuNzIwNzFDNi4xNDIyOCAyLjUwMzI0IDYuNTQ0ODUgMi4yODUzNyA2LjgzMjU0IDIuMTE2MjRDNy4xMjE4MSAyLjI4NTM1IDcuNTI3IDIuNTAzNTIgOC4wMjE5NiAyLjcyMTMxQzguMDI2MiAyLjcyMzE3IDguMDMwNDUgMi43MjUwNCA4LjAzNDcxIDIuNzI2OTFaTTUuOTY0ODQgMy40MDE0N1Y3Ljc3NjQ3SDcuNzE0ODRWMy40MDE0N0g1Ljk2NDg0Wk01Ljk2NDg0IDEwLjQwMTVWOC42NTE0N0g3LjcxNDg0VjEwLjQwMTVINS45NjQ4NFoiIGZpbGw9ImNyaW1zb24iIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4=");\n background-color: crimson;\n}\n.ace_icon_svg.ace_warning_fold {\n -webkit-mask-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xNC43NzY5IDE0LjczMzdMOC42NTE5MiAyLjQ4MzY5QzguMzI5NDYgMS44Mzg3NyA3LjQwOTEzIDEuODM4NzcgNy4wODY2NyAyLjQ4MzY5TDAuOTYxNjY5IDE0LjczMzdDMC42NzA3NzUgMTUuMzE1NSAxLjA5MzgzIDE2IDEuNzQ0MjkgMTZIMTMuOTk0M0MxNC42NDQ4IDE2IDE1LjA2NzggMTUuMzE1NSAxNC43NzY5IDE0LjczMzdaTTMuMTYwMDcgMTQuMjVMNy44NjkyOSA0LjgzMTU2TDEyLjU3ODUgMTQuMjVIMy4xNjAwN1pNOC43NDQyOSAxMS42MjVWMTMuMzc1SDYuOTk0MjlWMTEuNjI1SDguNzQ0MjlaTTYuOTk0MjkgMTAuNzVWNy4yNUg4Ljc0NDI5VjEwLjc1SDYuOTk0MjlaIiBmaWxsPSIjRUM3MjExIi8+CjxwYXRoIGQ9Ik0xMS4xOTkxIDIuOTUyMzhDMTAuODgwOSAyLjMxNDY3IDEwLjM1MzcgMS44MDUyNiA5LjcwNTUgMS41MDlMMTEuMDQxIDEuMDY5NzhDMTEuNjg4MyAwLjk0OTgxNCAxMi4zMzcgMS4yNzI2MyAxMi42MzE3IDEuODYxNDFMMTcuNjEzNiAxMS44MTYxQzE4LjM1MjcgMTMuMjkyOSAxNy41OTM4IDE1LjA4MDQgMTYuMDE4IDE1LjU3NDVDMTYuNDA0NCAxNC40NTA3IDE2LjMyMzEgMTMuMjE4OCAxNS43OTI0IDEyLjE1NTVMMTEuMTk5MSAyLjk1MjM4WiIgZmlsbD0iI0VDNzIxMSIvPgo8L3N2Zz4=");\n background-color: darkorange;\n}\n\n.ace_scrollbar {\n contain: strict;\n position: absolute;\n right: 0;\n bottom: 0;\n z-index: 6;\n}\n\n.ace_scrollbar-inner {\n position: absolute;\n cursor: text;\n left: 0;\n top: 0;\n}\n\n.ace_scrollbar-v{\n overflow-x: hidden;\n overflow-y: scroll;\n top: 0;\n}\n\n.ace_scrollbar-h {\n overflow-x: scroll;\n overflow-y: hidden;\n left: 0;\n}\n\n.ace_print-margin {\n position: absolute;\n height: 100%;\n}\n\n.ace_text-input {\n position: absolute;\n z-index: 0;\n width: 0.5em;\n height: 1em;\n opacity: 0;\n background: transparent;\n -moz-appearance: none;\n appearance: none;\n border: none;\n resize: none;\n outline: none;\n overflow: hidden;\n font: inherit;\n padding: 0 1px;\n margin: 0 -1px;\n contain: strict;\n -ms-user-select: text;\n -moz-user-select: text;\n -webkit-user-select: text;\n user-select: text;\n /*with `pre-line` chrome inserts   instead of space*/\n white-space: pre!important;\n}\n.ace_text-input.ace_composition {\n background: transparent;\n color: inherit;\n z-index: 1000;\n opacity: 1;\n}\n.ace_composition_placeholder { color: transparent }\n.ace_composition_marker { \n border-bottom: 1px solid;\n position: absolute;\n border-radius: 0;\n margin-top: 1px;\n}\n\n[ace_nocontext=true] {\n transform: none!important;\n filter: none!important;\n clip-path: none!important;\n mask : none!important;\n contain: none!important;\n perspective: none!important;\n mix-blend-mode: initial!important;\n z-index: auto;\n}\n\n.ace_layer {\n z-index: 1;\n position: absolute;\n overflow: hidden;\n /* workaround for chrome bug https://github.com/ajaxorg/ace/issues/2312*/\n word-wrap: normal;\n white-space: pre;\n height: 100%;\n width: 100%;\n box-sizing: border-box;\n /* setting pointer-events: auto; on node under the mouse, which changes\n during scroll, will break mouse wheel scrolling in Safari */\n pointer-events: none;\n}\n\n.ace_gutter-layer {\n position: relative;\n width: auto;\n text-align: right;\n pointer-events: auto;\n height: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer {\n font: inherit !important;\n position: absolute;\n height: 1000000px;\n width: 1000000px;\n contain: style size layout;\n}\n\n.ace_text-layer > .ace_line, .ace_text-layer > .ace_line_group {\n contain: style size layout;\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n}\n\n.ace_hidpi .ace_text-layer,\n.ace_hidpi .ace_gutter-layer,\n.ace_hidpi .ace_content,\n.ace_hidpi .ace_gutter {\n contain: strict;\n}\n.ace_hidpi .ace_text-layer > .ace_line, \n.ace_hidpi .ace_text-layer > .ace_line_group {\n contain: strict;\n}\n\n.ace_cjk {\n display: inline-block;\n text-align: center;\n}\n\n.ace_cursor-layer {\n z-index: 4;\n}\n\n.ace_cursor {\n z-index: 4;\n position: absolute;\n box-sizing: border-box;\n border-left: 2px solid;\n /* workaround for smooth cursor repaintng whole screen in chrome */\n transform: translatez(0);\n}\n\n.ace_multiselect .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_slim-cursors .ace_cursor {\n border-left-width: 1px;\n}\n\n.ace_overwrite-cursors .ace_cursor {\n border-left-width: 0;\n border-bottom: 1px solid;\n}\n\n.ace_hidden-cursors .ace_cursor {\n opacity: 0.2;\n}\n\n.ace_hasPlaceholder .ace_hidden-cursors .ace_cursor {\n opacity: 0;\n}\n\n.ace_smooth-blinking .ace_cursor {\n transition: opacity 0.18s;\n}\n\n.ace_animate-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: step-end;\n animation-name: blink-ace-animate;\n animation-iteration-count: infinite;\n}\n\n.ace_animate-blinking.ace_smooth-blinking .ace_cursor {\n animation-duration: 1000ms;\n animation-timing-function: ease-in-out;\n animation-name: blink-ace-animate-smooth;\n}\n \n@keyframes blink-ace-animate {\n from, to { opacity: 1; }\n 60% { opacity: 0; }\n}\n\n@keyframes blink-ace-animate-smooth {\n from, to { opacity: 1; }\n 45% { opacity: 1; }\n 60% { opacity: 0; }\n 85% { opacity: 0; }\n}\n\n.ace_marker-layer .ace_step, .ace_marker-layer .ace_stack {\n position: absolute;\n z-index: 3;\n}\n\n.ace_marker-layer .ace_selection {\n position: absolute;\n z-index: 5;\n}\n\n.ace_marker-layer .ace_bracket {\n position: absolute;\n z-index: 6;\n}\n\n.ace_marker-layer .ace_error_bracket {\n position: absolute;\n border-bottom: 1px solid #DE5555;\n border-radius: 0;\n}\n\n.ace_marker-layer .ace_active-line {\n position: absolute;\n z-index: 2;\n}\n\n.ace_marker-layer .ace_selected-word {\n position: absolute;\n z-index: 4;\n box-sizing: border-box;\n}\n\n.ace_line .ace_fold {\n box-sizing: border-box;\n\n display: inline-block;\n height: 11px;\n margin-top: -2px;\n vertical-align: middle;\n\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACJJREFUeNpi+P//fxgTAwPDBxDxD078RSX+YeEyDFMCIMAAI3INmXiwf2YAAAAASUVORK5CYII=");\n background-repeat: no-repeat, repeat-x;\n background-position: center center, top left;\n color: transparent;\n\n border: 1px solid black;\n border-radius: 2px;\n\n cursor: pointer;\n pointer-events: auto;\n}\n\n.ace_dark .ace_fold {\n}\n\n.ace_fold:hover{\n background-image:\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABEAAAAJCAYAAADU6McMAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJpJREFUeNpi/P//PwOlgAXGYGRklAVSokD8GmjwY1wasKljQpYACtpCFeADcHVQfQyMQAwzwAZI3wJKvCLkfKBaMSClBlR7BOQikCFGQEErIH0VqkabiGCAqwUadAzZJRxQr/0gwiXIal8zQQPnNVTgJ1TdawL0T5gBIP1MUJNhBv2HKoQHHjqNrA4WO4zY0glyNKLT2KIfIMAAQsdgGiXvgnYAAAAASUVORK5CYII="),\n url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAA3CAYAAADNNiA5AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAACBJREFUeNpi+P//fz4TAwPDZxDxD5X4i5fLMEwJgAADAEPVDbjNw87ZAAAAAElFTkSuQmCC");\n}\n\n.ace_tooltip {\n background-color: #f5f5f5;\n border: 1px solid gray;\n border-radius: 1px;\n box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);\n color: black;\n max-width: 100%;\n padding: 3px 4px;\n position: fixed;\n z-index: 999999;\n box-sizing: border-box;\n cursor: default;\n white-space: pre-wrap;\n word-wrap: break-word;\n line-height: normal;\n font-style: normal;\n font-weight: normal;\n letter-spacing: normal;\n pointer-events: none;\n overflow: auto;\n max-width: min(60em, 66vw);\n overscroll-behavior: contain;\n}\n.ace_tooltip pre {\n white-space: pre-wrap;\n}\n\n.ace_tooltip.ace_dark {\n background-color: #636363;\n color: #fff;\n}\n\n.ace_tooltip:focus {\n outline: 1px solid #5E9ED6;\n}\n\n.ace_icon {\n display: inline-block;\n width: 18px;\n vertical-align: top;\n}\n\n.ace_icon_svg {\n display: inline-block;\n width: 12px;\n vertical-align: top;\n -webkit-mask-repeat: no-repeat;\n -webkit-mask-size: 12px;\n -webkit-mask-position: center;\n}\n\n.ace_folding-enabled > .ace_gutter-cell, .ace_folding-enabled > .ace_gutter-cell_svg-icons {\n padding-right: 13px;\n}\n\n.ace_fold-widget {\n box-sizing: border-box;\n\n margin: 0 -12px 0 1px;\n display: none;\n width: 11px;\n vertical-align: top;\n\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42mWKsQ0AMAzC8ixLlrzQjzmBiEjp0A6WwBCSPgKAXoLkqSot7nN3yMwR7pZ32NzpKkVoDBUxKAAAAABJRU5ErkJggg==");\n background-repeat: no-repeat;\n background-position: center;\n\n border-radius: 3px;\n \n border: 1px solid transparent;\n cursor: pointer;\n}\n\n.ace_folding-enabled .ace_fold-widget {\n display: inline-block; \n}\n\n.ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAANElEQVR42m3HwQkAMAhD0YzsRchFKI7sAikeWkrxwScEB0nh5e7KTPWimZki4tYfVbX+MNl4pyZXejUO1QAAAABJRU5ErkJggg==");\n}\n\n.ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAGCAYAAAAG5SQMAAAAOUlEQVR42jXKwQkAMAgDwKwqKD4EwQ26sSOkVWjgIIHAzPiCgaqiqnJHZnKICBERHN194O5b9vbLuAVRL+l0YWnZAAAAAElFTkSuQmCCXA==");\n}\n\n.ace_fold-widget:hover {\n border: 1px solid rgba(0, 0, 0, 0.3);\n background-color: rgba(255, 255, 255, 0.2);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.7);\n}\n\n.ace_fold-widget:active {\n border: 1px solid rgba(0, 0, 0, 0.4);\n background-color: rgba(0, 0, 0, 0.05);\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);\n}\n/**\n * Dark version for fold widgets\n */\n.ace_dark .ace_fold-widget {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHklEQVQIW2P4//8/AzoGEQ7oGCaLLAhWiSwB146BAQCSTPYocqT0AAAAAElFTkSuQmCC");\n}\n.ace_dark .ace_fold-widget.ace_end {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAH0lEQVQIW2P4//8/AxQ7wNjIAjDMgC4AxjCVKBirIAAF0kz2rlhxpAAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget.ace_closed {\n background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAMAAAAFCAYAAACAcVaiAAAAHElEQVQIW2P4//+/AxAzgDADlOOAznHAKgPWAwARji8UIDTfQQAAAABJRU5ErkJggg==");\n}\n.ace_dark .ace_fold-widget:hover {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n background-color: rgba(255, 255, 255, 0.1);\n}\n.ace_dark .ace_fold-widget:active {\n box-shadow: 0 1px 1px rgba(255, 255, 255, 0.2);\n}\n\n.ace_inline_button {\n border: 1px solid lightgray;\n display: inline-block;\n margin: -1px 8px;\n padding: 0 5px;\n pointer-events: auto;\n cursor: pointer;\n}\n.ace_inline_button:hover {\n border-color: gray;\n background: rgba(200,200,200,0.2);\n display: inline-block;\n pointer-events: auto;\n}\n\n.ace_fold-widget.ace_invalid {\n background-color: #FFB4B4;\n border-color: #DE5555;\n}\n\n.ace_fade-fold-widgets .ace_fold-widget {\n transition: opacity 0.4s ease 0.05s;\n opacity: 0;\n}\n\n.ace_fade-fold-widgets:hover .ace_fold-widget {\n transition: opacity 0.05s ease 0.05s;\n opacity:1;\n}\n\n.ace_underline {\n text-decoration: underline;\n}\n\n.ace_bold {\n font-weight: bold;\n}\n\n.ace_nobold .ace_bold {\n font-weight: normal;\n}\n\n.ace_italic {\n font-style: italic;\n}\n\n\n.ace_error-marker {\n background-color: rgba(255, 0, 0,0.2);\n position: absolute;\n z-index: 9;\n}\n\n.ace_highlight-marker {\n background-color: rgba(255, 255, 0,0.2);\n position: absolute;\n z-index: 8;\n}\n\n.ace_mobile-menu {\n position: absolute;\n line-height: 1.5;\n border-radius: 4px;\n -ms-user-select: none;\n -moz-user-select: none;\n -webkit-user-select: none;\n user-select: none;\n background: white;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #dcdcdc;\n color: black;\n}\n.ace_dark > .ace_mobile-menu {\n background: #333;\n color: #ccc;\n box-shadow: 1px 3px 2px grey;\n border: 1px solid #444;\n\n}\n.ace_mobile-button {\n padding: 2px;\n cursor: pointer;\n overflow: hidden;\n}\n.ace_mobile-button:hover {\n background-color: #eee;\n opacity:1;\n}\n.ace_mobile-button:active {\n background-color: #ddd;\n}\n\n.ace_placeholder {\n position: relative;\n font-family: arial;\n transform: scale(0.9);\n transform-origin: left;\n white-space: pre;\n opacity: 0.7;\n margin: 0 10px;\n z-index: 1;\n}\n\n.ace_ghost_text {\n opacity: 0.5;\n font-style: italic;\n}\n\n.ace_ghost_text_container > div {\n white-space: pre;\n}\n\n.ghost_text_line_wrapped::after {\n content: "\u21a9";\n position: absolute;\n}\n\n.ace_lineWidgetContainer.ace_ghost_text {\n margin: 0px 4px\n}\n\n.ace_screenreader-only {\n position:absolute;\n left:-10000px;\n top:auto;\n width:1px;\n height:1px;\n overflow:hidden;\n}\n\n.ace_hidden_token {\n display: none;\n}'})),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],(function(e,t,r){"use strict";var n=e("../lib/dom"),o=e("../lib/oop"),i=e("../lib/event_emitter").EventEmitter,a=function(){function e(e,t){this.canvas=n.createElement("canvas"),this.renderer=t,this.pixelRatio=1,this.maxHeight=t.layerConfig.maxHeight,this.lineHeight=t.layerConfig.lineHeight,this.canvasHeight=e.parent.scrollHeight,this.heightRatio=this.canvasHeight/this.maxHeight,this.canvasWidth=e.width,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7px",this.canvas.style.position="absolute",this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},e.element.appendChild(this.canvas)}return e.prototype.$updateDecorators=function(e){var t=!0===this.renderer.theme.isDark?this.colors.dark:this.colors.light;e&&(this.maxHeight=e.maxHeight,this.lineHeight=e.lineHeight,this.canvasHeight=e.height,(e.lastRow+1)*this.lineHeightt.priority?1:0}));for(var i=this.renderer.session.$foldData,a=0;athis.canvasHeight&&(p=this.canvasHeight-this.halfMinDecorationHeight),u=Math.round(p-this.halfMinDecorationHeight),d=Math.round(p+this.halfMinDecorationHeight)}r.fillStyle=t[n[a].type]||null,r.fillRect(0,c,this.canvasWidth,d-u)}}var h=this.renderer.session.selection.getCursor();if(h){l=this.compensateFoldRows(h.row,i),c=Math.round((h.row-l)*this.lineHeight*this.heightRatio);r.fillStyle="rgba(0, 0, 0, 0.5)",r.fillRect(0,c,this.canvasWidth,2)}},e.prototype.compensateFoldRows=function(e,t){var r=0;if(t&&t.length>0)for(var n=0;nt[n].start.row&&e=t[n].end.row&&(r+=t[n].end.row-t[n].start.row);return r},e}();o.implement(a.prototype,i),t.Decorator=a})),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent","ace/layer/text_util"],(function(e,t,r){"use strict";var n=e("./lib/oop"),o=e("./lib/dom"),i=e("./lib/lang"),a=e("./config"),s=e("./layer/gutter").Gutter,l=e("./layer/marker").Marker,c=e("./layer/text").Text,u=e("./layer/cursor").Cursor,d=e("./scrollbar").HScrollBar,p=e("./scrollbar").VScrollBar,h=e("./scrollbar_custom").HScrollBar,f=e("./scrollbar_custom").VScrollBar,m=e("./renderloop").RenderLoop,g=e("./layer/font_metrics").FontMetrics,y=e("./lib/event_emitter").EventEmitter,v=e("./css/editor-css"),b=e("./layer/decorators").Decorator,w=e("./lib/useragent"),_=e("./layer/text_util").isTextToken;o.importCssString(v,"ace_editor.css",!1);var x=function(){function e(e,t){var r=this;this.container=e||o.createElement("div"),o.addCssClass(this.container,"ace_editor"),o.HI_DPI&&o.addCssClass(this.container,"ace_hidpi"),this.setTheme(t),null==a.get("useStrictCSP")&&a.set("useStrictCSP",!1),this.$gutter=o.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=o.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=o.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new s(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new l(this.content);var n=this.$textLayer=new c(this.content);this.canvas=n.element,this.$markerFront=new l(this.content),this.$cursorLayer=new u(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new p(this.container,this),this.scrollBarH=new d(this.container,this),this.scrollBarV.on("scroll",(function(e){r.$scrollAnimation||r.session.setScrollTop(e.data-r.scrollMargin.top)})),this.scrollBarH.on("scroll",(function(e){r.$scrollAnimation||r.session.setScrollLeft(e.data-r.scrollMargin.left)})),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new g(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",(function(e){r.updateCharacterSize(),r.onResize(!0,r.gutterWidth,r.$size.width,r.$size.height),r._signal("changeCharacterSize",e)})),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!w.isIOS,this.$loop=new m(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),a.resetOptions(this),a._signal("renderer",this)}return e.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),o.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},e.prototype.setSession=function(e){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=e,e&&this.scrollMargin.top&&e.getScrollTop()<=0&&e.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession(e),this.$markerBack.setSession(e),this.$markerFront.setSession(e),this.$gutterLayer.setSession(e),this.$textLayer.setSession(e),e&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},e.prototype.updateLines=function(e,t,r){if(void 0===t&&(t=1/0),this.$changedLines?(this.$changedLines.firstRow>e&&(this.$changedLines.firstRow=e),this.$changedLines.lastRowthis.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},e.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},e.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},e.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},e.prototype.updateFull=function(e){e?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},e.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},e.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},e.prototype.onResize=function(e,t,r,n){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=e?1:0;var o=this.container;n||(n=o.clientHeight||o.scrollHeight),!n&&this.$maxLines&&this.lineHeight>1&&(o.style.height&&"0px"!=o.style.height||(o.style.height="1px",n=o.clientHeight||o.scrollHeight)),r||(r=o.clientWidth||o.scrollWidth);var i=this.$updateCachedSize(e,t,r,n);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!r&&!n)return this.resizing=0;e&&(this.$gutterLayer.$padding=null),e?this.$renderChanges(i|this.$changes,!0):this.$loop.schedule(i|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},e.prototype.$updateCachedSize=function(e,t,r,n){n-=this.$extraHeight||0;var i=0,a=this.$size,s={width:a.width,height:a.height,scrollerHeight:a.scrollerHeight,scrollerWidth:a.scrollerWidth};if(n&&(e||a.height!=n)&&(a.height=n,i|=this.CHANGE_SIZE,a.scrollerHeight=a.height,this.$horizScroll&&(a.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(a.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",i|=this.CHANGE_SCROLL),r&&(e||a.width!=r)){i|=this.CHANGE_SIZE,a.width=r,null==t&&(t=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=t,o.setStyle(this.scrollBarH.element.style,"left",t+"px"),o.setStyle(this.scroller.style,"left",t+this.margin.left+"px"),a.scrollerWidth=Math.max(0,r-t-this.scrollBarV.getWidth()-this.margin.h),o.setStyle(this.$gutter.style,"left",this.margin.left+"px");var l=this.scrollBarV.getWidth()+"px";o.setStyle(this.scrollBarH.element.style,"right",l),o.setStyle(this.scroller.style,"right",l),o.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(a.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||e)&&(i|=this.CHANGE_FULL)}return a.$dirty=!r||!n,i&&this._signal("resize",s),i},e.prototype.onGutterResize=function(e){var t=this.$showGutter?e:0;t!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,t,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()||this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},e.prototype.adjustWrapLimit=function(){var e=this.$size.scrollerWidth-2*this.$padding,t=Math.floor(e/this.characterWidth);return this.session.adjustWrapLimit(t,this.$showPrintMargin&&this.$printMarginColumn)},e.prototype.setAnimatedScroll=function(e){this.setOption("animatedScroll",e)},e.prototype.getAnimatedScroll=function(){return this.$animatedScroll},e.prototype.setShowInvisibles=function(e){this.setOption("showInvisibles",e),this.session.$bidiHandler.setShowInvisibles(e)},e.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},e.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},e.prototype.setDisplayIndentGuides=function(e){this.setOption("displayIndentGuides",e)},e.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},e.prototype.setHighlightIndentGuides=function(e){this.setOption("highlightIndentGuides",e)},e.prototype.setShowPrintMargin=function(e){this.setOption("showPrintMargin",e)},e.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},e.prototype.setPrintMarginColumn=function(e){this.setOption("printMarginColumn",e)},e.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},e.prototype.getShowGutter=function(){return this.getOption("showGutter")},e.prototype.setShowGutter=function(e){return this.setOption("showGutter",e)},e.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},e.prototype.setFadeFoldWidgets=function(e){this.setOption("fadeFoldWidgets",e)},e.prototype.setHighlightGutterLine=function(e){this.setOption("highlightGutterLine",e)},e.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},e.prototype.$updatePrintMargin=function(){if(this.$showPrintMargin||this.$printMarginEl){if(!this.$printMarginEl){var e=o.createElement("div");e.className="ace_layer ace_print-margin-layer",this.$printMarginEl=o.createElement("div"),this.$printMarginEl.className="ace_print-margin",e.appendChild(this.$printMarginEl),this.content.insertBefore(e,this.content.firstChild)}var t=this.$printMarginEl.style;t.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",t.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&-1==this.session.$wrap&&this.adjustWrapLimit()}},e.prototype.getContainerElement=function(){return this.container},e.prototype.getMouseEventTarget=function(){return this.scroller},e.prototype.getTextAreaContainer=function(){return this.container},e.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var e=this.textarea.style,t=this.$composition;if(this.$keepTextAreaAtCursor||t){var r=this.$cursorLayer.$pixelPos;if(r){t&&t.markerRange&&(r=this.$cursorLayer.getPixelPosition(t.markerRange.start,!0));var n=this.layerConfig,i=r.top,a=r.left;i-=n.offset;var s=t&&t.useTextareaForIME||w.isMobile?this.lineHeight:1;if(i<0||i>n.height-s)o.translate(this.textarea,0,0);else{var l=1,c=this.$size.height-s;if(t)if(t.useTextareaForIME){var u=this.textarea.value;l=this.characterWidth*this.session.$getStringScreenWidth(u)[0]}else i+=this.lineHeight+2;else i+=this.lineHeight;(a-=this.scrollLeft)>this.$size.scrollerWidth-l&&(a=this.$size.scrollerWidth-l),a+=this.gutterWidth+this.margin.left,o.setStyle(e,"height",s+"px"),o.setStyle(e,"width",l+"px"),o.translate(this.textarea,Math.min(a,this.$size.scrollerWidth-l),Math.min(i,c))}}}else o.translate(this.textarea,-100,0)}},e.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},e.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(0===this.layerConfig.offset?0:1)},e.prototype.getLastFullyVisibleRow=function(){var e=this.layerConfig,t=e.lastRow;return this.session.documentToScreenRow(t,0)*e.lineHeight-this.session.getScrollTop()>e.height-e.lineHeight?t-1:t},e.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},e.prototype.setPadding=function(e){this.$padding=e,this.$textLayer.setPadding(e),this.$cursorLayer.setPadding(e),this.$markerFront.setPadding(e),this.$markerBack.setPadding(e),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},e.prototype.setScrollMargin=function(e,t,r,n){var o=this.scrollMargin;o.top=0|e,o.bottom=0|t,o.right=0|n,o.left=0|r,o.v=o.top+o.bottom,o.h=o.left+o.right,o.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-o.top),this.updateFull()},e.prototype.setMargin=function(e,t,r,n){var o=this.margin;o.top=0|e,o.bottom=0|t,o.right=0|n,o.left=0|r,o.v=o.top+o.bottom,o.h=o.left+o.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},e.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},e.prototype.setHScrollBarAlwaysVisible=function(e){this.setOption("hScrollBarAlwaysVisible",e)},e.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},e.prototype.setVScrollBarAlwaysVisible=function(e){this.setOption("vScrollBarAlwaysVisible",e)},e.prototype.$updateScrollBarV=function(){var e=this.layerConfig.maxHeight,t=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&(e-=(t-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>e-t&&(e=this.scrollTop+t,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight(e+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},e.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},e.prototype.freeze=function(){this.$frozen=!0},e.prototype.unfreeze=function(){this.$frozen=!1},e.prototype.$renderChanges=function(e,t){if(this.$changes&&(e|=this.$changes,this.$changes=0),this.session&&this.container.offsetWidth&&!this.$frozen&&(e||t)){if(this.$size.$dirty)return this.$changes|=e,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",e),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var r=this.layerConfig;if(e&this.CHANGE_FULL||e&this.CHANGE_SIZE||e&this.CHANGE_TEXT||e&this.CHANGE_LINES||e&this.CHANGE_SCROLL||e&this.CHANGE_H_SCROLL){if(e|=this.$computeLayerConfig()|this.$loop.clear(),r.firstRow!=this.layerConfig.firstRow&&r.firstRowScreen==this.layerConfig.firstRowScreen){var n=this.scrollTop+(r.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;n>0&&(this.scrollTop=n,e|=this.CHANGE_SCROLL,e|=this.$computeLayerConfig()|this.$loop.clear())}r=this.layerConfig,this.$updateScrollBarV(),e&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),o.translate(this.content,-this.scrollLeft,-r.offset);var i=r.width+2*this.$padding+"px",a=r.minHeight+"px";o.setStyle(this.content.style,"width",i),o.setStyle(this.content.style,"height",a)}if(e&this.CHANGE_H_SCROLL&&(o.translate(this.content,-this.scrollLeft,-r.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),e&this.CHANGE_FULL)return this.$changedLines=null,this.$textLayer.update(r),this.$showGutter&&this.$gutterLayer.update(r),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(r),this.$markerBack.update(r),this.$markerFront.update(r),this.$cursorLayer.update(r),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);if(e&this.CHANGE_SCROLL)return this.$changedLines=null,e&this.CHANGE_TEXT||e&this.CHANGE_LINES?this.$textLayer.update(r):this.$textLayer.scrollLines(r),this.$showGutter&&(e&this.CHANGE_GUTTER||e&this.CHANGE_LINES?this.$gutterLayer.update(r):this.$gutterLayer.scrollLines(r)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(r),this.$markerBack.update(r),this.$markerFront.update(r),this.$cursorLayer.update(r),this.$moveTextAreaToCursor(),void this._signal("afterRender",e);e&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(r),this.$showGutter&&this.$gutterLayer.update(r),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(r)):e&this.CHANGE_LINES?((this.$updateLines()||e&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(r),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(r)):e&this.CHANGE_TEXT||e&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(r),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(r)):e&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(r),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(r)),e&this.CHANGE_CURSOR&&(this.$cursorLayer.update(r),this.$moveTextAreaToCursor()),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(r),e&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(r),this._signal("afterRender",e)}else this.$changes|=e},e.prototype.$autosize=function(){var e=this.session.getScreenLength()*this.lineHeight,t=this.$maxLines*this.lineHeight,r=Math.min(t,Math.max((this.$minLines||1)*this.lineHeight,e))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(r+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&r>this.$maxPixelHeight&&(r=this.$maxPixelHeight);var n=!(r<=2*this.lineHeight)&&e>t;if(r!=this.desiredHeight||this.$size.height!=this.desiredHeight||n!=this.$vScroll){n!=this.$vScroll&&(this.$vScroll=n,this.scrollBarV.setVisible(n));var o=this.container.clientWidth;this.container.style.height=r+"px",this.$updateCachedSize(!0,this.$gutterWidth,o,r),this.desiredHeight=r,this._signal("autosize")}},e.prototype.$computeLayerConfig=function(){var e=this.session,t=this.$size,r=t.height<=2*this.lineHeight,n=this.session.getScreenLength()*this.lineHeight,o=this.$getLongestLine(),i=!r&&(this.$hScrollBarAlwaysVisible||t.scrollerWidth-o-2*this.$padding<0),a=this.$horizScroll!==i;a&&(this.$horizScroll=i,this.scrollBarH.setVisible(i));var s=this.$vScroll;this.$maxLines&&this.lineHeight>1&&this.$autosize();var l=t.scrollerHeight+this.lineHeight,c=!this.$maxLines&&this.$scrollPastEnd?(t.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;n+=c;var u=this.scrollMargin;this.session.setScrollTop(Math.max(-u.top,Math.min(this.scrollTop,n-t.scrollerHeight+u.bottom))),this.session.setScrollLeft(Math.max(-u.left,Math.min(this.scrollLeft,o+2*this.$padding-t.scrollerWidth+u.right)));var d=!r&&(this.$vScrollBarAlwaysVisible||t.scrollerHeight-n+c<0||this.scrollTop>u.top),p=s!==d;p&&(this.$vScroll=d,this.scrollBarV.setVisible(d));var h,f,m=this.scrollTop%this.lineHeight,g=Math.ceil(l/this.lineHeight)-1,y=Math.max(0,Math.round((this.scrollTop-m)/this.lineHeight)),v=y+g,b=this.lineHeight;y=e.screenToDocumentRow(y,0);var w=e.getFoldLine(y);w&&(y=w.start.row),h=e.documentToScreenRow(y,0),f=e.getRowLength(y)*b,v=Math.min(e.screenToDocumentRow(v,0),e.getLength()-1),l=t.scrollerHeight+e.getRowLength(v)*b+f,m=this.scrollTop-h*b;var _=0;return(this.layerConfig.width!=o||a)&&(_=this.CHANGE_H_SCROLL),(a||p)&&(_|=this.$updateCachedSize(!0,this.gutterWidth,t.width,t.height),this._signal("scrollbarVisibilityChanged"),p&&(o=this.$getLongestLine())),this.layerConfig={width:o,padding:this.$padding,firstRow:y,firstRowScreen:h,lastRow:v,lineHeight:b,characterWidth:this.characterWidth,minHeight:l,maxHeight:n,offset:m,gutterOffset:b?Math.max(0,Math.ceil((m+t.height-t.scrollerHeight)/b)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(o-this.$padding),_},e.prototype.$updateLines=function(){if(this.$changedLines){var e=this.$changedLines.firstRow,t=this.$changedLines.lastRow;this.$changedLines=null;var r=this.layerConfig;if(!(e>r.lastRow+1)&&!(tthis.$textLayer.MAX_LINE_LENGTH&&(e=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round(e*this.characterWidth))},e.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},e.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},e.prototype.addGutterDecoration=function(e,t){this.$gutterLayer.addGutterDecoration(e,t)},e.prototype.removeGutterDecoration=function(e,t){this.$gutterLayer.removeGutterDecoration(e,t)},e.prototype.updateBreakpoints=function(e){this._rows=e,this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.setAnnotations=function(e){this.$gutterLayer.setAnnotations(e),this.$loop.schedule(this.CHANGE_GUTTER)},e.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},e.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},e.prototype.showCursor=function(){this.$cursorLayer.showCursor()},e.prototype.scrollSelectionIntoView=function(e,t,r){this.scrollCursorIntoView(e,r),this.scrollCursorIntoView(t,r)},e.prototype.scrollCursorIntoView=function(e,t,r){if(0!==this.$size.scrollerHeight){var n=this.$cursorLayer.getPixelPosition(e),o=n.left,i=n.top,a=r&&r.top||0,s=r&&r.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var l=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;l+a>i?(t&&l+a>i+this.lineHeight&&(i-=t*this.$size.scrollerHeight),0===i&&(i=-this.scrollMargin.top),this.session.setScrollTop(i)):l+this.$size.scrollerHeight-s=1-this.scrollMargin.top||(t>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||(e<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||(e>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right||void 0)))},e.prototype.pixelToScreenCoordinates=function(e,t){var r;if(this.$hasCssTransforms){r={top:0,left:0};var n=this.$fontMetrics.transformCoordinates([e,t]);e=n[1]-this.gutterWidth-this.margin.left,t=n[0]}else r=this.scroller.getBoundingClientRect();var o=e+this.scrollLeft-r.left-this.$padding,i=o/this.characterWidth,a=Math.floor((t+this.scrollTop-r.top)/this.lineHeight),s=this.$blockCursor?Math.floor(i):Math.round(i);return{row:a,column:s,side:i-s>0?1:-1,offsetX:o}},e.prototype.screenToTextCoordinates=function(e,t){var r;if(this.$hasCssTransforms){r={top:0,left:0};var n=this.$fontMetrics.transformCoordinates([e,t]);e=n[1]-this.gutterWidth-this.margin.left,t=n[0]}else r=this.scroller.getBoundingClientRect();var o=e+this.scrollLeft-r.left-this.$padding,i=o/this.characterWidth,a=this.$blockCursor?Math.floor(i):Math.round(i),s=Math.floor((t+this.scrollTop-r.top)/this.lineHeight);return this.session.screenToDocumentPosition(s,Math.max(a,0),o)},e.prototype.textToScreenCoordinates=function(e,t){var r=this.scroller.getBoundingClientRect(),n=this.session.documentToScreenPosition(e,t),o=this.$padding+(this.session.$bidiHandler.isBidiRow(n.row,e)?this.session.$bidiHandler.getPosLeft(n.column):Math.round(n.column*this.characterWidth)),i=n.row*this.lineHeight;return{pageX:r.left+o-this.scrollLeft,pageY:r.top+i-this.scrollTop}},e.prototype.visualizeFocus=function(){o.addCssClass(this.container,"ace_focus")},e.prototype.visualizeBlur=function(){o.removeCssClass(this.container,"ace_focus")},e.prototype.showComposition=function(e){this.$composition=e,e.cssText||(e.cssText=this.textarea.style.cssText),void 0==e.useTextareaForIME&&(e.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(o.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):e.markerId=this.session.addMarker(e.markerRange,"ace_composition_marker","text")},e.prototype.setCompositionText=function(e){var t=this.session.selection.cursor;this.addToken(e,"composition_placeholder",t.row,t.column),this.$moveTextAreaToCursor()},e.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),o.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var e=this.session.selection.cursor;this.removeExtraToken(e.row,e.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},e.prototype.setGhostText=function(e,t){var r=this.session.selection.cursor,n=t||{row:r.row,column:r.column};this.removeGhostText();var i=this.$calculateWrappedTextChunks(e,n);this.addToken(i[0].text,"ghost_text",n.row,n.column),this.$ghostText={text:e,position:{row:n.row,column:n.column}};var a=o.createElement("div");if(i.length>1){var s,l=this.hideTokensAfterPosition(n.row,n.column);i.slice(1).forEach((function(e){var t=o.createElement("div"),r=o.createElement("span");r.className="ace_ghost_text",e.wrapped&&(t.className="ghost_text_line_wrapped"),0===e.text.length&&(e.text=" "),r.appendChild(o.createTextNode(e.text)),t.appendChild(r),a.appendChild(t),s=t})),l.forEach((function(e){var t=o.createElement("span");_(e.type)||(t.className="ace_"+e.type.replace(/\./g," ace_")),t.appendChild(o.createTextNode(e.value)),s.appendChild(t)})),this.$ghostTextWidget={el:a,row:n.row,column:n.column,className:"ace_ghost_text_container"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var c=this.$cursorLayer.getPixelPosition(n,!0),u=this.container.getBoundingClientRect().height,d=i.length*this.lineHeight;if(d0){var c=0;l.push(o[a].length);for(var u=0;u1||Math.abs(e.$size.height-n)>1?e.$resizeTimer.delay():e.$resizeTimer.cancel()})),this.$resizeObserver.observe(this.container)}},e}();x.prototype.CHANGE_CURSOR=1,x.prototype.CHANGE_MARKER=2,x.prototype.CHANGE_GUTTER=4,x.prototype.CHANGE_SCROLL=8,x.prototype.CHANGE_LINES=16,x.prototype.CHANGE_TEXT=32,x.prototype.CHANGE_SIZE=64,x.prototype.CHANGE_MARKER_BACK=128,x.prototype.CHANGE_MARKER_FRONT=256,x.prototype.CHANGE_FULL=512,x.prototype.CHANGE_H_SCROLL=1024,x.prototype.$changes=0,x.prototype.$padding=null,x.prototype.$frozen=!1,x.prototype.STEPS=8,n.implement(x.prototype,y),a.defineOptions(x.prototype,"renderer",{useResizeObserver:{set:function(e){!e&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):e&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(e){this.$textLayer.setShowInvisibles(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(e){"number"==typeof e&&(this.$printMarginColumn=e),this.$showPrintMargin=!!e,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(e){this.$gutter.style.display=e?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(e){this.$gutterLayer.$useSvgGutterIcons=e},initialValue:!1},showFoldedAnnotations:{set:function(e){this.$gutterLayer.$showFoldedAnnotations=e},initialValue:!1},fadeFoldWidgets:{set:function(e){o.setCssClass(this.$gutter,"ace_fade-fold-widgets",e)},initialValue:!1},showFoldWidgets:{set:function(e){this.$gutterLayer.setShowFoldWidgets(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(e){this.$textLayer.setDisplayIndentGuides(e)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(e){1==this.$textLayer.setHighlightIndentGuides(e)?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(e){this.$gutterLayer.setHighlightGutterLine(e),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(e){this.$hScrollBarAlwaysVisible&&this.$horizScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(e){this.$vScrollBarAlwaysVisible&&this.$vScroll||this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(e){"number"==typeof e&&(e+="px"),this.container.style.fontSize=e,this.updateFontSize()},initialValue:12},fontFamily:{set:function(e){this.container.style.fontFamily=e,this.updateFontSize()}},maxLines:{set:function(e){this.updateFull()}},minLines:{set:function(e){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(e){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(e){e=+e||0,this.$scrollPastEnd!=e&&(this.$scrollPastEnd=e,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(e){this.$gutterLayer.$fixedWidth=!!e,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(e){this.$updateCustomScrollbar(e)},initialValue:!1},theme:{set:function(e){this.setTheme(e)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!w.isMobile&&!w.isIE}}),t.VirtualRenderer=x})),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],(function(e,t,r){"use strict";var n=e("../lib/oop"),o=e("../lib/net"),i=e("../lib/event_emitter").EventEmitter,a=e("../config");function s(e){if("undefined"==typeof Worker)return{postMessage:function(){},terminate:function(){}};if(a.get("loadWorkerFromBlob")){var t=function(e){var t="importScripts('"+o.qualifyURL(e)+"');";try{return new Blob([t],{type:"application/javascript"})}catch(n){var r=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return r.append(t),r.getBlob("application/javascript")}}(e),r=(window.URL||window.webkitURL).createObjectURL(t);return new Worker(r)}return new Worker(e)}var l=function(e){e.postMessage||(e=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=e,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){n.implement(this,i),this.$createWorkerFromOldConfig=function(t,r,n,o,i){if(e.nameToUrl&&!e.toUrl&&(e.toUrl=e.nameToUrl),a.get("packaged")||!e.toUrl)o=o||a.moduleUrl(r,"worker");else{var l=this.$normalizePath;o=o||l(e.toUrl("ace/worker/worker.js",null,"_"));var c={};t.forEach((function(t){c[t]=l(e.toUrl(t,null,"_").replace(/(\.js)?(\?.*)?$/,""))}))}return this.$worker=s(o),i&&this.send("importScripts",i),this.$worker.postMessage({init:!0,tlns:c,module:r,classname:n}),this.$worker},this.onMessage=function(e){var t=e.data;switch(t.type){case"event":this._signal(t.name,{data:t.data});break;case"call":var r=this.callbacks[t.id];r&&(r(t.data),delete this.callbacks[t.id]);break;case"error":this.reportError(t.data);break;case"log":window.console&&console.log&&console.log.apply(console,t.data)}},this.reportError=function(e){window.console&&console.error&&console.error(e)},this.$normalizePath=function(e){return o.qualifyURL(e)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(e){e.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(e,t){this.$worker.postMessage({command:e,args:t})},this.call=function(e,t,r){if(r){var n=this.callbackId++;this.callbacks[n]=r,t.push(n)}this.send(e,t)},this.emit=function(e,t){try{t.data&&t.data.err&&(t.data.err={message:t.data.err.message,stack:t.data.err.stack,code:t.data.err.code}),this.$worker&&this.$worker.postMessage({event:e,data:{data:t.data}})}catch(r){console.error(r.stack)}},this.attachToDocument=function(e){this.$doc&&this.terminate(),this.$doc=e,this.call("setValue",[e.getValue()]),e.on("change",this.changeListener,!0)},this.changeListener=function(e){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),"insert"==e.action?this.deltaQueue.push(e.start,e.lines):this.deltaQueue.push(e.start,e.end)},this.$sendDeltaQueue=function(){var e=this.deltaQueue;e&&(this.deltaQueue=null,e.length>50&&e.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:e}))}}).call(l.prototype);t.UIWorkerClient=function(e,t,r){var n=null,o=!1,s=Object.create(i),c=[],u=new l({messageBuffer:c,terminate:function(){},postMessage:function(e){c.push(e),n&&(o?setTimeout(d):d())}});u.setEmitSync=function(e){o=e};var d=function(){var e=c.shift();e.command?n[e.command].apply(n,e.args):e.event&&s._signal(e.event,e.data)};return s.postMessage=function(e){u.onMessage({data:e})},s.callback=function(e,t){this.postMessage({type:"call",id:t,data:e})},s.emit=function(e,t){this.postMessage({type:"event",name:e,data:t})},a.loadModule(["worker",t],(function(e){for(n=new e[r](s);c.length;)d()})),u},t.WorkerClient=l,t.createWorker=s})),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],(function(e,t,r){"use strict";var n=e("./range").Range,o=e("./lib/event_emitter").EventEmitter,i=e("./lib/oop"),a=function(){function e(e,t,r,n,o,i){var a=this;this.length=t,this.session=e,this.doc=e.getDocument(),this.mainClass=o,this.othersClass=i,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=n,this.$onCursorChange=function(){setTimeout((function(){a.onCursorChange()}))},this.$pos=r;var s=e.getUndoManager().$undoStack||e.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=s.length,this.setup(),e.selection.on("changeCursor",this.$onCursorChange)}return e.prototype.setup=function(){var e=this,t=this.doc,r=this.session;this.selectionBefore=r.selection.toJSON(),r.selection.inMultiSelectMode&&r.selection.toSingleRange(),this.pos=t.createAnchor(this.$pos.row,this.$pos.column);var o=this.pos;o.$insertRight=!0,o.detach(),o.markerId=r.addMarker(new n(o.row,o.column,o.row,o.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach((function(r){var n=t.createAnchor(r.row,r.column);n.$insertRight=!0,n.detach(),e.others.push(n)})),r.setUndoSelect(!1)},e.prototype.showOtherMarkers=function(){if(!this.othersActive){var e=this.session,t=this;this.othersActive=!0,this.others.forEach((function(r){r.markerId=e.addMarker(new n(r.row,r.column,r.row,r.column+t.length),t.othersClass,null,!1)}))}},e.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var e=0;e=this.pos.column&&t.start.column<=this.pos.column+this.length+1,i=t.start.column-this.pos.column;if(this.updateAnchors(e),o&&(this.length+=r),o&&!this.session.$fromUndo)if("insert"===e.action)for(var a=this.others.length-1;a>=0;a--){var s={row:(l=this.others[a]).row,column:l.column+i};this.doc.insertMergedLines(s,e.lines)}else if("remove"===e.action)for(a=this.others.length-1;a>=0;a--){var l;s={row:(l=this.others[a]).row,column:l.column+i};this.doc.remove(new n(s.row,s.column,s.row,s.column-r))}this.$updating=!1,this.updateMarkers()}},e.prototype.updateAnchors=function(e){this.pos.onChange(e);for(var t=this.others.length;t--;)this.others[t].onChange(e);this.updateMarkers()},e.prototype.updateMarkers=function(){if(!this.$updating){var e=this,t=this.session,r=function(r,o){t.removeMarker(r.markerId),r.markerId=t.addMarker(new n(r.row,r.column,r.row,r.column+e.length),o,null,!1)};r(this.pos,this.mainClass);for(var o=this.others.length;o--;)r(this.others[o],this.othersClass)}},e.prototype.onCursorChange=function(e){if(!this.$updating&&this.session){var t=this.session.selection.getCursor();t.row===this.pos.row&&t.column>=this.pos.column&&t.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",e)):(this.hideOtherMarkers(),this._emit("cursorLeave",e))}},e.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},e.prototype.cancel=function(){if(-1!==this.$undoStackDepth){for(var e=this.session.getUndoManager(),t=(e.$undoStack||e.$undostack).length-this.$undoStackDepth,r=0;r1?e.multiSelect.joinSelections():e.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(e){e.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(e){e.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(e){e.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],t.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(e){e.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(e){return e&&e.inMultiSelectMode}}];var n=e("../keyboard/hash_handler").HashHandler;t.keyboardHandler=new n(t.multiSelectCommands)})),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],(function(e,t,r){var n=e("./range_list").RangeList,o=e("./range").Range,i=e("./selection").Selection,a=e("./mouse/multi_select_handler").onMouseDown,s=e("./lib/event"),l=e("./lib/lang"),c=e("./commands/multi_select_commands");t.commands=c.defaultCommands.concat(c.multiSelectCommands);var u=new(0,e("./search").Search);var d=e("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(d.prototype),function(){this.ranges=null,this.rangeList=null,this.addRange=function(e,t){if(e){if(!this.inMultiSelectMode&&0===this.rangeCount){var r=this.toOrientedRange();if(this.rangeList.add(r),this.rangeList.add(e),2!=this.rangeList.ranges.length)return this.rangeList.removeAll(),t||this.fromOrientedRange(e);this.rangeList.removeAll(),this.rangeList.add(r),this.$onAddRange(r)}e.cursor||(e.cursor=e.end);var n=this.rangeList.add(e);return this.$onAddRange(e),n.length&&this.$onRemoveRange(n),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),t||this.fromOrientedRange(e)}},this.toSingleRange=function(e){e=e||this.ranges[0];var t=this.rangeList.removeAll();t.length&&this.$onRemoveRange(t),e&&this.fromOrientedRange(e)},this.substractPoint=function(e){var t=this.rangeList.substractPoint(e);if(t)return this.$onRemoveRange(t),t[0]},this.mergeOverlappingRanges=function(){var e=this.rangeList.merge();e.length&&this.$onRemoveRange(e)},this.$onAddRange=function(e){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(e),this._signal("addRange",{range:e})},this.$onRemoveRange=function(e){if(this.rangeCount=this.rangeList.ranges.length,1==this.rangeCount&&this.inMultiSelectMode){var t=this.rangeList.ranges.pop();e.push(t),this.rangeCount=0}for(var r=e.length;r--;){var n=this.ranges.indexOf(e[r]);this.ranges.splice(n,1)}this._signal("removeRange",{ranges:e}),0===this.rangeCount&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),(t=t||this.ranges[0])&&!t.isEqual(this.getRange())&&this.fromOrientedRange(t)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new n,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var e=this.ranges.length?this.ranges:[this.getRange()],t=[],r=0;r1){var e=this.rangeList.ranges,t=e[e.length-1],r=o.fromPoints(e[0].start,t.end);this.toSingleRange(),this.setSelectionRange(r,t.cursor==t.start)}else{var n=this.session.documentToScreenPosition(this.cursor),i=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(n,i).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(e,t,r){var n=[],i=e.column0;)v--;if(v>0)for(var b=0;n[b].isEmpty();)b++;for(var w=v;w>=b;w--)n[w].isEmpty()&&n.splice(w,1)}return n}}.call(i.prototype);var p=e("./editor").Editor;function h(e){e.$multiselectOnSessionChange||(e.$onAddRange=e.$onAddRange.bind(e),e.$onRemoveRange=e.$onRemoveRange.bind(e),e.$onMultiSelect=e.$onMultiSelect.bind(e),e.$onSingleSelect=e.$onSingleSelect.bind(e),e.$multiselectOnSessionChange=t.onSessionChange.bind(e),e.$checkMultiselectChange=e.$checkMultiselectChange.bind(e),e.$multiselectOnSessionChange(e),e.on("changeSession",e.$multiselectOnSessionChange),e.on("mousedown",a),e.commands.addCommands(c.defaultCommands),function(e){if(!e.textInput)return;var t=e.textInput.getElement(),r=!1;function n(t){r&&(e.renderer.setMouseCursor(""),r=!1)}s.addListener(t,"keydown",(function(t){var o=18==t.keyCode&&!(t.ctrlKey||t.shiftKey||t.metaKey);e.$blockSelectEnabled&&o?r||(e.renderer.setMouseCursor("crosshair"),r=!0):r&&n()}),e),s.addListener(t,"keyup",n,e),s.addListener(t,"blur",n,e)}(e))}(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(e){e.cursor||(e.cursor=e.end);var t=this.getSelectionStyle();return e.marker=this.session.addMarker(e,"ace_selection",t),this.session.$selectionMarkers.push(e),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,e},this.removeSelectionMarker=function(e){if(e.marker){this.session.removeMarker(e.marker);var t=this.session.$selectionMarkers.indexOf(e);-1!=t&&this.session.$selectionMarkers.splice(t,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(e){for(var t=this.session.$selectionMarkers,r=e.length;r--;){var n=e[r];if(n.marker){this.session.removeMarker(n.marker);var o=t.indexOf(n);-1!=o&&t.splice(o,1)}}this.session.selectionMarkerCount=t.length},this.$onAddRange=function(e){this.addSelectionMarker(e.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(e){this.removeSelectionMarkers(e.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(e){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(c.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(e){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(c.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(e){var t=e.command,r=e.editor;if(r.multiSelect){if(t.multiSelectAction)"forEach"==t.multiSelectAction?n=r.forEachSelection(t,e.args):"forEachLine"==t.multiSelectAction?n=r.forEachSelection(t,e.args,!0):"single"==t.multiSelectAction?(r.exitMultiSelectMode(),n=t.exec(r,e.args||{})):n=t.multiSelectAction(r,e.args||{});else{var n=t.exec(r,e.args||{});r.multiSelect.addRange(r.multiSelect.toOrientedRange()),r.multiSelect.mergeOverlappingRanges()}return n}},this.forEachSelection=function(e,t,r){if(!this.inVirtualSelectionMode){var n,o=r&&r.keepOrder,a=1==r||r&&r.$byLines,s=this.session,l=this.selection,c=l.rangeList,u=(o?l:c).ranges;if(!u.length)return e.exec?e.exec(this,t||{}):e(this,t||{});var d=l._eventRegistry;l._eventRegistry={};var p=new i(s);this.inVirtualSelectionMode=!0;for(var h=u.length;h--;){if(a)for(;h>0&&u[h].start.row==u[h-1].end.row;)h--;p.fromOrientedRange(u[h]),p.index=h,this.selection=s.selection=p;var f=e.exec?e.exec(this,t||{}):e(this,t||{});n||void 0===f||(n=f),p.toOrientedRange(u[h])}p.detach(),this.selection=s.selection=l,this.inVirtualSelectionMode=!1,l._eventRegistry=d,l.mergeOverlappingRanges(),l.ranges[0]&&l.fromOrientedRange(l.ranges[0]);var m=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),m&&m.from==m.to&&this.renderer.animateScrolling(m.from),n}},this.exitMultiSelectMode=function(){this.inMultiSelectMode&&!this.inVirtualSelectionMode&&this.multiSelect.toSingleRange()},this.getSelectedText=function(){var e="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var t=this.multiSelect.rangeList.ranges,r=[],n=0;na&&(a=r.column),nu?e.insert(n,l.stringRepeat(" ",i-u)):e.remove(new o(n.row,n.column,n.row,n.column-i+u)),t.start.column=t.end.column=a,t.start.row=t.end.row=n.row,t.cursor=t.end})),t.fromOrientedRange(r[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}else{var u=this.selection.getRange(),d=u.start.row,p=u.end.row,h=d==p;if(h){var f,m=this.session.getLength();do{f=this.session.getLine(p)}while(/[=:]/.test(f)&&++p0);d<0&&(d=0),p>=m&&(p=m-1)}var g=this.session.removeFullLines(d,p);g=this.$reAlignText(g,h),this.session.insert({row:d,column:0},g.join("\n")+"\n"),h||(u.start.column=0,u.end.column=g[g.length-1].length),this.selection.setRange(u)}},this.$reAlignText=function(e,t){var r,n,o,i=!0,a=!0;return e.map((function(e){var t=e.match(/(\s*)(.*?)(\s*)([=:].*)/);return t?null==r?(r=t[1].length,n=t[2].length,o=t[3].length,t):(r+n+o!=t[1].length+t[2].length+t[3].length&&(a=!1),r!=t[1].length&&(i=!1),r>t[1].length&&(r=t[1].length),nt[3].length&&(o=t[3].length),t):[e]})).map(t?c:i?a?function(e){return e[2]?s(r+n-e[2].length)+e[2]+s(o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}:c:function(e){return e[2]?s(r)+e[2]+s(o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]});function s(e){return l.stringRepeat(" ",e)}function c(e){return e[2]?s(r)+e[2]+s(n-e[2].length+o)+e[4].replace(/^([=:])\s+/,"$1 "):e[0]}}}).call(p.prototype),t.onSessionChange=function(e){var t=e.session;t&&!t.multiSelect&&(t.$selectionMarkers=[],t.selection.$initRangeList(),t.multiSelect=t.selection),this.multiSelect=t&&t.multiSelect;var r=e.oldSession;r&&(r.multiSelect.off("addRange",this.$onAddRange),r.multiSelect.off("removeRange",this.$onRemoveRange),r.multiSelect.off("multiSelect",this.$onMultiSelect),r.multiSelect.off("singleSelect",this.$onSingleSelect),r.multiSelect.lead.off("change",this.$checkMultiselectChange),r.multiSelect.anchor.off("change",this.$checkMultiselectChange)),t&&(t.multiSelect.on("addRange",this.$onAddRange),t.multiSelect.on("removeRange",this.$onRemoveRange),t.multiSelect.on("multiSelect",this.$onMultiSelect),t.multiSelect.on("singleSelect",this.$onSingleSelect),t.multiSelect.lead.on("change",this.$checkMultiselectChange),t.multiSelect.anchor.on("change",this.$checkMultiselectChange)),t&&this.inMultiSelectMode!=t.selection.inMultiSelectMode&&(t.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())},t.MultiSelect=h,e("./config").defineOptions(p.prototype,"editor",{enableMultiselect:{set:function(e){h(this),e?this.on("mousedown",a):this.off("mousedown",a)},value:!0},enableBlockSelect:{set:function(e){this.$blockSelectEnabled=e},value:!0}})})),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],(function(e,t,r){"use strict";var n=e("../../range").Range,o=t.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(e,t,r){var n=e.getLine(r);return this.foldingStartMarker.test(n)?"start":"markbeginend"==t&&this.foldingStopMarker&&this.foldingStopMarker.test(n)?"end":""},this.getFoldWidgetRange=function(e,t,r){return null},this.indentationBlock=function(e,t,r){var o=/\S/,i=e.getLine(t),a=i.search(o);if(-1!=a){for(var s=r||i.length,l=e.getLength(),c=t,u=t;++tc){var h=e.getLine(u).length;return new n(c,s,u,h)}}},this.openingBracketBlock=function(e,t,r,o,i){var a={row:r,column:o+1},s=e.$findClosingBracket(t,a,i);if(s){var l=e.foldWidgets[s.row];return null==l&&(l=e.getFoldWidget(s.row)),"start"==l&&s.row>a.row&&(s.row--,s.column=e.getLine(s.row).length),n.fromPoints(a,s)}},this.closingBracketBlock=function(e,t,r,o,i){var a={row:r,column:o},s=e.$findOpeningBracket(t,a);if(s)return s.column++,a.column--,n.fromPoints(s,a)}}).call(o.prototype)})),ace.define("ace/ext/error_marker",["require","exports","module","ace/line_widgets","ace/lib/dom","ace/range","ace/config"],(function(e,t,r){"use strict";var n=e("../line_widgets").LineWidgets,o=e("../lib/dom"),i=e("../range").Range,a=e("../config").nls;t.showErrorMarker=function(e,t){var r=e.session;r.widgetManager||(r.widgetManager=new n(r),r.widgetManager.attach(e));var s=e.getCursorPosition(),l=s.row,c=r.widgetManager.getWidgetsAtRow(l).filter((function(e){return"errorMarker"==e.type}))[0];c?c.destroy():l-=t;var u,d=function(e,t,r){var n=e.getAnnotations().sort(i.comparePoints);if(n.length){var o=function(e,t,r){for(var n=0,o=e.length-1;n<=o;){var i=n+o>>1,a=r(t,e[i]);if(a>0)n=i+1;else{if(!(a<0))return i;o=i-1}}return-(n+1)}(n,{row:t,column:-1},i.comparePoints);o<0&&(o=-o-1),o>=n.length?o=r>0?0:n.length-1:0===o&&r<0&&(o=n.length-1);var a=n[o];if(a&&r){if(a.row===t){do{a=n[o+=r]}while(a&&a.row===t);if(!a)return n.slice()}var s=[];t=a.row;do{s[r<0?"unshift":"push"](a),a=n[o+=r]}while(a&&a.row==t);return s.length&&s}}}(r,l,t);if(d){var p=d[0];s.column=(p.pos&&"number"!=typeof p.column?p.pos.sc:p.column)||0,s.row=p.row,u=e.renderer.$gutterLayer.$annotations[s.row]}else{if(c)return;u={displayText:[a("error-marker.good-state","Looks good!")],className:"ace_ok"}}e.session.unfold(s.row),e.selection.moveToPosition(s);var h={row:s.row,fixedWidth:!0,coverGutter:!0,el:o.createElement("div"),type:"errorMarker"},f=h.el.appendChild(o.createElement("div")),m=h.el.appendChild(o.createElement("div"));m.className="error_widget_arrow "+u.className;var g=e.renderer.$cursorLayer.getPixelPosition(s).left;m.style.left=g+e.renderer.gutterWidth-5+"px",h.el.className="error_widget_wrapper",f.className="error_widget "+u.className,u.displayText.forEach((function(e,t){f.appendChild(o.createTextNode(e)),t{e=r.nmd(e),ace.define("ace/split",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/editor","ace/virtual_renderer","ace/edit_session"],(function(e,t,r){"use strict";var n,o=e("./lib/oop"),i=(e("./lib/lang"),e("./lib/event_emitter").EventEmitter),a=e("./editor").Editor,s=e("./virtual_renderer").VirtualRenderer,l=e("./edit_session").EditSession;(function(){o.implement(this,i),this.$createEditor=function(){var e=document.createElement("div");e.className=this.$editorCSS,e.style.cssText="position: absolute; top:0px; bottom:0px",this.$container.appendChild(e);var t=new a(new s(e,this.$theme));return t.on("focus",function(){this._emit("focus",t)}.bind(this)),this.$editors.push(t),t.setFontSize(this.$fontSize),t},this.setSplits=function(e){var t;if(e<1)throw"The number of splits have to be > 0!";if(e!=this.$splits){if(e>this.$splits){for(;this.$splitse;)t=this.$editors[this.$splits-1],this.$container.removeChild(t.container),this.$splits--;this.resize()}},this.getSplits=function(){return this.$splits},this.getEditor=function(e){return this.$editors[e]},this.getCurrentEditor=function(){return this.$cEditor},this.focus=function(){this.$cEditor.focus()},this.blur=function(){this.$cEditor.blur()},this.setTheme=function(e){this.$editors.forEach((function(t){t.setTheme(e)}))},this.setKeyboardHandler=function(e){this.$editors.forEach((function(t){t.setKeyboardHandler(e)}))},this.forEach=function(e,t){this.$editors.forEach(e,t)},this.$fontSize="",this.setFontSize=function(e){this.$fontSize=e,this.forEach((function(t){t.setFontSize(e)}))},this.$cloneSession=function(e){var t=new l(e.getDocument(),e.getMode()),r=e.getUndoManager();return t.setUndoManager(r),t.setTabSize(e.getTabSize()),t.setUseSoftTabs(e.getUseSoftTabs()),t.setOverwrite(e.getOverwrite()),t.setBreakpoints(e.getBreakpoints()),t.setUseWrapMode(e.getUseWrapMode()),t.setUseWorker(e.getUseWorker()),t.setWrapLimitRange(e.$wrapLimitRange.min,e.$wrapLimitRange.max),t.$foldData=e.$cloneFoldData(),t},this.setSession=function(e,t){var r;r=null==t?this.$cEditor:this.$editors[t];var n=this.$editors.some((function(t){return t.session===e}));return n&&(e=this.$cloneSession(e)),r.setSession(e),e},this.getOrientation=function(){return this.$orientation},this.setOrientation=function(e){this.$orientation!=e&&(this.$orientation=e,this.resize())},this.resize=function(){var e,t=this.$container.clientWidth,r=this.$container.clientHeight;if(this.$orientation==this.BESIDE)for(var n=t/this.$splits,o=0;o{"use strict";t.A=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(",");if(0===r.length)return!0;var n=e.name||"",o=(e.type||"").toLowerCase(),i=o.replace(/\/.*$/,"");return r.some((function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?i===t.replace(/\/.*$/,""):o===t}))}return!0}},5255:e=>{var t;globalThis,t=()=>(()=>{"use strict";var e={794:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CronParser=void 0;var n=r(586),o=function(){function e(e,t,r){void 0===t&&(t=!0),void 0===r&&(r=!1),this.expression=e,this.dayOfWeekStartIndexZero=t,this.monthStartIndexZero=r}return e.prototype.parse=function(){var e,t;if((null!==(e=this.expression)&&void 0!==e?e:"").startsWith("@")){var r=this.parseSpecial(this.expression);t=this.extractParts(r)}else t=this.extractParts(this.expression);return this.normalize(t),this.validate(t),t},e.prototype.parseSpecial=function(e){var t={"@yearly":"0 0 1 1 *","@annually":"0 0 1 1 *","@monthly":"0 0 1 * *","@weekly":"0 0 * * 0","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *"}[e];if(!t)throw new Error("Unknown special expression.");return t},e.prototype.extractParts=function(e){if(!this.expression)throw new Error("cron expression is empty");for(var t=e.trim().split(/[ ]+/),r=0;r7)throw new Error("Expression has ".concat(t.length," parts; too many!"));return t},e.prototype.normalize=function(e){var t=this;if(e[3]=e[3].replace("?","*"),e[5]=e[5].replace("?","*"),e[2]=e[2].replace("?","*"),0==e[0].indexOf("0/")&&(e[0]=e[0].replace("0/","*/")),0==e[1].indexOf("0/")&&(e[1]=e[1].replace("0/","*/")),0==e[2].indexOf("0/")&&(e[2]=e[2].replace("0/","*/")),0==e[3].indexOf("1/")&&(e[3]=e[3].replace("1/","*/")),0==e[4].indexOf("1/")&&(e[4]=e[4].replace("1/","*/")),0==e[6].indexOf("1/")&&(e[6]=e[6].replace("1/","*/")),e[5]=e[5].replace(/(^\d)|([^#/\s]\d)/g,(function(e){var r=e.replace(/\D/,""),n=r;return t.dayOfWeekStartIndexZero?"7"==r&&(n="0"):n=(parseInt(r)-1).toString(),e.replace(r,n)})),"L"==e[5]&&(e[5]="6"),"?"==e[3]&&(e[3]="*"),e[3].indexOf("W")>-1&&(e[3].indexOf(",")>-1||e[3].indexOf("-")>-1))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var r={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var n in r)e[5]=e[5].replace(new RegExp(n,"gi"),r[n].toString());e[4]=e[4].replace(/(^\d{1,2})|([^#/\s]\d{1,2})/g,(function(e){var r=e.replace(/\D/,""),n=r;return t.monthStartIndexZero&&(n=(parseInt(r)+1).toString()),e.replace(r,n)}));var o={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var i in o)e[4]=e[4].replace(new RegExp(i,"gi"),o[i].toString());"0"==e[0]&&(e[0]=""),/\*|\-|\,|\//.test(e[2])||!/\*|\//.test(e[1])&&!/\*|\//.test(e[0])||(e[2]+="-".concat(e[2]));for(var a=0;a-1&&!/^\*|\-|\,/.test(e[a])){var s=null;switch(a){case 4:s="12";break;case 5:s="6";break;case 6:s="9999";break;default:s=null}if(null!==s){var l=e[a].split("/");e[a]="".concat(l[0],"-").concat(s,"/").concat(l[1])}}},e.prototype.validate=function(e){this.assertNoInvalidCharacters("DOW",e[5]),this.assertNoInvalidCharacters("DOM",e[3]),this.validateRange(e)},e.prototype.validateRange=function(e){n.default.secondRange(e[0]),n.default.minuteRange(e[1]),n.default.hourRange(e[2]),n.default.dayOfMonthRange(e[3]),n.default.monthRange(e[4],this.monthStartIndexZero),n.default.dayOfWeekRange(e[5],this.dayOfWeekStartIndexZero)},e.prototype.assertNoInvalidCharacters=function(e,t){var r=t.match(/[A-KM-VX-Z]+/gi);if(r&&r.length)throw new Error("".concat(e," part contains invalid values: '").concat(r.toString(),"'"))},e}();t.CronParser=o},728:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExpressionDescriptor=void 0;var n=r(910),o=r(794),i=function(){function e(t,r){if(this.expression=t,this.options=r,this.expressionParts=new Array(5),!this.options.locale&&e.defaultLocale&&(this.options.locale=e.defaultLocale),!e.locales[this.options.locale]){var n=Object.keys(e.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(n,"'.")),this.options.locale=n}this.i18n=e.locales[this.options.locale],void 0===r.use24HourTimeFormat&&(r.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return e.toString=function(t,r){var n=void 0===r?{}:r,o=n.throwExceptionOnParseError,i=void 0===o||o,a=n.verbose,s=void 0!==a&&a,l=n.dayOfWeekStartIndexZero,c=void 0===l||l,u=n.monthStartIndexZero,d=void 0!==u&&u,p=n.use24HourTimeFormat,h=n.locale,f=void 0===h?null:h,m=n.tzOffset;return new e(t,{throwExceptionOnParseError:i,verbose:s,dayOfWeekStartIndexZero:c,monthStartIndexZero:d,use24HourTimeFormat:p,locale:f,tzOffset:void 0===m?0:m}).getFullDescription()},e.initialize=function(t,r){void 0===r&&(r="en"),e.specialCharacters=["/","-",",","*"],e.defaultLocale=r,t.load(e.locales)},e.prototype.getFullDescription=function(){var e="";try{var t=new o.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);this.expressionParts=t.parse();var r=this.getTimeOfDayDescription(),n=this.getDayOfMonthDescription(),i=this.getMonthDescription();e+=r+n+this.getDayOfWeekDescription()+i+this.getYearDescription(),e=(e=this.transformVerbosity(e,!!this.options.verbose)).charAt(0).toLocaleUpperCase()+e.substr(1)}catch(a){if(this.options.throwExceptionOnParseError)throw"".concat(a);e=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}return e},e.prototype.getTimeOfDayDescription=function(){var t=this.expressionParts[0],r=this.expressionParts[1],o=this.expressionParts[2],i="";if(n.StringUtilities.containsAny(r,e.specialCharacters)||n.StringUtilities.containsAny(o,e.specialCharacters)||n.StringUtilities.containsAny(t,e.specialCharacters))if(t||!(r.indexOf("-")>-1)||r.indexOf(",")>-1||r.indexOf("/")>-1||n.StringUtilities.containsAny(o,e.specialCharacters))if(!t&&o.indexOf(",")>-1&&-1==o.indexOf("-")&&-1==o.indexOf("/")&&!n.StringUtilities.containsAny(r,e.specialCharacters)){var a=o.split(",");i+=this.i18n.at();for(var s=0;s1){var i=o[o.length-1].index;r=r.substring(0,i)+":59"+r.substring(i+3)}}return r},e.prototype.getDayOfWeekDescription=function(){var e=this,t=this.i18n.daysOfTheWeek();return"*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(r,n){var o=r;r.indexOf("#")>-1?o=r.substring(0,r.indexOf("#")):r.indexOf("L")>-1&&(o=o.replace("L",""));var i=parseInt(o);if(e.options.tzOffset){var a=e.expressionParts[2],s=parseInt(a)+(e.options.tzOffset?e.options.tzOffset:0);s>=24?i++:s<0&&i--,i>6?i=0:i<0&&(i=6)}var l=e.i18n.daysOfTheWeekInCase?e.i18n.daysOfTheWeekInCase(n)[i]:t[i];if(r.indexOf("#")>-1){var c=null,u=r.substring(r.indexOf("#")+1),d=r.substring(0,r.indexOf("#"));switch(u){case"1":c=e.i18n.first(d);break;case"2":c=e.i18n.second(d);break;case"3":c=e.i18n.third(d);break;case"4":c=e.i18n.fourth(d);break;case"5":c=e.i18n.fifth(d)}l=c+" "+l}return l}),(function(t){return 1==parseInt(t)?"":n.StringUtilities.format(e.i18n.commaEveryX0DaysOfTheWeek(t),t)}),(function(t){var r=t.substring(0,t.indexOf("-"));return"*"!=e.expressionParts[3]?e.i18n.commaAndX0ThroughX1(r):e.i18n.commaX0ThroughX1(r)}),(function(t){var r=null;if(t.indexOf("#")>-1){var n=t.substring(t.indexOf("#")+1);r=e.i18n.commaOnThe(n).trim()+e.i18n.spaceX0OfTheMonth()}else r=t.indexOf("L")>-1?e.i18n.commaOnTheLastX0OfTheMonth(t.replace("L","")):"*"!=e.expressionParts[3]?e.i18n.commaAndOnX0():e.i18n.commaOnlyOnX0(t);return r}))},e.prototype.getMonthDescription=function(){var e=this,t=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",(function(r,n){return n&&e.i18n.monthsOfTheYearInCase?e.i18n.monthsOfTheYearInCase(n)[parseInt(r)-1]:t[parseInt(r)-1]}),(function(t){return 1==parseInt(t)?"":n.StringUtilities.format(e.i18n.commaEveryX0Months(t),t)}),(function(t){return e.i18n.commaMonthX0ThroughMonthX1()||e.i18n.commaX0ThroughX1()}),(function(t){return e.i18n.commaOnlyInMonthX0?e.i18n.commaOnlyInMonthX0():e.i18n.commaOnlyInX0()}))},e.prototype.getDayOfMonthDescription=function(){var e=this,t=null,r=this.expressionParts[3];switch(r){case"L":t=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":t=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var o=r.match(/(\d{1,2}W)|(W\d{1,2})/);if(o){var i=parseInt(o[0].replace("W","")),a=1==i?this.i18n.firstWeekday():n.StringUtilities.format(this.i18n.weekdayNearestDayX0(),i.toString());t=n.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),a);break}var s=r.match(/L-(\d{1,2})/);if(s){var l=s[1];t=n.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(l),l);break}if("*"==r&&"*"!=this.expressionParts[5])return"";t=this.getSegmentDescription(r,this.i18n.commaEveryDay(),(function(t){return"L"==t?e.i18n.lastDay():e.i18n.dayX0?n.StringUtilities.format(e.i18n.dayX0(),t):t}),(function(t){return"1"==t?e.i18n.commaEveryDay():e.i18n.commaEveryX0Days(t)}),(function(t){return e.i18n.commaBetweenDayX0AndX1OfTheMonth(t)}),(function(t){return e.i18n.commaOnDayX0OfTheMonth(t)}))}return t},e.prototype.getYearDescription=function(){var e=this;return this.getSegmentDescription(this.expressionParts[6],"",(function(e){return/^\d+$/.test(e)?new Date(parseInt(e),1).getFullYear().toString():e}),(function(t){return n.StringUtilities.format(e.i18n.commaEveryX0Years(t),t)}),(function(t){return e.i18n.commaYearX0ThroughYearX1()||e.i18n.commaX0ThroughX1()}),(function(t){return e.i18n.commaOnlyInYearX0?e.i18n.commaOnlyInYearX0():e.i18n.commaOnlyInX0()}))},e.prototype.getSegmentDescription=function(e,t,r,o,i,a){var s=null,l=e.indexOf("/")>-1,c=e.indexOf("-")>-1,u=e.indexOf(",")>-1;if(e)if("*"===e)s=t;else if(l||c||u)if(u){for(var d=e.split(","),p="",h=0;h0&&d.length>2&&(p+=",",h0&&d.length>1&&(h==d.length-1||2==d.length)&&(p+="".concat(this.i18n.spaceAnd()," ")),d[h].indexOf("/")>-1||d[h].indexOf("-")>-1){var f=d[h].indexOf("-")>-1&&-1==d[h].indexOf("/"),m=this.getSegmentDescription(d[h],t,r,o,f?this.i18n.commaX0ThroughX1:i,a);f&&(m=m.replace(", ","")),p+=m}else p+=l?this.getSegmentDescription(d[h],t,r,o,i,a):r(d[h]);s=l?p:n.StringUtilities.format(a(e),p)}else if(l){if(d=e.split("/"),s=n.StringUtilities.format(o(d[1]),d[1]),d[0].indexOf("-")>-1){var g=this.generateRangeSegmentDescription(d[0],i,r);0!=g.indexOf(", ")&&(s+=", "),s+=g}else if(-1==d[0].indexOf("*")){var y=n.StringUtilities.format(a(d[0]),r(d[0]));y=y.replace(", ",""),s+=n.StringUtilities.format(this.i18n.commaStartingX0(),y)}}else c&&(s=this.generateRangeSegmentDescription(e,i,r));else s=n.StringUtilities.format(a(e),r(e));else s="";return s},e.prototype.generateRangeSegmentDescription=function(e,t,r){var o="",i=e.split("-"),a=r(i[0],1),s=r(i[1],2),l=t(e);return o+=n.StringUtilities.format(l,a,s)},e.prototype.formatTime=function(e,t,r){var n=0,o=0;this.options.tzOffset&&(n=this.options.tzOffset>0?Math.floor(this.options.tzOffset):Math.ceil(this.options.tzOffset),0!=(o=parseFloat((this.options.tzOffset%1).toFixed(2)))&&(o*=60));var i=parseInt(e)+n,a=parseInt(t)+o;a>=60?(a-=60,i+=1):a<0&&(a+=60,i-=1),i>=24?i-=24:i<0&&(i=24+i);var s="",l=!1;this.options.use24HourTimeFormat||(s=(l=!(!this.i18n.setPeriodBeforeTime||!this.i18n.setPeriodBeforeTime()))?"".concat(this.getPeriod(i)," "):" ".concat(this.getPeriod(i)),i>12&&(i-=12),0===i&&(i=12));var c="";return r&&(c=":".concat(("00"+r).substring(r.length))),"".concat(l?s:"").concat(("00"+i.toString()).substring(i.toString().length),":").concat(("00"+a.toString()).substring(a.toString().length)).concat(c).concat(l?"":s)},e.prototype.transformVerbosity=function(e,t){return t||(e=(e=(e=(e=e.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),"")).replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),"")).replace(new RegExp(this.i18n.commaEveryDay(),"g"),"")).replace(/\, ?$/,"")),e},e.prototype.getPeriod=function(e){return e>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},e.locales={},e}();t.ExpressionDescriptor=i},336:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.enLocaleLoader=void 0;var n=r(751),o=function(){function e(){}return e.prototype.load=function(e){e.en=new n.en},e}();t.enLocaleLoader=o},751:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.en=void 0;var r=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occured when generating the expression description. Check the cron expression syntax."},e.prototype.everyMinute=function(){return"every minute"},e.prototype.everyHour=function(){return"every hour"},e.prototype.atSpace=function(){return"At "},e.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},e.prototype.at=function(){return"At"},e.prototype.spaceAnd=function(){return" and"},e.prototype.everySecond=function(){return"every second"},e.prototype.everyX0Seconds=function(){return"every %s seconds"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},e.prototype.atX0SecondsPastTheMinute=function(){return"at %s seconds past the minute"},e.prototype.everyX0Minutes=function(){return"every %s minutes"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},e.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},e.prototype.everyX0Hours=function(){return"every %s hours"},e.prototype.betweenX0AndX1=function(){return"between %s and %s"},e.prototype.atX0=function(){return"at %s"},e.prototype.commaEveryDay=function(){return", every day"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},e.prototype.commaX0ThroughX1=function(){return", %s through %s"},e.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},e.prototype.first=function(){return"first"},e.prototype.second=function(){return"second"},e.prototype.third=function(){return"third"},e.prototype.fourth=function(){return"fourth"},e.prototype.fifth=function(){return"fifth"},e.prototype.commaOnThe=function(){return", on the "},e.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},e.prototype.lastDay=function(){return"the last day"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},e.prototype.commaOnlyOnX0=function(){return", only on %s"},e.prototype.commaAndOnX0=function(){return", and on %s"},e.prototype.commaEveryX0Months=function(){return", every %s months"},e.prototype.commaOnlyInX0=function(){return", only in %s"},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s days before the last day of the month"},e.prototype.firstWeekday=function(){return"first weekday"},e.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},e.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},e.prototype.commaEveryX0Days=function(){return", every %s days"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},e.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},e.prototype.commaEveryHour=function(){return", every hour"},e.prototype.commaEveryX0Years=function(){return", every %s years"},e.prototype.commaStartingX0=function(){return", starting %s"},e.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},e.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},e}();t.en=r},586:(e,t)=>{function r(e,t){if(!e)throw new Error(t)}Object.defineProperty(t,"__esModule",{value:!0});var n=function(){function e(){}return e.secondRange=function(e){for(var t=e.split(","),n=0;n=0&&o<=59,"seconds part must be >= 0 and <= 59")}},e.minuteRange=function(e){for(var t=e.split(","),n=0;n=0&&o<=59,"minutes part must be >= 0 and <= 59")}},e.hourRange=function(e){for(var t=e.split(","),n=0;n=0&&o<=23,"hours part must be >= 0 and <= 23")}},e.dayOfMonthRange=function(e){for(var t=e.split(","),n=0;n=1&&o<=31,"DOM part must be >= 1 and <= 31")}},e.monthRange=function(e,t){for(var n=e.split(","),o=0;o=1&&i<=12,t?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},e.dayOfWeekRange=function(e,t){for(var n=e.split(","),o=0;o=0&&i<=6,t?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}},e}();t.default=n},910:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StringUtilities=void 0;var r=function(){function e(){}return e.format=function(e){for(var t=[],r=1;r-1}))},e}();t.StringUtilities=r}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}var n={};return(()=>{var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.toString=void 0;var t=r(728),o=r(336);t.ExpressionDescriptor.initialize(new o.enLocaleLoader),e.default=t.ExpressionDescriptor;var i=t.ExpressionDescriptor.toString;e.toString=i})(),n})(),e.exports=t()},3070:(e,t,r)=>{var n;globalThis,n=e=>(()=>{"use strict";var t={34:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o);var e=n(34),t=n.n(e),r=o;Object.defineProperty(r,"__esModule",{value:!0}),r.de=void 0;var i=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return"jede Minute"},e.prototype.everyHour=function(){return"jede Stunde"},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Beim Generieren der Ausdrucksbeschreibung ist ein Fehler aufgetreten. \xdcberpr\xfcfen Sie die Syntax des Cron-Ausdrucks."},e.prototype.atSpace=function(){return"Um "},e.prototype.everyMinuteBetweenX0AndX1=function(){return"Jede Minute zwischen %s und %s"},e.prototype.at=function(){return"Um"},e.prototype.spaceAnd=function(){return" und"},e.prototype.everySecond=function(){return"Jede Sekunde"},e.prototype.everyX0Seconds=function(){return"alle %s Sekunden"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"Sekunden %s bis %s"},e.prototype.atX0SecondsPastTheMinute=function(){return"bei Sekunde %s"},e.prototype.everyX0Minutes=function(){return"alle %s Minuten"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"Minuten %s bis %s"},e.prototype.atX0MinutesPastTheHour=function(){return"bei Minute %s"},e.prototype.everyX0Hours=function(){return"alle %s Stunden"},e.prototype.betweenX0AndX1=function(){return"zwischen %s und %s"},e.prototype.atX0=function(){return"um %s"},e.prototype.commaEveryDay=function(){return", jeden Tag"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", alle %s Tage der Woche"},e.prototype.commaX0ThroughX1=function(){return", %s bis %s"},e.prototype.commaAndX0ThroughX1=function(){return", und %s bis %s"},e.prototype.first=function(){return"ersten"},e.prototype.second=function(){return"zweiten"},e.prototype.third=function(){return"dritten"},e.prototype.fourth=function(){return"vierten"},e.prototype.fifth=function(){return"f\xfcnften"},e.prototype.commaOnThe=function(){return", am "},e.prototype.spaceX0OfTheMonth=function(){return" %s des Monats"},e.prototype.lastDay=function(){return"der letzte Tag"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", am letzten %s des Monats"},e.prototype.commaOnlyOnX0=function(){return", nur jeden %s"},e.prototype.commaAndOnX0=function(){return", und jeden %s"},e.prototype.commaEveryX0Months=function(){return", alle %s Monate"},e.prototype.commaOnlyInX0=function(){return", nur im %s"},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", am letzten Tag des Monats"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", am letzten Werktag des Monats"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s tage vor dem letzten Tag des Monats"},e.prototype.firstWeekday=function(){return"ersten Werktag"},e.prototype.weekdayNearestDayX0=function(){return"Werktag am n\xe4chsten zum %s Tag"},e.prototype.commaOnTheX0OfTheMonth=function(){return", am %s des Monats"},e.prototype.commaEveryX0Days=function(){return", alle %s Tage"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", zwischen Tag %s und %s des Monats"},e.prototype.commaOnDayX0OfTheMonth=function(){return", an Tag %s des Monats"},e.prototype.commaEveryX0Years=function(){return", alle %s Jahre"},e.prototype.commaStartingX0=function(){return", beginnend %s"},e.prototype.daysOfTheWeek=function(){return["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"]},e.prototype.monthsOfTheYear=function(){return["Januar","Februar","M\xe4rz","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"]},e}();r.de=i,t().locales.de=new i})(),o})(),e.exports=n(r(5255))},1605:(e,t,r)=>{var n;globalThis,n=e=>(()=>{"use strict";var t={34:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o);var e=n(34),t=n.n(e),r=o;Object.defineProperty(r,"__esModule",{value:!0}),r.es=void 0;var i=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Ocurri\xf3 un error mientras se generaba la descripci\xf3n de la expresi\xf3n. Revise la sintaxis de la expresi\xf3n de cron."},e.prototype.at=function(){return"A las"},e.prototype.atSpace=function(){return"A las "},e.prototype.atX0=function(){return"a las %s"},e.prototype.atX0MinutesPastTheHour=function(){return"a los %s minutos de la hora"},e.prototype.atX0SecondsPastTheMinute=function(){return"a los %s segundos del minuto"},e.prototype.betweenX0AndX1=function(){return"entre las %s y las %s"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", entre los d\xedas %s y %s del mes"},e.prototype.commaEveryDay=function(){return", cada d\xeda"},e.prototype.commaEveryX0Days=function(){return", cada %s d\xedas"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", cada %s d\xedas de la semana"},e.prototype.commaEveryX0Months=function(){return", cada %s meses"},e.prototype.commaOnDayX0OfTheMonth=function(){return", el d\xeda %s del mes"},e.prototype.commaOnlyInX0=function(){return", s\xf3lo en %s"},e.prototype.commaOnlyOnX0=function(){return", s\xf3lo el %s"},e.prototype.commaAndOnX0=function(){return", y el %s"},e.prototype.commaOnThe=function(){return", en el "},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", en el \xfaltimo d\xeda del mes"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", en el \xfaltimo d\xeda de la semana del mes"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s d\xedas antes del \xfaltimo d\xeda del mes"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", en el \xfaltimo %s del mes"},e.prototype.commaOnTheX0OfTheMonth=function(){return", en el %s del mes"},e.prototype.commaX0ThroughX1=function(){return", de %s a %s"},e.prototype.commaAndX0ThroughX1=function(){return", y de %s a %s"},e.prototype.everyHour=function(){return"cada hora"},e.prototype.everyMinute=function(){return"cada minuto"},e.prototype.everyMinuteBetweenX0AndX1=function(){return"cada minuto entre las %s y las %s"},e.prototype.everySecond=function(){return"cada segundo"},e.prototype.everyX0Hours=function(){return"cada %s horas"},e.prototype.everyX0Minutes=function(){return"cada %s minutos"},e.prototype.everyX0Seconds=function(){return"cada %s segundos"},e.prototype.fifth=function(){return"quinto"},e.prototype.first=function(){return"primero"},e.prototype.firstWeekday=function(){return"primer d\xeda de la semana"},e.prototype.fourth=function(){return"cuarto"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"del minuto %s al %s pasada la hora"},e.prototype.second=function(){return"segundo"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"En los segundos %s al %s de cada minuto"},e.prototype.spaceAnd=function(){return" y"},e.prototype.spaceX0OfTheMonth=function(){return" %s del mes"},e.prototype.lastDay=function(){return"el \xfaltimo d\xeda"},e.prototype.third=function(){return"tercer"},e.prototype.weekdayNearestDayX0=function(){return"d\xeda de la semana m\xe1s pr\xf3ximo al %s"},e.prototype.commaEveryX0Years=function(){return", cada %s a\xf1os"},e.prototype.commaStartingX0=function(){return", comenzando %s"},e.prototype.daysOfTheWeek=function(){return["domingo","lunes","martes","mi\xe9rcoles","jueves","viernes","s\xe1bado"]},e.prototype.monthsOfTheYear=function(){return["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},e}();r.es=i,t().locales.es=new i})(),o})(),e.exports=n(r(5255))},7981:(e,t,r)=>{var n;globalThis,n=e=>(()=>{"use strict";var t={34:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o);var e=n(34),t=n.n(e),r=o;Object.defineProperty(r,"__esModule",{value:!0}),r.fr=void 0;var i=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return"toutes les minutes"},e.prototype.everyHour=function(){return"toutes les heures"},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Une erreur est survenue en g\xe9n\xe9rant la description de l'expression cron. V\xe9rifiez sa syntaxe."},e.prototype.atSpace=function(){return"\xc0 "},e.prototype.everyMinuteBetweenX0AndX1=function(){return"Toutes les minutes entre %s et %s"},e.prototype.at=function(){return"\xc0"},e.prototype.spaceAnd=function(){return" et"},e.prototype.everySecond=function(){return"toutes les secondes"},e.prototype.everyX0Seconds=function(){return"toutes les %s secondes"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"les secondes entre %s et %s apr\xe8s la minute"},e.prototype.atX0SecondsPastTheMinute=function(){return"%s secondes apr\xe8s la minute"},e.prototype.everyX0Minutes=function(){return"toutes les %s minutes"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"les minutes entre %s et %s apr\xe8s l'heure"},e.prototype.atX0MinutesPastTheHour=function(){return"%s minutes apr\xe8s l'heure"},e.prototype.everyX0Hours=function(){return"toutes les %s heures"},e.prototype.betweenX0AndX1=function(){return"de %s \xe0 %s"},e.prototype.atX0=function(){return"\xe0 %s"},e.prototype.commaEveryDay=function(){return", tous les jours"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", tous les %s jours de la semaine"},e.prototype.commaX0ThroughX1=function(){return", de %s \xe0 %s"},e.prototype.commaAndX0ThroughX1=function(){return", et de %s \xe0 %s"},e.prototype.first=function(){return"premier"},e.prototype.second=function(){return"second"},e.prototype.third=function(){return"troisi\xe8me"},e.prototype.fourth=function(){return"quatri\xe8me"},e.prototype.fifth=function(){return"cinqui\xe8me"},e.prototype.commaOnThe=function(){return", le "},e.prototype.spaceX0OfTheMonth=function(){return" %s du mois"},e.prototype.lastDay=function(){return"le dernier jour"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", le dernier %s du mois"},e.prototype.commaOnlyOnX0=function(){return", uniquement le %s"},e.prototype.commaAndOnX0=function(){return", et %s"},e.prototype.commaEveryX0Months=function(){return", tous les %s mois"},e.prototype.commaOnlyInX0=function(){return", uniquement en %s"},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", le dernier jour du mois"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", le dernier jour ouvrable du mois"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s jours avant le dernier jour du mois"},e.prototype.firstWeekday=function(){return"premier jour ouvrable"},e.prototype.weekdayNearestDayX0=function(){return"jour ouvrable le plus proche du %s"},e.prototype.commaOnTheX0OfTheMonth=function(){return", le %s du mois"},e.prototype.commaEveryX0Days=function(){return", tous les %s jours"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", du %s au %s du mois"},e.prototype.commaOnDayX0OfTheMonth=function(){return", le %s du mois"},e.prototype.commaEveryX0Years=function(){return", tous les %s ans"},e.prototype.commaDaysX0ThroughX1=function(){return", du %s au %s"},e.prototype.commaStartingX0=function(){return", \xe0 partir de %s"},e.prototype.daysOfTheWeek=function(){return["dimanche","lundi","mardi","mercredi","jeudi","vendredi","samedi"]},e.prototype.monthsOfTheYear=function(){return["janvier","f\xe9vrier","mars","avril","mai","juin","juillet","ao\xfbt","septembre","octobre","novembre","d\xe9cembre"]},e}();r.fr=i,t().locales.fr=new i})(),o})(),e.exports=n(r(5255))},204:(e,t,r)=>{var n;globalThis,n=e=>(()=>{"use strict";var t={34:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o);var e=n(34),t=n.n(e),r=o;Object.defineProperty(r,"__esModule",{value:!0}),r.it=void 0;var i=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"\xc8 verificato un errore durante la generazione la descrizione espressione. Controllare la sintassi delle espressioni cron."},e.prototype.at=function(){return"Alle"},e.prototype.atSpace=function(){return"Alle "},e.prototype.atX0=function(){return"alle %s"},e.prototype.atX0MinutesPastTheHour=function(){return"al %s minuto passata l'ora"},e.prototype.atX0SecondsPastTheMinute=function(){return"al %s secondo passato il minuto"},e.prototype.betweenX0AndX1=function(){return"tra le %s e le %s"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", tra il giorno %s e %s del mese"},e.prototype.commaEveryDay=function(){return", ogni giorno"},e.prototype.commaEveryX0Days=function(){return", ogni %s giorni"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", ogni %s giorni della settimana"},e.prototype.commaEveryX0Months=function(){return", ogni %s mesi"},e.prototype.commaEveryX0Years=function(){return", ogni %s anni"},e.prototype.commaOnDayX0OfTheMonth=function(){return", il giorno %s del mese"},e.prototype.commaOnlyInX0=function(){return", solo in %s"},e.prototype.commaOnlyOnX0=function(){return", solo il %s"},e.prototype.commaAndOnX0=function(){return", e il %s"},e.prototype.commaOnThe=function(){return", il "},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", l'ultimo giorno del mese"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", nell'ultima settimana del mese"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s giorni prima dell'ultimo giorno del mese"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", l'ultimo %s del mese"},e.prototype.commaOnTheX0OfTheMonth=function(){return", il %s del mese"},e.prototype.commaX0ThroughX1=function(){return", %s al %s"},e.prototype.commaAndX0ThroughX1=function(){return", e %s al %s"},e.prototype.everyHour=function(){return"ogni ora"},e.prototype.everyMinute=function(){return"ogni minuto"},e.prototype.everyMinuteBetweenX0AndX1=function(){return"Ogni minuto tra le %s e le %s"},e.prototype.everySecond=function(){return"ogni secondo"},e.prototype.everyX0Hours=function(){return"ogni %s ore"},e.prototype.everyX0Minutes=function(){return"ogni %s minuti"},e.prototype.everyX0Seconds=function(){return"ogni %s secondi"},e.prototype.fifth=function(){return"quinto"},e.prototype.first=function(){return"primo"},e.prototype.firstWeekday=function(){return"primo giorno della settimana"},e.prototype.fourth=function(){return"quarto"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"minuti %s al %s dopo l'ora"},e.prototype.second=function(){return"secondo"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"secondi %s al %s oltre il minuto"},e.prototype.spaceAnd=function(){return" e"},e.prototype.spaceX0OfTheMonth=function(){return" %s del mese"},e.prototype.lastDay=function(){return"l'ultimo giorno"},e.prototype.third=function(){return"terzo"},e.prototype.weekdayNearestDayX0=function(){return"giorno della settimana pi\xf9 vicino al %s"},e.prototype.commaStartingX0=function(){return", a partire %s"},e.prototype.daysOfTheWeek=function(){return["domenica","luned\xec","marted\xec","mercoled\xec","gioved\xec","venerd\xec","sabato"]},e.prototype.monthsOfTheYear=function(){return["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},e}();r.it=i,t().locales.it=new i})(),o})(),e.exports=n(r(5255))},761:(e,t,r)=>{var n;globalThis,n=e=>(()=>{"use strict";var t={34:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o);var e=n(34),t=n.n(e),r=o;Object.defineProperty(r,"__esModule",{value:!0}),r.pl=void 0;var i=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Wyst\u0105pi\u0142 b\u0142\u0105d podczas generowania opisu wyra\u017cenia cron. Sprawd\u017a sk\u0142adni\u0119 wyra\u017cenia cron."},e.prototype.at=function(){return"O"},e.prototype.atSpace=function(){return"O "},e.prototype.atX0=function(){return"o %s"},e.prototype.atX0MinutesPastTheHour=function(){return"w %s minucie"},e.prototype.atX0SecondsPastTheMinute=function(){return"w %s sekundzie"},e.prototype.betweenX0AndX1=function(){return"od %s do %s"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", od %s-ego do %s-ego dnia miesi\u0105ca"},e.prototype.commaEveryDay=function(){return", co dzie\u0144"},e.prototype.commaEveryX0Days=function(){return", co %s dni"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", co %s dni tygodnia"},e.prototype.commaEveryX0Months=function(){return", co %s miesi\u0119cy"},e.prototype.commaEveryX0Years=function(){return", co %s lat"},e.prototype.commaOnDayX0OfTheMonth=function(){return", %s-ego dnia miesi\u0105ca"},e.prototype.commaOnlyInX0=function(){return", tylko %s"},e.prototype.commaOnlyOnX0=function(){return", tylko %s"},e.prototype.commaAndOnX0=function(){return", i %s"},e.prototype.commaOnThe=function(){return", "},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", ostatni dzie\u0144 miesi\u0105ca"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", ostatni dzie\u0144 roboczy miesi\u0105ca"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s dni przed ostatnim dniem miesi\u0105ca"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", ostatni %s miesi\u0105ca"},e.prototype.commaOnTheX0OfTheMonth=function(){return", %s miesi\u0105ca"},e.prototype.commaX0ThroughX1=function(){return", od %s do %s"},e.prototype.commaAndX0ThroughX1=function(){return", i od %s do %s"},e.prototype.everyHour=function(){return"co godzin\u0119"},e.prototype.everyMinute=function(){return"co minut\u0119"},e.prototype.everyMinuteBetweenX0AndX1=function(){return"Co minut\u0119 od %s do %s"},e.prototype.everySecond=function(){return"co sekund\u0119"},e.prototype.everyX0Hours=function(){return"co %s godzin"},e.prototype.everyX0Minutes=function(){return"co %s minut"},e.prototype.everyX0Seconds=function(){return"co %s sekund"},e.prototype.fifth=function(){return"pi\u0105ty"},e.prototype.first=function(){return"pierwszy"},e.prototype.firstWeekday=function(){return"pierwszy dzie\u0144 roboczy"},e.prototype.fourth=function(){return"czwarty"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"minuty od %s do %s"},e.prototype.second=function(){return"drugi"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"sekundy od %s do %s"},e.prototype.spaceAnd=function(){return" i"},e.prototype.spaceX0OfTheMonth=function(){return" %s miesi\u0105ca"},e.prototype.lastDay=function(){return"ostatni dzie\u0144"},e.prototype.third=function(){return"trzeci"},e.prototype.weekdayNearestDayX0=function(){return"dzie\u0144 roboczy najbli\u017cszy %s-ego dnia"},e.prototype.commaStartingX0=function(){return", startowy %s"},e.prototype.daysOfTheWeek=function(){return["niedziela","poniedzia\u0142ek","wtorek","\u015broda","czwartek","pi\u0105tek","sobota"]},e.prototype.monthsOfTheYear=function(){return["stycze\u0144","luty","marzec","kwiecie\u0144","maj","czerwiec","lipiec","sierpie\u0144","wrzesie\u0144","pa\u017adziernik","listopad","grudzie\u0144"]},e}();r.pl=i,t().locales.pl=new i})(),o})(),e.exports=n(r(5255))},4512:(e,t,r)=>{var n;globalThis,n=e=>(()=>{"use strict";var t={34:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o);var e=n(34),t=n.n(e),r=o;Object.defineProperty(r,"__esModule",{value:!0}),r.pt_BR=void 0;var i=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Ocorreu um erro ao gerar a descri\xe7\xe3o da express\xe3o Cron."},e.prototype.at=function(){return"\xe0s"},e.prototype.atSpace=function(){return"\xe0s "},e.prototype.atX0=function(){return"\xc0s %s"},e.prototype.atX0MinutesPastTheHour=function(){return"aos %s minutos da hora"},e.prototype.atX0SecondsPastTheMinute=function(){return"aos %s segundos do minuto"},e.prototype.betweenX0AndX1=function(){return"entre %s e %s"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", entre os dias %s e %s do m\xeas"},e.prototype.commaEveryDay=function(){return", a cada dia"},e.prototype.commaEveryX0Days=function(){return", a cada %s dias"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", a cada %s dias de semana"},e.prototype.commaEveryX0Months=function(){return", a cada %s meses"},e.prototype.commaOnDayX0OfTheMonth=function(){return", no dia %s do m\xeas"},e.prototype.commaOnlyInX0=function(e){return e&&e.length>1&&"-"===e[1]?"somente %s":", somente em %s"},e.prototype.commaOnlyOnX0=function(e){return e&&e.length>1&&"-"===e[1]?", somente %s":", somente de %s"},e.prototype.commaAndOnX0=function(){return", e de %s"},e.prototype.commaOnThe=function(){return", na "},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", no \xfaltimo dia do m\xeas"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", no \xfaltimo dia da semana do m\xeas"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s dias antes do \xfaltimo dia do m\xeas"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", na \xfaltima %s do m\xeas"},e.prototype.commaOnTheX0OfTheMonth=function(){return", no %s do m\xeas"},e.prototype.commaX0ThroughX1=function(){return", de %s a %s"},e.prototype.commaAndX0ThroughX1=function(){return", e de %s a %s"},e.prototype.everyHour=function(){return"a cada hora"},e.prototype.everyMinute=function(){return"a cada minuto"},e.prototype.everyMinuteBetweenX0AndX1=function(){return"a cada minuto entre %s e %s"},e.prototype.everySecond=function(){return"a cada segundo"},e.prototype.everyX0Hours=function(){return"a cada %s horas"},e.prototype.everyX0Minutes=function(){return"a cada %s minutos"},e.prototype.everyX0Seconds=function(){return"a cada %s segundos"},e.prototype.fifth=function(){return"quinta"},e.prototype.first=function(){return"primeira"},e.prototype.firstWeekday=function(){return"primeiro dia da semana"},e.prototype.fourth=function(){return"quarta"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"do minuto %s at\xe9 %s de cada hora"},e.prototype.second=function(){return"segunda"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"No segundo %s at\xe9 %s de cada minuto"},e.prototype.spaceAnd=function(){return" e"},e.prototype.spaceX0OfTheMonth=function(){return" %s do m\xeas"},e.prototype.lastDay=function(){return"o \xfaltimo dia"},e.prototype.third=function(){return"terceira"},e.prototype.weekdayNearestDayX0=function(){return"dia da semana mais pr\xf3ximo do dia %s"},e.prototype.commaEveryX0Years=function(){return", a cada %s anos"},e.prototype.commaStartingX0=function(){return", iniciando %s"},e.prototype.daysOfTheWeek=function(){return["domingo","segunda-feira","ter\xe7a-feira","quarta-feira","quinta-feira","sexta-feira","s\xe1bado"]},e.prototype.monthsOfTheYear=function(){return["janeiro","fevereiro","mar\xe7o","abril","maio","junho","julho","agosto","setembro","outubro","novembro","dezembro"]},e}();r.pt_BR=i,t().locales.pt_BR=new i})(),o})(),e.exports=n(r(5255))},444:(e,t,r)=>{var n;globalThis,n=e=>(()=>{"use strict";var t={34:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o);var e=n(34),t=n.n(e),r=o;Object.defineProperty(r,"__esModule",{value:!0}),r.ru=void 0;var i=function(e,t){var r=Number(e);return void 0!==r?t[r%100>4&&r%100<20?2:[2,0,1,1,1,2][r%10<5?Math.abs(r)%10:5]]:t[2]},a=function(e,t){var r=Number(e);return void 0!==r?t[0===r?0:1===r||2===r||4===r?1:2]:t[1]},s=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return"\u043a\u0430\u0436\u0434\u0443\u044e \u043c\u0438\u043d\u0443\u0442\u0443"},e.prototype.everyHour=function(){return"\u043a\u0430\u0436\u0434\u044b\u0439 \u0447\u0430\u0441"},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"\u041f\u0440\u043e\u0438\u0437\u043e\u0448\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430 \u0432\u043e \u0432\u0440\u0435\u043c\u044f \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0438\u0438 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f \u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f. \u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0441 \u043a\u0440\u043e\u043d-\u0432\u044b\u0440\u0430\u0436\u0435\u043d\u0438\u044f."},e.prototype.atSpace=function(){return"\u0412 "},e.prototype.everyMinuteBetweenX0AndX1=function(){return"\u041a\u0430\u0436\u0434\u0443\u044e \u043c\u0438\u043d\u0443\u0442\u0443 \u0441 %s \u043f\u043e %s"},e.prototype.at=function(){return"\u0412"},e.prototype.spaceAnd=function(){return" \u0438"},e.prototype.everySecond=function(){return"\u043a\u0430\u0436\u0434\u0443\u044e \u0441\u0435\u043a\u0443\u043d\u0434\u0443"},e.prototype.everyX0Seconds=function(e){return i(e,["\u043a\u0430\u0436\u0434\u0443\u044e %s \u0441\u0435\u043a\u0443\u043d\u0434\u0443","\u043a\u0430\u0436\u0434\u044b\u0435 %s \u0441\u0435\u043a\u0443\u043d\u0434\u044b","\u043a\u0430\u0436\u0434\u044b\u0435 %s \u0441\u0435\u043a\u0443\u043d\u0434"])},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"\u0441\u0435\u043a\u0443\u043d\u0434\u044b \u0441 %s \u043f\u043e %s"},e.prototype.atX0SecondsPastTheMinute=function(e){return i(e,["\u0432 %s \u0441\u0435\u043a\u0443\u043d\u0434\u0443","\u0432 %s \u0441\u0435\u043a\u0443\u043d\u0434\u044b","\u0432 %s \u0441\u0435\u043a\u0443\u043d\u0434"])},e.prototype.everyX0Minutes=function(e){return i(e,["\u043a\u0430\u0436\u0434\u0443\u044e %s \u043c\u0438\u043d\u0443\u0442\u0443","\u043a\u0430\u0436\u0434\u044b\u0435 %s \u043c\u0438\u043d\u0443\u0442\u044b","\u043a\u0430\u0436\u0434\u044b\u0435 %s \u043c\u0438\u043d\u0443\u0442"])},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"\u043c\u0438\u043d\u0443\u0442\u044b \u0441 %s \u043f\u043e %s"},e.prototype.atX0MinutesPastTheHour=function(e){return i(e,["\u0432 %s \u043c\u0438\u043d\u0443\u0442\u0443","\u0432 %s \u043c\u0438\u043d\u0443\u0442\u044b","\u0432 %s \u043c\u0438\u043d\u0443\u0442"])},e.prototype.everyX0Hours=function(e){return i(e,["\u043a\u0430\u0436\u0434\u044b\u0439 %s \u0447\u0430\u0441","\u043a\u0430\u0436\u0434\u044b\u0435 %s \u0447\u0430\u0441\u0430","\u043a\u0430\u0436\u0434\u044b\u0435 %s \u0447\u0430\u0441\u043e\u0432"])},e.prototype.betweenX0AndX1=function(){return"\u0441 %s \u043f\u043e %s"},e.prototype.atX0=function(){return"\u0432 %s"},e.prototype.commaEveryDay=function(){return", \u043a\u0430\u0436\u0434\u044b\u0439 \u0434\u0435\u043d\u044c"},e.prototype.commaEveryX0DaysOfTheWeek=function(e){return i(e,["",", \u043a\u0430\u0436\u0434\u044b\u0435 %s \u0434\u043d\u044f \u043d\u0435\u0434\u0435\u043b\u0438",", \u043a\u0430\u0436\u0434\u044b\u0435 %s \u0434\u043d\u0435\u0439 \u043d\u0435\u0434\u0435\u043b\u0438"])},e.prototype.commaX0ThroughX1=function(e){return!e||"2"!=e[0]&&"3"!=e[0]?", \u0441 %s \u043f\u043e %s":", \u0441\u043e %s \u043f\u043e %s"},e.prototype.commaAndX0ThroughX1=function(e){return!e||"2"!=e[0]&&"3"!=e[0]?" \u0438 \u0441 %s \u043f\u043e %s":" \u0438 \u0441\u043e %s \u043f\u043e %s"},e.prototype.first=function(e){return a(e,["\u043f\u0435\u0440\u0432\u043e\u0435","\u043f\u0435\u0440\u0432\u044b\u0439","\u043f\u0435\u0440\u0432\u0443\u044e"])},e.prototype.second=function(e){return a(e,["\u0432\u0442\u043e\u0440\u043e\u0435","\u0432\u0442\u043e\u0440\u043e\u0439","\u0432\u0442\u043e\u0440\u0443\u044e"])},e.prototype.third=function(e){return a(e,["\u0442\u0440\u0435\u0442\u044c\u0435","\u0442\u0440\u0435\u0442\u0438\u0439","\u0442\u0440\u0435\u0442\u044c\u044e"])},e.prototype.fourth=function(e){return a(e,["\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043e\u0435","\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u044b\u0439","\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0443\u044e"])},e.prototype.fifth=function(e){return a(e,["\u043f\u044f\u0442\u043e\u0435","\u043f\u044f\u0442\u044b\u0439","\u043f\u044f\u0442\u0443\u044e"])},e.prototype.commaOnThe=function(e){return"2"===e?", \u0432\u043e ":", \u0432 "},e.prototype.spaceX0OfTheMonth=function(){return" %s \u043c\u0435\u0441\u044f\u0446\u0430"},e.prototype.lastDay=function(){return"\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0434\u0435\u043d\u044c"},e.prototype.commaOnTheLastX0OfTheMonth=function(e){return a(e,[", \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0435 %s \u043c\u0435\u0441\u044f\u0446\u0430",", \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 %s \u043c\u0435\u0441\u044f\u0446\u0430",", \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u044e\u044e %s \u043c\u0435\u0441\u044f\u0446\u0430"])},e.prototype.commaOnlyOnX0=function(e){return e&&"2"===e[0]?", \u0442\u043e\u043b\u044c\u043a\u043e \u0432\u043e %s":", \u0442\u043e\u043b\u044c\u043a\u043e \u0432 %s"},e.prototype.commaAndOnX0=function(){return", \u0438 %s"},e.prototype.commaEveryX0Months=function(e){return i(e,[""," \u043a\u0430\u0436\u0434\u044b\u0435 %s \u043c\u0435\u0441\u044f\u0446\u0430"," \u043a\u0430\u0436\u0434\u044b\u0435 %s \u043c\u0435\u0441\u044f\u0446\u0435\u0432"])},e.prototype.commaOnlyInMonthX0=function(){return", \u0442\u043e\u043b\u044c\u043a\u043e %s"},e.prototype.commaOnlyInX0=function(){return", \u0442\u043e\u043b\u044c\u043a\u043e \u0432 %s"},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u043c\u0435\u0441\u044f\u0446\u0430"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0431\u0443\u0434\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u043c\u0435\u0441\u044f\u0446\u0430"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(e){return i(e,[", \u0437\u0430 %s \u0434\u0435\u043d\u044c \u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u043c\u0435\u0441\u044f\u0446\u0430",", \u0437\u0430 %s \u0434\u043d\u044f \u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u043c\u0435\u0441\u044f\u0446\u0430",", \u0437\u0430 %s \u0434\u043d\u0435\u0439 \u0434\u043e \u043a\u043e\u043d\u0446\u0430 \u043c\u0435\u0441\u044f\u0446\u0430"])},e.prototype.firstWeekday=function(){return"\u043f\u0435\u0440\u0432\u044b\u0439 \u0431\u0443\u0434\u043d\u0438\u0439 \u0434\u0435\u043d\u044c"},e.prototype.weekdayNearestDayX0=function(){return"\u0431\u043b\u0438\u0436\u0430\u0439\u0448\u0438\u0439 \u0431\u0443\u0434\u043d\u0438\u0439 \u0434\u0435\u043d\u044c \u043a %s \u0447\u0438\u0441\u043b\u0443"},e.prototype.commaOnTheX0OfTheMonth=function(){return", \u0432 %s \u043c\u0435\u0441\u044f\u0446\u0430"},e.prototype.commaEveryX0Days=function(e){return i(e,[", \u043a\u0430\u0436\u0434\u044b\u0439 %s \u0434\u0435\u043d\u044c",", \u043a\u0430\u0436\u0434\u044b\u0435 %s \u0434\u043d\u044f",", \u043a\u0430\u0436\u0434\u044b\u0435 %s \u0434\u043d\u0435\u0439"])},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(e){return e&&"2"==e.substring(0,e.indexOf("-"))?", \u0441\u043e %s \u043f\u043e %s \u0447\u0438\u0441\u043b\u043e \u043c\u0435\u0441\u044f\u0446\u0430":", \u0441 %s \u043f\u043e %s \u0447\u0438\u0441\u043b\u043e \u043c\u0435\u0441\u044f\u0446\u0430"},e.prototype.commaOnDayX0OfTheMonth=function(e){return e&&"2"==e[0]?", \u0432\u043e %s \u0447\u0438\u0441\u043b\u043e \u043c\u0435\u0441\u044f\u0446\u0430":", \u0432 %s \u0447\u0438\u0441\u043b\u043e \u043c\u0435\u0441\u044f\u0446\u0430"},e.prototype.commaEveryX0Years=function(e){return i(e,[", \u043a\u0430\u0436\u0434\u044b\u0439 %s \u0433\u043e\u0434",", \u043a\u0430\u0436\u0434\u044b\u0435 %s \u0433\u043e\u0434\u0430",", \u043a\u0430\u0436\u0434\u044b\u0435 %s \u043b\u0435\u0442"])},e.prototype.commaStartingX0=function(){return", \u043d\u0430\u0447\u0430\u043b\u043e %s"},e.prototype.daysOfTheWeek=function(){return["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0430","\u0441\u0443\u0431\u0431\u043e\u0442\u0430"]},e.prototype.daysOfTheWeekInCase=function(e){return void 0===e&&(e=2),1==e?["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u044f","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a\u0430","\u0432\u0442\u043e\u0440\u043d\u0438\u043a\u0430","\u0441\u0440\u0435\u0434\u044b","\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430","\u043f\u044f\u0442\u043d\u0438\u0446\u044b","\u0441\u0443\u0431\u0431\u043e\u0442\u044b"]:["\u0432\u043e\u0441\u043a\u0440\u0435\u0441\u0435\u043d\u044c\u0435","\u043f\u043e\u043d\u0435\u0434\u0435\u043b\u044c\u043d\u0438\u043a","\u0432\u0442\u043e\u0440\u043d\u0438\u043a","\u0441\u0440\u0435\u0434\u0443","\u0447\u0435\u0442\u0432\u0435\u0440\u0433","\u043f\u044f\u0442\u043d\u0438\u0446\u0443","\u0441\u0443\u0431\u0431\u043e\u0442\u0443"]},e.prototype.monthsOfTheYear=function(){return["\u044f\u043d\u0432\u0430\u0440\u044c","\u0444\u0435\u0432\u0440\u0430\u043b\u044c","\u043c\u0430\u0440\u0442","\u0430\u043f\u0440\u0435\u043b\u044c","\u043c\u0430\u0439","\u0438\u044e\u043d\u044c","\u0438\u044e\u043b\u044c","\u0430\u0432\u0433\u0443\u0441\u0442","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044c","\u043e\u043a\u0442\u044f\u0431\u0440\u044c","\u043d\u043e\u044f\u0431\u0440\u044c","\u0434\u0435\u043a\u0430\u0431\u0440\u044c"]},e.prototype.monthsOfTheYearInCase=function(e){return 1==e?["\u044f\u043d\u0432\u0430\u0440\u044f","\u0444\u0435\u0432\u0440\u0430\u043b\u044f","\u043c\u0430\u0440\u0442\u0430","\u0430\u043f\u0440\u0435\u043b\u044f","\u043c\u0430\u044f","\u0438\u044e\u043d\u044f","\u0438\u044e\u043b\u044f","\u0430\u0432\u0433\u0443\u0441\u0442\u0430","\u0441\u0435\u043d\u0442\u044f\u0431\u0440\u044f","\u043e\u043a\u0442\u044f\u0431\u0440\u044f","\u043d\u043e\u044f\u0431\u0440\u044f","\u0434\u0435\u043a\u0430\u0431\u0440\u044f"]:this.monthsOfTheYear()},e}();r.ru=s,t().locales.ru=new s})(),o})(),e.exports=n(r(5255))},8173:(e,t,r)=>{var n;globalThis,n=e=>(()=>{"use strict";var t={34:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o);var e=n(34),t=n.n(e),r=o;Object.defineProperty(r,"__esModule",{value:!0}),r.uk=void 0;var i=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.everyMinute=function(){return"\u0449\u043e\u0445\u0432\u0438\u043b\u0438\u043d\u0438"},e.prototype.everyHour=function(){return"\u0449\u043e\u0433\u043e\u0434\u0438\u043d\u0438"},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"\u0412\u0406\u0434\u0431\u0443\u043b\u0430\u0441\u044f \u043f\u043e\u043c\u0438\u043b\u043a\u0430 \u043f\u0456\u0434\u0447\u0430\u0441 \u0433\u0435\u043d\u0435\u0440\u0430\u0446\u0456\u0457 \u043e\u043f\u0438\u0441\u0443. \u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0430 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0456\u0441\u0442\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u043d\u043d\u044f cron \u0432\u0438\u0440\u0430\u0437\u0443."},e.prototype.atSpace=function(){return"\u041e "},e.prototype.everyMinuteBetweenX0AndX1=function(){return"\u0429\u043e\u0445\u0432\u0438\u043b\u0438\u043d\u0438 \u043c\u0456\u0436 %s \u0442\u0430 %s"},e.prototype.at=function(){return"\u041e"},e.prototype.spaceAnd=function(){return" \u0442\u0430"},e.prototype.everySecond=function(){return"\u0429\u043e\u0441\u0435\u043a\u0443\u043d\u0434\u0438"},e.prototype.everyX0Seconds=function(){return"\u043a\u043e\u0436\u043d\u0456 %s \u0441\u0435\u043a\u0443\u043d\u0434"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"\u0437 %s \u043f\u043e %s \u0441\u0435\u043a\u0443\u043d\u0434\u0443"},e.prototype.atX0SecondsPastTheMinute=function(){return"\u043e %s \u0441\u0435\u043a\u0443\u043d\u0434\u0456"},e.prototype.everyX0Minutes=function(){return"\u043a\u043e\u0436\u043d\u0456 %s \u0445\u0432\u0438\u043b\u0438\u043d"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"\u0437 %s \u043f\u043e %s \u0445\u0432\u0438\u043b\u0438\u043d\u0443"},e.prototype.atX0MinutesPastTheHour=function(){return"\u043e %s \u0445\u0432\u0438\u043b\u0438\u043d\u0456"},e.prototype.everyX0Hours=function(){return"\u043a\u043e\u0436\u043d\u0456 %s \u0433\u043e\u0434\u0438\u043d"},e.prototype.betweenX0AndX1=function(){return"\u043c\u0456\u0436 %s \u0442\u0430 %s"},e.prototype.atX0=function(){return"\u043e %s"},e.prototype.commaEveryDay=function(){return", \u0449\u043e\u0434\u0435\u043d\u043d\u043e"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", \u043a\u043e\u0436\u0435\u043d %s \u0434\u0435\u043d\u044c \u0442\u0438\u0436\u043d\u044f"},e.prototype.commaX0ThroughX1=function(){return", %s \u043f\u043e %s"},e.prototype.commaAndX0ThroughX1=function(){return", \u0442\u0430 %s \u043f\u043e %s"},e.prototype.first=function(){return"\u043f\u0435\u0440\u0448\u0438\u0439"},e.prototype.second=function(){return"\u0434\u0440\u0443\u0433\u0438\u0439"},e.prototype.third=function(){return"\u0442\u0440\u0435\u0442\u0456\u0439"},e.prototype.fourth=function(){return"\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u0438\u0439"},e.prototype.fifth=function(){return"\u043f'\u044f\u0442\u0438\u0439"},e.prototype.commaOnThe=function(){return", \u0432 "},e.prototype.spaceX0OfTheMonth=function(){return" %s \u043c\u0456\u0441\u044f\u0446\u044f"},e.prototype.lastDay=function(){return"\u043e\u0441\u0442\u0430\u043d\u043d\u0456\u0439 \u0434\u0435\u043d\u044c"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", \u0432 \u043e\u0441\u0442\u0430\u043d\u043d\u0456\u0439 %s \u043c\u0456\u0441\u044f\u0446\u044f"},e.prototype.commaOnlyOnX0=function(){return", \u0442\u0456\u043b\u044c\u043a\u0438 \u0432 %s"},e.prototype.commaAndOnX0=function(){return", \u0456 \u0432 %s"},e.prototype.commaEveryX0Months=function(){return", \u043a\u043e\u0436\u0435\u043d %s \u043c\u0456\u0441\u044f\u0446\u044c"},e.prototype.commaOnlyInX0=function(){return", \u0442\u0456\u043b\u044c\u043a\u0438 \u0432 %s"},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", \u0432 \u043e\u0441\u0442\u0430\u043d\u043d\u0456\u0439 \u0434\u0435\u043d\u044c \u043c\u0456\u0441\u044f\u0446\u044f"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", \u0432 \u043e\u0441\u0442\u0430\u043d\u043d\u0456\u0439 \u0431\u0443\u0434\u0435\u043d\u044c \u043c\u0456\u0441\u044f\u0446\u044f"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s \u0434\u043d\u0456\u0432 \u0434\u043e \u043e\u0441\u0442\u0430\u043d\u043d\u044c\u043e\u0433\u043e \u0434\u043d\u044f \u043c\u0456\u0441\u044f\u0446\u044f"},e.prototype.firstWeekday=function(){return"\u043f\u0435\u0440\u0448\u0438\u0439 \u0431\u0443\u0434\u0435\u043d\u044c"},e.prototype.weekdayNearestDayX0=function(){return"\u0431\u0443\u0434\u0435\u043d\u044c \u043d\u0430\u0439\u0431\u043b\u0438\u0436\u0447\u0438\u0439 \u0434\u043e %s \u0434\u043d\u044f"},e.prototype.commaOnTheX0OfTheMonth=function(){return", \u0432 %s \u043c\u0456\u0441\u044f\u0446\u044f"},e.prototype.commaEveryX0Days=function(){return", \u043a\u043e\u0436\u0435\u043d %s \u0434\u0435\u043d\u044c"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", \u043c\u0456\u0436 %s \u0442\u0430 %s \u0434\u043d\u044f\u043c\u0438 \u043c\u0456\u0441\u044f\u0446\u044f"},e.prototype.commaOnDayX0OfTheMonth=function(){return", \u043d\u0430 %s \u0434\u0435\u043d\u044c \u043c\u0456\u0441\u044f\u0446\u044f"},e.prototype.commaEveryX0Years=function(){return", \u043a\u043e\u0436\u043d\u0456 %s \u0440\u043e\u043a\u0438"},e.prototype.commaStartingX0=function(){return", \u043f\u043e\u0447\u0430\u0442\u043e\u043a %s"},e.prototype.daysOfTheWeek=function(){return["\u043d\u0435\u0434\u0456\u043b\u044f","\u043f\u043e\u043d\u0435\u0434\u0456\u043b\u043e\u043a","\u0432\u0456\u0432\u0442\u043e\u0440\u043e\u043a","\u0441\u0435\u0440\u0435\u0434\u0430","\u0447\u0435\u0442\u0432\u0435\u0440","\u043f'\u044f\u0442\u043d\u0438\u0446\u044f","\u0441\u0443\u0431\u043e\u0442\u0430"]},e.prototype.monthsOfTheYear=function(){return["\u0441\u0456\u0447\u0435\u043d\u044c","\u043b\u044e\u0442\u0438\u0439","\u0431\u0435\u0440\u0435\u0437\u0435\u043d\u044c","\u043a\u0432\u0456\u0442\u0435\u043d\u044c","\u0442\u0440\u0430\u0432\u0435\u043d\u044c","\u0447\u0435\u0440\u0432\u0435\u043d\u044c","\u043b\u0438\u043f\u0435\u043d\u044c","\u0441\u0435\u0440\u043f\u0435\u043d\u044c","\u0432\u0435\u0440\u0435\u0441\u0435\u043d\u044c","\u0436\u043e\u0432\u0442\u0435\u043d\u044c","\u043b\u0438\u0441\u0442\u043e\u043f\u0430\u0434","\u0433\u0440\u0443\u0434\u0435\u043d\u044c"]},e}();r.uk=i,t().locales.uk=new i})(),o})(),e.exports=n(r(5255))},835:(e,t,r)=>{var n;globalThis,n=e=>(()=>{"use strict";var t={34:t=>{t.exports=e}},r={};function n(e){var o=r[e];if(void 0!==o)return o.exports;var i=r[e]={exports:{}};return t[e](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var o={};return(()=>{n.r(o);var e=n(34),t=n.n(e),r=o;Object.defineProperty(r,"__esModule",{value:!0}),r.zh_CN=void 0;var i=function(){function e(){}return e.prototype.setPeriodBeforeTime=function(){return!0},e.prototype.pm=function(){return"\u4e0b\u5348"},e.prototype.am=function(){return"\u4e0a\u5348"},e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return", \u4ece%s\u5e74\u81f3%s\u5e74"},e.prototype.use24HourTimeFormatByDefault=function(){return!1},e.prototype.everyMinute=function(){return"\u6bcf\u5206\u949f"},e.prototype.everyHour=function(){return"\u6bcf\u5c0f\u65f6"},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"\u751f\u6210\u8868\u8fbe\u5f0f\u63cf\u8ff0\u65f6\u53d1\u751f\u4e86\u9519\u8bef\uff0c\u8bf7\u68c0\u67e5cron\u8868\u8fbe\u5f0f\u8bed\u6cd5\u3002"},e.prototype.atSpace=function(){return"\u5728"},e.prototype.everyMinuteBetweenX0AndX1=function(){return"\u5728 %s \u81f3 %s \u4e4b\u95f4\u7684\u6bcf\u5206\u949f"},e.prototype.at=function(){return"\u5728"},e.prototype.spaceAnd=function(){return" \u548c"},e.prototype.everySecond=function(){return"\u6bcf\u79d2"},e.prototype.everyX0Seconds=function(){return"\u6bcf\u9694 %s \u79d2"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"\u5728\u6bcf\u5206\u949f\u7684\u7b2c %s \u5230 %s \u79d2"},e.prototype.atX0SecondsPastTheMinute=function(){return"\u5728\u6bcf\u5206\u949f\u7684\u7b2c %s \u79d2"},e.prototype.everyX0Minutes=function(){return"\u6bcf\u9694 %s \u5206\u949f"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"\u5728\u6bcf\u5c0f\u65f6\u7684\u7b2c %s \u5230 %s \u5206\u949f"},e.prototype.atX0MinutesPastTheHour=function(){return"\u5728\u6bcf\u5c0f\u65f6\u7684\u7b2c %s \u5206\u949f"},e.prototype.everyX0Hours=function(){return"\u6bcf\u9694 %s \u5c0f\u65f6"},e.prototype.betweenX0AndX1=function(){return"\u5728 %s \u548c %s \u4e4b\u95f4"},e.prototype.atX0=function(){return"\u5728%s"},e.prototype.commaEveryDay=function(){return", \u6bcf\u5929"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", \u6bcf\u5468\u7684\u6bcf %s \u5929"},e.prototype.commaX0ThroughX1=function(){return", %s\u81f3%s"},e.prototype.commaAndX0ThroughX1=function(){return", \u548c%s\u81f3%s"},e.prototype.first=function(){return"\u7b2c\u4e00\u4e2a"},e.prototype.second=function(){return"\u7b2c\u4e8c\u4e2a"},e.prototype.third=function(){return"\u7b2c\u4e09\u4e2a"},e.prototype.fourth=function(){return"\u7b2c\u56db\u4e2a"},e.prototype.fifth=function(){return"\u7b2c\u4e94\u4e2a"},e.prototype.commaOnThe=function(){return", \u9650\u6bcf\u6708\u7684"},e.prototype.spaceX0OfTheMonth=function(){return"%s"},e.prototype.lastDay=function(){return"\u672c\u6708\u6700\u540e\u4e00\u5929"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", \u9650\u6bcf\u6708\u7684\u6700\u540e\u4e00\u4e2a%s"},e.prototype.commaOnlyOnX0=function(){return", \u4ec5%s"},e.prototype.commaAndOnX0=function(){return", \u6216\u8005\u4e3a%s"},e.prototype.commaEveryX0Months=function(){return", \u6bcf\u9694 %s \u4e2a\u6708"},e.prototype.commaOnlyInX0=function(){return", \u4ec5\u9650%s"},e.prototype.commaOnlyInMonthX0=function(){return", \u4ec5\u4e8e%s\u4efd"},e.prototype.commaOnlyInYearX0=function(){return", \u4ec5\u4e8e %s \u5e74"},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", \u9650\u6bcf\u6708\u7684\u6700\u540e\u4e00\u5929"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", \u9650\u6bcf\u6708\u7684\u6700\u540e\u4e00\u4e2a\u5de5\u4f5c\u65e5"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", \u9650\u6bcf\u6708\u6700\u540e%s\u5929"},e.prototype.firstWeekday=function(){return"\u7b2c\u4e00\u4e2a\u5de5\u4f5c\u65e5"},e.prototype.weekdayNearestDayX0=function(){return"\u6700\u63a5\u8fd1 %s \u53f7\u7684\u5de5\u4f5c\u65e5"},e.prototype.commaOnTheX0OfTheMonth=function(){return", \u9650\u6bcf\u6708\u7684%s"},e.prototype.commaEveryX0Days=function(){return", \u6bcf\u9694 %s \u5929"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", \u9650\u6bcf\u6708\u7684 %s \u81f3 %s \u4e4b\u95f4"},e.prototype.commaOnDayX0OfTheMonth=function(){return", \u9650\u6bcf\u6708%s"},e.prototype.commaEveryX0Years=function(){return", \u6bcf\u9694 %s \u5e74"},e.prototype.commaStartingX0=function(){return", %s\u5f00\u59cb"},e.prototype.dayX0=function(){return" %s \u53f7"},e.prototype.daysOfTheWeek=function(){return["\u661f\u671f\u65e5","\u661f\u671f\u4e00","\u661f\u671f\u4e8c","\u661f\u671f\u4e09","\u661f\u671f\u56db","\u661f\u671f\u4e94","\u661f\u671f\u516d"]},e.prototype.monthsOfTheYear=function(){return["\u4e00\u6708","\u4e8c\u6708","\u4e09\u6708","\u56db\u6708","\u4e94\u6708","\u516d\u6708","\u4e03\u6708","\u516b\u6708","\u4e5d\u6708","\u5341\u6708","\u5341\u4e00\u6708","\u5341\u4e8c\u6708"]},e}();r.zh_CN=i,t().locales.zh_CN=new i})(),o})(),e.exports=n(r(5255))},5406:function(e){e.exports=function(){"use strict";function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var r=1;re.length)&&(t=e.length);for(var r=0,n=new Array(t);r
',fe=Number.isNaN||g.isNaN;function me(e){return"number"===typeof e&&!fe(e)}var ge=function(e){return e>0&&e<1/0};function ye(e){return"undefined"===typeof e}function ve(e){return"object"===o(e)&&null!==e}var be=Object.prototype.hasOwnProperty;function we(e){if(!ve(e))return!1;try{var t=e.constructor,r=t.prototype;return t&&r&&be.call(r,"isPrototypeOf")}catch(n){return!1}}function _e(e){return"function"===typeof e}var xe=Array.prototype.slice;function ke(e){return Array.from?Array.from(e):xe.call(e)}function Se(e,t){return e&&_e(t)&&(Array.isArray(e)||me(e.length)?ke(e).forEach((function(r,n){t.call(e,r,n,e)})):ve(e)&&Object.keys(e).forEach((function(r){t.call(e,e[r],r,e)}))),e}var Ce=Object.assign||function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n0&&r.forEach((function(t){ve(t)&&Object.keys(t).forEach((function(r){e[r]=t[r]}))})),e},Ee=/\.\d*(?:0|9){12}\d*$/;function De(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e11;return Ee.test(e)?Math.round(e*t)/t:e}var Ae=/^width|height|left|top|marginLeft|marginTop$/;function Te(e,t){var r=e.style;Se(t,(function(e,t){Ae.test(t)&&me(e)&&(e="".concat(e,"px")),r[t]=e}))}function Me(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function Oe(e,t){if(t)if(me(e.length))Se(e,(function(e){Oe(e,t)}));else if(e.classList)e.classList.add(t);else{var r=e.className.trim();r?r.indexOf(t)<0&&(e.className="".concat(r," ").concat(t)):e.className=t}}function Re(e,t){t&&(me(e.length)?Se(e,(function(e){Re(e,t)})):e.classList?e.classList.remove(t):e.className.indexOf(t)>=0&&(e.className=e.className.replace(t,"")))}function Le(e,t,r){t&&(me(e.length)?Se(e,(function(e){Le(e,t,r)})):r?Oe(e,t):Re(e,t))}var Ne=/([a-z\d])([A-Z])/g;function je(e){return e.replace(Ne,"$1-$2").toLowerCase()}function Ie(e,t){return ve(e[t])?e[t]:e.dataset?e.dataset[t]:e.getAttribute("data-".concat(je(t)))}function Fe(e,t,r){ve(r)?e[t]=r:e.dataset?e.dataset[t]=r:e.setAttribute("data-".concat(je(t)),r)}function $e(e,t){if(ve(e[t]))try{delete e[t]}catch(r){e[t]=void 0}else if(e.dataset)try{delete e.dataset[t]}catch(r){e.dataset[t]=void 0}else e.removeAttribute("data-".concat(je(t)))}var Pe=/\s\s*/,Be=function(){var e=!1;if(m){var t=!1,r=function(){},n=Object.defineProperty({},"once",{get:function(){return e=!0,t},set:function(e){t=e}});g.addEventListener("test",r,n),g.removeEventListener("test",r,n)}return e}();function ze(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r;t.trim().split(Pe).forEach((function(t){if(!Be){var i=e.listeners;i&&i[t]&&i[t][r]&&(o=i[t][r],delete i[t][r],0===Object.keys(i[t]).length&&delete i[t],0===Object.keys(i).length&&delete e.listeners)}e.removeEventListener(t,o,n)}))}function We(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r;t.trim().split(Pe).forEach((function(t){if(n.once&&!Be){var i=e.listeners,a=void 0===i?{}:i;o=function(){delete a[t][r],e.removeEventListener(t,o,n);for(var i=arguments.length,s=new Array(i),l=0;lMath.abs(n)&&(n=l)}))})),n}function Je(e,r){var n=e.pageX,o=e.pageY,i={endX:n,endY:o};return r?i:t({startX:n,startY:o},i)}function Qe(e){var t=0,r=0,n=0;return Se(e,(function(e){var o=e.startX,i=e.startY;t+=o,r+=i,n+=1})),{pageX:t/=n,pageY:r/=n}}function Ze(e){var t=e.aspectRatio,r=e.height,n=e.width,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"contain",i=ge(n),a=ge(r);if(i&&a){var s=r*t;"contain"===o&&s>n||"cover"===o&&s90?{width:l,height:s}:{width:s,height:l}}function tt(e,t,r,n){var o=t.aspectRatio,i=t.naturalWidth,a=t.naturalHeight,s=t.rotate,l=void 0===s?0:s,u=t.scaleX,d=void 0===u?1:u,p=t.scaleY,h=void 0===p?1:p,f=r.aspectRatio,m=r.naturalWidth,g=r.naturalHeight,y=n.fillColor,v=void 0===y?"transparent":y,b=n.imageSmoothingEnabled,w=void 0===b||b,_=n.imageSmoothingQuality,x=void 0===_?"low":_,k=n.maxWidth,S=void 0===k?1/0:k,C=n.maxHeight,E=void 0===C?1/0:C,D=n.minWidth,A=void 0===D?0:D,T=n.minHeight,M=void 0===T?0:T,O=document.createElement("canvas"),R=O.getContext("2d"),L=Ze({aspectRatio:f,width:S,height:E}),N=Ze({aspectRatio:f,width:A,height:M},"cover"),j=Math.min(L.width,Math.max(N.width,m)),I=Math.min(L.height,Math.max(N.height,g)),F=Ze({aspectRatio:o,width:S,height:E}),$=Ze({aspectRatio:o,width:A,height:M},"cover"),P=Math.min(F.width,Math.max($.width,i)),B=Math.min(F.height,Math.max($.height,a)),z=[-P/2,-B/2,P,B];return O.width=De(j),O.height=De(I),R.fillStyle=v,R.fillRect(0,0,j,I),R.save(),R.translate(j/2,I/2),R.rotate(l*Math.PI/180),R.scale(d,h),R.imageSmoothingEnabled=w,R.imageSmoothingQuality=x,R.drawImage.apply(R,[e].concat(c(z.map((function(e){return Math.floor(De(e))}))))),R.restore(),O}var rt=String.fromCharCode;function nt(e,t,r){var n="";r+=t;for(var o=t;o0;)r.push(rt.apply(null,ke(o.subarray(0,n)))),o=o.subarray(n);return"data:".concat(t,";base64,").concat(btoa(r.join("")))}function st(e){var t,r=new DataView(e);try{var n,o,i;if(255===r.getUint8(0)&&216===r.getUint8(1))for(var a=r.byteLength,s=2;s+1=8&&(i=l+u)}}}if(i){var d,p,h=r.getUint16(i,n);for(p=0;p=0?o:ue),height:Math.max(r.offsetHeight,i>=0?i:de)};this.containerData=a,Te(n,{width:a.width,height:a.height}),Oe(e,N),Re(n,N)},initCanvas:function(){var e=this.containerData,t=this.imageData,r=this.options.viewMode,n=Math.abs(t.rotate)%180===90,o=n?t.naturalHeight:t.naturalWidth,i=n?t.naturalWidth:t.naturalHeight,a=o/i,s=e.width,l=e.height;e.height*a>e.width?3===r?s=e.height*a:l=e.width/a:3===r?l=e.width/a:s=e.height*a;var c={aspectRatio:a,naturalWidth:o,naturalHeight:i,width:s,height:l};this.canvasData=c,this.limited=1===r||2===r,this.limitCanvas(!0,!0),c.width=Math.min(Math.max(c.width,c.minWidth),c.maxWidth),c.height=Math.min(Math.max(c.height,c.minHeight),c.maxHeight),c.left=(e.width-c.width)/2,c.top=(e.height-c.height)/2,c.oldLeft=c.left,c.oldTop=c.top,this.initialCanvasData=Ce({},c)},limitCanvas:function(e,t){var r=this.options,n=this.containerData,o=this.canvasData,i=this.cropBoxData,a=r.viewMode,s=o.aspectRatio,l=this.cropped&&i;if(e){var c=Number(r.minCanvasWidth)||0,u=Number(r.minCanvasHeight)||0;a>1?(c=Math.max(c,n.width),u=Math.max(u,n.height),3===a&&(u*s>c?c=u*s:u=c/s)):a>0&&(c?c=Math.max(c,l?i.width:0):u?u=Math.max(u,l?i.height:0):l&&(c=i.width,(u=i.height)*s>c?c=u*s:u=c/s));var d=Ze({aspectRatio:s,width:c,height:u});c=d.width,u=d.height,o.minWidth=c,o.minHeight=u,o.maxWidth=1/0,o.maxHeight=1/0}if(t)if(a>(l?0:1)){var p=n.width-o.width,h=n.height-o.height;o.minLeft=Math.min(0,p),o.minTop=Math.min(0,h),o.maxLeft=Math.max(0,p),o.maxTop=Math.max(0,h),l&&this.limited&&(o.minLeft=Math.min(i.left,i.left+(i.width-o.width)),o.minTop=Math.min(i.top,i.top+(i.height-o.height)),o.maxLeft=i.left,o.maxTop=i.top,2===a&&(o.width>=n.width&&(o.minLeft=Math.min(0,p),o.maxLeft=Math.max(0,p)),o.height>=n.height&&(o.minTop=Math.min(0,h),o.maxTop=Math.max(0,h))))}else o.minLeft=-o.width,o.minTop=-o.height,o.maxLeft=n.width,o.maxTop=n.height},renderCanvas:function(e,t){var r=this.canvasData,n=this.imageData;if(t){var o=et({width:n.naturalWidth*Math.abs(n.scaleX||1),height:n.naturalHeight*Math.abs(n.scaleY||1),degree:n.rotate||0}),i=o.width,a=o.height,s=r.width*(i/r.naturalWidth),l=r.height*(a/r.naturalHeight);r.left-=(s-r.width)/2,r.top-=(l-r.height)/2,r.width=s,r.height=l,r.aspectRatio=i/a,r.naturalWidth=i,r.naturalHeight=a,this.limitCanvas(!0,!1)}(r.width>r.maxWidth||r.widthr.maxHeight||r.heightt.width?o.height=o.width/r:o.width=o.height*r),this.cropBoxData=o,this.limitCropBox(!0,!0),o.width=Math.min(Math.max(o.width,o.minWidth),o.maxWidth),o.height=Math.min(Math.max(o.height,o.minHeight),o.maxHeight),o.width=Math.max(o.minWidth,o.width*n),o.height=Math.max(o.minHeight,o.height*n),o.left=t.left+(t.width-o.width)/2,o.top=t.top+(t.height-o.height)/2,o.oldLeft=o.left,o.oldTop=o.top,this.initialCropBoxData=Ce({},o)},limitCropBox:function(e,t){var r=this.options,n=this.containerData,o=this.canvasData,i=this.cropBoxData,a=this.limited,s=r.aspectRatio;if(e){var l=Number(r.minCropBoxWidth)||0,c=Number(r.minCropBoxHeight)||0,u=a?Math.min(n.width,o.width,o.width+o.left,n.width-o.left):n.width,d=a?Math.min(n.height,o.height,o.height+o.top,n.height-o.top):n.height;l=Math.min(l,n.width),c=Math.min(c,n.height),s&&(l&&c?c*s>l?c=l/s:l=c*s:l?c=l/s:c&&(l=c*s),d*s>u?d=u/s:u=d*s),i.minWidth=Math.min(l,u),i.minHeight=Math.min(c,d),i.maxWidth=u,i.maxHeight=d}t&&(a?(i.minLeft=Math.max(0,o.left),i.minTop=Math.max(0,o.top),i.maxLeft=Math.min(n.width,o.left+o.width)-i.width,i.maxTop=Math.min(n.height,o.top+o.height)-i.height):(i.minLeft=0,i.minTop=0,i.maxLeft=n.width-i.width,i.maxTop=n.height-i.height))},renderCropBox:function(){var e=this.options,t=this.containerData,r=this.cropBoxData;(r.width>r.maxWidth||r.widthr.maxHeight||r.height=t.width&&r.height>=t.height?x:w),Te(this.cropBox,Ce({width:r.width,height:r.height},Ke({translateX:r.left,translateY:r.top}))),this.cropped&&this.limited&&this.limitCanvas(!0,!0),this.disabled||this.output()},output:function(){this.preview(),He(this.element,V,this.getData())}},ut={initPreview:function(){var e=this.element,t=this.crossOrigin,r=this.options.preview,n=t?this.crossOriginUrl:this.url,o=e.alt||"The image to preview",i=document.createElement("img");if(t&&(i.crossOrigin=t),i.src=n,i.alt=o,this.viewBox.appendChild(i),this.viewBoxImage=i,r){var a=r;"string"===typeof r?a=e.ownerDocument.querySelectorAll(r):r.querySelector&&(a=[r]),this.previews=a,Se(a,(function(e){var r=document.createElement("img");Fe(e,B,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML}),t&&(r.crossOrigin=t),r.src=n,r.alt=o,r.style.cssText='display:block;width:100%;height:auto;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;image-orientation:0deg!important;"',e.innerHTML="",e.appendChild(r)}))}},resetPreview:function(){Se(this.previews,(function(e){var t=Ie(e,B);Te(e,{width:t.width,height:t.height}),e.innerHTML=t.html,$e(e,B)}))},preview:function(){var e=this.imageData,t=this.canvasData,r=this.cropBoxData,n=r.width,o=r.height,i=e.width,a=e.height,s=r.left-t.left-e.left,l=r.top-t.top-e.top;this.cropped&&!this.disabled&&(Te(this.viewBoxImage,Ce({width:i,height:a},Ke(Ce({translateX:-s,translateY:-l},e)))),Se(this.previews,(function(t){var r=Ie(t,B),c=r.width,u=r.height,d=c,p=u,h=1;n&&(p=o*(h=c/n)),o&&p>u&&(d=n*(h=u/o),p=u),Te(t,{width:d,height:p}),Te(t.getElementsByTagName("img")[0],Ce({width:i*h,height:a*h},Ke(Ce({translateX:-s*h,translateY:-l*h},e))))})))}},dt={bind:function(){var e=this.element,t=this.options,r=this.cropper;_e(t.cropstart)&&We(e,X,t.cropstart),_e(t.cropmove)&&We(e,G,t.cropmove),_e(t.cropend)&&We(e,U,t.cropend),_e(t.crop)&&We(e,V,t.crop),_e(t.zoom)&&We(e,oe,t.zoom),We(r,Q,this.onCropStart=this.cropStart.bind(this)),t.zoomable&&t.zoomOnWheel&&We(r,ne,this.onWheel=this.wheel.bind(this),{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&We(r,q,this.onDblclick=this.dblclick.bind(this)),We(e.ownerDocument,Z,this.onCropMove=this.cropMove.bind(this)),We(e.ownerDocument,ee,this.onCropEnd=this.cropEnd.bind(this)),t.responsive&&We(window,re,this.onResize=this.resize.bind(this))},unbind:function(){var e=this.element,t=this.options,r=this.cropper;_e(t.cropstart)&&ze(e,X,t.cropstart),_e(t.cropmove)&&ze(e,G,t.cropmove),_e(t.cropend)&&ze(e,U,t.cropend),_e(t.crop)&&ze(e,V,t.crop),_e(t.zoom)&&ze(e,oe,t.zoom),ze(r,Q,this.onCropStart),t.zoomable&&t.zoomOnWheel&&ze(r,ne,this.onWheel,{passive:!1,capture:!0}),t.toggleDragModeOnDblclick&&ze(r,q,this.onDblclick),ze(e.ownerDocument,Z,this.onCropMove),ze(e.ownerDocument,ee,this.onCropEnd),t.responsive&&ze(window,re,this.onResize)}},pt={resize:function(){if(!this.disabled){var e,t,r=this.options,n=this.container,o=this.containerData,i=n.offsetWidth/o.width,a=n.offsetHeight/o.height,s=Math.abs(i-1)>Math.abs(a-1)?i:a;1!==s&&(r.restore&&(e=this.getCanvasData(),t=this.getCropBoxData()),this.render(),r.restore&&(this.setCanvasData(Se(e,(function(t,r){e[r]=t*s}))),this.setCropBoxData(Se(t,(function(e,r){t[r]=e*s})))))}},dblclick:function(){this.disabled||this.options.dragMode===H||this.setDragMode(Me(this.dragBox,R)?W:z)},wheel:function(e){var t=this,r=Number(this.options.wheelZoomRatio)||.1,n=1;this.disabled||(e.preventDefault(),this.wheeling||(this.wheeling=!0,setTimeout((function(){t.wheeling=!1}),50),e.deltaY?n=e.deltaY>0?1:-1:e.wheelDelta?n=-e.wheelDelta/120:e.detail&&(n=e.detail>0?1:-1),this.zoom(-n*r,e)))},cropStart:function(e){var t=e.buttons,r=e.button;if(!(this.disabled||("mousedown"===e.type||"pointerdown"===e.type&&"mouse"===e.pointerType)&&(me(t)&&1!==t||me(r)&&0!==r||e.ctrlKey))){var n,o=this.options,i=this.pointers;e.changedTouches?Se(e.changedTouches,(function(e){i[e.identifier]=Je(e)})):i[e.pointerId||0]=Je(e),n=Object.keys(i).length>1&&o.zoomable&&o.zoomOnTouch?k:Ie(e.target,P),ae.test(n)&&!1!==He(this.element,X,{originalEvent:e,action:n})&&(e.preventDefault(),this.action=n,this.cropping=!1,n===_&&(this.cropping=!0,Oe(this.dragBox,F)))}},cropMove:function(e){var t=this.action;if(!this.disabled&&t){var r=this.pointers;e.preventDefault(),!1!==He(this.element,G,{originalEvent:e,action:t})&&(e.changedTouches?Se(e.changedTouches,(function(e){Ce(r[e.identifier]||{},Je(e,!0))})):Ce(r[e.pointerId||0]||{},Je(e,!0)),this.change(e))}},cropEnd:function(e){if(!this.disabled){var t=this.action,r=this.pointers;e.changedTouches?Se(e.changedTouches,(function(e){delete r[e.identifier]})):delete r[e.pointerId||0],t&&(e.preventDefault(),Object.keys(r).length||(this.action=""),this.cropping&&(this.cropping=!1,Le(this.dragBox,F,this.cropped&&this.options.modal)),He(this.element,U,{originalEvent:e,action:t}))}}},ht={change:function(e){var t,r=this.options,n=this.canvasData,o=this.containerData,i=this.cropBoxData,a=this.pointers,s=this.action,l=r.aspectRatio,c=i.left,u=i.top,d=i.width,p=i.height,h=c+d,f=u+p,m=0,g=0,y=o.width,v=o.height,b=!0;!l&&e.shiftKey&&(l=d&&p?d/p:1),this.limited&&(m=i.minLeft,g=i.minTop,y=m+Math.min(o.width,n.width,n.left+n.width),v=g+Math.min(o.height,n.height,n.top+n.height));var R=a[Object.keys(a)[0]],L={x:R.endX-R.startX,y:R.endY-R.startY},j=function(e){switch(e){case S:h+L.x>y&&(L.x=y-h);break;case C:c+L.xv&&(L.y=v-f)}};switch(s){case w:c+=L.x,u+=L.y;break;case S:if(L.x>=0&&(h>=y||l&&(u<=g||f>=v))){b=!1;break}j(S),(d+=L.x)<0&&(s=C,c-=d=-d),l&&(p=d/l,u+=(i.height-p)/2);break;case D:if(L.y<=0&&(u<=g||l&&(c<=m||h>=y))){b=!1;break}j(D),p-=L.y,u+=L.y,p<0&&(s=E,u-=p=-p),l&&(d=p*l,c+=(i.width-d)/2);break;case C:if(L.x<=0&&(c<=m||l&&(u<=g||f>=v))){b=!1;break}j(C),d-=L.x,c+=L.x,d<0&&(s=S,c-=d=-d),l&&(p=d/l,u+=(i.height-p)/2);break;case E:if(L.y>=0&&(f>=v||l&&(c<=m||h>=y))){b=!1;break}j(E),(p+=L.y)<0&&(s=D,u-=p=-p),l&&(d=p*l,c+=(i.width-d)/2);break;case A:if(l){if(L.y<=0&&(u<=g||h>=y)){b=!1;break}j(D),p-=L.y,u+=L.y,d=p*l}else j(D),j(S),L.x>=0?hg&&(p-=L.y,u+=L.y):(p-=L.y,u+=L.y);d<0&&p<0?(s=O,u-=p=-p,c-=d=-d):d<0?(s=T,c-=d=-d):p<0&&(s=M,u-=p=-p);break;case T:if(l){if(L.y<=0&&(u<=g||c<=m)){b=!1;break}j(D),p-=L.y,u+=L.y,d=p*l,c+=i.width-d}else j(D),j(C),L.x<=0?c>m?(d-=L.x,c+=L.x):L.y<=0&&u<=g&&(b=!1):(d-=L.x,c+=L.x),L.y<=0?u>g&&(p-=L.y,u+=L.y):(p-=L.y,u+=L.y);d<0&&p<0?(s=M,u-=p=-p,c-=d=-d):d<0?(s=A,c-=d=-d):p<0&&(s=O,u-=p=-p);break;case O:if(l){if(L.x<=0&&(c<=m||f>=v)){b=!1;break}j(C),d-=L.x,c+=L.x,p=d/l}else j(E),j(C),L.x<=0?c>m?(d-=L.x,c+=L.x):L.y>=0&&f>=v&&(b=!1):(d-=L.x,c+=L.x),L.y>=0?f=0&&(h>=y||f>=v)){b=!1;break}j(S),p=(d+=L.x)/l}else j(E),j(S),L.x>=0?h=0&&f>=v&&(b=!1):d+=L.x,L.y>=0?f0?s=L.y>0?M:A:L.x<0&&(c-=d,s=L.y>0?O:T),L.y<0&&(u-=p),this.cropped||(Re(this.cropBox,N),this.cropped=!0,this.limited&&this.limitCropBox(!0,!0))}b&&(i.width=d,i.height=p,i.left=c,i.top=u,this.action=s,this.renderCropBox()),Se(a,(function(e){e.startX=e.endX,e.startY=e.endY}))}},ft={crop:function(){return!this.ready||this.cropped||this.disabled||(this.cropped=!0,this.limitCropBox(!0,!0),this.options.modal&&Oe(this.dragBox,F),Re(this.cropBox,N),this.setCropBoxData(this.initialCropBoxData)),this},reset:function(){return this.ready&&!this.disabled&&(this.imageData=Ce({},this.initialImageData),this.canvasData=Ce({},this.initialCanvasData),this.cropBoxData=Ce({},this.initialCropBoxData),this.renderCanvas(),this.cropped&&this.renderCropBox()),this},clear:function(){return this.cropped&&!this.disabled&&(Ce(this.cropBoxData,{left:0,top:0,width:0,height:0}),this.cropped=!1,this.renderCropBox(),this.limitCanvas(!0,!0),this.renderCanvas(),Re(this.dragBox,F),Oe(this.cropBox,N)),this},replace:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return!this.disabled&&e&&(this.isImg&&(this.element.src=e),t?(this.url=e,this.image.src=e,this.ready&&(this.viewBoxImage.src=e,Se(this.previews,(function(t){t.getElementsByTagName("img")[0].src=e})))):(this.isImg&&(this.replaced=!0),this.options.data=null,this.uncreate(),this.load(e))),this},enable:function(){return this.ready&&this.disabled&&(this.disabled=!1,Re(this.cropper,L)),this},disable:function(){return this.ready&&!this.disabled&&(this.disabled=!0,Oe(this.cropper,L)),this},destroy:function(){var e=this.element;return e[b]?(e[b]=void 0,this.isImg&&this.replaced&&(e.src=this.originalUrl),this.uncreate(),this):this},move:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=this.canvasData,n=r.left,o=r.top;return this.moveTo(ye(e)?e:n+Number(e),ye(t)?t:o+Number(t))},moveTo:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=this.canvasData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.movable&&(me(e)&&(r.left=e,n=!0),me(t)&&(r.top=t,n=!0),n&&this.renderCanvas(!0)),this},zoom:function(e,t){var r=this.canvasData;return e=(e=Number(e))<0?1/(1-e):1+e,this.zoomTo(r.width*e/r.naturalWidth,null,t)},zoomTo:function(e,t,r){var n=this.options,o=this.canvasData,i=o.width,a=o.height,s=o.naturalWidth,l=o.naturalHeight;if((e=Number(e))>=0&&this.ready&&!this.disabled&&n.zoomable){var c=s*e,u=l*e;if(!1===He(this.element,oe,{ratio:e,oldRatio:i/s,originalEvent:r}))return this;if(r){var d=this.pointers,p=Ve(this.cropper),h=d&&Object.keys(d).length?Qe(d):{pageX:r.pageX,pageY:r.pageY};o.left-=(c-i)*((h.pageX-p.left-o.left)/i),o.top-=(u-a)*((h.pageY-p.top-o.top)/a)}else we(t)&&me(t.x)&&me(t.y)?(o.left-=(c-i)*((t.x-o.left)/i),o.top-=(u-a)*((t.y-o.top)/a)):(o.left-=(c-i)/2,o.top-=(u-a)/2);o.width=c,o.height=u,this.renderCanvas(!0)}return this},rotate:function(e){return this.rotateTo((this.imageData.rotate||0)+Number(e))},rotateTo:function(e){return me(e=Number(e))&&this.ready&&!this.disabled&&this.options.rotatable&&(this.imageData.rotate=e%360,this.renderCanvas(!0,!0)),this},scaleX:function(e){var t=this.imageData.scaleY;return this.scale(e,me(t)?t:1)},scaleY:function(e){var t=this.imageData.scaleX;return this.scale(me(t)?t:1,e)},scale:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e,r=this.imageData,n=!1;return e=Number(e),t=Number(t),this.ready&&!this.disabled&&this.options.scalable&&(me(e)&&(r.scaleX=e,n=!0),me(t)&&(r.scaleY=t,n=!0),n&&this.renderCanvas(!0,!0)),this},getData:function(){var e,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],r=this.options,n=this.imageData,o=this.canvasData,i=this.cropBoxData;if(this.ready&&this.cropped){e={x:i.left-o.left,y:i.top-o.top,width:i.width,height:i.height};var a=n.width/n.naturalWidth;if(Se(e,(function(t,r){e[r]=t/a})),t){var s=Math.round(e.y+e.height),l=Math.round(e.x+e.width);e.x=Math.round(e.x),e.y=Math.round(e.y),e.width=l-e.x,e.height=s-e.y}}else e={x:0,y:0,width:0,height:0};return r.rotatable&&(e.rotate=n.rotate||0),r.scalable&&(e.scaleX=n.scaleX||1,e.scaleY=n.scaleY||1),e},setData:function(e){var t=this.options,r=this.imageData,n=this.canvasData,o={};if(this.ready&&!this.disabled&&we(e)){var i=!1;t.rotatable&&me(e.rotate)&&e.rotate!==r.rotate&&(r.rotate=e.rotate,i=!0),t.scalable&&(me(e.scaleX)&&e.scaleX!==r.scaleX&&(r.scaleX=e.scaleX,i=!0),me(e.scaleY)&&e.scaleY!==r.scaleY&&(r.scaleY=e.scaleY,i=!0)),i&&this.renderCanvas(!0,!0);var a=r.width/r.naturalWidth;me(e.x)&&(o.left=e.x*a+n.left),me(e.y)&&(o.top=e.y*a+n.top),me(e.width)&&(o.width=e.width*a),me(e.height)&&(o.height=e.height*a),this.setCropBoxData(o)}return this},getContainerData:function(){return this.ready?Ce({},this.containerData):{}},getImageData:function(){return this.sized?Ce({},this.imageData):{}},getCanvasData:function(){var e=this.canvasData,t={};return this.ready&&Se(["left","top","width","height","naturalWidth","naturalHeight"],(function(r){t[r]=e[r]})),t},setCanvasData:function(e){var t=this.canvasData,r=t.aspectRatio;return this.ready&&!this.disabled&&we(e)&&(me(e.left)&&(t.left=e.left),me(e.top)&&(t.top=e.top),me(e.width)?(t.width=e.width,t.height=e.width/r):me(e.height)&&(t.height=e.height,t.width=e.height*r),this.renderCanvas(!0)),this},getCropBoxData:function(){var e,t=this.cropBoxData;return this.ready&&this.cropped&&(e={left:t.left,top:t.top,width:t.width,height:t.height}),e||{}},setCropBoxData:function(e){var t,r,n=this.cropBoxData,o=this.options.aspectRatio;return this.ready&&this.cropped&&!this.disabled&&we(e)&&(me(e.left)&&(n.left=e.left),me(e.top)&&(n.top=e.top),me(e.width)&&e.width!==n.width&&(t=!0,n.width=e.width),me(e.height)&&e.height!==n.height&&(r=!0,n.height=e.height),o&&(t?n.height=n.width/o:r&&(n.width=n.height*o)),this.renderCropBox()),this},getCroppedCanvas:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement)return null;var t=this.canvasData,r=tt(this.image,this.imageData,t,e);if(!this.cropped)return r;var n=this.getData(e.rounded),o=n.x,i=n.y,a=n.width,s=n.height,l=r.width/Math.floor(t.naturalWidth);1!==l&&(o*=l,i*=l,a*=l,s*=l);var u=a/s,d=Ze({aspectRatio:u,width:e.maxWidth||1/0,height:e.maxHeight||1/0}),p=Ze({aspectRatio:u,width:e.minWidth||0,height:e.minHeight||0},"cover"),h=Ze({aspectRatio:u,width:e.width||(1!==l?r.width:a),height:e.height||(1!==l?r.height:s)}),f=h.width,m=h.height;f=Math.min(d.width,Math.max(p.width,f)),m=Math.min(d.height,Math.max(p.height,m));var g=document.createElement("canvas"),y=g.getContext("2d");g.width=De(f),g.height=De(m),y.fillStyle=e.fillColor||"transparent",y.fillRect(0,0,f,m);var v=e.imageSmoothingEnabled,b=void 0===v||v,w=e.imageSmoothingQuality;y.imageSmoothingEnabled=b,w&&(y.imageSmoothingQuality=w);var _,x,k,S,C,E,D=r.width,A=r.height,T=o,M=i;T<=-a||T>D?(T=0,_=0,k=0,C=0):T<=0?(k=-T,T=0,C=_=Math.min(D,a+T)):T<=D&&(k=0,C=_=Math.min(a,D-T)),_<=0||M<=-s||M>A?(M=0,x=0,S=0,E=0):M<=0?(S=-M,M=0,E=x=Math.min(A,s+M)):M<=A&&(S=0,E=x=Math.min(s,A-M));var O=[T,M,_,x];if(C>0&&E>0){var R=f/a;O.push(k*R,S*R,C*R,E*R)}return y.drawImage.apply(y,[r].concat(c(O.map((function(e){return Math.floor(De(e))}))))),g},setAspectRatio:function(e){var t=this.options;return this.disabled||ye(e)||(t.aspectRatio=Math.max(0,e)||NaN,this.ready&&(this.initCropBox(),this.cropped&&this.renderCropBox())),this},setDragMode:function(e){var t=this.options,r=this.dragBox,n=this.face;if(this.ready&&!this.disabled){var o=e===z,i=t.movable&&e===W;e=o||i?e:H,t.dragMode=e,Fe(r,P,e),Le(r,R,o),Le(r,$,i),t.cropBoxMovable||(Fe(n,P,e),Le(n,R,o),Le(n,$,i))}return this}},mt=g.Cropper,gt=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(i(this,e),!t||!ce.test(t.tagName))throw new Error("The first argument is required and must be an or element.");this.element=t,this.options=Ce({},pe,we(r)&&r),this.cropped=!1,this.disabled=!1,this.pointers={},this.ready=!1,this.reloading=!1,this.replaced=!1,this.sized=!1,this.sizing=!1,this.init()}return s(e,[{key:"init",value:function(){var e,t=this.element,r=t.tagName.toLowerCase();if(!t[b]){if(t[b]=this,"img"===r){if(this.isImg=!0,e=t.getAttribute("src")||"",this.originalUrl=e,!e)return;e=t.src}else"canvas"===r&&window.HTMLCanvasElement&&(e=t.toDataURL());this.load(e)}}},{key:"load",value:function(e){var t=this;if(e){this.url=e,this.imageData={};var r=this.element,n=this.options;if(n.rotatable||n.scalable||(n.checkOrientation=!1),n.checkOrientation&&window.ArrayBuffer)if(se.test(e))le.test(e)?this.read(it(e)):this.clone();else{var o=new XMLHttpRequest,i=this.clone.bind(this);this.reloading=!0,this.xhr=o,o.onabort=i,o.onerror=i,o.ontimeout=i,o.onprogress=function(){o.getResponseHeader("content-type")!==ie&&o.abort()},o.onload=function(){t.read(o.response)},o.onloadend=function(){t.reloading=!1,t.xhr=null},n.checkCrossOrigin&&Xe(e)&&r.crossOrigin&&(e=qe(e)),o.open("GET",e,!0),o.responseType="arraybuffer",o.withCredentials="use-credentials"===r.crossOrigin,o.send()}else this.clone()}}},{key:"read",value:function(e){var t=this.options,r=this.imageData,n=st(e),o=0,i=1,a=1;if(n>1){this.url=at(e,ie);var s=lt(n);o=s.rotate,i=s.scaleX,a=s.scaleY}t.rotatable&&(r.rotate=o),t.scalable&&(r.scaleX=i,r.scaleY=a),this.clone()}},{key:"clone",value:function(){var e=this.element,t=this.url,r=e.crossOrigin,n=t;this.options.checkCrossOrigin&&Xe(t)&&(r||(r="anonymous"),n=qe(t)),this.crossOrigin=r,this.crossOriginUrl=n;var o=document.createElement("img");r&&(o.crossOrigin=r),o.src=n||t,o.alt=e.alt||"The image to crop",this.image=o,o.onload=this.start.bind(this),o.onerror=this.stop.bind(this),Oe(o,j),e.parentNode.insertBefore(o,e.nextSibling)}},{key:"start",value:function(){var e=this,t=this.image;t.onload=null,t.onerror=null,this.sizing=!0;var r=g.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(g.navigator.userAgent),n=function(t,r){Ce(e.imageData,{naturalWidth:t,naturalHeight:r,aspectRatio:t/r}),e.initialImageData=Ce({},e.imageData),e.sizing=!1,e.sized=!0,e.build()};if(!t.naturalWidth||r){var o=document.createElement("img"),i=document.body||document.documentElement;this.sizingImage=o,o.onload=function(){n(o.width,o.height),r||i.removeChild(o)},o.src=t.src,r||(o.style.cssText="left:0;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;opacity:0;position:absolute;top:0;z-index:-1;",i.appendChild(o))}else n(t.naturalWidth,t.naturalHeight)}},{key:"stop",value:function(){var e=this.image;e.onload=null,e.onerror=null,e.parentNode.removeChild(e),this.image=null}},{key:"build",value:function(){if(this.sized&&!this.ready){var e=this.element,t=this.options,r=this.image,n=e.parentNode,o=document.createElement("div");o.innerHTML=he;var i=o.querySelector(".".concat(b,"-container")),a=i.querySelector(".".concat(b,"-canvas")),s=i.querySelector(".".concat(b,"-drag-box")),l=i.querySelector(".".concat(b,"-crop-box")),c=l.querySelector(".".concat(b,"-face"));this.container=n,this.cropper=i,this.canvas=a,this.dragBox=s,this.cropBox=l,this.viewBox=i.querySelector(".".concat(b,"-view-box")),this.face=c,a.appendChild(r),Oe(e,N),n.insertBefore(i,e.nextSibling),Re(r,j),this.initPreview(),this.bind(),t.initialAspectRatio=Math.max(0,t.initialAspectRatio)||NaN,t.aspectRatio=Math.max(0,t.aspectRatio)||NaN,t.viewMode=Math.max(0,Math.min(3,Math.round(t.viewMode)))||0,Oe(l,N),t.guides||Oe(l.getElementsByClassName("".concat(b,"-dashed")),N),t.center||Oe(l.getElementsByClassName("".concat(b,"-center")),N),t.background&&Oe(i,"".concat(b,"-bg")),t.highlight||Oe(c,I),t.cropBoxMovable&&(Oe(c,$),Fe(c,P,w)),t.cropBoxResizable||(Oe(l.getElementsByClassName("".concat(b,"-line")),N),Oe(l.getElementsByClassName("".concat(b,"-point")),N)),this.render(),this.ready=!0,this.setDragMode(t.dragMode),t.autoCrop&&this.crop(),this.setData(t.data),_e(t.ready)&&We(e,te,t.ready,{once:!0}),He(e,te)}}},{key:"unbuild",value:function(){if(this.ready){this.ready=!1,this.unbind(),this.resetPreview();var e=this.cropper.parentNode;e&&e.removeChild(this.cropper),Re(this.element,N)}}},{key:"uncreate",value:function(){this.ready?(this.unbuild(),this.ready=!1,this.cropped=!1):this.sizing?(this.sizingImage.onload=null,this.sizing=!1,this.sized=!1):this.reloading?(this.xhr.onabort=null,this.xhr.abort()):this.image&&this.stop()}}],[{key:"noConflict",value:function(){return window.Cropper=mt,e}},{key:"setDefaults",value:function(e){Ce(pe,we(e)&&e)}}])}();return Ce(gt.prototype,ct,ut,dt,pt,ht,ft),gt}()},4488:function(e,t,r){e.exports=function(){var e=e||function(e,t){var n;if("undefined"!==typeof window&&window.crypto&&(n=window.crypto),"undefined"!==typeof self&&self.crypto&&(n=self.crypto),"undefined"!==typeof globalThis&&globalThis.crypto&&(n=globalThis.crypto),!n&&"undefined"!==typeof window&&window.msCrypto&&(n=window.msCrypto),!n&&"undefined"!==typeof r.g&&r.g.crypto&&(n=r.g.crypto),!n)try{n=r(477)}catch(g){}var o=function(){if(n){if("function"===typeof n.getRandomValues)try{return n.getRandomValues(new Uint32Array(1))[0]}catch(g){}if("function"===typeof n.randomBytes)try{return n.randomBytes(4).readInt32LE()}catch(g){}}throw new Error("Native crypto module could not be used to get secure random number.")},i=Object.create||function(){function e(){}return function(t){var r;return e.prototype=t,r=new e,e.prototype=null,r}}(),a={},s=a.lib={},l=s.Base={extend:function(e){var t=i(this);return e&&t.mixIn(e),t.hasOwnProperty("init")&&this.init!==t.init||(t.init=function(){t.$super.init.apply(this,arguments)}),t.init.prototype=t,t.$super=this,t},create:function(){var e=this.extend();return e.init.apply(e,arguments),e},init:function(){},mixIn:function(e){for(var t in e)e.hasOwnProperty(t)&&(this[t]=e[t]);e.hasOwnProperty("toString")&&(this.toString=e.toString)},clone:function(){return this.init.prototype.extend(this)}},c=s.WordArray=l.extend({init:function(e,r){e=this.words=e||[],this.sigBytes=r!=t?r:4*e.length},toString:function(e){return(e||d).stringify(this)},concat:function(e){var t=this.words,r=e.words,n=this.sigBytes,o=e.sigBytes;if(this.clamp(),n%4)for(var i=0;i>>2]>>>24-i%4*8&255;t[n+i>>>2]|=a<<24-(n+i)%4*8}else for(var s=0;s>>2]=r[s>>>2];return this.sigBytes+=o,this},clamp:function(){var t=this.words,r=this.sigBytes;t[r>>>2]&=4294967295<<32-r%4*8,t.length=e.ceil(r/4)},clone:function(){var e=l.clone.call(this);return e.words=this.words.slice(0),e},random:function(e){for(var t=[],r=0;r>>2]>>>24-o%4*8&255;n.push((i>>>4).toString(16)),n.push((15&i).toString(16))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>3]|=parseInt(e.substr(n,2),16)<<24-n%8*4;return new c.init(r,t/2)}},p=u.Latin1={stringify:function(e){for(var t=e.words,r=e.sigBytes,n=[],o=0;o>>2]>>>24-o%4*8&255;n.push(String.fromCharCode(i))}return n.join("")},parse:function(e){for(var t=e.length,r=[],n=0;n>>2]|=(255&e.charCodeAt(n))<<24-n%4*8;return new c.init(r,t)}},h=u.Utf8={stringify:function(e){try{return decodeURIComponent(escape(p.stringify(e)))}catch(t){throw new Error("Malformed UTF-8 data")}},parse:function(e){return p.parse(unescape(encodeURIComponent(e)))}},f=s.BufferedBlockAlgorithm=l.extend({reset:function(){this._data=new c.init,this._nDataBytes=0},_append:function(e){"string"==typeof e&&(e=h.parse(e)),this._data.concat(e),this._nDataBytes+=e.sigBytes},_process:function(t){var r,n=this._data,o=n.words,i=n.sigBytes,a=this.blockSize,s=i/(4*a),l=(s=t?e.ceil(s):e.max((0|s)-this._minBufferSize,0))*a,u=e.min(4*l,i);if(l){for(var d=0;d>>24)|4278255360&(o<<24|o>>>8)}var i=this._hash.words,a=e[t+0],l=e[t+1],h=e[t+2],f=e[t+3],m=e[t+4],g=e[t+5],y=e[t+6],v=e[t+7],b=e[t+8],w=e[t+9],_=e[t+10],x=e[t+11],k=e[t+12],S=e[t+13],C=e[t+14],E=e[t+15],D=i[0],A=i[1],T=i[2],M=i[3];D=c(D,A,T,M,a,7,s[0]),M=c(M,D,A,T,l,12,s[1]),T=c(T,M,D,A,h,17,s[2]),A=c(A,T,M,D,f,22,s[3]),D=c(D,A,T,M,m,7,s[4]),M=c(M,D,A,T,g,12,s[5]),T=c(T,M,D,A,y,17,s[6]),A=c(A,T,M,D,v,22,s[7]),D=c(D,A,T,M,b,7,s[8]),M=c(M,D,A,T,w,12,s[9]),T=c(T,M,D,A,_,17,s[10]),A=c(A,T,M,D,x,22,s[11]),D=c(D,A,T,M,k,7,s[12]),M=c(M,D,A,T,S,12,s[13]),T=c(T,M,D,A,C,17,s[14]),D=u(D,A=c(A,T,M,D,E,22,s[15]),T,M,l,5,s[16]),M=u(M,D,A,T,y,9,s[17]),T=u(T,M,D,A,x,14,s[18]),A=u(A,T,M,D,a,20,s[19]),D=u(D,A,T,M,g,5,s[20]),M=u(M,D,A,T,_,9,s[21]),T=u(T,M,D,A,E,14,s[22]),A=u(A,T,M,D,m,20,s[23]),D=u(D,A,T,M,w,5,s[24]),M=u(M,D,A,T,C,9,s[25]),T=u(T,M,D,A,f,14,s[26]),A=u(A,T,M,D,b,20,s[27]),D=u(D,A,T,M,S,5,s[28]),M=u(M,D,A,T,h,9,s[29]),T=u(T,M,D,A,v,14,s[30]),D=d(D,A=u(A,T,M,D,k,20,s[31]),T,M,g,4,s[32]),M=d(M,D,A,T,b,11,s[33]),T=d(T,M,D,A,x,16,s[34]),A=d(A,T,M,D,C,23,s[35]),D=d(D,A,T,M,l,4,s[36]),M=d(M,D,A,T,m,11,s[37]),T=d(T,M,D,A,v,16,s[38]),A=d(A,T,M,D,_,23,s[39]),D=d(D,A,T,M,S,4,s[40]),M=d(M,D,A,T,a,11,s[41]),T=d(T,M,D,A,f,16,s[42]),A=d(A,T,M,D,y,23,s[43]),D=d(D,A,T,M,w,4,s[44]),M=d(M,D,A,T,k,11,s[45]),T=d(T,M,D,A,E,16,s[46]),D=p(D,A=d(A,T,M,D,h,23,s[47]),T,M,a,6,s[48]),M=p(M,D,A,T,v,10,s[49]),T=p(T,M,D,A,C,15,s[50]),A=p(A,T,M,D,g,21,s[51]),D=p(D,A,T,M,k,6,s[52]),M=p(M,D,A,T,f,10,s[53]),T=p(T,M,D,A,_,15,s[54]),A=p(A,T,M,D,l,21,s[55]),D=p(D,A,T,M,b,6,s[56]),M=p(M,D,A,T,E,10,s[57]),T=p(T,M,D,A,y,15,s[58]),A=p(A,T,M,D,S,21,s[59]),D=p(D,A,T,M,m,6,s[60]),M=p(M,D,A,T,x,10,s[61]),T=p(T,M,D,A,h,15,s[62]),A=p(A,T,M,D,w,21,s[63]),i[0]=i[0]+D|0,i[1]=i[1]+A|0,i[2]=i[2]+T|0,i[3]=i[3]+M|0},_doFinalize:function(){var t=this._data,r=t.words,n=8*this._nDataBytes,o=8*t.sigBytes;r[o>>>5]|=128<<24-o%32;var i=e.floor(n/4294967296),a=n;r[15+(o+64>>>9<<4)]=16711935&(i<<8|i>>>24)|4278255360&(i<<24|i>>>8),r[14+(o+64>>>9<<4)]=16711935&(a<<8|a>>>24)|4278255360&(a<<24|a>>>8),t.sigBytes=4*(r.length+1),this._process();for(var s=this._hash,l=s.words,c=0;c<4;c++){var u=l[c];l[c]=16711935&(u<<8|u>>>24)|4278255360&(u<<24|u>>>8)}return s},clone:function(){var e=i.clone.call(this);return e._hash=this._hash.clone(),e}});function c(e,t,r,n,o,i,a){var s=e+(t&r|~t&n)+o+a;return(s<>>32-i)+t}function u(e,t,r,n,o,i,a){var s=e+(t&n|r&~n)+o+a;return(s<>>32-i)+t}function d(e,t,r,n,o,i,a){var s=e+(t^r^n)+o+a;return(s<>>32-i)+t}function p(e,t,r,n,o,i,a){var s=e+(r^(t|~n))+o+a;return(s<>>32-i)+t}r.MD5=i._createHelper(l),r.HmacMD5=i._createHmacHelper(l)}(Math),t.MD5)}()},5388:e=>{var t=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32},r=-1;t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,r,n,o){"undefined"==typeof o&&(o=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=o;if(null==e||null==r)throw new Error("Null input. (diff_main)");if(e==r)return e?[new t.Diff(0,e)]:[];"undefined"==typeof n&&(n=!0);var a=n,s=this.diff_commonPrefix(e,r),l=e.substring(0,s);e=e.substring(s),r=r.substring(s),s=this.diff_commonSuffix(e,r);var c=e.substring(e.length-s);e=e.substring(0,e.length-s),r=r.substring(0,r.length-s);var u=this.diff_compute_(e,r,a,i);return l&&u.unshift(new t.Diff(0,l)),c&&u.push(new t.Diff(0,c)),this.diff_cleanupMerge(u),u},t.prototype.diff_compute_=function(e,n,o,i){var a;if(!e)return[new t.Diff(1,n)];if(!n)return[new t.Diff(r,e)];var s=e.length>n.length?e:n,l=e.length>n.length?n:e,c=s.indexOf(l);if(-1!=c)return a=[new t.Diff(1,s.substring(0,c)),new t.Diff(0,l),new t.Diff(1,s.substring(c+l.length))],e.length>n.length&&(a[0][0]=a[2][0]=r),a;if(1==l.length)return[new t.Diff(r,e),new t.Diff(1,n)];var u=this.diff_halfMatch_(e,n);if(u){var d=u[0],p=u[1],h=u[2],f=u[3],m=u[4],g=this.diff_main(d,h,o,i),y=this.diff_main(p,f,o,i);return g.concat([new t.Diff(0,m)],y)}return o&&e.length>100&&n.length>100?this.diff_lineMode_(e,n,i):this.diff_bisect_(e,n,i)},t.prototype.diff_lineMode_=function(e,n,o){var i=this.diff_linesToChars_(e,n);e=i.chars1,n=i.chars2;var a=i.lineArray,s=this.diff_main(e,n,!1,o);this.diff_charsToLines_(s,a),this.diff_cleanupSemantic(s),s.push(new t.Diff(0,""));for(var l=0,c=0,u=0,d="",p="";l=1&&u>=1){s.splice(l-c-u,c+u),l=l-c-u;for(var h=this.diff_main(d,p,!1,o),f=h.length-1;f>=0;f--)s.splice(l,0,h[f]);l+=h.length}u=0,c=0,d="",p=""}l++}return s.pop(),s},t.prototype.diff_bisect_=function(e,n,o){for(var i=e.length,a=n.length,s=Math.ceil((i+a)/2),l=s,c=2*s,u=new Array(c),d=new Array(c),p=0;po);b++){for(var w=-b+m;w<=b-g;w+=2){for(var _=l+w,x=(D=w==-b||w!=b&&u[_-1]i)g+=2;else if(x>a)m+=2;else if(f){if((C=l+h-w)>=0&&C=(S=i-d[C]))return this.diff_bisectSplit_(e,n,D,x,o)}}for(var k=-b+y;k<=b-v;k+=2){for(var S,C=l+k,E=(S=k==-b||k!=b&&d[C-1]i)v+=2;else if(E>a)y+=2;else if(!f){if((_=l+h-k)>=0&&_=(S=i-S))return this.diff_bisectSplit_(e,n,D,x,o)}}}}return[new t.Diff(r,e),new t.Diff(1,n)]},t.prototype.diff_bisectSplit_=function(e,t,r,n,o){var i=e.substring(0,r),a=t.substring(0,n),s=e.substring(r),l=t.substring(n),c=this.diff_main(i,a,!1,o),u=this.diff_main(s,l,!1,o);return c.concat(u)},t.prototype.diff_linesToChars_=function(e,t){var r=[],n={};function o(e){for(var t="",o=0,a=-1,s=r.length;an?e=e.substring(r-n):rt.length?e:t,n=e.length>t.length?t:e;if(r.length<4||2*n.length=e.length?[n,i,a,s,u]:null}var a,s,l,c,u,d=i(r,n,Math.ceil(r.length/4)),p=i(r,n,Math.ceil(r.length/2));return d||p?(a=p?d&&d[4].length>p[4].length?d:p:d,e.length>t.length?(s=a[0],l=a[1],c=a[2],u=a[3]):(c=a[0],u=a[1],s=a[2],l=a[3]),[s,l,c,u,a[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var n=!1,o=[],i=0,a=null,s=0,l=0,c=0,u=0,d=0;s0?o[i-1]:-1,l=0,c=0,u=0,d=0,a=null,n=!0)),s++;for(n&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),s=1;s=m?(f>=p.length/2||f>=h.length/2)&&(e.splice(s,0,new t.Diff(0,h.substring(0,f))),e[s-1][1]=p.substring(0,p.length-f),e[s+1][1]=h.substring(f),s++):(m>=p.length/2||m>=h.length/2)&&(e.splice(s,0,new t.Diff(0,p.substring(0,m))),e[s-1][0]=1,e[s-1][1]=h.substring(0,h.length-m),e[s+1][0]=r,e[s+1][1]=p.substring(m),s++),s++}s++}},t.prototype.diff_cleanupSemanticLossless=function(e){function r(e,r){if(!e||!r)return 6;var n=e.charAt(e.length-1),o=r.charAt(0),i=n.match(t.nonAlphaNumericRegex_),a=o.match(t.nonAlphaNumericRegex_),s=i&&n.match(t.whitespaceRegex_),l=a&&o.match(t.whitespaceRegex_),c=s&&n.match(t.linebreakRegex_),u=l&&o.match(t.linebreakRegex_),d=c&&e.match(t.blanklineEndRegex_),p=u&&r.match(t.blanklineStartRegex_);return d||p?5:c||u?4:i&&!s&&l?3:s||l?2:i||a?1:0}for(var n=1;n=p&&(p=h,c=o,u=i,d=a)}e[n-1][1]!=c&&(c?e[n-1][1]=c:(e.splice(n-1,1),n--),e[n][1]=u,d?e[n+1][1]=d:(e.splice(n+1,1),n--))}n++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var n=!1,o=[],i=0,a=null,s=0,l=!1,c=!1,u=!1,d=!1;s0?o[i-1]:-1,u=d=!1),n=!0)),s++;n&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var n,o=0,i=0,a=0,s="",l="";o1?(0!==i&&0!==a&&(0!==(n=this.diff_commonPrefix(l,s))&&(o-i-a>0&&0==e[o-i-a-1][0]?e[o-i-a-1][1]+=l.substring(0,n):(e.splice(0,0,new t.Diff(0,l.substring(0,n))),o++),l=l.substring(n),s=s.substring(n)),0!==(n=this.diff_commonSuffix(l,s))&&(e[o][1]=l.substring(l.length-n)+e[o][1],l=l.substring(0,l.length-n),s=s.substring(0,s.length-n))),o-=i+a,e.splice(o,i+a),s.length&&(e.splice(o,0,new t.Diff(r,s)),o++),l.length&&(e.splice(o,0,new t.Diff(1,l)),o++),o++):0!==o&&0==e[o-1][0]?(e[o-1][1]+=e[o][1],e.splice(o,1)):o++,a=0,i=0,s="",l=""}""===e[e.length-1][1]&&e.pop();var c=!1;for(o=1;ot));n++)a=o,s=i;return e.length!=n&&e[n][0]===r?s:s+(t-a)},t.prototype.diff_prettyHtml=function(e){for(var t=[],n=/&/g,o=//g,a=/\n/g,s=0;s");switch(l){case 1:t[s]=''+c+"";break;case r:t[s]=''+c+"";break;case 0:t[s]=""+c+""}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],r=0;rthis.Match_MaxBits)throw new Error("Pattern too long for this browser.");var n=this.match_alphabet_(t),o=this;function i(e,n){var i=e/t.length,a=Math.abs(r-n);return o.Match_Distance?i+a/o.Match_Distance:a?1:i}var a=this.Match_Threshold,s=e.indexOf(t,r);-1!=s&&(a=Math.min(i(0,s),a),-1!=(s=e.lastIndexOf(t,r+t.length))&&(a=Math.min(i(0,s),a)));var l,c,u=1<=f;y--){var v=n[e.charAt(y-1)];if(g[y]=0===h?(g[y+1]<<1|1)&v:(g[y+1]<<1|1)&v|(d[y+1]|d[y])<<1|1|d[y+1],g[y]&u){var b=i(h,y-1);if(b<=a){if(a=b,!((s=y-1)>r))break;f=Math.max(1,2*r-s)}}}if(i(h+1,r)>a)break;d=g}return s},t.prototype.match_alphabet_=function(e){for(var t={},r=0;r2&&(this.diff_cleanupSemantic(a),this.diff_cleanupEfficiency(a));else if(e&&"object"==typeof e&&"undefined"==typeof n&&"undefined"==typeof o)a=e,i=this.diff_text1(a);else if("string"==typeof e&&n&&"object"==typeof n&&"undefined"==typeof o)i=e,a=n;else{if("string"!=typeof e||"string"!=typeof n||!o||"object"!=typeof o)throw new Error("Unknown call format to patch_make.");i=e,a=o}if(0===a.length)return[];for(var s=[],l=new t.patch_obj,c=0,u=0,d=0,p=i,h=i,f=0;f=2*this.Patch_Margin&&c&&(this.patch_addContext_(l,p),s.push(l),l=new t.patch_obj,c=0,p=h,u=d)}1!==m&&(u+=g.length),m!==r&&(d+=g.length)}return c&&(this.patch_addContext_(l,p),s.push(l)),s},t.prototype.patch_deepCopy=function(e){for(var r=[],n=0;nthis.Match_MaxBits?-1!=(s=this.match_main(t,u.substring(0,this.Match_MaxBits),c))&&(-1==(d=this.match_main(t,u.substring(u.length-this.Match_MaxBits),c+u.length-this.Match_MaxBits))||s>=d)&&(s=-1):s=this.match_main(t,u,c),-1==s)i[a]=!1,o-=e[a].length2-e[a].length1;else if(i[a]=!0,o=s-c,u==(l=-1==d?t.substring(s,s+u.length):t.substring(s,d+this.Match_MaxBits)))t=t.substring(0,s)+this.diff_text2(e[a].diffs)+t.substring(s+u.length);else{var p=this.diff_main(u,l,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(p)/u.length>this.Patch_DeleteThreshold)i[a]=!1;else{this.diff_cleanupSemanticLossless(p);for(var h,f=0,m=0;ma[0][1].length){var s=r-a[0][1].length;a[0][1]=n.substring(a[0][1].length)+a[0][1],i.start1-=s,i.start2-=s,i.length1+=s,i.length2+=s}if(0==(a=(i=e[e.length-1]).diffs).length||0!=a[a.length-1][0])a.push(new t.Diff(0,n)),i.length1+=r,i.length2+=r;else if(r>a[a.length-1][1].length){s=r-a[a.length-1][1].length;a[a.length-1][1]+=n.substring(0,s),i.length1+=s,i.length2+=s}return n},t.prototype.patch_splitMax=function(e){for(var n=this.Match_MaxBits,o=0;o2*n?(c.length1+=p.length,a+=p.length,u=!1,c.diffs.push(new t.Diff(d,p)),i.diffs.shift()):(p=p.substring(0,n-c.length1-this.Patch_Margin),c.length1+=p.length,a+=p.length,0===d?(c.length2+=p.length,s+=p.length):u=!1,c.diffs.push(new t.Diff(d,p)),p==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(p.length))}l=(l=this.diff_text2(c.diffs)).substring(l.length-this.Patch_Margin);var h=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==h&&(c.length1+=h.length,c.length2+=h.length,0!==c.diffs.length&&0===c.diffs[c.diffs.length-1][0]?c.diffs[c.diffs.length-1][1]+=h:c.diffs.push(new t.Diff(0,h))),u||e.splice(++o,0,c)}}},t.prototype.patch_toText=function(e){for(var t=[],r=0;r=t.status}function i(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(n){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(t)}}var a="object"==typeof window&&window.window===window?window:"object"==typeof self&&self.self===self?self:"object"==typeof r.g&&r.g.global===r.g?r.g:void 0,s=a.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=a.saveAs||("object"!=typeof window||window!==a?function(){}:"download"in HTMLAnchorElement.prototype&&!s?function(e,t,r){var s=a.URL||a.webkitURL,l=document.createElement("a");t=t||e.name||"download",l.download=t,l.rel="noopener","string"==typeof e?(l.href=e,l.origin===location.origin?i(l):o(l.href)?n(e,t,r):i(l,l.target="_blank")):(l.href=s.createObjectURL(e),setTimeout((function(){s.revokeObjectURL(l.href)}),4e4),setTimeout((function(){i(l)}),0))}:"msSaveOrOpenBlob"in navigator?function(e,r,a){if(r=r||e.name||"download","string"!=typeof e)navigator.msSaveOrOpenBlob(t(e,a),r);else if(o(e))n(e,r,a);else{var s=document.createElement("a");s.href=e,s.target="_blank",setTimeout((function(){i(s)}))}}:function(e,t,r,o){if((o=o||open("","_blank"))&&(o.document.title=o.document.body.innerText="downloading..."),"string"==typeof e)return n(e,t,r);var i="application/octet-stream"===e.type,l=/constructor/i.test(a.HTMLElement)||a.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||i&&l||s)&&"undefined"!=typeof FileReader){var u=new FileReader;u.onloadend=function(){var e=u.result;e=c?e:e.replace(/^data:[^;]*;/,"data:attachment/file;"),o?o.location.href=e:location=e,o=null},u.readAsDataURL(e)}else{var d=a.URL||a.webkitURL,p=d.createObjectURL(e);o?o.location=p:location.href=p,o=null,setTimeout((function(){d.revokeObjectURL(p)}),4e4)}});a.saveAs=l.saveAs=l,e.exports=l})?n.apply(t,o):n)||(e.exports=i)},219:(e,t,r)=>{"use strict";var n=r(3763),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,r,n){if("string"!==typeof r){if(f){var o=h(r);o&&o!==f&&e(t,o,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),m=l(r),g=0;g{"use strict";var r="function"===typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function _(e){if("object"===typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case o:return t}}}function x(e){return _(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return x(e)||_(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return _(e)===c},t.isContextProvider=function(e){return _(e)===l},t.isElement=function(e){return"object"===typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return _(e)===p},t.isFragment=function(e){return _(e)===i},t.isLazy=function(e){return _(e)===g},t.isMemo=function(e){return _(e)===m},t.isPortal=function(e){return _(e)===o},t.isProfiler=function(e){return _(e)===s},t.isStrictMode=function(e){return _(e)===a},t.isSuspense=function(e){return _(e)===h},t.isValidElementType=function(e){return"string"===typeof e||"function"===typeof e||e===i||e===d||e===s||e===a||e===h||e===f||"object"===typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=_},3763:(e,t,r)=>{"use strict";e.exports=r(4983)},2614:function(e){e.exports=function(){"use strict";function e(e,t){return e(t={exports:{}},t.exports),t.exports}var t=e((function(e){var t=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)})),r=e((function(e){var t=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=t)})),n=(r.version,function(e){return"object"===typeof e?null!==e:"function"===typeof e}),o=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e},i=function(e){try{return!!e()}catch(t){return!0}},a=!i((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})),s=t.document,l=n(s)&&n(s.createElement),c=function(e){return l?s.createElement(e):{}},u=!a&&!i((function(){return 7!=Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a})),d=function(e,t){if(!n(e))return e;var r,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;throw TypeError("Can't convert object to primitive value")},p=Object.defineProperty,h={f:a?Object.defineProperty:function(e,t,r){if(o(e),t=d(t,!0),o(r),u)try{return p(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(e[t]=r.value),e}},f=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},m=a?function(e,t,r){return h.f(e,t,f(1,r))}:function(e,t,r){return e[t]=r,e},g={}.hasOwnProperty,y=function(e,t){return g.call(e,t)},v=0,b=Math.random(),w=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++v+b).toString(36))},_=!1,x=e((function(e){var n="__core-js_shared__",o=t[n]||(t[n]={});(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:r.version,mode:_?"pure":"global",copyright:"\xa9 2019 Denis Pushkarev (zloirock.ru)"})})),k=x("native-function-to-string",Function.toString),S=e((function(e){var n=w("src"),o="toString",i=(""+k).split(o);r.inspectSource=function(e){return k.call(e)},(e.exports=function(e,r,o,a){var s="function"==typeof o;s&&(y(o,"name")||m(o,"name",r)),e[r]!==o&&(s&&(y(o,n)||m(o,n,e[r]?""+e[r]:i.join(String(r)))),e===t?e[r]=o:a?e[r]?e[r]=o:m(e,r,o):(delete e[r],m(e,r,o)))})(Function.prototype,o,(function(){return"function"==typeof this&&this[n]||k.call(this)}))})),C=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e},E=function(e,t,r){if(C(e),void 0===t)return e;switch(r){case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}},D="prototype",A=function(e,n,o){var i,a,s,l,c=e&A.F,u=e&A.G,d=e&A.S,p=e&A.P,h=e&A.B,f=u?t:d?t[n]||(t[n]={}):(t[n]||{})[D],g=u?r:r[n]||(r[n]={}),y=g[D]||(g[D]={});for(i in u&&(o=n),o)s=((a=!c&&f&&void 0!==f[i])?f:o)[i],l=h&&a?E(s,t):p&&"function"==typeof s?E(Function.call,s):s,f&&S(f,i,s,e&A.U),g[i]!=s&&m(g,i,l),p&&y[i]!=s&&(y[i]=s)};t.core=r,A.F=1,A.G=2,A.S=4,A.P=8,A.B=16,A.W=32,A.U=64,A.R=128;var T,M=A,O=Math.ceil,R=Math.floor,L=function(e){return isNaN(e=+e)?0:(e>0?R:O)(e)},N=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e},j=(T=!1,function(e,t){var r,n,o=String(N(e)),i=L(t),a=o.length;return i<0||i>=a?T?"":void 0:(r=o.charCodeAt(i))<55296||r>56319||i+1===a||(n=o.charCodeAt(i+1))<56320||n>57343?T?o.charAt(i):r:T?o.slice(i,i+2):n-56320+(r-55296<<10)+65536});M(M.P,"String",{codePointAt:function(e){return j(this,e)}}),r.String.codePointAt;var I=Math.max,F=Math.min,$=function(e,t){return(e=L(e))<0?I(e+t,0):F(e,t)},P=String.fromCharCode,B=String.fromCodePoint;M(M.S+M.F*(!!B&&1!=B.length),"String",{fromCodePoint:function(e){for(var t,r=arguments,n=[],o=arguments.length,i=0;o>i;){if(t=+r[i++],$(t,1114111)!==t)throw RangeError(t+" is not a valid code point");n.push(t<65536?P(t):P(55296+((t-=65536)>>10),t%1024+56320))}return n.join("")}}),r.String.fromCodePoint;var z,W,H,V,U,G,X,q,K,Y,J,Q,Z,ee,te={Space_Separator:/[\u1680\u2000-\u200A\u202F\u205F\u3000]/,ID_Start:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\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-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\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\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE83\uDE86-\uDE89\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]/,ID_Continue:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u0860-\u086A\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u09FC\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9-\u0AFF\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D00-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF9\u1D00-\u1DF9\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312E\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FEA\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF2D-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDE00-\uDE3E\uDE47\uDE50-\uDE83\uDE86-\uDE99\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD36\uDD3A\uDD3C\uDD3D\uDD3F-\uDD47\uDD50-\uDD59]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0\uDFE1]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00-\uDD1E\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/},re={isSpaceSeparator:function(e){return"string"===typeof e&&te.Space_Separator.test(e)},isIdStartChar:function(e){return"string"===typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||"$"===e||"_"===e||te.ID_Start.test(e))},isIdContinueChar:function(e){return"string"===typeof e&&(e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"$"===e||"_"===e||"\u200c"===e||"\u200d"===e||te.ID_Continue.test(e))},isDigit:function(e){return"string"===typeof e&&/[0-9]/.test(e)},isHexDigit:function(e){return"string"===typeof e&&/[0-9A-Fa-f]/.test(e)}},ne=function(e,t){z=String(e),W="start",H=[],V=0,U=1,G=0,X=void 0,q=void 0,K=void 0;do{X=ie(),fe[W]()}while("eof"!==X.type);return"function"===typeof t?oe({"":K},"",t):K};function oe(e,t,r){var n=e[t];if(null!=n&&"object"===typeof n)if(Array.isArray(n))for(var o=0;o0;){var r=ae();if(!re.isHexDigit(r))throw ye(se());e+=se()}return String.fromCodePoint(parseInt(e,16))}var fe={start:function(){if("eof"===X.type)throw ve();me()},beforePropertyName:function(){switch(X.type){case"identifier":case"string":return q=X.value,void(W="afterPropertyName");case"punctuator":return void ge();case"eof":throw ve()}},afterPropertyName:function(){if("eof"===X.type)throw ve();W="beforePropertyValue"},beforePropertyValue:function(){if("eof"===X.type)throw ve();me()},beforeArrayValue:function(){if("eof"===X.type)throw ve();"punctuator"!==X.type||"]"!==X.value?me():ge()},afterPropertyValue:function(){if("eof"===X.type)throw ve();switch(X.value){case",":return void(W="beforePropertyName");case"}":ge()}},afterArrayValue:function(){if("eof"===X.type)throw ve();switch(X.value){case",":return void(W="beforeArrayValue");case"]":ge()}},end:function(){}};function me(){var e;switch(X.type){case"punctuator":switch(X.value){case"{":e={};break;case"[":e=[]}break;case"null":case"boolean":case"numeric":case"string":e=X.value}if(void 0===K)K=e;else{var t=H[H.length-1];Array.isArray(t)?t.push(e):Object.defineProperty(t,q,{value:e,writable:!0,enumerable:!0,configurable:!0})}if(null!==e&&"object"===typeof e)H.push(e),W=Array.isArray(e)?"beforeArrayValue":"beforePropertyName";else{var r=H[H.length-1];W=null==r?"end":Array.isArray(r)?"afterArrayValue":"afterPropertyValue"}}function ge(){H.pop();var e=H[H.length-1];W=null==e?"end":Array.isArray(e)?"afterArrayValue":"afterPropertyValue"}function ye(e){return xe(void 0===e?"JSON5: invalid end of input at "+U+":"+G:"JSON5: invalid character '"+_e(e)+"' at "+U+":"+G)}function ve(){return xe("JSON5: invalid end of input at "+U+":"+G)}function be(){return xe("JSON5: invalid identifier character at "+U+":"+(G-=5))}function we(e){console.warn("JSON5: '"+_e(e)+"' in strings is not valid ECMAScript; consider escaping")}function _e(e){var t={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"};if(t[e])return t[e];if(e<" "){var r=e.charCodeAt(0).toString(16);return"\\x"+("00"+r).substring(r.length)}return e}function xe(e){var t=new SyntaxError(e);return t.lineNumber=U,t.columnNumber=G,t}return{parse:ne,stringify:function(e,t,r){var n,o,i,a=[],s="",l="";if(null==t||"object"!==typeof t||Array.isArray(t)||(r=t.space,i=t.quote,t=t.replacer),"function"===typeof t)o=t;else if(Array.isArray(t)){n=[];for(var c=0,u=t;c0&&(r=Math.min(10,Math.floor(r)),l=" ".substr(0,r)):"string"===typeof r&&(l=r.substr(0,10)),h("",{"":e});function h(e,t){var r=t[e];switch(null!=r&&("function"===typeof r.toJSON5?r=r.toJSON5(e):"function"===typeof r.toJSON&&(r=r.toJSON(e))),o&&(r=o.call(t,e,r)),r instanceof Number?r=Number(r):r instanceof String?r=String(r):r instanceof Boolean&&(r=r.valueOf()),r){case null:return"null";case!0:return"true";case!1:return"false"}return"string"===typeof r?f(r,!1):"number"===typeof r?String(r):"object"===typeof r?Array.isArray(r)?y(r):m(r):void 0}function f(e){for(var t={"'":.1,'"':.2},r={"'":"\\'",'"':'\\"',"\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t","\v":"\\v","\0":"\\0","\u2028":"\\u2028","\u2029":"\\u2029"},n="",o=0;o=0)throw TypeError("Converting circular structure to JSON5");a.push(e);var t=s;s+=l;for(var r,o,i=[],c=0,u=n||Object.keys(e);c=0)throw TypeError("Converting circular structure to JSON5");a.push(e);var t=s;s+=l;for(var r,n=[],o=0;o{var n="__lodash_hash_undefined__",o="[object Function]",i="[object GeneratorFunction]",a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,s=/^\w*$/,l=/^\./,c=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,u=/\\(\\)?/g,d=/^\[object .+?Constructor\]$/,p="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,h="object"==typeof self&&self&&self.Object===Object&&self,f=p||h||Function("return this")();var m=Array.prototype,g=Function.prototype,y=Object.prototype,v=f["__core-js_shared__"],b=function(){var e=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),w=g.toString,_=y.hasOwnProperty,x=y.toString,k=RegExp("^"+w.call(_).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),S=f.Symbol,C=m.splice,E=F(f,"Map"),D=F(Object,"create"),A=S?S.prototype:void 0,T=A?A.toString:void 0;function M(e){var t=-1,r=e?e.length:0;for(this.clear();++t-1},O.prototype.set=function(e,t){var r=this.__data__,n=L(r,e);return n<0?r.push([e,t]):r[n][1]=t,this},R.prototype.clear=function(){this.__data__={hash:new M,map:new(E||O),string:new M}},R.prototype.delete=function(e){return I(this,e).delete(e)},R.prototype.get=function(e){return I(this,e).get(e)},R.prototype.has=function(e){return I(this,e).has(e)},R.prototype.set=function(e,t){return I(this,e).set(e,t),this};var $=B((function(e){var t;e=null==(t=e)?"":function(e){if("string"==typeof e)return e;if(H(e))return T?T.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}(t);var r=[];return l.test(e)&&r.push(""),e.replace(c,(function(e,t,n,o){r.push(n?o.replace(u,"$1"):t||e)})),r}));function P(e){if("string"==typeof e||H(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function B(e,t){if("function"!=typeof e||t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a),a};return r.cache=new(B.Cache||R),r}B.Cache=R;var z=Array.isArray;function W(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function H(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==x.call(e)}e.exports=function(e,t,r){var n=null==e?void 0:N(e,t);return void 0===n?r:n}},67:(e,t,r)=>{e=r.nmd(e);var n="__lodash_hash_undefined__",o=9007199254740991,i="[object Arguments]",a="[object Array]",s="[object Boolean]",l="[object Date]",c="[object Error]",u="[object Function]",d="[object Map]",p="[object Number]",h="[object Object]",f="[object Promise]",m="[object RegExp]",g="[object Set]",y="[object String]",v="[object Symbol]",b="[object WeakMap]",w="[object ArrayBuffer]",_="[object DataView]",x=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,S={};S["[object Float32Array]"]=S["[object Float64Array]"]=S["[object Int8Array]"]=S["[object Int16Array]"]=S["[object Int32Array]"]=S["[object Uint8Array]"]=S["[object Uint8ClampedArray]"]=S["[object Uint16Array]"]=S["[object Uint32Array]"]=!0,S[i]=S[a]=S[w]=S[s]=S[_]=S[l]=S[c]=S[u]=S[d]=S[p]=S[h]=S[m]=S[g]=S[y]=S[b]=!1;var C="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,E="object"==typeof self&&self&&self.Object===Object&&self,D=C||E||Function("return this")(),A=t&&!t.nodeType&&t,T=A&&e&&!e.nodeType&&e,M=T&&T.exports===A,O=M&&C.process,R=function(){try{return O&&O.binding&&O.binding("util")}catch(e){}}(),L=R&&R.isTypedArray;function N(e,t){for(var r=-1,n=null==e?0:e.length;++rs))return!1;var c=i.get(e);if(c&&i.get(t))return c==t;var u=-1,d=!0,p=2&r?new be:void 0;for(i.set(e,t),i.set(t,e);++u-1},ye.prototype.set=function(e,t){var r=this.__data__,n=xe(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},ve.prototype.clear=function(){this.size=0,this.__data__={hash:new ge,map:new(oe||ye),string:new ge}},ve.prototype.delete=function(e){var t=Me(this,e).delete(e);return this.size-=t?1:0,t},ve.prototype.get=function(e){return Me(this,e).get(e)},ve.prototype.has=function(e){return Me(this,e).has(e)},ve.prototype.set=function(e,t){var r=Me(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},be.prototype.add=be.prototype.push=function(e){return this.__data__.set(e,n),this},be.prototype.has=function(e){return this.__data__.has(e)},we.prototype.clear=function(){this.__data__=new ye,this.size=0},we.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},we.prototype.get=function(e){return this.__data__.get(e)},we.prototype.has=function(e){return this.__data__.has(e)},we.prototype.set=function(e,t){var r=this.__data__;if(r instanceof ye){var n=r.__data__;if(!oe||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new ve(n)}return r.set(e,t),this.size=r.size,this};var Re=ee?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r-1&&e%1==0&&e-1&&e%1==0&&e<=o}function We(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function He(e){return null!=e&&"object"==typeof e}var Ve=L?function(e){return function(t){return e(t)}}(L):function(e){return He(e)&&ze(e.length)&&!!S[ke(e)]};function Ue(e){return null!=(t=e)&&ze(t.length)&&!Be(t)?_e(e):De(e);var t}e.exports=function(e,t){return Ce(e,t)}},7685:(e,t,r)=>{var n=r(7937)(r(6552),"DataView");e.exports=n},8724:(e,t,r)=>{var n=r(7615),o=r(5051),i=r(2154),a=r(8734),s=r(2662);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(7563),o=r(9935),i=r(4190),a=r(1946),s=r(1714);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(7937)(r(6552),"Map");e.exports=n},4816:(e,t,r)=>{var n=r(7251),o=r(7159),i=r(438),a=r(9394),s=r(6874);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t{var n=r(7937)(r(6552),"Promise");e.exports=n},2070:(e,t,r)=>{var n=r(7937)(r(6552),"Set");e.exports=n},8902:(e,t,r)=>{var n=r(4816),o=r(6179),i=r(6704);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t{var n=r(7160),o=r(4545),i=r(793),a=r(7760),s=r(3892),l=r(6788);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},9812:(e,t,r)=>{var n=r(6552).Symbol;e.exports=n},2929:(e,t,r)=>{var n=r(6552).Uint8Array;e.exports=n},6600:(e,t,r)=>{var n=r(7937)(r(6552),"WeakMap");e.exports=n},726:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r{var n=r(3343),o=r(2777),i=r(4052),a=r(4543),s=r(9194),l=r(1268),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),u=!r&&o(e),d=!r&&!u&&a(e),p=!r&&!u&&!d&&l(e),h=r||u||d||p,f=h?n(e.length,String):[],m=f.length;for(var g in e)!t&&!c.call(e,g)||h&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||s(g,m))||f.push(g);return f}},149:e=>{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r{e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r{e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r{var n=r(1775),o=r(3211),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];i.call(e,t)&&o(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},1340:(e,t,r)=>{var n=r(3211);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},1104:(e,t,r)=>{var n=r(6614),o=r(8673);e.exports=function(e,t){return e&&n(t,o(t),e)}},5119:(e,t,r)=>{var n=r(6614),o=r(474);e.exports=function(e,t){return e&&n(t,o(t),e)}},1775:(e,t,r)=>{var n=r(5654);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},7132:(e,t,r)=>{var n=r(5538),o=r(726),i=r(8420),a=r(1104),s=r(5119),l=r(4353),c=r(1980),u=r(8124),d=r(9075),p=r(9395),h=r(8592),f=r(6924),m=r(8268),g=r(8630),y=r(310),v=r(4052),b=r(4543),w=r(7887),_=r(6686),x=r(5921),k=r(8673),S=r(474),C="[object Arguments]",E="[object Function]",D="[object Object]",A={};A[C]=A["[object Array]"]=A["[object ArrayBuffer]"]=A["[object DataView]"]=A["[object Boolean]"]=A["[object Date]"]=A["[object Float32Array]"]=A["[object Float64Array]"]=A["[object Int8Array]"]=A["[object Int16Array]"]=A["[object Int32Array]"]=A["[object Map]"]=A["[object Number]"]=A[D]=A["[object RegExp]"]=A["[object Set]"]=A["[object String]"]=A["[object Symbol]"]=A["[object Uint8Array]"]=A["[object Uint8ClampedArray]"]=A["[object Uint16Array]"]=A["[object Uint32Array]"]=!0,A["[object Error]"]=A[E]=A["[object WeakMap]"]=!1,e.exports=function e(t,r,T,M,O,R){var L,N=1&r,j=2&r,I=4&r;if(T&&(L=O?T(t,M,O,R):T(t)),void 0!==L)return L;if(!_(t))return t;var F=v(t);if(F){if(L=m(t),!N)return c(t,L)}else{var $=f(t),P=$==E||"[object GeneratorFunction]"==$;if(b(t))return l(t,N);if($==D||$==C||P&&!O){if(L=j||P?{}:y(t),!N)return j?d(t,s(L,t)):u(t,a(L,t))}else{if(!A[$])return O?t:{};L=g(t,$,N)}}R||(R=new n);var B=R.get(t);if(B)return B;R.set(t,L),x(t)?t.forEach((function(n){L.add(e(n,r,T,n,t,R))})):w(t)&&t.forEach((function(n,o){L.set(o,e(n,r,T,o,t,R))}));var z=F?void 0:(I?j?h:p:j?S:k)(t);return o(z||t,(function(n,o){z&&(n=t[o=n]),i(L,o,e(n,r,T,o,t,R))})),L}},1817:(e,t,r)=>{var n=r(6686),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},5652:(e,t,r)=>{var n=r(4664),o=r(6516)(n);e.exports=o},4258:(e,t,r)=>{var n=r(5906)();e.exports=n},4664:(e,t,r)=>{var n=r(4258),o=r(8673);e.exports=function(e,t){return e&&n(e,t,o)}},2969:(e,t,r)=>{var n=r(5324),o=r(914);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r{var n=r(8895),o=r(4052);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},6913:(e,t,r)=>{var n=r(9812),o=r(4552),i=r(6095),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},7894:e=>{e.exports=function(e,t){return null!=e&&t in Object(e)}},5193:(e,t,r)=>{var n=r(6913),o=r(2761);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},6989:(e,t,r)=>{var n=r(6399),o=r(2761);e.exports=function e(t,r,i,a,s){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!==t&&r!==r:n(t,r,i,a,e,s))}},6399:(e,t,r)=>{var n=r(5538),o=r(3668),i=r(9987),a=r(5752),s=r(6924),l=r(4052),c=r(4543),u=r(1268),d="[object Arguments]",p="[object Array]",h="[object Object]",f=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,m,g,y){var v=l(e),b=l(t),w=v?p:s(e),_=b?p:s(t),x=(w=w==d?h:w)==h,k=(_=_==d?h:_)==h,S=w==_;if(S&&c(e)){if(!c(t))return!1;v=!0,x=!1}if(S&&!x)return y||(y=new n),v||u(e)?o(e,t,r,m,g,y):i(e,t,w,r,m,g,y);if(!(1&r)){var C=x&&f.call(e,"__wrapped__"),E=k&&f.call(t,"__wrapped__");if(C||E){var D=C?e.value():e,A=E?t.value():t;return y||(y=new n),g(D,A,r,m,y)}}return!!S&&(y||(y=new n),a(e,t,r,m,g,y))}},5791:(e,t,r)=>{var n=r(6924),o=r(2761);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},6532:(e,t,r)=>{var n=r(5538),o=r(6989);e.exports=function(e,t,r,i){var a=r.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a{var n=r(1629),o=r(7857),i=r(6686),a=r(6996),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?p:s).test(a(e))}},449:(e,t,r)=>{var n=r(6924),o=r(2761);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},5428:(e,t,r)=>{var n=r(6913),o=r(6173),i=r(2761),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},9096:(e,t,r)=>{var n=r(9256),o=r(5029),i=r(3279),a=r(4052),s=r(3932);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):n(e):s(e)}},3713:(e,t,r)=>{var n=r(6140),o=r(1143),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},8122:(e,t,r)=>{var n=r(6686),o=r(6140),i=r(3516),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&r.push(s);return r}},8883:(e,t,r)=>{var n=r(5652),o=r(6571);e.exports=function(e,t){var r=-1,i=o(e)?Array(e.length):[];return n(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}},9256:(e,t,r)=>{var n=r(6532),o=r(3781),i=r(1310);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},5029:(e,t,r)=>{var n=r(6989),o=r(3097),i=r(3366),a=r(2597),s=r(9417),l=r(1310),c=r(914);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(r){var a=o(r,e);return void 0===a&&a===t?i(r,e):n(t,a,3)}}},396:e=>{e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},2866:(e,t,r)=>{var n=r(2969);e.exports=function(e){return function(t){return n(t,e)}}},3343:e=>{e.exports=function(e,t){for(var r=-1,n=Array(e);++r{var n=r(9812),o=r(149),i=r(4052),a=r(9841),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},7574:e=>{e.exports=function(e){return function(t){return e(t)}}},8114:e=>{e.exports=function(e,t){return e.has(t)}},5111:(e,t,r)=>{var n=r(3279);e.exports=function(e){return"function"==typeof e?e:n}},5324:(e,t,r)=>{var n=r(4052),o=r(2597),i=r(4079),a=r(1069);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},1516:(e,t,r)=>{var n=r(2929);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},4353:(e,t,r)=>{e=r.nmd(e);var n=r(6552),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}},6806:(e,t,r)=>{var n=r(1516);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},8962:e=>{var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},1295:(e,t,r)=>{var n=r(9812),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},8710:(e,t,r)=>{var n=r(1516);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},1980:e=>{e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r{var n=r(8420),o=r(1775);e.exports=function(e,t,r,i){var a=!r;r||(r={});for(var s=-1,l=t.length;++s{var n=r(6614),o=r(9621);e.exports=function(e,t){return n(e,o(e),t)}},9075:(e,t,r)=>{var n=r(6614),o=r(6326);e.exports=function(e,t){return n(e,o(e),t)}},3440:(e,t,r)=>{var n=r(6552)["__core-js_shared__"];e.exports=n},6516:(e,t,r)=>{var n=r(6571);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var i=r.length,a=t?i:-1,s=Object(r);(t?a--:++a{e.exports=function(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===r(i[l],l,i))break}return t}}},5654:(e,t,r)=>{var n=r(7937),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=o},3668:(e,t,r)=>{var n=r(8902),o=r(2587),i=r(8114);e.exports=function(e,t,r,a,s,l){var c=1&r,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),h=l.get(t);if(p&&h)return p==t&&h==e;var f=-1,m=!0,g=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++f{var n=r(9812),o=r(2929),i=r(3211),a=r(3668),s=r(4160),l=r(2074),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,d,p){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var f=1&n;if(h||(h=l),e.size!=t.size&&!f)return!1;var m=p.get(e);if(m)return m==t;n|=2,p.set(e,t);var g=a(h(e),h(t),n,c,d,p);return p.delete(e),g;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},5752:(e,t,r)=>{var n=r(9395),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,s){var l=1&r,c=n(e),u=c.length;if(u!=n(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:o.call(t,p)))return!1}var h=s.get(e),f=s.get(t);if(h&&f)return h==t&&f==e;var m=!0;s.set(e,t),s.set(t,e);for(var g=l;++d{var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},9395:(e,t,r)=>{var n=r(4262),o=r(9621),i=r(8673);e.exports=function(e){return n(e,i,o)}},8592:(e,t,r)=>{var n=r(4262),o=r(6326),i=r(474);e.exports=function(e){return n(e,i,o)}},2622:(e,t,r)=>{var n=r(705);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},3781:(e,t,r)=>{var n=r(9417),o=r(8673);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],a=e[i];t[r]=[i,a,n(a)]}return t}},7937:(e,t,r)=>{var n=r(6954),o=r(4657);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},5990:(e,t,r)=>{var n=r(3028)(Object.getPrototypeOf,Object);e.exports=n},4552:(e,t,r)=>{var n=r(9812),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(l){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},9621:(e,t,r)=>{var n=r(7529),o=r(7828),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},6326:(e,t,r)=>{var n=r(8895),o=r(5990),i=r(9621),a=r(7828),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:a;e.exports=s},6924:(e,t,r)=>{var n=r(7685),o=r(5204),i=r(5387),a=r(2070),s=r(6600),l=r(6913),c=r(6996),u="[object Map]",d="[object Promise]",p="[object Set]",h="[object WeakMap]",f="[object DataView]",m=c(n),g=c(o),y=c(i),v=c(a),b=c(s),w=l;(n&&w(new n(new ArrayBuffer(1)))!=f||o&&w(new o)!=u||i&&w(i.resolve())!=d||a&&w(new a)!=p||s&&w(new s)!=h)&&(w=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case m:return f;case g:return u;case y:return d;case v:return p;case b:return h}return t}),e.exports=w},4657:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},9057:(e,t,r)=>{var n=r(5324),o=r(2777),i=r(4052),a=r(9194),s=r(6173),l=r(914);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,d=!1;++c{var n=r(5575);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},5051:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},2154:(e,t,r)=>{var n=r(5575),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},8734:(e,t,r)=>{var n=r(5575),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},2662:(e,t,r)=>{var n=r(5575);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},8268:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},8630:(e,t,r)=>{var n=r(1516),o=r(6806),i=r(8962),a=r(1295),s=r(8710);e.exports=function(e,t,r){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,r);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},310:(e,t,r)=>{var n=r(1817),o=r(5990),i=r(6140);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},9194:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e{var n=r(4052),o=r(9841),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||(a.test(e)||!i.test(e)||null!=t&&e in Object(t))}},705:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},7857:(e,t,r)=>{var n=r(3440),o=function(){var e=/[^.]+$/.exec(n&&n.keys&&n.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();e.exports=function(e){return!!o&&o in e}},6140:e=>{var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},9417:(e,t,r)=>{var n=r(6686);e.exports=function(e){return e===e&&!n(e)}},7563:e=>{e.exports=function(){this.__data__=[],this.size=0}},9935:(e,t,r)=>{var n=r(1340),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)}},4190:(e,t,r)=>{var n=r(1340);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},1946:(e,t,r)=>{var n=r(1340);e.exports=function(e){return n(this.__data__,e)>-1}},1714:(e,t,r)=>{var n=r(1340);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},7251:(e,t,r)=>{var n=r(8724),o=r(7160),i=r(5204);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},7159:(e,t,r)=>{var n=r(2622);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},438:(e,t,r)=>{var n=r(2622);e.exports=function(e){return n(this,e).get(e)}},9394:(e,t,r)=>{var n=r(2622);e.exports=function(e){return n(this,e).has(e)}},6874:(e,t,r)=>{var n=r(2622);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},4160:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},1310:e=>{e.exports=function(e,t){return function(r){return null!=r&&(r[e]===t&&(void 0!==t||e in Object(r)))}}},8259:(e,t,r)=>{var n=r(5797);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},5575:(e,t,r)=>{var n=r(7937)(Object,"create");e.exports=n},1143:(e,t,r)=>{var n=r(3028)(Object.keys,Object);e.exports=n},3516:e=>{e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},6832:(e,t,r)=>{e=r.nmd(e);var n=r(7105),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{var e=i&&i.require&&i.require("util").types;return e||a&&a.binding&&a.binding("util")}catch(t){}}();e.exports=s},6095:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},3028:e=>{e.exports=function(e,t){return function(r){return e(t(r))}}},6552:(e,t,r)=>{var n=r(7105),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},6179:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},6704:e=>{e.exports=function(e){return this.__data__.has(e)}},2074:e=>{e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},4545:(e,t,r)=>{var n=r(7160);e.exports=function(){this.__data__=new n,this.size=0}},793:e=>{e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},7760:e=>{e.exports=function(e){return this.__data__.get(e)}},3892:e=>{e.exports=function(e){return this.__data__.has(e)}},6788:(e,t,r)=>{var n=r(7160),o=r(5204),i=r(4816);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},4079:(e,t,r)=>{var n=r(8259),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=a},914:(e,t,r)=>{var n=r(9841);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},6996:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(r){}try{return e+""}catch(r){}}return""}},6434:(e,t,r)=>{var n=r(7132);e.exports=function(e){return n(e,5)}},3211:e=>{e.exports=function(e,t){return e===t||e!==e&&t!==t}},840:(e,t,r)=>{var n=r(4664),o=r(5111);e.exports=function(e,t){return e&&n(e,o(t))}},3097:(e,t,r)=>{var n=r(2969);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},3366:(e,t,r)=>{var n=r(7894),o=r(9057);e.exports=function(e,t){return null!=e&&o(e,t,n)}},3279:e=>{e.exports=function(e){return e}},2777:(e,t,r)=>{var n=r(5193),o=r(2761),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},4052:e=>{var t=Array.isArray;e.exports=t},6571:(e,t,r)=>{var n=r(1629),o=r(6173);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},4543:(e,t,r)=>{e=r.nmd(e);var n=r(6552),o=r(14),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},1629:(e,t,r)=>{var n=r(6913),o=r(6686);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},6173:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},7887:(e,t,r)=>{var n=r(5791),o=r(7574),i=r(6832),a=i&&i.isMap,s=a?o(a):n;e.exports=s},6686:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},2761:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},2322:(e,t,r)=>{var n=r(6913),o=r(5990),i=r(2761),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==u}},5921:(e,t,r)=>{var n=r(449),o=r(7574),i=r(6832),a=i&&i.isSet,s=a?o(a):n;e.exports=s},620:(e,t,r)=>{var n=r(6913),o=r(4052),i=r(2761);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==n(e)}},9841:(e,t,r)=>{var n=r(6913),o=r(2761);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},1268:(e,t,r)=>{var n=r(5428),o=r(7574),i=r(6832),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},8673:(e,t,r)=>{var n=r(3204),o=r(3713),i=r(6571);e.exports=function(e){return i(e)?n(e):o(e)}},474:(e,t,r)=>{var n=r(3204),o=r(8122),i=r(6571);e.exports=function(e){return i(e)?n(e,!0):o(e)}},3411:(e,t,r)=>{var n=r(149),o=r(9096),i=r(8883),a=r(4052);e.exports=function(e,t){return(a(e)?n:i)(e,o(t,3))}},5797:(e,t,r)=>{var n=r(4816);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},3932:(e,t,r)=>{var n=r(396),o=r(2866),i=r(2597),a=r(914);e.exports=function(e){return i(e)?n(a(e)):o(e)}},7828:e=>{e.exports=function(){return[]}},14:e=>{e.exports=function(){return!1}},1069:(e,t,r)=>{var n=r(8541);e.exports=function(e){return null==e?"":n(e)}},1497:(e,t,r)=>{"use strict";var n=r(3218);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},5173:(e,t,r)=>{e.exports=r(1497)()},3218:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5494:function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&this.handleMarkers(k);var D=this.editor.$options;c.editorOptions.forEach((function(t){D.hasOwnProperty(t)?e.editor.setOption(t,e.props[t]):e.props[t]&&console.warn("ReactAce: editor option ".concat(t," was activated but not found. Did you need to import a related tool or did you possibly mispell the option?"))})),this.handleOptions(this.props),Array.isArray(_)&&_.forEach((function(t){"string"===typeof t.exec?e.editor.commands.bindKey(t.bindKey,t.exec):e.editor.commands.addCommand(t)})),b&&this.editor.setKeyboardHandler("ace/keyboard/"+b),r&&(this.refEditor.className+=" "+r),w&&w(this.editor),this.editor.resize(),a&&this.editor.focus()},t.prototype.componentDidUpdate=function(e){for(var t=e,r=this.props,n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getAceInstance=t.debounce=t.editorEvents=t.editorOptions=void 0;t.editorOptions=["minLines","maxLines","readOnly","highlightActiveLine","tabSize","enableBasicAutocompletion","enableLiveAutocompletion","enableSnippets"];t.editorEvents=["onChange","onFocus","onInput","onBlur","onCopy","onPaste","onSelectionChange","onCursorChange","onScroll","handleOptions","updateRef"];t.getAceInstance=function(){var e;return"undefined"===typeof window?(r.g.window={},e=r(6603),delete r.g.window):window.ace?(e=window.ace).acequire=window.ace.require||window.ace.acequire:e=r(6603),e};t.debounce=function(e,t){var r=null;return function(){var n=this,o=arguments;clearTimeout(r),r=setTimeout((function(){e.apply(n,o)}),t)}}},1869:(e,t,r)=>{"use strict";var n=r(5494);r(2734).default,r(225).default,t.Ay=n.default},225:function(e,t,r){"use strict";var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!==typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&e.handleMarkers(_,t);for(n=0;n{"use strict";var n=r(5043),o=r(8853);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r