Full Code of Billionmail/BillionMail for AI

dev 7916aea198d1 cached
1286 files
34.5 MB
4.0M tokens
23237 symbols
1 requests
Copy disabled (too large) Download .txt
Showing preview only (16,022K chars total). Download the full file to get everything.
Repository: Billionmail/BillionMail
Branch: dev
Commit: 7916aea198d1
Files: 1286
Total size: 34.5 MB

Directory structure:
gitextract_35lf4k5g/

├── .gitattributes
├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   ├── 00-bug.yaml
│   │   ├── 01-enhancement.yaml
│   │   ├── 02-documentation.yaml
│   │   └── 03-question.yaml
│   └── PULL_REQUEST_TEMPLATE.MD
├── .gitignore
├── Dockerfiles/
│   ├── core/
│   │   ├── Dockerfile
│   │   ├── core.sh
│   │   ├── fail2ban.conf
│   │   ├── repositories
│   │   ├── restart_fail2ban.sh
│   │   ├── stop-supervisor.sh
│   │   └── supervisord.conf
│   ├── dovecot/
│   │   ├── Dockerfile
│   │   ├── debian.sources
│   │   ├── dovecot.sh
│   │   ├── report-ham.sieve
│   │   ├── report-spam.sieve
│   │   ├── rotate_log.sh
│   │   ├── sa-learn-ham.sh
│   │   ├── sa-learn-spam.sh
│   │   ├── spam-to-folder.sieve
│   │   ├── stop-supervisor.sh
│   │   └── supervisord.conf
│   ├── postfix/
│   │   ├── Dockerfile
│   │   ├── debian.sources
│   │   ├── postfix.sh
│   │   ├── rotate_log.sh
│   │   ├── stop-supervisor.sh
│   │   └── supervisord.conf
│   └── rspamd/
│       ├── Dockerfile
│       ├── debian.sources
│       ├── rotate_log.sh
│       ├── rspamd.sh
│       ├── stop-supervisor.sh
│       └── supervisord.conf
├── LICENSE
├── README-ja.md
├── README-tr.md
├── README-zh_CN.md
├── README.md
├── SECURITY.md
├── bm.sh
├── conf/
│   ├── core/
│   │   └── fail2ban_init/
│   │       ├── filter.d/
│   │       │   ├── core-limit-filter.conf
│   │       │   └── roundcube-limit-filter.conf
│   │       └── jail.d/
│   │           ├── core-accesslimit.conf
│   │           └── roundcube-accesslimit.conf
│   ├── dovecot/
│   │   ├── conf.d/
│   │   │   ├── 10-auth.conf
│   │   │   ├── 10-director.conf
│   │   │   ├── 10-logging.conf
│   │   │   ├── 10-mail.conf
│   │   │   ├── 10-master.conf
│   │   │   ├── 10-ssl.conf
│   │   │   ├── 10-tcpwrapper.conf
│   │   │   ├── 15-lda.conf
│   │   │   ├── 15-mailboxes.conf
│   │   │   ├── 20-imap.conf
│   │   │   ├── 20-lmtp.conf
│   │   │   ├── 20-pop3.conf
│   │   │   ├── 90-acl.conf
│   │   │   ├── 90-plugin.conf
│   │   │   ├── 90-quota.conf
│   │   │   ├── 90-sieve-extprograms.conf
│   │   │   ├── 90-sieve.conf
│   │   │   ├── 90-sieve_rspamd.conf
│   │   │   ├── auth-checkpassword.conf.ext
│   │   │   ├── auth-deny.conf.ext
│   │   │   ├── auth-dict.conf.ext
│   │   │   ├── auth-ldap.conf.ext
│   │   │   ├── auth-master.conf.ext
│   │   │   ├── auth-passwdfile.conf.ext
│   │   │   ├── auth-sql.conf.ext
│   │   │   ├── auth-static.conf.ext
│   │   │   └── auth-system.conf.ext
│   │   ├── dovecot.conf
│   │   └── rsyslog.conf
│   ├── php/
│   │   ├── pear.conf
│   │   ├── php/
│   │   │   └── conf.d/
│   │   │       ├── docker-fpm.ini
│   │   │       ├── docker-php-ext-exif.ini
│   │   │       ├── docker-php-ext-gd.ini
│   │   │       ├── docker-php-ext-imagick.ini
│   │   │       ├── docker-php-ext-intl.ini
│   │   │       ├── docker-php-ext-ldap.ini
│   │   │       ├── docker-php-ext-opcache.ini
│   │   │       ├── docker-php-ext-pdo_mysql.ini
│   │   │       ├── docker-php-ext-pdo_pgsql.ini
│   │   │       ├── docker-php-ext-pspell.ini
│   │   │       ├── docker-php-ext-redis.ini
│   │   │       ├── docker-php-ext-sodium.ini
│   │   │       ├── docker-php-ext-zip.ini
│   │   │       └── roundcube-defaults.ini
│   │   ├── php-fpm.conf
│   │   ├── php-fpm.conf.default
│   │   └── php-fpm.d/
│   │       ├── docker.conf
│   │       ├── www.conf
│   │       └── www.conf.default
│   ├── postfix/
│   │   ├── main.cf
│   │   ├── master.cf
│   │   └── rsyslog.conf
│   ├── redis/
│   │   └── redis-conf.sh
│   ├── rspamd/
│   │   ├── local.d/
│   │   │   └── milter_headers.conf
│   │   ├── rspamd.conf
│   │   └── statistic.conf
│   ├── supplier/
│   │   └── template/
│   │       ├── Anthropic/
│   │       │   ├── config.json
│   │       │   ├── embedding.json
│   │       │   └── models.json
│   │       ├── DeepSeek/
│   │       │   ├── config.json
│   │       │   ├── embedding.json
│   │       │   └── models.json
│   │       ├── Gemini/
│   │       │   ├── config.json
│   │       │   ├── embedding.json
│   │       │   └── models.json
│   │       ├── Grok/
│   │       │   ├── config.json
│   │       │   ├── embedding.json
│   │       │   └── models.json
│   │       ├── Kimi/
│   │       │   ├── config.json
│   │       │   ├── embedding.json
│   │       │   └── models.json
│   │       └── OpenAI/
│   │           ├── config.json
│   │           ├── embedding.json
│   │           └── models.json
│   └── webmail/
│       ├── custom.inc.php
│       └── mime.types
├── core/
│   ├── .gitattributes
│   ├── .gitignore
│   ├── Makefile
│   ├── README.MD
│   ├── api/
│   │   ├── abnormal_recipient/
│   │   │   ├── abnormal_recipient.go
│   │   │   └── v1/
│   │   │       └── abnormal_recipient.go
│   │   ├── askai/
│   │   │   ├── askai.go
│   │   │   └── v1/
│   │   │       ├── chat.go
│   │   │       ├── project.go
│   │   │       └── supplier.go
│   │   ├── batch_mail/
│   │   │   ├── batch_mail.go
│   │   │   └── v1/
│   │   │       ├── api_mail.go
│   │   │       ├── batch_mail.go
│   │   │       ├── task_executor.go
│   │   │       └── unsubscribe.go
│   │   ├── campaign/
│   │   │   ├── campaign.go
│   │   │   └── v1/
│   │   │       └── subscription.go
│   │   ├── contact/
│   │   │   ├── contact.go
│   │   │   └── v1/
│   │   │       └── contact.go
│   │   ├── dockerapi/
│   │   │   ├── dockerapi.go
│   │   │   └── v1/
│   │   │       └── dockerapi.go
│   │   ├── domains/
│   │   │   ├── domains.go
│   │   │   └── v1/
│   │   │       ├── domain_blocklist.go
│   │   │       ├── domains.go
│   │   │       ├── multi_ip_domain.go
│   │   │       └── ssl.go
│   │   ├── email_template/
│   │   │   ├── email_template.go
│   │   │   └── v1/
│   │   │       └── email_template.go
│   │   ├── files/
│   │   │   ├── files.go
│   │   │   └── v1/
│   │   │       └── files.go
│   │   ├── languages/
│   │   │   ├── languages.go
│   │   │   └── v1/
│   │   │       └── languages.go
│   │   ├── mail_boxes/
│   │   │   ├── mail_boxes.go
│   │   │   └── v1/
│   │   │       └── mailboxes.go
│   │   ├── mail_services/
│   │   │   ├── mail_services.go
│   │   │   └── v1/
│   │   │       ├── common.go
│   │   │       ├── mail_bcc.go
│   │   │       ├── mail_forward.go
│   │   │       └── postfix_queue.go
│   │   ├── operation_log/
│   │   │   ├── operation_log.go
│   │   │   └── v1/
│   │   │       └── operation_log.go
│   │   ├── overview/
│   │   │   ├── overview.go
│   │   │   └── v1/
│   │   │       └── overview.go
│   │   ├── rbac/
│   │   │   ├── rbac.go
│   │   │   └── v1/
│   │   │       ├── account.go
│   │   │       ├── auth.go
│   │   │       ├── permission.go
│   │   │       └── role.go
│   │   ├── relay/
│   │   │   ├── relay.go
│   │   │   └── v1/
│   │   │       └── relay.go
│   │   ├── settings/
│   │   │   ├── settings.go
│   │   │   └── v1/
│   │   │       └── settings.go
│   │   ├── subscribe_list/
│   │   │   ├── subscribe_list.go
│   │   │   └── v1/
│   │   │       └── subscribe_list.go
│   │   └── tags/
│   │       ├── tags.go
│   │       └── v1/
│   │           └── tags.go
│   ├── cmd/
│   │   └── acme/
│   │       ├── Makefile
│   │       └── main.go
│   ├── frontend/
│   │   ├── .eslintrc-auto-import.json
│   │   ├── .gitignore
│   │   ├── .prettierignore
│   │   ├── .prettierrc
│   │   ├── README.md
│   │   ├── build/
│   │   │   ├── config.ts
│   │   │   └── utils.ts
│   │   ├── build-for-git.js
│   │   ├── eslint.config.mjs
│   │   ├── git-pull.js
│   │   ├── index.html
│   │   ├── package.json
│   │   ├── public/
│   │   │   └── static/
│   │   │       └── plugin/
│   │   │           └── monaco/
│   │   │               ├── base/
│   │   │               │   └── worker/
│   │   │               │       └── workerMain.js
│   │   │               ├── basic-languages/
│   │   │               │   ├── abap/
│   │   │               │   │   └── abap.js
│   │   │               │   ├── apex/
│   │   │               │   │   └── apex.js
│   │   │               │   ├── azcli/
│   │   │               │   │   └── azcli.js
│   │   │               │   ├── bat/
│   │   │               │   │   └── bat.js
│   │   │               │   ├── bicep/
│   │   │               │   │   └── bicep.js
│   │   │               │   ├── cameligo/
│   │   │               │   │   └── cameligo.js
│   │   │               │   ├── clojure/
│   │   │               │   │   └── clojure.js
│   │   │               │   ├── coffee/
│   │   │               │   │   └── coffee.js
│   │   │               │   ├── cpp/
│   │   │               │   │   └── cpp.js
│   │   │               │   ├── csharp/
│   │   │               │   │   └── csharp.js
│   │   │               │   ├── csp/
│   │   │               │   │   └── csp.js
│   │   │               │   ├── css/
│   │   │               │   │   └── css.js
│   │   │               │   ├── cypher/
│   │   │               │   │   └── cypher.js
│   │   │               │   ├── dart/
│   │   │               │   │   └── dart.js
│   │   │               │   ├── dockerfile/
│   │   │               │   │   └── dockerfile.js
│   │   │               │   ├── ecl/
│   │   │               │   │   └── ecl.js
│   │   │               │   ├── elixir/
│   │   │               │   │   └── elixir.js
│   │   │               │   ├── flow9/
│   │   │               │   │   └── flow9.js
│   │   │               │   ├── freemarker2/
│   │   │               │   │   └── freemarker2.js
│   │   │               │   ├── fsharp/
│   │   │               │   │   └── fsharp.js
│   │   │               │   ├── go/
│   │   │               │   │   └── go.js
│   │   │               │   ├── graphql/
│   │   │               │   │   └── graphql.js
│   │   │               │   ├── handlebars/
│   │   │               │   │   └── handlebars.js
│   │   │               │   ├── hcl/
│   │   │               │   │   └── hcl.js
│   │   │               │   ├── html/
│   │   │               │   │   └── html.js
│   │   │               │   ├── ini/
│   │   │               │   │   └── ini.js
│   │   │               │   ├── java/
│   │   │               │   │   └── java.js
│   │   │               │   ├── javascript/
│   │   │               │   │   └── javascript.js
│   │   │               │   ├── julia/
│   │   │               │   │   └── julia.js
│   │   │               │   ├── kotlin/
│   │   │               │   │   └── kotlin.js
│   │   │               │   ├── less/
│   │   │               │   │   └── less.js
│   │   │               │   ├── lexon/
│   │   │               │   │   └── lexon.js
│   │   │               │   ├── liquid/
│   │   │               │   │   └── liquid.js
│   │   │               │   ├── lua/
│   │   │               │   │   └── lua.js
│   │   │               │   ├── m3/
│   │   │               │   │   └── m3.js
│   │   │               │   ├── markdown/
│   │   │               │   │   └── markdown.js
│   │   │               │   ├── mdx/
│   │   │               │   │   └── mdx.js
│   │   │               │   ├── mips/
│   │   │               │   │   └── mips.js
│   │   │               │   ├── msdax/
│   │   │               │   │   └── msdax.js
│   │   │               │   ├── mysql/
│   │   │               │   │   └── mysql.js
│   │   │               │   ├── objective-c/
│   │   │               │   │   └── objective-c.js
│   │   │               │   ├── pascal/
│   │   │               │   │   └── pascal.js
│   │   │               │   ├── pascaligo/
│   │   │               │   │   └── pascaligo.js
│   │   │               │   ├── perl/
│   │   │               │   │   └── perl.js
│   │   │               │   ├── pgsql/
│   │   │               │   │   └── pgsql.js
│   │   │               │   ├── php/
│   │   │               │   │   └── php.js
│   │   │               │   ├── pla/
│   │   │               │   │   └── pla.js
│   │   │               │   ├── postiats/
│   │   │               │   │   └── postiats.js
│   │   │               │   ├── powerquery/
│   │   │               │   │   └── powerquery.js
│   │   │               │   ├── powershell/
│   │   │               │   │   └── powershell.js
│   │   │               │   ├── protobuf/
│   │   │               │   │   └── protobuf.js
│   │   │               │   ├── pug/
│   │   │               │   │   └── pug.js
│   │   │               │   ├── python/
│   │   │               │   │   └── python.js
│   │   │               │   ├── qsharp/
│   │   │               │   │   └── qsharp.js
│   │   │               │   ├── r/
│   │   │               │   │   └── r.js
│   │   │               │   ├── razor/
│   │   │               │   │   └── razor.js
│   │   │               │   ├── redis/
│   │   │               │   │   └── redis.js
│   │   │               │   ├── redshift/
│   │   │               │   │   └── redshift.js
│   │   │               │   ├── restructuredtext/
│   │   │               │   │   └── restructuredtext.js
│   │   │               │   ├── ruby/
│   │   │               │   │   └── ruby.js
│   │   │               │   ├── rust/
│   │   │               │   │   └── rust.js
│   │   │               │   ├── sb/
│   │   │               │   │   └── sb.js
│   │   │               │   ├── scala/
│   │   │               │   │   └── scala.js
│   │   │               │   ├── scheme/
│   │   │               │   │   └── scheme.js
│   │   │               │   ├── scss/
│   │   │               │   │   └── scss.js
│   │   │               │   ├── shell/
│   │   │               │   │   └── shell.js
│   │   │               │   ├── solidity/
│   │   │               │   │   └── solidity.js
│   │   │               │   ├── sophia/
│   │   │               │   │   └── sophia.js
│   │   │               │   ├── sparql/
│   │   │               │   │   └── sparql.js
│   │   │               │   ├── sql/
│   │   │               │   │   └── sql.js
│   │   │               │   ├── st/
│   │   │               │   │   └── st.js
│   │   │               │   ├── swift/
│   │   │               │   │   └── swift.js
│   │   │               │   ├── systemverilog/
│   │   │               │   │   └── systemverilog.js
│   │   │               │   ├── tcl/
│   │   │               │   │   └── tcl.js
│   │   │               │   ├── twig/
│   │   │               │   │   └── twig.js
│   │   │               │   ├── typescript/
│   │   │               │   │   └── typescript.js
│   │   │               │   ├── typespec/
│   │   │               │   │   └── typespec.js
│   │   │               │   ├── vb/
│   │   │               │   │   └── vb.js
│   │   │               │   ├── wgsl/
│   │   │               │   │   └── wgsl.js
│   │   │               │   ├── xml/
│   │   │               │   │   └── xml.js
│   │   │               │   └── yaml/
│   │   │               │       └── yaml.js
│   │   │               ├── editor/
│   │   │               │   ├── editor.main.css
│   │   │               │   └── editor.main.js
│   │   │               ├── language/
│   │   │               │   ├── css/
│   │   │               │   │   ├── cssMode.js
│   │   │               │   │   └── cssWorker.js
│   │   │               │   ├── html/
│   │   │               │   │   ├── htmlMode.js
│   │   │               │   │   └── htmlWorker.js
│   │   │               │   ├── json/
│   │   │               │   │   ├── jsonMode.js
│   │   │               │   │   └── jsonWorker.js
│   │   │               │   └── typescript/
│   │   │               │       ├── tsMode.js
│   │   │               │       └── tsWorker.js
│   │   │               ├── loader.js
│   │   │               ├── nls.messages.de.js
│   │   │               ├── nls.messages.es.js
│   │   │               ├── nls.messages.fr.js
│   │   │               ├── nls.messages.it.js
│   │   │               ├── nls.messages.ja.js
│   │   │               ├── nls.messages.ko.js
│   │   │               ├── nls.messages.ru.js
│   │   │               ├── nls.messages.zh-cn.js
│   │   │               └── nls.messages.zh-tw.js
│   │   ├── rsbuild.config.ts
│   │   ├── src/
│   │   │   ├── App.vue
│   │   │   ├── api/
│   │   │   │   ├── index.ts
│   │   │   │   └── modules/
│   │   │   │       ├── api.ts
│   │   │   │       ├── contacts/
│   │   │   │       │   ├── group.ts
│   │   │   │       │   ├── subscribers.ts
│   │   │   │       │   └── suspend.ts
│   │   │   │       ├── domain.ts
│   │   │   │       ├── mailbox.ts
│   │   │   │       ├── market/
│   │   │   │       │   ├── task.ts
│   │   │   │       │   └── template.ts
│   │   │   │       ├── overview.ts
│   │   │   │       ├── public.ts
│   │   │   │       ├── settings/
│   │   │   │       │   ├── bcc.ts
│   │   │   │       │   ├── common.ts
│   │   │   │       │   └── forward.ts
│   │   │   │       ├── settings.ts
│   │   │   │       ├── smtp.ts
│   │   │   │       └── user.ts
│   │   │   ├── components/
│   │   │   │   ├── base/
│   │   │   │   │   ├── bt-charts/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-close-btn/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-code/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-editor/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-file-upload/
│   │   │   │   │   │   ├── UploadError.vue
│   │   │   │   │   │   ├── UploadProgress.vue
│   │   │   │   │   │   ├── UploadPrompt.vue
│   │   │   │   │   │   ├── UploadSuccess.vue
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-help/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-logs/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-more/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-preview/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-route-tabs/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-search/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-table-batch/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-table-help/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-table-layout/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-table-password/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-time/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-time-range/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   └── bt-tips/
│   │   │   │   │       └── index.vue
│   │   │   │   ├── ui/
│   │   │   │   │   ├── bt-config-provider/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-form/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-modal/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-table-page/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   └── bt-tabs/
│   │   │   │   │       └── index.vue
│   │   │   │   └── utils/
│   │   │   │       ├── confirm/
│   │   │   │       │   ├── interface.ts
│   │   │   │       │   └── method.tsx
│   │   │   │       └── message/
│   │   │   │           ├── animation.scss
│   │   │   │           ├── index.module.scss
│   │   │   │           ├── index.tsx
│   │   │   │           ├── interface.ts
│   │   │   │           ├── message-list.tsx
│   │   │   │           └── method.ts
│   │   │   ├── config/
│   │   │   │   └── loadingBar.ts
│   │   │   ├── features/
│   │   │   │   └── EmailEditor/
│   │   │   │       ├── components/
│   │   │   │       │   ├── config/
│   │   │   │       │   │   ├── Button.vue
│   │   │   │       │   │   ├── Columns.vue
│   │   │   │       │   │   ├── Divider.vue
│   │   │   │       │   │   ├── Header.vue
│   │   │   │       │   │   ├── Image.vue
│   │   │   │       │   │   ├── Link.vue
│   │   │   │       │   │   ├── Menu.vue
│   │   │   │       │   │   ├── None.vue
│   │   │   │       │   │   ├── Text.vue
│   │   │   │       │   │   ├── columns/
│   │   │   │       │   │   │   ├── ColumnPropertiesPanel.vue
│   │   │   │       │   │   │   ├── ColumnsPanel.vue
│   │   │   │       │   │   │   └── RowPropertiesPanel.vue
│   │   │   │       │   │   └── menu/
│   │   │   │       │   │       ├── Item.vue
│   │   │   │       │   │       └── List.vue
│   │   │   │       │   ├── elements/
│   │   │   │       │   │   ├── Button.vue
│   │   │   │       │   │   ├── Copyright.vue
│   │   │   │       │   │   ├── Divider.vue
│   │   │   │       │   │   ├── Header.vue
│   │   │   │       │   │   ├── Image.vue
│   │   │   │       │   │   ├── Link.vue
│   │   │   │       │   │   ├── Menu.vue
│   │   │   │       │   │   └── Text.vue
│   │   │   │       │   ├── layout/
│   │   │   │       │   │   ├── Canvas.vue
│   │   │   │       │   │   ├── Cell.vue
│   │   │   │       │   │   ├── Columns.vue
│   │   │   │       │   │   ├── Section.vue
│   │   │   │       │   │   └── Toolbar.vue
│   │   │   │       │   ├── menu/
│   │   │   │       │   │   ├── block.vue
│   │   │   │       │   │   └── index.vue
│   │   │   │       │   ├── shared/
│   │   │   │       │   │   ├── Collapse.vue
│   │   │   │       │   │   ├── Editor.vue
│   │   │   │       │   │   └── None.vue
│   │   │   │       │   ├── sidebar/
│   │   │   │       │   │   ├── ConfigTabs.vue
│   │   │   │       │   │   ├── Content.vue
│   │   │   │       │   │   └── Page.vue
│   │   │   │       │   ├── style/
│   │   │   │       │   │   ├── BaseBorder.vue
│   │   │   │       │   │   ├── BaseContainer.vue
│   │   │   │       │   │   ├── BaseLabel.vue
│   │   │   │       │   │   ├── BaseNumber.vue
│   │   │   │       │   │   ├── Border.vue
│   │   │   │       │   │   ├── Color.vue
│   │   │   │       │   │   ├── ContentText.vue
│   │   │   │       │   │   ├── FontSize.vue
│   │   │   │       │   │   ├── FontWeight.vue
│   │   │   │       │   │   ├── Head.vue
│   │   │   │       │   │   ├── Image.vue
│   │   │   │       │   │   ├── Layout.vue
│   │   │   │       │   │   ├── LetterSpacing.vue
│   │   │   │       │   │   ├── Line.vue
│   │   │   │       │   │   ├── LineHeight.vue
│   │   │   │       │   │   ├── Link.vue
│   │   │   │       │   │   ├── MoreOptions.vue
│   │   │   │       │   │   ├── Padding.vue
│   │   │   │       │   │   ├── Rounded.vue
│   │   │   │       │   │   ├── TextAlign.vue
│   │   │   │       │   │   ├── Title.vue
│   │   │   │       │   │   ├── Width.vue
│   │   │   │       │   │   ├── WidthAuto.vue
│   │   │   │       │   │   ├── WidthNumber.vue
│   │   │   │       │   │   └── useNormalForm.tsx
│   │   │   │       │   └── toolbar/
│   │   │   │       │       └── index.vue
│   │   │   │       ├── config/
│   │   │   │       │   ├── addData.ts
│   │   │   │       │   └── config.ts
│   │   │   │       ├── containers/
│   │   │   │       │   ├── Editor.vue
│   │   │   │       │   ├── EditorMenu.vue
│   │   │   │       │   ├── EditorProvider.vue
│   │   │   │       │   └── EditorSidebar.vue
│   │   │   │       ├── hooks/
│   │   │   │       │   ├── useConfig.ts
│   │   │   │       │   ├── useContext.ts
│   │   │   │       │   ├── useHtml.ts
│   │   │   │       │   ├── useSetData.ts
│   │   │   │       │   ├── useStyle.ts
│   │   │   │       │   └── useVersion.ts
│   │   │   │       ├── index.vue
│   │   │   │       ├── store/
│   │   │   │       │   └── index.ts
│   │   │   │       ├── types/
│   │   │   │       │   └── base.ts
│   │   │   │       └── utils/
│   │   │   │           └── index.ts
│   │   │   ├── hooks/
│   │   │   │   ├── modal/
│   │   │   │   │   ├── interface.ts
│   │   │   │   │   └── useModal.tsx
│   │   │   │   ├── useCopy.ts
│   │   │   │   ├── useDataTable.ts
│   │   │   │   ├── useFormModal.ts
│   │   │   │   └── useTableData.ts
│   │   │   ├── i18n/
│   │   │   │   ├── index.ts
│   │   │   │   └── lang/
│   │   │   │       ├── en.json
│   │   │   │       ├── ja.json
│   │   │   │       └── zh.json
│   │   │   ├── index.ts
│   │   │   ├── layout/
│   │   │   │   ├── components/
│   │   │   │   │   ├── AppHeader.vue
│   │   │   │   │   ├── AppMain.vue
│   │   │   │   │   ├── Sidebar.vue
│   │   │   │   │   └── index.ts
│   │   │   │   └── index.vue
│   │   │   ├── router/
│   │   │   │   ├── constant.ts
│   │   │   │   ├── index.ts
│   │   │   │   ├── modules/
│   │   │   │   │   ├── api.ts
│   │   │   │   │   ├── automation.ts
│   │   │   │   │   ├── contacts.ts
│   │   │   │   │   ├── domain.ts
│   │   │   │   │   ├── logs.ts
│   │   │   │   │   ├── mailbox.ts
│   │   │   │   │   ├── market.ts
│   │   │   │   │   ├── overview.ts
│   │   │   │   │   ├── settings.ts
│   │   │   │   │   ├── smtp.ts
│   │   │   │   │   └── template.ts
│   │   │   │   └── router.ts
│   │   │   ├── store/
│   │   │   │   ├── index.ts
│   │   │   │   └── modules/
│   │   │   │       ├── global.ts
│   │   │   │       ├── menu.ts
│   │   │   │       ├── theme.ts
│   │   │   │       └── user.ts
│   │   │   ├── styles/
│   │   │   │   ├── index.scss
│   │   │   │   ├── naive.scss
│   │   │   │   ├── reset.scss
│   │   │   │   └── variables.scss
│   │   │   ├── types/
│   │   │   │   └── chart.ts
│   │   │   ├── utils/
│   │   │   │   ├── base.ts
│   │   │   │   ├── data.ts
│   │   │   │   ├── index.ts
│   │   │   │   ├── is.ts
│   │   │   │   ├── storage.ts
│   │   │   │   └── time.ts
│   │   │   └── views/
│   │   │       ├── api/
│   │   │       │   ├── components/
│   │   │       │   │   ├── ApiForm.vue
│   │   │       │   │   ├── ApiKey.vue
│   │   │       │   │   ├── ApiTest.vue
│   │   │       │   │   └── Overview.vue
│   │   │       │   ├── index.vue
│   │   │       │   └── types/
│   │   │       │       └── base.ts
│   │   │       ├── automation/
│   │   │       │   └── index.vue
│   │   │       ├── contacts/
│   │   │       │   ├── group/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── GroupAdd.vue
│   │   │       │   │   │   └── GroupRename.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   ├── temp.vue
│   │   │       │   │   └── types/
│   │   │       │   │       └── base.ts
│   │   │       │   ├── index.vue
│   │   │       │   ├── settings/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── Code.vue
│   │   │       │   │   │   ├── Editor.vue
│   │   │       │   │   │   ├── SubscribeForm.vue
│   │   │       │   │   │   ├── SubscribeSettings.vue
│   │   │       │   │   │   └── UnsubscribeSettings.vue
│   │   │       │   │   ├── hooks/
│   │   │       │   │   │   └── useContext.ts
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── types/
│   │   │       │   │       └── base.ts
│   │   │       │   ├── subscribers/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── ActiveSelect.vue
│   │   │       │   │   │   ├── BatchSetTag.vue
│   │   │       │   │   │   ├── GroupMultipleSelect.vue
│   │   │       │   │   │   ├── GroupSelect.vue
│   │   │       │   │   │   ├── SubscriberEdit.vue
│   │   │       │   │   │   ├── SubscriberImport.vue
│   │   │       │   │   │   ├── SubscriberTrends.vue
│   │   │       │   │   │   └── TagSelect.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── interface.ts
│   │   │       │   ├── suspend/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── Scan.vue
│   │   │       │   │   │   └── ScanLogs.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── types/
│   │   │       │   │       └── base.ts
│   │   │       │   └── tags/
│   │   │       │       ├── components/
│   │   │       │       │   ├── GroupSelect.vue
│   │   │       │       │   ├── TagBulk.vue
│   │   │       │       │   ├── TagForm.vue
│   │   │       │       │   └── TagSelect.vue
│   │   │       │       ├── index.vue
│   │   │       │       ├── service/
│   │   │       │       │   └── index.ts
│   │   │       │       └── types/
│   │   │       │           └── index.ts
│   │   │       ├── domain/
│   │   │       │   ├── components/
│   │   │       │   │   ├── BlacklistDetection.vue
│   │   │       │   │   ├── CheckLogs.vue
│   │   │       │   │   ├── DomainDns.vue
│   │   │       │   │   ├── DomainForm.vue
│   │   │       │   │   ├── DomainIpSet.vue
│   │   │       │   │   ├── DomainSelect.vue
│   │   │       │   │   ├── DomainSsl/
│   │   │       │   │   │   ├── OtherCert.vue
│   │   │       │   │   │   └── index.vue
│   │   │       │   │   ├── IpStatus.vue
│   │   │       │   │   ├── NotSpam.vue
│   │   │       │   │   └── WaitAndCheckDomainStatus.vue
│   │   │       │   ├── index.vue
│   │   │       │   ├── interface.ts
│   │   │       │   └── pages/
│   │   │       │       └── editDomain/
│   │   │       │           ├── components/
│   │   │       │           │   ├── AISettings.vue
│   │   │       │           │   ├── CompanyProfile.vue
│   │   │       │           │   ├── DomainConfiguration.vue
│   │   │       │           │   ├── FooterSettings.vue
│   │   │       │           │   ├── ProjectDetails.vue
│   │   │       │           │   ├── Sitemap.vue
│   │   │       │           │   ├── Styling.vue
│   │   │       │           │   ├── Typography.vue
│   │   │       │           │   └── mixin.scss
│   │   │       │           ├── controller/
│   │   │       │           │   ├── aiSettings.controller.ts
│   │   │       │           │   ├── companyProfile.controller.ts
│   │   │       │           │   ├── domainConfiguration.controller.ts
│   │   │       │           │   ├── footerSettings.controller.ts
│   │   │       │           │   ├── projectDetail.controller.ts
│   │   │       │           │   ├── sitemap.controller.ts
│   │   │       │           │   ├── styling.controller.ts
│   │   │       │           │   └── typography.controller.ts
│   │   │       │           ├── dto/
│   │   │       │           │   └── index.ts
│   │   │       │           ├── index.vue
│   │   │       │           └── store/
│   │   │       │               └── index.ts
│   │   │       ├── login/
│   │   │       │   └── index.vue
│   │   │       ├── logs/
│   │   │       │   ├── error/
│   │   │       │   │   ├── controller/
│   │   │       │   │   │   └── index.ts
│   │   │       │   │   └── index.vue
│   │   │       │   ├── index.vue
│   │   │       │   └── operate/
│   │   │       │       ├── controller/
│   │   │       │       │   └── index.ts
│   │   │       │       ├── index.vue
│   │   │       │       └── types/
│   │   │       │           └── index.ts
│   │   │       ├── mailbox/
│   │   │       │   ├── components/
│   │   │       │   │   ├── DomainSelect.vue
│   │   │       │   │   ├── MailboxBatchAdd.vue
│   │   │       │   │   ├── MailboxExport.vue
│   │   │       │   │   ├── MailboxForm.vue
│   │   │       │   │   └── MailboxImport.vue
│   │   │       │   ├── index.vue
│   │   │       │   └── interface.ts
│   │   │       ├── market/
│   │   │       │   ├── index.vue
│   │   │       │   ├── task/
│   │   │       │   │   ├── analytics.vue
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── CreateGroup.vue
│   │   │       │   │   │   ├── FromSelect.vue
│   │   │       │   │   │   ├── GroupSelect.vue
│   │   │       │   │   │   ├── TagSelect.vue
│   │   │       │   │   │   ├── TaskDetail.vue
│   │   │       │   │   │   ├── TaskStatus.vue
│   │   │       │   │   │   ├── TaskStatusDetails.vue
│   │   │       │   │   │   └── TemplateSelect.vue
│   │   │       │   │   ├── edit.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── interface.ts
│   │   │       │   └── template/
│   │   │       │       ├── components/
│   │   │       │       │   ├── TemplateAdd.vue
│   │   │       │       │   ├── TemplateForm.vue
│   │   │       │       │   └── TemplatePreview.vue
│   │   │       │       ├── edit.vue
│   │   │       │       ├── index.vue
│   │   │       │       └── interface.ts
│   │   │       ├── overview/
│   │   │       │   ├── components/
│   │   │       │   │   ├── BarChart.vue
│   │   │       │   │   ├── FilterBar.vue
│   │   │       │   │   ├── LineChart.vue
│   │   │       │   │   ├── MetricCard.vue
│   │   │       │   │   ├── ProviderTable.vue
│   │   │       │   │   ├── RateChartPanel.vue
│   │   │       │   │   ├── SendFailDetails.vue
│   │   │       │   │   └── SendTodayStats.vue
│   │   │       │   ├── index.vue
│   │   │       │   └── types/
│   │   │       │       └── index.ts
│   │   │       ├── settings/
│   │   │       │   ├── ai-model/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── AddModel.vue
│   │   │       │   │   │   ├── AddProvider.vue
│   │   │       │   │   │   └── ModelManager.vue
│   │   │       │   │   ├── controller/
│   │   │       │   │   │   └── index.ts
│   │   │       │   │   ├── dto/
│   │   │       │   │   │   └── index.ts
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── store/
│   │   │       │   │       └── index,.ts
│   │   │       │   ├── bcc/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   └── BccForm.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── type/
│   │   │       │   │       └── base.ts
│   │   │       │   ├── common/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── ApiSettings.vue
│   │   │       │   │   │   ├── Command.vue
│   │   │       │   │   │   ├── DomainSettings.vue
│   │   │       │   │   │   ├── IpWhitelistSettings.vue
│   │   │       │   │   │   ├── NetworkSettings.vue
│   │   │       │   │   │   ├── Notify/
│   │   │       │   │   │   │   ├── AlarmSettings.vue
│   │   │       │   │   │   │   ├── AutoCheckSettings.vue
│   │   │       │   │   │   │   ├── BlacklistSetting.vue
│   │   │       │   │   │   │   └── NotifySettings.vue
│   │   │       │   │   │   ├── PasswordSettings.vue
│   │   │       │   │   │   ├── PasswordStrengthIndicator.vue
│   │   │       │   │   │   ├── PortSettings.vue
│   │   │       │   │   │   ├── ProxySettings.vue
│   │   │       │   │   │   ├── SSLSettings.vue
│   │   │       │   │   │   ├── SecurityPathSettings.vue
│   │   │       │   │   │   ├── SecuritySettings.vue
│   │   │       │   │   │   ├── System/
│   │   │       │   │   │   │   └── RetentionTime.vue
│   │   │       │   │   │   ├── SystemSettings.vue
│   │   │       │   │   │   ├── TimezoneSettings.vue
│   │   │       │   │   │   └── UsernameSettings.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   ├── store/
│   │   │       │   │   │   └── index.ts
│   │   │       │   │   └── types/
│   │   │       │   │       └── base.ts
│   │   │       │   ├── forward/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   └── ForwardForm.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── types/
│   │   │       │   │       └── base.ts
│   │   │       │   ├── index.vue
│   │   │       │   ├── rspamd/
│   │   │       │   │   └── index.vue
│   │   │       │   ├── send-queue/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── param-config.vue
│   │   │       │   │   │   └── queue-logs.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── types/
│   │   │       │   │       └── index.ts
│   │   │       │   └── service/
│   │   │       │       ├── components/
│   │   │       │       │   ├── ServiceConfig.vue
│   │   │       │       │   └── SettingsService.vue
│   │   │       │       ├── index.vue
│   │   │       │       └── types/
│   │   │       │           └── common.ts
│   │   │       ├── smtp/
│   │   │       │   ├── components/
│   │   │       │   │   ├── SmtpCard.vue
│   │   │       │   │   ├── SmtpDns.vue
│   │   │       │   │   ├── SmtpForm.vue
│   │   │       │   │   ├── SmtpLoading.vue
│   │   │       │   │   └── SmtpStatus.vue
│   │   │       │   ├── index.vue
│   │   │       │   └── types/
│   │   │       │       └── base.ts
│   │   │       ├── template/
│   │   │       │   ├── components/
│   │   │       │   │   ├── CreateTplModal.vue
│   │   │       │   │   ├── TemplateAdd.vue
│   │   │       │   │   ├── TemplateForm.vue
│   │   │       │   │   └── TemplatePreview.vue
│   │   │       │   ├── controller/
│   │   │       │   │   └── index.ts
│   │   │       │   ├── dto/
│   │   │       │   │   └── index.ts
│   │   │       │   ├── edit.vue
│   │   │       │   ├── index.vue
│   │   │       │   ├── index.vue.bak
│   │   │       │   ├── interface.ts
│   │   │       │   ├── mixin.scss
│   │   │       │   ├── pages/
│   │   │       │   │   └── AITemplate/
│   │   │       │   │       ├── components/
│   │   │       │   │       │   └── MarkdownRender.vue
│   │   │       │   │       ├── controller/
│   │   │       │   │       │   └── index.ts
│   │   │       │   │       ├── dto/
│   │   │       │   │       │   └── index.ts
│   │   │       │   │       ├── highlight.theme.css
│   │   │       │   │       ├── index.vue
│   │   │       │   │       └── store/
│   │   │       │   │           └── index.ts
│   │   │       │   └── store/
│   │   │       │       └── index.ts
│   │   │       └── test/
│   │   │           └── index.vue
│   │   ├── tsconfig.json
│   │   ├── types/
│   │   │   ├── auto-import.d.ts
│   │   │   ├── components.d.ts
│   │   │   └── env.d.ts
│   │   └── uno.config.ts
│   ├── go-build.sh
│   ├── go.mod
│   ├── go.sum
│   ├── hack/
│   │   ├── config.yaml
│   │   ├── hack-cli.mk
│   │   └── hack.mk
│   ├── internal/
│   │   ├── cmd/
│   │   │   └── cmd.go
│   │   ├── consts/
│   │   │   ├── consts.go
│   │   │   ├── log_type.go
│   │   │   └── mail_providers.go
│   │   ├── controller/
│   │   │   ├── abnormal_recipient/
│   │   │   │   ├── abnormal_recipient.go
│   │   │   │   ├── abnormal_recipient_new.go
│   │   │   │   ├── abnormal_recipient_v1_abnormal_switch.go
│   │   │   │   ├── abnormal_recipient_v1_add_abnormal_recipient.go
│   │   │   │   ├── abnormal_recipient_v1_check_group.go
│   │   │   │   ├── abnormal_recipient_v1_clearabnormal_recipient.go
│   │   │   │   ├── abnormal_recipient_v1_delete_abnormal_recipient.go
│   │   │   │   ├── abnormal_recipient_v1_get_scan_log.go
│   │   │   │   ├── abnormal_recipient_v1_list_abnormal_recipient.go
│   │   │   │   └── abnormal_recipient_v1_set_abnormal_switch.go
│   │   │   ├── askai/
│   │   │   │   ├── askai.go
│   │   │   │   ├── askai_new.go
│   │   │   │   ├── askai_v1_chat.go
│   │   │   │   ├── askai_v1_project.go
│   │   │   │   └── askai_v1_supplier.go
│   │   │   ├── batch_mail/
│   │   │   │   ├── batch_mail.go
│   │   │   │   ├── batch_mail_new.go
│   │   │   │   ├── batch_mail_v1_api_mail_batch_send.go
│   │   │   │   ├── batch_mail_v1_api_mail_send.go
│   │   │   │   ├── batch_mail_v1_api_overview_stats.go
│   │   │   │   ├── batch_mail_v1_api_templates_create.go
│   │   │   │   ├── batch_mail_v1_api_templates_delete.go
│   │   │   │   ├── batch_mail_v1_api_templates_list.go
│   │   │   │   ├── batch_mail_v1_api_templates_update.go
│   │   │   │   ├── batch_mail_v1_create_task.go
│   │   │   │   ├── batch_mail_v1_delete_task.go
│   │   │   │   ├── batch_mail_v1_get_task_mail_logs.go
│   │   │   │   ├── batch_mail_v1_get_task_send_count.go
│   │   │   │   ├── batch_mail_v1_get_user_groups.go
│   │   │   │   ├── batch_mail_v1_list_tasks.go
│   │   │   │   ├── batch_mail_v1_pause_task.go
│   │   │   │   ├── batch_mail_v1_resume_task.go
│   │   │   │   ├── batch_mail_v1_send_test_email.go
│   │   │   │   ├── batch_mail_v1_task_info.go
│   │   │   │   ├── batch_mail_v1_task_mail_provider_stat.go
│   │   │   │   ├── batch_mail_v1_task_overview.go
│   │   │   │   ├── batch_mail_v1_task_stat_chart.go
│   │   │   │   ├── batch_mail_v1_unsubscribe.go
│   │   │   │   ├── batch_mail_v1_unsubscribe_new.go
│   │   │   │   ├── batch_mail_v1_update_task_info.go
│   │   │   │   └── batch_mail_v1_update_task_speed.go
│   │   │   ├── campaign/
│   │   │   │   ├── campaign.go
│   │   │   │   ├── campaign_new.go
│   │   │   │   └── campaign_v1_form.go
│   │   │   ├── contact/
│   │   │   │   ├── contact.go
│   │   │   │   ├── contact_new.go
│   │   │   │   ├── contact_v1_batch_tag_contacts.go
│   │   │   │   ├── contact_v1_create_group.go
│   │   │   │   ├── contact_v1_delete_contacts.go
│   │   │   │   ├── contact_v1_delete_contacts_ndp.go
│   │   │   │   ├── contact_v1_delete_group.go
│   │   │   │   ├── contact_v1_edit_contacts.go
│   │   │   │   ├── contact_v1_edit_contacts_ndp.go
│   │   │   │   ├── contact_v1_export_contacts.go
│   │   │   │   ├── contact_v1_get_contacts_trend.go
│   │   │   │   ├── contact_v1_get_group_contact_count.go
│   │   │   │   ├── contact_v1_get_group_info.go
│   │   │   │   ├── contact_v1_get_single_group_tag_contact_count.go
│   │   │   │   ├── contact_v1_import_contacts.go
│   │   │   │   ├── contact_v1_list_contacts.go
│   │   │   │   ├── contact_v1_list_contacts_groups.go
│   │   │   │   ├── contact_v1_list_contacts_ndp.go
│   │   │   │   ├── contact_v1_list_groups.go
│   │   │   │   ├── contact_v1_merge_contacts_groups.go
│   │   │   │   ├── contact_v1_update_contacts_group.go
│   │   │   │   ├── contact_v1_update_group.go
│   │   │   │   └── contact_v1_update_group_unsubscribe.go
│   │   │   ├── dockerapi/
│   │   │   │   ├── dockerapi.go
│   │   │   │   ├── dockerapi_new.go
│   │   │   │   ├── dockerapi_v1_container_state.go
│   │   │   │   ├── dockerapi_v1_list_container.go
│   │   │   │   └── dockerapi_v1_restart_container.go
│   │   │   ├── domains/
│   │   │   │   ├── domains.go
│   │   │   │   ├── domains_new.go
│   │   │   │   ├── domains_v1_add_domain.go
│   │   │   │   ├── domains_v1_apply_cert.go
│   │   │   │   ├── domains_v1_apply_multi_ip_domain_config.go
│   │   │   │   ├── domains_v1_check_blacklist.go
│   │   │   │   ├── domains_v1_console_apply_cert.go
│   │   │   │   ├── domains_v1_delete_domain.go
│   │   │   │   ├── domains_v1_fresh_dns_records.go
│   │   │   │   ├── domains_v1_get_blocklist_check_logs.go
│   │   │   │   ├── domains_v1_get_cert_list.go
│   │   │   │   ├── domains_v1_get_domain.go
│   │   │   │   ├── domains_v1_get_domain_all.go
│   │   │   │   ├── domains_v1_get_ssl.go
│   │   │   │   ├── domains_v1_set_default_domain.go
│   │   │   │   ├── domains_v1_set_ssl.go
│   │   │   │   ├── domains_v1_test_multi_ip_domain_config.go
│   │   │   │   ├── domains_v1_update_domain.go
│   │   │   │   └── domains_v1_update_domain_brandinfo.go
│   │   │   ├── email_template/
│   │   │   │   ├── email_template.go
│   │   │   │   ├── email_template_new.go
│   │   │   │   ├── email_template_v1_check_email_content.go
│   │   │   │   ├── email_template_v1_copy_template.go
│   │   │   │   ├── email_template_v1_create_template.go
│   │   │   │   ├── email_template_v1_delete_template.go
│   │   │   │   ├── email_template_v1_get_all_templates.go
│   │   │   │   ├── email_template_v1_get_template.go
│   │   │   │   ├── email_template_v1_list_templates.go
│   │   │   │   └── email_template_v1_update_template.go
│   │   │   ├── files/
│   │   │   │   ├── files.go
│   │   │   │   ├── files_new.go
│   │   │   │   ├── files_v1_download_file.go
│   │   │   │   └── files_v1_read_file.go
│   │   │   ├── languages/
│   │   │   │   ├── languages.go
│   │   │   │   ├── languages_new.go
│   │   │   │   ├── languages_v1_get_language.go
│   │   │   │   └── languages_v1_set_language.go
│   │   │   ├── mail_boxes/
│   │   │   │   ├── mail_boxes.go
│   │   │   │   ├── mail_boxes_new.go
│   │   │   │   ├── mail_boxes_v1_add_mailbox.go
│   │   │   │   ├── mail_boxes_v1_batch_add_mailbox.go
│   │   │   │   ├── mail_boxes_v1_delete_mailbox.go
│   │   │   │   ├── mail_boxes_v1_export_mailbox.go
│   │   │   │   ├── mail_boxes_v1_get_all_email.go
│   │   │   │   ├── mail_boxes_v1_get_all_mailbox.go
│   │   │   │   ├── mail_boxes_v1_get_mailbox.go
│   │   │   │   ├── mail_boxes_v1_import_mailbox.go
│   │   │   │   └── mail_boxes_v1_update_mailbox.go
│   │   │   ├── mail_services/
│   │   │   │   ├── mail_services.go
│   │   │   │   ├── mail_services_new.go
│   │   │   │   ├── mail_services_v1_add_bcc.go
│   │   │   │   ├── mail_services_v1_add_mail_forward.go
│   │   │   │   ├── mail_services_v1_delete_all_deferred_queue.go
│   │   │   │   ├── mail_services_v1_delete_bcc.go
│   │   │   │   ├── mail_services_v1_delete_mail_forward.go
│   │   │   │   ├── mail_services_v1_delete_postfix_queue_by_id.go
│   │   │   │   ├── mail_services_v1_edit_bcc.go
│   │   │   │   ├── mail_services_v1_edit_mail_forward.go
│   │   │   │   ├── mail_services_v1_flush_postfix_queue.go
│   │   │   │   ├── mail_services_v1_flush_postfix_queue_by_id.go
│   │   │   │   ├── mail_services_v1_get_bcc_list.go
│   │   │   │   ├── mail_services_v1_get_config_file.go
│   │   │   │   ├── mail_services_v1_get_mail_forward_list.go
│   │   │   │   ├── mail_services_v1_get_postfix_config.go
│   │   │   │   ├── mail_services_v1_get_postfix_queue_info.go
│   │   │   │   ├── mail_services_v1_get_postfix_queue_list.go
│   │   │   │   ├── mail_services_v1_save_config_file.go
│   │   │   │   ├── mail_services_v1_set_all_postfix_config.go
│   │   │   │   └── mail_services_v1_set_postfix_config.go
│   │   │   ├── middleware/
│   │   │   │   └── ip_whitelist.go
│   │   │   ├── operation_log/
│   │   │   │   ├── operation_log.go
│   │   │   │   ├── operation_log_new.go
│   │   │   │   ├── operation_log_v1_get_latest_output_log.go
│   │   │   │   ├── operation_log_v1_get_operation_log.go
│   │   │   │   ├── operation_log_v1_get_operation_type.go
│   │   │   │   └── operation_log_v1_get_output_log.go
│   │   │   ├── overview/
│   │   │   │   ├── overview.go
│   │   │   │   ├── overview_new.go
│   │   │   │   ├── overview_v1_failed_list.go
│   │   │   │   └── overview_v1_overview.go
│   │   │   ├── rbac/
│   │   │   │   ├── rbac.go
│   │   │   │   ├── rbac_new.go
│   │   │   │   ├── rbac_v1_auth.go
│   │   │   │   └── rbac_v1_get_validate_code.go
│   │   │   ├── relay/
│   │   │   │   ├── relay.go
│   │   │   │   ├── relay_new.go
│   │   │   │   ├── relay_v1_create_relay_config.go
│   │   │   │   ├── relay_v1_delete_relay_config.go
│   │   │   │   ├── relay_v1_get_unbound_domains.go
│   │   │   │   ├── relay_v1_list_relay_configs.go
│   │   │   │   ├── relay_v1_test_smtp_connection.go
│   │   │   │   └── relay_v1_update_relay_config.go
│   │   │   ├── settings/
│   │   │   │   ├── settings.go
│   │   │   │   ├── settings_new.go
│   │   │   │   ├── settings_v1_add_ip_whitelist.go
│   │   │   │   ├── settings_v1_delete_ip_whitelist.go
│   │   │   │   ├── settings_v1_delete_reverse_proxy_domain.go
│   │   │   │   ├── settings_v1_get_system_config.go
│   │   │   │   ├── settings_v1_get_time_zone_list.go
│   │   │   │   ├── settings_v1_get_version.go
│   │   │   │   ├── settings_v1_regenerate_api_token.go
│   │   │   │   ├── settings_v1_set_api_doc_swagger.go
│   │   │   │   ├── settings_v1_set_blacklist_alert.go
│   │   │   │   ├── settings_v1_set_blacklist_alert_settings.go
│   │   │   │   ├── settings_v1_set_blacklist_auto_scan.go
│   │   │   │   ├── settings_v1_set_ip_whitelist.go
│   │   │   │   ├── settings_v1_set_reverse_proxy_domain.go
│   │   │   │   ├── settings_v1_set_ssl_config.go
│   │   │   │   ├── settings_v1_set_system_config.go
│   │   │   │   └── settings_v1_set_system_config_key.go
│   │   │   ├── subscribe_list/
│   │   │   │   ├── subscribe_list.go
│   │   │   │   ├── subscribe_list_new.go
│   │   │   │   ├── subscribe_list_v1_subscribe_confirm.go
│   │   │   │   └── subscribe_list_v1_subscribe_submit.go
│   │   │   └── tags/
│   │   │       ├── tags.go
│   │   │       ├── tags_new.go
│   │   │       ├── tags_v1_batch_tag_contacts.go
│   │   │       ├── tags_v1_tag_all.go
│   │   │       ├── tags_v1_tag_create.go
│   │   │       ├── tags_v1_tag_delete.go
│   │   │       ├── tags_v1_tag_list.go
│   │   │       └── tags_v1_tag_update.go
│   │   ├── dao/
│   │   │   └── .gitkeep
│   │   ├── logic/
│   │   │   └── .gitkeep
│   │   ├── model/
│   │   │   ├── .gitkeep
│   │   │   ├── blacklist.go
│   │   │   ├── do/
│   │   │   │   ├── .gitkeep
│   │   │   │   ├── account.go
│   │   │   │   ├── permission.go
│   │   │   │   └── role.go
│   │   │   ├── entity/
│   │   │   │   ├── .gitkeep
│   │   │   │   ├── account.go
│   │   │   │   ├── account_role.go
│   │   │   │   ├── alias.go
│   │   │   │   ├── alias_domain.go
│   │   │   │   ├── batch_mail.go
│   │   │   │   ├── bm_bcc.go
│   │   │   │   ├── bm_relay.go
│   │   │   │   ├── bm_relay_config.go
│   │   │   │   ├── bm_relay_domain_mapping.go
│   │   │   │   ├── domain.go
│   │   │   │   ├── letsencrypt.go
│   │   │   │   ├── mailbox.go
│   │   │   │   ├── operation_log.go
│   │   │   │   ├── permission.go
│   │   │   │   ├── role.go
│   │   │   │   ├── role_permission.go
│   │   │   │   └── sender_ip_warmup_models.go
│   │   │   └── rbac.go
│   │   ├── packed/
│   │   │   └── packed.go
│   │   └── service/
│   │       ├── .gitkeep
│   │       ├── abnormal_recipient/
│   │       │   └── abnormal_recipient.go
│   │       ├── acme/
│   │       │   ├── acme.go
│   │       │   ├── cli.go
│   │       │   ├── cmd.go
│   │       │   └── renew.go
│   │       ├── askai/
│   │       │   ├── chat.go
│   │       │   ├── openai.go
│   │       │   ├── project.go
│   │       │   ├── prompts.go
│   │       │   └── supplier.go
│   │       ├── batch_mail/
│   │       │   ├── api_mail_send.go
│   │       │   ├── batch_mail.go
│   │       │   ├── jwt.go
│   │       │   ├── simple_rate_controller.go
│   │       │   ├── spintax.go
│   │       │   ├── stat_service.go
│   │       │   ├── task_executor.go
│   │       │   └── template_render.go
│   │       ├── collect/
│   │       │   └── collect.go
│   │       ├── compress/
│   │       │   ├── gzip.go
│   │       │   ├── rar.go
│   │       │   └── zip.go
│   │       ├── contact/
│   │       │   └── contact.go
│   │       ├── contact_activity/
│   │       │   └── contact_activity.go
│   │       ├── database_initialization/
│   │       │   ├── batch_mail.go
│   │       │   ├── database_initialization.go
│   │       │   ├── letsencrypty.go
│   │       │   ├── mail_serv.go
│   │       │   ├── maillog_stat.go
│   │       │   ├── multi_ip_domain.go
│   │       │   ├── operation_log.go
│   │       │   ├── options.go
│   │       │   ├── rbac.go
│   │       │   ├── sender_ip_warmup.go
│   │       │   ├── smtp_relay.go
│   │       │   └── utils.go
│   │       ├── dockerapi/
│   │       │   └── dockerapi.go
│   │       ├── domains/
│   │       │   ├── baseurl.go
│   │       │   ├── blacklist.go
│   │       │   ├── dns.go
│   │       │   ├── domains.go
│   │       │   └── ssl.go
│   │       ├── email_template/
│   │       │   └── email_template.go
│   │       ├── fail2ban/
│   │       │   └── access_log_detection.go
│   │       ├── log_maintenance/
│   │       │   └── core_log.go
│   │       ├── mail_boxes/
│   │       │   ├── check_quota_alerts.go
│   │       │   ├── init_quota_plugin.go
│   │       │   ├── mail_boxes.go
│   │       │   └── update_used_space.go
│   │       ├── mail_service/
│   │       │   ├── bcc.go
│   │       │   ├── certificate.go
│   │       │   ├── fix.go
│   │       │   └── sending.go
│   │       ├── maillog_stat/
│   │       │   ├── aggregate.go
│   │       │   ├── encryption.go
│   │       │   ├── encryption_test.go
│   │       │   ├── maillog_stat.go
│   │       │   ├── overview.go
│   │       │   ├── tracker.go
│   │       │   └── tracker_test.go
│   │       ├── middlewares/
│   │       │   ├── HandleApiResponse.go
│   │       │   └── rbac.go
│   │       ├── multi_ip_domain/
│   │       │   ├── config_manager.go
│   │       │   └── multi_ip_domain.go
│   │       ├── phpfpm/
│   │       │   └── phpfpm.go
│   │       ├── public/
│   │       │   ├── common.go
│   │       │   ├── mail_stat_helpers.go
│   │       │   ├── operation_log.go
│   │       │   ├── options_mgr.go
│   │       │   ├── self_signed_cert.go
│   │       │   └── validator.go
│   │       ├── rbac/
│   │       │   ├── account.go
│   │       │   ├── jwt.go
│   │       │   ├── permission.go
│   │       │   ├── rbac.go
│   │       │   ├── role.go
│   │       │   ├── service.go
│   │       │   ├── validate_code.go
│   │       │   └── validate_code_test.go
│   │       ├── redis_initialization/
│   │       │   └── redis_initialization.go
│   │       ├── relay/
│   │       │   ├── config_sync.go
│   │       │   └── smtp_connection_helper.go
│   │       ├── rspamd/
│   │       │   └── worker_controller.go
│   │       ├── settings/
│   │       │   └── billionmail_hostname.go
│   │       ├── timers/
│   │       │   └── timers.go
│   │       └── warmup/
│   │           ├── rate_limiter.go
│   │           ├── sender_ip_mail_provider.go
│   │           ├── sender_ip_warmup.go
│   │           ├── warmup_daily_upstairs.go
│   │           └── warmup_with_campaigns.go
│   ├── languages/
│   │   ├── all/
│   │   │   ├── de.json
│   │   │   ├── en.json
│   │   │   ├── ja.json
│   │   │   ├── tr.json
│   │   │   └── zh.json
│   │   ├── de/
│   │   │   └── server.json
│   │   ├── en/
│   │   │   └── server.json
│   │   ├── ja/
│   │   │   └── server.json
│   │   ├── settings.json
│   │   ├── tr/
│   │   │   └── server.json
│   │   └── zh/
│   │       └── server.json
│   ├── main.go
│   ├── manifest/
│   │   ├── deploy/
│   │   │   └── kustomize/
│   │   │       ├── base/
│   │   │       │   ├── deployment.yaml
│   │   │       │   ├── kustomization.yaml
│   │   │       │   └── service.yaml
│   │   │       └── overlays/
│   │   │           └── develop/
│   │   │               ├── configmap.yaml
│   │   │               ├── deployment.yaml
│   │   │               └── kustomization.yaml
│   │   ├── docker/
│   │   │   ├── Dockerfile
│   │   │   └── docker.sh
│   │   ├── i18n/
│   │   │   └── .gitkeep
│   │   └── protobuf/
│   │       └── .keep-if-necessary
│   ├── public/
│   │   ├── dist/
│   │   │   ├── index.html
│   │   │   └── static/
│   │   │       ├── css/
│   │   │       │   ├── async/
│   │   │       │   │   ├── 1095.b0c2adf5.css
│   │   │       │   │   ├── 1565.8f8d53c0.css
│   │   │       │   │   ├── 2103.5843b2d6.css
│   │   │       │   │   ├── 2364.b852af68.css
│   │   │       │   │   ├── 2559.0376b199.css
│   │   │       │   │   ├── 3324.7fea3ced.css
│   │   │       │   │   ├── 3535.3a6dc340.css
│   │   │       │   │   ├── 3635.fafa0516.css
│   │   │       │   │   ├── 3643.895949a5.css
│   │   │       │   │   ├── 3800.8611c02d.css
│   │   │       │   │   ├── 4602.3a6dc340.css
│   │   │       │   │   ├── 4904.e7c58895.css
│   │   │       │   │   ├── 5410.bfbdc7d0.css
│   │   │       │   │   ├── 5779.4e44ff7b.css
│   │   │       │   │   ├── 5854.8fdd9416.css
│   │   │       │   │   ├── 6463.e30f898f.css
│   │   │       │   │   ├── 6969.3a6dc340.css
│   │   │       │   │   ├── 7704.98be8394.css
│   │   │       │   │   ├── 7907.62c62088.css
│   │   │       │   │   ├── 7981.58f07aaf.css
│   │   │       │   │   ├── 8013.f0e0f9ae.css
│   │   │       │   │   ├── 8441.114b87b8.css
│   │   │       │   │   ├── 85.2d8f30c3.css
│   │   │       │   │   ├── 8749.468a6685.css
│   │   │       │   │   ├── 8813.174c369e.css
│   │   │       │   │   ├── 8838.1a1519ba.css
│   │   │       │   │   ├── 9207.db2f1c3e.css
│   │   │       │   │   ├── 9234.ccfe1ed4.css
│   │   │       │   │   ├── 9252.4733345f.css
│   │   │       │   │   ├── 9380.c59177f7.css
│   │   │       │   │   ├── 9468.3a6dc340.css
│   │   │       │   │   ├── 9673.0376b199.css
│   │   │       │   │   ├── 9767.02f21d25.css
│   │   │       │   │   └── 9926.fd2f892d.css
│   │   │       │   └── index.bf8a188f.css
│   │   │       ├── js/
│   │   │       │   ├── 7445.eedfb53a.js
│   │   │       │   ├── 7445.eedfb53a.js.LICENSE.txt
│   │   │       │   ├── async/
│   │   │       │   │   ├── 1069.4c61d773.js
│   │   │       │   │   ├── 1095.4072569d.js
│   │   │       │   │   ├── 1565.1299bf75.js
│   │   │       │   │   ├── 1799.82bcc179.js
│   │   │       │   │   ├── 2017.ed71b520.js
│   │   │       │   │   ├── 2103.f9529831.js
│   │   │       │   │   ├── 2137.31d4654f.js
│   │   │       │   │   ├── 2364.90458e25.js
│   │   │       │   │   ├── 243.cc15c5a2.js
│   │   │       │   │   ├── 2559.56abb865.js
│   │   │       │   │   ├── 2564.1229e8c7.js
│   │   │       │   │   ├── 2823.47af3d18.js
│   │   │       │   │   ├── 2880.9a653202.js
│   │   │       │   │   ├── 2890.69346f76.js
│   │   │       │   │   ├── 3126.4f62a4e3.js
│   │   │       │   │   ├── 3221.496ab585.js
│   │   │       │   │   ├── 3324.fd04b5cf.js
│   │   │       │   │   ├── 3354.af31be73.js
│   │   │       │   │   ├── 3444.11a922bb.js
│   │   │       │   │   ├── 3535.b0ca7292.js
│   │   │       │   │   ├── 3606.c5bd7813.js
│   │   │       │   │   ├── 3635.93c2a49b.js
│   │   │       │   │   ├── 3643.85a80c4b.js
│   │   │       │   │   ├── 3697.9e630381.js
│   │   │       │   │   ├── 3697.9e630381.js.LICENSE.txt
│   │   │       │   │   ├── 37.d902cb7a.js
│   │   │       │   │   ├── 3800.4a4d937c.js
│   │   │       │   │   ├── 424.a8b4d687.js
│   │   │       │   │   ├── 424.a8b4d687.js.LICENSE.txt
│   │   │       │   │   ├── 4317.78a8cfe0.js
│   │   │       │   │   ├── 4485.54eed143.js
│   │   │       │   │   ├── 4528.13437601.js
│   │   │       │   │   ├── 4602.42684ca4.js
│   │   │       │   │   ├── 4636.a6e49596.js
│   │   │       │   │   ├── 4904.46e3c77d.js
│   │   │       │   │   ├── 5293.1b74ca02.js
│   │   │       │   │   ├── 5410.7031af32.js
│   │   │       │   │   ├── 5461.31057e0f.js
│   │   │       │   │   ├── 5498.56da57d8.js
│   │   │       │   │   ├── 5529.b849ba4d.js
│   │   │       │   │   ├── 5530.ddd3c262.js
│   │   │       │   │   ├── 5701.0a022844.js
│   │   │       │   │   ├── 5757.1953a93d.js
│   │   │       │   │   ├── 5779.23b65101.js
│   │   │       │   │   ├── 579.f4df1ad3.js
│   │   │       │   │   ├── 5854.90a82cfb.js
│   │   │       │   │   ├── 5867.127e2faf.js
│   │   │       │   │   ├── 6061.0e2ac705.js
│   │   │       │   │   ├── 6194.9d546878.js
│   │   │       │   │   ├── 6366.11e68ac4.js
│   │   │       │   │   ├── 6463.9ef25a0c.js
│   │   │       │   │   ├── 6646.81304560.js
│   │   │       │   │   ├── 6803.12301c63.js
│   │   │       │   │   ├── 69.07f369ca.js
│   │   │       │   │   ├── 6969.10c6c9cf.js
│   │   │       │   │   ├── 7222.4834acb2.js
│   │   │       │   │   ├── 7235.c4aee453.js
│   │   │       │   │   ├── 7303.1f99ded4.js
│   │   │       │   │   ├── 7331.d476ee5b.js
│   │   │       │   │   ├── 7704.651d709f.js
│   │   │       │   │   ├── 7718.1e6ed6c1.js
│   │   │       │   │   ├── 7907.f2482293.js
│   │   │       │   │   ├── 7981.51ac0ce2.js
│   │   │       │   │   ├── 8013.4cc8e47f.js
│   │   │       │   │   ├── 8072.b1d94d7d.js
│   │   │       │   │   ├── 8072.b1d94d7d.js.LICENSE.txt
│   │   │       │   │   ├── 8128.36b52987.js
│   │   │       │   │   ├── 8324.54f4183a.js
│   │   │       │   │   ├── 8396.b4461a1b.js
│   │   │       │   │   ├── 8441.d03d41cd.js
│   │   │       │   │   ├── 85.b5140808.js
│   │   │       │   │   ├── 8559.9eb2b019.js
│   │   │       │   │   ├── 8634.1021226f.js
│   │   │       │   │   ├── 8749.38674ba6.js
│   │   │       │   │   ├── 8813.ba11c92d.js
│   │   │       │   │   ├── 8838.f2be7192.js
│   │   │       │   │   ├── 8943.81a21695.js
│   │   │       │   │   ├── 8953.7c602bac.js
│   │   │       │   │   ├── 9207.2c09dce2.js
│   │   │       │   │   ├── 9234.3eaec856.js
│   │   │       │   │   ├── 9252.33108600.js
│   │   │       │   │   ├── 9372.19031b29.js
│   │   │       │   │   ├── 9380.2af01083.js
│   │   │       │   │   ├── 9468.bae2140e.js
│   │   │       │   │   ├── 9602.03559ada.js
│   │   │       │   │   ├── 9673.f8b256f7.js
│   │   │       │   │   ├── 9767.613d0426.js
│   │   │       │   │   ├── 9780.7a1639df.js
│   │   │       │   │   ├── 9812.a87bb1d1.js
│   │   │       │   │   └── 9926.7c24cd6e.js
│   │   │       │   ├── index.bc6e5fe9.js
│   │   │       │   ├── lib-axios.a492ca1d.js
│   │   │       │   ├── lib-router.1d9495fc.js
│   │   │       │   ├── lib-router.1d9495fc.js.LICENSE.txt
│   │   │       │   ├── lib-vue.1514baec.js
│   │   │       │   └── lib-vue.1514baec.js.LICENSE.txt
│   │   │       └── plugin/
│   │   │           └── monaco/
│   │   │               ├── base/
│   │   │               │   └── worker/
│   │   │               │       └── workerMain.js
│   │   │               ├── basic-languages/
│   │   │               │   ├── abap/
│   │   │               │   │   └── abap.js
│   │   │               │   ├── apex/
│   │   │               │   │   └── apex.js
│   │   │               │   ├── azcli/
│   │   │               │   │   └── azcli.js
│   │   │               │   ├── bat/
│   │   │               │   │   └── bat.js
│   │   │               │   ├── bicep/
│   │   │               │   │   └── bicep.js
│   │   │               │   ├── cameligo/
│   │   │               │   │   └── cameligo.js
│   │   │               │   ├── clojure/
│   │   │               │   │   └── clojure.js
│   │   │               │   ├── coffee/
│   │   │               │   │   └── coffee.js
│   │   │               │   ├── cpp/
│   │   │               │   │   └── cpp.js
│   │   │               │   ├── csharp/
│   │   │               │   │   └── csharp.js
│   │   │               │   ├── csp/
│   │   │               │   │   └── csp.js
│   │   │               │   ├── css/
│   │   │               │   │   └── css.js
│   │   │               │   ├── cypher/
│   │   │               │   │   └── cypher.js
│   │   │               │   ├── dart/
│   │   │               │   │   └── dart.js
│   │   │               │   ├── dockerfile/
│   │   │               │   │   └── dockerfile.js
│   │   │               │   ├── ecl/
│   │   │               │   │   └── ecl.js
│   │   │               │   ├── elixir/
│   │   │               │   │   └── elixir.js
│   │   │               │   ├── flow9/
│   │   │               │   │   └── flow9.js
│   │   │               │   ├── freemarker2/
│   │   │               │   │   └── freemarker2.js
│   │   │               │   ├── fsharp/
│   │   │               │   │   └── fsharp.js
│   │   │               │   ├── go/
│   │   │               │   │   └── go.js
│   │   │               │   ├── graphql/
│   │   │               │   │   └── graphql.js
│   │   │               │   ├── handlebars/
│   │   │               │   │   └── handlebars.js
│   │   │               │   ├── hcl/
│   │   │               │   │   └── hcl.js
│   │   │               │   ├── html/
│   │   │               │   │   └── html.js
│   │   │               │   ├── ini/
│   │   │               │   │   └── ini.js
│   │   │               │   ├── java/
│   │   │               │   │   └── java.js
│   │   │               │   ├── javascript/
│   │   │               │   │   └── javascript.js
│   │   │               │   ├── julia/
│   │   │               │   │   └── julia.js
│   │   │               │   ├── kotlin/
│   │   │               │   │   └── kotlin.js
│   │   │               │   ├── less/
│   │   │               │   │   └── less.js
│   │   │               │   ├── lexon/
│   │   │               │   │   └── lexon.js
│   │   │               │   ├── liquid/
│   │   │               │   │   └── liquid.js
│   │   │               │   ├── lua/
│   │   │               │   │   └── lua.js
│   │   │               │   ├── m3/
│   │   │               │   │   └── m3.js
│   │   │               │   ├── markdown/
│   │   │               │   │   └── markdown.js
│   │   │               │   ├── mdx/
│   │   │               │   │   └── mdx.js
│   │   │               │   ├── mips/
│   │   │               │   │   └── mips.js
│   │   │               │   ├── msdax/
│   │   │               │   │   └── msdax.js
│   │   │               │   ├── mysql/
│   │   │               │   │   └── mysql.js
│   │   │               │   ├── objective-c/
│   │   │               │   │   └── objective-c.js
│   │   │               │   ├── pascal/
│   │   │               │   │   └── pascal.js
│   │   │               │   ├── pascaligo/
│   │   │               │   │   └── pascaligo.js
│   │   │               │   ├── perl/
│   │   │               │   │   └── perl.js
│   │   │               │   ├── pgsql/
│   │   │               │   │   └── pgsql.js
│   │   │               │   ├── php/
│   │   │               │   │   └── php.js
│   │   │               │   ├── pla/
│   │   │               │   │   └── pla.js
│   │   │               │   ├── postiats/
│   │   │               │   │   └── postiats.js
│   │   │               │   ├── powerquery/
│   │   │               │   │   └── powerquery.js
│   │   │               │   ├── powershell/
│   │   │               │   │   └── powershell.js
│   │   │               │   ├── protobuf/
│   │   │               │   │   └── protobuf.js
│   │   │               │   ├── pug/
│   │   │               │   │   └── pug.js
│   │   │               │   ├── python/
│   │   │               │   │   └── python.js
│   │   │               │   ├── qsharp/
│   │   │               │   │   └── qsharp.js
│   │   │               │   ├── r/
│   │   │               │   │   └── r.js
│   │   │               │   ├── razor/
│   │   │               │   │   └── razor.js
│   │   │               │   ├── redis/
│   │   │               │   │   └── redis.js
│   │   │               │   ├── redshift/
│   │   │               │   │   └── redshift.js
│   │   │               │   ├── restructuredtext/
│   │   │               │   │   └── restructuredtext.js
│   │   │               │   ├── ruby/
│   │   │               │   │   └── ruby.js
│   │   │               │   ├── rust/
│   │   │               │   │   └── rust.js
│   │   │               │   ├── sb/
│   │   │               │   │   └── sb.js
│   │   │               │   ├── scala/
│   │   │               │   │   └── scala.js
│   │   │               │   ├── scheme/
│   │   │               │   │   └── scheme.js
│   │   │               │   ├── scss/
│   │   │               │   │   └── scss.js
│   │   │               │   ├── shell/
│   │   │               │   │   └── shell.js
│   │   │               │   ├── solidity/
│   │   │               │   │   └── solidity.js
│   │   │               │   ├── sophia/
│   │   │               │   │   └── sophia.js
│   │   │               │   ├── sparql/
│   │   │               │   │   └── sparql.js
│   │   │               │   ├── sql/
│   │   │               │   │   └── sql.js
│   │   │               │   ├── st/
│   │   │               │   │   └── st.js
│   │   │               │   ├── swift/
│   │   │               │   │   └── swift.js
│   │   │               │   ├── systemverilog/
│   │   │               │   │   └── systemverilog.js
│   │   │               │   ├── tcl/
│   │   │               │   │   └── tcl.js
│   │   │               │   ├── twig/
│   │   │               │   │   └── twig.js
│   │   │               │   ├── typescript/
│   │   │               │   │   └── typescript.js
│   │   │               │   ├── typespec/
│   │   │               │   │   └── typespec.js
│   │   │               │   ├── vb/
│   │   │               │   │   └── vb.js
│   │   │               │   ├── wgsl/
│   │   │               │   │   └── wgsl.js
│   │   │               │   ├── xml/
│   │   │               │   │   └── xml.js
│   │   │               │   └── yaml/
│   │   │               │       └── yaml.js
│   │   │               ├── editor/
│   │   │               │   ├── editor.main.css
│   │   │               │   └── editor.main.js
│   │   │               ├── language/
│   │   │               │   ├── css/
│   │   │               │   │   ├── cssMode.js
│   │   │               │   │   └── cssWorker.js
│   │   │               │   ├── html/
│   │   │               │   │   ├── htmlMode.js
│   │   │               │   │   └── htmlWorker.js
│   │   │               │   ├── json/
│   │   │               │   │   ├── jsonMode.js
│   │   │               │   │   └── jsonWorker.js
│   │   │               │   └── typescript/
│   │   │               │       ├── tsMode.js
│   │   │               │       └── tsWorker.js
│   │   │               ├── loader.js
│   │   │               ├── nls.messages.de.js
│   │   │               ├── nls.messages.es.js
│   │   │               ├── nls.messages.fr.js
│   │   │               ├── nls.messages.it.js
│   │   │               ├── nls.messages.ja.js
│   │   │               ├── nls.messages.ko.js
│   │   │               ├── nls.messages.ru.js
│   │   │               ├── nls.messages.zh-cn.js
│   │   │               └── nls.messages.zh-tw.js
│   │   └── html/
│   │       ├── .gitkeep
│   │       ├── already_subscribed.html
│   │       ├── subscribe_confirm.html
│   │       ├── subscribe_form.html
│   │       ├── subscribe_success.html
│   │       ├── unsubscribe.html
│   │       ├── unsubscribe_new.html
│   │       └── unsubscribe_success.html
│   ├── resource/
│   │   ├── public/
│   │   │   ├── html/
│   │   │   │   └── .gitkeep
│   │   │   ├── plugin/
│   │   │   │   └── .gitkeep
│   │   │   └── resource/
│   │   │       ├── css/
│   │   │       │   └── .gitkeep
│   │   │       ├── image/
│   │   │       │   └── .gitkeep
│   │   │       └── js/
│   │   │           └── .gitkeep
│   │   └── template/
│   │       └── .gitkeep
│   ├── run_dev.go
│   ├── run_dev.sh
│   ├── template/
│   │   ├── .gitkeep
│   │   ├── default_confirm_email/
│   │   │   ├── confirm_email.html
│   │   │   └── confirm_email.txt
│   │   ├── default_unsubscribe_email/
│   │   │   ├── unsubscribe_email.html
│   │   │   └── unsubscribe_email.txt
│   │   ├── default_welcome_email/
│   │   │   ├── welcome_email.html
│   │   │   └── welcome_email.txt
│   │   ├── subscribe_form_code.html
│   │   ├── subscription_form.html
│   │   └── subscription_success.html
│   └── utility/
│       ├── .gitkeep
│       └── types/
│           └── api_v1/
│               └── common.go
├── data/
│   ├── example_recipients.csv
│   └── example_recipients.txt
├── docker-compose.yml
├── env_init
├── init.sql
├── install.sh
├── ssl-self-signed/
│   └── dh.pem
└── update.sh

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitattributes
================================================
conf/* merge=ours
Dockerfiles/* merge=ours
ssl-self-signed/* merge=ours
docker-compose.yml merge=ours

================================================
FILE: .github/ISSUE_TEMPLATE/00-bug.yaml
================================================
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
name: Bugs
description: Report a bug to help us improve
title: "Bug title"
labels:
  - bug

body:
  - type: markdown
    attributes:
      value: |
        Thanks for helping us improve! 🙏 Please answer these questions and provide as much information as possible about your problem.

  # 1. Environment Information (Structured)
  - type: dropdown
    id: os
    attributes:
      label: Operating System
      description: Select or specify the exact distribution
      options:
        - Windows
        - macOS
        - Linux
        - Other
    validations:
      required: true

  - type: input
    id: os_version
    attributes:
      label: OS Version
      placeholder: e.g., "Ubuntu 22.04 LTS" or "Windows 11 23H2"
    validations:
      required: true

  - type: dropdown
    id: arch
    attributes:
      label: System Architecture
      options:
        - x86_64
        - ARM64
        - Other
    validations:
      required: true

  # 2. Docker Environment
  - type: input
    id: docker_version
    attributes:
      label: Docker Version
      placeholder: Output of `docker --version`
    validations:
      required: true

  - type: input
    id: compose_version
    attributes:
      label: Docker Compose Version
      placeholder: Output of `docker-compose --version`
    validations:
      required: false

  - type: dropdown
    id: reproduce_latest
    attributes:
      label: Reproducible in Latest Version?
      options:
        - "Yes, occurs in the latest stable release"
        - "No, only in older versions (specify version)"
    validations:
      required: true

  # 3. Core Bug Description (Required)
  - type: textarea
    id: steps
    attributes:
      label: Reproduction Steps
      description: Clear sequence to trigger the bug (commands/operations)
      placeholder: |
        1. Run `docker-compose up -d`
        2. Access http://localhost:8080
        3. ...
    validations:
      required: true

  - type: textarea
    id: observed
    attributes:
      label: Observed Behavior
      description: Error logs, screenshots, or unexpected behavior
      placeholder: |
        - Container logs show `ERROR: Permission denied`
        - Service returns 500 error with headers...
    validations:
      required: true

  - type: textarea
    id: expected
    attributes:
      label: Expected Behavior
      description: Correct behavior or suggested fix
      placeholder: "Service should return 200 status with JSON output"
    validations:
      required: true

  # 4. Additional Context (Optional)
  - type: textarea
    id: additional
    attributes:
      label: Supplemental Information
      placeholder: Relevant config snippets, stack traces, etc.
      render: markdown
    validations:
      required: false


================================================
FILE: .github/ISSUE_TEMPLATE/01-enhancement.yaml
================================================
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
name: Enhancement
description: Suggest an idea for this project
title: "A good idea"
labels:
  - Enhancement

body:
  - type: markdown
    attributes:
      value: |
        Thanks for helping us improve! 🙏 Please answer these questions and provide as much information as possible about your problem. 

  - type: dropdown
    id: is-problem
    attributes:
      label: Is your feature request related to a problem?
      options:
        - Option Yes
        - Option No
    validations:
      required: true

  - type: textarea
    id: description-solution
    attributes:
      label: "Describe the solution you'd like"
    validations:
      required: true

  - type: textarea
    id: description-considered
    attributes:
      label: "Describe alternatives you've considered"
    validations:
      required: true

  - type: textarea
    id: additional
    attributes:
      label: "Additional"
    validations:
      required: false

================================================
FILE: .github/ISSUE_TEMPLATE/02-documentation.yaml
================================================
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
name: Documentation
description: Suggest improvements or additions to our documentation
title: "A good idea"
labels:
  - documentation

body:
  - type: markdown
    attributes:
      value: |
        Thanks for helping us improve! 🙏 Please answer these questions and provide as much information as possible about your problem.

  - type: textarea
    id: description
    attributes:
      label: "Description"
      description: "Please describe your idea in detail."
    validations:
      required: true

  - type: textarea
    id: additional
    attributes:
      label: "Additional"
    validations:
      required: false

================================================
FILE: .github/ISSUE_TEMPLATE/03-question.yaml
================================================
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository#creating-issue-forms
# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema
name: Questions
description: I want to ask a question
title: "Question title"
labels:
  - question

body:
  - type: markdown
    attributes:
      value: |
        Please read the document carefully.

  - type: textarea
    id: ask
    attributes:
      label: "What do you want to ask?"
      description: "Please describe the details of your questions."
    validations:
      required: true

================================================
FILE: .github/PULL_REQUEST_TEMPLATE.MD
================================================
# BillionMail Pull Request Template

## PR Title Format
`<type>(<scope>): <description>`  
**Examples**:
- `fix(smtp): handle connection timeout during bulk send`
- `feat(campaign-ui): add A/B testing template selector`

### Type Guidelines
```
fix      : Bug fixes (e.g., `fix(auth): prevent login loop`)  
feat     : New features (e.g., `feat(analytics): add real-time dashboard`)  
build    : Build system changes (Docker/dependencies)  
ci       : CI/CD workflows (GitHub Actions)  
docs     : Documentation updates  
style    : Code formatting (non-functional changes)  
refactor : Code restructuring (no functionality change)  
perf     : Performance improvements  
test     : Test-related changes  
chore    : Maintenance/tooling changes  
```

**Rules**:
- **Scope**: Specify module (e.g., `smtp`) or layer (e.g., `frontend`)
- **Description**:
    - Use **present tense verbs** (e.g., `add` not `added`)
    - No ending punctuation, max 76 chars

---

## Linked Issues
Add one of these at the PR description's start:
- `Fixes #1234` → Complete resolution
- `Updates #1234` → Partial fix/related update

---

## Branch Management
### Frontend Specific
- **Target Branch**: `dev-frontend` (All frontend PRs must use this)
- **Naming Convention**:
```bash
# Feature development
feat/[description]  # e.g., feat/ab-test-ui
# Bug fixes
fix/[issue-id]-[desc]  # e.g., fix/4567-template-render
```

### Backend/Core
- **Target Branch**: `main`
- **Naming Convention**:
```bash
# Mail engine
smtp/[feature]  # e.g., smtp/rate-limit
# Infrastructure
infra/[change]  # e.g., infra/redis-cluster
```

---

## PR Description Template
```markdown
### Purpose  
<!-- Why this change is needed (reference project goals) -->

### Implementation  
<!-- Key code/architecture changes, especially for SMTP/Rspamd -->

### Testing  
- [ ] Unit tests passed (`npm test`/`go test`)  
- [ ] Manual steps:  
~~~bash
# Example: Test bulk send
bm send --campaign test --list 1000
~~~
- [ ] Impact analysis (e.g., template compatibility/sending rate)

### Additional Context
<!-- Screenshots, performance metrics, or related docs -->
```

---

## Automation Integration
1. **Commit Validation**:  
   Use `husky` + `commitlint` to enforce conventions:  
```javascript
// commitlint.config.js
module.exports = { extends: ['@commitlint/config-conventional'] };
```

2. **PR Title Check**:  
   Add GitHub Action to validate PR titles:
```yaml
# .github/workflows/pr-check.yml
uses: amannn/action-semantic-pull-request@v5
```

> **Tip**: For mail-sending logic changes, verify SPF/DKIM signing
```

### Key Features
- **Frontend Isolation**: Explicit `dev-frontend` branch for frontend changes  
- **Modular Scopes**: Clear module boundaries (e.g., `smtp`, `analytics`) for automated changelogs  
- **Compliance Ready**: GDPR/SPF checks emphasized for critical components  

This template can be saved to `.github/PULL_REQUEST_TEMPLATE.md` for automatic application.

================================================
FILE: .gitignore
================================================
# IntelliJ project files
*.iml
.idea/
idea/*
.vscode/*
.cursor/
test/*
config/*
temp/
ssl/*
bm
.env
billionmail.conf
DBPASS_file.pl
logs/
backup/
vmail-data/
postfix-data/
rspamd-data/
postgresql-data/
postgresql-socket/
redis-data/
php-sock/
webmail-data/
core-data/
conf/postfix/conf/vmail_ssl.map
conf/postfix/conf/vmail_ssl.map.db
conf/postfix/conf/extra.cf
conf/postfix/sql/
conf/core/fail2ban/
conf/dovecot/conf.d/dovecot-sql.conf.ext
conf/dovecot/conf.d/extra.cf
conf/rspamd/local.d/dkim_signing.conf
conf/rspamd/local.d/redis.conf
ssl-self-signed/cert.pem
ssl-self-signed/key.pem
core/billionmail*


================================================
FILE: Dockerfiles/core/Dockerfile
================================================
FROM alpine:3.20

LABEL maintainer="https://github.com/aaPanel/BillionMail"

# Set environment variables
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8


# Platform-specific binary copy
ARG TARGETARCH
COPY core/billionmail-${TARGETARCH} /opt/billionmail/core/billionmail
COPY core/manifest /opt/billionmail/core/manifest
COPY core/languages /opt/billionmail/core/languages
COPY core/public /opt/billionmail/core/public
COPY core/resource /opt/billionmail/core/resource
COPY core/template /opt/billionmail/core/template

# Copy file
# COPY repositories /etc/apk/repositories
COPY stop-supervisor.sh /stop-supervisor.sh
COPY core.sh /core.sh
COPY restart_fail2ban.sh /restart_fail2ban.sh

# Install dependencies (using Alpine's apk package manager)
RUN apk add --no-cache \
    bash \
    ca-certificates \
    curl \
    supervisor \
    rsyslog \
    tzdata \
    busybox-extras \
    postgresql-client \
    fail2ban \
    iptables \
    ipset \
    && rm -rf /var/cache/apk/* \
    && chmod +x /stop-supervisor.sh /core.sh /restart_fail2ban.sh /opt/billionmail/core/billionmail

# Copy file

COPY supervisord.conf /etc/supervisor/supervisord.conf
COPY fail2ban.conf /etc/fail2ban/fail2ban.conf


ENTRYPOINT ["/core.sh"]
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]

================================================
FILE: Dockerfiles/core/core.sh
================================================
#!/bin/bash

if [ -f "/opt/billionmail/.env" ]; then
    if ! grep -q "ADMIN_USERNAME" /opt/billionmail/.env; then
        ADMIN_USERNAME=$(LC_ALL=C </dev/urandom tr -dc A-Za-z0-9 2> /dev/null | head -c 8)

        # Default administrator account password 
        echo "ADMIN_USERNAME=${ADMIN_USERNAME}" >> /opt/billionmail/.env
    fi

    if ! grep -q "ADMIN_PASSWORD" /opt/billionmail/.env; then
        ADMIN_PASSWORD=$(LC_ALL=C </dev/urandom tr -dc A-Za-z0-9 2> /dev/null | head -c 8)
        # Default administrator account password 
        echo "ADMIN_PASSWORD=${ADMIN_PASSWORD}" >> /opt/billionmail/.env
    fi
fi

# Generate DH params
if [ ! -f "/etc/ssl/mail/dh.pem" ]; then
    cp -d -n /etc/ssl/ssl-self-signed/* /etc/ssl/mail/
fi

# # Generate DH params
# if [ ! -f "/etc/ssl/mail/dh.pem" ]; then
#     openssl dhparam -out /etc/ssl/mail/dh.pem 2048
# fi

# Remove defaults-debian.conf
if [ -f "/etc/fail2ban/jail.d/defaults-debian.conf" ]; then
    rm -f /etc/fail2ban/jail.d/defaults-debian.conf
fi


## Initialize fail2ban when y, otherwise delete the rule
# Enable fail2ban Access restrictions, specify that the IP exceeds the access limit
if [[ ${FAIL2BAN_INIT} == "y" ]]; then
    ## Copy fail2ban Jail
    cp -rf /opt/billionmail/conf/core/fail2ban_init/jail.d/*-accesslimit.conf /etc/fail2ban/jail.d/

    if ! grep -q "restart_fail2ban.sh" /var/spool/cron/crontabs/root; then
        chmod +x /restart_fail2ban.sh
        echo "02 0,12 * * * bash /restart_fail2ban.sh" >> /var/spool/cron/crontabs/root
        chmod 600 /var/spool/cron/crontabs/root
        chown root:crontab /var/spool/cron/crontabs/root    
        pkill -9 crond
    fi
    bash /restart_fail2ban.sh

else
    rm -f /etc/fail2ban/jail.d/*-accesslimit.conf
    echo -e "fail2ban: delete the rule"
fi

## Copy fail2ban Filter
# if [ ! -f "/etc/fail2ban/filter.d/core-limit-filter.conf" ]; then
#     cp -f /opt/billionmail/conf/core/fail2ban_init/filter.d/core-limit-filter.conf /etc/fail2ban/filter.d/core-limit-filter.conf
# fi
cp -rf /opt/billionmail/conf/core/fail2ban_init/filter.d/*.conf /etc/fail2ban/filter.d/

if [ ! -d "/opt/billionmail/core/template/" ]; then
    mkdir /opt/billionmail/core/template
fi

if [ ! -d "/opt/billionmail/core/logs/" ]; then
    mkdir /opt/billionmail/core/logs
fi

if [ ! -f "/opt/billionmail/core/logs/access-$(date -u +"%Y%m%d").log" ]; then
    touch /opt/billionmail/core/logs/access-$(date -u +"%Y%m%d").log
fi

cd /opt/billionmail/core/
chmod +x billionmail


exec "$@"

================================================
FILE: Dockerfiles/core/fail2ban.conf
================================================
# Fail2Ban main configuration file
#
# Comments: use '#' for comment lines and ';' (following a space) for inline comments
#
# Changes:  in most of the cases you should not modify this
#           file, but provide customizations in fail2ban.local file, e.g.:
#
# [DEFAULT]
# loglevel = DEBUG
#

[DEFAULT]

# Option: loglevel
# Notes.: Set the log level output.
#         CRITICAL
#         ERROR
#         WARNING
#         NOTICE
#         INFO
#         DEBUG
# Values: [ LEVEL ]  Default: INFO
#
loglevel = INFO

# Option: logtarget
# Notes.: Set the log target. This could be a file, SYSTEMD-JOURNAL, SYSLOG, STDERR or STDOUT.
#         Only one log target can be specified.
#         If you change logtarget from the default value and you are
#         using logrotate -- also adjust or disable rotation in the
#         corresponding configuration file
#         (e.g. /etc/logrotate.d/fail2ban on Debian systems)
# Values: [ STDOUT | STDERR | SYSLOG | SYSOUT | SYSTEMD-JOURNAL | FILE ]  Default: STDERR
#
logtarget = /var/log/fail2ban/fail2ban.log

# Option: syslogsocket
# Notes: Set the syslog socket file. Only used when logtarget is SYSLOG
#        auto uses platform.system() to determine predefined paths
# Values: [ auto | FILE ]  Default: auto
syslogsocket = auto

# Option: socket
# Notes.: Set the socket file. This is used to communicate with the daemon. Do
#         not remove this file when Fail2ban runs. It will not be possible to
#         communicate with the server afterwards.
# Values: [ FILE ]  Default: /var/run/fail2ban/fail2ban.sock
#
socket = /var/run/fail2ban/fail2ban.sock

# Option: pidfile
# Notes.: Set the PID file. This is used to store the process ID of the
#         fail2ban server.
# Values: [ FILE ]  Default: /var/run/fail2ban/fail2ban.pid
#
pidfile = /var/run/fail2ban/fail2ban.pid

# Option: allowipv6
# Notes.: Allows IPv6 interface:
#         Default: auto
# Values: [ auto yes (on, true, 1) no (off, false, 0) ] Default: auto
#allowipv6 = auto

# Options: dbfile
# Notes.: Set the file for the fail2ban persistent data to be stored.
#         A value of ":memory:" means database is only stored in memory 
#         and data is lost when fail2ban is stopped.
#         A value of "None" disables the database.
# Values: [ None :memory: FILE ] Default: /var/lib/fail2ban/fail2ban.sqlite3
dbfile = /var/lib/fail2ban/fail2ban.sqlite3

# Options: dbpurgeage
# Notes.: Sets age at which bans should be purged from the database
# Values: [ SECONDS ] Default: 86400 (24hours)
dbpurgeage = 1d

# Options: dbmaxmatches
# Notes.: Number of matches stored in database per ticket (resolvable via 
#         tags <ipmatches>/<ipjailmatches> in actions)
# Values: [ INT ] Default: 10
dbmaxmatches = 10

[Definition]


[Thread]

# Options: stacksize
# Notes.: Specifies the stack size (in KiB) to be used for subsequently created threads,
#         and must be 0 or a positive integer value of at least 32.
# Values: [ SIZE ] Default: 0 (use platform or configured default)
#stacksize = 0


================================================
FILE: Dockerfiles/core/repositories
================================================
https://mirrors.ustc.edu.cn/alpine/v3.20/main
https://mirrors.ustc.edu.cn/alpine/v3.20/community

================================================
FILE: Dockerfiles/core/restart_fail2ban.sh
================================================
#!/bin/bash
if [[ ${FAIL2BAN_INIT} == "y" ]]; then
    /usr/bin/fail2ban-client reload core-accesslimit
    /usr/bin/fail2ban-client reload roundcube-accesslimit
fi


================================================
FILE: Dockerfiles/core/stop-supervisor.sh
================================================
#!/bin/bash

printf "Start\n";

while read line; do
  echo "PROCESS event: $line" >&2;
  kill -3 $(cat "/var/run/supervisord.pid")
done < /dev/stdin


================================================
FILE: Dockerfiles/core/supervisord.conf
================================================
[supervisord]
nodaemon=true
logfile=/dev/stdout
logfile_maxbytes=0
pidfile=/var/run/supervisord.pid
user=root

[program:core]
command=/opt/billionmail/core/billionmail
directory=/opt/billionmail/core/
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
user=root
startsecs=10
priority=100

[program:fail2ban]
command=/usr/bin/fail2ban-server -xf start
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
user=root
startsecs=10
priority=200


[program:crond]
command=/usr/sbin/crond -f
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
user=root

[eventlistener:processes]
command=/stop-supervisor.sh
events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL

[supervisorctl]
serverurl=unix:///var/run/supervisord.sock

[unix_http_server]
file=/var/run/supervisord.sock
chmod=0700

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

================================================
FILE: Dockerfiles/dovecot/Dockerfile
================================================
FROM debian:bookworm-slim

LABEL maintainer="https://github.com/aaPanel/BillionMail"

ARG DEBIAN_FRONTEND=noninteractive
ENV LC_ALL=C

## Copy file
COPY stop-supervisor.sh /stop-supervisor.sh
COPY dovecot.sh /dovecot.sh
COPY rotate_log.sh /rotate_log.sh

# COPY debian.sources /etc/apt/sources.list.d/debian.sources

# install dovecot
RUN apt-get update && apt-get install -y --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages \
	dovecot-core \
	dovecot-dev \
	dovecot-pop3d \
	dovecot-imapd \
	dovecot-lmtpd \
	dovecot-pgsql \
	dovecot-sieve \
	dovecot-ldap \
	sasl2-bin \
	libsasl2-modules \
	postgresql-client \
	ca-certificates \
	curl \
	sudo \
	supervisor \
	rsyslog \
	tzdata \
	telnet \
	cron \
	&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
	&& mkdir -p /usr/lib/dovecot/sieve \
	&& chmod +x /stop-supervisor.sh /dovecot.sh /rotate_log.sh


## Copy the supervisord configuration file
COPY supervisord.conf /etc/supervisor/supervisord.conf

COPY spam-to-folder.sieve /usr/lib/dovecot/sieve/spam-to-folder.sieve
COPY report-spam.sieve /usr/lib/dovecot/sieve/report-spam.sieve
COPY report-ham.sieve /usr/lib/dovecot/sieve/report-ham.sieve
COPY sa-learn-spam.sh /usr/lib/dovecot/sieve/sa-learn-spam.sh
COPY sa-learn-ham.sh /usr/lib/dovecot/sieve/sa-learn-ham.sh

ENTRYPOINT ["/dovecot.sh"]
# EXPOSE 110 143 993 995

CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]


================================================
FILE: Dockerfiles/dovecot/debian.sources
================================================
Types: deb
URIs: http://mirrors.ustc.edu.cn/debian
Suites: bookworm bookworm-updates
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb
URIs: http://mirrors.ustc.edu.cn/debian-security
Suites: bookworm-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg


================================================
FILE: Dockerfiles/dovecot/dovecot.sh
================================================
#!/bin/bash


id vmail || useradd -r -u 150 -g mail -d /var/vmail -s /sbin/nologin -c "Virtual Mail User" vmail
chown -R vmail:mail /var/vmail

if [ ! -f "/etc/ssl/mail/dh.pem" ] || [ ! -f "/etc/ssl/mail/cert.pem" ] || [ ! -f "/etc/ssl/mail/key.pem" ]; then
    cp -d -n /etc/ssl/ssl-self-signed/* /etc/ssl/mail/
fi

if ! grep -q "rotate_log.sh" /var/spool/cron/crontabs/root; then
    chmod +x /rotate_log.sh
    echo "05 00 * * * bash /rotate_log.sh >> /var/log/mail/rotate_log.log 2>&1" >> /var/spool/cron/crontabs/root
    chmod 600 /var/spool/cron/crontabs/root
    chown root:crontab /var/spool/cron/crontabs/root     
    /usr/bin/supervisorctl restart cron
fi

cat <<EOF > /etc/dovecot/conf.d/dovecot-sql.conf.ext
driver = pgsql
connect = host=pgsql dbname=${DBNAME} user=${DBUSER} password=${DBPASS}

default_pass_scheme = MD5-CRYPT

user_query = SELECT '/var/vmail/%d/%n' as home, 'maildir:/var/vmail/%d/%n' as mail, 150 AS uid, 8 AS gid, 'maildir:storage=' || quota AS quota FROM mailbox WHERE username = '%u' AND active = 1

password_query = SELECT username as user, password, '/var/vmail/%d/%n' as userdb_home, 'maildir:/var/vmail/%d/%n' as userdb_mail, 150 as userdb_uid, 8 as userdb_gid FROM mailbox WHERE username = '%u' AND active = 1


EOF

chmod +x /usr/lib/dovecot/sieve/sa-learn-spam.sh
chmod +x /usr/lib/dovecot/sieve/sa-learn-ham.sh
sievec /usr/lib/dovecot/sieve/spam-to-folder.sieve
sievec /usr/lib/dovecot/sieve/report-spam.sieve
sievec /usr/lib/dovecot/sieve/report-ham.sieve

exec "$@"

================================================
FILE: Dockerfiles/dovecot/report-ham.sieve
================================================
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];

if environment :matches "imap.mailbox" "*" {
  set "mailbox" "${1}";
}

if string "${mailbox}" "Trash" {
  stop;
}

if environment :matches "imap.user" "*" {
  set "username" "${1}";
}

pipe :copy "sa-learn-ham.sh" [ "${username}" ];


================================================
FILE: Dockerfiles/dovecot/report-spam.sieve
================================================
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];

if environment :matches "imap.user" "*" {
  set "username" "${1}";
}

pipe :copy "sa-learn-spam.sh" [ "${username}" ];


================================================
FILE: Dockerfiles/dovecot/rotate_log.sh
================================================
#!/bin/bash
echo " ---- $(date) START ----"

LOG_DIR="/var/log/mail"
LOG_FILE="${LOG_DIR}/mail.log"
DATE=$(date +%Y%m%d)
BACKUP_FILE="${LOG_DIR}/mail-${DATE}.log"

# Retention days
RETENTION_DAYS=${RETENTION_DAYS:-7}
# echo "Retention days: ${RETENTION_DAYS}"

# backup log
if [ -f "${LOG_FILE}" ]; then
  echo "Backup log: ${LOG_FILE}"
	mv "${LOG_FILE}" "${BACKUP_FILE}"

  # Restart rsyslog
  if [ -f "/var/run/rsyslogd.pid" ]; then
      kill -HUP $(cat /var/run/rsyslogd.pid) >/dev/null 2>&1
      if [ $? -ne 0 ]; then
          echo "Restart rsyslogd"
          /usr/bin/supervisorctl restart rsyslog
      fi
  else
      /usr/bin/supervisorctl restart rsyslog
  fi

else
	echo "The log file does not exist: ${LOG_FILE}"
  echo ""
	exit 1
fi


# sleep 2
# CHECK_RSYSLOG=$(/usr/bin/supervisorctl status rsyslog|grep RUNNING)
# if [ -z "${CHECK_RSYSLOG}" ]; then
#   echo "rsyslog is not running, Starting..."
#   /usr/bin/supervisorctl restart rsyslog
# fi

# CHECK_dovecot=$(/usr/bin/supervisorctl status dovecot|grep RUNNING)
# if [ -z "${CHECK_dovecot}" ]; then
#   echo "dovecot is not running, Starting..."
#   /usr/bin/supervisorctl restart dovecot
# fi

# Compress backup files
if [ -f "${BACKUP_FILE}.gz" ]; then
  mv "${BACKUP_FILE}.gz" "${BACKUP_FILE}_1.gz"
fi
echo "Compressing: "${BACKUP_FILE}""
gzip "${BACKUP_FILE}"

# Clean up expiration logs
echo "Cleaning up expiration logs:"
find "${LOG_DIR}" -name "mail-*.log.gz" -type f -mtime +${RETENTION_DAYS} -print -delete

echo " ---- $(date) END ----"
echo ""

# 10MB in bytes
SIZE_THRESHOLD=$((10 * 1024 * 1024))
TARGET_LOG="${LOG_DIR}/rotate_log.log"
GZIP_LOG="${LOG_DIR}/rotate_log-${DATE}.log"
# Check whether the target log file exceeds 10 m, if so, compress
if [ -f "${TARGET_LOG}" ]; then
    FILE_SIZE=$(stat -c %s "${TARGET_LOG}")
    
    if [ ${FILE_SIZE} -gt ${SIZE_THRESHOLD} ]; then
        echo "Log file ${TARGET_LOG} exceeds 10M, compress..."
        mv "${TARGET_LOG}" "${GZIP_LOG}"
        gzip "${GZIP_LOG}"
    fi
fi
find "${LOG_DIR}" -name "rotate_log-*.gz" -type f -mtime +${RETENTION_DAYS} -delete


================================================
FILE: Dockerfiles/dovecot/sa-learn-ham.sh
================================================
#!/bin/sh
# exec /usr/bin/rspamc -h rspamd:11334 learn_ham


USERNAME="$1"
echo "$USERNAME" >> /tmp/learnham

/usr/bin/curl -X POST --data-binary @- --unix-socket /var/lib/rspamd/rspamd.sock http://rspamd:11334/learnham


================================================
FILE: Dockerfiles/dovecot/sa-learn-spam.sh
================================================
#!/bin/sh
# exec /usr/bin/rspamc -h rspamd:11334 learn_spam

USERNAME="$1"
echo "$USERNAME" >> /tmp/learnspam
/usr/bin/curl -X POST --data-binary @- --unix-socket /var/lib/rspamd/rspamd.sock http://rspamd:11334/learnspam


================================================
FILE: Dockerfiles/dovecot/spam-to-folder.sieve
================================================
require ["fileinto"];

if header :is "X-Spam" "Yes" {
        fileinto "Junk";
}


================================================
FILE: Dockerfiles/dovecot/stop-supervisor.sh
================================================
#!/bin/bash

printf "Start\n";

while read line; do
  echo "PROCESS event: $line" >&2;
  kill -3 $(cat "/var/run/supervisord.pid")
done < /dev/stdin


================================================
FILE: Dockerfiles/dovecot/supervisord.conf
================================================
[supervisord]
nodaemon=true
logfile=/dev/stdout
logfile_maxbytes=0
pidfile=/var/run/supervisord.pid
user=root

[program:rsyslog]
command=/bin/sh -c "rm -f /run/rsyslogd.pid && exec /usr/sbin/rsyslogd -n -i /run/rsyslogd.pid"
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

[program:dovecot]
command=/bin/sh -c "rm -f /run/dovecot/master.pid && exec /usr/sbin/dovecot -F"
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
startsecs=10
stopasgroup=true
killasgroup=true

[program:cron]
command=/usr/sbin/cron -f
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
user=root


[eventlistener:processes]
command=/stop-supervisor.sh
events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL

[supervisorctl]
serverurl=unix:///var/run/supervisor.sock

[unix_http_server]
file=/var/run/supervisor.sock
chmod=0700

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

================================================
FILE: Dockerfiles/postfix/Dockerfile
================================================
FROM debian:bookworm-slim

LABEL maintainer="https://github.com/aaPanel/BillionMail"

ARG DEBIAN_FRONTEND=noninteractive
ENV LC_ALL=C

RUN dpkg-divert --local --rename --add /sbin/initctl \
	&& dpkg-divert --local --rename --add /usr/bin/ischroot \
	&& ln -sf /bin/true /sbin/initctl \
	&& ln -sf /bin/true /usr/bin/ischroot

## Copy postfix file
COPY postfix.sh /postfix.sh
COPY stop-supervisor.sh /stop-supervisor.sh
COPY rotate_log.sh /rotate_log.sh

# COPY debian.sources /etc/apt/sources.list.d/debian.sources

# Add groups and users install Postfix
RUN groupadd -g 102 postfix \
  && groupadd -g 103 postdrop \
  && useradd -g postfix -u 101 -d /var/spool/postfix -s /usr/sbin/nologin postfix \
  && apt-get update && apt-get install -y --no-install-recommends --allow-downgrades --allow-remove-essential --allow-change-held-packages \
	ca-certificates \
	curl \
	dirmngr \
	dnsutils \
	gnupg \
	libsasl2-modules \
	postgresql-client \
	postfix \
	postfix-pgsql \
	postfix-pcre \
	sasl2-bin \
	sudo \
	supervisor \
	rsyslog \
	telnet \
	net-tools \
	tzdata \
	cron \
	&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* \
	&& chmod +x /postfix.sh /stop-supervisor.sh /rotate_log.sh

## Copy the supervisord configuration file

COPY supervisord.conf /etc/supervisor/supervisord.conf

# EXPOSE 25 465 587

CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]


================================================
FILE: Dockerfiles/postfix/debian.sources
================================================
Types: deb
URIs: http://mirrors.ustc.edu.cn/debian
Suites: bookworm bookworm-updates
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb
URIs: http://mirrors.ustc.edu.cn/debian-security
Suites: bookworm-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg


================================================
FILE: Dockerfiles/postfix/postfix.sh
================================================
#!/bin/bash

trap "postfix stop" EXIT

if ! grep -q "rotate_log.sh" /var/spool/cron/crontabs/root; then
    chmod +x /rotate_log.sh
    echo "00 00 * * * bash /rotate_log.sh >> /var/log/mail/rotate_log.log 2>&1" >> /var/spool/cron/crontabs/root
    chmod 600 /var/spool/cron/crontabs/root
    chown root:crontab /var/spool/cron/crontabs/root     
    /usr/bin/supervisorctl restart cron
fi

cat <<EOF > /etc/postfix/btrule.cf

user = ${DBUSER}
password = ${DBPASS}
hosts = pgsql
dbname = ${DBNAME}

query = select s.goto from( select address, goto, 1 as stype from alias union select username,username,2 as stype from mailbox union select address, goto, 3 as stype from alias_domain a left join alias b on b.address = '@' || a.alias_domain and a.alias_domain ='%d' order by stype) s where s.address='%s' or s.stype=3 limit 0,1

EOF

cat <<EOF > /etc/postfix/sql/pgsql_virtual_alias_domain_catchall_maps.cf

user = ${DBUSER}
password = ${DBPASS}
hosts = pgsql
dbname = ${DBNAME}

query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain = '%d' and alias.address = '@' || alias_domain.target_domain AND alias.active = 1 AND alias_domain.active = 1

EOF

cat <<EOF > /etc/postfix/sql/pgsql_virtual_alias_domain_mailbox_maps.cf
user = ${DBUSER}
password = ${DBPASS}
hosts = pgsql
dbname = ${DBNAME}

query = SELECT maildir FROM mailbox,alias_domain WHERE alias_domain.alias_domain = '%d' and mailbox.username = '%u' || '@' || alias_domain.target_domain AND mailbox.active = 1 AND alias_domain.active = 1

EOF

cat <<EOF > /etc/postfix/sql/pgsql_virtual_alias_domain_maps.cf
user = ${DBUSER}
password = ${DBPASS}
hosts = pgsql
dbname = ${DBNAME}

query = SELECT goto FROM alias,alias_domain WHERE alias_domain.alias_domain = '%d' and alias.address = '%u' || '@' || alias_domain.target_domain AND alias.active = 1 AND alias_domain.active = 1

EOF


cat <<EOF > /etc/postfix/sql/pgsql_virtual_alias_maps.cf
user = ${DBUSER}
password = ${DBPASS}
hosts = pgsql
dbname = ${DBNAME}

query = (select username from mailbox where username like '%s' and active = 1 limit 1) union (select goto from alias where address like '%s' and active = 1 limit 1)

EOF



cat <<EOF > /etc/postfix/sql/pgsql_virtual_domains_maps.cf
user = ${DBUSER}
password = ${DBPASS}
hosts = pgsql
dbname = ${DBNAME}

query = SELECT domain FROM domain WHERE domain='%s' AND active = 1

EOF



cat <<EOF > /etc/postfix/sql/pgsql_virtual_mailbox_maps.cf
user = ${DBUSER}
password = ${DBPASS}
hosts = pgsql
dbname = ${DBNAME}

query = SELECT maildir FROM mailbox WHERE username='%s' AND active = 1

EOF


# Append myhostname and User configuration
if [ -z "${BILLIONMAIL_HOSTNAME}" ]; then
  BILLIONMAIL_HOSTNAME=mail.example.com
fi


if [ -f "/etc/postfix/conf/extra.cf" ]; then
  # Delete all contents of Overrides-configuration matching line to the end of the file
  sed '/Overrides-configuration/q' /etc/postfix/main.cf > /tmp/main.cf.tmp

  if [ -s "/tmp/main.cf.tmp" ]; then
      cat /tmp/main.cf.tmp > /etc/postfix/main.cf
      # rm -f /tmp/main.cf.tmp
      echo >> /etc/postfix/main.cf
      echo -e "\n# User Overrides-configuration" >> /etc/postfix/main.cf
      # Append User configuration
      sed -i '/\$myhostname/! { /myhostname/d }' /etc/postfix/conf/extra.cf
      echo -e "myhostname = ${BILLIONMAIL_HOSTNAME}\n$(cat /etc/postfix/conf/extra.cf)" > /etc/postfix/conf/extra.cf
      cat /etc/postfix/conf/extra.cf >> /etc/postfix/main.cf
      rm -f /etc/postfix/conf/extra.cf
  else
      echo "Rewriting /etc/postfix/main.cf failed, /tmp/main.cf.tmp is empty."
  fi
fi

CHECK_MYHOSTNAME=$(grep "myhostname" /etc/postfix/main.cf | grep -v '$myhostname')
if [ -z "${CHECK_MYHOSTNAME}" ]; then
  echo >> /etc/postfix/main.cf
  echo -e "\n# User Overrides-configuration" >> /etc/postfix/main.cf
  echo "myhostname = ${BILLIONMAIL_HOSTNAME}" >> /etc/postfix/main.cf
fi

if [ ! -f "/etc/postfix/conf/vmail_ssl.map" ]; then
  touch /etc/postfix/conf/vmail_ssl.map
fi
postmap -F hash:/etc/postfix/conf/vmail_ssl.map;



# Fix Postfix permissions
chgrp -R postdrop /var/spool/postfix/public
chgrp -R postdrop /var/spool/postfix/maildrop
#postfix set-permissions

if [ -e "/var/spool/postfix/pid/master.pid" ]; then
  rm -rf /var/spool/postfix/pid/master.pid
fi

if [ -d "/var/spool/postfix/" ]; then
  [ ! -d "/var/spool/postfix/dev/" ] && mkdir /var/spool/postfix/dev
fi

# Check Postfix configuration
postconf -c /etc/postfix/ > /dev/null

if [[ $? != 0 ]]; then
  echo "Postfix configuration error, Startup failed."
  exit 1
else
  postfix start-fg
fi


================================================
FILE: Dockerfiles/postfix/rotate_log.sh
================================================
#!/bin/bash
echo " ---- $(date) START ----"

LOG_DIR="/var/log/mail"
LOG_FILE="${LOG_DIR}/mail.log"
DATE=$(date +%Y%m%d)
BACKUP_FILE="${LOG_DIR}/mail-${DATE}.log"

# Retention days
RETENTION_DAYS=${RETENTION_DAYS:-7}
# echo "Retention days: ${RETENTION_DAYS}"

# backup log
if [ -f "${LOG_FILE}" ]; then
  echo "Backup log: ${LOG_FILE}"
	mv "${LOG_FILE}" "${BACKUP_FILE}"

  # Restart rsyslog
  if [ -f "/var/run/rsyslogd.pid" ]; then
      kill -HUP $(cat /var/run/rsyslogd.pid) >/dev/null 2>&1
      if [ $? -ne 0 ]; then
          echo "Restart rsyslogd"
          /usr/bin/supervisorctl restart rsyslog
      fi
  else
      /usr/bin/supervisorctl restart rsyslog
  fi

else
	echo "The log file does not exist: ${LOG_FILE}"
  echo ""
	exit 1
fi


# sleep 2
# CHECK_RSYSLOG=$(/usr/bin/supervisorctl status rsyslog|grep RUNNING)
# if [ -z "${CHECK_RSYSLOG}" ]; then
#   echo "rsyslog is not running, Starting..."
#   /usr/bin/supervisorctl restart rsyslog
# fi

# CHECK_POSTFIX=$(/usr/bin/supervisorctl status postfix|grep RUNNING)
# if [ -z "${CHECK_POSTFIX}" ]; then
#   echo "Postfix is not running, Starting..."
#   /usr/bin/supervisorctl restart postfix
# fi

# Compress backup files
if [ -f "${BACKUP_FILE}.gz" ]; then
  mv "${BACKUP_FILE}.gz" "${BACKUP_FILE}_1.gz"
fi
echo "Compressing: "${BACKUP_FILE}""
gzip "${BACKUP_FILE}"

# Clean up expiration logs
echo "Cleaning up expiration logs:"
find "${LOG_DIR}" -name "mail-*.log.gz" -type f -mtime +${RETENTION_DAYS} -print -delete

echo " ---- $(date) END ----"
echo ""

# 10MB in bytes
SIZE_THRESHOLD=$((10 * 1024 * 1024))
TARGET_LOG="${LOG_DIR}/rotate_log.log"
GZIP_LOG="${LOG_DIR}/rotate_log-${DATE}.log"
# Check whether the target log file exceeds 10 m, if so, compress
if [ -f "${TARGET_LOG}" ]; then
    FILE_SIZE=$(stat -c %s "${TARGET_LOG}")
    
    if [ ${FILE_SIZE} -gt ${SIZE_THRESHOLD} ]; then
        echo "Log file ${TARGET_LOG} exceeds 10M, compress..."
        mv "${TARGET_LOG}" "${GZIP_LOG}"
        gzip "${GZIP_LOG}"
    fi
fi
find "${LOG_DIR}" -name "rotate_log-*.gz" -type f -mtime +${RETENTION_DAYS} -delete


================================================
FILE: Dockerfiles/postfix/stop-supervisor.sh
================================================
#!/bin/bash

printf "Start\n";

while read line; do
  echo "PROCESS event: $line" >&2;
  kill -3 $(cat "/var/run/supervisord.pid")
done < /dev/stdin


================================================
FILE: Dockerfiles/postfix/supervisord.conf
================================================
[supervisord]
nodaemon=true
logfile=/dev/stdout
logfile_maxbytes=0
pidfile=/var/run/supervisord.pid
user=root

[program:rsyslog]
command=/bin/sh -c "rm -f /run/rsyslogd.pid && exec /usr/sbin/rsyslogd -n -i /run/rsyslogd.pid"
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

[program:postfix]
command=/postfix.sh
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
startsecs=10

[program:cron]
command=/usr/sbin/cron -f
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
user=root


[eventlistener:processes]
command=/stop-supervisor.sh
events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL

[supervisorctl]
serverurl=unix:///var/run/supervisor.sock

[unix_http_server]
file=/var/run/supervisor.sock
chmod=0700

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface


================================================
FILE: Dockerfiles/rspamd/Dockerfile
================================================
FROM debian:bookworm-slim

LABEL maintainer="https://github.com/aaPanel/BillionMail"

ARG DEBIAN_FRONTEND=noninteractive
ARG RSPAMD_VER=rspamd_3.11.1-1~ab0b44951
ARG CODENAME=bookworm
ENV LC_ALL=C

COPY rspamd.sh /rspamd.sh
COPY stop-supervisor.sh /stop-supervisor.sh
COPY rotate_log.sh /rotate_log.sh

# COPY debian.sources /etc/apt/sources.list.d/debian.sources


RUN apt-get update && apt-get install -y \
  tzdata \
  ca-certificates \
  gnupg2 \
  apt-transport-https \
  dnsutils \
  netcat-traditional \
  wget \
  redis-tools \ 
  procps \ 
  vim-tiny \
  lua-cjson \
  cron \
  supervisor \
  && arch=$(arch | sed s/aarch64/arm64/ | sed s/x86_64/amd64/) \
  && wget -O /tmp/${RSPAMD_VER}~${CODENAME}_${arch}.deb https://rspamd.com/apt-stable/pool/main/r/rspamd/${RSPAMD_VER}~${CODENAME}_${arch}.deb \
  && apt install -y /tmp/${RSPAMD_VER}~${CODENAME}_${arch}.deb \
  && rm -rf /var/lib/apt/lists/* /tmp/*\
  && apt-get autoremove --purge \
  && apt-get clean \
  && mkdir -p /run/rspamd \
  && chown _rspamd:_rspamd /run/rspamd \
  && chmod +x /rspamd.sh /stop-supervisor.sh /rotate_log.sh \
  && echo 'alias ll="ls -la --color"' >> ~/.bashrc

COPY supervisord.conf /etc/supervisor/supervisord.conf

ENTRYPOINT ["/rspamd.sh"]

STOPSIGNAL SIGTERM

# CMD ["/usr/bin/rspamd", "-f", "-u", "_rspamd", "-g", "_rspamd"]
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/supervisord.conf"]


================================================
FILE: Dockerfiles/rspamd/debian.sources
================================================
Types: deb
URIs: http://mirrors.ustc.edu.cn/debian
Suites: bookworm bookworm-updates
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg

Types: deb
URIs: http://mirrors.ustc.edu.cn/debian-security
Suites: bookworm-security
Components: main contrib non-free non-free-firmware
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg


================================================
FILE: Dockerfiles/rspamd/rotate_log.sh
================================================
#!/bin/bash
echo " ---- $(date) START ----"

LOG_DIR="/var/log/rspamd"
LOG_FILE="${LOG_DIR}/rspamd.log"
DATE=$(date +%Y%m%d)
BACKUP_FILE="${LOG_DIR}/rspamd-${DATE}.log"

# Retention days
RETENTION_DAYS=${RETENTION_DAYS:-7}
# echo "Retention days: ${RETENTION_DAYS}"

# backup log
if [ -f "${LOG_FILE}" ]; then
  echo "Backup log: ${LOG_FILE}"
	mv "${LOG_FILE}" "${BACKUP_FILE}"

  # Restart rspamd
  /usr/bin/pkill -USR1 rspamd
  if [ $? -ne 0 ]; then
    echo "Restart rspamd"
    /usr/bin/supervisorctl restart rspamd
  fi

else
	echo "The log file does not exist: ${LOG_FILE}"
  echo ""
	exit 1
fi

# Compress backup files
if [ -f "${BACKUP_FILE}.gz" ]; then
  mv "${BACKUP_FILE}.gz" "${BACKUP_FILE}_1.gz"
fi
echo "Compressing: "${BACKUP_FILE}""
gzip "${BACKUP_FILE}"

# Clean up expiration logs
echo "Cleaning up expiration logs:"
find "${LOG_DIR}" -name "rspamd-*.log.gz" -type f -mtime +${RETENTION_DAYS} -print -delete

echo " ---- $(date) END ----"
echo ""

# 10MB in bytes
SIZE_THRESHOLD=$((10 * 1024 * 1024))
TARGET_LOG="${LOG_DIR}/rotate_log.log"
GZIP_LOG="${LOG_DIR}/rotate_log-${DATE}.log"
# Check whether the target log file exceeds 10 m, if so, compress
if [ -f "${TARGET_LOG}" ]; then
    FILE_SIZE=$(stat -c %s "${TARGET_LOG}")
    
    if [ ${FILE_SIZE} -gt ${SIZE_THRESHOLD} ]; then
        echo "Log file ${TARGET_LOG} exceeds 10M, compress..."
        mv "${TARGET_LOG}" "${GZIP_LOG}"
        gzip "${GZIP_LOG}"
    fi
fi
find "${LOG_DIR}" -name "rotate_log-*.gz" -type f -mtime +${RETENTION_DAYS} -delete


================================================
FILE: Dockerfiles/rspamd/rspamd.sh
================================================
#!/bin/bash


if ! grep -q "rotate_log.sh" /var/spool/cron/crontabs/root; then
    chmod +x /rotate_log.sh
    echo "10 00 * * * bash /rotate_log.sh >> /var/log/rspamd/rotate_log.log 2>&1" >> /var/spool/cron/crontabs/root
    chmod 600 /var/spool/cron/crontabs/root
    chown root:crontab /var/spool/cron/crontabs/root     
    /usr/bin/supervisorctl restart cron
fi


chmod 755 /var/lib/rspamd
chown -R _rspamd:_rspamd /var/lib/rspamd

cat <<EOF > /etc/rspamd/local.d/redis.conf
servers = "redis:6379"; # Read servers (unless write_servers are unspecified)
write_servers = "redis:6379"; # Servers to write data
disabled_modules = ["ratelimit"]; # List of modules that should not use redis from this section
timeout = 10s;
db = "0";
password = "${REDISPASS}";
EOF

exec "$@"


================================================
FILE: Dockerfiles/rspamd/stop-supervisor.sh
================================================
#!/bin/bash

printf "Start\n";

while read line; do
  echo "PROCESS event: $line" >&2;
  kill -3 $(cat "/var/run/supervisord.pid")
done < /dev/stdin


================================================
FILE: Dockerfiles/rspamd/supervisord.conf
================================================
[supervisord]
nodaemon=true
logfile=/dev/stdout
logfile_maxbytes=0
pidfile=/var/run/supervisord.pid
user=root

[program:rspamd]
command=/usr/bin/rspamd -f -u _rspamd -g _rspamd
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

[program:cron]
command=/usr/sbin/cron -f
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
user=root


[eventlistener:processes]
command=/stop-supervisor.sh
events=PROCESS_STATE_STOPPED, PROCESS_STATE_EXITED, PROCESS_STATE_FATAL

[supervisorctl]
serverurl=unix:///var/run/supervisor.sock

[unix_http_server]
file=/var/run/supervisor.sock
chmod=0700

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface


================================================
FILE: LICENSE
================================================
                    GNU AFFERO GENERAL PUBLIC LICENSE
                       Version 3, 19 November 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
 Everyone is permitted to copy and distribute verbatim copies
 of this license document, but changing it is not allowed.

                            Preamble

  The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.

  The licenses for most software and other practical works are designed
to take away your freedom to share and change the works.  By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.

  When we speak of free software, we are referring to freedom, not
price.  Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

  Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.

  A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate.  Many developers of free software are heartened and
encouraged by the resulting cooperation.  However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.

  The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community.  It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server.  Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.

  An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals.  This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.

  The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

  0. Definitions.

  "This License" refers to version 3 of the GNU Affero General Public License.

  "Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

  "The Program" refers to any copyrightable work licensed under this
License.  Each licensee is addressed as "you".  "Licensees" and
"recipients" may be individuals or organizations.

  To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy.  The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

  A "covered work" means either the unmodified Program or a work based
on the Program.

  To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy.  Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

  To "convey" a work means any kind of propagation that enables other
parties to make or receive copies.  Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

  An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License.  If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

  1. Source Code.

  The "source code" for a work means the preferred form of the work
for making modifications to it.  "Object code" means any non-source
form of a work.

  A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

  The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form.  A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

  The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities.  However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work.  For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

  The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

  The Corresponding Source for a work in source code form is that
same work.

  2. Basic Permissions.

  All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met.  This License explicitly affirms your unlimited
permission to run the unmodified Program.  The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work.  This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

  You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force.  You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright.  Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

  Conveying under any other circumstances is permitted solely under
the conditions stated below.  Sublicensing is not allowed; section 10
makes it unnecessary.

  3. Protecting Users' Legal Rights From Anti-Circumvention Law.

  No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

  When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

  4. Conveying Verbatim Copies.

  You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

  You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

  5. Conveying Modified Source Versions.

  You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

  A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit.  Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

  6. Conveying Non-Source Forms.

  You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

  A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

  A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling.  In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage.  For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product.  A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

  "Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source.  The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

  If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information.  But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

  The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed.  Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

  Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

  7. Additional Terms.

  "Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law.  If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

  When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it.  (Additional permissions may be written to require their own
removal in certain cases when you modify the work.)  You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

  Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

  All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10.  If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term.  If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

  If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

  Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

  8. Termination.

  You may not propagate or modify a covered work except as expressly
provided under this License.  Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

  However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

  Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

  Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License.  If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

  9. Acceptance Not Required for Having Copies.

  You are not required to accept this License in order to receive or
run a copy of the Program.  Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance.  However,
nothing other than this License grants you permission to propagate or
modify any covered work.  These actions infringe copyright if you do
not accept this License.  Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

  10. Automatic Licensing of Downstream Recipients.

  Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License.  You are not responsible
for enforcing compliance by third parties with this License.

  An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations.  If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

  You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License.  For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

  11. Patents.

  A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based.  The
work thus licensed is called the contributor's "contributor version".

  A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version.  For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

  Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

  In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement).  To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

  If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients.  "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

  If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

  A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License.  You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

  Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

  12. No Surrender of Others' Freedom.

  If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License.  If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all.  For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

  13. Remote Network Interaction; Use with the GNU General Public License.

  Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software.  This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.

  Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work.  The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.

  14. Revised Versions of this License.

  The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time.  Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

  Each version is given a distinguishing version number.  If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation.  If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.

  If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

  Later license versions may give you additional or different
permissions.  However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

  15. Disclaimer of Warranty.

  THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW.  EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU.  SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

  16. Limitation of Liability.

  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

  17. Interpretation of Sections 15 and 16.

  If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source.  For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code.  There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.

================================================
FILE: README-ja.md
================================================
<div align="center">
  <a name="readme-top"></a>
  <h1><a href="https://www.billionmail.com/" target="_blank">BillionMail 📧</a></h1>


## スマートなキャンペーンのためのオープンソースメールサーバー/メールマガジン/Eメールマーケティングソリューション

[![][license-shield]][license-link] [![][docs-shield]][docs-link] [![][github-release-shield]][github-release-link] [![][github-stars-shield]][github-stars-link]

[English](README.md) | [简体中文](README-zh_CN.md) | 日本語 | [Türkçe](README-ja.md)
</div>
<br/>

<div align="center">
<a href="https://trendshift.io/repositories/13842" target="_blank"><img src="https://trendshift.io/api/badge/repositories/13842" alt="aaPanel%2FBillionMail | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</div>

## BillionMailとは?

BillionMailは、ビジネスや個人がメールキャンペーンを簡単に管理できるよう設計された**オープンソースのメールサーバー兼Eメールマーケティングプラットフォーム**です。ニュースレター、プロモーションメール、取引通知などを送信する際に、メールマーケティングのすべてを**完全にコントロール**できます。**高度な分析機能**や**顧客管理機能**を活用し、プロフェッショナルのようにメールを作成、送信、トラッキングできます。

![BillionMailバナー](https://www.billionmail.com/home.png?v1)

# たった3ステップで10億通のメールを送信!
**10億通のメール。あらゆるビジネスに。保証付き。**

### Step 1️⃣ BillionMailのインストール 
✅ インストールから**8分**で**✅ メール送信成功**まで完了します
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && bash install.sh
````

### Step 2️⃣ ドメインを接続する

* 送信ドメインを追加
* DNSレコードを検証
* 無料SSLを自動有効化

### Step 3️⃣ キャンペーンを構築する

* メールを作成または貼り付け
* リストとタグを選択
* 送信日時を設定または今すぐ送信

<div align="center">
  <a href="https://www.youtube.com/embed/UHgxZa_9jGs?si=0-f1B5hDtcWImvQv" target="_blank">
    <img src="https://img.youtube.com/vi/UHgxZa_9jGs/maxresdefault.jpg" alt="" width="80%">
    <br />
    <img src="https://www.iconfinder.com/icons/317714/download/png/16" alt="YouTube" width="16"/>
    <b>YouTubeで視聴</b>
  </a>
</div>

## その他のインストール方法

👉 [https://www.aapanel.com/new/download.html](https://www.aapanel.com/new/download.html)

### aaPanelでワンクリックインストール

**Docker**

```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && cp env_init .env && docker compose up -d || docker-compose up -d
```

## 管理スクリプト

* 管理ヘルプ

  `bm help`

* デフォルトログイン情報を表示

  `bm default`

* ドメインのDNSレコードを表示

  `bm show-record`

* BillionMailを更新

  `bm update`

## ライブデモ

BillionMailデモ: [https://demo.billionmail.com/billionmail](https://demo.billionmail.com/billionmail)

ユーザー名: `billionmail`

パスワード: `billionmail`

## Webメール

BillionMailには**RoundCube**が統合されており、`/roundcube/`からWebメールにアクセスできます。

## なぜBillionMailを選ぶのか?

ほとんどのEメールマーケティングプラットフォームは**高価**、**クローズドソース**、または**基本機能が不足**しています。BillionMailはこれらと異なります:

✅ **完全オープンソース** – 隠れたコストなし、ベンダーロックインなし。
📊 **高度な分析機能** – メール配信、開封率、クリック率などを追跡。
📧 **送信数無制限** – 送信メール数に制限なし。
🎨 **カスタマイズ可能なテンプレート** – プロフェッショナルなマーケティングテンプレートを再利用可能。
🔒 **プライバシーファースト** – データは自分のサーバーにあり、サードパーティによる追跡なし。
🚀 **セルフホスト** – 自分のサーバーで実行し、完全にコントロール可能。

## どうすれば貢献できるか 🌟

BillionMailは**コミュニティ主導のプロジェクト**であり、立ち上げには皆さんのサポートが必要です!以下の方法でご参加ください:

1. **このリポジトリにスターを付ける**:スターを付けて関心を示しましょう。
2. **情報を拡散する**:開発者、マーケター、オープンソース愛好家にBillionMailを紹介しましょう。
3. **フィードバックを共有する**:Issueを立てるかディスカッションに参加して、どんな機能がほしいか教えてください。
4. **コントリビュートする**:開発が始まったら、コミュニティからの貢献を歓迎します。今後のアップデートをお待ちください!

---

📧 **BillionMail – オープンソースEメールマーケティングの未来。**

## Issues

問題が発生したり機能リクエストがある場合は、[Issueを作成](https://github.com/aaPanel/BillionMail/issues)してください。以下を含めると助かります:

* 問題またはリクエストの明確な説明
* 再現手順(該当する場合)
* スクリーンショットやエラーログ(該当する場合)

## 今すぐインストール

✅ インストールから**8分**で**メール送信成功**まで完了します

```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && bash install.sh
```

**Dockerでインストール:**(Dockerとdocker-compose-pluginを手動でインストールし、.envファイルを編集してください)

```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && cp env_init .env && docker compose up -d || docker-compose up -d
```

## ライセンス

BillionMailは**AGPLv3ライセンス**のもとで公開されています。これにより以下が可能です:

✅ ソフトウェアを無料で使用する
✅ コードを改変・再配布する
✅ プライベート利用に制限なし

詳細は[LICENSE](LICENSE)ファイルをご覧ください。

---

<!-- BillionMail公式リンク -->

[docs-link]: https://www.billionmail.com/

<!-- その他のリンク -->
[license-link]: https://www.gnu.org/licenses/gpl-3.0.html
[github-release-link]: https://github.com/aaPanel/BillionMail/releases/latest
[github-stars-link]: https://github.com/aaPanel/BillionMail
[github-issues-link]: https://github.com/aaPanel/BillionMail/issues

<!-- シールドリンク -->
[docs-shield]: https://img.shields.io/badge/documentation-148F76
[github-release-shield]: https://img.shields.io/github/v/release/aaPanel/BillionMail
[github-stars-shield]: https://img.shields.io/github/stars/aaPanel/BillionMail?color=%231890FF&style=flat-square
[license-shield]: https://img.shields.io/github/license/aaPanel/BillionMail


================================================
FILE: README-tr.md
================================================
<div align="center">
  <a name="readme-top"></a>
  <h1><a href="https://www.billionmail.com/" target="_blank">BillionMail 📧</a></h1>


## Daha Akıllı Kampanyalar İçin Açık Kaynaklı Bir Posta Sunucusu, Bülten ve E-posta Pazarlama Çözümü

[![][license-shield]][license-link] [![][docs-shield]][docs-link] [![][github-release-shield]][github-release-link] [![][github-stars-shield]][github-stars-link]

English | [简体中文](README-zh_CN.md) | [日本語](README-ja.md) | [Türkçe](README-ja.md)
</div>
<br/>

<div align="center">
<a href="https://trendshift.io/repositories/13842" target="_blank"><img src="https://trendshift.io/api/badge/repositories/13842" alt="aaPanel%2FBillionMail | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</div>

## BillionMail Nedir?

BillionMail, işletmelerin ve bireylerin e-posta kampanyalarını kolayca yönetmelerine yardımcı olmak için tasarlanmış **geleceğe yönelik açık kaynaklı bir Posta sunucusu ve E-posta pazarlama platformudur**. İster bültenler, ister tanıtım e-postaları veya işlem mesajları gönderiyor olun, bu araç e-posta pazarlama çabalarınız üzerinde **tam kontrol sağlar**. **Gelişmiş analitik** ve **müşteri yönetimi** gibi özelliklerle, e-postaları bir profesyonel gibi oluşturabilir, gönderebilir ve takip edebilirsiniz.

![BillionMail Banner](https://www.billionmail.com/home.png?v1)

# Bir Milyar E-posta Göndermek İçin Sadece 3 Adım!
**Bir milyar e-posta. Her işletme. Garantili.**

### Adım 1️⃣ BillionMail'i Kurun: 
✅ ✅ Kurulumdan ✅ **başarılı e-posta gönderimine** geçmek **sadece 8️⃣ dakika** sürer
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && bash install.sh
```


### Adım 2️⃣: Alan Adınızı Bağlayın

- Gönderim alan adını ekleyin
- DNS kayıtlarını doğrulayın
- Ücretsiz SSL'yi otomatik etkinleştirin


### Adım 3️⃣: Kampanyanızı Oluşturun

- E-postanızı yazın veya yapıştırın
- Liste ve etiketleri seçin
- Gönderim zamanını ayarlayın veya hemen gönderin


<div align="center">
  <a href="https://www.youtube.com/embed/UHgxZa_9jGs?si=0-f1B5hDtcWImvQv" target="_blank">
    <img src="https://img.youtube.com/vi/UHgxZa_9jGs/maxresdefault.jpg" alt="" width="80%">
    <br />
    <img src="https://www.iconfinder.com/icons/317714/download/png/16" alt="YouTube" width="16"/>
    <b>Youtube'da İzle</b>
  </a>
</div>


## Diğer Kurulum Yöntemleri

### aaPanel'de Tek Tıkla Kurulum
👉 https://www.aapanel.com/new/download.html (✅aaPanel'e giriş yapın --> 🐳Docker --> 1️⃣Tek Tıkla Kurulum)




**Docker**
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && cp env_init .env && docker compose up -d || docker-compose up -d
```

## Yönetim Scripti
- Yönetim yardımı

  `bm help`

- Varsayılan oturum açma bilgilerini görüntüleme

  `bm default`

- Alan adı DNS kaydını gösterme

  `bm show-record`

- BillionMail'i güncelleme

  `bm update`

## Canlı Demo
BillionMail Demo: [https://demo.billionmail.com/billionmail](https://demo.billionmail.com/billionmail)

Kullanıcı Adı: `billionmail` 

Şifre: `billionmail` 


## WebMail

BillionMail, **RoundCube**'u entegre etmiştir, WebMail'e `/roundcube/` üzerinden erişebilirsiniz. .

## Neden BillionMail?

Çoğu e-posta pazarlama platformu ya **pahalı**, ya **kapalı kaynaklı** ya da **temel özelliklerden yoksundur**. BillionMail farklı olmayı hedefliyor::

✅ **Tamamen Açık Kaynaklı** – Gizli maliyetler yok, tedarikçi bağımlılığı yok.
📊 **Gelişmiş Analitik** – E-posta teslimatını, açılma oranlarını, tıklanma oranlarını ve daha fazlasını takip edin.
📧 **Sınırsız Gönderim** – Gönderebileceğiniz e-posta sayısında kısıtlama yok.
🎨 **Özelleştirilebilir** Şablonlar – Yeniden kullanım için özel profesyonel pazarlama şablonları.
🔒 **Gizlilik Öncelikli** – Verileriniz sizde kalır, üçüncü taraf takibi yok.
🚀 **Kendi Sunucunuzda Barındırma** – Tam kontrol için kendi sunucunuzda çalıştırın.

## Nasıl Yardımcı Olabilirsiniz 🌟

BillionMail **topluluk odaklı bir projedir** ve başlamak için desteğinize ihtiyacımız var! İşte nasıl yardımcı olabileceğiniz:

1. **Bu Depoyu Yıldızlayın**: Bu depoyu yıldızlayarak ilginizi gösterin.
2. **Haberi Yayın:** BillionMail'i ağınızla (geliştiriciler, pazarlamacılar ve açık kaynak meraklıları) paylaşın.
3. **Geri Bildirim Paylaşın:** Bir sorun açarak veya tartışmaya katılarak BillionMail'de görmek istediğiniz özellikleri bize bildirin.
4. **Katkıda Bulunun:** Geliştirme başladığında, topluluktan gelen katkıları memnuniyetle karşılayacağız. Güncellemeler için takipte kalın!

---

📧 **BillionMail – Açık Kaynaklı E-posta Pazarlamasının Geleceği.**

## Sorunlar

Herhangi bir sorunla karşılaşırsanız veya özellik talepleriniz olursa, lütfen [bir sorun açın](https://github.com/aaPanel/BillionMail/issues). Şunları eklediğinizden emin olun:

- Sorunun veya talebin açık bir açıklaması.
- Sorunu yeniden oluşturma adımları (varsa).
- Ekran görüntüleri veya hata günlükleri (varsa).

## Şimdi Kurun:
✅Kurulumdan **başarılı e-posta gönderimine** geçmek **sadece 8 dakika** sürer
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && bash install.sh
```


**Docker ile Kurulum**: (Lütfen Docker ve docker-compose-plugin'i manuel olarak kurun ve .env dosyasını değiştirin)
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && cp env_init .env && docker compose up -d || docker-compose up -d
```

## Yıldız Geçmişi

[![Star History Chart](https://api.star-history.com/svg?repos=aapanel/billionmail&type=Date)](https://www.star-history.com/#aapanel/billionmail&Date)

## Lisans

BillionMail, **AGPLv3 Lisansı** altında lisanslanmıştır. Bu, şunları yapabileceğiniz anlamına gelir

✅ Yazılımı ücretsiz kullanma.
✅ Kodu değiştirme ve dağıtma.
✅ Özel olarak kısıtlama olmaksızın kullanma.

Daha fazla ayrıntı için [LICENSE](LICENSE) dosyasına bakın.

---

<!-- BillionMail official link -->
[docs-link]: https://www.billionmail.com/

<!-- BillionMail Other link-->
[license-link]: https://www.gnu.org/licenses/agpl-3.0.html
[github-release-link]: https://github.com/aaPanel/BillionMail/releases/latest
[github-stars-link]: https://github.com/aaPanel/BillionMail
[github-issues-link]: https://github.com/aaPanel/BillionMail/issues

<!-- Shield link-->
[docs-shield]: https://img.shields.io/badge/documentation-148F76
[github-release-shield]: https://img.shields.io/github/v/release/aaPanel/BillionMail
[github-stars-shield]: https://img.shields.io/github/stars/aaPanel/BillionMail?color=%231890FF&style=flat-square   
[license-shield]: https://img.shields.io/github/license/aaPanel/BillionMail


================================================
FILE: README-zh_CN.md
================================================
<div align="center">
  <a name="readme-top"></a>
  <h1><a href="https://www.billionmail.com/" target="_blank">BillionMail 📧</a></h1>


## 一个开源的邮件服务器,为智能营销提供电子邮件解决方案

[![][license-shield]][license-link] [![][docs-shield]][docs-link] [![][github-release-shield]][github-release-link] [![][github-stars-shield]][github-stars-link]

[English](README.md) | 简体中文 | [日本語](README-ja.md) | [Türkçe](README-ja.md)
</div>
<br/>

<div align="center">
<a href="https://trendshift.io/repositories/13842" target="_blank"><img src="https://trendshift.io/api/badge/repositories/13842" alt="aaPanel%2FBillionMail | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</div>

## 在线演示
BillionMail 演示: [https://demo.billionmail.com/billionmail](https://demo.billionmail.com/billionmail)

用户名: `billionmail` 

密码: `billionmail` 

## 什么是 BillionMail?

BillionMail 是一个**未来的开源邮件服务器和电子邮件营销平台**,旨在帮助企业和个人轻松管理他们的电子邮件营销活动。无论您是发送新闻通讯、促销邮件还是交易消息,这个工具都将为您的电子邮件营销工作提供**完全控制**。通过**高级分析**和**客户管理**等功能,您将能够像专业人士一样创建、发送和跟踪电子邮件。

![BillionMail Banner](https://www.billionmail.com/home.png?v1)

## 如何使用?
**安装脚本:** (✅该脚本会自动安装所有必需的运行环境,包括Docker)
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && bash install.sh
```


**使用Docker安装:** (请手动安装Docker和docker-compose-plugin,并修改.env文件)
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && cp env_init .env && docker compose up -d || docker-compose up -d
```

<div align="center">
  <a href="https://www.bilibili.com/video/BV1JiTNzUE5m/" target="_blank">
    <img src="https://i1.hdslb.com/bfs/archive/9065dbdf7645fa5cadb8a34e1ae3e287481fb862.jpg" alt="" width="80%">
    <br />
    <b>在BiliBili上观看</b>
  </a>
</div>


## 管理脚本
- 管理帮助

  `bm help`

- 查看默认登录信息

  `bm default`

- 显示域名DNS记录

  `bm show-record`

- 更新BillionMail

  `bm update`



## 网页邮箱

BillionMail已集成**RoundCube**,您可以通过`/roundcube/`访问网页邮箱。

## 为什么选择BillionMail?

### 大多数电子邮件营销平台要么**昂贵**,要么**闭源**,或者**缺乏基本功能**。BillionMail的目标是与众不同:

✅ **完全开源** – 没有隐藏成本,没有供应商锁定。  
📊 **高级分析** – 跟踪电子邮件投递、打开率、点击率等。  
📧 **无限发送** – 对您可以发送的电子邮件数量没有限制。  
🎨 **可定制模板** – 可重复使用的专业营销模板。
🔒 **隐私优先** – 您的数据保留在您这里,没有第三方跟踪。  
🚀 **自托管** – 在您自己的服务器上运行,完全控制。  

## 您如何提供帮助 🌟

BillionMail是一个**社区驱动的项目**,我们需要您的支持才能开始!以下是您可以提供帮助的方式:

1. **为此仓库加星标**:通过为此仓库加星表示您的兴趣。  
2. **传播消息**:与您的网络分享BillionMail—开发者、营销人员和开源爱好者。  
3. **分享反馈**:通过提出问题或加入讨论,让我们知道您希望在BillionMail中看到哪些功能。  
4. **贡献**:一旦开发开始,我们将欢迎社区的贡献。敬请关注更新!

---

📧 **BillionMail – 开源电子邮件营销的未来。**

## 问题

如果您遇到任何问题或有功能请求,请[提交issue](https://github.com/aaPanel/BillionMail/issues)。请确保包括:

- 问题或请求的清晰描述。
- 重现问题的步骤(如适用)。
- 截图或错误日志(如适用)。

## 许可证

BillionMail根据**AGPLv3许可证**授权。这意味着您可以:

✅ 免费使用该软件。  
✅ 修改和分发代码。  
✅ 私下使用,没有限制。

有关更多详细信息,请参阅[LICENSE](LICENSE)文件。


<!-- BillionMail official link -->
[docs-link]: https://www.billionmail.com/

<!-- BillionMail Other link-->
[license-link]: https://www.gnu.org/licenses/gpl-3.0.html
[github-release-link]: https://github.com/aaPanel/BillionMail/releases/latest
[github-stars-link]: https://github.com/aaPanel/BillionMail
[github-issues-link]: https://github.com/aaPanel/BillionMail/issues

<!-- Shield link-->
[docs-shield]: https://img.shields.io/badge/documentation-148F76
[github-release-shield]: https://img.shields.io/github/v/release/aaPanel/BillionMail
[github-stars-shield]: https://img.shields.io/github/stars/aaPanel/BillionMail?color=%231890FF&style=flat-square   
[license-shield]: https://img.shields.io/github/license/aaPanel/BillionMail


================================================
FILE: README.md
================================================
<div align="center">
  <a name="readme-top"></a>
  <h1><a href="https://www.billionmail.com/" target="_blank">BillionMail 📧</a></h1>


## An Open-Source MailServer, NewsLetter, Email Marketing Solution for Smarter Campaigns

[![][license-shield]][license-link] [![][docs-shield]][docs-link] [![][github-release-shield]][github-release-link] [![][github-stars-shield]][github-stars-link]

English | [简体中文](README-zh_CN.md) | [日本語](README-ja.md) | [Türkçe](README-ja.md)
</div>
<br/>

<div align="center">
<a href="https://trendshift.io/repositories/13842" target="_blank"><img src="https://trendshift.io/api/badge/repositories/13842" alt="aaPanel%2FBillionMail | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
</div>

## What is BillionMail?

BillionMail is a **future open-source Mail server, Email marketing platform** designed to help businesses and individuals manage their email campaigns with ease. Whether you're sending newsletters, promotional emails, or transactional messages, this tool will provide **full control** over your email marketing efforts. With features like **advanced analytics**, and **customer management**, you'll be able to create, send, and track emails like a pro.

![BillionMail Banner](https://www.billionmail.com/home.png?v1)

# Just 3 steps to send a billion emails!
**Billion emails. Any business. Guaranteed.**

### Step 1️⃣ Install BillionMail: 
✅ It takes **only 8️⃣ minutes** from installation to **✅ successful email sending**
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && bash install.sh
```


### Step 2️⃣: Connect Your Domain
- Add the sending domain
- Verify DNS records
- Auto-enable free SSL


### Step 3️⃣: Build Your Campaign

- Write or paste your email
- Choose list & tags
- Set send time or send now


<div align="center">
  <a href="https://www.youtube.com/embed/UHgxZa_9jGs?si=0-f1B5hDtcWImvQv" target="_blank">
    <img src="https://img.youtube.com/vi/UHgxZa_9jGs/maxresdefault.jpg" alt="" width="80%">
    <br />
    <img src="https://www.iconfinder.com/icons/317714/download/png/16" alt="YouTube" width="16"/>
    <b>Watch on Youtube</b>
  </a>
</div>


## Other installation methods

### One-click installation on aaPanel
👉 https://www.aapanel.com/new/download.html  (Log in to ✅aaPanel --> 🐳Docker --> 1️⃣OneClick install)




**Docker**
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && cp env_init .env && docker compose up -d || docker-compose up -d
```

## Management script
- Management help

  `bm help`

- View Login default info

  `bm default`

- Show domain DNS record

  `bm show-record`

- Update BillionMail

  `bm update`

## Live Demo
BillionMail Demo: [https://demo.billionmail.com/billionmail](https://demo.billionmail.com/billionmail)

Username: `billionmail` 

Password: `billionmail` 


## WebMail

BillionMail has integrated **RoundCube**, you can access WebMail via `/roundcube/`.

## Why BillionMail?

Most email marketing platforms are either **expensive**, **closed-source**, or **lack essential features**. BillionMail aims to be different:

✅ **Fully Open-Source** – No hidden costs, no vendor lock-in.  
📊 **Advanced Analytics** – Track email delivery, open rates, click-through rates, and more.  
📧 **Unlimited Sending** – No restrictions on the number of emails you can send.  
🎨 **Customizable Templates** – Custom professional marketing templates for reuse.
🔒 **Privacy-First** – Your data stays with you, no third-party tracking.  
🚀 **Self-Hosted** – Run it on your own server for complete control.  

## How You Can Help 🌟

BillionMail is a **community-driven project**, and we need your support to get started! Here's how you can help:

1. **Star This Repository**: Show your interest by starring this repo.  
2. **Spread the Word**: Share BillionMail with your network—developers, marketers, and open-source enthusiasts.  
3. **Share Feedback**: Let us know what features you'd like to see in BillionMail by opening an issue or joining the discussion.  
4. **Contribute**: Once development begins, we'll welcome contributions from the community. Stay tuned for updates!

---

📧 **BillionMail – The Future of Open-Source Email Marketing.**

## Issues

If you encounter any issues or have feature requests, please [open an issue](https://github.com/aaPanel/BillionMail/issues). Be sure to include:

- A clear description of the problem or request.
- Steps to reproduce the issue (if applicable).
- Screenshots or error logs (if applicable).

## Install Now:
✅It takes **only 8 minutes** from installation to **successful email sending**
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && bash install.sh
```


**Install with Docker:** (Please install Docker and docker-compose-plugin manually, and modify .env file)
```shell
cd /opt && git clone https://github.com/aaPanel/BillionMail && cd BillionMail && cp env_init .env && docker compose up -d || docker-compose up -d
```

## Star History

[![Star History Chart](https://api.star-history.com/svg?repos=aapanel/billionmail&type=Date)](https://www.star-history.com/#aapanel/billionmail&Date)

## License

BillionMail is licensed under the **AGPLv3 License**. This means you can:

✅ Use the software for free.  
✅ Modify and distribute the code.  
✅ Use it privately without restrictions.

See the [LICENSE](LICENSE) file for more details.

---

<!-- BillionMail official link -->
[docs-link]: https://www.billionmail.com/

<!-- BillionMail Other link-->
[license-link]: https://www.gnu.org/licenses/agpl-3.0.html
[github-release-link]: https://github.com/aaPanel/BillionMail/releases/latest
[github-stars-link]: https://github.com/aaPanel/BillionMail
[github-issues-link]: https://github.com/aaPanel/BillionMail/issues

<!-- Shield link-->
[docs-shield]: https://img.shields.io/badge/documentation-148F76
[github-release-shield]: https://img.shields.io/github/v/release/aaPanel/BillionMail
[github-stars-shield]: https://img.shields.io/github/stars/aaPanel/BillionMail?color=%231890FF&style=flat-square   
[license-shield]: https://img.shields.io/github/license/aaPanel/BillionMail



================================================
FILE: SECURITY.md
================================================
# Security Policy

## Reporting a Vulnerability

Please report security issues to `1249648969@qq.com`


================================================
FILE: bm.sh
================================================
#!/bin/bash
PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
export PATH

# Add domain name and email

CONTAINER_PROJECT_NAME=billionmail
PGSQL_CONTAINER_NAME="${CONTAINER_PROJECT_NAME}-pgsql-billionmail-1"
DOVECOT_CONTAINER_NAME="${CONTAINER_PROJECT_NAME}-dovecot-billionmail-1"
POSTFIX_CONTAINER_NAME="${CONTAINER_PROJECT_NAME}-postfix-billionmail-1"
RSPAMD_CONTAINER_NAME="${CONTAINER_PROJECT_NAME}-rspamd-billionmail-1"
create_time=$(date +%s)
time=$(date +%Y_%m_%d_%H_%M_%S)

if [ $(whoami) != "root" ];then
    echo -e "Non-root install, please try the following solutions: \n   1.Please switch to root user install \n   2.Try executing the following install commands: \n     sudo bash $0 $@"
    exit 1
fi

PWD_d=`pwd`

SWITCH_TO_BILLIONMAIL_DIR(){
    if [ -f "/opt/PWD-Billion-Mail.txt" ]; then
        DIR=$(cat /opt/PWD-Billion-Mail.txt)
        if [ -d "${DIR}" ]; then
            cd "${DIR}"
            echo "Enter the BillionMail project directory: ${DIR}"
        fi
    fi
}

if [ -s ".env" ]; then
   CHECK_BILLIONMAIL=$(grep "BILLIONMAIL_HOSTNAME" .env)
   if [ -z "${CHECK_BILLIONMAIL}" ]; then
        SWITCH_TO_BILLIONMAIL_DIR
   fi
else
    SWITCH_TO_BILLIONMAIL_DIR
fi

if [ ! -s ".env" ]; then
    ls -al
    echo " The .env file does not exist. Cannot continue operation, please operate in the BillionMail project directory"
    exit 1
fi

source .env
if [ -z "${DBUSER}" ] || [ -z "${DBNAME}" ] || [ -z "${DBPASS}" ]; then
    echo "The obtained .env configuration exception is empty."   
    exit 1
fi

Red_Error(){
    echo '=================================================';
    printf '\033[1;31;40m%b\033[0m\n' "$@";
    exit 1;
}

Command_Exists() {
    command -v "$@" >/dev/null 2>&1
}


Docker_Compose_Check(){

    if Command_Exists docker-compose ; then
        DOCKER_COMPOSE="docker-compose"
    else 
        if Command_Exists docker; then
            Docker_compose="docker compose version"
            if $Docker_compose >/dev/null 2>&1; then
                DOCKER_COMPOSE="docker compose"
            fi
        else
            Red_Error "ERROR: Docker Compose does not exist"
        fi

    fi
}
Docker_Compose_Check

GET_SERVICE_NAME() {

    # ALL_SERVICE_NAME=$(${DOCKER_COMPOSE} config --services |grep "${SERVICE}")
    # echo "${ALL_SERVICE_NAME}"

    if [[ "${SERVICE}" == "core" ]] || [[ "${SERVICE}" == "manage" ]]; then
        #echo "Getting the "${SERVICE}" service..."
        SERVICE_NAME=$(${DOCKER_COMPOSE} ps -a --format " {{.Service}} {{.ID}} {{.Image}}" |grep "/core:" | awk '{print $1}' )
    
    elif [[ "${SERVICE}" == "postfix" ]] || [[ "${SERVICE}" == "postfix-billionmail" ]]; then
        SERVICE_NAME="postfix-billionmail"
    
    elif [[ "${SERVICE}" == "dovecot" ]] || [[ "${SERVICE}" == "dovecot-billionmail" ]]; then
        SERVICE_NAME="dovecot-billionmail"
    
    elif [[ "${SERVICE}" == "rspamd" ]] || [[ "${SERVICE}" == "rspamd-billionmail" ]]; then
        SERVICE_NAME="rspamd-billionmail"
    
    elif [[ "${SERVICE}" == "pgsql" ]] || [[ "${SERVICE}" == "postgres" ]] || [[ "${SERVICE}" == "pgsql-billionmail" ]]; then
        SERVICE_NAME="pgsql-billionmail"
    
    elif [[ "${SERVICE}" == "redis" ]] || [[ "${SERVICE}" == "redis-billionmail" ]]; then
        SERVICE_NAME="redis-billionmail"

    elif [[ "${SERVICE}" == "webmail" ]] || [[ "${SERVICE}" == "roundcube" ]] || [[ "${SERVICE}" == "webmail-billionmail" ]]; then
        SERVICE_NAME="webmail-billionmail"
    
    else
        echo "Please use: core|postfix|dovecot|rspamd|pgsql|redis|webmail"
        Red_Error "ERROR: The "${SERVICE}" service does not exist"

    fi

    if [ -z "${SERVICE_NAME}" ]; then
        Red_Error "ERROR: The "${SERVICE}" service does not exist"
    fi

}


GET_CONTAINER_ID() {

    if [ -z "${CONTAINER}" ]; then
        CONTAINER="$1"
    fi

    if [[ "${CONTAINER}" == "core" ]] || [[ "${CONTAINER}" == "manage" ]]; then
        CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "/core:" | awk '{print $1}' )
    
    elif [[ ""${CONTAINER}"" == "postfix" ]] || [[ ""${CONTAINER}"" == "postfix-billionmail" ]]; then
        CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "/postfix:" | awk '{print $1}' )
    
    elif [[ ""${CONTAINER}"" == "dovecot" ]] || [[ ""${CONTAINER}"" == "dovecot-billionmail" ]]; then
        CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "/dovecot:" | awk '{print $1}' )
    
    elif [[ ""${CONTAINER}"" == "rspamd" ]] || [[ ""${CONTAINER}"" == "rspamd-billionmail" ]]; then
        CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "/rspamd:" | awk '{print $1}' )
    
    elif [[ ""${CONTAINER}"" == "pgsql" ]] || [[ ""${CONTAINER}"" == "postgres" ]] || [[ ""${CONTAINER}"" == "pgsql-billionmail" ]]; then
        CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "postgres:" | awk '{print $1}' )
    
    elif [[ ""${CONTAINER}"" == "redis" ]] || [[ ""${CONTAINER}"" == "redis-billionmail" ]]; then
        CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "redis:" | awk '{print $1}' )

    elif [[ ""${CONTAINER}"" == "webmail" ]] || [[ ""${CONTAINER}"" == "roundcube" ]] || [[ ""${CONTAINER}"" == "webmail-billionmail" ]]; then
        CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "roundcubemail:" | awk '{print $1}' )
    
    else
        echo "Please use: core|postfix|dovecot|rspamd|pgsql|redis|webmail"
        Red_Error "ERROR: The ""${CONTAINER}"" container does not exist"
    fi

}


Init_Email() {
    input="$2"

    # Regular expression verification email address format
    if [[ "$input" =~ ^[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}$ ]]; then
        mailbox=$(echo "$input" | cut -d '@' -f 1 | tr '[:upper:]' '[:lower:]')
        BILLIONMAIL_HOSTNAME=$(echo "$input" | cut -d '@' -f 2 | tr '[:upper:]' '[:lower:]')
        
    else
        echo "Enter an email address that is not a legal one: $input"
        echo "Example: user@example.com"
        exit 1
    fi
}


Init_Domain() {
    BILLIONMAIL_HOSTNAME="$2"

    # Regular expression check domain name format
    # if [[ ! "${BILLIONMAIL_HOSTNAME}" =~ ^[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9](\.[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])*$ ]]; then
    if [[ ! "${BILLIONMAIL_HOSTNAME}" =~ ^([a-zA-Z0-9]([a-zA-Z0-9-]{0,62}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$ ]]; then
        echo -e "\e[31m(${BILLIONMAIL_HOSTNAME}) is not a FQDN!\e[0m"
        echo "Please change it to a FQDN"
        exit 1
    elif [[ "${BILLIONMAIL_HOSTNAME: -1}" == "." ]]; then
        echo "(${BILLIONMAIL_HOSTNAME}) is ending with a dot. This is not a valid FQDN!"
        exit 1

    fi

    # Convert to lowercase
    BILLIONMAIL_HOSTNAME=$(echo "${BILLIONMAIL_HOSTNAME}" | tr '[:upper:]' '[:lower:]')

}

Domain_DKIM_record(){
    if [ -z "${BILLIONMAIL_HOSTNAME}" ]; then
        echo "Please enter the domain name"
        exit 1
    fi

    Check_domain=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT * FROM domain WHERE domain = '${BILLIONMAIL_HOSTNAME}';" | grep -w "^ ${BILLIONMAIL_HOSTNAME}")
    if [ -z "${Check_domain}" ]; then
        echo "Error: ${BILLIONMAIL_HOSTNAME} Domain does not exist."
        exit 1
    fi

    ## DKIM key generation
    docker exec -i -e BILLIONMAIL_HOSTNAME=${BILLIONMAIL_HOSTNAME} ${RSPAMD_CONTAINER_NAME} bash -c 'cat << "EOF" > /tmp/1.sh
#!/bin/bash
if [ ! -d "/var/lib/rspamd/dkim/${BILLIONMAIL_HOSTNAME}/" ]; then
    mkdir -p "/var/lib/rspamd/dkim/${BILLIONMAIL_HOSTNAME}/"
fi
if [ -f "/var/lib/rspamd/dkim/${BILLIONMAIL_HOSTNAME}/default.private" ] && [ -f "/var/lib/rspamd/dkim/${BILLIONMAIL_HOSTNAME}/default.pub" ]; then
    #echo "DKIM key already exists, skipping generation."
    exit 0
fi

rspamadm dkim_keygen -s 'default' -b 1024 -d {domain} -k "/var/lib/rspamd/dkim/${BILLIONMAIL_HOSTNAME}/default.private" > "/var/lib/rspamd/dkim/${BILLIONMAIL_HOSTNAME}/default.pub"
if [ $? -eq 0 ]; then
    # Define the root directory for private keys
    DKIM_KEYS_DIR="/var/lib/rspamd/dkim"
    # Configuration file path
    CONFIG_FILE="/etc/rspamd/local.d/dkim_signing.conf"
    # Check if the configuration file exists, if not, create it
    if [ ! -f "${CONFIG_FILE}" ]; then
        touch "${CONFIG_FILE}"
        echo "${CONFIG_FILE}"
        echo "domain {" > "${CONFIG_FILE}"
        echo "#BT_DOMAIN_DKIM_BEGIN" >> "${CONFIG_FILE}"
        echo "#BT_DOMAIN_DKIM_END" >> "${CONFIG_FILE}"
        echo "}" >> "${CONFIG_FILE}"
    fi
    # Scan the DKIM_KEYS_DIR directory to get all domains
    DOMAINS=()
    for DOMAIN_DIR in "${DKIM_KEYS_DIR}"/*; do
        if [ -d "${DOMAIN_DIR}" ]; then
            DOMAIN_NAME=$(basename "${DOMAIN_DIR}")
            PRIVATE_KEY_PATH="${DOMAIN_DIR}/default.private"
            if [ -f "${PRIVATE_KEY_PATH}" ]; then
                DOMAINS+=("${DOMAIN_NAME}:${PRIVATE_KEY_PATH}")
            else
                echo "Warning: Private key file ${PRIVATE_KEY_PATH} for domain ${DOMAIN_NAME} does not exist, skipping configuration."
            fi
        fi
    done
    # Add domain configurations
    for DOMAIN in "${DOMAINS[@]}"; do
        DOMAIN_NAME=$(echo "${DOMAIN}" | cut -d':' -f1)
        PRIVATE_KEY_PATH=$(echo "${DOMAIN}" | cut -d':' -f2)
        # Check if the domain already exists
        if grep -wq "${DOMAIN_NAME}" "${CONFIG_FILE}"; then
            # echo "Domain ${DOMAIN_NAME} already exists, skipping configuration."
            continue
        fi
        # Insert domain configuration between #BT_DOMAIN_DKIM_BEGIN and #BT_DOMAIN_DKIM_END
        sed -i "/^#BT_DOMAIN_DKIM_BEGIN$/a #${DOMAIN_NAME}_DKIM_BEGIN\n  ${DOMAIN_NAME} {\n    selectors [\n     {\n       path: \"${PRIVATE_KEY_PATH}\";\n       selector: \"default\"\n     }\n   ]\n }\n#${DOMAIN_NAME}_DKIM_END" "${CONFIG_FILE}"
        # echo "Domain ${DOMAIN_NAME} has been successfully added to the configuration file."
    done
    # echo "DKIM configuration update completed."
else
    echo -e "DKIM key generation failed!"
    exit 1
fi
chmod 755 -R "/var/lib/rspamd/dkim/${BILLIONMAIL_HOSTNAME}/"
EOF'
    docker exec -i -e BILLIONMAIL_HOSTNAME=${BILLIONMAIL_HOSTNAME} ${RSPAMD_CONTAINER_NAME} bash /tmp/1.sh && rm -f /tmp/1.sh
    DKIM_RECORD=$(docker exec ${RSPAMD_CONTAINER_NAME} cat "/var/lib/rspamd/dkim/${BILLIONMAIL_HOSTNAME}/default.pub")
    # echo "DKIM RECORD: ${DKIM_RECORD}"
    
}


Domain_record() {

    Check_domain=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT * FROM domain WHERE domain = '${BILLIONMAIL_HOSTNAME}';" | grep -w "^ ${BILLIONMAIL_HOSTNAME}")
    if [ "${Check_domain}" ]; then

        IPV4_ADDRESS=$(curl -sS -4 --connect-timeout 10 -m 20 https://ifconfig.me)
        if [ -z "${IPV4_ADDRESS}" ]; then
            IPV4_ADDRESS=$(curl -sSk --connect-timeout 10 -m 20 https://www.aapanel.com/api/common/getClientIP)
        fi
        ipv4_regex="^([0-9]{1,3}\.){3}[0-9]{1,3}$"
        if [[ ${IPV4_ADDRESS} =~ ${ipv4_regex} ]]; then        
            echo "${IPV4_ADDRESS}" >/dev/null 2>&1
        elif [ -z "${IPV4_ADDRESS}" ]; then
            IPV4_ADDRESS="YOUR_SERVER_IPV4_ADDRESS"
        fi
        echo -e ""
        echo -e "\e[31mPlease add the following record to your domain name\e[0m"
        echo -e "==========================================================="
        echo -e " Type | Host record    |    IPv4 address   |"
        echo -e "  \e[1;33mA\e[0m   | \e[1;33mmail.${BILLIONMAIL_HOSTNAME}\e[0m | \e[1;33m${IPV4_ADDRESS}\e[0m |"
        echo -e "==========================================================="
        echo -e " Type | Host record | MX priority |  Record value    "
        echo -e "  \e[1;33mMX\e[0m  |     \e[1;33m@\e[0m       |      \e[1;33m10\e[0m     | \e[1;33mmail.${BILLIONMAIL_HOSTNAME}\e[0m "
        echo -e "==========================================================="
        if [ "${IPV4_ADDRESS}" ]; then
            echo -e " Type | Host record |    Record value   |"
            echo -e "  \e[1;33mTXT\e[0m |     \e[1;33m@\e[0m       | \e[1;33mv=spf1 +a +mx +ip4:${IPV4_ADDRESS} -all\e[0m |"
        else
            echo -e " Type | Host record |    Record value   |"
            echo -e "  \e[1;33mTXT\e[0m |     \e[1;33m@\e[0m       | \e[1;33mv=spf1 +a +mx -all\e[0m |"
        fi
        echo -e "==========================================================="
        echo -e " Type | Host record |    Record value     |"
        echo -e "  \e[1;33mTXT\e[0m |   \e[1;33m_dmarc\e[0m    | \e[1;33mv=DMARC1;p=quarantine;rua=mailto:admin@${BILLIONMAIL_HOSTNAME}\e[0m |"
        echo -e "==========================================================="

        Domain_DKIM_record

        if [ "${DKIM_RECORD}" ]; then
            DKIM_RECORD=$(echo "${DKIM_RECORD}" | awk -F'"' '{print $2 $4}' | tr -d '[:space:]')
            #echo "DKIM RECORD: ${DKIM_RECORD}"
            echo -e " Type |  Host record       |    Record value     |"
            echo -e "  \e[1;33mTXT\e[0m | \e[1;33mdefault._domainkey\e[0m | \e[1;33m${DKIM_RECORD}\e[0m |<-- Start from \"v=DKIM1\" end, A single line."
            echo -e "==========================================================="
        else
            echo -e "${BILLIONMAIL_HOSTNAME} DKIM key generation failed!"
        fi
    else
        echo -e "Domain ${BILLIONMAIL_HOSTNAME} does not exist."
    fi
}


Select_Domain_data(){

    # Check_domain=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT * FROM domain;")
    # echo "${Check_domain}"
    Check_domain=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT domain FROM domain;")
    echo "${Check_domain}"
}

Select_Email_data(){

    Check_mailbox=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT username FROM mailbox;")
    echo "${Check_mailbox}"
}

Add_Domain() {

    echo "Creating domain..."
    
    Check_domain=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT * FROM domain WHERE domain = '${BILLIONMAIL_HOSTNAME}';" | grep -w "^ ${BILLIONMAIL_HOSTNAME}")
    if [ -z "${Check_domain}" ]; then
        # Create a domain
        
        docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "INSERT INTO domain (domain, a_record, mailboxes, mailbox_quota, quota, rate_limit, create_time, active)
        VALUES ('${BILLIONMAIL_HOSTNAME}', 'mail.${BILLIONMAIL_HOSTNAME}', 500, 5368709120, 5368709120, 12, ${create_time}, 1);"
        if [ $? -eq 0 ]; then
            echo "${BILLIONMAIL_HOSTNAME} Domain creation was successful!"
            Domain_record
        else
            Red_Error "Domain creation failed!"
        fi
    else
        echo ""${Check_domain}" Domain already exists!"
    fi
}

Del_Domain() {
    echo "Deleting domain..."

    Check_domain=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT * FROM domain WHERE domain = '${BILLIONMAIL_HOSTNAME}';" | grep -w "^ ${BILLIONMAIL_HOSTNAME}")
    
    if [ -z "${Check_domain}" ]; then
        echo "Domain '${BILLIONMAIL_HOSTNAME}' does not exist!"
    else
        # Delete the domain
        docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "DELETE FROM domain WHERE domain = '${BILLIONMAIL_HOSTNAME}';"
        if [ $? -eq 0 ]; then
            echo "Domain '${BILLIONMAIL_HOSTNAME}' deleted successfully!"
        else
            Red_Error "Failed to delete domain '${BILLIONMAIL_HOSTNAME}'!"
        fi
    fi
}


Add_Email() {
    echo "Creating mailbox..."

    Check_domain=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT * FROM domain WHERE domain = '${BILLIONMAIL_HOSTNAME}';" | grep -w "^ ${BILLIONMAIL_HOSTNAME}")
    if [ -z "${Check_domain}" ]; then
        Red_Error "Domain '${BILLIONMAIL_HOSTNAME}' does not exist, please create it first!"
    fi

    # Create a mailbox
    if [ -z "${mailbox}" ]; then
        mailbox=$(LC_ALL=C </dev/urandom tr -dc a-z0-9 2> /dev/null | head -c 6)
        echo "Generate mailbox: ${mailbox}"
    else
        mailbox=$(echo "${mailbox}" | tr '[:upper:]' '[:lower:]')
    fi
    Generate_mailbox_password=$(LC_ALL=C </dev/urandom tr -dc A-Za-z0-9 2> /dev/null | head -c 16)
    #echo "Generate_mailbox_password: ${Generate_mailbox_password}"
    Encrypt_mailbox_password=$(docker exec -i ${DOVECOT_CONTAINER_NAME} doveadm pw -s MD5-CRYPT -p "${Generate_mailbox_password}" | sed 's/{MD5-CRYPT}//')
    if [ $? -eq 0 ]; then
        echo "Generate_mailbox_password: ${Generate_mailbox_password}"
        echo "mailbox_password: ${Encrypt_mailbox_password}"
    else
        # Generate the default password after failure: BILLIONMAIL
        Generate_mailbox_password="BILLIONMAIL"
        Encrypt_mailbox_password='$1$ELBUCcYE$TbdGKBvLkFbjQguDbi3s01'
        echo "Generate_mailbox_password--default: ${Generate_mailbox_password}"
        Default_password=1
    fi

    if [ "${Default_password}" != 1 ]; then
        # password_encode 
        # Base64 encoding of strings
        b64_data=$(echo -n "${Generate_mailbox_password}" | base64)
        # Convert characters to hexadecimal
        password_encode=$(echo -n "${b64_data}" | while IFS= read -r -n1 char; do printf "%02x" "'$char"; done)
        echo "password_encode: ${password_encode}"
        if [ -z ${password_encode} ]; then
            b64_data=$(echo -n "${Generate_mailbox_password}" | base64)
            password_encode=$(echo -n "${b64_data}" | od -A n -t x1 | tr -d ' \n')
            echo "password_encode: ${password_encode}"
        fi
    else
        password_encode="516b6c4d54456c50546b31425355773d"
    fi

    Check_mailbox=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT * FROM mailbox WHERE username = '${mailbox}@${BILLIONMAIL_HOSTNAME}';" | grep -w "${mailbox}@${BILLIONMAIL_HOSTNAME}")
    if [ -z "${Check_mailbox}" ]; then
        INSERT_mailbox='INSERT INTO mailbox (username, password, password_encode, full_name, is_admin, maildir, quota, local_part, domain, create_time, update_time, active)
        VALUES (
            '\'${mailbox}@${BILLIONMAIL_HOSTNAME}\'',
            '\'${Encrypt_mailbox_password}\'',
            '\'${password_encode}\'',
            '\'${mailbox}\'',
            0,
            '\'${mailbox}@${BILLIONMAIL_HOSTNAME}/\'',
            5368709120,
            '\'${mailbox}\'',
            '\'${BILLIONMAIL_HOSTNAME}\'',
            '${create_time}',
            '${create_time}',
            1
        );'
        echo "$INSERT_mailbox"
        docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "$INSERT_mailbox"
        if [ $? -eq 0 ]; then
            echo "Mailbox creation was successful!"
        else
            Red_Error "Mailbox creation failed!"
        fi
        #docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT * FROM mailbox WHERE username = '${mailbox}@${BILLIONMAIL_HOSTNAME}';"
    else
        echo ""${Check_mailbox}" Mailbox already exists!"
    fi
    
    echo -e "\e[31mPlease save the following information:\e[0m"
    echo -e "Mailbox (e-mail): \e[33m${mailbox}@${BILLIONMAIL_HOSTNAME}\e[0m \nPassword: \e[33m${Generate_mailbox_password}\e[0m" 
}


Del_Email() {
    
    echo "Deleting mailbox..."

    Check_mailbox=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT * FROM mailbox WHERE username = '${mailbox}@${BILLIONMAIL_HOSTNAME}';" | grep -w "${mailbox}@${BILLIONMAIL_HOSTNAME}")
    
    if [ -z "${Check_mailbox}" ]; then
        echo "Mailbox '${mailbox}@${BILLIONMAIL_HOSTNAME}' does not exist!"
    else
        docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "DELETE FROM mailbox WHERE username = '${mailbox}@${BILLIONMAIL_HOSTNAME}';"
        if [ $? -eq 0 ]; then
            echo "Mailbox '${mailbox}@${BILLIONMAIL_HOSTNAME}' deleted successfully!"
        else
            Red_Error "Failed to delete mailbox '${mailbox}@${BILLIONMAIL_HOSTNAME}'!"
        fi
    fi
}

Update_BillionMail() {
    BRANCH="main"
    if [ -f "update.sh" ]; then
        echo -e "Checking for update.sh script..."
        MD5_1="$(md5sum update.sh)"
        git fetch origin
        git checkout "origin/${BRANCH}" update.sh
        MD5_2=$(md5sum update.sh)
        if [[ "${MD5_1}" != "${MD5_2}" ]]; then
            #echo -e "\033[33m update.sh is changed, please run update.sh script again.\033[0m"
            chmod +x update.sh
            echo y | ./update.sh
            #exit 1
        else
            chmod +x update.sh
            echo y | ./update.sh
        fi
    else
        Red_Error "Error: update.sh script does not exist!"
    fi
}


Default_info() {

    ipv4_address=""
    ipv6_address=""
    if [ "$address" = "" ];then
            
        ipv4_address=$(curl -4 -sSf --connect-timeout 10 -m 15 https://ifconfig.me 2>&1)
        if [ -z "${ipv4_address}" ];then
                ipv4_address=$(curl -4 -sSf --connect-timeout 10 -m 15 https://www.aapanel.com/api/common/getClientIP 2>&1)
                if [ -z "${ipv4_address}" ];then
                    ipv4_address=$(curl -4 -sSf --connect-timeout 10 -m 15 https://www.bt.cn/Api/getIpAddress 2>&1)
                fi
        fi
        IPV4_REGEX="^([0-9]{1,3}\.){3}[0-9]{1,3}$"
        if ! [[ $ipv4_address =~ $IPV4_REGEX ]]; then
                ipv4_address=""
        fi
        
        ipv6_address=$(curl -6 -sSf --connect-timeout 10 -m 15 https://ifconfig.me 2>&1)
        IPV6_REGEX="^([0-9a-fA-F]{0,4}:){1,7}[0-9a-fA-F]{0,4}$"
        if ! [[ $ipv6_address =~ $IPV6_REGEX ]]; then
                ipv6_address=""
        else
            if [[ ! $ipv6_address =~ ^\[ ]]; then
                ipv6_address="[$ipv6_address]"
            fi
        fi

        if [ "$address" = "" ] && [ "$ipv4_address" = "" ] && [ "$ipv6_address" = "" ];then
            address="SERVER_IP"
            echo -e "\033[33mFailed to obtain Internet IP, please use the server Internet IP+PORT to access.\033[0m"
        fi
    fi

    LOCAL_IP=$(ip addr | grep -E -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' | grep -E -v "^127\.|^255\.|^0\." | head -n 1)
    echo -e "=================================================================="
    echo -e "\033[32mBillionMail default info!\033[0m"
    echo -e "=================================================================="
    pool=https

    if [ -f "core-data/billionmail_hostname.txt" ];then
        BILLIONMAIL_Domain=$(cat core-data/billionmail_hostname.txt)
        if [ "${HTTPS_PORT}" = "443" ];then
            echo  "BillionMail Domain Address:        ${pool}://${BILLIONMAIL_Domain}/${SafePath}"
        else
            echo  "BillionMail Domain Address:        ${pool}://${BILLIONMAIL_Domain}:${HTTPS_PORT}/${SafePath}"
        fi
    fi
    
    if [ "${ipv6_address}" ];then
        if [ "${HTTPS_PORT}" = "443" ];then
            echo  "BillionMail Internet IPv6 Address: ${pool}://${ipv6_address}/${SafePath}"
        else
            echo  "BillionMail Internet IPv6 Address: ${pool}://${ipv6_address}:${HTTPS_PORT}/${SafePath}"
        fi
    fi
    if [ "${ipv4_address}" ];then
        if [ "${HTTPS_PORT}" = "443" ];then
            echo  "BillionMail Internet IPv4 Address: ${pool}://${ipv4_address}/${SafePath}"
        else
            echo  "BillionMail Internet IPv4 Address: ${pool}://${ipv4_address}:${HTTPS_PORT}/${SafePath}"
        fi
    fi
    if [ "${address}" ];then
        if [ "${HTTPS_PORT}" = "443" ];then
            echo  "BillionMail Internet Address:      ${pool}://${address}/${SafePath}"
        else
            echo  "BillionMail Internet Address:      ${pool}://${address}:${HTTPS_PORT}/${SafePath}"
        fi

    fi

    if [ "${HTTPS_PORT}" = "443" ];then
        echo  "BillionMail Internal Address:      ${pool}://${LOCAL_IP}/${SafePath}"
    else
        echo  "BillionMail Internal Address:      ${pool}://${LOCAL_IP}:${HTTPS_PORT}/${SafePath}"
    fi
    
    echo -e "Username: ${ADMIN_USERNAME} \nPassword: ${ADMIN_PASSWORD}"
    echo -e "\033[33mWarning:\033[0m"
    echo -e "\033[33mIf you cannot access the BillionMail, \033[0m"
    echo -e "\033[33mrelease the following port ${SMTP_PORT}|${SMTPS_PORT}|${SUBMISSION_PORT}|${POP_PORT}|${IMAP_PORT}|${IMAPS_PORT}|${POPS_PORT}|${HTTP_PORT}|${HTTPS_PORT} in the security group\033[0m"
    echo -e "=================================================================="
}

# Modify the apply SSL interface access port
MODIFY_HTTP_SSL_PORT() { 

    NEW_PORT="$2"
    if [ -z "${NEW_PORT}" ]; then
        echo -e "\033[31m Let's Encrypt SSL certificate can only be applied using port 80, other ports cannot be applied.\033[0m"
        read -p "Please enter the new apply SSL port: " NEW_PORT
    fi

    # Verify that the input is a number
    if ! echo "${NEW_PORT}" | grep -qE '^[0-9]+$' || ((NEW_PORT < 1 || NEW_PORT > 65535)); then
        echo -e "\033[31m Error: The port number must be a number between 1-65535 \033[0m"
        exit 1
    fi

    Check_Port=$(ss -tlnp | grep -E ":(${NEW_PORT})\b")
    if [ ! -z "${Check_Port}" ]; then
        echo "${Check_Port}"
        echo -e "\033[31m Error: The ${NEW_PORT} port is already in use. \033[0m"
        exit 1
    fi

    # Perform modification
    sed -i 's/^HTTP_PORT=.*/HTTP_PORT='"${NEW_PORT}"'/' .env
    echo -e "The BillionMail apply SSL port has been modified to: ${NEW_PORT} \n Rebuild the container, please wait..."

    sleep 3
    # Find the container ID of the core image in the current project and rebuild the container
    # CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "/core:" | awk '{print $1}' )
    CONTAINER="core"
    GET_CONTAINER_ID ${CONTAINER}
    if [ "${CONTAINER_ID}" ]; then
        echo "Rebuilding Manage Container..."
        docker stop ${CONTAINER_ID}
        docker rm -f ${CONTAINER_ID}
        ${DOCKER_COMPOSE} up -d
    else
        echo "The "core" container does not exist"
        echo "Starting BillionMail..."
        ${DOCKER_COMPOSE} up -d
    fi

    if [ -f "/usr/sbin/ufw" ]; then
        /usr/sbin/ufw allow ${NEW_PORT}/tcp >/dev/null 2>&1
        /usr/sbin/ufw reload
    elif [ -f "/usr/sbin/firewall-cmd" ]; then
        /usr/sbin/firewall-cmd --permanent --zone=public --add-port=${NEW_PORT}/tcp >/dev/null 2>&1
        /usr/sbin/firewall-cmd --reload
    elif [ -f "/etc/sysconfig/iptables" ]; then
        iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport ${NEW_PORT} -j ACCEPT
        service iptables save
    fi

    if [[ ${NEW_PORT} != "80" ]]; then 
        echo -e "\033[31m Let's Encrypt SSL certificate can only be applied using port 80, other ports cannot be applied.\033[0m"
    fi
}

# Modify the management interface access port
MODIFY_HTTPS_PORT() { 

    NEW_PORT="$2"
    if [ -z "${NEW_PORT}" ]; then
        read -p "Please enter the new BillionMail management port: " NEW_PORT
    fi

    # Verify that the input is a number
    if ! echo "${NEW_PORT}" | grep -qE '^[0-9]+$' || ((NEW_PORT < 1 || NEW_PORT > 65535)); then
        echo -e "\033[31m Error: The port number must be a number between 1-65535 \033[0m"
        exit 1
    fi

    Check_Port=$(ss -tlnp | grep -E ":(${NEW_PORT})\b")
    if [ ! -z "${Check_Port}" ]; then
        echo "${Check_Port}"
        echo -e "\033[31m Error: The ${NEW_PORT} port is already in use. \033[0m"
        exit 1
    fi

    # Perform modification
    sed -i 's/^HTTPS_PORT=.*/HTTPS_PORT='"${NEW_PORT}"'/' .env
    if [ $? -ne 0 ]; then
        echo -e "\033[31m Error: The BillionMail management port modification failed! \033[0m"
        exit 1
    fi
    
    echo -e "The BillionMail management port has been modified to: ${NEW_PORT} \n Rebuild the container, please wait..."
    sleep 3
    # Find the container ID of the core image in the current project and rebuild the container
    # CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "/core:" | awk '{print $1}' )
    CONTAINER="core"
    GET_CONTAINER_ID ${CONTAINER}
    if [ "${CONTAINER_ID}" ]; then
        echo "Rebuilding Manage Container..."
        docker stop ${CONTAINER_ID}
        docker rm -f ${CONTAINER_ID}
        ${DOCKER_COMPOSE} up -d
    else
        echo "The "core" container does not exist"
        echo "Starting BillionMail..."
        ${DOCKER_COMPOSE} up -d
    fi

    if [ -f "/usr/sbin/ufw" ]; then
        /usr/sbin/ufw allow ${NEW_PORT}/tcp >/dev/null 2>&1
        /usr/sbin/ufw reload
    elif [ -f "/usr/sbin/firewall-cmd" ]; then
        /usr/sbin/firewall-cmd --permanent --zone=public --add-port=${NEW_PORT}/tcp >/dev/null 2>&1
        /usr/sbin/firewall-cmd --reload
    elif [ -f "/etc/sysconfig/iptables" ]; then
        iptables -I INPUT -p tcp -m state --state NEW -m tcp --dport ${NEW_PORT} -j ACCEPT
        service iptables save
    fi

    # Display login information
    bash bm.sh default
}

# Modify time zone
MODIFY_TZ() { 
    if [ -a /etc/timezone ]; then
        SYSTEM_TIME_ZONE=$(cat /etc/timezone)
    elif [ -a /etc/localtime ]; then
        SYSTEM_TIME_ZONE=$(readlink /etc/localtime|sed -n 's|^.*zoneinfo/||p')
    fi
    NEW_TZ="$2"
    echo -e ""
    echo -e "See https://en.wikipedia.org/wiki/List_of_tz_database_time_zones for a list of timezones"
    echo -e "Use a column named "TZ identifier" + note the column named "Notes""
    echo -e "Please enter your time zone"
    echo -e ""
    if [ -z "${SYSTEM_TIME_ZONE}" ]; then
        read -p "Timezone: " -e NEW_TZ
    else
        read -p "Timezone [${SYSTEM_TIME_ZONE}]: " -e NEW_TZ
        [ -z "${NEW_TZ}" ] && NEW_TZ=${SYSTEM_TIME_ZONE}
    fi

    if [ -z "${NEW_TZ}" ]; then
        echo -e "\033[31m Error: Please enter the time zone \033[0m"
        exit 1
    fi

    # Perform modification
    sed -i "s|^TZ=.*|TZ=${NEW_TZ}|" .env
    if [ $? -ne 0 ]; then
        echo -e "\033[31m Error: The BillionMail time zone modification failed! \033[0m"
        exit 1
    fi

    if [ -f "postgresql-data/postgresql.conf" ]; then
        cp -arpf postgresql-data/postgresql.conf  postgresql-data/postgresql.conf_${time}
        sed -i "s|^log_timezone = .*|log_timezone = \'${NEW_TZ}\'|" postgresql-data/postgresql.conf
        sed -i "s|^timezone = .*|timezone = \'${NEW_TZ}\'|" postgresql-data/postgresql.conf
    fi

    echo -e "The BillionMail time zone has been modified to: ${NEW_TZ} \n Rebuild the container, please wait..."
    sleep 3
    ${DOCKER_COMPOSE} down
    ${DOCKER_COMPOSE} up -d

}


# Modify Admin Username
MODIFY_ADMIN_USERNAME() { 

    NEW_ADMIN="$2"
    if [ -z "${NEW_ADMIN}" ]; then
        read -p "Please enter the new BillionMail administrator username (minimum 5 characters): " NEW_ADMIN
    fi
    if [ -z "${NEW_ADMIN}" ]; then
        echo -e "\033[31mError: Administrator username is required!\033[0m"
        exit 1
    fi
    if [ ${#NEW_ADMIN} -lt 5 ]; then
        echo -e "\033[31mError: Username must be at least 5 characters long!\033[0m"
        exit 1
    fi
    if ! [[ "${NEW_ADMIN}" =~ ^[a-zA-Z0-9@#_.!+-]+$ ]]; then
        echo -e "\033[31mError: Username can only contain letters, numbers, symbols: @ # _ - + . !\033[0m"
        exit 1
    fi
    # Perform modification
    sed -i "s|^ADMIN_USERNAME=.*|ADMIN_USERNAME="${NEW_ADMIN}"|" .env
    if [ $? -ne 0 ]; then
        echo -e "\033[31mError: Failed to update BillionMail administrator username!\033[0m"
        exit 1
    fi
    echo -e "BillionMail administrator username has been updated. Restarting container, please wait..."
    sleep 3
    # Find the container ID of the core image in the current project and rebuild the container
    # CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "/core:" | awk '{print $1}' )
    CONTAINER="core"
    GET_CONTAINER_ID ${CONTAINER}
    if [ "${CONTAINER_ID}" ]; then
        echo "Restarting Manage Container..."
        docker restart ${CONTAINER_ID}
    else
        echo "The "core" container does not exist"
        echo "Starting BillionMail..."
        ${DOCKER_COMPOSE} up -d
    fi
    # Display login information
    bash bm.sh default
}


# Modify Admin Password
MODIFY_ADMIN_PASSWORD() { 

    NEW_PASSWORD="$2"
    if [ -z "${NEW_PASSWORD}" ]; then
        read -p "Please enter the new BillionMail administrator password (minimum 5 characters): " NEW_PASSWORD
    fi
    if [ -z "${NEW_PASSWORD}" ]; then
        echo -e "\033[31mError: Administrator password is required!\033[0m"
        exit 1
    fi
    if [ ${#NEW_PASSWORD} -lt 5 ]; then
        echo -e "\033[31mError: Password must be at least 5 characters long!\033[0m"
        exit 1
    fi
    if ! [[ "${NEW_PASSWORD}" =~ ^[a-zA-Z0-9@#_.!+-]+$ ]]; then
        echo -e "\033[31mError: Password can only contain letters, numbers, symbols: @ # _ - + . !\033[0m"
        exit 1
    fi
    # Perform modification
    sed -i "s|^ADMIN_PASSWORD=.*|ADMIN_PASSWORD="${NEW_PASSWORD}"|" .env
    if [ $? -ne 0 ]; then
        echo -e "\033[31mError: Failed to update BillionMail administrator password!\033[0m"
        exit 1
    fi
    echo -e "BillionMail administrator password has been updated. Restarting container, please wait..."
    sleep 3
    # Find the container ID of the core image in the current project and rebuild the container
    #CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "/core:" | awk '{print $1}' )
    CONTAINER="core"
    GET_CONTAINER_ID ${CONTAINER}
    if [ "${CONTAINER_ID}" ]; then
        echo "Restarting Manage Container..."
        docker restart ${CONTAINER_ID}
    else
        echo "The "core" container does not exist"
        echo "Starting BillionMail..."
        ${DOCKER_COMPOSE} up -d
    fi
    # Display login information
    bash bm.sh default

}


# Modify Safe entrance
MODIFY_SAFE_ENTRANCE() { 

    NEW_ENTRANCE="$2"
    if [ -z "${NEW_ENTRANCE}" ]; then
        read -p "Please enter the new BillionMail security entrance path (minimum 5 characters): " NEW_ENTRANCE
    fi
    if [ -z "${NEW_ENTRANCE}" ]; then
        echo -e "\033[31mError: Security entrance path is required!\033[0m"
        exit 1
    fi
    if [ ${#NEW_ENTRANCE} -lt 5 ]; then
        echo -e "\033[31mError: Security entrance path must be at least 5 characters long!\033[0m"
        exit 1
    fi
    if ! [[ "${NEW_ENTRANCE}" =~ ^[a-zA-Z0-9]+$ ]]; then
        echo -e "\033[31mError: Security entrance path can only contain letters and numbers!\033[0m"
        exit 1
    fi
    # Perform modification
    sed -i "s|^SafePath=.*|SafePath=${NEW_ENTRANCE}|" .env
    if [ $? -ne 0 ]; then
        echo -e "\033[31mError: Failed to update BillionMail security entrance path!\033[0m"
        exit 1
    fi
    echo -e "BillionMail security entrance path has been updated. Restarting container, please wait..."
    sleep 3
    # Find the container ID of the core image in the current project and rebuild the container
    # CONTAINER_ID=$(${DOCKER_COMPOSE} ps -a --format "{{.ID}} {{.Image}}" |grep "/core:" | awk '{print $1}' )
    CONTAINER="core"
    GET_CONTAINER_ID ${CONTAINER}
    if [ "${CONTAINER_ID}" ]; then
        echo "Restarting Manage Container..."
        docker restart ${CONTAINER_ID}
    else
        echo "The "core" container does not exist"
        echo "Starting BillionMail..."
        ${DOCKER_COMPOSE} up -d
    fi
    # Display login information
    bash bm.sh default
}

# Rebuild the BillionMail project
 REBUILD_PROJECT() {
    echo "Rebuilding BillionMail..."
    echo -e "\033[31mWarning: This operation will rebuild all containers, service will be unavailable during the rebuild process. \033[0m"
    read -p "Are you sure you want to continue? (yes/no): " NEW_REBUILD
    if [[ "$NEW_REBUILD" =~ ^(yes|y|Y)$ ]]; then
        sleep 3
        ${DOCKER_COMPOSE} down
        ${DOCKER_COMPOSE} up -d
        echo "Rebuild completed."
    else
        echo "Rebuild cancel."
    fi
 }

# Restart the BillionMail project
RESTART_PROJECT() {
    echo "Restarting BillionMail..."
    sleep 1
    ${DOCKER_COMPOSE} restart
}

# Stop the BillionMail project
STOP_PROJECT() {
    echo "Stop BillionMail..."
    sleep 1
    ${DOCKER_COMPOSE} stop
}

START_PROJECT() {
    echo "Start BillionMail..."
    sleep 1
    ${DOCKER_COMPOSE} up -d
}

DOWN_PROJECT() {
    echo "Stop all BillionMail services and delete all BillionMail containers..."
    sleep 3
    ${DOCKER_COMPOSE} down
}

# Restart the specified service
RESTART_SERVICE() { 
    SERVICE="$2"
    if [ -z "${SERVICE}" ]; then
        echo ""
        echo "Support input: postfix|core|dovecot|rspamd|redis|webmail|pgsql"
        read -p "Please enter service: " SERVICE
    fi

    GET_SERVICE_NAME ${SERVICE}
    echo "Restarting ${SERVICE} service..."
    sleep 3
    ${DOCKER_COMPOSE} restart ${SERVICE_NAME}
}

RESTART_SERVICE_ADMIN() { 
    SERVICE="core"
    GET_SERVICE_NAME ${SERVICE}
    echo "Restarting ${SERVICE} service..."
    sleep 3
    ${DOCKER_COMPOSE} restart ${SERVICE_NAME}
}

# Get container log 
GET_CONTAINER_LOG() { 
    CONTAINER="$2"
    if [ -z "${CONTAINER}" ]; then
        echo ""
        echo "Support input: postfix|core|dovecot|rspamd|redis|webmail|pgsql"
        read -p "Please enter container: " CONTAINER
    fi

    log_num="$3"
    follow=""

    if [ "$log_num" == "-f" ]; then
        follow="-f"
        log_num="$4"
    elif [ "$4" == "-f" ]; then
        follow="-f"
    fi

    if [[ "$log_num" =~ ^[0-9]+$ ]]; then
        log_num="${log_num}"
    else
        log_num=25
    fi

    GET_CONTAINER_ID ${CONTAINER}
    if [ -z "${CONTAINER_ID}" ]; then
        Red_Error "ERROR: The "${CONTAINER}" container does not exist, Please execute '${DOCKER_COMPOSE} up -d' to start BillionMail"
    fi
    docker logs ${follow} --tail="${log_num}" ${CONTAINER_ID}
}

# Get file log
GET_FILE_LOG() {
    NAME_FILE="$2"
    
    if [ -z "${NAME_FILE}" ]; then
        echo ""
        echo "Support input: postfix|core|core-access|core-error|dovecot|rspamd|fail2ban"
        read -p "Please enter name: " NAME_FILE
    fi

    log_num="$3"
    follow=""

    if [ "$log_num" == "-f" ]; then
        follow="-f"
        log_num="$4"
    elif [ "$4" == "-f" ]; then
        follow="-f"
    fi

    if [[ "$log_num" =~ ^[0-9]+$ ]]; then
        log_num="${log_num}"
    else
        log_num=25
    fi

    # Define log files
    declare -A LOG_FILES=(
        ["core"]="$(date +%Y-%m-%d).log"
        ["core-access"]="access-$(date +%Y%m%d).log"
        ["core-error"]="error-$(date +%Y%m%d).log"
        ["postfix"]="mail.log"
        ["dovecot"]="mail.log"
        ["rspamd"]="rspamd.log"
        ["fail2ban"]="fail2ban.log"
    )

    # Define log directory mapping 
    declare -A LOG_DIRS=(
        ["core"]="core"
        ["core-access"]="core"
        ["core-error"]="core"
        ["postfix"]="postfix"
        ["dovecot"]="dovecot"
        ["rspamd"]="rspamd"
        ["fail2ban"]="fail2ban"
    )

    # Check whether the service name is valid
    if [[ ! " ${!LOG_FILES[@]} " =~ " ${NAME_FILE} " ]]; then
        echo "How to use: $0 log_file core 100"
        Red_Error "Error: Invalid name. Please enter name: (postfix|core|core-access|core-error|dovecot|rspamd|fail2ban) "
    fi

    # Get log file name and directory
    LOG_FILE="${LOG_FILES[$NAME_FILE]}"
    LOG_DIR="${LOG_DIRS[$NAME_FILE]}"
    
    # Check and display log files
    if [ -f "logs/${LOG_DIR}/${LOG_FILE}" ]; then
        tail ${follow} -n ${log_num} "logs/${LOG_DIR}/${LOG_FILE}"
    elif [ -f "data/logs/${LOG_DIR}/${LOG_FILE}" ]; then
        tail ${follow} -n ${log_num} "data/logs/${LOG_DIR}/${LOG_FILE}"
    else
        Red_Error "logs file does not exist!"
    fi
}

# Get service TOP 
GET_SERVICE_TOP() {

    SERVICE="$2"
    if [ -z "${SERVICE}" ]; then
        read -p "Please enter service: " SERVICE
    fi

    GET_SERVICE_NAME ${SERVICE}
    ${DOCKER_COMPOSE} top ${SERVICE_NAME}
}

GET_SERVICE_TOP_ALL() {

    ${DOCKER_COMPOSE} top

}

GET_SERVICE_PS() {

    ${DOCKER_COMPOSE} ps

}

# Get containers status
GET_CONTAINER_STATUS() {
    CONTAINERS=("core" "postfix" "dovecot" "rspamd" "pgsql" "redis" "webmail")
        
    for cc in "${CONTAINERS[@]}"; do
        
        CONTAINER="${cc}"
        GET_CONTAINER_ID "${CONTAINER}"
                
        status=$(docker inspect --format='{{.State.Status}}' "${CONTAINER_ID}" 2>/dev/null)
        if [ "$status" = "running" ]; then
            echo -e "\033[32m ${CONTAINER} container is running\033[0m"
        else
            echo -e "\033[31m ${CONTAINER} container is not running. Status: ${status} \033[0m"
        fi
        
    done
}

CLEAR_OLD_IMAGE() {
    # Remove only outdated versions of images defined in docker-compose.yml

    # Check if docker-compose.yml exists
    if [ ! -f "docker-compose.yml" ]; then
        Red_Error "Error: docker-compose.yml file not found"      
    fi

    # Extract complete image names (including tags) defined in compose file
    # echo "Extracting billionmail images from docker-compose.yml..."
    # COMPOSE_IMAGES=$(grep -oP 'image:\s*\K[^"\s]+' docker-compose.yml | sort -u)
    COMPOSE_IMAGES=$(grep -oP 'image:\s*\K(?:billionmail|ghcr\.io/aapanel)[^"\s]+' docker-compose.yml | sort -u)

    # Check if any images were found
    if [ -z "${COMPOSE_IMAGES}" ]; then
        echo "Warning: No image definitions found in docker-compose.yml"
        exit 1
    fi

    # Get all local Docker images (excluding <none> images)
    # echo "Getting all local Docker images..."
    ALL_IMAGES=$(docker images --format "{{.Repository}}:{{.Tag}}" | grep -v "<none>:<none>")

    # Find outdated images to remove
    IMAGES_TO_REMOVE=""

    while IFS= read -r compose_image; do
        # Extract image name (without tag)
        image_name=$(echo "${compose_image}" | awk -F: '{print $1}')
        
        # Extract tag defined in compose file
        compose_tag=$(echo "${compose_image}" | awk -F: '{print $2}')
        
        # Find all local images with the same name
        local_images=$(echo "${ALL_IMAGES}" | grep "^${image_name}:")
        
        # Filter images with different tags
        for local_image in ${local_images}; do
            local_tag=$(echo "${local_image}" | awk -F: '{print $2}')
            
            # If local tag differs from compose tag, add to removal list
            if [ "${local_tag}" != "${compose_tag}" ]; then
                IMAGES_TO_REMOVE="${IMAGES_TO_REMOVE} ${local_image}"
            fi
        done
    done <<< "${COMPOSE_IMAGES}"

    # Display results
    if [ -z "${IMAGES_TO_REMOVE}" ]; then
        echo ""
        echo "No outdated images found to remove"
        exit 0
    fi

    echo -e "\n--- Outdated images to remove ---"
    echo "${IMAGES_TO_REMOVE}" | tr ' ' '\n' | grep -v '^$'
    IMAGE_COUNT=$(echo "${IMAGES_TO_REMOVE}" | wc -w)
    echo -e "\nTotal: ${IMAGE_COUNT} outdated images to remove"

    # Ask for confirmation
    read -p "Remove these outdated images? (y/n): " confirm
    if [ "${confirm}" = "y" ] || [ "${confirm}" = "Y" ]; then
        sleep 5
        for image in ${IMAGES_TO_REMOVE}; do
            echo "Removing image: ${image}"
            docker rmi "${image}" || echo "Warning: Failed to remove ${image}"
        done
        echo "Outdated images removed successfully"
        echo -e "For deeper Docker system cleanup, ensure all containers to keep are running before executing:\n docker system prune"
    else
        echo "Operation cancelled"
    fi
}

# Turn off IP access whitelist restrictions
CANCEL_IP_WHITELIST_LIMIT() { 

    # Perform modification
    sed -i 's/^IP_WHITELIST_ENABLE=.*/IP_WHITELIST_ENABLE=false/' .env
    
    echo -e "The BillionMail IP access whitelist Restrictions: Closed \n Restart the container, please wait..."
    sleep 3
    CONTAINER="core"
    GET_CONTAINER_ID ${CONTAINER}
    if [ "${CONTAINER_ID}" ]; then
        echo "Rebuilding Manage Container..."
        docker stop ${CONTAINER_ID}
        docker rm -f ${CONTAINER_ID}
        ${DOCKER_COMPOSE} up -d
    else
        echo "The "core" container does not exist"
        echo "Starting BillionMail..."
        ${DOCKER_COMPOSE} up -d
    fi
}


APPLY_MULTI_IP() {
    echo "🚀 Starting multi-IP configuration application..."

    # Initialize_Project

    echo "📁 Current directory: $PWD_d"
    PROJECT_DIR="$PWD_d"

    # Temporary backup path (under project root)
    BACKUP_COMPOSE="docker-compose.yml.bak.$(date +%Y%m%d-%H%M%S)"

    # 🔐 Load .env file
    ENV_FILE="./.env"
    if [ -f "$ENV_FILE" ]; then
        echo "🔐 Loading environment variables: $ENV_FILE"
        source "$ENV_FILE"
        if [ -z "${DBUSER}" ] || [ -z "${DBNAME}" ] || [ -z "${DBPASS}" ]; then
            Red_Error "❌ .env configuration error, database settings are empty"
        fi
    else
        Red_Error "❌ .env file not found: $ENV_FILE, please ensure configuration exists"
    fi

    # Database configuration
    DB_HOST="127.0.0.1"
    DB_PORT="25432"
    DB_NAME="${DBNAME}"
    DB_USER="${DBUSER}"
    DB_PASS="${DBPASS}"

    # Record initial state for rollback
    ORIGINAL_COMPOSE="docker-compose.yml"
    ADDNETWORK_COMPOSE="docker-compose_addnetwork.yml"

    # Create temporary file
    TEMP_FILE=$(mktemp) || { Red_Error "❌ Unable to create temporary file"; }

    # ============ Cleanup and rollback functions ============
    cleanup_apply() {
        if [[ -n "$TEMP_FILE" && -f "$TEMP_FILE" ]]; then
            rm -f "$TEMP_FILE"
        fi
    }

    rollback_compose() {
        echo "⚠️ Error detected, rolling back docker-compose.yml..."
        if [[ -f "$BACKUP_COMPOSE" ]]; then
            cp "$BACKUP_COMPOSE" "$ORIGINAL_COMPOSE"
            echo "✅ Successfully rolled back to original configuration"
        else
            echo "❌ Backup file $BACKUP_COMPOSE does not exist, unable to rollback!"
        fi
    }

    # Set trap to handle exceptions and cleanup
    trap 'echo "💥 Script execution failed, triggering rollback"; rollback_compose; cleanup_apply; exit 1' ERR
    trap 'cleanup_apply' EXIT

    # ============ 1. Check if new compose file exists ============
    echo "🔍 Checking if docker-compose_addnetwork.yml exists..."
    if [ ! -f "${ADDNETWORK_COMPOSE}" ]; then
        Red_Error "❌ Error: ${ADDNETWORK_COMPOSE} file does not exist, please verify"
    fi

    # ============ 2. Backup and replace docker-compose.yml ============
    echo "🔄 Backing up and replacing docker-compose.yml"
    if [[ -f "$ORIGINAL_COMPOSE" ]]; then
        cp "$ORIGINAL_COMPOSE" "$BACKUP_COMPOSE"
        echo "✅ Backup created as: $BACKUP_COMPOSE"
    fi

    # Use cp instead of mv to keep original file for repeated execution
    cp "$ADDNETWORK_COMPOSE" "$ORIGINAL_COMPOSE"
    echo "✅ docker-compose.yml has been updated"

    # ============ 3. Insert domain → smtp_name mapping into bm_domain_smtp_transport ============
    echo "🔄 Reading data from bm_multi_ip_domain and inserting into bm_domain_smtp_transport..."

    # Query database for domain and smtp_server_name using secure query method
    if ! docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -t -A -F'|' \
        -c "SELECT domain, smtp_server_name FROM bm_multi_ip_domain WHERE active = 1;" > "$TEMP_FILE"; then
        Red_Error "❌ Database query failed, please check connection or table structure"
    fi

    # Check if temporary file has content
    if [[ ! -s "$TEMP_FILE" ]]; then
        echo "⚠️ No active multi-IP domain configurations found, skipping sender rule setup"
    else
        echo "📋 Found $(wc -l < "$TEMP_FILE") configuration records"

        # Safely process query results
        while IFS='|' read -r domain smtp_name; do
            # Clean whitespace and validate
            domain=$(echo "$domain" | xargs)
            smtp_name=$(echo "$smtp_name" | xargs)

            # Skip empty lines or invalid data
            [[ -z "$domain" || -z "$smtp_name" ]] && continue

            # Validate domain format (basic security check)
            if [[ ! "$domain" =~ ^[a-zA-Z0-9.-]+$ ]]; then
                echo "⚠️ Skipping invalid domain format: $domain"
                continue
            fi

            atype="dedicated_ip"
            domain_with_at="@${domain}"

            echo "🔍 Checking if sender rule exists for domain: $domain_with_at..."

            # Use secure SQL query
            escaped_domain=$(printf '%s\n' "$domain_with_at" | sed "s/'/''/g")
            EXISTS=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -t -A \
                -c "SELECT 1 FROM bm_domain_smtp_transport WHERE domain = '$escaped_domain';")

            # If exists, delete it
            if [[ -n "$EXISTS" && "$EXISTS" != "" ]]; then
                echo "🟡 Sender rule already exists for domain: $domain_with_at, deleting..."
                if ! docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} \
                    -c "DELETE FROM bm_domain_smtp_transport WHERE domain = '$escaped_domain';"; then
                    Red_Error "❌ Failed to delete old record: $domain_with_at"
                fi
                echo "✅ Old rule deleted: $domain_with_at"
            fi

            # Execute insertion (using secure string escaping)
            echo "📝 Inserting: $domain_with_at → $smtp_name"
            escaped_smtp=$(printf '%s\n' "$smtp_name" | sed "s/'/''/g")
            escaped_atype=$(printf '%s\n' "$atype" | sed "s/'/''/g")
            if ! docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} \
                -c "INSERT INTO bm_domain_smtp_transport (atype, domain, smtp_name) VALUES ('$escaped_atype', '$escaped_domain', '$escaped_smtp');"; then
                Red_Error "❌ Insertion failed: $domain_with_at"
            fi

            echo "✅ Successfully inserted: $domain_with_at → $smtp_name"

        done < "$TEMP_FILE"

        echo "📝 All domain mappings have been successfully written to bm_domain_smtp_transport"
    fi

    # Update status of all records in bm_multi_ip_domain table to 'applied'
      echo "🔄 Resetting multi-IP domain status to 'applied'..."

      # First, query how many records need updating
      CURRENT_DOMAIN_COUNT=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -t -A \
          -c "SELECT COUNT(*) FROM bm_multi_ip_domain WHERE status != 'applied';" 2>/dev/null || echo "0")

      echo "📊 Current number of domains needing status reset: ${CURRENT_DOMAIN_COUNT}"

      if [[ "${CURRENT_DOMAIN_COUNT}" -gt 0 ]]; then
          # Execute update operation
          if docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} \
              -c "UPDATE bm_multi_ip_domain SET status = 'applied';" >/dev/null 2>&1; then
              echo "✅ Successfully reset ${CURRENT_DOMAIN_COUNT} multi-IP domain statuses to 'applied'"
          else
              echo "❌ Failed to reset multi-IP domain statuses"
              exit 1
          fi
      else
          echo "✅ All multi-IP domain statuses are already 'applied'"
      fi

    # ============ 4. Restart services ============
    echo "🔄 Restarting BillionMail services"
    if ! ${DOCKER_COMPOSE} down; then
        Red_Error "❌ docker-compose down failed"
    fi

    if ! ${DOCKER_COMPOSE} up -d; then
        Red_Error "❌ docker-compose up -d failed: docker-compose.yml has errors, please check"
    fi

    # Wait for services to start and check health status
    echo "🔄 Waiting for services to start..."
    sleep 5

    echo "📊 Checking service status..."
    ${DOCKER_COMPOSE} ps

    # Check if critical services are running properly
    CORE_STATUS=$(${DOCKER_COMPOSE} ps core-billionmail --format "{{.State}}" 2>/dev/null || echo "missing")
    POSTFIX_STATUS=$(${DOCKER_COMPOSE} ps postfix-billionmail --format "{{.State}}" 2>/dev/null || echo "missing")

    if [[ "$CORE_STATUS" != "running" || "$POSTFIX_STATUS" != "running" ]]; then
        echo "⚠️ Warning: Some critical services may not have started properly"
        echo "   Core status: $CORE_STATUS"
        echo "   Postfix status: $POSTFIX_STATUS"
        echo "💡 Please check 'docker compose logs' for details"
    fi

    # ============ 5. Execution Summary ============
    echo ""
    echo "🎉 =============== Execution Summary ==============="
    echo "✅ All operations completed! Services have been successfully restarted"
    echo "📁 Original configuration backed up as: $BACKUP_COMPOSE"
    echo "🔄 New configuration applied: $ORIGINAL_COMPOSE"
    echo "📋 Source configuration file preserved: $ADDNETWORK_COMPOSE"
    echo "🕐 Completion time: $(date '+%Y-%m-%d %H:%M:%S')"

    # Optional: Clean up old backups (keep latest 3)
    OLD_BACKUPS=$(find . -name 'docker-compose.yml.bak.*' -type f | wc -l)
    if [[ $OLD_BACKUPS -gt 3 ]]; then
        echo "🧹 Cleaning up old backup files (keeping latest 3)..."
        find . -name 'docker-compose.yml.bak.*' -type f | sort -r | tail -n +4 | xargs rm -f 2>/dev/null || true
    fi

    echo "========================================="

    # Successfully completed, remove ERR trap
    trap - ERR
}


FIX_MULTI_IP() {
    echo "🔧 Starting multi-IP configuration fix..."

    # ============ Initialization: Automatically locate project root directory ============
    # Initialize_Project

    # Load environment variables
    if [ ! -f ".env" ]; then
        Red_Error "❌ .env file not found, please ensure execution from project root directory"
    fi

    source .env
    if [ -z "${DBUSER}" ] || [ -z "${DBNAME}" ] || [ -z "${DBPASS}" ]; then
        Red_Error "❌ .env configuration error, database settings are empty"
    fi

    echo "📁 Project directory: ${PWD_d}"

    # ============ 1. Find the latest backup file ============
    echo "🔍 Searching for the latest docker-compose.yml backup file..."
    LATEST_BACKUP=$(find . -name 'docker-compose.yml.bak.*' -type f | sort -r | head -n 1)

    if [ -z "${LATEST_BACKUP}" ]; then
        echo "⚠️ No docker-compose.yml backup file found"
        echo "📋 List of available backup files:"
        find . -name 'docker-compose.yml.bak.*' -type f 2>/dev/null || echo "   No backup files"

        read -p "Proceed with database cleanup operation? (y/n): " continue_cleanup
        if [[ "$continue_cleanup" != "y" && "$continue_cleanup" != "Y" ]]; then
            echo "❌ Operation cancelled"
            exit 1
        fi
    else
        echo "✅ Found latest backup: ${LATEST_BACKUP}"
        echo "🔄 Restoring docker-compose.yml..."

        # Create a backup of current file (in case rollback fails)
        cp docker-compose.yml "docker-compose.yml.before-fix.$(date +%Y%m%d-%H%M%S)" 2>/dev/null || true

        # Restore from backup
        if cp "${LATEST_BACKUP}" docker-compose.yml; then
            echo "✅ docker-compose.yml has been restored"
        else
            Red_Error "❌ Failed to restore docker-compose.yml"
        fi
    fi

    # ============ 2. Clean up multi-IP configurations in database ============
    echo "🗄️ Starting database configuration cleanup..."

    # Check database connection (using container method)
    echo "🔗 Testing database connection..."
    if ! docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -c "SELECT 1;" >/dev/null 2>&1; then
        Red_Error "❌ Database connection failed, please check if service is running properly"
    fi
    echo "✅ Database connection is normal"

    # Delete records with atype="dedicated_ip" from bm_domain_smtp_transport table
    echo "🗑️ Deleting dedicated IP records from bm_domain_smtp_transport table..."

    # First, query the current number of records
    CURRENT_SMTP_COUNT=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -t -A \
        -c "SELECT COUNT(*) FROM bm_domain_smtp_transport WHERE atype = 'dedicated_ip';" 2>/dev/null || echo "0")

    echo "📊 Current number of dedicated IP sender rules: ${CURRENT_SMTP_COUNT}"

    if [[ "${CURRENT_SMTP_COUNT}" -gt 0 ]]; then
        # Execute deletion
        if docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} \
            -c "DELETE FROM bm_domain_smtp_transport WHERE atype = 'dedicated_ip';" >/dev/null 2>&1; then
            echo "✅ Deleted ${CURRENT_SMTP_COUNT} dedicated IP sender rules"
        else
            echo "❌ Failed to delete dedicated IP sender rules"
            exit 1
        fi
    else
        echo "✅ No dedicated IP sender rules found to delete"
    fi

    # Update status of all records in bm_multi_ip_domain table to 'pending'
    echo "🔄 Resetting multi-IP domain status to 'pending'..."

    # First, query the current number of records needing update
    CURRENT_DOMAIN_COUNT=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -t -A \
        -c "SELECT COUNT(*) FROM bm_multi_ip_domain WHERE status != 'pending';" 2>/dev/null || echo "0")

    echo "📊 Current number of domains needing status reset: ${CURRENT_DOMAIN_COUNT}"

    if [[ "${CURRENT_DOMAIN_COUNT}" -gt 0 ]]; then
        # Execute update operation
        if docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} \
            -c "UPDATE bm_multi_ip_domain SET status = 'pending';" >/dev/null 2>&1; then
            echo "✅ Reset ${CURRENT_DOMAIN_COUNT} multi-IP domain statuses to 'pending'"
        else
            echo "❌ Failed to reset multi-IP domain statuses"
            exit 1
        fi
    else
        echo "✅ All multi-IP domain statuses are already 'pending'"
    fi

    # ============ 3. Verify cleanup results ============
    echo "🔍 Verifying cleanup results..."

    # Verify dedicated IP sender rules have been cleaned
    REMAINING_SMTP_COUNT=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -t -A \
        -c "SELECT COUNT(*) FROM bm_domain_smtp_transport WHERE atype = 'dedicated_ip';" 2>/dev/null || echo "unknown")

    # Verify multi-IP domain statuses have been reset
    REMAINING_APPLIED_COUNT=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -t -A \
        -c "SELECT COUNT(*) FROM bm_multi_ip_domain WHERE status = 'applied';" 2>/dev/null || echo "unknown")

    echo "📊 Verification results:"
    echo "   Remaining dedicated IP sender rules: ${REMAINING_SMTP_COUNT}"
    echo "   Remaining applied status domains: ${REMAINING_APPLIED_COUNT}"

    # ============ 4. Restart services ============
    echo "🔄 Restarting BillionMail services..."

    echo "🛑 Stopping services..."
    if ! ${DOCKER_COMPOSE} down; then
        echo "⚠️ Warning during service stop, continuing execution..."
    fi

    echo "🚀 Starting services..."
    if ! ${DOCKER_COMPOSE} up -d; then
        Red_Error "❌ Failed to start services, please check docker-compose.yml configuration"
    fi

    # Wait for services to start
    echo "⏳ Waiting for services to start..."
    sleep 5

    # Check service status
    echo "📊 Checking service status..."
    ${DOCKER_COMPOSE} ps

    # ============ 5. Final verification ============
    echo "🔍 Final verification of database status..."
    sleep 2

    # Final verification of dedicated IP sender rules
    FINAL_SMTP_COUNT=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -t -A \
        -c "SELECT COUNT(*) FROM bm_domain_smtp_transport WHERE atype = 'dedicated_ip';" 2>/dev/null || echo "unknown")

    # Final verification of multi-IP domain statuses
    FINAL_APPLIED_COUNT=$(docker exec -i -e PGPASSWORD=${DBPASS} ${PGSQL_CONTAINER_NAME} psql -U ${DBUSER} -d ${DBNAME} -t -A \
        -c "SELECT COUNT(*) FROM bm_multi_ip_domain WHERE status = 'applied';" 2>/dev/null || echo "unknown")

    # ============ 6. Execution Summary ============
    echo ""
    echo "🎉 =============== Fix Summary ==============="
    echo "✅ Multi-IP configuration fix completed!"
    if [ -n "${LATEST_BACKUP}" ]; then
        echo "📁 Restored backup: ${LATEST_BACKUP} → docker-compose.yml"
    fi
    echo "🗑️ Dedicated IP sender rule cleanup result: ${CURRENT_SMTP_COUNT} → ${FINAL_SMTP_COUNT}"
    echo "🔄 applied status domain reset result: ${CURRENT_DOMAIN_COUNT} → ${FINAL_APPLIED_COUNT}"
    echo "🚀 Services restarted"
    echo "🕐 Completion time: $(date '+%Y-%m-%d %H:%M:%S')"
    echo "========================================="

    # Provide detailed verification information
    if [[ "${FINAL_SMTP_COUNT}" == "0" && "${FINAL_APPLIED_COUNT}" == "0" ]]; then
        echo ""
        echo "🎉 Congratulations! Database cleanup completed successfully:"
        echo "   ✅ All dedicated IP sender rules have been deleted"
        echo "   ✅ All multi-IP domain statuses have been reset to pending"
    else
        echo ""
        echo "⚠️ Note: Some data may not have been fully cleaned:"
        if [[ "${FINAL_SMTP_COUNT}" != "0" ]]; then
            echo "   ❌ Still ${FINAL_SMTP_COUNT} dedicated IP sender rules remaining"
        fi
        if [[ "${FINAL_APPLIED_COUNT}" != "0" ]]; then
            echo "   ❌ Still ${FINAL_APPLIED_COUNT} domains with applied status"
        fi
        echo "   💡 Suggest manually checking the database or re-running the fix command"
    fi

    echo ""
    echo "💡 Tips:"
    echo "   1. To reconfigure multi-IP, please re-run: bm.sh multi_ip"
    echo "   2. Suggest checking email sending functionality"
    echo "   3. If issues occur, check container logs: bm.sh l-c core"
}



SHOW_HELP() {
        echo "Help Information:"
        echo "  default                   - Show BillionMail login default info: $0 default"
        echo "  update                    - Update BillionMail: $0 update"
        echo "  change-port               - Modify BillionMail access management port: $0 change-port"
        echo "  change-tz                 - Modify BillionMail time zone: $0 change-tz"
        echo "  change-user               - Modify BillionMail Administrator user: $0 change-user"
        echo "  change-password           - Modify BillionMail Administrator password: $0 change-password"
        echo "  change-safe-path          - Modify BillionMail security entrance path: $0 change-safe-path"
        echo "  change-apply-ssl-port     - Modify BillionMail apply ssl port: $0 change-apply-ssl-port"
        echo "  start                     - Start BillionMail: $0 start"
        echo "  stop                      - Stop BillionMail: $0 stop"
        echo "  restart                   - Restart BillionMail: $0 restart"
        echo "  status                    - Show BillionMail containers running status : $0 status"
        echo "  down                      - Stop and remove containers, networks: $0 down"
        echo "  rebuild                   - Rebuild all BillionMail containers: $0 rebuild"
        echo "  top                       - Show all BillionMail processes: $0 top"
        echo "  ps                        - Show all BillionMail containers: $0 ps"
        echo "  service-top               - Show processes of a specific BillionMail service: $0 s-t postfix"
        echo "  log-file <service>            - View logs of a specific service: $0 l-f postfix"
        echo "  log-container <container>     - View logs of a specific container: $0 l-c postfix"
        echo "  restart-service <service>     - Restart a specific service and its container: $0 r-s postfix"
        echo "  clear                     - Clear BillionMail old images: $0 clear"
        echo "  cancel-ip-limit           - Cancel IP access limit : $0 c-i-l"
        # echo "  add-domain <domain>       - Add domain. Example: $0 add-domain example.com"
        # echo "  del-domain <domain>       - Delete domain. Example: $0 del-domain example.com"
        # echo "  add-email <email>         - Add email. Example: $0 add-email user@example.com"
        # echo "  del-email <email>         - Delete email. Example: $0 del-email user@example.com"
        echo "  show-domain               - Show domain data."
        echo "  show-email                - Show email data."
        # echo "  show-record               - Show domain DNS record."
        
        exit
}


case "$1" in
    h | -h | help | --help | -help)
        SHOW_HELP
        ;;
    default | info)
        Default_info
        ;;
    update)
        Update_BillionMail
        ;;
    add-domain)
        Init_Domain "$@"
        Add_Domain
        ;;
    del-domain)
        Init_Domain "$@"
        Del_Domain
        ;;
    add-email)
        Init_Email "$@"
        Add_Email
        ;;
    del-email)
        Init_Email "$@"
        Del_Email
        ;;
    show-domain)
        Select_Domain_data
        ;;
    show-email)
        Select_Email_data
        ;;
    show-record|show_dns_record)
        Init_Domain "$@"
        Domain_record
        ;;
    MODIFY_HTTP_PORT|modify_http_port|change-apply-ssl-port)
        MODIFY_HTTP_SSL_PORT
        ;;
    MODIFY_HTTPS_PORT|modify_https_port|change-port)
        MODIFY_HTTPS_PORT
        ;;
    MODIFY_TZ|modify_tz|change-tz)
        MODIFY_TZ
        ;;
    MODIFY_ADMIN_USERNAME|modify_user|change-user)
        MODIFY_ADMIN_USERNAME
        ;;
    MODIFY_ADMIN_PASSWORD|modify_password|change-password)
        MODIFY_ADMIN_PASSWORD
        ;;
    MODIFY_SAFE_ENTRANCE|modify_safe_path|change-safe-path)
        MODIFY_SAFE_ENTRANCE
        ;;
    REBUILD_PROJECT|rebuild_project|rebuild)
        REBUILD_PROJECT
        ;;
    RESTART_PROJECT|restart_project|restart)
        RESTART_PROJECT
        ;;
    START_PROJECT|start_project|start)
        START_PROJECT
        ;;
    STOP_PROJECT|stop_project|stop)
        STOP_PROJECT
        ;;
    GET_CONTAINER_STATUS|get_container_status|status)
        GET_CONTAINER_STATUS
        ;;
    DOWN_PROJECT|down_project|down)
        DOWN_PROJECT
        ;;
    RESTART_SERVICE|restart_service|restart-service|r-s)
        RESTART_SERVICE "$@"
        ;;
    GET_CONTAINER_LOG|log_container|log-container|l-c)
        GET_CONTAINER_LOG "$@"
        ;;
    GET_FILE_LOG|log_file|log-file|l-f)
        GET_FILE_LOG "$@"
        ;;
    GET_SERVICE_TOP|service_top|service-top|s-t)
        GET_SERVICE_TOP "$@"
        ;;
    GET_SERVICE_TOP_ALL|service_top_all|service-top-all|top)
        GET_SERVICE_TOP_ALL
        ;;    
    GET_SERVICE_PS|service-ps|ps)
        GET_SERVICE_PS
        ;;  
    RESTART_SERVICE_ADMIN|restart_service_admin|restart-service-admin|restart-admin)
        RESTART_SERVICE_ADMIN
        ;;
    clear)
    CLEAR_OLD_IMAGE
    ;;    
    cancel-ip-limit|c-i-l)
    CANCEL_IP_WHITELIST_LIMIT
    ;;  


    Domain_multi_send_IP|apply_multi_ip|multi_ip)
        APPLY_MULTI_IP
        ;;

    fix_multi_ip|fix-multi-ip)
        FIX_MULTI_IP
        ;;


    *)
        echo "=============== BillionMail CLI =================="
        echo "1) Restart BillionMail          2) View login info"
        echo ""
        echo "3) View running status          4) Stop BillionMail"
        echo ""
        echo "5) Start BillionMail            6) Restart manage only (mail unaffected)"
        echo ""
        echo "7) Change manage password       8) Change manage username"
        echo ""
        echo "9) Change secure entry          10) Change manage access port"
        echo ""
        echo "11) View all processes          12) Update BillionMail"
        echo ""
        echo "13) Cancel IP access limit          "
        echo ""
        echo "0) Exit      For more commands: help"
        echo "=================================================="
        read -p "Enter number to execute command [0-12]: " input  
        case ${input} in
        1)
            RESTART_PROJECT
            ;;
        2)
            Default_info
            ;;
        3)
            GET_CONTAINER_STATUS
            ;;
        4)
            STOP_PROJECT
            ;;
        5)
            START_PROJECT
            ;;
        6)
            RESTART_SERVICE_ADMIN
            ;;
        7)
            MODIFY_ADMIN_PASSWORD
            ;;
        8)
            MODIFY_ADMIN_USERNAME
            ;;
        9)
            MODIFY_SAFE_ENTRANCE
            ;;
        10)
            MODIFY_HTTPS_PORT
            ;;
        11)
            GET_SERVICE_TOP_ALL
            ;;
        12)
            Update_BillionMail
            ;;
        13)
            CANCEL_IP_WHITELIST_LIMIT
            ;;            
        help)
            SHOW_HELP
            ;;
        0 | * )
            echo "Cancelled!"
            exit
            ;;
        esac
        ;;
esac

================================================
FILE: conf/core/fail2ban_init/filter.d/core-limit-filter.conf
================================================
[Definition]
failregex = ^.*? \d+ "(GET|POST|HEAD|PUT|DELETE|PATCH|OPTIONS|CONNECT|TRACE) (http|https) [^ ]+ \S+ HTTP.*" .*, <HOST>, ".*?", ".*?"$

ignoreregex = .*/roundcube.*


================================================
FILE: conf/core/fail2ban_init/filter.d/roundcube-limit-filter.conf
================================================
[Definition]
# Only match roundcube logs
failregex = ^.*? \d+ "(GET|POST|HEAD|PUT|DELETE|PATCH|OPTIONS|CONNECT|TRACE) (http|https) [^ ]+ /roundcube(?:[/?][^ \"]*)? HTTP.*" .*, <HOST>, ".*?", ".*?"$
# Exclude static resource interference
ignoreregex = ^.* /roundcube/(?:skins|plugins|assets|images)/

================================================
FILE: conf/core/fail2ban_init/jail.d/core-accesslimit.conf
================================================
[core-accesslimit]
ignoreip = 127.0.0.1/8
enabled = true
port = 80,443
filter = core-limit-filter
logpath = /opt/billionmail/core/logs/access-*.log
maxretry = 1000
findtime = 60
bantime = 60
action = %(action_)s


================================================
FILE: conf/core/fail2ban_init/jail.d/roundcube-accesslimit.conf
================================================
[roundcube-accesslimit]
ignoreip = 127.0.0.1/8
enabled = true
port = 80,443
filter = roundcube-limit-filter
logpath = /opt/billionmail/core/logs/access-*.log
maxretry = 600
findtime = 60
bantime = 60
action = %(action_)s

================================================
FILE: conf/dovecot/conf.d/10-auth.conf
================================================
##
## Authentication processes
##

# Disable LOGIN command and all other plaintext authentications unless
# SSL/TLS is used (LOGINDISABLED capability). Note that if the remote IP
# matches the local IP (ie. you're connecting from the same computer), the
# connection is considered secure and plaintext authentication is allowed.
# See also ssl=required setting.
disable_plaintext_auth = no

# Authentication cache size (e.g. 10M). 0 means it's disabled. Note that
# bsdauth, PAM and vpopmail require cache_key to be set for caching to be used.
#auth_cache_size = 0
# Time to live for cached data. After TTL expires the cached record is no
# longer used, *except* if the main database lookup returns internal failure.
# We also try to handle password changes automatically: If user's previous
# authentication was successful, but this one wasn't, the cache isn't used.
# For now this works only with plaintext authentication.
#auth_cache_ttl = 1 hour
# TTL for negative hits (user not found, password mismatch).
# 0 disables caching them completely.
#auth_cache_negative_ttl = 1 hour

# Space separated list of realms for SASL authentication mechanisms that need
# them. You can leave it empty if you don't want to support multiple realms.
# Many clients simply use the first one listed here, so keep the default realm
# first.
#auth_realms =

# Default realm/domain to use if none was specified. This is used for both
# SASL realms and appending @domain to username in plaintext logins.
#auth_default_realm = 

# List of allowed characters in username. If the user-given username contains
# a character not listed in here, the login automatically fails. This is just
# an extra check to make sure user can't exploit any potential quote escaping
# vulnerabilities with SQL/LDAP databases. If you want to allow all characters,
# set this value to empty.
#auth_username_chars = abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890.-_@

# Username character translations before it's looked up from databases. The
# value contains series of from -> to characters. For example "#@/@" means
# that '#' and '/' characters are translated to '@'.
#auth_username_translation =

# Username formatting before it's looked up from databases. You can use
# the standard variables here, eg. %Lu would lowercase the username, %n would
# drop away the domain if it was given, or "%n-AT-%d" would change the '@' into
# "-AT-". This translation is done after auth_username_translation changes.
#auth_username_format = %Lu

# If you want to allow master users to log in by specifying the master
# username within the normal username string (ie. not using SASL mechanism's
# support for it), you can specify the separator character here. The format
# is then <username><separator><master username>. UW-IMAP uses "*" as the
# separator, so that could be a good choice.
#auth_master_user_separator =

# Username to use for users logging in with ANONYMOUS SASL mechanism
#auth_anonymous_username = anonymous

# Maximum number of dovecot-auth worker processes. They're used to execute
# blocking passdb and userdb queries (eg. MySQL and PAM). They're
# automatically created and destroyed as needed.
#auth_worker_max_count = 30

# Host name to use in GSSAPI principal names. The default is to use the
# name returned by gethostname(). Use "$ALL" (with quotes) to allow all keytab
# entries.
#auth_gssapi_hostname =

# Kerberos keytab to use for the GSSAPI mechanism. Will use the system
# default (usually /etc/krb5.keytab) if not specified. You may need to change
# the auth service to run as root to be able to read this file.
#auth_krb5_keytab = 

# Do NTLM and GSS-SPNEGO authentication using Samba's winbind daemon and
# ntlm_auth helper. <doc/wiki/Authentication/Mechanisms/Winbind.txt>
#auth_use_winbind = no

# Path for Samba's ntlm_auth helper binary.
#auth_winbind_helper_path = /usr/bin/ntlm_auth

# Time to delay before replying to failed authentications.
#auth_failure_delay = 2 secs

# Require a valid SSL client certificate or the authentication fails.
#auth_ssl_require_client_cert = no

# Take the username from client's SSL certificate, using 
# X509_NAME_get_text_by_NID() which returns the subject's DN's
# CommonName. 
#auth_ssl_username_from_cert = no

# Space separated list of wanted authentication mechanisms:
#   plain login digest-md5 cram-md5 ntlm rpa apop anonymous gssapi otp skey
#   gss-spnego
# NOTE: See also disable_plaintext_auth setting.
auth_mechanisms = plain login

##
## Password and user databases
##

#
# Password database is used to verify user's password (and nothing more).
# You can have multiple passdbs and userdbs. This is useful if you want to
# allow both system users (/etc/passwd) and virtual users to login without
# duplicating the system users into virtual database.
#
# <doc/wiki/PasswordDatabase.txt>
#
# User database specifies where mails are located and what user/group IDs
# own them. For single-UID configuration use "static" userdb.
#
# <doc/wiki/UserDatabase.txt>

#!include auth-deny.conf.ext
#!include auth-master.conf.ext

#!include auth-system.conf.ext
!include auth-sql.conf.ext
#!include auth-ldap.conf.ext
#!include auth-passwdfile.conf.ext
#!include auth-checkpassword.conf.ext
#!include auth-vpopmail.conf.ext
#!include auth-static.conf.ext


================================================
FILE: conf/dovecot/conf.d/10-director.conf
================================================
##
## Director-specific settings.
##

# Director can be used by Dovecot proxy to keep a temporary user -> mail server
# mapping. As long as user has simultaneous connections, the user is always
# redirected to the same server. Each proxy server is running its own director
# process, and the directors are communicating the state to each others.
# Directors are mainly useful with NFS-like setups.

# List of IPs or hostnames to all director servers, including ourself.
# Ports can be specified as ip:port. The default port is the same as
# what director service's inet_listener is using.
#director_servers = 

# List of IPs or hostnames to all backend mail servers. Ranges are allowed
# too, like 10.0.0.10-10.0.0.30.
#director_mail_servers = 

# How long to redirect users to a specific server after it no longer has
# any connections.
#director_user_expire = 15 min

# How the username is translated before being hashed. Useful values include
# %Ln if user can log in with or without @domain, %Ld if mailboxes are shared
# within domain.
#director_username_hash = %Lu

# To enable director service, uncomment the modes and assign a port.
service director {
  unix_listener login/director {
    #mode = 0666
  }
  fifo_listener login/proxy-notify {
    #mode = 0666
  }
  unix_listener director-userdb {
    #mode = 0600
  }
  inet_listener {
    #port = 
  }
}

# Enable director for the wanted login services by telling them to
# connect to director socket instead of the default login socket:
service imap-login {
  #executable = imap-login director
}
service pop3-login {
  #executable = pop3-login director
}
service submission-login {
  #executable = submission-login director
}

# Enable director for LMTP proxying:
protocol lmtp {
  #auth_socket_path = director-userdb
}


================================================
FILE: conf/dovecot/conf.d/10-logging.conf
================================================
##
## Log destination.
##

# Log file to use for error messages. "syslog" logs to syslog,
# /dev/stderr logs to stderr.
#log_path = syslog

# Log file to use for informational messages. Defaults to log_path.
#info_log_path = 
# Log file to use for debug messages. Defaults to info_log_path.
#debug_log_path = 

# Syslog facility to use if you're logging to syslog. Usually if you don't
# want to use "mail", you'll use local0..local7. Also other standard
# facilities are supported.
#syslog_facility = mail

##
## Logging verbosity and debugging.
##

# Log filter is a space-separated list conditions. If any of the conditions
# match, the log filter matches (i.e. they're ORed together). Parenthesis
# are supported if multiple conditions need to be matched together.
#
# See https://doc.dovecot.org/configuration_manual/event_filter/ for details.
#
# For example: event=http_request_* AND category=error AND category=storage
#
# Filter to specify what debug logging to enable. This will eventually replace
# mail_debug and auth_debug settings.
#log_debug = 

# Crash after logging a matching event. For example category=error will crash
# any time an error is logged, which can be useful for debugging.
#log_core_filter = 

# Log unsuccessful authentication attempts and the reasons why they failed.
#auth_verbose = no

# In case of password mismatches, log the attempted password. Valid values are
# no, plain and sha1. sha1 can be useful for detecting brute force password
# attempts vs. user simply trying the same password over and over again.
# You can also truncate the value to n chars by appending ":n" (e.g. sha1:6).
#auth_verbose_passwords = no

# Even more verbose logging for debugging purposes. Shows for example SQL
# queries.
#auth_debug = no

# In case of password mismatches, log the passwords and used scheme so the
# problem can be debugged. Enabling this also enables auth_debug.
#auth_debug_passwords = no

# Enable mail process debugging. This can help you figure out why Dovecot
# isn't finding your mails.
#mail_debug = no

# Show protocol level SSL errors.
#verbose_ssl = no

# mail_log plugin provides more event logging for mail processes.
plugin {
  # Events to log. Also available: flag_change append
  #mail_log_events = delete undelete expunge copy mailbox_delete mailbox_rename
  # Available fields: uid, box, msgid, from, subject, size, vsize, flags
  # size and vsize are available only for expunge and copy events.
  #mail_log_fields = uid box msgid size
}

##
## Log formatting.
##

# Prefix for each line written to log file. % codes are in strftime(3)
# format.
#log_timestamp = "%b %d %H:%M:%S "

# Space-separated list of elements we want to log. The elements which have
# a non-empty variable value are joined together to form a comma-separated
# string.
#login_log_format_elements = user=<%u> method=%m rip=%r lip=%l mpid=%e %c

# Login log format. %s contains login_log_format_elements string, %$ contains
# the data we want to log.
#login_log_format = %$: %s
 
# Log prefix for mail processes. See doc/wiki/Variables.txt for list of
# possible variables you can use.
#mail_log_prefix = "%s(%u)<%{pid}><%{session}>: "

# Format to use for logging mail deliveries:
#  %$ - Delivery status message (e.g. "saved to INBOX")
#  %m / %{msgid} - Message-ID
#  %s / %{subject} - Subject
#  %f / %{from} - From address
#  %p / %{size} - Physical size
#  %w / %{vsize} - Virtual size
#  %e / %{from_envelope} - MAIL FROM envelope
#  %{to_envelope} - RCPT TO envelope
#  %{delivery_time} - How many milliseconds it took to deliver the mail
#  %{session_time} - How long LMTP session took, not including delivery_time
#  %{storage_id} - Backend-specific ID for mail, e.g. Maildir filename
#deliver_log_format = msgid=%m: %$


================================================
FILE: conf/dovecot/conf.d/10-mail.conf
================================================
##
## Mailbox locations and namespaces
##

# Location for users' mailboxes. The default is empty, which means that Dovecot
# tries to find the mailboxes automatically. This won't work if the user
# doesn't yet have any mail, so you should explicitly tell Dovecot the full
# location.
#
# If you're using mbox, giving a path to the INBOX file (eg. /var/mail/%u)
# isn't enough. You'll also need to tell Dovecot where the other mailboxes are
# kept. This is called the "root mail directory", and it must be the first
# path given in the mail_location setting.
#
# There are a few special variables you can use, eg.:
#
#   %u - username
#   %n - user part in user@domain, same as %u if there's no domain
#   %d - domain part in user@domain, empty if there's no domain
#   %h - home directory
#
# See doc/wiki/Variables.txt for full list. Some examples:
#
#   mail_location = maildir:~/Maildir
#   mail_location = mbox:~/mail:INBOX=/var/mail/%u
#   mail_location = mbox:/var/mail/%d/%1n/%n:INDEX=/var/indexes/%d/%1n/%n
#
# <doc/wiki/MailLocation.txt>
#
mail_location = maildir:/var/vmail/%d/%n

# If you need to set multiple mailbox locations or want to change default
# namespace settings, you can do it by defining namespace sections.
#
# You can have private, shared and public namespaces. Private namespaces
# are for user's personal mails. Shared namespaces are for accessing other
# users' mailboxes that have been shared. Public namespaces are for shared
# mailboxes that are managed by sysadmin. If you create any shared or public
# namespaces you'll typically want to enable ACL plugin also, otherwise all
# users can access all the shared mailboxes, assuming they have permissions
# on filesystem level to do so.
namespace inbox {
  # Namespace type: private, shared or public
  #type = private

  # Hierarchy separator to use. You should use the same separator for all
  # namespaces or some clients get confused. '/' is usually a good one.
  # The default however depends on the underlying mail storage format.
  #separator = 

  # Prefix required to access this namespace. This needs to be different for
  # all namespaces. For example "Public/".
  #prefix = 

  # Physical location of the mailbox. This is in same format as
  # mail_location, which is also the default for it.
  #location =

  # There can be only one INBOX, and this setting defines which namespace
  # has it.
  inbox = yes

  # If namespace is hidden, it's not advertised to clients via NAMESPACE
  # extension. You'll most likely also want to set list=no. This is mostly
  # useful when converting from another server with different namespaces which
  # you want to deprecate but still keep working. For example you can create
  # hidden namespaces with prefixes "~/mail/", "~%u/mail/" and "mail/".
  #hidden = no

  # Show the mailboxes under this namespace with LIST command. This makes the
  # namespace visible for clients that don't support NAMESPACE extension.
  # "children" value lists child mailboxes, but hides the namespace prefix.
  #list = yes

  # Namespace handles its own subscriptions. If set to "no", the parent
  # namespace handles them (empty prefix should always have this as "yes")
  #subscriptions = yes

  # See 15-mailboxes.conf for definitions of special mailboxes.
}

# Example shared namespace configuration
#namespace {
  #type = shared
  #separator = /

  # Mailboxes are visible under "shared/user@domain/"
  # %%n, %%d and %%u are expanded to the destination user.
  #prefix = shared/%%u/

  # Mail location for other users' mailboxes. Note that %variables and ~/
  # expands to the logged in user's data. %%n, %%d, %%u and %%h expand to the
  # destination user's data.
  #location = maildir:%%h/Maildir:INDEX=~/Maildir/shared/%%u

  # Use the default namespace for saving subscriptions.
  #subscriptions = no

  # List the shared/ namespace only if there are visible shared mailboxes.
  #list = children
#}
# Should shared INBOX be visible as "shared/user" or "shared/user/INBOX"?
#mail_shared_explicit_inbox = no

# System user and group used to access mails. If you use multiple, userdb
# can override these by returning uid or gid fields. You can use either numbers
# or names. <doc/wiki/UserIds.txt>
mail_uid = vmail
mail_gid = mail

# Group to enable temporarily for privileged operations. Currently this is
# used only with INBOX when either its initial creation or dotlocking fails.
# Typically this is set to "mail" to give access to /var/mail.
mail_privileged_group = mail

# Grant access to these supplementary groups for mail processes. Typically
# these are used to set up access to shared mailboxes. Note that it may be
# dangerous to set these if users can create symlinks (e.g. if "mail" group is
# set here, ln -s /var/mail ~/mail/var could allow a user to delete others'
# mailboxes, or ln -s /secret/shared/box ~/mail/mybox would allow reading it).
#mail_access_groups =
mail_access_groups = mail

# Allow full filesystem access to clients. There's no access checks other than
# what the operating system does for the active UID/GID. It works with both
# maildir and mboxes, allowing you to prefix mailboxes names with eg. /path/
# or ~user/.
#mail_full_filesystem_access = no

# Dictionary for key=value mailbox attributes. This is used for example by
# URLAUTH and METADATA extensions.
#mail_attribute_dict =

# A comment or note that is associated with the server. This value is
# accessible for authenticated users through the IMAP METADATA server
# entry "/shared/comment". 
#mail_server_comment = ""

# Indicates a method for contacting the server administrator. According to
# RFC 5464, this value MUST be a URI (e.g., a mailto: or tel: URL), but that
# is currently not enforced. Use for example mailto:admin@example.com. This
# value is accessible for authenticated users through the IMAP METADATA server
# entry "/shared/admin".
#mail_server_admin = 

##
## Mail processes
##

# Don't use mmap() at all. This is required if you store indexes to shared
# filesystems (NFS or clustered filesystem).
#mmap_disable = no

# Rely on O_EXCL to work when creating dotlock files. NFS supports O_EXCL
# since version 3, so this should be safe to use nowadays by default.
#dotlock_use_excl = yes

# When to use fsync() or fdatasync() calls:
#   optimized (default): Whenever necessary to avoid losing important data
#   always: Useful with e.g. NFS when write()s are delayed
#   never: Never use it (best performance, but crashes can lose data)
#mail_fsync = optimized

# Locking method for index files. Alternatives are fcntl, flock and dotlock.
# Dotlocking uses some tricks which may create more disk I/O than other locking
# methods. NFS users: flock doesn't work, remember to change mmap_disable.
#lock_method = fcntl

# Directory in which LDA/LMTP temporarily stores incoming mails >128 kB.
#mail_temp_dir = /tmp

# Valid UID range for users, defaults to 500 and above. This is mostly
# to make sure that users can't log in as daemons or other system users.
# Note that denying root logins is hardcoded to dovecot binary and can't
# be done even if first_valid_uid is set to 0.
first_valid_uid = 150
last_valid_uid = 150

# Valid GID range for users, defaults to non-root/wheel. Users having
# non-valid GID as primary group ID aren't allowed to log in. If user
# belongs to supplementary groups with non-valid GIDs, those groups are
# not set.
#first_valid_gid = 1
#last_valid_gid = 0

# Maximum allowed length for mail keyword name. It's only forced when trying
# to create new keywords.
#mail_max_keyword_length = 50

# ':' separated list of directories under which chrooting is allowed for mail
# processes (ie. /var/mail will allow chrooting to /var/mail/foo/bar too).
# This setting doesn't affect login_chroot, mail_chroot or auth chroot
# settings. If this setting is empty, "/./" in home dirs are ignored.
# WARNING: Never add directories here which local users can modify, that
# may lead to root exploit. Usually this should be done only if you don't
# allow shell access for users. <doc/wiki/Chrooting.txt>
#valid_chroot_dirs = 

# Default chroot directory for mail processes. This can be overridden for
# specific users in user database by giving /./ in user's home directory
# (eg. /home/./user chroots into /home). Note that usually there is no real
# need to do chrooting, Dovecot doesn't allow users to access files outside
# their mail directory anyway. If your home directories are prefixed with
# the chroot directory, append "/." to mail_chroot. <doc/wiki/Chrooting.txt>
#mail_chroot = 

# UNIX socket path to master authentication server to find users.
# This is used by imap (for shared users) and lda.
#auth_socket_path = /var/run/dovecot/auth-userdb

# Directory where to look up mail plugins.
#mail_plugin_dir = /usr/lib/dovecot

# Space separated list of plugins to load for all services. Plugins specific to
# IMAP, LDA, etc. are added to this list in their own .conf files.
#mail_plugins = 

##
## Mailbox handling optimizations
##

# Mailbox list indexes can be used to optimize IMAP STATUS commands. They are
# also required for IMAP NOTIFY extension to be enabled.
#mailbox_list_index = no

# Trust mailbox list index to be up-to-date. This reduces disk I/O at the cost
# of potentially returning out-of-date results after e.g. server crashes.
# The results will be automatically fixed once the folders are opened.
#mailbox_list_index_very_dirty_syncs = yes

# Should INBOX be kept up-to-date in the mailbox list index? By default it's
# not, because most of the mailbox accesses will open INBOX anyway.
#mailbox_list_index_include_inbox = no

# The minimum number of mails in a mailbox before updates are done to cache
# file. This allows optimizing Dovecot's behavior to do less disk writes at
# the cost of more disk reads.
#mail_cache_min_mail_count = 0

# When IDLE command is running, mailbox is checked once in a while to see if
# there are any new mails or other changes. This setting defines the minimum
# time to wait between those checks. Dovecot can also use inotify and
# kqueue to find out immediately when changes occur.
#mailbox_idle_check_interval = 30 secs

# Save mails with CR+LF instead of plain LF. This makes sending those mails
# take less CPU, especially with sendfile() syscall with Linux and FreeBSD.
# But it also creates a bit more disk I/O which may just make it slower.
# Also note that if other software reads the mboxes/maildirs, they may handle
# the extra CRs wrong and cause problems.
#mail_save_crlf = no

# Max number of mails to keep open and prefetch to memory. This only works with
# some mailbox formats and/or operating systems.
#mail_prefetch_count = 0

# How often to scan for stale temporary files and delete them (0 = never).
# These should exist only after Dovecot dies in the middle of saving mails.
#mail_temp_scan_interval = 1w

# How many slow mail accesses sorting can perform before it returns failure.
# With IMAP the reply is: NO [LIMIT] Requested sort would have taken too long.
# The untagged SORT reply is still returned, but it's likely not correct.
#mail_sort_max_read_count = 0

protocol !indexer-worker {
  # If folder vsize calculation requires opening more than this many mails from
  # disk (i.e. mail sizes aren't in cache already), return failure and finish
  # the calculation via indexer process. Disabled by default. This setting must
  # be 0 for indexer-worker processes.
  #mail_vsize_bg_after_count = 0
}

##
## Maildir-specific settings
##

# By default LIST command returns all entries in maildir beginning with a dot.
# Enabling this option makes Dovecot return only entries which are directories.
# This is done by stat()ing each entry, so it causes more disk I/O.
# (For systems setting struct dirent->d_type, this check is free and it's
# done always regardless of this setting)
#maildir_stat_dirs = no

# When copying a message, do it with hard links whenever possible. This makes
# the performance much better, and it's unlikely to have any side effects.
#maildir_copy_with_hardlinks = yes

# Assume Dovecot is the only MUA accessing Maildir: Scan cur/ directory only
# when its mtime changes unexpectedly or when we can't find the mail otherwise.
#maildir_very_dirty_syncs = no

# If enabled, Dovecot doesn't use the S=<size> in the Maildir filenames for
# getting the mail's physical size, except when recalculating Maildir++ quota.
# This can be useful in systems where a lot of the Maildir filenames have a
# broken size. The performance hit for enabling this is very small.
#maildir_broken_filename_sizes = no

# Always move mails from new/ directory to cur/, even when the \Recent flags
# aren't being reset.
#maildir_empty_new = no

##
## mbox-specific settings
##

# Which locking methods to use for locking mbox. There are four available:
#  dotlock: Create <mailbox>.lock file. This is the oldest and most NFS-safe
#           solution. If you want to use /var/mail/ like directory, the users
#           will need write access to that directory.
#  dotlock_try: Same as dotlock, but if it fails because of permissions or
#               because there isn't enough disk space, just skip it.
#  fcntl  : Use this if possible. Works with NFS too if lockd is used.
#  flock  : May not exist in all systems. Doesn't work with NFS.
#  lockf  : May not exist in all systems. Doesn't work with NFS.
#
# You can use multiple locking methods; if you do the order they're declared
# in is important to avoid deadlocks if other MTAs/MUAs are using multiple
# locking methods as well. Some operating systems don't allow using some of
# them simultaneously.
#mbox_read_locks = fcntl
#mbox_write_locks = dotlock fcntl
mbox_write_locks = fcntl

# Maximum time to wait for lock (all of them) before aborting.
#mbox_lock_timeout = 5 mins

# If dotlock exists but the mailbox isn't modified in any way, override the
# lock file after this much time.
#mbox_dotlock_change_timeout = 2 mins

# When mbox changes unexpectedly we have to fully read it to find out what
# changed. If the mbox is large this can take a long time. Since the change
# is usually just a newly appended mail, it'd be faster to simply read the
# new mails. If this setting is enabled, Dovecot does this but still safely
# fallbacks to re-reading the whole mbox file whenever something in mbox isn't
# how it's expected to be. The only real downside to this setting is that if
# some other MUA changes message flags, Dovecot doesn't notice it immediately.
# Note that a full sync is done with SELECT, EXAMINE, EXPUNGE and CHECK 
# commands.
#mbox_dirty_syncs = yes

# Like mbox_dirty_syncs, but don't do full syncs even with SELECT, EXAMINE,
# EXPUNGE or CHECK commands. If this is set, mbox_dirty_syncs is ignored.
#mbox_very_dirty_syncs = no

# Delay writing mbox headers until doing a full write sync (EXPUNGE and CHECK
# commands and when closing the mailbox). This is especially useful for POP3
# where clients often delete all mails. The downside is that our changes
# aren't immediately visible to other MUAs.
#mbox_lazy_writes = yes

# If mbox size is smaller than this (e.g. 100k), don't write index files.
# If an index file already exists it's still read, just not updated.
#mbox_min_index_size = 0

# Mail header selection algorithm to use for MD5 POP3 UIDLs when
# pop3_uidl_format=%m. For backwards compatibility we use apop3d inspired
# algorithm, but it fails if the first Received: header isn't unique in all
# mails. An alternative algorithm is "all" that selects all headers.
#mbox_md5 = apop3d

##
## mdbox-specific settings
##

# Maximum dbox file size until it's rotated.
#mdbox_rotate_size = 2M

# Maximum dbox file age until it's rotated. Typically in days. Day begins
# from midnight, so 1d = today, 2d = yesterday, etc. 0 = check disabled.
#
Download .txt
gitextract_35lf4k5g/

├── .gitattributes
├── .github/
│   ├── ISSUE_TEMPLATE/
│   │   ├── 00-bug.yaml
│   │   ├── 01-enhancement.yaml
│   │   ├── 02-documentation.yaml
│   │   └── 03-question.yaml
│   └── PULL_REQUEST_TEMPLATE.MD
├── .gitignore
├── Dockerfiles/
│   ├── core/
│   │   ├── Dockerfile
│   │   ├── core.sh
│   │   ├── fail2ban.conf
│   │   ├── repositories
│   │   ├── restart_fail2ban.sh
│   │   ├── stop-supervisor.sh
│   │   └── supervisord.conf
│   ├── dovecot/
│   │   ├── Dockerfile
│   │   ├── debian.sources
│   │   ├── dovecot.sh
│   │   ├── report-ham.sieve
│   │   ├── report-spam.sieve
│   │   ├── rotate_log.sh
│   │   ├── sa-learn-ham.sh
│   │   ├── sa-learn-spam.sh
│   │   ├── spam-to-folder.sieve
│   │   ├── stop-supervisor.sh
│   │   └── supervisord.conf
│   ├── postfix/
│   │   ├── Dockerfile
│   │   ├── debian.sources
│   │   ├── postfix.sh
│   │   ├── rotate_log.sh
│   │   ├── stop-supervisor.sh
│   │   └── supervisord.conf
│   └── rspamd/
│       ├── Dockerfile
│       ├── debian.sources
│       ├── rotate_log.sh
│       ├── rspamd.sh
│       ├── stop-supervisor.sh
│       └── supervisord.conf
├── LICENSE
├── README-ja.md
├── README-tr.md
├── README-zh_CN.md
├── README.md
├── SECURITY.md
├── bm.sh
├── conf/
│   ├── core/
│   │   └── fail2ban_init/
│   │       ├── filter.d/
│   │       │   ├── core-limit-filter.conf
│   │       │   └── roundcube-limit-filter.conf
│   │       └── jail.d/
│   │           ├── core-accesslimit.conf
│   │           └── roundcube-accesslimit.conf
│   ├── dovecot/
│   │   ├── conf.d/
│   │   │   ├── 10-auth.conf
│   │   │   ├── 10-director.conf
│   │   │   ├── 10-logging.conf
│   │   │   ├── 10-mail.conf
│   │   │   ├── 10-master.conf
│   │   │   ├── 10-ssl.conf
│   │   │   ├── 10-tcpwrapper.conf
│   │   │   ├── 15-lda.conf
│   │   │   ├── 15-mailboxes.conf
│   │   │   ├── 20-imap.conf
│   │   │   ├── 20-lmtp.conf
│   │   │   ├── 20-pop3.conf
│   │   │   ├── 90-acl.conf
│   │   │   ├── 90-plugin.conf
│   │   │   ├── 90-quota.conf
│   │   │   ├── 90-sieve-extprograms.conf
│   │   │   ├── 90-sieve.conf
│   │   │   ├── 90-sieve_rspamd.conf
│   │   │   ├── auth-checkpassword.conf.ext
│   │   │   ├── auth-deny.conf.ext
│   │   │   ├── auth-dict.conf.ext
│   │   │   ├── auth-ldap.conf.ext
│   │   │   ├── auth-master.conf.ext
│   │   │   ├── auth-passwdfile.conf.ext
│   │   │   ├── auth-sql.conf.ext
│   │   │   ├── auth-static.conf.ext
│   │   │   └── auth-system.conf.ext
│   │   ├── dovecot.conf
│   │   └── rsyslog.conf
│   ├── php/
│   │   ├── pear.conf
│   │   ├── php/
│   │   │   └── conf.d/
│   │   │       ├── docker-fpm.ini
│   │   │       ├── docker-php-ext-exif.ini
│   │   │       ├── docker-php-ext-gd.ini
│   │   │       ├── docker-php-ext-imagick.ini
│   │   │       ├── docker-php-ext-intl.ini
│   │   │       ├── docker-php-ext-ldap.ini
│   │   │       ├── docker-php-ext-opcache.ini
│   │   │       ├── docker-php-ext-pdo_mysql.ini
│   │   │       ├── docker-php-ext-pdo_pgsql.ini
│   │   │       ├── docker-php-ext-pspell.ini
│   │   │       ├── docker-php-ext-redis.ini
│   │   │       ├── docker-php-ext-sodium.ini
│   │   │       ├── docker-php-ext-zip.ini
│   │   │       └── roundcube-defaults.ini
│   │   ├── php-fpm.conf
│   │   ├── php-fpm.conf.default
│   │   └── php-fpm.d/
│   │       ├── docker.conf
│   │       ├── www.conf
│   │       └── www.conf.default
│   ├── postfix/
│   │   ├── main.cf
│   │   ├── master.cf
│   │   └── rsyslog.conf
│   ├── redis/
│   │   └── redis-conf.sh
│   ├── rspamd/
│   │   ├── local.d/
│   │   │   └── milter_headers.conf
│   │   ├── rspamd.conf
│   │   └── statistic.conf
│   ├── supplier/
│   │   └── template/
│   │       ├── Anthropic/
│   │       │   ├── config.json
│   │       │   ├── embedding.json
│   │       │   └── models.json
│   │       ├── DeepSeek/
│   │       │   ├── config.json
│   │       │   ├── embedding.json
│   │       │   └── models.json
│   │       ├── Gemini/
│   │       │   ├── config.json
│   │       │   ├── embedding.json
│   │       │   └── models.json
│   │       ├── Grok/
│   │       │   ├── config.json
│   │       │   ├── embedding.json
│   │       │   └── models.json
│   │       ├── Kimi/
│   │       │   ├── config.json
│   │       │   ├── embedding.json
│   │       │   └── models.json
│   │       └── OpenAI/
│   │           ├── config.json
│   │           ├── embedding.json
│   │           └── models.json
│   └── webmail/
│       ├── custom.inc.php
│       └── mime.types
├── core/
│   ├── .gitattributes
│   ├── .gitignore
│   ├── Makefile
│   ├── README.MD
│   ├── api/
│   │   ├── abnormal_recipient/
│   │   │   ├── abnormal_recipient.go
│   │   │   └── v1/
│   │   │       └── abnormal_recipient.go
│   │   ├── askai/
│   │   │   ├── askai.go
│   │   │   └── v1/
│   │   │       ├── chat.go
│   │   │       ├── project.go
│   │   │       └── supplier.go
│   │   ├── batch_mail/
│   │   │   ├── batch_mail.go
│   │   │   └── v1/
│   │   │       ├── api_mail.go
│   │   │       ├── batch_mail.go
│   │   │       ├── task_executor.go
│   │   │       └── unsubscribe.go
│   │   ├── campaign/
│   │   │   ├── campaign.go
│   │   │   └── v1/
│   │   │       └── subscription.go
│   │   ├── contact/
│   │   │   ├── contact.go
│   │   │   └── v1/
│   │   │       └── contact.go
│   │   ├── dockerapi/
│   │   │   ├── dockerapi.go
│   │   │   └── v1/
│   │   │       └── dockerapi.go
│   │   ├── domains/
│   │   │   ├── domains.go
│   │   │   └── v1/
│   │   │       ├── domain_blocklist.go
│   │   │       ├── domains.go
│   │   │       ├── multi_ip_domain.go
│   │   │       └── ssl.go
│   │   ├── email_template/
│   │   │   ├── email_template.go
│   │   │   └── v1/
│   │   │       └── email_template.go
│   │   ├── files/
│   │   │   ├── files.go
│   │   │   └── v1/
│   │   │       └── files.go
│   │   ├── languages/
│   │   │   ├── languages.go
│   │   │   └── v1/
│   │   │       └── languages.go
│   │   ├── mail_boxes/
│   │   │   ├── mail_boxes.go
│   │   │   └── v1/
│   │   │       └── mailboxes.go
│   │   ├── mail_services/
│   │   │   ├── mail_services.go
│   │   │   └── v1/
│   │   │       ├── common.go
│   │   │       ├── mail_bcc.go
│   │   │       ├── mail_forward.go
│   │   │       └── postfix_queue.go
│   │   ├── operation_log/
│   │   │   ├── operation_log.go
│   │   │   └── v1/
│   │   │       └── operation_log.go
│   │   ├── overview/
│   │   │   ├── overview.go
│   │   │   └── v1/
│   │   │       └── overview.go
│   │   ├── rbac/
│   │   │   ├── rbac.go
│   │   │   └── v1/
│   │   │       ├── account.go
│   │   │       ├── auth.go
│   │   │       ├── permission.go
│   │   │       └── role.go
│   │   ├── relay/
│   │   │   ├── relay.go
│   │   │   └── v1/
│   │   │       └── relay.go
│   │   ├── settings/
│   │   │   ├── settings.go
│   │   │   └── v1/
│   │   │       └── settings.go
│   │   ├── subscribe_list/
│   │   │   ├── subscribe_list.go
│   │   │   └── v1/
│   │   │       └── subscribe_list.go
│   │   └── tags/
│   │       ├── tags.go
│   │       └── v1/
│   │           └── tags.go
│   ├── cmd/
│   │   └── acme/
│   │       ├── Makefile
│   │       └── main.go
│   ├── frontend/
│   │   ├── .eslintrc-auto-import.json
│   │   ├── .gitignore
│   │   ├── .prettierignore
│   │   ├── .prettierrc
│   │   ├── README.md
│   │   ├── build/
│   │   │   ├── config.ts
│   │   │   └── utils.ts
│   │   ├── build-for-git.js
│   │   ├── eslint.config.mjs
│   │   ├── git-pull.js
│   │   ├── index.html
│   │   ├── package.json
│   │   ├── public/
│   │   │   └── static/
│   │   │       └── plugin/
│   │   │           └── monaco/
│   │   │               ├── base/
│   │   │               │   └── worker/
│   │   │               │       └── workerMain.js
│   │   │               ├── basic-languages/
│   │   │               │   ├── abap/
│   │   │               │   │   └── abap.js
│   │   │               │   ├── apex/
│   │   │               │   │   └── apex.js
│   │   │               │   ├── azcli/
│   │   │               │   │   └── azcli.js
│   │   │               │   ├── bat/
│   │   │               │   │   └── bat.js
│   │   │               │   ├── bicep/
│   │   │               │   │   └── bicep.js
│   │   │               │   ├── cameligo/
│   │   │               │   │   └── cameligo.js
│   │   │               │   ├── clojure/
│   │   │               │   │   └── clojure.js
│   │   │               │   ├── coffee/
│   │   │               │   │   └── coffee.js
│   │   │               │   ├── cpp/
│   │   │               │   │   └── cpp.js
│   │   │               │   ├── csharp/
│   │   │               │   │   └── csharp.js
│   │   │               │   ├── csp/
│   │   │               │   │   └── csp.js
│   │   │               │   ├── css/
│   │   │               │   │   └── css.js
│   │   │               │   ├── cypher/
│   │   │               │   │   └── cypher.js
│   │   │               │   ├── dart/
│   │   │               │   │   └── dart.js
│   │   │               │   ├── dockerfile/
│   │   │               │   │   └── dockerfile.js
│   │   │               │   ├── ecl/
│   │   │               │   │   └── ecl.js
│   │   │               │   ├── elixir/
│   │   │               │   │   └── elixir.js
│   │   │               │   ├── flow9/
│   │   │               │   │   └── flow9.js
│   │   │               │   ├── freemarker2/
│   │   │               │   │   └── freemarker2.js
│   │   │               │   ├── fsharp/
│   │   │               │   │   └── fsharp.js
│   │   │               │   ├── go/
│   │   │               │   │   └── go.js
│   │   │               │   ├── graphql/
│   │   │               │   │   └── graphql.js
│   │   │               │   ├── handlebars/
│   │   │               │   │   └── handlebars.js
│   │   │               │   ├── hcl/
│   │   │               │   │   └── hcl.js
│   │   │               │   ├── html/
│   │   │               │   │   └── html.js
│   │   │               │   ├── ini/
│   │   │               │   │   └── ini.js
│   │   │               │   ├── java/
│   │   │               │   │   └── java.js
│   │   │               │   ├── javascript/
│   │   │               │   │   └── javascript.js
│   │   │               │   ├── julia/
│   │   │               │   │   └── julia.js
│   │   │               │   ├── kotlin/
│   │   │               │   │   └── kotlin.js
│   │   │               │   ├── less/
│   │   │               │   │   └── less.js
│   │   │               │   ├── lexon/
│   │   │               │   │   └── lexon.js
│   │   │               │   ├── liquid/
│   │   │               │   │   └── liquid.js
│   │   │               │   ├── lua/
│   │   │               │   │   └── lua.js
│   │   │               │   ├── m3/
│   │   │               │   │   └── m3.js
│   │   │               │   ├── markdown/
│   │   │               │   │   └── markdown.js
│   │   │               │   ├── mdx/
│   │   │               │   │   └── mdx.js
│   │   │               │   ├── mips/
│   │   │               │   │   └── mips.js
│   │   │               │   ├── msdax/
│   │   │               │   │   └── msdax.js
│   │   │               │   ├── mysql/
│   │   │               │   │   └── mysql.js
│   │   │               │   ├── objective-c/
│   │   │               │   │   └── objective-c.js
│   │   │               │   ├── pascal/
│   │   │               │   │   └── pascal.js
│   │   │               │   ├── pascaligo/
│   │   │               │   │   └── pascaligo.js
│   │   │               │   ├── perl/
│   │   │               │   │   └── perl.js
│   │   │               │   ├── pgsql/
│   │   │               │   │   └── pgsql.js
│   │   │               │   ├── php/
│   │   │               │   │   └── php.js
│   │   │               │   ├── pla/
│   │   │               │   │   └── pla.js
│   │   │               │   ├── postiats/
│   │   │               │   │   └── postiats.js
│   │   │               │   ├── powerquery/
│   │   │               │   │   └── powerquery.js
│   │   │               │   ├── powershell/
│   │   │               │   │   └── powershell.js
│   │   │               │   ├── protobuf/
│   │   │               │   │   └── protobuf.js
│   │   │               │   ├── pug/
│   │   │               │   │   └── pug.js
│   │   │               │   ├── python/
│   │   │               │   │   └── python.js
│   │   │               │   ├── qsharp/
│   │   │               │   │   └── qsharp.js
│   │   │               │   ├── r/
│   │   │               │   │   └── r.js
│   │   │               │   ├── razor/
│   │   │               │   │   └── razor.js
│   │   │               │   ├── redis/
│   │   │               │   │   └── redis.js
│   │   │               │   ├── redshift/
│   │   │               │   │   └── redshift.js
│   │   │               │   ├── restructuredtext/
│   │   │               │   │   └── restructuredtext.js
│   │   │               │   ├── ruby/
│   │   │               │   │   └── ruby.js
│   │   │               │   ├── rust/
│   │   │               │   │   └── rust.js
│   │   │               │   ├── sb/
│   │   │               │   │   └── sb.js
│   │   │               │   ├── scala/
│   │   │               │   │   └── scala.js
│   │   │               │   ├── scheme/
│   │   │               │   │   └── scheme.js
│   │   │               │   ├── scss/
│   │   │               │   │   └── scss.js
│   │   │               │   ├── shell/
│   │   │               │   │   └── shell.js
│   │   │               │   ├── solidity/
│   │   │               │   │   └── solidity.js
│   │   │               │   ├── sophia/
│   │   │               │   │   └── sophia.js
│   │   │               │   ├── sparql/
│   │   │               │   │   └── sparql.js
│   │   │               │   ├── sql/
│   │   │               │   │   └── sql.js
│   │   │               │   ├── st/
│   │   │               │   │   └── st.js
│   │   │               │   ├── swift/
│   │   │               │   │   └── swift.js
│   │   │               │   ├── systemverilog/
│   │   │               │   │   └── systemverilog.js
│   │   │               │   ├── tcl/
│   │   │               │   │   └── tcl.js
│   │   │               │   ├── twig/
│   │   │               │   │   └── twig.js
│   │   │               │   ├── typescript/
│   │   │               │   │   └── typescript.js
│   │   │               │   ├── typespec/
│   │   │               │   │   └── typespec.js
│   │   │               │   ├── vb/
│   │   │               │   │   └── vb.js
│   │   │               │   ├── wgsl/
│   │   │               │   │   └── wgsl.js
│   │   │               │   ├── xml/
│   │   │               │   │   └── xml.js
│   │   │               │   └── yaml/
│   │   │               │       └── yaml.js
│   │   │               ├── editor/
│   │   │               │   ├── editor.main.css
│   │   │               │   └── editor.main.js
│   │   │               ├── language/
│   │   │               │   ├── css/
│   │   │               │   │   ├── cssMode.js
│   │   │               │   │   └── cssWorker.js
│   │   │               │   ├── html/
│   │   │               │   │   ├── htmlMode.js
│   │   │               │   │   └── htmlWorker.js
│   │   │               │   ├── json/
│   │   │               │   │   ├── jsonMode.js
│   │   │               │   │   └── jsonWorker.js
│   │   │               │   └── typescript/
│   │   │               │       ├── tsMode.js
│   │   │               │       └── tsWorker.js
│   │   │               ├── loader.js
│   │   │               ├── nls.messages.de.js
│   │   │               ├── nls.messages.es.js
│   │   │               ├── nls.messages.fr.js
│   │   │               ├── nls.messages.it.js
│   │   │               ├── nls.messages.ja.js
│   │   │               ├── nls.messages.ko.js
│   │   │               ├── nls.messages.ru.js
│   │   │               ├── nls.messages.zh-cn.js
│   │   │               └── nls.messages.zh-tw.js
│   │   ├── rsbuild.config.ts
│   │   ├── src/
│   │   │   ├── App.vue
│   │   │   ├── api/
│   │   │   │   ├── index.ts
│   │   │   │   └── modules/
│   │   │   │       ├── api.ts
│   │   │   │       ├── contacts/
│   │   │   │       │   ├── group.ts
│   │   │   │       │   ├── subscribers.ts
│   │   │   │       │   └── suspend.ts
│   │   │   │       ├── domain.ts
│   │   │   │       ├── mailbox.ts
│   │   │   │       ├── market/
│   │   │   │       │   ├── task.ts
│   │   │   │       │   └── template.ts
│   │   │   │       ├── overview.ts
│   │   │   │       ├── public.ts
│   │   │   │       ├── settings/
│   │   │   │       │   ├── bcc.ts
│   │   │   │       │   ├── common.ts
│   │   │   │       │   └── forward.ts
│   │   │   │       ├── settings.ts
│   │   │   │       ├── smtp.ts
│   │   │   │       └── user.ts
│   │   │   ├── components/
│   │   │   │   ├── base/
│   │   │   │   │   ├── bt-charts/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-close-btn/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-code/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-editor/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-file-upload/
│   │   │   │   │   │   ├── UploadError.vue
│   │   │   │   │   │   ├── UploadProgress.vue
│   │   │   │   │   │   ├── UploadPrompt.vue
│   │   │   │   │   │   ├── UploadSuccess.vue
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-help/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-logs/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-more/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-preview/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-route-tabs/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-search/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-table-batch/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-table-help/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-table-layout/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-table-password/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-time/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-time-range/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   └── bt-tips/
│   │   │   │   │       └── index.vue
│   │   │   │   ├── ui/
│   │   │   │   │   ├── bt-config-provider/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-form/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-modal/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   ├── bt-table-page/
│   │   │   │   │   │   └── index.vue
│   │   │   │   │   └── bt-tabs/
│   │   │   │   │       └── index.vue
│   │   │   │   └── utils/
│   │   │   │       ├── confirm/
│   │   │   │       │   ├── interface.ts
│   │   │   │       │   └── method.tsx
│   │   │   │       └── message/
│   │   │   │           ├── animation.scss
│   │   │   │           ├── index.module.scss
│   │   │   │           ├── index.tsx
│   │   │   │           ├── interface.ts
│   │   │   │           ├── message-list.tsx
│   │   │   │           └── method.ts
│   │   │   ├── config/
│   │   │   │   └── loadingBar.ts
│   │   │   ├── features/
│   │   │   │   └── EmailEditor/
│   │   │   │       ├── components/
│   │   │   │       │   ├── config/
│   │   │   │       │   │   ├── Button.vue
│   │   │   │       │   │   ├── Columns.vue
│   │   │   │       │   │   ├── Divider.vue
│   │   │   │       │   │   ├── Header.vue
│   │   │   │       │   │   ├── Image.vue
│   │   │   │       │   │   ├── Link.vue
│   │   │   │       │   │   ├── Menu.vue
│   │   │   │       │   │   ├── None.vue
│   │   │   │       │   │   ├── Text.vue
│   │   │   │       │   │   ├── columns/
│   │   │   │       │   │   │   ├── ColumnPropertiesPanel.vue
│   │   │   │       │   │   │   ├── ColumnsPanel.vue
│   │   │   │       │   │   │   └── RowPropertiesPanel.vue
│   │   │   │       │   │   └── menu/
│   │   │   │       │   │       ├── Item.vue
│   │   │   │       │   │       └── List.vue
│   │   │   │       │   ├── elements/
│   │   │   │       │   │   ├── Button.vue
│   │   │   │       │   │   ├── Copyright.vue
│   │   │   │       │   │   ├── Divider.vue
│   │   │   │       │   │   ├── Header.vue
│   │   │   │       │   │   ├── Image.vue
│   │   │   │       │   │   ├── Link.vue
│   │   │   │       │   │   ├── Menu.vue
│   │   │   │       │   │   └── Text.vue
│   │   │   │       │   ├── layout/
│   │   │   │       │   │   ├── Canvas.vue
│   │   │   │       │   │   ├── Cell.vue
│   │   │   │       │   │   ├── Columns.vue
│   │   │   │       │   │   ├── Section.vue
│   │   │   │       │   │   └── Toolbar.vue
│   │   │   │       │   ├── menu/
│   │   │   │       │   │   ├── block.vue
│   │   │   │       │   │   └── index.vue
│   │   │   │       │   ├── shared/
│   │   │   │       │   │   ├── Collapse.vue
│   │   │   │       │   │   ├── Editor.vue
│   │   │   │       │   │   └── None.vue
│   │   │   │       │   ├── sidebar/
│   │   │   │       │   │   ├── ConfigTabs.vue
│   │   │   │       │   │   ├── Content.vue
│   │   │   │       │   │   └── Page.vue
│   │   │   │       │   ├── style/
│   │   │   │       │   │   ├── BaseBorder.vue
│   │   │   │       │   │   ├── BaseContainer.vue
│   │   │   │       │   │   ├── BaseLabel.vue
│   │   │   │       │   │   ├── BaseNumber.vue
│   │   │   │       │   │   ├── Border.vue
│   │   │   │       │   │   ├── Color.vue
│   │   │   │       │   │   ├── ContentText.vue
│   │   │   │       │   │   ├── FontSize.vue
│   │   │   │       │   │   ├── FontWeight.vue
│   │   │   │       │   │   ├── Head.vue
│   │   │   │       │   │   ├── Image.vue
│   │   │   │       │   │   ├── Layout.vue
│   │   │   │       │   │   ├── LetterSpacing.vue
│   │   │   │       │   │   ├── Line.vue
│   │   │   │       │   │   ├── LineHeight.vue
│   │   │   │       │   │   ├── Link.vue
│   │   │   │       │   │   ├── MoreOptions.vue
│   │   │   │       │   │   ├── Padding.vue
│   │   │   │       │   │   ├── Rounded.vue
│   │   │   │       │   │   ├── TextAlign.vue
│   │   │   │       │   │   ├── Title.vue
│   │   │   │       │   │   ├── Width.vue
│   │   │   │       │   │   ├── WidthAuto.vue
│   │   │   │       │   │   ├── WidthNumber.vue
│   │   │   │       │   │   └── useNormalForm.tsx
│   │   │   │       │   └── toolbar/
│   │   │   │       │       └── index.vue
│   │   │   │       ├── config/
│   │   │   │       │   ├── addData.ts
│   │   │   │       │   └── config.ts
│   │   │   │       ├── containers/
│   │   │   │       │   ├── Editor.vue
│   │   │   │       │   ├── EditorMenu.vue
│   │   │   │       │   ├── EditorProvider.vue
│   │   │   │       │   └── EditorSidebar.vue
│   │   │   │       ├── hooks/
│   │   │   │       │   ├── useConfig.ts
│   │   │   │       │   ├── useContext.ts
│   │   │   │       │   ├── useHtml.ts
│   │   │   │       │   ├── useSetData.ts
│   │   │   │       │   ├── useStyle.ts
│   │   │   │       │   └── useVersion.ts
│   │   │   │       ├── index.vue
│   │   │   │       ├── store/
│   │   │   │       │   └── index.ts
│   │   │   │       ├── types/
│   │   │   │       │   └── base.ts
│   │   │   │       └── utils/
│   │   │   │           └── index.ts
│   │   │   ├── hooks/
│   │   │   │   ├── modal/
│   │   │   │   │   ├── interface.ts
│   │   │   │   │   └── useModal.tsx
│   │   │   │   ├── useCopy.ts
│   │   │   │   ├── useDataTable.ts
│   │   │   │   ├── useFormModal.ts
│   │   │   │   └── useTableData.ts
│   │   │   ├── i18n/
│   │   │   │   ├── index.ts
│   │   │   │   └── lang/
│   │   │   │       ├── en.json
│   │   │   │       ├── ja.json
│   │   │   │       └── zh.json
│   │   │   ├── index.ts
│   │   │   ├── layout/
│   │   │   │   ├── components/
│   │   │   │   │   ├── AppHeader.vue
│   │   │   │   │   ├── AppMain.vue
│   │   │   │   │   ├── Sidebar.vue
│   │   │   │   │   └── index.ts
│   │   │   │   └── index.vue
│   │   │   ├── router/
│   │   │   │   ├── constant.ts
│   │   │   │   ├── index.ts
│   │   │   │   ├── modules/
│   │   │   │   │   ├── api.ts
│   │   │   │   │   ├── automation.ts
│   │   │   │   │   ├── contacts.ts
│   │   │   │   │   ├── domain.ts
│   │   │   │   │   ├── logs.ts
│   │   │   │   │   ├── mailbox.ts
│   │   │   │   │   ├── market.ts
│   │   │   │   │   ├── overview.ts
│   │   │   │   │   ├── settings.ts
│   │   │   │   │   ├── smtp.ts
│   │   │   │   │   └── template.ts
│   │   │   │   └── router.ts
│   │   │   ├── store/
│   │   │   │   ├── index.ts
│   │   │   │   └── modules/
│   │   │   │       ├── global.ts
│   │   │   │       ├── menu.ts
│   │   │   │       ├── theme.ts
│   │   │   │       └── user.ts
│   │   │   ├── styles/
│   │   │   │   ├── index.scss
│   │   │   │   ├── naive.scss
│   │   │   │   ├── reset.scss
│   │   │   │   └── variables.scss
│   │   │   ├── types/
│   │   │   │   └── chart.ts
│   │   │   ├── utils/
│   │   │   │   ├── base.ts
│   │   │   │   ├── data.ts
│   │   │   │   ├── index.ts
│   │   │   │   ├── is.ts
│   │   │   │   ├── storage.ts
│   │   │   │   └── time.ts
│   │   │   └── views/
│   │   │       ├── api/
│   │   │       │   ├── components/
│   │   │       │   │   ├── ApiForm.vue
│   │   │       │   │   ├── ApiKey.vue
│   │   │       │   │   ├── ApiTest.vue
│   │   │       │   │   └── Overview.vue
│   │   │       │   ├── index.vue
│   │   │       │   └── types/
│   │   │       │       └── base.ts
│   │   │       ├── automation/
│   │   │       │   └── index.vue
│   │   │       ├── contacts/
│   │   │       │   ├── group/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── GroupAdd.vue
│   │   │       │   │   │   └── GroupRename.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   ├── temp.vue
│   │   │       │   │   └── types/
│   │   │       │   │       └── base.ts
│   │   │       │   ├── index.vue
│   │   │       │   ├── settings/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── Code.vue
│   │   │       │   │   │   ├── Editor.vue
│   │   │       │   │   │   ├── SubscribeForm.vue
│   │   │       │   │   │   ├── SubscribeSettings.vue
│   │   │       │   │   │   └── UnsubscribeSettings.vue
│   │   │       │   │   ├── hooks/
│   │   │       │   │   │   └── useContext.ts
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── types/
│   │   │       │   │       └── base.ts
│   │   │       │   ├── subscribers/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── ActiveSelect.vue
│   │   │       │   │   │   ├── BatchSetTag.vue
│   │   │       │   │   │   ├── GroupMultipleSelect.vue
│   │   │       │   │   │   ├── GroupSelect.vue
│   │   │       │   │   │   ├── SubscriberEdit.vue
│   │   │       │   │   │   ├── SubscriberImport.vue
│   │   │       │   │   │   ├── SubscriberTrends.vue
│   │   │       │   │   │   └── TagSelect.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── interface.ts
│   │   │       │   ├── suspend/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── Scan.vue
│   │   │       │   │   │   └── ScanLogs.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── types/
│   │   │       │   │       └── base.ts
│   │   │       │   └── tags/
│   │   │       │       ├── components/
│   │   │       │       │   ├── GroupSelect.vue
│   │   │       │       │   ├── TagBulk.vue
│   │   │       │       │   ├── TagForm.vue
│   │   │       │       │   └── TagSelect.vue
│   │   │       │       ├── index.vue
│   │   │       │       ├── service/
│   │   │       │       │   └── index.ts
│   │   │       │       └── types/
│   │   │       │           └── index.ts
│   │   │       ├── domain/
│   │   │       │   ├── components/
│   │   │       │   │   ├── BlacklistDetection.vue
│   │   │       │   │   ├── CheckLogs.vue
│   │   │       │   │   ├── DomainDns.vue
│   │   │       │   │   ├── DomainForm.vue
│   │   │       │   │   ├── DomainIpSet.vue
│   │   │       │   │   ├── DomainSelect.vue
│   │   │       │   │   ├── DomainSsl/
│   │   │       │   │   │   ├── OtherCert.vue
│   │   │       │   │   │   └── index.vue
│   │   │       │   │   ├── IpStatus.vue
│   │   │       │   │   ├── NotSpam.vue
│   │   │       │   │   └── WaitAndCheckDomainStatus.vue
│   │   │       │   ├── index.vue
│   │   │       │   ├── interface.ts
│   │   │       │   └── pages/
│   │   │       │       └── editDomain/
│   │   │       │           ├── components/
│   │   │       │           │   ├── AISettings.vue
│   │   │       │           │   ├── CompanyProfile.vue
│   │   │       │           │   ├── DomainConfiguration.vue
│   │   │       │           │   ├── FooterSettings.vue
│   │   │       │           │   ├── ProjectDetails.vue
│   │   │       │           │   ├── Sitemap.vue
│   │   │       │           │   ├── Styling.vue
│   │   │       │           │   ├── Typography.vue
│   │   │       │           │   └── mixin.scss
│   │   │       │           ├── controller/
│   │   │       │           │   ├── aiSettings.controller.ts
│   │   │       │           │   ├── companyProfile.controller.ts
│   │   │       │           │   ├── domainConfiguration.controller.ts
│   │   │       │           │   ├── footerSettings.controller.ts
│   │   │       │           │   ├── projectDetail.controller.ts
│   │   │       │           │   ├── sitemap.controller.ts
│   │   │       │           │   ├── styling.controller.ts
│   │   │       │           │   └── typography.controller.ts
│   │   │       │           ├── dto/
│   │   │       │           │   └── index.ts
│   │   │       │           ├── index.vue
│   │   │       │           └── store/
│   │   │       │               └── index.ts
│   │   │       ├── login/
│   │   │       │   └── index.vue
│   │   │       ├── logs/
│   │   │       │   ├── error/
│   │   │       │   │   ├── controller/
│   │   │       │   │   │   └── index.ts
│   │   │       │   │   └── index.vue
│   │   │       │   ├── index.vue
│   │   │       │   └── operate/
│   │   │       │       ├── controller/
│   │   │       │       │   └── index.ts
│   │   │       │       ├── index.vue
│   │   │       │       └── types/
│   │   │       │           └── index.ts
│   │   │       ├── mailbox/
│   │   │       │   ├── components/
│   │   │       │   │   ├── DomainSelect.vue
│   │   │       │   │   ├── MailboxBatchAdd.vue
│   │   │       │   │   ├── MailboxExport.vue
│   │   │       │   │   ├── MailboxForm.vue
│   │   │       │   │   └── MailboxImport.vue
│   │   │       │   ├── index.vue
│   │   │       │   └── interface.ts
│   │   │       ├── market/
│   │   │       │   ├── index.vue
│   │   │       │   ├── task/
│   │   │       │   │   ├── analytics.vue
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── CreateGroup.vue
│   │   │       │   │   │   ├── FromSelect.vue
│   │   │       │   │   │   ├── GroupSelect.vue
│   │   │       │   │   │   ├── TagSelect.vue
│   │   │       │   │   │   ├── TaskDetail.vue
│   │   │       │   │   │   ├── TaskStatus.vue
│   │   │       │   │   │   ├── TaskStatusDetails.vue
│   │   │       │   │   │   └── TemplateSelect.vue
│   │   │       │   │   ├── edit.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── interface.ts
│   │   │       │   └── template/
│   │   │       │       ├── components/
│   │   │       │       │   ├── TemplateAdd.vue
│   │   │       │       │   ├── TemplateForm.vue
│   │   │       │       │   └── TemplatePreview.vue
│   │   │       │       ├── edit.vue
│   │   │       │       ├── index.vue
│   │   │       │       └── interface.ts
│   │   │       ├── overview/
│   │   │       │   ├── components/
│   │   │       │   │   ├── BarChart.vue
│   │   │       │   │   ├── FilterBar.vue
│   │   │       │   │   ├── LineChart.vue
│   │   │       │   │   ├── MetricCard.vue
│   │   │       │   │   ├── ProviderTable.vue
│   │   │       │   │   ├── RateChartPanel.vue
│   │   │       │   │   ├── SendFailDetails.vue
│   │   │       │   │   └── SendTodayStats.vue
│   │   │       │   ├── index.vue
│   │   │       │   └── types/
│   │   │       │       └── index.ts
│   │   │       ├── settings/
│   │   │       │   ├── ai-model/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── AddModel.vue
│   │   │       │   │   │   ├── AddProvider.vue
│   │   │       │   │   │   └── ModelManager.vue
│   │   │       │   │   ├── controller/
│   │   │       │   │   │   └── index.ts
│   │   │       │   │   ├── dto/
│   │   │       │   │   │   └── index.ts
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── store/
│   │   │       │   │       └── index,.ts
│   │   │       │   ├── bcc/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   └── BccForm.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── type/
│   │   │       │   │       └── base.ts
│   │   │       │   ├── common/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── ApiSettings.vue
│   │   │       │   │   │   ├── Command.vue
│   │   │       │   │   │   ├── DomainSettings.vue
│   │   │       │   │   │   ├── IpWhitelistSettings.vue
│   │   │       │   │   │   ├── NetworkSettings.vue
│   │   │       │   │   │   ├── Notify/
│   │   │       │   │   │   │   ├── AlarmSettings.vue
│   │   │       │   │   │   │   ├── AutoCheckSettings.vue
│   │   │       │   │   │   │   ├── BlacklistSetting.vue
│   │   │       │   │   │   │   └── NotifySettings.vue
│   │   │       │   │   │   ├── PasswordSettings.vue
│   │   │       │   │   │   ├── PasswordStrengthIndicator.vue
│   │   │       │   │   │   ├── PortSettings.vue
│   │   │       │   │   │   ├── ProxySettings.vue
│   │   │       │   │   │   ├── SSLSettings.vue
│   │   │       │   │   │   ├── SecurityPathSettings.vue
│   │   │       │   │   │   ├── SecuritySettings.vue
│   │   │       │   │   │   ├── System/
│   │   │       │   │   │   │   └── RetentionTime.vue
│   │   │       │   │   │   ├── SystemSettings.vue
│   │   │       │   │   │   ├── TimezoneSettings.vue
│   │   │       │   │   │   └── UsernameSettings.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   ├── store/
│   │   │       │   │   │   └── index.ts
│   │   │       │   │   └── types/
│   │   │       │   │       └── base.ts
│   │   │       │   ├── forward/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   └── ForwardForm.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── types/
│   │   │       │   │       └── base.ts
│   │   │       │   ├── index.vue
│   │   │       │   ├── rspamd/
│   │   │       │   │   └── index.vue
│   │   │       │   ├── send-queue/
│   │   │       │   │   ├── components/
│   │   │       │   │   │   ├── param-config.vue
│   │   │       │   │   │   └── queue-logs.vue
│   │   │       │   │   ├── index.vue
│   │   │       │   │   └── types/
│   │   │       │   │       └── index.ts
│   │   │       │   └── service/
│   │   │       │       ├── components/
│   │   │       │       │   ├── ServiceConfig.vue
│   │   │       │       │   └── SettingsService.vue
│   │   │       │       ├── index.vue
│   │   │       │       └── types/
│   │   │       │           └── common.ts
│   │   │       ├── smtp/
│   │   │       │   ├── components/
│   │   │       │   │   ├── SmtpCard.vue
│   │   │       │   │   ├── SmtpDns.vue
│   │   │       │   │   ├── SmtpForm.vue
│   │   │       │   │   ├── SmtpLoading.vue
│   │   │       │   │   └── SmtpStatus.vue
│   │   │       │   ├── index.vue
│   │   │       │   └── types/
│   │   │       │       └── base.ts
│   │   │       ├── template/
│   │   │       │   ├── components/
│   │   │       │   │   ├── CreateTplModal.vue
│   │   │       │   │   ├── TemplateAdd.vue
│   │   │       │   │   ├── TemplateForm.vue
│   │   │       │   │   └── TemplatePreview.vue
│   │   │       │   ├── controller/
│   │   │       │   │   └── index.ts
│   │   │       │   ├── dto/
│   │   │       │   │   └── index.ts
│   │   │       │   ├── edit.vue
│   │   │       │   ├── index.vue
│   │   │       │   ├── index.vue.bak
│   │   │       │   ├── interface.ts
│   │   │       │   ├── mixin.scss
│   │   │       │   ├── pages/
│   │   │       │   │   └── AITemplate/
│   │   │       │   │       ├── components/
│   │   │       │   │       │   └── MarkdownRender.vue
│   │   │       │   │       ├── controller/
│   │   │       │   │       │   └── index.ts
│   │   │       │   │       ├── dto/
│   │   │       │   │       │   └── index.ts
│   │   │       │   │       ├── highlight.theme.css
│   │   │       │   │       ├── index.vue
│   │   │       │   │       └── store/
│   │   │       │   │           └── index.ts
│   │   │       │   └── store/
│   │   │       │       └── index.ts
│   │   │       └── test/
│   │   │           └── index.vue
│   │   ├── tsconfig.json
│   │   ├── types/
│   │   │   ├── auto-import.d.ts
│   │   │   ├── components.d.ts
│   │   │   └── env.d.ts
│   │   └── uno.config.ts
│   ├── go-build.sh
│   ├── go.mod
│   ├── go.sum
│   ├── hack/
│   │   ├── config.yaml
│   │   ├── hack-cli.mk
│   │   └── hack.mk
│   ├── internal/
│   │   ├── cmd/
│   │   │   └── cmd.go
│   │   ├── consts/
│   │   │   ├── consts.go
│   │   │   ├── log_type.go
│   │   │   └── mail_providers.go
│   │   ├── controller/
│   │   │   ├── abnormal_recipient/
│   │   │   │   ├── abnormal_recipient.go
│   │   │   │   ├── abnormal_recipient_new.go
│   │   │   │   ├── abnormal_recipient_v1_abnormal_switch.go
│   │   │   │   ├── abnormal_recipient_v1_add_abnormal_recipient.go
│   │   │   │   ├── abnormal_recipient_v1_check_group.go
│   │   │   │   ├── abnormal_recipient_v1_clearabnormal_recipient.go
│   │   │   │   ├── abnormal_recipient_v1_delete_abnormal_recipient.go
│   │   │   │   ├── abnormal_recipient_v1_get_scan_log.go
│   │   │   │   ├── abnormal_recipient_v1_list_abnormal_recipient.go
│   │   │   │   └── abnormal_recipient_v1_set_abnormal_switch.go
│   │   │   ├── askai/
│   │   │   │   ├── askai.go
│   │   │   │   ├── askai_new.go
│   │   │   │   ├── askai_v1_chat.go
│   │   │   │   ├── askai_v1_project.go
│   │   │   │   └── askai_v1_supplier.go
│   │   │   ├── batch_mail/
│   │   │   │   ├── batch_mail.go
│   │   │   │   ├── batch_mail_new.go
│   │   │   │   ├── batch_mail_v1_api_mail_batch_send.go
│   │   │   │   ├── batch_mail_v1_api_mail_send.go
│   │   │   │   ├── batch_mail_v1_api_overview_stats.go
│   │   │   │   ├── batch_mail_v1_api_templates_create.go
│   │   │   │   ├── batch_mail_v1_api_templates_delete.go
│   │   │   │   ├── batch_mail_v1_api_templates_list.go
│   │   │   │   ├── batch_mail_v1_api_templates_update.go
│   │   │   │   ├── batch_mail_v1_create_task.go
│   │   │   │   ├── batch_mail_v1_delete_task.go
│   │   │   │   ├── batch_mail_v1_get_task_mail_logs.go
│   │   │   │   ├── batch_mail_v1_get_task_send_count.go
│   │   │   │   ├── batch_mail_v1_get_user_groups.go
│   │   │   │   ├── batch_mail_v1_list_tasks.go
│   │   │   │   ├── batch_mail_v1_pause_task.go
│   │   │   │   ├── batch_mail_v1_resume_task.go
│   │   │   │   ├── batch_mail_v1_send_test_email.go
│   │   │   │   ├── batch_mail_v1_task_info.go
│   │   │   │   ├── batch_mail_v1_task_mail_provider_stat.go
│   │   │   │   ├── batch_mail_v1_task_overview.go
│   │   │   │   ├── batch_mail_v1_task_stat_chart.go
│   │   │   │   ├── batch_mail_v1_unsubscribe.go
│   │   │   │   ├── batch_mail_v1_unsubscribe_new.go
│   │   │   │   ├── batch_mail_v1_update_task_info.go
│   │   │   │   └── batch_mail_v1_update_task_speed.go
│   │   │   ├── campaign/
│   │   │   │   ├── campaign.go
│   │   │   │   ├── campaign_new.go
│   │   │   │   └── campaign_v1_form.go
│   │   │   ├── contact/
│   │   │   │   ├── contact.go
│   │   │   │   ├── contact_new.go
│   │   │   │   ├── contact_v1_batch_tag_contacts.go
│   │   │   │   ├── contact_v1_create_group.go
│   │   │   │   ├── contact_v1_delete_contacts.go
│   │   │   │   ├── contact_v1_delete_contacts_ndp.go
│   │   │   │   ├── contact_v1_delete_group.go
│   │   │   │   ├── contact_v1_edit_contacts.go
│   │   │   │   ├── contact_v1_edit_contacts_ndp.go
│   │   │   │   ├── contact_v1_export_contacts.go
│   │   │   │   ├── contact_v1_get_contacts_trend.go
│   │   │   │   ├── contact_v1_get_group_contact_count.go
│   │   │   │   ├── contact_v1_get_group_info.go
│   │   │   │   ├── contact_v1_get_single_group_tag_contact_count.go
│   │   │   │   ├── contact_v1_import_contacts.go
│   │   │   │   ├── contact_v1_list_contacts.go
│   │   │   │   ├── contact_v1_list_contacts_groups.go
│   │   │   │   ├── contact_v1_list_contacts_ndp.go
│   │   │   │   ├── contact_v1_list_groups.go
│   │   │   │   ├── contact_v1_merge_contacts_groups.go
│   │   │   │   ├── contact_v1_update_contacts_group.go
│   │   │   │   ├── contact_v1_update_group.go
│   │   │   │   └── contact_v1_update_group_unsubscribe.go
│   │   │   ├── dockerapi/
│   │   │   │   ├── dockerapi.go
│   │   │   │   ├── dockerapi_new.go
│   │   │   │   ├── dockerapi_v1_container_state.go
│   │   │   │   ├── dockerapi_v1_list_container.go
│   │   │   │   └── dockerapi_v1_restart_container.go
│   │   │   ├── domains/
│   │   │   │   ├── domains.go
│   │   │   │   ├── domains_new.go
│   │   │   │   ├── domains_v1_add_domain.go
│   │   │   │   ├── domains_v1_apply_cert.go
│   │   │   │   ├── domains_v1_apply_multi_ip_domain_config.go
│   │   │   │   ├── domains_v1_check_blacklist.go
│   │   │   │   ├── domains_v1_console_apply_cert.go
│   │   │   │   ├── domains_v1_delete_domain.go
│   │   │   │   ├── domains_v1_fresh_dns_records.go
│   │   │   │   ├── domains_v1_get_blocklist_check_logs.go
│   │   │   │   ├── domains_v1_get_cert_list.go
│   │   │   │   ├── domains_v1_get_domain.go
│   │   │   │   ├── domains_v1_get_domain_all.go
│   │   │   │   ├── domains_v1_get_ssl.go
│   │   │   │   ├── domains_v1_set_default_domain.go
│   │   │   │   ├── domains_v1_set_ssl.go
│   │   │   │   ├── domains_v1_test_multi_ip_domain_config.go
│   │   │   │   ├── domains_v1_update_domain.go
│   │   │   │   └── domains_v1_update_domain_brandinfo.go
│   │   │   ├── email_template/
│   │   │   │   ├── email_template.go
│   │   │   │   ├── email_template_new.go
│   │   │   │   ├── email_template_v1_check_email_content.go
│   │   │   │   ├── email_template_v1_copy_template.go
│   │   │   │   ├── email_template_v1_create_template.go
│   │   │   │   ├── email_template_v1_delete_template.go
│   │   │   │   ├── email_template_v1_get_all_templates.go
│   │   │   │   ├── email_template_v1_get_template.go
│   │   │   │   ├── email_template_v1_list_templates.go
│   │   │   │   └── email_template_v1_update_template.go
│   │   │   ├── files/
│   │   │   │   ├── files.go
│   │   │   │   ├── files_new.go
│   │   │   │   ├── files_v1_download_file.go
│   │   │   │   └── files_v1_read_file.go
│   │   │   ├── languages/
│   │   │   │   ├── languages.go
│   │   │   │   ├── languages_new.go
│   │   │   │   ├── languages_v1_get_language.go
│   │   │   │   └── languages_v1_set_language.go
│   │   │   ├── mail_boxes/
│   │   │   │   ├── mail_boxes.go
│   │   │   │   ├── mail_boxes_new.go
│   │   │   │   ├── mail_boxes_v1_add_mailbox.go
│   │   │   │   ├── mail_boxes_v1_batch_add_mailbox.go
│   │   │   │   ├── mail_boxes_v1_delete_mailbox.go
│   │   │   │   ├── mail_boxes_v1_export_mailbox.go
│   │   │   │   ├── mail_boxes_v1_get_all_email.go
│   │   │   │   ├── mail_boxes_v1_get_all_mailbox.go
│   │   │   │   ├── mail_boxes_v1_get_mailbox.go
│   │   │   │   ├── mail_boxes_v1_import_mailbox.go
│   │   │   │   └── mail_boxes_v1_update_mailbox.go
│   │   │   ├── mail_services/
│   │   │   │   ├── mail_services.go
│   │   │   │   ├── mail_services_new.go
│   │   │   │   ├── mail_services_v1_add_bcc.go
│   │   │   │   ├── mail_services_v1_add_mail_forward.go
│   │   │   │   ├── mail_services_v1_delete_all_deferred_queue.go
│   │   │   │   ├── mail_services_v1_delete_bcc.go
│   │   │   │   ├── mail_services_v1_delete_mail_forward.go
│   │   │   │   ├── mail_services_v1_delete_postfix_queue_by_id.go
│   │   │   │   ├── mail_services_v1_edit_bcc.go
│   │   │   │   ├── mail_services_v1_edit_mail_forward.go
│   │   │   │   ├── mail_services_v1_flush_postfix_queue.go
│   │   │   │   ├── mail_services_v1_flush_postfix_queue_by_id.go
│   │   │   │   ├── mail_services_v1_get_bcc_list.go
│   │   │   │   ├── mail_services_v1_get_config_file.go
│   │   │   │   ├── mail_services_v1_get_mail_forward_list.go
│   │   │   │   ├── mail_services_v1_get_postfix_config.go
│   │   │   │   ├── mail_services_v1_get_postfix_queue_info.go
│   │   │   │   ├── mail_services_v1_get_postfix_queue_list.go
│   │   │   │   ├── mail_services_v1_save_config_file.go
│   │   │   │   ├── mail_services_v1_set_all_postfix_config.go
│   │   │   │   └── mail_services_v1_set_postfix_config.go
│   │   │   ├── middleware/
│   │   │   │   └── ip_whitelist.go
│   │   │   ├── operation_log/
│   │   │   │   ├── operation_log.go
│   │   │   │   ├── operation_log_new.go
│   │   │   │   ├── operation_log_v1_get_latest_output_log.go
│   │   │   │   ├── operation_log_v1_get_operation_log.go
│   │   │   │   ├── operation_log_v1_get_operation_type.go
│   │   │   │   └── operation_log_v1_get_output_log.go
│   │   │   ├── overview/
│   │   │   │   ├── overview.go
│   │   │   │   ├── overview_new.go
│   │   │   │   ├── overview_v1_failed_list.go
│   │   │   │   └── overview_v1_overview.go
│   │   │   ├── rbac/
│   │   │   │   ├── rbac.go
│   │   │   │   ├── rbac_new.go
│   │   │   │   ├── rbac_v1_auth.go
│   │   │   │   └── rbac_v1_get_validate_code.go
│   │   │   ├── relay/
│   │   │   │   ├── relay.go
│   │   │   │   ├── relay_new.go
│   │   │   │   ├── relay_v1_create_relay_config.go
│   │   │   │   ├── relay_v1_delete_relay_config.go
│   │   │   │   ├── relay_v1_get_unbound_domains.go
│   │   │   │   ├── relay_v1_list_relay_configs.go
│   │   │   │   ├── relay_v1_test_smtp_connection.go
│   │   │   │   └── relay_v1_update_relay_config.go
│   │   │   ├── settings/
│   │   │   │   ├── settings.go
│   │   │   │   ├── settings_new.go
│   │   │   │   ├── settings_v1_add_ip_whitelist.go
│   │   │   │   ├── settings_v1_delete_ip_whitelist.go
│   │   │   │   ├── settings_v1_delete_reverse_proxy_domain.go
│   │   │   │   ├── settings_v1_get_system_config.go
│   │   │   │   ├── settings_v1_get_time_zone_list.go
│   │   │   │   ├── settings_v1_get_version.go
│   │   │   │   ├── settings_v1_regenerate_api_token.go
│   │   │   │   ├── settings_v1_set_api_doc_swagger.go
│   │   │   │   ├── settings_v1_set_blacklist_alert.go
│   │   │   │   ├── settings_v1_set_blacklist_alert_settings.go
│   │   │   │   ├── settings_v1_set_blacklist_auto_scan.go
│   │   │   │   ├── settings_v1_set_ip_whitelist.go
│   │   │   │   ├── settings_v1_set_reverse_proxy_domain.go
│   │   │   │   ├── settings_v1_set_ssl_config.go
│   │   │   │   ├── settings_v1_set_system_config.go
│   │   │   │   └── settings_v1_set_system_config_key.go
│   │   │   ├── subscribe_list/
│   │   │   │   ├── subscribe_list.go
│   │   │   │   ├── subscribe_list_new.go
│   │   │   │   ├── subscribe_list_v1_subscribe_confirm.go
│   │   │   │   └── subscribe_list_v1_subscribe_submit.go
│   │   │   └── tags/
│   │   │       ├── tags.go
│   │   │       ├── tags_new.go
│   │   │       ├── tags_v1_batch_tag_contacts.go
│   │   │       ├── tags_v1_tag_all.go
│   │   │       ├── tags_v1_tag_create.go
│   │   │       ├── tags_v1_tag_delete.go
│   │   │       ├── tags_v1_tag_list.go
│   │   │       └── tags_v1_tag_update.go
│   │   ├── dao/
│   │   │   └── .gitkeep
│   │   ├── logic/
│   │   │   └── .gitkeep
│   │   ├── model/
│   │   │   ├── .gitkeep
│   │   │   ├── blacklist.go
│   │   │   ├── do/
│   │   │   │   ├── .gitkeep
│   │   │   │   ├── account.go
│   │   │   │   ├── permission.go
│   │   │   │   └── role.go
│   │   │   ├── entity/
│   │   │   │   ├── .gitkeep
│   │   │   │   ├── account.go
│   │   │   │   ├── account_role.go
│   │   │   │   ├── alias.go
│   │   │   │   ├── alias_domain.go
│   │   │   │   ├── batch_mail.go
│   │   │   │   ├── bm_bcc.go
│   │   │   │   ├── bm_relay.go
│   │   │   │   ├── bm_relay_config.go
│   │   │   │   ├── bm_relay_domain_mapping.go
│   │   │   │   ├── domain.go
│   │   │   │   ├── letsencrypt.go
│   │   │   │   ├── mailbox.go
│   │   │   │   ├── operation_log.go
│   │   │   │   ├── permission.go
│   │   │   │   ├── role.go
│   │   │   │   ├── role_permission.go
│   │   │   │   └── sender_ip_warmup_models.go
│   │   │   └── rbac.go
│   │   ├── packed/
│   │   │   └── packed.go
│   │   └── service/
│   │       ├── .gitkeep
│   │       ├── abnormal_recipient/
│   │       │   └── abnormal_recipient.go
│   │       ├── acme/
│   │       │   ├── acme.go
│   │       │   ├── cli.go
│   │       │   ├── cmd.go
│   │       │   └── renew.go
│   │       ├── askai/
│   │       │   ├── chat.go
│   │       │   ├── openai.go
│   │       │   ├── project.go
│   │       │   ├── prompts.go
│   │       │   └── supplier.go
│   │       ├── batch_mail/
│   │       │   ├── api_mail_send.go
│   │       │   ├── batch_mail.go
│   │       │   ├── jwt.go
│   │       │   ├── simple_rate_controller.go
│   │       │   ├── spintax.go
│   │       │   ├── stat_service.go
│   │       │   ├── task_executor.go
│   │       │   └── template_render.go
│   │       ├── collect/
│   │       │   └── collect.go
│   │       ├── compress/
│   │       │   ├── gzip.go
│   │       │   ├── rar.go
│   │       │   └── zip.go
│   │       ├── contact/
│   │       │   └── contact.go
│   │       ├── contact_activity/
│   │       │   └── contact_activity.go
│   │       ├── database_initialization/
│   │       │   ├── batch_mail.go
│   │       │   ├── database_initialization.go
│   │       │   ├── letsencrypty.go
│   │       │   ├── mail_serv.go
│   │       │   ├── maillog_stat.go
│   │       │   ├── multi_ip_domain.go
│   │       │   ├── operation_log.go
│   │       │   ├── options.go
│   │       │   ├── rbac.go
│   │       │   ├── sender_ip_warmup.go
│   │       │   ├── smtp_relay.go
│   │       │   └── utils.go
│   │       ├── dockerapi/
│   │       │   └── dockerapi.go
│   │       ├── domains/
│   │       │   ├── baseurl.go
│   │       │   ├── blacklist.go
│   │       │   ├── dns.go
│   │       │   ├── domains.go
│   │       │   └── ssl.go
│   │       ├── email_template/
│   │       │   └── email_template.go
│   │       ├── fail2ban/
│   │       │   └── access_log_detection.go
│   │       ├── log_maintenance/
│   │       │   └── core_log.go
│   │       ├── mail_boxes/
│   │       │   ├── check_quota_alerts.go
│   │       │   ├── init_quota_plugin.go
│   │       │   ├── mail_boxes.go
│   │       │   └── update_used_space.go
│   │       ├── mail_service/
│   │       │   ├── bcc.go
│   │       │   ├── certificate.go
│   │       │   ├── fix.go
│   │       │   └── sending.go
│   │       ├── maillog_stat/
│   │       │   ├── aggregate.go
│   │       │   ├── encryption.go
│   │       │   ├── encryption_test.go
│   │       │   ├── maillog_stat.go
│   │       │   ├── overview.go
│   │       │   ├── tracker.go
│   │       │   └── tracker_test.go
│   │       ├── middlewares/
│   │       │   ├── HandleApiResponse.go
│   │       │   └── rbac.go
│   │       ├── multi_ip_domain/
│   │       │   ├── config_manager.go
│   │       │   └── multi_ip_domain.go
│   │       ├── phpfpm/
│   │       │   └── phpfpm.go
│   │       ├── public/
│   │       │   ├── common.go
│   │       │   ├── mail_stat_helpers.go
│   │       │   ├── operation_log.go
│   │       │   ├── options_mgr.go
│   │       │   ├── self_signed_cert.go
│   │       │   └── validator.go
│   │       ├── rbac/
│   │       │   ├── account.go
│   │       │   ├── jwt.go
│   │       │   ├── permission.go
│   │       │   ├── rbac.go
│   │       │   ├── role.go
│   │       │   ├── service.go
│   │       │   ├── validate_code.go
│   │       │   └── validate_code_test.go
│   │       ├── redis_initialization/
│   │       │   └── redis_initialization.go
│   │       ├── relay/
│   │       │   ├── config_sync.go
│   │       │   └── smtp_connection_helper.go
│   │       ├── rspamd/
│   │       │   └── worker_controller.go
│   │       ├── settings/
│   │       │   └── billionmail_hostname.go
│   │       ├── timers/
│   │       │   └── timers.go
│   │       └── warmup/
│   │           ├── rate_limiter.go
│   │           ├── sender_ip_mail_provider.go
│   │           ├── sender_ip_warmup.go
│   │           ├── warmup_daily_upstairs.go
│   │           └── warmup_with_campaigns.go
│   ├── languages/
│   │   ├── all/
│   │   │   ├── de.json
│   │   │   ├── en.json
│   │   │   ├── ja.json
│   │   │   ├── tr.json
│   │   │   └── zh.json
│   │   ├── de/
│   │   │   └── server.json
│   │   ├── en/
│   │   │   └── server.json
│   │   ├── ja/
│   │   │   └── server.json
│   │   ├── settings.json
│   │   ├── tr/
│   │   │   └── server.json
│   │   └── zh/
│   │       └── server.json
│   ├── main.go
│   ├── manifest/
│   │   ├── deploy/
│   │   │   └── kustomize/
│   │   │       ├── base/
│   │   │       │   ├── deployment.yaml
│   │   │       │   ├── kustomization.yaml
│   │   │       │   └── service.yaml
│   │   │       └── overlays/
│   │   │           └── develop/
│   │   │               ├── configmap.yaml
│   │   │               ├── deployment.yaml
│   │   │               └── kustomization.yaml
│   │   ├── docker/
│   │   │   ├── Dockerfile
│   │   │   └── docker.sh
│   │   ├── i18n/
│   │   │   └── .gitkeep
│   │   └── protobuf/
│   │       └── .keep-if-necessary
│   ├── public/
│   │   ├── dist/
│   │   │   ├── index.html
│   │   │   └── static/
│   │   │       ├── css/
│   │   │       │   ├── async/
│   │   │       │   │   ├── 1095.b0c2adf5.css
│   │   │       │   │   ├── 1565.8f8d53c0.css
│   │   │       │   │   ├── 2103.5843b2d6.css
│   │   │       │   │   ├── 2364.b852af68.css
│   │   │       │   │   ├── 2559.0376b199.css
│   │   │       │   │   ├── 3324.7fea3ced.css
│   │   │       │   │   ├── 3535.3a6dc340.css
│   │   │       │   │   ├── 3635.fafa0516.css
│   │   │       │   │   ├── 3643.895949a5.css
│   │   │       │   │   ├── 3800.8611c02d.css
│   │   │       │   │   ├── 4602.3a6dc340.css
│   │   │       │   │   ├── 4904.e7c58895.css
│   │   │       │   │   ├── 5410.bfbdc7d0.css
│   │   │       │   │   ├── 5779.4e44ff7b.css
│   │   │       │   │   ├── 5854.8fdd9416.css
│   │   │       │   │   ├── 6463.e30f898f.css
│   │   │       │   │   ├── 6969.3a6dc340.css
│   │   │       │   │   ├── 7704.98be8394.css
│   │   │       │   │   ├── 7907.62c62088.css
│   │   │       │   │   ├── 7981.58f07aaf.css
│   │   │       │   │   ├── 8013.f0e0f9ae.css
│   │   │       │   │   ├── 8441.114b87b8.css
│   │   │       │   │   ├── 85.2d8f30c3.css
│   │   │       │   │   ├── 8749.468a6685.css
│   │   │       │   │   ├── 8813.174c369e.css
│   │   │       │   │   ├── 8838.1a1519ba.css
│   │   │       │   │   ├── 9207.db2f1c3e.css
│   │   │       │   │   ├── 9234.ccfe1ed4.css
│   │   │       │   │   ├── 9252.4733345f.css
│   │   │       │   │   ├── 9380.c59177f7.css
│   │   │       │   │   ├── 9468.3a6dc340.css
│   │   │       │   │   ├── 9673.0376b199.css
│   │   │       │   │   ├── 9767.02f21d25.css
│   │   │       │   │   └── 9926.fd2f892d.css
│   │   │       │   └── index.bf8a188f.css
│   │   │       ├── js/
│   │   │       │   ├── 7445.eedfb53a.js
│   │   │       │   ├── 7445.eedfb53a.js.LICENSE.txt
│   │   │       │   ├── async/
│   │   │       │   │   ├── 1069.4c61d773.js
│   │   │       │   │   ├── 1095.4072569d.js
│   │   │       │   │   ├── 1565.1299bf75.js
│   │   │       │   │   ├── 1799.82bcc179.js
│   │   │       │   │   ├── 2017.ed71b520.js
│   │   │       │   │   ├── 2103.f9529831.js
│   │   │       │   │   ├── 2137.31d4654f.js
│   │   │       │   │   ├── 2364.90458e25.js
│   │   │       │   │   ├── 243.cc15c5a2.js
│   │   │       │   │   ├── 2559.56abb865.js
│   │   │       │   │   ├── 2564.1229e8c7.js
│   │   │       │   │   ├── 2823.47af3d18.js
│   │   │       │   │   ├── 2880.9a653202.js
│   │   │       │   │   ├── 2890.69346f76.js
│   │   │       │   │   ├── 3126.4f62a4e3.js
│   │   │       │   │   ├── 3221.496ab585.js
│   │   │       │   │   ├── 3324.fd04b5cf.js
│   │   │       │   │   ├── 3354.af31be73.js
│   │   │       │   │   ├── 3444.11a922bb.js
│   │   │       │   │   ├── 3535.b0ca7292.js
│   │   │       │   │   ├── 3606.c5bd7813.js
│   │   │       │   │   ├── 3635.93c2a49b.js
│   │   │       │   │   ├── 3643.85a80c4b.js
│   │   │       │   │   ├── 3697.9e630381.js
│   │   │       │   │   ├── 3697.9e630381.js.LICENSE.txt
│   │   │       │   │   ├── 37.d902cb7a.js
│   │   │       │   │   ├── 3800.4a4d937c.js
│   │   │       │   │   ├── 424.a8b4d687.js
│   │   │       │   │   ├── 424.a8b4d687.js.LICENSE.txt
│   │   │       │   │   ├── 4317.78a8cfe0.js
│   │   │       │   │   ├── 4485.54eed143.js
│   │   │       │   │   ├── 4528.13437601.js
│   │   │       │   │   ├── 4602.42684ca4.js
│   │   │       │   │   ├── 4636.a6e49596.js
│   │   │       │   │   ├── 4904.46e3c77d.js
│   │   │       │   │   ├── 5293.1b74ca02.js
│   │   │       │   │   ├── 5410.7031af32.js
│   │   │       │   │   ├── 5461.31057e0f.js
│   │   │       │   │   ├── 5498.56da57d8.js
│   │   │       │   │   ├── 5529.b849ba4d.js
│   │   │       │   │   ├── 5530.ddd3c262.js
│   │   │       │   │   ├── 5701.0a022844.js
│   │   │       │   │   ├── 5757.1953a93d.js
│   │   │       │   │   ├── 5779.23b65101.js
│   │   │       │   │   ├── 579.f4df1ad3.js
│   │   │       │   │   ├── 5854.90a82cfb.js
│   │   │       │   │   ├── 5867.127e2faf.js
│   │   │       │   │   ├── 6061.0e2ac705.js
│   │   │       │   │   ├── 6194.9d546878.js
│   │   │       │   │   ├── 6366.11e68ac4.js
│   │   │       │   │   ├── 6463.9ef25a0c.js
│   │   │       │   │   ├── 6646.81304560.js
│   │   │       │   │   ├── 6803.12301c63.js
│   │   │       │   │   ├── 69.07f369ca.js
│   │   │       │   │   ├── 6969.10c6c9cf.js
│   │   │       │   │   ├── 7222.4834acb2.js
│   │   │       │   │   ├── 7235.c4aee453.js
│   │   │       │   │   ├── 7303.1f99ded4.js
│   │   │       │   │   ├── 7331.d476ee5b.js
│   │   │       │   │   ├── 7704.651d709f.js
│   │   │       │   │   ├── 7718.1e6ed6c1.js
│   │   │       │   │   ├── 7907.f2482293.js
│   │   │       │   │   ├── 7981.51ac0ce2.js
│   │   │       │   │   ├── 8013.4cc8e47f.js
│   │   │       │   │   ├── 8072.b1d94d7d.js
│   │   │       │   │   ├── 8072.b1d94d7d.js.LICENSE.txt
│   │   │       │   │   ├── 8128.36b52987.js
│   │   │       │   │   ├── 8324.54f4183a.js
│   │   │       │   │   ├── 8396.b4461a1b.js
│   │   │       │   │   ├── 8441.d03d41cd.js
│   │   │       │   │   ├── 85.b5140808.js
│   │   │       │   │   ├── 8559.9eb2b019.js
│   │   │       │   │   ├── 8634.1021226f.js
│   │   │       │   │   ├── 8749.38674ba6.js
│   │   │       │   │   ├── 8813.ba11c92d.js
│   │   │       │   │   ├── 8838.f2be7192.js
│   │   │       │   │   ├── 8943.81a21695.js
│   │   │       │   │   ├── 8953.7c602bac.js
│   │   │       │   │   ├── 9207.2c09dce2.js
│   │   │       │   │   ├── 9234.3eaec856.js
│   │   │       │   │   ├── 9252.33108600.js
│   │   │       │   │   ├── 9372.19031b29.js
│   │   │       │   │   ├── 9380.2af01083.js
│   │   │       │   │   ├── 9468.bae2140e.js
│   │   │       │   │   ├── 9602.03559ada.js
│   │   │       │   │   ├── 9673.f8b256f7.js
│   │   │       │   │   ├── 9767.613d0426.js
│   │   │       │   │   ├── 9780.7a1639df.js
│   │   │       │   │   ├── 9812.a87bb1d1.js
│   │   │       │   │   └── 9926.7c24cd6e.js
│   │   │       │   ├── index.bc6e5fe9.js
│   │   │       │   ├── lib-axios.a492ca1d.js
│   │   │       │   ├── lib-router.1d9495fc.js
│   │   │       │   ├── lib-router.1d9495fc.js.LICENSE.txt
│   │   │       │   ├── lib-vue.1514baec.js
│   │   │       │   └── lib-vue.1514baec.js.LICENSE.txt
│   │   │       └── plugin/
│   │   │           └── monaco/
│   │   │               ├── base/
│   │   │               │   └── worker/
│   │   │               │       └── workerMain.js
│   │   │               ├── basic-languages/
│   │   │               │   ├── abap/
│   │   │               │   │   └── abap.js
│   │   │               │   ├── apex/
│   │   │               │   │   └── apex.js
│   │   │               │   ├── azcli/
│   │   │               │   │   └── azcli.js
│   │   │               │   ├── bat/
│   │   │               │   │   └── bat.js
│   │   │               │   ├── bicep/
│   │   │               │   │   └── bicep.js
│   │   │               │   ├── cameligo/
│   │   │               │   │   └── cameligo.js
│   │   │               │   ├── clojure/
│   │   │               │   │   └── clojure.js
│   │   │               │   ├── coffee/
│   │   │               │   │   └── coffee.js
│   │   │               │   ├── cpp/
│   │   │               │   │   └── cpp.js
│   │   │               │   ├── csharp/
│   │   │               │   │   └── csharp.js
│   │   │               │   ├── csp/
│   │   │               │   │   └── csp.js
│   │   │               │   ├── css/
│   │   │               │   │   └── css.js
│   │   │               │   ├── cypher/
│   │   │               │   │   └── cypher.js
│   │   │               │   ├── dart/
│   │   │               │   │   └── dart.js
│   │   │               │   ├── dockerfile/
│   │   │               │   │   └── dockerfile.js
│   │   │               │   ├── ecl/
│   │   │               │   │   └── ecl.js
│   │   │               │   ├── elixir/
│   │   │               │   │   └── elixir.js
│   │   │               │   ├── flow9/
│   │   │               │   │   └── flow9.js
│   │   │               │   ├── freemarker2/
│   │   │               │   │   └── freemarker2.js
│   │   │               │   ├── fsharp/
│   │   │               │   │   └── fsharp.js
│   │   │               │   ├── go/
│   │   │               │   │   └── go.js
│   │   │               │   ├── graphql/
│   │   │               │   │   └── graphql.js
│   │   │               │   ├── handlebars/
│   │   │               │   │   └── handlebars.js
│   │   │               │   ├── hcl/
│   │   │               │   │   └── hcl.js
│   │   │               │   ├── html/
│   │   │               │   │   └── html.js
│   │   │               │   ├── ini/
│   │   │               │   │   └── ini.js
│   │   │               │   ├── java/
│   │   │               │   │   └── java.js
│   │   │               │   ├── javascript/
│   │   │               │   │   └── javascript.js
│   │   │               │   ├── julia/
│   │   │               │   │   └── julia.js
│   │   │               │   ├── kotlin/
│   │   │               │   │   └── kotlin.js
│   │   │               │   ├── less/
│   │   │               │   │   └── less.js
│   │   │               │   ├── lexon/
│   │   │               │   │   └── lexon.js
│   │   │               │   ├── liquid/
│   │   │               │   │   └── liquid.js
│   │   │               │   ├── lua/
│   │   │               │   │   └── lua.js
│   │   │               │   ├── m3/
│   │   │               │   │   └── m3.js
│   │   │               │   ├── markdown/
│   │   │               │   │   └── markdown.js
│   │   │               │   ├── mdx/
│   │   │               │   │   └── mdx.js
│   │   │               │   ├── mips/
│   │   │               │   │   └── mips.js
│   │   │               │   ├── msdax/
│   │   │               │   │   └── msdax.js
│   │   │               │   ├── mysql/
│   │   │               │   │   └── mysql.js
│   │   │               │   ├── objective-c/
│   │   │               │   │   └── objective-c.js
│   │   │               │   ├── pascal/
│   │   │               │   │   └── pascal.js
│   │   │               │   ├── pascaligo/
│   │   │               │   │   └── pascaligo.js
│   │   │               │   ├── perl/
│   │   │               │   │   └── perl.js
│   │   │               │   ├── pgsql/
│   │   │               │   │   └── pgsql.js
│   │   │               │   ├── php/
│   │   │               │   │   └── php.js
│   │   │               │   ├── pla/
│   │   │               │   │   └── pla.js
│   │   │               │   ├── postiats/
│   │   │               │   │   └── postiats.js
│   │   │               │   ├── powerquery/
│   │   │               │   │   └── powerquery.js
│   │   │               │   ├── powershell/
│   │   │               │   │   └── powershell.js
│   │   │               │   ├── protobuf/
│   │   │               │   │   └── protobuf.js
│   │   │               │   ├── pug/
│   │   │               │   │   └── pug.js
│   │   │               │   ├── python/
│   │   │               │   │   └── python.js
│   │   │               │   ├── qsharp/
│   │   │               │   │   └── qsharp.js
│   │   │               │   ├── r/
│   │   │               │   │   └── r.js
│   │   │               │   ├── razor/
│   │   │               │   │   └── razor.js
│   │   │               │   ├── redis/
│   │   │               │   │   └── redis.js
│   │   │               │   ├── redshift/
│   │   │               │   │   └── redshift.js
│   │   │               │   ├── restructuredtext/
│   │   │               │   │   └── restructuredtext.js
│   │   │               │   ├── ruby/
│   │   │               │   │   └── ruby.js
│   │   │               │   ├── rust/
│   │   │               │   │   └── rust.js
│   │   │               │   ├── sb/
│   │   │               │   │   └── sb.js
│   │   │               │   ├── scala/
│   │   │               │   │   └── scala.js
│   │   │               │   ├── scheme/
│   │   │               │   │   └── scheme.js
│   │   │               │   ├── scss/
│   │   │               │   │   └── scss.js
│   │   │               │   ├── shell/
│   │   │               │   │   └── shell.js
│   │   │               │   ├── solidity/
│   │   │               │   │   └── solidity.js
│   │   │               │   ├── sophia/
│   │   │               │   │   └── sophia.js
│   │   │               │   ├── sparql/
│   │   │               │   │   └── sparql.js
│   │   │               │   ├── sql/
│   │   │               │   │   └── sql.js
│   │   │               │   ├── st/
│   │   │               │   │   └── st.js
│   │   │               │   ├── swift/
│   │   │               │   │   └── swift.js
│   │   │               │   ├── systemverilog/
│   │   │               │   │   └── systemverilog.js
│   │   │               │   ├── tcl/
│   │   │               │   │   └── tcl.js
│   │   │               │   ├── twig/
│   │   │               │   │   └── twig.js
│   │   │               │   ├── typescript/
│   │   │               │   │   └── typescript.js
│   │   │               │   ├── typespec/
│   │   │               │   │   └── typespec.js
│   │   │               │   ├── vb/
│   │   │               │   │   └── vb.js
│   │   │               │   ├── wgsl/
│   │   │               │   │   └── wgsl.js
│   │   │               │   ├── xml/
│   │   │               │   │   └── xml.js
│   │   │               │   └── yaml/
│   │   │               │       └── yaml.js
│   │   │               ├── editor/
│   │   │               │   ├── editor.main.css
│   │   │               │   └── editor.main.js
│   │   │               ├── language/
│   │   │               │   ├── css/
│   │   │               │   │   ├── cssMode.js
│   │   │               │   │   └── cssWorker.js
│   │   │               │   ├── html/
│   │   │               │   │   ├── htmlMode.js
│   │   │               │   │   └── htmlWorker.js
│   │   │               │   ├── json/
│   │   │               │   │   ├── jsonMode.js
│   │   │               │   │   └── jsonWorker.js
│   │   │               │   └── typescript/
│   │   │               │       ├── tsMode.js
│   │   │               │       └── tsWorker.js
│   │   │               ├── loader.js
│   │   │               ├── nls.messages.de.js
│   │   │               ├── nls.messages.es.js
│   │   │               ├── nls.messages.fr.js
│   │   │               ├── nls.messages.it.js
│   │   │               ├── nls.messages.ja.js
│   │   │               ├── nls.messages.ko.js
│   │   │               ├── nls.messages.ru.js
│   │   │               ├── nls.messages.zh-cn.js
│   │   │               └── nls.messages.zh-tw.js
│   │   └── html/
│   │       ├── .gitkeep
│   │       ├── already_subscribed.html
│   │       ├── subscribe_confirm.html
│   │       ├── subscribe_form.html
│   │       ├── subscribe_success.html
│   │       ├── unsubscribe.html
│   │       ├── unsubscribe_new.html
│   │       └── unsubscribe_success.html
│   ├── resource/
│   │   ├── public/
│   │   │   ├── html/
│   │   │   │   └── .gitkeep
│   │   │   ├── plugin/
│   │   │   │   └── .gitkeep
│   │   │   └── resource/
│   │   │       ├── css/
│   │   │       │   └── .gitkeep
│   │   │       ├── image/
│   │   │       │   └── .gitkeep
│   │   │       └── js/
│   │   │           └── .gitkeep
│   │   └── template/
│   │       └── .gitkeep
│   ├── run_dev.go
│   ├── run_dev.sh
│   ├── template/
│   │   ├── .gitkeep
│   │   ├── default_confirm_email/
│   │   │   ├── confirm_email.html
│   │   │   └── confirm_email.txt
│   │   ├── default_unsubscribe_email/
│   │   │   ├── unsubscribe_email.html
│   │   │   └── unsubscribe_email.txt
│   │   ├── default_welcome_email/
│   │   │   ├── welcome_email.html
│   │   │   └── welcome_email.txt
│   │   ├── subscribe_form_code.html
│   │   ├── subscription_form.html
│   │   └── subscription_success.html
│   └── utility/
│       ├── .gitkeep
│       └── types/
│           └── api_v1/
│               └── common.go
├── data/
│   ├── example_recipients.csv
│   └── example_recipients.txt
├── docker-compose.yml
├── env_init
├── init.sql
├── install.sh
├── ssl-self-signed/
│   └── dh.pem
└── update.sh
Copy disabled (too large) Download .txt
Showing preview only (80,824K chars total). Download the full file to get everything.
SYMBOL INDEX (23237 symbols across 254 files)

FILE: core/api/abnormal_recipient/abnormal_recipient.go
  type IAbnormalRecipientV1 (line 13) | type IAbnormalRecipientV1 interface

FILE: core/api/abnormal_recipient/v1/abnormal_recipient.go
  type AbnormalRecipient (line 8) | type AbnormalRecipient struct
  type ListAbnormalRecipientReq (line 18) | type ListAbnormalRecipientReq struct
  type ListAbnormalRecipientRes (line 27) | type ListAbnormalRecipientRes struct
  type AddAbnormalRecipientReq (line 35) | type AddAbnormalRecipientReq struct
  type AddAbnormalRecipientRes (line 41) | type AddAbnormalRecipientRes struct
  type DeleteAbnormalRecipientReq (line 45) | type DeleteAbnormalRecipientReq struct
  type DeleteAbnormalRecipientRes (line 51) | type DeleteAbnormalRecipientRes struct
  type CheckGroupReq (line 55) | type CheckGroupReq struct
  type CheckGroupRes (line 62) | type CheckGroupRes struct
  type AbnormalSwitchReq (line 66) | type AbnormalSwitchReq struct
  type AbnormalSwitchRes (line 71) | type AbnormalSwitchRes struct
  type SetAbnormalSwitchReq (line 75) | type SetAbnormalSwitchReq struct
  type SetAbnormalSwitchRes (line 81) | type SetAbnormalSwitchRes struct
  type ClearabnormalRecipientReq (line 85) | type ClearabnormalRecipientReq struct
  type ClearabnormalRecipientRes (line 90) | type ClearabnormalRecipientRes struct
  type GetScanLogReq (line 94) | type GetScanLogReq struct
  type GetScanLogRes (line 99) | type GetScanLogRes struct

FILE: core/api/askai/askai.go
  type IAskAiV1 (line 8) | type IAskAiV1 interface

FILE: core/api/askai/v1/chat.go
  type CreateChatReq (line 9) | type CreateChatReq struct
  type CreateChatRes (line 17) | type CreateChatRes struct
  type GetChatListReq (line 21) | type GetChatListReq struct
  type GetChatListRes (line 26) | type GetChatListRes struct
  type InfoReq (line 31) | type InfoReq struct
  type InfoRes (line 37) | type InfoRes struct
  type ChatReq (line 42) | type ChatReq struct
  type ChatRes (line 51) | type ChatRes struct
  type RemoveChatReq (line 55) | type RemoveChatReq struct
  type RemoveChatRes (line 60) | type RemoveChatRes struct
  type StopReq (line 65) | type StopReq struct
  type StopRes (line 70) | type StopRes struct
  type GetHtmlReq (line 75) | type GetHtmlReq struct
  type GetHtmlRes (line 80) | type GetHtmlRes struct
  type ModifyHtmlReq (line 85) | type ModifyHtmlReq struct
  type ModifyHtmlRes (line 91) | type ModifyHtmlRes struct
  type CopyChatReq (line 96) | type CopyChatReq struct
  type CopyChatRes (line 103) | type CopyChatRes struct

FILE: core/api/askai/v1/project.go
  type CreateReq (line 10) | type CreateReq struct
  type CreateRes (line 16) | type CreateRes struct
  type GetBaseInfoReq (line 21) | type GetBaseInfoReq struct
  type GetBaseInfoRes (line 26) | type GetBaseInfoRes struct
  type ModifyBaseInfoReq (line 31) | type ModifyBaseInfoReq struct
  type ModifyBaseInfoRes (line 43) | type ModifyBaseInfoRes struct
  type ModifyKnowledgeBaseFileReq (line 48) | type ModifyKnowledgeBaseFileReq struct
  type ModifyKnowledgeBaseFileRes (line 56) | type ModifyKnowledgeBaseFileRes struct
  type CreateKnowledgeBaseFileReq (line 61) | type CreateKnowledgeBaseFileReq struct
  type CreateKnowledgeBaseFileRes (line 68) | type CreateKnowledgeBaseFileRes struct
  type RemoveKnowledgeBaseFileReq (line 73) | type RemoveKnowledgeBaseFileReq struct
  type RemoveKnowledgeBaseFileRes (line 79) | type RemoveKnowledgeBaseFileRes struct
  type GetCompanyProfileReq (line 84) | type GetCompanyProfileReq struct
  type GetCompanyProfileRes (line 89) | type GetCompanyProfileRes struct
  type ModifyCompanyProfileReq (line 94) | type ModifyCompanyProfileReq struct
  type ModifyCompanyProfileRes (line 106) | type ModifyCompanyProfileRes struct
  type GetStyleConfigReq (line 111) | type GetStyleConfigReq struct
  type GetStyleConfigRes (line 117) | type GetStyleConfigRes struct
  type ModifyStyleConfigReq (line 122) | type ModifyStyleConfigReq struct
  type ModifyStyleConfigRes (line 135) | type ModifyStyleConfigRes struct
  type GetSitemapReq (line 140) | type GetSitemapReq struct
  type GetSitemapRes (line 145) | type GetSitemapRes struct
  type RemoveSitemapNodeReq (line 150) | type RemoveSitemapNodeReq struct
  type RemoveSitemapNodeRes (line 157) | type RemoveSitemapNodeRes struct
  type AddSitemapNodeReq (line 162) | type AddSitemapNodeReq struct
  type AddSitemapNodeRes (line 169) | type AddSitemapNodeRes struct
  type GetFooterReq (line 174) | type GetFooterReq struct
  type GetFooterRes (line 179) | type GetFooterRes struct
  type ModifyFooterReq (line 184) | type ModifyFooterReq struct
  type ModifyFooterRes (line 191) | type ModifyFooterRes struct
  type GetPromptReq (line 196) | type GetPromptReq struct
  type GetPromptRes (line 201) | type GetPromptRes struct
  type ModifyPromptReq (line 206) | type ModifyPromptReq struct
  type ModifyPromptRes (line 212) | type ModifyPromptRes struct
  type UploadImageReq (line 217) | type UploadImageReq struct
  type UploadImageRes (line 227) | type UploadImageRes struct
  type ModifyImageReq (line 232) | type ModifyImageReq struct
  type ModifyImageRes (line 240) | type ModifyImageRes struct
  type RemoveImageReq (line 245) | type RemoveImageReq struct
  type RemoveImageRes (line 252) | type RemoveImageRes struct
  type GetImagesReq (line 257) | type GetImagesReq struct
  type GetImagesRes (line 263) | type GetImagesRes struct
  type GetProjectStatusReq (line 268) | type GetProjectStatusReq struct
  type GetProjectStatusRes (line 273) | type GetProjectStatusRes struct
  type SetProjectStatusReq (line 278) | type SetProjectStatusReq struct
  type SetProjectStatusRes (line 285) | type SetProjectStatusRes struct

FILE: core/api/askai/v1/supplier.go
  type ListReq (line 10) | type ListReq struct
  type ListRes (line 14) | type ListRes struct
  type ModelsReq (line 19) | type ModelsReq struct
  type ModelsRes (line 25) | type ModelsRes struct
  type AddModelReq (line 30) | type AddModelReq struct
  type AddModelRes (line 40) | type AddModelRes struct
  type RemoveModelReq (line 45) | type RemoveModelReq struct
  type RemoveModelRes (line 52) | type RemoveModelRes struct
  type SetSupplierConfigReq (line 57) | type SetSupplierConfigReq struct
  type SetSupplierConfigRes (line 65) | type SetSupplierConfigRes struct
  type TestingReq (line 70) | type TestingReq struct
  type TestingRes (line 77) | type TestingRes struct
  type GetSupplierConfigReq (line 82) | type GetSupplierConfigReq struct
  type GetSupplierConfigRes (line 88) | type GetSupplierConfigRes struct
  type SetSupplierStatusReq (line 93) | type SetSupplierStatusReq struct
  type SetSupplierStatusRes (line 100) | type SetSupplierStatusRes struct
  type SetModelStatusReq (line 105) | type SetModelStatusReq struct
  type SetModelStatusRes (line 112) | type SetModelStatusRes struct
  type AddSupplierReq (line 117) | type AddSupplierReq struct
  type AddSupplierRes (line 126) | type AddSupplierRes struct
  type RemoveSupplierReq (line 131) | type RemoveSupplierReq struct
  type RemoveSupplierRes (line 137) | type RemoveSupplierRes struct
  type SetModelTitleReq (line 142) | type SetModelTitleReq struct
  type SetModelTitleRes (line 150) | type SetModelTitleRes struct
  type SetModelCapabilityReq (line 155) | type SetModelCapabilityReq struct
  type SetModelCapabilityRes (line 162) | type SetModelCapabilityRes struct
  type ModifyModelReq (line 167) | type ModifyModelReq struct
  type ModifyModelRes (line 177) | type ModifyModelRes struct
  type StatusReq (line 182) | type StatusReq struct
  type StatusRes (line 186) | type StatusRes struct

FILE: core/api/batch_mail/batch_mail.go
  type IBatchMailV1 (line 13) | type IBatchMailV1 interface

FILE: core/api/batch_mail/v1/api_mail.go
  type ApiTemplates (line 9) | type ApiTemplates struct
  type ApiMailLogs (line 28) | type ApiMailLogs struct
  type ApiTemplatesListReq (line 37) | type ApiTemplatesListReq struct
  type ApiTemplatesInfo (line 48) | type ApiTemplatesInfo struct
  type ApiTemplatesListRes (line 63) | type ApiTemplatesListRes struct
  type ApiSummaryStats (line 71) | type ApiSummaryStats struct
  type ApiOverviewStatsReq (line 81) | type ApiOverviewStatsReq struct
  type ApiOverviewStatsRes (line 88) | type ApiOverviewStatsRes struct
  type ApiTemplatesCreateReq (line 93) | type ApiTemplatesCreateReq struct
  type ApiTemplatesCreateRes (line 111) | type ApiTemplatesCreateRes struct
  type ApiTemplatesUpdateReq (line 115) | type ApiTemplatesUpdateReq struct
  type ApiTemplatesUpdateRes (line 135) | type ApiTemplatesUpdateRes struct
  type ApiTemplatesDeleteReq (line 139) | type ApiTemplatesDeleteReq struct
  type ApiTemplatesDeleteRes (line 145) | type ApiTemplatesDeleteRes struct
  type ApiMailSendReq (line 149) | type ApiMailSendReq struct
  type ApiMailSendRes (line 158) | type ApiMailSendRes struct
  type ApiMailBatchSendReq (line 162) | type ApiMailBatchSendReq struct
  type ApiMailBatchSendRes (line 171) | type ApiMailBatchSendRes struct

FILE: core/api/batch_mail/v1/batch_mail.go
  type TagInfo (line 10) | type TagInfo struct
  type EmailTask (line 16) | type EmailTask struct
  type GroupInfo (line 52) | type GroupInfo struct
  type TaskDetail (line 59) | type TaskDetail struct
  type ListTasksReq (line 77) | type ListTasksReq struct
  type ListTasksRes (line 86) | type ListTasksRes struct
  type TaskInfoReq (line 94) | type TaskInfoReq struct
  type TaskInfoRes (line 100) | type TaskInfoRes struct
  type TaskSummaryStats (line 105) | type TaskSummaryStats struct
  type TaskOverviewReq (line 117) | type TaskOverviewReq struct
  type TaskOverviewRes (line 124) | type TaskOverviewRes struct
  type DeleteTaskReq (line 129) | type DeleteTaskReq struct
  type DeleteTaskRes (line 135) | type DeleteTaskRes struct
  type CreateTaskReq (line 139) | type CreateTaskReq struct
  type CreateTaskRes (line 160) | type CreateTaskRes struct
  type TaskSendCountData (line 167) | type TaskSendCountData struct
  type TaskLogItem (line 178) | type TaskLogItem struct
  type GetTaskSendCountReq (line 191) | type GetTaskSendCountReq struct
  type GetTaskSendCountRes (line 199) | type GetTaskSendCountRes struct
  type TaskMailProviderStatReq (line 205) | type TaskMailProviderStatReq struct
  type TaskMailProviderStatRes (line 212) | type TaskMailProviderStatRes struct
  type GetTaskMailLogsReq (line 217) | type GetTaskMailLogsReq struct
  type GetTaskMailLogsRes (line 227) | type GetTaskMailLogsRes struct
  type SendTestEmailReq (line 235) | type SendTestEmailReq struct
  type SendTestEmailRes (line 244) | type SendTestEmailRes struct
  type TaskStatChartReq (line 248) | type TaskStatChartReq struct
  type TaskStatChartRes (line 257) | type TaskStatChartRes struct
  type UpdateTaskInfoReq (line 269) | type UpdateTaskInfoReq struct
  type UpdateTaskInfoRes (line 285) | type UpdateTaskInfoRes struct

FILE: core/api/batch_mail/v1/task_executor.go
  type TaskExecutor (line 13) | type TaskExecutor struct
  type TaskConfig (line 26) | type TaskConfig struct
  type SpeedMeter (line 36) | type SpeedMeter struct
  type UpdateTaskSpeedReq (line 45) | type UpdateTaskSpeedReq struct
  type UpdateTaskSpeedRes (line 53) | type UpdateTaskSpeedRes struct
  type PauseTaskReq (line 58) | type PauseTaskReq struct
  type PauseTaskRes (line 65) | type PauseTaskRes struct
  type ResumeTaskReq (line 70) | type ResumeTaskReq struct
  type ResumeTaskRes (line 77) | type ResumeTaskRes struct

FILE: core/api/batch_mail/v1/unsubscribe.go
  type UnsubscribeReq (line 9) | type UnsubscribeReq struct
  type UnsubscribeRes (line 17) | type UnsubscribeRes struct
  type GetUserGroupsReq (line 21) | type GetUserGroupsReq struct
  type GetUserGroupsRes (line 27) | type GetUserGroupsRes struct
  type UnsubscribeNewReq (line 32) | type UnsubscribeNewReq struct
  type UnsubscribeNewRes (line 38) | type UnsubscribeNewRes struct
  type UnsubscribeResult (line 43) | type UnsubscribeResult struct

FILE: core/api/campaign/campaign.go
  type ICampaignV1 (line 13) | type ICampaignV1 interface

FILE: core/api/campaign/v1/subscription.go
  type FormReq (line 5) | type FormReq struct
  type FormRes (line 13) | type FormRes struct

FILE: core/api/contact/contact.go
  type IContactV1 (line 13) | type IContactV1 interface

FILE: core/api/contact/v1/contact.go
  type ContactGroup (line 9) | type ContactGroup struct
  type ContactGroupInfo (line 40) | type ContactGroupInfo struct
  type GroupInfo (line 49) | type GroupInfo struct
  type TagInfo (line 54) | type TagInfo struct
  type Contact (line 60) | type Contact struct
  type CreateGroupReq (line 75) | type CreateGroupReq struct
  type CreateGroupRes (line 87) | type CreateGroupRes struct
  type ImportContactsReq (line 92) | type ImportContactsReq struct
  type ImportContactsRes (line 106) | type ImportContactsRes struct
  type ExportContactsReq (line 113) | type ExportContactsReq struct
  type ExportContactsRes (line 122) | type ExportContactsRes struct
  type DeleteGroupReq (line 126) | type DeleteGroupReq struct
  type DeleteGroupRes (line 132) | type DeleteGroupRes struct
  type UpdateGroupReq (line 140) | type UpdateGroupReq struct
  type UpdateGroupRes (line 161) | type UpdateGroupRes struct
  type UpdateGroupUnsubscribeReq (line 165) | type UpdateGroupUnsubscribeReq struct
  type UpdateGroupUnsubscribeRes (line 177) | type UpdateGroupUnsubscribeRes struct
  type ListGroupsReq (line 180) | type ListGroupsReq struct
  type ListGroupsRes (line 188) | type ListGroupsRes struct
  type ListContactsReq (line 196) | type ListContactsReq struct
  type ListContactsRes (line 206) | type ListContactsRes struct
  type ListContactsGroupsReq (line 214) | type ListContactsGroupsReq struct
  type ListContactsGroupsRes (line 220) | type ListContactsGroupsRes struct
  type MergeContactsGroupsReq (line 227) | type MergeContactsGroupsReq struct
  type MergeContactsGroupsRes (line 234) | type MergeContactsGroupsRes struct
  type DeleteContactsReq (line 238) | type DeleteContactsReq struct
  type DeleteContactsRes (line 245) | type DeleteContactsRes struct
  type UpdateContactsGroupReq (line 252) | type UpdateContactsGroupReq struct
  type UpdateContactsGroupRes (line 260) | type UpdateContactsGroupRes struct
  type GetContactsTrendReq (line 267) | type GetContactsTrendReq struct
  type MonthlyTrend (line 277) | type MonthlyTrend struct
  type DailyTrend (line 283) | type DailyTrend struct
  type GetContactsTrendRes (line 289) | type GetContactsTrendRes struct
  type MonthlyCount (line 298) | type MonthlyCount struct
  type DailyCount (line 303) | type DailyCount struct
  type GetGroupContactCountReq (line 308) | type GetGroupContactCountReq struct
  type GetGroupContactCountRes (line 314) | type GetGroupContactCountRes struct
  type GetSingleGroupTagContactCountReq (line 321) | type GetSingleGroupTagContactCountReq struct
  type GetSingleGroupTagContactCountRes (line 329) | type GetSingleGroupTagContactCountRes struct
  type GetGroupInfoReq (line 336) | type GetGroupInfoReq struct
  type GetGroupInfoRes (line 342) | type GetGroupInfoRes struct
  type EditContactsReq (line 347) | type EditContactsReq struct
  type EditContactsRes (line 356) | type EditContactsRes struct
  type ListContactsNDPReq (line 360) | type ListContactsNDPReq struct
  type ListContactsNDPRes (line 375) | type ListContactsNDPRes struct
  type EditContactsNDPReq (line 383) | type EditContactsNDPReq struct
  type EditContactsNDPRes (line 392) | type EditContactsNDPRes struct
  type DeleteContactsNDPReq (line 396) | type DeleteContactsNDPReq struct
  type DeleteContactsNDPRes (line 402) | type DeleteContactsNDPRes struct
  type BatchTagContactsReq (line 406) | type BatchTagContactsReq struct
  type BatchTagContactsRes (line 413) | type BatchTagContactsRes struct

FILE: core/api/dockerapi/dockerapi.go
  type IDockerapiV1 (line 13) | type IDockerapiV1 interface

FILE: core/api/dockerapi/v1/dockerapi.go
  type ContainerStats (line 10) | type ContainerStats struct
  type DockerStatsJSON (line 25) | type DockerStatsJSON struct
  type ExecResult (line 82) | type ExecResult struct
  type ListContainerReq (line 87) | type ListContainerReq struct
  type ListContainerRes (line 92) | type ListContainerRes struct
  type ContainerStateReq (line 97) | type ContainerStateReq struct
  type ContainerStateRes (line 103) | type ContainerStateRes struct
  type RestartContainerReq (line 108) | type RestartContainerReq struct
  type RestartContainerRes (line 114) | type RestartContainerRes struct

FILE: core/api/domains/domains.go
  type IDomainsV1 (line 13) | type IDomainsV1 interface

FILE: core/api/domains/v1/domain_blocklist.go
  type CheckBlacklistReq (line 10) | type CheckBlacklistReq struct
  type CheckBlacklistRes (line 16) | type CheckBlacklistRes struct
  type GetBlocklistCheckLogsReq (line 21) | type GetBlocklistCheckLogsReq struct
  type GetBlocklistCheckLogsRes (line 27) | type GetBlocklistCheckLogsRes struct

FILE: core/api/domains/v1/domains.go
  type DNSRecord (line 10) | type DNSRecord struct
  type DNSRecords (line 17) | type DNSRecords struct
  type CertInfo (line 27) | type CertInfo struct
  type Domain (line 39) | type Domain struct
  type BlacklistCheckResult (line 61) | type BlacklistCheckResult struct
  type BlacklistDetail (line 73) | type BlacklistDetail struct
  type AddDomainReq (line 79) | type AddDomainReq struct
  type AddDomainRes (line 94) | type AddDomainRes struct
  type UpdateDomainReq (line 98) | type UpdateDomainReq struct
  type UpdateDomainRes (line 114) | type UpdateDomainRes struct
  type UpdateDomainBrandinfoReq (line 118) | type UpdateDomainBrandinfoReq struct
  type UpdateDomainBrandinfoRes (line 125) | type UpdateDomainBrandinfoRes struct
  type DeleteDomainReq (line 129) | type DeleteDomainReq struct
  type DeleteDomainRes (line 135) | type DeleteDomainRes struct
  type MultiIPDomain (line 138) | type MultiIPDomain struct
  type GetDomainReq (line 153) | type GetDomainReq struct
  type GetDomainRes (line 161) | type GetDomainRes struct
  type GetDomainAllReq (line 169) | type GetDomainAllReq struct
  type GetDomainAllRes (line 174) | type GetDomainAllRes struct
  type FreshDNSRecordsReq (line 179) | type FreshDNSRecordsReq struct
  type FreshDNSRecordsRes (line 185) | type FreshDNSRecordsRes struct
  type SetSSLReq (line 190) | type SetSSLReq struct
  type SetSSLRes (line 198) | type SetSSLRes struct
  type GetSSLReq (line 202) | type GetSSLReq struct
  type GetSSLRes (line 208) | type GetSSLRes struct
  type SetDefaultDomainReq (line 213) | type SetDefaultDomainReq struct
  type SetDefaultDomainRes (line 218) | type SetDefaultDomainRes struct

FILE: core/api/domains/v1/multi_ip_domain.go
  type ApplyMultiIPDomainConfigReq (line 9) | type ApplyMultiIPDomainConfigReq struct
  type ApplyMultiIPDomainConfigRes (line 15) | type ApplyMultiIPDomainConfigRes struct
  type TestMultiIPDomainConfigReq (line 27) | type TestMultiIPDomainConfigReq struct
  type TestMultiIPDomainConfigRes (line 35) | type TestMultiIPDomainConfigRes struct

FILE: core/api/domains/v1/ssl.go
  type ApplyCertReq (line 8) | type ApplyCertReq struct
  type ApplyCertRes (line 14) | type ApplyCertRes struct
  type GetCertListReq (line 18) | type GetCertListReq struct
  type GetCertListRes (line 23) | type GetCertListRes struct
  type ConsoleApplyCertReq (line 27) | type ConsoleApplyCertReq struct
  type ConsoleApplyCertRes (line 31) | type ConsoleApplyCertRes struct

FILE: core/api/email_template/email_template.go
  type IEmailTemplateV1 (line 13) | type IEmailTemplateV1 interface

FILE: core/api/email_template/v1/email_template.go
  type EmailTemplate (line 9) | type EmailTemplate struct
  type CreateTemplateReq (line 21) | type CreateTemplateReq struct
  type CreateTemplateRes (line 31) | type CreateTemplateRes struct
  type DeleteTemplateReq (line 39) | type DeleteTemplateReq struct
  type DeleteTemplateRes (line 45) | type DeleteTemplateRes struct
  type UpdateTemplateReq (line 50) | type UpdateTemplateReq struct
  type UpdateTemplateRes (line 59) | type UpdateTemplateRes struct
  type ListTemplatesReq (line 64) | type ListTemplatesReq struct
  type ListTemplatesRes (line 73) | type ListTemplatesRes struct
  type CopyTemplateReq (line 82) | type CopyTemplateReq struct
  type CopyTemplateRes (line 89) | type CopyTemplateRes struct
  type GetTemplateReq (line 94) | type GetTemplateReq struct
  type GetTemplateRes (line 99) | type GetTemplateRes struct
  type GetAllTemplatesReq (line 104) | type GetAllTemplatesReq struct
  type GetAllTemplatesRes (line 108) | type GetAllTemplatesRes struct
  type ScoreItem (line 112) | type ScoreItem struct
  type CheckEmailContentReq (line 118) | type CheckEmailContentReq struct
  type CheckEmailContentRes (line 124) | type CheckEmailContentRes struct

FILE: core/api/files/files.go
  type IFilesV1 (line 13) | type IFilesV1 interface

FILE: core/api/files/v1/files.go
  type DownloadFileReq (line 9) | type DownloadFileReq struct
  type DownloadFileRes (line 16) | type DownloadFileRes struct
  type ReadFileReq (line 20) | type ReadFileReq struct
  type ReadFileRes (line 27) | type ReadFileRes struct

FILE: core/api/languages/languages.go
  type ILanguagesV1 (line 13) | type ILanguagesV1 interface

FILE: core/api/languages/v1/languages.go
  type SetLanguageReq (line 8) | type SetLanguageReq struct
  type SetLanguageRes (line 14) | type SetLanguageRes struct
  type LanguageInfo (line 18) | type LanguageInfo struct
  type GetLanguageReq (line 25) | type GetLanguageReq struct
  type GetLanguageRes (line 30) | type GetLanguageRes struct

FILE: core/api/mail_boxes/mail_boxes.go
  type IMailBoxesV1 (line 13) | type IMailBoxesV1 interface

FILE: core/api/mail_boxes/v1/mailboxes.go
  type Mailbox (line 9) | type Mailbox struct
  type AddMailboxReq (line 26) | type AddMailboxReq struct
  type AddMailboxRes (line 39) | type AddMailboxRes struct
  type BatchAddMailboxReq (line 43) | type BatchAddMailboxReq struct
  type BatchAddMailboxRes (line 53) | type BatchAddMailboxRes struct
  type UpdateMailboxReq (line 57) | type UpdateMailboxReq struct
  type UpdateMailboxRes (line 70) | type UpdateMailboxRes struct
  type DeleteMailboxReq (line 74) | type DeleteMailboxReq struct
  type DeleteMailboxRes (line 80) | type DeleteMailboxRes struct
  type MailboxWithMxRecord (line 83) | type MailboxWithMxRecord struct
  type GetMailboxReq (line 87) | type GetMailboxReq struct
  type GetMailboxRes (line 96) | type GetMailboxRes struct
  type GetAllMailboxReq (line 104) | type GetAllMailboxReq struct
  type GetAllMailboxRes (line 110) | type GetAllMailboxRes struct
  type GetAllEmailReq (line 115) | type GetAllEmailReq struct
  type GetAllEmailRes (line 121) | type GetAllEmailRes struct
  type ExportMailboxReq (line 127) | type ExportMailboxReq struct
  type ExportMailboxRes (line 134) | type ExportMailboxRes struct
  type ImportMailboxReq (line 139) | type ImportMailboxReq struct
  type ImportMailboxRes (line 146) | type ImportMailboxRes struct

FILE: core/api/mail_services/mail_services.go
  type IMailServicesV1 (line 13) | type IMailServicesV1 interface

FILE: core/api/mail_services/v1/common.go
  type ServiceType (line 9) | type ServiceType
  type GetConfigFileReq (line 18) | type GetConfigFileReq struct
  type GetConfigFileRes (line 24) | type GetConfigFileRes struct
  type SaveConfigFileReq (line 36) | type SaveConfigFileReq struct
  type SaveConfigFileRes (line 43) | type SaveConfigFileRes struct

FILE: core/api/mail_services/v1/mail_bcc.go
  type BmBcc (line 8) | type BmBcc struct
  type GetBccListReq (line 19) | type GetBccListReq struct
  type GetBccListRes (line 29) | type GetBccListRes struct
  type AddBccReq (line 37) | type AddBccReq struct
  type AddBccRes (line 47) | type AddBccRes struct
  type EditBccReq (line 51) | type EditBccReq struct
  type EditBccRes (line 62) | type EditBccRes struct
  type DeleteBccReq (line 66) | type DeleteBccReq struct
  type DeleteBccRes (line 72) | type DeleteBccRes struct

FILE: core/api/mail_services/v1/mail_forward.go
  type Alias (line 8) | type Alias struct
  type GetMailForwardListReq (line 17) | type GetMailForwardListReq struct
  type GetMailForwardListRes (line 26) | type GetMailForwardListRes struct
  type AddMailForwardReq (line 34) | type AddMailForwardReq struct
  type AddMailForwardRes (line 42) | type AddMailForwardRes struct
  type EditMailForwardReq (line 46) | type EditMailForwardReq struct
  type EditMailForwardRes (line 54) | type EditMailForwardRes struct
  type DeleteMailForwardReq (line 58) | type DeleteMailForwardReq struct
  type DeleteMailForwardRes (line 64) | type DeleteMailForwardRes struct

FILE: core/api/mail_services/v1/postfix_queue.go
  type QueueMailItem (line 8) | type QueueMailItem struct
  type Recipient (line 20) | type Recipient struct
  type GetPostfixQueueListReq (line 25) | type GetPostfixQueueListReq struct
  type GetPostfixQueueListRes (line 31) | type GetPostfixQueueListRes struct
  type GetPostfixQueueInfoReq (line 39) | type GetPostfixQueueInfoReq struct
  type GetPostfixQueueInfoRes (line 45) | type GetPostfixQueueInfoRes struct
  type DeletePostfixQueueByIdReq (line 49) | type DeletePostfixQueueByIdReq struct
  type DeletePostfixQueueByIdRes (line 55) | type DeletePostfixQueueByIdRes struct
  type DeleteAllDeferredQueueReq (line 59) | type DeleteAllDeferredQueueReq struct
  type DeleteAllDeferredQueueRes (line 64) | type DeleteAllDeferredQueueRes struct
  type FlushPostfixQueueReq (line 68) | type FlushPostfixQueueReq struct
  type FlushPostfixQueueRes (line 74) | type FlushPostfixQueueRes struct
  type FlushPostfixQueueByIdReq (line 78) | type FlushPostfixQueueByIdReq struct
  type FlushPostfixQueueByIdRes (line 84) | type FlushPostfixQueueByIdRes struct
  type SetPostfixConfigReq (line 88) | type SetPostfixConfigReq struct
  type SetPostfixConfigRes (line 95) | type SetPostfixConfigRes struct
  type SetAllPostfixConfigReq (line 99) | type SetAllPostfixConfigReq struct
  type SetAllPostfixConfigRes (line 110) | type SetAllPostfixConfigRes struct
  type GetPostfixConfigReq (line 114) | type GetPostfixConfigReq struct
  type GetPostfixConfigRes (line 119) | type GetPostfixConfigRes struct

FILE: core/api/operation_log/operation_log.go
  type IOperationLogV1 (line 13) | type IOperationLogV1 interface

FILE: core/api/operation_log/v1/operation_log.go
  type GetOperationLogReq (line 9) | type GetOperationLogReq struct
  type GetOperationLogRes (line 20) | type GetOperationLogRes struct
  type GetOperationTypeReq (line 28) | type GetOperationTypeReq struct
  type GetOperationTypeRes (line 33) | type GetOperationTypeRes struct
  type GetOutputLogReq (line 36) | type GetOutputLogReq struct
  type GetOutputLogRes (line 46) | type GetOutputLogRes struct
  type GetLatestOutputLogReq (line 50) | type GetLatestOutputLogReq struct
  type GetLatestOutputLogRes (line 54) | type GetLatestOutputLogRes struct

FILE: core/api/overview/overview.go
  type IOverviewV1 (line 13) | type IOverviewV1 interface

FILE: core/api/overview/v1/overview.go
  type OverviewReq (line 8) | type OverviewReq struct
  type OverviewRes (line 17) | type OverviewRes struct
  type FailedListReq (line 29) | type FailedListReq struct
  type FailedListRes (line 38) | type FailedListRes struct

FILE: core/api/rbac/rbac.go
  type IRbacV1 (line 13) | type IRbacV1 interface

FILE: core/api/rbac/v1/account.go
  type AccountInfoItem (line 4) | type AccountInfoItem struct

FILE: core/api/rbac/v1/auth.go
  type LoginReq (line 9) | type LoginReq struct
  type LoginRes (line 18) | type LoginRes struct
  type LogoutReq (line 35) | type LogoutReq struct
  type LogoutRes (line 41) | type LogoutRes struct
  type RefreshTokenReq (line 46) | type RefreshTokenReq struct
  type RefreshTokenRes (line 52) | type RefreshTokenRes struct
  type GetValidateCodeReq (line 62) | type GetValidateCodeReq struct
  type GetValidateCodeRes (line 67) | type GetValidateCodeRes struct

FILE: core/api/rbac/v1/permission.go
  type PermissionInfoItem (line 4) | type PermissionInfoItem struct

FILE: core/api/rbac/v1/role.go
  type RoleInfoItem (line 4) | type RoleInfoItem struct

FILE: core/api/relay/relay.go
  type IRelayV1 (line 13) | type IRelayV1 interface

FILE: core/api/relay/v1/relay.go
  type BmRelay (line 9) | type BmRelay struct
  type DNSRecord (line 44) | type DNSRecord struct
  type SmtpStatus (line 51) | type SmtpStatus struct
  type BmRelayWithSPF (line 58) | type BmRelayWithSPF struct
  type SPFStatus (line 65) | type SPFStatus struct
  type CreateRelayConfigReq (line 71) | type CreateRelayConfigReq struct
  type CreateRelayConfigRes (line 91) | type CreateRelayConfigRes struct
  type ListRelayConfigsReq (line 97) | type ListRelayConfigsReq struct
  type ListRelayConfigsRes (line 104) | type ListRelayConfigsRes struct
  type UpdateRelayConfigReq (line 113) | type UpdateRelayConfigReq struct
  type UpdateRelayConfigRes (line 136) | type UpdateRelayConfigRes struct
  type DeleteRelayConfigReq (line 142) | type DeleteRelayConfigReq struct
  type DeleteRelayConfigRes (line 148) | type DeleteRelayConfigRes struct
  type DomainInfo (line 153) | type DomainInfo struct
  type GetUnboundDomainsReq (line 158) | type GetUnboundDomainsReq struct
  type GetUnboundDomainsRes (line 163) | type GetUnboundDomainsRes struct
  type TestSmtpConnectionReq (line 169) | type TestSmtpConnectionReq struct
  type TestSmtpConnectionRes (line 179) | type TestSmtpConnectionRes struct

FILE: core/api/settings/settings.go
  type ISettingsV1 (line 13) | type ISettingsV1 interface

FILE: core/api/settings/v1/settings.go
  type SSLConfig (line 10) | type SSLConfig struct
  type SystemConfig (line 29) | type SystemConfig struct
  type BlacklistConfig (line 104) | type BlacklistConfig struct
  type BlacklistAlertSettings (line 110) | type BlacklistAlertSettings struct
  type GetVersionReq (line 119) | type GetVersionReq struct
  type GetVersionRes (line 124) | type GetVersionRes struct
  type GetSystemConfigReq (line 135) | type GetSystemConfigReq struct
  type GetSystemConfigRes (line 141) | type GetSystemConfigRes struct
  type SetSystemConfigReq (line 147) | type SetSystemConfigReq struct
  type SetSystemConfigRes (line 154) | type SetSystemConfigRes struct
  type SetSystemConfigKeyReq (line 159) | type SetSystemConfigKeyReq struct
  type SetSystemConfigKeyRes (line 166) | type SetSystemConfigKeyRes struct
  type SetSSLConfigReq (line 171) | type SetSSLConfigReq struct
  type SetSSLConfigRes (line 178) | type SetSSLConfigRes struct
  type GetTimeZoneListReq (line 182) | type GetTimeZoneListReq struct
  type GetTimeZoneListRes (line 186) | type GetTimeZoneListRes struct
  type SetIPWhitelistReq (line 191) | type SetIPWhitelistReq struct
  type SetIPWhitelistRes (line 197) | type SetIPWhitelistRes struct
  type DeleteIPWhitelistReq (line 201) | type DeleteIPWhitelistReq struct
  type DeleteIPWhitelistRes (line 207) | type DeleteIPWhitelistRes struct
  type AddIPWhitelistReq (line 211) | type AddIPWhitelistReq struct
  type AddIPWhitelistRes (line 217) | type AddIPWhitelistRes struct
  type SetReverseProxyDomainReq (line 221) | type SetReverseProxyDomainReq struct
  type SetReverseProxyDomainRes (line 227) | type SetReverseProxyDomainRes struct
  type DeleteReverseProxyDomainReq (line 231) | type DeleteReverseProxyDomainReq struct
  type DeleteReverseProxyDomainRes (line 235) | type DeleteReverseProxyDomainRes struct
  type RegenerateAPITokenReq (line 240) | type RegenerateAPITokenReq struct
  type RegenerateAPITokenRes (line 246) | type RegenerateAPITokenRes struct
  type SetAPIDocSwaggerReq (line 254) | type SetAPIDocSwaggerReq struct
  type SetAPIDocSwaggerRes (line 259) | type SetAPIDocSwaggerRes struct
  type SetBlacklistAutoScanReq (line 263) | type SetBlacklistAutoScanReq struct
  type SetBlacklistAutoScanRes (line 269) | type SetBlacklistAutoScanRes struct
  type SetBlacklistAlertReq (line 273) | type SetBlacklistAlertReq struct
  type SetBlacklistAlertRes (line 279) | type SetBlacklistAlertRes struct
  type SetBlacklistAlertSettingsReq (line 283) | type SetBlacklistAlertSettingsReq struct
  type SetBlacklistAlertSettingsRes (line 294) | type SetBlacklistAlertSettingsRes struct

FILE: core/api/subscribe_list/subscribe_list.go
  type ISubscribeListV1 (line 13) | type ISubscribeListV1 interface

FILE: core/api/subscribe_list/v1/subscribe_list.go
  type ContactGroup (line 8) | type ContactGroup struct
  type Contact (line 31) | type Contact struct
  type SubscribeSubmitReq (line 43) | type SubscribeSubmitReq struct
  type SubscribeSubmitRes (line 51) | type SubscribeSubmitRes struct
  type SubscribeConfirmReq (line 55) | type SubscribeConfirmReq struct
  type SubscribeConfirmRes (line 62) | type SubscribeConfirmRes struct

FILE: core/api/tags/tags.go
  type ITagsV1 (line 13) | type ITagsV1 interface

FILE: core/api/tags/v1/tags.go
  type TagInfo (line 9) | type TagInfo struct
  type TagListReq (line 16) | type TagListReq struct
  type TagListRes (line 24) | type TagListRes struct
  type TagCreateReq (line 32) | type TagCreateReq struct
  type TagCreateRes (line 38) | type TagCreateRes struct
  type TagUpdateReq (line 42) | type TagUpdateReq struct
  type TagUpdateRes (line 48) | type TagUpdateRes struct
  type TagDeleteReq (line 52) | type TagDeleteReq struct
  type TagDeleteRes (line 57) | type TagDeleteRes struct
  type BatchTagContactsReq (line 61) | type BatchTagContactsReq struct
  type BatchTagContactsRes (line 69) | type BatchTagContactsRes struct
  type TagAllReq (line 73) | type TagAllReq struct
  type TagAllRes (line 77) | type TagAllRes struct

FILE: core/cmd/acme/main.go
  function main (line 8) | func main() {

FILE: core/frontend/build-for-git.js
  function copyLocalFiles (line 10) | async function copyLocalFiles(targetPath) {
  function deleteFolderRecursive (line 68) | function deleteFolderRecursive(folderPath) {
  function main (line 86) | async function main() {

FILE: core/frontend/build/config.ts
  type ServerConfig (line 1) | interface ServerConfig {

FILE: core/frontend/build/utils.ts
  function getEnv (line 9) | function getEnv(key: string) {
  function getServer (line 18) | function getServer() {

FILE: core/frontend/git-pull.js
  function getPull (line 5) | async function getPull() {

FILE: core/frontend/public/static/plugin/monaco/base/worker/workerMain.js
  class n (line 6) | class n{get isWindows(){return this._detect(),this._isWindows}get isNode...
    method isWindows (line 6) | get isWindows(){return this._detect(),this._isWindows}
    method isNode (line 6) | get isNode(){return this._detect(),this._isNode}
    method isElectronRenderer (line 6) | get isElectronRenderer(){return this._detect(),this._isElectronRenderer}
    method isWebWorker (line 6) | get isWebWorker(){return this._detect(),this._isWebWorker}
    method isElectronNodeIntegrationWebWorker (line 6) | get isElectronNodeIntegrationWebWorker(){return this._detect(),this._i...
    method constructor (line 6) | constructor(){this._detected=!1,this._isWindows=!1,this._isNode=!1,thi...
    method _detect (line 6) | _detect(){this._detected||(this._detected=!0,this._isWindows=n._isWind...
    method _isWindows (line 6) | static _isWindows(){return typeof navigator<"u"&&navigator.userAgent&&...
    method constructor (line 6) | constructor(d,f,p){this.type=d,this.detail=f,this.timestamp=p}
    method fileUriToFilePath (line 6) | static fileUriToFilePath(x,A){if(A=decodeURI(A).replace(/%23/g,"#"),x)...
    method startsWith (line 6) | static startsWith(x,A){return x.length>=A.length&&x.substr(0,A.length)...
    method endsWith (line 6) | static endsWith(x,A){return x.length>=A.length&&x.substr(x.length-A.le...
    method containsQueryString (line 6) | static containsQueryString(x){return/^[^\#]*\?/gi.test(x)}
    method isAbsolutePath (line 6) | static isAbsolutePath(x){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)...
    method forEachProperty (line 6) | static forEachProperty(x,A){if(x){let d;for(d in x)x.hasOwnProperty(d)...
    method isEmpty (line 6) | static isEmpty(x){let A=!0;return n.forEachProperty(x,()=>{A=!1}),A}
    method recursiveClone (line 6) | static recursiveClone(x){if(!x||typeof x!="object"||x instanceof RegEx...
    method generateAnonymousModule (line 6) | static generateAnonymousModule(){return"===anonymous"+n.NEXT_ANONYMOUS...
    method isAnonymousModule (line 6) | static isAnonymousModule(x){return n.startsWith(x,"===anonymous")}
    method getHighPerformanceTimestamp (line 6) | static getHighPerformanceTimestamp(){return this.PERFORMANCE_NOW_PROBE...
    method constructor (line 6) | constructor(a){this._env=a,this._scriptLoader=null,this._callbackMap={}}
    method load (line 6) | load(a,m,e,h){if(!this._scriptLoader)if(this._env.isWebWorker)this._sc...
    method triggerCallback (line 6) | triggerCallback(a){let m=this._callbackMap[a];delete this._callbackMap...
    method triggerErrorback (line 6) | triggerErrorback(a,m){let e=this._callbackMap[a];delete this._callback...
    method constructor (line 8) | constructor(c){let a=c.lastIndexOf("/");a!==-1?this.fromModulePath=c.s...
    method _normalizeModuleId (line 8) | static _normalizeModuleId(c){let a=c,m;for(m=/\/\.\//;m.test(a);)a=a.r...
    method resolveModule (line 8) | resolveModule(c){let a=c;return W.Utilities.isAbsolutePath(a)||(W.Util...
  class n (line 6) | class n{constructor(d,f,p){this.type=d,this.detail=f,this.timestamp=p}}
    method isWindows (line 6) | get isWindows(){return this._detect(),this._isWindows}
    method isNode (line 6) | get isNode(){return this._detect(),this._isNode}
    method isElectronRenderer (line 6) | get isElectronRenderer(){return this._detect(),this._isElectronRenderer}
    method isWebWorker (line 6) | get isWebWorker(){return this._detect(),this._isWebWorker}
    method isElectronNodeIntegrationWebWorker (line 6) | get isElectronNodeIntegrationWebWorker(){return this._detect(),this._i...
    method constructor (line 6) | constructor(){this._detected=!1,this._isWindows=!1,this._isNode=!1,thi...
    method _detect (line 6) | _detect(){this._detected||(this._detected=!0,this._isWindows=n._isWind...
    method _isWindows (line 6) | static _isWindows(){return typeof navigator<"u"&&navigator.userAgent&&...
    method constructor (line 6) | constructor(d,f,p){this.type=d,this.detail=f,this.timestamp=p}
    method fileUriToFilePath (line 6) | static fileUriToFilePath(x,A){if(A=decodeURI(A).replace(/%23/g,"#"),x)...
    method startsWith (line 6) | static startsWith(x,A){return x.length>=A.length&&x.substr(0,A.length)...
    method endsWith (line 6) | static endsWith(x,A){return x.length>=A.length&&x.substr(x.length-A.le...
    method containsQueryString (line 6) | static containsQueryString(x){return/^[^\#]*\?/gi.test(x)}
    method isAbsolutePath (line 6) | static isAbsolutePath(x){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)...
    method forEachProperty (line 6) | static forEachProperty(x,A){if(x){let d;for(d in x)x.hasOwnProperty(d)...
    method isEmpty (line 6) | static isEmpty(x){let A=!0;return n.forEachProperty(x,()=>{A=!1}),A}
    method recursiveClone (line 6) | static recursiveClone(x){if(!x||typeof x!="object"||x instanceof RegEx...
    method generateAnonymousModule (line 6) | static generateAnonymousModule(){return"===anonymous"+n.NEXT_ANONYMOUS...
    method isAnonymousModule (line 6) | static isAnonymousModule(x){return n.startsWith(x,"===anonymous")}
    method getHighPerformanceTimestamp (line 6) | static getHighPerformanceTimestamp(){return this.PERFORMANCE_NOW_PROBE...
    method constructor (line 6) | constructor(a){this._env=a,this._scriptLoader=null,this._callbackMap={}}
    method load (line 6) | load(a,m,e,h){if(!this._scriptLoader)if(this._env.isWebWorker)this._sc...
    method triggerCallback (line 6) | triggerCallback(a){let m=this._callbackMap[a];delete this._callbackMap...
    method triggerErrorback (line 6) | triggerErrorback(a,m){let e=this._callbackMap[a];delete this._callback...
    method constructor (line 8) | constructor(c){let a=c.lastIndexOf("/");a!==-1?this.fromModulePath=c.s...
    method _normalizeModuleId (line 8) | static _normalizeModuleId(c){let a=c,m;for(m=/\/\.\//;m.test(a);)a=a.r...
    method resolveModule (line 8) | resolveModule(c){let a=c;return W.Utilities.isAbsolutePath(a)||(W.Util...
  class i (line 6) | class i{constructor(d){this._events=[new n(1,"",d)]}record(d,f){this._ev...
    method constructor (line 6) | constructor(d){this._events=[new n(1,"",d)]}
    method record (line 6) | record(d,f){this._events.push(new n(d,f,W.Utilities.getHighPerformance...
    method getEvents (line 6) | getEvents(){return this._events}
    method validateConfigurationOptions (line 6) | static validateConfigurationOptions(d){function f(p){if(p.phase==="loa...
    method mergeConfigurationOptions (line 6) | static mergeConfigurationOptions(d=null,f=null){let p=W.Utilities.recu...
    method attachListeners (line 6) | attachListeners(a,m,e){let h=()=>{a.removeEventListener("load",r),a.re...
    method load (line 6) | load(a,m,e,h){if(/^node\|/.test(m)){let r=a.getConfig().getOptionsLite...
    method constructor (line 8) | constructor(c,a,m,e,h,r){this.id=c,this.strId=a,this.dependencies=m,th...
    method _safeInvokeFunction (line 8) | static _safeInvokeFunction(c,a){try{return{returnedValue:c.apply(W.glo...
    method _invokeFactory (line 8) | static _invokeFactory(c,a,m,e){return c.shouldInvokeFactory(a)?c.shoul...
    method complete (line 8) | complete(c,a,m,e){this._isComplete=!0;let h=null;if(this._callback)if(...
    method onDependencyError (line 8) | onDependencyError(c){return this._isComplete=!0,this.error=c,this._err...
    method isComplete (line 8) | isComplete(){return this._isComplete}
    method constructor (line 11) | constructor(A,d,f,p){this.originalStart=A,this.originalLength=d,this.m...
    method getOriginalEnd (line 11) | getOriginalEnd(){return this.originalStart+this.originalLength}
    method getModifiedEnd (line 11) | getModifiedEnd(){return this.modifiedStart+this.modifiedLength}
    method constructor (line 11) | constructor(){this.listeners=[],this.unexpectedErrorHandler=function(u...
    method emit (line 15) | emit(u){this.listeners.forEach(S=>{S(u)})}
    method onUnexpectedError (line 15) | onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}
    method onUnexpectedExternalError (line 15) | onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}
    method constructor (line 15) | constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(n...
    method define (line 15) | define(h,r){this._keyCodeToStr[h]=r,this._strToKeyCode[r.toLowerCase()...
    method keyCodeToStr (line 15) | keyCodeToStr(h){return this._keyCodeToStr[h]}
    method strToKeyCode (line 15) | strToKeyCode(h){return this._strToKeyCode[h.toLowerCase()]||0}
    method constructor (line 15) | constructor(A){this.executor=A,this._didRun=!1}
    method value (line 15) | get value(){if(!this._didRun)try{this._value=this.executor()}catch(A){...
    method rawValue (line 15) | get rawValue(){return this._value}
    method constructor (line 15) | constructor(d){this.element=d,this.next=i.Undefined,this.prev=i.Undefi...
    method constructor (line 20) | constructor(A,d){this.lineNumber=A,this.column=d}
    method with (line 20) | with(A=this.lineNumber,d=this.column){return A===this.lineNumber&&d===...
    method delta (line 20) | delta(A=0,d=0){return this.with(this.lineNumber+A,this.column+d)}
    method equals (line 20) | equals(A){return i.equals(this,A)}
    method equals (line 20) | static equals(A,d){return!A&&!d?!0:!!A&&!!d&&A.lineNumber===d.lineNumb...
    method isBefore (line 20) | isBefore(A){return i.isBefore(this,A)}
    method isBefore (line 20) | static isBefore(A,d){return A.lineNumber<d.lineNumber?!0:d.lineNumber<...
    method isBeforeOrEqual (line 20) | isBeforeOrEqual(A){return i.isBeforeOrEqual(this,A)}
    method isBeforeOrEqual (line 20) | static isBeforeOrEqual(A,d){return A.lineNumber<d.lineNumber?!0:d.line...
    method compare (line 20) | static compare(A,d){const f=A.lineNumber|0,p=d.lineNumber|0;if(f===p){...
    method clone (line 20) | clone(){return new i(this.lineNumber,this.column)}
    method toString (line 20) | toString(){return"("+this.lineNumber+","+this.column+")"}
    method lift (line 20) | static lift(A){return new i(A.lineNumber,A.column)}
    method isIPosition (line 20) | static isIPosition(A){return A&&typeof A.lineNumber=="number"&&typeof ...
    method toJSON (line 20) | toJSON(){return{lineNumber:this.lineNumber,column:this.column}}
    method constructor (line 22) | constructor(d,f){this.trimmedHash=d,this.lines=f}
    method getElement (line 22) | getElement(d){return this.trimmedHash[d]}
    method length (line 22) | get length(){return this.trimmedHash.length}
    method getBoundaryScore (line 22) | getBoundaryScore(d){const f=d===0?0:x(this.lines[d-1]),p=d===this.line...
    method getText (line 22) | getText(d){return this.lines.slice(d.start,d.endExclusive).join(`
    method isStronglyEqual (line 23) | isStronglyEqual(d,f){return this.lines[d]===this.lines[f]}
    method constructor (line 23) | constructor(f,p){this.width=f,this.height=p,this.array=[],this.array=n...
    method get (line 23) | get(f,p){return this.array[f+p*this.width]}
    method set (line 23) | set(f,p,c){this.array[f+p*this.width]=c}
    method constructor (line 24) | constructor(d,f,p){this.changes=d,this.moves=f,this.hitTimeout=p}
    method constructor (line 25) | constructor(){this._defaultValueSet=[["true","false"],["True","False"]...
    method navigateValueSet (line 25) | navigateValueSet(A,d,f,p,c){if(A&&d){const a=this.doNavigateValueSet(d...
    method doNavigateValueSet (line 25) | doNavigateValueSet(A,d){const f=this.numberReplace(A,d);return f!==nul...
    method numberReplace (line 25) | numberReplace(A,d){const f=Math.pow(10,A.length-(A.lastIndexOf(".")+1)...
    method textReplace (line 25) | textReplace(A,d){return this.valueSetsReplace(this._defaultValueSet,A,d)}
    method valueSetsReplace (line 25) | valueSetsReplace(A,d,f){let p=null;for(let c=0,a=A.length;p===null&&c<...
    method valueSetReplace (line 25) | valueSetReplace(A,d,f){let p=A.indexOf(d);return p>=0?(p+=f?1:-1,p<0?p...
    method getChannel (line 28) | static getChannel(A){return A.getChannel(i.CHANNEL_NAME)}
    method setChannel (line 28) | static setChannel(A,d){A.setChannel(i.CHANNEL_NAME,d)}
  class x (line 6) | class x{record(d,f){}getEvents(){return[]}}
    method record (line 6) | record(d,f){}
    method getEvents (line 6) | getEvents(){return[]}
    method constructor (line 6) | constructor(d,f){if(this._env=d,this.options=i.mergeConfigurationOptio...
    method _createIgnoreDuplicateModulesMap (line 6) | _createIgnoreDuplicateModulesMap(){this.ignoreDuplicateModulesMap={};f...
    method _createSortedPathsRules (line 6) | _createSortedPathsRules(){this.sortedPathsRules=[],W.Utilities.forEach...
    method cloneAndMerge (line 6) | cloneAndMerge(d){return new x(this._env,i.mergeConfigurationOptions(d,...
    method getOptionsLiteral (line 6) | getOptionsLiteral(){return this.options}
    method _applyPaths (line 6) | _applyPaths(d){let f;for(let p=0,c=this.sortedPathsRules.length;p<c;p+...
    method _addUrlArgsToUrl (line 6) | _addUrlArgsToUrl(d){return W.Utilities.containsQueryString(d)?d+"&"+th...
    method _addUrlArgsIfNecessaryToUrl (line 6) | _addUrlArgsIfNecessaryToUrl(d){return this.options.urlArgs?this._addUr...
    method _addUrlArgsIfNecessaryToUrls (line 6) | _addUrlArgsIfNecessaryToUrls(d){if(this.options.urlArgs)for(let f=0,p=...
    method moduleIdToPaths (line 6) | moduleIdToPaths(d){if(this._env.isNode&&this.options.amdModulesPattern...
    method requireToUrl (line 6) | requireToUrl(d){let f=d;return W.Utilities.isAbsolutePath(f)||(f=this....
    method isBuild (line 6) | isBuild(){return this.options.isBuild}
    method shouldInvokeFactory (line 6) | shouldInvokeFactory(d){return!!(!this.options.isBuild||W.Utilities.isA...
    method isDuplicateMessageIgnoredFor (line 6) | isDuplicateMessageIgnoredFor(d){return this.ignoreDuplicateModulesMap....
    method getConfigForModule (line 6) | getConfigForModule(d){if(this.options.config)return this.options.confi...
    method shouldCatchError (line 6) | shouldCatchError(){return this.options.catchError}
    method shouldRecordStats (line 6) | shouldRecordStats(){return this.options.recordStats}
    method onError (line 6) | onError(d){this.options.onError(d)}
    method constructor (line 8) | constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,th...
    method getMaxModuleId (line 8) | getMaxModuleId(){return this._nextId}
    method getModuleId (line 8) | getModuleId(c){let a=this._strModuleIdToIntModuleId.get(c);return type...
    method getStrModuleId (line 8) | getStrModuleId(c){return this._intModuleIdToStrModuleId[c]}
    method constructor (line 11) | constructor(f,p){this.lastCache=void 0,this.lastArgKey=void 0,typeof f...
    method get (line 11) | get(f){const p=this._computeKey(f);return this.lastArgKey!==p&&(this.l...
    method constructor (line 11) | constructor(c,a,m,e=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math...
    method equals (line 11) | static equals(c,a){return c.r===a.r&&c.g===a.g&&c.b===a.b&&c.a===a.a}
    method constructor (line 15) | constructor(){this._first=i.Undefined,this._last=i.Undefined,this._siz...
    method size (line 15) | get size(){return this._size}
    method isEmpty (line 15) | isEmpty(){return this._first===i.Undefined}
    method clear (line 15) | clear(){let d=this._first;for(;d!==i.Undefined;){const f=d.next;d.prev...
    method unshift (line 15) | unshift(d){return this._insert(d,!1)}
    method push (line 15) | push(d){return this._insert(d,!0)}
    method _insert (line 15) | _insert(d,f){const p=new i(d);if(this._first===i.Undefined)this._first...
    method shift (line 15) | shift(){if(this._first!==i.Undefined){const d=this._first.element;retu...
    method pop (line 15) | pop(){if(this._last!==i.Undefined){const d=this._last.element;return t...
    method _remove (line 15) | _remove(d){if(d.prev!==i.Undefined&&d.next!==i.Undefined){const f=d.pr...
    method create (line 15) | static create(d){return new x(d)}
    method constructor (line 15) | constructor(d){this._now=i&&d===!1?Date.now:globalThis.performance.now...
    method stop (line 15) | stop(){this._stopTime=this._now()}
    method reset (line 15) | reset(){this._startTime=this._now(),this._stopTime=-1}
    method elapsed (line 15) | elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:th...
    method constructor (line 20) | constructor(f){const p=(0,i.toUint8)(f);this._defaultValue=p,this._asc...
    method _createAsciiMap (line 20) | static _createAsciiMap(f){const p=new Uint8Array(256);return p.fill(f),p}
    method set (line 20) | set(f,p){const c=(0,i.toUint8)(p);f>=0&&f<256?this._asciiMap[f]=c:this...
    method get (line 20) | get(f){return f>=0&&f<256?this._asciiMap[f]:this._map.get(f)||this._de...
    method clear (line 20) | clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}
    method addRange (line 20) | static addRange(f,p){let c=0;for(;c<p.length&&p[c].endExclusive<f.star...
    method tryCreate (line 20) | static tryCreate(f,p){if(!(f>p))return new x(f,p)}
    method ofLength (line 20) | static ofLength(f){return new x(0,f)}
    method ofStartAndLength (line 20) | static ofStartAndLength(f,p){return new x(f,f+p)}
    method constructor (line 20) | constructor(f,p){if(this.start=f,this.endExclusive=p,f>p)throw new i.B...
    method isEmpty (line 20) | get isEmpty(){return this.start===this.endExclusive}
    method delta (line 20) | delta(f){return new x(this.start+f,this.endExclusive+f)}
    method deltaStart (line 20) | deltaStart(f){return new x(this.start+f,this.endExclusive)}
    method deltaEnd (line 20) | deltaEnd(f){return new x(this.start,this.endExclusive+f)}
    method length (line 20) | get length(){return this.endExclusive-this.start}
    method toString (line 20) | toString(){return`[${this.start}, ${this.endExclusive})`}
    method contains (line 20) | contains(f){return this.start<=f&&f<this.endExclusive}
    method join (line 20) | join(f){return new x(Math.min(this.start,f.start),Math.max(this.endExc...
    method intersect (line 20) | intersect(f){const p=Math.max(this.start,f.start),c=Math.min(this.endE...
    method intersects (line 20) | intersects(f){const p=Math.max(this.start,f.start),c=Math.min(this.end...
    method isBefore (line 20) | isBefore(f){return this.endExclusive<=f.start}
    method isAfter (line 20) | isAfter(f){return this.start>=f.endExclusive}
    method slice (line 20) | slice(f){return f.slice(this.start,this.endExclusive)}
    method substring (line 20) | substring(f){return f.substring(this.start,this.endExclusive)}
    method clip (line 20) | clip(f){if(this.isEmpty)throw new i.BugIndicatingError(`Invalid clippi...
    method clipCyclic (line 20) | clipCyclic(f){if(this.isEmpty)throw new i.BugIndicatingError(`Invalid ...
    method forEach (line 20) | forEach(f){for(let p=this.start;p<this.endExclusive;p++)f(p)}
    method constructor (line 20) | constructor(d,f,p,c){d>p||d===p&&f>c?(this.startLineNumber=p,this.star...
    method isEmpty (line 20) | isEmpty(){return x.isEmpty(this)}
    method isEmpty (line 20) | static isEmpty(d){return d.startLineNumber===d.endLineNumber&&d.startC...
    method containsPosition (line 20) | containsPosition(d){return x.containsPosition(this,d)}
    method containsPosition (line 20) | static containsPosition(d,f){return!(f.lineNumber<d.startLineNumber||f...
    method strictContainsPosition (line 20) | static strictContainsPosition(d,f){return!(f.lineNumber<d.startLineNum...
    method containsRange (line 20) | containsRange(d){return x.containsRange(this,d)}
    method containsRange (line 20) | static containsRange(d,f){return!(f.startLineNumber<d.startLineNumber|...
    method strictContainsRange (line 20) | strictContainsRange(d){return x.strictContainsRange(this,d)}
    method strictContainsRange (line 20) | static strictContainsRange(d,f){return!(f.startLineNumber<d.startLineN...
    method plusRange (line 20) | plusRange(d){return x.plusRange(this,d)}
    method plusRange (line 20) | static plusRange(d,f){let p,c,a,m;return f.startLineNumber<d.startLine...
    method intersectRanges (line 20) | intersectRanges(d){return x.intersectRanges(this,d)}
    method intersectRanges (line 20) | static intersectRanges(d,f){let p=d.startLineNumber,c=d.startColumn,a=...
    method equalsRange (line 20) | equalsRange(d){return x.equalsRange(this,d)}
    method equalsRange (line 20) | static equalsRange(d,f){return!d&&!f?!0:!!d&&!!f&&d.startLineNumber===...
    method getEndPosition (line 20) | getEndPosition(){return x.getEndPosition(this)}
    method getEndPosition (line 20) | static getEndPosition(d){return new i.Position(d.endLineNumber,d.endCo...
    method getStartPosition (line 20) | getStartPosition(){return x.getStartPosition(this)}
    method getStartPosition (line 20) | static getStartPosition(d){return new i.Position(d.startLineNumber,d.s...
    method toString (line 20) | toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+...
    method setEndPosition (line 20) | setEndPosition(d,f){return new x(this.startLineNumber,this.startColumn...
    method setStartPosition (line 20) | setStartPosition(d,f){return new x(d,f,this.endLineNumber,this.endColu...
    method collapseToStart (line 20) | collapseToStart(){return x.collapseToStart(this)}
    method collapseToStart (line 20) | static collapseToStart(d){return new x(d.startLineNumber,d.startColumn...
    method collapseToEnd (line 20) | collapseToEnd(){return x.collapseToEnd(this)}
    method collapseToEnd (line 20) | static collapseToEnd(d){return new x(d.endLineNumber,d.endColumn,d.end...
    method delta (line 20) | delta(d){return new x(this.startLineNumber+d,this.startColumn,this.end...
    method fromPositions (line 20) | static fromPositions(d,f=d){return new x(d.lineNumber,d.column,f.lineN...
    method lift (line 20) | static lift(d){return d?new x(d.startLineNumber,d.startColumn,d.endLin...
    method isIRange (line 20) | static isIRange(d){return d&&typeof d.startLineNumber=="number"&&typeo...
    method areIntersectingOrTouching (line 20) | static areIntersectingOrTouching(d,f){return!(d.endLineNumber<f.startL...
    method areIntersecting (line 20) | static areIntersecting(d,f){return!(d.endLineNumber<f.startLineNumber|...
    method compareRangesUsingStarts (line 20) | static compareRangesUsingStarts(d,f){if(d&&f){const a=d.startLineNumbe...
    method compareRangesUsingEnds (line 20) | static compareRangesUsingEnds(d,f){return d.endLineNumber===f.endLineN...
    method spansMultipleLines (line 20) | static spansMultipleLines(d){return d.endLineNumber>d.startLineNumber}
    method toJSON (line 20) | toJSON(){return this}
    method constructor (line 24) | constructor(d,f){this.lineRangeMapping=d,this.changes=f}
    method constructor (line 25) | constructor(h,r,s){const o=new Uint8Array(h*r);for(let u=0,S=h*r;u<S;u...
    method get (line 25) | get(h,r){return this._data[h*this.cols+r]}
    method set (line 25) | set(h,r,s){this._data[h*this.cols+r]=s}
  class n (line 6) | class n{static fileUriToFilePath(x,A){if(A=decodeURI(A).replace(/%23/g,"...
    method isWindows (line 6) | get isWindows(){return this._detect(),this._isWindows}
    method isNode (line 6) | get isNode(){return this._detect(),this._isNode}
    method isElectronRenderer (line 6) | get isElectronRenderer(){return this._detect(),this._isElectronRenderer}
    method isWebWorker (line 6) | get isWebWorker(){return this._detect(),this._isWebWorker}
    method isElectronNodeIntegrationWebWorker (line 6) | get isElectronNodeIntegrationWebWorker(){return this._detect(),this._i...
    method constructor (line 6) | constructor(){this._detected=!1,this._isWindows=!1,this._isNode=!1,thi...
    method _detect (line 6) | _detect(){this._detected||(this._detected=!0,this._isWindows=n._isWind...
    method _isWindows (line 6) | static _isWindows(){return typeof navigator<"u"&&navigator.userAgent&&...
    method constructor (line 6) | constructor(d,f,p){this.type=d,this.detail=f,this.timestamp=p}
    method fileUriToFilePath (line 6) | static fileUriToFilePath(x,A){if(A=decodeURI(A).replace(/%23/g,"#"),x)...
    method startsWith (line 6) | static startsWith(x,A){return x.length>=A.length&&x.substr(0,A.length)...
    method endsWith (line 6) | static endsWith(x,A){return x.length>=A.length&&x.substr(x.length-A.le...
    method containsQueryString (line 6) | static containsQueryString(x){return/^[^\#]*\?/gi.test(x)}
    method isAbsolutePath (line 6) | static isAbsolutePath(x){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)...
    method forEachProperty (line 6) | static forEachProperty(x,A){if(x){let d;for(d in x)x.hasOwnProperty(d)...
    method isEmpty (line 6) | static isEmpty(x){let A=!0;return n.forEachProperty(x,()=>{A=!1}),A}
    method recursiveClone (line 6) | static recursiveClone(x){if(!x||typeof x!="object"||x instanceof RegEx...
    method generateAnonymousModule (line 6) | static generateAnonymousModule(){return"===anonymous"+n.NEXT_ANONYMOUS...
    method isAnonymousModule (line 6) | static isAnonymousModule(x){return n.startsWith(x,"===anonymous")}
    method getHighPerformanceTimestamp (line 6) | static getHighPerformanceTimestamp(){return this.PERFORMANCE_NOW_PROBE...
    method constructor (line 6) | constructor(a){this._env=a,this._scriptLoader=null,this._callbackMap={}}
    method load (line 6) | load(a,m,e,h){if(!this._scriptLoader)if(this._env.isWebWorker)this._sc...
    method triggerCallback (line 6) | triggerCallback(a){let m=this._callbackMap[a];delete this._callbackMap...
    method triggerErrorback (line 6) | triggerErrorback(a,m){let e=this._callbackMap[a];delete this._callback...
    method constructor (line 8) | constructor(c){let a=c.lastIndexOf("/");a!==-1?this.fromModulePath=c.s...
    method _normalizeModuleId (line 8) | static _normalizeModuleId(c){let a=c,m;for(m=/\/\.\//;m.test(a);)a=a.r...
    method resolveModule (line 8) | resolveModule(c){let a=c;return W.Utilities.isAbsolutePath(a)||(W.Util...
  function n (line 6) | function n(A){if(A instanceof Error)return A;const d=new Error(A.message...
    method isWindows (line 6) | get isWindows(){return this._detect(),this._isWindows}
    method isNode (line 6) | get isNode(){return this._detect(),this._isNode}
    method isElectronRenderer (line 6) | get isElectronRenderer(){return this._detect(),this._isElectronRenderer}
    method isWebWorker (line 6) | get isWebWorker(){return this._detect(),this._isWebWorker}
    method isElectronNodeIntegrationWebWorker (line 6) | get isElectronNodeIntegrationWebWorker(){return this._detect(),this._i...
    method constructor (line 6) | constructor(){this._detected=!1,this._isWindows=!1,this._isNode=!1,thi...
    method _detect (line 6) | _detect(){this._detected||(this._detected=!0,this._isWindows=n._isWind...
    method _isWindows (line 6) | static _isWindows(){return typeof navigator<"u"&&navigator.userAgent&&...
    method constructor (line 6) | constructor(d,f,p){this.type=d,this.detail=f,this.timestamp=p}
    method fileUriToFilePath (line 6) | static fileUriToFilePath(x,A){if(A=decodeURI(A).replace(/%23/g,"#"),x)...
    method startsWith (line 6) | static startsWith(x,A){return x.length>=A.length&&x.substr(0,A.length)...
    method endsWith (line 6) | static endsWith(x,A){return x.length>=A.length&&x.substr(x.length-A.le...
    method containsQueryString (line 6) | static containsQueryString(x){return/^[^\#]*\?/gi.test(x)}
    method isAbsolutePath (line 6) | static isAbsolutePath(x){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)...
    method forEachProperty (line 6) | static forEachProperty(x,A){if(x){let d;for(d in x)x.hasOwnProperty(d)...
    method isEmpty (line 6) | static isEmpty(x){let A=!0;return n.forEachProperty(x,()=>{A=!1}),A}
    method recursiveClone (line 6) | static recursiveClone(x){if(!x||typeof x!="object"||x instanceof RegEx...
    method generateAnonymousModule (line 6) | static generateAnonymousModule(){return"===anonymous"+n.NEXT_ANONYMOUS...
    method isAnonymousModule (line 6) | static isAnonymousModule(x){return n.startsWith(x,"===anonymous")}
    method getHighPerformanceTimestamp (line 6) | static getHighPerformanceTimestamp(){return this.PERFORMANCE_NOW_PROBE...
    method constructor (line 6) | constructor(a){this._env=a,this._scriptLoader=null,this._callbackMap={}}
    method load (line 6) | load(a,m,e,h){if(!this._scriptLoader)if(this._env.isWebWorker)this._sc...
    method triggerCallback (line 6) | triggerCallback(a){let m=this._callbackMap[a];delete this._callbackMap...
    method triggerErrorback (line 6) | triggerErrorback(a,m){let e=this._callbackMap[a];delete this._callback...
    method constructor (line 8) | constructor(c){let a=c.lastIndexOf("/");a!==-1?this.fromModulePath=c.s...
    method _normalizeModuleId (line 8) | static _normalizeModuleId(c){let a=c,m;for(m=/\/\.\//;m.test(a);)a=a.r...
    method resolveModule (line 8) | resolveModule(c){let a=c;return W.Utilities.isAbsolutePath(a)||(W.Util...
  class i (line 6) | class i{static validateConfigurationOptions(d){function f(p){if(p.phase=...
    method constructor (line 6) | constructor(d){this._events=[new n(1,"",d)]}
    method record (line 6) | record(d,f){this._events.push(new n(d,f,W.Utilities.getHighPerformance...
    method getEvents (line 6) | getEvents(){return this._events}
    method validateConfigurationOptions (line 6) | static validateConfigurationOptions(d){function f(p){if(p.phase==="loa...
    method mergeConfigurationOptions (line 6) | static mergeConfigurationOptions(d=null,f=null){let p=W.Utilities.recu...
    method attachListeners (line 6) | attachListeners(a,m,e){let h=()=>{a.removeEventListener("load",r),a.re...
    method load (line 6) | load(a,m,e,h){if(/^node\|/.test(m)){let r=a.getConfig().getOptionsLite...
    method constructor (line 8) | constructor(c,a,m,e,h,r){this.id=c,this.strId=a,this.dependencies=m,th...
    method _safeInvokeFunction (line 8) | static _safeInvokeFunction(c,a){try{return{returnedValue:c.apply(W.glo...
    method _invokeFactory (line 8) | static _invokeFactory(c,a,m,e){return c.shouldInvokeFactory(a)?c.shoul...
    method complete (line 8) | complete(c,a,m,e){this._isComplete=!0;let h=null;if(this._callback)if(...
    method onDependencyError (line 8) | onDependencyError(c){return this._isComplete=!0,this.error=c,this._err...
    method isComplete (line 8) | isComplete(){return this._isComplete}
    method constructor (line 11) | constructor(A,d,f,p){this.originalStart=A,this.originalLength=d,this.m...
    method getOriginalEnd (line 11) | getOriginalEnd(){return this.originalStart+this.originalLength}
    method getModifiedEnd (line 11) | getModifiedEnd(){return this.modifiedStart+this.modifiedLength}
    method constructor (line 11) | constructor(){this.listeners=[],this.unexpectedErrorHandler=function(u...
    method emit (line 15) | emit(u){this.listeners.forEach(S=>{S(u)})}
    method onUnexpectedError (line 15) | onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}
    method onUnexpectedExternalError (line 15) | onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}
    method constructor (line 15) | constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(n...
    method define (line 15) | define(h,r){this._keyCodeToStr[h]=r,this._strToKeyCode[r.toLowerCase()...
    method keyCodeToStr (line 15) | keyCodeToStr(h){return this._keyCodeToStr[h]}
    method strToKeyCode (line 15) | strToKeyCode(h){return this._strToKeyCode[h.toLowerCase()]||0}
    method constructor (line 15) | constructor(A){this.executor=A,this._didRun=!1}
    method value (line 15) | get value(){if(!this._didRun)try{this._value=this.executor()}catch(A){...
    method rawValue (line 15) | get rawValue(){return this._value}
    method constructor (line 15) | constructor(d){this.element=d,this.next=i.Undefined,this.prev=i.Undefi...
    method constructor (line 20) | constructor(A,d){this.lineNumber=A,this.column=d}
    method with (line 20) | with(A=this.lineNumber,d=this.column){return A===this.lineNumber&&d===...
    method delta (line 20) | delta(A=0,d=0){return this.with(this.lineNumber+A,this.column+d)}
    method equals (line 20) | equals(A){return i.equals(this,A)}
    method equals (line 20) | static equals(A,d){return!A&&!d?!0:!!A&&!!d&&A.lineNumber===d.lineNumb...
    method isBefore (line 20) | isBefore(A){return i.isBefore(this,A)}
    method isBefore (line 20) | static isBefore(A,d){return A.lineNumber<d.lineNumber?!0:d.lineNumber<...
    method isBeforeOrEqual (line 20) | isBeforeOrEqual(A){return i.isBeforeOrEqual(this,A)}
    method isBeforeOrEqual (line 20) | static isBeforeOrEqual(A,d){return A.lineNumber<d.lineNumber?!0:d.line...
    method compare (line 20) | static compare(A,d){const f=A.lineNumber|0,p=d.lineNumber|0;if(f===p){...
    method clone (line 20) | clone(){return new i(this.lineNumber,this.column)}
    method toString (line 20) | toString(){return"("+this.lineNumber+","+this.column+")"}
    method lift (line 20) | static lift(A){return new i(A.lineNumber,A.column)}
    method isIPosition (line 20) | static isIPosition(A){return A&&typeof A.lineNumber=="number"&&typeof ...
    method toJSON (line 20) | toJSON(){return{lineNumber:this.lineNumber,column:this.column}}
    method constructor (line 22) | constructor(d,f){this.trimmedHash=d,this.lines=f}
    method getElement (line 22) | getElement(d){return this.trimmedHash[d]}
    method length (line 22) | get length(){return this.trimmedHash.length}
    method getBoundaryScore (line 22) | getBoundaryScore(d){const f=d===0?0:x(this.lines[d-1]),p=d===this.line...
    method getText (line 22) | getText(d){return this.lines.slice(d.start,d.endExclusive).join(`
    method isStronglyEqual (line 23) | isStronglyEqual(d,f){return this.lines[d]===this.lines[f]}
    method constructor (line 23) | constructor(f,p){this.width=f,this.height=p,this.array=[],this.array=n...
    method get (line 23) | get(f,p){return this.array[f+p*this.width]}
    method set (line 23) | set(f,p,c){this.array[f+p*this.width]=c}
    method constructor (line 24) | constructor(d,f,p){this.changes=d,this.moves=f,this.hitTimeout=p}
    method constructor (line 25) | constructor(){this._defaultValueSet=[["true","false"],["True","False"]...
    method navigateValueSet (line 25) | navigateValueSet(A,d,f,p,c){if(A&&d){const a=this.doNavigateValueSet(d...
    method doNavigateValueSet (line 25) | doNavigateValueSet(A,d){const f=this.numberReplace(A,d);return f!==nul...
    method numberReplace (line 25) | numberReplace(A,d){const f=Math.pow(10,A.length-(A.lastIndexOf(".")+1)...
    method textReplace (line 25) | textReplace(A,d){return this.valueSetsReplace(this._defaultValueSet,A,d)}
    method valueSetsReplace (line 25) | valueSetsReplace(A,d,f){let p=null;for(let c=0,a=A.length;p===null&&c<...
    method valueSetReplace (line 25) | valueSetReplace(A,d,f){let p=A.indexOf(d);return p>=0?(p+=f?1:-1,p<0?p...
    method getChannel (line 28) | static getChannel(A){return A.getChannel(i.CHANNEL_NAME)}
    method setChannel (line 28) | static setChannel(A,d){A.setChannel(i.CHANNEL_NAME,d)}
  class x (line 6) | class x{constructor(d,f){if(this._env=d,this.options=i.mergeConfiguratio...
    method record (line 6) | record(d,f){}
    method getEvents (line 6) | getEvents(){return[]}
    method constructor (line 6) | constructor(d,f){if(this._env=d,this.options=i.mergeConfigurationOptio...
    method _createIgnoreDuplicateModulesMap (line 6) | _createIgnoreDuplicateModulesMap(){this.ignoreDuplicateModulesMap={};f...
    method _createSortedPathsRules (line 6) | _createSortedPathsRules(){this.sortedPathsRules=[],W.Utilities.forEach...
    method cloneAndMerge (line 6) | cloneAndMerge(d){return new x(this._env,i.mergeConfigurationOptions(d,...
    method getOptionsLiteral (line 6) | getOptionsLiteral(){return this.options}
    method _applyPaths (line 6) | _applyPaths(d){let f;for(let p=0,c=this.sortedPathsRules.length;p<c;p+...
    method _addUrlArgsToUrl (line 6) | _addUrlArgsToUrl(d){return W.Utilities.containsQueryString(d)?d+"&"+th...
    method _addUrlArgsIfNecessaryToUrl (line 6) | _addUrlArgsIfNecessaryToUrl(d){return this.options.urlArgs?this._addUr...
    method _addUrlArgsIfNecessaryToUrls (line 6) | _addUrlArgsIfNecessaryToUrls(d){if(this.options.urlArgs)for(let f=0,p=...
    method moduleIdToPaths (line 6) | moduleIdToPaths(d){if(this._env.isNode&&this.options.amdModulesPattern...
    method requireToUrl (line 6) | requireToUrl(d){let f=d;return W.Utilities.isAbsolutePath(f)||(f=this....
    method isBuild (line 6) | isBuild(){return this.options.isBuild}
    method shouldInvokeFactory (line 6) | shouldInvokeFactory(d){return!!(!this.options.isBuild||W.Utilities.isA...
    method isDuplicateMessageIgnoredFor (line 6) | isDuplicateMessageIgnoredFor(d){return this.ignoreDuplicateModulesMap....
    method getConfigForModule (line 6) | getConfigForModule(d){if(this.options.config)return this.options.confi...
    method shouldCatchError (line 6) | shouldCatchError(){return this.options.catchError}
    method shouldRecordStats (line 6) | shouldRecordStats(){return this.options.recordStats}
    method onError (line 6) | onError(d){this.options.onError(d)}
    method constructor (line 8) | constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,th...
    method getMaxModuleId (line 8) | getMaxModuleId(){return this._nextId}
    method getModuleId (line 8) | getModuleId(c){let a=this._strModuleIdToIntModuleId.get(c);return type...
    method getStrModuleId (line 8) | getStrModuleId(c){return this._intModuleIdToStrModuleId[c]}
    method constructor (line 11) | constructor(f,p){this.lastCache=void 0,this.lastArgKey=void 0,typeof f...
    method get (line 11) | get(f){const p=this._computeKey(f);return this.lastArgKey!==p&&(this.l...
    method constructor (line 11) | constructor(c,a,m,e=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math...
    method equals (line 11) | static equals(c,a){return c.r===a.r&&c.g===a.g&&c.b===a.b&&c.a===a.a}
    method constructor (line 15) | constructor(){this._first=i.Undefined,this._last=i.Undefined,this._siz...
    method size (line 15) | get size(){return this._size}
    method isEmpty (line 15) | isEmpty(){return this._first===i.Undefined}
    method clear (line 15) | clear(){let d=this._first;for(;d!==i.Undefined;){const f=d.next;d.prev...
    method unshift (line 15) | unshift(d){return this._insert(d,!1)}
    method push (line 15) | push(d){return this._insert(d,!0)}
    method _insert (line 15) | _insert(d,f){const p=new i(d);if(this._first===i.Undefined)this._first...
    method shift (line 15) | shift(){if(this._first!==i.Undefined){const d=this._first.element;retu...
    method pop (line 15) | pop(){if(this._last!==i.Undefined){const d=this._last.element;return t...
    method _remove (line 15) | _remove(d){if(d.prev!==i.Undefined&&d.next!==i.Undefined){const f=d.pr...
    method create (line 15) | static create(d){return new x(d)}
    method constructor (line 15) | constructor(d){this._now=i&&d===!1?Date.now:globalThis.performance.now...
    method stop (line 15) | stop(){this._stopTime=this._now()}
    method reset (line 15) | reset(){this._startTime=this._now(),this._stopTime=-1}
    method elapsed (line 15) | elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:th...
    method constructor (line 20) | constructor(f){const p=(0,i.toUint8)(f);this._defaultValue=p,this._asc...
    method _createAsciiMap (line 20) | static _createAsciiMap(f){const p=new Uint8Array(256);return p.fill(f),p}
    method set (line 20) | set(f,p){const c=(0,i.toUint8)(p);f>=0&&f<256?this._asciiMap[f]=c:this...
    method get (line 20) | get(f){return f>=0&&f<256?this._asciiMap[f]:this._map.get(f)||this._de...
    method clear (line 20) | clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}
    method addRange (line 20) | static addRange(f,p){let c=0;for(;c<p.length&&p[c].endExclusive<f.star...
    method tryCreate (line 20) | static tryCreate(f,p){if(!(f>p))return new x(f,p)}
    method ofLength (line 20) | static ofLength(f){return new x(0,f)}
    method ofStartAndLength (line 20) | static ofStartAndLength(f,p){return new x(f,f+p)}
    method constructor (line 20) | constructor(f,p){if(this.start=f,this.endExclusive=p,f>p)throw new i.B...
    method isEmpty (line 20) | get isEmpty(){return this.start===this.endExclusive}
    method delta (line 20) | delta(f){return new x(this.start+f,this.endExclusive+f)}
    method deltaStart (line 20) | deltaStart(f){return new x(this.start+f,this.endExclusive)}
    method deltaEnd (line 20) | deltaEnd(f){return new x(this.start,this.endExclusive+f)}
    method length (line 20) | get length(){return this.endExclusive-this.start}
    method toString (line 20) | toString(){return`[${this.start}, ${this.endExclusive})`}
    method contains (line 20) | contains(f){return this.start<=f&&f<this.endExclusive}
    method join (line 20) | join(f){return new x(Math.min(this.start,f.start),Math.max(this.endExc...
    method intersect (line 20) | intersect(f){const p=Math.max(this.start,f.start),c=Math.min(this.endE...
    method intersects (line 20) | intersects(f){const p=Math.max(this.start,f.start),c=Math.min(this.end...
    method isBefore (line 20) | isBefore(f){return this.endExclusive<=f.start}
    method isAfter (line 20) | isAfter(f){return this.start>=f.endExclusive}
    method slice (line 20) | slice(f){return f.slice(this.start,this.endExclusive)}
    method substring (line 20) | substring(f){return f.substring(this.start,this.endExclusive)}
    method clip (line 20) | clip(f){if(this.isEmpty)throw new i.BugIndicatingError(`Invalid clippi...
    method clipCyclic (line 20) | clipCyclic(f){if(this.isEmpty)throw new i.BugIndicatingError(`Invalid ...
    method forEach (line 20) | forEach(f){for(let p=this.start;p<this.endExclusive;p++)f(p)}
    method constructor (line 20) | constructor(d,f,p,c){d>p||d===p&&f>c?(this.startLineNumber=p,this.star...
    method isEmpty (line 20) | isEmpty(){return x.isEmpty(this)}
    method isEmpty (line 20) | static isEmpty(d){return d.startLineNumber===d.endLineNumber&&d.startC...
    method containsPosition (line 20) | containsPosition(d){return x.containsPosition(this,d)}
    method containsPosition (line 20) | static containsPosition(d,f){return!(f.lineNumber<d.startLineNumber||f...
    method strictContainsPosition (line 20) | static strictContainsPosition(d,f){return!(f.lineNumber<d.startLineNum...
    method containsRange (line 20) | containsRange(d){return x.containsRange(this,d)}
    method containsRange (line 20) | static containsRange(d,f){return!(f.startLineNumber<d.startLineNumber|...
    method strictContainsRange (line 20) | strictContainsRange(d){return x.strictContainsRange(this,d)}
    method strictContainsRange (line 20) | static strictContainsRange(d,f){return!(f.startLineNumber<d.startLineN...
    method plusRange (line 20) | plusRange(d){return x.plusRange(this,d)}
    method plusRange (line 20) | static plusRange(d,f){let p,c,a,m;return f.startLineNumber<d.startLine...
    method intersectRanges (line 20) | intersectRanges(d){return x.intersectRanges(this,d)}
    method intersectRanges (line 20) | static intersectRanges(d,f){let p=d.startLineNumber,c=d.startColumn,a=...
    method equalsRange (line 20) | equalsRange(d){return x.equalsRange(this,d)}
    method equalsRange (line 20) | static equalsRange(d,f){return!d&&!f?!0:!!d&&!!f&&d.startLineNumber===...
    method getEndPosition (line 20) | getEndPosition(){return x.getEndPosition(this)}
    method getEndPosition (line 20) | static getEndPosition(d){return new i.Position(d.endLineNumber,d.endCo...
    method getStartPosition (line 20) | getStartPosition(){return x.getStartPosition(this)}
    method getStartPosition (line 20) | static getStartPosition(d){return new i.Position(d.startLineNumber,d.s...
    method toString (line 20) | toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+...
    method setEndPosition (line 20) | setEndPosition(d,f){return new x(this.startLineNumber,this.startColumn...
    method setStartPosition (line 20) | setStartPosition(d,f){return new x(d,f,this.endLineNumber,this.endColu...
    method collapseToStart (line 20) | collapseToStart(){return x.collapseToStart(this)}
    method collapseToStart (line 20) | static collapseToStart(d){return new x(d.startLineNumber,d.startColumn...
    method collapseToEnd (line 20) | collapseToEnd(){return x.collapseToEnd(this)}
    method collapseToEnd (line 20) | static collapseToEnd(d){return new x(d.endLineNumber,d.endColumn,d.end...
    method delta (line 20) | delta(d){return new x(this.startLineNumber+d,this.startColumn,this.end...
    method fromPositions (line 20) | static fromPositions(d,f=d){return new x(d.lineNumber,d.column,f.lineN...
    method lift (line 20) | static lift(d){return d?new x(d.startLineNumber,d.startColumn,d.endLin...
    method isIRange (line 20) | static isIRange(d){return d&&typeof d.startLineNumber=="number"&&typeo...
    method areIntersectingOrTouching (line 20) | static areIntersectingOrTouching(d,f){return!(d.endLineNumber<f.startL...
    method areIntersecting (line 20) | static areIntersecting(d,f){return!(d.endLineNumber<f.startLineNumber|...
    method compareRangesUsingStarts (line 20) | static compareRangesUsingStarts(d,f){if(d&&f){const a=d.startLineNumbe...
    method compareRangesUsingEnds (line 20) | static compareRangesUsingEnds(d,f){return d.endLineNumber===f.endLineN...
    method spansMultipleLines (line 20) | static spansMultipleLines(d){return d.endLineNumber>d.startLineNumber}
    method toJSON (line 20) | toJSON(){return this}
    method constructor (line 24) | constructor(d,f){this.lineRangeMapping=d,this.changes=f}
    method constructor (line 25) | constructor(h,r,s){const o=new Uint8Array(h*r);for(let u=0,S=h*r;u<S;u...
    method get (line 25) | get(h,r){return this._data[h*this.cols+r]}
    method set (line 25) | set(h,r,s){this._data[h*this.cols+r]=s}
  class n (line 6) | class n{constructor(a){this._env=a,this._scriptLoader=null,this._callbac...
    method isWindows (line 6) | get isWindows(){return this._detect(),this._isWindows}
    method isNode (line 6) | get isNode(){return this._detect(),this._isNode}
    method isElectronRenderer (line 6) | get isElectronRenderer(){return this._detect(),this._isElectronRenderer}
    method isWebWorker (line 6) | get isWebWorker(){return this._detect(),this._isWebWorker}
    method isElectronNodeIntegrationWebWorker (line 6) | get isElectronNodeIntegrationWebWorker(){return this._detect(),this._i...
    method constructor (line 6) | constructor(){this._detected=!1,this._isWindows=!1,this._isNode=!1,thi...
    method _detect (line 6) | _detect(){this._detected||(this._detected=!0,this._isWindows=n._isWind...
    method _isWindows (line 6) | static _isWindows(){return typeof navigator<"u"&&navigator.userAgent&&...
    method constructor (line 6) | constructor(d,f,p){this.type=d,this.detail=f,this.timestamp=p}
    method fileUriToFilePath (line 6) | static fileUriToFilePath(x,A){if(A=decodeURI(A).replace(/%23/g,"#"),x)...
    method startsWith (line 6) | static startsWith(x,A){return x.length>=A.length&&x.substr(0,A.length)...
    method endsWith (line 6) | static endsWith(x,A){return x.length>=A.length&&x.substr(x.length-A.le...
    method containsQueryString (line 6) | static containsQueryString(x){return/^[^\#]*\?/gi.test(x)}
    method isAbsolutePath (line 6) | static isAbsolutePath(x){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)...
    method forEachProperty (line 6) | static forEachProperty(x,A){if(x){let d;for(d in x)x.hasOwnProperty(d)...
    method isEmpty (line 6) | static isEmpty(x){let A=!0;return n.forEachProperty(x,()=>{A=!1}),A}
    method recursiveClone (line 6) | static recursiveClone(x){if(!x||typeof x!="object"||x instanceof RegEx...
    method generateAnonymousModule (line 6) | static generateAnonymousModule(){return"===anonymous"+n.NEXT_ANONYMOUS...
    method isAnonymousModule (line 6) | static isAnonymousModule(x){return n.startsWith(x,"===anonymous")}
    method getHighPerformanceTimestamp (line 6) | static getHighPerformanceTimestamp(){return this.PERFORMANCE_NOW_PROBE...
    method constructor (line 6) | constructor(a){this._env=a,this._scriptLoader=null,this._callbackMap={}}
    method load (line 6) | load(a,m,e,h){if(!this._scriptLoader)if(this._env.isWebWorker)this._sc...
    method triggerCallback (line 6) | triggerCallback(a){let m=this._callbackMap[a];delete this._callbackMap...
    method triggerErrorback (line 6) | triggerErrorback(a,m){let e=this._callbackMap[a];delete this._callback...
    method constructor (line 8) | constructor(c){let a=c.lastIndexOf("/");a!==-1?this.fromModulePath=c.s...
    method _normalizeModuleId (line 8) | static _normalizeModuleId(c){let a=c,m;for(m=/\/\.\//;m.test(a);)a=a.r...
    method resolveModule (line 8) | resolveModule(c){let a=c;return W.Utilities.isAbsolutePath(a)||(W.Util...
  class i (line 6) | class i{attachListeners(a,m,e){let h=()=>{a.removeEventListener("load",r...
    method constructor (line 6) | constructor(d){this._events=[new n(1,"",d)]}
    method record (line 6) | record(d,f){this._events.push(new n(d,f,W.Utilities.getHighPerformance...
    method getEvents (line 6) | getEvents(){return this._events}
    method validateConfigurationOptions (line 6) | static validateConfigurationOptions(d){function f(p){if(p.phase==="loa...
    method mergeConfigurationOptions (line 6) | static mergeConfigurationOptions(d=null,f=null){let p=W.Utilities.recu...
    method attachListeners (line 6) | attachListeners(a,m,e){let h=()=>{a.removeEventListener("load",r),a.re...
    method load (line 6) | load(a,m,e,h){if(/^node\|/.test(m)){let r=a.getConfig().getOptionsLite...
    method constructor (line 8) | constructor(c,a,m,e,h,r){this.id=c,this.strId=a,this.dependencies=m,th...
    method _safeInvokeFunction (line 8) | static _safeInvokeFunction(c,a){try{return{returnedValue:c.apply(W.glo...
    method _invokeFactory (line 8) | static _invokeFactory(c,a,m,e){return c.shouldInvokeFactory(a)?c.shoul...
    method complete (line 8) | complete(c,a,m,e){this._isComplete=!0;let h=null;if(this._callback)if(...
    method onDependencyError (line 8) | onDependencyError(c){return this._isComplete=!0,this.error=c,this._err...
    method isComplete (line 8) | isComplete(){return this._isComplete}
    method constructor (line 11) | constructor(A,d,f,p){this.originalStart=A,this.originalLength=d,this.m...
    method getOriginalEnd (line 11) | getOriginalEnd(){return this.originalStart+this.originalLength}
    method getModifiedEnd (line 11) | getModifiedEnd(){return this.modifiedStart+this.modifiedLength}
    method constructor (line 11) | constructor(){this.listeners=[],this.unexpectedErrorHandler=function(u...
    method emit (line 15) | emit(u){this.listeners.forEach(S=>{S(u)})}
    method onUnexpectedError (line 15) | onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}
    method onUnexpectedExternalError (line 15) | onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}
    method constructor (line 15) | constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(n...
    method define (line 15) | define(h,r){this._keyCodeToStr[h]=r,this._strToKeyCode[r.toLowerCase()...
    method keyCodeToStr (line 15) | keyCodeToStr(h){return this._keyCodeToStr[h]}
    method strToKeyCode (line 15) | strToKeyCode(h){return this._strToKeyCode[h.toLowerCase()]||0}
    method constructor (line 15) | constructor(A){this.executor=A,this._didRun=!1}
    method value (line 15) | get value(){if(!this._didRun)try{this._value=this.executor()}catch(A){...
    method rawValue (line 15) | get rawValue(){return this._value}
    method constructor (line 15) | constructor(d){this.element=d,this.next=i.Undefined,this.prev=i.Undefi...
    method constructor (line 20) | constructor(A,d){this.lineNumber=A,this.column=d}
    method with (line 20) | with(A=this.lineNumber,d=this.column){return A===this.lineNumber&&d===...
    method delta (line 20) | delta(A=0,d=0){return this.with(this.lineNumber+A,this.column+d)}
    method equals (line 20) | equals(A){return i.equals(this,A)}
    method equals (line 20) | static equals(A,d){return!A&&!d?!0:!!A&&!!d&&A.lineNumber===d.lineNumb...
    method isBefore (line 20) | isBefore(A){return i.isBefore(this,A)}
    method isBefore (line 20) | static isBefore(A,d){return A.lineNumber<d.lineNumber?!0:d.lineNumber<...
    method isBeforeOrEqual (line 20) | isBeforeOrEqual(A){return i.isBeforeOrEqual(this,A)}
    method isBeforeOrEqual (line 20) | static isBeforeOrEqual(A,d){return A.lineNumber<d.lineNumber?!0:d.line...
    method compare (line 20) | static compare(A,d){const f=A.lineNumber|0,p=d.lineNumber|0;if(f===p){...
    method clone (line 20) | clone(){return new i(this.lineNumber,this.column)}
    method toString (line 20) | toString(){return"("+this.lineNumber+","+this.column+")"}
    method lift (line 20) | static lift(A){return new i(A.lineNumber,A.column)}
    method isIPosition (line 20) | static isIPosition(A){return A&&typeof A.lineNumber=="number"&&typeof ...
    method toJSON (line 20) | toJSON(){return{lineNumber:this.lineNumber,column:this.column}}
    method constructor (line 22) | constructor(d,f){this.trimmedHash=d,this.lines=f}
    method getElement (line 22) | getElement(d){return this.trimmedHash[d]}
    method length (line 22) | get length(){return this.trimmedHash.length}
    method getBoundaryScore (line 22) | getBoundaryScore(d){const f=d===0?0:x(this.lines[d-1]),p=d===this.line...
    method getText (line 22) | getText(d){return this.lines.slice(d.start,d.endExclusive).join(`
    method isStronglyEqual (line 23) | isStronglyEqual(d,f){return this.lines[d]===this.lines[f]}
    method constructor (line 23) | constructor(f,p){this.width=f,this.height=p,this.array=[],this.array=n...
    method get (line 23) | get(f,p){return this.array[f+p*this.width]}
    method set (line 23) | set(f,p,c){this.array[f+p*this.width]=c}
    method constructor (line 24) | constructor(d,f,p){this.changes=d,this.moves=f,this.hitTimeout=p}
    method constructor (line 25) | constructor(){this._defaultValueSet=[["true","false"],["True","False"]...
    method navigateValueSet (line 25) | navigateValueSet(A,d,f,p,c){if(A&&d){const a=this.doNavigateValueSet(d...
    method doNavigateValueSet (line 25) | doNavigateValueSet(A,d){const f=this.numberReplace(A,d);return f!==nul...
    method numberReplace (line 25) | numberReplace(A,d){const f=Math.pow(10,A.length-(A.lastIndexOf(".")+1)...
    method textReplace (line 25) | textReplace(A,d){return this.valueSetsReplace(this._defaultValueSet,A,d)}
    method valueSetsReplace (line 25) | valueSetsReplace(A,d,f){let p=null;for(let c=0,a=A.length;p===null&&c<...
    method valueSetReplace (line 25) | valueSetReplace(A,d,f){let p=A.indexOf(d);return p>=0?(p+=f?1:-1,p<0?p...
    method getChannel (line 28) | static getChannel(A){return A.getChannel(i.CHANNEL_NAME)}
    method setChannel (line 28) | static setChannel(A,d){A.setChannel(i.CHANNEL_NAME,d)}
  function x (line 6) | function x(c){const{trustedTypesPolicy:a}=c.getConfig().getOptionsLitera...
    method record (line 6) | record(d,f){}
    method getEvents (line 6) | getEvents(){return[]}
    method constructor (line 6) | constructor(d,f){if(this._env=d,this.options=i.mergeConfigurationOptio...
    method _createIgnoreDuplicateModulesMap (line 6) | _createIgnoreDuplicateModulesMap(){this.ignoreDuplicateModulesMap={};f...
    method _createSortedPathsRules (line 6) | _createSortedPathsRules(){this.sortedPathsRules=[],W.Utilities.forEach...
    method cloneAndMerge (line 6) | cloneAndMerge(d){return new x(this._env,i.mergeConfigurationOptions(d,...
    method getOptionsLiteral (line 6) | getOptionsLiteral(){return this.options}
    method _applyPaths (line 6) | _applyPaths(d){let f;for(let p=0,c=this.sortedPathsRules.length;p<c;p+...
    method _addUrlArgsToUrl (line 6) | _addUrlArgsToUrl(d){return W.Utilities.containsQueryString(d)?d+"&"+th...
    method _addUrlArgsIfNecessaryToUrl (line 6) | _addUrlArgsIfNecessaryToUrl(d){return this.options.urlArgs?this._addUr...
    method _addUrlArgsIfNecessaryToUrls (line 6) | _addUrlArgsIfNecessaryToUrls(d){if(this.options.urlArgs)for(let f=0,p=...
    method moduleIdToPaths (line 6) | moduleIdToPaths(d){if(this._env.isNode&&this.options.amdModulesPattern...
    method requireToUrl (line 6) | requireToUrl(d){let f=d;return W.Utilities.isAbsolutePath(f)||(f=this....
    method isBuild (line 6) | isBuild(){return this.options.isBuild}
    method shouldInvokeFactory (line 6) | shouldInvokeFactory(d){return!!(!this.options.isBuild||W.Utilities.isA...
    method isDuplicateMessageIgnoredFor (line 6) | isDuplicateMessageIgnoredFor(d){return this.ignoreDuplicateModulesMap....
    method getConfigForModule (line 6) | getConfigForModule(d){if(this.options.config)return this.options.confi...
    method shouldCatchError (line 6) | shouldCatchError(){return this.options.catchError}
    method shouldRecordStats (line 6) | shouldRecordStats(){return this.options.recordStats}
    method onError (line 6) | onError(d){this.options.onError(d)}
    method constructor (line 8) | constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,th...
    method getMaxModuleId (line 8) | getMaxModuleId(){return this._nextId}
    method getModuleId (line 8) | getModuleId(c){let a=this._strModuleIdToIntModuleId.get(c);return type...
    method getStrModuleId (line 8) | getStrModuleId(c){return this._intModuleIdToStrModuleId[c]}
    method constructor (line 11) | constructor(f,p){this.lastCache=void 0,this.lastArgKey=void 0,typeof f...
    method get (line 11) | get(f){const p=this._computeKey(f);return this.lastArgKey!==p&&(this.l...
    method constructor (line 11) | constructor(c,a,m,e=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math...
    method equals (line 11) | static equals(c,a){return c.r===a.r&&c.g===a.g&&c.b===a.b&&c.a===a.a}
    method constructor (line 15) | constructor(){this._first=i.Undefined,this._last=i.Undefined,this._siz...
    method size (line 15) | get size(){return this._size}
    method isEmpty (line 15) | isEmpty(){return this._first===i.Undefined}
    method clear (line 15) | clear(){let d=this._first;for(;d!==i.Undefined;){const f=d.next;d.prev...
    method unshift (line 15) | unshift(d){return this._insert(d,!1)}
    method push (line 15) | push(d){return this._insert(d,!0)}
    method _insert (line 15) | _insert(d,f){const p=new i(d);if(this._first===i.Undefined)this._first...
    method shift (line 15) | shift(){if(this._first!==i.Undefined){const d=this._first.element;retu...
    method pop (line 15) | pop(){if(this._last!==i.Undefined){const d=this._last.element;return t...
    method _remove (line 15) | _remove(d){if(d.prev!==i.Undefined&&d.next!==i.Undefined){const f=d.pr...
    method create (line 15) | static create(d){return new x(d)}
    method constructor (line 15) | constructor(d){this._now=i&&d===!1?Date.now:globalThis.performance.now...
    method stop (line 15) | stop(){this._stopTime=this._now()}
    method reset (line 15) | reset(){this._startTime=this._now(),this._stopTime=-1}
    method elapsed (line 15) | elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:th...
    method constructor (line 20) | constructor(f){const p=(0,i.toUint8)(f);this._defaultValue=p,this._asc...
    method _createAsciiMap (line 20) | static _createAsciiMap(f){const p=new Uint8Array(256);return p.fill(f),p}
    method set (line 20) | set(f,p){const c=(0,i.toUint8)(p);f>=0&&f<256?this._asciiMap[f]=c:this...
    method get (line 20) | get(f){return f>=0&&f<256?this._asciiMap[f]:this._map.get(f)||this._de...
    method clear (line 20) | clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}
    method addRange (line 20) | static addRange(f,p){let c=0;for(;c<p.length&&p[c].endExclusive<f.star...
    method tryCreate (line 20) | static tryCreate(f,p){if(!(f>p))return new x(f,p)}
    method ofLength (line 20) | static ofLength(f){return new x(0,f)}
    method ofStartAndLength (line 20) | static ofStartAndLength(f,p){return new x(f,f+p)}
    method constructor (line 20) | constructor(f,p){if(this.start=f,this.endExclusive=p,f>p)throw new i.B...
    method isEmpty (line 20) | get isEmpty(){return this.start===this.endExclusive}
    method delta (line 20) | delta(f){return new x(this.start+f,this.endExclusive+f)}
    method deltaStart (line 20) | deltaStart(f){return new x(this.start+f,this.endExclusive)}
    method deltaEnd (line 20) | deltaEnd(f){return new x(this.start,this.endExclusive+f)}
    method length (line 20) | get length(){return this.endExclusive-this.start}
    method toString (line 20) | toString(){return`[${this.start}, ${this.endExclusive})`}
    method contains (line 20) | contains(f){return this.start<=f&&f<this.endExclusive}
    method join (line 20) | join(f){return new x(Math.min(this.start,f.start),Math.max(this.endExc...
    method intersect (line 20) | intersect(f){const p=Math.max(this.start,f.start),c=Math.min(this.endE...
    method intersects (line 20) | intersects(f){const p=Math.max(this.start,f.start),c=Math.min(this.end...
    method isBefore (line 20) | isBefore(f){return this.endExclusive<=f.start}
    method isAfter (line 20) | isAfter(f){return this.start>=f.endExclusive}
    method slice (line 20) | slice(f){return f.slice(this.start,this.endExclusive)}
    method substring (line 20) | substring(f){return f.substring(this.start,this.endExclusive)}
    method clip (line 20) | clip(f){if(this.isEmpty)throw new i.BugIndicatingError(`Invalid clippi...
    method clipCyclic (line 20) | clipCyclic(f){if(this.isEmpty)throw new i.BugIndicatingError(`Invalid ...
    method forEach (line 20) | forEach(f){for(let p=this.start;p<this.endExclusive;p++)f(p)}
    method constructor (line 20) | constructor(d,f,p,c){d>p||d===p&&f>c?(this.startLineNumber=p,this.star...
    method isEmpty (line 20) | isEmpty(){return x.isEmpty(this)}
    method isEmpty (line 20) | static isEmpty(d){return d.startLineNumber===d.endLineNumber&&d.startC...
    method containsPosition (line 20) | containsPosition(d){return x.containsPosition(this,d)}
    method containsPosition (line 20) | static containsPosition(d,f){return!(f.lineNumber<d.startLineNumber||f...
    method strictContainsPosition (line 20) | static strictContainsPosition(d,f){return!(f.lineNumber<d.startLineNum...
    method containsRange (line 20) | containsRange(d){return x.containsRange(this,d)}
    method containsRange (line 20) | static containsRange(d,f){return!(f.startLineNumber<d.startLineNumber|...
    method strictContainsRange (line 20) | strictContainsRange(d){return x.strictContainsRange(this,d)}
    method strictContainsRange (line 20) | static strictContainsRange(d,f){return!(f.startLineNumber<d.startLineN...
    method plusRange (line 20) | plusRange(d){return x.plusRange(this,d)}
    method plusRange (line 20) | static plusRange(d,f){let p,c,a,m;return f.startLineNumber<d.startLine...
    method intersectRanges (line 20) | intersectRanges(d){return x.intersectRanges(this,d)}
    method intersectRanges (line 20) | static intersectRanges(d,f){let p=d.startLineNumber,c=d.startColumn,a=...
    method equalsRange (line 20) | equalsRange(d){return x.equalsRange(this,d)}
    method equalsRange (line 20) | static equalsRange(d,f){return!d&&!f?!0:!!d&&!!f&&d.startLineNumber===...
    method getEndPosition (line 20) | getEndPosition(){return x.getEndPosition(this)}
    method getEndPosition (line 20) | static getEndPosition(d){return new i.Position(d.endLineNumber,d.endCo...
    method getStartPosition (line 20) | getStartPosition(){return x.getStartPosition(this)}
    method getStartPosition (line 20) | static getStartPosition(d){return new i.Position(d.startLineNumber,d.s...
    method toString (line 20) | toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+...
    method setEndPosition (line 20) | setEndPosition(d,f){return new x(this.startLineNumber,this.startColumn...
    method setStartPosition (line 20) | setStartPosition(d,f){return new x(d,f,this.endLineNumber,this.endColu...
    method collapseToStart (line 20) | collapseToStart(){return x.collapseToStart(this)}
    method collapseToStart (line 20) | static collapseToStart(d){return new x(d.startLineNumber,d.startColumn...
    method collapseToEnd (line 20) | collapseToEnd(){return x.collapseToEnd(this)}
    method collapseToEnd (line 20) | static collapseToEnd(d){return new x(d.endLineNumber,d.endColumn,d.end...
    method delta (line 20) | delta(d){return new x(this.startLineNumber+d,this.startColumn,this.end...
    method fromPositions (line 20) | static fromPositions(d,f=d){return new x(d.lineNumber,d.column,f.lineN...
    method lift (line 20) | static lift(d){return d?new x(d.startLineNumber,d.startColumn,d.endLin...
    method isIRange (line 20) | static isIRange(d){return d&&typeof d.startLineNumber=="number"&&typeo...
    method areIntersectingOrTouching (line 20) | static areIntersectingOrTouching(d,f){return!(d.endLineNumber<f.startL...
    method areIntersecting (line 20) | static areIntersecting(d,f){return!(d.endLineNumber<f.startLineNumber|...
    method compareRangesUsingStarts (line 20) | static compareRangesUsingStarts(d,f){if(d&&f){const a=d.startLineNumbe...
    method compareRangesUsingEnds (line 20) | static compareRangesUsingEnds(d,f){return d.endLineNumber===f.endLineN...
    method spansMultipleLines (line 20) | static spansMultipleLines(d){return d.endLineNumber>d.startLineNumber}
    method toJSON (line 20) | toJSON(){return this}
    method constructor (line 24) | constructor(d,f){this.lineRangeMapping=d,this.changes=f}
    method constructor (line 25) | constructor(h,r,s){const o=new Uint8Array(h*r);for(let u=0,S=h*r;u<S;u...
    method get (line 25) | get(h,r){return this._data[h*this.cols+r]}
    method set (line 25) | set(h,r,s){this._data[h*this.cols+r]=s}
  class A (line 6) | class A{constructor(){this._cachedCanUseEval=null}_canUseEval(a){return ...
    method constructor (line 6) | constructor(){this._cachedCanUseEval=null}
    method _canUseEval (line 6) | _canUseEval(a){return this._cachedCanUseEval===null&&(this._cachedCanU...
    method load (line 6) | load(a,m,e,h){if(/^node\|/.test(m)){const r=a.getConfig().getOptionsLi...
    method constructor (line 8) | constructor(c){this.id=c}
    method cachedValues (line 11) | get cachedValues(){return this._map}
    method constructor (line 11) | constructor(f,p){this._map=new Map,this._map2=new Map,typeof f=="funct...
    method get (line 11) | get(f){const p=this._computeKey(f);if(this._map2.has(p))return this._m...
    method constructor (line 11) | constructor(c,a,m,e){this._hslaBrand=void 0,this.h=Math.max(Math.min(3...
    method equals (line 11) | static equals(c,a){return c.h===a.h&&c.s===a.s&&c.l===a.l&&c.a===a.a}
    method fromRGBA (line 11) | static fromRGBA(c){const a=c.r/255,m=c.g/255,e=c.b/255,h=c.a,r=Math.ma...
    method _hue2rgb (line 11) | static _hue2rgb(c,a,m){return m<0&&(m+=1),m>1&&(m-=1),m<1/6?c+(a-c)*6*...
    method toRGBA (line 11) | static toRGBA(c){const a=c.h/360,{s:m,l:e,a:h}=c;let r,s,o;if(m===0)r=...
    method constructor (line 15) | constructor(r,s){this.uri=r,this.value=s}
    method constructor (line 20) | constructor(e){this.source=e}
    method getElements (line 20) | getElements(){const e=this.source,h=new Int32Array(e.length);for(let r...
    method constructor (line 20) | constructor(){this._actual=new x(0)}
    method add (line 20) | add(f){this._actual.set(f,1)}
    method has (line 20) | has(f){return this._actual.get(f)===1}
    method clear (line 20) | clear(){return this._actual.clear()}
    method constructor (line 20) | constructor(){this._sortedRanges=[]}
    method addRange (line 20) | addRange(f){let p=0;for(;p<this._sortedRanges.length&&this._sortedRang...
    method toString (line 20) | toString(){return this._sortedRanges.map(f=>f.toString()).join(", ")}
    method intersectsStrict (line 20) | intersectsStrict(f){let p=0;for(;p<this._sortedRanges.length&&this._so...
    method intersectWithRange (line 20) | intersectWithRange(f){const p=new A;for(const c of this._sortedRanges)...
    method intersectWithRangeLength (line 20) | intersectWithRangeLength(f){return this.intersectWithRange(f).length}
    method length (line 20) | get length(){return this._sortedRanges.reduce((f,p)=>f+p.length,0)}
    method constructor (line 20) | constructor(f,p,c,a){super(f,p,c,a),this.selectionStartLineNumber=f,th...
    method toString (line 20) | toString(){return"["+this.selectionStartLineNumber+","+this.selectionS...
    method equalsSelection (line 20) | equalsSelection(f){return A.selectionsEqual(this,f)}
    method selectionsEqual (line 20) | static selectionsEqual(f,p){return f.selectionStartLineNumber===p.sele...
    method getDirection (line 20) | getDirection(){return this.selectionStartLineNumber===this.startLineNu...
    method setEndPosition (line 20) | setEndPosition(f,p){return this.getDirection()===0?new A(this.startLin...
    method getPosition (line 20) | getPosition(){return new i.Position(this.positionLineNumber,this.posit...
    method getSelectionStart (line 20) | getSelectionStart(){return new i.Position(this.selectionStartLineNumbe...
    method setStartPosition (line 20) | setStartPosition(f,p){return this.getDirection()===0?new A(f,p,this.en...
    method fromPositions (line 20) | static fromPositions(f,p=f){return new A(f.lineNumber,f.column,p.lineN...
    method fromRange (line 20) | static fromRange(f,p){return p===0?new A(f.startLineNumber,f.startColu...
    method liftSelection (line 20) | static liftSelection(f){return new A(f.selectionStartLineNumber,f.sele...
    method selectionsArrEqual (line 20) | static selectionsArrEqual(f,p){if(f&&!p||!f&&p)return!1;if(!f&&!p)retu...
    method isISelection (line 20) | static isISelection(f){return f&&typeof f.selectionStartLineNumber=="n...
    method createWithDirection (line 20) | static createWithDirection(f,p,c,a,m){return m===0?new A(f,p,c,a):new ...
    method betweenPositions (line 20) | static betweenPositions(f,p){return f.lineNumber===p.lineNumber?new A(...
    method ofRange (line 20) | static ofRange(f){return A.betweenPositions(f.getStartPosition(),f.get...
    method ofText (line 20) | static ofText(f){let p=0,c=0;for(const a of f)a===`
    method constructor (line 21) | constructor(f,p){this.lineCount=f,this.columnCount=p}
    method isGreaterThanOrEqualTo (line 21) | isGreaterThanOrEqualTo(f){return this.lineCount!==f.lineCount?this.lin...
    method createRange (line 21) | createRange(f){return this.lineCount===0?new x.Range(f.lineNumber,f.co...
    method addToPosition (line 21) | addToPosition(f){return this.lineCount===0?new i.Position(f.lineNumber...
    method toString (line 21) | toString(){return`${this.lineCount},${this.columnCount}`}
    method constructor (line 21) | constructor(f){this.text=f,this.lineStartOffsetByLineIdx=[],this.lineS...
    method getOffset (line 22) | getOffset(f){return this.lineStartOffsetByLineIdx[f.lineNumber-1]+f.co...
    method getOffsetRange (line 22) | getOffsetRange(f){return new i.OffsetRange(this.getOffset(f.getStartPo...
    method textLength (line 22) | get textLength(){const f=this.lineStartOffsetByLineIdx.length-1;return...
    method constructor (line 22) | constructor(c,a){super(0),this._segmenter=null,this._cachedLine=null,t...
    method findPrevIntlWordBeforeOrAtOffset (line 22) | findPrevIntlWordBeforeOrAtOffset(c,a){let m=null;for(const e of this._...
    method findNextIntlWordAtOrAfterOffset (line 22) | findNextIntlWordAtOrAfterOffset(c,a){for(const m of this._getIntlSegme...
    method _getIntlSegmenterWordsOnLine (line 22) | _getIntlSegmenterWordsOnLine(c){return this._segmenter?this._cachedLin...
    method _filterWordSegments (line 22) | _filterWordSegments(c){const a=[];for(const m of c)this._isWordLike(m)...
    method _isWordLike (line 22) | _isWordLike(c){return!!c.isWordLike}
    method compute (line 22) | compute(a,m,e=x.InfiniteTimeout.instance){if(a.length===0||m.length===...
    method getKey (line 23) | static getKey(f){let p=this.chrKeys.get(f);return p===void 0&&(p=this....
    method constructor (line 23) | constructor(f,p,c){this.range=f,this.lines=p,this.source=c,this.histog...
    method computeSimilarity (line 24) | computeSimilarity(f){let p=0;const c=Math.max(this.histogram.length,f....
    method constructor (line 25) | constructor(h){let r=0,s=0;for(let u=0,S=h.length;u<S;u++){const[L,N,P...
    method nextState (line 25) | nextState(h,r){return r<0||r>=this._maxCharCode?0:this._states.get(h,r)}
    method constructor (line 25) | constructor(c){this.values=c,this.prefixSum=new Uint32Array(c.length),...
    method insertValues (line 25) | insertValues(c,a){c=(0,x.toUint32)(c);const m=this.values,e=this.prefi...
    method setValue (line 25) | setValue(c,a){return c=(0,x.toUint32)(c),a=(0,x.toUint32)(a),this.valu...
    method removeValues (line 25) | removeValues(c,a){c=(0,x.toUint32)(c),a=(0,x.toUint32)(a);const m=this...
    method getTotalSum (line 25) | getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this....
    method getPrefixSum (line 25) | getPrefixSum(c){return c<0?0:(c=(0,x.toUint32)(c),this._getPrefixSum(c))}
    method _getPrefixSum (line 25) | _getPrefixSum(c){if(c<=this.prefixSumValidIndex[0])return this.prefixS...
    method getIndexOf (line 25) | getIndexOf(c){c=Math.floor(c),this.getTotalSum();let a=0,m=this.values...
    method constructor (line 29) | constructor(){this._tokenizationSupports=new Map,this._factories=new M...
    method handleChange (line 29) | handleChange(p){this._onDidChange.fire({changedLanguages:p,changedColo...
    method register (line 29) | register(p,c){return this._tokenizationSupports.set(p,c),this.handleCh...
    method get (line 29) | get(p){return this._tokenizationSupports.get(p)||null}
    method registerFactory (line 29) | registerFactory(p,c){this._factories.get(p)?.dispose();const a=new d(t...
    method getOrCreate (line 29) | async getOrCreate(p){const c=this.get(p);if(c)return c;const a=this._f...
    method isResolved (line 29) | isResolved(p){if(this.get(p))return!0;const a=this._factories.get(p);r...
    method setColorMap (line 29) | setColorMap(p){this._colorMap=p,this._onDidChange.fire({changedLanguag...
    method getColorMap (line 29) | getColorMap(){return this._colorMap}
    method getDefaultBackground (line 29) | getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?...
  class d (line 7) | class d{constructor(a){this._env=a,this._didInitialize=!1,this._didPatch...
    method constructor (line 7) | constructor(a){this._env=a,this._didInitialize=!1,this._didPatchNodeRe...
    method _init (line 7) | _init(a){this._didInitialize||(this._didInitialize=!0,this._fs=a("fs")...
    method _initNodeRequire (line 7) | _initNodeRequire(a,m){const{nodeCachedData:e}=m.getConfig().getOptions...
    method load (line 7) | load(a,m,e,h){const r=a.getConfig().getOptionsLiteral(),s=f(a.getRecor...
    method _createAndEvalScript (line 7) | _createAndEvalScript(a,m,e,h,r){const s=a.getRecorder();s.record(31,e....
    method _getElectronRendererScriptPathOrUri (line 7) | _getElectronRendererScriptPathOrUri(a){if(!this._env.isElectronRendere...
    method _getCachedDataPath (line 7) | _getCachedDataPath(a,m){const e=this._crypto.createHash("md5").update(...
    method _handleCachedData (line 7) | _handleCachedData(a,m,e,h,r){a.cachedDataRejected?this._fs.unlink(e,s=...
    method _createAndWriteCachedData (line 7) | _createAndWriteCachedData(a,m,e,h){let r=Math.ceil(h.getConfig().getOp...
    method _readSourceAndCachedData (line 7) | _readSourceAndCachedData(a,m,e,h){if(!m)this._fs.readFile(a,{encoding:...
    method _verifyCachedData (line 7) | _verifyCachedData(a,m,e,h,r){h&&(a.cachedDataRejected||setTimeout(()=>...
    method constructor (line 8) | constructor(c,a,m){this.id=c,this.pluginId=a,this.pluginParam=m}
    method constructor (line 11) | constructor(c,a,m,e){this._hsvaBrand=void 0,this.h=Math.max(Math.min(3...
    method equals (line 11) | static equals(c,a){return c.h===a.h&&c.s===a.s&&c.v===a.v&&c.a===a.a}
    method fromRGBA (line 11) | static fromRGBA(c){const a=c.r/255,m=c.g/255,e=c.b/255,h=Math.max(a,m,...
    method toRGBA (line 11) | static toRGBA(c){const{h:a,s:m,v:e,a:h}=c,r=e*m,s=r*(1-Math.abs(a/60%2...
    method constructor (line 20) | constructor(){this._isCancelled=!1,this._emitter=null}
    method cancel (line 20) | cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this...
    method isCancellationRequested (line 20) | get isCancellationRequested(){return this._isCancelled}
    method onCancellationRequested (line 20) | get onCancellationRequested(){return this._isCancelled?x:(this._emitte...
    method dispose (line 20) | dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}
    method trivial (line 22) | static trivial(e,h){return new d([new f(A.OffsetRange.ofLength(e.lengt...
    method trivialTimedOut (line 22) | static trivialTimedOut(e,h){return new d([new f(A.OffsetRange.ofLength...
    method constructor (line 22) | constructor(e,h){this.diffs=e,this.hitTimeout=h}
    method constructor (line 22) | constructor(a,m,e,h){this.prev=a,this.x=m,this.y=e,this.length=h}
    method compute (line 24) | compute(p,c,a=x.InfiniteTimeout.instance,m){if(p.length===0||c.length=...
    method constructor (line 25) | constructor(c){this._values=c,this._isValid=!1,this._validEndIndex=-1,...
    method getTotalSum (line 25) | getTotalSum(){return this._ensureValid(),this._indexBySum.length}
    method getPrefixSum (line 25) | getPrefixSum(c){return this._ensureValid(),c===0?0:this._prefixSum[c-1]}
    method getIndexOf (line 25) | getIndexOf(c){this._ensureValid();const a=this._indexBySum[c],m=a>0?th...
    method removeValues (line 25) | removeValues(c,a){this._values.splice(c,a),this._invalidate(c)}
    method insertValues (line 25) | insertValues(c,a){this._values=(0,i.arrayInsert)(this._values,c,a),thi...
    method _invalidate (line 25) | _invalidate(c){this._isValid=!1,this._validEndIndex=Math.min(this._val...
    method _ensureValid (line 25) | _ensureValid(){if(!this._isValid){for(let c=this._validEndIndex+1,a=th...
    method setValue (line 25) | setValue(c,a){this._values[c]!==a&&(this._values[c]=a,this._invalidate...
    method constructor (line 25) | constructor(p,c,a,m){this._uri=p,this._lines=c,this._eol=a,this._versi...
    method dispose (line 25) | dispose(){this._lines.length=0}
    method version (line 25) | get version(){return this._versionId}
    method getText (line 25) | getText(){return this._cachedTextValue===null&&(this._cachedTextValue=...
    method onEvents (line 25) | onEvents(p){p.eol&&p.eol!==this._eol&&(this._eol=p.eol,this._lineStart...
    method _ensureLineStarts (line 25) | _ensureLineStarts(){if(!this._lineStarts){const p=this._eol.length,c=t...
    method _setLineText (line 25) | _setLineText(p,c){this._lines[p]=c,this._lineStarts&&this._lineStarts....
    method _acceptDeleteRange (line 25) | _acceptDeleteRange(p){if(p.startLineNumber===p.endLineNumber){if(p.sta...
    method _acceptInsertText (line 25) | _acceptInsertText(p,c){if(c.length===0)return;const a=(0,i.splitLines)...
    method isResolved (line 29) | get isResolved(){return this._isResolved}
    method constructor (line 29) | constructor(p,c,a){super(),this._registry=p,this._languageId=c,this._f...
    method dispose (line 29) | dispose(){this._isDisposed=!0,super.dispose()}
    method resolve (line 29) | async resolve(){return this._resolvePromise||(this._resolvePromise=thi...
    method _create (line 29) | async _create(){const p=await this._factory.tokenizationSupport;this._...
  function f (line 8) | function f(c,a){if(a.__$__isRecorded)return a;const m=function(h){c.reco...
    method constructor (line 8) | constructor(c,a,m,e,h=0){this._env=c,this._scriptLoader=a,this._loader...
    method reset (line 8) | reset(){return new f(this._env,this._scriptLoader,this._defineFunc,thi...
    method getGlobalAMDDefineFunc (line 8) | getGlobalAMDDefineFunc(){return this._defineFunc}
    method getGlobalAMDRequireFunc (line 8) | getGlobalAMDRequireFunc(){return this._requireFunc}
    method _findRelevantLocationInStack (line 8) | static _findRelevantLocationInStack(c,a){let m=r=>r.replace(/\\/g,"/")...
    method getBuildInfo (line 8) | getBuildInfo(){if(!this._config.isBuild())return null;let c=[],a=0;for...
    method getRecorder (line 8) | getRecorder(){return this._recorder||(this._config.shouldRecordStats()...
    method getLoaderEvents (line 8) | getLoaderEvents(){return this.getRecorder().getEvents()}
    method enqueueDefineAnonymousModule (line 8) | enqueueDefineAnonymousModule(c,a){if(this._currentAnonymousDefineCall!...
    method defineModule (line 8) | defineModule(c,a,m,e,h,r=new n(c)){let s=this._moduleIdProvider.getMod...
    method _normalizeDependency (line 8) | _normalizeDependency(c,a){if(c==="exports")return A.EXPORTS;if(c==="mo...
    method _normalizeDependencies (line 8) | _normalizeDependencies(c,a){let m=[],e=0;for(let h=0,r=c.length;h<r;h+...
    method _relativeRequire (line 8) | _relativeRequire(c,a,m,e){if(typeof a=="string")return this.synchronou...
    method synchronousRequire (line 8) | synchronousRequire(c,a=new n(c)){let m=this._normalizeDependency(c,a),...
    method configure (line 8) | configure(c,a){let m=this._config.shouldRecordStats();a?this._config=n...
    method getConfig (line 8) | getConfig(){return this._config}
    method _onLoad (line 8) | _onLoad(c){if(this._currentAnonymousDefineCall!==null){let a=this._cur...
    method _createLoadError (line 8) | _createLoadError(c,a){let m=this._moduleIdProvider.getStrModuleId(c),e...
    method _onLoadError (line 8) | _onLoadError(c,a){const m=this._createLoadError(c,a);this._modules2[c]...
    method _hasDependencyPath (line 8) | _hasDependencyPath(c,a){let m=this._modules2[c];if(!m)return!1;let e=[...
    method _findCyclePath (line 8) | _findCyclePath(c,a,m){if(c===a||m===50)return[c];let e=this._modules2[...
    method _createRequire (line 8) | _createRequire(c){let a=(m,e,h)=>this._relativeRequire(c,m,e,h);return...
    method _loadModule (line 8) | _loadModule(c){if(this._modules2[c]||this._knownModules2[c])return;thi...
    method _loadPluginDependency (line 8) | _loadPluginDependency(c,a){if(this._modules2[a.id]||this._knownModules...
    method _resolve (line 8) | _resolve(c){let a=c.dependencies;if(a)for(let m=0,e=a.length;m<e;m++){...
    method _onModuleComplete (line 9) | _onModuleComplete(c){let a=this.getRecorder();if(c.isComplete())return...
    method fromHex (line 11) | static fromHex(c){return f.Format.CSS.parseHex(c)||f.red}
    method equals (line 11) | static equals(c,a){return!c&&!a?!0:!c||!a?!1:c.equals(a)}
    method hsla (line 11) | get hsla(){return this._hsla?this._hsla:A.fromRGBA(this.rgba)}
    method hsva (line 11) | get hsva(){return this._hsva?this._hsva:d.fromRGBA(this.rgba)}
    method constructor (line 11) | constructor(c){if(c)if(c instanceof x)this.rgba=c;else if(c instanceof...
    method equals (line 11) | equals(c){return!!c&&x.equals(this.rgba,c.rgba)&&A.equals(this.hsla,c....
    method getRelativeLuminance (line 11) | getRelativeLuminance(){const c=f._relativeLuminanceForComponent(this.r...
    method _relativeLuminanceForComponent (line 11) | static _relativeLuminanceForComponent(c){const a=c/255;return a<=.0392...
    method isLighter (line 11) | isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e...
    method isLighterThan (line 11) | isLighterThan(c){const a=this.getRelativeLuminance(),m=c.getRelativeLu...
    method isDarkerThan (line 11) | isDarkerThan(c){const a=this.getRelativeLuminance(),m=c.getRelativeLum...
    method lighten (line 11) | lighten(c){return new f(new A(this.hsla.h,this.hsla.s,this.hsla.l+this...
    method darken (line 11) | darken(c){return new f(new A(this.hsla.h,this.hsla.s,this.hsla.l-this....
    method transparent (line 11) | transparent(c){const{r:a,g:m,b:e,a:h}=this.rgba;return new f(new x(a,m...
    method isTransparent (line 11) | isTransparent(){return this.rgba.a===0}
    method isOpaque (line 11) | isOpaque(){return this.rgba.a===1}
    method opposite (line 11) | opposite(){return new f(new x(255-this.rgba.r,255-this.rgba.g,255-this...
    method makeOpaque (line 11) | makeOpaque(c){if(this.isOpaque()||c.rgba.a!==1)return this;const{r:a,g...
    method toString (line 11) | toString(){return this._toString||(this._toString=f.Format.CSS.format(...
    method getLighterColor (line 11) | static getLighterColor(c,a,m){if(c.isLighterThan(a))return c;m=m||.5;c...
    method getDarkerColor (line 11) | static getDarkerColor(c,a,m){if(c.isDarkerThan(a))return c;m=m||.5;con...
    method constructor (line 15) | constructor(r,s){if(this[i]="ResourceMap",r instanceof f)this.map=new ...
    method set (line 15) | set(r,s){return this.map.set(this.toKey(r),new A(r,s)),this}
    method get (line 15) | get(r){return this.map.get(this.toKey(r))?.value}
    method has (line 15) | has(r){return this.map.has(this.toKey(r))}
    method size (line 15) | get size(){return this.map.size}
    method clear (line 15) | clear(){this.map.clear()}
    method delete (line 15) | delete(r){return this.map.delete(this.toKey(r))}
    method forEach (line 15) | forEach(r,s){typeof s<"u"&&(r=r.bind(s));for(const[o,u]of this.map)r(u...
    method values (line 15) | *values(){for(const r of this.map.values())yield r.value}
    method keys (line 15) | *keys(){for(const r of this.map.values())yield r.uri}
    method entries (line 15) | *entries(){for(const r of this.map.values())yield[r.uri,r.value]}
    method constructor (line 20) | constructor(a){this._token=void 0,this._parentListener=void 0,this._pa...
    method token (line 20) | get token(){return this._token||(this._token=new d),this._token}
    method cancel (line 20) | cancel(){this._token?this._token instanceof d&&this._token.cancel():th...
    method dispose (line 20) | dispose(a=!1){a&&this.cancel(),this._parentListener?.dispose(),this._t...
    method Assert (line 20) | static Assert(e,h){if(!e)throw new Error(h)}
    method fromRangeInclusive (line 20) | static fromRangeInclusive(a){return new f(a.startLineNumber,a.endLineN...
    method joinMany (line 20) | static joinMany(a){if(a.length===0)return[];let m=new p(a[0].slice());...
    method join (line 20) | static join(a){if(a.length===0)throw new i.BugIndicatingError("lineRan...
    method ofLength (line 20) | static ofLength(a,m){return new f(a,a+m)}
    method deserialize (line 20) | static deserialize(a){return new f(a[0],a[1])}
    method constructor (line 20) | constructor(a,m){if(a>m)throw new i.BugIndicatingError(`startLineNumbe...
    method contains (line 20) | contains(a){return this.startLineNumber<=a&&a<this.endLineNumberExclus...
    method isEmpty (line 20) | get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}
    method delta (line 20) | delta(a){return new f(this.startLineNumber+a,this.endLineNumberExclusi...
    method deltaLength (line 20) | deltaLength(a){return new f(this.startLineNumber,this.endLineNumberExc...
    method length (line 20) | get length(){return this.endLineNumberExclusive-this.startLineNumber}
    method join (line 20) | join(a){return new f(Math.min(this.startLineNumber,a.startLineNumber),...
    method toString (line 20) | toString(){return`[${this.startLineNumber},${this.endLineNumberExclusi...
    method intersect (line 20) | intersect(a){const m=Math.max(this.startLineNumber,a.startLineNumber),...
    method intersectsStrict (line 20) | intersectsStrict(a){return this.startLineNumber<a.endLineNumberExclusi...
    method overlapOrTouch (line 20) | overlapOrTouch(a){return this.startLineNumber<=a.endLineNumberExclusiv...
    method equals (line 20) | equals(a){return this.startLineNumber===a.startLineNumber&&this.endLin...
    method toInclusiveRange (line 20) | toInclusiveRange(){return this.isEmpty?null:new A.Range(this.startLine...
    method toExclusiveRange (line 20) | toExclusiveRange(){return new A.Range(this.startLineNumber,1,this.endL...
    method mapToLineArray (line 20) | mapToLineArray(a){const m=[];for(let e=this.startLineNumber;e<this.end...
    method forEach (line 20) | forEach(a){for(let m=this.startLineNumber;m<this.endLineNumberExclusiv...
    method serialize (line 20) | serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}
    method includes (line 20) | includes(a){return this.startLineNumber<=a&&a<this.endLineNumberExclus...
    method toOffsetRange (line 20) | toOffsetRange(){return new x.OffsetRange(this.startLineNumber-1,this.e...
    method invert (line 22) | static invert(e,h){const r=[];return(0,i.forEachAdjacent)(e,(s,o)=>{r....
    method fromOffsetPairs (line 22) | static fromOffsetPairs(e,h){return new f(new A.OffsetRange(e.offset1,h...
    method assertSorted (line 22) | static assertSorted(e){let h;for(const r of e){if(h&&!(h.seq1Range.end...
    method constructor (line 22) | constructor(e,h){this.seq1Range=e,this.seq2Range=h}
    method swap (line 22) | swap(){return new f(this.seq2Range,this.seq1Range)}
    method toString (line 22) | toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}
    method join (line 22) | join(e){return new f(this.seq1Range.join(e.seq1Range),this.seq2Range.j...
    method delta (line 22) | delta(e){return e===0?this:new f(this.seq1Range.delta(e),this.seq2Rang...
    method deltaStart (line 22) | deltaStart(e){return e===0?this:new f(this.seq1Range.deltaStart(e),thi...
    method deltaEnd (line 22) | deltaEnd(e){return e===0?this:new f(this.seq1Range.deltaEnd(e),this.se...
    method intersect (line 22) | intersect(e){const h=this.seq1Range.intersect(e.seq1Range),r=this.seq2...
    method getStarts (line 22) | getStarts(){return new p(this.seq1Range.start,this.seq2Range.start)}
    method getEndExclusives (line 22) | getEndExclusives(){return new p(this.seq1Range.endExclusive,this.seq2R...
    method constructor (line 22) | constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new...
    method get (line 22) | get(a){return a<0?(a=-a-1,this.negativeArr[a]):this.positiveArr[a]}
    method set (line 22) | set(a,m){if(a<0){if(a=-a-1,a>=this.negativeArr.length){const e=this.ne...
    method originalIndentSize (line 25) | get originalIndentSize(){return this._indentSizeIsTabSize?"tabSize":th...
    method constructor (line 25) | constructor(s){this._textModelResolvedOptionsBrand=void 0,this.tabSize...
    method equals (line 25) | equals(s){return this.tabSize===s.tabSize&&this._indentSizeIsTabSize==...
    method createChangeEvent (line 25) | createChangeEvent(s){return{tabSize:this.tabSize!==s.tabSize,indentSiz...
    method constructor (line 25) | constructor(c,a){this.index=c,this.remainder=a,this._prefixSumIndexOfR...
  function p (line 8) | function p(c){return new n(c)}
    method constructor (line 15) | constructor(){this[x]="LinkedMap",this._map=new Map,this._head=void 0,...
    method clear (line 15) | clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._si...
    method isEmpty (line 15) | isEmpty(){return!this._head&&!this._tail}
    method size (line 15) | get size(){return this._size}
    method first (line 15) | get first(){return this._head?.value}
    method last (line 15) | get last(){return this._tail?.value}
    method has (line 15) | has(r){return this._map.has(r)}
    method get (line 15) | get(r,s=0){const o=this._map.get(r);if(o)return s!==0&&this.touch(o,s)...
    method set (line 15) | set(r,s,o=0){let u=this._map.get(r);if(u)u.value=s,o!==0&&this.touch(u...
    method delete (line 15) | delete(r){return!!this.remove(r)}
    method remove (line 15) | remove(r){const s=this._map.get(r);if(s)return this._map.delete(r),thi...
    method shift (line 15) | shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail...
    method forEach (line 15) | forEach(r,s){const o=this._state;let u=this._head;for(;u;){if(s?r.bind...
    method keys (line 15) | keys(){const r=this,s=this._state;let o=this._head;const u={[Symbol.it...
    method values (line 15) | values(){const r=this,s=this._state;let o=this._head;const u={[Symbol....
    method entries (line 15) | entries(){const r=this,s=this._state;let o=this._head;const u={[Symbol...
    method trimOld (line 15) | trimOld(r){if(r>=this.size)return;if(r===0){this.clear();return}let s=...
    method trimNew (line 15) | trimNew(r){if(r>=this.size)return;if(r===0){this.clear();return}let s=...
    method addItemFirst (line 15) | addItemFirst(r){if(!this._head&&!this._tail)this._tail=r;else if(this....
    method addItemLast (line 15) | addItemLast(r){if(!this._head&&!this._tail)this._head=r;else if(this._...
    method removeItem (line 15) | removeItem(r){if(r===this._head&&r===this._tail)this._head=void 0,this...
    method touch (line 15) | touch(r,s){if(!this._head||!this._tail)throw new Error("Invalid list")...
    method toJSON (line 15) | toJSON(){const r=[];return this.forEach((s,o)=>{r.push([o,s])}),r}
    method fromJSON (line 15) | fromJSON(r){this.clear();for(const[s,o]of r)this.set(s,o)}
    method Copy (line 20) | static Copy(e,h,r,s,o){for(let u=0;u<o;u++)r[s+u]=e[h+u]}
    method Copy2 (line 20) | static Copy2(e,h,r,s,o){for(let u=0;u<o;u++)r[s+u]=e[h+u]}
    method constructor (line 20) | constructor(a=[]){this._normalizedRanges=a}
    method ranges (line 20) | get ranges(){return this._normalizedRanges}
    method addRange (line 20) | addRange(a){if(a.length===0)return;const m=(0,d.findFirstIdxMonotonous...
    method contains (line 20) | contains(a){const m=(0,d.findLastMonotonous)(this._normalizedRanges,e=...
    method intersects (line 20) | intersects(a){const m=(0,d.findLastMonotonous)(this._normalizedRanges,...
    method getUnion (line 20) | getUnion(a){if(this._normalizedRanges.length===0)return a;if(a._normal...
    method subtractFrom (line 20) | subtractFrom(a){const m=(0,d.findFirstIdxMonotonousOrArrLen)(this._nor...
    method toString (line 20) | toString(){return this._normalizedRanges.map(a=>a.toString()).join(", ")}
    method getIntersection (line 20) | getIntersection(a){const m=[];let e=0,h=0;for(;e<this._normalizedRange...
    method getWithDelta (line 20) | getWithDelta(a){return new p(this._normalizedRanges.map(m=>m.delta(a)))}
    method constructor (line 22) | constructor(e,h){this.offset1=e,this.offset2=h}
    method toString (line 22) | toString(){return`${this.offset1} <-> ${this.offset2}`}
    method delta (line 22) | delta(e){return e===0?this:new p(this.offset1+e,this.offset2+e)}
    method equals (line 22) | equals(e){return this.offset1===e.offset1&&this.offset2===e.offset2}
    method constructor (line 22) | constructor(){this.positiveArr=[],this.negativeArr=[]}
    method get (line 22) | get(a){return a<0?(a=-a-1,this.negativeArr[a]):this.positiveArr[a]}
    method set (line 22) | set(a,m){a<0?(a=-a-1,this.negativeArr[a]=m):this.positiveArr[a]=m}
    method constructor (line 24) | constructor(r,s,o){this.lines=r,this.range=s,this.considerWhitespaceCh...
    method toString (line 24) | toString(){return`Slice: "${this.text}"`}
    method text (line 24) | get text(){return this.getText(new x.OffsetRange(0,this.length))}
    method getText (line 24) | getText(r){return this.elements.slice(r.start,r.endExclusive).map(s=>S...
    method getElement (line 24) | getElement(r){return this.elements[r]}
    method length (line 24) | get length(){return this.elements.length}
    method getBoundaryScore (line 24) | getBoundaryScore(r){const s=e(r>0?this.elements[r-1]:-1),o=e(r<this.el...
    method translateOffset (line 24) | translateOffset(r,s="right"){const o=(0,i.findLastIdxMonotonous)(this....
    method translateRange (line 24) | translateRange(r){const s=this.translateOffset(r.start,"right"),o=this...
    method findWordContaining (line 24) | findWordContaining(r){if(r<0||r>=this.elements.length||!c(this.element...
    method countLinesIn (line 24) | countLinesIn(r){return this.translateOffset(r.endExclusive).lineNumber...
    method isStronglyEqual (line 24) | isStronglyEqual(r,s){return this.elements[r]===this.elements[s]}
    method extendToFullLines (line 24) | extendToFullLines(r){const s=(0,i.findLastMonotonous)(this.firstElemen...
    method inverse (line 24) | static inverse(r,s,o){const u=[];let S=1,L=1;for(const P of r){const E...
    method clip (line 24) | static clip(r,s,o){const u=[];for(const S of r){const L=S.original.int...
    method constructor (line 24) | constructor(r,s){this.original=r,this.modified=s}
    method toString (line 24) | toString(){return`{${this.original.toString()}->${this.modified.toStri...
    method flip (line 24) | flip(){return new p(this.modified,this.original)}
    method join (line 24) | join(r){return new p(this.original.join(r.original),this.modified.join...
    method toRangeMapping (line 24) | toRangeMapping(){const r=this.original.toInclusiveRange(),s=this.modif...
    method toRangeMapping2 (line 24) | toRangeMapping2(r,s){if(a(this.original.endLineNumberExclusive,r)&&a(t...
    method constructor (line 25) | constructor(s,o){this._findMatchBrand=void 0,this.range=s,this.matches=o}
    method computeUnicodeHighlights (line 28) | static computeUnicodeHighlights(h,r,s){const o=s?s.startLineNumber:1,u...
    method computeUnicodeHighlightReason (line 28) | static computeUnicodeHighlightReason(h,r){const s=new a(r);switch(s.sh...
    method constructor (line 29) | constructor(_,C,R){this.offset=_,this.type=C,this.language=R,this._tok...
    method toString (line 29) | toString(){return"("+this.offset+", "+this.type+")"}
  class n (line 8) | class n{constructor(c){let a=c.lastIndexOf("/");a!==-1?this.fromModulePa...
    method isWindows (line 6) | get isWindows(){return this._detect(),this._isWindows}
    method isNode (line 6) | get isNode(){return this._detect(),this._isNode}
    method isElectronRenderer (line 6) | get isElectronRenderer(){return this._detect(),this._isElectronRenderer}
    method isWebWorker (line 6) | get isWebWorker(){return this._detect(),this._isWebWorker}
    method isElectronNodeIntegrationWebWorker (line 6) | get isElectronNodeIntegrationWebWorker(){return this._detect(),this._i...
    method constructor (line 6) | constructor(){this._detected=!1,this._isWindows=!1,this._isNode=!1,thi...
    method _detect (line 6) | _detect(){this._detected||(this._detected=!0,this._isWindows=n._isWind...
    method _isWindows (line 6) | static _isWindows(){return typeof navigator<"u"&&navigator.userAgent&&...
    method constructor (line 6) | constructor(d,f,p){this.type=d,this.detail=f,this.timestamp=p}
    method fileUriToFilePath (line 6) | static fileUriToFilePath(x,A){if(A=decodeURI(A).replace(/%23/g,"#"),x)...
    method startsWith (line 6) | static startsWith(x,A){return x.length>=A.length&&x.substr(0,A.length)...
    method endsWith (line 6) | static endsWith(x,A){return x.length>=A.length&&x.substr(x.length-A.le...
    method containsQueryString (line 6) | static containsQueryString(x){return/^[^\#]*\?/gi.test(x)}
    method isAbsolutePath (line 6) | static isAbsolutePath(x){return/^((http:\/\/)|(https:\/\/)|(file:\/\/)...
    method forEachProperty (line 6) | static forEachProperty(x,A){if(x){let d;for(d in x)x.hasOwnProperty(d)...
    method isEmpty (line 6) | static isEmpty(x){let A=!0;return n.forEachProperty(x,()=>{A=!1}),A}
    method recursiveClone (line 6) | static recursiveClone(x){if(!x||typeof x!="object"||x instanceof RegEx...
    method generateAnonymousModule (line 6) | static generateAnonymousModule(){return"===anonymous"+n.NEXT_ANONYMOUS...
    method isAnonymousModule (line 6) | static isAnonymousModule(x){return n.startsWith(x,"===anonymous")}
    method getHighPerformanceTimestamp (line 6) | static getHighPerformanceTimestamp(){return this.PERFORMANCE_NOW_PROBE...
    method constructor (line 6) | constructor(a){this._env=a,this._scriptLoader=null,this._callbackMap={}}
    method load (line 6) | load(a,m,e,h){if(!this._scriptLoader)if(this._env.isWebWorker)this._sc...
    method triggerCallback (line 6) | triggerCallback(a){let m=this._callbackMap[a];delete this._callbackMap...
    method triggerErrorback (line 6) | triggerErrorback(a,m){let e=this._callbackMap[a];delete this._callback...
    method constructor (line 8) | constructor(c){let a=c.lastIndexOf("/");a!==-1?this.fromModulePath=c.s...
    method _normalizeModuleId (line 8) | static _normalizeModuleId(c){let a=c,m;for(m=/\/\.\//;m.test(a);)a=a.r...
    method resolveModule (line 8) | resolveModule(c){let a=c;return W.Utilities.isAbsolutePath(a)||(W.Util...
  class i (line 8) | class i{constructor(c,a,m,e,h,r){this.id=c,this.strId=a,this.dependencie...
    method constructor (line 6) | constructor(d){this._events=[new n(1,"",d)]}
    method record (line 6) | record(d,f){this._events.push(new n(d,f,W.Utilities.getHighPerformance...
    method getEvents (line 6) | getEvents(){return this._events}
    method validateConfigurationOptions (line 6) | static validateConfigurationOptions(d){function f(p){if(p.phase==="loa...
    method mergeConfigurationOptions (line 6) | static mergeConfigurationOptions(d=null,f=null){let p=W.Utilities.recu...
    method attachListeners (line 6) | attachListeners(a,m,e){let h=()=>{a.removeEventListener("load",r),a.re...
    method load (line 6) | load(a,m,e,h){if(/^node\|/.test(m)){let r=a.getConfig().getOptionsLite...
    method constructor (line 8) | constructor(c,a,m,e,h,r){this.id=c,this.strId=a,this.dependencies=m,th...
    method _safeInvokeFunction (line 8) | static _safeInvokeFunction(c,a){try{return{returnedValue:c.apply(W.glo...
    method _invokeFactory (line 8) | static _invokeFactory(c,a,m,e){return c.shouldInvokeFactory(a)?c.shoul...
    method complete (line 8) | complete(c,a,m,e){this._isComplete=!0;let h=null;if(this._callback)if(...
    method onDependencyError (line 8) | onDependencyError(c){return this._isComplete=!0,this.error=c,this._err...
    method isComplete (line 8) | isComplete(){return this._isComplete}
    method constructor (line 11) | constructor(A,d,f,p){this.originalStart=A,this.originalLength=d,this.m...
    method getOriginalEnd (line 11) | getOriginalEnd(){return this.originalStart+this.originalLength}
    method getModifiedEnd (line 11) | getModifiedEnd(){return this.modifiedStart+this.modifiedLength}
    method constructor (line 11) | constructor(){this.listeners=[],this.unexpectedErrorHandler=function(u...
    method emit (line 15) | emit(u){this.listeners.forEach(S=>{S(u)})}
    method onUnexpectedError (line 15) | onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}
    method onUnexpectedExternalError (line 15) | onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}
    method constructor (line 15) | constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(n...
    method define (line 15) | define(h,r){this._keyCodeToStr[h]=r,this._strToKeyCode[r.toLowerCase()...
    method keyCodeToStr (line 15) | keyCodeToStr(h){return this._keyCodeToStr[h]}
    method strToKeyCode (line 15) | strToKeyCode(h){return this._strToKeyCode[h.toLowerCase()]||0}
    method constructor (line 15) | constructor(A){this.executor=A,this._didRun=!1}
    method value (line 15) | get value(){if(!this._didRun)try{this._value=this.executor()}catch(A){...
    method rawValue (line 15) | get rawValue(){return this._value}
    method constructor (line 15) | constructor(d){this.element=d,this.next=i.Undefined,this.prev=i.Undefi...
    method constructor (line 20) | constructor(A,d){this.lineNumber=A,this.column=d}
    method with (line 20) | with(A=this.lineNumber,d=this.column){return A===this.lineNumber&&d===...
    method delta (line 20) | delta(A=0,d=0){return this.with(this.lineNumber+A,this.column+d)}
    method equals (line 20) | equals(A){return i.equals(this,A)}
    method equals (line 20) | static equals(A,d){return!A&&!d?!0:!!A&&!!d&&A.lineNumber===d.lineNumb...
    method isBefore (line 20) | isBefore(A){return i.isBefore(this,A)}
    method isBefore (line 20) | static isBefore(A,d){return A.lineNumber<d.lineNumber?!0:d.lineNumber<...
    method isBeforeOrEqual (line 20) | isBeforeOrEqual(A){return i.isBeforeOrEqual(this,A)}
    method isBeforeOrEqual (line 20) | static isBeforeOrEqual(A,d){return A.lineNumber<d.lineNumber?!0:d.line...
    method compare (line 20) | static compare(A,d){const f=A.lineNumber|0,p=d.lineNumber|0;if(f===p){...
    method clone (line 20) | clone(){return new i(this.lineNumber,this.column)}
    method toString (line 20) | toString(){return"("+this.lineNumber+","+this.column+")"}
    method lift (line 20) | static lift(A){return new i(A.lineNumber,A.column)}
    method isIPosition (line 20) | static isIPosition(A){return A&&typeof A.lineNumber=="number"&&typeof ...
    method toJSON (line 20) | toJSON(){return{lineNumber:this.lineNumber,column:this.column}}
    method constructor (line 22) | constructor(d,f){this.trimmedHash=d,this.lines=f}
    method getElement (line 22) | getElement(d){return this.trimmedHash[d]}
    method length (line 22) | get length(){return this.trimmedHash.length}
    method getBoundaryScore (line 22) | getBoundaryScore(d){const f=d===0?0:x(this.lines[d-1]),p=d===this.line...
    method getText (line 22) | getText(d){return this.lines.slice(d.start,d.endExclusive).join(`
    method isStronglyEqual (line 23) | isStronglyEqual(d,f){return this.lines[d]===this.lines[f]}
    method constructor (line 23) | constructor(f,p){this.width=f,this.height=p,this.array=[],this.array=n...
    method get (line 23) | get(f,p){return this.array[f+p*this.width]}
    method set (line 23) | set(f,p,c){this.array[f+p*this.width]=c}
    method constructor (line 24) | constructor(d,f,p){this.changes=d,this.moves=f,this.hitTimeout=p}
    method constructor (line 25) | constructor(){this._defaultValueSet=[["true","false"],["True","False"]...
    method navigateValueSet (line 25) | navigateValueSet(A,d,f,p,c){if(A&&d){const a=this.doNavigateValueSet(d...
    method doNavigateValueSet (line 25) | doNavigateValueSet(A,d){const f=this.numberReplace(A,d);return f!==nul...
    method numberReplace (line 25) | numberReplace(A,d){const f=Math.pow(10,A.length-(A.lastIndexOf(".")+1)...
    method textReplace (line 25) | textReplace(A,d){return this.valueSetsReplace(this._defaultValueSet,A,d)}
    method valueSetsReplace (line 25) | valueSetsReplace(A,d,f){let p=null;for(let c=0,a=A.length;p===null&&c<...
    method valueSetReplace (line 25) | valueSetReplace(A,d,f){let p=A.indexOf(d);return p>=0?(p+=f?1:-1,p<0?p...
    method getChannel (line 28) | static getChannel(A){return A.getChannel(i.CHANNEL_NAME)}
    method setChannel (line 28) | static setChannel(A,d){A.setChannel(i.CHANNEL_NAME,d)}
  class x (line 8) | class x{constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new ...
    method record (line 6) | record(d,f){}
    method getEvents (line 6) | getEvents(){return[]}
    method constructor (line 6) | constructor(d,f){if(this._env=d,this.options=i.mergeConfigurationOptio...
    method _createIgnoreDuplicateModulesMap (line 6) | _createIgnoreDuplicateModulesMap(){this.ignoreDuplicateModulesMap={};f...
    method _createSortedPathsRules (line 6) | _createSortedPathsRules(){this.sortedPathsRules=[],W.Utilities.forEach...
    method cloneAndMerge (line 6) | cloneAndMerge(d){return new x(this._env,i.mergeConfigurationOptions(d,...
    method getOptionsLiteral (line 6) | getOptionsLiteral(){return this.options}
    method _applyPaths (line 6) | _applyPaths(d){let f;for(let p=0,c=this.sortedPathsRules.length;p<c;p+...
    method _addUrlArgsToUrl (line 6) | _addUrlArgsToUrl(d){return W.Utilities.containsQueryString(d)?d+"&"+th...
    method _addUrlArgsIfNecessaryToUrl (line 6) | _addUrlArgsIfNecessaryToUrl(d){return this.options.urlArgs?this._addUr...
    method _addUrlArgsIfNecessaryToUrls (line 6) | _addUrlArgsIfNecessaryToUrls(d){if(this.options.urlArgs)for(let f=0,p=...
    method moduleIdToPaths (line 6) | moduleIdToPaths(d){if(this._env.isNode&&this.options.amdModulesPattern...
    method requireToUrl (line 6) | requireToUrl(d){let f=d;return W.Utilities.isAbsolutePath(f)||(f=this....
    method isBuild (line 6) | isBuild(){return this.options.isBuild}
    method shouldInvokeFactory (line 6) | shouldInvokeFactory(d){return!!(!this.options.isBuild||W.Utilities.isA...
    method isDuplicateMessageIgnoredFor (line 6) | isDuplicateMessageIgnoredFor(d){return this.ignoreDuplicateModulesMap....
    method getConfigForModule (line 6) | getConfigForModule(d){if(this.options.config)return this.options.confi...
    method shouldCatchError (line 6) | shouldCatchError(){return this.options.catchError}
    method shouldRecordStats (line 6) | shouldRecordStats(){return this.options.recordStats}
    method onError (line 6) | onError(d){this.options.onError(d)}
    method constructor (line 8) | constructor(){this._nextId=0,this._strModuleIdToIntModuleId=new Map,th...
    method getMaxModuleId (line 8) | getMaxModuleId(){return this._nextId}
    method getModuleId (line 8) | getModuleId(c){let a=this._strModuleIdToIntModuleId.get(c);return type...
    method getStrModuleId (line 8) | getStrModuleId(c){return this._intModuleIdToStrModuleId[c]}
    method constructor (line 11) | constructor(f,p){this.lastCache=void 0,this.lastArgKey=void 0,typeof f...
    method get (line 11) | get(f){const p=this._computeKey(f);return this.lastArgKey!==p&&(this.l...
    method constructor (line 11) | constructor(c,a,m,e=1){this._rgbaBrand=void 0,this.r=Math.min(255,Math...
    method equals (line 11) | static equals(c,a){return c.r===a.r&&c.g===a.g&&c.b===a.b&&c.a===a.a}
    method constructor (line 15) | constructor(){this._first=i.Undefined,this._last=i.Undefined,this._siz...
    method size (line 15) | get size(){return this._size}
    method isEmpty (line 15) | isEmpty(){return this._first===i.Undefined}
    method clear (line 15) | clear(){let d=this._first;for(;d!==i.Undefined;){const f=d.next;d.prev...
    method unshift (line 15) | unshift(d){return this._insert(d,!1)}
    method push (line 15) | push(d){return this._insert(d,!0)}
    method _insert (line 15) | _insert(d,f){const p=new i(d);if(this._first===i.Undefined)this._first...
    method shift (line 15) | shift(){if(this._first!==i.Undefined){const d=this._first.element;retu...
    method pop (line 15) | pop(){if(this._last!==i.Undefined){const d=this._last.element;return t...
    method _remove (line 15) | _remove(d){if(d.prev!==i.Undefined&&d.next!==i.Undefined){const f=d.pr...
    method create (line 15) | static create(d){return new x(d)}
    method constructor (line 15) | constructor(d){this._now=i&&d===!1?Date.now:globalThis.performance.now...
    method stop (line 15) | stop(){this._stopTime=this._now()}
    method reset (line 15) | reset(){this._startTime=this._now(),this._stopTime=-1}
    method elapsed (line 15) | elapsed(){return this._stopTime!==-1?this._stopTime-this._startTime:th...
    method constructor (line 20) | constructor(f){const p=(0,i.toUint8)(f);this._defaultValue=p,this._asc...
    method _createAsciiMap (line 20) | static _createAsciiMap(f){const p=new Uint8Array(256);return p.fill(f),p}
    method set (line 20) | set(f,p){const c=(0,i.toUint8)(p);f>=0&&f<256?this._asciiMap[f]=c:this...
    method get (line 20) | get(f){return f>=0&&f<256?this._asciiMap[f]:this._map.get(f)||this._de...
    method clear (line 20) | clear(){this._asciiMap.fill(this._defaultValue),this._map.clear()}
    method addRange (line 20) | static addRange(f,p){let c=0;for(;c<p.length&&p[c].endExclusive<f.star...
    method tryCreate (line 20) | static tryCreate(f,p){if(!(f>p))return new x(f,p)}
    method ofLength (line 20) | static ofLength(f){return new x(0,f)}
    method ofStartAndLength (line 20) | static ofStartAndLength(f,p){return new x(f,f+p)}
    method constructor (line 20) | constructor(f,p){if(this.start=f,this.endExclusive=p,f>p)throw new i.B...
    method isEmpty (line 20) | get isEmpty(){return this.start===this.endExclusive}
    method delta (line 20) | delta(f){return new x(this.start+f,this.endExclusive+f)}
    method deltaStart (line 20) | deltaStart(f){return new x(this.start+f,this.endExclusive)}
    method deltaEnd (line 20) | deltaEnd(f){return new x(this.start,this.endExclusive+f)}
    method length (line 20) | get length(){return this.endExclusive-this.start}
    method toString (line 20) | toString(){return`[${this.start}, ${this.endExclusive})`}
    method contains (line 20) | contains(f){return this.start<=f&&f<this.endExclusive}
    method join (line 20) | join(f){return new x(Math.min(this.start,f.start),Math.max(this.endExc...
    method intersect (line 20) | intersect(f){const p=Math.max(this.start,f.start),c=Math.min(this.endE...
    method intersects (line 20) | intersects(f){const p=Math.max(this.start,f.start),c=Math.min(this.end...
    method isBefore (line 20) | isBefore(f){return this.endExclusive<=f.start}
    method isAfter (line 20) | isAfter(f){return this.start>=f.endExclusive}
    method slice (line 20) | slice(f){return f.slice(this.start,this.endExclusive)}
    method substring (line 20) | substring(f){return f.substring(this.start,this.endExclusive)}
    method clip (line 20) | clip(f){if(this.isEmpty)throw new i.BugIndicatingError(`Invalid clippi...
    method clipCyclic (line 20) | clipCyclic(f){if(this.isEmpty)throw new i.BugIndicatingError(`Invalid ...
    method forEach (line 20) | forEach(f){for(let p=this.start;p<this.endExclusive;p++)f(p)}
    method constructor (line 20) | constructor(d,f,p,c){d>p||d===p&&f>c?(this.startLineNumber=p,this.star...
    method isEmpty (line 20) | isEmpty(){return x.isEmpty(this)}
    method isEmpty (line 20) | static isEmpty(d){return d.startLineNumber===d.endLineNumber&&d.startC...
    method containsPosition (line 20) | containsPosition(d){return x.containsPosition(this,d)}
    method containsPosition (line 20) | static containsPosition(d,f){return!(f.lineNumber<d.startLineNumber||f...
    method strictContainsPosition (line 20) | static strictContainsPosition(d,f){return!(f.lineNumber<d.startLineNum...
    method containsRange (line 20) | containsRange(d){return x.containsRange(this,d)}
    method containsRange (line 20) | static containsRange(d,f){return!(f.startLineNumber<d.startLineNumber|...
    method strictContainsRange (line 20) | strictContainsRange(d){return x.strictContainsRange(this,d)}
    method strictContainsRange (line 20) | static strictContainsRange(d,f){return!(f.startLineNumber<d.startLineN...
    method plusRange (line 20) | plusRange(d){return x.plusRange(this,d)}
    method plusRange (line 20) | static plusRange(d,f){let p,c,a,m;return f.startLineNumber<d.startLine...
    method intersectRanges (line 20) | intersectRanges(d){return x.intersectRanges(this,d)}
    method intersectRanges (line 20) | static intersectRanges(d,f){let p=d.startLineNumber,c=d.startColumn,a=...
    method equalsRange (line 20) | equalsRange(d){return x.equalsRange(this,d)}
    method equalsRange (line 20) | static equalsRange(d,f){return!d&&!f?!0:!!d&&!!f&&d.startLineNumber===...
    method getEndPosition (line 20) | getEndPosition(){return x.getEndPosition(this)}
    method getEndPosition (line 20) | static getEndPosition(d){return new i.Position(d.endLineNumber,d.endCo...
    method getStartPosition (line 20) | getStartPosition(){return x.getStartPosition(this)}
    method getStartPosition (line 20) | static getStartPosition(d){return new i.Position(d.startLineNumber,d.s...
    method toString (line 20) | toString(){return"["+this.startLineNumber+","+this.startColumn+" -> "+...
    method setEndPosition (line 20) | setEndPosition(d,f){return new x(this.startLineNumber,this.startColumn...
    method setStartPosition (line 20) | setStartPosition(d,f){return new x(d,f,this.endLineNumber,this.endColu...
    method collapseToStart (line 20) | collapseToStart(){return x.collapseToStart(this)}
    method collapseToStart (line 20) | static collapseToStart(d){return new x(d.startLineNumber,d.startColumn...
    method collapseToEnd (line 20) | collapseToEnd(){return x.collapseToEnd(this)}
    method collapseToEnd (line 20) | static collapseToEnd(d){return new x(d.endLineNumber,d.endColumn,d.end...
    method delta (line 20) | delta(d){return new x(this.startLineNumber+d,this.startColumn,this.end...
    method fromPositions (line 20) | static fromPositions(d,f=d){return new x(d.lineNumber,d.column,f.lineN...
    method lift (line 20) | static lift(d){return d?new x(d.startLineNumber,d.startColumn,d.endLin...
    method isIRange (line 20) | static isIRange(d){return d&&typeof d.startLineNumber=="number"&&typeo...
    method areIntersectingOrTouching (line 20) | static areIntersectingOrTouching(d,f){return!(d.endLineNumber<f.startL...
    method areIntersecting (line 20) | static areIntersecting(d,f){return!(d.endLineNumber<f.startLineNumber|...
    method compareRangesUsingStarts (line 20) | static compareRangesUsingStarts(d,f){if(d&&f){const a=d.startLineNumbe...
    method compareRangesUsingEnds (line 20) | static compareRangesUsingEnds(d,f){return d.endLineNumber===f.endLineN...
    method spansMultipleLines (line 20) | static spansMultipleLines(d){return d.endLineNumber>d.startLineNumber}
    method toJSON (line 20) | toJSON(){return this}
    method constructor (line 24) | constructor(d,f){this.lineRangeMapping=d,this.changes=f}
    method constructor (line 25) | constructor(h,r,s){const o=new Uint8Array(h*r);for(let u=0,S=h*r;u<S;u...
    method get (line 25) | get(h,r){return this._data[h*this.cols+r]}
    method set (line 25) | set(h,r,s){this._data[h*this.cols+r]=s}
  class A (line 8) | class A{constructor(c){this.id=c}}
    method constructor (line 6) | constructor(){this._cachedCanUseEval=null}
    method _canUseEval (line 6) | _canUseEval(a){return this._cachedCanUseEval===null&&(this._cachedCanU...
    method load (line 6) | load(a,m,e,h){if(/^node\|/.test(m)){const r=a.getConfig().getOptionsLi...
    method constructor (line 8) | constructor(c){this.id=c}
    method cachedValues (line 11) | get cachedValues(){return this._map}
    method constructor (line 11) | constructor(f,p){this._map=new Map,this._map2=new Map,typeof f=="funct...
    method get (line 11) | get(f){const p=this._computeKey(f);if(this._map2.has(p))return this._m...
    method constructor (line 11) | constructor(c,a,m,e){this._hslaBrand=void 0,this.h=Math.max(Math.min(3...
    method equals (line 11) | static equals(c,a){return c.h===a.h&&c.s===a.s&&c.l===a.l&&c.a===a.a}
    method fromRGBA (line 11) | static fromRGBA(c){const a=c.r/255,m=c.g/255,e=c.b/255,h=c.a,r=Math.ma...
    method _hue2rgb (line 11) | static _hue2rgb(c,a,m){return m<0&&(m+=1),m>1&&(m-=1),m<1/6?c+(a-c)*6*...
    method toRGBA (line 11) | static toRGBA(c){const a=c.h/360,{s:m,l:e,a:h}=c;let r,s,o;if(m===0)r=...
    method constructor (line 15) | constructor(r,s){this.uri=r,this.value=s}
    method constructor (line 20) | constructor(e){this.source=e}
    method getElements (line 20) | getElements(){const e=this.source,h=new Int32Array(e.length);for(let r...
    method constructor (line 20) | constructor(){this._actual=new x(0)}
    method add (line 20) | add(f){this._actual.set(f,1)}
    method has (line 20) | has(f){return this._actual.get(f)===1}
    method clear (line 20) | clear(){return this._actual.clear()}
    method constructor (line 20) | constructor(){this._sortedRanges=[]}
    method addRange (line 20) | addRange(f){let p=0;for(;p<this._sortedRanges.length&&this._sortedRang...
    method toString (line 20) | toString(){return this._sortedRanges.map(f=>f.toString()).join(", ")}
    method intersectsStrict (line 20) | intersectsStrict(f){let p=0;for(;p<this._sortedRanges.length&&this._so...
    method intersectWithRange (line 20) | intersectWithRange(f){const p=new A;for(const c of this._sortedRanges)...
    method intersectWithRangeLength (line 20) | intersectWithRangeLength(f){return this.intersectWithRange(f).length}
    method length (line 20) | get length(){return this._sortedRanges.reduce((f,p)=>f+p.length,0)}
    method constructor (line 20) | constructor(f,p,c,a){super(f,p,c,a),this.selectionStartLineNumber=f,th...
    method toString (line 20) | toString(){return"["+this.selectionStartLineNumber+","+this.selectionS...
    method equalsSelection (line 20) | equalsSelection(f){return A.selectionsEqual(this,f)}
    method selectionsEqual (line 20) | static selectionsEqual(f,p){return f.selectionStartLineNumber===p.sele...
    method getDirection (line 20) | getDirection(){return this.selectionStartLineNumber===this.startLineNu...
    method setEndPosition (line 20) | setEndPosition(f,p){return this.getDirection()===0?new A(this.startLin...
    method getPosition (line 20) | getPosition(){return new i.Position(this.positionLineNumber,this.posit...
    method getSelectionStart (line 20) | getSelectionStart(){return new i.Position(this.selectionStartLineNumbe...
    method setStartPosition (line 20) | setStartPosition(f,p){return this.getDirection()===0?new A(f,p,this.en...
    method fromPositions (line 20) | static fromPositions(f,p=f){return new A(f.lineNumber,f.column,p.lineN...
    method fromRange (line 20) | static fromRange(f,p){return p===0?new A(f.startLineNumber,f.startColu...
    method liftSelection (line 20) | static liftSelection(f){return new A(f.selectionStartLineNumber,f.sele...
    method selectionsArrEqual (line 20) | static selectionsArrEqual(f,p){if(f&&!p||!f&&p)return!1;if(!f&&!p)retu...
    method isISelection (line 20) | static isISelection(f){return f&&typeof f.selectionStartLineNumber=="n...
    method createWithDirection (line 20) | static createWithDirection(f,p,c,a,m){return m===0?new A(f,p,c,a):new ...
    method betweenPositions (line 20) | static betweenPositions(f,p){return f.lineNumber===p.lineNumber?new A(...
    method ofRange (line 20) | static ofRange(f){return A.betweenPositions(f.getStartPosition(),f.get...
    method ofText (line 20) | static ofText(f){let p=0,c=0;for(const a of f)a===`
    method constructor (line 21) | constructor(f,p){this.lineCount=f,this.columnCount=p}
    method isGreaterThanOrEqualTo (line 21) | isGreaterThanOrEqualTo(f){return this.lineCount!==f.lineCount?this.lin...
    method createRange (line 21) | createRange(f){return this.lineCount===0?new x.Range(f.lineNumber,f.co...
    method addToPosition (line 21) | addToPosition(f){return this.lineCount===0?new i.Position(f.lineNumber...
    method toString (line 21) | toString(){return`${this.lineCount},${this.columnCount}`}
    method constructor (line 21) | constructor(f){this.text=f,this.lineStartOffsetByLineIdx=[],this.lineS...
    method getOffset (line 22) | getOffset(f){return this.lineStartOffsetByLineIdx[f.lineNumber-1]+f.co...
    method getOffsetRange (line 22) | getOffsetRange(f){return new i.OffsetRange(this.getOffset(f.getStartPo...
    method textLength (line 22) | get textLength(){const f=this.lineStartOffsetByLineIdx.length-1;return...
    method constructor (line 22) | constructor(c,a){super(0),this._segmenter=null,this._cachedLine=null,t...
    method findPrevIntlWordBeforeOrAtOffset (line 22) | findPrevIntlWordBeforeOrAtOffset(c,a){let m=null;for(const e of this._...
    method findNextIntlWordAtOrAfterOffset (line 22) | findNextIntlWordAtOrAfterOffset(c,a){for(const m of this._getIntlSegme...
    method _getIntlSegmenterWordsOnLine (line 22) | _getIntlSegmenterWordsOnLine(c){return this._segmenter?this._cachedLin...
    method _filterWordSegments (line 22) | _filterWordSegments(c){const a=[];for(const m of c)this._isWordLike(m)...
    method _isWordLike (line 22) | _isWordLike(c){return!!c.isWordLike}
    method compute (line 22) | compute(a,m,e=x.InfiniteTimeout.instance){if(a.length===0||m.length===...
    method getKey (line 23) | static getKey(f){let p=this.chrKeys.get(f);return p===void 0&&(p=this....
    method constructor (line 23) | constructor(f,p,c){this.range=f,this.lines=p,this.source=c,this.histog...
    method computeSimilarity (line 24) | computeSimilarity(f){let p=0;const c=Math.max(this.histogram.length,f....
    method constructor (line 25) | constructor(h){let r=0,s=0;for(let u=0,S=h.length;u<S;u++){const[L,N,P...
    method nextState (line 25) | nextState(h,r){return r<0||r>=this._maxCharCode?0:this._states.get(h,r)}
    method constructor (line 25) | constructor(c){this.values=c,this.prefixSum=new Uint32Array(c.length),...
    method insertValues (line 25) | insertValues(c,a){c=(0,x.toUint32)(c);const m=this.values,e=this.prefi...
    method setValue (line 25) | setValue(c,a){return c=(0,x.toUint32)(c),a=(0,x.toUint32)(a),this.valu...
    method removeValues (line 25) | removeValues(c,a){c=(0,x.toUint32)(c),a=(0,x.toUint32)(a);const m=this...
    method getTotalSum (line 25) | getTotalSum(){return this.values.length===0?0:this._getPrefixSum(this....
    method getPrefixSum (line 25) | getPrefixSum(c){return c<0?0:(c=(0,x.toUint32)(c),this._getPrefixSum(c))}
    method _getPrefixSum (line 25) | _getPrefixSum(c){if(c<=this.prefixSumValidIndex[0])return this.prefixS...
    method getIndexOf (line 25) | getIndexOf(c){c=Math.floor(c),this.getTotalSum();let a=0,m=this.values...
    method constructor (line 29) | constructor(){this._tokenizationSupports=new Map,this._factories=new M...
    method handleChange (line 29) | handleChange(p){this._onDidChange.fire({changedLanguages:p,changedColo...
    method register (line 29) | register(p,c){return this._tokenizationSupports.set(p,c),this.handleCh...
    method get (line 29) | get(p){return this._tokenizationSupports.get(p)||null}
    method registerFactory (line 29) | registerFactory(p,c){this._factories.get(p)?.dispose();const a=new d(t...
    method getOrCreate (line 29) | async getOrCreate(p){const c=this.get(p);if(c)return c;const a=this._f...
    method isResolved (line 29) | isResolved(p){if(this.get(p))return!0;const a=this._factories.get(p);r...
    method setColorMap (line 29) | setColorMap(p){this._colorMap=p,this._onDidChange.fire({changedLanguag...
    method getColorMap (line 29) | getColorMap(){return this._colorMap}
    method getDefaultBackground (line 29) | getDefaultBackground(){return this._colorMap&&this._colorMap.length>2?...
  class d (line 8) | class d{constructor(c,a,m){this.id=c,this.pluginId=a,this.pluginParam=m}}
    method constructor (line 7) | constructor(a){this._env=a,this._didInitialize=!1,this._didPatchNodeRe...
    method _init (line 7) | _init(a){this._didInitialize||(this._didInitialize=!0,this._fs=a("fs")...
    method _initNodeRequire (line 7) | _initNodeRequire(a,m){const{nodeCachedData:e}=m.getConfig().getOptions...
    method load (line 7) | load(a,m,e,h){const r=a.getConfig().getOptionsLiteral(),s=f(a.getRecor...
    method _createAndEvalScript (line 7) | _createAndEvalScript(a,m,e,h,r){const s=a.getRecorder();s.record(31,e....
    method _getElectronRendererScriptPathOrUri (line 7) | _getElectronRendererScriptPathOrUri(a){if(!this._env.isElectronRendere...
    method _getCachedDataPath (line 7) | _getCachedDataPath(a,m){const e=this._crypto.createHash("md5").update(...
    method _handleCachedData (line 7) | _handleCachedData(a,m,e,h,r){a.cachedDataRejected?this._fs.unlink(e,s=...
    method _createAndWriteCachedData (line 7) | _createAndWriteCachedData(a,m,e,h){let r=Math.ceil(h.getConfig().getOp...
    method _readSourceAndCachedData (line 7) | _readSourceAndCachedData(a,m,e,h){if(!m)this._fs.readFile(a,{encoding:...
    method _verifyCachedData (line 7) | _verifyCachedData(a,m,e,h,r){h&&(a.cachedDataRejected||setTimeout(()=>...
    method constructor (line 8) | constructor(c,a,m){this.id=c,this.pluginId=a,this.pluginParam=m}
    method constructor (line 11) | constructor(c,a,m,e){this._hsvaBrand=void 0,this.h=Math.max(Math.min(3...
    method equals (line 11) | static equals(c,a){return c.h===a.h&&c.s===a.s&&c.v===a.v&&c.a===a.a}
    method fromRGBA (line 11) | static fromRGBA(c){const a=c.r/255,m=c.g/255,e=c.b/255,h=Math.max(a,m,...
    method toRGBA (line 11) | static toRGBA(c){const{h:a,s:m,v:e,a:h}=c,r=e*m,s=r*(1-Math.abs(a/60%2...
    method constructor (line 20) | constructor(){this._isCancelled=!1,this._emitter=null}
    method cancel (line 20) | cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this...
    method isCancellationRequested (line 20) | get isCancellationRequested(){return this._isCancelled}
    method onCancellationRequested (line 20) | get onCancellationRequested(){return this._isCancelled?x:(this._emitte...
    method dispose (line 20) | dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=null)}
    method trivial (line 22) | static trivial(e,h){return new d([new f(A.OffsetRange.ofLength(e.lengt...
    method trivialTimedOut (line 22) | static trivialTimedOut(e,h){return new d([new f(A.OffsetRange.ofLength...
    method constructor (line 22) | constructor(e,h){this.diffs=e,this.hitTimeout=h}
    method constructor (line 22) | constructor(a,m,e,h){this.prev=a,this.x=m,this.y=e,this.length=h}
    method compute (line 24) | compute(p,c,a=x.InfiniteTimeout.instance,m){if(p.length===0||c.length=...
    method constructor (line 25) | constructor(c){this._values=c,this._isValid=!1,this._validEndIndex=-1,...
    method getTotalSum (line 25) | getTotalSum(){return this._ensureValid(),this._indexBySum.length}
    method getPrefixSum (line 25) | getPrefixSum(c){return this._ensureValid(),c===0?0:this._prefixSum[c-1]}
    method getIndexOf (line 25) | getIndexOf(c){this._ensureValid();const a=this._indexBySum[c],m=a>0?th...
    method removeValues (line 25) | removeValues(c,a){this._values.splice(c,a),this._invalidate(c)}
    method insertValues (line 25) | insertValues(c,a){this._values=(0,i.arrayInsert)(this._values,c,a),thi...
    method _invalidate (line 25) | _invalidate(c){this._isValid=!1,this._validEndIndex=Math.min(this._val...
    method _ensureValid (line 25) | _ensureValid(){if(!this._isValid){for(let c=this._validEndIndex+1,a=th...
    method setValue (line 25) | setValue(c,a){this._values[c]!==a&&(this._values[c]=a,this._invalidate...
    method constructor (line 25) | constructor(p,c,a,m){this._uri=p,this._lines=c,this._eol=a,this._versi...
    method dispose (line 25) | dispose(){this._lines.length=0}
    method version (line 25) | get version(){return this._versionId}
    method getText (line 25) | getText(){return this._cachedTextValue===null&&(this._cachedTextValue=...
    method onEvents (line 25) | onEvents(p){p.eol&&p.eol!==this._eol&&(this._eol=p.eol,this._lineStart...
    method _ensureLineStarts (line 25) | _ensureLineStarts(){if(!this._lineStarts){const p=this._eol.length,c=t...
    method _setLineText (line 25) | _setLineText(p,c){this._lines[p]=c,this._lineStarts&&this._lineStarts....
    method _acceptDeleteRange (line 25) | _acceptDeleteRange(p){if(p.startLineNumber===p.endLineNumber){if(p.sta...
    method _acceptInsertText (line 25) | _acceptInsertText(p,c){if(c.length===0)return;const a=(0,i.splitLines)...
    method isResolved (line 29) | get isResolved(){return this._isResolved}
    method constructor (line 29) | constructor(p,c,a){super(),this._registry=p,this._languageId=c,this._f...
    method dispose (line 29) | dispose(){this._isDisposed=!0,super.dispose()}
    method resolve (line 29) | async resolve(){return this._resolvePromise||(this._resolvePromise=thi...
    method _create (line 29) | async _create(){const p=await this._factory.tokenizationSupport;this._...
  class f (line 8) | class f{constructor(c,a,m,e,h=0){this._env=c,this._scriptLoader=a,this._...
    method constructor (line 8) | constructor(c,a,m,e,h=0){this._env=c,this._scriptLoader=a,this._loader...
    method reset (line 8) | reset(){return new f(this._env,this._scriptLoader,this._defineFunc,thi...
    method getGlobalAMDDefineFunc (line 8) | getGlobalAMDDefineFunc(){return this._defineFunc}
    method getGlobalAMDRequireFunc (line 8) | getGlobalAMDRequireFunc(){return this._requireFunc}
    method _findRelevantLocationInStack (line 8) | static _findRelevantLocationInStack(c,a){let m=r=>r.replace(/\\/g,"/")...
    method getBuildInfo (line 8) | getBuildInfo(){if(!this._config.isBuild())return null;let c=[],a=0;for...
    method getRecorder (line 8) | getRecorder(){return this._recorder||(this._config.shouldRecordStats()...
    method getLoaderEvents (line 8) | getLoaderEvents(){return this.getRecorder().getEvents()}
    method enqueueDefineAnonymousModule (line 8) | enqueueDefineAnonymousModule(c,a){if(this._currentAnonymousDefineCall!...
    method defineModule (line 8) | defineModule(c,a,m,e,h,r=new n(c)){let s=this._moduleIdProvider.getMod...
    method _normalizeDependency (line 8) | _normalizeDependency(c,a){if(c==="exports")return A.EXPORTS;if(c==="mo...
    method _normalizeDependencies (line 8) | _normalizeDependencies(c,a){let m=[],e=0;for(let h=0,r=c.length;h<r;h+...
    method _relativeRequire (line 8) | _relativeRequire(c,a,m,e){if(typeof a=="string")return this.synchronou...
    method synchronousRequire (line 8) | synchronousRequire(c,a=new n(c)){let m=this._normalizeDependency(c,a),...
    method configure (line 8) | configure(c,a){let m=this._config.shouldRecordStats();a?this._config=n...
    method getConfig (line 8) | getConfig(){return this._config}
    method _onLoad (line 8) | _onLoad(c){if(this._currentAnonymousDefineCall!==null){let a=this._cur...
    method _createLoadError (line 8) | _createLoadError(c,a){let m=this._moduleIdProvider.getStrModuleId(c),e...
    method _onLoadError (line 8) | _onLoadError(c,a){const m=this._createLoadError(c,a);this._modules2[c]...
    method _hasDependencyPath (line 8) | _hasDependencyPath(c,a){let m=this._modules2[c];if(!m)return!1;let e=[...
    method _findCyclePath (line 8) | _findCyclePath(c,a,m){if(c===a||m===50)return[c];let e=this._modules2[...
    method _createRequire (line 8) | _createRequire(c){let a=(m,e,h)=>this._relativeRequire(c,m,e,h);return...
    method _loadModule (line 8) | _loadModule(c){if(this._modules2[c]||this._knownModules2[c])return;thi...
    method _loadPluginDependency (line 8) | _loadPluginDependency(c,a){if(this._modules2[a.id]||this._knownModules...
    method _resolve (line 8) | _resolve(c){let a=c.dependencies;if(a)for(let m=0,e=a.length;m<e;m++){...
    method _onModuleComplete (line 9) | _onModuleComplete(c){let a=this.getRecorder();if(c.isComplete())return...
    method fromHex (line 11) | static fromHex(c){return f.Format.CSS.parseHex(c)||f.red}
    method equals (line 11) | static equals(c,a){return!c&&!a?!0:!c||!a?!1:c.equals(a)}
    method hsla (line 11) | get hsla(){return this._hsla?this._hsla:A.fromRGBA(this.rgba)}
    method hsva (line 11) | get hsva(){return this._hsva?this._hsva:d.fromRGBA(this.rgba)}
    method constructor (line 11) | constructor(c){if(c)if(c instanceof x)this.rgba=c;else if(c instanceof...
    method equals (line 11) | equals(c){return!!c&&x.equals(this.rgba,c.rgba)&&A.equals(this.hsla,c....
    method getRelativeLuminance (line 11) | getRelativeLuminance(){const c=f._relativeLuminanceForComponent(this.r...
    method _relativeLuminanceForComponent (line 11) | static _relativeLuminanceForComponent(c){const a=c/255;return a<=.0392...
    method isLighter (line 11) | isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e...
    method isLighterThan (line 11) | isLighterThan(c){const a=this.getRelativeLuminance(),m=c.getRelativeLu...
    method isDarkerThan (line 11) | isDarkerThan(c){const a=this.getRelativeLuminance(),m=c.getRelativeLum...
    method lighten (line 11) | lighten(c){return new f(new A(this.hsla.h,this.hsla.s,this.hsla.l+this...
    method darken (line 11) | darken(c){return new f(new A(this.hsla.h,this.hsla.s,this.hsla.l-this....
    method transparent (line 11) | transparent(c){const{r:a,g:m,b:e,a:h}=this.rgba;return new f(new x(a,m...
    method isTransparent (line 11) | isTransparent(){return this.rgba.a===0}
    method isOpaque (line 11) | isOpaque(){return this.rgba.a===1}
    method opposite (line 11) | opposite(){return new f(new x(255-this.rgba.r,255-this.rgba.g,255-this...
    method makeOpaque (line 11) | makeOpaque(c){if(this.isOpaque()||c.rgba.a!==1)return this;const{r:a,g...
    method toString (line 11) | toString(){return this._toString||(this._toString=f.Format.CSS.format(...
    method getLighterColor (line 11) | static getLighterColor(c,a,m){if(c.isLighterThan(a))return c;m=m||.5;c...
    method getDarkerColor (line 11) | static getDarkerColor(c,a,m){if(c.isDarkerThan(a))return c;m=m||.5;con...
    method constructor (line 15) | constructor(r,s){if(this[i]="ResourceMap",r instanceof f)this.map=new ...
    method set (line 15) | set(r,s){return this.map.set(this.toKey(r),new A(r,s)),this}
    method get (line 15) | get(r){return this.map.get(this.toKey(r))?.value}
    method has (line 15) | has(r){return this.map.has(this.toKey(r))}
    method size (line 15) | get size(){return this.map.size}
    method clear (line 15) | clear(){this.map.clear()}
    method delete (line 15) | delete(r){return this.map.delete(this.toKey(r))}
    method forEach (line 15) | forEach(r,s){typeof s<"u"&&(r=r.bind(s));for(const[o,u]of this.map)r(u...
    method values (line 15) | *values(){for(const r of this.map.values())yield r.value}
    method keys (line 15) | *keys(){for(const r of this.map.values())yield r.uri}
    method entries (line 15) | *entries(){for(const r of this.map.values())yield[r.uri,r.value]}
    method constructor (line 20) | constructor(a){this._token=void 0,this._parentListener=void 0,this._pa...
    method token (line 20) | get token(){return this._token||(this._token=new d),this._token}
    method cancel (line 20) | cancel(){this._token?this._token instanceof d&&this._token.cancel():th...
    method dispose (line 20) | dispose(a=!1){a&&this.cancel(),this._parentListener?.dispose(),this._t...
    method Assert (line 20) | static Assert(e,h){if(!e)throw new Error(h)}
    method fromRangeInclusive (line 20) | static fromRangeInclusive(a){return new f(a.startLineNumber,a.endLineN...
    method joinMany (line 20) | static joinMany(a){if(a.length===0)return[];let m=new p(a[0].slice());...
    method join (line 20) | static join(a){if(a.length===0)throw new i.BugIndicatingError("lineRan...
    method ofLength (line 20) | static ofLength(a,m){return new f(a,a+m)}
    method deserialize (line 20) | static deserialize(a){return new f(a[0],a[1])}
    method constructor (line 20) | constructor(a,m){if(a>m)throw new i.BugIndicatingError(`startLineNumbe...
    method contains (line 20) | contains(a){return this.startLineNumber<=a&&a<this.endLineNumberExclus...
    method isEmpty (line 20) | get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}
    method delta (line 20) | delta(a){return new f(this.startLineNumber+a,this.endLineNumberExclusi...
    method deltaLength (line 20) | deltaLength(a){return new f(this.startLineNumber,this.endLineNumberExc...
    method length (line 20) | get length(){return this.endLineNumberExclusive-this.startLineNumber}
    method join (line 20) | join(a){return new f(Math.min(this.startLineNumber,a.startLineNumber),...
    method toString (line 20) | toString(){return`[${this.startLineNumber},${this.endLineNumberExclusi...
    method intersect (line 20) | intersect(a){const m=Math.max(this.startLineNumber,a.startLineNumber),...
    method intersectsStrict (line 20) | intersectsStrict(a){return this.startLineNumber<a.endLineNumberExclusi...
    method overlapOrTouch (line 20) | overlapOrTouch(a){return this.startLineNumber<=a.endLineNumberExclusiv...
    method equals (line 20) | equals(a){return this.startLineNumber===a.startLineNumber&&this.endLin...
    method toInclusiveRange (line 20) | toInclusiveRange(){return this.isEmpty?null:new A.Range(this.startLine...
    method toExclusiveRange (line 20) | toExclusiveRange(){return new A.Range(this.startLineNumber,1,this.endL...
    method mapToLineArray (line 20) | mapToLineArray(a){const m=[];for(let e=this.startLineNumber;e<this.end...
    method forEach (line 20) | forEach(a){for(let m=this.startLineNumber;m<this.endLineNumberExclusiv...
    method serialize (line 20) | serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}
    method includes (line 20) | includes(a){return this.startLineNumber<=a&&a<this.endLineNumberExclus...
    method toOffsetRange (line 20) | toOffsetRange(){return new x.OffsetRange(this.startLineNumber-1,this.e...
    method invert (line 22) | static invert(e,h){const r=[];return(0,i.forEachAdjacent)(e,(s,o)=>{r....
    method fromOffsetPairs (line 22) | static fromOffsetPairs(e,h){return new f(new A.OffsetRange(e.offset1,h...
    method assertSorted (line 22) | static assertSorted(e){let h;for(const r of e){if(h&&!(h.seq1Range.end...
    method constructor (line 22) | constructor(e,h){this.seq1Range=e,this.seq2Range=h}
    method swap (line 22) | swap(){return new f(this.seq2Range,this.seq1Range)}
    method toString (line 22) | toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}
    method join (line 22) | join(e){return new f(this.seq1Range.join(e.seq1Range),this.seq2Range.j...
    method delta (line 22) | delta(e){return e===0?this:new f(this.seq1Range.delta(e),this.seq2Rang...
    method deltaStart (line 22) | deltaStart(e){return e===0?this:new f(this.seq1Range.deltaStart(e),thi...
    method deltaEnd (line 22) | deltaEnd(e){return e===0?this:new f(this.seq1Range.deltaEnd(e),this.se...
    method intersect (line 22) | intersect(e){const h=this.seq1Range.intersect(e.seq1Range),r=this.seq2...
    method getStarts (line 22) | getStarts(){return new p(this.seq1Range.start,this.seq2Range.start)}
    method getEndExclusives (line 22) | getEndExclusives(){return new p(this.seq1Range.endExclusive,this.seq2R...
    method constructor (line 22) | constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new...
    method get (line 22) | get(a){return a<0?(a=-a-1,this.negativeArr[a]):this.positiveArr[a]}
    method set (line 22) | set(a,m){if(a<0){if(a=-a-1,a>=this.negativeArr.length){const e=this.ne...
    method originalIndentSize (line 25) | get originalIndentSize(){return this._indentSizeIsTabSize?"tabSize":th...
    method constructor (line 25) | constructor(s){this._textModelResolvedOptionsBrand=void 0,this.tabSize...
    method equals (line 25) | equals(s){return this.tabSize===s.tabSize&&this._indentSizeIsTabSize==...
    method createChangeEvent (line 25) | createChangeEvent(s){return{tabSize:this.tabSize!==s.tabSize,indentSiz...
    method constructor (line 25) | constructor(c,a){this.index=c,this.remainder=a,this._prefixSumIndexOfR...
  function f (line 9) | function f(){if(typeof W.global.require<"u"||typeof require<"u"){const p...
    method constructor (line 8) | constructor(c,a,m,e,h=0){this._env=c,this._scriptLoader=a,this._loader...
    method reset (line 8) | reset(){return new f(this._env,this._scriptLoader,this._defineFunc,thi...
    method getGlobalAMDDefineFunc (line 8) | getGlobalAMDDefineFunc(){return this._defineFunc}
    method getGlobalAMDRequireFunc (line 8) | getGlobalAMDRequireFunc(){return this._requireFunc}
    method _findRelevantLocationInStack (line 8) | static _findRelevantLocationInStack(c,a){let m=r=>r.replace(/\\/g,"/")...
    method getBuildInfo (line 8) | getBuildInfo(){if(!this._config.isBuild())return null;let c=[],a=0;for...
    method getRecorder (line 8) | getRecorder(){return this._recorder||(this._config.shouldRecordStats()...
    method getLoaderEvents (line 8) | getLoaderEvents(){return this.getRecorder().getEvents()}
    method enqueueDefineAnonymousModule (line 8) | enqueueDefineAnonymousModule(c,a){if(this._currentAnonymousDefineCall!...
    method defineModule (line 8) | defineModule(c,a,m,e,h,r=new n(c)){let s=this._moduleIdProvider.getMod...
    method _normalizeDependency (line 8) | _normalizeDependency(c,a){if(c==="exports")return A.EXPORTS;if(c==="mo...
    method _normalizeDependencies (line 8) | _normalizeDependencies(c,a){let m=[],e=0;for(let h=0,r=c.length;h<r;h+...
    method _relativeRequire (line 8) | _relativeRequire(c,a,m,e){if(typeof a=="string")return this.synchronou...
    method synchronousRequire (line 8) | synchronousRequire(c,a=new n(c)){let m=this._normalizeDependency(c,a),...
    method configure (line 8) | configure(c,a){let m=this._config.shouldRecordStats();a?this._config=n...
    method getConfig (line 8) | getConfig(){return this._config}
    method _onLoad (line 8) | _onLoad(c){if(this._currentAnonymousDefineCall!==null){let a=this._cur...
    method _createLoadError (line 8) | _createLoadError(c,a){let m=this._moduleIdProvider.getStrModuleId(c),e...
    method _onLoadError (line 8) | _onLoadError(c,a){const m=this._createLoadError(c,a);this._modules2[c]...
    method _hasDependencyPath (line 8) | _hasDependencyPath(c,a){let m=this._modules2[c];if(!m)return!1;let e=[...
    method _findCyclePath (line 8) | _findCyclePath(c,a,m){if(c===a||m===50)return[c];let e=this._modules2[...
    method _createRequire (line 8) | _createRequire(c){let a=(m,e,h)=>this._relativeRequire(c,m,e,h);return...
    method _loadModule (line 8) | _loadModule(c){if(this._modules2[c]||this._knownModules2[c])return;thi...
    method _loadPluginDependency (line 8) | _loadPluginDependency(c,a){if(this._modules2[a.id]||this._knownModules...
    method _resolve (line 8) | _resolve(c){let a=c.dependencies;if(a)for(let m=0,e=a.length;m<e;m++){...
    method _onModuleComplete (line 9) | _onModuleComplete(c){let a=this.getRecorder();if(c.isComplete())return...
    method fromHex (line 11) | static fromHex(c){return f.Format.CSS.parseHex(c)||f.red}
    method equals (line 11) | static equals(c,a){return!c&&!a?!0:!c||!a?!1:c.equals(a)}
    method hsla (line 11) | get hsla(){return this._hsla?this._hsla:A.fromRGBA(this.rgba)}
    method hsva (line 11) | get hsva(){return this._hsva?this._hsva:d.fromRGBA(this.rgba)}
    method constructor (line 11) | constructor(c){if(c)if(c instanceof x)this.rgba=c;else if(c instanceof...
    method equals (line 11) | equals(c){return!!c&&x.equals(this.rgba,c.rgba)&&A.equals(this.hsla,c....
    method getRelativeLuminance (line 11) | getRelativeLuminance(){const c=f._relativeLuminanceForComponent(this.r...
    method _relativeLuminanceForComponent (line 11) | static _relativeLuminanceForComponent(c){const a=c/255;return a<=.0392...
    method isLighter (line 11) | isLighter(){return(this.rgba.r*299+this.rgba.g*587+this.rgba.b*114)/1e...
    method isLighterThan (line 11) | isLighterThan(c){const a=this.getRelativeLuminance(),m=c.getRelativeLu...
    method isDarkerThan (line 11) | isDarkerThan(c){const a=this.getRelativeLuminance(),m=c.getRelativeLum...
    method lighten (line 11) | lighten(c){return new f(new A(this.hsla.h,this.hsla.s,this.hsla.l+this...
    method darken (line 11) | darken(c){return new f(new A(this.hsla.h,this.hsla.s,this.hsla.l-this....
    method transparent (line 11) | transparent(c){const{r:a,g:m,b:e,a:h}=this.rgba;return new f(new x(a,m...
    method isTransparent (line 11) | isTransparent(){return this.rgba.a===0}
    method isOpaque (line 11) | isOpaque(){return this.rgba.a===1}
    method opposite (line 11) | opposite(){return new f(new x(255-this.rgba.r,255-this.rgba.g,255-this...
    method makeOpaque (line 11) | makeOpaque(c){if(this.isOpaque()||c.rgba.a!==1)return this;const{r:a,g...
    method toString (line 11) | toString(){return this._toString||(this._toString=f.Format.CSS.format(...
    method getLighterColor (line 11) | static getLighterColor(c,a,m){if(c.isLighterThan(a))return c;m=m||.5;c...
    method getDarkerColor (line 11) | static getDarkerColor(c,a,m){if(c.isDarkerThan(a))return c;m=m||.5;con...
    method constructor (line 15) | constructor(r,s){if(this[i]="ResourceMap",r instanceof f)this.map=new ...
    method set (line 15) | set(r,s){return this.map.set(this.toKey(r),new A(r,s)),this}
    method get (line 15) | get(r){return this.map.get(this.toKey(r))?.value}
    method has (line 15) | has(r){return this.map.has(this.toKey(r))}
    method size (line 15) | get size(){return this.map.size}
    method clear (line 15) | clear(){this.map.clear()}
    method delete (line 15) | delete(r){return this.map.delete(this.toKey(r))}
    method forEach (line 15) | forEach(r,s){typeof s<"u"&&(r=r.bind(s));for(const[o,u]of this.map)r(u...
    method values (line 15) | *values(){for(const r of this.map.values())yield r.value}
    method keys (line 15) | *keys(){for(const r of this.map.values())yield r.uri}
    method entries (line 15) | *entries(){for(const r of this.map.values())yield[r.uri,r.value]}
    method constructor (line 20) | constructor(a){this._token=void 0,this._parentListener=void 0,this._pa...
    method token (line 20) | get token(){return this._token||(this._token=new d),this._token}
    method cancel (line 20) | cancel(){this._token?this._token instanceof d&&this._token.cancel():th...
    method dispose (line 20) | dispose(a=!1){a&&this.cancel(),this._parentListener?.dispose(),this._t...
    method Assert (line 20) | static Assert(e,h){if(!e)throw new Error(h)}
    method fromRangeInclusive (line 20) | static fromRangeInclusive(a){return new f(a.startLineNumber,a.endLineN...
    method joinMany (line 20) | static joinMany(a){if(a.length===0)return[];let m=new p(a[0].slice());...
    method join (line 20) | static join(a){if(a.length===0)throw new i.BugIndicatingError("lineRan...
    method ofLength (line 20) | static ofLength(a,m){return new f(a,a+m)}
    method deserialize (line 20) | static deserialize(a){return new f(a[0],a[1])}
    method constructor (line 20) | constructor(a,m){if(a>m)throw new i.BugIndicatingError(`startLineNumbe...
    method contains (line 20) | contains(a){return this.startLineNumber<=a&&a<this.endLineNumberExclus...
    method isEmpty (line 20) | get isEmpty(){return this.startLineNumber===this.endLineNumberExclusive}
    method delta (line 20) | delta(a){return new f(this.startLineNumber+a,this.endLineNumberExclusi...
    method deltaLength (line 20) | deltaLength(a){return new f(this.startLineNumber,this.endLineNumberExc...
    method length (line 20) | get length(){return this.endLineNumberExclusive-this.startLineNumber}
    method join (line 20) | join(a){return new f(Math.min(this.startLineNumber,a.startLineNumber),...
    method toString (line 20) | toString(){return`[${this.startLineNumber},${this.endLineNumberExclusi...
    method intersect (line 20) | intersect(a){const m=Math.max(this.startLineNumber,a.startLineNumber),...
    method intersectsStrict (line 20) | intersectsStrict(a){return this.startLineNumber<a.endLineNumberExclusi...
    method overlapOrTouch (line 20) | overlapOrTouch(a){return this.startLineNumber<=a.endLineNumberExclusiv...
    method equals (line 20) | equals(a){return this.startLineNumber===a.startLineNumber&&this.endLin...
    method toInclusiveRange (line 20) | toInclusiveRange(){return this.isEmpty?null:new A.Range(this.startLine...
    method toExclusiveRange (line 20) | toExclusiveRange(){return new A.Range(this.startLineNumber,1,this.endL...
    method mapToLineArray (line 20) | mapToLineArray(a){const m=[];for(let e=this.startLineNumber;e<this.end...
    method forEach (line 20) | forEach(a){for(let m=this.startLineNumber;m<this.endLineNumberExclusiv...
    method serialize (line 20) | serialize(){return[this.startLineNumber,this.endLineNumberExclusive]}
    method includes (line 20) | includes(a){return this.startLineNumber<=a&&a<this.endLineNumberExclus...
    method toOffsetRange (line 20) | toOffsetRange(){return new x.OffsetRange(this.startLineNumber-1,this.e...
    method invert (line 22) | static invert(e,h){const r=[];return(0,i.forEachAdjacent)(e,(s,o)=>{r....
    method fromOffsetPairs (line 22) | static fromOffsetPairs(e,h){return new f(new A.OffsetRange(e.offset1,h...
    method assertSorted (line 22) | static assertSorted(e){let h;for(const r of e){if(h&&!(h.seq1Range.end...
    method constructor (line 22) | constructor(e,h){this.seq1Range=e,this.seq2Range=h}
    method swap (line 22) | swap(){return new f(this.seq2Range,this.seq1Range)}
    method toString (line 22) | toString(){return`${this.seq1Range} <-> ${this.seq2Range}`}
    method join (line 22) | join(e){return new f(this.seq1Range.join(e.seq1Range),this.seq2Range.j...
    method delta (line 22) | delta(e){return e===0?this:new f(this.seq1Range.delta(e),this.seq2Rang...
    method deltaStart (line 22) | deltaStart(e){return e===0?this:new f(this.seq1Range.deltaStart(e),thi...
    method deltaEnd (line 22) | deltaEnd(e){return e===0?this:new f(this.seq1Range.deltaEnd(e),this.se...
    method intersect (line 22) | intersect(e){const h=this.seq1Range.intersect(e.seq1Range),r=this.seq2...
    method getStarts (line 22) | getStarts(){return new p(this.seq1Range.start,this.seq2Range.start)}
    method getEndExclusives (line 22) | getEndExclusives(){return new p(this.seq1Range.endExclusive,this.seq2R...
    method constructor (line 22) | constructor(){this.positiveArr=new Int32Array(10),this.negativeArr=new...
    method get (line 22) | get(a){return a<0?(a=-a-1,this.negativeArr[a]):this.positiveArr[a]}
    method set (line 22) | set(a,m){if(a<0){if(a=-a-1,a>=this.negativeArr.length){const e=this.ne...
    method originalIndentSize (line 25) | get originalIndentSize(){return this._indentSizeIsTabSize?"tabSize":th...
    method constructor (line 25) | constructor(s){this._textModelResolvedOptionsBrand=void 0,this.tabSize...
    method equals (line 25) | equals(s){return this.tabSize===s.tabSize&&this._indentSizeIsTabSize==...
    method createChangeEvent (line 25) | createChangeEvent(s){return{tabSize:this.tabSize!==s.tabSize,indentSiz...
    method constructor (line 25) | constructor(c,a){this.index=c,this.remainder=a,this._prefixSumIndexOfR...
  function i (line 9) | function i(e,h){if(W?.createTrustedTypesPolicy)try{return W.createTruste...
    method constructor (line 6) | constructor(d){this._events=[new n(1,"",d)]}
    method record (line 6) | record(d,f){this._events.push(new n(d,f,W.Utilities.getHighPerformance...
    method getEvents (line 6) | getEvents(){return this._events}
    method validateConfigurationOptions (line 6) | static validateConfigurationOptions(d){function f(p){if(p.phase==="loa...
    method mergeConfigurationOptions (line 6) | static mergeConfigurationOptions(d=null,f=null){let p=W.Utilities.recu...
    method attachListeners (line 6) | attachListeners(a,m,e){let h=()=>{a.removeEventListener("load",r),a.re...
    method load (line 6) | load(a,m,e,h){if(/^node\|/.test(m)){let r=a.getConfig().getOptionsLite...
    method constructor (line 8) | constructor(c,a,m,e,h,r){this.id=c,this.strId=a,this.dependencies=m,th...
    method _safeInvokeFunction (line 8) | static _safeInvokeFunction(c,a){try{return{returnedValue:c.apply(W.glo...
    method _invokeFactory (line 8) | static _invokeFactory(c,a,m,e){return c.shouldInvokeFactory(a)?c.shoul...
    method complete (line 8) | complete(c,a,m,e){this._isComplete=!0;let h=null;if(this._callback)if(...
    method onDependencyError (line 8) | onDependencyError(c){return this._isComplete=!0,this.error=c,this._err...
    method isComplete (line 8) | isComplete(){return this._isComplete}
    method constructor (line 11) | constructor(A,d,f,p){this.originalStart=A,this.originalLength=d,this.m...
    method getOriginalEnd (line 11) | getOriginalEnd(){return this.originalStart+this.originalLength}
    method getModifiedEnd (line 11) | getModifiedEnd(){return this.modifiedStart+this.modifiedLength}
    method constructor (line 11) | constructor(){this.listeners=[],this.unexpectedErrorHandler=function(u...
    method emit (line 15) | emit(u){this.listeners.forEach(S=>{S(u)})}
    method onUnexpectedError (line 15) | onUnexpectedError(u){this.unexpectedErrorHandler(u),this.emit(u)}
    method onUnexpectedExternalError (line 15) | onUnexpectedExternalError(u){this.unexpectedErrorHandler(u)}
    method constructor (line 15) | constructor(){this._keyCodeToStr=[],this._strToKeyCode=Object.create(n...
    method define (line 15) | define(h,r){this._keyCodeToStr[h]=r,this._strToKeyCode[r.toLowerCase()...
    method keyCodeToStr (line 15) | keyCodeToStr(h){return this._keyCodeToStr[h]}
    method strToKeyCode (line 15) | strToKeyCode(h){return this._strToKeyCode[h.toLowerCase()]||0}
    method constructor (line 15) | constructor(A){this.executor=A,this._didRun=!1}
    method value (line 15) | get value(){if(!this._didRun)try{this._value=this.executor()}catch(A){...
    method rawValue (line 15) | get rawValue(){return this._value}
    method constructor (line 15) | constructor(d){this.element=d,this.next=i.Undefined,this.prev=i.Undefi...
    method constructor (line 20) | constructor(A,d){this.lineNumber=A,this.column=d}
    method with (line 20) | with(A=this.lineNumber,d=this.column){return A===this.lineNumber&&d===...
    method delta (line 20) | delta(A=0,d=0){return this.with(this.lineNumber+A,this.column+d)}
    method equals (line 20) | equals(A){return i.equals(this,A)}
    method equals (line 20) | static equals(A,d){return!A&&!d?!0:!!A&&!!d&&A.lineNumber===d.lineNumb...
    method isBefore (line 20) | isBefore(A){return i.isBefore(this,A)}
    method isBefore (line 20) | static isBefore(A,d){return A.lineNumber<d.lineNumber?!0:d.lineNumber<...
    method isBeforeOrEqual (line 20) | isBeforeOrEqual(A){return i.isBeforeOrEqual(this,A)}
    method isBeforeOrEqual (line 20) | static isBeforeOrEqual(A,d){return A.lineNumber<d.lineNumber?!0:d.line...
    method compare (line 20) | static compare(A,d){const f=A.lineNumber|0,p=d.lineNumber|0;if(f===p){...
    method clone (line 20) | clone(){return new i(this.lineNumber,this.column)}
    method toString (line 20) | toString(){return"("+this.lineNumber+","+this.column+")"}
    method lift (line 20) | static lift(A){return new i(A.lineNumber,A.column)}
    method isIPosition (line 20) | static isIPosition(A){return A&&typeof A.lineNumber=="number"&&typeof ...
    method toJSON (line 20) | toJSON(){return{lineNumber:this.lineNumber,column:this.column}}
    method constructor (line 22) | constructor(d,f){this.trimmedHash=d,this.lines=f}
    method getElement (line 22) | getElement(d){return this.trimmedHash[d]}
    method length (line 22) | get length(){return this.trimmedHash.length}
    method getBoundaryScore (line 22) | getBoundaryScore(d){const f=d===0?0:x(this.lines[d-1]),p=d===this.line...
    method getText (line 22) | getText(d){return this.lines.slice(d.start,d.endExclusive).join(`
    method isStronglyEqual (line 23) | isStronglyEqual(d,f){return this.lines[d]===this.lines[f]}
    method constructor (line 23) | constructor(f,p){this.width=f,this.height=p,this.array=[],this.array=n...
    method get (line 23) | get(f,p){return this.array[f+p*this.width]}
    method set (line 23) | set(f,p,c){this.array[f+p*this.width]=c}
    method constructor (line 24) | constructor(d,f,p){this.changes=d,this.moves=f,this.hitTimeout=p}
    method constructor (line 25) | constructor(){this._defaultValueSet=[["true","false"],["True","False"]...
    method navigateValueSet (line 25) | navigateValueSet(A,d,f,p,c){if(A&&d){const a=this.doNavigateValueSet(d...
    method doNavigateValueSet (line 25) | doNavigateValueSet(A,d){const f=this.numberReplace(A,d);return f!==nul...
    method numberReplace (line 25) | numberReplace(A,d){const f=Math.pow(10,A.length-(A.lastIndexOf(".")+1)...
    method textReplace (line 25) | textReplace(A,d){return this.valueSetsReplace(this._defaultValueSet,A,d)}
    method valueSetsReplace (line 25) | valueSetsReplace(A,d,f){let p=null;for(let c=0,a=A.length;p===null&&c<...
    method valueSetReplace (line 25) | valueSetReplace(A,d,f){let p=A.indexOf(d);return p>=0?(p+=f?1:-1,p<0?p...
    method getChannel (line 28) | static getChannel(A){return A.getChannel(i.CHANNEL_NAME)}
    method setChannel (line 28) | static setChannel(A,d){A.setChannel(i.CHANNEL_NAME,d)}
  function A (line 10) | function A(){try{return(x?globalThis.eval(x.createScript("","true")):new...
    method constructor (line 6) | constructor(){this._cachedCanUseEval=null}
    method _canUseEval (line 6) | _canUseEval(a){return this._cachedCanUseEval===null&&(this._cachedCanU...
    method load (line 6) | load(a,m,e,h){if(/^node\|/.test(m)){const r=a.getConfig().getOptionsLi...
    method constructor (line 8) | constructor(c){this.id=c}
    method cachedValues (line 11) | get cachedValues(){return this._map}
    method constructor (line 11) | constructor(f,p){this._map=new Map,this._map2=new Map,typeof f=="funct...
    method get (line 11) | get(f){const p=this._computeKey(f);if(this._map2.has(p))return this._m...
    method constructor (line 11) | constructor(c,a,m,e){this._hslaBrand=void 0,this.h=Math.max(Math.min(3...
    method equals (line 11) | static equals(c,a){return c.h===a.h&&c.s===a.s&&c.l===a.l&&c.a===a.a}
    method fromRGBA (line 11) | static fromRGBA(c){const a=c.r/255,m=c.g/255,e=c.b/255,h=c.a,r=Math.ma...
    method _hue2rgb (line 11) | static _hue2rgb(c,a,m){return m<0&&(m+=1),m>1&&(m-=1),m<1/6?c+(a-c)*6*...
    method toRGBA (line 11) | static toRGBA(c){const a=c.h/360,{s:m,l:e,a:h}=c;let r,s,o;if(m===0)r=...
    method constructor (line 15) | constructor(r,s){this.uri=r,this.value=s}
    method constructor (line 20) | constructor(e){this.source=e}
    method getElements (line 20) | getElements(){const e=this.source,h=new Int32Array(e.length);for(let r...
    method constructor (line 20) | constructor(){this._actual=new x(0)}
    method add (line 20) | add(f){this._actual.set(f,1)}
    method has (line 20) | has(f){return this._actual.get(f)===1}
    method clear (line 20) | clear(){return this._actual.clear()}
    method constructor (line 20) | constructor(){this._sortedRanges=[]}
    method addRange (line 20) | addRange(f){let p=0;for(;p<this._sortedRanges.length&&this._sortedRang...
    method toString (line 20) | toString(){return this._sortedRanges.map(f=>f.toString()).join(", ")}
    method intersectsStrict (line 20) | intersectsStrict(f){let p=0;for(;p<this._sortedRanges.length&&this._so...
    method intersectWithRange (line 20) | intersectWithRange(f){const p=new A;for(const c of this._sortedRanges)...
    method intersectWithRangeLength (line 20) | intersectWithRangeLength(f){return this.intersectWithRange(f).length}
    method length (line 20) | get length(){return this._sortedRanges.reduce((f,p)=>f+p.length,0)}
    method constructor (line 20) | constructor(f,p,c,a){super(f,p,c,a),this.selectionStartLineNumber=f,th...
    method toString (line 20) | toString(){return"["+this.selectionStartLineNumber+","+this.selectionS...
    method equalsSelection (line 20) | equalsSelection(f){return A.selectionsEqual(this,f)}
    method selectionsEqual (line 20) | static selectionsEqual(f,p){return f.selectionStartLineNumber===p.sele...
    method getDirection (line 20) | getDirection(){return this.selectionStartLineNumber===this.startLineNu...
    method setEndPosition (line 20) | setEndPosition(f,p){return this.getDirection()===0?new A(this.startLin...
    method getPosition (line 20) | getPosition(){return new i.Position(this.positionLineNumber,this.posit...
    method getSelectionStart (line 20) | getSelectionStart(){return new i.Position(this.selectionStartLineNumbe...
    method setStartPosition (line 20) | setStartPosition(f,p){return this.getDirection()===0?new A(f,p,this.en...
    method fromPositions (line 20) | static fromPositions(f,p=f){return new A(f.lineNumber,f.column,p.lineN...
    method fromRange (line 20) | static fromRange(f,p){return p===0?new A(f.startLineNumber,f.startColu...
    method liftSelection (line 20) | static liftSelection(f){return new A(f.selectionStartLineNumber,f.sele...
    method selectionsArrEqual (line 20) | static selectionsArrEqual(f,p){if(f&&!p||!f&&p)return!1;if(!f&&!p)retu...
    method isISelection (line 20) | static isISelection(f){return f&&typeof f.selectionStartLineNumber=="n...
    method createWithDirection (line 20) | static createWithDirection(f,p,c,a,m){return m===0?new A(f,p,c,a):new ...
    method betweenPositions (line 20) | static betweenPositions(f,p){return f.lineNumber===p.lineNumber?new A(...
    method ofRange (line 20) | static ofRange(f){return A.betweenPositions(f.getStartPosition(),f.get...
    method ofText (line 20) | static ofText(f){let p=0,c=0;for(const a of f)a===`
    method constructor (line 21) | constructor(f,p){this.lineCount=f,this.columnCount=p}
    method isGreaterThanOrEqualTo (line 21) | isGreaterThanOrEqualTo(f){return this.lineCount!==f.lineCount?this.lin...
    method createRange (line 21) | createRange(f){return this.lineCount===0?new x.Range(f.lineNumber,f.co...
    method addToPosition (line 21) | addToPosition(f){return this.lineCount===0?new i.Position(f.lineNumber...
    method toString (line 21) | toString(){return`${this.lineCount},${this.columnCount}`}
    method constructor (line 21) | constructor(f){this.text=f,this.lineStartOffsetByLineIdx=[],this.lineS...
    method getOffset (line 22) | getOffset(f){return this.lineStartOffsetByLineIdx[f.lineNumber-1]+f.co...
    method getOffsetRange (line 22) | getOffsetRange(f){return 
Copy disabled (too large) Download .json
Condensed preview — 1286 files, each showing path, character count, and a content snippet. Download the .json file for the full structured content (16,497K chars).
[
  {
    "path": ".gitattributes",
    "chars": 101,
    "preview": "conf/* merge=ours\nDockerfiles/* merge=ours\nssl-self-signed/* merge=ours\ndocker-compose.yml merge=ours"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/00-bug.yaml",
    "chars": 3072,
    "preview": "# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/01-enhancement.yaml",
    "chars": 1244,
    "preview": "# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/02-documentation.yaml",
    "chars": 929,
    "preview": "# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-"
  },
  {
    "path": ".github/ISSUE_TEMPLATE/03-question.yaml",
    "chars": 697,
    "preview": "# https://docs.github.com/en/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-"
  },
  {
    "path": ".github/PULL_REQUEST_TEMPLATE.MD",
    "chars": 2945,
    "preview": "# BillionMail Pull Request Template\n\n## PR Title Format\n`<type>(<scope>): <description>`  \n**Examples**:\n- `fix(smtp): h"
  },
  {
    "path": ".gitignore",
    "chars": 606,
    "preview": "# IntelliJ project files\n*.iml\n.idea/\nidea/*\n.vscode/*\n.cursor/\ntest/*\nconfig/*\ntemp/\nssl/*\nbm\n.env\nbillionmail.conf\nDBP"
  },
  {
    "path": "Dockerfiles/core/Dockerfile",
    "chars": 1281,
    "preview": "FROM alpine:3.20\n\nLABEL maintainer=\"https://github.com/aaPanel/BillionMail\"\n\n# Set environment variables\nENV LANG=C.UTF-"
  },
  {
    "path": "Dockerfiles/core/core.sh",
    "chars": 2508,
    "preview": "#!/bin/bash\n\nif [ -f \"/opt/billionmail/.env\" ]; then\n    if ! grep -q \"ADMIN_USERNAME\" /opt/billionmail/.env; then\n     "
  },
  {
    "path": "Dockerfiles/core/fail2ban.conf",
    "chars": 3026,
    "preview": "# Fail2Ban main configuration file\n#\n# Comments: use '#' for comment lines and ';' (following a space) for inline commen"
  },
  {
    "path": "Dockerfiles/core/repositories",
    "chars": 96,
    "preview": "https://mirrors.ustc.edu.cn/alpine/v3.20/main\nhttps://mirrors.ustc.edu.cn/alpine/v3.20/community"
  },
  {
    "path": "Dockerfiles/core/restart_fail2ban.sh",
    "chars": 165,
    "preview": "#!/bin/bash\nif [[ ${FAIL2BAN_INIT} == \"y\" ]]; then\n    /usr/bin/fail2ban-client reload core-accesslimit\n    /usr/bin/fai"
  },
  {
    "path": "Dockerfiles/core/stop-supervisor.sh",
    "chars": 149,
    "preview": "#!/bin/bash\n\nprintf \"Start\\n\";\n\nwhile read line; do\n  echo \"PROCESS event: $line\" >&2;\n  kill -3 $(cat \"/var/run/supervi"
  },
  {
    "path": "Dockerfiles/core/supervisord.conf",
    "chars": 1161,
    "preview": "[supervisord]\nnodaemon=true\nlogfile=/dev/stdout\nlogfile_maxbytes=0\npidfile=/var/run/supervisord.pid\nuser=root\n\n[program:"
  },
  {
    "path": "Dockerfiles/dovecot/Dockerfile",
    "chars": 1443,
    "preview": "FROM debian:bookworm-slim\n\nLABEL maintainer=\"https://github.com/aaPanel/BillionMail\"\n\nARG DEBIAN_FRONTEND=noninteractive"
  },
  {
    "path": "Dockerfiles/dovecot/debian.sources",
    "chars": 392,
    "preview": "Types: deb\nURIs: http://mirrors.ustc.edu.cn/debian\nSuites: bookworm bookworm-updates\nComponents: main contrib non-free n"
  },
  {
    "path": "Dockerfiles/dovecot/dovecot.sh",
    "chars": 1512,
    "preview": "#!/bin/bash\n\n\nid vmail || useradd -r -u 150 -g mail -d /var/vmail -s /sbin/nologin -c \"Virtual Mail User\" vmail\nchown -R"
  },
  {
    "path": "Dockerfiles/dovecot/report-ham.sieve",
    "chars": 314,
    "preview": "require [\"vnd.dovecot.pipe\", \"copy\", \"imapsieve\", \"environment\", \"variables\"];\n\nif environment :matches \"imap.mailbox\" \""
  },
  {
    "path": "Dockerfiles/dovecot/report-spam.sieve",
    "chars": 199,
    "preview": "require [\"vnd.dovecot.pipe\", \"copy\", \"imapsieve\", \"environment\", \"variables\"];\n\nif environment :matches \"imap.user\" \"*\" "
  },
  {
    "path": "Dockerfiles/dovecot/rotate_log.sh",
    "chars": 2090,
    "preview": "#!/bin/bash\necho \" ---- $(date) START ----\"\n\nLOG_DIR=\"/var/log/mail\"\nLOG_FILE=\"${LOG_DIR}/mail.log\"\nDATE=$(date +%Y%m%d)"
  },
  {
    "path": "Dockerfiles/dovecot/sa-learn-ham.sh",
    "chars": 220,
    "preview": "#!/bin/sh\n# exec /usr/bin/rspamc -h rspamd:11334 learn_ham\n\n\nUSERNAME=\"$1\"\necho \"$USERNAME\" >> /tmp/learnham\n\n/usr/bin/c"
  },
  {
    "path": "Dockerfiles/dovecot/sa-learn-spam.sh",
    "chars": 221,
    "preview": "#!/bin/sh\n# exec /usr/bin/rspamc -h rspamd:11334 learn_spam\n\nUSERNAME=\"$1\"\necho \"$USERNAME\" >> /tmp/learnspam\n/usr/bin/c"
  },
  {
    "path": "Dockerfiles/dovecot/spam-to-folder.sieve",
    "chars": 81,
    "preview": "require [\"fileinto\"];\n\nif header :is \"X-Spam\" \"Yes\" {\n        fileinto \"Junk\";\n}\n"
  },
  {
    "path": "Dockerfiles/dovecot/stop-supervisor.sh",
    "chars": 149,
    "preview": "#!/bin/bash\n\nprintf \"Start\\n\";\n\nwhile read line; do\n  echo \"PROCESS event: $line\" >&2;\n  kill -3 $(cat \"/var/run/supervi"
  },
  {
    "path": "Dockerfiles/dovecot/supervisord.conf",
    "chars": 1192,
    "preview": "[supervisord]\nnodaemon=true\nlogfile=/dev/stdout\nlogfile_maxbytes=0\npidfile=/var/run/supervisord.pid\nuser=root\n\n[program:"
  },
  {
    "path": "Dockerfiles/postfix/Dockerfile",
    "chars": 1378,
    "preview": "FROM debian:bookworm-slim\n\nLABEL maintainer=\"https://github.com/aaPanel/BillionMail\"\n\nARG DEBIAN_FRONTEND=noninteractive"
  },
  {
    "path": "Dockerfiles/postfix/debian.sources",
    "chars": 392,
    "preview": "Types: deb\nURIs: http://mirrors.ustc.edu.cn/debian\nSuites: bookworm bookworm-updates\nComponents: main contrib non-free n"
  },
  {
    "path": "Dockerfiles/postfix/postfix.sh",
    "chars": 4542,
    "preview": "#!/bin/bash\n\ntrap \"postfix stop\" EXIT\n\nif ! grep -q \"rotate_log.sh\" /var/spool/cron/crontabs/root; then\n    chmod +x /ro"
  },
  {
    "path": "Dockerfiles/postfix/rotate_log.sh",
    "chars": 2090,
    "preview": "#!/bin/bash\necho \" ---- $(date) START ----\"\n\nLOG_DIR=\"/var/log/mail\"\nLOG_FILE=\"${LOG_DIR}/mail.log\"\nDATE=$(date +%Y%m%d)"
  },
  {
    "path": "Dockerfiles/postfix/stop-supervisor.sh",
    "chars": 149,
    "preview": "#!/bin/bash\n\nprintf \"Start\\n\";\n\nwhile read line; do\n  echo \"PROCESS event: $line\" >&2;\n  kill -3 $(cat \"/var/run/supervi"
  },
  {
    "path": "Dockerfiles/postfix/supervisord.conf",
    "chars": 1099,
    "preview": "[supervisord]\nnodaemon=true\nlogfile=/dev/stdout\nlogfile_maxbytes=0\npidfile=/var/run/supervisord.pid\nuser=root\n\n[program:"
  },
  {
    "path": "Dockerfiles/rspamd/Dockerfile",
    "chars": 1394,
    "preview": "FROM debian:bookworm-slim\n\nLABEL maintainer=\"https://github.com/aaPanel/BillionMail\"\n\nARG DEBIAN_FRONTEND=noninteractive"
  },
  {
    "path": "Dockerfiles/rspamd/debian.sources",
    "chars": 392,
    "preview": "Types: deb\nURIs: http://mirrors.ustc.edu.cn/debian\nSuites: bookworm bookworm-updates\nComponents: main contrib non-free n"
  },
  {
    "path": "Dockerfiles/rspamd/rotate_log.sh",
    "chars": 1527,
    "preview": "#!/bin/bash\necho \" ---- $(date) START ----\"\n\nLOG_DIR=\"/var/log/rspamd\"\nLOG_FILE=\"${LOG_DIR}/rspamd.log\"\nDATE=$(date +%Y%"
  },
  {
    "path": "Dockerfiles/rspamd/rspamd.sh",
    "chars": 775,
    "preview": "#!/bin/bash\n\n\nif ! grep -q \"rotate_log.sh\" /var/spool/cron/crontabs/root; then\n    chmod +x /rotate_log.sh\n    echo \"10 "
  },
  {
    "path": "Dockerfiles/rspamd/stop-supervisor.sh",
    "chars": 149,
    "preview": "#!/bin/bash\n\nprintf \"Start\\n\";\n\nwhile read line; do\n  echo \"PROCESS event: $line\" >&2;\n  kill -3 $(cat \"/var/run/supervi"
  },
  {
    "path": "Dockerfiles/rspamd/supervisord.conf",
    "chars": 861,
    "preview": "[supervisord]\nnodaemon=true\nlogfile=/dev/stdout\nlogfile_maxbytes=0\npidfile=/var/run/supervisord.pid\nuser=root\n\n[program:"
  },
  {
    "path": "LICENSE",
    "chars": 34522,
    "preview": "                    GNU AFFERO GENERAL PUBLIC LICENSE\n                       Version 3, 19 November 2007\n\n Copyright (C)"
  },
  {
    "path": "README-ja.md",
    "chars": 4581,
    "preview": "<div align=\"center\">\n  <a name=\"readme-top\"></a>\n  <h1><a href=\"https://www.billionmail.com/\" target=\"_blank\">BillionMai"
  },
  {
    "path": "README-tr.md",
    "chars": 6590,
    "preview": "<div align=\"center\">\n  <a name=\"readme-top\"></a>\n  <h1><a href=\"https://www.billionmail.com/\" target=\"_blank\">BillionMai"
  },
  {
    "path": "README-zh_CN.md",
    "chars": 3474,
    "preview": "<div align=\"center\">\n  <a name=\"readme-top\"></a>\n  <h1><a href=\"https://www.billionmail.com/\" target=\"_blank\">BillionMai"
  },
  {
    "path": "README.md",
    "chars": 6182,
    "preview": "<div align=\"center\">\n  <a name=\"readme-top\"></a>\n  <h1><a href=\"https://www.billionmail.com/\" target=\"_blank\">BillionMai"
  },
  {
    "path": "SECURITY.md",
    "chars": 102,
    "preview": "# Security Policy\n\n## Reporting a Vulnerability\n\nPlease report security issues to `1249648969@qq.com`\n"
  },
  {
    "path": "bm.sh",
    "chars": 69280,
    "preview": "#!/bin/bash\nPATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin\nexport PATH\n\n# Add domain name and e"
  },
  {
    "path": "conf/core/fail2ban_init/filter.d/core-limit-filter.conf",
    "chars": 177,
    "preview": "[Definition]\nfailregex = ^.*? \\d+ \"(GET|POST|HEAD|PUT|DELETE|PATCH|OPTIONS|CONNECT|TRACE) (http|https) [^ ]+ \\S+ HTTP.*\""
  },
  {
    "path": "conf/core/fail2ban_init/filter.d/roundcube-limit-filter.conf",
    "chars": 298,
    "preview": "[Definition]\n# Only match roundcube logs\nfailregex = ^.*? \\d+ \"(GET|POST|HEAD|PUT|DELETE|PATCH|OPTIONS|CONNECT|TRACE) (h"
  },
  {
    "path": "conf/core/fail2ban_init/jail.d/core-accesslimit.conf",
    "chars": 212,
    "preview": "[core-accesslimit]\nignoreip = 127.0.0.1/8\nenabled = true\nport = 80,443\nfilter = core-limit-filter\nlogpath = /opt/billion"
  },
  {
    "path": "conf/core/fail2ban_init/jail.d/roundcube-accesslimit.conf",
    "chars": 220,
    "preview": "[roundcube-accesslimit]\nignoreip = 127.0.0.1/8\nenabled = true\nport = 80,443\nfilter = roundcube-limit-filter\nlogpath = /o"
  },
  {
    "path": "conf/dovecot/conf.d/10-auth.conf",
    "chars": 5300,
    "preview": "##\n## Authentication processes\n##\n\n# Disable LOGIN command and all other plaintext authentications unless\n# SSL/TLS is u"
  },
  {
    "path": "conf/dovecot/conf.d/10-director.conf",
    "chars": 1781,
    "preview": "##\n## Director-specific settings.\n##\n\n# Director can be used by Dovecot proxy to keep a temporary user -> mail server\n# "
  },
  {
    "path": "conf/dovecot/conf.d/10-logging.conf",
    "chars": 3757,
    "preview": "##\n## Log destination.\n##\n\n# Log file to use for error messages. \"syslog\" logs to syslog,\n# /dev/stderr logs to stderr.\n"
  },
  {
    "path": "conf/dovecot/conf.d/10-mail.conf",
    "chars": 17641,
    "preview": "##\n## Mailbox locations and namespaces\n##\n\n# Location for users' mailboxes. The default is empty, which means that Dovec"
  },
  {
    "path": "conf/dovecot/conf.d/10-master.conf",
    "chars": 3914,
    "preview": "#default_process_limit = 100\n#default_client_limit = 1000\n\n# Default VSZ (virtual memory size) limit for service process"
  },
  {
    "path": "conf/dovecot/conf.d/10-ssl.conf",
    "chars": 2484,
    "preview": "##\n## SSL settings\n##\n\n# SSL/TLS support: yes, no, required. <doc/wiki/SSL.txt>\n# disable plain pop3 and imap, allowed a"
  },
  {
    "path": "conf/dovecot/conf.d/10-tcpwrapper.conf",
    "chars": 291,
    "preview": "# 10-tcpwrapper.conf\n#\n# service name for hosts.{allow|deny} are those defined as\n# inet_listener in master.conf\n#\n#logi"
  },
  {
    "path": "conf/dovecot/conf.d/15-lda.conf",
    "chars": 1694,
    "preview": "##\n## LDA specific settings (also used by LMTP)\n##\n\n# Address to use when sending rejection mails.\n# Default is postmast"
  },
  {
    "path": "conf/dovecot/conf.d/15-mailboxes.conf",
    "chars": 2884,
    "preview": "##\n## Mailbox definitions\n##\n\n# Each mailbox is specified in a separate mailbox section. The section name\n# specifies th"
  },
  {
    "path": "conf/dovecot/conf.d/20-imap.conf",
    "chars": 4537,
    "preview": "##\n## IMAP specific settings\n##\n\n# If nothing happens for this long while client is IDLEing, move the connection\n# to im"
  },
  {
    "path": "conf/dovecot/conf.d/20-lmtp.conf",
    "chars": 1404,
    "preview": "##\n## LMTP specific settings\n##\n\n# Support proxying to other LMTP/SMTP servers by performing passdb lookups.\n#lmtp_proxy"
  },
  {
    "path": "conf/dovecot/conf.d/20-pop3.conf",
    "chars": 4066,
    "preview": "##\n## POP3 specific settings\n##\n\n# Don't try to set mails non-recent or seen with POP3 sessions. This is\n# mostly intend"
  },
  {
    "path": "conf/dovecot/conf.d/90-acl.conf",
    "chars": 676,
    "preview": "##\n## Mailbox access control lists.\n##\n\n# vfile backend reads ACLs from \"dovecot-acl\" file from mail directory.\n# You ca"
  },
  {
    "path": "conf/dovecot/conf.d/90-plugin.conf",
    "chars": 335,
    "preview": "##\n## Plugin settings\n##\n\n# All wanted plugins must be listed in mail_plugins setting before any of the\n# settings take "
  },
  {
    "path": "conf/dovecot/conf.d/90-quota.conf",
    "chars": 2596,
    "preview": "##\n## Quota configuration.\n##\n\n# Note that you also have to enable quota plugin in mail_plugins setting.\n# <doc/wiki/Quo"
  },
  {
    "path": "conf/dovecot/conf.d/90-sieve-extprograms.conf",
    "chars": 1829,
    "preview": "# Sieve Extprograms plugin configuration\n\n# Don't forget to add the sieve_extprograms plugin to the sieve_plugins settin"
  },
  {
    "path": "conf/dovecot/conf.d/90-sieve.conf",
    "chars": 10876,
    "preview": "##\n## Settings for the Sieve interpreter\n##\n\n# Do not forget to enable the Sieve plugin in 15-lda.conf and 20-lmtp.conf\n"
  },
  {
    "path": "conf/dovecot/conf.d/90-sieve_rspamd.conf",
    "chars": 10876,
    "preview": "##\n## Settings for the Sieve interpreter\n##\n\n# Do not forget to enable the Sieve plugin in 15-lda.conf and 20-lmtp.conf\n"
  },
  {
    "path": "conf/dovecot/conf.d/auth-checkpassword.conf.ext",
    "chars": 499,
    "preview": "# Authentication for checkpassword users. Included from 10-auth.conf.\n#\n# <doc/wiki/AuthDatabase.CheckPassword.txt>\n\npas"
  },
  {
    "path": "conf/dovecot/conf.d/auth-deny.conf.ext",
    "chars": 489,
    "preview": "# Deny access for users. Included from 10-auth.conf.\n\n# Users can be (temporarily) disabled by adding a passdb with deny"
  },
  {
    "path": "conf/dovecot/conf.d/auth-dict.conf.ext",
    "chars": 343,
    "preview": "# Authentication via dict backend. Included from 10-auth.conf.\n#\n# <doc/wiki/AuthDatabase.Dict.txt>\n\npassdb {\n  driver ="
  },
  {
    "path": "conf/dovecot/conf.d/auth-ldap.conf.ext",
    "chars": 924,
    "preview": "# Authentication for LDAP users. Included from 10-auth.conf.\n#\n# <doc/wiki/AuthDatabase.LDAP.txt>\n\npassdb {\n  driver = l"
  },
  {
    "path": "conf/dovecot/conf.d/auth-master.conf.ext",
    "chars": 561,
    "preview": "# Authentication for master users. Included from 10-auth.conf.\n\n# By adding master=yes setting inside a passdb you make "
  },
  {
    "path": "conf/dovecot/conf.d/auth-passwdfile.conf.ext",
    "chars": 515,
    "preview": "# Authentication for passwd-file users. Included from 10-auth.conf.\n#\n# passwd-like file with specified location.\n# <doc"
  },
  {
    "path": "conf/dovecot/conf.d/auth-sql.conf.ext",
    "chars": 802,
    "preview": "# Authentication for SQL users. Included from 10-auth.conf.\n#\n# <doc/wiki/AuthDatabase.SQL.txt>\n\npassdb {\n  driver = sql"
  },
  {
    "path": "conf/dovecot/conf.d/auth-static.conf.ext",
    "chars": 611,
    "preview": "# Static passdb. Included from 10-auth.conf.\n\n# This can be used for situations where Dovecot doesn't need to verify the"
  },
  {
    "path": "conf/dovecot/conf.d/auth-system.conf.ext",
    "chars": 2182,
    "preview": "# Authentication for system users. Included from 10-auth.conf.\n#\n# <doc/wiki/PasswordDatabase.txt>\n# <doc/wiki/UserDatab"
  },
  {
    "path": "conf/dovecot/dovecot.conf",
    "chars": 4831,
    "preview": "## Dovecot configuration file\n\n# If you're in a hurry, see http://wiki2.dovecot.org/QuickConfiguration\n\n# \"doveconf -n\" "
  },
  {
    "path": "conf/dovecot/rsyslog.conf",
    "chars": 1436,
    "preview": "# /etc/rsyslog.conf configuration file for rsyslog\n#\n# For more information install rsyslog-doc and see\n# /usr/share/doc"
  },
  {
    "path": "conf/php/pear.conf",
    "chars": 1195,
    "preview": "#PEAR_Config 0.9\na:33:{s:9:\"cache_dir\";s:15:\"/tmp/pear/cache\";s:15:\"default_channel\";s:12:\"pear.php.net\";s:16:\"preferred"
  },
  {
    "path": "conf/php/php/conf.d/docker-fpm.ini",
    "chars": 96,
    "preview": "; https://github.com/docker-library/php/issues/878#issuecomment-938595965\nfastcgi.logging = Off\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-exif.ini",
    "chars": 18,
    "preview": "extension=exif.so\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-gd.ini",
    "chars": 16,
    "preview": "extension=gd.so\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-imagick.ini",
    "chars": 21,
    "preview": "extension=imagick.so\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-intl.ini",
    "chars": 18,
    "preview": "extension=intl.so\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-ldap.ini",
    "chars": 18,
    "preview": "extension=ldap.so\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-opcache.ini",
    "chars": 214,
    "preview": "zend_extension=opcache\nopcache.enable = 1\nopcache.memory_consumption=128\nopcache.interned_strings_buffer=32\nopcache.max_"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-pdo_mysql.ini",
    "chars": 23,
    "preview": "extension=pdo_mysql.so\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-pdo_pgsql.ini",
    "chars": 23,
    "preview": "extension=pdo_pgsql.so\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-pspell.ini",
    "chars": 20,
    "preview": "extension=pspell.so\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-redis.ini",
    "chars": 19,
    "preview": "extension=redis.so\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-sodium.ini",
    "chars": 17,
    "preview": "extension=sodium\n"
  },
  {
    "path": "conf/php/php/conf.d/docker-php-ext-zip.ini",
    "chars": 17,
    "preview": "extension=zip.so\n"
  },
  {
    "path": "conf/php/php/conf.d/roundcube-defaults.ini",
    "chars": 221,
    "preview": "memory_limit=128M\ndisplay_errors=Off\nlog_errors=On\nupload_max_filesize=10M\npost_max_size=10M\nzlib.output_compression=Off"
  },
  {
    "path": "conf/php/php-fpm.conf",
    "chars": 5345,
    "preview": ";;;;;;;;;;;;;;;;;;;;;\n; FPM Configuration ;\n;;;;;;;;;;;;;;;;;;;;;\n\n; All relative paths in this configuration file are r"
  },
  {
    "path": "conf/php/php-fpm.conf.default",
    "chars": 5350,
    "preview": ";;;;;;;;;;;;;;;;;;;;;\n; FPM Configuration ;\n;;;;;;;;;;;;;;;;;;;;;\n\n; All relative paths in this configuration file are r"
  },
  {
    "path": "conf/php/php-fpm.d/docker.conf",
    "chars": 428,
    "preview": "[global]\nerror_log = /proc/self/fd/2\n\n; https://github.com/docker-library/php/pull/725#issuecomment-443540114\nlog_limit "
  },
  {
    "path": "conf/php/php-fpm.d/www.conf",
    "chars": 860,
    "preview": "[global]\ndaemonize = no\n\n[www]\nuser = www-data\ngroup = www-data\npm = dynamic\npm.max_children = 50\npm.start_servers = 5\np"
  },
  {
    "path": "conf/php/php-fpm.d/www.conf.default",
    "chars": 21305,
    "preview": "; Start a new pool named 'www'.\n; the variable $pool can be used in any directive and will be replaced by the\n; pool nam"
  },
  {
    "path": "conf/postfix/main.cf",
    "chars": 2462,
    "preview": "# See /usr/share/postfix/main.cf.dist for a commented, more complete version\n\n\n# Debian specific:  Specifying a file nam"
  },
  {
    "path": "conf/postfix/master.cf",
    "chars": 6787,
    "preview": "#\n# Postfix master process configuration file.  For details on the format\n# of the file, see the master(5) manual page ("
  },
  {
    "path": "conf/postfix/rsyslog.conf",
    "chars": 1436,
    "preview": "# /etc/rsyslog.conf configuration file for rsyslog\n#\n# For more information install rsyslog-doc and see\n# /usr/share/doc"
  },
  {
    "path": "conf/redis/redis-conf.sh",
    "chars": 139,
    "preview": "#!/bin/sh\n\n# Generate redis.conf for Redis\ncat <<EOF > /redis.conf\nrequirepass $REDISPASS\nEOF\n\n# Start Redis\nexec redis-"
  },
  {
    "path": "conf/rspamd/local.d/milter_headers.conf",
    "chars": 29,
    "preview": "extended_spam_headers = true;"
  },
  {
    "path": "conf/rspamd/rspamd.conf",
    "chars": 2771,
    "preview": "# System V init adopted top level configuration\n\n# Please don't modify this file as your changes might be overwritten wi"
  },
  {
    "path": "conf/rspamd/statistic.conf",
    "chars": 1941,
    "preview": "# Statistics setup\n# Please don't modify this file as your changes might be overwritten with\n# the next update.\n#\n# You "
  },
  {
    "path": "conf/supplier/template/Anthropic/config.json",
    "chars": 2175,
    "preview": "{\n    \"supplierTitle\": \"Anthropic\",\n    \"supplierName\": \"Anthropic\",\n    \"baseUrl\": \"\",\n    \"baseUrlExample\": \"https://a"
  },
  {
    "path": "conf/supplier/template/Anthropic/embedding.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/supplier/template/Anthropic/models.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/supplier/template/DeepSeek/config.json",
    "chars": 3395,
    "preview": "{\n    \"supplierTitle\": \"DeepSeek\",\n    \"supplierName\": \"DeepSeek\",\n    \"baseUrl\": \"\",\n    \"baseUrlExample\": \"https://api"
  },
  {
    "path": "conf/supplier/template/DeepSeek/embedding.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/supplier/template/DeepSeek/models.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/supplier/template/Gemini/config.json",
    "chars": 3964,
    "preview": "{\n    \"supplierTitle\": \"Gemini\",\n    \"supplierName\": \"Gemini\",\n    \"baseUrl\": \"\",\n    \"baseUrlExample\": \"https://generat"
  },
  {
    "path": "conf/supplier/template/Gemini/embedding.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/supplier/template/Gemini/models.json",
    "chars": 3,
    "preview": "[\n]"
  },
  {
    "path": "conf/supplier/template/Grok/config.json",
    "chars": 4012,
    "preview": "{\n    \"supplierTitle\": \"Grok\",\n    \"supplierName\": \"Grok\",\n    \"baseUrl\": \"\",\n    \"baseUrlExample\": \"https://api.moonsho"
  },
  {
    "path": "conf/supplier/template/Grok/embedding.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/supplier/template/Grok/models.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/supplier/template/Kimi/config.json",
    "chars": 2781,
    "preview": "{\n    \"supplierTitle\": \"Kimi\",\n    \"supplierName\": \"Kimi\",\n    \"baseUrl\": \"\",\n    \"baseUrlExample\": \"https://api.moonsho"
  },
  {
    "path": "conf/supplier/template/Kimi/embedding.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/supplier/template/Kimi/models.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/supplier/template/OpenAI/config.json",
    "chars": 3540,
    "preview": "{\n    \"supplierTitle\": \"OpenAI\",\n    \"supplierName\": \"OpenAI\",\n    \"baseUrl\": \"\",\n    \"baseUrlExample\":\"https://api.open"
  },
  {
    "path": "conf/supplier/template/OpenAI/embedding.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/supplier/template/OpenAI/models.json",
    "chars": 2,
    "preview": "[]"
  },
  {
    "path": "conf/webmail/custom.inc.php",
    "chars": 494,
    "preview": "<?php\n    # Product name\n    $config['product_name'] = 'BillionMail';\n\n    $config['mime_types'] = '/var/roundcube/confi"
  },
  {
    "path": "conf/webmail/mime.types",
    "chars": 60970,
    "preview": "# This file maps Internet media types to unique file extension(s).\n# Although created for httpd, this file is used by ma"
  },
  {
    "path": "core/.gitattributes",
    "chars": 644,
    "preview": "* linguist-language=GO\n*.txt linguist-language=Markdown\n*.md linguist-language=Markdown\n*.json linguist-language=JSON\n*."
  },
  {
    "path": "core/.gitignore",
    "chars": 189,
    "preview": ".buildpath\n.hgignore.swp\n.project\n.orig\n.swp\n.idea/\n.settings/\n.vscode/\nbin/\n**/.DS_Store\ngf\nmain\nmain.exe\noutput/\nmanif"
  },
  {
    "path": "core/Makefile",
    "chars": 165,
    "preview": "ROOT_DIR    = $(shell pwd)\nNAMESPACE   = \"default\"\nDEPLOY_NAME = \"template-single\"\nDOCKER_NAME = \"template-single\"\n\nincl"
  },
  {
    "path": "core/README.MD",
    "chars": 76,
    "preview": "# GoFrame Template For SingleRepo\n\nQuick Start: \n- https://goframe.org/quick"
  },
  {
    "path": "core/api/abnormal_recipient/abnormal_recipient.go",
    "chars": 1275,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/abnormal_recipient/v1/abnormal_recipient.go",
    "chars": 3877,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype AbnormalRecipient"
  },
  {
    "path": "core/api/askai/askai.go",
    "chars": 3785,
    "preview": "package askai\n\nimport (\n\tv1 \"billionmail-core/api/askai/v1\"\n\t\"billionmail-core/utility/types/api_v1\"\n)\n\ntype IAskAiV1 in"
  },
  {
    "path": "core/api/askai/v1/chat.go",
    "chars": 4276,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype CreateChatReq st"
  },
  {
    "path": "core/api/askai/v1/project.go",
    "chars": 14214,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// CreateReq is the r"
  },
  {
    "path": "core/api/askai/v1/supplier.go",
    "chars": 8834,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// ListReq is the req"
  },
  {
    "path": "core/api/batch_mail/batch_mail.go",
    "chars": 2791,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/batch_mail/v1/api_mail.go",
    "chars": 7660,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype ApiTemplates str"
  },
  {
    "path": "core/api/batch_mail/v1/batch_mail.go",
    "chars": 13376,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/internal/model/entity\"\n\t\"billionmail-core/utility/types/api_v1\"\n\n\t\"github.com/go"
  },
  {
    "path": "core/api/batch_mail/v1/task_executor.go",
    "chars": 2229,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"context\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n\t\"github.com/p"
  },
  {
    "path": "core/api/batch_mail/v1/unsubscribe.go",
    "chars": 1755,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// UnsubscribeReq defi"
  },
  {
    "path": "core/api/campaign/campaign.go",
    "chars": 420,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/campaign/v1/subscription.go",
    "chars": 435,
    "preview": "package v1\n\nimport \"github.com/gogf/gf/v2/frame/g\"\n\ntype FormReq struct {\n\tg.Meta   `path:\"/subscription/form\" tags:\"Cam"
  },
  {
    "path": "core/api/contact/contact.go",
    "chars": 2606,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/contact/v1/contact.go",
    "chars": 19291,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype ContactGroup str"
  },
  {
    "path": "core/api/dockerapi/dockerapi.go",
    "chars": 662,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/dockerapi/v1/dockerapi.go",
    "chars": 3809,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/docker/docker/api/types/container\"\n\t\"github.c"
  },
  {
    "path": "core/api/domains/domains.go",
    "chars": 2089,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/domains/v1/domain_blocklist.go",
    "chars": 794,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// 手动调用黑名单检查\ntype Che"
  },
  {
    "path": "core/api/domains/v1/domains.go",
    "chars": 9471,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// DNSRecord defines "
  },
  {
    "path": "core/api/domains/v1/multi_ip_domain.go",
    "chars": 1426,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// ApplyMultiIPDomainC"
  },
  {
    "path": "core/api/domains/v1/ssl.go",
    "chars": 930,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype ApplyCertReq stru"
  },
  {
    "path": "core/api/email_template/email_template.go",
    "chars": 1182,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/email_template/v1/email_template.go",
    "chars": 5150,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// EmailTemplate defin"
  },
  {
    "path": "core/api/files/files.go",
    "chars": 520,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/files/v1/files.go",
    "chars": 908,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// DownloadFileReq Fil"
  },
  {
    "path": "core/api/languages/languages.go",
    "chars": 538,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/languages/v1/languages.go",
    "chars": 988,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype SetLanguageReq st"
  },
  {
    "path": "core/api/mail_boxes/mail_boxes.go",
    "chars": 1234,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/mail_boxes/v1/mailboxes.go",
    "chars": 6365,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// Mailbox defines the"
  },
  {
    "path": "core/api/mail_services/mail_services.go",
    "chars": 2402,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/mail_services/v1/common.go",
    "chars": 1554,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/internal/service/public\"\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/g"
  },
  {
    "path": "core/api/mail_services/v1/mail_bcc.go",
    "chars": 2914,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype BmBcc struct {\n\tI"
  },
  {
    "path": "core/api/mail_services/v1/mail_forward.go",
    "chars": 2678,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype Alias struct {\n\tA"
  },
  {
    "path": "core/api/mail_services/v1/postfix_queue.go",
    "chars": 4586,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype QueueMailItem str"
  },
  {
    "path": "core/api/operation_log/operation_log.go",
    "chars": 788,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/operation_log/v1/operation_log.go",
    "chars": 2108,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/internal/model/entity\"\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gog"
  },
  {
    "path": "core/api/overview/overview.go",
    "chars": 523,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/overview/v1/overview.go",
    "chars": 2389,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype OverviewReq struc"
  },
  {
    "path": "core/api/rbac/rbac.go",
    "chars": 2517,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/rbac/v1/account.go",
    "chars": 5382,
    "preview": "package v1\n\n// AccountInfoItem defines the account information structure\ntype AccountInfoItem struct {\n\tId         int64"
  },
  {
    "path": "core/api/rbac/v1/auth.go",
    "chars": 4075,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// LoginReq defines th"
  },
  {
    "path": "core/api/rbac/v1/permission.go",
    "chars": 5902,
    "preview": "package v1\n\n// PermissionInfoItem defines the permission information structure\ntype PermissionInfoItem struct {\n\tId     "
  },
  {
    "path": "core/api/rbac/v1/role.go",
    "chars": 4174,
    "preview": "package v1\n\n// RoleInfoItem defines the role information structure\ntype RoleInfoItem struct {\n\tId          int64  `json:"
  },
  {
    "path": "core/api/relay/relay.go",
    "chars": 1010,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/relay/v1/relay.go",
    "chars": 10700,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// BmRelay\ntype BmRela"
  },
  {
    "path": "core/api/settings/settings.go",
    "chars": 2136,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/settings/v1/settings.go",
    "chars": 11782,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\n// SSLConfig\ntype SSL"
  },
  {
    "path": "core/api/subscribe_list/subscribe_list.go",
    "chars": 579,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/subscribe_list/v1/subscribe_list.go",
    "chars": 3088,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gogf/gf/v2/frame/g\"\n)\n\ntype ContactGroup stru"
  },
  {
    "path": "core/api/tags/tags.go",
    "chars": 869,
    "preview": "// =================================================================================\n// Code generated and maintained by"
  },
  {
    "path": "core/api/tags/v1/tags.go",
    "chars": 3049,
    "preview": "package v1\n\nimport (\n\t\"billionmail-core/internal/model/entity\"\n\t\"billionmail-core/utility/types/api_v1\"\n\t\"github.com/gog"
  },
  {
    "path": "core/cmd/acme/Makefile",
    "chars": 817,
    "preview": "# Makefile for ACME CLI tool\n\n# Go parameters\nGOCMD=go\nGOBUILD=$(GOCMD) build\nGOCLEAN=$(GOCMD) clean\nBINARY_NAME=acme-cl"
  },
  {
    "path": "core/cmd/acme/main.go",
    "chars": 192,
    "preview": "package main\n\nimport (\n\t\"billionmail-core/internal/service/acme\"\n\t\"os\"\n)\n\nfunc main() {\n\t// Run ACME CLI with command li"
  },
  {
    "path": "core/frontend/.eslintrc-auto-import.json",
    "chars": 1971,
    "preview": "{\n  \"globals\": {\n    \"Component\": true,\n    \"ComponentPublicInstance\": true,\n    \"ComputedRef\": true,\n    \"DirectiveBind"
  },
  {
    "path": "core/frontend/.gitignore",
    "chars": 170,
    "preview": "# Local\n.DS_Store\n*.local\n*.log*\n!logs\n\n# Dist\nnode_modules\ndist/\n\n# IDE\n.vscode/*\n!.vscode/extensions.json\n.idea\n\ndeplo"
  },
  {
    "path": "core/frontend/.prettierignore",
    "chars": 56,
    "preview": "# Lock files\npackage-lock.json\npnpm-lock.yaml\nyarn.lock\n"
  },
  {
    "path": "core/frontend/.prettierrc",
    "chars": 504,
    "preview": "{\n  \"printWidth\": 100,\n  \"tabWidth\": 2,\n  \"useTabs\": true,\n  \"semi\": false,\n  \"singleQuote\": true,\n  \"quoteProps\": \"as-n"
  },
  {
    "path": "core/frontend/README.md",
    "chars": 262,
    "preview": "# Rsbuild project\n\n## Setup\n\nInstall the dependencies:\n\n```bash\npnpm install\n```\n\n## Get started\n\nStart the dev server:\n"
  },
  {
    "path": "core/frontend/build/config.ts",
    "chars": 682,
    "preview": "interface ServerConfig {\n\thttps: boolean\n\taddress: string\n\thost: string\n}\n\nconst serverConfig: Record<string, ServerConf"
  },
  {
    "path": "core/frontend/build/utils.ts",
    "chars": 384,
    "preview": "import { loadEnv } from '@rsbuild/core'\nimport serverConfig from './config'\n\n/**\n * @description 获取环境变量\n * @param key\n *"
  },
  {
    "path": "core/frontend/build-for-git.js",
    "chars": 2092,
    "preview": "import fs from 'fs'\nimport path from 'path'\nimport ora from 'ora'\nimport chalk from 'chalk'\n\n// 前端打包文件的本地路径\nconst localP"
  },
  {
    "path": "core/frontend/eslint.config.mjs",
    "chars": 2035,
    "preview": "import { readFileSync } from 'fs'\nimport js from '@eslint/js'\nimport globals from 'globals'\nimport vueParser from 'vue-e"
  },
  {
    "path": "core/frontend/git-pull.js",
    "chars": 440,
    "preview": "import { execSync } from 'child_process'\nimport chalk from 'chalk'\nimport ora from 'ora'\n\nasync function getPull() {\n\ttr"
  },
  {
    "path": "core/frontend/index.html",
    "chars": 460,
    "preview": "<!doctype html>\n<html lang=\"en\">\n\t<head>\n\t\t<meta charset=\"UTF-8\" />\n\t\t<meta name=\"referer\" content=\"never\" />\n\t\t<meta na"
  },
  {
    "path": "core/frontend/package.json",
    "chars": 2655,
    "preview": "{\n\t\"name\": \"frontend\",\n\t\"version\": \"1.0.0\",\n\t\"private\": true,\n\t\"type\": \"module\",\n\t\"scripts\": {\n\t\t\"build\": \"rsbuild build"
  },
  {
    "path": "core/frontend/public/static/plugin/monaco/base/worker/workerMain.js",
    "chars": 376515,
    "preview": "/*!-----------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserv"
  },
  {
    "path": "core/frontend/public/static/plugin/monaco/basic-languages/abap/abap.js",
    "chars": 14986,
    "preview": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation."
  },
  {
    "path": "core/frontend/public/static/plugin/monaco/basic-languages/apex/apex.js",
    "chars": 4775,
    "preview": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation."
  },
  {
    "path": "core/frontend/public/static/plugin/monaco/basic-languages/azcli/azcli.js",
    "chars": 1673,
    "preview": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation."
  },
  {
    "path": "core/frontend/public/static/plugin/monaco/basic-languages/bat/bat.js",
    "chars": 2666,
    "preview": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation."
  },
  {
    "path": "core/frontend/public/static/plugin/monaco/basic-languages/bicep/bicep.js",
    "chars": 3361,
    "preview": "/*!-----------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation."
  }
]

// ... and 1086 more files (download for full content)

About this extraction

This page contains the full source code of the Billionmail/BillionMail GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 1286 files (34.5 MB), approximately 4.0M tokens, and a symbol index with 23237 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!