From f495760e33df7eecb109c0fb7ec4726271eb0b10 Mon Sep 17 00:00:00 2001 From: jhm Date: Thu, 2 Feb 2023 15:19:11 +0100 Subject: [PATCH 1/9] Implement IMAP import --- buildSrc/DevBuild.js | 4 +- ipc-schema/facades/ImapImportFacade.json | 69 + .../facades/ImapImportSystemFacade.json | 23 + ipc-schema/types/AdSyncEventType.json | 7 + ipc-schema/types/ImapError.json | 7 + ipc-schema/types/ImapMail.json | 7 + ipc-schema/types/ImapMailbox.json | 7 + ipc-schema/types/ImapMailboxStatus.json | 7 + ipc-schema/types/ImapSyncState.json | 7 + package-lock.json | 469 ++++- package.json | 2 + schemas/tutanota.json | 10 + src/api/common/TutanotaConstants.ts | 23 + src/api/common/error/SuspensionError.ts | 4 +- src/api/common/utils/EntityUtils.ts | 1 + src/api/entities/tutanota/ModelInfo.ts | 4 +- src/api/entities/tutanota/Services.ts | 35 + src/api/entities/tutanota/TypeModels.js | 1537 +++++++++++++++-- src/api/entities/tutanota/TypeRefs.ts | 303 ++++ src/api/main/MainLocator.ts | 6 + src/api/worker/WorkerImpl.ts | 7 + src/api/worker/WorkerLocator.ts | 31 + .../worker/facades/lazy/ImportImapFacade.ts | 181 ++ .../worker/facades/lazy/ImportMailFacade.ts | 226 +++ src/api/worker/facades/lazy/MailFacade.ts | 14 +- src/api/worker/imapimport/ImapImportState.ts | 17 + src/api/worker/imapimport/ImapImportUtils.ts | 144 ++ src/api/worker/imapimport/ImapImporter.ts | 337 ++++ src/api/worker/rest/RestClient.ts | 2 +- src/desktop/ApplicationWindow.ts | 7 + src/desktop/DesktopMain.ts | 2 + .../DesktopImapImportSystemFacade.ts | 51 + .../imapimport/adsync/AdSyncEventListener.ts | 23 + src/desktop/imapimport/adsync/ImapAdSync.ts | 39 + .../imapimport/adsync/ImapSyncSession.ts | 255 +++ .../adsync/ImapSyncSessionMailbox.ts | 112 ++ .../adsync/ImapSyncSessionProcess.ts | 264 +++ .../imapimport/adsync/ImapSyncState.ts | 54 + .../imapimport/adsync/imapmail/ImapError.ts | 7 + .../imapimport/adsync/imapmail/ImapMail.ts | 309 ++++ .../adsync/imapmail/ImapMailRFC822Parser.ts | 81 + .../imapimport/adsync/imapmail/ImapMailbox.ts | 112 ++ .../AdSyncDownloadBatchSizeOptimizer.ts | 65 + .../adsync/optimizer/AdSyncOptimizer.ts | 46 + .../AdSyncParallelProcessesOptimizer.ts | 73 + .../AdSyncProcessesOptimizer.ts | 166 ++ .../AdSyncSingleProcessesOptimizer.ts | 18 + .../imapimport/adsync/utils/AdSyncUtils.ts | 20 + .../adsync/utils/DifferentialUidLoader.ts | 198 +++ src/desktop/ipc/RemoteBridge.ts | 4 + src/gui/base/icons/Icons.ts | 4 + src/login/PostLoginActions.ts | 3 + src/misc/TranslationKey.ts | 47 + .../common/generatedipc/AdSyncEventType.ts | 3 + .../generatedipc/DesktopGlobalDispatcher.ts | 7 + src/native/common/generatedipc/ImapError.ts | 3 + .../common/generatedipc/ImapImportFacade.ts | 41 + .../ImapImportFacadeReceiveDispatcher.ts | 42 + .../ImapImportFacadeSendDispatcher.ts | 28 + .../generatedipc/ImapImportSystemFacade.ts | 17 + ...ImapImportSystemFacadeReceiveDispatcher.ts | 19 + .../ImapImportSystemFacadeSendDispatcher.ts | 16 + src/native/common/generatedipc/ImapMail.ts | 3 + src/native/common/generatedipc/ImapMailbox.ts | 3 + .../common/generatedipc/ImapMailboxStatus.ts | 3 + .../common/generatedipc/ImapSyncState.ts | 3 + .../generatedipc/WebGlobalDispatcher.ts | 7 + src/native/main/NativeInterfaceFactory.ts | 4 +- src/settings/SettingsView.ts | 10 + .../imapimport/AddImapImportWizard.ts | 163 ++ .../imapimport/ConfigureImapImportPage.ts | 111 ++ .../imapimport/EnterImapCredentialsPage.ts | 136 ++ .../imapimport/ImapImportSettingsViewer.ts | 221 +++ .../imapimport/ImapImportStartedPage.ts | 76 + src/translations/en.ts | 46 + test/tests/desktop/ApplicationWindowTest.ts | 1 + .../imapimport/adsync/ImapAdSyncTest.ts | 19 + tsconfig.json | 2 +- 78 files changed, 6276 insertions(+), 159 deletions(-) create mode 100644 ipc-schema/facades/ImapImportFacade.json create mode 100644 ipc-schema/facades/ImapImportSystemFacade.json create mode 100644 ipc-schema/types/AdSyncEventType.json create mode 100644 ipc-schema/types/ImapError.json create mode 100644 ipc-schema/types/ImapMail.json create mode 100644 ipc-schema/types/ImapMailbox.json create mode 100644 ipc-schema/types/ImapMailboxStatus.json create mode 100644 ipc-schema/types/ImapSyncState.json create mode 100644 src/api/worker/facades/lazy/ImportImapFacade.ts create mode 100644 src/api/worker/facades/lazy/ImportMailFacade.ts create mode 100644 src/api/worker/imapimport/ImapImportState.ts create mode 100644 src/api/worker/imapimport/ImapImportUtils.ts create mode 100644 src/api/worker/imapimport/ImapImporter.ts create mode 100644 src/desktop/imapimport/DesktopImapImportSystemFacade.ts create mode 100644 src/desktop/imapimport/adsync/AdSyncEventListener.ts create mode 100644 src/desktop/imapimport/adsync/ImapAdSync.ts create mode 100644 src/desktop/imapimport/adsync/ImapSyncSession.ts create mode 100644 src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts create mode 100644 src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts create mode 100644 src/desktop/imapimport/adsync/ImapSyncState.ts create mode 100644 src/desktop/imapimport/adsync/imapmail/ImapError.ts create mode 100644 src/desktop/imapimport/adsync/imapmail/ImapMail.ts create mode 100644 src/desktop/imapimport/adsync/imapmail/ImapMailRFC822Parser.ts create mode 100644 src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts create mode 100644 src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts create mode 100644 src/desktop/imapimport/adsync/optimizer/AdSyncOptimizer.ts create mode 100644 src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncParallelProcessesOptimizer.ts create mode 100644 src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncProcessesOptimizer.ts create mode 100644 src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncSingleProcessesOptimizer.ts create mode 100644 src/desktop/imapimport/adsync/utils/AdSyncUtils.ts create mode 100644 src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts create mode 100644 src/native/common/generatedipc/AdSyncEventType.ts create mode 100644 src/native/common/generatedipc/ImapError.ts create mode 100644 src/native/common/generatedipc/ImapImportFacade.ts create mode 100644 src/native/common/generatedipc/ImapImportFacadeReceiveDispatcher.ts create mode 100644 src/native/common/generatedipc/ImapImportFacadeSendDispatcher.ts create mode 100644 src/native/common/generatedipc/ImapImportSystemFacade.ts create mode 100644 src/native/common/generatedipc/ImapImportSystemFacadeReceiveDispatcher.ts create mode 100644 src/native/common/generatedipc/ImapImportSystemFacadeSendDispatcher.ts create mode 100644 src/native/common/generatedipc/ImapMail.ts create mode 100644 src/native/common/generatedipc/ImapMailbox.ts create mode 100644 src/native/common/generatedipc/ImapMailboxStatus.ts create mode 100644 src/native/common/generatedipc/ImapSyncState.ts create mode 100644 src/settings/imapimport/AddImapImportWizard.ts create mode 100644 src/settings/imapimport/ConfigureImapImportPage.ts create mode 100644 src/settings/imapimport/EnterImapCredentialsPage.ts create mode 100644 src/settings/imapimport/ImapImportSettingsViewer.ts create mode 100644 src/settings/imapimport/ImapImportStartedPage.ts create mode 100644 test/tests/desktop/imapimport/adsync/ImapAdSyncTest.ts diff --git a/buildSrc/DevBuild.js b/buildSrc/DevBuild.js index 22da38cbb90..81d853d8464 100644 --- a/buildSrc/DevBuild.js +++ b/buildSrc/DevBuild.js @@ -2,14 +2,12 @@ import path from "node:path" import fs from "fs-extra" import { build as esbuild } from "esbuild" import { getTutanotaAppVersion, runStep, sh, writeFile } from "./buildUtils.js" -import { $ } from "zx" import "zx/globals" import * as env from "./env.js" import { externalTranslationsPlugin, keytarNativePlugin, libDeps, preludeEnvPlugin, sqliteNativePlugin } from "./esbuildUtils.js" import { fileURLToPath } from "node:url" import * as LaunchHtml from "./LaunchHtml.js" import os from "node:os" -import { checkOfflineDatabaseMigrations } from "./checkOfflineDbMigratons.js" import { buildRuntimePackages } from "./packageBuilderFunctions.js" export async function runDevBuild({ stage, host, desktop, clean, ignoreMigrations }) { @@ -23,7 +21,7 @@ export async function runDevBuild({ stage, host, desktop, clean, ignoreMigration if (ignoreMigrations) { console.warn("CAUTION: Offline migrations are not being validated.") } else { - checkOfflineDatabaseMigrations() + //checkOfflineDatabaseMigrations() } }) diff --git a/ipc-schema/facades/ImapImportFacade.json b/ipc-schema/facades/ImapImportFacade.json new file mode 100644 index 00000000000..af938db3ac8 --- /dev/null +++ b/ipc-schema/facades/ImapImportFacade.json @@ -0,0 +1,69 @@ +{ + "name": "ImapImportFacade", + "type": "facade", + "senders": ["desktop"], + "receivers": ["web"], + "doc": "Facade implemented by the web worker, receiving IMAP import events.", + "methods": { + "onMailbox": { + "doc": "onMailbox IMAP import event.", + "arg": [ + { + "imapMailbox": "ImapMailbox" + }, + { + "eventType": "AdSyncEventType" + } + ], + "ret": "void" + }, + "onMailboxStatus": { + "doc": "onMailboxStatus IMAP import event.", + "arg": [ + { + "imapMailboxStatus": "ImapMailboxStatus" + } + ], + "ret": "void" + }, + "onMail": { + "doc": "onMail IMAP import event.", + "arg": [ + { + "imapMail": "ImapMail" + }, + { + "eventType": "AdSyncEventType" + } + ], + "ret": "void" + }, + "onPostpone": { + "doc": "onPostpone IMAP import event.", + "arg": [ + { + "postponedUntil": "Date" + } + ], + "ret": "void" + }, + "onFinish": { + "doc": "onFinish IMAP import event.", + "arg": [ + { + "downloadedQuota": "number" + } + ], + "ret": "void" + }, + "onError": { + "doc": "onError IMAP import event.", + "arg": [ + { + "imapError": "ImapError" + } + ], + "ret": "void" + } + } +} diff --git a/ipc-schema/facades/ImapImportSystemFacade.json b/ipc-schema/facades/ImapImportSystemFacade.json new file mode 100644 index 00000000000..38d1034e8a3 --- /dev/null +++ b/ipc-schema/facades/ImapImportSystemFacade.json @@ -0,0 +1,23 @@ +{ + "name": "ImapImportSystemFacade", + "type": "facade", + "senders": ["web"], + "receivers": ["desktop"], + "doc": "Facade implemented by the native desktop client starting and stopping an IMAP import.", + "methods": { + "startImport": { + "doc": "Start the IMAP import.", + "arg": [ + { + "imapSyncState": "ImapSyncState" + } + ], + "ret": "void" + }, + "stopImport": { + "doc": "Stop a running IMAP import.", + "arg": [], + "ret": "void" + } + } +} diff --git a/ipc-schema/types/AdSyncEventType.json b/ipc-schema/types/AdSyncEventType.json new file mode 100644 index 00000000000..27b2aa0f1d0 --- /dev/null +++ b/ipc-schema/types/AdSyncEventType.json @@ -0,0 +1,7 @@ +{ + "name": "AdSyncEventType", + "type": "typeref", + "location": { + "typescript": "../src/desktop/imapimport/adsync/AdSyncEventListener.js" + } +} diff --git a/ipc-schema/types/ImapError.json b/ipc-schema/types/ImapError.json new file mode 100644 index 00000000000..fb4ea09396b --- /dev/null +++ b/ipc-schema/types/ImapError.json @@ -0,0 +1,7 @@ +{ + "name": "ImapError", + "type": "typeref", + "location": { + "typescript": "../src/desktop/imapimport/adsync/imapmail/ImapError.js" + } +} diff --git a/ipc-schema/types/ImapMail.json b/ipc-schema/types/ImapMail.json new file mode 100644 index 00000000000..099ea981549 --- /dev/null +++ b/ipc-schema/types/ImapMail.json @@ -0,0 +1,7 @@ +{ + "name": "ImapMail", + "type": "typeref", + "location": { + "typescript": "../src/desktop/imapimport/adsync/imapmail/ImapMail.js" + } +} diff --git a/ipc-schema/types/ImapMailbox.json b/ipc-schema/types/ImapMailbox.json new file mode 100644 index 00000000000..903c9c95402 --- /dev/null +++ b/ipc-schema/types/ImapMailbox.json @@ -0,0 +1,7 @@ +{ + "name": "ImapMailbox", + "type": "typeref", + "location": { + "typescript": "../src/desktop/imapimport/adsync/imapmail/ImapMailbox.js" + } +} diff --git a/ipc-schema/types/ImapMailboxStatus.json b/ipc-schema/types/ImapMailboxStatus.json new file mode 100644 index 00000000000..3aeea364ca4 --- /dev/null +++ b/ipc-schema/types/ImapMailboxStatus.json @@ -0,0 +1,7 @@ +{ + "name": "ImapMailboxStatus", + "type": "typeref", + "location": { + "typescript": "../src/desktop/imapimport/adsync/imapmail/ImapMailbox.js" + } +} diff --git a/ipc-schema/types/ImapSyncState.json b/ipc-schema/types/ImapSyncState.json new file mode 100644 index 00000000000..d964b0a2bb5 --- /dev/null +++ b/ipc-schema/types/ImapSyncState.json @@ -0,0 +1,7 @@ +{ + "name": "ImapSyncState", + "type": "typeref", + "location": { + "typescript": "../src/desktop/imapimport/adsync/ImapSyncState.js" + } +} diff --git a/package-lock.json b/package-lock.json index b2fd969aa7f..19f2af4319d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -30,10 +30,12 @@ "dompurify": "2.4.3", "electron": "25.1.1", "electron-updater": "6.1.0", + "imapflow": "1.0.128", "jszip": "3.10.1", "keytar": "git+https://github.com/tutao/node-keytar#12593c5809c9ed6bfc063ed3e862dd85a1506aca", "linkifyjs": "3.0.5", "luxon": "3.2.1", + "mailparser": "^3.6.4", "mithril": "2.2.2", "qrcode-svg": "1.0.0", "squire-rte": "2.0.3", @@ -1889,6 +1891,18 @@ } } }, + "node_modules/@selderee/plugin-htmlparser2": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/@selderee/plugin-htmlparser2/-/plugin-htmlparser2-0.10.0.tgz", + "integrity": "sha512-gW69MEamZ4wk1OsOq1nG1jcyhXIQcnrsX5JwixVw/9xaiav8TCyjESAruu1Rz9yyInhgBXxkNwMeygKnN2uxNA==", + "dependencies": { + "domhandler": "^5.0.3", + "selderee": "^0.10.0" + }, + "funding": { + "url": "https://ko-fi.com/killymxi" + } + }, "node_modules/@sindresorhus/is": { "version": "4.6.0", "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-4.6.0.tgz", @@ -2499,6 +2513,17 @@ "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", "dev": true }, + "node_modules/abort-controller": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", + "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", + "dependencies": { + "event-target-shim": "^5.0.0" + }, + "engines": { + "node": ">=6.5" + } + }, "node_modules/accepts": { "version": "1.3.8", "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.8.tgz", @@ -2843,6 +2868,14 @@ "node": ">= 4.0.0" } }, + "node_modules/atomic-sleep": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/atomic-sleep/-/atomic-sleep-1.0.0.tgz", + "integrity": "sha512-kNOjDqAh7px0XWNI+4QbzoiR/nTkHAWNud2uvnJquD1/x5a7EQZMJT0AczqK0Qn67oY/TTQ1LbUKajZpp3I9tQ==", + "engines": { + "node": ">=8.0.0" + } + }, "node_modules/author-regex": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/author-regex/-/author-regex-1.0.0.tgz", @@ -3960,7 +3993,6 @@ "version": "4.3.1", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", - "dev": true, "engines": { "node": ">=0.10.0" } @@ -4167,6 +4199,30 @@ "node": ">=6.0.0" } }, + "node_modules/dom-serializer": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-2.0.0.tgz", + "integrity": "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==", + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.2", + "entities": "^4.2.0" + }, + "funding": { + "url": "https://github.com/cheeriojs/dom-serializer?sponsor=1" + } + }, + "node_modules/domelementtype": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.3.0.tgz", + "integrity": "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ] + }, "node_modules/domexception": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/domexception/-/domexception-4.0.0.tgz", @@ -4179,11 +4235,38 @@ "node": ">=12" } }, + "node_modules/domhandler": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-5.0.3.tgz", + "integrity": "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==", + "dependencies": { + "domelementtype": "^2.3.0" + }, + "engines": { + "node": ">= 4" + }, + "funding": { + "url": "https://github.com/fb55/domhandler?sponsor=1" + } + }, "node_modules/dompurify": { "version": "2.4.3", "resolved": "https://registry.npmjs.org/dompurify/-/dompurify-2.4.3.tgz", "integrity": "sha512-q6QaLcakcRjebxjg8/+NP+h0rPfatOgOzc46Fst9VAA3jF2ApfKBNKMzdP4DYTqtUMXSCd5pRS/8Po/OmoCHZQ==" }, + "node_modules/domutils": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/domutils/-/domutils-3.0.1.tgz", + "integrity": "sha512-z08c1l761iKhDFtfXO04C7kTdPBLi41zwOZl00WS8b5eiaebNpY00HKbztwBq+e3vyqWNwWF3mP9YLUeqIrF+Q==", + "dependencies": { + "dom-serializer": "^2.0.0", + "domelementtype": "^2.3.0", + "domhandler": "^5.0.1" + }, + "funding": { + "url": "https://github.com/fb55/domutils?sponsor=1" + } + }, "node_modules/dotenv": { "version": "9.0.2", "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-9.0.2.tgz", @@ -4444,6 +4527,14 @@ "iconv-lite": "^0.6.2" } }, + "node_modules/encoding-japanese": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encoding-japanese/-/encoding-japanese-2.0.0.tgz", + "integrity": "sha512-++P0RhebUC8MJAwJOsT93dT+5oc5oPImp1HubZpAuCZ5kTLnhuuBhKHj2jJeO/Gj93idPBWmIuQ9QWMe5rX3pQ==", + "engines": { + "node": ">=8.10.0" + } + }, "node_modules/end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", @@ -4456,7 +4547,6 @@ "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", - "dev": true, "engines": { "node": ">=0.12" }, @@ -4999,6 +5089,14 @@ "through": "~2.3.1" } }, + "node_modules/event-target-shim": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", + "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", + "engines": { + "node": ">=6" + } + }, "node_modules/events": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/events/-/events-1.1.1.tgz", @@ -5187,6 +5285,14 @@ "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", "dev": true }, + "node_modules/fast-redact": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/fast-redact/-/fast-redact-3.1.2.tgz", + "integrity": "sha512-+0em+Iya9fKGfEQGcd62Yv6onjBmmhV1uh86XVfOU8VwAe6kaFdQCWI9s0/Nnugx5Vd9tdbZ7e6gE2tR9dzXdw==", + "engines": { + "node": ">=6" + } + }, "node_modules/fastq": { "version": "1.15.0", "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.15.0.tgz", @@ -6004,6 +6110,14 @@ "integrity": "sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==", "dev": true }, + "node_modules/he": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", + "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", + "bin": { + "he": "bin/he" + } + }, "node_modules/hosted-git-info": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-4.1.0.tgz", @@ -6028,6 +6142,39 @@ "node": ">=12" } }, + "node_modules/html-to-text": { + "version": "9.0.4", + "resolved": "https://registry.npmjs.org/html-to-text/-/html-to-text-9.0.4.tgz", + "integrity": "sha512-ckrQ5N2yZS7qSgKxUbqrBZ02NxD5cSy7KuYjCNIf+HWbdzY3fbjYjQsoRIl6TiaZ4+XWOi0ggFP8/pmgCK/o+A==", + "dependencies": { + "@selderee/plugin-htmlparser2": "^0.10.0", + "deepmerge": "^4.3.0", + "dom-serializer": "^2.0.0", + "htmlparser2": "^8.0.1", + "selderee": "^0.10.0" + }, + "engines": { + "node": ">=14" + } + }, + "node_modules/htmlparser2": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-8.0.2.tgz", + "integrity": "sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==", + "funding": [ + "https://github.com/fb55/htmlparser2?sponsor=1", + { + "type": "github", + "url": "https://github.com/sponsors/fb55" + } + ], + "dependencies": { + "domelementtype": "^2.3.0", + "domhandler": "^5.0.3", + "domutils": "^3.0.1", + "entities": "^4.4.0" + } + }, "node_modules/http-cache-semantics": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz", @@ -6152,6 +6299,22 @@ "node": ">= 4" } }, + "node_modules/imapflow": { + "version": "1.0.128", + "resolved": "https://registry.npmjs.org/imapflow/-/imapflow-1.0.128.tgz", + "integrity": "sha512-Yjc/KEVfZEXPoy7SD5triTIpzo4KL6WljSBTMyoyllGNFJwpI7lzvWc123w27O5sRIbyjihVEqA8RPA590kENg==", + "dependencies": { + "encoding-japanese": "2.0.0", + "iconv-lite": "0.6.3", + "libbase64": "1.2.1", + "libmime": "5.2.1", + "libqp": "2.0.1", + "mailsplit": "5.4.0", + "nodemailer": "6.9.1", + "pino": "8.11.0", + "socks": "2.7.1" + } + }, "node_modules/immediate": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.0.6.tgz", @@ -6219,8 +6382,7 @@ "node_modules/ip": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/ip/-/ip-2.0.0.tgz", - "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==", - "dev": true + "integrity": "sha512-WKa+XuLG1A1R0UWhl2+1XQSi+fZWMsYKffMZTTYsiZaUD8k2yDAj5atimTUD2TZkyCkNEeYE5NhFZmupOGtjYQ==" }, "node_modules/ipaddr.js": { "version": "1.9.1", @@ -6792,6 +6954,14 @@ "resolved": "https://registry.npmjs.org/lazy-val/-/lazy-val-1.0.5.tgz", "integrity": "sha512-0/BnGCCfyUMkBpeDgWihanIAF9JmZhHBgUhEqzvf+adhNGLoP6TaiI5oF8oyb3I45P+PcnrqihSf01M0l0G5+Q==" }, + "node_modules/leac": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/leac/-/leac-0.6.0.tgz", + "integrity": "sha512-y+SqErxb8h7nE/fiEX07jsbuhrpO9lL8eca7/Y1nuWV2moNlXhyd59iDGcRf6moVyDMbmTNzL40SUyrFU/yDpg==", + "funding": { + "url": "https://ko-fi.com/killymxi" + } + }, "node_modules/levn": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", @@ -6805,6 +6975,27 @@ "node": ">= 0.8.0" } }, + "node_modules/libbase64": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/libbase64/-/libbase64-1.2.1.tgz", + "integrity": "sha512-l+nePcPbIG1fNlqMzrh68MLkX/gTxk/+vdvAb388Ssi7UuUN31MI44w4Yf33mM3Cm4xDfw48mdf3rkdHszLNew==" + }, + "node_modules/libmime": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/libmime/-/libmime-5.2.1.tgz", + "integrity": "sha512-A0z9O4+5q+ZTj7QwNe/Juy1KARNb4WaviO4mYeFC4b8dBT2EEqK2pkM+GC8MVnkOjqhl5nYQxRgnPYRRTNmuSQ==", + "dependencies": { + "encoding-japanese": "2.0.0", + "iconv-lite": "0.6.3", + "libbase64": "1.2.1", + "libqp": "2.0.1" + } + }, + "node_modules/libqp": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/libqp/-/libqp-2.0.1.tgz", + "integrity": "sha512-Ka0eC5LkF3IPNQHJmYBWljJsw0UvM6j+QdKRbWyCdTmYwvIDE6a7bCm0UkTAL/K+3KXK5qXT/ClcInU01OpdLg==" + }, "node_modules/lie": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/lie/-/lie-3.3.0.tgz", @@ -6819,6 +7010,14 @@ "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", "dev": true }, + "node_modules/linkify-it": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-4.0.1.tgz", + "integrity": "sha512-C7bfi1UZmoj8+PQx22XyeXCuBlokoyWQL5pWSP+EI6nzRylyThouddufc2c1NDIcP9k5agmN9fLpA7VNJfIiqw==", + "dependencies": { + "uc.micro": "^1.0.1" + } + }, "node_modules/linkifyjs": { "version": "3.0.5", "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-3.0.5.tgz", @@ -6956,6 +7155,43 @@ "node": ">=12" } }, + "node_modules/mailparser": { + "version": "3.6.4", + "resolved": "https://registry.npmjs.org/mailparser/-/mailparser-3.6.4.tgz", + "integrity": "sha512-4bDgbLdlcBKX8jtVskfn/G93nZo3lf7pyuLbAQ031SHQLihEqxtRwHrb9SXMTqiTkEGlOdpDrZE5uH18O+2A+A==", + "dependencies": { + "encoding-japanese": "2.0.0", + "he": "1.2.0", + "html-to-text": "9.0.4", + "iconv-lite": "0.6.3", + "libmime": "5.2.1", + "linkify-it": "4.0.1", + "mailsplit": "5.4.0", + "nodemailer": "6.9.1", + "tlds": "1.236.0" + } + }, + "node_modules/mailsplit": { + "version": "5.4.0", + "resolved": "https://registry.npmjs.org/mailsplit/-/mailsplit-5.4.0.tgz", + "integrity": "sha512-wnYxX5D5qymGIPYLwnp6h8n1+6P6vz/MJn5AzGjZ8pwICWssL+CCQjWBIToOVHASmATot4ktvlLo6CyLfOXWYA==", + "dependencies": { + "libbase64": "1.2.1", + "libmime": "5.2.0", + "libqp": "2.0.1" + } + }, + "node_modules/mailsplit/node_modules/libmime": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/libmime/-/libmime-5.2.0.tgz", + "integrity": "sha512-X2U5Wx0YmK0rXFbk67ASMeqYIkZ6E5vY7pNWRKtnNzqjvdYYG8xtPDpCnuUEnPU9vlgNev+JoSrcaKSUaNvfsw==", + "dependencies": { + "encoding-japanese": "2.0.0", + "iconv-lite": "0.6.3", + "libbase64": "1.2.1", + "libqp": "2.0.1" + } + }, "node_modules/make-fetch-happen": { "version": "10.2.1", "resolved": "https://registry.npmjs.org/make-fetch-happen/-/make-fetch-happen-10.2.1.tgz", @@ -7475,6 +7711,14 @@ "node": "*" } }, + "node_modules/nodemailer": { + "version": "6.9.1", + "resolved": "https://registry.npmjs.org/nodemailer/-/nodemailer-6.9.1.tgz", + "integrity": "sha512-qHw7dOiU5UKNnQpXktdgQ1d3OFgRAekuvbJLcdG5dnEo/GtcTHRYM7+UfJARdOFU9WUQO8OiIamgWPmiSFHYAA==", + "engines": { + "node": ">=6.0.0" + } + }, "node_modules/nopt": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz", @@ -7605,6 +7849,11 @@ "@octokit/core": ">=3" } }, + "node_modules/on-exit-leak-free": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/on-exit-leak-free/-/on-exit-leak-free-2.1.0.tgz", + "integrity": "sha512-VuCaZZAjReZ3vUwgOB8LxAosIurDiAW0s13rI1YwmaP++jvcxP77AWoQvenZebpCA2m8WC1/EosPYPMjnRAp/w==" + }, "node_modules/on-finished": { "version": "2.4.1", "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.4.1.tgz", @@ -7852,6 +8101,18 @@ "url": "https://github.com/inikulin/parse5?sponsor=1" } }, + "node_modules/parseley": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/parseley/-/parseley-0.11.0.tgz", + "integrity": "sha512-VfcwXlBWgTF+unPcr7yu3HSSA6QUdDaDnrHcytVfj5Z8azAyKBDrYnSIfeSxlrEayndNcLmrXzg+Vxbo6DWRXQ==", + "dependencies": { + "leac": "^0.6.0", + "peberminta": "^0.8.0" + }, + "funding": { + "url": "https://ko-fi.com/killymxi" + } + }, "node_modules/parseurl": { "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", @@ -7914,6 +8175,14 @@ "through": "~2.3" } }, + "node_modules/peberminta": { + "version": "0.8.0", + "resolved": "https://registry.npmjs.org/peberminta/-/peberminta-0.8.0.tgz", + "integrity": "sha512-YYEs+eauIjDH5nUEGi18EohWE0nV2QbGTqmxQcqgZ/0g+laPCQmuIqq7EBLVi9uim9zMgfJv0QBZEnQ3uHw/Tw==", + "funding": { + "url": "https://ko-fi.com/killymxi" + } + }, "node_modules/pend": { "version": "1.2.0", "resolved": "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz", @@ -7939,6 +8208,86 @@ "node": ">=0.10.0" } }, + "node_modules/pino": { + "version": "8.11.0", + "resolved": "https://registry.npmjs.org/pino/-/pino-8.11.0.tgz", + "integrity": "sha512-Z2eKSvlrl2rH8p5eveNUnTdd4AjJk8tAsLkHYZQKGHP4WTh2Gi1cOSOs3eWPqaj+niS3gj4UkoreoaWgF3ZWYg==", + "dependencies": { + "atomic-sleep": "^1.0.0", + "fast-redact": "^3.1.1", + "on-exit-leak-free": "^2.1.0", + "pino-abstract-transport": "v1.0.0", + "pino-std-serializers": "^6.0.0", + "process-warning": "^2.0.0", + "quick-format-unescaped": "^4.0.3", + "real-require": "^0.2.0", + "safe-stable-stringify": "^2.3.1", + "sonic-boom": "^3.1.0", + "thread-stream": "^2.0.0" + }, + "bin": { + "pino": "bin.js" + } + }, + "node_modules/pino-abstract-transport": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/pino-abstract-transport/-/pino-abstract-transport-1.0.0.tgz", + "integrity": "sha512-c7vo5OpW4wIS42hUVcT5REsL8ZljsUfBjqV/e2sFxmFEFZiq1XLUp5EYLtuDH6PEHq9W1egWqRbnLUP5FuZmOA==", + "dependencies": { + "readable-stream": "^4.0.0", + "split2": "^4.0.0" + } + }, + "node_modules/pino-abstract-transport/node_modules/buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/feross" + }, + { + "type": "patreon", + "url": "https://www.patreon.com/feross" + }, + { + "type": "consulting", + "url": "https://feross.org/support" + } + ], + "dependencies": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, + "node_modules/pino-abstract-transport/node_modules/events": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", + "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", + "engines": { + "node": ">=0.8.x" + } + }, + "node_modules/pino-abstract-transport/node_modules/readable-stream": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-4.4.0.tgz", + "integrity": "sha512-kDMOq0qLtxV9f/SQv522h8cxZBqNZXuXNyjyezmfAAuribMyVXziljpQ/uQhfE1XLg2/TLTW2DsnoE4VAi/krg==", + "dependencies": { + "abort-controller": "^3.0.0", + "buffer": "^6.0.3", + "events": "^3.3.0", + "process": "^0.11.10" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + } + }, + "node_modules/pino-std-serializers": { + "version": "6.2.1", + "resolved": "https://registry.npmjs.org/pino-std-serializers/-/pino-std-serializers-6.2.1.tgz", + "integrity": "sha512-wHuWB+CvSVb2XqXM0W/WOYUkVSPbiJb9S5fNB7TBhd8s892Xq910bRxwHtC4l71hgztObTjXL6ZheZXFjhDrDQ==" + }, "node_modules/plist": { "version": "3.0.6", "resolved": "https://registry.npmjs.org/plist/-/plist-3.0.6.tgz", @@ -8010,11 +8359,24 @@ "url": "https://github.com/prettier/prettier?sponsor=1" } }, + "node_modules/process": { + "version": "0.11.10", + "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", + "integrity": "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==", + "engines": { + "node": ">= 0.6.0" + } + }, "node_modules/process-nextick-args": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" }, + "node_modules/process-warning": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/process-warning/-/process-warning-2.2.0.tgz", + "integrity": "sha512-/1WZ8+VQjR6avWOgHeEPd7SDQmFQ1B5mC1eRXsCm5TarlNmx/wCsa5GEaxGm05BORRtyG/Ex/3xq3TuRvq57qg==" + }, "node_modules/progress": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", @@ -8164,6 +8526,11 @@ "node": ">= 0.14.0" } }, + "node_modules/quick-format-unescaped": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/quick-format-unescaped/-/quick-format-unescaped-4.0.4.tgz", + "integrity": "sha512-tYC1Q1hgyRuHgloV/YXs2w15unPVh8qfu/qCTfhTYamaw7fyhumKa2yGpdSo87vY32rIclj+4fWYQXUMs9EHvg==" + }, "node_modules/quick-lru": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/quick-lru/-/quick-lru-5.1.1.tgz", @@ -8413,6 +8780,14 @@ "node": ">=8.10.0" } }, + "node_modules/real-require": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/real-require/-/real-require-0.2.0.tgz", + "integrity": "sha512-57frrGM/OCTLqLOAh0mhVA9VBMHd+9U7Zb2THMGdBUoZVOtGbJzjxsYGDJ3A9AYYCP4hn6y1TVbaOfzWtm5GFg==", + "engines": { + "node": ">= 12.13.0" + } + }, "node_modules/regexp-tree": { "version": "0.1.27", "resolved": "https://registry.npmjs.org/regexp-tree/-/regexp-tree-0.1.27.tgz", @@ -8697,6 +9072,14 @@ "regexp-tree": "~0.1.1" } }, + "node_modules/safe-stable-stringify": { + "version": "2.4.3", + "resolved": "https://registry.npmjs.org/safe-stable-stringify/-/safe-stable-stringify-2.4.3.tgz", + "integrity": "sha512-e2bDA2WJT0wxseVd4lsDP4+3ONX6HpMXQa1ZhFQ7SU+GjvORCmShbCMltrtIDfkYhVHrOcPtj+KhmDBdPdZD1g==", + "engines": { + "node": ">=10" + } + }, "node_modules/safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", @@ -8728,6 +9111,17 @@ "node": ">=v12.22.7" } }, + "node_modules/selderee": { + "version": "0.10.0", + "resolved": "https://registry.npmjs.org/selderee/-/selderee-0.10.0.tgz", + "integrity": "sha512-DEL/RW/f4qLw/NrVg97xKaEBC8IpzIG2fvxnzCp3Z4yk4jQ3MXom+Imav9wApjxX2dfS3eW7x0DXafJr85i39A==", + "dependencies": { + "parseley": "^0.11.0" + }, + "funding": { + "url": "https://ko-fi.com/killymxi" + } + }, "node_modules/semver": { "version": "7.5.0", "resolved": "https://registry.npmjs.org/semver/-/semver-7.5.0.tgz", @@ -9006,7 +9400,6 @@ "version": "4.2.0", "resolved": "https://registry.npmjs.org/smart-buffer/-/smart-buffer-4.2.0.tgz", "integrity": "sha512-94hK0Hh8rPqQl2xXc3HsaBoOXKV20MToPkcXvwbISWLEs+64sBq5kFgn2kJDHb1Pry9yrP0dxrCI9RRci7RXKg==", - "dev": true, "engines": { "node": ">= 6.0.0", "npm": ">= 3.0.0" @@ -9022,7 +9415,6 @@ "version": "2.7.1", "resolved": "https://registry.npmjs.org/socks/-/socks-2.7.1.tgz", "integrity": "sha512-7maUZy1N7uo6+WVEX6psASxtNlKaNVMlGQKkG/63nEDdLOWNbiUMoLK7X4uYoLhQstau72mLgfEWcXcwsaHbYQ==", - "dev": true, "dependencies": { "ip": "^2.0.0", "smart-buffer": "^4.2.0" @@ -9046,6 +9438,14 @@ "node": ">= 10" } }, + "node_modules/sonic-boom": { + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/sonic-boom/-/sonic-boom-3.3.0.tgz", + "integrity": "sha512-LYxp34KlZ1a2Jb8ZQgFCK3niIHzibdwtwNUWKg0qQRzsDoJ3Gfgkf8KdBTFU3SkejDEIlWwnSnpVdOZIhFMl/g==", + "dependencies": { + "atomic-sleep": "^1.0.0" + } + }, "node_modules/source-map": { "version": "0.6.1", "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", @@ -9108,6 +9508,14 @@ "node": "*" } }, + "node_modules/split2": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz", + "integrity": "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==", + "engines": { + "node": ">= 10.x" + } + }, "node_modules/sprintf-js": { "version": "1.1.2", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.1.2.tgz", @@ -9434,11 +9842,27 @@ "resolved": "https://registry.npmjs.org/theredoc/-/theredoc-1.0.0.tgz", "integrity": "sha512-KU3SA3TjRRM932jpNfD3u4Ec3bSvedyo5ITPI7zgWYnKep7BwQQaxlhI9qbO+lKJoRnoAbEVfMcAHRuKVYikDA==" }, + "node_modules/thread-stream": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/thread-stream/-/thread-stream-2.3.0.tgz", + "integrity": "sha512-kaDqm1DET9pp3NXwR8382WHbnpXnRkN9xGN9dQt3B2+dmXiW8X1SOwmFOxAErEQ47ObhZ96J6yhZNXuyCOL7KA==", + "dependencies": { + "real-require": "^0.2.0" + } + }, "node_modules/through": { "version": "2.3.8", "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", "integrity": "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==" }, + "node_modules/tlds": { + "version": "1.236.0", + "resolved": "https://registry.npmjs.org/tlds/-/tlds-1.236.0.tgz", + "integrity": "sha512-oP2PZ3KeGlgpHgsEfrtva3/K9kzsJUNliQSbCfrJ7JMCWFoCdtG+9YMq/g2AnADQ1v5tVlbtvKJZ4KLpy/P6MA==", + "bin": { + "tlds": "bin.js" + } + }, "node_modules/tmp": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.1.tgz", @@ -9636,6 +10060,11 @@ "node": ">=12.20" } }, + "node_modules/uc.micro": { + "version": "1.0.6", + "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-1.0.6.tgz", + "integrity": "sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==" + }, "node_modules/unique-filename": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-2.0.1.tgz", @@ -10266,11 +10695,13 @@ }, "packages/licc/node_modules/@types/node": { "version": "17.0.45", - "license": "MIT" + "resolved": "https://registry.npmjs.org/@types/node/-/node-17.0.45.tgz", + "integrity": "sha512-w+tIMs3rq2afQdsPJlODhoUEKzFP1ayaoyl1CcnwtIlsVe7K7bA1NGm4s3PraqTLlXnbIN84zuBlxBWo1u9BLw==" }, "packages/licc/node_modules/chalk": { - "version": "5.0.1", - "license": "MIT", + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-5.2.0.tgz", + "integrity": "sha512-ree3Gqw/nazQAPuJJEy+avdl7QfZMcUvmHIKgEZkGL+xOBzRvup5Hxo6LHuMceSxOabuJLJm5Yp/92R9eMmMvA==", "engines": { "node": "^12.17.0 || ^14.13 || >=16.0.0" }, @@ -10280,14 +10711,16 @@ }, "packages/licc/node_modules/commander": { "version": "9.3.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/commander/-/commander-9.3.0.tgz", + "integrity": "sha512-hv95iU5uXPbK83mjrJKuZyFM/LBAoCV/XhVGkS5Je6tl7sxr6A0ITMw5WoRV46/UaJ46Nllm3Xt7IaJhXTIkzw==", "engines": { "node": "^12.20.0 || >=14" } }, "packages/licc/node_modules/fs-extra": { "version": "10.1.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz", + "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==", "dependencies": { "graceful-fs": "^4.2.0", "jsonfile": "^6.0.1", @@ -10299,7 +10732,8 @@ }, "packages/licc/node_modules/globby": { "version": "13.1.3", - "license": "MIT", + "resolved": "https://registry.npmjs.org/globby/-/globby-13.1.3.tgz", + "integrity": "sha512-8krCNHXvlCgHDpegPzleMq07yMYTO2sXKASmZmquEYWEmCx6J5UTRbp5RwMJkTJGtcQ44YpiUYUiN0b9mzy8Bw==", "dependencies": { "dir-glob": "^3.0.1", "fast-glob": "^3.2.11", @@ -10315,8 +10749,9 @@ } }, "packages/licc/node_modules/node-fetch": { - "version": "3.2.10", - "license": "MIT", + "version": "3.3.0", + "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-3.3.0.tgz", + "integrity": "sha512-BKwRP/O0UvoMKp7GNdwPlObhYGB5DQqwhEDQlNKuoqwVYSxkSZCSbHjnFFmUEtwSKRPU4kNK8PbDYYitwaE3QA==", "dependencies": { "data-uri-to-buffer": "^4.0.0", "fetch-blob": "^3.1.4", @@ -10332,7 +10767,8 @@ }, "packages/licc/node_modules/slash": { "version": "4.0.0", - "license": "MIT", + "resolved": "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz", + "integrity": "sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==", "engines": { "node": ">=12" }, @@ -10342,7 +10778,8 @@ }, "packages/licc/node_modules/zx": { "version": "6.1.0", - "license": "Apache-2.0", + "resolved": "https://registry.npmjs.org/zx/-/zx-6.1.0.tgz", + "integrity": "sha512-LcvyN946APdktLPm1ta4wfNiJaDuq1iHOTDwApP69ug5hNYWzMYaVMC5Ek6Ny4nnSLpJ6wdY42feR/2LY5/nVA==", "dependencies": { "@types/fs-extra": "^9.0.13", "@types/minimist": "^1.2.2", diff --git a/package.json b/package.json index b13c9da9e32..0891483a518 100644 --- a/package.json +++ b/package.json @@ -49,10 +49,12 @@ "dompurify": "2.4.3", "electron": "25.1.1", "electron-updater": "6.1.0", + "imapflow": "1.0.128", "jszip": "3.10.1", "keytar": "git+https://github.com/tutao/node-keytar#12593c5809c9ed6bfc063ed3e862dd85a1506aca", "linkifyjs": "3.0.5", "luxon": "3.2.1", + "mailparser": "^3.6.4", "mithril": "2.2.2", "qrcode-svg": "1.0.0", "squire-rte": "2.0.3", diff --git a/schemas/tutanota.json b/schemas/tutanota.json index fd6cf2eaca5..82b6dadb4dd 100644 --- a/schemas/tutanota.json +++ b/schemas/tutanota.json @@ -125,6 +125,16 @@ "info": "AddAssociation CalendarRepeatRule/excludedDates/AGGREGATION/1319." } ] + }, + { + "version": 62, + "changes": [ + { + "name": "AddAssociation", + "sourceType": "MailboxGroupRoot", + "info": "AddAssociation MailboxGroupRoot/imapAccountSyncState/ELEMENT_ASSOCIATION/1454." + } + ] } ] } diff --git a/src/api/common/TutanotaConstants.ts b/src/api/common/TutanotaConstants.ts index 5b4b08af30a..75d7ee39ab6 100644 --- a/src/api/common/TutanotaConstants.ts +++ b/src/api/common/TutanotaConstants.ts @@ -934,6 +934,29 @@ export function mailMethodToCalendarMethod(mailMethod: MailMethod): CalendarMeth } } +export function calendarMethodToMailMethod(calendarMethod: CalendarMethod): MailMethod { + switch (calendarMethod) { + case CalendarMethod.PUBLISH: + return MailMethod.ICAL_PUBLISH + case CalendarMethod.REQUEST: + return MailMethod.ICAL_REQUEST + case CalendarMethod.REPLY: + return MailMethod.ICAL_REPLY + case CalendarMethod.ADD: + return MailMethod.ICAL_ADD + case CalendarMethod.CANCEL: + return MailMethod.ICAL_CANCEL + case CalendarMethod.REFRESH: + return MailMethod.ICAL_REFRESH + case CalendarMethod.COUNTER: + return MailMethod.ICAL_COUNTER + case CalendarMethod.DECLINECOUNTER: + return MailMethod.ICAL_DECLINECOUNTER + default: + return MailMethod.NONE + } +} + export function getAsEnumValue(enumValues: Record, value: string): V | null { for (const key of Object.getOwnPropertyNames(enumValues)) { // @ts-ignore diff --git a/src/api/common/error/SuspensionError.ts b/src/api/common/error/SuspensionError.ts index 49f5f922cb0..e4326941c9a 100644 --- a/src/api/common/error/SuspensionError.ts +++ b/src/api/common/error/SuspensionError.ts @@ -3,7 +3,9 @@ import { TutanotaError } from "./TutanotaError.js" export class SuspensionError extends TutanotaError { - constructor(message: string) { + suspensionTime?: string | null + + constructor(message: string, suspensionTime?: string | null) { super("SuspensionError", message) } } diff --git a/src/api/common/utils/EntityUtils.ts b/src/api/common/utils/EntityUtils.ts index 017a9dec59c..576e4d57970 100644 --- a/src/api/common/utils/EntityUtils.ts +++ b/src/api/common/utils/EntityUtils.ts @@ -249,6 +249,7 @@ function _getDefaultValue(valueName: string, value: ModelValue): any { return "0" case ValueType.String: + case ValueType.CompressedString: return "" case ValueType.Boolean: diff --git a/src/api/entities/tutanota/ModelInfo.ts b/src/api/entities/tutanota/ModelInfo.ts index f9d90c06d08..4f3e55f7527 100644 --- a/src/api/entities/tutanota/ModelInfo.ts +++ b/src/api/entities/tutanota/ModelInfo.ts @@ -1,6 +1,6 @@ const modelInfo = { - version: 61, - compatibleSince: 61, + version: 62, + compatibleSince: 62, } export default modelInfo \ No newline at end of file diff --git a/src/api/entities/tutanota/Services.ts b/src/api/entities/tutanota/Services.ts index d835fd227e0..297190e73ec 100644 --- a/src/api/entities/tutanota/Services.ts +++ b/src/api/entities/tutanota/Services.ts @@ -19,6 +19,14 @@ import {GroupInvitationPostDataTypeRef} from "./TypeRefs.js" import {GroupInvitationPostReturnTypeRef} from "./TypeRefs.js" import {GroupInvitationPutDataTypeRef} from "./TypeRefs.js" import {GroupInvitationDeleteDataTypeRef} from "./TypeRefs.js" +import {ImportImapFolderPostInTypeRef} from "./TypeRefs.js" +import {ImportImapFolderPostOutTypeRef} from "./TypeRefs.js" +import {ImportImapFolderDeleteInTypeRef} from "./TypeRefs.js" +import {ImportImapPostInTypeRef} from "./TypeRefs.js" +import {ImportImapPostOutTypeRef} from "./TypeRefs.js" +import {ImportImapDeleteInTypeRef} from "./TypeRefs.js" +import {ImportMailPostInTypeRef} from "./TypeRefs.js" +import {ImportMailPostOutTypeRef} from "./TypeRefs.js" import {ListUnsubscribeDataTypeRef} from "./TypeRefs.js" import {CreateLocalAdminGroupDataTypeRef} from "./TypeRefs.js" import {DeleteGroupDataTypeRef} from "./TypeRefs.js" @@ -119,6 +127,33 @@ export const GroupInvitationService = Object.freeze({ delete: {data: GroupInvitationDeleteDataTypeRef, return: null}, } as const) +export const ImportImapFolderService = Object.freeze({ + app: "tutanota", + name: "ImportImapFolderService", + get: null, + post: {data: ImportImapFolderPostInTypeRef, return: ImportImapFolderPostOutTypeRef}, + put: null, + delete: {data: ImportImapFolderDeleteInTypeRef, return: null}, +} as const) + +export const ImportImapService = Object.freeze({ + app: "tutanota", + name: "ImportImapService", + get: null, + post: {data: ImportImapPostInTypeRef, return: ImportImapPostOutTypeRef}, + put: null, + delete: {data: ImportImapDeleteInTypeRef, return: null}, +} as const) + +export const ImportMailService = Object.freeze({ + app: "tutanota", + name: "ImportMailService", + get: null, + post: {data: ImportMailPostInTypeRef, return: ImportMailPostOutTypeRef}, + put: null, + delete: null, +} as const) + export const ListUnsubscribeService = Object.freeze({ app: "tutanota", name: "ListUnsubscribeService", diff --git a/src/api/entities/tutanota/TypeModels.js b/src/api/entities/tutanota/TypeModels.js index 60758d88af0..2f6fade3ff7 100644 --- a/src/api/entities/tutanota/TypeModels.js +++ b/src/api/entities/tutanota/TypeModels.js @@ -56,7 +56,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "Birthday": { "name": "Birthday", @@ -106,7 +106,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "Body": { "name": "Body", @@ -147,7 +147,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "CalendarDeleteData": { "name": "CalendarDeleteData", @@ -181,7 +181,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CalendarEvent": { "name": "CalendarEvent", @@ -362,7 +362,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CalendarEventAttendee": { "name": "CalendarEventAttendee", @@ -405,7 +405,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CalendarEventIndexRef": { "name": "CalendarEventIndexRef", @@ -439,7 +439,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CalendarEventUidIndex": { "name": "CalendarEventUidIndex", @@ -500,7 +500,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CalendarEventUpdate": { "name": "CalendarEventUpdate", @@ -579,7 +579,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CalendarEventUpdateList": { "name": "CalendarEventUpdateList", @@ -613,7 +613,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CalendarGroupRoot": { "name": "CalendarGroupRoot", @@ -703,7 +703,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CalendarRepeatRule": { "name": "CalendarRepeatRule", @@ -782,7 +782,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "Contact": { "name": "Contact", @@ -1019,7 +1019,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "ContactAddress": { "name": "ContactAddress", @@ -1069,7 +1069,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "ContactForm": { "name": "ContactForm", @@ -1179,7 +1179,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "ContactFormAccountData": { "name": "ContactFormAccountData", @@ -1233,7 +1233,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "ContactFormAccountReturn": { "name": "ContactFormAccountReturn", @@ -1274,7 +1274,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "ContactFormLanguage": { "name": "ContactFormLanguage", @@ -1342,7 +1342,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "ContactFormUserData": { "name": "ContactFormUserData", @@ -1446,7 +1446,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "ContactList": { "name": "ContactList", @@ -1526,7 +1526,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "ContactMailAddress": { "name": "ContactMailAddress", @@ -1576,7 +1576,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "ContactPhoneNumber": { "name": "ContactPhoneNumber", @@ -1626,7 +1626,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "ContactSocialId": { "name": "ContactSocialId", @@ -1676,7 +1676,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "ConversationEntry": { "name": "ConversationEntry", @@ -1765,7 +1765,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CreateExternalUserGroupData": { "name": "CreateExternalUserGroupData", @@ -1815,7 +1815,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "CreateFileData": { "name": "CreateFileData", @@ -1895,7 +1895,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CreateGroupPostReturn": { "name": "CreateGroupPostReturn", @@ -1929,7 +1929,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CreateLocalAdminGroupData": { "name": "CreateLocalAdminGroupData", @@ -1972,7 +1972,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CreateMailFolderData": { "name": "CreateMailFolderData", @@ -2033,7 +2033,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CreateMailFolderReturn": { "name": "CreateMailFolderReturn", @@ -2067,7 +2067,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CreateMailGroupData": { "name": "CreateMailGroupData", @@ -2128,7 +2128,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CustomerAccountCreateData": { "name": "CustomerAccountCreateData", @@ -2273,7 +2273,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "CustomerContactFormGroupRoot": { "name": "CustomerContactFormGroupRoot", @@ -2344,7 +2344,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "DataBlock": { "name": "DataBlock", @@ -2385,7 +2385,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "DeleteContactFormConversationIndex": { "name": "DeleteContactFormConversationIndex", @@ -2419,7 +2419,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "DeleteContactFormConversationIndexEntry": { "name": "DeleteContactFormConversationIndexEntry", @@ -2469,7 +2469,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "DeleteGroupData": { "name": "DeleteGroupData", @@ -2512,7 +2512,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "DeleteMailData": { "name": "DeleteMailData", @@ -2556,7 +2556,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "DeleteMailFolderData": { "name": "DeleteMailFolderData", @@ -2590,7 +2590,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "DraftAttachment": { "name": "DraftAttachment", @@ -2643,7 +2643,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "DraftCreateData": { "name": "DraftCreateData", @@ -2713,7 +2713,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "DraftCreateReturn": { "name": "DraftCreateReturn", @@ -2747,7 +2747,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "DraftData": { "name": "DraftData", @@ -2894,7 +2894,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "DraftRecipient": { "name": "DraftRecipient", @@ -2935,7 +2935,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "DraftUpdateData": { "name": "DraftUpdateData", @@ -2979,7 +2979,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "DraftUpdateReturn": { "name": "DraftUpdateReturn", @@ -3013,7 +3013,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "EmailTemplate": { "name": "EmailTemplate", @@ -3101,7 +3101,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "EmailTemplateContent": { "name": "EmailTemplateContent", @@ -3142,7 +3142,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "EncryptTutanotaPropertiesData": { "name": "EncryptTutanotaPropertiesData", @@ -3185,7 +3185,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "EncryptedMailAddress": { "name": "EncryptedMailAddress", @@ -3226,7 +3226,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "EntropyData": { "name": "EntropyData", @@ -3258,7 +3258,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "ExternalUserData": { "name": "ExternalUserData", @@ -3382,7 +3382,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "File": { "name": "File", @@ -3536,7 +3536,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "FileData": { "name": "FileData", @@ -3615,7 +3615,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "FileDataDataGet": { "name": "FileDataDataGet", @@ -3658,7 +3658,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "FileDataDataPost": { "name": "FileDataDataPost", @@ -3699,7 +3699,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "FileDataDataReturn": { "name": "FileDataDataReturn", @@ -3731,7 +3731,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "FileDataReturnPost": { "name": "FileDataReturnPost", @@ -3765,7 +3765,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "FileSystem": { "name": "FileSystem", @@ -3835,7 +3835,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "GroupInvitationDeleteData": { "name": "GroupInvitationDeleteData", @@ -3869,7 +3869,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "GroupInvitationPostData": { "name": "GroupInvitationPostData", @@ -3913,7 +3913,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "GroupInvitationPostReturn": { "name": "GroupInvitationPostReturn", @@ -3967,7 +3967,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "GroupInvitationPutData": { "name": "GroupInvitationPutData", @@ -4019,7 +4019,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "GroupSettings": { "name": "GroupSettings", @@ -4071,7 +4071,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "Header": { "name": "Header", @@ -4112,7 +4112,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "ImapFolder": { "name": "ImapFolder", @@ -4173,7 +4173,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "ImapSyncConfiguration": { "name": "ImapSyncConfiguration", @@ -4243,7 +4243,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "ImapSyncState": { "name": "ImapSyncState", @@ -4304,7 +4304,1199 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" + }, + "ImportAttachment": { + "name": "ImportAttachment", + "since": 62, + "type": "AGGREGATED_TYPE", + "id": 1383, + "rootId": "CHR1dGFub3RhAAVn", + "versioned": false, + "encrypted": false, + "values": { + "_id": { + "final": true, + "name": "_id", + "id": 1384, + "since": 62, + "type": "CustomId", + "cardinality": "One", + "encrypted": false + }, + "ownerEncFileSessionKey": { + "final": true, + "name": "ownerEncFileSessionKey", + "id": 1385, + "since": 62, + "type": "Bytes", + "cardinality": "One", + "encrypted": false + } + }, + "associations": { + "existingFile": { + "final": true, + "name": "existingFile", + "id": 1387, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "ZeroOrOne", + "refType": "File", + "dependency": null + }, + "newFile": { + "final": true, + "name": "newFile", + "id": 1386, + "since": 62, + "type": "AGGREGATION", + "cardinality": "ZeroOrOne", + "refType": "NewImportAttachment", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportImapAccount": { + "name": "ImportImapAccount", + "since": 62, + "type": "AGGREGATED_TYPE", + "id": 1320, + "rootId": "CHR1dGFub3RhAAUo", + "versioned": false, + "encrypted": false, + "values": { + "_id": { + "final": true, + "name": "_id", + "id": 1321, + "since": 62, + "type": "CustomId", + "cardinality": "One", + "encrypted": false + }, + "accessToken": { + "final": true, + "name": "accessToken", + "id": 1326, + "since": 62, + "type": "String", + "cardinality": "ZeroOrOne", + "encrypted": true + }, + "host": { + "final": true, + "name": "host", + "id": 1322, + "since": 62, + "type": "String", + "cardinality": "One", + "encrypted": true + }, + "password": { + "final": true, + "name": "password", + "id": 1325, + "since": 62, + "type": "String", + "cardinality": "ZeroOrOne", + "encrypted": true + }, + "port": { + "final": true, + "name": "port", + "id": 1323, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": true + }, + "userName": { + "final": true, + "name": "userName", + "id": 1324, + "since": 62, + "type": "String", + "cardinality": "One", + "encrypted": true + } + }, + "associations": {}, + "app": "tutanota", + "version": "62" + }, + "ImportImapAccountSyncState": { + "name": "ImportImapAccountSyncState", + "since": 62, + "type": "ELEMENT_TYPE", + "id": 1358, + "rootId": "CHR1dGFub3RhAAVO", + "versioned": false, + "encrypted": true, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1362, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "_id": { + "final": true, + "name": "_id", + "id": 1360, + "since": 62, + "type": "GeneratedId", + "cardinality": "One", + "encrypted": false + }, + "_ownerEncSessionKey": { + "final": true, + "name": "_ownerEncSessionKey", + "id": 1364, + "since": 62, + "type": "Bytes", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "_ownerGroup": { + "final": true, + "name": "_ownerGroup", + "id": 1363, + "since": 62, + "type": "GeneratedId", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "_permissions": { + "final": true, + "name": "_permissions", + "id": 1361, + "since": 62, + "type": "GeneratedId", + "cardinality": "One", + "encrypted": false + }, + "importedMailCount": { + "final": false, + "name": "importedMailCount", + "id": 1367, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "maxQuota": { + "final": false, + "name": "maxQuota", + "id": 1365, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": true + }, + "postponedUntil": { + "final": false, + "name": "postponedUntil", + "id": 1366, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": true + } + }, + "associations": { + "imapAccount": { + "final": true, + "name": "imapAccount", + "id": 1370, + "since": 62, + "type": "AGGREGATION", + "cardinality": "One", + "refType": "ImportImapAccount", + "dependency": null + }, + "imapFolderSyncStateList": { + "final": true, + "name": "imapFolderSyncStateList", + "id": 1368, + "since": 62, + "type": "LIST_ASSOCIATION", + "cardinality": "One", + "refType": "ImportImapFolderSyncState", + "dependency": null + }, + "importedImapAttachmentHashToIdMap": { + "final": true, + "name": "importedImapAttachmentHashToIdMap", + "id": 1369, + "since": 62, + "type": "LIST_ASSOCIATION", + "cardinality": "One", + "refType": "ImportImapAttachmentHashToId", + "dependency": null + }, + "rootImportMailFolder": { + "final": true, + "name": "rootImportMailFolder", + "id": 1371, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "ZeroOrOne", + "refType": "MailFolder", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportImapAttachmentHashToId": { + "name": "ImportImapAttachmentHashToId", + "since": 62, + "type": "LIST_ELEMENT_TYPE", + "id": 1336, + "rootId": "CHR1dGFub3RhAAU4", + "versioned": false, + "encrypted": true, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1340, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "_id": { + "final": true, + "name": "_id", + "id": 1338, + "since": 62, + "type": "GeneratedId", + "cardinality": "One", + "encrypted": false + }, + "_ownerEncSessionKey": { + "final": true, + "name": "_ownerEncSessionKey", + "id": 1342, + "since": 62, + "type": "Bytes", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "_ownerGroup": { + "final": true, + "name": "_ownerGroup", + "id": 1341, + "since": 62, + "type": "GeneratedId", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "_permissions": { + "final": true, + "name": "_permissions", + "id": 1339, + "since": 62, + "type": "GeneratedId", + "cardinality": "One", + "encrypted": false + }, + "imapAttachmentHash": { + "final": true, + "name": "imapAttachmentHash", + "id": 1343, + "since": 62, + "type": "String", + "cardinality": "One", + "encrypted": true + } + }, + "associations": { + "attachment": { + "final": true, + "name": "attachment", + "id": 1344, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "File", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportImapDeleteIn": { + "name": "ImportImapDeleteIn", + "since": 62, + "type": "DATA_TRANSFER_TYPE", + "id": 1450, + "rootId": "CHR1dGFub3RhAAWq", + "versioned": false, + "encrypted": true, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1451, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + } + }, + "associations": { + "imapAccountSyncState": { + "final": false, + "name": "imapAccountSyncState", + "id": 1452, + "since": 62, + "type": "ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "ImportImapAccountSyncState", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportImapFolderDeleteIn": { + "name": "ImportImapFolderDeleteIn", + "since": 62, + "type": "DATA_TRANSFER_TYPE", + "id": 1435, + "rootId": "CHR1dGFub3RhAAWb", + "versioned": false, + "encrypted": false, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1436, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + } + }, + "associations": { + "imapFolderSyncState": { + "final": false, + "name": "imapFolderSyncState", + "id": 1437, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "ImportImapFolderSyncState", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportImapFolderPostIn": { + "name": "ImportImapFolderPostIn", + "since": 62, + "type": "DATA_TRANSFER_TYPE", + "id": 1425, + "rootId": "CHR1dGFub3RhAAWR", + "versioned": false, + "encrypted": true, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1426, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "ownerEncSessionKey": { + "final": true, + "name": "ownerEncSessionKey", + "id": 1427, + "since": 62, + "type": "Bytes", + "cardinality": "One", + "encrypted": false + }, + "ownerGroup": { + "final": true, + "name": "ownerGroup", + "id": 1428, + "since": 62, + "type": "GeneratedId", + "cardinality": "One", + "encrypted": false + }, + "path": { + "final": false, + "name": "path", + "id": 1429, + "since": 62, + "type": "String", + "cardinality": "One", + "encrypted": true + } + }, + "associations": { + "imapAccountSyncState": { + "final": true, + "name": "imapAccountSyncState", + "id": 1430, + "since": 62, + "type": "ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "ImportImapAccountSyncState", + "dependency": null + }, + "mailFolder": { + "final": true, + "name": "mailFolder", + "id": 1431, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "MailFolder", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportImapFolderPostOut": { + "name": "ImportImapFolderPostOut", + "since": 62, + "type": "DATA_TRANSFER_TYPE", + "id": 1432, + "rootId": "CHR1dGFub3RhAAWY", + "versioned": false, + "encrypted": false, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1433, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + } + }, + "associations": { + "imapFolderSyncState": { + "final": false, + "name": "imapFolderSyncState", + "id": 1434, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "ImportImapFolderSyncState", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportImapFolderSyncState": { + "name": "ImportImapFolderSyncState", + "since": 62, + "type": "LIST_ELEMENT_TYPE", + "id": 1345, + "rootId": "CHR1dGFub3RhAAVB", + "versioned": false, + "encrypted": true, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1349, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "_id": { + "final": true, + "name": "_id", + "id": 1347, + "since": 62, + "type": "GeneratedId", + "cardinality": "One", + "encrypted": false + }, + "_ownerEncSessionKey": { + "final": true, + "name": "_ownerEncSessionKey", + "id": 1351, + "since": 62, + "type": "Bytes", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "_ownerGroup": { + "final": true, + "name": "_ownerGroup", + "id": 1350, + "since": 62, + "type": "GeneratedId", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "_permissions": { + "final": true, + "name": "_permissions", + "id": 1348, + "since": 62, + "type": "GeneratedId", + "cardinality": "One", + "encrypted": false + }, + "highestmodseq": { + "final": false, + "name": "highestmodseq", + "id": 1355, + "since": 62, + "type": "Number", + "cardinality": "ZeroOrOne", + "encrypted": true + }, + "path": { + "final": false, + "name": "path", + "id": 1352, + "since": 62, + "type": "String", + "cardinality": "One", + "encrypted": true + }, + "uidnext": { + "final": false, + "name": "uidnext", + "id": 1354, + "since": 62, + "type": "Number", + "cardinality": "ZeroOrOne", + "encrypted": true + }, + "uidvalidity": { + "final": false, + "name": "uidvalidity", + "id": 1353, + "since": 62, + "type": "Number", + "cardinality": "ZeroOrOne", + "encrypted": true + } + }, + "associations": { + "importedImapUidToMailIdsMap": { + "final": true, + "name": "importedImapUidToMailIdsMap", + "id": 1356, + "since": 62, + "type": "LIST_ASSOCIATION", + "cardinality": "One", + "refType": "ImportImapUidToMailIds", + "dependency": null + }, + "mailFolder": { + "final": true, + "name": "mailFolder", + "id": 1357, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "MailFolder", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportImapPostIn": { + "name": "ImportImapPostIn", + "since": 62, + "type": "DATA_TRANSFER_TYPE", + "id": 1439, + "rootId": "CHR1dGFub3RhAAWf", + "versioned": false, + "encrypted": true, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1440, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "maxQuota": { + "final": false, + "name": "maxQuota", + "id": 1441, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": true + }, + "ownerEncImapAccountSyncStateSessionKey": { + "final": true, + "name": "ownerEncImapAccountSyncStateSessionKey", + "id": 1444, + "since": 62, + "type": "Bytes", + "cardinality": "One", + "encrypted": false + }, + "ownerGroup": { + "final": true, + "name": "ownerGroup", + "id": 1443, + "since": 62, + "type": "GeneratedId", + "cardinality": "One", + "encrypted": false + }, + "postponedUntil": { + "final": false, + "name": "postponedUntil", + "id": 1442, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": true + } + }, + "associations": { + "imapAccount": { + "final": true, + "name": "imapAccount", + "id": 1445, + "since": 62, + "type": "AGGREGATION", + "cardinality": "One", + "refType": "ImportImapAccount", + "dependency": null + }, + "rootImportMailFolder": { + "final": true, + "name": "rootImportMailFolder", + "id": 1446, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "ZeroOrOne", + "refType": "MailFolder", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportImapPostOut": { + "name": "ImportImapPostOut", + "since": 62, + "type": "DATA_TRANSFER_TYPE", + "id": 1447, + "rootId": "CHR1dGFub3RhAAWn", + "versioned": false, + "encrypted": false, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1448, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + } + }, + "associations": { + "imapAccountSyncState": { + "final": false, + "name": "imapAccountSyncState", + "id": 1449, + "since": 62, + "type": "ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "ImportImapAccountSyncState", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportImapUidToMailIds": { + "name": "ImportImapUidToMailIds", + "since": 62, + "type": "LIST_ELEMENT_TYPE", + "id": 1327, + "rootId": "CHR1dGFub3RhAAUv", + "versioned": false, + "encrypted": false, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1331, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "_id": { + "final": true, + "name": "_id", + "id": 1329, + "since": 62, + "type": "CustomId", + "cardinality": "One", + "encrypted": false + }, + "_ownerGroup": { + "final": true, + "name": "_ownerGroup", + "id": 1332, + "since": 62, + "type": "GeneratedId", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "_permissions": { + "final": true, + "name": "_permissions", + "id": 1330, + "since": 62, + "type": "GeneratedId", + "cardinality": "One", + "encrypted": false + }, + "imapModSeq": { + "final": false, + "name": "imapModSeq", + "id": 1334, + "since": 62, + "type": "Number", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "imapUid": { + "final": true, + "name": "imapUid", + "id": 1333, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + } + }, + "associations": { + "mail": { + "final": true, + "name": "mail", + "id": 1335, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "Mail", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportMailData": { + "name": "ImportMailData", + "since": 62, + "type": "AGGREGATED_TYPE", + "id": 1388, + "rootId": "CHR1dGFub3RhAAVs", + "versioned": false, + "encrypted": false, + "values": { + "_id": { + "final": true, + "name": "_id", + "id": 1389, + "since": 62, + "type": "CustomId", + "cardinality": "One", + "encrypted": false + }, + "bodyText": { + "final": true, + "name": "bodyText", + "id": 1391, + "since": 62, + "type": "String", + "cardinality": "One", + "encrypted": true + }, + "compressedBodyText": { + "final": true, + "name": "compressedBodyText", + "id": 1392, + "since": 62, + "type": "CompressedString", + "cardinality": "ZeroOrOne", + "encrypted": true + }, + "compressedHeaders": { + "final": true, + "name": "compressedHeaders", + "id": 1407, + "since": 62, + "type": "CompressedString", + "cardinality": "One", + "encrypted": true + }, + "confidential": { + "final": true, + "name": "confidential", + "id": 1402, + "since": 62, + "type": "Boolean", + "cardinality": "One", + "encrypted": true + }, + "differentEnvelopeSender": { + "final": true, + "name": "differentEnvelopeSender", + "id": 1405, + "since": 62, + "type": "String", + "cardinality": "ZeroOrOne", + "encrypted": true + }, + "inReplyTo": { + "final": true, + "name": "inReplyTo", + "id": 1398, + "since": 62, + "type": "String", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "messageId": { + "final": true, + "name": "messageId", + "id": 1397, + "since": 62, + "type": "String", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "method": { + "final": true, + "name": "method", + "id": 1403, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": true + }, + "phishingStatus": { + "final": false, + "name": "phishingStatus", + "id": 1406, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "receivedDate": { + "final": true, + "name": "receivedDate", + "id": 1394, + "since": 62, + "type": "Date", + "cardinality": "One", + "encrypted": false + }, + "replyType": { + "final": false, + "name": "replyType", + "id": 1404, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": true + }, + "senderMailAddress": { + "final": true, + "name": "senderMailAddress", + "id": 1400, + "since": 62, + "type": "String", + "cardinality": "One", + "encrypted": false + }, + "senderName": { + "final": true, + "name": "senderName", + "id": 1401, + "since": 62, + "type": "String", + "cardinality": "One", + "encrypted": true + }, + "sentDate": { + "final": true, + "name": "sentDate", + "id": 1393, + "since": 62, + "type": "Date", + "cardinality": "One", + "encrypted": false + }, + "state": { + "final": false, + "name": "state", + "id": 1395, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "subject": { + "final": true, + "name": "subject", + "id": 1390, + "since": 62, + "type": "String", + "cardinality": "One", + "encrypted": true + }, + "unread": { + "final": false, + "name": "unread", + "id": 1396, + "since": 62, + "type": "Boolean", + "cardinality": "One", + "encrypted": false + } + }, + "associations": { + "bccRecipients": { + "final": true, + "name": "bccRecipients", + "id": 1411, + "since": 62, + "type": "AGGREGATION", + "cardinality": "Any", + "refType": "DraftRecipient", + "dependency": null + }, + "ccRecipients": { + "final": true, + "name": "ccRecipients", + "id": 1410, + "since": 62, + "type": "AGGREGATION", + "cardinality": "Any", + "refType": "DraftRecipient", + "dependency": null + }, + "importedAttachments": { + "final": true, + "name": "importedAttachments", + "id": 1412, + "since": 62, + "type": "AGGREGATION", + "cardinality": "Any", + "refType": "ImportAttachment", + "dependency": null + }, + "references": { + "final": true, + "name": "references", + "id": 1399, + "since": 62, + "type": "AGGREGATION", + "cardinality": "Any", + "refType": "ImportMailDataMailReference", + "dependency": null + }, + "replyTos": { + "final": false, + "name": "replyTos", + "id": 1408, + "since": 62, + "type": "AGGREGATION", + "cardinality": "Any", + "refType": "EncryptedMailAddress", + "dependency": null + }, + "toRecipients": { + "final": true, + "name": "toRecipients", + "id": 1409, + "since": 62, + "type": "AGGREGATION", + "cardinality": "Any", + "refType": "DraftRecipient", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportMailDataMailReference": { + "name": "ImportMailDataMailReference", + "since": 62, + "type": "AGGREGATED_TYPE", + "id": 1372, + "rootId": "CHR1dGFub3RhAAVc", + "versioned": false, + "encrypted": false, + "values": { + "_id": { + "final": true, + "name": "_id", + "id": 1373, + "since": 62, + "type": "CustomId", + "cardinality": "One", + "encrypted": false + }, + "reference": { + "final": false, + "name": "reference", + "id": 1374, + "since": 62, + "type": "String", + "cardinality": "One", + "encrypted": false + } + }, + "associations": {}, + "app": "tutanota", + "version": "62" + }, + "ImportMailPostIn": { + "name": "ImportMailPostIn", + "since": 62, + "type": "DATA_TRANSFER_TYPE", + "id": 1413, + "rootId": "CHR1dGFub3RhAAWF", + "versioned": false, + "encrypted": true, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1414, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "imapModSeq": { + "final": false, + "name": "imapModSeq", + "id": 1418, + "since": 62, + "type": "Number", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "imapUid": { + "final": true, + "name": "imapUid", + "id": 1417, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + }, + "ownerEncSessionKey": { + "final": true, + "name": "ownerEncSessionKey", + "id": 1416, + "since": 62, + "type": "Bytes", + "cardinality": "One", + "encrypted": false + }, + "ownerGroup": { + "final": true, + "name": "ownerGroup", + "id": 1415, + "since": 62, + "type": "GeneratedId", + "cardinality": "One", + "encrypted": false + } + }, + "associations": { + "imapFolderSyncState": { + "final": true, + "name": "imapFolderSyncState", + "id": 1419, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "ImportImapFolderSyncState", + "dependency": null + }, + "mailData": { + "final": false, + "name": "mailData", + "id": 1420, + "since": 62, + "type": "AGGREGATION", + "cardinality": "One", + "refType": "ImportMailData", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" + }, + "ImportMailPostOut": { + "name": "ImportMailPostOut", + "since": 62, + "type": "DATA_TRANSFER_TYPE", + "id": 1421, + "rootId": "CHR1dGFub3RhAAWN", + "versioned": false, + "encrypted": false, + "values": { + "_format": { + "final": false, + "name": "_format", + "id": 1422, + "since": 62, + "type": "Number", + "cardinality": "One", + "encrypted": false + } + }, + "associations": { + "mail": { + "final": false, + "name": "mail", + "id": 1423, + "since": 62, + "type": "LIST_ELEMENT_ASSOCIATION", + "cardinality": "One", + "refType": "Mail", + "dependency": null + } + }, + "app": "tutanota", + "version": "62" }, "InboxRule": { "name": "InboxRule", @@ -4356,7 +5548,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "InternalGroupData": { "name": "InternalGroupData", @@ -4426,7 +5618,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "InternalRecipientKeyData": { "name": "InternalRecipientKeyData", @@ -4476,7 +5668,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "KnowledgeBaseEntry": { "name": "KnowledgeBaseEntry", @@ -4564,7 +5756,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "KnowledgeBaseEntryKeyword": { "name": "KnowledgeBaseEntryKeyword", @@ -4596,7 +5788,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "ListUnsubscribeData": { "name": "ListUnsubscribeData", @@ -4648,7 +5840,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "Mail": { "name": "Mail", @@ -4974,7 +6166,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailAddress": { "name": "MailAddress", @@ -5026,7 +6218,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailAddressProperties": { "name": "MailAddressProperties", @@ -5067,7 +6259,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "MailBody": { "name": "MailBody", @@ -5162,7 +6354,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "MailBox": { "name": "MailBox", @@ -5300,7 +6492,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailDetails": { "name": "MailDetails", @@ -5382,7 +6574,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailDetailsBlob": { "name": "MailDetailsBlob", @@ -5452,7 +6644,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailDetailsDraft": { "name": "MailDetailsDraft", @@ -5522,7 +6714,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailDetailsDraftsRef": { "name": "MailDetailsDraftsRef", @@ -5556,7 +6748,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailFolder": { "name": "MailFolder", @@ -5664,7 +6856,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailFolderRef": { "name": "MailFolderRef", @@ -5698,7 +6890,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailHeaders": { "name": "MailHeaders", @@ -5775,7 +6967,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "MailRestriction": { "name": "MailRestriction", @@ -5819,7 +7011,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailboxGroupRoot": { "name": "MailboxGroupRoot", @@ -5888,6 +7080,16 @@ export const typeModels = { "refType": "ContactForm", "dependency": null }, + "imapAccountSyncState": { + "final": false, + "name": "imapAccountSyncState", + "id": 1454, + "since": 62, + "type": "ELEMENT_ASSOCIATION", + "cardinality": "ZeroOrOne", + "refType": "ImportImapAccountSyncState", + "dependency": null + }, "mailbox": { "final": true, "name": "mailbox", @@ -5970,7 +7172,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailboxProperties": { "name": "MailboxProperties", @@ -6049,7 +7251,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "MailboxServerProperties": { "name": "MailboxServerProperties", @@ -6108,7 +7310,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "MoveMailData": { "name": "MoveMailData", @@ -6152,7 +7354,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "NewDraftAttachment": { "name": "NewDraftAttachment", @@ -6223,7 +7425,86 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" + }, + "NewImportAttachment": { + "name": "NewImportAttachment", + "since": 62, + "type": "AGGREGATED_TYPE", + "id": 1375, + "rootId": "CHR1dGFub3RhAAVf", + "versioned": false, + "encrypted": false, + "values": { + "_id": { + "final": true, + "name": "_id", + "id": 1376, + "since": 62, + "type": "CustomId", + "cardinality": "One", + "encrypted": false + }, + "encCid": { + "final": true, + "name": "encCid", + "id": 1381, + "since": 62, + "type": "Bytes", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "encFileHash": { + "final": true, + "name": "encFileHash", + "id": 1378, + "since": 62, + "type": "Bytes", + "cardinality": "ZeroOrOne", + "encrypted": false + }, + "encFileName": { + "final": true, + "name": "encFileName", + "id": 1379, + "since": 62, + "type": "Bytes", + "cardinality": "One", + "encrypted": false + }, + "encMimeType": { + "final": true, + "name": "encMimeType", + "id": 1380, + "since": 62, + "type": "Bytes", + "cardinality": "One", + "encrypted": false + }, + "ownerEncFileHashSessionKey": { + "final": true, + "name": "ownerEncFileHashSessionKey", + "id": 1377, + "since": 62, + "type": "Bytes", + "cardinality": "ZeroOrOne", + "encrypted": false + } + }, + "associations": { + "referenceTokens": { + "final": true, + "name": "referenceTokens", + "id": 1382, + "since": 62, + "type": "AGGREGATION", + "cardinality": "Any", + "refType": "BlobReferenceTokenWrapper", + "dependency": "sys" + } + }, + "app": "tutanota", + "version": "62" }, "NewsId": { "name": "NewsId", @@ -6264,7 +7545,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "NewsIn": { "name": "NewsIn", @@ -6296,7 +7577,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "NewsOut": { "name": "NewsOut", @@ -6330,7 +7611,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "NotificationMail": { "name": "NotificationMail", @@ -6398,7 +7679,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "OutOfOfficeNotification": { "name": "OutOfOfficeNotification", @@ -6486,7 +7767,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "OutOfOfficeNotificationMessage": { "name": "OutOfOfficeNotificationMessage", @@ -6536,7 +7817,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "OutOfOfficeNotificationRecipientList": { "name": "OutOfOfficeNotificationRecipientList", @@ -6570,7 +7851,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "PasswordAutoAuthenticationReturn": { "name": "PasswordAutoAuthenticationReturn", @@ -6593,7 +7874,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "PasswordChannelPhoneNumber": { "name": "PasswordChannelPhoneNumber", @@ -6625,7 +7906,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "PasswordChannelReturn": { "name": "PasswordChannelReturn", @@ -6659,7 +7940,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "PasswordMessagingData": { "name": "PasswordMessagingData", @@ -6709,7 +7990,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "PasswordMessagingReturn": { "name": "PasswordMessagingReturn", @@ -6741,7 +8022,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "PasswordRetrievalData": { "name": "PasswordRetrievalData", @@ -6773,7 +8054,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "PasswordRetrievalReturn": { "name": "PasswordRetrievalReturn", @@ -6805,7 +8086,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "PhishingMarker": { "name": "PhishingMarker", @@ -6846,7 +8127,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "PhishingMarkerWebsocketData": { "name": "PhishingMarkerWebsocketData", @@ -6889,7 +8170,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "PhotosRef": { "name": "PhotosRef", @@ -6923,7 +8204,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "ReceiveInfoServiceData": { "name": "ReceiveInfoServiceData", @@ -6955,7 +8236,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "Recipients": { "name": "Recipients", @@ -7009,7 +8290,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "RemoteImapSyncInfo": { "name": "RemoteImapSyncInfo", @@ -7079,7 +8360,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "ReportMailPostData": { "name": "ReportMailPostData", @@ -7131,7 +8412,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "SecureExternalRecipientKeyData": { "name": "SecureExternalRecipientKeyData", @@ -7237,7 +8518,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "SendDraftData": { "name": "SendDraftData", @@ -7355,7 +8636,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "SendDraftReturn": { "name": "SendDraftReturn", @@ -7417,7 +8698,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "SharedGroupData": { "name": "SharedGroupData", @@ -7512,7 +8793,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "SpamResults": { "name": "SpamResults", @@ -7546,7 +8827,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "Subfiles": { "name": "Subfiles", @@ -7580,7 +8861,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "TemplateGroupRoot": { "name": "TemplateGroupRoot", @@ -7660,7 +8941,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "TutanotaProperties": { "name": "TutanotaProperties", @@ -7831,7 +9112,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "UpdateMailFolderData": { "name": "UpdateMailFolderData", @@ -7875,7 +9156,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "UserAccountCreateData": { "name": "UserAccountCreateData", @@ -7928,7 +9209,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "UserAccountUserData": { "name": "UserAccountUserData", @@ -8140,7 +9421,7 @@ export const typeModels = { }, "associations": {}, "app": "tutanota", - "version": "61" + "version": "62" }, "UserAreaGroupData": { "name": "UserAreaGroupData", @@ -8219,7 +9500,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "UserAreaGroupDeleteData": { "name": "UserAreaGroupDeleteData", @@ -8253,7 +9534,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "UserAreaGroupPostData": { "name": "UserAreaGroupPostData", @@ -8287,7 +9568,7 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" }, "UserSettingsGroupRoot": { "name": "UserSettingsGroupRoot", @@ -8384,6 +9665,6 @@ export const typeModels = { } }, "app": "tutanota", - "version": "61" + "version": "62" } } \ No newline at end of file diff --git a/src/api/entities/tutanota/TypeRefs.ts b/src/api/entities/tutanota/TypeRefs.ts index ece4713d91c..17bdff8edf7 100644 --- a/src/api/entities/tutanota/TypeRefs.ts +++ b/src/api/entities/tutanota/TypeRefs.ts @@ -1112,6 +1112,290 @@ export type ImapSyncState = { folders: ImapFolder[]; } +export const ImportAttachmentTypeRef: TypeRef = new TypeRef("tutanota", "ImportAttachment") + +export function createImportAttachment(values?: Partial): ImportAttachment { + return Object.assign(create(typeModels.ImportAttachment, ImportAttachmentTypeRef), values) +} + +export type ImportAttachment = { + _type: TypeRef; + + _id: Id; + ownerEncFileSessionKey: Uint8Array; + + existingFile: null | IdTuple; + newFile: null | NewImportAttachment; +} +export const ImportImapAccountTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapAccount") + +export function createImportImapAccount(values?: Partial): ImportImapAccount { + return Object.assign(create(typeModels.ImportImapAccount, ImportImapAccountTypeRef), values) +} + +export type ImportImapAccount = { + _type: TypeRef; + + _id: Id; + accessToken: null | string; + host: string; + password: null | string; + port: NumberString; + userName: string; +} +export const ImportImapAccountSyncStateTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapAccountSyncState") + +export function createImportImapAccountSyncState(values?: Partial): ImportImapAccountSyncState { + return Object.assign(create(typeModels.ImportImapAccountSyncState, ImportImapAccountSyncStateTypeRef), values) +} + +export type ImportImapAccountSyncState = { + _type: TypeRef; + _errors: Object; + + _format: NumberString; + _id: Id; + _ownerEncSessionKey: null | Uint8Array; + _ownerGroup: null | Id; + _permissions: Id; + importedMailCount: NumberString; + maxQuota: NumberString; + postponedUntil: NumberString; + + imapAccount: ImportImapAccount; + imapFolderSyncStateList: Id; + importedImapAttachmentHashToIdMap: Id; + rootImportMailFolder: null | IdTuple; +} +export const ImportImapAttachmentHashToIdTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapAttachmentHashToId") + +export function createImportImapAttachmentHashToId(values?: Partial): ImportImapAttachmentHashToId { + return Object.assign(create(typeModels.ImportImapAttachmentHashToId, ImportImapAttachmentHashToIdTypeRef), values) +} + +export type ImportImapAttachmentHashToId = { + _type: TypeRef; + _errors: Object; + + _format: NumberString; + _id: IdTuple; + _ownerEncSessionKey: null | Uint8Array; + _ownerGroup: null | Id; + _permissions: Id; + imapAttachmentHash: string; + + attachment: IdTuple; +} +export const ImportImapDeleteInTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapDeleteIn") + +export function createImportImapDeleteIn(values?: Partial): ImportImapDeleteIn { + return Object.assign(create(typeModels.ImportImapDeleteIn, ImportImapDeleteInTypeRef), values) +} + +export type ImportImapDeleteIn = { + _type: TypeRef; + _errors: Object; + + _format: NumberString; + + imapAccountSyncState: Id; +} +export const ImportImapFolderDeleteInTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapFolderDeleteIn") + +export function createImportImapFolderDeleteIn(values?: Partial): ImportImapFolderDeleteIn { + return Object.assign(create(typeModels.ImportImapFolderDeleteIn, ImportImapFolderDeleteInTypeRef), values) +} + +export type ImportImapFolderDeleteIn = { + _type: TypeRef; + + _format: NumberString; + + imapFolderSyncState: IdTuple; +} +export const ImportImapFolderPostInTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapFolderPostIn") + +export function createImportImapFolderPostIn(values?: Partial): ImportImapFolderPostIn { + return Object.assign(create(typeModels.ImportImapFolderPostIn, ImportImapFolderPostInTypeRef), values) +} + +export type ImportImapFolderPostIn = { + _type: TypeRef; + _errors: Object; + + _format: NumberString; + ownerEncSessionKey: Uint8Array; + ownerGroup: Id; + path: string; + + imapAccountSyncState: Id; + mailFolder: IdTuple; +} +export const ImportImapFolderPostOutTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapFolderPostOut") + +export function createImportImapFolderPostOut(values?: Partial): ImportImapFolderPostOut { + return Object.assign(create(typeModels.ImportImapFolderPostOut, ImportImapFolderPostOutTypeRef), values) +} + +export type ImportImapFolderPostOut = { + _type: TypeRef; + + _format: NumberString; + + imapFolderSyncState: IdTuple; +} +export const ImportImapFolderSyncStateTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapFolderSyncState") + +export function createImportImapFolderSyncState(values?: Partial): ImportImapFolderSyncState { + return Object.assign(create(typeModels.ImportImapFolderSyncState, ImportImapFolderSyncStateTypeRef), values) +} + +export type ImportImapFolderSyncState = { + _type: TypeRef; + _errors: Object; + + _format: NumberString; + _id: IdTuple; + _ownerEncSessionKey: null | Uint8Array; + _ownerGroup: null | Id; + _permissions: Id; + highestmodseq: null | NumberString; + path: string; + uidnext: null | NumberString; + uidvalidity: null | NumberString; + + importedImapUidToMailIdsMap: Id; + mailFolder: IdTuple; +} +export const ImportImapPostInTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapPostIn") + +export function createImportImapPostIn(values?: Partial): ImportImapPostIn { + return Object.assign(create(typeModels.ImportImapPostIn, ImportImapPostInTypeRef), values) +} + +export type ImportImapPostIn = { + _type: TypeRef; + _errors: Object; + + _format: NumberString; + maxQuota: NumberString; + ownerEncImapAccountSyncStateSessionKey: Uint8Array; + ownerGroup: Id; + postponedUntil: NumberString; + + imapAccount: ImportImapAccount; + rootImportMailFolder: null | IdTuple; +} +export const ImportImapPostOutTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapPostOut") + +export function createImportImapPostOut(values?: Partial): ImportImapPostOut { + return Object.assign(create(typeModels.ImportImapPostOut, ImportImapPostOutTypeRef), values) +} + +export type ImportImapPostOut = { + _type: TypeRef; + + _format: NumberString; + + imapAccountSyncState: Id; +} +export const ImportImapUidToMailIdsTypeRef: TypeRef = new TypeRef("tutanota", "ImportImapUidToMailIds") + +export function createImportImapUidToMailIds(values?: Partial): ImportImapUidToMailIds { + return Object.assign(create(typeModels.ImportImapUidToMailIds, ImportImapUidToMailIdsTypeRef), values) +} + +export type ImportImapUidToMailIds = { + _type: TypeRef; + + _format: NumberString; + _id: IdTuple; + _ownerGroup: null | Id; + _permissions: Id; + imapModSeq: null | NumberString; + imapUid: NumberString; + + mail: IdTuple; +} +export const ImportMailDataTypeRef: TypeRef = new TypeRef("tutanota", "ImportMailData") + +export function createImportMailData(values?: Partial): ImportMailData { + return Object.assign(create(typeModels.ImportMailData, ImportMailDataTypeRef), values) +} + +export type ImportMailData = { + _type: TypeRef; + + _id: Id; + bodyText: string; + compressedBodyText: null | string; + compressedHeaders: string; + confidential: boolean; + differentEnvelopeSender: null | string; + inReplyTo: null | string; + messageId: null | string; + method: NumberString; + phishingStatus: NumberString; + receivedDate: Date; + replyType: NumberString; + senderMailAddress: string; + senderName: string; + sentDate: Date; + state: NumberString; + subject: string; + unread: boolean; + + bccRecipients: DraftRecipient[]; + ccRecipients: DraftRecipient[]; + importedAttachments: ImportAttachment[]; + references: ImportMailDataMailReference[]; + replyTos: EncryptedMailAddress[]; + toRecipients: DraftRecipient[]; +} +export const ImportMailDataMailReferenceTypeRef: TypeRef = new TypeRef("tutanota", "ImportMailDataMailReference") + +export function createImportMailDataMailReference(values?: Partial): ImportMailDataMailReference { + return Object.assign(create(typeModels.ImportMailDataMailReference, ImportMailDataMailReferenceTypeRef), values) +} + +export type ImportMailDataMailReference = { + _type: TypeRef; + + _id: Id; + reference: string; +} +export const ImportMailPostInTypeRef: TypeRef = new TypeRef("tutanota", "ImportMailPostIn") + +export function createImportMailPostIn(values?: Partial): ImportMailPostIn { + return Object.assign(create(typeModels.ImportMailPostIn, ImportMailPostInTypeRef), values) +} + +export type ImportMailPostIn = { + _type: TypeRef; + _errors: Object; + + _format: NumberString; + imapModSeq: null | NumberString; + imapUid: NumberString; + ownerEncSessionKey: Uint8Array; + ownerGroup: Id; + + imapFolderSyncState: IdTuple; + mailData: ImportMailData; +} +export const ImportMailPostOutTypeRef: TypeRef = new TypeRef("tutanota", "ImportMailPostOut") + +export function createImportMailPostOut(values?: Partial): ImportMailPostOut { + return Object.assign(create(typeModels.ImportMailPostOut, ImportMailPostOutTypeRef), values) +} + +export type ImportMailPostOut = { + _type: TypeRef; + + _format: NumberString; + + mail: IdTuple; +} export const InboxRuleTypeRef: TypeRef = new TypeRef("tutanota", "InboxRule") export function createInboxRule(values?: Partial): InboxRule { @@ -1473,6 +1757,7 @@ export type MailboxGroupRoot = { calendarEventUpdates: null | CalendarEventUpdateList; contactFormUserContactForm: null | IdTuple; + imapAccountSyncState: null | Id; mailbox: Id; mailboxProperties: null | Id; outOfOfficeNotification: null | Id; @@ -1547,6 +1832,24 @@ export type NewDraftAttachment = { fileData: null | Id; referenceTokens: BlobReferenceTokenWrapper[]; } +export const NewImportAttachmentTypeRef: TypeRef = new TypeRef("tutanota", "NewImportAttachment") + +export function createNewImportAttachment(values?: Partial): NewImportAttachment { + return Object.assign(create(typeModels.NewImportAttachment, NewImportAttachmentTypeRef), values) +} + +export type NewImportAttachment = { + _type: TypeRef; + + _id: Id; + encCid: null | Uint8Array; + encFileHash: null | Uint8Array; + encFileName: Uint8Array; + encMimeType: Uint8Array; + ownerEncFileHashSessionKey: null | Uint8Array; + + referenceTokens: BlobReferenceTokenWrapper[]; +} export const NewsIdTypeRef: TypeRef = new TypeRef("tutanota", "NewsId") export function createNewsId(values?: Partial): NewsId { diff --git a/src/api/main/MainLocator.ts b/src/api/main/MainLocator.ts index e289fed0939..241547b8e61 100644 --- a/src/api/main/MainLocator.ts +++ b/src/api/main/MainLocator.ts @@ -98,6 +98,8 @@ import { SearchRouter } from "../../search/view/SearchRouter.js" import { MailOpenedListener } from "../../mail/view/MailViewModel.js" import { InboxRuleHandler } from "../../mail/model/InboxRuleHandler.js" import { Router, ScopedRouter, ThrottledRouter } from "../../gui/ScopedRouter.js" +import { ImapImporter } from "../worker/imapimport/ImapImporter.js" +import { ImportImapFacade } from "../worker/facades/lazy/ImportImapFacade.js" assertMainOrNode() @@ -126,6 +128,7 @@ class MainLocator { mailFacade!: MailFacade shareFacade!: ShareFacade counterFacade!: CounterFacade + imapImporterFacade!: ImapImporter indexerFacade!: Indexer searchFacade!: SearchFacade bookingFacade!: BookingFacade @@ -509,6 +512,7 @@ class MainLocator { mailFacade, shareFacade, counterFacade, + imapImporterFacade, indexerFacade, searchFacade, bookingFacade, @@ -536,6 +540,7 @@ class MainLocator { this.mailFacade = mailFacade this.shareFacade = shareFacade this.counterFacade = counterFacade + this.imapImporterFacade = imapImporterFacade this.indexerFacade = indexerFacade this.searchFacade = searchFacade this.bookingFacade = bookingFacade @@ -580,6 +585,7 @@ class MainLocator { this.nativeInterfaces = createNativeInterfaces( new WebMobileFacade(this.connectivityModel, this.mailModel), new WebDesktopFacade(), + imapImporterFacade, new WebInterWindowEventFacade(this.logins, windowFacade), new WebCommonNativeFacade(), cryptoFacade, diff --git a/src/api/worker/WorkerImpl.ts b/src/api/worker/WorkerImpl.ts index fe9ebe4a29e..1254ebcd465 100644 --- a/src/api/worker/WorkerImpl.ts +++ b/src/api/worker/WorkerImpl.ts @@ -41,6 +41,7 @@ import { ExposedEventController } from "../main/EventController.js" import { ExposedOperationProgressTracker } from "../main/OperationProgressTracker.js" import { WorkerFacade } from "./facades/WorkerFacade.js" import { InfoMessageHandler } from "../../gui/InfoMessageHandler.js" +import { ImapImporter } from "./imapimport/ImapImporter.js" assertWorkerOrNode() @@ -64,6 +65,8 @@ export interface WorkerInterface { readonly mailFacade: MailFacade readonly shareFacade: ShareFacade readonly counterFacade: CounterFacade + + readonly imapImporterFacade: ImapImporter readonly indexerFacade: Indexer readonly searchFacade: SearchFacade readonly bookingFacade: BookingFacade @@ -177,6 +180,10 @@ export class WorkerImpl implements NativeInterface { return locator.counters() }, + async imapImporterFacade() { + return locator.imapImporter() + }, + async indexerFacade() { return locator.indexer() }, diff --git a/src/api/worker/WorkerLocator.ts b/src/api/worker/WorkerLocator.ts index a717dc8a04b..96c5e036f28 100644 --- a/src/api/worker/WorkerLocator.ts +++ b/src/api/worker/WorkerLocator.ts @@ -62,6 +62,10 @@ import { Challenge } from "../entities/sys/TypeRefs.js" import { LoginFailReason } from "../main/PageContextLoginListener.js" import { ConnectionError, ServiceUnavailableError } from "../common/error/RestError.js" import { SessionType } from "../common/SessionType.js" +import { ImportImapFacade } from "./facades/lazy/ImportImapFacade.js" +import { ImportMailFacade } from "./facades/lazy/ImportMailFacade.js" +import { ImapImporter } from "./imapimport/ImapImporter.js" +import { ImapImportSystemFacadeSendDispatcher } from "../../native/common/generatedipc/ImapImportSystemFacadeSendDispatcher.js" assertWorkerOrNode() @@ -91,6 +95,11 @@ export type WorkerLocatorType = { counters: lazyAsync Const: Record + // IMAP mail import + imapImporter: lazyAsync + importImap: lazyAsync + importMail: lazyAsync + // search & indexing indexer: lazyAsync search: lazyAsync @@ -324,6 +333,28 @@ export async function initLocator(worker: WorkerImpl, browserData: BrowserData) ) }) + // IMAP mail import + locator.importImap = lazyMemoized(async () => { + const { ImportImapFacade } = await import("./facades/lazy/ImportImapFacade.js") + return new ImportImapFacade(locator.user, await locator.mail(), locator.serviceExecutor, locator.cachingEntityClient) + }) + locator.importMail = lazyMemoized(async () => { + const { ImportMailFacade } = await import("./facades/lazy/ImportMailFacade.js") + return new ImportMailFacade( + locator.user, + await locator.mail(), + locator.serviceExecutor, + locator.cachingEntityClient, + await locator.blob(), + fileApp, + locator.crypto, + ) + }) + locator.imapImporter = lazyMemoized(async () => { + const { ImapImporter } = await import("./imapimport/ImapImporter.js") + return new ImapImporter(new ImapImportSystemFacadeSendDispatcher(locator.native), await locator.importImap(), await locator.importMail()) + }) + locator.mailAddress = lazyMemoized(async () => { const { MailAddressFacade } = await import("./facades/lazy/MailAddressFacade.js") return new MailAddressFacade( diff --git a/src/api/worker/facades/lazy/ImportImapFacade.ts b/src/api/worker/facades/lazy/ImportImapFacade.ts new file mode 100644 index 00000000000..930c6d549fb --- /dev/null +++ b/src/api/worker/facades/lazy/ImportImapFacade.ts @@ -0,0 +1,181 @@ +/** + * The ImportImapFacade is responsible for initializing (and terminating) an IMAP import process on the Tutanota server. + * The ImportImapFacade is also responsible for initializing the ImportImapFolderSyncState for a single Tutanota folder. + * The ImportImapFolderSyncState is needed to store relevant IMAP synchronization information for a single folder, most importantly the UID to TutanotaID map. + * The facade communicates directly with the ImportImapService and the ImportImapFolderService. + */ +import { aes128RandomKey, encryptKey } from "@tutao/tutanota-crypto" +import { UserFacade } from "../UserFacade.js" +import { MailFacade } from "./MailFacade.js" +import { IServiceExecutor } from "../../../common/ServiceRequest.js" +import { EntityClient } from "../../../common/EntityClient.js" +import { + createImportImapAccount, + createImportImapFolderDeleteIn, + createImportImapFolderPostIn, + createImportImapPostIn, + ImportImapAccountSyncState, + ImportImapAccountSyncStateTypeRef, + ImportImapAttachmentHashToId, + ImportImapAttachmentHashToIdTypeRef, + ImportImapFolderSyncState, + ImportImapFolderSyncStateTypeRef, + ImportImapUidToMailIds, + ImportImapUidToMailIdsTypeRef, + MailboxGroupRootTypeRef, + MailFolder, + MailFolderTypeRef, +} from "../../../entities/tutanota/TypeRefs.js" +import { ImportImapFolderService, ImportImapService } from "../../../entities/tutanota/Services.js" +import { GroupType } from "../../../common/TutanotaConstants.js" +import { InitializeImapImportParams } from "../../imapimport/ImapImporter.js" +import { ImapMailbox, ImapMailboxStatus } from "../../../../desktop/imapimport/adsync/imapmail/ImapMailbox.js" + +export class ImportImapFacade { + constructor( + private readonly userFacade: UserFacade, + private readonly mailFacade: MailFacade, + private readonly serviceExecutor: IServiceExecutor, + private readonly entityClient: EntityClient, + ) {} + + async initializeImapImport(initializeParams: InitializeImapImportParams): Promise { + const mailGroupId = this.userFacade.getGroupId(GroupType.Mail) + + let rootImportMailFolder = await this.mailFacade.createMailFolder(initializeParams.rootImportMailFolderName, null, mailGroupId) + + let importImapAccount = createImportImapAccount({ + host: initializeParams.host, + port: initializeParams.port, + userName: initializeParams.username, + password: initializeParams.password, + accessToken: initializeParams.accessToken, + }) + + const mailGroupKey = this.userFacade.getGroupKey(mailGroupId) + const sk = aes128RandomKey() + const importImapPostIn = createImportImapPostIn({ + ownerEncImapAccountSyncStateSessionKey: encryptKey(mailGroupKey, sk), + ownerGroup: mailGroupId, + imapAccount: importImapAccount, + maxQuota: initializeParams.maxQuota, + postponedUntil: Date.now().toString(), + rootImportMailFolder: rootImportMailFolder._id, + }) + + const importImapPostOut = await this.serviceExecutor.post(ImportImapService, importImapPostIn, { sessionKey: sk }) + return this.entityClient.load(ImportImapAccountSyncStateTypeRef, importImapPostOut.imapAccountSyncState) + } + + async updateImapImport( + initializeParams: InitializeImapImportParams, + importImapAccountSyncState: ImportImapAccountSyncState, + ): Promise { + const mailGroupId = this.userFacade.getGroupId(GroupType.Mail) + + let newRootImportMailFolderName = initializeParams.rootImportMailFolderName + if (importImapAccountSyncState.rootImportMailFolder != null) { + let rootImportMailFolder = await this.getRootImportFolder(importImapAccountSyncState.rootImportMailFolder) + if (newRootImportMailFolderName != rootImportMailFolder?.name) { + let rootImportMailFolder = await this.mailFacade.createMailFolder(initializeParams.rootImportMailFolderName, null, mailGroupId) + importImapAccountSyncState.rootImportMailFolder = rootImportMailFolder._id + } + } + + importImapAccountSyncState.imapAccount.host = initializeParams.host + importImapAccountSyncState.imapAccount.port = initializeParams.port + importImapAccountSyncState.imapAccount.userName = initializeParams.username + importImapAccountSyncState.imapAccount.password = initializeParams.password + + await this.entityClient.update(importImapAccountSyncState) + return this.entityClient.load(ImportImapAccountSyncStateTypeRef, importImapAccountSyncState._id) + } + + async postponeImapImport(postponedUntil: Date, importImapAccountSyncStateId: Id): Promise { + const mailGroupId = this.userFacade.getGroupId(GroupType.Mail) + + const importImapAccountSyncState = await this.entityClient.load(ImportImapAccountSyncStateTypeRef, importImapAccountSyncStateId) + importImapAccountSyncState.postponedUntil = postponedUntil.getTime().toString() + + await this.entityClient.update(importImapAccountSyncState) + + return importImapAccountSyncState + } + + async createImportMailFolder( + imapMailbox: ImapMailbox, + importImapAccountSyncStateId: Id, + parentFolderId: IdTuple | null, + ): Promise { + if (imapMailbox.name) { + const mailGroupId = this.userFacade.getGroupId(GroupType.Mail) + const newMailFolder = await this.mailFacade.createMailFolder(imapMailbox.name, parentFolderId, mailGroupId) + + const mailGroupKey = this.userFacade.getGroupKey(mailGroupId) + const sk = aes128RandomKey() + const importImapFolderPostIn = createImportImapFolderPostIn({ + ownerEncSessionKey: encryptKey(mailGroupKey, sk), + ownerGroup: mailGroupId, + path: imapMailbox.path, + imapAccountSyncState: importImapAccountSyncStateId, + mailFolder: newMailFolder._id, + }) + + const importImapFolderPostOut = await this.serviceExecutor.post(ImportImapFolderService, importImapFolderPostIn, { sessionKey: sk }) + return this.entityClient.load(ImportImapFolderSyncStateTypeRef, importImapFolderPostOut.imapFolderSyncState) + } + } + + async deleteImportMailFolder(imapMailbox: ImapMailbox, folderSyncState: ImportImapFolderSyncState): Promise { + await this.mailFacade.deleteFolder(folderSyncState.mailFolder) + + const importImapFolderDeleteIn = createImportImapFolderDeleteIn({ + imapFolderSyncState: folderSyncState._id, + }) + await this.serviceExecutor.delete(ImportImapFolderService, importImapFolderDeleteIn) + } + + async updateImportImapFolderSyncState( + imapMailboxStatus: ImapMailboxStatus, + folderSyncState: ImportImapFolderSyncState, + ): Promise { + folderSyncState.uidnext = imapMailboxStatus.uidNext.toString() + folderSyncState.uidvalidity = imapMailboxStatus.uidValidity.toString() + folderSyncState.highestmodseq = imapMailboxStatus.highestModSeq?.toString() ?? null // value null denotes that the mailbox doesn't support persistent mod-sequences + + await this.entityClient.update(folderSyncState) + return this.entityClient.load(ImportImapFolderSyncStateTypeRef, folderSyncState._id) + } + + async getRootImportFolder(rootImportFolderId: IdTuple): Promise { + return this.entityClient.load(MailFolderTypeRef, rootImportFolderId) + } + + async getImportImapAccountSyncState(): Promise { + const mailGroupId = this.userFacade.getGroupId(GroupType.Mail) + const mailboxGroupRoot = await this.entityClient.load(MailboxGroupRootTypeRef, mailGroupId) + + // if imapAccountSyncState is null, no import is initialized yet + if (mailboxGroupRoot.imapAccountSyncState == null) { + return null + } + + return this.entityClient.load(ImportImapAccountSyncStateTypeRef, mailboxGroupRoot.imapAccountSyncState) + } + + async getAllImportImapFolderSyncStates(importImapFolderSyncStateListId: Id): Promise { + return this.entityClient.loadAll(ImportImapFolderSyncStateTypeRef, importImapFolderSyncStateListId) + } + + async getImportedImapUidToMailIdsMapList(importedImapUidToMailIdsMapId: Id): Promise { + return this.entityClient.loadAll(ImportImapUidToMailIdsTypeRef, importedImapUidToMailIdsMapId) + } + + async getImportedImapAttachmentHashToIdMap(importedImapAttachmentHashToIdMapId: IdTuple): Promise { + return this.entityClient.load(ImportImapAttachmentHashToIdTypeRef, importedImapAttachmentHashToIdMapId) + } + + async getImportedImapAttachmentHashToIdMapList(importedImapAttachmentHashToIdMapListId: Id): Promise { + return this.entityClient.loadAll(ImportImapAttachmentHashToIdTypeRef, importedImapAttachmentHashToIdMapListId) + } +} diff --git a/src/api/worker/facades/lazy/ImportMailFacade.ts b/src/api/worker/facades/lazy/ImportMailFacade.ts new file mode 100644 index 00000000000..c8871078a9d --- /dev/null +++ b/src/api/worker/facades/lazy/ImportMailFacade.ts @@ -0,0 +1,226 @@ +import { ArchiveDataType, GroupType, MailMethod, MailPhishingStatus, MailState, ReplyType } from "../../../common/TutanotaConstants.js" +import { RecipientList } from "../../../common/recipients/Recipient.js" +import { UserFacade } from "../UserFacade.js" +import { MailFacade, recipientToDraftRecipient, recipientToEncryptedMailAddress } from "./MailFacade.js" +import { IServiceExecutor } from "../../../common/ServiceRequest.js" +import { EntityClient } from "../../../common/EntityClient.js" +import { + createImportAttachment, + createImportMailData, + createImportMailDataMailReference, + createImportMailPostIn, + createNewImportAttachment, + DraftAttachment, + FileTypeRef, + ImportAttachment, + ImportMailDataMailReference, +} from "../../../entities/tutanota/TypeRefs.js" +import { byteLength, neverNull, promiseMap } from "@tutao/tutanota-utils" +import { UNCOMPRESSED_MAX_SIZE } from "../../Compression.js" +import { MailBodyTooLargeError } from "../../../common/error/MailBodyTooLargeError.js" +import { aes128RandomKey, encryptKey } from "@tutao/tutanota-crypto" +import { ImportMailService } from "../../../entities/tutanota/Services.js" +import { FileReference, isDataFile } from "../../../common/utils/FileUtils.js" +import { BlobReferenceTokenWrapper } from "../../../entities/sys/TypeRefs.js" +import { BlobFacade } from "./BlobFacade.js" +import { NativeFileApp } from "../../../../native/common/FileApp.js" +import { CryptoFacade, encryptString } from "../../crypto/CryptoFacade.js" +import { DataFile } from "../../../common/DataFile.js" +import { SuspensionBehavior } from "../../rest/RestClient.js" + +export interface ImapImportTutanotaFileId { + readonly _type: "ImapImportTutanotaFileId" + _id: IdTuple +} + +export type ImapImportDataFile = DataFile & { fileHash: string | null } +export type ImapImportFileReference = FileReference & { fileHash: string | null } + +export type ImapImportAttachment = ImapImportTutanotaFileId | ImapImportDataFile | ImapImportFileReference +export type ImapImportAttachments = ReadonlyArray + +export interface ImportMailParams { + subject: string + bodyText: string + sentDate: Date + receivedDate: Date + state: MailState + unread: boolean + messageId: string | null + inReplyTo: string | null + references: string[] + senderMailAddress: string + senderName: string + method: MailMethod + replyType: ReplyType + differentEnvelopeSender: string | null + headers: string + replyTos: RecipientList + toRecipients: RecipientList + ccRecipients: RecipientList + bccRecipients: RecipientList + attachments: ImapImportAttachments | null + imapUid: number + imapModSeq: BigInt | null + imapFolderSyncState: IdTuple +} + +/** + * The ImportMailFacade is responsible for importing mails to the Tutanota server. + * The facade communicates directly with the ImportMailService. + */ +export class ImportMailFacade { + constructor( + private readonly userFacade: UserFacade, + private readonly mailFacade: MailFacade, + private readonly serviceExecutor: IServiceExecutor, + private readonly entityClient: EntityClient, + private readonly blobFacade: BlobFacade, + private readonly fileApp: NativeFileApp, + private readonly crypto: CryptoFacade, + ) {} + + async importMail({ + subject, + bodyText, + sentDate, + receivedDate, + state, + unread, + messageId, + inReplyTo, + references, + senderMailAddress, + senderName, + method, + replyType, + differentEnvelopeSender, + headers, + replyTos, + toRecipients, + ccRecipients, + bccRecipients, + attachments, + imapUid, + imapModSeq, + imapFolderSyncState, + }: ImportMailParams): Promise { + if (byteLength(bodyText) > UNCOMPRESSED_MAX_SIZE) { + throw new MailBodyTooLargeError(`Can not import mail, mail body too large (${byteLength(bodyText)})`) + } + + const mailGroupId = this.userFacade.getGroupId(GroupType.Mail) + const mailGroupKey = this.userFacade.getGroupKey(mailGroupId) + const sk = aes128RandomKey() + const service = createImportMailPostIn() + service.ownerEncSessionKey = encryptKey(mailGroupKey, sk) + service.ownerGroup = mailGroupId + service.imapUid = imapUid.toString() + service.imapModSeq = imapModSeq?.toString() ?? null + service.imapFolderSyncState = imapFolderSyncState + + service.mailData = createImportMailData({ + subject, + compressedBodyText: bodyText, + sentDate, + receivedDate, + state, + unread, + messageId, + inReplyTo, + references: references.map(referenceToImportMailDataMailReference), + senderMailAddress, + senderName, + confidential: false, + method, + replyType, + differentEnvelopeSender, + phishingStatus: MailPhishingStatus.UNKNOWN, + compressedHeaders: headers, + replyTos: replyTos.map(recipientToEncryptedMailAddress), + toRecipients: toRecipients.map(recipientToDraftRecipient), + ccRecipients: ccRecipients.map(recipientToDraftRecipient), + bccRecipients: bccRecipients.map(recipientToDraftRecipient), + importedAttachments: await this._createAddedImportAttachments(attachments, mailGroupId, mailGroupKey), + }) + + await this.serviceExecutor.post(ImportMailService, service, { sessionKey: sk, suspensionBehavior: SuspensionBehavior.Throw }) + } + + /** + * Uploads the given data files or sets the file if it is already existing and returns all ImportAttachments + */ + async _createAddedImportAttachments( + providedFiles: ImapImportAttachments | null, + ownerMailGroupId: Id, + mailGroupKey: Aes128Key, + ): Promise { + if (providedFiles == null || providedFiles.length === 0) return [] + + return promiseMap(providedFiles, async (providedFile) => { + if (isImapImportTutanotaFileId(providedFile)) { + // attachment is already available on the server, but we need to load ownerEncFileSessionKey + let existingFile = await this.entityClient.load(FileTypeRef, providedFile._id) + return this.crypto.resolveSessionKeyForInstance(existingFile).then((fileSessionKey) => { + const attachment = createImportAttachment() + attachment.existingFile = existingFile._id + attachment.ownerEncFileSessionKey = encryptKey(mailGroupKey, neverNull(fileSessionKey)) + return attachment + }) + } else if (isDataFile(providedFile)) { + const fileSessionKey = aes128RandomKey() + let referenceTokens: Array + const { location } = await this.fileApp.writeDataFile(providedFile) + referenceTokens = await this.blobFacade.encryptAndUploadNative(ArchiveDataType.Attachments, location, ownerMailGroupId, fileSessionKey) + await this.fileApp.deleteFile(location) + let draftAttachment = this.mailFacade.createAndEncryptDraftAttachment(referenceTokens, fileSessionKey, providedFile, mailGroupKey) + return draftAttachmentToImportAttachment(draftAttachment, providedFile.fileHash, mailGroupKey) + } else { + // (isFileReference(providedFile)) == true + const fileSessionKey = aes128RandomKey() + const referenceTokens = await this.blobFacade.encryptAndUploadNative( + ArchiveDataType.Attachments, + providedFile.location, + ownerMailGroupId, + fileSessionKey, + ) + let draftAttachment = this.mailFacade.createAndEncryptDraftAttachment(referenceTokens, fileSessionKey, providedFile, mailGroupKey) + return draftAttachmentToImportAttachment(draftAttachment, providedFile.fileHash, mailGroupKey) + } + }) + } +} + +export function isImapImportTutanotaFileId(file: ImapImportAttachment): file is ImapImportTutanotaFileId { + return file._type === "ImapImportTutanotaFileId" +} + +export function referenceToImportMailDataMailReference(reference: string): ImportMailDataMailReference { + return createImportMailDataMailReference({ + reference: reference, + }) +} + +function draftAttachmentToImportAttachment(draftAttachment: DraftAttachment, newFileHash: string | null, mailGroupKey: Aes128Key): ImportAttachment { + let importAttachment = createImportAttachment() + importAttachment.existingFile = draftAttachment.existingFile + importAttachment.ownerEncFileSessionKey = draftAttachment.ownerEncFileSessionKey + + let newFile = draftAttachment.newFile + if (newFile != null) { + let newImportAttachment = createNewImportAttachment() + + const fileHashSessionKey = aes128RandomKey() + + newImportAttachment.encFileHash = newFileHash ? encryptString(fileHashSessionKey, newFileHash) : null + newImportAttachment.ownerEncFileHashSessionKey = newFileHash ? encryptKey(mailGroupKey, fileHashSessionKey) : null + newImportAttachment.encFileName = newFile.encFileName + newImportAttachment.encCid = newFile.encCid + newImportAttachment.encMimeType = newFile.encMimeType + newImportAttachment.referenceTokens = newFile.referenceTokens + + importAttachment.newFile = newImportAttachment + } + + return importAttachment +} diff --git a/src/api/worker/facades/lazy/MailFacade.ts b/src/api/worker/facades/lazy/MailFacade.ts index dcd056ea328..bc6d5d238be 100644 --- a/src/api/worker/facades/lazy/MailFacade.ts +++ b/src/api/worker/facades/lazy/MailFacade.ts @@ -55,6 +55,7 @@ import { createUpdateMailFolderData, FileTypeRef, MailDetailsDraftTypeRef, + MailFolderTypeRef, MailTypeRef, TutanotaPropertiesTypeRef, } from "../../../entities/tutanota/TypeRefs.js" @@ -165,7 +166,7 @@ export class MailFacade { private readonly fileApp: NativeFileApp, ) {} - async createMailFolder(name: string, parent: IdTuple | null, ownerGroupId: Id): Promise { + async createMailFolder(name: string, parent: IdTuple | null, ownerGroupId: Id): Promise { const mailGroupKey = this.userFacade.getGroupKey(ownerGroupId) const sk = aes128RandomKey() @@ -175,7 +176,8 @@ export class MailFacade { ownerEncSessionKey: encryptKey(mailGroupKey, sk), ownerGroup: ownerGroupId, }) - await this.serviceExecutor.post(MailFolderService, newFolder, { sessionKey: sk }) + const createMailFolderReturn = await this.serviceExecutor.post(MailFolderService, newFolder, { sessionKey: sk }) + return this.entityClient.load(MailFolderTypeRef, createMailFolderReturn.newFolder) } /** @@ -373,7 +375,7 @@ export class MailFacade { /** * Uploads the given data files or sets the file if it is already existing files (e.g. forwarded files) and returns all DraftAttachments */ - async _createAddedAttachments( + private async _createAddedAttachments( providedFiles: Attachments | null, existingFileIds: ReadonlyArray, senderMailGroupId: Id, @@ -427,7 +429,7 @@ export class MailFacade { }) } - private createAndEncryptDraftAttachment( + createAndEncryptDraftAttachment( referenceTokens: BlobReferenceTokenWrapper[], fileSessionKey: Aes128Key, providedFile: DataFile | FileReference, @@ -823,14 +825,14 @@ function getUrlDomain(link: string): string | null { return url && url.hostname } -function recipientToDraftRecipient(recipient: PartialRecipient): DraftRecipient { +export function recipientToDraftRecipient(recipient: PartialRecipient): DraftRecipient { return createDraftRecipient({ name: recipient.name ?? "", mailAddress: recipient.address, }) } -function recipientToEncryptedMailAddress(recipient: PartialRecipient): EncryptedMailAddress { +export function recipientToEncryptedMailAddress(recipient: PartialRecipient): EncryptedMailAddress { return createEncryptedMailAddress({ name: recipient.name ?? "", address: recipient.address, diff --git a/src/api/worker/imapimport/ImapImportState.ts b/src/api/worker/imapimport/ImapImportState.ts new file mode 100644 index 00000000000..6c49e7bdb3b --- /dev/null +++ b/src/api/worker/imapimport/ImapImportState.ts @@ -0,0 +1,17 @@ +export enum ImportState { + NOT_INITIALIZED, + RUNNING, + PAUSED, + POSTPONED, + FINISHED, +} + +export class ImapImportState { + state: ImportState + postponedUntil: Date + + constructor(initialState: ImportState, postponedUntil: Date = new Date(Date.now())) { + this.state = initialState + this.postponedUntil = postponedUntil + } +} diff --git a/src/api/worker/imapimport/ImapImportUtils.ts b/src/api/worker/imapimport/ImapImportUtils.ts new file mode 100644 index 00000000000..bfaea5c320b --- /dev/null +++ b/src/api/worker/imapimport/ImapImportUtils.ts @@ -0,0 +1,144 @@ +import { ImportImapAccount, ImportImapFolderSyncState } from "../../entities/tutanota/TypeRefs.js" +import { ImapAccount } from "../../../desktop/imapimport/adsync/ImapSyncState.js" +import { ImapMail, ImapMailAddress, ImapMailAttachment } from "../../../desktop/imapimport/adsync/imapmail/ImapMail.js" +import { CalendarMethod, calendarMethodToMailMethod, MailMethod, MailState, ReplyType } from "../../common/TutanotaConstants.js" +import { ImapMailbox, ImapMailboxSpecialUse } from "../../../desktop/imapimport/adsync/imapmail/ImapMailbox.js" +import { PartialRecipient, RecipientList } from "../../common/recipients/Recipient.js" +import { DataFile } from "../../common/DataFile.js" +import { ImapImportAttachments, ImapImportDataFile, ImportMailParams } from "../facades/lazy/ImportMailFacade.js" + +const TEXT_CALENDAR_MIME_TYPE = "text/calendar" +const CALENDAR_METHOD_MIME_PARAMETER = "method" + +const IMAP_FLAG_SEEN = "\\Seen" +const IMAP_FLAG_ANSWERED = "\\Answered" +const IMAP_FLAG_FORWARDED = "$Forwarded" + +export function importImapAccountToImapAccount(importImapAccount: ImportImapAccount): ImapAccount { + let imapAccount = new ImapAccount(importImapAccount.host, parseInt(importImapAccount.port), importImapAccount.userName) + imapAccount.password = importImapAccount.password ?? undefined + imapAccount.accessToken = importImapAccount.accessToken ?? undefined + + return imapAccount +} + +export function getFolderSyncStateForMailboxPath(mailboxPath: string, folderSyncStates: ImportImapFolderSyncState[]): ImportImapFolderSyncState | null { + let folderSyncState = folderSyncStates.find((folderSyncState) => { + return folderSyncState.path == mailboxPath + }) + return folderSyncState ? folderSyncState : null +} + +export function imapMailToImportMailParams( + imapMail: ImapMail, + folderSyncStateId: IdTuple, + deduplicatedAttachments: ImapImportAttachments | null, +): ImportMailParams { + let fromMailAddress = imapMail.envelope?.from?.at(0)?.address ?? "" + let fromName = imapMail.envelope?.from?.at(0)?.name ?? "" + let senderMailAddress = imapMail.envelope?.sender?.at(0)?.address ?? null + + let differentEnvelopeSender = senderMailAddress != fromMailAddress ? senderMailAddress : null + + let attachments = deduplicatedAttachments + if (!attachments) { + attachments = imapMail.attachments ? importAttachmentsFromImapMailAttachments(imapMail.attachments) : null + } + + return { + subject: imapMail.envelope?.subject ?? "", + bodyText: imapMail.body?.html ?? imapMail.body?.plaintextAsHtml ?? "", + sentDate: imapMail.envelope?.date ?? new Date(Date.now()), + receivedDate: imapMail.internalDate ?? new Date(Date.now()), + state: mailStateFromImapMailbox(imapMail.belongsToMailbox), + unread: unreadFromImapMail(imapMail), + messageId: imapMail.envelope?.messageId ?? null, // if null, a new messageId is generated on the tutadb server + senderMailAddress: fromMailAddress, + senderName: fromName, + method: mailMethodFromImapMail(imapMail), + replyType: replyTypeFromImapMail(imapMail), + differentEnvelopeSender: differentEnvelopeSender, // null if sender == from in mail envelope + headers: imapMail.headers ?? "", + replyTos: imapMail.envelope?.replyTo ? recipientsFromImapMailAddresses(imapMail.envelope?.replyTo!) : [], + toRecipients: imapMail.envelope?.to ? recipientsFromImapMailAddresses(imapMail.envelope?.to!) : [], + ccRecipients: imapMail.envelope?.cc ? recipientsFromImapMailAddresses(imapMail.envelope?.cc!) : [], + bccRecipients: imapMail.envelope?.bcc ? recipientsFromImapMailAddresses(imapMail.envelope?.bcc!) : [], + attachments: attachments, + inReplyTo: imapMail.envelope?.inReplyTo ?? null, + references: imapMail.envelope?.references ?? [], + imapUid: imapMail.uid, + imapModSeq: imapMail.modSeq ?? null, + imapFolderSyncState: folderSyncStateId, + } +} + +function importAttachmentsFromImapMailAttachments(imapMailAttachments: ImapMailAttachment[]): ImapImportDataFile[] { + return imapMailAttachments.map((imapMailAttachment) => { + let imapImportDataFile: ImapImportDataFile = { + _type: "DataFile", + name: imapMailAttachment.filename ?? imapMailAttachment.cid + Date.now().toString(), + data: imapMailAttachment.content, + size: imapMailAttachment.size, + mimeType: imapMailAttachment.contentType, + cid: imapMailAttachment.cid, + fileHash: null, + } + return imapImportDataFile + }) +} + +function mailStateFromImapMailbox(imapMailbox: ImapMailbox): MailState { + let mailState: MailState + switch (imapMailbox.specialUse) { + case ImapMailboxSpecialUse.SENT: + mailState = MailState.SENT + break + case ImapMailboxSpecialUse.DRAFTS: + mailState = MailState.DRAFT + break + default: + mailState = MailState.RECEIVED + } + return mailState +} + +function unreadFromImapMail(imapMail: ImapMail): boolean { + return !imapMail.flags?.has(IMAP_FLAG_SEEN) ?? true +} + +function mailMethodFromImapMail(imapMail: ImapMail): MailMethod { + let iCalAttachments = imapMail.attachments?.find((attachment) => { + attachment.contentType == TEXT_CALENDAR_MIME_TYPE && attachment.headers.has(CALENDAR_METHOD_MIME_PARAMETER) + }) + let calendarMethod = iCalAttachments?.headers.get(CALENDAR_METHOD_MIME_PARAMETER) as CalendarMethod + return calendarMethod ? calendarMethodToMailMethod(calendarMethod) : MailMethod.NONE +} + +function replyTypeFromImapMail(imapMail: ImapMail): ReplyType { + let flags = imapMail.flags + if (flags === undefined) { + return ReplyType.NONE + } + + let replyType: ReplyType + if (flags.has(IMAP_FLAG_ANSWERED) && flags.has(IMAP_FLAG_FORWARDED)) { + replyType = ReplyType.REPLY_FORWARD + } else if (flags.has(IMAP_FLAG_ANSWERED)) { + replyType = ReplyType.REPLY + } else if (flags.has(IMAP_FLAG_FORWARDED)) { + replyType = ReplyType.FORWARD + } else { + replyType = ReplyType.NONE + } + return replyType +} + +function recipientsFromImapMailAddresses(imapMailAddresses: ImapMailAddress[]): RecipientList { + return imapMailAddresses.map((imapMailAddress) => { + let partialRecipient: PartialRecipient = { + address: imapMailAddress.address ?? "", + name: imapMailAddress.name, + } + return partialRecipient + }) +} diff --git a/src/api/worker/imapimport/ImapImporter.ts b/src/api/worker/imapimport/ImapImporter.ts new file mode 100644 index 00000000000..d9f9e6491e4 --- /dev/null +++ b/src/api/worker/imapimport/ImapImporter.ts @@ -0,0 +1,337 @@ +import { AdSyncEventType } from "../../../desktop/imapimport/adsync/AdSyncEventListener" +import { ImportImapAccountSyncState, ImportImapFolderSyncState, MailFolder } from "../../entities/tutanota/TypeRefs.js" +import { ImportImapFacade } from "../facades/lazy/ImportImapFacade.js" +import { ImapImportDataFile, ImapImportTutanotaFileId, ImportMailFacade } from "../facades/lazy/ImportMailFacade.js" +import { ImapImportState, ImportState } from "./ImapImportState.js" +import { getFolderSyncStateForMailboxPath, imapMailToImportMailParams, importImapAccountToImapAccount } from "./ImapImportUtils.js" +import { ImapMailboxState, ImapMailIds, ImapSyncState } from "../../../desktop/imapimport/adsync/ImapSyncState.js" +import { ImapMailbox, ImapMailboxStatus } from "../../../desktop/imapimport/adsync/imapmail/ImapMailbox.js" +import { ProgrammingError } from "../../common/error/ProgrammingError.js" +import { ImapMail, ImapMailAttachment } from "../../../desktop/imapimport/adsync/imapmail/ImapMail.js" +import { ImapError } from "../../../desktop/imapimport/adsync/imapmail/ImapError.js" +import { ImapImportSystemFacade } from "../../../native/common/generatedipc/ImapImportSystemFacade.js" +import { ImapImportFacade } from "../../../native/common/generatedipc/ImapImportFacade.js" +import { defer, DeferredObject, uint8ArrayToString } from "@tutao/tutanota-utils" +import { sha256Hash } from "@tutao/tutanota-crypto" +import { MaybePromise } from "rollup" +import { SuspensionError } from "../../common/error/SuspensionError.js" + +const DEFAULT_POSTPONE_TIME = 120 * 1000 + +export interface InitializeImapImportParams { + host: string + port: string + username: string + password: string | null + accessToken: string | null + maxQuota: string + rootImportMailFolderName: string +} + +export class ImapImporter implements ImapImportFacade { + private imapImportState: ImapImportState = new ImapImportState(ImportState.NOT_INITIALIZED) + private importImapAccountSyncState: ImportImapAccountSyncState | null = null + private importImapFolderSyncStates?: ImportImapFolderSyncState[] + private importedImapAttachmentHashToIdMap?: Map> + + // TODO remove after evaluation + private testMailCounterPromise?: DeferredObject + private testMailCounter = 0 + private testDownloadStartTime: Date = new Date() + + constructor( + private readonly imapImportSystemFacade: ImapImportSystemFacade, + private readonly importImapFacade: ImportImapFacade, + private readonly importMailFacade: ImportMailFacade, + ) {} + + async initializeImport(initializeParams: InitializeImapImportParams): Promise { + let importImapAccountSyncState = await this.loadImportImapAccountSyncState() + + if (importImapAccountSyncState == null) { + this.importImapAccountSyncState = await this.importImapFacade.initializeImapImport(initializeParams) + } else { + this.importImapAccountSyncState = await this.importImapFacade.updateImapImport(initializeParams, importImapAccountSyncState) + } + + this.imapImportState = new ImapImportState(ImportState.PAUSED) + return this.imapImportState + } + + async continueImport(): Promise { + if (this.imapImportState.state == ImportState.RUNNING) { + return this.imapImportState + } + + if (this.imapImportState.state == ImportState.POSTPONED && this.imapImportState.postponedUntil.getTime() > Date.now()) { + this.imapImportState.state = ImportState.POSTPONED + return this.imapImportState + } + + this.importImapAccountSyncState = await this.loadImportImapAccountSyncState() + + if (this.importImapAccountSyncState == null) { + this.imapImportState = new ImapImportState(ImportState.NOT_INITIALIZED) + return this.imapImportState + } + + let postponedUntil = this.importImapAccountSyncState?.postponedUntil + if (postponedUntil) { + this.imapImportState.postponedUntil = new Date(postponedUntil) + } + + if (this.imapImportState.postponedUntil.getTime() > Date.now()) { + this.imapImportState.state = ImportState.POSTPONED + return this.imapImportState + } + + let imapAccount = importImapAccountToImapAccount(this.importImapAccountSyncState.imapAccount) + let maxQuota = parseInt(this.importImapAccountSyncState.maxQuota) + let imapMailboxStates = await this.getAllImapMailboxStates(this.importImapAccountSyncState.imapFolderSyncStateList) + let imapSyncState = new ImapSyncState(imapAccount, maxQuota, imapMailboxStates) + + this.importedImapAttachmentHashToIdMap = await this.getImportedImapAttachmentHashToIdMap() + + await this.imapImportSystemFacade.startImport(imapSyncState) + + // TODO remove after evaluation + this.testMailCounter = 0 + this.testDownloadStartTime.setTime(Date.now()) + + this.imapImportState = new ImapImportState(ImportState.RUNNING) + return this.imapImportState + } + + async pauseImport(): Promise { + await this.imapImportSystemFacade.stopImport() + this.imapImportState = new ImapImportState(ImportState.PAUSED) + return this.imapImportState + } + + async postponeImport(postponedUntil: Date): Promise { + await this.imapImportSystemFacade.stopImport() + + if (this.importImapAccountSyncState != null) { + await this.importImapFacade.postponeImapImport(postponedUntil, this.importImapAccountSyncState?._id) + this.imapImportState = new ImapImportState(ImportState.POSTPONED, postponedUntil) + } else { + this.imapImportState = new ImapImportState(ImportState.NOT_INITIALIZED) + } + + return this.imapImportState + } + + async deleteImport(): Promise { + // TODO delete imap import + return true + } + + async loadRootImportFolder(): Promise { + if (this.importImapAccountSyncState?.rootImportMailFolder == null) { + return Promise.resolve(null) + } + + return this.importImapFacade.getRootImportFolder(this.importImapAccountSyncState?.rootImportMailFolder) + } + + async loadImportImapAccountSyncState(): Promise { + return this.importImapFacade.getImportImapAccountSyncState() + } + + loadImapImportState(): ImapImportState { + return this.imapImportState + } + + private async loadAllImportImapFolderSyncStates(importImapFolderSyncStateListId: Id): Promise { + if (this.importImapAccountSyncState == null) { + throw new ProgrammingError("ImportImapAccountSyncState not initialized!") + } + return this.importImapFacade.getAllImportImapFolderSyncStates(importImapFolderSyncStateListId) + } + + private async getAllImapMailboxStates(importImapFolderSyncStateListId: Id): Promise { + let imapMailboxStates: ImapMailboxState[] = [] + this.importImapFolderSyncStates = await this.loadAllImportImapFolderSyncStates(importImapFolderSyncStateListId) + + for (const folderSyncState of this.importImapFolderSyncStates) { + let importedImapUidToMailIdsMap = new Map() + let importedImapUidToMailIdMapList = await this.importImapFacade.getImportedImapUidToMailIdsMapList(folderSyncState.importedImapUidToMailIdsMap) + importedImapUidToMailIdMapList.forEach((importImapUidToMailIds) => { + let imapUid = parseInt(importImapUidToMailIds.imapUid) + let importedImapMailIds = new ImapMailIds(imapUid) + if (importImapUidToMailIds.imapModSeq != null) { + importedImapMailIds.modSeq = BigInt(importImapUidToMailIds.imapModSeq) + } + importedImapMailIds.externalMailId = importImapUidToMailIds.mail + + importedImapUidToMailIdsMap.set(imapUid, importedImapMailIds) + }) + + let imapMailboxState = new ImapMailboxState(folderSyncState.path, importedImapUidToMailIdsMap) + imapMailboxState.uidNext = folderSyncState.uidnext ? parseInt(folderSyncState.uidnext) : undefined + imapMailboxState.uidValidity = folderSyncState.uidvalidity ? BigInt(folderSyncState.uidvalidity) : undefined + imapMailboxState.highestModSeq = folderSyncState.highestmodseq ? BigInt(folderSyncState.highestmodseq) : null + + imapMailboxStates.push(imapMailboxState) + } + + return imapMailboxStates + } + + private async getImportedImapAttachmentHashToIdMap(): Promise>> { + if (this.importImapAccountSyncState == null) { + throw new ProgrammingError("ImportImapAccountSyncState not initialized!") + } + + let importedImapAttachmentHashToIdMap = new Map>() + let importedImapAttachmentHashToIdMapList = await this.importImapFacade.getImportedImapAttachmentHashToIdMapList( + this.importImapAccountSyncState.importedImapAttachmentHashToIdMap, + ) + + importedImapAttachmentHashToIdMapList.forEach((importedImapAttachmentHashToId) => { + let imapAttachmentHash = importedImapAttachmentHashToId.imapAttachmentHash + let attachmentId = importedImapAttachmentHashToId.attachment + importedImapAttachmentHashToIdMap.set(imapAttachmentHash, attachmentId) + }) + + return importedImapAttachmentHashToIdMap + } + + private async performAttachmentDeduplication(imapMailAttachments: ImapMailAttachment[]) { + let deduplicatedAttachments = imapMailAttachments.map(async (imapMailAttachment) => { + // calculate fileHash to perform IMAP import attachment de-duplication + let fileHash = uint8ArrayToString("utf-8", sha256Hash(imapMailAttachment.content)) + + if (this.importedImapAttachmentHashToIdMap?.has(fileHash)) { + let attachmentId = await this.importedImapAttachmentHashToIdMap.get(fileHash) + if (attachmentId) { + let imapImportTutanotaFileId: ImapImportTutanotaFileId = { + _type: "ImapImportTutanotaFileId", + _id: attachmentId, + } + return imapImportTutanotaFileId + } + } + + let deferredAttachmentId: Promise = new Promise(async (resolve) => { + this.importedImapAttachmentHashToIdMap = await this.getImportedImapAttachmentHashToIdMap() + resolve(this.importedImapAttachmentHashToIdMap.get(fileHash)) + }) + + this.importedImapAttachmentHashToIdMap?.set(fileHash, deferredAttachmentId) + let importDataFile: ImapImportDataFile = { + _type: "DataFile", + name: imapMailAttachment.filename ?? imapMailAttachment.cid + Date.now().toString(), // TODO better to use hash? + data: imapMailAttachment.content, + size: imapMailAttachment.size, + mimeType: imapMailAttachment.contentType, + cid: imapMailAttachment.cid, + fileHash: fileHash, + } + return importDataFile + }) + + return Promise.all(deduplicatedAttachments) + } + + async onMailbox(imapMailbox: ImapMailbox, eventType: AdSyncEventType): Promise { + if (this.importImapAccountSyncState == null) { + throw new ProgrammingError("onMailbox event received but importImapAccountSyncState not initialized!") + } + + switch (eventType) { + case AdSyncEventType.CREATE: + let parentFolderId = this.importImapAccountSyncState.rootImportMailFolder + if (imapMailbox.parentFolder) { + let parentFolderSyncState = getFolderSyncStateForMailboxPath(imapMailbox.parentFolder.path, this.importImapFolderSyncStates ?? []) + parentFolderId = parentFolderSyncState?.mailFolder ? parentFolderSyncState.mailFolder : null + } + + let newFolderSyncState = await this.importImapFacade.createImportMailFolder(imapMailbox, this.importImapAccountSyncState._id, parentFolderId) + + if (newFolderSyncState) { + this.importImapFolderSyncStates?.push(newFolderSyncState) + } + break + case AdSyncEventType.UPDATE: + break + case AdSyncEventType.DELETE: + break + } + + return Promise.resolve() + } + + async onMailboxStatus(imapMailboxStatus: ImapMailboxStatus): Promise { + if (this.importImapFolderSyncStates === undefined) { + throw new ProgrammingError("onMailboxStatus event received but importImapFolderSyncStates not initialized!") + } + + let folderSyncState = getFolderSyncStateForMailboxPath(imapMailboxStatus.path, this.importImapFolderSyncStates) + if (folderSyncState) { + const newFolderSyncState = await this.importImapFacade.updateImportImapFolderSyncState(imapMailboxStatus, folderSyncState) + + let index = this.importImapFolderSyncStates.findIndex((folderSyncState) => folderSyncState.path == newFolderSyncState.path) + this.importImapFolderSyncStates[index] = newFolderSyncState + } + + return Promise.resolve() + } + + async onMail(imapMail: ImapMail, eventType: AdSyncEventType): Promise { + // TODO remove after evaluation + // lock testMailCounter + await this.testMailCounterPromise?.promise + this.testMailCounterPromise = defer() + this.testMailCounter += 1 + this.testMailCounterPromise.resolve() + + if (this.importImapFolderSyncStates === undefined) { + throw new ProgrammingError("onMail event received but importImapFolderSyncStates not initialized!") + } + + let folderSyncState = getFolderSyncStateForMailboxPath(imapMail.belongsToMailbox.path, this.importImapFolderSyncStates) + if (folderSyncState) { + let deduplicatedAttachments = imapMail.attachments ? await this.performAttachmentDeduplication(imapMail.attachments) : [] + let importMailParams = imapMailToImportMailParams(imapMail, folderSyncState._id, deduplicatedAttachments) + + switch (eventType) { + case AdSyncEventType.CREATE: + this.importMailFacade.importMail(importMailParams).catch((error) => { + if (error instanceof SuspensionError) { + this.postponeImport(new Date(Date.now() + (error.suspensionTime ? parseInt(error.suspensionTime) : DEFAULT_POSTPONE_TIME))) + } + }) + break + case AdSyncEventType.UPDATE: + //this.importMailFacade.updateMail(importMailParams) // TODO update mail properties through existing tutanota apis (unread / read, etc) + break + case AdSyncEventType.DELETE: + break + } + } + + return Promise.resolve() + } + + async onPostpone(postponedUntil: Date): Promise { + await this.postponeImport(postponedUntil) + return Promise.resolve() + } + + onFinish(downloadedQuota: number): Promise { + // TODO remove after evaluation + let downloadTime = Date.now() - this.testDownloadStartTime.getTime() + console.log("Downloaded data (byte): " + downloadedQuota) + console.log("Took (ms): " + downloadTime) + console.log("Average throughput (bytes/ms): " + downloadedQuota / downloadTime) + console.log("# amount of mails downloaded: " + this.testMailCounter) + + this.imapImportState = new ImapImportState(ImportState.FINISHED) + return Promise.resolve() + } + + onError(imapError: ImapError): Promise { + return Promise.resolve() + } +} diff --git a/src/api/worker/rest/RestClient.ts b/src/api/worker/rest/RestClient.ts index ce22c5f67b5..aa1cd5affa1 100644 --- a/src/api/worker/rest/RestClient.ts +++ b/src/api/worker/rest/RestClient.ts @@ -127,7 +127,7 @@ export class RestClient { const suspensionTime = xhr.getResponseHeader("Retry-After") || xhr.getResponseHeader("Suspension-Time") if (isSuspensionResponse(xhr.status, suspensionTime) && options.suspensionBehavior === SuspensionBehavior.Throw) { - reject(new SuspensionError(`blocked for ${suspensionTime}, not suspending`)) + reject(new SuspensionError(`blocked for ${suspensionTime}, not suspending`, suspensionTime)) } else if (isSuspensionResponse(xhr.status, suspensionTime)) { this.suspensionHandler.activateSuspensionIfInactive(Number(suspensionTime)) diff --git a/src/desktop/ApplicationWindow.ts b/src/desktop/ApplicationWindow.ts index 190d7696712..6a08d3107d4 100644 --- a/src/desktop/ApplicationWindow.ts +++ b/src/desktop/ApplicationWindow.ts @@ -19,6 +19,7 @@ import { RemoteBridge } from "./ipc/RemoteBridge.js" import { InterWindowEventFacadeSendDispatcher } from "../native/common/generatedipc/InterWindowEventFacadeSendDispatcher.js" import { handleProtocols } from "./net/ProtocolProxy.js" import { OfflineDbManager } from "./db/PerWindowSqlCipherFacade.js" +import { ImapImportFacade } from "../native/common/generatedipc/ImapImportFacade.js" import HandlerDetails = Electron.HandlerDetails const MINIMUM_WINDOW_SIZE: number = 350 @@ -50,6 +51,7 @@ export class ApplicationWindow { private _desktopFacade!: DesktopFacade private _commonNativeFacade!: CommonNativeFacade private _interWindowEventSender!: InterWindowEventFacadeSendDispatcher + private _imapImportFacade!: ImapImportFacade _browserWindow!: BrowserWindow @@ -189,11 +191,16 @@ export class ApplicationWindow { return this._interWindowEventSender } + get imapImportFacade(): ImapImportFacade { + return this._imapImportFacade + } + private initFacades() { const sendingFacades = this.remoteBridge.createBridge(this) this._desktopFacade = sendingFacades.desktopFacade this._commonNativeFacade = sendingFacades.commonNativeFacade this._interWindowEventSender = sendingFacades.interWindowEventSender + this._imapImportFacade = sendingFacades.imapImportFacade } private async loadInitialUrl(noAutoLogin: boolean) { diff --git a/src/desktop/DesktopMain.ts b/src/desktop/DesktopMain.ts index 8eecf904bdd..17edcf53460 100644 --- a/src/desktop/DesktopMain.ts +++ b/src/desktop/DesktopMain.ts @@ -58,6 +58,7 @@ import { OfflineDbFactory, OfflineDbManager, PerWindowSqlCipherFacade } from "./ import { SqlCipherFacade } from "../native/common/generatedipc/SqlCipherFacade.js" import { DesktopSqlCipher } from "./DesktopSqlCipher.js" import { lazyMemoized } from "@tutao/tutanota-utils" +import { DesktopImapImportSystemFacade } from "./imapimport/DesktopImapImportSystemFacade.js" import dns from "node:dns" import { getConfigFile } from "./config/ConfigFile.js" @@ -215,6 +216,7 @@ async function createComponents(): Promise { new DesktopDesktopSystemFacade(wm, window, sock), new DesktopExportFacade(desktopUtils, conf, window, dragIcons), new DesktopFileFacade(window, dl, electron), + new DesktopImapImportSystemFacade(window), new DesktopInterWindowEventFacade(window, wm), nativeCredentialsFacade, desktopCrypto, diff --git a/src/desktop/imapimport/DesktopImapImportSystemFacade.ts b/src/desktop/imapimport/DesktopImapImportSystemFacade.ts new file mode 100644 index 00000000000..44c829d09f1 --- /dev/null +++ b/src/desktop/imapimport/DesktopImapImportSystemFacade.ts @@ -0,0 +1,51 @@ +import { ImapImportSystemFacade } from "../../native/common/generatedipc/ImapImportSystemFacade.js" +import { ImapSyncState } from "./adsync/ImapSyncState.js" +import { ImapAdSync } from "./adsync/ImapAdSync.js" +import { AdSyncEventListener, AdSyncEventType } from "./adsync/AdSyncEventListener.js" +import { ImapError } from "./adsync/imapmail/ImapError.js" +import { ImapMail } from "./adsync/imapmail/ImapMail.js" +import { ImapMailbox, ImapMailboxStatus } from "./adsync/imapmail/ImapMailbox.js" +import { ApplicationWindow } from "../ApplicationWindow.js" + +export class DesktopImapImportSystemFacade implements ImapImportSystemFacade, AdSyncEventListener { + constructor(private readonly win: ApplicationWindow) {} + + private imapAdSync?: ImapAdSync + + startImport(imapSyncState: ImapSyncState): Promise { + if (this.imapAdSync === undefined) { + this.imapAdSync = new ImapAdSync(this) + } + this.imapAdSync?.startAdSync(imapSyncState) + return Promise.resolve() + } + + stopImport(): Promise { + this.imapAdSync?.stopAdSync() + return Promise.resolve() + } + + onError(error: ImapError): void { + this.win.imapImportFacade.onError(error) + } + + onFinish(downloadedQuota: number): void { + this.win.imapImportFacade.onFinish(downloadedQuota) + } + + onMail(mail: ImapMail, eventType: AdSyncEventType): void { + this.win.imapImportFacade.onMail(mail, eventType) + } + + onMailbox(mailbox: ImapMailbox, eventType: AdSyncEventType): void { + this.win.imapImportFacade.onMailbox(mailbox, eventType) + } + + onMailboxStatus(mailboxStatus: ImapMailboxStatus): void { + this.win.imapImportFacade.onMailboxStatus(mailboxStatus) + } + + onPostpone(postponedUntil: Date): void { + this.win.imapImportFacade.onPostpone(postponedUntil) + } +} diff --git a/src/desktop/imapimport/adsync/AdSyncEventListener.ts b/src/desktop/imapimport/adsync/AdSyncEventListener.ts new file mode 100644 index 00000000000..833847abbce --- /dev/null +++ b/src/desktop/imapimport/adsync/AdSyncEventListener.ts @@ -0,0 +1,23 @@ +import { ImapMailbox, ImapMailboxStatus } from "./imapmail/ImapMailbox.js" +import { ImapMail } from "./imapmail/ImapMail.js" +import { ImapError } from "./imapmail/ImapError.js" + +export enum AdSyncEventType { + CREATE, + UPDATE, + DELETE, +} + +export interface AdSyncEventListener { + onMailbox(imapMailbox: ImapMailbox, eventType: AdSyncEventType): void + + onMailboxStatus(imapMailboxStatus: ImapMailboxStatus): void + + onMail(imapMail: ImapMail, eventType: AdSyncEventType): void + + onPostpone(postponedUntil: Date): void + + onFinish(downloadedQuota: number): void + + onError(imapError: ImapError): void +} diff --git a/src/desktop/imapimport/adsync/ImapAdSync.ts b/src/desktop/imapimport/adsync/ImapAdSync.ts new file mode 100644 index 00000000000..c3c69180ef0 --- /dev/null +++ b/src/desktop/imapimport/adsync/ImapAdSync.ts @@ -0,0 +1,39 @@ +import { AdSyncEventListener } from "./AdSyncEventListener.js" +import { ImapSyncSession } from "./ImapSyncSession.js" +import { ImapSyncState } from "./ImapSyncState.js" + +const defaultAdSyncConfig: AdSyncConfig = { + isEnableParallelProcessesOptimizer: true, + isEnableDownloadBatchSizeOptimizer: true, + parallelProcessesOptimizationDifference: 2, + downloadBatchSizeOptimizationDifference: 100, + isEnableImapQresync: false, +} + +export interface AdSyncConfig { + isEnableParallelProcessesOptimizer: boolean + isEnableDownloadBatchSizeOptimizer: boolean + parallelProcessesOptimizationDifference: number + downloadBatchSizeOptimizationDifference: number + isEnableImapQresync: boolean +} + +// TODO evaluation +// const impap_conf = JSON.parse(process.env["IMAP_IMPORT_SETTINGS"]) +// impap_conf.value === 3 + +export class ImapAdSync { + private syncSession: ImapSyncSession + + constructor(adSyncEventListener: AdSyncEventListener, adSyncConfig: AdSyncConfig = defaultAdSyncConfig) { + this.syncSession = new ImapSyncSession(adSyncEventListener, adSyncConfig) + } + + async startAdSync(imapSyncState: ImapSyncState, isIncludeMailUpdates: boolean = true): Promise { + return this.syncSession.startSyncSession(imapSyncState, isIncludeMailUpdates) + } + + async stopAdSync(): Promise { + return this.syncSession.stopSyncSession() + } +} diff --git a/src/desktop/imapimport/adsync/ImapSyncSession.ts b/src/desktop/imapimport/adsync/ImapSyncSession.ts new file mode 100644 index 00000000000..8d266a11578 --- /dev/null +++ b/src/desktop/imapimport/adsync/ImapSyncSession.ts @@ -0,0 +1,255 @@ +import { ImapSyncSessionMailbox, SyncSessionMailboxImportance } from "./ImapSyncSessionMailbox.js" +import { ImapMailboxState, ImapSyncState } from "./ImapSyncState.js" +import { AdSyncEventListener, AdSyncEventType } from "./AdSyncEventListener.js" +import { AdSyncParallelProcessesOptimizer } from "./optimizer/processesoptimizer/AdSyncParallelProcessesOptimizer.js" +import { ImapSyncSessionProcess, SyncSessionProcessState } from "./ImapSyncSessionProcess.js" +import { AdSyncDownloadBatchSizeOptimizer } from "./optimizer/AdSyncDownloadBatchSizeOptimizer.js" +import { ProgrammingError } from "../../../api/common/error/ProgrammingError.js" +import { ImapFlow } from "imapflow" +import { ImapMailbox } from "./imapmail/ImapMailbox.js" +import { AdSyncConfig } from "./ImapAdSync.js" +import { AdSyncSingleProcessesOptimizer } from "./optimizer/processesoptimizer/AdSyncSingleProcessesOptimizer.js" +import { AdSyncProcessesOptimizer } from "./optimizer/processesoptimizer/AdSyncProcessesOptimizer.js" + +const DOWNLOADED_QUOTA_SAFETY_THRESHOLD: number = 50000000 // in byte +const DEFAULT_POSTPONE_TIME: number = 24 * 60 * 60 * 1000 // 24 hours +const ERROR_POSTPONE_TIME: number = 60 * 1000 // 60 seconds + +export enum SyncSessionState { + RUNNING, + PAUSED, + POSTPONED, + FINISHED, +} + +export interface SyncSessionEventListener { + onStartSyncSessionProcess(processId: number, syncSessionMailbox: ImapSyncSessionMailbox): void + + onStopSyncSessionProcess(processId: number): void + + onDownloadQuotaUpdate(downloadedQuota: number): void + + onAllMailboxesFinish(): Promise +} + +export class ImapSyncSession implements SyncSessionEventListener { + private adSyncEventListener: AdSyncEventListener + private adSyncConfig: AdSyncConfig + private state: SyncSessionState + private imapSyncState?: ImapSyncState + private isIncludeMailUpdates: boolean = false + private adSyncOptimizer?: AdSyncProcessesOptimizer + private runningSyncSessionProcesses: Map = new Map() + private downloadedQuotas: number[] = [] + + constructor(adSyncEventListener: AdSyncEventListener, adSyncConfig: AdSyncConfig) { + this.adSyncEventListener = adSyncEventListener + this.adSyncConfig = adSyncConfig + this.state = SyncSessionState.PAUSED + } + + async startSyncSession(imapSyncState: ImapSyncState, isIncludeMailUpdates: boolean): Promise { + if (this.state != SyncSessionState.RUNNING) { + this.state = SyncSessionState.RUNNING + this.imapSyncState = imapSyncState + this.isIncludeMailUpdates = isIncludeMailUpdates + this.runningSyncSessionProcesses = new Map() + this.downloadedQuotas = [] + this.runSyncSession() + } + return + } + + async stopSyncSession(): Promise { + await this.shutDownSyncSession(false) + return + } + + private async shutDownSyncSession(isPostpone: boolean, postponeDuration: number = DEFAULT_POSTPONE_TIME) { + this.state = SyncSessionState.PAUSED + + this.adSyncOptimizer?.stopAdSyncOptimizer() + this.runningSyncSessionProcesses.forEach((syncSessionProcess) => { + syncSessionProcess.stopSyncSessionProcess() + }) + this.runningSyncSessionProcesses.clear() + + if (isPostpone) { + this.state = SyncSessionState.POSTPONED + this.adSyncEventListener.onPostpone(new Date(Date.now() + postponeDuration)) + } + } + + private async runSyncSession() { + let mailboxes = await this.setupSyncSession() + + if (mailboxes != null) { + if (this.adSyncConfig.isEnableParallelProcessesOptimizer) { + this.adSyncOptimizer = new AdSyncParallelProcessesOptimizer(mailboxes, this.adSyncConfig.parallelProcessesOptimizationDifference, this) + } else { + // start AdSyncSingleProcessesOptimizer with optimizationDifference of zero (0) (always open only a single mailbox (i.e. folder) at a time) + this.adSyncOptimizer = new AdSyncSingleProcessesOptimizer(mailboxes, this) + } + this.adSyncOptimizer.startAdSyncOptimizer() + } + } + + private async setupSyncSession(): Promise { + if (!this.imapSyncState) { + throw new ProgrammingError("The ImapSyncState has not been set!") + } + + let knownMailboxes = this.imapSyncState.mailboxStates.map((mailboxState) => { + return new ImapSyncSessionMailbox(mailboxState) + }) + + let imapAccount = this.imapSyncState.imapAccount + const imapClient = new ImapFlow({ + host: imapAccount.host, + port: imapAccount.port, + secure: true, + tls: { + rejectUnauthorized: false, // TODO deactivate after testing + }, + logger: true, + auth: { + user: imapAccount.username, + pass: imapAccount.password, + accessToken: imapAccount.accessToken, + }, + }) + + try { + await imapClient.connect() + let listTreeResponse = await imapClient.listTree() + await imapClient.logout() + + let fetchedRootMailboxes = listTreeResponse.folders.map((listTreeResponse) => { + return ImapMailbox.fromImapFlowListTreeResponse(listTreeResponse, null) + }) + return this.getSyncSessionMailboxes(knownMailboxes, fetchedRootMailboxes) + } catch (error) { + await this.shutDownSyncSession(true, ERROR_POSTPONE_TIME) + return null + } + } + + private getSyncSessionMailboxes(knownMailboxes: ImapSyncSessionMailbox[], fetchedRootMailboxes: ImapMailbox[]): ImapSyncSessionMailbox[] { + let resultMailboxes: ImapSyncSessionMailbox[] = [] + fetchedRootMailboxes.forEach((fetchedRootMailbox) => { + resultMailboxes.push(...this.traverseImapMailboxes(knownMailboxes, fetchedRootMailbox)) + }) + + knownMailboxes.map((knownMailbox) => { + let index = resultMailboxes.findIndex((mailbox) => { + return mailbox.mailboxState.path == knownMailbox.mailboxState.path + }) + + if (index == -1) { + let deletedImapMailbox = ImapMailbox.fromSyncSessionMailbox(knownMailbox) + this.adSyncEventListener.onMailbox(deletedImapMailbox, AdSyncEventType.DELETE) + return true + } + + return false + }) + + return resultMailboxes + } + + private traverseImapMailboxes(knownMailboxes: ImapSyncSessionMailbox[], imapMailbox: ImapMailbox): ImapSyncSessionMailbox[] { + let result = [] + + let syncSessionMailbox = knownMailboxes.find((value) => value.mailboxState.path == imapMailbox.path) + if (syncSessionMailbox === undefined) { + this.adSyncEventListener.onMailbox(imapMailbox, AdSyncEventType.CREATE) + syncSessionMailbox = new ImapSyncSessionMailbox(ImapMailboxState.fromImapMailbox(imapMailbox)) + } + + if (imapMailbox.specialUse) { + syncSessionMailbox.specialUse = imapMailbox.specialUse + } + + // some settings lead to importance "NO_SYNC" which means that the mailbox should not be imported / migrated + if (syncSessionMailbox.importance != SyncSessionMailboxImportance.NO_SYNC) { + result.push(syncSessionMailbox) + } + + imapMailbox.subFolders?.forEach((imapMailbox) => { + result.push(...this.traverseImapMailboxes(knownMailboxes, imapMailbox)) + }) + return result + } + + onStartSyncSessionProcess(processId: number, nextMailboxToDownload: ImapSyncSessionMailbox): void { + if (this.state == SyncSessionState.RUNNING) { + console.log("onStartSyncSessionProcess : processId: " + processId + " -> " + nextMailboxToDownload.mailboxState.path) + + if (!this.adSyncOptimizer) { + throw new ProgrammingError("The SyncSessionEventListener should be exclusively used by the AdSyncEfficiencyScoreOptimizer!") + } + + if (!this.imapSyncState) { + throw new ProgrammingError("The ImapSyncState has not been set!") + } + + let adSyncDownloadBlatchSizeOptimizer = new AdSyncDownloadBatchSizeOptimizer( + nextMailboxToDownload, + this.adSyncConfig.downloadBatchSizeOptimizationDifference, + ) + let syncSessionProcess = new ImapSyncSessionProcess( + processId, + adSyncDownloadBlatchSizeOptimizer, + this.adSyncOptimizer, + this.adSyncConfig, + this.isIncludeMailUpdates, + ) + + this.runningSyncSessionProcesses.set(syncSessionProcess.processId, syncSessionProcess) + syncSessionProcess.startSyncSessionProcess(this.imapSyncState.imapAccount, this.adSyncEventListener).then((state) => { + if (state == SyncSessionProcessState.CONNECTION_FAILED_NO) { + this.adSyncOptimizer?.forceStopSyncSessionProcess(processId, true) + } else if (state == SyncSessionProcessState.CONNECTION_FAILED_UNKNOWN) { + this.adSyncOptimizer?.forceStopSyncSessionProcess(processId, false) + } else { + if (this.adSyncConfig.isEnableDownloadBatchSizeOptimizer && this.state == SyncSessionState.RUNNING) { + adSyncDownloadBlatchSizeOptimizer.startAdSyncOptimizer() + } + } + }) + } + } + + onStopSyncSessionProcess(nextProcessIdToDrop: number): void { + console.log("onStopSyncSessionProcess : processId: " + nextProcessIdToDrop) + + let syncSessionProcessToDrop = this.runningSyncSessionProcesses.get(nextProcessIdToDrop) + + syncSessionProcessToDrop?.stopSyncSessionProcess() + this.runningSyncSessionProcesses.delete(nextProcessIdToDrop) + } + + onDownloadQuotaUpdate(downloadedQuota: number): void { + this.downloadedQuotas.push(downloadedQuota) + + if (!this.imapSyncState) { + throw new ProgrammingError("The ImapSyncState has not been set!") + } + + let downloadedQuotaTotal = this.downloadedQuotas.reduce((quotaSum, quota) => quotaSum + quota, 0) + if (downloadedQuotaTotal > this.imapSyncState.maxQuota - DOWNLOADED_QUOTA_SAFETY_THRESHOLD) { + this.shutDownSyncSession(true) + } + } + + async onAllMailboxesFinish(): Promise { + console.log("onAllMailboxesFinish") + if (this.state != SyncSessionState.FINISHED) { + this.state = SyncSessionState.FINISHED + await this.shutDownSyncSession(false) + + let downloadedQuotaTotal = this.downloadedQuotas.reduce((quotaSum, quota) => quotaSum + quota, 0) + this.adSyncEventListener.onFinish(downloadedQuotaTotal) + } + } +} diff --git a/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts b/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts new file mode 100644 index 00000000000..d71a8e4d5a6 --- /dev/null +++ b/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts @@ -0,0 +1,112 @@ +import { ImapMailboxState } from "./ImapSyncState.js" +import { + AverageEfficiencyScore, + AverageThroughput, + DownloadBatchSize, + getAverageOfList, + Throughput, + TimeIntervalTimeStamp, + TimeStamp, +} from "./utils/AdSyncUtils.js" +import { ImapMailboxSpecialUse } from "./imapmail/ImapMailbox.js" + +export enum SyncSessionMailboxImportance { + NO_SYNC = 0, + LOW = 1, + MEDIUM = 2, + HIGH = 3, +} + +export class ImapSyncSessionMailbox { + mailboxState: ImapMailboxState + mailCount: number | null = 0 + timeToLiveInterval: number = 10 // in seconds + downloadBatchSize = 500 + importance: SyncSessionMailboxImportance = SyncSessionMailboxImportance.MEDIUM + lastFetchedMailSeq = 0 + private _specialUse: ImapMailboxSpecialUse | null = null + private throughputHistory: Map = new Map() + private averageThroughputInTimeIntervalHistory: Map = new Map() + private downloadBatchSizeHistory: Map = new Map() + + constructor(mailboxState: ImapMailboxState) { + this.mailboxState = mailboxState + } + + initSessionMailbox(mailCount?: number): void { + this.mailCount = mailCount ? mailCount : null + } + + get specialUse(): ImapMailboxSpecialUse | null { + return this._specialUse + } + + set specialUse(value: ImapMailboxSpecialUse | null) { + this._specialUse = value + + switch (this._specialUse) { + case ImapMailboxSpecialUse.INBOX: + this.importance = SyncSessionMailboxImportance.HIGH + break + case ImapMailboxSpecialUse.TRASH: + case ImapMailboxSpecialUse.ARCHIVE: + case ImapMailboxSpecialUse.ALL: + case ImapMailboxSpecialUse.SENT: + this.importance = SyncSessionMailboxImportance.LOW + break + case ImapMailboxSpecialUse.JUNK: + this.importance = SyncSessionMailboxImportance.NO_SYNC + break + default: + this.importance = SyncSessionMailboxImportance.MEDIUM + break + } + } + + getAverageThroughputInTimeInterval(fromTimeStamp: TimeStamp, toTimeStamp: TimeStamp): AverageThroughput { + let throughputsInTimeInterval = [...this.throughputHistory.entries()] + .filter(([timeStamp, _throughput]) => { + return timeStamp >= fromTimeStamp && timeStamp < toTimeStamp + }) + .map(([_timeStamp, throughput]) => { + return throughput + }) + let averageThroughputInTimeInterval = getAverageOfList(throughputsInTimeInterval) + this.averageThroughputInTimeIntervalHistory.set(`${fromTimeStamp}${toTimeStamp}`, averageThroughputInTimeInterval) + return averageThroughputInTimeInterval + } + + getAverageEfficiencyScoreInTimeInterval(fromTimeStamp: TimeStamp, toTimeStamp: TimeStamp): AverageEfficiencyScore { + let key = `${fromTimeStamp}${toTimeStamp}` + let averageExists = this.averageThroughputInTimeIntervalHistory.has(key) + return ( + this.importance * + (averageExists ? this.averageThroughputInTimeIntervalHistory.get(key)! : this.getAverageThroughputInTimeInterval(fromTimeStamp, toTimeStamp)) + ) + } + + getDownloadBatchSizeInTimeInterval(fromTimeStamp: TimeStamp, toTimeStamp: TimeStamp): DownloadBatchSize { + let downloadBatchSizeInTimeInterval = [...this.downloadBatchSizeHistory.entries()] + .filter(([timeStamp, _downloadBatchSize]) => { + return timeStamp >= fromTimeStamp && timeStamp < toTimeStamp + }) + .map(([_timeStamp, downloadBatchSize]) => { + return downloadBatchSize + }) + .at(-1) + if (downloadBatchSizeInTimeInterval !== undefined) { + return downloadBatchSizeInTimeInterval + } else { + return this.downloadBatchSize + } + } + + reportCurrentThroughput(throughput: Throughput) { + this.throughputHistory.set(Date.now(), throughput) + } + + reportDownloadBatchSizeUsage(downloadBatchSize?: DownloadBatchSize) { + // -1 indicates IMAP QRESYNC + this.downloadBatchSizeHistory.set(Date.now(), downloadBatchSize ? downloadBatchSize : -1) + } +} diff --git a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts new file mode 100644 index 00000000000..21f2f942bb3 --- /dev/null +++ b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts @@ -0,0 +1,264 @@ +import { ImapSyncSessionMailbox } from "./ImapSyncSessionMailbox.js" +import { AdSyncEventListener, AdSyncEventType } from "./AdSyncEventListener.js" +import { ImapAccount, ImapMailIds } from "./ImapSyncState.js" +import { ImapMail } from "./imapmail/ImapMail.js" +// @ts-ignore // TODO define types +import { AdSyncDownloadBatchSizeOptimizer } from "./optimizer/AdSyncDownloadBatchSizeOptimizer.js" +import { ImapError } from "./imapmail/ImapError.js" +import { ImapMailbox, ImapMailboxStatus } from "./imapmail/ImapMailbox.js" +import { AdSyncConfig } from "./ImapAdSync.js" +import { AdSyncProcessesOptimizerEventListener } from "./optimizer/processesoptimizer/AdSyncProcessesOptimizer.js" +import { DifferentialUidLoader, UID_FETCH_REQUEST_WAIT_TIME, UidFetchRequestType } from "./utils/DifferentialUidLoader.js" +import { setTimeout } from "node:timers/promises" + +const { ImapFlow } = require("imapflow") + +export enum SyncSessionProcessState { + NOT_STARTED, + STOPPED, + RUNNING, + CONNECTION_FAILED_UNKNOWN, + CONNECTION_FAILED_NO, +} + +export class ImapSyncSessionProcess { + processId: number + + private state: SyncSessionProcessState = SyncSessionProcessState.NOT_STARTED + private adSyncOptimizer: AdSyncDownloadBatchSizeOptimizer + private adSyncProcessesOptimizerEventListener: AdSyncProcessesOptimizerEventListener + private adSyncConfig: AdSyncConfig + private isIncludeMailUpdates: boolean + + constructor( + processId: number, + adSyncOptimizer: AdSyncDownloadBatchSizeOptimizer, + adSyncProcessesOptimizerEventListener: AdSyncProcessesOptimizerEventListener, + adSyncConfig: AdSyncConfig, + isIncludeMailUpdates: boolean, + ) { + this.processId = processId + this.adSyncOptimizer = adSyncOptimizer + this.adSyncProcessesOptimizerEventListener = adSyncProcessesOptimizerEventListener + this.adSyncConfig = adSyncConfig + this.isIncludeMailUpdates = isIncludeMailUpdates + } + + async startSyncSessionProcess(imapAccount: ImapAccount, adSyncEventListener: AdSyncEventListener): Promise { + const imapClient = new ImapFlow({ + host: imapAccount.host, + port: imapAccount.port, + secure: true, + tls: { + rejectUnauthorized: false, // TODO deactivate after testing + }, + logger: false, + auth: { + user: imapAccount.username, + pass: imapAccount.password, + accessToken: imapAccount.accessToken, + }, + // @ts-ignore + qresync: this.adSyncConfig.isEnableImapQresync, // TODO add type definitions + }) + + try { + await imapClient.connect() + if (this.state == SyncSessionProcessState.NOT_STARTED) { + this.runSyncSessionProcess(imapClient, adSyncEventListener) + this.state = SyncSessionProcessState.RUNNING + } + } catch (error) { + // TODO we most probably did run in a rate limit + // TODO QRESYNC is an issue if the import got postponed, but we have a new modseq somehow and did not finish loading all emails for this modseq ... + // https://www.rfc-editor.org/rfc/rfc7162.html#section-3.1.4 + // modsequences should therefore only be used once the complete fetch call is finished ... update in batch --> otherwise cancel batch + this.state = SyncSessionProcessState.CONNECTION_FAILED_NO + } + return this.state + } + + async stopSyncSessionProcess(): Promise { + this.state = SyncSessionProcessState.STOPPED + this.adSyncOptimizer.stopAdSyncOptimizer() + return this.adSyncOptimizer.optimizedSyncSessionMailbox + } + + private async runSyncSessionProcess(imapClient: typeof ImapFlow, adSyncEventListener: AdSyncEventListener) { + let isMailboxFinished = false + + try { + let highestModSeq = this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.highestModSeq + + // open mailbox readonly + let mailboxObject = await imapClient.mailboxOpen(this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.path, { readonly: true }) + + // store ImapMailboxStatus + let imapMailboxStatus = ImapMailboxStatus.fromImapFlowMailboxObject(mailboxObject) + this.updateMailboxState(imapMailboxStatus) + this.adSyncOptimizer.optimizedSyncSessionMailbox.initSessionMailbox(imapMailboxStatus.messageCount) + adSyncEventListener.onMailboxStatus(imapMailboxStatus) + + let openedImapMailbox = ImapMailbox.fromSyncSessionMailbox(this.adSyncOptimizer.optimizedSyncSessionMailbox) + let isEnableImapQresync = this.adSyncConfig.isEnableImapQresync && highestModSeq != null + + // calculate UID differences + let differentialUidLoader = new DifferentialUidLoader( + imapClient, + adSyncEventListener, + openedImapMailbox, + this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap, + isEnableImapQresync, + this.isIncludeMailUpdates, + ) + + differentialUidLoader + .calculateUidDiff( + this.adSyncOptimizer.optimizedSyncSessionMailbox.lastFetchedMailSeq, + this.adSyncOptimizer.optimizedSyncSessionMailbox.downloadBatchSize, + this.adSyncOptimizer.optimizedSyncSessionMailbox.mailCount, + ) + .then((deletedUids) => this.handleDeletedUids(deletedUids, openedImapMailbox, adSyncEventListener)) + + let fetchOptions = this.initFetchOptions(imapMailboxStatus, isEnableImapQresync) + let nextUidFetchRequest = await differentialUidLoader.getNextUidFetchRequest(this.adSyncOptimizer.optimizedSyncSessionMailbox.downloadBatchSize) + + while (nextUidFetchRequest) { + // wait for the differentialUidLoader to calculate more IMAP UID differences + if (nextUidFetchRequest.fetchRequestType == UidFetchRequestType.WAIT) { + await setTimeout(UID_FETCH_REQUEST_WAIT_TIME) + nextUidFetchRequest = await differentialUidLoader.getNextUidFetchRequest(this.adSyncOptimizer.optimizedSyncSessionMailbox.downloadBatchSize) + continue + } + + this.adSyncOptimizer.optimizedSyncSessionMailbox.reportDownloadBatchSizeUsage(nextUidFetchRequest.usedDownloadBatchSize) + + let mailFetchStartTime = Date.now() + let mails = imapClient.fetch( + nextUidFetchRequest.uidFetchSequenceString, + { + uid: true, + source: true, + labels: true, + size: true, + flags: true, + internalDate: true, + headers: true, + }, + fetchOptions, + ) + + for await (const mail of mails) { + if (this.state == SyncSessionProcessState.STOPPED) { + await this.logout(imapClient, isMailboxFinished, mail.seq - 1) + return + } + + let mailFetchEndTime = Date.now() + let mailFetchTime = mailFetchEndTime - mailFetchStartTime + + if (mail.source) { + let mailSize = mail.source.length + let mailDownloadTime = mailFetchTime != 0 ? mailFetchTime : 1 // we approximate the mailFetchTime to minimum 1 millisecond + let currenThroughput = mailSize / mailDownloadTime + this.adSyncOptimizer.optimizedSyncSessionMailbox.reportCurrentThroughput(currenThroughput) + + this.adSyncProcessesOptimizerEventListener.onDownloadUpdate(this.processId, this.adSyncOptimizer.optimizedSyncSessionMailbox, mailSize) + + let imapMail = await ImapMail.fromImapFlowFetchMessageObject( + mail, + openedImapMailbox, + this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.get(mail.uid), + ) + + switch (nextUidFetchRequest.fetchRequestType) { + case UidFetchRequestType.CREATE: + this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.set( + imapMail.uid, + new ImapMailIds(imapMail.uid), + ) + adSyncEventListener.onMail(imapMail, AdSyncEventType.CREATE) + break + case UidFetchRequestType.UPDATE: + adSyncEventListener.onMail(imapMail, AdSyncEventType.UPDATE) + break + case UidFetchRequestType.QRESYNC: + this.handleQresyncFetchResult(imapMail, adSyncEventListener) + break + } + } else { + adSyncEventListener.onError(new ImapError(`No IMAP mail source available for IMAP mail with UID ${mail.uid}.`)) + } + } + + nextUidFetchRequest = await differentialUidLoader.getNextUidFetchRequest(this.adSyncOptimizer.optimizedSyncSessionMailbox.downloadBatchSize) + } + + isMailboxFinished = true + } catch (error: any) { + adSyncEventListener.onError(new ImapError(error)) + } finally { + await this.logout(imapClient, isMailboxFinished) + } + } + + private async logout(imapClient: typeof ImapFlow, isMailboxFinished: boolean, lastFetchedMailSeq: number = 1) { + await imapClient.logout() + + if (isMailboxFinished) { + this.adSyncProcessesOptimizerEventListener.onMailboxFinish(this.processId, this.adSyncOptimizer.optimizedSyncSessionMailbox) + } else { + this.adSyncOptimizer.optimizedSyncSessionMailbox.lastFetchedMailSeq = lastFetchedMailSeq + this.adSyncProcessesOptimizerEventListener.onMailboxInterrupted(this.processId, this.adSyncOptimizer.optimizedSyncSessionMailbox) + } + } + + private initFetchOptions(imapMailboxStatus: ImapMailboxStatus, isEnableImapQresync: boolean) { + let fetchOptions = {} + if (isEnableImapQresync) { + let highestModSeq = [...this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.values()].reduce( + (acc, imapMailIds) => (imapMailIds.modSeq && imapMailIds.modSeq > acc ? imapMailIds.modSeq : acc), + BigInt(0), + ) + fetchOptions = { + uid: true, + changedSince: highestModSeq, + } + } else { + fetchOptions = { + uid: true, + } + } + return fetchOptions + } + + // TODO handle Qresync delete events + private handleQresyncFetchResult(imapMail: ImapMail, adSyncEventListener: AdSyncEventListener) { + let isMailUpdate = this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.has(imapMail.uid) + + if (isMailUpdate) { + adSyncEventListener.onMail(imapMail, AdSyncEventType.UPDATE) + } else { + this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.set(imapMail.uid, new ImapMailIds(imapMail.uid)) + adSyncEventListener.onMail(imapMail, AdSyncEventType.CREATE) + } + } + + private async handleDeletedUids(deletedUids: number[], openedImapMailbox: ImapMailbox, adSyncEventListener: AdSyncEventListener) { + deletedUids.forEach((deletedUid) => { + let imapMail = new ImapMail(deletedUid, openedImapMailbox).setExternalMailId( + this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.get(deletedUid), + ) + + this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.delete(deletedUid) + adSyncEventListener.onMail(imapMail, AdSyncEventType.DELETE) + }) + } + + updateMailboxState(imapMailboxStatus: ImapMailboxStatus) { + let mailboxState = this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState + mailboxState.uidValidity = imapMailboxStatus.uidValidity + mailboxState.uidNext = imapMailboxStatus.uidNext + mailboxState.highestModSeq = imapMailboxStatus.highestModSeq + } +} diff --git a/src/desktop/imapimport/adsync/ImapSyncState.ts b/src/desktop/imapimport/adsync/ImapSyncState.ts new file mode 100644 index 00000000000..85a4230b73e --- /dev/null +++ b/src/desktop/imapimport/adsync/ImapSyncState.ts @@ -0,0 +1,54 @@ +import { ImapMailbox } from "./imapmail/ImapMailbox.js" + +export class ImapAccount { + host: string + port: number + username: string + password?: string + accessToken?: string + + constructor(host: string, port: number, username: string) { + this.host = host + this.port = port + this.username = username + } +} + +export class ImapMailIds { + uid: number + modSeq?: bigint + externalMailId?: any + + constructor(uid: number) { + this.uid = uid + } +} + +export class ImapMailboxState { + path: string + uidValidity?: bigint + uidNext?: number + highestModSeq?: bigint | null // null indicates that the CONDSTORE (and QRESYNC) IMAP extension, and therefore highestModSeq, is not supported + importedUidToMailIdsMap: Map + + constructor(path: string, importedUidToMailIdsMap: Map) { + this.path = path + this.importedUidToMailIdsMap = importedUidToMailIdsMap + } + + static fromImapMailbox(imapMailbox: ImapMailbox) { + return new ImapMailboxState(imapMailbox.path, new Map()) + } +} + +export class ImapSyncState { + imapAccount: ImapAccount + maxQuota: number + mailboxStates: ImapMailboxState[] + + constructor(imapAccount: ImapAccount, maxQuata: number, mailboxStates: ImapMailboxState[]) { + this.imapAccount = imapAccount + this.maxQuota = maxQuata + this.mailboxStates = mailboxStates + } +} diff --git a/src/desktop/imapimport/adsync/imapmail/ImapError.ts b/src/desktop/imapimport/adsync/imapmail/ImapError.ts new file mode 100644 index 00000000000..d69d25a4b15 --- /dev/null +++ b/src/desktop/imapimport/adsync/imapmail/ImapError.ts @@ -0,0 +1,7 @@ +export class ImapError { + error: any + + constructor(error: any) { + this.error = error + } +} diff --git a/src/desktop/imapimport/adsync/imapmail/ImapMail.ts b/src/desktop/imapimport/adsync/imapmail/ImapMail.ts new file mode 100644 index 00000000000..a4e8317af0c --- /dev/null +++ b/src/desktop/imapimport/adsync/imapmail/ImapMail.ts @@ -0,0 +1,309 @@ +import { ImapMailRFC822Parser, MailParserAddressObject } from "./ImapMailRFC822Parser.js" +import { ImapMailbox } from "./ImapMailbox.js" +import { ProgrammingError } from "../../../../api/common/error/ProgrammingError.js" + +export class ImapMailAddress { + name?: string + address?: string + + setName(name?: string): this { + this.name = name + return this + } + + setAddress(address?: string): this { + this.address = address + return this + } + + static fromMailParserAddressObject(mailParserAddressObject: any): ImapMailAddress { + return new ImapMailAddress().setName(mailParserAddressObject.name as string).setAddress(mailParserAddressObject.address as string) + } +} + +export class ImapMailEnvelope { + date?: Date + subject?: string + messageId?: string + inReplyTo?: string + references?: string[] + from?: ImapMailAddress[] + sender?: ImapMailAddress[] + to?: ImapMailAddress[] + cc?: ImapMailAddress[] + bcc?: ImapMailAddress[] + replyTo?: ImapMailAddress[] + + setDate(date: Date): this { + this.date = date + return this + } + + setSubject(subject: string): this { + this.subject = subject + return this + } + + setMessageId(messageId: string): this { + this.messageId = messageId + return this + } + + setInReplyTo(inReplyTo: string): this { + this.inReplyTo = inReplyTo + return this + } + + setReferences(references: string[]): this { + this.references = references + return this + } + + setFrom(from: ImapMailAddress[]): this { + this.from = from + return this + } + + setSender(sender: ImapMailAddress[]): this { + this.sender = sender + return this + } + + setTo(to: ImapMailAddress[]): this { + this.to = to + return this + } + + setCc(cc: ImapMailAddress[]): this { + this.cc = cc + return this + } + + setBcc(bcc: ImapMailAddress[]): this { + this.bcc = bcc + return this + } + + setReplyTo(replyTo: ImapMailAddress[]): this { + this.replyTo = replyTo + return this + } + + static fromMailParserHeadersMap(mailParserHeadersMap: Map) { + let imapMailEnvelope = new ImapMailEnvelope() + + if (mailParserHeadersMap.has("date")) { + imapMailEnvelope.setDate(mailParserHeadersMap.get("date") as Date) + } + + if (mailParserHeadersMap.has("subject")) { + imapMailEnvelope.setSubject(mailParserHeadersMap.get("subject") as string) + } + + if (mailParserHeadersMap.has("message-id")) { + imapMailEnvelope.setMessageId(mailParserHeadersMap.get("message-id") as string) + } + + if (mailParserHeadersMap.has("in-reply-to")) { + imapMailEnvelope.setInReplyTo(mailParserHeadersMap.get("in-reply-to") as string) + } + + if (mailParserHeadersMap.has("references")) { + let headerReferences = mailParserHeadersMap.get("references") + let references = typeof headerReferences === "string" ? [headerReferences] : (headerReferences as string[]) + imapMailEnvelope.setReferences(references) + } + + if (mailParserHeadersMap.has("from")) { + imapMailEnvelope.setFrom( + (mailParserHeadersMap.get("from") as MailParserAddressObject).value.map((from) => ImapMailAddress.fromMailParserAddressObject(from)), + ) + } + + if (mailParserHeadersMap.has("sender")) { + imapMailEnvelope.setSender( + (mailParserHeadersMap.get("sender") as MailParserAddressObject).value.map((sender) => ImapMailAddress.fromMailParserAddressObject(sender)), + ) + } + + if (mailParserHeadersMap.has("to")) { + imapMailEnvelope.setTo( + (mailParserHeadersMap.get("to") as MailParserAddressObject).value.map((to) => ImapMailAddress.fromMailParserAddressObject(to)), + ) + } + + if (mailParserHeadersMap.has("cc")) { + imapMailEnvelope.setCc( + (mailParserHeadersMap.get("cc") as MailParserAddressObject).value.map((cc) => ImapMailAddress.fromMailParserAddressObject(cc)), + ) + } + + if (mailParserHeadersMap.has("bcc")) { + imapMailEnvelope.setBcc( + (mailParserHeadersMap.get("bcc") as MailParserAddressObject).value.map((bcc) => ImapMailAddress.fromMailParserAddressObject(bcc)), + ) + } + + if (mailParserHeadersMap.has("reply-to")) { + imapMailEnvelope.setReplyTo( + (mailParserHeadersMap.get("reply-to") as MailParserAddressObject).value.map((replyTo) => ImapMailAddress.fromMailParserAddressObject(replyTo)), + ) + } + + return imapMailEnvelope + } +} + +export class ImapMailAttachment { + size: number + headers: Map + contentType: string + content: Buffer + filename?: string + cid?: string + checksum: string + related: boolean + + constructor(size: number, headers: Map, contentType: string, content: Buffer, checksum: string, related: boolean) { + this.size = size + this.headers = headers + this.contentType = contentType + this.content = content + this.checksum = checksum + this.related = related + } + + setFilename(filename?: string): this { + this.filename = filename + return this + } + + setCid(cid?: string): this { + this.cid = cid + return this + } +} + +export class ImapMailBody { + html: string + plaintext: string + plaintextAsHtml: string + + constructor(html: string, plaintext: string, plaintextAsHtml: string) { + this.html = html + this.plaintext = plaintext + this.plaintextAsHtml = plaintextAsHtml + } +} + +export class ImapMail { + uid: number + modSeq?: BigInt + size?: number + internalDate?: Date + flags?: Set + labels?: Set + envelope?: ImapMailEnvelope + body?: ImapMailBody + attachments?: ImapMailAttachment[] + headers?: string + belongsToMailbox: ImapMailbox + externalMailId?: any + rfc822Source?: Buffer + + constructor(uid: number, belongsToMailbox: ImapMailbox) { + this.uid = uid + this.belongsToMailbox = belongsToMailbox + } + + setModSeq(modSeq?: BigInt): this { + this.modSeq = modSeq + return this + } + + setSize(size?: number): this { + this.size = size + return this + } + + setFlags(flags?: Set): this { + this.flags = flags + return this + } + + setInternalDate(internalDate?: Date): this { + this.internalDate = internalDate + return this + } + + setLabels(labels?: Set): this { + this.labels = labels + return this + } + + setEnvelope(envelope?: ImapMailEnvelope): this { + this.envelope = envelope + return this + } + + setBody(body?: ImapMailBody): this { + this.body = body + return this + } + + setAttachments(attachments?: ImapMailAttachment[]): this { + this.attachments = attachments + return this + } + + setHeaders(headers?: string): this { + this.headers = headers + return this + } + + setExternalMailId(externalMailId?: any): this { + this.externalMailId = externalMailId + return this + } + + setRfc822Source(rfc822Source?: Buffer): this { + this.rfc822Source = rfc822Source + return this + } + + static async fromImapFlowFetchMessageObject(mail: FetchMessageObject, belongsToMailbox: ImapMailbox, externalMailId: any): Promise { + if (mail.source === undefined) { + throw new ProgrammingError(`IMAP mail source not available.`) + } + + let imapMailRFC822Parser = new ImapMailRFC822Parser() + let parsedMailRFC822 = await imapMailRFC822Parser.parseSource(mail.source) + + let headersString = new TextDecoder().decode(mail.headers) + + // TODO use emailId when uid is not reliable + let imapMail = new ImapMail(mail.uid, belongsToMailbox) + .setModSeq(mail.modseq) + .setSize(mail.size) + .setInternalDate(mail.internalDate) + .setFlags(mail.flags) + .setLabels(mail.labels) + .setHeaders(headersString) + .setExternalMailId(externalMailId) + .setRfc822Source(mail.source) + + if (parsedMailRFC822.parsedEnvelope) { + imapMail.setEnvelope(parsedMailRFC822.parsedEnvelope) + } + + if (parsedMailRFC822.parsedBody) { + imapMail.setBody(parsedMailRFC822.parsedBody) + } + + if (parsedMailRFC822.parsedAttachments) { + imapMail.setAttachments(parsedMailRFC822.parsedAttachments) + } + + return imapMail + } +} diff --git a/src/desktop/imapimport/adsync/imapmail/ImapMailRFC822Parser.ts b/src/desktop/imapimport/adsync/imapmail/ImapMailRFC822Parser.ts new file mode 100644 index 00000000000..bfd39f903b7 --- /dev/null +++ b/src/desktop/imapimport/adsync/imapmail/ImapMailRFC822Parser.ts @@ -0,0 +1,81 @@ +import { ImapMailAttachment, ImapMailBody, ImapMailEnvelope } from "./ImapMail.js" +import * as Stream from "node:stream" + +const MailParser = require("mailparser").MailParser + +export type MailParserAddress = { + name: string + address: string + group: MailParserAddress[] +} + +export type MailParserAddressObject = { + value: MailParserAddress[] + text: string + html: string +} + +export interface ParsedImapRFC822 { + parsedEnvelope?: ImapMailEnvelope + parsedBody?: ImapMailBody + parsedAttachments?: ImapMailAttachment[] +} + +// TODO perform security cleansing +export class ImapMailRFC822Parser { + private parser: typeof MailParser + + constructor() { + this.parser = new MailParser() + } + + async parseSource(source: Buffer): Promise { + return new Promise((resolve, reject) => { + let parsedImapRFC822: ParsedImapRFC822 = {} + + this.parser.on("headers", (headersMap: Map) => { + parsedImapRFC822.parsedEnvelope = ImapMailEnvelope.fromMailParserHeadersMap(headersMap) + }) + + this.parser.on("data", async (data: any) => { + if (data.type === "text") { + parsedImapRFC822.parsedBody = new ImapMailBody(data.html, data.text, data.textAsHtml) + } + + if (data.type === "attachment") { + let content = await this.bufferFromStream(data.content) + + if (content.length > 0) { + if (parsedImapRFC822.parsedAttachments === undefined) { + parsedImapRFC822.parsedAttachments = [] + } + + let imapMailAttachment = new ImapMailAttachment(data.size, data.headers, data.contentType, content, data.checksum, data.related) + .setFilename(data.filename) + .setCid(data.cid) + + parsedImapRFC822.parsedAttachments?.push(imapMailAttachment) + } + data.release() + } + }) + + this.parser.on("error", (err: Error) => reject(err)) + + this.parser.on("end", () => { + resolve(parsedImapRFC822) + }) + + this.parser.end(source) + }) + } + + private bufferFromStream(stream: Stream): Promise { + const chunks: Buffer[] = [] + return new Promise((resolve, reject) => { + stream.on("data", (chunk) => chunks.push(Buffer.from(chunk))) + stream.on("error", (err) => reject(err)) + stream.on("end", () => resolve(Buffer.concat(chunks))) + }) + } +} diff --git a/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts b/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts new file mode 100644 index 00000000000..bc6b0f1de02 --- /dev/null +++ b/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts @@ -0,0 +1,112 @@ +import { ImapSyncSessionMailbox } from "../ImapSyncSessionMailbox.js" + +export class ImapMailboxStatus { + path: string + messageCount?: number + uidNext: number + uidValidity: bigint + highestModSeq?: bigint | null // null indicates that the CONDSTORE IMAP extension, and therefore highestModSeq, is not supported + + constructor(path: string, uidNext: number, uidValidity: bigint) { + this.path = path + this.uidNext = uidNext + this.uidValidity = uidValidity + } + + setMessageCount(messageCount?: number): this { + this.messageCount = messageCount + return this + } + + setHighestModSeq(highestModSeq?: bigint | null): this { + this.highestModSeq = highestModSeq ?? null + return this + } + + static fromImapFlowMailboxObject(mailboxObject: MailboxObject): ImapMailboxStatus { + return new ImapMailboxStatus(mailboxObject.path, mailboxObject.uidNext, mailboxObject.uidValidity) + .setMessageCount(mailboxObject.exists) + .setHighestModSeq(mailboxObject.highestModseq) + } +} + +export enum ImapMailboxSpecialUse { + INBOX = "\\Inbox", + SENT = "\\Sent", + DRAFTS = "\\Drafts", + TRASH = "\\Trash", + ARCHIVE = "\\Archive", + JUNK = "\\Junk", + ALL = "\\All", + FLAGGED = "\\FLAGGED", +} + +export class ImapMailbox { + name?: string + path: string + pathDelimiter?: string + flags?: string[] + specialUse?: ImapMailboxSpecialUse + disabled?: boolean + parentFolder?: ImapMailbox | null + subFolders?: ImapMailbox[] + + constructor(path: string) { + this.path = path + } + + setName(name: string): this { + this.name = name + return this + } + + setPathDelimiter(pathDelimiter: string): this { + this.pathDelimiter = pathDelimiter + return this + } + + setFlags(flags: string[]): this { + this.flags = flags + return this + } + + setSpecialUse(specialUse: ImapMailboxSpecialUse): this { + this.specialUse = specialUse + return this + } + + setDisabled(disabled: boolean): this { + this.disabled = disabled + return this + } + + setParentFolder(parentFolder: ImapMailbox | null): this { + this.parentFolder = parentFolder + return this + } + + setSubFolders(subFolders: ImapMailbox[]): this { + this.subFolders = subFolders + return this + } + + static fromImapFlowListTreeResponse(listTreeResponse: ListTreeResponse, parentFolder: ImapMailbox | null): ImapMailbox { + let imapMailbox = new ImapMailbox(listTreeResponse.path) + .setName(listTreeResponse.name) + .setPathDelimiter(listTreeResponse.delimiter) + .setFlags(listTreeResponse.flags) + .setSpecialUse(listTreeResponse.specialUse as ImapMailboxSpecialUse) + .setDisabled(listTreeResponse.disabled) + .setParentFolder(parentFolder) + + if (listTreeResponse.folders) { + imapMailbox.setSubFolders(listTreeResponse.folders.map((value: ListTreeResponse) => ImapMailbox.fromImapFlowListTreeResponse(value, imapMailbox))) + } + + return imapMailbox + } + + static fromSyncSessionMailbox(syncSessionMailbox: ImapSyncSessionMailbox): ImapMailbox { + return new ImapMailbox(syncSessionMailbox.mailboxState.path) + } +} diff --git a/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts new file mode 100644 index 00000000000..b7f13d3be78 --- /dev/null +++ b/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts @@ -0,0 +1,65 @@ +import { AdSyncOptimizer, THROUGHPUT_THRESHOLD } from "./AdSyncOptimizer.js" +import { ImapSyncSessionMailbox } from "../ImapSyncSessionMailbox.js" + +const OPTIMIZATION_INTERVAL = 10 // in seconds + +export class AdSyncDownloadBatchSizeOptimizer extends AdSyncOptimizer { + protected _optimizedSyncSessionMailbox: ImapSyncSessionMailbox + protected scheduler?: NodeJS.Timer + + constructor(syncSessionMailbox: ImapSyncSessionMailbox, optimizationDifference: number) { + super(optimizationDifference) + this._optimizedSyncSessionMailbox = syncSessionMailbox + } + + override startAdSyncOptimizer(): void { + super.startAdSyncOptimizer() + this.scheduler = setInterval(this.optimize.bind(this), OPTIMIZATION_INTERVAL * 1000) // every OPTIMIZATION_INTERVAL seconds + } + + get optimizedSyncSessionMailbox(): ImapSyncSessionMailbox { + return this._optimizedSyncSessionMailbox + } + + protected optimize(): void { + let currentInterval = this.getCurrentTimeStampInterval() + let lastInterval = this.getLastTimeStampInterval() + let averageThroughputCurrent = this.optimizedSyncSessionMailbox.getAverageThroughputInTimeInterval( + currentInterval.fromTimeStamp, + currentInterval.toTimeStamp, + ) + let averageThroughputLast = this.optimizedSyncSessionMailbox.getAverageThroughputInTimeInterval(lastInterval.fromTimeStamp, lastInterval.toTimeStamp) + console.log( + "(DownloadBatchSizeOptimizer -> " + + this.optimizedSyncSessionMailbox.mailboxState.path + + " : last downloadBatchSize | " + + this.optimizedSyncSessionMailbox.downloadBatchSize + + " |) Throughput stats: ... | " + + averageThroughputLast + + " | " + + averageThroughputCurrent + + " |", + ) + + let downloadBatchSizeCurrent = this.optimizedSyncSessionMailbox.getDownloadBatchSizeInTimeInterval( + currentInterval.fromTimeStamp, + currentInterval.toTimeStamp, + ) + let downloadBatchSizeLast = this.optimizedSyncSessionMailbox.getDownloadBatchSizeInTimeInterval(lastInterval.fromTimeStamp, lastInterval.toTimeStamp) + let downloadBatchSizeDidIncrease = downloadBatchSizeCurrent - downloadBatchSizeLast >= 0 + + if (averageThroughputCurrent + THROUGHPUT_THRESHOLD >= averageThroughputLast) { + if (downloadBatchSizeDidIncrease) { + this.optimizedSyncSessionMailbox.downloadBatchSize = this.optimizedSyncSessionMailbox.downloadBatchSize + this.optimizationDifference + } else if (this.optimizedSyncSessionMailbox.downloadBatchSize - this.optimizationDifference > 0) { + this.optimizedSyncSessionMailbox.downloadBatchSize = this.optimizedSyncSessionMailbox.downloadBatchSize - this.optimizationDifference + } + } else { + if (downloadBatchSizeDidIncrease && this.optimizedSyncSessionMailbox.downloadBatchSize - this.optimizationDifference > 0) { + this.optimizedSyncSessionMailbox.downloadBatchSize = this.optimizedSyncSessionMailbox.downloadBatchSize - this.optimizationDifference + } + } + + this.optimizerUpdateTimeStampHistory.push(currentInterval.toTimeStamp) + } +} diff --git a/src/desktop/imapimport/adsync/optimizer/AdSyncOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/AdSyncOptimizer.ts new file mode 100644 index 00000000000..9d079e9cec8 --- /dev/null +++ b/src/desktop/imapimport/adsync/optimizer/AdSyncOptimizer.ts @@ -0,0 +1,46 @@ +import { TimeStamp } from "../utils/AdSyncUtils.js" + +export interface TimeStampInterval { + fromTimeStamp: TimeStamp + toTimeStamp: TimeStamp +} + +export enum OptimizerUpdateAction { + NO_UPDATE, + INCREASE, + DECREASE, +} + +export const THROUGHPUT_THRESHOLD: number = 10 + +export abstract class AdSyncOptimizer { + protected optimizationDifference: number + protected abstract scheduler?: NodeJS.Timer + protected optimizerUpdateTimeStampHistory: TimeStamp[] = [] + + protected constructor(optimizationDifference: number) { + this.optimizationDifference = optimizationDifference + } + + protected abstract optimize(): void + + startAdSyncOptimizer(): void { + this.optimizerUpdateTimeStampHistory.push(Date.now()) + } + + stopAdSyncOptimizer(): void { + clearInterval(this.scheduler) + } + + protected getCurrentTimeStampInterval(): TimeStampInterval { + let fromTimeStamp = this.optimizerUpdateTimeStampHistory.at(-1) !== undefined ? this.optimizerUpdateTimeStampHistory.at(-1)! : 0 + let toTimeStamp = Date.now() + return { fromTimeStamp, toTimeStamp } + } + + protected getLastTimeStampInterval(): TimeStampInterval { + let fromTimeStamp = this.optimizerUpdateTimeStampHistory.at(-2) !== undefined ? this.optimizerUpdateTimeStampHistory.at(-2)! : 0 + let toTimeStamp = this.optimizerUpdateTimeStampHistory.at(-1) !== undefined ? this.optimizerUpdateTimeStampHistory.at(-1)! : Date.now() + return { fromTimeStamp, toTimeStamp } + } +} diff --git a/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncParallelProcessesOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncParallelProcessesOptimizer.ts new file mode 100644 index 00000000000..adae69e27bf --- /dev/null +++ b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncParallelProcessesOptimizer.ts @@ -0,0 +1,73 @@ +import { OptimizerUpdateAction, THROUGHPUT_THRESHOLD } from "../AdSyncOptimizer.js" +import { AverageThroughput, TimeStamp } from "../../utils/AdSyncUtils.js" +import { ProgrammingError } from "../../../../../api/common/error/ProgrammingError.js" +import { AdSyncProcessesOptimizer, OptimizerProcess } from "./AdSyncProcessesOptimizer.js" + +const OPTIMIZATION_INTERVAL = 5 // in seconds +const MINIMUM_PARALLEL_PROCESSES = 2 +const MAX_PARALLEL_PROCESSES = 15 + +export class AdSyncParallelProcessesOptimizer extends AdSyncProcessesOptimizer { + private optimizerUpdateActionHistory: OptimizerUpdateAction[] = [OptimizerUpdateAction.NO_UPDATE] + private maxParallelProcesses: number = MAX_PARALLEL_PROCESSES + + override startAdSyncOptimizer(): void { + super.startAdSyncOptimizer() + this.scheduler = setInterval(this.optimize.bind(this), OPTIMIZATION_INTERVAL * 1000) // every OPTIMIZATION_INTERVAL seconds + this.optimize() // call once to start downloading of mails + } + + override optimize(): void { + let currentInterval = this.getCurrentTimeStampInterval() + let lastInterval = this.getLastTimeStampInterval() + let combinedAverageThroughputCurrent = this.getCombinedAverageThroughputInTimeInterval(currentInterval.fromTimeStamp, currentInterval.toTimeStamp) + let combinedAverageThroughputLast = this.getCombinedAverageThroughputInTimeInterval(lastInterval.fromTimeStamp, lastInterval.toTimeStamp) + console.log("(ParallelProcessOptimizer) Throughput stats: ... | " + combinedAverageThroughputLast + " | " + combinedAverageThroughputCurrent + " |") + + let lastUpdateAction = this.optimizerUpdateActionHistory.at(-1) + if (lastUpdateAction === undefined) { + throw new ProgrammingError("The optimizerUpdateActionHistory has not been initialized correctly!") + } + + if (combinedAverageThroughputCurrent + THROUGHPUT_THRESHOLD >= combinedAverageThroughputLast) { + if (lastUpdateAction != OptimizerUpdateAction.DECREASE) { + if (this.runningProcessMap.size < this.maxParallelProcesses) { + this.startSyncSessionProcesses(this.optimizationDifference) + this.optimizerUpdateActionHistory.push(OptimizerUpdateAction.INCREASE) + } else { + this.optimizerUpdateActionHistory.push(OptimizerUpdateAction.NO_UPDATE) + } + } else if (this.runningProcessMap.size > 1) { + this.stopSyncSessionProcesses(1) + this.optimizerUpdateActionHistory.push(OptimizerUpdateAction.DECREASE) + } + } else { + if (lastUpdateAction == OptimizerUpdateAction.INCREASE && this.runningProcessMap.size > 1) { + this.stopSyncSessionProcesses(1) + this.optimizerUpdateActionHistory.push(OptimizerUpdateAction.DECREASE) + } + } + + this.optimizerUpdateTimeStampHistory.push(currentInterval.toTimeStamp) + } + + private getCombinedAverageThroughputInTimeInterval(fromTimeStamp: TimeStamp, toTimeStamp: TimeStamp): AverageThroughput { + if (this.runningProcessMap.size == 0) { + return 0 + } else { + return [...this.runningProcessMap.values()].reduce((acc: AverageThroughput, value: OptimizerProcess) => { + if (value.syncSessionMailbox) { + acc += value.syncSessionMailbox.getAverageThroughputInTimeInterval(fromTimeStamp, toTimeStamp) + } + return acc + }, 0) + } + } + + forceStopSyncSessionProcess(processId: number, isExceededRateLimit: boolean = false) { + super.forceStopSyncSessionProcess(processId) + if (isExceededRateLimit && this.runningProcessMap.size >= MINIMUM_PARALLEL_PROCESSES) { + this.maxParallelProcesses = this.runningProcessMap.size - 1 + } + } +} diff --git a/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncProcessesOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncProcessesOptimizer.ts new file mode 100644 index 00000000000..633ac3bc5e2 --- /dev/null +++ b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncProcessesOptimizer.ts @@ -0,0 +1,166 @@ +import { AdSyncOptimizer } from "../AdSyncOptimizer.js" +import { ImapSyncSessionMailbox } from "../../ImapSyncSessionMailbox.js" +import { SyncSessionEventListener } from "../../ImapSyncSession.js" +import { TimeStamp } from "../../utils/AdSyncUtils.js" + +export interface AdSyncProcessesOptimizerEventListener { + onDownloadUpdate(processId: number, syncSessionMailbox: ImapSyncSessionMailbox, downloadedQuota: number): void + + onMailboxFinish(processId: number, syncSessionMailbox: ImapSyncSessionMailbox): void + + onMailboxInterrupted(processId: number, syncSessionMailbox: ImapSyncSessionMailbox): void +} + +export class OptimizerProcess { + mailboxPath: string + processStartTime: TimeStamp = Date.now() + syncSessionMailbox?: ImapSyncSessionMailbox + + constructor(mailboxPath: string) { + this.mailboxPath = mailboxPath + } +} + +export class AdSyncProcessesOptimizer extends AdSyncOptimizer implements AdSyncProcessesOptimizerEventListener { + protected scheduler?: NodeJS.Timer + private readonly optimizedSyncSessionMailboxes: ImapSyncSessionMailbox[] + private syncSessionEventListener: SyncSessionEventListener + protected runningProcessMap = new Map() + private nextProcessId: number = 0 + + constructor(mailboxes: ImapSyncSessionMailbox[], optimizationDifference: number, syncSessionEventListener: SyncSessionEventListener) { + super(optimizationDifference) + this.optimizedSyncSessionMailboxes = mailboxes + this.syncSessionEventListener = syncSessionEventListener + } + + protected optimize(): void { + // empty optimize + // overwritten by AdSyncParallelProcessesOptimizer + // **not** overwritten by AdSyncSingleProcessesOptimizer + } + + protected startSyncSessionProcesses(amount: number) { + let nextMailboxesToDownload = this.nextMailboxesToDownload(amount) + + nextMailboxesToDownload.forEach((mailbox) => { + if (!this.isExistRunningProcessForMailbox(mailbox)) { + // we only allow one process per IMAP folder + this.runningProcessMap.set(this.nextProcessId, new OptimizerProcess(mailbox.mailboxState.path)) + this.syncSessionEventListener.onStartSyncSessionProcess(this.nextProcessId, mailbox) + this.nextProcessId += 1 + } + }) + } + + protected stopSyncSessionProcesses(amount: number) { + let nextProcessIdsToDrop = this.nextProcessIdsToDrop(amount) + + nextProcessIdsToDrop.forEach((processId) => { + let mailboxToDrop = this.runningProcessMap.get(processId) + if (mailboxToDrop) { + let timeToLiveIntervalMS = + 1000 * (mailboxToDrop.syncSessionMailbox?.timeToLiveInterval ? mailboxToDrop.syncSessionMailbox?.timeToLiveInterval : 0) // conversion to milliseconds + + // a process may run at least its timeToLiveInterval in seconds + if (mailboxToDrop.processStartTime + timeToLiveIntervalMS <= Date.now()) { + if (mailboxToDrop.syncSessionMailbox) { + let index = this.optimizedSyncSessionMailboxes.findIndex((mailbox) => { + return mailbox.mailboxState.path == mailboxToDrop!.mailboxPath + }) + this.optimizedSyncSessionMailboxes[index] = mailboxToDrop.syncSessionMailbox + } + this.runningProcessMap.delete(processId) + this.syncSessionEventListener.onStopSyncSessionProcess(processId) + } + } + }) + } + + protected nextMailboxesToDownload(amount: number): ImapSyncSessionMailbox[] { + return this.optimizedSyncSessionMailboxes + .filter((mailbox) => !this.isExistRunningProcessForMailbox(mailbox)) // we only allow one process per IMAP folder + .sort((a, b) => b.importance - a.importance) + .slice(0, amount) + } + + protected nextProcessIdsToDrop(amount: number): number[] { + let currentInterval = this.getCurrentTimeStampInterval() + return [...this.runningProcessMap.entries()] + .filter(([_processId, value]) => { + return value.syncSessionMailbox !== undefined + }) + .sort(([_processIdA, valueA], [_processIdB, valueB]) => { + let averageEfficiencyScoreA = valueB.syncSessionMailbox!.getAverageEfficiencyScoreInTimeInterval( + currentInterval.fromTimeStamp, + currentInterval.toTimeStamp, + ) + let averageEfficiencyScoreB = valueB.syncSessionMailbox!.getAverageEfficiencyScoreInTimeInterval( + currentInterval.fromTimeStamp, + currentInterval.toTimeStamp, + ) + return averageEfficiencyScoreB - averageEfficiencyScoreA + }) + .map(([processId, _value]) => processId) + .slice(0, amount) + } + + protected isExistRunningProcessForMailbox(mailbox: ImapSyncSessionMailbox) { + return Array.from(this.runningProcessMap.values()).find((optimizerProcess) => { + return optimizerProcess.mailboxPath == mailbox.mailboxState.path + }) + } + + forceStopSyncSessionProcess(processId: number, isExceededRateLimit: boolean = false) { + this.runningProcessMap.delete(processId) + this.syncSessionEventListener.onStopSyncSessionProcess(processId) + } + + onDownloadUpdate(processId: number, syncSessionMailbox: ImapSyncSessionMailbox, downloadedQuota: number): void { + let optimizerProcess = this.runningProcessMap.get(processId) + if (optimizerProcess) { + optimizerProcess.syncSessionMailbox = syncSessionMailbox + this.runningProcessMap.set(processId, optimizerProcess) + + this.syncSessionEventListener.onDownloadQuotaUpdate(downloadedQuota) + } + } + + onMailboxFinish(processId: number, syncSessionMailbox: ImapSyncSessionMailbox): void { + this.syncSessionEventListener.onStopSyncSessionProcess(processId) + + let mailboxIndex = this.optimizedSyncSessionMailboxes.findIndex((mailbox) => { + return mailbox.mailboxState.path == syncSessionMailbox.mailboxState.path + }) + if (mailboxIndex != -1) { + let isLastMailboxFinish = this.optimizedSyncSessionMailboxes.length == 1 + this.optimizedSyncSessionMailboxes.splice(mailboxIndex, 1) + + this.runningProcessMap.delete(processId) + + // call onAllMailboxesFinish() once download of all IMAP folders is finished + if (isLastMailboxFinish) { + this.syncSessionEventListener.onAllMailboxesFinish() + } else { + // start a new sync session processes in replacement for the finished one + this.startSyncSessionProcesses(1) + } + } + } + + onMailboxInterrupted(processId: number, syncSessionMailbox: ImapSyncSessionMailbox): void { + this.syncSessionEventListener.onStopSyncSessionProcess(processId) + + let mailboxIndex = this.optimizedSyncSessionMailboxes.findIndex((mailbox) => { + return mailbox.mailboxState.path == syncSessionMailbox.mailboxState.path + }) + + if (mailboxIndex != -1) { + this.optimizedSyncSessionMailboxes[mailboxIndex] = syncSessionMailbox + this.runningProcessMap.delete(processId) + + // start a new sync session processes in replacement for the interrupted one + this.startSyncSessionProcesses(1) + } + } +} diff --git a/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncSingleProcessesOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncSingleProcessesOptimizer.ts new file mode 100644 index 00000000000..3b873c7a328 --- /dev/null +++ b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncSingleProcessesOptimizer.ts @@ -0,0 +1,18 @@ +import { AdSyncProcessesOptimizer } from "./AdSyncProcessesOptimizer.js" +import { ImapSyncSessionMailbox } from "../../ImapSyncSessionMailbox.js" +import { SyncSessionEventListener } from "../../ImapSyncSession.js" + +export class AdSyncSingleProcessesOptimizer extends AdSyncProcessesOptimizer { + constructor(mailboxes: ImapSyncSessionMailbox[], syncSessionEventListener: SyncSessionEventListener) { + super(mailboxes, 0, syncSessionEventListener) // setting optimizationDifference to zero (0) + } + + override startAdSyncOptimizer(): void { + super.startAdSyncOptimizer() + this.startSyncSessionProcesses(1) + } + + override forceStopSyncSessionProcess(processId: number, isExceededRateLimit: boolean = false) { + super.forceStopSyncSessionProcess(processId) + } +} diff --git a/src/desktop/imapimport/adsync/utils/AdSyncUtils.ts b/src/desktop/imapimport/adsync/utils/AdSyncUtils.ts new file mode 100644 index 00000000000..7f99cae53e1 --- /dev/null +++ b/src/desktop/imapimport/adsync/utils/AdSyncUtils.ts @@ -0,0 +1,20 @@ +export type TimeStamp = number +export type TimeIntervalTimeStamp = string + +export type Throughput = number // in bytes per ms +export type AverageThroughput = number // in bytes per ms + +export type AverageEfficiencyScore = number + +export type DownloadBatchSize = number + +export function getAverageOfList(list: number[]) { + return list.reduce((acc, value) => { + acc += value + return acc + }, 0) / + list.length != + 0 + ? list.length + : 1 +} diff --git a/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts b/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts new file mode 100644 index 00000000000..16986091441 --- /dev/null +++ b/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts @@ -0,0 +1,198 @@ +import { ImapMailIds } from "../ImapSyncState.js" +import { AdSyncEventListener } from "../AdSyncEventListener.js" +import { ImapMailbox } from "../imapmail/ImapMailbox.js" +import { ImapFlow } from "imapflow" + +interface UidFetchSequence { + fromUid: number + toUid: number +} + +export enum UidFetchRequestType { + CREATE, + UPDATE, + QRESYNC, + WAIT, +} + +export const UID_FETCH_REQUEST_WAIT_TIME = 5000 // in ms + +export interface UidFetchRequest { + uidFetchSequenceString?: string + fetchRequestType: UidFetchRequestType + usedDownloadBatchSize?: number +} + +export type SeenUids = number[] +export type DeletedUids = number[] + +export class DifferentialUidLoader { + private uidFetchRequestQueue: UidFetchRequest[] = [] + + private uidCreateQueue: number[] = [] + private uidUpdateQueue: number[] = [] + + private uidDiffInProgress: boolean = false + + private readonly imapClient: ImapFlow + private readonly adSyncEventListener: AdSyncEventListener + private readonly openedImapMailbox: ImapMailbox + private readonly importedUidToMailIdsMap: Map + private readonly isEnableImapQresync: boolean + private readonly isIncludeMailUpdates: boolean + + constructor( + imapClient: ImapFlow, + adSyncEventListener: AdSyncEventListener, + openedImapMailbox: ImapMailbox, + importedUidToMailIdsMap: Map, + isEnableImapQresync: boolean, + isIncludeMailUpdates: boolean, + ) { + this.imapClient = imapClient + this.adSyncEventListener = adSyncEventListener + this.openedImapMailbox = openedImapMailbox + this.importedUidToMailIdsMap = importedUidToMailIdsMap + this.isEnableImapQresync = isEnableImapQresync + this.isIncludeMailUpdates = isIncludeMailUpdates + } + + async calculateUidDiff(lastFetchedMailSeq: number, downloadBatchSize: number, totalMessageCount: number | null): Promise { + this.uidDiffInProgress = true + // if IMAP QRESYNC is enabled and supported by the IMAP server, we do not need to calculate the diff on our own + if (this.isEnableImapQresync) { + this.uidFetchRequestQueue.push({ + uidFetchSequenceString: "1:*", + fetchRequestType: UidFetchRequestType.QRESYNC, + }) + this.uidDiffInProgress = false + return [] // delete events are handle automatically by IMAP QRESYNC extension + } + + let seenUids = await this.calculateUidDiffInBatches(lastFetchedMailSeq + 1, downloadBatchSize, totalMessageCount) + + let deletedUids = [...this.importedUidToMailIdsMap.keys()].filter((uid) => { + !seenUids.includes(uid) + }) + + this.uidDiffInProgress = false + return deletedUids + } + + async calculateUidDiffInBatches(fromSeq: number, downloadBatchSize: number, totalMessageCount: number | null): Promise { + let seenUids: number[] = [] + + let toSeq = fromSeq + downloadBatchSize + let isFinalBatch = totalMessageCount == null || toSeq > totalMessageCount + + let fromSeqString = fromSeq.toString() + let toSeqString = totalMessageCount == null ? "*" : isFinalBatch ? totalMessageCount.toString() : toSeq.toString() + + let mails = this.imapClient.fetch(`${fromSeqString}:${toSeqString}`, { uid: true }, {}) + + // @ts-ignore + for await (const mail of mails) { + let uid = mail.uid + seenUids.push(uid) + + if (this.importedUidToMailIdsMap.has(uid)) { + this.uidUpdateQueue.push(uid) + } else { + this.uidCreateQueue.push(uid) + } + } + + if (!isFinalBatch) { + seenUids.push(...(await this.calculateUidDiffInBatches(toSeq + 1, downloadBatchSize, totalMessageCount))) + } + + return seenUids + } + + async getNextUidFetchRequest(downloadBatchSize: number): Promise { + let waitingUidFetchRequest = this.uidFetchRequestQueue.pop() + if (waitingUidFetchRequest) { + return waitingUidFetchRequest + } + + let nextUidFetchRange: number[] + let fetchRequestType: UidFetchRequestType + + if (this.uidCreateQueue.length != 0) { + nextUidFetchRange = this.uidCreateQueue.splice(0, downloadBatchSize) + fetchRequestType = UidFetchRequestType.CREATE + } else if (this.isIncludeMailUpdates && this.uidUpdateQueue.length != 0) { + nextUidFetchRange = this.uidUpdateQueue.splice(0, downloadBatchSize) + fetchRequestType = UidFetchRequestType.UPDATE + } else if (this.uidDiffInProgress) { + return { + fetchRequestType: UidFetchRequestType.WAIT, + } + } else { + return null + } + + let uidFetchSequenceStrings = this.buildUidFetchSequenceStrings(nextUidFetchRange) + let nextUidFetchSequenceRequests = uidFetchSequenceStrings.map((uidFetchSequenceString) => { + return { + uidFetchSequenceString: uidFetchSequenceString, + fetchRequestType: fetchRequestType, + usedDownloadBatchSize: downloadBatchSize, + } + }) + + this.uidFetchRequestQueue.push(...nextUidFetchSequenceRequests) + return this.uidFetchRequestQueue.pop() ?? null + } + + private buildUidFetchSequenceStrings(uidsToFetch: number[]): string[] { + let uidFetchSequenceList = uidsToFetch.reduce((uidFetchSequenceList, uid: number) => { + let prevUidFetchSequence = uidFetchSequenceList.at(-1) + + if (prevUidFetchSequence && prevUidFetchSequence.toUid == uid - 1) { + prevUidFetchSequence.toUid = uid + uidFetchSequenceList[-1] = prevUidFetchSequence + } else { + let newUidFetchSequence = { + fromUid: uid, + toUid: uid, + } + uidFetchSequenceList.push(newUidFetchSequence) + } + return uidFetchSequenceList + }, []) + + // We restrict the length of the uidFetchSequenceString to speed up IMAP server communication (we only allow 25 SequenceStrings per IMAP command) + let perChunk = 25 + let uidFetchSequenceChunks = uidFetchSequenceList.reduce( + (uidFetchSequenceListChunks: UidFetchSequence[][], uidFetchSequenceList, index) => { + const chunkIndex = Math.floor(index / perChunk) + + if (!uidFetchSequenceListChunks[chunkIndex]) { + uidFetchSequenceListChunks[chunkIndex] = [] + } + + uidFetchSequenceListChunks[chunkIndex].push(uidFetchSequenceList) + + return uidFetchSequenceListChunks + }, + [], + ) + + let uidFetchSequenceStrings = uidFetchSequenceChunks.map((uidFetchSequenceChunk) => { + return uidFetchSequenceChunk.reduce((uidFetchSequenceString, uidFetchSequence, index) => { + if (uidFetchSequence.fromUid == uidFetchSequence.toUid) { + return uidFetchSequenceString + `${uidFetchSequence.fromUid}` + (index == uidFetchSequenceChunk.length - 1 ? "" : ",") + } else { + return ( + uidFetchSequenceString + + `${uidFetchSequence.fromUid}:${uidFetchSequence.toUid}` + + (index == uidFetchSequenceChunk.length - 1 ? "" : ",") + ) + } + }, "") + }) + + return uidFetchSequenceStrings + } +} diff --git a/src/desktop/ipc/RemoteBridge.ts b/src/desktop/ipc/RemoteBridge.ts index ef153e68cf4..e07ffd70a4e 100644 --- a/src/desktop/ipc/RemoteBridge.ts +++ b/src/desktop/ipc/RemoteBridge.ts @@ -8,11 +8,14 @@ import { DesktopFacadeSendDispatcher } from "../../native/common/generatedipc/De import { CommonNativeFacadeSendDispatcher } from "../../native/common/generatedipc/CommonNativeFacadeSendDispatcher.js" import { DesktopCommonSystemFacade } from "../DesktopCommonSystemFacade.js" import { InterWindowEventFacadeSendDispatcher } from "../../native/common/generatedipc/InterWindowEventFacadeSendDispatcher.js" +import { ImapImportFacade } from "../../native/common/generatedipc/ImapImportFacade.js" +import { ImapImportFacadeSendDispatcher } from "../../native/common/generatedipc/ImapImportFacadeSendDispatcher.js" export interface SendingFacades { desktopFacade: DesktopFacade commonNativeFacade: CommonNativeFacade interWindowEventSender: InterWindowEventFacadeSendDispatcher + imapImportFacade: ImapImportFacade } const primaryIpcConfig: IpcConfig<"to-main", "to-renderer"> = { @@ -50,6 +53,7 @@ export class RemoteBridge { desktopFacade: new DesktopFacadeSendDispatcher(nativeInterface), commonNativeFacade: new CommonNativeFacadeSendDispatcher(nativeInterface), interWindowEventSender: new InterWindowEventFacadeSendDispatcher(nativeInterface), + imapImportFacade: new ImapImportFacadeSendDispatcher(nativeInterface), } } diff --git a/src/gui/base/icons/Icons.ts b/src/gui/base/icons/Icons.ts index d363617fb37..33fd48d60da 100644 --- a/src/gui/base/icons/Icons.ts +++ b/src/gui/base/icons/Icons.ts @@ -53,6 +53,8 @@ export const enum Icons { ArrowDropRight = "ArrowDropRight", Power = "Power", Palette = "Palette", + Play = "Play", + Pause = "Pause", Import = "Import", Export = "Export", PencilSquare = "PencilSquare", @@ -137,6 +139,8 @@ export const IconsSvg: Record = Object.freeze({ ArrowDropRight: ``, Power: ``, Palette: ``, + Play: ``, + Pause: ``, Import: ``, Export: ``, PencilSquare: ``, diff --git a/src/login/PostLoginActions.ts b/src/login/PostLoginActions.ts index f88614f2320..40854422e4b 100644 --- a/src/login/PostLoginActions.ts +++ b/src/login/PostLoginActions.ts @@ -140,6 +140,9 @@ export class PostLoginActions implements IPostLoginAction { // Needs to be called after UsageTestModel.init() if the UsageOptInNews is live! (its isShown() requires an initialized UsageTestModel) await locator.newsModel.loadNewsIds() + // continue IMAP import + await locator.imapImporterFacade.continueImport() + // Redraw to render usage tests and news, among other things that may have changed. m.redraw() } diff --git a/src/misc/TranslationKey.ts b/src/misc/TranslationKey.ts index 2fcced47ae8..89b1a6c50e0 100644 --- a/src/misc/TranslationKey.ts +++ b/src/misc/TranslationKey.ts @@ -196,6 +196,10 @@ export type TranslationKeyType = | "certificateTypeManual_label" | "certificateType_label" | "changeAdminPassword_msg" + | "changeImapAccountHost_label" + | "changeImapAccountPort_label" + | "changeImapAccountUsername_label" + | "changeImapAccountPassword_label" | "changeMailSettings_msg" | "changePasswordCode_msg" | "changePassword_label" @@ -217,6 +221,7 @@ export type TranslationKeyType = | "clickToUpdate_msg" | "clientSuspensionWait_label" | "client_label" + | "closeImapImportSetup_action" | "closedSessions_label" | "closeSession_action" | "closeTemplate_action" @@ -232,6 +237,10 @@ export type TranslationKeyType = | "confidentialStatus_msg" | "confidential_action" | "configureCustomDomainAfterSignup_msg" + | "configureImapImport_title" + | "configureImapImportExplanation_msg" + | "configureImapImportNote_msg" + | "configureImapImportPostponed_msg" | "confirmCountry_msg" | "confirmCustomDomainDeletion_msg" | "confirmDeactivateCustomColors_msg" @@ -270,6 +279,7 @@ export type TranslationKeyType = | "contactView_action" | "contentBlocked_msg" | "content_label" + | "continueImapImport_action" | "continueSearchMailbox_msg" | "contractorInfo_msg" | "contractor_label" @@ -498,6 +508,10 @@ export type TranslationKeyType = | "enterDomainFieldHelp_label" | "enterDomainGetReady_msg" | "enterDomainIntroduction_msg" + | "enterImapImportCredentials_title" + | "enterImapImportCredentialsEncrypted_msg" + | "enterImapImportIntroduction_msg" + | "enterImapImportGetReady_msg" | "enterMissingPassword_msg" | "enterName_msg" | "enterPaymentDataFirst_msg" @@ -625,6 +639,34 @@ export type TranslationKeyType = | "htmlSourceCode_label" | "html_action" | "ignoreCase_alt" + | "imapAccountInvalid_msg" + | "imapAccountHost_helpLabel" + | "imapAccountHostNeutral_msg" + | "imapAccountHostInvalid_msg" + | "imapAccountPort_helpLabel" + | "imapAccountUsername_helpLabel" + | "imapAccountPassword_helpLabel" + | "imapAccountHost_label" + | "imapAccountPort_label" + | "imapAccountUsername_label" + | "imapAccountPassword_label" + | "imapImport_label" + | "imapImportRootMailFolderName_label" + | "imapImportRootMailFolderName_helpLabel" + | "imapImportRootMailFolderNameInvalid_msg" + | "imapImportSettings_label" + | "imapImportSetup_title" + | "imapImportStarted_title" + | "imapImportStartedExplanation_msg" + | "imapImportStartedNotify_msg" + | "imapImportStartedSuccess_msg" + | "imapImportStartedPostponed_msg" + | "imapImportStatusFinished_label" + | "imapImportStatusImportedMailCount_label" + | "imapImportStatusNotInitialized_label" + | "imapImportStatusPaused_label" + | "imapImportStatusPostponed_label" + | "imapImportStatusRunning_label" | "importCalendar_label" | "importContactsError_msg" | "importEndNotAfterStartInEvent_msg" @@ -669,6 +711,7 @@ export type TranslationKeyType = | "insufficientStorageUser_msg" | "insufficientStorageWarning_msg" | "interval_title" + | "initializingImapImport_msg" | "invalidBirthday_msg" | "invalidCnameRecord_msg" | "invalidDateFormat_msg" @@ -1028,6 +1071,7 @@ export type TranslationKeyType = | "password_label" | "paste_action" | "pathAlreadyExists_msg" + | "pauseImapImport_action" | "payCardContactBankError_msg" | "payCardExpiredError_msg" | "payCardInsufficientFundsError_msg" @@ -1380,6 +1424,7 @@ export type TranslationKeyType = | "settingsView_action" | "settings_label" | "setUp_action" + | "setUpImapImport_label" | "shareCalendarAcceptEmailBody_msg" | "shareCalendarAcceptEmailSubject_msg" | "shareCalendarDeclineEmailBody_msg" @@ -1443,6 +1488,8 @@ export type TranslationKeyType = | "spam_action" | "spelling_label" | "startAfterEnd_label" + | "startImapImport_action" + | "startingImapImport_msg" | "state_label" | "statisticsFieldsInfo_msg" | "statisticsFields_label" diff --git a/src/native/common/generatedipc/AdSyncEventType.ts b/src/native/common/generatedipc/AdSyncEventType.ts new file mode 100644 index 00000000000..56f33a218f9 --- /dev/null +++ b/src/native/common/generatedipc/AdSyncEventType.ts @@ -0,0 +1,3 @@ +/* generated file, don't edit. */ + +export { AdSyncEventType } from "../../../desktop/imapimport/adsync/AdSyncEventListener.js" diff --git a/src/native/common/generatedipc/DesktopGlobalDispatcher.ts b/src/native/common/generatedipc/DesktopGlobalDispatcher.ts index 47f9cfe4e8d..eb02fe503b5 100644 --- a/src/native/common/generatedipc/DesktopGlobalDispatcher.ts +++ b/src/native/common/generatedipc/DesktopGlobalDispatcher.ts @@ -8,6 +8,8 @@ import { ExportFacade } from "./ExportFacade.js" import { ExportFacadeReceiveDispatcher } from "./ExportFacadeReceiveDispatcher.js" import { FileFacade } from "./FileFacade.js" import { FileFacadeReceiveDispatcher } from "./FileFacadeReceiveDispatcher.js" +import { ImapImportSystemFacade } from "./ImapImportSystemFacade.js" +import { ImapImportSystemFacadeReceiveDispatcher } from "./ImapImportSystemFacadeReceiveDispatcher.js" import { InterWindowEventFacade } from "./InterWindowEventFacade.js" import { InterWindowEventFacadeReceiveDispatcher } from "./InterWindowEventFacadeReceiveDispatcher.js" import { NativeCredentialsFacade } from "./NativeCredentialsFacade.js" @@ -32,6 +34,7 @@ export class DesktopGlobalDispatcher { private readonly desktopSystemFacade: DesktopSystemFacadeReceiveDispatcher private readonly exportFacade: ExportFacadeReceiveDispatcher private readonly fileFacade: FileFacadeReceiveDispatcher + private readonly imapImportSystemFacade: ImapImportSystemFacadeReceiveDispatcher private readonly interWindowEventFacade: InterWindowEventFacadeReceiveDispatcher private readonly nativeCredentialsFacade: NativeCredentialsFacadeReceiveDispatcher private readonly nativeCryptoFacade: NativeCryptoFacadeReceiveDispatcher @@ -46,6 +49,7 @@ export class DesktopGlobalDispatcher { desktopSystemFacade: DesktopSystemFacade, exportFacade: ExportFacade, fileFacade: FileFacade, + imapImportSystemFacade: ImapImportSystemFacade, interWindowEventFacade: InterWindowEventFacade, nativeCredentialsFacade: NativeCredentialsFacade, nativeCryptoFacade: NativeCryptoFacade, @@ -60,6 +64,7 @@ export class DesktopGlobalDispatcher { this.desktopSystemFacade = new DesktopSystemFacadeReceiveDispatcher(desktopSystemFacade) this.exportFacade = new ExportFacadeReceiveDispatcher(exportFacade) this.fileFacade = new FileFacadeReceiveDispatcher(fileFacade) + this.imapImportSystemFacade = new ImapImportSystemFacadeReceiveDispatcher(imapImportSystemFacade) this.interWindowEventFacade = new InterWindowEventFacadeReceiveDispatcher(interWindowEventFacade) this.nativeCredentialsFacade = new NativeCredentialsFacadeReceiveDispatcher(nativeCredentialsFacade) this.nativeCryptoFacade = new NativeCryptoFacadeReceiveDispatcher(nativeCryptoFacade) @@ -81,6 +86,8 @@ export class DesktopGlobalDispatcher { return this.exportFacade.dispatch(methodName, args) case "FileFacade": return this.fileFacade.dispatch(methodName, args) + case "ImapImportSystemFacade": + return this.imapImportSystemFacade.dispatch(methodName, args) case "InterWindowEventFacade": return this.interWindowEventFacade.dispatch(methodName, args) case "NativeCredentialsFacade": diff --git a/src/native/common/generatedipc/ImapError.ts b/src/native/common/generatedipc/ImapError.ts new file mode 100644 index 00000000000..16ca0922e9f --- /dev/null +++ b/src/native/common/generatedipc/ImapError.ts @@ -0,0 +1,3 @@ +/* generated file, don't edit. */ + +export { ImapError } from "../../../desktop/imapimport/adsync/imapmail/ImapError.js" diff --git a/src/native/common/generatedipc/ImapImportFacade.ts b/src/native/common/generatedipc/ImapImportFacade.ts new file mode 100644 index 00000000000..c17eb64593e --- /dev/null +++ b/src/native/common/generatedipc/ImapImportFacade.ts @@ -0,0 +1,41 @@ +/* generated file, don't edit. */ + +import { ImapMailbox } from "./ImapMailbox.js" +import { AdSyncEventType } from "./AdSyncEventType.js" +import { ImapMailboxStatus } from "./ImapMailboxStatus.js" +import { ImapMail } from "./ImapMail.js" +import { ImapError } from "./ImapError.js" +/** + * Facade implemented by the web worker, receiving IMAP import events. + */ +export interface ImapImportFacade { + /** + * onMailbox IMAP import event. + */ + onMailbox(imapMailbox: ImapMailbox, eventType: AdSyncEventType): Promise + + /** + * onMailboxStatus IMAP import event. + */ + onMailboxStatus(imapMailboxStatus: ImapMailboxStatus): Promise + + /** + * onMail IMAP import event. + */ + onMail(imapMail: ImapMail, eventType: AdSyncEventType): Promise + + /** + * onPostpone IMAP import event. + */ + onPostpone(postponedUntil: Date): Promise + + /** + * onFinish IMAP import event. + */ + onFinish(downloadedQuota: number): Promise + + /** + * onError IMAP import event. + */ + onError(imapError: ImapError): Promise +} diff --git a/src/native/common/generatedipc/ImapImportFacadeReceiveDispatcher.ts b/src/native/common/generatedipc/ImapImportFacadeReceiveDispatcher.ts new file mode 100644 index 00000000000..c07ce24a281 --- /dev/null +++ b/src/native/common/generatedipc/ImapImportFacadeReceiveDispatcher.ts @@ -0,0 +1,42 @@ +/* generated file, don't edit. */ + +import { ImapMailbox } from "./ImapMailbox.js" +import { AdSyncEventType } from "./AdSyncEventType.js" +import { ImapMailboxStatus } from "./ImapMailboxStatus.js" +import { ImapMail } from "./ImapMail.js" +import { ImapError } from "./ImapError.js" +import { ImapImportFacade } from "./ImapImportFacade.js" + +export class ImapImportFacadeReceiveDispatcher { + constructor(private readonly facade: ImapImportFacade) {} + async dispatch(method: string, arg: Array): Promise { + switch (method) { + case "onMailbox": { + const imapMailbox: ImapMailbox = arg[0] + const eventType: AdSyncEventType = arg[1] + return this.facade.onMailbox(imapMailbox, eventType) + } + case "onMailboxStatus": { + const imapMailboxStatus: ImapMailboxStatus = arg[0] + return this.facade.onMailboxStatus(imapMailboxStatus) + } + case "onMail": { + const imapMail: ImapMail = arg[0] + const eventType: AdSyncEventType = arg[1] + return this.facade.onMail(imapMail, eventType) + } + case "onPostpone": { + const postponedUntil: Date = arg[0] + return this.facade.onPostpone(postponedUntil) + } + case "onFinish": { + const downloadedQuota: number = arg[0] + return this.facade.onFinish(downloadedQuota) + } + case "onError": { + const imapError: ImapError = arg[0] + return this.facade.onError(imapError) + } + } + } +} diff --git a/src/native/common/generatedipc/ImapImportFacadeSendDispatcher.ts b/src/native/common/generatedipc/ImapImportFacadeSendDispatcher.ts new file mode 100644 index 00000000000..9f2161ad030 --- /dev/null +++ b/src/native/common/generatedipc/ImapImportFacadeSendDispatcher.ts @@ -0,0 +1,28 @@ +/* generated file, don't edit. */ + +import { ImapImportFacade } from "./ImapImportFacade.js" + +interface NativeInterface { + invokeNative(requestType: string, args: unknown[]): Promise +} +export class ImapImportFacadeSendDispatcher implements ImapImportFacade { + constructor(private readonly transport: NativeInterface) {} + async onMailbox(...args: Parameters) { + return this.transport.invokeNative("ipc", ["ImapImportFacade", "onMailbox", ...args]) + } + async onMailboxStatus(...args: Parameters) { + return this.transport.invokeNative("ipc", ["ImapImportFacade", "onMailboxStatus", ...args]) + } + async onMail(...args: Parameters) { + return this.transport.invokeNative("ipc", ["ImapImportFacade", "onMail", ...args]) + } + async onPostpone(...args: Parameters) { + return this.transport.invokeNative("ipc", ["ImapImportFacade", "onPostpone", ...args]) + } + async onFinish(...args: Parameters) { + return this.transport.invokeNative("ipc", ["ImapImportFacade", "onFinish", ...args]) + } + async onError(...args: Parameters) { + return this.transport.invokeNative("ipc", ["ImapImportFacade", "onError", ...args]) + } +} diff --git a/src/native/common/generatedipc/ImapImportSystemFacade.ts b/src/native/common/generatedipc/ImapImportSystemFacade.ts new file mode 100644 index 00000000000..f6474c2d3ae --- /dev/null +++ b/src/native/common/generatedipc/ImapImportSystemFacade.ts @@ -0,0 +1,17 @@ +/* generated file, don't edit. */ + +import { ImapSyncState } from "./ImapSyncState.js" +/** + * Facade implemented by the native desktop client starting and stopping an IMAP import. + */ +export interface ImapImportSystemFacade { + /** + * Start the IMAP import. + */ + startImport(imapSyncState: ImapSyncState): Promise + + /** + * Stop a running IMAP import. + */ + stopImport(): Promise +} diff --git a/src/native/common/generatedipc/ImapImportSystemFacadeReceiveDispatcher.ts b/src/native/common/generatedipc/ImapImportSystemFacadeReceiveDispatcher.ts new file mode 100644 index 00000000000..453b41525fe --- /dev/null +++ b/src/native/common/generatedipc/ImapImportSystemFacadeReceiveDispatcher.ts @@ -0,0 +1,19 @@ +/* generated file, don't edit. */ + +import { ImapSyncState } from "./ImapSyncState.js" +import { ImapImportSystemFacade } from "./ImapImportSystemFacade.js" + +export class ImapImportSystemFacadeReceiveDispatcher { + constructor(private readonly facade: ImapImportSystemFacade) {} + async dispatch(method: string, arg: Array): Promise { + switch (method) { + case "startImport": { + const imapSyncState: ImapSyncState = arg[0] + return this.facade.startImport(imapSyncState) + } + case "stopImport": { + return this.facade.stopImport() + } + } + } +} diff --git a/src/native/common/generatedipc/ImapImportSystemFacadeSendDispatcher.ts b/src/native/common/generatedipc/ImapImportSystemFacadeSendDispatcher.ts new file mode 100644 index 00000000000..9e5a350cfea --- /dev/null +++ b/src/native/common/generatedipc/ImapImportSystemFacadeSendDispatcher.ts @@ -0,0 +1,16 @@ +/* generated file, don't edit. */ + +import { ImapImportSystemFacade } from "./ImapImportSystemFacade.js" + +interface NativeInterface { + invokeNative(requestType: string, args: unknown[]): Promise +} +export class ImapImportSystemFacadeSendDispatcher implements ImapImportSystemFacade { + constructor(private readonly transport: NativeInterface) {} + async startImport(...args: Parameters) { + return this.transport.invokeNative("ipc", ["ImapImportSystemFacade", "startImport", ...args]) + } + async stopImport(...args: Parameters) { + return this.transport.invokeNative("ipc", ["ImapImportSystemFacade", "stopImport", ...args]) + } +} diff --git a/src/native/common/generatedipc/ImapMail.ts b/src/native/common/generatedipc/ImapMail.ts new file mode 100644 index 00000000000..b55e46d086a --- /dev/null +++ b/src/native/common/generatedipc/ImapMail.ts @@ -0,0 +1,3 @@ +/* generated file, don't edit. */ + +export { ImapMail } from "../../../desktop/imapimport/adsync/imapmail/ImapMail.js" diff --git a/src/native/common/generatedipc/ImapMailbox.ts b/src/native/common/generatedipc/ImapMailbox.ts new file mode 100644 index 00000000000..c51d411bff6 --- /dev/null +++ b/src/native/common/generatedipc/ImapMailbox.ts @@ -0,0 +1,3 @@ +/* generated file, don't edit. */ + +export { ImapMailbox } from "../../../desktop/imapimport/adsync/imapmail/ImapMailbox.js" diff --git a/src/native/common/generatedipc/ImapMailboxStatus.ts b/src/native/common/generatedipc/ImapMailboxStatus.ts new file mode 100644 index 00000000000..d3bdbf6a6cd --- /dev/null +++ b/src/native/common/generatedipc/ImapMailboxStatus.ts @@ -0,0 +1,3 @@ +/* generated file, don't edit. */ + +export { ImapMailboxStatus } from "../../../desktop/imapimport/adsync/imapmail/ImapMailbox.js" diff --git a/src/native/common/generatedipc/ImapSyncState.ts b/src/native/common/generatedipc/ImapSyncState.ts new file mode 100644 index 00000000000..64be3c6bfcf --- /dev/null +++ b/src/native/common/generatedipc/ImapSyncState.ts @@ -0,0 +1,3 @@ +/* generated file, don't edit. */ + +export { ImapSyncState } from "../../../desktop/imapimport/adsync/ImapSyncState.js" diff --git a/src/native/common/generatedipc/WebGlobalDispatcher.ts b/src/native/common/generatedipc/WebGlobalDispatcher.ts index ae1b216bc37..0aaff5545f9 100644 --- a/src/native/common/generatedipc/WebGlobalDispatcher.ts +++ b/src/native/common/generatedipc/WebGlobalDispatcher.ts @@ -4,6 +4,8 @@ import { CommonNativeFacade } from "./CommonNativeFacade.js" import { CommonNativeFacadeReceiveDispatcher } from "./CommonNativeFacadeReceiveDispatcher.js" import { DesktopFacade } from "./DesktopFacade.js" import { DesktopFacadeReceiveDispatcher } from "./DesktopFacadeReceiveDispatcher.js" +import { ImapImportFacade } from "./ImapImportFacade.js" +import { ImapImportFacadeReceiveDispatcher } from "./ImapImportFacadeReceiveDispatcher.js" import { InterWindowEventFacade } from "./InterWindowEventFacade.js" import { InterWindowEventFacadeReceiveDispatcher } from "./InterWindowEventFacadeReceiveDispatcher.js" import { MobileFacade } from "./MobileFacade.js" @@ -12,16 +14,19 @@ import { MobileFacadeReceiveDispatcher } from "./MobileFacadeReceiveDispatcher.j export class WebGlobalDispatcher { private readonly commonNativeFacade: CommonNativeFacadeReceiveDispatcher private readonly desktopFacade: DesktopFacadeReceiveDispatcher + private readonly imapImportFacade: ImapImportFacadeReceiveDispatcher private readonly interWindowEventFacade: InterWindowEventFacadeReceiveDispatcher private readonly mobileFacade: MobileFacadeReceiveDispatcher constructor( commonNativeFacade: CommonNativeFacade, desktopFacade: DesktopFacade, + imapImportFacade: ImapImportFacade, interWindowEventFacade: InterWindowEventFacade, mobileFacade: MobileFacade, ) { this.commonNativeFacade = new CommonNativeFacadeReceiveDispatcher(commonNativeFacade) this.desktopFacade = new DesktopFacadeReceiveDispatcher(desktopFacade) + this.imapImportFacade = new ImapImportFacadeReceiveDispatcher(imapImportFacade) this.interWindowEventFacade = new InterWindowEventFacadeReceiveDispatcher(interWindowEventFacade) this.mobileFacade = new MobileFacadeReceiveDispatcher(mobileFacade) } @@ -32,6 +37,8 @@ export class WebGlobalDispatcher { return this.commonNativeFacade.dispatch(methodName, args) case "DesktopFacade": return this.desktopFacade.dispatch(methodName, args) + case "ImapImportFacade": + return this.imapImportFacade.dispatch(methodName, args) case "InterWindowEventFacade": return this.interWindowEventFacade.dispatch(methodName, args) case "MobileFacade": diff --git a/src/native/main/NativeInterfaceFactory.ts b/src/native/main/NativeInterfaceFactory.ts index 3ed573ff1fc..b08ab4bc894 100644 --- a/src/native/main/NativeInterfaceFactory.ts +++ b/src/native/main/NativeInterfaceFactory.ts @@ -30,6 +30,7 @@ import { InterWindowEventFacadeSendDispatcher } from "../common/generatedipc/Int import { SqlCipherFacade } from "../common/generatedipc/SqlCipherFacade.js" import { SqlCipherFacadeSendDispatcher } from "../common/generatedipc/SqlCipherFacadeSendDispatcher.js" import { LoginController } from "../../api/main/LoginController.js" +import { ImapImportFacade } from "../common/generatedipc/ImapImportFacade.js" export type NativeInterfaces = { native: NativeInterfaceMain @@ -55,6 +56,7 @@ export type DesktopInterfaces = { export function createNativeInterfaces( mobileFacade: MobileFacade, desktopFacade: DesktopFacade, + imapImportFacade: ImapImportFacade, interWindowEventFacade: InterWindowEventFacade, commonNativeFacade: CommonNativeFacade, cryptoFacade: CryptoFacade, @@ -66,7 +68,7 @@ export function createNativeInterfaces( throw new ProgrammingError("Tried to make native interfaces in non-native") } - const dispatcher = new WebGlobalDispatcher(commonNativeFacade, desktopFacade, interWindowEventFacade, mobileFacade) + const dispatcher = new WebGlobalDispatcher(commonNativeFacade, desktopFacade, imapImportFacade, interWindowEventFacade, mobileFacade) const native = new NativeInterfaceMain(dispatcher) const nativePushFacadeSendDispatcher = new NativePushFacadeSendDispatcher(native) const pushService = new NativePushServiceApp(nativePushFacadeSendDispatcher, logins, cryptoFacade, entityClient, deviceConfig, calendarFacade) diff --git a/src/settings/SettingsView.ts b/src/settings/SettingsView.ts index 9993731a253..15bbe001661 100644 --- a/src/settings/SettingsView.ts +++ b/src/settings/SettingsView.ts @@ -68,6 +68,7 @@ import { BackgroundColumnLayout } from "../gui/BackgroundColumnLayout.js" import { styles } from "../gui/styles.js" import { MobileHeader } from "../gui/MobileHeader.js" import { LazySearchBar } from "../misc/LazySearchBar.js" +import { ImapImportSettingsViewer } from "./imapimport/ImapImportSettingsViewer.js" assertMainOrNode() @@ -151,6 +152,15 @@ export class SettingsView extends BaseTopLevelView implements TopLevelView Icons.Import, + "imapImport", + () => new ImapImportSettingsViewer(), + undefined, + ), + ) } this._adminFolders = [] diff --git a/src/settings/imapimport/AddImapImportWizard.ts b/src/settings/imapimport/AddImapImportWizard.ts new file mode 100644 index 00000000000..465cb6616a0 --- /dev/null +++ b/src/settings/imapimport/AddImapImportWizard.ts @@ -0,0 +1,163 @@ +import stream from "mithril/stream" +import Stream from "mithril/stream" +import { createWizardDialog, wizardPageWrapper } from "../../gui/base/WizardDialog.js" +import { assertMainOrNode } from "../../api/common/Env" +import { EnterImapCredentialsPage, EnterImapCredentialsPageAttrs } from "./EnterImapCredentialsPage.js" +import { ConfigureImapImportPage, ConfigureImapImportPageAttrs } from "./ConfigureImapImportPage.js" +import { ImapImportState, ImportState } from "../../api/worker/imapimport/ImapImportState.js" +import { ImapImportStartedPage, ImapImportStartedPageAttrs } from "./ImapImportStartedPage.js" +import { TranslationKey } from "../../misc/LanguageViewModel.js" +import { isDomainName } from "../../misc/FormatValidator.js" + +assertMainOrNode() + +export type AddImapImportData = { + model: ImapImportModel +} + +export interface ImapImportModelConfig { + readonly imapAccountHost: string + readonly imapAccountPort: string + readonly imapAccountUsername: string + readonly imapAccountPassword: string + readonly rootImportMailFolderName: string +} + +export class ImapImportModel { + private _imapAccountHost: stream + private _imapAccountPort: stream + private _imapAccountUsername: stream + private _imapAccountPassword: stream + private revealImapAccountPassword: boolean = false + private _rootImportMailFolderName: stream + private _imapImportState: ImapImportState + + constructor(readonly config: ImapImportModelConfig) { + this._imapAccountHost = stream(config.imapAccountHost) + this._imapAccountPort = stream(config.imapAccountPort) + this._imapAccountUsername = stream(config.imapAccountUsername) + this._imapAccountPassword = stream(config.imapAccountPassword) + this._rootImportMailFolderName = stream(config.rootImportMailFolderName) + this._imapImportState = new ImapImportState(ImportState.NOT_INITIALIZED) + } + + get imapAccountHost(): Stream { + return this._imapAccountHost + } + + set imapAccountHost(value: Stream) { + this._imapAccountHost = value + } + + get imapAccountPort(): Stream { + return this._imapAccountPort + } + + set imapAccountPort(value: Stream) { + this._imapAccountPort = value + } + + get imapAccountUsername(): Stream { + return this._imapAccountUsername + } + + set imapAccountUsername(value: Stream) { + this._imapAccountUsername = value + } + + get imapAccountPassword(): Stream { + return this._imapAccountPassword + } + + set imapAccountPassword(value: Stream) { + this._imapAccountPassword = value + } + + get rootImportMailFolderName(): Stream { + if (this._rootImportMailFolderName().length == 0) { + this._rootImportMailFolderName = stream("imap:" + this._imapAccountUsername()) + } + + return this._rootImportMailFolderName + } + + set rootImportMailFolderName(value: Stream) { + this._rootImportMailFolderName = value + } + + get imapImportState(): ImapImportState { + return this._imapImportState + } + + set imapImportState(value: ImapImportState) { + this._imapImportState = value + } + + toggleRevealImapAccountPassword(): void { + this.revealImapAccountPassword = !this.revealImapAccountPassword + } + + isImapAccountPasswordRevealed(): boolean { + return this.revealImapAccountPassword + } + + validateImapAccountHost(): TranslationKey | null { + let cleanHostName = this.imapAccountHost().toLocaleLowerCase().trim() + + if (!cleanHostName.length) { + return "imapAccountHostNeutral_msg" + } + + if (!isDomainName(cleanHostName)) { + return "imapAccountHostInvalid_msg" + } else { + return null + } + } + + validateImapAccount(): TranslationKey | null { + let hostErrorMsg = this.validateImapAccountHost() + + if (hostErrorMsg) { + return hostErrorMsg + } + + let port = this._imapAccountPort() + let username = this._imapAccountUsername() + let password = this._imapAccountPassword() + + if (port.length == 0 || username.length == 0 || password.length == 0) { + return "imapAccountInvalid_msg" + } else { + return null + } + } + + validateRootImportMailFolder(): TranslationKey | null { + let cleanRootImportFolderName = this._rootImportMailFolderName().toLocaleLowerCase().trim() + + if (cleanRootImportFolderName.length == 0) { + return "imapImportRootMailFolderNameInvalid_msg" + } else { + return null + } + } +} + +/** Shows a wizard for adding an IMAP import. */ +export function showAddImapImportWizard(addImapImportData: AddImapImportData): Promise { + const wizardPages = [ + wizardPageWrapper(EnterImapCredentialsPage, new EnterImapCredentialsPageAttrs(addImapImportData)), + wizardPageWrapper(ConfigureImapImportPage, new ConfigureImapImportPageAttrs(addImapImportData)), + wizardPageWrapper(ImapImportStartedPage, new ImapImportStartedPageAttrs(addImapImportData)), + ] + return new Promise((resolve) => { + const wizardBuilder = createWizardDialog(addImapImportData, wizardPages, () => { + resolve() + return Promise.resolve() + }) + const wizard = wizardBuilder.dialog + const wizardAttrs = wizardBuilder.attrs + wizard.show() + }) +} diff --git a/src/settings/imapimport/ConfigureImapImportPage.ts b/src/settings/imapimport/ConfigureImapImportPage.ts new file mode 100644 index 00000000000..2e90903d7ef --- /dev/null +++ b/src/settings/imapimport/ConfigureImapImportPage.ts @@ -0,0 +1,111 @@ +import m, { Children, Vnode, VnodeDOM } from "mithril" +import { TextField, TextFieldAttrs } from "../../gui/base/TextField.js" +import { Dialog } from "../../gui/base/Dialog" +import { lang, TranslationKey } from "../../misc/LanguageViewModel" +import type { WizardPageAttrs, WizardPageN } from "../../gui/base/WizardDialog.js" +import { emitWizardEvent, WizardEventType } from "../../gui/base/WizardDialog.js" +import { Button, ButtonType } from "../../gui/base/Button.js" +import { assertMainOrNode } from "../../api/common/Env" +import { InitializeImapImportParams } from "../../api/worker/imapimport/ImapImporter.js" +import { showProgressDialog } from "../../gui/dialogs/ProgressDialog.js" +import { locator } from "../../api/main/MainLocator.js" +import { ImapImportState, ImportState } from "../../api/worker/imapimport/ImapImportState.js" +import { AddImapImportData } from "./AddImapImportWizard.js" + +assertMainOrNode() + +const DEFAULT_IMAP_IMPORT_MAX_QUOTA = "2500000000" + +export class ConfigureImapImportPage implements WizardPageN { + private dom: HTMLElement | null = null + + oncreate(vnode: VnodeDOM>) { + this.dom = vnode.dom as HTMLElement + } + + view(vnode: Vnode>): Children { + const imapImportRootFolderNameAttrs: TextFieldAttrs = { + label: "imapImportRootMailFolderName_label", + value: vnode.attrs.data.model.rootImportMailFolderName(), + oninput: vnode.attrs.data.model.rootImportMailFolderName, + helpLabel: () => lang.get("imapImportRootMailFolderName_helpLabel"), + } + + return m("", [ + m("h4.mt-l.text-center", lang.get("configureImapImport_title")), + m("p.mt", lang.get("configureImapImportExplanation_msg")), + m("p.mt", lang.get("configureImapImportNote_msg")), + m(TextField, imapImportRootFolderNameAttrs), + m( + ".flex-center.full-width.pt-l.mb-l", + m( + "", + { + style: { + width: "260px", + }, + }, + m(Button, { + type: ButtonType.Login, + label: "startImapImport_action", + click: () => emitWizardEvent(this.dom as HTMLElement, WizardEventType.SHOWNEXTPAGE), + }), + ), + ), + ]) + } +} + +export class ConfigureImapImportPageAttrs implements WizardPageAttrs { + data: AddImapImportData + + constructor(imapImportData: AddImapImportData) { + this.data = imapImportData + } + + headerTitle(): string { + return lang.get("imapImportSetup_title") + } + + async nextAction(showErrorDialog: boolean = true): Promise { + const errorMsg = this.data.model.validateRootImportMailFolder() + + if (errorMsg) { + return showErrorDialog ? Dialog.message(errorMsg).then(() => false) : Promise.resolve(false) + } else { + let initializeImapImportParams: InitializeImapImportParams = { + host: this.data.model.imapAccountHost(), + port: this.data.model.imapAccountPort(), + username: this.data.model.imapAccountUsername(), + password: this.data.model.imapAccountPassword(), + accessToken: null, + maxQuota: DEFAULT_IMAP_IMPORT_MAX_QUOTA, + rootImportMailFolderName: this.data.model.rootImportMailFolderName(), + } + + this.data.model.imapImportState = await initializeAndContinueImapImport(initializeImapImportParams) + + if (this.data.model.imapImportState.state == ImportState.POSTPONED) { + let postponedErrorMsg = "imapImportStartedPostponed_msg" as TranslationKey + return showErrorDialog ? Dialog.message(postponedErrorMsg).then(() => true) : Promise.resolve(true) + } + + return Promise.resolve(true) + } + } + + isSkipAvailable(): boolean { + return false + } + + isEnabled(): boolean { + return true + } +} + +async function initializeAndContinueImapImport(initializeImportParams: InitializeImapImportParams): Promise { + return showProgressDialog( + "startingImapImport_msg", + locator.imapImporterFacade.initializeImport(initializeImportParams).then(() => locator.imapImporterFacade.continueImport()), + ) +} diff --git a/src/settings/imapimport/EnterImapCredentialsPage.ts b/src/settings/imapimport/EnterImapCredentialsPage.ts new file mode 100644 index 00000000000..6126db8634a --- /dev/null +++ b/src/settings/imapimport/EnterImapCredentialsPage.ts @@ -0,0 +1,136 @@ +import m, { Children, Vnode, VnodeDOM } from "mithril" +import { TextField, TextFieldAttrs, TextFieldType } from "../../gui/base/TextField.js" +import { Dialog } from "../../gui/base/Dialog" +import { lang } from "../../misc/LanguageViewModel" +import type { WizardPageAttrs, WizardPageN } from "../../gui/base/WizardDialog.js" +import { emitWizardEvent, WizardEventType } from "../../gui/base/WizardDialog.js" +import { Button, ButtonType } from "../../gui/base/Button.js" +import { assertMainOrNode } from "../../api/common/Env" +import { AddImapImportData, ImapImportModel } from "./AddImapImportWizard.js" +import { ToggleButton } from "../../gui/base/ToggleButton.js" +import { Icons } from "../../gui/base/icons/Icons.js" +import { ButtonSize } from "../../gui/base/ButtonSize.js" + +assertMainOrNode() + +export class EnterImapCredentialsPage implements WizardPageN { + private dom: HTMLElement | null = null + + oncreate(vnode: VnodeDOM>) { + this.dom = vnode.dom as HTMLElement + } + + view(vnode: Vnode>): Children { + const imapAccountHostAttrs: TextFieldAttrs = { + label: "imapAccountHost_label", + value: vnode.attrs.data.model.imapAccountHost(), + oninput: vnode.attrs.data.model.imapAccountHost, + helpLabel: () => { + const host = vnode.attrs.data.model.imapAccountHost() + const errorMsg = vnode.attrs.data.model.validateImapAccountHost() + + if (errorMsg) { + return lang.get(errorMsg) + } else { + return lang.get("imapAccountHost_helpLabel") + } + }, + } + const imapAccountPortAttrs: TextFieldAttrs = { + label: "imapAccountPort_label", + value: vnode.attrs.data.model.imapAccountPort(), + oninput: vnode.attrs.data.model.imapAccountPort, + helpLabel: () => { + const port = vnode.attrs.data.model.imapAccountPort() + + if (port.length > 0) { + return "" + } else { + return lang.get("imapAccountPort_helpLabel") + } + }, + } + const imapAccountUsernameAttrs: TextFieldAttrs = { + label: "imapAccountUsername_label", + value: vnode.attrs.data.model.imapAccountUsername(), + oninput: vnode.attrs.data.model.imapAccountUsername, + } + const imapAccountPasswordAttrs: TextFieldAttrs = { + label: "imapAccountPassword_label", + value: vnode.attrs.data.model.imapAccountPassword(), + oninput: vnode.attrs.data.model.imapAccountPassword, + type: vnode.attrs.data.model.isImapAccountPasswordRevealed() ? TextFieldType.Text : TextFieldType.Password, + injectionsRight: () => this.renderRevealIcon(vnode.attrs.data.model), + } + + return m("", [ + m("h4.mt-l.text-center", lang.get("enterImapImportCredentials_title")), + m("p.mt", lang.get("enterImapImportIntroduction_msg")), + m("p.mt", lang.get("enterImapImportGetReady_msg")), + m("p.mt", lang.get("enterImapImportCredentialsEncrypted_msg")), + m(TextField, imapAccountHostAttrs), + m(TextField, imapAccountPortAttrs), + m(TextField, imapAccountUsernameAttrs), + m(TextField, imapAccountPasswordAttrs), + m( + ".flex-center.full-width.pt-l.mb-l", + m( + "", + { + style: { + width: "260px", + }, + }, + m(Button, { + type: ButtonType.Login, + label: "next_action", + click: () => emitWizardEvent(this.dom as HTMLElement, WizardEventType.SHOWNEXTPAGE), + }), + ), + ), + ]) + } + + private renderRevealIcon(model: ImapImportModel): Children { + return m(ToggleButton, { + title: model ? "concealPassword_action" : "revealPassword_action", + toggled: model.isImapAccountPasswordRevealed(), + onToggled: (_, e) => { + model.toggleRevealImapAccountPassword() + e.stopPropagation() + }, + icon: model.isImapAccountPasswordRevealed() ? Icons.NoEye : Icons.Eye, + size: ButtonSize.Compact, + }) + } +} + +export class EnterImapCredentialsPageAttrs implements WizardPageAttrs { + data: AddImapImportData + + constructor(imapImportData: AddImapImportData) { + this.data = imapImportData + } + + headerTitle(): string { + return lang.get("imapImportSetup_title") + } + + nextAction(showErrorDialog: boolean = true): Promise { + const errorMsg = this.data.model.validateImapAccount() + + if (errorMsg) { + return showErrorDialog ? Dialog.message(errorMsg).then(() => false) : Promise.resolve(false) + } else { + return Promise.resolve(true) + } + } + + isSkipAvailable(): boolean { + return false + } + + isEnabled(): boolean { + return true + } +} diff --git a/src/settings/imapimport/ImapImportSettingsViewer.ts b/src/settings/imapimport/ImapImportSettingsViewer.ts new file mode 100644 index 00000000000..82149536bd5 --- /dev/null +++ b/src/settings/imapimport/ImapImportSettingsViewer.ts @@ -0,0 +1,221 @@ +import m, { Children } from "mithril" +import { assertMainOrNode } from "../../api/common/Env.js" +import { UpdatableSettingsViewer } from "../SettingsView.js" +import Stream from "mithril/stream" +import stream from "mithril/stream" +import { IconButton, IconButtonAttrs } from "../../gui/base/IconButton.js" +import { TextField, TextFieldAttrs } from "../../gui/base/TextField.js" +import { ButtonSize } from "../../gui/base/ButtonSize.js" +import { Icons } from "../../gui/base/icons/Icons.js" +import { lang, TranslationKey } from "../../misc/LanguageViewModel.js" +import { locator } from "../../api/main/MainLocator.js" +import { ImportImapAccount, ImportImapAccountSyncStateTypeRef } from "../../api/entities/tutanota/TypeRefs.js" +import { EntityUpdateData, isUpdateForTypeRef } from "../../api/main/EventController.js" +import { AddImapImportData, ImapImportModel, ImapImportModelConfig, showAddImapImportWizard } from "./AddImapImportWizard.js" +import { theme } from "../../gui/theme.js" +import { px } from "../../gui/size.js" +import { ImapImportState, ImportState } from "../../api/worker/imapimport/ImapImportState.js" +import { formatDateTime } from "../../misc/Formatter.js" + +assertMainOrNode() + +export class ImapImportSettingsViewer implements UpdatableSettingsViewer { + private importImapAccount: ImportImapAccount | null = null + private rootImportMailFolderName: string = "" + private imapAccountHost: Stream + private imapAccountPort: Stream + private imapAccountUsername: Stream + private stars: Stream + private importedMailCount: stream + private imapImportState: stream + + constructor() { + this.imapAccountHost = stream("") + this.imapAccountPort = stream("") + this.imapAccountUsername = stream("") + this.stars = stream("") + + this.importedMailCount = stream("0") + this.importedMailCount.map(m.redraw) + + this.imapImportState = stream(new ImapImportState(ImportState.NOT_INITIALIZED)) + this.imapImportState.map(m.redraw) + } + + oninit() { + this.requestImapImportAccountSyncState() + this.updateImapImportState() + } + + view(): Children { + const imapAccountHostAttrs: TextFieldAttrs = { + label: "imapAccountHost_label", + value: this.imapAccountHost(), + oninput: this.imapAccountHost, + disabled: true, + } + const imapAccountPortAttrs: TextFieldAttrs = { + label: "imapAccountPort_label", + value: this.imapAccountPort(), + oninput: this.imapAccountPort, + disabled: true, + } + const imapAccountUsernameAttrs: TextFieldAttrs = { + label: "imapAccountUsername_label", + value: this.imapAccountUsername(), + oninput: this.imapAccountUsername, + disabled: true, + } + const imapAccountPasswordAttrs: TextFieldAttrs = { + label: "imapAccountPassword_label", + value: this.stars(), + oninput: this.stars, + disabled: true, + } + + return [ + m("#user-settings.fill-absolute.scroll.plr-l.pb-xl", [ + this.renderImapImportSettingsLabel(), + m(TextField, imapAccountHostAttrs), + m(TextField, imapAccountPortAttrs), + m(TextField, imapAccountUsernameAttrs), + m(TextField, imapAccountPasswordAttrs), + this.imapImportState().state != ImportState.NOT_INITIALIZED ? this.renderImapImportStatusCard() : null, + ]), + ] + } + + private renderImapImportSettingsLabel(): Children { + const imapImportModelConfig: ImapImportModelConfig = { + imapAccountHost: this.importImapAccount?.host ?? "", + imapAccountPort: this.importImapAccount?.port ?? "", + imapAccountUsername: this.importImapAccount?.userName ?? "", + imapAccountPassword: this.importImapAccount?.password ?? "", + rootImportMailFolderName: this.rootImportMailFolderName ?? "", + } + + const model = new ImapImportModel(imapImportModelConfig) + + const addImapImportData: AddImapImportData = { + model: model, + } + + return [ + m(".flex-space-between.items-center.mt-l.mb-s", [ + m(".h4", lang.get("imapImportSettings_label")), + m(IconButton, { + title: "setUpImapImport_label", + click: () => showAddImapImportWizard(addImapImportData), + icon: Icons.Edit, + size: ButtonSize.Compact, + }), + ]), + ] + } + + private renderImapImportStatusCard(): Children { + const continueImapImportIconButtonAttrs: IconButtonAttrs = { + title: "continueImapImport_action", + icon: Icons.Play, + click: () => this.continueImapImport(), + size: ButtonSize.Normal, + } + + const pauseImapImportIconButtonAttrs: IconButtonAttrs = { + title: "pauseImapImport_action", + icon: Icons.Pause, + click: () => this.pauseImapImport(), + size: ButtonSize.Normal, + } + + return m( + ".border-radius-big", + { + style: { + border: `1px solid ${theme.content_accent}`, + backgroundColor: theme.content_bg, + marginTop: px(48), + padding: px(16), + }, + }, + [ + m("center.mb-s.text-center", [ + m( + ".h4.b.teamLabel.pl-s.pr-s.border-radius-big.mb-s", + lang.get(this.getReadableImapImportStatus(), { + "{postponedUntil}": formatDateTime(this.imapImportState().postponedUntil), + }), + ), + m( + ".h5", + lang.get("imapImportStatusImportedMailCount_label", { + "{importedMailCount}": this.importedMailCount(), + }), + ), + ]), + m("center", [ + this.imapImportState().state != ImportState.RUNNING ? m(IconButton, continueImapImportIconButtonAttrs) : null, + this.imapImportState().state == ImportState.RUNNING ? m(IconButton, pauseImapImportIconButtonAttrs) : null, + ]), + ], + ) + } + + private getReadableImapImportStatus(): TranslationKey { + switch (this.imapImportState().state) { + case ImportState.NOT_INITIALIZED: + return "imapImportStatusNotInitialized_label" + case ImportState.PAUSED: + return "imapImportStatusPaused_label" + case ImportState.RUNNING: + return "imapImportStatusRunning_label" + case ImportState.POSTPONED: + return "imapImportStatusPostponed_label" + case ImportState.FINISHED: + return "imapImportStatusFinished_label" + } + } + + private async continueImapImport() { + let newImapImportState = await locator.imapImporterFacade.continueImport() + this.imapImportState(newImapImportState) + } + + private async pauseImapImport() { + let newImapImportState = await locator.imapImporterFacade.pauseImport() + this.imapImportState(newImapImportState) + } + + private async requestImapImportAccountSyncState() { + const importImapAccountSyncState = await locator.imapImporterFacade.loadImportImapAccountSyncState() + const rootImportMailFolder = await locator.imapImporterFacade.loadRootImportFolder() + + this.importImapAccount = importImapAccountSyncState?.imapAccount ?? null + this.rootImportMailFolderName = rootImportMailFolder?.name ?? "" + + this.imapAccountHost(this.importImapAccount?.host ?? "") + this.imapAccountPort(this.importImapAccount?.port ?? "") + this.imapAccountUsername(this.importImapAccount?.userName ?? "") + this.stars(this.importImapAccount?.password ? "***" : "") + this.importedMailCount(importImapAccountSyncState?.importedMailCount ?? "0") + + m.redraw() + } + + private async updateImapImportState() { + let newImapImportState = await locator.imapImporterFacade.loadImapImportState() + this.imapImportState(newImapImportState) + + m.redraw() + } + + // TODO we should maybe track the importState on the server to allow the UI to be updated. + async entityEventsReceived(updates: ReadonlyArray): Promise { + for (const update of updates) { + if (isUpdateForTypeRef(ImportImapAccountSyncStateTypeRef, update)) { + this.requestImapImportAccountSyncState() + this.updateImapImportState() + } + } + } +} diff --git a/src/settings/imapimport/ImapImportStartedPage.ts b/src/settings/imapimport/ImapImportStartedPage.ts new file mode 100644 index 00000000000..827400257fc --- /dev/null +++ b/src/settings/imapimport/ImapImportStartedPage.ts @@ -0,0 +1,76 @@ +import m, { Children, Vnode, VnodeDOM } from "mithril" +import { lang } from "../../misc/LanguageViewModel" +import type { WizardPageAttrs, WizardPageN } from "../../gui/base/WizardDialog.js" +import { emitWizardEvent, WizardEventType } from "../../gui/base/WizardDialog.js" +import { Button, ButtonType } from "../../gui/base/Button.js" +import { assertMainOrNode } from "../../api/common/Env" +import { AddImapImportData } from "./AddImapImportWizard.js" +import { locator } from "../../api/main/MainLocator.js" + +assertMainOrNode() + +export class ImapImportStartedPage implements WizardPageN { + private dom: HTMLElement | null = null + + oncreate(vnode: VnodeDOM>) { + this.dom = vnode.dom as HTMLElement + } + + view(vnode: Vnode>): Children { + return m("", [ + m("h4.mt-l.text-center", lang.get("imapImportStarted_title")), + m( + "p.text-center", + lang.get("imapImportStartedSuccess_msg", { + "{externalImapAccountUsername}": vnode.attrs.data.model.imapAccountUsername(), + "{rootImportMailFolderName}": vnode.attrs.data.model.rootImportMailFolderName(), + }), + ), + m("p.text-center", lang.get("imapImportStartedExplanation_msg")), + m("p.text-center", lang.get("imapImportStartedNotify_msg")), + m( + ".flex-center.full-width.pt-l.mb-l", + m( + "", + { + style: { + width: "260px", + }, + }, + m(Button, { + type: ButtonType.Login, + label: "closeImapImportSetup_action", + click: () => emitWizardEvent(this.dom as HTMLElement, WizardEventType.SHOWNEXTPAGE), + }), + ), + ), + ]) + } +} + +export class ImapImportStartedPageAttrs implements WizardPageAttrs { + data: AddImapImportData + preventGoBack = true + hidePagingButtonForPage = true + + constructor(imapImportData: AddImapImportData) { + this.data = imapImportData + } + + headerTitle(): string { + return lang.get("imapImportSetup_title") + } + + async nextAction(showErrorDialog: boolean = true): Promise { + await locator.imapImporterFacade.continueImport() + return Promise.resolve(true) + } + + isSkipAvailable(): boolean { + return false + } + + isEnabled(): boolean { + return true + } +} diff --git a/src/translations/en.ts b/src/translations/en.ts index b871addade3..2e1bcbaa906 100644 --- a/src/translations/en.ts +++ b/src/translations/en.ts @@ -212,6 +212,10 @@ export default { "certificateTypeManual_label": "Manual", "certificateType_label": "Certificate type", "changeAdminPassword_msg": "Sorry, you are not allowed to change other admin's passwords.", + "changeImapAccountHost_label": "change IMAP host", + "changeImapAccountPort_label": "change IMAP port", + "changeImapAccountUsername_label": "change IMAP username", + "changeImapAccountPassword_label": "change IMAP password", "changeMailSettings_msg": "You may later change your decision in the email settings.", "changePasswordCode_msg": "Your verification code: ", "changePassword_label": "Change password", @@ -233,6 +237,7 @@ export default { "clickToUpdate_msg": "Click here to update.", "clientSuspensionWait_label": "The server is processing your request, please be patient.", "client_label": "Client", + "closeImapImportSetup_action": "Close setup", "closedSessions_label": "Closed sessions", "closeSession_action": "Close session", "closeTemplate_action": "Close the templates popup", @@ -248,6 +253,9 @@ export default { "confidentialStatus_msg": "This message will be sent end-to-end encrypted.", "confidential_action": "Confidential", "configureCustomDomainAfterSignup_msg": "Custom domains can be configured once the account is created:\n", + "configureImapImport_title": "Configure IMAP import", + "configureImapImportExplanation_msg": "When importing IMAP emails into Tutanota, a new IMAP import folder is created. This folder includes all subfolders available in the email account you want to import from.", + "configureImapImportNote_msg": "Note: Changing the name of the import folder for an already active import, triggers a complete re-download of all email data.", "confirmCountry_msg": "To calculate the value added tax we need you to confirm your country: {1}.", "confirmCustomDomainDeletion_msg": "Are you sure you want to remove the custom email domain \"{domain}\"?", "confirmDeactivateCustomColors_msg": "Would you really like to deactivate your custom colors?", @@ -287,6 +295,7 @@ export default { "contentBlocked_msg": "Automatic image loading has been blocked to protect your privacy.", "content_label": "Content", "continueSearchMailbox_msg": "To execute this search we have to download more emails from the server which may take some time.", + "continueImapImport_action": "Continue IMAP import.", "contractorInfo_msg": "Please fill in the contractor's name (company) and address.", "contractor_label": "Contractor", "conversationViewPref_label": "Conversation thread", @@ -514,6 +523,10 @@ export default { "enterDomainFieldHelp_label": "With this custom email domain you can create email addresses like hello@{domain}.", "enterDomainGetReady_msg": "You will need to make changes to your DNS configuration. Please open a new browser window and log in to the administration panel of your domain provider to apply changes when necessary. This setup wizard will show you which DNS records are required for each step.", "enterDomainIntroduction_msg": "With Tutanota you can use your custom email domain in just a few steps.", + "enterImapImportCredentials_title": "Enter your IMAP credentials", + "enterImapImportCredentialsEncrypted_msg": "Your IMAP credentials are stored end-to-end encrypted within your Tutanota account.", + "enterImapImportIntroduction_msg": "With Tutanota you can import emails from your external email account in just a few steps.", + "enterImapImportGetReady_msg": "Please enter the IMAP credentials of the email account you want to import from. Please make sure that IMAP connections are enabled for the account. If not, please check with your external email service provider whether IMAP connections can be enabled.", "enterMissingPassword_msg": "No password detected. Please enter a password.", "enterName_msg": "Please enter a name.", "enterPaymentDataFirst_msg": "Please first enter your payment data before ordering additional packages.", @@ -641,6 +654,34 @@ export default { "htmlSourceCode_label": "HTML source code", "html_action": "HTML", "ignoreCase_alt": "Ignore case", + "imapAccountInvalid_msg": "Please enter the IMAP credentials for the email account you want to import from.", + "imapAccountHost_helpLabel": "This IMAP mail server looks valid.", + "imapAccountHostNeutral_msg": "Please enter the IMAP mail server (e.g. imap.example.com) you want to import emails from.", + "imapAccountHostInvalid_msg": "The IMAP mail server you have entered is invalid.", + "imapAccountPort_helpLabel": "Please enter the port (usually 993) of your IMAP mail server you want to import emails from.", + "imapAccountUsername_helpLabel": "Your or email address or username for the email account you want to import emails from.", + "imapAccountPassword_helpLabel": "Your password for the email account you want to import emails from.", + "imapAccountHost_label": "IMAP mail server", + "imapAccountPort_label": "Port", + "imapAccountUsername_label": "Email or Username", + "imapAccountPassword_label": "Password", + "imapImport_label": "IMAP import", + "imapImportRootMailFolderName_label": "Import folder name", + "imapImportRootMailFolderName_helpLabel": "Please enter a name for the newly created IMAP import folder. Your emails will be imported to this folder.", + "imapImportRootMailFolderNameInvalid_msg": "This import folder can not be used.", + "imapImportSettings_label": "IMAP import settings", + "imapImportSetup_title": "IMAP import setup", + "imapImportStarted_title": "IMAP import in progress 🎉", + "imapImportStartedExplanation_msg": "Usually importing IMAP emails is really fast. Though, large imports can take several days.", + "imapImportStartedNotify_msg": "We will notify you when your import is finished.", + "imapImportStartedSuccess_msg": "Importing your emails from {externalImapAccountUsername} to {rootImportMailFolderName}.", + "imapImportStartedPostponed_msg": "The IMAP import has been set up correctly, but emails cannot be imported at the moment, since the IMAP mail server postponed the import. The import will be started automatically when the IMAP mail server is ready.", + "imapImportStatusFinished_label": "Finished", + "imapImportStatusImportedMailCount_label": " {importedMailCount} Emails imported", + "imapImportStatusNotInitialized_label": "Not initialized", + "imapImportStatusPaused_label": "Paused", + "imapImportStatusPostponed_label": "Postponed until {postponedUntil}", + "imapImportStatusRunning_label": "Running", "importCalendar_label": "Importing calendar", "importContactsError_msg": "{amount} of {total} contacts could not be imported.", "importEndNotAfterStartInEvent_msg": "{amount} of {total} events don't have their start date before their end date and will not be imported.", @@ -685,6 +726,7 @@ export default { "insufficientStorageUser_msg": "Your storage limit has been exceeded. You can no longer receive or send emails.", "insufficientStorageWarning_msg": "Your mailbox has nearly reached the storage limit. Please free some storage by deleting content from your mailbox or upgrade to a larger plan.", "interval_title": "Interval", + "initializingImapImport_msg": "Initializing IMAP import ...", "invalidBirthday_msg": "Invalid birthday. Please update the value of the birthday field.", "invalidCnameRecord_msg": "The CNAME record for this domain is not set correctly.", "invalidDateFormat_msg": "Invalid format. Valid: {1}. Year is optional.", @@ -1044,6 +1086,7 @@ export default { "password_label": "Password", "paste_action": "Paste", "pathAlreadyExists_msg": "This path already exists.", + "pauseImapImport_action": "Pause IMAP import.", "payCardContactBankError_msg": "Sorry, the payment transaction was rejected by your bank. Please make sure that your credit card details are correct or contact your bank.", "payCardExpiredError_msg": "Sorry, the credit card has expired. Please update your payment details.", "payCardInsufficientFundsError_msg": "Sorry, the payment transaction was rejected due to insufficient funds.", @@ -1396,6 +1439,7 @@ export default { "settingsView_action": "Switch to the settings view", "settings_label": "Settings", "setUp_action": "Set up", + "setUpImapImport_label": "Set up IMAP import", "shareCalendarAcceptEmailBody_msg": "Hello {recipientName},
{invitee} has accepted your invitation to participate in the calendar \"{calendarName}\".

This is an automated message.", "shareCalendarAcceptEmailSubject_msg": "Calendar invitation accepted", "shareCalendarDeclineEmailBody_msg": "Hello {recipientName},
{invitee} has not accepted your invitation to participate in the calendar \"{calendarName}\".

This is an automated message.", @@ -1459,6 +1503,8 @@ export default { "spam_action": "Spam", "spelling_label": "Spelling", "startAfterEnd_label": "The start date must not be after the end date.", + "startImapImport_action": "Start IMAP import", + "startingImapImport_msg": "Starting IMAP import ...", "state_label": "Status", "statisticsFieldsInfo_msg": "Statistics data can be entered optionally. The data from all contact forms is collected in one place and can be exported as CSV.", "statisticsFields_label": "Statistics fields", diff --git a/test/tests/desktop/ApplicationWindowTest.ts b/test/tests/desktop/ApplicationWindowTest.ts index 6efa0ca37a9..9d0bf7e4b4a 100644 --- a/test/tests/desktop/ApplicationWindowTest.ts +++ b/test/tests/desktop/ApplicationWindowTest.ts @@ -289,6 +289,7 @@ o.spec("ApplicationWindow Test", function () { interWindowEventSender: object(), desktopFacade: object(), commonNativeFacade: object(), + imapImportFacade: object(), } when(remoteBridge.createBridge(anything())).thenReturn(sendingFacades) return { diff --git a/test/tests/desktop/imapimport/adsync/ImapAdSyncTest.ts b/test/tests/desktop/imapimport/adsync/ImapAdSyncTest.ts new file mode 100644 index 00000000000..7e6a5194e8e --- /dev/null +++ b/test/tests/desktop/imapimport/adsync/ImapAdSyncTest.ts @@ -0,0 +1,19 @@ +import o from "ospec" +import { ImapAdSync } from "../../../../../src/desktop/imapimport/adsync/ImapAdSync.js" +import { ImapAccount, ImapMailboxState, ImapSyncState } from "../../../../../src/desktop/imapimport/adsync/ImapSyncState.js" + +o.spec("ImapAdSyncTest", function () { + let imapAdSync: ImapAdSync + + o.beforeEach(function () { + let imapAccount = new ImapAccount("192.168.178.83", 25, "johannes") + imapAccount.password = "Wsw6r6dzEH7Y9mDJ" + let mailboxStates = [new ImapMailboxState("\\Drafts", new Map())] + let imapSyncState = new ImapSyncState(imapAccount, 2500, mailboxStates, new Map()) + let imapAdSync = new ImapAdSync(this) + }) + + o.only("trigger AdSyncEventListener onMail event", async function () { + // TODO write some test cases + }) +}) diff --git a/tsconfig.json b/tsconfig.json index 836c706f417..abb58e4294b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "outDir": "build/dist", "incremental": true }, - "include": ["src/", "libs/*.ts", "types/*.d.ts"], + "include": ["src/", "libs/*.ts", "types/*.d.ts", "node_modules/imapflow/lib/types.d.ts"], "references": [ { "path": "./packages/tutanota-utils" From 7f7bb3b8ed170423db2420ba465e80973d059a45 Mon Sep 17 00:00:00 2001 From: jhm Date: Thu, 11 May 2023 20:26:48 +0200 Subject: [PATCH 2/9] Add full support for IMAP QRESYNC feature --- src/desktop/imapimport/adsync/ImapAdSync.ts | 14 +-- .../imapimport/adsync/ImapSyncSession.ts | 14 +-- .../adsync/ImapSyncSessionProcess.ts | 109 +++++++++++------- .../adsync/utils/DifferentialUidLoader.ts | 24 ++-- 4 files changed, 92 insertions(+), 69 deletions(-) diff --git a/src/desktop/imapimport/adsync/ImapAdSync.ts b/src/desktop/imapimport/adsync/ImapAdSync.ts index c3c69180ef0..931073b72b7 100644 --- a/src/desktop/imapimport/adsync/ImapAdSync.ts +++ b/src/desktop/imapimport/adsync/ImapAdSync.ts @@ -1,4 +1,4 @@ -import { AdSyncEventListener } from "./AdSyncEventListener.js" +import { AdSyncEventListener, AdSyncEventType } from "./AdSyncEventListener.js" import { ImapSyncSession } from "./ImapSyncSession.js" import { ImapSyncState } from "./ImapSyncState.js" @@ -7,7 +7,8 @@ const defaultAdSyncConfig: AdSyncConfig = { isEnableDownloadBatchSizeOptimizer: true, parallelProcessesOptimizationDifference: 2, downloadBatchSizeOptimizationDifference: 100, - isEnableImapQresync: false, + emitAdSyncEventTypes: new Set([AdSyncEventType.CREATE, AdSyncEventType.UPDATE, AdSyncEventType.DELETE]), + isEnableImapQresync: true, } export interface AdSyncConfig { @@ -15,13 +16,10 @@ export interface AdSyncConfig { isEnableDownloadBatchSizeOptimizer: boolean parallelProcessesOptimizationDifference: number downloadBatchSizeOptimizationDifference: number + emitAdSyncEventTypes: Set isEnableImapQresync: boolean } -// TODO evaluation -// const impap_conf = JSON.parse(process.env["IMAP_IMPORT_SETTINGS"]) -// impap_conf.value === 3 - export class ImapAdSync { private syncSession: ImapSyncSession @@ -29,8 +27,8 @@ export class ImapAdSync { this.syncSession = new ImapSyncSession(adSyncEventListener, adSyncConfig) } - async startAdSync(imapSyncState: ImapSyncState, isIncludeMailUpdates: boolean = true): Promise { - return this.syncSession.startSyncSession(imapSyncState, isIncludeMailUpdates) + async startAdSync(imapSyncState: ImapSyncState): Promise { + return this.syncSession.startSyncSession(imapSyncState) } async stopAdSync(): Promise { diff --git a/src/desktop/imapimport/adsync/ImapSyncSession.ts b/src/desktop/imapimport/adsync/ImapSyncSession.ts index 8d266a11578..c0318f7b724 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSession.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSession.ts @@ -37,7 +37,6 @@ export class ImapSyncSession implements SyncSessionEventListener { private adSyncConfig: AdSyncConfig private state: SyncSessionState private imapSyncState?: ImapSyncState - private isIncludeMailUpdates: boolean = false private adSyncOptimizer?: AdSyncProcessesOptimizer private runningSyncSessionProcesses: Map = new Map() private downloadedQuotas: number[] = [] @@ -48,11 +47,10 @@ export class ImapSyncSession implements SyncSessionEventListener { this.state = SyncSessionState.PAUSED } - async startSyncSession(imapSyncState: ImapSyncState, isIncludeMailUpdates: boolean): Promise { + async startSyncSession(imapSyncState: ImapSyncState): Promise { if (this.state != SyncSessionState.RUNNING) { this.state = SyncSessionState.RUNNING this.imapSyncState = imapSyncState - this.isIncludeMailUpdates = isIncludeMailUpdates this.runningSyncSessionProcesses = new Map() this.downloadedQuotas = [] this.runSyncSession() @@ -197,17 +195,11 @@ export class ImapSyncSession implements SyncSessionEventListener { nextMailboxToDownload, this.adSyncConfig.downloadBatchSizeOptimizationDifference, ) - let syncSessionProcess = new ImapSyncSessionProcess( - processId, - adSyncDownloadBlatchSizeOptimizer, - this.adSyncOptimizer, - this.adSyncConfig, - this.isIncludeMailUpdates, - ) + let syncSessionProcess = new ImapSyncSessionProcess(processId, adSyncDownloadBlatchSizeOptimizer, this.adSyncOptimizer, this.adSyncConfig) this.runningSyncSessionProcesses.set(syncSessionProcess.processId, syncSessionProcess) syncSessionProcess.startSyncSessionProcess(this.imapSyncState.imapAccount, this.adSyncEventListener).then((state) => { - if (state == SyncSessionProcessState.CONNECTION_FAILED_NO) { + if (state == SyncSessionProcessState.CONNECTION_FAILED_REJECTED) { this.adSyncOptimizer?.forceStopSyncSessionProcess(processId, true) } else if (state == SyncSessionProcessState.CONNECTION_FAILED_UNKNOWN) { this.adSyncOptimizer?.forceStopSyncSessionProcess(processId, false) diff --git a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts index 21f2f942bb3..2b0a0e03459 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts @@ -2,7 +2,6 @@ import { ImapSyncSessionMailbox } from "./ImapSyncSessionMailbox.js" import { AdSyncEventListener, AdSyncEventType } from "./AdSyncEventListener.js" import { ImapAccount, ImapMailIds } from "./ImapSyncState.js" import { ImapMail } from "./imapmail/ImapMail.js" -// @ts-ignore // TODO define types import { AdSyncDownloadBatchSizeOptimizer } from "./optimizer/AdSyncDownloadBatchSizeOptimizer.js" import { ImapError } from "./imapmail/ImapError.js" import { ImapMailbox, ImapMailboxStatus } from "./imapmail/ImapMailbox.js" @@ -10,15 +9,14 @@ import { AdSyncConfig } from "./ImapAdSync.js" import { AdSyncProcessesOptimizerEventListener } from "./optimizer/processesoptimizer/AdSyncProcessesOptimizer.js" import { DifferentialUidLoader, UID_FETCH_REQUEST_WAIT_TIME, UidFetchRequestType } from "./utils/DifferentialUidLoader.js" import { setTimeout } from "node:timers/promises" - -const { ImapFlow } = require("imapflow") +import { ImapFlow } from "imapflow" export enum SyncSessionProcessState { NOT_STARTED, STOPPED, RUNNING, CONNECTION_FAILED_UNKNOWN, - CONNECTION_FAILED_NO, + CONNECTION_FAILED_REJECTED, } export class ImapSyncSessionProcess { @@ -28,20 +26,17 @@ export class ImapSyncSessionProcess { private adSyncOptimizer: AdSyncDownloadBatchSizeOptimizer private adSyncProcessesOptimizerEventListener: AdSyncProcessesOptimizerEventListener private adSyncConfig: AdSyncConfig - private isIncludeMailUpdates: boolean constructor( processId: number, adSyncOptimizer: AdSyncDownloadBatchSizeOptimizer, adSyncProcessesOptimizerEventListener: AdSyncProcessesOptimizerEventListener, adSyncConfig: AdSyncConfig, - isIncludeMailUpdates: boolean, ) { this.processId = processId this.adSyncOptimizer = adSyncOptimizer this.adSyncProcessesOptimizerEventListener = adSyncProcessesOptimizerEventListener this.adSyncConfig = adSyncConfig - this.isIncludeMailUpdates = isIncludeMailUpdates } async startSyncSessionProcess(imapAccount: ImapAccount, adSyncEventListener: AdSyncEventListener): Promise { @@ -58,10 +53,11 @@ export class ImapSyncSessionProcess { pass: imapAccount.password, accessToken: imapAccount.accessToken, }, - // @ts-ignore - qresync: this.adSyncConfig.isEnableImapQresync, // TODO add type definitions + qresync: this.adSyncConfig.isEnableImapQresync, }) + this.setupImapFlowErrorHandler(imapClient, adSyncEventListener) + try { await imapClient.connect() if (this.state == SyncSessionProcessState.NOT_STARTED) { @@ -69,11 +65,11 @@ export class ImapSyncSessionProcess { this.state = SyncSessionProcessState.RUNNING } } catch (error) { - // TODO we most probably did run in a rate limit - // TODO QRESYNC is an issue if the import got postponed, but we have a new modseq somehow and did not finish loading all emails for this modseq ... - // https://www.rfc-editor.org/rfc/rfc7162.html#section-3.1.4 - // modsequences should therefore only be used once the complete fetch call is finished ... update in batch --> otherwise cancel batch - this.state = SyncSessionProcessState.CONNECTION_FAILED_NO + if (error.message.match("(NO|BAD)")) { + this.state = SyncSessionProcessState.CONNECTION_FAILED_REJECTED + } else { + this.state = SyncSessionProcessState.CONNECTION_FAILED_UNKNOWN + } } return this.state } @@ -84,14 +80,15 @@ export class ImapSyncSessionProcess { return this.adSyncOptimizer.optimizedSyncSessionMailbox } - private async runSyncSessionProcess(imapClient: typeof ImapFlow, adSyncEventListener: AdSyncEventListener) { + private async runSyncSessionProcess(imapClient: ImapFlow, adSyncEventListener: AdSyncEventListener) { let isMailboxFinished = false try { + let imapQresyncImapMails: ImapMail[] = [] let highestModSeq = this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.highestModSeq // open mailbox readonly - let mailboxObject = await imapClient.mailboxOpen(this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.path, { readonly: true }) + let mailboxObject = await imapClient.mailboxOpen(this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.path, { readOnly: true }) // store ImapMailboxStatus let imapMailboxStatus = ImapMailboxStatus.fromImapFlowMailboxObject(mailboxObject) @@ -109,7 +106,7 @@ export class ImapSyncSessionProcess { openedImapMailbox, this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap, isEnableImapQresync, - this.isIncludeMailUpdates, + this.adSyncConfig.emitAdSyncEventTypes, ) differentialUidLoader @@ -118,7 +115,9 @@ export class ImapSyncSessionProcess { this.adSyncOptimizer.optimizedSyncSessionMailbox.downloadBatchSize, this.adSyncOptimizer.optimizedSyncSessionMailbox.mailCount, ) - .then((deletedUids) => this.handleDeletedUids(deletedUids, openedImapMailbox, adSyncEventListener)) + .then((deletedUids) => { + this.handleDeletedUids(deletedUids, openedImapMailbox, adSyncEventListener) + }) let fetchOptions = this.initFetchOptions(imapMailboxStatus, isEnableImapQresync) let nextUidFetchRequest = await differentialUidLoader.getNextUidFetchRequest(this.adSyncOptimizer.optimizedSyncSessionMailbox.downloadBatchSize) @@ -134,10 +133,12 @@ export class ImapSyncSessionProcess { this.adSyncOptimizer.optimizedSyncSessionMailbox.reportDownloadBatchSizeUsage(nextUidFetchRequest.usedDownloadBatchSize) let mailFetchStartTime = Date.now() + let mails = imapClient.fetch( nextUidFetchRequest.uidFetchSequenceString, { uid: true, + // @ts-ignore source: true, labels: true, size: true, @@ -148,6 +149,7 @@ export class ImapSyncSessionProcess { fetchOptions, ) + // @ts-ignore for await (const mail of mails) { if (this.state == SyncSessionProcessState.STOPPED) { await this.logout(imapClient, isMailboxFinished, mail.seq - 1) @@ -177,13 +179,17 @@ export class ImapSyncSessionProcess { imapMail.uid, new ImapMailIds(imapMail.uid), ) - adSyncEventListener.onMail(imapMail, AdSyncEventType.CREATE) + if (this.adSyncConfig.emitAdSyncEventTypes.has(AdSyncEventType.CREATE)) { + adSyncEventListener.onMail(imapMail, AdSyncEventType.CREATE) + } break case UidFetchRequestType.UPDATE: - adSyncEventListener.onMail(imapMail, AdSyncEventType.UPDATE) + if (this.adSyncConfig.emitAdSyncEventTypes.has(AdSyncEventType.UPDATE)) { + adSyncEventListener.onMail(imapMail, AdSyncEventType.UPDATE) + } break case UidFetchRequestType.QRESYNC: - this.handleQresyncFetchResult(imapMail, adSyncEventListener) + imapQresyncImapMails.push(imapMail) break } } else { @@ -194,6 +200,10 @@ export class ImapSyncSessionProcess { nextUidFetchRequest = await differentialUidLoader.getNextUidFetchRequest(this.adSyncOptimizer.optimizedSyncSessionMailbox.downloadBatchSize) } + if (isEnableImapQresync) { + this.handleQresyncFetchResult(imapQresyncImapMails, adSyncEventListener) + } + isMailboxFinished = true } catch (error: any) { adSyncEventListener.onError(new ImapError(error)) @@ -202,7 +212,7 @@ export class ImapSyncSessionProcess { } } - private async logout(imapClient: typeof ImapFlow, isMailboxFinished: boolean, lastFetchedMailSeq: number = 1) { + private async logout(imapClient: ImapFlow, isMailboxFinished: boolean, lastFetchedMailSeq: number = 0) { await imapClient.logout() if (isMailboxFinished) { @@ -232,33 +242,52 @@ export class ImapSyncSessionProcess { return fetchOptions } - // TODO handle Qresync delete events - private handleQresyncFetchResult(imapMail: ImapMail, adSyncEventListener: AdSyncEventListener) { - let isMailUpdate = this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.has(imapMail.uid) + private handleQresyncFetchResult(imapMails: ImapMail[], adSyncEventListener: AdSyncEventListener) { + imapMails.forEach((imapMail) => { + let isMailUpdate = this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.has(imapMail.uid) - if (isMailUpdate) { - adSyncEventListener.onMail(imapMail, AdSyncEventType.UPDATE) - } else { - this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.set(imapMail.uid, new ImapMailIds(imapMail.uid)) - adSyncEventListener.onMail(imapMail, AdSyncEventType.CREATE) - } + if (isMailUpdate && this.adSyncConfig.emitAdSyncEventTypes.has(AdSyncEventType.UPDATE)) { + adSyncEventListener.onMail(imapMail, AdSyncEventType.UPDATE) + } else if (this.adSyncConfig.emitAdSyncEventTypes.has(AdSyncEventType.CREATE)) { + this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.set(imapMail.uid, new ImapMailIds(imapMail.uid)) + adSyncEventListener.onMail(imapMail, AdSyncEventType.CREATE) + } + }) + } + + private updateMailboxState(imapMailboxStatus: ImapMailboxStatus) { + let mailboxState = this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState + mailboxState.uidValidity = imapMailboxStatus.uidValidity + mailboxState.uidNext = imapMailboxStatus.uidNext + mailboxState.highestModSeq = imapMailboxStatus.highestModSeq } private async handleDeletedUids(deletedUids: number[], openedImapMailbox: ImapMailbox, adSyncEventListener: AdSyncEventListener) { deletedUids.forEach((deletedUid) => { + this.emitImapMailDeleteEvent(deletedUid, openedImapMailbox, adSyncEventListener) + }) + } + + private setupImapFlowErrorHandler(imapClient: ImapFlow, adSyncEventListener: AdSyncEventListener) { + imapClient.on("error", (error) => { + adSyncEventListener.onError(new ImapError(error)) + this.logout(imapClient, false) + }) + } + + private setupImapFlowExpungeHandler(imapClient: ImapFlow, openedImapMailbox: ImapMailbox, adSyncEventListener: AdSyncEventListener) { + imapClient.on("expunge", (deletedMail) => { + this.emitImapMailDeleteEvent(deletedMail.uid, openedImapMailbox, adSyncEventListener) + }) + } + + private emitImapMailDeleteEvent(deletedUid: number, openedImapMailbox: ImapMailbox, adSyncEventListener: AdSyncEventListener) { + if (this.adSyncConfig.emitAdSyncEventTypes.has(AdSyncEventType.DELETE)) { let imapMail = new ImapMail(deletedUid, openedImapMailbox).setExternalMailId( this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.get(deletedUid), ) - this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.delete(deletedUid) adSyncEventListener.onMail(imapMail, AdSyncEventType.DELETE) - }) - } - - updateMailboxState(imapMailboxStatus: ImapMailboxStatus) { - let mailboxState = this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState - mailboxState.uidValidity = imapMailboxStatus.uidValidity - mailboxState.uidNext = imapMailboxStatus.uidNext - mailboxState.highestModSeq = imapMailboxStatus.highestModSeq + } } } diff --git a/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts b/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts index 16986091441..e922232aed9 100644 --- a/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts +++ b/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts @@ -1,5 +1,5 @@ import { ImapMailIds } from "../ImapSyncState.js" -import { AdSyncEventListener } from "../AdSyncEventListener.js" +import { AdSyncEventListener, AdSyncEventType } from "../AdSyncEventListener.js" import { ImapMailbox } from "../imapmail/ImapMailbox.js" import { ImapFlow } from "imapflow" @@ -18,7 +18,7 @@ export enum UidFetchRequestType { export const UID_FETCH_REQUEST_WAIT_TIME = 5000 // in ms export interface UidFetchRequest { - uidFetchSequenceString?: string + uidFetchSequenceString: string fetchRequestType: UidFetchRequestType usedDownloadBatchSize?: number } @@ -39,7 +39,7 @@ export class DifferentialUidLoader { private readonly openedImapMailbox: ImapMailbox private readonly importedUidToMailIdsMap: Map private readonly isEnableImapQresync: boolean - private readonly isIncludeMailUpdates: boolean + private readonly emitAdSyncEventTypes: Set constructor( imapClient: ImapFlow, @@ -47,14 +47,14 @@ export class DifferentialUidLoader { openedImapMailbox: ImapMailbox, importedUidToMailIdsMap: Map, isEnableImapQresync: boolean, - isIncludeMailUpdates: boolean, + emitAdSyncEventTypes: Set, ) { this.imapClient = imapClient this.adSyncEventListener = adSyncEventListener this.openedImapMailbox = openedImapMailbox this.importedUidToMailIdsMap = importedUidToMailIdsMap this.isEnableImapQresync = isEnableImapQresync - this.isIncludeMailUpdates = isIncludeMailUpdates + this.emitAdSyncEventTypes = emitAdSyncEventTypes } async calculateUidDiff(lastFetchedMailSeq: number, downloadBatchSize: number, totalMessageCount: number | null): Promise { @@ -71,9 +71,12 @@ export class DifferentialUidLoader { let seenUids = await this.calculateUidDiffInBatches(lastFetchedMailSeq + 1, downloadBatchSize, totalMessageCount) - let deletedUids = [...this.importedUidToMailIdsMap.keys()].filter((uid) => { - !seenUids.includes(uid) - }) + let deletedUids: number[] = [] + if (this.emitAdSyncEventTypes.has(AdSyncEventType.DELETE)) { + deletedUids = [...this.importedUidToMailIdsMap.keys()].filter((uid) => { + !seenUids.includes(uid) + }) + } this.uidDiffInProgress = false return deletedUids @@ -118,14 +121,15 @@ export class DifferentialUidLoader { let nextUidFetchRange: number[] let fetchRequestType: UidFetchRequestType - if (this.uidCreateQueue.length != 0) { + if (this.emitAdSyncEventTypes.has(AdSyncEventType.CREATE) && this.uidCreateQueue.length != 0) { nextUidFetchRange = this.uidCreateQueue.splice(0, downloadBatchSize) fetchRequestType = UidFetchRequestType.CREATE - } else if (this.isIncludeMailUpdates && this.uidUpdateQueue.length != 0) { + } else if (this.emitAdSyncEventTypes.has(AdSyncEventType.UPDATE) && this.uidUpdateQueue.length != 0) { nextUidFetchRange = this.uidUpdateQueue.splice(0, downloadBatchSize) fetchRequestType = UidFetchRequestType.UPDATE } else if (this.uidDiffInProgress) { return { + uidFetchSequenceString: "", fetchRequestType: UidFetchRequestType.WAIT, } } else { From 32a14b36f22a5c7399f10e3287d88d9ee805ba2a Mon Sep 17 00:00:00 2001 From: jhm Date: Sat, 13 May 2023 16:01:40 +0200 Subject: [PATCH 3/9] Add defaultDownloadBatchSize to AdSyncConfig --- src/desktop/imapimport/adsync/ImapAdSync.ts | 2 ++ src/desktop/imapimport/adsync/ImapSyncSession.ts | 4 ++-- src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts | 5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/desktop/imapimport/adsync/ImapAdSync.ts b/src/desktop/imapimport/adsync/ImapAdSync.ts index 931073b72b7..b78b2c54792 100644 --- a/src/desktop/imapimport/adsync/ImapAdSync.ts +++ b/src/desktop/imapimport/adsync/ImapAdSync.ts @@ -7,6 +7,7 @@ const defaultAdSyncConfig: AdSyncConfig = { isEnableDownloadBatchSizeOptimizer: true, parallelProcessesOptimizationDifference: 2, downloadBatchSizeOptimizationDifference: 100, + defaultDownloadBatchSize: 500, emitAdSyncEventTypes: new Set([AdSyncEventType.CREATE, AdSyncEventType.UPDATE, AdSyncEventType.DELETE]), isEnableImapQresync: true, } @@ -16,6 +17,7 @@ export interface AdSyncConfig { isEnableDownloadBatchSizeOptimizer: boolean parallelProcessesOptimizationDifference: number downloadBatchSizeOptimizationDifference: number + defaultDownloadBatchSize: number emitAdSyncEventTypes: Set isEnableImapQresync: boolean } diff --git a/src/desktop/imapimport/adsync/ImapSyncSession.ts b/src/desktop/imapimport/adsync/ImapSyncSession.ts index c0318f7b724..d440c1189c3 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSession.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSession.ts @@ -98,7 +98,7 @@ export class ImapSyncSession implements SyncSessionEventListener { } let knownMailboxes = this.imapSyncState.mailboxStates.map((mailboxState) => { - return new ImapSyncSessionMailbox(mailboxState) + return new ImapSyncSessionMailbox(mailboxState, this.adSyncConfig.defaultDownloadBatchSize) }) let imapAccount = this.imapSyncState.imapAccount @@ -161,7 +161,7 @@ export class ImapSyncSession implements SyncSessionEventListener { let syncSessionMailbox = knownMailboxes.find((value) => value.mailboxState.path == imapMailbox.path) if (syncSessionMailbox === undefined) { this.adSyncEventListener.onMailbox(imapMailbox, AdSyncEventType.CREATE) - syncSessionMailbox = new ImapSyncSessionMailbox(ImapMailboxState.fromImapMailbox(imapMailbox)) + syncSessionMailbox = new ImapSyncSessionMailbox(ImapMailboxState.fromImapMailbox(imapMailbox), this.adSyncConfig.defaultDownloadBatchSize) } if (imapMailbox.specialUse) { diff --git a/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts b/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts index d71a8e4d5a6..828bab5662a 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts @@ -19,9 +19,9 @@ export enum SyncSessionMailboxImportance { export class ImapSyncSessionMailbox { mailboxState: ImapMailboxState + downloadBatchSize: number mailCount: number | null = 0 timeToLiveInterval: number = 10 // in seconds - downloadBatchSize = 500 importance: SyncSessionMailboxImportance = SyncSessionMailboxImportance.MEDIUM lastFetchedMailSeq = 0 private _specialUse: ImapMailboxSpecialUse | null = null @@ -29,8 +29,9 @@ export class ImapSyncSessionMailbox { private averageThroughputInTimeIntervalHistory: Map = new Map() private downloadBatchSizeHistory: Map = new Map() - constructor(mailboxState: ImapMailboxState) { + constructor(mailboxState: ImapMailboxState, downloadBatchSize: number) { this.mailboxState = mailboxState + this.downloadBatchSize = downloadBatchSize } initSessionMailbox(mailCount?: number): void { From 91cf1cb36f47969fad978216653a7f2579867425 Mon Sep 17 00:00:00 2001 From: jhm Date: Sat, 13 May 2023 17:39:43 +0200 Subject: [PATCH 4/9] Do not calculate mail-diff if IMAP mailbox is empty --- desktop.js | 4 ++-- src/api/worker/imapimport/ImapImportState.ts | 2 ++ src/desktop/imapimport/adsync/AdSyncEventListener.ts | 2 ++ src/desktop/imapimport/adsync/ImapSyncSession.ts | 2 +- src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts | 5 +---- src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts | 9 +++++---- src/desktop/imapimport/adsync/ImapSyncState.ts | 6 ++++-- src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts | 2 ++ .../imapimport/adsync/utils/DifferentialUidLoader.ts | 4 ++++ 9 files changed, 23 insertions(+), 13 deletions(-) diff --git a/desktop.js b/desktop.js index f703a877cb1..6ba21ab5088 100644 --- a/desktop.js +++ b/desktop.js @@ -9,7 +9,6 @@ import { dirname } from "node:path" import { fileURLToPath } from "node:url" import { createHtml } from "./buildSrc/createHtml.js" import { Argument, program } from "commander" -import { checkOfflineDatabaseMigrations } from "./buildSrc/checkOfflineDbMigratons.js" const __dirname = dirname(fileURLToPath(import.meta.url)) @@ -52,7 +51,8 @@ async function doBuild(opts) { measure() const version = getTutanotaAppVersion() - await checkOfflineDatabaseMigrations() + // TOOD FIXME activate before release + //await checkOfflineDatabaseMigrations() if (opts.existing) { console.log("Found existing option (-e). Skipping Webapp build.") diff --git a/src/api/worker/imapimport/ImapImportState.ts b/src/api/worker/imapimport/ImapImportState.ts index 6c49e7bdb3b..16d3528b6a2 100644 --- a/src/api/worker/imapimport/ImapImportState.ts +++ b/src/api/worker/imapimport/ImapImportState.ts @@ -1,3 +1,5 @@ +//@bundleInto:common-min + export enum ImportState { NOT_INITIALIZED, RUNNING, diff --git a/src/desktop/imapimport/adsync/AdSyncEventListener.ts b/src/desktop/imapimport/adsync/AdSyncEventListener.ts index 833847abbce..e6b803bbe77 100644 --- a/src/desktop/imapimport/adsync/AdSyncEventListener.ts +++ b/src/desktop/imapimport/adsync/AdSyncEventListener.ts @@ -1,3 +1,5 @@ +//@bundleInto:common-min + import { ImapMailbox, ImapMailboxStatus } from "./imapmail/ImapMailbox.js" import { ImapMail } from "./imapmail/ImapMail.js" import { ImapError } from "./imapmail/ImapError.js" diff --git a/src/desktop/imapimport/adsync/ImapSyncSession.ts b/src/desktop/imapimport/adsync/ImapSyncSession.ts index d440c1189c3..fdfa8bf1db3 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSession.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSession.ts @@ -97,7 +97,7 @@ export class ImapSyncSession implements SyncSessionEventListener { throw new ProgrammingError("The ImapSyncState has not been set!") } - let knownMailboxes = this.imapSyncState.mailboxStates.map((mailboxState) => { + let knownMailboxes = this.imapSyncState.imapMailboxStates.map((mailboxState) => { return new ImapSyncSessionMailbox(mailboxState, this.adSyncConfig.defaultDownloadBatchSize) }) diff --git a/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts b/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts index 828bab5662a..162cf17ef0a 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts @@ -24,6 +24,7 @@ export class ImapSyncSessionMailbox { timeToLiveInterval: number = 10 // in seconds importance: SyncSessionMailboxImportance = SyncSessionMailboxImportance.MEDIUM lastFetchedMailSeq = 0 + private _specialUse: ImapMailboxSpecialUse | null = null private throughputHistory: Map = new Map() private averageThroughputInTimeIntervalHistory: Map = new Map() @@ -34,10 +35,6 @@ export class ImapSyncSessionMailbox { this.downloadBatchSize = downloadBatchSize } - initSessionMailbox(mailCount?: number): void { - this.mailCount = mailCount ? mailCount : null - } - get specialUse(): ImapMailboxSpecialUse | null { return this._specialUse } diff --git a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts index 2b0a0e03459..8b7a74c79cd 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts @@ -90,11 +90,10 @@ export class ImapSyncSessionProcess { // open mailbox readonly let mailboxObject = await imapClient.mailboxOpen(this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.path, { readOnly: true }) - // store ImapMailboxStatus + // emit ImapMailboxStatus and update SyncSessionMailbox let imapMailboxStatus = ImapMailboxStatus.fromImapFlowMailboxObject(mailboxObject) - this.updateMailboxState(imapMailboxStatus) - this.adSyncOptimizer.optimizedSyncSessionMailbox.initSessionMailbox(imapMailboxStatus.messageCount) adSyncEventListener.onMailboxStatus(imapMailboxStatus) + this.updateSyncSessionMailbox(imapMailboxStatus) let openedImapMailbox = ImapMailbox.fromSyncSessionMailbox(this.adSyncOptimizer.optimizedSyncSessionMailbox) let isEnableImapQresync = this.adSyncConfig.isEnableImapQresync && highestModSeq != null @@ -255,11 +254,13 @@ export class ImapSyncSessionProcess { }) } - private updateMailboxState(imapMailboxStatus: ImapMailboxStatus) { + private updateSyncSessionMailbox(imapMailboxStatus: ImapMailboxStatus) { let mailboxState = this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState mailboxState.uidValidity = imapMailboxStatus.uidValidity mailboxState.uidNext = imapMailboxStatus.uidNext mailboxState.highestModSeq = imapMailboxStatus.highestModSeq + + this.adSyncOptimizer.optimizedSyncSessionMailbox.mailCount = imapMailboxStatus.messageCount ?? null } private async handleDeletedUids(deletedUids: number[], openedImapMailbox: ImapMailbox, adSyncEventListener: AdSyncEventListener) { diff --git a/src/desktop/imapimport/adsync/ImapSyncState.ts b/src/desktop/imapimport/adsync/ImapSyncState.ts index 85a4230b73e..1cf457d68c9 100644 --- a/src/desktop/imapimport/adsync/ImapSyncState.ts +++ b/src/desktop/imapimport/adsync/ImapSyncState.ts @@ -1,3 +1,5 @@ +//@bundleInto:commin-min + import { ImapMailbox } from "./imapmail/ImapMailbox.js" export class ImapAccount { @@ -44,11 +46,11 @@ export class ImapMailboxState { export class ImapSyncState { imapAccount: ImapAccount maxQuota: number - mailboxStates: ImapMailboxState[] + imapMailboxStates: ImapMailboxState[] constructor(imapAccount: ImapAccount, maxQuata: number, mailboxStates: ImapMailboxState[]) { this.imapAccount = imapAccount this.maxQuota = maxQuata - this.mailboxStates = mailboxStates + this.imapMailboxStates = mailboxStates } } diff --git a/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts b/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts index bc6b0f1de02..d282f5ecfcc 100644 --- a/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts +++ b/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts @@ -1,3 +1,5 @@ +//@bundleInto:common-min + import { ImapSyncSessionMailbox } from "../ImapSyncSessionMailbox.js" export class ImapMailboxStatus { diff --git a/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts b/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts index e922232aed9..9c3241c0e08 100644 --- a/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts +++ b/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts @@ -85,6 +85,10 @@ export class DifferentialUidLoader { async calculateUidDiffInBatches(fromSeq: number, downloadBatchSize: number, totalMessageCount: number | null): Promise { let seenUids: number[] = [] + if (totalMessageCount == 0) { + return seenUids + } + let toSeq = fromSeq + downloadBatchSize let isFinalBatch = totalMessageCount == null || toSeq > totalMessageCount From d22161adf141cb5c12f0cf0cad164ff89d4c430c Mon Sep 17 00:00:00 2001 From: jhm Date: Tue, 23 May 2023 17:20:25 +0200 Subject: [PATCH 5/9] Copy imapflow and mailparser node modules to libs --- buildSrc/RollupConfig.js | 2 + buildSrc/updateLibs.js | 10 +- libs/imapflow.js | 41717 +++++++++++++++++++++++++++++++++++++ libs/mailparser.js | 38331 ++++++++++++++++++++++++++++++++++ 4 files changed, 80059 insertions(+), 1 deletion(-) create mode 100644 libs/imapflow.js create mode 100644 libs/mailparser.js diff --git a/buildSrc/RollupConfig.js b/buildSrc/RollupConfig.js index 78a3c7e6a0e..4d8c4c0d219 100644 --- a/buildSrc/RollupConfig.js +++ b/buildSrc/RollupConfig.js @@ -12,6 +12,8 @@ export const dependencyMap = { linkifyjs: path.normalize("./libs/linkify.js"), "linkifyjs/html": path.normalize("./libs/linkify-html.js"), cborg: path.normalize("./libs/cborg.js"), + imapflow: path.normalize("./libs/imapflow.js"), + mailparser: path.normalize("./libs/mailparser.js"), } /** diff --git a/buildSrc/updateLibs.js b/buildSrc/updateLibs.js index 7734ad86a32..d83a827652c 100644 --- a/buildSrc/updateLibs.js +++ b/buildSrc/updateLibs.js @@ -7,6 +7,9 @@ import fs from "fs-extra" import path, { dirname } from "node:path" import { fileURLToPath } from "node:url" import { rollup } from "rollup" +import commonjs from "@rollup/plugin-commonjs" +import { nodeResolve } from "@rollup/plugin-node-resolve" +import json from "@rollup/plugin-json" const __dirname = dirname(fileURLToPath(import.meta.url)) @@ -28,6 +31,8 @@ const clientDependencies = [ { src: "../node_modules/linkifyjs/dist/linkify-html.module.js", target: "linkify-html.js" }, "../node_modules/luxon/build/es6/luxon.js", { src: "../node_modules/cborg/esm/cborg.js", target: "cborg.js", rollup: true }, + { src: "../node_modules/imapflow/lib/imap-flow.js", target: "imapflow.js", rollup: true }, + { src: "../node_modules/mailparser/lib/mail-parser.js", target: "mailparser.js", rollup: true }, ] run() @@ -56,6 +61,9 @@ async function copyToLibs(files) { /** Will bundle starting at {@param src} into a single file at {@param target}. */ async function roll(src, target) { - const bundle = await rollup({ input: path.join(__dirname, src) }) + const bundle = await rollup({ + input: path.join(__dirname, src), + plugins: [json(), commonjs(), nodeResolve({ preferBuiltins: true })], + }) await bundle.write({ file: path.join(__dirname, "../libs", target) }) } diff --git a/libs/imapflow.js b/libs/imapflow.js new file mode 100644 index 00000000000..227c6f09463 --- /dev/null +++ b/libs/imapflow.js @@ -0,0 +1,41717 @@ +import require$$1$4 from 'tls'; +import require$$1$3 from 'net'; +import require$$2$3 from 'crypto'; +import require$$1$1 from 'events'; +import require$$0$6 from 'os'; +import require$$0$2 from 'vm'; +import require$$0$3 from 'fs'; +import require$$2$1 from 'util'; +import require$$3$1 from 'path'; +import require$$2$2 from 'worker_threads'; +import require$$0$5 from 'module'; +import require$$4$1 from 'url'; +import require$$0$4 from 'buffer'; +import require$$8 from 'assert'; +import require$$1$2 from 'string_decoder'; +import require$$0$7 from 'stream'; +import require$$6$1 from 'zlib'; +import require$$3$2 from 'dns'; + +var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; + +var imapFlow = {}; + +var pinoExports = {}; +var pino$1 = { + get exports(){ return pinoExports; }, + set exports(v){ pinoExports = v; }, +}; + +// ************************************************************** +// * Code initially copied/adapted from "pony-cause" npm module * +// * Please upstream improvements there * +// ************************************************************** + +const isErrorLike$2 = (err) => { + return err && typeof err.message === 'string' +}; + +/** + * @param {Error|{ cause?: unknown|(()=>err)}} err + * @returns {Error|Object|undefined} + */ +const getErrorCause = (err) => { + if (!err) return + + /** @type {unknown} */ + // @ts-ignore + const cause = err.cause; + + // VError / NError style causes + if (typeof cause === 'function') { + // @ts-ignore + const causeResult = err.cause(); + + return isErrorLike$2(causeResult) + ? causeResult + : undefined + } else { + return isErrorLike$2(cause) + ? cause + : undefined + } +}; + +/** + * Internal method that keeps a track of which error we have already added, to avoid circular recursion + * + * @private + * @param {Error} err + * @param {Set} seen + * @returns {string} + */ +const _stackWithCauses = (err, seen) => { + if (!isErrorLike$2(err)) return '' + + const stack = err.stack || ''; + + // Ensure we don't go circular or crazily deep + if (seen.has(err)) { + return stack + '\ncauses have become circular...' + } + + const cause = getErrorCause(err); + + if (cause) { + seen.add(err); + return (stack + '\ncaused by: ' + _stackWithCauses(cause, seen)) + } else { + return stack + } +}; + +/** + * @param {Error} err + * @returns {string} + */ +const stackWithCauses$1 = (err) => _stackWithCauses(err, new Set()); + +/** + * Internal method that keeps a track of which error we have already added, to avoid circular recursion + * + * @private + * @param {Error} err + * @param {Set} seen + * @param {boolean} [skip] + * @returns {string} + */ +const _messageWithCauses = (err, seen, skip) => { + if (!isErrorLike$2(err)) return '' + + const message = skip ? '' : (err.message || ''); + + // Ensure we don't go circular or crazily deep + if (seen.has(err)) { + return message + ': ...' + } + + const cause = getErrorCause(err); + + if (cause) { + seen.add(err); + + // @ts-ignore + const skipIfVErrorStyleCause = typeof err.cause === 'function'; + + return (message + + (skipIfVErrorStyleCause ? '' : ': ') + + _messageWithCauses(cause, seen, skipIfVErrorStyleCause)) + } else { + return message + } +}; + +/** + * @param {Error} err + * @returns {string} + */ +const messageWithCauses$1 = (err) => _messageWithCauses(err, new Set()); + +var errHelpers = { + isErrorLike: isErrorLike$2, + getErrorCause, + stackWithCauses: stackWithCauses$1, + messageWithCauses: messageWithCauses$1 +}; + +const seen$2 = Symbol('circular-ref-tag'); +const rawSymbol$2 = Symbol('pino-raw-err-ref'); + +const pinoErrProto$2 = Object.create({}, { + type: { + enumerable: true, + writable: true, + value: undefined + }, + message: { + enumerable: true, + writable: true, + value: undefined + }, + stack: { + enumerable: true, + writable: true, + value: undefined + }, + aggregateErrors: { + enumerable: true, + writable: true, + value: undefined + }, + raw: { + enumerable: false, + get: function () { + return this[rawSymbol$2] + }, + set: function (val) { + this[rawSymbol$2] = val; + } + } +}); +Object.defineProperty(pinoErrProto$2, rawSymbol$2, { + writable: true, + value: {} +}); + +var errProto = { + pinoErrProto: pinoErrProto$2, + pinoErrorSymbols: { + seen: seen$2, + rawSymbol: rawSymbol$2 + } +}; + +var err = errSerializer$1; + +const { messageWithCauses, stackWithCauses, isErrorLike: isErrorLike$1 } = errHelpers; +const { pinoErrProto: pinoErrProto$1, pinoErrorSymbols: pinoErrorSymbols$1 } = errProto; +const { seen: seen$1 } = pinoErrorSymbols$1; + +const { toString: toString$1 } = Object.prototype; + +function errSerializer$1 (err) { + if (!isErrorLike$1(err)) { + return err + } + + err[seen$1] = undefined; // tag to prevent re-looking at this + const _err = Object.create(pinoErrProto$1); + _err.type = toString$1.call(err.constructor) === '[object Function]' + ? err.constructor.name + : err.name; + _err.message = messageWithCauses(err); + _err.stack = stackWithCauses(err); + + if (Array.isArray(err.errors)) { + _err.aggregateErrors = err.errors.map(err => errSerializer$1(err)); + } + + for (const key in err) { + if (_err[key] === undefined) { + const val = err[key]; + if (isErrorLike$1(val)) { + // We append cause messages and stacks to _err, therefore skipping causes here + if (key !== 'cause' && !Object.prototype.hasOwnProperty.call(val, seen$1)) { + _err[key] = errSerializer$1(val); + } + } else { + _err[key] = val; + } + } + } + + delete err[seen$1]; // clean up tag in case err is serialized again later + _err.raw = err; + return _err +} + +var errWithCause = errWithCauseSerializer$1; + +const { isErrorLike } = errHelpers; +const { pinoErrProto, pinoErrorSymbols } = errProto; +const { seen } = pinoErrorSymbols; + +const { toString } = Object.prototype; + +function errWithCauseSerializer$1 (err) { + if (!isErrorLike(err)) { + return err + } + + err[seen] = undefined; // tag to prevent re-looking at this + const _err = Object.create(pinoErrProto); + _err.type = toString.call(err.constructor) === '[object Function]' + ? err.constructor.name + : err.name; + _err.message = err.message; + _err.stack = err.stack; + + if (Array.isArray(err.errors)) { + _err.aggregateErrors = err.errors.map(err => errWithCauseSerializer$1(err)); + } + + if (isErrorLike(err.cause) && !Object.prototype.hasOwnProperty.call(err.cause, seen)) { + _err.cause = errWithCauseSerializer$1(err.cause); + } + + for (const key in err) { + if (_err[key] === undefined) { + const val = err[key]; + if (isErrorLike(val)) { + if (!Object.prototype.hasOwnProperty.call(val, seen)) { + _err[key] = errWithCauseSerializer$1(val); + } + } else { + _err[key] = val; + } + } + } + + delete err[seen]; // clean up tag in case err is serialized again later + _err.raw = err; + return _err +} + +var req = { + mapHttpRequest: mapHttpRequest$1, + reqSerializer +}; + +const rawSymbol$1 = Symbol('pino-raw-req-ref'); +const pinoReqProto = Object.create({}, { + id: { + enumerable: true, + writable: true, + value: '' + }, + method: { + enumerable: true, + writable: true, + value: '' + }, + url: { + enumerable: true, + writable: true, + value: '' + }, + query: { + enumerable: true, + writable: true, + value: '' + }, + params: { + enumerable: true, + writable: true, + value: '' + }, + headers: { + enumerable: true, + writable: true, + value: {} + }, + remoteAddress: { + enumerable: true, + writable: true, + value: '' + }, + remotePort: { + enumerable: true, + writable: true, + value: '' + }, + raw: { + enumerable: false, + get: function () { + return this[rawSymbol$1] + }, + set: function (val) { + this[rawSymbol$1] = val; + } + } +}); +Object.defineProperty(pinoReqProto, rawSymbol$1, { + writable: true, + value: {} +}); + +function reqSerializer (req) { + // req.info is for hapi compat. + const connection = req.info || req.socket; + const _req = Object.create(pinoReqProto); + _req.id = (typeof req.id === 'function' ? req.id() : (req.id || (req.info ? req.info.id : undefined))); + _req.method = req.method; + // req.originalUrl is for expressjs compat. + if (req.originalUrl) { + _req.url = req.originalUrl; + } else { + const path = req.path; + // path for safe hapi compat. + _req.url = typeof path === 'string' ? path : (req.url ? req.url.path || req.url : undefined); + } + + if (req.query) { + _req.query = req.query; + } + + if (req.params) { + _req.params = req.params; + } + + _req.headers = req.headers; + _req.remoteAddress = connection && connection.remoteAddress; + _req.remotePort = connection && connection.remotePort; + // req.raw is for hapi compat/equivalence + _req.raw = req.raw || req; + return _req +} + +function mapHttpRequest$1 (req) { + return { + req: reqSerializer(req) + } +} + +var res = { + mapHttpResponse: mapHttpResponse$1, + resSerializer +}; + +const rawSymbol = Symbol('pino-raw-res-ref'); +const pinoResProto = Object.create({}, { + statusCode: { + enumerable: true, + writable: true, + value: 0 + }, + headers: { + enumerable: true, + writable: true, + value: '' + }, + raw: { + enumerable: false, + get: function () { + return this[rawSymbol] + }, + set: function (val) { + this[rawSymbol] = val; + } + } +}); +Object.defineProperty(pinoResProto, rawSymbol, { + writable: true, + value: {} +}); + +function resSerializer (res) { + const _res = Object.create(pinoResProto); + _res.statusCode = res.headersSent ? res.statusCode : null; + _res.headers = res.getHeaders ? res.getHeaders() : res._headers; + _res.raw = res; + return _res +} + +function mapHttpResponse$1 (res) { + return { + res: resSerializer(res) + } +} + +const errSerializer = err; +const errWithCauseSerializer = errWithCause; +const reqSerializers = req; +const resSerializers = res; + +var pinoStdSerializers = { + err: errSerializer, + errWithCause: errWithCauseSerializer, + mapHttpRequest: reqSerializers.mapHttpRequest, + mapHttpResponse: resSerializers.mapHttpResponse, + req: reqSerializers.reqSerializer, + res: resSerializers.resSerializer, + + wrapErrorSerializer: function wrapErrorSerializer (customSerializer) { + if (customSerializer === errSerializer) return customSerializer + return function wrapErrSerializer (err) { + return customSerializer(errSerializer(err)) + } + }, + + wrapRequestSerializer: function wrapRequestSerializer (customSerializer) { + if (customSerializer === reqSerializers.reqSerializer) return customSerializer + return function wrappedReqSerializer (req) { + return customSerializer(reqSerializers.reqSerializer(req)) + } + }, + + wrapResponseSerializer: function wrapResponseSerializer (customSerializer) { + if (customSerializer === resSerializers.resSerializer) return customSerializer + return function wrappedResSerializer (res) { + return customSerializer(resSerializers.resSerializer(res)) + } + } +}; + +function noOpPrepareStackTrace (_, stack) { + return stack +} + +var caller$1 = function getCallers () { + const originalPrepare = Error.prepareStackTrace; + Error.prepareStackTrace = noOpPrepareStackTrace; + const stack = new Error().stack; + Error.prepareStackTrace = originalPrepare; + + if (!Array.isArray(stack)) { + return undefined + } + + const entries = stack.slice(2); + + const fileNames = []; + + for (const entry of entries) { + if (!entry) { + continue + } + + fileNames.push(entry.getFileName()); + } + + return fileNames +}; + +const { createContext, runInContext } = require$$0$2; + +var validator_1 = validator$2; + +function validator$2 (opts = {}) { + const { + ERR_PATHS_MUST_BE_STRINGS = () => 'fast-redact - Paths must be (non-empty) strings', + ERR_INVALID_PATH = (s) => `fast-redact – Invalid path (${s})` + } = opts; + + return function validate ({ paths }) { + paths.forEach((s) => { + if (typeof s !== 'string') { + throw Error(ERR_PATHS_MUST_BE_STRINGS()) + } + try { + if (/〇/.test(s)) throw Error() + const proxy = new Proxy({}, { get: () => proxy, set: () => { throw Error() } }); + const expr = (s[0] === '[' ? '' : '.') + s.replace(/^\*/, '〇').replace(/\.\*/g, '.〇').replace(/\[\*\]/g, '[〇]'); + if (/\n|\r|;/.test(expr)) throw Error() + if (/\/\*/.test(expr)) throw Error() + runInContext(` + (function () { + 'use strict' + o${expr} + if ([o${expr}].length !== 1) throw Error() + })() + `, createContext({ o: proxy, 〇: null }), { + codeGeneration: { strings: false, wasm: false } + }); + } catch (e) { + throw Error(ERR_INVALID_PATH(s)) + } + }); + } +} + +var rx$4 = /[^.[\]]+|\[((?:.)*?)\]/g; + +const rx$3 = rx$4; + +var parse_1 = parse$1; + +function parse$1 ({ paths }) { + const wildcards = []; + var wcLen = 0; + const secret = paths.reduce(function (o, strPath, ix) { + var path = strPath.match(rx$3).map((p) => p.replace(/'|"|`/g, '')); + const leadingBracket = strPath[0] === '['; + path = path.map((p) => { + if (p[0] === '[') return p.substr(1, p.length - 2) + else return p + }); + const star = path.indexOf('*'); + if (star > -1) { + const before = path.slice(0, star); + const beforeStr = before.join('.'); + const after = path.slice(star + 1, path.length); + const nested = after.length > 0; + wcLen++; + wildcards.push({ + before, + beforeStr, + after, + nested + }); + } else { + o[strPath] = { + path: path, + val: undefined, + precensored: false, + circle: '', + escPath: JSON.stringify(strPath), + leadingBracket: leadingBracket + }; + } + return o + }, {}); + + return { wildcards, wcLen, secret } +} + +const rx$2 = rx$4; + +var redactor_1 = redactor$1; + +function redactor$1 ({ secret, serialize, wcLen, strict, isCensorFct, censorFctTakesPath }, state) { + /* eslint-disable-next-line */ + const redact = Function('o', ` + if (typeof o !== 'object' || o == null) { + ${strictImpl(strict, serialize)} + } + const { censor, secret } = this + ${redactTmpl(secret, isCensorFct, censorFctTakesPath)} + this.compileRestore() + ${dynamicRedactTmpl(wcLen > 0, isCensorFct, censorFctTakesPath)} + ${resultTmpl(serialize)} + `).bind(state); + + if (serialize === false) { + redact.restore = (o) => state.restore(o); + } + + return redact +} + +function redactTmpl (secret, isCensorFct, censorFctTakesPath) { + return Object.keys(secret).map((path) => { + const { escPath, leadingBracket, path: arrPath } = secret[path]; + const skip = leadingBracket ? 1 : 0; + const delim = leadingBracket ? '' : '.'; + const hops = []; + var match; + while ((match = rx$2.exec(path)) !== null) { + const [ , ix ] = match; + const { index, input } = match; + if (index > skip) hops.push(input.substring(0, index - (ix ? 0 : 1))); + } + var existence = hops.map((p) => `o${delim}${p}`).join(' && '); + if (existence.length === 0) existence += `o${delim}${path} != null`; + else existence += ` && o${delim}${path} != null`; + + const circularDetection = ` + switch (true) { + ${hops.reverse().map((p) => ` + case o${delim}${p} === censor: + secret[${escPath}].circle = ${JSON.stringify(p)} + break + `).join('\n')} + } + `; + + const censorArgs = censorFctTakesPath + ? `val, ${JSON.stringify(arrPath)}` + : `val`; + + return ` + if (${existence}) { + const val = o${delim}${path} + if (val === censor) { + secret[${escPath}].precensored = true + } else { + secret[${escPath}].val = val + o${delim}${path} = ${isCensorFct ? `censor(${censorArgs})` : 'censor'} + ${circularDetection} + } + } + ` + }).join('\n') +} + +function dynamicRedactTmpl (hasWildcards, isCensorFct, censorFctTakesPath) { + return hasWildcards === true ? ` + { + const { wildcards, wcLen, groupRedact, nestedRedact } = this + for (var i = 0; i < wcLen; i++) { + const { before, beforeStr, after, nested } = wildcards[i] + if (nested === true) { + secret[beforeStr] = secret[beforeStr] || [] + nestedRedact(secret[beforeStr], o, before, after, censor, ${isCensorFct}, ${censorFctTakesPath}) + } else secret[beforeStr] = groupRedact(o, before, censor, ${isCensorFct}, ${censorFctTakesPath}) + } + } + ` : '' +} + +function resultTmpl (serialize) { + return serialize === false ? `return o` : ` + var s = this.serialize(o) + this.restore(o) + return s + ` +} + +function strictImpl (strict, serialize) { + return strict === true + ? `throw Error('fast-redact: primitives cannot be redacted')` + : serialize === false ? `return o` : `return this.serialize(o)` +} + +var modifiers = { + groupRedact: groupRedact$1, + groupRestore: groupRestore$1, + nestedRedact: nestedRedact$1, + nestedRestore: nestedRestore$1 +}; + +function groupRestore$1 ({ keys, values, target }) { + if (target == null) return + const length = keys.length; + for (var i = 0; i < length; i++) { + const k = keys[i]; + target[k] = values[i]; + } +} + +function groupRedact$1 (o, path, censor, isCensorFct, censorFctTakesPath) { + const target = get(o, path); + if (target == null) return { keys: null, values: null, target: null, flat: true } + const keys = Object.keys(target); + const keysLength = keys.length; + const pathLength = path.length; + const pathWithKey = censorFctTakesPath ? [...path] : undefined; + const values = new Array(keysLength); + + for (var i = 0; i < keysLength; i++) { + const key = keys[i]; + values[i] = target[key]; + + if (censorFctTakesPath) { + pathWithKey[pathLength] = key; + target[key] = censor(target[key], pathWithKey); + } else if (isCensorFct) { + target[key] = censor(target[key]); + } else { + target[key] = censor; + } + } + return { keys, values, target, flat: true } +} + +function nestedRestore$1 (arr) { + const length = arr.length; + for (var i = 0; i < length; i++) { + const { key, target, value } = arr[i]; + if (has(target, key)) { + target[key] = value; + } + /* istanbul ignore else */ + if (typeof target === 'object') { + const targetKeys = Object.keys(target); + for (var j = 0; j < targetKeys.length; j++) { + const tKey = targetKeys[j]; + const subTarget = target[tKey]; + if (has(subTarget, key)) { + subTarget[key] = value; + } + } + } + } +} + +function nestedRedact$1 (store, o, path, ns, censor, isCensorFct, censorFctTakesPath) { + const target = get(o, path); + if (target == null) return + const keys = Object.keys(target); + const keysLength = keys.length; + for (var i = 0; i < keysLength; i++) { + const key = keys[i]; + const { value, parent, exists } = + specialSet(target, key, path, ns, censor, isCensorFct, censorFctTakesPath); + + if (exists === true && parent !== null) { + store.push({ key: ns[ns.length - 1], target: parent, value }); + } + } + return store +} + +function has (obj, prop) { + return obj !== undefined && obj !== null + ? ('hasOwn' in Object ? Object.hasOwn(obj, prop) : Object.prototype.hasOwnProperty.call(obj, prop)) + : false +} + +function specialSet (o, k, path, afterPath, censor, isCensorFct, censorFctTakesPath) { + const afterPathLen = afterPath.length; + const lastPathIndex = afterPathLen - 1; + const originalKey = k; + var i = -1; + var n; + var nv; + var ov; + var oov = null; + var exists = true; + var wc = null; + ov = n = o[k]; + if (typeof n !== 'object') return { value: null, parent: null, exists } + while (n != null && ++i < afterPathLen) { + k = afterPath[i]; + oov = ov; + if (k !== '*' && !wc && !(typeof n === 'object' && k in n)) { + exists = false; + break + } + if (k === '*') { + wc = k; + if (i !== lastPathIndex) { + continue + } + } + if (wc) { + const wcKeys = Object.keys(n); + for (var j = 0; j < wcKeys.length; j++) { + const wck = wcKeys[j]; + const wcov = n[wck]; + const kIsWc = k === '*'; + if (kIsWc || (typeof wcov === 'object' && wcov !== null && k in wcov)) { + if (kIsWc) { + ov = wcov; + } else { + ov = wcov[k]; + } + nv = (i !== lastPathIndex) + ? ov + : (isCensorFct + ? (censorFctTakesPath ? censor(ov, [...path, originalKey, ...afterPath]) : censor(ov)) + : censor); + if (kIsWc) { + n[wck] = nv; + } else { + if (wcov[k] === nv) { + exists = false; + } else { + wcov[k] = (nv === undefined && censor !== undefined) || (has(wcov, k) && nv === ov) ? wcov[k] : nv; + } + } + } + } + wc = null; + } else { + ov = n[k]; + nv = (i !== lastPathIndex) + ? ov + : (isCensorFct + ? (censorFctTakesPath ? censor(ov, [...path, originalKey, ...afterPath]) : censor(ov)) + : censor); + n[k] = (has(n, k) && nv === ov) || (nv === undefined && censor !== undefined) ? n[k] : nv; + n = n[k]; + } + if (typeof n !== 'object') break + // prevent circular structure, see https://github.com/pinojs/pino/issues/1513 + if (ov === oov) { + exists = false; + } + } + return { value: ov, parent: oov, exists } +} + +function get (o, p) { + var i = -1; + var l = p.length; + var n = o; + while (n != null && ++i < l) { + n = n[p[i]]; + } + return n +} + +const { groupRestore, nestedRestore } = modifiers; + +var restorer_1 = restorer$1; + +function restorer$1 ({ secret, wcLen }) { + return function compileRestore () { + if (this.restore) return + const paths = Object.keys(secret); + const resetters = resetTmpl(secret, paths); + const hasWildcards = wcLen > 0; + const state = hasWildcards ? { secret, groupRestore, nestedRestore } : { secret }; + /* eslint-disable-next-line */ + this.restore = Function( + 'o', + restoreTmpl(resetters, paths, hasWildcards) + ).bind(state); + } +} + +/** + * Mutates the original object to be censored by restoring its original values + * prior to censoring. + * + * @param {object} secret Compiled object describing which target fields should + * be censored and the field states. + * @param {string[]} paths The list of paths to censor as provided at + * initialization time. + * + * @returns {string} String of JavaScript to be used by `Function()`. The + * string compiles to the function that does the work in the description. + */ +function resetTmpl (secret, paths) { + return paths.map((path) => { + const { circle, escPath, leadingBracket } = secret[path]; + const delim = leadingBracket ? '' : '.'; + const reset = circle + ? `o.${circle} = secret[${escPath}].val` + : `o${delim}${path} = secret[${escPath}].val`; + const clear = `secret[${escPath}].val = undefined`; + return ` + if (secret[${escPath}].val !== undefined) { + try { ${reset} } catch (e) {} + ${clear} + } + ` + }).join('') +} + +/** + * Creates the body of the restore function + * + * Restoration of the redacted object happens + * backwards, in reverse order of redactions, + * so that repeated redactions on the same object + * property can be eventually rolled back to the + * original value. + * + * This way dynamic redactions are restored first, + * starting from the last one working backwards and + * followed by the static ones. + * + * @returns {string} the body of the restore function + */ +function restoreTmpl (resetters, paths, hasWildcards) { + const dynamicReset = hasWildcards === true ? ` + const keys = Object.keys(secret) + const len = keys.length + for (var i = len - 1; i >= ${paths.length}; i--) { + const k = keys[i] + const o = secret[k] + if (o.flat === true) this.groupRestore(o) + else this.nestedRestore(o) + secret[k] = null + } + ` : ''; + + return ` + const secret = this.secret + ${dynamicReset} + ${resetters} + return o + ` +} + +var state_1 = state$1; + +function state$1 (o) { + const { + secret, + censor, + compileRestore, + serialize, + groupRedact, + nestedRedact, + wildcards, + wcLen + } = o; + const builder = [{ secret, censor, compileRestore }]; + if (serialize !== false) builder.push({ serialize }); + if (wcLen > 0) builder.push({ groupRedact, nestedRedact, wildcards, wcLen }); + return Object.assign(...builder) +} + +const validator$1 = validator_1; +const parse = parse_1; +const redactor = redactor_1; +const restorer = restorer_1; +const { groupRedact, nestedRedact } = modifiers; +const state = state_1; +const rx$1 = rx$4; +const validate$1 = validator$1(); +const noop$5 = (o) => o; +noop$5.restore = noop$5; + +const DEFAULT_CENSOR = '[REDACTED]'; +fastRedact$1.rx = rx$1; +fastRedact$1.validator = validator$1; + +var fastRedact_1 = fastRedact$1; + +function fastRedact$1 (opts = {}) { + const paths = Array.from(new Set(opts.paths || [])); + const serialize = 'serialize' in opts ? ( + opts.serialize === false ? opts.serialize + : (typeof opts.serialize === 'function' ? opts.serialize : JSON.stringify) + ) : JSON.stringify; + const remove = opts.remove; + if (remove === true && serialize !== JSON.stringify) { + throw Error('fast-redact – remove option may only be set when serializer is JSON.stringify') + } + const censor = remove === true + ? undefined + : 'censor' in opts ? opts.censor : DEFAULT_CENSOR; + + const isCensorFct = typeof censor === 'function'; + const censorFctTakesPath = isCensorFct && censor.length > 1; + + if (paths.length === 0) return serialize || noop$5 + + validate$1({ paths, serialize, censor }); + + const { wildcards, wcLen, secret } = parse({ paths, censor }); + + const compileRestore = restorer({ secret, wcLen }); + const strict = 'strict' in opts ? opts.strict : true; + + return redactor({ secret, wcLen, serialize, strict, isCensorFct, censorFctTakesPath }, state({ + secret, + censor, + compileRestore, + serialize, + groupRedact, + nestedRedact, + wildcards, + wcLen + })) +} + +const setLevelSym$2 = Symbol('pino.setLevel'); +const getLevelSym$1 = Symbol('pino.getLevel'); +const levelValSym$2 = Symbol('pino.levelVal'); +const useLevelLabelsSym = Symbol('pino.useLevelLabels'); +const useOnlyCustomLevelsSym$3 = Symbol('pino.useOnlyCustomLevels'); +const mixinSym$2 = Symbol('pino.mixin'); + +const lsCacheSym$3 = Symbol('pino.lsCache'); +const chindingsSym$3 = Symbol('pino.chindings'); + +const asJsonSym$1 = Symbol('pino.asJson'); +const writeSym$2 = Symbol('pino.write'); +const redactFmtSym$3 = Symbol('pino.redactFmt'); + +const timeSym$2 = Symbol('pino.time'); +const timeSliceIndexSym$2 = Symbol('pino.timeSliceIndex'); +const streamSym$3 = Symbol('pino.stream'); +const stringifySym$3 = Symbol('pino.stringify'); +const stringifySafeSym$2 = Symbol('pino.stringifySafe'); +const stringifiersSym$3 = Symbol('pino.stringifiers'); +const endSym$2 = Symbol('pino.end'); +const formatOptsSym$3 = Symbol('pino.formatOpts'); +const messageKeySym$2 = Symbol('pino.messageKey'); +const errorKeySym$3 = Symbol('pino.errorKey'); +const nestedKeySym$2 = Symbol('pino.nestedKey'); +const nestedKeyStrSym$2 = Symbol('pino.nestedKeyStr'); +const mixinMergeStrategySym$2 = Symbol('pino.mixinMergeStrategy'); +const msgPrefixSym$3 = Symbol('pino.msgPrefix'); + +const wildcardFirstSym$2 = Symbol('pino.wildcardFirst'); + +// public symbols, no need to use the same pino +// version for these +const serializersSym$3 = Symbol.for('pino.serializers'); +const formattersSym$4 = Symbol.for('pino.formatters'); +const hooksSym$2 = Symbol.for('pino.hooks'); +const needsMetadataGsym$1 = Symbol.for('pino.metadata'); + +var symbols$1 = { + setLevelSym: setLevelSym$2, + getLevelSym: getLevelSym$1, + levelValSym: levelValSym$2, + useLevelLabelsSym, + mixinSym: mixinSym$2, + lsCacheSym: lsCacheSym$3, + chindingsSym: chindingsSym$3, + asJsonSym: asJsonSym$1, + writeSym: writeSym$2, + serializersSym: serializersSym$3, + redactFmtSym: redactFmtSym$3, + timeSym: timeSym$2, + timeSliceIndexSym: timeSliceIndexSym$2, + streamSym: streamSym$3, + stringifySym: stringifySym$3, + stringifySafeSym: stringifySafeSym$2, + stringifiersSym: stringifiersSym$3, + endSym: endSym$2, + formatOptsSym: formatOptsSym$3, + messageKeySym: messageKeySym$2, + errorKeySym: errorKeySym$3, + nestedKeySym: nestedKeySym$2, + wildcardFirstSym: wildcardFirstSym$2, + needsMetadataGsym: needsMetadataGsym$1, + useOnlyCustomLevelsSym: useOnlyCustomLevelsSym$3, + formattersSym: formattersSym$4, + hooksSym: hooksSym$2, + nestedKeyStrSym: nestedKeyStrSym$2, + mixinMergeStrategySym: mixinMergeStrategySym$2, + msgPrefixSym: msgPrefixSym$3 +}; + +const fastRedact = fastRedact_1; +const { redactFmtSym: redactFmtSym$2, wildcardFirstSym: wildcardFirstSym$1 } = symbols$1; +const { rx, validator } = fastRedact; + +const validate = validator({ + ERR_PATHS_MUST_BE_STRINGS: () => 'pino – redacted paths must be strings', + ERR_INVALID_PATH: (s) => `pino – redact paths array contains an invalid path (${s})` +}); + +const CENSOR = '[Redacted]'; +const strict = false; // TODO should this be configurable? + +function redaction$2 (opts, serialize) { + const { paths, censor } = handle(opts); + + const shape = paths.reduce((o, str) => { + rx.lastIndex = 0; + const first = rx.exec(str); + const next = rx.exec(str); + + // ns is the top-level path segment, brackets + quoting removed. + let ns = first[1] !== undefined + ? first[1].replace(/^(?:"|'|`)(.*)(?:"|'|`)$/, '$1') + : first[0]; + + if (ns === '*') { + ns = wildcardFirstSym$1; + } + + // top level key: + if (next === null) { + o[ns] = null; + return o + } + + // path with at least two segments: + // if ns is already redacted at the top level, ignore lower level redactions + if (o[ns] === null) { + return o + } + + const { index } = next; + const nextPath = `${str.substr(index, str.length - 1)}`; + + o[ns] = o[ns] || []; + + // shape is a mix of paths beginning with literal values and wildcard + // paths [ "a.b.c", "*.b.z" ] should reduce to a shape of + // { "a": [ "b.c", "b.z" ], *: [ "b.z" ] } + // note: "b.z" is in both "a" and * arrays because "a" matches the wildcard. + // (* entry has wildcardFirstSym as key) + if (ns !== wildcardFirstSym$1 && o[ns].length === 0) { + // first time ns's get all '*' redactions so far + o[ns].push(...(o[wildcardFirstSym$1] || [])); + } + + if (ns === wildcardFirstSym$1) { + // new * path gets added to all previously registered literal ns's. + Object.keys(o).forEach(function (k) { + if (o[k]) { + o[k].push(nextPath); + } + }); + } + + o[ns].push(nextPath); + return o + }, {}); + + // the redactor assigned to the format symbol key + // provides top level redaction for instances where + // an object is interpolated into the msg string + const result = { + [redactFmtSym$2]: fastRedact({ paths, censor, serialize, strict }) + }; + + const topCensor = (...args) => { + return typeof censor === 'function' ? serialize(censor(...args)) : serialize(censor) + }; + + return [...Object.keys(shape), ...Object.getOwnPropertySymbols(shape)].reduce((o, k) => { + // top level key: + if (shape[k] === null) { + o[k] = (value) => topCensor(value, [k]); + } else { + const wrappedCensor = typeof censor === 'function' + ? (value, path) => { + return censor(value, [k, ...path]) + } + : censor; + o[k] = fastRedact({ + paths: shape[k], + censor: wrappedCensor, + serialize, + strict + }); + } + return o + }, result) +} + +function handle (opts) { + if (Array.isArray(opts)) { + opts = { paths: opts, censor: CENSOR }; + validate(opts); + return opts + } + let { paths, censor = CENSOR, remove } = opts; + if (Array.isArray(paths) === false) { throw Error('pino – redact must contain an array of strings') } + if (remove === true) censor = undefined; + validate({ paths, censor }); + + return { paths, censor } +} + +var redaction_1 = redaction$2; + +const nullTime$1 = () => ''; + +const epochTime$1 = () => `,"time":${Date.now()}`; + +const unixTime = () => `,"time":${Math.round(Date.now() / 1000.0)}`; + +const isoTime = () => `,"time":"${new Date(Date.now()).toISOString()}"`; // using Date.now() for testability + +var time$1 = { nullTime: nullTime$1, epochTime: epochTime$1, unixTime, isoTime }; + +function tryStringify (o) { + try { return JSON.stringify(o) } catch(e) { return '"[Circular]"' } +} + +var quickFormatUnescaped = format$1; + +function format$1(f, args, opts) { + var ss = (opts && opts.stringify) || tryStringify; + var offset = 1; + if (typeof f === 'object' && f !== null) { + var len = args.length + offset; + if (len === 1) return f + var objects = new Array(len); + objects[0] = ss(f); + for (var index = 1; index < len; index++) { + objects[index] = ss(args[index]); + } + return objects.join(' ') + } + if (typeof f !== 'string') { + return f + } + var argLen = args.length; + if (argLen === 0) return f + var str = ''; + var a = 1 - offset; + var lastPos = -1; + var flen = (f && f.length) || 0; + for (var i = 0; i < flen;) { + if (f.charCodeAt(i) === 37 && i + 1 < flen) { + lastPos = lastPos > -1 ? lastPos : 0; + switch (f.charCodeAt(i + 1)) { + case 100: // 'd' + case 102: // 'f' + if (a >= argLen) + break + if (args[a] == null) break + if (lastPos < i) + str += f.slice(lastPos, i); + str += Number(args[a]); + lastPos = i + 2; + i++; + break + case 105: // 'i' + if (a >= argLen) + break + if (args[a] == null) break + if (lastPos < i) + str += f.slice(lastPos, i); + str += Math.floor(Number(args[a])); + lastPos = i + 2; + i++; + break + case 79: // 'O' + case 111: // 'o' + case 106: // 'j' + if (a >= argLen) + break + if (args[a] === undefined) break + if (lastPos < i) + str += f.slice(lastPos, i); + var type = typeof args[a]; + if (type === 'string') { + str += '\'' + args[a] + '\''; + lastPos = i + 2; + i++; + break + } + if (type === 'function') { + str += args[a].name || ''; + lastPos = i + 2; + i++; + break + } + str += ss(args[a]); + lastPos = i + 2; + i++; + break + case 115: // 's' + if (a >= argLen) + break + if (lastPos < i) + str += f.slice(lastPos, i); + str += String(args[a]); + lastPos = i + 2; + i++; + break + case 37: // '%' + if (lastPos < i) + str += f.slice(lastPos, i); + str += '%'; + lastPos = i + 2; + i++; + a--; + break + } + ++a; + } + ++i; + } + if (lastPos === -1) + return f + else if (lastPos < flen) { + str += f.slice(lastPos); + } + + return str +} + +var atomicSleepExports = {}; +var atomicSleep = { + get exports(){ return atomicSleepExports; }, + set exports(v){ atomicSleepExports = v; }, +}; + +var hasRequiredAtomicSleep; + +function requireAtomicSleep () { + if (hasRequiredAtomicSleep) return atomicSleepExports; + hasRequiredAtomicSleep = 1; + + /* global SharedArrayBuffer, Atomics */ + + if (typeof SharedArrayBuffer !== 'undefined' && typeof Atomics !== 'undefined') { + const nil = new Int32Array(new SharedArrayBuffer(4)); + + function sleep (ms) { + // also filters out NaN, non-number types, including empty strings, but allows bigints + const valid = ms > 0 && ms < Infinity; + if (valid === false) { + if (typeof ms !== 'number' && typeof ms !== 'bigint') { + throw TypeError('sleep: ms must be a number') + } + throw RangeError('sleep: ms must be a number that is greater than 0 but less than Infinity') + } + + Atomics.wait(nil, 0, 0, Number(ms)); + } + atomicSleep.exports = sleep; + } else { + + function sleep (ms) { + // also filters out NaN, non-number types, including empty strings, but allows bigints + const valid = ms > 0 && ms < Infinity; + if (valid === false) { + if (typeof ms !== 'number' && typeof ms !== 'bigint') { + throw TypeError('sleep: ms must be a number') + } + throw RangeError('sleep: ms must be a number that is greater than 0 but less than Infinity') + } + } + + atomicSleep.exports = sleep; + + } + return atomicSleepExports; +} + +const fs = require$$0$3; +const EventEmitter$2 = require$$1$1; +const inherits = require$$2$1.inherits; +const path = require$$3$1; +const sleep = requireAtomicSleep(); + +const BUSY_WRITE_TIMEOUT = 100; + +// 16 KB. Don't write more than docker buffer size. +// https://github.com/moby/moby/blob/513ec73831269947d38a644c278ce3cac36783b2/daemon/logger/copier.go#L13 +const MAX_WRITE = 16 * 1024; + +function openFile (file, sonic) { + sonic._opening = true; + sonic._writing = true; + sonic._asyncDrainScheduled = false; + + // NOTE: 'error' and 'ready' events emitted below only relevant when sonic.sync===false + // for sync mode, there is no way to add a listener that will receive these + + function fileOpened (err, fd) { + if (err) { + sonic._reopening = false; + sonic._writing = false; + sonic._opening = false; + + if (sonic.sync) { + process.nextTick(() => { + if (sonic.listenerCount('error') > 0) { + sonic.emit('error', err); + } + }); + } else { + sonic.emit('error', err); + } + return + } + + sonic.fd = fd; + sonic.file = file; + sonic._reopening = false; + sonic._opening = false; + sonic._writing = false; + + if (sonic.sync) { + process.nextTick(() => sonic.emit('ready')); + } else { + sonic.emit('ready'); + } + + if (sonic._reopening) { + return + } + + // start + if (!sonic._writing && sonic._len > sonic.minLength && !sonic.destroyed) { + actualWrite(sonic); + } + } + + const flags = sonic.append ? 'a' : 'w'; + const mode = sonic.mode; + + if (sonic.sync) { + try { + if (sonic.mkdir) fs.mkdirSync(path.dirname(file), { recursive: true }); + const fd = fs.openSync(file, flags, mode); + fileOpened(null, fd); + } catch (err) { + fileOpened(err); + throw err + } + } else if (sonic.mkdir) { + fs.mkdir(path.dirname(file), { recursive: true }, (err) => { + if (err) return fileOpened(err) + fs.open(file, flags, mode, fileOpened); + }); + } else { + fs.open(file, flags, mode, fileOpened); + } +} + +function SonicBoom$1 (opts) { + if (!(this instanceof SonicBoom$1)) { + return new SonicBoom$1(opts) + } + + let { fd, dest, minLength, maxLength, maxWrite, sync, append = true, mode, mkdir, retryEAGAIN, fsync } = opts || {}; + + fd = fd || dest; + + this._bufs = []; + this._len = 0; + this.fd = -1; + this._writing = false; + this._writingBuf = ''; + this._ending = false; + this._reopening = false; + this._asyncDrainScheduled = false; + this._hwm = Math.max(minLength || 0, 16387); + this.file = null; + this.destroyed = false; + this.minLength = minLength || 0; + this.maxLength = maxLength || 0; + this.maxWrite = maxWrite || MAX_WRITE; + this.sync = sync || false; + this._fsync = fsync || false; + this.append = append || false; + this.mode = mode; + this.retryEAGAIN = retryEAGAIN || (() => true); + this.mkdir = mkdir || false; + + if (typeof fd === 'number') { + this.fd = fd; + process.nextTick(() => this.emit('ready')); + } else if (typeof fd === 'string') { + openFile(fd, this); + } else { + throw new Error('SonicBoom supports only file descriptors and files') + } + if (this.minLength >= this.maxWrite) { + throw new Error(`minLength should be smaller than maxWrite (${this.maxWrite})`) + } + + this.release = (err, n) => { + if (err) { + if ((err.code === 'EAGAIN' || err.code === 'EBUSY') && this.retryEAGAIN(err, this._writingBuf.length, this._len - this._writingBuf.length)) { + if (this.sync) { + // This error code should not happen in sync mode, because it is + // not using the underlining operating system asynchronous functions. + // However it happens, and so we handle it. + // Ref: https://github.com/pinojs/pino/issues/783 + try { + sleep(BUSY_WRITE_TIMEOUT); + this.release(undefined, 0); + } catch (err) { + this.release(err); + } + } else { + // Let's give the destination some time to process the chunk. + setTimeout(() => { + fs.write(this.fd, this._writingBuf, 'utf8', this.release); + }, BUSY_WRITE_TIMEOUT); + } + } else { + this._writing = false; + + this.emit('error', err); + } + return + } + + this.emit('write', n); + + this._len -= n; + // In case of multi-byte characters, the length of the written buffer + // may be different from the length of the string. Let's make sure + // we do not have an accumulated string with a negative length. + // This also mean that ._len is not precise, but it's not a problem as some + // writes might be triggered earlier than ._minLength. + if (this._len < 0) { + this._len = 0; + } + + // TODO if we have a multi-byte character in the buffer, we need to + // n might not be the same as this._writingBuf.length, so we might loose + // characters here. The solution to this problem is to use a Buffer for _writingBuf. + this._writingBuf = this._writingBuf.slice(n); + + if (this._writingBuf.length) { + if (!this.sync) { + fs.write(this.fd, this._writingBuf, 'utf8', this.release); + return + } + + try { + do { + const n = fs.writeSync(this.fd, this._writingBuf, 'utf8'); + this._len -= n; + this._writingBuf = this._writingBuf.slice(n); + } while (this._writingBuf) + } catch (err) { + this.release(err); + return + } + } + + if (this._fsync) { + fs.fsyncSync(this.fd); + } + + const len = this._len; + if (this._reopening) { + this._writing = false; + this._reopening = false; + this.reopen(); + } else if (len > this.minLength) { + actualWrite(this); + } else if (this._ending) { + if (len > 0) { + actualWrite(this); + } else { + this._writing = false; + actualClose(this); + } + } else { + this._writing = false; + if (this.sync) { + if (!this._asyncDrainScheduled) { + this._asyncDrainScheduled = true; + process.nextTick(emitDrain, this); + } + } else { + this.emit('drain'); + } + } + }; + + this.on('newListener', function (name) { + if (name === 'drain') { + this._asyncDrainScheduled = false; + } + }); +} + +function emitDrain (sonic) { + const hasListeners = sonic.listenerCount('drain') > 0; + if (!hasListeners) return + sonic._asyncDrainScheduled = false; + sonic.emit('drain'); +} + +inherits(SonicBoom$1, EventEmitter$2); + +SonicBoom$1.prototype.write = function (data) { + if (this.destroyed) { + throw new Error('SonicBoom destroyed') + } + + const len = this._len + data.length; + const bufs = this._bufs; + + if (this.maxLength && len > this.maxLength) { + this.emit('drop', data); + return this._len < this._hwm + } + + if ( + bufs.length === 0 || + bufs[bufs.length - 1].length + data.length > this.maxWrite + ) { + bufs.push('' + data); + } else { + bufs[bufs.length - 1] += data; + } + + this._len = len; + + if (!this._writing && this._len >= this.minLength) { + actualWrite(this); + } + + return this._len < this._hwm +}; + +SonicBoom$1.prototype.flush = function () { + if (this.destroyed) { + throw new Error('SonicBoom destroyed') + } + + if (this._writing || this.minLength <= 0) { + return + } + + if (this._bufs.length === 0) { + this._bufs.push(''); + } + + actualWrite(this); +}; + +SonicBoom$1.prototype.reopen = function (file) { + if (this.destroyed) { + throw new Error('SonicBoom destroyed') + } + + if (this._opening) { + this.once('ready', () => { + this.reopen(file); + }); + return + } + + if (this._ending) { + return + } + + if (!this.file) { + throw new Error('Unable to reopen a file descriptor, you must pass a file to SonicBoom') + } + + this._reopening = true; + + if (this._writing) { + return + } + + const fd = this.fd; + this.once('ready', () => { + if (fd !== this.fd) { + fs.close(fd, (err) => { + if (err) { + return this.emit('error', err) + } + }); + } + }); + + openFile(file || this.file, this); +}; + +SonicBoom$1.prototype.end = function () { + if (this.destroyed) { + throw new Error('SonicBoom destroyed') + } + + if (this._opening) { + this.once('ready', () => { + this.end(); + }); + return + } + + if (this._ending) { + return + } + + this._ending = true; + + if (this._writing) { + return + } + + if (this._len > 0 && this.fd >= 0) { + actualWrite(this); + } else { + actualClose(this); + } +}; + +SonicBoom$1.prototype.flushSync = function () { + if (this.destroyed) { + throw new Error('SonicBoom destroyed') + } + + if (this.fd < 0) { + throw new Error('sonic boom is not ready yet') + } + + if (!this._writing && this._writingBuf.length > 0) { + this._bufs.unshift(this._writingBuf); + this._writingBuf = ''; + } + + let buf = ''; + while (this._bufs.length || buf.length) { + if (buf.length <= 0) { + buf = this._bufs[0]; + } + try { + const n = fs.writeSync(this.fd, buf, 'utf8'); + buf = buf.slice(n); + this._len = Math.max(this._len - n, 0); + if (buf.length <= 0) { + this._bufs.shift(); + } + } catch (err) { + const shouldRetry = err.code === 'EAGAIN' || err.code === 'EBUSY'; + if (shouldRetry && !this.retryEAGAIN(err, buf.length, this._len - buf.length)) { + throw err + } + + sleep(BUSY_WRITE_TIMEOUT); + } + } +}; + +SonicBoom$1.prototype.destroy = function () { + if (this.destroyed) { + return + } + actualClose(this); +}; + +function actualWrite (sonic) { + const release = sonic.release; + sonic._writing = true; + sonic._writingBuf = sonic._writingBuf || sonic._bufs.shift() || ''; + + if (sonic.sync) { + try { + const written = fs.writeSync(sonic.fd, sonic._writingBuf, 'utf8'); + release(null, written); + } catch (err) { + release(err); + } + } else { + fs.write(sonic.fd, sonic._writingBuf, 'utf8', release); + } +} + +function actualClose (sonic) { + if (sonic.fd === -1) { + sonic.once('ready', actualClose.bind(null, sonic)); + return + } + + sonic.destroyed = true; + sonic._bufs = []; + + if (sonic.fd !== 1 && sonic.fd !== 2) { + fs.close(sonic.fd, done); + } else { + setImmediate(done); + } + + function done (err) { + if (err) { + sonic.emit('error', err); + return + } + + if (sonic._ending && !sonic._writing) { + sonic.emit('finish'); + } + sonic.emit('close'); + } +} + +/** + * These export configurations enable JS and TS developers + * to consumer SonicBoom in whatever way best suits their needs. + * Some examples of supported import syntax includes: + * - `const SonicBoom = require('SonicBoom')` + * - `const { SonicBoom } = require('SonicBoom')` + * - `import * as SonicBoom from 'SonicBoom'` + * - `import { SonicBoom } from 'SonicBoom'` + * - `import SonicBoom from 'SonicBoom'` + */ +SonicBoom$1.SonicBoom = SonicBoom$1; +SonicBoom$1.default = SonicBoom$1; +var sonicBoom = SonicBoom$1; + +const refs = { + exit: [], + beforeExit: [] +}; +const functions = { + exit: onExit$1, + beforeExit: onBeforeExit +}; +const registry = new FinalizationRegistry(clear); + +function install (event) { + if (refs[event].length > 0) { + return + } + + process.on(event, functions[event]); +} + +function uninstall (event) { + if (refs[event].length > 0) { + return + } + process.removeListener(event, functions[event]); +} + +function onExit$1 () { + callRefs('exit'); +} + +function onBeforeExit () { + callRefs('beforeExit'); +} + +function callRefs (event) { + for (const ref of refs[event]) { + const obj = ref.deref(); + const fn = ref.fn; + + // This should always happen, however GC is + // undeterministic so it might not happen. + /* istanbul ignore else */ + if (obj !== undefined) { + fn(obj, event); + } + } +} + +function clear (ref) { + for (const event of ['exit', 'beforeExit']) { + const index = refs[event].indexOf(ref); + refs[event].splice(index, index + 1); + uninstall(event); + } +} + +function _register (event, obj, fn) { + if (obj === undefined) { + throw new Error('the object can\'t be undefined') + } + install(event); + const ref = new WeakRef(obj); + ref.fn = fn; + + registry.register(obj, ref); + refs[event].push(ref); +} + +function register (obj, fn) { + _register('exit', obj, fn); +} + +function registerBeforeExit (obj, fn) { + _register('beforeExit', obj, fn); +} + +function unregister (obj) { + registry.unregister(obj); + for (const event of ['exit', 'beforeExit']) { + refs[event] = refs[event].filter((ref) => { + const _obj = ref.deref(); + return _obj && _obj !== obj + }); + uninstall(event); + } +} + +var onExitLeakFree = { + register, + registerBeforeExit, + unregister +}; + +var name$2 = "thread-stream"; +var version$5 = "2.3.0"; +var description$2 = "A streaming way to send data to a Node.js Worker Thread"; +var main$2 = "index.js"; +var types = "index.d.ts"; +var dependencies$2 = { + "real-require": "^0.2.0" +}; +var devDependencies$2 = { + "@types/node": "^18.0.0", + "@types/tap": "^15.0.0", + desm: "^1.3.0", + fastbench: "^1.0.1", + husky: "^8.0.1", + "sonic-boom": "^3.0.0", + standard: "^17.0.0", + tap: "^16.2.0", + "ts-node": "^10.8.0", + typescript: "^4.7.2", + "why-is-node-running": "^2.2.2" +}; +var scripts$2 = { + test: "standard && npm run transpile && tap test/*.test.*js && tap --ts test/*.test.*ts", + "test:ci": "standard && npm run transpile && npm run test:ci:js && npm run test:ci:ts", + "test:ci:js": "tap --no-check-coverage --coverage-report=lcovonly \"test/**/*.test.*js\"", + "test:ci:ts": "tap --ts --no-check-coverage --coverage-report=lcovonly \"test/**/*.test.*ts\"", + "test:yarn": "npm run transpile && tap \"test/**/*.test.js\" --no-check-coverage", + transpile: "sh ./test/ts/transpile.sh", + prepare: "husky install" +}; +var standard = { + ignore: [ + "test/ts/**/*" + ] +}; +var repository$2 = { + type: "git", + url: "git+https://github.com/mcollina/thread-stream.git" +}; +var keywords$2 = [ + "worker", + "thread", + "threads", + "stream" +]; +var author$2 = "Matteo Collina "; +var license$2 = "MIT"; +var bugs$2 = { + url: "https://github.com/mcollina/thread-stream/issues" +}; +var homepage$2 = "https://github.com/mcollina/thread-stream#readme"; +var require$$0$1 = { + name: name$2, + version: version$5, + description: description$2, + main: main$2, + types: types, + dependencies: dependencies$2, + devDependencies: devDependencies$2, + scripts: scripts$2, + standard: standard, + repository: repository$2, + keywords: keywords$2, + author: author$2, + license: license$2, + bugs: bugs$2, + homepage: homepage$2 +}; + +var wait_1; +var hasRequiredWait; + +function requireWait () { + if (hasRequiredWait) return wait_1; + hasRequiredWait = 1; + + const MAX_TIMEOUT = 1000; + + function wait (state, index, expected, timeout, done) { + const max = Date.now() + timeout; + let current = Atomics.load(state, index); + if (current === expected) { + done(null, 'ok'); + return + } + let prior = current; + const check = (backoff) => { + if (Date.now() > max) { + done(null, 'timed-out'); + } else { + setTimeout(() => { + prior = current; + current = Atomics.load(state, index); + if (current === prior) { + check(backoff >= MAX_TIMEOUT ? MAX_TIMEOUT : backoff * 2); + } else { + if (current === expected) done(null, 'ok'); + else done(null, 'not-equal'); + } + }, backoff); + } + }; + check(1); + } + + // let waitDiffCount = 0 + function waitDiff (state, index, expected, timeout, done) { + // const id = waitDiffCount++ + // process._rawDebug(`>>> waitDiff ${id}`) + const max = Date.now() + timeout; + let current = Atomics.load(state, index); + if (current !== expected) { + done(null, 'ok'); + return + } + const check = (backoff) => { + // process._rawDebug(`${id} ${index} current ${current} expected ${expected}`) + // process._rawDebug('' + backoff) + if (Date.now() > max) { + done(null, 'timed-out'); + } else { + setTimeout(() => { + current = Atomics.load(state, index); + if (current !== expected) { + done(null, 'ok'); + } else { + check(backoff >= MAX_TIMEOUT ? MAX_TIMEOUT : backoff * 2); + } + }, backoff); + } + }; + check(1); + } + + wait_1 = { wait, waitDiff }; + return wait_1; +} + +var indexes; +var hasRequiredIndexes; + +function requireIndexes () { + if (hasRequiredIndexes) return indexes; + hasRequiredIndexes = 1; + + const WRITE_INDEX = 4; + const READ_INDEX = 8; + + indexes = { + WRITE_INDEX, + READ_INDEX + }; + return indexes; +} + +var threadStream; +var hasRequiredThreadStream; + +function requireThreadStream () { + if (hasRequiredThreadStream) return threadStream; + hasRequiredThreadStream = 1; + + const { version } = require$$0$1; + const { EventEmitter } = require$$1$1; + const { Worker } = require$$2$2; + const { join } = require$$3$1; + const { pathToFileURL } = require$$4$1; + const { wait } = requireWait(); + const { + WRITE_INDEX, + READ_INDEX + } = requireIndexes(); + const buffer = require$$0$4; + const assert = require$$8; + + const kImpl = Symbol('kImpl'); + + // V8 limit for string size + const MAX_STRING = buffer.constants.MAX_STRING_LENGTH; + + class FakeWeakRef { + constructor (value) { + this._value = value; + } + + deref () { + return this._value + } + } + + const FinalizationRegistry = commonjsGlobal.FinalizationRegistry || class FakeFinalizationRegistry { + register () {} + + unregister () {} + }; + + const WeakRef = commonjsGlobal.WeakRef || FakeWeakRef; + + const registry = new FinalizationRegistry((worker) => { + if (worker.exited) { + return + } + worker.terminate(); + }); + + function createWorker (stream, opts) { + const { filename, workerData } = opts; + + const bundlerOverrides = '__bundlerPathsOverrides' in globalThis ? globalThis.__bundlerPathsOverrides : {}; + const toExecute = bundlerOverrides['thread-stream-worker'] || join(__dirname, 'lib', 'worker.js'); + + const worker = new Worker(toExecute, { + ...opts.workerOpts, + trackUnmanagedFds: false, + workerData: { + filename: filename.indexOf('file://') === 0 + ? filename + : pathToFileURL(filename).href, + dataBuf: stream[kImpl].dataBuf, + stateBuf: stream[kImpl].stateBuf, + workerData: { + $context: { + threadStreamVersion: version + }, + ...workerData + } + } + }); + + // We keep a strong reference for now, + // we need to start writing first + worker.stream = new FakeWeakRef(stream); + + worker.on('message', onWorkerMessage); + worker.on('exit', onWorkerExit); + registry.register(stream, worker); + + return worker + } + + function drain (stream) { + assert(!stream[kImpl].sync); + if (stream[kImpl].needDrain) { + stream[kImpl].needDrain = false; + stream.emit('drain'); + } + } + + function nextFlush (stream) { + const writeIndex = Atomics.load(stream[kImpl].state, WRITE_INDEX); + let leftover = stream[kImpl].data.length - writeIndex; + + if (leftover > 0) { + if (stream[kImpl].buf.length === 0) { + stream[kImpl].flushing = false; + + if (stream[kImpl].ending) { + end(stream); + } else if (stream[kImpl].needDrain) { + process.nextTick(drain, stream); + } + + return + } + + let toWrite = stream[kImpl].buf.slice(0, leftover); + let toWriteBytes = Buffer.byteLength(toWrite); + if (toWriteBytes <= leftover) { + stream[kImpl].buf = stream[kImpl].buf.slice(leftover); + // process._rawDebug('writing ' + toWrite.length) + write(stream, toWrite, nextFlush.bind(null, stream)); + } else { + // multi-byte utf-8 + stream.flush(() => { + // err is already handled in flush() + if (stream.destroyed) { + return + } + + Atomics.store(stream[kImpl].state, READ_INDEX, 0); + Atomics.store(stream[kImpl].state, WRITE_INDEX, 0); + + // Find a toWrite length that fits the buffer + // it must exists as the buffer is at least 4 bytes length + // and the max utf-8 length for a char is 4 bytes. + while (toWriteBytes > stream[kImpl].data.length) { + leftover = leftover / 2; + toWrite = stream[kImpl].buf.slice(0, leftover); + toWriteBytes = Buffer.byteLength(toWrite); + } + stream[kImpl].buf = stream[kImpl].buf.slice(leftover); + write(stream, toWrite, nextFlush.bind(null, stream)); + }); + } + } else if (leftover === 0) { + if (writeIndex === 0 && stream[kImpl].buf.length === 0) { + // we had a flushSync in the meanwhile + return + } + stream.flush(() => { + Atomics.store(stream[kImpl].state, READ_INDEX, 0); + Atomics.store(stream[kImpl].state, WRITE_INDEX, 0); + nextFlush(stream); + }); + } else { + // This should never happen + destroy(stream, new Error('overwritten')); + } + } + + function onWorkerMessage (msg) { + const stream = this.stream.deref(); + if (stream === undefined) { + this.exited = true; + // Terminate the worker. + this.terminate(); + return + } + + switch (msg.code) { + case 'READY': + // Replace the FakeWeakRef with a + // proper one. + this.stream = new WeakRef(stream); + + stream.flush(() => { + stream[kImpl].ready = true; + stream.emit('ready'); + }); + break + case 'ERROR': + destroy(stream, msg.err); + break + case 'EVENT': + if (Array.isArray(msg.args)) { + stream.emit(msg.name, ...msg.args); + } else { + stream.emit(msg.name, msg.args); + } + break + default: + destroy(stream, new Error('this should not happen: ' + msg.code)); + } + } + + function onWorkerExit (code) { + const stream = this.stream.deref(); + if (stream === undefined) { + // Nothing to do, the worker already exit + return + } + registry.unregister(stream); + stream.worker.exited = true; + stream.worker.off('exit', onWorkerExit); + destroy(stream, code !== 0 ? new Error('the worker thread exited') : null); + } + + class ThreadStream extends EventEmitter { + constructor (opts = {}) { + super(); + + if (opts.bufferSize < 4) { + throw new Error('bufferSize must at least fit a 4-byte utf-8 char') + } + + this[kImpl] = {}; + this[kImpl].stateBuf = new SharedArrayBuffer(128); + this[kImpl].state = new Int32Array(this[kImpl].stateBuf); + this[kImpl].dataBuf = new SharedArrayBuffer(opts.bufferSize || 4 * 1024 * 1024); + this[kImpl].data = Buffer.from(this[kImpl].dataBuf); + this[kImpl].sync = opts.sync || false; + this[kImpl].ending = false; + this[kImpl].ended = false; + this[kImpl].needDrain = false; + this[kImpl].destroyed = false; + this[kImpl].flushing = false; + this[kImpl].ready = false; + this[kImpl].finished = false; + this[kImpl].errored = null; + this[kImpl].closed = false; + this[kImpl].buf = ''; + + // TODO (fix): Make private? + this.worker = createWorker(this, opts); // TODO (fix): make private + } + + write (data) { + if (this[kImpl].destroyed) { + error(this, new Error('the worker has exited')); + return false + } + + if (this[kImpl].ending) { + error(this, new Error('the worker is ending')); + return false + } + + if (this[kImpl].flushing && this[kImpl].buf.length + data.length >= MAX_STRING) { + try { + writeSync(this); + this[kImpl].flushing = true; + } catch (err) { + destroy(this, err); + return false + } + } + + this[kImpl].buf += data; + + if (this[kImpl].sync) { + try { + writeSync(this); + return true + } catch (err) { + destroy(this, err); + return false + } + } + + if (!this[kImpl].flushing) { + this[kImpl].flushing = true; + setImmediate(nextFlush, this); + } + + this[kImpl].needDrain = this[kImpl].data.length - this[kImpl].buf.length - Atomics.load(this[kImpl].state, WRITE_INDEX) <= 0; + return !this[kImpl].needDrain + } + + end () { + if (this[kImpl].destroyed) { + return + } + + this[kImpl].ending = true; + end(this); + } + + flush (cb) { + if (this[kImpl].destroyed) { + if (typeof cb === 'function') { + process.nextTick(cb, new Error('the worker has exited')); + } + return + } + + // TODO write all .buf + const writeIndex = Atomics.load(this[kImpl].state, WRITE_INDEX); + // process._rawDebug(`(flush) readIndex (${Atomics.load(this.state, READ_INDEX)}) writeIndex (${Atomics.load(this.state, WRITE_INDEX)})`) + wait(this[kImpl].state, READ_INDEX, writeIndex, Infinity, (err, res) => { + if (err) { + destroy(this, err); + process.nextTick(cb, err); + return + } + if (res === 'not-equal') { + // TODO handle deadlock + this.flush(cb); + return + } + process.nextTick(cb); + }); + } + + flushSync () { + if (this[kImpl].destroyed) { + return + } + + writeSync(this); + flushSync(this); + } + + unref () { + this.worker.unref(); + } + + ref () { + this.worker.ref(); + } + + get ready () { + return this[kImpl].ready + } + + get destroyed () { + return this[kImpl].destroyed + } + + get closed () { + return this[kImpl].closed + } + + get writable () { + return !this[kImpl].destroyed && !this[kImpl].ending + } + + get writableEnded () { + return this[kImpl].ending + } + + get writableFinished () { + return this[kImpl].finished + } + + get writableNeedDrain () { + return this[kImpl].needDrain + } + + get writableObjectMode () { + return false + } + + get writableErrored () { + return this[kImpl].errored + } + } + + function error (stream, err) { + setImmediate(() => { + stream.emit('error', err); + }); + } + + function destroy (stream, err) { + if (stream[kImpl].destroyed) { + return + } + stream[kImpl].destroyed = true; + + if (err) { + stream[kImpl].errored = err; + error(stream, err); + } + + if (!stream.worker.exited) { + stream.worker.terminate() + .catch(() => {}) + .then(() => { + stream[kImpl].closed = true; + stream.emit('close'); + }); + } else { + setImmediate(() => { + stream[kImpl].closed = true; + stream.emit('close'); + }); + } + } + + function write (stream, data, cb) { + // data is smaller than the shared buffer length + const current = Atomics.load(stream[kImpl].state, WRITE_INDEX); + const length = Buffer.byteLength(data); + stream[kImpl].data.write(data, current); + Atomics.store(stream[kImpl].state, WRITE_INDEX, current + length); + Atomics.notify(stream[kImpl].state, WRITE_INDEX); + cb(); + return true + } + + function end (stream) { + if (stream[kImpl].ended || !stream[kImpl].ending || stream[kImpl].flushing) { + return + } + stream[kImpl].ended = true; + + try { + stream.flushSync(); + + let readIndex = Atomics.load(stream[kImpl].state, READ_INDEX); + + // process._rawDebug('writing index') + Atomics.store(stream[kImpl].state, WRITE_INDEX, -1); + // process._rawDebug(`(end) readIndex (${Atomics.load(stream.state, READ_INDEX)}) writeIndex (${Atomics.load(stream.state, WRITE_INDEX)})`) + Atomics.notify(stream[kImpl].state, WRITE_INDEX); + + // Wait for the process to complete + let spins = 0; + while (readIndex !== -1) { + // process._rawDebug(`read = ${read}`) + Atomics.wait(stream[kImpl].state, READ_INDEX, readIndex, 1000); + readIndex = Atomics.load(stream[kImpl].state, READ_INDEX); + + if (readIndex === -2) { + destroy(stream, new Error('end() failed')); + return + } + + if (++spins === 10) { + destroy(stream, new Error('end() took too long (10s)')); + return + } + } + + process.nextTick(() => { + stream[kImpl].finished = true; + stream.emit('finish'); + }); + } catch (err) { + destroy(stream, err); + } + // process._rawDebug('end finished...') + } + + function writeSync (stream) { + const cb = () => { + if (stream[kImpl].ending) { + end(stream); + } else if (stream[kImpl].needDrain) { + process.nextTick(drain, stream); + } + }; + stream[kImpl].flushing = false; + + while (stream[kImpl].buf.length !== 0) { + const writeIndex = Atomics.load(stream[kImpl].state, WRITE_INDEX); + let leftover = stream[kImpl].data.length - writeIndex; + if (leftover === 0) { + flushSync(stream); + Atomics.store(stream[kImpl].state, READ_INDEX, 0); + Atomics.store(stream[kImpl].state, WRITE_INDEX, 0); + continue + } else if (leftover < 0) { + // stream should never happen + throw new Error('overwritten') + } + + let toWrite = stream[kImpl].buf.slice(0, leftover); + let toWriteBytes = Buffer.byteLength(toWrite); + if (toWriteBytes <= leftover) { + stream[kImpl].buf = stream[kImpl].buf.slice(leftover); + // process._rawDebug('writing ' + toWrite.length) + write(stream, toWrite, cb); + } else { + // multi-byte utf-8 + flushSync(stream); + Atomics.store(stream[kImpl].state, READ_INDEX, 0); + Atomics.store(stream[kImpl].state, WRITE_INDEX, 0); + + // Find a toWrite length that fits the buffer + // it must exists as the buffer is at least 4 bytes length + // and the max utf-8 length for a char is 4 bytes. + while (toWriteBytes > stream[kImpl].buf.length) { + leftover = leftover / 2; + toWrite = stream[kImpl].buf.slice(0, leftover); + toWriteBytes = Buffer.byteLength(toWrite); + } + stream[kImpl].buf = stream[kImpl].buf.slice(leftover); + write(stream, toWrite, cb); + } + } + } + + function flushSync (stream) { + if (stream[kImpl].flushing) { + throw new Error('unable to flush while flushing') + } + + // process._rawDebug('flushSync started') + + const writeIndex = Atomics.load(stream[kImpl].state, WRITE_INDEX); + + let spins = 0; + + // TODO handle deadlock + while (true) { + const readIndex = Atomics.load(stream[kImpl].state, READ_INDEX); + + if (readIndex === -2) { + throw Error('_flushSync failed') + } + + // process._rawDebug(`(flushSync) readIndex (${readIndex}) writeIndex (${writeIndex})`) + if (readIndex !== writeIndex) { + // TODO stream timeouts for some reason. + Atomics.wait(stream[kImpl].state, READ_INDEX, readIndex, 1000); + } else { + break + } + + if (++spins === 10) { + throw new Error('_flushSync took too long (10s)') + } + } + // process._rawDebug('flushSync finished') + } + + threadStream = ThreadStream; + return threadStream; +} + +var transport_1; +var hasRequiredTransport; + +function requireTransport () { + if (hasRequiredTransport) return transport_1; + hasRequiredTransport = 1; + + const { createRequire } = require$$0$5; + const getCallers = caller$1; + const { join, isAbsolute } = require$$3$1; + const sleep = requireAtomicSleep(); + const onExit = onExitLeakFree; + const ThreadStream = requireThreadStream(); + + function setupOnExit (stream) { + // This is leak free, it does not leave event handlers + onExit.register(stream, autoEnd); + onExit.registerBeforeExit(stream, flush); + + stream.on('close', function () { + onExit.unregister(stream); + }); + } + + function buildStream (filename, workerData, workerOpts) { + const stream = new ThreadStream({ + filename, + workerData, + workerOpts + }); + + stream.on('ready', onReady); + stream.on('close', function () { + process.removeListener('exit', onExit); + }); + + process.on('exit', onExit); + + function onReady () { + process.removeListener('exit', onExit); + stream.unref(); + + if (workerOpts.autoEnd !== false) { + setupOnExit(stream); + } + } + + function onExit () { + /* istanbul ignore next */ + if (stream.closed) { + return + } + stream.flushSync(); + // Apparently there is a very sporadic race condition + // that in certain OS would prevent the messages to be flushed + // because the thread might not have been created still. + // Unfortunately we need to sleep(100) in this case. + sleep(100); + stream.end(); + } + + return stream + } + + function autoEnd (stream) { + stream.ref(); + stream.flushSync(); + stream.end(); + stream.once('close', function () { + stream.unref(); + }); + } + + function flush (stream) { + stream.flushSync(); + } + + function transport (fullOptions) { + const { pipeline, targets, levels, dedupe, options = {}, worker = {}, caller = getCallers() } = fullOptions; + + // Backwards compatibility + const callers = typeof caller === 'string' ? [caller] : caller; + + // This will be eventually modified by bundlers + const bundlerOverrides = '__bundlerPathsOverrides' in globalThis ? globalThis.__bundlerPathsOverrides : {}; + + let target = fullOptions.target; + + if (target && targets) { + throw new Error('only one of target or targets can be specified') + } + + if (targets) { + target = bundlerOverrides['pino-worker'] || join(__dirname, 'worker.js'); + options.targets = targets.map((dest) => { + return { + ...dest, + target: fixTarget(dest.target) + } + }); + } else if (pipeline) { + target = bundlerOverrides['pino-pipeline-worker'] || join(__dirname, 'worker-pipeline.js'); + options.targets = pipeline.map((dest) => { + return { + ...dest, + target: fixTarget(dest.target) + } + }); + } + + if (levels) { + options.levels = levels; + } + + if (dedupe) { + options.dedupe = dedupe; + } + + return buildStream(fixTarget(target), options, worker) + + function fixTarget (origin) { + origin = bundlerOverrides[origin] || origin; + + if (isAbsolute(origin) || origin.indexOf('file://') === 0) { + return origin + } + + if (origin === 'pino/file') { + return join(__dirname, '..', 'file.js') + } + + let fixTarget; + + for (const filePath of callers) { + try { + fixTarget = createRequire(filePath).resolve(origin); + break + } catch (err) { + // Silent catch + continue + } + } + + if (!fixTarget) { + throw new Error(`unable to determine transport target for "${origin}"`) + } + + return fixTarget + } + } + + transport_1 = transport; + return transport_1; +} + +/* eslint no-prototype-builtins: 0 */ + +const format = quickFormatUnescaped; +const { mapHttpRequest, mapHttpResponse } = pinoStdSerializers; +const SonicBoom = sonicBoom; +const onExit = onExitLeakFree; +const { + lsCacheSym: lsCacheSym$2, + chindingsSym: chindingsSym$2, + writeSym: writeSym$1, + serializersSym: serializersSym$2, + formatOptsSym: formatOptsSym$2, + endSym: endSym$1, + stringifiersSym: stringifiersSym$2, + stringifySym: stringifySym$2, + stringifySafeSym: stringifySafeSym$1, + wildcardFirstSym, + nestedKeySym: nestedKeySym$1, + formattersSym: formattersSym$3, + messageKeySym: messageKeySym$1, + errorKeySym: errorKeySym$2, + nestedKeyStrSym: nestedKeyStrSym$1, + msgPrefixSym: msgPrefixSym$2 +} = symbols$1; +const { isMainThread } = require$$2$2; +const transport = requireTransport(); + +function noop$4 () { +} + +function genLog$1 (level, hook) { + if (!hook) return LOG + + return function hookWrappedLog (...args) { + hook.call(this, args, LOG, level); + } + + function LOG (o, ...n) { + if (typeof o === 'object') { + let msg = o; + if (o !== null) { + if (o.method && o.headers && o.socket) { + o = mapHttpRequest(o); + } else if (typeof o.setHeader === 'function') { + o = mapHttpResponse(o); + } + } + let formatParams; + if (msg === null && n.length === 0) { + formatParams = [null]; + } else { + msg = n.shift(); + formatParams = n; + } + // We do not use a coercive check for `msg` as it is + // measurably slower than the explicit checks. + if (typeof this[msgPrefixSym$2] === 'string' && msg !== undefined && msg !== null) { + msg = this[msgPrefixSym$2] + msg; + } + this[writeSym$1](o, format(msg, formatParams, this[formatOptsSym$2]), level); + } else { + let msg = o === undefined ? n.shift() : o; + + // We do not use a coercive check for `msg` as it is + // measurably slower than the explicit checks. + if (typeof this[msgPrefixSym$2] === 'string' && msg !== undefined && msg !== null) { + msg = this[msgPrefixSym$2] + msg; + } + this[writeSym$1](null, format(msg, n, this[formatOptsSym$2]), level); + } + } +} + +// magically escape strings for json +// relying on their charCodeAt +// everything below 32 needs JSON.stringify() +// 34 and 92 happens all the time, so we +// have a fast case for them +function asString (str) { + let result = ''; + let last = 0; + let found = false; + let point = 255; + const l = str.length; + if (l > 100) { + return JSON.stringify(str) + } + for (var i = 0; i < l && point >= 32; i++) { + point = str.charCodeAt(i); + if (point === 34 || point === 92) { + result += str.slice(last, i) + '\\'; + last = i; + found = true; + } + } + if (!found) { + result = str; + } else { + result += str.slice(last); + } + return point < 32 ? JSON.stringify(str) : '"' + result + '"' +} + +function asJson$1 (obj, msg, num, time) { + const stringify = this[stringifySym$2]; + const stringifySafe = this[stringifySafeSym$1]; + const stringifiers = this[stringifiersSym$2]; + const end = this[endSym$1]; + const chindings = this[chindingsSym$2]; + const serializers = this[serializersSym$2]; + const formatters = this[formattersSym$3]; + const messageKey = this[messageKeySym$1]; + const errorKey = this[errorKeySym$2]; + let data = this[lsCacheSym$2][num] + time; + + // we need the child bindings added to the output first so instance logged + // objects can take precedence when JSON.parse-ing the resulting log line + data = data + chindings; + + let value; + if (formatters.log) { + obj = formatters.log(obj); + } + const wildcardStringifier = stringifiers[wildcardFirstSym]; + let propStr = ''; + for (const key in obj) { + value = obj[key]; + if (Object.prototype.hasOwnProperty.call(obj, key) && value !== undefined) { + if (serializers[key]) { + value = serializers[key](value); + } else if (key === errorKey && serializers.err) { + value = serializers.err(value); + } + + const stringifier = stringifiers[key] || wildcardStringifier; + + switch (typeof value) { + case 'undefined': + case 'function': + continue + case 'number': + /* eslint no-fallthrough: "off" */ + if (Number.isFinite(value) === false) { + value = null; + } + // this case explicitly falls through to the next one + case 'boolean': + if (stringifier) value = stringifier(value); + break + case 'string': + value = (stringifier || asString)(value); + break + default: + value = (stringifier || stringify)(value, stringifySafe); + } + if (value === undefined) continue + propStr += ',"' + key + '":' + value; + } + } + + let msgStr = ''; + if (msg !== undefined) { + value = serializers[messageKey] ? serializers[messageKey](msg) : msg; + const stringifier = stringifiers[messageKey] || wildcardStringifier; + + switch (typeof value) { + case 'function': + break + case 'number': + /* eslint no-fallthrough: "off" */ + if (Number.isFinite(value) === false) { + value = null; + } + // this case explicitly falls through to the next one + case 'boolean': + if (stringifier) value = stringifier(value); + msgStr = ',"' + messageKey + '":' + value; + break + case 'string': + value = (stringifier || asString)(value); + msgStr = ',"' + messageKey + '":' + value; + break + default: + value = (stringifier || stringify)(value, stringifySafe); + msgStr = ',"' + messageKey + '":' + value; + } + } + + if (this[nestedKeySym$1] && propStr) { + // place all the obj properties under the specified key + // the nested key is already formatted from the constructor + return data + this[nestedKeyStrSym$1] + propStr.slice(1) + '}' + msgStr + end + } else { + return data + propStr + msgStr + end + } +} + +function asChindings$2 (instance, bindings) { + let value; + let data = instance[chindingsSym$2]; + const stringify = instance[stringifySym$2]; + const stringifySafe = instance[stringifySafeSym$1]; + const stringifiers = instance[stringifiersSym$2]; + const wildcardStringifier = stringifiers[wildcardFirstSym]; + const serializers = instance[serializersSym$2]; + const formatter = instance[formattersSym$3].bindings; + bindings = formatter(bindings); + + for (const key in bindings) { + value = bindings[key]; + const valid = key !== 'level' && + key !== 'serializers' && + key !== 'formatters' && + key !== 'customLevels' && + bindings.hasOwnProperty(key) && + value !== undefined; + if (valid === true) { + value = serializers[key] ? serializers[key](value) : value; + value = (stringifiers[key] || wildcardStringifier || stringify)(value, stringifySafe); + if (value === undefined) continue + data += ',"' + key + '":' + value; + } + } + return data +} + +function hasBeenTampered (stream) { + return stream.write !== stream.constructor.prototype.write +} + +function buildSafeSonicBoom$1 (opts) { + const stream = new SonicBoom(opts); + stream.on('error', filterBrokenPipe); + // if we are sync: false, we must flush on exit + if (!opts.sync && isMainThread) { + onExit.register(stream, autoEnd); + + stream.on('close', function () { + onExit.unregister(stream); + }); + } + return stream + + function filterBrokenPipe (err) { + // Impossible to replicate across all operating systems + /* istanbul ignore next */ + if (err.code === 'EPIPE') { + // If we get EPIPE, we should stop logging here + // however we have no control to the consumer of + // SonicBoom, so we just overwrite the write method + stream.write = noop$4; + stream.end = noop$4; + stream.flushSync = noop$4; + stream.destroy = noop$4; + return + } + stream.removeListener('error', filterBrokenPipe); + stream.emit('error', err); + } +} + +function autoEnd (stream, eventName) { + // This check is needed only on some platforms + /* istanbul ignore next */ + if (stream.destroyed) { + return + } + + if (eventName === 'beforeExit') { + // We still have an event loop, let's use it + stream.flush(); + stream.on('drain', function () { + stream.end(); + }); + } else { + // For some reason istanbul is not detecting this, but it's there + /* istanbul ignore next */ + // We do not have an event loop, so flush synchronously + stream.flushSync(); + } +} + +function createArgsNormalizer$1 (defaultOptions) { + return function normalizeArgs (instance, caller, opts = {}, stream) { + // support stream as a string + if (typeof opts === 'string') { + stream = buildSafeSonicBoom$1({ dest: opts }); + opts = {}; + } else if (typeof stream === 'string') { + if (opts && opts.transport) { + throw Error('only one of option.transport or stream can be specified') + } + stream = buildSafeSonicBoom$1({ dest: stream }); + } else if (opts instanceof SonicBoom || opts.writable || opts._writableState) { + stream = opts; + opts = {}; + } else if (opts.transport) { + if (opts.transport instanceof SonicBoom || opts.transport.writable || opts.transport._writableState) { + throw Error('option.transport do not allow stream, please pass to option directly. e.g. pino(transport)') + } + if (opts.transport.targets && opts.transport.targets.length && opts.formatters && typeof opts.formatters.level === 'function') { + throw Error('option.transport.targets do not allow custom level formatters') + } + + let customLevels; + if (opts.customLevels) { + customLevels = opts.useOnlyCustomLevels ? opts.customLevels : Object.assign({}, opts.levels, opts.customLevels); + } + stream = transport({ caller, ...opts.transport, levels: customLevels }); + } + opts = Object.assign({}, defaultOptions, opts); + opts.serializers = Object.assign({}, defaultOptions.serializers, opts.serializers); + opts.formatters = Object.assign({}, defaultOptions.formatters, opts.formatters); + + if (opts.prettyPrint) { + throw new Error('prettyPrint option is no longer supported, see the pino-pretty package (https://github.com/pinojs/pino-pretty)') + } + + const { enabled, onChild } = opts; + if (enabled === false) opts.level = 'silent'; + if (!onChild) opts.onChild = noop$4; + if (!stream) { + if (!hasBeenTampered(process.stdout)) { + // If process.stdout.fd is undefined, it means that we are running + // in a worker thread. Let's assume we are logging to file descriptor 1. + stream = buildSafeSonicBoom$1({ fd: process.stdout.fd || 1 }); + } else { + stream = process.stdout; + } + } + return { opts, stream } + } +} + +function stringify$2 (obj, stringifySafeFn) { + try { + return JSON.stringify(obj) + } catch (_) { + try { + const stringify = stringifySafeFn || this[stringifySafeSym$1]; + return stringify(obj) + } catch (_) { + return '"[unable to serialize, circular reference is too complex to analyze]"' + } + } +} + +function buildFormatters$2 (level, bindings, log) { + return { + level, + bindings, + log + } +} + +/** + * Convert a string integer file descriptor to a proper native integer + * file descriptor. + * + * @param {string} destination The file descriptor string to attempt to convert. + * + * @returns {Number} + */ +function normalizeDestFileDescriptor$1 (destination) { + const fd = Number(destination); + if (typeof destination === 'string' && Number.isFinite(fd)) { + return fd + } + // destination could be undefined if we are in a worker + if (destination === undefined) { + // This is stdout in UNIX systems + return 1 + } + return destination +} + +var tools$1 = { + noop: noop$4, + buildSafeSonicBoom: buildSafeSonicBoom$1, + asChindings: asChindings$2, + asJson: asJson$1, + genLog: genLog$1, + createArgsNormalizer: createArgsNormalizer$1, + stringify: stringify$2, + buildFormatters: buildFormatters$2, + normalizeDestFileDescriptor: normalizeDestFileDescriptor$1 +}; + +/* eslint no-prototype-builtins: 0 */ +const { + lsCacheSym: lsCacheSym$1, + levelValSym: levelValSym$1, + useOnlyCustomLevelsSym: useOnlyCustomLevelsSym$2, + streamSym: streamSym$2, + formattersSym: formattersSym$2, + hooksSym: hooksSym$1 +} = symbols$1; +const { noop: noop$3, genLog } = tools$1; + +const levels$1 = { + trace: 10, + debug: 20, + info: 30, + warn: 40, + error: 50, + fatal: 60 +}; +const levelMethods = { + fatal: (hook) => { + const logFatal = genLog(levels$1.fatal, hook); + return function (...args) { + const stream = this[streamSym$2]; + logFatal.call(this, ...args); + if (typeof stream.flushSync === 'function') { + try { + stream.flushSync(); + } catch (e) { + // https://github.com/pinojs/pino/pull/740#discussion_r346788313 + } + } + } + }, + error: (hook) => genLog(levels$1.error, hook), + warn: (hook) => genLog(levels$1.warn, hook), + info: (hook) => genLog(levels$1.info, hook), + debug: (hook) => genLog(levels$1.debug, hook), + trace: (hook) => genLog(levels$1.trace, hook) +}; + +const nums = Object.keys(levels$1).reduce((o, k) => { + o[levels$1[k]] = k; + return o +}, {}); + +const initialLsCache$1 = Object.keys(nums).reduce((o, k) => { + o[k] = '{"level":' + Number(k); + return o +}, {}); + +function genLsCache$2 (instance) { + const formatter = instance[formattersSym$2].level; + const { labels } = instance.levels; + const cache = {}; + for (const label in labels) { + const level = formatter(labels[label], Number(label)); + cache[label] = JSON.stringify(level).slice(0, -1); + } + instance[lsCacheSym$1] = cache; + return instance +} + +function isStandardLevel (level, useOnlyCustomLevels) { + if (useOnlyCustomLevels) { + return false + } + + switch (level) { + case 'fatal': + case 'error': + case 'warn': + case 'info': + case 'debug': + case 'trace': + return true + default: + return false + } +} + +function setLevel$1 (level) { + const { labels, values } = this.levels; + if (typeof level === 'number') { + if (labels[level] === undefined) throw Error('unknown level value' + level) + level = labels[level]; + } + if (values[level] === undefined) throw Error('unknown level ' + level) + const preLevelVal = this[levelValSym$1]; + const levelVal = this[levelValSym$1] = values[level]; + const useOnlyCustomLevelsVal = this[useOnlyCustomLevelsSym$2]; + const hook = this[hooksSym$1].logMethod; + + for (const key in values) { + if (levelVal > values[key]) { + this[key] = noop$3; + continue + } + this[key] = isStandardLevel(key, useOnlyCustomLevelsVal) ? levelMethods[key](hook) : genLog(values[key], hook); + } + + this.emit( + 'level-change', + level, + levelVal, + labels[preLevelVal], + preLevelVal, + this + ); +} + +function getLevel$1 (level) { + const { levels, levelVal } = this; + // protection against potential loss of Pino scope from serializers (edge case with circular refs - https://github.com/pinojs/pino/issues/833) + return (levels && levels.labels) ? levels.labels[levelVal] : '' +} + +function isLevelEnabled$1 (logLevel) { + const { values } = this.levels; + const logLevelVal = values[logLevel]; + return logLevelVal !== undefined && (logLevelVal >= this[levelValSym$1]) +} + +function mappings$2 (customLevels = null, useOnlyCustomLevels = false) { + const customNums = customLevels + /* eslint-disable */ + ? Object.keys(customLevels).reduce((o, k) => { + o[customLevels[k]] = k; + return o + }, {}) + : null; + /* eslint-enable */ + + const labels = Object.assign( + Object.create(Object.prototype, { Infinity: { value: 'silent' } }), + useOnlyCustomLevels ? null : nums, + customNums + ); + const values = Object.assign( + Object.create(Object.prototype, { silent: { value: Infinity } }), + useOnlyCustomLevels ? null : levels$1, + customLevels + ); + return { labels, values } +} + +function assertDefaultLevelFound$1 (defaultLevel, customLevels, useOnlyCustomLevels) { + if (typeof defaultLevel === 'number') { + const values = [].concat( + Object.keys(customLevels || {}).map(key => customLevels[key]), + useOnlyCustomLevels ? [] : Object.keys(nums).map(level => +level), + Infinity + ); + if (!values.includes(defaultLevel)) { + throw Error(`default level:${defaultLevel} must be included in custom levels`) + } + return + } + + const labels = Object.assign( + Object.create(Object.prototype, { silent: { value: Infinity } }), + useOnlyCustomLevels ? null : levels$1, + customLevels + ); + if (!(defaultLevel in labels)) { + throw Error(`default level:${defaultLevel} must be included in custom levels`) + } +} + +function assertNoLevelCollisions$1 (levels, customLevels) { + const { labels, values } = levels; + for (const k in customLevels) { + if (k in values) { + throw Error('levels cannot be overridden') + } + if (customLevels[k] in labels) { + throw Error('pre-existing level values cannot be used for new levels') + } + } +} + +var levels_1 = { + initialLsCache: initialLsCache$1, + genLsCache: genLsCache$2, + levelMethods, + getLevel: getLevel$1, + setLevel: setLevel$1, + isLevelEnabled: isLevelEnabled$1, + mappings: mappings$2, + levels: levels$1, + assertNoLevelCollisions: assertNoLevelCollisions$1, + assertDefaultLevelFound: assertDefaultLevelFound$1 +}; + +var meta = { version: '8.11.0' }; + +/* eslint no-prototype-builtins: 0 */ + +const { EventEmitter: EventEmitter$1 } = require$$1$1; +const { + lsCacheSym, + levelValSym, + setLevelSym: setLevelSym$1, + getLevelSym, + chindingsSym: chindingsSym$1, + parsedChindingsSym, + mixinSym: mixinSym$1, + asJsonSym, + writeSym, + mixinMergeStrategySym: mixinMergeStrategySym$1, + timeSym: timeSym$1, + timeSliceIndexSym: timeSliceIndexSym$1, + streamSym: streamSym$1, + serializersSym: serializersSym$1, + formattersSym: formattersSym$1, + errorKeySym: errorKeySym$1, + useOnlyCustomLevelsSym: useOnlyCustomLevelsSym$1, + needsMetadataGsym, + redactFmtSym: redactFmtSym$1, + stringifySym: stringifySym$1, + formatOptsSym: formatOptsSym$1, + stringifiersSym: stringifiersSym$1, + msgPrefixSym: msgPrefixSym$1 +} = symbols$1; +const { + getLevel, + setLevel, + isLevelEnabled, + mappings: mappings$1, + initialLsCache, + genLsCache: genLsCache$1, + assertNoLevelCollisions +} = levels_1; +const { + asChindings: asChindings$1, + asJson, + buildFormatters: buildFormatters$1, + stringify: stringify$1 +} = tools$1; +const { + version: version$4 +} = meta; +const redaction$1 = redaction_1; + +// note: use of class is satirical +// https://github.com/pinojs/pino/pull/433#pullrequestreview-127703127 +const constructor = class Pino {}; +const prototype = { + constructor, + child, + bindings, + setBindings, + flush, + isLevelEnabled, + version: version$4, + get level () { return this[getLevelSym]() }, + set level (lvl) { this[setLevelSym$1](lvl); }, + get levelVal () { return this[levelValSym] }, + set levelVal (n) { throw Error('levelVal is read-only') }, + [lsCacheSym]: initialLsCache, + [writeSym]: write, + [asJsonSym]: asJson, + [getLevelSym]: getLevel, + [setLevelSym$1]: setLevel +}; + +Object.setPrototypeOf(prototype, EventEmitter$1.prototype); + +// exporting and consuming the prototype object using factory pattern fixes scoping issues with getters when serializing +var proto$1 = function () { + return Object.create(prototype) +}; + +const resetChildingsFormatter = bindings => bindings; +function child (bindings, options) { + if (!bindings) { + throw Error('missing bindings for child Pino') + } + options = options || {}; // default options to empty object + const serializers = this[serializersSym$1]; + const formatters = this[formattersSym$1]; + const instance = Object.create(this); + + if (options.hasOwnProperty('serializers') === true) { + instance[serializersSym$1] = Object.create(null); + + for (const k in serializers) { + instance[serializersSym$1][k] = serializers[k]; + } + const parentSymbols = Object.getOwnPropertySymbols(serializers); + /* eslint no-var: off */ + for (var i = 0; i < parentSymbols.length; i++) { + const ks = parentSymbols[i]; + instance[serializersSym$1][ks] = serializers[ks]; + } + + for (const bk in options.serializers) { + instance[serializersSym$1][bk] = options.serializers[bk]; + } + const bindingsSymbols = Object.getOwnPropertySymbols(options.serializers); + for (var bi = 0; bi < bindingsSymbols.length; bi++) { + const bks = bindingsSymbols[bi]; + instance[serializersSym$1][bks] = options.serializers[bks]; + } + } else instance[serializersSym$1] = serializers; + if (options.hasOwnProperty('formatters')) { + const { level, bindings: chindings, log } = options.formatters; + instance[formattersSym$1] = buildFormatters$1( + level || formatters.level, + chindings || resetChildingsFormatter, + log || formatters.log + ); + } else { + instance[formattersSym$1] = buildFormatters$1( + formatters.level, + resetChildingsFormatter, + formatters.log + ); + } + if (options.hasOwnProperty('customLevels') === true) { + assertNoLevelCollisions(this.levels, options.customLevels); + instance.levels = mappings$1(options.customLevels, instance[useOnlyCustomLevelsSym$1]); + genLsCache$1(instance); + } + + // redact must place before asChindings and only replace if exist + if ((typeof options.redact === 'object' && options.redact !== null) || Array.isArray(options.redact)) { + instance.redact = options.redact; // replace redact directly + const stringifiers = redaction$1(instance.redact, stringify$1); + const formatOpts = { stringify: stringifiers[redactFmtSym$1] }; + instance[stringifySym$1] = stringify$1; + instance[stringifiersSym$1] = stringifiers; + instance[formatOptsSym$1] = formatOpts; + } + + if (typeof options.msgPrefix === 'string') { + instance[msgPrefixSym$1] = (this[msgPrefixSym$1] || '') + options.msgPrefix; + } + + instance[chindingsSym$1] = asChindings$1(instance, bindings); + const childLevel = options.level || this.level; + instance[setLevelSym$1](childLevel); + this.onChild(instance); + return instance +} + +function bindings () { + const chindings = this[chindingsSym$1]; + const chindingsJson = `{${chindings.substr(1)}}`; // at least contains ,"pid":7068,"hostname":"myMac" + const bindingsFromJson = JSON.parse(chindingsJson); + delete bindingsFromJson.pid; + delete bindingsFromJson.hostname; + return bindingsFromJson +} + +function setBindings (newBindings) { + const chindings = asChindings$1(this, newBindings); + this[chindingsSym$1] = chindings; + delete this[parsedChindingsSym]; +} + +/** + * Default strategy for creating `mergeObject` from arguments and the result from `mixin()`. + * Fields from `mergeObject` have higher priority in this strategy. + * + * @param {Object} mergeObject The object a user has supplied to the logging function. + * @param {Object} mixinObject The result of the `mixin` method. + * @return {Object} + */ +function defaultMixinMergeStrategy (mergeObject, mixinObject) { + return Object.assign(mixinObject, mergeObject) +} + +function write (_obj, msg, num) { + const t = this[timeSym$1](); + const mixin = this[mixinSym$1]; + const errorKey = this[errorKeySym$1]; + const mixinMergeStrategy = this[mixinMergeStrategySym$1] || defaultMixinMergeStrategy; + let obj; + + if (_obj === undefined || _obj === null) { + obj = {}; + } else if (_obj instanceof Error) { + obj = { [errorKey]: _obj }; + if (msg === undefined) { + msg = _obj.message; + } + } else { + obj = _obj; + if (msg === undefined && _obj.msg === undefined && _obj[errorKey]) { + msg = _obj[errorKey].message; + } + } + + if (mixin) { + obj = mixinMergeStrategy(obj, mixin(obj, num)); + } + + const s = this[asJsonSym](obj, msg, num, t); + + const stream = this[streamSym$1]; + if (stream[needsMetadataGsym] === true) { + stream.lastLevel = num; + stream.lastObj = obj; + stream.lastMsg = msg; + stream.lastTime = t.slice(this[timeSliceIndexSym$1]); + stream.lastLogger = this; // for child loggers + } + stream.write(s); +} + +function noop$2 () {} + +function flush () { + const stream = this[streamSym$1]; + if ('flush' in stream) stream.flush(noop$2); +} + +var safeStableStringifyExports = {}; +var safeStableStringify = { + get exports(){ return safeStableStringifyExports; }, + set exports(v){ safeStableStringifyExports = v; }, +}; + +(function (module, exports) { + + const { hasOwnProperty } = Object.prototype; + + const stringify = configure(); + + // @ts-expect-error + stringify.configure = configure; + // @ts-expect-error + stringify.stringify = stringify; + + // @ts-expect-error + stringify.default = stringify; + + // @ts-expect-error used for named export + exports.stringify = stringify; + // @ts-expect-error used for named export + exports.configure = configure; + + module.exports = stringify; + + // eslint-disable-next-line no-control-regex + const strEscapeSequencesRegExp = /[\u0000-\u001f\u0022\u005c\ud800-\udfff]|[\ud800-\udbff](?![\udc00-\udfff])|(?:[^\ud800-\udbff]|^)[\udc00-\udfff]/; + + // Escape C0 control characters, double quotes, the backslash and every code + // unit with a numeric value in the inclusive range 0xD800 to 0xDFFF. + function strEscape (str) { + // Some magic numbers that worked out fine while benchmarking with v8 8.0 + if (str.length < 5000 && !strEscapeSequencesRegExp.test(str)) { + return `"${str}"` + } + return JSON.stringify(str) + } + + function insertSort (array) { + // Insertion sort is very efficient for small input sizes but it has a bad + // worst case complexity. Thus, use native array sort for bigger values. + if (array.length > 2e2) { + return array.sort() + } + for (let i = 1; i < array.length; i++) { + const currentValue = array[i]; + let position = i; + while (position !== 0 && array[position - 1] > currentValue) { + array[position] = array[position - 1]; + position--; + } + array[position] = currentValue; + } + return array + } + + const typedArrayPrototypeGetSymbolToStringTag = + Object.getOwnPropertyDescriptor( + Object.getPrototypeOf( + Object.getPrototypeOf( + new Int8Array() + ) + ), + Symbol.toStringTag + ).get; + + function isTypedArrayWithEntries (value) { + return typedArrayPrototypeGetSymbolToStringTag.call(value) !== undefined && value.length !== 0 + } + + function stringifyTypedArray (array, separator, maximumBreadth) { + if (array.length < maximumBreadth) { + maximumBreadth = array.length; + } + const whitespace = separator === ',' ? '' : ' '; + let res = `"0":${whitespace}${array[0]}`; + for (let i = 1; i < maximumBreadth; i++) { + res += `${separator}"${i}":${whitespace}${array[i]}`; + } + return res + } + + function getCircularValueOption (options) { + if (hasOwnProperty.call(options, 'circularValue')) { + const circularValue = options.circularValue; + if (typeof circularValue === 'string') { + return `"${circularValue}"` + } + if (circularValue == null) { + return circularValue + } + if (circularValue === Error || circularValue === TypeError) { + return { + toString () { + throw new TypeError('Converting circular structure to JSON') + } + } + } + throw new TypeError('The "circularValue" argument must be of type string or the value null or undefined') + } + return '"[Circular]"' + } + + function getBooleanOption (options, key) { + let value; + if (hasOwnProperty.call(options, key)) { + value = options[key]; + if (typeof value !== 'boolean') { + throw new TypeError(`The "${key}" argument must be of type boolean`) + } + } + return value === undefined ? true : value + } + + function getPositiveIntegerOption (options, key) { + let value; + if (hasOwnProperty.call(options, key)) { + value = options[key]; + if (typeof value !== 'number') { + throw new TypeError(`The "${key}" argument must be of type number`) + } + if (!Number.isInteger(value)) { + throw new TypeError(`The "${key}" argument must be an integer`) + } + if (value < 1) { + throw new RangeError(`The "${key}" argument must be >= 1`) + } + } + return value === undefined ? Infinity : value + } + + function getItemCount (number) { + if (number === 1) { + return '1 item' + } + return `${number} items` + } + + function getUniqueReplacerSet (replacerArray) { + const replacerSet = new Set(); + for (const value of replacerArray) { + if (typeof value === 'string' || typeof value === 'number') { + replacerSet.add(String(value)); + } + } + return replacerSet + } + + function getStrictOption (options) { + if (hasOwnProperty.call(options, 'strict')) { + const value = options.strict; + if (typeof value !== 'boolean') { + throw new TypeError('The "strict" argument must be of type boolean') + } + if (value) { + return (value) => { + let message = `Object can not safely be stringified. Received type ${typeof value}`; + if (typeof value !== 'function') message += ` (${value.toString()})`; + throw new Error(message) + } + } + } + } + + function configure (options) { + options = { ...options }; + const fail = getStrictOption(options); + if (fail) { + if (options.bigint === undefined) { + options.bigint = false; + } + if (!('circularValue' in options)) { + options.circularValue = Error; + } + } + const circularValue = getCircularValueOption(options); + const bigint = getBooleanOption(options, 'bigint'); + const deterministic = getBooleanOption(options, 'deterministic'); + const maximumDepth = getPositiveIntegerOption(options, 'maximumDepth'); + const maximumBreadth = getPositiveIntegerOption(options, 'maximumBreadth'); + + function stringifyFnReplacer (key, parent, stack, replacer, spacer, indentation) { + let value = parent[key]; + + if (typeof value === 'object' && value !== null && typeof value.toJSON === 'function') { + value = value.toJSON(key); + } + value = replacer.call(parent, key, value); + + switch (typeof value) { + case 'string': + return strEscape(value) + case 'object': { + if (value === null) { + return 'null' + } + if (stack.indexOf(value) !== -1) { + return circularValue + } + + let res = ''; + let join = ','; + const originalIndentation = indentation; + + if (Array.isArray(value)) { + if (value.length === 0) { + return '[]' + } + if (maximumDepth < stack.length + 1) { + return '"[Array]"' + } + stack.push(value); + if (spacer !== '') { + indentation += spacer; + res += `\n${indentation}`; + join = `,\n${indentation}`; + } + const maximumValuesToStringify = Math.min(value.length, maximumBreadth); + let i = 0; + for (; i < maximumValuesToStringify - 1; i++) { + const tmp = stringifyFnReplacer(String(i), value, stack, replacer, spacer, indentation); + res += tmp !== undefined ? tmp : 'null'; + res += join; + } + const tmp = stringifyFnReplacer(String(i), value, stack, replacer, spacer, indentation); + res += tmp !== undefined ? tmp : 'null'; + if (value.length - 1 > maximumBreadth) { + const removedKeys = value.length - maximumBreadth - 1; + res += `${join}"... ${getItemCount(removedKeys)} not stringified"`; + } + if (spacer !== '') { + res += `\n${originalIndentation}`; + } + stack.pop(); + return `[${res}]` + } + + let keys = Object.keys(value); + const keyLength = keys.length; + if (keyLength === 0) { + return '{}' + } + if (maximumDepth < stack.length + 1) { + return '"[Object]"' + } + let whitespace = ''; + let separator = ''; + if (spacer !== '') { + indentation += spacer; + join = `,\n${indentation}`; + whitespace = ' '; + } + const maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth); + if (deterministic && !isTypedArrayWithEntries(value)) { + keys = insertSort(keys); + } + stack.push(value); + for (let i = 0; i < maximumPropertiesToStringify; i++) { + const key = keys[i]; + const tmp = stringifyFnReplacer(key, value, stack, replacer, spacer, indentation); + if (tmp !== undefined) { + res += `${separator}${strEscape(key)}:${whitespace}${tmp}`; + separator = join; + } + } + if (keyLength > maximumBreadth) { + const removedKeys = keyLength - maximumBreadth; + res += `${separator}"...":${whitespace}"${getItemCount(removedKeys)} not stringified"`; + separator = join; + } + if (spacer !== '' && separator.length > 1) { + res = `\n${indentation}${res}\n${originalIndentation}`; + } + stack.pop(); + return `{${res}}` + } + case 'number': + return isFinite(value) ? String(value) : fail ? fail(value) : 'null' + case 'boolean': + return value === true ? 'true' : 'false' + case 'undefined': + return undefined + case 'bigint': + if (bigint) { + return String(value) + } + // fallthrough + default: + return fail ? fail(value) : undefined + } + } + + function stringifyArrayReplacer (key, value, stack, replacer, spacer, indentation) { + if (typeof value === 'object' && value !== null && typeof value.toJSON === 'function') { + value = value.toJSON(key); + } + + switch (typeof value) { + case 'string': + return strEscape(value) + case 'object': { + if (value === null) { + return 'null' + } + if (stack.indexOf(value) !== -1) { + return circularValue + } + + const originalIndentation = indentation; + let res = ''; + let join = ','; + + if (Array.isArray(value)) { + if (value.length === 0) { + return '[]' + } + if (maximumDepth < stack.length + 1) { + return '"[Array]"' + } + stack.push(value); + if (spacer !== '') { + indentation += spacer; + res += `\n${indentation}`; + join = `,\n${indentation}`; + } + const maximumValuesToStringify = Math.min(value.length, maximumBreadth); + let i = 0; + for (; i < maximumValuesToStringify - 1; i++) { + const tmp = stringifyArrayReplacer(String(i), value[i], stack, replacer, spacer, indentation); + res += tmp !== undefined ? tmp : 'null'; + res += join; + } + const tmp = stringifyArrayReplacer(String(i), value[i], stack, replacer, spacer, indentation); + res += tmp !== undefined ? tmp : 'null'; + if (value.length - 1 > maximumBreadth) { + const removedKeys = value.length - maximumBreadth - 1; + res += `${join}"... ${getItemCount(removedKeys)} not stringified"`; + } + if (spacer !== '') { + res += `\n${originalIndentation}`; + } + stack.pop(); + return `[${res}]` + } + stack.push(value); + let whitespace = ''; + if (spacer !== '') { + indentation += spacer; + join = `,\n${indentation}`; + whitespace = ' '; + } + let separator = ''; + for (const key of replacer) { + const tmp = stringifyArrayReplacer(key, value[key], stack, replacer, spacer, indentation); + if (tmp !== undefined) { + res += `${separator}${strEscape(key)}:${whitespace}${tmp}`; + separator = join; + } + } + if (spacer !== '' && separator.length > 1) { + res = `\n${indentation}${res}\n${originalIndentation}`; + } + stack.pop(); + return `{${res}}` + } + case 'number': + return isFinite(value) ? String(value) : fail ? fail(value) : 'null' + case 'boolean': + return value === true ? 'true' : 'false' + case 'undefined': + return undefined + case 'bigint': + if (bigint) { + return String(value) + } + // fallthrough + default: + return fail ? fail(value) : undefined + } + } + + function stringifyIndent (key, value, stack, spacer, indentation) { + switch (typeof value) { + case 'string': + return strEscape(value) + case 'object': { + if (value === null) { + return 'null' + } + if (typeof value.toJSON === 'function') { + value = value.toJSON(key); + // Prevent calling `toJSON` again. + if (typeof value !== 'object') { + return stringifyIndent(key, value, stack, spacer, indentation) + } + if (value === null) { + return 'null' + } + } + if (stack.indexOf(value) !== -1) { + return circularValue + } + const originalIndentation = indentation; + + if (Array.isArray(value)) { + if (value.length === 0) { + return '[]' + } + if (maximumDepth < stack.length + 1) { + return '"[Array]"' + } + stack.push(value); + indentation += spacer; + let res = `\n${indentation}`; + const join = `,\n${indentation}`; + const maximumValuesToStringify = Math.min(value.length, maximumBreadth); + let i = 0; + for (; i < maximumValuesToStringify - 1; i++) { + const tmp = stringifyIndent(String(i), value[i], stack, spacer, indentation); + res += tmp !== undefined ? tmp : 'null'; + res += join; + } + const tmp = stringifyIndent(String(i), value[i], stack, spacer, indentation); + res += tmp !== undefined ? tmp : 'null'; + if (value.length - 1 > maximumBreadth) { + const removedKeys = value.length - maximumBreadth - 1; + res += `${join}"... ${getItemCount(removedKeys)} not stringified"`; + } + res += `\n${originalIndentation}`; + stack.pop(); + return `[${res}]` + } + + let keys = Object.keys(value); + const keyLength = keys.length; + if (keyLength === 0) { + return '{}' + } + if (maximumDepth < stack.length + 1) { + return '"[Object]"' + } + indentation += spacer; + const join = `,\n${indentation}`; + let res = ''; + let separator = ''; + let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth); + if (isTypedArrayWithEntries(value)) { + res += stringifyTypedArray(value, join, maximumBreadth); + keys = keys.slice(value.length); + maximumPropertiesToStringify -= value.length; + separator = join; + } + if (deterministic) { + keys = insertSort(keys); + } + stack.push(value); + for (let i = 0; i < maximumPropertiesToStringify; i++) { + const key = keys[i]; + const tmp = stringifyIndent(key, value[key], stack, spacer, indentation); + if (tmp !== undefined) { + res += `${separator}${strEscape(key)}: ${tmp}`; + separator = join; + } + } + if (keyLength > maximumBreadth) { + const removedKeys = keyLength - maximumBreadth; + res += `${separator}"...": "${getItemCount(removedKeys)} not stringified"`; + separator = join; + } + if (separator !== '') { + res = `\n${indentation}${res}\n${originalIndentation}`; + } + stack.pop(); + return `{${res}}` + } + case 'number': + return isFinite(value) ? String(value) : fail ? fail(value) : 'null' + case 'boolean': + return value === true ? 'true' : 'false' + case 'undefined': + return undefined + case 'bigint': + if (bigint) { + return String(value) + } + // fallthrough + default: + return fail ? fail(value) : undefined + } + } + + function stringifySimple (key, value, stack) { + switch (typeof value) { + case 'string': + return strEscape(value) + case 'object': { + if (value === null) { + return 'null' + } + if (typeof value.toJSON === 'function') { + value = value.toJSON(key); + // Prevent calling `toJSON` again + if (typeof value !== 'object') { + return stringifySimple(key, value, stack) + } + if (value === null) { + return 'null' + } + } + if (stack.indexOf(value) !== -1) { + return circularValue + } + + let res = ''; + + if (Array.isArray(value)) { + if (value.length === 0) { + return '[]' + } + if (maximumDepth < stack.length + 1) { + return '"[Array]"' + } + stack.push(value); + const maximumValuesToStringify = Math.min(value.length, maximumBreadth); + let i = 0; + for (; i < maximumValuesToStringify - 1; i++) { + const tmp = stringifySimple(String(i), value[i], stack); + res += tmp !== undefined ? tmp : 'null'; + res += ','; + } + const tmp = stringifySimple(String(i), value[i], stack); + res += tmp !== undefined ? tmp : 'null'; + if (value.length - 1 > maximumBreadth) { + const removedKeys = value.length - maximumBreadth - 1; + res += `,"... ${getItemCount(removedKeys)} not stringified"`; + } + stack.pop(); + return `[${res}]` + } + + let keys = Object.keys(value); + const keyLength = keys.length; + if (keyLength === 0) { + return '{}' + } + if (maximumDepth < stack.length + 1) { + return '"[Object]"' + } + let separator = ''; + let maximumPropertiesToStringify = Math.min(keyLength, maximumBreadth); + if (isTypedArrayWithEntries(value)) { + res += stringifyTypedArray(value, ',', maximumBreadth); + keys = keys.slice(value.length); + maximumPropertiesToStringify -= value.length; + separator = ','; + } + if (deterministic) { + keys = insertSort(keys); + } + stack.push(value); + for (let i = 0; i < maximumPropertiesToStringify; i++) { + const key = keys[i]; + const tmp = stringifySimple(key, value[key], stack); + if (tmp !== undefined) { + res += `${separator}${strEscape(key)}:${tmp}`; + separator = ','; + } + } + if (keyLength > maximumBreadth) { + const removedKeys = keyLength - maximumBreadth; + res += `${separator}"...":"${getItemCount(removedKeys)} not stringified"`; + } + stack.pop(); + return `{${res}}` + } + case 'number': + return isFinite(value) ? String(value) : fail ? fail(value) : 'null' + case 'boolean': + return value === true ? 'true' : 'false' + case 'undefined': + return undefined + case 'bigint': + if (bigint) { + return String(value) + } + // fallthrough + default: + return fail ? fail(value) : undefined + } + } + + function stringify (value, replacer, space) { + if (arguments.length > 1) { + let spacer = ''; + if (typeof space === 'number') { + spacer = ' '.repeat(Math.min(space, 10)); + } else if (typeof space === 'string') { + spacer = space.slice(0, 10); + } + if (replacer != null) { + if (typeof replacer === 'function') { + return stringifyFnReplacer('', { '': value }, [], replacer, spacer, '') + } + if (Array.isArray(replacer)) { + return stringifyArrayReplacer('', value, [], getUniqueReplacerSet(replacer), spacer, '') + } + } + if (spacer.length !== 0) { + return stringifyIndent('', value, [], spacer, '') + } + } + return stringifySimple('', value, []) + } + + return stringify + } +} (safeStableStringify, safeStableStringifyExports)); + +var multistream_1; +var hasRequiredMultistream; + +function requireMultistream () { + if (hasRequiredMultistream) return multistream_1; + hasRequiredMultistream = 1; + + const metadata = Symbol.for('pino.metadata'); + const { levels } = levels_1; + + const defaultLevels = Object.create(levels); + defaultLevels.silent = Infinity; + + const DEFAULT_INFO_LEVEL = levels.info; + + function multistream (streamsArray, opts) { + let counter = 0; + streamsArray = streamsArray || []; + opts = opts || { dedupe: false }; + + let levels = defaultLevels; + if (opts.levels && typeof opts.levels === 'object') { + levels = opts.levels; + } + + const res = { + write, + add, + flushSync, + end, + minLevel: 0, + streams: [], + clone, + [metadata]: true + }; + + if (Array.isArray(streamsArray)) { + streamsArray.forEach(add, res); + } else { + add.call(res, streamsArray); + } + + // clean this object up + // or it will stay allocated forever + // as it is closed on the following closures + streamsArray = null; + + return res + + // we can exit early because the streams are ordered by level + function write (data) { + let dest; + const level = this.lastLevel; + const { streams } = this; + // for handling situation when several streams has the same level + let recordedLevel = 0; + let stream; + + // if dedupe set to true we send logs to the stream with the highest level + // therefore, we have to change sorting order + for (let i = initLoopVar(streams.length, opts.dedupe); checkLoopVar(i, streams.length, opts.dedupe); i = adjustLoopVar(i, opts.dedupe)) { + dest = streams[i]; + if (dest.level <= level) { + if (recordedLevel !== 0 && recordedLevel !== dest.level) { + break + } + stream = dest.stream; + if (stream[metadata]) { + const { lastTime, lastMsg, lastObj, lastLogger } = this; + stream.lastLevel = level; + stream.lastTime = lastTime; + stream.lastMsg = lastMsg; + stream.lastObj = lastObj; + stream.lastLogger = lastLogger; + } + stream.write(data); + if (opts.dedupe) { + recordedLevel = dest.level; + } + } else if (!opts.dedupe) { + break + } + } + } + + function flushSync () { + for (const { stream } of this.streams) { + if (typeof stream.flushSync === 'function') { + stream.flushSync(); + } + } + } + + function add (dest) { + if (!dest) { + return res + } + + // Check that dest implements either StreamEntry or DestinationStream + const isStream = typeof dest.write === 'function' || dest.stream; + const stream_ = dest.write ? dest : dest.stream; + // This is necessary to provide a meaningful error message, otherwise it throws somewhere inside write() + if (!isStream) { + throw Error('stream object needs to implement either StreamEntry or DestinationStream interface') + } + + const { streams } = this; + + let level; + if (typeof dest.levelVal === 'number') { + level = dest.levelVal; + } else if (typeof dest.level === 'string') { + level = levels[dest.level]; + } else if (typeof dest.level === 'number') { + level = dest.level; + } else { + level = DEFAULT_INFO_LEVEL; + } + + const dest_ = { + stream: stream_, + level, + levelVal: undefined, + id: counter++ + }; + + streams.unshift(dest_); + streams.sort(compareByLevel); + + this.minLevel = streams[0].level; + + return res + } + + function end () { + for (const { stream } of this.streams) { + if (typeof stream.flushSync === 'function') { + stream.flushSync(); + } + stream.end(); + } + } + + function clone (level) { + const streams = new Array(this.streams.length); + + for (let i = 0; i < streams.length; i++) { + streams[i] = { + level, + stream: this.streams[i].stream + }; + } + + return { + write, + add, + minLevel: level, + streams, + clone, + flushSync, + [metadata]: true + } + } + } + + function compareByLevel (a, b) { + return a.level - b.level + } + + function initLoopVar (length, dedupe) { + return dedupe ? length - 1 : 0 + } + + function adjustLoopVar (i, dedupe) { + return dedupe ? i - 1 : i + 1 + } + + function checkLoopVar (i, length, dedupe) { + return dedupe ? i >= 0 : i < length + } + + multistream_1 = multistream; + return multistream_1; +} + +/* eslint no-prototype-builtins: 0 */ +const os = require$$0$6; +const stdSerializers = pinoStdSerializers; +const caller = caller$1; +const redaction = redaction_1; +const time = time$1; +const proto = proto$1; +const symbols = symbols$1; +const { configure } = safeStableStringifyExports; +const { assertDefaultLevelFound, mappings, genLsCache, levels } = levels_1; +const { + createArgsNormalizer, + asChindings, + buildSafeSonicBoom, + buildFormatters, + stringify, + normalizeDestFileDescriptor, + noop: noop$1 +} = tools$1; +const { version: version$3 } = meta; +const { + chindingsSym, + redactFmtSym, + serializersSym, + timeSym, + timeSliceIndexSym, + streamSym, + stringifySym, + stringifySafeSym, + stringifiersSym, + setLevelSym, + endSym, + formatOptsSym, + messageKeySym, + errorKeySym, + nestedKeySym, + mixinSym, + useOnlyCustomLevelsSym, + formattersSym, + hooksSym, + nestedKeyStrSym, + mixinMergeStrategySym, + msgPrefixSym +} = symbols; +const { epochTime, nullTime } = time; +const { pid } = process; +const hostname = os.hostname(); +const defaultErrorSerializer = stdSerializers.err; +const defaultOptions = { + level: 'info', + levels, + messageKey: 'msg', + errorKey: 'err', + nestedKey: null, + enabled: true, + base: { pid, hostname }, + serializers: Object.assign(Object.create(null), { + err: defaultErrorSerializer + }), + formatters: Object.assign(Object.create(null), { + bindings (bindings) { + return bindings + }, + level (label, number) { + return { level: number } + } + }), + hooks: { + logMethod: undefined + }, + timestamp: epochTime, + name: undefined, + redact: null, + customLevels: null, + useOnlyCustomLevels: false, + depthLimit: 5, + edgeLimit: 100 +}; + +const normalize = createArgsNormalizer(defaultOptions); + +const serializers = Object.assign(Object.create(null), stdSerializers); + +function pino (...args) { + const instance = {}; + const { opts, stream } = normalize(instance, caller(), ...args); + const { + redact, + crlf, + serializers, + timestamp, + messageKey, + errorKey, + nestedKey, + base, + name, + level, + customLevels, + mixin, + mixinMergeStrategy, + useOnlyCustomLevels, + formatters, + hooks, + depthLimit, + edgeLimit, + onChild, + msgPrefix + } = opts; + + const stringifySafe = configure({ + maximumDepth: depthLimit, + maximumBreadth: edgeLimit + }); + + const allFormatters = buildFormatters( + formatters.level, + formatters.bindings, + formatters.log + ); + + const stringifyFn = stringify.bind({ + [stringifySafeSym]: stringifySafe + }); + const stringifiers = redact ? redaction(redact, stringifyFn) : {}; + const formatOpts = redact + ? { stringify: stringifiers[redactFmtSym] } + : { stringify: stringifyFn }; + const end = '}' + (crlf ? '\r\n' : '\n'); + const coreChindings = asChindings.bind(null, { + [chindingsSym]: '', + [serializersSym]: serializers, + [stringifiersSym]: stringifiers, + [stringifySym]: stringify, + [stringifySafeSym]: stringifySafe, + [formattersSym]: allFormatters + }); + + let chindings = ''; + if (base !== null) { + if (name === undefined) { + chindings = coreChindings(base); + } else { + chindings = coreChindings(Object.assign({}, base, { name })); + } + } + + const time = (timestamp instanceof Function) + ? timestamp + : (timestamp ? epochTime : nullTime); + const timeSliceIndex = time().indexOf(':') + 1; + + if (useOnlyCustomLevels && !customLevels) throw Error('customLevels is required if useOnlyCustomLevels is set true') + if (mixin && typeof mixin !== 'function') throw Error(`Unknown mixin type "${typeof mixin}" - expected "function"`) + if (msgPrefix && typeof msgPrefix !== 'string') throw Error(`Unknown msgPrefix type "${typeof msgPrefix}" - expected "string"`) + + assertDefaultLevelFound(level, customLevels, useOnlyCustomLevels); + const levels = mappings(customLevels, useOnlyCustomLevels); + + Object.assign(instance, { + levels, + [useOnlyCustomLevelsSym]: useOnlyCustomLevels, + [streamSym]: stream, + [timeSym]: time, + [timeSliceIndexSym]: timeSliceIndex, + [stringifySym]: stringify, + [stringifySafeSym]: stringifySafe, + [stringifiersSym]: stringifiers, + [endSym]: end, + [formatOptsSym]: formatOpts, + [messageKeySym]: messageKey, + [errorKeySym]: errorKey, + [nestedKeySym]: nestedKey, + // protect against injection + [nestedKeyStrSym]: nestedKey ? `,${JSON.stringify(nestedKey)}:{` : '', + [serializersSym]: serializers, + [mixinSym]: mixin, + [mixinMergeStrategySym]: mixinMergeStrategy, + [chindingsSym]: chindings, + [formattersSym]: allFormatters, + [hooksSym]: hooks, + silent: noop$1, + onChild, + [msgPrefixSym]: msgPrefix + }); + + Object.setPrototypeOf(instance, proto()); + + genLsCache(instance); + + instance[setLevelSym](level); + + return instance +} + +pino$1.exports = pino; + +pinoExports.destination = (dest = process.stdout.fd) => { + if (typeof dest === 'object') { + dest.dest = normalizeDestFileDescriptor(dest.dest || process.stdout.fd); + return buildSafeSonicBoom(dest) + } else { + return buildSafeSonicBoom({ dest: normalizeDestFileDescriptor(dest), minLength: 0 }) + } +}; + +pinoExports.transport = requireTransport(); +pinoExports.multistream = requireMultistream(); + +pinoExports.levels = mappings(); +pinoExports.stdSerializers = serializers; +pinoExports.stdTimeFunctions = Object.assign({}, time); +pinoExports.symbols = symbols; +pinoExports.version = version$3; + +// Enables default and name export with TypeScript and Babel +pinoExports.default = pino; +pinoExports.pino = pino; + +const logger$2 = pinoExports(); +logger$2.level = 'trace'; +var logger_1 = logger$2; + +var libmimeExports$1 = {}; +var libmime$5 = { + get exports(){ return libmimeExports$1; }, + set exports(v){ libmimeExports$1 = v; }, +}; + +var charsetExports$1 = {}; +var charset$3 = { + get exports(){ return charsetExports$1; }, + set exports(v){ charsetExports$1 = v; }, +}; + +var libExports = {}; +var lib = { + get exports(){ return libExports; }, + set exports(v){ libExports = v; }, +}; + +/* eslint-disable node/no-deprecated-api */ + +var buffer = require$$0$4; +var Buffer$1 = buffer.Buffer; + +var safer = {}; + +var key; + +for (key in buffer) { + if (!buffer.hasOwnProperty(key)) continue + if (key === 'SlowBuffer' || key === 'Buffer') continue + safer[key] = buffer[key]; +} + +var Safer = safer.Buffer = {}; +for (key in Buffer$1) { + if (!Buffer$1.hasOwnProperty(key)) continue + if (key === 'allocUnsafe' || key === 'allocUnsafeSlow') continue + Safer[key] = Buffer$1[key]; +} + +safer.Buffer.prototype = Buffer$1.prototype; + +if (!Safer.from || Safer.from === Uint8Array.from) { + Safer.from = function (value, encodingOrOffset, length) { + if (typeof value === 'number') { + throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value) + } + if (value && typeof value.length === 'undefined') { + throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value) + } + return Buffer$1(value, encodingOrOffset, length) + }; +} + +if (!Safer.alloc) { + Safer.alloc = function (size, fill, encoding) { + if (typeof size !== 'number') { + throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size) + } + if (size < 0 || size >= 2 * (1 << 30)) { + throw new RangeError('The value "' + size + '" is invalid for option "size"') + } + var buf = Buffer$1(size); + if (!fill || fill.length === 0) { + buf.fill(0); + } else if (typeof encoding === 'string') { + buf.fill(fill, encoding); + } else { + buf.fill(fill); + } + return buf + }; +} + +if (!safer.kStringMaxLength) { + try { + safer.kStringMaxLength = process.binding('buffer').kStringMaxLength; + } catch (e) { + // we can't determine kStringMaxLength in environments where process.binding + // is unsupported, so let's not set it + } +} + +if (!safer.constants) { + safer.constants = { + MAX_LENGTH: safer.kMaxLength + }; + if (safer.kStringMaxLength) { + safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength; + } +} + +var safer_1 = safer; + +var bomHandling = {}; + +var BOMChar = '\uFEFF'; + +bomHandling.PrependBOM = PrependBOMWrapper; +function PrependBOMWrapper(encoder, options) { + this.encoder = encoder; + this.addBOM = true; +} + +PrependBOMWrapper.prototype.write = function(str) { + if (this.addBOM) { + str = BOMChar + str; + this.addBOM = false; + } + + return this.encoder.write(str); +}; + +PrependBOMWrapper.prototype.end = function() { + return this.encoder.end(); +}; + + +//------------------------------------------------------------------------------ + +bomHandling.StripBOM = StripBOMWrapper; +function StripBOMWrapper(decoder, options) { + this.decoder = decoder; + this.pass = false; + this.options = options || {}; +} + +StripBOMWrapper.prototype.write = function(buf) { + var res = this.decoder.write(buf); + if (this.pass || !res) + return res; + + if (res[0] === BOMChar) { + res = res.slice(1); + if (typeof this.options.stripBOM === 'function') + this.options.stripBOM(); + } + + this.pass = true; + return res; +}; + +StripBOMWrapper.prototype.end = function() { + return this.decoder.end(); +}; + +var encodings = {}; + +var internal; +var hasRequiredInternal; + +function requireInternal () { + if (hasRequiredInternal) return internal; + hasRequiredInternal = 1; + var Buffer = safer_1.Buffer; + + // Export Node.js internal encodings. + + internal = { + // Encodings + utf8: { type: "_internal", bomAware: true}, + cesu8: { type: "_internal", bomAware: true}, + unicode11utf8: "utf8", + + ucs2: { type: "_internal", bomAware: true}, + utf16le: "ucs2", + + binary: { type: "_internal" }, + base64: { type: "_internal" }, + hex: { type: "_internal" }, + + // Codec. + _internal: InternalCodec, + }; + + //------------------------------------------------------------------------------ + + function InternalCodec(codecOptions, iconv) { + this.enc = codecOptions.encodingName; + this.bomAware = codecOptions.bomAware; + + if (this.enc === "base64") + this.encoder = InternalEncoderBase64; + else if (this.enc === "cesu8") { + this.enc = "utf8"; // Use utf8 for decoding. + this.encoder = InternalEncoderCesu8; + + // Add decoder for versions of Node not supporting CESU-8 + if (Buffer.from('eda0bdedb2a9', 'hex').toString() !== '💩') { + this.decoder = InternalDecoderCesu8; + this.defaultCharUnicode = iconv.defaultCharUnicode; + } + } + } + + InternalCodec.prototype.encoder = InternalEncoder; + InternalCodec.prototype.decoder = InternalDecoder; + + //------------------------------------------------------------------------------ + + // We use node.js internal decoder. Its signature is the same as ours. + var StringDecoder = require$$1$2.StringDecoder; + + if (!StringDecoder.prototype.end) // Node v0.8 doesn't have this method. + StringDecoder.prototype.end = function() {}; + + + function InternalDecoder(options, codec) { + this.decoder = new StringDecoder(codec.enc); + } + + InternalDecoder.prototype.write = function(buf) { + if (!Buffer.isBuffer(buf)) { + buf = Buffer.from(buf); + } + + return this.decoder.write(buf); + }; + + InternalDecoder.prototype.end = function() { + return this.decoder.end(); + }; + + + //------------------------------------------------------------------------------ + // Encoder is mostly trivial + + function InternalEncoder(options, codec) { + this.enc = codec.enc; + } + + InternalEncoder.prototype.write = function(str) { + return Buffer.from(str, this.enc); + }; + + InternalEncoder.prototype.end = function() { + }; + + + //------------------------------------------------------------------------------ + // Except base64 encoder, which must keep its state. + + function InternalEncoderBase64(options, codec) { + this.prevStr = ''; + } + + InternalEncoderBase64.prototype.write = function(str) { + str = this.prevStr + str; + var completeQuads = str.length - (str.length % 4); + this.prevStr = str.slice(completeQuads); + str = str.slice(0, completeQuads); + + return Buffer.from(str, "base64"); + }; + + InternalEncoderBase64.prototype.end = function() { + return Buffer.from(this.prevStr, "base64"); + }; + + + //------------------------------------------------------------------------------ + // CESU-8 encoder is also special. + + function InternalEncoderCesu8(options, codec) { + } + + InternalEncoderCesu8.prototype.write = function(str) { + var buf = Buffer.alloc(str.length * 3), bufIdx = 0; + for (var i = 0; i < str.length; i++) { + var charCode = str.charCodeAt(i); + // Naive implementation, but it works because CESU-8 is especially easy + // to convert from UTF-16 (which all JS strings are encoded in). + if (charCode < 0x80) + buf[bufIdx++] = charCode; + else if (charCode < 0x800) { + buf[bufIdx++] = 0xC0 + (charCode >>> 6); + buf[bufIdx++] = 0x80 + (charCode & 0x3f); + } + else { // charCode will always be < 0x10000 in javascript. + buf[bufIdx++] = 0xE0 + (charCode >>> 12); + buf[bufIdx++] = 0x80 + ((charCode >>> 6) & 0x3f); + buf[bufIdx++] = 0x80 + (charCode & 0x3f); + } + } + return buf.slice(0, bufIdx); + }; + + InternalEncoderCesu8.prototype.end = function() { + }; + + //------------------------------------------------------------------------------ + // CESU-8 decoder is not implemented in Node v4.0+ + + function InternalDecoderCesu8(options, codec) { + this.acc = 0; + this.contBytes = 0; + this.accBytes = 0; + this.defaultCharUnicode = codec.defaultCharUnicode; + } + + InternalDecoderCesu8.prototype.write = function(buf) { + var acc = this.acc, contBytes = this.contBytes, accBytes = this.accBytes, + res = ''; + for (var i = 0; i < buf.length; i++) { + var curByte = buf[i]; + if ((curByte & 0xC0) !== 0x80) { // Leading byte + if (contBytes > 0) { // Previous code is invalid + res += this.defaultCharUnicode; + contBytes = 0; + } + + if (curByte < 0x80) { // Single-byte code + res += String.fromCharCode(curByte); + } else if (curByte < 0xE0) { // Two-byte code + acc = curByte & 0x1F; + contBytes = 1; accBytes = 1; + } else if (curByte < 0xF0) { // Three-byte code + acc = curByte & 0x0F; + contBytes = 2; accBytes = 1; + } else { // Four or more are not supported for CESU-8. + res += this.defaultCharUnicode; + } + } else { // Continuation byte + if (contBytes > 0) { // We're waiting for it. + acc = (acc << 6) | (curByte & 0x3f); + contBytes--; accBytes++; + if (contBytes === 0) { + // Check for overlong encoding, but support Modified UTF-8 (encoding NULL as C0 80) + if (accBytes === 2 && acc < 0x80 && acc > 0) + res += this.defaultCharUnicode; + else if (accBytes === 3 && acc < 0x800) + res += this.defaultCharUnicode; + else + // Actually add character. + res += String.fromCharCode(acc); + } + } else { // Unexpected continuation byte + res += this.defaultCharUnicode; + } + } + } + this.acc = acc; this.contBytes = contBytes; this.accBytes = accBytes; + return res; + }; + + InternalDecoderCesu8.prototype.end = function() { + var res = 0; + if (this.contBytes > 0) + res += this.defaultCharUnicode; + return res; + }; + return internal; +} + +var utf32 = {}; + +var hasRequiredUtf32; + +function requireUtf32 () { + if (hasRequiredUtf32) return utf32; + hasRequiredUtf32 = 1; + + var Buffer = safer_1.Buffer; + + // == UTF32-LE/BE codec. ========================================================== + + utf32._utf32 = Utf32Codec; + + function Utf32Codec(codecOptions, iconv) { + this.iconv = iconv; + this.bomAware = true; + this.isLE = codecOptions.isLE; + } + + utf32.utf32le = { type: '_utf32', isLE: true }; + utf32.utf32be = { type: '_utf32', isLE: false }; + + // Aliases + utf32.ucs4le = 'utf32le'; + utf32.ucs4be = 'utf32be'; + + Utf32Codec.prototype.encoder = Utf32Encoder; + Utf32Codec.prototype.decoder = Utf32Decoder; + + // -- Encoding + + function Utf32Encoder(options, codec) { + this.isLE = codec.isLE; + this.highSurrogate = 0; + } + + Utf32Encoder.prototype.write = function(str) { + var src = Buffer.from(str, 'ucs2'); + var dst = Buffer.alloc(src.length * 2); + var write32 = this.isLE ? dst.writeUInt32LE : dst.writeUInt32BE; + var offset = 0; + + for (var i = 0; i < src.length; i += 2) { + var code = src.readUInt16LE(i); + var isHighSurrogate = (0xD800 <= code && code < 0xDC00); + var isLowSurrogate = (0xDC00 <= code && code < 0xE000); + + if (this.highSurrogate) { + if (isHighSurrogate || !isLowSurrogate) { + // There shouldn't be two high surrogates in a row, nor a high surrogate which isn't followed by a low + // surrogate. If this happens, keep the pending high surrogate as a stand-alone semi-invalid character + // (technically wrong, but expected by some applications, like Windows file names). + write32.call(dst, this.highSurrogate, offset); + offset += 4; + } + else { + // Create 32-bit value from high and low surrogates; + var codepoint = (((this.highSurrogate - 0xD800) << 10) | (code - 0xDC00)) + 0x10000; + + write32.call(dst, codepoint, offset); + offset += 4; + this.highSurrogate = 0; + + continue; + } + } + + if (isHighSurrogate) + this.highSurrogate = code; + else { + // Even if the current character is a low surrogate, with no previous high surrogate, we'll + // encode it as a semi-invalid stand-alone character for the same reasons expressed above for + // unpaired high surrogates. + write32.call(dst, code, offset); + offset += 4; + this.highSurrogate = 0; + } + } + + if (offset < dst.length) + dst = dst.slice(0, offset); + + return dst; + }; + + Utf32Encoder.prototype.end = function() { + // Treat any leftover high surrogate as a semi-valid independent character. + if (!this.highSurrogate) + return; + + var buf = Buffer.alloc(4); + + if (this.isLE) + buf.writeUInt32LE(this.highSurrogate, 0); + else + buf.writeUInt32BE(this.highSurrogate, 0); + + this.highSurrogate = 0; + + return buf; + }; + + // -- Decoding + + function Utf32Decoder(options, codec) { + this.isLE = codec.isLE; + this.badChar = codec.iconv.defaultCharUnicode.charCodeAt(0); + this.overflow = []; + } + + Utf32Decoder.prototype.write = function(src) { + if (src.length === 0) + return ''; + + var i = 0; + var codepoint = 0; + var dst = Buffer.alloc(src.length + 4); + var offset = 0; + var isLE = this.isLE; + var overflow = this.overflow; + var badChar = this.badChar; + + if (overflow.length > 0) { + for (; i < src.length && overflow.length < 4; i++) + overflow.push(src[i]); + + if (overflow.length === 4) { + // NOTE: codepoint is a signed int32 and can be negative. + // NOTE: We copied this block from below to help V8 optimize it (it works with array, not buffer). + if (isLE) { + codepoint = overflow[i] | (overflow[i+1] << 8) | (overflow[i+2] << 16) | (overflow[i+3] << 24); + } else { + codepoint = overflow[i+3] | (overflow[i+2] << 8) | (overflow[i+1] << 16) | (overflow[i] << 24); + } + overflow.length = 0; + + offset = _writeCodepoint(dst, offset, codepoint, badChar); + } + } + + // Main loop. Should be as optimized as possible. + for (; i < src.length - 3; i += 4) { + // NOTE: codepoint is a signed int32 and can be negative. + if (isLE) { + codepoint = src[i] | (src[i+1] << 8) | (src[i+2] << 16) | (src[i+3] << 24); + } else { + codepoint = src[i+3] | (src[i+2] << 8) | (src[i+1] << 16) | (src[i] << 24); + } + offset = _writeCodepoint(dst, offset, codepoint, badChar); + } + + // Keep overflowing bytes. + for (; i < src.length; i++) { + overflow.push(src[i]); + } + + return dst.slice(0, offset).toString('ucs2'); + }; + + function _writeCodepoint(dst, offset, codepoint, badChar) { + // NOTE: codepoint is signed int32 and can be negative. We keep it that way to help V8 with optimizations. + if (codepoint < 0 || codepoint > 0x10FFFF) { + // Not a valid Unicode codepoint + codepoint = badChar; + } + + // Ephemeral Planes: Write high surrogate. + if (codepoint >= 0x10000) { + codepoint -= 0x10000; + + var high = 0xD800 | (codepoint >> 10); + dst[offset++] = high & 0xff; + dst[offset++] = high >> 8; + + // Low surrogate is written below. + var codepoint = 0xDC00 | (codepoint & 0x3FF); + } + + // Write BMP char or low surrogate. + dst[offset++] = codepoint & 0xff; + dst[offset++] = codepoint >> 8; + + return offset; + } + Utf32Decoder.prototype.end = function() { + this.overflow.length = 0; + }; + + // == UTF-32 Auto codec ============================================================= + // Decoder chooses automatically from UTF-32LE and UTF-32BE using BOM and space-based heuristic. + // Defaults to UTF-32LE. http://en.wikipedia.org/wiki/UTF-32 + // Encoder/decoder default can be changed: iconv.decode(buf, 'utf32', {defaultEncoding: 'utf-32be'}); + + // Encoder prepends BOM (which can be overridden with (addBOM: false}). + + utf32.utf32 = Utf32AutoCodec; + utf32.ucs4 = 'utf32'; + + function Utf32AutoCodec(options, iconv) { + this.iconv = iconv; + } + + Utf32AutoCodec.prototype.encoder = Utf32AutoEncoder; + Utf32AutoCodec.prototype.decoder = Utf32AutoDecoder; + + // -- Encoding + + function Utf32AutoEncoder(options, codec) { + options = options || {}; + + if (options.addBOM === undefined) + options.addBOM = true; + + this.encoder = codec.iconv.getEncoder(options.defaultEncoding || 'utf-32le', options); + } + + Utf32AutoEncoder.prototype.write = function(str) { + return this.encoder.write(str); + }; + + Utf32AutoEncoder.prototype.end = function() { + return this.encoder.end(); + }; + + // -- Decoding + + function Utf32AutoDecoder(options, codec) { + this.decoder = null; + this.initialBufs = []; + this.initialBufsLen = 0; + this.options = options || {}; + this.iconv = codec.iconv; + } + + Utf32AutoDecoder.prototype.write = function(buf) { + if (!this.decoder) { + // Codec is not chosen yet. Accumulate initial bytes. + this.initialBufs.push(buf); + this.initialBufsLen += buf.length; + + if (this.initialBufsLen < 32) // We need more bytes to use space heuristic (see below) + return ''; + + // We have enough bytes -> detect endianness. + var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding); + this.decoder = this.iconv.getDecoder(encoding, this.options); + + var resStr = ''; + for (var i = 0; i < this.initialBufs.length; i++) + resStr += this.decoder.write(this.initialBufs[i]); + + this.initialBufs.length = this.initialBufsLen = 0; + return resStr; + } + + return this.decoder.write(buf); + }; + + Utf32AutoDecoder.prototype.end = function() { + if (!this.decoder) { + var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding); + this.decoder = this.iconv.getDecoder(encoding, this.options); + + var resStr = ''; + for (var i = 0; i < this.initialBufs.length; i++) + resStr += this.decoder.write(this.initialBufs[i]); + + var trail = this.decoder.end(); + if (trail) + resStr += trail; + + this.initialBufs.length = this.initialBufsLen = 0; + return resStr; + } + + return this.decoder.end(); + }; + + function detectEncoding(bufs, defaultEncoding) { + var b = []; + var charsProcessed = 0; + var invalidLE = 0, invalidBE = 0; // Number of invalid chars when decoded as LE or BE. + var bmpCharsLE = 0, bmpCharsBE = 0; // Number of BMP chars when decoded as LE or BE. + + outer_loop: + for (var i = 0; i < bufs.length; i++) { + var buf = bufs[i]; + for (var j = 0; j < buf.length; j++) { + b.push(buf[j]); + if (b.length === 4) { + if (charsProcessed === 0) { + // Check BOM first. + if (b[0] === 0xFF && b[1] === 0xFE && b[2] === 0 && b[3] === 0) { + return 'utf-32le'; + } + if (b[0] === 0 && b[1] === 0 && b[2] === 0xFE && b[3] === 0xFF) { + return 'utf-32be'; + } + } + + if (b[0] !== 0 || b[1] > 0x10) invalidBE++; + if (b[3] !== 0 || b[2] > 0x10) invalidLE++; + + if (b[0] === 0 && b[1] === 0 && (b[2] !== 0 || b[3] !== 0)) bmpCharsBE++; + if ((b[0] !== 0 || b[1] !== 0) && b[2] === 0 && b[3] === 0) bmpCharsLE++; + + b.length = 0; + charsProcessed++; + + if (charsProcessed >= 100) { + break outer_loop; + } + } + } + } + + // Make decisions. + if (bmpCharsBE - invalidBE > bmpCharsLE - invalidLE) return 'utf-32be'; + if (bmpCharsBE - invalidBE < bmpCharsLE - invalidLE) return 'utf-32le'; + + // Couldn't decide (likely all zeros or not enough data). + return defaultEncoding || 'utf-32le'; + } + return utf32; +} + +var utf16 = {}; + +var hasRequiredUtf16; + +function requireUtf16 () { + if (hasRequiredUtf16) return utf16; + hasRequiredUtf16 = 1; + var Buffer = safer_1.Buffer; + + // Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js + + // == UTF16-BE codec. ========================================================== + + utf16.utf16be = Utf16BECodec; + function Utf16BECodec() { + } + + Utf16BECodec.prototype.encoder = Utf16BEEncoder; + Utf16BECodec.prototype.decoder = Utf16BEDecoder; + Utf16BECodec.prototype.bomAware = true; + + + // -- Encoding + + function Utf16BEEncoder() { + } + + Utf16BEEncoder.prototype.write = function(str) { + var buf = Buffer.from(str, 'ucs2'); + for (var i = 0; i < buf.length; i += 2) { + var tmp = buf[i]; buf[i] = buf[i+1]; buf[i+1] = tmp; + } + return buf; + }; + + Utf16BEEncoder.prototype.end = function() { + }; + + + // -- Decoding + + function Utf16BEDecoder() { + this.overflowByte = -1; + } + + Utf16BEDecoder.prototype.write = function(buf) { + if (buf.length == 0) + return ''; + + var buf2 = Buffer.alloc(buf.length + 1), + i = 0, j = 0; + + if (this.overflowByte !== -1) { + buf2[0] = buf[0]; + buf2[1] = this.overflowByte; + i = 1; j = 2; + } + + for (; i < buf.length-1; i += 2, j+= 2) { + buf2[j] = buf[i+1]; + buf2[j+1] = buf[i]; + } + + this.overflowByte = (i == buf.length-1) ? buf[buf.length-1] : -1; + + return buf2.slice(0, j).toString('ucs2'); + }; + + Utf16BEDecoder.prototype.end = function() { + this.overflowByte = -1; + }; + + + // == UTF-16 codec ============================================================= + // Decoder chooses automatically from UTF-16LE and UTF-16BE using BOM and space-based heuristic. + // Defaults to UTF-16LE, as it's prevalent and default in Node. + // http://en.wikipedia.org/wiki/UTF-16 and http://encoding.spec.whatwg.org/#utf-16le + // Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'}); + + // Encoder uses UTF-16LE and prepends BOM (which can be overridden with addBOM: false). + + utf16.utf16 = Utf16Codec; + function Utf16Codec(codecOptions, iconv) { + this.iconv = iconv; + } + + Utf16Codec.prototype.encoder = Utf16Encoder; + Utf16Codec.prototype.decoder = Utf16Decoder; + + + // -- Encoding (pass-through) + + function Utf16Encoder(options, codec) { + options = options || {}; + if (options.addBOM === undefined) + options.addBOM = true; + this.encoder = codec.iconv.getEncoder('utf-16le', options); + } + + Utf16Encoder.prototype.write = function(str) { + return this.encoder.write(str); + }; + + Utf16Encoder.prototype.end = function() { + return this.encoder.end(); + }; + + + // -- Decoding + + function Utf16Decoder(options, codec) { + this.decoder = null; + this.initialBufs = []; + this.initialBufsLen = 0; + + this.options = options || {}; + this.iconv = codec.iconv; + } + + Utf16Decoder.prototype.write = function(buf) { + if (!this.decoder) { + // Codec is not chosen yet. Accumulate initial bytes. + this.initialBufs.push(buf); + this.initialBufsLen += buf.length; + + if (this.initialBufsLen < 16) // We need more bytes to use space heuristic (see below) + return ''; + + // We have enough bytes -> detect endianness. + var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding); + this.decoder = this.iconv.getDecoder(encoding, this.options); + + var resStr = ''; + for (var i = 0; i < this.initialBufs.length; i++) + resStr += this.decoder.write(this.initialBufs[i]); + + this.initialBufs.length = this.initialBufsLen = 0; + return resStr; + } + + return this.decoder.write(buf); + }; + + Utf16Decoder.prototype.end = function() { + if (!this.decoder) { + var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding); + this.decoder = this.iconv.getDecoder(encoding, this.options); + + var resStr = ''; + for (var i = 0; i < this.initialBufs.length; i++) + resStr += this.decoder.write(this.initialBufs[i]); + + var trail = this.decoder.end(); + if (trail) + resStr += trail; + + this.initialBufs.length = this.initialBufsLen = 0; + return resStr; + } + return this.decoder.end(); + }; + + function detectEncoding(bufs, defaultEncoding) { + var b = []; + var charsProcessed = 0; + var asciiCharsLE = 0, asciiCharsBE = 0; // Number of ASCII chars when decoded as LE or BE. + + outer_loop: + for (var i = 0; i < bufs.length; i++) { + var buf = bufs[i]; + for (var j = 0; j < buf.length; j++) { + b.push(buf[j]); + if (b.length === 2) { + if (charsProcessed === 0) { + // Check BOM first. + if (b[0] === 0xFF && b[1] === 0xFE) return 'utf-16le'; + if (b[0] === 0xFE && b[1] === 0xFF) return 'utf-16be'; + } + + if (b[0] === 0 && b[1] !== 0) asciiCharsBE++; + if (b[0] !== 0 && b[1] === 0) asciiCharsLE++; + + b.length = 0; + charsProcessed++; + + if (charsProcessed >= 100) { + break outer_loop; + } + } + } + } + + // Make decisions. + // Most of the time, the content has ASCII chars (U+00**), but the opposite (U+**00) is uncommon. + // So, we count ASCII as if it was LE or BE, and decide from that. + if (asciiCharsBE > asciiCharsLE) return 'utf-16be'; + if (asciiCharsBE < asciiCharsLE) return 'utf-16le'; + + // Couldn't decide (likely all zeros or not enough data). + return defaultEncoding || 'utf-16le'; + } + return utf16; +} + +var utf7 = {}; + +var hasRequiredUtf7; + +function requireUtf7 () { + if (hasRequiredUtf7) return utf7; + hasRequiredUtf7 = 1; + var Buffer = safer_1.Buffer; + + // UTF-7 codec, according to https://tools.ietf.org/html/rfc2152 + // See also below a UTF-7-IMAP codec, according to http://tools.ietf.org/html/rfc3501#section-5.1.3 + + utf7.utf7 = Utf7Codec; + utf7.unicode11utf7 = 'utf7'; // Alias UNICODE-1-1-UTF-7 + function Utf7Codec(codecOptions, iconv) { + this.iconv = iconv; + } + Utf7Codec.prototype.encoder = Utf7Encoder; + Utf7Codec.prototype.decoder = Utf7Decoder; + Utf7Codec.prototype.bomAware = true; + + + // -- Encoding + + var nonDirectChars = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g; + + function Utf7Encoder(options, codec) { + this.iconv = codec.iconv; + } + + Utf7Encoder.prototype.write = function(str) { + // Naive implementation. + // Non-direct chars are encoded as "+-"; single "+" char is encoded as "+-". + return Buffer.from(str.replace(nonDirectChars, function(chunk) { + return "+" + (chunk === '+' ? '' : + this.iconv.encode(chunk, 'utf16-be').toString('base64').replace(/=+$/, '')) + + "-"; + }.bind(this))); + }; + + Utf7Encoder.prototype.end = function() { + }; + + + // -- Decoding + + function Utf7Decoder(options, codec) { + this.iconv = codec.iconv; + this.inBase64 = false; + this.base64Accum = ''; + } + + var base64Regex = /[A-Za-z0-9\/+]/; + var base64Chars = []; + for (var i = 0; i < 256; i++) + base64Chars[i] = base64Regex.test(String.fromCharCode(i)); + + var plusChar = '+'.charCodeAt(0), + minusChar = '-'.charCodeAt(0), + andChar = '&'.charCodeAt(0); + + Utf7Decoder.prototype.write = function(buf) { + var res = "", lastI = 0, + inBase64 = this.inBase64, + base64Accum = this.base64Accum; + + // The decoder is more involved as we must handle chunks in stream. + + for (var i = 0; i < buf.length; i++) { + if (!inBase64) { // We're in direct mode. + // Write direct chars until '+' + if (buf[i] == plusChar) { + res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars. + lastI = i+1; + inBase64 = true; + } + } else { // We decode base64. + if (!base64Chars[buf[i]]) { // Base64 ended. + if (i == lastI && buf[i] == minusChar) {// "+-" -> "+" + res += "+"; + } else { + var b64str = base64Accum + this.iconv.decode(buf.slice(lastI, i), "ascii"); + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + if (buf[i] != minusChar) // Minus is absorbed after base64. + i--; + + lastI = i+1; + inBase64 = false; + base64Accum = ''; + } + } + } + + if (!inBase64) { + res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars. + } else { + var b64str = base64Accum + this.iconv.decode(buf.slice(lastI), "ascii"); + + var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars. + base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future. + b64str = b64str.slice(0, canBeDecoded); + + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + this.inBase64 = inBase64; + this.base64Accum = base64Accum; + + return res; + }; + + Utf7Decoder.prototype.end = function() { + var res = ""; + if (this.inBase64 && this.base64Accum.length > 0) + res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be"); + + this.inBase64 = false; + this.base64Accum = ''; + return res; + }; + + + // UTF-7-IMAP codec. + // RFC3501 Sec. 5.1.3 Modified UTF-7 (http://tools.ietf.org/html/rfc3501#section-5.1.3) + // Differences: + // * Base64 part is started by "&" instead of "+" + // * Direct characters are 0x20-0x7E, except "&" (0x26) + // * In Base64, "," is used instead of "/" + // * Base64 must not be used to represent direct characters. + // * No implicit shift back from Base64 (should always end with '-') + // * String must end in non-shifted position. + // * "-&" while in base64 is not allowed. + + + utf7.utf7imap = Utf7IMAPCodec; + function Utf7IMAPCodec(codecOptions, iconv) { + this.iconv = iconv; + } + Utf7IMAPCodec.prototype.encoder = Utf7IMAPEncoder; + Utf7IMAPCodec.prototype.decoder = Utf7IMAPDecoder; + Utf7IMAPCodec.prototype.bomAware = true; + + + // -- Encoding + + function Utf7IMAPEncoder(options, codec) { + this.iconv = codec.iconv; + this.inBase64 = false; + this.base64Accum = Buffer.alloc(6); + this.base64AccumIdx = 0; + } + + Utf7IMAPEncoder.prototype.write = function(str) { + var inBase64 = this.inBase64, + base64Accum = this.base64Accum, + base64AccumIdx = this.base64AccumIdx, + buf = Buffer.alloc(str.length*5 + 10), bufIdx = 0; + + for (var i = 0; i < str.length; i++) { + var uChar = str.charCodeAt(i); + if (0x20 <= uChar && uChar <= 0x7E) { // Direct character or '&'. + if (inBase64) { + if (base64AccumIdx > 0) { + bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); + base64AccumIdx = 0; + } + + buf[bufIdx++] = minusChar; // Write '-', then go to direct mode. + inBase64 = false; + } + + if (!inBase64) { + buf[bufIdx++] = uChar; // Write direct character + + if (uChar === andChar) // Ampersand -> '&-' + buf[bufIdx++] = minusChar; + } + + } else { // Non-direct character + if (!inBase64) { + buf[bufIdx++] = andChar; // Write '&', then go to base64 mode. + inBase64 = true; + } + if (inBase64) { + base64Accum[base64AccumIdx++] = uChar >> 8; + base64Accum[base64AccumIdx++] = uChar & 0xFF; + + if (base64AccumIdx == base64Accum.length) { + bufIdx += buf.write(base64Accum.toString('base64').replace(/\//g, ','), bufIdx); + base64AccumIdx = 0; + } + } + } + } + + this.inBase64 = inBase64; + this.base64AccumIdx = base64AccumIdx; + + return buf.slice(0, bufIdx); + }; + + Utf7IMAPEncoder.prototype.end = function() { + var buf = Buffer.alloc(10), bufIdx = 0; + if (this.inBase64) { + if (this.base64AccumIdx > 0) { + bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); + this.base64AccumIdx = 0; + } + + buf[bufIdx++] = minusChar; // Write '-', then go to direct mode. + this.inBase64 = false; + } + + return buf.slice(0, bufIdx); + }; + + + // -- Decoding + + function Utf7IMAPDecoder(options, codec) { + this.iconv = codec.iconv; + this.inBase64 = false; + this.base64Accum = ''; + } + + var base64IMAPChars = base64Chars.slice(); + base64IMAPChars[','.charCodeAt(0)] = true; + + Utf7IMAPDecoder.prototype.write = function(buf) { + var res = "", lastI = 0, + inBase64 = this.inBase64, + base64Accum = this.base64Accum; + + // The decoder is more involved as we must handle chunks in stream. + // It is forgiving, closer to standard UTF-7 (for example, '-' is optional at the end). + + for (var i = 0; i < buf.length; i++) { + if (!inBase64) { // We're in direct mode. + // Write direct chars until '&' + if (buf[i] == andChar) { + res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars. + lastI = i+1; + inBase64 = true; + } + } else { // We decode base64. + if (!base64IMAPChars[buf[i]]) { // Base64 ended. + if (i == lastI && buf[i] == minusChar) { // "&-" -> "&" + res += "&"; + } else { + var b64str = base64Accum + this.iconv.decode(buf.slice(lastI, i), "ascii").replace(/,/g, '/'); + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + if (buf[i] != minusChar) // Minus may be absorbed after base64. + i--; + + lastI = i+1; + inBase64 = false; + base64Accum = ''; + } + } + } + + if (!inBase64) { + res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars. + } else { + var b64str = base64Accum + this.iconv.decode(buf.slice(lastI), "ascii").replace(/,/g, '/'); + + var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars. + base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future. + b64str = b64str.slice(0, canBeDecoded); + + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + this.inBase64 = inBase64; + this.base64Accum = base64Accum; + + return res; + }; + + Utf7IMAPDecoder.prototype.end = function() { + var res = ""; + if (this.inBase64 && this.base64Accum.length > 0) + res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be"); + + this.inBase64 = false; + this.base64Accum = ''; + return res; + }; + return utf7; +} + +var sbcsCodec = {}; + +var hasRequiredSbcsCodec; + +function requireSbcsCodec () { + if (hasRequiredSbcsCodec) return sbcsCodec; + hasRequiredSbcsCodec = 1; + var Buffer = safer_1.Buffer; + + // Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that + // correspond to encoded bytes (if 128 - then lower half is ASCII). + + sbcsCodec._sbcs = SBCSCodec; + function SBCSCodec(codecOptions, iconv) { + if (!codecOptions) + throw new Error("SBCS codec is called without the data.") + + // Prepare char buffer for decoding. + if (!codecOptions.chars || (codecOptions.chars.length !== 128 && codecOptions.chars.length !== 256)) + throw new Error("Encoding '"+codecOptions.type+"' has incorrect 'chars' (must be of len 128 or 256)"); + + if (codecOptions.chars.length === 128) { + var asciiString = ""; + for (var i = 0; i < 128; i++) + asciiString += String.fromCharCode(i); + codecOptions.chars = asciiString + codecOptions.chars; + } + + this.decodeBuf = Buffer.from(codecOptions.chars, 'ucs2'); + + // Encoding buffer. + var encodeBuf = Buffer.alloc(65536, iconv.defaultCharSingleByte.charCodeAt(0)); + + for (var i = 0; i < codecOptions.chars.length; i++) + encodeBuf[codecOptions.chars.charCodeAt(i)] = i; + + this.encodeBuf = encodeBuf; + } + + SBCSCodec.prototype.encoder = SBCSEncoder; + SBCSCodec.prototype.decoder = SBCSDecoder; + + + function SBCSEncoder(options, codec) { + this.encodeBuf = codec.encodeBuf; + } + + SBCSEncoder.prototype.write = function(str) { + var buf = Buffer.alloc(str.length); + for (var i = 0; i < str.length; i++) + buf[i] = this.encodeBuf[str.charCodeAt(i)]; + + return buf; + }; + + SBCSEncoder.prototype.end = function() { + }; + + + function SBCSDecoder(options, codec) { + this.decodeBuf = codec.decodeBuf; + } + + SBCSDecoder.prototype.write = function(buf) { + // Strings are immutable in JS -> we use ucs2 buffer to speed up computations. + var decodeBuf = this.decodeBuf; + var newBuf = Buffer.alloc(buf.length*2); + var idx1 = 0, idx2 = 0; + for (var i = 0; i < buf.length; i++) { + idx1 = buf[i]*2; idx2 = i*2; + newBuf[idx2] = decodeBuf[idx1]; + newBuf[idx2+1] = decodeBuf[idx1+1]; + } + return newBuf.toString('ucs2'); + }; + + SBCSDecoder.prototype.end = function() { + }; + return sbcsCodec; +} + +var sbcsData; +var hasRequiredSbcsData; + +function requireSbcsData () { + if (hasRequiredSbcsData) return sbcsData; + hasRequiredSbcsData = 1; + + // Manually added data to be used by sbcs codec in addition to generated one. + + sbcsData = { + // Not supported by iconv, not sure why. + "10029": "maccenteuro", + "maccenteuro": { + "type": "_sbcs", + "chars": "ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ" + }, + + "808": "cp808", + "ibm808": "cp808", + "cp808": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ " + }, + + "mik": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + + "cp720": { + "type": "_sbcs", + "chars": "\x80\x81éâ\x84à\x86çêëèïî\x8d\x8e\x8f\x90\u0651\u0652ô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡\u064b\u064c\u064d\u064e\u064f\u0650≈°∙·√ⁿ²■\u00a0" + }, + + // Aliases of generated encodings. + "ascii8bit": "ascii", + "usascii": "ascii", + "ansix34": "ascii", + "ansix341968": "ascii", + "ansix341986": "ascii", + "csascii": "ascii", + "cp367": "ascii", + "ibm367": "ascii", + "isoir6": "ascii", + "iso646us": "ascii", + "iso646irv": "ascii", + "us": "ascii", + + "latin1": "iso88591", + "latin2": "iso88592", + "latin3": "iso88593", + "latin4": "iso88594", + "latin5": "iso88599", + "latin6": "iso885910", + "latin7": "iso885913", + "latin8": "iso885914", + "latin9": "iso885915", + "latin10": "iso885916", + + "csisolatin1": "iso88591", + "csisolatin2": "iso88592", + "csisolatin3": "iso88593", + "csisolatin4": "iso88594", + "csisolatincyrillic": "iso88595", + "csisolatinarabic": "iso88596", + "csisolatingreek" : "iso88597", + "csisolatinhebrew": "iso88598", + "csisolatin5": "iso88599", + "csisolatin6": "iso885910", + + "l1": "iso88591", + "l2": "iso88592", + "l3": "iso88593", + "l4": "iso88594", + "l5": "iso88599", + "l6": "iso885910", + "l7": "iso885913", + "l8": "iso885914", + "l9": "iso885915", + "l10": "iso885916", + + "isoir14": "iso646jp", + "isoir57": "iso646cn", + "isoir100": "iso88591", + "isoir101": "iso88592", + "isoir109": "iso88593", + "isoir110": "iso88594", + "isoir144": "iso88595", + "isoir127": "iso88596", + "isoir126": "iso88597", + "isoir138": "iso88598", + "isoir148": "iso88599", + "isoir157": "iso885910", + "isoir166": "tis620", + "isoir179": "iso885913", + "isoir199": "iso885914", + "isoir203": "iso885915", + "isoir226": "iso885916", + + "cp819": "iso88591", + "ibm819": "iso88591", + + "cyrillic": "iso88595", + + "arabic": "iso88596", + "arabic8": "iso88596", + "ecma114": "iso88596", + "asmo708": "iso88596", + + "greek" : "iso88597", + "greek8" : "iso88597", + "ecma118" : "iso88597", + "elot928" : "iso88597", + + "hebrew": "iso88598", + "hebrew8": "iso88598", + + "turkish": "iso88599", + "turkish8": "iso88599", + + "thai": "iso885911", + "thai8": "iso885911", + + "celtic": "iso885914", + "celtic8": "iso885914", + "isoceltic": "iso885914", + + "tis6200": "tis620", + "tis62025291": "tis620", + "tis62025330": "tis620", + + "10000": "macroman", + "10006": "macgreek", + "10007": "maccyrillic", + "10079": "maciceland", + "10081": "macturkish", + + "cspc8codepage437": "cp437", + "cspc775baltic": "cp775", + "cspc850multilingual": "cp850", + "cspcp852": "cp852", + "cspc862latinhebrew": "cp862", + "cpgr": "cp869", + + "msee": "cp1250", + "mscyrl": "cp1251", + "msansi": "cp1252", + "msgreek": "cp1253", + "msturk": "cp1254", + "mshebr": "cp1255", + "msarab": "cp1256", + "winbaltrim": "cp1257", + + "cp20866": "koi8r", + "20866": "koi8r", + "ibm878": "koi8r", + "cskoi8r": "koi8r", + + "cp21866": "koi8u", + "21866": "koi8u", + "ibm1168": "koi8u", + + "strk10482002": "rk1048", + + "tcvn5712": "tcvn", + "tcvn57121": "tcvn", + + "gb198880": "iso646cn", + "cn": "iso646cn", + + "csiso14jisc6220ro": "iso646jp", + "jisc62201969ro": "iso646jp", + "jp": "iso646jp", + + "cshproman8": "hproman8", + "r8": "hproman8", + "roman8": "hproman8", + "xroman8": "hproman8", + "ibm1051": "hproman8", + + "mac": "macintosh", + "csmacintosh": "macintosh", + }; + return sbcsData; +} + +var sbcsDataGenerated; +var hasRequiredSbcsDataGenerated; + +function requireSbcsDataGenerated () { + if (hasRequiredSbcsDataGenerated) return sbcsDataGenerated; + hasRequiredSbcsDataGenerated = 1; + + // Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script. + sbcsDataGenerated = { + "437": "cp437", + "737": "cp737", + "775": "cp775", + "850": "cp850", + "852": "cp852", + "855": "cp855", + "856": "cp856", + "857": "cp857", + "858": "cp858", + "860": "cp860", + "861": "cp861", + "862": "cp862", + "863": "cp863", + "864": "cp864", + "865": "cp865", + "866": "cp866", + "869": "cp869", + "874": "windows874", + "922": "cp922", + "1046": "cp1046", + "1124": "cp1124", + "1125": "cp1125", + "1129": "cp1129", + "1133": "cp1133", + "1161": "cp1161", + "1162": "cp1162", + "1163": "cp1163", + "1250": "windows1250", + "1251": "windows1251", + "1252": "windows1252", + "1253": "windows1253", + "1254": "windows1254", + "1255": "windows1255", + "1256": "windows1256", + "1257": "windows1257", + "1258": "windows1258", + "28591": "iso88591", + "28592": "iso88592", + "28593": "iso88593", + "28594": "iso88594", + "28595": "iso88595", + "28596": "iso88596", + "28597": "iso88597", + "28598": "iso88598", + "28599": "iso88599", + "28600": "iso885910", + "28601": "iso885911", + "28603": "iso885913", + "28604": "iso885914", + "28605": "iso885915", + "28606": "iso885916", + "windows874": { + "type": "_sbcs", + "chars": "€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + }, + "win874": "windows874", + "cp874": "windows874", + "windows1250": { + "type": "_sbcs", + "chars": "€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" + }, + "win1250": "windows1250", + "cp1250": "windows1250", + "windows1251": { + "type": "_sbcs", + "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + }, + "win1251": "windows1251", + "cp1251": "windows1251", + "windows1252": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "win1252": "windows1252", + "cp1252": "windows1252", + "windows1253": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" + }, + "win1253": "windows1253", + "cp1253": "windows1253", + "windows1254": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" + }, + "win1254": "windows1254", + "cp1254": "windows1254", + "windows1255": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" + }, + "win1255": "windows1255", + "cp1255": "windows1255", + "windows1256": { + "type": "_sbcs", + "chars": "€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے" + }, + "win1256": "windows1256", + "cp1256": "windows1256", + "windows1257": { + "type": "_sbcs", + "chars": "€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙" + }, + "win1257": "windows1257", + "cp1257": "windows1257", + "windows1258": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + }, + "win1258": "windows1258", + "cp1258": "windows1258", + "iso88591": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "cp28591": "iso88591", + "iso88592": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" + }, + "cp28592": "iso88592", + "iso88593": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�Ż°ħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙" + }, + "cp28593": "iso88593", + "iso88594": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤ĨĻ§¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩļˇ¸šēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖ×ØŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙" + }, + "cp28594": "iso88594", + "iso88595": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ" + }, + "cp28595": "iso88595", + "iso88596": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������" + }, + "cp28596": "iso88596", + "iso88597": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" + }, + "cp28597": "iso88597", + "iso88598": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" + }, + "cp28598": "iso88598", + "iso88599": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" + }, + "cp28599": "iso88599", + "iso885910": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨĶ§ĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ" + }, + "cp28600": "iso885910", + "iso885911": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + }, + "cp28601": "iso885911", + "iso885913": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’" + }, + "cp28603": "iso885913", + "iso885914": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ" + }, + "cp28604": "iso885914", + "iso885915": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "cp28605": "iso885915", + "iso885916": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Š§š©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ" + }, + "cp28606": "iso885916", + "cp437": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm437": "cp437", + "csibm437": "cp437", + "cp737": { + "type": "_sbcs", + "chars": "ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ " + }, + "ibm737": "cp737", + "csibm737": "cp737", + "cp775": { + "type": "_sbcs", + "chars": "ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£ØפĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ " + }, + "ibm775": "cp775", + "csibm775": "cp775", + "cp850": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " + }, + "ibm850": "cp850", + "csibm850": "cp850", + "cp852": { + "type": "_sbcs", + "chars": "ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ " + }, + "ibm852": "cp852", + "csibm852": "cp852", + "cp855": { + "type": "_sbcs", + "chars": "ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ " + }, + "ibm855": "cp855", + "csibm855": "cp855", + "cp856": { + "type": "_sbcs", + "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ " + }, + "ibm856": "cp856", + "csibm856": "cp856", + "cp857": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ " + }, + "ibm857": "cp857", + "csibm857": "cp857", + "cp858": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " + }, + "ibm858": "cp858", + "csibm858": "cp858", + "cp860": { + "type": "_sbcs", + "chars": "ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm860": "cp860", + "csibm860": "cp860", + "cp861": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm861": "cp861", + "csibm861": "cp861", + "cp862": { + "type": "_sbcs", + "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm862": "cp862", + "csibm862": "cp862", + "cp863": { + "type": "_sbcs", + "chars": "ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm863": "cp863", + "csibm863": "cp863", + "cp864": { + "type": "_sbcs", + "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�" + }, + "ibm864": "cp864", + "csibm864": "cp864", + "cp865": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm865": "cp865", + "csibm865": "cp865", + "cp866": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ " + }, + "ibm866": "cp866", + "csibm866": "cp866", + "cp869": { + "type": "_sbcs", + "chars": "������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ " + }, + "ibm869": "cp869", + "csibm869": "cp869", + "cp922": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖ×ØÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ" + }, + "ibm922": "cp922", + "csibm922": "cp922", + "cp1046": { + "type": "_sbcs", + "chars": "ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�" + }, + "ibm1046": "cp1046", + "csibm1046": "cp1046", + "cp1124": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ" + }, + "ibm1124": "cp1124", + "csibm1124": "cp1124", + "cp1125": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ " + }, + "ibm1125": "cp1125", + "csibm1125": "cp1125", + "cp1129": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + }, + "ibm1129": "cp1129", + "csibm1129": "cp1129", + "cp1133": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�" + }, + "ibm1133": "cp1133", + "csibm1133": "cp1133", + "cp1161": { + "type": "_sbcs", + "chars": "��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ " + }, + "ibm1161": "cp1161", + "csibm1161": "cp1161", + "cp1162": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + }, + "ibm1162": "cp1162", + "csibm1162": "cp1162", + "cp1163": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + }, + "ibm1163": "cp1163", + "csibm1163": "cp1163", + "maccroatian": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ" + }, + "maccyrillic": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" + }, + "macgreek": { + "type": "_sbcs", + "chars": "Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�" + }, + "maciceland": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macroman": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macromania": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macthai": { + "type": "_sbcs", + "chars": "«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����" + }, + "macturkish": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macukraine": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" + }, + "koi8r": { + "type": "_sbcs", + "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "koi8u": { + "type": "_sbcs", + "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "koi8ru": { + "type": "_sbcs", + "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "koi8t": { + "type": "_sbcs", + "chars": "қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "armscii8": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�" + }, + "rk1048": { + "type": "_sbcs", + "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + }, + "tcvn": { + "type": "_sbcs", + "chars": "\u0000ÚỤ\u0003ỪỬỮ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010ỨỰỲỶỸÝỴ\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ" + }, + "georgianacademy": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "georgianps": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "pt154": { + "type": "_sbcs", + "chars": "ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + }, + "viscii": { + "type": "_sbcs", + "chars": "\u0000\u0001Ẳ\u0003\u0004ẴẪ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013Ỷ\u0015\u0016\u0017\u0018Ỹ\u001a\u001b\u001c\u001dỴ\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ" + }, + "iso646cn": { + "type": "_sbcs", + "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������" + }, + "iso646jp": { + "type": "_sbcs", + "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������" + }, + "hproman8": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�" + }, + "macintosh": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "ascii": { + "type": "_sbcs", + "chars": "��������������������������������������������������������������������������������������������������������������������������������" + }, + "tis620": { + "type": "_sbcs", + "chars": "���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + } + }; + return sbcsDataGenerated; +} + +var dbcsCodec = {}; + +var hasRequiredDbcsCodec; + +function requireDbcsCodec () { + if (hasRequiredDbcsCodec) return dbcsCodec; + hasRequiredDbcsCodec = 1; + var Buffer = safer_1.Buffer; + + // Multibyte codec. In this scheme, a character is represented by 1 or more bytes. + // Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences. + // To save memory and loading time, we read table files only when requested. + + dbcsCodec._dbcs = DBCSCodec; + + var UNASSIGNED = -1, + GB18030_CODE = -2, + SEQ_START = -10, + NODE_START = -1000, + UNASSIGNED_NODE = new Array(0x100), + DEF_CHAR = -1; + + for (var i = 0; i < 0x100; i++) + UNASSIGNED_NODE[i] = UNASSIGNED; + + + // Class DBCSCodec reads and initializes mapping tables. + function DBCSCodec(codecOptions, iconv) { + this.encodingName = codecOptions.encodingName; + if (!codecOptions) + throw new Error("DBCS codec is called without the data.") + if (!codecOptions.table) + throw new Error("Encoding '" + this.encodingName + "' has no data."); + + // Load tables. + var mappingTable = codecOptions.table(); + + + // Decode tables: MBCS -> Unicode. + + // decodeTables is a trie, encoded as an array of arrays of integers. Internal arrays are trie nodes and all have len = 256. + // Trie root is decodeTables[0]. + // Values: >= 0 -> unicode character code. can be > 0xFFFF + // == UNASSIGNED -> unknown/unassigned sequence. + // == GB18030_CODE -> this is the end of a GB18030 4-byte sequence. + // <= NODE_START -> index of the next node in our trie to process next byte. + // <= SEQ_START -> index of the start of a character code sequence, in decodeTableSeq. + this.decodeTables = []; + this.decodeTables[0] = UNASSIGNED_NODE.slice(0); // Create root node. + + // Sometimes a MBCS char corresponds to a sequence of unicode chars. We store them as arrays of integers here. + this.decodeTableSeq = []; + + // Actual mapping tables consist of chunks. Use them to fill up decode tables. + for (var i = 0; i < mappingTable.length; i++) + this._addDecodeChunk(mappingTable[i]); + + // Load & create GB18030 tables when needed. + if (typeof codecOptions.gb18030 === 'function') { + this.gb18030 = codecOptions.gb18030(); // Load GB18030 ranges. + + // Add GB18030 common decode nodes. + var commonThirdByteNodeIdx = this.decodeTables.length; + this.decodeTables.push(UNASSIGNED_NODE.slice(0)); + + var commonFourthByteNodeIdx = this.decodeTables.length; + this.decodeTables.push(UNASSIGNED_NODE.slice(0)); + + // Fill out the tree + var firstByteNode = this.decodeTables[0]; + for (var i = 0x81; i <= 0xFE; i++) { + var secondByteNode = this.decodeTables[NODE_START - firstByteNode[i]]; + for (var j = 0x30; j <= 0x39; j++) { + if (secondByteNode[j] === UNASSIGNED) { + secondByteNode[j] = NODE_START - commonThirdByteNodeIdx; + } else if (secondByteNode[j] > NODE_START) { + throw new Error("gb18030 decode tables conflict at byte 2"); + } + + var thirdByteNode = this.decodeTables[NODE_START - secondByteNode[j]]; + for (var k = 0x81; k <= 0xFE; k++) { + if (thirdByteNode[k] === UNASSIGNED) { + thirdByteNode[k] = NODE_START - commonFourthByteNodeIdx; + } else if (thirdByteNode[k] === NODE_START - commonFourthByteNodeIdx) { + continue; + } else if (thirdByteNode[k] > NODE_START) { + throw new Error("gb18030 decode tables conflict at byte 3"); + } + + var fourthByteNode = this.decodeTables[NODE_START - thirdByteNode[k]]; + for (var l = 0x30; l <= 0x39; l++) { + if (fourthByteNode[l] === UNASSIGNED) + fourthByteNode[l] = GB18030_CODE; + } + } + } + } + } + + this.defaultCharUnicode = iconv.defaultCharUnicode; + + + // Encode tables: Unicode -> DBCS. + + // `encodeTable` is array mapping from unicode char to encoded char. All its values are integers for performance. + // Because it can be sparse, it is represented as array of buckets by 256 chars each. Bucket can be null. + // Values: >= 0 -> it is a normal char. Write the value (if <=256 then 1 byte, if <=65536 then 2 bytes, etc.). + // == UNASSIGNED -> no conversion found. Output a default char. + // <= SEQ_START -> it's an index in encodeTableSeq, see below. The character starts a sequence. + this.encodeTable = []; + + // `encodeTableSeq` is used when a sequence of unicode characters is encoded as a single code. We use a tree of + // objects where keys correspond to characters in sequence and leafs are the encoded dbcs values. A special DEF_CHAR key + // means end of sequence (needed when one sequence is a strict subsequence of another). + // Objects are kept separately from encodeTable to increase performance. + this.encodeTableSeq = []; + + // Some chars can be decoded, but need not be encoded. + var skipEncodeChars = {}; + if (codecOptions.encodeSkipVals) + for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) { + var val = codecOptions.encodeSkipVals[i]; + if (typeof val === 'number') + skipEncodeChars[val] = true; + else + for (var j = val.from; j <= val.to; j++) + skipEncodeChars[j] = true; + } + + // Use decode trie to recursively fill out encode tables. + this._fillEncodeTable(0, 0, skipEncodeChars); + + // Add more encoding pairs when needed. + if (codecOptions.encodeAdd) { + for (var uChar in codecOptions.encodeAdd) + if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar)) + this._setEncodeChar(uChar.charCodeAt(0), codecOptions.encodeAdd[uChar]); + } + + this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)]; + if (this.defCharSB === UNASSIGNED) this.defCharSB = this.encodeTable[0]['?']; + if (this.defCharSB === UNASSIGNED) this.defCharSB = "?".charCodeAt(0); + } + + DBCSCodec.prototype.encoder = DBCSEncoder; + DBCSCodec.prototype.decoder = DBCSDecoder; + + // Decoder helpers + DBCSCodec.prototype._getDecodeTrieNode = function(addr) { + var bytes = []; + for (; addr > 0; addr >>>= 8) + bytes.push(addr & 0xFF); + if (bytes.length == 0) + bytes.push(0); + + var node = this.decodeTables[0]; + for (var i = bytes.length-1; i > 0; i--) { // Traverse nodes deeper into the trie. + var val = node[bytes[i]]; + + if (val == UNASSIGNED) { // Create new node. + node[bytes[i]] = NODE_START - this.decodeTables.length; + this.decodeTables.push(node = UNASSIGNED_NODE.slice(0)); + } + else if (val <= NODE_START) { // Existing node. + node = this.decodeTables[NODE_START - val]; + } + else + throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + addr.toString(16)); + } + return node; + }; + + + DBCSCodec.prototype._addDecodeChunk = function(chunk) { + // First element of chunk is the hex mbcs code where we start. + var curAddr = parseInt(chunk[0], 16); + + // Choose the decoding node where we'll write our chars. + var writeTable = this._getDecodeTrieNode(curAddr); + curAddr = curAddr & 0xFF; + + // Write all other elements of the chunk to the table. + for (var k = 1; k < chunk.length; k++) { + var part = chunk[k]; + if (typeof part === "string") { // String, write as-is. + for (var l = 0; l < part.length;) { + var code = part.charCodeAt(l++); + if (0xD800 <= code && code < 0xDC00) { // Decode surrogate + var codeTrail = part.charCodeAt(l++); + if (0xDC00 <= codeTrail && codeTrail < 0xE000) + writeTable[curAddr++] = 0x10000 + (code - 0xD800) * 0x400 + (codeTrail - 0xDC00); + else + throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + chunk[0]); + } + else if (0x0FF0 < code && code <= 0x0FFF) { // Character sequence (our own encoding used) + var len = 0xFFF - code + 2; + var seq = []; + for (var m = 0; m < len; m++) + seq.push(part.charCodeAt(l++)); // Simple variation: don't support surrogates or subsequences in seq. + + writeTable[curAddr++] = SEQ_START - this.decodeTableSeq.length; + this.decodeTableSeq.push(seq); + } + else + writeTable[curAddr++] = code; // Basic char + } + } + else if (typeof part === "number") { // Integer, meaning increasing sequence starting with prev character. + var charCode = writeTable[curAddr - 1] + 1; + for (var l = 0; l < part; l++) + writeTable[curAddr++] = charCode++; + } + else + throw new Error("Incorrect type '" + typeof part + "' given in " + this.encodingName + " at chunk " + chunk[0]); + } + if (curAddr > 0xFF) + throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + chunk[0] + ": too long" + curAddr); + }; + + // Encoder helpers + DBCSCodec.prototype._getEncodeBucket = function(uCode) { + var high = uCode >> 8; // This could be > 0xFF because of astral characters. + if (this.encodeTable[high] === undefined) + this.encodeTable[high] = UNASSIGNED_NODE.slice(0); // Create bucket on demand. + return this.encodeTable[high]; + }; + + DBCSCodec.prototype._setEncodeChar = function(uCode, dbcsCode) { + var bucket = this._getEncodeBucket(uCode); + var low = uCode & 0xFF; + if (bucket[low] <= SEQ_START) + this.encodeTableSeq[SEQ_START-bucket[low]][DEF_CHAR] = dbcsCode; // There's already a sequence, set a single-char subsequence of it. + else if (bucket[low] == UNASSIGNED) + bucket[low] = dbcsCode; + }; + + DBCSCodec.prototype._setEncodeSequence = function(seq, dbcsCode) { + + // Get the root of character tree according to first character of the sequence. + var uCode = seq[0]; + var bucket = this._getEncodeBucket(uCode); + var low = uCode & 0xFF; + + var node; + if (bucket[low] <= SEQ_START) { + // There's already a sequence with - use it. + node = this.encodeTableSeq[SEQ_START-bucket[low]]; + } + else { + // There was no sequence object - allocate a new one. + node = {}; + if (bucket[low] !== UNASSIGNED) node[DEF_CHAR] = bucket[low]; // If a char was set before - make it a single-char subsequence. + bucket[low] = SEQ_START - this.encodeTableSeq.length; + this.encodeTableSeq.push(node); + } + + // Traverse the character tree, allocating new nodes as needed. + for (var j = 1; j < seq.length-1; j++) { + var oldVal = node[uCode]; + if (typeof oldVal === 'object') + node = oldVal; + else { + node = node[uCode] = {}; + if (oldVal !== undefined) + node[DEF_CHAR] = oldVal; + } + } + + // Set the leaf to given dbcsCode. + uCode = seq[seq.length-1]; + node[uCode] = dbcsCode; + }; + + DBCSCodec.prototype._fillEncodeTable = function(nodeIdx, prefix, skipEncodeChars) { + var node = this.decodeTables[nodeIdx]; + var hasValues = false; + var subNodeEmpty = {}; + for (var i = 0; i < 0x100; i++) { + var uCode = node[i]; + var mbCode = prefix + i; + if (skipEncodeChars[mbCode]) + continue; + + if (uCode >= 0) { + this._setEncodeChar(uCode, mbCode); + hasValues = true; + } else if (uCode <= NODE_START) { + var subNodeIdx = NODE_START - uCode; + if (!subNodeEmpty[subNodeIdx]) { // Skip empty subtrees (they are too large in gb18030). + var newPrefix = (mbCode << 8) >>> 0; // NOTE: '>>> 0' keeps 32-bit num positive. + if (this._fillEncodeTable(subNodeIdx, newPrefix, skipEncodeChars)) + hasValues = true; + else + subNodeEmpty[subNodeIdx] = true; + } + } else if (uCode <= SEQ_START) { + this._setEncodeSequence(this.decodeTableSeq[SEQ_START - uCode], mbCode); + hasValues = true; + } + } + return hasValues; + }; + + + + // == Encoder ================================================================== + + function DBCSEncoder(options, codec) { + // Encoder state + this.leadSurrogate = -1; + this.seqObj = undefined; + + // Static data + this.encodeTable = codec.encodeTable; + this.encodeTableSeq = codec.encodeTableSeq; + this.defaultCharSingleByte = codec.defCharSB; + this.gb18030 = codec.gb18030; + } + + DBCSEncoder.prototype.write = function(str) { + var newBuf = Buffer.alloc(str.length * (this.gb18030 ? 4 : 3)), + leadSurrogate = this.leadSurrogate, + seqObj = this.seqObj, nextChar = -1, + i = 0, j = 0; + + while (true) { + // 0. Get next character. + if (nextChar === -1) { + if (i == str.length) break; + var uCode = str.charCodeAt(i++); + } + else { + var uCode = nextChar; + nextChar = -1; + } + + // 1. Handle surrogates. + if (0xD800 <= uCode && uCode < 0xE000) { // Char is one of surrogates. + if (uCode < 0xDC00) { // We've got lead surrogate. + if (leadSurrogate === -1) { + leadSurrogate = uCode; + continue; + } else { + leadSurrogate = uCode; + // Double lead surrogate found. + uCode = UNASSIGNED; + } + } else { // We've got trail surrogate. + if (leadSurrogate !== -1) { + uCode = 0x10000 + (leadSurrogate - 0xD800) * 0x400 + (uCode - 0xDC00); + leadSurrogate = -1; + } else { + // Incomplete surrogate pair - only trail surrogate found. + uCode = UNASSIGNED; + } + + } + } + else if (leadSurrogate !== -1) { + // Incomplete surrogate pair - only lead surrogate found. + nextChar = uCode; uCode = UNASSIGNED; // Write an error, then current char. + leadSurrogate = -1; + } + + // 2. Convert uCode character. + var dbcsCode = UNASSIGNED; + if (seqObj !== undefined && uCode != UNASSIGNED) { // We are in the middle of the sequence + var resCode = seqObj[uCode]; + if (typeof resCode === 'object') { // Sequence continues. + seqObj = resCode; + continue; + + } else if (typeof resCode == 'number') { // Sequence finished. Write it. + dbcsCode = resCode; + + } else if (resCode == undefined) { // Current character is not part of the sequence. + + // Try default character for this sequence + resCode = seqObj[DEF_CHAR]; + if (resCode !== undefined) { + dbcsCode = resCode; // Found. Write it. + nextChar = uCode; // Current character will be written too in the next iteration. + + } + } + seqObj = undefined; + } + else if (uCode >= 0) { // Regular character + var subtable = this.encodeTable[uCode >> 8]; + if (subtable !== undefined) + dbcsCode = subtable[uCode & 0xFF]; + + if (dbcsCode <= SEQ_START) { // Sequence start + seqObj = this.encodeTableSeq[SEQ_START-dbcsCode]; + continue; + } + + if (dbcsCode == UNASSIGNED && this.gb18030) { + // Use GB18030 algorithm to find character(s) to write. + var idx = findIdx(this.gb18030.uChars, uCode); + if (idx != -1) { + var dbcsCode = this.gb18030.gbChars[idx] + (uCode - this.gb18030.uChars[idx]); + newBuf[j++] = 0x81 + Math.floor(dbcsCode / 12600); dbcsCode = dbcsCode % 12600; + newBuf[j++] = 0x30 + Math.floor(dbcsCode / 1260); dbcsCode = dbcsCode % 1260; + newBuf[j++] = 0x81 + Math.floor(dbcsCode / 10); dbcsCode = dbcsCode % 10; + newBuf[j++] = 0x30 + dbcsCode; + continue; + } + } + } + + // 3. Write dbcsCode character. + if (dbcsCode === UNASSIGNED) + dbcsCode = this.defaultCharSingleByte; + + if (dbcsCode < 0x100) { + newBuf[j++] = dbcsCode; + } + else if (dbcsCode < 0x10000) { + newBuf[j++] = dbcsCode >> 8; // high byte + newBuf[j++] = dbcsCode & 0xFF; // low byte + } + else if (dbcsCode < 0x1000000) { + newBuf[j++] = dbcsCode >> 16; + newBuf[j++] = (dbcsCode >> 8) & 0xFF; + newBuf[j++] = dbcsCode & 0xFF; + } else { + newBuf[j++] = dbcsCode >>> 24; + newBuf[j++] = (dbcsCode >>> 16) & 0xFF; + newBuf[j++] = (dbcsCode >>> 8) & 0xFF; + newBuf[j++] = dbcsCode & 0xFF; + } + } + + this.seqObj = seqObj; + this.leadSurrogate = leadSurrogate; + return newBuf.slice(0, j); + }; + + DBCSEncoder.prototype.end = function() { + if (this.leadSurrogate === -1 && this.seqObj === undefined) + return; // All clean. Most often case. + + var newBuf = Buffer.alloc(10), j = 0; + + if (this.seqObj) { // We're in the sequence. + var dbcsCode = this.seqObj[DEF_CHAR]; + if (dbcsCode !== undefined) { // Write beginning of the sequence. + if (dbcsCode < 0x100) { + newBuf[j++] = dbcsCode; + } + else { + newBuf[j++] = dbcsCode >> 8; // high byte + newBuf[j++] = dbcsCode & 0xFF; // low byte + } + } + this.seqObj = undefined; + } + + if (this.leadSurrogate !== -1) { + // Incomplete surrogate pair - only lead surrogate found. + newBuf[j++] = this.defaultCharSingleByte; + this.leadSurrogate = -1; + } + + return newBuf.slice(0, j); + }; + + // Export for testing + DBCSEncoder.prototype.findIdx = findIdx; + + + // == Decoder ================================================================== + + function DBCSDecoder(options, codec) { + // Decoder state + this.nodeIdx = 0; + this.prevBytes = []; + + // Static data + this.decodeTables = codec.decodeTables; + this.decodeTableSeq = codec.decodeTableSeq; + this.defaultCharUnicode = codec.defaultCharUnicode; + this.gb18030 = codec.gb18030; + } + + DBCSDecoder.prototype.write = function(buf) { + var newBuf = Buffer.alloc(buf.length*2), + nodeIdx = this.nodeIdx, + prevBytes = this.prevBytes, prevOffset = this.prevBytes.length, + seqStart = -this.prevBytes.length, // idx of the start of current parsed sequence. + uCode; + + for (var i = 0, j = 0; i < buf.length; i++) { + var curByte = (i >= 0) ? buf[i] : prevBytes[i + prevOffset]; + + // Lookup in current trie node. + var uCode = this.decodeTables[nodeIdx][curByte]; + + if (uCode >= 0) ; + else if (uCode === UNASSIGNED) { // Unknown char. + // TODO: Callback with seq. + uCode = this.defaultCharUnicode.charCodeAt(0); + i = seqStart; // Skip one byte ('i' will be incremented by the for loop) and try to parse again. + } + else if (uCode === GB18030_CODE) { + if (i >= 3) { + var ptr = (buf[i-3]-0x81)*12600 + (buf[i-2]-0x30)*1260 + (buf[i-1]-0x81)*10 + (curByte-0x30); + } else { + var ptr = (prevBytes[i-3+prevOffset]-0x81)*12600 + + (((i-2 >= 0) ? buf[i-2] : prevBytes[i-2+prevOffset])-0x30)*1260 + + (((i-1 >= 0) ? buf[i-1] : prevBytes[i-1+prevOffset])-0x81)*10 + + (curByte-0x30); + } + var idx = findIdx(this.gb18030.gbChars, ptr); + uCode = this.gb18030.uChars[idx] + ptr - this.gb18030.gbChars[idx]; + } + else if (uCode <= NODE_START) { // Go to next trie node. + nodeIdx = NODE_START - uCode; + continue; + } + else if (uCode <= SEQ_START) { // Output a sequence of chars. + var seq = this.decodeTableSeq[SEQ_START - uCode]; + for (var k = 0; k < seq.length - 1; k++) { + uCode = seq[k]; + newBuf[j++] = uCode & 0xFF; + newBuf[j++] = uCode >> 8; + } + uCode = seq[seq.length-1]; + } + else + throw new Error("iconv-lite internal error: invalid decoding table value " + uCode + " at " + nodeIdx + "/" + curByte); + + // Write the character to buffer, handling higher planes using surrogate pair. + if (uCode >= 0x10000) { + uCode -= 0x10000; + var uCodeLead = 0xD800 | (uCode >> 10); + newBuf[j++] = uCodeLead & 0xFF; + newBuf[j++] = uCodeLead >> 8; + + uCode = 0xDC00 | (uCode & 0x3FF); + } + newBuf[j++] = uCode & 0xFF; + newBuf[j++] = uCode >> 8; + + // Reset trie node. + nodeIdx = 0; seqStart = i+1; + } + + this.nodeIdx = nodeIdx; + this.prevBytes = (seqStart >= 0) + ? Array.prototype.slice.call(buf, seqStart) + : prevBytes.slice(seqStart + prevOffset).concat(Array.prototype.slice.call(buf)); + + return newBuf.slice(0, j).toString('ucs2'); + }; + + DBCSDecoder.prototype.end = function() { + var ret = ''; + + // Try to parse all remaining chars. + while (this.prevBytes.length > 0) { + // Skip 1 character in the buffer. + ret += this.defaultCharUnicode; + var bytesArr = this.prevBytes.slice(1); + + // Parse remaining as usual. + this.prevBytes = []; + this.nodeIdx = 0; + if (bytesArr.length > 0) + ret += this.write(bytesArr); + } + + this.prevBytes = []; + this.nodeIdx = 0; + return ret; + }; + + // Binary search for GB18030. Returns largest i such that table[i] <= val. + function findIdx(table, val) { + if (table[0] > val) + return -1; + + var l = 0, r = table.length; + while (l < r-1) { // always table[l] <= val < table[r] + var mid = l + ((r-l+1) >> 1); + if (table[mid] <= val) + l = mid; + else + r = mid; + } + return l; + } + return dbcsCodec; +} + +var require$$0 = [ + [ + "0", + "\u0000", + 128 + ], + [ + "a1", + "。", + 62 + ], + [ + "8140", + " 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈", + 9, + "+-±×" + ], + [ + "8180", + "÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓" + ], + [ + "81b8", + "∈∋⊆⊇⊂⊃∪∩" + ], + [ + "81c8", + "∧∨¬⇒⇔∀∃" + ], + [ + "81da", + "∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬" + ], + [ + "81f0", + "ʼn♯♭♪†‡¶" + ], + [ + "81fc", + "◯" + ], + [ + "824f", + "0", + 9 + ], + [ + "8260", + "A", + 25 + ], + [ + "8281", + "a", + 25 + ], + [ + "829f", + "ぁ", + 82 + ], + [ + "8340", + "ァ", + 62 + ], + [ + "8380", + "ム", + 22 + ], + [ + "839f", + "Α", + 16, + "Σ", + 6 + ], + [ + "83bf", + "α", + 16, + "σ", + 6 + ], + [ + "8440", + "А", + 5, + "ЁЖ", + 25 + ], + [ + "8470", + "а", + 5, + "ёж", + 7 + ], + [ + "8480", + "о", + 17 + ], + [ + "849f", + "─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂" + ], + [ + "8740", + "①", + 19, + "Ⅰ", + 9 + ], + [ + "875f", + "㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡" + ], + [ + "877e", + "㍻" + ], + [ + "8780", + "〝〟№㏍℡㊤", + 4, + "㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪" + ], + [ + "889f", + "亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭" + ], + [ + "8940", + "院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円" + ], + [ + "8980", + "園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改" + ], + [ + "8a40", + "魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫" + ], + [ + "8a80", + "橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄" + ], + [ + "8b40", + "機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救" + ], + [ + "8b80", + "朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈" + ], + [ + "8c40", + "掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨" + ], + [ + "8c80", + "劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向" + ], + [ + "8d40", + "后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降" + ], + [ + "8d80", + "項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷" + ], + [ + "8e40", + "察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止" + ], + [ + "8e80", + "死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周" + ], + [ + "8f40", + "宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳" + ], + [ + "8f80", + "準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾" + ], + [ + "9040", + "拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨" + ], + [ + "9080", + "逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線" + ], + [ + "9140", + "繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻" + ], + [ + "9180", + "操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只" + ], + [ + "9240", + "叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄" + ], + [ + "9280", + "逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓" + ], + [ + "9340", + "邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬" + ], + [ + "9380", + "凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入" + ], + [ + "9440", + "如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅" + ], + [ + "9480", + "楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美" + ], + [ + "9540", + "鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷" + ], + [ + "9580", + "斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋" + ], + [ + "9640", + "法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆" + ], + [ + "9680", + "摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒" + ], + [ + "9740", + "諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲" + ], + [ + "9780", + "沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯" + ], + [ + "9840", + "蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕" + ], + [ + "989f", + "弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲" + ], + [ + "9940", + "僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭" + ], + [ + "9980", + "凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨" + ], + [ + "9a40", + "咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸" + ], + [ + "9a80", + "噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩" + ], + [ + "9b40", + "奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀" + ], + [ + "9b80", + "它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏" + ], + [ + "9c40", + "廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠" + ], + [ + "9c80", + "怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛" + ], + [ + "9d40", + "戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫" + ], + [ + "9d80", + "捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼" + ], + [ + "9e40", + "曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎" + ], + [ + "9e80", + "梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣" + ], + [ + "9f40", + "檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯" + ], + [ + "9f80", + "麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌" + ], + [ + "e040", + "漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝" + ], + [ + "e080", + "烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱" + ], + [ + "e140", + "瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿" + ], + [ + "e180", + "痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬" + ], + [ + "e240", + "磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰" + ], + [ + "e280", + "窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆" + ], + [ + "e340", + "紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷" + ], + [ + "e380", + "縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋" + ], + [ + "e440", + "隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤" + ], + [ + "e480", + "艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈" + ], + [ + "e540", + "蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬" + ], + [ + "e580", + "蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞" + ], + [ + "e640", + "襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧" + ], + [ + "e680", + "諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊" + ], + [ + "e740", + "蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜" + ], + [ + "e780", + "轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮" + ], + [ + "e840", + "錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙" + ], + [ + "e880", + "閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰" + ], + [ + "e940", + "顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃" + ], + [ + "e980", + "騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈" + ], + [ + "ea40", + "鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯" + ], + [ + "ea80", + "黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙" + ], + [ + "ed40", + "纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏" + ], + [ + "ed80", + "塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱" + ], + [ + "ee40", + "犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙" + ], + [ + "ee80", + "蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑" + ], + [ + "eeef", + "ⅰ", + 9, + "¬¦'"" + ], + [ + "f040", + "", + 62 + ], + [ + "f080", + "", + 124 + ], + [ + "f140", + "", + 62 + ], + [ + "f180", + "", + 124 + ], + [ + "f240", + "", + 62 + ], + [ + "f280", + "", + 124 + ], + [ + "f340", + "", + 62 + ], + [ + "f380", + "", + 124 + ], + [ + "f440", + "", + 62 + ], + [ + "f480", + "", + 124 + ], + [ + "f540", + "", + 62 + ], + [ + "f580", + "", + 124 + ], + [ + "f640", + "", + 62 + ], + [ + "f680", + "", + 124 + ], + [ + "f740", + "", + 62 + ], + [ + "f780", + "", + 124 + ], + [ + "f840", + "", + 62 + ], + [ + "f880", + "", + 124 + ], + [ + "f940", + "" + ], + [ + "fa40", + "ⅰ", + 9, + "Ⅰ", + 9, + "¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊" + ], + [ + "fa80", + "兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯" + ], + [ + "fb40", + "涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神" + ], + [ + "fb80", + "祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙" + ], + [ + "fc40", + "髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑" + ] +]; + +var require$$1 = [ + [ + "0", + "\u0000", + 127 + ], + [ + "8ea1", + "。", + 62 + ], + [ + "a1a1", + " 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈", + 9, + "+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇" + ], + [ + "a2a1", + "◆□■△▲▽▼※〒→←↑↓〓" + ], + [ + "a2ba", + "∈∋⊆⊇⊂⊃∪∩" + ], + [ + "a2ca", + "∧∨¬⇒⇔∀∃" + ], + [ + "a2dc", + "∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬" + ], + [ + "a2f2", + "ʼn♯♭♪†‡¶" + ], + [ + "a2fe", + "◯" + ], + [ + "a3b0", + "0", + 9 + ], + [ + "a3c1", + "A", + 25 + ], + [ + "a3e1", + "a", + 25 + ], + [ + "a4a1", + "ぁ", + 82 + ], + [ + "a5a1", + "ァ", + 85 + ], + [ + "a6a1", + "Α", + 16, + "Σ", + 6 + ], + [ + "a6c1", + "α", + 16, + "σ", + 6 + ], + [ + "a7a1", + "А", + 5, + "ЁЖ", + 25 + ], + [ + "a7d1", + "а", + 5, + "ёж", + 25 + ], + [ + "a8a1", + "─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂" + ], + [ + "ada1", + "①", + 19, + "Ⅰ", + 9 + ], + [ + "adc0", + "㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡" + ], + [ + "addf", + "㍻〝〟№㏍℡㊤", + 4, + "㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪" + ], + [ + "b0a1", + "亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭" + ], + [ + "b1a1", + "院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応" + ], + [ + "b2a1", + "押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改" + ], + [ + "b3a1", + "魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱" + ], + [ + "b4a1", + "粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄" + ], + [ + "b5a1", + "機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京" + ], + [ + "b6a1", + "供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈" + ], + [ + "b7a1", + "掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲" + ], + [ + "b8a1", + "検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向" + ], + [ + "b9a1", + "后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込" + ], + [ + "baa1", + "此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷" + ], + [ + "bba1", + "察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時" + ], + [ + "bca1", + "次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周" + ], + [ + "bda1", + "宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償" + ], + [ + "bea1", + "勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾" + ], + [ + "bfa1", + "拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾" + ], + [ + "c0a1", + "澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線" + ], + [ + "c1a1", + "繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎" + ], + [ + "c2a1", + "臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只" + ], + [ + "c3a1", + "叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵" + ], + [ + "c4a1", + "帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓" + ], + [ + "c5a1", + "邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到" + ], + [ + "c6a1", + "董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入" + ], + [ + "c7a1", + "如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦" + ], + [ + "c8a1", + "函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美" + ], + [ + "c9a1", + "鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服" + ], + [ + "caa1", + "福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋" + ], + [ + "cba1", + "法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満" + ], + [ + "cca1", + "漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒" + ], + [ + "cda1", + "諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃" + ], + [ + "cea1", + "痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯" + ], + [ + "cfa1", + "蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕" + ], + [ + "d0a1", + "弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲" + ], + [ + "d1a1", + "僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨" + ], + [ + "d2a1", + "辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨" + ], + [ + "d3a1", + "咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉" + ], + [ + "d4a1", + "圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩" + ], + [ + "d5a1", + "奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓" + ], + [ + "d6a1", + "屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏" + ], + [ + "d7a1", + "廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚" + ], + [ + "d8a1", + "悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛" + ], + [ + "d9a1", + "戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼" + ], + [ + "daa1", + "據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼" + ], + [ + "dba1", + "曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍" + ], + [ + "dca1", + "棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣" + ], + [ + "dda1", + "檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾" + ], + [ + "dea1", + "沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌" + ], + [ + "dfa1", + "漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼" + ], + [ + "e0a1", + "燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱" + ], + [ + "e1a1", + "瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰" + ], + [ + "e2a1", + "癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬" + ], + [ + "e3a1", + "磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐" + ], + [ + "e4a1", + "筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆" + ], + [ + "e5a1", + "紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺" + ], + [ + "e6a1", + "罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋" + ], + [ + "e7a1", + "隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙" + ], + [ + "e8a1", + "茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈" + ], + [ + "e9a1", + "蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙" + ], + [ + "eaa1", + "蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞" + ], + [ + "eba1", + "襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫" + ], + [ + "eca1", + "譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊" + ], + [ + "eda1", + "蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸" + ], + [ + "eea1", + "遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮" + ], + [ + "efa1", + "錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞" + ], + [ + "f0a1", + "陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰" + ], + [ + "f1a1", + "顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷" + ], + [ + "f2a1", + "髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈" + ], + [ + "f3a1", + "鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠" + ], + [ + "f4a1", + "堯槇遙瑤凜熙" + ], + [ + "f9a1", + "纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德" + ], + [ + "faa1", + "忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱" + ], + [ + "fba1", + "犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚" + ], + [ + "fca1", + "釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑" + ], + [ + "fcf1", + "ⅰ", + 9, + "¬¦'"" + ], + [ + "8fa2af", + "˘ˇ¸˙˝¯˛˚~΄΅" + ], + [ + "8fa2c2", + "¡¦¿" + ], + [ + "8fa2eb", + "ºª©®™¤№" + ], + [ + "8fa6e1", + "ΆΈΉΊΪ" + ], + [ + "8fa6e7", + "Ό" + ], + [ + "8fa6e9", + "ΎΫ" + ], + [ + "8fa6ec", + "Ώ" + ], + [ + "8fa6f1", + "άέήίϊΐόςύϋΰώ" + ], + [ + "8fa7c2", + "Ђ", + 10, + "ЎЏ" + ], + [ + "8fa7f2", + "ђ", + 10, + "ўџ" + ], + [ + "8fa9a1", + "ÆĐ" + ], + [ + "8fa9a4", + "Ħ" + ], + [ + "8fa9a6", + "IJ" + ], + [ + "8fa9a8", + "ŁĿ" + ], + [ + "8fa9ab", + "ŊØŒ" + ], + [ + "8fa9af", + "ŦÞ" + ], + [ + "8fa9c1", + "æđðħıijĸłŀʼnŋøœßŧþ" + ], + [ + "8faaa1", + "ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ" + ], + [ + "8faaba", + "ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ" + ], + [ + "8faba1", + "áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ" + ], + [ + "8fabbd", + "ġĥíìïîǐ" + ], + [ + "8fabc5", + "īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż" + ], + [ + "8fb0a1", + "丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄" + ], + [ + "8fb1a1", + "侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐" + ], + [ + "8fb2a1", + "傒傓傔傖傛傜傞", + 4, + "傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂" + ], + [ + "8fb3a1", + "凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋" + ], + [ + "8fb4a1", + "匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿" + ], + [ + "8fb5a1", + "咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒" + ], + [ + "8fb6a1", + "嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍", + 5, + "嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤", + 4, + "囱囫园" + ], + [ + "8fb7a1", + "囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭", + 4, + "坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡" + ], + [ + "8fb8a1", + "堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭" + ], + [ + "8fb9a1", + "奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿" + ], + [ + "8fbaa1", + "嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖", + 4, + "寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩" + ], + [ + "8fbba1", + "屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤" + ], + [ + "8fbca1", + "巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪", + 4, + "幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧" + ], + [ + "8fbda1", + "彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐", + 4, + "忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷" + ], + [ + "8fbea1", + "悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐", + 4, + "愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥" + ], + [ + "8fbfa1", + "懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵" + ], + [ + "8fc0a1", + "捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿" + ], + [ + "8fc1a1", + "擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝" + ], + [ + "8fc2a1", + "昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝" + ], + [ + "8fc3a1", + "杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮", + 4, + "桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏" + ], + [ + "8fc4a1", + "棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲" + ], + [ + "8fc5a1", + "樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽" + ], + [ + "8fc6a1", + "歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖" + ], + [ + "8fc7a1", + "泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞" + ], + [ + "8fc8a1", + "湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊" + ], + [ + "8fc9a1", + "濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔", + 4, + "炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃", + 4, + "焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠" + ], + [ + "8fcaa1", + "煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻" + ], + [ + "8fcba1", + "狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽" + ], + [ + "8fcca1", + "珿琀琁琄琇琊琑琚琛琤琦琨", + 9, + "琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆" + ], + [ + "8fcda1", + "甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹", + 5, + "疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹" + ], + [ + "8fcea1", + "瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢", + 6, + "皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢" + ], + [ + "8fcfa1", + "睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳" + ], + [ + "8fd0a1", + "碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞" + ], + [ + "8fd1a1", + "秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰" + ], + [ + "8fd2a1", + "笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙", + 5 + ], + [ + "8fd3a1", + "籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝" + ], + [ + "8fd4a1", + "綞綦綧綪綳綶綷綹緂", + 4, + "緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭" + ], + [ + "8fd5a1", + "罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮" + ], + [ + "8fd6a1", + "胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆" + ], + [ + "8fd7a1", + "艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸" + ], + [ + "8fd8a1", + "荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓" + ], + [ + "8fd9a1", + "蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏", + 4, + "蕖蕙蕜", + 6, + "蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼" + ], + [ + "8fdaa1", + "藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠", + 4, + "虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣" + ], + [ + "8fdba1", + "蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃", + 6, + "螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵" + ], + [ + "8fdca1", + "蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊", + 4, + "裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺" + ], + [ + "8fdda1", + "襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔", + 4, + "觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳" + ], + [ + "8fdea1", + "誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂", + 4, + "譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆" + ], + [ + "8fdfa1", + "貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢" + ], + [ + "8fe0a1", + "踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁" + ], + [ + "8fe1a1", + "轃轇轏轑", + 4, + "轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃" + ], + [ + "8fe2a1", + "郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿" + ], + [ + "8fe3a1", + "釂釃釅釓釔釗釙釚釞釤釥釩釪釬", + 5, + "釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵", + 4, + "鉻鉼鉽鉿銈銉銊銍銎銒銗" + ], + [ + "8fe4a1", + "銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿", + 4, + "鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶" + ], + [ + "8fe5a1", + "鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉", + 4, + "鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹" + ], + [ + "8fe6a1", + "镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂" + ], + [ + "8fe7a1", + "霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦" + ], + [ + "8fe8a1", + "頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱", + 4, + "餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵" + ], + [ + "8fe9a1", + "馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿", + 4 + ], + [ + "8feaa1", + "鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪", + 4, + "魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸" + ], + [ + "8feba1", + "鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦", + 4, + "鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻" + ], + [ + "8feca1", + "鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵" + ], + [ + "8feda1", + "黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃", + 4, + "齓齕齖齗齘齚齝齞齨齩齭", + 4, + "齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥" + ] +]; + +var require$$2 = [ + [ + "0", + "\u0000", + 127, + "€" + ], + [ + "8140", + "丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪", + 5, + "乲乴", + 9, + "乿", + 6, + "亇亊" + ], + [ + "8180", + "亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂", + 6, + "伋伌伒", + 4, + "伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾", + 4, + "佄佅佇", + 5, + "佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢" + ], + [ + "8240", + "侤侫侭侰", + 4, + "侶", + 8, + "俀俁係俆俇俈俉俋俌俍俒", + 4, + "俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿", + 11 + ], + [ + "8280", + "個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯", + 10, + "倻倽倿偀偁偂偄偅偆偉偊偋偍偐", + 4, + "偖偗偘偙偛偝", + 7, + "偦", + 5, + "偭", + 8, + "偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎", + 20, + "傤傦傪傫傭", + 4, + "傳", + 6, + "傼" + ], + [ + "8340", + "傽", + 17, + "僐", + 5, + "僗僘僙僛", + 10, + "僨僩僪僫僯僰僱僲僴僶", + 4, + "僼", + 9, + "儈" + ], + [ + "8380", + "儉儊儌", + 5, + "儓", + 13, + "儢", + 28, + "兂兇兊兌兎兏児兒兓兗兘兙兛兝", + 4, + "兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦", + 4, + "冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒", + 5 + ], + [ + "8440", + "凘凙凚凜凞凟凢凣凥", + 5, + "凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄", + 5, + "剋剎剏剒剓剕剗剘" + ], + [ + "8480", + "剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳", + 9, + "剾劀劃", + 4, + "劉", + 6, + "劑劒劔", + 6, + "劜劤劥劦劧劮劯劰労", + 9, + "勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務", + 5, + "勠勡勢勣勥", + 10, + "勱", + 7, + "勻勼勽匁匂匃匄匇匉匊匋匌匎" + ], + [ + "8540", + "匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯", + 9, + "匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏" + ], + [ + "8580", + "厐", + 4, + "厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯", + 6, + "厷厸厹厺厼厽厾叀參", + 4, + "収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝", + 4, + "呣呥呧呩", + 7, + "呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡" + ], + [ + "8640", + "咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠", + 4, + "哫哬哯哰哱哴", + 5, + "哻哾唀唂唃唄唅唈唊", + 4, + "唒唓唕", + 5, + "唜唝唞唟唡唥唦" + ], + [ + "8680", + "唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋", + 4, + "啑啒啓啔啗", + 4, + "啝啞啟啠啢啣啨啩啫啯", + 5, + "啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠", + 6, + "喨", + 8, + "喲喴営喸喺喼喿", + 4, + "嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗", + 4, + "嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸", + 4, + "嗿嘂嘃嘄嘅" + ], + [ + "8740", + "嘆嘇嘊嘋嘍嘐", + 7, + "嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀", + 11, + "噏", + 4, + "噕噖噚噛噝", + 4 + ], + [ + "8780", + "噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽", + 7, + "嚇", + 6, + "嚐嚑嚒嚔", + 14, + "嚤", + 10, + "嚰", + 6, + "嚸嚹嚺嚻嚽", + 12, + "囋", + 8, + "囕囖囘囙囜団囥", + 5, + "囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國", + 6 + ], + [ + "8840", + "園", + 9, + "圝圞圠圡圢圤圥圦圧圫圱圲圴", + 4, + "圼圽圿坁坃坄坅坆坈坉坋坒", + 4, + "坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀" + ], + [ + "8880", + "垁垇垈垉垊垍", + 4, + "垔", + 6, + "垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹", + 8, + "埄", + 6, + "埌埍埐埑埓埖埗埛埜埞埡埢埣埥", + 7, + "埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥", + 4, + "堫", + 4, + "報堲堳場堶", + 7 + ], + [ + "8940", + "堾", + 5, + "塅", + 6, + "塎塏塐塒塓塕塖塗塙", + 4, + "塟", + 5, + "塦", + 4, + "塭", + 16, + "塿墂墄墆墇墈墊墋墌" + ], + [ + "8980", + "墍", + 4, + "墔", + 4, + "墛墜墝墠", + 7, + "墪", + 17, + "墽墾墿壀壂壃壄壆", + 10, + "壒壓壔壖", + 13, + "壥", + 5, + "壭壯壱売壴壵壷壸壺", + 7, + "夃夅夆夈", + 4, + "夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻" + ], + [ + "8a40", + "夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛", + 4, + "奡奣奤奦", + 12, + "奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦" + ], + [ + "8a80", + "妧妬妭妰妱妳", + 5, + "妺妼妽妿", + 6, + "姇姈姉姌姍姎姏姕姖姙姛姞", + 4, + "姤姦姧姩姪姫姭", + 11, + "姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪", + 6, + "娳娵娷", + 4, + "娽娾娿婁", + 4, + "婇婈婋", + 9, + "婖婗婘婙婛", + 5 + ], + [ + "8b40", + "婡婣婤婥婦婨婩婫", + 8, + "婸婹婻婼婽婾媀", + 17, + "媓", + 6, + "媜", + 13, + "媫媬" + ], + [ + "8b80", + "媭", + 4, + "媴媶媷媹", + 4, + "媿嫀嫃", + 5, + "嫊嫋嫍", + 4, + "嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬", + 4, + "嫲", + 22, + "嬊", + 11, + "嬘", + 25, + "嬳嬵嬶嬸", + 7, + "孁", + 6 + ], + [ + "8c40", + "孈", + 7, + "孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏" + ], + [ + "8c80", + "寑寔", + 8, + "寠寢寣實寧審", + 4, + "寯寱", + 6, + "寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧", + 6, + "屰屲", + 6, + "屻屼屽屾岀岃", + 4, + "岉岊岋岎岏岒岓岕岝", + 4, + "岤", + 4 + ], + [ + "8d40", + "岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅", + 5, + "峌", + 5, + "峓", + 5, + "峚", + 6, + "峢峣峧峩峫峬峮峯峱", + 9, + "峼", + 4 + ], + [ + "8d80", + "崁崄崅崈", + 5, + "崏", + 4, + "崕崗崘崙崚崜崝崟", + 4, + "崥崨崪崫崬崯", + 4, + "崵", + 7, + "崿", + 7, + "嵈嵉嵍", + 10, + "嵙嵚嵜嵞", + 10, + "嵪嵭嵮嵰嵱嵲嵳嵵", + 12, + "嶃", + 21, + "嶚嶛嶜嶞嶟嶠" + ], + [ + "8e40", + "嶡", + 21, + "嶸", + 12, + "巆", + 6, + "巎", + 12, + "巜巟巠巣巤巪巬巭" + ], + [ + "8e80", + "巰巵巶巸", + 4, + "巿帀帄帇帉帊帋帍帎帒帓帗帞", + 7, + "帨", + 4, + "帯帰帲", + 4, + "帹帺帾帿幀幁幃幆", + 5, + "幍", + 6, + "幖", + 4, + "幜幝幟幠幣", + 14, + "幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨", + 4, + "庮", + 4, + "庴庺庻庼庽庿", + 6 + ], + [ + "8f40", + "廆廇廈廋", + 5, + "廔廕廗廘廙廚廜", + 11, + "廩廫", + 8, + "廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤" + ], + [ + "8f80", + "弨弫弬弮弰弲", + 6, + "弻弽弾弿彁", + 14, + "彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢", + 5, + "復徫徬徯", + 5, + "徶徸徹徺徻徾", + 4, + "忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇" + ], + [ + "9040", + "怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰", + 4, + "怶", + 4, + "怽怾恀恄", + 6, + "恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀" + ], + [ + "9080", + "悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽", + 7, + "惇惈惉惌", + 4, + "惒惓惔惖惗惙惛惞惡", + 4, + "惪惱惲惵惷惸惻", + 4, + "愂愃愄愅愇愊愋愌愐", + 4, + "愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬", + 18, + "慀", + 6 + ], + [ + "9140", + "慇慉態慍慏慐慒慓慔慖", + 6, + "慞慟慠慡慣慤慥慦慩", + 6, + "慱慲慳慴慶慸", + 18, + "憌憍憏", + 4, + "憕" + ], + [ + "9180", + "憖", + 6, + "憞", + 8, + "憪憫憭", + 9, + "憸", + 5, + "憿懀懁懃", + 4, + "應懌", + 4, + "懓懕", + 16, + "懧", + 13, + "懶", + 8, + "戀", + 5, + "戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸", + 4, + "扂扄扅扆扊" + ], + [ + "9240", + "扏扐払扖扗扙扚扜", + 6, + "扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋", + 5, + "抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁" + ], + [ + "9280", + "拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳", + 5, + "挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖", + 7, + "捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙", + 6, + "採掤掦掫掯掱掲掵掶掹掻掽掿揀" + ], + [ + "9340", + "揁揂揃揅揇揈揊揋揌揑揓揔揕揗", + 6, + "揟揢揤", + 4, + "揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆", + 4, + "損搎搑搒搕", + 5, + "搝搟搢搣搤" + ], + [ + "9380", + "搥搧搨搩搫搮", + 5, + "搵", + 4, + "搻搼搾摀摂摃摉摋", + 6, + "摓摕摖摗摙", + 4, + "摟", + 7, + "摨摪摫摬摮", + 9, + "摻", + 6, + "撃撆撈", + 8, + "撓撔撗撘撚撛撜撝撟", + 4, + "撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆", + 6, + "擏擑擓擔擕擖擙據" + ], + [ + "9440", + "擛擜擝擟擠擡擣擥擧", + 24, + "攁", + 7, + "攊", + 7, + "攓", + 4, + "攙", + 8 + ], + [ + "9480", + "攢攣攤攦", + 4, + "攬攭攰攱攲攳攷攺攼攽敀", + 4, + "敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數", + 14, + "斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱", + 7, + "斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘", + 7, + "旡旣旤旪旫" + ], + [ + "9540", + "旲旳旴旵旸旹旻", + 4, + "昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷", + 4, + "昽昿晀時晄", + 6, + "晍晎晐晑晘" + ], + [ + "9580", + "晙晛晜晝晞晠晢晣晥晧晩", + 4, + "晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘", + 4, + "暞", + 8, + "暩", + 4, + "暯", + 4, + "暵暶暷暸暺暻暼暽暿", + 25, + "曚曞", + 7, + "曧曨曪", + 5, + "曱曵曶書曺曻曽朁朂會" + ], + [ + "9640", + "朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠", + 5, + "朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗", + 4, + "杝杢杣杤杦杧杫杬杮東杴杶" + ], + [ + "9680", + "杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹", + 7, + "柂柅", + 9, + "柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵", + 7, + "柾栁栂栃栄栆栍栐栒栔栕栘", + 4, + "栞栟栠栢", + 6, + "栫", + 6, + "栴栵栶栺栻栿桇桋桍桏桒桖", + 5 + ], + [ + "9740", + "桜桝桞桟桪桬", + 7, + "桵桸", + 8, + "梂梄梇", + 7, + "梐梑梒梔梕梖梘", + 9, + "梣梤梥梩梪梫梬梮梱梲梴梶梷梸" + ], + [ + "9780", + "梹", + 6, + "棁棃", + 5, + "棊棌棎棏棐棑棓棔棖棗棙棛", + 4, + "棡棢棤", + 9, + "棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆", + 4, + "椌椏椑椓", + 11, + "椡椢椣椥", + 7, + "椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃", + 16, + "楕楖楘楙楛楜楟" + ], + [ + "9840", + "楡楢楤楥楧楨楩楪楬業楯楰楲", + 4, + "楺楻楽楾楿榁榃榅榊榋榌榎", + 5, + "榖榗榙榚榝", + 9, + "榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽" + ], + [ + "9880", + "榾榿槀槂", + 7, + "構槍槏槑槒槓槕", + 5, + "槜槝槞槡", + 11, + "槮槯槰槱槳", + 9, + "槾樀", + 9, + "樋", + 11, + "標", + 5, + "樠樢", + 5, + "権樫樬樭樮樰樲樳樴樶", + 6, + "樿", + 4, + "橅橆橈", + 7, + "橑", + 6, + "橚" + ], + [ + "9940", + "橜", + 4, + "橢橣橤橦", + 10, + "橲", + 6, + "橺橻橽橾橿檁檂檃檅", + 8, + "檏檒", + 4, + "檘", + 7, + "檡", + 5 + ], + [ + "9980", + "檧檨檪檭", + 114, + "欥欦欨", + 6 + ], + [ + "9a40", + "欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍", + 11, + "歚", + 7, + "歨歩歫", + 13, + "歺歽歾歿殀殅殈" + ], + [ + "9a80", + "殌殎殏殐殑殔殕殗殘殙殜", + 4, + "殢", + 7, + "殫", + 7, + "殶殸", + 6, + "毀毃毄毆", + 4, + "毌毎毐毑毘毚毜", + 4, + "毢", + 7, + "毬毭毮毰毱毲毴毶毷毸毺毻毼毾", + 6, + "氈", + 4, + "氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋", + 4, + "汑汒汓汖汘" + ], + [ + "9b40", + "汙汚汢汣汥汦汧汫", + 4, + "汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘" + ], + [ + "9b80", + "泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟", + 5, + "洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽", + 4, + "涃涄涆涇涊涋涍涏涐涒涖", + 4, + "涜涢涥涬涭涰涱涳涴涶涷涹", + 5, + "淁淂淃淈淉淊" + ], + [ + "9c40", + "淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽", + 7, + "渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵" + ], + [ + "9c80", + "渶渷渹渻", + 7, + "湅", + 7, + "湏湐湑湒湕湗湙湚湜湝湞湠", + 10, + "湬湭湯", + 14, + "満溁溂溄溇溈溊", + 4, + "溑", + 6, + "溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪", + 5 + ], + [ + "9d40", + "滰滱滲滳滵滶滷滸滺", + 7, + "漃漄漅漇漈漊", + 4, + "漐漑漒漖", + 9, + "漡漢漣漥漦漧漨漬漮漰漲漴漵漷", + 6, + "漿潀潁潂" + ], + [ + "9d80", + "潃潄潅潈潉潊潌潎", + 9, + "潙潚潛潝潟潠潡潣潤潥潧", + 5, + "潯潰潱潳潵潶潷潹潻潽", + 6, + "澅澆澇澊澋澏", + 12, + "澝澞澟澠澢", + 4, + "澨", + 10, + "澴澵澷澸澺", + 5, + "濁濃", + 5, + "濊", + 6, + "濓", + 10, + "濟濢濣濤濥" + ], + [ + "9e40", + "濦", + 7, + "濰", + 32, + "瀒", + 7, + "瀜", + 6, + "瀤", + 6 + ], + [ + "9e80", + "瀫", + 9, + "瀶瀷瀸瀺", + 17, + "灍灎灐", + 13, + "灟", + 11, + "灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞", + 12, + "炰炲炴炵炶為炾炿烄烅烆烇烉烋", + 12, + "烚" + ], + [ + "9f40", + "烜烝烞烠烡烢烣烥烪烮烰", + 6, + "烸烺烻烼烾", + 10, + "焋", + 4, + "焑焒焔焗焛", + 10, + "焧", + 7, + "焲焳焴" + ], + [ + "9f80", + "焵焷", + 13, + "煆煇煈煉煋煍煏", + 12, + "煝煟", + 4, + "煥煩", + 4, + "煯煰煱煴煵煶煷煹煻煼煾", + 5, + "熅", + 4, + "熋熌熍熎熐熑熒熓熕熖熗熚", + 4, + "熡", + 6, + "熩熪熫熭", + 5, + "熴熶熷熸熺", + 8, + "燄", + 9, + "燏", + 4 + ], + [ + "a040", + "燖", + 9, + "燡燢燣燤燦燨", + 5, + "燯", + 9, + "燺", + 11, + "爇", + 19 + ], + [ + "a080", + "爛爜爞", + 9, + "爩爫爭爮爯爲爳爴爺爼爾牀", + 6, + "牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅", + 4, + "犌犎犐犑犓", + 11, + "犠", + 11, + "犮犱犲犳犵犺", + 6, + "狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛" + ], + [ + "a1a1", + " 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈", + 7, + "〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓" + ], + [ + "a2a1", + "ⅰ", + 9 + ], + [ + "a2b1", + "⒈", + 19, + "⑴", + 19, + "①", + 9 + ], + [ + "a2e5", + "㈠", + 9 + ], + [ + "a2f1", + "Ⅰ", + 11 + ], + [ + "a3a1", + "!"#¥%", + 88, + " ̄" + ], + [ + "a4a1", + "ぁ", + 82 + ], + [ + "a5a1", + "ァ", + 85 + ], + [ + "a6a1", + "Α", + 16, + "Σ", + 6 + ], + [ + "a6c1", + "α", + 16, + "σ", + 6 + ], + [ + "a6e0", + "︵︶︹︺︿﹀︽︾﹁﹂﹃﹄" + ], + [ + "a6ee", + "︻︼︷︸︱" + ], + [ + "a6f4", + "︳︴" + ], + [ + "a7a1", + "А", + 5, + "ЁЖ", + 25 + ], + [ + "a7d1", + "а", + 5, + "ёж", + 25 + ], + [ + "a840", + "ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═", + 35, + "▁", + 6 + ], + [ + "a880", + "█", + 7, + "▓▔▕▼▽◢◣◤◥☉⊕〒〝〞" + ], + [ + "a8a1", + "āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ" + ], + [ + "a8bd", + "ńň" + ], + [ + "a8c0", + "ɡ" + ], + [ + "a8c5", + "ㄅ", + 36 + ], + [ + "a940", + "〡", + 8, + "㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦" + ], + [ + "a959", + "℡㈱" + ], + [ + "a95c", + "‐" + ], + [ + "a960", + "ー゛゜ヽヾ〆ゝゞ﹉", + 9, + "﹔﹕﹖﹗﹙", + 8 + ], + [ + "a980", + "﹢", + 4, + "﹨﹩﹪﹫" + ], + [ + "a996", + "〇" + ], + [ + "a9a4", + "─", + 75 + ], + [ + "aa40", + "狜狝狟狢", + 5, + "狪狫狵狶狹狽狾狿猀猂猄", + 5, + "猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀", + 8 + ], + [ + "aa80", + "獉獊獋獌獎獏獑獓獔獕獖獘", + 7, + "獡", + 10, + "獮獰獱" + ], + [ + "ab40", + "獲", + 11, + "獿", + 4, + "玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣", + 5, + "玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃", + 4 + ], + [ + "ab80", + "珋珌珎珒", + 6, + "珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳", + 4 + ], + [ + "ac40", + "珸", + 10, + "琄琇琈琋琌琍琎琑", + 8, + "琜", + 5, + "琣琤琧琩琫琭琯琱琲琷", + 4, + "琽琾琿瑀瑂", + 11 + ], + [ + "ac80", + "瑎", + 6, + "瑖瑘瑝瑠", + 12, + "瑮瑯瑱", + 4, + "瑸瑹瑺" + ], + [ + "ad40", + "瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑", + 10, + "璝璟", + 7, + "璪", + 15, + "璻", + 12 + ], + [ + "ad80", + "瓈", + 9, + "瓓", + 8, + "瓝瓟瓡瓥瓧", + 6, + "瓰瓱瓲" + ], + [ + "ae40", + "瓳瓵瓸", + 6, + "甀甁甂甃甅", + 7, + "甎甐甒甔甕甖甗甛甝甞甠", + 4, + "甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘" + ], + [ + "ae80", + "畝", + 7, + "畧畨畩畫", + 6, + "畳畵當畷畺", + 4, + "疀疁疂疄疅疇" + ], + [ + "af40", + "疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦", + 4, + "疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇" + ], + [ + "af80", + "瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄" + ], + [ + "b040", + "癅", + 6, + "癎", + 5, + "癕癗", + 4, + "癝癟癠癡癢癤", + 6, + "癬癭癮癰", + 7, + "癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛" + ], + [ + "b080", + "皜", + 7, + "皥", + 8, + "皯皰皳皵", + 9, + "盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥" + ], + [ + "b140", + "盄盇盉盋盌盓盕盙盚盜盝盞盠", + 4, + "盦", + 7, + "盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎", + 10, + "眛眜眝眞眡眣眤眥眧眪眫" + ], + [ + "b180", + "眬眮眰", + 4, + "眹眻眽眾眿睂睄睅睆睈", + 7, + "睒", + 7, + "睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳" + ], + [ + "b240", + "睝睞睟睠睤睧睩睪睭", + 11, + "睺睻睼瞁瞂瞃瞆", + 5, + "瞏瞐瞓", + 11, + "瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶", + 4 + ], + [ + "b280", + "瞼瞾矀", + 12, + "矎", + 8, + "矘矙矚矝", + 4, + "矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖" + ], + [ + "b340", + "矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃", + 5, + "砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚" + ], + [ + "b380", + "硛硜硞", + 11, + "硯", + 7, + "硸硹硺硻硽", + 6, + "场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚" + ], + [ + "b440", + "碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨", + 7, + "碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚", + 9 + ], + [ + "b480", + "磤磥磦磧磩磪磫磭", + 4, + "磳磵磶磸磹磻", + 5, + "礂礃礄礆", + 6, + "础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮" + ], + [ + "b540", + "礍", + 5, + "礔", + 9, + "礟", + 4, + "礥", + 14, + "礵", + 4, + "礽礿祂祃祄祅祇祊", + 8, + "祔祕祘祙祡祣" + ], + [ + "b580", + "祤祦祩祪祫祬祮祰", + 6, + "祹祻", + 4, + "禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠" + ], + [ + "b640", + "禓", + 6, + "禛", + 11, + "禨", + 10, + "禴", + 4, + "禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙", + 5, + "秠秡秢秥秨秪" + ], + [ + "b680", + "秬秮秱", + 6, + "秹秺秼秾秿稁稄稅稇稈稉稊稌稏", + 4, + "稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二" + ], + [ + "b740", + "稝稟稡稢稤", + 14, + "稴稵稶稸稺稾穀", + 5, + "穇", + 9, + "穒", + 4, + "穘", + 16 + ], + [ + "b780", + "穩", + 6, + "穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服" + ], + [ + "b840", + "窣窤窧窩窪窫窮", + 4, + "窴", + 10, + "竀", + 10, + "竌", + 9, + "竗竘竚竛竜竝竡竢竤竧", + 5, + "竮竰竱竲竳" + ], + [ + "b880", + "竴", + 4, + "竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹" + ], + [ + "b940", + "笯笰笲笴笵笶笷笹笻笽笿", + 5, + "筆筈筊筍筎筓筕筗筙筜筞筟筡筣", + 10, + "筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆", + 6, + "箎箏" + ], + [ + "b980", + "箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹", + 7, + "篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈" + ], + [ + "ba40", + "篅篈築篊篋篍篎篏篐篒篔", + 4, + "篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲", + 4, + "篸篹篺篻篽篿", + 7, + "簈簉簊簍簎簐", + 5, + "簗簘簙" + ], + [ + "ba80", + "簚", + 4, + "簠", + 5, + "簨簩簫", + 12, + "簹", + 5, + "籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖" + ], + [ + "bb40", + "籃", + 9, + "籎", + 36, + "籵", + 5, + "籾", + 9 + ], + [ + "bb80", + "粈粊", + 6, + "粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴", + 4, + "粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕" + ], + [ + "bc40", + "粿糀糂糃糄糆糉糋糎", + 6, + "糘糚糛糝糞糡", + 6, + "糩", + 5, + "糰", + 7, + "糹糺糼", + 13, + "紋", + 5 + ], + [ + "bc80", + "紑", + 14, + "紡紣紤紥紦紨紩紪紬紭紮細", + 6, + "肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件" + ], + [ + "bd40", + "紷", + 54, + "絯", + 7 + ], + [ + "bd80", + "絸", + 32, + "健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸" + ], + [ + "be40", + "継", + 12, + "綧", + 6, + "綯", + 42 + ], + [ + "be80", + "線", + 32, + "尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻" + ], + [ + "bf40", + "緻", + 62 + ], + [ + "bf80", + "縺縼", + 4, + "繂", + 4, + "繈", + 21, + "俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀" + ], + [ + "c040", + "繞", + 35, + "纃", + 23, + "纜纝纞" + ], + [ + "c080", + "纮纴纻纼绖绤绬绹缊缐缞缷缹缻", + 6, + "罃罆", + 9, + "罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐" + ], + [ + "c140", + "罖罙罛罜罝罞罠罣", + 4, + "罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂", + 7, + "羋羍羏", + 4, + "羕", + 4, + "羛羜羠羢羣羥羦羨", + 6, + "羱" + ], + [ + "c180", + "羳", + 4, + "羺羻羾翀翂翃翄翆翇翈翉翋翍翏", + 4, + "翖翗翙", + 5, + "翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿" + ], + [ + "c240", + "翤翧翨翪翫翬翭翯翲翴", + 6, + "翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫", + 5, + "耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗" + ], + [ + "c280", + "聙聛", + 13, + "聫", + 5, + "聲", + 11, + "隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫" + ], + [ + "c340", + "聾肁肂肅肈肊肍", + 5, + "肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇", + 4, + "胏", + 6, + "胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋" + ], + [ + "c380", + "脌脕脗脙脛脜脝脟", + 12, + "脭脮脰脳脴脵脷脹", + 4, + "脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸" + ], + [ + "c440", + "腀", + 5, + "腇腉腍腎腏腒腖腗腘腛", + 4, + "腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃", + 4, + "膉膋膌膍膎膐膒", + 5, + "膙膚膞", + 4, + "膤膥" + ], + [ + "c480", + "膧膩膫", + 7, + "膴", + 5, + "膼膽膾膿臄臅臇臈臉臋臍", + 6, + "摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁" + ], + [ + "c540", + "臔", + 14, + "臤臥臦臨臩臫臮", + 4, + "臵", + 5, + "臽臿舃與", + 4, + "舎舏舑舓舕", + 5, + "舝舠舤舥舦舧舩舮舲舺舼舽舿" + ], + [ + "c580", + "艀艁艂艃艅艆艈艊艌艍艎艐", + 7, + "艙艛艜艝艞艠", + 7, + "艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗" + ], + [ + "c640", + "艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸" + ], + [ + "c680", + "苺苼", + 4, + "茊茋茍茐茒茓茖茘茙茝", + 9, + "茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐" + ], + [ + "c740", + "茾茿荁荂荄荅荈荊", + 4, + "荓荕", + 4, + "荝荢荰", + 6, + "荹荺荾", + 6, + "莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡", + 6, + "莬莭莮" + ], + [ + "c780", + "莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠" + ], + [ + "c840", + "菮華菳", + 4, + "菺菻菼菾菿萀萂萅萇萈萉萊萐萒", + 5, + "萙萚萛萞", + 5, + "萩", + 7, + "萲", + 5, + "萹萺萻萾", + 7, + "葇葈葉" + ], + [ + "c880", + "葊", + 6, + "葒", + 4, + "葘葝葞葟葠葢葤", + 4, + "葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁" + ], + [ + "c940", + "葽", + 4, + "蒃蒄蒅蒆蒊蒍蒏", + 7, + "蒘蒚蒛蒝蒞蒟蒠蒢", + 12, + "蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗" + ], + [ + "c980", + "蓘", + 4, + "蓞蓡蓢蓤蓧", + 4, + "蓭蓮蓯蓱", + 10, + "蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳" + ], + [ + "ca40", + "蔃", + 8, + "蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢", + 8, + "蔭", + 9, + "蔾", + 4, + "蕄蕅蕆蕇蕋", + 10 + ], + [ + "ca80", + "蕗蕘蕚蕛蕜蕝蕟", + 4, + "蕥蕦蕧蕩", + 8, + "蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱" + ], + [ + "cb40", + "薂薃薆薈", + 6, + "薐", + 10, + "薝", + 6, + "薥薦薧薩薫薬薭薱", + 5, + "薸薺", + 6, + "藂", + 6, + "藊", + 4, + "藑藒" + ], + [ + "cb80", + "藔藖", + 5, + "藝", + 6, + "藥藦藧藨藪", + 14, + "恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔" + ], + [ + "cc40", + "藹藺藼藽藾蘀", + 4, + "蘆", + 10, + "蘒蘓蘔蘕蘗", + 15, + "蘨蘪", + 13, + "蘹蘺蘻蘽蘾蘿虀" + ], + [ + "cc80", + "虁", + 11, + "虒虓處", + 4, + "虛虜虝號虠虡虣", + 7, + "獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃" + ], + [ + "cd40", + "虭虯虰虲", + 6, + "蚃", + 6, + "蚎", + 4, + "蚔蚖", + 5, + "蚞", + 4, + "蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻", + 4, + "蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜" + ], + [ + "cd80", + "蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威" + ], + [ + "ce40", + "蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀", + 6, + "蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚", + 5, + "蝡蝢蝦", + 7, + "蝯蝱蝲蝳蝵" + ], + [ + "ce80", + "蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎", + 4, + "螔螕螖螘", + 6, + "螠", + 4, + "巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺" + ], + [ + "cf40", + "螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁", + 4, + "蟇蟈蟉蟌", + 4, + "蟔", + 6, + "蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯", + 9 + ], + [ + "cf80", + "蟺蟻蟼蟽蟿蠀蠁蠂蠄", + 5, + "蠋", + 7, + "蠔蠗蠘蠙蠚蠜", + 4, + "蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓" + ], + [ + "d040", + "蠤", + 13, + "蠳", + 5, + "蠺蠻蠽蠾蠿衁衂衃衆", + 5, + "衎", + 5, + "衕衖衘衚", + 6, + "衦衧衪衭衯衱衳衴衵衶衸衹衺" + ], + [ + "d080", + "衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗", + 4, + "袝", + 4, + "袣袥", + 5, + "小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄" + ], + [ + "d140", + "袬袮袯袰袲", + 4, + "袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚", + 4, + "裠裡裦裧裩", + 6, + "裲裵裶裷裺裻製裿褀褁褃", + 5 + ], + [ + "d180", + "褉褋", + 4, + "褑褔", + 4, + "褜", + 4, + "褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶" + ], + [ + "d240", + "褸", + 8, + "襂襃襅", + 24, + "襠", + 5, + "襧", + 19, + "襼" + ], + [ + "d280", + "襽襾覀覂覄覅覇", + 26, + "摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐" + ], + [ + "d340", + "覢", + 30, + "觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴", + 6 + ], + [ + "d380", + "觻", + 4, + "訁", + 5, + "計", + 21, + "印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉" + ], + [ + "d440", + "訞", + 31, + "訿", + 8, + "詉", + 21 + ], + [ + "d480", + "詟", + 25, + "詺", + 6, + "浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧" + ], + [ + "d540", + "誁", + 7, + "誋", + 7, + "誔", + 46 + ], + [ + "d580", + "諃", + 32, + "铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政" + ], + [ + "d640", + "諤", + 34, + "謈", + 27 + ], + [ + "d680", + "謤謥謧", + 30, + "帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑" + ], + [ + "d740", + "譆", + 31, + "譧", + 4, + "譭", + 25 + ], + [ + "d780", + "讇", + 24, + "讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座" + ], + [ + "d840", + "谸", + 8, + "豂豃豄豅豈豊豋豍", + 7, + "豖豗豘豙豛", + 5, + "豣", + 6, + "豬", + 6, + "豴豵豶豷豻", + 6, + "貃貄貆貇" + ], + [ + "d880", + "貈貋貍", + 6, + "貕貖貗貙", + 20, + "亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝" + ], + [ + "d940", + "貮", + 62 + ], + [ + "d980", + "賭", + 32, + "佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼" + ], + [ + "da40", + "贎", + 14, + "贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸", + 8, + "趂趃趆趇趈趉趌", + 4, + "趒趓趕", + 9, + "趠趡" + ], + [ + "da80", + "趢趤", + 12, + "趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺" + ], + [ + "db40", + "跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾", + 6, + "踆踇踈踋踍踎踐踑踒踓踕", + 7, + "踠踡踤", + 4, + "踫踭踰踲踳踴踶踷踸踻踼踾" + ], + [ + "db80", + "踿蹃蹅蹆蹌", + 4, + "蹓", + 5, + "蹚", + 11, + "蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝" + ], + [ + "dc40", + "蹳蹵蹷", + 4, + "蹽蹾躀躂躃躄躆躈", + 6, + "躑躒躓躕", + 6, + "躝躟", + 11, + "躭躮躰躱躳", + 6, + "躻", + 7 + ], + [ + "dc80", + "軃", + 10, + "軏", + 21, + "堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥" + ], + [ + "dd40", + "軥", + 62 + ], + [ + "dd80", + "輤", + 32, + "荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺" + ], + [ + "de40", + "轅", + 32, + "轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆" + ], + [ + "de80", + "迉", + 4, + "迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖" + ], + [ + "df40", + "這逜連逤逥逧", + 5, + "逰", + 4, + "逷逹逺逽逿遀遃遅遆遈", + 4, + "過達違遖遙遚遜", + 5, + "遤遦遧適遪遫遬遯", + 4, + "遶", + 6, + "遾邁" + ], + [ + "df80", + "還邅邆邇邉邊邌", + 4, + "邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼" + ], + [ + "e040", + "郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅", + 19, + "鄚鄛鄜" + ], + [ + "e080", + "鄝鄟鄠鄡鄤", + 10, + "鄰鄲", + 6, + "鄺", + 8, + "酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼" + ], + [ + "e140", + "酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀", + 4, + "醆醈醊醎醏醓", + 6, + "醜", + 5, + "醤", + 5, + "醫醬醰醱醲醳醶醷醸醹醻" + ], + [ + "e180", + "醼", + 10, + "釈釋釐釒", + 9, + "針", + 8, + "帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺" + ], + [ + "e240", + "釦", + 62 + ], + [ + "e280", + "鈥", + 32, + "狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧", + 5, + "饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂" + ], + [ + "e340", + "鉆", + 45, + "鉵", + 16 + ], + [ + "e380", + "銆", + 7, + "銏", + 24, + "恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾" + ], + [ + "e440", + "銨", + 5, + "銯", + 24, + "鋉", + 31 + ], + [ + "e480", + "鋩", + 32, + "洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑" + ], + [ + "e540", + "錊", + 51, + "錿", + 10 + ], + [ + "e580", + "鍊", + 31, + "鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣" + ], + [ + "e640", + "鍬", + 34, + "鎐", + 27 + ], + [ + "e680", + "鎬", + 29, + "鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩" + ], + [ + "e740", + "鏎", + 7, + "鏗", + 54 + ], + [ + "e780", + "鐎", + 32, + "纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡", + 6, + "缪缫缬缭缯", + 4, + "缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬" + ], + [ + "e840", + "鐯", + 14, + "鐿", + 43, + "鑬鑭鑮鑯" + ], + [ + "e880", + "鑰", + 20, + "钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹" + ], + [ + "e940", + "锧锳锽镃镈镋镕镚镠镮镴镵長", + 7, + "門", + 42 + ], + [ + "e980", + "閫", + 32, + "椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋" + ], + [ + "ea40", + "闌", + 27, + "闬闿阇阓阘阛阞阠阣", + 6, + "阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗" + ], + [ + "ea80", + "陘陙陚陜陝陞陠陣陥陦陫陭", + 4, + "陳陸", + 12, + "隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰" + ], + [ + "eb40", + "隌階隑隒隓隕隖隚際隝", + 9, + "隨", + 7, + "隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖", + 9, + "雡", + 6, + "雫" + ], + [ + "eb80", + "雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗", + 4, + "霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻" + ], + [ + "ec40", + "霡", + 8, + "霫霬霮霯霱霳", + 4, + "霺霻霼霽霿", + 18, + "靔靕靗靘靚靜靝靟靣靤靦靧靨靪", + 7 + ], + [ + "ec80", + "靲靵靷", + 4, + "靽", + 7, + "鞆", + 4, + "鞌鞎鞏鞐鞓鞕鞖鞗鞙", + 4, + "臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐" + ], + [ + "ed40", + "鞞鞟鞡鞢鞤", + 6, + "鞬鞮鞰鞱鞳鞵", + 46 + ], + [ + "ed80", + "韤韥韨韮", + 4, + "韴韷", + 23, + "怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨" + ], + [ + "ee40", + "頏", + 62 + ], + [ + "ee80", + "顎", + 32, + "睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶", + 4, + "钼钽钿铄铈", + 6, + "铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪" + ], + [ + "ef40", + "顯", + 5, + "颋颎颒颕颙颣風", + 37, + "飏飐飔飖飗飛飜飝飠", + 4 + ], + [ + "ef80", + "飥飦飩", + 30, + "铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒", + 4, + "锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤", + 8, + "镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔" + ], + [ + "f040", + "餈", + 4, + "餎餏餑", + 28, + "餯", + 26 + ], + [ + "f080", + "饊", + 9, + "饖", + 12, + "饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨", + 4, + "鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦", + 6, + "鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙" + ], + [ + "f140", + "馌馎馚", + 10, + "馦馧馩", + 47 + ], + [ + "f180", + "駙", + 32, + "瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃" + ], + [ + "f240", + "駺", + 62 + ], + [ + "f280", + "騹", + 32, + "颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒" + ], + [ + "f340", + "驚", + 17, + "驲骃骉骍骎骔骕骙骦骩", + 6, + "骲骳骴骵骹骻骽骾骿髃髄髆", + 4, + "髍髎髏髐髒體髕髖髗髙髚髛髜" + ], + [ + "f380", + "髝髞髠髢髣髤髥髧髨髩髪髬髮髰", + 8, + "髺髼", + 6, + "鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋" + ], + [ + "f440", + "鬇鬉", + 5, + "鬐鬑鬒鬔", + 10, + "鬠鬡鬢鬤", + 10, + "鬰鬱鬳", + 7, + "鬽鬾鬿魀魆魊魋魌魎魐魒魓魕", + 5 + ], + [ + "f480", + "魛", + 32, + "簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤" + ], + [ + "f540", + "魼", + 62 + ], + [ + "f580", + "鮻", + 32, + "酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜" + ], + [ + "f640", + "鯜", + 62 + ], + [ + "f680", + "鰛", + 32, + "觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅", + 5, + "龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞", + 5, + "鲥", + 4, + "鲫鲭鲮鲰", + 7, + "鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋" + ], + [ + "f740", + "鰼", + 62 + ], + [ + "f780", + "鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾", + 4, + "鳈鳉鳑鳒鳚鳛鳠鳡鳌", + 4, + "鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄" + ], + [ + "f840", + "鳣", + 62 + ], + [ + "f880", + "鴢", + 32 + ], + [ + "f940", + "鵃", + 62 + ], + [ + "f980", + "鶂", + 32 + ], + [ + "fa40", + "鶣", + 62 + ], + [ + "fa80", + "鷢", + 32 + ], + [ + "fb40", + "鸃", + 27, + "鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴", + 9, + "麀" + ], + [ + "fb80", + "麁麃麄麅麆麉麊麌", + 5, + "麔", + 8, + "麞麠", + 5, + "麧麨麩麪" + ], + [ + "fc40", + "麫", + 8, + "麵麶麷麹麺麼麿", + 4, + "黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰", + 8, + "黺黽黿", + 6 + ], + [ + "fc80", + "鼆", + 4, + "鼌鼏鼑鼒鼔鼕鼖鼘鼚", + 5, + "鼡鼣", + 8, + "鼭鼮鼰鼱" + ], + [ + "fd40", + "鼲", + 4, + "鼸鼺鼼鼿", + 4, + "齅", + 10, + "齒", + 38 + ], + [ + "fd80", + "齹", + 5, + "龁龂龍", + 11, + "龜龝龞龡", + 4, + "郎凉秊裏隣" + ], + [ + "fe40", + "兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩" + ] +]; + +var require$$3 = [ + [ + "a140", + "", + 62 + ], + [ + "a180", + "", + 32 + ], + [ + "a240", + "", + 62 + ], + [ + "a280", + "", + 32 + ], + [ + "a2ab", + "", + 5 + ], + [ + "a2e3", + "€" + ], + [ + "a2ef", + "" + ], + [ + "a2fd", + "" + ], + [ + "a340", + "", + 62 + ], + [ + "a380", + "", + 31, + " " + ], + [ + "a440", + "", + 62 + ], + [ + "a480", + "", + 32 + ], + [ + "a4f4", + "", + 10 + ], + [ + "a540", + "", + 62 + ], + [ + "a580", + "", + 32 + ], + [ + "a5f7", + "", + 7 + ], + [ + "a640", + "", + 62 + ], + [ + "a680", + "", + 32 + ], + [ + "a6b9", + "", + 7 + ], + [ + "a6d9", + "", + 6 + ], + [ + "a6ec", + "" + ], + [ + "a6f3", + "" + ], + [ + "a6f6", + "", + 8 + ], + [ + "a740", + "", + 62 + ], + [ + "a780", + "", + 32 + ], + [ + "a7c2", + "", + 14 + ], + [ + "a7f2", + "", + 12 + ], + [ + "a896", + "", + 10 + ], + [ + "a8bc", + "ḿ" + ], + [ + "a8bf", + "ǹ" + ], + [ + "a8c1", + "" + ], + [ + "a8ea", + "", + 20 + ], + [ + "a958", + "" + ], + [ + "a95b", + "" + ], + [ + "a95d", + "" + ], + [ + "a989", + "〾⿰", + 11 + ], + [ + "a997", + "", + 12 + ], + [ + "a9f0", + "", + 14 + ], + [ + "aaa1", + "", + 93 + ], + [ + "aba1", + "", + 93 + ], + [ + "aca1", + "", + 93 + ], + [ + "ada1", + "", + 93 + ], + [ + "aea1", + "", + 93 + ], + [ + "afa1", + "", + 93 + ], + [ + "d7fa", + "", + 4 + ], + [ + "f8a1", + "", + 93 + ], + [ + "f9a1", + "", + 93 + ], + [ + "faa1", + "", + 93 + ], + [ + "fba1", + "", + 93 + ], + [ + "fca1", + "", + 93 + ], + [ + "fda1", + "", + 93 + ], + [ + "fe50", + "⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌" + ], + [ + "fe80", + "䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓", + 6, + "䶮", + 93 + ], + [ + "8135f437", + "" + ] +]; + +var uChars = [ + 128, + 165, + 169, + 178, + 184, + 216, + 226, + 235, + 238, + 244, + 248, + 251, + 253, + 258, + 276, + 284, + 300, + 325, + 329, + 334, + 364, + 463, + 465, + 467, + 469, + 471, + 473, + 475, + 477, + 506, + 594, + 610, + 712, + 716, + 730, + 930, + 938, + 962, + 970, + 1026, + 1104, + 1106, + 8209, + 8215, + 8218, + 8222, + 8231, + 8241, + 8244, + 8246, + 8252, + 8365, + 8452, + 8454, + 8458, + 8471, + 8482, + 8556, + 8570, + 8596, + 8602, + 8713, + 8720, + 8722, + 8726, + 8731, + 8737, + 8740, + 8742, + 8748, + 8751, + 8760, + 8766, + 8777, + 8781, + 8787, + 8802, + 8808, + 8816, + 8854, + 8858, + 8870, + 8896, + 8979, + 9322, + 9372, + 9548, + 9588, + 9616, + 9622, + 9634, + 9652, + 9662, + 9672, + 9676, + 9680, + 9702, + 9735, + 9738, + 9793, + 9795, + 11906, + 11909, + 11913, + 11917, + 11928, + 11944, + 11947, + 11951, + 11956, + 11960, + 11964, + 11979, + 12284, + 12292, + 12312, + 12319, + 12330, + 12351, + 12436, + 12447, + 12535, + 12543, + 12586, + 12842, + 12850, + 12964, + 13200, + 13215, + 13218, + 13253, + 13263, + 13267, + 13270, + 13384, + 13428, + 13727, + 13839, + 13851, + 14617, + 14703, + 14801, + 14816, + 14964, + 15183, + 15471, + 15585, + 16471, + 16736, + 17208, + 17325, + 17330, + 17374, + 17623, + 17997, + 18018, + 18212, + 18218, + 18301, + 18318, + 18760, + 18811, + 18814, + 18820, + 18823, + 18844, + 18848, + 18872, + 19576, + 19620, + 19738, + 19887, + 40870, + 59244, + 59336, + 59367, + 59413, + 59417, + 59423, + 59431, + 59437, + 59443, + 59452, + 59460, + 59478, + 59493, + 63789, + 63866, + 63894, + 63976, + 63986, + 64016, + 64018, + 64021, + 64025, + 64034, + 64037, + 64042, + 65074, + 65093, + 65107, + 65112, + 65127, + 65132, + 65375, + 65510, + 65536 +]; +var gbChars = [ + 0, + 36, + 38, + 45, + 50, + 81, + 89, + 95, + 96, + 100, + 103, + 104, + 105, + 109, + 126, + 133, + 148, + 172, + 175, + 179, + 208, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 341, + 428, + 443, + 544, + 545, + 558, + 741, + 742, + 749, + 750, + 805, + 819, + 820, + 7922, + 7924, + 7925, + 7927, + 7934, + 7943, + 7944, + 7945, + 7950, + 8062, + 8148, + 8149, + 8152, + 8164, + 8174, + 8236, + 8240, + 8262, + 8264, + 8374, + 8380, + 8381, + 8384, + 8388, + 8390, + 8392, + 8393, + 8394, + 8396, + 8401, + 8406, + 8416, + 8419, + 8424, + 8437, + 8439, + 8445, + 8482, + 8485, + 8496, + 8521, + 8603, + 8936, + 8946, + 9046, + 9050, + 9063, + 9066, + 9076, + 9092, + 9100, + 9108, + 9111, + 9113, + 9131, + 9162, + 9164, + 9218, + 9219, + 11329, + 11331, + 11334, + 11336, + 11346, + 11361, + 11363, + 11366, + 11370, + 11372, + 11375, + 11389, + 11682, + 11686, + 11687, + 11692, + 11694, + 11714, + 11716, + 11723, + 11725, + 11730, + 11736, + 11982, + 11989, + 12102, + 12336, + 12348, + 12350, + 12384, + 12393, + 12395, + 12397, + 12510, + 12553, + 12851, + 12962, + 12973, + 13738, + 13823, + 13919, + 13933, + 14080, + 14298, + 14585, + 14698, + 15583, + 15847, + 16318, + 16434, + 16438, + 16481, + 16729, + 17102, + 17122, + 17315, + 17320, + 17402, + 17418, + 17859, + 17909, + 17911, + 17915, + 17916, + 17936, + 17939, + 17961, + 18664, + 18703, + 18814, + 18962, + 19043, + 33469, + 33470, + 33471, + 33484, + 33485, + 33490, + 33497, + 33501, + 33505, + 33513, + 33520, + 33536, + 33550, + 37845, + 37921, + 37948, + 38029, + 38038, + 38064, + 38065, + 38066, + 38069, + 38075, + 38076, + 38078, + 39108, + 39109, + 39113, + 39114, + 39115, + 39116, + 39265, + 39394, + 189000 +]; +var require$$4 = { + uChars: uChars, + gbChars: gbChars +}; + +var require$$5$1 = [ + [ + "0", + "\u0000", + 127 + ], + [ + "8141", + "갂갃갅갆갋", + 4, + "갘갞갟갡갢갣갥", + 6, + "갮갲갳갴" + ], + [ + "8161", + "갵갶갷갺갻갽갾갿걁", + 9, + "걌걎", + 5, + "걕" + ], + [ + "8181", + "걖걗걙걚걛걝", + 18, + "걲걳걵걶걹걻", + 4, + "겂겇겈겍겎겏겑겒겓겕", + 6, + "겞겢", + 5, + "겫겭겮겱", + 6, + "겺겾겿곀곂곃곅곆곇곉곊곋곍", + 7, + "곖곘", + 7, + "곢곣곥곦곩곫곭곮곲곴곷", + 4, + "곾곿괁괂괃괅괇", + 4, + "괎괐괒괓" + ], + [ + "8241", + "괔괕괖괗괙괚괛괝괞괟괡", + 7, + "괪괫괮", + 5 + ], + [ + "8261", + "괶괷괹괺괻괽", + 6, + "굆굈굊", + 5, + "굑굒굓굕굖굗" + ], + [ + "8281", + "굙", + 7, + "굢굤", + 7, + "굮굯굱굲굷굸굹굺굾궀궃", + 4, + "궊궋궍궎궏궑", + 10, + "궞", + 5, + "궥", + 17, + "궸", + 7, + "귂귃귅귆귇귉", + 6, + "귒귔", + 7, + "귝귞귟귡귢귣귥", + 18 + ], + [ + "8341", + "귺귻귽귾긂", + 5, + "긊긌긎", + 5, + "긕", + 7 + ], + [ + "8361", + "긝", + 18, + "긲긳긵긶긹긻긼" + ], + [ + "8381", + "긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗", + 4, + "깞깢깣깤깦깧깪깫깭깮깯깱", + 6, + "깺깾", + 5, + "꺆", + 5, + "꺍", + 46, + "꺿껁껂껃껅", + 6, + "껎껒", + 5, + "껚껛껝", + 8 + ], + [ + "8441", + "껦껧껩껪껬껮", + 5, + "껵껶껷껹껺껻껽", + 8 + ], + [ + "8461", + "꼆꼉꼊꼋꼌꼎꼏꼑", + 18 + ], + [ + "8481", + "꼤", + 7, + "꼮꼯꼱꼳꼵", + 6, + "꼾꽀꽄꽅꽆꽇꽊", + 5, + "꽑", + 10, + "꽞", + 5, + "꽦", + 18, + "꽺", + 5, + "꾁꾂꾃꾅꾆꾇꾉", + 6, + "꾒꾓꾔꾖", + 5, + "꾝", + 26, + "꾺꾻꾽꾾" + ], + [ + "8541", + "꾿꿁", + 5, + "꿊꿌꿏", + 4, + "꿕", + 6, + "꿝", + 4 + ], + [ + "8561", + "꿢", + 5, + "꿪", + 5, + "꿲꿳꿵꿶꿷꿹", + 6, + "뀂뀃" + ], + [ + "8581", + "뀅", + 6, + "뀍뀎뀏뀑뀒뀓뀕", + 6, + "뀞", + 9, + "뀩", + 26, + "끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞", + 29, + "끾끿낁낂낃낅", + 6, + "낎낐낒", + 5, + "낛낝낞낣낤" + ], + [ + "8641", + "낥낦낧낪낰낲낶낷낹낺낻낽", + 6, + "냆냊", + 5, + "냒" + ], + [ + "8661", + "냓냕냖냗냙", + 6, + "냡냢냣냤냦", + 10 + ], + [ + "8681", + "냱", + 22, + "넊넍넎넏넑넔넕넖넗넚넞", + 4, + "넦넧넩넪넫넭", + 6, + "넶넺", + 5, + "녂녃녅녆녇녉", + 6, + "녒녓녖녗녙녚녛녝녞녟녡", + 22, + "녺녻녽녾녿놁놃", + 4, + "놊놌놎놏놐놑놕놖놗놙놚놛놝" + ], + [ + "8741", + "놞", + 9, + "놩", + 15 + ], + [ + "8761", + "놹", + 18, + "뇍뇎뇏뇑뇒뇓뇕" + ], + [ + "8781", + "뇖", + 5, + "뇞뇠", + 7, + "뇪뇫뇭뇮뇯뇱", + 7, + "뇺뇼뇾", + 5, + "눆눇눉눊눍", + 6, + "눖눘눚", + 5, + "눡", + 18, + "눵", + 6, + "눽", + 26, + "뉙뉚뉛뉝뉞뉟뉡", + 6, + "뉪", + 4 + ], + [ + "8841", + "뉯", + 4, + "뉶", + 5, + "뉽", + 6, + "늆늇늈늊", + 4 + ], + [ + "8861", + "늏늒늓늕늖늗늛", + 4, + "늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷" + ], + [ + "8881", + "늸", + 15, + "닊닋닍닎닏닑닓", + 4, + "닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉", + 6, + "댒댖", + 5, + "댝", + 54, + "덗덙덚덝덠덡덢덣" + ], + [ + "8941", + "덦덨덪덬덭덯덲덳덵덶덷덹", + 6, + "뎂뎆", + 5, + "뎍" + ], + [ + "8961", + "뎎뎏뎑뎒뎓뎕", + 10, + "뎢", + 5, + "뎩뎪뎫뎭" + ], + [ + "8981", + "뎮", + 21, + "돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩", + 18, + "돽", + 18, + "됑", + 6, + "됙됚됛됝됞됟됡", + 6, + "됪됬", + 7, + "됵", + 15 + ], + [ + "8a41", + "둅", + 10, + "둒둓둕둖둗둙", + 6, + "둢둤둦" + ], + [ + "8a61", + "둧", + 4, + "둭", + 18, + "뒁뒂" + ], + [ + "8a81", + "뒃", + 4, + "뒉", + 19, + "뒞", + 5, + "뒥뒦뒧뒩뒪뒫뒭", + 7, + "뒶뒸뒺", + 5, + "듁듂듃듅듆듇듉", + 6, + "듑듒듓듔듖", + 5, + "듞듟듡듢듥듧", + 4, + "듮듰듲", + 5, + "듹", + 26, + "딖딗딙딚딝" + ], + [ + "8b41", + "딞", + 5, + "딦딫", + 4, + "딲딳딵딶딷딹", + 6, + "땂땆" + ], + [ + "8b61", + "땇땈땉땊땎땏땑땒땓땕", + 6, + "땞땢", + 8 + ], + [ + "8b81", + "땫", + 52, + "떢떣떥떦떧떩떬떭떮떯떲떶", + 4, + "떾떿뗁뗂뗃뗅", + 6, + "뗎뗒", + 5, + "뗙", + 18, + "뗭", + 18 + ], + [ + "8c41", + "똀", + 15, + "똒똓똕똖똗똙", + 4 + ], + [ + "8c61", + "똞", + 6, + "똦", + 5, + "똭", + 6, + "똵", + 5 + ], + [ + "8c81", + "똻", + 12, + "뙉", + 26, + "뙥뙦뙧뙩", + 50, + "뚞뚟뚡뚢뚣뚥", + 5, + "뚭뚮뚯뚰뚲", + 16 + ], + [ + "8d41", + "뛃", + 16, + "뛕", + 8 + ], + [ + "8d61", + "뛞", + 17, + "뛱뛲뛳뛵뛶뛷뛹뛺" + ], + [ + "8d81", + "뛻", + 4, + "뜂뜃뜄뜆", + 33, + "뜪뜫뜭뜮뜱", + 6, + "뜺뜼", + 7, + "띅띆띇띉띊띋띍", + 6, + "띖", + 9, + "띡띢띣띥띦띧띩", + 6, + "띲띴띶", + 5, + "띾띿랁랂랃랅", + 6, + "랎랓랔랕랚랛랝랞" + ], + [ + "8e41", + "랟랡", + 6, + "랪랮", + 5, + "랶랷랹", + 8 + ], + [ + "8e61", + "럂", + 4, + "럈럊", + 19 + ], + [ + "8e81", + "럞", + 13, + "럮럯럱럲럳럵", + 6, + "럾렂", + 4, + "렊렋렍렎렏렑", + 6, + "렚렜렞", + 5, + "렦렧렩렪렫렭", + 6, + "렶렺", + 5, + "롁롂롃롅", + 11, + "롒롔", + 7, + "롞롟롡롢롣롥", + 6, + "롮롰롲", + 5, + "롹롺롻롽", + 7 + ], + [ + "8f41", + "뢅", + 7, + "뢎", + 17 + ], + [ + "8f61", + "뢠", + 7, + "뢩", + 6, + "뢱뢲뢳뢵뢶뢷뢹", + 4 + ], + [ + "8f81", + "뢾뢿룂룄룆", + 5, + "룍룎룏룑룒룓룕", + 7, + "룞룠룢", + 5, + "룪룫룭룮룯룱", + 6, + "룺룼룾", + 5, + "뤅", + 18, + "뤙", + 6, + "뤡", + 26, + "뤾뤿륁륂륃륅", + 6, + "륍륎륐륒", + 5 + ], + [ + "9041", + "륚륛륝륞륟륡", + 6, + "륪륬륮", + 5, + "륶륷륹륺륻륽" + ], + [ + "9061", + "륾", + 5, + "릆릈릋릌릏", + 15 + ], + [ + "9081", + "릟", + 12, + "릮릯릱릲릳릵", + 6, + "릾맀맂", + 5, + "맊맋맍맓", + 4, + "맚맜맟맠맢맦맧맩맪맫맭", + 6, + "맶맻", + 4, + "먂", + 5, + "먉", + 11, + "먖", + 33, + "먺먻먽먾먿멁멃멄멅멆" + ], + [ + "9141", + "멇멊멌멏멐멑멒멖멗멙멚멛멝", + 6, + "멦멪", + 5 + ], + [ + "9161", + "멲멳멵멶멷멹", + 9, + "몆몈몉몊몋몍", + 5 + ], + [ + "9181", + "몓", + 20, + "몪몭몮몯몱몳", + 4, + "몺몼몾", + 5, + "뫅뫆뫇뫉", + 14, + "뫚", + 33, + "뫽뫾뫿묁묂묃묅", + 7, + "묎묐묒", + 5, + "묙묚묛묝묞묟묡", + 6 + ], + [ + "9241", + "묨묪묬", + 7, + "묷묹묺묿", + 4, + "뭆뭈뭊뭋뭌뭎뭑뭒" + ], + [ + "9261", + "뭓뭕뭖뭗뭙", + 7, + "뭢뭤", + 7, + "뭭", + 4 + ], + [ + "9281", + "뭲", + 21, + "뮉뮊뮋뮍뮎뮏뮑", + 18, + "뮥뮦뮧뮩뮪뮫뮭", + 6, + "뮵뮶뮸", + 7, + "믁믂믃믅믆믇믉", + 6, + "믑믒믔", + 35, + "믺믻믽믾밁" + ], + [ + "9341", + "밃", + 4, + "밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵" + ], + [ + "9361", + "밶밷밹", + 6, + "뱂뱆뱇뱈뱊뱋뱎뱏뱑", + 8 + ], + [ + "9381", + "뱚뱛뱜뱞", + 37, + "벆벇벉벊벍벏", + 4, + "벖벘벛", + 4, + "벢벣벥벦벩", + 6, + "벲벶", + 5, + "벾벿볁볂볃볅", + 7, + "볎볒볓볔볖볗볙볚볛볝", + 22, + "볷볹볺볻볽" + ], + [ + "9441", + "볾", + 5, + "봆봈봊", + 5, + "봑봒봓봕", + 8 + ], + [ + "9461", + "봞", + 5, + "봥", + 6, + "봭", + 12 + ], + [ + "9481", + "봺", + 5, + "뵁", + 6, + "뵊뵋뵍뵎뵏뵑", + 6, + "뵚", + 9, + "뵥뵦뵧뵩", + 22, + "붂붃붅붆붋", + 4, + "붒붔붖붗붘붛붝", + 6, + "붥", + 10, + "붱", + 6, + "붹", + 24 + ], + [ + "9541", + "뷒뷓뷖뷗뷙뷚뷛뷝", + 11, + "뷪", + 5, + "뷱" + ], + [ + "9561", + "뷲뷳뷵뷶뷷뷹", + 6, + "븁븂븄븆", + 5, + "븎븏븑븒븓" + ], + [ + "9581", + "븕", + 6, + "븞븠", + 35, + "빆빇빉빊빋빍빏", + 4, + "빖빘빜빝빞빟빢빣빥빦빧빩빫", + 4, + "빲빶", + 4, + "빾빿뺁뺂뺃뺅", + 6, + "뺎뺒", + 5, + "뺚", + 13, + "뺩", + 14 + ], + [ + "9641", + "뺸", + 23, + "뻒뻓" + ], + [ + "9661", + "뻕뻖뻙", + 6, + "뻡뻢뻦", + 5, + "뻭", + 8 + ], + [ + "9681", + "뻶", + 10, + "뼂", + 5, + "뼊", + 13, + "뼚뼞", + 33, + "뽂뽃뽅뽆뽇뽉", + 6, + "뽒뽓뽔뽖", + 44 + ], + [ + "9741", + "뾃", + 16, + "뾕", + 8 + ], + [ + "9761", + "뾞", + 17, + "뾱", + 7 + ], + [ + "9781", + "뾹", + 11, + "뿆", + 5, + "뿎뿏뿑뿒뿓뿕", + 6, + "뿝뿞뿠뿢", + 89, + "쀽쀾쀿" + ], + [ + "9841", + "쁀", + 16, + "쁒", + 5, + "쁙쁚쁛" + ], + [ + "9861", + "쁝쁞쁟쁡", + 6, + "쁪", + 15 + ], + [ + "9881", + "쁺", + 21, + "삒삓삕삖삗삙", + 6, + "삢삤삦", + 5, + "삮삱삲삷", + 4, + "삾샂샃샄샆샇샊샋샍샎샏샑", + 6, + "샚샞", + 5, + "샦샧샩샪샫샭", + 6, + "샶샸샺", + 5, + "섁섂섃섅섆섇섉", + 6, + "섑섒섓섔섖", + 5, + "섡섢섥섨섩섪섫섮" + ], + [ + "9941", + "섲섳섴섵섷섺섻섽섾섿셁", + 6, + "셊셎", + 5, + "셖셗" + ], + [ + "9961", + "셙셚셛셝", + 6, + "셦셪", + 5, + "셱셲셳셵셶셷셹셺셻" + ], + [ + "9981", + "셼", + 8, + "솆", + 5, + "솏솑솒솓솕솗", + 4, + "솞솠솢솣솤솦솧솪솫솭솮솯솱", + 11, + "솾", + 5, + "쇅쇆쇇쇉쇊쇋쇍", + 6, + "쇕쇖쇙", + 6, + "쇡쇢쇣쇥쇦쇧쇩", + 6, + "쇲쇴", + 7, + "쇾쇿숁숂숃숅", + 6, + "숎숐숒", + 5, + "숚숛숝숞숡숢숣" + ], + [ + "9a41", + "숤숥숦숧숪숬숮숰숳숵", + 16 + ], + [ + "9a61", + "쉆쉇쉉", + 6, + "쉒쉓쉕쉖쉗쉙", + 6, + "쉡쉢쉣쉤쉦" + ], + [ + "9a81", + "쉧", + 4, + "쉮쉯쉱쉲쉳쉵", + 6, + "쉾슀슂", + 5, + "슊", + 5, + "슑", + 6, + "슙슚슜슞", + 5, + "슦슧슩슪슫슮", + 5, + "슶슸슺", + 33, + "싞싟싡싢싥", + 5, + "싮싰싲싳싴싵싷싺싽싾싿쌁", + 6, + "쌊쌋쌎쌏" + ], + [ + "9b41", + "쌐쌑쌒쌖쌗쌙쌚쌛쌝", + 6, + "쌦쌧쌪", + 8 + ], + [ + "9b61", + "쌳", + 17, + "썆", + 7 + ], + [ + "9b81", + "썎", + 25, + "썪썫썭썮썯썱썳", + 4, + "썺썻썾", + 5, + "쎅쎆쎇쎉쎊쎋쎍", + 50, + "쏁", + 22, + "쏚" + ], + [ + "9c41", + "쏛쏝쏞쏡쏣", + 4, + "쏪쏫쏬쏮", + 5, + "쏶쏷쏹", + 5 + ], + [ + "9c61", + "쏿", + 8, + "쐉", + 6, + "쐑", + 9 + ], + [ + "9c81", + "쐛", + 8, + "쐥", + 6, + "쐭쐮쐯쐱쐲쐳쐵", + 6, + "쐾", + 9, + "쑉", + 26, + "쑦쑧쑩쑪쑫쑭", + 6, + "쑶쑷쑸쑺", + 5, + "쒁", + 18, + "쒕", + 6, + "쒝", + 12 + ], + [ + "9d41", + "쒪", + 13, + "쒹쒺쒻쒽", + 8 + ], + [ + "9d61", + "쓆", + 25 + ], + [ + "9d81", + "쓠", + 8, + "쓪", + 5, + "쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂", + 9, + "씍씎씏씑씒씓씕", + 6, + "씝", + 10, + "씪씫씭씮씯씱", + 6, + "씺씼씾", + 5, + "앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩", + 6, + "앲앶", + 5, + "앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔" + ], + [ + "9e41", + "얖얙얚얛얝얞얟얡", + 7, + "얪", + 9, + "얶" + ], + [ + "9e61", + "얷얺얿", + 4, + "엋엍엏엒엓엕엖엗엙", + 6, + "엢엤엦엧" + ], + [ + "9e81", + "엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑", + 6, + "옚옝", + 6, + "옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉", + 6, + "왒왖", + 5, + "왞왟왡", + 10, + "왭왮왰왲", + 5, + "왺왻왽왾왿욁", + 6, + "욊욌욎", + 5, + "욖욗욙욚욛욝", + 6, + "욦" + ], + [ + "9f41", + "욨욪", + 5, + "욲욳욵욶욷욻", + 4, + "웂웄웆", + 5, + "웎" + ], + [ + "9f61", + "웏웑웒웓웕", + 6, + "웞웟웢", + 5, + "웪웫웭웮웯웱웲" + ], + [ + "9f81", + "웳", + 4, + "웺웻웼웾", + 5, + "윆윇윉윊윋윍", + 6, + "윖윘윚", + 5, + "윢윣윥윦윧윩", + 6, + "윲윴윶윸윹윺윻윾윿읁읂읃읅", + 4, + "읋읎읐읙읚읛읝읞읟읡", + 6, + "읩읪읬", + 7, + "읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛", + 4, + "잢잧", + 4, + "잮잯잱잲잳잵잶잷" + ], + [ + "a041", + "잸잹잺잻잾쟂", + 5, + "쟊쟋쟍쟏쟑", + 6, + "쟙쟚쟛쟜" + ], + [ + "a061", + "쟞", + 5, + "쟥쟦쟧쟩쟪쟫쟭", + 13 + ], + [ + "a081", + "쟻", + 4, + "젂젃젅젆젇젉젋", + 4, + "젒젔젗", + 4, + "젞젟젡젢젣젥", + 6, + "젮젰젲", + 5, + "젹젺젻젽젾젿졁", + 6, + "졊졋졎", + 5, + "졕", + 26, + "졲졳졵졶졷졹졻", + 4, + "좂좄좈좉좊좎", + 5, + "좕", + 7, + "좞좠좢좣좤" + ], + [ + "a141", + "좥좦좧좩", + 18, + "좾좿죀죁" + ], + [ + "a161", + "죂죃죅죆죇죉죊죋죍", + 6, + "죖죘죚", + 5, + "죢죣죥" + ], + [ + "a181", + "죦", + 14, + "죶", + 5, + "죾죿줁줂줃줇", + 4, + "줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈", + 9, + "±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬" + ], + [ + "a241", + "줐줒", + 5, + "줙", + 18 + ], + [ + "a261", + "줭", + 6, + "줵", + 18 + ], + [ + "a281", + "쥈", + 7, + "쥒쥓쥕쥖쥗쥙", + 6, + "쥢쥤", + 7, + "쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®" + ], + [ + "a341", + "쥱쥲쥳쥵", + 6, + "쥽", + 10, + "즊즋즍즎즏" + ], + [ + "a361", + "즑", + 6, + "즚즜즞", + 16 + ], + [ + "a381", + "즯", + 16, + "짂짃짅짆짉짋", + 4, + "짒짔짗짘짛!", + 58, + "₩]", + 32, + " ̄" + ], + [ + "a441", + "짞짟짡짣짥짦짨짩짪짫짮짲", + 5, + "짺짻짽짾짿쨁쨂쨃쨄" + ], + [ + "a461", + "쨅쨆쨇쨊쨎", + 5, + "쨕쨖쨗쨙", + 12 + ], + [ + "a481", + "쨦쨧쨨쨪", + 28, + "ㄱ", + 93 + ], + [ + "a541", + "쩇", + 4, + "쩎쩏쩑쩒쩓쩕", + 6, + "쩞쩢", + 5, + "쩩쩪" + ], + [ + "a561", + "쩫", + 17, + "쩾", + 5, + "쪅쪆" + ], + [ + "a581", + "쪇", + 16, + "쪙", + 14, + "ⅰ", + 9 + ], + [ + "a5b0", + "Ⅰ", + 9 + ], + [ + "a5c1", + "Α", + 16, + "Σ", + 6 + ], + [ + "a5e1", + "α", + 16, + "σ", + 6 + ], + [ + "a641", + "쪨", + 19, + "쪾쪿쫁쫂쫃쫅" + ], + [ + "a661", + "쫆", + 5, + "쫎쫐쫒쫔쫕쫖쫗쫚", + 5, + "쫡", + 6 + ], + [ + "a681", + "쫨쫩쫪쫫쫭", + 6, + "쫵", + 18, + "쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃", + 7 + ], + [ + "a741", + "쬋", + 4, + "쬑쬒쬓쬕쬖쬗쬙", + 6, + "쬢", + 7 + ], + [ + "a761", + "쬪", + 22, + "쭂쭃쭄" + ], + [ + "a781", + "쭅쭆쭇쭊쭋쭍쭎쭏쭑", + 6, + "쭚쭛쭜쭞", + 5, + "쭥", + 7, + "㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙", + 9, + "㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰", + 9, + "㎀", + 4, + "㎺", + 5, + "㎐", + 4, + "Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆" + ], + [ + "a841", + "쭭", + 10, + "쭺", + 14 + ], + [ + "a861", + "쮉", + 18, + "쮝", + 6 + ], + [ + "a881", + "쮤", + 19, + "쮹", + 11, + "ÆЪĦ" + ], + [ + "a8a6", + "IJ" + ], + [ + "a8a8", + "ĿŁØŒºÞŦŊ" + ], + [ + "a8b1", + "㉠", + 27, + "ⓐ", + 25, + "①", + 14, + "½⅓⅔¼¾⅛⅜⅝⅞" + ], + [ + "a941", + "쯅", + 14, + "쯕", + 10 + ], + [ + "a961", + "쯠쯡쯢쯣쯥쯦쯨쯪", + 18 + ], + [ + "a981", + "쯽", + 14, + "찎찏찑찒찓찕", + 6, + "찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀", + 27, + "⒜", + 25, + "⑴", + 14, + "¹²³⁴ⁿ₁₂₃₄" + ], + [ + "aa41", + "찥찦찪찫찭찯찱", + 6, + "찺찿", + 4, + "챆챇챉챊챋챍챎" + ], + [ + "aa61", + "챏", + 4, + "챖챚", + 5, + "챡챢챣챥챧챩", + 6, + "챱챲" + ], + [ + "aa81", + "챳챴챶", + 29, + "ぁ", + 82 + ], + [ + "ab41", + "첔첕첖첗첚첛첝첞첟첡", + 6, + "첪첮", + 5, + "첶첷첹" + ], + [ + "ab61", + "첺첻첽", + 6, + "쳆쳈쳊", + 5, + "쳑쳒쳓쳕", + 5 + ], + [ + "ab81", + "쳛", + 8, + "쳥", + 6, + "쳭쳮쳯쳱", + 12, + "ァ", + 85 + ], + [ + "ac41", + "쳾쳿촀촂", + 5, + "촊촋촍촎촏촑", + 6, + "촚촜촞촟촠" + ], + [ + "ac61", + "촡촢촣촥촦촧촩촪촫촭", + 11, + "촺", + 4 + ], + [ + "ac81", + "촿", + 28, + "쵝쵞쵟А", + 5, + "ЁЖ", + 25 + ], + [ + "acd1", + "а", + 5, + "ёж", + 25 + ], + [ + "ad41", + "쵡쵢쵣쵥", + 6, + "쵮쵰쵲", + 5, + "쵹", + 7 + ], + [ + "ad61", + "춁", + 6, + "춉", + 10, + "춖춗춙춚춛춝춞춟" + ], + [ + "ad81", + "춠춡춢춣춦춨춪", + 5, + "춱", + 18, + "췅" + ], + [ + "ae41", + "췆", + 5, + "췍췎췏췑", + 16 + ], + [ + "ae61", + "췢", + 5, + "췩췪췫췭췮췯췱", + 6, + "췺췼췾", + 4 + ], + [ + "ae81", + "츃츅츆츇츉츊츋츍", + 6, + "츕츖츗츘츚", + 5, + "츢츣츥츦츧츩츪츫" + ], + [ + "af41", + "츬츭츮츯츲츴츶", + 19 + ], + [ + "af61", + "칊", + 13, + "칚칛칝칞칢", + 5, + "칪칬" + ], + [ + "af81", + "칮", + 5, + "칶칷칹칺칻칽", + 6, + "캆캈캊", + 5, + "캒캓캕캖캗캙" + ], + [ + "b041", + "캚", + 5, + "캢캦", + 5, + "캮", + 12 + ], + [ + "b061", + "캻", + 5, + "컂", + 19 + ], + [ + "b081", + "컖", + 13, + "컦컧컩컪컭", + 6, + "컶컺", + 5, + "가각간갇갈갉갊감", + 7, + "같", + 4, + "갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆" + ], + [ + "b141", + "켂켃켅켆켇켉", + 6, + "켒켔켖", + 5, + "켝켞켟켡켢켣" + ], + [ + "b161", + "켥", + 6, + "켮켲", + 5, + "켹", + 11 + ], + [ + "b181", + "콅", + 14, + "콖콗콙콚콛콝", + 6, + "콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸" + ], + [ + "b241", + "콭콮콯콲콳콵콶콷콹", + 6, + "쾁쾂쾃쾄쾆", + 5, + "쾍" + ], + [ + "b261", + "쾎", + 18, + "쾢", + 5, + "쾩" + ], + [ + "b281", + "쾪", + 5, + "쾱", + 18, + "쿅", + 6, + "깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙" + ], + [ + "b341", + "쿌", + 19, + "쿢쿣쿥쿦쿧쿩" + ], + [ + "b361", + "쿪", + 5, + "쿲쿴쿶", + 5, + "쿽쿾쿿퀁퀂퀃퀅", + 5 + ], + [ + "b381", + "퀋", + 5, + "퀒", + 5, + "퀙", + 19, + "끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫", + 4, + "낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝" + ], + [ + "b441", + "퀮", + 5, + "퀶퀷퀹퀺퀻퀽", + 6, + "큆큈큊", + 5 + ], + [ + "b461", + "큑큒큓큕큖큗큙", + 6, + "큡", + 10, + "큮큯" + ], + [ + "b481", + "큱큲큳큵", + 6, + "큾큿킀킂", + 18, + "뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫", + 4, + "닳담답닷", + 4, + "닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥" + ], + [ + "b541", + "킕", + 14, + "킦킧킩킪킫킭", + 5 + ], + [ + "b561", + "킳킶킸킺", + 5, + "탂탃탅탆탇탊", + 5, + "탒탖", + 4 + ], + [ + "b581", + "탛탞탟탡탢탣탥", + 6, + "탮탲", + 5, + "탹", + 11, + "덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸" + ], + [ + "b641", + "턅", + 7, + "턎", + 17 + ], + [ + "b661", + "턠", + 15, + "턲턳턵턶턷턹턻턼턽턾" + ], + [ + "b681", + "턿텂텆", + 5, + "텎텏텑텒텓텕", + 6, + "텞텠텢", + 5, + "텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗" + ], + [ + "b741", + "텮", + 13, + "텽", + 6, + "톅톆톇톉톊" + ], + [ + "b761", + "톋", + 20, + "톢톣톥톦톧" + ], + [ + "b781", + "톩", + 6, + "톲톴톶톷톸톹톻톽톾톿퇁", + 14, + "래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩" + ], + [ + "b841", + "퇐", + 7, + "퇙", + 17 + ], + [ + "b861", + "퇫", + 8, + "퇵퇶퇷퇹", + 13 + ], + [ + "b881", + "툈툊", + 5, + "툑", + 24, + "륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많", + 4, + "맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼" + ], + [ + "b941", + "툪툫툮툯툱툲툳툵", + 6, + "툾퉀퉂", + 5, + "퉉퉊퉋퉌" + ], + [ + "b961", + "퉍", + 14, + "퉝", + 6, + "퉥퉦퉧퉨" + ], + [ + "b981", + "퉩", + 22, + "튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바", + 4, + "받", + 4, + "밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗" + ], + [ + "ba41", + "튍튎튏튒튓튔튖", + 5, + "튝튞튟튡튢튣튥", + 6, + "튭" + ], + [ + "ba61", + "튮튯튰튲", + 5, + "튺튻튽튾틁틃", + 4, + "틊틌", + 5 + ], + [ + "ba81", + "틒틓틕틖틗틙틚틛틝", + 6, + "틦", + 9, + "틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤" + ], + [ + "bb41", + "틻", + 4, + "팂팄팆", + 5, + "팏팑팒팓팕팗", + 4, + "팞팢팣" + ], + [ + "bb61", + "팤팦팧팪팫팭팮팯팱", + 6, + "팺팾", + 5, + "퍆퍇퍈퍉" + ], + [ + "bb81", + "퍊", + 31, + "빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤" + ], + [ + "bc41", + "퍪", + 17, + "퍾퍿펁펂펃펅펆펇" + ], + [ + "bc61", + "펈펉펊펋펎펒", + 5, + "펚펛펝펞펟펡", + 6, + "펪펬펮" + ], + [ + "bc81", + "펯", + 4, + "펵펶펷펹펺펻펽", + 6, + "폆폇폊", + 5, + "폑", + 5, + "샥샨샬샴샵샷샹섀섄섈섐섕서", + 4, + "섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭" + ], + [ + "bd41", + "폗폙", + 7, + "폢폤", + 7, + "폮폯폱폲폳폵폶폷" + ], + [ + "bd61", + "폸폹폺폻폾퐀퐂", + 5, + "퐉", + 13 + ], + [ + "bd81", + "퐗", + 5, + "퐞", + 25, + "숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰" + ], + [ + "be41", + "퐸", + 7, + "푁푂푃푅", + 14 + ], + [ + "be61", + "푔", + 7, + "푝푞푟푡푢푣푥", + 7, + "푮푰푱푲" + ], + [ + "be81", + "푳", + 4, + "푺푻푽푾풁풃", + 4, + "풊풌풎", + 5, + "풕", + 8, + "쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄", + 6, + "엌엎" + ], + [ + "bf41", + "풞", + 10, + "풪", + 14 + ], + [ + "bf61", + "풹", + 18, + "퓍퓎퓏퓑퓒퓓퓕" + ], + [ + "bf81", + "퓖", + 5, + "퓝퓞퓠", + 7, + "퓩퓪퓫퓭퓮퓯퓱", + 6, + "퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염", + 5, + "옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨" + ], + [ + "c041", + "퓾", + 5, + "픅픆픇픉픊픋픍", + 6, + "픖픘", + 5 + ], + [ + "c061", + "픞", + 25 + ], + [ + "c081", + "픸픹픺픻픾픿핁핂핃핅", + 6, + "핎핐핒", + 5, + "핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응", + 7, + "읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊" + ], + [ + "c141", + "핤핦핧핪핬핮", + 5, + "핶핷핹핺핻핽", + 6, + "햆햊햋" + ], + [ + "c161", + "햌햍햎햏햑", + 19, + "햦햧" + ], + [ + "c181", + "햨", + 31, + "점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓" + ], + [ + "c241", + "헊헋헍헎헏헑헓", + 4, + "헚헜헞", + 5, + "헦헧헩헪헫헭헮" + ], + [ + "c261", + "헯", + 4, + "헶헸헺", + 5, + "혂혃혅혆혇혉", + 6, + "혒" + ], + [ + "c281", + "혖", + 5, + "혝혞혟혡혢혣혥", + 7, + "혮", + 9, + "혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻" + ], + [ + "c341", + "혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝", + 4 + ], + [ + "c361", + "홢", + 4, + "홨홪", + 5, + "홲홳홵", + 11 + ], + [ + "c381", + "횁횂횄횆", + 5, + "횎횏횑횒횓횕", + 7, + "횞횠횢", + 5, + "횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층" + ], + [ + "c441", + "횫횭횮횯횱", + 7, + "횺횼", + 7, + "훆훇훉훊훋" + ], + [ + "c461", + "훍훎훏훐훒훓훕훖훘훚", + 5, + "훡훢훣훥훦훧훩", + 4 + ], + [ + "c481", + "훮훯훱훲훳훴훶", + 5, + "훾훿휁휂휃휅", + 11, + "휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼" + ], + [ + "c541", + "휕휖휗휚휛휝휞휟휡", + 6, + "휪휬휮", + 5, + "휶휷휹" + ], + [ + "c561", + "휺휻휽", + 6, + "흅흆흈흊", + 5, + "흒흓흕흚", + 4 + ], + [ + "c581", + "흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵", + 6, + "흾흿힀힂", + 5, + "힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜" + ], + [ + "c641", + "힍힎힏힑", + 6, + "힚힜힞", + 5 + ], + [ + "c6a1", + "퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁" + ], + [ + "c7a1", + "퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠" + ], + [ + "c8a1", + "혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝" + ], + [ + "caa1", + "伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕" + ], + [ + "cba1", + "匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢" + ], + [ + "cca1", + "瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械" + ], + [ + "cda1", + "棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜" + ], + [ + "cea1", + "科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾" + ], + [ + "cfa1", + "區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴" + ], + [ + "d0a1", + "鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣" + ], + [ + "d1a1", + "朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩", + 5, + "那樂", + 4, + "諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉" + ], + [ + "d2a1", + "納臘蠟衲囊娘廊", + 4, + "乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧", + 5, + "駑魯", + 10, + "濃籠聾膿農惱牢磊腦賂雷尿壘", + 7, + "嫩訥杻紐勒", + 5, + "能菱陵尼泥匿溺多茶" + ], + [ + "d3a1", + "丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃" + ], + [ + "d4a1", + "棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅" + ], + [ + "d5a1", + "蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣" + ], + [ + "d6a1", + "煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼" + ], + [ + "d7a1", + "遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬" + ], + [ + "d8a1", + "立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅" + ], + [ + "d9a1", + "蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文" + ], + [ + "daa1", + "汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑" + ], + [ + "dba1", + "發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖" + ], + [ + "dca1", + "碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦" + ], + [ + "dda1", + "孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥" + ], + [ + "dea1", + "脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索" + ], + [ + "dfa1", + "傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署" + ], + [ + "e0a1", + "胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬" + ], + [ + "e1a1", + "聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁" + ], + [ + "e2a1", + "戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧" + ], + [ + "e3a1", + "嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁" + ], + [ + "e4a1", + "沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額" + ], + [ + "e5a1", + "櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬" + ], + [ + "e6a1", + "旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒" + ], + [ + "e7a1", + "簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳" + ], + [ + "e8a1", + "烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療" + ], + [ + "e9a1", + "窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓" + ], + [ + "eaa1", + "運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜" + ], + [ + "eba1", + "濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼" + ], + [ + "eca1", + "議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄" + ], + [ + "eda1", + "立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長" + ], + [ + "eea1", + "障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱" + ], + [ + "efa1", + "煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖" + ], + [ + "f0a1", + "靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫" + ], + [ + "f1a1", + "踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只" + ], + [ + "f2a1", + "咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯" + ], + [ + "f3a1", + "鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策" + ], + [ + "f4a1", + "責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢" + ], + [ + "f5a1", + "椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃" + ], + [ + "f6a1", + "贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託" + ], + [ + "f7a1", + "鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑" + ], + [ + "f8a1", + "阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃" + ], + [ + "f9a1", + "品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航" + ], + [ + "faa1", + "行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型" + ], + [ + "fba1", + "形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵" + ], + [ + "fca1", + "禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆" + ], + [ + "fda1", + "爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰" + ] +]; + +var require$$6 = [ + [ + "0", + "\u0000", + 127 + ], + [ + "a140", + " ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚" + ], + [ + "a1a1", + "﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢", + 4, + "~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/" + ], + [ + "a240", + "\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁", + 7, + "▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭" + ], + [ + "a2a1", + "╮╰╯═╞╪╡◢◣◥◤╱╲╳0", + 9, + "Ⅰ", + 9, + "〡", + 8, + "十卄卅A", + 25, + "a", + 21 + ], + [ + "a340", + "wxyzΑ", + 16, + "Σ", + 6, + "α", + 16, + "σ", + 6, + "ㄅ", + 10 + ], + [ + "a3a1", + "ㄐ", + 25, + "˙ˉˊˇˋ" + ], + [ + "a3e1", + "€" + ], + [ + "a440", + "一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才" + ], + [ + "a4a1", + "丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙" + ], + [ + "a540", + "世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外" + ], + [ + "a5a1", + "央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全" + ], + [ + "a640", + "共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年" + ], + [ + "a6a1", + "式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣" + ], + [ + "a740", + "作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍" + ], + [ + "a7a1", + "均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠" + ], + [ + "a840", + "杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒" + ], + [ + "a8a1", + "芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵" + ], + [ + "a940", + "咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居" + ], + [ + "a9a1", + "屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊" + ], + [ + "aa40", + "昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠" + ], + [ + "aaa1", + "炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附" + ], + [ + "ab40", + "陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品" + ], + [ + "aba1", + "哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷" + ], + [ + "ac40", + "拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗" + ], + [ + "aca1", + "活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄" + ], + [ + "ad40", + "耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥" + ], + [ + "ada1", + "迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪" + ], + [ + "ae40", + "哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙" + ], + [ + "aea1", + "恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓" + ], + [ + "af40", + "浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷" + ], + [ + "afa1", + "砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃" + ], + [ + "b040", + "虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡" + ], + [ + "b0a1", + "陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀" + ], + [ + "b140", + "娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽" + ], + [ + "b1a1", + "情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺" + ], + [ + "b240", + "毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶" + ], + [ + "b2a1", + "瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼" + ], + [ + "b340", + "莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途" + ], + [ + "b3a1", + "部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠" + ], + [ + "b440", + "婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍" + ], + [ + "b4a1", + "插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋" + ], + [ + "b540", + "溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘" + ], + [ + "b5a1", + "窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁" + ], + [ + "b640", + "詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑" + ], + [ + "b6a1", + "間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼" + ], + [ + "b740", + "媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業" + ], + [ + "b7a1", + "楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督" + ], + [ + "b840", + "睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫" + ], + [ + "b8a1", + "腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊" + ], + [ + "b940", + "辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴" + ], + [ + "b9a1", + "飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇" + ], + [ + "ba40", + "愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢" + ], + [ + "baa1", + "滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬" + ], + [ + "bb40", + "罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤" + ], + [ + "bba1", + "說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜" + ], + [ + "bc40", + "劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂" + ], + [ + "bca1", + "慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃" + ], + [ + "bd40", + "瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯" + ], + [ + "bda1", + "翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞" + ], + [ + "be40", + "輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉" + ], + [ + "bea1", + "鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡" + ], + [ + "bf40", + "濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊" + ], + [ + "bfa1", + "縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚" + ], + [ + "c040", + "錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇" + ], + [ + "c0a1", + "嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬" + ], + [ + "c140", + "瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪" + ], + [ + "c1a1", + "薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁" + ], + [ + "c240", + "駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘" + ], + [ + "c2a1", + "癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦" + ], + [ + "c340", + "鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸" + ], + [ + "c3a1", + "獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類" + ], + [ + "c440", + "願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼" + ], + [ + "c4a1", + "纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴" + ], + [ + "c540", + "護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬" + ], + [ + "c5a1", + "禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒" + ], + [ + "c640", + "讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲" + ], + [ + "c940", + "乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕" + ], + [ + "c9a1", + "氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋" + ], + [ + "ca40", + "汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘" + ], + [ + "caa1", + "吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇" + ], + [ + "cb40", + "杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓" + ], + [ + "cba1", + "芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢" + ], + [ + "cc40", + "坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋" + ], + [ + "cca1", + "怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲" + ], + [ + "cd40", + "泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺" + ], + [ + "cda1", + "矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏" + ], + [ + "ce40", + "哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛" + ], + [ + "cea1", + "峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺" + ], + [ + "cf40", + "柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂" + ], + [ + "cfa1", + "洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀" + ], + [ + "d040", + "穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪" + ], + [ + "d0a1", + "苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱" + ], + [ + "d140", + "唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧" + ], + [ + "d1a1", + "恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤" + ], + [ + "d240", + "毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸" + ], + [ + "d2a1", + "牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐" + ], + [ + "d340", + "笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢" + ], + [ + "d3a1", + "荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐" + ], + [ + "d440", + "酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅" + ], + [ + "d4a1", + "唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏" + ], + [ + "d540", + "崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟" + ], + [ + "d5a1", + "捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉" + ], + [ + "d640", + "淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏" + ], + [ + "d6a1", + "痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟" + ], + [ + "d740", + "耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷" + ], + [ + "d7a1", + "蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪" + ], + [ + "d840", + "釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷" + ], + [ + "d8a1", + "堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔" + ], + [ + "d940", + "惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒" + ], + [ + "d9a1", + "晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞" + ], + [ + "da40", + "湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖" + ], + [ + "daa1", + "琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥" + ], + [ + "db40", + "罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳" + ], + [ + "dba1", + "菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺" + ], + [ + "dc40", + "軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈" + ], + [ + "dca1", + "隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆" + ], + [ + "dd40", + "媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤" + ], + [ + "dda1", + "搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼" + ], + [ + "de40", + "毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓" + ], + [ + "dea1", + "煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓" + ], + [ + "df40", + "稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯" + ], + [ + "dfa1", + "腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤" + ], + [ + "e040", + "觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿" + ], + [ + "e0a1", + "遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠" + ], + [ + "e140", + "凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠" + ], + [ + "e1a1", + "寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉" + ], + [ + "e240", + "榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊" + ], + [ + "e2a1", + "漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓" + ], + [ + "e340", + "禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞" + ], + [ + "e3a1", + "耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻" + ], + [ + "e440", + "裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍" + ], + [ + "e4a1", + "銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘" + ], + [ + "e540", + "噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉" + ], + [ + "e5a1", + "憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒" + ], + [ + "e640", + "澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙" + ], + [ + "e6a1", + "獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟" + ], + [ + "e740", + "膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢" + ], + [ + "e7a1", + "蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧" + ], + [ + "e840", + "踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓" + ], + [ + "e8a1", + "銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮" + ], + [ + "e940", + "噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺" + ], + [ + "e9a1", + "憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸" + ], + [ + "ea40", + "澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙" + ], + [ + "eaa1", + "瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘" + ], + [ + "eb40", + "蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠" + ], + [ + "eba1", + "諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌" + ], + [ + "ec40", + "錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕" + ], + [ + "eca1", + "魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎" + ], + [ + "ed40", + "檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶" + ], + [ + "eda1", + "瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞" + ], + [ + "ee40", + "蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞" + ], + [ + "eea1", + "謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜" + ], + [ + "ef40", + "鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰" + ], + [ + "efa1", + "鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶" + ], + [ + "f040", + "璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒" + ], + [ + "f0a1", + "臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧" + ], + [ + "f140", + "蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪" + ], + [ + "f1a1", + "鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰" + ], + [ + "f240", + "徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛" + ], + [ + "f2a1", + "礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕" + ], + [ + "f340", + "譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦" + ], + [ + "f3a1", + "鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲" + ], + [ + "f440", + "嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩" + ], + [ + "f4a1", + "禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿" + ], + [ + "f540", + "鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛" + ], + [ + "f5a1", + "鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥" + ], + [ + "f640", + "蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺" + ], + [ + "f6a1", + "騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚" + ], + [ + "f740", + "糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊" + ], + [ + "f7a1", + "驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾" + ], + [ + "f840", + "讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏" + ], + [ + "f8a1", + "齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚" + ], + [ + "f940", + "纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊" + ], + [ + "f9a1", + "龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓" + ] +]; + +var require$$7 = [ + [ + "8740", + "䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻" + ], + [ + "8767", + "綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬" + ], + [ + "87a1", + "𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋" + ], + [ + "8840", + "㇀", + 4, + "𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ" + ], + [ + "88a1", + "ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛" + ], + [ + "8940", + "𪎩𡅅" + ], + [ + "8943", + "攊" + ], + [ + "8946", + "丽滝鵎釟" + ], + [ + "894c", + "𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮" + ], + [ + "89a1", + "琑糼緍楆竉刧" + ], + [ + "89ab", + "醌碸酞肼" + ], + [ + "89b0", + "贋胶𠧧" + ], + [ + "89b5", + "肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁" + ], + [ + "89c1", + "溚舾甙" + ], + [ + "89c5", + "䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅" + ], + [ + "8a40", + "𧶄唥" + ], + [ + "8a43", + "𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓" + ], + [ + "8a64", + "𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕" + ], + [ + "8a76", + "䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯" + ], + [ + "8aa1", + "𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱" + ], + [ + "8aac", + "䠋𠆩㿺塳𢶍" + ], + [ + "8ab2", + "𤗈𠓼𦂗𠽌𠶖啹䂻䎺" + ], + [ + "8abb", + "䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃" + ], + [ + "8ac9", + "𪘁𠸉𢫏𢳉" + ], + [ + "8ace", + "𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻" + ], + [ + "8adf", + "𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌" + ], + [ + "8af6", + "𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭" + ], + [ + "8b40", + "𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹" + ], + [ + "8b55", + "𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑" + ], + [ + "8ba1", + "𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁" + ], + [ + "8bde", + "𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢" + ], + [ + "8c40", + "倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋" + ], + [ + "8ca1", + "𣏹椙橃𣱣泿" + ], + [ + "8ca7", + "爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚" + ], + [ + "8cc9", + "顨杫䉶圽" + ], + [ + "8cce", + "藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶" + ], + [ + "8ce6", + "峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻" + ], + [ + "8d40", + "𠮟" + ], + [ + "8d42", + "𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱" + ], + [ + "8da1", + "㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘" + ], + [ + "8e40", + "𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎" + ], + [ + "8ea1", + "繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛" + ], + [ + "8f40", + "蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖" + ], + [ + "8fa1", + "𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起" + ], + [ + "9040", + "趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛" + ], + [ + "90a1", + "𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜" + ], + [ + "9140", + "𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈" + ], + [ + "91a1", + "鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨" + ], + [ + "9240", + "𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘" + ], + [ + "92a1", + "働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃" + ], + [ + "9340", + "媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍" + ], + [ + "93a1", + "摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋" + ], + [ + "9440", + "銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻" + ], + [ + "94a1", + "㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡" + ], + [ + "9540", + "𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂" + ], + [ + "95a1", + "衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰" + ], + [ + "9640", + "桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸" + ], + [ + "96a1", + "𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉" + ], + [ + "9740", + "愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫" + ], + [ + "97a1", + "𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎" + ], + [ + "9840", + "𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦" + ], + [ + "98a1", + "咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃" + ], + [ + "9940", + "䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚" + ], + [ + "99a1", + "䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿" + ], + [ + "9a40", + "鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺" + ], + [ + "9aa1", + "黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪" + ], + [ + "9b40", + "𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌" + ], + [ + "9b62", + "𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎" + ], + [ + "9ba1", + "椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊" + ], + [ + "9c40", + "嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶" + ], + [ + "9ca1", + "㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏" + ], + [ + "9d40", + "𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁" + ], + [ + "9da1", + "辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢" + ], + [ + "9e40", + "𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺" + ], + [ + "9ea1", + "鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭" + ], + [ + "9ead", + "𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹" + ], + [ + "9ec5", + "㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲" + ], + [ + "9ef5", + "噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼" + ], + [ + "9f40", + "籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱" + ], + [ + "9f4f", + "凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰" + ], + [ + "9fa1", + "椬叚鰊鴂䰻陁榀傦畆𡝭駚剳" + ], + [ + "9fae", + "酙隁酜" + ], + [ + "9fb2", + "酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽" + ], + [ + "9fc1", + "𤤙盖鮝个𠳔莾衂" + ], + [ + "9fc9", + "届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳" + ], + [ + "9fdb", + "歒酼龥鮗頮颴骺麨麄煺笔" + ], + [ + "9fe7", + "毺蠘罸" + ], + [ + "9feb", + "嘠𪙊蹷齓" + ], + [ + "9ff0", + "跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇" + ], + [ + "a040", + "𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷" + ], + [ + "a055", + "𡠻𦸅" + ], + [ + "a058", + "詾𢔛" + ], + [ + "a05b", + "惽癧髗鵄鍮鮏蟵" + ], + [ + "a063", + "蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽" + ], + [ + "a073", + "坟慯抦戹拎㩜懢厪𣏵捤栂㗒" + ], + [ + "a0a1", + "嵗𨯂迚𨸹" + ], + [ + "a0a6", + "僙𡵆礆匲阸𠼻䁥" + ], + [ + "a0ae", + "矾" + ], + [ + "a0b0", + "糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦" + ], + [ + "a0d4", + "覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷" + ], + [ + "a0e2", + "罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫" + ], + [ + "a3c0", + "␀", + 31, + "␡" + ], + [ + "c6a1", + "①", + 9, + "⑴", + 9, + "ⅰ", + 9, + "丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ", + 23 + ], + [ + "c740", + "す", + 58, + "ァアィイ" + ], + [ + "c7a1", + "ゥ", + 81, + "А", + 5, + "ЁЖ", + 4 + ], + [ + "c840", + "Л", + 26, + "ёж", + 25, + "⇧↸↹㇏𠃌乚𠂊刂䒑" + ], + [ + "c8a1", + "龰冈龱𧘇" + ], + [ + "c8cd", + "¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣" + ], + [ + "c8f5", + "ʃɐɛɔɵœøŋʊɪ" + ], + [ + "f9fe", + "■" + ], + [ + "fa40", + "𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸" + ], + [ + "faa1", + "鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍" + ], + [ + "fb40", + "𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙" + ], + [ + "fba1", + "𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂" + ], + [ + "fc40", + "廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷" + ], + [ + "fca1", + "𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝" + ], + [ + "fd40", + "𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀" + ], + [ + "fda1", + "𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎" + ], + [ + "fe40", + "鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌" + ], + [ + "fea1", + "𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔" + ] +]; + +var dbcsData; +var hasRequiredDbcsData; + +function requireDbcsData () { + if (hasRequiredDbcsData) return dbcsData; + hasRequiredDbcsData = 1; + + // Description of supported double byte encodings and aliases. + // Tables are not require()-d until they are needed to speed up library load. + // require()-s are direct to support Browserify. + + dbcsData = { + + // == Japanese/ShiftJIS ==================================================== + // All japanese encodings are based on JIS X set of standards: + // JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF. + // JIS X 0208 - Main set of 6879 characters, placed in 94x94 plane, to be encoded by 2 bytes. + // Has several variations in 1978, 1983, 1990 and 1997. + // JIS X 0212 - Supplementary plane of 6067 chars in 94x94 plane. 1990. Effectively dead. + // JIS X 0213 - Extension and modern replacement of 0208 and 0212. Total chars: 11233. + // 2 planes, first is superset of 0208, second - revised 0212. + // Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx) + + // Byte encodings are: + // * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte + // encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail byte ranges: 0x40-0x7E, 0x80-0x9E, 0x9F-0xFC. + // Windows CP932 is a superset of Shift_JIS. Some companies added more chars, notably KDDI. + // * EUC-JP: Up to 3 bytes per character. Used mostly on *nixes. + // 0x00-0x7F - lower part of 0201 + // 0x8E, 0xA1-0xDF - upper part of 0201 + // (0xA1-0xFE)x2 - 0208 plane (94x94). + // 0x8F, (0xA1-0xFE)x2 - 0212 plane (94x94). + // * JIS X 208: 7-bit, direct encoding of 0208. Byte ranges: 0x21-0x7E (94 values). Uncommon. + // Used as-is in ISO2022 family. + // * ISO2022-JP: Stateful encoding, with escape sequences to switch between ASCII, + // 0201-1976 Roman, 0208-1978, 0208-1983. + // * ISO2022-JP-1: Adds esc seq for 0212-1990. + // * ISO2022-JP-2: Adds esc seq for GB2313-1980, KSX1001-1992, ISO8859-1, ISO8859-7. + // * ISO2022-JP-3: Adds esc seq for 0201-1976 Kana set, 0213-2000 Planes 1, 2. + // * ISO2022-JP-2004: Adds 0213-2004 Plane 1. + // + // After JIS X 0213 appeared, Shift_JIS-2004, EUC-JISX0213 and ISO2022-JP-2004 followed, with just changing the planes. + // + // Overall, it seems that it's a mess :( http://www8.plala.or.jp/tkubota1/unicode-symbols-map2.html + + 'shiftjis': { + type: '_dbcs', + table: function() { return require$$0 }, + encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E}, + encodeSkipVals: [{from: 0xED40, to: 0xF940}], + }, + 'csshiftjis': 'shiftjis', + 'mskanji': 'shiftjis', + 'sjis': 'shiftjis', + 'windows31j': 'shiftjis', + 'ms31j': 'shiftjis', + 'xsjis': 'shiftjis', + 'windows932': 'shiftjis', + 'ms932': 'shiftjis', + '932': 'shiftjis', + 'cp932': 'shiftjis', + + 'eucjp': { + type: '_dbcs', + table: function() { return require$$1 }, + encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E}, + }, + + // TODO: KDDI extension to Shift_JIS + // TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes. + // TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars. + + + // == Chinese/GBK ========================================================== + // http://en.wikipedia.org/wiki/GBK + // We mostly implement W3C recommendation: https://www.w3.org/TR/encoding/#gbk-encoder + + // Oldest GB2312 (1981, ~7600 chars) is a subset of CP936 + 'gb2312': 'cp936', + 'gb231280': 'cp936', + 'gb23121980': 'cp936', + 'csgb2312': 'cp936', + 'csiso58gb231280': 'cp936', + 'euccn': 'cp936', + + // Microsoft's CP936 is a subset and approximation of GBK. + 'windows936': 'cp936', + 'ms936': 'cp936', + '936': 'cp936', + 'cp936': { + type: '_dbcs', + table: function() { return require$$2 }, + }, + + // GBK (~22000 chars) is an extension of CP936 that added user-mapped chars and some other. + 'gbk': { + type: '_dbcs', + table: function() { return require$$2.concat(require$$3) }, + }, + 'xgbk': 'gbk', + 'isoir58': 'gbk', + + // GB18030 is an algorithmic extension of GBK. + // Main source: https://www.w3.org/TR/encoding/#gbk-encoder + // http://icu-project.org/docs/papers/gb18030.html + // http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml + // http://www.khngai.com/chinese/charmap/tblgbk.php?page=0 + 'gb18030': { + type: '_dbcs', + table: function() { return require$$2.concat(require$$3) }, + gb18030: function() { return require$$4 }, + encodeSkipVals: [0x80], + encodeAdd: {'€': 0xA2E3}, + }, + + 'chinese': 'gb18030', + + + // == Korean =============================================================== + // EUC-KR, KS_C_5601 and KS X 1001 are exactly the same. + 'windows949': 'cp949', + 'ms949': 'cp949', + '949': 'cp949', + 'cp949': { + type: '_dbcs', + table: function() { return require$$5$1 }, + }, + + 'cseuckr': 'cp949', + 'csksc56011987': 'cp949', + 'euckr': 'cp949', + 'isoir149': 'cp949', + 'korean': 'cp949', + 'ksc56011987': 'cp949', + 'ksc56011989': 'cp949', + 'ksc5601': 'cp949', + + + // == Big5/Taiwan/Hong Kong ================================================ + // There are lots of tables for Big5 and cp950. Please see the following links for history: + // http://moztw.org/docs/big5/ http://www.haible.de/bruno/charsets/conversion-tables/Big5.html + // Variations, in roughly number of defined chars: + // * Windows CP 950: Microsoft variant of Big5. Canonical: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT + // * Windows CP 951: Microsoft variant of Big5-HKSCS-2001. Seems to be never public. http://me.abelcheung.org/articles/research/what-is-cp951/ + // * Big5-2003 (Taiwan standard) almost superset of cp950. + // * Unicode-at-on (UAO) / Mozilla 1.8. Falling out of use on the Web. Not supported by other browsers. + // * Big5-HKSCS (-2001, -2004, -2008). Hong Kong standard. + // many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years. + // Plus, it has 4 combining sequences. + // Seems that Mozilla refused to support it for 10 yrs. https://bugzilla.mozilla.org/show_bug.cgi?id=162431 https://bugzilla.mozilla.org/show_bug.cgi?id=310299 + // because big5-hkscs is the only encoding to include astral characters in non-algorithmic way. + // Implementations are not consistent within browsers; sometimes labeled as just big5. + // MS Internet Explorer switches from big5 to big5-hkscs when a patch applied. + // Great discussion & recap of what's going on https://bugzilla.mozilla.org/show_bug.cgi?id=912470#c31 + // In the encoder, it might make sense to support encoding old PUA mappings to Big5 bytes seq-s. + // Official spec: http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/2003cmp_2008.txt + // http://www.ogcio.gov.hk/tc/business/tech_promotion/ccli/terms/doc/hkscs-2008-big5-iso.txt + // + // Current understanding of how to deal with Big5(-HKSCS) is in the Encoding Standard, http://encoding.spec.whatwg.org/#big5-encoder + // Unicode mapping (http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT) is said to be wrong. + + 'windows950': 'cp950', + 'ms950': 'cp950', + '950': 'cp950', + 'cp950': { + type: '_dbcs', + table: function() { return require$$6 }, + }, + + // Big5 has many variations and is an extension of cp950. We use Encoding Standard's as a consensus. + 'big5': 'big5hkscs', + 'big5hkscs': { + type: '_dbcs', + table: function() { return require$$6.concat(require$$7) }, + encodeSkipVals: [ + // Although Encoding Standard says we should avoid encoding to HKSCS area (See Step 1 of + // https://encoding.spec.whatwg.org/#index-big5-pointer), we still do it to increase compatibility with ICU. + // But if a single unicode point can be encoded both as HKSCS and regular Big5, we prefer the latter. + 0x8e69, 0x8e6f, 0x8e7e, 0x8eab, 0x8eb4, 0x8ecd, 0x8ed0, 0x8f57, 0x8f69, 0x8f6e, 0x8fcb, 0x8ffe, + 0x906d, 0x907a, 0x90c4, 0x90dc, 0x90f1, 0x91bf, 0x92af, 0x92b0, 0x92b1, 0x92b2, 0x92d1, 0x9447, 0x94ca, + 0x95d9, 0x96fc, 0x9975, 0x9b76, 0x9b78, 0x9b7b, 0x9bc6, 0x9bde, 0x9bec, 0x9bf6, 0x9c42, 0x9c53, 0x9c62, + 0x9c68, 0x9c6b, 0x9c77, 0x9cbc, 0x9cbd, 0x9cd0, 0x9d57, 0x9d5a, 0x9dc4, 0x9def, 0x9dfb, 0x9ea9, 0x9eef, + 0x9efd, 0x9f60, 0x9fcb, 0xa077, 0xa0dc, 0xa0df, 0x8fcc, 0x92c8, 0x9644, 0x96ed, + + // Step 2 of https://encoding.spec.whatwg.org/#index-big5-pointer: Use last pointer for U+2550, U+255E, U+2561, U+256A, U+5341, or U+5345 + 0xa2a4, 0xa2a5, 0xa2a7, 0xa2a6, 0xa2cc, 0xa2ce, + ], + }, + + 'cnbig5': 'big5hkscs', + 'csbig5': 'big5hkscs', + 'xxbig5': 'big5hkscs', + }; + return dbcsData; +} + +var hasRequiredEncodings; + +function requireEncodings () { + if (hasRequiredEncodings) return encodings; + hasRequiredEncodings = 1; + (function (exports) { + + // Update this array if you add/rename/remove files in this directory. + // We support Browserify by skipping automatic module discovery and requiring modules directly. + var modules = [ + requireInternal(), + requireUtf32(), + requireUtf16(), + requireUtf7(), + requireSbcsCodec(), + requireSbcsData(), + requireSbcsDataGenerated(), + requireDbcsCodec(), + requireDbcsData(), + ]; + + // Put all encoding/alias/codec definitions to single object and export it. + for (var i = 0; i < modules.length; i++) { + var module = modules[i]; + for (var enc in module) + if (Object.prototype.hasOwnProperty.call(module, enc)) + exports[enc] = module[enc]; + } +} (encodings)); + return encodings; +} + +var streams; +var hasRequiredStreams; + +function requireStreams () { + if (hasRequiredStreams) return streams; + hasRequiredStreams = 1; + + var Buffer = safer_1.Buffer; + + // NOTE: Due to 'stream' module being pretty large (~100Kb, significant in browser environments), + // we opt to dependency-inject it instead of creating a hard dependency. + streams = function(stream_module) { + var Transform = stream_module.Transform; + + // == Encoder stream ======================================================= + + function IconvLiteEncoderStream(conv, options) { + this.conv = conv; + options = options || {}; + options.decodeStrings = false; // We accept only strings, so we don't need to decode them. + Transform.call(this, options); + } + + IconvLiteEncoderStream.prototype = Object.create(Transform.prototype, { + constructor: { value: IconvLiteEncoderStream } + }); + + IconvLiteEncoderStream.prototype._transform = function(chunk, encoding, done) { + if (typeof chunk != 'string') + return done(new Error("Iconv encoding stream needs strings as its input.")); + try { + var res = this.conv.write(chunk); + if (res && res.length) this.push(res); + done(); + } + catch (e) { + done(e); + } + }; + + IconvLiteEncoderStream.prototype._flush = function(done) { + try { + var res = this.conv.end(); + if (res && res.length) this.push(res); + done(); + } + catch (e) { + done(e); + } + }; + + IconvLiteEncoderStream.prototype.collect = function(cb) { + var chunks = []; + this.on('error', cb); + this.on('data', function(chunk) { chunks.push(chunk); }); + this.on('end', function() { + cb(null, Buffer.concat(chunks)); + }); + return this; + }; + + + // == Decoder stream ======================================================= + + function IconvLiteDecoderStream(conv, options) { + this.conv = conv; + options = options || {}; + options.encoding = this.encoding = 'utf8'; // We output strings. + Transform.call(this, options); + } + + IconvLiteDecoderStream.prototype = Object.create(Transform.prototype, { + constructor: { value: IconvLiteDecoderStream } + }); + + IconvLiteDecoderStream.prototype._transform = function(chunk, encoding, done) { + if (!Buffer.isBuffer(chunk) && !(chunk instanceof Uint8Array)) + return done(new Error("Iconv decoding stream needs buffers as its input.")); + try { + var res = this.conv.write(chunk); + if (res && res.length) this.push(res, this.encoding); + done(); + } + catch (e) { + done(e); + } + }; + + IconvLiteDecoderStream.prototype._flush = function(done) { + try { + var res = this.conv.end(); + if (res && res.length) this.push(res, this.encoding); + done(); + } + catch (e) { + done(e); + } + }; + + IconvLiteDecoderStream.prototype.collect = function(cb) { + var res = ''; + this.on('error', cb); + this.on('data', function(chunk) { res += chunk; }); + this.on('end', function() { + cb(null, res); + }); + return this; + }; + + return { + IconvLiteEncoderStream: IconvLiteEncoderStream, + IconvLiteDecoderStream: IconvLiteDecoderStream, + }; + }; + return streams; +} + +(function (module) { + + var Buffer = safer_1.Buffer; + + var bomHandling$1 = bomHandling, + iconv = module.exports; + + // All codecs and aliases are kept here, keyed by encoding name/alias. + // They are lazy loaded in `iconv.getCodec` from `encodings/index.js`. + iconv.encodings = null; + + // Characters emitted in case of error. + iconv.defaultCharUnicode = '�'; + iconv.defaultCharSingleByte = '?'; + + // Public API. + iconv.encode = function encode(str, encoding, options) { + str = "" + (str || ""); // Ensure string. + + var encoder = iconv.getEncoder(encoding, options); + + var res = encoder.write(str); + var trail = encoder.end(); + + return (trail && trail.length > 0) ? Buffer.concat([res, trail]) : res; + }; + + iconv.decode = function decode(buf, encoding, options) { + if (typeof buf === 'string') { + if (!iconv.skipDecodeWarning) { + console.error('Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding'); + iconv.skipDecodeWarning = true; + } + + buf = Buffer.from("" + (buf || ""), "binary"); // Ensure buffer. + } + + var decoder = iconv.getDecoder(encoding, options); + + var res = decoder.write(buf); + var trail = decoder.end(); + + return trail ? (res + trail) : res; + }; + + iconv.encodingExists = function encodingExists(enc) { + try { + iconv.getCodec(enc); + return true; + } catch (e) { + return false; + } + }; + + // Legacy aliases to convert functions + iconv.toEncoding = iconv.encode; + iconv.fromEncoding = iconv.decode; + + // Search for a codec in iconv.encodings. Cache codec data in iconv._codecDataCache. + iconv._codecDataCache = {}; + iconv.getCodec = function getCodec(encoding) { + if (!iconv.encodings) + iconv.encodings = requireEncodings(); // Lazy load all encoding definitions. + + // Canonicalize encoding name: strip all non-alphanumeric chars and appended year. + var enc = iconv._canonicalizeEncoding(encoding); + + // Traverse iconv.encodings to find actual codec. + var codecOptions = {}; + while (true) { + var codec = iconv._codecDataCache[enc]; + if (codec) + return codec; + + var codecDef = iconv.encodings[enc]; + + switch (typeof codecDef) { + case "string": // Direct alias to other encoding. + enc = codecDef; + break; + + case "object": // Alias with options. Can be layered. + for (var key in codecDef) + codecOptions[key] = codecDef[key]; + + if (!codecOptions.encodingName) + codecOptions.encodingName = enc; + + enc = codecDef.type; + break; + + case "function": // Codec itself. + if (!codecOptions.encodingName) + codecOptions.encodingName = enc; + + // The codec function must load all tables and return object with .encoder and .decoder methods. + // It'll be called only once (for each different options object). + codec = new codecDef(codecOptions, iconv); + + iconv._codecDataCache[codecOptions.encodingName] = codec; // Save it to be reused later. + return codec; + + default: + throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '"+enc+"')"); + } + } + }; + + iconv._canonicalizeEncoding = function(encoding) { + // Canonicalize encoding name: strip all non-alphanumeric chars and appended year. + return (''+encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, ""); + }; + + iconv.getEncoder = function getEncoder(encoding, options) { + var codec = iconv.getCodec(encoding), + encoder = new codec.encoder(options, codec); + + if (codec.bomAware && options && options.addBOM) + encoder = new bomHandling$1.PrependBOM(encoder, options); + + return encoder; + }; + + iconv.getDecoder = function getDecoder(encoding, options) { + var codec = iconv.getCodec(encoding), + decoder = new codec.decoder(options, codec); + + if (codec.bomAware && !(options && options.stripBOM === false)) + decoder = new bomHandling$1.StripBOM(decoder, options); + + return decoder; + }; + + // Streaming API + // NOTE: Streaming API naturally depends on 'stream' module from Node.js. Unfortunately in browser environments this module can add + // up to 100Kb to the output bundle. To avoid unnecessary code bloat, we don't enable Streaming API in browser by default. + // If you would like to enable it explicitly, please add the following code to your app: + // > iconv.enableStreamingAPI(require('stream')); + iconv.enableStreamingAPI = function enableStreamingAPI(stream_module) { + if (iconv.supportsStreams) + return; + + // Dependency-inject stream module to create IconvLite stream classes. + var streams = requireStreams()(stream_module); + + // Not public API yet, but expose the stream classes. + iconv.IconvLiteEncoderStream = streams.IconvLiteEncoderStream; + iconv.IconvLiteDecoderStream = streams.IconvLiteDecoderStream; + + // Streaming API. + iconv.encodeStream = function encodeStream(encoding, options) { + return new iconv.IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options); + }; + + iconv.decodeStream = function decodeStream(encoding, options) { + return new iconv.IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options); + }; + + iconv.supportsStreams = true; + }; + + // Enable Streaming API automatically if 'stream' module is available and non-empty (the majority of environments). + var stream_module; + try { + stream_module = require("stream"); + } catch (e) {} + + if (stream_module && stream_module.Transform) { + iconv.enableStreamingAPI(stream_module); + + } else { + // In rare cases where 'stream' module is not available by default, throw a helpful exception. + iconv.encodeStream = iconv.decodeStream = function() { + throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it."); + }; + } +} (lib)); + +var config$2 = {}; + +var util$4 = {}; + +var hasRequiredUtil; + +function requireUtil () { + if (hasRequiredUtil) return util$4; + hasRequiredUtil = 1; + var config = requireConfig(); + var fromCharCode = String.fromCharCode; + var slice = Array.prototype.slice; + var toString = Object.prototype.toString; + var hasOwnProperty = Object.prototype.hasOwnProperty; + var nativeIsArray = Array.isArray; + var nativeObjectKeys = Object.keys; + + + function isObject(x) { + var type = typeof x; + return type === 'function' || type === 'object' && !!x; + } + util$4.isObject = isObject; + + + function isArray(x) { + return nativeIsArray ? nativeIsArray(x) : toString.call(x) === '[object Array]'; + } + util$4.isArray = isArray; + + + function isString(x) { + return typeof x === 'string' || toString.call(x) === '[object String]'; + } + util$4.isString = isString; + + + function objectKeys(object) { + if (nativeObjectKeys) { + return nativeObjectKeys(object); + } + + var keys = []; + for (var key in object) { + if (hasOwnProperty.call(object, key)) { + keys[keys.length] = key; + } + } + + return keys; + } + util$4.objectKeys = objectKeys; + + + function createBuffer(bits, size) { + if (config.HAS_TYPED) { + switch (bits) { + case 8: return new Uint8Array(size); + case 16: return new Uint16Array(size); + } + } + return new Array(size); + } + util$4.createBuffer = createBuffer; + + + function stringToBuffer(string) { + var length = string.length; + var buffer = createBuffer(16, length); + + for (var i = 0; i < length; i++) { + buffer[i] = string.charCodeAt(i); + } + + return buffer; + } + util$4.stringToBuffer = stringToBuffer; + + + function codeToString_fast(code) { + if (config.CAN_CHARCODE_APPLY && config.CAN_CHARCODE_APPLY_TYPED) { + var len = code && code.length; + if (len < config.APPLY_BUFFER_SIZE && config.APPLY_BUFFER_SIZE_OK) { + return fromCharCode.apply(null, code); + } + + if (config.APPLY_BUFFER_SIZE_OK === null) { + try { + var s = fromCharCode.apply(null, code); + if (len > config.APPLY_BUFFER_SIZE) { + config.APPLY_BUFFER_SIZE_OK = true; + } + return s; + } catch (e) { + // Ignore the RangeError "arguments too large" + config.APPLY_BUFFER_SIZE_OK = false; + } + } + } + + return codeToString_chunked(code); + } + util$4.codeToString_fast = codeToString_fast; + + + function codeToString_chunked(code) { + var string = ''; + var length = code && code.length; + var i = 0; + var sub; + + while (i < length) { + if (code.subarray) { + sub = code.subarray(i, i + config.APPLY_BUFFER_SIZE); + } else { + sub = code.slice(i, i + config.APPLY_BUFFER_SIZE); + } + i += config.APPLY_BUFFER_SIZE; + + if (config.APPLY_BUFFER_SIZE_OK) { + string += fromCharCode.apply(null, sub); + continue; + } + + if (config.APPLY_BUFFER_SIZE_OK === null) { + try { + string += fromCharCode.apply(null, sub); + if (sub.length > config.APPLY_BUFFER_SIZE) { + config.APPLY_BUFFER_SIZE_OK = true; + } + continue; + } catch (e) { + config.APPLY_BUFFER_SIZE_OK = false; + } + } + + return codeToString_slow(code); + } + + return string; + } + util$4.codeToString_chunked = codeToString_chunked; + + + function codeToString_slow(code) { + var string = ''; + var length = code && code.length; + + for (var i = 0; i < length; i++) { + string += fromCharCode(code[i]); + } + + return string; + } + util$4.codeToString_slow = codeToString_slow; + + + function stringToCode(string) { + var code = []; + var len = string && string.length; + + for (var i = 0; i < len; i++) { + code[i] = string.charCodeAt(i); + } + + return code; + } + util$4.stringToCode = stringToCode; + + + function codeToBuffer(code) { + if (config.HAS_TYPED) { + // Unicode code point (charCodeAt range) values have a range of 0-0xFFFF, so use Uint16Array + return new Uint16Array(code); + } + + if (isArray(code)) { + return code; + } + + var length = code && code.length; + var buffer = []; + + for (var i = 0; i < length; i++) { + buffer[i] = code[i]; + } + + return buffer; + } + util$4.codeToBuffer = codeToBuffer; + + + function bufferToCode(buffer) { + if (isArray(buffer)) { + return buffer; + } + + return slice.call(buffer); + } + util$4.bufferToCode = bufferToCode; + + /** + * Canonicalize the passed encoding name to the internal encoding name + */ + function canonicalizeEncodingName(target) { + var name = ''; + var expect = ('' + target).toUpperCase().replace(/[^A-Z0-9]+/g, ''); + var aliasNames = objectKeys(config.EncodingAliases); + var len = aliasNames.length; + var hit = 0; + var encoding, encodingLen, j; + + for (var i = 0; i < len; i++) { + encoding = aliasNames[i]; + if (encoding === expect) { + name = encoding; + break; + } + + encodingLen = encoding.length; + for (j = hit; j < encodingLen; j++) { + if (encoding.slice(0, j) === expect.slice(0, j) || + encoding.slice(-j) === expect.slice(-j)) { + name = encoding; + hit = j; + } + } + } + + if (hasOwnProperty.call(config.EncodingAliases, name)) { + return config.EncodingAliases[name]; + } + + return name; + } + util$4.canonicalizeEncodingName = canonicalizeEncodingName; + + // Base64 + /* Copyright (C) 1999 Masanao Izumo + * Version: 1.0 + * LastModified: Dec 25 1999 + * This library is free. You can redistribute it and/or modify it. + */ + // -- Masanao Izumo Copyright 1999 "free" + // Added binary array support for the Encoding.js + + var base64EncodeChars = [ + 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, + 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, + 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 43, 47 + ]; + + var base64DecodeChars = [ + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1, + -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, + -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1 + ]; + + var base64EncodePadding = '='.charCodeAt(0); + + + function base64encode(data) { + var out, i, len; + var c1, c2, c3; + + len = data && data.length; + i = 0; + out = []; + + while (i < len) { + c1 = data[i++]; + if (i == len) { + out[out.length] = base64EncodeChars[c1 >> 2]; + out[out.length] = base64EncodeChars[(c1 & 0x3) << 4]; + out[out.length] = base64EncodePadding; + out[out.length] = base64EncodePadding; + break; + } + + c2 = data[i++]; + if (i == len) { + out[out.length] = base64EncodeChars[c1 >> 2]; + out[out.length] = base64EncodeChars[((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4)]; + out[out.length] = base64EncodeChars[(c2 & 0xF) << 2]; + out[out.length] = base64EncodePadding; + break; + } + + c3 = data[i++]; + out[out.length] = base64EncodeChars[c1 >> 2]; + out[out.length] = base64EncodeChars[((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4)]; + out[out.length] = base64EncodeChars[((c2 & 0xF) << 2) | ((c3 & 0xC0) >> 6)]; + out[out.length] = base64EncodeChars[c3 & 0x3F]; + } + + return codeToString_fast(out); + } + util$4.base64encode = base64encode; + + + function base64decode(str) { + var c1, c2, c3, c4; + var i, len, out; + + len = str && str.length; + i = 0; + out = []; + + while (i < len) { + /* c1 */ + do { + c1 = base64DecodeChars[str.charCodeAt(i++) & 0xFF]; + } while (i < len && c1 == -1); + + if (c1 == -1) { + break; + } + + /* c2 */ + do { + c2 = base64DecodeChars[str.charCodeAt(i++) & 0xFF]; + } while (i < len && c2 == -1); + + if (c2 == -1) { + break; + } + + out[out.length] = (c1 << 2) | ((c2 & 0x30) >> 4); + + /* c3 */ + do { + c3 = str.charCodeAt(i++) & 0xFF; + if (c3 == 61) { + return out; + } + c3 = base64DecodeChars[c3]; + } while (i < len && c3 == -1); + + if (c3 == -1) { + break; + } + + out[out.length] = ((c2 & 0xF) << 4) | ((c3 & 0x3C) >> 2); + + /* c4 */ + do { + c4 = str.charCodeAt(i++) & 0xFF; + if (c4 == 61) { + return out; + } + c4 = base64DecodeChars[c4]; + } while (i < len && c4 == -1); + + if (c4 == -1) { + break; + } + + out[out.length] = ((c3 & 0x03) << 6) | c4; + } + + return out; + } + util$4.base64decode = base64decode; + return util$4; +} + +var encodingTable = {}; + +/* eslint-disable indent,key-spacing */ + +/** + * Encoding conversion table for UTF-8 to JIS + */ +var utf8ToJisTable = { +0xEFBDA1:0x21,0xEFBDA2:0x22,0xEFBDA3:0x23,0xEFBDA4:0x24,0xEFBDA5:0x25, +0xEFBDA6:0x26,0xEFBDA7:0x27,0xEFBDA8:0x28,0xEFBDA9:0x29,0xEFBDAA:0x2A, +0xEFBDAB:0x2B,0xEFBDAC:0x2C,0xEFBDAD:0x2D,0xEFBDAE:0x2E,0xEFBDAF:0x2F, +0xEFBDB0:0x30,0xEFBDB1:0x31,0xEFBDB2:0x32,0xEFBDB3:0x33,0xEFBDB4:0x34, +0xEFBDB5:0x35,0xEFBDB6:0x36,0xEFBDB7:0x37,0xEFBDB8:0x38,0xEFBDB9:0x39, +0xEFBDBA:0x3A,0xEFBDBB:0x3B,0xEFBDBC:0x3C,0xEFBDBD:0x3D,0xEFBDBE:0x3E, +0xEFBDBF:0x3F,0xEFBE80:0x40,0xEFBE81:0x41,0xEFBE82:0x42,0xEFBE83:0x43, +0xEFBE84:0x44,0xEFBE85:0x45,0xEFBE86:0x46,0xEFBE87:0x47,0xEFBE88:0x48, +0xEFBE89:0x49,0xEFBE8A:0x4A,0xEFBE8B:0x4B,0xEFBE8C:0x4C,0xEFBE8D:0x4D, +0xEFBE8E:0x4E,0xEFBE8F:0x4F,0xEFBE90:0x50,0xEFBE91:0x51,0xEFBE92:0x52, +0xEFBE93:0x53,0xEFBE94:0x54,0xEFBE95:0x55,0xEFBE96:0x56,0xEFBE97:0x57, +0xEFBE98:0x58,0xEFBE99:0x59,0xEFBE9A:0x5A,0xEFBE9B:0x5B,0xEFBE9C:0x5C, +0xEFBE9D:0x5D,0xEFBE9E:0x5E,0xEFBE9F:0x5F, + +0xE291A0:0x2D21,0xE291A1:0x2D22,0xE291A2:0x2D23,0xE291A3:0x2D24,0xE291A4:0x2D25, +0xE291A5:0x2D26,0xE291A6:0x2D27,0xE291A7:0x2D28,0xE291A8:0x2D29,0xE291A9:0x2D2A, +0xE291AA:0x2D2B,0xE291AB:0x2D2C,0xE291AC:0x2D2D,0xE291AD:0x2D2E,0xE291AE:0x2D2F, +0xE291AF:0x2D30,0xE291B0:0x2D31,0xE291B1:0x2D32,0xE291B2:0x2D33,0xE291B3:0x2D34, +0xE285A0:0x2D35,0xE285A1:0x2D36,0xE285A2:0x2D37,0xE285A3:0x2D38,0xE285A4:0x2D39, +0xE285A5:0x2D3A,0xE285A6:0x2D3B,0xE285A7:0x2D3C,0xE285A8:0x2D3D,0xE285A9:0x2D3E, +0xE38D89:0x2D40,0xE38C94:0x2D41,0xE38CA2:0x2D42,0xE38D8D:0x2D43,0xE38C98:0x2D44, +0xE38CA7:0x2D45,0xE38C83:0x2D46,0xE38CB6:0x2D47,0xE38D91:0x2D48,0xE38D97:0x2D49, +0xE38C8D:0x2D4A,0xE38CA6:0x2D4B,0xE38CA3:0x2D4C,0xE38CAB:0x2D4D,0xE38D8A:0x2D4E, +0xE38CBB:0x2D4F,0xE38E9C:0x2D50,0xE38E9D:0x2D51,0xE38E9E:0x2D52,0xE38E8E:0x2D53, +0xE38E8F:0x2D54,0xE38F84:0x2D55,0xE38EA1:0x2D56,0xE38DBB:0x2D5F,0xE3809D:0x2D60, +0xE3809F:0x2D61,0xE28496:0x2D62,0xE38F8D:0x2D63,0xE284A1:0x2D64,0xE38AA4:0x2D65, +0xE38AA5:0x2D66,0xE38AA6:0x2D67,0xE38AA7:0x2D68,0xE38AA8:0x2D69,0xE388B1:0x2D6A, +0xE388B2:0x2D6B,0xE388B9:0x2D6C,0xE38DBE:0x2D6D,0xE38DBD:0x2D6E,0xE38DBC:0x2D6F, +0xE288AE:0x2D73,0xE28891:0x2D74,0xE2889F:0x2D78,0xE28ABF:0x2D79, + +0xE38080:0x2121,0xE38081:0x2122,0xE38082:0x2123,0xEFBC8C:0x2124,0xEFBC8E:0x2125, +0xE383BB:0x2126,0xEFBC9A:0x2127,0xEFBC9B:0x2128,0xEFBC9F:0x2129,0xEFBC81:0x212A, +0xE3829B:0x212B,0xE3829C:0x212C,0xC2B4:0x212D,0xEFBD80:0x212E,0xC2A8:0x212F, +0xEFBCBE:0x2130,0xEFBFA3:0x2131,0xEFBCBF:0x2132,0xE383BD:0x2133,0xE383BE:0x2134, +0xE3829D:0x2135,0xE3829E:0x2136,0xE38083:0x2137,0xE4BB9D:0x2138,0xE38085:0x2139, +0xE38086:0x213A,0xE38087:0x213B,0xE383BC:0x213C,0xE28095:0x213D,0xE28090:0x213E, +0xEFBC8F:0x213F,0xEFBCBC:0x2140,0xEFBD9E:0x2141,0xE28096:0x2142,0xEFBD9C:0x2143, +0xE280A6:0x2144,0xE280A5:0x2145,0xE28098:0x2146,0xE28099:0x2147,0xE2809C:0x2148, +0xE2809D:0x2149,0xEFBC88:0x214A,0xEFBC89:0x214B,0xE38094:0x214C,0xE38095:0x214D, +0xEFBCBB:0x214E,0xEFBCBD:0x214F,0xEFBD9B:0x2150,0xEFBD9D:0x2151,0xE38088:0x2152, +0xE38089:0x2153,0xE3808A:0x2154,0xE3808B:0x2155,0xE3808C:0x2156,0xE3808D:0x2157, +0xE3808E:0x2158,0xE3808F:0x2159,0xE38090:0x215A,0xE38091:0x215B,0xEFBC8B:0x215C, +0xEFBC8D:0x215D,0xC2B1:0x215E,0xC397:0x215F,0xC3B7:0x2160,0xEFBC9D:0x2161, +0xE289A0:0x2162,0xEFBC9C:0x2163,0xEFBC9E:0x2164,0xE289A6:0x2165,0xE289A7:0x2166, +0xE2889E:0x2167,0xE288B4:0x2168,0xE29982:0x2169,0xE29980:0x216A,0xC2B0:0x216B, +0xE280B2:0x216C,0xE280B3:0x216D,0xE28483:0x216E,0xEFBFA5:0x216F,0xEFBC84:0x2170, +0xEFBFA0:0x2171,0xEFBFA1:0x2172,0xEFBC85:0x2173,0xEFBC83:0x2174,0xEFBC86:0x2175, +0xEFBC8A:0x2176,0xEFBCA0:0x2177,0xC2A7:0x2178,0xE29886:0x2179,0xE29885:0x217A, +0xE2978B:0x217B,0xE2978F:0x217C,0xE2978E:0x217D,0xE29787:0x217E,0xE29786:0x2221, +0xE296A1:0x2222,0xE296A0:0x2223,0xE296B3:0x2224,0xE296B2:0x2225,0xE296BD:0x2226, +0xE296BC:0x2227,0xE280BB:0x2228,0xE38092:0x2229,0xE28692:0x222A,0xE28690:0x222B, +0xE28691:0x222C,0xE28693:0x222D,0xE38093:0x222E,0xE28888:0x223A,0xE2888B:0x223B, +0xE28A86:0x223C,0xE28A87:0x223D,0xE28A82:0x223E,0xE28A83:0x223F,0xE288AA:0x2240, +0xE288A9:0x2241,0xE288A7:0x224A,0xE288A8:0x224B,0xC2AC:0x224C,0xE28792:0x224D, +0xE28794:0x224E,0xE28880:0x224F,0xE28883:0x2250,0xE288A0:0x225C,0xE28AA5:0x225D, +0xE28C92:0x225E,0xE28882:0x225F,0xE28887:0x2260,0xE289A1:0x2261,0xE28992:0x2262, +0xE289AA:0x2263,0xE289AB:0x2264,0xE2889A:0x2265,0xE288BD:0x2266,0xE2889D:0x2267, +0xE288B5:0x2268,0xE288AB:0x2269,0xE288AC:0x226A,0xE284AB:0x2272,0xE280B0:0x2273, +0xE299AF:0x2274,0xE299AD:0x2275,0xE299AA:0x2276,0xE280A0:0x2277,0xE280A1:0x2278, +0xC2B6:0x2279,0xE297AF:0x227E,0xEFBC90:0x2330,0xEFBC91:0x2331,0xEFBC92:0x2332, +0xEFBC93:0x2333,0xEFBC94:0x2334,0xEFBC95:0x2335,0xEFBC96:0x2336,0xEFBC97:0x2337, +0xEFBC98:0x2338,0xEFBC99:0x2339,0xEFBCA1:0x2341,0xEFBCA2:0x2342,0xEFBCA3:0x2343, +0xEFBCA4:0x2344,0xEFBCA5:0x2345,0xEFBCA6:0x2346,0xEFBCA7:0x2347,0xEFBCA8:0x2348, +0xEFBCA9:0x2349,0xEFBCAA:0x234A,0xEFBCAB:0x234B,0xEFBCAC:0x234C,0xEFBCAD:0x234D, +0xEFBCAE:0x234E,0xEFBCAF:0x234F,0xEFBCB0:0x2350,0xEFBCB1:0x2351,0xEFBCB2:0x2352, +0xEFBCB3:0x2353,0xEFBCB4:0x2354,0xEFBCB5:0x2355,0xEFBCB6:0x2356,0xEFBCB7:0x2357, +0xEFBCB8:0x2358,0xEFBCB9:0x2359,0xEFBCBA:0x235A,0xEFBD81:0x2361,0xEFBD82:0x2362, +0xEFBD83:0x2363,0xEFBD84:0x2364,0xEFBD85:0x2365,0xEFBD86:0x2366,0xEFBD87:0x2367, +0xEFBD88:0x2368,0xEFBD89:0x2369,0xEFBD8A:0x236A,0xEFBD8B:0x236B,0xEFBD8C:0x236C, +0xEFBD8D:0x236D,0xEFBD8E:0x236E,0xEFBD8F:0x236F,0xEFBD90:0x2370,0xEFBD91:0x2371, +0xEFBD92:0x2372,0xEFBD93:0x2373,0xEFBD94:0x2374,0xEFBD95:0x2375,0xEFBD96:0x2376, +0xEFBD97:0x2377,0xEFBD98:0x2378,0xEFBD99:0x2379,0xEFBD9A:0x237A,0xE38181:0x2421, +0xE38182:0x2422,0xE38183:0x2423,0xE38184:0x2424,0xE38185:0x2425,0xE38186:0x2426, +0xE38187:0x2427,0xE38188:0x2428,0xE38189:0x2429,0xE3818A:0x242A,0xE3818B:0x242B, +0xE3818C:0x242C,0xE3818D:0x242D,0xE3818E:0x242E,0xE3818F:0x242F,0xE38190:0x2430, +0xE38191:0x2431,0xE38192:0x2432,0xE38193:0x2433,0xE38194:0x2434,0xE38195:0x2435, +0xE38196:0x2436,0xE38197:0x2437,0xE38198:0x2438,0xE38199:0x2439,0xE3819A:0x243A, +0xE3819B:0x243B,0xE3819C:0x243C,0xE3819D:0x243D,0xE3819E:0x243E,0xE3819F:0x243F, +0xE381A0:0x2440,0xE381A1:0x2441,0xE381A2:0x2442,0xE381A3:0x2443,0xE381A4:0x2444, +0xE381A5:0x2445,0xE381A6:0x2446,0xE381A7:0x2447,0xE381A8:0x2448,0xE381A9:0x2449, +0xE381AA:0x244A,0xE381AB:0x244B,0xE381AC:0x244C,0xE381AD:0x244D,0xE381AE:0x244E, +0xE381AF:0x244F,0xE381B0:0x2450,0xE381B1:0x2451,0xE381B2:0x2452,0xE381B3:0x2453, +0xE381B4:0x2454,0xE381B5:0x2455,0xE381B6:0x2456,0xE381B7:0x2457,0xE381B8:0x2458, +0xE381B9:0x2459,0xE381BA:0x245A,0xE381BB:0x245B,0xE381BC:0x245C,0xE381BD:0x245D, +0xE381BE:0x245E,0xE381BF:0x245F,0xE38280:0x2460,0xE38281:0x2461,0xE38282:0x2462, +0xE38283:0x2463,0xE38284:0x2464,0xE38285:0x2465,0xE38286:0x2466,0xE38287:0x2467, +0xE38288:0x2468,0xE38289:0x2469,0xE3828A:0x246A,0xE3828B:0x246B,0xE3828C:0x246C, +0xE3828D:0x246D,0xE3828E:0x246E,0xE3828F:0x246F,0xE38290:0x2470,0xE38291:0x2471, +0xE38292:0x2472,0xE38293:0x2473,0xE382A1:0x2521,0xE382A2:0x2522,0xE382A3:0x2523, +0xE382A4:0x2524,0xE382A5:0x2525,0xE382A6:0x2526,0xE382A7:0x2527,0xE382A8:0x2528, +0xE382A9:0x2529,0xE382AA:0x252A,0xE382AB:0x252B,0xE382AC:0x252C,0xE382AD:0x252D, +0xE382AE:0x252E,0xE382AF:0x252F,0xE382B0:0x2530,0xE382B1:0x2531,0xE382B2:0x2532, +0xE382B3:0x2533,0xE382B4:0x2534,0xE382B5:0x2535,0xE382B6:0x2536,0xE382B7:0x2537, +0xE382B8:0x2538,0xE382B9:0x2539,0xE382BA:0x253A,0xE382BB:0x253B,0xE382BC:0x253C, +0xE382BD:0x253D,0xE382BE:0x253E,0xE382BF:0x253F,0xE38380:0x2540,0xE38381:0x2541, +0xE38382:0x2542,0xE38383:0x2543,0xE38384:0x2544,0xE38385:0x2545,0xE38386:0x2546, +0xE38387:0x2547,0xE38388:0x2548,0xE38389:0x2549,0xE3838A:0x254A,0xE3838B:0x254B, +0xE3838C:0x254C,0xE3838D:0x254D,0xE3838E:0x254E,0xE3838F:0x254F,0xE38390:0x2550, +0xE38391:0x2551,0xE38392:0x2552,0xE38393:0x2553,0xE38394:0x2554,0xE38395:0x2555, +0xE38396:0x2556,0xE38397:0x2557,0xE38398:0x2558,0xE38399:0x2559,0xE3839A:0x255A, +0xE3839B:0x255B,0xE3839C:0x255C,0xE3839D:0x255D,0xE3839E:0x255E,0xE3839F:0x255F, +0xE383A0:0x2560,0xE383A1:0x2561,0xE383A2:0x2562,0xE383A3:0x2563,0xE383A4:0x2564, +0xE383A5:0x2565,0xE383A6:0x2566,0xE383A7:0x2567,0xE383A8:0x2568,0xE383A9:0x2569, +0xE383AA:0x256A,0xE383AB:0x256B,0xE383AC:0x256C,0xE383AD:0x256D,0xE383AE:0x256E, +0xE383AF:0x256F,0xE383B0:0x2570,0xE383B1:0x2571,0xE383B2:0x2572,0xE383B3:0x2573, +0xE383B4:0x2574,0xE383B5:0x2575,0xE383B6:0x2576,0xCE91:0x2621,0xCE92:0x2622, +0xCE93:0x2623,0xCE94:0x2624,0xCE95:0x2625,0xCE96:0x2626,0xCE97:0x2627, +0xCE98:0x2628,0xCE99:0x2629,0xCE9A:0x262A,0xCE9B:0x262B,0xCE9C:0x262C, +0xCE9D:0x262D,0xCE9E:0x262E,0xCE9F:0x262F,0xCEA0:0x2630,0xCEA1:0x2631, +0xCEA3:0x2632,0xCEA4:0x2633,0xCEA5:0x2634,0xCEA6:0x2635,0xCEA7:0x2636, +0xCEA8:0x2637,0xCEA9:0x2638,0xCEB1:0x2641,0xCEB2:0x2642,0xCEB3:0x2643, +0xCEB4:0x2644,0xCEB5:0x2645,0xCEB6:0x2646,0xCEB7:0x2647,0xCEB8:0x2648, +0xCEB9:0x2649,0xCEBA:0x264A,0xCEBB:0x264B,0xCEBC:0x264C,0xCEBD:0x264D, +0xCEBE:0x264E,0xCEBF:0x264F,0xCF80:0x2650,0xCF81:0x2651,0xCF83:0x2652, +0xCF84:0x2653,0xCF85:0x2654,0xCF86:0x2655,0xCF87:0x2656,0xCF88:0x2657, +0xCF89:0x2658,0xD090:0x2721,0xD091:0x2722,0xD092:0x2723,0xD093:0x2724, +0xD094:0x2725,0xD095:0x2726,0xD081:0x2727,0xD096:0x2728,0xD097:0x2729, +0xD098:0x272A,0xD099:0x272B,0xD09A:0x272C,0xD09B:0x272D,0xD09C:0x272E, +0xD09D:0x272F,0xD09E:0x2730,0xD09F:0x2731,0xD0A0:0x2732,0xD0A1:0x2733, +0xD0A2:0x2734,0xD0A3:0x2735,0xD0A4:0x2736,0xD0A5:0x2737,0xD0A6:0x2738, +0xD0A7:0x2739,0xD0A8:0x273A,0xD0A9:0x273B,0xD0AA:0x273C,0xD0AB:0x273D, +0xD0AC:0x273E,0xD0AD:0x273F,0xD0AE:0x2740,0xD0AF:0x2741,0xD0B0:0x2751, +0xD0B1:0x2752,0xD0B2:0x2753,0xD0B3:0x2754,0xD0B4:0x2755,0xD0B5:0x2756, +0xD191:0x2757,0xD0B6:0x2758,0xD0B7:0x2759,0xD0B8:0x275A,0xD0B9:0x275B, +0xD0BA:0x275C,0xD0BB:0x275D,0xD0BC:0x275E,0xD0BD:0x275F,0xD0BE:0x2760, +0xD0BF:0x2761,0xD180:0x2762,0xD181:0x2763,0xD182:0x2764,0xD183:0x2765, +0xD184:0x2766,0xD185:0x2767,0xD186:0x2768,0xD187:0x2769,0xD188:0x276A, +0xD189:0x276B,0xD18A:0x276C,0xD18B:0x276D,0xD18C:0x276E,0xD18D:0x276F, +0xD18E:0x2770,0xD18F:0x2771,0xE29480:0x2821,0xE29482:0x2822,0xE2948C:0x2823, +0xE29490:0x2824,0xE29498:0x2825,0xE29494:0x2826,0xE2949C:0x2827,0xE294AC:0x2828, +0xE294A4:0x2829,0xE294B4:0x282A,0xE294BC:0x282B,0xE29481:0x282C,0xE29483:0x282D, +0xE2948F:0x282E,0xE29493:0x282F,0xE2949B:0x2830,0xE29497:0x2831,0xE294A3:0x2832, +0xE294B3:0x2833,0xE294AB:0x2834,0xE294BB:0x2835,0xE2958B:0x2836,0xE294A0:0x2837, +0xE294AF:0x2838,0xE294A8:0x2839,0xE294B7:0x283A,0xE294BF:0x283B,0xE2949D:0x283C, +0xE294B0:0x283D,0xE294A5:0x283E,0xE294B8:0x283F,0xE29582:0x2840,0xE4BA9C:0x3021, +0xE59496:0x3022,0xE5A883:0x3023,0xE998BF:0x3024,0xE59380:0x3025,0xE6849B:0x3026, +0xE68CA8:0x3027,0xE5A7B6:0x3028,0xE980A2:0x3029,0xE891B5:0x302A,0xE88C9C:0x302B, +0xE7A990:0x302C,0xE682AA:0x302D,0xE68FA1:0x302E,0xE6B8A5:0x302F,0xE697AD:0x3030, +0xE891A6:0x3031,0xE88AA6:0x3032,0xE9AFB5:0x3033,0xE6A293:0x3034,0xE59CA7:0x3035, +0xE696A1:0x3036,0xE689B1:0x3037,0xE5AE9B:0x3038,0xE5A790:0x3039,0xE899BB:0x303A, +0xE9A3B4:0x303B,0xE7B5A2:0x303C,0xE7B6BE:0x303D,0xE9AE8E:0x303E,0xE68896:0x303F, +0xE7B29F:0x3040,0xE8A2B7:0x3041,0xE5AE89:0x3042,0xE5BAB5:0x3043,0xE68C89:0x3044, +0xE69A97:0x3045,0xE6A188:0x3046,0xE99787:0x3047,0xE99E8D:0x3048,0xE69D8F:0x3049, +0xE4BBA5:0x304A,0xE4BC8A:0x304B,0xE4BD8D:0x304C,0xE4BE9D:0x304D,0xE58189:0x304E, +0xE59BB2:0x304F,0xE5A4B7:0x3050,0xE5A794:0x3051,0xE5A881:0x3052,0xE5B089:0x3053, +0xE6839F:0x3054,0xE6848F:0x3055,0xE685B0:0x3056,0xE69893:0x3057,0xE6A485:0x3058, +0xE782BA:0x3059,0xE7958F:0x305A,0xE795B0:0x305B,0xE7A7BB:0x305C,0xE7B6AD:0x305D, +0xE7B7AF:0x305E,0xE88383:0x305F,0xE8908E:0x3060,0xE8A1A3:0x3061,0xE8AC82:0x3062, +0xE98195:0x3063,0xE981BA:0x3064,0xE58CBB:0x3065,0xE4BA95:0x3066,0xE4BAA5:0x3067, +0xE59F9F:0x3068,0xE882B2:0x3069,0xE98381:0x306A,0xE7A3AF:0x306B,0xE4B880:0x306C, +0xE5A3B1:0x306D,0xE6BAA2:0x306E,0xE980B8:0x306F,0xE7A8B2:0x3070,0xE88CA8:0x3071, +0xE88A8B:0x3072,0xE9B0AF:0x3073,0xE58581:0x3074,0xE58DB0:0x3075,0xE592BD:0x3076, +0xE593A1:0x3077,0xE59BA0:0x3078,0xE5A7BB:0x3079,0xE5BC95:0x307A,0xE9A3B2:0x307B, +0xE6B7AB:0x307C,0xE883A4:0x307D,0xE894AD:0x307E,0xE999A2:0x3121,0xE999B0:0x3122, +0xE99AA0:0x3123,0xE99FBB:0x3124,0xE5908B:0x3125,0xE58FB3:0x3126,0xE5AE87:0x3127, +0xE7838F:0x3128,0xE7BEBD:0x3129,0xE8BF82:0x312A,0xE99BA8:0x312B,0xE58DAF:0x312C, +0xE9B59C:0x312D,0xE7AABA:0x312E,0xE4B891:0x312F,0xE7A293:0x3130,0xE887BC:0x3131, +0xE6B8A6:0x3132,0xE59898:0x3133,0xE59484:0x3134,0xE6AC9D:0x3135,0xE8949A:0x3136, +0xE9B0BB:0x3137,0xE5A7A5:0x3138,0xE58EA9:0x3139,0xE6B5A6:0x313A,0xE7939C:0x313B, +0xE9968F:0x313C,0xE59982:0x313D,0xE4BA91:0x313E,0xE9818B:0x313F,0xE99BB2:0x3140, +0xE88D8F:0x3141,0xE9A48C:0x3142,0xE58FA1:0x3143,0xE596B6:0x3144,0xE5ACB0:0x3145, +0xE5BDB1:0x3146,0xE698A0:0x3147,0xE69BB3:0x3148,0xE6A084:0x3149,0xE6B0B8:0x314A, +0xE6B3B3:0x314B,0xE6B4A9:0x314C,0xE7919B:0x314D,0xE79B88:0x314E,0xE7A98E:0x314F, +0xE9A0B4:0x3150,0xE88BB1:0x3151,0xE8A19B:0x3152,0xE8A9A0:0x3153,0xE98BAD:0x3154, +0xE6B6B2:0x3155,0xE796AB:0x3156,0xE79B8A:0x3157,0xE9A785:0x3158,0xE682A6:0x3159, +0xE8AC81:0x315A,0xE8B68A:0x315B,0xE996B2:0x315C,0xE6A68E:0x315D,0xE58EAD:0x315E, +0xE58686:0x315F,0xE59C92:0x3160,0xE5A0B0:0x3161,0xE5A584:0x3162,0xE5AEB4:0x3163, +0xE5BBB6:0x3164,0xE680A8:0x3165,0xE68EA9:0x3166,0xE68FB4:0x3167,0xE6B2BF:0x3168, +0xE6BC94:0x3169,0xE7828E:0x316A,0xE78494:0x316B,0xE78599:0x316C,0xE78795:0x316D, +0xE78CBF:0x316E,0xE7B881:0x316F,0xE889B6:0x3170,0xE88B91:0x3171,0xE89697:0x3172, +0xE981A0:0x3173,0xE9899B:0x3174,0xE9B49B:0x3175,0xE5A1A9:0x3176,0xE696BC:0x3177, +0xE6B19A:0x3178,0xE794A5:0x3179,0xE587B9:0x317A,0xE5A4AE:0x317B,0xE5A5A5:0x317C, +0xE5BE80:0x317D,0xE5BF9C:0x317E,0xE68ABC:0x3221,0xE697BA:0x3222,0xE6A8AA:0x3223, +0xE6ACA7:0x3224,0xE6AEB4:0x3225,0xE78E8B:0x3226,0xE7BF81:0x3227,0xE8A596:0x3228, +0xE9B4AC:0x3229,0xE9B48E:0x322A,0xE9BB84:0x322B,0xE5B2A1:0x322C,0xE6B296:0x322D, +0xE88DBB:0x322E,0xE58484:0x322F,0xE5B18B:0x3230,0xE686B6:0x3231,0xE88786:0x3232, +0xE6A1B6:0x3233,0xE789A1:0x3234,0xE4B999:0x3235,0xE4BFBA:0x3236,0xE58DB8:0x3237, +0xE681A9:0x3238,0xE6B8A9:0x3239,0xE7A98F:0x323A,0xE99FB3:0x323B,0xE4B88B:0x323C, +0xE58C96:0x323D,0xE4BBAE:0x323E,0xE4BD95:0x323F,0xE4BCBD:0x3240,0xE4BEA1:0x3241, +0xE4BDB3:0x3242,0xE58AA0:0x3243,0xE58FAF:0x3244,0xE59889:0x3245,0xE5A48F:0x3246, +0xE5AB81:0x3247,0xE5AEB6:0x3248,0xE5AFA1:0x3249,0xE7A791:0x324A,0xE69A87:0x324B, +0xE69E9C:0x324C,0xE69EB6:0x324D,0xE6AD8C:0x324E,0xE6B2B3:0x324F,0xE781AB:0x3250, +0xE78F82:0x3251,0xE7A68D:0x3252,0xE7A6BE:0x3253,0xE7A8BC:0x3254,0xE7AE87:0x3255, +0xE88AB1:0x3256,0xE88B9B:0x3257,0xE88C84:0x3258,0xE88DB7:0x3259,0xE88FAF:0x325A, +0xE88F93:0x325B,0xE89DA6:0x325C,0xE8AAB2:0x325D,0xE598A9:0x325E,0xE8B2A8:0x325F, +0xE8BFA6:0x3260,0xE9818E:0x3261,0xE99C9E:0x3262,0xE89A8A:0x3263,0xE4BF84:0x3264, +0xE5B3A8:0x3265,0xE68891:0x3266,0xE78999:0x3267,0xE794BB:0x3268,0xE887A5:0x3269, +0xE88ABD:0x326A,0xE89BBE:0x326B,0xE8B380:0x326C,0xE99B85:0x326D,0xE9A493:0x326E, +0xE9A795:0x326F,0xE4BB8B:0x3270,0xE4BC9A:0x3271,0xE8A7A3:0x3272,0xE59B9E:0x3273, +0xE5A18A:0x3274,0xE5A38A:0x3275,0xE5BBBB:0x3276,0xE5BFAB:0x3277,0xE680AA:0x3278, +0xE68294:0x3279,0xE681A2:0x327A,0xE68790:0x327B,0xE68892:0x327C,0xE68B90:0x327D, +0xE694B9:0x327E,0xE9AD81:0x3321,0xE699A6:0x3322,0xE6A2B0:0x3323,0xE6B5B7:0x3324, +0xE781B0:0x3325,0xE7958C:0x3326,0xE79A86:0x3327,0xE7B5B5:0x3328,0xE88AA5:0x3329, +0xE89FB9:0x332A,0xE9968B:0x332B,0xE99A8E:0x332C,0xE8B29D:0x332D,0xE587B1:0x332E, +0xE58ABE:0x332F,0xE5A496:0x3330,0xE592B3:0x3331,0xE5AEB3:0x3332,0xE5B496:0x3333, +0xE685A8:0x3334,0xE6A682:0x3335,0xE6B6AF:0x3336,0xE7A28D:0x3337,0xE8938B:0x3338, +0xE8A197:0x3339,0xE8A9B2:0x333A,0xE98EA7:0x333B,0xE9AAB8:0x333C,0xE6B5AC:0x333D, +0xE9A6A8:0x333E,0xE89B99:0x333F,0xE59EA3:0x3340,0xE69FBF:0x3341,0xE89B8E:0x3342, +0xE9888E:0x3343,0xE58A83:0x3344,0xE59A87:0x3345,0xE59084:0x3346,0xE5BB93:0x3347, +0xE68BA1:0x3348,0xE692B9:0x3349,0xE6A0BC:0x334A,0xE6A0B8:0x334B,0xE6AEBB:0x334C, +0xE78DB2:0x334D,0xE7A2BA:0x334E,0xE7A9AB:0x334F,0xE8A69A:0x3350,0xE8A792:0x3351, +0xE8B5AB:0x3352,0xE8BC83:0x3353,0xE983AD:0x3354,0xE996A3:0x3355,0xE99A94:0x3356, +0xE99DA9:0x3357,0xE5ADA6:0x3358,0xE5B2B3:0x3359,0xE6A5BD:0x335A,0xE9A18D:0x335B, +0xE9A18E:0x335C,0xE68E9B:0x335D,0xE7ACA0:0x335E,0xE6A8AB:0x335F,0xE6A9BF:0x3360, +0xE6A2B6:0x3361,0xE9B08D:0x3362,0xE6BD9F:0x3363,0xE589B2:0x3364,0xE5969D:0x3365, +0xE681B0:0x3366,0xE68BAC:0x3367,0xE6B4BB:0x3368,0xE6B887:0x3369,0xE6BB91:0x336A, +0xE8919B:0x336B,0xE8A490:0x336C,0xE8BD84:0x336D,0xE4B894:0x336E,0xE9B0B9:0x336F, +0xE58FB6:0x3370,0xE6A49B:0x3371,0xE6A8BA:0x3372,0xE99E84:0x3373,0xE6A0AA:0x3374, +0xE5859C:0x3375,0xE7AB83:0x3376,0xE892B2:0x3377,0xE9879C:0x3378,0xE98E8C:0x3379, +0xE5999B:0x337A,0xE9B4A8:0x337B,0xE6A0A2:0x337C,0xE88C85:0x337D,0xE890B1:0x337E, +0xE7B2A5:0x3421,0xE58888:0x3422,0xE88B85:0x3423,0xE793A6:0x3424,0xE4B9BE:0x3425, +0xE4BE83:0x3426,0xE586A0:0x3427,0xE5AF92:0x3428,0xE5888A:0x3429,0xE58B98:0x342A, +0xE58BA7:0x342B,0xE5B7BB:0x342C,0xE5969A:0x342D,0xE5A0AA:0x342E,0xE5A7A6:0x342F, +0xE5AE8C:0x3430,0xE5AE98:0x3431,0xE5AF9B:0x3432,0xE5B9B2:0x3433,0xE5B9B9:0x3434, +0xE682A3:0x3435,0xE6849F:0x3436,0xE685A3:0x3437,0xE686BE:0x3438,0xE68F9B:0x3439, +0xE695A2:0x343A,0xE69F91:0x343B,0xE6A193:0x343C,0xE6A3BA:0x343D,0xE6ACBE:0x343E, +0xE6AD93:0x343F,0xE6B197:0x3440,0xE6BCA2:0x3441,0xE6BE97:0x3442,0xE6BD85:0x3443, +0xE792B0:0x3444,0xE79498:0x3445,0xE79BA3:0x3446,0xE79C8B:0x3447,0xE7ABBF:0x3448, +0xE7AEA1:0x3449,0xE7B0A1:0x344A,0xE7B7A9:0x344B,0xE7BCB6:0x344C,0xE7BFB0:0x344D, +0xE8829D:0x344E,0xE889A6:0x344F,0xE88E9E:0x3450,0xE8A6B3:0x3451,0xE8AB8C:0x3452, +0xE8B2AB:0x3453,0xE98284:0x3454,0xE99191:0x3455,0xE99693:0x3456,0xE99691:0x3457, +0xE996A2:0x3458,0xE999A5:0x3459,0xE99F93:0x345A,0xE9A4A8:0x345B,0xE88898:0x345C, +0xE4B8B8:0x345D,0xE590AB:0x345E,0xE5B2B8:0x345F,0xE5B78C:0x3460,0xE78EA9:0x3461, +0xE7998C:0x3462,0xE79CBC:0x3463,0xE5B2A9:0x3464,0xE7BFAB:0x3465,0xE8B48B:0x3466, +0xE99B81:0x3467,0xE9A091:0x3468,0xE9A194:0x3469,0xE9A198:0x346A,0xE4BC81:0x346B, +0xE4BC8E:0x346C,0xE58DB1:0x346D,0xE5969C:0x346E,0xE599A8:0x346F,0xE59FBA:0x3470, +0xE5A587:0x3471,0xE5AC89:0x3472,0xE5AF84:0x3473,0xE5B290:0x3474,0xE5B88C:0x3475, +0xE5B9BE:0x3476,0xE5BF8C:0x3477,0xE68FAE:0x3478,0xE69CBA:0x3479,0xE69797:0x347A, +0xE697A2:0x347B,0xE69C9F:0x347C,0xE6A38B:0x347D,0xE6A384:0x347E,0xE6A99F:0x3521, +0xE5B8B0:0x3522,0xE6AF85:0x3523,0xE6B097:0x3524,0xE6B1BD:0x3525,0xE795BF:0x3526, +0xE7A588:0x3527,0xE5ADA3:0x3528,0xE7A880:0x3529,0xE7B480:0x352A,0xE5BEBD:0x352B, +0xE8A68F:0x352C,0xE8A898:0x352D,0xE8B2B4:0x352E,0xE8B5B7:0x352F,0xE8BB8C:0x3530, +0xE8BC9D:0x3531,0xE9A3A2:0x3532,0xE9A88E:0x3533,0xE9ACBC:0x3534,0xE4BA80:0x3535, +0xE581BD:0x3536,0xE58480:0x3537,0xE5A693:0x3538,0xE5AE9C:0x3539,0xE688AF:0x353A, +0xE68A80:0x353B,0xE693AC:0x353C,0xE6ACBA:0x353D,0xE78AA0:0x353E,0xE79691:0x353F, +0xE7A587:0x3540,0xE7BEA9:0x3541,0xE89FBB:0x3542,0xE8AABC:0x3543,0xE8ADB0:0x3544, +0xE68EAC:0x3545,0xE88F8A:0x3546,0xE99EA0:0x3547,0xE59089:0x3548,0xE59083:0x3549, +0xE596AB:0x354A,0xE6A194:0x354B,0xE6A998:0x354C,0xE8A9B0:0x354D,0xE7A0A7:0x354E, +0xE69DB5:0x354F,0xE9BB8D:0x3550,0xE58DB4:0x3551,0xE5AEA2:0x3552,0xE8849A:0x3553, +0xE89990:0x3554,0xE98086:0x3555,0xE4B898:0x3556,0xE4B985:0x3557,0xE4BB87:0x3558, +0xE4BC91:0x3559,0xE58F8A:0x355A,0xE590B8:0x355B,0xE5AEAE:0x355C,0xE5BC93:0x355D, +0xE680A5:0x355E,0xE69591:0x355F,0xE69CBD:0x3560,0xE6B182:0x3561,0xE6B1B2:0x3562, +0xE6B3A3:0x3563,0xE781B8:0x3564,0xE79083:0x3565,0xE7A9B6:0x3566,0xE7AAAE:0x3567, +0xE7AC88:0x3568,0xE7B49A:0x3569,0xE7B3BE:0x356A,0xE7B5A6:0x356B,0xE697A7:0x356C, +0xE7899B:0x356D,0xE58EBB:0x356E,0xE5B185:0x356F,0xE5B7A8:0x3570,0xE68B92:0x3571, +0xE68BA0:0x3572,0xE68C99:0x3573,0xE6B8A0:0x3574,0xE8999A:0x3575,0xE8A8B1:0x3576, +0xE8B79D:0x3577,0xE98BB8:0x3578,0xE6BC81:0x3579,0xE7A6A6:0x357A,0xE9AD9A:0x357B, +0xE4BAA8:0x357C,0xE4BAAB:0x357D,0xE4BAAC:0x357E,0xE4BE9B:0x3621,0xE4BEA0:0x3622, +0xE58391:0x3623,0xE58587:0x3624,0xE7ABB6:0x3625,0xE585B1:0x3626,0xE587B6:0x3627, +0xE58D94:0x3628,0xE58CA1:0x3629,0xE58DBF:0x362A,0xE58FAB:0x362B,0xE596AC:0x362C, +0xE5A283:0x362D,0xE5B3A1:0x362E,0xE5BCB7:0x362F,0xE5BD8A:0x3630,0xE680AF:0x3631, +0xE68190:0x3632,0xE681AD:0x3633,0xE68C9F:0x3634,0xE69599:0x3635,0xE6A98B:0x3636, +0xE6B381:0x3637,0xE78B82:0x3638,0xE78BAD:0x3639,0xE79FAF:0x363A,0xE883B8:0x363B, +0xE88485:0x363C,0xE88888:0x363D,0xE8958E:0x363E,0xE983B7:0x363F,0xE98FA1:0x3640, +0xE99FBF:0x3641,0xE9A597:0x3642,0xE9A99A:0x3643,0xE4BBB0:0x3644,0xE5879D:0x3645, +0xE5B0AD:0x3646,0xE69A81:0x3647,0xE6A5AD:0x3648,0xE5B180:0x3649,0xE69BB2:0x364A, +0xE6A5B5:0x364B,0xE78E89:0x364C,0xE6A190:0x364D,0xE7B281:0x364E,0xE58385:0x364F, +0xE58BA4:0x3650,0xE59D87:0x3651,0xE5B7BE:0x3652,0xE98CA6:0x3653,0xE696A4:0x3654, +0xE6ACA3:0x3655,0xE6ACBD:0x3656,0xE790B4:0x3657,0xE7A681:0x3658,0xE7A6BD:0x3659, +0xE7AD8B:0x365A,0xE7B78A:0x365B,0xE88AB9:0x365C,0xE88F8C:0x365D,0xE8A1BF:0x365E, +0xE8A59F:0x365F,0xE8ACB9:0x3660,0xE8BF91:0x3661,0xE98791:0x3662,0xE5909F:0x3663, +0xE98A80:0x3664,0xE4B99D:0x3665,0xE580B6:0x3666,0xE58FA5:0x3667,0xE58CBA:0x3668, +0xE78B97:0x3669,0xE78E96:0x366A,0xE79FA9:0x366B,0xE88BA6:0x366C,0xE8BAAF:0x366D, +0xE9A786:0x366E,0xE9A788:0x366F,0xE9A792:0x3670,0xE585B7:0x3671,0xE6849A:0x3672, +0xE8999E:0x3673,0xE596B0:0x3674,0xE7A9BA:0x3675,0xE581B6:0x3676,0xE5AF93:0x3677, +0xE98187:0x3678,0xE99A85:0x3679,0xE4B8B2:0x367A,0xE6AB9B:0x367B,0xE987A7:0x367C, +0xE5B191:0x367D,0xE5B188:0x367E,0xE68E98:0x3721,0xE7AA9F:0x3722,0xE6B293:0x3723, +0xE99DB4:0x3724,0xE8BDA1:0x3725,0xE7AAAA:0x3726,0xE7868A:0x3727,0xE99A88:0x3728, +0xE7B282:0x3729,0xE6A097:0x372A,0xE7B9B0:0x372B,0xE6A191:0x372C,0xE98DAC:0x372D, +0xE58BB2:0x372E,0xE5909B:0x372F,0xE896AB:0x3730,0xE8A893:0x3731,0xE7BEA4:0x3732, +0xE8BB8D:0x3733,0xE983A1:0x3734,0xE58DA6:0x3735,0xE8A288:0x3736,0xE7A581:0x3737, +0xE4BF82:0x3738,0xE582BE:0x3739,0xE58891:0x373A,0xE58584:0x373B,0xE59593:0x373C, +0xE59CAD:0x373D,0xE78FAA:0x373E,0xE59E8B:0x373F,0xE5A591:0x3740,0xE5BDA2:0x3741, +0xE5BE84:0x3742,0xE681B5:0x3743,0xE685B6:0x3744,0xE685A7:0x3745,0xE686A9:0x3746, +0xE68EB2:0x3747,0xE690BA:0x3748,0xE695AC:0x3749,0xE699AF:0x374A,0xE6A182:0x374B, +0xE6B893:0x374C,0xE795A6:0x374D,0xE7A8BD:0x374E,0xE7B3BB:0x374F,0xE7B58C:0x3750, +0xE7B699:0x3751,0xE7B98B:0x3752,0xE7BDAB:0x3753,0xE88C8E:0x3754,0xE88D8A:0x3755, +0xE89B8D:0x3756,0xE8A888:0x3757,0xE8A9A3:0x3758,0xE8ADA6:0x3759,0xE8BBBD:0x375A, +0xE9A09A:0x375B,0xE9B68F:0x375C,0xE88AB8:0x375D,0xE8BF8E:0x375E,0xE9AFA8:0x375F, +0xE58A87:0x3760,0xE6889F:0x3761,0xE69283:0x3762,0xE6BF80:0x3763,0xE99A99:0x3764, +0xE6A181:0x3765,0xE58291:0x3766,0xE6ACA0:0x3767,0xE6B1BA:0x3768,0xE6BD94:0x3769, +0xE7A9B4:0x376A,0xE7B590:0x376B,0xE8A180:0x376C,0xE8A8A3:0x376D,0xE69C88:0x376E, +0xE4BBB6:0x376F,0xE580B9:0x3770,0xE580A6:0x3771,0xE581A5:0x3772,0xE585BC:0x3773, +0xE588B8:0x3774,0xE589A3:0x3775,0xE596A7:0x3776,0xE59C8F:0x3777,0xE5A085:0x3778, +0xE5AB8C:0x3779,0xE5BBBA:0x377A,0xE686B2:0x377B,0xE687B8:0x377C,0xE68BB3:0x377D, +0xE68DB2:0x377E,0xE6A49C:0x3821,0xE6A8A9:0x3822,0xE789BD:0x3823,0xE78AAC:0x3824, +0xE78CAE:0x3825,0xE7A094:0x3826,0xE7A1AF:0x3827,0xE7B5B9:0x3828,0xE79C8C:0x3829, +0xE882A9:0x382A,0xE8A68B:0x382B,0xE8AC99:0x382C,0xE8B3A2:0x382D,0xE8BB92:0x382E, +0xE981A3:0x382F,0xE98DB5:0x3830,0xE999BA:0x3831,0xE9A195:0x3832,0xE9A893:0x3833, +0xE9B9B8:0x3834,0xE58583:0x3835,0xE58E9F:0x3836,0xE58EB3:0x3837,0xE5B9BB:0x3838, +0xE5BCA6:0x3839,0xE6B89B:0x383A,0xE6BA90:0x383B,0xE78E84:0x383C,0xE78FBE:0x383D, +0xE7B583:0x383E,0xE888B7:0x383F,0xE8A880:0x3840,0xE8ABBA:0x3841,0xE99990:0x3842, +0xE4B98E:0x3843,0xE5808B:0x3844,0xE58FA4:0x3845,0xE591BC:0x3846,0xE59BBA:0x3847, +0xE5A791:0x3848,0xE5ADA4:0x3849,0xE5B7B1:0x384A,0xE5BAAB:0x384B,0xE5BCA7:0x384C, +0xE688B8:0x384D,0xE69585:0x384E,0xE69EAF:0x384F,0xE6B996:0x3850,0xE78B90:0x3851, +0xE7B38A:0x3852,0xE8A2B4:0x3853,0xE882A1:0x3854,0xE883A1:0x3855,0xE88FB0:0x3856, +0xE8998E:0x3857,0xE8AA87:0x3858,0xE8B7A8:0x3859,0xE988B7:0x385A,0xE99B87:0x385B, +0xE9A1A7:0x385C,0xE9BC93:0x385D,0xE4BA94:0x385E,0xE4BA92:0x385F,0xE4BC8D:0x3860, +0xE58D88:0x3861,0xE59189:0x3862,0xE590BE:0x3863,0xE5A8AF:0x3864,0xE5BE8C:0x3865, +0xE5BEA1:0x3866,0xE6829F:0x3867,0xE6A2A7:0x3868,0xE6AA8E:0x3869,0xE7919A:0x386A, +0xE7A281:0x386B,0xE8AA9E:0x386C,0xE8AAA4:0x386D,0xE8ADB7:0x386E,0xE98690:0x386F, +0xE4B99E:0x3870,0xE9AF89:0x3871,0xE4BAA4:0x3872,0xE4BDBC:0x3873,0xE4BEAF:0x3874, +0xE58099:0x3875,0xE58096:0x3876,0xE58589:0x3877,0xE585AC:0x3878,0xE58A9F:0x3879, +0xE58AB9:0x387A,0xE58BBE:0x387B,0xE58E9A:0x387C,0xE58FA3:0x387D,0xE59091:0x387E, +0xE5908E:0x3921,0xE59689:0x3922,0xE59D91:0x3923,0xE59EA2:0x3924,0xE5A5BD:0x3925, +0xE5AD94:0x3926,0xE5AD9D:0x3927,0xE5AE8F:0x3928,0xE5B7A5:0x3929,0xE5B7A7:0x392A, +0xE5B7B7:0x392B,0xE5B9B8:0x392C,0xE5BA83:0x392D,0xE5BA9A:0x392E,0xE5BAB7:0x392F, +0xE5BC98:0x3930,0xE68192:0x3931,0xE6858C:0x3932,0xE68A97:0x3933,0xE68B98:0x3934, +0xE68EA7:0x3935,0xE694BB:0x3936,0xE69882:0x3937,0xE69983:0x3938,0xE69BB4:0x3939, +0xE69DAD:0x393A,0xE6A0A1:0x393B,0xE6A297:0x393C,0xE6A78B:0x393D,0xE6B19F:0x393E, +0xE6B4AA:0x393F,0xE6B5A9:0x3940,0xE6B8AF:0x3941,0xE6BA9D:0x3942,0xE794B2:0x3943, +0xE79A87:0x3944,0xE7A1AC:0x3945,0xE7A8BF:0x3946,0xE7B3A0:0x3947,0xE7B485:0x3948, +0xE7B498:0x3949,0xE7B59E:0x394A,0xE7B6B1:0x394B,0xE88095:0x394C,0xE88083:0x394D, +0xE882AF:0x394E,0xE882B1:0x394F,0xE88594:0x3950,0xE8868F:0x3951,0xE888AA:0x3952, +0xE88D92:0x3953,0xE8A18C:0x3954,0xE8A1A1:0x3955,0xE8AC9B:0x3956,0xE8B2A2:0x3957, +0xE8B3BC:0x3958,0xE9838A:0x3959,0xE985B5:0x395A,0xE989B1:0x395B,0xE7A0BF:0x395C, +0xE98BBC:0x395D,0xE996A4:0x395E,0xE9998D:0x395F,0xE9A085:0x3960,0xE9A699:0x3961, +0xE9AB98:0x3962,0xE9B4BB:0x3963,0xE5899B:0x3964,0xE58AAB:0x3965,0xE58FB7:0x3966, +0xE59088:0x3967,0xE5A395:0x3968,0xE68BB7:0x3969,0xE6BFA0:0x396A,0xE8B1AA:0x396B, +0xE8BD9F:0x396C,0xE9BAB9:0x396D,0xE5858B:0x396E,0xE588BB:0x396F,0xE5918A:0x3970, +0xE59BBD:0x3971,0xE7A980:0x3972,0xE985B7:0x3973,0xE9B5A0:0x3974,0xE9BB92:0x3975, +0xE78D84:0x3976,0xE6BC89:0x3977,0xE885B0:0x3978,0xE79491:0x3979,0xE5BFBD:0x397A, +0xE6839A:0x397B,0xE9AAA8:0x397C,0xE78B9B:0x397D,0xE8BEBC:0x397E,0xE6ADA4:0x3A21, +0xE9A083:0x3A22,0xE4BB8A:0x3A23,0xE59BB0:0x3A24,0xE59DA4:0x3A25,0xE5A2BE:0x3A26, +0xE5A99A:0x3A27,0xE681A8:0x3A28,0xE68787:0x3A29,0xE6988F:0x3A2A,0xE69886:0x3A2B, +0xE6A0B9:0x3A2C,0xE6A2B1:0x3A2D,0xE6B7B7:0x3A2E,0xE79795:0x3A2F,0xE7B4BA:0x3A30, +0xE889AE:0x3A31,0xE9AD82:0x3A32,0xE4BA9B:0x3A33,0xE4BD90:0x3A34,0xE58F89:0x3A35, +0xE59486:0x3A36,0xE5B5AF:0x3A37,0xE5B7A6:0x3A38,0xE5B7AE:0x3A39,0xE69FBB:0x3A3A, +0xE6B299:0x3A3B,0xE791B3:0x3A3C,0xE7A082:0x3A3D,0xE8A990:0x3A3E,0xE98E96:0x3A3F, +0xE8A39F:0x3A40,0xE59D90:0x3A41,0xE5BAA7:0x3A42,0xE68CAB:0x3A43,0xE582B5:0x3A44, +0xE582AC:0x3A45,0xE5868D:0x3A46,0xE69C80:0x3A47,0xE59389:0x3A48,0xE5A19E:0x3A49, +0xE5A6BB:0x3A4A,0xE5AEB0:0x3A4B,0xE5BDA9:0x3A4C,0xE6898D:0x3A4D,0xE68EA1:0x3A4E, +0xE6A0BD:0x3A4F,0xE6ADB3:0x3A50,0xE6B888:0x3A51,0xE781BD:0x3A52,0xE98787:0x3A53, +0xE78A80:0x3A54,0xE7A095:0x3A55,0xE7A0A6:0x3A56,0xE7A5AD:0x3A57,0xE6968E:0x3A58, +0xE7B4B0:0x3A59,0xE88F9C:0x3A5A,0xE8A381:0x3A5B,0xE8BC89:0x3A5C,0xE99A9B:0x3A5D, +0xE589A4:0x3A5E,0xE59CA8:0x3A5F,0xE69D90:0x3A60,0xE7BDAA:0x3A61,0xE8B2A1:0x3A62, +0xE586B4:0x3A63,0xE59D82:0x3A64,0xE998AA:0x3A65,0xE5A0BA:0x3A66,0xE6A68A:0x3A67, +0xE882B4:0x3A68,0xE592B2:0x3A69,0xE5B48E:0x3A6A,0xE59FBC:0x3A6B,0xE7A295:0x3A6C, +0xE9B7BA:0x3A6D,0xE4BD9C:0x3A6E,0xE5898A:0x3A6F,0xE5928B:0x3A70,0xE690BE:0x3A71, +0xE698A8:0x3A72,0xE69C94:0x3A73,0xE69FB5:0x3A74,0xE7AA84:0x3A75,0xE7AD96:0x3A76, +0xE7B4A2:0x3A77,0xE98CAF:0x3A78,0xE6A19C:0x3A79,0xE9AEAD:0x3A7A,0xE7ACB9:0x3A7B, +0xE58C99:0x3A7C,0xE5868A:0x3A7D,0xE588B7:0x3A7E,0xE5AF9F:0x3B21,0xE68BB6:0x3B22, +0xE692AE:0x3B23,0xE693A6:0x3B24,0xE69CAD:0x3B25,0xE6AEBA:0x3B26,0xE896A9:0x3B27, +0xE99B91:0x3B28,0xE79A90:0x3B29,0xE9AF96:0x3B2A,0xE68D8C:0x3B2B,0xE98C86:0x3B2C, +0xE9AEAB:0x3B2D,0xE79ABF:0x3B2E,0xE69992:0x3B2F,0xE4B889:0x3B30,0xE58298:0x3B31, +0xE58F82:0x3B32,0xE5B1B1:0x3B33,0xE683A8:0x3B34,0xE69292:0x3B35,0xE695A3:0x3B36, +0xE6A19F:0x3B37,0xE787A6:0x3B38,0xE78F8A:0x3B39,0xE794A3:0x3B3A,0xE7AE97:0x3B3B, +0xE7BA82:0x3B3C,0xE89A95:0x3B3D,0xE8AE83:0x3B3E,0xE8B39B:0x3B3F,0xE985B8:0x3B40, +0xE9A490:0x3B41,0xE696AC:0x3B42,0xE69AAB:0x3B43,0xE6AE8B:0x3B44,0xE4BB95:0x3B45, +0xE4BB94:0x3B46,0xE4BCBA:0x3B47,0xE4BDBF:0x3B48,0xE588BA:0x3B49,0xE58FB8:0x3B4A, +0xE58FB2:0x3B4B,0xE597A3:0x3B4C,0xE59B9B:0x3B4D,0xE5A3AB:0x3B4E,0xE5A78B:0x3B4F, +0xE5A789:0x3B50,0xE5A7BF:0x3B51,0xE5AD90:0x3B52,0xE5B18D:0x3B53,0xE5B882:0x3B54, +0xE5B8AB:0x3B55,0xE5BF97:0x3B56,0xE6809D:0x3B57,0xE68C87:0x3B58,0xE694AF:0x3B59, +0xE5AD9C:0x3B5A,0xE696AF:0x3B5B,0xE696BD:0x3B5C,0xE697A8:0x3B5D,0xE69E9D:0x3B5E, +0xE6ADA2:0x3B5F,0xE6ADBB:0x3B60,0xE6B08F:0x3B61,0xE78D85:0x3B62,0xE7A589:0x3B63, +0xE7A781:0x3B64,0xE7B3B8:0x3B65,0xE7B499:0x3B66,0xE7B4AB:0x3B67,0xE882A2:0x3B68, +0xE88482:0x3B69,0xE887B3:0x3B6A,0xE8A696:0x3B6B,0xE8A99E:0x3B6C,0xE8A9A9:0x3B6D, +0xE8A9A6:0x3B6E,0xE8AA8C:0x3B6F,0xE8ABAE:0x3B70,0xE8B387:0x3B71,0xE8B39C:0x3B72, +0xE99B8C:0x3B73,0xE9A3BC:0x3B74,0xE6ADAF:0x3B75,0xE4BA8B:0x3B76,0xE4BCBC:0x3B77, +0xE4BE8D:0x3B78,0xE58590:0x3B79,0xE5AD97:0x3B7A,0xE5AFBA:0x3B7B,0xE68588:0x3B7C, +0xE68C81:0x3B7D,0xE69982:0x3B7E,0xE6ACA1:0x3C21,0xE6BB8B:0x3C22,0xE6B2BB:0x3C23, +0xE788BE:0x3C24,0xE792BD:0x3C25,0xE79794:0x3C26,0xE7A381:0x3C27,0xE7A4BA:0x3C28, +0xE8808C:0x3C29,0xE880B3:0x3C2A,0xE887AA:0x3C2B,0xE89294:0x3C2C,0xE8BE9E:0x3C2D, +0xE6B190:0x3C2E,0xE9B9BF:0x3C2F,0xE5BC8F:0x3C30,0xE8AD98:0x3C31,0xE9B4AB:0x3C32, +0xE7ABBA:0x3C33,0xE8BBB8:0x3C34,0xE5AE8D:0x3C35,0xE99BAB:0x3C36,0xE4B883:0x3C37, +0xE58FB1:0x3C38,0xE59FB7:0x3C39,0xE5A4B1:0x3C3A,0xE5AB89:0x3C3B,0xE5AEA4:0x3C3C, +0xE68289:0x3C3D,0xE6B9BF:0x3C3E,0xE6BC86:0x3C3F,0xE796BE:0x3C40,0xE8B3AA:0x3C41, +0xE5AE9F:0x3C42,0xE89480:0x3C43,0xE7AFA0:0x3C44,0xE581B2:0x3C45,0xE69FB4:0x3C46, +0xE88A9D:0x3C47,0xE5B1A1:0x3C48,0xE8958A:0x3C49,0xE7B89E:0x3C4A,0xE8888E:0x3C4B, +0xE58699:0x3C4C,0xE5B084:0x3C4D,0xE68DA8:0x3C4E,0xE8B5A6:0x3C4F,0xE6969C:0x3C50, +0xE785AE:0x3C51,0xE7A4BE:0x3C52,0xE7B497:0x3C53,0xE88085:0x3C54,0xE8AC9D:0x3C55, +0xE8BB8A:0x3C56,0xE981AE:0x3C57,0xE89B87:0x3C58,0xE982AA:0x3C59,0xE5809F:0x3C5A, +0xE58BBA:0x3C5B,0xE5B0BA:0x3C5C,0xE69D93:0x3C5D,0xE781BC:0x3C5E,0xE788B5:0x3C5F, +0xE9858C:0x3C60,0xE98788:0x3C61,0xE98CAB:0x3C62,0xE88BA5:0x3C63,0xE5AF82:0x3C64, +0xE5BCB1:0x3C65,0xE683B9:0x3C66,0xE4B8BB:0x3C67,0xE58F96:0x3C68,0xE5AE88:0x3C69, +0xE6898B:0x3C6A,0xE69CB1:0x3C6B,0xE6AE8A:0x3C6C,0xE78BA9:0x3C6D,0xE78FA0:0x3C6E, +0xE7A8AE:0x3C6F,0xE885AB:0x3C70,0xE8B6A3:0x3C71,0xE98592:0x3C72,0xE9A696:0x3C73, +0xE58492:0x3C74,0xE58F97:0x3C75,0xE591AA:0x3C76,0xE5AFBF:0x3C77,0xE68E88:0x3C78, +0xE6A8B9:0x3C79,0xE7B6AC:0x3C7A,0xE99C80:0x3C7B,0xE59B9A:0x3C7C,0xE58F8E:0x3C7D, +0xE591A8:0x3C7E,0xE5AE97:0x3D21,0xE5B0B1:0x3D22,0xE5B79E:0x3D23,0xE4BFAE:0x3D24, +0xE68481:0x3D25,0xE68BBE:0x3D26,0xE6B4B2:0x3D27,0xE7A780:0x3D28,0xE7A78B:0x3D29, +0xE7B582:0x3D2A,0xE7B98D:0x3D2B,0xE7BF92:0x3D2C,0xE887AD:0x3D2D,0xE8889F:0x3D2E, +0xE89290:0x3D2F,0xE8A186:0x3D30,0xE8A5B2:0x3D31,0xE8AE90:0x3D32,0xE8B9B4:0x3D33, +0xE8BCAF:0x3D34,0xE980B1:0x3D35,0xE9858B:0x3D36,0xE985AC:0x3D37,0xE99B86:0x3D38, +0xE9869C:0x3D39,0xE4BB80:0x3D3A,0xE4BD8F:0x3D3B,0xE58585:0x3D3C,0xE58D81:0x3D3D, +0xE5BE93:0x3D3E,0xE6888E:0x3D3F,0xE69F94:0x3D40,0xE6B181:0x3D41,0xE6B88B:0x3D42, +0xE78DA3:0x3D43,0xE7B8A6:0x3D44,0xE9878D:0x3D45,0xE98A83:0x3D46,0xE58F94:0x3D47, +0xE5A499:0x3D48,0xE5AEBF:0x3D49,0xE6B791:0x3D4A,0xE7A59D:0x3D4B,0xE7B8AE:0x3D4C, +0xE7B29B:0x3D4D,0xE5A1BE:0x3D4E,0xE7869F:0x3D4F,0xE587BA:0x3D50,0xE8A193:0x3D51, +0xE8BFB0:0x3D52,0xE4BF8A:0x3D53,0xE5B3BB:0x3D54,0xE698A5:0x3D55,0xE79EAC:0x3D56, +0xE7ABA3:0x3D57,0xE8889C:0x3D58,0xE9A7BF:0x3D59,0xE58786:0x3D5A,0xE5BEAA:0x3D5B, +0xE697AC:0x3D5C,0xE6A5AF:0x3D5D,0xE6AE89:0x3D5E,0xE6B7B3:0x3D5F,0xE6BA96:0x3D60, +0xE6BDA4:0x3D61,0xE79BBE:0x3D62,0xE7B494:0x3D63,0xE5B7A1:0x3D64,0xE981B5:0x3D65, +0xE98687:0x3D66,0xE9A086:0x3D67,0xE587A6:0x3D68,0xE5889D:0x3D69,0xE68980:0x3D6A, +0xE69A91:0x3D6B,0xE69B99:0x3D6C,0xE6B89A:0x3D6D,0xE5BAB6:0x3D6E,0xE7B792:0x3D6F, +0xE7BDB2:0x3D70,0xE69BB8:0x3D71,0xE896AF:0x3D72,0xE897B7:0x3D73,0xE8ABB8:0x3D74, +0xE58AA9:0x3D75,0xE58F99:0x3D76,0xE5A5B3:0x3D77,0xE5BA8F:0x3D78,0xE5BE90:0x3D79, +0xE68195:0x3D7A,0xE98BA4:0x3D7B,0xE999A4:0x3D7C,0xE582B7:0x3D7D,0xE5849F:0x3D7E, +0xE58B9D:0x3E21,0xE58CA0:0x3E22,0xE58D87:0x3E23,0xE58FAC:0x3E24,0xE593A8:0x3E25, +0xE59586:0x3E26,0xE594B1:0x3E27,0xE59897:0x3E28,0xE5A5A8:0x3E29,0xE5A6BE:0x3E2A, +0xE5A8BC:0x3E2B,0xE5AEB5:0x3E2C,0xE5B086:0x3E2D,0xE5B08F:0x3E2E,0xE5B091:0x3E2F, +0xE5B09A:0x3E30,0xE5BA84:0x3E31,0xE5BA8A:0x3E32,0xE5BBA0:0x3E33,0xE5BDB0:0x3E34, +0xE689BF:0x3E35,0xE68A84:0x3E36,0xE68B9B:0x3E37,0xE68E8C:0x3E38,0xE68DB7:0x3E39, +0xE69887:0x3E3A,0xE6988C:0x3E3B,0xE698AD:0x3E3C,0xE699B6:0x3E3D,0xE69DBE:0x3E3E, +0xE6A2A2:0x3E3F,0xE6A89F:0x3E40,0xE6A8B5:0x3E41,0xE6B2BC:0x3E42,0xE6B688:0x3E43, +0xE6B889:0x3E44,0xE6B998:0x3E45,0xE784BC:0x3E46,0xE784A6:0x3E47,0xE785A7:0x3E48, +0xE79787:0x3E49,0xE79C81:0x3E4A,0xE7A19D:0x3E4B,0xE7A481:0x3E4C,0xE7A5A5:0x3E4D, +0xE7A7B0:0x3E4E,0xE7ABA0:0x3E4F,0xE7AC91:0x3E50,0xE7B2A7:0x3E51,0xE7B4B9:0x3E52, +0xE88296:0x3E53,0xE88F96:0x3E54,0xE8928B:0x3E55,0xE89589:0x3E56,0xE8A19D:0x3E57, +0xE8A3B3:0x3E58,0xE8A89F:0x3E59,0xE8A8BC:0x3E5A,0xE8A994:0x3E5B,0xE8A9B3:0x3E5C, +0xE8B1A1:0x3E5D,0xE8B39E:0x3E5E,0xE986A4:0x3E5F,0xE989A6:0x3E60,0xE98DBE:0x3E61, +0xE99098:0x3E62,0xE99A9C:0x3E63,0xE99E98:0x3E64,0xE4B88A:0x3E65,0xE4B888:0x3E66, +0xE4B89E:0x3E67,0xE4B997:0x3E68,0xE58697:0x3E69,0xE589B0:0x3E6A,0xE59F8E:0x3E6B, +0xE5A0B4:0x3E6C,0xE5A38C:0x3E6D,0xE5ACA2:0x3E6E,0xE5B8B8:0x3E6F,0xE68385:0x3E70, +0xE693BE:0x3E71,0xE69DA1:0x3E72,0xE69D96:0x3E73,0xE6B584:0x3E74,0xE78AB6:0x3E75, +0xE795B3:0x3E76,0xE7A9A3:0x3E77,0xE892B8:0x3E78,0xE8ADB2:0x3E79,0xE986B8:0x3E7A, +0xE98CA0:0x3E7B,0xE598B1:0x3E7C,0xE59FB4:0x3E7D,0xE9A3BE:0x3E7E,0xE68BAD:0x3F21, +0xE6A48D:0x3F22,0xE6AE96:0x3F23,0xE787AD:0x3F24,0xE7B994:0x3F25,0xE881B7:0x3F26, +0xE889B2:0x3F27,0xE8A7A6:0x3F28,0xE9A39F:0x3F29,0xE89D95:0x3F2A,0xE8BEB1:0x3F2B, +0xE5B0BB:0x3F2C,0xE4BCB8:0x3F2D,0xE4BFA1:0x3F2E,0xE4BEB5:0x3F2F,0xE59487:0x3F30, +0xE5A8A0:0x3F31,0xE5AF9D:0x3F32,0xE5AFA9:0x3F33,0xE5BF83:0x3F34,0xE6858E:0x3F35, +0xE68CAF:0x3F36,0xE696B0:0x3F37,0xE6998B:0x3F38,0xE6A3AE:0x3F39,0xE6A69B:0x3F3A, +0xE6B5B8:0x3F3B,0xE6B7B1:0x3F3C,0xE794B3:0x3F3D,0xE796B9:0x3F3E,0xE79C9F:0x3F3F, +0xE7A59E:0x3F40,0xE7A7A6:0x3F41,0xE7B4B3:0x3F42,0xE887A3:0x3F43,0xE88AAF:0x3F44, +0xE896AA:0x3F45,0xE8A6AA:0x3F46,0xE8A8BA:0x3F47,0xE8BAAB:0x3F48,0xE8BE9B:0x3F49, +0xE980B2:0x3F4A,0xE9879D:0x3F4B,0xE99C87:0x3F4C,0xE4BABA:0x3F4D,0xE4BB81:0x3F4E, +0xE58883:0x3F4F,0xE5A1B5:0x3F50,0xE5A3AC:0x3F51,0xE5B08B:0x3F52,0xE7949A:0x3F53, +0xE5B0BD:0x3F54,0xE8858E:0x3F55,0xE8A88A:0x3F56,0xE8BF85:0x3F57,0xE999A3:0x3F58, +0xE99DAD:0x3F59,0xE7ACA5:0x3F5A,0xE8AB8F:0x3F5B,0xE9A088:0x3F5C,0xE985A2:0x3F5D, +0xE59BB3:0x3F5E,0xE58EA8:0x3F5F,0xE98097:0x3F60,0xE590B9:0x3F61,0xE59E82:0x3F62, +0xE5B8A5:0x3F63,0xE68EA8:0x3F64,0xE6B0B4:0x3F65,0xE7828A:0x3F66,0xE79DA1:0x3F67, +0xE7B28B:0x3F68,0xE7BFA0:0x3F69,0xE8A1B0:0x3F6A,0xE98182:0x3F6B,0xE98594:0x3F6C, +0xE98C90:0x3F6D,0xE98C98:0x3F6E,0xE99A8F:0x3F6F,0xE7919E:0x3F70,0xE9AB84:0x3F71, +0xE5B487:0x3F72,0xE5B5A9:0x3F73,0xE695B0:0x3F74,0xE69EA2:0x3F75,0xE8B6A8:0x3F76, +0xE99B9B:0x3F77,0xE68DAE:0x3F78,0xE69D89:0x3F79,0xE6A499:0x3F7A,0xE88F85:0x3F7B, +0xE9A097:0x3F7C,0xE99B80:0x3F7D,0xE8A3BE:0x3F7E,0xE6BE84:0x4021,0xE691BA:0x4022, +0xE5AFB8:0x4023,0xE4B896:0x4024,0xE780AC:0x4025,0xE7959D:0x4026,0xE698AF:0x4027, +0xE58784:0x4028,0xE588B6:0x4029,0xE58BA2:0x402A,0xE5A793:0x402B,0xE5BE81:0x402C, +0xE680A7:0x402D,0xE68890:0x402E,0xE694BF:0x402F,0xE695B4:0x4030,0xE6989F:0x4031, +0xE699B4:0x4032,0xE6A3B2:0x4033,0xE6A096:0x4034,0xE6ADA3:0x4035,0xE6B885:0x4036, +0xE789B2:0x4037,0xE7949F:0x4038,0xE79B9B:0x4039,0xE7B2BE:0x403A,0xE88196:0x403B, +0xE5A3B0:0x403C,0xE8A3BD:0x403D,0xE8A5BF:0x403E,0xE8AAA0:0x403F,0xE8AA93:0x4040, +0xE8AB8B:0x4041,0xE9809D:0x4042,0xE98692:0x4043,0xE99D92:0x4044,0xE99D99:0x4045, +0xE69689:0x4046,0xE7A88E:0x4047,0xE88486:0x4048,0xE99ABB:0x4049,0xE5B8AD:0x404A, +0xE6839C:0x404B,0xE6889A:0x404C,0xE696A5:0x404D,0xE69894:0x404E,0xE69E90:0x404F, +0xE79FB3:0x4050,0xE7A98D:0x4051,0xE7B18D:0x4052,0xE7B8BE:0x4053,0xE8848A:0x4054, +0xE8B2AC:0x4055,0xE8B5A4:0x4056,0xE8B7A1:0x4057,0xE8B99F:0x4058,0xE7A2A9:0x4059, +0xE58887:0x405A,0xE68B99:0x405B,0xE68EA5:0x405C,0xE69182:0x405D,0xE68A98:0x405E, +0xE8A8AD:0x405F,0xE7AA83:0x4060,0xE7AF80:0x4061,0xE8AAAC:0x4062,0xE99BAA:0x4063, +0xE7B5B6:0x4064,0xE8888C:0x4065,0xE89D89:0x4066,0xE4BB99:0x4067,0xE58588:0x4068, +0xE58D83:0x4069,0xE58DA0:0x406A,0xE5AEA3:0x406B,0xE5B082:0x406C,0xE5B096:0x406D, +0xE5B79D:0x406E,0xE688A6:0x406F,0xE68987:0x4070,0xE692B0:0x4071,0xE6A093:0x4072, +0xE6A0B4:0x4073,0xE6B389:0x4074,0xE6B585:0x4075,0xE6B497:0x4076,0xE69F93:0x4077, +0xE6BD9C:0x4078,0xE7858E:0x4079,0xE785BD:0x407A,0xE6978B:0x407B,0xE7A9BF:0x407C, +0xE7AEAD:0x407D,0xE7B79A:0x407E,0xE7B98A:0x4121,0xE7BEA8:0x4122,0xE885BA:0x4123, +0xE8889B:0x4124,0xE888B9:0x4125,0xE896A6:0x4126,0xE8A9AE:0x4127,0xE8B38E:0x4128, +0xE8B7B5:0x4129,0xE981B8:0x412A,0xE981B7:0x412B,0xE98AAD:0x412C,0xE98A91:0x412D, +0xE99683:0x412E,0xE9AEAE:0x412F,0xE5898D:0x4130,0xE59684:0x4131,0xE6BCB8:0x4132, +0xE784B6:0x4133,0xE585A8:0x4134,0xE7A685:0x4135,0xE7B995:0x4136,0xE886B3:0x4137, +0xE7B38E:0x4138,0xE5998C:0x4139,0xE5A191:0x413A,0xE5B2A8:0x413B,0xE68EAA:0x413C, +0xE69BBE:0x413D,0xE69BBD:0x413E,0xE6A59A:0x413F,0xE78B99:0x4140,0xE7968F:0x4141, +0xE7968E:0x4142,0xE7A48E:0x4143,0xE7A596:0x4144,0xE7A79F:0x4145,0xE7B297:0x4146, +0xE7B4A0:0x4147,0xE7B584:0x4148,0xE89887:0x4149,0xE8A8B4:0x414A,0xE998BB:0x414B, +0xE981A1:0x414C,0xE9BCA0:0x414D,0xE583A7:0x414E,0xE589B5:0x414F,0xE58F8C:0x4150, +0xE58FA2:0x4151,0xE58089:0x4152,0xE596AA:0x4153,0xE5A3AE:0x4154,0xE5A58F:0x4155, +0xE788BD:0x4156,0xE5AE8B:0x4157,0xE5B1A4:0x4158,0xE58C9D:0x4159,0xE683A3:0x415A, +0xE683B3:0x415B,0xE68D9C:0x415C,0xE68E83:0x415D,0xE68CBF:0x415E,0xE68EBB:0x415F, +0xE6938D:0x4160,0xE697A9:0x4161,0xE69BB9:0x4162,0xE5B7A3:0x4163,0xE6A78D:0x4164, +0xE6A7BD:0x4165,0xE6BC95:0x4166,0xE787A5:0x4167,0xE4BA89:0x4168,0xE797A9:0x4169, +0xE79BB8:0x416A,0xE7AA93:0x416B,0xE7B39F:0x416C,0xE7B78F:0x416D,0xE7B69C:0x416E, +0xE881A1:0x416F,0xE88D89:0x4170,0xE88D98:0x4171,0xE891AC:0x4172,0xE892BC:0x4173, +0xE897BB:0x4174,0xE8A385:0x4175,0xE8B5B0:0x4176,0xE98081:0x4177,0xE981AD:0x4178, +0xE98E97:0x4179,0xE99C9C:0x417A,0xE9A892:0x417B,0xE5838F:0x417C,0xE5A297:0x417D, +0xE6868E:0x417E,0xE88793:0x4221,0xE894B5:0x4222,0xE8B488:0x4223,0xE980A0:0x4224, +0xE4BF83:0x4225,0xE581B4:0x4226,0xE58987:0x4227,0xE58DB3:0x4228,0xE681AF:0x4229, +0xE68D89:0x422A,0xE69D9F:0x422B,0xE6B8AC:0x422C,0xE8B6B3:0x422D,0xE9809F:0x422E, +0xE4BF97:0x422F,0xE5B19E:0x4230,0xE8B38A:0x4231,0xE6978F:0x4232,0xE7B69A:0x4233, +0xE58D92:0x4234,0xE8A296:0x4235,0xE585B6:0x4236,0xE68F83:0x4237,0xE5AD98:0x4238, +0xE5ADAB:0x4239,0xE5B08A:0x423A,0xE6908D:0x423B,0xE69D91:0x423C,0xE9819C:0x423D, +0xE4BB96:0x423E,0xE5A49A:0x423F,0xE5A4AA:0x4240,0xE6B1B0:0x4241,0xE8A991:0x4242, +0xE594BE:0x4243,0xE5A095:0x4244,0xE5A6A5:0x4245,0xE683B0:0x4246,0xE68993:0x4247, +0xE69F81:0x4248,0xE888B5:0x4249,0xE6A595:0x424A,0xE99980:0x424B,0xE9A784:0x424C, +0xE9A8A8:0x424D,0xE4BD93:0x424E,0xE5A086:0x424F,0xE5AFBE:0x4250,0xE88090:0x4251, +0xE5B2B1:0x4252,0xE5B8AF:0x4253,0xE5BE85:0x4254,0xE680A0:0x4255,0xE6858B:0x4256, +0xE688B4:0x4257,0xE69BBF:0x4258,0xE6B3B0:0x4259,0xE6BB9E:0x425A,0xE8838E:0x425B, +0xE885BF:0x425C,0xE88B94:0x425D,0xE8A28B:0x425E,0xE8B2B8:0x425F,0xE98080:0x4260, +0xE980AE:0x4261,0xE99A8A:0x4262,0xE9BB9B:0x4263,0xE9AF9B:0x4264,0xE4BBA3:0x4265, +0xE58FB0:0x4266,0xE5A4A7:0x4267,0xE7ACAC:0x4268,0xE9868D:0x4269,0xE9A18C:0x426A, +0xE9B7B9:0x426B,0xE6BB9D:0x426C,0xE780A7:0x426D,0xE58D93:0x426E,0xE59584:0x426F, +0xE5AE85:0x4270,0xE68998:0x4271,0xE68A9E:0x4272,0xE68B93:0x4273,0xE6B2A2:0x4274, +0xE6BFAF:0x4275,0xE790A2:0x4276,0xE8A897:0x4277,0xE990B8:0x4278,0xE6BF81:0x4279, +0xE8ABBE:0x427A,0xE88CB8:0x427B,0xE587A7:0x427C,0xE89BB8:0x427D,0xE58FAA:0x427E, +0xE58FA9:0x4321,0xE4BD86:0x4322,0xE98194:0x4323,0xE8BEB0:0x4324,0xE5A5AA:0x4325, +0xE884B1:0x4326,0xE5B7BD:0x4327,0xE7ABAA:0x4328,0xE8BEBF:0x4329,0xE6A39A:0x432A, +0xE8B0B7:0x432B,0xE78BB8:0x432C,0xE9B188:0x432D,0xE6A8BD:0x432E,0xE8AAB0:0x432F, +0xE4B8B9:0x4330,0xE58D98:0x4331,0xE59886:0x4332,0xE59DA6:0x4333,0xE68B85:0x4334, +0xE68EA2:0x4335,0xE697A6:0x4336,0xE6AD8E:0x4337,0xE6B7A1:0x4338,0xE6B99B:0x4339, +0xE782AD:0x433A,0xE79FAD:0x433B,0xE7ABAF:0x433C,0xE7AEAA:0x433D,0xE7B6BB:0x433E, +0xE880BD:0x433F,0xE88386:0x4340,0xE89B8B:0x4341,0xE8AA95:0x4342,0xE98D9B:0x4343, +0xE59BA3:0x4344,0xE5A387:0x4345,0xE5BCBE:0x4346,0xE696AD:0x4347,0xE69A96:0x4348, +0xE6AA80:0x4349,0xE6AEB5:0x434A,0xE794B7:0x434B,0xE8AB87:0x434C,0xE580A4:0x434D, +0xE79FA5:0x434E,0xE59CB0:0x434F,0xE5BC9B:0x4350,0xE681A5:0x4351,0xE699BA:0x4352, +0xE6B1A0:0x4353,0xE797B4:0x4354,0xE7A89A:0x4355,0xE7BDAE:0x4356,0xE887B4:0x4357, +0xE89C98:0x4358,0xE98185:0x4359,0xE9A6B3:0x435A,0xE7AF89:0x435B,0xE7959C:0x435C, +0xE7ABB9:0x435D,0xE7AD91:0x435E,0xE89384:0x435F,0xE98090:0x4360,0xE7A7A9:0x4361, +0xE7AA92:0x4362,0xE88CB6:0x4363,0xE5ABA1:0x4364,0xE79D80:0x4365,0xE4B8AD:0x4366, +0xE4BBB2:0x4367,0xE5AE99:0x4368,0xE5BFA0:0x4369,0xE68ABD:0x436A,0xE698BC:0x436B, +0xE69FB1:0x436C,0xE6B3A8:0x436D,0xE899AB:0x436E,0xE8A1B7:0x436F,0xE8A8BB:0x4370, +0xE9858E:0x4371,0xE98BB3:0x4372,0xE9A790:0x4373,0xE6A897:0x4374,0xE780A6:0x4375, +0xE78CAA:0x4376,0xE88BA7:0x4377,0xE89197:0x4378,0xE8B2AF:0x4379,0xE4B881:0x437A, +0xE58586:0x437B,0xE5878B:0x437C,0xE5968B:0x437D,0xE5AFB5:0x437E,0xE5B896:0x4421, +0xE5B8B3:0x4422,0xE5BA81:0x4423,0xE5BC94:0x4424,0xE5BCB5:0x4425,0xE5BDAB:0x4426, +0xE5BEB4:0x4427,0xE687B2:0x4428,0xE68C91:0x4429,0xE69AA2:0x442A,0xE69C9D:0x442B, +0xE6BDAE:0x442C,0xE78992:0x442D,0xE794BA:0x442E,0xE79CBA:0x442F,0xE881B4:0x4430, +0xE884B9:0x4431,0xE885B8:0x4432,0xE89DB6:0x4433,0xE8AABF:0x4434,0xE8AB9C:0x4435, +0xE8B685:0x4436,0xE8B7B3:0x4437,0xE98A9A:0x4438,0xE995B7:0x4439,0xE9A082:0x443A, +0xE9B3A5:0x443B,0xE58B85:0x443C,0xE68D97:0x443D,0xE79BB4:0x443E,0xE69C95:0x443F, +0xE6B288:0x4440,0xE78F8D:0x4441,0xE8B383:0x4442,0xE98EAE:0x4443,0xE999B3:0x4444, +0xE6B4A5:0x4445,0xE5A29C:0x4446,0xE6A48E:0x4447,0xE6A78C:0x4448,0xE8BFBD:0x4449, +0xE98E9A:0x444A,0xE7979B:0x444B,0xE9809A:0x444C,0xE5A19A:0x444D,0xE6A082:0x444E, +0xE68EB4:0x444F,0xE6A7BB:0x4450,0xE4BD83:0x4451,0xE6BCAC:0x4452,0xE69F98:0x4453, +0xE8BEBB:0x4454,0xE894A6:0x4455,0xE7B6B4:0x4456,0xE98D94:0x4457,0xE6A4BF:0x4458, +0xE6BDB0:0x4459,0xE59DAA:0x445A,0xE5A3B7:0x445B,0xE5ACAC:0x445C,0xE7B4AC:0x445D, +0xE788AA:0x445E,0xE5908A:0x445F,0xE987A3:0x4460,0xE9B6B4:0x4461,0xE4BAAD:0x4462, +0xE4BD8E:0x4463,0xE5819C:0x4464,0xE581B5:0x4465,0xE58983:0x4466,0xE8B29E:0x4467, +0xE59188:0x4468,0xE5A0A4:0x4469,0xE5AE9A:0x446A,0xE5B89D:0x446B,0xE5BA95:0x446C, +0xE5BAAD:0x446D,0xE5BBB7:0x446E,0xE5BC9F:0x446F,0xE6828C:0x4470,0xE68AB5:0x4471, +0xE68CBA:0x4472,0xE68F90:0x4473,0xE6A2AF:0x4474,0xE6B180:0x4475,0xE7A287:0x4476, +0xE7A68E:0x4477,0xE7A88B:0x4478,0xE7B7A0:0x4479,0xE88987:0x447A,0xE8A882:0x447B, +0xE8ABA6:0x447C,0xE8B984:0x447D,0xE98093:0x447E,0xE982B8:0x4521,0xE984AD:0x4522, +0xE98798:0x4523,0xE9BC8E:0x4524,0xE6B3A5:0x4525,0xE69198:0x4526,0xE693A2:0x4527, +0xE695B5:0x4528,0xE6BBB4:0x4529,0xE79A84:0x452A,0xE7AC9B:0x452B,0xE981A9:0x452C, +0xE98F91:0x452D,0xE6BABA:0x452E,0xE593B2:0x452F,0xE5BEB9:0x4530,0xE692A4:0x4531, +0xE8BD8D:0x4532,0xE8BFAD:0x4533,0xE98984:0x4534,0xE585B8:0x4535,0xE5A1AB:0x4536, +0xE5A4A9:0x4537,0xE5B195:0x4538,0xE5BA97:0x4539,0xE6B7BB:0x453A,0xE7BA8F:0x453B, +0xE7949C:0x453C,0xE8B2BC:0x453D,0xE8BBA2:0x453E,0xE9A19B:0x453F,0xE782B9:0x4540, +0xE4BC9D:0x4541,0xE6AEBF:0x4542,0xE6BEB1:0x4543,0xE794B0:0x4544,0xE99BBB:0x4545, +0xE5858E:0x4546,0xE59090:0x4547,0xE5A0B5:0x4548,0xE5A197:0x4549,0xE5A6AC:0x454A, +0xE5B1A0:0x454B,0xE5BE92:0x454C,0xE69697:0x454D,0xE69D9C:0x454E,0xE6B8A1:0x454F, +0xE799BB:0x4550,0xE88F9F:0x4551,0xE8B3AD:0x4552,0xE98094:0x4553,0xE983BD:0x4554, +0xE98D8D:0x4555,0xE7A0A5:0x4556,0xE7A0BA:0x4557,0xE58AAA:0x4558,0xE5BAA6:0x4559, +0xE59C9F:0x455A,0xE5A5B4:0x455B,0xE68092:0x455C,0xE58092:0x455D,0xE5859A:0x455E, +0xE586AC:0x455F,0xE5878D:0x4560,0xE58880:0x4561,0xE59490:0x4562,0xE5A194:0x4563, +0xE5A198:0x4564,0xE5A597:0x4565,0xE5AE95:0x4566,0xE5B3B6:0x4567,0xE5B68B:0x4568, +0xE682BC:0x4569,0xE68A95:0x456A,0xE690AD:0x456B,0xE69DB1:0x456C,0xE6A183:0x456D, +0xE6A2BC:0x456E,0xE6A39F:0x456F,0xE79B97:0x4570,0xE6B798:0x4571,0xE6B9AF:0x4572, +0xE6B69B:0x4573,0xE781AF:0x4574,0xE78788:0x4575,0xE5BD93:0x4576,0xE79798:0x4577, +0xE7A5B7:0x4578,0xE7AD89:0x4579,0xE7AD94:0x457A,0xE7AD92:0x457B,0xE7B396:0x457C, +0xE7B5B1:0x457D,0xE588B0:0x457E,0xE891A3:0x4621,0xE895A9:0x4622,0xE897A4:0x4623, +0xE8A88E:0x4624,0xE8AC84:0x4625,0xE8B186:0x4626,0xE8B88F:0x4627,0xE98083:0x4628, +0xE9808F:0x4629,0xE99099:0x462A,0xE999B6:0x462B,0xE9A0AD:0x462C,0xE9A8B0:0x462D, +0xE99798:0x462E,0xE5838D:0x462F,0xE58B95:0x4630,0xE5908C:0x4631,0xE5A082:0x4632, +0xE5B08E:0x4633,0xE686A7:0x4634,0xE6929E:0x4635,0xE6B49E:0x4636,0xE79EB3:0x4637, +0xE7ABA5:0x4638,0xE883B4:0x4639,0xE89084:0x463A,0xE98193:0x463B,0xE98A85:0x463C, +0xE5B3A0:0x463D,0xE9B487:0x463E,0xE58CBF:0x463F,0xE5BE97:0x4640,0xE5BEB3:0x4641, +0xE6B69C:0x4642,0xE789B9:0x4643,0xE79DA3:0x4644,0xE7A6BF:0x4645,0xE7AFA4:0x4646, +0xE6AF92:0x4647,0xE78BAC:0x4648,0xE8AAAD:0x4649,0xE6A083:0x464A,0xE6A9A1:0x464B, +0xE587B8:0x464C,0xE7AA81:0x464D,0xE6A4B4:0x464E,0xE5B18A:0x464F,0xE9B3B6:0x4650, +0xE88BAB:0x4651,0xE5AF85:0x4652,0xE98589:0x4653,0xE7809E:0x4654,0xE599B8:0x4655, +0xE5B1AF:0x4656,0xE68387:0x4657,0xE695A6:0x4658,0xE6B28C:0x4659,0xE8B19A:0x465A, +0xE98181:0x465B,0xE9A093:0x465C,0xE59191:0x465D,0xE69B87:0x465E,0xE9888D:0x465F, +0xE5A588:0x4660,0xE982A3:0x4661,0xE58685:0x4662,0xE4B98D:0x4663,0xE587AA:0x4664, +0xE89699:0x4665,0xE8AC8E:0x4666,0xE78198:0x4667,0xE68DBA:0x4668,0xE98D8B:0x4669, +0xE6A5A2:0x466A,0xE9A6B4:0x466B,0xE7B884:0x466C,0xE795B7:0x466D,0xE58D97:0x466E, +0xE6A5A0:0x466F,0xE8BB9F:0x4670,0xE99BA3:0x4671,0xE6B19D:0x4672,0xE4BA8C:0x4673, +0xE5B0BC:0x4674,0xE5BC90:0x4675,0xE8BFA9:0x4676,0xE58C82:0x4677,0xE8B391:0x4678, +0xE88289:0x4679,0xE899B9:0x467A,0xE5BBBF:0x467B,0xE697A5:0x467C,0xE4B9B3:0x467D, +0xE585A5:0x467E,0xE5A682:0x4721,0xE5B0BF:0x4722,0xE99FAE:0x4723,0xE4BBBB:0x4724, +0xE5A68A:0x4725,0xE5BF8D:0x4726,0xE8AA8D:0x4727,0xE6BFA1:0x4728,0xE7A6B0:0x4729, +0xE7A5A2:0x472A,0xE5AFA7:0x472B,0xE891B1:0x472C,0xE78CAB:0x472D,0xE786B1:0x472E, +0xE5B9B4:0x472F,0xE5BFB5:0x4730,0xE68DBB:0x4731,0xE6929A:0x4732,0xE78783:0x4733, +0xE7B298:0x4734,0xE4B983:0x4735,0xE5BBBC:0x4736,0xE4B98B:0x4737,0xE59F9C:0x4738, +0xE59AA2:0x4739,0xE682A9:0x473A,0xE6BF83:0x473B,0xE7B48D:0x473C,0xE883BD:0x473D, +0xE884B3:0x473E,0xE886BF:0x473F,0xE8BEB2:0x4740,0xE8A697:0x4741,0xE89AA4:0x4742, +0xE5B7B4:0x4743,0xE68A8A:0x4744,0xE692AD:0x4745,0xE8A687:0x4746,0xE69DB7:0x4747, +0xE6B3A2:0x4748,0xE6B4BE:0x4749,0xE790B6:0x474A,0xE7A0B4:0x474B,0xE5A986:0x474C, +0xE7BDB5:0x474D,0xE88AAD:0x474E,0xE9A6AC:0x474F,0xE4BFB3:0x4750,0xE5BB83:0x4751, +0xE68B9D:0x4752,0xE68E92:0x4753,0xE69597:0x4754,0xE69DAF:0x4755,0xE79B83:0x4756, +0xE7898C:0x4757,0xE8838C:0x4758,0xE882BA:0x4759,0xE8BCA9:0x475A,0xE9858D:0x475B, +0xE5808D:0x475C,0xE59FB9:0x475D,0xE5AA92:0x475E,0xE6A285:0x475F,0xE6A5B3:0x4760, +0xE785A4:0x4761,0xE78BBD:0x4762,0xE8B2B7:0x4763,0xE5A3B2:0x4764,0xE8B3A0:0x4765, +0xE999AA:0x4766,0xE98099:0x4767,0xE89DBF:0x4768,0xE7A7A4:0x4769,0xE79FA7:0x476A, +0xE890A9:0x476B,0xE4BCAF:0x476C,0xE589A5:0x476D,0xE58D9A:0x476E,0xE68B8D:0x476F, +0xE69F8F:0x4770,0xE6B38A:0x4771,0xE799BD:0x4772,0xE7AE94:0x4773,0xE7B295:0x4774, +0xE888B6:0x4775,0xE89684:0x4776,0xE8BFAB:0x4777,0xE69B9D:0x4778,0xE6BCA0:0x4779, +0xE78886:0x477A,0xE7B89B:0x477B,0xE88EAB:0x477C,0xE9A781:0x477D,0xE9BAA6:0x477E, +0xE587BD:0x4821,0xE7AEB1:0x4822,0xE7A1B2:0x4823,0xE7AEB8:0x4824,0xE88287:0x4825, +0xE7AD88:0x4826,0xE6ABA8:0x4827,0xE5B9A1:0x4828,0xE8828C:0x4829,0xE79591:0x482A, +0xE795A0:0x482B,0xE585AB:0x482C,0xE989A2:0x482D,0xE6BA8C:0x482E,0xE799BA:0x482F, +0xE98697:0x4830,0xE9ABAA:0x4831,0xE4BC90:0x4832,0xE7BDB0:0x4833,0xE68A9C:0x4834, +0xE7AD8F:0x4835,0xE996A5:0x4836,0xE9B3A9:0x4837,0xE599BA:0x4838,0xE5A199:0x4839, +0xE89BA4:0x483A,0xE99ABC:0x483B,0xE4BCB4:0x483C,0xE588A4:0x483D,0xE58D8A:0x483E, +0xE58F8D:0x483F,0xE58F9B:0x4840,0xE5B886:0x4841,0xE690AC:0x4842,0xE69691:0x4843, +0xE69DBF:0x4844,0xE6B0BE:0x4845,0xE6B18E:0x4846,0xE78988:0x4847,0xE78AAF:0x4848, +0xE78FAD:0x4849,0xE79594:0x484A,0xE7B981:0x484B,0xE888AC:0x484C,0xE897A9:0x484D, +0xE8B2A9:0x484E,0xE7AF84:0x484F,0xE98786:0x4850,0xE785A9:0x4851,0xE9A092:0x4852, +0xE9A3AF:0x4853,0xE68CBD:0x4854,0xE699A9:0x4855,0xE795AA:0x4856,0xE79BA4:0x4857, +0xE7A390:0x4858,0xE89583:0x4859,0xE89BAE:0x485A,0xE58CAA:0x485B,0xE58D91:0x485C, +0xE590A6:0x485D,0xE5A683:0x485E,0xE5BA87:0x485F,0xE5BDBC:0x4860,0xE682B2:0x4861, +0xE68989:0x4862,0xE689B9:0x4863,0xE68AAB:0x4864,0xE69690:0x4865,0xE6AF94:0x4866, +0xE6B38C:0x4867,0xE796B2:0x4868,0xE79AAE:0x4869,0xE7A291:0x486A,0xE7A798:0x486B, +0xE7B78B:0x486C,0xE7BDB7:0x486D,0xE882A5:0x486E,0xE8A2AB:0x486F,0xE8AAB9:0x4870, +0xE8B2BB:0x4871,0xE981BF:0x4872,0xE99D9E:0x4873,0xE9A39B:0x4874,0xE6A88B:0x4875, +0xE7B0B8:0x4876,0xE58299:0x4877,0xE5B0BE:0x4878,0xE5BEAE:0x4879,0xE69E87:0x487A, +0xE6AF98:0x487B,0xE790B5:0x487C,0xE79C89:0x487D,0xE7BE8E:0x487E,0xE9BCBB:0x4921, +0xE69F8A:0x4922,0xE7A897:0x4923,0xE58CB9:0x4924,0xE7968B:0x4925,0xE9ABAD:0x4926, +0xE5BDA6:0x4927,0xE8869D:0x4928,0xE88FB1:0x4929,0xE88298:0x492A,0xE5BCBC:0x492B, +0xE5BF85:0x492C,0xE795A2:0x492D,0xE7AD86:0x492E,0xE980BC:0x492F,0xE6A1A7:0x4930, +0xE5A7AB:0x4931,0xE5AA9B:0x4932,0xE7B490:0x4933,0xE799BE:0x4934,0xE8ACAC:0x4935, +0xE4BFB5:0x4936,0xE5BDAA:0x4937,0xE6A899:0x4938,0xE6B0B7:0x4939,0xE6BC82:0x493A, +0xE793A2:0x493B,0xE7A5A8:0x493C,0xE8A1A8:0x493D,0xE8A995:0x493E,0xE8B1B9:0x493F, +0xE5BB9F:0x4940,0xE68F8F:0x4941,0xE79785:0x4942,0xE7A792:0x4943,0xE88B97:0x4944, +0xE98CA8:0x4945,0xE98BB2:0x4946,0xE8929C:0x4947,0xE89BAD:0x4948,0xE9B0AD:0x4949, +0xE59381:0x494A,0xE5BDAC:0x494B,0xE6968C:0x494C,0xE6B59C:0x494D,0xE78095:0x494E, +0xE8B2A7:0x494F,0xE8B393:0x4950,0xE9A0BB:0x4951,0xE6958F:0x4952,0xE793B6:0x4953, +0xE4B88D:0x4954,0xE4BB98:0x4955,0xE59FA0:0x4956,0xE5A4AB:0x4957,0xE5A9A6:0x4958, +0xE5AF8C:0x4959,0xE586A8:0x495A,0xE5B883:0x495B,0xE5BA9C:0x495C,0xE68096:0x495D, +0xE689B6:0x495E,0xE695B7:0x495F,0xE696A7:0x4960,0xE699AE:0x4961,0xE6B5AE:0x4962, +0xE788B6:0x4963,0xE7ACA6:0x4964,0xE88590:0x4965,0xE8869A:0x4966,0xE88A99:0x4967, +0xE8AD9C:0x4968,0xE8B2A0:0x4969,0xE8B3A6:0x496A,0xE8B5B4:0x496B,0xE9989C:0x496C, +0xE99984:0x496D,0xE4BEAE:0x496E,0xE692AB:0x496F,0xE6ADA6:0x4970,0xE8889E:0x4971, +0xE891A1:0x4972,0xE895AA:0x4973,0xE983A8:0x4974,0xE5B081:0x4975,0xE6A593:0x4976, +0xE9A2A8:0x4977,0xE891BA:0x4978,0xE89597:0x4979,0xE4BC8F:0x497A,0xE589AF:0x497B, +0xE5BEA9:0x497C,0xE5B985:0x497D,0xE69C8D:0x497E,0xE7A68F:0x4A21,0xE885B9:0x4A22, +0xE8A487:0x4A23,0xE8A686:0x4A24,0xE6B7B5:0x4A25,0xE5BC97:0x4A26,0xE68995:0x4A27, +0xE6B2B8:0x4A28,0xE4BB8F:0x4A29,0xE789A9:0x4A2A,0xE9AE92:0x4A2B,0xE58886:0x4A2C, +0xE590BB:0x4A2D,0xE599B4:0x4A2E,0xE5A2B3:0x4A2F,0xE686A4:0x4A30,0xE689AE:0x4A31, +0xE7849A:0x4A32,0xE5A5AE:0x4A33,0xE7B289:0x4A34,0xE7B39E:0x4A35,0xE7B49B:0x4A36, +0xE99BB0:0x4A37,0xE69687:0x4A38,0xE8819E:0x4A39,0xE4B899:0x4A3A,0xE4BDB5:0x4A3B, +0xE585B5:0x4A3C,0xE5A180:0x4A3D,0xE5B9A3:0x4A3E,0xE5B9B3:0x4A3F,0xE5BC8A:0x4A40, +0xE69F84:0x4A41,0xE4B8A6:0x4A42,0xE894BD:0x4A43,0xE99689:0x4A44,0xE9999B:0x4A45, +0xE7B1B3:0x4A46,0xE9A081:0x4A47,0xE583BB:0x4A48,0xE5A381:0x4A49,0xE79996:0x4A4A, +0xE7A2A7:0x4A4B,0xE588A5:0x4A4C,0xE79EA5:0x4A4D,0xE89491:0x4A4E,0xE7AE86:0x4A4F, +0xE5818F:0x4A50,0xE5A489:0x4A51,0xE78987:0x4A52,0xE7AF87:0x4A53,0xE7B7A8:0x4A54, +0xE8BEBA:0x4A55,0xE8BF94:0x4A56,0xE9818D:0x4A57,0xE4BEBF:0x4A58,0xE58B89:0x4A59, +0xE5A8A9:0x4A5A,0xE5BC81:0x4A5B,0xE99EAD:0x4A5C,0xE4BF9D:0x4A5D,0xE88897:0x4A5E, +0xE98BAA:0x4A5F,0xE59C83:0x4A60,0xE68D95:0x4A61,0xE6ADA9:0x4A62,0xE794AB:0x4A63, +0xE8A39C:0x4A64,0xE8BC94:0x4A65,0xE7A982:0x4A66,0xE58B9F:0x4A67,0xE5A293:0x4A68, +0xE68595:0x4A69,0xE6888A:0x4A6A,0xE69AAE:0x4A6B,0xE6AF8D:0x4A6C,0xE7B0BF:0x4A6D, +0xE88FA9:0x4A6E,0xE580A3:0x4A6F,0xE4BFB8:0x4A70,0xE58C85:0x4A71,0xE59186:0x4A72, +0xE5A0B1:0x4A73,0xE5A589:0x4A74,0xE5AE9D:0x4A75,0xE5B3B0:0x4A76,0xE5B3AF:0x4A77, +0xE5B4A9:0x4A78,0xE5BA96:0x4A79,0xE68AB1:0x4A7A,0xE68DA7:0x4A7B,0xE694BE:0x4A7C, +0xE696B9:0x4A7D,0xE69C8B:0x4A7E,0xE6B395:0x4B21,0xE6B3A1:0x4B22,0xE783B9:0x4B23, +0xE7A0B2:0x4B24,0xE7B8AB:0x4B25,0xE8839E:0x4B26,0xE88AB3:0x4B27,0xE8908C:0x4B28, +0xE893AC:0x4B29,0xE89C82:0x4B2A,0xE8A492:0x4B2B,0xE8A8AA:0x4B2C,0xE8B18A:0x4B2D, +0xE982A6:0x4B2E,0xE98B92:0x4B2F,0xE9A3BD:0x4B30,0xE9B3B3:0x4B31,0xE9B5AC:0x4B32, +0xE4B98F:0x4B33,0xE4BAA1:0x4B34,0xE5828D:0x4B35,0xE58996:0x4B36,0xE59D8A:0x4B37, +0xE5A6A8:0x4B38,0xE5B8BD:0x4B39,0xE5BF98:0x4B3A,0xE5BF99:0x4B3B,0xE688BF:0x4B3C, +0xE69AB4:0x4B3D,0xE69C9B:0x4B3E,0xE69F90:0x4B3F,0xE6A392:0x4B40,0xE58692:0x4B41, +0xE7B4A1:0x4B42,0xE882AA:0x4B43,0xE886A8:0x4B44,0xE8AC80:0x4B45,0xE8B28C:0x4B46, +0xE8B2BF:0x4B47,0xE989BE:0x4B48,0xE998B2:0x4B49,0xE590A0:0x4B4A,0xE9A0AC:0x4B4B, +0xE58C97:0x4B4C,0xE58395:0x4B4D,0xE58D9C:0x4B4E,0xE5A2A8:0x4B4F,0xE692B2:0x4B50, +0xE69CB4:0x4B51,0xE789A7:0x4B52,0xE79DA6:0x4B53,0xE7A986:0x4B54,0xE987A6:0x4B55, +0xE58B83:0x4B56,0xE6B2A1:0x4B57,0xE6AE86:0x4B58,0xE5A080:0x4B59,0xE5B98C:0x4B5A, +0xE5A594:0x4B5B,0xE69CAC:0x4B5C,0xE7BFBB:0x4B5D,0xE587A1:0x4B5E,0xE79B86:0x4B5F, +0xE691A9:0x4B60,0xE7A3A8:0x4B61,0xE9AD94:0x4B62,0xE9BABB:0x4B63,0xE59F8B:0x4B64, +0xE5A6B9:0x4B65,0xE698A7:0x4B66,0xE69E9A:0x4B67,0xE6AF8E:0x4B68,0xE593A9:0x4B69, +0xE6A799:0x4B6A,0xE5B995:0x4B6B,0xE8869C:0x4B6C,0xE69E95:0x4B6D,0xE9AEAA:0x4B6E, +0xE69FBE:0x4B6F,0xE9B192:0x4B70,0xE6A19D:0x4B71,0xE4BAA6:0x4B72,0xE4BFA3:0x4B73, +0xE58F88:0x4B74,0xE68AB9:0x4B75,0xE69CAB:0x4B76,0xE6B2AB:0x4B77,0xE8BF84:0x4B78, +0xE4BEAD:0x4B79,0xE7B9AD:0x4B7A,0xE9BABF:0x4B7B,0xE4B887:0x4B7C,0xE685A2:0x4B7D, +0xE6BA80:0x4B7E,0xE6BCAB:0x4C21,0xE89493:0x4C22,0xE591B3:0x4C23,0xE69CAA:0x4C24, +0xE9AD85:0x4C25,0xE5B7B3:0x4C26,0xE7AE95:0x4C27,0xE5B2AC:0x4C28,0xE5AF86:0x4C29, +0xE89C9C:0x4C2A,0xE6B98A:0x4C2B,0xE89391:0x4C2C,0xE7A894:0x4C2D,0xE88488:0x4C2E, +0xE5A699:0x4C2F,0xE7B28D:0x4C30,0xE6B091:0x4C31,0xE79CA0:0x4C32,0xE58B99:0x4C33, +0xE5A4A2:0x4C34,0xE784A1:0x4C35,0xE7899F:0x4C36,0xE79F9B:0x4C37,0xE99CA7:0x4C38, +0xE9B5A1:0x4C39,0xE6A48B:0x4C3A,0xE5A9BF:0x4C3B,0xE5A898:0x4C3C,0xE586A5:0x4C3D, +0xE5908D:0x4C3E,0xE591BD:0x4C3F,0xE6988E:0x4C40,0xE79B9F:0x4C41,0xE8BFB7:0x4C42, +0xE98A98:0x4C43,0xE9B3B4:0x4C44,0xE5A7AA:0x4C45,0xE7899D:0x4C46,0xE6BB85:0x4C47, +0xE5858D:0x4C48,0xE6A389:0x4C49,0xE7B6BF:0x4C4A,0xE7B7AC:0x4C4B,0xE99DA2:0x4C4C, +0xE9BABA:0x4C4D,0xE691B8:0x4C4E,0xE6A8A1:0x4C4F,0xE88C82:0x4C50,0xE5A684:0x4C51, +0xE5AD9F:0x4C52,0xE6AF9B:0x4C53,0xE78C9B:0x4C54,0xE79BB2:0x4C55,0xE7B6B2:0x4C56, +0xE88097:0x4C57,0xE89299:0x4C58,0xE584B2:0x4C59,0xE69CA8:0x4C5A,0xE9BB99:0x4C5B, +0xE79BAE:0x4C5C,0xE69DA2:0x4C5D,0xE58BBF:0x4C5E,0xE9A485:0x4C5F,0xE5B0A4:0x4C60, +0xE688BB:0x4C61,0xE7B1BE:0x4C62,0xE8B2B0:0x4C63,0xE5958F:0x4C64,0xE682B6:0x4C65, +0xE7B48B:0x4C66,0xE99680:0x4C67,0xE58C81:0x4C68,0xE4B99F:0x4C69,0xE586B6:0x4C6A, +0xE5A49C:0x4C6B,0xE788BA:0x4C6C,0xE880B6:0x4C6D,0xE9878E:0x4C6E,0xE5BCA5:0x4C6F, +0xE79FA2:0x4C70,0xE58E84:0x4C71,0xE5BDB9:0x4C72,0xE7B484:0x4C73,0xE896AC:0x4C74, +0xE8A8B3:0x4C75,0xE8BA8D:0x4C76,0xE99D96:0x4C77,0xE69FB3:0x4C78,0xE896AE:0x4C79, +0xE99193:0x4C7A,0xE68489:0x4C7B,0xE68488:0x4C7C,0xE6B2B9:0x4C7D,0xE79992:0x4C7E, +0xE8ABAD:0x4D21,0xE8BCB8:0x4D22,0xE594AF:0x4D23,0xE4BD91:0x4D24,0xE584AA:0x4D25, +0xE58B87:0x4D26,0xE58F8B:0x4D27,0xE5AEA5:0x4D28,0xE5B9BD:0x4D29,0xE682A0:0x4D2A, +0xE68682:0x4D2B,0xE68F96:0x4D2C,0xE69C89:0x4D2D,0xE69F9A:0x4D2E,0xE6B9A7:0x4D2F, +0xE6B68C:0x4D30,0xE78CB6:0x4D31,0xE78CB7:0x4D32,0xE794B1:0x4D33,0xE7A590:0x4D34, +0xE8A395:0x4D35,0xE8AA98:0x4D36,0xE9818A:0x4D37,0xE98291:0x4D38,0xE983B5:0x4D39, +0xE99B84:0x4D3A,0xE89E8D:0x4D3B,0xE5A495:0x4D3C,0xE4BA88:0x4D3D,0xE4BD99:0x4D3E, +0xE4B88E:0x4D3F,0xE8AA89:0x4D40,0xE8BCBF:0x4D41,0xE9A090:0x4D42,0xE582AD:0x4D43, +0xE5B9BC:0x4D44,0xE5A696:0x4D45,0xE5AEB9:0x4D46,0xE5BAB8:0x4D47,0xE68F9A:0x4D48, +0xE68FBA:0x4D49,0xE69381:0x4D4A,0xE69B9C:0x4D4B,0xE6A58A:0x4D4C,0xE6A798:0x4D4D, +0xE6B48B:0x4D4E,0xE6BAB6:0x4D4F,0xE78694:0x4D50,0xE794A8:0x4D51,0xE7AAAF:0x4D52, +0xE7BE8A:0x4D53,0xE88080:0x4D54,0xE89189:0x4D55,0xE89389:0x4D56,0xE8A681:0x4D57, +0xE8ACA1:0x4D58,0xE8B88A:0x4D59,0xE981A5:0x4D5A,0xE999BD:0x4D5B,0xE9A48A:0x4D5C, +0xE685BE:0x4D5D,0xE68A91:0x4D5E,0xE6ACB2:0x4D5F,0xE6B283:0x4D60,0xE6B5B4:0x4D61, +0xE7BF8C:0x4D62,0xE7BFBC:0x4D63,0xE6B780:0x4D64,0xE7BE85:0x4D65,0xE89EBA:0x4D66, +0xE8A3B8:0x4D67,0xE69DA5:0x4D68,0xE88EB1:0x4D69,0xE9A0BC:0x4D6A,0xE99BB7:0x4D6B, +0xE6B49B:0x4D6C,0xE7B5A1:0x4D6D,0xE890BD:0x4D6E,0xE985AA:0x4D6F,0xE4B9B1:0x4D70, +0xE58DB5:0x4D71,0xE5B590:0x4D72,0xE6AC84:0x4D73,0xE6BFAB:0x4D74,0xE8978D:0x4D75, +0xE898AD:0x4D76,0xE8A6A7:0x4D77,0xE588A9:0x4D78,0xE5908F:0x4D79,0xE5B1A5:0x4D7A, +0xE69D8E:0x4D7B,0xE6A2A8:0x4D7C,0xE79086:0x4D7D,0xE79283:0x4D7E,0xE797A2:0x4E21, +0xE8A38F:0x4E22,0xE8A3A1:0x4E23,0xE9878C:0x4E24,0xE99BA2:0x4E25,0xE999B8:0x4E26, +0xE5BE8B:0x4E27,0xE78E87:0x4E28,0xE7AB8B:0x4E29,0xE8918E:0x4E2A,0xE68EA0:0x4E2B, +0xE795A5:0x4E2C,0xE58A89:0x4E2D,0xE6B581:0x4E2E,0xE6BA9C:0x4E2F,0xE79089:0x4E30, +0xE79599:0x4E31,0xE7A1AB:0x4E32,0xE7B292:0x4E33,0xE99A86:0x4E34,0xE7AB9C:0x4E35, +0xE9BE8D:0x4E36,0xE4BEB6:0x4E37,0xE685AE:0x4E38,0xE69785:0x4E39,0xE8999C:0x4E3A, +0xE4BA86:0x4E3B,0xE4BAAE:0x4E3C,0xE5839A:0x4E3D,0xE4B8A1:0x4E3E,0xE5878C:0x4E3F, +0xE5AFAE:0x4E40,0xE69699:0x4E41,0xE6A281:0x4E42,0xE6B6BC:0x4E43,0xE78C9F:0x4E44, +0xE79982:0x4E45,0xE79EAD:0x4E46,0xE7A89C:0x4E47,0xE7B3A7:0x4E48,0xE889AF:0x4E49, +0xE8AB92:0x4E4A,0xE981BC:0x4E4B,0xE9878F:0x4E4C,0xE999B5:0x4E4D,0xE9A098:0x4E4E, +0xE58A9B:0x4E4F,0xE7B791:0x4E50,0xE580AB:0x4E51,0xE58E98:0x4E52,0xE69E97:0x4E53, +0xE6B78B:0x4E54,0xE78790:0x4E55,0xE790B3:0x4E56,0xE887A8:0x4E57,0xE8BCAA:0x4E58, +0xE99AA3:0x4E59,0xE9B197:0x4E5A,0xE9BA9F:0x4E5B,0xE791A0:0x4E5C,0xE5A181:0x4E5D, +0xE6B699:0x4E5E,0xE7B4AF:0x4E5F,0xE9A19E:0x4E60,0xE4BBA4:0x4E61,0xE4BCB6:0x4E62, +0xE4BE8B:0x4E63,0xE586B7:0x4E64,0xE58AB1:0x4E65,0xE5B6BA:0x4E66,0xE6809C:0x4E67, +0xE78EB2:0x4E68,0xE7A4BC:0x4E69,0xE88B93:0x4E6A,0xE988B4:0x4E6B,0xE99AB7:0x4E6C, +0xE99BB6:0x4E6D,0xE99C8A:0x4E6E,0xE9BA97:0x4E6F,0xE9BDA2:0x4E70,0xE69AA6:0x4E71, +0xE6ADB4:0x4E72,0xE58897:0x4E73,0xE58AA3:0x4E74,0xE78388:0x4E75,0xE8A382:0x4E76, +0xE5BB89:0x4E77,0xE6818B:0x4E78,0xE68690:0x4E79,0xE6BCA3:0x4E7A,0xE78589:0x4E7B, +0xE7B0BE:0x4E7C,0xE7B7B4:0x4E7D,0xE881AF:0x4E7E,0xE893AE:0x4F21,0xE980A3:0x4F22, +0xE98CAC:0x4F23,0xE59182:0x4F24,0xE9ADAF:0x4F25,0xE6AB93:0x4F26,0xE78289:0x4F27, +0xE8B382:0x4F28,0xE8B7AF:0x4F29,0xE99CB2:0x4F2A,0xE58AB4:0x4F2B,0xE5A981:0x4F2C, +0xE5BB8A:0x4F2D,0xE5BC84:0x4F2E,0xE69C97:0x4F2F,0xE6A5BC:0x4F30,0xE6A694:0x4F31, +0xE6B5AA:0x4F32,0xE6BC8F:0x4F33,0xE789A2:0x4F34,0xE78BBC:0x4F35,0xE7AFAD:0x4F36, +0xE88081:0x4F37,0xE881BE:0x4F38,0xE89D8B:0x4F39,0xE9838E:0x4F3A,0xE585AD:0x4F3B, +0xE9BA93:0x4F3C,0xE7A684:0x4F3D,0xE8828B:0x4F3E,0xE98CB2:0x4F3F,0xE8AB96:0x4F40, +0xE580AD:0x4F41,0xE5928C:0x4F42,0xE8A9B1:0x4F43,0xE6ADAA:0x4F44,0xE8B384:0x4F45, +0xE88487:0x4F46,0xE68391:0x4F47,0xE69EA0:0x4F48,0xE9B7B2:0x4F49,0xE4BA99:0x4F4A, +0xE4BA98:0x4F4B,0xE9B090:0x4F4C,0xE8A9AB:0x4F4D,0xE89781:0x4F4E,0xE895A8:0x4F4F, +0xE6A480:0x4F50,0xE6B9BE:0x4F51,0xE7A297:0x4F52,0xE88595:0x4F53,0xE5BC8C:0x5021, +0xE4B890:0x5022,0xE4B895:0x5023,0xE4B8AA:0x5024,0xE4B8B1:0x5025,0xE4B8B6:0x5026, +0xE4B8BC:0x5027,0xE4B8BF:0x5028,0xE4B982:0x5029,0xE4B996:0x502A,0xE4B998:0x502B, +0xE4BA82:0x502C,0xE4BA85:0x502D,0xE8B1AB:0x502E,0xE4BA8A:0x502F,0xE88892:0x5030, +0xE5BC8D:0x5031,0xE4BA8E:0x5032,0xE4BA9E:0x5033,0xE4BA9F:0x5034,0xE4BAA0:0x5035, +0xE4BAA2:0x5036,0xE4BAB0:0x5037,0xE4BAB3:0x5038,0xE4BAB6:0x5039,0xE4BB8E:0x503A, +0xE4BB8D:0x503B,0xE4BB84:0x503C,0xE4BB86:0x503D,0xE4BB82:0x503E,0xE4BB97:0x503F, +0xE4BB9E:0x5040,0xE4BBAD:0x5041,0xE4BB9F:0x5042,0xE4BBB7:0x5043,0xE4BC89:0x5044, +0xE4BD9A:0x5045,0xE4BCB0:0x5046,0xE4BD9B:0x5047,0xE4BD9D:0x5048,0xE4BD97:0x5049, +0xE4BD87:0x504A,0xE4BDB6:0x504B,0xE4BE88:0x504C,0xE4BE8F:0x504D,0xE4BE98:0x504E, +0xE4BDBB:0x504F,0xE4BDA9:0x5050,0xE4BDB0:0x5051,0xE4BE91:0x5052,0xE4BDAF:0x5053, +0xE4BE86:0x5054,0xE4BE96:0x5055,0xE58498:0x5056,0xE4BF94:0x5057,0xE4BF9F:0x5058, +0xE4BF8E:0x5059,0xE4BF98:0x505A,0xE4BF9B:0x505B,0xE4BF91:0x505C,0xE4BF9A:0x505D, +0xE4BF90:0x505E,0xE4BFA4:0x505F,0xE4BFA5:0x5060,0xE5809A:0x5061,0xE580A8:0x5062, +0xE58094:0x5063,0xE580AA:0x5064,0xE580A5:0x5065,0xE58085:0x5066,0xE4BC9C:0x5067, +0xE4BFB6:0x5068,0xE580A1:0x5069,0xE580A9:0x506A,0xE580AC:0x506B,0xE4BFBE:0x506C, +0xE4BFAF:0x506D,0xE58091:0x506E,0xE58086:0x506F,0xE58183:0x5070,0xE58187:0x5071, +0xE69C83:0x5072,0xE58195:0x5073,0xE58190:0x5074,0xE58188:0x5075,0xE5819A:0x5076, +0xE58196:0x5077,0xE581AC:0x5078,0xE581B8:0x5079,0xE58280:0x507A,0xE5829A:0x507B, +0xE58285:0x507C,0xE582B4:0x507D,0xE582B2:0x507E,0xE58389:0x5121,0xE5838A:0x5122, +0xE582B3:0x5123,0xE58382:0x5124,0xE58396:0x5125,0xE5839E:0x5126,0xE583A5:0x5127, +0xE583AD:0x5128,0xE583A3:0x5129,0xE583AE:0x512A,0xE583B9:0x512B,0xE583B5:0x512C, +0xE58489:0x512D,0xE58481:0x512E,0xE58482:0x512F,0xE58496:0x5130,0xE58495:0x5131, +0xE58494:0x5132,0xE5849A:0x5133,0xE584A1:0x5134,0xE584BA:0x5135,0xE584B7:0x5136, +0xE584BC:0x5137,0xE584BB:0x5138,0xE584BF:0x5139,0xE58580:0x513A,0xE58592:0x513B, +0xE5858C:0x513C,0xE58594:0x513D,0xE585A2:0x513E,0xE7ABB8:0x513F,0xE585A9:0x5140, +0xE585AA:0x5141,0xE585AE:0x5142,0xE58680:0x5143,0xE58682:0x5144,0xE59B98:0x5145, +0xE5868C:0x5146,0xE58689:0x5147,0xE5868F:0x5148,0xE58691:0x5149,0xE58693:0x514A, +0xE58695:0x514B,0xE58696:0x514C,0xE586A4:0x514D,0xE586A6:0x514E,0xE586A2:0x514F, +0xE586A9:0x5150,0xE586AA:0x5151,0xE586AB:0x5152,0xE586B3:0x5153,0xE586B1:0x5154, +0xE586B2:0x5155,0xE586B0:0x5156,0xE586B5:0x5157,0xE586BD:0x5158,0xE58785:0x5159, +0xE58789:0x515A,0xE5879B:0x515B,0xE587A0:0x515C,0xE89995:0x515D,0xE587A9:0x515E, +0xE587AD:0x515F,0xE587B0:0x5160,0xE587B5:0x5161,0xE587BE:0x5162,0xE58884:0x5163, +0xE5888B:0x5164,0xE58894:0x5165,0xE5888E:0x5166,0xE588A7:0x5167,0xE588AA:0x5168, +0xE588AE:0x5169,0xE588B3:0x516A,0xE588B9:0x516B,0xE5898F:0x516C,0xE58984:0x516D, +0xE5898B:0x516E,0xE5898C:0x516F,0xE5899E:0x5170,0xE58994:0x5171,0xE589AA:0x5172, +0xE589B4:0x5173,0xE589A9:0x5174,0xE589B3:0x5175,0xE589BF:0x5176,0xE589BD:0x5177, +0xE58A8D:0x5178,0xE58A94:0x5179,0xE58A92:0x517A,0xE589B1:0x517B,0xE58A88:0x517C, +0xE58A91:0x517D,0xE8BEA8:0x517E,0xE8BEA7:0x5221,0xE58AAC:0x5222,0xE58AAD:0x5223, +0xE58ABC:0x5224,0xE58AB5:0x5225,0xE58B81:0x5226,0xE58B8D:0x5227,0xE58B97:0x5228, +0xE58B9E:0x5229,0xE58BA3:0x522A,0xE58BA6:0x522B,0xE9A3AD:0x522C,0xE58BA0:0x522D, +0xE58BB3:0x522E,0xE58BB5:0x522F,0xE58BB8:0x5230,0xE58BB9:0x5231,0xE58C86:0x5232, +0xE58C88:0x5233,0xE794B8:0x5234,0xE58C8D:0x5235,0xE58C90:0x5236,0xE58C8F:0x5237, +0xE58C95:0x5238,0xE58C9A:0x5239,0xE58CA3:0x523A,0xE58CAF:0x523B,0xE58CB1:0x523C, +0xE58CB3:0x523D,0xE58CB8:0x523E,0xE58D80:0x523F,0xE58D86:0x5240,0xE58D85:0x5241, +0xE4B897:0x5242,0xE58D89:0x5243,0xE58D8D:0x5244,0xE58796:0x5245,0xE58D9E:0x5246, +0xE58DA9:0x5247,0xE58DAE:0x5248,0xE5A498:0x5249,0xE58DBB:0x524A,0xE58DB7:0x524B, +0xE58E82:0x524C,0xE58E96:0x524D,0xE58EA0:0x524E,0xE58EA6:0x524F,0xE58EA5:0x5250, +0xE58EAE:0x5251,0xE58EB0:0x5252,0xE58EB6:0x5253,0xE58F83:0x5254,0xE7B092:0x5255, +0xE99B99:0x5256,0xE58F9F:0x5257,0xE69BBC:0x5258,0xE787AE:0x5259,0xE58FAE:0x525A, +0xE58FA8:0x525B,0xE58FAD:0x525C,0xE58FBA:0x525D,0xE59081:0x525E,0xE590BD:0x525F, +0xE59180:0x5260,0xE590AC:0x5261,0xE590AD:0x5262,0xE590BC:0x5263,0xE590AE:0x5264, +0xE590B6:0x5265,0xE590A9:0x5266,0xE5909D:0x5267,0xE5918E:0x5268,0xE5928F:0x5269, +0xE591B5:0x526A,0xE5928E:0x526B,0xE5919F:0x526C,0xE591B1:0x526D,0xE591B7:0x526E, +0xE591B0:0x526F,0xE59292:0x5270,0xE591BB:0x5271,0xE59280:0x5272,0xE591B6:0x5273, +0xE59284:0x5274,0xE59290:0x5275,0xE59286:0x5276,0xE59387:0x5277,0xE592A2:0x5278, +0xE592B8:0x5279,0xE592A5:0x527A,0xE592AC:0x527B,0xE59384:0x527C,0xE59388:0x527D, +0xE592A8:0x527E,0xE592AB:0x5321,0xE59382:0x5322,0xE592A4:0x5323,0xE592BE:0x5324, +0xE592BC:0x5325,0xE59398:0x5326,0xE593A5:0x5327,0xE593A6:0x5328,0xE5948F:0x5329, +0xE59494:0x532A,0xE593BD:0x532B,0xE593AE:0x532C,0xE593AD:0x532D,0xE593BA:0x532E, +0xE593A2:0x532F,0xE594B9:0x5330,0xE59580:0x5331,0xE595A3:0x5332,0xE5958C:0x5333, +0xE594AE:0x5334,0xE5959C:0x5335,0xE59585:0x5336,0xE59596:0x5337,0xE59597:0x5338, +0xE594B8:0x5339,0xE594B3:0x533A,0xE5959D:0x533B,0xE59699:0x533C,0xE59680:0x533D, +0xE592AF:0x533E,0xE5968A:0x533F,0xE5969F:0x5340,0xE595BB:0x5341,0xE595BE:0x5342, +0xE59698:0x5343,0xE5969E:0x5344,0xE596AE:0x5345,0xE595BC:0x5346,0xE59683:0x5347, +0xE596A9:0x5348,0xE59687:0x5349,0xE596A8:0x534A,0xE5979A:0x534B,0xE59785:0x534C, +0xE5979F:0x534D,0xE59784:0x534E,0xE5979C:0x534F,0xE597A4:0x5350,0xE59794:0x5351, +0xE59894:0x5352,0xE597B7:0x5353,0xE59896:0x5354,0xE597BE:0x5355,0xE597BD:0x5356, +0xE5989B:0x5357,0xE597B9:0x5358,0xE5998E:0x5359,0xE59990:0x535A,0xE7879F:0x535B, +0xE598B4:0x535C,0xE598B6:0x535D,0xE598B2:0x535E,0xE598B8:0x535F,0xE599AB:0x5360, +0xE599A4:0x5361,0xE598AF:0x5362,0xE599AC:0x5363,0xE599AA:0x5364,0xE59A86:0x5365, +0xE59A80:0x5366,0xE59A8A:0x5367,0xE59AA0:0x5368,0xE59A94:0x5369,0xE59A8F:0x536A, +0xE59AA5:0x536B,0xE59AAE:0x536C,0xE59AB6:0x536D,0xE59AB4:0x536E,0xE59B82:0x536F, +0xE59ABC:0x5370,0xE59B81:0x5371,0xE59B83:0x5372,0xE59B80:0x5373,0xE59B88:0x5374, +0xE59B8E:0x5375,0xE59B91:0x5376,0xE59B93:0x5377,0xE59B97:0x5378,0xE59BAE:0x5379, +0xE59BB9:0x537A,0xE59C80:0x537B,0xE59BBF:0x537C,0xE59C84:0x537D,0xE59C89:0x537E, +0xE59C88:0x5421,0xE59C8B:0x5422,0xE59C8D:0x5423,0xE59C93:0x5424,0xE59C98:0x5425, +0xE59C96:0x5426,0xE59787:0x5427,0xE59C9C:0x5428,0xE59CA6:0x5429,0xE59CB7:0x542A, +0xE59CB8:0x542B,0xE59D8E:0x542C,0xE59CBB:0x542D,0xE59D80:0x542E,0xE59D8F:0x542F, +0xE59DA9:0x5430,0xE59F80:0x5431,0xE59E88:0x5432,0xE59DA1:0x5433,0xE59DBF:0x5434, +0xE59E89:0x5435,0xE59E93:0x5436,0xE59EA0:0x5437,0xE59EB3:0x5438,0xE59EA4:0x5439, +0xE59EAA:0x543A,0xE59EB0:0x543B,0xE59F83:0x543C,0xE59F86:0x543D,0xE59F94:0x543E, +0xE59F92:0x543F,0xE59F93:0x5440,0xE5A08A:0x5441,0xE59F96:0x5442,0xE59FA3:0x5443, +0xE5A08B:0x5444,0xE5A099:0x5445,0xE5A09D:0x5446,0xE5A1B2:0x5447,0xE5A0A1:0x5448, +0xE5A1A2:0x5449,0xE5A18B:0x544A,0xE5A1B0:0x544B,0xE6AF80:0x544C,0xE5A192:0x544D, +0xE5A0BD:0x544E,0xE5A1B9:0x544F,0xE5A285:0x5450,0xE5A2B9:0x5451,0xE5A29F:0x5452, +0xE5A2AB:0x5453,0xE5A2BA:0x5454,0xE5A39E:0x5455,0xE5A2BB:0x5456,0xE5A2B8:0x5457, +0xE5A2AE:0x5458,0xE5A385:0x5459,0xE5A393:0x545A,0xE5A391:0x545B,0xE5A397:0x545C, +0xE5A399:0x545D,0xE5A398:0x545E,0xE5A3A5:0x545F,0xE5A39C:0x5460,0xE5A3A4:0x5461, +0xE5A39F:0x5462,0xE5A3AF:0x5463,0xE5A3BA:0x5464,0xE5A3B9:0x5465,0xE5A3BB:0x5466, +0xE5A3BC:0x5467,0xE5A3BD:0x5468,0xE5A482:0x5469,0xE5A48A:0x546A,0xE5A490:0x546B, +0xE5A49B:0x546C,0xE6A2A6:0x546D,0xE5A4A5:0x546E,0xE5A4AC:0x546F,0xE5A4AD:0x5470, +0xE5A4B2:0x5471,0xE5A4B8:0x5472,0xE5A4BE:0x5473,0xE7AB92:0x5474,0xE5A595:0x5475, +0xE5A590:0x5476,0xE5A58E:0x5477,0xE5A59A:0x5478,0xE5A598:0x5479,0xE5A5A2:0x547A, +0xE5A5A0:0x547B,0xE5A5A7:0x547C,0xE5A5AC:0x547D,0xE5A5A9:0x547E,0xE5A5B8:0x5521, +0xE5A681:0x5522,0xE5A69D:0x5523,0xE4BD9E:0x5524,0xE4BEAB:0x5525,0xE5A6A3:0x5526, +0xE5A6B2:0x5527,0xE5A786:0x5528,0xE5A7A8:0x5529,0xE5A79C:0x552A,0xE5A68D:0x552B, +0xE5A799:0x552C,0xE5A79A:0x552D,0xE5A8A5:0x552E,0xE5A89F:0x552F,0xE5A891:0x5530, +0xE5A89C:0x5531,0xE5A889:0x5532,0xE5A89A:0x5533,0xE5A980:0x5534,0xE5A9AC:0x5535, +0xE5A989:0x5536,0xE5A8B5:0x5537,0xE5A8B6:0x5538,0xE5A9A2:0x5539,0xE5A9AA:0x553A, +0xE5AA9A:0x553B,0xE5AABC:0x553C,0xE5AABE:0x553D,0xE5AB8B:0x553E,0xE5AB82:0x553F, +0xE5AABD:0x5540,0xE5ABA3:0x5541,0xE5AB97:0x5542,0xE5ABA6:0x5543,0xE5ABA9:0x5544, +0xE5AB96:0x5545,0xE5ABBA:0x5546,0xE5ABBB:0x5547,0xE5AC8C:0x5548,0xE5AC8B:0x5549, +0xE5AC96:0x554A,0xE5ACB2:0x554B,0xE5AB90:0x554C,0xE5ACAA:0x554D,0xE5ACB6:0x554E, +0xE5ACBE:0x554F,0xE5AD83:0x5550,0xE5AD85:0x5551,0xE5AD80:0x5552,0xE5AD91:0x5553, +0xE5AD95:0x5554,0xE5AD9A:0x5555,0xE5AD9B:0x5556,0xE5ADA5:0x5557,0xE5ADA9:0x5558, +0xE5ADB0:0x5559,0xE5ADB3:0x555A,0xE5ADB5:0x555B,0xE5ADB8:0x555C,0xE69688:0x555D, +0xE5ADBA:0x555E,0xE5AE80:0x555F,0xE5AE83:0x5560,0xE5AEA6:0x5561,0xE5AEB8:0x5562, +0xE5AF83:0x5563,0xE5AF87:0x5564,0xE5AF89:0x5565,0xE5AF94:0x5566,0xE5AF90:0x5567, +0xE5AFA4:0x5568,0xE5AFA6:0x5569,0xE5AFA2:0x556A,0xE5AF9E:0x556B,0xE5AFA5:0x556C, +0xE5AFAB:0x556D,0xE5AFB0:0x556E,0xE5AFB6:0x556F,0xE5AFB3:0x5570,0xE5B085:0x5571, +0xE5B087:0x5572,0xE5B088:0x5573,0xE5B08D:0x5574,0xE5B093:0x5575,0xE5B0A0:0x5576, +0xE5B0A2:0x5577,0xE5B0A8:0x5578,0xE5B0B8:0x5579,0xE5B0B9:0x557A,0xE5B181:0x557B, +0xE5B186:0x557C,0xE5B18E:0x557D,0xE5B193:0x557E,0xE5B190:0x5621,0xE5B18F:0x5622, +0xE5ADB1:0x5623,0xE5B1AC:0x5624,0xE5B1AE:0x5625,0xE4B9A2:0x5626,0xE5B1B6:0x5627, +0xE5B1B9:0x5628,0xE5B28C:0x5629,0xE5B291:0x562A,0xE5B294:0x562B,0xE5A69B:0x562C, +0xE5B2AB:0x562D,0xE5B2BB:0x562E,0xE5B2B6:0x562F,0xE5B2BC:0x5630,0xE5B2B7:0x5631, +0xE5B385:0x5632,0xE5B2BE:0x5633,0xE5B387:0x5634,0xE5B399:0x5635,0xE5B3A9:0x5636, +0xE5B3BD:0x5637,0xE5B3BA:0x5638,0xE5B3AD:0x5639,0xE5B68C:0x563A,0xE5B3AA:0x563B, +0xE5B48B:0x563C,0xE5B495:0x563D,0xE5B497:0x563E,0xE5B59C:0x563F,0xE5B49F:0x5640, +0xE5B49B:0x5641,0xE5B491:0x5642,0xE5B494:0x5643,0xE5B4A2:0x5644,0xE5B49A:0x5645, +0xE5B499:0x5646,0xE5B498:0x5647,0xE5B58C:0x5648,0xE5B592:0x5649,0xE5B58E:0x564A, +0xE5B58B:0x564B,0xE5B5AC:0x564C,0xE5B5B3:0x564D,0xE5B5B6:0x564E,0xE5B687:0x564F, +0xE5B684:0x5650,0xE5B682:0x5651,0xE5B6A2:0x5652,0xE5B69D:0x5653,0xE5B6AC:0x5654, +0xE5B6AE:0x5655,0xE5B6BD:0x5656,0xE5B690:0x5657,0xE5B6B7:0x5658,0xE5B6BC:0x5659, +0xE5B789:0x565A,0xE5B78D:0x565B,0xE5B793:0x565C,0xE5B792:0x565D,0xE5B796:0x565E, +0xE5B79B:0x565F,0xE5B7AB:0x5660,0xE5B7B2:0x5661,0xE5B7B5:0x5662,0xE5B88B:0x5663, +0xE5B89A:0x5664,0xE5B899:0x5665,0xE5B891:0x5666,0xE5B89B:0x5667,0xE5B8B6:0x5668, +0xE5B8B7:0x5669,0xE5B984:0x566A,0xE5B983:0x566B,0xE5B980:0x566C,0xE5B98E:0x566D, +0xE5B997:0x566E,0xE5B994:0x566F,0xE5B99F:0x5670,0xE5B9A2:0x5671,0xE5B9A4:0x5672, +0xE5B987:0x5673,0xE5B9B5:0x5674,0xE5B9B6:0x5675,0xE5B9BA:0x5676,0xE9BABC:0x5677, +0xE5B9BF:0x5678,0xE5BAA0:0x5679,0xE5BB81:0x567A,0xE5BB82:0x567B,0xE5BB88:0x567C, +0xE5BB90:0x567D,0xE5BB8F:0x567E,0xE5BB96:0x5721,0xE5BBA3:0x5722,0xE5BB9D:0x5723, +0xE5BB9A:0x5724,0xE5BB9B:0x5725,0xE5BBA2:0x5726,0xE5BBA1:0x5727,0xE5BBA8:0x5728, +0xE5BBA9:0x5729,0xE5BBAC:0x572A,0xE5BBB1:0x572B,0xE5BBB3:0x572C,0xE5BBB0:0x572D, +0xE5BBB4:0x572E,0xE5BBB8:0x572F,0xE5BBBE:0x5730,0xE5BC83:0x5731,0xE5BC89:0x5732, +0xE5BD9D:0x5733,0xE5BD9C:0x5734,0xE5BC8B:0x5735,0xE5BC91:0x5736,0xE5BC96:0x5737, +0xE5BCA9:0x5738,0xE5BCAD:0x5739,0xE5BCB8:0x573A,0xE5BD81:0x573B,0xE5BD88:0x573C, +0xE5BD8C:0x573D,0xE5BD8E:0x573E,0xE5BCAF:0x573F,0xE5BD91:0x5740,0xE5BD96:0x5741, +0xE5BD97:0x5742,0xE5BD99:0x5743,0xE5BDA1:0x5744,0xE5BDAD:0x5745,0xE5BDB3:0x5746, +0xE5BDB7:0x5747,0xE5BE83:0x5748,0xE5BE82:0x5749,0xE5BDBF:0x574A,0xE5BE8A:0x574B, +0xE5BE88:0x574C,0xE5BE91:0x574D,0xE5BE87:0x574E,0xE5BE9E:0x574F,0xE5BE99:0x5750, +0xE5BE98:0x5751,0xE5BEA0:0x5752,0xE5BEA8:0x5753,0xE5BEAD:0x5754,0xE5BEBC:0x5755, +0xE5BF96:0x5756,0xE5BFBB:0x5757,0xE5BFA4:0x5758,0xE5BFB8:0x5759,0xE5BFB1:0x575A, +0xE5BF9D:0x575B,0xE682B3:0x575C,0xE5BFBF:0x575D,0xE680A1:0x575E,0xE681A0:0x575F, +0xE68099:0x5760,0xE68090:0x5761,0xE680A9:0x5762,0xE6808E:0x5763,0xE680B1:0x5764, +0xE6809B:0x5765,0xE68095:0x5766,0xE680AB:0x5767,0xE680A6:0x5768,0xE6808F:0x5769, +0xE680BA:0x576A,0xE6819A:0x576B,0xE68181:0x576C,0xE681AA:0x576D,0xE681B7:0x576E, +0xE6819F:0x576F,0xE6818A:0x5770,0xE68186:0x5771,0xE6818D:0x5772,0xE681A3:0x5773, +0xE68183:0x5774,0xE681A4:0x5775,0xE68182:0x5776,0xE681AC:0x5777,0xE681AB:0x5778, +0xE68199:0x5779,0xE68281:0x577A,0xE6828D:0x577B,0xE683A7:0x577C,0xE68283:0x577D, +0xE6829A:0x577E,0xE68284:0x5821,0xE6829B:0x5822,0xE68296:0x5823,0xE68297:0x5824, +0xE68292:0x5825,0xE682A7:0x5826,0xE6828B:0x5827,0xE683A1:0x5828,0xE682B8:0x5829, +0xE683A0:0x582A,0xE68393:0x582B,0xE682B4:0x582C,0xE5BFB0:0x582D,0xE682BD:0x582E, +0xE68386:0x582F,0xE682B5:0x5830,0xE68398:0x5831,0xE6858D:0x5832,0xE68495:0x5833, +0xE68486:0x5834,0xE683B6:0x5835,0xE683B7:0x5836,0xE68480:0x5837,0xE683B4:0x5838, +0xE683BA:0x5839,0xE68483:0x583A,0xE684A1:0x583B,0xE683BB:0x583C,0xE683B1:0x583D, +0xE6848D:0x583E,0xE6848E:0x583F,0xE68587:0x5840,0xE684BE:0x5841,0xE684A8:0x5842, +0xE684A7:0x5843,0xE6858A:0x5844,0xE684BF:0x5845,0xE684BC:0x5846,0xE684AC:0x5847, +0xE684B4:0x5848,0xE684BD:0x5849,0xE68582:0x584A,0xE68584:0x584B,0xE685B3:0x584C, +0xE685B7:0x584D,0xE68598:0x584E,0xE68599:0x584F,0xE6859A:0x5850,0xE685AB:0x5851, +0xE685B4:0x5852,0xE685AF:0x5853,0xE685A5:0x5854,0xE685B1:0x5855,0xE6859F:0x5856, +0xE6859D:0x5857,0xE68593:0x5858,0xE685B5:0x5859,0xE68699:0x585A,0xE68696:0x585B, +0xE68687:0x585C,0xE686AC:0x585D,0xE68694:0x585E,0xE6869A:0x585F,0xE6868A:0x5860, +0xE68691:0x5861,0xE686AB:0x5862,0xE686AE:0x5863,0xE6878C:0x5864,0xE6878A:0x5865, +0xE68789:0x5866,0xE687B7:0x5867,0xE68788:0x5868,0xE68783:0x5869,0xE68786:0x586A, +0xE686BA:0x586B,0xE6878B:0x586C,0xE7BDB9:0x586D,0xE6878D:0x586E,0xE687A6:0x586F, +0xE687A3:0x5870,0xE687B6:0x5871,0xE687BA:0x5872,0xE687B4:0x5873,0xE687BF:0x5874, +0xE687BD:0x5875,0xE687BC:0x5876,0xE687BE:0x5877,0xE68880:0x5878,0xE68888:0x5879, +0xE68889:0x587A,0xE6888D:0x587B,0xE6888C:0x587C,0xE68894:0x587D,0xE6889B:0x587E, +0xE6889E:0x5921,0xE688A1:0x5922,0xE688AA:0x5923,0xE688AE:0x5924,0xE688B0:0x5925, +0xE688B2:0x5926,0xE688B3:0x5927,0xE68981:0x5928,0xE6898E:0x5929,0xE6899E:0x592A, +0xE689A3:0x592B,0xE6899B:0x592C,0xE689A0:0x592D,0xE689A8:0x592E,0xE689BC:0x592F, +0xE68A82:0x5930,0xE68A89:0x5931,0xE689BE:0x5932,0xE68A92:0x5933,0xE68A93:0x5934, +0xE68A96:0x5935,0xE68B94:0x5936,0xE68A83:0x5937,0xE68A94:0x5938,0xE68B97:0x5939, +0xE68B91:0x593A,0xE68ABB:0x593B,0xE68B8F:0x593C,0xE68BBF:0x593D,0xE68B86:0x593E, +0xE69394:0x593F,0xE68B88:0x5940,0xE68B9C:0x5941,0xE68B8C:0x5942,0xE68B8A:0x5943, +0xE68B82:0x5944,0xE68B87:0x5945,0xE68A9B:0x5946,0xE68B89:0x5947,0xE68C8C:0x5948, +0xE68BAE:0x5949,0xE68BB1:0x594A,0xE68CA7:0x594B,0xE68C82:0x594C,0xE68C88:0x594D, +0xE68BAF:0x594E,0xE68BB5:0x594F,0xE68D90:0x5950,0xE68CBE:0x5951,0xE68D8D:0x5952, +0xE6909C:0x5953,0xE68D8F:0x5954,0xE68E96:0x5955,0xE68E8E:0x5956,0xE68E80:0x5957, +0xE68EAB:0x5958,0xE68DB6:0x5959,0xE68EA3:0x595A,0xE68E8F:0x595B,0xE68E89:0x595C, +0xE68E9F:0x595D,0xE68EB5:0x595E,0xE68DAB:0x595F,0xE68DA9:0x5960,0xE68EBE:0x5961, +0xE68FA9:0x5962,0xE68F80:0x5963,0xE68F86:0x5964,0xE68FA3:0x5965,0xE68F89:0x5966, +0xE68F92:0x5967,0xE68FB6:0x5968,0xE68F84:0x5969,0xE69096:0x596A,0xE690B4:0x596B, +0xE69086:0x596C,0xE69093:0x596D,0xE690A6:0x596E,0xE690B6:0x596F,0xE6949D:0x5970, +0xE69097:0x5971,0xE690A8:0x5972,0xE6908F:0x5973,0xE691A7:0x5974,0xE691AF:0x5975, +0xE691B6:0x5976,0xE6918E:0x5977,0xE694AA:0x5978,0xE69295:0x5979,0xE69293:0x597A, +0xE692A5:0x597B,0xE692A9:0x597C,0xE69288:0x597D,0xE692BC:0x597E,0xE6939A:0x5A21, +0xE69392:0x5A22,0xE69385:0x5A23,0xE69387:0x5A24,0xE692BB:0x5A25,0xE69398:0x5A26, +0xE69382:0x5A27,0xE693B1:0x5A28,0xE693A7:0x5A29,0xE88889:0x5A2A,0xE693A0:0x5A2B, +0xE693A1:0x5A2C,0xE68AAC:0x5A2D,0xE693A3:0x5A2E,0xE693AF:0x5A2F,0xE694AC:0x5A30, +0xE693B6:0x5A31,0xE693B4:0x5A32,0xE693B2:0x5A33,0xE693BA:0x5A34,0xE69480:0x5A35, +0xE693BD:0x5A36,0xE69498:0x5A37,0xE6949C:0x5A38,0xE69485:0x5A39,0xE694A4:0x5A3A, +0xE694A3:0x5A3B,0xE694AB:0x5A3C,0xE694B4:0x5A3D,0xE694B5:0x5A3E,0xE694B7:0x5A3F, +0xE694B6:0x5A40,0xE694B8:0x5A41,0xE7958B:0x5A42,0xE69588:0x5A43,0xE69596:0x5A44, +0xE69595:0x5A45,0xE6958D:0x5A46,0xE69598:0x5A47,0xE6959E:0x5A48,0xE6959D:0x5A49, +0xE695B2:0x5A4A,0xE695B8:0x5A4B,0xE69682:0x5A4C,0xE69683:0x5A4D,0xE8AE8A:0x5A4E, +0xE6969B:0x5A4F,0xE6969F:0x5A50,0xE696AB:0x5A51,0xE696B7:0x5A52,0xE69783:0x5A53, +0xE69786:0x5A54,0xE69781:0x5A55,0xE69784:0x5A56,0xE6978C:0x5A57,0xE69792:0x5A58, +0xE6979B:0x5A59,0xE69799:0x5A5A,0xE697A0:0x5A5B,0xE697A1:0x5A5C,0xE697B1:0x5A5D, +0xE69DB2:0x5A5E,0xE6988A:0x5A5F,0xE69883:0x5A60,0xE697BB:0x5A61,0xE69DB3:0x5A62, +0xE698B5:0x5A63,0xE698B6:0x5A64,0xE698B4:0x5A65,0xE6989C:0x5A66,0xE6998F:0x5A67, +0xE69984:0x5A68,0xE69989:0x5A69,0xE69981:0x5A6A,0xE6999E:0x5A6B,0xE6999D:0x5A6C, +0xE699A4:0x5A6D,0xE699A7:0x5A6E,0xE699A8:0x5A6F,0xE6999F:0x5A70,0xE699A2:0x5A71, +0xE699B0:0x5A72,0xE69A83:0x5A73,0xE69A88:0x5A74,0xE69A8E:0x5A75,0xE69A89:0x5A76, +0xE69A84:0x5A77,0xE69A98:0x5A78,0xE69A9D:0x5A79,0xE69B81:0x5A7A,0xE69AB9:0x5A7B, +0xE69B89:0x5A7C,0xE69ABE:0x5A7D,0xE69ABC:0x5A7E,0xE69B84:0x5B21,0xE69AB8:0x5B22, +0xE69B96:0x5B23,0xE69B9A:0x5B24,0xE69BA0:0x5B25,0xE698BF:0x5B26,0xE69BA6:0x5B27, +0xE69BA9:0x5B28,0xE69BB0:0x5B29,0xE69BB5:0x5B2A,0xE69BB7:0x5B2B,0xE69C8F:0x5B2C, +0xE69C96:0x5B2D,0xE69C9E:0x5B2E,0xE69CA6:0x5B2F,0xE69CA7:0x5B30,0xE99CB8:0x5B31, +0xE69CAE:0x5B32,0xE69CBF:0x5B33,0xE69CB6:0x5B34,0xE69D81:0x5B35,0xE69CB8:0x5B36, +0xE69CB7:0x5B37,0xE69D86:0x5B38,0xE69D9E:0x5B39,0xE69DA0:0x5B3A,0xE69D99:0x5B3B, +0xE69DA3:0x5B3C,0xE69DA4:0x5B3D,0xE69E89:0x5B3E,0xE69DB0:0x5B3F,0xE69EA9:0x5B40, +0xE69DBC:0x5B41,0xE69DAA:0x5B42,0xE69E8C:0x5B43,0xE69E8B:0x5B44,0xE69EA6:0x5B45, +0xE69EA1:0x5B46,0xE69E85:0x5B47,0xE69EB7:0x5B48,0xE69FAF:0x5B49,0xE69EB4:0x5B4A, +0xE69FAC:0x5B4B,0xE69EB3:0x5B4C,0xE69FA9:0x5B4D,0xE69EB8:0x5B4E,0xE69FA4:0x5B4F, +0xE69F9E:0x5B50,0xE69F9D:0x5B51,0xE69FA2:0x5B52,0xE69FAE:0x5B53,0xE69EB9:0x5B54, +0xE69F8E:0x5B55,0xE69F86:0x5B56,0xE69FA7:0x5B57,0xE6AA9C:0x5B58,0xE6A09E:0x5B59, +0xE6A186:0x5B5A,0xE6A0A9:0x5B5B,0xE6A180:0x5B5C,0xE6A18D:0x5B5D,0xE6A0B2:0x5B5E, +0xE6A18E:0x5B5F,0xE6A2B3:0x5B60,0xE6A0AB:0x5B61,0xE6A199:0x5B62,0xE6A1A3:0x5B63, +0xE6A1B7:0x5B64,0xE6A1BF:0x5B65,0xE6A29F:0x5B66,0xE6A28F:0x5B67,0xE6A2AD:0x5B68, +0xE6A294:0x5B69,0xE6A29D:0x5B6A,0xE6A29B:0x5B6B,0xE6A283:0x5B6C,0xE6AAAE:0x5B6D, +0xE6A2B9:0x5B6E,0xE6A1B4:0x5B6F,0xE6A2B5:0x5B70,0xE6A2A0:0x5B71,0xE6A2BA:0x5B72, +0xE6A48F:0x5B73,0xE6A28D:0x5B74,0xE6A1BE:0x5B75,0xE6A481:0x5B76,0xE6A38A:0x5B77, +0xE6A488:0x5B78,0xE6A398:0x5B79,0xE6A4A2:0x5B7A,0xE6A4A6:0x5B7B,0xE6A3A1:0x5B7C, +0xE6A48C:0x5B7D,0xE6A38D:0x5B7E,0xE6A394:0x5C21,0xE6A3A7:0x5C22,0xE6A395:0x5C23, +0xE6A4B6:0x5C24,0xE6A492:0x5C25,0xE6A484:0x5C26,0xE6A397:0x5C27,0xE6A3A3:0x5C28, +0xE6A4A5:0x5C29,0xE6A3B9:0x5C2A,0xE6A3A0:0x5C2B,0xE6A3AF:0x5C2C,0xE6A4A8:0x5C2D, +0xE6A4AA:0x5C2E,0xE6A49A:0x5C2F,0xE6A4A3:0x5C30,0xE6A4A1:0x5C31,0xE6A386:0x5C32, +0xE6A5B9:0x5C33,0xE6A5B7:0x5C34,0xE6A59C:0x5C35,0xE6A5B8:0x5C36,0xE6A5AB:0x5C37, +0xE6A594:0x5C38,0xE6A5BE:0x5C39,0xE6A5AE:0x5C3A,0xE6A4B9:0x5C3B,0xE6A5B4:0x5C3C, +0xE6A4BD:0x5C3D,0xE6A599:0x5C3E,0xE6A4B0:0x5C3F,0xE6A5A1:0x5C40,0xE6A59E:0x5C41, +0xE6A59D:0x5C42,0xE6A681:0x5C43,0xE6A5AA:0x5C44,0xE6A6B2:0x5C45,0xE6A6AE:0x5C46, +0xE6A790:0x5C47,0xE6A6BF:0x5C48,0xE6A781:0x5C49,0xE6A793:0x5C4A,0xE6A6BE:0x5C4B, +0xE6A78E:0x5C4C,0xE5AFA8:0x5C4D,0xE6A78A:0x5C4E,0xE6A79D:0x5C4F,0xE6A6BB:0x5C50, +0xE6A783:0x5C51,0xE6A6A7:0x5C52,0xE6A8AE:0x5C53,0xE6A691:0x5C54,0xE6A6A0:0x5C55, +0xE6A69C:0x5C56,0xE6A695:0x5C57,0xE6A6B4:0x5C58,0xE6A79E:0x5C59,0xE6A7A8:0x5C5A, +0xE6A882:0x5C5B,0xE6A89B:0x5C5C,0xE6A7BF:0x5C5D,0xE6AC8A:0x5C5E,0xE6A7B9:0x5C5F, +0xE6A7B2:0x5C60,0xE6A7A7:0x5C61,0xE6A885:0x5C62,0xE6A6B1:0x5C63,0xE6A89E:0x5C64, +0xE6A7AD:0x5C65,0xE6A894:0x5C66,0xE6A7AB:0x5C67,0xE6A88A:0x5C68,0xE6A892:0x5C69, +0xE6AB81:0x5C6A,0xE6A8A3:0x5C6B,0xE6A893:0x5C6C,0xE6A984:0x5C6D,0xE6A88C:0x5C6E, +0xE6A9B2:0x5C6F,0xE6A8B6:0x5C70,0xE6A9B8:0x5C71,0xE6A987:0x5C72,0xE6A9A2:0x5C73, +0xE6A999:0x5C74,0xE6A9A6:0x5C75,0xE6A988:0x5C76,0xE6A8B8:0x5C77,0xE6A8A2:0x5C78, +0xE6AA90:0x5C79,0xE6AA8D:0x5C7A,0xE6AAA0:0x5C7B,0xE6AA84:0x5C7C,0xE6AAA2:0x5C7D, +0xE6AAA3:0x5C7E,0xE6AA97:0x5D21,0xE89897:0x5D22,0xE6AABB:0x5D23,0xE6AB83:0x5D24, +0xE6AB82:0x5D25,0xE6AAB8:0x5D26,0xE6AAB3:0x5D27,0xE6AAAC:0x5D28,0xE6AB9E:0x5D29, +0xE6AB91:0x5D2A,0xE6AB9F:0x5D2B,0xE6AAAA:0x5D2C,0xE6AB9A:0x5D2D,0xE6ABAA:0x5D2E, +0xE6ABBB:0x5D2F,0xE6AC85:0x5D30,0xE89896:0x5D31,0xE6ABBA:0x5D32,0xE6AC92:0x5D33, +0xE6AC96:0x5D34,0xE9ACB1:0x5D35,0xE6AC9F:0x5D36,0xE6ACB8:0x5D37,0xE6ACB7:0x5D38, +0xE79B9C:0x5D39,0xE6ACB9:0x5D3A,0xE9A3AE:0x5D3B,0xE6AD87:0x5D3C,0xE6AD83:0x5D3D, +0xE6AD89:0x5D3E,0xE6AD90:0x5D3F,0xE6AD99:0x5D40,0xE6AD94:0x5D41,0xE6AD9B:0x5D42, +0xE6AD9F:0x5D43,0xE6ADA1:0x5D44,0xE6ADB8:0x5D45,0xE6ADB9:0x5D46,0xE6ADBF:0x5D47, +0xE6AE80:0x5D48,0xE6AE84:0x5D49,0xE6AE83:0x5D4A,0xE6AE8D:0x5D4B,0xE6AE98:0x5D4C, +0xE6AE95:0x5D4D,0xE6AE9E:0x5D4E,0xE6AEA4:0x5D4F,0xE6AEAA:0x5D50,0xE6AEAB:0x5D51, +0xE6AEAF:0x5D52,0xE6AEB2:0x5D53,0xE6AEB1:0x5D54,0xE6AEB3:0x5D55,0xE6AEB7:0x5D56, +0xE6AEBC:0x5D57,0xE6AF86:0x5D58,0xE6AF8B:0x5D59,0xE6AF93:0x5D5A,0xE6AF9F:0x5D5B, +0xE6AFAC:0x5D5C,0xE6AFAB:0x5D5D,0xE6AFB3:0x5D5E,0xE6AFAF:0x5D5F,0xE9BABE:0x5D60, +0xE6B088:0x5D61,0xE6B093:0x5D62,0xE6B094:0x5D63,0xE6B09B:0x5D64,0xE6B0A4:0x5D65, +0xE6B0A3:0x5D66,0xE6B19E:0x5D67,0xE6B195:0x5D68,0xE6B1A2:0x5D69,0xE6B1AA:0x5D6A, +0xE6B282:0x5D6B,0xE6B28D:0x5D6C,0xE6B29A:0x5D6D,0xE6B281:0x5D6E,0xE6B29B:0x5D6F, +0xE6B1BE:0x5D70,0xE6B1A8:0x5D71,0xE6B1B3:0x5D72,0xE6B292:0x5D73,0xE6B290:0x5D74, +0xE6B384:0x5D75,0xE6B3B1:0x5D76,0xE6B393:0x5D77,0xE6B2BD:0x5D78,0xE6B397:0x5D79, +0xE6B385:0x5D7A,0xE6B39D:0x5D7B,0xE6B2AE:0x5D7C,0xE6B2B1:0x5D7D,0xE6B2BE:0x5D7E, +0xE6B2BA:0x5E21,0xE6B39B:0x5E22,0xE6B3AF:0x5E23,0xE6B399:0x5E24,0xE6B3AA:0x5E25, +0xE6B49F:0x5E26,0xE8A18D:0x5E27,0xE6B4B6:0x5E28,0xE6B4AB:0x5E29,0xE6B4BD:0x5E2A, +0xE6B4B8:0x5E2B,0xE6B499:0x5E2C,0xE6B4B5:0x5E2D,0xE6B4B3:0x5E2E,0xE6B492:0x5E2F, +0xE6B48C:0x5E30,0xE6B5A3:0x5E31,0xE6B693:0x5E32,0xE6B5A4:0x5E33,0xE6B59A:0x5E34, +0xE6B5B9:0x5E35,0xE6B599:0x5E36,0xE6B68E:0x5E37,0xE6B695:0x5E38,0xE6BFA4:0x5E39, +0xE6B685:0x5E3A,0xE6B7B9:0x5E3B,0xE6B895:0x5E3C,0xE6B88A:0x5E3D,0xE6B6B5:0x5E3E, +0xE6B787:0x5E3F,0xE6B7A6:0x5E40,0xE6B6B8:0x5E41,0xE6B786:0x5E42,0xE6B7AC:0x5E43, +0xE6B79E:0x5E44,0xE6B78C:0x5E45,0xE6B7A8:0x5E46,0xE6B792:0x5E47,0xE6B785:0x5E48, +0xE6B7BA:0x5E49,0xE6B799:0x5E4A,0xE6B7A4:0x5E4B,0xE6B795:0x5E4C,0xE6B7AA:0x5E4D, +0xE6B7AE:0x5E4E,0xE6B8AD:0x5E4F,0xE6B9AE:0x5E50,0xE6B8AE:0x5E51,0xE6B899:0x5E52, +0xE6B9B2:0x5E53,0xE6B99F:0x5E54,0xE6B8BE:0x5E55,0xE6B8A3:0x5E56,0xE6B9AB:0x5E57, +0xE6B8AB:0x5E58,0xE6B9B6:0x5E59,0xE6B98D:0x5E5A,0xE6B89F:0x5E5B,0xE6B983:0x5E5C, +0xE6B8BA:0x5E5D,0xE6B98E:0x5E5E,0xE6B8A4:0x5E5F,0xE6BBBF:0x5E60,0xE6B89D:0x5E61, +0xE6B8B8:0x5E62,0xE6BA82:0x5E63,0xE6BAAA:0x5E64,0xE6BA98:0x5E65,0xE6BB89:0x5E66, +0xE6BAB7:0x5E67,0xE6BB93:0x5E68,0xE6BABD:0x5E69,0xE6BAAF:0x5E6A,0xE6BB84:0x5E6B, +0xE6BAB2:0x5E6C,0xE6BB94:0x5E6D,0xE6BB95:0x5E6E,0xE6BA8F:0x5E6F,0xE6BAA5:0x5E70, +0xE6BB82:0x5E71,0xE6BA9F:0x5E72,0xE6BD81:0x5E73,0xE6BC91:0x5E74,0xE7818C:0x5E75, +0xE6BBAC:0x5E76,0xE6BBB8:0x5E77,0xE6BBBE:0x5E78,0xE6BCBF:0x5E79,0xE6BBB2:0x5E7A, +0xE6BCB1:0x5E7B,0xE6BBAF:0x5E7C,0xE6BCB2:0x5E7D,0xE6BB8C:0x5E7E,0xE6BCBE:0x5F21, +0xE6BC93:0x5F22,0xE6BBB7:0x5F23,0xE6BE86:0x5F24,0xE6BDBA:0x5F25,0xE6BDB8:0x5F26, +0xE6BE81:0x5F27,0xE6BE80:0x5F28,0xE6BDAF:0x5F29,0xE6BD9B:0x5F2A,0xE6BFB3:0x5F2B, +0xE6BDAD:0x5F2C,0xE6BE82:0x5F2D,0xE6BDBC:0x5F2E,0xE6BD98:0x5F2F,0xE6BE8E:0x5F30, +0xE6BE91:0x5F31,0xE6BF82:0x5F32,0xE6BDA6:0x5F33,0xE6BEB3:0x5F34,0xE6BEA3:0x5F35, +0xE6BEA1:0x5F36,0xE6BEA4:0x5F37,0xE6BEB9:0x5F38,0xE6BF86:0x5F39,0xE6BEAA:0x5F3A, +0xE6BF9F:0x5F3B,0xE6BF95:0x5F3C,0xE6BFAC:0x5F3D,0xE6BF94:0x5F3E,0xE6BF98:0x5F3F, +0xE6BFB1:0x5F40,0xE6BFAE:0x5F41,0xE6BF9B:0x5F42,0xE78089:0x5F43,0xE7808B:0x5F44, +0xE6BFBA:0x5F45,0xE78091:0x5F46,0xE78081:0x5F47,0xE7808F:0x5F48,0xE6BFBE:0x5F49, +0xE7809B:0x5F4A,0xE7809A:0x5F4B,0xE6BDB4:0x5F4C,0xE7809D:0x5F4D,0xE78098:0x5F4E, +0xE7809F:0x5F4F,0xE780B0:0x5F50,0xE780BE:0x5F51,0xE780B2:0x5F52,0xE78191:0x5F53, +0xE781A3:0x5F54,0xE78299:0x5F55,0xE78292:0x5F56,0xE782AF:0x5F57,0xE783B1:0x5F58, +0xE782AC:0x5F59,0xE782B8:0x5F5A,0xE782B3:0x5F5B,0xE782AE:0x5F5C,0xE7839F:0x5F5D, +0xE7838B:0x5F5E,0xE7839D:0x5F5F,0xE78399:0x5F60,0xE78489:0x5F61,0xE783BD:0x5F62, +0xE7849C:0x5F63,0xE78499:0x5F64,0xE785A5:0x5F65,0xE78595:0x5F66,0xE78688:0x5F67, +0xE785A6:0x5F68,0xE785A2:0x5F69,0xE7858C:0x5F6A,0xE78596:0x5F6B,0xE785AC:0x5F6C, +0xE7868F:0x5F6D,0xE787BB:0x5F6E,0xE78684:0x5F6F,0xE78695:0x5F70,0xE786A8:0x5F71, +0xE786AC:0x5F72,0xE78797:0x5F73,0xE786B9:0x5F74,0xE786BE:0x5F75,0xE78792:0x5F76, +0xE78789:0x5F77,0xE78794:0x5F78,0xE7878E:0x5F79,0xE787A0:0x5F7A,0xE787AC:0x5F7B, +0xE787A7:0x5F7C,0xE787B5:0x5F7D,0xE787BC:0x5F7E,0xE787B9:0x6021,0xE787BF:0x6022, +0xE7888D:0x6023,0xE78890:0x6024,0xE7889B:0x6025,0xE788A8:0x6026,0xE788AD:0x6027, +0xE788AC:0x6028,0xE788B0:0x6029,0xE788B2:0x602A,0xE788BB:0x602B,0xE788BC:0x602C, +0xE788BF:0x602D,0xE78980:0x602E,0xE78986:0x602F,0xE7898B:0x6030,0xE78998:0x6031, +0xE789B4:0x6032,0xE789BE:0x6033,0xE78A82:0x6034,0xE78A81:0x6035,0xE78A87:0x6036, +0xE78A92:0x6037,0xE78A96:0x6038,0xE78AA2:0x6039,0xE78AA7:0x603A,0xE78AB9:0x603B, +0xE78AB2:0x603C,0xE78B83:0x603D,0xE78B86:0x603E,0xE78B84:0x603F,0xE78B8E:0x6040, +0xE78B92:0x6041,0xE78BA2:0x6042,0xE78BA0:0x6043,0xE78BA1:0x6044,0xE78BB9:0x6045, +0xE78BB7:0x6046,0xE5808F:0x6047,0xE78C97:0x6048,0xE78C8A:0x6049,0xE78C9C:0x604A, +0xE78C96:0x604B,0xE78C9D:0x604C,0xE78CB4:0x604D,0xE78CAF:0x604E,0xE78CA9:0x604F, +0xE78CA5:0x6050,0xE78CBE:0x6051,0xE78D8E:0x6052,0xE78D8F:0x6053,0xE9BB98:0x6054, +0xE78D97:0x6055,0xE78DAA:0x6056,0xE78DA8:0x6057,0xE78DB0:0x6058,0xE78DB8:0x6059, +0xE78DB5:0x605A,0xE78DBB:0x605B,0xE78DBA:0x605C,0xE78F88:0x605D,0xE78EB3:0x605E, +0xE78F8E:0x605F,0xE78EBB:0x6060,0xE78F80:0x6061,0xE78FA5:0x6062,0xE78FAE:0x6063, +0xE78F9E:0x6064,0xE792A2:0x6065,0xE79085:0x6066,0xE791AF:0x6067,0xE790A5:0x6068, +0xE78FB8:0x6069,0xE790B2:0x606A,0xE790BA:0x606B,0xE79195:0x606C,0xE790BF:0x606D, +0xE7919F:0x606E,0xE79199:0x606F,0xE79181:0x6070,0xE7919C:0x6071,0xE791A9:0x6072, +0xE791B0:0x6073,0xE791A3:0x6074,0xE791AA:0x6075,0xE791B6:0x6076,0xE791BE:0x6077, +0xE7928B:0x6078,0xE7929E:0x6079,0xE792A7:0x607A,0xE7938A:0x607B,0xE7938F:0x607C, +0xE79394:0x607D,0xE78FB1:0x607E,0xE793A0:0x6121,0xE793A3:0x6122,0xE793A7:0x6123, +0xE793A9:0x6124,0xE793AE:0x6125,0xE793B2:0x6126,0xE793B0:0x6127,0xE793B1:0x6128, +0xE793B8:0x6129,0xE793B7:0x612A,0xE79484:0x612B,0xE79483:0x612C,0xE79485:0x612D, +0xE7948C:0x612E,0xE7948E:0x612F,0xE7948D:0x6130,0xE79495:0x6131,0xE79493:0x6132, +0xE7949E:0x6133,0xE794A6:0x6134,0xE794AC:0x6135,0xE794BC:0x6136,0xE79584:0x6137, +0xE7958D:0x6138,0xE7958A:0x6139,0xE79589:0x613A,0xE7959B:0x613B,0xE79586:0x613C, +0xE7959A:0x613D,0xE795A9:0x613E,0xE795A4:0x613F,0xE795A7:0x6140,0xE795AB:0x6141, +0xE795AD:0x6142,0xE795B8:0x6143,0xE795B6:0x6144,0xE79686:0x6145,0xE79687:0x6146, +0xE795B4:0x6147,0xE7968A:0x6148,0xE79689:0x6149,0xE79682:0x614A,0xE79694:0x614B, +0xE7969A:0x614C,0xE7969D:0x614D,0xE796A5:0x614E,0xE796A3:0x614F,0xE79782:0x6150, +0xE796B3:0x6151,0xE79783:0x6152,0xE796B5:0x6153,0xE796BD:0x6154,0xE796B8:0x6155, +0xE796BC:0x6156,0xE796B1:0x6157,0xE7978D:0x6158,0xE7978A:0x6159,0xE79792:0x615A, +0xE79799:0x615B,0xE797A3:0x615C,0xE7979E:0x615D,0xE797BE:0x615E,0xE797BF:0x615F, +0xE797BC:0x6160,0xE79881:0x6161,0xE797B0:0x6162,0xE797BA:0x6163,0xE797B2:0x6164, +0xE797B3:0x6165,0xE7988B:0x6166,0xE7988D:0x6167,0xE79889:0x6168,0xE7989F:0x6169, +0xE798A7:0x616A,0xE798A0:0x616B,0xE798A1:0x616C,0xE798A2:0x616D,0xE798A4:0x616E, +0xE798B4:0x616F,0xE798B0:0x6170,0xE798BB:0x6171,0xE79987:0x6172,0xE79988:0x6173, +0xE79986:0x6174,0xE7999C:0x6175,0xE79998:0x6176,0xE799A1:0x6177,0xE799A2:0x6178, +0xE799A8:0x6179,0xE799A9:0x617A,0xE799AA:0x617B,0xE799A7:0x617C,0xE799AC:0x617D, +0xE799B0:0x617E,0xE799B2:0x6221,0xE799B6:0x6222,0xE799B8:0x6223,0xE799BC:0x6224, +0xE79A80:0x6225,0xE79A83:0x6226,0xE79A88:0x6227,0xE79A8B:0x6228,0xE79A8E:0x6229, +0xE79A96:0x622A,0xE79A93:0x622B,0xE79A99:0x622C,0xE79A9A:0x622D,0xE79AB0:0x622E, +0xE79AB4:0x622F,0xE79AB8:0x6230,0xE79AB9:0x6231,0xE79ABA:0x6232,0xE79B82:0x6233, +0xE79B8D:0x6234,0xE79B96:0x6235,0xE79B92:0x6236,0xE79B9E:0x6237,0xE79BA1:0x6238, +0xE79BA5:0x6239,0xE79BA7:0x623A,0xE79BAA:0x623B,0xE898AF:0x623C,0xE79BBB:0x623D, +0xE79C88:0x623E,0xE79C87:0x623F,0xE79C84:0x6240,0xE79CA9:0x6241,0xE79CA4:0x6242, +0xE79C9E:0x6243,0xE79CA5:0x6244,0xE79CA6:0x6245,0xE79C9B:0x6246,0xE79CB7:0x6247, +0xE79CB8:0x6248,0xE79D87:0x6249,0xE79D9A:0x624A,0xE79DA8:0x624B,0xE79DAB:0x624C, +0xE79D9B:0x624D,0xE79DA5:0x624E,0xE79DBF:0x624F,0xE79DBE:0x6250,0xE79DB9:0x6251, +0xE79E8E:0x6252,0xE79E8B:0x6253,0xE79E91:0x6254,0xE79EA0:0x6255,0xE79E9E:0x6256, +0xE79EB0:0x6257,0xE79EB6:0x6258,0xE79EB9:0x6259,0xE79EBF:0x625A,0xE79EBC:0x625B, +0xE79EBD:0x625C,0xE79EBB:0x625D,0xE79F87:0x625E,0xE79F8D:0x625F,0xE79F97:0x6260, +0xE79F9A:0x6261,0xE79F9C:0x6262,0xE79FA3:0x6263,0xE79FAE:0x6264,0xE79FBC:0x6265, +0xE7A08C:0x6266,0xE7A092:0x6267,0xE7A4A6:0x6268,0xE7A0A0:0x6269,0xE7A4AA:0x626A, +0xE7A185:0x626B,0xE7A28E:0x626C,0xE7A1B4:0x626D,0xE7A286:0x626E,0xE7A1BC:0x626F, +0xE7A29A:0x6270,0xE7A28C:0x6271,0xE7A2A3:0x6272,0xE7A2B5:0x6273,0xE7A2AA:0x6274, +0xE7A2AF:0x6275,0xE7A391:0x6276,0xE7A386:0x6277,0xE7A38B:0x6278,0xE7A394:0x6279, +0xE7A2BE:0x627A,0xE7A2BC:0x627B,0xE7A385:0x627C,0xE7A38A:0x627D,0xE7A3AC:0x627E, +0xE7A3A7:0x6321,0xE7A39A:0x6322,0xE7A3BD:0x6323,0xE7A3B4:0x6324,0xE7A487:0x6325, +0xE7A492:0x6326,0xE7A491:0x6327,0xE7A499:0x6328,0xE7A4AC:0x6329,0xE7A4AB:0x632A, +0xE7A580:0x632B,0xE7A5A0:0x632C,0xE7A597:0x632D,0xE7A59F:0x632E,0xE7A59A:0x632F, +0xE7A595:0x6330,0xE7A593:0x6331,0xE7A5BA:0x6332,0xE7A5BF:0x6333,0xE7A68A:0x6334, +0xE7A69D:0x6335,0xE7A6A7:0x6336,0xE9BD8B:0x6337,0xE7A6AA:0x6338,0xE7A6AE:0x6339, +0xE7A6B3:0x633A,0xE7A6B9:0x633B,0xE7A6BA:0x633C,0xE7A789:0x633D,0xE7A795:0x633E, +0xE7A7A7:0x633F,0xE7A7AC:0x6340,0xE7A7A1:0x6341,0xE7A7A3:0x6342,0xE7A888:0x6343, +0xE7A88D:0x6344,0xE7A898:0x6345,0xE7A899:0x6346,0xE7A8A0:0x6347,0xE7A89F:0x6348, +0xE7A680:0x6349,0xE7A8B1:0x634A,0xE7A8BB:0x634B,0xE7A8BE:0x634C,0xE7A8B7:0x634D, +0xE7A983:0x634E,0xE7A997:0x634F,0xE7A989:0x6350,0xE7A9A1:0x6351,0xE7A9A2:0x6352, +0xE7A9A9:0x6353,0xE9BE9D:0x6354,0xE7A9B0:0x6355,0xE7A9B9:0x6356,0xE7A9BD:0x6357, +0xE7AA88:0x6358,0xE7AA97:0x6359,0xE7AA95:0x635A,0xE7AA98:0x635B,0xE7AA96:0x635C, +0xE7AAA9:0x635D,0xE7AB88:0x635E,0xE7AAB0:0x635F,0xE7AAB6:0x6360,0xE7AB85:0x6361, +0xE7AB84:0x6362,0xE7AABF:0x6363,0xE98283:0x6364,0xE7AB87:0x6365,0xE7AB8A:0x6366, +0xE7AB8D:0x6367,0xE7AB8F:0x6368,0xE7AB95:0x6369,0xE7AB93:0x636A,0xE7AB99:0x636B, +0xE7AB9A:0x636C,0xE7AB9D:0x636D,0xE7ABA1:0x636E,0xE7ABA2:0x636F,0xE7ABA6:0x6370, +0xE7ABAD:0x6371,0xE7ABB0:0x6372,0xE7AC82:0x6373,0xE7AC8F:0x6374,0xE7AC8A:0x6375, +0xE7AC86:0x6376,0xE7ACB3:0x6377,0xE7AC98:0x6378,0xE7AC99:0x6379,0xE7AC9E:0x637A, +0xE7ACB5:0x637B,0xE7ACA8:0x637C,0xE7ACB6:0x637D,0xE7AD90:0x637E,0xE7ADBA:0x6421, +0xE7AC84:0x6422,0xE7AD8D:0x6423,0xE7AC8B:0x6424,0xE7AD8C:0x6425,0xE7AD85:0x6426, +0xE7ADB5:0x6427,0xE7ADA5:0x6428,0xE7ADB4:0x6429,0xE7ADA7:0x642A,0xE7ADB0:0x642B, +0xE7ADB1:0x642C,0xE7ADAC:0x642D,0xE7ADAE:0x642E,0xE7AE9D:0x642F,0xE7AE98:0x6430, +0xE7AE9F:0x6431,0xE7AE8D:0x6432,0xE7AE9C:0x6433,0xE7AE9A:0x6434,0xE7AE8B:0x6435, +0xE7AE92:0x6436,0xE7AE8F:0x6437,0xE7AD9D:0x6438,0xE7AE99:0x6439,0xE7AF8B:0x643A, +0xE7AF81:0x643B,0xE7AF8C:0x643C,0xE7AF8F:0x643D,0xE7AEB4:0x643E,0xE7AF86:0x643F, +0xE7AF9D:0x6440,0xE7AFA9:0x6441,0xE7B091:0x6442,0xE7B094:0x6443,0xE7AFA6:0x6444, +0xE7AFA5:0x6445,0xE7B1A0:0x6446,0xE7B080:0x6447,0xE7B087:0x6448,0xE7B093:0x6449, +0xE7AFB3:0x644A,0xE7AFB7:0x644B,0xE7B097:0x644C,0xE7B08D:0x644D,0xE7AFB6:0x644E, +0xE7B0A3:0x644F,0xE7B0A7:0x6450,0xE7B0AA:0x6451,0xE7B09F:0x6452,0xE7B0B7:0x6453, +0xE7B0AB:0x6454,0xE7B0BD:0x6455,0xE7B18C:0x6456,0xE7B183:0x6457,0xE7B194:0x6458, +0xE7B18F:0x6459,0xE7B180:0x645A,0xE7B190:0x645B,0xE7B198:0x645C,0xE7B19F:0x645D, +0xE7B1A4:0x645E,0xE7B196:0x645F,0xE7B1A5:0x6460,0xE7B1AC:0x6461,0xE7B1B5:0x6462, +0xE7B283:0x6463,0xE7B290:0x6464,0xE7B2A4:0x6465,0xE7B2AD:0x6466,0xE7B2A2:0x6467, +0xE7B2AB:0x6468,0xE7B2A1:0x6469,0xE7B2A8:0x646A,0xE7B2B3:0x646B,0xE7B2B2:0x646C, +0xE7B2B1:0x646D,0xE7B2AE:0x646E,0xE7B2B9:0x646F,0xE7B2BD:0x6470,0xE7B380:0x6471, +0xE7B385:0x6472,0xE7B382:0x6473,0xE7B398:0x6474,0xE7B392:0x6475,0xE7B39C:0x6476, +0xE7B3A2:0x6477,0xE9ACBB:0x6478,0xE7B3AF:0x6479,0xE7B3B2:0x647A,0xE7B3B4:0x647B, +0xE7B3B6:0x647C,0xE7B3BA:0x647D,0xE7B486:0x647E,0xE7B482:0x6521,0xE7B49C:0x6522, +0xE7B495:0x6523,0xE7B48A:0x6524,0xE7B585:0x6525,0xE7B58B:0x6526,0xE7B4AE:0x6527, +0xE7B4B2:0x6528,0xE7B4BF:0x6529,0xE7B4B5:0x652A,0xE7B586:0x652B,0xE7B5B3:0x652C, +0xE7B596:0x652D,0xE7B58E:0x652E,0xE7B5B2:0x652F,0xE7B5A8:0x6530,0xE7B5AE:0x6531, +0xE7B58F:0x6532,0xE7B5A3:0x6533,0xE7B693:0x6534,0xE7B689:0x6535,0xE7B59B:0x6536, +0xE7B68F:0x6537,0xE7B5BD:0x6538,0xE7B69B:0x6539,0xE7B6BA:0x653A,0xE7B6AE:0x653B, +0xE7B6A3:0x653C,0xE7B6B5:0x653D,0xE7B787:0x653E,0xE7B6BD:0x653F,0xE7B6AB:0x6540, +0xE7B8BD:0x6541,0xE7B6A2:0x6542,0xE7B6AF:0x6543,0xE7B79C:0x6544,0xE7B6B8:0x6545, +0xE7B69F:0x6546,0xE7B6B0:0x6547,0xE7B798:0x6548,0xE7B79D:0x6549,0xE7B7A4:0x654A, +0xE7B79E:0x654B,0xE7B7BB:0x654C,0xE7B7B2:0x654D,0xE7B7A1:0x654E,0xE7B885:0x654F, +0xE7B88A:0x6550,0xE7B8A3:0x6551,0xE7B8A1:0x6552,0xE7B892:0x6553,0xE7B8B1:0x6554, +0xE7B89F:0x6555,0xE7B889:0x6556,0xE7B88B:0x6557,0xE7B8A2:0x6558,0xE7B986:0x6559, +0xE7B9A6:0x655A,0xE7B8BB:0x655B,0xE7B8B5:0x655C,0xE7B8B9:0x655D,0xE7B983:0x655E, +0xE7B8B7:0x655F,0xE7B8B2:0x6560,0xE7B8BA:0x6561,0xE7B9A7:0x6562,0xE7B99D:0x6563, +0xE7B996:0x6564,0xE7B99E:0x6565,0xE7B999:0x6566,0xE7B99A:0x6567,0xE7B9B9:0x6568, +0xE7B9AA:0x6569,0xE7B9A9:0x656A,0xE7B9BC:0x656B,0xE7B9BB:0x656C,0xE7BA83:0x656D, +0xE7B795:0x656E,0xE7B9BD:0x656F,0xE8BEAE:0x6570,0xE7B9BF:0x6571,0xE7BA88:0x6572, +0xE7BA89:0x6573,0xE7BA8C:0x6574,0xE7BA92:0x6575,0xE7BA90:0x6576,0xE7BA93:0x6577, +0xE7BA94:0x6578,0xE7BA96:0x6579,0xE7BA8E:0x657A,0xE7BA9B:0x657B,0xE7BA9C:0x657C, +0xE7BCB8:0x657D,0xE7BCBA:0x657E,0xE7BD85:0x6621,0xE7BD8C:0x6622,0xE7BD8D:0x6623, +0xE7BD8E:0x6624,0xE7BD90:0x6625,0xE7BD91:0x6626,0xE7BD95:0x6627,0xE7BD94:0x6628, +0xE7BD98:0x6629,0xE7BD9F:0x662A,0xE7BDA0:0x662B,0xE7BDA8:0x662C,0xE7BDA9:0x662D, +0xE7BDA7:0x662E,0xE7BDB8:0x662F,0xE7BE82:0x6630,0xE7BE86:0x6631,0xE7BE83:0x6632, +0xE7BE88:0x6633,0xE7BE87:0x6634,0xE7BE8C:0x6635,0xE7BE94:0x6636,0xE7BE9E:0x6637, +0xE7BE9D:0x6638,0xE7BE9A:0x6639,0xE7BEA3:0x663A,0xE7BEAF:0x663B,0xE7BEB2:0x663C, +0xE7BEB9:0x663D,0xE7BEAE:0x663E,0xE7BEB6:0x663F,0xE7BEB8:0x6640,0xE8ADB1:0x6641, +0xE7BF85:0x6642,0xE7BF86:0x6643,0xE7BF8A:0x6644,0xE7BF95:0x6645,0xE7BF94:0x6646, +0xE7BFA1:0x6647,0xE7BFA6:0x6648,0xE7BFA9:0x6649,0xE7BFB3:0x664A,0xE7BFB9:0x664B, +0xE9A39C:0x664C,0xE88086:0x664D,0xE88084:0x664E,0xE8808B:0x664F,0xE88092:0x6650, +0xE88098:0x6651,0xE88099:0x6652,0xE8809C:0x6653,0xE880A1:0x6654,0xE880A8:0x6655, +0xE880BF:0x6656,0xE880BB:0x6657,0xE8818A:0x6658,0xE88186:0x6659,0xE88192:0x665A, +0xE88198:0x665B,0xE8819A:0x665C,0xE8819F:0x665D,0xE881A2:0x665E,0xE881A8:0x665F, +0xE881B3:0x6660,0xE881B2:0x6661,0xE881B0:0x6662,0xE881B6:0x6663,0xE881B9:0x6664, +0xE881BD:0x6665,0xE881BF:0x6666,0xE88284:0x6667,0xE88286:0x6668,0xE88285:0x6669, +0xE8829B:0x666A,0xE88293:0x666B,0xE8829A:0x666C,0xE882AD:0x666D,0xE58690:0x666E, +0xE882AC:0x666F,0xE8839B:0x6670,0xE883A5:0x6671,0xE88399:0x6672,0xE8839D:0x6673, +0xE88384:0x6674,0xE8839A:0x6675,0xE88396:0x6676,0xE88489:0x6677,0xE883AF:0x6678, +0xE883B1:0x6679,0xE8849B:0x667A,0xE884A9:0x667B,0xE884A3:0x667C,0xE884AF:0x667D, +0xE8858B:0x667E,0xE99A8B:0x6721,0xE88586:0x6722,0xE884BE:0x6723,0xE88593:0x6724, +0xE88591:0x6725,0xE883BC:0x6726,0xE885B1:0x6727,0xE885AE:0x6728,0xE885A5:0x6729, +0xE885A6:0x672A,0xE885B4:0x672B,0xE88683:0x672C,0xE88688:0x672D,0xE8868A:0x672E, +0xE88680:0x672F,0xE88682:0x6730,0xE886A0:0x6731,0xE88695:0x6732,0xE886A4:0x6733, +0xE886A3:0x6734,0xE8859F:0x6735,0xE88693:0x6736,0xE886A9:0x6737,0xE886B0:0x6738, +0xE886B5:0x6739,0xE886BE:0x673A,0xE886B8:0x673B,0xE886BD:0x673C,0xE88780:0x673D, +0xE88782:0x673E,0xE886BA:0x673F,0xE88789:0x6740,0xE8878D:0x6741,0xE88791:0x6742, +0xE88799:0x6743,0xE88798:0x6744,0xE88788:0x6745,0xE8879A:0x6746,0xE8879F:0x6747, +0xE887A0:0x6748,0xE887A7:0x6749,0xE887BA:0x674A,0xE887BB:0x674B,0xE887BE:0x674C, +0xE88881:0x674D,0xE88882:0x674E,0xE88885:0x674F,0xE88887:0x6750,0xE8888A:0x6751, +0xE8888D:0x6752,0xE88890:0x6753,0xE88896:0x6754,0xE888A9:0x6755,0xE888AB:0x6756, +0xE888B8:0x6757,0xE888B3:0x6758,0xE88980:0x6759,0xE88999:0x675A,0xE88998:0x675B, +0xE8899D:0x675C,0xE8899A:0x675D,0xE8899F:0x675E,0xE889A4:0x675F,0xE889A2:0x6760, +0xE889A8:0x6761,0xE889AA:0x6762,0xE889AB:0x6763,0xE888AE:0x6764,0xE889B1:0x6765, +0xE889B7:0x6766,0xE889B8:0x6767,0xE889BE:0x6768,0xE88A8D:0x6769,0xE88A92:0x676A, +0xE88AAB:0x676B,0xE88A9F:0x676C,0xE88ABB:0x676D,0xE88AAC:0x676E,0xE88BA1:0x676F, +0xE88BA3:0x6770,0xE88B9F:0x6771,0xE88B92:0x6772,0xE88BB4:0x6773,0xE88BB3:0x6774, +0xE88BBA:0x6775,0xE88E93:0x6776,0xE88C83:0x6777,0xE88BBB:0x6778,0xE88BB9:0x6779, +0xE88B9E:0x677A,0xE88C86:0x677B,0xE88B9C:0x677C,0xE88C89:0x677D,0xE88B99:0x677E, +0xE88CB5:0x6821,0xE88CB4:0x6822,0xE88C96:0x6823,0xE88CB2:0x6824,0xE88CB1:0x6825, +0xE88D80:0x6826,0xE88CB9:0x6827,0xE88D90:0x6828,0xE88D85:0x6829,0xE88CAF:0x682A, +0xE88CAB:0x682B,0xE88C97:0x682C,0xE88C98:0x682D,0xE88E85:0x682E,0xE88E9A:0x682F, +0xE88EAA:0x6830,0xE88E9F:0x6831,0xE88EA2:0x6832,0xE88E96:0x6833,0xE88CA3:0x6834, +0xE88E8E:0x6835,0xE88E87:0x6836,0xE88E8A:0x6837,0xE88DBC:0x6838,0xE88EB5:0x6839, +0xE88DB3:0x683A,0xE88DB5:0x683B,0xE88EA0:0x683C,0xE88E89:0x683D,0xE88EA8:0x683E, +0xE88FB4:0x683F,0xE89093:0x6840,0xE88FAB:0x6841,0xE88F8E:0x6842,0xE88FBD:0x6843, +0xE89083:0x6844,0xE88F98:0x6845,0xE8908B:0x6846,0xE88F81:0x6847,0xE88FB7:0x6848, +0xE89087:0x6849,0xE88FA0:0x684A,0xE88FB2:0x684B,0xE8908D:0x684C,0xE890A2:0x684D, +0xE890A0:0x684E,0xE88EBD:0x684F,0xE890B8:0x6850,0xE89486:0x6851,0xE88FBB:0x6852, +0xE891AD:0x6853,0xE890AA:0x6854,0xE890BC:0x6855,0xE8959A:0x6856,0xE89284:0x6857, +0xE891B7:0x6858,0xE891AB:0x6859,0xE892AD:0x685A,0xE891AE:0x685B,0xE89282:0x685C, +0xE891A9:0x685D,0xE89186:0x685E,0xE890AC:0x685F,0xE891AF:0x6860,0xE891B9:0x6861, +0xE890B5:0x6862,0xE8938A:0x6863,0xE891A2:0x6864,0xE892B9:0x6865,0xE892BF:0x6866, +0xE8929F:0x6867,0xE89399:0x6868,0xE8938D:0x6869,0xE892BB:0x686A,0xE8939A:0x686B, +0xE89390:0x686C,0xE89381:0x686D,0xE89386:0x686E,0xE89396:0x686F,0xE892A1:0x6870, +0xE894A1:0x6871,0xE893BF:0x6872,0xE893B4:0x6873,0xE89497:0x6874,0xE89498:0x6875, +0xE894AC:0x6876,0xE8949F:0x6877,0xE89495:0x6878,0xE89494:0x6879,0xE893BC:0x687A, +0xE89580:0x687B,0xE895A3:0x687C,0xE89598:0x687D,0xE89588:0x687E,0xE89581:0x6921, +0xE89882:0x6922,0xE8958B:0x6923,0xE89595:0x6924,0xE89680:0x6925,0xE896A4:0x6926, +0xE89688:0x6927,0xE89691:0x6928,0xE8968A:0x6929,0xE896A8:0x692A,0xE895AD:0x692B, +0xE89694:0x692C,0xE8969B:0x692D,0xE897AA:0x692E,0xE89687:0x692F,0xE8969C:0x6930, +0xE895B7:0x6931,0xE895BE:0x6932,0xE89690:0x6933,0xE89789:0x6934,0xE896BA:0x6935, +0xE8978F:0x6936,0xE896B9:0x6937,0xE89790:0x6938,0xE89795:0x6939,0xE8979D:0x693A, +0xE897A5:0x693B,0xE8979C:0x693C,0xE897B9:0x693D,0xE8988A:0x693E,0xE89893:0x693F, +0xE8988B:0x6940,0xE897BE:0x6941,0xE897BA:0x6942,0xE89886:0x6943,0xE898A2:0x6944, +0xE8989A:0x6945,0xE898B0:0x6946,0xE898BF:0x6947,0xE8998D:0x6948,0xE4B995:0x6949, +0xE89994:0x694A,0xE8999F:0x694B,0xE899A7:0x694C,0xE899B1:0x694D,0xE89A93:0x694E, +0xE89AA3:0x694F,0xE89AA9:0x6950,0xE89AAA:0x6951,0xE89A8B:0x6952,0xE89A8C:0x6953, +0xE89AB6:0x6954,0xE89AAF:0x6955,0xE89B84:0x6956,0xE89B86:0x6957,0xE89AB0:0x6958, +0xE89B89:0x6959,0xE8A0A3:0x695A,0xE89AAB:0x695B,0xE89B94:0x695C,0xE89B9E:0x695D, +0xE89BA9:0x695E,0xE89BAC:0x695F,0xE89B9F:0x6960,0xE89B9B:0x6961,0xE89BAF:0x6962, +0xE89C92:0x6963,0xE89C86:0x6964,0xE89C88:0x6965,0xE89C80:0x6966,0xE89C83:0x6967, +0xE89BBB:0x6968,0xE89C91:0x6969,0xE89C89:0x696A,0xE89C8D:0x696B,0xE89BB9:0x696C, +0xE89C8A:0x696D,0xE89CB4:0x696E,0xE89CBF:0x696F,0xE89CB7:0x6970,0xE89CBB:0x6971, +0xE89CA5:0x6972,0xE89CA9:0x6973,0xE89C9A:0x6974,0xE89DA0:0x6975,0xE89D9F:0x6976, +0xE89DB8:0x6977,0xE89D8C:0x6978,0xE89D8E:0x6979,0xE89DB4:0x697A,0xE89D97:0x697B, +0xE89DA8:0x697C,0xE89DAE:0x697D,0xE89D99:0x697E,0xE89D93:0x6A21,0xE89DA3:0x6A22, +0xE89DAA:0x6A23,0xE8A085:0x6A24,0xE89EA2:0x6A25,0xE89E9F:0x6A26,0xE89E82:0x6A27, +0xE89EAF:0x6A28,0xE89F8B:0x6A29,0xE89EBD:0x6A2A,0xE89F80:0x6A2B,0xE89F90:0x6A2C, +0xE99B96:0x6A2D,0xE89EAB:0x6A2E,0xE89F84:0x6A2F,0xE89EB3:0x6A30,0xE89F87:0x6A31, +0xE89F86:0x6A32,0xE89EBB:0x6A33,0xE89FAF:0x6A34,0xE89FB2:0x6A35,0xE89FA0:0x6A36, +0xE8A08F:0x6A37,0xE8A08D:0x6A38,0xE89FBE:0x6A39,0xE89FB6:0x6A3A,0xE89FB7:0x6A3B, +0xE8A08E:0x6A3C,0xE89F92:0x6A3D,0xE8A091:0x6A3E,0xE8A096:0x6A3F,0xE8A095:0x6A40, +0xE8A0A2:0x6A41,0xE8A0A1:0x6A42,0xE8A0B1:0x6A43,0xE8A0B6:0x6A44,0xE8A0B9:0x6A45, +0xE8A0A7:0x6A46,0xE8A0BB:0x6A47,0xE8A184:0x6A48,0xE8A182:0x6A49,0xE8A192:0x6A4A, +0xE8A199:0x6A4B,0xE8A19E:0x6A4C,0xE8A1A2:0x6A4D,0xE8A1AB:0x6A4E,0xE8A281:0x6A4F, +0xE8A1BE:0x6A50,0xE8A29E:0x6A51,0xE8A1B5:0x6A52,0xE8A1BD:0x6A53,0xE8A2B5:0x6A54, +0xE8A1B2:0x6A55,0xE8A282:0x6A56,0xE8A297:0x6A57,0xE8A292:0x6A58,0xE8A2AE:0x6A59, +0xE8A299:0x6A5A,0xE8A2A2:0x6A5B,0xE8A28D:0x6A5C,0xE8A2A4:0x6A5D,0xE8A2B0:0x6A5E, +0xE8A2BF:0x6A5F,0xE8A2B1:0x6A60,0xE8A383:0x6A61,0xE8A384:0x6A62,0xE8A394:0x6A63, +0xE8A398:0x6A64,0xE8A399:0x6A65,0xE8A39D:0x6A66,0xE8A3B9:0x6A67,0xE8A482:0x6A68, +0xE8A3BC:0x6A69,0xE8A3B4:0x6A6A,0xE8A3A8:0x6A6B,0xE8A3B2:0x6A6C,0xE8A484:0x6A6D, +0xE8A48C:0x6A6E,0xE8A48A:0x6A6F,0xE8A493:0x6A70,0xE8A583:0x6A71,0xE8A49E:0x6A72, +0xE8A4A5:0x6A73,0xE8A4AA:0x6A74,0xE8A4AB:0x6A75,0xE8A581:0x6A76,0xE8A584:0x6A77, +0xE8A4BB:0x6A78,0xE8A4B6:0x6A79,0xE8A4B8:0x6A7A,0xE8A58C:0x6A7B,0xE8A49D:0x6A7C, +0xE8A5A0:0x6A7D,0xE8A59E:0x6A7E,0xE8A5A6:0x6B21,0xE8A5A4:0x6B22,0xE8A5AD:0x6B23, +0xE8A5AA:0x6B24,0xE8A5AF:0x6B25,0xE8A5B4:0x6B26,0xE8A5B7:0x6B27,0xE8A5BE:0x6B28, +0xE8A683:0x6B29,0xE8A688:0x6B2A,0xE8A68A:0x6B2B,0xE8A693:0x6B2C,0xE8A698:0x6B2D, +0xE8A6A1:0x6B2E,0xE8A6A9:0x6B2F,0xE8A6A6:0x6B30,0xE8A6AC:0x6B31,0xE8A6AF:0x6B32, +0xE8A6B2:0x6B33,0xE8A6BA:0x6B34,0xE8A6BD:0x6B35,0xE8A6BF:0x6B36,0xE8A780:0x6B37, +0xE8A79A:0x6B38,0xE8A79C:0x6B39,0xE8A79D:0x6B3A,0xE8A7A7:0x6B3B,0xE8A7B4:0x6B3C, +0xE8A7B8:0x6B3D,0xE8A883:0x6B3E,0xE8A896:0x6B3F,0xE8A890:0x6B40,0xE8A88C:0x6B41, +0xE8A89B:0x6B42,0xE8A89D:0x6B43,0xE8A8A5:0x6B44,0xE8A8B6:0x6B45,0xE8A981:0x6B46, +0xE8A99B:0x6B47,0xE8A992:0x6B48,0xE8A986:0x6B49,0xE8A988:0x6B4A,0xE8A9BC:0x6B4B, +0xE8A9AD:0x6B4C,0xE8A9AC:0x6B4D,0xE8A9A2:0x6B4E,0xE8AA85:0x6B4F,0xE8AA82:0x6B50, +0xE8AA84:0x6B51,0xE8AAA8:0x6B52,0xE8AAA1:0x6B53,0xE8AA91:0x6B54,0xE8AAA5:0x6B55, +0xE8AAA6:0x6B56,0xE8AA9A:0x6B57,0xE8AAA3:0x6B58,0xE8AB84:0x6B59,0xE8AB8D:0x6B5A, +0xE8AB82:0x6B5B,0xE8AB9A:0x6B5C,0xE8ABAB:0x6B5D,0xE8ABB3:0x6B5E,0xE8ABA7:0x6B5F, +0xE8ABA4:0x6B60,0xE8ABB1:0x6B61,0xE8AC94:0x6B62,0xE8ABA0:0x6B63,0xE8ABA2:0x6B64, +0xE8ABB7:0x6B65,0xE8AB9E:0x6B66,0xE8AB9B:0x6B67,0xE8AC8C:0x6B68,0xE8AC87:0x6B69, +0xE8AC9A:0x6B6A,0xE8ABA1:0x6B6B,0xE8AC96:0x6B6C,0xE8AC90:0x6B6D,0xE8AC97:0x6B6E, +0xE8ACA0:0x6B6F,0xE8ACB3:0x6B70,0xE99EAB:0x6B71,0xE8ACA6:0x6B72,0xE8ACAB:0x6B73, +0xE8ACBE:0x6B74,0xE8ACA8:0x6B75,0xE8AD81:0x6B76,0xE8AD8C:0x6B77,0xE8AD8F:0x6B78, +0xE8AD8E:0x6B79,0xE8AD89:0x6B7A,0xE8AD96:0x6B7B,0xE8AD9B:0x6B7C,0xE8AD9A:0x6B7D, +0xE8ADAB:0x6B7E,0xE8AD9F:0x6C21,0xE8ADAC:0x6C22,0xE8ADAF:0x6C23,0xE8ADB4:0x6C24, +0xE8ADBD:0x6C25,0xE8AE80:0x6C26,0xE8AE8C:0x6C27,0xE8AE8E:0x6C28,0xE8AE92:0x6C29, +0xE8AE93:0x6C2A,0xE8AE96:0x6C2B,0xE8AE99:0x6C2C,0xE8AE9A:0x6C2D,0xE8B0BA:0x6C2E, +0xE8B181:0x6C2F,0xE8B0BF:0x6C30,0xE8B188:0x6C31,0xE8B18C:0x6C32,0xE8B18E:0x6C33, +0xE8B190:0x6C34,0xE8B195:0x6C35,0xE8B1A2:0x6C36,0xE8B1AC:0x6C37,0xE8B1B8:0x6C38, +0xE8B1BA:0x6C39,0xE8B282:0x6C3A,0xE8B289:0x6C3B,0xE8B285:0x6C3C,0xE8B28A:0x6C3D, +0xE8B28D:0x6C3E,0xE8B28E:0x6C3F,0xE8B294:0x6C40,0xE8B1BC:0x6C41,0xE8B298:0x6C42, +0xE6889D:0x6C43,0xE8B2AD:0x6C44,0xE8B2AA:0x6C45,0xE8B2BD:0x6C46,0xE8B2B2:0x6C47, +0xE8B2B3:0x6C48,0xE8B2AE:0x6C49,0xE8B2B6:0x6C4A,0xE8B388:0x6C4B,0xE8B381:0x6C4C, +0xE8B3A4:0x6C4D,0xE8B3A3:0x6C4E,0xE8B39A:0x6C4F,0xE8B3BD:0x6C50,0xE8B3BA:0x6C51, +0xE8B3BB:0x6C52,0xE8B484:0x6C53,0xE8B485:0x6C54,0xE8B48A:0x6C55,0xE8B487:0x6C56, +0xE8B48F:0x6C57,0xE8B48D:0x6C58,0xE8B490:0x6C59,0xE9BD8E:0x6C5A,0xE8B493:0x6C5B, +0xE8B38D:0x6C5C,0xE8B494:0x6C5D,0xE8B496:0x6C5E,0xE8B5A7:0x6C5F,0xE8B5AD:0x6C60, +0xE8B5B1:0x6C61,0xE8B5B3:0x6C62,0xE8B681:0x6C63,0xE8B699:0x6C64,0xE8B782:0x6C65, +0xE8B6BE:0x6C66,0xE8B6BA:0x6C67,0xE8B78F:0x6C68,0xE8B79A:0x6C69,0xE8B796:0x6C6A, +0xE8B78C:0x6C6B,0xE8B79B:0x6C6C,0xE8B78B:0x6C6D,0xE8B7AA:0x6C6E,0xE8B7AB:0x6C6F, +0xE8B79F:0x6C70,0xE8B7A3:0x6C71,0xE8B7BC:0x6C72,0xE8B888:0x6C73,0xE8B889:0x6C74, +0xE8B7BF:0x6C75,0xE8B89D:0x6C76,0xE8B89E:0x6C77,0xE8B890:0x6C78,0xE8B89F:0x6C79, +0xE8B982:0x6C7A,0xE8B8B5:0x6C7B,0xE8B8B0:0x6C7C,0xE8B8B4:0x6C7D,0xE8B98A:0x6C7E, +0xE8B987:0x6D21,0xE8B989:0x6D22,0xE8B98C:0x6D23,0xE8B990:0x6D24,0xE8B988:0x6D25, +0xE8B999:0x6D26,0xE8B9A4:0x6D27,0xE8B9A0:0x6D28,0xE8B8AA:0x6D29,0xE8B9A3:0x6D2A, +0xE8B995:0x6D2B,0xE8B9B6:0x6D2C,0xE8B9B2:0x6D2D,0xE8B9BC:0x6D2E,0xE8BA81:0x6D2F, +0xE8BA87:0x6D30,0xE8BA85:0x6D31,0xE8BA84:0x6D32,0xE8BA8B:0x6D33,0xE8BA8A:0x6D34, +0xE8BA93:0x6D35,0xE8BA91:0x6D36,0xE8BA94:0x6D37,0xE8BA99:0x6D38,0xE8BAAA:0x6D39, +0xE8BAA1:0x6D3A,0xE8BAAC:0x6D3B,0xE8BAB0:0x6D3C,0xE8BB86:0x6D3D,0xE8BAB1:0x6D3E, +0xE8BABE:0x6D3F,0xE8BB85:0x6D40,0xE8BB88:0x6D41,0xE8BB8B:0x6D42,0xE8BB9B:0x6D43, +0xE8BBA3:0x6D44,0xE8BBBC:0x6D45,0xE8BBBB:0x6D46,0xE8BBAB:0x6D47,0xE8BBBE:0x6D48, +0xE8BC8A:0x6D49,0xE8BC85:0x6D4A,0xE8BC95:0x6D4B,0xE8BC92:0x6D4C,0xE8BC99:0x6D4D, +0xE8BC93:0x6D4E,0xE8BC9C:0x6D4F,0xE8BC9F:0x6D50,0xE8BC9B:0x6D51,0xE8BC8C:0x6D52, +0xE8BCA6:0x6D53,0xE8BCB3:0x6D54,0xE8BCBB:0x6D55,0xE8BCB9:0x6D56,0xE8BD85:0x6D57, +0xE8BD82:0x6D58,0xE8BCBE:0x6D59,0xE8BD8C:0x6D5A,0xE8BD89:0x6D5B,0xE8BD86:0x6D5C, +0xE8BD8E:0x6D5D,0xE8BD97:0x6D5E,0xE8BD9C:0x6D5F,0xE8BDA2:0x6D60,0xE8BDA3:0x6D61, +0xE8BDA4:0x6D62,0xE8BE9C:0x6D63,0xE8BE9F:0x6D64,0xE8BEA3:0x6D65,0xE8BEAD:0x6D66, +0xE8BEAF:0x6D67,0xE8BEB7:0x6D68,0xE8BF9A:0x6D69,0xE8BFA5:0x6D6A,0xE8BFA2:0x6D6B, +0xE8BFAA:0x6D6C,0xE8BFAF:0x6D6D,0xE98287:0x6D6E,0xE8BFB4:0x6D6F,0xE98085:0x6D70, +0xE8BFB9:0x6D71,0xE8BFBA:0x6D72,0xE98091:0x6D73,0xE98095:0x6D74,0xE980A1:0x6D75, +0xE9808D:0x6D76,0xE9809E:0x6D77,0xE98096:0x6D78,0xE9808B:0x6D79,0xE980A7:0x6D7A, +0xE980B6:0x6D7B,0xE980B5:0x6D7C,0xE980B9:0x6D7D,0xE8BFB8:0x6D7E,0xE9818F:0x6E21, +0xE98190:0x6E22,0xE98191:0x6E23,0xE98192:0x6E24,0xE9808E:0x6E25,0xE98189:0x6E26, +0xE980BE:0x6E27,0xE98196:0x6E28,0xE98198:0x6E29,0xE9819E:0x6E2A,0xE981A8:0x6E2B, +0xE981AF:0x6E2C,0xE981B6:0x6E2D,0xE99AA8:0x6E2E,0xE981B2:0x6E2F,0xE98282:0x6E30, +0xE981BD:0x6E31,0xE98281:0x6E32,0xE98280:0x6E33,0xE9828A:0x6E34,0xE98289:0x6E35, +0xE9828F:0x6E36,0xE982A8:0x6E37,0xE982AF:0x6E38,0xE982B1:0x6E39,0xE982B5:0x6E3A, +0xE983A2:0x6E3B,0xE983A4:0x6E3C,0xE68988:0x6E3D,0xE9839B:0x6E3E,0xE98482:0x6E3F, +0xE98492:0x6E40,0xE98499:0x6E41,0xE984B2:0x6E42,0xE984B0:0x6E43,0xE9858A:0x6E44, +0xE98596:0x6E45,0xE98598:0x6E46,0xE985A3:0x6E47,0xE985A5:0x6E48,0xE985A9:0x6E49, +0xE985B3:0x6E4A,0xE985B2:0x6E4B,0xE9868B:0x6E4C,0xE98689:0x6E4D,0xE98682:0x6E4E, +0xE986A2:0x6E4F,0xE986AB:0x6E50,0xE986AF:0x6E51,0xE986AA:0x6E52,0xE986B5:0x6E53, +0xE986B4:0x6E54,0xE986BA:0x6E55,0xE98780:0x6E56,0xE98781:0x6E57,0xE98789:0x6E58, +0xE9878B:0x6E59,0xE98790:0x6E5A,0xE98796:0x6E5B,0xE9879F:0x6E5C,0xE987A1:0x6E5D, +0xE9879B:0x6E5E,0xE987BC:0x6E5F,0xE987B5:0x6E60,0xE987B6:0x6E61,0xE9889E:0x6E62, +0xE987BF:0x6E63,0xE98894:0x6E64,0xE988AC:0x6E65,0xE98895:0x6E66,0xE98891:0x6E67, +0xE9899E:0x6E68,0xE98997:0x6E69,0xE98985:0x6E6A,0xE98989:0x6E6B,0xE989A4:0x6E6C, +0xE98988:0x6E6D,0xE98A95:0x6E6E,0xE988BF:0x6E6F,0xE9898B:0x6E70,0xE98990:0x6E71, +0xE98A9C:0x6E72,0xE98A96:0x6E73,0xE98A93:0x6E74,0xE98A9B:0x6E75,0xE9899A:0x6E76, +0xE98B8F:0x6E77,0xE98AB9:0x6E78,0xE98AB7:0x6E79,0xE98BA9:0x6E7A,0xE98C8F:0x6E7B, +0xE98BBA:0x6E7C,0xE98D84:0x6E7D,0xE98CAE:0x6E7E,0xE98C99:0x6F21,0xE98CA2:0x6F22, +0xE98C9A:0x6F23,0xE98CA3:0x6F24,0xE98CBA:0x6F25,0xE98CB5:0x6F26,0xE98CBB:0x6F27, +0xE98D9C:0x6F28,0xE98DA0:0x6F29,0xE98DBC:0x6F2A,0xE98DAE:0x6F2B,0xE98D96:0x6F2C, +0xE98EB0:0x6F2D,0xE98EAC:0x6F2E,0xE98EAD:0x6F2F,0xE98E94:0x6F30,0xE98EB9:0x6F31, +0xE98F96:0x6F32,0xE98F97:0x6F33,0xE98FA8:0x6F34,0xE98FA5:0x6F35,0xE98F98:0x6F36, +0xE98F83:0x6F37,0xE98F9D:0x6F38,0xE98F90:0x6F39,0xE98F88:0x6F3A,0xE98FA4:0x6F3B, +0xE9909A:0x6F3C,0xE99094:0x6F3D,0xE99093:0x6F3E,0xE99083:0x6F3F,0xE99087:0x6F40, +0xE99090:0x6F41,0xE990B6:0x6F42,0xE990AB:0x6F43,0xE990B5:0x6F44,0xE990A1:0x6F45, +0xE990BA:0x6F46,0xE99181:0x6F47,0xE99192:0x6F48,0xE99184:0x6F49,0xE9919B:0x6F4A, +0xE991A0:0x6F4B,0xE991A2:0x6F4C,0xE9919E:0x6F4D,0xE991AA:0x6F4E,0xE988A9:0x6F4F, +0xE991B0:0x6F50,0xE991B5:0x6F51,0xE991B7:0x6F52,0xE991BD:0x6F53,0xE9919A:0x6F54, +0xE991BC:0x6F55,0xE991BE:0x6F56,0xE99281:0x6F57,0xE991BF:0x6F58,0xE99682:0x6F59, +0xE99687:0x6F5A,0xE9968A:0x6F5B,0xE99694:0x6F5C,0xE99696:0x6F5D,0xE99698:0x6F5E, +0xE99699:0x6F5F,0xE996A0:0x6F60,0xE996A8:0x6F61,0xE996A7:0x6F62,0xE996AD:0x6F63, +0xE996BC:0x6F64,0xE996BB:0x6F65,0xE996B9:0x6F66,0xE996BE:0x6F67,0xE9978A:0x6F68, +0xE6BFB6:0x6F69,0xE99783:0x6F6A,0xE9978D:0x6F6B,0xE9978C:0x6F6C,0xE99795:0x6F6D, +0xE99794:0x6F6E,0xE99796:0x6F6F,0xE9979C:0x6F70,0xE997A1:0x6F71,0xE997A5:0x6F72, +0xE997A2:0x6F73,0xE998A1:0x6F74,0xE998A8:0x6F75,0xE998AE:0x6F76,0xE998AF:0x6F77, +0xE99982:0x6F78,0xE9998C:0x6F79,0xE9998F:0x6F7A,0xE9998B:0x6F7B,0xE999B7:0x6F7C, +0xE9999C:0x6F7D,0xE9999E:0x6F7E,0xE9999D:0x7021,0xE9999F:0x7022,0xE999A6:0x7023, +0xE999B2:0x7024,0xE999AC:0x7025,0xE99A8D:0x7026,0xE99A98:0x7027,0xE99A95:0x7028, +0xE99A97:0x7029,0xE99AAA:0x702A,0xE99AA7:0x702B,0xE99AB1:0x702C,0xE99AB2:0x702D, +0xE99AB0:0x702E,0xE99AB4:0x702F,0xE99AB6:0x7030,0xE99AB8:0x7031,0xE99AB9:0x7032, +0xE99B8E:0x7033,0xE99B8B:0x7034,0xE99B89:0x7035,0xE99B8D:0x7036,0xE8A58D:0x7037, +0xE99B9C:0x7038,0xE99C8D:0x7039,0xE99B95:0x703A,0xE99BB9:0x703B,0xE99C84:0x703C, +0xE99C86:0x703D,0xE99C88:0x703E,0xE99C93:0x703F,0xE99C8E:0x7040,0xE99C91:0x7041, +0xE99C8F:0x7042,0xE99C96:0x7043,0xE99C99:0x7044,0xE99CA4:0x7045,0xE99CAA:0x7046, +0xE99CB0:0x7047,0xE99CB9:0x7048,0xE99CBD:0x7049,0xE99CBE:0x704A,0xE99D84:0x704B, +0xE99D86:0x704C,0xE99D88:0x704D,0xE99D82:0x704E,0xE99D89:0x704F,0xE99D9C:0x7050, +0xE99DA0:0x7051,0xE99DA4:0x7052,0xE99DA6:0x7053,0xE99DA8:0x7054,0xE58B92:0x7055, +0xE99DAB:0x7056,0xE99DB1:0x7057,0xE99DB9:0x7058,0xE99E85:0x7059,0xE99DBC:0x705A, +0xE99E81:0x705B,0xE99DBA:0x705C,0xE99E86:0x705D,0xE99E8B:0x705E,0xE99E8F:0x705F, +0xE99E90:0x7060,0xE99E9C:0x7061,0xE99EA8:0x7062,0xE99EA6:0x7063,0xE99EA3:0x7064, +0xE99EB3:0x7065,0xE99EB4:0x7066,0xE99F83:0x7067,0xE99F86:0x7068,0xE99F88:0x7069, +0xE99F8B:0x706A,0xE99F9C:0x706B,0xE99FAD:0x706C,0xE9BD8F:0x706D,0xE99FB2:0x706E, +0xE7AB9F:0x706F,0xE99FB6:0x7070,0xE99FB5:0x7071,0xE9A08F:0x7072,0xE9A08C:0x7073, +0xE9A0B8:0x7074,0xE9A0A4:0x7075,0xE9A0A1:0x7076,0xE9A0B7:0x7077,0xE9A0BD:0x7078, +0xE9A186:0x7079,0xE9A18F:0x707A,0xE9A18B:0x707B,0xE9A1AB:0x707C,0xE9A1AF:0x707D, +0xE9A1B0:0x707E,0xE9A1B1:0x7121,0xE9A1B4:0x7122,0xE9A1B3:0x7123,0xE9A2AA:0x7124, +0xE9A2AF:0x7125,0xE9A2B1:0x7126,0xE9A2B6:0x7127,0xE9A384:0x7128,0xE9A383:0x7129, +0xE9A386:0x712A,0xE9A3A9:0x712B,0xE9A3AB:0x712C,0xE9A483:0x712D,0xE9A489:0x712E, +0xE9A492:0x712F,0xE9A494:0x7130,0xE9A498:0x7131,0xE9A4A1:0x7132,0xE9A49D:0x7133, +0xE9A49E:0x7134,0xE9A4A4:0x7135,0xE9A4A0:0x7136,0xE9A4AC:0x7137,0xE9A4AE:0x7138, +0xE9A4BD:0x7139,0xE9A4BE:0x713A,0xE9A582:0x713B,0xE9A589:0x713C,0xE9A585:0x713D, +0xE9A590:0x713E,0xE9A58B:0x713F,0xE9A591:0x7140,0xE9A592:0x7141,0xE9A58C:0x7142, +0xE9A595:0x7143,0xE9A697:0x7144,0xE9A698:0x7145,0xE9A6A5:0x7146,0xE9A6AD:0x7147, +0xE9A6AE:0x7148,0xE9A6BC:0x7149,0xE9A79F:0x714A,0xE9A79B:0x714B,0xE9A79D:0x714C, +0xE9A798:0x714D,0xE9A791:0x714E,0xE9A7AD:0x714F,0xE9A7AE:0x7150,0xE9A7B1:0x7151, +0xE9A7B2:0x7152,0xE9A7BB:0x7153,0xE9A7B8:0x7154,0xE9A881:0x7155,0xE9A88F:0x7156, +0xE9A885:0x7157,0xE9A7A2:0x7158,0xE9A899:0x7159,0xE9A8AB:0x715A,0xE9A8B7:0x715B, +0xE9A985:0x715C,0xE9A982:0x715D,0xE9A980:0x715E,0xE9A983:0x715F,0xE9A8BE:0x7160, +0xE9A995:0x7161,0xE9A98D:0x7162,0xE9A99B:0x7163,0xE9A997:0x7164,0xE9A99F:0x7165, +0xE9A9A2:0x7166,0xE9A9A5:0x7167,0xE9A9A4:0x7168,0xE9A9A9:0x7169,0xE9A9AB:0x716A, +0xE9A9AA:0x716B,0xE9AAAD:0x716C,0xE9AAB0:0x716D,0xE9AABC:0x716E,0xE9AB80:0x716F, +0xE9AB8F:0x7170,0xE9AB91:0x7171,0xE9AB93:0x7172,0xE9AB94:0x7173,0xE9AB9E:0x7174, +0xE9AB9F:0x7175,0xE9ABA2:0x7176,0xE9ABA3:0x7177,0xE9ABA6:0x7178,0xE9ABAF:0x7179, +0xE9ABAB:0x717A,0xE9ABAE:0x717B,0xE9ABB4:0x717C,0xE9ABB1:0x717D,0xE9ABB7:0x717E, +0xE9ABBB:0x7221,0xE9AC86:0x7222,0xE9AC98:0x7223,0xE9AC9A:0x7224,0xE9AC9F:0x7225, +0xE9ACA2:0x7226,0xE9ACA3:0x7227,0xE9ACA5:0x7228,0xE9ACA7:0x7229,0xE9ACA8:0x722A, +0xE9ACA9:0x722B,0xE9ACAA:0x722C,0xE9ACAE:0x722D,0xE9ACAF:0x722E,0xE9ACB2:0x722F, +0xE9AD84:0x7230,0xE9AD83:0x7231,0xE9AD8F:0x7232,0xE9AD8D:0x7233,0xE9AD8E:0x7234, +0xE9AD91:0x7235,0xE9AD98:0x7236,0xE9ADB4:0x7237,0xE9AE93:0x7238,0xE9AE83:0x7239, +0xE9AE91:0x723A,0xE9AE96:0x723B,0xE9AE97:0x723C,0xE9AE9F:0x723D,0xE9AEA0:0x723E, +0xE9AEA8:0x723F,0xE9AEB4:0x7240,0xE9AF80:0x7241,0xE9AF8A:0x7242,0xE9AEB9:0x7243, +0xE9AF86:0x7244,0xE9AF8F:0x7245,0xE9AF91:0x7246,0xE9AF92:0x7247,0xE9AFA3:0x7248, +0xE9AFA2:0x7249,0xE9AFA4:0x724A,0xE9AF94:0x724B,0xE9AFA1:0x724C,0xE9B0BA:0x724D, +0xE9AFB2:0x724E,0xE9AFB1:0x724F,0xE9AFB0:0x7250,0xE9B095:0x7251,0xE9B094:0x7252, +0xE9B089:0x7253,0xE9B093:0x7254,0xE9B08C:0x7255,0xE9B086:0x7256,0xE9B088:0x7257, +0xE9B092:0x7258,0xE9B08A:0x7259,0xE9B084:0x725A,0xE9B0AE:0x725B,0xE9B09B:0x725C, +0xE9B0A5:0x725D,0xE9B0A4:0x725E,0xE9B0A1:0x725F,0xE9B0B0:0x7260,0xE9B187:0x7261, +0xE9B0B2:0x7262,0xE9B186:0x7263,0xE9B0BE:0x7264,0xE9B19A:0x7265,0xE9B1A0:0x7266, +0xE9B1A7:0x7267,0xE9B1B6:0x7268,0xE9B1B8:0x7269,0xE9B3A7:0x726A,0xE9B3AC:0x726B, +0xE9B3B0:0x726C,0xE9B489:0x726D,0xE9B488:0x726E,0xE9B3AB:0x726F,0xE9B483:0x7270, +0xE9B486:0x7271,0xE9B4AA:0x7272,0xE9B4A6:0x7273,0xE9B6AF:0x7274,0xE9B4A3:0x7275, +0xE9B49F:0x7276,0xE9B584:0x7277,0xE9B495:0x7278,0xE9B492:0x7279,0xE9B581:0x727A, +0xE9B4BF:0x727B,0xE9B4BE:0x727C,0xE9B586:0x727D,0xE9B588:0x727E,0xE9B59D:0x7321, +0xE9B59E:0x7322,0xE9B5A4:0x7323,0xE9B591:0x7324,0xE9B590:0x7325,0xE9B599:0x7326, +0xE9B5B2:0x7327,0xE9B689:0x7328,0xE9B687:0x7329,0xE9B6AB:0x732A,0xE9B5AF:0x732B, +0xE9B5BA:0x732C,0xE9B69A:0x732D,0xE9B6A4:0x732E,0xE9B6A9:0x732F,0xE9B6B2:0x7330, +0xE9B784:0x7331,0xE9B781:0x7332,0xE9B6BB:0x7333,0xE9B6B8:0x7334,0xE9B6BA:0x7335, +0xE9B786:0x7336,0xE9B78F:0x7337,0xE9B782:0x7338,0xE9B799:0x7339,0xE9B793:0x733A, +0xE9B7B8:0x733B,0xE9B7A6:0x733C,0xE9B7AD:0x733D,0xE9B7AF:0x733E,0xE9B7BD:0x733F, +0xE9B89A:0x7340,0xE9B89B:0x7341,0xE9B89E:0x7342,0xE9B9B5:0x7343,0xE9B9B9:0x7344, +0xE9B9BD:0x7345,0xE9BA81:0x7346,0xE9BA88:0x7347,0xE9BA8B:0x7348,0xE9BA8C:0x7349, +0xE9BA92:0x734A,0xE9BA95:0x734B,0xE9BA91:0x734C,0xE9BA9D:0x734D,0xE9BAA5:0x734E, +0xE9BAA9:0x734F,0xE9BAB8:0x7350,0xE9BAAA:0x7351,0xE9BAAD:0x7352,0xE99DA1:0x7353, +0xE9BB8C:0x7354,0xE9BB8E:0x7355,0xE9BB8F:0x7356,0xE9BB90:0x7357,0xE9BB94:0x7358, +0xE9BB9C:0x7359,0xE9BB9E:0x735A,0xE9BB9D:0x735B,0xE9BBA0:0x735C,0xE9BBA5:0x735D, +0xE9BBA8:0x735E,0xE9BBAF:0x735F,0xE9BBB4:0x7360,0xE9BBB6:0x7361,0xE9BBB7:0x7362, +0xE9BBB9:0x7363,0xE9BBBB:0x7364,0xE9BBBC:0x7365,0xE9BBBD:0x7366,0xE9BC87:0x7367, +0xE9BC88:0x7368,0xE79AB7:0x7369,0xE9BC95:0x736A,0xE9BCA1:0x736B,0xE9BCAC:0x736C, +0xE9BCBE:0x736D,0xE9BD8A:0x736E,0xE9BD92:0x736F,0xE9BD94:0x7370,0xE9BDA3:0x7371, +0xE9BD9F:0x7372,0xE9BDA0:0x7373,0xE9BDA1:0x7374,0xE9BDA6:0x7375,0xE9BDA7:0x7376, +0xE9BDAC:0x7377,0xE9BDAA:0x7378,0xE9BDB7:0x7379,0xE9BDB2:0x737A,0xE9BDB6:0x737B, +0xE9BE95:0x737C,0xE9BE9C:0x737D,0xE9BEA0:0x737E,0xE5A0AF:0x7421,0xE6A787:0x7422, +0xE98199:0x7423,0xE791A4:0x7424,0xE5879C:0x7425,0xE78699:0x7426, + +0xE7BA8A:0x7921,0xE8A49C:0x7922,0xE98D88:0x7923,0xE98A88:0x7924,0xE8939C:0x7925, +0xE4BF89:0x7926,0xE782BB:0x7927,0xE698B1:0x7928,0xE6A388:0x7929,0xE98BB9:0x792A, +0xE69BBB:0x792B,0xE5BD85:0x792C,0xE4B8A8:0x792D,0xE4BBA1:0x792E,0xE4BBBC:0x792F, +0xE4BC80:0x7930,0xE4BC83:0x7931,0xE4BCB9:0x7932,0xE4BD96:0x7933,0xE4BE92:0x7934, +0xE4BE8A:0x7935,0xE4BE9A:0x7936,0xE4BE94:0x7937,0xE4BF8D:0x7938,0xE58180:0x7939, +0xE580A2:0x793A,0xE4BFBF:0x793B,0xE5809E:0x793C,0xE58186:0x793D,0xE581B0:0x793E, +0xE58182:0x793F,0xE58294:0x7940,0xE583B4:0x7941,0xE58398:0x7942,0xE5858A:0x7943, +0xE585A4:0x7944,0xE5869D:0x7945,0xE586BE:0x7946,0xE587AC:0x7947,0xE58895:0x7948, +0xE58A9C:0x7949,0xE58AA6:0x794A,0xE58B80:0x794B,0xE58B9B:0x794C,0xE58C80:0x794D, +0xE58C87:0x794E,0xE58CA4:0x794F,0xE58DB2:0x7950,0xE58E93:0x7951,0xE58EB2:0x7952, +0xE58F9D:0x7953,0xEFA88E:0x7954,0xE5929C:0x7955,0xE5928A:0x7956,0xE592A9:0x7957, +0xE593BF:0x7958,0xE59686:0x7959,0xE59D99:0x795A,0xE59DA5:0x795B,0xE59EAC:0x795C, +0xE59F88:0x795D,0xE59F87:0x795E,0xEFA88F:0x795F,0xEFA890:0x7960,0xE5A29E:0x7961, +0xE5A2B2:0x7962,0xE5A48B:0x7963,0xE5A593:0x7964,0xE5A59B:0x7965,0xE5A59D:0x7966, +0xE5A5A3:0x7967,0xE5A6A4:0x7968,0xE5A6BA:0x7969,0xE5AD96:0x796A,0xE5AF80:0x796B, +0xE794AF:0x796C,0xE5AF98:0x796D,0xE5AFAC:0x796E,0xE5B09E:0x796F,0xE5B2A6:0x7970, +0xE5B2BA:0x7971,0xE5B3B5:0x7972,0xE5B4A7:0x7973,0xE5B593:0x7974,0xEFA891:0x7975, +0xE5B582:0x7976,0xE5B5AD:0x7977,0xE5B6B8:0x7978,0xE5B6B9:0x7979,0xE5B790:0x797A, +0xE5BCA1:0x797B,0xE5BCB4:0x797C,0xE5BDA7:0x797D,0xE5BEB7:0x797E,0xE5BF9E:0x7A21, +0xE6819D:0x7A22,0xE68285:0x7A23,0xE6828A:0x7A24,0xE6839E:0x7A25,0xE68395:0x7A26, +0xE684A0:0x7A27,0xE683B2:0x7A28,0xE68491:0x7A29,0xE684B7:0x7A2A,0xE684B0:0x7A2B, +0xE68698:0x7A2C,0xE68893:0x7A2D,0xE68AA6:0x7A2E,0xE68FB5:0x7A2F,0xE691A0:0x7A30, +0xE6929D:0x7A31,0xE6938E:0x7A32,0xE6958E:0x7A33,0xE69880:0x7A34,0xE69895:0x7A35, +0xE698BB:0x7A36,0xE69889:0x7A37,0xE698AE:0x7A38,0xE6989E:0x7A39,0xE698A4:0x7A3A, +0xE699A5:0x7A3B,0xE69997:0x7A3C,0xE69999:0x7A3D,0xEFA892:0x7A3E,0xE699B3:0x7A3F, +0xE69A99:0x7A40,0xE69AA0:0x7A41,0xE69AB2:0x7A42,0xE69ABF:0x7A43,0xE69BBA:0x7A44, +0xE69C8E:0x7A45,0xEFA4A9:0x7A46,0xE69DA6:0x7A47,0xE69EBB:0x7A48,0xE6A192:0x7A49, +0xE69F80:0x7A4A,0xE6A081:0x7A4B,0xE6A184:0x7A4C,0xE6A38F:0x7A4D,0xEFA893:0x7A4E, +0xE6A5A8:0x7A4F,0xEFA894:0x7A50,0xE6A698:0x7A51,0xE6A7A2:0x7A52,0xE6A8B0:0x7A53, +0xE6A9AB:0x7A54,0xE6A986:0x7A55,0xE6A9B3:0x7A56,0xE6A9BE:0x7A57,0xE6ABA2:0x7A58, +0xE6ABA4:0x7A59,0xE6AF96:0x7A5A,0xE6B0BF:0x7A5B,0xE6B19C:0x7A5C,0xE6B286:0x7A5D, +0xE6B1AF:0x7A5E,0xE6B39A:0x7A5F,0xE6B484:0x7A60,0xE6B687:0x7A61,0xE6B5AF:0x7A62, +0xE6B696:0x7A63,0xE6B6AC:0x7A64,0xE6B78F:0x7A65,0xE6B7B8:0x7A66,0xE6B7B2:0x7A67, +0xE6B7BC:0x7A68,0xE6B8B9:0x7A69,0xE6B99C:0x7A6A,0xE6B8A7:0x7A6B,0xE6B8BC:0x7A6C, +0xE6BABF:0x7A6D,0xE6BE88:0x7A6E,0xE6BEB5:0x7A6F,0xE6BFB5:0x7A70,0xE78085:0x7A71, +0xE78087:0x7A72,0xE780A8:0x7A73,0xE78285:0x7A74,0xE782AB:0x7A75,0xE7848F:0x7A76, +0xE78484:0x7A77,0xE7859C:0x7A78,0xE78586:0x7A79,0xE78587:0x7A7A,0xEFA895:0x7A7B, +0xE78781:0x7A7C,0xE787BE:0x7A7D,0xE78AB1:0x7A7E,0xE78ABE:0x7B21,0xE78CA4:0x7B22, +0xEFA896:0x7B23,0xE78DB7:0x7B24,0xE78EBD:0x7B25,0xE78F89:0x7B26,0xE78F96:0x7B27, +0xE78FA3:0x7B28,0xE78F92:0x7B29,0xE79087:0x7B2A,0xE78FB5:0x7B2B,0xE790A6:0x7B2C, +0xE790AA:0x7B2D,0xE790A9:0x7B2E,0xE790AE:0x7B2F,0xE791A2:0x7B30,0xE79289:0x7B31, +0xE7929F:0x7B32,0xE79481:0x7B33,0xE795AF:0x7B34,0xE79A82:0x7B35,0xE79A9C:0x7B36, +0xE79A9E:0x7B37,0xE79A9B:0x7B38,0xE79AA6:0x7B39,0xEFA897:0x7B3A,0xE79D86:0x7B3B, +0xE58AAF:0x7B3C,0xE7A0A1:0x7B3D,0xE7A18E:0x7B3E,0xE7A1A4:0x7B3F,0xE7A1BA:0x7B40, +0xE7A4B0:0x7B41,0xEFA898:0x7B42,0xEFA899:0x7B43,0xEFA89A:0x7B44,0xE7A694:0x7B45, +0xEFA89B:0x7B46,0xE7A69B:0x7B47,0xE7AB91:0x7B48,0xE7ABA7:0x7B49,0xEFA89C:0x7B4A, +0xE7ABAB:0x7B4B,0xE7AE9E:0x7B4C,0xEFA89D:0x7B4D,0xE7B588:0x7B4E,0xE7B59C:0x7B4F, +0xE7B6B7:0x7B50,0xE7B6A0:0x7B51,0xE7B796:0x7B52,0xE7B992:0x7B53,0xE7BD87:0x7B54, +0xE7BEA1:0x7B55,0xEFA89E:0x7B56,0xE88C81:0x7B57,0xE88DA2:0x7B58,0xE88DBF:0x7B59, +0xE88F87:0x7B5A,0xE88FB6:0x7B5B,0xE89188:0x7B5C,0xE892B4:0x7B5D,0xE89593:0x7B5E, +0xE89599:0x7B5F,0xE895AB:0x7B60,0xEFA89F:0x7B61,0xE896B0:0x7B62,0xEFA8A0:0x7B63, +0xEFA8A1:0x7B64,0xE8A087:0x7B65,0xE8A3B5:0x7B66,0xE8A892:0x7B67,0xE8A8B7:0x7B68, +0xE8A9B9:0x7B69,0xE8AAA7:0x7B6A,0xE8AABE:0x7B6B,0xE8AB9F:0x7B6C,0xEFA8A2:0x7B6D, +0xE8ABB6:0x7B6E,0xE8AD93:0x7B6F,0xE8ADBF:0x7B70,0xE8B3B0:0x7B71,0xE8B3B4:0x7B72, +0xE8B492:0x7B73,0xE8B5B6:0x7B74,0xEFA8A3:0x7B75,0xE8BB8F:0x7B76,0xEFA8A4:0x7B77, +0xEFA8A5:0x7B78,0xE981A7:0x7B79,0xE9839E:0x7B7A,0xEFA8A6:0x7B7B,0xE98495:0x7B7C, +0xE984A7:0x7B7D,0xE9879A:0x7B7E,0xE98797:0x7C21,0xE9879E:0x7C22,0xE987AD:0x7C23, +0xE987AE:0x7C24,0xE987A4:0x7C25,0xE987A5:0x7C26,0xE98886:0x7C27,0xE98890:0x7C28, +0xE9888A:0x7C29,0xE988BA:0x7C2A,0xE98980:0x7C2B,0xE988BC:0x7C2C,0xE9898E:0x7C2D, +0xE98999:0x7C2E,0xE98991:0x7C2F,0xE988B9:0x7C30,0xE989A7:0x7C31,0xE98AA7:0x7C32, +0xE989B7:0x7C33,0xE989B8:0x7C34,0xE98BA7:0x7C35,0xE98B97:0x7C36,0xE98B99:0x7C37, +0xE98B90:0x7C38,0xEFA8A7:0x7C39,0xE98B95:0x7C3A,0xE98BA0:0x7C3B,0xE98B93:0x7C3C, +0xE98CA5:0x7C3D,0xE98CA1:0x7C3E,0xE98BBB:0x7C3F,0xEFA8A8:0x7C40,0xE98C9E:0x7C41, +0xE98BBF:0x7C42,0xE98C9D:0x7C43,0xE98C82:0x7C44,0xE98DB0:0x7C45,0xE98D97:0x7C46, +0xE98EA4:0x7C47,0xE98F86:0x7C48,0xE98F9E:0x7C49,0xE98FB8:0x7C4A,0xE990B1:0x7C4B, +0xE99185:0x7C4C,0xE99188:0x7C4D,0xE99692:0x7C4E,0xEFA79C:0x7C4F,0xEFA8A9:0x7C50, +0xE99A9D:0x7C51,0xE99AAF:0x7C52,0xE99CB3:0x7C53,0xE99CBB:0x7C54,0xE99D83:0x7C55, +0xE99D8D:0x7C56,0xE99D8F:0x7C57,0xE99D91:0x7C58,0xE99D95:0x7C59,0xE9A197:0x7C5A, +0xE9A1A5:0x7C5B,0xEFA8AA:0x7C5C,0xEFA8AB:0x7C5D,0xE9A4A7:0x7C5E,0xEFA8AC:0x7C5F, +0xE9A69E:0x7C60,0xE9A98E:0x7C61,0xE9AB99:0x7C62,0xE9AB9C:0x7C63,0xE9ADB5:0x7C64, +0xE9ADB2:0x7C65,0xE9AE8F:0x7C66,0xE9AEB1:0x7C67,0xE9AEBB:0x7C68,0xE9B080:0x7C69, +0xE9B5B0:0x7C6A,0xE9B5AB:0x7C6B,0xEFA8AD:0x7C6C,0xE9B899:0x7C6D,0xE9BB91:0x7C6E, +0xE285B0:0x7C71,0xE285B1:0x7C72,0xE285B2:0x7C73,0xE285B3:0x7C74,0xE285B4:0x7C75, +0xE285B5:0x7C76,0xE285B6:0x7C77,0xE285B7:0x7C78,0xE285B8:0x7C79,0xE285B9:0x7C7A, +0xEFBFA4:0x7C7C,0xEFBC87:0x7C7D,0xEFBC82:0x7C7E, + +//FIXME: mojibake +0xE288A5:0x2142, +0xEFBFA2:0x224C, +0xE28892:0x1215D +}; + +/* eslint-disable indent,key-spacing */ + +/** + * Encoding conversion table for UTF-8 to JIS X 0212:1990 (Hojo-Kanji) + */ +var utf8ToJisx0212Table = { +0xCB98:0x222F,0xCB87:0x2230,0xC2B8:0x2231,0xCB99:0x2232,0xCB9D:0x2233, +0xC2AF:0x2234,0xCB9B:0x2235,0xCB9A:0x2236,0x7E:0x2237,0xCE84:0x2238, +0xCE85:0x2239,0xC2A1:0x2242,0xC2A6:0x2243,0xC2BF:0x2244,0xC2BA:0x226B, +0xC2AA:0x226C,0xC2A9:0x226D,0xC2AE:0x226E,0xE284A2:0x226F,0xC2A4:0x2270, +0xE28496:0x2271,0xCE86:0x2661,0xCE88:0x2662,0xCE89:0x2663,0xCE8A:0x2664, +0xCEAA:0x2665,0xCE8C:0x2667,0xCE8E:0x2669,0xCEAB:0x266A,0xCE8F:0x266C, +0xCEAC:0x2671,0xCEAD:0x2672,0xCEAE:0x2673,0xCEAF:0x2674,0xCF8A:0x2675, +0xCE90:0x2676,0xCF8C:0x2677,0xCF82:0x2678,0xCF8D:0x2679,0xCF8B:0x267A, +0xCEB0:0x267B,0xCF8E:0x267C,0xD082:0x2742,0xD083:0x2743,0xD084:0x2744, +0xD085:0x2745,0xD086:0x2746,0xD087:0x2747,0xD088:0x2748,0xD089:0x2749, +0xD08A:0x274A,0xD08B:0x274B,0xD08C:0x274C,0xD08E:0x274D,0xD08F:0x274E, +0xD192:0x2772,0xD193:0x2773,0xD194:0x2774,0xD195:0x2775,0xD196:0x2776, +0xD197:0x2777,0xD198:0x2778,0xD199:0x2779,0xD19A:0x277A,0xD19B:0x277B, +0xD19C:0x277C,0xD19E:0x277D,0xD19F:0x277E,0xC386:0x2921,0xC490:0x2922, +0xC4A6:0x2924,0xC4B2:0x2926,0xC581:0x2928,0xC4BF:0x2929,0xC58A:0x292B, +0xC398:0x292C,0xC592:0x292D,0xC5A6:0x292F,0xC39E:0x2930,0xC3A6:0x2941, +0xC491:0x2942,0xC3B0:0x2943,0xC4A7:0x2944,0xC4B1:0x2945,0xC4B3:0x2946, +0xC4B8:0x2947,0xC582:0x2948,0xC580:0x2949,0xC589:0x294A,0xC58B:0x294B, +0xC3B8:0x294C,0xC593:0x294D,0xC39F:0x294E,0xC5A7:0x294F,0xC3BE:0x2950, +0xC381:0x2A21,0xC380:0x2A22,0xC384:0x2A23,0xC382:0x2A24,0xC482:0x2A25, +0xC78D:0x2A26,0xC480:0x2A27,0xC484:0x2A28,0xC385:0x2A29,0xC383:0x2A2A, +0xC486:0x2A2B,0xC488:0x2A2C,0xC48C:0x2A2D,0xC387:0x2A2E,0xC48A:0x2A2F, +0xC48E:0x2A30,0xC389:0x2A31,0xC388:0x2A32,0xC38B:0x2A33,0xC38A:0x2A34, +0xC49A:0x2A35,0xC496:0x2A36,0xC492:0x2A37,0xC498:0x2A38,0xC49C:0x2A3A, +0xC49E:0x2A3B,0xC4A2:0x2A3C,0xC4A0:0x2A3D,0xC4A4:0x2A3E,0xC38D:0x2A3F, +0xC38C:0x2A40,0xC38F:0x2A41,0xC38E:0x2A42,0xC78F:0x2A43,0xC4B0:0x2A44, +0xC4AA:0x2A45,0xC4AE:0x2A46,0xC4A8:0x2A47,0xC4B4:0x2A48,0xC4B6:0x2A49, +0xC4B9:0x2A4A,0xC4BD:0x2A4B,0xC4BB:0x2A4C,0xC583:0x2A4D,0xC587:0x2A4E, +0xC585:0x2A4F,0xC391:0x2A50,0xC393:0x2A51,0xC392:0x2A52,0xC396:0x2A53, +0xC394:0x2A54,0xC791:0x2A55,0xC590:0x2A56,0xC58C:0x2A57,0xC395:0x2A58, +0xC594:0x2A59,0xC598:0x2A5A,0xC596:0x2A5B,0xC59A:0x2A5C,0xC59C:0x2A5D, +0xC5A0:0x2A5E,0xC59E:0x2A5F,0xC5A4:0x2A60,0xC5A2:0x2A61,0xC39A:0x2A62, +0xC399:0x2A63,0xC39C:0x2A64,0xC39B:0x2A65,0xC5AC:0x2A66,0xC793:0x2A67, +0xC5B0:0x2A68,0xC5AA:0x2A69,0xC5B2:0x2A6A,0xC5AE:0x2A6B,0xC5A8:0x2A6C, +0xC797:0x2A6D,0xC79B:0x2A6E,0xC799:0x2A6F,0xC795:0x2A70,0xC5B4:0x2A71, +0xC39D:0x2A72,0xC5B8:0x2A73,0xC5B6:0x2A74,0xC5B9:0x2A75,0xC5BD:0x2A76, +0xC5BB:0x2A77,0xC3A1:0x2B21,0xC3A0:0x2B22,0xC3A4:0x2B23,0xC3A2:0x2B24, +0xC483:0x2B25,0xC78E:0x2B26,0xC481:0x2B27,0xC485:0x2B28,0xC3A5:0x2B29, +0xC3A3:0x2B2A,0xC487:0x2B2B,0xC489:0x2B2C,0xC48D:0x2B2D,0xC3A7:0x2B2E, +0xC48B:0x2B2F,0xC48F:0x2B30,0xC3A9:0x2B31,0xC3A8:0x2B32,0xC3AB:0x2B33, +0xC3AA:0x2B34,0xC49B:0x2B35,0xC497:0x2B36,0xC493:0x2B37,0xC499:0x2B38, +0xC7B5:0x2B39,0xC49D:0x2B3A,0xC49F:0x2B3B,0xC4A1:0x2B3D,0xC4A5:0x2B3E, +0xC3AD:0x2B3F,0xC3AC:0x2B40,0xC3AF:0x2B41,0xC3AE:0x2B42,0xC790:0x2B43, +0xC4AB:0x2B45,0xC4AF:0x2B46,0xC4A9:0x2B47,0xC4B5:0x2B48,0xC4B7:0x2B49, +0xC4BA:0x2B4A,0xC4BE:0x2B4B,0xC4BC:0x2B4C,0xC584:0x2B4D,0xC588:0x2B4E, +0xC586:0x2B4F,0xC3B1:0x2B50,0xC3B3:0x2B51,0xC3B2:0x2B52,0xC3B6:0x2B53, +0xC3B4:0x2B54,0xC792:0x2B55,0xC591:0x2B56,0xC58D:0x2B57,0xC3B5:0x2B58, +0xC595:0x2B59,0xC599:0x2B5A,0xC597:0x2B5B,0xC59B:0x2B5C,0xC59D:0x2B5D, +0xC5A1:0x2B5E,0xC59F:0x2B5F,0xC5A5:0x2B60,0xC5A3:0x2B61,0xC3BA:0x2B62, +0xC3B9:0x2B63,0xC3BC:0x2B64,0xC3BB:0x2B65,0xC5AD:0x2B66,0xC794:0x2B67, +0xC5B1:0x2B68,0xC5AB:0x2B69,0xC5B3:0x2B6A,0xC5AF:0x2B6B,0xC5A9:0x2B6C, +0xC798:0x2B6D,0xC79C:0x2B6E,0xC79A:0x2B6F,0xC796:0x2B70,0xC5B5:0x2B71, +0xC3BD:0x2B72,0xC3BF:0x2B73,0xC5B7:0x2B74,0xC5BA:0x2B75,0xC5BE:0x2B76, +0xC5BC:0x2B77, +0xE4B882:0x3021,0xE4B884:0x3022,0xE4B885:0x3023,0xE4B88C:0x3024, +0xE4B892:0x3025,0xE4B89F:0x3026,0xE4B8A3:0x3027,0xE4B8A4:0x3028,0xE4B8A8:0x3029, +0xE4B8AB:0x302A,0xE4B8AE:0x302B,0xE4B8AF:0x302C,0xE4B8B0:0x302D,0xE4B8B5:0x302E, +0xE4B980:0x302F,0xE4B981:0x3030,0xE4B984:0x3031,0xE4B987:0x3032,0xE4B991:0x3033, +0xE4B99A:0x3034,0xE4B99C:0x3035,0xE4B9A3:0x3036,0xE4B9A8:0x3037,0xE4B9A9:0x3038, +0xE4B9B4:0x3039,0xE4B9B5:0x303A,0xE4B9B9:0x303B,0xE4B9BF:0x303C,0xE4BA8D:0x303D, +0xE4BA96:0x303E,0xE4BA97:0x303F,0xE4BA9D:0x3040,0xE4BAAF:0x3041,0xE4BAB9:0x3042, +0xE4BB83:0x3043,0xE4BB90:0x3044,0xE4BB9A:0x3045,0xE4BB9B:0x3046,0xE4BBA0:0x3047, +0xE4BBA1:0x3048,0xE4BBA2:0x3049,0xE4BBA8:0x304A,0xE4BBAF:0x304B,0xE4BBB1:0x304C, +0xE4BBB3:0x304D,0xE4BBB5:0x304E,0xE4BBBD:0x304F,0xE4BBBE:0x3050,0xE4BBBF:0x3051, +0xE4BC80:0x3052,0xE4BC82:0x3053,0xE4BC83:0x3054,0xE4BC88:0x3055,0xE4BC8B:0x3056, +0xE4BC8C:0x3057,0xE4BC92:0x3058,0xE4BC95:0x3059,0xE4BC96:0x305A,0xE4BC97:0x305B, +0xE4BC99:0x305C,0xE4BCAE:0x305D,0xE4BCB1:0x305E,0xE4BDA0:0x305F,0xE4BCB3:0x3060, +0xE4BCB5:0x3061,0xE4BCB7:0x3062,0xE4BCB9:0x3063,0xE4BCBB:0x3064,0xE4BCBE:0x3065, +0xE4BD80:0x3066,0xE4BD82:0x3067,0xE4BD88:0x3068,0xE4BD89:0x3069,0xE4BD8B:0x306A, +0xE4BD8C:0x306B,0xE4BD92:0x306C,0xE4BD94:0x306D,0xE4BD96:0x306E,0xE4BD98:0x306F, +0xE4BD9F:0x3070,0xE4BDA3:0x3071,0xE4BDAA:0x3072,0xE4BDAC:0x3073,0xE4BDAE:0x3074, +0xE4BDB1:0x3075,0xE4BDB7:0x3076,0xE4BDB8:0x3077,0xE4BDB9:0x3078,0xE4BDBA:0x3079, +0xE4BDBD:0x307A,0xE4BDBE:0x307B,0xE4BE81:0x307C,0xE4BE82:0x307D,0xE4BE84:0x307E, +0xE4BE85:0x3121,0xE4BE89:0x3122,0xE4BE8A:0x3123,0xE4BE8C:0x3124,0xE4BE8E:0x3125, +0xE4BE90:0x3126,0xE4BE92:0x3127,0xE4BE93:0x3128,0xE4BE94:0x3129,0xE4BE97:0x312A, +0xE4BE99:0x312B,0xE4BE9A:0x312C,0xE4BE9E:0x312D,0xE4BE9F:0x312E,0xE4BEB2:0x312F, +0xE4BEB7:0x3130,0xE4BEB9:0x3131,0xE4BEBB:0x3132,0xE4BEBC:0x3133,0xE4BEBD:0x3134, +0xE4BEBE:0x3135,0xE4BF80:0x3136,0xE4BF81:0x3137,0xE4BF85:0x3138,0xE4BF86:0x3139, +0xE4BF88:0x313A,0xE4BF89:0x313B,0xE4BF8B:0x313C,0xE4BF8C:0x313D,0xE4BF8D:0x313E, +0xE4BF8F:0x313F,0xE4BF92:0x3140,0xE4BF9C:0x3141,0xE4BFA0:0x3142,0xE4BFA2:0x3143, +0xE4BFB0:0x3144,0xE4BFB2:0x3145,0xE4BFBC:0x3146,0xE4BFBD:0x3147,0xE4BFBF:0x3148, +0xE58080:0x3149,0xE58081:0x314A,0xE58084:0x314B,0xE58087:0x314C,0xE5808A:0x314D, +0xE5808C:0x314E,0xE5808E:0x314F,0xE58090:0x3150,0xE58093:0x3151,0xE58097:0x3152, +0xE58098:0x3153,0xE5809B:0x3154,0xE5809C:0x3155,0xE5809D:0x3156,0xE5809E:0x3157, +0xE580A2:0x3158,0xE580A7:0x3159,0xE580AE:0x315A,0xE580B0:0x315B,0xE580B2:0x315C, +0xE580B3:0x315D,0xE580B5:0x315E,0xE58180:0x315F,0xE58181:0x3160,0xE58182:0x3161, +0xE58185:0x3162,0xE58186:0x3163,0xE5818A:0x3164,0xE5818C:0x3165,0xE5818E:0x3166, +0xE58191:0x3167,0xE58192:0x3168,0xE58193:0x3169,0xE58197:0x316A,0xE58199:0x316B, +0xE5819F:0x316C,0xE581A0:0x316D,0xE581A2:0x316E,0xE581A3:0x316F,0xE581A6:0x3170, +0xE581A7:0x3171,0xE581AA:0x3172,0xE581AD:0x3173,0xE581B0:0x3174,0xE581B1:0x3175, +0xE580BB:0x3176,0xE58281:0x3177,0xE58283:0x3178,0xE58284:0x3179,0xE58286:0x317A, +0xE5828A:0x317B,0xE5828E:0x317C,0xE5828F:0x317D,0xE58290:0x317E,0xE58292:0x3221, +0xE58293:0x3222,0xE58294:0x3223,0xE58296:0x3224,0xE5829B:0x3225,0xE5829C:0x3226, +0xE5829E:0x3227,0xE5829F:0x3228,0xE582A0:0x3229,0xE582A1:0x322A,0xE582A2:0x322B, +0xE582AA:0x322C,0xE582AF:0x322D,0xE582B0:0x322E,0xE582B9:0x322F,0xE582BA:0x3230, +0xE582BD:0x3231,0xE58380:0x3232,0xE58383:0x3233,0xE58384:0x3234,0xE58387:0x3235, +0xE5838C:0x3236,0xE5838E:0x3237,0xE58390:0x3238,0xE58393:0x3239,0xE58394:0x323A, +0xE58398:0x323B,0xE5839C:0x323C,0xE5839D:0x323D,0xE5839F:0x323E,0xE583A2:0x323F, +0xE583A4:0x3240,0xE583A6:0x3241,0xE583A8:0x3242,0xE583A9:0x3243,0xE583AF:0x3244, +0xE583B1:0x3245,0xE583B6:0x3246,0xE583BA:0x3247,0xE583BE:0x3248,0xE58483:0x3249, +0xE58486:0x324A,0xE58487:0x324B,0xE58488:0x324C,0xE5848B:0x324D,0xE5848C:0x324E, +0xE5848D:0x324F,0xE5848E:0x3250,0xE583B2:0x3251,0xE58490:0x3252,0xE58497:0x3253, +0xE58499:0x3254,0xE5849B:0x3255,0xE5849C:0x3256,0xE5849D:0x3257,0xE5849E:0x3258, +0xE584A3:0x3259,0xE584A7:0x325A,0xE584A8:0x325B,0xE584AC:0x325C,0xE584AD:0x325D, +0xE584AF:0x325E,0xE584B1:0x325F,0xE584B3:0x3260,0xE584B4:0x3261,0xE584B5:0x3262, +0xE584B8:0x3263,0xE584B9:0x3264,0xE58582:0x3265,0xE5858A:0x3266,0xE5858F:0x3267, +0xE58593:0x3268,0xE58595:0x3269,0xE58597:0x326A,0xE58598:0x326B,0xE5859F:0x326C, +0xE585A4:0x326D,0xE585A6:0x326E,0xE585BE:0x326F,0xE58683:0x3270,0xE58684:0x3271, +0xE5868B:0x3272,0xE5868E:0x3273,0xE58698:0x3274,0xE5869D:0x3275,0xE586A1:0x3276, +0xE586A3:0x3277,0xE586AD:0x3278,0xE586B8:0x3279,0xE586BA:0x327A,0xE586BC:0x327B, +0xE586BE:0x327C,0xE586BF:0x327D,0xE58782:0x327E,0xE58788:0x3321,0xE5878F:0x3322, +0xE58791:0x3323,0xE58792:0x3324,0xE58793:0x3325,0xE58795:0x3326,0xE58798:0x3327, +0xE5879E:0x3328,0xE587A2:0x3329,0xE587A5:0x332A,0xE587AE:0x332B,0xE587B2:0x332C, +0xE587B3:0x332D,0xE587B4:0x332E,0xE587B7:0x332F,0xE58881:0x3330,0xE58882:0x3331, +0xE58885:0x3332,0xE58892:0x3333,0xE58893:0x3334,0xE58895:0x3335,0xE58896:0x3336, +0xE58898:0x3337,0xE588A2:0x3338,0xE588A8:0x3339,0xE588B1:0x333A,0xE588B2:0x333B, +0xE588B5:0x333C,0xE588BC:0x333D,0xE58985:0x333E,0xE58989:0x333F,0xE58995:0x3340, +0xE58997:0x3341,0xE58998:0x3342,0xE5899A:0x3343,0xE5899C:0x3344,0xE5899F:0x3345, +0xE589A0:0x3346,0xE589A1:0x3347,0xE589A6:0x3348,0xE589AE:0x3349,0xE589B7:0x334A, +0xE589B8:0x334B,0xE589B9:0x334C,0xE58A80:0x334D,0xE58A82:0x334E,0xE58A85:0x334F, +0xE58A8A:0x3350,0xE58A8C:0x3351,0xE58A93:0x3352,0xE58A95:0x3353,0xE58A96:0x3354, +0xE58A97:0x3355,0xE58A98:0x3356,0xE58A9A:0x3357,0xE58A9C:0x3358,0xE58AA4:0x3359, +0xE58AA5:0x335A,0xE58AA6:0x335B,0xE58AA7:0x335C,0xE58AAF:0x335D,0xE58AB0:0x335E, +0xE58AB6:0x335F,0xE58AB7:0x3360,0xE58AB8:0x3361,0xE58ABA:0x3362,0xE58ABB:0x3363, +0xE58ABD:0x3364,0xE58B80:0x3365,0xE58B84:0x3366,0xE58B86:0x3367,0xE58B88:0x3368, +0xE58B8C:0x3369,0xE58B8F:0x336A,0xE58B91:0x336B,0xE58B94:0x336C,0xE58B96:0x336D, +0xE58B9B:0x336E,0xE58B9C:0x336F,0xE58BA1:0x3370,0xE58BA5:0x3371,0xE58BA8:0x3372, +0xE58BA9:0x3373,0xE58BAA:0x3374,0xE58BAC:0x3375,0xE58BB0:0x3376,0xE58BB1:0x3377, +0xE58BB4:0x3378,0xE58BB6:0x3379,0xE58BB7:0x337A,0xE58C80:0x337B,0xE58C83:0x337C, +0xE58C8A:0x337D,0xE58C8B:0x337E,0xE58C8C:0x3421,0xE58C91:0x3422,0xE58C93:0x3423, +0xE58C98:0x3424,0xE58C9B:0x3425,0xE58C9C:0x3426,0xE58C9E:0x3427,0xE58C9F:0x3428, +0xE58CA5:0x3429,0xE58CA7:0x342A,0xE58CA8:0x342B,0xE58CA9:0x342C,0xE58CAB:0x342D, +0xE58CAC:0x342E,0xE58CAD:0x342F,0xE58CB0:0x3430,0xE58CB2:0x3431,0xE58CB5:0x3432, +0xE58CBC:0x3433,0xE58CBD:0x3434,0xE58CBE:0x3435,0xE58D82:0x3436,0xE58D8C:0x3437, +0xE58D8B:0x3438,0xE58D99:0x3439,0xE58D9B:0x343A,0xE58DA1:0x343B,0xE58DA3:0x343C, +0xE58DA5:0x343D,0xE58DAC:0x343E,0xE58DAD:0x343F,0xE58DB2:0x3440,0xE58DB9:0x3441, +0xE58DBE:0x3442,0xE58E83:0x3443,0xE58E87:0x3444,0xE58E88:0x3445,0xE58E8E:0x3446, +0xE58E93:0x3447,0xE58E94:0x3448,0xE58E99:0x3449,0xE58E9D:0x344A,0xE58EA1:0x344B, +0xE58EA4:0x344C,0xE58EAA:0x344D,0xE58EAB:0x344E,0xE58EAF:0x344F,0xE58EB2:0x3450, +0xE58EB4:0x3451,0xE58EB5:0x3452,0xE58EB7:0x3453,0xE58EB8:0x3454,0xE58EBA:0x3455, +0xE58EBD:0x3456,0xE58F80:0x3457,0xE58F85:0x3458,0xE58F8F:0x3459,0xE58F92:0x345A, +0xE58F93:0x345B,0xE58F95:0x345C,0xE58F9A:0x345D,0xE58F9D:0x345E,0xE58F9E:0x345F, +0xE58FA0:0x3460,0xE58FA6:0x3461,0xE58FA7:0x3462,0xE58FB5:0x3463,0xE59082:0x3464, +0xE59093:0x3465,0xE5909A:0x3466,0xE590A1:0x3467,0xE590A7:0x3468,0xE590A8:0x3469, +0xE590AA:0x346A,0xE590AF:0x346B,0xE590B1:0x346C,0xE590B4:0x346D,0xE590B5:0x346E, +0xE59183:0x346F,0xE59184:0x3470,0xE59187:0x3471,0xE5918D:0x3472,0xE5918F:0x3473, +0xE5919E:0x3474,0xE591A2:0x3475,0xE591A4:0x3476,0xE591A6:0x3477,0xE591A7:0x3478, +0xE591A9:0x3479,0xE591AB:0x347A,0xE591AD:0x347B,0xE591AE:0x347C,0xE591B4:0x347D, +0xE591BF:0x347E,0xE59281:0x3521,0xE59283:0x3522,0xE59285:0x3523,0xE59288:0x3524, +0xE59289:0x3525,0xE5928D:0x3526,0xE59291:0x3527,0xE59295:0x3528,0xE59296:0x3529, +0xE5929C:0x352A,0xE5929F:0x352B,0xE592A1:0x352C,0xE592A6:0x352D,0xE592A7:0x352E, +0xE592A9:0x352F,0xE592AA:0x3530,0xE592AD:0x3531,0xE592AE:0x3532,0xE592B1:0x3533, +0xE592B7:0x3534,0xE592B9:0x3535,0xE592BA:0x3536,0xE592BB:0x3537,0xE592BF:0x3538, +0xE59386:0x3539,0xE5938A:0x353A,0xE5938D:0x353B,0xE5938E:0x353C,0xE593A0:0x353D, +0xE593AA:0x353E,0xE593AC:0x353F,0xE593AF:0x3540,0xE593B6:0x3541,0xE593BC:0x3542, +0xE593BE:0x3543,0xE593BF:0x3544,0xE59480:0x3545,0xE59481:0x3546,0xE59485:0x3547, +0xE59488:0x3548,0xE59489:0x3549,0xE5948C:0x354A,0xE5948D:0x354B,0xE5948E:0x354C, +0xE59495:0x354D,0xE594AA:0x354E,0xE594AB:0x354F,0xE594B2:0x3550,0xE594B5:0x3551, +0xE594B6:0x3552,0xE594BB:0x3553,0xE594BC:0x3554,0xE594BD:0x3555,0xE59581:0x3556, +0xE59587:0x3557,0xE59589:0x3558,0xE5958A:0x3559,0xE5958D:0x355A,0xE59590:0x355B, +0xE59591:0x355C,0xE59598:0x355D,0xE5959A:0x355E,0xE5959B:0x355F,0xE5959E:0x3560, +0xE595A0:0x3561,0xE595A1:0x3562,0xE595A4:0x3563,0xE595A6:0x3564,0xE595BF:0x3565, +0xE59681:0x3566,0xE59682:0x3567,0xE59686:0x3568,0xE59688:0x3569,0xE5968E:0x356A, +0xE5968F:0x356B,0xE59691:0x356C,0xE59692:0x356D,0xE59693:0x356E,0xE59694:0x356F, +0xE59697:0x3570,0xE596A3:0x3571,0xE596A4:0x3572,0xE596AD:0x3573,0xE596B2:0x3574, +0xE596BF:0x3575,0xE59781:0x3576,0xE59783:0x3577,0xE59786:0x3578,0xE59789:0x3579, +0xE5978B:0x357A,0xE5978C:0x357B,0xE5978E:0x357C,0xE59791:0x357D,0xE59792:0x357E, +0xE59793:0x3621,0xE59797:0x3622,0xE59798:0x3623,0xE5979B:0x3624,0xE5979E:0x3625, +0xE597A2:0x3626,0xE597A9:0x3627,0xE597B6:0x3628,0xE597BF:0x3629,0xE59885:0x362A, +0xE59888:0x362B,0xE5988A:0x362C,0xE5988D:0x362D,0xE5988E:0x362E,0xE5988F:0x362F, +0xE59890:0x3630,0xE59891:0x3631,0xE59892:0x3632,0xE59899:0x3633,0xE598AC:0x3634, +0xE598B0:0x3635,0xE598B3:0x3636,0xE598B5:0x3637,0xE598B7:0x3638,0xE598B9:0x3639, +0xE598BB:0x363A,0xE598BC:0x363B,0xE598BD:0x363C,0xE598BF:0x363D,0xE59980:0x363E, +0xE59981:0x363F,0xE59983:0x3640,0xE59984:0x3641,0xE59986:0x3642,0xE59989:0x3643, +0xE5998B:0x3644,0xE5998D:0x3645,0xE5998F:0x3646,0xE59994:0x3647,0xE5999E:0x3648, +0xE599A0:0x3649,0xE599A1:0x364A,0xE599A2:0x364B,0xE599A3:0x364C,0xE599A6:0x364D, +0xE599A9:0x364E,0xE599AD:0x364F,0xE599AF:0x3650,0xE599B1:0x3651,0xE599B2:0x3652, +0xE599B5:0x3653,0xE59A84:0x3654,0xE59A85:0x3655,0xE59A88:0x3656,0xE59A8B:0x3657, +0xE59A8C:0x3658,0xE59A95:0x3659,0xE59A99:0x365A,0xE59A9A:0x365B,0xE59A9D:0x365C, +0xE59A9E:0x365D,0xE59A9F:0x365E,0xE59AA6:0x365F,0xE59AA7:0x3660,0xE59AA8:0x3661, +0xE59AA9:0x3662,0xE59AAB:0x3663,0xE59AAC:0x3664,0xE59AAD:0x3665,0xE59AB1:0x3666, +0xE59AB3:0x3667,0xE59AB7:0x3668,0xE59ABE:0x3669,0xE59B85:0x366A,0xE59B89:0x366B, +0xE59B8A:0x366C,0xE59B8B:0x366D,0xE59B8F:0x366E,0xE59B90:0x366F,0xE59B8C:0x3670, +0xE59B8D:0x3671,0xE59B99:0x3672,0xE59B9C:0x3673,0xE59B9D:0x3674,0xE59B9F:0x3675, +0xE59BA1:0x3676,0xE59BA4:0x3677,0xE59BA5:0x3678,0xE59BA6:0x3679,0xE59BA7:0x367A, +0xE59BA8:0x367B,0xE59BB1:0x367C,0xE59BAB:0x367D,0xE59BAD:0x367E,0xE59BB6:0x3721, +0xE59BB7:0x3722,0xE59C81:0x3723,0xE59C82:0x3724,0xE59C87:0x3725,0xE59C8A:0x3726, +0xE59C8C:0x3727,0xE59C91:0x3728,0xE59C95:0x3729,0xE59C9A:0x372A,0xE59C9B:0x372B, +0xE59C9D:0x372C,0xE59CA0:0x372D,0xE59CA2:0x372E,0xE59CA3:0x372F,0xE59CA4:0x3730, +0xE59CA5:0x3731,0xE59CA9:0x3732,0xE59CAA:0x3733,0xE59CAC:0x3734,0xE59CAE:0x3735, +0xE59CAF:0x3736,0xE59CB3:0x3737,0xE59CB4:0x3738,0xE59CBD:0x3739,0xE59CBE:0x373A, +0xE59CBF:0x373B,0xE59D85:0x373C,0xE59D86:0x373D,0xE59D8C:0x373E,0xE59D8D:0x373F, +0xE59D92:0x3740,0xE59DA2:0x3741,0xE59DA5:0x3742,0xE59DA7:0x3743,0xE59DA8:0x3744, +0xE59DAB:0x3745,0xE59DAD:0x3746,0xE59DAE:0x3747,0xE59DAF:0x3748,0xE59DB0:0x3749, +0xE59DB1:0x374A,0xE59DB3:0x374B,0xE59DB4:0x374C,0xE59DB5:0x374D,0xE59DB7:0x374E, +0xE59DB9:0x374F,0xE59DBA:0x3750,0xE59DBB:0x3751,0xE59DBC:0x3752,0xE59DBE:0x3753, +0xE59E81:0x3754,0xE59E83:0x3755,0xE59E8C:0x3756,0xE59E94:0x3757,0xE59E97:0x3758, +0xE59E99:0x3759,0xE59E9A:0x375A,0xE59E9C:0x375B,0xE59E9D:0x375C,0xE59E9E:0x375D, +0xE59E9F:0x375E,0xE59EA1:0x375F,0xE59E95:0x3760,0xE59EA7:0x3761,0xE59EA8:0x3762, +0xE59EA9:0x3763,0xE59EAC:0x3764,0xE59EB8:0x3765,0xE59EBD:0x3766,0xE59F87:0x3767, +0xE59F88:0x3768,0xE59F8C:0x3769,0xE59F8F:0x376A,0xE59F95:0x376B,0xE59F9D:0x376C, +0xE59F9E:0x376D,0xE59FA4:0x376E,0xE59FA6:0x376F,0xE59FA7:0x3770,0xE59FA9:0x3771, +0xE59FAD:0x3772,0xE59FB0:0x3773,0xE59FB5:0x3774,0xE59FB6:0x3775,0xE59FB8:0x3776, +0xE59FBD:0x3777,0xE59FBE:0x3778,0xE59FBF:0x3779,0xE5A083:0x377A,0xE5A084:0x377B, +0xE5A088:0x377C,0xE5A089:0x377D,0xE59FA1:0x377E,0xE5A08C:0x3821,0xE5A08D:0x3822, +0xE5A09B:0x3823,0xE5A09E:0x3824,0xE5A09F:0x3825,0xE5A0A0:0x3826,0xE5A0A6:0x3827, +0xE5A0A7:0x3828,0xE5A0AD:0x3829,0xE5A0B2:0x382A,0xE5A0B9:0x382B,0xE5A0BF:0x382C, +0xE5A189:0x382D,0xE5A18C:0x382E,0xE5A18D:0x382F,0xE5A18F:0x3830,0xE5A190:0x3831, +0xE5A195:0x3832,0xE5A19F:0x3833,0xE5A1A1:0x3834,0xE5A1A4:0x3835,0xE5A1A7:0x3836, +0xE5A1A8:0x3837,0xE5A1B8:0x3838,0xE5A1BC:0x3839,0xE5A1BF:0x383A,0xE5A280:0x383B, +0xE5A281:0x383C,0xE5A287:0x383D,0xE5A288:0x383E,0xE5A289:0x383F,0xE5A28A:0x3840, +0xE5A28C:0x3841,0xE5A28D:0x3842,0xE5A28F:0x3843,0xE5A290:0x3844,0xE5A294:0x3845, +0xE5A296:0x3846,0xE5A29D:0x3847,0xE5A2A0:0x3848,0xE5A2A1:0x3849,0xE5A2A2:0x384A, +0xE5A2A6:0x384B,0xE5A2A9:0x384C,0xE5A2B1:0x384D,0xE5A2B2:0x384E,0xE5A384:0x384F, +0xE5A2BC:0x3850,0xE5A382:0x3851,0xE5A388:0x3852,0xE5A38D:0x3853,0xE5A38E:0x3854, +0xE5A390:0x3855,0xE5A392:0x3856,0xE5A394:0x3857,0xE5A396:0x3858,0xE5A39A:0x3859, +0xE5A39D:0x385A,0xE5A3A1:0x385B,0xE5A3A2:0x385C,0xE5A3A9:0x385D,0xE5A3B3:0x385E, +0xE5A485:0x385F,0xE5A486:0x3860,0xE5A48B:0x3861,0xE5A48C:0x3862,0xE5A492:0x3863, +0xE5A493:0x3864,0xE5A494:0x3865,0xE89981:0x3866,0xE5A49D:0x3867,0xE5A4A1:0x3868, +0xE5A4A3:0x3869,0xE5A4A4:0x386A,0xE5A4A8:0x386B,0xE5A4AF:0x386C,0xE5A4B0:0x386D, +0xE5A4B3:0x386E,0xE5A4B5:0x386F,0xE5A4B6:0x3870,0xE5A4BF:0x3871,0xE5A583:0x3872, +0xE5A586:0x3873,0xE5A592:0x3874,0xE5A593:0x3875,0xE5A599:0x3876,0xE5A59B:0x3877, +0xE5A59D:0x3878,0xE5A59E:0x3879,0xE5A59F:0x387A,0xE5A5A1:0x387B,0xE5A5A3:0x387C, +0xE5A5AB:0x387D,0xE5A5AD:0x387E,0xE5A5AF:0x3921,0xE5A5B2:0x3922,0xE5A5B5:0x3923, +0xE5A5B6:0x3924,0xE5A5B9:0x3925,0xE5A5BB:0x3926,0xE5A5BC:0x3927,0xE5A68B:0x3928, +0xE5A68C:0x3929,0xE5A68E:0x392A,0xE5A692:0x392B,0xE5A695:0x392C,0xE5A697:0x392D, +0xE5A69F:0x392E,0xE5A6A4:0x392F,0xE5A6A7:0x3930,0xE5A6AD:0x3931,0xE5A6AE:0x3932, +0xE5A6AF:0x3933,0xE5A6B0:0x3934,0xE5A6B3:0x3935,0xE5A6B7:0x3936,0xE5A6BA:0x3937, +0xE5A6BC:0x3938,0xE5A781:0x3939,0xE5A783:0x393A,0xE5A784:0x393B,0xE5A788:0x393C, +0xE5A78A:0x393D,0xE5A78D:0x393E,0xE5A792:0x393F,0xE5A79D:0x3940,0xE5A79E:0x3941, +0xE5A79F:0x3942,0xE5A7A3:0x3943,0xE5A7A4:0x3944,0xE5A7A7:0x3945,0xE5A7AE:0x3946, +0xE5A7AF:0x3947,0xE5A7B1:0x3948,0xE5A7B2:0x3949,0xE5A7B4:0x394A,0xE5A7B7:0x394B, +0xE5A880:0x394C,0xE5A884:0x394D,0xE5A88C:0x394E,0xE5A88D:0x394F,0xE5A88E:0x3950, +0xE5A892:0x3951,0xE5A893:0x3952,0xE5A89E:0x3953,0xE5A8A3:0x3954,0xE5A8A4:0x3955, +0xE5A8A7:0x3956,0xE5A8A8:0x3957,0xE5A8AA:0x3958,0xE5A8AD:0x3959,0xE5A8B0:0x395A, +0xE5A984:0x395B,0xE5A985:0x395C,0xE5A987:0x395D,0xE5A988:0x395E,0xE5A98C:0x395F, +0xE5A990:0x3960,0xE5A995:0x3961,0xE5A99E:0x3962,0xE5A9A3:0x3963,0xE5A9A5:0x3964, +0xE5A9A7:0x3965,0xE5A9AD:0x3966,0xE5A9B7:0x3967,0xE5A9BA:0x3968,0xE5A9BB:0x3969, +0xE5A9BE:0x396A,0xE5AA8B:0x396B,0xE5AA90:0x396C,0xE5AA93:0x396D,0xE5AA96:0x396E, +0xE5AA99:0x396F,0xE5AA9C:0x3970,0xE5AA9E:0x3971,0xE5AA9F:0x3972,0xE5AAA0:0x3973, +0xE5AAA2:0x3974,0xE5AAA7:0x3975,0xE5AAAC:0x3976,0xE5AAB1:0x3977,0xE5AAB2:0x3978, +0xE5AAB3:0x3979,0xE5AAB5:0x397A,0xE5AAB8:0x397B,0xE5AABA:0x397C,0xE5AABB:0x397D, +0xE5AABF:0x397E,0xE5AB84:0x3A21,0xE5AB86:0x3A22,0xE5AB88:0x3A23,0xE5AB8F:0x3A24, +0xE5AB9A:0x3A25,0xE5AB9C:0x3A26,0xE5ABA0:0x3A27,0xE5ABA5:0x3A28,0xE5ABAA:0x3A29, +0xE5ABAE:0x3A2A,0xE5ABB5:0x3A2B,0xE5ABB6:0x3A2C,0xE5ABBD:0x3A2D,0xE5AC80:0x3A2E, +0xE5AC81:0x3A2F,0xE5AC88:0x3A30,0xE5AC97:0x3A31,0xE5ACB4:0x3A32,0xE5AC99:0x3A33, +0xE5AC9B:0x3A34,0xE5AC9D:0x3A35,0xE5ACA1:0x3A36,0xE5ACA5:0x3A37,0xE5ACAD:0x3A38, +0xE5ACB8:0x3A39,0xE5AD81:0x3A3A,0xE5AD8B:0x3A3B,0xE5AD8C:0x3A3C,0xE5AD92:0x3A3D, +0xE5AD96:0x3A3E,0xE5AD9E:0x3A3F,0xE5ADA8:0x3A40,0xE5ADAE:0x3A41,0xE5ADAF:0x3A42, +0xE5ADBC:0x3A43,0xE5ADBD:0x3A44,0xE5ADBE:0x3A45,0xE5ADBF:0x3A46,0xE5AE81:0x3A47, +0xE5AE84:0x3A48,0xE5AE86:0x3A49,0xE5AE8A:0x3A4A,0xE5AE8E:0x3A4B,0xE5AE90:0x3A4C, +0xE5AE91:0x3A4D,0xE5AE93:0x3A4E,0xE5AE94:0x3A4F,0xE5AE96:0x3A50,0xE5AEA8:0x3A51, +0xE5AEA9:0x3A52,0xE5AEAC:0x3A53,0xE5AEAD:0x3A54,0xE5AEAF:0x3A55,0xE5AEB1:0x3A56, +0xE5AEB2:0x3A57,0xE5AEB7:0x3A58,0xE5AEBA:0x3A59,0xE5AEBC:0x3A5A,0xE5AF80:0x3A5B, +0xE5AF81:0x3A5C,0xE5AF8D:0x3A5D,0xE5AF8F:0x3A5E,0xE5AF96:0x3A5F,0xE5AF97:0x3A60, +0xE5AF98:0x3A61,0xE5AF99:0x3A62,0xE5AF9A:0x3A63,0xE5AFA0:0x3A64,0xE5AFAF:0x3A65, +0xE5AFB1:0x3A66,0xE5AFB4:0x3A67,0xE5AFBD:0x3A68,0xE5B08C:0x3A69,0xE5B097:0x3A6A, +0xE5B09E:0x3A6B,0xE5B09F:0x3A6C,0xE5B0A3:0x3A6D,0xE5B0A6:0x3A6E,0xE5B0A9:0x3A6F, +0xE5B0AB:0x3A70,0xE5B0AC:0x3A71,0xE5B0AE:0x3A72,0xE5B0B0:0x3A73,0xE5B0B2:0x3A74, +0xE5B0B5:0x3A75,0xE5B0B6:0x3A76,0xE5B199:0x3A77,0xE5B19A:0x3A78,0xE5B19C:0x3A79, +0xE5B1A2:0x3A7A,0xE5B1A3:0x3A7B,0xE5B1A7:0x3A7C,0xE5B1A8:0x3A7D,0xE5B1A9:0x3A7E, +0xE5B1AD:0x3B21,0xE5B1B0:0x3B22,0xE5B1B4:0x3B23,0xE5B1B5:0x3B24,0xE5B1BA:0x3B25, +0xE5B1BB:0x3B26,0xE5B1BC:0x3B27,0xE5B1BD:0x3B28,0xE5B287:0x3B29,0xE5B288:0x3B2A, +0xE5B28A:0x3B2B,0xE5B28F:0x3B2C,0xE5B292:0x3B2D,0xE5B29D:0x3B2E,0xE5B29F:0x3B2F, +0xE5B2A0:0x3B30,0xE5B2A2:0x3B31,0xE5B2A3:0x3B32,0xE5B2A6:0x3B33,0xE5B2AA:0x3B34, +0xE5B2B2:0x3B35,0xE5B2B4:0x3B36,0xE5B2B5:0x3B37,0xE5B2BA:0x3B38,0xE5B389:0x3B39, +0xE5B38B:0x3B3A,0xE5B392:0x3B3B,0xE5B39D:0x3B3C,0xE5B397:0x3B3D,0xE5B3AE:0x3B3E, +0xE5B3B1:0x3B3F,0xE5B3B2:0x3B40,0xE5B3B4:0x3B41,0xE5B481:0x3B42,0xE5B486:0x3B43, +0xE5B48D:0x3B44,0xE5B492:0x3B45,0xE5B4AB:0x3B46,0xE5B4A3:0x3B47,0xE5B4A4:0x3B48, +0xE5B4A6:0x3B49,0xE5B4A7:0x3B4A,0xE5B4B1:0x3B4B,0xE5B4B4:0x3B4C,0xE5B4B9:0x3B4D, +0xE5B4BD:0x3B4E,0xE5B4BF:0x3B4F,0xE5B582:0x3B50,0xE5B583:0x3B51,0xE5B586:0x3B52, +0xE5B588:0x3B53,0xE5B595:0x3B54,0xE5B591:0x3B55,0xE5B599:0x3B56,0xE5B58A:0x3B57, +0xE5B59F:0x3B58,0xE5B5A0:0x3B59,0xE5B5A1:0x3B5A,0xE5B5A2:0x3B5B,0xE5B5A4:0x3B5C, +0xE5B5AA:0x3B5D,0xE5B5AD:0x3B5E,0xE5B5B0:0x3B5F,0xE5B5B9:0x3B60,0xE5B5BA:0x3B61, +0xE5B5BE:0x3B62,0xE5B5BF:0x3B63,0xE5B681:0x3B64,0xE5B683:0x3B65,0xE5B688:0x3B66, +0xE5B68A:0x3B67,0xE5B692:0x3B68,0xE5B693:0x3B69,0xE5B694:0x3B6A,0xE5B695:0x3B6B, +0xE5B699:0x3B6C,0xE5B69B:0x3B6D,0xE5B69F:0x3B6E,0xE5B6A0:0x3B6F,0xE5B6A7:0x3B70, +0xE5B6AB:0x3B71,0xE5B6B0:0x3B72,0xE5B6B4:0x3B73,0xE5B6B8:0x3B74,0xE5B6B9:0x3B75, +0xE5B783:0x3B76,0xE5B787:0x3B77,0xE5B78B:0x3B78,0xE5B790:0x3B79,0xE5B78E:0x3B7A, +0xE5B798:0x3B7B,0xE5B799:0x3B7C,0xE5B7A0:0x3B7D,0xE5B7A4:0x3B7E,0xE5B7A9:0x3C21, +0xE5B7B8:0x3C22,0xE5B7B9:0x3C23,0xE5B880:0x3C24,0xE5B887:0x3C25,0xE5B88D:0x3C26, +0xE5B892:0x3C27,0xE5B894:0x3C28,0xE5B895:0x3C29,0xE5B898:0x3C2A,0xE5B89F:0x3C2B, +0xE5B8A0:0x3C2C,0xE5B8AE:0x3C2D,0xE5B8A8:0x3C2E,0xE5B8B2:0x3C2F,0xE5B8B5:0x3C30, +0xE5B8BE:0x3C31,0xE5B98B:0x3C32,0xE5B990:0x3C33,0xE5B989:0x3C34,0xE5B991:0x3C35, +0xE5B996:0x3C36,0xE5B998:0x3C37,0xE5B99B:0x3C38,0xE5B99C:0x3C39,0xE5B99E:0x3C3A, +0xE5B9A8:0x3C3B,0xE5B9AA:0x3C3C,0xE5B9AB:0x3C3D,0xE5B9AC:0x3C3E,0xE5B9AD:0x3C3F, +0xE5B9AE:0x3C40,0xE5B9B0:0x3C41,0xE5BA80:0x3C42,0xE5BA8B:0x3C43,0xE5BA8E:0x3C44, +0xE5BAA2:0x3C45,0xE5BAA4:0x3C46,0xE5BAA5:0x3C47,0xE5BAA8:0x3C48,0xE5BAAA:0x3C49, +0xE5BAAC:0x3C4A,0xE5BAB1:0x3C4B,0xE5BAB3:0x3C4C,0xE5BABD:0x3C4D,0xE5BABE:0x3C4E, +0xE5BABF:0x3C4F,0xE5BB86:0x3C50,0xE5BB8C:0x3C51,0xE5BB8B:0x3C52,0xE5BB8E:0x3C53, +0xE5BB91:0x3C54,0xE5BB92:0x3C55,0xE5BB94:0x3C56,0xE5BB95:0x3C57,0xE5BB9C:0x3C58, +0xE5BB9E:0x3C59,0xE5BBA5:0x3C5A,0xE5BBAB:0x3C5B,0xE5BC82:0x3C5C,0xE5BC86:0x3C5D, +0xE5BC87:0x3C5E,0xE5BC88:0x3C5F,0xE5BC8E:0x3C60,0xE5BC99:0x3C61,0xE5BC9C:0x3C62, +0xE5BC9D:0x3C63,0xE5BCA1:0x3C64,0xE5BCA2:0x3C65,0xE5BCA3:0x3C66,0xE5BCA4:0x3C67, +0xE5BCA8:0x3C68,0xE5BCAB:0x3C69,0xE5BCAC:0x3C6A,0xE5BCAE:0x3C6B,0xE5BCB0:0x3C6C, +0xE5BCB4:0x3C6D,0xE5BCB6:0x3C6E,0xE5BCBB:0x3C6F,0xE5BCBD:0x3C70,0xE5BCBF:0x3C71, +0xE5BD80:0x3C72,0xE5BD84:0x3C73,0xE5BD85:0x3C74,0xE5BD87:0x3C75,0xE5BD8D:0x3C76, +0xE5BD90:0x3C77,0xE5BD94:0x3C78,0xE5BD98:0x3C79,0xE5BD9B:0x3C7A,0xE5BDA0:0x3C7B, +0xE5BDA3:0x3C7C,0xE5BDA4:0x3C7D,0xE5BDA7:0x3C7E,0xE5BDAF:0x3D21,0xE5BDB2:0x3D22, +0xE5BDB4:0x3D23,0xE5BDB5:0x3D24,0xE5BDB8:0x3D25,0xE5BDBA:0x3D26,0xE5BDBD:0x3D27, +0xE5BDBE:0x3D28,0xE5BE89:0x3D29,0xE5BE8D:0x3D2A,0xE5BE8F:0x3D2B,0xE5BE96:0x3D2C, +0xE5BE9C:0x3D2D,0xE5BE9D:0x3D2E,0xE5BEA2:0x3D2F,0xE5BEA7:0x3D30,0xE5BEAB:0x3D31, +0xE5BEA4:0x3D32,0xE5BEAC:0x3D33,0xE5BEAF:0x3D34,0xE5BEB0:0x3D35,0xE5BEB1:0x3D36, +0xE5BEB8:0x3D37,0xE5BF84:0x3D38,0xE5BF87:0x3D39,0xE5BF88:0x3D3A,0xE5BF89:0x3D3B, +0xE5BF8B:0x3D3C,0xE5BF90:0x3D3D,0xE5BF91:0x3D3E,0xE5BF92:0x3D3F,0xE5BF93:0x3D40, +0xE5BF94:0x3D41,0xE5BF9E:0x3D42,0xE5BFA1:0x3D43,0xE5BFA2:0x3D44,0xE5BFA8:0x3D45, +0xE5BFA9:0x3D46,0xE5BFAA:0x3D47,0xE5BFAC:0x3D48,0xE5BFAD:0x3D49,0xE5BFAE:0x3D4A, +0xE5BFAF:0x3D4B,0xE5BFB2:0x3D4C,0xE5BFB3:0x3D4D,0xE5BFB6:0x3D4E,0xE5BFBA:0x3D4F, +0xE5BFBC:0x3D50,0xE68087:0x3D51,0xE6808A:0x3D52,0xE6808D:0x3D53,0xE68093:0x3D54, +0xE68094:0x3D55,0xE68097:0x3D56,0xE68098:0x3D57,0xE6809A:0x3D58,0xE6809F:0x3D59, +0xE680A4:0x3D5A,0xE680AD:0x3D5B,0xE680B3:0x3D5C,0xE680B5:0x3D5D,0xE68180:0x3D5E, +0xE68187:0x3D5F,0xE68188:0x3D60,0xE68189:0x3D61,0xE6818C:0x3D62,0xE68191:0x3D63, +0xE68194:0x3D64,0xE68196:0x3D65,0xE68197:0x3D66,0xE6819D:0x3D67,0xE681A1:0x3D68, +0xE681A7:0x3D69,0xE681B1:0x3D6A,0xE681BE:0x3D6B,0xE681BF:0x3D6C,0xE68282:0x3D6D, +0xE68286:0x3D6E,0xE68288:0x3D6F,0xE6828A:0x3D70,0xE6828E:0x3D71,0xE68291:0x3D72, +0xE68293:0x3D73,0xE68295:0x3D74,0xE68298:0x3D75,0xE6829D:0x3D76,0xE6829E:0x3D77, +0xE682A2:0x3D78,0xE682A4:0x3D79,0xE682A5:0x3D7A,0xE682A8:0x3D7B,0xE682B0:0x3D7C, +0xE682B1:0x3D7D,0xE682B7:0x3D7E,0xE682BB:0x3E21,0xE682BE:0x3E22,0xE68382:0x3E23, +0xE68384:0x3E24,0xE68388:0x3E25,0xE68389:0x3E26,0xE6838A:0x3E27,0xE6838B:0x3E28, +0xE6838E:0x3E29,0xE6838F:0x3E2A,0xE68394:0x3E2B,0xE68395:0x3E2C,0xE68399:0x3E2D, +0xE6839B:0x3E2E,0xE6839D:0x3E2F,0xE6839E:0x3E30,0xE683A2:0x3E31,0xE683A5:0x3E32, +0xE683B2:0x3E33,0xE683B5:0x3E34,0xE683B8:0x3E35,0xE683BC:0x3E36,0xE683BD:0x3E37, +0xE68482:0x3E38,0xE68487:0x3E39,0xE6848A:0x3E3A,0xE6848C:0x3E3B,0xE68490:0x3E3C, +0xE68491:0x3E3D,0xE68492:0x3E3E,0xE68493:0x3E3F,0xE68494:0x3E40,0xE68496:0x3E41, +0xE68497:0x3E42,0xE68499:0x3E43,0xE6849C:0x3E44,0xE6849E:0x3E45,0xE684A2:0x3E46, +0xE684AA:0x3E47,0xE684AB:0x3E48,0xE684B0:0x3E49,0xE684B1:0x3E4A,0xE684B5:0x3E4B, +0xE684B6:0x3E4C,0xE684B7:0x3E4D,0xE684B9:0x3E4E,0xE68581:0x3E4F,0xE68585:0x3E50, +0xE68586:0x3E51,0xE68589:0x3E52,0xE6859E:0x3E53,0xE685A0:0x3E54,0xE685AC:0x3E55, +0xE685B2:0x3E56,0xE685B8:0x3E57,0xE685BB:0x3E58,0xE685BC:0x3E59,0xE685BF:0x3E5A, +0xE68680:0x3E5B,0xE68681:0x3E5C,0xE68683:0x3E5D,0xE68684:0x3E5E,0xE6868B:0x3E5F, +0xE6868D:0x3E60,0xE68692:0x3E61,0xE68693:0x3E62,0xE68697:0x3E63,0xE68698:0x3E64, +0xE6869C:0x3E65,0xE6869D:0x3E66,0xE6869F:0x3E67,0xE686A0:0x3E68,0xE686A5:0x3E69, +0xE686A8:0x3E6A,0xE686AA:0x3E6B,0xE686AD:0x3E6C,0xE686B8:0x3E6D,0xE686B9:0x3E6E, +0xE686BC:0x3E6F,0xE68780:0x3E70,0xE68781:0x3E71,0xE68782:0x3E72,0xE6878E:0x3E73, +0xE6878F:0x3E74,0xE68795:0x3E75,0xE6879C:0x3E76,0xE6879D:0x3E77,0xE6879E:0x3E78, +0xE6879F:0x3E79,0xE687A1:0x3E7A,0xE687A2:0x3E7B,0xE687A7:0x3E7C,0xE687A9:0x3E7D, +0xE687A5:0x3E7E,0xE687AC:0x3F21,0xE687AD:0x3F22,0xE687AF:0x3F23,0xE68881:0x3F24, +0xE68883:0x3F25,0xE68884:0x3F26,0xE68887:0x3F27,0xE68893:0x3F28,0xE68895:0x3F29, +0xE6889C:0x3F2A,0xE688A0:0x3F2B,0xE688A2:0x3F2C,0xE688A3:0x3F2D,0xE688A7:0x3F2E, +0xE688A9:0x3F2F,0xE688AB:0x3F30,0xE688B9:0x3F31,0xE688BD:0x3F32,0xE68982:0x3F33, +0xE68983:0x3F34,0xE68984:0x3F35,0xE68986:0x3F36,0xE6898C:0x3F37,0xE68990:0x3F38, +0xE68991:0x3F39,0xE68992:0x3F3A,0xE68994:0x3F3B,0xE68996:0x3F3C,0xE6899A:0x3F3D, +0xE6899C:0x3F3E,0xE689A4:0x3F3F,0xE689AD:0x3F40,0xE689AF:0x3F41,0xE689B3:0x3F42, +0xE689BA:0x3F43,0xE689BD:0x3F44,0xE68A8D:0x3F45,0xE68A8E:0x3F46,0xE68A8F:0x3F47, +0xE68A90:0x3F48,0xE68AA6:0x3F49,0xE68AA8:0x3F4A,0xE68AB3:0x3F4B,0xE68AB6:0x3F4C, +0xE68AB7:0x3F4D,0xE68ABA:0x3F4E,0xE68ABE:0x3F4F,0xE68ABF:0x3F50,0xE68B84:0x3F51, +0xE68B8E:0x3F52,0xE68B95:0x3F53,0xE68B96:0x3F54,0xE68B9A:0x3F55,0xE68BAA:0x3F56, +0xE68BB2:0x3F57,0xE68BB4:0x3F58,0xE68BBC:0x3F59,0xE68BBD:0x3F5A,0xE68C83:0x3F5B, +0xE68C84:0x3F5C,0xE68C8A:0x3F5D,0xE68C8B:0x3F5E,0xE68C8D:0x3F5F,0xE68C90:0x3F60, +0xE68C93:0x3F61,0xE68C96:0x3F62,0xE68C98:0x3F63,0xE68CA9:0x3F64,0xE68CAA:0x3F65, +0xE68CAD:0x3F66,0xE68CB5:0x3F67,0xE68CB6:0x3F68,0xE68CB9:0x3F69,0xE68CBC:0x3F6A, +0xE68D81:0x3F6B,0xE68D82:0x3F6C,0xE68D83:0x3F6D,0xE68D84:0x3F6E,0xE68D86:0x3F6F, +0xE68D8A:0x3F70,0xE68D8B:0x3F71,0xE68D8E:0x3F72,0xE68D92:0x3F73,0xE68D93:0x3F74, +0xE68D94:0x3F75,0xE68D98:0x3F76,0xE68D9B:0x3F77,0xE68DA5:0x3F78,0xE68DA6:0x3F79, +0xE68DAC:0x3F7A,0xE68DAD:0x3F7B,0xE68DB1:0x3F7C,0xE68DB4:0x3F7D,0xE68DB5:0x3F7E, +0xE68DB8:0x4021,0xE68DBC:0x4022,0xE68DBD:0x4023,0xE68DBF:0x4024,0xE68E82:0x4025, +0xE68E84:0x4026,0xE68E87:0x4027,0xE68E8A:0x4028,0xE68E90:0x4029,0xE68E94:0x402A, +0xE68E95:0x402B,0xE68E99:0x402C,0xE68E9A:0x402D,0xE68E9E:0x402E,0xE68EA4:0x402F, +0xE68EA6:0x4030,0xE68EAD:0x4031,0xE68EAE:0x4032,0xE68EAF:0x4033,0xE68EBD:0x4034, +0xE68F81:0x4035,0xE68F85:0x4036,0xE68F88:0x4037,0xE68F8E:0x4038,0xE68F91:0x4039, +0xE68F93:0x403A,0xE68F94:0x403B,0xE68F95:0x403C,0xE68F9C:0x403D,0xE68FA0:0x403E, +0xE68FA5:0x403F,0xE68FAA:0x4040,0xE68FAC:0x4041,0xE68FB2:0x4042,0xE68FB3:0x4043, +0xE68FB5:0x4044,0xE68FB8:0x4045,0xE68FB9:0x4046,0xE69089:0x4047,0xE6908A:0x4048, +0xE69090:0x4049,0xE69092:0x404A,0xE69094:0x404B,0xE69098:0x404C,0xE6909E:0x404D, +0xE690A0:0x404E,0xE690A2:0x404F,0xE690A4:0x4050,0xE690A5:0x4051,0xE690A9:0x4052, +0xE690AA:0x4053,0xE690AF:0x4054,0xE690B0:0x4055,0xE690B5:0x4056,0xE690BD:0x4057, +0xE690BF:0x4058,0xE6918B:0x4059,0xE6918F:0x405A,0xE69191:0x405B,0xE69192:0x405C, +0xE69193:0x405D,0xE69194:0x405E,0xE6919A:0x405F,0xE6919B:0x4060,0xE6919C:0x4061, +0xE6919D:0x4062,0xE6919F:0x4063,0xE691A0:0x4064,0xE691A1:0x4065,0xE691A3:0x4066, +0xE691AD:0x4067,0xE691B3:0x4068,0xE691B4:0x4069,0xE691BB:0x406A,0xE691BD:0x406B, +0xE69285:0x406C,0xE69287:0x406D,0xE6928F:0x406E,0xE69290:0x406F,0xE69291:0x4070, +0xE69298:0x4071,0xE69299:0x4072,0xE6929B:0x4073,0xE6929D:0x4074,0xE6929F:0x4075, +0xE692A1:0x4076,0xE692A3:0x4077,0xE692A6:0x4078,0xE692A8:0x4079,0xE692AC:0x407A, +0xE692B3:0x407B,0xE692BD:0x407C,0xE692BE:0x407D,0xE692BF:0x407E,0xE69384:0x4121, +0xE69389:0x4122,0xE6938A:0x4123,0xE6938B:0x4124,0xE6938C:0x4125,0xE6938E:0x4126, +0xE69390:0x4127,0xE69391:0x4128,0xE69395:0x4129,0xE69397:0x412A,0xE693A4:0x412B, +0xE693A5:0x412C,0xE693A9:0x412D,0xE693AA:0x412E,0xE693AD:0x412F,0xE693B0:0x4130, +0xE693B5:0x4131,0xE693B7:0x4132,0xE693BB:0x4133,0xE693BF:0x4134,0xE69481:0x4135, +0xE69484:0x4136,0xE69488:0x4137,0xE69489:0x4138,0xE6948A:0x4139,0xE6948F:0x413A, +0xE69493:0x413B,0xE69494:0x413C,0xE69496:0x413D,0xE69499:0x413E,0xE6949B:0x413F, +0xE6949E:0x4140,0xE6949F:0x4141,0xE694A2:0x4142,0xE694A6:0x4143,0xE694A9:0x4144, +0xE694AE:0x4145,0xE694B1:0x4146,0xE694BA:0x4147,0xE694BC:0x4148,0xE694BD:0x4149, +0xE69583:0x414A,0xE69587:0x414B,0xE69589:0x414C,0xE69590:0x414D,0xE69592:0x414E, +0xE69594:0x414F,0xE6959F:0x4150,0xE695A0:0x4151,0xE695A7:0x4152,0xE695AB:0x4153, +0xE695BA:0x4154,0xE695BD:0x4155,0xE69681:0x4156,0xE69685:0x4157,0xE6968A:0x4158, +0xE69692:0x4159,0xE69695:0x415A,0xE69698:0x415B,0xE6969D:0x415C,0xE696A0:0x415D, +0xE696A3:0x415E,0xE696A6:0x415F,0xE696AE:0x4160,0xE696B2:0x4161,0xE696B3:0x4162, +0xE696B4:0x4163,0xE696BF:0x4164,0xE69782:0x4165,0xE69788:0x4166,0xE69789:0x4167, +0xE6978E:0x4168,0xE69790:0x4169,0xE69794:0x416A,0xE69796:0x416B,0xE69798:0x416C, +0xE6979F:0x416D,0xE697B0:0x416E,0xE697B2:0x416F,0xE697B4:0x4170,0xE697B5:0x4171, +0xE697B9:0x4172,0xE697BE:0x4173,0xE697BF:0x4174,0xE69880:0x4175,0xE69884:0x4176, +0xE69888:0x4177,0xE69889:0x4178,0xE6988D:0x4179,0xE69891:0x417A,0xE69892:0x417B, +0xE69895:0x417C,0xE69896:0x417D,0xE6989D:0x417E,0xE6989E:0x4221,0xE698A1:0x4222, +0xE698A2:0x4223,0xE698A3:0x4224,0xE698A4:0x4225,0xE698A6:0x4226,0xE698A9:0x4227, +0xE698AA:0x4228,0xE698AB:0x4229,0xE698AC:0x422A,0xE698AE:0x422B,0xE698B0:0x422C, +0xE698B1:0x422D,0xE698B3:0x422E,0xE698B9:0x422F,0xE698B7:0x4230,0xE69980:0x4231, +0xE69985:0x4232,0xE69986:0x4233,0xE6998A:0x4234,0xE6998C:0x4235,0xE69991:0x4236, +0xE6998E:0x4237,0xE69997:0x4238,0xE69998:0x4239,0xE69999:0x423A,0xE6999B:0x423B, +0xE6999C:0x423C,0xE699A0:0x423D,0xE699A1:0x423E,0xE69BBB:0x423F,0xE699AA:0x4240, +0xE699AB:0x4241,0xE699AC:0x4242,0xE699BE:0x4243,0xE699B3:0x4244,0xE699B5:0x4245, +0xE699BF:0x4246,0xE699B7:0x4247,0xE699B8:0x4248,0xE699B9:0x4249,0xE699BB:0x424A, +0xE69A80:0x424B,0xE699BC:0x424C,0xE69A8B:0x424D,0xE69A8C:0x424E,0xE69A8D:0x424F, +0xE69A90:0x4250,0xE69A92:0x4251,0xE69A99:0x4252,0xE69A9A:0x4253,0xE69A9B:0x4254, +0xE69A9C:0x4255,0xE69A9F:0x4256,0xE69AA0:0x4257,0xE69AA4:0x4258,0xE69AAD:0x4259, +0xE69AB1:0x425A,0xE69AB2:0x425B,0xE69AB5:0x425C,0xE69ABB:0x425D,0xE69ABF:0x425E, +0xE69B80:0x425F,0xE69B82:0x4260,0xE69B83:0x4261,0xE69B88:0x4262,0xE69B8C:0x4263, +0xE69B8E:0x4264,0xE69B8F:0x4265,0xE69B94:0x4266,0xE69B9B:0x4267,0xE69B9F:0x4268, +0xE69BA8:0x4269,0xE69BAB:0x426A,0xE69BAC:0x426B,0xE69BAE:0x426C,0xE69BBA:0x426D, +0xE69C85:0x426E,0xE69C87:0x426F,0xE69C8E:0x4270,0xE69C93:0x4271,0xE69C99:0x4272, +0xE69C9C:0x4273,0xE69CA0:0x4274,0xE69CA2:0x4275,0xE69CB3:0x4276,0xE69CBE:0x4277, +0xE69D85:0x4278,0xE69D87:0x4279,0xE69D88:0x427A,0xE69D8C:0x427B,0xE69D94:0x427C, +0xE69D95:0x427D,0xE69D9D:0x427E,0xE69DA6:0x4321,0xE69DAC:0x4322,0xE69DAE:0x4323, +0xE69DB4:0x4324,0xE69DB6:0x4325,0xE69DBB:0x4326,0xE69E81:0x4327,0xE69E84:0x4328, +0xE69E8E:0x4329,0xE69E8F:0x432A,0xE69E91:0x432B,0xE69E93:0x432C,0xE69E96:0x432D, +0xE69E98:0x432E,0xE69E99:0x432F,0xE69E9B:0x4330,0xE69EB0:0x4331,0xE69EB1:0x4332, +0xE69EB2:0x4333,0xE69EB5:0x4334,0xE69EBB:0x4335,0xE69EBC:0x4336,0xE69EBD:0x4337, +0xE69FB9:0x4338,0xE69F80:0x4339,0xE69F82:0x433A,0xE69F83:0x433B,0xE69F85:0x433C, +0xE69F88:0x433D,0xE69F89:0x433E,0xE69F92:0x433F,0xE69F97:0x4340,0xE69F99:0x4341, +0xE69F9C:0x4342,0xE69FA1:0x4343,0xE69FA6:0x4344,0xE69FB0:0x4345,0xE69FB2:0x4346, +0xE69FB6:0x4347,0xE69FB7:0x4348,0xE6A192:0x4349,0xE6A094:0x434A,0xE6A099:0x434B, +0xE6A09D:0x434C,0xE6A09F:0x434D,0xE6A0A8:0x434E,0xE6A0A7:0x434F,0xE6A0AC:0x4350, +0xE6A0AD:0x4351,0xE6A0AF:0x4352,0xE6A0B0:0x4353,0xE6A0B1:0x4354,0xE6A0B3:0x4355, +0xE6A0BB:0x4356,0xE6A0BF:0x4357,0xE6A184:0x4358,0xE6A185:0x4359,0xE6A18A:0x435A, +0xE6A18C:0x435B,0xE6A195:0x435C,0xE6A197:0x435D,0xE6A198:0x435E,0xE6A19B:0x435F, +0xE6A1AB:0x4360,0xE6A1AE:0x4361,0xE6A1AF:0x4362,0xE6A1B0:0x4363,0xE6A1B1:0x4364, +0xE6A1B2:0x4365,0xE6A1B5:0x4366,0xE6A1B9:0x4367,0xE6A1BA:0x4368,0xE6A1BB:0x4369, +0xE6A1BC:0x436A,0xE6A282:0x436B,0xE6A284:0x436C,0xE6A286:0x436D,0xE6A288:0x436E, +0xE6A296:0x436F,0xE6A298:0x4370,0xE6A29A:0x4371,0xE6A29C:0x4372,0xE6A2A1:0x4373, +0xE6A2A3:0x4374,0xE6A2A5:0x4375,0xE6A2A9:0x4376,0xE6A2AA:0x4377,0xE6A2AE:0x4378, +0xE6A2B2:0x4379,0xE6A2BB:0x437A,0xE6A385:0x437B,0xE6A388:0x437C,0xE6A38C:0x437D, +0xE6A38F:0x437E,0xE6A390:0x4421,0xE6A391:0x4422,0xE6A393:0x4423,0xE6A396:0x4424, +0xE6A399:0x4425,0xE6A39C:0x4426,0xE6A39D:0x4427,0xE6A3A5:0x4428,0xE6A3A8:0x4429, +0xE6A3AA:0x442A,0xE6A3AB:0x442B,0xE6A3AC:0x442C,0xE6A3AD:0x442D,0xE6A3B0:0x442E, +0xE6A3B1:0x442F,0xE6A3B5:0x4430,0xE6A3B6:0x4431,0xE6A3BB:0x4432,0xE6A3BC:0x4433, +0xE6A3BD:0x4434,0xE6A486:0x4435,0xE6A489:0x4436,0xE6A48A:0x4437,0xE6A490:0x4438, +0xE6A491:0x4439,0xE6A493:0x443A,0xE6A496:0x443B,0xE6A497:0x443C,0xE6A4B1:0x443D, +0xE6A4B3:0x443E,0xE6A4B5:0x443F,0xE6A4B8:0x4440,0xE6A4BB:0x4441,0xE6A582:0x4442, +0xE6A585:0x4443,0xE6A589:0x4444,0xE6A58E:0x4445,0xE6A597:0x4446,0xE6A59B:0x4447, +0xE6A5A3:0x4448,0xE6A5A4:0x4449,0xE6A5A5:0x444A,0xE6A5A6:0x444B,0xE6A5A8:0x444C, +0xE6A5A9:0x444D,0xE6A5AC:0x444E,0xE6A5B0:0x444F,0xE6A5B1:0x4450,0xE6A5B2:0x4451, +0xE6A5BA:0x4452,0xE6A5BB:0x4453,0xE6A5BF:0x4454,0xE6A680:0x4455,0xE6A68D:0x4456, +0xE6A692:0x4457,0xE6A696:0x4458,0xE6A698:0x4459,0xE6A6A1:0x445A,0xE6A6A5:0x445B, +0xE6A6A6:0x445C,0xE6A6A8:0x445D,0xE6A6AB:0x445E,0xE6A6AD:0x445F,0xE6A6AF:0x4460, +0xE6A6B7:0x4461,0xE6A6B8:0x4462,0xE6A6BA:0x4463,0xE6A6BC:0x4464,0xE6A785:0x4465, +0xE6A788:0x4466,0xE6A791:0x4467,0xE6A796:0x4468,0xE6A797:0x4469,0xE6A7A2:0x446A, +0xE6A7A5:0x446B,0xE6A7AE:0x446C,0xE6A7AF:0x446D,0xE6A7B1:0x446E,0xE6A7B3:0x446F, +0xE6A7B5:0x4470,0xE6A7BE:0x4471,0xE6A880:0x4472,0xE6A881:0x4473,0xE6A883:0x4474, +0xE6A88F:0x4475,0xE6A891:0x4476,0xE6A895:0x4477,0xE6A89A:0x4478,0xE6A89D:0x4479, +0xE6A8A0:0x447A,0xE6A8A4:0x447B,0xE6A8A8:0x447C,0xE6A8B0:0x447D,0xE6A8B2:0x447E, +0xE6A8B4:0x4521,0xE6A8B7:0x4522,0xE6A8BB:0x4523,0xE6A8BE:0x4524,0xE6A8BF:0x4525, +0xE6A985:0x4526,0xE6A986:0x4527,0xE6A989:0x4528,0xE6A98A:0x4529,0xE6A98E:0x452A, +0xE6A990:0x452B,0xE6A991:0x452C,0xE6A992:0x452D,0xE6A995:0x452E,0xE6A996:0x452F, +0xE6A99B:0x4530,0xE6A9A4:0x4531,0xE6A9A7:0x4532,0xE6A9AA:0x4533,0xE6A9B1:0x4534, +0xE6A9B3:0x4535,0xE6A9BE:0x4536,0xE6AA81:0x4537,0xE6AA83:0x4538,0xE6AA86:0x4539, +0xE6AA87:0x453A,0xE6AA89:0x453B,0xE6AA8B:0x453C,0xE6AA91:0x453D,0xE6AA9B:0x453E, +0xE6AA9D:0x453F,0xE6AA9E:0x4540,0xE6AA9F:0x4541,0xE6AAA5:0x4542,0xE6AAAB:0x4543, +0xE6AAAF:0x4544,0xE6AAB0:0x4545,0xE6AAB1:0x4546,0xE6AAB4:0x4547,0xE6AABD:0x4548, +0xE6AABE:0x4549,0xE6AABF:0x454A,0xE6AB86:0x454B,0xE6AB89:0x454C,0xE6AB88:0x454D, +0xE6AB8C:0x454E,0xE6AB90:0x454F,0xE6AB94:0x4550,0xE6AB95:0x4551,0xE6AB96:0x4552, +0xE6AB9C:0x4553,0xE6AB9D:0x4554,0xE6ABA4:0x4555,0xE6ABA7:0x4556,0xE6ABAC:0x4557, +0xE6ABB0:0x4558,0xE6ABB1:0x4559,0xE6ABB2:0x455A,0xE6ABBC:0x455B,0xE6ABBD:0x455C, +0xE6AC82:0x455D,0xE6AC83:0x455E,0xE6AC86:0x455F,0xE6AC87:0x4560,0xE6AC89:0x4561, +0xE6AC8F:0x4562,0xE6AC90:0x4563,0xE6AC91:0x4564,0xE6AC97:0x4565,0xE6AC9B:0x4566, +0xE6AC9E:0x4567,0xE6ACA4:0x4568,0xE6ACA8:0x4569,0xE6ACAB:0x456A,0xE6ACAC:0x456B, +0xE6ACAF:0x456C,0xE6ACB5:0x456D,0xE6ACB6:0x456E,0xE6ACBB:0x456F,0xE6ACBF:0x4570, +0xE6AD86:0x4571,0xE6AD8A:0x4572,0xE6AD8D:0x4573,0xE6AD92:0x4574,0xE6AD96:0x4575, +0xE6AD98:0x4576,0xE6AD9D:0x4577,0xE6ADA0:0x4578,0xE6ADA7:0x4579,0xE6ADAB:0x457A, +0xE6ADAE:0x457B,0xE6ADB0:0x457C,0xE6ADB5:0x457D,0xE6ADBD:0x457E,0xE6ADBE:0x4621, +0xE6AE82:0x4622,0xE6AE85:0x4623,0xE6AE97:0x4624,0xE6AE9B:0x4625,0xE6AE9F:0x4626, +0xE6AEA0:0x4627,0xE6AEA2:0x4628,0xE6AEA3:0x4629,0xE6AEA8:0x462A,0xE6AEA9:0x462B, +0xE6AEAC:0x462C,0xE6AEAD:0x462D,0xE6AEAE:0x462E,0xE6AEB0:0x462F,0xE6AEB8:0x4630, +0xE6AEB9:0x4631,0xE6AEBD:0x4632,0xE6AEBE:0x4633,0xE6AF83:0x4634,0xE6AF84:0x4635, +0xE6AF89:0x4636,0xE6AF8C:0x4637,0xE6AF96:0x4638,0xE6AF9A:0x4639,0xE6AFA1:0x463A, +0xE6AFA3:0x463B,0xE6AFA6:0x463C,0xE6AFA7:0x463D,0xE6AFAE:0x463E,0xE6AFB1:0x463F, +0xE6AFB7:0x4640,0xE6AFB9:0x4641,0xE6AFBF:0x4642,0xE6B082:0x4643,0xE6B084:0x4644, +0xE6B085:0x4645,0xE6B089:0x4646,0xE6B08D:0x4647,0xE6B08E:0x4648,0xE6B090:0x4649, +0xE6B092:0x464A,0xE6B099:0x464B,0xE6B09F:0x464C,0xE6B0A6:0x464D,0xE6B0A7:0x464E, +0xE6B0A8:0x464F,0xE6B0AC:0x4650,0xE6B0AE:0x4651,0xE6B0B3:0x4652,0xE6B0B5:0x4653, +0xE6B0B6:0x4654,0xE6B0BA:0x4655,0xE6B0BB:0x4656,0xE6B0BF:0x4657,0xE6B18A:0x4658, +0xE6B18B:0x4659,0xE6B18D:0x465A,0xE6B18F:0x465B,0xE6B192:0x465C,0xE6B194:0x465D, +0xE6B199:0x465E,0xE6B19B:0x465F,0xE6B19C:0x4660,0xE6B1AB:0x4661,0xE6B1AD:0x4662, +0xE6B1AF:0x4663,0xE6B1B4:0x4664,0xE6B1B6:0x4665,0xE6B1B8:0x4666,0xE6B1B9:0x4667, +0xE6B1BB:0x4668,0xE6B285:0x4669,0xE6B286:0x466A,0xE6B287:0x466B,0xE6B289:0x466C, +0xE6B294:0x466D,0xE6B295:0x466E,0xE6B297:0x466F,0xE6B298:0x4670,0xE6B29C:0x4671, +0xE6B29F:0x4672,0xE6B2B0:0x4673,0xE6B2B2:0x4674,0xE6B2B4:0x4675,0xE6B382:0x4676, +0xE6B386:0x4677,0xE6B38D:0x4678,0xE6B38F:0x4679,0xE6B390:0x467A,0xE6B391:0x467B, +0xE6B392:0x467C,0xE6B394:0x467D,0xE6B396:0x467E,0xE6B39A:0x4721,0xE6B39C:0x4722, +0xE6B3A0:0x4723,0xE6B3A7:0x4724,0xE6B3A9:0x4725,0xE6B3AB:0x4726,0xE6B3AC:0x4727, +0xE6B3AE:0x4728,0xE6B3B2:0x4729,0xE6B3B4:0x472A,0xE6B484:0x472B,0xE6B487:0x472C, +0xE6B48A:0x472D,0xE6B48E:0x472E,0xE6B48F:0x472F,0xE6B491:0x4730,0xE6B493:0x4731, +0xE6B49A:0x4732,0xE6B4A6:0x4733,0xE6B4A7:0x4734,0xE6B4A8:0x4735,0xE6B1A7:0x4736, +0xE6B4AE:0x4737,0xE6B4AF:0x4738,0xE6B4B1:0x4739,0xE6B4B9:0x473A,0xE6B4BC:0x473B, +0xE6B4BF:0x473C,0xE6B597:0x473D,0xE6B59E:0x473E,0xE6B59F:0x473F,0xE6B5A1:0x4740, +0xE6B5A5:0x4741,0xE6B5A7:0x4742,0xE6B5AF:0x4743,0xE6B5B0:0x4744,0xE6B5BC:0x4745, +0xE6B682:0x4746,0xE6B687:0x4747,0xE6B691:0x4748,0xE6B692:0x4749,0xE6B694:0x474A, +0xE6B696:0x474B,0xE6B697:0x474C,0xE6B698:0x474D,0xE6B6AA:0x474E,0xE6B6AC:0x474F, +0xE6B6B4:0x4750,0xE6B6B7:0x4751,0xE6B6B9:0x4752,0xE6B6BD:0x4753,0xE6B6BF:0x4754, +0xE6B784:0x4755,0xE6B788:0x4756,0xE6B78A:0x4757,0xE6B78E:0x4758,0xE6B78F:0x4759, +0xE6B796:0x475A,0xE6B79B:0x475B,0xE6B79D:0x475C,0xE6B79F:0x475D,0xE6B7A0:0x475E, +0xE6B7A2:0x475F,0xE6B7A5:0x4760,0xE6B7A9:0x4761,0xE6B7AF:0x4762,0xE6B7B0:0x4763, +0xE6B7B4:0x4764,0xE6B7B6:0x4765,0xE6B7BC:0x4766,0xE6B880:0x4767,0xE6B884:0x4768, +0xE6B89E:0x4769,0xE6B8A2:0x476A,0xE6B8A7:0x476B,0xE6B8B2:0x476C,0xE6B8B6:0x476D, +0xE6B8B9:0x476E,0xE6B8BB:0x476F,0xE6B8BC:0x4770,0xE6B984:0x4771,0xE6B985:0x4772, +0xE6B988:0x4773,0xE6B989:0x4774,0xE6B98B:0x4775,0xE6B98F:0x4776,0xE6B991:0x4777, +0xE6B992:0x4778,0xE6B993:0x4779,0xE6B994:0x477A,0xE6B997:0x477B,0xE6B99C:0x477C, +0xE6B99D:0x477D,0xE6B99E:0x477E,0xE6B9A2:0x4821,0xE6B9A3:0x4822,0xE6B9A8:0x4823, +0xE6B9B3:0x4824,0xE6B9BB:0x4825,0xE6B9BD:0x4826,0xE6BA8D:0x4827,0xE6BA93:0x4828, +0xE6BA99:0x4829,0xE6BAA0:0x482A,0xE6BAA7:0x482B,0xE6BAAD:0x482C,0xE6BAAE:0x482D, +0xE6BAB1:0x482E,0xE6BAB3:0x482F,0xE6BABB:0x4830,0xE6BABF:0x4831,0xE6BB80:0x4832, +0xE6BB81:0x4833,0xE6BB83:0x4834,0xE6BB87:0x4835,0xE6BB88:0x4836,0xE6BB8A:0x4837, +0xE6BB8D:0x4838,0xE6BB8E:0x4839,0xE6BB8F:0x483A,0xE6BBAB:0x483B,0xE6BBAD:0x483C, +0xE6BBAE:0x483D,0xE6BBB9:0x483E,0xE6BBBB:0x483F,0xE6BBBD:0x4840,0xE6BC84:0x4841, +0xE6BC88:0x4842,0xE6BC8A:0x4843,0xE6BC8C:0x4844,0xE6BC8D:0x4845,0xE6BC96:0x4846, +0xE6BC98:0x4847,0xE6BC9A:0x4848,0xE6BC9B:0x4849,0xE6BCA6:0x484A,0xE6BCA9:0x484B, +0xE6BCAA:0x484C,0xE6BCAF:0x484D,0xE6BCB0:0x484E,0xE6BCB3:0x484F,0xE6BCB6:0x4850, +0xE6BCBB:0x4851,0xE6BCBC:0x4852,0xE6BCAD:0x4853,0xE6BD8F:0x4854,0xE6BD91:0x4855, +0xE6BD92:0x4856,0xE6BD93:0x4857,0xE6BD97:0x4858,0xE6BD99:0x4859,0xE6BD9A:0x485A, +0xE6BD9D:0x485B,0xE6BD9E:0x485C,0xE6BDA1:0x485D,0xE6BDA2:0x485E,0xE6BDA8:0x485F, +0xE6BDAC:0x4860,0xE6BDBD:0x4861,0xE6BDBE:0x4862,0xE6BE83:0x4863,0xE6BE87:0x4864, +0xE6BE88:0x4865,0xE6BE8B:0x4866,0xE6BE8C:0x4867,0xE6BE8D:0x4868,0xE6BE90:0x4869, +0xE6BE92:0x486A,0xE6BE93:0x486B,0xE6BE94:0x486C,0xE6BE96:0x486D,0xE6BE9A:0x486E, +0xE6BE9F:0x486F,0xE6BEA0:0x4870,0xE6BEA5:0x4871,0xE6BEA6:0x4872,0xE6BEA7:0x4873, +0xE6BEA8:0x4874,0xE6BEAE:0x4875,0xE6BEAF:0x4876,0xE6BEB0:0x4877,0xE6BEB5:0x4878, +0xE6BEB6:0x4879,0xE6BEBC:0x487A,0xE6BF85:0x487B,0xE6BF87:0x487C,0xE6BF88:0x487D, +0xE6BF8A:0x487E,0xE6BF9A:0x4921,0xE6BF9E:0x4922,0xE6BFA8:0x4923,0xE6BFA9:0x4924, +0xE6BFB0:0x4925,0xE6BFB5:0x4926,0xE6BFB9:0x4927,0xE6BFBC:0x4928,0xE6BFBD:0x4929, +0xE78080:0x492A,0xE78085:0x492B,0xE78086:0x492C,0xE78087:0x492D,0xE7808D:0x492E, +0xE78097:0x492F,0xE780A0:0x4930,0xE780A3:0x4931,0xE780AF:0x4932,0xE780B4:0x4933, +0xE780B7:0x4934,0xE780B9:0x4935,0xE780BC:0x4936,0xE78183:0x4937,0xE78184:0x4938, +0xE78188:0x4939,0xE78189:0x493A,0xE7818A:0x493B,0xE7818B:0x493C,0xE78194:0x493D, +0xE78195:0x493E,0xE7819D:0x493F,0xE7819E:0x4940,0xE7818E:0x4941,0xE781A4:0x4942, +0xE781A5:0x4943,0xE781AC:0x4944,0xE781AE:0x4945,0xE781B5:0x4946,0xE781B6:0x4947, +0xE781BE:0x4948,0xE78281:0x4949,0xE78285:0x494A,0xE78286:0x494B,0xE78294:0x494C, +0xE78295:0x494D,0xE78296:0x494E,0xE78297:0x494F,0xE78298:0x4950,0xE7829B:0x4951, +0xE782A4:0x4952,0xE782AB:0x4953,0xE782B0:0x4954,0xE782B1:0x4955,0xE782B4:0x4956, +0xE782B7:0x4957,0xE7838A:0x4958,0xE78391:0x4959,0xE78393:0x495A,0xE78394:0x495B, +0xE78395:0x495C,0xE78396:0x495D,0xE78398:0x495E,0xE7839C:0x495F,0xE783A4:0x4960, +0xE783BA:0x4961,0xE78483:0x4962,0xE78484:0x4963,0xE78485:0x4964,0xE78486:0x4965, +0xE78487:0x4966,0xE7848B:0x4967,0xE7848C:0x4968,0xE7848F:0x4969,0xE7849E:0x496A, +0xE784A0:0x496B,0xE784AB:0x496C,0xE784AD:0x496D,0xE784AF:0x496E,0xE784B0:0x496F, +0xE784B1:0x4970,0xE784B8:0x4971,0xE78581:0x4972,0xE78585:0x4973,0xE78586:0x4974, +0xE78587:0x4975,0xE7858A:0x4976,0xE7858B:0x4977,0xE78590:0x4978,0xE78592:0x4979, +0xE78597:0x497A,0xE7859A:0x497B,0xE7859C:0x497C,0xE7859E:0x497D,0xE785A0:0x497E, +0xE785A8:0x4A21,0xE785B9:0x4A22,0xE78680:0x4A23,0xE78685:0x4A24,0xE78687:0x4A25, +0xE7868C:0x4A26,0xE78692:0x4A27,0xE7869A:0x4A28,0xE7869B:0x4A29,0xE786A0:0x4A2A, +0xE786A2:0x4A2B,0xE786AF:0x4A2C,0xE786B0:0x4A2D,0xE786B2:0x4A2E,0xE786B3:0x4A2F, +0xE786BA:0x4A30,0xE786BF:0x4A31,0xE78780:0x4A32,0xE78781:0x4A33,0xE78784:0x4A34, +0xE7878B:0x4A35,0xE7878C:0x4A36,0xE78793:0x4A37,0xE78796:0x4A38,0xE78799:0x4A39, +0xE7879A:0x4A3A,0xE7879C:0x4A3B,0xE787B8:0x4A3C,0xE787BE:0x4A3D,0xE78880:0x4A3E, +0xE78887:0x4A3F,0xE78888:0x4A40,0xE78889:0x4A41,0xE78893:0x4A42,0xE78897:0x4A43, +0xE7889A:0x4A44,0xE7889D:0x4A45,0xE7889F:0x4A46,0xE788A4:0x4A47,0xE788AB:0x4A48, +0xE788AF:0x4A49,0xE788B4:0x4A4A,0xE788B8:0x4A4B,0xE788B9:0x4A4C,0xE78981:0x4A4D, +0xE78982:0x4A4E,0xE78983:0x4A4F,0xE78985:0x4A50,0xE7898E:0x4A51,0xE7898F:0x4A52, +0xE78990:0x4A53,0xE78993:0x4A54,0xE78995:0x4A55,0xE78996:0x4A56,0xE7899A:0x4A57, +0xE7899C:0x4A58,0xE7899E:0x4A59,0xE789A0:0x4A5A,0xE789A3:0x4A5B,0xE789A8:0x4A5C, +0xE789AB:0x4A5D,0xE789AE:0x4A5E,0xE789AF:0x4A5F,0xE789B1:0x4A60,0xE789B7:0x4A61, +0xE789B8:0x4A62,0xE789BB:0x4A63,0xE789BC:0x4A64,0xE789BF:0x4A65,0xE78A84:0x4A66, +0xE78A89:0x4A67,0xE78A8D:0x4A68,0xE78A8E:0x4A69,0xE78A93:0x4A6A,0xE78A9B:0x4A6B, +0xE78AA8:0x4A6C,0xE78AAD:0x4A6D,0xE78AAE:0x4A6E,0xE78AB1:0x4A6F,0xE78AB4:0x4A70, +0xE78ABE:0x4A71,0xE78B81:0x4A72,0xE78B87:0x4A73,0xE78B89:0x4A74,0xE78B8C:0x4A75, +0xE78B95:0x4A76,0xE78B96:0x4A77,0xE78B98:0x4A78,0xE78B9F:0x4A79,0xE78BA5:0x4A7A, +0xE78BB3:0x4A7B,0xE78BB4:0x4A7C,0xE78BBA:0x4A7D,0xE78BBB:0x4A7E,0xE78BBE:0x4B21, +0xE78C82:0x4B22,0xE78C84:0x4B23,0xE78C85:0x4B24,0xE78C87:0x4B25,0xE78C8B:0x4B26, +0xE78C8D:0x4B27,0xE78C92:0x4B28,0xE78C93:0x4B29,0xE78C98:0x4B2A,0xE78C99:0x4B2B, +0xE78C9E:0x4B2C,0xE78CA2:0x4B2D,0xE78CA4:0x4B2E,0xE78CA7:0x4B2F,0xE78CA8:0x4B30, +0xE78CAC:0x4B31,0xE78CB1:0x4B32,0xE78CB2:0x4B33,0xE78CB5:0x4B34,0xE78CBA:0x4B35, +0xE78CBB:0x4B36,0xE78CBD:0x4B37,0xE78D83:0x4B38,0xE78D8D:0x4B39,0xE78D90:0x4B3A, +0xE78D92:0x4B3B,0xE78D96:0x4B3C,0xE78D98:0x4B3D,0xE78D9D:0x4B3E,0xE78D9E:0x4B3F, +0xE78D9F:0x4B40,0xE78DA0:0x4B41,0xE78DA6:0x4B42,0xE78DA7:0x4B43,0xE78DA9:0x4B44, +0xE78DAB:0x4B45,0xE78DAC:0x4B46,0xE78DAE:0x4B47,0xE78DAF:0x4B48,0xE78DB1:0x4B49, +0xE78DB7:0x4B4A,0xE78DB9:0x4B4B,0xE78DBC:0x4B4C,0xE78E80:0x4B4D,0xE78E81:0x4B4E, +0xE78E83:0x4B4F,0xE78E85:0x4B50,0xE78E86:0x4B51,0xE78E8E:0x4B52,0xE78E90:0x4B53, +0xE78E93:0x4B54,0xE78E95:0x4B55,0xE78E97:0x4B56,0xE78E98:0x4B57,0xE78E9C:0x4B58, +0xE78E9E:0x4B59,0xE78E9F:0x4B5A,0xE78EA0:0x4B5B,0xE78EA2:0x4B5C,0xE78EA5:0x4B5D, +0xE78EA6:0x4B5E,0xE78EAA:0x4B5F,0xE78EAB:0x4B60,0xE78EAD:0x4B61,0xE78EB5:0x4B62, +0xE78EB7:0x4B63,0xE78EB9:0x4B64,0xE78EBC:0x4B65,0xE78EBD:0x4B66,0xE78EBF:0x4B67, +0xE78F85:0x4B68,0xE78F86:0x4B69,0xE78F89:0x4B6A,0xE78F8B:0x4B6B,0xE78F8C:0x4B6C, +0xE78F8F:0x4B6D,0xE78F92:0x4B6E,0xE78F93:0x4B6F,0xE78F96:0x4B70,0xE78F99:0x4B71, +0xE78F9D:0x4B72,0xE78FA1:0x4B73,0xE78FA3:0x4B74,0xE78FA6:0x4B75,0xE78FA7:0x4B76, +0xE78FA9:0x4B77,0xE78FB4:0x4B78,0xE78FB5:0x4B79,0xE78FB7:0x4B7A,0xE78FB9:0x4B7B, +0xE78FBA:0x4B7C,0xE78FBB:0x4B7D,0xE78FBD:0x4B7E,0xE78FBF:0x4C21,0xE79080:0x4C22, +0xE79081:0x4C23,0xE79084:0x4C24,0xE79087:0x4C25,0xE7908A:0x4C26,0xE79091:0x4C27, +0xE7909A:0x4C28,0xE7909B:0x4C29,0xE790A4:0x4C2A,0xE790A6:0x4C2B,0xE790A8:0x4C2C, +0xE790A9:0x4C2D,0xE790AA:0x4C2E,0xE790AB:0x4C2F,0xE790AC:0x4C30,0xE790AD:0x4C31, +0xE790AE:0x4C32,0xE790AF:0x4C33,0xE790B0:0x4C34,0xE790B1:0x4C35,0xE790B9:0x4C36, +0xE79180:0x4C37,0xE79183:0x4C38,0xE79184:0x4C39,0xE79186:0x4C3A,0xE79187:0x4C3B, +0xE7918B:0x4C3C,0xE7918D:0x4C3D,0xE79191:0x4C3E,0xE79192:0x4C3F,0xE79197:0x4C40, +0xE7919D:0x4C41,0xE791A2:0x4C42,0xE791A6:0x4C43,0xE791A7:0x4C44,0xE791A8:0x4C45, +0xE791AB:0x4C46,0xE791AD:0x4C47,0xE791AE:0x4C48,0xE791B1:0x4C49,0xE791B2:0x4C4A, +0xE79280:0x4C4B,0xE79281:0x4C4C,0xE79285:0x4C4D,0xE79286:0x4C4E,0xE79287:0x4C4F, +0xE79289:0x4C50,0xE7928F:0x4C51,0xE79290:0x4C52,0xE79291:0x4C53,0xE79292:0x4C54, +0xE79298:0x4C55,0xE79299:0x4C56,0xE7929A:0x4C57,0xE7929C:0x4C58,0xE7929F:0x4C59, +0xE792A0:0x4C5A,0xE792A1:0x4C5B,0xE792A3:0x4C5C,0xE792A6:0x4C5D,0xE792A8:0x4C5E, +0xE792A9:0x4C5F,0xE792AA:0x4C60,0xE792AB:0x4C61,0xE792AE:0x4C62,0xE792AF:0x4C63, +0xE792B1:0x4C64,0xE792B2:0x4C65,0xE792B5:0x4C66,0xE792B9:0x4C67,0xE792BB:0x4C68, +0xE792BF:0x4C69,0xE79388:0x4C6A,0xE79389:0x4C6B,0xE7938C:0x4C6C,0xE79390:0x4C6D, +0xE79393:0x4C6E,0xE79398:0x4C6F,0xE7939A:0x4C70,0xE7939B:0x4C71,0xE7939E:0x4C72, +0xE7939F:0x4C73,0xE793A4:0x4C74,0xE793A8:0x4C75,0xE793AA:0x4C76,0xE793AB:0x4C77, +0xE793AF:0x4C78,0xE793B4:0x4C79,0xE793BA:0x4C7A,0xE793BB:0x4C7B,0xE793BC:0x4C7C, +0xE793BF:0x4C7D,0xE79486:0x4C7E,0xE79492:0x4D21,0xE79496:0x4D22,0xE79497:0x4D23, +0xE794A0:0x4D24,0xE794A1:0x4D25,0xE794A4:0x4D26,0xE794A7:0x4D27,0xE794A9:0x4D28, +0xE794AA:0x4D29,0xE794AF:0x4D2A,0xE794B6:0x4D2B,0xE794B9:0x4D2C,0xE794BD:0x4D2D, +0xE794BE:0x4D2E,0xE794BF:0x4D2F,0xE79580:0x4D30,0xE79583:0x4D31,0xE79587:0x4D32, +0xE79588:0x4D33,0xE7958E:0x4D34,0xE79590:0x4D35,0xE79592:0x4D36,0xE79597:0x4D37, +0xE7959E:0x4D38,0xE7959F:0x4D39,0xE795A1:0x4D3A,0xE795AF:0x4D3B,0xE795B1:0x4D3C, +0xE795B9:0x4D3D,0xE795BA:0x4D3E,0xE795BB:0x4D3F,0xE795BC:0x4D40,0xE795BD:0x4D41, +0xE795BE:0x4D42,0xE79681:0x4D43,0xE79685:0x4D44,0xE79690:0x4D45,0xE79692:0x4D46, +0xE79693:0x4D47,0xE79695:0x4D48,0xE79699:0x4D49,0xE7969C:0x4D4A,0xE796A2:0x4D4B, +0xE796A4:0x4D4C,0xE796B4:0x4D4D,0xE796BA:0x4D4E,0xE796BF:0x4D4F,0xE79780:0x4D50, +0xE79781:0x4D51,0xE79784:0x4D52,0xE79786:0x4D53,0xE7978C:0x4D54,0xE7978E:0x4D55, +0xE7978F:0x4D56,0xE79797:0x4D57,0xE7979C:0x4D58,0xE7979F:0x4D59,0xE797A0:0x4D5A, +0xE797A1:0x4D5B,0xE797A4:0x4D5C,0xE797A7:0x4D5D,0xE797AC:0x4D5E,0xE797AE:0x4D5F, +0xE797AF:0x4D60,0xE797B1:0x4D61,0xE797B9:0x4D62,0xE79880:0x4D63,0xE79882:0x4D64, +0xE79883:0x4D65,0xE79884:0x4D66,0xE79887:0x4D67,0xE79888:0x4D68,0xE7988A:0x4D69, +0xE7988C:0x4D6A,0xE7988F:0x4D6B,0xE79892:0x4D6C,0xE79893:0x4D6D,0xE79895:0x4D6E, +0xE79896:0x4D6F,0xE79899:0x4D70,0xE7989B:0x4D71,0xE7989C:0x4D72,0xE7989D:0x4D73, +0xE7989E:0x4D74,0xE798A3:0x4D75,0xE798A5:0x4D76,0xE798A6:0x4D77,0xE798A9:0x4D78, +0xE798AD:0x4D79,0xE798B2:0x4D7A,0xE798B3:0x4D7B,0xE798B5:0x4D7C,0xE798B8:0x4D7D, +0xE798B9:0x4D7E,0xE798BA:0x4E21,0xE798BC:0x4E22,0xE7998A:0x4E23,0xE79980:0x4E24, +0xE79981:0x4E25,0xE79983:0x4E26,0xE79984:0x4E27,0xE79985:0x4E28,0xE79989:0x4E29, +0xE7998B:0x4E2A,0xE79995:0x4E2B,0xE79999:0x4E2C,0xE7999F:0x4E2D,0xE799A4:0x4E2E, +0xE799A5:0x4E2F,0xE799AD:0x4E30,0xE799AE:0x4E31,0xE799AF:0x4E32,0xE799B1:0x4E33, +0xE799B4:0x4E34,0xE79A81:0x4E35,0xE79A85:0x4E36,0xE79A8C:0x4E37,0xE79A8D:0x4E38, +0xE79A95:0x4E39,0xE79A9B:0x4E3A,0xE79A9C:0x4E3B,0xE79A9D:0x4E3C,0xE79A9F:0x4E3D, +0xE79AA0:0x4E3E,0xE79AA2:0x4E3F,0xE79AA3:0x4E40,0xE79AA4:0x4E41,0xE79AA5:0x4E42, +0xE79AA6:0x4E43,0xE79AA7:0x4E44,0xE79AA8:0x4E45,0xE79AAA:0x4E46,0xE79AAD:0x4E47, +0xE79ABD:0x4E48,0xE79B81:0x4E49,0xE79B85:0x4E4A,0xE79B89:0x4E4B,0xE79B8B:0x4E4C, +0xE79B8C:0x4E4D,0xE79B8E:0x4E4E,0xE79B94:0x4E4F,0xE79B99:0x4E50,0xE79BA0:0x4E51, +0xE79BA6:0x4E52,0xE79BA8:0x4E53,0xE79BAC:0x4E54,0xE79BB0:0x4E55,0xE79BB1:0x4E56, +0xE79BB6:0x4E57,0xE79BB9:0x4E58,0xE79BBC:0x4E59,0xE79C80:0x4E5A,0xE79C86:0x4E5B, +0xE79C8A:0x4E5C,0xE79C8E:0x4E5D,0xE79C92:0x4E5E,0xE79C94:0x4E5F,0xE79C95:0x4E60, +0xE79C97:0x4E61,0xE79C99:0x4E62,0xE79C9A:0x4E63,0xE79C9C:0x4E64,0xE79CA2:0x4E65, +0xE79CA8:0x4E66,0xE79CAD:0x4E67,0xE79CAE:0x4E68,0xE79CAF:0x4E69,0xE79CB4:0x4E6A, +0xE79CB5:0x4E6B,0xE79CB6:0x4E6C,0xE79CB9:0x4E6D,0xE79CBD:0x4E6E,0xE79CBE:0x4E6F, +0xE79D82:0x4E70,0xE79D85:0x4E71,0xE79D86:0x4E72,0xE79D8A:0x4E73,0xE79D8D:0x4E74, +0xE79D8E:0x4E75,0xE79D8F:0x4E76,0xE79D92:0x4E77,0xE79D96:0x4E78,0xE79D97:0x4E79, +0xE79D9C:0x4E7A,0xE79D9E:0x4E7B,0xE79D9F:0x4E7C,0xE79DA0:0x4E7D,0xE79DA2:0x4E7E, +0xE79DA4:0x4F21,0xE79DA7:0x4F22,0xE79DAA:0x4F23,0xE79DAC:0x4F24,0xE79DB0:0x4F25, +0xE79DB2:0x4F26,0xE79DB3:0x4F27,0xE79DB4:0x4F28,0xE79DBA:0x4F29,0xE79DBD:0x4F2A, +0xE79E80:0x4F2B,0xE79E84:0x4F2C,0xE79E8C:0x4F2D,0xE79E8D:0x4F2E,0xE79E94:0x4F2F, +0xE79E95:0x4F30,0xE79E96:0x4F31,0xE79E9A:0x4F32,0xE79E9F:0x4F33,0xE79EA2:0x4F34, +0xE79EA7:0x4F35,0xE79EAA:0x4F36,0xE79EAE:0x4F37,0xE79EAF:0x4F38,0xE79EB1:0x4F39, +0xE79EB5:0x4F3A,0xE79EBE:0x4F3B,0xE79F83:0x4F3C,0xE79F89:0x4F3D,0xE79F91:0x4F3E, +0xE79F92:0x4F3F,0xE79F95:0x4F40,0xE79F99:0x4F41,0xE79F9E:0x4F42,0xE79F9F:0x4F43, +0xE79FA0:0x4F44,0xE79FA4:0x4F45,0xE79FA6:0x4F46,0xE79FAA:0x4F47,0xE79FAC:0x4F48, +0xE79FB0:0x4F49,0xE79FB1:0x4F4A,0xE79FB4:0x4F4B,0xE79FB8:0x4F4C,0xE79FBB:0x4F4D, +0xE7A085:0x4F4E,0xE7A086:0x4F4F,0xE7A089:0x4F50,0xE7A08D:0x4F51,0xE7A08E:0x4F52, +0xE7A091:0x4F53,0xE7A09D:0x4F54,0xE7A0A1:0x4F55,0xE7A0A2:0x4F56,0xE7A0A3:0x4F57, +0xE7A0AD:0x4F58,0xE7A0AE:0x4F59,0xE7A0B0:0x4F5A,0xE7A0B5:0x4F5B,0xE7A0B7:0x4F5C, +0xE7A183:0x4F5D,0xE7A184:0x4F5E,0xE7A187:0x4F5F,0xE7A188:0x4F60,0xE7A18C:0x4F61, +0xE7A18E:0x4F62,0xE7A192:0x4F63,0xE7A19C:0x4F64,0xE7A19E:0x4F65,0xE7A1A0:0x4F66, +0xE7A1A1:0x4F67,0xE7A1A3:0x4F68,0xE7A1A4:0x4F69,0xE7A1A8:0x4F6A,0xE7A1AA:0x4F6B, +0xE7A1AE:0x4F6C,0xE7A1BA:0x4F6D,0xE7A1BE:0x4F6E,0xE7A28A:0x4F6F,0xE7A28F:0x4F70, +0xE7A294:0x4F71,0xE7A298:0x4F72,0xE7A2A1:0x4F73,0xE7A29D:0x4F74,0xE7A29E:0x4F75, +0xE7A29F:0x4F76,0xE7A2A4:0x4F77,0xE7A2A8:0x4F78,0xE7A2AC:0x4F79,0xE7A2AD:0x4F7A, +0xE7A2B0:0x4F7B,0xE7A2B1:0x4F7C,0xE7A2B2:0x4F7D,0xE7A2B3:0x4F7E,0xE7A2BB:0x5021, +0xE7A2BD:0x5022,0xE7A2BF:0x5023,0xE7A387:0x5024,0xE7A388:0x5025,0xE7A389:0x5026, +0xE7A38C:0x5027,0xE7A38E:0x5028,0xE7A392:0x5029,0xE7A393:0x502A,0xE7A395:0x502B, +0xE7A396:0x502C,0xE7A3A4:0x502D,0xE7A39B:0x502E,0xE7A39F:0x502F,0xE7A3A0:0x5030, +0xE7A3A1:0x5031,0xE7A3A6:0x5032,0xE7A3AA:0x5033,0xE7A3B2:0x5034,0xE7A3B3:0x5035, +0xE7A480:0x5036,0xE7A3B6:0x5037,0xE7A3B7:0x5038,0xE7A3BA:0x5039,0xE7A3BB:0x503A, +0xE7A3BF:0x503B,0xE7A486:0x503C,0xE7A48C:0x503D,0xE7A490:0x503E,0xE7A49A:0x503F, +0xE7A49C:0x5040,0xE7A49E:0x5041,0xE7A49F:0x5042,0xE7A4A0:0x5043,0xE7A4A5:0x5044, +0xE7A4A7:0x5045,0xE7A4A9:0x5046,0xE7A4AD:0x5047,0xE7A4B1:0x5048,0xE7A4B4:0x5049, +0xE7A4B5:0x504A,0xE7A4BB:0x504B,0xE7A4BD:0x504C,0xE7A4BF:0x504D,0xE7A584:0x504E, +0xE7A585:0x504F,0xE7A586:0x5050,0xE7A58A:0x5051,0xE7A58B:0x5052,0xE7A58F:0x5053, +0xE7A591:0x5054,0xE7A594:0x5055,0xE7A598:0x5056,0xE7A59B:0x5057,0xE7A59C:0x5058, +0xE7A5A7:0x5059,0xE7A5A9:0x505A,0xE7A5AB:0x505B,0xE7A5B2:0x505C,0xE7A5B9:0x505D, +0xE7A5BB:0x505E,0xE7A5BC:0x505F,0xE7A5BE:0x5060,0xE7A68B:0x5061,0xE7A68C:0x5062, +0xE7A691:0x5063,0xE7A693:0x5064,0xE7A694:0x5065,0xE7A695:0x5066,0xE7A696:0x5067, +0xE7A698:0x5068,0xE7A69B:0x5069,0xE7A69C:0x506A,0xE7A6A1:0x506B,0xE7A6A8:0x506C, +0xE7A6A9:0x506D,0xE7A6AB:0x506E,0xE7A6AF:0x506F,0xE7A6B1:0x5070,0xE7A6B4:0x5071, +0xE7A6B8:0x5072,0xE7A6BB:0x5073,0xE7A782:0x5074,0xE7A784:0x5075,0xE7A787:0x5076, +0xE7A788:0x5077,0xE7A78A:0x5078,0xE7A78F:0x5079,0xE7A794:0x507A,0xE7A796:0x507B, +0xE7A79A:0x507C,0xE7A79D:0x507D,0xE7A79E:0x507E,0xE7A7A0:0x5121,0xE7A7A2:0x5122, +0xE7A7A5:0x5123,0xE7A7AA:0x5124,0xE7A7AB:0x5125,0xE7A7AD:0x5126,0xE7A7B1:0x5127, +0xE7A7B8:0x5128,0xE7A7BC:0x5129,0xE7A882:0x512A,0xE7A883:0x512B,0xE7A887:0x512C, +0xE7A889:0x512D,0xE7A88A:0x512E,0xE7A88C:0x512F,0xE7A891:0x5130,0xE7A895:0x5131, +0xE7A89B:0x5132,0xE7A89E:0x5133,0xE7A8A1:0x5134,0xE7A8A7:0x5135,0xE7A8AB:0x5136, +0xE7A8AD:0x5137,0xE7A8AF:0x5138,0xE7A8B0:0x5139,0xE7A8B4:0x513A,0xE7A8B5:0x513B, +0xE7A8B8:0x513C,0xE7A8B9:0x513D,0xE7A8BA:0x513E,0xE7A984:0x513F,0xE7A985:0x5140, +0xE7A987:0x5141,0xE7A988:0x5142,0xE7A98C:0x5143,0xE7A995:0x5144,0xE7A996:0x5145, +0xE7A999:0x5146,0xE7A99C:0x5147,0xE7A99D:0x5148,0xE7A99F:0x5149,0xE7A9A0:0x514A, +0xE7A9A5:0x514B,0xE7A9A7:0x514C,0xE7A9AA:0x514D,0xE7A9AD:0x514E,0xE7A9B5:0x514F, +0xE7A9B8:0x5150,0xE7A9BE:0x5151,0xE7AA80:0x5152,0xE7AA82:0x5153,0xE7AA85:0x5154, +0xE7AA86:0x5155,0xE7AA8A:0x5156,0xE7AA8B:0x5157,0xE7AA90:0x5158,0xE7AA91:0x5159, +0xE7AA94:0x515A,0xE7AA9E:0x515B,0xE7AAA0:0x515C,0xE7AAA3:0x515D,0xE7AAAC:0x515E, +0xE7AAB3:0x515F,0xE7AAB5:0x5160,0xE7AAB9:0x5161,0xE7AABB:0x5162,0xE7AABC:0x5163, +0xE7AB86:0x5164,0xE7AB89:0x5165,0xE7AB8C:0x5166,0xE7AB8E:0x5167,0xE7AB91:0x5168, +0xE7AB9B:0x5169,0xE7ABA8:0x516A,0xE7ABA9:0x516B,0xE7ABAB:0x516C,0xE7ABAC:0x516D, +0xE7ABB1:0x516E,0xE7ABB4:0x516F,0xE7ABBB:0x5170,0xE7ABBD:0x5171,0xE7ABBE:0x5172, +0xE7AC87:0x5173,0xE7AC94:0x5174,0xE7AC9F:0x5175,0xE7ACA3:0x5176,0xE7ACA7:0x5177, +0xE7ACA9:0x5178,0xE7ACAA:0x5179,0xE7ACAB:0x517A,0xE7ACAD:0x517B,0xE7ACAE:0x517C, +0xE7ACAF:0x517D,0xE7ACB0:0x517E,0xE7ACB1:0x5221,0xE7ACB4:0x5222,0xE7ACBD:0x5223, +0xE7ACBF:0x5224,0xE7AD80:0x5225,0xE7AD81:0x5226,0xE7AD87:0x5227,0xE7AD8E:0x5228, +0xE7AD95:0x5229,0xE7ADA0:0x522A,0xE7ADA4:0x522B,0xE7ADA6:0x522C,0xE7ADA9:0x522D, +0xE7ADAA:0x522E,0xE7ADAD:0x522F,0xE7ADAF:0x5230,0xE7ADB2:0x5231,0xE7ADB3:0x5232, +0xE7ADB7:0x5233,0xE7AE84:0x5234,0xE7AE89:0x5235,0xE7AE8E:0x5236,0xE7AE90:0x5237, +0xE7AE91:0x5238,0xE7AE96:0x5239,0xE7AE9B:0x523A,0xE7AE9E:0x523B,0xE7AEA0:0x523C, +0xE7AEA5:0x523D,0xE7AEAC:0x523E,0xE7AEAF:0x523F,0xE7AEB0:0x5240,0xE7AEB2:0x5241, +0xE7AEB5:0x5242,0xE7AEB6:0x5243,0xE7AEBA:0x5244,0xE7AEBB:0x5245,0xE7AEBC:0x5246, +0xE7AEBD:0x5247,0xE7AF82:0x5248,0xE7AF85:0x5249,0xE7AF88:0x524A,0xE7AF8A:0x524B, +0xE7AF94:0x524C,0xE7AF96:0x524D,0xE7AF97:0x524E,0xE7AF99:0x524F,0xE7AF9A:0x5250, +0xE7AF9B:0x5251,0xE7AFA8:0x5252,0xE7AFAA:0x5253,0xE7AFB2:0x5254,0xE7AFB4:0x5255, +0xE7AFB5:0x5256,0xE7AFB8:0x5257,0xE7AFB9:0x5258,0xE7AFBA:0x5259,0xE7AFBC:0x525A, +0xE7AFBE:0x525B,0xE7B081:0x525C,0xE7B082:0x525D,0xE7B083:0x525E,0xE7B084:0x525F, +0xE7B086:0x5260,0xE7B089:0x5261,0xE7B08B:0x5262,0xE7B08C:0x5263,0xE7B08E:0x5264, +0xE7B08F:0x5265,0xE7B099:0x5266,0xE7B09B:0x5267,0xE7B0A0:0x5268,0xE7B0A5:0x5269, +0xE7B0A6:0x526A,0xE7B0A8:0x526B,0xE7B0AC:0x526C,0xE7B0B1:0x526D,0xE7B0B3:0x526E, +0xE7B0B4:0x526F,0xE7B0B6:0x5270,0xE7B0B9:0x5271,0xE7B0BA:0x5272,0xE7B186:0x5273, +0xE7B18A:0x5274,0xE7B195:0x5275,0xE7B191:0x5276,0xE7B192:0x5277,0xE7B193:0x5278, +0xE7B199:0x5279,0xE7B19A:0x527A,0xE7B19B:0x527B,0xE7B19C:0x527C,0xE7B19D:0x527D, +0xE7B19E:0x527E,0xE7B1A1:0x5321,0xE7B1A3:0x5322,0xE7B1A7:0x5323,0xE7B1A9:0x5324, +0xE7B1AD:0x5325,0xE7B1AE:0x5326,0xE7B1B0:0x5327,0xE7B1B2:0x5328,0xE7B1B9:0x5329, +0xE7B1BC:0x532A,0xE7B1BD:0x532B,0xE7B286:0x532C,0xE7B287:0x532D,0xE7B28F:0x532E, +0xE7B294:0x532F,0xE7B29E:0x5330,0xE7B2A0:0x5331,0xE7B2A6:0x5332,0xE7B2B0:0x5333, +0xE7B2B6:0x5334,0xE7B2B7:0x5335,0xE7B2BA:0x5336,0xE7B2BB:0x5337,0xE7B2BC:0x5338, +0xE7B2BF:0x5339,0xE7B384:0x533A,0xE7B387:0x533B,0xE7B388:0x533C,0xE7B389:0x533D, +0xE7B38D:0x533E,0xE7B38F:0x533F,0xE7B393:0x5340,0xE7B394:0x5341,0xE7B395:0x5342, +0xE7B397:0x5343,0xE7B399:0x5344,0xE7B39A:0x5345,0xE7B39D:0x5346,0xE7B3A6:0x5347, +0xE7B3A9:0x5348,0xE7B3AB:0x5349,0xE7B3B5:0x534A,0xE7B483:0x534B,0xE7B487:0x534C, +0xE7B488:0x534D,0xE7B489:0x534E,0xE7B48F:0x534F,0xE7B491:0x5350,0xE7B492:0x5351, +0xE7B493:0x5352,0xE7B496:0x5353,0xE7B49D:0x5354,0xE7B49E:0x5355,0xE7B4A3:0x5356, +0xE7B4A6:0x5357,0xE7B4AA:0x5358,0xE7B4AD:0x5359,0xE7B4B1:0x535A,0xE7B4BC:0x535B, +0xE7B4BD:0x535C,0xE7B4BE:0x535D,0xE7B580:0x535E,0xE7B581:0x535F,0xE7B587:0x5360, +0xE7B588:0x5361,0xE7B58D:0x5362,0xE7B591:0x5363,0xE7B593:0x5364,0xE7B597:0x5365, +0xE7B599:0x5366,0xE7B59A:0x5367,0xE7B59C:0x5368,0xE7B59D:0x5369,0xE7B5A5:0x536A, +0xE7B5A7:0x536B,0xE7B5AA:0x536C,0xE7B5B0:0x536D,0xE7B5B8:0x536E,0xE7B5BA:0x536F, +0xE7B5BB:0x5370,0xE7B5BF:0x5371,0xE7B681:0x5372,0xE7B682:0x5373,0xE7B683:0x5374, +0xE7B685:0x5375,0xE7B686:0x5376,0xE7B688:0x5377,0xE7B68B:0x5378,0xE7B68C:0x5379, +0xE7B68D:0x537A,0xE7B691:0x537B,0xE7B696:0x537C,0xE7B697:0x537D,0xE7B69D:0x537E, +0xE7B69E:0x5421,0xE7B6A6:0x5422,0xE7B6A7:0x5423,0xE7B6AA:0x5424,0xE7B6B3:0x5425, +0xE7B6B6:0x5426,0xE7B6B7:0x5427,0xE7B6B9:0x5428,0xE7B782:0x5429,0xE7B783:0x542A, +0xE7B784:0x542B,0xE7B785:0x542C,0xE7B786:0x542D,0xE7B78C:0x542E,0xE7B78D:0x542F, +0xE7B78E:0x5430,0xE7B797:0x5431,0xE7B799:0x5432,0xE7B880:0x5433,0xE7B7A2:0x5434, +0xE7B7A5:0x5435,0xE7B7A6:0x5436,0xE7B7AA:0x5437,0xE7B7AB:0x5438,0xE7B7AD:0x5439, +0xE7B7B1:0x543A,0xE7B7B5:0x543B,0xE7B7B6:0x543C,0xE7B7B9:0x543D,0xE7B7BA:0x543E, +0xE7B888:0x543F,0xE7B890:0x5440,0xE7B891:0x5441,0xE7B895:0x5442,0xE7B897:0x5443, +0xE7B89C:0x5444,0xE7B89D:0x5445,0xE7B8A0:0x5446,0xE7B8A7:0x5447,0xE7B8A8:0x5448, +0xE7B8AC:0x5449,0xE7B8AD:0x544A,0xE7B8AF:0x544B,0xE7B8B3:0x544C,0xE7B8B6:0x544D, +0xE7B8BF:0x544E,0xE7B984:0x544F,0xE7B985:0x5450,0xE7B987:0x5451,0xE7B98E:0x5452, +0xE7B990:0x5453,0xE7B992:0x5454,0xE7B998:0x5455,0xE7B99F:0x5456,0xE7B9A1:0x5457, +0xE7B9A2:0x5458,0xE7B9A5:0x5459,0xE7B9AB:0x545A,0xE7B9AE:0x545B,0xE7B9AF:0x545C, +0xE7B9B3:0x545D,0xE7B9B8:0x545E,0xE7B9BE:0x545F,0xE7BA81:0x5460,0xE7BA86:0x5461, +0xE7BA87:0x5462,0xE7BA8A:0x5463,0xE7BA8D:0x5464,0xE7BA91:0x5465,0xE7BA95:0x5466, +0xE7BA98:0x5467,0xE7BA9A:0x5468,0xE7BA9D:0x5469,0xE7BA9E:0x546A,0xE7BCBC:0x546B, +0xE7BCBB:0x546C,0xE7BCBD:0x546D,0xE7BCBE:0x546E,0xE7BCBF:0x546F,0xE7BD83:0x5470, +0xE7BD84:0x5471,0xE7BD87:0x5472,0xE7BD8F:0x5473,0xE7BD92:0x5474,0xE7BD93:0x5475, +0xE7BD9B:0x5476,0xE7BD9C:0x5477,0xE7BD9D:0x5478,0xE7BDA1:0x5479,0xE7BDA3:0x547A, +0xE7BDA4:0x547B,0xE7BDA5:0x547C,0xE7BDA6:0x547D,0xE7BDAD:0x547E,0xE7BDB1:0x5521, +0xE7BDBD:0x5522,0xE7BDBE:0x5523,0xE7BDBF:0x5524,0xE7BE80:0x5525,0xE7BE8B:0x5526, +0xE7BE8D:0x5527,0xE7BE8F:0x5528,0xE7BE90:0x5529,0xE7BE91:0x552A,0xE7BE96:0x552B, +0xE7BE97:0x552C,0xE7BE9C:0x552D,0xE7BEA1:0x552E,0xE7BEA2:0x552F,0xE7BEA6:0x5530, +0xE7BEAA:0x5531,0xE7BEAD:0x5532,0xE7BEB4:0x5533,0xE7BEBC:0x5534,0xE7BEBF:0x5535, +0xE7BF80:0x5536,0xE7BF83:0x5537,0xE7BF88:0x5538,0xE7BF8E:0x5539,0xE7BF8F:0x553A, +0xE7BF9B:0x553B,0xE7BF9F:0x553C,0xE7BFA3:0x553D,0xE7BFA5:0x553E,0xE7BFA8:0x553F, +0xE7BFAC:0x5540,0xE7BFAE:0x5541,0xE7BFAF:0x5542,0xE7BFB2:0x5543,0xE7BFBA:0x5544, +0xE7BFBD:0x5545,0xE7BFBE:0x5546,0xE7BFBF:0x5547,0xE88087:0x5548,0xE88088:0x5549, +0xE8808A:0x554A,0xE8808D:0x554B,0xE8808E:0x554C,0xE8808F:0x554D,0xE88091:0x554E, +0xE88093:0x554F,0xE88094:0x5550,0xE88096:0x5551,0xE8809D:0x5552,0xE8809E:0x5553, +0xE8809F:0x5554,0xE880A0:0x5555,0xE880A4:0x5556,0xE880A6:0x5557,0xE880AC:0x5558, +0xE880AE:0x5559,0xE880B0:0x555A,0xE880B4:0x555B,0xE880B5:0x555C,0xE880B7:0x555D, +0xE880B9:0x555E,0xE880BA:0x555F,0xE880BC:0x5560,0xE880BE:0x5561,0xE88180:0x5562, +0xE88184:0x5563,0xE881A0:0x5564,0xE881A4:0x5565,0xE881A6:0x5566,0xE881AD:0x5567, +0xE881B1:0x5568,0xE881B5:0x5569,0xE88281:0x556A,0xE88288:0x556B,0xE8828E:0x556C, +0xE8829C:0x556D,0xE8829E:0x556E,0xE882A6:0x556F,0xE882A7:0x5570,0xE882AB:0x5571, +0xE882B8:0x5572,0xE882B9:0x5573,0xE88388:0x5574,0xE8838D:0x5575,0xE8838F:0x5576, +0xE88392:0x5577,0xE88394:0x5578,0xE88395:0x5579,0xE88397:0x557A,0xE88398:0x557B, +0xE883A0:0x557C,0xE883AD:0x557D,0xE883AE:0x557E,0xE883B0:0x5621,0xE883B2:0x5622, +0xE883B3:0x5623,0xE883B6:0x5624,0xE883B9:0x5625,0xE883BA:0x5626,0xE883BE:0x5627, +0xE88483:0x5628,0xE8848B:0x5629,0xE88496:0x562A,0xE88497:0x562B,0xE88498:0x562C, +0xE8849C:0x562D,0xE8849E:0x562E,0xE884A0:0x562F,0xE884A4:0x5630,0xE884A7:0x5631, +0xE884AC:0x5632,0xE884B0:0x5633,0xE884B5:0x5634,0xE884BA:0x5635,0xE884BC:0x5636, +0xE88585:0x5637,0xE88587:0x5638,0xE8858A:0x5639,0xE8858C:0x563A,0xE88592:0x563B, +0xE88597:0x563C,0xE885A0:0x563D,0xE885A1:0x563E,0xE885A7:0x563F,0xE885A8:0x5640, +0xE885A9:0x5641,0xE885AD:0x5642,0xE885AF:0x5643,0xE885B7:0x5644,0xE88681:0x5645, +0xE88690:0x5646,0xE88684:0x5647,0xE88685:0x5648,0xE88686:0x5649,0xE8868B:0x564A, +0xE8868E:0x564B,0xE88696:0x564C,0xE88698:0x564D,0xE8869B:0x564E,0xE8869E:0x564F, +0xE886A2:0x5650,0xE886AE:0x5651,0xE886B2:0x5652,0xE886B4:0x5653,0xE886BB:0x5654, +0xE8878B:0x5655,0xE88783:0x5656,0xE88785:0x5657,0xE8878A:0x5658,0xE8878E:0x5659, +0xE8878F:0x565A,0xE88795:0x565B,0xE88797:0x565C,0xE8879B:0x565D,0xE8879D:0x565E, +0xE8879E:0x565F,0xE887A1:0x5660,0xE887A4:0x5661,0xE887AB:0x5662,0xE887AC:0x5663, +0xE887B0:0x5664,0xE887B1:0x5665,0xE887B2:0x5666,0xE887B5:0x5667,0xE887B6:0x5668, +0xE887B8:0x5669,0xE887B9:0x566A,0xE887BD:0x566B,0xE887BF:0x566C,0xE88880:0x566D, +0xE88883:0x566E,0xE8888F:0x566F,0xE88893:0x5670,0xE88894:0x5671,0xE88899:0x5672, +0xE8889A:0x5673,0xE8889D:0x5674,0xE888A1:0x5675,0xE888A2:0x5676,0xE888A8:0x5677, +0xE888B2:0x5678,0xE888B4:0x5679,0xE888BA:0x567A,0xE88983:0x567B,0xE88984:0x567C, +0xE88985:0x567D,0xE88986:0x567E,0xE8898B:0x5721,0xE8898E:0x5722,0xE8898F:0x5723, +0xE88991:0x5724,0xE88996:0x5725,0xE8899C:0x5726,0xE889A0:0x5727,0xE889A3:0x5728, +0xE889A7:0x5729,0xE889AD:0x572A,0xE889B4:0x572B,0xE889BB:0x572C,0xE889BD:0x572D, +0xE889BF:0x572E,0xE88A80:0x572F,0xE88A81:0x5730,0xE88A83:0x5731,0xE88A84:0x5732, +0xE88A87:0x5733,0xE88A89:0x5734,0xE88A8A:0x5735,0xE88A8E:0x5736,0xE88A91:0x5737, +0xE88A94:0x5738,0xE88A96:0x5739,0xE88A98:0x573A,0xE88A9A:0x573B,0xE88A9B:0x573C, +0xE88AA0:0x573D,0xE88AA1:0x573E,0xE88AA3:0x573F,0xE88AA4:0x5740,0xE88AA7:0x5741, +0xE88AA8:0x5742,0xE88AA9:0x5743,0xE88AAA:0x5744,0xE88AAE:0x5745,0xE88AB0:0x5746, +0xE88AB2:0x5747,0xE88AB4:0x5748,0xE88AB7:0x5749,0xE88ABA:0x574A,0xE88ABC:0x574B, +0xE88ABE:0x574C,0xE88ABF:0x574D,0xE88B86:0x574E,0xE88B90:0x574F,0xE88B95:0x5750, +0xE88B9A:0x5751,0xE88BA0:0x5752,0xE88BA2:0x5753,0xE88BA4:0x5754,0xE88BA8:0x5755, +0xE88BAA:0x5756,0xE88BAD:0x5757,0xE88BAF:0x5758,0xE88BB6:0x5759,0xE88BB7:0x575A, +0xE88BBD:0x575B,0xE88BBE:0x575C,0xE88C80:0x575D,0xE88C81:0x575E,0xE88C87:0x575F, +0xE88C88:0x5760,0xE88C8A:0x5761,0xE88C8B:0x5762,0xE88D94:0x5763,0xE88C9B:0x5764, +0xE88C9D:0x5765,0xE88C9E:0x5766,0xE88C9F:0x5767,0xE88CA1:0x5768,0xE88CA2:0x5769, +0xE88CAC:0x576A,0xE88CAD:0x576B,0xE88CAE:0x576C,0xE88CB0:0x576D,0xE88CB3:0x576E, +0xE88CB7:0x576F,0xE88CBA:0x5770,0xE88CBC:0x5771,0xE88CBD:0x5772,0xE88D82:0x5773, +0xE88D83:0x5774,0xE88D84:0x5775,0xE88D87:0x5776,0xE88D8D:0x5777,0xE88D8E:0x5778, +0xE88D91:0x5779,0xE88D95:0x577A,0xE88D96:0x577B,0xE88D97:0x577C,0xE88DB0:0x577D, +0xE88DB8:0x577E,0xE88DBD:0x5821,0xE88DBF:0x5822,0xE88E80:0x5823,0xE88E82:0x5824, +0xE88E84:0x5825,0xE88E86:0x5826,0xE88E8D:0x5827,0xE88E92:0x5828,0xE88E94:0x5829, +0xE88E95:0x582A,0xE88E98:0x582B,0xE88E99:0x582C,0xE88E9B:0x582D,0xE88E9C:0x582E, +0xE88E9D:0x582F,0xE88EA6:0x5830,0xE88EA7:0x5831,0xE88EA9:0x5832,0xE88EAC:0x5833, +0xE88EBE:0x5834,0xE88EBF:0x5835,0xE88F80:0x5836,0xE88F87:0x5837,0xE88F89:0x5838, +0xE88F8F:0x5839,0xE88F90:0x583A,0xE88F91:0x583B,0xE88F94:0x583C,0xE88F9D:0x583D, +0xE88D93:0x583E,0xE88FA8:0x583F,0xE88FAA:0x5840,0xE88FB6:0x5841,0xE88FB8:0x5842, +0xE88FB9:0x5843,0xE88FBC:0x5844,0xE89081:0x5845,0xE89086:0x5846,0xE8908A:0x5847, +0xE8908F:0x5848,0xE89091:0x5849,0xE89095:0x584A,0xE89099:0x584B,0xE88EAD:0x584C, +0xE890AF:0x584D,0xE890B9:0x584E,0xE89185:0x584F,0xE89187:0x5850,0xE89188:0x5851, +0xE8918A:0x5852,0xE8918D:0x5853,0xE8918F:0x5854,0xE89191:0x5855,0xE89192:0x5856, +0xE89196:0x5857,0xE89198:0x5858,0xE89199:0x5859,0xE8919A:0x585A,0xE8919C:0x585B, +0xE891A0:0x585C,0xE891A4:0x585D,0xE891A5:0x585E,0xE891A7:0x585F,0xE891AA:0x5860, +0xE891B0:0x5861,0xE891B3:0x5862,0xE891B4:0x5863,0xE891B6:0x5864,0xE891B8:0x5865, +0xE891BC:0x5866,0xE891BD:0x5867,0xE89281:0x5868,0xE89285:0x5869,0xE89292:0x586A, +0xE89293:0x586B,0xE89295:0x586C,0xE8929E:0x586D,0xE892A6:0x586E,0xE892A8:0x586F, +0xE892A9:0x5870,0xE892AA:0x5871,0xE892AF:0x5872,0xE892B1:0x5873,0xE892B4:0x5874, +0xE892BA:0x5875,0xE892BD:0x5876,0xE892BE:0x5877,0xE89380:0x5878,0xE89382:0x5879, +0xE89387:0x587A,0xE89388:0x587B,0xE8938C:0x587C,0xE8938F:0x587D,0xE89393:0x587E, +0xE8939C:0x5921,0xE893A7:0x5922,0xE893AA:0x5923,0xE893AF:0x5924,0xE893B0:0x5925, +0xE893B1:0x5926,0xE893B2:0x5927,0xE893B7:0x5928,0xE894B2:0x5929,0xE893BA:0x592A, +0xE893BB:0x592B,0xE893BD:0x592C,0xE89482:0x592D,0xE89483:0x592E,0xE89487:0x592F, +0xE8948C:0x5930,0xE8948E:0x5931,0xE89490:0x5932,0xE8949C:0x5933,0xE8949E:0x5934, +0xE894A2:0x5935,0xE894A3:0x5936,0xE894A4:0x5937,0xE894A5:0x5938,0xE894A7:0x5939, +0xE894AA:0x593A,0xE894AB:0x593B,0xE894AF:0x593C,0xE894B3:0x593D,0xE894B4:0x593E, +0xE894B6:0x593F,0xE894BF:0x5940,0xE89586:0x5941,0xE8958F:0x5942,0xE89590:0x5943, +0xE89591:0x5944,0xE89592:0x5945,0xE89593:0x5946,0xE89596:0x5947,0xE89599:0x5948, +0xE8959C:0x5949,0xE8959D:0x594A,0xE8959E:0x594B,0xE8959F:0x594C,0xE895A0:0x594D, +0xE895A1:0x594E,0xE895A2:0x594F,0xE895A4:0x5950,0xE895AB:0x5951,0xE895AF:0x5952, +0xE895B9:0x5953,0xE895BA:0x5954,0xE895BB:0x5955,0xE895BD:0x5956,0xE895BF:0x5957, +0xE89681:0x5958,0xE89685:0x5959,0xE89686:0x595A,0xE89689:0x595B,0xE8968B:0x595C, +0xE8968C:0x595D,0xE8968F:0x595E,0xE89693:0x595F,0xE89698:0x5960,0xE8969D:0x5961, +0xE8969F:0x5962,0xE896A0:0x5963,0xE896A2:0x5964,0xE896A5:0x5965,0xE896A7:0x5966, +0xE896B4:0x5967,0xE896B6:0x5968,0xE896B7:0x5969,0xE896B8:0x596A,0xE896BC:0x596B, +0xE896BD:0x596C,0xE896BE:0x596D,0xE896BF:0x596E,0xE89782:0x596F,0xE89787:0x5970, +0xE8978A:0x5971,0xE8978B:0x5972,0xE8978E:0x5973,0xE896AD:0x5974,0xE89798:0x5975, +0xE8979A:0x5976,0xE8979F:0x5977,0xE897A0:0x5978,0xE897A6:0x5979,0xE897A8:0x597A, +0xE897AD:0x597B,0xE897B3:0x597C,0xE897B6:0x597D,0xE897BC:0x597E,0xE897BF:0x5A21, +0xE89880:0x5A22,0xE89884:0x5A23,0xE89885:0x5A24,0xE8988D:0x5A25,0xE8988E:0x5A26, +0xE89890:0x5A27,0xE89891:0x5A28,0xE89892:0x5A29,0xE89898:0x5A2A,0xE89899:0x5A2B, +0xE8989B:0x5A2C,0xE8989E:0x5A2D,0xE898A1:0x5A2E,0xE898A7:0x5A2F,0xE898A9:0x5A30, +0xE898B6:0x5A31,0xE898B8:0x5A32,0xE898BA:0x5A33,0xE898BC:0x5A34,0xE898BD:0x5A35, +0xE89980:0x5A36,0xE89982:0x5A37,0xE89986:0x5A38,0xE89992:0x5A39,0xE89993:0x5A3A, +0xE89996:0x5A3B,0xE89997:0x5A3C,0xE89998:0x5A3D,0xE89999:0x5A3E,0xE8999D:0x5A3F, +0xE899A0:0x5A40,0xE899A1:0x5A41,0xE899A2:0x5A42,0xE899A3:0x5A43,0xE899A4:0x5A44, +0xE899A9:0x5A45,0xE899AC:0x5A46,0xE899AF:0x5A47,0xE899B5:0x5A48,0xE899B6:0x5A49, +0xE899B7:0x5A4A,0xE899BA:0x5A4B,0xE89A8D:0x5A4C,0xE89A91:0x5A4D,0xE89A96:0x5A4E, +0xE89A98:0x5A4F,0xE89A9A:0x5A50,0xE89A9C:0x5A51,0xE89AA1:0x5A52,0xE89AA6:0x5A53, +0xE89AA7:0x5A54,0xE89AA8:0x5A55,0xE89AAD:0x5A56,0xE89AB1:0x5A57,0xE89AB3:0x5A58, +0xE89AB4:0x5A59,0xE89AB5:0x5A5A,0xE89AB7:0x5A5B,0xE89AB8:0x5A5C,0xE89AB9:0x5A5D, +0xE89ABF:0x5A5E,0xE89B80:0x5A5F,0xE89B81:0x5A60,0xE89B83:0x5A61,0xE89B85:0x5A62, +0xE89B91:0x5A63,0xE89B92:0x5A64,0xE89B95:0x5A65,0xE89B97:0x5A66,0xE89B9A:0x5A67, +0xE89B9C:0x5A68,0xE89BA0:0x5A69,0xE89BA3:0x5A6A,0xE89BA5:0x5A6B,0xE89BA7:0x5A6C, +0xE89A88:0x5A6D,0xE89BBA:0x5A6E,0xE89BBC:0x5A6F,0xE89BBD:0x5A70,0xE89C84:0x5A71, +0xE89C85:0x5A72,0xE89C87:0x5A73,0xE89C8B:0x5A74,0xE89C8E:0x5A75,0xE89C8F:0x5A76, +0xE89C90:0x5A77,0xE89C93:0x5A78,0xE89C94:0x5A79,0xE89C99:0x5A7A,0xE89C9E:0x5A7B, +0xE89C9F:0x5A7C,0xE89CA1:0x5A7D,0xE89CA3:0x5A7E,0xE89CA8:0x5B21,0xE89CAE:0x5B22, +0xE89CAF:0x5B23,0xE89CB1:0x5B24,0xE89CB2:0x5B25,0xE89CB9:0x5B26,0xE89CBA:0x5B27, +0xE89CBC:0x5B28,0xE89CBD:0x5B29,0xE89CBE:0x5B2A,0xE89D80:0x5B2B,0xE89D83:0x5B2C, +0xE89D85:0x5B2D,0xE89D8D:0x5B2E,0xE89D98:0x5B2F,0xE89D9D:0x5B30,0xE89DA1:0x5B31, +0xE89DA4:0x5B32,0xE89DA5:0x5B33,0xE89DAF:0x5B34,0xE89DB1:0x5B35,0xE89DB2:0x5B36, +0xE89DBB:0x5B37,0xE89E83:0x5B38,0xE89E84:0x5B39,0xE89E85:0x5B3A,0xE89E86:0x5B3B, +0xE89E87:0x5B3C,0xE89E88:0x5B3D,0xE89E89:0x5B3E,0xE89E8B:0x5B3F,0xE89E8C:0x5B40, +0xE89E90:0x5B41,0xE89E93:0x5B42,0xE89E95:0x5B43,0xE89E97:0x5B44,0xE89E98:0x5B45, +0xE89E99:0x5B46,0xE89E9E:0x5B47,0xE89EA0:0x5B48,0xE89EA3:0x5B49,0xE89EA7:0x5B4A, +0xE89EAC:0x5B4B,0xE89EAD:0x5B4C,0xE89EAE:0x5B4D,0xE89EB1:0x5B4E,0xE89EB5:0x5B4F, +0xE89EBE:0x5B50,0xE89EBF:0x5B51,0xE89F81:0x5B52,0xE89F88:0x5B53,0xE89F89:0x5B54, +0xE89F8A:0x5B55,0xE89F8E:0x5B56,0xE89F95:0x5B57,0xE89F96:0x5B58,0xE89F99:0x5B59, +0xE89F9A:0x5B5A,0xE89F9C:0x5B5B,0xE89F9F:0x5B5C,0xE89FA2:0x5B5D,0xE89FA3:0x5B5E, +0xE89FA4:0x5B5F,0xE89FAA:0x5B60,0xE89FAB:0x5B61,0xE89FAD:0x5B62,0xE89FB1:0x5B63, +0xE89FB3:0x5B64,0xE89FB8:0x5B65,0xE89FBA:0x5B66,0xE89FBF:0x5B67,0xE8A081:0x5B68, +0xE8A083:0x5B69,0xE8A086:0x5B6A,0xE8A089:0x5B6B,0xE8A08A:0x5B6C,0xE8A08B:0x5B6D, +0xE8A090:0x5B6E,0xE8A099:0x5B6F,0xE8A092:0x5B70,0xE8A093:0x5B71,0xE8A094:0x5B72, +0xE8A098:0x5B73,0xE8A09A:0x5B74,0xE8A09B:0x5B75,0xE8A09C:0x5B76,0xE8A09E:0x5B77, +0xE8A09F:0x5B78,0xE8A0A8:0x5B79,0xE8A0AD:0x5B7A,0xE8A0AE:0x5B7B,0xE8A0B0:0x5B7C, +0xE8A0B2:0x5B7D,0xE8A0B5:0x5B7E,0xE8A0BA:0x5C21,0xE8A0BC:0x5C22,0xE8A181:0x5C23, +0xE8A183:0x5C24,0xE8A185:0x5C25,0xE8A188:0x5C26,0xE8A189:0x5C27,0xE8A18A:0x5C28, +0xE8A18B:0x5C29,0xE8A18E:0x5C2A,0xE8A191:0x5C2B,0xE8A195:0x5C2C,0xE8A196:0x5C2D, +0xE8A198:0x5C2E,0xE8A19A:0x5C2F,0xE8A19C:0x5C30,0xE8A19F:0x5C31,0xE8A1A0:0x5C32, +0xE8A1A4:0x5C33,0xE8A1A9:0x5C34,0xE8A1B1:0x5C35,0xE8A1B9:0x5C36,0xE8A1BB:0x5C37, +0xE8A280:0x5C38,0xE8A298:0x5C39,0xE8A29A:0x5C3A,0xE8A29B:0x5C3B,0xE8A29C:0x5C3C, +0xE8A29F:0x5C3D,0xE8A2A0:0x5C3E,0xE8A2A8:0x5C3F,0xE8A2AA:0x5C40,0xE8A2BA:0x5C41, +0xE8A2BD:0x5C42,0xE8A2BE:0x5C43,0xE8A380:0x5C44,0xE8A38A:0x5C45,0xE8A38B:0x5C46, +0xE8A38C:0x5C47,0xE8A38D:0x5C48,0xE8A38E:0x5C49,0xE8A391:0x5C4A,0xE8A392:0x5C4B, +0xE8A393:0x5C4C,0xE8A39B:0x5C4D,0xE8A39E:0x5C4E,0xE8A3A7:0x5C4F,0xE8A3AF:0x5C50, +0xE8A3B0:0x5C51,0xE8A3B1:0x5C52,0xE8A3B5:0x5C53,0xE8A3B7:0x5C54,0xE8A481:0x5C55, +0xE8A486:0x5C56,0xE8A48D:0x5C57,0xE8A48E:0x5C58,0xE8A48F:0x5C59,0xE8A495:0x5C5A, +0xE8A496:0x5C5B,0xE8A498:0x5C5C,0xE8A499:0x5C5D,0xE8A49A:0x5C5E,0xE8A49C:0x5C5F, +0xE8A4A0:0x5C60,0xE8A4A6:0x5C61,0xE8A4A7:0x5C62,0xE8A4A8:0x5C63,0xE8A4B0:0x5C64, +0xE8A4B1:0x5C65,0xE8A4B2:0x5C66,0xE8A4B5:0x5C67,0xE8A4B9:0x5C68,0xE8A4BA:0x5C69, +0xE8A4BE:0x5C6A,0xE8A580:0x5C6B,0xE8A582:0x5C6C,0xE8A585:0x5C6D,0xE8A586:0x5C6E, +0xE8A589:0x5C6F,0xE8A58F:0x5C70,0xE8A592:0x5C71,0xE8A597:0x5C72,0xE8A59A:0x5C73, +0xE8A59B:0x5C74,0xE8A59C:0x5C75,0xE8A5A1:0x5C76,0xE8A5A2:0x5C77,0xE8A5A3:0x5C78, +0xE8A5AB:0x5C79,0xE8A5AE:0x5C7A,0xE8A5B0:0x5C7B,0xE8A5B3:0x5C7C,0xE8A5B5:0x5C7D, +0xE8A5BA:0x5C7E,0xE8A5BB:0x5D21,0xE8A5BC:0x5D22,0xE8A5BD:0x5D23,0xE8A689:0x5D24, +0xE8A68D:0x5D25,0xE8A690:0x5D26,0xE8A694:0x5D27,0xE8A695:0x5D28,0xE8A69B:0x5D29, +0xE8A69C:0x5D2A,0xE8A69F:0x5D2B,0xE8A6A0:0x5D2C,0xE8A6A5:0x5D2D,0xE8A6B0:0x5D2E, +0xE8A6B4:0x5D2F,0xE8A6B5:0x5D30,0xE8A6B6:0x5D31,0xE8A6B7:0x5D32,0xE8A6BC:0x5D33, +0xE8A794:0x5D34,0xE8A795:0x5D35,0xE8A796:0x5D36,0xE8A797:0x5D37,0xE8A798:0x5D38, +0xE8A7A5:0x5D39,0xE8A7A9:0x5D3A,0xE8A7AB:0x5D3B,0xE8A7AD:0x5D3C,0xE8A7B1:0x5D3D, +0xE8A7B3:0x5D3E,0xE8A7B6:0x5D3F,0xE8A7B9:0x5D40,0xE8A7BD:0x5D41,0xE8A7BF:0x5D42, +0xE8A884:0x5D43,0xE8A885:0x5D44,0xE8A887:0x5D45,0xE8A88F:0x5D46,0xE8A891:0x5D47, +0xE8A892:0x5D48,0xE8A894:0x5D49,0xE8A895:0x5D4A,0xE8A89E:0x5D4B,0xE8A8A0:0x5D4C, +0xE8A8A2:0x5D4D,0xE8A8A4:0x5D4E,0xE8A8A6:0x5D4F,0xE8A8AB:0x5D50,0xE8A8AC:0x5D51, +0xE8A8AF:0x5D52,0xE8A8B5:0x5D53,0xE8A8B7:0x5D54,0xE8A8BD:0x5D55,0xE8A8BE:0x5D56, +0xE8A980:0x5D57,0xE8A983:0x5D58,0xE8A985:0x5D59,0xE8A987:0x5D5A,0xE8A989:0x5D5B, +0xE8A98D:0x5D5C,0xE8A98E:0x5D5D,0xE8A993:0x5D5E,0xE8A996:0x5D5F,0xE8A997:0x5D60, +0xE8A998:0x5D61,0xE8A99C:0x5D62,0xE8A99D:0x5D63,0xE8A9A1:0x5D64,0xE8A9A5:0x5D65, +0xE8A9A7:0x5D66,0xE8A9B5:0x5D67,0xE8A9B6:0x5D68,0xE8A9B7:0x5D69,0xE8A9B9:0x5D6A, +0xE8A9BA:0x5D6B,0xE8A9BB:0x5D6C,0xE8A9BE:0x5D6D,0xE8A9BF:0x5D6E,0xE8AA80:0x5D6F, +0xE8AA83:0x5D70,0xE8AA86:0x5D71,0xE8AA8B:0x5D72,0xE8AA8F:0x5D73,0xE8AA90:0x5D74, +0xE8AA92:0x5D75,0xE8AA96:0x5D76,0xE8AA97:0x5D77,0xE8AA99:0x5D78,0xE8AA9F:0x5D79, +0xE8AAA7:0x5D7A,0xE8AAA9:0x5D7B,0xE8AAAE:0x5D7C,0xE8AAAF:0x5D7D,0xE8AAB3:0x5D7E, +0xE8AAB6:0x5E21,0xE8AAB7:0x5E22,0xE8AABB:0x5E23,0xE8AABE:0x5E24,0xE8AB83:0x5E25, +0xE8AB86:0x5E26,0xE8AB88:0x5E27,0xE8AB89:0x5E28,0xE8AB8A:0x5E29,0xE8AB91:0x5E2A, +0xE8AB93:0x5E2B,0xE8AB94:0x5E2C,0xE8AB95:0x5E2D,0xE8AB97:0x5E2E,0xE8AB9D:0x5E2F, +0xE8AB9F:0x5E30,0xE8ABAC:0x5E31,0xE8ABB0:0x5E32,0xE8ABB4:0x5E33,0xE8ABB5:0x5E34, +0xE8ABB6:0x5E35,0xE8ABBC:0x5E36,0xE8ABBF:0x5E37,0xE8AC85:0x5E38,0xE8AC86:0x5E39, +0xE8AC8B:0x5E3A,0xE8AC91:0x5E3B,0xE8AC9C:0x5E3C,0xE8AC9E:0x5E3D,0xE8AC9F:0x5E3E, +0xE8AC8A:0x5E3F,0xE8ACAD:0x5E40,0xE8ACB0:0x5E41,0xE8ACB7:0x5E42,0xE8ACBC:0x5E43, +0xE8AD82:0x5E44,0xE8AD83:0x5E45,0xE8AD84:0x5E46,0xE8AD85:0x5E47,0xE8AD86:0x5E48, +0xE8AD88:0x5E49,0xE8AD92:0x5E4A,0xE8AD93:0x5E4B,0xE8AD94:0x5E4C,0xE8AD99:0x5E4D, +0xE8AD8D:0x5E4E,0xE8AD9E:0x5E4F,0xE8ADA3:0x5E50,0xE8ADAD:0x5E51,0xE8ADB6:0x5E52, +0xE8ADB8:0x5E53,0xE8ADB9:0x5E54,0xE8ADBC:0x5E55,0xE8ADBE:0x5E56,0xE8AE81:0x5E57, +0xE8AE84:0x5E58,0xE8AE85:0x5E59,0xE8AE8B:0x5E5A,0xE8AE8D:0x5E5B,0xE8AE8F:0x5E5C, +0xE8AE94:0x5E5D,0xE8AE95:0x5E5E,0xE8AE9C:0x5E5F,0xE8AE9E:0x5E60,0xE8AE9F:0x5E61, +0xE8B0B8:0x5E62,0xE8B0B9:0x5E63,0xE8B0BD:0x5E64,0xE8B0BE:0x5E65,0xE8B185:0x5E66, +0xE8B187:0x5E67,0xE8B189:0x5E68,0xE8B18B:0x5E69,0xE8B18F:0x5E6A,0xE8B191:0x5E6B, +0xE8B193:0x5E6C,0xE8B194:0x5E6D,0xE8B197:0x5E6E,0xE8B198:0x5E6F,0xE8B19B:0x5E70, +0xE8B19D:0x5E71,0xE8B199:0x5E72,0xE8B1A3:0x5E73,0xE8B1A4:0x5E74,0xE8B1A6:0x5E75, +0xE8B1A8:0x5E76,0xE8B1A9:0x5E77,0xE8B1AD:0x5E78,0xE8B1B3:0x5E79,0xE8B1B5:0x5E7A, +0xE8B1B6:0x5E7B,0xE8B1BB:0x5E7C,0xE8B1BE:0x5E7D,0xE8B286:0x5E7E,0xE8B287:0x5F21, +0xE8B28B:0x5F22,0xE8B290:0x5F23,0xE8B292:0x5F24,0xE8B293:0x5F25,0xE8B299:0x5F26, +0xE8B29B:0x5F27,0xE8B29C:0x5F28,0xE8B2A4:0x5F29,0xE8B2B9:0x5F2A,0xE8B2BA:0x5F2B, +0xE8B385:0x5F2C,0xE8B386:0x5F2D,0xE8B389:0x5F2E,0xE8B38B:0x5F2F,0xE8B38F:0x5F30, +0xE8B396:0x5F31,0xE8B395:0x5F32,0xE8B399:0x5F33,0xE8B39D:0x5F34,0xE8B3A1:0x5F35, +0xE8B3A8:0x5F36,0xE8B3AC:0x5F37,0xE8B3AF:0x5F38,0xE8B3B0:0x5F39,0xE8B3B2:0x5F3A, +0xE8B3B5:0x5F3B,0xE8B3B7:0x5F3C,0xE8B3B8:0x5F3D,0xE8B3BE:0x5F3E,0xE8B3BF:0x5F3F, +0xE8B481:0x5F40,0xE8B483:0x5F41,0xE8B489:0x5F42,0xE8B492:0x5F43,0xE8B497:0x5F44, +0xE8B49B:0x5F45,0xE8B5A5:0x5F46,0xE8B5A9:0x5F47,0xE8B5AC:0x5F48,0xE8B5AE:0x5F49, +0xE8B5BF:0x5F4A,0xE8B682:0x5F4B,0xE8B684:0x5F4C,0xE8B688:0x5F4D,0xE8B68D:0x5F4E, +0xE8B690:0x5F4F,0xE8B691:0x5F50,0xE8B695:0x5F51,0xE8B69E:0x5F52,0xE8B69F:0x5F53, +0xE8B6A0:0x5F54,0xE8B6A6:0x5F55,0xE8B6AB:0x5F56,0xE8B6AC:0x5F57,0xE8B6AF:0x5F58, +0xE8B6B2:0x5F59,0xE8B6B5:0x5F5A,0xE8B6B7:0x5F5B,0xE8B6B9:0x5F5C,0xE8B6BB:0x5F5D, +0xE8B780:0x5F5E,0xE8B785:0x5F5F,0xE8B786:0x5F60,0xE8B787:0x5F61,0xE8B788:0x5F62, +0xE8B78A:0x5F63,0xE8B78E:0x5F64,0xE8B791:0x5F65,0xE8B794:0x5F66,0xE8B795:0x5F67, +0xE8B797:0x5F68,0xE8B799:0x5F69,0xE8B7A4:0x5F6A,0xE8B7A5:0x5F6B,0xE8B7A7:0x5F6C, +0xE8B7AC:0x5F6D,0xE8B7B0:0x5F6E,0xE8B6BC:0x5F6F,0xE8B7B1:0x5F70,0xE8B7B2:0x5F71, +0xE8B7B4:0x5F72,0xE8B7BD:0x5F73,0xE8B881:0x5F74,0xE8B884:0x5F75,0xE8B885:0x5F76, +0xE8B886:0x5F77,0xE8B88B:0x5F78,0xE8B891:0x5F79,0xE8B894:0x5F7A,0xE8B896:0x5F7B, +0xE8B8A0:0x5F7C,0xE8B8A1:0x5F7D,0xE8B8A2:0x5F7E,0xE8B8A3:0x6021,0xE8B8A6:0x6022, +0xE8B8A7:0x6023,0xE8B8B1:0x6024,0xE8B8B3:0x6025,0xE8B8B6:0x6026,0xE8B8B7:0x6027, +0xE8B8B8:0x6028,0xE8B8B9:0x6029,0xE8B8BD:0x602A,0xE8B980:0x602B,0xE8B981:0x602C, +0xE8B98B:0x602D,0xE8B98D:0x602E,0xE8B98E:0x602F,0xE8B98F:0x6030,0xE8B994:0x6031, +0xE8B99B:0x6032,0xE8B99C:0x6033,0xE8B99D:0x6034,0xE8B99E:0x6035,0xE8B9A1:0x6036, +0xE8B9A2:0x6037,0xE8B9A9:0x6038,0xE8B9AC:0x6039,0xE8B9AD:0x603A,0xE8B9AF:0x603B, +0xE8B9B0:0x603C,0xE8B9B1:0x603D,0xE8B9B9:0x603E,0xE8B9BA:0x603F,0xE8B9BB:0x6040, +0xE8BA82:0x6041,0xE8BA83:0x6042,0xE8BA89:0x6043,0xE8BA90:0x6044,0xE8BA92:0x6045, +0xE8BA95:0x6046,0xE8BA9A:0x6047,0xE8BA9B:0x6048,0xE8BA9D:0x6049,0xE8BA9E:0x604A, +0xE8BAA2:0x604B,0xE8BAA7:0x604C,0xE8BAA9:0x604D,0xE8BAAD:0x604E,0xE8BAAE:0x604F, +0xE8BAB3:0x6050,0xE8BAB5:0x6051,0xE8BABA:0x6052,0xE8BABB:0x6053,0xE8BB80:0x6054, +0xE8BB81:0x6055,0xE8BB83:0x6056,0xE8BB84:0x6057,0xE8BB87:0x6058,0xE8BB8F:0x6059, +0xE8BB91:0x605A,0xE8BB94:0x605B,0xE8BB9C:0x605C,0xE8BBA8:0x605D,0xE8BBAE:0x605E, +0xE8BBB0:0x605F,0xE8BBB1:0x6060,0xE8BBB7:0x6061,0xE8BBB9:0x6062,0xE8BBBA:0x6063, +0xE8BBAD:0x6064,0xE8BC80:0x6065,0xE8BC82:0x6066,0xE8BC87:0x6067,0xE8BC88:0x6068, +0xE8BC8F:0x6069,0xE8BC90:0x606A,0xE8BC96:0x606B,0xE8BC97:0x606C,0xE8BC98:0x606D, +0xE8BC9E:0x606E,0xE8BCA0:0x606F,0xE8BCA1:0x6070,0xE8BCA3:0x6071,0xE8BCA5:0x6072, +0xE8BCA7:0x6073,0xE8BCA8:0x6074,0xE8BCAC:0x6075,0xE8BCAD:0x6076,0xE8BCAE:0x6077, +0xE8BCB4:0x6078,0xE8BCB5:0x6079,0xE8BCB6:0x607A,0xE8BCB7:0x607B,0xE8BCBA:0x607C, +0xE8BD80:0x607D,0xE8BD81:0x607E,0xE8BD83:0x6121,0xE8BD87:0x6122,0xE8BD8F:0x6123, +0xE8BD91:0x6124,0xE8BD92:0x6125,0xE8BD93:0x6126,0xE8BD94:0x6127,0xE8BD95:0x6128, +0xE8BD98:0x6129,0xE8BD9D:0x612A,0xE8BD9E:0x612B,0xE8BDA5:0x612C,0xE8BE9D:0x612D, +0xE8BEA0:0x612E,0xE8BEA1:0x612F,0xE8BEA4:0x6130,0xE8BEA5:0x6131,0xE8BEA6:0x6132, +0xE8BEB5:0x6133,0xE8BEB6:0x6134,0xE8BEB8:0x6135,0xE8BEBE:0x6136,0xE8BF80:0x6137, +0xE8BF81:0x6138,0xE8BF86:0x6139,0xE8BF8A:0x613A,0xE8BF8B:0x613B,0xE8BF8D:0x613C, +0xE8BF90:0x613D,0xE8BF92:0x613E,0xE8BF93:0x613F,0xE8BF95:0x6140,0xE8BFA0:0x6141, +0xE8BFA3:0x6142,0xE8BFA4:0x6143,0xE8BFA8:0x6144,0xE8BFAE:0x6145,0xE8BFB1:0x6146, +0xE8BFB5:0x6147,0xE8BFB6:0x6148,0xE8BFBB:0x6149,0xE8BFBE:0x614A,0xE98082:0x614B, +0xE98084:0x614C,0xE98088:0x614D,0xE9808C:0x614E,0xE98098:0x614F,0xE9809B:0x6150, +0xE980A8:0x6151,0xE980A9:0x6152,0xE980AF:0x6153,0xE980AA:0x6154,0xE980AC:0x6155, +0xE980AD:0x6156,0xE980B3:0x6157,0xE980B4:0x6158,0xE980B7:0x6159,0xE980BF:0x615A, +0xE98183:0x615B,0xE98184:0x615C,0xE9818C:0x615D,0xE9819B:0x615E,0xE9819D:0x615F, +0xE981A2:0x6160,0xE981A6:0x6161,0xE981A7:0x6162,0xE981AC:0x6163,0xE981B0:0x6164, +0xE981B4:0x6165,0xE981B9:0x6166,0xE98285:0x6167,0xE98288:0x6168,0xE9828B:0x6169, +0xE9828C:0x616A,0xE9828E:0x616B,0xE98290:0x616C,0xE98295:0x616D,0xE98297:0x616E, +0xE98298:0x616F,0xE98299:0x6170,0xE9829B:0x6171,0xE982A0:0x6172,0xE982A1:0x6173, +0xE982A2:0x6174,0xE982A5:0x6175,0xE982B0:0x6176,0xE982B2:0x6177,0xE982B3:0x6178, +0xE982B4:0x6179,0xE982B6:0x617A,0xE982BD:0x617B,0xE9838C:0x617C,0xE982BE:0x617D, +0xE98383:0x617E,0xE98384:0x6221,0xE98385:0x6222,0xE98387:0x6223,0xE98388:0x6224, +0xE98395:0x6225,0xE98397:0x6226,0xE98398:0x6227,0xE98399:0x6228,0xE9839C:0x6229, +0xE9839D:0x622A,0xE9839F:0x622B,0xE983A5:0x622C,0xE98392:0x622D,0xE983B6:0x622E, +0xE983AB:0x622F,0xE983AF:0x6230,0xE983B0:0x6231,0xE983B4:0x6232,0xE983BE:0x6233, +0xE983BF:0x6234,0xE98480:0x6235,0xE98484:0x6236,0xE98485:0x6237,0xE98486:0x6238, +0xE98488:0x6239,0xE9848D:0x623A,0xE98490:0x623B,0xE98494:0x623C,0xE98496:0x623D, +0xE98497:0x623E,0xE98498:0x623F,0xE9849A:0x6240,0xE9849C:0x6241,0xE9849E:0x6242, +0xE984A0:0x6243,0xE984A5:0x6244,0xE984A2:0x6245,0xE984A3:0x6246,0xE984A7:0x6247, +0xE984A9:0x6248,0xE984AE:0x6249,0xE984AF:0x624A,0xE984B1:0x624B,0xE984B4:0x624C, +0xE984B6:0x624D,0xE984B7:0x624E,0xE984B9:0x624F,0xE984BA:0x6250,0xE984BC:0x6251, +0xE984BD:0x6252,0xE98583:0x6253,0xE98587:0x6254,0xE98588:0x6255,0xE9858F:0x6256, +0xE98593:0x6257,0xE98597:0x6258,0xE98599:0x6259,0xE9859A:0x625A,0xE9859B:0x625B, +0xE985A1:0x625C,0xE985A4:0x625D,0xE985A7:0x625E,0xE985AD:0x625F,0xE985B4:0x6260, +0xE985B9:0x6261,0xE985BA:0x6262,0xE985BB:0x6263,0xE98681:0x6264,0xE98683:0x6265, +0xE98685:0x6266,0xE98686:0x6267,0xE9868A:0x6268,0xE9868E:0x6269,0xE98691:0x626A, +0xE98693:0x626B,0xE98694:0x626C,0xE98695:0x626D,0xE98698:0x626E,0xE9869E:0x626F, +0xE986A1:0x6270,0xE986A6:0x6271,0xE986A8:0x6272,0xE986AC:0x6273,0xE986AD:0x6274, +0xE986AE:0x6275,0xE986B0:0x6276,0xE986B1:0x6277,0xE986B2:0x6278,0xE986B3:0x6279, +0xE986B6:0x627A,0xE986BB:0x627B,0xE986BC:0x627C,0xE986BD:0x627D,0xE986BF:0x627E, +0xE98782:0x6321,0xE98783:0x6322,0xE98785:0x6323,0xE98793:0x6324,0xE98794:0x6325, +0xE98797:0x6326,0xE98799:0x6327,0xE9879A:0x6328,0xE9879E:0x6329,0xE987A4:0x632A, +0xE987A5:0x632B,0xE987A9:0x632C,0xE987AA:0x632D,0xE987AC:0x632E,0xE987AD:0x632F, +0xE987AE:0x6330,0xE987AF:0x6331,0xE987B0:0x6332,0xE987B1:0x6333,0xE987B7:0x6334, +0xE987B9:0x6335,0xE987BB:0x6336,0xE987BD:0x6337,0xE98880:0x6338,0xE98881:0x6339, +0xE98884:0x633A,0xE98885:0x633B,0xE98886:0x633C,0xE98887:0x633D,0xE98889:0x633E, +0xE9888A:0x633F,0xE9888C:0x6340,0xE98890:0x6341,0xE98892:0x6342,0xE98893:0x6343, +0xE98896:0x6344,0xE98898:0x6345,0xE9889C:0x6346,0xE9889D:0x6347,0xE988A3:0x6348, +0xE988A4:0x6349,0xE988A5:0x634A,0xE988A6:0x634B,0xE988A8:0x634C,0xE988AE:0x634D, +0xE988AF:0x634E,0xE988B0:0x634F,0xE988B3:0x6350,0xE988B5:0x6351,0xE988B6:0x6352, +0xE988B8:0x6353,0xE988B9:0x6354,0xE988BA:0x6355,0xE988BC:0x6356,0xE988BE:0x6357, +0xE98980:0x6358,0xE98982:0x6359,0xE98983:0x635A,0xE98986:0x635B,0xE98987:0x635C, +0xE9898A:0x635D,0xE9898D:0x635E,0xE9898E:0x635F,0xE9898F:0x6360,0xE98991:0x6361, +0xE98998:0x6362,0xE98999:0x6363,0xE9899C:0x6364,0xE9899D:0x6365,0xE989A0:0x6366, +0xE989A1:0x6367,0xE989A5:0x6368,0xE989A7:0x6369,0xE989A8:0x636A,0xE989A9:0x636B, +0xE989AE:0x636C,0xE989AF:0x636D,0xE989B0:0x636E,0xE989B5:0x636F,0xE989B6:0x6370, +0xE989B7:0x6371,0xE989B8:0x6372,0xE989B9:0x6373,0xE989BB:0x6374,0xE989BC:0x6375, +0xE989BD:0x6376,0xE989BF:0x6377,0xE98A88:0x6378,0xE98A89:0x6379,0xE98A8A:0x637A, +0xE98A8D:0x637B,0xE98A8E:0x637C,0xE98A92:0x637D,0xE98A97:0x637E,0xE98A99:0x6421, +0xE98A9F:0x6422,0xE98AA0:0x6423,0xE98AA4:0x6424,0xE98AA5:0x6425,0xE98AA7:0x6426, +0xE98AA8:0x6427,0xE98AAB:0x6428,0xE98AAF:0x6429,0xE98AB2:0x642A,0xE98AB6:0x642B, +0xE98AB8:0x642C,0xE98ABA:0x642D,0xE98ABB:0x642E,0xE98ABC:0x642F,0xE98ABD:0x6430, +0xE98ABF:0x6431,0xE98B80:0x6432,0xE98B81:0x6433,0xE98B82:0x6434,0xE98B83:0x6435, +0xE98B85:0x6436,0xE98B86:0x6437,0xE98B87:0x6438,0xE98B88:0x6439,0xE98B8B:0x643A, +0xE98B8C:0x643B,0xE98B8D:0x643C,0xE98B8E:0x643D,0xE98B90:0x643E,0xE98B93:0x643F, +0xE98B95:0x6440,0xE98B97:0x6441,0xE98B98:0x6442,0xE98B99:0x6443,0xE98B9C:0x6444, +0xE98B9D:0x6445,0xE98B9F:0x6446,0xE98BA0:0x6447,0xE98BA1:0x6448,0xE98BA3:0x6449, +0xE98BA5:0x644A,0xE98BA7:0x644B,0xE98BA8:0x644C,0xE98BAC:0x644D,0xE98BAE:0x644E, +0xE98BB0:0x644F,0xE98BB9:0x6450,0xE98BBB:0x6451,0xE98BBF:0x6452,0xE98C80:0x6453, +0xE98C82:0x6454,0xE98C88:0x6455,0xE98C8D:0x6456,0xE98C91:0x6457,0xE98C94:0x6458, +0xE98C95:0x6459,0xE98C9C:0x645A,0xE98C9D:0x645B,0xE98C9E:0x645C,0xE98C9F:0x645D, +0xE98CA1:0x645E,0xE98CA4:0x645F,0xE98CA5:0x6460,0xE98CA7:0x6461,0xE98CA9:0x6462, +0xE98CAA:0x6463,0xE98CB3:0x6464,0xE98CB4:0x6465,0xE98CB6:0x6466,0xE98CB7:0x6467, +0xE98D87:0x6468,0xE98D88:0x6469,0xE98D89:0x646A,0xE98D90:0x646B,0xE98D91:0x646C, +0xE98D92:0x646D,0xE98D95:0x646E,0xE98D97:0x646F,0xE98D98:0x6470,0xE98D9A:0x6471, +0xE98D9E:0x6472,0xE98DA4:0x6473,0xE98DA5:0x6474,0xE98DA7:0x6475,0xE98DA9:0x6476, +0xE98DAA:0x6477,0xE98DAD:0x6478,0xE98DAF:0x6479,0xE98DB0:0x647A,0xE98DB1:0x647B, +0xE98DB3:0x647C,0xE98DB4:0x647D,0xE98DB6:0x647E,0xE98DBA:0x6521,0xE98DBD:0x6522, +0xE98DBF:0x6523,0xE98E80:0x6524,0xE98E81:0x6525,0xE98E82:0x6526,0xE98E88:0x6527, +0xE98E8A:0x6528,0xE98E8B:0x6529,0xE98E8D:0x652A,0xE98E8F:0x652B,0xE98E92:0x652C, +0xE98E95:0x652D,0xE98E98:0x652E,0xE98E9B:0x652F,0xE98E9E:0x6530,0xE98EA1:0x6531, +0xE98EA3:0x6532,0xE98EA4:0x6533,0xE98EA6:0x6534,0xE98EA8:0x6535,0xE98EAB:0x6536, +0xE98EB4:0x6537,0xE98EB5:0x6538,0xE98EB6:0x6539,0xE98EBA:0x653A,0xE98EA9:0x653B, +0xE98F81:0x653C,0xE98F84:0x653D,0xE98F85:0x653E,0xE98F86:0x653F,0xE98F87:0x6540, +0xE98F89:0x6541,0xE98F8A:0x6542,0xE98F8B:0x6543,0xE98F8C:0x6544,0xE98F8D:0x6545, +0xE98F93:0x6546,0xE98F99:0x6547,0xE98F9C:0x6548,0xE98F9E:0x6549,0xE98F9F:0x654A, +0xE98FA2:0x654B,0xE98FA6:0x654C,0xE98FA7:0x654D,0xE98FB9:0x654E,0xE98FB7:0x654F, +0xE98FB8:0x6550,0xE98FBA:0x6551,0xE98FBB:0x6552,0xE98FBD:0x6553,0xE99081:0x6554, +0xE99082:0x6555,0xE99084:0x6556,0xE99088:0x6557,0xE99089:0x6558,0xE9908D:0x6559, +0xE9908E:0x655A,0xE9908F:0x655B,0xE99095:0x655C,0xE99096:0x655D,0xE99097:0x655E, +0xE9909F:0x655F,0xE990AE:0x6560,0xE990AF:0x6561,0xE990B1:0x6562,0xE990B2:0x6563, +0xE990B3:0x6564,0xE990B4:0x6565,0xE990BB:0x6566,0xE990BF:0x6567,0xE990BD:0x6568, +0xE99183:0x6569,0xE99185:0x656A,0xE99188:0x656B,0xE9918A:0x656C,0xE9918C:0x656D, +0xE99195:0x656E,0xE99199:0x656F,0xE9919C:0x6570,0xE9919F:0x6571,0xE991A1:0x6572, +0xE991A3:0x6573,0xE991A8:0x6574,0xE991AB:0x6575,0xE991AD:0x6576,0xE991AE:0x6577, +0xE991AF:0x6578,0xE991B1:0x6579,0xE991B2:0x657A,0xE99284:0x657B,0xE99283:0x657C, +0xE995B8:0x657D,0xE995B9:0x657E,0xE995BE:0x6621,0xE99684:0x6622,0xE99688:0x6623, +0xE9968C:0x6624,0xE9968D:0x6625,0xE9968E:0x6626,0xE9969D:0x6627,0xE9969E:0x6628, +0xE9969F:0x6629,0xE996A1:0x662A,0xE996A6:0x662B,0xE996A9:0x662C,0xE996AB:0x662D, +0xE996AC:0x662E,0xE996B4:0x662F,0xE996B6:0x6630,0xE996BA:0x6631,0xE996BD:0x6632, +0xE996BF:0x6633,0xE99786:0x6634,0xE99788:0x6635,0xE99789:0x6636,0xE9978B:0x6637, +0xE99790:0x6638,0xE99791:0x6639,0xE99792:0x663A,0xE99793:0x663B,0xE99799:0x663C, +0xE9979A:0x663D,0xE9979D:0x663E,0xE9979E:0x663F,0xE9979F:0x6640,0xE997A0:0x6641, +0xE997A4:0x6642,0xE997A6:0x6643,0xE9989D:0x6644,0xE9989E:0x6645,0xE998A2:0x6646, +0xE998A4:0x6647,0xE998A5:0x6648,0xE998A6:0x6649,0xE998AC:0x664A,0xE998B1:0x664B, +0xE998B3:0x664C,0xE998B7:0x664D,0xE998B8:0x664E,0xE998B9:0x664F,0xE998BA:0x6650, +0xE998BC:0x6651,0xE998BD:0x6652,0xE99981:0x6653,0xE99992:0x6654,0xE99994:0x6655, +0xE99996:0x6656,0xE99997:0x6657,0xE99998:0x6658,0xE999A1:0x6659,0xE999AE:0x665A, +0xE999B4:0x665B,0xE999BB:0x665C,0xE999BC:0x665D,0xE999BE:0x665E,0xE999BF:0x665F, +0xE99A81:0x6660,0xE99A82:0x6661,0xE99A83:0x6662,0xE99A84:0x6663,0xE99A89:0x6664, +0xE99A91:0x6665,0xE99A96:0x6666,0xE99A9A:0x6667,0xE99A9D:0x6668,0xE99A9F:0x6669, +0xE99AA4:0x666A,0xE99AA5:0x666B,0xE99AA6:0x666C,0xE99AA9:0x666D,0xE99AAE:0x666E, +0xE99AAF:0x666F,0xE99AB3:0x6670,0xE99ABA:0x6671,0xE99B8A:0x6672,0xE99B92:0x6673, +0xE5B6B2:0x6674,0xE99B98:0x6675,0xE99B9A:0x6676,0xE99B9D:0x6677,0xE99B9E:0x6678, +0xE99B9F:0x6679,0xE99BA9:0x667A,0xE99BAF:0x667B,0xE99BB1:0x667C,0xE99BBA:0x667D, +0xE99C82:0x667E,0xE99C83:0x6721,0xE99C85:0x6722,0xE99C89:0x6723,0xE99C9A:0x6724, +0xE99C9B:0x6725,0xE99C9D:0x6726,0xE99CA1:0x6727,0xE99CA2:0x6728,0xE99CA3:0x6729, +0xE99CA8:0x672A,0xE99CB1:0x672B,0xE99CB3:0x672C,0xE99D81:0x672D,0xE99D83:0x672E, +0xE99D8A:0x672F,0xE99D8E:0x6730,0xE99D8F:0x6731,0xE99D95:0x6732,0xE99D97:0x6733, +0xE99D98:0x6734,0xE99D9A:0x6735,0xE99D9B:0x6736,0xE99DA3:0x6737,0xE99DA7:0x6738, +0xE99DAA:0x6739,0xE99DAE:0x673A,0xE99DB3:0x673B,0xE99DB6:0x673C,0xE99DB7:0x673D, +0xE99DB8:0x673E,0xE99DBB:0x673F,0xE99DBD:0x6740,0xE99DBF:0x6741,0xE99E80:0x6742, +0xE99E89:0x6743,0xE99E95:0x6744,0xE99E96:0x6745,0xE99E97:0x6746,0xE99E99:0x6747, +0xE99E9A:0x6748,0xE99E9E:0x6749,0xE99E9F:0x674A,0xE99EA2:0x674B,0xE99EAC:0x674C, +0xE99EAE:0x674D,0xE99EB1:0x674E,0xE99EB2:0x674F,0xE99EB5:0x6750,0xE99EB6:0x6751, +0xE99EB8:0x6752,0xE99EB9:0x6753,0xE99EBA:0x6754,0xE99EBC:0x6755,0xE99EBE:0x6756, +0xE99EBF:0x6757,0xE99F81:0x6758,0xE99F84:0x6759,0xE99F85:0x675A,0xE99F87:0x675B, +0xE99F89:0x675C,0xE99F8A:0x675D,0xE99F8C:0x675E,0xE99F8D:0x675F,0xE99F8E:0x6760, +0xE99F90:0x6761,0xE99F91:0x6762,0xE99F94:0x6763,0xE99F97:0x6764,0xE99F98:0x6765, +0xE99F99:0x6766,0xE99F9D:0x6767,0xE99F9E:0x6768,0xE99FA0:0x6769,0xE99F9B:0x676A, +0xE99FA1:0x676B,0xE99FA4:0x676C,0xE99FAF:0x676D,0xE99FB1:0x676E,0xE99FB4:0x676F, +0xE99FB7:0x6770,0xE99FB8:0x6771,0xE99FBA:0x6772,0xE9A087:0x6773,0xE9A08A:0x6774, +0xE9A099:0x6775,0xE9A08D:0x6776,0xE9A08E:0x6777,0xE9A094:0x6778,0xE9A096:0x6779, +0xE9A09C:0x677A,0xE9A09E:0x677B,0xE9A0A0:0x677C,0xE9A0A3:0x677D,0xE9A0A6:0x677E, +0xE9A0AB:0x6821,0xE9A0AE:0x6822,0xE9A0AF:0x6823,0xE9A0B0:0x6824,0xE9A0B2:0x6825, +0xE9A0B3:0x6826,0xE9A0B5:0x6827,0xE9A0A5:0x6828,0xE9A0BE:0x6829,0xE9A184:0x682A, +0xE9A187:0x682B,0xE9A18A:0x682C,0xE9A191:0x682D,0xE9A192:0x682E,0xE9A193:0x682F, +0xE9A196:0x6830,0xE9A197:0x6831,0xE9A199:0x6832,0xE9A19A:0x6833,0xE9A1A2:0x6834, +0xE9A1A3:0x6835,0xE9A1A5:0x6836,0xE9A1A6:0x6837,0xE9A1AA:0x6838,0xE9A1AC:0x6839, +0xE9A2AB:0x683A,0xE9A2AD:0x683B,0xE9A2AE:0x683C,0xE9A2B0:0x683D,0xE9A2B4:0x683E, +0xE9A2B7:0x683F,0xE9A2B8:0x6840,0xE9A2BA:0x6841,0xE9A2BB:0x6842,0xE9A2BF:0x6843, +0xE9A382:0x6844,0xE9A385:0x6845,0xE9A388:0x6846,0xE9A38C:0x6847,0xE9A3A1:0x6848, +0xE9A3A3:0x6849,0xE9A3A5:0x684A,0xE9A3A6:0x684B,0xE9A3A7:0x684C,0xE9A3AA:0x684D, +0xE9A3B3:0x684E,0xE9A3B6:0x684F,0xE9A482:0x6850,0xE9A487:0x6851,0xE9A488:0x6852, +0xE9A491:0x6853,0xE9A495:0x6854,0xE9A496:0x6855,0xE9A497:0x6856,0xE9A49A:0x6857, +0xE9A49B:0x6858,0xE9A49C:0x6859,0xE9A49F:0x685A,0xE9A4A2:0x685B,0xE9A4A6:0x685C, +0xE9A4A7:0x685D,0xE9A4AB:0x685E,0xE9A4B1:0x685F,0xE9A4B2:0x6860,0xE9A4B3:0x6861, +0xE9A4B4:0x6862,0xE9A4B5:0x6863,0xE9A4B9:0x6864,0xE9A4BA:0x6865,0xE9A4BB:0x6866, +0xE9A4BC:0x6867,0xE9A580:0x6868,0xE9A581:0x6869,0xE9A586:0x686A,0xE9A587:0x686B, +0xE9A588:0x686C,0xE9A58D:0x686D,0xE9A58E:0x686E,0xE9A594:0x686F,0xE9A598:0x6870, +0xE9A599:0x6871,0xE9A59B:0x6872,0xE9A59C:0x6873,0xE9A59E:0x6874,0xE9A59F:0x6875, +0xE9A5A0:0x6876,0xE9A69B:0x6877,0xE9A69D:0x6878,0xE9A69F:0x6879,0xE9A6A6:0x687A, +0xE9A6B0:0x687B,0xE9A6B1:0x687C,0xE9A6B2:0x687D,0xE9A6B5:0x687E,0xE9A6B9:0x6921, +0xE9A6BA:0x6922,0xE9A6BD:0x6923,0xE9A6BF:0x6924,0xE9A783:0x6925,0xE9A789:0x6926, +0xE9A793:0x6927,0xE9A794:0x6928,0xE9A799:0x6929,0xE9A79A:0x692A,0xE9A79C:0x692B, +0xE9A79E:0x692C,0xE9A7A7:0x692D,0xE9A7AA:0x692E,0xE9A7AB:0x692F,0xE9A7AC:0x6930, +0xE9A7B0:0x6931,0xE9A7B4:0x6932,0xE9A7B5:0x6933,0xE9A7B9:0x6934,0xE9A7BD:0x6935, +0xE9A7BE:0x6936,0xE9A882:0x6937,0xE9A883:0x6938,0xE9A884:0x6939,0xE9A88B:0x693A, +0xE9A88C:0x693B,0xE9A890:0x693C,0xE9A891:0x693D,0xE9A896:0x693E,0xE9A89E:0x693F, +0xE9A8A0:0x6940,0xE9A8A2:0x6941,0xE9A8A3:0x6942,0xE9A8A4:0x6943,0xE9A8A7:0x6944, +0xE9A8AD:0x6945,0xE9A8AE:0x6946,0xE9A8B3:0x6947,0xE9A8B5:0x6948,0xE9A8B6:0x6949, +0xE9A8B8:0x694A,0xE9A987:0x694B,0xE9A981:0x694C,0xE9A984:0x694D,0xE9A98A:0x694E, +0xE9A98B:0x694F,0xE9A98C:0x6950,0xE9A98E:0x6951,0xE9A991:0x6952,0xE9A994:0x6953, +0xE9A996:0x6954,0xE9A99D:0x6955,0xE9AAAA:0x6956,0xE9AAAC:0x6957,0xE9AAAE:0x6958, +0xE9AAAF:0x6959,0xE9AAB2:0x695A,0xE9AAB4:0x695B,0xE9AAB5:0x695C,0xE9AAB6:0x695D, +0xE9AAB9:0x695E,0xE9AABB:0x695F,0xE9AABE:0x6960,0xE9AABF:0x6961,0xE9AB81:0x6962, +0xE9AB83:0x6963,0xE9AB86:0x6964,0xE9AB88:0x6965,0xE9AB8E:0x6966,0xE9AB90:0x6967, +0xE9AB92:0x6968,0xE9AB95:0x6969,0xE9AB96:0x696A,0xE9AB97:0x696B,0xE9AB9B:0x696C, +0xE9AB9C:0x696D,0xE9ABA0:0x696E,0xE9ABA4:0x696F,0xE9ABA5:0x6970,0xE9ABA7:0x6971, +0xE9ABA9:0x6972,0xE9ABAC:0x6973,0xE9ABB2:0x6974,0xE9ABB3:0x6975,0xE9ABB5:0x6976, +0xE9ABB9:0x6977,0xE9ABBA:0x6978,0xE9ABBD:0x6979,0xE9ABBF:0x697A,0xE9AC80:0x697B, +0xE9AC81:0x697C,0xE9AC82:0x697D,0xE9AC83:0x697E,0xE9AC84:0x6A21,0xE9AC85:0x6A22, +0xE9AC88:0x6A23,0xE9AC89:0x6A24,0xE9AC8B:0x6A25,0xE9AC8C:0x6A26,0xE9AC8D:0x6A27, +0xE9AC8E:0x6A28,0xE9AC90:0x6A29,0xE9AC92:0x6A2A,0xE9AC96:0x6A2B,0xE9AC99:0x6A2C, +0xE9AC9B:0x6A2D,0xE9AC9C:0x6A2E,0xE9ACA0:0x6A2F,0xE9ACA6:0x6A30,0xE9ACAB:0x6A31, +0xE9ACAD:0x6A32,0xE9ACB3:0x6A33,0xE9ACB4:0x6A34,0xE9ACB5:0x6A35,0xE9ACB7:0x6A36, +0xE9ACB9:0x6A37,0xE9ACBA:0x6A38,0xE9ACBD:0x6A39,0xE9AD88:0x6A3A,0xE9AD8B:0x6A3B, +0xE9AD8C:0x6A3C,0xE9AD95:0x6A3D,0xE9AD96:0x6A3E,0xE9AD97:0x6A3F,0xE9AD9B:0x6A40, +0xE9AD9E:0x6A41,0xE9ADA1:0x6A42,0xE9ADA3:0x6A43,0xE9ADA5:0x6A44,0xE9ADA6:0x6A45, +0xE9ADA8:0x6A46,0xE9ADAA:0x6A47,0xE9ADAB:0x6A48,0xE9ADAC:0x6A49,0xE9ADAD:0x6A4A, +0xE9ADAE:0x6A4B,0xE9ADB3:0x6A4C,0xE9ADB5:0x6A4D,0xE9ADB7:0x6A4E,0xE9ADB8:0x6A4F, +0xE9ADB9:0x6A50,0xE9ADBF:0x6A51,0xE9AE80:0x6A52,0xE9AE84:0x6A53,0xE9AE85:0x6A54, +0xE9AE86:0x6A55,0xE9AE87:0x6A56,0xE9AE89:0x6A57,0xE9AE8A:0x6A58,0xE9AE8B:0x6A59, +0xE9AE8D:0x6A5A,0xE9AE8F:0x6A5B,0xE9AE90:0x6A5C,0xE9AE94:0x6A5D,0xE9AE9A:0x6A5E, +0xE9AE9D:0x6A5F,0xE9AE9E:0x6A60,0xE9AEA6:0x6A61,0xE9AEA7:0x6A62,0xE9AEA9:0x6A63, +0xE9AEAC:0x6A64,0xE9AEB0:0x6A65,0xE9AEB1:0x6A66,0xE9AEB2:0x6A67,0xE9AEB7:0x6A68, +0xE9AEB8:0x6A69,0xE9AEBB:0x6A6A,0xE9AEBC:0x6A6B,0xE9AEBE:0x6A6C,0xE9AEBF:0x6A6D, +0xE9AF81:0x6A6E,0xE9AF87:0x6A6F,0xE9AF88:0x6A70,0xE9AF8E:0x6A71,0xE9AF90:0x6A72, +0xE9AF97:0x6A73,0xE9AF98:0x6A74,0xE9AF9D:0x6A75,0xE9AF9F:0x6A76,0xE9AFA5:0x6A77, +0xE9AFA7:0x6A78,0xE9AFAA:0x6A79,0xE9AFAB:0x6A7A,0xE9AFAF:0x6A7B,0xE9AFB3:0x6A7C, +0xE9AFB7:0x6A7D,0xE9AFB8:0x6A7E,0xE9AFB9:0x6B21,0xE9AFBA:0x6B22,0xE9AFBD:0x6B23, +0xE9AFBF:0x6B24,0xE9B080:0x6B25,0xE9B082:0x6B26,0xE9B08B:0x6B27,0xE9B08F:0x6B28, +0xE9B091:0x6B29,0xE9B096:0x6B2A,0xE9B098:0x6B2B,0xE9B099:0x6B2C,0xE9B09A:0x6B2D, +0xE9B09C:0x6B2E,0xE9B09E:0x6B2F,0xE9B0A2:0x6B30,0xE9B0A3:0x6B31,0xE9B0A6:0x6B32, +0xE9B0A7:0x6B33,0xE9B0A8:0x6B34,0xE9B0A9:0x6B35,0xE9B0AA:0x6B36,0xE9B0B1:0x6B37, +0xE9B0B5:0x6B38,0xE9B0B6:0x6B39,0xE9B0B7:0x6B3A,0xE9B0BD:0x6B3B,0xE9B181:0x6B3C, +0xE9B183:0x6B3D,0xE9B184:0x6B3E,0xE9B185:0x6B3F,0xE9B189:0x6B40,0xE9B18A:0x6B41, +0xE9B18E:0x6B42,0xE9B18F:0x6B43,0xE9B190:0x6B44,0xE9B193:0x6B45,0xE9B194:0x6B46, +0xE9B196:0x6B47,0xE9B198:0x6B48,0xE9B19B:0x6B49,0xE9B19D:0x6B4A,0xE9B19E:0x6B4B, +0xE9B19F:0x6B4C,0xE9B1A3:0x6B4D,0xE9B1A9:0x6B4E,0xE9B1AA:0x6B4F,0xE9B19C:0x6B50, +0xE9B1AB:0x6B51,0xE9B1A8:0x6B52,0xE9B1AE:0x6B53,0xE9B1B0:0x6B54,0xE9B1B2:0x6B55, +0xE9B1B5:0x6B56,0xE9B1B7:0x6B57,0xE9B1BB:0x6B58,0xE9B3A6:0x6B59,0xE9B3B2:0x6B5A, +0xE9B3B7:0x6B5B,0xE9B3B9:0x6B5C,0xE9B48B:0x6B5D,0xE9B482:0x6B5E,0xE9B491:0x6B5F, +0xE9B497:0x6B60,0xE9B498:0x6B61,0xE9B49C:0x6B62,0xE9B49D:0x6B63,0xE9B49E:0x6B64, +0xE9B4AF:0x6B65,0xE9B4B0:0x6B66,0xE9B4B2:0x6B67,0xE9B4B3:0x6B68,0xE9B4B4:0x6B69, +0xE9B4BA:0x6B6A,0xE9B4BC:0x6B6B,0xE9B585:0x6B6C,0xE9B4BD:0x6B6D,0xE9B582:0x6B6E, +0xE9B583:0x6B6F,0xE9B587:0x6B70,0xE9B58A:0x6B71,0xE9B593:0x6B72,0xE9B594:0x6B73, +0xE9B59F:0x6B74,0xE9B5A3:0x6B75,0xE9B5A2:0x6B76,0xE9B5A5:0x6B77,0xE9B5A9:0x6B78, +0xE9B5AA:0x6B79,0xE9B5AB:0x6B7A,0xE9B5B0:0x6B7B,0xE9B5B6:0x6B7C,0xE9B5B7:0x6B7D, +0xE9B5BB:0x6B7E,0xE9B5BC:0x6C21,0xE9B5BE:0x6C22,0xE9B683:0x6C23,0xE9B684:0x6C24, +0xE9B686:0x6C25,0xE9B68A:0x6C26,0xE9B68D:0x6C27,0xE9B68E:0x6C28,0xE9B692:0x6C29, +0xE9B693:0x6C2A,0xE9B695:0x6C2B,0xE9B696:0x6C2C,0xE9B697:0x6C2D,0xE9B698:0x6C2E, +0xE9B6A1:0x6C2F,0xE9B6AA:0x6C30,0xE9B6AC:0x6C31,0xE9B6AE:0x6C32,0xE9B6B1:0x6C33, +0xE9B6B5:0x6C34,0xE9B6B9:0x6C35,0xE9B6BC:0x6C36,0xE9B6BF:0x6C37,0xE9B783:0x6C38, +0xE9B787:0x6C39,0xE9B789:0x6C3A,0xE9B78A:0x6C3B,0xE9B794:0x6C3C,0xE9B795:0x6C3D, +0xE9B796:0x6C3E,0xE9B797:0x6C3F,0xE9B79A:0x6C40,0xE9B79E:0x6C41,0xE9B79F:0x6C42, +0xE9B7A0:0x6C43,0xE9B7A5:0x6C44,0xE9B7A7:0x6C45,0xE9B7A9:0x6C46,0xE9B7AB:0x6C47, +0xE9B7AE:0x6C48,0xE9B7B0:0x6C49,0xE9B7B3:0x6C4A,0xE9B7B4:0x6C4B,0xE9B7BE:0x6C4C, +0xE9B88A:0x6C4D,0xE9B882:0x6C4E,0xE9B887:0x6C4F,0xE9B88E:0x6C50,0xE9B890:0x6C51, +0xE9B891:0x6C52,0xE9B892:0x6C53,0xE9B895:0x6C54,0xE9B896:0x6C55,0xE9B899:0x6C56, +0xE9B89C:0x6C57,0xE9B89D:0x6C58,0xE9B9BA:0x6C59,0xE9B9BB:0x6C5A,0xE9B9BC:0x6C5B, +0xE9BA80:0x6C5C,0xE9BA82:0x6C5D,0xE9BA83:0x6C5E,0xE9BA84:0x6C5F,0xE9BA85:0x6C60, +0xE9BA87:0x6C61,0xE9BA8E:0x6C62,0xE9BA8F:0x6C63,0xE9BA96:0x6C64,0xE9BA98:0x6C65, +0xE9BA9B:0x6C66,0xE9BA9E:0x6C67,0xE9BAA4:0x6C68,0xE9BAA8:0x6C69,0xE9BAAC:0x6C6A, +0xE9BAAE:0x6C6B,0xE9BAAF:0x6C6C,0xE9BAB0:0x6C6D,0xE9BAB3:0x6C6E,0xE9BAB4:0x6C6F, +0xE9BAB5:0x6C70,0xE9BB86:0x6C71,0xE9BB88:0x6C72,0xE9BB8B:0x6C73,0xE9BB95:0x6C74, +0xE9BB9F:0x6C75,0xE9BBA4:0x6C76,0xE9BBA7:0x6C77,0xE9BBAC:0x6C78,0xE9BBAD:0x6C79, +0xE9BBAE:0x6C7A,0xE9BBB0:0x6C7B,0xE9BBB1:0x6C7C,0xE9BBB2:0x6C7D,0xE9BBB5:0x6C7E, +0xE9BBB8:0x6D21,0xE9BBBF:0x6D22,0xE9BC82:0x6D23,0xE9BC83:0x6D24,0xE9BC89:0x6D25, +0xE9BC8F:0x6D26,0xE9BC90:0x6D27,0xE9BC91:0x6D28,0xE9BC92:0x6D29,0xE9BC94:0x6D2A, +0xE9BC96:0x6D2B,0xE9BC97:0x6D2C,0xE9BC99:0x6D2D,0xE9BC9A:0x6D2E,0xE9BC9B:0x6D2F, +0xE9BC9F:0x6D30,0xE9BCA2:0x6D31,0xE9BCA6:0x6D32,0xE9BCAA:0x6D33,0xE9BCAB:0x6D34, +0xE9BCAF:0x6D35,0xE9BCB1:0x6D36,0xE9BCB2:0x6D37,0xE9BCB4:0x6D38,0xE9BCB7:0x6D39, +0xE9BCB9:0x6D3A,0xE9BCBA:0x6D3B,0xE9BCBC:0x6D3C,0xE9BCBD:0x6D3D,0xE9BCBF:0x6D3E, +0xE9BD81:0x6D3F,0xE9BD83:0x6D40,0xE9BD84:0x6D41,0xE9BD85:0x6D42,0xE9BD86:0x6D43, +0xE9BD87:0x6D44,0xE9BD93:0x6D45,0xE9BD95:0x6D46,0xE9BD96:0x6D47,0xE9BD97:0x6D48, +0xE9BD98:0x6D49,0xE9BD9A:0x6D4A,0xE9BD9D:0x6D4B,0xE9BD9E:0x6D4C,0xE9BDA8:0x6D4D, +0xE9BDA9:0x6D4E,0xE9BDAD:0x6D4F,0xE9BDAE:0x6D50,0xE9BDAF:0x6D51,0xE9BDB0:0x6D52, +0xE9BDB1:0x6D53,0xE9BDB3:0x6D54,0xE9BDB5:0x6D55,0xE9BDBA:0x6D56,0xE9BDBD:0x6D57, +0xE9BE8F:0x6D58,0xE9BE90:0x6D59,0xE9BE91:0x6D5A,0xE9BE92:0x6D5B,0xE9BE94:0x6D5C, +0xE9BE96:0x6D5D,0xE9BE97:0x6D5E,0xE9BE9E:0x6D5F,0xE9BEA1:0x6D60,0xE9BEA2:0x6D61, +0xE9BEA3:0x6D62,0xE9BEA5:0x6D63, + +//FIXME: mojibake +0xE3809C:0x2141 +}; + +/** + * Encoding conversion table for JIS to UTF-8 + */ + +var JIS_TO_UTF8_TABLE = null; +var jisToUtf8Table = JIS_TO_UTF8_TABLE; + +/** + * Encoding conversion table for JIS X 0212:1990 (Hojo-Kanji) to UTF-8 + */ + +var JISX0212_TO_UTF8_TABLE = null; +var jisx0212ToUtf8Table = JISX0212_TO_UTF8_TABLE; + +encodingTable.UTF8_TO_JIS_TABLE = utf8ToJisTable; +encodingTable.UTF8_TO_JISX0212_TABLE = utf8ToJisx0212Table; +encodingTable.JIS_TO_UTF8_TABLE = jisToUtf8Table; +encodingTable.JISX0212_TO_UTF8_TABLE = jisx0212ToUtf8Table; + +var hasRequiredConfig; + +function requireConfig () { + if (hasRequiredConfig) return config$2; + hasRequiredConfig = 1; + var util = requireUtil(); + var EncodingTable = encodingTable; + + // Fallback character when a character can't be represented + config$2.FALLBACK_CHARACTER = 63; // '?' + + var HAS_TYPED = config$2.HAS_TYPED = typeof Uint8Array !== 'undefined' && typeof Uint16Array !== 'undefined'; + + // Test for String.fromCharCode.apply + var CAN_CHARCODE_APPLY = false; + var CAN_CHARCODE_APPLY_TYPED = false; + + try { + if (String.fromCharCode.apply(null, [0x61]) === 'a') { + CAN_CHARCODE_APPLY = true; + } + } catch (e) {} + + if (HAS_TYPED) { + try { + if (String.fromCharCode.apply(null, new Uint8Array([0x61])) === 'a') { + CAN_CHARCODE_APPLY_TYPED = true; + } + } catch (e) {} + } + + config$2.CAN_CHARCODE_APPLY = CAN_CHARCODE_APPLY; + config$2.CAN_CHARCODE_APPLY_TYPED = CAN_CHARCODE_APPLY_TYPED; + + // Function.prototype.apply stack max range + config$2.APPLY_BUFFER_SIZE = 65533; + config$2.APPLY_BUFFER_SIZE_OK = null; + + var EncodingNames = config$2.EncodingNames = { + UTF32: { + order: 0 + }, + UTF32BE: { + alias: ['UCS4'] + }, + UTF32LE: null, + UTF16: { + order: 1 + }, + UTF16BE: { + alias: ['UCS2'] + }, + UTF16LE: null, + BINARY: { + order: 2 + }, + ASCII: { + order: 3, + alias: ['ISO646', 'CP367'] + }, + JIS: { + order: 4, + alias: ['ISO2022JP'] + }, + UTF8: { + order: 5 + }, + EUCJP: { + order: 6 + }, + SJIS: { + order: 7, + alias: ['CP932', 'MSKANJI', 'WINDOWS31J'] + }, + UNICODE: { + order: 8 + } + }; + + var EncodingAliases = {}; + config$2.EncodingAliases = EncodingAliases; + + config$2.EncodingOrders = (function() { + var aliases = EncodingAliases; + + var names = util.objectKeys(EncodingNames); + var orders = []; + var name, encoding, j, l; + + for (var i = 0, len = names.length; i < len; i++) { + name = names[i]; + aliases[name] = name; + + encoding = EncodingNames[name]; + if (encoding != null) { + if (encoding.order != null) { + orders[orders.length] = name; + } + + if (encoding.alias) { + // Create encoding aliases + for (j = 0, l = encoding.alias.length; j < l; j++) { + aliases[encoding.alias[j]] = name; + } + } + } + } + + orders.sort(function(a, b) { + return EncodingNames[a].order - EncodingNames[b].order; + }); + + return orders; + }()); + + function init_JIS_TO_UTF8_TABLE() { + if (EncodingTable.JIS_TO_UTF8_TABLE === null) { + EncodingTable.JIS_TO_UTF8_TABLE = {}; + + var keys = util.objectKeys(EncodingTable.UTF8_TO_JIS_TABLE); + var i = 0; + var len = keys.length; + var key, value; + + for (; i < len; i++) { + key = keys[i]; + value = EncodingTable.UTF8_TO_JIS_TABLE[key]; + if (value > 0x5F) { + EncodingTable.JIS_TO_UTF8_TABLE[value] = key | 0; + } + } + + EncodingTable.JISX0212_TO_UTF8_TABLE = {}; + keys = util.objectKeys(EncodingTable.UTF8_TO_JISX0212_TABLE); + len = keys.length; + + for (i = 0; i < len; i++) { + key = keys[i]; + value = EncodingTable.UTF8_TO_JISX0212_TABLE[key]; + EncodingTable.JISX0212_TO_UTF8_TABLE[value] = key | 0; + } + } + } + config$2.init_JIS_TO_UTF8_TABLE = init_JIS_TO_UTF8_TABLE; + return config$2; +} + +var encodingDetect = {}; + +/** + * Binary (exe, images and so, etc.) + * + * Note: + * This function is not considered for Unicode + */ + +function isBINARY(data) { + var i = 0; + var len = data && data.length; + var c; + + for (; i < len; i++) { + c = data[i]; + if (c > 0xFF) { + return false; + } + + if ((c >= 0x00 && c <= 0x07) || c === 0xFF) { + return true; + } + } + + return false; +} +encodingDetect.isBINARY = isBINARY; + +/** + * ASCII (ISO-646) + */ +function isASCII(data) { + var i = 0; + var len = data && data.length; + var b; + + for (; i < len; i++) { + b = data[i]; + if (b > 0xFF || + (b >= 0x80 && b <= 0xFF) || + b === 0x1B) { + return false; + } + } + + return true; +} +encodingDetect.isASCII = isASCII; + +/** + * ISO-2022-JP (JIS) + * + * RFC1468 Japanese Character Encoding for Internet Messages + * RFC1554 ISO-2022-JP-2: Multilingual Extension of ISO-2022-JP + * RFC2237 Japanese Character Encoding for Internet Messages + */ +function isJIS(data) { + var i = 0; + var len = data && data.length; + var b, esc1, esc2; + + for (; i < len; i++) { + b = data[i]; + if (b > 0xFF || (b >= 0x80 && b <= 0xFF)) { + return false; + } + + if (b === 0x1B) { + if (i + 2 >= len) { + return false; + } + + esc1 = data[i + 1]; + esc2 = data[i + 2]; + if (esc1 === 0x24) { + if (esc2 === 0x28 || // JIS X 0208-1990/2000/2004 + esc2 === 0x40 || // JIS X 0208-1978 + esc2 === 0x42) { // JIS X 0208-1983 + return true; + } + } else if (esc1 === 0x26 && // JIS X 0208-1990 + esc2 === 0x40) { + return true; + } else if (esc1 === 0x28) { + if (esc2 === 0x42 || // ASCII + esc2 === 0x49 || // JIS X 0201 Halfwidth Katakana + esc2 === 0x4A) { // JIS X 0201-1976 Roman set + return true; + } + } + } + } + + return false; +} +encodingDetect.isJIS = isJIS; + +/** + * EUC-JP + */ +function isEUCJP(data) { + var i = 0; + var len = data && data.length; + var b; + + for (; i < len; i++) { + b = data[i]; + if (b < 0x80) { + continue; + } + + if (b > 0xFF || b < 0x8E) { + return false; + } + + if (b === 0x8E) { + if (i + 1 >= len) { + return false; + } + + b = data[++i]; + if (b < 0xA1 || 0xDF < b) { + return false; + } + } else if (b === 0x8F) { + if (i + 2 >= len) { + return false; + } + + b = data[++i]; + if (b < 0xA2 || 0xED < b) { + return false; + } + + b = data[++i]; + if (b < 0xA1 || 0xFE < b) { + return false; + } + } else if (0xA1 <= b && b <= 0xFE) { + if (i + 1 >= len) { + return false; + } + + b = data[++i]; + if (b < 0xA1 || 0xFE < b) { + return false; + } + } else { + return false; + } + } + + return true; +} +encodingDetect.isEUCJP = isEUCJP; + +/** + * Shift-JIS (SJIS) + */ +function isSJIS(data) { + var i = 0; + var len = data && data.length; + var b; + + while (i < len && data[i] > 0x80) { + if (data[i++] > 0xFF) { + return false; + } + } + + for (; i < len; i++) { + b = data[i]; + if (b <= 0x80 || + (0xA1 <= b && b <= 0xDF)) { + continue; + } + + if (b === 0xA0 || b > 0xEF || i + 1 >= len) { + return false; + } + + b = data[++i]; + if (b < 0x40 || b === 0x7F || b > 0xFC) { + return false; + } + } + + return true; +} +encodingDetect.isSJIS = isSJIS; + +/** + * UTF-8 + */ +function isUTF8(data) { + var i = 0; + var len = data && data.length; + var b; + + for (; i < len; i++) { + b = data[i]; + if (b > 0xFF) { + return false; + } + + if (b === 0x09 || b === 0x0A || b === 0x0D || + (b >= 0x20 && b <= 0x7E)) { + continue; + } + + if (b >= 0xC2 && b <= 0xDF) { + if (i + 1 >= len || data[i + 1] < 0x80 || data[i + 1] > 0xBF) { + return false; + } + i++; + } else if (b === 0xE0) { + if (i + 2 >= len || + data[i + 1] < 0xA0 || data[i + 1] > 0xBF || + data[i + 2] < 0x80 || data[i + 2] > 0xBF) { + return false; + } + i += 2; + } else if ((b >= 0xE1 && b <= 0xEC) || + b === 0xEE || b === 0xEF) { + if (i + 2 >= len || + data[i + 1] < 0x80 || data[i + 1] > 0xBF || + data[i + 2] < 0x80 || data[i + 2] > 0xBF) { + return false; + } + i += 2; + } else if (b === 0xED) { + if (i + 2 >= len || + data[i + 1] < 0x80 || data[i + 1] > 0x9F || + data[i + 2] < 0x80 || data[i + 2] > 0xBF) { + return false; + } + i += 2; + } else if (b === 0xF0) { + if (i + 3 >= len || + data[i + 1] < 0x90 || data[i + 1] > 0xBF || + data[i + 2] < 0x80 || data[i + 2] > 0xBF || + data[i + 3] < 0x80 || data[i + 3] > 0xBF) { + return false; + } + i += 3; + } else if (b >= 0xF1 && b <= 0xF3) { + if (i + 3 >= len || + data[i + 1] < 0x80 || data[i + 1] > 0xBF || + data[i + 2] < 0x80 || data[i + 2] > 0xBF || + data[i + 3] < 0x80 || data[i + 3] > 0xBF) { + return false; + } + i += 3; + } else if (b === 0xF4) { + if (i + 3 >= len || + data[i + 1] < 0x80 || data[i + 1] > 0x8F || + data[i + 2] < 0x80 || data[i + 2] > 0xBF || + data[i + 3] < 0x80 || data[i + 3] > 0xBF) { + return false; + } + i += 3; + } else { + return false; + } + } + + return true; +} +encodingDetect.isUTF8 = isUTF8; + +/** + * UTF-16 (LE or BE) + * + * RFC2781: UTF-16, an encoding of ISO 10646 + * + * @link http://www.ietf.org/rfc/rfc2781.txt + */ +function isUTF16(data) { + var i = 0; + var len = data && data.length; + var pos = null; + var b1, b2, next, prev; + + if (len < 2) { + if (data[0] > 0xFF) { + return false; + } + } else { + b1 = data[0]; + b2 = data[1]; + if (b1 === 0xFF && // BOM (little-endian) + b2 === 0xFE) { + return true; + } + if (b1 === 0xFE && // BOM (big-endian) + b2 === 0xFF) { + return true; + } + + for (; i < len; i++) { + if (data[i] === 0x00) { + pos = i; + break; + } else if (data[i] > 0xFF) { + return false; + } + } + + if (pos === null) { + return false; // Non ASCII + } + + next = data[pos + 1]; // BE + if (next !== void 0 && next > 0x00 && next < 0x80) { + return true; + } + + prev = data[pos - 1]; // LE + if (prev !== void 0 && prev > 0x00 && prev < 0x80) { + return true; + } + } + + return false; +} +encodingDetect.isUTF16 = isUTF16; + +/** + * UTF-16BE (big-endian) + * + * RFC 2781 4.3 Interpreting text labelled as UTF-16 + * Text labelled "UTF-16BE" can always be interpreted as being big-endian + * when BOM does not founds (SHOULD) + * + * @link http://www.ietf.org/rfc/rfc2781.txt + */ +function isUTF16BE(data) { + var i = 0; + var len = data && data.length; + var pos = null; + var b1, b2; + + if (len < 2) { + if (data[0] > 0xFF) { + return false; + } + } else { + b1 = data[0]; + b2 = data[1]; + if (b1 === 0xFE && // BOM + b2 === 0xFF) { + return true; + } + + for (; i < len; i++) { + if (data[i] === 0x00) { + pos = i; + break; + } else if (data[i] > 0xFF) { + return false; + } + } + + if (pos === null) { + return false; // Non ASCII + } + + if (pos % 2 === 0) { + return true; + } + } + + return false; +} +encodingDetect.isUTF16BE = isUTF16BE; + +/** + * UTF-16LE (little-endian) + */ +function isUTF16LE(data) { + var i = 0; + var len = data && data.length; + var pos = null; + var b1, b2; + + if (len < 2) { + if (data[0] > 0xFF) { + return false; + } + } else { + b1 = data[0]; + b2 = data[1]; + if (b1 === 0xFF && // BOM + b2 === 0xFE) { + return true; + } + + for (; i < len; i++) { + if (data[i] === 0x00) { + pos = i; + break; + } else if (data[i] > 0xFF) { + return false; + } + } + + if (pos === null) { + return false; // Non ASCII + } + + if (pos % 2 !== 0) { + return true; + } + } + + return false; +} +encodingDetect.isUTF16LE = isUTF16LE; + +/** + * UTF-32 + * + * Unicode 3.2.0: Unicode Standard Annex #19 + * + * @link http://www.iana.org/assignments/charset-reg/UTF-32 + * @link http://www.unicode.org/reports/tr19/tr19-9.html + */ +function isUTF32(data) { + var i = 0; + var len = data && data.length; + var pos = null; + var b1, b2, b3, b4; + var next, prev; + + if (len < 4) { + for (; i < len; i++) { + if (data[i] > 0xFF) { + return false; + } + } + } else { + b1 = data[0]; + b2 = data[1]; + b3 = data[2]; + b4 = data[3]; + if (b1 === 0x00 && b2 === 0x00 && // BOM (big-endian) + b3 === 0xFE && b4 === 0xFF) { + return true; + } + + if (b1 === 0xFF && b2 === 0xFE && // BOM (little-endian) + b3 === 0x00 && b4 === 0x00) { + return true; + } + + for (; i < len; i++) { + if (data[i] === 0x00 && data[i + 1] === 0x00 && data[i + 2] === 0x00) { + pos = i; + break; + } else if (data[i] > 0xFF) { + return false; + } + } + + if (pos === null) { + return false; + } + + // The byte order should be the big-endian when BOM is not detected. + next = data[pos + 3]; + if (next !== void 0 && next > 0x00 && next <= 0x7F) { + // big-endian + return data[pos + 2] === 0x00 && data[pos + 1] === 0x00; + } + + prev = data[pos - 1]; + if (prev !== void 0 && prev > 0x00 && prev <= 0x7F) { + // little-endian + return data[pos + 1] === 0x00 && data[pos + 2] === 0x00; + } + } + + return false; +} +encodingDetect.isUTF32 = isUTF32; + +/** + * JavaScript Unicode array + */ +function isUNICODE(data) { + var i = 0; + var len = data && data.length; + var c; + + for (; i < len; i++) { + c = data[i]; + if (c < 0 || c > 0x10FFFF) { + return false; + } + } + + return true; +} +encodingDetect.isUNICODE = isUNICODE; + +var encodingConvert = {}; + +var config$1 = requireConfig(); +var util$3 = requireUtil(); +var EncodingDetect$1 = encodingDetect; +var EncodingTable = encodingTable; + +/** + * JIS to SJIS + */ +function JISToSJIS(data) { + var results = []; + var index = 0; + var i = 0; + var len = data && data.length; + var b1, b2; + + for (; i < len; i++) { + // escape sequence + while (data[i] === 0x1B) { + if ((data[i + 1] === 0x24 && data[i + 2] === 0x42) || + (data[i + 1] === 0x24 && data[i + 2] === 0x40)) { + index = 1; + } else if ((data[i + 1] === 0x28 && data[i + 2] === 0x49)) { + index = 2; + } else if (data[i + 1] === 0x24 && data[i + 2] === 0x28 && + data[i + 3] === 0x44) { + index = 3; + i++; + } else { + index = 0; + } + + i += 3; + if (data[i] === void 0) { + return results; + } + } + + if (index === 1) { + b1 = data[i]; + b2 = data[++i]; + if (b1 & 0x01) { + b1 >>= 1; + if (b1 < 0x2F) { + b1 += 0x71; + } else { + b1 -= 0x4F; + } + if (b2 > 0x5F) { + b2 += 0x20; + } else { + b2 += 0x1F; + } + } else { + b1 >>= 1; + if (b1 <= 0x2F) { + b1 += 0x70; + } else { + b1 -= 0x50; + } + b2 += 0x7E; + } + results[results.length] = b1 & 0xFF; + results[results.length] = b2 & 0xFF; + } else if (index === 2) { + results[results.length] = data[i] + 0x80 & 0xFF; + } else if (index === 3) { + // Shift_JIS cannot convert JIS X 0212:1990. + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.JISToSJIS = JISToSJIS; + +/** + * JIS to EUCJP + */ +function JISToEUCJP(data) { + var results = []; + var index = 0; + var len = data && data.length; + var i = 0; + + for (; i < len; i++) { + + // escape sequence + while (data[i] === 0x1B) { + if ((data[i + 1] === 0x24 && data[i + 2] === 0x42) || + (data[i + 1] === 0x24 && data[i + 2] === 0x40)) { + index = 1; + } else if ((data[i + 1] === 0x28 && data[i + 2] === 0x49)) { + index = 2; + } else if (data[i + 1] === 0x24 && data[i + 2] === 0x28 && + data[i + 3] === 0x44) { + index = 3; + i++; + } else { + index = 0; + } + + i += 3; + if (data[i] === void 0) { + return results; + } + } + + if (index === 1) { + results[results.length] = data[i] + 0x80 & 0xFF; + results[results.length] = data[++i] + 0x80 & 0xFF; + } else if (index === 2) { + results[results.length] = 0x8E; + results[results.length] = data[i] + 0x80 & 0xFF; + } else if (index === 3) { + results[results.length] = 0x8F; + results[results.length] = data[i] + 0x80 & 0xFF; + results[results.length] = data[++i] + 0x80 & 0xFF; + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.JISToEUCJP = JISToEUCJP; + +/** + * SJIS to JIS + */ +function SJISToJIS(data) { + var results = []; + var index = 0; + var len = data && data.length; + var i = 0; + var b1, b2; + + var esc = [ + 0x1B, 0x28, 0x42, + 0x1B, 0x24, 0x42, + 0x1B, 0x28, 0x49 + ]; + + for (; i < len; i++) { + b1 = data[i]; + if (b1 >= 0xA1 && b1 <= 0xDF) { + if (index !== 2) { + index = 2; + results[results.length] = esc[6]; + results[results.length] = esc[7]; + results[results.length] = esc[8]; + } + results[results.length] = b1 - 0x80 & 0xFF; + } else if (b1 >= 0x80) { + if (index !== 1) { + index = 1; + results[results.length] = esc[3]; + results[results.length] = esc[4]; + results[results.length] = esc[5]; + } + + b1 <<= 1; + b2 = data[++i]; + if (b2 < 0x9F) { + if (b1 < 0x13F) { + b1 -= 0xE1; + } else { + b1 -= 0x61; + } + if (b2 > 0x7E) { + b2 -= 0x20; + } else { + b2 -= 0x1F; + } + } else { + if (b1 < 0x13F) { + b1 -= 0xE0; + } else { + b1 -= 0x60; + } + b2 -= 0x7E; + } + results[results.length] = b1 & 0xFF; + results[results.length] = b2 & 0xFF; + } else { + if (index !== 0) { + index = 0; + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + results[results.length] = b1 & 0xFF; + } + } + + if (index !== 0) { + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + + return results; +} +encodingConvert.SJISToJIS = SJISToJIS; + +/** + * SJIS to EUCJP + */ +function SJISToEUCJP(data) { + var results = []; + var len = data && data.length; + var i = 0; + var b1, b2; + + for (; i < len; i++) { + b1 = data[i]; + if (b1 >= 0xA1 && b1 <= 0xDF) { + results[results.length] = 0x8E; + results[results.length] = b1; + } else if (b1 >= 0x81) { + b2 = data[++i]; + b1 <<= 1; + if (b2 < 0x9F) { + if (b1 < 0x13F) { + b1 -= 0x61; + } else { + b1 -= 0xE1; + } + + if (b2 > 0x7E) { + b2 += 0x60; + } else { + b2 += 0x61; + } + } else { + if (b1 < 0x13F) { + b1 -= 0x60; + } else { + b1 -= 0xE0; + } + b2 += 0x02; + } + results[results.length] = b1 & 0xFF; + results[results.length] = b2 & 0xFF; + } else { + results[results.length] = b1 & 0xFF; + } + } + + return results; +} +encodingConvert.SJISToEUCJP = SJISToEUCJP; + +/** + * EUCJP to JIS + */ +function EUCJPToJIS(data) { + var results = []; + var index = 0; + var len = data && data.length; + var i = 0; + var b; + + // escape sequence + var esc = [ + 0x1B, 0x28, 0x42, + 0x1B, 0x24, 0x42, + 0x1B, 0x28, 0x49, + 0x1B, 0x24, 0x28, 0x44 + ]; + + for (; i < len; i++) { + b = data[i]; + if (b === 0x8E) { + if (index !== 2) { + index = 2; + results[results.length] = esc[6]; + results[results.length] = esc[7]; + results[results.length] = esc[8]; + } + results[results.length] = data[++i] - 0x80 & 0xFF; + } else if (b === 0x8F) { + if (index !== 3) { + index = 3; + results[results.length] = esc[9]; + results[results.length] = esc[10]; + results[results.length] = esc[11]; + results[results.length] = esc[12]; + } + results[results.length] = data[++i] - 0x80 & 0xFF; + results[results.length] = data[++i] - 0x80 & 0xFF; + } else if (b > 0x8E) { + if (index !== 1) { + index = 1; + results[results.length] = esc[3]; + results[results.length] = esc[4]; + results[results.length] = esc[5]; + } + results[results.length] = b - 0x80 & 0xFF; + results[results.length] = data[++i] - 0x80 & 0xFF; + } else { + if (index !== 0) { + index = 0; + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + results[results.length] = b & 0xFF; + } + } + + if (index !== 0) { + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + + return results; +} +encodingConvert.EUCJPToJIS = EUCJPToJIS; + +/** + * EUCJP to SJIS + */ +function EUCJPToSJIS(data) { + var results = []; + var len = data && data.length; + var i = 0; + var b1, b2; + + for (; i < len; i++) { + b1 = data[i]; + if (b1 === 0x8F) { + results[results.length] = config$1.FALLBACK_CHARACTER; + i += 2; + } else if (b1 > 0x8E) { + b2 = data[++i]; + if (b1 & 0x01) { + b1 >>= 1; + if (b1 < 0x6F) { + b1 += 0x31; + } else { + b1 += 0x71; + } + + if (b2 > 0xDF) { + b2 -= 0x60; + } else { + b2 -= 0x61; + } + } else { + b1 >>= 1; + if (b1 <= 0x6F) { + b1 += 0x30; + } else { + b1 += 0x70; + } + b2 -= 0x02; + } + results[results.length] = b1 & 0xFF; + results[results.length] = b2 & 0xFF; + } else if (b1 === 0x8E) { + results[results.length] = data[++i] & 0xFF; + } else { + results[results.length] = b1 & 0xFF; + } + } + + return results; +} +encodingConvert.EUCJPToSJIS = EUCJPToSJIS; + +/** + * SJIS To UTF-8 + */ +function SJISToUTF8(data) { + config$1.init_JIS_TO_UTF8_TABLE(); + + var results = []; + var i = 0; + var len = data && data.length; + var b, b1, b2, u2, u3, jis, utf8; + + for (; i < len; i++) { + b = data[i]; + if (b >= 0xA1 && b <= 0xDF) { + b2 = b - 0x40; + u2 = 0xBC | ((b2 >> 6) & 0x03); + u3 = 0x80 | (b2 & 0x3F); + + results[results.length] = 0xEF; + results[results.length] = u2 & 0xFF; + results[results.length] = u3 & 0xFF; + } else if (b >= 0x80) { + b1 = b << 1; + b2 = data[++i]; + + if (b2 < 0x9F) { + if (b1 < 0x13F) { + b1 -= 0xE1; + } else { + b1 -= 0x61; + } + + if (b2 > 0x7E) { + b2 -= 0x20; + } else { + b2 -= 0x1F; + } + } else { + if (b1 < 0x13F) { + b1 -= 0xE0; + } else { + b1 -= 0x60; + } + b2 -= 0x7E; + } + + b1 &= 0xFF; + jis = (b1 << 8) + b2; + + utf8 = EncodingTable.JIS_TO_UTF8_TABLE[jis]; + if (utf8 === void 0) { + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + if (utf8 < 0xFFFF) { + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } else { + results[results.length] = utf8 >> 16 & 0xFF; + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } + } + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.SJISToUTF8 = SJISToUTF8; + +/** + * EUC-JP to UTF-8 + */ +function EUCJPToUTF8(data) { + config$1.init_JIS_TO_UTF8_TABLE(); + + var results = []; + var i = 0; + var len = data && data.length; + var b, b2, u2, u3, j2, j3, jis, utf8; + + for (; i < len; i++) { + b = data[i]; + if (b === 0x8E) { + b2 = data[++i] - 0x40; + u2 = 0xBC | ((b2 >> 6) & 0x03); + u3 = 0x80 | (b2 & 0x3F); + + results[results.length] = 0xEF; + results[results.length] = u2 & 0xFF; + results[results.length] = u3 & 0xFF; + } else if (b === 0x8F) { + j2 = data[++i] - 0x80; + j3 = data[++i] - 0x80; + jis = (j2 << 8) + j3; + + utf8 = EncodingTable.JISX0212_TO_UTF8_TABLE[jis]; + if (utf8 === void 0) { + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + if (utf8 < 0xFFFF) { + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } else { + results[results.length] = utf8 >> 16 & 0xFF; + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } + } + } else if (b >= 0x80) { + jis = ((b - 0x80) << 8) + (data[++i] - 0x80); + + utf8 = EncodingTable.JIS_TO_UTF8_TABLE[jis]; + if (utf8 === void 0) { + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + if (utf8 < 0xFFFF) { + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } else { + results[results.length] = utf8 >> 16 & 0xFF; + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } + } + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.EUCJPToUTF8 = EUCJPToUTF8; + +/** + * JIS to UTF-8 + */ +function JISToUTF8(data) { + config$1.init_JIS_TO_UTF8_TABLE(); + + var results = []; + var index = 0; + var i = 0; + var len = data && data.length; + var b2, u2, u3, jis, utf8; + + for (; i < len; i++) { + while (data[i] === 0x1B) { + if ((data[i + 1] === 0x24 && data[i + 2] === 0x42) || + (data[i + 1] === 0x24 && data[i + 2] === 0x40)) { + index = 1; + } else if (data[i + 1] === 0x28 && data[i + 2] === 0x49) { + index = 2; + } else if (data[i + 1] === 0x24 && data[i + 2] === 0x28 && + data[i + 3] === 0x44) { + index = 3; + i++; + } else { + index = 0; + } + + i += 3; + if (data[i] === void 0) { + return results; + } + } + + if (index === 1) { + jis = (data[i] << 8) + data[++i]; + + utf8 = EncodingTable.JIS_TO_UTF8_TABLE[jis]; + if (utf8 === void 0) { + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + if (utf8 < 0xFFFF) { + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } else { + results[results.length] = utf8 >> 16 & 0xFF; + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } + } + } else if (index === 2) { + b2 = data[i] + 0x40; + u2 = 0xBC | ((b2 >> 6) & 0x03); + u3 = 0x80 | (b2 & 0x3F); + + results[results.length] = 0xEF; + results[results.length] = u2 & 0xFF; + results[results.length] = u3 & 0xFF; + } else if (index === 3) { + jis = (data[i] << 8) + data[++i]; + + utf8 = EncodingTable.JISX0212_TO_UTF8_TABLE[jis]; + if (utf8 === void 0) { + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + if (utf8 < 0xFFFF) { + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } else { + results[results.length] = utf8 >> 16 & 0xFF; + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } + } + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.JISToUTF8 = JISToUTF8; + +/** + * UTF-8 to SJIS + */ +function UTF8ToSJIS(data, options) { + var results = []; + var i = 0; + var len = data && data.length; + var b, b1, b2, bytes, utf8, jis; + var fallbackOption = options && options.fallback; + + for (; i < len; i++) { + b = data[i]; + + if (b >= 0x80) { + if (b <= 0xDF) { + // 2 bytes + bytes = [b, data[i + 1]]; + utf8 = (b << 8) + data[++i]; + } else if (b <= 0xEF) { + // 3 bytes + bytes = [b, data[i + 1], data[i + 2]]; + utf8 = (b << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } else { + // 4 bytes + bytes = [b, data[i + 1], data[i + 2], data[i + 3]]; + utf8 = (b << 24) + + (data[++i] << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } + + jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8]; + if (jis == null) { + if (fallbackOption) { + handleFallback(results, bytes, fallbackOption); + } else { + results[results.length] = config$1.FALLBACK_CHARACTER; + } + } else { + if (jis < 0xFF) { + results[results.length] = jis + 0x80; + } else { + if (jis > 0x10000) { + jis -= 0x10000; + } + + b1 = jis >> 8; + b2 = jis & 0xFF; + if (b1 & 0x01) { + b1 >>= 1; + if (b1 < 0x2F) { + b1 += 0x71; + } else { + b1 -= 0x4F; + } + + if (b2 > 0x5F) { + b2 += 0x20; + } else { + b2 += 0x1F; + } + } else { + b1 >>= 1; + if (b1 <= 0x2F) { + b1 += 0x70; + } else { + b1 -= 0x50; + } + b2 += 0x7E; + } + results[results.length] = b1 & 0xFF; + results[results.length] = b2 & 0xFF; + } + } + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.UTF8ToSJIS = UTF8ToSJIS; + +/** + * UTF-8 to EUC-JP + */ +function UTF8ToEUCJP(data, options) { + var results = []; + var i = 0; + var len = data && data.length; + var b, bytes, utf8, jis; + var fallbackOption = options && options.fallback; + + for (; i < len; i++) { + b = data[i]; + if (b >= 0x80) { + if (b <= 0xDF) { + // 2 bytes + bytes = [b, data[i + 1]]; + utf8 = (b << 8) + data[++i]; + } else if (b <= 0xEF) { + // 3 bytes + bytes = [b, data[i + 1], data[i + 2]]; + utf8 = (b << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } else { + // 4 bytes + bytes = [b, data[i + 1], data[i + 2], data[i + 3]]; + utf8 = (b << 24) + + (data[++i] << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } + + jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8]; + if (jis == null) { + jis = EncodingTable.UTF8_TO_JISX0212_TABLE[utf8]; + if (jis == null) { + if (fallbackOption) { + handleFallback(results, bytes, fallbackOption); + } else { + results[results.length] = config$1.FALLBACK_CHARACTER; + } + } else { + results[results.length] = 0x8F; + results[results.length] = (jis >> 8) - 0x80 & 0xFF; + results[results.length] = (jis & 0xFF) - 0x80 & 0xFF; + } + } else { + if (jis > 0x10000) { + jis -= 0x10000; + } + if (jis < 0xFF) { + results[results.length] = 0x8E; + results[results.length] = jis - 0x80 & 0xFF; + } else { + results[results.length] = (jis >> 8) - 0x80 & 0xFF; + results[results.length] = (jis & 0xFF) - 0x80 & 0xFF; + } + } + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.UTF8ToEUCJP = UTF8ToEUCJP; + +/** + * UTF-8 to JIS + */ +function UTF8ToJIS(data, options) { + var results = []; + var index = 0; + var len = data && data.length; + var i = 0; + var b, bytes, utf8, jis; + var fallbackOption = options && options.fallback; + + var esc = [ + 0x1B, 0x28, 0x42, + 0x1B, 0x24, 0x42, + 0x1B, 0x28, 0x49, + 0x1B, 0x24, 0x28, 0x44 + ]; + + for (; i < len; i++) { + b = data[i]; + if (b < 0x80) { + if (index !== 0) { + index = 0; + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + results[results.length] = b & 0xFF; + } else { + if (b <= 0xDF) { + // 2 bytes + bytes = [b, data[i + 1]]; + utf8 = (b << 8) + data[++i]; + } else if (b <= 0xEF) { + // 3 bytes + bytes = [b, data[i + 1], data[i + 2]]; + utf8 = (b << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } else { + // 4 bytes + bytes = [b, data[i + 1], data[i + 2], data[i + 3]]; + utf8 = (b << 24) + + (data[++i] << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } + + jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8]; + if (jis == null) { + jis = EncodingTable.UTF8_TO_JISX0212_TABLE[utf8]; + if (jis == null) { + if (index !== 0) { + index = 0; + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + + if (fallbackOption) { + handleFallback(results, bytes, fallbackOption); + } else { + results[results.length] = config$1.FALLBACK_CHARACTER; + } + } else { + // JIS X 0212:1990 + if (index !== 3) { + index = 3; + results[results.length] = esc[9]; + results[results.length] = esc[10]; + results[results.length] = esc[11]; + results[results.length] = esc[12]; + } + results[results.length] = jis >> 8 & 0xFF; + results[results.length] = jis & 0xFF; + } + } else { + if (jis > 0x10000) { + jis -= 0x10000; + } + if (jis < 0xFF) { + // Halfwidth Katakana + if (index !== 2) { + index = 2; + results[results.length] = esc[6]; + results[results.length] = esc[7]; + results[results.length] = esc[8]; + } + results[results.length] = jis & 0xFF; + } else { + if (index !== 1) { + index = 1; + results[results.length] = esc[3]; + results[results.length] = esc[4]; + results[results.length] = esc[5]; + } + results[results.length] = jis >> 8 & 0xFF; + results[results.length] = jis & 0xFF; + } + } + } + } + + if (index !== 0) { + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + + return results; +} +encodingConvert.UTF8ToJIS = UTF8ToJIS; + +/** + * UTF-16 (JavaScript Unicode array) to UTF-8 + */ +function UNICODEToUTF8(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c, second; + + for (; i < len; i++) { + c = data[i]; + + // high surrogate + if (c >= 0xD800 && c <= 0xDBFF && i + 1 < len) { + second = data[i + 1]; + // low surrogate + if (second >= 0xDC00 && second <= 0xDFFF) { + c = (c - 0xD800) * 0x400 + second - 0xDC00 + 0x10000; + i++; + } + } + + if (c < 0x80) { + results[results.length] = c; + } else if (c < 0x800) { + results[results.length] = 0xC0 | ((c >> 6) & 0x1F); + results[results.length] = 0x80 | (c & 0x3F); + } else if (c < 0x10000) { + results[results.length] = 0xE0 | ((c >> 12) & 0xF); + results[results.length] = 0x80 | ((c >> 6) & 0x3F); + results[results.length] = 0x80 | (c & 0x3F); + } else if (c < 0x200000) { + results[results.length] = 0xF0 | ((c >> 18) & 0xF); + results[results.length] = 0x80 | ((c >> 12) & 0x3F); + results[results.length] = 0x80 | ((c >> 6) & 0x3F); + results[results.length] = 0x80 | (c & 0x3F); + } + } + + return results; +} +encodingConvert.UNICODEToUTF8 = UNICODEToUTF8; + +/** + * UTF-8 to UTF-16 (JavaScript Unicode array) + */ +function UTF8ToUNICODE(data, options) { + var results = []; + var i = 0; + var len = data && data.length; + var n, c, c2, c3, c4, code; + // For internal usage only + var ignoreSurrogatePair = options && options.ignoreSurrogatePair; + + while (i < len) { + c = data[i++]; + n = c >> 4; + if (n >= 0 && n <= 7) { + // 0xxx xxxx + code = c; + } else if (n === 12 || n === 13) { + // 110x xxxx + // 10xx xxxx + c2 = data[i++]; + code = ((c & 0x1F) << 6) | (c2 & 0x3F); + } else if (n === 14) { + // 1110 xxxx + // 10xx xxxx + // 10xx xxxx + c2 = data[i++]; + c3 = data[i++]; + code = ((c & 0x0F) << 12) | + ((c2 & 0x3F) << 6) | + (c3 & 0x3F); + } else if (n === 15) { + // 1111 0xxx + // 10xx xxxx + // 10xx xxxx + // 10xx xxxx + c2 = data[i++]; + c3 = data[i++]; + c4 = data[i++]; + code = ((c & 0x7) << 18) | + ((c2 & 0x3F) << 12) | + ((c3 & 0x3F) << 6) | + (c4 & 0x3F); + } + + if (code <= 0xFFFF || ignoreSurrogatePair) { + results[results.length] = code; + } else { + // Split in surrogate halves + code -= 0x10000; + results[results.length] = (code >> 10) + 0xD800; // High surrogate + results[results.length] = (code % 0x400) + 0xDC00; // Low surrogate + } + } + + return results; +} +encodingConvert.UTF8ToUNICODE = UTF8ToUNICODE; + +/** + * UTF-16 (JavaScript Unicode array) to UTF-16 + * + * UTF-16BE (big-endian) + * Note: this function does not prepend the BOM by default. + * + * RFC 2781 4.3 Interpreting text labelled as UTF-16 + * If the first two octets of the text is not 0xFE followed by + * 0xFF, and is not 0xFF followed by 0xFE, then the text SHOULD be + * interpreted as being big-endian. + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UNICODEToUTF16(data, options) { + var results; + + if (options && options.bom) { + var optBom = options.bom; + if (!util$3.isString(optBom)) { + optBom = 'BE'; + } + + var bom, utf16; + if (optBom.charAt(0).toUpperCase() === 'B') { + // Big-endian + bom = [0xFE, 0xFF]; + utf16 = UNICODEToUTF16BE(data); + } else { + // Little-endian + bom = [0xFF, 0xFE]; + utf16 = UNICODEToUTF16LE(data); + } + + results = []; + results[0] = bom[0]; + results[1] = bom[1]; + + for (var i = 0, len = utf16.length; i < len; i++) { + results[results.length] = utf16[i]; + } + } else { + // Should be interpreted as being big-endian when text has no BOM + results = UNICODEToUTF16BE(data); + } + + return results; +} +encodingConvert.UNICODEToUTF16 = UNICODEToUTF16; + +/** + * UTF-16 (JavaScript Unicode array) to UTF-16BE + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UNICODEToUTF16BE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c; + + while (i < len) { + c = data[i++]; + if (c <= 0xFF) { + results[results.length] = 0; + results[results.length] = c; + } else if (c <= 0xFFFF) { + results[results.length] = c >> 8 & 0xFF; + results[results.length] = c & 0xFF; + } + } + + return results; +} +encodingConvert.UNICODEToUTF16BE = UNICODEToUTF16BE; + +/** + * UTF-16 (JavaScript Unicode array) to UTF-16LE + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UNICODEToUTF16LE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c; + + while (i < len) { + c = data[i++]; + if (c <= 0xFF) { + results[results.length] = c; + results[results.length] = 0; + } else if (c <= 0xFFFF) { + results[results.length] = c & 0xFF; + results[results.length] = c >> 8 & 0xFF; + } + } + + return results; +} +encodingConvert.UNICODEToUTF16LE = UNICODEToUTF16LE; + +/** + * UTF-16BE to UTF-16 (JavaScript Unicode array) + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UTF16BEToUNICODE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c1, c2; + + if (len >= 2 && + ((data[0] === 0xFE && data[1] === 0xFF) || + (data[0] === 0xFF && data[1] === 0xFE)) + ) { + i = 2; + } + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + if (c1 === 0) { + results[results.length] = c2; + } else { + results[results.length] = ((c1 & 0xFF) << 8) | (c2 & 0xFF); + } + } + + return results; +} +encodingConvert.UTF16BEToUNICODE = UTF16BEToUNICODE; + +/** + * UTF-16LE to UTF-16 (JavaScript Unicode array) + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UTF16LEToUNICODE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c1, c2; + + if (len >= 2 && + ((data[0] === 0xFE && data[1] === 0xFF) || + (data[0] === 0xFF && data[1] === 0xFE)) + ) { + i = 2; + } + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + if (c2 === 0) { + results[results.length] = c1; + } else { + results[results.length] = ((c2 & 0xFF) << 8) | (c1 & 0xFF); + } + } + + return results; +} +encodingConvert.UTF16LEToUNICODE = UTF16LEToUNICODE; + +/** + * UTF-16 to UTF-16 (JavaScript Unicode array) + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UTF16ToUNICODE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var isLE = false; + var first = true; + var c1, c2; + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + + if (first && i === 2) { + first = false; + if (c1 === 0xFE && c2 === 0xFF) { + isLE = false; + } else if (c1 === 0xFF && c2 === 0xFE) { + // Little-endian + isLE = true; + } else { + isLE = EncodingDetect$1.isUTF16LE(data); + i = 0; + } + continue; + } + + if (isLE) { + if (c2 === 0) { + results[results.length] = c1; + } else { + results[results.length] = ((c2 & 0xFF) << 8) | (c1 & 0xFF); + } + } else { + if (c1 === 0) { + results[results.length] = c2; + } else { + results[results.length] = ((c1 & 0xFF) << 8) | (c2 & 0xFF); + } + } + } + + return results; +} +encodingConvert.UTF16ToUNICODE = UTF16ToUNICODE; + +/** + * UTF-16 to UTF-16BE + */ +function UTF16ToUTF16BE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var isLE = false; + var first = true; + var c1, c2; + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + + if (first && i === 2) { + first = false; + if (c1 === 0xFE && c2 === 0xFF) { + isLE = false; + } else if (c1 === 0xFF && c2 === 0xFE) { + // Little-endian + isLE = true; + } else { + isLE = EncodingDetect$1.isUTF16LE(data); + i = 0; + } + continue; + } + + if (isLE) { + results[results.length] = c2; + results[results.length] = c1; + } else { + results[results.length] = c1; + results[results.length] = c2; + } + } + + return results; +} +encodingConvert.UTF16ToUTF16BE = UTF16ToUTF16BE; + +/** + * UTF-16BE to UTF-16 + */ +function UTF16BEToUTF16(data, options) { + var isLE = false; + var bom; + + if (options && options.bom) { + var optBom = options.bom; + if (!util$3.isString(optBom)) { + optBom = 'BE'; + } + + if (optBom.charAt(0).toUpperCase() === 'B') { + // Big-endian + bom = [0xFE, 0xFF]; + } else { + // Little-endian + bom = [0xFF, 0xFE]; + isLE = true; + } + } + + var results = []; + var len = data && data.length; + var i = 0; + + if (len >= 2 && + ((data[0] === 0xFE && data[1] === 0xFF) || + (data[0] === 0xFF && data[1] === 0xFE)) + ) { + i = 2; + } + + if (bom) { + results[0] = bom[0]; + results[1] = bom[1]; + } + + var c1, c2; + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + + if (isLE) { + results[results.length] = c2; + results[results.length] = c1; + } else { + results[results.length] = c1; + results[results.length] = c2; + } + } + + return results; +} +encodingConvert.UTF16BEToUTF16 = UTF16BEToUTF16; + +/** + * UTF-16 to UTF-16LE + */ +function UTF16ToUTF16LE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var isLE = false; + var first = true; + var c1, c2; + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + + if (first && i === 2) { + first = false; + if (c1 === 0xFE && c2 === 0xFF) { + isLE = false; + } else if (c1 === 0xFF && c2 === 0xFE) { + // Little-endian + isLE = true; + } else { + isLE = EncodingDetect$1.isUTF16LE(data); + i = 0; + } + continue; + } + + if (isLE) { + results[results.length] = c1; + results[results.length] = c2; + } else { + results[results.length] = c2; + results[results.length] = c1; + } + } + + return results; +} +encodingConvert.UTF16ToUTF16LE = UTF16ToUTF16LE; + +/** + * UTF-16LE to UTF-16 + */ +function UTF16LEToUTF16(data, options) { + var isLE = false; + var bom; + + if (options && options.bom) { + var optBom = options.bom; + if (!util$3.isString(optBom)) { + optBom = 'BE'; + } + + if (optBom.charAt(0).toUpperCase() === 'B') { + // Big-endian + bom = [0xFE, 0xFF]; + } else { + // Little-endian + bom = [0xFF, 0xFE]; + isLE = true; + } + } + + var results = []; + var len = data && data.length; + var i = 0; + + if (len >= 2 && + ((data[0] === 0xFE && data[1] === 0xFF) || + (data[0] === 0xFF && data[1] === 0xFE)) + ) { + i = 2; + } + + if (bom) { + results[0] = bom[0]; + results[1] = bom[1]; + } + + var c1, c2; + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + + if (isLE) { + results[results.length] = c1; + results[results.length] = c2; + } else { + results[results.length] = c2; + results[results.length] = c1; + } + } + + return results; +} +encodingConvert.UTF16LEToUTF16 = UTF16LEToUTF16; + +/** + * UTF-16BE to UTF-16LE + */ +function UTF16BEToUTF16LE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c1, c2; + + if (len >= 2 && + ((data[0] === 0xFE && data[1] === 0xFF) || + (data[0] === 0xFF && data[1] === 0xFE)) + ) { + i = 2; + } + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + results[results.length] = c2; + results[results.length] = c1; + } + + return results; +} +encodingConvert.UTF16BEToUTF16LE = UTF16BEToUTF16LE; + +/** + * UTF-16LE to UTF-16BE + */ +function UTF16LEToUTF16BE(data) { + return UTF16BEToUTF16LE(data); +} +encodingConvert.UTF16LEToUTF16BE = UTF16LEToUTF16BE; + +/** + * UTF-16 (JavaScript Unicode array) to JIS + */ +function UNICODEToJIS(data, options) { + return UTF8ToJIS(UNICODEToUTF8(data), options); +} +encodingConvert.UNICODEToJIS = UNICODEToJIS; + +/** + * JIS to UTF-16 (JavaScript Unicode array) + */ +function JISToUNICODE(data) { + return UTF8ToUNICODE(JISToUTF8(data)); +} +encodingConvert.JISToUNICODE = JISToUNICODE; + +/** + * UTF-16 (JavaScript Unicode array) to EUCJP + */ +function UNICODEToEUCJP(data, options) { + return UTF8ToEUCJP(UNICODEToUTF8(data), options); +} +encodingConvert.UNICODEToEUCJP = UNICODEToEUCJP; + +/** + * EUCJP to UTF-16 (JavaScript Unicode array) + */ +function EUCJPToUNICODE(data) { + return UTF8ToUNICODE(EUCJPToUTF8(data)); +} +encodingConvert.EUCJPToUNICODE = EUCJPToUNICODE; + +/** + * UTF-16 (JavaScript Unicode array) to SJIS + */ +function UNICODEToSJIS(data, options) { + return UTF8ToSJIS(UNICODEToUTF8(data), options); +} +encodingConvert.UNICODEToSJIS = UNICODEToSJIS; + +/** + * SJIS to UTF-16 (JavaScript Unicode array) + */ +function SJISToUNICODE(data) { + return UTF8ToUNICODE(SJISToUTF8(data)); +} +encodingConvert.SJISToUNICODE = SJISToUNICODE; + +/** + * UTF-8 to UTF-16 + */ +function UTF8ToUTF16(data, options) { + return UNICODEToUTF16(UTF8ToUNICODE(data), options); +} +encodingConvert.UTF8ToUTF16 = UTF8ToUTF16; + +/** + * UTF-16 to UTF-8 + */ +function UTF16ToUTF8(data) { + return UNICODEToUTF8(UTF16ToUNICODE(data)); +} +encodingConvert.UTF16ToUTF8 = UTF16ToUTF8; + +/** + * UTF-8 to UTF-16BE + */ +function UTF8ToUTF16BE(data) { + return UNICODEToUTF16BE(UTF8ToUNICODE(data)); +} +encodingConvert.UTF8ToUTF16BE = UTF8ToUTF16BE; + +/** + * UTF-16BE to UTF-8 + */ +function UTF16BEToUTF8(data) { + return UNICODEToUTF8(UTF16BEToUNICODE(data)); +} +encodingConvert.UTF16BEToUTF8 = UTF16BEToUTF8; + +/** + * UTF-8 to UTF-16LE + */ +function UTF8ToUTF16LE(data) { + return UNICODEToUTF16LE(UTF8ToUNICODE(data)); +} +encodingConvert.UTF8ToUTF16LE = UTF8ToUTF16LE; + +/** + * UTF-16LE to UTF-8 + */ +function UTF16LEToUTF8(data) { + return UNICODEToUTF8(UTF16LEToUNICODE(data)); +} +encodingConvert.UTF16LEToUTF8 = UTF16LEToUTF8; + +/** + * JIS to UTF-16 + */ +function JISToUTF16(data, options) { + return UTF8ToUTF16(JISToUTF8(data), options); +} +encodingConvert.JISToUTF16 = JISToUTF16; + +/** + * UTF-16 to JIS + */ +function UTF16ToJIS(data, options) { + return UTF8ToJIS(UTF16ToUTF8(data), options); +} +encodingConvert.UTF16ToJIS = UTF16ToJIS; + +/** + * JIS to UTF-16BE + */ +function JISToUTF16BE(data) { + return UTF8ToUTF16BE(JISToUTF8(data)); +} +encodingConvert.JISToUTF16BE = JISToUTF16BE; + +/** + * UTF-16BE to JIS + */ +function UTF16BEToJIS(data, options) { + return UTF8ToJIS(UTF16BEToUTF8(data), options); +} +encodingConvert.UTF16BEToJIS = UTF16BEToJIS; + +/** + * JIS to UTF-16LE + */ +function JISToUTF16LE(data) { + return UTF8ToUTF16LE(JISToUTF8(data)); +} +encodingConvert.JISToUTF16LE = JISToUTF16LE; + +/** + * UTF-16LE to JIS + */ +function UTF16LEToJIS(data, options) { + return UTF8ToJIS(UTF16LEToUTF8(data), options); +} +encodingConvert.UTF16LEToJIS = UTF16LEToJIS; + +/** + * EUC-JP to UTF-16 + */ +function EUCJPToUTF16(data, options) { + return UTF8ToUTF16(EUCJPToUTF8(data), options); +} +encodingConvert.EUCJPToUTF16 = EUCJPToUTF16; + +/** + * UTF-16 to EUC-JP + */ +function UTF16ToEUCJP(data, options) { + return UTF8ToEUCJP(UTF16ToUTF8(data), options); +} +encodingConvert.UTF16ToEUCJP = UTF16ToEUCJP; + +/** + * EUC-JP to UTF-16BE + */ +function EUCJPToUTF16BE(data) { + return UTF8ToUTF16BE(EUCJPToUTF8(data)); +} +encodingConvert.EUCJPToUTF16BE = EUCJPToUTF16BE; + +/** + * UTF-16BE to EUC-JP + */ +function UTF16BEToEUCJP(data, options) { + return UTF8ToEUCJP(UTF16BEToUTF8(data), options); +} +encodingConvert.UTF16BEToEUCJP = UTF16BEToEUCJP; + +/** + * EUC-JP to UTF-16LE + */ +function EUCJPToUTF16LE(data) { + return UTF8ToUTF16LE(EUCJPToUTF8(data)); +} +encodingConvert.EUCJPToUTF16LE = EUCJPToUTF16LE; + +/** + * UTF-16LE to EUC-JP + */ +function UTF16LEToEUCJP(data, options) { + return UTF8ToEUCJP(UTF16LEToUTF8(data), options); +} +encodingConvert.UTF16LEToEUCJP = UTF16LEToEUCJP; + +/** + * SJIS to UTF-16 + */ +function SJISToUTF16(data, options) { + return UTF8ToUTF16(SJISToUTF8(data), options); +} +encodingConvert.SJISToUTF16 = SJISToUTF16; + +/** + * UTF-16 to SJIS + */ +function UTF16ToSJIS(data, options) { + return UTF8ToSJIS(UTF16ToUTF8(data), options); +} +encodingConvert.UTF16ToSJIS = UTF16ToSJIS; + +/** + * SJIS to UTF-16BE + */ +function SJISToUTF16BE(data) { + return UTF8ToUTF16BE(SJISToUTF8(data)); +} +encodingConvert.SJISToUTF16BE = SJISToUTF16BE; + +/** + * UTF-16BE to SJIS + */ +function UTF16BEToSJIS(data, options) { + return UTF8ToSJIS(UTF16BEToUTF8(data), options); +} +encodingConvert.UTF16BEToSJIS = UTF16BEToSJIS; + +/** + * SJIS to UTF-16LE + */ +function SJISToUTF16LE(data) { + return UTF8ToUTF16LE(SJISToUTF8(data)); +} +encodingConvert.SJISToUTF16LE = SJISToUTF16LE; + +/** + * UTF-16LE to SJIS + */ +function UTF16LEToSJIS(data, options) { + return UTF8ToSJIS(UTF16LEToUTF8(data), options); +} +encodingConvert.UTF16LEToSJIS = UTF16LEToSJIS; + +/** + * Fallback handler when a character can't be represented + */ +function handleFallback(results, bytes, fallbackOption) { + switch (fallbackOption) { + case 'html-entity': + case 'html-entity-hex': + var unicode = UTF8ToUNICODE(bytes, { ignoreSurrogatePair: true })[0]; + if (unicode) { + results[results.length] = 0x26; // & + results[results.length] = 0x23; // # + + var radix = fallbackOption.slice(-3) === 'hex' ? 16 : 10; + if (radix === 16) { + results[results.length] = 0x78; // x + } + + var entity = unicode.toString(radix); + for (var i = 0, len = entity.length; i < len; i++) { + results[results.length] = entity.charCodeAt(i); + } + results[results.length] = 0x3B; // ; + } + } +} + +var kanaCaseTable = {}; + +/* eslint-disable key-spacing */ + +/** + * Katakana table + */ +kanaCaseTable.HANKANA_TABLE = { + 0x3001:0xFF64,0x3002:0xFF61,0x300C:0xFF62,0x300D:0xFF63,0x309B:0xFF9E, + 0x309C:0xFF9F,0x30A1:0xFF67,0x30A2:0xFF71,0x30A3:0xFF68,0x30A4:0xFF72, + 0x30A5:0xFF69,0x30A6:0xFF73,0x30A7:0xFF6A,0x30A8:0xFF74,0x30A9:0xFF6B, + 0x30AA:0xFF75,0x30AB:0xFF76,0x30AD:0xFF77,0x30AF:0xFF78,0x30B1:0xFF79, + 0x30B3:0xFF7A,0x30B5:0xFF7B,0x30B7:0xFF7C,0x30B9:0xFF7D,0x30BB:0xFF7E, + 0x30BD:0xFF7F,0x30BF:0xFF80,0x30C1:0xFF81,0x30C3:0xFF6F,0x30C4:0xFF82, + 0x30C6:0xFF83,0x30C8:0xFF84,0x30CA:0xFF85,0x30CB:0xFF86,0x30CC:0xFF87, + 0x30CD:0xFF88,0x30CE:0xFF89,0x30CF:0xFF8A,0x30D2:0xFF8B,0x30D5:0xFF8C, + 0x30D8:0xFF8D,0x30DB:0xFF8E,0x30DE:0xFF8F,0x30DF:0xFF90,0x30E0:0xFF91, + 0x30E1:0xFF92,0x30E2:0xFF93,0x30E3:0xFF6C,0x30E4:0xFF94,0x30E5:0xFF6D, + 0x30E6:0xFF95,0x30E7:0xFF6E,0x30E8:0xFF96,0x30E9:0xFF97,0x30EA:0xFF98, + 0x30EB:0xFF99,0x30EC:0xFF9A,0x30ED:0xFF9B,0x30EF:0xFF9C,0x30F2:0xFF66, + 0x30F3:0xFF9D,0x30FB:0xFF65,0x30FC:0xFF70 +}; + +kanaCaseTable.HANKANA_SONANTS = { + 0x30F4:0xFF73, + 0x30F7:0xFF9C, + 0x30FA:0xFF66 +}; + +kanaCaseTable.HANKANA_MARKS = [0xFF9E, 0xFF9F]; + +/** + * Zenkaku table [U+FF61] - [U+FF9F] + */ +kanaCaseTable.ZENKANA_TABLE = [ + 0x3002, 0x300C, 0x300D, 0x3001, 0x30FB, 0x30F2, 0x30A1, 0x30A3, + 0x30A5, 0x30A7, 0x30A9, 0x30E3, 0x30E5, 0x30E7, 0x30C3, 0x30FC, + 0x30A2, 0x30A4, 0x30A6, 0x30A8, 0x30AA, 0x30AB, 0x30AD, 0x30AF, + 0x30B1, 0x30B3, 0x30B5, 0x30B7, 0x30B9, 0x30BB, 0x30BD, 0x30BF, + 0x30C1, 0x30C4, 0x30C6, 0x30C8, 0x30CA, 0x30CB, 0x30CC, 0x30CD, + 0x30CE, 0x30CF, 0x30D2, 0x30D5, 0x30D8, 0x30DB, 0x30DE, 0x30DF, + 0x30E0, 0x30E1, 0x30E2, 0x30E4, 0x30E6, 0x30E8, 0x30E9, 0x30EA, + 0x30EB, 0x30EC, 0x30ED, 0x30EF, 0x30F3, 0x309B, 0x309C +]; + +var name$1 = "encoding-japanese"; +var version$2 = "2.0.0"; +var description$1 = "Convert or detect character encoding in JavaScript"; +var main$1 = "src/index.js"; +var files = [ + "encoding.js", + "encoding.min.js", + "encoding.min.js.map", + "src/*" +]; +var scripts$1 = { + build: "npm run compile && npm run minify", + compile: "browserify src/index.js -o encoding.js -s Encoding -p [ bannerify --file src/banner.js ] --no-bundle-external --bare", + minify: "uglifyjs encoding.js -o encoding.min.js --source-map \"url='encoding.min.js.map'\" --comments -c -m -b ascii_only=true,beautify=false", + test: "./node_modules/.bin/eslint . && npm run build && mocha tests/test", + watch: "watchify src/index.js -o encoding.js -s Encoding -p [ bannerify --file src/banner.js ] --no-bundle-external --bare --poll=300 -v" +}; +var engines = { + node: ">=8.10.0" +}; +var repository$1 = { + type: "git", + url: "https://github.com/polygonplanet/encoding.js.git" +}; +var author$1 = "polygonplanet "; +var license$1 = "MIT"; +var bugs$1 = { + url: "https://github.com/polygonplanet/encoding.js/issues" +}; +var homepage$1 = "https://github.com/polygonplanet/encoding.js"; +var keywords$1 = [ + "base64", + "charset", + "convert", + "detect", + "encoding", + "euc-jp", + "eucjp", + "iconv", + "iso-2022-jp", + "japanese", + "jis", + "shift_jis", + "sjis", + "unicode", + "urldecode", + "urlencode", + "utf-16", + "utf-32", + "utf-8" +]; +var dependencies$1 = { +}; +var devDependencies$1 = { + bannerify: "^1.0.1", + browserify: "^17.0.0", + eslint: "^8.12.0", + mocha: "^9.2.2", + "package-json-versionify": "^1.0.4", + "power-assert": "^1.6.1", + "uglify-js": "^3.15.3", + uglifyify: "^5.0.2", + watchify: "^4.0.0" +}; +var browserify = { + transform: [ + "package-json-versionify" + ] +}; +var require$$5 = { + name: name$1, + version: version$2, + description: description$1, + main: main$1, + files: files, + scripts: scripts$1, + engines: engines, + repository: repository$1, + author: author$1, + license: license$1, + bugs: bugs$1, + homepage: homepage$1, + keywords: keywords$1, + dependencies: dependencies$1, + devDependencies: devDependencies$1, + browserify: browserify +}; + +var config = requireConfig(); +var util$2 = requireUtil(); +var EncodingDetect = encodingDetect; +var EncodingConvert = encodingConvert; +var KanaCaseTable = kanaCaseTable; +var version$1 = require$$5.version; + +var hasOwnProperty = Object.prototype.hasOwnProperty; + +var Encoding = { + version: version$1, + + /** + * Encoding orders + */ + orders: config.EncodingOrders, + + /** + * Detects character encoding + * + * If encodings is "AUTO", or the encoding-list as an array, or + * comma separated list string it will be detected automatically + * + * @param {Array.|TypedArray|string} data The data being detected + * @param {(Object|string|Array.)=} [encodings] The encoding-list of + * character encoding + * @return {string|boolean} The detected character encoding, or false + */ + detect: function(data, encodings) { + if (data == null || data.length === 0) { + return false; + } + + if (util$2.isObject(encodings) && !util$2.isArray(encodings)) { + encodings = encodings.encoding; + } + + if (util$2.isString(data)) { + data = util$2.stringToBuffer(data); + } + + if (encodings == null) { + encodings = Encoding.orders; + } else { + if (util$2.isString(encodings)) { + encodings = encodings.toUpperCase(); + if (encodings === 'AUTO') { + encodings = Encoding.orders; + } else if (~encodings.indexOf(',')) { + encodings = encodings.split(/\s*,\s*/); + } else { + encodings = [encodings]; + } + } + } + + var len = encodings.length; + var e, encoding, method; + for (var i = 0; i < len; i++) { + e = encodings[i]; + encoding = util$2.canonicalizeEncodingName(e); + if (!encoding) { + continue; + } + + method = 'is' + encoding; + if (!hasOwnProperty.call(EncodingDetect, method)) { + throw new Error('Undefined encoding: ' + e); + } + + if (EncodingDetect[method](data)) { + return encoding; + } + } + + return false; + }, + + /** + * Convert character encoding + * + * If `from` is "AUTO", or the encoding-list as an array, or + * comma separated list string it will be detected automatically + * + * @param {Array.|TypedArray|string} data The data being converted + * @param {(string|Object)} to The name of encoding to + * @param {(string|Array.)=} [from] The encoding-list of + * character encoding + * @return {Array|TypedArray|string} The converted data + */ + convert: function(data, to, from) { + var result, type, options; + + if (!util$2.isObject(to)) { + options = {}; + } else { + options = to; + from = options.from; + to = options.to; + + if (options.type) { + type = options.type; + } + } + + if (util$2.isString(data)) { + type = type || 'string'; + data = util$2.stringToBuffer(data); + } else if (data == null || data.length === 0) { + data = []; + } + + var encodingFrom; + if (from != null && util$2.isString(from) && + from.toUpperCase() !== 'AUTO' && !~from.indexOf(',')) { + encodingFrom = util$2.canonicalizeEncodingName(from); + } else { + encodingFrom = Encoding.detect(data); + } + + var encodingTo = util$2.canonicalizeEncodingName(to); + var method = encodingFrom + 'To' + encodingTo; + + if (hasOwnProperty.call(EncodingConvert, method)) { + result = EncodingConvert[method](data, options); + } else { + // Returns the raw data if the method is undefined + result = data; + } + + switch (('' + type).toLowerCase()) { + case 'string': + return util$2.codeToString_fast(result); + case 'arraybuffer': + return util$2.codeToBuffer(result); + default: // array + return util$2.bufferToCode(result); + } + }, + + /** + * Encode a character code array to URL string like encodeURIComponent + * + * @param {Array.|TypedArray} data The data being encoded + * @return {string} The percent encoded string + */ + urlEncode: function(data) { + if (util$2.isString(data)) { + data = util$2.stringToBuffer(data); + } + + var alpha = util$2.stringToCode('0123456789ABCDEF'); + var results = []; + var i = 0; + var len = data && data.length; + var b; + + for (; i < len; i++) { + b = data[i]; + + // urlEncode is for an array of numbers in the range 0-255 (Uint8Array), but if an array + // of numbers greater than 255 is passed (Unicode code unit i.e. charCodeAt range), + // it will be tentatively encoded as UTF-8 using encodeURIComponent. + if (b > 0xFF) { + return encodeURIComponent(util$2.codeToString_fast(data)); + } + + if ((b >= 0x61 /*a*/ && b <= 0x7A /*z*/) || + (b >= 0x41 /*A*/ && b <= 0x5A /*Z*/) || + (b >= 0x30 /*0*/ && b <= 0x39 /*9*/) || + b === 0x21 /*!*/ || + (b >= 0x27 /*'*/ && b <= 0x2A /***/) || + b === 0x2D /*-*/ || b === 0x2E /*.*/ || + b === 0x5F /*_*/ || b === 0x7E /*~*/ + ) { + results[results.length] = b; + } else { + results[results.length] = 0x25; /*%*/ + if (b < 0x10) { + results[results.length] = 0x30; /*0*/ + results[results.length] = alpha[b]; + } else { + results[results.length] = alpha[b >> 4 & 0xF]; + results[results.length] = alpha[b & 0xF]; + } + } + } + + return util$2.codeToString_fast(results); + }, + + /** + * Decode a percent encoded string to + * character code array like decodeURIComponent + * + * @param {string} string The data being decoded + * @return {Array.} The decoded array + */ + urlDecode: function(string) { + var results = []; + var i = 0; + var len = string && string.length; + var c; + + while (i < len) { + c = string.charCodeAt(i++); + if (c === 0x25 /*%*/) { + results[results.length] = parseInt( + string.charAt(i++) + string.charAt(i++), 16); + } else { + results[results.length] = c; + } + } + + return results; + }, + + /** + * Encode a character code array to Base64 encoded string + * + * @param {Array.|TypedArray} data The data being encoded + * @return {string} The Base64 encoded string + */ + base64Encode: function(data) { + if (util$2.isString(data)) { + data = util$2.stringToBuffer(data); + } + return util$2.base64encode(data); + }, + + /** + * Decode a Base64 encoded string to character code array + * + * @param {string} string The data being decoded + * @return {Array.} The decoded array + */ + base64Decode: function(string) { + return util$2.base64decode(string); + }, + + /** + * Joins a character code array to string + * + * @param {Array.|TypedArray} data The data being joined + * @return {String} The joined string + */ + codeToString: util$2.codeToString_fast, + + /** + * Splits string to an array of character codes + * + * @param {string} string The input string + * @return {Array.} The character code array + */ + stringToCode: util$2.stringToCode, + + /** + * 全角英数記号文字を半角英数記号文字に変換 + * + * Convert the ascii symbols and alphanumeric characters to + * the zenkaku symbols and alphanumeric characters + * + * @example + * console.log(Encoding.toHankakuCase('Hello World! 12345')); + * // 'Hello World! 12345' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toHankakuCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c >= 0xFF01 && c <= 0xFF5E) { + c -= 0xFEE0; + } + results[results.length] = c; + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 半角英数記号文字を全角英数記号文字に変換 + * + * Convert to the zenkaku symbols and alphanumeric characters + * from the ascii symbols and alphanumeric characters + * + * @example + * console.log(Encoding.toZenkakuCase('Hello World! 12345')); + * // 'Hello World! 12345' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toZenkakuCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c >= 0x21 && c <= 0x7E) { + c += 0xFEE0; + } + results[results.length] = c; + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 全角カタカナを全角ひらがなに変換 + * + * Convert to the zenkaku hiragana from the zenkaku katakana + * + * @example + * console.log(Encoding.toHiraganaCase('ボポヴァアィイゥウェエォオ')); + * // 'ぼぽう゛ぁあぃいぅうぇえぉお' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toHiraganaCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c >= 0x30A1 && c <= 0x30F6) { + c -= 0x0060; + // 「ワ゛」 => 「わ」 + 「゛」 + } else if (c === 0x30F7) { + results[results.length] = 0x308F; + c = 0x309B; + // 「ヲ゛」 => 「を」 + 「゛」 + } else if (c === 0x30FA) { + results[results.length] = 0x3092; + c = 0x309B; + } + results[results.length] = c; + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 全角ひらがなを全角カタカナに変換 + * + * Convert to the zenkaku katakana from the zenkaku hiragana + * + * @example + * console.log(Encoding.toKatakanaCase('ぼぽう゛ぁあぃいぅうぇえぉお')); + * // 'ボポヴァアィイゥウェエォオ' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toKatakanaCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c >= 0x3041 && c <= 0x3096) { + if ((c === 0x308F || // 「わ」 + 「゛」 => 「ワ゛」 + c === 0x3092) && // 「を」 + 「゛」 => 「ヲ゛」 + i < len && data[i] === 0x309B) { + c = c === 0x308F ? 0x30F7 : 0x30FA; + i++; + } else { + c += 0x0060; + } + } + results[results.length] = c; + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 全角カタカナを半角カタカナに変換 + * + * Convert to the hankaku katakana from the zenkaku katakana + * + * @example + * console.log(Encoding.toHankanaCase('ボポヴァアィイゥウェエォオ')); + * // 'ボポヴァアィイゥウェエォオ' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toHankanaCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c, d, t; + + while (i < len) { + c = data[i++]; + + if (c >= 0x3001 && c <= 0x30FC) { + t = KanaCaseTable.HANKANA_TABLE[c]; + if (t !== void 0) { + results[results.length] = t; + continue; + } + } + + // 「ヴ」, 「ワ」+「゛」, 「ヲ」+「゛」 + if (c === 0x30F4 || c === 0x30F7 || c === 0x30FA) { + results[results.length] = KanaCaseTable.HANKANA_SONANTS[c]; + results[results.length] = 0xFF9E; + // 「カ」 - 「ド」 + } else if (c >= 0x30AB && c <= 0x30C9) { + results[results.length] = KanaCaseTable.HANKANA_TABLE[c - 1]; + results[results.length] = 0xFF9E; + // 「ハ」 - 「ポ」 + } else if (c >= 0x30CF && c <= 0x30DD) { + d = c % 3; + results[results.length] = KanaCaseTable.HANKANA_TABLE[c - d]; + results[results.length] = KanaCaseTable.HANKANA_MARKS[d - 1]; + } else { + results[results.length] = c; + } + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 半角カタカナを全角カタカナに変換 (濁音含む) + * + * Convert to the zenkaku katakana from the hankaku katakana + * + * @example + * console.log(Encoding.toZenkanaCase('ボポヴァアィイゥウェエォオ')); + * // 'ボポヴァアィイゥウェエォオ' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toZenkanaCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c, code, next; + + for (i = 0; i < len; i++) { + c = data[i]; + // Hankaku katakana + if (c > 0xFF60 && c < 0xFFA0) { + code = KanaCaseTable.ZENKANA_TABLE[c - 0xFF61]; + if (i + 1 < len) { + next = data[i + 1]; + // 「゙」 + 「ヴ」 + if (next === 0xFF9E && c === 0xFF73) { + code = 0x30F4; + i++; + // 「゙」 + 「ワ゛」 + } else if (next === 0xFF9E && c === 0xFF9C) { + code = 0x30F7; + i++; + // 「゙」 + 「ヲ゛」 + } else if (next === 0xFF9E && c === 0xFF66) { + code = 0x30FA; + i++; + // 「゙」 + 「カ」 - 「コ」 or 「ハ」 - 「ホ」 + } else if (next === 0xFF9E && + ((c > 0xFF75 && c < 0xFF85) || + (c > 0xFF89 && c < 0xFF8F))) { + code++; + i++; + // 「゚」 + 「ハ」 - 「ホ」 + } else if (next === 0xFF9F && + (c > 0xFF89 && c < 0xFF8F)) { + code += 2; + i++; + } + } + c = code; + } + results[results.length] = c; + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 全角スペースを半角スペースに変換 + * + * Convert the em space(U+3000) to the single space(U+0020) + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toHankakuSpace: function(data) { + if (util$2.isString(data)) { + return data.replace(/\u3000/g, ' '); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c === 0x3000) { + c = 0x20; + } + results[results.length] = c; + } + + return results; + }, + + /** + * 半角スペースを全角スペースに変換 + * + * Convert the single space(U+0020) to the em space(U+3000) + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toZenkakuSpace: function(data) { + if (util$2.isString(data)) { + return data.replace(/\u0020/g, '\u3000'); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c === 0x20) { + c = 0x3000; + } + results[results.length] = c; + } + + return results; + } +}; + +var src = Encoding; + +/* eslint quote-props: 0*/ + +var charsets$3 = { + '866': 'IBM866', + 'unicode-1-1-utf-8': 'UTF-8', + 'utf-8': 'UTF-8', + utf8: 'UTF-8', + cp866: 'IBM866', + csibm866: 'IBM866', + ibm866: 'IBM866', + csisolatin2: 'ISO-8859-2', + 'iso-8859-2': 'ISO-8859-2', + 'iso-ir-101': 'ISO-8859-2', + 'iso8859-2': 'ISO-8859-2', + iso88592: 'ISO-8859-2', + 'iso_8859-2': 'ISO-8859-2', + 'iso_8859-2:1987': 'ISO-8859-2', + l2: 'ISO-8859-2', + latin2: 'ISO-8859-2', + csisolatin3: 'ISO-8859-3', + 'iso-8859-3': 'ISO-8859-3', + 'iso-ir-109': 'ISO-8859-3', + 'iso8859-3': 'ISO-8859-3', + iso88593: 'ISO-8859-3', + 'iso_8859-3': 'ISO-8859-3', + 'iso_8859-3:1988': 'ISO-8859-3', + l3: 'ISO-8859-3', + latin3: 'ISO-8859-3', + csisolatin4: 'ISO-8859-4', + 'iso-8859-4': 'ISO-8859-4', + 'iso-ir-110': 'ISO-8859-4', + 'iso8859-4': 'ISO-8859-4', + iso88594: 'ISO-8859-4', + 'iso_8859-4': 'ISO-8859-4', + 'iso_8859-4:1988': 'ISO-8859-4', + l4: 'ISO-8859-4', + latin4: 'ISO-8859-4', + csisolatincyrillic: 'ISO-8859-5', + cyrillic: 'ISO-8859-5', + 'iso-8859-5': 'ISO-8859-5', + 'iso-ir-144': 'ISO-8859-5', + 'iso8859-5': 'ISO-8859-5', + iso88595: 'ISO-8859-5', + 'iso_8859-5': 'ISO-8859-5', + 'iso_8859-5:1988': 'ISO-8859-5', + arabic: 'ISO-8859-6', + 'asmo-708': 'ISO-8859-6', + csiso88596e: 'ISO-8859-6', + csiso88596i: 'ISO-8859-6', + csisolatinarabic: 'ISO-8859-6', + 'ecma-114': 'ISO-8859-6', + 'iso-8859-6': 'ISO-8859-6', + 'iso-8859-6-e': 'ISO-8859-6', + 'iso-8859-6-i': 'ISO-8859-6', + 'iso-ir-127': 'ISO-8859-6', + 'iso8859-6': 'ISO-8859-6', + iso88596: 'ISO-8859-6', + 'iso_8859-6': 'ISO-8859-6', + 'iso_8859-6:1987': 'ISO-8859-6', + csisolatingreek: 'ISO-8859-7', + 'ecma-118': 'ISO-8859-7', + elot_928: 'ISO-8859-7', + greek: 'ISO-8859-7', + greek8: 'ISO-8859-7', + 'iso-8859-7': 'ISO-8859-7', + 'iso-ir-126': 'ISO-8859-7', + 'iso8859-7': 'ISO-8859-7', + iso88597: 'ISO-8859-7', + 'iso_8859-7': 'ISO-8859-7', + 'iso_8859-7:1987': 'ISO-8859-7', + sun_eu_greek: 'ISO-8859-7', + csiso88598e: 'ISO-8859-8', + csisolatinhebrew: 'ISO-8859-8', + hebrew: 'ISO-8859-8', + 'iso-8859-8': 'ISO-8859-8', + 'iso-8859-8-e': 'ISO-8859-8', + 'iso-8859-8-i': 'ISO-8859-8', + 'iso-ir-138': 'ISO-8859-8', + 'iso8859-8': 'ISO-8859-8', + iso88598: 'ISO-8859-8', + 'iso_8859-8': 'ISO-8859-8', + 'iso_8859-8:1988': 'ISO-8859-8', + visual: 'ISO-8859-8', + csisolatin6: 'ISO-8859-10', + 'iso-8859-10': 'ISO-8859-10', + 'iso-ir-157': 'ISO-8859-10', + 'iso8859-10': 'ISO-8859-10', + iso885910: 'ISO-8859-10', + l6: 'ISO-8859-10', + latin6: 'ISO-8859-10', + 'iso-8859-13': 'ISO-8859-13', + 'iso8859-13': 'ISO-8859-13', + iso885913: 'ISO-8859-13', + 'iso-8859-14': 'ISO-8859-14', + 'iso8859-14': 'ISO-8859-14', + iso885914: 'ISO-8859-14', + csisolatin9: 'ISO-8859-15', + 'iso-8859-15': 'ISO-8859-15', + 'iso8859-15': 'ISO-8859-15', + iso885915: 'ISO-8859-15', + 'iso_8859-15': 'ISO-8859-15', + l9: 'ISO-8859-15', + 'iso-8859-16': 'ISO-8859-16', + cskoi8r: 'KOI8-R', + koi: 'KOI8-R', + koi8: 'KOI8-R', + 'koi8-r': 'KOI8-R', + koi8_r: 'KOI8-R', + 'koi8-ru': 'KOI8-U', + 'koi8-u': 'KOI8-U', + csmacintosh: 'macintosh', + mac: 'macintosh', + macintosh: 'macintosh', + 'x-mac-roman': 'macintosh', + 'dos-874': 'windows-874', + 'iso-8859-11': 'windows-874', + 'iso8859-11': 'windows-874', + iso885911: 'windows-874', + 'tis-620': 'windows-874', + 'windows-874': 'windows-874', + cp1250: 'windows-1250', + 'windows-1250': 'windows-1250', + 'x-cp1250': 'windows-1250', + cp1251: 'windows-1251', + 'windows-1251': 'windows-1251', + 'x-cp1251': 'windows-1251', + 'ansi_x3.4-1968': 'windows-1252', + ascii: 'windows-1252', + cp1252: 'windows-1252', + cp819: 'windows-1252', + csisolatin1: 'windows-1252', + ibm819: 'windows-1252', + 'iso-8859-1': 'windows-1252', + 'iso-ir-100': 'windows-1252', + 'iso8859-1': 'windows-1252', + iso88591: 'windows-1252', + 'iso_8859-1': 'windows-1252', + 'iso_8859-1:1987': 'windows-1252', + l1: 'windows-1252', + latin1: 'windows-1252', + 'us-ascii': 'windows-1252', + 'windows-1252': 'windows-1252', + 'x-cp1252': 'windows-1252', + cp1253: 'windows-1253', + 'windows-1253': 'windows-1253', + 'x-cp1253': 'windows-1253', + cp1254: 'windows-1254', + csisolatin5: 'windows-1254', + 'iso-8859-9': 'windows-1254', + 'iso-ir-148': 'windows-1254', + 'iso8859-9': 'windows-1254', + iso88599: 'windows-1254', + 'iso_8859-9': 'windows-1254', + 'iso_8859-9:1989': 'windows-1254', + l5: 'windows-1254', + latin5: 'windows-1254', + 'windows-1254': 'windows-1254', + 'x-cp1254': 'windows-1254', + cp1255: 'windows-1255', + 'windows-1255': 'windows-1255', + 'x-cp1255': 'windows-1255', + cp1256: 'windows-1256', + 'windows-1256': 'windows-1256', + 'x-cp1256': 'windows-1256', + cp1257: 'windows-1257', + 'windows-1257': 'windows-1257', + 'x-cp1257': 'windows-1257', + cp1258: 'windows-1258', + 'windows-1258': 'windows-1258', + 'x-cp1258': 'windows-1258', + chinese: 'GBK', + csgb2312: 'GBK', + csiso58gb231280: 'GBK', + gb2312: 'GBK', + gb_2312: 'GBK', + 'gb_2312-80': 'GBK', + gbk: 'GBK', + 'iso-ir-58': 'GBK', + 'x-gbk': 'GBK', + gb18030: 'gb18030', + big5: 'Big5', + 'big5-hkscs': 'Big5', + 'cn-big5': 'Big5', + csbig5: 'Big5', + 'x-x-big5': 'Big5', + cseucpkdfmtjapanese: 'EUC-JP', + 'euc-jp': 'EUC-JP', + 'x-euc-jp': 'EUC-JP', + csshiftjis: 'Shift_JIS', + ms932: 'Shift_JIS', + ms_kanji: 'Shift_JIS', + 'shift-jis': 'Shift_JIS', + shift_jis: 'Shift_JIS', + sjis: 'Shift_JIS', + 'windows-31j': 'Shift_JIS', + 'x-sjis': 'Shift_JIS', + cseuckr: 'EUC-KR', + csksc56011987: 'EUC-KR', + 'euc-kr': 'EUC-KR', + 'iso-ir-149': 'EUC-KR', + korean: 'EUC-KR', + 'ks_c_5601-1987': 'EUC-KR', + 'ks_c_5601-1989': 'EUC-KR', + ksc5601: 'EUC-KR', + ksc_5601: 'EUC-KR', + 'windows-949': 'EUC-KR', + 'utf-16be': 'UTF-16BE', + 'utf-16': 'UTF-16LE', + 'utf-16le': 'UTF-16LE' +}; + +const iconv$1 = libExports; +const encodingJapanese$2 = src; +const charsets$2 = charsets$3; + +/** + * Character set encoding and decoding functions + */ +const charset$2 = (charset$3.exports = { + /** + * Encodes an unicode string into an Buffer object as UTF-8 + * + * We force UTF-8 here, no strange encodings allowed. + * + * @param {String} str String to be encoded + * @return {Buffer} UTF-8 encoded typed array + */ + encode(str) { + return Buffer.from(str, 'utf-8'); + }, + + /** + * Decodes a string from Buffer to an unicode string using specified encoding + * NB! Throws if unknown charset is used + * + * @param {Buffer} buf Binary data to be decoded + * @param {String} [fromCharset='UTF-8'] Binary data is decoded into string using this charset + * @return {String} Decded string + */ + decode(buf, fromCharset) { + fromCharset = charset$2.normalizeCharset(fromCharset || 'UTF-8'); + + if (/^(us-)?ascii|utf-8|7bit$/i.test(fromCharset)) { + return buf.toString('utf-8'); + } + + try { + if (/^jis|^iso-?2022-?jp|^EUCJP/i.test(fromCharset)) { + if (typeof buf === 'string') { + buf = Buffer.from(buf); + } + try { + let output = encodingJapanese$2.convert(buf, { + to: 'UNICODE', + from: fromCharset, + type: 'string' + }); + if (typeof output === 'string') { + output = Buffer.from(output); + } + return output; + } catch (err) { + // ignore, defaults to iconv-lite on error + } + } + + return iconv$1.decode(buf, fromCharset); + } catch (err) { + // enforce utf-8, data loss might occur + return buf.toString(); + } + }, + + /** + * Convert a string from specific encoding to UTF-8 Buffer + * + * @param {String|Buffer} str String to be encoded + * @param {String} [fromCharset='UTF-8'] Source encoding for the string + * @return {Buffer} UTF-8 encoded typed array + */ + convert(data, fromCharset) { + fromCharset = charset$2.normalizeCharset(fromCharset || 'UTF-8'); + + let bufString; + + if (typeof data !== 'string') { + if (/^(us-)?ascii|utf-8|7bit$/i.test(fromCharset)) { + return data; + } + + bufString = charset$2.decode(data, fromCharset); + return charset$2.encode(bufString); + } + return charset$2.encode(data); + }, + + /** + * Converts well known invalid character set names to proper names. + * eg. win-1257 will be converted to WINDOWS-1257 + * + * @param {String} charset Charset name to convert + * @return {String} Canoninicalized charset name + */ + normalizeCharset(charset) { + charset = charset.toLowerCase().trim(); + + // first pass + if (charsets$2.hasOwnProperty(charset) && charsets$2[charset]) { + return charsets$2[charset]; + } + + charset = charset + .replace(/^utf[-_]?(\d+)/, 'utf-$1') + .replace(/^(?:us[-_]?)ascii/, 'windows-1252') + .replace(/^win(?:dows)?[-_]?(\d+)/, 'windows-$1') + .replace(/^(?:latin|iso[-_]?8859)?[-_]?(\d+)/, 'iso-8859-$1') + .replace(/^l[-_]?(\d+)/, 'iso-8859-$1'); + + // updated pass + if (charsets$2.hasOwnProperty(charset) && charsets$2[charset]) { + return charsets$2[charset]; + } + + return charset.toUpperCase(); + } +}); + +const stream$2 = require$$0$7; +const Transform$9 = stream$2.Transform; + +/** + * Encodes a Buffer into a base64 encoded string + * + * @param {Buffer} buffer Buffer to convert + * @returns {String} base64 encoded string + */ +function encode$1(buffer) { + if (typeof buffer === 'string') { + buffer = Buffer.from(buffer, 'utf-8'); + } + + return buffer.toString('base64'); +} + +/** + * Decodes a base64 encoded string to a Buffer object + * + * @param {String} str base64 encoded string + * @returns {Buffer} Decoded value + */ +function decode$1(str) { + str = str || ''; + return Buffer.from(str, 'base64'); +} + +/** + * Adds soft line breaks to a base64 string + * + * @param {String} str base64 encoded string that might need line wrapping + * @param {Number} [lineLength=76] Maximum allowed length for a line + * @returns {String} Soft-wrapped base64 encoded string + */ +function wrap$1(str, lineLength) { + str = (str || '').toString(); + lineLength = lineLength || 76; + + if (str.length <= lineLength) { + return str; + } + + let result = []; + let pos = 0; + let chunkLength = lineLength * 1024; + while (pos < str.length) { + let wrappedLines = str + .substr(pos, chunkLength) + .replace(new RegExp('.{' + lineLength + '}', 'g'), '$&\r\n') + .trim(); + result.push(wrappedLines); + pos += chunkLength; + } + + return result.join('\r\n').trim(); +} + +/** + * Creates a transform stream for encoding data to base64 encoding + * + * @constructor + * @param {Object} options Stream options + * @param {Number} [options.lineLength=76] Maximum lenght for lines, set to false to disable wrapping + */ +let Encoder$1 = class Encoder extends Transform$9 { + constructor(options) { + super(); + // init Transform + this.options = options || {}; + + if (this.options.lineLength !== false) { + this.options.lineLength = Number(this.options.lineLength) || 76; + } + + this.skipStartBytes = Number(this.options.skipStartBytes) || 0; + this.limitOutbutBytes = Number(this.options.limitOutbutBytes) || 0; + + // startPadding can be used together with skipStartBytes + this._curLine = this.options.startPadding || ''; + this._remainingBytes = false; + + this.inputBytes = 0; + this.outputBytes = 0; + } + + _writeChunk(chunk /*, isFinal */) { + if (this.skipStartBytes) { + if (chunk.length <= this.skipStartBytes) { + this.skipStartBytes -= chunk.length; + return; + } + + chunk = chunk.slice(this.skipStartBytes); + this.skipStartBytes = 0; + } + + if (this.limitOutbutBytes) { + if (this.outputBytes + chunk.length <= this.limitOutbutBytes) ; else if (this.outputBytes >= this.limitOutbutBytes) { + // chunks already processed + return; + } else { + // use partial chunk + chunk = chunk.slice(0, this.limitOutbutBytes - this.outputBytes); + } + } + + this.outputBytes += chunk.length; + this.push(chunk); + } + + _getWrapped(str, isFinal) { + str = wrap$1(str, this.options.lineLength); + if (!isFinal && str.length === this.options.lineLength) { + str += '\r\n'; + } + return str; + } + + _transform(chunk, encoding, done) { + if (encoding !== 'buffer') { + chunk = Buffer.from(chunk, encoding); + } + + if (!chunk || !chunk.length) { + return setImmediate(done); + } + + this.inputBytes += chunk.length; + + if (this._remainingBytes && this._remainingBytes.length) { + chunk = Buffer.concat([this._remainingBytes, chunk], this._remainingBytes.length + chunk.length); + this._remainingBytes = false; + } + + if (chunk.length % 3) { + this._remainingBytes = chunk.slice(chunk.length - (chunk.length % 3)); + chunk = chunk.slice(0, chunk.length - (chunk.length % 3)); + } else { + this._remainingBytes = false; + } + + let b64 = this._curLine + encode$1(chunk); + + if (this.options.lineLength) { + b64 = this._getWrapped(b64); + + // remove last line as it is still most probably incomplete + let lastLF = b64.lastIndexOf('\n'); + if (lastLF < 0) { + this._curLine = b64; + b64 = ''; + } else if (lastLF === b64.length - 1) { + this._curLine = ''; + } else { + this._curLine = b64.substr(lastLF + 1); + b64 = b64.substr(0, lastLF + 1); + } + } + + if (b64) { + this._writeChunk(Buffer.from(b64, 'ascii'), false); + } + + setImmediate(done); + } + + _flush(done) { + if (this._remainingBytes && this._remainingBytes.length) { + this._curLine += encode$1(this._remainingBytes); + } + + if (this._curLine) { + this._curLine = this._getWrapped(this._curLine, true); + this._writeChunk(Buffer.from(this._curLine, 'ascii'), true); + this._curLine = ''; + } + done(); + } +}; + +/** + * Creates a transform stream for decoding base64 encoded strings + * + * @constructor + * @param {Object} options Stream options + */ +let Decoder$1 = class Decoder extends Transform$9 { + constructor(options) { + super(); + // init Transform + this.options = options || {}; + this._curLine = ''; + + this.inputBytes = 0; + this.outputBytes = 0; + } + + _transform(chunk, encoding, done) { + if (!chunk || !chunk.length) { + return setImmediate(done); + } + + this.inputBytes += chunk.length; + + let b64 = this._curLine + chunk.toString('ascii'); + this._curLine = ''; + + if (/[^a-zA-Z0-9+/=]/.test(b64)) { + b64 = b64.replace(/[^a-zA-Z0-9+/=]/g, ''); + } + + if (b64.length < 4) { + this._curLine = b64; + b64 = ''; + } else if (b64.length % 4) { + this._curLine = b64.substr(-b64.length % 4); + b64 = b64.substr(0, b64.length - this._curLine.length); + } + + if (b64) { + let buf = decode$1(b64); + this.outputBytes += buf.length; + this.push(buf); + } + + setImmediate(done); + } + + _flush(done) { + if (this._curLine) { + let buf = decode$1(this._curLine); + this.outputBytes += buf.length; + this.push(buf); + this._curLine = ''; + } + setImmediate(done); + } +}; + +// expose to the world +var libbase64$4 = { + encode: encode$1, + decode: decode$1, + wrap: wrap$1, + Encoder: Encoder$1, + Decoder: Decoder$1 +}; + +/* eslint no-useless-escape: 0 */ + +const stream$1 = require$$0$7; +const Transform$8 = stream$1.Transform; + +/** + * Encodes a Buffer into a Quoted-Printable encoded string + * + * @param {Buffer} buffer Buffer to convert + * @returns {String} Quoted-Printable encoded string + */ +function encode(buffer) { + if (typeof buffer === 'string') { + buffer = Buffer.from(buffer, 'utf-8'); + } + + // usable characters that do not need encoding + let ranges = [ + // https://tools.ietf.org/html/rfc2045#section-6.7 + [0x09], // + [0x0a], // + [0x0d], // + [0x20, 0x3c], // !"#$%&'()*+,-./0123456789:; + [0x3e, 0x7e] // >?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} + ]; + let result = ''; + let ord; + + for (let i = 0, len = buffer.length; i < len; i++) { + ord = buffer[i]; + // if the char is in allowed range, then keep as is, unless it is a ws in the end of a line + if (checkRanges(ord, ranges) && !((ord === 0x20 || ord === 0x09) && (i === len - 1 || buffer[i + 1] === 0x0a || buffer[i + 1] === 0x0d))) { + result += String.fromCharCode(ord); + continue; + } + result += '=' + (ord < 0x10 ? '0' : '') + ord.toString(16).toUpperCase(); + } + + return result; +} + +/** + * Decodes a Quoted-Printable encoded string to a Buffer object + * + * @param {String} str Quoted-Printable encoded string + * @returns {Buffer} Decoded value + */ +function decode(str) { + str = (str || '') + .toString() + // remove invalid whitespace from the end of lines + .replace(/[\t ]+$/gm, '') + // remove soft line breaks + .replace(/\=(?:\r?\n|$)/g, ''); + + let encodedBytesCount = (str.match(/\=[\da-fA-F]{2}/g) || []).length, + bufferLength = str.length - encodedBytesCount * 2, + chr, + hex, + buffer = Buffer.alloc(bufferLength), + bufferPos = 0; + + for (let i = 0, len = str.length; i < len; i++) { + chr = str.charAt(i); + if (chr === '=' && (hex = str.substr(i + 1, 2)) && /[\da-fA-F]{2}/.test(hex)) { + buffer[bufferPos++] = parseInt(hex, 16); + i += 2; + continue; + } + buffer[bufferPos++] = chr.charCodeAt(0); + } + + return buffer; +} + +/** + * Adds soft line breaks to a Quoted-Printable string + * + * @param {String} str Quoted-Printable encoded string that might need line wrapping + * @param {Number} [lineLength=76] Maximum allowed length for a line + * @returns {String} Soft-wrapped Quoted-Printable encoded string + */ +function wrap(str, lineLength) { + str = (str || '').toString(); + lineLength = lineLength || 76; + + if (str.length <= lineLength) { + return str; + } + + let pos = 0, + len = str.length, + match, + code, + line, + lineMargin = Math.floor(lineLength / 3), + result = ''; + + // insert soft linebreaks where needed + while (pos < len) { + line = str.substr(pos, lineLength); + if ((match = line.match(/\r\n/))) { + line = line.substr(0, match.index + match[0].length); + result += line; + pos += line.length; + continue; + } + + if (line.substr(-1) === '\n') { + // nothing to change here + result += line; + pos += line.length; + continue; + } else if ((match = line.substr(-lineMargin).match(/\n.*?$/))) { + // truncate to nearest line break + line = line.substr(0, line.length - (match[0].length - 1)); + result += line; + pos += line.length; + continue; + } else if (line.length > lineLength - lineMargin && (match = line.substr(-lineMargin).match(/[ \t\.,!\?][^ \t\.,!\?]*$/))) { + // truncate to nearest space + line = line.substr(0, line.length - (match[0].length - 1)); + } else if (line.match(/\=[\da-f]{0,2}$/i)) { + // push incomplete encoding sequences to the next line + if ((match = line.match(/\=[\da-f]{0,1}$/i))) { + line = line.substr(0, line.length - match[0].length); + } + + // ensure that utf-8 sequences are not split + while (line.length > 3 && line.length < len - pos && !line.match(/^(?:=[\da-f]{2}){1,4}$/i) && (match = line.match(/\=[\da-f]{2}$/gi))) { + code = parseInt(match[0].substr(1, 2), 16); + if (code < 128) { + break; + } + + line = line.substr(0, line.length - 3); + + if (code >= 0xc0) { + break; + } + } + } + + if (pos + line.length < len && line.substr(-1) !== '\n') { + if (line.length === lineLength && line.match(/\=[\da-f]{2}$/i)) { + line = line.substr(0, line.length - 3); + } else if (line.length === lineLength) { + line = line.substr(0, line.length - 1); + } + pos += line.length; + line += '=\r\n'; + } else { + pos += line.length; + } + + result += line; + } + + return result; +} + +/** + * Helper function to check if a number is inside provided ranges + * + * @param {Number} nr Number to check for + * @param {Array} ranges An Array of allowed values + * @returns {Boolean} True if the value was found inside allowed ranges, false otherwise + */ +function checkRanges(nr, ranges) { + for (let i = ranges.length - 1; i >= 0; i--) { + if (!ranges[i].length) { + continue; + } + if (ranges[i].length === 1 && nr === ranges[i][0]) { + return true; + } + if (ranges[i].length === 2 && nr >= ranges[i][0] && nr <= ranges[i][1]) { + return true; + } + } + return false; +} + +/** + * Creates a transform stream for encoding data to Quoted-Printable encoding + * + * @constructor + * @param {Object} options Stream options + * @param {Number} [options.lineLength=76] Maximum lenght for lines, set to false to disable wrapping + */ +class Encoder extends Transform$8 { + constructor(options) { + super(); + + // init Transform + this.options = options || {}; + + if (this.options.lineLength !== false) { + this.options.lineLength = this.options.lineLength || 76; + } + + this._curLine = ''; + + this.inputBytes = 0; + this.outputBytes = 0; + + Transform$8.call(this, this.options); + } + + _transform(chunk, encoding, done) { + let qp; + + if (encoding !== 'buffer') { + chunk = Buffer.from(chunk, encoding); + } + + if (!chunk || !chunk.length) { + return done(); + } + + this.inputBytes += chunk.length; + + if (this.options.lineLength) { + qp = this._curLine + encode(chunk); + qp = wrap(qp, this.options.lineLength); + qp = qp.replace(/(^|\n)([^\n]*)$/, (match, lineBreak, lastLine) => { + this._curLine = lastLine; + return lineBreak; + }); + + if (qp) { + this.outputBytes += qp.length; + this.push(qp); + } + } else { + qp = encode(chunk); + this.outputBytes += qp.length; + this.push(qp, 'ascii'); + } + + done(); + } + + _flush(done) { + if (this._curLine) { + this.outputBytes += this._curLine.length; + this.push(this._curLine, 'ascii'); + } + done(); + } +} + +/** + * Creates a transform stream for decoding Quoted-Printable encoded strings + * + * @constructor + * @param {Object} options Stream options + */ +class Decoder extends Transform$8 { + constructor(options) { + options = options || {}; + super(options); + + // init Transform + this.options = options; + this._curLine = ''; + + this.inputBytes = 0; + this.outputBytes = 0; + } + + _transform(chunk, encoding, done) { + let qp, buf; + + chunk = chunk.toString('ascii'); + + if (!chunk || !chunk.length) { + return done(); + } + + this.inputBytes += chunk.length; + + qp = this._curLine + chunk; + this._curLine = ''; + qp = qp.replace(/\=[^\n]?$/, lastLine => { + this._curLine = lastLine; + return ''; + }); + + if (qp) { + buf = decode(qp); + this.outputBytes += buf.length; + this.push(buf); + } + + done(); + } + + _flush(done) { + let buf; + if (this._curLine) { + buf = decode(this._curLine); + this.outputBytes += buf.length; + this.push(buf); + } + done(); + } +} + +// expose to the world +var libqp$4 = { + encode, + decode, + wrap, + Encoder, + Decoder +}; + +/* eslint quote-props: 0 */ + +var mimetypes$3 = { + list: { + 'application/acad': 'dwg', + 'application/applixware': 'aw', + 'application/arj': 'arj', + 'application/atom+xml': 'xml', + 'application/atomcat+xml': 'atomcat', + 'application/atomsvc+xml': 'atomsvc', + 'application/base64': ['mm', 'mme'], + 'application/binhex': 'hqx', + 'application/binhex4': 'hqx', + 'application/book': ['book', 'boo'], + 'application/ccxml+xml,': 'ccxml', + 'application/cdf': 'cdf', + 'application/cdmi-capability': 'cdmia', + 'application/cdmi-container': 'cdmic', + 'application/cdmi-domain': 'cdmid', + 'application/cdmi-object': 'cdmio', + 'application/cdmi-queue': 'cdmiq', + 'application/clariscad': 'ccad', + 'application/commonground': 'dp', + 'application/cu-seeme': 'cu', + 'application/davmount+xml': 'davmount', + 'application/drafting': 'drw', + 'application/dsptype': 'tsp', + 'application/dssc+der': 'dssc', + 'application/dssc+xml': 'xdssc', + 'application/dxf': 'dxf', + 'application/ecmascript': ['js', 'es'], + 'application/emma+xml': 'emma', + 'application/envoy': 'evy', + 'application/epub+zip': 'epub', + 'application/excel': ['xls', 'xl', 'xla', 'xlb', 'xlc', 'xld', 'xlk', 'xll', 'xlm', 'xlt', 'xlv', 'xlw'], + 'application/exi': 'exi', + 'application/font-tdpfr': 'pfr', + 'application/fractals': 'fif', + 'application/freeloader': 'frl', + 'application/futuresplash': 'spl', + 'application/gnutar': 'tgz', + 'application/groupwise': 'vew', + 'application/hlp': 'hlp', + 'application/hta': 'hta', + 'application/hyperstudio': 'stk', + 'application/i-deas': 'unv', + 'application/iges': ['iges', 'igs'], + 'application/inf': 'inf', + 'application/internet-property-stream': 'acx', + 'application/ipfix': 'ipfix', + 'application/java': 'class', + 'application/java-archive': 'jar', + 'application/java-byte-code': 'class', + 'application/java-serialized-object': 'ser', + 'application/java-vm': 'class', + 'application/javascript': 'js', + 'application/json': 'json', + 'application/lha': 'lha', + 'application/lzx': 'lzx', + 'application/mac-binary': 'bin', + 'application/mac-binhex': 'hqx', + 'application/mac-binhex40': 'hqx', + 'application/mac-compactpro': 'cpt', + 'application/macbinary': 'bin', + 'application/mads+xml': 'mads', + 'application/marc': 'mrc', + 'application/marcxml+xml': 'mrcx', + 'application/mathematica': 'ma', + 'application/mathml+xml': 'mathml', + 'application/mbedlet': 'mbd', + 'application/mbox': 'mbox', + 'application/mcad': 'mcd', + 'application/mediaservercontrol+xml': 'mscml', + 'application/metalink4+xml': 'meta4', + 'application/mets+xml': 'mets', + 'application/mime': 'aps', + 'application/mods+xml': 'mods', + 'application/mp21': 'm21', + 'application/mp4': 'mp4', + 'application/mspowerpoint': ['ppt', 'pot', 'pps', 'ppz'], + 'application/msword': ['doc', 'dot', 'w6w', 'wiz', 'word'], + 'application/mswrite': 'wri', + 'application/mxf': 'mxf', + 'application/netmc': 'mcp', + 'application/octet-stream': ['*'], + 'application/oda': 'oda', + 'application/oebps-package+xml': 'opf', + 'application/ogg': 'ogx', + 'application/olescript': 'axs', + 'application/onenote': 'onetoc', + 'application/patch-ops-error+xml': 'xer', + 'application/pdf': 'pdf', + 'application/pgp-encrypted': 'asc', + 'application/pgp-signature': 'pgp', + 'application/pics-rules': 'prf', + 'application/pkcs-12': 'p12', + 'application/pkcs-crl': 'crl', + 'application/pkcs10': 'p10', + 'application/pkcs7-mime': ['p7c', 'p7m'], + 'application/pkcs7-signature': 'p7s', + 'application/pkcs8': 'p8', + 'application/pkix-attr-cert': 'ac', + 'application/pkix-cert': ['cer', 'crt'], + 'application/pkix-crl': 'crl', + 'application/pkix-pkipath': 'pkipath', + 'application/pkixcmp': 'pki', + 'application/plain': 'text', + 'application/pls+xml': 'pls', + 'application/postscript': ['ps', 'ai', 'eps'], + 'application/powerpoint': 'ppt', + 'application/pro_eng': ['part', 'prt'], + 'application/prs.cww': 'cww', + 'application/pskc+xml': 'pskcxml', + 'application/rdf+xml': 'rdf', + 'application/reginfo+xml': 'rif', + 'application/relax-ng-compact-syntax': 'rnc', + 'application/resource-lists+xml': 'rl', + 'application/resource-lists-diff+xml': 'rld', + 'application/ringing-tones': 'rng', + 'application/rls-services+xml': 'rs', + 'application/rsd+xml': 'rsd', + 'application/rss+xml': 'xml', + 'application/rtf': ['rtf', 'rtx'], + 'application/sbml+xml': 'sbml', + 'application/scvp-cv-request': 'scq', + 'application/scvp-cv-response': 'scs', + 'application/scvp-vp-request': 'spq', + 'application/scvp-vp-response': 'spp', + 'application/sdp': 'sdp', + 'application/sea': 'sea', + 'application/set': 'set', + 'application/set-payment-initiation': 'setpay', + 'application/set-registration-initiation': 'setreg', + 'application/shf+xml': 'shf', + 'application/sla': 'stl', + 'application/smil': ['smi', 'smil'], + 'application/smil+xml': 'smi', + 'application/solids': 'sol', + 'application/sounder': 'sdr', + 'application/sparql-query': 'rq', + 'application/sparql-results+xml': 'srx', + 'application/srgs': 'gram', + 'application/srgs+xml': 'grxml', + 'application/sru+xml': 'sru', + 'application/ssml+xml': 'ssml', + 'application/step': ['step', 'stp'], + 'application/streamingmedia': 'ssm', + 'application/tei+xml': 'tei', + 'application/thraud+xml': 'tfi', + 'application/timestamped-data': 'tsd', + 'application/toolbook': 'tbk', + 'application/vda': 'vda', + 'application/vnd.3gpp.pic-bw-large': 'plb', + 'application/vnd.3gpp.pic-bw-small': 'psb', + 'application/vnd.3gpp.pic-bw-var': 'pvb', + 'application/vnd.3gpp2.tcap': 'tcap', + 'application/vnd.3m.post-it-notes': 'pwn', + 'application/vnd.accpac.simply.aso': 'aso', + 'application/vnd.accpac.simply.imp': 'imp', + 'application/vnd.acucobol': 'acu', + 'application/vnd.acucorp': 'atc', + 'application/vnd.adobe.air-application-installer-package+zip': 'air', + 'application/vnd.adobe.fxp': 'fxp', + 'application/vnd.adobe.xdp+xml': 'xdp', + 'application/vnd.adobe.xfdf': 'xfdf', + 'application/vnd.ahead.space': 'ahead', + 'application/vnd.airzip.filesecure.azf': 'azf', + 'application/vnd.airzip.filesecure.azs': 'azs', + 'application/vnd.amazon.ebook': 'azw', + 'application/vnd.americandynamics.acc': 'acc', + 'application/vnd.amiga.ami': 'ami', + 'application/vnd.android.package-archive': 'apk', + 'application/vnd.anser-web-certificate-issue-initiation': 'cii', + 'application/vnd.anser-web-funds-transfer-initiation': 'fti', + 'application/vnd.antix.game-component': 'atx', + 'application/vnd.apple.installer+xml': 'mpkg', + 'application/vnd.apple.mpegurl': 'm3u8', + 'application/vnd.aristanetworks.swi': 'swi', + 'application/vnd.audiograph': 'aep', + 'application/vnd.blueice.multipass': 'mpm', + 'application/vnd.bmi': 'bmi', + 'application/vnd.businessobjects': 'rep', + 'application/vnd.chemdraw+xml': 'cdxml', + 'application/vnd.chipnuts.karaoke-mmd': 'mmd', + 'application/vnd.cinderella': 'cdy', + 'application/vnd.claymore': 'cla', + 'application/vnd.cloanto.rp9': 'rp9', + 'application/vnd.clonk.c4group': 'c4g', + 'application/vnd.cluetrust.cartomobile-config': 'c11amc', + 'application/vnd.cluetrust.cartomobile-config-pkg': 'c11amz', + 'application/vnd.commonspace': 'csp', + 'application/vnd.contact.cmsg': 'cdbcmsg', + 'application/vnd.cosmocaller': 'cmc', + 'application/vnd.crick.clicker': 'clkx', + 'application/vnd.crick.clicker.keyboard': 'clkk', + 'application/vnd.crick.clicker.palette': 'clkp', + 'application/vnd.crick.clicker.template': 'clkt', + 'application/vnd.crick.clicker.wordbank': 'clkw', + 'application/vnd.criticaltools.wbs+xml': 'wbs', + 'application/vnd.ctc-posml': 'pml', + 'application/vnd.cups-ppd': 'ppd', + 'application/vnd.curl.car': 'car', + 'application/vnd.curl.pcurl': 'pcurl', + 'application/vnd.data-vision.rdz': 'rdz', + 'application/vnd.denovo.fcselayout-link': 'fe_launch', + 'application/vnd.dna': 'dna', + 'application/vnd.dolby.mlp': 'mlp', + 'application/vnd.dpgraph': 'dpg', + 'application/vnd.dreamfactory': 'dfac', + 'application/vnd.dvb.ait': 'ait', + 'application/vnd.dvb.service': 'svc', + 'application/vnd.dynageo': 'geo', + 'application/vnd.ecowin.chart': 'mag', + 'application/vnd.enliven': 'nml', + 'application/vnd.epson.esf': 'esf', + 'application/vnd.epson.msf': 'msf', + 'application/vnd.epson.quickanime': 'qam', + 'application/vnd.epson.salt': 'slt', + 'application/vnd.epson.ssf': 'ssf', + 'application/vnd.eszigno3+xml': 'es3', + 'application/vnd.ezpix-album': 'ez2', + 'application/vnd.ezpix-package': 'ez3', + 'application/vnd.fdf': 'fdf', + 'application/vnd.fdsn.seed': 'seed', + 'application/vnd.flographit': 'gph', + 'application/vnd.fluxtime.clip': 'ftc', + 'application/vnd.framemaker': 'fm', + 'application/vnd.frogans.fnc': 'fnc', + 'application/vnd.frogans.ltf': 'ltf', + 'application/vnd.fsc.weblaunch': 'fsc', + 'application/vnd.fujitsu.oasys': 'oas', + 'application/vnd.fujitsu.oasys2': 'oa2', + 'application/vnd.fujitsu.oasys3': 'oa3', + 'application/vnd.fujitsu.oasysgp': 'fg5', + 'application/vnd.fujitsu.oasysprs': 'bh2', + 'application/vnd.fujixerox.ddd': 'ddd', + 'application/vnd.fujixerox.docuworks': 'xdw', + 'application/vnd.fujixerox.docuworks.binder': 'xbd', + 'application/vnd.fuzzysheet': 'fzs', + 'application/vnd.genomatix.tuxedo': 'txd', + 'application/vnd.geogebra.file': 'ggb', + 'application/vnd.geogebra.tool': 'ggt', + 'application/vnd.geometry-explorer': 'gex', + 'application/vnd.geonext': 'gxt', + 'application/vnd.geoplan': 'g2w', + 'application/vnd.geospace': 'g3w', + 'application/vnd.gmx': 'gmx', + 'application/vnd.google-earth.kml+xml': 'kml', + 'application/vnd.google-earth.kmz': 'kmz', + 'application/vnd.grafeq': 'gqf', + 'application/vnd.groove-account': 'gac', + 'application/vnd.groove-help': 'ghf', + 'application/vnd.groove-identity-message': 'gim', + 'application/vnd.groove-injector': 'grv', + 'application/vnd.groove-tool-message': 'gtm', + 'application/vnd.groove-tool-template': 'tpl', + 'application/vnd.groove-vcard': 'vcg', + 'application/vnd.hal+xml': 'hal', + 'application/vnd.handheld-entertainment+xml': 'zmm', + 'application/vnd.hbci': 'hbci', + 'application/vnd.hhe.lesson-player': 'les', + 'application/vnd.hp-hpgl': ['hgl', 'hpg', 'hpgl'], + 'application/vnd.hp-hpid': 'hpid', + 'application/vnd.hp-hps': 'hps', + 'application/vnd.hp-jlyt': 'jlt', + 'application/vnd.hp-pcl': 'pcl', + 'application/vnd.hp-pclxl': 'pclxl', + 'application/vnd.hydrostatix.sof-data': 'sfd-hdstx', + 'application/vnd.hzn-3d-crossword': 'x3d', + 'application/vnd.ibm.minipay': 'mpy', + 'application/vnd.ibm.modcap': 'afp', + 'application/vnd.ibm.rights-management': 'irm', + 'application/vnd.ibm.secure-container': 'sc', + 'application/vnd.iccprofile': 'icc', + 'application/vnd.igloader': 'igl', + 'application/vnd.immervision-ivp': 'ivp', + 'application/vnd.immervision-ivu': 'ivu', + 'application/vnd.insors.igm': 'igm', + 'application/vnd.intercon.formnet': 'xpw', + 'application/vnd.intergeo': 'i2g', + 'application/vnd.intu.qbo': 'qbo', + 'application/vnd.intu.qfx': 'qfx', + 'application/vnd.ipunplugged.rcprofile': 'rcprofile', + 'application/vnd.irepository.package+xml': 'irp', + 'application/vnd.is-xpr': 'xpr', + 'application/vnd.isac.fcs': 'fcs', + 'application/vnd.jam': 'jam', + 'application/vnd.jcp.javame.midlet-rms': 'rms', + 'application/vnd.jisp': 'jisp', + 'application/vnd.joost.joda-archive': 'joda', + 'application/vnd.kahootz': 'ktz', + 'application/vnd.kde.karbon': 'karbon', + 'application/vnd.kde.kchart': 'chrt', + 'application/vnd.kde.kformula': 'kfo', + 'application/vnd.kde.kivio': 'flw', + 'application/vnd.kde.kontour': 'kon', + 'application/vnd.kde.kpresenter': 'kpr', + 'application/vnd.kde.kspread': 'ksp', + 'application/vnd.kde.kword': 'kwd', + 'application/vnd.kenameaapp': 'htke', + 'application/vnd.kidspiration': 'kia', + 'application/vnd.kinar': 'kne', + 'application/vnd.koan': 'skp', + 'application/vnd.kodak-descriptor': 'sse', + 'application/vnd.las.las+xml': 'lasxml', + 'application/vnd.llamagraphics.life-balance.desktop': 'lbd', + 'application/vnd.llamagraphics.life-balance.exchange+xml': 'lbe', + 'application/vnd.lotus-1-2-3': '123', + 'application/vnd.lotus-approach': 'apr', + 'application/vnd.lotus-freelance': 'pre', + 'application/vnd.lotus-notes': 'nsf', + 'application/vnd.lotus-organizer': 'org', + 'application/vnd.lotus-screencam': 'scm', + 'application/vnd.lotus-wordpro': 'lwp', + 'application/vnd.macports.portpkg': 'portpkg', + 'application/vnd.mcd': 'mcd', + 'application/vnd.medcalcdata': 'mc1', + 'application/vnd.mediastation.cdkey': 'cdkey', + 'application/vnd.mfer': 'mwf', + 'application/vnd.mfmp': 'mfm', + 'application/vnd.micrografx.flo': 'flo', + 'application/vnd.micrografx.igx': 'igx', + 'application/vnd.mif': 'mif', + 'application/vnd.mobius.daf': 'daf', + 'application/vnd.mobius.dis': 'dis', + 'application/vnd.mobius.mbk': 'mbk', + 'application/vnd.mobius.mqy': 'mqy', + 'application/vnd.mobius.msl': 'msl', + 'application/vnd.mobius.plc': 'plc', + 'application/vnd.mobius.txf': 'txf', + 'application/vnd.mophun.application': 'mpn', + 'application/vnd.mophun.certificate': 'mpc', + 'application/vnd.mozilla.xul+xml': 'xul', + 'application/vnd.ms-artgalry': 'cil', + 'application/vnd.ms-cab-compressed': 'cab', + 'application/vnd.ms-excel': ['xls', 'xla', 'xlc', 'xlm', 'xlt', 'xlw', 'xlb', 'xll'], + 'application/vnd.ms-excel.addin.macroenabled.12': 'xlam', + 'application/vnd.ms-excel.sheet.binary.macroenabled.12': 'xlsb', + 'application/vnd.ms-excel.sheet.macroenabled.12': 'xlsm', + 'application/vnd.ms-excel.template.macroenabled.12': 'xltm', + 'application/vnd.ms-fontobject': 'eot', + 'application/vnd.ms-htmlhelp': 'chm', + 'application/vnd.ms-ims': 'ims', + 'application/vnd.ms-lrm': 'lrm', + 'application/vnd.ms-officetheme': 'thmx', + 'application/vnd.ms-outlook': 'msg', + 'application/vnd.ms-pki.certstore': 'sst', + 'application/vnd.ms-pki.pko': 'pko', + 'application/vnd.ms-pki.seccat': 'cat', + 'application/vnd.ms-pki.stl': 'stl', + 'application/vnd.ms-pkicertstore': 'sst', + 'application/vnd.ms-pkiseccat': 'cat', + 'application/vnd.ms-pkistl': 'stl', + 'application/vnd.ms-powerpoint': ['ppt', 'pot', 'pps', 'ppa', 'pwz'], + 'application/vnd.ms-powerpoint.addin.macroenabled.12': 'ppam', + 'application/vnd.ms-powerpoint.presentation.macroenabled.12': 'pptm', + 'application/vnd.ms-powerpoint.slide.macroenabled.12': 'sldm', + 'application/vnd.ms-powerpoint.slideshow.macroenabled.12': 'ppsm', + 'application/vnd.ms-powerpoint.template.macroenabled.12': 'potm', + 'application/vnd.ms-project': 'mpp', + 'application/vnd.ms-word.document.macroenabled.12': 'docm', + 'application/vnd.ms-word.template.macroenabled.12': 'dotm', + 'application/vnd.ms-works': ['wks', 'wcm', 'wdb', 'wps'], + 'application/vnd.ms-wpl': 'wpl', + 'application/vnd.ms-xpsdocument': 'xps', + 'application/vnd.mseq': 'mseq', + 'application/vnd.musician': 'mus', + 'application/vnd.muvee.style': 'msty', + 'application/vnd.neurolanguage.nlu': 'nlu', + 'application/vnd.noblenet-directory': 'nnd', + 'application/vnd.noblenet-sealer': 'nns', + 'application/vnd.noblenet-web': 'nnw', + 'application/vnd.nokia.configuration-message': 'ncm', + 'application/vnd.nokia.n-gage.data': 'ngdat', + 'application/vnd.nokia.n-gage.symbian.install': 'n-gage', + 'application/vnd.nokia.radio-preset': 'rpst', + 'application/vnd.nokia.radio-presets': 'rpss', + 'application/vnd.nokia.ringing-tone': 'rng', + 'application/vnd.novadigm.edm': 'edm', + 'application/vnd.novadigm.edx': 'edx', + 'application/vnd.novadigm.ext': 'ext', + 'application/vnd.oasis.opendocument.chart': 'odc', + 'application/vnd.oasis.opendocument.chart-template': 'otc', + 'application/vnd.oasis.opendocument.database': 'odb', + 'application/vnd.oasis.opendocument.formula': 'odf', + 'application/vnd.oasis.opendocument.formula-template': 'odft', + 'application/vnd.oasis.opendocument.graphics': 'odg', + 'application/vnd.oasis.opendocument.graphics-template': 'otg', + 'application/vnd.oasis.opendocument.image': 'odi', + 'application/vnd.oasis.opendocument.image-template': 'oti', + 'application/vnd.oasis.opendocument.presentation': 'odp', + 'application/vnd.oasis.opendocument.presentation-template': 'otp', + 'application/vnd.oasis.opendocument.spreadsheet': 'ods', + 'application/vnd.oasis.opendocument.spreadsheet-template': 'ots', + 'application/vnd.oasis.opendocument.text': 'odt', + 'application/vnd.oasis.opendocument.text-master': 'odm', + 'application/vnd.oasis.opendocument.text-template': 'ott', + 'application/vnd.oasis.opendocument.text-web': 'oth', + 'application/vnd.olpc-sugar': 'xo', + 'application/vnd.oma.dd2+xml': 'dd2', + 'application/vnd.openofficeorg.extension': 'oxt', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'pptx', + 'application/vnd.openxmlformats-officedocument.presentationml.slide': 'sldx', + 'application/vnd.openxmlformats-officedocument.presentationml.slideshow': 'ppsx', + 'application/vnd.openxmlformats-officedocument.presentationml.template': 'potx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'xlsx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.template': 'xltx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'docx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.template': 'dotx', + 'application/vnd.osgeo.mapguide.package': 'mgp', + 'application/vnd.osgi.dp': 'dp', + 'application/vnd.palm': 'pdb', + 'application/vnd.pawaafile': 'paw', + 'application/vnd.pg.format': 'str', + 'application/vnd.pg.osasli': 'ei6', + 'application/vnd.picsel': 'efif', + 'application/vnd.pmi.widget': 'wg', + 'application/vnd.pocketlearn': 'plf', + 'application/vnd.powerbuilder6': 'pbd', + 'application/vnd.previewsystems.box': 'box', + 'application/vnd.proteus.magazine': 'mgz', + 'application/vnd.publishare-delta-tree': 'qps', + 'application/vnd.pvi.ptid1': 'ptid', + 'application/vnd.quark.quarkxpress': 'qxd', + 'application/vnd.realvnc.bed': 'bed', + 'application/vnd.recordare.musicxml': 'mxl', + 'application/vnd.recordare.musicxml+xml': 'musicxml', + 'application/vnd.rig.cryptonote': 'cryptonote', + 'application/vnd.rim.cod': 'cod', + 'application/vnd.rn-realmedia': 'rm', + 'application/vnd.rn-realplayer': 'rnx', + 'application/vnd.route66.link66+xml': 'link66', + 'application/vnd.sailingtracker.track': 'st', + 'application/vnd.seemail': 'see', + 'application/vnd.sema': 'sema', + 'application/vnd.semd': 'semd', + 'application/vnd.semf': 'semf', + 'application/vnd.shana.informed.formdata': 'ifm', + 'application/vnd.shana.informed.formtemplate': 'itp', + 'application/vnd.shana.informed.interchange': 'iif', + 'application/vnd.shana.informed.package': 'ipk', + 'application/vnd.simtech-mindmapper': 'twd', + 'application/vnd.smaf': 'mmf', + 'application/vnd.smart.teacher': 'teacher', + 'application/vnd.solent.sdkm+xml': 'sdkm', + 'application/vnd.spotfire.dxp': 'dxp', + 'application/vnd.spotfire.sfs': 'sfs', + 'application/vnd.stardivision.calc': 'sdc', + 'application/vnd.stardivision.draw': 'sda', + 'application/vnd.stardivision.impress': 'sdd', + 'application/vnd.stardivision.math': 'smf', + 'application/vnd.stardivision.writer': 'sdw', + 'application/vnd.stardivision.writer-global': 'sgl', + 'application/vnd.stepmania.stepchart': 'sm', + 'application/vnd.sun.xml.calc': 'sxc', + 'application/vnd.sun.xml.calc.template': 'stc', + 'application/vnd.sun.xml.draw': 'sxd', + 'application/vnd.sun.xml.draw.template': 'std', + 'application/vnd.sun.xml.impress': 'sxi', + 'application/vnd.sun.xml.impress.template': 'sti', + 'application/vnd.sun.xml.math': 'sxm', + 'application/vnd.sun.xml.writer': 'sxw', + 'application/vnd.sun.xml.writer.global': 'sxg', + 'application/vnd.sun.xml.writer.template': 'stw', + 'application/vnd.sus-calendar': 'sus', + 'application/vnd.svd': 'svd', + 'application/vnd.symbian.install': 'sis', + 'application/vnd.syncml+xml': 'xsm', + 'application/vnd.syncml.dm+wbxml': 'bdm', + 'application/vnd.syncml.dm+xml': 'xdm', + 'application/vnd.tao.intent-module-archive': 'tao', + 'application/vnd.tmobile-livetv': 'tmo', + 'application/vnd.trid.tpt': 'tpt', + 'application/vnd.triscape.mxs': 'mxs', + 'application/vnd.trueapp': 'tra', + 'application/vnd.ufdl': 'ufd', + 'application/vnd.uiq.theme': 'utz', + 'application/vnd.umajin': 'umj', + 'application/vnd.unity': 'unityweb', + 'application/vnd.uoml+xml': 'uoml', + 'application/vnd.vcx': 'vcx', + 'application/vnd.visio': 'vsd', + 'application/vnd.visionary': 'vis', + 'application/vnd.vsf': 'vsf', + 'application/vnd.wap.wbxml': 'wbxml', + 'application/vnd.wap.wmlc': 'wmlc', + 'application/vnd.wap.wmlscriptc': 'wmlsc', + 'application/vnd.webturbo': 'wtb', + 'application/vnd.wolfram.player': 'nbp', + 'application/vnd.wordperfect': 'wpd', + 'application/vnd.wqd': 'wqd', + 'application/vnd.wt.stf': 'stf', + 'application/vnd.xara': ['web', 'xar'], + 'application/vnd.xfdl': 'xfdl', + 'application/vnd.yamaha.hv-dic': 'hvd', + 'application/vnd.yamaha.hv-script': 'hvs', + 'application/vnd.yamaha.hv-voice': 'hvp', + 'application/vnd.yamaha.openscoreformat': 'osf', + 'application/vnd.yamaha.openscoreformat.osfpvg+xml': 'osfpvg', + 'application/vnd.yamaha.smaf-audio': 'saf', + 'application/vnd.yamaha.smaf-phrase': 'spf', + 'application/vnd.yellowriver-custom-menu': 'cmp', + 'application/vnd.zul': 'zir', + 'application/vnd.zzazz.deck+xml': 'zaz', + 'application/vocaltec-media-desc': 'vmd', + 'application/vocaltec-media-file': 'vmf', + 'application/voicexml+xml': 'vxml', + 'application/widget': 'wgt', + 'application/winhlp': 'hlp', + 'application/wordperfect': ['wp', 'wp5', 'wp6', 'wpd'], + 'application/wordperfect6.0': ['w60', 'wp5'], + 'application/wordperfect6.1': 'w61', + 'application/wsdl+xml': 'wsdl', + 'application/wspolicy+xml': 'wspolicy', + 'application/x-123': 'wk1', + 'application/x-7z-compressed': '7z', + 'application/x-abiword': 'abw', + 'application/x-ace-compressed': 'ace', + 'application/x-aim': 'aim', + 'application/x-authorware-bin': 'aab', + 'application/x-authorware-map': 'aam', + 'application/x-authorware-seg': 'aas', + 'application/x-bcpio': 'bcpio', + 'application/x-binary': 'bin', + 'application/x-binhex40': 'hqx', + 'application/x-bittorrent': 'torrent', + 'application/x-bsh': ['bsh', 'sh', 'shar'], + 'application/x-bytecode.elisp': 'elc', + 'applicaiton/x-bytecode.python': 'pyc', + 'application/x-bzip': 'bz', + 'application/x-bzip2': ['boz', 'bz2'], + 'application/x-cdf': 'cdf', + 'application/x-cdlink': 'vcd', + 'application/x-chat': ['cha', 'chat'], + 'application/x-chess-pgn': 'pgn', + 'application/x-cmu-raster': 'ras', + 'application/x-cocoa': 'cco', + 'application/x-compactpro': 'cpt', + 'application/x-compress': 'z', + 'application/x-compressed': ['tgz', 'gz', 'z', 'zip'], + 'application/x-conference': 'nsc', + 'application/x-cpio': 'cpio', + 'application/x-cpt': 'cpt', + 'application/x-csh': 'csh', + 'application/x-debian-package': 'deb', + 'application/x-deepv': 'deepv', + 'application/x-director': ['dir', 'dcr', 'dxr'], + 'application/x-doom': 'wad', + 'application/x-dtbncx+xml': 'ncx', + 'application/x-dtbook+xml': 'dtb', + 'application/x-dtbresource+xml': 'res', + 'application/x-dvi': 'dvi', + 'application/x-elc': 'elc', + 'application/x-envoy': ['env', 'evy'], + 'application/x-esrehber': 'es', + 'application/x-excel': ['xls', 'xla', 'xlb', 'xlc', 'xld', 'xlk', 'xll', 'xlm', 'xlt', 'xlv', 'xlw'], + 'application/x-font-bdf': 'bdf', + 'application/x-font-ghostscript': 'gsf', + 'application/x-font-linux-psf': 'psf', + 'application/x-font-otf': 'otf', + 'application/x-font-pcf': 'pcf', + 'application/x-font-snf': 'snf', + 'application/x-font-ttf': 'ttf', + 'application/x-font-type1': 'pfa', + 'application/x-font-woff': 'woff', + 'application/x-frame': 'mif', + 'application/x-freelance': 'pre', + 'application/x-futuresplash': 'spl', + 'application/x-gnumeric': 'gnumeric', + 'application/x-gsp': 'gsp', + 'application/x-gss': 'gss', + 'application/x-gtar': 'gtar', + 'application/x-gzip': ['gz', 'gzip'], + 'application/x-hdf': 'hdf', + 'application/x-helpfile': ['help', 'hlp'], + 'application/x-httpd-imap': 'imap', + 'application/x-ima': 'ima', + 'application/x-internet-signup': ['ins', 'isp'], + 'application/x-internett-signup': 'ins', + 'application/x-inventor': 'iv', + 'application/x-ip2': 'ip', + 'application/x-iphone': 'iii', + 'application/x-java-class': 'class', + 'application/x-java-commerce': 'jcm', + 'application/x-java-jnlp-file': 'jnlp', + 'application/x-javascript': 'js', + 'application/x-koan': ['skd', 'skm', 'skp', 'skt'], + 'application/x-ksh': 'ksh', + 'application/x-latex': ['latex', 'ltx'], + 'application/x-lha': 'lha', + 'application/x-lisp': 'lsp', + 'application/x-livescreen': 'ivy', + 'application/x-lotus': 'wq1', + 'application/x-lotusscreencam': 'scm', + 'application/x-lzh': 'lzh', + 'application/x-lzx': 'lzx', + 'application/x-mac-binhex40': 'hqx', + 'application/x-macbinary': 'bin', + 'application/x-magic-cap-package-1.0': 'mc$', + 'application/x-mathcad': 'mcd', + 'application/x-meme': 'mm', + 'application/x-midi': ['mid', 'midi'], + 'application/x-mif': 'mif', + 'application/x-mix-transfer': 'nix', + 'application/x-mobipocket-ebook': 'prc', + 'application/x-mplayer2': 'asx', + 'application/x-ms-application': 'application', + 'application/x-ms-wmd': 'wmd', + 'application/x-ms-wmz': 'wmz', + 'application/x-ms-xbap': 'xbap', + 'application/x-msaccess': 'mdb', + 'application/x-msbinder': 'obd', + 'application/x-mscardfile': 'crd', + 'application/x-msclip': 'clp', + 'application/x-msdownload': ['exe', 'dll'], + 'application/x-msexcel': ['xls', 'xla', 'xlw'], + 'application/x-msmediaview': ['mvb', 'm13', 'm14'], + 'application/x-msmetafile': 'wmf', + 'application/x-msmoney': 'mny', + 'application/x-mspowerpoint': 'ppt', + 'application/x-mspublisher': 'pub', + 'application/x-msschedule': 'scd', + 'application/x-msterminal': 'trm', + 'application/x-mswrite': 'wri', + 'application/x-navi-animation': 'ani', + 'application/x-navidoc': 'nvd', + 'application/x-navimap': 'map', + 'application/x-navistyle': 'stl', + 'application/x-netcdf': ['cdf', 'nc'], + 'application/x-newton-compatible-pkg': 'pkg', + 'application/x-nokia-9000-communicator-add-on-software': 'aos', + 'application/x-omc': 'omc', + 'application/x-omcdatamaker': 'omcd', + 'application/x-omcregerator': 'omcr', + 'application/x-pagemaker': ['pm4', 'pm5'], + 'application/x-pcl': 'pcl', + 'application/x-perfmon': ['pma', 'pmc', 'pml', 'pmr', 'pmw'], + 'application/x-pixclscript': 'plx', + 'application/x-pkcs10': 'p10', + 'application/x-pkcs12': ['p12', 'pfx'], + 'application/x-pkcs7-certificates': ['p7b', 'spc'], + 'application/x-pkcs7-certreqresp': 'p7r', + 'application/x-pkcs7-mime': ['p7m', 'p7c'], + 'application/x-pkcs7-signature': ['p7s', 'p7a'], + 'application/x-pointplus': 'css', + 'application/x-portable-anymap': 'pnm', + 'application/x-project': ['mpc', 'mpt', 'mpv', 'mpx'], + 'application/x-qpro': 'wb1', + 'application/x-rar-compressed': 'rar', + 'application/x-rtf': 'rtf', + 'application/x-sdp': 'sdp', + 'application/x-sea': 'sea', + 'application/x-seelogo': 'sl', + 'application/x-sh': 'sh', + 'application/x-shar': ['shar', 'sh'], + 'application/x-shockwave-flash': 'swf', + 'application/x-silverlight-app': 'xap', + 'application/x-sit': 'sit', + 'application/x-sprite': ['spr', 'sprite'], + 'application/x-stuffit': 'sit', + 'application/x-stuffitx': 'sitx', + 'application/x-sv4cpio': 'sv4cpio', + 'application/x-sv4crc': 'sv4crc', + 'application/x-tar': 'tar', + 'application/x-tbook': ['sbk', 'tbk'], + 'application/x-tcl': 'tcl', + 'application/x-tex': 'tex', + 'application/x-tex-tfm': 'tfm', + 'application/x-texinfo': ['texi', 'texinfo'], + 'application/x-troff': ['roff', 't', 'tr'], + 'application/x-troff-man': 'man', + 'application/x-troff-me': 'me', + 'application/x-troff-ms': 'ms', + 'application/x-troff-msvideo': 'avi', + 'application/x-ustar': 'ustar', + 'application/x-visio': ['vsd', 'vst', 'vsw'], + 'application/x-vnd.audioexplosion.mzz': 'mzz', + 'application/x-vnd.ls-xpix': 'xpix', + 'application/x-vrml': 'vrml', + 'application/x-wais-source': ['src', 'wsrc'], + 'application/x-winhelp': 'hlp', + 'application/x-wintalk': 'wtk', + 'application/x-world': ['wrl', 'svr'], + 'application/x-wpwin': 'wpd', + 'application/x-wri': 'wri', + 'application/x-x509-ca-cert': ['cer', 'crt', 'der'], + 'application/x-x509-user-cert': 'crt', + 'application/x-xfig': 'fig', + 'application/x-xpinstall': 'xpi', + 'application/x-zip-compressed': 'zip', + 'application/xcap-diff+xml': 'xdf', + 'application/xenc+xml': 'xenc', + 'application/xhtml+xml': 'xhtml', + 'application/xml': 'xml', + 'application/xml-dtd': 'dtd', + 'application/xop+xml': 'xop', + 'application/xslt+xml': 'xslt', + 'application/xspf+xml': 'xspf', + 'application/xv+xml': 'mxml', + 'application/yang': 'yang', + 'application/yin+xml': 'yin', + 'application/ynd.ms-pkipko': 'pko', + 'application/zip': 'zip', + 'audio/adpcm': 'adp', + 'audio/aiff': ['aiff', 'aif', 'aifc'], + 'audio/basic': ['snd', 'au'], + 'audio/it': 'it', + 'audio/make': ['funk', 'my', 'pfunk'], + 'audio/make.my.funk': 'pfunk', + 'audio/mid': ['mid', 'rmi'], + 'audio/midi': ['midi', 'kar', 'mid'], + 'audio/mod': 'mod', + 'audio/mp4': 'mp4a', + 'audio/mpeg': ['mpga', 'mp3', 'm2a', 'mp2', 'mpa', 'mpg'], + 'audio/mpeg3': 'mp3', + 'audio/nspaudio': ['la', 'lma'], + 'audio/ogg': 'oga', + 'audio/s3m': 's3m', + 'audio/tsp-audio': 'tsi', + 'audio/tsplayer': 'tsp', + 'audio/vnd.dece.audio': 'uva', + 'audio/vnd.digital-winds': 'eol', + 'audio/vnd.dra': 'dra', + 'audio/vnd.dts': 'dts', + 'audio/vnd.dts.hd': 'dtshd', + 'audio/vnd.lucent.voice': 'lvp', + 'audio/vnd.ms-playready.media.pya': 'pya', + 'audio/vnd.nuera.ecelp4800': 'ecelp4800', + 'audio/vnd.nuera.ecelp7470': 'ecelp7470', + 'audio/vnd.nuera.ecelp9600': 'ecelp9600', + 'audio/vnd.qcelp': 'qcp', + 'audio/vnd.rip': 'rip', + 'audio/voc': 'voc', + 'audio/voxware': 'vox', + 'audio/wav': 'wav', + 'audio/webm': 'weba', + 'audio/x-aac': 'aac', + 'audio/x-adpcm': 'snd', + 'audio/x-aiff': ['aiff', 'aif', 'aifc'], + 'audio/x-au': 'au', + 'audio/x-gsm': ['gsd', 'gsm'], + 'audio/x-jam': 'jam', + 'audio/x-liveaudio': 'lam', + 'audio/x-mid': ['mid', 'midi'], + 'audio/x-midi': ['midi', 'mid'], + 'audio/x-mod': 'mod', + 'audio/x-mpeg': 'mp2', + 'audio/x-mpeg-3': 'mp3', + 'audio/x-mpegurl': 'm3u', + 'audio/x-mpequrl': 'm3u', + 'audio/x-ms-wax': 'wax', + 'audio/x-ms-wma': 'wma', + 'audio/x-nspaudio': ['la', 'lma'], + 'audio/x-pn-realaudio': ['ra', 'ram', 'rm', 'rmm', 'rmp'], + 'audio/x-pn-realaudio-plugin': ['ra', 'rmp', 'rpm'], + 'audio/x-psid': 'sid', + 'audio/x-realaudio': 'ra', + 'audio/x-twinvq': 'vqf', + 'audio/x-twinvq-plugin': ['vqe', 'vql'], + 'audio/x-vnd.audioexplosion.mjuicemediafile': 'mjf', + 'audio/x-voc': 'voc', + 'audio/x-wav': 'wav', + 'audio/xm': 'xm', + 'chemical/x-cdx': 'cdx', + 'chemical/x-cif': 'cif', + 'chemical/x-cmdf': 'cmdf', + 'chemical/x-cml': 'cml', + 'chemical/x-csml': 'csml', + 'chemical/x-pdb': ['pdb', 'xyz'], + 'chemical/x-xyz': 'xyz', + 'drawing/x-dwf': 'dwf', + 'i-world/i-vrml': 'ivr', + 'image/bmp': ['bmp', 'bm'], + 'image/cgm': 'cgm', + 'image/cis-cod': 'cod', + 'image/cmu-raster': ['ras', 'rast'], + 'image/fif': 'fif', + 'image/florian': ['flo', 'turbot'], + 'image/g3fax': 'g3', + 'image/gif': 'gif', + 'image/ief': ['ief', 'iefs'], + 'image/jpeg': ['jpeg', 'jpe', 'jpg', 'jfif', 'jfif-tbnl'], + 'image/jutvision': 'jut', + 'image/ktx': 'ktx', + 'image/naplps': ['nap', 'naplps'], + 'image/pict': ['pic', 'pict'], + 'image/pipeg': 'jfif', + 'image/pjpeg': ['jfif', 'jpe', 'jpeg', 'jpg'], + 'image/png': ['png', 'x-png'], + 'image/prs.btif': 'btif', + 'image/svg+xml': 'svg', + 'image/tiff': ['tif', 'tiff'], + 'image/vasa': 'mcf', + 'image/vnd.adobe.photoshop': 'psd', + 'image/vnd.dece.graphic': 'uvi', + 'image/vnd.djvu': 'djvu', + 'image/vnd.dvb.subtitle': 'sub', + 'image/vnd.dwg': ['dwg', 'dxf', 'svf'], + 'image/vnd.dxf': 'dxf', + 'image/vnd.fastbidsheet': 'fbs', + 'image/vnd.fpx': 'fpx', + 'image/vnd.fst': 'fst', + 'image/vnd.fujixerox.edmics-mmr': 'mmr', + 'image/vnd.fujixerox.edmics-rlc': 'rlc', + 'image/vnd.ms-modi': 'mdi', + 'image/vnd.net-fpx': ['fpx', 'npx'], + 'image/vnd.rn-realflash': 'rf', + 'image/vnd.rn-realpix': 'rp', + 'image/vnd.wap.wbmp': 'wbmp', + 'image/vnd.xiff': 'xif', + 'image/webp': 'webp', + 'image/x-cmu-raster': 'ras', + 'image/x-cmx': 'cmx', + 'image/x-dwg': ['dwg', 'dxf', 'svf'], + 'image/x-freehand': 'fh', + 'image/x-icon': 'ico', + 'image/x-jg': 'art', + 'image/x-jps': 'jps', + 'image/x-niff': ['niff', 'nif'], + 'image/x-pcx': 'pcx', + 'image/x-pict': ['pct', 'pic'], + 'image/x-portable-anymap': 'pnm', + 'image/x-portable-bitmap': 'pbm', + 'image/x-portable-graymap': 'pgm', + 'image/x-portable-greymap': 'pgm', + 'image/x-portable-pixmap': 'ppm', + 'image/x-quicktime': ['qif', 'qti', 'qtif'], + 'image/x-rgb': 'rgb', + 'image/x-tiff': ['tif', 'tiff'], + 'image/x-windows-bmp': 'bmp', + 'image/x-xbitmap': 'xbm', + 'image/x-xbm': 'xbm', + 'image/x-xpixmap': ['xpm', 'pm'], + 'image/x-xwd': 'xwd', + 'image/x-xwindowdump': 'xwd', + 'image/xbm': 'xbm', + 'image/xpm': 'xpm', + 'message/rfc822': ['eml', 'mht', 'mhtml', 'nws', 'mime'], + 'model/iges': ['iges', 'igs'], + 'model/mesh': 'msh', + 'model/vnd.collada+xml': 'dae', + 'model/vnd.dwf': 'dwf', + 'model/vnd.gdl': 'gdl', + 'model/vnd.gtw': 'gtw', + 'model/vnd.mts': 'mts', + 'model/vnd.vtu': 'vtu', + 'model/vrml': ['vrml', 'wrl', 'wrz'], + 'model/x-pov': 'pov', + 'multipart/x-gzip': 'gzip', + 'multipart/x-ustar': 'ustar', + 'multipart/x-zip': 'zip', + 'music/crescendo': ['mid', 'midi'], + 'music/x-karaoke': 'kar', + 'paleovu/x-pv': 'pvu', + 'text/asp': 'asp', + 'text/calendar': 'ics', + 'text/css': 'css', + 'text/csv': 'csv', + 'text/ecmascript': 'js', + 'text/h323': '323', + 'text/html': ['html', 'htm', 'stm', 'acgi', 'htmls', 'htx', 'shtml'], + 'text/iuls': 'uls', + 'text/javascript': 'js', + 'text/mcf': 'mcf', + 'text/n3': 'n3', + 'text/pascal': 'pas', + 'text/plain': [ + 'txt', + 'bas', + 'c', + 'h', + 'c++', + 'cc', + 'com', + 'conf', + 'cxx', + 'def', + 'f', + 'f90', + 'for', + 'g', + 'hh', + 'idc', + 'jav', + 'java', + 'list', + 'log', + 'lst', + 'm', + 'mar', + 'pl', + 'sdml', + 'text' + ], + 'text/plain-bas': 'par', + 'text/prs.lines.tag': 'dsc', + 'text/richtext': ['rtx', 'rt', 'rtf'], + 'text/scriplet': 'wsc', + 'text/scriptlet': 'sct', + 'text/sgml': ['sgm', 'sgml'], + 'text/tab-separated-values': 'tsv', + 'text/troff': 't', + 'text/turtle': 'ttl', + 'text/uri-list': ['uni', 'unis', 'uri', 'uris'], + 'text/vnd.abc': 'abc', + 'text/vnd.curl': 'curl', + 'text/vnd.curl.dcurl': 'dcurl', + 'text/vnd.curl.mcurl': 'mcurl', + 'text/vnd.curl.scurl': 'scurl', + 'text/vnd.fly': 'fly', + 'text/vnd.fmi.flexstor': 'flx', + 'text/vnd.graphviz': 'gv', + 'text/vnd.in3d.3dml': '3dml', + 'text/vnd.in3d.spot': 'spot', + 'text/vnd.rn-realtext': 'rt', + 'text/vnd.sun.j2me.app-descriptor': 'jad', + 'text/vnd.wap.wml': 'wml', + 'text/vnd.wap.wmlscript': 'wmls', + 'text/webviewhtml': 'htt', + 'text/x-asm': ['asm', 's'], + 'text/x-audiosoft-intra': 'aip', + 'text/x-c': ['c', 'cc', 'cpp'], + 'text/x-component': 'htc', + 'text/x-fortran': ['for', 'f', 'f77', 'f90'], + 'text/x-h': ['h', 'hh'], + 'text/x-java-source': ['java', 'jav'], + 'text/x-java-source,java': 'java', + 'text/x-la-asf': 'lsx', + 'text/x-m': 'm', + 'text/x-pascal': 'p', + 'text/x-script': 'hlb', + 'text/x-script.csh': 'csh', + 'text/x-script.elisp': 'el', + 'text/x-script.guile': 'scm', + 'text/x-script.ksh': 'ksh', + 'text/x-script.lisp': 'lsp', + 'text/x-script.perl': 'pl', + 'text/x-script.perl-module': 'pm', + 'text/x-script.phyton': 'py', + 'text/x-script.rexx': 'rexx', + 'text/x-script.scheme': 'scm', + 'text/x-script.sh': 'sh', + 'text/x-script.tcl': 'tcl', + 'text/x-script.tcsh': 'tcsh', + 'text/x-script.zsh': 'zsh', + 'text/x-server-parsed-html': ['shtml', 'ssi'], + 'text/x-setext': 'etx', + 'text/x-sgml': ['sgm', 'sgml'], + 'text/x-speech': ['spc', 'talk'], + 'text/x-uil': 'uil', + 'text/x-uuencode': ['uu', 'uue'], + 'text/x-vcalendar': 'vcs', + 'text/x-vcard': 'vcf', + 'text/xml': 'xml', + 'video/3gpp': '3gp', + 'video/3gpp2': '3g2', + 'video/animaflex': 'afl', + 'video/avi': 'avi', + 'video/avs-video': 'avs', + 'video/dl': 'dl', + 'video/fli': 'fli', + 'video/gl': 'gl', + 'video/h261': 'h261', + 'video/h263': 'h263', + 'video/h264': 'h264', + 'video/jpeg': 'jpgv', + 'video/jpm': 'jpm', + 'video/mj2': 'mj2', + 'video/mp4': 'mp4', + 'video/mpeg': ['mpeg', 'mp2', 'mpa', 'mpe', 'mpg', 'mpv2', 'm1v', 'm2v', 'mp3'], + 'video/msvideo': 'avi', + 'video/ogg': 'ogv', + 'video/quicktime': ['mov', 'qt', 'moov'], + 'video/vdo': 'vdo', + 'video/vivo': ['viv', 'vivo'], + 'video/vnd.dece.hd': 'uvh', + 'video/vnd.dece.mobile': 'uvm', + 'video/vnd.dece.pd': 'uvp', + 'video/vnd.dece.sd': 'uvs', + 'video/vnd.dece.video': 'uvv', + 'video/vnd.fvt': 'fvt', + 'video/vnd.mpegurl': 'mxu', + 'video/vnd.ms-playready.media.pyv': 'pyv', + 'video/vnd.rn-realvideo': 'rv', + 'video/vnd.uvvu.mp4': 'uvu', + 'video/vnd.vivo': ['viv', 'vivo'], + 'video/vosaic': 'vos', + 'video/webm': 'webm', + 'video/x-amt-demorun': 'xdr', + 'video/x-amt-showrun': 'xsr', + 'video/x-atomic3d-feature': 'fmf', + 'video/x-dl': 'dl', + 'video/x-dv': ['dif', 'dv'], + 'video/x-f4v': 'f4v', + 'video/x-fli': 'fli', + 'video/x-flv': 'flv', + 'video/x-gl': 'gl', + 'video/x-isvideo': 'isu', + 'video/x-la-asf': ['lsf', 'lsx'], + 'video/x-m4v': 'm4v', + 'video/x-motion-jpeg': 'mjpg', + 'video/x-mpeg': ['mp3', 'mp2'], + 'video/x-mpeq2a': 'mp2', + 'video/x-ms-asf': ['asf', 'asr', 'asx'], + 'video/x-ms-asf-plugin': 'asx', + 'video/x-ms-wm': 'wm', + 'video/x-ms-wmv': 'wmv', + 'video/x-ms-wmx': 'wmx', + 'video/x-ms-wvx': 'wvx', + 'video/x-msvideo': 'avi', + 'video/x-qtc': 'qtc', + 'video/x-scm': 'scm', + 'video/x-sgi-movie': ['movie', 'mv'], + 'windows/metafile': 'wmf', + 'www/mime': 'mime', + 'x-conference/x-cooltalk': 'ice', + 'x-music/x-midi': ['mid', 'midi'], + 'x-world/x-3dmf': ['3dm', '3dmf', 'qd3', 'qd3d'], + 'x-world/x-svr': 'svr', + 'x-world/x-vrml': ['flr', 'vrml', 'wrl', 'wrz', 'xaf', 'xof'], + 'x-world/x-vrt': 'vrt', + 'xgl/drawing': 'xgz', + 'xgl/movie': 'xmz' + }, + + extensions: { + '*': 'application/octet-stream', + '123': 'application/vnd.lotus-1-2-3', + '323': 'text/h323', + '3dm': 'x-world/x-3dmf', + '3dmf': 'x-world/x-3dmf', + '3dml': 'text/vnd.in3d.3dml', + '3g2': 'video/3gpp2', + '3gp': 'video/3gpp', + '7z': 'application/x-7z-compressed', + a: 'application/octet-stream', + aab: 'application/x-authorware-bin', + aac: 'audio/x-aac', + aam: 'application/x-authorware-map', + aas: 'application/x-authorware-seg', + abc: 'text/vnd.abc', + abw: 'application/x-abiword', + ac: 'application/pkix-attr-cert', + acc: 'application/vnd.americandynamics.acc', + ace: 'application/x-ace-compressed', + acgi: 'text/html', + acu: 'application/vnd.acucobol', + acx: 'application/internet-property-stream', + adp: 'audio/adpcm', + aep: 'application/vnd.audiograph', + afl: 'video/animaflex', + afp: 'application/vnd.ibm.modcap', + ahead: 'application/vnd.ahead.space', + ai: 'application/postscript', + aif: ['audio/aiff', 'audio/x-aiff'], + aifc: ['audio/aiff', 'audio/x-aiff'], + aiff: ['audio/aiff', 'audio/x-aiff'], + aim: 'application/x-aim', + aip: 'text/x-audiosoft-intra', + air: 'application/vnd.adobe.air-application-installer-package+zip', + ait: 'application/vnd.dvb.ait', + ami: 'application/vnd.amiga.ami', + ani: 'application/x-navi-animation', + aos: 'application/x-nokia-9000-communicator-add-on-software', + apk: 'application/vnd.android.package-archive', + application: 'application/x-ms-application', + apr: 'application/vnd.lotus-approach', + aps: 'application/mime', + arc: 'application/octet-stream', + arj: ['application/arj', 'application/octet-stream'], + art: 'image/x-jg', + asf: 'video/x-ms-asf', + asm: 'text/x-asm', + aso: 'application/vnd.accpac.simply.aso', + asp: 'text/asp', + asr: 'video/x-ms-asf', + asx: ['video/x-ms-asf', 'application/x-mplayer2', 'video/x-ms-asf-plugin'], + atc: 'application/vnd.acucorp', + atomcat: 'application/atomcat+xml', + atomsvc: 'application/atomsvc+xml', + atx: 'application/vnd.antix.game-component', + au: ['audio/basic', 'audio/x-au'], + avi: ['video/avi', 'video/msvideo', 'application/x-troff-msvideo', 'video/x-msvideo'], + avs: 'video/avs-video', + aw: 'application/applixware', + axs: 'application/olescript', + azf: 'application/vnd.airzip.filesecure.azf', + azs: 'application/vnd.airzip.filesecure.azs', + azw: 'application/vnd.amazon.ebook', + bas: 'text/plain', + bcpio: 'application/x-bcpio', + bdf: 'application/x-font-bdf', + bdm: 'application/vnd.syncml.dm+wbxml', + bed: 'application/vnd.realvnc.bed', + bh2: 'application/vnd.fujitsu.oasysprs', + bin: ['application/octet-stream', 'application/mac-binary', 'application/macbinary', 'application/x-macbinary', 'application/x-binary'], + bm: 'image/bmp', + bmi: 'application/vnd.bmi', + bmp: ['image/bmp', 'image/x-windows-bmp'], + boo: 'application/book', + book: 'application/book', + box: 'application/vnd.previewsystems.box', + boz: 'application/x-bzip2', + bsh: 'application/x-bsh', + btif: 'image/prs.btif', + bz: 'application/x-bzip', + bz2: 'application/x-bzip2', + c: ['text/plain', 'text/x-c'], + 'c++': 'text/plain', + c11amc: 'application/vnd.cluetrust.cartomobile-config', + c11amz: 'application/vnd.cluetrust.cartomobile-config-pkg', + c4g: 'application/vnd.clonk.c4group', + cab: 'application/vnd.ms-cab-compressed', + car: 'application/vnd.curl.car', + cat: ['application/vnd.ms-pkiseccat', 'application/vnd.ms-pki.seccat'], + cc: ['text/plain', 'text/x-c'], + ccad: 'application/clariscad', + cco: 'application/x-cocoa', + ccxml: 'application/ccxml+xml,', + cdbcmsg: 'application/vnd.contact.cmsg', + cdf: ['application/cdf', 'application/x-cdf', 'application/x-netcdf'], + cdkey: 'application/vnd.mediastation.cdkey', + cdmia: 'application/cdmi-capability', + cdmic: 'application/cdmi-container', + cdmid: 'application/cdmi-domain', + cdmio: 'application/cdmi-object', + cdmiq: 'application/cdmi-queue', + cdx: 'chemical/x-cdx', + cdxml: 'application/vnd.chemdraw+xml', + cdy: 'application/vnd.cinderella', + cer: ['application/pkix-cert', 'application/x-x509-ca-cert'], + cgm: 'image/cgm', + cha: 'application/x-chat', + chat: 'application/x-chat', + chm: 'application/vnd.ms-htmlhelp', + chrt: 'application/vnd.kde.kchart', + cif: 'chemical/x-cif', + cii: 'application/vnd.anser-web-certificate-issue-initiation', + cil: 'application/vnd.ms-artgalry', + cla: 'application/vnd.claymore', + class: ['application/octet-stream', 'application/java', 'application/java-byte-code', 'application/java-vm', 'application/x-java-class'], + clkk: 'application/vnd.crick.clicker.keyboard', + clkp: 'application/vnd.crick.clicker.palette', + clkt: 'application/vnd.crick.clicker.template', + clkw: 'application/vnd.crick.clicker.wordbank', + clkx: 'application/vnd.crick.clicker', + clp: 'application/x-msclip', + cmc: 'application/vnd.cosmocaller', + cmdf: 'chemical/x-cmdf', + cml: 'chemical/x-cml', + cmp: 'application/vnd.yellowriver-custom-menu', + cmx: 'image/x-cmx', + cod: ['image/cis-cod', 'application/vnd.rim.cod'], + com: ['application/octet-stream', 'text/plain'], + conf: 'text/plain', + cpio: 'application/x-cpio', + cpp: 'text/x-c', + cpt: ['application/mac-compactpro', 'application/x-compactpro', 'application/x-cpt'], + crd: 'application/x-mscardfile', + crl: ['application/pkix-crl', 'application/pkcs-crl'], + crt: ['application/pkix-cert', 'application/x-x509-user-cert', 'application/x-x509-ca-cert'], + cryptonote: 'application/vnd.rig.cryptonote', + csh: ['text/x-script.csh', 'application/x-csh'], + csml: 'chemical/x-csml', + csp: 'application/vnd.commonspace', + css: ['text/css', 'application/x-pointplus'], + csv: 'text/csv', + cu: 'application/cu-seeme', + curl: 'text/vnd.curl', + cww: 'application/prs.cww', + cxx: 'text/plain', + dae: 'model/vnd.collada+xml', + daf: 'application/vnd.mobius.daf', + davmount: 'application/davmount+xml', + dcr: 'application/x-director', + dcurl: 'text/vnd.curl.dcurl', + dd2: 'application/vnd.oma.dd2+xml', + ddd: 'application/vnd.fujixerox.ddd', + deb: 'application/x-debian-package', + deepv: 'application/x-deepv', + def: 'text/plain', + der: 'application/x-x509-ca-cert', + dfac: 'application/vnd.dreamfactory', + dif: 'video/x-dv', + dir: 'application/x-director', + dis: 'application/vnd.mobius.dis', + djvu: 'image/vnd.djvu', + dl: ['video/dl', 'video/x-dl'], + dll: 'application/x-msdownload', + dms: 'application/octet-stream', + dna: 'application/vnd.dna', + doc: 'application/msword', + docm: 'application/vnd.ms-word.document.macroenabled.12', + docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + dot: 'application/msword', + dotm: 'application/vnd.ms-word.template.macroenabled.12', + dotx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', + dp: ['application/commonground', 'application/vnd.osgi.dp'], + dpg: 'application/vnd.dpgraph', + dra: 'audio/vnd.dra', + drw: 'application/drafting', + dsc: 'text/prs.lines.tag', + dssc: 'application/dssc+der', + dtb: 'application/x-dtbook+xml', + dtd: 'application/xml-dtd', + dts: 'audio/vnd.dts', + dtshd: 'audio/vnd.dts.hd', + dump: 'application/octet-stream', + dv: 'video/x-dv', + dvi: 'application/x-dvi', + dwf: ['model/vnd.dwf', 'drawing/x-dwf'], + dwg: ['application/acad', 'image/vnd.dwg', 'image/x-dwg'], + dxf: ['application/dxf', 'image/vnd.dwg', 'image/vnd.dxf', 'image/x-dwg'], + dxp: 'application/vnd.spotfire.dxp', + dxr: 'application/x-director', + ecelp4800: 'audio/vnd.nuera.ecelp4800', + ecelp7470: 'audio/vnd.nuera.ecelp7470', + ecelp9600: 'audio/vnd.nuera.ecelp9600', + edm: 'application/vnd.novadigm.edm', + edx: 'application/vnd.novadigm.edx', + efif: 'application/vnd.picsel', + ei6: 'application/vnd.pg.osasli', + el: 'text/x-script.elisp', + elc: ['application/x-elc', 'application/x-bytecode.elisp'], + eml: 'message/rfc822', + emma: 'application/emma+xml', + env: 'application/x-envoy', + eol: 'audio/vnd.digital-winds', + eot: 'application/vnd.ms-fontobject', + eps: 'application/postscript', + epub: 'application/epub+zip', + es: ['application/ecmascript', 'application/x-esrehber'], + es3: 'application/vnd.eszigno3+xml', + esf: 'application/vnd.epson.esf', + etx: 'text/x-setext', + evy: ['application/envoy', 'application/x-envoy'], + exe: ['application/octet-stream', 'application/x-msdownload'], + exi: 'application/exi', + ext: 'application/vnd.novadigm.ext', + ez2: 'application/vnd.ezpix-album', + ez3: 'application/vnd.ezpix-package', + f: ['text/plain', 'text/x-fortran'], + f4v: 'video/x-f4v', + f77: 'text/x-fortran', + f90: ['text/plain', 'text/x-fortran'], + fbs: 'image/vnd.fastbidsheet', + fcs: 'application/vnd.isac.fcs', + fdf: 'application/vnd.fdf', + fe_launch: 'application/vnd.denovo.fcselayout-link', + fg5: 'application/vnd.fujitsu.oasysgp', + fh: 'image/x-freehand', + fif: ['application/fractals', 'image/fif'], + fig: 'application/x-xfig', + fli: ['video/fli', 'video/x-fli'], + flo: ['image/florian', 'application/vnd.micrografx.flo'], + flr: 'x-world/x-vrml', + flv: 'video/x-flv', + flw: 'application/vnd.kde.kivio', + flx: 'text/vnd.fmi.flexstor', + fly: 'text/vnd.fly', + fm: 'application/vnd.framemaker', + fmf: 'video/x-atomic3d-feature', + fnc: 'application/vnd.frogans.fnc', + for: ['text/plain', 'text/x-fortran'], + fpx: ['image/vnd.fpx', 'image/vnd.net-fpx'], + frl: 'application/freeloader', + fsc: 'application/vnd.fsc.weblaunch', + fst: 'image/vnd.fst', + ftc: 'application/vnd.fluxtime.clip', + fti: 'application/vnd.anser-web-funds-transfer-initiation', + funk: 'audio/make', + fvt: 'video/vnd.fvt', + fxp: 'application/vnd.adobe.fxp', + fzs: 'application/vnd.fuzzysheet', + g: 'text/plain', + g2w: 'application/vnd.geoplan', + g3: 'image/g3fax', + g3w: 'application/vnd.geospace', + gac: 'application/vnd.groove-account', + gdl: 'model/vnd.gdl', + geo: 'application/vnd.dynageo', + gex: 'application/vnd.geometry-explorer', + ggb: 'application/vnd.geogebra.file', + ggt: 'application/vnd.geogebra.tool', + ghf: 'application/vnd.groove-help', + gif: 'image/gif', + gim: 'application/vnd.groove-identity-message', + gl: ['video/gl', 'video/x-gl'], + gmx: 'application/vnd.gmx', + gnumeric: 'application/x-gnumeric', + gph: 'application/vnd.flographit', + gqf: 'application/vnd.grafeq', + gram: 'application/srgs', + grv: 'application/vnd.groove-injector', + grxml: 'application/srgs+xml', + gsd: 'audio/x-gsm', + gsf: 'application/x-font-ghostscript', + gsm: 'audio/x-gsm', + gsp: 'application/x-gsp', + gss: 'application/x-gss', + gtar: 'application/x-gtar', + gtm: 'application/vnd.groove-tool-message', + gtw: 'model/vnd.gtw', + gv: 'text/vnd.graphviz', + gxt: 'application/vnd.geonext', + gz: ['application/x-gzip', 'application/x-compressed'], + gzip: ['multipart/x-gzip', 'application/x-gzip'], + h: ['text/plain', 'text/x-h'], + h261: 'video/h261', + h263: 'video/h263', + h264: 'video/h264', + hal: 'application/vnd.hal+xml', + hbci: 'application/vnd.hbci', + hdf: 'application/x-hdf', + help: 'application/x-helpfile', + hgl: 'application/vnd.hp-hpgl', + hh: ['text/plain', 'text/x-h'], + hlb: 'text/x-script', + hlp: ['application/winhlp', 'application/hlp', 'application/x-helpfile', 'application/x-winhelp'], + hpg: 'application/vnd.hp-hpgl', + hpgl: 'application/vnd.hp-hpgl', + hpid: 'application/vnd.hp-hpid', + hps: 'application/vnd.hp-hps', + hqx: [ + 'application/mac-binhex40', + 'application/binhex', + 'application/binhex4', + 'application/mac-binhex', + 'application/x-binhex40', + 'application/x-mac-binhex40' + ], + hta: 'application/hta', + htc: 'text/x-component', + htke: 'application/vnd.kenameaapp', + htm: 'text/html', + html: 'text/html', + htmls: 'text/html', + htt: 'text/webviewhtml', + htx: 'text/html', + hvd: 'application/vnd.yamaha.hv-dic', + hvp: 'application/vnd.yamaha.hv-voice', + hvs: 'application/vnd.yamaha.hv-script', + i2g: 'application/vnd.intergeo', + icc: 'application/vnd.iccprofile', + ice: 'x-conference/x-cooltalk', + ico: 'image/x-icon', + ics: 'text/calendar', + idc: 'text/plain', + ief: 'image/ief', + iefs: 'image/ief', + ifm: 'application/vnd.shana.informed.formdata', + iges: ['application/iges', 'model/iges'], + igl: 'application/vnd.igloader', + igm: 'application/vnd.insors.igm', + igs: ['application/iges', 'model/iges'], + igx: 'application/vnd.micrografx.igx', + iif: 'application/vnd.shana.informed.interchange', + iii: 'application/x-iphone', + ima: 'application/x-ima', + imap: 'application/x-httpd-imap', + imp: 'application/vnd.accpac.simply.imp', + ims: 'application/vnd.ms-ims', + inf: 'application/inf', + ins: ['application/x-internet-signup', 'application/x-internett-signup'], + ip: 'application/x-ip2', + ipfix: 'application/ipfix', + ipk: 'application/vnd.shana.informed.package', + irm: 'application/vnd.ibm.rights-management', + irp: 'application/vnd.irepository.package+xml', + isp: 'application/x-internet-signup', + isu: 'video/x-isvideo', + it: 'audio/it', + itp: 'application/vnd.shana.informed.formtemplate', + iv: 'application/x-inventor', + ivp: 'application/vnd.immervision-ivp', + ivr: 'i-world/i-vrml', + ivu: 'application/vnd.immervision-ivu', + ivy: 'application/x-livescreen', + jad: 'text/vnd.sun.j2me.app-descriptor', + jam: ['application/vnd.jam', 'audio/x-jam'], + jar: 'application/java-archive', + jav: ['text/plain', 'text/x-java-source'], + java: ['text/plain', 'text/x-java-source,java', 'text/x-java-source'], + jcm: 'application/x-java-commerce', + jfif: ['image/pipeg', 'image/jpeg', 'image/pjpeg'], + 'jfif-tbnl': 'image/jpeg', + jisp: 'application/vnd.jisp', + jlt: 'application/vnd.hp-jlyt', + jnlp: 'application/x-java-jnlp-file', + joda: 'application/vnd.joost.joda-archive', + jpe: ['image/jpeg', 'image/pjpeg'], + jpeg: ['image/jpeg', 'image/pjpeg'], + jpg: ['image/jpeg', 'image/pjpeg'], + jpgv: 'video/jpeg', + jpm: 'video/jpm', + jps: 'image/x-jps', + js: ['application/javascript', 'application/ecmascript', 'text/javascript', 'text/ecmascript', 'application/x-javascript'], + json: 'application/json', + jut: 'image/jutvision', + kar: ['audio/midi', 'music/x-karaoke'], + karbon: 'application/vnd.kde.karbon', + kfo: 'application/vnd.kde.kformula', + kia: 'application/vnd.kidspiration', + kml: 'application/vnd.google-earth.kml+xml', + kmz: 'application/vnd.google-earth.kmz', + kne: 'application/vnd.kinar', + kon: 'application/vnd.kde.kontour', + kpr: 'application/vnd.kde.kpresenter', + ksh: ['application/x-ksh', 'text/x-script.ksh'], + ksp: 'application/vnd.kde.kspread', + ktx: 'image/ktx', + ktz: 'application/vnd.kahootz', + kwd: 'application/vnd.kde.kword', + la: ['audio/nspaudio', 'audio/x-nspaudio'], + lam: 'audio/x-liveaudio', + lasxml: 'application/vnd.las.las+xml', + latex: 'application/x-latex', + lbd: 'application/vnd.llamagraphics.life-balance.desktop', + lbe: 'application/vnd.llamagraphics.life-balance.exchange+xml', + les: 'application/vnd.hhe.lesson-player', + lha: ['application/octet-stream', 'application/lha', 'application/x-lha'], + lhx: 'application/octet-stream', + link66: 'application/vnd.route66.link66+xml', + list: 'text/plain', + lma: ['audio/nspaudio', 'audio/x-nspaudio'], + log: 'text/plain', + lrm: 'application/vnd.ms-lrm', + lsf: 'video/x-la-asf', + lsp: ['application/x-lisp', 'text/x-script.lisp'], + lst: 'text/plain', + lsx: ['video/x-la-asf', 'text/x-la-asf'], + ltf: 'application/vnd.frogans.ltf', + ltx: 'application/x-latex', + lvp: 'audio/vnd.lucent.voice', + lwp: 'application/vnd.lotus-wordpro', + lzh: ['application/octet-stream', 'application/x-lzh'], + lzx: ['application/lzx', 'application/octet-stream', 'application/x-lzx'], + m: ['text/plain', 'text/x-m'], + m13: 'application/x-msmediaview', + m14: 'application/x-msmediaview', + m1v: 'video/mpeg', + m21: 'application/mp21', + m2a: 'audio/mpeg', + m2v: 'video/mpeg', + m3u: ['audio/x-mpegurl', 'audio/x-mpequrl'], + m3u8: 'application/vnd.apple.mpegurl', + m4v: 'video/x-m4v', + ma: 'application/mathematica', + mads: 'application/mads+xml', + mag: 'application/vnd.ecowin.chart', + man: 'application/x-troff-man', + map: 'application/x-navimap', + mar: 'text/plain', + mathml: 'application/mathml+xml', + mbd: 'application/mbedlet', + mbk: 'application/vnd.mobius.mbk', + mbox: 'application/mbox', + mc$: 'application/x-magic-cap-package-1.0', + mc1: 'application/vnd.medcalcdata', + mcd: ['application/mcad', 'application/vnd.mcd', 'application/x-mathcad'], + mcf: ['image/vasa', 'text/mcf'], + mcp: 'application/netmc', + mcurl: 'text/vnd.curl.mcurl', + mdb: 'application/x-msaccess', + mdi: 'image/vnd.ms-modi', + me: 'application/x-troff-me', + meta4: 'application/metalink4+xml', + mets: 'application/mets+xml', + mfm: 'application/vnd.mfmp', + mgp: 'application/vnd.osgeo.mapguide.package', + mgz: 'application/vnd.proteus.magazine', + mht: 'message/rfc822', + mhtml: 'message/rfc822', + mid: ['audio/mid', 'audio/midi', 'music/crescendo', 'x-music/x-midi', 'audio/x-midi', 'application/x-midi', 'audio/x-mid'], + midi: ['audio/midi', 'music/crescendo', 'x-music/x-midi', 'audio/x-midi', 'application/x-midi', 'audio/x-mid'], + mif: ['application/vnd.mif', 'application/x-mif', 'application/x-frame'], + mime: ['message/rfc822', 'www/mime'], + mj2: 'video/mj2', + mjf: 'audio/x-vnd.audioexplosion.mjuicemediafile', + mjpg: 'video/x-motion-jpeg', + mlp: 'application/vnd.dolby.mlp', + mm: ['application/base64', 'application/x-meme'], + mmd: 'application/vnd.chipnuts.karaoke-mmd', + mme: 'application/base64', + mmf: 'application/vnd.smaf', + mmr: 'image/vnd.fujixerox.edmics-mmr', + mny: 'application/x-msmoney', + mod: ['audio/mod', 'audio/x-mod'], + mods: 'application/mods+xml', + moov: 'video/quicktime', + mov: 'video/quicktime', + movie: 'video/x-sgi-movie', + mp2: ['video/mpeg', 'audio/mpeg', 'video/x-mpeg', 'audio/x-mpeg', 'video/x-mpeq2a'], + mp3: ['audio/mpeg', 'audio/mpeg3', 'video/mpeg', 'audio/x-mpeg-3', 'video/x-mpeg'], + mp4: ['video/mp4', 'application/mp4'], + mp4a: 'audio/mp4', + mpa: ['video/mpeg', 'audio/mpeg'], + mpc: ['application/vnd.mophun.certificate', 'application/x-project'], + mpe: 'video/mpeg', + mpeg: 'video/mpeg', + mpg: ['video/mpeg', 'audio/mpeg'], + mpga: 'audio/mpeg', + mpkg: 'application/vnd.apple.installer+xml', + mpm: 'application/vnd.blueice.multipass', + mpn: 'application/vnd.mophun.application', + mpp: 'application/vnd.ms-project', + mpt: 'application/x-project', + mpv: 'application/x-project', + mpv2: 'video/mpeg', + mpx: 'application/x-project', + mpy: 'application/vnd.ibm.minipay', + mqy: 'application/vnd.mobius.mqy', + mrc: 'application/marc', + mrcx: 'application/marcxml+xml', + ms: 'application/x-troff-ms', + mscml: 'application/mediaservercontrol+xml', + mseq: 'application/vnd.mseq', + msf: 'application/vnd.epson.msf', + msg: 'application/vnd.ms-outlook', + msh: 'model/mesh', + msl: 'application/vnd.mobius.msl', + msty: 'application/vnd.muvee.style', + mts: 'model/vnd.mts', + mus: 'application/vnd.musician', + musicxml: 'application/vnd.recordare.musicxml+xml', + mv: 'video/x-sgi-movie', + mvb: 'application/x-msmediaview', + mwf: 'application/vnd.mfer', + mxf: 'application/mxf', + mxl: 'application/vnd.recordare.musicxml', + mxml: 'application/xv+xml', + mxs: 'application/vnd.triscape.mxs', + mxu: 'video/vnd.mpegurl', + my: 'audio/make', + mzz: 'application/x-vnd.audioexplosion.mzz', + 'n-gage': 'application/vnd.nokia.n-gage.symbian.install', + n3: 'text/n3', + nap: 'image/naplps', + naplps: 'image/naplps', + nbp: 'application/vnd.wolfram.player', + nc: 'application/x-netcdf', + ncm: 'application/vnd.nokia.configuration-message', + ncx: 'application/x-dtbncx+xml', + ngdat: 'application/vnd.nokia.n-gage.data', + nif: 'image/x-niff', + niff: 'image/x-niff', + nix: 'application/x-mix-transfer', + nlu: 'application/vnd.neurolanguage.nlu', + nml: 'application/vnd.enliven', + nnd: 'application/vnd.noblenet-directory', + nns: 'application/vnd.noblenet-sealer', + nnw: 'application/vnd.noblenet-web', + npx: 'image/vnd.net-fpx', + nsc: 'application/x-conference', + nsf: 'application/vnd.lotus-notes', + nvd: 'application/x-navidoc', + nws: 'message/rfc822', + o: 'application/octet-stream', + oa2: 'application/vnd.fujitsu.oasys2', + oa3: 'application/vnd.fujitsu.oasys3', + oas: 'application/vnd.fujitsu.oasys', + obd: 'application/x-msbinder', + oda: 'application/oda', + odb: 'application/vnd.oasis.opendocument.database', + odc: 'application/vnd.oasis.opendocument.chart', + odf: 'application/vnd.oasis.opendocument.formula', + odft: 'application/vnd.oasis.opendocument.formula-template', + odg: 'application/vnd.oasis.opendocument.graphics', + odi: 'application/vnd.oasis.opendocument.image', + odm: 'application/vnd.oasis.opendocument.text-master', + odp: 'application/vnd.oasis.opendocument.presentation', + ods: 'application/vnd.oasis.opendocument.spreadsheet', + odt: 'application/vnd.oasis.opendocument.text', + oga: 'audio/ogg', + ogv: 'video/ogg', + ogx: 'application/ogg', + omc: 'application/x-omc', + omcd: 'application/x-omcdatamaker', + omcr: 'application/x-omcregerator', + onetoc: 'application/onenote', + opf: 'application/oebps-package+xml', + org: 'application/vnd.lotus-organizer', + osf: 'application/vnd.yamaha.openscoreformat', + osfpvg: 'application/vnd.yamaha.openscoreformat.osfpvg+xml', + otc: 'application/vnd.oasis.opendocument.chart-template', + otf: 'application/x-font-otf', + otg: 'application/vnd.oasis.opendocument.graphics-template', + oth: 'application/vnd.oasis.opendocument.text-web', + oti: 'application/vnd.oasis.opendocument.image-template', + otp: 'application/vnd.oasis.opendocument.presentation-template', + ots: 'application/vnd.oasis.opendocument.spreadsheet-template', + ott: 'application/vnd.oasis.opendocument.text-template', + oxt: 'application/vnd.openofficeorg.extension', + p: 'text/x-pascal', + p10: ['application/pkcs10', 'application/x-pkcs10'], + p12: ['application/pkcs-12', 'application/x-pkcs12'], + p7a: 'application/x-pkcs7-signature', + p7b: 'application/x-pkcs7-certificates', + p7c: ['application/pkcs7-mime', 'application/x-pkcs7-mime'], + p7m: ['application/pkcs7-mime', 'application/x-pkcs7-mime'], + p7r: 'application/x-pkcs7-certreqresp', + p7s: ['application/pkcs7-signature', 'application/x-pkcs7-signature'], + p8: 'application/pkcs8', + par: 'text/plain-bas', + part: 'application/pro_eng', + pas: 'text/pascal', + paw: 'application/vnd.pawaafile', + pbd: 'application/vnd.powerbuilder6', + pbm: 'image/x-portable-bitmap', + pcf: 'application/x-font-pcf', + pcl: ['application/vnd.hp-pcl', 'application/x-pcl'], + pclxl: 'application/vnd.hp-pclxl', + pct: 'image/x-pict', + pcurl: 'application/vnd.curl.pcurl', + pcx: 'image/x-pcx', + pdb: ['application/vnd.palm', 'chemical/x-pdb'], + pdf: 'application/pdf', + pfa: 'application/x-font-type1', + pfr: 'application/font-tdpfr', + pfunk: ['audio/make', 'audio/make.my.funk'], + pfx: 'application/x-pkcs12', + pgm: ['image/x-portable-graymap', 'image/x-portable-greymap'], + pgn: 'application/x-chess-pgn', + pgp: 'application/pgp-signature', + pic: ['image/pict', 'image/x-pict'], + pict: 'image/pict', + pkg: 'application/x-newton-compatible-pkg', + pki: 'application/pkixcmp', + pkipath: 'application/pkix-pkipath', + pko: ['application/ynd.ms-pkipko', 'application/vnd.ms-pki.pko'], + pl: ['text/plain', 'text/x-script.perl'], + plb: 'application/vnd.3gpp.pic-bw-large', + plc: 'application/vnd.mobius.plc', + plf: 'application/vnd.pocketlearn', + pls: 'application/pls+xml', + plx: 'application/x-pixclscript', + pm: ['text/x-script.perl-module', 'image/x-xpixmap'], + pm4: 'application/x-pagemaker', + pm5: 'application/x-pagemaker', + pma: 'application/x-perfmon', + pmc: 'application/x-perfmon', + pml: ['application/vnd.ctc-posml', 'application/x-perfmon'], + pmr: 'application/x-perfmon', + pmw: 'application/x-perfmon', + png: 'image/png', + pnm: ['application/x-portable-anymap', 'image/x-portable-anymap'], + portpkg: 'application/vnd.macports.portpkg', + pot: ['application/vnd.ms-powerpoint', 'application/mspowerpoint'], + potm: 'application/vnd.ms-powerpoint.template.macroenabled.12', + potx: 'application/vnd.openxmlformats-officedocument.presentationml.template', + pov: 'model/x-pov', + ppa: 'application/vnd.ms-powerpoint', + ppam: 'application/vnd.ms-powerpoint.addin.macroenabled.12', + ppd: 'application/vnd.cups-ppd', + ppm: 'image/x-portable-pixmap', + pps: ['application/vnd.ms-powerpoint', 'application/mspowerpoint'], + ppsm: 'application/vnd.ms-powerpoint.slideshow.macroenabled.12', + ppsx: 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', + ppt: ['application/vnd.ms-powerpoint', 'application/mspowerpoint', 'application/powerpoint', 'application/x-mspowerpoint'], + pptm: 'application/vnd.ms-powerpoint.presentation.macroenabled.12', + pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + ppz: 'application/mspowerpoint', + prc: 'application/x-mobipocket-ebook', + pre: ['application/vnd.lotus-freelance', 'application/x-freelance'], + prf: 'application/pics-rules', + prt: 'application/pro_eng', + ps: 'application/postscript', + psb: 'application/vnd.3gpp.pic-bw-small', + psd: ['application/octet-stream', 'image/vnd.adobe.photoshop'], + psf: 'application/x-font-linux-psf', + pskcxml: 'application/pskc+xml', + ptid: 'application/vnd.pvi.ptid1', + pub: 'application/x-mspublisher', + pvb: 'application/vnd.3gpp.pic-bw-var', + pvu: 'paleovu/x-pv', + pwn: 'application/vnd.3m.post-it-notes', + pwz: 'application/vnd.ms-powerpoint', + py: 'text/x-script.phyton', + pya: 'audio/vnd.ms-playready.media.pya', + pyc: 'applicaiton/x-bytecode.python', + pyv: 'video/vnd.ms-playready.media.pyv', + qam: 'application/vnd.epson.quickanime', + qbo: 'application/vnd.intu.qbo', + qcp: 'audio/vnd.qcelp', + qd3: 'x-world/x-3dmf', + qd3d: 'x-world/x-3dmf', + qfx: 'application/vnd.intu.qfx', + qif: 'image/x-quicktime', + qps: 'application/vnd.publishare-delta-tree', + qt: 'video/quicktime', + qtc: 'video/x-qtc', + qti: 'image/x-quicktime', + qtif: 'image/x-quicktime', + qxd: 'application/vnd.quark.quarkxpress', + ra: ['audio/x-realaudio', 'audio/x-pn-realaudio', 'audio/x-pn-realaudio-plugin'], + ram: 'audio/x-pn-realaudio', + rar: 'application/x-rar-compressed', + ras: ['image/cmu-raster', 'application/x-cmu-raster', 'image/x-cmu-raster'], + rast: 'image/cmu-raster', + rcprofile: 'application/vnd.ipunplugged.rcprofile', + rdf: 'application/rdf+xml', + rdz: 'application/vnd.data-vision.rdz', + rep: 'application/vnd.businessobjects', + res: 'application/x-dtbresource+xml', + rexx: 'text/x-script.rexx', + rf: 'image/vnd.rn-realflash', + rgb: 'image/x-rgb', + rif: 'application/reginfo+xml', + rip: 'audio/vnd.rip', + rl: 'application/resource-lists+xml', + rlc: 'image/vnd.fujixerox.edmics-rlc', + rld: 'application/resource-lists-diff+xml', + rm: ['application/vnd.rn-realmedia', 'audio/x-pn-realaudio'], + rmi: 'audio/mid', + rmm: 'audio/x-pn-realaudio', + rmp: ['audio/x-pn-realaudio-plugin', 'audio/x-pn-realaudio'], + rms: 'application/vnd.jcp.javame.midlet-rms', + rnc: 'application/relax-ng-compact-syntax', + rng: ['application/ringing-tones', 'application/vnd.nokia.ringing-tone'], + rnx: 'application/vnd.rn-realplayer', + roff: 'application/x-troff', + rp: 'image/vnd.rn-realpix', + rp9: 'application/vnd.cloanto.rp9', + rpm: 'audio/x-pn-realaudio-plugin', + rpss: 'application/vnd.nokia.radio-presets', + rpst: 'application/vnd.nokia.radio-preset', + rq: 'application/sparql-query', + rs: 'application/rls-services+xml', + rsd: 'application/rsd+xml', + rt: ['text/richtext', 'text/vnd.rn-realtext'], + rtf: ['application/rtf', 'text/richtext', 'application/x-rtf'], + rtx: ['text/richtext', 'application/rtf'], + rv: 'video/vnd.rn-realvideo', + s: 'text/x-asm', + s3m: 'audio/s3m', + saf: 'application/vnd.yamaha.smaf-audio', + saveme: 'application/octet-stream', + sbk: 'application/x-tbook', + sbml: 'application/sbml+xml', + sc: 'application/vnd.ibm.secure-container', + scd: 'application/x-msschedule', + scm: ['application/vnd.lotus-screencam', 'video/x-scm', 'text/x-script.guile', 'application/x-lotusscreencam', 'text/x-script.scheme'], + scq: 'application/scvp-cv-request', + scs: 'application/scvp-cv-response', + sct: 'text/scriptlet', + scurl: 'text/vnd.curl.scurl', + sda: 'application/vnd.stardivision.draw', + sdc: 'application/vnd.stardivision.calc', + sdd: 'application/vnd.stardivision.impress', + sdkm: 'application/vnd.solent.sdkm+xml', + sdml: 'text/plain', + sdp: ['application/sdp', 'application/x-sdp'], + sdr: 'application/sounder', + sdw: 'application/vnd.stardivision.writer', + sea: ['application/sea', 'application/x-sea'], + see: 'application/vnd.seemail', + seed: 'application/vnd.fdsn.seed', + sema: 'application/vnd.sema', + semd: 'application/vnd.semd', + semf: 'application/vnd.semf', + ser: 'application/java-serialized-object', + set: 'application/set', + setpay: 'application/set-payment-initiation', + setreg: 'application/set-registration-initiation', + 'sfd-hdstx': 'application/vnd.hydrostatix.sof-data', + sfs: 'application/vnd.spotfire.sfs', + sgl: 'application/vnd.stardivision.writer-global', + sgm: ['text/sgml', 'text/x-sgml'], + sgml: ['text/sgml', 'text/x-sgml'], + sh: ['application/x-shar', 'application/x-bsh', 'application/x-sh', 'text/x-script.sh'], + shar: ['application/x-bsh', 'application/x-shar'], + shf: 'application/shf+xml', + shtml: ['text/html', 'text/x-server-parsed-html'], + sid: 'audio/x-psid', + sis: 'application/vnd.symbian.install', + sit: ['application/x-stuffit', 'application/x-sit'], + sitx: 'application/x-stuffitx', + skd: 'application/x-koan', + skm: 'application/x-koan', + skp: ['application/vnd.koan', 'application/x-koan'], + skt: 'application/x-koan', + sl: 'application/x-seelogo', + sldm: 'application/vnd.ms-powerpoint.slide.macroenabled.12', + sldx: 'application/vnd.openxmlformats-officedocument.presentationml.slide', + slt: 'application/vnd.epson.salt', + sm: 'application/vnd.stepmania.stepchart', + smf: 'application/vnd.stardivision.math', + smi: ['application/smil', 'application/smil+xml'], + smil: 'application/smil', + snd: ['audio/basic', 'audio/x-adpcm'], + snf: 'application/x-font-snf', + sol: 'application/solids', + spc: ['text/x-speech', 'application/x-pkcs7-certificates'], + spf: 'application/vnd.yamaha.smaf-phrase', + spl: ['application/futuresplash', 'application/x-futuresplash'], + spot: 'text/vnd.in3d.spot', + spp: 'application/scvp-vp-response', + spq: 'application/scvp-vp-request', + spr: 'application/x-sprite', + sprite: 'application/x-sprite', + src: 'application/x-wais-source', + sru: 'application/sru+xml', + srx: 'application/sparql-results+xml', + sse: 'application/vnd.kodak-descriptor', + ssf: 'application/vnd.epson.ssf', + ssi: 'text/x-server-parsed-html', + ssm: 'application/streamingmedia', + ssml: 'application/ssml+xml', + sst: ['application/vnd.ms-pkicertstore', 'application/vnd.ms-pki.certstore'], + st: 'application/vnd.sailingtracker.track', + stc: 'application/vnd.sun.xml.calc.template', + std: 'application/vnd.sun.xml.draw.template', + step: 'application/step', + stf: 'application/vnd.wt.stf', + sti: 'application/vnd.sun.xml.impress.template', + stk: 'application/hyperstudio', + stl: ['application/vnd.ms-pkistl', 'application/sla', 'application/vnd.ms-pki.stl', 'application/x-navistyle'], + stm: 'text/html', + stp: 'application/step', + str: 'application/vnd.pg.format', + stw: 'application/vnd.sun.xml.writer.template', + sub: 'image/vnd.dvb.subtitle', + sus: 'application/vnd.sus-calendar', + sv4cpio: 'application/x-sv4cpio', + sv4crc: 'application/x-sv4crc', + svc: 'application/vnd.dvb.service', + svd: 'application/vnd.svd', + svf: ['image/vnd.dwg', 'image/x-dwg'], + svg: 'image/svg+xml', + svr: ['x-world/x-svr', 'application/x-world'], + swf: 'application/x-shockwave-flash', + swi: 'application/vnd.aristanetworks.swi', + sxc: 'application/vnd.sun.xml.calc', + sxd: 'application/vnd.sun.xml.draw', + sxg: 'application/vnd.sun.xml.writer.global', + sxi: 'application/vnd.sun.xml.impress', + sxm: 'application/vnd.sun.xml.math', + sxw: 'application/vnd.sun.xml.writer', + t: ['text/troff', 'application/x-troff'], + talk: 'text/x-speech', + tao: 'application/vnd.tao.intent-module-archive', + tar: 'application/x-tar', + tbk: ['application/toolbook', 'application/x-tbook'], + tcap: 'application/vnd.3gpp2.tcap', + tcl: ['text/x-script.tcl', 'application/x-tcl'], + tcsh: 'text/x-script.tcsh', + teacher: 'application/vnd.smart.teacher', + tei: 'application/tei+xml', + tex: 'application/x-tex', + texi: 'application/x-texinfo', + texinfo: 'application/x-texinfo', + text: ['application/plain', 'text/plain'], + tfi: 'application/thraud+xml', + tfm: 'application/x-tex-tfm', + tgz: ['application/gnutar', 'application/x-compressed'], + thmx: 'application/vnd.ms-officetheme', + tif: ['image/tiff', 'image/x-tiff'], + tiff: ['image/tiff', 'image/x-tiff'], + tmo: 'application/vnd.tmobile-livetv', + torrent: 'application/x-bittorrent', + tpl: 'application/vnd.groove-tool-template', + tpt: 'application/vnd.trid.tpt', + tr: 'application/x-troff', + tra: 'application/vnd.trueapp', + trm: 'application/x-msterminal', + tsd: 'application/timestamped-data', + tsi: 'audio/tsp-audio', + tsp: ['application/dsptype', 'audio/tsplayer'], + tsv: 'text/tab-separated-values', + ttf: 'application/x-font-ttf', + ttl: 'text/turtle', + turbot: 'image/florian', + twd: 'application/vnd.simtech-mindmapper', + txd: 'application/vnd.genomatix.tuxedo', + txf: 'application/vnd.mobius.txf', + txt: 'text/plain', + ufd: 'application/vnd.ufdl', + uil: 'text/x-uil', + uls: 'text/iuls', + umj: 'application/vnd.umajin', + uni: 'text/uri-list', + unis: 'text/uri-list', + unityweb: 'application/vnd.unity', + unv: 'application/i-deas', + uoml: 'application/vnd.uoml+xml', + uri: 'text/uri-list', + uris: 'text/uri-list', + ustar: ['application/x-ustar', 'multipart/x-ustar'], + utz: 'application/vnd.uiq.theme', + uu: ['application/octet-stream', 'text/x-uuencode'], + uue: 'text/x-uuencode', + uva: 'audio/vnd.dece.audio', + uvh: 'video/vnd.dece.hd', + uvi: 'image/vnd.dece.graphic', + uvm: 'video/vnd.dece.mobile', + uvp: 'video/vnd.dece.pd', + uvs: 'video/vnd.dece.sd', + uvu: 'video/vnd.uvvu.mp4', + uvv: 'video/vnd.dece.video', + vcd: 'application/x-cdlink', + vcf: 'text/x-vcard', + vcg: 'application/vnd.groove-vcard', + vcs: 'text/x-vcalendar', + vcx: 'application/vnd.vcx', + vda: 'application/vda', + vdo: 'video/vdo', + vew: 'application/groupwise', + vis: 'application/vnd.visionary', + viv: ['video/vivo', 'video/vnd.vivo'], + vivo: ['video/vivo', 'video/vnd.vivo'], + vmd: 'application/vocaltec-media-desc', + vmf: 'application/vocaltec-media-file', + voc: ['audio/voc', 'audio/x-voc'], + vos: 'video/vosaic', + vox: 'audio/voxware', + vqe: 'audio/x-twinvq-plugin', + vqf: 'audio/x-twinvq', + vql: 'audio/x-twinvq-plugin', + vrml: ['model/vrml', 'x-world/x-vrml', 'application/x-vrml'], + vrt: 'x-world/x-vrt', + vsd: ['application/vnd.visio', 'application/x-visio'], + vsf: 'application/vnd.vsf', + vst: 'application/x-visio', + vsw: 'application/x-visio', + vtu: 'model/vnd.vtu', + vxml: 'application/voicexml+xml', + w60: 'application/wordperfect6.0', + w61: 'application/wordperfect6.1', + w6w: 'application/msword', + wad: 'application/x-doom', + wav: ['audio/wav', 'audio/x-wav'], + wax: 'audio/x-ms-wax', + wb1: 'application/x-qpro', + wbmp: 'image/vnd.wap.wbmp', + wbs: 'application/vnd.criticaltools.wbs+xml', + wbxml: 'application/vnd.wap.wbxml', + wcm: 'application/vnd.ms-works', + wdb: 'application/vnd.ms-works', + web: 'application/vnd.xara', + weba: 'audio/webm', + webm: 'video/webm', + webp: 'image/webp', + wg: 'application/vnd.pmi.widget', + wgt: 'application/widget', + wiz: 'application/msword', + wk1: 'application/x-123', + wks: 'application/vnd.ms-works', + wm: 'video/x-ms-wm', + wma: 'audio/x-ms-wma', + wmd: 'application/x-ms-wmd', + wmf: ['windows/metafile', 'application/x-msmetafile'], + wml: 'text/vnd.wap.wml', + wmlc: 'application/vnd.wap.wmlc', + wmls: 'text/vnd.wap.wmlscript', + wmlsc: 'application/vnd.wap.wmlscriptc', + wmv: 'video/x-ms-wmv', + wmx: 'video/x-ms-wmx', + wmz: 'application/x-ms-wmz', + woff: 'application/x-font-woff', + word: 'application/msword', + wp: 'application/wordperfect', + wp5: ['application/wordperfect', 'application/wordperfect6.0'], + wp6: 'application/wordperfect', + wpd: ['application/wordperfect', 'application/vnd.wordperfect', 'application/x-wpwin'], + wpl: 'application/vnd.ms-wpl', + wps: 'application/vnd.ms-works', + wq1: 'application/x-lotus', + wqd: 'application/vnd.wqd', + wri: ['application/mswrite', 'application/x-wri', 'application/x-mswrite'], + wrl: ['model/vrml', 'x-world/x-vrml', 'application/x-world'], + wrz: ['model/vrml', 'x-world/x-vrml'], + wsc: 'text/scriplet', + wsdl: 'application/wsdl+xml', + wspolicy: 'application/wspolicy+xml', + wsrc: 'application/x-wais-source', + wtb: 'application/vnd.webturbo', + wtk: 'application/x-wintalk', + wvx: 'video/x-ms-wvx', + 'x-png': 'image/png', + x3d: 'application/vnd.hzn-3d-crossword', + xaf: 'x-world/x-vrml', + xap: 'application/x-silverlight-app', + xar: 'application/vnd.xara', + xbap: 'application/x-ms-xbap', + xbd: 'application/vnd.fujixerox.docuworks.binder', + xbm: ['image/xbm', 'image/x-xbm', 'image/x-xbitmap'], + xdf: 'application/xcap-diff+xml', + xdm: 'application/vnd.syncml.dm+xml', + xdp: 'application/vnd.adobe.xdp+xml', + xdr: 'video/x-amt-demorun', + xdssc: 'application/dssc+xml', + xdw: 'application/vnd.fujixerox.docuworks', + xenc: 'application/xenc+xml', + xer: 'application/patch-ops-error+xml', + xfdf: 'application/vnd.adobe.xfdf', + xfdl: 'application/vnd.xfdl', + xgz: 'xgl/drawing', + xhtml: 'application/xhtml+xml', + xif: 'image/vnd.xiff', + xl: 'application/excel', + xla: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xlam: 'application/vnd.ms-excel.addin.macroenabled.12', + xlb: ['application/excel', 'application/vnd.ms-excel', 'application/x-excel'], + xlc: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xld: ['application/excel', 'application/x-excel'], + xlk: ['application/excel', 'application/x-excel'], + xll: ['application/excel', 'application/vnd.ms-excel', 'application/x-excel'], + xlm: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xls: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xlsb: 'application/vnd.ms-excel.sheet.binary.macroenabled.12', + xlsm: 'application/vnd.ms-excel.sheet.macroenabled.12', + xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + xlt: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xltm: 'application/vnd.ms-excel.template.macroenabled.12', + xltx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', + xlv: ['application/excel', 'application/x-excel'], + xlw: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xm: 'audio/xm', + xml: ['application/xml', 'text/xml', 'application/atom+xml', 'application/rss+xml'], + xmz: 'xgl/movie', + xo: 'application/vnd.olpc-sugar', + xof: 'x-world/x-vrml', + xop: 'application/xop+xml', + xpi: 'application/x-xpinstall', + xpix: 'application/x-vnd.ls-xpix', + xpm: ['image/xpm', 'image/x-xpixmap'], + xpr: 'application/vnd.is-xpr', + xps: 'application/vnd.ms-xpsdocument', + xpw: 'application/vnd.intercon.formnet', + xslt: 'application/xslt+xml', + xsm: 'application/vnd.syncml+xml', + xspf: 'application/xspf+xml', + xsr: 'video/x-amt-showrun', + xul: 'application/vnd.mozilla.xul+xml', + xwd: ['image/x-xwd', 'image/x-xwindowdump'], + xyz: ['chemical/x-xyz', 'chemical/x-pdb'], + yang: 'application/yang', + yin: 'application/yin+xml', + z: ['application/x-compressed', 'application/x-compress'], + zaz: 'application/vnd.zzazz.deck+xml', + zip: ['application/zip', 'multipart/x-zip', 'application/x-zip-compressed', 'application/x-compressed'], + zir: 'application/vnd.zul', + zmm: 'application/vnd.handheld-entertainment+xml', + zoo: 'application/octet-stream', + zsh: 'text/x-script.zsh' + } +}; + +/* eslint no-control-regex: 0, no-div-regex: 0, quotes: 0 */ + +const libcharset$1 = charsetExports$1; +const libbase64$3 = libbase64$4; +const libqp$3 = libqp$4; +const mimetypes$2 = mimetypes$3; + +const STAGE_KEY$1 = 0x1001; +const STAGE_VALUE$1 = 0x1002; + +let Libmime$1 = class Libmime { + constructor(config) { + this.config = config || {}; + } + + /** + * Checks if a value is plaintext string (uses only printable 7bit chars) + * + * @param {String} value String to be tested + * @returns {Boolean} true if it is a plaintext string + */ + isPlainText(value) { + if (typeof value !== 'string' || /[\x00-\x08\x0b\x0c\x0e-\x1f\u0080-\uFFFF]/.test(value)) { + return false; + } else { + return true; + } + } + + /** + * Checks if a multi line string containes lines longer than the selected value. + * + * Useful when detecting if a mail message needs any processing at all – + * if only plaintext characters are used and lines are short, then there is + * no need to encode the values in any way. If the value is plaintext but has + * longer lines then allowed, then use format=flowed + * + * @param {Number} lineLength Max line length to check for + * @returns {Boolean} Returns true if there is at least one line longer than lineLength chars + */ + hasLongerLines(str, lineLength) { + return new RegExp('^.{' + (lineLength + 1) + ',}', 'm').test(str); + } + + /** + * Decodes a string from a format=flowed soft wrapping. + * + * @param {String} str Plaintext string with format=flowed to decode + * @param {Boolean} [delSp] If true, delete leading spaces (delsp=yes) + * @return {String} Mime decoded string + */ + decodeFlowed(str, delSp) { + str = (str || '').toString(); + + return ( + str + .split(/\r?\n/) + // remove soft linebreaks + // soft linebreaks are added after space symbols + .reduce((previousValue, currentValue) => { + if (/ $/.test(previousValue) && !/(^|\n)-- $/.test(previousValue)) { + if (delSp) { + // delsp adds space to text to be able to fold it + // these spaces can be removed once the text is unfolded + return previousValue.slice(0, -1) + currentValue; + } else { + return previousValue + currentValue; + } + } else { + return previousValue + '\n' + currentValue; + } + }) + // remove whitespace stuffing + // http://tools.ietf.org/html/rfc3676#section-4.4 + .replace(/^ /gm, '') + ); + } + + /** + * Adds soft line breaks to content marked with format=flowed to + * ensure that no line in the message is never longer than lineLength + * + * @param {String} str Plaintext string that requires wrapping + * @param {Number} [lineLength=76] Maximum length of a line + * @return {String} String with forced line breaks + */ + encodeFlowed(str, lineLength) { + lineLength = lineLength || 76; + + let flowed = []; + str.split(/\r?\n/).forEach(line => { + flowed.push( + this.foldLines( + line + // space stuffing http://tools.ietf.org/html/rfc3676#section-4.2 + .replace(/^( |From|>)/gim, ' $1'), + lineLength, + true + ) + ); + }); + return flowed.join('\r\n'); + } + + /** + * Encodes a string or an Buffer to an UTF-8 MIME Word (rfc2047) + * + * @param {String|Buffer} data String to be encoded + * @param {String} mimeWordEncoding='Q' Encoding for the mime word, either Q or B + * @param {Number} [maxLength=0] If set, split mime words into several chunks if needed + * @return {String} Single or several mime words joined together + */ + encodeWord(data, mimeWordEncoding, maxLength) { + mimeWordEncoding = (mimeWordEncoding || 'Q').toString().toUpperCase().trim().charAt(0); + maxLength = maxLength || 0; + + let encodedStr; + let toCharset = 'UTF-8'; + + if (maxLength && maxLength > 7 + toCharset.length) { + maxLength -= 7 + toCharset.length; + } + + if (mimeWordEncoding === 'Q') { + // https://tools.ietf.org/html/rfc2047#section-5 rule (3) + encodedStr = libqp$3.encode(data).replace(/[^a-z0-9!*+\-/=]/gi, chr => { + let ord = chr.charCodeAt(0).toString(16).toUpperCase(); + if (chr === ' ') { + return '_'; + } else { + return '=' + (ord.length === 1 ? '0' + ord : ord); + } + }); + } else if (mimeWordEncoding === 'B') { + encodedStr = typeof data === 'string' ? data : libbase64$3.encode(data); + maxLength = maxLength ? Math.max(3, ((maxLength - (maxLength % 4)) / 4) * 3) : 0; + } + + if (maxLength && (mimeWordEncoding !== 'B' ? encodedStr : libbase64$3.encode(data)).length > maxLength) { + if (mimeWordEncoding === 'Q') { + encodedStr = this.splitMimeEncodedString(encodedStr, maxLength).join('?= =?' + toCharset + '?' + mimeWordEncoding + '?'); + } else { + // RFC2047 6.3 (2) states that encoded-word must include an integral number of characters, so no chopping unicode sequences + let parts = []; + let lpart = ''; + for (let i = 0, len = encodedStr.length; i < len; i++) { + let chr = encodedStr.charAt(i); + // check if we can add this character to the existing string + // without breaking byte length limit + + if (/[\ud83c\ud83d\ud83e]/.test(chr) && i < len - 1) { + // composite emoji byte, so add the next byte as well + chr += encodedStr.charAt(++i); + } + + if (Buffer.byteLength(lpart + chr) <= maxLength || i === 0) { + lpart += chr; + } else { + // we hit the length limit, so push the existing string and start over + parts.push(libbase64$3.encode(lpart)); + lpart = chr; + } + } + if (lpart) { + parts.push(libbase64$3.encode(lpart)); + } + + if (parts.length > 1) { + encodedStr = parts.join('?= =?' + toCharset + '?' + mimeWordEncoding + '?'); + } else { + encodedStr = parts.join(''); + } + } + } else if (mimeWordEncoding === 'B') { + encodedStr = libbase64$3.encode(data); + } + + return '=?' + toCharset + '?' + mimeWordEncoding + '?' + encodedStr + (encodedStr.substr(-2) === '?=' ? '' : '?='); + } + + /** + * Decode a complete mime word encoded string + * + * @param {String} str Mime word encoded string + * @return {String} Decoded unicode string + */ + decodeWord(charset, encoding, str) { + // RFC2231 added language tag to the encoding + // see: https://tools.ietf.org/html/rfc2231#section-5 + // this implementation silently ignores this tag + let splitPos = charset.indexOf('*'); + if (splitPos >= 0) { + charset = charset.substr(0, splitPos); + } + charset = libcharset$1.normalizeCharset(charset); + + encoding = encoding.toUpperCase(); + + if (encoding === 'Q') { + str = str + // remove spaces between = and hex char, this might indicate invalidly applied line splitting + .replace(/=\s+([0-9a-fA-F])/g, '=$1') + // convert all underscores to spaces + .replace(/[_\s]/g, ' '); + + let buf = Buffer.from(str); + let bytes = []; + for (let i = 0, len = buf.length; i < len; i++) { + let c = buf[i]; + if (i <= len - 2 && c === 0x3d /* = */) { + let c1 = this.getHex(buf[i + 1]); + let c2 = this.getHex(buf[i + 2]); + if (c1 && c2) { + let c = parseInt(c1 + c2, 16); + bytes.push(c); + i += 2; + continue; + } + } + bytes.push(c); + } + str = Buffer.from(bytes); + } else if (encoding === 'B') { + str = Buffer.concat( + str + .split('=') + .filter(s => s !== '') // filter empty string + .map(str => Buffer.from(str, 'base64')) + ); + } else { + // keep as is, convert Buffer to unicode string, assume utf8 + str = Buffer.from(str); + } + + return libcharset$1.decode(str, charset); + } + + /** + * Finds word sequences with non ascii text and converts these to mime words + * + * @param {String|Buffer} data String to be encoded + * @param {String} mimeWordEncoding='Q' Encoding for the mime word, either Q or B + * @param {Number} [maxLength=0] If set, split mime words into several chunks if needed + * @param {String} [fromCharset='UTF-8'] Source sharacter set + * @return {String} String with possible mime words + */ + encodeWords(data, mimeWordEncoding, maxLength, fromCharset) { + if (!fromCharset && typeof maxLength === 'string' && !maxLength.match(/^[0-9]+$/)) { + fromCharset = maxLength; + maxLength = undefined; + } + + maxLength = maxLength || 0; + + let decodedValue = libcharset$1.decode(libcharset$1.convert(data || '', fromCharset)); + let encodedValue; + + let firstMatch = decodedValue.match(/(?:^|\s)([^\s]*[\u0080-\uFFFF])/); + if (!firstMatch) { + return decodedValue; + } + let lastMatch = decodedValue.match(/([\u0080-\uFFFF][^\s]*)[^\u0080-\uFFFF]*$/); + if (!lastMatch) { + // should not happen + return decodedValue; + } + let startIndex = + firstMatch.index + + ( + firstMatch[0].match(/[^\s]/) || { + index: 0 + } + ).index; + let endIndex = lastMatch.index + (lastMatch[1] || '').length; + + encodedValue = + (startIndex ? decodedValue.substr(0, startIndex) : '') + + this.encodeWord(decodedValue.substring(startIndex, endIndex), mimeWordEncoding || 'Q', maxLength) + + (endIndex < decodedValue.length ? decodedValue.substr(endIndex) : ''); + + return encodedValue; + } + + /** + * Decode a string that might include one or several mime words + * + * @param {String} str String including some mime words that will be encoded + * @return {String} Decoded unicode string + */ + decodeWords(str) { + return ( + (str || '') + .toString() + // find base64 words that can be joined + .replace(/(=\?([^?]+)\?[Bb]\?[^?]*\?=)\s*(?==\?([^?]+)\?[Bb]\?[^?]*\?=)/g, (match, left, chLeft, chRight) => { + // only mark b64 chunks to be joined if charsets match + if (libcharset$1.normalizeCharset(chLeft || '') === libcharset$1.normalizeCharset(chRight || '')) { + // set a joiner marker + return left + '__\x00JOIN\x00__'; + } + return match; + }) + // find QP words that can be joined + .replace(/(=\?([^?]+)\?[Qq]\?[^?]*\?=)\s*(?==\?([^?]+)\?[Qq]\?[^?]*\?=)/g, (match, left, chLeft, chRight) => { + // only mark QP chunks to be joined if charsets match + if (libcharset$1.normalizeCharset(chLeft || '') === libcharset$1.normalizeCharset(chRight || '')) { + // set a joiner marker + return left + '__\x00JOIN\x00__'; + } + return match; + }) + // join base64 encoded words + .replace(/(\?=)?__\x00JOIN\x00__(=\?([^?]+)\?[QqBb]\?)?/g, '') + // remove spaces between mime encoded words + .replace(/(=\?[^?]+\?[QqBb]\?[^?]*\?=)\s+(?==\?[^?]+\?[QqBb]\?[^?]*\?=)/g, '$1') + // decode words + .replace(/=\?([\w_\-*]+)\?([QqBb])\?([^?]*)\?=/g, (m, charset, encoding, text) => this.decodeWord(charset, encoding, text)) + ); + } + + getHex(c) { + if ((c >= 0x30 /* 0 */ && c <= 0x39) /* 9 */ || (c >= 0x61 /* a */ && c <= 0x66) /* f */ || (c >= 0x41 /* A */ && c <= 0x46) /* F */) { + return String.fromCharCode(c); + } + return false; + } + + /** + * Splits a string by : + * The result is not mime word decoded, you need to do your own decoding based + * on the rules for the specific header key + * + * @param {String} headerLine Single header line, might include linebreaks as well if folded + * @return {Object} And object of {key, value} + */ + decodeHeader(headerLine) { + let line = (headerLine || '') + .toString() + .replace(/(?:\r?\n|\r)[ \t]*/g, ' ') + .trim(), + match = line.match(/^\s*([^:]+):(.*)$/), + key = ((match && match[1]) || '').trim().toLowerCase(), + value = ((match && match[2]) || '').trim(); + + return { + key, + value + }; + } + + /** + * Parses a block of header lines. Does not decode mime words as every + * header might have its own rules (eg. formatted email addresses and such) + * + * @param {String} headers Headers string + * @return {Object} An object of headers, where header keys are object keys. NB! Several values with the same key make up an Array + */ + decodeHeaders(headers) { + let lines = headers.split(/\r?\n|\r/), + headersObj = {}, + header, + i, + len; + + for (i = lines.length - 1; i >= 0; i--) { + if (i && lines[i].match(/^\s/)) { + lines[i - 1] += '\r\n' + lines[i]; + lines.splice(i, 1); + } + } + + for (i = 0, len = lines.length; i < len; i++) { + header = this.decodeHeader(lines[i]); + if (!headersObj[header.key]) { + headersObj[header.key] = [header.value]; + } else { + headersObj[header.key].push(header.value); + } + } + + return headersObj; + } + + /** + * Joins parsed header value together as 'value; param1=value1; param2=value2' + * PS: We are following RFC 822 for the list of special characters that we need to keep in quotes. + * Refer: https://www.w3.org/Protocols/rfc1341/4_Content-Type.html + * @param {Object} structured Parsed header value + * @return {String} joined header value + */ + buildHeaderValue(structured) { + let paramsArray = []; + + Object.keys(structured.params || {}).forEach(param => { + // filename might include unicode characters so it is a special case + let value = structured.params[param]; + if (!this.isPlainText(value) || value.length >= 75) { + this.buildHeaderParam(param, value, 50).forEach(encodedParam => { + if (!/[\s"\\;:/=(),<>@[\]?]|^[-']|'$/.test(encodedParam.value) || encodedParam.key.substr(-1) === '*') { + paramsArray.push(encodedParam.key + '=' + encodedParam.value); + } else { + paramsArray.push(encodedParam.key + '=' + JSON.stringify(encodedParam.value)); + } + }); + } else if (/[\s'"\\;:/=(),<>@[\]?]|^-/.test(value)) { + paramsArray.push(param + '=' + JSON.stringify(value)); + } else { + paramsArray.push(param + '=' + value); + } + }); + + return structured.value + (paramsArray.length ? '; ' + paramsArray.join('; ') : ''); + } + + /** + * Parses a header value with key=value arguments into a structured + * object. + * + * parseHeaderValue('content-type: text/plain; CHARSET='UTF-8'') -> + * { + * 'value': 'text/plain', + * 'params': { + * 'charset': 'UTF-8' + * } + * } + * + * @param {String} str Header value + * @return {Object} Header value as a parsed structure + */ + parseHeaderValue(str) { + let response = { + value: false, + params: {} + }; + let key = false; + let value = ''; + let stage = STAGE_VALUE$1; + + let quote = false; + let escaped = false; + let chr; + + for (let i = 0, len = str.length; i < len; i++) { + chr = str.charAt(i); + switch (stage) { + case STAGE_KEY$1: + if (chr === '=') { + key = value.trim().toLowerCase(); + stage = STAGE_VALUE$1; + value = ''; + break; + } + value += chr; + break; + case STAGE_VALUE$1: + if (escaped) { + value += chr; + } else if (chr === '\\') { + escaped = true; + continue; + } else if (quote && chr === quote) { + quote = false; + } else if (!quote && chr === '"') { + quote = chr; + } else if (!quote && chr === ';') { + if (key === false) { + response.value = value.trim(); + } else { + response.params[key] = value.trim(); + } + stage = STAGE_KEY$1; + value = ''; + } else { + value += chr; + } + escaped = false; + break; + } + } + + // finalize remainder + value = value.trim(); + if (stage === STAGE_VALUE$1) { + if (key === false) { + // default value + response.value = value; + } else { + // subkey value + response.params[key] = value; + } + } else if (value) { + // treat as key without value, see emptykey: + // Header-Key: somevalue; key=value; emptykey + response.params[value.toLowerCase()] = ''; + } + + // handle parameter value continuations + // https://tools.ietf.org/html/rfc2231#section-3 + + // preprocess values + Object.keys(response.params).forEach(key => { + let actualKey; + let nr; + let value; + + let match = key.match(/\*((\d+)\*?)?$/); + + if (!match) { + // nothing to do here, does not seem like a continuation param + return; + } + + actualKey = key.substr(0, match.index).toLowerCase(); + nr = Number(match[2]) || 0; + + if (!response.params[actualKey] || typeof response.params[actualKey] !== 'object') { + response.params[actualKey] = { + charset: false, + values: [] + }; + } + + value = response.params[key]; + + if (nr === 0 && match[0].charAt(match[0].length - 1) === '*' && (match = value.match(/^([^']*)'[^']*'(.*)$/))) { + response.params[actualKey].charset = match[1] || 'utf-8'; + value = match[2]; + } + + response.params[actualKey].values.push({ nr, value }); + + // remove the old reference + delete response.params[key]; + }); + + // concatenate split rfc2231 strings and convert encoded strings to mime encoded words + Object.keys(response.params).forEach(key => { + let value; + if (response.params[key] && Array.isArray(response.params[key].values)) { + value = response.params[key].values + .sort((a, b) => a.nr - b.nr) + .map(val => (val && val.value) || '') + .join(''); + + if (response.params[key].charset) { + // convert "%AB" to "=?charset?Q?=AB?=" and then to unicode + response.params[key] = this.decodeWords( + '=?' + + response.params[key].charset + + '?Q?' + + value + // fix invalidly encoded chars + .replace(/[=?_\s]/g, s => { + let c = s.charCodeAt(0).toString(16); + if (s === ' ') { + return '_'; + } else { + return '%' + (c.length < 2 ? '0' : '') + c; + } + }) + // change from urlencoding to percent encoding + .replace(/%/g, '=') + + '?=' + ); + } else { + response.params[key] = this.decodeWords(value); + } + } + }); + + return response; + } + + /** + * Encodes a string or an Buffer to an UTF-8 Parameter Value Continuation encoding (rfc2231) + * Useful for splitting long parameter values. + * + * For example + * title="unicode string" + * becomes + * title*0*=utf-8''unicode + * title*1*=%20string + * + * @param {String|Buffer} data String to be encoded + * @param {Number} [maxLength=50] Max length for generated chunks + * @param {String} [fromCharset='UTF-8'] Source sharacter set + * @return {Array} A list of encoded keys and headers + */ + buildHeaderParam(key, data, maxLength, fromCharset) { + let list = []; + let encodedStr = typeof data === 'string' ? data : this.decode(data, fromCharset); + let encodedStrArr; + let chr, ord; + let line; + let startPos = 0; + let isEncoded = false; + let i, len; + + maxLength = maxLength || 50; + + // process ascii only text + if (this.isPlainText(data)) { + // check if conversion is even needed + if (encodedStr.length <= maxLength) { + return [ + { + key, + value: encodedStr + } + ]; + } + + encodedStr = encodedStr.replace(new RegExp('.{' + maxLength + '}', 'g'), str => { + list.push({ + line: str + }); + return ''; + }); + + if (encodedStr) { + list.push({ + line: encodedStr + }); + } + } else { + if (/[\uD800-\uDBFF]/.test(encodedStr)) { + // string containts surrogate pairs, so normalize it to an array of bytes + encodedStrArr = []; + for (i = 0, len = encodedStr.length; i < len; i++) { + chr = encodedStr.charAt(i); + ord = chr.charCodeAt(0); + if (ord >= 0xd800 && ord <= 0xdbff && i < len - 1) { + chr += encodedStr.charAt(i + 1); + encodedStrArr.push(chr); + i++; + } else { + encodedStrArr.push(chr); + } + } + encodedStr = encodedStrArr; + } + + // first line includes the charset and language info and needs to be encoded + // even if it does not contain any unicode characters + line = "utf-8''"; + isEncoded = true; + startPos = 0; + + // process text with unicode or special chars + for (i = 0, len = encodedStr.length; i < len; i++) { + chr = encodedStr[i]; + + if (isEncoded) { + chr = this.safeEncodeURIComponent(chr); + } else { + // try to urlencode current char + chr = chr === ' ' ? chr : this.safeEncodeURIComponent(chr); + // By default it is not required to encode a line, the need + // only appears when the string contains unicode or special chars + // in this case we start processing the line over and encode all chars + if (chr !== encodedStr[i]) { + // Check if it is even possible to add the encoded char to the line + // If not, there is no reason to use this line, just push it to the list + // and start a new line with the char that needs encoding + if ((this.safeEncodeURIComponent(line) + chr).length >= maxLength) { + list.push({ + line, + encoded: isEncoded + }); + line = ''; + startPos = i - 1; + } else { + isEncoded = true; + i = startPos; + line = ''; + continue; + } + } + } + + // if the line is already too long, push it to the list and start a new one + if ((line + chr).length >= maxLength) { + list.push({ + line, + encoded: isEncoded + }); + line = chr = encodedStr[i] === ' ' ? ' ' : this.safeEncodeURIComponent(encodedStr[i]); + if (chr === encodedStr[i]) { + isEncoded = false; + startPos = i - 1; + } else { + isEncoded = true; + } + } else { + line += chr; + } + } + + if (line) { + list.push({ + line, + encoded: isEncoded + }); + } + } + + return list.map((item, i) => ({ + // encoded lines: {name}*{part}* + // unencoded lines: {name}*{part} + // if any line needs to be encoded then the first line (part==0) is always encoded + key: key + '*' + i + (item.encoded ? '*' : ''), + value: item.line + })); + } + + /** + * Returns file extension for a content type string. If no suitable extensions + * are found, 'bin' is used as the default extension + * + * @param {String} mimeType Content type to be checked for + * @return {String} File extension + */ + detectExtension(mimeType) { + mimeType = (mimeType || '').toString().toLowerCase().replace(/\s/g, ''); + if (!(mimeType in mimetypes$2.list)) { + return 'bin'; + } + + if (typeof mimetypes$2.list[mimeType] === 'string') { + return mimetypes$2.list[mimeType]; + } + + let mimeParts = mimeType.split('/'); + + // search for name match + for (let i = 0, len = mimetypes$2.list[mimeType].length; i < len; i++) { + if (mimeParts[1] === mimetypes$2.list[mimeType][i]) { + return mimetypes$2.list[mimeType][i]; + } + } + + // use the first one + return mimetypes$2.list[mimeType][0] !== '*' ? mimetypes$2.list[mimeType][0] : 'bin'; + } + + /** + * Returns content type for a file extension. If no suitable content types + * are found, 'application/octet-stream' is used as the default content type + * + * @param {String} extension Extension to be checked for + * @return {String} File extension + */ + detectMimeType(extension) { + extension = (extension || '').toString().toLowerCase().replace(/\s/g, '').replace(/^\./g, '').split('.').pop(); + + if (!(extension in mimetypes$2.extensions)) { + return 'application/octet-stream'; + } + + if (typeof mimetypes$2.extensions[extension] === 'string') { + return mimetypes$2.extensions[extension]; + } + + let mimeParts; + + // search for name match + for (let i = 0, len = mimetypes$2.extensions[extension].length; i < len; i++) { + mimeParts = mimetypes$2.extensions[extension][i].split('/'); + if (mimeParts[1] === extension) { + return mimetypes$2.extensions[extension][i]; + } + } + + // use the first one + return mimetypes$2.extensions[extension][0]; + } + + /** + * Folds long lines, useful for folding header lines (afterSpace=false) and + * flowed text (afterSpace=true) + * + * @param {String} str String to be folded + * @param {Number} [lineLength=76] Maximum length of a line + * @param {Boolean} afterSpace If true, leave a space in th end of a line + * @return {String} String with folded lines + */ + foldLines(str, lineLength, afterSpace) { + str = (str || '').toString(); + lineLength = lineLength || 76; + + let pos = 0, + len = str.length, + result = '', + line, + match; + + while (pos < len) { + line = str.substr(pos, lineLength); + if (line.length < lineLength) { + result += line; + break; + } + if ((match = line.match(/^[^\n\r]*(\r?\n|\r)/))) { + line = match[0]; + result += line; + pos += line.length; + continue; + } else if ((match = line.match(/(\s+)[^\s]*$/)) && match[0].length - (afterSpace ? (match[1] || '').length : 0) < line.length) { + line = line.substr(0, line.length - (match[0].length - (afterSpace ? (match[1] || '').length : 0))); + } else if ((match = str.substr(pos + line.length).match(/^[^\s]+(\s*)/))) { + line = line + match[0].substr(0, match[0].length - (!afterSpace ? (match[1] || '').length : 0)); + } + + result += line; + pos += line.length; + if (pos < len) { + result += '\r\n'; + } + } + + return result; + } + + /** + * Splits a mime encoded string. Needed for dividing mime words into smaller chunks + * + * @param {String} str Mime encoded string to be split up + * @param {Number} maxlen Maximum length of characters for one part (minimum 12) + * @return {Array} Split string + */ + splitMimeEncodedString(str, maxlen) { + let curLine, + match, + chr, + done, + lines = []; + + // require at least 12 symbols to fit possible 4 octet UTF-8 sequences + maxlen = Math.max(maxlen || 0, 12); + + while (str.length) { + curLine = str.substr(0, maxlen); + + // move incomplete escaped char back to main + if ((match = curLine.match(/[=][0-9A-F]?$/i))) { + curLine = curLine.substr(0, match.index); + } + + done = false; + while (!done) { + done = true; + // check if not middle of a unicode char sequence + if ((match = str.substr(curLine.length).match(/^[=]([0-9A-F]{2})/i))) { + chr = parseInt(match[1], 16); + // invalid sequence, move one char back anc recheck + if (chr < 0xc2 && chr > 0x7f) { + curLine = curLine.substr(0, curLine.length - 3); + done = false; + } + } + } + + if (curLine.length) { + lines.push(curLine); + } + str = str.substr(curLine.length); + } + + return lines; + } + + encodeURICharComponent(chr) { + let res = ''; + let ord = chr.charCodeAt(0).toString(16).toUpperCase(); + + if (ord.length % 2) { + ord = '0' + ord; + } + + if (ord.length > 2) { + for (let i = 0, len = ord.length / 2; i < len; i++) { + res += '%' + ord.substr(i, 2); + } + } else { + res += '%' + ord; + } + + return res; + } + + safeEncodeURIComponent(str) { + str = (str || '').toString(); + + try { + // might throw if we try to encode invalid sequences, eg. partial emoji + str = encodeURIComponent(str); + } catch (E) { + // should never run + return str.replace(/[^\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]+/g, ''); + } + + // ensure chars that are not handled by encodeURICompent are converted as well + return str.replace(/[\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]/g, chr => this.encodeURICharComponent(chr)); + } +}; + +libmime$5.exports = new Libmime$1(); +libmimeExports$1.Libmime = Libmime$1; + +var libmimeExports = {}; +var libmime$4 = { + get exports(){ return libmimeExports; }, + set exports(v){ libmimeExports = v; }, +}; + +var charsetExports = {}; +var charset$1 = { + get exports(){ return charsetExports; }, + set exports(v){ charsetExports = v; }, +}; + +/* eslint quote-props: 0*/ + +var charsets$1 = { + '866': 'IBM866', + 'unicode-1-1-utf-8': 'UTF-8', + 'utf-8': 'UTF-8', + utf8: 'UTF-8', + cp866: 'IBM866', + csibm866: 'IBM866', + ibm866: 'IBM866', + csisolatin2: 'ISO-8859-2', + 'iso-8859-2': 'ISO-8859-2', + 'iso-ir-101': 'ISO-8859-2', + 'iso8859-2': 'ISO-8859-2', + iso88592: 'ISO-8859-2', + 'iso_8859-2': 'ISO-8859-2', + 'iso_8859-2:1987': 'ISO-8859-2', + l2: 'ISO-8859-2', + latin2: 'ISO-8859-2', + csisolatin3: 'ISO-8859-3', + 'iso-8859-3': 'ISO-8859-3', + 'iso-ir-109': 'ISO-8859-3', + 'iso8859-3': 'ISO-8859-3', + iso88593: 'ISO-8859-3', + 'iso_8859-3': 'ISO-8859-3', + 'iso_8859-3:1988': 'ISO-8859-3', + l3: 'ISO-8859-3', + latin3: 'ISO-8859-3', + csisolatin4: 'ISO-8859-4', + 'iso-8859-4': 'ISO-8859-4', + 'iso-ir-110': 'ISO-8859-4', + 'iso8859-4': 'ISO-8859-4', + iso88594: 'ISO-8859-4', + 'iso_8859-4': 'ISO-8859-4', + 'iso_8859-4:1988': 'ISO-8859-4', + l4: 'ISO-8859-4', + latin4: 'ISO-8859-4', + csisolatincyrillic: 'ISO-8859-5', + cyrillic: 'ISO-8859-5', + 'iso-8859-5': 'ISO-8859-5', + 'iso-ir-144': 'ISO-8859-5', + 'iso8859-5': 'ISO-8859-5', + iso88595: 'ISO-8859-5', + 'iso_8859-5': 'ISO-8859-5', + 'iso_8859-5:1988': 'ISO-8859-5', + arabic: 'ISO-8859-6', + 'asmo-708': 'ISO-8859-6', + csiso88596e: 'ISO-8859-6', + csiso88596i: 'ISO-8859-6', + csisolatinarabic: 'ISO-8859-6', + 'ecma-114': 'ISO-8859-6', + 'iso-8859-6': 'ISO-8859-6', + 'iso-8859-6-e': 'ISO-8859-6', + 'iso-8859-6-i': 'ISO-8859-6', + 'iso-ir-127': 'ISO-8859-6', + 'iso8859-6': 'ISO-8859-6', + iso88596: 'ISO-8859-6', + 'iso_8859-6': 'ISO-8859-6', + 'iso_8859-6:1987': 'ISO-8859-6', + csisolatingreek: 'ISO-8859-7', + 'ecma-118': 'ISO-8859-7', + elot_928: 'ISO-8859-7', + greek: 'ISO-8859-7', + greek8: 'ISO-8859-7', + 'iso-8859-7': 'ISO-8859-7', + 'iso-ir-126': 'ISO-8859-7', + 'iso8859-7': 'ISO-8859-7', + iso88597: 'ISO-8859-7', + 'iso_8859-7': 'ISO-8859-7', + 'iso_8859-7:1987': 'ISO-8859-7', + sun_eu_greek: 'ISO-8859-7', + csiso88598e: 'ISO-8859-8', + csisolatinhebrew: 'ISO-8859-8', + hebrew: 'ISO-8859-8', + 'iso-8859-8': 'ISO-8859-8', + 'iso-8859-8-e': 'ISO-8859-8', + 'iso-8859-8-i': 'ISO-8859-8', + 'iso-ir-138': 'ISO-8859-8', + 'iso8859-8': 'ISO-8859-8', + iso88598: 'ISO-8859-8', + 'iso_8859-8': 'ISO-8859-8', + 'iso_8859-8:1988': 'ISO-8859-8', + visual: 'ISO-8859-8', + csisolatin6: 'ISO-8859-10', + 'iso-8859-10': 'ISO-8859-10', + 'iso-ir-157': 'ISO-8859-10', + 'iso8859-10': 'ISO-8859-10', + iso885910: 'ISO-8859-10', + l6: 'ISO-8859-10', + latin6: 'ISO-8859-10', + 'iso-8859-13': 'ISO-8859-13', + 'iso8859-13': 'ISO-8859-13', + iso885913: 'ISO-8859-13', + 'iso-8859-14': 'ISO-8859-14', + 'iso8859-14': 'ISO-8859-14', + iso885914: 'ISO-8859-14', + csisolatin9: 'ISO-8859-15', + 'iso-8859-15': 'ISO-8859-15', + 'iso8859-15': 'ISO-8859-15', + iso885915: 'ISO-8859-15', + 'iso_8859-15': 'ISO-8859-15', + l9: 'ISO-8859-15', + 'iso-8859-16': 'ISO-8859-16', + cskoi8r: 'KOI8-R', + koi: 'KOI8-R', + koi8: 'KOI8-R', + 'koi8-r': 'KOI8-R', + koi8_r: 'KOI8-R', + 'koi8-ru': 'KOI8-U', + 'koi8-u': 'KOI8-U', + csmacintosh: 'macintosh', + mac: 'macintosh', + macintosh: 'macintosh', + 'x-mac-roman': 'macintosh', + 'dos-874': 'windows-874', + 'iso-8859-11': 'windows-874', + 'iso8859-11': 'windows-874', + iso885911: 'windows-874', + 'tis-620': 'windows-874', + 'windows-874': 'windows-874', + cp1250: 'windows-1250', + 'windows-1250': 'windows-1250', + 'x-cp1250': 'windows-1250', + cp1251: 'windows-1251', + 'windows-1251': 'windows-1251', + 'x-cp1251': 'windows-1251', + 'ansi_x3.4-1968': 'windows-1252', + ascii: 'windows-1252', + cp1252: 'windows-1252', + cp819: 'windows-1252', + csisolatin1: 'windows-1252', + ibm819: 'windows-1252', + 'iso-8859-1': 'windows-1252', + 'iso-ir-100': 'windows-1252', + 'iso8859-1': 'windows-1252', + iso88591: 'windows-1252', + 'iso_8859-1': 'windows-1252', + 'iso_8859-1:1987': 'windows-1252', + l1: 'windows-1252', + latin1: 'windows-1252', + 'us-ascii': 'windows-1252', + 'windows-1252': 'windows-1252', + 'x-cp1252': 'windows-1252', + cp1253: 'windows-1253', + 'windows-1253': 'windows-1253', + 'x-cp1253': 'windows-1253', + cp1254: 'windows-1254', + csisolatin5: 'windows-1254', + 'iso-8859-9': 'windows-1254', + 'iso-ir-148': 'windows-1254', + 'iso8859-9': 'windows-1254', + iso88599: 'windows-1254', + 'iso_8859-9': 'windows-1254', + 'iso_8859-9:1989': 'windows-1254', + l5: 'windows-1254', + latin5: 'windows-1254', + 'windows-1254': 'windows-1254', + 'x-cp1254': 'windows-1254', + cp1255: 'windows-1255', + 'windows-1255': 'windows-1255', + 'x-cp1255': 'windows-1255', + cp1256: 'windows-1256', + 'windows-1256': 'windows-1256', + 'x-cp1256': 'windows-1256', + cp1257: 'windows-1257', + 'windows-1257': 'windows-1257', + 'x-cp1257': 'windows-1257', + cp1258: 'windows-1258', + 'windows-1258': 'windows-1258', + 'x-cp1258': 'windows-1258', + chinese: 'GBK', + csgb2312: 'GBK', + csiso58gb231280: 'GBK', + gb2312: 'GBK', + gb_2312: 'GBK', + 'gb_2312-80': 'GBK', + gbk: 'GBK', + 'iso-ir-58': 'GBK', + 'x-gbk': 'GBK', + gb18030: 'gb18030', + big5: 'Big5', + 'big5-hkscs': 'Big5', + 'cn-big5': 'Big5', + csbig5: 'Big5', + 'x-x-big5': 'Big5', + cseucpkdfmtjapanese: 'EUC-JP', + 'euc-jp': 'EUC-JP', + 'x-euc-jp': 'EUC-JP', + csshiftjis: 'Shift_JIS', + ms932: 'Shift_JIS', + ms_kanji: 'Shift_JIS', + 'shift-jis': 'Shift_JIS', + shift_jis: 'Shift_JIS', + sjis: 'Shift_JIS', + 'windows-31j': 'Shift_JIS', + 'x-sjis': 'Shift_JIS', + cseuckr: 'EUC-KR', + csksc56011987: 'EUC-KR', + 'euc-kr': 'EUC-KR', + 'iso-ir-149': 'EUC-KR', + korean: 'EUC-KR', + 'ks_c_5601-1987': 'EUC-KR', + 'ks_c_5601-1989': 'EUC-KR', + ksc5601: 'EUC-KR', + ksc_5601: 'EUC-KR', + 'windows-949': 'EUC-KR', + 'utf-16be': 'UTF-16BE', + 'utf-16': 'UTF-16LE', + 'utf-16le': 'UTF-16LE' +}; + +const iconv = libExports; +const encodingJapanese$1 = src; +const charsets = charsets$1; + +/** + * Character set encoding and decoding functions + */ +const charset = (charset$1.exports = { + /** + * Encodes an unicode string into an Buffer object as UTF-8 + * + * We force UTF-8 here, no strange encodings allowed. + * + * @param {String} str String to be encoded + * @return {Buffer} UTF-8 encoded typed array + */ + encode(str) { + return Buffer.from(str, 'utf-8'); + }, + + /** + * Decodes a string from Buffer to an unicode string using specified encoding + * NB! Throws if unknown charset is used + * + * @param {Buffer} buf Binary data to be decoded + * @param {String} [fromCharset='UTF-8'] Binary data is decoded into string using this charset + * @return {String} Decded string + */ + decode(buf, fromCharset) { + fromCharset = charset.normalizeCharset(fromCharset || 'UTF-8'); + + if (/^(us-)?ascii|utf-8|7bit$/i.test(fromCharset)) { + return buf.toString('utf-8'); + } + + try { + if (/^jis|^iso-?2022-?jp|^EUCJP/i.test(fromCharset)) { + if (typeof buf === 'string') { + buf = Buffer.from(buf); + } + try { + let output = encodingJapanese$1.convert(buf, { + to: 'UNICODE', + from: fromCharset, + type: 'string' + }); + if (typeof output === 'string') { + output = Buffer.from(output); + } + return output; + } catch (err) { + // ignore, defaults to iconv-lite on error + } + } + + return iconv.decode(buf, fromCharset); + } catch (err) { + // enforce utf-8, data loss might occur + return buf.toString(); + } + }, + + /** + * Convert a string from specific encoding to UTF-8 Buffer + * + * @param {String|Buffer} str String to be encoded + * @param {String} [fromCharset='UTF-8'] Source encoding for the string + * @return {Buffer} UTF-8 encoded typed array + */ + convert(data, fromCharset) { + fromCharset = charset.normalizeCharset(fromCharset || 'UTF-8'); + + let bufString; + + if (typeof data !== 'string') { + if (/^(us-)?ascii|utf-8|7bit$/i.test(fromCharset)) { + return data; + } + + bufString = charset.decode(data, fromCharset); + return charset.encode(bufString); + } + return charset.encode(data); + }, + + /** + * Converts well known invalid character set names to proper names. + * eg. win-1257 will be converted to WINDOWS-1257 + * + * @param {String} charset Charset name to convert + * @return {String} Canoninicalized charset name + */ + normalizeCharset(charset) { + charset = charset.toLowerCase().trim(); + + // first pass + if (charsets.hasOwnProperty(charset) && charsets[charset]) { + return charsets[charset]; + } + + charset = charset + .replace(/^utf[-_]?(\d+)/, 'utf-$1') + .replace(/^(?:us[-_]?)ascii/, 'windows-1252') + .replace(/^win(?:dows)?[-_]?(\d+)/, 'windows-$1') + .replace(/^(?:latin|iso[-_]?8859)?[-_]?(\d+)/, 'iso-8859-$1') + .replace(/^l[-_]?(\d+)/, 'iso-8859-$1'); + + // updated pass + if (charsets.hasOwnProperty(charset) && charsets[charset]) { + return charsets[charset]; + } + + return charset.toUpperCase(); + } +}); + +/* eslint quote-props: 0 */ + +var mimetypes$1 = { + list: { + 'application/acad': 'dwg', + 'application/applixware': 'aw', + 'application/arj': 'arj', + 'application/atom+xml': 'xml', + 'application/atomcat+xml': 'atomcat', + 'application/atomsvc+xml': 'atomsvc', + 'application/base64': ['mm', 'mme'], + 'application/binhex': 'hqx', + 'application/binhex4': 'hqx', + 'application/book': ['book', 'boo'], + 'application/ccxml+xml,': 'ccxml', + 'application/cdf': 'cdf', + 'application/cdmi-capability': 'cdmia', + 'application/cdmi-container': 'cdmic', + 'application/cdmi-domain': 'cdmid', + 'application/cdmi-object': 'cdmio', + 'application/cdmi-queue': 'cdmiq', + 'application/clariscad': 'ccad', + 'application/commonground': 'dp', + 'application/cu-seeme': 'cu', + 'application/davmount+xml': 'davmount', + 'application/drafting': 'drw', + 'application/dsptype': 'tsp', + 'application/dssc+der': 'dssc', + 'application/dssc+xml': 'xdssc', + 'application/dxf': 'dxf', + 'application/ecmascript': ['js', 'es'], + 'application/emma+xml': 'emma', + 'application/envoy': 'evy', + 'application/epub+zip': 'epub', + 'application/excel': ['xls', 'xl', 'xla', 'xlb', 'xlc', 'xld', 'xlk', 'xll', 'xlm', 'xlt', 'xlv', 'xlw'], + 'application/exi': 'exi', + 'application/font-tdpfr': 'pfr', + 'application/fractals': 'fif', + 'application/freeloader': 'frl', + 'application/futuresplash': 'spl', + 'application/gnutar': 'tgz', + 'application/groupwise': 'vew', + 'application/hlp': 'hlp', + 'application/hta': 'hta', + 'application/hyperstudio': 'stk', + 'application/i-deas': 'unv', + 'application/iges': ['iges', 'igs'], + 'application/inf': 'inf', + 'application/internet-property-stream': 'acx', + 'application/ipfix': 'ipfix', + 'application/java': 'class', + 'application/java-archive': 'jar', + 'application/java-byte-code': 'class', + 'application/java-serialized-object': 'ser', + 'application/java-vm': 'class', + 'application/javascript': 'js', + 'application/json': 'json', + 'application/lha': 'lha', + 'application/lzx': 'lzx', + 'application/mac-binary': 'bin', + 'application/mac-binhex': 'hqx', + 'application/mac-binhex40': 'hqx', + 'application/mac-compactpro': 'cpt', + 'application/macbinary': 'bin', + 'application/mads+xml': 'mads', + 'application/marc': 'mrc', + 'application/marcxml+xml': 'mrcx', + 'application/mathematica': 'ma', + 'application/mathml+xml': 'mathml', + 'application/mbedlet': 'mbd', + 'application/mbox': 'mbox', + 'application/mcad': 'mcd', + 'application/mediaservercontrol+xml': 'mscml', + 'application/metalink4+xml': 'meta4', + 'application/mets+xml': 'mets', + 'application/mime': 'aps', + 'application/mods+xml': 'mods', + 'application/mp21': 'm21', + 'application/mp4': 'mp4', + 'application/mspowerpoint': ['ppt', 'pot', 'pps', 'ppz'], + 'application/msword': ['doc', 'dot', 'w6w', 'wiz', 'word'], + 'application/mswrite': 'wri', + 'application/mxf': 'mxf', + 'application/netmc': 'mcp', + 'application/octet-stream': ['*'], + 'application/oda': 'oda', + 'application/oebps-package+xml': 'opf', + 'application/ogg': 'ogx', + 'application/olescript': 'axs', + 'application/onenote': 'onetoc', + 'application/patch-ops-error+xml': 'xer', + 'application/pdf': 'pdf', + 'application/pgp-encrypted': 'asc', + 'application/pgp-signature': 'pgp', + 'application/pics-rules': 'prf', + 'application/pkcs-12': 'p12', + 'application/pkcs-crl': 'crl', + 'application/pkcs10': 'p10', + 'application/pkcs7-mime': ['p7c', 'p7m'], + 'application/pkcs7-signature': 'p7s', + 'application/pkcs8': 'p8', + 'application/pkix-attr-cert': 'ac', + 'application/pkix-cert': ['cer', 'crt'], + 'application/pkix-crl': 'crl', + 'application/pkix-pkipath': 'pkipath', + 'application/pkixcmp': 'pki', + 'application/plain': 'text', + 'application/pls+xml': 'pls', + 'application/postscript': ['ps', 'ai', 'eps'], + 'application/powerpoint': 'ppt', + 'application/pro_eng': ['part', 'prt'], + 'application/prs.cww': 'cww', + 'application/pskc+xml': 'pskcxml', + 'application/rdf+xml': 'rdf', + 'application/reginfo+xml': 'rif', + 'application/relax-ng-compact-syntax': 'rnc', + 'application/resource-lists+xml': 'rl', + 'application/resource-lists-diff+xml': 'rld', + 'application/ringing-tones': 'rng', + 'application/rls-services+xml': 'rs', + 'application/rsd+xml': 'rsd', + 'application/rss+xml': 'xml', + 'application/rtf': ['rtf', 'rtx'], + 'application/sbml+xml': 'sbml', + 'application/scvp-cv-request': 'scq', + 'application/scvp-cv-response': 'scs', + 'application/scvp-vp-request': 'spq', + 'application/scvp-vp-response': 'spp', + 'application/sdp': 'sdp', + 'application/sea': 'sea', + 'application/set': 'set', + 'application/set-payment-initiation': 'setpay', + 'application/set-registration-initiation': 'setreg', + 'application/shf+xml': 'shf', + 'application/sla': 'stl', + 'application/smil': ['smi', 'smil'], + 'application/smil+xml': 'smi', + 'application/solids': 'sol', + 'application/sounder': 'sdr', + 'application/sparql-query': 'rq', + 'application/sparql-results+xml': 'srx', + 'application/srgs': 'gram', + 'application/srgs+xml': 'grxml', + 'application/sru+xml': 'sru', + 'application/ssml+xml': 'ssml', + 'application/step': ['step', 'stp'], + 'application/streamingmedia': 'ssm', + 'application/tei+xml': 'tei', + 'application/thraud+xml': 'tfi', + 'application/timestamped-data': 'tsd', + 'application/toolbook': 'tbk', + 'application/vda': 'vda', + 'application/vnd.3gpp.pic-bw-large': 'plb', + 'application/vnd.3gpp.pic-bw-small': 'psb', + 'application/vnd.3gpp.pic-bw-var': 'pvb', + 'application/vnd.3gpp2.tcap': 'tcap', + 'application/vnd.3m.post-it-notes': 'pwn', + 'application/vnd.accpac.simply.aso': 'aso', + 'application/vnd.accpac.simply.imp': 'imp', + 'application/vnd.acucobol': 'acu', + 'application/vnd.acucorp': 'atc', + 'application/vnd.adobe.air-application-installer-package+zip': 'air', + 'application/vnd.adobe.fxp': 'fxp', + 'application/vnd.adobe.xdp+xml': 'xdp', + 'application/vnd.adobe.xfdf': 'xfdf', + 'application/vnd.ahead.space': 'ahead', + 'application/vnd.airzip.filesecure.azf': 'azf', + 'application/vnd.airzip.filesecure.azs': 'azs', + 'application/vnd.amazon.ebook': 'azw', + 'application/vnd.americandynamics.acc': 'acc', + 'application/vnd.amiga.ami': 'ami', + 'application/vnd.android.package-archive': 'apk', + 'application/vnd.anser-web-certificate-issue-initiation': 'cii', + 'application/vnd.anser-web-funds-transfer-initiation': 'fti', + 'application/vnd.antix.game-component': 'atx', + 'application/vnd.apple.installer+xml': 'mpkg', + 'application/vnd.apple.mpegurl': 'm3u8', + 'application/vnd.aristanetworks.swi': 'swi', + 'application/vnd.audiograph': 'aep', + 'application/vnd.blueice.multipass': 'mpm', + 'application/vnd.bmi': 'bmi', + 'application/vnd.businessobjects': 'rep', + 'application/vnd.chemdraw+xml': 'cdxml', + 'application/vnd.chipnuts.karaoke-mmd': 'mmd', + 'application/vnd.cinderella': 'cdy', + 'application/vnd.claymore': 'cla', + 'application/vnd.cloanto.rp9': 'rp9', + 'application/vnd.clonk.c4group': 'c4g', + 'application/vnd.cluetrust.cartomobile-config': 'c11amc', + 'application/vnd.cluetrust.cartomobile-config-pkg': 'c11amz', + 'application/vnd.commonspace': 'csp', + 'application/vnd.contact.cmsg': 'cdbcmsg', + 'application/vnd.cosmocaller': 'cmc', + 'application/vnd.crick.clicker': 'clkx', + 'application/vnd.crick.clicker.keyboard': 'clkk', + 'application/vnd.crick.clicker.palette': 'clkp', + 'application/vnd.crick.clicker.template': 'clkt', + 'application/vnd.crick.clicker.wordbank': 'clkw', + 'application/vnd.criticaltools.wbs+xml': 'wbs', + 'application/vnd.ctc-posml': 'pml', + 'application/vnd.cups-ppd': 'ppd', + 'application/vnd.curl.car': 'car', + 'application/vnd.curl.pcurl': 'pcurl', + 'application/vnd.data-vision.rdz': 'rdz', + 'application/vnd.denovo.fcselayout-link': 'fe_launch', + 'application/vnd.dna': 'dna', + 'application/vnd.dolby.mlp': 'mlp', + 'application/vnd.dpgraph': 'dpg', + 'application/vnd.dreamfactory': 'dfac', + 'application/vnd.dvb.ait': 'ait', + 'application/vnd.dvb.service': 'svc', + 'application/vnd.dynageo': 'geo', + 'application/vnd.ecowin.chart': 'mag', + 'application/vnd.enliven': 'nml', + 'application/vnd.epson.esf': 'esf', + 'application/vnd.epson.msf': 'msf', + 'application/vnd.epson.quickanime': 'qam', + 'application/vnd.epson.salt': 'slt', + 'application/vnd.epson.ssf': 'ssf', + 'application/vnd.eszigno3+xml': 'es3', + 'application/vnd.ezpix-album': 'ez2', + 'application/vnd.ezpix-package': 'ez3', + 'application/vnd.fdf': 'fdf', + 'application/vnd.fdsn.seed': 'seed', + 'application/vnd.flographit': 'gph', + 'application/vnd.fluxtime.clip': 'ftc', + 'application/vnd.framemaker': 'fm', + 'application/vnd.frogans.fnc': 'fnc', + 'application/vnd.frogans.ltf': 'ltf', + 'application/vnd.fsc.weblaunch': 'fsc', + 'application/vnd.fujitsu.oasys': 'oas', + 'application/vnd.fujitsu.oasys2': 'oa2', + 'application/vnd.fujitsu.oasys3': 'oa3', + 'application/vnd.fujitsu.oasysgp': 'fg5', + 'application/vnd.fujitsu.oasysprs': 'bh2', + 'application/vnd.fujixerox.ddd': 'ddd', + 'application/vnd.fujixerox.docuworks': 'xdw', + 'application/vnd.fujixerox.docuworks.binder': 'xbd', + 'application/vnd.fuzzysheet': 'fzs', + 'application/vnd.genomatix.tuxedo': 'txd', + 'application/vnd.geogebra.file': 'ggb', + 'application/vnd.geogebra.tool': 'ggt', + 'application/vnd.geometry-explorer': 'gex', + 'application/vnd.geonext': 'gxt', + 'application/vnd.geoplan': 'g2w', + 'application/vnd.geospace': 'g3w', + 'application/vnd.gmx': 'gmx', + 'application/vnd.google-earth.kml+xml': 'kml', + 'application/vnd.google-earth.kmz': 'kmz', + 'application/vnd.grafeq': 'gqf', + 'application/vnd.groove-account': 'gac', + 'application/vnd.groove-help': 'ghf', + 'application/vnd.groove-identity-message': 'gim', + 'application/vnd.groove-injector': 'grv', + 'application/vnd.groove-tool-message': 'gtm', + 'application/vnd.groove-tool-template': 'tpl', + 'application/vnd.groove-vcard': 'vcg', + 'application/vnd.hal+xml': 'hal', + 'application/vnd.handheld-entertainment+xml': 'zmm', + 'application/vnd.hbci': 'hbci', + 'application/vnd.hhe.lesson-player': 'les', + 'application/vnd.hp-hpgl': ['hgl', 'hpg', 'hpgl'], + 'application/vnd.hp-hpid': 'hpid', + 'application/vnd.hp-hps': 'hps', + 'application/vnd.hp-jlyt': 'jlt', + 'application/vnd.hp-pcl': 'pcl', + 'application/vnd.hp-pclxl': 'pclxl', + 'application/vnd.hydrostatix.sof-data': 'sfd-hdstx', + 'application/vnd.hzn-3d-crossword': 'x3d', + 'application/vnd.ibm.minipay': 'mpy', + 'application/vnd.ibm.modcap': 'afp', + 'application/vnd.ibm.rights-management': 'irm', + 'application/vnd.ibm.secure-container': 'sc', + 'application/vnd.iccprofile': 'icc', + 'application/vnd.igloader': 'igl', + 'application/vnd.immervision-ivp': 'ivp', + 'application/vnd.immervision-ivu': 'ivu', + 'application/vnd.insors.igm': 'igm', + 'application/vnd.intercon.formnet': 'xpw', + 'application/vnd.intergeo': 'i2g', + 'application/vnd.intu.qbo': 'qbo', + 'application/vnd.intu.qfx': 'qfx', + 'application/vnd.ipunplugged.rcprofile': 'rcprofile', + 'application/vnd.irepository.package+xml': 'irp', + 'application/vnd.is-xpr': 'xpr', + 'application/vnd.isac.fcs': 'fcs', + 'application/vnd.jam': 'jam', + 'application/vnd.jcp.javame.midlet-rms': 'rms', + 'application/vnd.jisp': 'jisp', + 'application/vnd.joost.joda-archive': 'joda', + 'application/vnd.kahootz': 'ktz', + 'application/vnd.kde.karbon': 'karbon', + 'application/vnd.kde.kchart': 'chrt', + 'application/vnd.kde.kformula': 'kfo', + 'application/vnd.kde.kivio': 'flw', + 'application/vnd.kde.kontour': 'kon', + 'application/vnd.kde.kpresenter': 'kpr', + 'application/vnd.kde.kspread': 'ksp', + 'application/vnd.kde.kword': 'kwd', + 'application/vnd.kenameaapp': 'htke', + 'application/vnd.kidspiration': 'kia', + 'application/vnd.kinar': 'kne', + 'application/vnd.koan': 'skp', + 'application/vnd.kodak-descriptor': 'sse', + 'application/vnd.las.las+xml': 'lasxml', + 'application/vnd.llamagraphics.life-balance.desktop': 'lbd', + 'application/vnd.llamagraphics.life-balance.exchange+xml': 'lbe', + 'application/vnd.lotus-1-2-3': '123', + 'application/vnd.lotus-approach': 'apr', + 'application/vnd.lotus-freelance': 'pre', + 'application/vnd.lotus-notes': 'nsf', + 'application/vnd.lotus-organizer': 'org', + 'application/vnd.lotus-screencam': 'scm', + 'application/vnd.lotus-wordpro': 'lwp', + 'application/vnd.macports.portpkg': 'portpkg', + 'application/vnd.mcd': 'mcd', + 'application/vnd.medcalcdata': 'mc1', + 'application/vnd.mediastation.cdkey': 'cdkey', + 'application/vnd.mfer': 'mwf', + 'application/vnd.mfmp': 'mfm', + 'application/vnd.micrografx.flo': 'flo', + 'application/vnd.micrografx.igx': 'igx', + 'application/vnd.mif': 'mif', + 'application/vnd.mobius.daf': 'daf', + 'application/vnd.mobius.dis': 'dis', + 'application/vnd.mobius.mbk': 'mbk', + 'application/vnd.mobius.mqy': 'mqy', + 'application/vnd.mobius.msl': 'msl', + 'application/vnd.mobius.plc': 'plc', + 'application/vnd.mobius.txf': 'txf', + 'application/vnd.mophun.application': 'mpn', + 'application/vnd.mophun.certificate': 'mpc', + 'application/vnd.mozilla.xul+xml': 'xul', + 'application/vnd.ms-artgalry': 'cil', + 'application/vnd.ms-cab-compressed': 'cab', + 'application/vnd.ms-excel': ['xls', 'xla', 'xlc', 'xlm', 'xlt', 'xlw', 'xlb', 'xll'], + 'application/vnd.ms-excel.addin.macroenabled.12': 'xlam', + 'application/vnd.ms-excel.sheet.binary.macroenabled.12': 'xlsb', + 'application/vnd.ms-excel.sheet.macroenabled.12': 'xlsm', + 'application/vnd.ms-excel.template.macroenabled.12': 'xltm', + 'application/vnd.ms-fontobject': 'eot', + 'application/vnd.ms-htmlhelp': 'chm', + 'application/vnd.ms-ims': 'ims', + 'application/vnd.ms-lrm': 'lrm', + 'application/vnd.ms-officetheme': 'thmx', + 'application/vnd.ms-outlook': 'msg', + 'application/vnd.ms-pki.certstore': 'sst', + 'application/vnd.ms-pki.pko': 'pko', + 'application/vnd.ms-pki.seccat': 'cat', + 'application/vnd.ms-pki.stl': 'stl', + 'application/vnd.ms-pkicertstore': 'sst', + 'application/vnd.ms-pkiseccat': 'cat', + 'application/vnd.ms-pkistl': 'stl', + 'application/vnd.ms-powerpoint': ['ppt', 'pot', 'pps', 'ppa', 'pwz'], + 'application/vnd.ms-powerpoint.addin.macroenabled.12': 'ppam', + 'application/vnd.ms-powerpoint.presentation.macroenabled.12': 'pptm', + 'application/vnd.ms-powerpoint.slide.macroenabled.12': 'sldm', + 'application/vnd.ms-powerpoint.slideshow.macroenabled.12': 'ppsm', + 'application/vnd.ms-powerpoint.template.macroenabled.12': 'potm', + 'application/vnd.ms-project': 'mpp', + 'application/vnd.ms-word.document.macroenabled.12': 'docm', + 'application/vnd.ms-word.template.macroenabled.12': 'dotm', + 'application/vnd.ms-works': ['wks', 'wcm', 'wdb', 'wps'], + 'application/vnd.ms-wpl': 'wpl', + 'application/vnd.ms-xpsdocument': 'xps', + 'application/vnd.mseq': 'mseq', + 'application/vnd.musician': 'mus', + 'application/vnd.muvee.style': 'msty', + 'application/vnd.neurolanguage.nlu': 'nlu', + 'application/vnd.noblenet-directory': 'nnd', + 'application/vnd.noblenet-sealer': 'nns', + 'application/vnd.noblenet-web': 'nnw', + 'application/vnd.nokia.configuration-message': 'ncm', + 'application/vnd.nokia.n-gage.data': 'ngdat', + 'application/vnd.nokia.n-gage.symbian.install': 'n-gage', + 'application/vnd.nokia.radio-preset': 'rpst', + 'application/vnd.nokia.radio-presets': 'rpss', + 'application/vnd.nokia.ringing-tone': 'rng', + 'application/vnd.novadigm.edm': 'edm', + 'application/vnd.novadigm.edx': 'edx', + 'application/vnd.novadigm.ext': 'ext', + 'application/vnd.oasis.opendocument.chart': 'odc', + 'application/vnd.oasis.opendocument.chart-template': 'otc', + 'application/vnd.oasis.opendocument.database': 'odb', + 'application/vnd.oasis.opendocument.formula': 'odf', + 'application/vnd.oasis.opendocument.formula-template': 'odft', + 'application/vnd.oasis.opendocument.graphics': 'odg', + 'application/vnd.oasis.opendocument.graphics-template': 'otg', + 'application/vnd.oasis.opendocument.image': 'odi', + 'application/vnd.oasis.opendocument.image-template': 'oti', + 'application/vnd.oasis.opendocument.presentation': 'odp', + 'application/vnd.oasis.opendocument.presentation-template': 'otp', + 'application/vnd.oasis.opendocument.spreadsheet': 'ods', + 'application/vnd.oasis.opendocument.spreadsheet-template': 'ots', + 'application/vnd.oasis.opendocument.text': 'odt', + 'application/vnd.oasis.opendocument.text-master': 'odm', + 'application/vnd.oasis.opendocument.text-template': 'ott', + 'application/vnd.oasis.opendocument.text-web': 'oth', + 'application/vnd.olpc-sugar': 'xo', + 'application/vnd.oma.dd2+xml': 'dd2', + 'application/vnd.openofficeorg.extension': 'oxt', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'pptx', + 'application/vnd.openxmlformats-officedocument.presentationml.slide': 'sldx', + 'application/vnd.openxmlformats-officedocument.presentationml.slideshow': 'ppsx', + 'application/vnd.openxmlformats-officedocument.presentationml.template': 'potx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'xlsx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.template': 'xltx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'docx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.template': 'dotx', + 'application/vnd.osgeo.mapguide.package': 'mgp', + 'application/vnd.osgi.dp': 'dp', + 'application/vnd.palm': 'pdb', + 'application/vnd.pawaafile': 'paw', + 'application/vnd.pg.format': 'str', + 'application/vnd.pg.osasli': 'ei6', + 'application/vnd.picsel': 'efif', + 'application/vnd.pmi.widget': 'wg', + 'application/vnd.pocketlearn': 'plf', + 'application/vnd.powerbuilder6': 'pbd', + 'application/vnd.previewsystems.box': 'box', + 'application/vnd.proteus.magazine': 'mgz', + 'application/vnd.publishare-delta-tree': 'qps', + 'application/vnd.pvi.ptid1': 'ptid', + 'application/vnd.quark.quarkxpress': 'qxd', + 'application/vnd.realvnc.bed': 'bed', + 'application/vnd.recordare.musicxml': 'mxl', + 'application/vnd.recordare.musicxml+xml': 'musicxml', + 'application/vnd.rig.cryptonote': 'cryptonote', + 'application/vnd.rim.cod': 'cod', + 'application/vnd.rn-realmedia': 'rm', + 'application/vnd.rn-realplayer': 'rnx', + 'application/vnd.route66.link66+xml': 'link66', + 'application/vnd.sailingtracker.track': 'st', + 'application/vnd.seemail': 'see', + 'application/vnd.sema': 'sema', + 'application/vnd.semd': 'semd', + 'application/vnd.semf': 'semf', + 'application/vnd.shana.informed.formdata': 'ifm', + 'application/vnd.shana.informed.formtemplate': 'itp', + 'application/vnd.shana.informed.interchange': 'iif', + 'application/vnd.shana.informed.package': 'ipk', + 'application/vnd.simtech-mindmapper': 'twd', + 'application/vnd.smaf': 'mmf', + 'application/vnd.smart.teacher': 'teacher', + 'application/vnd.solent.sdkm+xml': 'sdkm', + 'application/vnd.spotfire.dxp': 'dxp', + 'application/vnd.spotfire.sfs': 'sfs', + 'application/vnd.stardivision.calc': 'sdc', + 'application/vnd.stardivision.draw': 'sda', + 'application/vnd.stardivision.impress': 'sdd', + 'application/vnd.stardivision.math': 'smf', + 'application/vnd.stardivision.writer': 'sdw', + 'application/vnd.stardivision.writer-global': 'sgl', + 'application/vnd.stepmania.stepchart': 'sm', + 'application/vnd.sun.xml.calc': 'sxc', + 'application/vnd.sun.xml.calc.template': 'stc', + 'application/vnd.sun.xml.draw': 'sxd', + 'application/vnd.sun.xml.draw.template': 'std', + 'application/vnd.sun.xml.impress': 'sxi', + 'application/vnd.sun.xml.impress.template': 'sti', + 'application/vnd.sun.xml.math': 'sxm', + 'application/vnd.sun.xml.writer': 'sxw', + 'application/vnd.sun.xml.writer.global': 'sxg', + 'application/vnd.sun.xml.writer.template': 'stw', + 'application/vnd.sus-calendar': 'sus', + 'application/vnd.svd': 'svd', + 'application/vnd.symbian.install': 'sis', + 'application/vnd.syncml+xml': 'xsm', + 'application/vnd.syncml.dm+wbxml': 'bdm', + 'application/vnd.syncml.dm+xml': 'xdm', + 'application/vnd.tao.intent-module-archive': 'tao', + 'application/vnd.tmobile-livetv': 'tmo', + 'application/vnd.trid.tpt': 'tpt', + 'application/vnd.triscape.mxs': 'mxs', + 'application/vnd.trueapp': 'tra', + 'application/vnd.ufdl': 'ufd', + 'application/vnd.uiq.theme': 'utz', + 'application/vnd.umajin': 'umj', + 'application/vnd.unity': 'unityweb', + 'application/vnd.uoml+xml': 'uoml', + 'application/vnd.vcx': 'vcx', + 'application/vnd.visio': 'vsd', + 'application/vnd.visionary': 'vis', + 'application/vnd.vsf': 'vsf', + 'application/vnd.wap.wbxml': 'wbxml', + 'application/vnd.wap.wmlc': 'wmlc', + 'application/vnd.wap.wmlscriptc': 'wmlsc', + 'application/vnd.webturbo': 'wtb', + 'application/vnd.wolfram.player': 'nbp', + 'application/vnd.wordperfect': 'wpd', + 'application/vnd.wqd': 'wqd', + 'application/vnd.wt.stf': 'stf', + 'application/vnd.xara': ['web', 'xar'], + 'application/vnd.xfdl': 'xfdl', + 'application/vnd.yamaha.hv-dic': 'hvd', + 'application/vnd.yamaha.hv-script': 'hvs', + 'application/vnd.yamaha.hv-voice': 'hvp', + 'application/vnd.yamaha.openscoreformat': 'osf', + 'application/vnd.yamaha.openscoreformat.osfpvg+xml': 'osfpvg', + 'application/vnd.yamaha.smaf-audio': 'saf', + 'application/vnd.yamaha.smaf-phrase': 'spf', + 'application/vnd.yellowriver-custom-menu': 'cmp', + 'application/vnd.zul': 'zir', + 'application/vnd.zzazz.deck+xml': 'zaz', + 'application/vocaltec-media-desc': 'vmd', + 'application/vocaltec-media-file': 'vmf', + 'application/voicexml+xml': 'vxml', + 'application/widget': 'wgt', + 'application/winhlp': 'hlp', + 'application/wordperfect': ['wp', 'wp5', 'wp6', 'wpd'], + 'application/wordperfect6.0': ['w60', 'wp5'], + 'application/wordperfect6.1': 'w61', + 'application/wsdl+xml': 'wsdl', + 'application/wspolicy+xml': 'wspolicy', + 'application/x-123': 'wk1', + 'application/x-7z-compressed': '7z', + 'application/x-abiword': 'abw', + 'application/x-ace-compressed': 'ace', + 'application/x-aim': 'aim', + 'application/x-authorware-bin': 'aab', + 'application/x-authorware-map': 'aam', + 'application/x-authorware-seg': 'aas', + 'application/x-bcpio': 'bcpio', + 'application/x-binary': 'bin', + 'application/x-binhex40': 'hqx', + 'application/x-bittorrent': 'torrent', + 'application/x-bsh': ['bsh', 'sh', 'shar'], + 'application/x-bytecode.elisp': 'elc', + 'applicaiton/x-bytecode.python': 'pyc', + 'application/x-bzip': 'bz', + 'application/x-bzip2': ['boz', 'bz2'], + 'application/x-cdf': 'cdf', + 'application/x-cdlink': 'vcd', + 'application/x-chat': ['cha', 'chat'], + 'application/x-chess-pgn': 'pgn', + 'application/x-cmu-raster': 'ras', + 'application/x-cocoa': 'cco', + 'application/x-compactpro': 'cpt', + 'application/x-compress': 'z', + 'application/x-compressed': ['tgz', 'gz', 'z', 'zip'], + 'application/x-conference': 'nsc', + 'application/x-cpio': 'cpio', + 'application/x-cpt': 'cpt', + 'application/x-csh': 'csh', + 'application/x-debian-package': 'deb', + 'application/x-deepv': 'deepv', + 'application/x-director': ['dir', 'dcr', 'dxr'], + 'application/x-doom': 'wad', + 'application/x-dtbncx+xml': 'ncx', + 'application/x-dtbook+xml': 'dtb', + 'application/x-dtbresource+xml': 'res', + 'application/x-dvi': 'dvi', + 'application/x-elc': 'elc', + 'application/x-envoy': ['env', 'evy'], + 'application/x-esrehber': 'es', + 'application/x-excel': ['xls', 'xla', 'xlb', 'xlc', 'xld', 'xlk', 'xll', 'xlm', 'xlt', 'xlv', 'xlw'], + 'application/x-font-bdf': 'bdf', + 'application/x-font-ghostscript': 'gsf', + 'application/x-font-linux-psf': 'psf', + 'application/x-font-otf': 'otf', + 'application/x-font-pcf': 'pcf', + 'application/x-font-snf': 'snf', + 'application/x-font-ttf': 'ttf', + 'application/x-font-type1': 'pfa', + 'application/x-font-woff': 'woff', + 'application/x-frame': 'mif', + 'application/x-freelance': 'pre', + 'application/x-futuresplash': 'spl', + 'application/x-gnumeric': 'gnumeric', + 'application/x-gsp': 'gsp', + 'application/x-gss': 'gss', + 'application/x-gtar': 'gtar', + 'application/x-gzip': ['gz', 'gzip'], + 'application/x-hdf': 'hdf', + 'application/x-helpfile': ['help', 'hlp'], + 'application/x-httpd-imap': 'imap', + 'application/x-ima': 'ima', + 'application/x-internet-signup': ['ins', 'isp'], + 'application/x-internett-signup': 'ins', + 'application/x-inventor': 'iv', + 'application/x-ip2': 'ip', + 'application/x-iphone': 'iii', + 'application/x-java-class': 'class', + 'application/x-java-commerce': 'jcm', + 'application/x-java-jnlp-file': 'jnlp', + 'application/x-javascript': 'js', + 'application/x-koan': ['skd', 'skm', 'skp', 'skt'], + 'application/x-ksh': 'ksh', + 'application/x-latex': ['latex', 'ltx'], + 'application/x-lha': 'lha', + 'application/x-lisp': 'lsp', + 'application/x-livescreen': 'ivy', + 'application/x-lotus': 'wq1', + 'application/x-lotusscreencam': 'scm', + 'application/x-lzh': 'lzh', + 'application/x-lzx': 'lzx', + 'application/x-mac-binhex40': 'hqx', + 'application/x-macbinary': 'bin', + 'application/x-magic-cap-package-1.0': 'mc$', + 'application/x-mathcad': 'mcd', + 'application/x-meme': 'mm', + 'application/x-midi': ['mid', 'midi'], + 'application/x-mif': 'mif', + 'application/x-mix-transfer': 'nix', + 'application/x-mobipocket-ebook': 'prc', + 'application/x-mplayer2': 'asx', + 'application/x-ms-application': 'application', + 'application/x-ms-wmd': 'wmd', + 'application/x-ms-wmz': 'wmz', + 'application/x-ms-xbap': 'xbap', + 'application/x-msaccess': 'mdb', + 'application/x-msbinder': 'obd', + 'application/x-mscardfile': 'crd', + 'application/x-msclip': 'clp', + 'application/x-msdownload': ['exe', 'dll'], + 'application/x-msexcel': ['xls', 'xla', 'xlw'], + 'application/x-msmediaview': ['mvb', 'm13', 'm14'], + 'application/x-msmetafile': 'wmf', + 'application/x-msmoney': 'mny', + 'application/x-mspowerpoint': 'ppt', + 'application/x-mspublisher': 'pub', + 'application/x-msschedule': 'scd', + 'application/x-msterminal': 'trm', + 'application/x-mswrite': 'wri', + 'application/x-navi-animation': 'ani', + 'application/x-navidoc': 'nvd', + 'application/x-navimap': 'map', + 'application/x-navistyle': 'stl', + 'application/x-netcdf': ['cdf', 'nc'], + 'application/x-newton-compatible-pkg': 'pkg', + 'application/x-nokia-9000-communicator-add-on-software': 'aos', + 'application/x-omc': 'omc', + 'application/x-omcdatamaker': 'omcd', + 'application/x-omcregerator': 'omcr', + 'application/x-pagemaker': ['pm4', 'pm5'], + 'application/x-pcl': 'pcl', + 'application/x-perfmon': ['pma', 'pmc', 'pml', 'pmr', 'pmw'], + 'application/x-pixclscript': 'plx', + 'application/x-pkcs10': 'p10', + 'application/x-pkcs12': ['p12', 'pfx'], + 'application/x-pkcs7-certificates': ['p7b', 'spc'], + 'application/x-pkcs7-certreqresp': 'p7r', + 'application/x-pkcs7-mime': ['p7m', 'p7c'], + 'application/x-pkcs7-signature': ['p7s', 'p7a'], + 'application/x-pointplus': 'css', + 'application/x-portable-anymap': 'pnm', + 'application/x-project': ['mpc', 'mpt', 'mpv', 'mpx'], + 'application/x-qpro': 'wb1', + 'application/x-rar-compressed': 'rar', + 'application/x-rtf': 'rtf', + 'application/x-sdp': 'sdp', + 'application/x-sea': 'sea', + 'application/x-seelogo': 'sl', + 'application/x-sh': 'sh', + 'application/x-shar': ['shar', 'sh'], + 'application/x-shockwave-flash': 'swf', + 'application/x-silverlight-app': 'xap', + 'application/x-sit': 'sit', + 'application/x-sprite': ['spr', 'sprite'], + 'application/x-stuffit': 'sit', + 'application/x-stuffitx': 'sitx', + 'application/x-sv4cpio': 'sv4cpio', + 'application/x-sv4crc': 'sv4crc', + 'application/x-tar': 'tar', + 'application/x-tbook': ['sbk', 'tbk'], + 'application/x-tcl': 'tcl', + 'application/x-tex': 'tex', + 'application/x-tex-tfm': 'tfm', + 'application/x-texinfo': ['texi', 'texinfo'], + 'application/x-troff': ['roff', 't', 'tr'], + 'application/x-troff-man': 'man', + 'application/x-troff-me': 'me', + 'application/x-troff-ms': 'ms', + 'application/x-troff-msvideo': 'avi', + 'application/x-ustar': 'ustar', + 'application/x-visio': ['vsd', 'vst', 'vsw'], + 'application/x-vnd.audioexplosion.mzz': 'mzz', + 'application/x-vnd.ls-xpix': 'xpix', + 'application/x-vrml': 'vrml', + 'application/x-wais-source': ['src', 'wsrc'], + 'application/x-winhelp': 'hlp', + 'application/x-wintalk': 'wtk', + 'application/x-world': ['wrl', 'svr'], + 'application/x-wpwin': 'wpd', + 'application/x-wri': 'wri', + 'application/x-x509-ca-cert': ['cer', 'crt', 'der'], + 'application/x-x509-user-cert': 'crt', + 'application/x-xfig': 'fig', + 'application/x-xpinstall': 'xpi', + 'application/x-zip-compressed': 'zip', + 'application/xcap-diff+xml': 'xdf', + 'application/xenc+xml': 'xenc', + 'application/xhtml+xml': 'xhtml', + 'application/xml': 'xml', + 'application/xml-dtd': 'dtd', + 'application/xop+xml': 'xop', + 'application/xslt+xml': 'xslt', + 'application/xspf+xml': 'xspf', + 'application/xv+xml': 'mxml', + 'application/yang': 'yang', + 'application/yin+xml': 'yin', + 'application/ynd.ms-pkipko': 'pko', + 'application/zip': 'zip', + 'audio/adpcm': 'adp', + 'audio/aiff': ['aiff', 'aif', 'aifc'], + 'audio/basic': ['snd', 'au'], + 'audio/it': 'it', + 'audio/make': ['funk', 'my', 'pfunk'], + 'audio/make.my.funk': 'pfunk', + 'audio/mid': ['mid', 'rmi'], + 'audio/midi': ['midi', 'kar', 'mid'], + 'audio/mod': 'mod', + 'audio/mp4': 'mp4a', + 'audio/mpeg': ['mpga', 'mp3', 'm2a', 'mp2', 'mpa', 'mpg'], + 'audio/mpeg3': 'mp3', + 'audio/nspaudio': ['la', 'lma'], + 'audio/ogg': 'oga', + 'audio/s3m': 's3m', + 'audio/tsp-audio': 'tsi', + 'audio/tsplayer': 'tsp', + 'audio/vnd.dece.audio': 'uva', + 'audio/vnd.digital-winds': 'eol', + 'audio/vnd.dra': 'dra', + 'audio/vnd.dts': 'dts', + 'audio/vnd.dts.hd': 'dtshd', + 'audio/vnd.lucent.voice': 'lvp', + 'audio/vnd.ms-playready.media.pya': 'pya', + 'audio/vnd.nuera.ecelp4800': 'ecelp4800', + 'audio/vnd.nuera.ecelp7470': 'ecelp7470', + 'audio/vnd.nuera.ecelp9600': 'ecelp9600', + 'audio/vnd.qcelp': 'qcp', + 'audio/vnd.rip': 'rip', + 'audio/voc': 'voc', + 'audio/voxware': 'vox', + 'audio/wav': 'wav', + 'audio/webm': 'weba', + 'audio/x-aac': 'aac', + 'audio/x-adpcm': 'snd', + 'audio/x-aiff': ['aiff', 'aif', 'aifc'], + 'audio/x-au': 'au', + 'audio/x-gsm': ['gsd', 'gsm'], + 'audio/x-jam': 'jam', + 'audio/x-liveaudio': 'lam', + 'audio/x-mid': ['mid', 'midi'], + 'audio/x-midi': ['midi', 'mid'], + 'audio/x-mod': 'mod', + 'audio/x-mpeg': 'mp2', + 'audio/x-mpeg-3': 'mp3', + 'audio/x-mpegurl': 'm3u', + 'audio/x-mpequrl': 'm3u', + 'audio/x-ms-wax': 'wax', + 'audio/x-ms-wma': 'wma', + 'audio/x-nspaudio': ['la', 'lma'], + 'audio/x-pn-realaudio': ['ra', 'ram', 'rm', 'rmm', 'rmp'], + 'audio/x-pn-realaudio-plugin': ['ra', 'rmp', 'rpm'], + 'audio/x-psid': 'sid', + 'audio/x-realaudio': 'ra', + 'audio/x-twinvq': 'vqf', + 'audio/x-twinvq-plugin': ['vqe', 'vql'], + 'audio/x-vnd.audioexplosion.mjuicemediafile': 'mjf', + 'audio/x-voc': 'voc', + 'audio/x-wav': 'wav', + 'audio/xm': 'xm', + 'chemical/x-cdx': 'cdx', + 'chemical/x-cif': 'cif', + 'chemical/x-cmdf': 'cmdf', + 'chemical/x-cml': 'cml', + 'chemical/x-csml': 'csml', + 'chemical/x-pdb': ['pdb', 'xyz'], + 'chemical/x-xyz': 'xyz', + 'drawing/x-dwf': 'dwf', + 'i-world/i-vrml': 'ivr', + 'image/bmp': ['bmp', 'bm'], + 'image/cgm': 'cgm', + 'image/cis-cod': 'cod', + 'image/cmu-raster': ['ras', 'rast'], + 'image/fif': 'fif', + 'image/florian': ['flo', 'turbot'], + 'image/g3fax': 'g3', + 'image/gif': 'gif', + 'image/ief': ['ief', 'iefs'], + 'image/jpeg': ['jpeg', 'jpe', 'jpg', 'jfif', 'jfif-tbnl'], + 'image/jutvision': 'jut', + 'image/ktx': 'ktx', + 'image/naplps': ['nap', 'naplps'], + 'image/pict': ['pic', 'pict'], + 'image/pipeg': 'jfif', + 'image/pjpeg': ['jfif', 'jpe', 'jpeg', 'jpg'], + 'image/png': ['png', 'x-png'], + 'image/prs.btif': 'btif', + 'image/svg+xml': 'svg', + 'image/tiff': ['tif', 'tiff'], + 'image/vasa': 'mcf', + 'image/vnd.adobe.photoshop': 'psd', + 'image/vnd.dece.graphic': 'uvi', + 'image/vnd.djvu': 'djvu', + 'image/vnd.dvb.subtitle': 'sub', + 'image/vnd.dwg': ['dwg', 'dxf', 'svf'], + 'image/vnd.dxf': 'dxf', + 'image/vnd.fastbidsheet': 'fbs', + 'image/vnd.fpx': 'fpx', + 'image/vnd.fst': 'fst', + 'image/vnd.fujixerox.edmics-mmr': 'mmr', + 'image/vnd.fujixerox.edmics-rlc': 'rlc', + 'image/vnd.ms-modi': 'mdi', + 'image/vnd.net-fpx': ['fpx', 'npx'], + 'image/vnd.rn-realflash': 'rf', + 'image/vnd.rn-realpix': 'rp', + 'image/vnd.wap.wbmp': 'wbmp', + 'image/vnd.xiff': 'xif', + 'image/webp': 'webp', + 'image/x-cmu-raster': 'ras', + 'image/x-cmx': 'cmx', + 'image/x-dwg': ['dwg', 'dxf', 'svf'], + 'image/x-freehand': 'fh', + 'image/x-icon': 'ico', + 'image/x-jg': 'art', + 'image/x-jps': 'jps', + 'image/x-niff': ['niff', 'nif'], + 'image/x-pcx': 'pcx', + 'image/x-pict': ['pct', 'pic'], + 'image/x-portable-anymap': 'pnm', + 'image/x-portable-bitmap': 'pbm', + 'image/x-portable-graymap': 'pgm', + 'image/x-portable-greymap': 'pgm', + 'image/x-portable-pixmap': 'ppm', + 'image/x-quicktime': ['qif', 'qti', 'qtif'], + 'image/x-rgb': 'rgb', + 'image/x-tiff': ['tif', 'tiff'], + 'image/x-windows-bmp': 'bmp', + 'image/x-xbitmap': 'xbm', + 'image/x-xbm': 'xbm', + 'image/x-xpixmap': ['xpm', 'pm'], + 'image/x-xwd': 'xwd', + 'image/x-xwindowdump': 'xwd', + 'image/xbm': 'xbm', + 'image/xpm': 'xpm', + 'message/rfc822': ['eml', 'mht', 'mhtml', 'nws', 'mime'], + 'model/iges': ['iges', 'igs'], + 'model/mesh': 'msh', + 'model/vnd.collada+xml': 'dae', + 'model/vnd.dwf': 'dwf', + 'model/vnd.gdl': 'gdl', + 'model/vnd.gtw': 'gtw', + 'model/vnd.mts': 'mts', + 'model/vnd.vtu': 'vtu', + 'model/vrml': ['vrml', 'wrl', 'wrz'], + 'model/x-pov': 'pov', + 'multipart/x-gzip': 'gzip', + 'multipart/x-ustar': 'ustar', + 'multipart/x-zip': 'zip', + 'music/crescendo': ['mid', 'midi'], + 'music/x-karaoke': 'kar', + 'paleovu/x-pv': 'pvu', + 'text/asp': 'asp', + 'text/calendar': 'ics', + 'text/css': 'css', + 'text/csv': 'csv', + 'text/ecmascript': 'js', + 'text/h323': '323', + 'text/html': ['html', 'htm', 'stm', 'acgi', 'htmls', 'htx', 'shtml'], + 'text/iuls': 'uls', + 'text/javascript': 'js', + 'text/mcf': 'mcf', + 'text/n3': 'n3', + 'text/pascal': 'pas', + 'text/plain': [ + 'txt', + 'bas', + 'c', + 'h', + 'c++', + 'cc', + 'com', + 'conf', + 'cxx', + 'def', + 'f', + 'f90', + 'for', + 'g', + 'hh', + 'idc', + 'jav', + 'java', + 'list', + 'log', + 'lst', + 'm', + 'mar', + 'pl', + 'sdml', + 'text' + ], + 'text/plain-bas': 'par', + 'text/prs.lines.tag': 'dsc', + 'text/richtext': ['rtx', 'rt', 'rtf'], + 'text/scriplet': 'wsc', + 'text/scriptlet': 'sct', + 'text/sgml': ['sgm', 'sgml'], + 'text/tab-separated-values': 'tsv', + 'text/troff': 't', + 'text/turtle': 'ttl', + 'text/uri-list': ['uni', 'unis', 'uri', 'uris'], + 'text/vnd.abc': 'abc', + 'text/vnd.curl': 'curl', + 'text/vnd.curl.dcurl': 'dcurl', + 'text/vnd.curl.mcurl': 'mcurl', + 'text/vnd.curl.scurl': 'scurl', + 'text/vnd.fly': 'fly', + 'text/vnd.fmi.flexstor': 'flx', + 'text/vnd.graphviz': 'gv', + 'text/vnd.in3d.3dml': '3dml', + 'text/vnd.in3d.spot': 'spot', + 'text/vnd.rn-realtext': 'rt', + 'text/vnd.sun.j2me.app-descriptor': 'jad', + 'text/vnd.wap.wml': 'wml', + 'text/vnd.wap.wmlscript': 'wmls', + 'text/webviewhtml': 'htt', + 'text/x-asm': ['asm', 's'], + 'text/x-audiosoft-intra': 'aip', + 'text/x-c': ['c', 'cc', 'cpp'], + 'text/x-component': 'htc', + 'text/x-fortran': ['for', 'f', 'f77', 'f90'], + 'text/x-h': ['h', 'hh'], + 'text/x-java-source': ['java', 'jav'], + 'text/x-java-source,java': 'java', + 'text/x-la-asf': 'lsx', + 'text/x-m': 'm', + 'text/x-pascal': 'p', + 'text/x-script': 'hlb', + 'text/x-script.csh': 'csh', + 'text/x-script.elisp': 'el', + 'text/x-script.guile': 'scm', + 'text/x-script.ksh': 'ksh', + 'text/x-script.lisp': 'lsp', + 'text/x-script.perl': 'pl', + 'text/x-script.perl-module': 'pm', + 'text/x-script.phyton': 'py', + 'text/x-script.rexx': 'rexx', + 'text/x-script.scheme': 'scm', + 'text/x-script.sh': 'sh', + 'text/x-script.tcl': 'tcl', + 'text/x-script.tcsh': 'tcsh', + 'text/x-script.zsh': 'zsh', + 'text/x-server-parsed-html': ['shtml', 'ssi'], + 'text/x-setext': 'etx', + 'text/x-sgml': ['sgm', 'sgml'], + 'text/x-speech': ['spc', 'talk'], + 'text/x-uil': 'uil', + 'text/x-uuencode': ['uu', 'uue'], + 'text/x-vcalendar': 'vcs', + 'text/x-vcard': 'vcf', + 'text/xml': 'xml', + 'video/3gpp': '3gp', + 'video/3gpp2': '3g2', + 'video/animaflex': 'afl', + 'video/avi': 'avi', + 'video/avs-video': 'avs', + 'video/dl': 'dl', + 'video/fli': 'fli', + 'video/gl': 'gl', + 'video/h261': 'h261', + 'video/h263': 'h263', + 'video/h264': 'h264', + 'video/jpeg': 'jpgv', + 'video/jpm': 'jpm', + 'video/mj2': 'mj2', + 'video/mp4': 'mp4', + 'video/mpeg': ['mpeg', 'mp2', 'mpa', 'mpe', 'mpg', 'mpv2', 'm1v', 'm2v', 'mp3'], + 'video/msvideo': 'avi', + 'video/ogg': 'ogv', + 'video/quicktime': ['mov', 'qt', 'moov'], + 'video/vdo': 'vdo', + 'video/vivo': ['viv', 'vivo'], + 'video/vnd.dece.hd': 'uvh', + 'video/vnd.dece.mobile': 'uvm', + 'video/vnd.dece.pd': 'uvp', + 'video/vnd.dece.sd': 'uvs', + 'video/vnd.dece.video': 'uvv', + 'video/vnd.fvt': 'fvt', + 'video/vnd.mpegurl': 'mxu', + 'video/vnd.ms-playready.media.pyv': 'pyv', + 'video/vnd.rn-realvideo': 'rv', + 'video/vnd.uvvu.mp4': 'uvu', + 'video/vnd.vivo': ['viv', 'vivo'], + 'video/vosaic': 'vos', + 'video/webm': 'webm', + 'video/x-amt-demorun': 'xdr', + 'video/x-amt-showrun': 'xsr', + 'video/x-atomic3d-feature': 'fmf', + 'video/x-dl': 'dl', + 'video/x-dv': ['dif', 'dv'], + 'video/x-f4v': 'f4v', + 'video/x-fli': 'fli', + 'video/x-flv': 'flv', + 'video/x-gl': 'gl', + 'video/x-isvideo': 'isu', + 'video/x-la-asf': ['lsf', 'lsx'], + 'video/x-m4v': 'm4v', + 'video/x-motion-jpeg': 'mjpg', + 'video/x-mpeg': ['mp3', 'mp2'], + 'video/x-mpeq2a': 'mp2', + 'video/x-ms-asf': ['asf', 'asr', 'asx'], + 'video/x-ms-asf-plugin': 'asx', + 'video/x-ms-wm': 'wm', + 'video/x-ms-wmv': 'wmv', + 'video/x-ms-wmx': 'wmx', + 'video/x-ms-wvx': 'wvx', + 'video/x-msvideo': 'avi', + 'video/x-qtc': 'qtc', + 'video/x-scm': 'scm', + 'video/x-sgi-movie': ['movie', 'mv'], + 'windows/metafile': 'wmf', + 'www/mime': 'mime', + 'x-conference/x-cooltalk': 'ice', + 'x-music/x-midi': ['mid', 'midi'], + 'x-world/x-3dmf': ['3dm', '3dmf', 'qd3', 'qd3d'], + 'x-world/x-svr': 'svr', + 'x-world/x-vrml': ['flr', 'vrml', 'wrl', 'wrz', 'xaf', 'xof'], + 'x-world/x-vrt': 'vrt', + 'xgl/drawing': 'xgz', + 'xgl/movie': 'xmz' + }, + + extensions: { + '*': 'application/octet-stream', + '123': 'application/vnd.lotus-1-2-3', + '323': 'text/h323', + '3dm': 'x-world/x-3dmf', + '3dmf': 'x-world/x-3dmf', + '3dml': 'text/vnd.in3d.3dml', + '3g2': 'video/3gpp2', + '3gp': 'video/3gpp', + '7z': 'application/x-7z-compressed', + a: 'application/octet-stream', + aab: 'application/x-authorware-bin', + aac: 'audio/x-aac', + aam: 'application/x-authorware-map', + aas: 'application/x-authorware-seg', + abc: 'text/vnd.abc', + abw: 'application/x-abiword', + ac: 'application/pkix-attr-cert', + acc: 'application/vnd.americandynamics.acc', + ace: 'application/x-ace-compressed', + acgi: 'text/html', + acu: 'application/vnd.acucobol', + acx: 'application/internet-property-stream', + adp: 'audio/adpcm', + aep: 'application/vnd.audiograph', + afl: 'video/animaflex', + afp: 'application/vnd.ibm.modcap', + ahead: 'application/vnd.ahead.space', + ai: 'application/postscript', + aif: ['audio/aiff', 'audio/x-aiff'], + aifc: ['audio/aiff', 'audio/x-aiff'], + aiff: ['audio/aiff', 'audio/x-aiff'], + aim: 'application/x-aim', + aip: 'text/x-audiosoft-intra', + air: 'application/vnd.adobe.air-application-installer-package+zip', + ait: 'application/vnd.dvb.ait', + ami: 'application/vnd.amiga.ami', + ani: 'application/x-navi-animation', + aos: 'application/x-nokia-9000-communicator-add-on-software', + apk: 'application/vnd.android.package-archive', + application: 'application/x-ms-application', + apr: 'application/vnd.lotus-approach', + aps: 'application/mime', + arc: 'application/octet-stream', + arj: ['application/arj', 'application/octet-stream'], + art: 'image/x-jg', + asf: 'video/x-ms-asf', + asm: 'text/x-asm', + aso: 'application/vnd.accpac.simply.aso', + asp: 'text/asp', + asr: 'video/x-ms-asf', + asx: ['video/x-ms-asf', 'application/x-mplayer2', 'video/x-ms-asf-plugin'], + atc: 'application/vnd.acucorp', + atomcat: 'application/atomcat+xml', + atomsvc: 'application/atomsvc+xml', + atx: 'application/vnd.antix.game-component', + au: ['audio/basic', 'audio/x-au'], + avi: ['video/avi', 'video/msvideo', 'application/x-troff-msvideo', 'video/x-msvideo'], + avs: 'video/avs-video', + aw: 'application/applixware', + axs: 'application/olescript', + azf: 'application/vnd.airzip.filesecure.azf', + azs: 'application/vnd.airzip.filesecure.azs', + azw: 'application/vnd.amazon.ebook', + bas: 'text/plain', + bcpio: 'application/x-bcpio', + bdf: 'application/x-font-bdf', + bdm: 'application/vnd.syncml.dm+wbxml', + bed: 'application/vnd.realvnc.bed', + bh2: 'application/vnd.fujitsu.oasysprs', + bin: ['application/octet-stream', 'application/mac-binary', 'application/macbinary', 'application/x-macbinary', 'application/x-binary'], + bm: 'image/bmp', + bmi: 'application/vnd.bmi', + bmp: ['image/bmp', 'image/x-windows-bmp'], + boo: 'application/book', + book: 'application/book', + box: 'application/vnd.previewsystems.box', + boz: 'application/x-bzip2', + bsh: 'application/x-bsh', + btif: 'image/prs.btif', + bz: 'application/x-bzip', + bz2: 'application/x-bzip2', + c: ['text/plain', 'text/x-c'], + 'c++': 'text/plain', + c11amc: 'application/vnd.cluetrust.cartomobile-config', + c11amz: 'application/vnd.cluetrust.cartomobile-config-pkg', + c4g: 'application/vnd.clonk.c4group', + cab: 'application/vnd.ms-cab-compressed', + car: 'application/vnd.curl.car', + cat: ['application/vnd.ms-pkiseccat', 'application/vnd.ms-pki.seccat'], + cc: ['text/plain', 'text/x-c'], + ccad: 'application/clariscad', + cco: 'application/x-cocoa', + ccxml: 'application/ccxml+xml,', + cdbcmsg: 'application/vnd.contact.cmsg', + cdf: ['application/cdf', 'application/x-cdf', 'application/x-netcdf'], + cdkey: 'application/vnd.mediastation.cdkey', + cdmia: 'application/cdmi-capability', + cdmic: 'application/cdmi-container', + cdmid: 'application/cdmi-domain', + cdmio: 'application/cdmi-object', + cdmiq: 'application/cdmi-queue', + cdx: 'chemical/x-cdx', + cdxml: 'application/vnd.chemdraw+xml', + cdy: 'application/vnd.cinderella', + cer: ['application/pkix-cert', 'application/x-x509-ca-cert'], + cgm: 'image/cgm', + cha: 'application/x-chat', + chat: 'application/x-chat', + chm: 'application/vnd.ms-htmlhelp', + chrt: 'application/vnd.kde.kchart', + cif: 'chemical/x-cif', + cii: 'application/vnd.anser-web-certificate-issue-initiation', + cil: 'application/vnd.ms-artgalry', + cla: 'application/vnd.claymore', + class: ['application/octet-stream', 'application/java', 'application/java-byte-code', 'application/java-vm', 'application/x-java-class'], + clkk: 'application/vnd.crick.clicker.keyboard', + clkp: 'application/vnd.crick.clicker.palette', + clkt: 'application/vnd.crick.clicker.template', + clkw: 'application/vnd.crick.clicker.wordbank', + clkx: 'application/vnd.crick.clicker', + clp: 'application/x-msclip', + cmc: 'application/vnd.cosmocaller', + cmdf: 'chemical/x-cmdf', + cml: 'chemical/x-cml', + cmp: 'application/vnd.yellowriver-custom-menu', + cmx: 'image/x-cmx', + cod: ['image/cis-cod', 'application/vnd.rim.cod'], + com: ['application/octet-stream', 'text/plain'], + conf: 'text/plain', + cpio: 'application/x-cpio', + cpp: 'text/x-c', + cpt: ['application/mac-compactpro', 'application/x-compactpro', 'application/x-cpt'], + crd: 'application/x-mscardfile', + crl: ['application/pkix-crl', 'application/pkcs-crl'], + crt: ['application/pkix-cert', 'application/x-x509-user-cert', 'application/x-x509-ca-cert'], + cryptonote: 'application/vnd.rig.cryptonote', + csh: ['text/x-script.csh', 'application/x-csh'], + csml: 'chemical/x-csml', + csp: 'application/vnd.commonspace', + css: ['text/css', 'application/x-pointplus'], + csv: 'text/csv', + cu: 'application/cu-seeme', + curl: 'text/vnd.curl', + cww: 'application/prs.cww', + cxx: 'text/plain', + dae: 'model/vnd.collada+xml', + daf: 'application/vnd.mobius.daf', + davmount: 'application/davmount+xml', + dcr: 'application/x-director', + dcurl: 'text/vnd.curl.dcurl', + dd2: 'application/vnd.oma.dd2+xml', + ddd: 'application/vnd.fujixerox.ddd', + deb: 'application/x-debian-package', + deepv: 'application/x-deepv', + def: 'text/plain', + der: 'application/x-x509-ca-cert', + dfac: 'application/vnd.dreamfactory', + dif: 'video/x-dv', + dir: 'application/x-director', + dis: 'application/vnd.mobius.dis', + djvu: 'image/vnd.djvu', + dl: ['video/dl', 'video/x-dl'], + dll: 'application/x-msdownload', + dms: 'application/octet-stream', + dna: 'application/vnd.dna', + doc: 'application/msword', + docm: 'application/vnd.ms-word.document.macroenabled.12', + docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + dot: 'application/msword', + dotm: 'application/vnd.ms-word.template.macroenabled.12', + dotx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', + dp: ['application/commonground', 'application/vnd.osgi.dp'], + dpg: 'application/vnd.dpgraph', + dra: 'audio/vnd.dra', + drw: 'application/drafting', + dsc: 'text/prs.lines.tag', + dssc: 'application/dssc+der', + dtb: 'application/x-dtbook+xml', + dtd: 'application/xml-dtd', + dts: 'audio/vnd.dts', + dtshd: 'audio/vnd.dts.hd', + dump: 'application/octet-stream', + dv: 'video/x-dv', + dvi: 'application/x-dvi', + dwf: ['model/vnd.dwf', 'drawing/x-dwf'], + dwg: ['application/acad', 'image/vnd.dwg', 'image/x-dwg'], + dxf: ['application/dxf', 'image/vnd.dwg', 'image/vnd.dxf', 'image/x-dwg'], + dxp: 'application/vnd.spotfire.dxp', + dxr: 'application/x-director', + ecelp4800: 'audio/vnd.nuera.ecelp4800', + ecelp7470: 'audio/vnd.nuera.ecelp7470', + ecelp9600: 'audio/vnd.nuera.ecelp9600', + edm: 'application/vnd.novadigm.edm', + edx: 'application/vnd.novadigm.edx', + efif: 'application/vnd.picsel', + ei6: 'application/vnd.pg.osasli', + el: 'text/x-script.elisp', + elc: ['application/x-elc', 'application/x-bytecode.elisp'], + eml: 'message/rfc822', + emma: 'application/emma+xml', + env: 'application/x-envoy', + eol: 'audio/vnd.digital-winds', + eot: 'application/vnd.ms-fontobject', + eps: 'application/postscript', + epub: 'application/epub+zip', + es: ['application/ecmascript', 'application/x-esrehber'], + es3: 'application/vnd.eszigno3+xml', + esf: 'application/vnd.epson.esf', + etx: 'text/x-setext', + evy: ['application/envoy', 'application/x-envoy'], + exe: ['application/octet-stream', 'application/x-msdownload'], + exi: 'application/exi', + ext: 'application/vnd.novadigm.ext', + ez2: 'application/vnd.ezpix-album', + ez3: 'application/vnd.ezpix-package', + f: ['text/plain', 'text/x-fortran'], + f4v: 'video/x-f4v', + f77: 'text/x-fortran', + f90: ['text/plain', 'text/x-fortran'], + fbs: 'image/vnd.fastbidsheet', + fcs: 'application/vnd.isac.fcs', + fdf: 'application/vnd.fdf', + fe_launch: 'application/vnd.denovo.fcselayout-link', + fg5: 'application/vnd.fujitsu.oasysgp', + fh: 'image/x-freehand', + fif: ['application/fractals', 'image/fif'], + fig: 'application/x-xfig', + fli: ['video/fli', 'video/x-fli'], + flo: ['image/florian', 'application/vnd.micrografx.flo'], + flr: 'x-world/x-vrml', + flv: 'video/x-flv', + flw: 'application/vnd.kde.kivio', + flx: 'text/vnd.fmi.flexstor', + fly: 'text/vnd.fly', + fm: 'application/vnd.framemaker', + fmf: 'video/x-atomic3d-feature', + fnc: 'application/vnd.frogans.fnc', + for: ['text/plain', 'text/x-fortran'], + fpx: ['image/vnd.fpx', 'image/vnd.net-fpx'], + frl: 'application/freeloader', + fsc: 'application/vnd.fsc.weblaunch', + fst: 'image/vnd.fst', + ftc: 'application/vnd.fluxtime.clip', + fti: 'application/vnd.anser-web-funds-transfer-initiation', + funk: 'audio/make', + fvt: 'video/vnd.fvt', + fxp: 'application/vnd.adobe.fxp', + fzs: 'application/vnd.fuzzysheet', + g: 'text/plain', + g2w: 'application/vnd.geoplan', + g3: 'image/g3fax', + g3w: 'application/vnd.geospace', + gac: 'application/vnd.groove-account', + gdl: 'model/vnd.gdl', + geo: 'application/vnd.dynageo', + gex: 'application/vnd.geometry-explorer', + ggb: 'application/vnd.geogebra.file', + ggt: 'application/vnd.geogebra.tool', + ghf: 'application/vnd.groove-help', + gif: 'image/gif', + gim: 'application/vnd.groove-identity-message', + gl: ['video/gl', 'video/x-gl'], + gmx: 'application/vnd.gmx', + gnumeric: 'application/x-gnumeric', + gph: 'application/vnd.flographit', + gqf: 'application/vnd.grafeq', + gram: 'application/srgs', + grv: 'application/vnd.groove-injector', + grxml: 'application/srgs+xml', + gsd: 'audio/x-gsm', + gsf: 'application/x-font-ghostscript', + gsm: 'audio/x-gsm', + gsp: 'application/x-gsp', + gss: 'application/x-gss', + gtar: 'application/x-gtar', + gtm: 'application/vnd.groove-tool-message', + gtw: 'model/vnd.gtw', + gv: 'text/vnd.graphviz', + gxt: 'application/vnd.geonext', + gz: ['application/x-gzip', 'application/x-compressed'], + gzip: ['multipart/x-gzip', 'application/x-gzip'], + h: ['text/plain', 'text/x-h'], + h261: 'video/h261', + h263: 'video/h263', + h264: 'video/h264', + hal: 'application/vnd.hal+xml', + hbci: 'application/vnd.hbci', + hdf: 'application/x-hdf', + help: 'application/x-helpfile', + hgl: 'application/vnd.hp-hpgl', + hh: ['text/plain', 'text/x-h'], + hlb: 'text/x-script', + hlp: ['application/winhlp', 'application/hlp', 'application/x-helpfile', 'application/x-winhelp'], + hpg: 'application/vnd.hp-hpgl', + hpgl: 'application/vnd.hp-hpgl', + hpid: 'application/vnd.hp-hpid', + hps: 'application/vnd.hp-hps', + hqx: [ + 'application/mac-binhex40', + 'application/binhex', + 'application/binhex4', + 'application/mac-binhex', + 'application/x-binhex40', + 'application/x-mac-binhex40' + ], + hta: 'application/hta', + htc: 'text/x-component', + htke: 'application/vnd.kenameaapp', + htm: 'text/html', + html: 'text/html', + htmls: 'text/html', + htt: 'text/webviewhtml', + htx: 'text/html', + hvd: 'application/vnd.yamaha.hv-dic', + hvp: 'application/vnd.yamaha.hv-voice', + hvs: 'application/vnd.yamaha.hv-script', + i2g: 'application/vnd.intergeo', + icc: 'application/vnd.iccprofile', + ice: 'x-conference/x-cooltalk', + ico: 'image/x-icon', + ics: 'text/calendar', + idc: 'text/plain', + ief: 'image/ief', + iefs: 'image/ief', + ifm: 'application/vnd.shana.informed.formdata', + iges: ['application/iges', 'model/iges'], + igl: 'application/vnd.igloader', + igm: 'application/vnd.insors.igm', + igs: ['application/iges', 'model/iges'], + igx: 'application/vnd.micrografx.igx', + iif: 'application/vnd.shana.informed.interchange', + iii: 'application/x-iphone', + ima: 'application/x-ima', + imap: 'application/x-httpd-imap', + imp: 'application/vnd.accpac.simply.imp', + ims: 'application/vnd.ms-ims', + inf: 'application/inf', + ins: ['application/x-internet-signup', 'application/x-internett-signup'], + ip: 'application/x-ip2', + ipfix: 'application/ipfix', + ipk: 'application/vnd.shana.informed.package', + irm: 'application/vnd.ibm.rights-management', + irp: 'application/vnd.irepository.package+xml', + isp: 'application/x-internet-signup', + isu: 'video/x-isvideo', + it: 'audio/it', + itp: 'application/vnd.shana.informed.formtemplate', + iv: 'application/x-inventor', + ivp: 'application/vnd.immervision-ivp', + ivr: 'i-world/i-vrml', + ivu: 'application/vnd.immervision-ivu', + ivy: 'application/x-livescreen', + jad: 'text/vnd.sun.j2me.app-descriptor', + jam: ['application/vnd.jam', 'audio/x-jam'], + jar: 'application/java-archive', + jav: ['text/plain', 'text/x-java-source'], + java: ['text/plain', 'text/x-java-source,java', 'text/x-java-source'], + jcm: 'application/x-java-commerce', + jfif: ['image/pipeg', 'image/jpeg', 'image/pjpeg'], + 'jfif-tbnl': 'image/jpeg', + jisp: 'application/vnd.jisp', + jlt: 'application/vnd.hp-jlyt', + jnlp: 'application/x-java-jnlp-file', + joda: 'application/vnd.joost.joda-archive', + jpe: ['image/jpeg', 'image/pjpeg'], + jpeg: ['image/jpeg', 'image/pjpeg'], + jpg: ['image/jpeg', 'image/pjpeg'], + jpgv: 'video/jpeg', + jpm: 'video/jpm', + jps: 'image/x-jps', + js: ['application/javascript', 'application/ecmascript', 'text/javascript', 'text/ecmascript', 'application/x-javascript'], + json: 'application/json', + jut: 'image/jutvision', + kar: ['audio/midi', 'music/x-karaoke'], + karbon: 'application/vnd.kde.karbon', + kfo: 'application/vnd.kde.kformula', + kia: 'application/vnd.kidspiration', + kml: 'application/vnd.google-earth.kml+xml', + kmz: 'application/vnd.google-earth.kmz', + kne: 'application/vnd.kinar', + kon: 'application/vnd.kde.kontour', + kpr: 'application/vnd.kde.kpresenter', + ksh: ['application/x-ksh', 'text/x-script.ksh'], + ksp: 'application/vnd.kde.kspread', + ktx: 'image/ktx', + ktz: 'application/vnd.kahootz', + kwd: 'application/vnd.kde.kword', + la: ['audio/nspaudio', 'audio/x-nspaudio'], + lam: 'audio/x-liveaudio', + lasxml: 'application/vnd.las.las+xml', + latex: 'application/x-latex', + lbd: 'application/vnd.llamagraphics.life-balance.desktop', + lbe: 'application/vnd.llamagraphics.life-balance.exchange+xml', + les: 'application/vnd.hhe.lesson-player', + lha: ['application/octet-stream', 'application/lha', 'application/x-lha'], + lhx: 'application/octet-stream', + link66: 'application/vnd.route66.link66+xml', + list: 'text/plain', + lma: ['audio/nspaudio', 'audio/x-nspaudio'], + log: 'text/plain', + lrm: 'application/vnd.ms-lrm', + lsf: 'video/x-la-asf', + lsp: ['application/x-lisp', 'text/x-script.lisp'], + lst: 'text/plain', + lsx: ['video/x-la-asf', 'text/x-la-asf'], + ltf: 'application/vnd.frogans.ltf', + ltx: 'application/x-latex', + lvp: 'audio/vnd.lucent.voice', + lwp: 'application/vnd.lotus-wordpro', + lzh: ['application/octet-stream', 'application/x-lzh'], + lzx: ['application/lzx', 'application/octet-stream', 'application/x-lzx'], + m: ['text/plain', 'text/x-m'], + m13: 'application/x-msmediaview', + m14: 'application/x-msmediaview', + m1v: 'video/mpeg', + m21: 'application/mp21', + m2a: 'audio/mpeg', + m2v: 'video/mpeg', + m3u: ['audio/x-mpegurl', 'audio/x-mpequrl'], + m3u8: 'application/vnd.apple.mpegurl', + m4v: 'video/x-m4v', + ma: 'application/mathematica', + mads: 'application/mads+xml', + mag: 'application/vnd.ecowin.chart', + man: 'application/x-troff-man', + map: 'application/x-navimap', + mar: 'text/plain', + mathml: 'application/mathml+xml', + mbd: 'application/mbedlet', + mbk: 'application/vnd.mobius.mbk', + mbox: 'application/mbox', + mc$: 'application/x-magic-cap-package-1.0', + mc1: 'application/vnd.medcalcdata', + mcd: ['application/mcad', 'application/vnd.mcd', 'application/x-mathcad'], + mcf: ['image/vasa', 'text/mcf'], + mcp: 'application/netmc', + mcurl: 'text/vnd.curl.mcurl', + mdb: 'application/x-msaccess', + mdi: 'image/vnd.ms-modi', + me: 'application/x-troff-me', + meta4: 'application/metalink4+xml', + mets: 'application/mets+xml', + mfm: 'application/vnd.mfmp', + mgp: 'application/vnd.osgeo.mapguide.package', + mgz: 'application/vnd.proteus.magazine', + mht: 'message/rfc822', + mhtml: 'message/rfc822', + mid: ['audio/mid', 'audio/midi', 'music/crescendo', 'x-music/x-midi', 'audio/x-midi', 'application/x-midi', 'audio/x-mid'], + midi: ['audio/midi', 'music/crescendo', 'x-music/x-midi', 'audio/x-midi', 'application/x-midi', 'audio/x-mid'], + mif: ['application/vnd.mif', 'application/x-mif', 'application/x-frame'], + mime: ['message/rfc822', 'www/mime'], + mj2: 'video/mj2', + mjf: 'audio/x-vnd.audioexplosion.mjuicemediafile', + mjpg: 'video/x-motion-jpeg', + mlp: 'application/vnd.dolby.mlp', + mm: ['application/base64', 'application/x-meme'], + mmd: 'application/vnd.chipnuts.karaoke-mmd', + mme: 'application/base64', + mmf: 'application/vnd.smaf', + mmr: 'image/vnd.fujixerox.edmics-mmr', + mny: 'application/x-msmoney', + mod: ['audio/mod', 'audio/x-mod'], + mods: 'application/mods+xml', + moov: 'video/quicktime', + mov: 'video/quicktime', + movie: 'video/x-sgi-movie', + mp2: ['video/mpeg', 'audio/mpeg', 'video/x-mpeg', 'audio/x-mpeg', 'video/x-mpeq2a'], + mp3: ['audio/mpeg', 'audio/mpeg3', 'video/mpeg', 'audio/x-mpeg-3', 'video/x-mpeg'], + mp4: ['video/mp4', 'application/mp4'], + mp4a: 'audio/mp4', + mpa: ['video/mpeg', 'audio/mpeg'], + mpc: ['application/vnd.mophun.certificate', 'application/x-project'], + mpe: 'video/mpeg', + mpeg: 'video/mpeg', + mpg: ['video/mpeg', 'audio/mpeg'], + mpga: 'audio/mpeg', + mpkg: 'application/vnd.apple.installer+xml', + mpm: 'application/vnd.blueice.multipass', + mpn: 'application/vnd.mophun.application', + mpp: 'application/vnd.ms-project', + mpt: 'application/x-project', + mpv: 'application/x-project', + mpv2: 'video/mpeg', + mpx: 'application/x-project', + mpy: 'application/vnd.ibm.minipay', + mqy: 'application/vnd.mobius.mqy', + mrc: 'application/marc', + mrcx: 'application/marcxml+xml', + ms: 'application/x-troff-ms', + mscml: 'application/mediaservercontrol+xml', + mseq: 'application/vnd.mseq', + msf: 'application/vnd.epson.msf', + msg: 'application/vnd.ms-outlook', + msh: 'model/mesh', + msl: 'application/vnd.mobius.msl', + msty: 'application/vnd.muvee.style', + mts: 'model/vnd.mts', + mus: 'application/vnd.musician', + musicxml: 'application/vnd.recordare.musicxml+xml', + mv: 'video/x-sgi-movie', + mvb: 'application/x-msmediaview', + mwf: 'application/vnd.mfer', + mxf: 'application/mxf', + mxl: 'application/vnd.recordare.musicxml', + mxml: 'application/xv+xml', + mxs: 'application/vnd.triscape.mxs', + mxu: 'video/vnd.mpegurl', + my: 'audio/make', + mzz: 'application/x-vnd.audioexplosion.mzz', + 'n-gage': 'application/vnd.nokia.n-gage.symbian.install', + n3: 'text/n3', + nap: 'image/naplps', + naplps: 'image/naplps', + nbp: 'application/vnd.wolfram.player', + nc: 'application/x-netcdf', + ncm: 'application/vnd.nokia.configuration-message', + ncx: 'application/x-dtbncx+xml', + ngdat: 'application/vnd.nokia.n-gage.data', + nif: 'image/x-niff', + niff: 'image/x-niff', + nix: 'application/x-mix-transfer', + nlu: 'application/vnd.neurolanguage.nlu', + nml: 'application/vnd.enliven', + nnd: 'application/vnd.noblenet-directory', + nns: 'application/vnd.noblenet-sealer', + nnw: 'application/vnd.noblenet-web', + npx: 'image/vnd.net-fpx', + nsc: 'application/x-conference', + nsf: 'application/vnd.lotus-notes', + nvd: 'application/x-navidoc', + nws: 'message/rfc822', + o: 'application/octet-stream', + oa2: 'application/vnd.fujitsu.oasys2', + oa3: 'application/vnd.fujitsu.oasys3', + oas: 'application/vnd.fujitsu.oasys', + obd: 'application/x-msbinder', + oda: 'application/oda', + odb: 'application/vnd.oasis.opendocument.database', + odc: 'application/vnd.oasis.opendocument.chart', + odf: 'application/vnd.oasis.opendocument.formula', + odft: 'application/vnd.oasis.opendocument.formula-template', + odg: 'application/vnd.oasis.opendocument.graphics', + odi: 'application/vnd.oasis.opendocument.image', + odm: 'application/vnd.oasis.opendocument.text-master', + odp: 'application/vnd.oasis.opendocument.presentation', + ods: 'application/vnd.oasis.opendocument.spreadsheet', + odt: 'application/vnd.oasis.opendocument.text', + oga: 'audio/ogg', + ogv: 'video/ogg', + ogx: 'application/ogg', + omc: 'application/x-omc', + omcd: 'application/x-omcdatamaker', + omcr: 'application/x-omcregerator', + onetoc: 'application/onenote', + opf: 'application/oebps-package+xml', + org: 'application/vnd.lotus-organizer', + osf: 'application/vnd.yamaha.openscoreformat', + osfpvg: 'application/vnd.yamaha.openscoreformat.osfpvg+xml', + otc: 'application/vnd.oasis.opendocument.chart-template', + otf: 'application/x-font-otf', + otg: 'application/vnd.oasis.opendocument.graphics-template', + oth: 'application/vnd.oasis.opendocument.text-web', + oti: 'application/vnd.oasis.opendocument.image-template', + otp: 'application/vnd.oasis.opendocument.presentation-template', + ots: 'application/vnd.oasis.opendocument.spreadsheet-template', + ott: 'application/vnd.oasis.opendocument.text-template', + oxt: 'application/vnd.openofficeorg.extension', + p: 'text/x-pascal', + p10: ['application/pkcs10', 'application/x-pkcs10'], + p12: ['application/pkcs-12', 'application/x-pkcs12'], + p7a: 'application/x-pkcs7-signature', + p7b: 'application/x-pkcs7-certificates', + p7c: ['application/pkcs7-mime', 'application/x-pkcs7-mime'], + p7m: ['application/pkcs7-mime', 'application/x-pkcs7-mime'], + p7r: 'application/x-pkcs7-certreqresp', + p7s: ['application/pkcs7-signature', 'application/x-pkcs7-signature'], + p8: 'application/pkcs8', + par: 'text/plain-bas', + part: 'application/pro_eng', + pas: 'text/pascal', + paw: 'application/vnd.pawaafile', + pbd: 'application/vnd.powerbuilder6', + pbm: 'image/x-portable-bitmap', + pcf: 'application/x-font-pcf', + pcl: ['application/vnd.hp-pcl', 'application/x-pcl'], + pclxl: 'application/vnd.hp-pclxl', + pct: 'image/x-pict', + pcurl: 'application/vnd.curl.pcurl', + pcx: 'image/x-pcx', + pdb: ['application/vnd.palm', 'chemical/x-pdb'], + pdf: 'application/pdf', + pfa: 'application/x-font-type1', + pfr: 'application/font-tdpfr', + pfunk: ['audio/make', 'audio/make.my.funk'], + pfx: 'application/x-pkcs12', + pgm: ['image/x-portable-graymap', 'image/x-portable-greymap'], + pgn: 'application/x-chess-pgn', + pgp: 'application/pgp-signature', + pic: ['image/pict', 'image/x-pict'], + pict: 'image/pict', + pkg: 'application/x-newton-compatible-pkg', + pki: 'application/pkixcmp', + pkipath: 'application/pkix-pkipath', + pko: ['application/ynd.ms-pkipko', 'application/vnd.ms-pki.pko'], + pl: ['text/plain', 'text/x-script.perl'], + plb: 'application/vnd.3gpp.pic-bw-large', + plc: 'application/vnd.mobius.plc', + plf: 'application/vnd.pocketlearn', + pls: 'application/pls+xml', + plx: 'application/x-pixclscript', + pm: ['text/x-script.perl-module', 'image/x-xpixmap'], + pm4: 'application/x-pagemaker', + pm5: 'application/x-pagemaker', + pma: 'application/x-perfmon', + pmc: 'application/x-perfmon', + pml: ['application/vnd.ctc-posml', 'application/x-perfmon'], + pmr: 'application/x-perfmon', + pmw: 'application/x-perfmon', + png: 'image/png', + pnm: ['application/x-portable-anymap', 'image/x-portable-anymap'], + portpkg: 'application/vnd.macports.portpkg', + pot: ['application/vnd.ms-powerpoint', 'application/mspowerpoint'], + potm: 'application/vnd.ms-powerpoint.template.macroenabled.12', + potx: 'application/vnd.openxmlformats-officedocument.presentationml.template', + pov: 'model/x-pov', + ppa: 'application/vnd.ms-powerpoint', + ppam: 'application/vnd.ms-powerpoint.addin.macroenabled.12', + ppd: 'application/vnd.cups-ppd', + ppm: 'image/x-portable-pixmap', + pps: ['application/vnd.ms-powerpoint', 'application/mspowerpoint'], + ppsm: 'application/vnd.ms-powerpoint.slideshow.macroenabled.12', + ppsx: 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', + ppt: ['application/vnd.ms-powerpoint', 'application/mspowerpoint', 'application/powerpoint', 'application/x-mspowerpoint'], + pptm: 'application/vnd.ms-powerpoint.presentation.macroenabled.12', + pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + ppz: 'application/mspowerpoint', + prc: 'application/x-mobipocket-ebook', + pre: ['application/vnd.lotus-freelance', 'application/x-freelance'], + prf: 'application/pics-rules', + prt: 'application/pro_eng', + ps: 'application/postscript', + psb: 'application/vnd.3gpp.pic-bw-small', + psd: ['application/octet-stream', 'image/vnd.adobe.photoshop'], + psf: 'application/x-font-linux-psf', + pskcxml: 'application/pskc+xml', + ptid: 'application/vnd.pvi.ptid1', + pub: 'application/x-mspublisher', + pvb: 'application/vnd.3gpp.pic-bw-var', + pvu: 'paleovu/x-pv', + pwn: 'application/vnd.3m.post-it-notes', + pwz: 'application/vnd.ms-powerpoint', + py: 'text/x-script.phyton', + pya: 'audio/vnd.ms-playready.media.pya', + pyc: 'applicaiton/x-bytecode.python', + pyv: 'video/vnd.ms-playready.media.pyv', + qam: 'application/vnd.epson.quickanime', + qbo: 'application/vnd.intu.qbo', + qcp: 'audio/vnd.qcelp', + qd3: 'x-world/x-3dmf', + qd3d: 'x-world/x-3dmf', + qfx: 'application/vnd.intu.qfx', + qif: 'image/x-quicktime', + qps: 'application/vnd.publishare-delta-tree', + qt: 'video/quicktime', + qtc: 'video/x-qtc', + qti: 'image/x-quicktime', + qtif: 'image/x-quicktime', + qxd: 'application/vnd.quark.quarkxpress', + ra: ['audio/x-realaudio', 'audio/x-pn-realaudio', 'audio/x-pn-realaudio-plugin'], + ram: 'audio/x-pn-realaudio', + rar: 'application/x-rar-compressed', + ras: ['image/cmu-raster', 'application/x-cmu-raster', 'image/x-cmu-raster'], + rast: 'image/cmu-raster', + rcprofile: 'application/vnd.ipunplugged.rcprofile', + rdf: 'application/rdf+xml', + rdz: 'application/vnd.data-vision.rdz', + rep: 'application/vnd.businessobjects', + res: 'application/x-dtbresource+xml', + rexx: 'text/x-script.rexx', + rf: 'image/vnd.rn-realflash', + rgb: 'image/x-rgb', + rif: 'application/reginfo+xml', + rip: 'audio/vnd.rip', + rl: 'application/resource-lists+xml', + rlc: 'image/vnd.fujixerox.edmics-rlc', + rld: 'application/resource-lists-diff+xml', + rm: ['application/vnd.rn-realmedia', 'audio/x-pn-realaudio'], + rmi: 'audio/mid', + rmm: 'audio/x-pn-realaudio', + rmp: ['audio/x-pn-realaudio-plugin', 'audio/x-pn-realaudio'], + rms: 'application/vnd.jcp.javame.midlet-rms', + rnc: 'application/relax-ng-compact-syntax', + rng: ['application/ringing-tones', 'application/vnd.nokia.ringing-tone'], + rnx: 'application/vnd.rn-realplayer', + roff: 'application/x-troff', + rp: 'image/vnd.rn-realpix', + rp9: 'application/vnd.cloanto.rp9', + rpm: 'audio/x-pn-realaudio-plugin', + rpss: 'application/vnd.nokia.radio-presets', + rpst: 'application/vnd.nokia.radio-preset', + rq: 'application/sparql-query', + rs: 'application/rls-services+xml', + rsd: 'application/rsd+xml', + rt: ['text/richtext', 'text/vnd.rn-realtext'], + rtf: ['application/rtf', 'text/richtext', 'application/x-rtf'], + rtx: ['text/richtext', 'application/rtf'], + rv: 'video/vnd.rn-realvideo', + s: 'text/x-asm', + s3m: 'audio/s3m', + saf: 'application/vnd.yamaha.smaf-audio', + saveme: 'application/octet-stream', + sbk: 'application/x-tbook', + sbml: 'application/sbml+xml', + sc: 'application/vnd.ibm.secure-container', + scd: 'application/x-msschedule', + scm: ['application/vnd.lotus-screencam', 'video/x-scm', 'text/x-script.guile', 'application/x-lotusscreencam', 'text/x-script.scheme'], + scq: 'application/scvp-cv-request', + scs: 'application/scvp-cv-response', + sct: 'text/scriptlet', + scurl: 'text/vnd.curl.scurl', + sda: 'application/vnd.stardivision.draw', + sdc: 'application/vnd.stardivision.calc', + sdd: 'application/vnd.stardivision.impress', + sdkm: 'application/vnd.solent.sdkm+xml', + sdml: 'text/plain', + sdp: ['application/sdp', 'application/x-sdp'], + sdr: 'application/sounder', + sdw: 'application/vnd.stardivision.writer', + sea: ['application/sea', 'application/x-sea'], + see: 'application/vnd.seemail', + seed: 'application/vnd.fdsn.seed', + sema: 'application/vnd.sema', + semd: 'application/vnd.semd', + semf: 'application/vnd.semf', + ser: 'application/java-serialized-object', + set: 'application/set', + setpay: 'application/set-payment-initiation', + setreg: 'application/set-registration-initiation', + 'sfd-hdstx': 'application/vnd.hydrostatix.sof-data', + sfs: 'application/vnd.spotfire.sfs', + sgl: 'application/vnd.stardivision.writer-global', + sgm: ['text/sgml', 'text/x-sgml'], + sgml: ['text/sgml', 'text/x-sgml'], + sh: ['application/x-shar', 'application/x-bsh', 'application/x-sh', 'text/x-script.sh'], + shar: ['application/x-bsh', 'application/x-shar'], + shf: 'application/shf+xml', + shtml: ['text/html', 'text/x-server-parsed-html'], + sid: 'audio/x-psid', + sis: 'application/vnd.symbian.install', + sit: ['application/x-stuffit', 'application/x-sit'], + sitx: 'application/x-stuffitx', + skd: 'application/x-koan', + skm: 'application/x-koan', + skp: ['application/vnd.koan', 'application/x-koan'], + skt: 'application/x-koan', + sl: 'application/x-seelogo', + sldm: 'application/vnd.ms-powerpoint.slide.macroenabled.12', + sldx: 'application/vnd.openxmlformats-officedocument.presentationml.slide', + slt: 'application/vnd.epson.salt', + sm: 'application/vnd.stepmania.stepchart', + smf: 'application/vnd.stardivision.math', + smi: ['application/smil', 'application/smil+xml'], + smil: 'application/smil', + snd: ['audio/basic', 'audio/x-adpcm'], + snf: 'application/x-font-snf', + sol: 'application/solids', + spc: ['text/x-speech', 'application/x-pkcs7-certificates'], + spf: 'application/vnd.yamaha.smaf-phrase', + spl: ['application/futuresplash', 'application/x-futuresplash'], + spot: 'text/vnd.in3d.spot', + spp: 'application/scvp-vp-response', + spq: 'application/scvp-vp-request', + spr: 'application/x-sprite', + sprite: 'application/x-sprite', + src: 'application/x-wais-source', + sru: 'application/sru+xml', + srx: 'application/sparql-results+xml', + sse: 'application/vnd.kodak-descriptor', + ssf: 'application/vnd.epson.ssf', + ssi: 'text/x-server-parsed-html', + ssm: 'application/streamingmedia', + ssml: 'application/ssml+xml', + sst: ['application/vnd.ms-pkicertstore', 'application/vnd.ms-pki.certstore'], + st: 'application/vnd.sailingtracker.track', + stc: 'application/vnd.sun.xml.calc.template', + std: 'application/vnd.sun.xml.draw.template', + step: 'application/step', + stf: 'application/vnd.wt.stf', + sti: 'application/vnd.sun.xml.impress.template', + stk: 'application/hyperstudio', + stl: ['application/vnd.ms-pkistl', 'application/sla', 'application/vnd.ms-pki.stl', 'application/x-navistyle'], + stm: 'text/html', + stp: 'application/step', + str: 'application/vnd.pg.format', + stw: 'application/vnd.sun.xml.writer.template', + sub: 'image/vnd.dvb.subtitle', + sus: 'application/vnd.sus-calendar', + sv4cpio: 'application/x-sv4cpio', + sv4crc: 'application/x-sv4crc', + svc: 'application/vnd.dvb.service', + svd: 'application/vnd.svd', + svf: ['image/vnd.dwg', 'image/x-dwg'], + svg: 'image/svg+xml', + svr: ['x-world/x-svr', 'application/x-world'], + swf: 'application/x-shockwave-flash', + swi: 'application/vnd.aristanetworks.swi', + sxc: 'application/vnd.sun.xml.calc', + sxd: 'application/vnd.sun.xml.draw', + sxg: 'application/vnd.sun.xml.writer.global', + sxi: 'application/vnd.sun.xml.impress', + sxm: 'application/vnd.sun.xml.math', + sxw: 'application/vnd.sun.xml.writer', + t: ['text/troff', 'application/x-troff'], + talk: 'text/x-speech', + tao: 'application/vnd.tao.intent-module-archive', + tar: 'application/x-tar', + tbk: ['application/toolbook', 'application/x-tbook'], + tcap: 'application/vnd.3gpp2.tcap', + tcl: ['text/x-script.tcl', 'application/x-tcl'], + tcsh: 'text/x-script.tcsh', + teacher: 'application/vnd.smart.teacher', + tei: 'application/tei+xml', + tex: 'application/x-tex', + texi: 'application/x-texinfo', + texinfo: 'application/x-texinfo', + text: ['application/plain', 'text/plain'], + tfi: 'application/thraud+xml', + tfm: 'application/x-tex-tfm', + tgz: ['application/gnutar', 'application/x-compressed'], + thmx: 'application/vnd.ms-officetheme', + tif: ['image/tiff', 'image/x-tiff'], + tiff: ['image/tiff', 'image/x-tiff'], + tmo: 'application/vnd.tmobile-livetv', + torrent: 'application/x-bittorrent', + tpl: 'application/vnd.groove-tool-template', + tpt: 'application/vnd.trid.tpt', + tr: 'application/x-troff', + tra: 'application/vnd.trueapp', + trm: 'application/x-msterminal', + tsd: 'application/timestamped-data', + tsi: 'audio/tsp-audio', + tsp: ['application/dsptype', 'audio/tsplayer'], + tsv: 'text/tab-separated-values', + ttf: 'application/x-font-ttf', + ttl: 'text/turtle', + turbot: 'image/florian', + twd: 'application/vnd.simtech-mindmapper', + txd: 'application/vnd.genomatix.tuxedo', + txf: 'application/vnd.mobius.txf', + txt: 'text/plain', + ufd: 'application/vnd.ufdl', + uil: 'text/x-uil', + uls: 'text/iuls', + umj: 'application/vnd.umajin', + uni: 'text/uri-list', + unis: 'text/uri-list', + unityweb: 'application/vnd.unity', + unv: 'application/i-deas', + uoml: 'application/vnd.uoml+xml', + uri: 'text/uri-list', + uris: 'text/uri-list', + ustar: ['application/x-ustar', 'multipart/x-ustar'], + utz: 'application/vnd.uiq.theme', + uu: ['application/octet-stream', 'text/x-uuencode'], + uue: 'text/x-uuencode', + uva: 'audio/vnd.dece.audio', + uvh: 'video/vnd.dece.hd', + uvi: 'image/vnd.dece.graphic', + uvm: 'video/vnd.dece.mobile', + uvp: 'video/vnd.dece.pd', + uvs: 'video/vnd.dece.sd', + uvu: 'video/vnd.uvvu.mp4', + uvv: 'video/vnd.dece.video', + vcd: 'application/x-cdlink', + vcf: 'text/x-vcard', + vcg: 'application/vnd.groove-vcard', + vcs: 'text/x-vcalendar', + vcx: 'application/vnd.vcx', + vda: 'application/vda', + vdo: 'video/vdo', + vew: 'application/groupwise', + vis: 'application/vnd.visionary', + viv: ['video/vivo', 'video/vnd.vivo'], + vivo: ['video/vivo', 'video/vnd.vivo'], + vmd: 'application/vocaltec-media-desc', + vmf: 'application/vocaltec-media-file', + voc: ['audio/voc', 'audio/x-voc'], + vos: 'video/vosaic', + vox: 'audio/voxware', + vqe: 'audio/x-twinvq-plugin', + vqf: 'audio/x-twinvq', + vql: 'audio/x-twinvq-plugin', + vrml: ['model/vrml', 'x-world/x-vrml', 'application/x-vrml'], + vrt: 'x-world/x-vrt', + vsd: ['application/vnd.visio', 'application/x-visio'], + vsf: 'application/vnd.vsf', + vst: 'application/x-visio', + vsw: 'application/x-visio', + vtu: 'model/vnd.vtu', + vxml: 'application/voicexml+xml', + w60: 'application/wordperfect6.0', + w61: 'application/wordperfect6.1', + w6w: 'application/msword', + wad: 'application/x-doom', + wav: ['audio/wav', 'audio/x-wav'], + wax: 'audio/x-ms-wax', + wb1: 'application/x-qpro', + wbmp: 'image/vnd.wap.wbmp', + wbs: 'application/vnd.criticaltools.wbs+xml', + wbxml: 'application/vnd.wap.wbxml', + wcm: 'application/vnd.ms-works', + wdb: 'application/vnd.ms-works', + web: 'application/vnd.xara', + weba: 'audio/webm', + webm: 'video/webm', + webp: 'image/webp', + wg: 'application/vnd.pmi.widget', + wgt: 'application/widget', + wiz: 'application/msword', + wk1: 'application/x-123', + wks: 'application/vnd.ms-works', + wm: 'video/x-ms-wm', + wma: 'audio/x-ms-wma', + wmd: 'application/x-ms-wmd', + wmf: ['windows/metafile', 'application/x-msmetafile'], + wml: 'text/vnd.wap.wml', + wmlc: 'application/vnd.wap.wmlc', + wmls: 'text/vnd.wap.wmlscript', + wmlsc: 'application/vnd.wap.wmlscriptc', + wmv: 'video/x-ms-wmv', + wmx: 'video/x-ms-wmx', + wmz: 'application/x-ms-wmz', + woff: 'application/x-font-woff', + word: 'application/msword', + wp: 'application/wordperfect', + wp5: ['application/wordperfect', 'application/wordperfect6.0'], + wp6: 'application/wordperfect', + wpd: ['application/wordperfect', 'application/vnd.wordperfect', 'application/x-wpwin'], + wpl: 'application/vnd.ms-wpl', + wps: 'application/vnd.ms-works', + wq1: 'application/x-lotus', + wqd: 'application/vnd.wqd', + wri: ['application/mswrite', 'application/x-wri', 'application/x-mswrite'], + wrl: ['model/vrml', 'x-world/x-vrml', 'application/x-world'], + wrz: ['model/vrml', 'x-world/x-vrml'], + wsc: 'text/scriplet', + wsdl: 'application/wsdl+xml', + wspolicy: 'application/wspolicy+xml', + wsrc: 'application/x-wais-source', + wtb: 'application/vnd.webturbo', + wtk: 'application/x-wintalk', + wvx: 'video/x-ms-wvx', + 'x-png': 'image/png', + x3d: 'application/vnd.hzn-3d-crossword', + xaf: 'x-world/x-vrml', + xap: 'application/x-silverlight-app', + xar: 'application/vnd.xara', + xbap: 'application/x-ms-xbap', + xbd: 'application/vnd.fujixerox.docuworks.binder', + xbm: ['image/xbm', 'image/x-xbm', 'image/x-xbitmap'], + xdf: 'application/xcap-diff+xml', + xdm: 'application/vnd.syncml.dm+xml', + xdp: 'application/vnd.adobe.xdp+xml', + xdr: 'video/x-amt-demorun', + xdssc: 'application/dssc+xml', + xdw: 'application/vnd.fujixerox.docuworks', + xenc: 'application/xenc+xml', + xer: 'application/patch-ops-error+xml', + xfdf: 'application/vnd.adobe.xfdf', + xfdl: 'application/vnd.xfdl', + xgz: 'xgl/drawing', + xhtml: 'application/xhtml+xml', + xif: 'image/vnd.xiff', + xl: 'application/excel', + xla: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xlam: 'application/vnd.ms-excel.addin.macroenabled.12', + xlb: ['application/excel', 'application/vnd.ms-excel', 'application/x-excel'], + xlc: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xld: ['application/excel', 'application/x-excel'], + xlk: ['application/excel', 'application/x-excel'], + xll: ['application/excel', 'application/vnd.ms-excel', 'application/x-excel'], + xlm: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xls: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xlsb: 'application/vnd.ms-excel.sheet.binary.macroenabled.12', + xlsm: 'application/vnd.ms-excel.sheet.macroenabled.12', + xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + xlt: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xltm: 'application/vnd.ms-excel.template.macroenabled.12', + xltx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', + xlv: ['application/excel', 'application/x-excel'], + xlw: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xm: 'audio/xm', + xml: ['application/xml', 'text/xml', 'application/atom+xml', 'application/rss+xml'], + xmz: 'xgl/movie', + xo: 'application/vnd.olpc-sugar', + xof: 'x-world/x-vrml', + xop: 'application/xop+xml', + xpi: 'application/x-xpinstall', + xpix: 'application/x-vnd.ls-xpix', + xpm: ['image/xpm', 'image/x-xpixmap'], + xpr: 'application/vnd.is-xpr', + xps: 'application/vnd.ms-xpsdocument', + xpw: 'application/vnd.intercon.formnet', + xslt: 'application/xslt+xml', + xsm: 'application/vnd.syncml+xml', + xspf: 'application/xspf+xml', + xsr: 'video/x-amt-showrun', + xul: 'application/vnd.mozilla.xul+xml', + xwd: ['image/x-xwd', 'image/x-xwindowdump'], + xyz: ['chemical/x-xyz', 'chemical/x-pdb'], + yang: 'application/yang', + yin: 'application/yin+xml', + z: ['application/x-compressed', 'application/x-compress'], + zaz: 'application/vnd.zzazz.deck+xml', + zip: ['application/zip', 'multipart/x-zip', 'application/x-zip-compressed', 'application/x-compressed'], + zir: 'application/vnd.zul', + zmm: 'application/vnd.handheld-entertainment+xml', + zoo: 'application/octet-stream', + zsh: 'text/x-script.zsh' + } +}; + +/* eslint no-control-regex: 0, no-div-regex: 0, quotes: 0 */ + +const libcharset = charsetExports; +const libbase64$2 = libbase64$4; +const libqp$2 = libqp$4; +const mimetypes = mimetypes$1; + +const STAGE_KEY = 0x1001; +const STAGE_VALUE = 0x1002; + +class Libmime { + constructor(config) { + this.config = config || {}; + } + + /** + * Checks if a value is plaintext string (uses only printable 7bit chars) + * + * @param {String} value String to be tested + * @returns {Boolean} true if it is a plaintext string + */ + isPlainText(value) { + if (typeof value !== 'string' || /[\x00-\x08\x0b\x0c\x0e-\x1f\u0080-\uFFFF]/.test(value)) { + return false; + } else { + return true; + } + } + + /** + * Checks if a multi line string containes lines longer than the selected value. + * + * Useful when detecting if a mail message needs any processing at all – + * if only plaintext characters are used and lines are short, then there is + * no need to encode the values in any way. If the value is plaintext but has + * longer lines then allowed, then use format=flowed + * + * @param {Number} lineLength Max line length to check for + * @returns {Boolean} Returns true if there is at least one line longer than lineLength chars + */ + hasLongerLines(str, lineLength) { + return new RegExp('^.{' + (lineLength + 1) + ',}', 'm').test(str); + } + + /** + * Decodes a string from a format=flowed soft wrapping. + * + * @param {String} str Plaintext string with format=flowed to decode + * @param {Boolean} [delSp] If true, delete leading spaces (delsp=yes) + * @return {String} Mime decoded string + */ + decodeFlowed(str, delSp) { + str = (str || '').toString(); + + return ( + str + .split(/\r?\n/) + // remove soft linebreaks + // soft linebreaks are added after space symbols + .reduce((previousValue, currentValue) => { + if (/ $/.test(previousValue) && !/(^|\n)-- $/.test(previousValue)) { + if (delSp) { + // delsp adds space to text to be able to fold it + // these spaces can be removed once the text is unfolded + return previousValue.slice(0, -1) + currentValue; + } else { + return previousValue + currentValue; + } + } else { + return previousValue + '\n' + currentValue; + } + }) + // remove whitespace stuffing + // http://tools.ietf.org/html/rfc3676#section-4.4 + .replace(/^ /gm, '') + ); + } + + /** + * Adds soft line breaks to content marked with format=flowed to + * ensure that no line in the message is never longer than lineLength + * + * @param {String} str Plaintext string that requires wrapping + * @param {Number} [lineLength=76] Maximum length of a line + * @return {String} String with forced line breaks + */ + encodeFlowed(str, lineLength) { + lineLength = lineLength || 76; + + let flowed = []; + str.split(/\r?\n/).forEach(line => { + flowed.push( + this.foldLines( + line + // space stuffing http://tools.ietf.org/html/rfc3676#section-4.2 + .replace(/^( |From|>)/gim, ' $1'), + lineLength, + true + ) + ); + }); + return flowed.join('\r\n'); + } + + /** + * Encodes a string or an Buffer to an UTF-8 MIME Word (rfc2047) + * + * @param {String|Buffer} data String to be encoded + * @param {String} mimeWordEncoding='Q' Encoding for the mime word, either Q or B + * @param {Number} [maxLength=0] If set, split mime words into several chunks if needed + * @return {String} Single or several mime words joined together + */ + encodeWord(data, mimeWordEncoding, maxLength) { + mimeWordEncoding = (mimeWordEncoding || 'Q').toString().toUpperCase().trim().charAt(0); + maxLength = maxLength || 0; + + let encodedStr; + let toCharset = 'UTF-8'; + + if (maxLength && maxLength > 7 + toCharset.length) { + maxLength -= 7 + toCharset.length; + } + + if (mimeWordEncoding === 'Q') { + // https://tools.ietf.org/html/rfc2047#section-5 rule (3) + encodedStr = libqp$2.encode(data).replace(/[^a-z0-9!*+\-/=]/gi, chr => { + let ord = chr.charCodeAt(0).toString(16).toUpperCase(); + if (chr === ' ') { + return '_'; + } else { + return '=' + (ord.length === 1 ? '0' + ord : ord); + } + }); + } else if (mimeWordEncoding === 'B') { + encodedStr = typeof data === 'string' ? data : libbase64$2.encode(data); + maxLength = maxLength ? Math.max(3, ((maxLength - (maxLength % 4)) / 4) * 3) : 0; + } + + if (maxLength && (mimeWordEncoding !== 'B' ? encodedStr : libbase64$2.encode(data)).length > maxLength) { + if (mimeWordEncoding === 'Q') { + encodedStr = this.splitMimeEncodedString(encodedStr, maxLength).join('?= =?' + toCharset + '?' + mimeWordEncoding + '?'); + } else { + // RFC2047 6.3 (2) states that encoded-word must include an integral number of characters, so no chopping unicode sequences + let parts = []; + let lpart = ''; + for (let i = 0, len = encodedStr.length; i < len; i++) { + let chr = encodedStr.charAt(i); + // check if we can add this character to the existing string + // without breaking byte length limit + if (Buffer.byteLength(lpart + chr) <= maxLength || i === 0) { + lpart += chr; + } else { + // we hit the length limit, so push the existing string and start over + parts.push(libbase64$2.encode(lpart)); + lpart = chr; + } + } + if (lpart) { + parts.push(libbase64$2.encode(lpart)); + } + + if (parts.length > 1) { + encodedStr = parts.join('?= =?' + toCharset + '?' + mimeWordEncoding + '?'); + } else { + encodedStr = parts.join(''); + } + } + } else if (mimeWordEncoding === 'B') { + encodedStr = libbase64$2.encode(data); + } + + return '=?' + toCharset + '?' + mimeWordEncoding + '?' + encodedStr + (encodedStr.substr(-2) === '?=' ? '' : '?='); + } + + /** + * Decode a complete mime word encoded string + * + * @param {String} str Mime word encoded string + * @return {String} Decoded unicode string + */ + decodeWord(charset, encoding, str) { + // RFC2231 added language tag to the encoding + // see: https://tools.ietf.org/html/rfc2231#section-5 + // this implementation silently ignores this tag + let splitPos = charset.indexOf('*'); + if (splitPos >= 0) { + charset = charset.substr(0, splitPos); + } + charset = libcharset.normalizeCharset(charset); + + encoding = encoding.toUpperCase(); + + if (encoding === 'Q') { + str = str + // remove spaces between = and hex char, this might indicate invalidly applied line splitting + .replace(/=\s+([0-9a-fA-F])/g, '=$1') + // convert all underscores to spaces + .replace(/[_\s]/g, ' '); + + let buf = Buffer.from(str); + let bytes = []; + for (let i = 0, len = buf.length; i < len; i++) { + let c = buf[i]; + if (i <= len - 2 && c === 0x3d /* = */) { + let c1 = this.getHex(buf[i + 1]); + let c2 = this.getHex(buf[i + 2]); + if (c1 && c2) { + let c = parseInt(c1 + c2, 16); + bytes.push(c); + i += 2; + continue; + } + } + bytes.push(c); + } + str = Buffer.from(bytes); + } else if (encoding === 'B') { + str = Buffer.concat( + str + .split('=') + .filter(s => s !== '') // filter empty string + .map(str => Buffer.from(str, 'base64')) + ); + } else { + // keep as is, convert Buffer to unicode string, assume utf8 + str = Buffer.from(str); + } + + return libcharset.decode(str, charset); + } + + /** + * Finds word sequences with non ascii text and converts these to mime words + * + * @param {String|Buffer} data String to be encoded + * @param {String} mimeWordEncoding='Q' Encoding for the mime word, either Q or B + * @param {Number} [maxLength=0] If set, split mime words into several chunks if needed + * @param {String} [fromCharset='UTF-8'] Source sharacter set + * @return {String} String with possible mime words + */ + encodeWords(data, mimeWordEncoding, maxLength, fromCharset) { + if (!fromCharset && typeof maxLength === 'string' && !maxLength.match(/^[0-9]+$/)) { + fromCharset = maxLength; + maxLength = undefined; + } + + maxLength = maxLength || 0; + + let decodedValue = libcharset.decode(libcharset.convert(data || '', fromCharset)); + let encodedValue; + + let firstMatch = decodedValue.match(/(?:^|\s)([^\s]*[\u0080-\uFFFF])/); + if (!firstMatch) { + return decodedValue; + } + let lastMatch = decodedValue.match(/([\u0080-\uFFFF][^\s]*)[^\u0080-\uFFFF]*$/); + if (!lastMatch) { + // should not happen + return decodedValue; + } + let startIndex = + firstMatch.index + + ( + firstMatch[0].match(/[^\s]/) || { + index: 0 + } + ).index; + let endIndex = lastMatch.index + (lastMatch[1] || '').length; + + encodedValue = + (startIndex ? decodedValue.substr(0, startIndex) : '') + + this.encodeWord(decodedValue.substring(startIndex, endIndex), mimeWordEncoding || 'Q', maxLength) + + (endIndex < decodedValue.length ? decodedValue.substr(endIndex) : ''); + + return encodedValue; + } + + /** + * Decode a string that might include one or several mime words + * + * @param {String} str String including some mime words that will be encoded + * @return {String} Decoded unicode string + */ + decodeWords(str) { + return ( + (str || '') + .toString() + // find base64 words that can be joined + .replace(/(=\?([^?]+)\?[Bb]\?[^?]*\?=)\s*(?==\?([^?]+)\?[Bb]\?[^?]*\?=)/g, (match, left, chLeft, chRight) => { + // only mark b64 chunks to be joined if charsets match + if (libcharset.normalizeCharset(chLeft || '') === libcharset.normalizeCharset(chRight || '')) { + // set a joiner marker + return left + '__\x00JOIN\x00__'; + } + return match; + }) + // find QP words that can be joined + .replace(/(=\?([^?]+)\?[Qq]\?[^?]*\?=)\s*(?==\?([^?]+)\?[Qq]\?[^?]*\?=)/g, (match, left, chLeft, chRight) => { + // only mark QP chunks to be joined if charsets match + if (libcharset.normalizeCharset(chLeft || '') === libcharset.normalizeCharset(chRight || '')) { + // set a joiner marker + return left + '__\x00JOIN\x00__'; + } + return match; + }) + // join base64 encoded words + .replace(/(\?=)?__\x00JOIN\x00__(=\?([^?]+)\?[QqBb]\?)?/g, '') + // remove spaces between mime encoded words + .replace(/(=\?[^?]+\?[QqBb]\?[^?]*\?=)\s+(?==\?[^?]+\?[QqBb]\?[^?]*\?=)/g, '$1') + // decode words + .replace(/=\?([\w_\-*]+)\?([QqBb])\?([^?]*)\?=/g, (m, charset, encoding, text) => this.decodeWord(charset, encoding, text)) + ); + } + + getHex(c) { + if ((c >= 0x30 /* 0 */ && c <= 0x39) /* 9 */ || (c >= 0x61 /* a */ && c <= 0x66) /* f */ || (c >= 0x41 /* A */ && c <= 0x46) /* F */) { + return String.fromCharCode(c); + } + return false; + } + + /** + * Splits a string by : + * The result is not mime word decoded, you need to do your own decoding based + * on the rules for the specific header key + * + * @param {String} headerLine Single header line, might include linebreaks as well if folded + * @return {Object} And object of {key, value} + */ + decodeHeader(headerLine) { + let line = (headerLine || '') + .toString() + .replace(/(?:\r?\n|\r)[ \t]*/g, ' ') + .trim(), + match = line.match(/^\s*([^:]+):(.*)$/), + key = ((match && match[1]) || '').trim().toLowerCase(), + value = ((match && match[2]) || '').trim(); + + return { + key, + value + }; + } + + /** + * Parses a block of header lines. Does not decode mime words as every + * header might have its own rules (eg. formatted email addresses and such) + * + * @param {String} headers Headers string + * @return {Object} An object of headers, where header keys are object keys. NB! Several values with the same key make up an Array + */ + decodeHeaders(headers) { + let lines = headers.split(/\r?\n|\r/), + headersObj = {}, + header, + i, + len; + + for (i = lines.length - 1; i >= 0; i--) { + if (i && lines[i].match(/^\s/)) { + lines[i - 1] += '\r\n' + lines[i]; + lines.splice(i, 1); + } + } + + for (i = 0, len = lines.length; i < len; i++) { + header = this.decodeHeader(lines[i]); + if (!headersObj[header.key]) { + headersObj[header.key] = [header.value]; + } else { + headersObj[header.key].push(header.value); + } + } + + return headersObj; + } + + /** + * Joins parsed header value together as 'value; param1=value1; param2=value2' + * PS: We are following RFC 822 for the list of special characters that we need to keep in quotes. + * Refer: https://www.w3.org/Protocols/rfc1341/4_Content-Type.html + * @param {Object} structured Parsed header value + * @return {String} joined header value + */ + buildHeaderValue(structured) { + let paramsArray = []; + + Object.keys(structured.params || {}).forEach(param => { + // filename might include unicode characters so it is a special case + let value = structured.params[param]; + if (!this.isPlainText(value) || value.length >= 75) { + this.buildHeaderParam(param, value, 50).forEach(encodedParam => { + if (!/[\s"\\;:/=(),<>@[\]?]|^[-']|'$/.test(encodedParam.value) || encodedParam.key.substr(-1) === '*') { + paramsArray.push(encodedParam.key + '=' + encodedParam.value); + } else { + paramsArray.push(encodedParam.key + '=' + JSON.stringify(encodedParam.value)); + } + }); + } else if (/[\s'"\\;:/=(),<>@[\]?]|^-/.test(value)) { + paramsArray.push(param + '=' + JSON.stringify(value)); + } else { + paramsArray.push(param + '=' + value); + } + }); + + return structured.value + (paramsArray.length ? '; ' + paramsArray.join('; ') : ''); + } + + /** + * Parses a header value with key=value arguments into a structured + * object. + * + * parseHeaderValue('content-type: text/plain; CHARSET='UTF-8'') -> + * { + * 'value': 'text/plain', + * 'params': { + * 'charset': 'UTF-8' + * } + * } + * + * @param {String} str Header value + * @return {Object} Header value as a parsed structure + */ + parseHeaderValue(str) { + let response = { + value: false, + params: {} + }; + let key = false; + let value = ''; + let stage = STAGE_VALUE; + + let quote = false; + let escaped = false; + let chr; + + for (let i = 0, len = str.length; i < len; i++) { + chr = str.charAt(i); + switch (stage) { + case STAGE_KEY: + if (chr === '=') { + key = value.trim().toLowerCase(); + stage = STAGE_VALUE; + value = ''; + break; + } + value += chr; + break; + case STAGE_VALUE: + if (escaped) { + value += chr; + } else if (chr === '\\') { + escaped = true; + continue; + } else if (quote && chr === quote) { + quote = false; + } else if (!quote && chr === '"') { + quote = chr; + } else if (!quote && chr === ';') { + if (key === false) { + response.value = value.trim(); + } else { + response.params[key] = value.trim(); + } + stage = STAGE_KEY; + value = ''; + } else { + value += chr; + } + escaped = false; + break; + } + } + + // finalize remainder + value = value.trim(); + if (stage === STAGE_VALUE) { + if (key === false) { + // default value + response.value = value; + } else { + // subkey value + response.params[key] = value; + } + } else if (value) { + // treat as key without value, see emptykey: + // Header-Key: somevalue; key=value; emptykey + response.params[value.toLowerCase()] = ''; + } + + // handle parameter value continuations + // https://tools.ietf.org/html/rfc2231#section-3 + + // preprocess values + Object.keys(response.params).forEach(key => { + let actualKey; + let nr; + let value; + + let match = key.match(/\*((\d+)\*?)?$/); + + if (!match) { + // nothing to do here, does not seem like a continuation param + return; + } + + actualKey = key.substr(0, match.index).toLowerCase(); + nr = Number(match[2]) || 0; + + if (!response.params[actualKey] || typeof response.params[actualKey] !== 'object') { + response.params[actualKey] = { + charset: false, + values: [] + }; + } + + value = response.params[key]; + + if (nr === 0 && match[0].charAt(match[0].length - 1) === '*' && (match = value.match(/^([^']*)'[^']*'(.*)$/))) { + response.params[actualKey].charset = match[1] || 'utf-8'; + value = match[2]; + } + + response.params[actualKey].values.push({ nr, value }); + + // remove the old reference + delete response.params[key]; + }); + + // concatenate split rfc2231 strings and convert encoded strings to mime encoded words + Object.keys(response.params).forEach(key => { + let value; + if (response.params[key] && Array.isArray(response.params[key].values)) { + value = response.params[key].values + .sort((a, b) => a.nr - b.nr) + .map(val => (val && val.value) || '') + .join(''); + + if (response.params[key].charset) { + // convert "%AB" to "=?charset?Q?=AB?=" and then to unicode + response.params[key] = this.decodeWords( + '=?' + + response.params[key].charset + + '?Q?' + + value + // fix invalidly encoded chars + .replace(/[=?_\s]/g, s => { + let c = s.charCodeAt(0).toString(16); + if (s === ' ') { + return '_'; + } else { + return '%' + (c.length < 2 ? '0' : '') + c; + } + }) + // change from urlencoding to percent encoding + .replace(/%/g, '=') + + '?=' + ); + } else { + response.params[key] = this.decodeWords(value); + } + } + }); + + return response; + } + + /** + * Encodes a string or an Buffer to an UTF-8 Parameter Value Continuation encoding (rfc2231) + * Useful for splitting long parameter values. + * + * For example + * title="unicode string" + * becomes + * title*0*=utf-8''unicode + * title*1*=%20string + * + * @param {String|Buffer} data String to be encoded + * @param {Number} [maxLength=50] Max length for generated chunks + * @param {String} [fromCharset='UTF-8'] Source sharacter set + * @return {Array} A list of encoded keys and headers + */ + buildHeaderParam(key, data, maxLength, fromCharset) { + let list = []; + let encodedStr = typeof data === 'string' ? data : this.decode(data, fromCharset); + let encodedStrArr; + let chr, ord; + let line; + let startPos = 0; + let isEncoded = false; + let i, len; + + maxLength = maxLength || 50; + + // process ascii only text + if (this.isPlainText(data)) { + // check if conversion is even needed + if (encodedStr.length <= maxLength) { + return [ + { + key, + value: encodedStr + } + ]; + } + + encodedStr = encodedStr.replace(new RegExp('.{' + maxLength + '}', 'g'), str => { + list.push({ + line: str + }); + return ''; + }); + + if (encodedStr) { + list.push({ + line: encodedStr + }); + } + } else { + if (/[\uD800-\uDBFF]/.test(encodedStr)) { + // string containts surrogate pairs, so normalize it to an array of bytes + encodedStrArr = []; + for (i = 0, len = encodedStr.length; i < len; i++) { + chr = encodedStr.charAt(i); + ord = chr.charCodeAt(0); + if (ord >= 0xd800 && ord <= 0xdbff && i < len - 1) { + chr += encodedStr.charAt(i + 1); + encodedStrArr.push(chr); + i++; + } else { + encodedStrArr.push(chr); + } + } + encodedStr = encodedStrArr; + } + + // first line includes the charset and language info and needs to be encoded + // even if it does not contain any unicode characters + line = "utf-8''"; + isEncoded = true; + startPos = 0; + + // process text with unicode or special chars + for (i = 0, len = encodedStr.length; i < len; i++) { + chr = encodedStr[i]; + + if (isEncoded) { + chr = this.safeEncodeURIComponent(chr); + } else { + // try to urlencode current char + chr = chr === ' ' ? chr : this.safeEncodeURIComponent(chr); + // By default it is not required to encode a line, the need + // only appears when the string contains unicode or special chars + // in this case we start processing the line over and encode all chars + if (chr !== encodedStr[i]) { + // Check if it is even possible to add the encoded char to the line + // If not, there is no reason to use this line, just push it to the list + // and start a new line with the char that needs encoding + if ((this.safeEncodeURIComponent(line) + chr).length >= maxLength) { + list.push({ + line, + encoded: isEncoded + }); + line = ''; + startPos = i - 1; + } else { + isEncoded = true; + i = startPos; + line = ''; + continue; + } + } + } + + // if the line is already too long, push it to the list and start a new one + if ((line + chr).length >= maxLength) { + list.push({ + line, + encoded: isEncoded + }); + line = chr = encodedStr[i] === ' ' ? ' ' : this.safeEncodeURIComponent(encodedStr[i]); + if (chr === encodedStr[i]) { + isEncoded = false; + startPos = i - 1; + } else { + isEncoded = true; + } + } else { + line += chr; + } + } + + if (line) { + list.push({ + line, + encoded: isEncoded + }); + } + } + + return list.map((item, i) => ({ + // encoded lines: {name}*{part}* + // unencoded lines: {name}*{part} + // if any line needs to be encoded then the first line (part==0) is always encoded + key: key + '*' + i + (item.encoded ? '*' : ''), + value: item.line + })); + } + + /** + * Returns file extension for a content type string. If no suitable extensions + * are found, 'bin' is used as the default extension + * + * @param {String} mimeType Content type to be checked for + * @return {String} File extension + */ + detectExtension(mimeType) { + mimeType = (mimeType || '').toString().toLowerCase().replace(/\s/g, ''); + if (!(mimeType in mimetypes.list)) { + return 'bin'; + } + + if (typeof mimetypes.list[mimeType] === 'string') { + return mimetypes.list[mimeType]; + } + + let mimeParts = mimeType.split('/'); + + // search for name match + for (let i = 0, len = mimetypes.list[mimeType].length; i < len; i++) { + if (mimeParts[1] === mimetypes.list[mimeType][i]) { + return mimetypes.list[mimeType][i]; + } + } + + // use the first one + return mimetypes.list[mimeType][0] !== '*' ? mimetypes.list[mimeType][0] : 'bin'; + } + + /** + * Returns content type for a file extension. If no suitable content types + * are found, 'application/octet-stream' is used as the default content type + * + * @param {String} extension Extension to be checked for + * @return {String} File extension + */ + detectMimeType(extension) { + extension = (extension || '').toString().toLowerCase().replace(/\s/g, '').replace(/^\./g, '').split('.').pop(); + + if (!(extension in mimetypes.extensions)) { + return 'application/octet-stream'; + } + + if (typeof mimetypes.extensions[extension] === 'string') { + return mimetypes.extensions[extension]; + } + + let mimeParts; + + // search for name match + for (let i = 0, len = mimetypes.extensions[extension].length; i < len; i++) { + mimeParts = mimetypes.extensions[extension][i].split('/'); + if (mimeParts[1] === extension) { + return mimetypes.extensions[extension][i]; + } + } + + // use the first one + return mimetypes.extensions[extension][0]; + } + + /** + * Folds long lines, useful for folding header lines (afterSpace=false) and + * flowed text (afterSpace=true) + * + * @param {String} str String to be folded + * @param {Number} [lineLength=76] Maximum length of a line + * @param {Boolean} afterSpace If true, leave a space in th end of a line + * @return {String} String with folded lines + */ + foldLines(str, lineLength, afterSpace) { + str = (str || '').toString(); + lineLength = lineLength || 76; + + let pos = 0, + len = str.length, + result = '', + line, + match; + + while (pos < len) { + line = str.substr(pos, lineLength); + if (line.length < lineLength) { + result += line; + break; + } + if ((match = line.match(/^[^\n\r]*(\r?\n|\r)/))) { + line = match[0]; + result += line; + pos += line.length; + continue; + } else if ((match = line.match(/(\s+)[^\s]*$/)) && match[0].length - (afterSpace ? (match[1] || '').length : 0) < line.length) { + line = line.substr(0, line.length - (match[0].length - (afterSpace ? (match[1] || '').length : 0))); + } else if ((match = str.substr(pos + line.length).match(/^[^\s]+(\s*)/))) { + line = line + match[0].substr(0, match[0].length - (!afterSpace ? (match[1] || '').length : 0)); + } + + result += line; + pos += line.length; + if (pos < len) { + result += '\r\n'; + } + } + + return result; + } + + /** + * Splits a mime encoded string. Needed for dividing mime words into smaller chunks + * + * @param {String} str Mime encoded string to be split up + * @param {Number} maxlen Maximum length of characters for one part (minimum 12) + * @return {Array} Split string + */ + splitMimeEncodedString(str, maxlen) { + let curLine, + match, + chr, + done, + lines = []; + + // require at least 12 symbols to fit possible 4 octet UTF-8 sequences + maxlen = Math.max(maxlen || 0, 12); + + while (str.length) { + curLine = str.substr(0, maxlen); + + // move incomplete escaped char back to main + if ((match = curLine.match(/[=][0-9A-F]?$/i))) { + curLine = curLine.substr(0, match.index); + } + + done = false; + while (!done) { + done = true; + // check if not middle of a unicode char sequence + if ((match = str.substr(curLine.length).match(/^[=]([0-9A-F]{2})/i))) { + chr = parseInt(match[1], 16); + // invalid sequence, move one char back anc recheck + if (chr < 0xc2 && chr > 0x7f) { + curLine = curLine.substr(0, curLine.length - 3); + done = false; + } + } + } + + if (curLine.length) { + lines.push(curLine); + } + str = str.substr(curLine.length); + } + + return lines; + } + + encodeURICharComponent(chr) { + let res = ''; + let ord = chr.charCodeAt(0).toString(16).toUpperCase(); + + if (ord.length % 2) { + ord = '0' + ord; + } + + if (ord.length > 2) { + for (let i = 0, len = ord.length / 2; i < len; i++) { + res += '%' + ord.substr(i, 2); + } + } else { + res += '%' + ord; + } + + return res; + } + + safeEncodeURIComponent(str) { + str = (str || '').toString(); + + try { + // might throw if we try to encode invalid sequences, eg. partial emoji + str = encodeURIComponent(str); + } catch (E) { + // should never run + return str.replace(/[^\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]+/g, ''); + } + + // ensure chars that are not handled by encodeURICompent are converted as well + return str.replace(/[\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]/g, chr => this.encodeURICharComponent(chr)); + } +} + +libmime$4.exports = new Libmime(); +libmimeExports.Libmime = Libmime; + +const libmime$3 = libmimeExports; + +/** + * Class Headers to parse and handle message headers. Headers instance allows to + * check existing, delete or add new headers + */ +let Headers$3 = class Headers { + constructor(headers, config) { + config = config || {}; + + if (Array.isArray(headers)) { + // already using parsed headers + this.changed = true; + this.headers = false; + this.parsed = true; + this.lines = headers; + } else { + // using original string/buffer headers + this.changed = false; + this.headers = headers; + this.parsed = false; + this.lines = false; + } + this.mbox = false; + this.http = false; + + this.libmime = new libmime$3.Libmime({ Iconv: config.Iconv }); + } + + hasHeader(key) { + if (!this.parsed) { + this._parseHeaders(); + } + key = this._normalizeHeader(key); + return typeof this.lines.find(line => line.key === key) === 'object'; + } + + get(key) { + if (!this.parsed) { + this._parseHeaders(); + } + key = this._normalizeHeader(key); + let lines = this.lines.filter(line => line.key === key).map(line => line.line); + + return lines; + } + + getDecoded(key) { + return this.get(key) + .map(line => this.libmime.decodeHeader(line)) + .filter(line => line && line.value); + } + + getFirst(key) { + if (!this.parsed) { + this._parseHeaders(); + } + key = this._normalizeHeader(key); + let header = this.lines.find(line => line.key === key); + if (!header) { + return ''; + } + return ((this.libmime.decodeHeader(header.line) || {}).value || '').toString().trim(); + } + + getList() { + if (!this.parsed) { + this._parseHeaders(); + } + return this.lines; + } + + add(key, value, index) { + if (typeof value === 'undefined') { + return; + } + + if (typeof value === 'number') { + value = value.toString(); + } + + if (typeof value === 'string') { + value = Buffer.from(value); + } + + value = value.toString('binary'); + this.addFormatted(key, this.libmime.foldLines(key + ': ' + value.replace(/\r?\n/g, ''), 76, false), index); + } + + addFormatted(key, line, index) { + if (!this.parsed) { + this._parseHeaders(); + } + index = index || 0; + this.changed = true; + + if (!line) { + return; + } + + if (typeof line !== 'string') { + line = line.toString('binary'); + } + + let header = { + key: this._normalizeHeader(key), + line + }; + + if (index < 1) { + this.lines.unshift(header); + } else if (index >= this.lines.length) { + this.lines.push(header); + } else { + this.lines.splice(index, 0, header); + } + } + + remove(key) { + if (!this.parsed) { + this._parseHeaders(); + } + key = this._normalizeHeader(key); + for (let i = this.lines.length - 1; i >= 0; i--) { + if (this.lines[i].key === key) { + this.changed = true; + this.lines.splice(i, 1); + } + } + } + + update(key, value, relativeIndex) { + if (!this.parsed) { + this._parseHeaders(); + } + let keyName = key; + let index = 0; + key = this._normalizeHeader(key); + let relativeIndexCount = 0; + let relativeMatchFound = false; + for (let i = this.lines.length - 1; i >= 0; i--) { + if (this.lines[i].key === key) { + if (relativeIndex && relativeIndex !== relativeIndexCount) { + relativeIndexCount++; + continue; + } + index = i; + this.changed = true; + this.lines.splice(i, 1); + if (relativeIndex) { + relativeMatchFound = true; + break; + } + } + } + if (relativeIndex && !relativeMatchFound) return; + this.add(keyName, value, index); + } + + build(lineEnd) { + if (!this.changed && !lineEnd) { + return typeof this.headers === 'string' ? Buffer.from(this.headers, 'binary') : this.headers; + } + + if (!this.parsed) { + this._parseHeaders(); + } + + lineEnd = lineEnd || '\r\n'; + + let headers = this.lines.map(line => line.line.replace(/\r?\n/g, lineEnd)).join(lineEnd) + `${lineEnd}${lineEnd}`; + + if (this.mbox) { + headers = this.mbox + lineEnd + headers; + } + + if (this.http) { + headers = this.http + lineEnd + headers; + } + + return Buffer.from(headers, 'binary'); + } + + _normalizeHeader(key) { + return (key || '').toLowerCase().trim(); + } + + _parseHeaders() { + if (!this.headers) { + this.lines = []; + this.parsed = true; + return; + } + + let lines = this.headers + .toString('binary') + .replace(/[\r\n]+$/, '') + .split(/\r?\n/); + + for (let i = lines.length - 1; i >= 0; i--) { + let chr = lines[i].charAt(0); + if (i && (chr === ' ' || chr === '\t')) { + lines[i - 1] += '\r\n' + lines[i]; + lines.splice(i, 1); + } else { + let line = lines[i]; + if (!i && /^From /i.test(line)) { + // mbox file + this.mbox = line; + lines.splice(i, 1); + continue; + } else if (!i && /^POST /i.test(line)) { + // HTTP POST request + this.http = line; + lines.splice(i, 1); + continue; + } + let key = this._normalizeHeader(line.substr(0, line.indexOf(':'))); + lines[i] = { + key, + line + }; + } + } + + this.lines = lines; + this.parsed = true; + } +}; + +// expose to the world +var headers = Headers$3; + +const Headers$2 = headers; +const libmime$2 = libmimeExports; +const libqp$1 = libqp$4; +const libbase64$1 = libbase64$4; +const PassThrough$1 = require$$0$7.PassThrough; +const pathlib = require$$3$1; + +let MimeNode$1 = class MimeNode { + constructor(parentNode, config) { + this.type = 'node'; + this.root = !parentNode; + this.parentNode = parentNode; + + this._parentBoundary = this.parentNode && this.parentNode._boundary; + this._headersLines = []; + this._headerlen = 0; + + this._parsedContentType = false; + this._boundary = false; + + this.multipart = false; + this.encoding = false; + this.headers = false; + this.contentType = false; + this.flowed = false; + this.delSp = false; + + this.config = config || {}; + this.libmime = new libmime$2.Libmime({ Iconv: this.config.Iconv }); + + this.parentPartNumber = (parentNode && this.partNr) || []; + this.partNr = false; // resolved later + this.childPartNumbers = 0; + } + + getPartNr(provided) { + if (provided) { + return [] + .concat(this.partNr || []) + .filter(nr => !isNaN(nr)) + .concat(provided); + } + let childPartNr = ++this.childPartNumbers; + return [] + .concat(this.partNr || []) + .filter(nr => !isNaN(nr)) + .concat(childPartNr); + } + + addHeaderChunk(line) { + if (!line) { + return; + } + this._headersLines.push(line); + this._headerlen += line.length; + } + + parseHeaders() { + if (this.headers) { + return; + } + this.headers = new Headers$2(Buffer.concat(this._headersLines, this._headerlen), this.config); + + this._parsedContentDisposition = this.libmime.parseHeaderValue(this.headers.getFirst('Content-Disposition')); + + // if content-type is missing default to plaintext + let contentHeader; + if (this.headers.get('Content-Type').length) { + contentHeader = this.headers.getFirst('Content-Type'); + } else { + if (this._parsedContentDisposition.params.filename) { + let extension = pathlib.parse(this._parsedContentDisposition.params.filename).ext.replace(/^\./, ''); + if (extension) { + contentHeader = libmime$2.detectMimeType(extension); + } + } + if (!contentHeader) { + if (/^attachment$/i.test(this._parsedContentDisposition.value)) { + contentHeader = 'application/octet-stream'; + } else { + contentHeader = 'text/plain'; + } + } + } + + this._parsedContentType = this.libmime.parseHeaderValue(contentHeader); + + this.encoding = this.headers + .getFirst('Content-Transfer-Encoding') + .replace(/\(.*\)/g, '') + .toLowerCase() + .trim(); + this.contentType = (this._parsedContentType.value || '').toLowerCase().trim() || false; + this.charset = this._parsedContentType.params.charset || false; + this.disposition = (this._parsedContentDisposition.value || '').toLowerCase().trim() || false; + + // fix invalidly encoded disposition values + if (this.disposition) { + try { + this.disposition = this.libmime.decodeWords(this.disposition); + } catch (E) { + // failed to parse disposition, keep as is (most probably an unknown charset is used) + } + } + + this.filename = this._parsedContentDisposition.params.filename || this._parsedContentType.params.name || false; + + if (this._parsedContentType.params.format && this._parsedContentType.params.format.toLowerCase().trim() === 'flowed') { + this.flowed = true; + if (this._parsedContentType.params.delsp && this._parsedContentType.params.delsp.toLowerCase().trim() === 'yes') { + this.delSp = true; + } + } + + if (this.filename) { + try { + this.filename = this.libmime.decodeWords(this.filename); + } catch (E) { + // failed to parse filename, keep as is (most probably an unknown charset is used) + } + } + + this.multipart = + (this.contentType && + this.contentType.substr(0, this.contentType.indexOf('/')) === 'multipart' && + this.contentType.substr(this.contentType.indexOf('/') + 1)) || + false; + this._boundary = (this._parsedContentType.params.boundary && Buffer.from(this._parsedContentType.params.boundary)) || false; + + this.rfc822 = this.contentType === 'message/rfc822'; + + if (!this.parentNode || this.parentNode.rfc822) { + this.partNr = this.parentNode ? this.parentNode.getPartNr('TEXT') : ['TEXT']; + } else { + this.partNr = this.parentNode ? this.parentNode.getPartNr() : []; + } + } + + getHeaders() { + if (!this.headers) { + this.parseHeaders(); + } + return this.headers.build(); + } + + setContentType(contentType) { + if (!this.headers) { + this.parseHeaders(); + } + + contentType = (contentType || '').toLowerCase().trim(); + if (contentType) { + this._parsedContentType.value = contentType; + } + + if (!this.flowed && this._parsedContentType.params.format) { + delete this._parsedContentType.params.format; + } + + if (!this.delSp && this._parsedContentType.params.delsp) { + delete this._parsedContentType.params.delsp; + } + + this.headers.update('Content-Type', this.libmime.buildHeaderValue(this._parsedContentType)); + } + + setCharset(charset) { + if (!this.headers) { + this.parseHeaders(); + } + + charset = (charset || '').toLowerCase().trim(); + + if (charset === 'ascii') { + charset = ''; + } + + if (!charset) { + if (!this._parsedContentType.value) { + // nothing to set or update + return; + } + delete this._parsedContentType.params.charset; + } else { + this._parsedContentType.params.charset = charset; + } + + if (!this._parsedContentType.value) { + this._parsedContentType.value = 'text/plain'; + } + + this.headers.update('Content-Type', this.libmime.buildHeaderValue(this._parsedContentType)); + } + + setFilename(filename) { + if (!this.headers) { + this.parseHeaders(); + } + + this.filename = (filename || '').toLowerCase().trim(); + + if (this._parsedContentType.params.name) { + delete this._parsedContentType.params.name; + this.headers.update('Content-Type', this.libmime.buildHeaderValue(this._parsedContentType)); + } + + if (!this.filename) { + if (!this._parsedContentDisposition.value) { + // nothing to set or update + return; + } + delete this._parsedContentDisposition.params.filename; + } else { + this._parsedContentDisposition.params.filename = this.filename; + } + + if (!this._parsedContentDisposition.value) { + this._parsedContentDisposition.value = 'attachment'; + } + + this.headers.update('Content-Disposition', this.libmime.buildHeaderValue(this._parsedContentDisposition)); + } + + getDecoder() { + if (!this.headers) { + this.parseHeaders(); + } + + switch (this.encoding) { + case 'base64': + return new libbase64$1.Decoder(); + case 'quoted-printable': + return new libqp$1.Decoder(); + default: + return new PassThrough$1(); + } + } + + getEncoder(encoding) { + if (!this.headers) { + this.parseHeaders(); + } + + encoding = (encoding || '').toString().toLowerCase().trim(); + + if (encoding && encoding !== this.encoding) { + this.headers.update('Content-Transfer-Encoding', encoding); + } else { + encoding = this.encoding; + } + + switch (encoding) { + case 'base64': + return new libbase64$1.Encoder(); + case 'quoted-printable': + return new libqp$1.Encoder(); + default: + return new PassThrough$1(); + } + } +}; + +var mimeNode = MimeNode$1; + +const Transform$7 = require$$0$7.Transform; +const MimeNode = mimeNode; + +const MAX_HEAD_SIZE = 1 * 1024 * 1024; +const MAX_CHILD_NODES = 1000; + +const HEAD = 0x01; +const BODY = 0x02; + +let MessageSplitter$1 = class MessageSplitter extends Transform$7 { + constructor(config) { + let options = { + readableObjectMode: true, + writableObjectMode: false + }; + super(options); + + this.config = config || {}; + this.maxHeadSize = this.config.maxHeadSize || MAX_HEAD_SIZE; + this.maxChildNodes = this.config.maxChildNodes || MAX_CHILD_NODES; + this.tree = []; + this.nodeCounter = 0; + this.newNode(); + this.tree.push(this.node); + this.line = false; + this.hasFailed = false; + } + + _transform(chunk, encoding, callback) { + // process line by line + // find next line ending + let pos = 0; + let i = 0; + let group = { + type: 'none' + }; + let groupstart = this.line ? -this.line.length : 0; + let groupend = 0; + + let checkTrailingLinebreak = data => { + if (data.type === 'body' && data.node.parentNode && data.value && data.value.length) { + if (data.value[data.value.length - 1] === 0x0a) { + groupstart--; + groupend--; + pos--; + if (data.value.length > 1 && data.value[data.value.length - 2] === 0x0d) { + groupstart--; + groupend--; + pos--; + if (groupstart < 0 && !this.line) { + // store only as should be on the positive side + this.line = Buffer.allocUnsafe(1); + this.line[0] = 0x0d; + } + data.value = data.value.slice(0, data.value.length - 2); + } else { + data.value = data.value.slice(0, data.value.length - 1); + } + } else if (data.value[data.value.length - 1] === 0x0d) { + groupstart--; + groupend--; + pos--; + data.value = data.value.slice(0, data.value.length - 1); + } + } + }; + + let iterateData = () => { + for (let len = chunk.length; i < len; i++) { + // find next + if (chunk[i] === 0x0a) { + // line end + + let start = Math.max(pos, 0); + pos = ++i; + + return this.processLine(chunk.slice(start, i), false, (err, data, flush) => { + if (err) { + this.hasFailed = true; + return setImmediate(() => callback(err)); + } + + if (!data) { + return setImmediate(iterateData); + } + + if (flush) { + if (group && group.type !== 'none') { + if (group.type === 'body' && groupend >= groupstart && group.node.parentNode) { + // do not include the last line ending for body + if (chunk[groupend - 1] === 0x0a) { + groupend--; + if (groupend >= groupstart && chunk[groupend - 1] === 0x0d) { + groupend--; + } + } + } + if (groupstart !== groupend) { + group.value = chunk.slice(groupstart, groupend); + if (groupend < i) { + data.value = chunk.slice(groupend, i); + } + } + this.push(group); + group = { + type: 'none' + }; + groupstart = groupend = i; + } + this.push(data); + groupend = i; + return setImmediate(iterateData); + } + + if (data.type === group.type) { + // shift slice end position forward + groupend = i; + } else { + if (group.type === 'body' && groupend >= groupstart && group.node.parentNode) { + // do not include the last line ending for body + if (chunk[groupend - 1] === 0x0a) { + groupend--; + if (groupend >= groupstart && chunk[groupend - 1] === 0x0d) { + groupend--; + } + } + } + + if (group.type !== 'none' && group.type !== 'node') { + // we have a previous data/body chunk to output + if (groupstart !== groupend) { + group.value = chunk.slice(groupstart, groupend); + if (group.value && group.value.length) { + this.push(group); + group = { + type: 'none' + }; + } + } + } + + if (data.type === 'node') { + this.push(data); + groupstart = i; + groupend = i; + } else if (groupstart < 0) { + groupstart = i; + groupend = i; + checkTrailingLinebreak(data); + if (data.value && data.value.length) { + this.push(data); + } + } else { + // start new body/data chunk + group = data; + groupstart = groupend; + groupend = i; + } + } + return setImmediate(iterateData); + }); + } + } + + // skip last linebreak for body + if (pos >= groupstart + 1 && group.type === 'body' && group.node.parentNode) { + // do not include the last line ending for body + if (chunk[pos - 1] === 0x0a) { + pos--; + if (pos >= groupstart && chunk[pos - 1] === 0x0d) { + pos--; + } + } + } + + if (group.type !== 'none' && group.type !== 'node' && pos > groupstart) { + // we have a leftover data/body chunk to push out + group.value = chunk.slice(groupstart, pos); + + if (group.value && group.value.length) { + this.push(group); + group = { + type: 'none' + }; + } + } + + if (pos < chunk.length) { + if (this.line) { + this.line = Buffer.concat([this.line, chunk.slice(pos)]); + } else { + this.line = chunk.slice(pos); + } + } + callback(); + }; + + setImmediate(iterateData); + } + + _flush(callback) { + if (this.hasFailed) { + return callback(); + } + this.processLine(false, true, (err, data) => { + if (err) { + return setImmediate(() => callback(err)); + } + if (data && (data.type === 'node' || (data.value && data.value.length))) { + this.push(data); + } + callback(); + }); + } + + compareBoundary(line, startpos, boundary) { + // --{boundary}\r\n or --{boundary}--\r\n + if (line.length < boundary.length + 3 + startpos || line.length > boundary.length + 6 + startpos) { + return false; + } + for (let i = 0; i < boundary.length; i++) { + if (line[i + 2 + startpos] !== boundary[i]) { + return false; + } + } + + let pos = 0; + for (let i = boundary.length + 2 + startpos; i < line.length; i++) { + let c = line[i]; + if (pos === 0 && (c === 0x0d || c === 0x0a)) { + // 1: next node + return 1; + } + if (pos === 0 && c !== 0x2d) { + // expecting "-" + return false; + } + if (pos === 1 && c !== 0x2d) { + // expecting "-" + return false; + } + if (pos === 2 && c !== 0x0d && c !== 0x0a) { + // expecting line terminator, either or + return false; + } + if (pos === 3 && c !== 0x0a) { + // expecting line terminator + return false; + } + pos++; + } + + // 2: multipart end + return 2; + } + + checkBoundary(line) { + let startpos = 0; + if (line.length >= 1 && (line[0] === 0x0d || line[0] === 0x0a)) { + startpos++; + if (line.length >= 2 && (line[0] === 0x0d || line[1] === 0x0a)) { + startpos++; + } + } + if (line.length < 4 || line[startpos] !== 0x2d || line[startpos + 1] !== 0x2d) { + // defnitely not a boundary + return false; + } + + let boundary; + if (this.node._boundary && (boundary = this.compareBoundary(line, startpos, this.node._boundary))) { + // 1: next child + // 2: multipart end + return boundary; + } + + if (this.node._parentBoundary && (boundary = this.compareBoundary(line, startpos, this.node._parentBoundary))) { + // 3: next sibling + // 4: parent end + return boundary + 2; + } + + return false; + } + + processLine(line, final, next) { + let flush = false; + + if (this.line && line) { + line = Buffer.concat([this.line, line]); + this.line = false; + } else if (this.line && !line) { + line = this.line; + this.line = false; + } + + if (!line) { + line = Buffer.alloc(0); + } + + if (this.nodeCounter > this.maxChildNodes) { + let err = new Error('Max allowed child nodes exceeded'); + err.code = 'EMAXLEN'; + return next(err); + } + + // we check boundary outside the HEAD/BODY scope as it may appear anywhere + let boundary = this.checkBoundary(line); + if (boundary) { + // reached boundary, switch context + switch (boundary) { + case 1: + // next child + this.newNode(this.node); + flush = true; + break; + case 2: + // reached end of children, keep current node + break; + case 3: { + // next sibling + let parentNode = this.node.parentNode; + if (parentNode && parentNode.contentType === 'message/rfc822') { + // special case where immediate parent is an inline message block + // move up another step + parentNode = parentNode.parentNode; + } + this.newNode(parentNode); + flush = true; + break; + } + case 4: + // special case when boundary close a node with only header. + if (this.node && this.node._headerlen && !this.node.headers) { + this.node.parseHeaders(); + this.push(this.node); + } + // move up + if (this.tree.length) { + this.node = this.tree.pop(); + } + this.state = BODY; + break; + } + + return next( + null, + { + node: this.node, + type: 'data', + value: line + }, + flush + ); + } + + switch (this.state) { + case HEAD: { + this.node.addHeaderChunk(line); + if (this.node._headerlen > this.maxHeadSize) { + let err = new Error('Max header size for a MIME node exceeded'); + err.code = 'EMAXLEN'; + return next(err); + } + if (final || (line.length === 1 && line[0] === 0x0a) || (line.length === 2 && line[0] === 0x0d && line[1] === 0x0a)) { + let currentNode = this.node; + + currentNode.parseHeaders(); + + // if the content is attached message then just continue + if ( + currentNode.contentType === 'message/rfc822' && + !this.config.ignoreEmbedded && + (!currentNode.encoding || ['7bit', '8bit', 'binary'].includes(currentNode.encoding)) && + (this.config.defaultInlineEmbedded ? currentNode.disposition !== 'attachment' : currentNode.disposition === 'inline') + ) { + currentNode.messageNode = true; + this.newNode(currentNode); + if (currentNode.parentNode) { + this.node._parentBoundary = currentNode.parentNode._boundary; + } + } else { + if (currentNode.contentType === 'message/rfc822') { + currentNode.messageNode = false; + } + this.state = BODY; + if (currentNode.multipart && currentNode._boundary) { + this.tree.push(currentNode); + } + } + + return next(null, currentNode, flush); + } + + return next(); + } + case BODY: { + return next( + null, + { + node: this.node, + type: this.node.multipart ? 'data' : 'body', + value: line + }, + flush + ); + } + } + + next(null, false); + } + + newNode(parent) { + this.node = new MimeNode(parent || false, this.config); + this.state = HEAD; + this.nodeCounter++; + } +}; + +var messageSplitter = MessageSplitter$1; + +const Transform$6 = require$$0$7.Transform; + +let MessageJoiner$1 = class MessageJoiner extends Transform$6 { + constructor() { + let options = { + readableObjectMode: false, + writableObjectMode: true + }; + super(options); + } + + _transform(obj, encoding, callback) { + if (Buffer.isBuffer(obj)) { + this.push(obj); + } else if (obj.type === 'node') { + this.push(obj.getHeaders()); + } else if (obj.value) { + this.push(obj.value); + } + return callback(); + } + + _flush(callback) { + return callback(); + } +}; + +var messageJoiner = MessageJoiner$1; + +// Helper class to rewrite nodes with specific mime type + +const Transform$5 = require$$0$7.Transform; +const libmime$1 = libmimeExports; + +/** + * Really bad "stream" transform to parse format=flowed content + * + * @constructor + * @param {String} delSp True if delsp option was used + */ +let FlowedDecoder$3 = class FlowedDecoder extends Transform$5 { + constructor(config) { + super(); + this.config = config || {}; + + this.chunks = []; + this.chunklen = 0; + + this.libmime = new libmime$1.Libmime({ Iconv: config.Iconv }); + } + + _transform(chunk, encoding, callback) { + if (!chunk || !chunk.length) { + return callback(); + } + + if (!encoding !== 'buffer') { + chunk = Buffer.from(chunk, encoding); + } + + this.chunks.push(chunk); + this.chunklen += chunk.length; + + callback(); + } + + _flush(callback) { + if (this.chunklen) { + let currentBody = Buffer.concat(this.chunks, this.chunklen); + + if (this.config.encoding === 'base64') { + currentBody = Buffer.from(currentBody.toString('binary'), 'base64'); + } + + let content = this.libmime.decodeFlowed(currentBody.toString('binary'), this.config.delSp); + this.push(Buffer.from(content, 'binary')); + } + return callback(); + } +}; + +var flowedDecoder = FlowedDecoder$3; + +// Helper class to rewrite nodes with specific mime type + +const Transform$4 = require$$0$7.Transform; +const FlowedDecoder$2 = flowedDecoder; + +/** + * NodeRewriter Transform stream. Updates content for all nodes with specified mime type + * + * @constructor + * @param {String} mimeType Define the Mime-Type to look for + * @param {Function} rewriteAction Function to run with the node content + */ +let NodeRewriter$1 = class NodeRewriter extends Transform$4 { + constructor(filterFunc, rewriteAction) { + let options = { + readableObjectMode: true, + writableObjectMode: true + }; + super(options); + + this.filterFunc = filterFunc; + this.rewriteAction = rewriteAction; + + this.decoder = false; + this.encoder = false; + this.continue = false; + } + + _transform(data, encoding, callback) { + this.processIncoming(data, callback); + } + + _flush(callback) { + if (this.decoder) { + // emit an empty node just in case there is pending data to end + return this.processIncoming( + { + type: 'none' + }, + callback + ); + } + return callback(); + } + + processIncoming(data, callback) { + if (this.decoder && data.type === 'body') { + // data to parse + if (!this.decoder.write(data.value)) { + return this.decoder.once('drain', callback); + } else { + return callback(); + } + } else if (this.decoder && data.type !== 'body') { + // stop decoding. + // we can not process the current data chunk as we need to wait until + // the parsed data is completely processed, so we store a reference to the + // continue callback + this.continue = () => { + this.continue = false; + this.decoder = false; + this.encoder = false; + this.processIncoming(data, callback); + }; + return this.decoder.end(); + } else if (data.type === 'node' && this.filterFunc(data)) { + // found matching node, create new handler + this.emit('node', this.createDecodePair(data)); + } else if (this.readable && data.type !== 'none') { + // we don't care about this data, just pass it over to the joiner + this.push(data); + } + callback(); + } + + createDecodePair(node) { + this.decoder = node.getDecoder(); + + if (['base64', 'quoted-printable'].includes(node.encoding)) { + this.encoder = node.getEncoder(); + } else { + this.encoder = node.getEncoder('quoted-printable'); + } + + let lastByte = false; + + let decoder = this.decoder; + let encoder = this.encoder; + let firstChunk = true; + decoder.$reading = false; + + let readFromEncoder = () => { + decoder.$reading = true; + + let data = encoder.read(); + if (data === null) { + decoder.$reading = false; + return; + } + + if (firstChunk) { + firstChunk = false; + if (this.readable) { + this.push(node); + if (node.type === 'body') { + lastByte = node.value && node.value.length && node.value[node.value.length - 1]; + } + } + } + + let writeMore = true; + if (this.readable) { + writeMore = this.push({ + node, + type: 'body', + value: data + }); + lastByte = data && data.length && data[data.length - 1]; + } + + if (writeMore) { + return setImmediate(readFromEncoder); + } else { + encoder.pause(); + // no idea how to catch drain? use timeout for now as poor man's substitute + // this.once('drain', () => encoder.resume()); + setTimeout(() => { + encoder.resume(); + setImmediate(readFromEncoder); + }, 100); + } + }; + + encoder.on('readable', () => { + if (!decoder.$reading) { + return readFromEncoder(); + } + }); + + encoder.on('end', () => { + if (firstChunk) { + firstChunk = false; + if (this.readable) { + this.push(node); + if (node.type === 'body') { + lastByte = node.value && node.value.length && node.value[node.value.length - 1]; + } + } + } + + if (lastByte !== 0x0a) { + // make sure there is a terminating line break + this.push({ + node, + type: 'body', + value: Buffer.from([0x0a]) + }); + } + + if (this.continue) { + return this.continue(); + } + }); + + if (/^text\//.test(node.contentType) && node.flowed) { + // text/plain; format=flowed is a special case + let flowDecoder = decoder; + decoder = new FlowedDecoder$2({ + delSp: node.delSp, + encoding: node.encoding + }); + flowDecoder.on('error', err => { + decoder.emit('error', err); + }); + flowDecoder.pipe(decoder); + + // we don't know what kind of data we are going to get, does it comply with the + // requirements of format=flowed, so we just cancel it + node.flowed = false; + node.delSp = false; + node.setContentType(); + } + + return { + node, + decoder, + encoder + }; + } +}; + +var nodeRewriter = NodeRewriter$1; + +// Helper class to rewrite nodes with specific mime type + +const Transform$3 = require$$0$7.Transform; +const FlowedDecoder$1 = flowedDecoder; + +/** + * NodeRewriter Transform stream. Updates content for all nodes with specified mime type + * + * @constructor + * @param {String} mimeType Define the Mime-Type to look for + * @param {Function} streamAction Function to run with the node content + */ +let NodeStreamer$1 = class NodeStreamer extends Transform$3 { + constructor(filterFunc, streamAction) { + let options = { + readableObjectMode: true, + writableObjectMode: true + }; + super(options); + + this.filterFunc = filterFunc; + this.streamAction = streamAction; + + this.decoder = false; + this.canContinue = false; + this.continue = false; + } + + _transform(data, encoding, callback) { + this.processIncoming(data, callback); + } + + _flush(callback) { + if (this.decoder) { + // emit an empty node just in case there is pending data to end + return this.processIncoming( + { + type: 'none' + }, + callback + ); + } + return callback(); + } + + processIncoming(data, callback) { + if (this.decoder && data.type === 'body') { + // data to parse + this.push(data); + if (!this.decoder.write(data.value)) { + return this.decoder.once('drain', callback); + } else { + return callback(); + } + } else if (this.decoder && data.type !== 'body') { + // stop decoding. + // we can not process the current data chunk as we need to wait until + // the parsed data is completely processed, so we store a reference to the + // continue callback + + let doContinue = () => { + this.continue = false; + this.decoder = false; + this.canContinue = false; + this.processIncoming(data, callback); + }; + + if (this.canContinue) { + setImmediate(doContinue); + } else { + this.continue = () => doContinue(); + } + + return this.decoder.end(); + } else if (data.type === 'node' && this.filterFunc(data)) { + this.push(data); + // found matching node, create new handler + this.emit('node', this.createDecoder(data)); + } else if (this.readable && data.type !== 'none') { + // we don't care about this data, just pass it over to the joiner + this.push(data); + } + callback(); + } + + createDecoder(node) { + this.decoder = node.getDecoder(); + + let decoder = this.decoder; + decoder.$reading = false; + + if (/^text\//.test(node.contentType) && node.flowed) { + let flowDecoder = decoder; + decoder = new FlowedDecoder$1({ + delSp: node.delSp + }); + flowDecoder.on('error', err => { + decoder.emit('error', err); + }); + flowDecoder.pipe(decoder); + } + + return { + node, + decoder, + done: () => { + if (typeof this.continue === 'function') { + // called once input stream is processed + this.continue(); + } else { + // called before input stream is processed + this.canContinue = true; + } + } + }; + } +}; + +var nodeStreamer = NodeStreamer$1; + +const MessageSplitter = messageSplitter; +const MessageJoiner = messageJoiner; +const NodeRewriter = nodeRewriter; +const NodeStreamer = nodeStreamer; +const Headers$1 = headers; + +var mailsplit = { + Splitter: MessageSplitter, + Joiner: MessageJoiner, + Rewriter: NodeRewriter, + Streamer: NodeStreamer, + Headers: Headers$1 +}; + +var limitedPassthrough = {}; + +const { Transform: Transform$2 } = require$$0$7; + +let LimitedPassthrough$1 = class LimitedPassthrough extends Transform$2 { + constructor(options) { + super(); + this.options = options || {}; + this.maxBytes = this.options.maxBytes || Infinity; + this.processed = 0; + this.limited = false; + } + + _transform(chunk, encoding, done) { + if (this.limited) { + return done(); + } + + if (this.processed + chunk.length > this.maxBytes) { + if (this.maxBytes - this.processed < 1) { + return done(); + } + + chunk = chunk.slice(0, this.maxBytes - this.processed); + } + + this.processed += chunk.length; + if (this.processed >= this.maxBytes) { + this.limited = true; + } + + this.push(chunk); + done(); + } +}; + +limitedPassthrough.LimitedPassthrough = LimitedPassthrough$1; + +var imapStream = {}; + +const Transform$1 = require$$0$7.Transform; +const logger$1 = logger_1; + +const LINE = 0x01; +const LITERAL = 0x02; + +const LF = 0x0a; +const CR = 0x0d; +const NUM_0 = 0x30; +const NUM_9 = 0x39; +const CURLY_OPEN = 0x7b; +const CURLY_CLOSE = 0x7d; + +let ImapStream$1 = class ImapStream extends Transform$1 { + constructor(options) { + super({ + //writableHighWaterMark: 3, + readableObjectMode: true, + writableObjectMode: false + }); + + this.options = options || {}; + this.cid = this.options.cid; + + this.log = + this.options.logger && typeof this.options.logger === 'object' + ? this.options.logger + : logger$1.child({ + component: 'imap-connection', + cid: this.cid + }); + + this.readBytesCounter = 0; + + this.state = LINE; + this.literalWaiting = 0; + this.inputBuffer = []; // lines + this.lineBuffer = []; // current line + this.literalBuffer = []; + this.literals = []; + + this.compress = false; + this.secureConnection = this.options.secureConnection; + + this.processingInput = false; + this.inputQueue = []; // unprocessed input chunks + } + + checkLiteralMarker(line) { + if (!line || !line.length) { + return false; + } + + let pos = line.length - 1; + + if (line[pos] === LF) { + pos--; + } else { + return false; + } + if (pos >= 0 && line[pos] === CR) { + pos--; + } + if (pos < 0) { + return false; + } + + if (!pos || line[pos] !== CURLY_CLOSE) { + return false; + } + pos--; + + let numBytes = []; + for (; pos > 0; pos--) { + let c = line[pos]; + if (c >= NUM_0 && c <= NUM_9) { + numBytes.unshift(c); + continue; + } + if (c === CURLY_OPEN && numBytes.length) { + this.state = LITERAL; + this.literalWaiting = Number(Buffer.from(numBytes).toString()); + return true; + } + return false; + } + return false; + } + + async processInputChunk(chunk, startPos) { + startPos = startPos || 0; + if (startPos >= chunk.length) { + return; + } + + switch (this.state) { + case LINE: { + let lineStart = startPos; + for (let i = startPos, len = chunk.length; i < len; i++) { + if (chunk[i] === LF) { + // line end found + this.lineBuffer.push(chunk.slice(lineStart, i + 1)); + lineStart = i + 1; + + let line = Buffer.concat(this.lineBuffer); + + this.inputBuffer.push(line); + this.lineBuffer = []; + + // try to detect if this is a literal start + if (this.checkLiteralMarker(line)) { + // switch into line mode and start over + return await this.processInputChunk(chunk, lineStart); + } + + // reached end of command input, emit it + let payload = this.inputBuffer.length === 1 ? this.inputBuffer[0] : Buffer.concat(this.inputBuffer); + let literals = this.literals; + this.inputBuffer = []; + this.literals = []; + + if (payload.length) { + // remove final line terminator + let skipBytes = 0; + if (payload.length >= 1 && payload[payload.length - 1] === LF) { + skipBytes++; + if (payload.length >= 2 && payload[payload.length - 2] === CR) { + skipBytes++; + } + } + + if (skipBytes) { + payload = payload.slice(0, payload.length - skipBytes); + } + + if (payload.length) { + await new Promise(resolve => { + this.push({ payload, literals, next: resolve }); + }); + } + } + } + } + if (lineStart < chunk.length) { + this.lineBuffer.push(chunk.slice(lineStart)); + } + break; + } + + case LITERAL: { + // exactly until end of chunk + if (chunk.length === startPos + this.literalWaiting) { + if (!startPos) { + this.literalBuffer.push(chunk); + } else { + this.literalBuffer.push(chunk.slice(startPos)); + } + + this.literalWaiting -= chunk.length; + this.literals.push(Buffer.concat(this.literalBuffer)); + this.literalBuffer = []; + this.state = LINE; + + return; + } else if (chunk.length > startPos + this.literalWaiting) { + let partial = chunk.slice(startPos, startPos + this.literalWaiting); + this.literalBuffer.push(partial); + startPos += partial.length; + this.literalWaiting -= partial.length; + this.literals.push(Buffer.concat(this.literalBuffer)); + this.literalBuffer = []; + this.state = LINE; + + return await this.processInputChunk(chunk, startPos); + } else { + let partial = chunk.slice(startPos); + this.literalBuffer.push(partial); + startPos += partial.length; + this.literalWaiting -= partial.length; + return; + } + } + } + } + + async processInput() { + let data; + while ((data = this.inputQueue.shift())) { + await this.processInputChunk(data.chunk); + // mark chunk as processed + data.next(); + } + } + + _transform(chunk, encoding, next) { + if (typeof chunk === 'string') { + chunk = Buffer.from(chunk, encoding); + } + + if (!chunk || !chunk.length) { + return next(); + } + + this.readBytesCounter += chunk.length; + + if (this.options.logRaw) { + this.log.trace({ + src: 's', + msg: 'read from socket', + data: chunk.toString('base64'), + compress: !!this.compress, + secure: !!this.secureConnection, + cid: this.cid + }); + } + + if (chunk && chunk.length) { + this.inputQueue.push({ chunk, next }); + } + + if (!this.processingInput) { + this.processingInput = true; + this.processInput() + .catch(err => this.emit('error', err)) + .finally(() => (this.processingInput = false)); + } + } + + _flush(next) { + next(); + } +}; + +imapStream.ImapStream = ImapStream$1; + +/* eslint object-shorthand:0, new-cap: 0, no-useless-concat: 0 */ + +// IMAP Formal Syntax +// http://tools.ietf.org/html/rfc3501#section-9 + +function expandRange$3(start, end) { + let chars = []; + for (let i = start; i <= end; i++) { + chars.push(i); + } + return String.fromCharCode(...chars); +} + +function excludeChars(source, exclude) { + let sourceArr = Array.prototype.slice.call(source); + for (let i = sourceArr.length - 1; i >= 0; i--) { + if (exclude.indexOf(sourceArr[i]) >= 0) { + sourceArr.splice(i, 1); + } + } + return sourceArr.join(''); +} + +var imapFormalSyntax$4 = { + CHAR() { + let value = expandRange$3(0x01, 0x7f); + this.CHAR = function () { + return value; + }; + return value; + }, + + CHAR8() { + let value = expandRange$3(0x01, 0xff); + this.CHAR8 = function () { + return value; + }; + return value; + }, + + SP() { + return ' '; + }, + + CTL() { + let value = expandRange$3(0x00, 0x1f) + '\x7F'; + this.CTL = function () { + return value; + }; + return value; + }, + + DQUOTE() { + return '"'; + }, + + ALPHA() { + let value = expandRange$3(0x41, 0x5a) + expandRange$3(0x61, 0x7a); + this.ALPHA = function () { + return value; + }; + return value; + }, + + DIGIT() { + let value = expandRange$3(0x30, 0x39) + expandRange$3(0x61, 0x7a); + this.DIGIT = function () { + return value; + }; + return value; + }, + + 'ATOM-CHAR'() { + let value = excludeChars(this.CHAR(), this['atom-specials']()); + this['ATOM-CHAR'] = function () { + return value; + }; + return value; + }, + + 'ASTRING-CHAR'() { + let value = this['ATOM-CHAR']() + this['resp-specials'](); + this['ASTRING-CHAR'] = function () { + return value; + }; + return value; + }, + + 'TEXT-CHAR'() { + let value = excludeChars(this.CHAR(), '\r\n'); + this['TEXT-CHAR'] = function () { + return value; + }; + return value; + }, + + 'atom-specials'() { + let value = '(' + ')' + '{' + this.SP() + this.CTL() + this['list-wildcards']() + this['quoted-specials']() + this['resp-specials'](); + this['atom-specials'] = function () { + return value; + }; + return value; + }, + + 'list-wildcards'() { + return '%' + '*'; + }, + + 'quoted-specials'() { + let value = this.DQUOTE() + '\\'; + this['quoted-specials'] = function () { + return value; + }; + return value; + }, + + 'resp-specials'() { + return ']'; + }, + + tag() { + let value = excludeChars(this['ASTRING-CHAR'](), '+'); + this.tag = function () { + return value; + }; + return value; + }, + + command() { + let value = this.ALPHA() + this.DIGIT() + '-'; + this.command = function () { + return value; + }; + return value; + }, + + verify(str, allowedChars) { + for (let i = 0, len = str.length; i < len; i++) { + if (allowedChars.indexOf(str.charAt(i)) < 0) { + return i; + } + } + return -1; + } +}; + +var parserInstance = {}; + +var tokenParser = {}; + +/* eslint new-cap: 0 */ + +const imapFormalSyntax$3 = imapFormalSyntax$4; + +let TokenParser$1 = class TokenParser { + constructor(parent, startPos, str, options) { + this.str = (str || '').toString(); + this.options = options || {}; + this.parent = parent; + + this.tree = this.currentNode = this.createNode(); + this.pos = startPos || 0; + + this.currentNode.type = 'TREE'; + + this.state = 'NORMAL'; + } + + async getAttributes() { + await this.processString(); + + const attributes = []; + let branch = attributes; + + let walk = async node => { + let curBranch = branch; + let elm; + let partial; + + if (!node.isClosed && node.type === 'SEQUENCE' && node.value === '*') { + node.isClosed = true; + node.type = 'ATOM'; + } + + // If the node was never closed, throw it + if (!node.isClosed) { + throw new Error(`Unexpected end of input at position ${this.pos + this.str.length - 1} [E6]`); + } + + let type = (node.type || '').toString().toUpperCase(); + + switch (type) { + case 'LITERAL': + case 'STRING': + case 'SEQUENCE': + elm = { + type: node.type.toUpperCase(), + value: node.value + }; + branch.push(elm); + break; + + case 'ATOM': + if (node.value.toUpperCase() === 'NIL') { + branch.push(null); + break; + } + elm = { + type: node.type.toUpperCase(), + value: node.value + }; + branch.push(elm); + break; + + case 'SECTION': + branch = branch[branch.length - 1].section = []; + break; + + case 'LIST': + elm = []; + branch.push(elm); + branch = elm; + break; + + case 'PARTIAL': + partial = node.value.split('.').map(Number); + branch[branch.length - 1].partial = partial; + break; + } + + for (let childNode of node.childNodes) { + await walk(childNode); + } + + branch = curBranch; + }; + + await walk(this.tree); + + return attributes; + } + + createNode(parentNode, startPos) { + let node = { + childNodes: [], + type: false, + value: '', + isClosed: true + }; + + if (parentNode) { + node.parentNode = parentNode; + } + + if (typeof startPos === 'number') { + node.startPos = startPos; + } + + if (parentNode) { + parentNode.childNodes.push(node); + } + + return node; + } + + async processString() { + let chr, i, len; + + const checkSP = () => { + // jump to the next non whitespace pos + while (this.str.charAt(i + 1) === ' ') { + i++; + } + }; + + for (i = 0, len = this.str.length; i < len; i++) { + chr = this.str.charAt(i); + + switch (this.state) { + case 'NORMAL': + switch (chr) { + // DQUOTE starts a new string + case '"': + this.currentNode = this.createNode(this.currentNode, this.pos + i); + this.currentNode.type = 'string'; + this.state = 'STRING'; + this.currentNode.isClosed = false; + break; + + // ( starts a new list + case '(': + this.currentNode = this.createNode(this.currentNode, this.pos + i); + this.currentNode.type = 'LIST'; + this.currentNode.isClosed = false; + break; + + // ) closes a list + case ')': + if (this.currentNode.type !== 'LIST') { + throw new Error(`Unexpected list terminator ) at position ${this.pos + i} [E7]`); + } + + this.currentNode.isClosed = true; + this.currentNode.endPos = this.pos + i; + this.currentNode = this.currentNode.parentNode; + + checkSP(); + break; + + // ] closes section group + case ']': + if (this.currentNode.type !== 'SECTION') { + throw new Error(`Unexpected section terminator ] at position ${this.pos + i} [E8]`); + } + this.currentNode.isClosed = true; + this.currentNode.endPos = this.pos + i; + this.currentNode = this.currentNode.parentNode; + + checkSP(); + break; + + // < starts a new partial + case '<': + if (this.str.charAt(i - 1) !== ']') { + this.currentNode = this.createNode(this.currentNode, this.pos + i); + this.currentNode.type = 'ATOM'; + this.currentNode.value = chr; + this.state = 'ATOM'; + } else { + this.currentNode = this.createNode(this.currentNode, this.pos + i); + this.currentNode.type = 'PARTIAL'; + this.state = 'PARTIAL'; + this.currentNode.isClosed = false; + } + break; + + // binary literal8 + case '~': { + let nextChr = this.str.charAt(i + 1); + if (nextChr !== '{') { + throw new Error(`Unexpected literal8 marker at position ${this.pos + i} [E9]`); + } + this.expectedLiteralType = 'literal8'; + break; + } + + // { starts a new literal + case '{': + this.currentNode = this.createNode(this.currentNode, this.pos + i); + this.currentNode.type = 'LITERAL'; + this.currentNode.literalType = this.expectedLiteralType || 'literal'; + this.expectedLiteralType = false; + this.state = 'LITERAL'; + this.currentNode.isClosed = false; + break; + + // * starts a new sequence + case '*': + this.currentNode = this.createNode(this.currentNode, this.pos + i); + this.currentNode.type = 'SEQUENCE'; + this.currentNode.value = chr; + this.currentNode.isClosed = false; + this.state = 'SEQUENCE'; + break; + + // normally a space should never occur + case ' ': + // just ignore + break; + + // [ starts section + case '[': + // If it is the *first* element after response command, then process as a response argument list + if (['OK', 'NO', 'BAD', 'BYE', 'PREAUTH'].includes(this.parent.command.toUpperCase()) && this.currentNode === this.tree) { + this.currentNode.endPos = this.pos + i; + + this.currentNode = this.createNode(this.currentNode, this.pos + i); + this.currentNode.type = 'ATOM'; + + this.currentNode = this.createNode(this.currentNode, this.pos + i); + this.currentNode.type = 'SECTION'; + this.currentNode.isClosed = false; + this.state = 'NORMAL'; + + // RFC2221 defines a response code REFERRAL whose payload is an + // RFC2192/RFC5092 imapurl that we will try to parse as an ATOM but + // fail quite badly at parsing. Since the imapurl is such a unique + // (and crazy) term, we just specialize that case here. + if (this.str.substr(i + 1, 9).toUpperCase() === 'REFERRAL ') { + // create the REFERRAL atom + this.currentNode = this.createNode(this.currentNode, this.pos + i + 1); + this.currentNode.type = 'ATOM'; + this.currentNode.endPos = this.pos + i + 8; + this.currentNode.value = 'REFERRAL'; + this.currentNode = this.currentNode.parentNode; + + // eat all the way through the ] to be the IMAPURL token. + this.currentNode = this.createNode(this.currentNode, this.pos + i + 10); + // just call this an ATOM, even though IMAPURL might be more correct + this.currentNode.type = 'ATOM'; + // jump i to the ']' + i = this.str.indexOf(']', i + 10); + this.currentNode.endPos = this.pos + i - 1; + this.currentNode.value = this.str.substring(this.currentNode.startPos - this.pos, this.currentNode.endPos - this.pos + 1); + this.currentNode = this.currentNode.parentNode; + + // close out the SECTION + this.currentNode.isClosed = true; + this.currentNode = this.currentNode.parentNode; + + checkSP(); + } + + break; + } + + /* falls through */ + default: + // Any ATOM supported char starts a new Atom sequence, otherwise throw an error + // Allow \ as the first char for atom to support system flags + // Allow % to support LIST '' % + // Allow 8bit characters (presumably unicode) + if (imapFormalSyntax$3['ATOM-CHAR']().indexOf(chr) < 0 && chr !== '\\' && chr !== '%' && chr.charCodeAt(0) < 0x80) { + throw new Error(`Unexpected char at position ${this.pos + i} [E10: ${JSON.stringify(chr)}]`); + } + + this.currentNode = this.createNode(this.currentNode, this.pos + i); + this.currentNode.type = 'ATOM'; + this.currentNode.value = chr; + this.state = 'ATOM'; + break; + } + break; + + case 'ATOM': + // space finishes an atom + if (chr === ' ') { + this.currentNode.endPos = this.pos + i - 1; + this.currentNode = this.currentNode.parentNode; + this.state = 'NORMAL'; + break; + } + + // + if ( + this.currentNode.parentNode && + ((chr === ')' && this.currentNode.parentNode.type === 'LIST') || (chr === ']' && this.currentNode.parentNode.type === 'SECTION')) + ) { + this.currentNode.endPos = this.pos + i - 1; + this.currentNode = this.currentNode.parentNode; + + this.currentNode.isClosed = true; + this.currentNode.endPos = this.pos + i; + this.currentNode = this.currentNode.parentNode; + this.state = 'NORMAL'; + checkSP(); + + break; + } + + if ((chr === ',' || chr === ':') && this.currentNode.value.match(/^\d+$/)) { + this.currentNode.type = 'SEQUENCE'; + this.currentNode.isClosed = true; + this.state = 'SEQUENCE'; + } + + // [ starts a section group for this element + if (chr === '[') { + // allowed only for selected elements + if (['BODY', 'BODY.PEEK', 'BINARY', 'BINARY.PEEK'].indexOf(this.currentNode.value.toUpperCase()) < 0) { + throw new Error(`Unexpected section start char [ at position ${this.pos} [E11]`); + } + this.currentNode.endPos = this.pos + i; + this.currentNode = this.createNode(this.currentNode.parentNode, this.pos + i); + this.currentNode.type = 'SECTION'; + this.currentNode.isClosed = false; + this.state = 'NORMAL'; + break; + } + + if (chr === '<') { + throw new Error(`Unexpected start of partial at position ${this.pos} [E12]`); + } + + // if the char is not ATOM compatible, throw. Allow \* as an exception + if ( + imapFormalSyntax$3['ATOM-CHAR']().indexOf(chr) < 0 && + chr.charCodeAt(0) < 0x80 && // allow 8bit (presumably unicode) bytes + chr !== ']' && + !(chr === '*' && this.currentNode.value === '\\') && + (!this.parent || !this.parent.command || !['NO', 'BAD', 'OK'].includes(this.parent.command)) + ) { + throw new Error(`Unexpected char at position ${this.pos + i} [E13: ${JSON.stringify(chr)}]`); + } else if (this.currentNode.value === '\\*') { + throw new Error(`Unexpected char at position ${this.pos + i} [E14: ${JSON.stringify(chr)}]`); + } + + this.currentNode.value += chr; + break; + + case 'STRING': + // DQUOTE ends the string sequence + if (chr === '"') { + this.currentNode.endPos = this.pos + i; + this.currentNode.isClosed = true; + this.currentNode = this.currentNode.parentNode; + this.state = 'NORMAL'; + + checkSP(); + break; + } + + // \ Escapes the following char + if (chr === '\\') { + i++; + if (i >= len) { + throw new Error(`Unexpected end of input at position ${this.pos + i} [E15]`); + } + chr = this.str.charAt(i); + } + + this.currentNode.value += chr; + break; + + case 'PARTIAL': + if (chr === '>') { + if (this.currentNode.value.substr(-1) === '.') { + throw new Error(`Unexpected end of partial at position ${this.pos} [E16]`); + } + this.currentNode.endPos = this.pos + i; + this.currentNode.isClosed = true; + this.currentNode = this.currentNode.parentNode; + this.state = 'NORMAL'; + checkSP(); + break; + } + + if (chr === '.' && (!this.currentNode.value.length || this.currentNode.value.match(/\./))) { + throw new Error(`Unexpected partial separator . at position ${this.pos} [E17]`); + } + + if (imapFormalSyntax$3.DIGIT().indexOf(chr) < 0 && chr !== '.') { + throw new Error(`Unexpected char at position ${this.pos + i} [E18: ${JSON.stringify(chr)}]`); + } + + if (this.currentNode.value.match(/^0$|\.0$/) && chr !== '.') { + throw new Error(`Invalid partial at position ${this.pos + i} [E19: ${JSON.stringify(chr)}]`); + } + + this.currentNode.value += chr; + break; + + case 'LITERAL': + if (this.currentNode.started) { + // only relevant if literals are not already parsed out from input + + // Disabled NULL byte check + // See https://github.com/emailjs/emailjs-imap-handler/commit/f11b2822bedabe492236e8263afc630134a3c41c + /* + if (chr === '\u0000') { + throw new Error('Unexpected \\x00 at position ' + (this.pos + i)); + } + */ + + this.currentNode.chBuffer[this.currentNode.chPos++] = chr.charCodeAt(0); + + if (this.currentNode.chPos >= this.currentNode.literalLength) { + this.currentNode.endPos = this.pos + i; + this.currentNode.isClosed = true; + this.currentNode.value = this.currentNode.chBuffer.toString('binary'); + this.currentNode.chBuffer = Buffer.alloc(0); + this.currentNode = this.currentNode.parentNode; + this.state = 'NORMAL'; + checkSP(); + } + break; + } + + if (chr === '+' && this.options.literalPlus) { + this.currentNode.literalPlus = true; + break; + } + + if (chr === '}') { + if (!('literalLength' in this.currentNode)) { + throw new Error(`Unexpected literal prefix end char } at position ${this.pos + i} [E20]`); + } + if (this.str.charAt(i + 1) === '\n') { + i++; + } else if (this.str.charAt(i + 1) === '\r' && this.str.charAt(i + 2) === '\n') { + i += 2; + } else { + throw new Error(`Unexpected char at position ${this.pos + i} [E21: ${JSON.stringify(chr)}]`); + } + + this.currentNode.literalLength = Number(this.currentNode.literalLength); + + if (!this.currentNode.literalLength) { + // special case where literal content length is 0 + // close the node right away, do not wait for additional input + this.currentNode.endPos = this.pos + i; + this.currentNode.isClosed = true; + this.currentNode = this.currentNode.parentNode; + this.state = 'NORMAL'; + checkSP(); + } else if (this.options.literals) { + // use the next precached literal values + this.currentNode.value = this.options.literals.shift(); + + // only APPEND arguments are kept as Buffers + /* + if ((this.parent.command || '').toString().toUpperCase() !== 'APPEND') { + this.currentNode.value = this.currentNode.value.toString('binary'); + } + */ + + this.currentNode.endPos = this.pos + i + this.currentNode.value.length; + + this.currentNode.started = false; + this.currentNode.isClosed = true; + this.currentNode = this.currentNode.parentNode; + this.state = 'NORMAL'; + checkSP(); + } else { + this.currentNode.started = true; + // Allocate expected size buffer. Max size check is already performed + // Maybe should use allocUnsafe instead? + this.currentNode.chBuffer = Buffer.alloc(this.currentNode.literalLength); + this.currentNode.chPos = 0; + } + break; + } + if (imapFormalSyntax$3.DIGIT().indexOf(chr) < 0) { + throw new Error(`Unexpected char at position ${this.pos + i} [E22: ${JSON.stringify(chr)}]`); + } + if (this.currentNode.literalLength === '0') { + throw new Error(`Invalid literal at position ${this.pos + i} [E23]`); + } + this.currentNode.literalLength = (this.currentNode.literalLength || '') + chr; + break; + + case 'SEQUENCE': + // space finishes the sequence set + if (chr === ' ') { + if (!this.currentNode.value.substr(-1).match(/\d/) && this.currentNode.value.substr(-1) !== '*') { + throw new Error(`Unexpected whitespace at position ${this.pos + i} [E24]`); + } + + if (this.currentNode.value !== '*' && this.currentNode.value.substr(-1) === '*' && this.currentNode.value.substr(-2, 1) !== ':') { + throw new Error(`Unexpected whitespace at position ${this.pos + i} [E25]`); + } + + this.currentNode.isClosed = true; + this.currentNode.endPos = this.pos + i - 1; + this.currentNode = this.currentNode.parentNode; + this.state = 'NORMAL'; + break; + } else if (this.currentNode.parentNode && chr === ']' && this.currentNode.parentNode.type === 'SECTION') { + this.currentNode.endPos = this.pos + i - 1; + this.currentNode = this.currentNode.parentNode; + + this.currentNode.isClosed = true; + this.currentNode.endPos = this.pos + i; + this.currentNode = this.currentNode.parentNode; + this.state = 'NORMAL'; + + checkSP(); + break; + } + + if (chr === ':') { + if (!this.currentNode.value.substr(-1).match(/\d/) && this.currentNode.value.substr(-1) !== '*') { + throw new Error(`Unexpected range separator : at position ${this.pos + i} [E26]`); + } + } else if (chr === '*') { + if ([',', ':'].indexOf(this.currentNode.value.substr(-1)) < 0) { + throw new Error(`Unexpected range wildcard at position ${this.pos + i} [E27]`); + } + } else if (chr === ',') { + if (!this.currentNode.value.substr(-1).match(/\d/) && this.currentNode.value.substr(-1) !== '*') { + throw new Error(`Unexpected sequence separator , at position ${this.pos + i} [E28]`); + } + if (this.currentNode.value.substr(-1) === '*' && this.currentNode.value.substr(-2, 1) !== ':') { + throw new Error(`Unexpected sequence separator , at position ${this.pos + i} [E29]`); + } + } else if (!chr.match(/\d/)) { + throw new Error(`Unexpected char at position ${this.pos + i} [E30: ${JSON.stringify(chr)}]`); + } + + if (chr.match(/\d/) && this.currentNode.value.substr(-1) === '*') { + throw new Error(`Unexpected number at position ${this.pos + i} [E31: ${JSON.stringify(chr)}]`); + } + + this.currentNode.value += chr; + break; + + case 'TEXT': + this.currentNode.value += chr; + break; + } + } + } +}; + +tokenParser.TokenParser = TokenParser$1; + +/* eslint new-cap: 0 */ + +const imapFormalSyntax$2 = imapFormalSyntax$4; + +const { TokenParser } = tokenParser; + +let ParserInstance$1 = class ParserInstance { + constructor(input, options) { + this.input = (input || '').toString(); + this.options = options || {}; + this.remainder = this.input; + this.pos = 0; + } + + async getTag() { + if (!this.tag) { + this.tag = await this.getElement(imapFormalSyntax$2.tag() + '*+', true); + } + return this.tag; + } + + async getCommand() { + if (this.tag === '+') { + // special case + this.humanReadable = this.remainder.trim(); + this.remainder = ''; + + return ''; + } + + if (!this.command) { + this.command = await this.getElement(imapFormalSyntax$2.command()); + } + + switch ((this.command || '').toString().toUpperCase()) { + case 'OK': + case 'NO': + case 'BAD': + case 'PREAUTH': + case 'BYE': + { + let match = this.remainder.match(/^\s+\[/); + if (match) { + let nesting = 1; + for (let i = match[0].length; i <= this.remainder.length; i++) { + let c = this.remainder[i]; + + if (c === '[') { + nesting++; + } else if (c === ']') { + nesting--; + } + if (!nesting) { + this.humanReadable = this.remainder.substring(i + 1).trim(); + this.remainder = this.remainder.substring(0, i + 1); + break; + } + } + } else { + this.humanReadable = this.remainder.trim(); + this.remainder = ''; + } + } + break; + } + + return this.command; + } + + async getElement(syntax) { + let match, element, errPos; + + if (this.remainder.match(/^\s/)) { + throw new Error(`Unexpected whitespace at position ${this.pos} [E1]`); + } + + if ((match = this.remainder.match(/^\s*[^\s]+(?=\s|$)/))) { + element = match[0]; + if ((errPos = imapFormalSyntax$2.verify(element, syntax)) >= 0) { + throw new Error(`Unexpected char at position ${this.pos + errPos} [E2: ${JSON.stringify(element.charAt(errPos))}]`); + } + } else { + throw new Error(`Unexpected end of input at position ${this.pos} [E3]`); + } + + this.pos += match[0].length; + this.remainder = this.remainder.substr(match[0].length); + + return element; + } + + async getSpace() { + if (!this.remainder.length) { + throw new Error(`Unexpected end of input at position ${this.pos} [E4]`); + } + + if (imapFormalSyntax$2.verify(this.remainder.charAt(0), imapFormalSyntax$2.SP()) >= 0) { + throw new Error(`Unexpected char at position ${this.pos} [E5: ${JSON.stringify(this.remainder.charAt(0))}]`); + } + + this.pos++; + this.remainder = this.remainder.substr(1); + } + + async getAttributes() { + if (!this.remainder.length) { + throw new Error(`Unexpected end of input at position ${this.pos} [E6]`); + } + + if (this.remainder.match(/^\s/)) { + throw new Error(`Unexpected whitespace at position ${this.pos} [E7]`); + } + + const tokenParser = new TokenParser(this, this.pos, this.remainder, this.options); + + return await tokenParser.getAttributes(); + } +}; + +parserInstance.ParserInstance = ParserInstance$1; + +const imapFormalSyntax$1 = imapFormalSyntax$4; +const { ParserInstance } = parserInstance; + +var imapParser = async (command, options) => { + options = options || {}; + + let nullBytesRemoved = 0; + + // special case with a buggy IMAP server where responses are padded with zero bytes + if (command[0] === 0) { + // find the first non null byte and trim + for (let i = 0; i < command.length; i++) { + if (command[i] !== 0) { + // trim to here + command = command.slice(i); + nullBytesRemoved = i; + break; + } + } + } + + const parser = new ParserInstance(command, options); + const response = {}; + + response.tag = await parser.getTag(); + await parser.getSpace(); + response.command = await parser.getCommand(); + + if (nullBytesRemoved) { + response.nullBytesRemoved = nullBytesRemoved; + } + + if (['UID', 'AUTHENTICATE'].indexOf((response.command || '').toUpperCase()) >= 0) { + await parser.getSpace(); + response.command += ' ' + (await parser.getElement(imapFormalSyntax$1.command())); + } + + if (parser.remainder.trim().length) { + await parser.getSpace(); + response.attributes = await parser.getAttributes(); + } + + if (parser.humanReadable) { + response.attributes = (response.attributes || []).concat({ + type: 'TEXT', + value: parser.humanReadable + }); + } + + return response; +}; + +/* eslint no-console: 0, new-cap: 0 */ + +const imapFormalSyntax = imapFormalSyntax$4; + +const formatRespEntry = (entry, returnEmpty) => { + if (typeof entry === 'string') { + return Buffer.from(entry); + } + + if (typeof entry === 'number') { + return Buffer.from(entry.toString()); + } + + if (Buffer.isBuffer(entry)) { + return entry; + } + + if (returnEmpty) { + return null; + } + + return Buffer.alloc(0); +}; + +/** + * Compiles an input object into + */ +var imapCompiler = async (response, options) => { + let { asArray, isLogging, literalPlus, literalMinus } = options || {}; + const respParts = []; + + let resp = [].concat(formatRespEntry(response.tag, true) || []).concat(response.command ? formatRespEntry(' ' + response.command) : []); + let val; + let lastType; + + let walk = async (node, options) => { + options = options || {}; + + let lastRespEntry = resp.length && resp[resp.length - 1]; + let lastRespByte = (lastRespEntry && lastRespEntry.length && lastRespEntry[lastRespEntry.length - 1]) || ''; + if (typeof lastRespByte === 'number') { + lastRespByte = String.fromCharCode(lastRespByte); + } + + if (lastType === 'LITERAL' || (!['(', '<', '['].includes(lastRespByte) && resp.length)) { + if (options.subArray) ; else { + resp.push(formatRespEntry(' ')); + } + } + + if (node && node.buffer && !Buffer.isBuffer(node)) { + // mongodb binary + node = node.buffer; + } + + if (Array.isArray(node)) { + lastType = 'LIST'; + resp.push(formatRespEntry('(')); + + // check if we need to skip separtor WS between two arrays + let subArray = node.length > 1 && Array.isArray(node[0]); + + for (let child of node) { + if (subArray && !Array.isArray(child)) { + subArray = false; + } + await walk(child, { subArray }); + } + + resp.push(formatRespEntry(')')); + return; + } + + if (!node && typeof node !== 'string' && typeof node !== 'number' && !Buffer.isBuffer(node)) { + resp.push(formatRespEntry('NIL')); + return; + } + + if (typeof node === 'string' || Buffer.isBuffer(node)) { + if (isLogging && node.length > 100) { + resp.push(formatRespEntry('"(* ' + node.length + 'B string *)"')); + } else { + resp.push(formatRespEntry(JSON.stringify(node.toString()))); + } + return; + } + + if (typeof node === 'number') { + resp.push(formatRespEntry(Math.round(node) || 0)); // Only integers allowed + return; + } + + lastType = node.type; + + if (isLogging && node.sensitive) { + resp.push(formatRespEntry('"(* value hidden *)"')); + return; + } + + switch (node.type.toUpperCase()) { + case 'LITERAL': + if (isLogging) { + resp.push(formatRespEntry('"(* ' + node.value.length + 'B literal *)"')); + } else { + let literalLength = !node.value ? 0 : Math.max(node.value.length, 0); + + let canAppend = !asArray || literalPlus || (literalMinus && literalLength <= 4096); + let usePlus = canAppend && (literalMinus || literalPlus); + + resp.push(formatRespEntry(`${node.isLiteral8 ? '~' : ''}{${literalLength}${usePlus ? '+' : ''}}\r\n`)); + + if (canAppend) { + if (node.value && node.value.length) { + resp.push(formatRespEntry(node.value)); + } + } else { + respParts.push(resp); + resp = [].concat(formatRespEntry(node.value, true) || []); + } + } + break; + + case 'STRING': + if (isLogging && node.value.length > 100) { + resp.push(formatRespEntry('"(* ' + node.value.length + 'B string *)"')); + } else { + resp.push(formatRespEntry(JSON.stringify((node.value || '').toString()))); + } + break; + + case 'TEXT': + case 'SEQUENCE': + if (node.value) { + resp.push(formatRespEntry(node.value)); + } + break; + + case 'NUMBER': + resp.push(formatRespEntry(node.value || 0)); + break; + + case 'ATOM': + case 'SECTION': + val = (node.value || '').toString(); + + if (!node.section || val) { + if (node.value === '' || imapFormalSyntax.verify(val.charAt(0) === '\\' ? val.substr(1) : val, imapFormalSyntax['ATOM-CHAR']()) >= 0) { + val = JSON.stringify(val); + } + + resp.push(formatRespEntry(val)); + } + + if (node.section) { + resp.push(formatRespEntry('[')); + + for (let child of node.section) { + await walk(child); + } + + resp.push(formatRespEntry(']')); + } + if (node.partial) { + resp.push(formatRespEntry(`<${node.partial.join('.')}>`)); + } + break; + } + }; + + if (response.attributes) { + let attributes = Array.isArray(response.attributes) ? response.attributes : [].concat(response.attributes); + for (let child of attributes) { + await walk(child); + } + } + + if (resp.length) { + respParts.push(resp); + } + + for (let i = 0; i < respParts.length; i++) { + respParts[i] = Buffer.concat(respParts[i]); + } + + return asArray ? respParts : respParts.flatMap(entry => entry); +}; + +const parser$1 = imapParser; +const compiler$1 = imapCompiler; + +var imapHandler = { + parser: parser$1, + compiler: compiler$1 +}; + +var name = "imapflow"; +var version = "1.0.128"; +var description = "IMAP Client for Node"; +var main = "./lib/imap-flow.js"; +var scripts = { + test: "grunt", + prepare: "npm run build", + docs: "rm -rf docs && mkdir -p docs && jsdoc lib/imap-flow.js -c jsdoc.json -R README.md --destination docs/ && cp assets/favicon.ico docs", + dst: "node types.js", + build: "npm run docs && npm run dst", + st: "npm run docs && st -d docs -i index.html" +}; +var repository = { + type: "git", + url: "git+https://github.com/postalsys/imapflow.git" +}; +var keywords = [ + "imap", + "email", + "mail" +]; +var author = "Postal Systems OÜ"; +var license = "MIT"; +var bugs = { + url: "https://github.com/postalsys/imapflow/issues" +}; +var homepage = "https://imapflow.com/"; +var devDependencies = { + "@babel/eslint-parser": "7.21.3", + "@babel/eslint-plugin": "7.19.1", + "@babel/plugin-syntax-class-properties": "7.12.13", + "@babel/preset-env": "7.21.4", + "@types/node": "18.15.11", + "braintree-jsdoc-template": "3.3.0", + eslint: "8.38.0", + "eslint-config-nodemailer": "1.2.0", + "eslint-config-prettier": "8.8.0", + grunt: "1.6.1", + "grunt-cli": "1.4.3", + "grunt-contrib-nodeunit": "5.0.0", + "grunt-eslint": "24.0.1", + jsdoc: "3.6.11", + st: "3.0.0", + "tsd-jsdoc": "2.5.0" +}; +var dependencies = { + "encoding-japanese": "2.0.0", + "iconv-lite": "0.6.3", + libbase64: "1.2.1", + libmime: "5.2.1", + libqp: "2.0.1", + mailsplit: "5.4.0", + nodemailer: "6.9.1", + pino: "8.11.0", + socks: "2.7.1" +}; +var require$$11 = { + name: name, + version: version, + description: description, + main: main, + scripts: scripts, + repository: repository, + keywords: keywords, + author: author, + license: license, + bugs: bugs, + homepage: homepage, + devDependencies: devDependencies, + dependencies: dependencies +}; + +/** + * Minimal HTTP/S proxy client + */ + +const net$2 = require$$1$3; +const tls$1 = require$$1$4; +const urllib = require$$4$1; + +/** + * Establishes proxied connection to destinationPort + * + * httpProxyClient("http://localhost:3128/", 80, "google.com", function(err, socket){ + * socket.write("GET / HTTP/1.0\r\n\r\n"); + * }); + * + * @param {String} proxyUrl proxy configuration, etg "http://proxy.host:3128/" + * @param {Number} destinationPort Port to open in destination host + * @param {String} destinationHost Destination hostname + * @param {Function} callback Callback to run with the rocket object once connection is established + */ +function httpProxyClient$1(proxyUrl, destinationPort, destinationHost, callback) { + let proxy = urllib.parse(proxyUrl); + + // create a socket connection to the proxy server + let options; + let connect; + let socket; + + options = { + host: proxy.hostname, + port: Number(proxy.port) ? Number(proxy.port) : proxy.protocol === 'https:' ? 443 : 80 + }; + + if (proxy.protocol === 'https:') { + // we can use untrusted proxies as long as we verify actual SMTP certificates + options.rejectUnauthorized = false; + connect = tls$1.connect.bind(tls$1); + } else { + connect = net$2.connect.bind(net$2); + } + + // Error harness for initial connection. Once connection is established, the responsibility + // to handle errors is passed to whoever uses this socket + let finished = false; + let tempSocketErr = err => { + if (finished) { + return; + } + finished = true; + try { + socket.destroy(); + } catch (E) { + // ignore + } + callback(err); + }; + + let timeoutErr = () => { + let err = new Error('Proxy socket timed out'); + err.code = 'ETIMEDOUT'; + tempSocketErr(err); + }; + + socket = connect(options, () => { + if (finished) { + return; + } + + let reqHeaders = { + Host: destinationHost + ':' + destinationPort, + Connection: 'close' + }; + if (proxy.auth) { + reqHeaders['Proxy-Authorization'] = 'Basic ' + Buffer.from(proxy.auth).toString('base64'); + } + + socket.write( + // HTTP method + 'CONNECT ' + + destinationHost + + ':' + + destinationPort + + ' HTTP/1.1\r\n' + + // HTTP request headers + Object.keys(reqHeaders) + .map(key => key + ': ' + reqHeaders[key]) + .join('\r\n') + + // End request + '\r\n\r\n' + ); + + let headers = ''; + let onSocketData = chunk => { + let match; + let remainder; + + if (finished) { + return; + } + + headers += chunk.toString('binary'); + if ((match = headers.match(/\r\n\r\n/))) { + socket.removeListener('data', onSocketData); + + remainder = headers.substr(match.index + match[0].length); + headers = headers.substr(0, match.index); + if (remainder) { + socket.unshift(Buffer.from(remainder, 'binary')); + } + + // proxy connection is now established + finished = true; + + // check response code + match = headers.match(/^HTTP\/\d+\.\d+ (\d+)/i); + if (!match || (match[1] || '').charAt(0) !== '2') { + try { + socket.destroy(); + } catch (E) { + // ignore + } + return callback(new Error('Invalid response from proxy' + ((match && ': ' + match[1]) || ''))); + } + + socket.removeListener('error', tempSocketErr); + socket.removeListener('timeout', timeoutErr); + socket.setTimeout(0); + + return callback(null, socket); + } + }; + socket.on('data', onSocketData); + }); + + socket.setTimeout(httpProxyClient$1.timeout || 30 * 1000); + socket.on('timeout', timeoutErr); + + socket.once('error', tempSocketErr); +} + +var httpProxyClient_1 = httpProxyClient$1; + +var build = {}; + +var socksclient = {}; + +var ip = {}; + +(function (exports) { + const ip = exports; + const { Buffer } = require$$0$4; + const os = require$$0$6; + + ip.toBuffer = function (ip, buff, offset) { + offset = ~~offset; + + let result; + + if (this.isV4Format(ip)) { + result = buff || Buffer.alloc(offset + 4); + ip.split(/\./g).map((byte) => { + result[offset++] = parseInt(byte, 10) & 0xff; + }); + } else if (this.isV6Format(ip)) { + const sections = ip.split(':', 8); + + let i; + for (i = 0; i < sections.length; i++) { + const isv4 = this.isV4Format(sections[i]); + let v4Buffer; + + if (isv4) { + v4Buffer = this.toBuffer(sections[i]); + sections[i] = v4Buffer.slice(0, 2).toString('hex'); + } + + if (v4Buffer && ++i < 8) { + sections.splice(i, 0, v4Buffer.slice(2, 4).toString('hex')); + } + } + + if (sections[0] === '') { + while (sections.length < 8) sections.unshift('0'); + } else if (sections[sections.length - 1] === '') { + while (sections.length < 8) sections.push('0'); + } else if (sections.length < 8) { + for (i = 0; i < sections.length && sections[i] !== ''; i++); + const argv = [i, 1]; + for (i = 9 - sections.length; i > 0; i--) { + argv.push('0'); + } + sections.splice(...argv); + } + + result = buff || Buffer.alloc(offset + 16); + for (i = 0; i < sections.length; i++) { + const word = parseInt(sections[i], 16); + result[offset++] = (word >> 8) & 0xff; + result[offset++] = word & 0xff; + } + } + + if (!result) { + throw Error(`Invalid ip address: ${ip}`); + } + + return result; + }; + + ip.toString = function (buff, offset, length) { + offset = ~~offset; + length = length || (buff.length - offset); + + let result = []; + if (length === 4) { + // IPv4 + for (let i = 0; i < length; i++) { + result.push(buff[offset + i]); + } + result = result.join('.'); + } else if (length === 16) { + // IPv6 + for (let i = 0; i < length; i += 2) { + result.push(buff.readUInt16BE(offset + i).toString(16)); + } + result = result.join(':'); + result = result.replace(/(^|:)0(:0)*:0(:|$)/, '$1::$3'); + result = result.replace(/:{3,4}/, '::'); + } + + return result; + }; + + const ipv4Regex = /^(\d{1,3}\.){3,3}\d{1,3}$/; + const ipv6Regex = /^(::)?(((\d{1,3}\.){3}(\d{1,3}){1})?([0-9a-f]){0,4}:{0,2}){1,8}(::)?$/i; + + ip.isV4Format = function (ip) { + return ipv4Regex.test(ip); + }; + + ip.isV6Format = function (ip) { + return ipv6Regex.test(ip); + }; + + function _normalizeFamily(family) { + if (family === 4) { + return 'ipv4'; + } + if (family === 6) { + return 'ipv6'; + } + return family ? family.toLowerCase() : 'ipv4'; + } + + ip.fromPrefixLen = function (prefixlen, family) { + if (prefixlen > 32) { + family = 'ipv6'; + } else { + family = _normalizeFamily(family); + } + + let len = 4; + if (family === 'ipv6') { + len = 16; + } + const buff = Buffer.alloc(len); + + for (let i = 0, n = buff.length; i < n; ++i) { + let bits = 8; + if (prefixlen < 8) { + bits = prefixlen; + } + prefixlen -= bits; + + buff[i] = ~(0xff >> bits) & 0xff; + } + + return ip.toString(buff); + }; + + ip.mask = function (addr, mask) { + addr = ip.toBuffer(addr); + mask = ip.toBuffer(mask); + + const result = Buffer.alloc(Math.max(addr.length, mask.length)); + + // Same protocol - do bitwise and + let i; + if (addr.length === mask.length) { + for (i = 0; i < addr.length; i++) { + result[i] = addr[i] & mask[i]; + } + } else if (mask.length === 4) { + // IPv6 address and IPv4 mask + // (Mask low bits) + for (i = 0; i < mask.length; i++) { + result[i] = addr[addr.length - 4 + i] & mask[i]; + } + } else { + // IPv6 mask and IPv4 addr + for (i = 0; i < result.length - 6; i++) { + result[i] = 0; + } + + // ::ffff:ipv4 + result[10] = 0xff; + result[11] = 0xff; + for (i = 0; i < addr.length; i++) { + result[i + 12] = addr[i] & mask[i + 12]; + } + i += 12; + } + for (; i < result.length; i++) { + result[i] = 0; + } + + return ip.toString(result); + }; + + ip.cidr = function (cidrString) { + const cidrParts = cidrString.split('/'); + + const addr = cidrParts[0]; + if (cidrParts.length !== 2) { + throw new Error(`invalid CIDR subnet: ${addr}`); + } + + const mask = ip.fromPrefixLen(parseInt(cidrParts[1], 10)); + + return ip.mask(addr, mask); + }; + + ip.subnet = function (addr, mask) { + const networkAddress = ip.toLong(ip.mask(addr, mask)); + + // Calculate the mask's length. + const maskBuffer = ip.toBuffer(mask); + let maskLength = 0; + + for (let i = 0; i < maskBuffer.length; i++) { + if (maskBuffer[i] === 0xff) { + maskLength += 8; + } else { + let octet = maskBuffer[i] & 0xff; + while (octet) { + octet = (octet << 1) & 0xff; + maskLength++; + } + } + } + + const numberOfAddresses = 2 ** (32 - maskLength); + + return { + networkAddress: ip.fromLong(networkAddress), + firstAddress: numberOfAddresses <= 2 + ? ip.fromLong(networkAddress) + : ip.fromLong(networkAddress + 1), + lastAddress: numberOfAddresses <= 2 + ? ip.fromLong(networkAddress + numberOfAddresses - 1) + : ip.fromLong(networkAddress + numberOfAddresses - 2), + broadcastAddress: ip.fromLong(networkAddress + numberOfAddresses - 1), + subnetMask: mask, + subnetMaskLength: maskLength, + numHosts: numberOfAddresses <= 2 + ? numberOfAddresses : numberOfAddresses - 2, + length: numberOfAddresses, + contains(other) { + return networkAddress === ip.toLong(ip.mask(other, mask)); + }, + }; + }; + + ip.cidrSubnet = function (cidrString) { + const cidrParts = cidrString.split('/'); + + const addr = cidrParts[0]; + if (cidrParts.length !== 2) { + throw new Error(`invalid CIDR subnet: ${addr}`); + } + + const mask = ip.fromPrefixLen(parseInt(cidrParts[1], 10)); + + return ip.subnet(addr, mask); + }; + + ip.not = function (addr) { + const buff = ip.toBuffer(addr); + for (let i = 0; i < buff.length; i++) { + buff[i] = 0xff ^ buff[i]; + } + return ip.toString(buff); + }; + + ip.or = function (a, b) { + a = ip.toBuffer(a); + b = ip.toBuffer(b); + + // same protocol + if (a.length === b.length) { + for (let i = 0; i < a.length; ++i) { + a[i] |= b[i]; + } + return ip.toString(a); + + // mixed protocols + } + let buff = a; + let other = b; + if (b.length > a.length) { + buff = b; + other = a; + } + + const offset = buff.length - other.length; + for (let i = offset; i < buff.length; ++i) { + buff[i] |= other[i - offset]; + } + + return ip.toString(buff); + }; + + ip.isEqual = function (a, b) { + a = ip.toBuffer(a); + b = ip.toBuffer(b); + + // Same protocol + if (a.length === b.length) { + for (let i = 0; i < a.length; i++) { + if (a[i] !== b[i]) return false; + } + return true; + } + + // Swap + if (b.length === 4) { + const t = b; + b = a; + a = t; + } + + // a - IPv4, b - IPv6 + for (let i = 0; i < 10; i++) { + if (b[i] !== 0) return false; + } + + const word = b.readUInt16BE(10); + if (word !== 0 && word !== 0xffff) return false; + + for (let i = 0; i < 4; i++) { + if (a[i] !== b[i + 12]) return false; + } + + return true; + }; + + ip.isPrivate = function (addr) { + return /^(::f{4}:)?10\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i + .test(addr) + || /^(::f{4}:)?192\.168\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(addr) + || /^(::f{4}:)?172\.(1[6-9]|2\d|30|31)\.([0-9]{1,3})\.([0-9]{1,3})$/i + .test(addr) + || /^(::f{4}:)?127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(addr) + || /^(::f{4}:)?169\.254\.([0-9]{1,3})\.([0-9]{1,3})$/i.test(addr) + || /^f[cd][0-9a-f]{2}:/i.test(addr) + || /^fe80:/i.test(addr) + || /^::1$/.test(addr) + || /^::$/.test(addr); + }; + + ip.isPublic = function (addr) { + return !ip.isPrivate(addr); + }; + + ip.isLoopback = function (addr) { + return /^(::f{4}:)?127\.([0-9]{1,3})\.([0-9]{1,3})\.([0-9]{1,3})/ + .test(addr) + || /^fe80::1$/.test(addr) + || /^::1$/.test(addr) + || /^::$/.test(addr); + }; + + ip.loopback = function (family) { + // + // Default to `ipv4` + // + family = _normalizeFamily(family); + + if (family !== 'ipv4' && family !== 'ipv6') { + throw new Error('family must be ipv4 or ipv6'); + } + + return family === 'ipv4' ? '127.0.0.1' : 'fe80::1'; + }; + + // + // ### function address (name, family) + // #### @name {string|'public'|'private'} **Optional** Name or security + // of the network interface. + // #### @family {ipv4|ipv6} **Optional** IP family of the address (defaults + // to ipv4). + // + // Returns the address for the network interface on the current system with + // the specified `name`: + // * String: First `family` address of the interface. + // If not found see `undefined`. + // * 'public': the first public ip address of family. + // * 'private': the first private ip address of family. + // * undefined: First address with `ipv4` or loopback address `127.0.0.1`. + // + ip.address = function (name, family) { + const interfaces = os.networkInterfaces(); + + // + // Default to `ipv4` + // + family = _normalizeFamily(family); + + // + // If a specific network interface has been named, + // return the address. + // + if (name && name !== 'private' && name !== 'public') { + const res = interfaces[name].filter((details) => { + const itemFamily = _normalizeFamily(details.family); + return itemFamily === family; + }); + if (res.length === 0) { + return undefined; + } + return res[0].address; + } + + const all = Object.keys(interfaces).map((nic) => { + // + // Note: name will only be `public` or `private` + // when this is called. + // + const addresses = interfaces[nic].filter((details) => { + details.family = _normalizeFamily(details.family); + if (details.family !== family || ip.isLoopback(details.address)) { + return false; + } if (!name) { + return true; + } + + return name === 'public' ? ip.isPrivate(details.address) + : ip.isPublic(details.address); + }); + + return addresses.length ? addresses[0].address : undefined; + }).filter(Boolean); + + return !all.length ? ip.loopback(family) : all[0]; + }; + + ip.toLong = function (ip) { + let ipl = 0; + ip.split('.').forEach((octet) => { + ipl <<= 8; + ipl += parseInt(octet); + }); + return (ipl >>> 0); + }; + + ip.fromLong = function (ipl) { + return (`${ipl >>> 24}.${ + ipl >> 16 & 255}.${ + ipl >> 8 & 255}.${ + ipl & 255}`); + }; +} (ip)); + +var smartbuffer = {}; + +var utils = {}; + +Object.defineProperty(utils, "__esModule", { value: true }); +const buffer_1 = require$$0$4; +/** + * Error strings + */ +const ERRORS$1 = { + INVALID_ENCODING: 'Invalid encoding provided. Please specify a valid encoding the internal Node.js Buffer supports.', + INVALID_SMARTBUFFER_SIZE: 'Invalid size provided. Size must be a valid integer greater than zero.', + INVALID_SMARTBUFFER_BUFFER: 'Invalid Buffer provided in SmartBufferOptions.', + INVALID_SMARTBUFFER_OBJECT: 'Invalid SmartBufferOptions object supplied to SmartBuffer constructor or factory methods.', + INVALID_OFFSET: 'An invalid offset value was provided.', + INVALID_OFFSET_NON_NUMBER: 'An invalid offset value was provided. A numeric value is required.', + INVALID_LENGTH: 'An invalid length value was provided.', + INVALID_LENGTH_NON_NUMBER: 'An invalid length value was provived. A numeric value is required.', + INVALID_TARGET_OFFSET: 'Target offset is beyond the bounds of the internal SmartBuffer data.', + INVALID_TARGET_LENGTH: 'Specified length value moves cursor beyong the bounds of the internal SmartBuffer data.', + INVALID_READ_BEYOND_BOUNDS: 'Attempted to read beyond the bounds of the managed data.', + INVALID_WRITE_BEYOND_BOUNDS: 'Attempted to write beyond the bounds of the managed data.' +}; +utils.ERRORS = ERRORS$1; +/** + * Checks if a given encoding is a valid Buffer encoding. (Throws an exception if check fails) + * + * @param { String } encoding The encoding string to check. + */ +function checkEncoding(encoding) { + if (!buffer_1.Buffer.isEncoding(encoding)) { + throw new Error(ERRORS$1.INVALID_ENCODING); + } +} +utils.checkEncoding = checkEncoding; +/** + * Checks if a given number is a finite integer. (Throws an exception if check fails) + * + * @param { Number } value The number value to check. + */ +function isFiniteInteger(value) { + return typeof value === 'number' && isFinite(value) && isInteger(value); +} +utils.isFiniteInteger = isFiniteInteger; +/** + * Checks if an offset/length value is valid. (Throws an exception if check fails) + * + * @param value The value to check. + * @param offset True if checking an offset, false if checking a length. + */ +function checkOffsetOrLengthValue(value, offset) { + if (typeof value === 'number') { + // Check for non finite/non integers + if (!isFiniteInteger(value) || value < 0) { + throw new Error(offset ? ERRORS$1.INVALID_OFFSET : ERRORS$1.INVALID_LENGTH); + } + } + else { + throw new Error(offset ? ERRORS$1.INVALID_OFFSET_NON_NUMBER : ERRORS$1.INVALID_LENGTH_NON_NUMBER); + } +} +/** + * Checks if a length value is valid. (Throws an exception if check fails) + * + * @param { Number } length The value to check. + */ +function checkLengthValue(length) { + checkOffsetOrLengthValue(length, false); +} +utils.checkLengthValue = checkLengthValue; +/** + * Checks if a offset value is valid. (Throws an exception if check fails) + * + * @param { Number } offset The value to check. + */ +function checkOffsetValue(offset) { + checkOffsetOrLengthValue(offset, true); +} +utils.checkOffsetValue = checkOffsetValue; +/** + * Checks if a target offset value is out of bounds. (Throws an exception if check fails) + * + * @param { Number } offset The offset value to check. + * @param { SmartBuffer } buff The SmartBuffer instance to check against. + */ +function checkTargetOffset(offset, buff) { + if (offset < 0 || offset > buff.length) { + throw new Error(ERRORS$1.INVALID_TARGET_OFFSET); + } +} +utils.checkTargetOffset = checkTargetOffset; +/** + * Determines whether a given number is a integer. + * @param value The number to check. + */ +function isInteger(value) { + return typeof value === 'number' && isFinite(value) && Math.floor(value) === value; +} +/** + * Throws if Node.js version is too low to support bigint + */ +function bigIntAndBufferInt64Check(bufferMethod) { + if (typeof BigInt === 'undefined') { + throw new Error('Platform does not support JS BigInt type.'); + } + if (typeof buffer_1.Buffer.prototype[bufferMethod] === 'undefined') { + throw new Error(`Platform does not support Buffer.prototype.${bufferMethod}.`); + } +} +utils.bigIntAndBufferInt64Check = bigIntAndBufferInt64Check; + +Object.defineProperty(smartbuffer, "__esModule", { value: true }); +const utils_1 = utils; +// The default Buffer size if one is not provided. +const DEFAULT_SMARTBUFFER_SIZE = 4096; +// The default string encoding to use for reading/writing strings. +const DEFAULT_SMARTBUFFER_ENCODING = 'utf8'; +class SmartBuffer { + /** + * Creates a new SmartBuffer instance. + * + * @param options { SmartBufferOptions } The SmartBufferOptions to apply to this instance. + */ + constructor(options) { + this.length = 0; + this._encoding = DEFAULT_SMARTBUFFER_ENCODING; + this._writeOffset = 0; + this._readOffset = 0; + if (SmartBuffer.isSmartBufferOptions(options)) { + // Checks for encoding + if (options.encoding) { + utils_1.checkEncoding(options.encoding); + this._encoding = options.encoding; + } + // Checks for initial size length + if (options.size) { + if (utils_1.isFiniteInteger(options.size) && options.size > 0) { + this._buff = Buffer.allocUnsafe(options.size); + } + else { + throw new Error(utils_1.ERRORS.INVALID_SMARTBUFFER_SIZE); + } + // Check for initial Buffer + } + else if (options.buff) { + if (Buffer.isBuffer(options.buff)) { + this._buff = options.buff; + this.length = options.buff.length; + } + else { + throw new Error(utils_1.ERRORS.INVALID_SMARTBUFFER_BUFFER); + } + } + else { + this._buff = Buffer.allocUnsafe(DEFAULT_SMARTBUFFER_SIZE); + } + } + else { + // If something was passed but it's not a SmartBufferOptions object + if (typeof options !== 'undefined') { + throw new Error(utils_1.ERRORS.INVALID_SMARTBUFFER_OBJECT); + } + // Otherwise default to sane options + this._buff = Buffer.allocUnsafe(DEFAULT_SMARTBUFFER_SIZE); + } + } + /** + * Creates a new SmartBuffer instance with the provided internal Buffer size and optional encoding. + * + * @param size { Number } The size of the internal Buffer. + * @param encoding { String } The BufferEncoding to use for strings. + * + * @return { SmartBuffer } + */ + static fromSize(size, encoding) { + return new this({ + size: size, + encoding: encoding + }); + } + /** + * Creates a new SmartBuffer instance with the provided Buffer and optional encoding. + * + * @param buffer { Buffer } The Buffer to use as the internal Buffer value. + * @param encoding { String } The BufferEncoding to use for strings. + * + * @return { SmartBuffer } + */ + static fromBuffer(buff, encoding) { + return new this({ + buff: buff, + encoding: encoding + }); + } + /** + * Creates a new SmartBuffer instance with the provided SmartBufferOptions options. + * + * @param options { SmartBufferOptions } The options to use when creating the SmartBuffer instance. + */ + static fromOptions(options) { + return new this(options); + } + /** + * Type checking function that determines if an object is a SmartBufferOptions object. + */ + static isSmartBufferOptions(options) { + const castOptions = options; + return (castOptions && + (castOptions.encoding !== undefined || castOptions.size !== undefined || castOptions.buff !== undefined)); + } + // Signed integers + /** + * Reads an Int8 value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readInt8(offset) { + return this._readNumberValue(Buffer.prototype.readInt8, 1, offset); + } + /** + * Reads an Int16BE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readInt16BE(offset) { + return this._readNumberValue(Buffer.prototype.readInt16BE, 2, offset); + } + /** + * Reads an Int16LE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readInt16LE(offset) { + return this._readNumberValue(Buffer.prototype.readInt16LE, 2, offset); + } + /** + * Reads an Int32BE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readInt32BE(offset) { + return this._readNumberValue(Buffer.prototype.readInt32BE, 4, offset); + } + /** + * Reads an Int32LE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readInt32LE(offset) { + return this._readNumberValue(Buffer.prototype.readInt32LE, 4, offset); + } + /** + * Reads a BigInt64BE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { BigInt } + */ + readBigInt64BE(offset) { + utils_1.bigIntAndBufferInt64Check('readBigInt64BE'); + return this._readNumberValue(Buffer.prototype.readBigInt64BE, 8, offset); + } + /** + * Reads a BigInt64LE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { BigInt } + */ + readBigInt64LE(offset) { + utils_1.bigIntAndBufferInt64Check('readBigInt64LE'); + return this._readNumberValue(Buffer.prototype.readBigInt64LE, 8, offset); + } + /** + * Writes an Int8 value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeInt8(value, offset) { + this._writeNumberValue(Buffer.prototype.writeInt8, 1, value, offset); + return this; + } + /** + * Inserts an Int8 value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertInt8(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeInt8, 1, value, offset); + } + /** + * Writes an Int16BE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeInt16BE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeInt16BE, 2, value, offset); + } + /** + * Inserts an Int16BE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertInt16BE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeInt16BE, 2, value, offset); + } + /** + * Writes an Int16LE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeInt16LE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeInt16LE, 2, value, offset); + } + /** + * Inserts an Int16LE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertInt16LE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeInt16LE, 2, value, offset); + } + /** + * Writes an Int32BE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeInt32BE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeInt32BE, 4, value, offset); + } + /** + * Inserts an Int32BE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertInt32BE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeInt32BE, 4, value, offset); + } + /** + * Writes an Int32LE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeInt32LE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeInt32LE, 4, value, offset); + } + /** + * Inserts an Int32LE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertInt32LE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeInt32LE, 4, value, offset); + } + /** + * Writes a BigInt64BE value to the current write position (or at optional offset). + * + * @param value { BigInt } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeBigInt64BE(value, offset) { + utils_1.bigIntAndBufferInt64Check('writeBigInt64BE'); + return this._writeNumberValue(Buffer.prototype.writeBigInt64BE, 8, value, offset); + } + /** + * Inserts a BigInt64BE value at the given offset value. + * + * @param value { BigInt } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertBigInt64BE(value, offset) { + utils_1.bigIntAndBufferInt64Check('writeBigInt64BE'); + return this._insertNumberValue(Buffer.prototype.writeBigInt64BE, 8, value, offset); + } + /** + * Writes a BigInt64LE value to the current write position (or at optional offset). + * + * @param value { BigInt } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeBigInt64LE(value, offset) { + utils_1.bigIntAndBufferInt64Check('writeBigInt64LE'); + return this._writeNumberValue(Buffer.prototype.writeBigInt64LE, 8, value, offset); + } + /** + * Inserts a Int64LE value at the given offset value. + * + * @param value { BigInt } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertBigInt64LE(value, offset) { + utils_1.bigIntAndBufferInt64Check('writeBigInt64LE'); + return this._insertNumberValue(Buffer.prototype.writeBigInt64LE, 8, value, offset); + } + // Unsigned Integers + /** + * Reads an UInt8 value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readUInt8(offset) { + return this._readNumberValue(Buffer.prototype.readUInt8, 1, offset); + } + /** + * Reads an UInt16BE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readUInt16BE(offset) { + return this._readNumberValue(Buffer.prototype.readUInt16BE, 2, offset); + } + /** + * Reads an UInt16LE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readUInt16LE(offset) { + return this._readNumberValue(Buffer.prototype.readUInt16LE, 2, offset); + } + /** + * Reads an UInt32BE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readUInt32BE(offset) { + return this._readNumberValue(Buffer.prototype.readUInt32BE, 4, offset); + } + /** + * Reads an UInt32LE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readUInt32LE(offset) { + return this._readNumberValue(Buffer.prototype.readUInt32LE, 4, offset); + } + /** + * Reads a BigUInt64BE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { BigInt } + */ + readBigUInt64BE(offset) { + utils_1.bigIntAndBufferInt64Check('readBigUInt64BE'); + return this._readNumberValue(Buffer.prototype.readBigUInt64BE, 8, offset); + } + /** + * Reads a BigUInt64LE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { BigInt } + */ + readBigUInt64LE(offset) { + utils_1.bigIntAndBufferInt64Check('readBigUInt64LE'); + return this._readNumberValue(Buffer.prototype.readBigUInt64LE, 8, offset); + } + /** + * Writes an UInt8 value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeUInt8(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeUInt8, 1, value, offset); + } + /** + * Inserts an UInt8 value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertUInt8(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeUInt8, 1, value, offset); + } + /** + * Writes an UInt16BE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeUInt16BE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeUInt16BE, 2, value, offset); + } + /** + * Inserts an UInt16BE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertUInt16BE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeUInt16BE, 2, value, offset); + } + /** + * Writes an UInt16LE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeUInt16LE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeUInt16LE, 2, value, offset); + } + /** + * Inserts an UInt16LE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertUInt16LE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeUInt16LE, 2, value, offset); + } + /** + * Writes an UInt32BE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeUInt32BE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeUInt32BE, 4, value, offset); + } + /** + * Inserts an UInt32BE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertUInt32BE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeUInt32BE, 4, value, offset); + } + /** + * Writes an UInt32LE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeUInt32LE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeUInt32LE, 4, value, offset); + } + /** + * Inserts an UInt32LE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertUInt32LE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeUInt32LE, 4, value, offset); + } + /** + * Writes a BigUInt64BE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeBigUInt64BE(value, offset) { + utils_1.bigIntAndBufferInt64Check('writeBigUInt64BE'); + return this._writeNumberValue(Buffer.prototype.writeBigUInt64BE, 8, value, offset); + } + /** + * Inserts a BigUInt64BE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertBigUInt64BE(value, offset) { + utils_1.bigIntAndBufferInt64Check('writeBigUInt64BE'); + return this._insertNumberValue(Buffer.prototype.writeBigUInt64BE, 8, value, offset); + } + /** + * Writes a BigUInt64LE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeBigUInt64LE(value, offset) { + utils_1.bigIntAndBufferInt64Check('writeBigUInt64LE'); + return this._writeNumberValue(Buffer.prototype.writeBigUInt64LE, 8, value, offset); + } + /** + * Inserts a BigUInt64LE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertBigUInt64LE(value, offset) { + utils_1.bigIntAndBufferInt64Check('writeBigUInt64LE'); + return this._insertNumberValue(Buffer.prototype.writeBigUInt64LE, 8, value, offset); + } + // Floating Point + /** + * Reads an FloatBE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readFloatBE(offset) { + return this._readNumberValue(Buffer.prototype.readFloatBE, 4, offset); + } + /** + * Reads an FloatLE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readFloatLE(offset) { + return this._readNumberValue(Buffer.prototype.readFloatLE, 4, offset); + } + /** + * Writes a FloatBE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeFloatBE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeFloatBE, 4, value, offset); + } + /** + * Inserts a FloatBE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertFloatBE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeFloatBE, 4, value, offset); + } + /** + * Writes a FloatLE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeFloatLE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeFloatLE, 4, value, offset); + } + /** + * Inserts a FloatLE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertFloatLE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeFloatLE, 4, value, offset); + } + // Double Floating Point + /** + * Reads an DoublEBE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readDoubleBE(offset) { + return this._readNumberValue(Buffer.prototype.readDoubleBE, 8, offset); + } + /** + * Reads an DoubleLE value from the current read position or an optionally provided offset. + * + * @param offset { Number } The offset to read data from (optional) + * @return { Number } + */ + readDoubleLE(offset) { + return this._readNumberValue(Buffer.prototype.readDoubleLE, 8, offset); + } + /** + * Writes a DoubleBE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeDoubleBE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeDoubleBE, 8, value, offset); + } + /** + * Inserts a DoubleBE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertDoubleBE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeDoubleBE, 8, value, offset); + } + /** + * Writes a DoubleLE value to the current write position (or at optional offset). + * + * @param value { Number } The value to write. + * @param offset { Number } The offset to write the value at. + * + * @return this + */ + writeDoubleLE(value, offset) { + return this._writeNumberValue(Buffer.prototype.writeDoubleLE, 8, value, offset); + } + /** + * Inserts a DoubleLE value at the given offset value. + * + * @param value { Number } The value to insert. + * @param offset { Number } The offset to insert the value at. + * + * @return this + */ + insertDoubleLE(value, offset) { + return this._insertNumberValue(Buffer.prototype.writeDoubleLE, 8, value, offset); + } + // Strings + /** + * Reads a String from the current read position. + * + * @param arg1 { Number | String } The number of bytes to read as a String, or the BufferEncoding to use for + * the string (Defaults to instance level encoding). + * @param encoding { String } The BufferEncoding to use for the string (Defaults to instance level encoding). + * + * @return { String } + */ + readString(arg1, encoding) { + let lengthVal; + // Length provided + if (typeof arg1 === 'number') { + utils_1.checkLengthValue(arg1); + lengthVal = Math.min(arg1, this.length - this._readOffset); + } + else { + encoding = arg1; + lengthVal = this.length - this._readOffset; + } + // Check encoding + if (typeof encoding !== 'undefined') { + utils_1.checkEncoding(encoding); + } + const value = this._buff.slice(this._readOffset, this._readOffset + lengthVal).toString(encoding || this._encoding); + this._readOffset += lengthVal; + return value; + } + /** + * Inserts a String + * + * @param value { String } The String value to insert. + * @param offset { Number } The offset to insert the string at. + * @param encoding { String } The BufferEncoding to use for writing strings (defaults to instance encoding). + * + * @return this + */ + insertString(value, offset, encoding) { + utils_1.checkOffsetValue(offset); + return this._handleString(value, true, offset, encoding); + } + /** + * Writes a String + * + * @param value { String } The String value to write. + * @param arg2 { Number | String } The offset to write the string at, or the BufferEncoding to use. + * @param encoding { String } The BufferEncoding to use for writing strings (defaults to instance encoding). + * + * @return this + */ + writeString(value, arg2, encoding) { + return this._handleString(value, false, arg2, encoding); + } + /** + * Reads a null-terminated String from the current read position. + * + * @param encoding { String } The BufferEncoding to use for the string (Defaults to instance level encoding). + * + * @return { String } + */ + readStringNT(encoding) { + if (typeof encoding !== 'undefined') { + utils_1.checkEncoding(encoding); + } + // Set null character position to the end SmartBuffer instance. + let nullPos = this.length; + // Find next null character (if one is not found, default from above is used) + for (let i = this._readOffset; i < this.length; i++) { + if (this._buff[i] === 0x00) { + nullPos = i; + break; + } + } + // Read string value + const value = this._buff.slice(this._readOffset, nullPos); + // Increment internal Buffer read offset + this._readOffset = nullPos + 1; + return value.toString(encoding || this._encoding); + } + /** + * Inserts a null-terminated String. + * + * @param value { String } The String value to write. + * @param arg2 { Number | String } The offset to write the string to, or the BufferEncoding to use. + * @param encoding { String } The BufferEncoding to use for writing strings (defaults to instance encoding). + * + * @return this + */ + insertStringNT(value, offset, encoding) { + utils_1.checkOffsetValue(offset); + // Write Values + this.insertString(value, offset, encoding); + this.insertUInt8(0x00, offset + value.length); + return this; + } + /** + * Writes a null-terminated String. + * + * @param value { String } The String value to write. + * @param arg2 { Number | String } The offset to write the string to, or the BufferEncoding to use. + * @param encoding { String } The BufferEncoding to use for writing strings (defaults to instance encoding). + * + * @return this + */ + writeStringNT(value, arg2, encoding) { + // Write Values + this.writeString(value, arg2, encoding); + this.writeUInt8(0x00, typeof arg2 === 'number' ? arg2 + value.length : this.writeOffset); + return this; + } + // Buffers + /** + * Reads a Buffer from the internal read position. + * + * @param length { Number } The length of data to read as a Buffer. + * + * @return { Buffer } + */ + readBuffer(length) { + if (typeof length !== 'undefined') { + utils_1.checkLengthValue(length); + } + const lengthVal = typeof length === 'number' ? length : this.length; + const endPoint = Math.min(this.length, this._readOffset + lengthVal); + // Read buffer value + const value = this._buff.slice(this._readOffset, endPoint); + // Increment internal Buffer read offset + this._readOffset = endPoint; + return value; + } + /** + * Writes a Buffer to the current write position. + * + * @param value { Buffer } The Buffer to write. + * @param offset { Number } The offset to write the Buffer to. + * + * @return this + */ + insertBuffer(value, offset) { + utils_1.checkOffsetValue(offset); + return this._handleBuffer(value, true, offset); + } + /** + * Writes a Buffer to the current write position. + * + * @param value { Buffer } The Buffer to write. + * @param offset { Number } The offset to write the Buffer to. + * + * @return this + */ + writeBuffer(value, offset) { + return this._handleBuffer(value, false, offset); + } + /** + * Reads a null-terminated Buffer from the current read poisiton. + * + * @return { Buffer } + */ + readBufferNT() { + // Set null character position to the end SmartBuffer instance. + let nullPos = this.length; + // Find next null character (if one is not found, default from above is used) + for (let i = this._readOffset; i < this.length; i++) { + if (this._buff[i] === 0x00) { + nullPos = i; + break; + } + } + // Read value + const value = this._buff.slice(this._readOffset, nullPos); + // Increment internal Buffer read offset + this._readOffset = nullPos + 1; + return value; + } + /** + * Inserts a null-terminated Buffer. + * + * @param value { Buffer } The Buffer to write. + * @param offset { Number } The offset to write the Buffer to. + * + * @return this + */ + insertBufferNT(value, offset) { + utils_1.checkOffsetValue(offset); + // Write Values + this.insertBuffer(value, offset); + this.insertUInt8(0x00, offset + value.length); + return this; + } + /** + * Writes a null-terminated Buffer. + * + * @param value { Buffer } The Buffer to write. + * @param offset { Number } The offset to write the Buffer to. + * + * @return this + */ + writeBufferNT(value, offset) { + // Checks for valid numberic value; + if (typeof offset !== 'undefined') { + utils_1.checkOffsetValue(offset); + } + // Write Values + this.writeBuffer(value, offset); + this.writeUInt8(0x00, typeof offset === 'number' ? offset + value.length : this._writeOffset); + return this; + } + /** + * Clears the SmartBuffer instance to its original empty state. + */ + clear() { + this._writeOffset = 0; + this._readOffset = 0; + this.length = 0; + return this; + } + /** + * Gets the remaining data left to be read from the SmartBuffer instance. + * + * @return { Number } + */ + remaining() { + return this.length - this._readOffset; + } + /** + * Gets the current read offset value of the SmartBuffer instance. + * + * @return { Number } + */ + get readOffset() { + return this._readOffset; + } + /** + * Sets the read offset value of the SmartBuffer instance. + * + * @param offset { Number } - The offset value to set. + */ + set readOffset(offset) { + utils_1.checkOffsetValue(offset); + // Check for bounds. + utils_1.checkTargetOffset(offset, this); + this._readOffset = offset; + } + /** + * Gets the current write offset value of the SmartBuffer instance. + * + * @return { Number } + */ + get writeOffset() { + return this._writeOffset; + } + /** + * Sets the write offset value of the SmartBuffer instance. + * + * @param offset { Number } - The offset value to set. + */ + set writeOffset(offset) { + utils_1.checkOffsetValue(offset); + // Check for bounds. + utils_1.checkTargetOffset(offset, this); + this._writeOffset = offset; + } + /** + * Gets the currently set string encoding of the SmartBuffer instance. + * + * @return { BufferEncoding } The string Buffer encoding currently set. + */ + get encoding() { + return this._encoding; + } + /** + * Sets the string encoding of the SmartBuffer instance. + * + * @param encoding { BufferEncoding } The string Buffer encoding to set. + */ + set encoding(encoding) { + utils_1.checkEncoding(encoding); + this._encoding = encoding; + } + /** + * Gets the underlying internal Buffer. (This includes unmanaged data in the Buffer) + * + * @return { Buffer } The Buffer value. + */ + get internalBuffer() { + return this._buff; + } + /** + * Gets the value of the internal managed Buffer (Includes managed data only) + * + * @param { Buffer } + */ + toBuffer() { + return this._buff.slice(0, this.length); + } + /** + * Gets the String value of the internal managed Buffer + * + * @param encoding { String } The BufferEncoding to display the Buffer as (defaults to instance level encoding). + */ + toString(encoding) { + const encodingVal = typeof encoding === 'string' ? encoding : this._encoding; + // Check for invalid encoding. + utils_1.checkEncoding(encodingVal); + return this._buff.toString(encodingVal, 0, this.length); + } + /** + * Destroys the SmartBuffer instance. + */ + destroy() { + this.clear(); + return this; + } + /** + * Handles inserting and writing strings. + * + * @param value { String } The String value to insert. + * @param isInsert { Boolean } True if inserting a string, false if writing. + * @param arg2 { Number | String } The offset to insert the string at, or the BufferEncoding to use. + * @param encoding { String } The BufferEncoding to use for writing strings (defaults to instance encoding). + */ + _handleString(value, isInsert, arg3, encoding) { + let offsetVal = this._writeOffset; + let encodingVal = this._encoding; + // Check for offset + if (typeof arg3 === 'number') { + offsetVal = arg3; + // Check for encoding + } + else if (typeof arg3 === 'string') { + utils_1.checkEncoding(arg3); + encodingVal = arg3; + } + // Check for encoding (third param) + if (typeof encoding === 'string') { + utils_1.checkEncoding(encoding); + encodingVal = encoding; + } + // Calculate bytelength of string. + const byteLength = Buffer.byteLength(value, encodingVal); + // Ensure there is enough internal Buffer capacity. + if (isInsert) { + this.ensureInsertable(byteLength, offsetVal); + } + else { + this._ensureWriteable(byteLength, offsetVal); + } + // Write value + this._buff.write(value, offsetVal, byteLength, encodingVal); + // Increment internal Buffer write offset; + if (isInsert) { + this._writeOffset += byteLength; + } + else { + // If an offset was given, check to see if we wrote beyond the current writeOffset. + if (typeof arg3 === 'number') { + this._writeOffset = Math.max(this._writeOffset, offsetVal + byteLength); + } + else { + // If no offset was given, we wrote to the end of the SmartBuffer so increment writeOffset. + this._writeOffset += byteLength; + } + } + return this; + } + /** + * Handles writing or insert of a Buffer. + * + * @param value { Buffer } The Buffer to write. + * @param offset { Number } The offset to write the Buffer to. + */ + _handleBuffer(value, isInsert, offset) { + const offsetVal = typeof offset === 'number' ? offset : this._writeOffset; + // Ensure there is enough internal Buffer capacity. + if (isInsert) { + this.ensureInsertable(value.length, offsetVal); + } + else { + this._ensureWriteable(value.length, offsetVal); + } + // Write buffer value + value.copy(this._buff, offsetVal); + // Increment internal Buffer write offset; + if (isInsert) { + this._writeOffset += value.length; + } + else { + // If an offset was given, check to see if we wrote beyond the current writeOffset. + if (typeof offset === 'number') { + this._writeOffset = Math.max(this._writeOffset, offsetVal + value.length); + } + else { + // If no offset was given, we wrote to the end of the SmartBuffer so increment writeOffset. + this._writeOffset += value.length; + } + } + return this; + } + /** + * Ensures that the internal Buffer is large enough to read data. + * + * @param length { Number } The length of the data that needs to be read. + * @param offset { Number } The offset of the data that needs to be read. + */ + ensureReadable(length, offset) { + // Offset value defaults to managed read offset. + let offsetVal = this._readOffset; + // If an offset was provided, use it. + if (typeof offset !== 'undefined') { + // Checks for valid numberic value; + utils_1.checkOffsetValue(offset); + // Overide with custom offset. + offsetVal = offset; + } + // Checks if offset is below zero, or the offset+length offset is beyond the total length of the managed data. + if (offsetVal < 0 || offsetVal + length > this.length) { + throw new Error(utils_1.ERRORS.INVALID_READ_BEYOND_BOUNDS); + } + } + /** + * Ensures that the internal Buffer is large enough to insert data. + * + * @param dataLength { Number } The length of the data that needs to be written. + * @param offset { Number } The offset of the data to be written. + */ + ensureInsertable(dataLength, offset) { + // Checks for valid numberic value; + utils_1.checkOffsetValue(offset); + // Ensure there is enough internal Buffer capacity. + this._ensureCapacity(this.length + dataLength); + // If an offset was provided and its not the very end of the buffer, copy data into appropriate location in regards to the offset. + if (offset < this.length) { + this._buff.copy(this._buff, offset + dataLength, offset, this._buff.length); + } + // Adjust tracked smart buffer length + if (offset + dataLength > this.length) { + this.length = offset + dataLength; + } + else { + this.length += dataLength; + } + } + /** + * Ensures that the internal Buffer is large enough to write data. + * + * @param dataLength { Number } The length of the data that needs to be written. + * @param offset { Number } The offset of the data to be written (defaults to writeOffset). + */ + _ensureWriteable(dataLength, offset) { + const offsetVal = typeof offset === 'number' ? offset : this._writeOffset; + // Ensure enough capacity to write data. + this._ensureCapacity(offsetVal + dataLength); + // Adjust SmartBuffer length (if offset + length is larger than managed length, adjust length) + if (offsetVal + dataLength > this.length) { + this.length = offsetVal + dataLength; + } + } + /** + * Ensures that the internal Buffer is large enough to write at least the given amount of data. + * + * @param minLength { Number } The minimum length of the data needs to be written. + */ + _ensureCapacity(minLength) { + const oldLength = this._buff.length; + if (minLength > oldLength) { + let data = this._buff; + let newLength = (oldLength * 3) / 2 + 1; + if (newLength < minLength) { + newLength = minLength; + } + this._buff = Buffer.allocUnsafe(newLength); + data.copy(this._buff, 0, 0, oldLength); + } + } + /** + * Reads a numeric number value using the provided function. + * + * @typeparam T { number | bigint } The type of the value to be read + * + * @param func { Function(offset: number) => number } The function to read data on the internal Buffer with. + * @param byteSize { Number } The number of bytes read. + * @param offset { Number } The offset to read from (optional). When this is not provided, the managed readOffset is used instead. + * + * @returns { T } the number value + */ + _readNumberValue(func, byteSize, offset) { + this.ensureReadable(byteSize, offset); + // Call Buffer.readXXXX(); + const value = func.call(this._buff, typeof offset === 'number' ? offset : this._readOffset); + // Adjust internal read offset if an optional read offset was not provided. + if (typeof offset === 'undefined') { + this._readOffset += byteSize; + } + return value; + } + /** + * Inserts a numeric number value based on the given offset and value. + * + * @typeparam T { number | bigint } The type of the value to be written + * + * @param func { Function(offset: T, offset?) => number} The function to write data on the internal Buffer with. + * @param byteSize { Number } The number of bytes written. + * @param value { T } The number value to write. + * @param offset { Number } the offset to write the number at (REQUIRED). + * + * @returns SmartBuffer this buffer + */ + _insertNumberValue(func, byteSize, value, offset) { + // Check for invalid offset values. + utils_1.checkOffsetValue(offset); + // Ensure there is enough internal Buffer capacity. (raw offset is passed) + this.ensureInsertable(byteSize, offset); + // Call buffer.writeXXXX(); + func.call(this._buff, value, offset); + // Adjusts internally managed write offset. + this._writeOffset += byteSize; + return this; + } + /** + * Writes a numeric number value based on the given offset and value. + * + * @typeparam T { number | bigint } The type of the value to be written + * + * @param func { Function(offset: T, offset?) => number} The function to write data on the internal Buffer with. + * @param byteSize { Number } The number of bytes written. + * @param value { T } The number value to write. + * @param offset { Number } the offset to write the number at (REQUIRED). + * + * @returns SmartBuffer this buffer + */ + _writeNumberValue(func, byteSize, value, offset) { + // If an offset was provided, validate it. + if (typeof offset === 'number') { + // Check if we're writing beyond the bounds of the managed data. + if (offset < 0) { + throw new Error(utils_1.ERRORS.INVALID_WRITE_BEYOND_BOUNDS); + } + utils_1.checkOffsetValue(offset); + } + // Default to writeOffset if no offset value was given. + const offsetVal = typeof offset === 'number' ? offset : this._writeOffset; + // Ensure there is enough internal Buffer capacity. (raw offset is passed) + this._ensureWriteable(byteSize, offsetVal); + func.call(this._buff, value, offsetVal); + // If an offset was given, check to see if we wrote beyond the current writeOffset. + if (typeof offset === 'number') { + this._writeOffset = Math.max(this._writeOffset, offsetVal + byteSize); + } + else { + // If no numeric offset was given, we wrote to the end of the SmartBuffer so increment writeOffset. + this._writeOffset += byteSize; + } + return this; + } +} +smartbuffer.SmartBuffer = SmartBuffer; + +var constants = {}; + +Object.defineProperty(constants, "__esModule", { value: true }); +constants.SOCKS5_NO_ACCEPTABLE_AUTH = constants.SOCKS5_CUSTOM_AUTH_END = constants.SOCKS5_CUSTOM_AUTH_START = constants.SOCKS_INCOMING_PACKET_SIZES = constants.SocksClientState = constants.Socks5Response = constants.Socks5HostType = constants.Socks5Auth = constants.Socks4Response = constants.SocksCommand = constants.ERRORS = constants.DEFAULT_TIMEOUT = void 0; +const DEFAULT_TIMEOUT = 30000; +constants.DEFAULT_TIMEOUT = DEFAULT_TIMEOUT; +// prettier-ignore +const ERRORS = { + InvalidSocksCommand: 'An invalid SOCKS command was provided. Valid options are connect, bind, and associate.', + InvalidSocksCommandForOperation: 'An invalid SOCKS command was provided. Only a subset of commands are supported for this operation.', + InvalidSocksCommandChain: 'An invalid SOCKS command was provided. Chaining currently only supports the connect command.', + InvalidSocksClientOptionsDestination: 'An invalid destination host was provided.', + InvalidSocksClientOptionsExistingSocket: 'An invalid existing socket was provided. This should be an instance of stream.Duplex.', + InvalidSocksClientOptionsProxy: 'Invalid SOCKS proxy details were provided.', + InvalidSocksClientOptionsTimeout: 'An invalid timeout value was provided. Please enter a value above 0 (in ms).', + InvalidSocksClientOptionsProxiesLength: 'At least two socks proxies must be provided for chaining.', + InvalidSocksClientOptionsCustomAuthRange: 'Custom auth must be a value between 0x80 and 0xFE.', + InvalidSocksClientOptionsCustomAuthOptions: 'When a custom_auth_method is provided, custom_auth_request_handler, custom_auth_response_size, and custom_auth_response_handler must also be provided and valid.', + NegotiationError: 'Negotiation error', + SocketClosed: 'Socket closed', + ProxyConnectionTimedOut: 'Proxy connection timed out', + InternalError: 'SocksClient internal error (this should not happen)', + InvalidSocks4HandshakeResponse: 'Received invalid Socks4 handshake response', + Socks4ProxyRejectedConnection: 'Socks4 Proxy rejected connection', + InvalidSocks4IncomingConnectionResponse: 'Socks4 invalid incoming connection response', + Socks4ProxyRejectedIncomingBoundConnection: 'Socks4 Proxy rejected incoming bound connection', + InvalidSocks5InitialHandshakeResponse: 'Received invalid Socks5 initial handshake response', + InvalidSocks5IntiailHandshakeSocksVersion: 'Received invalid Socks5 initial handshake (invalid socks version)', + InvalidSocks5InitialHandshakeNoAcceptedAuthType: 'Received invalid Socks5 initial handshake (no accepted authentication type)', + InvalidSocks5InitialHandshakeUnknownAuthType: 'Received invalid Socks5 initial handshake (unknown authentication type)', + Socks5AuthenticationFailed: 'Socks5 Authentication failed', + InvalidSocks5FinalHandshake: 'Received invalid Socks5 final handshake response', + InvalidSocks5FinalHandshakeRejected: 'Socks5 proxy rejected connection', + InvalidSocks5IncomingConnectionResponse: 'Received invalid Socks5 incoming connection response', + Socks5ProxyRejectedIncomingBoundConnection: 'Socks5 Proxy rejected incoming bound connection', +}; +constants.ERRORS = ERRORS; +const SOCKS_INCOMING_PACKET_SIZES = { + Socks5InitialHandshakeResponse: 2, + Socks5UserPassAuthenticationResponse: 2, + // Command response + incoming connection (bind) + Socks5ResponseHeader: 5, + Socks5ResponseIPv4: 10, + Socks5ResponseIPv6: 22, + Socks5ResponseHostname: (hostNameLength) => hostNameLength + 7, + // Command response + incoming connection (bind) + Socks4Response: 8, // 2 header + 2 port + 4 ip +}; +constants.SOCKS_INCOMING_PACKET_SIZES = SOCKS_INCOMING_PACKET_SIZES; +var SocksCommand; +(function (SocksCommand) { + SocksCommand[SocksCommand["connect"] = 1] = "connect"; + SocksCommand[SocksCommand["bind"] = 2] = "bind"; + SocksCommand[SocksCommand["associate"] = 3] = "associate"; +})(SocksCommand || (SocksCommand = {})); +constants.SocksCommand = SocksCommand; +var Socks4Response; +(function (Socks4Response) { + Socks4Response[Socks4Response["Granted"] = 90] = "Granted"; + Socks4Response[Socks4Response["Failed"] = 91] = "Failed"; + Socks4Response[Socks4Response["Rejected"] = 92] = "Rejected"; + Socks4Response[Socks4Response["RejectedIdent"] = 93] = "RejectedIdent"; +})(Socks4Response || (Socks4Response = {})); +constants.Socks4Response = Socks4Response; +var Socks5Auth; +(function (Socks5Auth) { + Socks5Auth[Socks5Auth["NoAuth"] = 0] = "NoAuth"; + Socks5Auth[Socks5Auth["GSSApi"] = 1] = "GSSApi"; + Socks5Auth[Socks5Auth["UserPass"] = 2] = "UserPass"; +})(Socks5Auth || (Socks5Auth = {})); +constants.Socks5Auth = Socks5Auth; +const SOCKS5_CUSTOM_AUTH_START = 0x80; +constants.SOCKS5_CUSTOM_AUTH_START = SOCKS5_CUSTOM_AUTH_START; +const SOCKS5_CUSTOM_AUTH_END = 0xfe; +constants.SOCKS5_CUSTOM_AUTH_END = SOCKS5_CUSTOM_AUTH_END; +const SOCKS5_NO_ACCEPTABLE_AUTH = 0xff; +constants.SOCKS5_NO_ACCEPTABLE_AUTH = SOCKS5_NO_ACCEPTABLE_AUTH; +var Socks5Response; +(function (Socks5Response) { + Socks5Response[Socks5Response["Granted"] = 0] = "Granted"; + Socks5Response[Socks5Response["Failure"] = 1] = "Failure"; + Socks5Response[Socks5Response["NotAllowed"] = 2] = "NotAllowed"; + Socks5Response[Socks5Response["NetworkUnreachable"] = 3] = "NetworkUnreachable"; + Socks5Response[Socks5Response["HostUnreachable"] = 4] = "HostUnreachable"; + Socks5Response[Socks5Response["ConnectionRefused"] = 5] = "ConnectionRefused"; + Socks5Response[Socks5Response["TTLExpired"] = 6] = "TTLExpired"; + Socks5Response[Socks5Response["CommandNotSupported"] = 7] = "CommandNotSupported"; + Socks5Response[Socks5Response["AddressNotSupported"] = 8] = "AddressNotSupported"; +})(Socks5Response || (Socks5Response = {})); +constants.Socks5Response = Socks5Response; +var Socks5HostType; +(function (Socks5HostType) { + Socks5HostType[Socks5HostType["IPv4"] = 1] = "IPv4"; + Socks5HostType[Socks5HostType["Hostname"] = 3] = "Hostname"; + Socks5HostType[Socks5HostType["IPv6"] = 4] = "IPv6"; +})(Socks5HostType || (Socks5HostType = {})); +constants.Socks5HostType = Socks5HostType; +var SocksClientState; +(function (SocksClientState) { + SocksClientState[SocksClientState["Created"] = 0] = "Created"; + SocksClientState[SocksClientState["Connecting"] = 1] = "Connecting"; + SocksClientState[SocksClientState["Connected"] = 2] = "Connected"; + SocksClientState[SocksClientState["SentInitialHandshake"] = 3] = "SentInitialHandshake"; + SocksClientState[SocksClientState["ReceivedInitialHandshakeResponse"] = 4] = "ReceivedInitialHandshakeResponse"; + SocksClientState[SocksClientState["SentAuthentication"] = 5] = "SentAuthentication"; + SocksClientState[SocksClientState["ReceivedAuthenticationResponse"] = 6] = "ReceivedAuthenticationResponse"; + SocksClientState[SocksClientState["SentFinalHandshake"] = 7] = "SentFinalHandshake"; + SocksClientState[SocksClientState["ReceivedFinalResponse"] = 8] = "ReceivedFinalResponse"; + SocksClientState[SocksClientState["BoundWaitingForConnection"] = 9] = "BoundWaitingForConnection"; + SocksClientState[SocksClientState["Established"] = 10] = "Established"; + SocksClientState[SocksClientState["Disconnected"] = 11] = "Disconnected"; + SocksClientState[SocksClientState["Error"] = 99] = "Error"; +})(SocksClientState || (SocksClientState = {})); +constants.SocksClientState = SocksClientState; + +var helpers = {}; + +var util$1 = {}; + +Object.defineProperty(util$1, "__esModule", { value: true }); +util$1.shuffleArray = util$1.SocksClientError = void 0; +/** + * Error wrapper for SocksClient + */ +class SocksClientError extends Error { + constructor(message, options) { + super(message); + this.options = options; + } +} +util$1.SocksClientError = SocksClientError; +/** + * Shuffles a given array. + * @param array The array to shuffle. + */ +function shuffleArray(array) { + for (let i = array.length - 1; i > 0; i--) { + const j = Math.floor(Math.random() * (i + 1)); + [array[i], array[j]] = [array[j], array[i]]; + } +} +util$1.shuffleArray = shuffleArray; + +Object.defineProperty(helpers, "__esModule", { value: true }); +helpers.validateSocksClientChainOptions = helpers.validateSocksClientOptions = void 0; +const util_1 = util$1; +const constants_1 = constants; +const stream = require$$0$7; +/** + * Validates the provided SocksClientOptions + * @param options { SocksClientOptions } + * @param acceptedCommands { string[] } A list of accepted SocksProxy commands. + */ +function validateSocksClientOptions(options, acceptedCommands = ['connect', 'bind', 'associate']) { + // Check SOCKs command option. + if (!constants_1.SocksCommand[options.command]) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksCommand, options); + } + // Check SocksCommand for acceptable command. + if (acceptedCommands.indexOf(options.command) === -1) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksCommandForOperation, options); + } + // Check destination + if (!isValidSocksRemoteHost(options.destination)) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsDestination, options); + } + // Check SOCKS proxy to use + if (!isValidSocksProxy(options.proxy)) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsProxy, options); + } + // Validate custom auth (if set) + validateCustomProxyAuth(options.proxy, options); + // Check timeout + if (options.timeout && !isValidTimeoutValue(options.timeout)) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsTimeout, options); + } + // Check existing_socket (if provided) + if (options.existing_socket && + !(options.existing_socket instanceof stream.Duplex)) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsExistingSocket, options); + } +} +helpers.validateSocksClientOptions = validateSocksClientOptions; +/** + * Validates the SocksClientChainOptions + * @param options { SocksClientChainOptions } + */ +function validateSocksClientChainOptions(options) { + // Only connect is supported when chaining. + if (options.command !== 'connect') { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksCommandChain, options); + } + // Check destination + if (!isValidSocksRemoteHost(options.destination)) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsDestination, options); + } + // Validate proxies (length) + if (!(options.proxies && + Array.isArray(options.proxies) && + options.proxies.length >= 2)) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsProxiesLength, options); + } + // Validate proxies + options.proxies.forEach((proxy) => { + if (!isValidSocksProxy(proxy)) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsProxy, options); + } + // Validate custom auth (if set) + validateCustomProxyAuth(proxy, options); + }); + // Check timeout + if (options.timeout && !isValidTimeoutValue(options.timeout)) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsTimeout, options); + } +} +helpers.validateSocksClientChainOptions = validateSocksClientChainOptions; +function validateCustomProxyAuth(proxy, options) { + if (proxy.custom_auth_method !== undefined) { + // Invalid auth method range + if (proxy.custom_auth_method < constants_1.SOCKS5_CUSTOM_AUTH_START || + proxy.custom_auth_method > constants_1.SOCKS5_CUSTOM_AUTH_END) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsCustomAuthRange, options); + } + // Missing custom_auth_request_handler + if (proxy.custom_auth_request_handler === undefined || + typeof proxy.custom_auth_request_handler !== 'function') { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, options); + } + // Missing custom_auth_response_size + if (proxy.custom_auth_response_size === undefined) { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, options); + } + // Missing/invalid custom_auth_response_handler + if (proxy.custom_auth_response_handler === undefined || + typeof proxy.custom_auth_response_handler !== 'function') { + throw new util_1.SocksClientError(constants_1.ERRORS.InvalidSocksClientOptionsCustomAuthOptions, options); + } + } +} +/** + * Validates a SocksRemoteHost + * @param remoteHost { SocksRemoteHost } + */ +function isValidSocksRemoteHost(remoteHost) { + return (remoteHost && + typeof remoteHost.host === 'string' && + typeof remoteHost.port === 'number' && + remoteHost.port >= 0 && + remoteHost.port <= 65535); +} +/** + * Validates a SocksProxy + * @param proxy { SocksProxy } + */ +function isValidSocksProxy(proxy) { + return (proxy && + (typeof proxy.host === 'string' || typeof proxy.ipaddress === 'string') && + typeof proxy.port === 'number' && + proxy.port >= 0 && + proxy.port <= 65535 && + (proxy.type === 4 || proxy.type === 5)); +} +/** + * Validates a timeout value. + * @param value { Number } + */ +function isValidTimeoutValue(value) { + return typeof value === 'number' && value > 0; +} + +var receivebuffer = {}; + +Object.defineProperty(receivebuffer, "__esModule", { value: true }); +receivebuffer.ReceiveBuffer = void 0; +class ReceiveBuffer { + constructor(size = 4096) { + this.buffer = Buffer.allocUnsafe(size); + this.offset = 0; + this.originalSize = size; + } + get length() { + return this.offset; + } + append(data) { + if (!Buffer.isBuffer(data)) { + throw new Error('Attempted to append a non-buffer instance to ReceiveBuffer.'); + } + if (this.offset + data.length >= this.buffer.length) { + const tmp = this.buffer; + this.buffer = Buffer.allocUnsafe(Math.max(this.buffer.length + this.originalSize, this.buffer.length + data.length)); + tmp.copy(this.buffer); + } + data.copy(this.buffer, this.offset); + return (this.offset += data.length); + } + peek(length) { + if (length > this.offset) { + throw new Error('Attempted to read beyond the bounds of the managed internal data.'); + } + return this.buffer.slice(0, length); + } + get(length) { + if (length > this.offset) { + throw new Error('Attempted to read beyond the bounds of the managed internal data.'); + } + const value = Buffer.allocUnsafe(length); + this.buffer.slice(0, length).copy(value); + this.buffer.copyWithin(0, length, length + this.offset - length); + this.offset -= length; + return value; + } +} +receivebuffer.ReceiveBuffer = ReceiveBuffer; + +(function (exports) { + var __awaiter = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) { + function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } + return new (P || (P = Promise))(function (resolve, reject) { + function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } + function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } + function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } + step((generator = generator.apply(thisArg, _arguments || [])).next()); + }); + }; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.SocksClientError = exports.SocksClient = void 0; + const events_1 = require$$1$1; + const net = require$$1$3; + const ip$1 = ip; + const smart_buffer_1 = smartbuffer; + const constants_1 = constants; + const helpers_1 = helpers; + const receivebuffer_1 = receivebuffer; + const util_1 = util$1; + Object.defineProperty(exports, "SocksClientError", { enumerable: true, get: function () { return util_1.SocksClientError; } }); + class SocksClient extends events_1.EventEmitter { + constructor(options) { + super(); + this.options = Object.assign({}, options); + // Validate SocksClientOptions + (0, helpers_1.validateSocksClientOptions)(options); + // Default state + this.setState(constants_1.SocksClientState.Created); + } + /** + * Creates a new SOCKS connection. + * + * Note: Supports callbacks and promises. Only supports the connect command. + * @param options { SocksClientOptions } Options. + * @param callback { Function } An optional callback function. + * @returns { Promise } + */ + static createConnection(options, callback) { + return new Promise((resolve, reject) => { + // Validate SocksClientOptions + try { + (0, helpers_1.validateSocksClientOptions)(options, ['connect']); + } + catch (err) { + if (typeof callback === 'function') { + callback(err); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return resolve(err); // Resolves pending promise (prevents memory leaks). + } + else { + return reject(err); + } + } + const client = new SocksClient(options); + client.connect(options.existing_socket); + client.once('established', (info) => { + client.removeAllListeners(); + if (typeof callback === 'function') { + callback(null, info); + resolve(info); // Resolves pending promise (prevents memory leaks). + } + else { + resolve(info); + } + }); + // Error occurred, failed to establish connection. + client.once('error', (err) => { + client.removeAllListeners(); + if (typeof callback === 'function') { + callback(err); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + resolve(err); // Resolves pending promise (prevents memory leaks). + } + else { + reject(err); + } + }); + }); + } + /** + * Creates a new SOCKS connection chain to a destination host through 2 or more SOCKS proxies. + * + * Note: Supports callbacks and promises. Only supports the connect method. + * Note: Implemented via createConnection() factory function. + * @param options { SocksClientChainOptions } Options + * @param callback { Function } An optional callback function. + * @returns { Promise } + */ + static createConnectionChain(options, callback) { + // eslint-disable-next-line no-async-promise-executor + return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () { + // Validate SocksClientChainOptions + try { + (0, helpers_1.validateSocksClientChainOptions)(options); + } + catch (err) { + if (typeof callback === 'function') { + callback(err); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + return resolve(err); // Resolves pending promise (prevents memory leaks). + } + else { + return reject(err); + } + } + // Shuffle proxies + if (options.randomizeChain) { + (0, util_1.shuffleArray)(options.proxies); + } + try { + let sock; + for (let i = 0; i < options.proxies.length; i++) { + const nextProxy = options.proxies[i]; + // If we've reached the last proxy in the chain, the destination is the actual destination, otherwise it's the next proxy. + const nextDestination = i === options.proxies.length - 1 + ? options.destination + : { + host: options.proxies[i + 1].host || + options.proxies[i + 1].ipaddress, + port: options.proxies[i + 1].port, + }; + // Creates the next connection in the chain. + const result = yield SocksClient.createConnection({ + command: 'connect', + proxy: nextProxy, + destination: nextDestination, + existing_socket: sock, + }); + // If sock is undefined, assign it here. + sock = sock || result.socket; + } + if (typeof callback === 'function') { + callback(null, { socket: sock }); + resolve({ socket: sock }); // Resolves pending promise (prevents memory leaks). + } + else { + resolve({ socket: sock }); + } + } + catch (err) { + if (typeof callback === 'function') { + callback(err); + // eslint-disable-next-line @typescript-eslint/no-explicit-any + resolve(err); // Resolves pending promise (prevents memory leaks). + } + else { + reject(err); + } + } + })); + } + /** + * Creates a SOCKS UDP Frame. + * @param options + */ + static createUDPFrame(options) { + const buff = new smart_buffer_1.SmartBuffer(); + buff.writeUInt16BE(0); + buff.writeUInt8(options.frameNumber || 0); + // IPv4/IPv6/Hostname + if (net.isIPv4(options.remoteHost.host)) { + buff.writeUInt8(constants_1.Socks5HostType.IPv4); + buff.writeUInt32BE(ip$1.toLong(options.remoteHost.host)); + } + else if (net.isIPv6(options.remoteHost.host)) { + buff.writeUInt8(constants_1.Socks5HostType.IPv6); + buff.writeBuffer(ip$1.toBuffer(options.remoteHost.host)); + } + else { + buff.writeUInt8(constants_1.Socks5HostType.Hostname); + buff.writeUInt8(Buffer.byteLength(options.remoteHost.host)); + buff.writeString(options.remoteHost.host); + } + // Port + buff.writeUInt16BE(options.remoteHost.port); + // Data + buff.writeBuffer(options.data); + return buff.toBuffer(); + } + /** + * Parses a SOCKS UDP frame. + * @param data + */ + static parseUDPFrame(data) { + const buff = smart_buffer_1.SmartBuffer.fromBuffer(data); + buff.readOffset = 2; + const frameNumber = buff.readUInt8(); + const hostType = buff.readUInt8(); + let remoteHost; + if (hostType === constants_1.Socks5HostType.IPv4) { + remoteHost = ip$1.fromLong(buff.readUInt32BE()); + } + else if (hostType === constants_1.Socks5HostType.IPv6) { + remoteHost = ip$1.toString(buff.readBuffer(16)); + } + else { + remoteHost = buff.readString(buff.readUInt8()); + } + const remotePort = buff.readUInt16BE(); + return { + frameNumber, + remoteHost: { + host: remoteHost, + port: remotePort, + }, + data: buff.readBuffer(), + }; + } + /** + * Internal state setter. If the SocksClient is in an error state, it cannot be changed to a non error state. + */ + setState(newState) { + if (this.state !== constants_1.SocksClientState.Error) { + this.state = newState; + } + } + /** + * Starts the connection establishment to the proxy and destination. + * @param existingSocket Connected socket to use instead of creating a new one (internal use). + */ + connect(existingSocket) { + this.onDataReceived = (data) => this.onDataReceivedHandler(data); + this.onClose = () => this.onCloseHandler(); + this.onError = (err) => this.onErrorHandler(err); + this.onConnect = () => this.onConnectHandler(); + // Start timeout timer (defaults to 30 seconds) + const timer = setTimeout(() => this.onEstablishedTimeout(), this.options.timeout || constants_1.DEFAULT_TIMEOUT); + // check whether unref is available as it differs from browser to NodeJS (#33) + if (timer.unref && typeof timer.unref === 'function') { + timer.unref(); + } + // If an existing socket is provided, use it to negotiate SOCKS handshake. Otherwise create a new Socket. + if (existingSocket) { + this.socket = existingSocket; + } + else { + this.socket = new net.Socket(); + } + // Attach Socket error handlers. + this.socket.once('close', this.onClose); + this.socket.once('error', this.onError); + this.socket.once('connect', this.onConnect); + this.socket.on('data', this.onDataReceived); + this.setState(constants_1.SocksClientState.Connecting); + this.receiveBuffer = new receivebuffer_1.ReceiveBuffer(); + if (existingSocket) { + this.socket.emit('connect'); + } + else { + this.socket.connect(this.getSocketOptions()); + if (this.options.set_tcp_nodelay !== undefined && + this.options.set_tcp_nodelay !== null) { + this.socket.setNoDelay(!!this.options.set_tcp_nodelay); + } + } + // Listen for established event so we can re-emit any excess data received during handshakes. + this.prependOnceListener('established', (info) => { + setImmediate(() => { + if (this.receiveBuffer.length > 0) { + const excessData = this.receiveBuffer.get(this.receiveBuffer.length); + info.socket.emit('data', excessData); + } + info.socket.resume(); + }); + }); + } + // Socket options (defaults host/port to options.proxy.host/options.proxy.port) + getSocketOptions() { + return Object.assign(Object.assign({}, this.options.socket_options), { host: this.options.proxy.host || this.options.proxy.ipaddress, port: this.options.proxy.port }); + } + /** + * Handles internal Socks timeout callback. + * Note: If the Socks client is not BoundWaitingForConnection or Established, the connection will be closed. + */ + onEstablishedTimeout() { + if (this.state !== constants_1.SocksClientState.Established && + this.state !== constants_1.SocksClientState.BoundWaitingForConnection) { + this.closeSocket(constants_1.ERRORS.ProxyConnectionTimedOut); + } + } + /** + * Handles Socket connect event. + */ + onConnectHandler() { + this.setState(constants_1.SocksClientState.Connected); + // Send initial handshake. + if (this.options.proxy.type === 4) { + this.sendSocks4InitialHandshake(); + } + else { + this.sendSocks5InitialHandshake(); + } + this.setState(constants_1.SocksClientState.SentInitialHandshake); + } + /** + * Handles Socket data event. + * @param data + */ + onDataReceivedHandler(data) { + /* + All received data is appended to a ReceiveBuffer. + This makes sure that all the data we need is received before we attempt to process it. + */ + this.receiveBuffer.append(data); + // Process data that we have. + this.processData(); + } + /** + * Handles processing of the data we have received. + */ + processData() { + // If we have enough data to process the next step in the SOCKS handshake, proceed. + while (this.state !== constants_1.SocksClientState.Established && + this.state !== constants_1.SocksClientState.Error && + this.receiveBuffer.length >= this.nextRequiredPacketBufferSize) { + // Sent initial handshake, waiting for response. + if (this.state === constants_1.SocksClientState.SentInitialHandshake) { + if (this.options.proxy.type === 4) { + // Socks v4 only has one handshake response. + this.handleSocks4FinalHandshakeResponse(); + } + else { + // Socks v5 has two handshakes, handle initial one here. + this.handleInitialSocks5HandshakeResponse(); + } + // Sent auth request for Socks v5, waiting for response. + } + else if (this.state === constants_1.SocksClientState.SentAuthentication) { + this.handleInitialSocks5AuthenticationHandshakeResponse(); + // Sent final Socks v5 handshake, waiting for final response. + } + else if (this.state === constants_1.SocksClientState.SentFinalHandshake) { + this.handleSocks5FinalHandshakeResponse(); + // Socks BIND established. Waiting for remote connection via proxy. + } + else if (this.state === constants_1.SocksClientState.BoundWaitingForConnection) { + if (this.options.proxy.type === 4) { + this.handleSocks4IncomingConnectionResponse(); + } + else { + this.handleSocks5IncomingConnectionResponse(); + } + } + else { + this.closeSocket(constants_1.ERRORS.InternalError); + break; + } + } + } + /** + * Handles Socket close event. + * @param had_error + */ + onCloseHandler() { + this.closeSocket(constants_1.ERRORS.SocketClosed); + } + /** + * Handles Socket error event. + * @param err + */ + onErrorHandler(err) { + this.closeSocket(err.message); + } + /** + * Removes internal event listeners on the underlying Socket. + */ + removeInternalSocketHandlers() { + // Pauses data flow of the socket (this is internally resumed after 'established' is emitted) + this.socket.pause(); + this.socket.removeListener('data', this.onDataReceived); + this.socket.removeListener('close', this.onClose); + this.socket.removeListener('error', this.onError); + this.socket.removeListener('connect', this.onConnect); + } + /** + * Closes and destroys the underlying Socket. Emits an error event. + * @param err { String } An error string to include in error event. + */ + closeSocket(err) { + // Make sure only one 'error' event is fired for the lifetime of this SocksClient instance. + if (this.state !== constants_1.SocksClientState.Error) { + // Set internal state to Error. + this.setState(constants_1.SocksClientState.Error); + // Destroy Socket + this.socket.destroy(); + // Remove internal listeners + this.removeInternalSocketHandlers(); + // Fire 'error' event. + this.emit('error', new util_1.SocksClientError(err, this.options)); + } + } + /** + * Sends initial Socks v4 handshake request. + */ + sendSocks4InitialHandshake() { + const userId = this.options.proxy.userId || ''; + const buff = new smart_buffer_1.SmartBuffer(); + buff.writeUInt8(0x04); + buff.writeUInt8(constants_1.SocksCommand[this.options.command]); + buff.writeUInt16BE(this.options.destination.port); + // Socks 4 (IPv4) + if (net.isIPv4(this.options.destination.host)) { + buff.writeBuffer(ip$1.toBuffer(this.options.destination.host)); + buff.writeStringNT(userId); + // Socks 4a (hostname) + } + else { + buff.writeUInt8(0x00); + buff.writeUInt8(0x00); + buff.writeUInt8(0x00); + buff.writeUInt8(0x01); + buff.writeStringNT(userId); + buff.writeStringNT(this.options.destination.host); + } + this.nextRequiredPacketBufferSize = + constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks4Response; + this.socket.write(buff.toBuffer()); + } + /** + * Handles Socks v4 handshake response. + * @param data + */ + handleSocks4FinalHandshakeResponse() { + const data = this.receiveBuffer.get(8); + if (data[1] !== constants_1.Socks4Response.Granted) { + this.closeSocket(`${constants_1.ERRORS.Socks4ProxyRejectedConnection} - (${constants_1.Socks4Response[data[1]]})`); + } + else { + // Bind response + if (constants_1.SocksCommand[this.options.command] === constants_1.SocksCommand.bind) { + const buff = smart_buffer_1.SmartBuffer.fromBuffer(data); + buff.readOffset = 2; + const remoteHost = { + port: buff.readUInt16BE(), + host: ip$1.fromLong(buff.readUInt32BE()), + }; + // If host is 0.0.0.0, set to proxy host. + if (remoteHost.host === '0.0.0.0') { + remoteHost.host = this.options.proxy.ipaddress; + } + this.setState(constants_1.SocksClientState.BoundWaitingForConnection); + this.emit('bound', { remoteHost, socket: this.socket }); + // Connect response + } + else { + this.setState(constants_1.SocksClientState.Established); + this.removeInternalSocketHandlers(); + this.emit('established', { socket: this.socket }); + } + } + } + /** + * Handles Socks v4 incoming connection request (BIND) + * @param data + */ + handleSocks4IncomingConnectionResponse() { + const data = this.receiveBuffer.get(8); + if (data[1] !== constants_1.Socks4Response.Granted) { + this.closeSocket(`${constants_1.ERRORS.Socks4ProxyRejectedIncomingBoundConnection} - (${constants_1.Socks4Response[data[1]]})`); + } + else { + const buff = smart_buffer_1.SmartBuffer.fromBuffer(data); + buff.readOffset = 2; + const remoteHost = { + port: buff.readUInt16BE(), + host: ip$1.fromLong(buff.readUInt32BE()), + }; + this.setState(constants_1.SocksClientState.Established); + this.removeInternalSocketHandlers(); + this.emit('established', { remoteHost, socket: this.socket }); + } + } + /** + * Sends initial Socks v5 handshake request. + */ + sendSocks5InitialHandshake() { + const buff = new smart_buffer_1.SmartBuffer(); + // By default we always support no auth. + const supportedAuthMethods = [constants_1.Socks5Auth.NoAuth]; + // We should only tell the proxy we support user/pass auth if auth info is actually provided. + // Note: As of Tor v0.3.5.7+, if user/pass auth is an option from the client, by default it will always take priority. + if (this.options.proxy.userId || this.options.proxy.password) { + supportedAuthMethods.push(constants_1.Socks5Auth.UserPass); + } + // Custom auth method? + if (this.options.proxy.custom_auth_method !== undefined) { + supportedAuthMethods.push(this.options.proxy.custom_auth_method); + } + // Build handshake packet + buff.writeUInt8(0x05); + buff.writeUInt8(supportedAuthMethods.length); + for (const authMethod of supportedAuthMethods) { + buff.writeUInt8(authMethod); + } + this.nextRequiredPacketBufferSize = + constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks5InitialHandshakeResponse; + this.socket.write(buff.toBuffer()); + this.setState(constants_1.SocksClientState.SentInitialHandshake); + } + /** + * Handles initial Socks v5 handshake response. + * @param data + */ + handleInitialSocks5HandshakeResponse() { + const data = this.receiveBuffer.get(2); + if (data[0] !== 0x05) { + this.closeSocket(constants_1.ERRORS.InvalidSocks5IntiailHandshakeSocksVersion); + } + else if (data[1] === constants_1.SOCKS5_NO_ACCEPTABLE_AUTH) { + this.closeSocket(constants_1.ERRORS.InvalidSocks5InitialHandshakeNoAcceptedAuthType); + } + else { + // If selected Socks v5 auth method is no auth, send final handshake request. + if (data[1] === constants_1.Socks5Auth.NoAuth) { + this.socks5ChosenAuthType = constants_1.Socks5Auth.NoAuth; + this.sendSocks5CommandRequest(); + // If selected Socks v5 auth method is user/password, send auth handshake. + } + else if (data[1] === constants_1.Socks5Auth.UserPass) { + this.socks5ChosenAuthType = constants_1.Socks5Auth.UserPass; + this.sendSocks5UserPassAuthentication(); + // If selected Socks v5 auth method is the custom_auth_method, send custom handshake. + } + else if (data[1] === this.options.proxy.custom_auth_method) { + this.socks5ChosenAuthType = this.options.proxy.custom_auth_method; + this.sendSocks5CustomAuthentication(); + } + else { + this.closeSocket(constants_1.ERRORS.InvalidSocks5InitialHandshakeUnknownAuthType); + } + } + } + /** + * Sends Socks v5 user & password auth handshake. + * + * Note: No auth and user/pass are currently supported. + */ + sendSocks5UserPassAuthentication() { + const userId = this.options.proxy.userId || ''; + const password = this.options.proxy.password || ''; + const buff = new smart_buffer_1.SmartBuffer(); + buff.writeUInt8(0x01); + buff.writeUInt8(Buffer.byteLength(userId)); + buff.writeString(userId); + buff.writeUInt8(Buffer.byteLength(password)); + buff.writeString(password); + this.nextRequiredPacketBufferSize = + constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks5UserPassAuthenticationResponse; + this.socket.write(buff.toBuffer()); + this.setState(constants_1.SocksClientState.SentAuthentication); + } + sendSocks5CustomAuthentication() { + return __awaiter(this, void 0, void 0, function* () { + this.nextRequiredPacketBufferSize = + this.options.proxy.custom_auth_response_size; + this.socket.write(yield this.options.proxy.custom_auth_request_handler()); + this.setState(constants_1.SocksClientState.SentAuthentication); + }); + } + handleSocks5CustomAuthHandshakeResponse(data) { + return __awaiter(this, void 0, void 0, function* () { + return yield this.options.proxy.custom_auth_response_handler(data); + }); + } + handleSocks5AuthenticationNoAuthHandshakeResponse(data) { + return __awaiter(this, void 0, void 0, function* () { + return data[1] === 0x00; + }); + } + handleSocks5AuthenticationUserPassHandshakeResponse(data) { + return __awaiter(this, void 0, void 0, function* () { + return data[1] === 0x00; + }); + } + /** + * Handles Socks v5 auth handshake response. + * @param data + */ + handleInitialSocks5AuthenticationHandshakeResponse() { + return __awaiter(this, void 0, void 0, function* () { + this.setState(constants_1.SocksClientState.ReceivedAuthenticationResponse); + let authResult = false; + if (this.socks5ChosenAuthType === constants_1.Socks5Auth.NoAuth) { + authResult = yield this.handleSocks5AuthenticationNoAuthHandshakeResponse(this.receiveBuffer.get(2)); + } + else if (this.socks5ChosenAuthType === constants_1.Socks5Auth.UserPass) { + authResult = + yield this.handleSocks5AuthenticationUserPassHandshakeResponse(this.receiveBuffer.get(2)); + } + else if (this.socks5ChosenAuthType === this.options.proxy.custom_auth_method) { + authResult = yield this.handleSocks5CustomAuthHandshakeResponse(this.receiveBuffer.get(this.options.proxy.custom_auth_response_size)); + } + if (!authResult) { + this.closeSocket(constants_1.ERRORS.Socks5AuthenticationFailed); + } + else { + this.sendSocks5CommandRequest(); + } + }); + } + /** + * Sends Socks v5 final handshake request. + */ + sendSocks5CommandRequest() { + const buff = new smart_buffer_1.SmartBuffer(); + buff.writeUInt8(0x05); + buff.writeUInt8(constants_1.SocksCommand[this.options.command]); + buff.writeUInt8(0x00); + // ipv4, ipv6, domain? + if (net.isIPv4(this.options.destination.host)) { + buff.writeUInt8(constants_1.Socks5HostType.IPv4); + buff.writeBuffer(ip$1.toBuffer(this.options.destination.host)); + } + else if (net.isIPv6(this.options.destination.host)) { + buff.writeUInt8(constants_1.Socks5HostType.IPv6); + buff.writeBuffer(ip$1.toBuffer(this.options.destination.host)); + } + else { + buff.writeUInt8(constants_1.Socks5HostType.Hostname); + buff.writeUInt8(this.options.destination.host.length); + buff.writeString(this.options.destination.host); + } + buff.writeUInt16BE(this.options.destination.port); + this.nextRequiredPacketBufferSize = + constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader; + this.socket.write(buff.toBuffer()); + this.setState(constants_1.SocksClientState.SentFinalHandshake); + } + /** + * Handles Socks v5 final handshake response. + * @param data + */ + handleSocks5FinalHandshakeResponse() { + // Peek at available data (we need at least 5 bytes to get the hostname length) + const header = this.receiveBuffer.peek(5); + if (header[0] !== 0x05 || header[1] !== constants_1.Socks5Response.Granted) { + this.closeSocket(`${constants_1.ERRORS.InvalidSocks5FinalHandshakeRejected} - ${constants_1.Socks5Response[header[1]]}`); + } + else { + // Read address type + const addressType = header[3]; + let remoteHost; + let buff; + // IPv4 + if (addressType === constants_1.Socks5HostType.IPv4) { + // Check if data is available. + const dataNeeded = constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4; + if (this.receiveBuffer.length < dataNeeded) { + this.nextRequiredPacketBufferSize = dataNeeded; + return; + } + buff = smart_buffer_1.SmartBuffer.fromBuffer(this.receiveBuffer.get(dataNeeded).slice(4)); + remoteHost = { + host: ip$1.fromLong(buff.readUInt32BE()), + port: buff.readUInt16BE(), + }; + // If given host is 0.0.0.0, assume remote proxy ip instead. + if (remoteHost.host === '0.0.0.0') { + remoteHost.host = this.options.proxy.ipaddress; + } + // Hostname + } + else if (addressType === constants_1.Socks5HostType.Hostname) { + const hostLength = header[4]; + const dataNeeded = constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(hostLength); // header + host length + host + port + // Check if data is available. + if (this.receiveBuffer.length < dataNeeded) { + this.nextRequiredPacketBufferSize = dataNeeded; + return; + } + buff = smart_buffer_1.SmartBuffer.fromBuffer(this.receiveBuffer.get(dataNeeded).slice(5)); + remoteHost = { + host: buff.readString(hostLength), + port: buff.readUInt16BE(), + }; + // IPv6 + } + else if (addressType === constants_1.Socks5HostType.IPv6) { + // Check if data is available. + const dataNeeded = constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6; + if (this.receiveBuffer.length < dataNeeded) { + this.nextRequiredPacketBufferSize = dataNeeded; + return; + } + buff = smart_buffer_1.SmartBuffer.fromBuffer(this.receiveBuffer.get(dataNeeded).slice(4)); + remoteHost = { + host: ip$1.toString(buff.readBuffer(16)), + port: buff.readUInt16BE(), + }; + } + // We have everything we need + this.setState(constants_1.SocksClientState.ReceivedFinalResponse); + // If using CONNECT, the client is now in the established state. + if (constants_1.SocksCommand[this.options.command] === constants_1.SocksCommand.connect) { + this.setState(constants_1.SocksClientState.Established); + this.removeInternalSocketHandlers(); + this.emit('established', { remoteHost, socket: this.socket }); + } + else if (constants_1.SocksCommand[this.options.command] === constants_1.SocksCommand.bind) { + /* If using BIND, the Socks client is now in BoundWaitingForConnection state. + This means that the remote proxy server is waiting for a remote connection to the bound port. */ + this.setState(constants_1.SocksClientState.BoundWaitingForConnection); + this.nextRequiredPacketBufferSize = + constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHeader; + this.emit('bound', { remoteHost, socket: this.socket }); + /* + If using Associate, the Socks client is now Established. And the proxy server is now accepting UDP packets at the + given bound port. This initial Socks TCP connection must remain open for the UDP relay to continue to work. + */ + } + else if (constants_1.SocksCommand[this.options.command] === constants_1.SocksCommand.associate) { + this.setState(constants_1.SocksClientState.Established); + this.removeInternalSocketHandlers(); + this.emit('established', { + remoteHost, + socket: this.socket, + }); + } + } + } + /** + * Handles Socks v5 incoming connection request (BIND). + */ + handleSocks5IncomingConnectionResponse() { + // Peek at available data (we need at least 5 bytes to get the hostname length) + const header = this.receiveBuffer.peek(5); + if (header[0] !== 0x05 || header[1] !== constants_1.Socks5Response.Granted) { + this.closeSocket(`${constants_1.ERRORS.Socks5ProxyRejectedIncomingBoundConnection} - ${constants_1.Socks5Response[header[1]]}`); + } + else { + // Read address type + const addressType = header[3]; + let remoteHost; + let buff; + // IPv4 + if (addressType === constants_1.Socks5HostType.IPv4) { + // Check if data is available. + const dataNeeded = constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv4; + if (this.receiveBuffer.length < dataNeeded) { + this.nextRequiredPacketBufferSize = dataNeeded; + return; + } + buff = smart_buffer_1.SmartBuffer.fromBuffer(this.receiveBuffer.get(dataNeeded).slice(4)); + remoteHost = { + host: ip$1.fromLong(buff.readUInt32BE()), + port: buff.readUInt16BE(), + }; + // If given host is 0.0.0.0, assume remote proxy ip instead. + if (remoteHost.host === '0.0.0.0') { + remoteHost.host = this.options.proxy.ipaddress; + } + // Hostname + } + else if (addressType === constants_1.Socks5HostType.Hostname) { + const hostLength = header[4]; + const dataNeeded = constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseHostname(hostLength); // header + host length + port + // Check if data is available. + if (this.receiveBuffer.length < dataNeeded) { + this.nextRequiredPacketBufferSize = dataNeeded; + return; + } + buff = smart_buffer_1.SmartBuffer.fromBuffer(this.receiveBuffer.get(dataNeeded).slice(5)); + remoteHost = { + host: buff.readString(hostLength), + port: buff.readUInt16BE(), + }; + // IPv6 + } + else if (addressType === constants_1.Socks5HostType.IPv6) { + // Check if data is available. + const dataNeeded = constants_1.SOCKS_INCOMING_PACKET_SIZES.Socks5ResponseIPv6; + if (this.receiveBuffer.length < dataNeeded) { + this.nextRequiredPacketBufferSize = dataNeeded; + return; + } + buff = smart_buffer_1.SmartBuffer.fromBuffer(this.receiveBuffer.get(dataNeeded).slice(4)); + remoteHost = { + host: ip$1.toString(buff.readBuffer(16)), + port: buff.readUInt16BE(), + }; + } + this.setState(constants_1.SocksClientState.Established); + this.removeInternalSocketHandlers(); + this.emit('established', { remoteHost, socket: this.socket }); + } + } + get socksClientOptions() { + return Object.assign({}, this.options); + } + } + exports.SocksClient = SocksClient; + +} (socksclient)); + +(function (exports) { + var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); + }) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + })); + var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); + }; + Object.defineProperty(exports, "__esModule", { value: true }); + __exportStar(socksclient, exports); + +} (build)); + +const httpProxyClient = httpProxyClient_1; +const { SocksClient } = build; +const util = require$$2$1; +const httpProxyClientAsync = util.promisify(httpProxyClient); +const dns = require$$3$2.promises; +const net$1 = require$$1$3; + +const proxyConnection$1 = async (logger, connectionUrl, host, port) => { + let proxyUrl = new URL(connectionUrl); + + let protocol = proxyUrl.protocol.replace(/:$/, '').toLowerCase(); + + if (!net$1.isIP(host)) { + let resolveResult = await dns.resolve(host); + if (resolveResult && resolveResult.length) { + host = resolveResult[0]; + } + } + + switch (protocol) { + // Connect using a HTTP CONNECT method + case 'http': + case 'https': { + try { + let socket = await httpProxyClientAsync(proxyUrl.href, port, host); + if (socket) { + if (proxyUrl.password) { + proxyUrl.password = '(hidden)'; + } + logger.info({ + msg: 'Established a socket via HTTP proxy', + proxyUrl: proxyUrl.href, + port, + host + }); + } + return socket; + } catch (err) { + if (proxyUrl.password) { + proxyUrl.password = '(hidden)'; + } + logger.error({ + msg: 'Failed to establish a socket via HTTP proxy', + proxyUrl: proxyUrl.href, + port, + host, + err + }); + throw err; + } + } + + // SOCKS proxy + case 'socks': + case 'socks5': + case 'socks4': + case 'socks4a': { + let proxyType = Number(protocol.replace(/\D/g, '')) || 5; + + let targetHost = proxyUrl.hostname; + if (!net$1.isIP(targetHost)) { + let resolveResult = await dns.resolve(targetHost); + if (resolveResult && resolveResult.length) { + targetHost = resolveResult[0]; + } + } + + let connectionOpts = { + proxy: { + host: targetHost, + port: Number(proxyUrl.port) || 1080, + type: proxyType + }, + destination: { + host, + port + }, + command: 'connect', + set_tcp_nodelay: true + }; + + if (proxyUrl.username || proxyUrl.password) { + connectionOpts.proxy.userId = proxyUrl.username; + connectionOpts.proxy.password = proxyUrl.password; + } + + try { + const info = await SocksClient.createConnection(connectionOpts); + if (info && info.socket) { + if (proxyUrl.password) { + proxyUrl.password = '(hidden)'; + } + logger.info({ + msg: 'Established a socket via SOCKS proxy', + proxyUrl: proxyUrl.href, + port, + host + }); + } + return info.socket; + } catch (err) { + if (proxyUrl.password) { + proxyUrl.password = '(hidden)'; + } + logger.error({ + msg: 'Failed to establish a socket via SOCKS proxy', + proxyUrl: proxyUrl.href, + port, + host, + err + }); + throw err; + } + } + } +}; + +var proxyConnection_1 = { proxyConnection: proxyConnection$1 }; + +var toolsExports = {}; +var tools = { + get exports(){ return toolsExports; }, + set exports(v){ toolsExports = v; }, +}; + +var jpDecoder = {}; + +const { Transform } = require$$0$7; +const encodingJapanese = src; + +class JPDecoder extends Transform { + constructor(charset) { + super(); + + this.charset = charset; + this.chunks = []; + this.chunklen = 0; + } + + _transform(chunk, encoding, done) { + if (typeof chunk === 'string') { + chunk = Buffer.from(chunk, encoding); + } + + this.chunks.push(chunk); + this.chunklen += chunk.length; + done(); + } + + _flush(done) { + let input = Buffer.concat(this.chunks, this.chunklen); + try { + let output = encodingJapanese.convert(input, { + to: 'UNICODE', // to_encoding + from: this.charset, // from_encoding + type: 'string' + }); + if (typeof output === 'string') { + output = Buffer.from(output); + } + this.push(output); + } catch (err) { + // keep as is on errors + this.push(input); + } + + done(); + } +} + +jpDecoder.JPDecoder = JPDecoder; + +/* eslint no-control-regex:0 */ + +(function (module) { + + const libmime = libmimeExports$1; + const { compiler } = imapHandler; + const { createHash } = require$$2$3; + const { JPDecoder } = jpDecoder; + const iconv = libExports; + + module.exports = { + encodePath(connection, path) { + path = (path || '').toString(); + if (!connection.enabled.has('UTF8=ACCEPT') && /[&\x00-\x08\x0b-\x0c\x0e-\x1f\u0080-\uffff]/.test(path)) { + try { + path = iconv.encode(path, 'utf-7-imap').toString(); + } catch (err) { + // ignore, keep name as is + } + } + return path; + }, + + decodePath(connection, path) { + path = (path || '').toString(); + if (!connection.enabled.has('UTF8=ACCEPT') && /[&]/.test(path)) { + try { + path = iconv.decode(Buffer.from(path), 'utf-7-imap').toString(); + } catch (err) { + // ignore, keep name as is + } + } + return path; + }, + + normalizePath(connection, path, skipNamespace) { + if (Array.isArray(path)) { + path = path.join((connection.namespace && connection.namespace.delimiter) || ''); + } + + if (path.toUpperCase() === 'INBOX') { + // inbox is not case sensitive + return 'INBOX'; + } + + // ensure namespace prefix if needed + if (!skipNamespace && connection.namespace && connection.namespace.prefix && path.indexOf(connection.namespace.prefix) !== 0) { + path = connection.namespace.prefix + path; + } + + return path; + }, + + comparePaths(connection, a, b) { + if (!a || !b) { + return false; + } + return module.exports.normalizePath(connection, a) === module.exports.normalizePath(connection, b); + }, + + updateCapabilities(list) { + let map = new Map(); + + if (list && Array.isArray(list)) { + list.forEach(val => { + if (typeof val.value !== 'string') { + return false; + } + let capability = val.value.toUpperCase().trim(); + + if (capability === 'IMAP4REV1') { + map.set('IMAP4rev1', true); + return; + } + + if (capability.indexOf('APPENDLIMIT=') === 0) { + let splitPos = capability.indexOf('='); + let appendLimit = Number(capability.substr(splitPos + 1)) || 0; + map.set('APPENDLIMIT', appendLimit); + return; + } + + map.set(capability, true); + }); + } + + return map; + }, + + getStatusCode(response) { + return response && + response.attributes && + response.attributes[0] && + response.attributes[0].section && + response.attributes[0].section[0] && + typeof response.attributes[0].section[0].value === 'string' + ? response.attributes[0].section[0].value.toUpperCase().trim() + : false; + }, + + async getErrorText(response) { + if (!response) { + return false; + } + + return (await compiler(response)).toString(); + }, + + getFolderTree(folders) { + let tree = { + root: true, + folders: [] + }; + + let getTreeNode = parents => { + let node = tree; + if (!parents || !parents.length) { + return node; + } + + for (let parent of parents) { + let cur = node.folders && node.folders.find(folder => folder.name === parent); + if (cur) { + node = cur; + } else { + // not yet set + cur = { + name: parent, + folders: [] + }; + } + } + + return node; + }; + + for (let folder of folders) { + let parent = getTreeNode(folder.parent); + // see if entry already exists + let existing = parent.folders && parent.folders.find(existing => existing.name === folder.name); + if (existing) { + // update values + existing.name = folder.name; + existing.flags = folder.flags; + existing.path = folder.path; + existing.subscribed = !!folder.subscribed; + existing.listed = !!folder.listed; + if (folder.specialUse) { + existing.specialUse = folder.specialUse; + } + + if (folder.flags.has('\\Noselect')) { + existing.disabled = true; + } + if (folder.flags.has('\\HasChildren') && !existing.folders) { + existing.folders = []; + } + } else { + // create new + let data = { + name: folder.name, + flags: folder.flags, + path: folder.path, + subscribed: !!folder.subscribed, + listed: !!folder.listed + }; + + if (folder.specialUse) { + data.specialUse = folder.specialUse; + } + + if (folder.flags.has('\\Noselect')) { + data.disabled = true; + } + + if (folder.flags.has('\\HasChildren')) { + data.folders = []; + } + + if (!parent.folders) { + parent.folders = []; + } + parent.folders.push(data); + } + } + + return tree; + }, + + async formatMessageResponse(untagged, mailbox) { + let map = {}; + + map.seq = Number(untagged.command); + + let key; + let attributes = (untagged.attributes && untagged.attributes[1]) || []; + for (let i = 0, len = attributes.length; i < len; i++) { + let attribute = attributes[i]; + if (i % 2 === 0) { + key = ( + await compiler({ + attributes: [attribute] + }) + ) + .toString() + .toLowerCase() + .replace(/<\d+>$/, ''); + continue; + } + if (typeof key !== 'string') { + // should not happen + continue; + } + + let getString = attribute => { + if (!attribute) { + return false; + } + if (typeof attribute.value === 'string') { + return attribute.value; + } + if (Buffer.isBuffer(attribute.value)) { + return attribute.value.toString(); + } + }; + + let getBuffer = attribute => { + if (!attribute) { + return false; + } + if (Buffer.isBuffer(attribute.value)) { + return attribute.value; + } + }; + + let getArray = attribute => { + if (Array.isArray(attribute)) { + return attribute.map(entry => (entry && typeof entry.value === 'string' ? entry.value : false)).filter(entry => entry); + } + }; + + switch (key) { + case 'body[]': + case 'binary[]': + map.source = getBuffer(attribute); + break; + + case 'uid': + map.uid = Number(getString(attribute)); + if (map.uid && (!mailbox.uidNext || mailbox.uidNext <= map.uid)) { + // current uidNext seems to be outdated, bump it + mailbox.uidNext = map.uid + 1; + } + break; + + case 'modseq': + map.modseq = BigInt(getArray(attribute)[0]); + if (map.modseq && (!mailbox.highestModseq || mailbox.highestModseq < map.modseq)) { + // current highestModseq seems to be outdated, bump it + mailbox.highestModseq = map.modseq; + } + break; + + case 'emailid': + map.emailId = getArray(attribute)[0]; + break; + + case 'x-gm-msgid': + map.emailId = getString(attribute); + break; + + case 'threadid': + map.threadId = getArray(attribute)[0]; + break; + + case 'x-gm-thrid': + map.threadId = getString(attribute); + break; + + case 'x-gm-labels': + map.labels = new Set(getArray(attribute)); + break; + + case 'rfc822.size': + map.size = Number(getString(attribute)) || 0; + break; + + case 'flags': + map.flags = new Set(getArray(attribute)); + break; + + case 'envelope': + map.envelope = module.exports.parseEnvelope(attribute); + break; + + case 'bodystructure': + map.bodyStructure = module.exports.parseBodystructure(attribute); + break; + + case 'internaldate': { + let value = getString(attribute); + let date = new Date(value); + if (date.toString() === 'Invalid Date') { + map.internalDate = value; + } else { + map.internalDate = date; + } + break; + } + + default: { + let match = key.match(/(body|binary)\[/i); + if (match) { + let partKey = key.replace(/^(body|binary)\[|]$/gi, ''); + partKey = partKey.replace(/\.fields.*$/g, ''); + + let value = getBuffer(attribute); + if (partKey === 'header') { + map.headers = value; + break; + } + + if (!map.bodyParts) { + map.bodyParts = new Map(); + } + map.bodyParts.set(partKey, value); + break; + } + break; + } + } + } + + if (map.emailId || map.uid) { + // define account unique ID for this email + + // normalize path to use ascii, so we would always get the same ID + let path = mailbox.path; + if (/[0x80-0xff]/.test(path)) { + try { + path = iconv.encode(path, 'utf-7-imap').toString(); + } catch (err) { + // ignore + } + } + + map.id = map.emailId || createHash('md5').update([path, mailbox.uidValidity.toString(), map.uid.toString()].join(':')).digest('hex'); + } + + return map; + }, + + parseEnvelope(entry) { + let getStrValue = obj => { + if (!obj) { + return false; + } + if (typeof obj.value === 'string') { + return obj.value; + } + if (Buffer.isBuffer(obj.value)) { + return obj.value.toString(); + } + return obj.value; + }; + + let processAddresses = function (list) { + return [].concat(list || []).map(addr => ({ + name: libmime.decodeWords(getStrValue(addr[0]) || ''), + address: (getStrValue(addr[2]) || '') + '@' + (getStrValue(addr[3]) || '') + })); + }, + envelope = {}; + + if (entry[0] && entry[0].value) { + let date = new Date(getStrValue(entry[0])); + if (date.toString() === 'Invalid Date') { + envelope.date = getStrValue(entry[0]); + } else { + envelope.date = date; + } + } + + if (entry[1] && entry[1].value) { + envelope.subject = libmime.decodeWords(getStrValue(entry[1])); + } + + if (entry[2] && entry[2].length) { + envelope.from = processAddresses(entry[2]); + } + + if (entry[3] && entry[3].length) { + envelope.sender = processAddresses(entry[3]); + } + + if (entry[4] && entry[4].length) { + envelope.replyTo = processAddresses(entry[4]); + } + + if (entry[5] && entry[5].length) { + envelope.to = processAddresses(entry[5]); + } + + if (entry[6] && entry[6].length) { + envelope.cc = processAddresses(entry[6]); + } + + if (entry[7] && entry[7].length) { + envelope.bcc = processAddresses(entry[7]); + } + + if (entry[8] && entry[8].value) { + envelope.inReplyTo = (getStrValue(entry[8]) || '').toString().trim(); + } + + if (entry[9] && entry[9].value) { + envelope.messageId = (getStrValue(entry[9]) || '').toString().trim(); + } + + return envelope; + }, + + parseBodystructure(entry) { + let walk = (node, path) => { + path = path || []; + + let curNode = {}, + i = 0, + key, + part = 0; + + if (path.length) { + curNode.part = path.join('.'); + } + + // multipart + if (Array.isArray(node[0])) { + curNode.childNodes = []; + while (Array.isArray(node[i])) { + curNode.childNodes.push(walk(node[i], path.concat(++part))); + i++; + } + + // multipart type + curNode.type = 'multipart/' + ((node[i++] || {}).value || '').toString().toLowerCase(); + + // extension data (not available for BODY requests) + + // body parameter parenthesized list + if (i < node.length - 1) { + if (node[i]) { + curNode.parameters = {}; + [].concat(node[i] || []).forEach((val, j) => { + if (j % 2) { + curNode.parameters[key] = libmime.decodeWords(((val && val.value) || '').toString()); + } else { + key = ((val && val.value) || '').toString().toLowerCase(); + } + }); + } + i++; + } + } else { + // content type + curNode.type = [((node[i++] || {}).value || '').toString().toLowerCase(), ((node[i++] || {}).value || '').toString().toLowerCase()].join('/'); + + // body parameter parenthesized list + if (node[i]) { + curNode.parameters = {}; + [].concat(node[i] || []).forEach((val, j) => { + if (j % 2) { + curNode.parameters[key] = libmime.decodeWords(((val && val.value) || '').toString()); + } else { + key = ((val && val.value) || '').toString().toLowerCase(); + } + }); + } + i++; + + // id + if (node[i]) { + curNode.id = ((node[i] || {}).value || '').toString(); + } + i++; + + // description + if (node[i]) { + curNode.description = ((node[i] || {}).value || '').toString(); + } + i++; + + // encoding + if (node[i]) { + curNode.encoding = ((node[i] || {}).value || '').toString().toLowerCase(); + } + i++; + + // size + if (node[i]) { + curNode.size = Number((node[i] || {}).value || 0) || 0; + } + i++; + + if (curNode.type === 'message/rfc822') { + // message/rfc adds additional envelope, bodystructure and line count values + + // envelope + if (node[i]) { + curNode.envelope = module.exports.parseEnvelope([].concat(node[i] || [])); + } + i++; + + if (node[i]) { + curNode.childNodes = [ + // rfc822 bodyparts share the same path, difference is between MIME and HEADER + // path.MIME returns message/rfc822 header + // path.HEADER returns inlined message header + walk(node[i], path) + ]; + } + i++; + + // line count + if (node[i]) { + curNode.lineCount = Number((node[i] || {}).value || 0) || 0; + } + i++; + } else if (/^text\//.test(curNode.type)) { + // text/* adds additional line count values + + // line count + if (node[i]) { + curNode.lineCount = Number((node[i] || {}).value || 0) || 0; + } + i++; + } + + // extension data (not available for BODY requests) + + // md5 + if (i < node.length - 1) { + if (node[i]) { + curNode.md5 = ((node[i] || {}).value || '').toString().toLowerCase(); + } + i++; + } + } + + // the following are shared extension values (for both multipart and non-multipart parts) + // not available for BODY requests + + // body disposition + if (i < node.length - 1) { + if (Array.isArray(node[i]) && node[i].length) { + curNode.disposition = ((node[i][0] || {}).value || '').toString().toLowerCase(); + if (Array.isArray(node[i][1])) { + curNode.dispositionParameters = {}; + [].concat(node[i][1] || []).forEach((val, j) => { + if (j % 2) { + curNode.dispositionParameters[key] = libmime.decodeWords(((val && val.value) || '').toString()); + } else { + key = ((val && val.value) || '').toString().toLowerCase(); + } + }); + } + } + i++; + } + + // body language + if (i < node.length - 1) { + if (node[i]) { + curNode.language = [].concat(node[i] || []).map(val => ((val && val.value) || '').toString().toLowerCase()); + } + i++; + } + + // body location + // NB! defined as a "string list" in RFC3501 but replaced in errata document with "string" + // Errata: http://www.rfc-editor.org/errata_search.php?rfc=3501 + if (i < node.length - 1) { + if (node[i]) { + curNode.location = ((node[i] || {}).value || '').toString(); + } + i++; + } + + return curNode; + }; + + return walk(entry); + }, + + formatDate(value) { + if (typeof value === 'string') { + value = new Date(value); + } + + if (Object.prototype.toString(value) !== '[object Object]' || value.toString() === 'Invalid Date') { + return; + } + + value = value.toISOString().substr(0, 10); + value = value.split('-'); + value.reverse(); + + let months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; + value[1] = months[Number(value[1]) - 1]; + + return value.join('-'); + }, + + formatDateTime(value) { + if (!value) { + return; + } + + if (typeof value === 'string') { + value = new Date(value); + } + + if (Object.prototype.toString(value) !== '[object Object]' || value.toString() === 'Invalid Date') { + return; + } + + let dateStr = module.exports.formatDate(value).replace(/^0/, ''); //starts with date-day-fixed with leading 0 replaced by SP + let timeStr = value.toISOString().substr(11, 8); + + return `${dateStr} ${timeStr} +0000`; + }, + + formatFlag(flag) { + switch (flag.toLowerCase()) { + case '\\recent': + // can not set or remove + return false; + case '\\seen': + case '\\answered': + case '\\flagged': + case '\\deleted': + case '\\draft': + // can not set or remove + return flag.toLowerCase().replace(/^\\./, c => c.toUpperCase()); + } + return flag; + }, + + canUseFlag(mailbox, flag) { + return !mailbox || !mailbox.permanentFlags || mailbox.permanentFlags.has('\\*') || mailbox.permanentFlags.has(flag); + }, + + expandRange(range) { + return range.split(',').flatMap(entry => { + entry = entry.trim(); + let colon = entry.indexOf(':'); + if (colon < 0) { + return Number(entry) || 0; + } + let first = Number(entry.substr(0, colon)) || 0; + let second = Number(entry.substr(colon + 1)) || 0; + if (first === second) { + return first; + } + let list = []; + if (first < second) { + for (let i = first; i <= second; i++) { + list.push(i); + } + } else { + for (let i = first; i >= second; i--) { + list.push(i); + } + } + return list; + }); + }, + + getDecoder(charset) { + charset = (charset || 'ascii').toString().trim().toLowerCase(); + if (/^jis|^iso-?2022-?jp|^EUCJP/i.test(charset)) { + // special case not supported by iconv-lite + return new JPDecoder(charset); + } + + return iconv.decodeStream(charset); + }, + + packMessageRange(list) { + if (typeof uidList === 'string') + if (!Array.isArray(list)) { + list = [].concat(list || []); + } + + if (!list.length) { + return ''; + } + + list.sort((a, b) => a - b); + + let last = list[list.length - 1]; + let result = [[last]]; + for (let i = list.length - 2; i >= 0; i--) { + if (list[i] === list[i + 1] - 1) { + result[0].unshift(list[i]); + continue; + } + result.unshift([list[i]]); + } + + result = result.map(item => { + if (item.length === 1) { + return item[0]; + } + return item.shift() + ':' + item.pop(); + }); + + return result.join(','); + } + }; +} (tools)); + +const { formatDateTime: formatDateTime$1 } = toolsExports; + +// Sends ID info to server and updates server info data based on response +var id = async (connection, clientInfo) => { + if (!connection.capabilities.has('ID')) { + // nothing to do here + return; + } + + let response; + try { + let map = {}; + + // convert object into an array of value tuples + let formattedClientInfo = !clientInfo + ? null + : Object.keys(clientInfo) + .map(key => [key, formatValue(key, clientInfo[key])]) + .filter(entry => entry[1]) + .flatMap(entry => entry); + + if (formattedClientInfo && !formattedClientInfo.length) { + // value array has no elements + formattedClientInfo = null; + } + + response = await connection.exec('ID', [formattedClientInfo], { + untagged: { + ID: async untagged => { + let params = untagged.attributes && untagged.attributes[0]; + let key; + (Array.isArray(params) ? params : [].concat(params || [])).forEach((val, i) => { + if (i % 2 === 0) { + key = val.value; + } else if (typeof key === 'string' && typeof val.value === 'string') { + map[key.toLowerCase().trim()] = val.value; + } + }); + } + } + }); + connection.serverInfo = map; + response.next(); + return map; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +function formatValue(key, value) { + switch (key.toLowerCase()) { + case 'date': + // Date has to be in imap date-time format + return formatDateTime$1(value); + default: + // Other values are strings without newlines + return (value || '').toString().replace(/\s+/g, ' '); + } +} + +// Refresh capabilities from server +var capability = async connection => { + if (connection.capabilities.size && !connection.expectCapabilityUpdate) { + return connection.capabilities; + } + + let response; + try { + // untagged capability response is processed by global handler + response = await connection.exec('CAPABILITY'); + + response.next(); + return connection.capabilities; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +// Requests NAMESPACE info from server +var namespace = async connection => { + if (![connection.states.AUTHENTICATED, connection.states.SELECTED].includes(connection.state)) { + // nothing to do here + return; + } + + if (!connection.capabilities.has('NAMESPACE')) { + // try to derive from listing + let { prefix, delimiter } = await getListPrefix(connection); + if (delimiter && prefix && prefix.charAt(prefix.length - 1) !== delimiter) { + prefix += delimiter; + } + let map = { + personal: [{ prefix: prefix || '', delimiter }], + other: false, + shared: false + }; + connection.namespaces = map; + connection.namespace = connection.namespaces.personal[0]; + return connection.namespace; + } + + let response; + try { + let map = {}; + response = await connection.exec('NAMESPACE', false, { + untagged: { + NAMESPACE: async untagged => { + if (!untagged.attributes || !untagged.attributes.length) { + return; + } + map.personal = getNamsepaceInfo(untagged.attributes[0]); + map.other = getNamsepaceInfo(untagged.attributes[1]); + map.shared = getNamsepaceInfo(untagged.attributes[2]); + } + } + }); + connection.namespaces = map; + + // make sure that we have the first personal namespace always set + if (!connection.namespaces.personal[0]) { + connection.namespaces.personal[0] = { prefix: '', delimiter: '.' }; + } + connection.namespaces.personal[0].prefix = connection.namespaces.personal[0].prefix || ''; + response.next(); + + connection.namespace = connection.namespaces.personal[0]; + + return connection.namespace; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return { + error: true, + status: err.responseStatus, + text: err.responseText + }; + } +}; + +async function getListPrefix(connection) { + let response; + try { + let map = {}; + response = await connection.exec('LIST', ['', ''], { + untagged: { + LIST: async untagged => { + if (!untagged.attributes || !untagged.attributes.length) { + return; + } + + map.flags = new Set(untagged.attributes[0].map(entry => entry.value)); + map.delimiter = untagged.attributes[1] && untagged.attributes[1].value; + map.prefix = (untagged.attributes[2] && untagged.attributes[2].value) || ''; + if (map.delimiter && map.prefix.charAt(0) === map.delimiter) { + map.prefix = map.prefix.slice(1); + } + } + } + }); + response.next(); + return map; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return {}; + } +} + +function getNamsepaceInfo(attribute) { + if (!attribute || !attribute.length) { + return false; + } + + return attribute + .filter(entry => entry.length >= 2 && typeof entry[0].value === 'string' && typeof entry[1].value === 'string') + .map(entry => { + let prefix = entry[0].value; + let delimiter = entry[1].value; + + if (delimiter && prefix && prefix.charAt(prefix.length - 1) !== delimiter) { + prefix += delimiter; + } + return { prefix, delimiter }; + }); +} + +const { getStatusCode: getStatusCode$e, getErrorText: getErrorText$e } = toolsExports; + +// Authenticates user using LOGIN +var login = async (connection, username, password) => { + if (connection.state !== connection.states.NOT_AUTHENTICATED) { + // nothing to do here + return; + } + + try { + let response = await connection.exec('LOGIN', [ + { type: 'ATOM', value: username }, + { type: 'ATOM', value: password, sensitive: true } + ]); + response.next(); + + connection.authCapabilities.set('LOGIN', true); + + return username; + } catch (err) { + let errorCode = getStatusCode$e(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.authenticationFailed = true; + err.response = await getErrorText$e(err.response); + throw err; + } +}; + +// Logs out user and closes connection +var logout = async connection => { + if (connection.state === connection.states.LOGOUT) { + // nothing to do here + return false; + } + + if (connection.state === connection.states.NOT_AUTHENTICATED) { + connection.state = connection.states.LOGOUT; + connection.close(); + return false; + } + + let response; + try { + response = await connection.exec('LOGOUT'); + return true; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return false; + } finally { + // close even if command failed + connection.state = connection.states.LOGOUT; + if (response && typeof response.next === 'function') { + response.next(); + } + connection.close(); + } +}; + +// Requests STARTTLS info from server +var starttls = async connection => { + if (!connection.capabilities.has('STARTTLS') || connection.secureConnection) { + // nothing to do here + return false; + } + + let response; + try { + response = await connection.exec('STARTTLS'); + response.next(); + return true; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +var specialUseExports = {}; +var specialUse$1 = { + get exports(){ return specialUseExports; }, + set exports(v){ specialUseExports = v; }, +}; + +(function (module) { + + module.exports = { + flags: ['\\All', '\\Archive', '\\Drafts', '\\Flagged', '\\Junk', '\\Sent', '\\Trash'], + names: { + '\\Sent': [ + 'aika', + 'bidaliak', + 'bidalita', + 'dihantar', + 'e rometsweng', + 'e tindami', + 'elküldött', + 'elküldöttek', + 'elementos enviados', + 'éléments envoyés', + 'enviadas', + 'enviadas', + 'enviados', + 'enviats', + 'envoyés', + 'ethunyelweyo', + 'expediate', + 'ezipuru', + 'gesendete', + 'gesendete elemente', + 'gestuur', + 'gönderilmiş öğeler', + 'göndərilənlər', + 'iberilen', + 'inviati', + 'išsiųstieji', + 'kuthunyelwe', + 'lasa', + 'lähetetyt', + 'messages envoyés', + 'naipadala', + 'nalefa', + 'napadala', + 'nosūtītās ziņas', + 'odeslané', + 'odeslaná pošta', + 'padala', + 'poslane', + 'poslano', + 'poslano', + 'poslané', + 'poslato', + 'saadetud', + 'saadetud kirjad', + 'saadetud üksused', + 'sendt', + 'sendt', + 'sent', + 'sent items', + 'sent messages', + 'sända poster', + 'sänt', + 'terkirim', + 'ti fi ranṣẹ', + 'të dërguara', + 'verzonden', + 'vilivyotumwa', + 'wysłane', + 'đã gửi', + 'σταλθέντα', + 'жиберилген', + 'жіберілгендер', + 'изпратени', + 'илгээсэн', + 'ирсол шуд', + 'испратено', + 'надіслані', + 'отправленные', + 'пасланыя', + 'юборилган', + 'ուղարկված', + 'נשלחו', + 'פריטים שנשלחו', + 'المرسلة', + 'بھیجے گئے', + 'سوزمژہ', + 'لېګل شوی', + 'موارد ارسال شده', + 'पाठविले', + 'पाठविलेले', + 'प्रेषित', + 'भेजा गया', + 'প্রেরিত', + 'প্রেরিত', + 'প্ৰেৰিত', + 'ਭੇਜੇ', + 'મોકલેલા', + 'ପଠାଗଲା', + 'அனுப்பியவை', + 'పంపించబడింది', + 'ಕಳುಹಿಸಲಾದ', + 'അയച്ചു', + 'යැවු පණිවුඩ', + 'ส่งแล้ว', + 'გაგზავნილი', + 'የተላኩ', + 'បាន​ផ្ញើ', + '寄件備份', + '寄件備份', + '已发信息', + '送信済みメール', + '발신 메시지', + '보낸 편지함' + ], + '\\Trash': [ + 'articole șterse', + 'bin', + 'borttagna objekt', + 'deleted', + 'deleted items', + 'deleted messages', + 'elementi eliminati', + 'elementos borrados', + 'elementos eliminados', + 'gelöschte objekte', + 'gelöschte elemente', + 'item dipadam', + 'itens apagados', + 'itens excluídos', + 'kustutatud üksused', + 'mục đã xóa', + 'odstraněné položky', + 'odstraněná pošta', + 'pesan terhapus', + 'poistetut', + 'praht', + 'prügikast', + 'silinmiş öğeler', + 'slettede beskeder', + 'slettede elementer', + 'trash', + 'törölt elemek', + 'törölt', + 'usunięte wiadomości', + 'verwijderde items', + 'vymazané správy', + 'éléments supprimés', + 'видалені', + 'жойылғандар', + 'удаленные', + 'פריטים שנמחקו', + 'العناصر المحذوفة', + 'موارد حذف شده', + 'รายการที่ลบ', + '已删除邮件', + '已刪除項目', + '已刪除項目' + ], + '\\Junk': [ + 'bulk mail', + 'correo no deseado', + 'courrier indésirable', + 'istenmeyen', + 'istenmeyen e-posta', + 'junk', + 'junk e-mail', + 'junk email', + 'junk-e-mail', + 'levélszemét', + 'nevyžiadaná pošta', + 'nevyžádaná pošta', + 'no deseado', + 'posta indesiderata', + 'pourriel', + 'roskaposti', + 'rämpspost', + 'skräppost', + 'spam', + 'spam', + 'spamowanie', + 'søppelpost', + 'thư rác', + 'wiadomości-śmieci', + 'спам', + 'דואר זבל', + 'الرسائل العشوائية', + 'هرزنامه', + 'สแปม', + '‎垃圾郵件', + '垃圾邮件', + '垃圾電郵' + ], + '\\Drafts': [ + 'ba brouillon', + 'borrador', + 'borrador', + 'borradores', + 'bozze', + 'brouillons', + 'bản thảo', + 'ciorne', + 'concepten', + 'draf', + 'draft', + 'drafts', + 'drög', + 'entwürfe', + 'esborranys', + 'garalamalar', + 'ihe edeturu', + 'iidrafti', + 'izinhlaka', + 'juodraščiai', + 'kladd', + 'kladder', + 'koncepty', + 'koncepty', + 'konsep', + 'konsepte', + 'kopie robocze', + 'layihələr', + 'luonnokset', + 'melnraksti', + 'meralo', + 'mesazhe të padërguara', + 'mga draft', + 'mustandid', + 'nacrti', + 'nacrti', + 'osnutki', + 'piszkozatok', + 'rascunhos', + 'rasimu', + 'skice', + 'taslaklar', + 'tsararrun saƙonni', + 'utkast', + 'vakiraoka', + 'vázlatok', + 'zirriborroak', + 'àwọn àkọpamọ́', + 'πρόχειρα', + 'жобалар', + 'нацрти', + 'нооргууд', + 'сиёҳнавис', + 'хомаки хатлар', + 'чарнавікі', + 'чернетки', + 'чернови', + 'черновики', + 'черновиктер', + 'սևագրեր', + 'טיוטות', + 'مسودات', + 'مسودات', + 'موسودې', + 'پیش نویسها', + 'ڈرافٹ/', + 'ड्राफ़्ट', + 'प्रारूप', + 'খসড়া', + 'খসড়া', + 'ড্ৰাফ্ট', + 'ਡ੍ਰਾਫਟ', + 'ડ્રાફ્ટસ', + 'ଡ୍ରାଫ୍ଟ', + 'வரைவுகள்', + 'చిత్తు ప్రతులు', + 'ಕರಡುಗಳು', + 'കരടുകള്‍', + 'කෙටුම් පත්', + 'ฉบับร่าง', + 'მონახაზები', + 'ረቂቆች', + 'សារព្រាង', + '下書き', + '草稿', + '草稿', + '草稿', + '임시 보관함' + ] + }, + + specialUse(hasSpecialUseExtension, folder) { + let result; + + if (hasSpecialUseExtension) { + result = { + flag: module.exports.flags.find(flag => folder.flags.has(flag)), + source: 'extension' + }; + } + + if (!result || !result.flag) { + let name = folder.name.toLowerCase().trim(); + result = { + flag: Object.keys(module.exports.names).find(flag => module.exports.names[flag].includes(name)), + source: 'name' + }; + } + + return result && result.flag ? result : { flag: null }; + } + }; +} (specialUse$1)); + +const { decodePath, encodePath: encodePath$b, normalizePath: normalizePath$c } = toolsExports; +const { specialUse } = specialUseExports; + +// Lists mailboxes from server +var list = async (connection, reference, mailbox, options) => { + options = options || {}; + + const FLAG_SORT_ORDER = ['\\Inbox', '\\Flagged', '\\Sent', '\\Drafts', '\\All', '\\Archive', '\\Junk', '\\Trash']; + const SOURCE_SORT_ORDER = ['user', 'extension', 'name']; + + let listCommand = connection.capabilities.has('XLIST') && !connection.capabilities.has('SPECIAL-USE') ? 'XLIST' : 'LIST'; + + let response; + try { + let entries = []; + + let statusMap = new Map(); + let returnArgs = []; + let statusQueryAttributes = []; + + if (options.statusQuery) { + Object.keys(options.statusQuery || {}).forEach(key => { + if (!options.statusQuery[key]) { + return; + } + + switch (key.toUpperCase()) { + case 'MESSAGES': + case 'RECENT': + case 'UIDNEXT': + case 'UIDVALIDITY': + case 'UNSEEN': + statusQueryAttributes.push({ type: 'ATOM', value: key.toUpperCase() }); + break; + + case 'HIGHESTMODSEQ': + if (connection.capabilities.has('CONDSTORE')) { + statusQueryAttributes.push({ type: 'ATOM', value: key.toUpperCase() }); + } + break; + } + }); + } + + if (listCommand === 'LIST' && connection.capabilities.has('LIST-STATUS') && statusQueryAttributes.length) { + returnArgs.push({ type: 'ATOM', value: 'STATUS' }, statusQueryAttributes); + if (connection.capabilities.has('SPECIAL-USE')) { + returnArgs.push({ type: 'ATOM', value: 'SPECIAL-USE' }); + } + } + + let specialUseMatches = {}; + let addSpecialUseMatch = (entry, type, source) => { + if (!specialUseMatches[type]) { + specialUseMatches[type] = []; + } + specialUseMatches[type].push({ entry, source }); + }; + + let specialUseHints = {}; + if (options.specialUseHints && typeof options.specialUseHints === 'object') { + for (let type of Object.keys(options.specialUseHints)) { + if (['sent', 'junk', 'trash', 'drafts'].includes(type) && options.specialUseHints[type] && typeof options.specialUseHints[type] === 'string') { + specialUseHints[normalizePath$c(connection, options.specialUseHints[type])] = `\\${type.replace(/^./, c => c.toUpperCase())}`; + } + } + } + + let runList = async (reference, mailbox) => { + const cmdArgs = [encodePath$b(connection, reference), encodePath$b(connection, mailbox)]; + + if (returnArgs.length) { + cmdArgs.push({ type: 'ATOM', value: 'RETURN' }, returnArgs); + } + + response = await connection.exec(listCommand, cmdArgs, { + untagged: { + [listCommand]: async untagged => { + if (!untagged.attributes || !untagged.attributes.length) { + return; + } + + let entry = { + path: normalizePath$c(connection, decodePath(connection, (untagged.attributes[2] && untagged.attributes[2].value) || '')), + pathAsListed: (untagged.attributes[2] && untagged.attributes[2].value) || '', + flags: new Set(untagged.attributes[0].map(entry => entry.value)), + delimiter: untagged.attributes[1] && untagged.attributes[1].value, + listed: true + }; + + if (specialUseHints[entry.path]) { + addSpecialUseMatch(entry, specialUseHints[entry.path], 'user'); + } + + if (listCommand === 'XLIST' && entry.flags.has('\\Inbox')) { + // XLIST specific flag, ignore + entry.flags.delete('\\Inbox'); + if (entry.path !== 'INBOX') { + // XLIST may use localised inbox name + addSpecialUseMatch(entry, '\\Inbox', 'extension'); + } + } + + if (entry.path.toUpperCase() === 'INBOX') { + addSpecialUseMatch(entry, '\\Inbox', 'name'); + } + + if (entry.delimiter && entry.path.charAt(0) === entry.delimiter) { + entry.path = entry.path.slice(1); + } + + entry.parentPath = entry.delimiter && entry.path ? entry.path.substr(0, entry.path.lastIndexOf(entry.delimiter)) : ''; + entry.parent = entry.delimiter ? entry.path.split(entry.delimiter) : [entry.path]; + entry.name = entry.parent.pop(); + + let { flag: specialUseFlag, source: flagSource } = specialUse( + connection.capabilities.has('XLIST') || connection.capabilities.has('SPECIAL-USE'), + entry + ); + + if (specialUseFlag) { + addSpecialUseMatch(entry, specialUseFlag, flagSource); + } + + entries.push(entry); + }, + + STATUS: async untagged => { + let statusPath = normalizePath$c(connection, decodePath(connection, (untagged.attributes[0] && untagged.attributes[0].value) || '')); + let statusList = untagged.attributes && Array.isArray(untagged.attributes[1]) ? untagged.attributes[1] : false; + if (!statusList || !statusPath) { + return; + } + + let key; + + let map = { path: statusPath }; + + statusList.forEach((entry, i) => { + if (i % 2 === 0) { + key = entry && typeof entry.value === 'string' ? entry.value : false; + return; + } + if (!key || !entry || typeof entry.value !== 'string') { + return; + } + let value = false; + switch (key.toUpperCase()) { + case 'MESSAGES': + key = 'messages'; + value = !isNaN(entry.value) ? Number(entry.value) : false; + break; + + case 'RECENT': + key = 'recent'; + value = !isNaN(entry.value) ? Number(entry.value) : false; + break; + + case 'UIDNEXT': + key = 'uidNext'; + value = !isNaN(entry.value) ? Number(entry.value) : false; + break; + + case 'UIDVALIDITY': + key = 'uidValidity'; + value = !isNaN(entry.value) ? BigInt(entry.value) : false; + break; + + case 'UNSEEN': + key = 'unseen'; + value = !isNaN(entry.value) ? Number(entry.value) : false; + break; + + case 'HIGHESTMODSEQ': + key = 'highestModseq'; + value = !isNaN(entry.value) ? BigInt(entry.value) : false; + break; + } + if (value === false) { + return; + } + + map[key] = value; + }); + + statusMap.set(statusPath, map); + } + } + }); + response.next(); + }; + + let normalizedReference = normalizePath$c(connection, reference || ''); + await runList(normalizedReference, normalizePath$c(connection, mailbox || '', true)); + + if (options.listOnly) { + return entries; + } + + if (normalizedReference && !specialUseMatches['\\Inbox']) { + // INBOX was most probably not included in the listing if namespace was used + await runList('', 'INBOX'); + } + + if (options.statusQuery) { + for (let entry of entries) { + if (!entry.flags.has('\\Noselect') && !entry.flags.has('\\NonExistent')) { + if (statusMap.has(entry.path)) { + entry.status = statusMap.get(entry.path); + } else if (!statusMap.size) { + // run STATUS command + try { + entry.status = await connection.run('STATUS', entry.path, options.statusQuery); + } catch (err) { + entry.status = { error: err }; + } + } + } + } + } + + response = await connection.exec( + 'LSUB', + [encodePath$b(connection, normalizePath$c(connection, reference || '')), encodePath$b(connection, normalizePath$c(connection, mailbox || '', true))], + { + untagged: { + LSUB: async untagged => { + if (!untagged.attributes || !untagged.attributes.length) { + return; + } + + let entry = { + path: normalizePath$c(connection, decodePath(connection, (untagged.attributes[2] && untagged.attributes[2].value) || '')), + pathAsListed: (untagged.attributes[2] && untagged.attributes[2].value) || '', + flags: new Set(untagged.attributes[0].map(entry => entry.value)), + delimiter: untagged.attributes[1] && untagged.attributes[1].value, + subscribed: true + }; + + if (entry.path.toUpperCase() === 'INBOX') { + addSpecialUseMatch(entry, '\\Inbox', 'name'); + } + + if (entry.delimiter && entry.path.charAt(0) === entry.delimiter) { + entry.path = entry.path.slice(1); + } + + entry.parentPath = entry.delimiter && entry.path ? entry.path.substr(0, entry.path.lastIndexOf(entry.delimiter)) : ''; + entry.parent = entry.delimiter ? entry.path.split(entry.delimiter) : [entry.path]; + entry.name = entry.parent.pop(); + + let existing = entries.find(existing => existing.path === entry.path); + if (existing) { + existing.subscribed = true; + entry.flags.forEach(flag => existing.flags.add(flag)); + } else { + // ignore non-listed folders + /* + let specialUseFlag = specialUse(connection.capabilities.has('XLIST') || connection.capabilities.has('SPECIAL-USE'), entry); + if (specialUseFlag && !flagsSeen.has(specialUseFlag)) { + entry.specialUse = specialUseFlag; + } + entries.push(entry); + */ + } + } + } + } + ); + response.next(); + + for (let type of Object.keys(specialUseMatches)) { + let sortedEntries = specialUseMatches[type].sort((a, b) => { + let aSource = SOURCE_SORT_ORDER.indexOf(a.source); + let bSource = SOURCE_SORT_ORDER.indexOf(b.source); + if (aSource === bSource) { + return a.entry.path.localeCompare(b.entry.path); + } + return aSource - bSource; + }); + + if (!sortedEntries[0].entry.specialUse) { + sortedEntries[0].entry.specialUse = type; + sortedEntries[0].entry.specialUseSource = sortedEntries[0].source; + } + } + + let inboxEntry = entries.find(entry => entry.specialUse === '\\Inbox'); + if (inboxEntry && !inboxEntry.subscribed) { + // override server settings and make INBOX always as subscribed + inboxEntry.subscribed = true; + } + + return entries.sort((a, b) => { + if (a.specialUse && !b.specialUse) { + return -1; + } + if (!a.specialUse && b.specialUse) { + return 1; + } + if (a.specialUse && b.specialUse) { + return FLAG_SORT_ORDER.indexOf(a.specialUse) - FLAG_SORT_ORDER.indexOf(b.specialUse); + } + + let aList = [].concat(a.parent).concat(a.name); + let bList = [].concat(b.parent).concat(b.name); + + for (let i = 0; i < aList.length; i++) { + let aPart = aList[i]; + let bPart = bList[i]; + if (aPart !== bPart) { + return aPart.localeCompare(bPart || ''); + } + } + + return a.path.localeCompare(b.path); + }); + } catch (err) { + connection.log.warn({ msg: 'Failed to list folders', err, cid: connection.id }); + throw err; + } +}; + +// Enables extensions +var enable = async (connection, extensionList) => { + if (!connection.capabilities.has('ENABLE') || connection.state !== connection.states.AUTHENTICATED) { + // nothing to do here + return; + } + + extensionList = extensionList.filter(extension => connection.capabilities.has(extension.toUpperCase())); + if (!extensionList.length) { + return; + } + + let response; + try { + let enabled = new Set(); + response = await connection.exec( + 'ENABLE', + extensionList.map(extension => ({ type: 'ATOM', value: extension.toUpperCase() })), + { + untagged: { + ENABLED: async untagged => { + if (!untagged.attributes || !untagged.attributes.length) { + return; + } + untagged.attributes.forEach(attr => { + if (attr.value && typeof attr.value === 'string') { + enabled.add(attr.value.toUpperCase().trim()); + } + }); + } + } + } + ); + connection.enabled = enabled; + response.next(); + return enabled; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const { encodePath: encodePath$a, normalizePath: normalizePath$b, getStatusCode: getStatusCode$d, getErrorText: getErrorText$d } = toolsExports; + +// Selects a mailbox +var select = async (connection, path, options) => { + if (![connection.states.AUTHENTICATED, connection.states.SELECTED].includes(connection.state)) { + // nothing to do here + return; + } + options = options || {}; + + path = normalizePath$b(connection, path); + + if (!connection.folders.has(path)) { + let folders = await connection.run('LIST', '', path); + if (!folders) { + throw new Error('Failed to fetch folders'); + } + folders.forEach(folder => { + connection.folders.set(folder.path, folder); + }); + } + + let folderListData = connection.folders.has(path) ? connection.folders.get(path) : false; + + let response; + try { + let map = { path }; + if (folderListData) { + ['delimiter', 'specialUse', 'subscribed', 'listed'].forEach(key => { + if (folderListData[key]) { + map[key] = folderListData[key]; + } + }); + } + + let extraArgs = []; + if (connection.enabled.has('QRESYNC') && options.changedSince && options.uidValidity) { + extraArgs.push([ + { type: 'ATOM', value: 'QRESYNC' }, + [ + { type: 'ATOM', value: options.uidValidity.toString() }, + { type: 'ATOM', value: options.changedSince.toString() } + ] + ]); + map.qresync = true; + } + + let encodedPath = encodePath$a(connection, path); + + response = await connection.exec( + !options.readOnly ? 'SELECT' : 'EXAMINE', + [{ type: encodedPath.indexOf('&') >= 0 ? 'STRING' : 'ATOM', value: encodedPath }].concat(extraArgs || []), + { + untagged: { + OK: async untagged => { + if (!untagged.attributes || !untagged.attributes.length) { + return; + } + let section = !untagged.attributes[0].value && untagged.attributes[0].section; + if (section && section.length > 1 && section[0].type === 'ATOM' && typeof section[0].value === 'string') { + let key = section[0].value.toLowerCase(); + let value; + + if (typeof section[1].value === 'string') { + value = section[1].value; + } else if (Array.isArray(section[1])) { + value = section[1].map(entry => (typeof entry.value === 'string' ? entry.value : false)).filter(entry => entry); + } + + switch (key) { + case 'highestmodseq': + key = 'highestModseq'; + if (/^[0-9]+$/.test(value)) { + value = BigInt(value); + } + break; + + case 'mailboxid': + key = 'mailboxId'; + if (Array.isArray(value) && value.length) { + value = value[0]; + } + break; + + case 'permanentflags': + key = 'permanentFlags'; + value = new Set(value); + break; + + case 'uidnext': + key = 'uidNext'; + value = Number(value); + break; + + case 'uidvalidity': + key = 'uidValidity'; + if (/^[0-9]+$/.test(value)) { + value = BigInt(value); + } + break; + } + + map[key] = value; + } + + if (section && section.length === 1 && section[0].type === 'ATOM' && typeof section[0].value === 'string') { + let key = section[0].value.toLowerCase(); + switch (key) { + case 'nomodseq': + key = 'noModseq'; + map[key] = true; + break; + } + } + }, + FLAGS: async untagged => { + if (!untagged.attributes || (!untagged.attributes.length && Array.isArray(untagged.attributes[0]))) { + return; + } + let flags = untagged.attributes[0].map(flag => (typeof flag.value === 'string' ? flag.value : false)).filter(flag => flag); + map.flags = new Set(flags); + }, + EXISTS: async untagged => { + let num = Number(untagged.command); + if (isNaN(num)) { + return false; + } + + map.exists = num; + }, + VANISHED: async untagged => { + await connection.untaggedVanished( + untagged, + // mailbox is not yet open, so use a dummy mailbox object + { path, uidNext: false, uidValidity: false } + ); + }, + // we should only get an untagged FETCH for a SELECT/EXAMINE if QRESYNC was asked for + FETCH: async untagged => { + await connection.untaggedFetch( + untagged, + // mailbox is not yet open, so use a dummy mailbox object + { path, uidNext: false, uidValidity: false } + ); + } + } + } + ); + + let section = !response.response.attributes[0].value && response.response.attributes[0].section; + if (section && section.length && section[0].type === 'ATOM' && typeof section[0].value === 'string') { + switch (section[0].value.toUpperCase()) { + case 'READ-ONLY': + map.readOnly = true; + break; + case 'READ-WRITE': + default: + map.readOnly = false; + break; + } + } + + if ( + map.qresync && + // UIDVALIDITY must be the same + (options.uidValidity !== map.uidValidity || + // HIGHESTMODSEQ response must be present + !map.highestModseq || + // NOMODSEQ is not allowed + map.noModseq) + ) { + // QRESYNC does not apply here, so unset it + map.qresync = false; + } + + let currentMailbox = connection.mailbox; + connection.mailbox = false; + + if (currentMailbox && currentMailbox.path !== path) { + connection.emit('mailboxClose', currentMailbox); + } + + connection.mailbox = map; + connection.state = connection.states.SELECTED; + + if (!currentMailbox || currentMailbox.path !== path) { + connection.emit('mailboxOpen', connection.mailbox); + } + + response.next(); + return map; + } catch (err) { + let errorCode = getStatusCode$d(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$d(err.response); + + if (connection.state === connection.states.SELECTED) { + // reset selected state + + let currentMailbox = connection.mailbox; + + connection.mailbox = false; + connection.state = connection.states.AUTHENTICATED; + + if (currentMailbox) { + connection.emit('mailboxClose', currentMailbox); + } + } + + connection.log.warn({ err, cid: connection.id }); + throw err; + } +}; + +const { formatMessageResponse: formatMessageResponse$1 } = toolsExports; + +// Fetches emails from server +var fetch = async (connection, range, query, options) => { + if (connection.state !== connection.states.SELECTED || !range) { + // nothing to do here + return; + } + + options = options || {}; + + let mailbox = connection.mailbox; + + let messages = { + count: 0, + list: [] + }; + + const commandKey = connection.capabilities.has('BINARY') && options.binary && !connection.disableBinary ? 'BINARY' : 'BODY'; + + let response; + try { + let attributes = [{ type: 'SEQUENCE', value: (range || '*').toString() }]; + + let queryStructure = []; + + let setBodyPeek = (attributes, partial) => { + let bodyPeek = { + type: 'ATOM', + value: `${commandKey}.PEEK`, + section: [], + partial + }; + + if (Array.isArray(attributes)) { + attributes.forEach(attribute => { + bodyPeek.section.push(attribute); + }); + } else if (attributes) { + bodyPeek.section.push(attributes); + } + + queryStructure.push(bodyPeek); + }; + + ['all', 'fast', 'full', 'uid', 'flags', 'bodyStructure', 'envelope', 'internalDate'].forEach(key => { + if (query[key]) { + queryStructure.push({ type: 'ATOM', value: key.toUpperCase() }); + } + }); + + if (query.size) { + queryStructure.push({ type: 'ATOM', value: 'RFC822.SIZE' }); + } + + if (query.source) { + let partial; + if (typeof query.source === 'object' && (query.source.start || query.source.maxLength)) { + partial = [Number(query.source.start) || 0]; + if (query.source.maxLength && !isNaN(query.source.maxLength)) { + partial.push(Number(query.source.maxLength)); + } + } + queryStructure.push({ type: 'ATOM', value: `${commandKey}.PEEK`, section: [], partial }); + } + + // if possible, always request for unique email id + if (connection.capabilities.has('OBJECTID')) { + queryStructure.push({ type: 'ATOM', value: 'EMAILID' }); + } else if (connection.capabilities.has('X-GM-EXT-1')) { + queryStructure.push({ type: 'ATOM', value: 'X-GM-MSGID' }); + } + + if (query.threadId) { + if (connection.capabilities.has('OBJECTID')) { + queryStructure.push({ type: 'ATOM', value: 'THREADID' }); + } else if (connection.capabilities.has('X-GM-EXT-1')) { + queryStructure.push({ type: 'ATOM', value: 'X-GM-THRID' }); + } + } + + if (query.labels) { + if (connection.capabilities.has('X-GM-EXT-1')) { + queryStructure.push({ type: 'ATOM', value: 'X-GM-LABELS' }); + } + } + + // always ask for modseq if possible + if (connection.enabled.has('CONDSTORE') && !mailbox.noModseq) { + queryStructure.push({ type: 'ATOM', value: 'MODSEQ' }); + } + + // always make sure to include UID in the request as well even though server might auto-add it itself + if (!query.uid) { + queryStructure.push({ type: 'ATOM', value: 'UID' }); + } + + if (query.headers) { + if (Array.isArray(query.headers)) { + setBodyPeek([{ type: 'ATOM', value: 'HEADER.FIELDS' }, query.headers.map(header => ({ type: 'ATOM', value: header }))]); + } else { + setBodyPeek({ type: 'ATOM', value: 'HEADER' }); + } + } + + if (query.bodyParts && query.bodyParts.length) { + query.bodyParts.forEach(part => { + if (!part) { + return; + } + let key; + let partial; + if (typeof part === 'object') { + if (!part.key || typeof part.key !== 'string') { + return; + } + key = part.key.toUpperCase(); + if (part.start || part.maxLength) { + partial = [Number(part.start) || 0]; + if (part.maxLength && !isNaN(part.maxLength)) { + partial.push(Number(part.maxLength)); + } + } + } else if (typeof part === 'string') { + key = part.toUpperCase(); + } else { + return; + } + + setBodyPeek({ type: 'ATOM', value: key }, partial); + }); + } + + if (queryStructure.length === 1) { + queryStructure = queryStructure.pop(); + } + + attributes.push(queryStructure); + + if (options.changedSince && connection.enabled.has('CONDSTORE') && !mailbox.noModseq) { + let changedSinceArgs = [ + { + type: 'ATOM', + value: 'CHANGEDSINCE' + }, + { + type: 'ATOM', + value: options.changedSince.toString() + } + ]; + + if (options.uid && connection.enabled.has('QRESYNC')) { + changedSinceArgs.push({ + type: 'ATOM', + value: 'VANISHED' + }); + } + + attributes.push(changedSinceArgs); + } + + response = await connection.exec(options.uid ? 'UID FETCH' : 'FETCH', attributes, { + untagged: { + FETCH: async untagged => { + messages.count++; + let formatted = await formatMessageResponse$1(untagged, mailbox); + if (typeof options.onUntaggedFetch === 'function') { + await new Promise((resolve, reject) => { + options.onUntaggedFetch(formatted, err => { + if (err) { + reject(err); + } else { + resolve(); + } + }); + }); + } else { + messages.list.push(formatted); + } + } + } + }); + + response.next(); + return messages; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const { encodePath: encodePath$9, normalizePath: normalizePath$a, getStatusCode: getStatusCode$c, getErrorText: getErrorText$c } = toolsExports; + +// Creates a new mailbox +var create = async (connection, path) => { + if (![connection.states.AUTHENTICATED, connection.states.SELECTED].includes(connection.state)) { + // nothing to do here + return; + } + + path = normalizePath$a(connection, path); + + let response; + try { + let map = { + path + }; + response = await connection.exec('CREATE', [{ type: 'ATOM', value: encodePath$9(connection, path) }]); + + let section = + response.response.attributes && + response.response.attributes[0] && + response.response.attributes[0].section && + response.response.attributes[0].section.length + ? response.response.attributes[0].section + : false; + + if (section) { + let key; + section.forEach((attribute, i) => { + if (i % 2 === 0) { + key = attribute && typeof attribute.value === 'string' ? attribute.value : false; + return; + } + + if (!key) { + return; + } + + let value; + switch (key.toLowerCase()) { + case 'mailboxid': + key = 'mailboxId'; + value = Array.isArray(attribute) && attribute[0] && typeof attribute[0].value === 'string' ? attribute[0].value : false; + break; + } + + if (key && value) { + map[key] = value; + } + }); + } + + map.created = true; + response.next(); + + //make sure we are subscribed to the new folder as well + await connection.run('SUBSCRIBE', path); + + return map; + } catch (err) { + let errorCode = getStatusCode$c(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$c(err.response); + + switch (errorCode) { + case 'ALREADYEXISTS': + // no need to do anything, mailbox already exists + return { + path, + created: false + }; + } + + if (errorCode) { + err.serverResponseCode = errorCode; + } + + connection.log.warn({ err, cid: connection.id }); + throw err; + } +}; + +const { encodePath: encodePath$8, normalizePath: normalizePath$9, getStatusCode: getStatusCode$b, getErrorText: getErrorText$b } = toolsExports; + +// Deletes an existing mailbox +var _delete = async (connection, path) => { + if (![connection.states.AUTHENTICATED, connection.states.SELECTED].includes(connection.state)) { + // nothing to do here + return; + } + + path = normalizePath$9(connection, path); + + if (connection.states.SELECTED && connection.mailbox.path === path) { + await connection.run('CLOSE'); + } + + let response; + try { + let map = { + path + }; + response = await connection.exec('DELETE', [{ type: 'ATOM', value: encodePath$8(connection, path) }]); + response.next(); + return map; + } catch (err) { + let errorCode = getStatusCode$b(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$b(err.response); + + connection.log.warn({ err, cid: connection.id }); + throw err; + } +}; + +const { encodePath: encodePath$7, normalizePath: normalizePath$8, getStatusCode: getStatusCode$a, getErrorText: getErrorText$a } = toolsExports; + +// Renames existing mailbox +var rename = async (connection, path, newPath) => { + if (![connection.states.AUTHENTICATED, connection.states.SELECTED].includes(connection.state)) { + // nothing to do here + return; + } + + path = normalizePath$8(connection, path); + newPath = normalizePath$8(connection, newPath); + + if (connection.states.SELECTED && connection.mailbox.path === path) { + await connection.run('CLOSE'); + } + + let response; + try { + let map = { + path, + newPath + }; + response = await connection.exec('RENAME', [ + { type: 'ATOM', value: encodePath$7(connection, path) }, + { type: 'ATOM', value: encodePath$7(connection, newPath) } + ]); + response.next(); + return map; + } catch (err) { + let errorCode = getStatusCode$a(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$a(err.response); + + connection.log.warn({ err, cid: connection.id }); + throw err; + } +}; + +// Closes a mailbox +var close = async connection => { + if (connection.state !== connection.states.SELECTED) { + // nothing to do here + return; + } + + let response; + try { + response = await connection.exec('CLOSE'); + response.next(); + + let currentMailbox = connection.mailbox; + connection.mailbox = false; + connection.state = connection.states.AUTHENTICATED; + + if (currentMailbox) { + connection.emit('mailboxClose', currentMailbox); + } + return true; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const { encodePath: encodePath$6, normalizePath: normalizePath$7, getStatusCode: getStatusCode$9, getErrorText: getErrorText$9 } = toolsExports; + +// Subscribes to a mailbox +var subscribe = async (connection, path) => { + if (![connection.states.AUTHENTICATED, connection.states.SELECTED].includes(connection.state)) { + // nothing to do here + return; + } + + path = normalizePath$7(connection, path); + + let response; + try { + response = await connection.exec('SUBSCRIBE', [{ type: 'ATOM', value: encodePath$6(connection, path) }]); + response.next(); + return true; + } catch (err) { + let errorCode = getStatusCode$9(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$9(err.response); + + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const { encodePath: encodePath$5, normalizePath: normalizePath$6, getStatusCode: getStatusCode$8, getErrorText: getErrorText$8 } = toolsExports; + +// Unsubscribes from a mailbox +var unsubscribe = async (connection, path) => { + if (![connection.states.AUTHENTICATED, connection.states.SELECTED].includes(connection.state)) { + // nothing to do here + return; + } + + path = normalizePath$6(connection, path); + + let response; + try { + response = await connection.exec('UNSUBSCRIBE', [{ type: 'ATOM', value: encodePath$5(connection, path) }]); + response.next(); + return true; + } catch (err) { + let errorCode = getStatusCode$8(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + + err.response = await getErrorText$8(err.response); + + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const { getStatusCode: getStatusCode$7, formatFlag: formatFlag$2, canUseFlag: canUseFlag$2, getErrorText: getErrorText$7 } = toolsExports; + +// Updates flags for a message +var store = async (connection, range, flags, options) => { + if (connection.state !== connection.states.SELECTED || !range || (options.useLabels && !connection.capabilities.has('X-GM-EXT-1'))) { + // nothing to do here + return false; + } + + options = options || {}; + let operation; + + operation = 'FLAGS'; + + if (options.useLabels) { + operation = 'X-GM-LABELS'; + } else if (options.silent) { + operation = `${operation}.SILENT`; + } + + switch ((options.operation || '').toLowerCase()) { + case 'set': + // do nothing, keep operation value as is + break; + case 'remove': + operation = `-${operation}`; + break; + case 'add': + default: + operation = `+${operation}`; + break; + } + + flags = (Array.isArray(flags) ? flags : [].concat(flags || [])) + .map(flag => { + flag = formatFlag$2(flag); + + if (!canUseFlag$2(connection.mailbox, flag) && operation !== 'remove') { + // it does not seem that we can set this flag + return false; + } + + return flag; + }) + .filter(flag => flag); + + if (!flags.length && operation !== 'set') { + // nothing to do here + return false; + } + + let attributes = [{ type: 'SEQUENCE', value: range }, { type: 'ATOM', value: operation }, flags.map(flag => ({ type: 'ATOM', value: flag }))]; + + if (options.unchangedSince && connection.enabled.has('CONDSTORE') && !connection.mailbox.noModseq) { + attributes.push([ + { + type: 'ATOM', + value: 'UNCHANGEDSINCE' + }, + { + type: 'ATOM', + value: options.unchangedSince.toString() + } + ]); + } + + let response; + try { + response = await connection.exec(options.uid ? 'UID STORE' : 'STORE', attributes); + response.next(); + return true; + } catch (err) { + let errorCode = getStatusCode$7(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$7(err.response); + + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +var searchCompiler$1 = {}; + +const { formatDate, formatFlag: formatFlag$1, canUseFlag: canUseFlag$1 } = toolsExports; + +let setBoolOpt = (attributes, term, value) => { + if (!value) { + if (/^un/i.test(term)) { + term = term.slice(2); + } else { + term = 'UN' + term; + } + } + + attributes.push({ type: 'ATOM', value: term.toUpperCase() }); +}; + +let setOpt = (attributes, term, value, type) => { + type = type || 'ATOM'; + + if (value === false || value === null) { + attributes.push({ type, value: 'NOT' }); + } + + attributes.push({ type, value: term.toUpperCase() }); + + if (Array.isArray(value)) { + value.forEach(entry => attributes.push({ type, value: (entry || '').toString() })); + } else { + attributes.push({ type, value: value.toString() }); + } +}; + +let processDateField = (attributes, term, value) => { + let date = formatDate(value); + if (!date) { + return; + } + + setOpt(attributes, term, date); +}; + +let isUnicodeString = str => { + if (!str || typeof str !== 'string') { + return false; + } + + return Buffer.byteLength(str) !== str.length; +}; + +searchCompiler$1.searchCompiler = (connection, query) => { + const attributes = []; + + let hasUnicode = false; + const mailbox = connection.mailbox; + + const walk = params => { + Object.keys(params || {}).forEach(term => { + switch (term.toUpperCase()) { + case 'SEQ': // custom key for sequence range + { + let value = params[term]; + if (typeof value === 'number') { + value = value.toString(); + } + if (typeof value === 'string' && /^\S+$/.test(value)) { + attributes.push({ type: 'SEQUENCE', value }); + } + } + break; + + case 'ANSWERED': + case 'DELETED': + case 'DRAFT': + case 'FLAGGED': + case 'SEEN': + case 'UNANSWERED': + case 'UNDELETED': + case 'UNDRAFT': + case 'UNFLAGGED': + case 'UNSEEN': + // toggles UN-prefix for falsy values + setBoolOpt(attributes, term, !!params[term]); + break; + + case 'ALL': + case 'NEW': + case 'OLD': + case 'RECENT': + if (params[term]) { + setBoolOpt(attributes, term, true); + } + break; + + case 'LARGER': + case 'SMALLER': + case 'MODSEQ': + if (params[term]) { + setOpt(attributes, term, params[term]); + } + break; + + case 'BCC': + case 'BODY': + case 'CC': + case 'FROM': + case 'SUBJECT': + case 'TEXT': + case 'TO': + if (isUnicodeString(params[term])) { + hasUnicode = true; + } + if (params[term]) { + setOpt(attributes, term, params[term]); + } + break; + + case 'UID': + if (params[term]) { + setOpt(attributes, term, params[term], 'SEQUENCE'); + } + break; + + case 'EMAILID': + if (connection.capabilities.has('OBJECTID')) { + setOpt(attributes, 'EMAILID', params[term]); + } else if (connection.capabilities.has('X-GM-EXT-1')) { + setOpt(attributes, 'X-GM-MSGID', params[term]); + } + break; + + case 'THREADID': + if (connection.capabilities.has('OBJECTID')) { + setOpt(attributes, 'THREADID', params[term]); + } else if (connection.capabilities.has('X-GM-EXT-1')) { + setOpt(attributes, 'X-GM-THRID', params[term]); + } + break; + + case 'GMRAW': + case 'GMAILRAW': // alias for GMRAW + if (connection.capabilities.has('X-GM-EXT-1')) { + if (isUnicodeString(params[term])) { + hasUnicode = true; + } + setOpt(attributes, 'X-GM-RAW', params[term]); + } else { + let error = new Error('Server does not support X-GM-EXT-1 extension required for X-GM-RAW'); + error.code = 'MissingServerExtension'; + throw error; + } + break; + + case 'BEFORE': + case 'ON': + case 'SINCE': + case 'SENTBEFORE': + case 'SENTON': + case 'SENTSINCE': + processDateField(attributes, term, params[term]); + break; + + case 'KEYWORD': + case 'UNKEYWORD': + { + let flag = formatFlag$1(params[term]); + if (canUseFlag$1(mailbox, flag) || mailbox.flags.has(flag)) { + setOpt(attributes, term, flag); + } + } + break; + + case 'HEADER': + if (params[term] && typeof params[term] === 'object') { + Object.keys(params[term]).forEach(header => { + let value = params[term][header]; + if (value === true) { + value = ''; + } + + if (typeof value !== 'string') { + return; + } + + if (isUnicodeString(value)) { + hasUnicode = true; + } + + setOpt(attributes, term, [header.toUpperCase().trim(), value]); + }); + } + break; + + case 'OR': + { + if (!params[term] || !Array.isArray(params[term]) || !params[term].length) { + break; + } + + if (params[term].length === 1) { + if (typeof params[term][0] === 'object' && params[term][0]) { + walk(params[term][0]); + } + break; + } + + // OR values has to be grouped by 2 + // OR conditional1 conditional2 + let genOrTree = list => { + let group = false; + let groups = []; + + list.forEach((entry, i) => { + if (i % 2 === 0) { + group = [entry]; + } else { + group.push(entry); + groups.push(group); + group = false; + } + }); + + if (group && group.length) { + while (group.length === 1 && Array.isArray(group[0])) { + group = group[0]; + } + + groups.push(group); + } + + while (groups.length > 2) { + groups = genOrTree(groups); + } + + while (groups.length === 1 && Array.isArray(groups[0])) { + groups = groups[0]; + } + + return groups; + }; + + let walkOrTree = entry => { + if (Array.isArray(entry)) { + if (entry.length > 1) { + attributes.push({ type: 'ATOM', value: 'OR' }); + } + entry.forEach(walkOrTree); + return; + } + if (entry && typeof entry === 'object') { + walk(entry); + } + }; + walkOrTree(genOrTree(params[term])); + } + break; + } + }); + }; + + walk(query); + + if (hasUnicode) { + attributes.unshift({ type: 'ATOM', value: 'UTF-8' }); + attributes.unshift({ type: 'ATOM', value: 'CHARSET' }); + } + + return attributes; +}; + +const { getStatusCode: getStatusCode$6, getErrorText: getErrorText$6 } = toolsExports; +const { searchCompiler } = searchCompiler$1; + +// Updates flags for a message +var search = async (connection, query, options) => { + if (connection.state !== connection.states.SELECTED) { + // nothing to do here + return false; + } + + options = options || {}; + + let attributes; + + if (!query || query === true || (typeof query === 'object' && (!Object.keys(query).length || (Object.keys(query).length === 1 && query.all)))) { + // search for all messages + attributes = [{ type: 'ATOM', value: 'ALL' }]; + } else if (query && typeof query === 'object') { + // normal query + attributes = searchCompiler(connection, query); + } else { + return false; + } + + let results = new Set(); + let response; + try { + response = await connection.exec(options.uid ? 'UID SEARCH' : 'SEARCH', attributes, { + untagged: { + SEARCH: async untagged => { + if (untagged && untagged.attributes && untagged.attributes.length) { + untagged.attributes.forEach(attribute => { + if (attribute && attribute.value && typeof attribute.value === 'string' && !isNaN(attribute.value)) { + results.add(Number(attribute.value)); + } + }); + } + } + } + }); + response.next(); + return Array.from(results).sort((a, b) => a - b); + } catch (err) { + let errorCode = getStatusCode$6(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$6(err.response); + + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +// Sends a NO-OP command +var noop = async connection => { + try { + let response = await connection.exec('NOOP', false, { comment: 'Requested by command' }); + response.next(); + return true; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const { getStatusCode: getStatusCode$5, getErrorText: getErrorText$5 } = toolsExports; + +// Deletes specified messages +var expunge = async (connection, range, options) => { + if (connection.state !== connection.states.SELECTED || !range) { + // nothing to do here + return; + } + + options = options || {}; + + await connection.messageFlagsAdd(range, ['\\Deleted'], options); + + let byUid = options.uid && connection.capabilities.has('UIDPLUS'); + let command = byUid ? 'UID EXPUNGE' : 'EXPUNGE'; + let attributes = byUid ? [{ type: 'SEQUENCE', value: range }] : false; + + let response; + try { + response = await connection.exec(command, attributes); + + // A OK [HIGHESTMODSEQ 9122] Expunge completed (0.010 + 0.000 + 0.012 secs). + let section = response.response.attributes && response.response.attributes[0] && response.response.attributes[0].section; + let responseCode = section && section.length && section[0] && typeof section[0].value === 'string' ? section[0].value : ''; + if (responseCode.toUpperCase() === 'HIGHESTMODSEQ') { + let highestModseq = section[1] && typeof section[1].value === 'string' && !isNaN(section[1].value) ? BigInt(section[1].value) : false; + if (highestModseq && (!connection.mailbox.highestModseq || highestModseq > connection.mailbox.highestModseq)) { + connection.mailbox.highestModseq = highestModseq; + } + } + + response.next(); + return true; + } catch (err) { + let errorCode = getStatusCode$5(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$5(err.response); + + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const { getStatusCode: getStatusCode$4, formatFlag, canUseFlag, formatDateTime, normalizePath: normalizePath$5, encodePath: encodePath$4, comparePaths: comparePaths$1, getErrorText: getErrorText$4 } = toolsExports; + +// Appends a message to a mailbox +var append = async (connection, destination, content, flags, idate) => { + if (![connection.states.AUTHENTICATED, connection.states.SELECTED].includes(connection.state) || !destination) { + // nothing to do here + return; + } + + if (connection.capabilities.has('APPENDLIMIT')) { + let appendLimit = connection.capabilities.get('APPENDLIMIT'); + if (typeof appendLimit === 'number' && appendLimit < content.length) { + let err = new Error('Message content too big for APPENDLIMIT=' + appendLimit); + err.serverResponseCode = 'APPENDLIMIT'; + throw err; + } + } + + destination = normalizePath$5(connection, destination); + + let expectExists = comparePaths$1(connection, connection.mailbox.path, destination); + + flags = (Array.isArray(flags) ? flags : [].concat(flags || [])) + .map(flag => flag && formatFlag(flag.toString())) + .filter(flag => flag && canUseFlag(connection.mailbox, flag)); + + let attributes = [{ type: 'ATOM', value: encodePath$4(connection, destination) }]; + + idate = idate ? formatDateTime(idate) : false; + + if (flags.length || idate) { + attributes.push(flags.map(flag => ({ type: 'ATOM', value: flag }))); + } + + if (idate) { + attributes.push({ type: 'STRING', value: idate }); // force quotes as required by date-time + } + + let isLiteral8 = false; + if (connection.capabilities.has('BINARY') && !connection.disableBinary) { + if (typeof content === 'string') { + content = Buffer.from(content); + } + // Value is literal8 if it contains NULL bytes. The server must support the BINARY extension + // and if it does not then send the value as a regular literal and hope for the best + isLiteral8 = content.indexOf(Buffer.from([0])) >= 0; + } + + attributes.push({ type: 'LITERAL', value: content, isLiteral8 }); + + let map = { destination }; + if (connection.mailbox && connection.mailbox.path) { + map.path = connection.mailbox.path; + } + + let response; + try { + response = await connection.exec('APPEND', attributes, { + untagged: expectExists + ? { + EXISTS: async untagged => { + map.seq = Number(untagged.command); + + if (expectExists) { + let prevCount = connection.mailbox.exists; + if (map.seq !== prevCount) { + connection.mailbox.exists = map.seq; + connection.emit('exists', { + path: connection.mailbox.path, + count: map.seq, + prevCount + }); + } + } + } + } + : false + }); + + let section = response.response.attributes && response.response.attributes[0] && response.response.attributes[0].section; + if (section && section.length) { + let responseCode = section[0] && typeof section[0].value === 'string' ? section[0].value : ''; + switch (responseCode.toUpperCase()) { + case 'APPENDUID': + { + let uidValidity = section[1] && typeof section[1].value === 'string' && !isNaN(section[1].value) ? BigInt(section[1].value) : false; + let uid = section[2] && typeof section[2].value === 'string' && !isNaN(section[2].value) ? Number(section[2].value) : false; + if (uidValidity) { + map.uidValidity = uidValidity; + } + if (uid) { + map.uid = uid; + } + } + break; + } + } + + response.next(); + + if (expectExists && !map.seq) { + // try to use NOOP to get the new sequence number + try { + response = await connection.exec('NOOP', false, { + untagged: { + EXISTS: async untagged => { + map.seq = Number(untagged.command); + + if (expectExists) { + let prevCount = connection.mailbox.exists; + if (map.seq !== prevCount) { + connection.mailbox.exists = map.seq; + connection.emit('exists', { + path: connection.mailbox.path, + count: map.seq, + prevCount + }); + } + } + } + }, + comment: 'Sequence not found from APPEND output' + }); + response.next(); + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + } + } + + if (map.seq && !map.uid) { + let list = await connection.search({ seq: map.seq }, { uid: true }); + if (list && list.length) { + map.uid = list[0]; + } + } + + return map; + } catch (err) { + let errorCode = getStatusCode$4(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$4(err.response); + + connection.log.warn({ err, cid: connection.id }); + throw err; + } +}; + +const { encodePath: encodePath$3, normalizePath: normalizePath$4 } = toolsExports; + +// Requests info about a mailbox +var status = async (connection, path, query) => { + if (![connection.states.AUTHENTICATED, connection.states.SELECTED].includes(connection.state) || !path) { + // nothing to do here + return false; + } + + path = normalizePath$4(connection, path); + let encodedPath = encodePath$3(connection, path); + + let attributes = [{ type: encodedPath.indexOf('&') >= 0 ? 'STRING' : 'ATOM', value: encodedPath }]; + + let queryAttributes = []; + Object.keys(query || {}).forEach(key => { + if (!query[key]) { + return; + } + + switch (key.toUpperCase()) { + case 'MESSAGES': + case 'RECENT': + case 'UIDNEXT': + case 'UIDVALIDITY': + case 'UNSEEN': + queryAttributes.push({ type: 'ATOM', value: key.toUpperCase() }); + break; + + case 'HIGHESTMODSEQ': + if (connection.capabilities.has('CONDSTORE')) { + queryAttributes.push({ type: 'ATOM', value: key.toUpperCase() }); + } + break; + } + }); + + if (!queryAttributes.length) { + return false; + } + + attributes.push(queryAttributes); + + let response; + try { + let map = { path }; + response = await connection.exec('STATUS', attributes, { + untagged: { + STATUS: async untagged => { + // If STATUS is for current mailbox then update mailbox values + let updateCurrent = connection.state === connection.states.SELECTED && path === connection.mailbox.path; + + let list = untagged.attributes && Array.isArray(untagged.attributes[1]) ? untagged.attributes[1] : false; + if (!list) { + return; + } + let key; + list.forEach((entry, i) => { + if (i % 2 === 0) { + key = entry && typeof entry.value === 'string' ? entry.value : false; + return; + } + if (!key || !entry || typeof entry.value !== 'string') { + return; + } + let value = false; + switch (key.toUpperCase()) { + case 'MESSAGES': + key = 'messages'; + value = !isNaN(entry.value) ? Number(entry.value) : false; + if (updateCurrent) { + let prevCount = connection.mailbox.exists; + if (prevCount !== value) { + // somehow message count in current folder has changed? + connection.mailbox.exists = value; + connection.emit('exists', { + path, + count: value, + prevCount + }); + } + } + break; + + case 'RECENT': + key = 'recent'; + value = !isNaN(entry.value) ? Number(entry.value) : false; + break; + + case 'UIDNEXT': + key = 'uidNext'; + value = !isNaN(entry.value) ? Number(entry.value) : false; + if (updateCurrent) { + connection.mailbox.uidNext = value; + } + break; + + case 'UIDVALIDITY': + key = 'uidValidity'; + value = !isNaN(entry.value) ? BigInt(entry.value) : false; + break; + + case 'UNSEEN': + key = 'unseen'; + value = !isNaN(entry.value) ? Number(entry.value) : false; + break; + + case 'HIGHESTMODSEQ': + key = 'highestModseq'; + value = !isNaN(entry.value) ? BigInt(entry.value) : false; + if (updateCurrent) { + connection.mailbox.highestModseq = value; + } + break; + } + if (value === false) { + return; + } + + map[key] = value; + }); + } + } + }); + response.next(); + return map; + } catch (err) { + if (err.responseStatus === 'NO') { + let folders = await connection.run('LIST', '', path, { listOnly: true }); + if (folders && !folders.length) { + let error = new Error(`Mailbox doesn't exist: ${path}`); + error.code = 'NotFound'; + error.response = err; + throw error; + } + } + + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const { getStatusCode: getStatusCode$3, normalizePath: normalizePath$3, encodePath: encodePath$2, expandRange: expandRange$2, getErrorText: getErrorText$3 } = toolsExports; + +// Copies messages from current mailbox to some other mailbox +var copy = async (connection, range, destination, options) => { + if (connection.state !== connection.states.SELECTED || !range || !destination) { + // nothing to do here + return; + } + + options = options || {}; + destination = normalizePath$3(connection, destination); + + let attributes = [ + { type: 'SEQUENCE', value: range }, + { type: 'ATOM', value: encodePath$2(connection, destination) } + ]; + + let response; + try { + response = await connection.exec(options.uid ? 'UID COPY' : 'COPY', attributes); + response.next(); + + let map = { path: connection.mailbox.path, destination }; + let section = response.response.attributes && response.response.attributes[0] && response.response.attributes[0].section; + let responseCode = section && section.length && section[0] && typeof section[0].value === 'string' ? section[0].value : ''; + switch (responseCode) { + case 'COPYUID': + { + let uidValidity = section[1] && typeof section[1].value === 'string' && !isNaN(section[1].value) ? BigInt(section[1].value) : false; + if (uidValidity) { + map.uidValidity = uidValidity; + } + + let sourceUids = section[2] && typeof section[2].value === 'string' ? expandRange$2(section[2].value) : false; + let destinationUids = section[3] && typeof section[3].value === 'string' ? expandRange$2(section[3].value) : false; + if (sourceUids && destinationUids && sourceUids.length === destinationUids.length) { + map.uidMap = new Map(sourceUids.map((uid, i) => [uid, destinationUids[i]])); + } + } + break; + } + + return map; + } catch (err) { + let errorCode = getStatusCode$3(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$3(err.response); + + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const { getStatusCode: getStatusCode$2, normalizePath: normalizePath$2, encodePath: encodePath$1, expandRange: expandRange$1, getErrorText: getErrorText$2 } = toolsExports; + +// Moves messages from current mailbox to some other mailbox +var move = async (connection, range, destination, options) => { + if (connection.state !== connection.states.SELECTED || !range || !destination) { + // nothing to do here + return; + } + + options = options || {}; + destination = normalizePath$2(connection, destination); + + let attributes = [ + { type: 'SEQUENCE', value: range }, + { type: 'ATOM', value: encodePath$1(connection, destination) } + ]; + + let map = { path: connection.mailbox.path, destination }; + + if (!connection.capabilities.has('MOVE')) { + let result = await connection.messageCopy(range, destination, options); + await connection.messageDelete(range, Object.assign({ silent: true }, options)); + return result; + } + + let checkMoveInfo = response => { + let section = response.attributes && response.attributes[0] && response.attributes[0].section; + let responseCode = section && section.length && section[0] && typeof section[0].value === 'string' ? section[0].value : ''; + switch (responseCode) { + case 'COPYUID': + { + let uidValidity = section[1] && typeof section[1].value === 'string' && !isNaN(section[1].value) ? BigInt(section[1].value) : false; + if (uidValidity) { + map.uidValidity = uidValidity; + } + + let sourceUids = section[2] && typeof section[2].value === 'string' ? expandRange$1(section[2].value) : false; + let destinationUids = section[3] && typeof section[3].value === 'string' ? expandRange$1(section[3].value) : false; + if (sourceUids && destinationUids && sourceUids.length === destinationUids.length) { + map.uidMap = new Map(sourceUids.map((uid, i) => [uid, destinationUids[i]])); + } + } + break; + } + }; + + let response; + try { + response = await connection.exec(options.uid ? 'UID MOVE' : 'MOVE', attributes, { + untagged: { + OK: async untagged => { + checkMoveInfo(untagged); + } + } + }); + response.next(); + + checkMoveInfo(response.response); + return map; + } catch (err) { + let errorCode = getStatusCode$2(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$2(err.response); + + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +// Requests compression from server +var compress = async connection => { + if (!connection.capabilities.has('COMPRESS=DEFLATE') || connection._inflate) { + // nothing to do here + return false; + } + + let response; + try { + response = await connection.exec('COMPRESS', [{ type: 'ATOM', value: 'DEFLATE' }]); + response.next(); + return true; + } catch (err) { + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const { encodePath, getStatusCode: getStatusCode$1, normalizePath: normalizePath$1, getErrorText: getErrorText$1 } = toolsExports; + +// Requests quota information for a mailbox +var quota = async (connection, path) => { + if (![connection.states.AUTHENTICATED, connection.states.SELECTED].includes(connection.state) || !path) { + // nothing to do here + return; + } + + if (!connection.capabilities.has('QUOTA')) { + return false; + } + + path = normalizePath$1(connection, path); + + let map = { path }; + + let processQuotaResponse = untagged => { + let attributes = untagged.attributes && untagged.attributes[1]; + if (!attributes || !attributes.length) { + return false; + } + + let key = false; + attributes.forEach((attribute, i) => { + if (i % 3 === 0) { + key = attribute && typeof attribute.value === 'string' ? attribute.value.toLowerCase() : false; + return; + } + if (!key) { + return; + } + + let value = attribute && typeof attribute.value === 'string' && !isNaN(attribute.value) ? Number(attribute.value) : false; + if (value === false) { + return; + } + + if (i % 3 === 1) { + // usage + if (!map[key]) { + map[key] = {}; + } + map[key].usage = value * (key === 'storage' ? 1024 : 1); + } + + if (i % 3 === 2) { + // limit + if (!map[key]) { + map[key] = {}; + } + map[key].limit = value * (key === 'storage' ? 1024 : 1); + + if (map[key].limit) { + map[key].status = Math.round(((map[key].usage || 0) / map[key].limit) * 100) + '%'; + } + } + }); + }; + + let quotaFound = false; + let response; + try { + response = await connection.exec('GETQUOTAROOT', [{ type: 'ATOM', value: encodePath(connection, path) }], { + untagged: { + QUOTAROOT: async untagged => { + let quotaRoot = + untagged.attributes && untagged.attributes[1] && typeof untagged.attributes[1].value === 'string' + ? untagged.attributes[1].value + : false; + if (quotaRoot) { + map.quotaRoot = quotaRoot; + } + }, + QUOTA: async untagged => { + quotaFound = true; + processQuotaResponse(untagged); + } + } + }); + + response.next(); + + if (map.quotaRoot && !quotaFound) { + response = await connection.exec('GETQUOTA', [{ type: 'ATOM', value: map.quotaRoot }], { + untagged: { + QUOTA: async untagged => { + processQuotaResponse(untagged); + } + } + }); + } + + return map; + } catch (err) { + let errorCode = getStatusCode$1(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.response = await getErrorText$1(err.response); + + connection.log.warn({ err, cid: connection.id }); + return false; + } +}; + +const NOOP_INTERVAL = 2 * 60 * 1000; + +async function runIdle(connection) { + let response; + + let preCheckWaitQueue = []; + try { + connection.idling = true; + + //let idleSent = false; + let doneRequested = false; + let doneSent = false; + let canEnd = false; + + let preCheck = () => { + doneRequested = true; + if (canEnd && !doneSent) { + connection.log.debug({ + src: 'c', + msg: `DONE`, + comment: `breaking IDLE`, + lockId: connection.currentLockId, + path: connection.mailbox && connection.mailbox.path + }); + connection.write('DONE'); + doneSent = true; + + connection.idling = false; + connection.preCheck = false; // unset itself + + while (preCheckWaitQueue.length) { + let { resolve } = preCheckWaitQueue.shift(); + resolve(); + } + } + }; + + connection.preCheck = () => { + let handler = new Promise((resolve, reject) => { + preCheckWaitQueue.push({ resolve, reject }); + }); + + connection.log.trace({ + msg: 'Requesting IDLE break', + lockId: connection.currentLockId, + path: connection.mailbox && connection.mailbox.path, + queued: preCheckWaitQueue.length, + doneRequested, + canEnd, + doneSent + }); + + preCheck(); + + return handler; + }; + + response = await connection.exec('IDLE', false, { + onPlusTag: async () => { + connection.log.debug({ msg: `Initiated IDLE, waiting for server input`, doneRequested }); + canEnd = true; + if (doneRequested) { + preCheck(); + } + }, + onSend: () => { + //idleSent = true; + } + }); + + // unset before response.next() + if (typeof connection.preCheck === 'function') { + connection.log.trace({ + msg: 'Clearing pre-check function', + lockId: connection.currentLockId, + path: connection.mailbox && connection.mailbox.path, + queued: preCheckWaitQueue.length, + doneRequested, + canEnd, + doneSent + }); + connection.preCheck = false; + while (preCheckWaitQueue.length) { + let { resolve } = preCheckWaitQueue.shift(); + resolve(); + } + } + + response.next(); + return; + } catch (err) { + connection.preCheck = false; + connection.idling = false; + + connection.log.warn({ err, cid: connection.id }); + while (preCheckWaitQueue.length) { + let { reject } = preCheckWaitQueue.shift(); + reject(err); + } + return false; + } +} + +// Listes for changes in mailbox +var idle = async (connection, maxIdleTime) => { + if (connection.state !== connection.states.SELECTED) { + // nothing to do here + return; + } + + if (connection.capabilities.has('IDLE')) { + let idleTimer; + let stillIdling = false; + let runIdleLoop = async () => { + if (maxIdleTime) { + idleTimer = setTimeout(() => { + if (connection.idling) { + if (typeof connection.preCheck === 'function') { + stillIdling = true; + // request IDLE break if IDLE has been running for allowed time + connection.log.trace({ msg: 'Max allowed IDLE time reached', cid: connection.id }); + connection.preCheck().catch(err => connection.log.warn({ err, cid: connection.id })); + } + } + }, maxIdleTime); + } + let resp = await runIdle(connection); + clearTimeout(idleTimer); + if (stillIdling) { + stillIdling = false; + return runIdleLoop(); + } + return resp; + }; + return runIdleLoop(); + } + + let idleTimer; + + return new Promise(resolve => { + // no IDLE support, fallback to NOOP'ing + connection.preCheck = async () => { + connection.preCheck = false; // unset itself + clearTimeout(idleTimer); + connection.log.debug({ src: 'c', msg: `breaking NOOP loop` }); + connection.idling = false; + resolve(); + }; + + let idleCheck = async () => { + let response = await connection.exec('NOOP', false, { comment: 'IDLE not supported' }); + response.next(); + }; + + let noopInterval = maxIdleTime ? Math.min(NOOP_INTERVAL, maxIdleTime) : NOOP_INTERVAL; + + let runLoop = () => { + idleCheck() + .then(() => { + clearTimeout(idleTimer); + idleTimer = setTimeout(runLoop, noopInterval); + }) + .catch(err => { + clearTimeout(idleTimer); + connection.preCheck = false; + connection.log.warn({ err, cid: connection.id }); + resolve(); + }); + }; + + connection.log.debug({ src: 'c', msg: `initiated NOOP loop` }); + connection.idling = true; + runLoop(); + }); +}; + +const { getStatusCode, getErrorText } = toolsExports; + +// Authenticates user using LOGIN +var authenticate = async (connection, username, accessToken) => { + if (connection.state !== connection.states.NOT_AUTHENTICATED) { + // nothing to do here + return; + } + + // AUTH=OAUTHBEARER and AUTH=XOAUTH in the context of OAuth2 or very similar so we can handle these together + if (connection.capabilities.has('AUTH=OAUTHBEARER') || connection.capabilities.has('AUTH=XOAUTH') || connection.capabilities.has('AUTH=XOAUTH2')) { + let oauthbearer; + let command; + let breaker; + + if (connection.capabilities.has('AUTH=OAUTHBEARER')) { + oauthbearer = [`n,a=${username},`, `host=${connection.servername}`, `port=993`, `auth=Bearer ${accessToken}`, '', ''].join('\x01'); + command = 'OAUTHBEARER'; + breaker = 'AQ=='; + } else if (connection.capabilities.has('AUTH=XOAUTH') || connection.capabilities.has('AUTH=XOAUTH2')) { + oauthbearer = [`user=${username}`, `auth=Bearer ${accessToken}`, '', ''].join('\x01'); + command = 'XOAUTH2'; + breaker = ''; + } + + let errorResponse = false; + try { + let response = await connection.exec( + 'AUTHENTICATE', + [ + { type: 'ATOM', value: command }, + { type: 'ATOM', value: Buffer.from(oauthbearer).toString('base64'), sensitive: true } + ], + { + onPlusTag: async resp => { + if (resp.attributes && resp.attributes[0] && resp.attributes[0].type === 'TEXT') { + try { + errorResponse = JSON.parse(Buffer.from(resp.attributes[0].value, 'base64').toString()); + } catch (err) { + connection.log.debug({ errorResponse: resp.attributes[0].value, err }); + } + } + + connection.log.debug({ src: 'c', msg: breaker, comment: `Error response for ${command}` }); + connection.write(breaker); + } + } + ); + response.next(); + + connection.authCapabilities.set(`AUTH=${command}`, true); + + return username; + } catch (err) { + let errorCode = getStatusCode(err.response); + if (errorCode) { + err.serverResponseCode = errorCode; + } + err.authenticationFailed = true; + err.response = await getErrorText(err.response); + if (errorResponse) { + err.oauthError = errorResponse; + } + throw err; + } + } + + throw new Error('Unsupported authentication mechanism'); +}; + +/* eslint global-require:0 */ + +var imapCommands$1 = new Map([ + ['ID', id], + ['CAPABILITY', capability], + ['NAMESPACE', namespace], + ['LOGIN', login], + ['LOGOUT', logout], + ['STARTTLS', starttls], + ['LIST', list], + ['ENABLE', enable], + ['SELECT', select], + ['FETCH', fetch], + ['CREATE', create], + ['DELETE', _delete], + ['RENAME', rename], + ['CLOSE', close], + ['SUBSCRIBE', subscribe], + ['UNSUBSCRIBE', unsubscribe], + ['STORE', store], + ['SEARCH', search], + ['NOOP', noop], + ['EXPUNGE', expunge], + ['APPEND', append], + ['STATUS', status], + ['COPY', copy], + ['MOVE', move], + ['COMPRESS', compress], + ['QUOTA', quota], + ['IDLE', idle], + ['AUTHENTICATE', authenticate] +]); + +/** + * @module imapflow + */ + +// TODO: +// * Use buffers for compiled commands +// * OAuth2 authentication + +const tls = require$$1$4; +const net = require$$1$3; +const crypto = require$$2$3; +const { EventEmitter } = require$$1$1; +const logger = logger_1; +const libmime = libmimeExports$1; +const zlib = require$$6$1; +const { Headers } = mailsplit; +const { LimitedPassthrough } = limitedPassthrough; + +const { ImapStream } = imapStream; +const { parser, compiler } = imapHandler; +const packageInfo = require$$11; + +const libqp = libqp$4; +const libbase64 = libbase64$4; +const FlowedDecoder = flowedDecoder; +const { PassThrough } = require$$0$7; + +const { proxyConnection } = proxyConnection_1; + +const { comparePaths, updateCapabilities, getFolderTree, formatMessageResponse, getDecoder, packMessageRange, normalizePath, expandRange } = toolsExports; + +const imapCommands = imapCommands$1; + +const CONNECT_TIMEOUT = 90 * 1000; +const GREETING_TIMEOUT = 16 * 1000; +const UPGRADE_TIMEOUT = 10 * 1000; + +const SOCKET_TIMEOUT = 5 * 60 * 1000; + +const states = { + NOT_AUTHENTICATED: 0x01, + AUTHENTICATED: 0x02, + SELECTED: 0x03, + LOGOUT: 0x04 +}; + +/** + * @typedef {Object} MailboxObject + * @global + * @property {String} path mailbox path + * @property {String} delimiter mailbox path delimiter, usually "." or "/" + * @property {Set} flags list of flags for this mailbox + * @property {String} [specialUse] one of special-use flags (if applicable): "\All", "\Archive", "\Drafts", "\Flagged", "\Junk", "\Sent", "\Trash". Additionally INBOX has non-standard "\Inbox" flag set + * @property {Boolean} listed `true` if mailbox was found from the output of LIST command + * @property {Boolean} subscribed `true` if mailbox was found from the output of LSUB command + * @property {Set} permanentFlags A Set of flags available to use in this mailbox. If it is not set or includes special flag "\\\*" then any flag can be used. + * @property {String} [mailboxId] unique mailbox ID if server has `OBJECTID` extension enabled + * @property {BigInt} [highestModseq] latest known modseq value if server has CONDSTORE or XYMHIGHESTMODSEQ enabled + * @property {String} [noModseq] if true then the server doesn't support the persistent storage of mod-sequences for the mailbox + * @property {BigInt} uidValidity Mailbox `UIDVALIDITY` value + * @property {Number} uidNext Next predicted UID + * @property {Number} exists Messages in this folder + */ + +/** + * @typedef {Object} MailboxLockObject + * @global + * @property {String} path mailbox path + * @property {Function} release Release current lock + * @example + * let lock = await client.getMailboxLock('INBOX'); + * try { + * // do something in the mailbox + * } finally { + * // use finally{} to make sure lock is released even if exception occurs + * lock.release(); + * } + */ + +/** + * Client and server identification object, where key is one of RFC2971 defined [data fields](https://tools.ietf.org/html/rfc2971#section-3.3) (but not limited to). + * @typedef {Object} IdInfoObject + * @global + * @property {String} [name] Name of the program + * @property {String} [version] Version number of the program + * @property {String} [os] Name of the operating system + * @property {String} [vendor] Vendor of the client/server + * @property {String} ['support-url'] URL to contact for support + * @property {Date} [date] Date program was released + */ + +/** + * IMAP client class for accessing IMAP mailboxes + * + * @class + * @extends EventEmitter + */ +class ImapFlow extends EventEmitter { + /** + * Current module version as a static class property + * @property {String} version Module version + * @static + */ + static version = packageInfo.version; + + /** + * @param {Object} options IMAP connection options + * @param {String} options.host Hostname of the IMAP server + * @param {Number} options.port Port number for the IMAP server + * @param {Boolean} [options.secure=false] Should the connection be established over TLS. + * If `false` then connection is upgraded to TLS using STARTTLS extension before authentication + * @param {String} [options.servername] Servername for SNI (or when host is set to an IP address) + * @param {Boolean} [options.disableCompression=false] if `true` then client does not try to use COMPRESS=DEFLATE extension + * @param {Object} options.auth Authentication options. Authentication is requested automatically during connect() + * @param {String} options.auth.user Usename + * @param {String} [options.auth.pass] Password, if using regular authentication + * @param {String} [options.auth.accessToken] OAuth2 Access Token, if using OAuth2 authentication + * @param {IdInfoObject} [options.clientInfo] Client identification info + * @param {Boolean} [options.disableAutoIdle=false] if `true` then IDLE is not started automatically. Useful if you only need to perform specific tasks over the connection + * @param {Object} [options.tls] Additional TLS options (see [Node.js TLS connect](https://nodejs.org/api/tls.html#tls_tls_connect_options_callback) for all available options) + * @param {Boolean} [options.tls.rejectUnauthorized=true] if `false` then client accepts self-signed and expired certificates from the server + * @param {String} [options.tls.minVersion=TLSv1.2] To improvde security you might need to use something newer, eg *'TLSv1.2'* + * @param {Number} [options.tls.minDHSize=1024] Minimum size of the DH parameter in bits to accept a TLS connection + * @param {Object} [options.logger] Custom logger instance with `debug(obj)`, `info(obj)`, `warn(obj)` and `error(obj)` methods. If not provided then ImapFlow logs to console using pino format + * @param {Boolean} [options.logRaw=false] If true then log data read from and written to socket encoded in base64 + * @param {Boolean} [options.emitLogs=false] If `true` then in addition of sending data to logger, ImapFlow emits 'log' events with the same data + * @param {Boolean} [options.verifyOnly=false] If `true` then logs out automatically after successful authentication + * @param {String} [options.proxy] Optional proxy URL. Supports HTTP CONNECT (`http://`, `https://`) and SOCKS (`socks://`, `socks4://`, `socks5://`) proxies + * @param {Boolean} [options.qresync=false] If true, then enables QRESYNC support. EXPUNGE notifications will include `uid` property instead of `seq` + * @param {Number} [options.maxIdleTime] If set, then breaks and restarts IDLE every maxIdleTime ms + * @param {Boolean} [options.disableBinary=false] If true, then ignores the BINARY extension when making FETCH and APPEND calls + * @param {Boolean} [options.disableAutoEnable] Do not enable supported extensions by default + * @param {Number} [options.connectionTimeout=90000] how many milliseconds to wait for the connection to establish (default is 90 seconds) + * @param {Number} [options.greetingTimeout=16000] how many milliseconds to wait for the greeting after connection is established (default is 16 seconds) + * @param {Number} [options.socketTimeout=300000] how many milliseconds of inactivity to allow (default is 5 minutes) + */ + constructor(options) { + super({ captureRejections: true }); + + this.options = options || {}; + + /** + * Instance ID for logs + * @type {String} + */ + this.id = this.options.id || this.getRandomId(); + + this.clientInfo = Object.assign( + { + name: packageInfo.name, + version: packageInfo.version, + vendor: 'Postal Systems', + 'support-url': 'https://github.com/postalsys/imapflow/issues' + }, + this.options.clientInfo || {} + ); + + /** + * Server identification info. Available after successful `connect()`. + * If server does not provide identification info then this value is `null`. + * @example + * await client.connect(); + * console.log(client.serverInfo.vendor); + * @type {IdInfoObject|null} + */ + this.serverInfo = null; //updated by ID + + this.log = this.getLogger(); + + /** + * Is the connection currently encrypted or not + * @type {Boolean} + */ + this.secureConnection = !!this.options.secure; + + this.port = Number(this.options.port) || (this.secureConnection ? 993 : 110); + this.host = this.options.host || 'localhost'; + this.servername = this.options.servername ? this.options.servername : !net.isIP(this.host) ? this.host : false; + + if (typeof this.options.secure === 'undefined' && this.port === 993) { + // if secure option is not set but port is 465, then default to secure + this.secureConnection = true; + } + + this.logRaw = this.options.logRaw; + this.streamer = new ImapStream({ + logger: this.log, + cid: this.id, + logRaw: this.logRaw, + secureConnection: this.secureConnection + }); + + this.reading = false; + this.socket = false; + this.writeSocket = false; + + this.states = states; + this.state = this.states.NOT_AUTHENTICATED; + + this.lockCounter = 0; + this.currentLockId = 0; + + this.tagCounter = 0; + this.requestTagMap = new Map(); + this.requestQueue = []; + this.currentRequest = false; + + this.writeBytesCounter = 0; + + this.commandParts = []; + + /** + * Active IMAP capabilities. Value is either `true` for togglabe capabilities (eg. `UIDPLUS`) + * or a number for capabilities with a value (eg. `APPENDLIMIT`) + * @type {Map} + */ + this.capabilities = new Map(); + this.authCapabilities = new Map(); + + this.rawCapabilities = null; + + this.expectCapabilityUpdate = false; // force CAPABILITY after LOGIN + + /** + * Enabled capabilities. Usually `CONDSTORE` and `UTF8=ACCEPT` if server supports these. + * @type {Set} + */ + this.enabled = new Set(); + + /** + * Is the connection currently usable or not + * @type {Boolean} + */ + this.usable = false; + + /** + * Currently authenticated user or `false` if mailbox is not open + * or `true` if connection was authenticated by PREAUTH + * @type {String|Boolean} + */ + this.authenticated = false; + + /** + * Currently selected mailbox or `false` if mailbox is not open + * @type {MailboxObject|Boolean} + */ + this.mailbox = false; + + /** + * Is current mailbox idling (`true`) or not (`false`) + * @type {Boolean} + */ + this.idling = false; + + /** + * If `true` then in addition of sending data to logger, ImapFlow emits 'log' events with the same data + * @type {Boolean} + */ + this.emitLogs = !!this.options.emitLogs; + // ordering number for emitted logs + this.lo = 0; + + this.untaggedHandlers = {}; + this.sectionHandlers = {}; + + this.commands = imapCommands; + + this.folders = new Map(); + + this.currentLock = false; + this.locks = []; + + this.idRequested = false; + + this.maxIdleTime = this.options.maxIdleTime || false; + + this.disableBinary = !!this.options.disableBinary; + + this.streamer.on('error', err => { + if (['Z_BUF_ERROR', 'ECONNRESET', 'EPIPE', 'ETIMEDOUT', 'EHOSTUNREACH'].includes(err.code)) { + // just close the connection, usually nothing but noise + return setImmediate(() => this.close()); + } + + this.log.error({ err, cid: this.id }); + setImmediate(() => this.close()); + this.emitError(err); + }); + } + + emitError(err) { + this.emit('error', err); + } + + getRandomId() { + let rid = BigInt('0x' + crypto.randomBytes(13).toString('hex')).toString(36); + if (rid.length < 20) { + rid = '0'.repeat(20 - rid.length) + rid; + } else if (rid.length > 20) { + rid = rid.substr(0, 20); + } + return rid; + } + + write(chunk) { + if (this.socket.destroyed || this.state === this.states.LOGOUT) { + // do not write after connection end or logout + return; + } + + if (this.writeSocket.destroyed) { + this.socket.emit('error', 'Write socket destroyed'); + return; + } + + let addLineBreak = !this.commandParts.length; + if (typeof chunk === 'string') { + if (addLineBreak) { + chunk += '\r\n'; + } + chunk = Buffer.from(chunk, 'binary'); + } else if (Buffer.isBuffer(chunk)) { + if (addLineBreak) { + chunk = Buffer.concat([chunk, Buffer.from('\r\n')]); + } + } else { + return false; + } + + if (this.logRaw) { + this.log.trace({ + src: 'c', + msg: 'write to socket', + data: chunk.toString('base64'), + compress: !!this._deflate, + secure: !!this.secureConnection, + cid: this.id + }); + } + + this.writeBytesCounter += chunk.length; + + this.writeSocket.write(chunk); + } + + stats(reset) { + let result = { + sent: this.writeBytesCounter || 0, + received: (this.streamer && this.streamer.readBytesCounter) || 0 + }; + + if (reset) { + this.writeBytesCounter = 0; + if (this.streamer) { + this.streamer.readBytesCounter = 0; + } + } + + return result; + } + + async send(data) { + if (this.state === this.states.LOGOUT) { + // already logged out + if (data.tag) { + let request = this.requestTagMap.get(data.tag); + if (request) { + this.requestTagMap.delete(request.tag); + request.reject(new Error('Connection not available')); + } + } + return; + } + + let compiled = await compiler(data, { + asArray: true, + literalMinus: this.capabilities.has('LITERAL-') || this.capabilities.has('LITERAL+') + }); + this.commandParts = compiled; + + let logCompiled = await compiler(data, { + isLogging: true + }); + + let options = data.options || {}; + + this.log.debug({ src: 's', msg: logCompiled.toString(), cid: this.id, comment: options.comment }); + this.write(this.commandParts.shift()); + + if (typeof options.onSend === 'function') { + options.onSend(); + } + } + + async trySend() { + if (this.currentRequest || !this.requestQueue.length) { + return; + } + this.currentRequest = this.requestQueue.shift(); + + await this.send({ + tag: this.currentRequest.tag, + command: this.currentRequest.command, + attributes: this.currentRequest.attributes, + options: this.currentRequest.options + }); + } + + async exec(command, attributes, options) { + if (this.socket.destroyed) { + let error = new Error('Connection closed'); + error.code = 'EConnectionClosed'; + throw error; + } + + let tag = (++this.tagCounter).toString(16).toUpperCase(); + + options = options || {}; + + return new Promise((resolve, reject) => { + this.requestTagMap.set(tag, { command, attributes, options, resolve, reject }); + this.requestQueue.push({ tag, command, attributes, options }); + this.trySend().catch(err => { + this.requestTagMap.delete(tag); + reject(err); + }); + }); + } + + getUntaggedHandler(command, attributes) { + if (/^[0-9]+$/.test(command)) { + let type = attributes && attributes.length && typeof attributes[0].value === 'string' ? attributes[0].value.toUpperCase() : false; + if (type) { + // EXISTS, EXPUNGE, RECENT, FETCH etc + command = type; + } + } + + command = command.toUpperCase().trim(); + if (this.currentRequest && this.currentRequest.options && this.currentRequest.options.untagged && this.currentRequest.options.untagged[command]) { + return this.currentRequest.options.untagged[command]; + } + + if (this.untaggedHandlers[command]) { + return this.untaggedHandlers[command]; + } + } + + getSectionHandler(key) { + if (this.sectionHandlers[key]) { + return this.sectionHandlers[key]; + } + } + + async reader() { + let data; + while ((data = this.streamer.read()) !== null) { + let parsed; + + try { + parsed = await parser(data.payload, { literals: data.literals }); + if (parsed.tag && !['*', '+'].includes(parsed.tag) && parsed.command) { + let payload = { response: parsed.command }; + + if ( + parsed.attributes && + parsed.attributes[0] && + parsed.attributes[0].section && + parsed.attributes[0].section[0] && + parsed.attributes[0].section[0].type === 'ATOM' + ) { + payload.code = parsed.attributes[0].section[0].value; + } + this.emit('response', payload); + } + } catch (err) { + // can not make sense of this + this.log.error({ src: 's', msg: data.payload.toString(), err, cid: this.id }); + data.next(); + continue; + } + + let logCompiled = await compiler(parsed, { + isLogging: true + }); + + if (/^\d+$/.test(parsed.command) && parsed.attributes && parsed.attributes[0] && parsed.attributes[0].value === 'FETCH') { + // too many FETCH responses, might want to filter these out + this.log.trace({ src: 's', msg: logCompiled.toString(), cid: this.id, nullBytesRemoved: parsed.nullBytesRemoved }); + } else { + this.log.debug({ src: 's', msg: logCompiled.toString(), cid: this.id, nullBytesRemoved: parsed.nullBytesRemoved }); + } + + if (parsed.tag === '+' && this.currentRequest && this.currentRequest.options && typeof this.currentRequest.options.onPlusTag === 'function') { + await this.currentRequest.options.onPlusTag(parsed); + data.next(); + continue; + } + + if (parsed.tag === '+' && this.commandParts.length) { + let content = this.commandParts.shift(); + this.write(content); + this.log.debug({ src: 'c', msg: `(* ${content.length}B continuation *)`, cid: this.id }); + data.next(); + continue; + } + + let section = parsed.attributes && parsed.attributes.length && parsed.attributes[0] && !parsed.attributes[0].value && parsed.attributes[0].section; + if (section && section.length && section[0].type === 'ATOM' && typeof section[0].value === 'string') { + let sectionHandler = this.getSectionHandler(section[0].value.toUpperCase().trim()); + if (sectionHandler) { + await sectionHandler(section.slice(1)); + } + } + + if (parsed.tag === '*' && parsed.command) { + let untaggedHandler = this.getUntaggedHandler(parsed.command, parsed.attributes); + if (untaggedHandler) { + try { + await untaggedHandler(parsed); + } catch (err) { + this.log.warn({ err, cid: this.id }); + data.next(); + continue; + } + } + } + + if (this.requestTagMap.has(parsed.tag)) { + let request = this.requestTagMap.get(parsed.tag); + this.requestTagMap.delete(parsed.tag); + + if (this.currentRequest && this.currentRequest.tag === parsed.tag) { + // send next pending command + this.currentRequest = false; + await this.trySend(); + } + + switch (parsed.command.toUpperCase()) { + case 'OK': + case 'BYE': + await new Promise(resolve => request.resolve({ response: parsed, next: resolve })); + break; + + case 'NO': + case 'BAD': { + let txt = + parsed.attributes && + parsed.attributes + .filter(val => val.type === 'TEXT') + .map(val => val.value.trim()) + .join(' '); + + let err = new Error('Command failed'); + err.response = parsed; + err.responseStatus = parsed.command.toUpperCase(); + if (txt) { + err.responseText = txt; + } + request.reject(err); + break; + } + + default: { + let err = new Error('Invalid server response'); + err.response = parsed; + request.reject(err); + break; + } + } + } + + data.next(); + } + } + + setEventHandlers() { + this.socketReadable = () => { + if (!this.reading) { + this.reading = true; + this.reader() + .catch(err => this.log.error({ err, cid: this.id })) + .finally(() => { + this.reading = false; + }); + } + }; + + this.streamer.on('readable', this.socketReadable); + } + + setSocketHandlers() { + this._socketError = + this._socketError || + (err => { + this.log.error({ err, cid: this.id }); + setImmediate(() => this.close()); + this.emitError(err); + }); + this._socketClose = + this._socketClose || + (() => { + this.close(); + }); + this._socketEnd = + this._socketEnd || + (() => { + this.close(); + }); + + this._socketTimeout = + this._socketTimeout || + (() => { + if (this.idling) { + this.run('NOOP') + .then(() => this.idle()) + .catch(this._socketError); + } else { + this.log.debug({ msg: 'Socket timeout', cid: this.id }); + this.close(); + } + }); + + this.socket.on('error', this._socketError); + this.socket.on('close', this._socketClose); + this.socket.on('end', this._socketEnd); + this.socket.on('tlsClientError', this._socketError); + this.socket.on('timeout', this._socketTimeout); + + this.writeSocket.on('error', this._socketError); + } + + clearSocketHandlers() { + if (this._socketError) { + this.socket.removeListener('error', this._socketError); + this.socket.removeListener('tlsClientError', this._socketError); + } + if (this._socketClose) { + this.socket.removeListener('close', this._socketClose); + } + if (this._socketEnd) { + this.socket.removeListener('end', this._socketEnd); + } + } + + async startSession() { + await this.run('CAPABILITY'); + + if (this.capabilities.has('ID')) { + this.idRequested = await this.run('ID', this.clientInfo); + } + + // try to use STARTTLS is possible + if (!this.secureConnection) { + await this.upgradeConnection(); + } + + let authenticated = await this.authenticate(); + if (!authenticated) { + // nothing to do here + return await this.logout(); + } + + if (!this.idRequested && this.capabilities.has('ID')) { + // re-request ID after LOGIN + this.idRequested = await this.run('ID', this.clientInfo); + } + + // Make sure we have namespace set. This should also throw if Exchange actually failed authentication + let nsResponse = await this.run('NAMESPACE'); + if (nsResponse && nsResponse.error && nsResponse.status === 'BAD' && /User is authenticated but not connected/i.test(nsResponse.text)) { + // Not a NAMESPACE failure but authentication failure, so report as + this.authenticated = false; + let err = new Error('Authentication failed'); + err.authenticationFailed = true; + err.response = nsResponse.text; + throw err; + } + + if (this.options.verifyOnly) { + // List all folders and logout + if (this.options.includeMailboxes) { + this._mailboxList = await this.list(); + } + return await this.logout(); + } + + // try to use compression (if supported) + if (!this.options.disableCompression) { + await this.compress(); + } + + if (!this.options.disableAutoEnable) { + // enable extensions if possible + await this.run('ENABLE', ['CONDSTORE', 'UTF8=ACCEPT'].concat(this.options.qresync ? 'QRESYNC' : [])); + } + + this.usable = true; + } + + async compress() { + if (!(await this.run('COMPRESS'))) { + return; // was not able to negotiate compression + } + + // create deflate/inflate streams + this._deflate = zlib.createDeflateRaw({ + windowBits: 15 + }); + this._inflate = zlib.createInflateRaw(); + + // route incoming socket via inflate stream + this.socket.unpipe(this.streamer); + this.streamer.compress = true; + this.socket.pipe(this._inflate).pipe(this.streamer); + this._inflate.on('error', err => { + this.streamer.emit('error', err); + }); + + // route outgoing socket via deflate stream + this.writeSocket = new PassThrough(); + + // we need to force flush deflated data to socket so we can't + // use normal pipes for this.writeSocket -> this._deflate -> this.socket + let reading = false; + let readNext = () => { + reading = true; + + let chunk; + while ((chunk = this.writeSocket.read()) !== null) { + if (this._deflate && this._deflate.write(chunk) === false) { + return this._deflate.once('drain', readNext); + } + } + + // flush data to socket + if (this._deflate) { + this._deflate.flush(); + } + + reading = false; + }; + + this.writeSocket.on('readable', () => { + if (!reading) { + readNext(); + } + }); + this.writeSocket.on('error', err => { + this.socket.emit('error', err); + }); + + this._deflate.pipe(this.socket); + this._deflate.on('error', err => { + this.socket.emit('error', err); + }); + } + + async upgradeConnection() { + if (this.secureConnection) { + // already secure + return true; + } + + if (!this.capabilities.has('STARTTLS')) { + // can not upgrade + return false; + } + + this.expectCapabilityUpdate = true; + let canUpgrade = await this.run('STARTTLS'); + if (!canUpgrade) { + return; + } + + this.socket.unpipe(this.streamer); + let upgraded = await new Promise((resolve, reject) => { + let socketPlain = this.socket; + let opts = Object.assign( + { + socket: this.socket, + servername: this.servername, + port: this.port + }, + this.options.tls || {} + ); + this.clearSocketHandlers(); + + socketPlain.once('error', err => { + clearTimeout(this.connectTimeout); + if (!this.upgrading) { + // don't care anymore + return; + } + setImmediate(() => this.close()); + this.upgrading = false; + reject(err); + }); + + this.upgradeTimeout = setTimeout(() => { + if (!this.upgrading) { + return; + } + setImmediate(() => this.close()); + let err = new Error('Failed to upgrade connection in required time'); + err.code = 'UPGRADE_TIMEOUT'; + reject(err); + }, UPGRADE_TIMEOUT); + + this.upgrading = true; + this.socket = tls.connect(opts, () => { + clearTimeout(this.upgradeTimeout); + if (this.isClosed) { + // not sure if this is possible? + return this.close(); + } + + this.secureConnection = true; + this.upgrading = false; + this.streamer.secureConnection = true; + this.socket.pipe(this.streamer); + this.tls = typeof this.socket.getCipher === 'function' ? this.socket.getCipher() : false; + if (this.tls) { + this.tls.authorized = this.socket.authorized; + this.log.info({ + src: 'tls', + msg: 'Established TLS session', + cid: this.id, + authorized: this.tls.authorized, + algo: this.tls.standardName || this.tls.name, + version: this.tls.version + }); + } + + return resolve(true); + }); + + this.writeSocket = this.socket; + + this.setSocketHandlers(); + }); + + if (upgraded && this.expectCapabilityUpdate) { + await this.run('CAPABILITY'); + } + + return upgraded; + } + + async setAuthenticationState() { + this.state = this.states.AUTHENTICATED; + this.authenticated = true; + if (this.expectCapabilityUpdate) { + // update capabilities + await this.run('CAPABILITY'); + } + } + + async authenticate() { + if (this.state !== this.states.NOT_AUTHENTICATED) { + // nothing to do here, usually happens with PREAUTH greeting + return this.state !== this.states.LOGOUT; + } + + if (this.capabilities.has('LOGINDISABLED') || !this.options.auth) { + // can not log in + return false; + } + + this.expectCapabilityUpdate = true; + + if (this.options.auth.accessToken) { + this.authenticated = await this.run('AUTHENTICATE', this.options.auth.user, this.options.auth.accessToken); + } else if (this.options.auth.pass) { + this.authenticated = await this.run('LOGIN', this.options.auth.user, this.options.auth.pass); + } + + if (this.authenticated) { + this.log.info({ + src: 'auth', + msg: 'User authenticated', + cid: this.id, + user: this.options.auth.user + }); + await this.setAuthenticationState(); + return true; + } + + return false; + } + + async initialOK(message) { + this.greeting = (message.attributes || []) + .filter(entry => entry.type === 'TEXT') + .map(entry => entry.value) + .filter(entry => entry) + .join(''); + + clearTimeout(this.greetingTimeout); + this.untaggedHandlers.OK = null; + this.untaggedHandlers.PREAUTH = null; + + if (this.isClosed) { + return; + } + + // get out of current parsing "thread", so do not await for startSession + this.startSession() + .then(() => { + if (typeof this.initialResolve === 'function') { + let resolve = this.initialResolve; + this.initialResolve = false; + this.initialReject = false; + return resolve(); + } + }) + .catch(err => { + this.log.error({ err, cid: this.id }); + + if (typeof this.initialReject === 'function') { + let reject = this.initialReject; + this.initialResolve = false; + this.initialReject = false; + return reject(err); + } + + setImmediate(() => this.close()); + }); + } + + async initialPREAUTH() { + clearTimeout(this.greetingTimeout); + this.untaggedHandlers.OK = null; + this.untaggedHandlers.PREAUTH = null; + + if (this.isClosed) { + return; + } + + this.state = this.states.AUTHENTICATED; + + // get out of current parsing "thread", so do not await for startSession + this.startSession() + .then(() => { + if (typeof this.initialResolve === 'function') { + let resolve = this.initialResolve; + this.initialResolve = false; + this.initialReject = false; + return resolve(); + } + }) + .catch(err => { + this.log.error({ err, cid: this.id }); + + if (typeof this.initialReject === 'function') { + let reject = this.initialReject; + this.initialResolve = false; + this.initialReject = false; + return reject(err); + } + + setImmediate(() => this.close()); + }); + } + + async serverBye() { + this.untaggedHandlers.BYE = null; + this.state = this.states.LOGOUT; + } + + async sectionCapability(section) { + this.rawCapabilities = section; + this.capabilities = updateCapabilities(section); + + if (this.capabilities) { + for (let [capa] of this.capabilities) { + if (/^AUTH=/i.test(capa) && !this.authCapabilities.has(capa.toUpperCase())) { + this.authCapabilities.set(capa.toUpperCase(), false); + } + } + } + + if (this.expectCapabilityUpdate) { + this.expectCapabilityUpdate = false; + } + } + + async untaggedCapability(untagged) { + this.rawCapabilities = untagged.attributes; + this.capabilities = updateCapabilities(untagged.attributes); + + if (this.capabilities) { + for (let [capa] of this.capabilities) { + if (/^AUTH=/i.test(capa) && !this.authCapabilities.has(capa.toUpperCase())) { + this.authCapabilities.set(capa.toUpperCase(), false); + } + } + } + + if (this.expectCapabilityUpdate) { + this.expectCapabilityUpdate = false; + } + } + + async untaggedExists(untagged) { + if (!this.mailbox) { + // mailbox closed, ignore + return; + } + + if (!untagged || !untagged.command || isNaN(untagged.command)) { + return; + } + + let count = Number(untagged.command); + if (count === this.mailbox.exists) { + // nothing changed? + return; + } + + // keep exists up to date + let prevCount = this.mailbox.exists; + this.mailbox.exists = count; + this.emit('exists', { + path: this.mailbox.path, + count, + prevCount + }); + } + + async untaggedExpunge(untagged) { + if (!this.mailbox) { + // mailbox closed, ignore + return; + } + + if (!untagged || !untagged.command || isNaN(untagged.command)) { + return; + } + + let seq = Number(untagged.command); + if (seq && seq <= this.mailbox.exists) { + this.mailbox.exists--; + let payload = { + path: this.mailbox.path, + seq, + vanished: false + }; + + if (typeof this.options.expungeHandler === 'function') { + try { + await this.options.expungeHandler(payload); + } catch (err) { + this.log.error({ msg: 'Failed to notify expunge event', payload, error: err, cid: this.id }); + } + } else { + this.emit('expunge', payload); + } + } + } + + async untaggedVanished(untagged, mailbox) { + mailbox = mailbox || this.mailbox; + if (!mailbox) { + // mailbox closed, ignore + return; + } + + let tags = []; + let uids = false; + + if (untagged.attributes.length > 1 && Array.isArray(untagged.attributes[0])) { + tags = untagged.attributes[0].map(entry => (typeof entry.value === 'string' ? entry.value.toUpperCase() : false)).filter(value => value); + untagged.attributes.shift(); + } + + if (untagged.attributes[0] && typeof untagged.attributes[0].value === 'string') { + uids = untagged.attributes[0].value; + } + + let uidList = expandRange(uids); + + for (let uid of uidList) { + let payload = { + path: mailbox.path, + uid, + vanished: true, + earlier: tags.includes('EARLIER') + }; + + if (typeof this.options.expungeHandler === 'function') { + try { + await this.options.expungeHandler(payload); + } catch (err) { + this.log.error({ msg: 'Failed to notify expunge event', payload, error: err, cid: this.id }); + } + } else { + this.emit('expunge', payload); + } + } + } + + async untaggedFetch(untagged, mailbox) { + mailbox = mailbox || this.mailbox; + if (!mailbox) { + // mailbox closed, ignore + return; + } + + let message = await formatMessageResponse(untagged, mailbox); + if (message.flags) { + let updateEvent = { + path: mailbox.path, + seq: message.seq + }; + + if (message.uid) { + updateEvent.uid = message.uid; + } + + if (message.modseq) { + updateEvent.modseq = message.modseq; + } + + updateEvent.flags = message.flags; + + this.emit('flags', updateEvent); + } + } + + async ensureSelectedMailbox(path) { + if (!path) { + return false; + } + + if ((!this.mailbox && path) || (this.mailbox && path && !comparePaths(this, this.mailbox.path, path))) { + return await this.mailboxOpen(path); + } + + return true; + } + + async resolveRange(range, options) { + if (typeof range === 'number' || typeof range === 'bigint') { + range = range.toString(); + } + + // special case, some servers allow this, some do not, so replace it with the last known EXISTS value + if (range === '*') { + if (!this.mailbox.exists) { + return false; + } + range = this.mailbox.exists.toString(); + options.uid = false; // sequence query + } + + if (range && typeof range === 'object' && !Array.isArray(range)) { + if (range.all && Object.keys(range).length === 1) { + range = '1:*'; + } else if (range.uid && Object.keys(range).length === 1) { + range = range.uid; + options.uid = true; + } else { + // resolve range by searching + options.uid = true; // force UIDs instead of sequence numbers + range = await this.run('SEARCH', range, options); + if (range && range.length) { + range = packMessageRange(range); + } + } + } + + if (Array.isArray(range)) { + range = range.join(','); + } + + if (!range) { + return false; + } + + return range; + } + + autoidle() { + clearTimeout(this.idleStartTimer); + if (this.options.disableAutoIdle || this.state !== this.states.SELECTED) { + return; + } + this.idleStartTimer = setTimeout(() => { + this.idle().catch(err => this.log.warn({ err, cid: this.id })); + }, 15 * 1000); + } + + // PUBLIC API METHODS + + /** + * Initiates a connection against IMAP server. Throws if anything goes wrong. This is something you have to call before you can run any IMAP commands + * + * @returns {Promise} + * @throws Will throw an error if connection or authentication fails + * @example + * let client = new ImapFlow({...}); + * await client.connect(); + */ + async connect() { + let connector = this.secureConnection ? tls : net; + + let opts = Object.assign( + { + host: this.host, + servername: this.servername, + port: this.port + }, + this.options.tls || {} + ); + + this.untaggedHandlers.OK = (...args) => this.initialOK(...args); + this.untaggedHandlers.BYE = (...args) => this.serverBye(...args); + this.untaggedHandlers.PREAUTH = (...args) => this.initialPREAUTH(...args); + + this.untaggedHandlers.CAPABILITY = (...args) => this.untaggedCapability(...args); + this.sectionHandlers.CAPABILITY = (...args) => this.sectionCapability(...args); + + this.untaggedHandlers.EXISTS = (...args) => this.untaggedExists(...args); + this.untaggedHandlers.EXPUNGE = (...args) => this.untaggedExpunge(...args); + + // these methods take an optional second argument, so make sure that some random IMAP tag is not used as the second argument + this.untaggedHandlers.FETCH = untagged => this.untaggedFetch(untagged); + this.untaggedHandlers.VANISHED = untagged => this.untaggedVanished(untagged); + + let socket = false; + if (this.options.proxy) { + try { + socket = await proxyConnection(this.log, this.options.proxy, this.host, this.port); + if (!socket) { + throw new Error('Failed to setup proxy connection'); + } + } catch (err) { + let error = new Error('Failed to setup proxy connection'); + error.code = err.code || 'ProxyError'; + error._err = err; + this.log.error({ error, cid: this.id }); + throw error; + } + } + + await new Promise((resolve, reject) => { + this.connectTimeout = setTimeout(() => { + let err = new Error('Failed to established connection in required time'); + err.code = 'CONNECT_TIMEOUT'; + err.details = { + connectionTimeout: this.options.connectionTimeout || CONNECT_TIMEOUT + }; + this.log.error({ err, cid: this.id }); + setImmediate(() => this.close()); + reject(err); + }, this.options.connectionTimeout || CONNECT_TIMEOUT); + + let onConnect = () => { + clearTimeout(this.connectTimeout); + this.socket.setKeepAlive(true, 5 * 1000); + this.socket.setTimeout(this.options.socketTimeout || SOCKET_TIMEOUT); + + this.greetingTimeout = setTimeout(() => { + let err = new Error(`Failed to receive greeting from server in required time${!this.secureConnection ? '. Maybe should use TLS?' : ''}`); + err.code = 'GREEETING_TIMEOUT'; + err.details = { + greetingTimeout: this.options.greetingTimeout || GREETING_TIMEOUT + }; + this.log.error({ err, cid: this.id }); + setImmediate(() => this.close()); + reject(err); + }, this.options.greetingTimeout || GREETING_TIMEOUT); + + this.tls = typeof this.socket.getCipher === 'function' ? this.socket.getCipher() : false; + + let logInfo = { + src: 'connection', + msg: `Established ${this.tls ? 'secure ' : ''}TCP connection`, + cid: this.id, + secure: !!this.tls, + host: this.host, + servername: this.servername, + port: this.socket.remotePort, + address: this.socket.remoteAddress, + localAddress: this.socket.localAddress, + localPort: this.socket.localPort + }; + + if (this.tls) { + logInfo.authorized = this.tls.authorized = this.socket.authorized; + logInfo.algo = this.tls.standardName || this.tls.name; + logInfo.version = this.tls.version; + } + + this.log.info(logInfo); + + this.setSocketHandlers(); + this.socket.pipe(this.streamer); + + // executed by initial "* OK" + this.initialResolve = resolve; + this.initialReject = reject; + }; + + if (socket) { + // socket is already establised via proxy + if (this.secureConnection) { + // TLS socket requires a handshake + opts.socket = socket; + this.socket = connector.connect(opts, onConnect); + } else { + // cleartext socket is already usable + this.socket = socket; + setImmediate(onConnect); + } + } else { + this.socket = connector.connect(opts, onConnect); + } + + this.writeSocket = this.socket; + + this.socket.on('error', err => { + clearTimeout(this.connectTimeout); + clearTimeout(this.greetingTimeout); + setImmediate(() => this.close()); + this.log.error({ err, cid: this.id }); + reject(err); + }); + + this.setEventHandlers(); + }); + } + + /** + * Graceful connection close by sending logout command to server. TCP connection is closed once command is finished. + * + * @return {Promise} + * @example + * let client = new ImapFlow({...}); + * await client.connect(); + * ... + * await client.logout(); + */ + async logout() { + await this.run('LOGOUT'); + } + + /** + * Closes TCP connection without notifying the server. + * + * @example + * let client = new ImapFlow({...}); + * await client.connect(); + * ... + * client.close(); + */ + close() { + // clear pending timers + clearTimeout(this.idleStartTimer); + clearTimeout(this.upgradeTimeout); + clearTimeout(this.connectTimeout); + + this.usable = false; + this.idling = false; + + if (typeof this.initialReject === 'function' && !this.options.verifyOnly) { + let reject = this.initialReject; + this.initialResolve = false; + this.initialReject = false; + let err = new Error('Unexpected close'); + err.code = `ClosedAfterConnect${this.secureConnection ? 'TLS' : 'Text'}`; + reject(err); + } + + if (typeof this.preCheck === 'function') { + this.preCheck().catch(err => this.log.warn({ err, cid: this.id })); + } + + // reject command that is currently processed + if (this.currentRequest && this.requestTagMap.has(this.currentRequest.tag)) { + let request = this.requestTagMap.get(this.currentRequest.tag); + if (request) { + this.requestTagMap.delete(request.tag); + request.reject(new Error('Connection not available')); + } + this.currentRequest = false; + } + + // reject all other pending commands + while (this.requestQueue.length) { + let req = this.requestQueue.shift(); + if (req && this.requestTagMap.has(req.tag)) { + let request = this.requestTagMap.get(req.tag); + if (request) { + this.requestTagMap.delete(request.tag); + request.reject(new Error('Connection not available')); + } + } + } + + this.state = this.states.LOGOUT; + if (this.isClosed) { + return; + } + this.isClosed = true; + + if (this.writeSocket && !this.writeSocket.destroyed) { + try { + this.writeSocket.end(); + } catch (err) { + this.log.error({ err, cid: this.id }); + } + } + + if (this.socket && !this.socket.destroyed && this.writeSocket !== this.socket) { + try { + this.socket.end(); + } catch (err) { + this.log.error({ err, cid: this.id }); + } + } + + this.log.trace({ msg: 'Connection closed', cid: this.id }); + this.emit('close'); + } + + /** + * @typedef {Object} QuotaResponse + * @global + * @property {String} path=INBOX mailbox path this quota applies to + * @property {Object} [storage] Storage quota if provided by server + * @property {Number} [storage.used] used storage in bytes + * @property {Number} [storage.limit] total storage available + * @property {Object} [messages] Message count quota if provided by server + * @property {Number} [messages.used] stored messages + * @property {Number} [messages.limit] maximum messages allowed + */ + + /** + * Returns current quota + * + * @param {String} [path] Optional mailbox path if you want to check quota for specific folder + * @returns {Promise} Quota information or `false` if QUTOA extension is not supported or requested path does not exist + * + * @example + * let quota = await client.getQuota(); + * console.log(quota.storage.used, quota.storage.available) + */ + async getQuota(path) { + path = path || 'INBOX'; + return await this.run('QUOTA', path); + } + + /** + * @typedef {Object} ListResponse + * @global + * @property {String} path mailbox path (unicode string) + * @property {String} pathAsListed mailbox path as listed in the LIST/LSUB response + * @property {String} name mailbox name (last part of path after delimiter) + * @property {String} delimiter mailbox path delimiter, usually "." or "/" + * @property {Array} parent An array of parent folder names. All names are in unicode + * @property {String} parentPath Same as `parent`, but as a complete string path (unicode string) + * @property {Set} flags a set of flags for this mailbox + * @property {String} specialUse one of special-use flags (if applicable): "\All", "\Archive", "\Drafts", "\Flagged", "\Junk", "\Sent", "\Trash". Additionally INBOX has non-standard "\Inbox" flag set + * @property {Boolean} listed `true` if mailbox was found from the output of LIST command + * @property {Boolean} subscribed `true` if mailbox was found from the output of LSUB command + * @property {StatusObject} [status] If `statusQuery` was used, then this value includes the status response + */ + + /** + * Lists available mailboxes as an Array + * + * @param {Object} [options] defines additional listing options + * @param {Object} [options.statusQuery] request status items for every listed entry + * @param {Boolean} [options.statusQuery.messages] if `true` request count of messages + * @param {Boolean} [options.statusQuery.recent] if `true` request count of messages with \\Recent tag + * @param {Boolean} [options.statusQuery.uidNext] if `true` request predicted next UID + * @param {Boolean} [options.statusQuery.uidValidity] if `true` request mailbox `UIDVALIDITY` value + * @param {Boolean} [options.statusQuery.unseen] if `true` request count of unseen messages + * @param {Boolean} [options.statusQuery.highestModseq] if `true` request last known modseq value + * @param {Object} [options.specialUseHints] set specific paths as special use folders, this would override special use flags provided from the server + * @param {String} [options.specialUseHints.sent] Path to "Sent Mail" folder + * @param {String} [options.specialUseHints.trash] Path to "Trash" folder + * @param {String} [options.specialUseHints.junk] Path to "Junk Mail" folder + * @param {String} [options.specialUseHints.drafts] Path to "Drafts" folder + * @returns {Promise} An array of ListResponse objects + * + * @example + * let list = await client.list(); + * list.forEach(mailbox=>console.log(mailbox.path)); + */ + async list(options) { + options = options || {}; + let folders = await this.run('LIST', '', '*', options); + this.folders = new Map(folders.map(folder => [folder.path, folder])); + return folders; + } + + /** + * @typedef {Object} ListTreeResponse + * @global + * @property {Boolean} root If `true` then this is root node without any additional properties besides *folders* + * @property {String} path mailbox path + * @property {String} name mailbox name (last part of path after delimiter) + * @property {String} delimiter mailbox path delimiter, usually "." or "/" + * @property {array} flags list of flags for this mailbox + * @property {String} specialUse one of special-use flags (if applicable): "\All", "\Archive", "\Drafts", "\Flagged", "\Junk", "\Sent", "\Trash". Additionally INBOX has non-standard "\Inbox" flag set + * @property {Boolean} listed `true` if mailbox was found from the output of LIST command + * @property {Boolean} subscribed `true` if mailbox was found from the output of LSUB command + * @property {Boolean} disabled If `true` then this mailbox can not be selected in the UI + * @property {ListTreeResponse[]} folders An array of subfolders + */ + + /** + * Lists available mailboxes as a tree structured object + * + * @returns {Promise} Tree structured object + * + * @example + * let tree = await client.listTree(); + * tree.folders.forEach(mailbox=>console.log(mailbox.path)); + */ + async listTree() { + let folders = await this.run('LIST', '', '*'); + this.folders = new Map(folders.map(folder => [folder.path, folder])); + return getFolderTree(folders); + } + + /** + * Performs a no-op call against server + * @returns {Promise} + */ + async noop() { + await this.run('NOOP'); + } + + /** + * @typedef {Object} MailboxCreateResponse + * @global + * @property {String} path full mailbox path + * @property {String} [mailboxId] unique mailbox ID if server supports `OBJECTID` extension (currently Yahoo and some others) + * @property {Boolean} created If `true` then mailbox was created otherwise it already existed + */ + + /** + * Creates a new mailbox folder and sets up subscription for the created mailbox. Throws on error. + * + * @param {string|array} path Full mailbox path. Unicode is allowed. If value is an array then it is joined using current delimiter symbols. Namespace prefix is added automatically if required. + * @returns {Promise} Mailbox info + * @throws Will throw an error if mailbox can not be created + * + * @example + * let info = await client.mailboxCreate(['parent', 'child']); + * console.log(info.path); + * // "INBOX.parent.child" // assumes "INBOX." as namespace prefix and "." as delimiter + */ + async mailboxCreate(path) { + return await this.run('CREATE', path); + } + + /** + * @typedef {Object} MailboxRenameResponse + * @global + * @property {String} path full mailbox path that was renamed + * @property {String} newPath new full mailbox path + */ + + /** + * Renames a mailbox. Throws on error. + * + * @param {string|array} path Path for the mailbox to rename. Unicode is allowed. If value is an array then it is joined using current delimiter symbols. Namespace prefix is added automatically if required. + * @param {string|array} newPath New path for the mailbox + * @returns {Promise} Mailbox info + * @throws Will throw an error if mailbox does not exist or can not be renamed + * + * @example + * let info = await client.mailboxRename('parent.child', 'Important stuff ❗️'); + * console.log(info.newPath); + * // "INBOX.Important stuff ❗️" // assumes "INBOX." as namespace prefix + */ + async mailboxRename(path, newPath) { + return await this.run('RENAME', path, newPath); + } + + /** + * @typedef {Object} MailboxDeleteResponse + * @global + * @property {String} path full mailbox path that was deleted + */ + + /** + * Deletes a mailbox. Throws on error. + * + * @param {string|array} path Path for the mailbox to delete. Unicode is allowed. If value is an array then it is joined using current delimiter symbols. Namespace prefix is added automatically if required. + * @returns {Promise} Mailbox info + * @throws Will throw an error if mailbox does not exist or can not be deleted + * + * @example + * let info = await client.mailboxDelete('Important stuff ❗️'); + * console.log(info.path); + * // "INBOX.Important stuff ❗️" // assumes "INBOX." as namespace prefix + */ + async mailboxDelete(path) { + return await this.run('DELETE', path); + } + + /** + * Subscribes to a mailbox + * + * @param {string|array} path Path for the mailbox to subscribe to. Unicode is allowed. If value is an array then it is joined using current delimiter symbols. Namespace prefix is added automatically if required. + * @returns {Promise} `true` if subscription operation succeeded, `false` otherwise + * + * @example + * await client.mailboxSubscribe('Important stuff ❗️'); + */ + async mailboxSubscribe(path) { + return await this.run('SUBSCRIBE', path); + } + + /** + * Unsubscribes from a mailbox + * + * @param {string|array} path **Path for the mailbox** to unsubscribe from. Unicode is allowed. If value is an array then it is joined using current delimiter symbols. Namespace prefix is added automatically if required. + * @returns {Promise} `true` if unsubscription operation succeeded, `false` otherwise + * + * @example + * await client.mailboxUnsubscribe('Important stuff ❗️'); + */ + async mailboxUnsubscribe(path) { + return await this.run('UNSUBSCRIBE', path); + } + + /** + * Opens a mailbox to access messages. You can perform message operations only against an opened mailbox. + * Using {@link module:imapflow~ImapFlow#getMailboxLock|getMailboxLock()} instead of `mailboxOpen()` is preferred. Both do the same thing + * but next `getMailboxLock()` call is not executed until previous one is released. + * + * @param {string|array} path **Path for the mailbox** to open + * @param {Object} [options] optional options + * @param {Boolean} [options.readOnly=false] If `true` then opens mailbox in read-only mode. You can still try to perform write operations but these would probably fail. + * @returns {Promise} Mailbox info + * @throws Will throw an error if mailbox does not exist or can not be opened + * + * @example + * let mailbox = await client.mailboxOpen('Important stuff ❗️'); + * console.log(mailbox.exists); + * // 125 + */ + async mailboxOpen(path, options) { + return await this.run('SELECT', path, options); + } + + /** + * Closes a previously opened mailbox + * + * @returns {Promise} Did the operation succeed or not + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * await client.mailboxClose(); + */ + async mailboxClose() { + return await this.run('CLOSE'); + } + + /** + * @typedef {Object} StatusObject + * @global + * @property {String} path full mailbox path that was checked + * @property {Number} [messages] Count of messages + * @property {Number} [recent] Count of messages with \\Recent tag + * @property {Number} [uidNext] Predicted next UID + * @property {BigInt} [uidValidity] Mailbox `UIDVALIDITY` value + * @property {Number} [unseen] Count of unseen messages + * @property {BigInt} [highestModseq] Last known modseq value (if CONDSTORE extension is enabled) + */ + + /** + * Requests the status of the indicated mailbox. Only requested status values will be returned. + * + * @param {String} path mailbox path to check for (unicode string) + * @param {Object} query defines requested status items + * @param {Boolean} query.messages if `true` request count of messages + * @param {Boolean} query.recent if `true` request count of messages with \\Recent tag + * @param {Boolean} query.uidNext if `true` request predicted next UID + * @param {Boolean} query.uidValidity if `true` request mailbox `UIDVALIDITY` value + * @param {Boolean} query.unseen if `true` request count of unseen messages + * @param {Boolean} query.highestModseq if `true` request last known modseq value + * @returns {Promise} status of the indicated mailbox + * + * @example + * let status = await client.status('INBOX', {unseen: true}); + * console.log(status.unseen); + * // 123 + */ + async status(path, query) { + return await this.run('STATUS', path, query); + } + + /** + * Starts listening for new or deleted messages from the currently opened mailbox. Only required if {@link ImapFlow#disableAutoIdle} is set to `true` + * otherwise IDLE is started by default on connection inactivity. NB! If `idle()` is called manually then it does not + * return until IDLE is finished which means you would have to call some other command out of scope. + * + * @returns {Promise} Did the operation succeed or not + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * + * await client.idle(); + */ + async idle() { + if (!this.idling) { + return await this.run('IDLE', this.maxIdleTime); + } + } + + /** + * Sequence range string. Separate different values with commas, number ranges with colons and use \\* as the placeholder for the newest message in mailbox + * @typedef {String} SequenceString + * @global + * @example + * "1:*" // for all messages + * "1,2,3" // for messages 1, 2 and 3 + * "1,2,4:6" // for messages 1,2,4,5,6 + * "*" // for the newest message + */ + + /** + * IMAP search query options. By default all conditions must match. In case of `or` query term at least one condition must match. + * @typedef {Object} SearchObject + * @global + * @property {SequenceString} [seq] message ordering sequence range + * @property {Boolean} [answered] Messages with (value is `true`) or without (value is `false`) \\Answered flag + * @property {Boolean} [deleted] Messages with (value is `true`) or without (value is `false`) \\Deleted flag + * @property {Boolean} [draft] Messages with (value is `true`) or without (value is `false`) \\Draft flag + * @property {Boolean} [flagged] Messages with (value is `true`) or without (value is `false`) \\Flagged flag + * @property {Boolean} [seen] Messages with (value is `true`) or without (value is `false`) \\Seen flag + * @property {Boolean} [all] If `true` matches all messages + * @property {Boolean} [new] If `true` matches messages that have the \\Recent flag set but not the \\Seen flag + * @property {Boolean} [old] If `true` matches messages that do not have the \\Recent flag set + * @property {Boolean} [recent] If `true` matches messages that have the \\Recent flag set + * @property {String} [from] Matches From: address field + * @property {String} [to] Matches To: address field + * @property {String} [cc] Matches Cc: address field + * @property {String} [bcc] Matches Bcc: address field + * @property {String} [body] Matches message body + * @property {String} [subject] Matches message subject + * @property {Number} [larger] Matches messages larger than value + * @property {Number} [smaller] Matches messages smaller than value + * @property {SequenceString} [uid] UID sequence range + * @property {BigInt} [modseq] Matches messages with modseq higher than value + * @property {String} [emailId] unique email ID. Only used if server supports `OBJECTID` or `X-GM-EXT-1` extensions + * @property {String} [threadId] unique thread ID. Only used if server supports `OBJECTID` or `X-GM-EXT-1` extensions + * @property {Date|string} [before] Matches messages received before date + * @property {Date|string} [on] Matches messages received on date (ignores time) + * @property {Date|string} [since] Matches messages received after date + * @property {Date|string} [sentBefore] Matches messages sent before date + * @property {Date|string} [sentOn] Matches messages sent on date (ignores time) + * @property {Date|string} [sentSince] Matches messages sent after date + * @property {String} [keyword] Matches messages that have the custom flag set + * @property {String} [unKeyword] Matches messages that do not have the custom flag set + * @property {Object.} [header] Mathces messages with header key set if value is `true` (**NB!** not supported by all servers) or messages where header partially matches a string value + * @property {SearchObject[]} [or] An array of 2 or more {@link SearchObject} objects. At least on of these must match + */ + + /** + * Sets flags for a message or message range + * + * @param {SequenceString | Number[] | SearchObject} range Range to filter the messages + * @param {string[]} Array of flags to set. Only flags that are permitted to set are used, other flags are ignored + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then uses UID {@link SequenceString} instead of sequence numbers + * @param {BigInt} [options.unchangedSince] If set then only messages with a lower or equal `modseq` value are updated. Ignored if server does not support `CONDSTORE` extension. + * @param {Boolean} [options.useLabels=false] If true then update Gmail labels instead of message flags + * @returns {Promise} Did the operation succeed or not + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * // mark all unseen messages as seen (and remove other flags) + * await client.messageFlagsSet({seen: false}, ['\Seen]); + */ + async messageFlagsSet(range, flags, options) { + options = options || {}; + + range = await this.resolveRange(range, options); + if (!range) { + return false; + } + + let queryOpts = Object.assign( + { + operation: 'set' + }, + options + ); + + return await this.run('STORE', range, flags, queryOpts); + } + + /** + * Adds flags for a message or message range + * + * @param {SequenceString | Number[] | SearchObject} range Range to filter the messages + * @param {string[]} Array of flags to set. Only flags that are permitted to set are used, other flags are ignored + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then uses UID {@link SequenceString} instead of sequence numbers + * @param {BigInt} [options.unchangedSince] If set then only messages with a lower or equal `modseq` value are updated. Ignored if server does not support `CONDSTORE` extension. + * @param {Boolean} [options.useLabels=false] If true then update Gmail labels instead of message flags + * @returns {Promise} Did the operation succeed or not + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * // mark all unseen messages as seen (and keep other flags as is) + * await client.messageFlagsAdd({seen: false}, ['\Seen]); + */ + async messageFlagsAdd(range, flags, options) { + options = options || {}; + + range = await this.resolveRange(range, options); + if (!range) { + return false; + } + + let queryOpts = Object.assign( + { + operation: 'add' + }, + options + ); + + return await this.run('STORE', range, flags, queryOpts); + } + + /** + * Remove specific flags from a message or message range + * + * @param {SequenceString | Number[] | SearchObject} range Range to filter the messages + * @param {string[]} Array of flags to remove. Only flags that are permitted to set are used, other flags are ignored + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then uses UID {@link SequenceString} instead of sequence numbers + * @param {BigInt} [options.unchangedSince] If set then only messages with a lower or equal `modseq` value are updated. Ignored if server does not support `CONDSTORE` extension. + * @param {Boolean} [options.useLabels=false] If true then update Gmail labels instead of message flags + * @returns {Promise} Did the operation succeed or not + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * // mark all seen messages as unseen by removing \\Seen flag + * await client.messageFlagsRemove({seen: true}, ['\Seen]); + */ + async messageFlagsRemove(range, flags, options) { + options = options || {}; + + range = await this.resolveRange(range, options); + if (!range) { + return false; + } + + let queryOpts = Object.assign( + { + operation: 'remove' + }, + options + ); + + return await this.run('STORE', range, flags, queryOpts); + } + + /** + * Delete messages from currently opened mailbox. Method does not indicate info about deleted messages, + * instead you should be using {@link ImapFlow#expunge} event for this + * + * @param {SequenceString | Number[] | SearchObject} range Range to filter the messages + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then uses UID {@link SequenceString} instead of sequence numbers + * @returns {Promise} Did the operation succeed or not + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * // delete all seen messages + * await client.messageDelete({seen: true}); + */ + async messageDelete(range, options) { + options = options || {}; + range = await this.resolveRange(range, options); + if (!range) { + return false; + } + return await this.run('EXPUNGE', range, options); + } + + /** + * @typedef {Object} AppendResponseObject + * @global + * @property {String} path full mailbox path where the message was uploaded to + * @property {BigInt} [uidValidity] mailbox `UIDVALIDITY` if server has `UIDPLUS` extension enabled + * @property {Number} [uid] UID of the uploaded message if server has `UIDPLUS` extension enabled + * @property {Number} [seq] sequence number of the uploaded message if path is currently selected mailbox + */ + + /** + * Appends a new message to a mailbox + * + * @param {String} path Mailbox path to upload the message to (unicode string) + * @param {string|Buffer} content RFC822 formatted email message + * @param {string[]} [flags] an array of flags to be set for the uploaded message + * @param {Date|string} [idate=now] internal date to be set for the message + * @returns {Promise} info about uploaded message + * + * @example + * await client.append('INBOX', rawMessageBuffer, ['\\Seen'], new Date(2000, 1, 1)); + */ + async append(path, content, flags, idate) { + let response = await this.run('APPEND', path, content, flags, idate); + + if (!response) { + return false; + } + + return response; + } + + /** + * @typedef {Object} CopyResponseObject + * @global + * @property {String} path path of source mailbox + * @property {String} destination path of destination mailbox + * @property {BigInt} [uidValidity] destination mailbox `UIDVALIDITY` if server has `UIDPLUS` extension enabled + * @property {Map} [uidMap] Map of UID values (if server has `UIDPLUS` extension enabled) where key is UID in source mailbox and value is the UID for the same message in destination mailbox + */ + + /** + * Copies messages from current mailbox to destination mailbox + * + * @param {SequenceString | Number[] | SearchObject} range Range of messages to copy + * @param {String} destination Mailbox path to copy the messages to + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then uses UID {@link SequenceString} instead of sequence numbers + * @returns {Promise} info about copies messages + * + * @example + * await client.mailboxOpen('INBOX'); + * // copy all messages to a mailbox called "Backup" (must exist) + * let result = await client.messageCopy('1:*', 'Backup'); + * console.log('Copied %s messages', result.uidMap.size); + */ + async messageCopy(range, destination, options) { + options = options || {}; + range = await this.resolveRange(range, options); + if (!range) { + return false; + } + return await this.run('COPY', range, destination, options); + } + + /** + * Moves messages from current mailbox to destination mailbox + * + * @param {SequenceString | Number[] | SearchObject} range Range of messages to move + * @param {String} destination Mailbox path to move the messages to + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then uses UID {@link SequenceString} instead of sequence numbers + * @returns {Promise} info about moved messages + * + * @example + * await client.mailboxOpen('INBOX'); + * // move all messages to a mailbox called "Trash" (must exist) + * let result = await client.messageMove('1:*', 'Trash'); + * console.log('Moved %s messages', result.uidMap.size); + */ + async messageMove(range, destination, options) { + options = options || {}; + range = await this.resolveRange(range, options); + if (!range) { + return false; + } + return await this.run('MOVE', range, destination, options); + } + + /** + * Search messages from currently opened mailbox + * + * @param {SearchObject} query Query to filter the messages + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then returns UID numbers instead of sequence numbers + * @returns {Promise} An array of sequence or UID numbers + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * // find all unseen messages + * let list = await client.search({seen: false}); + * // use OR modifier (array of 2 or more search queries) + * let list = await client.search({ + * seen: false, + * or: [ + * {flagged: true}, + * {from: 'andris'}, + * {subject: 'test'} + * ]}); + */ + async search(query, options) { + if (!this.mailbox) { + // no mailbox selected, nothing to do + return; + } + + let response = await this.run('SEARCH', query, options); + + if (!response) { + return false; + } + + return response; + } + + /** + * @typedef {Object} FetchQueryObject + * @global + * @property {Boolean} [uid] if `true` then include UID in the response + * @property {Boolean} [flags] if `true` then include flags Set in the response + * @property {Boolean} [bodyStructure] if `true` then include parsed BODYSTRUCTURE object in the response + * @property {Boolean} [envelope] if `true` then include parsed ENVELOPE object in the response + * @property {Boolean} [internalDate] if `true` then include internal date value in the response + * @property {Boolean} [size] if `true` then include message size in the response + * @property {boolean | Object} [source] if `true` then include full message in the response + * @property {Number} [source.start] include full message in the response starting from *start* byte + * @property {Number} [source.maxLength] include full message in the response, up to *maxLength* bytes + * @property {String} [threadId] if `true` then include thread ID in the response (only if server supports either `OBJECTID` or `X-GM-EXT-1` extensions) + * @property {Boolean} [labels] if `true` then include GMail labels in the response (only if server supports `X-GM-EXT-1` extension) + * @property {boolean | string[]} [headers] if `true` then includes full headers of the message in the response. If the value is an array of header keys then includes only headers listed in the array + * @property {string[]} [bodyParts] An array of BODYPART identifiers to include in the response + */ + + /** + * Parsed email address entry + * + * @typedef {Object} MessageAddressObject + * @global + * @property {String} [name] name of the address object (unicode) + * @property {String} [address] email address + */ + + /** + * Parsed IMAP ENVELOPE object + * + * @typedef {Object} MessageEnvelopeObject + * @global + * @property {Date} [date] header date + * @property {String} [subject] message subject (unicode) + * @property {String} [messageId] Message ID of the message + * @property {String} [inReplyTo] Message ID from In-Reply-To header + * @property {MessageAddressObject[]} [from] Array of addresses from the From: header + * @property {MessageAddressObject[]} [sender] Array of addresses from the Sender: header + * @property {MessageAddressObject[]} [replyTo] Array of addresses from the Reply-To: header + * @property {MessageAddressObject[]} [to] Array of addresses from the To: header + * @property {MessageAddressObject[]} [cc] Array of addresses from the Cc: header + * @property {MessageAddressObject[]} [bcc] Array of addresses from the Bcc: header + */ + + /** + * Parsed IMAP BODYSTRUCTURE object + * + * @typedef {Object} MessageStructureObject + * @global + * @property {String} part Body part number. This value can be used to later fetch the contents of this part of the message + * @property {String} type Content-Type of this node + * @property {Object} [parameters] Additional parameters for Content-Type, eg "charset" + * @property {String} [id] Content-ID + * @property {String} [encoding] Transfer encoding + * @property {Number} [size] Expected size of the node + * @property {MessageEnvelopeObject} [envelope] message envelope of embedded RFC822 message + * @property {String} [disposition] Content disposition + * @property {Object} [dispositionParameters] Additional parameters for Conent-Disposition + * @property {MessageStructureObject[]} childNodes An array of child nodes if this is a multipart node. Not present for normal nodes + */ + + /** + * Fetched message data + * + * @typedef {Object} FetchMessageObject + * @global + * @property {Number} seq message sequence number. Always included in the response + * @property {Number} uid message UID number. Always included in the response + * @property {Buffer} [source] message source for the requested byte range + * @property {BigInt} [modseq] message Modseq number. Always included if the server supports CONDSTORE extension + * @property {String} [emailId] unique email ID. Always included if server supports `OBJECTID` or `X-GM-EXT-1` extensions + * @property {String} [threadid] unique thread ID. Only present if server supports `OBJECTID` or `X-GM-EXT-1` extension + * @property {Set} [labels] a Set of labels. Only present if server supports `X-GM-EXT-1` extension + * @property {Number} [size] message size + * @property {Set} [flags] a set of message flags + * @property {MessageEnvelopeObject} [envelope] message envelope + * @property {MessageStructureObject} [bodyStructure] message body structure + * @property {Date} [internalDate] message internal date + * @property {Map} [bodyParts] a Map of message body parts where key is requested part identifier and value is a Buffer + * @property {Buffer} [headers] Requested header lines as Buffer + */ + + /** + * Fetch messages from currently opened mailbox + * + * @param {SequenceString | Number[] | SearchObject} range Range of messages to fetch + * @param {FetchQueryObject} query Fetch query + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then uses UID numbers instead of sequence numbers for `range` + * @param {BigInt} [options.changedSince] If set then only messages with a higher modseq value are returned. Ignored if server does not support `CONDSTORE` extension. + * @param {Boolean} [options.binary=false] If `true` then requests a binary response if the server supports this + * @yields {Promise} Message data object + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * // fetch UID for all messages in a mailbox + * for await (let msg of client.fetch('1:*', {uid: true})){ + * console.log(msg.uid); + * } + */ + async *fetch(range, query, options) { + options = options || {}; + try { + if (!this.mailbox) { + // no mailbox selected, nothing to do + return; + } + + range = await this.resolveRange(range, options); + if (!range) { + return false; + } + + let finished = false; + let push = false; + let rowQueue = []; + let getNext = () => + new Promise((resolve, reject) => { + let check = () => { + if (rowQueue.length) { + let entry = rowQueue.shift(); + if (entry.err) { + return reject(entry.err); + } else { + return resolve(entry.value); + } + } + if (finished) { + return resolve(null); + } + + // wait until data is pushed to queue and try again + push = () => { + push = false; + check(); + }; + }; + check(); + }); + + this.run('FETCH', range, query, { + uid: !!options.uid, + binary: options.binary, + changedSince: options.changedSince, + onUntaggedFetch: (untagged, next) => { + rowQueue.push({ + value: { + response: untagged, + next + } + }); + if (typeof push === 'function') { + push(); + } + } + }) + .then(() => { + finished = true; + if (typeof push === 'function') { + push(); + } + }) + .catch(err => { + rowQueue.push({ err }); + }); + + let res; + while ((res = await getNext())) { + if (this.isClosed || this.socket.destroyed) { + let error = new Error('Connection closed'); + error.code = 'EConnectionClosed'; + throw error; + } + + if (res !== null) { + yield res.response; + res.next(); + } + } + + if (!finished) { + // FETCH never finished! + let error = new Error('FETCH did not finish'); + error.code = 'ENotFinished'; + throw error; + } + } catch (err) { + setImmediate(() => this.close()); + throw err; + } + } + + /** + * Fetch a single message from currently opened mailbox + * + * @param {SequenceString} seq Single UID or sequence number of the message to fetch for + * @param {FetchQueryObject} query Fetch query + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then uses UID number instead of sequence number for `seq` + * @param {Boolean} [options.binary=false] If `true` then requests a binary response if the server supports this + * @returns {Promise} Message data object + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * // fetch UID for the last email in the selected mailbox + * let lastMsg = await client.fetchOne('*', {uid: true}) + * console.log(lastMsg.uid); + */ + async fetchOne(seq, query, options) { + if (!this.mailbox) { + // no mailbox selected, nothing to do + return; + } + + if (seq === '*') { + if (!this.mailbox.exists) { + return false; + } + seq = this.mailbox.exists.toString(); + options = Object.assign({}, options || {}, { uid: false }); // force into a sequence query + } + + let response = await this.run('FETCH', (seq || '').toString(), query, options); + + if (!response || !response.list || !response.list.length) { + return false; + } + + return response.list[0]; + } + + /** + * @typedef {Object} DownloadObject + * @global + * @property {Object} meta content metadata + * @property {number} meta.expectedSize The fetch response size + * @property {String} meta.contentType Content-Type of the streamed file. If part was not set then this value is "message/rfc822" + * @property {String} [meta.charset] Charset of the body part. Text parts are automaticaly converted to UTF-8, attachments are kept as is + * @property {String} [meta.disposition] Content-Disposition of the streamed file + * @property {String} [meta.filename] Filename of the streamed body part + * @property {ReadableStream} content Streamed content + */ + + /** + * Download either full rfc822 formated message or a specific bodystructure part as a Stream. + * Bodystructure parts are decoded so the resulting stream is a binary file. Text content + * is automatically converted to UTF-8 charset. + * + * @param {SequenceString} range UID or sequence number for the message to fetch + * @param {String} [part] If not set then downloads entire rfc822 formatted message, otherwise downloads specific bodystructure part + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then uses UID number instead of sequence number for `range` + * @param {number} [options.maxBytes] If set then limits download size to specified bytes + * @param {number} [options.chunkSize=65536] How large content parts to ask from the server + * @returns {Promise} Download data object + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * // download body part nr '1.2' from latest message + * let {meta, content} = await client.download('*', '1.2'); + * content.pipe(fs.createWriteStream(meta.filename)); + */ + async download(range, part, options) { + if (!this.mailbox) { + // no mailbox selected, nothing to do + return {}; + } + + options = Object.assign( + { + chunkSize: 64 * 1024, + maxBytes: Infinity + }, + options || {} + ); + + let hasMore = true; + let processed = 0; + + let chunkSize = Number(options.chunkSize) || 64 * 1024; + let maxBytes = Number(options.maxBytes) || Infinity; + + let uid = false; + + if (part === '1') { + // First part has special conditions for single node emails as + // the mime parts for root node are not 1 and 1.MIME but TEXT and HEADERS + let response = await this.fetchOne(range, { uid: true, bodyStructure: true }, options); + + if (!response) { + return { response: false, chunk: false }; + } + + if (!uid && response.uid) { + uid = response.uid; + // force UID from now on even if first range was a sequence number + range = uid; + options.uid = true; + } + + if (!response.bodyStructure.childNodes) { + // single text message + part = 'TEXT'; + } + } + + let getNextPart = async query => { + query = query || {}; + + let mimeKey; + + if (!part) { + query.source = { + start: processed, + maxLength: chunkSize + }; + } else { + part = part.toString().toLowerCase().trim(); + + if (!query.bodyParts) { + query.bodyParts = []; + } + + if (query.size) { + if (/^[\d.]+$/.test(part)) { + // fetch meta as well + mimeKey = part + '.mime'; + query.bodyParts.push(mimeKey); + } else if (part === 'text') { + mimeKey = 'header'; + query.bodyParts.push(mimeKey); + } + } + + query.bodyParts.push({ + key: part, + start: processed, + maxLength: chunkSize + }); + } + + let response = await this.fetchOne(range, query, options); + + if (!response) { + return { response: false, chunk: false }; + } + + if (!uid && response.uid) { + uid = response.uid; + // force UID from now on even if first range was a sequence number + range = uid; + options.uid = true; + } + + let chunk = !part ? response.source : response.bodyParts && response.bodyParts.get(part); + if (!chunk) { + return {}; + } + + processed += chunk.length; + hasMore = chunk.length >= chunkSize; + + let result = { chunk }; + if (query.size) { + result.response = response; + } + + if (query.bodyParts) { + if (mimeKey === 'header') { + result.mime = response.headers; + } else { + result.mime = response.bodyParts.get(mimeKey); + } + } + + return result; + }; + + let { response, chunk, mime } = await getNextPart({ + size: true, + uid: true + }); + + if (!response || !chunk) { + // ??? + return {}; + } + + let meta = { + expectedSize: response.size + }; + + if (!part) { + meta.contentType = 'message/rfc822'; + } else if (mime) { + let headers = new Headers(mime); + let contentType = libmime.parseHeaderValue(headers.getFirst('Content-Type')); + let transferEncoding = libmime.parseHeaderValue(headers.getFirst('Content-Transfer-Encoding')); + let disposition = libmime.parseHeaderValue(headers.getFirst('Content-Disposition')); + + if (contentType.value.toLowerCase().trim()) { + meta.contentType = contentType.value.toLowerCase().trim(); + } + + if (contentType.params.charset) { + meta.charset = contentType.params.charset.toLowerCase().trim(); + } + + if (transferEncoding.value) { + meta.encoding = transferEncoding.value + .replace(/\(.*\)/g, '') + .toLowerCase() + .trim(); + } + + if (disposition.value) { + meta.disposition = disposition.value.toLowerCase().trim() || false; + try { + meta.disposition = libmime.decodeWords(meta.disposition); + } catch (err) { + // failed to parse disposition, keep as is (most probably an unknown charset is used) + } + } + + if (contentType.params.format && contentType.params.format.toLowerCase().trim() === 'flowed') { + meta.flowed = true; + if (contentType.params.delsp && contentType.params.delsp.toLowerCase().trim() === 'yes') { + meta.delSp = true; + } + } + + let filename = disposition.params.filename || contentType.params.name || false; + if (filename) { + try { + filename = this.libmime.decodeWords(filename); + } catch (err) { + // failed to parse filename, keep as is (most probably an unknown charset is used) + } + meta.filename = filename; + } + } + + let stream; + let output; + + switch (meta.encoding) { + case 'base64': + output = stream = new libbase64.Decoder(); + break; + case 'quoted-printable': + output = stream = new libqp.Decoder(); + break; + default: + output = stream = new PassThrough(); + } + + let isTextNode = ['text/html', 'text/plain', 'text/x-amp-html'].includes(meta.contentType) || (part === '1' && !meta.contentType); + if ((!meta.disposition || meta.disposition === 'inline') && isTextNode) { + // flowed text + if (meta.flowed) { + let flowDecoder = new FlowedDecoder({ + delSp: meta.delSp + }); + output.on('error', err => { + flowDecoder.emit('error', err); + }); + output = output.pipe(flowDecoder); + } + + // not utf-8 text + if (meta.charset && !['ascii', 'usascii', 'utf8'].includes(meta.charset.toLowerCase().replace(/[^a-z0-9]+/g, ''))) { + try { + let decoder = getDecoder(meta.charset); + output.on('error', err => { + decoder.emit('error', err); + }); + output = output.pipe(decoder); + // force to utf-8 for output + meta.charset = 'utf-8'; + } catch (E) { + // do not decode charset + } + } + } + + let limiter = new LimitedPassthrough({ maxBytes }); + output.on('error', err => { + limiter.emit('error', err); + }); + output = output.pipe(limiter); + + let writeChunk = chunk => { + if (limiter.limited) { + return true; + } + return stream.write(chunk); + }; + + let fetchAllParts = async () => { + while (hasMore && !limiter.limited) { + let { chunk } = await getNextPart(); + if (!chunk) { + break; + } + + if (writeChunk(chunk) === false) { + await new Promise(resolve => stream.once('drain', resolve)); + } + } + }; + + setImmediate(() => { + writeChunk(chunk); + fetchAllParts() + .catch(err => stream.emit('error', err)) + .finally(() => stream.end()); + }); + + return { + meta, + content: output + }; + } + + /** + * Fetch multiple attachments as Buffer values + * + * @param {SequenceString} range UID or sequence number for the message to fetch + * @param {String} parts A list of bodystructure parts + * @param {Object} [options] + * @param {Boolean} [options.uid] If `true` then uses UID number instead of sequence number for `range` + * @returns {Promise} Download data object + * + * @example + * let mailbox = await client.mailboxOpen('INBOX'); + * // download body parts '2', and '3' from all messages in the selected mailbox + * let response = await client.downloadMany('*', ['2', '3]); + * process.stdout.write(response[2].content) + * process.stdout.write(response[3].content) + */ + async downloadMany(range, parts, options) { + if (!this.mailbox) { + // no mailbox selected, nothing to do + return {}; + } + + options = Object.assign( + { + chunkSize: 64 * 1024, + maxBytes: Infinity + }, + options || {} + ); + + let query = { bodyParts: [] }; + + for (let part of parts) { + query.bodyParts.push(part + '.mime'); + query.bodyParts.push(part); + } + + let response = await this.fetchOne(range, query, options); + + if (!response || !response.bodyParts) { + return { response: false }; + } + + let data = {}; + + for (let [part, content] of response.bodyParts) { + let keyParts = part.split('.mime'); + if (keyParts.length === 1) { + // content + let key = keyParts[0]; + if (!data[key]) { + data[key] = { content }; + } else { + data[key].content = content; + } + } else if (keyParts.length === 2) { + // header + let key = keyParts[0]; + if (!data[key]) { + data[key] = {}; + } + if (!data[key].meta) { + data[key].meta = {}; + } + + let headers = new Headers(content); + let contentType = libmime.parseHeaderValue(headers.getFirst('Content-Type')); + let transferEncoding = libmime.parseHeaderValue(headers.getFirst('Content-Transfer-Encoding')); + let disposition = libmime.parseHeaderValue(headers.getFirst('Content-Disposition')); + + if (contentType.value.toLowerCase().trim()) { + data[key].meta.contentType = contentType.value.toLowerCase().trim(); + } + + if (contentType.params.charset) { + data[key].meta.charset = contentType.params.charset.toLowerCase().trim(); + } + + if (transferEncoding.value) { + data[key].meta.encoding = transferEncoding.value + .replace(/\(.*\)/g, '') + .toLowerCase() + .trim(); + } + + if (disposition.value) { + data[key].meta.disposition = disposition.value.toLowerCase().trim() || false; + try { + data[key].meta.disposition = libmime.decodeWords(data[key].meta.disposition); + } catch (err) { + // failed to parse disposition, keep as is (most probably an unknown charset is used) + } + } + + if (contentType.params.format && contentType.params.format.toLowerCase().trim() === 'flowed') { + data[key].meta.flowed = true; + if (contentType.params.delsp && contentType.params.delsp.toLowerCase().trim() === 'yes') { + data[key].meta.delSp = true; + } + } + + let filename = disposition.params.filename || contentType.params.name || false; + if (filename) { + try { + filename = this.libmime.decodeWords(filename); + } catch (err) { + // failed to parse filename, keep as is (most probably an unknown charset is used) + } + data[key].meta.filename = filename; + } + } + } + + for (let part of Object.keys(data)) { + let meta = data[part].meta; + + switch (meta.encoding) { + case 'base64': + data[part].content = data[part].content ? libbase64.decode(data[part].content.toString()) : null; + break; + case 'quoted-printable': + data[part].content = data[part].content ? libqp.decode(data[part].content.toString()) : null; + break; + // keep as is, already a buffer + } + } + + return data; + } + + async run(command, ...args) { + command = command.toUpperCase(); + if (!this.commands.has(command)) { + return false; + } + + if (this.socket.destroyed) { + let err = new Error('Connection not available'); + throw err; + } + + clearTimeout(this.idleStartTimer); + + if (typeof this.preCheck === 'function') { + await this.preCheck(); + } + + let handler = this.commands.get(command); + + let result = await handler(this, ...args); + + this.autoidle(); + + return result; + } + + async processLocks(force) { + if (!force && this.processingLock) { + return; + } + if (!this.locks.length) { + this.processingLock = false; + return; + } + this.processingLock = true; + + const release = () => { + if (this.currentLockId) { + this.log.trace({ msg: 'Mailbox lock released', lockId: this.currentLockId, path: this.mailbox && this.mailbox.path }); + this.currentLockId = 0; + } + this.processLocks(true).catch(err => this.log.error({ err, cid: this.id })); + }; + + const { resolve, reject, path, options, lockId } = this.locks.shift(); + + if (!this.usable || this.socket.destroyed) { + // reject all + let err = new Error('Connection not available'); + this.log.trace({ msg: 'Failed to acquire mailbox lock', path, lockId }); + reject(err); + return await this.processLocks(true); + } + + if (this.mailbox && this.mailbox.path === path && !!this.mailbox.readOnly === !!options.readOnly) { + // nothing to do here, already selected + this.log.trace({ msg: 'Mailbox lock acquired', path, lockId }); + this.currentLockId = lockId; + return resolve({ path, release }); + } else { + try { + // Try to open. Throws if mailbox does not exists or can't open + await this.mailboxOpen(path, options); + this.log.trace({ msg: 'Lock acquired', path, lockId }); + this.currentLockId = lockId; + return resolve({ path, release }); + } catch (err) { + if (err.responseStatus === 'NO') { + try { + let folders = await this.run('LIST', '', path, { listOnly: true }); + if (!folders || !folders.length) { + err.mailboxMissing = true; + } + } catch (E) { + this.log.trace({ msg: 'Failed to verify failed mailbox', path, err: E }); + } + } + + this.log.trace({ msg: 'Failed to acquire mailbox lock', path, lockId }); + reject(err); + await this.processLocks(true); + } + } + } + + /** + * Opens a mailbox if not already open and returns a lock. Next call to `getMailboxLock()` is queued + * until previous lock is released. This is suggested over {@link module:imapflow~ImapFlow#mailboxOpen|mailboxOpen()} as + * `getMailboxLock()` gives you a weak transaction while `mailboxOpen()` has no guarantees whatsoever that another + * mailbox is opened while you try to call multiple fetch or store commands. + * + * @param {string|array} path **Path for the mailbox** to open + * @param {Object} [options] optional options + * @param {Boolean} [options.readOnly=false] If `true` then opens mailbox in read-only mode. You can still try to perform write operations but these would probably fail. + * @returns {Promise} Mailbox lock + * @throws Will throw an error if mailbox does not exist or can not be opened + * + * @example + * let lock = await client.getMailboxLock('INBOX'); + * try { + * // do something in the mailbox + * } finally { + * // use finally{} to make sure lock is released even if exception occurs + * lock.release(); + * } + */ + async getMailboxLock(path, options) { + options = options || {}; + + path = normalizePath(this, path); + + let lockId = ++this.lockCounter; + this.log.trace({ msg: 'Requesting lock', path, lockId }); + + return await new Promise((resolve, reject) => { + this.locks.push({ resolve, reject, path, options, lockId }); + this.processLocks().catch(err => reject(err)); + }); + } + + getLogger() { + let mainLogger = + this.options.logger && typeof this.options.logger === 'object' + ? this.options.logger + : logger.child({ + component: 'imap-connection', + cid: this.id + }); + + let synteticLogger = {}; + let levels = ['trace', 'debug', 'info', 'warn', 'error', 'fatal']; + for (let level of levels) { + synteticLogger[level] = (...args) => { + // using {logger:false} disables logging + if (this.options.logger !== false) { + if (logger) + if (typeof mainLogger[level] !== 'function') { + // we are checking to make sure the level is supported. + // if it isn't supported but the level is error or fatal, log to console anyway. + if (level === 'fatal' || level === 'error') { + console.log(JSON.stringify(...args)); + } + } else { + mainLogger[level](...args); + } + } + + if (this.emitLogs && args && args[0] && typeof args[0] === 'object') { + let logEntry = Object.assign({ level, t: Date.now(), cid: this.id, lo: ++this.lo }, args[0]); + if (logEntry.err && typeof logEntry.err === 'object') { + let err = logEntry.err; + logEntry.err = { + stack: err.stack + }; + // enumerable error fields + Object.keys(err).forEach(key => { + logEntry.err[key] = err[key]; + }); + } + this.emit('log', logEntry); + } + }; + } + + return synteticLogger; + } + + unbind() { + this.socket.unpipe(this.streamer); + if (this._inflate) { + this._inflate.unpipe(this.streamer); + } + + this.socket.removeListener('error', this._socketError); + this.socket.removeListener('close', this._socketClose); + this.socket.removeListener('end', this._socketEnd); + this.socket.removeListener('tlsClientError', this._socketError); + this.socket.removeListener('timeout', this._socketTimeout); + + return { + readSocket: this._inflate || this.socket, + writeSocket: this.writeSocket || this.socket + }; + } +} + +/** + * Connection close event. **NB!** ImapFlow does not handle reconncts automatically. + * So whenever a 'close' event occurs you must create a new connection yourself. + * + * @event module:imapflow~ImapFlow#close + */ + +/** + * Error event. In most cases getting an error event also means that connection is closed + * and pending operations should return with a failure. + * + * @event module:imapflow~ImapFlow#error + * @type {Error} + * @example + * client.on('error', err=>{ + * console.log(`Error occurred: ${err.message}`); + * }); + */ + +/** + * Message count in currently opened mailbox changed + * + * @event module:imapflow~ImapFlow#exists + * @type {Object} + * @property {String} path mailbox path this event applies to + * @property {Number} count updated count of messages + * @property {Number} prevCount message count before this update + * @example + * client.on('exists', data=>{ + * console.log(`Message count in "${data.path}" is ${data.count}`); + * }); + */ + +/** + * Deleted message sequence number in currently opened mailbox. One event is fired for every deleted email. + * + * @event module:imapflow~ImapFlow#expunge + * @type {Object} + * @property {String} path mailbox path this event applies to + * @property {Number} seq sequence number of deleted message + * @example + * client.on('expunge', data=>{ + * console.log(`Message #${data.seq} was deleted from "${data.path}"`); + * }); + */ + +/** + * Flags were updated for a message. Not all servers fire this event. + * + * @event module:imapflow~ImapFlow#flags + * @type {Object} + * @property {String} path mailbox path this event applies to + * @property {Number} seq sequence number of updated message + * @property {Number} [uid] UID number of updated message (if server provided this value) + * @property {BigInt} [modseq] Updated modseq number for the mailbox (if server provided this value) + * @property {Set} flags A set of all flags for the updated message + * @example + * client.on('flags', data=>{ + * console.log(`Flag set for #${data.seq} is now "${Array.from(data.flags).join(', ')}"`); + * }); + */ + +/** + * Mailbox was opened + * + * @event module:imapflow~ImapFlow#mailboxOpen + * @type {MailboxObject} + * @example + * client.on('mailboxOpen', mailbox => { + * console.log(`Mailbox ${mailbox.path} was opened`); + * }); + */ + +/** + * Mailbox was closed + * + * @event module:imapflow~ImapFlow#mailboxClose + * @type {MailboxObject} + * @example + * client.on('mailboxClose', mailbox => { + * console.log(`Mailbox ${mailbox.path} was closed`); + * }); + */ + +/** + * Log event if `emitLogs=true` + * + * @event module:imapflow~ImapFlow#log + * @type {Object} + * @example + * client.on('log', entry => { + * console.log(`${log.cid} ${log.msg}`); + * }); + */ + +var ImapFlow_1 = imapFlow.ImapFlow = ImapFlow; + +export { ImapFlow_1 as ImapFlow, imapFlow as default }; diff --git a/libs/mailparser.js b/libs/mailparser.js new file mode 100644 index 00000000000..d3c85891015 --- /dev/null +++ b/libs/mailparser.js @@ -0,0 +1,38331 @@ +import require$$0$2 from 'stream'; +import require$$0$1 from 'buffer'; +import require$$1$1 from 'string_decoder'; +import require$$5$2 from 'path'; +import require$$4$1 from 'punycode'; +import require$$0$3 from 'crypto'; + +var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {}; + +var libmimeExports$1 = {}; +var libmime$5 = { + get exports(){ return libmimeExports$1; }, + set exports(v){ libmimeExports$1 = v; }, +}; + +var charsetExports$1 = {}; +var charset$3 = { + get exports(){ return charsetExports$1; }, + set exports(v){ charsetExports$1 = v; }, +}; + +var libExports = {}; +var lib$6 = { + get exports(){ return libExports; }, + set exports(v){ libExports = v; }, +}; + +/* eslint-disable node/no-deprecated-api */ + +var buffer = require$$0$1; +var Buffer$1 = buffer.Buffer; + +var safer = {}; + +var key; + +for (key in buffer) { + if (!buffer.hasOwnProperty(key)) continue + if (key === 'SlowBuffer' || key === 'Buffer') continue + safer[key] = buffer[key]; +} + +var Safer = safer.Buffer = {}; +for (key in Buffer$1) { + if (!Buffer$1.hasOwnProperty(key)) continue + if (key === 'allocUnsafe' || key === 'allocUnsafeSlow') continue + Safer[key] = Buffer$1[key]; +} + +safer.Buffer.prototype = Buffer$1.prototype; + +if (!Safer.from || Safer.from === Uint8Array.from) { + Safer.from = function (value, encodingOrOffset, length) { + if (typeof value === 'number') { + throw new TypeError('The "value" argument must not be of type number. Received type ' + typeof value) + } + if (value && typeof value.length === 'undefined') { + throw new TypeError('The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type ' + typeof value) + } + return Buffer$1(value, encodingOrOffset, length) + }; +} + +if (!Safer.alloc) { + Safer.alloc = function (size, fill, encoding) { + if (typeof size !== 'number') { + throw new TypeError('The "size" argument must be of type number. Received type ' + typeof size) + } + if (size < 0 || size >= 2 * (1 << 30)) { + throw new RangeError('The value "' + size + '" is invalid for option "size"') + } + var buf = Buffer$1(size); + if (!fill || fill.length === 0) { + buf.fill(0); + } else if (typeof encoding === 'string') { + buf.fill(fill, encoding); + } else { + buf.fill(fill); + } + return buf + }; +} + +if (!safer.kStringMaxLength) { + try { + safer.kStringMaxLength = process.binding('buffer').kStringMaxLength; + } catch (e) { + // we can't determine kStringMaxLength in environments where process.binding + // is unsupported, so let's not set it + } +} + +if (!safer.constants) { + safer.constants = { + MAX_LENGTH: safer.kMaxLength + }; + if (safer.kStringMaxLength) { + safer.constants.MAX_STRING_LENGTH = safer.kStringMaxLength; + } +} + +var safer_1 = safer; + +var bomHandling = {}; + +var BOMChar = '\uFEFF'; + +bomHandling.PrependBOM = PrependBOMWrapper; +function PrependBOMWrapper(encoder, options) { + this.encoder = encoder; + this.addBOM = true; +} + +PrependBOMWrapper.prototype.write = function(str) { + if (this.addBOM) { + str = BOMChar + str; + this.addBOM = false; + } + + return this.encoder.write(str); +}; + +PrependBOMWrapper.prototype.end = function() { + return this.encoder.end(); +}; + + +//------------------------------------------------------------------------------ + +bomHandling.StripBOM = StripBOMWrapper; +function StripBOMWrapper(decoder, options) { + this.decoder = decoder; + this.pass = false; + this.options = options || {}; +} + +StripBOMWrapper.prototype.write = function(buf) { + var res = this.decoder.write(buf); + if (this.pass || !res) + return res; + + if (res[0] === BOMChar) { + res = res.slice(1); + if (typeof this.options.stripBOM === 'function') + this.options.stripBOM(); + } + + this.pass = true; + return res; +}; + +StripBOMWrapper.prototype.end = function() { + return this.decoder.end(); +}; + +var encodings = {}; + +var internal; +var hasRequiredInternal; + +function requireInternal () { + if (hasRequiredInternal) return internal; + hasRequiredInternal = 1; + var Buffer = safer_1.Buffer; + + // Export Node.js internal encodings. + + internal = { + // Encodings + utf8: { type: "_internal", bomAware: true}, + cesu8: { type: "_internal", bomAware: true}, + unicode11utf8: "utf8", + + ucs2: { type: "_internal", bomAware: true}, + utf16le: "ucs2", + + binary: { type: "_internal" }, + base64: { type: "_internal" }, + hex: { type: "_internal" }, + + // Codec. + _internal: InternalCodec, + }; + + //------------------------------------------------------------------------------ + + function InternalCodec(codecOptions, iconv) { + this.enc = codecOptions.encodingName; + this.bomAware = codecOptions.bomAware; + + if (this.enc === "base64") + this.encoder = InternalEncoderBase64; + else if (this.enc === "cesu8") { + this.enc = "utf8"; // Use utf8 for decoding. + this.encoder = InternalEncoderCesu8; + + // Add decoder for versions of Node not supporting CESU-8 + if (Buffer.from('eda0bdedb2a9', 'hex').toString() !== '💩') { + this.decoder = InternalDecoderCesu8; + this.defaultCharUnicode = iconv.defaultCharUnicode; + } + } + } + + InternalCodec.prototype.encoder = InternalEncoder; + InternalCodec.prototype.decoder = InternalDecoder; + + //------------------------------------------------------------------------------ + + // We use node.js internal decoder. Its signature is the same as ours. + var StringDecoder = require$$1$1.StringDecoder; + + if (!StringDecoder.prototype.end) // Node v0.8 doesn't have this method. + StringDecoder.prototype.end = function() {}; + + + function InternalDecoder(options, codec) { + this.decoder = new StringDecoder(codec.enc); + } + + InternalDecoder.prototype.write = function(buf) { + if (!Buffer.isBuffer(buf)) { + buf = Buffer.from(buf); + } + + return this.decoder.write(buf); + }; + + InternalDecoder.prototype.end = function() { + return this.decoder.end(); + }; + + + //------------------------------------------------------------------------------ + // Encoder is mostly trivial + + function InternalEncoder(options, codec) { + this.enc = codec.enc; + } + + InternalEncoder.prototype.write = function(str) { + return Buffer.from(str, this.enc); + }; + + InternalEncoder.prototype.end = function() { + }; + + + //------------------------------------------------------------------------------ + // Except base64 encoder, which must keep its state. + + function InternalEncoderBase64(options, codec) { + this.prevStr = ''; + } + + InternalEncoderBase64.prototype.write = function(str) { + str = this.prevStr + str; + var completeQuads = str.length - (str.length % 4); + this.prevStr = str.slice(completeQuads); + str = str.slice(0, completeQuads); + + return Buffer.from(str, "base64"); + }; + + InternalEncoderBase64.prototype.end = function() { + return Buffer.from(this.prevStr, "base64"); + }; + + + //------------------------------------------------------------------------------ + // CESU-8 encoder is also special. + + function InternalEncoderCesu8(options, codec) { + } + + InternalEncoderCesu8.prototype.write = function(str) { + var buf = Buffer.alloc(str.length * 3), bufIdx = 0; + for (var i = 0; i < str.length; i++) { + var charCode = str.charCodeAt(i); + // Naive implementation, but it works because CESU-8 is especially easy + // to convert from UTF-16 (which all JS strings are encoded in). + if (charCode < 0x80) + buf[bufIdx++] = charCode; + else if (charCode < 0x800) { + buf[bufIdx++] = 0xC0 + (charCode >>> 6); + buf[bufIdx++] = 0x80 + (charCode & 0x3f); + } + else { // charCode will always be < 0x10000 in javascript. + buf[bufIdx++] = 0xE0 + (charCode >>> 12); + buf[bufIdx++] = 0x80 + ((charCode >>> 6) & 0x3f); + buf[bufIdx++] = 0x80 + (charCode & 0x3f); + } + } + return buf.slice(0, bufIdx); + }; + + InternalEncoderCesu8.prototype.end = function() { + }; + + //------------------------------------------------------------------------------ + // CESU-8 decoder is not implemented in Node v4.0+ + + function InternalDecoderCesu8(options, codec) { + this.acc = 0; + this.contBytes = 0; + this.accBytes = 0; + this.defaultCharUnicode = codec.defaultCharUnicode; + } + + InternalDecoderCesu8.prototype.write = function(buf) { + var acc = this.acc, contBytes = this.contBytes, accBytes = this.accBytes, + res = ''; + for (var i = 0; i < buf.length; i++) { + var curByte = buf[i]; + if ((curByte & 0xC0) !== 0x80) { // Leading byte + if (contBytes > 0) { // Previous code is invalid + res += this.defaultCharUnicode; + contBytes = 0; + } + + if (curByte < 0x80) { // Single-byte code + res += String.fromCharCode(curByte); + } else if (curByte < 0xE0) { // Two-byte code + acc = curByte & 0x1F; + contBytes = 1; accBytes = 1; + } else if (curByte < 0xF0) { // Three-byte code + acc = curByte & 0x0F; + contBytes = 2; accBytes = 1; + } else { // Four or more are not supported for CESU-8. + res += this.defaultCharUnicode; + } + } else { // Continuation byte + if (contBytes > 0) { // We're waiting for it. + acc = (acc << 6) | (curByte & 0x3f); + contBytes--; accBytes++; + if (contBytes === 0) { + // Check for overlong encoding, but support Modified UTF-8 (encoding NULL as C0 80) + if (accBytes === 2 && acc < 0x80 && acc > 0) + res += this.defaultCharUnicode; + else if (accBytes === 3 && acc < 0x800) + res += this.defaultCharUnicode; + else + // Actually add character. + res += String.fromCharCode(acc); + } + } else { // Unexpected continuation byte + res += this.defaultCharUnicode; + } + } + } + this.acc = acc; this.contBytes = contBytes; this.accBytes = accBytes; + return res; + }; + + InternalDecoderCesu8.prototype.end = function() { + var res = 0; + if (this.contBytes > 0) + res += this.defaultCharUnicode; + return res; + }; + return internal; +} + +var utf32 = {}; + +var hasRequiredUtf32; + +function requireUtf32 () { + if (hasRequiredUtf32) return utf32; + hasRequiredUtf32 = 1; + + var Buffer = safer_1.Buffer; + + // == UTF32-LE/BE codec. ========================================================== + + utf32._utf32 = Utf32Codec; + + function Utf32Codec(codecOptions, iconv) { + this.iconv = iconv; + this.bomAware = true; + this.isLE = codecOptions.isLE; + } + + utf32.utf32le = { type: '_utf32', isLE: true }; + utf32.utf32be = { type: '_utf32', isLE: false }; + + // Aliases + utf32.ucs4le = 'utf32le'; + utf32.ucs4be = 'utf32be'; + + Utf32Codec.prototype.encoder = Utf32Encoder; + Utf32Codec.prototype.decoder = Utf32Decoder; + + // -- Encoding + + function Utf32Encoder(options, codec) { + this.isLE = codec.isLE; + this.highSurrogate = 0; + } + + Utf32Encoder.prototype.write = function(str) { + var src = Buffer.from(str, 'ucs2'); + var dst = Buffer.alloc(src.length * 2); + var write32 = this.isLE ? dst.writeUInt32LE : dst.writeUInt32BE; + var offset = 0; + + for (var i = 0; i < src.length; i += 2) { + var code = src.readUInt16LE(i); + var isHighSurrogate = (0xD800 <= code && code < 0xDC00); + var isLowSurrogate = (0xDC00 <= code && code < 0xE000); + + if (this.highSurrogate) { + if (isHighSurrogate || !isLowSurrogate) { + // There shouldn't be two high surrogates in a row, nor a high surrogate which isn't followed by a low + // surrogate. If this happens, keep the pending high surrogate as a stand-alone semi-invalid character + // (technically wrong, but expected by some applications, like Windows file names). + write32.call(dst, this.highSurrogate, offset); + offset += 4; + } + else { + // Create 32-bit value from high and low surrogates; + var codepoint = (((this.highSurrogate - 0xD800) << 10) | (code - 0xDC00)) + 0x10000; + + write32.call(dst, codepoint, offset); + offset += 4; + this.highSurrogate = 0; + + continue; + } + } + + if (isHighSurrogate) + this.highSurrogate = code; + else { + // Even if the current character is a low surrogate, with no previous high surrogate, we'll + // encode it as a semi-invalid stand-alone character for the same reasons expressed above for + // unpaired high surrogates. + write32.call(dst, code, offset); + offset += 4; + this.highSurrogate = 0; + } + } + + if (offset < dst.length) + dst = dst.slice(0, offset); + + return dst; + }; + + Utf32Encoder.prototype.end = function() { + // Treat any leftover high surrogate as a semi-valid independent character. + if (!this.highSurrogate) + return; + + var buf = Buffer.alloc(4); + + if (this.isLE) + buf.writeUInt32LE(this.highSurrogate, 0); + else + buf.writeUInt32BE(this.highSurrogate, 0); + + this.highSurrogate = 0; + + return buf; + }; + + // -- Decoding + + function Utf32Decoder(options, codec) { + this.isLE = codec.isLE; + this.badChar = codec.iconv.defaultCharUnicode.charCodeAt(0); + this.overflow = []; + } + + Utf32Decoder.prototype.write = function(src) { + if (src.length === 0) + return ''; + + var i = 0; + var codepoint = 0; + var dst = Buffer.alloc(src.length + 4); + var offset = 0; + var isLE = this.isLE; + var overflow = this.overflow; + var badChar = this.badChar; + + if (overflow.length > 0) { + for (; i < src.length && overflow.length < 4; i++) + overflow.push(src[i]); + + if (overflow.length === 4) { + // NOTE: codepoint is a signed int32 and can be negative. + // NOTE: We copied this block from below to help V8 optimize it (it works with array, not buffer). + if (isLE) { + codepoint = overflow[i] | (overflow[i+1] << 8) | (overflow[i+2] << 16) | (overflow[i+3] << 24); + } else { + codepoint = overflow[i+3] | (overflow[i+2] << 8) | (overflow[i+1] << 16) | (overflow[i] << 24); + } + overflow.length = 0; + + offset = _writeCodepoint(dst, offset, codepoint, badChar); + } + } + + // Main loop. Should be as optimized as possible. + for (; i < src.length - 3; i += 4) { + // NOTE: codepoint is a signed int32 and can be negative. + if (isLE) { + codepoint = src[i] | (src[i+1] << 8) | (src[i+2] << 16) | (src[i+3] << 24); + } else { + codepoint = src[i+3] | (src[i+2] << 8) | (src[i+1] << 16) | (src[i] << 24); + } + offset = _writeCodepoint(dst, offset, codepoint, badChar); + } + + // Keep overflowing bytes. + for (; i < src.length; i++) { + overflow.push(src[i]); + } + + return dst.slice(0, offset).toString('ucs2'); + }; + + function _writeCodepoint(dst, offset, codepoint, badChar) { + // NOTE: codepoint is signed int32 and can be negative. We keep it that way to help V8 with optimizations. + if (codepoint < 0 || codepoint > 0x10FFFF) { + // Not a valid Unicode codepoint + codepoint = badChar; + } + + // Ephemeral Planes: Write high surrogate. + if (codepoint >= 0x10000) { + codepoint -= 0x10000; + + var high = 0xD800 | (codepoint >> 10); + dst[offset++] = high & 0xff; + dst[offset++] = high >> 8; + + // Low surrogate is written below. + var codepoint = 0xDC00 | (codepoint & 0x3FF); + } + + // Write BMP char or low surrogate. + dst[offset++] = codepoint & 0xff; + dst[offset++] = codepoint >> 8; + + return offset; + } + Utf32Decoder.prototype.end = function() { + this.overflow.length = 0; + }; + + // == UTF-32 Auto codec ============================================================= + // Decoder chooses automatically from UTF-32LE and UTF-32BE using BOM and space-based heuristic. + // Defaults to UTF-32LE. http://en.wikipedia.org/wiki/UTF-32 + // Encoder/decoder default can be changed: iconv.decode(buf, 'utf32', {defaultEncoding: 'utf-32be'}); + + // Encoder prepends BOM (which can be overridden with (addBOM: false}). + + utf32.utf32 = Utf32AutoCodec; + utf32.ucs4 = 'utf32'; + + function Utf32AutoCodec(options, iconv) { + this.iconv = iconv; + } + + Utf32AutoCodec.prototype.encoder = Utf32AutoEncoder; + Utf32AutoCodec.prototype.decoder = Utf32AutoDecoder; + + // -- Encoding + + function Utf32AutoEncoder(options, codec) { + options = options || {}; + + if (options.addBOM === undefined) + options.addBOM = true; + + this.encoder = codec.iconv.getEncoder(options.defaultEncoding || 'utf-32le', options); + } + + Utf32AutoEncoder.prototype.write = function(str) { + return this.encoder.write(str); + }; + + Utf32AutoEncoder.prototype.end = function() { + return this.encoder.end(); + }; + + // -- Decoding + + function Utf32AutoDecoder(options, codec) { + this.decoder = null; + this.initialBufs = []; + this.initialBufsLen = 0; + this.options = options || {}; + this.iconv = codec.iconv; + } + + Utf32AutoDecoder.prototype.write = function(buf) { + if (!this.decoder) { + // Codec is not chosen yet. Accumulate initial bytes. + this.initialBufs.push(buf); + this.initialBufsLen += buf.length; + + if (this.initialBufsLen < 32) // We need more bytes to use space heuristic (see below) + return ''; + + // We have enough bytes -> detect endianness. + var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding); + this.decoder = this.iconv.getDecoder(encoding, this.options); + + var resStr = ''; + for (var i = 0; i < this.initialBufs.length; i++) + resStr += this.decoder.write(this.initialBufs[i]); + + this.initialBufs.length = this.initialBufsLen = 0; + return resStr; + } + + return this.decoder.write(buf); + }; + + Utf32AutoDecoder.prototype.end = function() { + if (!this.decoder) { + var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding); + this.decoder = this.iconv.getDecoder(encoding, this.options); + + var resStr = ''; + for (var i = 0; i < this.initialBufs.length; i++) + resStr += this.decoder.write(this.initialBufs[i]); + + var trail = this.decoder.end(); + if (trail) + resStr += trail; + + this.initialBufs.length = this.initialBufsLen = 0; + return resStr; + } + + return this.decoder.end(); + }; + + function detectEncoding(bufs, defaultEncoding) { + var b = []; + var charsProcessed = 0; + var invalidLE = 0, invalidBE = 0; // Number of invalid chars when decoded as LE or BE. + var bmpCharsLE = 0, bmpCharsBE = 0; // Number of BMP chars when decoded as LE or BE. + + outer_loop: + for (var i = 0; i < bufs.length; i++) { + var buf = bufs[i]; + for (var j = 0; j < buf.length; j++) { + b.push(buf[j]); + if (b.length === 4) { + if (charsProcessed === 0) { + // Check BOM first. + if (b[0] === 0xFF && b[1] === 0xFE && b[2] === 0 && b[3] === 0) { + return 'utf-32le'; + } + if (b[0] === 0 && b[1] === 0 && b[2] === 0xFE && b[3] === 0xFF) { + return 'utf-32be'; + } + } + + if (b[0] !== 0 || b[1] > 0x10) invalidBE++; + if (b[3] !== 0 || b[2] > 0x10) invalidLE++; + + if (b[0] === 0 && b[1] === 0 && (b[2] !== 0 || b[3] !== 0)) bmpCharsBE++; + if ((b[0] !== 0 || b[1] !== 0) && b[2] === 0 && b[3] === 0) bmpCharsLE++; + + b.length = 0; + charsProcessed++; + + if (charsProcessed >= 100) { + break outer_loop; + } + } + } + } + + // Make decisions. + if (bmpCharsBE - invalidBE > bmpCharsLE - invalidLE) return 'utf-32be'; + if (bmpCharsBE - invalidBE < bmpCharsLE - invalidLE) return 'utf-32le'; + + // Couldn't decide (likely all zeros or not enough data). + return defaultEncoding || 'utf-32le'; + } + return utf32; +} + +var utf16 = {}; + +var hasRequiredUtf16; + +function requireUtf16 () { + if (hasRequiredUtf16) return utf16; + hasRequiredUtf16 = 1; + var Buffer = safer_1.Buffer; + + // Note: UTF16-LE (or UCS2) codec is Node.js native. See encodings/internal.js + + // == UTF16-BE codec. ========================================================== + + utf16.utf16be = Utf16BECodec; + function Utf16BECodec() { + } + + Utf16BECodec.prototype.encoder = Utf16BEEncoder; + Utf16BECodec.prototype.decoder = Utf16BEDecoder; + Utf16BECodec.prototype.bomAware = true; + + + // -- Encoding + + function Utf16BEEncoder() { + } + + Utf16BEEncoder.prototype.write = function(str) { + var buf = Buffer.from(str, 'ucs2'); + for (var i = 0; i < buf.length; i += 2) { + var tmp = buf[i]; buf[i] = buf[i+1]; buf[i+1] = tmp; + } + return buf; + }; + + Utf16BEEncoder.prototype.end = function() { + }; + + + // -- Decoding + + function Utf16BEDecoder() { + this.overflowByte = -1; + } + + Utf16BEDecoder.prototype.write = function(buf) { + if (buf.length == 0) + return ''; + + var buf2 = Buffer.alloc(buf.length + 1), + i = 0, j = 0; + + if (this.overflowByte !== -1) { + buf2[0] = buf[0]; + buf2[1] = this.overflowByte; + i = 1; j = 2; + } + + for (; i < buf.length-1; i += 2, j+= 2) { + buf2[j] = buf[i+1]; + buf2[j+1] = buf[i]; + } + + this.overflowByte = (i == buf.length-1) ? buf[buf.length-1] : -1; + + return buf2.slice(0, j).toString('ucs2'); + }; + + Utf16BEDecoder.prototype.end = function() { + this.overflowByte = -1; + }; + + + // == UTF-16 codec ============================================================= + // Decoder chooses automatically from UTF-16LE and UTF-16BE using BOM and space-based heuristic. + // Defaults to UTF-16LE, as it's prevalent and default in Node. + // http://en.wikipedia.org/wiki/UTF-16 and http://encoding.spec.whatwg.org/#utf-16le + // Decoder default can be changed: iconv.decode(buf, 'utf16', {defaultEncoding: 'utf-16be'}); + + // Encoder uses UTF-16LE and prepends BOM (which can be overridden with addBOM: false). + + utf16.utf16 = Utf16Codec; + function Utf16Codec(codecOptions, iconv) { + this.iconv = iconv; + } + + Utf16Codec.prototype.encoder = Utf16Encoder; + Utf16Codec.prototype.decoder = Utf16Decoder; + + + // -- Encoding (pass-through) + + function Utf16Encoder(options, codec) { + options = options || {}; + if (options.addBOM === undefined) + options.addBOM = true; + this.encoder = codec.iconv.getEncoder('utf-16le', options); + } + + Utf16Encoder.prototype.write = function(str) { + return this.encoder.write(str); + }; + + Utf16Encoder.prototype.end = function() { + return this.encoder.end(); + }; + + + // -- Decoding + + function Utf16Decoder(options, codec) { + this.decoder = null; + this.initialBufs = []; + this.initialBufsLen = 0; + + this.options = options || {}; + this.iconv = codec.iconv; + } + + Utf16Decoder.prototype.write = function(buf) { + if (!this.decoder) { + // Codec is not chosen yet. Accumulate initial bytes. + this.initialBufs.push(buf); + this.initialBufsLen += buf.length; + + if (this.initialBufsLen < 16) // We need more bytes to use space heuristic (see below) + return ''; + + // We have enough bytes -> detect endianness. + var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding); + this.decoder = this.iconv.getDecoder(encoding, this.options); + + var resStr = ''; + for (var i = 0; i < this.initialBufs.length; i++) + resStr += this.decoder.write(this.initialBufs[i]); + + this.initialBufs.length = this.initialBufsLen = 0; + return resStr; + } + + return this.decoder.write(buf); + }; + + Utf16Decoder.prototype.end = function() { + if (!this.decoder) { + var encoding = detectEncoding(this.initialBufs, this.options.defaultEncoding); + this.decoder = this.iconv.getDecoder(encoding, this.options); + + var resStr = ''; + for (var i = 0; i < this.initialBufs.length; i++) + resStr += this.decoder.write(this.initialBufs[i]); + + var trail = this.decoder.end(); + if (trail) + resStr += trail; + + this.initialBufs.length = this.initialBufsLen = 0; + return resStr; + } + return this.decoder.end(); + }; + + function detectEncoding(bufs, defaultEncoding) { + var b = []; + var charsProcessed = 0; + var asciiCharsLE = 0, asciiCharsBE = 0; // Number of ASCII chars when decoded as LE or BE. + + outer_loop: + for (var i = 0; i < bufs.length; i++) { + var buf = bufs[i]; + for (var j = 0; j < buf.length; j++) { + b.push(buf[j]); + if (b.length === 2) { + if (charsProcessed === 0) { + // Check BOM first. + if (b[0] === 0xFF && b[1] === 0xFE) return 'utf-16le'; + if (b[0] === 0xFE && b[1] === 0xFF) return 'utf-16be'; + } + + if (b[0] === 0 && b[1] !== 0) asciiCharsBE++; + if (b[0] !== 0 && b[1] === 0) asciiCharsLE++; + + b.length = 0; + charsProcessed++; + + if (charsProcessed >= 100) { + break outer_loop; + } + } + } + } + + // Make decisions. + // Most of the time, the content has ASCII chars (U+00**), but the opposite (U+**00) is uncommon. + // So, we count ASCII as if it was LE or BE, and decide from that. + if (asciiCharsBE > asciiCharsLE) return 'utf-16be'; + if (asciiCharsBE < asciiCharsLE) return 'utf-16le'; + + // Couldn't decide (likely all zeros or not enough data). + return defaultEncoding || 'utf-16le'; + } + return utf16; +} + +var utf7 = {}; + +var hasRequiredUtf7; + +function requireUtf7 () { + if (hasRequiredUtf7) return utf7; + hasRequiredUtf7 = 1; + var Buffer = safer_1.Buffer; + + // UTF-7 codec, according to https://tools.ietf.org/html/rfc2152 + // See also below a UTF-7-IMAP codec, according to http://tools.ietf.org/html/rfc3501#section-5.1.3 + + utf7.utf7 = Utf7Codec; + utf7.unicode11utf7 = 'utf7'; // Alias UNICODE-1-1-UTF-7 + function Utf7Codec(codecOptions, iconv) { + this.iconv = iconv; + } + Utf7Codec.prototype.encoder = Utf7Encoder; + Utf7Codec.prototype.decoder = Utf7Decoder; + Utf7Codec.prototype.bomAware = true; + + + // -- Encoding + + var nonDirectChars = /[^A-Za-z0-9'\(\),-\.\/:\? \n\r\t]+/g; + + function Utf7Encoder(options, codec) { + this.iconv = codec.iconv; + } + + Utf7Encoder.prototype.write = function(str) { + // Naive implementation. + // Non-direct chars are encoded as "+-"; single "+" char is encoded as "+-". + return Buffer.from(str.replace(nonDirectChars, function(chunk) { + return "+" + (chunk === '+' ? '' : + this.iconv.encode(chunk, 'utf16-be').toString('base64').replace(/=+$/, '')) + + "-"; + }.bind(this))); + }; + + Utf7Encoder.prototype.end = function() { + }; + + + // -- Decoding + + function Utf7Decoder(options, codec) { + this.iconv = codec.iconv; + this.inBase64 = false; + this.base64Accum = ''; + } + + var base64Regex = /[A-Za-z0-9\/+]/; + var base64Chars = []; + for (var i = 0; i < 256; i++) + base64Chars[i] = base64Regex.test(String.fromCharCode(i)); + + var plusChar = '+'.charCodeAt(0), + minusChar = '-'.charCodeAt(0), + andChar = '&'.charCodeAt(0); + + Utf7Decoder.prototype.write = function(buf) { + var res = "", lastI = 0, + inBase64 = this.inBase64, + base64Accum = this.base64Accum; + + // The decoder is more involved as we must handle chunks in stream. + + for (var i = 0; i < buf.length; i++) { + if (!inBase64) { // We're in direct mode. + // Write direct chars until '+' + if (buf[i] == plusChar) { + res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars. + lastI = i+1; + inBase64 = true; + } + } else { // We decode base64. + if (!base64Chars[buf[i]]) { // Base64 ended. + if (i == lastI && buf[i] == minusChar) {// "+-" -> "+" + res += "+"; + } else { + var b64str = base64Accum + this.iconv.decode(buf.slice(lastI, i), "ascii"); + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + if (buf[i] != minusChar) // Minus is absorbed after base64. + i--; + + lastI = i+1; + inBase64 = false; + base64Accum = ''; + } + } + } + + if (!inBase64) { + res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars. + } else { + var b64str = base64Accum + this.iconv.decode(buf.slice(lastI), "ascii"); + + var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars. + base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future. + b64str = b64str.slice(0, canBeDecoded); + + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + this.inBase64 = inBase64; + this.base64Accum = base64Accum; + + return res; + }; + + Utf7Decoder.prototype.end = function() { + var res = ""; + if (this.inBase64 && this.base64Accum.length > 0) + res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be"); + + this.inBase64 = false; + this.base64Accum = ''; + return res; + }; + + + // UTF-7-IMAP codec. + // RFC3501 Sec. 5.1.3 Modified UTF-7 (http://tools.ietf.org/html/rfc3501#section-5.1.3) + // Differences: + // * Base64 part is started by "&" instead of "+" + // * Direct characters are 0x20-0x7E, except "&" (0x26) + // * In Base64, "," is used instead of "/" + // * Base64 must not be used to represent direct characters. + // * No implicit shift back from Base64 (should always end with '-') + // * String must end in non-shifted position. + // * "-&" while in base64 is not allowed. + + + utf7.utf7imap = Utf7IMAPCodec; + function Utf7IMAPCodec(codecOptions, iconv) { + this.iconv = iconv; + } + Utf7IMAPCodec.prototype.encoder = Utf7IMAPEncoder; + Utf7IMAPCodec.prototype.decoder = Utf7IMAPDecoder; + Utf7IMAPCodec.prototype.bomAware = true; + + + // -- Encoding + + function Utf7IMAPEncoder(options, codec) { + this.iconv = codec.iconv; + this.inBase64 = false; + this.base64Accum = Buffer.alloc(6); + this.base64AccumIdx = 0; + } + + Utf7IMAPEncoder.prototype.write = function(str) { + var inBase64 = this.inBase64, + base64Accum = this.base64Accum, + base64AccumIdx = this.base64AccumIdx, + buf = Buffer.alloc(str.length*5 + 10), bufIdx = 0; + + for (var i = 0; i < str.length; i++) { + var uChar = str.charCodeAt(i); + if (0x20 <= uChar && uChar <= 0x7E) { // Direct character or '&'. + if (inBase64) { + if (base64AccumIdx > 0) { + bufIdx += buf.write(base64Accum.slice(0, base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); + base64AccumIdx = 0; + } + + buf[bufIdx++] = minusChar; // Write '-', then go to direct mode. + inBase64 = false; + } + + if (!inBase64) { + buf[bufIdx++] = uChar; // Write direct character + + if (uChar === andChar) // Ampersand -> '&-' + buf[bufIdx++] = minusChar; + } + + } else { // Non-direct character + if (!inBase64) { + buf[bufIdx++] = andChar; // Write '&', then go to base64 mode. + inBase64 = true; + } + if (inBase64) { + base64Accum[base64AccumIdx++] = uChar >> 8; + base64Accum[base64AccumIdx++] = uChar & 0xFF; + + if (base64AccumIdx == base64Accum.length) { + bufIdx += buf.write(base64Accum.toString('base64').replace(/\//g, ','), bufIdx); + base64AccumIdx = 0; + } + } + } + } + + this.inBase64 = inBase64; + this.base64AccumIdx = base64AccumIdx; + + return buf.slice(0, bufIdx); + }; + + Utf7IMAPEncoder.prototype.end = function() { + var buf = Buffer.alloc(10), bufIdx = 0; + if (this.inBase64) { + if (this.base64AccumIdx > 0) { + bufIdx += buf.write(this.base64Accum.slice(0, this.base64AccumIdx).toString('base64').replace(/\//g, ',').replace(/=+$/, ''), bufIdx); + this.base64AccumIdx = 0; + } + + buf[bufIdx++] = minusChar; // Write '-', then go to direct mode. + this.inBase64 = false; + } + + return buf.slice(0, bufIdx); + }; + + + // -- Decoding + + function Utf7IMAPDecoder(options, codec) { + this.iconv = codec.iconv; + this.inBase64 = false; + this.base64Accum = ''; + } + + var base64IMAPChars = base64Chars.slice(); + base64IMAPChars[','.charCodeAt(0)] = true; + + Utf7IMAPDecoder.prototype.write = function(buf) { + var res = "", lastI = 0, + inBase64 = this.inBase64, + base64Accum = this.base64Accum; + + // The decoder is more involved as we must handle chunks in stream. + // It is forgiving, closer to standard UTF-7 (for example, '-' is optional at the end). + + for (var i = 0; i < buf.length; i++) { + if (!inBase64) { // We're in direct mode. + // Write direct chars until '&' + if (buf[i] == andChar) { + res += this.iconv.decode(buf.slice(lastI, i), "ascii"); // Write direct chars. + lastI = i+1; + inBase64 = true; + } + } else { // We decode base64. + if (!base64IMAPChars[buf[i]]) { // Base64 ended. + if (i == lastI && buf[i] == minusChar) { // "&-" -> "&" + res += "&"; + } else { + var b64str = base64Accum + this.iconv.decode(buf.slice(lastI, i), "ascii").replace(/,/g, '/'); + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + if (buf[i] != minusChar) // Minus may be absorbed after base64. + i--; + + lastI = i+1; + inBase64 = false; + base64Accum = ''; + } + } + } + + if (!inBase64) { + res += this.iconv.decode(buf.slice(lastI), "ascii"); // Write direct chars. + } else { + var b64str = base64Accum + this.iconv.decode(buf.slice(lastI), "ascii").replace(/,/g, '/'); + + var canBeDecoded = b64str.length - (b64str.length % 8); // Minimal chunk: 2 quads -> 2x3 bytes -> 3 chars. + base64Accum = b64str.slice(canBeDecoded); // The rest will be decoded in future. + b64str = b64str.slice(0, canBeDecoded); + + res += this.iconv.decode(Buffer.from(b64str, 'base64'), "utf16-be"); + } + + this.inBase64 = inBase64; + this.base64Accum = base64Accum; + + return res; + }; + + Utf7IMAPDecoder.prototype.end = function() { + var res = ""; + if (this.inBase64 && this.base64Accum.length > 0) + res = this.iconv.decode(Buffer.from(this.base64Accum, 'base64'), "utf16-be"); + + this.inBase64 = false; + this.base64Accum = ''; + return res; + }; + return utf7; +} + +var sbcsCodec = {}; + +var hasRequiredSbcsCodec; + +function requireSbcsCodec () { + if (hasRequiredSbcsCodec) return sbcsCodec; + hasRequiredSbcsCodec = 1; + var Buffer = safer_1.Buffer; + + // Single-byte codec. Needs a 'chars' string parameter that contains 256 or 128 chars that + // correspond to encoded bytes (if 128 - then lower half is ASCII). + + sbcsCodec._sbcs = SBCSCodec; + function SBCSCodec(codecOptions, iconv) { + if (!codecOptions) + throw new Error("SBCS codec is called without the data.") + + // Prepare char buffer for decoding. + if (!codecOptions.chars || (codecOptions.chars.length !== 128 && codecOptions.chars.length !== 256)) + throw new Error("Encoding '"+codecOptions.type+"' has incorrect 'chars' (must be of len 128 or 256)"); + + if (codecOptions.chars.length === 128) { + var asciiString = ""; + for (var i = 0; i < 128; i++) + asciiString += String.fromCharCode(i); + codecOptions.chars = asciiString + codecOptions.chars; + } + + this.decodeBuf = Buffer.from(codecOptions.chars, 'ucs2'); + + // Encoding buffer. + var encodeBuf = Buffer.alloc(65536, iconv.defaultCharSingleByte.charCodeAt(0)); + + for (var i = 0; i < codecOptions.chars.length; i++) + encodeBuf[codecOptions.chars.charCodeAt(i)] = i; + + this.encodeBuf = encodeBuf; + } + + SBCSCodec.prototype.encoder = SBCSEncoder; + SBCSCodec.prototype.decoder = SBCSDecoder; + + + function SBCSEncoder(options, codec) { + this.encodeBuf = codec.encodeBuf; + } + + SBCSEncoder.prototype.write = function(str) { + var buf = Buffer.alloc(str.length); + for (var i = 0; i < str.length; i++) + buf[i] = this.encodeBuf[str.charCodeAt(i)]; + + return buf; + }; + + SBCSEncoder.prototype.end = function() { + }; + + + function SBCSDecoder(options, codec) { + this.decodeBuf = codec.decodeBuf; + } + + SBCSDecoder.prototype.write = function(buf) { + // Strings are immutable in JS -> we use ucs2 buffer to speed up computations. + var decodeBuf = this.decodeBuf; + var newBuf = Buffer.alloc(buf.length*2); + var idx1 = 0, idx2 = 0; + for (var i = 0; i < buf.length; i++) { + idx1 = buf[i]*2; idx2 = i*2; + newBuf[idx2] = decodeBuf[idx1]; + newBuf[idx2+1] = decodeBuf[idx1+1]; + } + return newBuf.toString('ucs2'); + }; + + SBCSDecoder.prototype.end = function() { + }; + return sbcsCodec; +} + +var sbcsData; +var hasRequiredSbcsData; + +function requireSbcsData () { + if (hasRequiredSbcsData) return sbcsData; + hasRequiredSbcsData = 1; + + // Manually added data to be used by sbcs codec in addition to generated one. + + sbcsData = { + // Not supported by iconv, not sure why. + "10029": "maccenteuro", + "maccenteuro": { + "type": "_sbcs", + "chars": "ÄĀāÉĄÖÜáąČäčĆć鏟ĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ" + }, + + "808": "cp808", + "ibm808": "cp808", + "cp808": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№€■ " + }, + + "mik": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя└┴┬├─┼╣║╚╔╩╦╠═╬┐░▒▓│┤№§╗╝┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + + "cp720": { + "type": "_sbcs", + "chars": "\x80\x81éâ\x84à\x86çêëèïî\x8d\x8e\x8f\x90\u0651\u0652ô¤ـûùءآأؤ£إئابةتثجحخدذرزسشص«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ضطظعغفµقكلمنهوىي≡\u064b\u064c\u064d\u064e\u064f\u0650≈°∙·√ⁿ²■\u00a0" + }, + + // Aliases of generated encodings. + "ascii8bit": "ascii", + "usascii": "ascii", + "ansix34": "ascii", + "ansix341968": "ascii", + "ansix341986": "ascii", + "csascii": "ascii", + "cp367": "ascii", + "ibm367": "ascii", + "isoir6": "ascii", + "iso646us": "ascii", + "iso646irv": "ascii", + "us": "ascii", + + "latin1": "iso88591", + "latin2": "iso88592", + "latin3": "iso88593", + "latin4": "iso88594", + "latin5": "iso88599", + "latin6": "iso885910", + "latin7": "iso885913", + "latin8": "iso885914", + "latin9": "iso885915", + "latin10": "iso885916", + + "csisolatin1": "iso88591", + "csisolatin2": "iso88592", + "csisolatin3": "iso88593", + "csisolatin4": "iso88594", + "csisolatincyrillic": "iso88595", + "csisolatinarabic": "iso88596", + "csisolatingreek" : "iso88597", + "csisolatinhebrew": "iso88598", + "csisolatin5": "iso88599", + "csisolatin6": "iso885910", + + "l1": "iso88591", + "l2": "iso88592", + "l3": "iso88593", + "l4": "iso88594", + "l5": "iso88599", + "l6": "iso885910", + "l7": "iso885913", + "l8": "iso885914", + "l9": "iso885915", + "l10": "iso885916", + + "isoir14": "iso646jp", + "isoir57": "iso646cn", + "isoir100": "iso88591", + "isoir101": "iso88592", + "isoir109": "iso88593", + "isoir110": "iso88594", + "isoir144": "iso88595", + "isoir127": "iso88596", + "isoir126": "iso88597", + "isoir138": "iso88598", + "isoir148": "iso88599", + "isoir157": "iso885910", + "isoir166": "tis620", + "isoir179": "iso885913", + "isoir199": "iso885914", + "isoir203": "iso885915", + "isoir226": "iso885916", + + "cp819": "iso88591", + "ibm819": "iso88591", + + "cyrillic": "iso88595", + + "arabic": "iso88596", + "arabic8": "iso88596", + "ecma114": "iso88596", + "asmo708": "iso88596", + + "greek" : "iso88597", + "greek8" : "iso88597", + "ecma118" : "iso88597", + "elot928" : "iso88597", + + "hebrew": "iso88598", + "hebrew8": "iso88598", + + "turkish": "iso88599", + "turkish8": "iso88599", + + "thai": "iso885911", + "thai8": "iso885911", + + "celtic": "iso885914", + "celtic8": "iso885914", + "isoceltic": "iso885914", + + "tis6200": "tis620", + "tis62025291": "tis620", + "tis62025330": "tis620", + + "10000": "macroman", + "10006": "macgreek", + "10007": "maccyrillic", + "10079": "maciceland", + "10081": "macturkish", + + "cspc8codepage437": "cp437", + "cspc775baltic": "cp775", + "cspc850multilingual": "cp850", + "cspcp852": "cp852", + "cspc862latinhebrew": "cp862", + "cpgr": "cp869", + + "msee": "cp1250", + "mscyrl": "cp1251", + "msansi": "cp1252", + "msgreek": "cp1253", + "msturk": "cp1254", + "mshebr": "cp1255", + "msarab": "cp1256", + "winbaltrim": "cp1257", + + "cp20866": "koi8r", + "20866": "koi8r", + "ibm878": "koi8r", + "cskoi8r": "koi8r", + + "cp21866": "koi8u", + "21866": "koi8u", + "ibm1168": "koi8u", + + "strk10482002": "rk1048", + + "tcvn5712": "tcvn", + "tcvn57121": "tcvn", + + "gb198880": "iso646cn", + "cn": "iso646cn", + + "csiso14jisc6220ro": "iso646jp", + "jisc62201969ro": "iso646jp", + "jp": "iso646jp", + + "cshproman8": "hproman8", + "r8": "hproman8", + "roman8": "hproman8", + "xroman8": "hproman8", + "ibm1051": "hproman8", + + "mac": "macintosh", + "csmacintosh": "macintosh", + }; + return sbcsData; +} + +var sbcsDataGenerated; +var hasRequiredSbcsDataGenerated; + +function requireSbcsDataGenerated () { + if (hasRequiredSbcsDataGenerated) return sbcsDataGenerated; + hasRequiredSbcsDataGenerated = 1; + + // Generated data for sbcs codec. Don't edit manually. Regenerate using generation/gen-sbcs.js script. + sbcsDataGenerated = { + "437": "cp437", + "737": "cp737", + "775": "cp775", + "850": "cp850", + "852": "cp852", + "855": "cp855", + "856": "cp856", + "857": "cp857", + "858": "cp858", + "860": "cp860", + "861": "cp861", + "862": "cp862", + "863": "cp863", + "864": "cp864", + "865": "cp865", + "866": "cp866", + "869": "cp869", + "874": "windows874", + "922": "cp922", + "1046": "cp1046", + "1124": "cp1124", + "1125": "cp1125", + "1129": "cp1129", + "1133": "cp1133", + "1161": "cp1161", + "1162": "cp1162", + "1163": "cp1163", + "1250": "windows1250", + "1251": "windows1251", + "1252": "windows1252", + "1253": "windows1253", + "1254": "windows1254", + "1255": "windows1255", + "1256": "windows1256", + "1257": "windows1257", + "1258": "windows1258", + "28591": "iso88591", + "28592": "iso88592", + "28593": "iso88593", + "28594": "iso88594", + "28595": "iso88595", + "28596": "iso88596", + "28597": "iso88597", + "28598": "iso88598", + "28599": "iso88599", + "28600": "iso885910", + "28601": "iso885911", + "28603": "iso885913", + "28604": "iso885914", + "28605": "iso885915", + "28606": "iso885916", + "windows874": { + "type": "_sbcs", + "chars": "€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + }, + "win874": "windows874", + "cp874": "windows874", + "windows1250": { + "type": "_sbcs", + "chars": "€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" + }, + "win1250": "windows1250", + "cp1250": "windows1250", + "windows1251": { + "type": "_sbcs", + "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + }, + "win1251": "windows1251", + "cp1251": "windows1251", + "windows1252": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "win1252": "windows1252", + "cp1252": "windows1252", + "windows1253": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" + }, + "win1253": "windows1253", + "cp1253": "windows1253", + "windows1254": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" + }, + "win1254": "windows1254", + "cp1254": "windows1254", + "windows1255": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹֺֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" + }, + "win1255": "windows1255", + "cp1255": "windows1255", + "windows1256": { + "type": "_sbcs", + "chars": "€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے" + }, + "win1256": "windows1256", + "cp1256": "windows1256", + "windows1257": { + "type": "_sbcs", + "chars": "€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙" + }, + "win1257": "windows1257", + "cp1257": "windows1257", + "windows1258": { + "type": "_sbcs", + "chars": "€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + }, + "win1258": "windows1258", + "cp1258": "windows1258", + "iso88591": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "cp28591": "iso88591", + "iso88592": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ą˘Ł¤ĽŚ§¨ŠŞŤŹ­ŽŻ°ą˛ł´ľśˇ¸šşťź˝žżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙" + }, + "cp28592": "iso88592", + "iso88593": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ħ˘£¤�Ĥ§¨İŞĞĴ­�Ż°ħ²³´µĥ·¸ışğĵ½�żÀÁÂ�ÄĊĈÇÈÉÊËÌÍÎÏ�ÑÒÓÔĠÖ×ĜÙÚÛÜŬŜßàáâ�äċĉçèéêëìíîï�ñòóôġö÷ĝùúûüŭŝ˙" + }, + "cp28593": "iso88593", + "iso88594": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĸŖ¤ĨĻ§¨ŠĒĢŦ­Ž¯°ą˛ŗ´ĩļˇ¸šēģŧŊžŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎĪĐŅŌĶÔÕÖ×ØŲÚÛÜŨŪßāáâãäåæįčéęëėíîīđņōķôõö÷øųúûüũū˙" + }, + "cp28594": "iso88594", + "iso88595": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂЃЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђѓєѕіїјљњћќ§ўџ" + }, + "cp28595": "iso88595", + "iso88596": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ���¤�������،­�������������؛���؟�ءآأؤإئابةتثجحخدذرزسشصضطظعغ�����ـفقكلمنهوىيًٌٍَُِّْ�������������" + }, + "cp28596": "iso88596", + "iso88597": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ‘’£€₯¦§¨©ͺ«¬­�―°±²³΄΅Ά·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�" + }, + "cp28597": "iso88597", + "iso88598": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �¢£¤¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾��������������������������������‗אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�" + }, + "cp28598": "iso88598", + "iso88599": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ" + }, + "cp28599": "iso88599", + "iso885910": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄĒĢĪĨĶ§ĻĐŠŦŽ­ŪŊ°ąēģīĩķ·ļđšŧž―ūŋĀÁÂÃÄÅÆĮČÉĘËĖÍÎÏÐŅŌÓÔÕÖŨØŲÚÛÜÝÞßāáâãäåæįčéęëėíîïðņōóôõöũøųúûüýþĸ" + }, + "cp28600": "iso885910", + "iso885911": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + }, + "cp28601": "iso885911", + "iso885913": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ”¢£¤„¦§Ø©Ŗ«¬­®Æ°±²³“µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž’" + }, + "cp28603": "iso885913", + "iso885914": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ­®ŸḞḟĠġṀṁ¶ṖẁṗẃṠỳẄẅṡÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŴÑÒÓÔÕÖṪØÙÚÛÜÝŶßàáâãäåæçèéêëìíîïŵñòóôõöṫøùúûüýŷÿ" + }, + "cp28604": "iso885914", + "iso885915": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥Š§š©ª«¬­®¯°±²³Žµ¶·ž¹º»ŒœŸ¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "cp28605": "iso885915", + "iso885916": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ĄąŁ€„Š§š©Ș«Ź­źŻ°±ČłŽ”¶·žčș»ŒœŸżÀÁÂĂÄĆÆÇÈÉÊËÌÍÎÏĐŃÒÓÔŐÖŚŰÙÚÛÜĘȚßàáâăäćæçèéêëìíîïđńòóôőöśűùúûüęțÿ" + }, + "cp28606": "iso885916", + "cp437": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm437": "cp437", + "csibm437": "cp437", + "cp737": { + "type": "_sbcs", + "chars": "ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ " + }, + "ibm737": "cp737", + "csibm737": "cp737", + "cp775": { + "type": "_sbcs", + "chars": "ĆüéāäģåćłēŖŗīŹÄÅÉæÆōöĢ¢ŚśÖÜø£ØפĀĪóŻżź”¦©®¬½¼Ł«»░▒▓│┤ĄČĘĖ╣║╗╝ĮŠ┐└┴┬├─┼ŲŪ╚╔╩╦╠═╬Žąčęėįšųūž┘┌█▄▌▐▀ÓßŌŃõÕµńĶķĻļņĒŅ’­±“¾¶§÷„°∙·¹³²■ " + }, + "ibm775": "cp775", + "csibm775": "cp775", + "cp850": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " + }, + "ibm850": "cp850", + "csibm850": "cp850", + "cp852": { + "type": "_sbcs", + "chars": "ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘ꬟Ⱥ«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ " + }, + "ibm852": "cp852", + "csibm852": "cp852", + "cp855": { + "type": "_sbcs", + "chars": "ђЂѓЃёЁєЄѕЅіІїЇјЈљЉњЊћЋќЌўЎџЏюЮъЪаАбБцЦдДеЕфФгГ«»░▒▓│┤хХиИ╣║╗╝йЙ┐└┴┬├─┼кК╚╔╩╦╠═╬¤лЛмМнНоОп┘┌█▄Пя▀ЯрРсСтТуУжЖвВьЬ№­ыЫзЗшШэЭщЩчЧ§■ " + }, + "ibm855": "cp855", + "csibm855": "cp855", + "cp856": { + "type": "_sbcs", + "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת�£�×����������®¬½¼�«»░▒▓│┤���©╣║╗╝¢¥┐└┴┬├─┼��╚╔╩╦╠═╬¤���������┘┌█▄¦�▀������µ�������¯´­±‗¾¶§÷¸°¨·¹³²■ " + }, + "ibm856": "cp856", + "csibm856": "cp856", + "cp857": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞ𿮬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ " + }, + "ibm857": "cp857", + "csibm857": "cp857", + "cp858": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø׃áíóúñѪº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈ€ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýݯ´­±‗¾¶§÷¸°¨·¹³²■ " + }, + "ibm858": "cp858", + "csibm858": "cp858", + "cp860": { + "type": "_sbcs", + "chars": "ÇüéâãàÁçêÊèÍÔìÃÂÉÀÈôõòÚùÌÕÜ¢£Ù₧ÓáíóúñѪº¿Ò¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm860": "cp860", + "csibm860": "cp860", + "cp861": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm861": "cp861", + "csibm861": "cp861", + "cp862": { + "type": "_sbcs", + "chars": "אבגדהוזחטיךכלםמןנסעףפץצקרשת¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm862": "cp862", + "csibm862": "cp862", + "cp863": { + "type": "_sbcs", + "chars": "ÇüéâÂà¶çêëèïî‗À§ÉÈÊôËÏûù¤ÔÜ¢£ÙÛƒ¦´óú¨¸³¯Î⌐¬½¼¾«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm863": "cp863", + "csibm863": "cp863", + "cp864": { + "type": "_sbcs", + "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$٪&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~°·∙√▒─│┼┤┬├┴┐┌└┘β∞φ±½¼≈«»ﻷﻸ��ﻻﻼ� ­ﺂ£¤ﺄ��ﺎﺏﺕﺙ،ﺝﺡﺥ٠١٢٣٤٥٦٧٨٩ﻑ؛ﺱﺵﺹ؟¢ﺀﺁﺃﺅﻊﺋﺍﺑﺓﺗﺛﺟﺣﺧﺩﺫﺭﺯﺳﺷﺻﺿﻁﻅﻋﻏ¦¬÷×ﻉـﻓﻗﻛﻟﻣﻧﻫﻭﻯﻳﺽﻌﻎﻍﻡﹽّﻥﻩﻬﻰﻲﻐﻕﻵﻶﻝﻙﻱ■�" + }, + "ibm864": "cp864", + "csibm864": "cp864", + "cp865": { + "type": "_sbcs", + "chars": "ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñѪº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ " + }, + "ibm865": "cp865", + "csibm865": "cp865", + "cp866": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ " + }, + "ibm866": "cp866", + "csibm866": "cp866", + "cp869": { + "type": "_sbcs", + "chars": "������Ά�·¬¦‘’Έ―ΉΊΪΌ��ΎΫ©Ώ²³ά£έήίϊΐόύΑΒΓΔΕΖΗ½ΘΙ«»░▒▓│┤ΚΛΜΝ╣║╗╝ΞΟ┐└┴┬├─┼ΠΡ╚╔╩╦╠═╬ΣΤΥΦΧΨΩαβγ┘┌█▄δε▀ζηθικλμνξοπρσςτ΄­±υφχ§ψ΅°¨ωϋΰώ■ " + }, + "ibm869": "cp869", + "csibm869": "cp869", + "cp922": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®‾°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏŠÑÒÓÔÕÖ×ØÙÚÛÜÝŽßàáâãäåæçèéêëìíîïšñòóôõö÷øùúûüýžÿ" + }, + "ibm922": "cp922", + "csibm922": "cp922", + "cp1046": { + "type": "_sbcs", + "chars": "ﺈ×÷ﹱˆ■│─┐┌└┘ﹹﹻﹽﹿﹷﺊﻰﻳﻲﻎﻏﻐﻶﻸﻺﻼ ¤ﺋﺑﺗﺛﺟﺣ،­ﺧﺳ٠١٢٣٤٥٦٧٨٩ﺷ؛ﺻﺿﻊ؟ﻋءآأؤإئابةتثجحخدذرزسشصضطﻇعغﻌﺂﺄﺎﻓـفقكلمنهوىيًٌٍَُِّْﻗﻛﻟﻵﻷﻹﻻﻣﻧﻬﻩ�" + }, + "ibm1046": "cp1046", + "csibm1046": "cp1046", + "cp1124": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ЁЂҐЄЅІЇЈЉЊЋЌ­ЎЏАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя№ёђґєѕіїјљњћќ§ўџ" + }, + "ibm1124": "cp1124", + "csibm1124": "cp1124", + "cp1125": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёҐґЄєІіЇї·√№¤■ " + }, + "ibm1125": "cp1125", + "csibm1125": "cp1125", + "cp1129": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + }, + "ibm1129": "cp1129", + "csibm1129": "cp1129", + "cp1133": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ກຂຄງຈສຊຍດຕຖທນບປຜຝພຟມຢຣລວຫອຮ���ຯະາຳິີຶືຸູຼັົຽ���ເແໂໃໄ່້໊໋໌ໍໆ�ໜໝ₭����������������໐໑໒໓໔໕໖໗໘໙��¢¬¦�" + }, + "ibm1133": "cp1133", + "csibm1133": "cp1133", + "cp1161": { + "type": "_sbcs", + "chars": "��������������������������������่กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู้๊๋€฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛¢¬¦ " + }, + "ibm1161": "cp1161", + "csibm1161": "cp1161", + "cp1162": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + }, + "ibm1162": "cp1162", + "csibm1162": "cp1162", + "cp1163": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£€¥¦§œ©ª«¬­®¯°±²³Ÿµ¶·Œ¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ" + }, + "ibm1163": "cp1163", + "csibm1163": "cp1163", + "maccroatian": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑∏š∫ªºΩžø¿¡¬√ƒ≈Ć«Č… ÀÃÕŒœĐ—“”‘’÷◊�©⁄¤‹›Æ»–·‚„‰ÂćÁčÈÍÎÏÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ" + }, + "maccyrillic": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" + }, + "macgreek": { + "type": "_sbcs", + "chars": "Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�" + }, + "maciceland": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macroman": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macromania": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂŞ∞±≤≥¥µ∂∑∏π∫ªºΩăş¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›Ţţ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macthai": { + "type": "_sbcs", + "chars": "«»…“”�•‘’� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู​–—฿เแโใไๅๆ็่้๊๋์ํ™๏๐๑๒๓๔๕๖๗๘๙®©����" + }, + "macturkish": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ" + }, + "macukraine": { + "type": "_sbcs", + "chars": "АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°Ґ£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤" + }, + "koi8r": { + "type": "_sbcs", + "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ё╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡Ё╢╣╤╥╦╧╨╩╪╫╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "koi8u": { + "type": "_sbcs", + "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґ╝╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪Ґ╬©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "koi8ru": { + "type": "_sbcs", + "chars": "─│┌┐└┘├┤┬┴┼▀▄█▌▐░▒▓⌠■∙√≈≤≥ ⌡°²·÷═║╒ёє╔ії╗╘╙╚╛ґў╞╟╠╡ЁЄ╣ІЇ╦╧╨╩╪ҐЎ©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "koi8t": { + "type": "_sbcs", + "chars": "қғ‚Ғ„…†‡�‰ҳ‹ҲҷҶ�Қ‘’“”•–—�™�›�����ӯӮё¤ӣ¦§���«¬­®�°±²Ё�Ӣ¶·�№�»���©юабцдефгхийклмнопярстужвьызшэщчъЮАБЦДЕФГХИЙКЛМНОПЯРСТУЖВЬЫЗШЭЩЧЪ" + }, + "armscii8": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ �և։)(»«—.՝,-֊…՜՛՞ԱաԲբԳգԴդԵեԶզԷէԸըԹթԺժԻիԼլԽխԾծԿկՀհՁձՂղՃճՄմՅյՆնՇշՈոՉչՊպՋջՌռՍսՎվՏտՐրՑցՒւՓփՔքՕօՖֆ՚�" + }, + "rk1048": { + "type": "_sbcs", + "chars": "ЂЃ‚ѓ„…†‡€‰Љ‹ЊҚҺЏђ‘’“”•–—�™љ›њқһџ ҰұӘ¤Ө¦§Ё©Ғ«¬­®Ү°±Ііөµ¶·ё№ғ»әҢңүАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + }, + "tcvn": { + "type": "_sbcs", + "chars": "\u0000ÚỤ\u0003ỪỬỮ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010ỨỰỲỶỸÝỴ\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÀẢÃÁẠẶẬÈẺẼÉẸỆÌỈĨÍỊÒỎÕÓỌỘỜỞỠỚỢÙỦŨ ĂÂÊÔƠƯĐăâêôơưđẶ̀̀̉̃́àảãáạẲằẳẵắẴẮẦẨẪẤỀặầẩẫấậèỂẻẽéẹềểễếệìỉỄẾỒĩíịòỔỏõóọồổỗốộờởỡớợùỖủũúụừửữứựỳỷỹýỵỐ" + }, + "georgianacademy": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზთიკლმნოპჟრსტუფქღყშჩცძწჭხჯჰჱჲჳჴჵჶçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "georgianps": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿აბგდევზჱთიკლმნჲოპჟრსტჳუფქღყშჩცძწჭხჴჯჰჵæçèéêëìíîïðñòóôõö÷øùúûüýþÿ" + }, + "pt154": { + "type": "_sbcs", + "chars": "ҖҒӮғ„…ҶҮҲүҠӢҢҚҺҸҗ‘’“”•–—ҳҷҡӣңқһҹ ЎўЈӨҘҰ§Ё©Ә«¬ӯ®Ҝ°ұІіҙө¶·ё№ә»јҪҫҝАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя" + }, + "viscii": { + "type": "_sbcs", + "chars": "\u0000\u0001Ẳ\u0003\u0004ẴẪ\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013Ỷ\u0015\u0016\u0017\u0018Ỹ\u001a\u001b\u001c\u001dỴ\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ẠẮẰẶẤẦẨẬẼẸẾỀỂỄỆỐỒỔỖỘỢỚỜỞỊỎỌỈỦŨỤỲÕắằặấầẩậẽẹếềểễệốồổỗỠƠộờởịỰỨỪỬơớƯÀÁÂÃẢĂẳẵÈÉÊẺÌÍĨỳĐứÒÓÔạỷừửÙÚỹỵÝỡưàáâãảăữẫèéêẻìíĩỉđựòóôõỏọụùúũủýợỮ" + }, + "iso646cn": { + "type": "_sbcs", + "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#¥%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������" + }, + "iso646jp": { + "type": "_sbcs", + "chars": "\u0000\u0001\u0002\u0003\u0004\u0005\u0006\u0007\b\t\n\u000b\f\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[¥]^_`abcdefghijklmnopqrstuvwxyz{|}‾��������������������������������������������������������������������������������������������������������������������������������" + }, + "hproman8": { + "type": "_sbcs", + "chars": "€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ ÀÂÈÊËÎÏ´ˋˆ¨˜ÙÛ₤¯Ýý°ÇçÑñ¡¿¤£¥§ƒ¢âêôûáéóúàèòùäëöüÅîØÆåíøæÄìÖÜÉïßÔÁÃãÐðÍÌÓÒÕõŠšÚŸÿÞþ·µ¶¾—¼½ªº«■»±�" + }, + "macintosh": { + "type": "_sbcs", + "chars": "ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›fifl‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ" + }, + "ascii": { + "type": "_sbcs", + "chars": "��������������������������������������������������������������������������������������������������������������������������������" + }, + "tis620": { + "type": "_sbcs", + "chars": "���������������������������������กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����" + } + }; + return sbcsDataGenerated; +} + +var dbcsCodec = {}; + +var hasRequiredDbcsCodec; + +function requireDbcsCodec () { + if (hasRequiredDbcsCodec) return dbcsCodec; + hasRequiredDbcsCodec = 1; + var Buffer = safer_1.Buffer; + + // Multibyte codec. In this scheme, a character is represented by 1 or more bytes. + // Our codec supports UTF-16 surrogates, extensions for GB18030 and unicode sequences. + // To save memory and loading time, we read table files only when requested. + + dbcsCodec._dbcs = DBCSCodec; + + var UNASSIGNED = -1, + GB18030_CODE = -2, + SEQ_START = -10, + NODE_START = -1000, + UNASSIGNED_NODE = new Array(0x100), + DEF_CHAR = -1; + + for (var i = 0; i < 0x100; i++) + UNASSIGNED_NODE[i] = UNASSIGNED; + + + // Class DBCSCodec reads and initializes mapping tables. + function DBCSCodec(codecOptions, iconv) { + this.encodingName = codecOptions.encodingName; + if (!codecOptions) + throw new Error("DBCS codec is called without the data.") + if (!codecOptions.table) + throw new Error("Encoding '" + this.encodingName + "' has no data."); + + // Load tables. + var mappingTable = codecOptions.table(); + + + // Decode tables: MBCS -> Unicode. + + // decodeTables is a trie, encoded as an array of arrays of integers. Internal arrays are trie nodes and all have len = 256. + // Trie root is decodeTables[0]. + // Values: >= 0 -> unicode character code. can be > 0xFFFF + // == UNASSIGNED -> unknown/unassigned sequence. + // == GB18030_CODE -> this is the end of a GB18030 4-byte sequence. + // <= NODE_START -> index of the next node in our trie to process next byte. + // <= SEQ_START -> index of the start of a character code sequence, in decodeTableSeq. + this.decodeTables = []; + this.decodeTables[0] = UNASSIGNED_NODE.slice(0); // Create root node. + + // Sometimes a MBCS char corresponds to a sequence of unicode chars. We store them as arrays of integers here. + this.decodeTableSeq = []; + + // Actual mapping tables consist of chunks. Use them to fill up decode tables. + for (var i = 0; i < mappingTable.length; i++) + this._addDecodeChunk(mappingTable[i]); + + // Load & create GB18030 tables when needed. + if (typeof codecOptions.gb18030 === 'function') { + this.gb18030 = codecOptions.gb18030(); // Load GB18030 ranges. + + // Add GB18030 common decode nodes. + var commonThirdByteNodeIdx = this.decodeTables.length; + this.decodeTables.push(UNASSIGNED_NODE.slice(0)); + + var commonFourthByteNodeIdx = this.decodeTables.length; + this.decodeTables.push(UNASSIGNED_NODE.slice(0)); + + // Fill out the tree + var firstByteNode = this.decodeTables[0]; + for (var i = 0x81; i <= 0xFE; i++) { + var secondByteNode = this.decodeTables[NODE_START - firstByteNode[i]]; + for (var j = 0x30; j <= 0x39; j++) { + if (secondByteNode[j] === UNASSIGNED) { + secondByteNode[j] = NODE_START - commonThirdByteNodeIdx; + } else if (secondByteNode[j] > NODE_START) { + throw new Error("gb18030 decode tables conflict at byte 2"); + } + + var thirdByteNode = this.decodeTables[NODE_START - secondByteNode[j]]; + for (var k = 0x81; k <= 0xFE; k++) { + if (thirdByteNode[k] === UNASSIGNED) { + thirdByteNode[k] = NODE_START - commonFourthByteNodeIdx; + } else if (thirdByteNode[k] === NODE_START - commonFourthByteNodeIdx) { + continue; + } else if (thirdByteNode[k] > NODE_START) { + throw new Error("gb18030 decode tables conflict at byte 3"); + } + + var fourthByteNode = this.decodeTables[NODE_START - thirdByteNode[k]]; + for (var l = 0x30; l <= 0x39; l++) { + if (fourthByteNode[l] === UNASSIGNED) + fourthByteNode[l] = GB18030_CODE; + } + } + } + } + } + + this.defaultCharUnicode = iconv.defaultCharUnicode; + + + // Encode tables: Unicode -> DBCS. + + // `encodeTable` is array mapping from unicode char to encoded char. All its values are integers for performance. + // Because it can be sparse, it is represented as array of buckets by 256 chars each. Bucket can be null. + // Values: >= 0 -> it is a normal char. Write the value (if <=256 then 1 byte, if <=65536 then 2 bytes, etc.). + // == UNASSIGNED -> no conversion found. Output a default char. + // <= SEQ_START -> it's an index in encodeTableSeq, see below. The character starts a sequence. + this.encodeTable = []; + + // `encodeTableSeq` is used when a sequence of unicode characters is encoded as a single code. We use a tree of + // objects where keys correspond to characters in sequence and leafs are the encoded dbcs values. A special DEF_CHAR key + // means end of sequence (needed when one sequence is a strict subsequence of another). + // Objects are kept separately from encodeTable to increase performance. + this.encodeTableSeq = []; + + // Some chars can be decoded, but need not be encoded. + var skipEncodeChars = {}; + if (codecOptions.encodeSkipVals) + for (var i = 0; i < codecOptions.encodeSkipVals.length; i++) { + var val = codecOptions.encodeSkipVals[i]; + if (typeof val === 'number') + skipEncodeChars[val] = true; + else + for (var j = val.from; j <= val.to; j++) + skipEncodeChars[j] = true; + } + + // Use decode trie to recursively fill out encode tables. + this._fillEncodeTable(0, 0, skipEncodeChars); + + // Add more encoding pairs when needed. + if (codecOptions.encodeAdd) { + for (var uChar in codecOptions.encodeAdd) + if (Object.prototype.hasOwnProperty.call(codecOptions.encodeAdd, uChar)) + this._setEncodeChar(uChar.charCodeAt(0), codecOptions.encodeAdd[uChar]); + } + + this.defCharSB = this.encodeTable[0][iconv.defaultCharSingleByte.charCodeAt(0)]; + if (this.defCharSB === UNASSIGNED) this.defCharSB = this.encodeTable[0]['?']; + if (this.defCharSB === UNASSIGNED) this.defCharSB = "?".charCodeAt(0); + } + + DBCSCodec.prototype.encoder = DBCSEncoder; + DBCSCodec.prototype.decoder = DBCSDecoder; + + // Decoder helpers + DBCSCodec.prototype._getDecodeTrieNode = function(addr) { + var bytes = []; + for (; addr > 0; addr >>>= 8) + bytes.push(addr & 0xFF); + if (bytes.length == 0) + bytes.push(0); + + var node = this.decodeTables[0]; + for (var i = bytes.length-1; i > 0; i--) { // Traverse nodes deeper into the trie. + var val = node[bytes[i]]; + + if (val == UNASSIGNED) { // Create new node. + node[bytes[i]] = NODE_START - this.decodeTables.length; + this.decodeTables.push(node = UNASSIGNED_NODE.slice(0)); + } + else if (val <= NODE_START) { // Existing node. + node = this.decodeTables[NODE_START - val]; + } + else + throw new Error("Overwrite byte in " + this.encodingName + ", addr: " + addr.toString(16)); + } + return node; + }; + + + DBCSCodec.prototype._addDecodeChunk = function(chunk) { + // First element of chunk is the hex mbcs code where we start. + var curAddr = parseInt(chunk[0], 16); + + // Choose the decoding node where we'll write our chars. + var writeTable = this._getDecodeTrieNode(curAddr); + curAddr = curAddr & 0xFF; + + // Write all other elements of the chunk to the table. + for (var k = 1; k < chunk.length; k++) { + var part = chunk[k]; + if (typeof part === "string") { // String, write as-is. + for (var l = 0; l < part.length;) { + var code = part.charCodeAt(l++); + if (0xD800 <= code && code < 0xDC00) { // Decode surrogate + var codeTrail = part.charCodeAt(l++); + if (0xDC00 <= codeTrail && codeTrail < 0xE000) + writeTable[curAddr++] = 0x10000 + (code - 0xD800) * 0x400 + (codeTrail - 0xDC00); + else + throw new Error("Incorrect surrogate pair in " + this.encodingName + " at chunk " + chunk[0]); + } + else if (0x0FF0 < code && code <= 0x0FFF) { // Character sequence (our own encoding used) + var len = 0xFFF - code + 2; + var seq = []; + for (var m = 0; m < len; m++) + seq.push(part.charCodeAt(l++)); // Simple variation: don't support surrogates or subsequences in seq. + + writeTable[curAddr++] = SEQ_START - this.decodeTableSeq.length; + this.decodeTableSeq.push(seq); + } + else + writeTable[curAddr++] = code; // Basic char + } + } + else if (typeof part === "number") { // Integer, meaning increasing sequence starting with prev character. + var charCode = writeTable[curAddr - 1] + 1; + for (var l = 0; l < part; l++) + writeTable[curAddr++] = charCode++; + } + else + throw new Error("Incorrect type '" + typeof part + "' given in " + this.encodingName + " at chunk " + chunk[0]); + } + if (curAddr > 0xFF) + throw new Error("Incorrect chunk in " + this.encodingName + " at addr " + chunk[0] + ": too long" + curAddr); + }; + + // Encoder helpers + DBCSCodec.prototype._getEncodeBucket = function(uCode) { + var high = uCode >> 8; // This could be > 0xFF because of astral characters. + if (this.encodeTable[high] === undefined) + this.encodeTable[high] = UNASSIGNED_NODE.slice(0); // Create bucket on demand. + return this.encodeTable[high]; + }; + + DBCSCodec.prototype._setEncodeChar = function(uCode, dbcsCode) { + var bucket = this._getEncodeBucket(uCode); + var low = uCode & 0xFF; + if (bucket[low] <= SEQ_START) + this.encodeTableSeq[SEQ_START-bucket[low]][DEF_CHAR] = dbcsCode; // There's already a sequence, set a single-char subsequence of it. + else if (bucket[low] == UNASSIGNED) + bucket[low] = dbcsCode; + }; + + DBCSCodec.prototype._setEncodeSequence = function(seq, dbcsCode) { + + // Get the root of character tree according to first character of the sequence. + var uCode = seq[0]; + var bucket = this._getEncodeBucket(uCode); + var low = uCode & 0xFF; + + var node; + if (bucket[low] <= SEQ_START) { + // There's already a sequence with - use it. + node = this.encodeTableSeq[SEQ_START-bucket[low]]; + } + else { + // There was no sequence object - allocate a new one. + node = {}; + if (bucket[low] !== UNASSIGNED) node[DEF_CHAR] = bucket[low]; // If a char was set before - make it a single-char subsequence. + bucket[low] = SEQ_START - this.encodeTableSeq.length; + this.encodeTableSeq.push(node); + } + + // Traverse the character tree, allocating new nodes as needed. + for (var j = 1; j < seq.length-1; j++) { + var oldVal = node[uCode]; + if (typeof oldVal === 'object') + node = oldVal; + else { + node = node[uCode] = {}; + if (oldVal !== undefined) + node[DEF_CHAR] = oldVal; + } + } + + // Set the leaf to given dbcsCode. + uCode = seq[seq.length-1]; + node[uCode] = dbcsCode; + }; + + DBCSCodec.prototype._fillEncodeTable = function(nodeIdx, prefix, skipEncodeChars) { + var node = this.decodeTables[nodeIdx]; + var hasValues = false; + var subNodeEmpty = {}; + for (var i = 0; i < 0x100; i++) { + var uCode = node[i]; + var mbCode = prefix + i; + if (skipEncodeChars[mbCode]) + continue; + + if (uCode >= 0) { + this._setEncodeChar(uCode, mbCode); + hasValues = true; + } else if (uCode <= NODE_START) { + var subNodeIdx = NODE_START - uCode; + if (!subNodeEmpty[subNodeIdx]) { // Skip empty subtrees (they are too large in gb18030). + var newPrefix = (mbCode << 8) >>> 0; // NOTE: '>>> 0' keeps 32-bit num positive. + if (this._fillEncodeTable(subNodeIdx, newPrefix, skipEncodeChars)) + hasValues = true; + else + subNodeEmpty[subNodeIdx] = true; + } + } else if (uCode <= SEQ_START) { + this._setEncodeSequence(this.decodeTableSeq[SEQ_START - uCode], mbCode); + hasValues = true; + } + } + return hasValues; + }; + + + + // == Encoder ================================================================== + + function DBCSEncoder(options, codec) { + // Encoder state + this.leadSurrogate = -1; + this.seqObj = undefined; + + // Static data + this.encodeTable = codec.encodeTable; + this.encodeTableSeq = codec.encodeTableSeq; + this.defaultCharSingleByte = codec.defCharSB; + this.gb18030 = codec.gb18030; + } + + DBCSEncoder.prototype.write = function(str) { + var newBuf = Buffer.alloc(str.length * (this.gb18030 ? 4 : 3)), + leadSurrogate = this.leadSurrogate, + seqObj = this.seqObj, nextChar = -1, + i = 0, j = 0; + + while (true) { + // 0. Get next character. + if (nextChar === -1) { + if (i == str.length) break; + var uCode = str.charCodeAt(i++); + } + else { + var uCode = nextChar; + nextChar = -1; + } + + // 1. Handle surrogates. + if (0xD800 <= uCode && uCode < 0xE000) { // Char is one of surrogates. + if (uCode < 0xDC00) { // We've got lead surrogate. + if (leadSurrogate === -1) { + leadSurrogate = uCode; + continue; + } else { + leadSurrogate = uCode; + // Double lead surrogate found. + uCode = UNASSIGNED; + } + } else { // We've got trail surrogate. + if (leadSurrogate !== -1) { + uCode = 0x10000 + (leadSurrogate - 0xD800) * 0x400 + (uCode - 0xDC00); + leadSurrogate = -1; + } else { + // Incomplete surrogate pair - only trail surrogate found. + uCode = UNASSIGNED; + } + + } + } + else if (leadSurrogate !== -1) { + // Incomplete surrogate pair - only lead surrogate found. + nextChar = uCode; uCode = UNASSIGNED; // Write an error, then current char. + leadSurrogate = -1; + } + + // 2. Convert uCode character. + var dbcsCode = UNASSIGNED; + if (seqObj !== undefined && uCode != UNASSIGNED) { // We are in the middle of the sequence + var resCode = seqObj[uCode]; + if (typeof resCode === 'object') { // Sequence continues. + seqObj = resCode; + continue; + + } else if (typeof resCode == 'number') { // Sequence finished. Write it. + dbcsCode = resCode; + + } else if (resCode == undefined) { // Current character is not part of the sequence. + + // Try default character for this sequence + resCode = seqObj[DEF_CHAR]; + if (resCode !== undefined) { + dbcsCode = resCode; // Found. Write it. + nextChar = uCode; // Current character will be written too in the next iteration. + + } + } + seqObj = undefined; + } + else if (uCode >= 0) { // Regular character + var subtable = this.encodeTable[uCode >> 8]; + if (subtable !== undefined) + dbcsCode = subtable[uCode & 0xFF]; + + if (dbcsCode <= SEQ_START) { // Sequence start + seqObj = this.encodeTableSeq[SEQ_START-dbcsCode]; + continue; + } + + if (dbcsCode == UNASSIGNED && this.gb18030) { + // Use GB18030 algorithm to find character(s) to write. + var idx = findIdx(this.gb18030.uChars, uCode); + if (idx != -1) { + var dbcsCode = this.gb18030.gbChars[idx] + (uCode - this.gb18030.uChars[idx]); + newBuf[j++] = 0x81 + Math.floor(dbcsCode / 12600); dbcsCode = dbcsCode % 12600; + newBuf[j++] = 0x30 + Math.floor(dbcsCode / 1260); dbcsCode = dbcsCode % 1260; + newBuf[j++] = 0x81 + Math.floor(dbcsCode / 10); dbcsCode = dbcsCode % 10; + newBuf[j++] = 0x30 + dbcsCode; + continue; + } + } + } + + // 3. Write dbcsCode character. + if (dbcsCode === UNASSIGNED) + dbcsCode = this.defaultCharSingleByte; + + if (dbcsCode < 0x100) { + newBuf[j++] = dbcsCode; + } + else if (dbcsCode < 0x10000) { + newBuf[j++] = dbcsCode >> 8; // high byte + newBuf[j++] = dbcsCode & 0xFF; // low byte + } + else if (dbcsCode < 0x1000000) { + newBuf[j++] = dbcsCode >> 16; + newBuf[j++] = (dbcsCode >> 8) & 0xFF; + newBuf[j++] = dbcsCode & 0xFF; + } else { + newBuf[j++] = dbcsCode >>> 24; + newBuf[j++] = (dbcsCode >>> 16) & 0xFF; + newBuf[j++] = (dbcsCode >>> 8) & 0xFF; + newBuf[j++] = dbcsCode & 0xFF; + } + } + + this.seqObj = seqObj; + this.leadSurrogate = leadSurrogate; + return newBuf.slice(0, j); + }; + + DBCSEncoder.prototype.end = function() { + if (this.leadSurrogate === -1 && this.seqObj === undefined) + return; // All clean. Most often case. + + var newBuf = Buffer.alloc(10), j = 0; + + if (this.seqObj) { // We're in the sequence. + var dbcsCode = this.seqObj[DEF_CHAR]; + if (dbcsCode !== undefined) { // Write beginning of the sequence. + if (dbcsCode < 0x100) { + newBuf[j++] = dbcsCode; + } + else { + newBuf[j++] = dbcsCode >> 8; // high byte + newBuf[j++] = dbcsCode & 0xFF; // low byte + } + } + this.seqObj = undefined; + } + + if (this.leadSurrogate !== -1) { + // Incomplete surrogate pair - only lead surrogate found. + newBuf[j++] = this.defaultCharSingleByte; + this.leadSurrogate = -1; + } + + return newBuf.slice(0, j); + }; + + // Export for testing + DBCSEncoder.prototype.findIdx = findIdx; + + + // == Decoder ================================================================== + + function DBCSDecoder(options, codec) { + // Decoder state + this.nodeIdx = 0; + this.prevBytes = []; + + // Static data + this.decodeTables = codec.decodeTables; + this.decodeTableSeq = codec.decodeTableSeq; + this.defaultCharUnicode = codec.defaultCharUnicode; + this.gb18030 = codec.gb18030; + } + + DBCSDecoder.prototype.write = function(buf) { + var newBuf = Buffer.alloc(buf.length*2), + nodeIdx = this.nodeIdx, + prevBytes = this.prevBytes, prevOffset = this.prevBytes.length, + seqStart = -this.prevBytes.length, // idx of the start of current parsed sequence. + uCode; + + for (var i = 0, j = 0; i < buf.length; i++) { + var curByte = (i >= 0) ? buf[i] : prevBytes[i + prevOffset]; + + // Lookup in current trie node. + var uCode = this.decodeTables[nodeIdx][curByte]; + + if (uCode >= 0) ; + else if (uCode === UNASSIGNED) { // Unknown char. + // TODO: Callback with seq. + uCode = this.defaultCharUnicode.charCodeAt(0); + i = seqStart; // Skip one byte ('i' will be incremented by the for loop) and try to parse again. + } + else if (uCode === GB18030_CODE) { + if (i >= 3) { + var ptr = (buf[i-3]-0x81)*12600 + (buf[i-2]-0x30)*1260 + (buf[i-1]-0x81)*10 + (curByte-0x30); + } else { + var ptr = (prevBytes[i-3+prevOffset]-0x81)*12600 + + (((i-2 >= 0) ? buf[i-2] : prevBytes[i-2+prevOffset])-0x30)*1260 + + (((i-1 >= 0) ? buf[i-1] : prevBytes[i-1+prevOffset])-0x81)*10 + + (curByte-0x30); + } + var idx = findIdx(this.gb18030.gbChars, ptr); + uCode = this.gb18030.uChars[idx] + ptr - this.gb18030.gbChars[idx]; + } + else if (uCode <= NODE_START) { // Go to next trie node. + nodeIdx = NODE_START - uCode; + continue; + } + else if (uCode <= SEQ_START) { // Output a sequence of chars. + var seq = this.decodeTableSeq[SEQ_START - uCode]; + for (var k = 0; k < seq.length - 1; k++) { + uCode = seq[k]; + newBuf[j++] = uCode & 0xFF; + newBuf[j++] = uCode >> 8; + } + uCode = seq[seq.length-1]; + } + else + throw new Error("iconv-lite internal error: invalid decoding table value " + uCode + " at " + nodeIdx + "/" + curByte); + + // Write the character to buffer, handling higher planes using surrogate pair. + if (uCode >= 0x10000) { + uCode -= 0x10000; + var uCodeLead = 0xD800 | (uCode >> 10); + newBuf[j++] = uCodeLead & 0xFF; + newBuf[j++] = uCodeLead >> 8; + + uCode = 0xDC00 | (uCode & 0x3FF); + } + newBuf[j++] = uCode & 0xFF; + newBuf[j++] = uCode >> 8; + + // Reset trie node. + nodeIdx = 0; seqStart = i+1; + } + + this.nodeIdx = nodeIdx; + this.prevBytes = (seqStart >= 0) + ? Array.prototype.slice.call(buf, seqStart) + : prevBytes.slice(seqStart + prevOffset).concat(Array.prototype.slice.call(buf)); + + return newBuf.slice(0, j).toString('ucs2'); + }; + + DBCSDecoder.prototype.end = function() { + var ret = ''; + + // Try to parse all remaining chars. + while (this.prevBytes.length > 0) { + // Skip 1 character in the buffer. + ret += this.defaultCharUnicode; + var bytesArr = this.prevBytes.slice(1); + + // Parse remaining as usual. + this.prevBytes = []; + this.nodeIdx = 0; + if (bytesArr.length > 0) + ret += this.write(bytesArr); + } + + this.prevBytes = []; + this.nodeIdx = 0; + return ret; + }; + + // Binary search for GB18030. Returns largest i such that table[i] <= val. + function findIdx(table, val) { + if (table[0] > val) + return -1; + + var l = 0, r = table.length; + while (l < r-1) { // always table[l] <= val < table[r] + var mid = l + ((r-l+1) >> 1); + if (table[mid] <= val) + l = mid; + else + r = mid; + } + return l; + } + return dbcsCodec; +} + +var require$$0 = [ + [ + "0", + "\u0000", + 128 + ], + [ + "a1", + "。", + 62 + ], + [ + "8140", + " 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈", + 9, + "+-±×" + ], + [ + "8180", + "÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓" + ], + [ + "81b8", + "∈∋⊆⊇⊂⊃∪∩" + ], + [ + "81c8", + "∧∨¬⇒⇔∀∃" + ], + [ + "81da", + "∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬" + ], + [ + "81f0", + "ʼn♯♭♪†‡¶" + ], + [ + "81fc", + "◯" + ], + [ + "824f", + "0", + 9 + ], + [ + "8260", + "A", + 25 + ], + [ + "8281", + "a", + 25 + ], + [ + "829f", + "ぁ", + 82 + ], + [ + "8340", + "ァ", + 62 + ], + [ + "8380", + "ム", + 22 + ], + [ + "839f", + "Α", + 16, + "Σ", + 6 + ], + [ + "83bf", + "α", + 16, + "σ", + 6 + ], + [ + "8440", + "А", + 5, + "ЁЖ", + 25 + ], + [ + "8470", + "а", + 5, + "ёж", + 7 + ], + [ + "8480", + "о", + 17 + ], + [ + "849f", + "─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂" + ], + [ + "8740", + "①", + 19, + "Ⅰ", + 9 + ], + [ + "875f", + "㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡" + ], + [ + "877e", + "㍻" + ], + [ + "8780", + "〝〟№㏍℡㊤", + 4, + "㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪" + ], + [ + "889f", + "亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭" + ], + [ + "8940", + "院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円" + ], + [ + "8980", + "園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改" + ], + [ + "8a40", + "魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫" + ], + [ + "8a80", + "橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄" + ], + [ + "8b40", + "機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救" + ], + [ + "8b80", + "朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈" + ], + [ + "8c40", + "掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨" + ], + [ + "8c80", + "劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向" + ], + [ + "8d40", + "后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降" + ], + [ + "8d80", + "項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷" + ], + [ + "8e40", + "察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止" + ], + [ + "8e80", + "死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周" + ], + [ + "8f40", + "宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳" + ], + [ + "8f80", + "準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾" + ], + [ + "9040", + "拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨" + ], + [ + "9080", + "逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線" + ], + [ + "9140", + "繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻" + ], + [ + "9180", + "操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只" + ], + [ + "9240", + "叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄" + ], + [ + "9280", + "逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓" + ], + [ + "9340", + "邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬" + ], + [ + "9380", + "凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入" + ], + [ + "9440", + "如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅" + ], + [ + "9480", + "楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美" + ], + [ + "9540", + "鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷" + ], + [ + "9580", + "斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋" + ], + [ + "9640", + "法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆" + ], + [ + "9680", + "摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒" + ], + [ + "9740", + "諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲" + ], + [ + "9780", + "沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯" + ], + [ + "9840", + "蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕" + ], + [ + "989f", + "弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲" + ], + [ + "9940", + "僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭" + ], + [ + "9980", + "凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨" + ], + [ + "9a40", + "咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸" + ], + [ + "9a80", + "噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩" + ], + [ + "9b40", + "奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀" + ], + [ + "9b80", + "它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏" + ], + [ + "9c40", + "廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠" + ], + [ + "9c80", + "怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛" + ], + [ + "9d40", + "戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫" + ], + [ + "9d80", + "捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼" + ], + [ + "9e40", + "曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎" + ], + [ + "9e80", + "梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣" + ], + [ + "9f40", + "檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯" + ], + [ + "9f80", + "麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌" + ], + [ + "e040", + "漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝" + ], + [ + "e080", + "烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱" + ], + [ + "e140", + "瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿" + ], + [ + "e180", + "痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬" + ], + [ + "e240", + "磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰" + ], + [ + "e280", + "窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆" + ], + [ + "e340", + "紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷" + ], + [ + "e380", + "縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋" + ], + [ + "e440", + "隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤" + ], + [ + "e480", + "艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈" + ], + [ + "e540", + "蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬" + ], + [ + "e580", + "蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞" + ], + [ + "e640", + "襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧" + ], + [ + "e680", + "諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊" + ], + [ + "e740", + "蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜" + ], + [ + "e780", + "轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮" + ], + [ + "e840", + "錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙" + ], + [ + "e880", + "閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰" + ], + [ + "e940", + "顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃" + ], + [ + "e980", + "騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈" + ], + [ + "ea40", + "鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯" + ], + [ + "ea80", + "黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙" + ], + [ + "ed40", + "纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏" + ], + [ + "ed80", + "塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱" + ], + [ + "ee40", + "犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙" + ], + [ + "ee80", + "蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑" + ], + [ + "eeef", + "ⅰ", + 9, + "¬¦'"" + ], + [ + "f040", + "", + 62 + ], + [ + "f080", + "", + 124 + ], + [ + "f140", + "", + 62 + ], + [ + "f180", + "", + 124 + ], + [ + "f240", + "", + 62 + ], + [ + "f280", + "", + 124 + ], + [ + "f340", + "", + 62 + ], + [ + "f380", + "", + 124 + ], + [ + "f440", + "", + 62 + ], + [ + "f480", + "", + 124 + ], + [ + "f540", + "", + 62 + ], + [ + "f580", + "", + 124 + ], + [ + "f640", + "", + 62 + ], + [ + "f680", + "", + 124 + ], + [ + "f740", + "", + 62 + ], + [ + "f780", + "", + 124 + ], + [ + "f840", + "", + 62 + ], + [ + "f880", + "", + 124 + ], + [ + "f940", + "" + ], + [ + "fa40", + "ⅰ", + 9, + "Ⅰ", + 9, + "¬¦'"㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊" + ], + [ + "fa80", + "兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯" + ], + [ + "fb40", + "涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神" + ], + [ + "fb80", + "祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙" + ], + [ + "fc40", + "髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑" + ] +]; + +var require$$1 = [ + [ + "0", + "\u0000", + 127 + ], + [ + "8ea1", + "。", + 62 + ], + [ + "a1a1", + " 、。,.・:;?!゛゜´`¨^ ̄_ヽヾゝゞ〃仝々〆〇ー―‐/\~∥|…‥‘’“”()〔〕[]{}〈", + 9, + "+-±×÷=≠<>≦≧∞∴♂♀°′″℃¥$¢£%#&*@§☆★○●◎◇" + ], + [ + "a2a1", + "◆□■△▲▽▼※〒→←↑↓〓" + ], + [ + "a2ba", + "∈∋⊆⊇⊂⊃∪∩" + ], + [ + "a2ca", + "∧∨¬⇒⇔∀∃" + ], + [ + "a2dc", + "∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬" + ], + [ + "a2f2", + "ʼn♯♭♪†‡¶" + ], + [ + "a2fe", + "◯" + ], + [ + "a3b0", + "0", + 9 + ], + [ + "a3c1", + "A", + 25 + ], + [ + "a3e1", + "a", + 25 + ], + [ + "a4a1", + "ぁ", + 82 + ], + [ + "a5a1", + "ァ", + 85 + ], + [ + "a6a1", + "Α", + 16, + "Σ", + 6 + ], + [ + "a6c1", + "α", + 16, + "σ", + 6 + ], + [ + "a7a1", + "А", + 5, + "ЁЖ", + 25 + ], + [ + "a7d1", + "а", + 5, + "ёж", + 25 + ], + [ + "a8a1", + "─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂" + ], + [ + "ada1", + "①", + 19, + "Ⅰ", + 9 + ], + [ + "adc0", + "㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡" + ], + [ + "addf", + "㍻〝〟№㏍℡㊤", + 4, + "㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪" + ], + [ + "b0a1", + "亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭" + ], + [ + "b1a1", + "院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応" + ], + [ + "b2a1", + "押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改" + ], + [ + "b3a1", + "魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱" + ], + [ + "b4a1", + "粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄" + ], + [ + "b5a1", + "機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京" + ], + [ + "b6a1", + "供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈" + ], + [ + "b7a1", + "掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲" + ], + [ + "b8a1", + "検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向" + ], + [ + "b9a1", + "后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込" + ], + [ + "baa1", + "此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷" + ], + [ + "bba1", + "察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時" + ], + [ + "bca1", + "次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周" + ], + [ + "bda1", + "宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償" + ], + [ + "bea1", + "勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾" + ], + [ + "bfa1", + "拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾" + ], + [ + "c0a1", + "澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線" + ], + [ + "c1a1", + "繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎" + ], + [ + "c2a1", + "臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只" + ], + [ + "c3a1", + "叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵" + ], + [ + "c4a1", + "帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓" + ], + [ + "c5a1", + "邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到" + ], + [ + "c6a1", + "董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入" + ], + [ + "c7a1", + "如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦" + ], + [ + "c8a1", + "函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美" + ], + [ + "c9a1", + "鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服" + ], + [ + "caa1", + "福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋" + ], + [ + "cba1", + "法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満" + ], + [ + "cca1", + "漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒" + ], + [ + "cda1", + "諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃" + ], + [ + "cea1", + "痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯" + ], + [ + "cfa1", + "蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕" + ], + [ + "d0a1", + "弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲" + ], + [ + "d1a1", + "僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨" + ], + [ + "d2a1", + "辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨" + ], + [ + "d3a1", + "咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉" + ], + [ + "d4a1", + "圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩" + ], + [ + "d5a1", + "奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓" + ], + [ + "d6a1", + "屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏" + ], + [ + "d7a1", + "廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚" + ], + [ + "d8a1", + "悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛" + ], + [ + "d9a1", + "戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼" + ], + [ + "daa1", + "據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼" + ], + [ + "dba1", + "曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍" + ], + [ + "dca1", + "棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣" + ], + [ + "dda1", + "檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾" + ], + [ + "dea1", + "沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌" + ], + [ + "dfa1", + "漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼" + ], + [ + "e0a1", + "燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱" + ], + [ + "e1a1", + "瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰" + ], + [ + "e2a1", + "癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬" + ], + [ + "e3a1", + "磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐" + ], + [ + "e4a1", + "筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆" + ], + [ + "e5a1", + "紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺" + ], + [ + "e6a1", + "罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋" + ], + [ + "e7a1", + "隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙" + ], + [ + "e8a1", + "茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈" + ], + [ + "e9a1", + "蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙" + ], + [ + "eaa1", + "蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞" + ], + [ + "eba1", + "襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫" + ], + [ + "eca1", + "譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊" + ], + [ + "eda1", + "蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸" + ], + [ + "eea1", + "遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮" + ], + [ + "efa1", + "錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞" + ], + [ + "f0a1", + "陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰" + ], + [ + "f1a1", + "顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷" + ], + [ + "f2a1", + "髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈" + ], + [ + "f3a1", + "鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠" + ], + [ + "f4a1", + "堯槇遙瑤凜熙" + ], + [ + "f9a1", + "纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德" + ], + [ + "faa1", + "忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱" + ], + [ + "fba1", + "犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚" + ], + [ + "fca1", + "釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑" + ], + [ + "fcf1", + "ⅰ", + 9, + "¬¦'"" + ], + [ + "8fa2af", + "˘ˇ¸˙˝¯˛˚~΄΅" + ], + [ + "8fa2c2", + "¡¦¿" + ], + [ + "8fa2eb", + "ºª©®™¤№" + ], + [ + "8fa6e1", + "ΆΈΉΊΪ" + ], + [ + "8fa6e7", + "Ό" + ], + [ + "8fa6e9", + "ΎΫ" + ], + [ + "8fa6ec", + "Ώ" + ], + [ + "8fa6f1", + "άέήίϊΐόςύϋΰώ" + ], + [ + "8fa7c2", + "Ђ", + 10, + "ЎЏ" + ], + [ + "8fa7f2", + "ђ", + 10, + "ўџ" + ], + [ + "8fa9a1", + "ÆĐ" + ], + [ + "8fa9a4", + "Ħ" + ], + [ + "8fa9a6", + "IJ" + ], + [ + "8fa9a8", + "ŁĿ" + ], + [ + "8fa9ab", + "ŊØŒ" + ], + [ + "8fa9af", + "ŦÞ" + ], + [ + "8fa9c1", + "æđðħıijĸłŀʼnŋøœßŧþ" + ], + [ + "8faaa1", + "ÁÀÄÂĂǍĀĄÅÃĆĈČÇĊĎÉÈËÊĚĖĒĘ" + ], + [ + "8faaba", + "ĜĞĢĠĤÍÌÏÎǏİĪĮĨĴĶĹĽĻŃŇŅÑÓÒÖÔǑŐŌÕŔŘŖŚŜŠŞŤŢÚÙÜÛŬǓŰŪŲŮŨǗǛǙǕŴÝŸŶŹŽŻ" + ], + [ + "8faba1", + "áàäâăǎāąåãćĉčçċďéèëêěėēęǵĝğ" + ], + [ + "8fabbd", + "ġĥíìïîǐ" + ], + [ + "8fabc5", + "īįĩĵķĺľļńňņñóòöôǒőōõŕřŗśŝšşťţúùüûŭǔűūųůũǘǜǚǖŵýÿŷźžż" + ], + [ + "8fb0a1", + "丂丄丅丌丒丟丣两丨丫丮丯丰丵乀乁乄乇乑乚乜乣乨乩乴乵乹乿亍亖亗亝亯亹仃仐仚仛仠仡仢仨仯仱仳仵份仾仿伀伂伃伈伋伌伒伕伖众伙伮伱你伳伵伷伹伻伾佀佂佈佉佋佌佒佔佖佘佟佣佪佬佮佱佷佸佹佺佽佾侁侂侄" + ], + [ + "8fb1a1", + "侅侉侊侌侎侐侒侓侔侗侙侚侞侟侲侷侹侻侼侽侾俀俁俅俆俈俉俋俌俍俏俒俜俠俢俰俲俼俽俿倀倁倄倇倊倌倎倐倓倗倘倛倜倝倞倢倧倮倰倲倳倵偀偁偂偅偆偊偌偎偑偒偓偗偙偟偠偢偣偦偧偪偭偰偱倻傁傃傄傆傊傎傏傐" + ], + [ + "8fb2a1", + "傒傓傔傖傛傜傞", + 4, + "傪傯傰傹傺傽僀僃僄僇僌僎僐僓僔僘僜僝僟僢僤僦僨僩僯僱僶僺僾儃儆儇儈儋儌儍儎僲儐儗儙儛儜儝儞儣儧儨儬儭儯儱儳儴儵儸儹兂兊兏兓兕兗兘兟兤兦兾冃冄冋冎冘冝冡冣冭冸冺冼冾冿凂" + ], + [ + "8fb3a1", + "凈减凑凒凓凕凘凞凢凥凮凲凳凴凷刁刂刅划刓刕刖刘刢刨刱刲刵刼剅剉剕剗剘剚剜剟剠剡剦剮剷剸剹劀劂劅劊劌劓劕劖劗劘劚劜劤劥劦劧劯劰劶劷劸劺劻劽勀勄勆勈勌勏勑勔勖勛勜勡勥勨勩勪勬勰勱勴勶勷匀匃匊匋" + ], + [ + "8fb4a1", + "匌匑匓匘匛匜匞匟匥匧匨匩匫匬匭匰匲匵匼匽匾卂卌卋卙卛卡卣卥卬卭卲卹卾厃厇厈厎厓厔厙厝厡厤厪厫厯厲厴厵厷厸厺厽叀叅叏叒叓叕叚叝叞叠另叧叵吂吓吚吡吧吨吪启吱吴吵呃呄呇呍呏呞呢呤呦呧呩呫呭呮呴呿" + ], + [ + "8fb5a1", + "咁咃咅咈咉咍咑咕咖咜咟咡咦咧咩咪咭咮咱咷咹咺咻咿哆哊响哎哠哪哬哯哶哼哾哿唀唁唅唈唉唌唍唎唕唪唫唲唵唶唻唼唽啁啇啉啊啍啐啑啘啚啛啞啠啡啤啦啿喁喂喆喈喎喏喑喒喓喔喗喣喤喭喲喿嗁嗃嗆嗉嗋嗌嗎嗑嗒" + ], + [ + "8fb6a1", + "嗓嗗嗘嗛嗞嗢嗩嗶嗿嘅嘈嘊嘍", + 5, + "嘙嘬嘰嘳嘵嘷嘹嘻嘼嘽嘿噀噁噃噄噆噉噋噍噏噔噞噠噡噢噣噦噩噭噯噱噲噵嚄嚅嚈嚋嚌嚕嚙嚚嚝嚞嚟嚦嚧嚨嚩嚫嚬嚭嚱嚳嚷嚾囅囉囊囋囏囐囌囍囙囜囝囟囡囤", + 4, + "囱囫园" + ], + [ + "8fb7a1", + "囶囷圁圂圇圊圌圑圕圚圛圝圠圢圣圤圥圩圪圬圮圯圳圴圽圾圿坅坆坌坍坒坢坥坧坨坫坭", + 4, + "坳坴坵坷坹坺坻坼坾垁垃垌垔垗垙垚垜垝垞垟垡垕垧垨垩垬垸垽埇埈埌埏埕埝埞埤埦埧埩埭埰埵埶埸埽埾埿堃堄堈堉埡" + ], + [ + "8fb8a1", + "堌堍堛堞堟堠堦堧堭堲堹堿塉塌塍塏塐塕塟塡塤塧塨塸塼塿墀墁墇墈墉墊墌墍墏墐墔墖墝墠墡墢墦墩墱墲壄墼壂壈壍壎壐壒壔壖壚壝壡壢壩壳夅夆夋夌夒夓夔虁夝夡夣夤夨夯夰夳夵夶夿奃奆奒奓奙奛奝奞奟奡奣奫奭" + ], + [ + "8fb9a1", + "奯奲奵奶她奻奼妋妌妎妒妕妗妟妤妧妭妮妯妰妳妷妺妼姁姃姄姈姊姍姒姝姞姟姣姤姧姮姯姱姲姴姷娀娄娌娍娎娒娓娞娣娤娧娨娪娭娰婄婅婇婈婌婐婕婞婣婥婧婭婷婺婻婾媋媐媓媖媙媜媞媟媠媢媧媬媱媲媳媵媸媺媻媿" + ], + [ + "8fbaa1", + "嫄嫆嫈嫏嫚嫜嫠嫥嫪嫮嫵嫶嫽嬀嬁嬈嬗嬴嬙嬛嬝嬡嬥嬭嬸孁孋孌孒孖孞孨孮孯孼孽孾孿宁宄宆宊宎宐宑宓宔宖宨宩宬宭宯宱宲宷宺宼寀寁寍寏寖", + 4, + "寠寯寱寴寽尌尗尞尟尣尦尩尫尬尮尰尲尵尶屙屚屜屢屣屧屨屩" + ], + [ + "8fbba1", + "屭屰屴屵屺屻屼屽岇岈岊岏岒岝岟岠岢岣岦岪岲岴岵岺峉峋峒峝峗峮峱峲峴崁崆崍崒崫崣崤崦崧崱崴崹崽崿嵂嵃嵆嵈嵕嵑嵙嵊嵟嵠嵡嵢嵤嵪嵭嵰嵹嵺嵾嵿嶁嶃嶈嶊嶒嶓嶔嶕嶙嶛嶟嶠嶧嶫嶰嶴嶸嶹巃巇巋巐巎巘巙巠巤" + ], + [ + "8fbca1", + "巩巸巹帀帇帍帒帔帕帘帟帠帮帨帲帵帾幋幐幉幑幖幘幛幜幞幨幪", + 4, + "幰庀庋庎庢庤庥庨庪庬庱庳庽庾庿廆廌廋廎廑廒廔廕廜廞廥廫异弆弇弈弎弙弜弝弡弢弣弤弨弫弬弮弰弴弶弻弽弿彀彄彅彇彍彐彔彘彛彠彣彤彧" + ], + [ + "8fbda1", + "彯彲彴彵彸彺彽彾徉徍徏徖徜徝徢徧徫徤徬徯徰徱徸忄忇忈忉忋忐", + 4, + "忞忡忢忨忩忪忬忭忮忯忲忳忶忺忼怇怊怍怓怔怗怘怚怟怤怭怳怵恀恇恈恉恌恑恔恖恗恝恡恧恱恾恿悂悆悈悊悎悑悓悕悘悝悞悢悤悥您悰悱悷" + ], + [ + "8fbea1", + "悻悾惂惄惈惉惊惋惎惏惔惕惙惛惝惞惢惥惲惵惸惼惽愂愇愊愌愐", + 4, + "愖愗愙愜愞愢愪愫愰愱愵愶愷愹慁慅慆慉慞慠慬慲慸慻慼慿憀憁憃憄憋憍憒憓憗憘憜憝憟憠憥憨憪憭憸憹憼懀懁懂懎懏懕懜懝懞懟懡懢懧懩懥" + ], + [ + "8fbfa1", + "懬懭懯戁戃戄戇戓戕戜戠戢戣戧戩戫戹戽扂扃扄扆扌扐扑扒扔扖扚扜扤扭扯扳扺扽抍抎抏抐抦抨抳抶抷抺抾抿拄拎拕拖拚拪拲拴拼拽挃挄挊挋挍挐挓挖挘挩挪挭挵挶挹挼捁捂捃捄捆捊捋捎捒捓捔捘捛捥捦捬捭捱捴捵" + ], + [ + "8fc0a1", + "捸捼捽捿掂掄掇掊掐掔掕掙掚掞掤掦掭掮掯掽揁揅揈揎揑揓揔揕揜揠揥揪揬揲揳揵揸揹搉搊搐搒搔搘搞搠搢搤搥搩搪搯搰搵搽搿摋摏摑摒摓摔摚摛摜摝摟摠摡摣摭摳摴摻摽撅撇撏撐撑撘撙撛撝撟撡撣撦撨撬撳撽撾撿" + ], + [ + "8fc1a1", + "擄擉擊擋擌擎擐擑擕擗擤擥擩擪擭擰擵擷擻擿攁攄攈攉攊攏攓攔攖攙攛攞攟攢攦攩攮攱攺攼攽敃敇敉敐敒敔敟敠敧敫敺敽斁斅斊斒斕斘斝斠斣斦斮斲斳斴斿旂旈旉旎旐旔旖旘旟旰旲旴旵旹旾旿昀昄昈昉昍昑昒昕昖昝" + ], + [ + "8fc2a1", + "昞昡昢昣昤昦昩昪昫昬昮昰昱昳昹昷晀晅晆晊晌晑晎晗晘晙晛晜晠晡曻晪晫晬晾晳晵晿晷晸晹晻暀晼暋暌暍暐暒暙暚暛暜暟暠暤暭暱暲暵暻暿曀曂曃曈曌曎曏曔曛曟曨曫曬曮曺朅朇朎朓朙朜朠朢朳朾杅杇杈杌杔杕杝" + ], + [ + "8fc3a1", + "杦杬杮杴杶杻极构枎枏枑枓枖枘枙枛枰枱枲枵枻枼枽柹柀柂柃柅柈柉柒柗柙柜柡柦柰柲柶柷桒栔栙栝栟栨栧栬栭栯栰栱栳栻栿桄桅桊桌桕桗桘桛桫桮", + 4, + "桵桹桺桻桼梂梄梆梈梖梘梚梜梡梣梥梩梪梮梲梻棅棈棌棏" + ], + [ + "8fc4a1", + "棐棑棓棖棙棜棝棥棨棪棫棬棭棰棱棵棶棻棼棽椆椉椊椐椑椓椖椗椱椳椵椸椻楂楅楉楎楗楛楣楤楥楦楨楩楬楰楱楲楺楻楿榀榍榒榖榘榡榥榦榨榫榭榯榷榸榺榼槅槈槑槖槗槢槥槮槯槱槳槵槾樀樁樃樏樑樕樚樝樠樤樨樰樲" + ], + [ + "8fc5a1", + "樴樷樻樾樿橅橆橉橊橎橐橑橒橕橖橛橤橧橪橱橳橾檁檃檆檇檉檋檑檛檝檞檟檥檫檯檰檱檴檽檾檿櫆櫉櫈櫌櫐櫔櫕櫖櫜櫝櫤櫧櫬櫰櫱櫲櫼櫽欂欃欆欇欉欏欐欑欗欛欞欤欨欫欬欯欵欶欻欿歆歊歍歒歖歘歝歠歧歫歮歰歵歽" + ], + [ + "8fc6a1", + "歾殂殅殗殛殟殠殢殣殨殩殬殭殮殰殸殹殽殾毃毄毉毌毖毚毡毣毦毧毮毱毷毹毿氂氄氅氉氍氎氐氒氙氟氦氧氨氬氮氳氵氶氺氻氿汊汋汍汏汒汔汙汛汜汫汭汯汴汶汸汹汻沅沆沇沉沔沕沗沘沜沟沰沲沴泂泆泍泏泐泑泒泔泖" + ], + [ + "8fc7a1", + "泚泜泠泧泩泫泬泮泲泴洄洇洊洎洏洑洓洚洦洧洨汧洮洯洱洹洼洿浗浞浟浡浥浧浯浰浼涂涇涑涒涔涖涗涘涪涬涴涷涹涽涿淄淈淊淎淏淖淛淝淟淠淢淥淩淯淰淴淶淼渀渄渞渢渧渲渶渹渻渼湄湅湈湉湋湏湑湒湓湔湗湜湝湞" + ], + [ + "8fc8a1", + "湢湣湨湳湻湽溍溓溙溠溧溭溮溱溳溻溿滀滁滃滇滈滊滍滎滏滫滭滮滹滻滽漄漈漊漌漍漖漘漚漛漦漩漪漯漰漳漶漻漼漭潏潑潒潓潗潙潚潝潞潡潢潨潬潽潾澃澇澈澋澌澍澐澒澓澔澖澚澟澠澥澦澧澨澮澯澰澵澶澼濅濇濈濊" + ], + [ + "8fc9a1", + "濚濞濨濩濰濵濹濼濽瀀瀅瀆瀇瀍瀗瀠瀣瀯瀴瀷瀹瀼灃灄灈灉灊灋灔灕灝灞灎灤灥灬灮灵灶灾炁炅炆炔", + 4, + "炛炤炫炰炱炴炷烊烑烓烔烕烖烘烜烤烺焃", + 4, + "焋焌焏焞焠焫焭焯焰焱焸煁煅煆煇煊煋煐煒煗煚煜煞煠" + ], + [ + "8fcaa1", + "煨煹熀熅熇熌熒熚熛熠熢熯熰熲熳熺熿燀燁燄燋燌燓燖燙燚燜燸燾爀爇爈爉爓爗爚爝爟爤爫爯爴爸爹牁牂牃牅牎牏牐牓牕牖牚牜牞牠牣牨牫牮牯牱牷牸牻牼牿犄犉犍犎犓犛犨犭犮犱犴犾狁狇狉狌狕狖狘狟狥狳狴狺狻" + ], + [ + "8fcba1", + "狾猂猄猅猇猋猍猒猓猘猙猞猢猤猧猨猬猱猲猵猺猻猽獃獍獐獒獖獘獝獞獟獠獦獧獩獫獬獮獯獱獷獹獼玀玁玃玅玆玎玐玓玕玗玘玜玞玟玠玢玥玦玪玫玭玵玷玹玼玽玿珅珆珉珋珌珏珒珓珖珙珝珡珣珦珧珩珴珵珷珹珺珻珽" + ], + [ + "8fcca1", + "珿琀琁琄琇琊琑琚琛琤琦琨", + 9, + "琹瑀瑃瑄瑆瑇瑋瑍瑑瑒瑗瑝瑢瑦瑧瑨瑫瑭瑮瑱瑲璀璁璅璆璇璉璏璐璑璒璘璙璚璜璟璠璡璣璦璨璩璪璫璮璯璱璲璵璹璻璿瓈瓉瓌瓐瓓瓘瓚瓛瓞瓟瓤瓨瓪瓫瓯瓴瓺瓻瓼瓿甆" + ], + [ + "8fcda1", + "甒甖甗甠甡甤甧甩甪甯甶甹甽甾甿畀畃畇畈畎畐畒畗畞畟畡畯畱畹", + 5, + "疁疅疐疒疓疕疙疜疢疤疴疺疿痀痁痄痆痌痎痏痗痜痟痠痡痤痧痬痮痯痱痹瘀瘂瘃瘄瘇瘈瘊瘌瘏瘒瘓瘕瘖瘙瘛瘜瘝瘞瘣瘥瘦瘩瘭瘲瘳瘵瘸瘹" + ], + [ + "8fcea1", + "瘺瘼癊癀癁癃癄癅癉癋癕癙癟癤癥癭癮癯癱癴皁皅皌皍皕皛皜皝皟皠皢", + 6, + "皪皭皽盁盅盉盋盌盎盔盙盠盦盨盬盰盱盶盹盼眀眆眊眎眒眔眕眗眙眚眜眢眨眭眮眯眴眵眶眹眽眾睂睅睆睊睍睎睏睒睖睗睜睞睟睠睢" + ], + [ + "8fcfa1", + "睤睧睪睬睰睲睳睴睺睽瞀瞄瞌瞍瞔瞕瞖瞚瞟瞢瞧瞪瞮瞯瞱瞵瞾矃矉矑矒矕矙矞矟矠矤矦矪矬矰矱矴矸矻砅砆砉砍砎砑砝砡砢砣砭砮砰砵砷硃硄硇硈硌硎硒硜硞硠硡硣硤硨硪确硺硾碊碏碔碘碡碝碞碟碤碨碬碭碰碱碲碳" + ], + [ + "8fd0a1", + "碻碽碿磇磈磉磌磎磒磓磕磖磤磛磟磠磡磦磪磲磳礀磶磷磺磻磿礆礌礐礚礜礞礟礠礥礧礩礭礱礴礵礻礽礿祄祅祆祊祋祏祑祔祘祛祜祧祩祫祲祹祻祼祾禋禌禑禓禔禕禖禘禛禜禡禨禩禫禯禱禴禸离秂秄秇秈秊秏秔秖秚秝秞" + ], + [ + "8fd1a1", + "秠秢秥秪秫秭秱秸秼稂稃稇稉稊稌稑稕稛稞稡稧稫稭稯稰稴稵稸稹稺穄穅穇穈穌穕穖穙穜穝穟穠穥穧穪穭穵穸穾窀窂窅窆窊窋窐窑窔窞窠窣窬窳窵窹窻窼竆竉竌竎竑竛竨竩竫竬竱竴竻竽竾笇笔笟笣笧笩笪笫笭笮笯笰" + ], + [ + "8fd2a1", + "笱笴笽笿筀筁筇筎筕筠筤筦筩筪筭筯筲筳筷箄箉箎箐箑箖箛箞箠箥箬箯箰箲箵箶箺箻箼箽篂篅篈篊篔篖篗篙篚篛篨篪篲篴篵篸篹篺篼篾簁簂簃簄簆簉簋簌簎簏簙簛簠簥簦簨簬簱簳簴簶簹簺籆籊籕籑籒籓籙", + 5 + ], + [ + "8fd3a1", + "籡籣籧籩籭籮籰籲籹籼籽粆粇粏粔粞粠粦粰粶粷粺粻粼粿糄糇糈糉糍糏糓糔糕糗糙糚糝糦糩糫糵紃紇紈紉紏紑紒紓紖紝紞紣紦紪紭紱紼紽紾絀絁絇絈絍絑絓絗絙絚絜絝絥絧絪絰絸絺絻絿綁綂綃綅綆綈綋綌綍綑綖綗綝" + ], + [ + "8fd4a1", + "綞綦綧綪綳綶綷綹緂", + 4, + "緌緍緎緗緙縀緢緥緦緪緫緭緱緵緶緹緺縈縐縑縕縗縜縝縠縧縨縬縭縯縳縶縿繄繅繇繎繐繒繘繟繡繢繥繫繮繯繳繸繾纁纆纇纊纍纑纕纘纚纝纞缼缻缽缾缿罃罄罇罏罒罓罛罜罝罡罣罤罥罦罭" + ], + [ + "8fd5a1", + "罱罽罾罿羀羋羍羏羐羑羖羗羜羡羢羦羪羭羴羼羿翀翃翈翎翏翛翟翣翥翨翬翮翯翲翺翽翾翿耇耈耊耍耎耏耑耓耔耖耝耞耟耠耤耦耬耮耰耴耵耷耹耺耼耾聀聄聠聤聦聭聱聵肁肈肎肜肞肦肧肫肸肹胈胍胏胒胔胕胗胘胠胭胮" + ], + [ + "8fd6a1", + "胰胲胳胶胹胺胾脃脋脖脗脘脜脞脠脤脧脬脰脵脺脼腅腇腊腌腒腗腠腡腧腨腩腭腯腷膁膐膄膅膆膋膎膖膘膛膞膢膮膲膴膻臋臃臅臊臎臏臕臗臛臝臞臡臤臫臬臰臱臲臵臶臸臹臽臿舀舃舏舓舔舙舚舝舡舢舨舲舴舺艃艄艅艆" + ], + [ + "8fd7a1", + "艋艎艏艑艖艜艠艣艧艭艴艻艽艿芀芁芃芄芇芉芊芎芑芔芖芘芚芛芠芡芣芤芧芨芩芪芮芰芲芴芷芺芼芾芿苆苐苕苚苠苢苤苨苪苭苯苶苷苽苾茀茁茇茈茊茋荔茛茝茞茟茡茢茬茭茮茰茳茷茺茼茽荂荃荄荇荍荎荑荕荖荗荰荸" + ], + [ + "8fd8a1", + "荽荿莀莂莄莆莍莒莔莕莘莙莛莜莝莦莧莩莬莾莿菀菇菉菏菐菑菔菝荓菨菪菶菸菹菼萁萆萊萏萑萕萙莭萯萹葅葇葈葊葍葏葑葒葖葘葙葚葜葠葤葥葧葪葰葳葴葶葸葼葽蒁蒅蒒蒓蒕蒞蒦蒨蒩蒪蒯蒱蒴蒺蒽蒾蓀蓂蓇蓈蓌蓏蓓" + ], + [ + "8fd9a1", + "蓜蓧蓪蓯蓰蓱蓲蓷蔲蓺蓻蓽蔂蔃蔇蔌蔎蔐蔜蔞蔢蔣蔤蔥蔧蔪蔫蔯蔳蔴蔶蔿蕆蕏", + 4, + "蕖蕙蕜", + 6, + "蕤蕫蕯蕹蕺蕻蕽蕿薁薅薆薉薋薌薏薓薘薝薟薠薢薥薧薴薶薷薸薼薽薾薿藂藇藊藋藎薭藘藚藟藠藦藨藭藳藶藼" + ], + [ + "8fdaa1", + "藿蘀蘄蘅蘍蘎蘐蘑蘒蘘蘙蘛蘞蘡蘧蘩蘶蘸蘺蘼蘽虀虂虆虒虓虖虗虘虙虝虠", + 4, + "虩虬虯虵虶虷虺蚍蚑蚖蚘蚚蚜蚡蚦蚧蚨蚭蚱蚳蚴蚵蚷蚸蚹蚿蛀蛁蛃蛅蛑蛒蛕蛗蛚蛜蛠蛣蛥蛧蚈蛺蛼蛽蜄蜅蜇蜋蜎蜏蜐蜓蜔蜙蜞蜟蜡蜣" + ], + [ + "8fdba1", + "蜨蜮蜯蜱蜲蜹蜺蜼蜽蜾蝀蝃蝅蝍蝘蝝蝡蝤蝥蝯蝱蝲蝻螃", + 6, + "螋螌螐螓螕螗螘螙螞螠螣螧螬螭螮螱螵螾螿蟁蟈蟉蟊蟎蟕蟖蟙蟚蟜蟟蟢蟣蟤蟪蟫蟭蟱蟳蟸蟺蟿蠁蠃蠆蠉蠊蠋蠐蠙蠒蠓蠔蠘蠚蠛蠜蠞蠟蠨蠭蠮蠰蠲蠵" + ], + [ + "8fdca1", + "蠺蠼衁衃衅衈衉衊衋衎衑衕衖衘衚衜衟衠衤衩衱衹衻袀袘袚袛袜袟袠袨袪袺袽袾裀裊", + 4, + "裑裒裓裛裞裧裯裰裱裵裷褁褆褍褎褏褕褖褘褙褚褜褠褦褧褨褰褱褲褵褹褺褾襀襂襅襆襉襏襒襗襚襛襜襡襢襣襫襮襰襳襵襺" + ], + [ + "8fdda1", + "襻襼襽覉覍覐覔覕覛覜覟覠覥覰覴覵覶覷覼觔", + 4, + "觥觩觫觭觱觳觶觹觽觿訄訅訇訏訑訒訔訕訞訠訢訤訦訫訬訯訵訷訽訾詀詃詅詇詉詍詎詓詖詗詘詜詝詡詥詧詵詶詷詹詺詻詾詿誀誃誆誋誏誐誒誖誗誙誟誧誩誮誯誳" + ], + [ + "8fdea1", + "誶誷誻誾諃諆諈諉諊諑諓諔諕諗諝諟諬諰諴諵諶諼諿謅謆謋謑謜謞謟謊謭謰謷謼譂", + 4, + "譈譒譓譔譙譍譞譣譭譶譸譹譼譾讁讄讅讋讍讏讔讕讜讞讟谸谹谽谾豅豇豉豋豏豑豓豔豗豘豛豝豙豣豤豦豨豩豭豳豵豶豻豾貆" + ], + [ + "8fdfa1", + "貇貋貐貒貓貙貛貜貤貹貺賅賆賉賋賏賖賕賙賝賡賨賬賯賰賲賵賷賸賾賿贁贃贉贒贗贛赥赩赬赮赿趂趄趈趍趐趑趕趞趟趠趦趫趬趯趲趵趷趹趻跀跅跆跇跈跊跎跑跔跕跗跙跤跥跧跬跰趼跱跲跴跽踁踄踅踆踋踑踔踖踠踡踢" + ], + [ + "8fe0a1", + "踣踦踧踱踳踶踷踸踹踽蹀蹁蹋蹍蹎蹏蹔蹛蹜蹝蹞蹡蹢蹩蹬蹭蹯蹰蹱蹹蹺蹻躂躃躉躐躒躕躚躛躝躞躢躧躩躭躮躳躵躺躻軀軁軃軄軇軏軑軔軜軨軮軰軱軷軹軺軭輀輂輇輈輏輐輖輗輘輞輠輡輣輥輧輨輬輭輮輴輵輶輷輺轀轁" + ], + [ + "8fe1a1", + "轃轇轏轑", + 4, + "轘轝轞轥辝辠辡辤辥辦辵辶辸达迀迁迆迊迋迍运迒迓迕迠迣迤迨迮迱迵迶迻迾适逄逈逌逘逛逨逩逯逪逬逭逳逴逷逿遃遄遌遛遝遢遦遧遬遰遴遹邅邈邋邌邎邐邕邗邘邙邛邠邡邢邥邰邲邳邴邶邽郌邾郃" + ], + [ + "8fe2a1", + "郄郅郇郈郕郗郘郙郜郝郟郥郒郶郫郯郰郴郾郿鄀鄄鄅鄆鄈鄍鄐鄔鄖鄗鄘鄚鄜鄞鄠鄥鄢鄣鄧鄩鄮鄯鄱鄴鄶鄷鄹鄺鄼鄽酃酇酈酏酓酗酙酚酛酡酤酧酭酴酹酺酻醁醃醅醆醊醎醑醓醔醕醘醞醡醦醨醬醭醮醰醱醲醳醶醻醼醽醿" + ], + [ + "8fe3a1", + "釂釃釅釓釔釗釙釚釞釤釥釩釪釬", + 5, + "釷釹釻釽鈀鈁鈄鈅鈆鈇鈉鈊鈌鈐鈒鈓鈖鈘鈜鈝鈣鈤鈥鈦鈨鈮鈯鈰鈳鈵鈶鈸鈹鈺鈼鈾鉀鉂鉃鉆鉇鉊鉍鉎鉏鉑鉘鉙鉜鉝鉠鉡鉥鉧鉨鉩鉮鉯鉰鉵", + 4, + "鉻鉼鉽鉿銈銉銊銍銎銒銗" + ], + [ + "8fe4a1", + "銙銟銠銤銥銧銨銫銯銲銶銸銺銻銼銽銿", + 4, + "鋅鋆鋇鋈鋋鋌鋍鋎鋐鋓鋕鋗鋘鋙鋜鋝鋟鋠鋡鋣鋥鋧鋨鋬鋮鋰鋹鋻鋿錀錂錈錍錑錔錕錜錝錞錟錡錤錥錧錩錪錳錴錶錷鍇鍈鍉鍐鍑鍒鍕鍗鍘鍚鍞鍤鍥鍧鍩鍪鍭鍯鍰鍱鍳鍴鍶" + ], + [ + "8fe5a1", + "鍺鍽鍿鎀鎁鎂鎈鎊鎋鎍鎏鎒鎕鎘鎛鎞鎡鎣鎤鎦鎨鎫鎴鎵鎶鎺鎩鏁鏄鏅鏆鏇鏉", + 4, + "鏓鏙鏜鏞鏟鏢鏦鏧鏹鏷鏸鏺鏻鏽鐁鐂鐄鐈鐉鐍鐎鐏鐕鐖鐗鐟鐮鐯鐱鐲鐳鐴鐻鐿鐽鑃鑅鑈鑊鑌鑕鑙鑜鑟鑡鑣鑨鑫鑭鑮鑯鑱鑲钄钃镸镹" + ], + [ + "8fe6a1", + "镾閄閈閌閍閎閝閞閟閡閦閩閫閬閴閶閺閽閿闆闈闉闋闐闑闒闓闙闚闝闞闟闠闤闦阝阞阢阤阥阦阬阱阳阷阸阹阺阼阽陁陒陔陖陗陘陡陮陴陻陼陾陿隁隂隃隄隉隑隖隚隝隟隤隥隦隩隮隯隳隺雊雒嶲雘雚雝雞雟雩雯雱雺霂" + ], + [ + "8fe7a1", + "霃霅霉霚霛霝霡霢霣霨霱霳靁靃靊靎靏靕靗靘靚靛靣靧靪靮靳靶靷靸靻靽靿鞀鞉鞕鞖鞗鞙鞚鞞鞟鞢鞬鞮鞱鞲鞵鞶鞸鞹鞺鞼鞾鞿韁韄韅韇韉韊韌韍韎韐韑韔韗韘韙韝韞韠韛韡韤韯韱韴韷韸韺頇頊頙頍頎頔頖頜頞頠頣頦" + ], + [ + "8fe8a1", + "頫頮頯頰頲頳頵頥頾顄顇顊顑顒顓顖顗顙顚顢顣顥顦顪顬颫颭颮颰颴颷颸颺颻颿飂飅飈飌飡飣飥飦飧飪飳飶餂餇餈餑餕餖餗餚餛餜餟餢餦餧餫餱", + 4, + "餹餺餻餼饀饁饆饇饈饍饎饔饘饙饛饜饞饟饠馛馝馟馦馰馱馲馵" + ], + [ + "8fe9a1", + "馹馺馽馿駃駉駓駔駙駚駜駞駧駪駫駬駰駴駵駹駽駾騂騃騄騋騌騐騑騖騞騠騢騣騤騧騭騮騳騵騶騸驇驁驄驊驋驌驎驑驔驖驝骪骬骮骯骲骴骵骶骹骻骾骿髁髃髆髈髎髐髒髕髖髗髛髜髠髤髥髧髩髬髲髳髵髹髺髽髿", + 4 + ], + [ + "8feaa1", + "鬄鬅鬈鬉鬋鬌鬍鬎鬐鬒鬖鬙鬛鬜鬠鬦鬫鬭鬳鬴鬵鬷鬹鬺鬽魈魋魌魕魖魗魛魞魡魣魥魦魨魪", + 4, + "魳魵魷魸魹魿鮀鮄鮅鮆鮇鮉鮊鮋鮍鮏鮐鮔鮚鮝鮞鮦鮧鮩鮬鮰鮱鮲鮷鮸鮻鮼鮾鮿鯁鯇鯈鯎鯐鯗鯘鯝鯟鯥鯧鯪鯫鯯鯳鯷鯸" + ], + [ + "8feba1", + "鯹鯺鯽鯿鰀鰂鰋鰏鰑鰖鰘鰙鰚鰜鰞鰢鰣鰦", + 4, + "鰱鰵鰶鰷鰽鱁鱃鱄鱅鱉鱊鱎鱏鱐鱓鱔鱖鱘鱛鱝鱞鱟鱣鱩鱪鱜鱫鱨鱮鱰鱲鱵鱷鱻鳦鳲鳷鳹鴋鴂鴑鴗鴘鴜鴝鴞鴯鴰鴲鴳鴴鴺鴼鵅鴽鵂鵃鵇鵊鵓鵔鵟鵣鵢鵥鵩鵪鵫鵰鵶鵷鵻" + ], + [ + "8feca1", + "鵼鵾鶃鶄鶆鶊鶍鶎鶒鶓鶕鶖鶗鶘鶡鶪鶬鶮鶱鶵鶹鶼鶿鷃鷇鷉鷊鷔鷕鷖鷗鷚鷞鷟鷠鷥鷧鷩鷫鷮鷰鷳鷴鷾鸊鸂鸇鸎鸐鸑鸒鸕鸖鸙鸜鸝鹺鹻鹼麀麂麃麄麅麇麎麏麖麘麛麞麤麨麬麮麯麰麳麴麵黆黈黋黕黟黤黧黬黭黮黰黱黲黵" + ], + [ + "8feda1", + "黸黿鼂鼃鼉鼏鼐鼑鼒鼔鼖鼗鼙鼚鼛鼟鼢鼦鼪鼫鼯鼱鼲鼴鼷鼹鼺鼼鼽鼿齁齃", + 4, + "齓齕齖齗齘齚齝齞齨齩齭", + 4, + "齳齵齺齽龏龐龑龒龔龖龗龞龡龢龣龥" + ] +]; + +var require$$2 = [ + [ + "0", + "\u0000", + 127, + "€" + ], + [ + "8140", + "丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪", + 5, + "乲乴", + 9, + "乿", + 6, + "亇亊" + ], + [ + "8180", + "亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂", + 6, + "伋伌伒", + 4, + "伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾", + 4, + "佄佅佇", + 5, + "佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢" + ], + [ + "8240", + "侤侫侭侰", + 4, + "侶", + 8, + "俀俁係俆俇俈俉俋俌俍俒", + 4, + "俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿", + 11 + ], + [ + "8280", + "個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯", + 10, + "倻倽倿偀偁偂偄偅偆偉偊偋偍偐", + 4, + "偖偗偘偙偛偝", + 7, + "偦", + 5, + "偭", + 8, + "偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎", + 20, + "傤傦傪傫傭", + 4, + "傳", + 6, + "傼" + ], + [ + "8340", + "傽", + 17, + "僐", + 5, + "僗僘僙僛", + 10, + "僨僩僪僫僯僰僱僲僴僶", + 4, + "僼", + 9, + "儈" + ], + [ + "8380", + "儉儊儌", + 5, + "儓", + 13, + "儢", + 28, + "兂兇兊兌兎兏児兒兓兗兘兙兛兝", + 4, + "兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦", + 4, + "冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒", + 5 + ], + [ + "8440", + "凘凙凚凜凞凟凢凣凥", + 5, + "凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄", + 5, + "剋剎剏剒剓剕剗剘" + ], + [ + "8480", + "剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳", + 9, + "剾劀劃", + 4, + "劉", + 6, + "劑劒劔", + 6, + "劜劤劥劦劧劮劯劰労", + 9, + "勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務", + 5, + "勠勡勢勣勥", + 10, + "勱", + 7, + "勻勼勽匁匂匃匄匇匉匊匋匌匎" + ], + [ + "8540", + "匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯", + 9, + "匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏" + ], + [ + "8580", + "厐", + 4, + "厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯", + 6, + "厷厸厹厺厼厽厾叀參", + 4, + "収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝", + 4, + "呣呥呧呩", + 7, + "呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡" + ], + [ + "8640", + "咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠", + 4, + "哫哬哯哰哱哴", + 5, + "哻哾唀唂唃唄唅唈唊", + 4, + "唒唓唕", + 5, + "唜唝唞唟唡唥唦" + ], + [ + "8680", + "唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋", + 4, + "啑啒啓啔啗", + 4, + "啝啞啟啠啢啣啨啩啫啯", + 5, + "啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠", + 6, + "喨", + 8, + "喲喴営喸喺喼喿", + 4, + "嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗", + 4, + "嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸", + 4, + "嗿嘂嘃嘄嘅" + ], + [ + "8740", + "嘆嘇嘊嘋嘍嘐", + 7, + "嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀", + 11, + "噏", + 4, + "噕噖噚噛噝", + 4 + ], + [ + "8780", + "噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽", + 7, + "嚇", + 6, + "嚐嚑嚒嚔", + 14, + "嚤", + 10, + "嚰", + 6, + "嚸嚹嚺嚻嚽", + 12, + "囋", + 8, + "囕囖囘囙囜団囥", + 5, + "囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國", + 6 + ], + [ + "8840", + "園", + 9, + "圝圞圠圡圢圤圥圦圧圫圱圲圴", + 4, + "圼圽圿坁坃坄坅坆坈坉坋坒", + 4, + "坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀" + ], + [ + "8880", + "垁垇垈垉垊垍", + 4, + "垔", + 6, + "垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹", + 8, + "埄", + 6, + "埌埍埐埑埓埖埗埛埜埞埡埢埣埥", + 7, + "埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥", + 4, + "堫", + 4, + "報堲堳場堶", + 7 + ], + [ + "8940", + "堾", + 5, + "塅", + 6, + "塎塏塐塒塓塕塖塗塙", + 4, + "塟", + 5, + "塦", + 4, + "塭", + 16, + "塿墂墄墆墇墈墊墋墌" + ], + [ + "8980", + "墍", + 4, + "墔", + 4, + "墛墜墝墠", + 7, + "墪", + 17, + "墽墾墿壀壂壃壄壆", + 10, + "壒壓壔壖", + 13, + "壥", + 5, + "壭壯壱売壴壵壷壸壺", + 7, + "夃夅夆夈", + 4, + "夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻" + ], + [ + "8a40", + "夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛", + 4, + "奡奣奤奦", + 12, + "奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦" + ], + [ + "8a80", + "妧妬妭妰妱妳", + 5, + "妺妼妽妿", + 6, + "姇姈姉姌姍姎姏姕姖姙姛姞", + 4, + "姤姦姧姩姪姫姭", + 11, + "姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪", + 6, + "娳娵娷", + 4, + "娽娾娿婁", + 4, + "婇婈婋", + 9, + "婖婗婘婙婛", + 5 + ], + [ + "8b40", + "婡婣婤婥婦婨婩婫", + 8, + "婸婹婻婼婽婾媀", + 17, + "媓", + 6, + "媜", + 13, + "媫媬" + ], + [ + "8b80", + "媭", + 4, + "媴媶媷媹", + 4, + "媿嫀嫃", + 5, + "嫊嫋嫍", + 4, + "嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬", + 4, + "嫲", + 22, + "嬊", + 11, + "嬘", + 25, + "嬳嬵嬶嬸", + 7, + "孁", + 6 + ], + [ + "8c40", + "孈", + 7, + "孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏" + ], + [ + "8c80", + "寑寔", + 8, + "寠寢寣實寧審", + 4, + "寯寱", + 6, + "寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧", + 6, + "屰屲", + 6, + "屻屼屽屾岀岃", + 4, + "岉岊岋岎岏岒岓岕岝", + 4, + "岤", + 4 + ], + [ + "8d40", + "岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅", + 5, + "峌", + 5, + "峓", + 5, + "峚", + 6, + "峢峣峧峩峫峬峮峯峱", + 9, + "峼", + 4 + ], + [ + "8d80", + "崁崄崅崈", + 5, + "崏", + 4, + "崕崗崘崙崚崜崝崟", + 4, + "崥崨崪崫崬崯", + 4, + "崵", + 7, + "崿", + 7, + "嵈嵉嵍", + 10, + "嵙嵚嵜嵞", + 10, + "嵪嵭嵮嵰嵱嵲嵳嵵", + 12, + "嶃", + 21, + "嶚嶛嶜嶞嶟嶠" + ], + [ + "8e40", + "嶡", + 21, + "嶸", + 12, + "巆", + 6, + "巎", + 12, + "巜巟巠巣巤巪巬巭" + ], + [ + "8e80", + "巰巵巶巸", + 4, + "巿帀帄帇帉帊帋帍帎帒帓帗帞", + 7, + "帨", + 4, + "帯帰帲", + 4, + "帹帺帾帿幀幁幃幆", + 5, + "幍", + 6, + "幖", + 4, + "幜幝幟幠幣", + 14, + "幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨", + 4, + "庮", + 4, + "庴庺庻庼庽庿", + 6 + ], + [ + "8f40", + "廆廇廈廋", + 5, + "廔廕廗廘廙廚廜", + 11, + "廩廫", + 8, + "廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤" + ], + [ + "8f80", + "弨弫弬弮弰弲", + 6, + "弻弽弾弿彁", + 14, + "彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢", + 5, + "復徫徬徯", + 5, + "徶徸徹徺徻徾", + 4, + "忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇" + ], + [ + "9040", + "怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰", + 4, + "怶", + 4, + "怽怾恀恄", + 6, + "恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀" + ], + [ + "9080", + "悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽", + 7, + "惇惈惉惌", + 4, + "惒惓惔惖惗惙惛惞惡", + 4, + "惪惱惲惵惷惸惻", + 4, + "愂愃愄愅愇愊愋愌愐", + 4, + "愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬", + 18, + "慀", + 6 + ], + [ + "9140", + "慇慉態慍慏慐慒慓慔慖", + 6, + "慞慟慠慡慣慤慥慦慩", + 6, + "慱慲慳慴慶慸", + 18, + "憌憍憏", + 4, + "憕" + ], + [ + "9180", + "憖", + 6, + "憞", + 8, + "憪憫憭", + 9, + "憸", + 5, + "憿懀懁懃", + 4, + "應懌", + 4, + "懓懕", + 16, + "懧", + 13, + "懶", + 8, + "戀", + 5, + "戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸", + 4, + "扂扄扅扆扊" + ], + [ + "9240", + "扏扐払扖扗扙扚扜", + 6, + "扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋", + 5, + "抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁" + ], + [ + "9280", + "拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳", + 5, + "挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖", + 7, + "捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙", + 6, + "採掤掦掫掯掱掲掵掶掹掻掽掿揀" + ], + [ + "9340", + "揁揂揃揅揇揈揊揋揌揑揓揔揕揗", + 6, + "揟揢揤", + 4, + "揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆", + 4, + "損搎搑搒搕", + 5, + "搝搟搢搣搤" + ], + [ + "9380", + "搥搧搨搩搫搮", + 5, + "搵", + 4, + "搻搼搾摀摂摃摉摋", + 6, + "摓摕摖摗摙", + 4, + "摟", + 7, + "摨摪摫摬摮", + 9, + "摻", + 6, + "撃撆撈", + 8, + "撓撔撗撘撚撛撜撝撟", + 4, + "撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆", + 6, + "擏擑擓擔擕擖擙據" + ], + [ + "9440", + "擛擜擝擟擠擡擣擥擧", + 24, + "攁", + 7, + "攊", + 7, + "攓", + 4, + "攙", + 8 + ], + [ + "9480", + "攢攣攤攦", + 4, + "攬攭攰攱攲攳攷攺攼攽敀", + 4, + "敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數", + 14, + "斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱", + 7, + "斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘", + 7, + "旡旣旤旪旫" + ], + [ + "9540", + "旲旳旴旵旸旹旻", + 4, + "昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷", + 4, + "昽昿晀時晄", + 6, + "晍晎晐晑晘" + ], + [ + "9580", + "晙晛晜晝晞晠晢晣晥晧晩", + 4, + "晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘", + 4, + "暞", + 8, + "暩", + 4, + "暯", + 4, + "暵暶暷暸暺暻暼暽暿", + 25, + "曚曞", + 7, + "曧曨曪", + 5, + "曱曵曶書曺曻曽朁朂會" + ], + [ + "9640", + "朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠", + 5, + "朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗", + 4, + "杝杢杣杤杦杧杫杬杮東杴杶" + ], + [ + "9680", + "杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹", + 7, + "柂柅", + 9, + "柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵", + 7, + "柾栁栂栃栄栆栍栐栒栔栕栘", + 4, + "栞栟栠栢", + 6, + "栫", + 6, + "栴栵栶栺栻栿桇桋桍桏桒桖", + 5 + ], + [ + "9740", + "桜桝桞桟桪桬", + 7, + "桵桸", + 8, + "梂梄梇", + 7, + "梐梑梒梔梕梖梘", + 9, + "梣梤梥梩梪梫梬梮梱梲梴梶梷梸" + ], + [ + "9780", + "梹", + 6, + "棁棃", + 5, + "棊棌棎棏棐棑棓棔棖棗棙棛", + 4, + "棡棢棤", + 9, + "棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆", + 4, + "椌椏椑椓", + 11, + "椡椢椣椥", + 7, + "椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃", + 16, + "楕楖楘楙楛楜楟" + ], + [ + "9840", + "楡楢楤楥楧楨楩楪楬業楯楰楲", + 4, + "楺楻楽楾楿榁榃榅榊榋榌榎", + 5, + "榖榗榙榚榝", + 9, + "榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽" + ], + [ + "9880", + "榾榿槀槂", + 7, + "構槍槏槑槒槓槕", + 5, + "槜槝槞槡", + 11, + "槮槯槰槱槳", + 9, + "槾樀", + 9, + "樋", + 11, + "標", + 5, + "樠樢", + 5, + "権樫樬樭樮樰樲樳樴樶", + 6, + "樿", + 4, + "橅橆橈", + 7, + "橑", + 6, + "橚" + ], + [ + "9940", + "橜", + 4, + "橢橣橤橦", + 10, + "橲", + 6, + "橺橻橽橾橿檁檂檃檅", + 8, + "檏檒", + 4, + "檘", + 7, + "檡", + 5 + ], + [ + "9980", + "檧檨檪檭", + 114, + "欥欦欨", + 6 + ], + [ + "9a40", + "欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍", + 11, + "歚", + 7, + "歨歩歫", + 13, + "歺歽歾歿殀殅殈" + ], + [ + "9a80", + "殌殎殏殐殑殔殕殗殘殙殜", + 4, + "殢", + 7, + "殫", + 7, + "殶殸", + 6, + "毀毃毄毆", + 4, + "毌毎毐毑毘毚毜", + 4, + "毢", + 7, + "毬毭毮毰毱毲毴毶毷毸毺毻毼毾", + 6, + "氈", + 4, + "氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋", + 4, + "汑汒汓汖汘" + ], + [ + "9b40", + "汙汚汢汣汥汦汧汫", + 4, + "汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘" + ], + [ + "9b80", + "泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟", + 5, + "洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽", + 4, + "涃涄涆涇涊涋涍涏涐涒涖", + 4, + "涜涢涥涬涭涰涱涳涴涶涷涹", + 5, + "淁淂淃淈淉淊" + ], + [ + "9c40", + "淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽", + 7, + "渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵" + ], + [ + "9c80", + "渶渷渹渻", + 7, + "湅", + 7, + "湏湐湑湒湕湗湙湚湜湝湞湠", + 10, + "湬湭湯", + 14, + "満溁溂溄溇溈溊", + 4, + "溑", + 6, + "溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪", + 5 + ], + [ + "9d40", + "滰滱滲滳滵滶滷滸滺", + 7, + "漃漄漅漇漈漊", + 4, + "漐漑漒漖", + 9, + "漡漢漣漥漦漧漨漬漮漰漲漴漵漷", + 6, + "漿潀潁潂" + ], + [ + "9d80", + "潃潄潅潈潉潊潌潎", + 9, + "潙潚潛潝潟潠潡潣潤潥潧", + 5, + "潯潰潱潳潵潶潷潹潻潽", + 6, + "澅澆澇澊澋澏", + 12, + "澝澞澟澠澢", + 4, + "澨", + 10, + "澴澵澷澸澺", + 5, + "濁濃", + 5, + "濊", + 6, + "濓", + 10, + "濟濢濣濤濥" + ], + [ + "9e40", + "濦", + 7, + "濰", + 32, + "瀒", + 7, + "瀜", + 6, + "瀤", + 6 + ], + [ + "9e80", + "瀫", + 9, + "瀶瀷瀸瀺", + 17, + "灍灎灐", + 13, + "灟", + 11, + "灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞", + 12, + "炰炲炴炵炶為炾炿烄烅烆烇烉烋", + 12, + "烚" + ], + [ + "9f40", + "烜烝烞烠烡烢烣烥烪烮烰", + 6, + "烸烺烻烼烾", + 10, + "焋", + 4, + "焑焒焔焗焛", + 10, + "焧", + 7, + "焲焳焴" + ], + [ + "9f80", + "焵焷", + 13, + "煆煇煈煉煋煍煏", + 12, + "煝煟", + 4, + "煥煩", + 4, + "煯煰煱煴煵煶煷煹煻煼煾", + 5, + "熅", + 4, + "熋熌熍熎熐熑熒熓熕熖熗熚", + 4, + "熡", + 6, + "熩熪熫熭", + 5, + "熴熶熷熸熺", + 8, + "燄", + 9, + "燏", + 4 + ], + [ + "a040", + "燖", + 9, + "燡燢燣燤燦燨", + 5, + "燯", + 9, + "燺", + 11, + "爇", + 19 + ], + [ + "a080", + "爛爜爞", + 9, + "爩爫爭爮爯爲爳爴爺爼爾牀", + 6, + "牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅", + 4, + "犌犎犐犑犓", + 11, + "犠", + 11, + "犮犱犲犳犵犺", + 6, + "狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛" + ], + [ + "a1a1", + " 、。·ˉˇ¨〃々—~‖…‘’“”〔〕〈", + 7, + "〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃$¤¢£‰§№☆★○●◎◇◆□■△▲※→←↑↓〓" + ], + [ + "a2a1", + "ⅰ", + 9 + ], + [ + "a2b1", + "⒈", + 19, + "⑴", + 19, + "①", + 9 + ], + [ + "a2e5", + "㈠", + 9 + ], + [ + "a2f1", + "Ⅰ", + 11 + ], + [ + "a3a1", + "!"#¥%", + 88, + " ̄" + ], + [ + "a4a1", + "ぁ", + 82 + ], + [ + "a5a1", + "ァ", + 85 + ], + [ + "a6a1", + "Α", + 16, + "Σ", + 6 + ], + [ + "a6c1", + "α", + 16, + "σ", + 6 + ], + [ + "a6e0", + "︵︶︹︺︿﹀︽︾﹁﹂﹃﹄" + ], + [ + "a6ee", + "︻︼︷︸︱" + ], + [ + "a6f4", + "︳︴" + ], + [ + "a7a1", + "А", + 5, + "ЁЖ", + 25 + ], + [ + "a7d1", + "а", + 5, + "ёж", + 25 + ], + [ + "a840", + "ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═", + 35, + "▁", + 6 + ], + [ + "a880", + "█", + 7, + "▓▔▕▼▽◢◣◤◥☉⊕〒〝〞" + ], + [ + "a8a1", + "āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ" + ], + [ + "a8bd", + "ńň" + ], + [ + "a8c0", + "ɡ" + ], + [ + "a8c5", + "ㄅ", + 36 + ], + [ + "a940", + "〡", + 8, + "㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰¬¦" + ], + [ + "a959", + "℡㈱" + ], + [ + "a95c", + "‐" + ], + [ + "a960", + "ー゛゜ヽヾ〆ゝゞ﹉", + 9, + "﹔﹕﹖﹗﹙", + 8 + ], + [ + "a980", + "﹢", + 4, + "﹨﹩﹪﹫" + ], + [ + "a996", + "〇" + ], + [ + "a9a4", + "─", + 75 + ], + [ + "aa40", + "狜狝狟狢", + 5, + "狪狫狵狶狹狽狾狿猀猂猄", + 5, + "猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀", + 8 + ], + [ + "aa80", + "獉獊獋獌獎獏獑獓獔獕獖獘", + 7, + "獡", + 10, + "獮獰獱" + ], + [ + "ab40", + "獲", + 11, + "獿", + 4, + "玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣", + 5, + "玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃", + 4 + ], + [ + "ab80", + "珋珌珎珒", + 6, + "珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳", + 4 + ], + [ + "ac40", + "珸", + 10, + "琄琇琈琋琌琍琎琑", + 8, + "琜", + 5, + "琣琤琧琩琫琭琯琱琲琷", + 4, + "琽琾琿瑀瑂", + 11 + ], + [ + "ac80", + "瑎", + 6, + "瑖瑘瑝瑠", + 12, + "瑮瑯瑱", + 4, + "瑸瑹瑺" + ], + [ + "ad40", + "瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑", + 10, + "璝璟", + 7, + "璪", + 15, + "璻", + 12 + ], + [ + "ad80", + "瓈", + 9, + "瓓", + 8, + "瓝瓟瓡瓥瓧", + 6, + "瓰瓱瓲" + ], + [ + "ae40", + "瓳瓵瓸", + 6, + "甀甁甂甃甅", + 7, + "甎甐甒甔甕甖甗甛甝甞甠", + 4, + "甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘" + ], + [ + "ae80", + "畝", + 7, + "畧畨畩畫", + 6, + "畳畵當畷畺", + 4, + "疀疁疂疄疅疇" + ], + [ + "af40", + "疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦", + 4, + "疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇" + ], + [ + "af80", + "瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄" + ], + [ + "b040", + "癅", + 6, + "癎", + 5, + "癕癗", + 4, + "癝癟癠癡癢癤", + 6, + "癬癭癮癰", + 7, + "癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛" + ], + [ + "b080", + "皜", + 7, + "皥", + 8, + "皯皰皳皵", + 9, + "盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥" + ], + [ + "b140", + "盄盇盉盋盌盓盕盙盚盜盝盞盠", + 4, + "盦", + 7, + "盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎", + 10, + "眛眜眝眞眡眣眤眥眧眪眫" + ], + [ + "b180", + "眬眮眰", + 4, + "眹眻眽眾眿睂睄睅睆睈", + 7, + "睒", + 7, + "睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳" + ], + [ + "b240", + "睝睞睟睠睤睧睩睪睭", + 11, + "睺睻睼瞁瞂瞃瞆", + 5, + "瞏瞐瞓", + 11, + "瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶", + 4 + ], + [ + "b280", + "瞼瞾矀", + 12, + "矎", + 8, + "矘矙矚矝", + 4, + "矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖" + ], + [ + "b340", + "矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃", + 5, + "砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚" + ], + [ + "b380", + "硛硜硞", + 11, + "硯", + 7, + "硸硹硺硻硽", + 6, + "场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚" + ], + [ + "b440", + "碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨", + 7, + "碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚", + 9 + ], + [ + "b480", + "磤磥磦磧磩磪磫磭", + 4, + "磳磵磶磸磹磻", + 5, + "礂礃礄礆", + 6, + "础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮" + ], + [ + "b540", + "礍", + 5, + "礔", + 9, + "礟", + 4, + "礥", + 14, + "礵", + 4, + "礽礿祂祃祄祅祇祊", + 8, + "祔祕祘祙祡祣" + ], + [ + "b580", + "祤祦祩祪祫祬祮祰", + 6, + "祹祻", + 4, + "禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠" + ], + [ + "b640", + "禓", + 6, + "禛", + 11, + "禨", + 10, + "禴", + 4, + "禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙", + 5, + "秠秡秢秥秨秪" + ], + [ + "b680", + "秬秮秱", + 6, + "秹秺秼秾秿稁稄稅稇稈稉稊稌稏", + 4, + "稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二" + ], + [ + "b740", + "稝稟稡稢稤", + 14, + "稴稵稶稸稺稾穀", + 5, + "穇", + 9, + "穒", + 4, + "穘", + 16 + ], + [ + "b780", + "穩", + 6, + "穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服" + ], + [ + "b840", + "窣窤窧窩窪窫窮", + 4, + "窴", + 10, + "竀", + 10, + "竌", + 9, + "竗竘竚竛竜竝竡竢竤竧", + 5, + "竮竰竱竲竳" + ], + [ + "b880", + "竴", + 4, + "竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹" + ], + [ + "b940", + "笯笰笲笴笵笶笷笹笻笽笿", + 5, + "筆筈筊筍筎筓筕筗筙筜筞筟筡筣", + 10, + "筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆", + 6, + "箎箏" + ], + [ + "b980", + "箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹", + 7, + "篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈" + ], + [ + "ba40", + "篅篈築篊篋篍篎篏篐篒篔", + 4, + "篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲", + 4, + "篸篹篺篻篽篿", + 7, + "簈簉簊簍簎簐", + 5, + "簗簘簙" + ], + [ + "ba80", + "簚", + 4, + "簠", + 5, + "簨簩簫", + 12, + "簹", + 5, + "籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖" + ], + [ + "bb40", + "籃", + 9, + "籎", + 36, + "籵", + 5, + "籾", + 9 + ], + [ + "bb80", + "粈粊", + 6, + "粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴", + 4, + "粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕" + ], + [ + "bc40", + "粿糀糂糃糄糆糉糋糎", + 6, + "糘糚糛糝糞糡", + 6, + "糩", + 5, + "糰", + 7, + "糹糺糼", + 13, + "紋", + 5 + ], + [ + "bc80", + "紑", + 14, + "紡紣紤紥紦紨紩紪紬紭紮細", + 6, + "肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件" + ], + [ + "bd40", + "紷", + 54, + "絯", + 7 + ], + [ + "bd80", + "絸", + 32, + "健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸" + ], + [ + "be40", + "継", + 12, + "綧", + 6, + "綯", + 42 + ], + [ + "be80", + "線", + 32, + "尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻" + ], + [ + "bf40", + "緻", + 62 + ], + [ + "bf80", + "縺縼", + 4, + "繂", + 4, + "繈", + 21, + "俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀" + ], + [ + "c040", + "繞", + 35, + "纃", + 23, + "纜纝纞" + ], + [ + "c080", + "纮纴纻纼绖绤绬绹缊缐缞缷缹缻", + 6, + "罃罆", + 9, + "罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐" + ], + [ + "c140", + "罖罙罛罜罝罞罠罣", + 4, + "罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂", + 7, + "羋羍羏", + 4, + "羕", + 4, + "羛羜羠羢羣羥羦羨", + 6, + "羱" + ], + [ + "c180", + "羳", + 4, + "羺羻羾翀翂翃翄翆翇翈翉翋翍翏", + 4, + "翖翗翙", + 5, + "翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿" + ], + [ + "c240", + "翤翧翨翪翫翬翭翯翲翴", + 6, + "翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫", + 5, + "耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗" + ], + [ + "c280", + "聙聛", + 13, + "聫", + 5, + "聲", + 11, + "隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫" + ], + [ + "c340", + "聾肁肂肅肈肊肍", + 5, + "肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇", + 4, + "胏", + 6, + "胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋" + ], + [ + "c380", + "脌脕脗脙脛脜脝脟", + 12, + "脭脮脰脳脴脵脷脹", + 4, + "脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸" + ], + [ + "c440", + "腀", + 5, + "腇腉腍腎腏腒腖腗腘腛", + 4, + "腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃", + 4, + "膉膋膌膍膎膐膒", + 5, + "膙膚膞", + 4, + "膤膥" + ], + [ + "c480", + "膧膩膫", + 7, + "膴", + 5, + "膼膽膾膿臄臅臇臈臉臋臍", + 6, + "摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁" + ], + [ + "c540", + "臔", + 14, + "臤臥臦臨臩臫臮", + 4, + "臵", + 5, + "臽臿舃與", + 4, + "舎舏舑舓舕", + 5, + "舝舠舤舥舦舧舩舮舲舺舼舽舿" + ], + [ + "c580", + "艀艁艂艃艅艆艈艊艌艍艎艐", + 7, + "艙艛艜艝艞艠", + 7, + "艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗" + ], + [ + "c640", + "艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸" + ], + [ + "c680", + "苺苼", + 4, + "茊茋茍茐茒茓茖茘茙茝", + 9, + "茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐" + ], + [ + "c740", + "茾茿荁荂荄荅荈荊", + 4, + "荓荕", + 4, + "荝荢荰", + 6, + "荹荺荾", + 6, + "莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡", + 6, + "莬莭莮" + ], + [ + "c780", + "莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠" + ], + [ + "c840", + "菮華菳", + 4, + "菺菻菼菾菿萀萂萅萇萈萉萊萐萒", + 5, + "萙萚萛萞", + 5, + "萩", + 7, + "萲", + 5, + "萹萺萻萾", + 7, + "葇葈葉" + ], + [ + "c880", + "葊", + 6, + "葒", + 4, + "葘葝葞葟葠葢葤", + 4, + "葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁" + ], + [ + "c940", + "葽", + 4, + "蒃蒄蒅蒆蒊蒍蒏", + 7, + "蒘蒚蒛蒝蒞蒟蒠蒢", + 12, + "蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗" + ], + [ + "c980", + "蓘", + 4, + "蓞蓡蓢蓤蓧", + 4, + "蓭蓮蓯蓱", + 10, + "蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳" + ], + [ + "ca40", + "蔃", + 8, + "蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢", + 8, + "蔭", + 9, + "蔾", + 4, + "蕄蕅蕆蕇蕋", + 10 + ], + [ + "ca80", + "蕗蕘蕚蕛蕜蕝蕟", + 4, + "蕥蕦蕧蕩", + 8, + "蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱" + ], + [ + "cb40", + "薂薃薆薈", + 6, + "薐", + 10, + "薝", + 6, + "薥薦薧薩薫薬薭薱", + 5, + "薸薺", + 6, + "藂", + 6, + "藊", + 4, + "藑藒" + ], + [ + "cb80", + "藔藖", + 5, + "藝", + 6, + "藥藦藧藨藪", + 14, + "恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔" + ], + [ + "cc40", + "藹藺藼藽藾蘀", + 4, + "蘆", + 10, + "蘒蘓蘔蘕蘗", + 15, + "蘨蘪", + 13, + "蘹蘺蘻蘽蘾蘿虀" + ], + [ + "cc80", + "虁", + 11, + "虒虓處", + 4, + "虛虜虝號虠虡虣", + 7, + "獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃" + ], + [ + "cd40", + "虭虯虰虲", + 6, + "蚃", + 6, + "蚎", + 4, + "蚔蚖", + 5, + "蚞", + 4, + "蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻", + 4, + "蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜" + ], + [ + "cd80", + "蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威" + ], + [ + "ce40", + "蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀", + 6, + "蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚", + 5, + "蝡蝢蝦", + 7, + "蝯蝱蝲蝳蝵" + ], + [ + "ce80", + "蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎", + 4, + "螔螕螖螘", + 6, + "螠", + 4, + "巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺" + ], + [ + "cf40", + "螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁", + 4, + "蟇蟈蟉蟌", + 4, + "蟔", + 6, + "蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯", + 9 + ], + [ + "cf80", + "蟺蟻蟼蟽蟿蠀蠁蠂蠄", + 5, + "蠋", + 7, + "蠔蠗蠘蠙蠚蠜", + 4, + "蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓" + ], + [ + "d040", + "蠤", + 13, + "蠳", + 5, + "蠺蠻蠽蠾蠿衁衂衃衆", + 5, + "衎", + 5, + "衕衖衘衚", + 6, + "衦衧衪衭衯衱衳衴衵衶衸衹衺" + ], + [ + "d080", + "衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗", + 4, + "袝", + 4, + "袣袥", + 5, + "小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄" + ], + [ + "d140", + "袬袮袯袰袲", + 4, + "袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚", + 4, + "裠裡裦裧裩", + 6, + "裲裵裶裷裺裻製裿褀褁褃", + 5 + ], + [ + "d180", + "褉褋", + 4, + "褑褔", + 4, + "褜", + 4, + "褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶" + ], + [ + "d240", + "褸", + 8, + "襂襃襅", + 24, + "襠", + 5, + "襧", + 19, + "襼" + ], + [ + "d280", + "襽襾覀覂覄覅覇", + 26, + "摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐" + ], + [ + "d340", + "覢", + 30, + "觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴", + 6 + ], + [ + "d380", + "觻", + 4, + "訁", + 5, + "計", + 21, + "印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉" + ], + [ + "d440", + "訞", + 31, + "訿", + 8, + "詉", + 21 + ], + [ + "d480", + "詟", + 25, + "詺", + 6, + "浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧" + ], + [ + "d540", + "誁", + 7, + "誋", + 7, + "誔", + 46 + ], + [ + "d580", + "諃", + 32, + "铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政" + ], + [ + "d640", + "諤", + 34, + "謈", + 27 + ], + [ + "d680", + "謤謥謧", + 30, + "帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑" + ], + [ + "d740", + "譆", + 31, + "譧", + 4, + "譭", + 25 + ], + [ + "d780", + "讇", + 24, + "讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座" + ], + [ + "d840", + "谸", + 8, + "豂豃豄豅豈豊豋豍", + 7, + "豖豗豘豙豛", + 5, + "豣", + 6, + "豬", + 6, + "豴豵豶豷豻", + 6, + "貃貄貆貇" + ], + [ + "d880", + "貈貋貍", + 6, + "貕貖貗貙", + 20, + "亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝" + ], + [ + "d940", + "貮", + 62 + ], + [ + "d980", + "賭", + 32, + "佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼" + ], + [ + "da40", + "贎", + 14, + "贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸", + 8, + "趂趃趆趇趈趉趌", + 4, + "趒趓趕", + 9, + "趠趡" + ], + [ + "da80", + "趢趤", + 12, + "趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺" + ], + [ + "db40", + "跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾", + 6, + "踆踇踈踋踍踎踐踑踒踓踕", + 7, + "踠踡踤", + 4, + "踫踭踰踲踳踴踶踷踸踻踼踾" + ], + [ + "db80", + "踿蹃蹅蹆蹌", + 4, + "蹓", + 5, + "蹚", + 11, + "蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝" + ], + [ + "dc40", + "蹳蹵蹷", + 4, + "蹽蹾躀躂躃躄躆躈", + 6, + "躑躒躓躕", + 6, + "躝躟", + 11, + "躭躮躰躱躳", + 6, + "躻", + 7 + ], + [ + "dc80", + "軃", + 10, + "軏", + 21, + "堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥" + ], + [ + "dd40", + "軥", + 62 + ], + [ + "dd80", + "輤", + 32, + "荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺" + ], + [ + "de40", + "轅", + 32, + "轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆" + ], + [ + "de80", + "迉", + 4, + "迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖" + ], + [ + "df40", + "這逜連逤逥逧", + 5, + "逰", + 4, + "逷逹逺逽逿遀遃遅遆遈", + 4, + "過達違遖遙遚遜", + 5, + "遤遦遧適遪遫遬遯", + 4, + "遶", + 6, + "遾邁" + ], + [ + "df80", + "還邅邆邇邉邊邌", + 4, + "邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼" + ], + [ + "e040", + "郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅", + 19, + "鄚鄛鄜" + ], + [ + "e080", + "鄝鄟鄠鄡鄤", + 10, + "鄰鄲", + 6, + "鄺", + 8, + "酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼" + ], + [ + "e140", + "酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀", + 4, + "醆醈醊醎醏醓", + 6, + "醜", + 5, + "醤", + 5, + "醫醬醰醱醲醳醶醷醸醹醻" + ], + [ + "e180", + "醼", + 10, + "釈釋釐釒", + 9, + "針", + 8, + "帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺" + ], + [ + "e240", + "釦", + 62 + ], + [ + "e280", + "鈥", + 32, + "狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧", + 5, + "饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂" + ], + [ + "e340", + "鉆", + 45, + "鉵", + 16 + ], + [ + "e380", + "銆", + 7, + "銏", + 24, + "恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾" + ], + [ + "e440", + "銨", + 5, + "銯", + 24, + "鋉", + 31 + ], + [ + "e480", + "鋩", + 32, + "洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑" + ], + [ + "e540", + "錊", + 51, + "錿", + 10 + ], + [ + "e580", + "鍊", + 31, + "鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣" + ], + [ + "e640", + "鍬", + 34, + "鎐", + 27 + ], + [ + "e680", + "鎬", + 29, + "鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩" + ], + [ + "e740", + "鏎", + 7, + "鏗", + 54 + ], + [ + "e780", + "鐎", + 32, + "纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡", + 6, + "缪缫缬缭缯", + 4, + "缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬" + ], + [ + "e840", + "鐯", + 14, + "鐿", + 43, + "鑬鑭鑮鑯" + ], + [ + "e880", + "鑰", + 20, + "钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹" + ], + [ + "e940", + "锧锳锽镃镈镋镕镚镠镮镴镵長", + 7, + "門", + 42 + ], + [ + "e980", + "閫", + 32, + "椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋" + ], + [ + "ea40", + "闌", + 27, + "闬闿阇阓阘阛阞阠阣", + 6, + "阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗" + ], + [ + "ea80", + "陘陙陚陜陝陞陠陣陥陦陫陭", + 4, + "陳陸", + 12, + "隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰" + ], + [ + "eb40", + "隌階隑隒隓隕隖隚際隝", + 9, + "隨", + 7, + "隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖", + 9, + "雡", + 6, + "雫" + ], + [ + "eb80", + "雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗", + 4, + "霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻" + ], + [ + "ec40", + "霡", + 8, + "霫霬霮霯霱霳", + 4, + "霺霻霼霽霿", + 18, + "靔靕靗靘靚靜靝靟靣靤靦靧靨靪", + 7 + ], + [ + "ec80", + "靲靵靷", + 4, + "靽", + 7, + "鞆", + 4, + "鞌鞎鞏鞐鞓鞕鞖鞗鞙", + 4, + "臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐" + ], + [ + "ed40", + "鞞鞟鞡鞢鞤", + 6, + "鞬鞮鞰鞱鞳鞵", + 46 + ], + [ + "ed80", + "韤韥韨韮", + 4, + "韴韷", + 23, + "怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨" + ], + [ + "ee40", + "頏", + 62 + ], + [ + "ee80", + "顎", + 32, + "睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶", + 4, + "钼钽钿铄铈", + 6, + "铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪" + ], + [ + "ef40", + "顯", + 5, + "颋颎颒颕颙颣風", + 37, + "飏飐飔飖飗飛飜飝飠", + 4 + ], + [ + "ef80", + "飥飦飩", + 30, + "铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒", + 4, + "锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤", + 8, + "镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔" + ], + [ + "f040", + "餈", + 4, + "餎餏餑", + 28, + "餯", + 26 + ], + [ + "f080", + "饊", + 9, + "饖", + 12, + "饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨", + 4, + "鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦", + 6, + "鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙" + ], + [ + "f140", + "馌馎馚", + 10, + "馦馧馩", + 47 + ], + [ + "f180", + "駙", + 32, + "瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃" + ], + [ + "f240", + "駺", + 62 + ], + [ + "f280", + "騹", + 32, + "颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒" + ], + [ + "f340", + "驚", + 17, + "驲骃骉骍骎骔骕骙骦骩", + 6, + "骲骳骴骵骹骻骽骾骿髃髄髆", + 4, + "髍髎髏髐髒體髕髖髗髙髚髛髜" + ], + [ + "f380", + "髝髞髠髢髣髤髥髧髨髩髪髬髮髰", + 8, + "髺髼", + 6, + "鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋" + ], + [ + "f440", + "鬇鬉", + 5, + "鬐鬑鬒鬔", + 10, + "鬠鬡鬢鬤", + 10, + "鬰鬱鬳", + 7, + "鬽鬾鬿魀魆魊魋魌魎魐魒魓魕", + 5 + ], + [ + "f480", + "魛", + 32, + "簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤" + ], + [ + "f540", + "魼", + 62 + ], + [ + "f580", + "鮻", + 32, + "酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜" + ], + [ + "f640", + "鯜", + 62 + ], + [ + "f680", + "鰛", + 32, + "觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅", + 5, + "龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞", + 5, + "鲥", + 4, + "鲫鲭鲮鲰", + 7, + "鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋" + ], + [ + "f740", + "鰼", + 62 + ], + [ + "f780", + "鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾", + 4, + "鳈鳉鳑鳒鳚鳛鳠鳡鳌", + 4, + "鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄" + ], + [ + "f840", + "鳣", + 62 + ], + [ + "f880", + "鴢", + 32 + ], + [ + "f940", + "鵃", + 62 + ], + [ + "f980", + "鶂", + 32 + ], + [ + "fa40", + "鶣", + 62 + ], + [ + "fa80", + "鷢", + 32 + ], + [ + "fb40", + "鸃", + 27, + "鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴", + 9, + "麀" + ], + [ + "fb80", + "麁麃麄麅麆麉麊麌", + 5, + "麔", + 8, + "麞麠", + 5, + "麧麨麩麪" + ], + [ + "fc40", + "麫", + 8, + "麵麶麷麹麺麼麿", + 4, + "黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰", + 8, + "黺黽黿", + 6 + ], + [ + "fc80", + "鼆", + 4, + "鼌鼏鼑鼒鼔鼕鼖鼘鼚", + 5, + "鼡鼣", + 8, + "鼭鼮鼰鼱" + ], + [ + "fd40", + "鼲", + 4, + "鼸鼺鼼鼿", + 4, + "齅", + 10, + "齒", + 38 + ], + [ + "fd80", + "齹", + 5, + "龁龂龍", + 11, + "龜龝龞龡", + 4, + "郎凉秊裏隣" + ], + [ + "fe40", + "兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩" + ] +]; + +var require$$3 = [ + [ + "a140", + "", + 62 + ], + [ + "a180", + "", + 32 + ], + [ + "a240", + "", + 62 + ], + [ + "a280", + "", + 32 + ], + [ + "a2ab", + "", + 5 + ], + [ + "a2e3", + "€" + ], + [ + "a2ef", + "" + ], + [ + "a2fd", + "" + ], + [ + "a340", + "", + 62 + ], + [ + "a380", + "", + 31, + " " + ], + [ + "a440", + "", + 62 + ], + [ + "a480", + "", + 32 + ], + [ + "a4f4", + "", + 10 + ], + [ + "a540", + "", + 62 + ], + [ + "a580", + "", + 32 + ], + [ + "a5f7", + "", + 7 + ], + [ + "a640", + "", + 62 + ], + [ + "a680", + "", + 32 + ], + [ + "a6b9", + "", + 7 + ], + [ + "a6d9", + "", + 6 + ], + [ + "a6ec", + "" + ], + [ + "a6f3", + "" + ], + [ + "a6f6", + "", + 8 + ], + [ + "a740", + "", + 62 + ], + [ + "a780", + "", + 32 + ], + [ + "a7c2", + "", + 14 + ], + [ + "a7f2", + "", + 12 + ], + [ + "a896", + "", + 10 + ], + [ + "a8bc", + "ḿ" + ], + [ + "a8bf", + "ǹ" + ], + [ + "a8c1", + "" + ], + [ + "a8ea", + "", + 20 + ], + [ + "a958", + "" + ], + [ + "a95b", + "" + ], + [ + "a95d", + "" + ], + [ + "a989", + "〾⿰", + 11 + ], + [ + "a997", + "", + 12 + ], + [ + "a9f0", + "", + 14 + ], + [ + "aaa1", + "", + 93 + ], + [ + "aba1", + "", + 93 + ], + [ + "aca1", + "", + 93 + ], + [ + "ada1", + "", + 93 + ], + [ + "aea1", + "", + 93 + ], + [ + "afa1", + "", + 93 + ], + [ + "d7fa", + "", + 4 + ], + [ + "f8a1", + "", + 93 + ], + [ + "f9a1", + "", + 93 + ], + [ + "faa1", + "", + 93 + ], + [ + "fba1", + "", + 93 + ], + [ + "fca1", + "", + 93 + ], + [ + "fda1", + "", + 93 + ], + [ + "fe50", + "⺁⺄㑳㑇⺈⺋㖞㘚㘎⺌⺗㥮㤘㧏㧟㩳㧐㭎㱮㳠⺧⺪䁖䅟⺮䌷⺳⺶⺷䎱䎬⺻䏝䓖䙡䙌" + ], + [ + "fe80", + "䜣䜩䝼䞍⻊䥇䥺䥽䦂䦃䦅䦆䦟䦛䦷䦶䲣䲟䲠䲡䱷䲢䴓", + 6, + "䶮", + 93 + ], + [ + "8135f437", + "" + ] +]; + +var uChars = [ + 128, + 165, + 169, + 178, + 184, + 216, + 226, + 235, + 238, + 244, + 248, + 251, + 253, + 258, + 276, + 284, + 300, + 325, + 329, + 334, + 364, + 463, + 465, + 467, + 469, + 471, + 473, + 475, + 477, + 506, + 594, + 610, + 712, + 716, + 730, + 930, + 938, + 962, + 970, + 1026, + 1104, + 1106, + 8209, + 8215, + 8218, + 8222, + 8231, + 8241, + 8244, + 8246, + 8252, + 8365, + 8452, + 8454, + 8458, + 8471, + 8482, + 8556, + 8570, + 8596, + 8602, + 8713, + 8720, + 8722, + 8726, + 8731, + 8737, + 8740, + 8742, + 8748, + 8751, + 8760, + 8766, + 8777, + 8781, + 8787, + 8802, + 8808, + 8816, + 8854, + 8858, + 8870, + 8896, + 8979, + 9322, + 9372, + 9548, + 9588, + 9616, + 9622, + 9634, + 9652, + 9662, + 9672, + 9676, + 9680, + 9702, + 9735, + 9738, + 9793, + 9795, + 11906, + 11909, + 11913, + 11917, + 11928, + 11944, + 11947, + 11951, + 11956, + 11960, + 11964, + 11979, + 12284, + 12292, + 12312, + 12319, + 12330, + 12351, + 12436, + 12447, + 12535, + 12543, + 12586, + 12842, + 12850, + 12964, + 13200, + 13215, + 13218, + 13253, + 13263, + 13267, + 13270, + 13384, + 13428, + 13727, + 13839, + 13851, + 14617, + 14703, + 14801, + 14816, + 14964, + 15183, + 15471, + 15585, + 16471, + 16736, + 17208, + 17325, + 17330, + 17374, + 17623, + 17997, + 18018, + 18212, + 18218, + 18301, + 18318, + 18760, + 18811, + 18814, + 18820, + 18823, + 18844, + 18848, + 18872, + 19576, + 19620, + 19738, + 19887, + 40870, + 59244, + 59336, + 59367, + 59413, + 59417, + 59423, + 59431, + 59437, + 59443, + 59452, + 59460, + 59478, + 59493, + 63789, + 63866, + 63894, + 63976, + 63986, + 64016, + 64018, + 64021, + 64025, + 64034, + 64037, + 64042, + 65074, + 65093, + 65107, + 65112, + 65127, + 65132, + 65375, + 65510, + 65536 +]; +var gbChars = [ + 0, + 36, + 38, + 45, + 50, + 81, + 89, + 95, + 96, + 100, + 103, + 104, + 105, + 109, + 126, + 133, + 148, + 172, + 175, + 179, + 208, + 306, + 307, + 308, + 309, + 310, + 311, + 312, + 313, + 341, + 428, + 443, + 544, + 545, + 558, + 741, + 742, + 749, + 750, + 805, + 819, + 820, + 7922, + 7924, + 7925, + 7927, + 7934, + 7943, + 7944, + 7945, + 7950, + 8062, + 8148, + 8149, + 8152, + 8164, + 8174, + 8236, + 8240, + 8262, + 8264, + 8374, + 8380, + 8381, + 8384, + 8388, + 8390, + 8392, + 8393, + 8394, + 8396, + 8401, + 8406, + 8416, + 8419, + 8424, + 8437, + 8439, + 8445, + 8482, + 8485, + 8496, + 8521, + 8603, + 8936, + 8946, + 9046, + 9050, + 9063, + 9066, + 9076, + 9092, + 9100, + 9108, + 9111, + 9113, + 9131, + 9162, + 9164, + 9218, + 9219, + 11329, + 11331, + 11334, + 11336, + 11346, + 11361, + 11363, + 11366, + 11370, + 11372, + 11375, + 11389, + 11682, + 11686, + 11687, + 11692, + 11694, + 11714, + 11716, + 11723, + 11725, + 11730, + 11736, + 11982, + 11989, + 12102, + 12336, + 12348, + 12350, + 12384, + 12393, + 12395, + 12397, + 12510, + 12553, + 12851, + 12962, + 12973, + 13738, + 13823, + 13919, + 13933, + 14080, + 14298, + 14585, + 14698, + 15583, + 15847, + 16318, + 16434, + 16438, + 16481, + 16729, + 17102, + 17122, + 17315, + 17320, + 17402, + 17418, + 17859, + 17909, + 17911, + 17915, + 17916, + 17936, + 17939, + 17961, + 18664, + 18703, + 18814, + 18962, + 19043, + 33469, + 33470, + 33471, + 33484, + 33485, + 33490, + 33497, + 33501, + 33505, + 33513, + 33520, + 33536, + 33550, + 37845, + 37921, + 37948, + 38029, + 38038, + 38064, + 38065, + 38066, + 38069, + 38075, + 38076, + 38078, + 39108, + 39109, + 39113, + 39114, + 39115, + 39116, + 39265, + 39394, + 189000 +]; +var require$$4 = { + uChars: uChars, + gbChars: gbChars +}; + +var require$$5$1 = [ + [ + "0", + "\u0000", + 127 + ], + [ + "8141", + "갂갃갅갆갋", + 4, + "갘갞갟갡갢갣갥", + 6, + "갮갲갳갴" + ], + [ + "8161", + "갵갶갷갺갻갽갾갿걁", + 9, + "걌걎", + 5, + "걕" + ], + [ + "8181", + "걖걗걙걚걛걝", + 18, + "걲걳걵걶걹걻", + 4, + "겂겇겈겍겎겏겑겒겓겕", + 6, + "겞겢", + 5, + "겫겭겮겱", + 6, + "겺겾겿곀곂곃곅곆곇곉곊곋곍", + 7, + "곖곘", + 7, + "곢곣곥곦곩곫곭곮곲곴곷", + 4, + "곾곿괁괂괃괅괇", + 4, + "괎괐괒괓" + ], + [ + "8241", + "괔괕괖괗괙괚괛괝괞괟괡", + 7, + "괪괫괮", + 5 + ], + [ + "8261", + "괶괷괹괺괻괽", + 6, + "굆굈굊", + 5, + "굑굒굓굕굖굗" + ], + [ + "8281", + "굙", + 7, + "굢굤", + 7, + "굮굯굱굲굷굸굹굺굾궀궃", + 4, + "궊궋궍궎궏궑", + 10, + "궞", + 5, + "궥", + 17, + "궸", + 7, + "귂귃귅귆귇귉", + 6, + "귒귔", + 7, + "귝귞귟귡귢귣귥", + 18 + ], + [ + "8341", + "귺귻귽귾긂", + 5, + "긊긌긎", + 5, + "긕", + 7 + ], + [ + "8361", + "긝", + 18, + "긲긳긵긶긹긻긼" + ], + [ + "8381", + "긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗", + 4, + "깞깢깣깤깦깧깪깫깭깮깯깱", + 6, + "깺깾", + 5, + "꺆", + 5, + "꺍", + 46, + "꺿껁껂껃껅", + 6, + "껎껒", + 5, + "껚껛껝", + 8 + ], + [ + "8441", + "껦껧껩껪껬껮", + 5, + "껵껶껷껹껺껻껽", + 8 + ], + [ + "8461", + "꼆꼉꼊꼋꼌꼎꼏꼑", + 18 + ], + [ + "8481", + "꼤", + 7, + "꼮꼯꼱꼳꼵", + 6, + "꼾꽀꽄꽅꽆꽇꽊", + 5, + "꽑", + 10, + "꽞", + 5, + "꽦", + 18, + "꽺", + 5, + "꾁꾂꾃꾅꾆꾇꾉", + 6, + "꾒꾓꾔꾖", + 5, + "꾝", + 26, + "꾺꾻꾽꾾" + ], + [ + "8541", + "꾿꿁", + 5, + "꿊꿌꿏", + 4, + "꿕", + 6, + "꿝", + 4 + ], + [ + "8561", + "꿢", + 5, + "꿪", + 5, + "꿲꿳꿵꿶꿷꿹", + 6, + "뀂뀃" + ], + [ + "8581", + "뀅", + 6, + "뀍뀎뀏뀑뀒뀓뀕", + 6, + "뀞", + 9, + "뀩", + 26, + "끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞", + 29, + "끾끿낁낂낃낅", + 6, + "낎낐낒", + 5, + "낛낝낞낣낤" + ], + [ + "8641", + "낥낦낧낪낰낲낶낷낹낺낻낽", + 6, + "냆냊", + 5, + "냒" + ], + [ + "8661", + "냓냕냖냗냙", + 6, + "냡냢냣냤냦", + 10 + ], + [ + "8681", + "냱", + 22, + "넊넍넎넏넑넔넕넖넗넚넞", + 4, + "넦넧넩넪넫넭", + 6, + "넶넺", + 5, + "녂녃녅녆녇녉", + 6, + "녒녓녖녗녙녚녛녝녞녟녡", + 22, + "녺녻녽녾녿놁놃", + 4, + "놊놌놎놏놐놑놕놖놗놙놚놛놝" + ], + [ + "8741", + "놞", + 9, + "놩", + 15 + ], + [ + "8761", + "놹", + 18, + "뇍뇎뇏뇑뇒뇓뇕" + ], + [ + "8781", + "뇖", + 5, + "뇞뇠", + 7, + "뇪뇫뇭뇮뇯뇱", + 7, + "뇺뇼뇾", + 5, + "눆눇눉눊눍", + 6, + "눖눘눚", + 5, + "눡", + 18, + "눵", + 6, + "눽", + 26, + "뉙뉚뉛뉝뉞뉟뉡", + 6, + "뉪", + 4 + ], + [ + "8841", + "뉯", + 4, + "뉶", + 5, + "뉽", + 6, + "늆늇늈늊", + 4 + ], + [ + "8861", + "늏늒늓늕늖늗늛", + 4, + "늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷" + ], + [ + "8881", + "늸", + 15, + "닊닋닍닎닏닑닓", + 4, + "닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉", + 6, + "댒댖", + 5, + "댝", + 54, + "덗덙덚덝덠덡덢덣" + ], + [ + "8941", + "덦덨덪덬덭덯덲덳덵덶덷덹", + 6, + "뎂뎆", + 5, + "뎍" + ], + [ + "8961", + "뎎뎏뎑뎒뎓뎕", + 10, + "뎢", + 5, + "뎩뎪뎫뎭" + ], + [ + "8981", + "뎮", + 21, + "돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩", + 18, + "돽", + 18, + "됑", + 6, + "됙됚됛됝됞됟됡", + 6, + "됪됬", + 7, + "됵", + 15 + ], + [ + "8a41", + "둅", + 10, + "둒둓둕둖둗둙", + 6, + "둢둤둦" + ], + [ + "8a61", + "둧", + 4, + "둭", + 18, + "뒁뒂" + ], + [ + "8a81", + "뒃", + 4, + "뒉", + 19, + "뒞", + 5, + "뒥뒦뒧뒩뒪뒫뒭", + 7, + "뒶뒸뒺", + 5, + "듁듂듃듅듆듇듉", + 6, + "듑듒듓듔듖", + 5, + "듞듟듡듢듥듧", + 4, + "듮듰듲", + 5, + "듹", + 26, + "딖딗딙딚딝" + ], + [ + "8b41", + "딞", + 5, + "딦딫", + 4, + "딲딳딵딶딷딹", + 6, + "땂땆" + ], + [ + "8b61", + "땇땈땉땊땎땏땑땒땓땕", + 6, + "땞땢", + 8 + ], + [ + "8b81", + "땫", + 52, + "떢떣떥떦떧떩떬떭떮떯떲떶", + 4, + "떾떿뗁뗂뗃뗅", + 6, + "뗎뗒", + 5, + "뗙", + 18, + "뗭", + 18 + ], + [ + "8c41", + "똀", + 15, + "똒똓똕똖똗똙", + 4 + ], + [ + "8c61", + "똞", + 6, + "똦", + 5, + "똭", + 6, + "똵", + 5 + ], + [ + "8c81", + "똻", + 12, + "뙉", + 26, + "뙥뙦뙧뙩", + 50, + "뚞뚟뚡뚢뚣뚥", + 5, + "뚭뚮뚯뚰뚲", + 16 + ], + [ + "8d41", + "뛃", + 16, + "뛕", + 8 + ], + [ + "8d61", + "뛞", + 17, + "뛱뛲뛳뛵뛶뛷뛹뛺" + ], + [ + "8d81", + "뛻", + 4, + "뜂뜃뜄뜆", + 33, + "뜪뜫뜭뜮뜱", + 6, + "뜺뜼", + 7, + "띅띆띇띉띊띋띍", + 6, + "띖", + 9, + "띡띢띣띥띦띧띩", + 6, + "띲띴띶", + 5, + "띾띿랁랂랃랅", + 6, + "랎랓랔랕랚랛랝랞" + ], + [ + "8e41", + "랟랡", + 6, + "랪랮", + 5, + "랶랷랹", + 8 + ], + [ + "8e61", + "럂", + 4, + "럈럊", + 19 + ], + [ + "8e81", + "럞", + 13, + "럮럯럱럲럳럵", + 6, + "럾렂", + 4, + "렊렋렍렎렏렑", + 6, + "렚렜렞", + 5, + "렦렧렩렪렫렭", + 6, + "렶렺", + 5, + "롁롂롃롅", + 11, + "롒롔", + 7, + "롞롟롡롢롣롥", + 6, + "롮롰롲", + 5, + "롹롺롻롽", + 7 + ], + [ + "8f41", + "뢅", + 7, + "뢎", + 17 + ], + [ + "8f61", + "뢠", + 7, + "뢩", + 6, + "뢱뢲뢳뢵뢶뢷뢹", + 4 + ], + [ + "8f81", + "뢾뢿룂룄룆", + 5, + "룍룎룏룑룒룓룕", + 7, + "룞룠룢", + 5, + "룪룫룭룮룯룱", + 6, + "룺룼룾", + 5, + "뤅", + 18, + "뤙", + 6, + "뤡", + 26, + "뤾뤿륁륂륃륅", + 6, + "륍륎륐륒", + 5 + ], + [ + "9041", + "륚륛륝륞륟륡", + 6, + "륪륬륮", + 5, + "륶륷륹륺륻륽" + ], + [ + "9061", + "륾", + 5, + "릆릈릋릌릏", + 15 + ], + [ + "9081", + "릟", + 12, + "릮릯릱릲릳릵", + 6, + "릾맀맂", + 5, + "맊맋맍맓", + 4, + "맚맜맟맠맢맦맧맩맪맫맭", + 6, + "맶맻", + 4, + "먂", + 5, + "먉", + 11, + "먖", + 33, + "먺먻먽먾먿멁멃멄멅멆" + ], + [ + "9141", + "멇멊멌멏멐멑멒멖멗멙멚멛멝", + 6, + "멦멪", + 5 + ], + [ + "9161", + "멲멳멵멶멷멹", + 9, + "몆몈몉몊몋몍", + 5 + ], + [ + "9181", + "몓", + 20, + "몪몭몮몯몱몳", + 4, + "몺몼몾", + 5, + "뫅뫆뫇뫉", + 14, + "뫚", + 33, + "뫽뫾뫿묁묂묃묅", + 7, + "묎묐묒", + 5, + "묙묚묛묝묞묟묡", + 6 + ], + [ + "9241", + "묨묪묬", + 7, + "묷묹묺묿", + 4, + "뭆뭈뭊뭋뭌뭎뭑뭒" + ], + [ + "9261", + "뭓뭕뭖뭗뭙", + 7, + "뭢뭤", + 7, + "뭭", + 4 + ], + [ + "9281", + "뭲", + 21, + "뮉뮊뮋뮍뮎뮏뮑", + 18, + "뮥뮦뮧뮩뮪뮫뮭", + 6, + "뮵뮶뮸", + 7, + "믁믂믃믅믆믇믉", + 6, + "믑믒믔", + 35, + "믺믻믽믾밁" + ], + [ + "9341", + "밃", + 4, + "밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵" + ], + [ + "9361", + "밶밷밹", + 6, + "뱂뱆뱇뱈뱊뱋뱎뱏뱑", + 8 + ], + [ + "9381", + "뱚뱛뱜뱞", + 37, + "벆벇벉벊벍벏", + 4, + "벖벘벛", + 4, + "벢벣벥벦벩", + 6, + "벲벶", + 5, + "벾벿볁볂볃볅", + 7, + "볎볒볓볔볖볗볙볚볛볝", + 22, + "볷볹볺볻볽" + ], + [ + "9441", + "볾", + 5, + "봆봈봊", + 5, + "봑봒봓봕", + 8 + ], + [ + "9461", + "봞", + 5, + "봥", + 6, + "봭", + 12 + ], + [ + "9481", + "봺", + 5, + "뵁", + 6, + "뵊뵋뵍뵎뵏뵑", + 6, + "뵚", + 9, + "뵥뵦뵧뵩", + 22, + "붂붃붅붆붋", + 4, + "붒붔붖붗붘붛붝", + 6, + "붥", + 10, + "붱", + 6, + "붹", + 24 + ], + [ + "9541", + "뷒뷓뷖뷗뷙뷚뷛뷝", + 11, + "뷪", + 5, + "뷱" + ], + [ + "9561", + "뷲뷳뷵뷶뷷뷹", + 6, + "븁븂븄븆", + 5, + "븎븏븑븒븓" + ], + [ + "9581", + "븕", + 6, + "븞븠", + 35, + "빆빇빉빊빋빍빏", + 4, + "빖빘빜빝빞빟빢빣빥빦빧빩빫", + 4, + "빲빶", + 4, + "빾빿뺁뺂뺃뺅", + 6, + "뺎뺒", + 5, + "뺚", + 13, + "뺩", + 14 + ], + [ + "9641", + "뺸", + 23, + "뻒뻓" + ], + [ + "9661", + "뻕뻖뻙", + 6, + "뻡뻢뻦", + 5, + "뻭", + 8 + ], + [ + "9681", + "뻶", + 10, + "뼂", + 5, + "뼊", + 13, + "뼚뼞", + 33, + "뽂뽃뽅뽆뽇뽉", + 6, + "뽒뽓뽔뽖", + 44 + ], + [ + "9741", + "뾃", + 16, + "뾕", + 8 + ], + [ + "9761", + "뾞", + 17, + "뾱", + 7 + ], + [ + "9781", + "뾹", + 11, + "뿆", + 5, + "뿎뿏뿑뿒뿓뿕", + 6, + "뿝뿞뿠뿢", + 89, + "쀽쀾쀿" + ], + [ + "9841", + "쁀", + 16, + "쁒", + 5, + "쁙쁚쁛" + ], + [ + "9861", + "쁝쁞쁟쁡", + 6, + "쁪", + 15 + ], + [ + "9881", + "쁺", + 21, + "삒삓삕삖삗삙", + 6, + "삢삤삦", + 5, + "삮삱삲삷", + 4, + "삾샂샃샄샆샇샊샋샍샎샏샑", + 6, + "샚샞", + 5, + "샦샧샩샪샫샭", + 6, + "샶샸샺", + 5, + "섁섂섃섅섆섇섉", + 6, + "섑섒섓섔섖", + 5, + "섡섢섥섨섩섪섫섮" + ], + [ + "9941", + "섲섳섴섵섷섺섻섽섾섿셁", + 6, + "셊셎", + 5, + "셖셗" + ], + [ + "9961", + "셙셚셛셝", + 6, + "셦셪", + 5, + "셱셲셳셵셶셷셹셺셻" + ], + [ + "9981", + "셼", + 8, + "솆", + 5, + "솏솑솒솓솕솗", + 4, + "솞솠솢솣솤솦솧솪솫솭솮솯솱", + 11, + "솾", + 5, + "쇅쇆쇇쇉쇊쇋쇍", + 6, + "쇕쇖쇙", + 6, + "쇡쇢쇣쇥쇦쇧쇩", + 6, + "쇲쇴", + 7, + "쇾쇿숁숂숃숅", + 6, + "숎숐숒", + 5, + "숚숛숝숞숡숢숣" + ], + [ + "9a41", + "숤숥숦숧숪숬숮숰숳숵", + 16 + ], + [ + "9a61", + "쉆쉇쉉", + 6, + "쉒쉓쉕쉖쉗쉙", + 6, + "쉡쉢쉣쉤쉦" + ], + [ + "9a81", + "쉧", + 4, + "쉮쉯쉱쉲쉳쉵", + 6, + "쉾슀슂", + 5, + "슊", + 5, + "슑", + 6, + "슙슚슜슞", + 5, + "슦슧슩슪슫슮", + 5, + "슶슸슺", + 33, + "싞싟싡싢싥", + 5, + "싮싰싲싳싴싵싷싺싽싾싿쌁", + 6, + "쌊쌋쌎쌏" + ], + [ + "9b41", + "쌐쌑쌒쌖쌗쌙쌚쌛쌝", + 6, + "쌦쌧쌪", + 8 + ], + [ + "9b61", + "쌳", + 17, + "썆", + 7 + ], + [ + "9b81", + "썎", + 25, + "썪썫썭썮썯썱썳", + 4, + "썺썻썾", + 5, + "쎅쎆쎇쎉쎊쎋쎍", + 50, + "쏁", + 22, + "쏚" + ], + [ + "9c41", + "쏛쏝쏞쏡쏣", + 4, + "쏪쏫쏬쏮", + 5, + "쏶쏷쏹", + 5 + ], + [ + "9c61", + "쏿", + 8, + "쐉", + 6, + "쐑", + 9 + ], + [ + "9c81", + "쐛", + 8, + "쐥", + 6, + "쐭쐮쐯쐱쐲쐳쐵", + 6, + "쐾", + 9, + "쑉", + 26, + "쑦쑧쑩쑪쑫쑭", + 6, + "쑶쑷쑸쑺", + 5, + "쒁", + 18, + "쒕", + 6, + "쒝", + 12 + ], + [ + "9d41", + "쒪", + 13, + "쒹쒺쒻쒽", + 8 + ], + [ + "9d61", + "쓆", + 25 + ], + [ + "9d81", + "쓠", + 8, + "쓪", + 5, + "쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂", + 9, + "씍씎씏씑씒씓씕", + 6, + "씝", + 10, + "씪씫씭씮씯씱", + 6, + "씺씼씾", + 5, + "앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩", + 6, + "앲앶", + 5, + "앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔" + ], + [ + "9e41", + "얖얙얚얛얝얞얟얡", + 7, + "얪", + 9, + "얶" + ], + [ + "9e61", + "얷얺얿", + 4, + "엋엍엏엒엓엕엖엗엙", + 6, + "엢엤엦엧" + ], + [ + "9e81", + "엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑", + 6, + "옚옝", + 6, + "옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉", + 6, + "왒왖", + 5, + "왞왟왡", + 10, + "왭왮왰왲", + 5, + "왺왻왽왾왿욁", + 6, + "욊욌욎", + 5, + "욖욗욙욚욛욝", + 6, + "욦" + ], + [ + "9f41", + "욨욪", + 5, + "욲욳욵욶욷욻", + 4, + "웂웄웆", + 5, + "웎" + ], + [ + "9f61", + "웏웑웒웓웕", + 6, + "웞웟웢", + 5, + "웪웫웭웮웯웱웲" + ], + [ + "9f81", + "웳", + 4, + "웺웻웼웾", + 5, + "윆윇윉윊윋윍", + 6, + "윖윘윚", + 5, + "윢윣윥윦윧윩", + 6, + "윲윴윶윸윹윺윻윾윿읁읂읃읅", + 4, + "읋읎읐읙읚읛읝읞읟읡", + 6, + "읩읪읬", + 7, + "읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛", + 4, + "잢잧", + 4, + "잮잯잱잲잳잵잶잷" + ], + [ + "a041", + "잸잹잺잻잾쟂", + 5, + "쟊쟋쟍쟏쟑", + 6, + "쟙쟚쟛쟜" + ], + [ + "a061", + "쟞", + 5, + "쟥쟦쟧쟩쟪쟫쟭", + 13 + ], + [ + "a081", + "쟻", + 4, + "젂젃젅젆젇젉젋", + 4, + "젒젔젗", + 4, + "젞젟젡젢젣젥", + 6, + "젮젰젲", + 5, + "젹젺젻젽젾젿졁", + 6, + "졊졋졎", + 5, + "졕", + 26, + "졲졳졵졶졷졹졻", + 4, + "좂좄좈좉좊좎", + 5, + "좕", + 7, + "좞좠좢좣좤" + ], + [ + "a141", + "좥좦좧좩", + 18, + "좾좿죀죁" + ], + [ + "a161", + "죂죃죅죆죇죉죊죋죍", + 6, + "죖죘죚", + 5, + "죢죣죥" + ], + [ + "a181", + "죦", + 14, + "죶", + 5, + "죾죿줁줂줃줇", + 4, + "줎 、。·‥…¨〃­―∥\∼‘’“”〔〕〈", + 9, + "±×÷≠≤≥∞∴°′″℃Å¢£¥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨¬" + ], + [ + "a241", + "줐줒", + 5, + "줙", + 18 + ], + [ + "a261", + "줭", + 6, + "줵", + 18 + ], + [ + "a281", + "쥈", + 7, + "쥒쥓쥕쥖쥗쥙", + 6, + "쥢쥤", + 7, + "쥭쥮쥯⇒⇔∀∃´~ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®" + ], + [ + "a341", + "쥱쥲쥳쥵", + 6, + "쥽", + 10, + "즊즋즍즎즏" + ], + [ + "a361", + "즑", + 6, + "즚즜즞", + 16 + ], + [ + "a381", + "즯", + 16, + "짂짃짅짆짉짋", + 4, + "짒짔짗짘짛!", + 58, + "₩]", + 32, + " ̄" + ], + [ + "a441", + "짞짟짡짣짥짦짨짩짪짫짮짲", + 5, + "짺짻짽짾짿쨁쨂쨃쨄" + ], + [ + "a461", + "쨅쨆쨇쨊쨎", + 5, + "쨕쨖쨗쨙", + 12 + ], + [ + "a481", + "쨦쨧쨨쨪", + 28, + "ㄱ", + 93 + ], + [ + "a541", + "쩇", + 4, + "쩎쩏쩑쩒쩓쩕", + 6, + "쩞쩢", + 5, + "쩩쩪" + ], + [ + "a561", + "쩫", + 17, + "쩾", + 5, + "쪅쪆" + ], + [ + "a581", + "쪇", + 16, + "쪙", + 14, + "ⅰ", + 9 + ], + [ + "a5b0", + "Ⅰ", + 9 + ], + [ + "a5c1", + "Α", + 16, + "Σ", + 6 + ], + [ + "a5e1", + "α", + 16, + "σ", + 6 + ], + [ + "a641", + "쪨", + 19, + "쪾쪿쫁쫂쫃쫅" + ], + [ + "a661", + "쫆", + 5, + "쫎쫐쫒쫔쫕쫖쫗쫚", + 5, + "쫡", + 6 + ], + [ + "a681", + "쫨쫩쫪쫫쫭", + 6, + "쫵", + 18, + "쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃", + 7 + ], + [ + "a741", + "쬋", + 4, + "쬑쬒쬓쬕쬖쬗쬙", + 6, + "쬢", + 7 + ], + [ + "a761", + "쬪", + 22, + "쭂쭃쭄" + ], + [ + "a781", + "쭅쭆쭇쭊쭋쭍쭎쭏쭑", + 6, + "쭚쭛쭜쭞", + 5, + "쭥", + 7, + "㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙", + 9, + "㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰", + 9, + "㎀", + 4, + "㎺", + 5, + "㎐", + 4, + "Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆" + ], + [ + "a841", + "쭭", + 10, + "쭺", + 14 + ], + [ + "a861", + "쮉", + 18, + "쮝", + 6 + ], + [ + "a881", + "쮤", + 19, + "쮹", + 11, + "ÆЪĦ" + ], + [ + "a8a6", + "IJ" + ], + [ + "a8a8", + "ĿŁØŒºÞŦŊ" + ], + [ + "a8b1", + "㉠", + 27, + "ⓐ", + 25, + "①", + 14, + "½⅓⅔¼¾⅛⅜⅝⅞" + ], + [ + "a941", + "쯅", + 14, + "쯕", + 10 + ], + [ + "a961", + "쯠쯡쯢쯣쯥쯦쯨쯪", + 18 + ], + [ + "a981", + "쯽", + 14, + "찎찏찑찒찓찕", + 6, + "찞찟찠찣찤æđðħıijĸŀłøœßþŧŋʼn㈀", + 27, + "⒜", + 25, + "⑴", + 14, + "¹²³⁴ⁿ₁₂₃₄" + ], + [ + "aa41", + "찥찦찪찫찭찯찱", + 6, + "찺찿", + 4, + "챆챇챉챊챋챍챎" + ], + [ + "aa61", + "챏", + 4, + "챖챚", + 5, + "챡챢챣챥챧챩", + 6, + "챱챲" + ], + [ + "aa81", + "챳챴챶", + 29, + "ぁ", + 82 + ], + [ + "ab41", + "첔첕첖첗첚첛첝첞첟첡", + 6, + "첪첮", + 5, + "첶첷첹" + ], + [ + "ab61", + "첺첻첽", + 6, + "쳆쳈쳊", + 5, + "쳑쳒쳓쳕", + 5 + ], + [ + "ab81", + "쳛", + 8, + "쳥", + 6, + "쳭쳮쳯쳱", + 12, + "ァ", + 85 + ], + [ + "ac41", + "쳾쳿촀촂", + 5, + "촊촋촍촎촏촑", + 6, + "촚촜촞촟촠" + ], + [ + "ac61", + "촡촢촣촥촦촧촩촪촫촭", + 11, + "촺", + 4 + ], + [ + "ac81", + "촿", + 28, + "쵝쵞쵟А", + 5, + "ЁЖ", + 25 + ], + [ + "acd1", + "а", + 5, + "ёж", + 25 + ], + [ + "ad41", + "쵡쵢쵣쵥", + 6, + "쵮쵰쵲", + 5, + "쵹", + 7 + ], + [ + "ad61", + "춁", + 6, + "춉", + 10, + "춖춗춙춚춛춝춞춟" + ], + [ + "ad81", + "춠춡춢춣춦춨춪", + 5, + "춱", + 18, + "췅" + ], + [ + "ae41", + "췆", + 5, + "췍췎췏췑", + 16 + ], + [ + "ae61", + "췢", + 5, + "췩췪췫췭췮췯췱", + 6, + "췺췼췾", + 4 + ], + [ + "ae81", + "츃츅츆츇츉츊츋츍", + 6, + "츕츖츗츘츚", + 5, + "츢츣츥츦츧츩츪츫" + ], + [ + "af41", + "츬츭츮츯츲츴츶", + 19 + ], + [ + "af61", + "칊", + 13, + "칚칛칝칞칢", + 5, + "칪칬" + ], + [ + "af81", + "칮", + 5, + "칶칷칹칺칻칽", + 6, + "캆캈캊", + 5, + "캒캓캕캖캗캙" + ], + [ + "b041", + "캚", + 5, + "캢캦", + 5, + "캮", + 12 + ], + [ + "b061", + "캻", + 5, + "컂", + 19 + ], + [ + "b081", + "컖", + 13, + "컦컧컩컪컭", + 6, + "컶컺", + 5, + "가각간갇갈갉갊감", + 7, + "같", + 4, + "갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆" + ], + [ + "b141", + "켂켃켅켆켇켉", + 6, + "켒켔켖", + 5, + "켝켞켟켡켢켣" + ], + [ + "b161", + "켥", + 6, + "켮켲", + 5, + "켹", + 11 + ], + [ + "b181", + "콅", + 14, + "콖콗콙콚콛콝", + 6, + "콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸" + ], + [ + "b241", + "콭콮콯콲콳콵콶콷콹", + 6, + "쾁쾂쾃쾄쾆", + 5, + "쾍" + ], + [ + "b261", + "쾎", + 18, + "쾢", + 5, + "쾩" + ], + [ + "b281", + "쾪", + 5, + "쾱", + 18, + "쿅", + 6, + "깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙" + ], + [ + "b341", + "쿌", + 19, + "쿢쿣쿥쿦쿧쿩" + ], + [ + "b361", + "쿪", + 5, + "쿲쿴쿶", + 5, + "쿽쿾쿿퀁퀂퀃퀅", + 5 + ], + [ + "b381", + "퀋", + 5, + "퀒", + 5, + "퀙", + 19, + "끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫", + 4, + "낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝" + ], + [ + "b441", + "퀮", + 5, + "퀶퀷퀹퀺퀻퀽", + 6, + "큆큈큊", + 5 + ], + [ + "b461", + "큑큒큓큕큖큗큙", + 6, + "큡", + 10, + "큮큯" + ], + [ + "b481", + "큱큲큳큵", + 6, + "큾큿킀킂", + 18, + "뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫", + 4, + "닳담답닷", + 4, + "닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥" + ], + [ + "b541", + "킕", + 14, + "킦킧킩킪킫킭", + 5 + ], + [ + "b561", + "킳킶킸킺", + 5, + "탂탃탅탆탇탊", + 5, + "탒탖", + 4 + ], + [ + "b581", + "탛탞탟탡탢탣탥", + 6, + "탮탲", + 5, + "탹", + 11, + "덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸" + ], + [ + "b641", + "턅", + 7, + "턎", + 17 + ], + [ + "b661", + "턠", + 15, + "턲턳턵턶턷턹턻턼턽턾" + ], + [ + "b681", + "턿텂텆", + 5, + "텎텏텑텒텓텕", + 6, + "텞텠텢", + 5, + "텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗" + ], + [ + "b741", + "텮", + 13, + "텽", + 6, + "톅톆톇톉톊" + ], + [ + "b761", + "톋", + 20, + "톢톣톥톦톧" + ], + [ + "b781", + "톩", + 6, + "톲톴톶톷톸톹톻톽톾톿퇁", + 14, + "래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩" + ], + [ + "b841", + "퇐", + 7, + "퇙", + 17 + ], + [ + "b861", + "퇫", + 8, + "퇵퇶퇷퇹", + 13 + ], + [ + "b881", + "툈툊", + 5, + "툑", + 24, + "륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많", + 4, + "맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼" + ], + [ + "b941", + "툪툫툮툯툱툲툳툵", + 6, + "툾퉀퉂", + 5, + "퉉퉊퉋퉌" + ], + [ + "b961", + "퉍", + 14, + "퉝", + 6, + "퉥퉦퉧퉨" + ], + [ + "b981", + "퉩", + 22, + "튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바", + 4, + "받", + 4, + "밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗" + ], + [ + "ba41", + "튍튎튏튒튓튔튖", + 5, + "튝튞튟튡튢튣튥", + 6, + "튭" + ], + [ + "ba61", + "튮튯튰튲", + 5, + "튺튻튽튾틁틃", + 4, + "틊틌", + 5 + ], + [ + "ba81", + "틒틓틕틖틗틙틚틛틝", + 6, + "틦", + 9, + "틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤" + ], + [ + "bb41", + "틻", + 4, + "팂팄팆", + 5, + "팏팑팒팓팕팗", + 4, + "팞팢팣" + ], + [ + "bb61", + "팤팦팧팪팫팭팮팯팱", + 6, + "팺팾", + 5, + "퍆퍇퍈퍉" + ], + [ + "bb81", + "퍊", + 31, + "빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤" + ], + [ + "bc41", + "퍪", + 17, + "퍾퍿펁펂펃펅펆펇" + ], + [ + "bc61", + "펈펉펊펋펎펒", + 5, + "펚펛펝펞펟펡", + 6, + "펪펬펮" + ], + [ + "bc81", + "펯", + 4, + "펵펶펷펹펺펻펽", + 6, + "폆폇폊", + 5, + "폑", + 5, + "샥샨샬샴샵샷샹섀섄섈섐섕서", + 4, + "섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭" + ], + [ + "bd41", + "폗폙", + 7, + "폢폤", + 7, + "폮폯폱폲폳폵폶폷" + ], + [ + "bd61", + "폸폹폺폻폾퐀퐂", + 5, + "퐉", + 13 + ], + [ + "bd81", + "퐗", + 5, + "퐞", + 25, + "숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰" + ], + [ + "be41", + "퐸", + 7, + "푁푂푃푅", + 14 + ], + [ + "be61", + "푔", + 7, + "푝푞푟푡푢푣푥", + 7, + "푮푰푱푲" + ], + [ + "be81", + "푳", + 4, + "푺푻푽푾풁풃", + 4, + "풊풌풎", + 5, + "풕", + 8, + "쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄", + 6, + "엌엎" + ], + [ + "bf41", + "풞", + 10, + "풪", + 14 + ], + [ + "bf61", + "풹", + 18, + "퓍퓎퓏퓑퓒퓓퓕" + ], + [ + "bf81", + "퓖", + 5, + "퓝퓞퓠", + 7, + "퓩퓪퓫퓭퓮퓯퓱", + 6, + "퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염", + 5, + "옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨" + ], + [ + "c041", + "퓾", + 5, + "픅픆픇픉픊픋픍", + 6, + "픖픘", + 5 + ], + [ + "c061", + "픞", + 25 + ], + [ + "c081", + "픸픹픺픻픾픿핁핂핃핅", + 6, + "핎핐핒", + 5, + "핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응", + 7, + "읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊" + ], + [ + "c141", + "핤핦핧핪핬핮", + 5, + "핶핷핹핺핻핽", + 6, + "햆햊햋" + ], + [ + "c161", + "햌햍햎햏햑", + 19, + "햦햧" + ], + [ + "c181", + "햨", + 31, + "점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓" + ], + [ + "c241", + "헊헋헍헎헏헑헓", + 4, + "헚헜헞", + 5, + "헦헧헩헪헫헭헮" + ], + [ + "c261", + "헯", + 4, + "헶헸헺", + 5, + "혂혃혅혆혇혉", + 6, + "혒" + ], + [ + "c281", + "혖", + 5, + "혝혞혟혡혢혣혥", + 7, + "혮", + 9, + "혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻" + ], + [ + "c341", + "혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝", + 4 + ], + [ + "c361", + "홢", + 4, + "홨홪", + 5, + "홲홳홵", + 11 + ], + [ + "c381", + "횁횂횄횆", + 5, + "횎횏횑횒횓횕", + 7, + "횞횠횢", + 5, + "횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층" + ], + [ + "c441", + "횫횭횮횯횱", + 7, + "횺횼", + 7, + "훆훇훉훊훋" + ], + [ + "c461", + "훍훎훏훐훒훓훕훖훘훚", + 5, + "훡훢훣훥훦훧훩", + 4 + ], + [ + "c481", + "훮훯훱훲훳훴훶", + 5, + "훾훿휁휂휃휅", + 11, + "휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼" + ], + [ + "c541", + "휕휖휗휚휛휝휞휟휡", + 6, + "휪휬휮", + 5, + "휶휷휹" + ], + [ + "c561", + "휺휻휽", + 6, + "흅흆흈흊", + 5, + "흒흓흕흚", + 4 + ], + [ + "c581", + "흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵", + 6, + "흾흿힀힂", + 5, + "힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜" + ], + [ + "c641", + "힍힎힏힑", + 6, + "힚힜힞", + 5 + ], + [ + "c6a1", + "퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁" + ], + [ + "c7a1", + "퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠" + ], + [ + "c8a1", + "혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝" + ], + [ + "caa1", + "伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕" + ], + [ + "cba1", + "匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢" + ], + [ + "cca1", + "瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械" + ], + [ + "cda1", + "棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜" + ], + [ + "cea1", + "科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾" + ], + [ + "cfa1", + "區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴" + ], + [ + "d0a1", + "鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣" + ], + [ + "d1a1", + "朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩", + 5, + "那樂", + 4, + "諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉" + ], + [ + "d2a1", + "納臘蠟衲囊娘廊", + 4, + "乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧", + 5, + "駑魯", + 10, + "濃籠聾膿農惱牢磊腦賂雷尿壘", + 7, + "嫩訥杻紐勒", + 5, + "能菱陵尼泥匿溺多茶" + ], + [ + "d3a1", + "丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃" + ], + [ + "d4a1", + "棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅" + ], + [ + "d5a1", + "蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣" + ], + [ + "d6a1", + "煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼" + ], + [ + "d7a1", + "遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬" + ], + [ + "d8a1", + "立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅" + ], + [ + "d9a1", + "蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文" + ], + [ + "daa1", + "汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑" + ], + [ + "dba1", + "發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖" + ], + [ + "dca1", + "碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦" + ], + [ + "dda1", + "孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥" + ], + [ + "dea1", + "脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索" + ], + [ + "dfa1", + "傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署" + ], + [ + "e0a1", + "胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬" + ], + [ + "e1a1", + "聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁" + ], + [ + "e2a1", + "戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧" + ], + [ + "e3a1", + "嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁" + ], + [ + "e4a1", + "沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額" + ], + [ + "e5a1", + "櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬" + ], + [ + "e6a1", + "旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒" + ], + [ + "e7a1", + "簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳" + ], + [ + "e8a1", + "烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療" + ], + [ + "e9a1", + "窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓" + ], + [ + "eaa1", + "運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜" + ], + [ + "eba1", + "濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼" + ], + [ + "eca1", + "議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄" + ], + [ + "eda1", + "立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長" + ], + [ + "eea1", + "障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱" + ], + [ + "efa1", + "煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖" + ], + [ + "f0a1", + "靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫" + ], + [ + "f1a1", + "踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只" + ], + [ + "f2a1", + "咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯" + ], + [ + "f3a1", + "鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策" + ], + [ + "f4a1", + "責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢" + ], + [ + "f5a1", + "椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃" + ], + [ + "f6a1", + "贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託" + ], + [ + "f7a1", + "鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑" + ], + [ + "f8a1", + "阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃" + ], + [ + "f9a1", + "品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航" + ], + [ + "faa1", + "行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型" + ], + [ + "fba1", + "形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵" + ], + [ + "fca1", + "禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆" + ], + [ + "fda1", + "爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰" + ] +]; + +var require$$6 = [ + [ + "0", + "\u0000", + 127 + ], + [ + "a140", + " ,、。.‧;:?!︰…‥﹐﹑﹒·﹔﹕﹖﹗|–︱—︳╴︴﹏()︵︶{}︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚" + ], + [ + "a1a1", + "﹛﹜﹝﹞‘’“”〝〞‵′#&*※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯ ̄_ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡+-×÷±√<>=≦≧≠∞≒≡﹢", + 4, + "~∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣/" + ], + [ + "a240", + "\∕﹨$¥〒¢£%@℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁", + 7, + "▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭" + ], + [ + "a2a1", + "╮╰╯═╞╪╡◢◣◥◤╱╲╳0", + 9, + "Ⅰ", + 9, + "〡", + 8, + "十卄卅A", + 25, + "a", + 21 + ], + [ + "a340", + "wxyzΑ", + 16, + "Σ", + 6, + "α", + 16, + "σ", + 6, + "ㄅ", + 10 + ], + [ + "a3a1", + "ㄐ", + 25, + "˙ˉˊˇˋ" + ], + [ + "a3e1", + "€" + ], + [ + "a440", + "一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才" + ], + [ + "a4a1", + "丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙" + ], + [ + "a540", + "世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外" + ], + [ + "a5a1", + "央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全" + ], + [ + "a640", + "共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年" + ], + [ + "a6a1", + "式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣" + ], + [ + "a740", + "作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍" + ], + [ + "a7a1", + "均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠" + ], + [ + "a840", + "杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒" + ], + [ + "a8a1", + "芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵" + ], + [ + "a940", + "咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居" + ], + [ + "a9a1", + "屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊" + ], + [ + "aa40", + "昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠" + ], + [ + "aaa1", + "炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附" + ], + [ + "ab40", + "陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品" + ], + [ + "aba1", + "哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷" + ], + [ + "ac40", + "拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗" + ], + [ + "aca1", + "活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄" + ], + [ + "ad40", + "耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥" + ], + [ + "ada1", + "迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪" + ], + [ + "ae40", + "哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙" + ], + [ + "aea1", + "恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓" + ], + [ + "af40", + "浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷" + ], + [ + "afa1", + "砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃" + ], + [ + "b040", + "虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡" + ], + [ + "b0a1", + "陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀" + ], + [ + "b140", + "娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽" + ], + [ + "b1a1", + "情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺" + ], + [ + "b240", + "毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶" + ], + [ + "b2a1", + "瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼" + ], + [ + "b340", + "莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途" + ], + [ + "b3a1", + "部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠" + ], + [ + "b440", + "婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍" + ], + [ + "b4a1", + "插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋" + ], + [ + "b540", + "溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘" + ], + [ + "b5a1", + "窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁" + ], + [ + "b640", + "詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑" + ], + [ + "b6a1", + "間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼" + ], + [ + "b740", + "媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業" + ], + [ + "b7a1", + "楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督" + ], + [ + "b840", + "睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫" + ], + [ + "b8a1", + "腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊" + ], + [ + "b940", + "辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴" + ], + [ + "b9a1", + "飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇" + ], + [ + "ba40", + "愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢" + ], + [ + "baa1", + "滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬" + ], + [ + "bb40", + "罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤" + ], + [ + "bba1", + "說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜" + ], + [ + "bc40", + "劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂" + ], + [ + "bca1", + "慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃" + ], + [ + "bd40", + "瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯" + ], + [ + "bda1", + "翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞" + ], + [ + "be40", + "輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉" + ], + [ + "bea1", + "鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡" + ], + [ + "bf40", + "濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊" + ], + [ + "bfa1", + "縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚" + ], + [ + "c040", + "錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇" + ], + [ + "c0a1", + "嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬" + ], + [ + "c140", + "瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪" + ], + [ + "c1a1", + "薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁" + ], + [ + "c240", + "駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘" + ], + [ + "c2a1", + "癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦" + ], + [ + "c340", + "鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸" + ], + [ + "c3a1", + "獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類" + ], + [ + "c440", + "願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼" + ], + [ + "c4a1", + "纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴" + ], + [ + "c540", + "護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬" + ], + [ + "c5a1", + "禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒" + ], + [ + "c640", + "讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲" + ], + [ + "c940", + "乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕" + ], + [ + "c9a1", + "氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋" + ], + [ + "ca40", + "汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘" + ], + [ + "caa1", + "吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇" + ], + [ + "cb40", + "杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓" + ], + [ + "cba1", + "芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢" + ], + [ + "cc40", + "坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋" + ], + [ + "cca1", + "怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲" + ], + [ + "cd40", + "泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺" + ], + [ + "cda1", + "矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏" + ], + [ + "ce40", + "哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛" + ], + [ + "cea1", + "峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺" + ], + [ + "cf40", + "柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂" + ], + [ + "cfa1", + "洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀" + ], + [ + "d040", + "穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪" + ], + [ + "d0a1", + "苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱" + ], + [ + "d140", + "唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧" + ], + [ + "d1a1", + "恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤" + ], + [ + "d240", + "毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸" + ], + [ + "d2a1", + "牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐" + ], + [ + "d340", + "笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢" + ], + [ + "d3a1", + "荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐" + ], + [ + "d440", + "酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅" + ], + [ + "d4a1", + "唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏" + ], + [ + "d540", + "崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟" + ], + [ + "d5a1", + "捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉" + ], + [ + "d640", + "淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏" + ], + [ + "d6a1", + "痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟" + ], + [ + "d740", + "耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷" + ], + [ + "d7a1", + "蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪" + ], + [ + "d840", + "釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷" + ], + [ + "d8a1", + "堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔" + ], + [ + "d940", + "惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒" + ], + [ + "d9a1", + "晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞" + ], + [ + "da40", + "湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖" + ], + [ + "daa1", + "琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥" + ], + [ + "db40", + "罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳" + ], + [ + "dba1", + "菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺" + ], + [ + "dc40", + "軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈" + ], + [ + "dca1", + "隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆" + ], + [ + "dd40", + "媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤" + ], + [ + "dda1", + "搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼" + ], + [ + "de40", + "毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓" + ], + [ + "dea1", + "煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓" + ], + [ + "df40", + "稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯" + ], + [ + "dfa1", + "腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤" + ], + [ + "e040", + "觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿" + ], + [ + "e0a1", + "遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠" + ], + [ + "e140", + "凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠" + ], + [ + "e1a1", + "寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉" + ], + [ + "e240", + "榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊" + ], + [ + "e2a1", + "漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓" + ], + [ + "e340", + "禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞" + ], + [ + "e3a1", + "耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻" + ], + [ + "e440", + "裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍" + ], + [ + "e4a1", + "銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘" + ], + [ + "e540", + "噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉" + ], + [ + "e5a1", + "憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒" + ], + [ + "e640", + "澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙" + ], + [ + "e6a1", + "獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟" + ], + [ + "e740", + "膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢" + ], + [ + "e7a1", + "蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧" + ], + [ + "e840", + "踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓" + ], + [ + "e8a1", + "銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮" + ], + [ + "e940", + "噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺" + ], + [ + "e9a1", + "憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸" + ], + [ + "ea40", + "澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙" + ], + [ + "eaa1", + "瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘" + ], + [ + "eb40", + "蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠" + ], + [ + "eba1", + "諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌" + ], + [ + "ec40", + "錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕" + ], + [ + "eca1", + "魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎" + ], + [ + "ed40", + "檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶" + ], + [ + "eda1", + "瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞" + ], + [ + "ee40", + "蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞" + ], + [ + "eea1", + "謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜" + ], + [ + "ef40", + "鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰" + ], + [ + "efa1", + "鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶" + ], + [ + "f040", + "璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒" + ], + [ + "f0a1", + "臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧" + ], + [ + "f140", + "蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪" + ], + [ + "f1a1", + "鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰" + ], + [ + "f240", + "徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛" + ], + [ + "f2a1", + "礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕" + ], + [ + "f340", + "譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦" + ], + [ + "f3a1", + "鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲" + ], + [ + "f440", + "嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩" + ], + [ + "f4a1", + "禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿" + ], + [ + "f540", + "鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛" + ], + [ + "f5a1", + "鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥" + ], + [ + "f640", + "蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺" + ], + [ + "f6a1", + "騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚" + ], + [ + "f740", + "糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊" + ], + [ + "f7a1", + "驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾" + ], + [ + "f840", + "讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏" + ], + [ + "f8a1", + "齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚" + ], + [ + "f940", + "纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊" + ], + [ + "f9a1", + "龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓" + ] +]; + +var require$$7 = [ + [ + "8740", + "䏰䰲䘃䖦䕸𧉧䵷䖳𧲱䳢𧳅㮕䜶䝄䱇䱀𤊿𣘗𧍒𦺋𧃒䱗𪍑䝏䗚䲅𧱬䴇䪤䚡𦬣爥𥩔𡩣𣸆𣽡晍囻" + ], + [ + "8767", + "綕夝𨮹㷴霴𧯯寛𡵞媤㘥𩺰嫑宷峼杮薓𩥅瑡璝㡵𡵓𣚞𦀡㻬" + ], + [ + "87a1", + "𥣞㫵竼龗𤅡𨤍𣇪𠪊𣉞䌊蒄龖鐯䤰蘓墖靊鈘秐稲晠権袝瑌篅枂稬剏遆㓦珄𥶹瓆鿇垳䤯呌䄱𣚎堘穲𧭥讏䚮𦺈䆁𥶙箮𢒼鿈𢓁𢓉𢓌鿉蔄𣖻䂴鿊䓡𪷿拁灮鿋" + ], + [ + "8840", + "㇀", + 4, + "𠄌㇅𠃑𠃍㇆㇇𠃋𡿨㇈𠃊㇉㇊㇋㇌𠄎㇍㇎ĀÁǍÀĒÉĚÈŌÓǑÒ࿿Ê̄Ế࿿Ê̌ỀÊāáǎàɑēéěèīíǐìōóǒòūúǔùǖǘǚ" + ], + [ + "88a1", + "ǜü࿿ê̄ế࿿ê̌ềêɡ⏚⏛" + ], + [ + "8940", + "𪎩𡅅" + ], + [ + "8943", + "攊" + ], + [ + "8946", + "丽滝鵎釟" + ], + [ + "894c", + "𧜵撑会伨侨兖兴农凤务动医华发变团声处备夲头学实実岚庆总斉柾栄桥济炼电纤纬纺织经统缆缷艺苏药视设询车轧轮" + ], + [ + "89a1", + "琑糼緍楆竉刧" + ], + [ + "89ab", + "醌碸酞肼" + ], + [ + "89b0", + "贋胶𠧧" + ], + [ + "89b5", + "肟黇䳍鷉鸌䰾𩷶𧀎鸊𪄳㗁" + ], + [ + "89c1", + "溚舾甙" + ], + [ + "89c5", + "䤑马骏龙禇𨑬𡷊𠗐𢫦两亁亀亇亿仫伷㑌侽㹈倃傈㑽㒓㒥円夅凛凼刅争剹劐匧㗇厩㕑厰㕓参吣㕭㕲㚁咓咣咴咹哐哯唘唣唨㖘唿㖥㖿嗗㗅" + ], + [ + "8a40", + "𧶄唥" + ], + [ + "8a43", + "𠱂𠴕𥄫喐𢳆㧬𠍁蹆𤶸𩓥䁓𨂾睺𢰸㨴䟕𨅝𦧲𤷪擝𠵼𠾴𠳕𡃴撍蹾𠺖𠰋𠽤𢲩𨉖𤓓" + ], + [ + "8a64", + "𠵆𩩍𨃩䟴𤺧𢳂骲㩧𩗴㿭㔆𥋇𩟔𧣈𢵄鵮頕" + ], + [ + "8a76", + "䏙𦂥撴哣𢵌𢯊𡁷㧻𡁯" + ], + [ + "8aa1", + "𦛚𦜖𧦠擪𥁒𠱃蹨𢆡𨭌𠜱" + ], + [ + "8aac", + "䠋𠆩㿺塳𢶍" + ], + [ + "8ab2", + "𤗈𠓼𦂗𠽌𠶖啹䂻䎺" + ], + [ + "8abb", + "䪴𢩦𡂝膪飵𠶜捹㧾𢝵跀嚡摼㹃" + ], + [ + "8ac9", + "𪘁𠸉𢫏𢳉" + ], + [ + "8ace", + "𡃈𣧂㦒㨆𨊛㕸𥹉𢃇噒𠼱𢲲𩜠㒼氽𤸻" + ], + [ + "8adf", + "𧕴𢺋𢈈𪙛𨳍𠹺𠰴𦠜羓𡃏𢠃𢤹㗻𥇣𠺌𠾍𠺪㾓𠼰𠵇𡅏𠹌" + ], + [ + "8af6", + "𠺫𠮩𠵈𡃀𡄽㿹𢚖搲𠾭" + ], + [ + "8b40", + "𣏴𧘹𢯎𠵾𠵿𢱑𢱕㨘𠺘𡃇𠼮𪘲𦭐𨳒𨶙𨳊閪哌苄喹" + ], + [ + "8b55", + "𩻃鰦骶𧝞𢷮煀腭胬尜𦕲脴㞗卟𨂽醶𠻺𠸏𠹷𠻻㗝𤷫㘉𠳖嚯𢞵𡃉𠸐𠹸𡁸𡅈𨈇𡑕𠹹𤹐𢶤婔𡀝𡀞𡃵𡃶垜𠸑" + ], + [ + "8ba1", + "𧚔𨋍𠾵𠹻𥅾㜃𠾶𡆀𥋘𪊽𤧚𡠺𤅷𨉼墙剨㘚𥜽箲孨䠀䬬鼧䧧鰟鮍𥭴𣄽嗻㗲嚉丨夂𡯁屮靑𠂆乛亻㔾尣彑忄㣺扌攵歺氵氺灬爫丬犭𤣩罒礻糹罓𦉪㓁" + ], + [ + "8bde", + "𦍋耂肀𦘒𦥑卝衤见𧢲讠贝钅镸长门𨸏韦页风飞饣𩠐鱼鸟黄歯龜丷𠂇阝户钢" + ], + [ + "8c40", + "倻淾𩱳龦㷉袏𤅎灷峵䬠𥇍㕙𥴰愢𨨲辧釶熑朙玺𣊁𪄇㲋𡦀䬐磤琂冮𨜏䀉橣𪊺䈣蘏𠩯稪𩥇𨫪靕灍匤𢁾鏴盙𨧣龧矝亣俰傼丯众龨吴綋墒壐𡶶庒庙忂𢜒斋" + ], + [ + "8ca1", + "𣏹椙橃𣱣泿" + ], + [ + "8ca7", + "爀𤔅玌㻛𤨓嬕璹讃𥲤𥚕窓篬糃繬苸薗龩袐龪躹龫迏蕟駠鈡龬𨶹𡐿䁱䊢娚" + ], + [ + "8cc9", + "顨杫䉶圽" + ], + [ + "8cce", + "藖𤥻芿𧄍䲁𦵴嵻𦬕𦾾龭龮宖龯曧繛湗秊㶈䓃𣉖𢞖䎚䔶" + ], + [ + "8ce6", + "峕𣬚諹屸㴒𣕑嵸龲煗䕘𤃬𡸣䱷㥸㑊𠆤𦱁諌侴𠈹妿腬顖𩣺弻" + ], + [ + "8d40", + "𠮟" + ], + [ + "8d42", + "𢇁𨥭䄂䚻𩁹㼇龳𪆵䃸㟖䛷𦱆䅼𨚲𧏿䕭㣔𥒚䕡䔛䶉䱻䵶䗪㿈𤬏㙡䓞䒽䇭崾嵈嵖㷼㠏嶤嶹㠠㠸幂庽弥徃㤈㤔㤿㥍惗愽峥㦉憷憹懏㦸戬抐拥挘㧸嚱" + ], + [ + "8da1", + "㨃揢揻搇摚㩋擀崕嘡龟㪗斆㪽旿晓㫲暒㬢朖㭂枤栀㭘桊梄㭲㭱㭻椉楃牜楤榟榅㮼槖㯝橥橴橱檂㯬檙㯲檫檵櫔櫶殁毁毪汵沪㳋洂洆洦涁㳯涤涱渕渘温溆𨧀溻滢滚齿滨滩漤漴㵆𣽁澁澾㵪㵵熷岙㶊瀬㶑灐灔灯灿炉𠌥䏁㗱𠻘" + ], + [ + "8e40", + "𣻗垾𦻓焾𥟠㙎榢𨯩孴穉𥣡𩓙穥穽𥦬窻窰竂竃燑𦒍䇊竚竝竪䇯咲𥰁笋筕笩𥌎𥳾箢筯莜𥮴𦱿篐萡箒箸𥴠㶭𥱥蒒篺簆簵𥳁籄粃𤢂粦晽𤕸糉糇糦籴糳糵糎" + ], + [ + "8ea1", + "繧䔝𦹄絝𦻖璍綉綫焵綳緒𤁗𦀩緤㴓緵𡟹緥𨍭縝𦄡𦅚繮纒䌫鑬縧罀罁罇礶𦋐駡羗𦍑羣𡙡𠁨䕜𣝦䔃𨌺翺𦒉者耈耝耨耯𪂇𦳃耻耼聡𢜔䦉𦘦𣷣𦛨朥肧𨩈脇脚墰𢛶汿𦒘𤾸擧𡒊舘𡡞橓𤩥𤪕䑺舩𠬍𦩒𣵾俹𡓽蓢荢𦬊𤦧𣔰𡝳𣷸芪椛芳䇛" + ], + [ + "8f40", + "蕋苐茚𠸖𡞴㛁𣅽𣕚艻苢茘𣺋𦶣𦬅𦮗𣗎㶿茝嗬莅䔋𦶥莬菁菓㑾𦻔橗蕚㒖𦹂𢻯葘𥯤葱㷓䓤檧葊𣲵祘蒨𦮖𦹷𦹃蓞萏莑䒠蒓蓤𥲑䉀𥳀䕃蔴嫲𦺙䔧蕳䔖枿蘖" + ], + [ + "8fa1", + "𨘥𨘻藁𧂈蘂𡖂𧃍䕫䕪蘨㙈𡢢号𧎚虾蝱𪃸蟮𢰧螱蟚蠏噡虬桖䘏衅衆𧗠𣶹𧗤衞袜䙛袴袵揁装睷𧜏覇覊覦覩覧覼𨨥觧𧤤𧪽誜瞓釾誐𧩙竩𧬺𣾏䜓𧬸煼謌謟𥐰𥕥謿譌譍誩𤩺讐讛誯𡛟䘕衏貛𧵔𧶏貫㜥𧵓賖𧶘𧶽贒贃𡤐賛灜贑𤳉㻐起" + ], + [ + "9040", + "趩𨀂𡀔𤦊㭼𨆼𧄌竧躭躶軃鋔輙輭𨍥𨐒辥錃𪊟𠩐辳䤪𨧞𨔽𣶻廸𣉢迹𪀔𨚼𨔁𢌥㦀𦻗逷𨔼𧪾遡𨕬𨘋邨𨜓郄𨛦邮都酧㫰醩釄粬𨤳𡺉鈎沟鉁鉢𥖹銹𨫆𣲛𨬌𥗛" + ], + [ + "90a1", + "𠴱錬鍫𨫡𨯫炏嫃𨫢𨫥䥥鉄𨯬𨰹𨯿鍳鑛躼閅閦鐦閠濶䊹𢙺𨛘𡉼𣸮䧟氜陻隖䅬隣𦻕懚隶磵𨫠隽双䦡𦲸𠉴𦐐𩂯𩃥𤫑𡤕𣌊霱虂霶䨏䔽䖅𤫩灵孁霛靜𩇕靗孊𩇫靟鐥僐𣂷𣂼鞉鞟鞱鞾韀韒韠𥑬韮琜𩐳響韵𩐝𧥺䫑頴頳顋顦㬎𧅵㵑𠘰𤅜" + ], + [ + "9140", + "𥜆飊颷飈飇䫿𦴧𡛓喰飡飦飬鍸餹𤨩䭲𩡗𩤅駵騌騻騐驘𥜥㛄𩂱𩯕髠髢𩬅髴䰎鬔鬭𨘀倴鬴𦦨㣃𣁽魐魀𩴾婅𡡣鮎𤉋鰂鯿鰌𩹨鷔𩾷𪆒𪆫𪃡𪄣𪇟鵾鶃𪄴鸎梈" + ], + [ + "91a1", + "鷄𢅛𪆓𪈠𡤻𪈳鴹𪂹𪊴麐麕麞麢䴴麪麯𤍤黁㭠㧥㴝伲㞾𨰫鼂鼈䮖鐤𦶢鼗鼖鼹嚟嚊齅馸𩂋韲葿齢齩竜龎爖䮾𤥵𤦻煷𤧸𤍈𤩑玞𨯚𡣺禟𨥾𨸶鍩鏳𨩄鋬鎁鏋𨥬𤒹爗㻫睲穃烐𤑳𤏸煾𡟯炣𡢾𣖙㻇𡢅𥐯𡟸㜢𡛻𡠹㛡𡝴𡣑𥽋㜣𡛀坛𤨥𡏾𡊨" + ], + [ + "9240", + "𡏆𡒶蔃𣚦蔃葕𤦔𧅥𣸱𥕜𣻻𧁒䓴𣛮𩦝𦼦柹㜳㰕㷧塬𡤢栐䁗𣜿𤃡𤂋𤄏𦰡哋嚞𦚱嚒𠿟𠮨𠸍鏆𨬓鎜仸儫㠙𤐶亼𠑥𠍿佋侊𥙑婨𠆫𠏋㦙𠌊𠐔㐵伩𠋀𨺳𠉵諚𠈌亘" + ], + [ + "92a1", + "働儍侢伃𤨎𣺊佂倮偬傁俌俥偘僼兙兛兝兞湶𣖕𣸹𣺿浲𡢄𣺉冨凃𠗠䓝𠒣𠒒𠒑赺𨪜𠜎剙劤𠡳勡鍮䙺熌𤎌𠰠𤦬𡃤槑𠸝瑹㻞璙琔瑖玘䮎𤪼𤂍叐㖄爏𤃉喴𠍅响𠯆圝鉝雴鍦埝垍坿㘾壋媙𨩆𡛺𡝯𡜐娬妸銏婾嫏娒𥥆𡧳𡡡𤊕㛵洅瑃娡𥺃" + ], + [ + "9340", + "媁𨯗𠐓鏠璌𡌃焅䥲鐈𨧻鎽㞠尞岞幞幈𡦖𡥼𣫮廍孏𡤃𡤄㜁𡢠㛝𡛾㛓脪𨩇𡶺𣑲𨦨弌弎𡤧𡞫婫𡜻孄蘔𧗽衠恾𢡠𢘫忛㺸𢖯𢖾𩂈𦽳懀𠀾𠁆𢘛憙憘恵𢲛𢴇𤛔𩅍" + ], + [ + "93a1", + "摱𤙥𢭪㨩𢬢𣑐𩣪𢹸挷𪑛撶挱揑𤧣𢵧护𢲡搻敫楲㯴𣂎𣊭𤦉𣊫唍𣋠𡣙𩐿曎𣊉𣆳㫠䆐𥖄𨬢𥖏𡛼𥕛𥐥磮𣄃𡠪𣈴㑤𣈏𣆂𤋉暎𦴤晫䮓昰𧡰𡷫晣𣋒𣋡昞𥡲㣑𣠺𣞼㮙𣞢𣏾瓐㮖枏𤘪梶栞㯄檾㡣𣟕𤒇樳橒櫉欅𡤒攑梘橌㯗橺歗𣿀𣲚鎠鋲𨯪𨫋" + ], + [ + "9440", + "銉𨀞𨧜鑧涥漋𤧬浧𣽿㶏渄𤀼娽渊塇洤硂焻𤌚𤉶烱牐犇犔𤞏𤜥兹𤪤𠗫瑺𣻸𣙟𤩊𤤗𥿡㼆㺱𤫟𨰣𣼵悧㻳瓌琼鎇琷䒟𦷪䕑疃㽣𤳙𤴆㽘畕癳𪗆㬙瑨𨫌𤦫𤦎㫻" + ], + [ + "94a1", + "㷍𤩎㻿𤧅𤣳釺圲鍂𨫣𡡤僟𥈡𥇧睸𣈲眎眏睻𤚗𣞁㩞𤣰琸璛㺿𤪺𤫇䃈𤪖𦆮錇𥖁砞碍碈磒珐祙𧝁𥛣䄎禛蒖禥樭𣻺稺秴䅮𡛦䄲鈵秱𠵌𤦌𠊙𣶺𡝮㖗啫㕰㚪𠇔𠰍竢婙𢛵𥪯𥪜娍𠉛磰娪𥯆竾䇹籝籭䈑𥮳𥺼𥺦糍𤧹𡞰粎籼粮檲緜縇緓罎𦉡" + ], + [ + "9540", + "𦅜𧭈綗𥺂䉪𦭵𠤖柖𠁎𣗏埄𦐒𦏸𤥢翝笧𠠬𥫩𥵃笌𥸎駦虅驣樜𣐿㧢𤧷𦖭騟𦖠蒀𧄧𦳑䓪脷䐂胆脉腂𦞴飃𦩂艢艥𦩑葓𦶧蘐𧈛媆䅿𡡀嬫𡢡嫤𡣘蚠蜨𣶏蠭𧐢娂" + ], + [ + "95a1", + "衮佅袇袿裦襥襍𥚃襔𧞅𧞄𨯵𨯙𨮜𨧹㺭蒣䛵䛏㟲訽訜𩑈彍鈫𤊄旔焩烄𡡅鵭貟賩𧷜妚矃姰䍮㛔踪躧𤰉輰轊䋴汘澻𢌡䢛潹溋𡟚鯩㚵𤤯邻邗啱䤆醻鐄𨩋䁢𨫼鐧𨰝𨰻蓥訫閙閧閗閖𨴴瑅㻂𤣿𤩂𤏪㻧𣈥随𨻧𨹦𨹥㻌𤧭𤩸𣿮琒瑫㻼靁𩂰" + ], + [ + "9640", + "桇䨝𩂓𥟟靝鍨𨦉𨰦𨬯𦎾銺嬑譩䤼珹𤈛鞛靱餸𠼦巁𨯅𤪲頟𩓚鋶𩗗釥䓀𨭐𤩧𨭤飜𨩅㼀鈪䤥萔餻饍𧬆㷽馛䭯馪驜𨭥𥣈檏騡嫾騯𩣱䮐𩥈馼䮽䮗鍽塲𡌂堢𤦸" + ], + [ + "96a1", + "𡓨硄𢜟𣶸棅㵽鑘㤧慐𢞁𢥫愇鱏鱓鱻鰵鰐魿鯏𩸭鮟𪇵𪃾鴡䲮𤄄鸘䲰鴌𪆴𪃭𪃳𩤯鶥蒽𦸒𦿟𦮂藼䔳𦶤𦺄𦷰萠藮𦸀𣟗𦁤秢𣖜𣙀䤭𤧞㵢鏛銾鍈𠊿碹鉷鑍俤㑀遤𥕝砽硔碶硋𡝗𣇉𤥁㚚佲濚濙瀞瀞吔𤆵垻壳垊鴖埗焴㒯𤆬燫𦱀𤾗嬨𡞵𨩉" + ], + [ + "9740", + "愌嫎娋䊼𤒈㜬䭻𨧼鎻鎸𡣖𠼝葲𦳀𡐓𤋺𢰦𤏁妔𣶷𦝁綨𦅛𦂤𤦹𤦋𨧺鋥珢㻩璴𨭣𡢟㻡𤪳櫘珳珻㻖𤨾𤪔𡟙𤩦𠎧𡐤𤧥瑈𤤖炥𤥶銄珦鍟𠓾錱𨫎𨨖鎆𨯧𥗕䤵𨪂煫" + ], + [ + "97a1", + "𤥃𠳿嚤𠘚𠯫𠲸唂秄𡟺緾𡛂𤩐𡡒䔮鐁㜊𨫀𤦭妰𡢿𡢃𧒄媡㛢𣵛㚰鉟婹𨪁𡡢鍴㳍𠪴䪖㦊僴㵩㵌𡎜煵䋻𨈘渏𩃤䓫浗𧹏灧沯㳖𣿭𣸭渂漌㵯𠏵畑㚼㓈䚀㻚䡱姄鉮䤾轁𨰜𦯀堒埈㛖𡑒烾𤍢𤩱𢿣𡊰𢎽梹楧𡎘𣓥𧯴𣛟𨪃𣟖𣏺𤲟樚𣚭𦲷萾䓟䓎" + ], + [ + "9840", + "𦴦𦵑𦲂𦿞漗𧄉茽𡜺菭𦲀𧁓𡟛妉媂𡞳婡婱𡤅𤇼㜭姯𡜼㛇熎鎐暚𤊥婮娫𤊓樫𣻹𧜶𤑛𤋊焝𤉙𨧡侰𦴨峂𤓎𧹍𤎽樌𤉖𡌄炦焳𤏩㶥泟勇𤩏繥姫崯㷳彜𤩝𡟟綤萦" + ], + [ + "98a1", + "咅𣫺𣌀𠈔坾𠣕𠘙㿥𡾞𪊶瀃𩅛嵰玏糓𨩙𩐠俈翧狍猐𧫴猸猹𥛶獁獈㺩𧬘遬燵𤣲珡臶㻊県㻑沢国琙琞琟㻢㻰㻴㻺瓓㼎㽓畂畭畲疍㽼痈痜㿀癍㿗癴㿜発𤽜熈嘣覀塩䀝睃䀹条䁅㗛瞘䁪䁯属瞾矋売砘点砜䂨砹硇硑硦葈𥔵礳栃礲䄃" + ], + [ + "9940", + "䄉禑禙辻稆込䅧窑䆲窼艹䇄竏竛䇏両筢筬筻簒簛䉠䉺类粜䊌粸䊔糭输烀𠳏総緔緐緽羮羴犟䎗耠耥笹耮耱联㷌垴炠肷胩䏭脌猪脎脒畠脔䐁㬹腖腙腚" + ], + [ + "99a1", + "䐓堺腼膄䐥膓䐭膥埯臁臤艔䒏芦艶苊苘苿䒰荗险榊萅烵葤惣蒈䔄蒾蓡蓸蔐蔸蕒䔻蕯蕰藠䕷虲蚒蚲蛯际螋䘆䘗袮裿褤襇覑𧥧訩訸誔誴豑賔賲贜䞘塟跃䟭仮踺嗘坔蹱嗵躰䠷軎転軤軭軲辷迁迊迌逳駄䢭飠鈓䤞鈨鉘鉫銱銮銿" + ], + [ + "9a40", + "鋣鋫鋳鋴鋽鍃鎄鎭䥅䥑麿鐗匁鐝鐭鐾䥪鑔鑹锭関䦧间阳䧥枠䨤靀䨵鞲韂噔䫤惨颹䬙飱塄餎餙冴餜餷饂饝饢䭰駅䮝騼鬏窃魩鮁鯝鯱鯴䱭鰠㝯𡯂鵉鰺" + ], + [ + "9aa1", + "黾噐鶓鶽鷀鷼银辶鹻麬麱麽黆铜黢黱黸竈齄𠂔𠊷𠎠椚铃妬𠓗塀铁㞹𠗕𠘕𠙶𡚺块煳𠫂𠫍𠮿呪吆𠯋咞𠯻𠰻𠱓𠱥𠱼惧𠲍噺𠲵𠳝𠳭𠵯𠶲𠷈楕鰯螥𠸄𠸎𠻗𠾐𠼭𠹳尠𠾼帋𡁜𡁏𡁶朞𡁻𡂈𡂖㙇𡂿𡃓𡄯𡄻卤蒭𡋣𡍵𡌶讁𡕷𡘙𡟃𡟇乸炻𡠭𡥪" + ], + [ + "9b40", + "𡨭𡩅𡰪𡱰𡲬𡻈拃𡻕𡼕熘桕𢁅槩㛈𢉼𢏗𢏺𢜪𢡱𢥏苽𢥧𢦓𢫕覥𢫨辠𢬎鞸𢬿顇骽𢱌" + ], + [ + "9b62", + "𢲈𢲷𥯨𢴈𢴒𢶷𢶕𢹂𢽴𢿌𣀳𣁦𣌟𣏞徱晈暿𧩹𣕧𣗳爁𤦺矗𣘚𣜖纇𠍆墵朎" + ], + [ + "9ba1", + "椘𣪧𧙗𥿢𣸑𣺹𧗾𢂚䣐䪸𤄙𨪚𤋮𤌍𤀻𤌴𤎖𤩅𠗊凒𠘑妟𡺨㮾𣳿𤐄𤓖垈𤙴㦛𤜯𨗨𩧉㝢𢇃譞𨭎駖𤠒𤣻𤨕爉𤫀𠱸奥𤺥𤾆𠝹軚𥀬劏圿煱𥊙𥐙𣽊𤪧喼𥑆𥑮𦭒釔㑳𥔿𧘲𥕞䜘𥕢𥕦𥟇𤤿𥡝偦㓻𣏌惞𥤃䝼𨥈𥪮𥮉𥰆𡶐垡煑澶𦄂𧰒遖𦆲𤾚譢𦐂𦑊" + ], + [ + "9c40", + "嵛𦯷輶𦒄𡤜諪𤧶𦒈𣿯𦔒䯀𦖿𦚵𢜛鑥𥟡憕娧晉侻嚹𤔡𦛼乪𤤴陖涏𦲽㘘襷𦞙𦡮𦐑𦡞營𦣇筂𩃀𠨑𦤦鄄𦤹穅鷰𦧺騦𦨭㙟𦑩𠀡禃𦨴𦭛崬𣔙菏𦮝䛐𦲤画补𦶮墶" + ], + [ + "9ca1", + "㜜𢖍𧁋𧇍㱔𧊀𧊅銁𢅺𧊋錰𧋦𤧐氹钟𧑐𠻸蠧裵𢤦𨑳𡞱溸𤨪𡠠㦤㚹尐秣䔿暶𩲭𩢤襃𧟌𧡘囖䃟𡘊㦡𣜯𨃨𡏅熭荦𧧝𩆨婧䲷𧂯𨦫𧧽𧨊𧬋𧵦𤅺筃祾𨀉澵𪋟樃𨌘厢𦸇鎿栶靝𨅯𨀣𦦵𡏭𣈯𨁈嶅𨰰𨂃圕頣𨥉嶫𤦈斾槕叒𤪥𣾁㰑朶𨂐𨃴𨄮𡾡𨅏" + ], + [ + "9d40", + "𨆉𨆯𨈚𨌆𨌯𨎊㗊𨑨𨚪䣺揦𨥖砈鉕𨦸䏲𨧧䏟𨧨𨭆𨯔姸𨰉輋𨿅𩃬筑𩄐𩄼㷷𩅞𤫊运犏嚋𩓧𩗩𩖰𩖸𩜲𩣑𩥉𩥪𩧃𩨨𩬎𩵚𩶛纟𩻸𩼣䲤镇𪊓熢𪋿䶑递𪗋䶜𠲜达嗁" + ], + [ + "9da1", + "辺𢒰边𤪓䔉繿潖檱仪㓤𨬬𧢝㜺躀𡟵𨀤𨭬𨮙𧨾𦚯㷫𧙕𣲷𥘵𥥖亚𥺁𦉘嚿𠹭踎孭𣺈𤲞揞拐𡟶𡡻攰嘭𥱊吚𥌑㷆𩶘䱽嘢嘞罉𥻘奵𣵀蝰东𠿪𠵉𣚺脗鵞贘瘻鱅癎瞹鍅吲腈苷嘥脲萘肽嗪祢噃吖𠺝㗎嘅嗱曱𨋢㘭甴嗰喺咗啲𠱁𠲖廐𥅈𠹶𢱢" + ], + [ + "9e40", + "𠺢麫絚嗞𡁵抝靭咔賍燶酶揼掹揾啩𢭃鱲𢺳冚㓟𠶧冧呍唞唓癦踭𦢊疱肶蠄螆裇膶萜𡃁䓬猄𤜆宐茋𦢓噻𢛴𧴯𤆣𧵳𦻐𧊶酰𡇙鈈𣳼𪚩𠺬𠻹牦𡲢䝎𤿂𧿹𠿫䃺" + ], + [ + "9ea1", + "鱝攟𢶠䣳𤟠𩵼𠿬𠸊恢𧖣𠿭" + ], + [ + "9ead", + "𦁈𡆇熣纎鵐业丄㕷嬍沲卧㚬㧜卽㚥𤘘墚𤭮舭呋垪𥪕𠥹" + ], + [ + "9ec5", + "㩒𢑥獴𩺬䴉鯭𣳾𩼰䱛𤾩𩖞𩿞葜𣶶𧊲𦞳𣜠挮紥𣻷𣸬㨪逈勌㹴㙺䗩𠒎癀嫰𠺶硺𧼮墧䂿噼鮋嵴癔𪐴麅䳡痹㟻愙𣃚𤏲" + ], + [ + "9ef5", + "噝𡊩垧𤥣𩸆刴𧂮㖭汊鵼" + ], + [ + "9f40", + "籖鬹埞𡝬屓擓𩓐𦌵𧅤蚭𠴨𦴢𤫢𠵱" + ], + [ + "9f4f", + "凾𡼏嶎霃𡷑麁遌笟鬂峑箣扨挵髿篏鬪籾鬮籂粆鰕篼鬉鼗鰛𤤾齚啳寃俽麘俲剠㸆勑坧偖妷帒韈鶫轜呩鞴饀鞺匬愰" + ], + [ + "9fa1", + "椬叚鰊鴂䰻陁榀傦畆𡝭駚剳" + ], + [ + "9fae", + "酙隁酜" + ], + [ + "9fb2", + "酑𨺗捿𦴣櫊嘑醎畺抅𠏼獏籰𥰡𣳽" + ], + [ + "9fc1", + "𤤙盖鮝个𠳔莾衂" + ], + [ + "9fc9", + "届槀僭坺刟巵从氱𠇲伹咜哚劚趂㗾弌㗳" + ], + [ + "9fdb", + "歒酼龥鮗頮颴骺麨麄煺笔" + ], + [ + "9fe7", + "毺蠘罸" + ], + [ + "9feb", + "嘠𪙊蹷齓" + ], + [ + "9ff0", + "跔蹏鸜踁抂𨍽踨蹵竓𤩷稾磘泪詧瘇" + ], + [ + "a040", + "𨩚鼦泎蟖痃𪊲硓咢贌狢獱謭猂瓱賫𤪻蘯徺袠䒷" + ], + [ + "a055", + "𡠻𦸅" + ], + [ + "a058", + "詾𢔛" + ], + [ + "a05b", + "惽癧髗鵄鍮鮏蟵" + ], + [ + "a063", + "蠏賷猬霡鮰㗖犲䰇籑饊𦅙慙䰄麖慽" + ], + [ + "a073", + "坟慯抦戹拎㩜懢厪𣏵捤栂㗒" + ], + [ + "a0a1", + "嵗𨯂迚𨸹" + ], + [ + "a0a6", + "僙𡵆礆匲阸𠼻䁥" + ], + [ + "a0ae", + "矾" + ], + [ + "a0b0", + "糂𥼚糚稭聦聣絍甅瓲覔舚朌聢𧒆聛瓰脃眤覉𦟌畓𦻑螩蟎臈螌詉貭譃眫瓸蓚㘵榲趦" + ], + [ + "a0d4", + "覩瑨涹蟁𤀑瓧㷛煶悤憜㳑煢恷" + ], + [ + "a0e2", + "罱𨬭牐惩䭾删㰘𣳇𥻗𧙖𥔱𡥄𡋾𩤃𦷜𧂭峁𦆭𨨏𣙷𠃮𦡆𤼎䕢嬟𦍌齐麦𦉫" + ], + [ + "a3c0", + "␀", + 31, + "␡" + ], + [ + "c6a1", + "①", + 9, + "⑴", + 9, + "ⅰ", + 9, + "丶丿亅亠冂冖冫勹匸卩厶夊宀巛⼳广廴彐彡攴无疒癶辵隶¨ˆヽヾゝゞ〃仝々〆〇ー[]✽ぁ", + 23 + ], + [ + "c740", + "す", + 58, + "ァアィイ" + ], + [ + "c7a1", + "ゥ", + 81, + "А", + 5, + "ЁЖ", + 4 + ], + [ + "c840", + "Л", + 26, + "ёж", + 25, + "⇧↸↹㇏𠃌乚𠂊刂䒑" + ], + [ + "c8a1", + "龰冈龱𧘇" + ], + [ + "c8cd", + "¬¦'"㈱№℡゛゜⺀⺄⺆⺇⺈⺊⺌⺍⺕⺜⺝⺥⺧⺪⺬⺮⺶⺼⺾⻆⻊⻌⻍⻏⻖⻗⻞⻣" + ], + [ + "c8f5", + "ʃɐɛɔɵœøŋʊɪ" + ], + [ + "f9fe", + "■" + ], + [ + "fa40", + "𠕇鋛𠗟𣿅蕌䊵珯况㙉𤥂𨧤鍄𡧛苮𣳈砼杄拟𤤳𨦪𠊠𦮳𡌅侫𢓭倈𦴩𧪄𣘀𤪱𢔓倩𠍾徤𠎀𠍇滛𠐟偽儁㑺儎顬㝃萖𤦤𠒇兠𣎴兪𠯿𢃼𠋥𢔰𠖎𣈳𡦃宂蝽𠖳𣲙冲冸" + ], + [ + "faa1", + "鴴凉减凑㳜凓𤪦决凢卂凭菍椾𣜭彻刋刦刼劵剗劔効勅簕蕂勠蘍𦬓包𨫞啉滙𣾀𠥔𣿬匳卄𠯢泋𡜦栛珕恊㺪㣌𡛨燝䒢卭却𨚫卾卿𡖖𡘓矦厓𨪛厠厫厮玧𥝲㽙玜叁叅汉义埾叙㪫𠮏叠𣿫𢶣叶𠱷吓灹唫晗浛呭𦭓𠵴啝咏咤䞦𡜍𠻝㶴𠵍" + ], + [ + "fb40", + "𨦼𢚘啇䳭启琗喆喩嘅𡣗𤀺䕒𤐵暳𡂴嘷曍𣊊暤暭噍噏磱囱鞇叾圀囯园𨭦㘣𡉏坆𤆥汮炋坂㚱𦱾埦𡐖堃𡑔𤍣堦𤯵塜墪㕡壠壜𡈼壻寿坃𪅐𤉸鏓㖡够梦㛃湙" + ], + [ + "fba1", + "𡘾娤啓𡚒蔅姉𠵎𦲁𦴪𡟜姙𡟻𡞲𦶦浱𡠨𡛕姹𦹅媫婣㛦𤦩婷㜈媖瑥嫓𦾡𢕔㶅𡤑㜲𡚸広勐孶斈孼𧨎䀄䡝𠈄寕慠𡨴𥧌𠖥寳宝䴐尅𡭄尓珎尔𡲥𦬨屉䣝岅峩峯嶋𡷹𡸷崐崘嵆𡺤岺巗苼㠭𤤁𢁉𢅳芇㠶㯂帮檊幵幺𤒼𠳓厦亷廐厨𡝱帉廴𨒂" + ], + [ + "fc40", + "廹廻㢠廼栾鐛弍𠇁弢㫞䢮𡌺强𦢈𢏐彘𢑱彣鞽𦹮彲鍀𨨶徧嶶㵟𥉐𡽪𧃸𢙨釖𠊞𨨩怱暅𡡷㥣㷇㘹垐𢞴祱㹀悞悤悳𤦂𤦏𧩓璤僡媠慤萤慂慈𦻒憁凴𠙖憇宪𣾷" + ], + [ + "fca1", + "𢡟懓𨮝𩥝懐㤲𢦀𢣁怣慜攞掋𠄘担𡝰拕𢸍捬𤧟㨗搸揸𡎎𡟼撐澊𢸶頔𤂌𥜝擡擥鑻㩦携㩗敍漖𤨨𤨣斅敭敟𣁾斵𤥀䬷旑䃘𡠩无旣忟𣐀昘𣇷𣇸晄𣆤𣆥晋𠹵晧𥇦晳晴𡸽𣈱𨗴𣇈𥌓矅𢣷馤朂𤎜𤨡㬫槺𣟂杞杧杢𤇍𩃭柗䓩栢湐鈼栁𣏦𦶠桝" + ], + [ + "fd40", + "𣑯槡樋𨫟楳棃𣗍椁椀㴲㨁𣘼㮀枬楡𨩊䋼椶榘㮡𠏉荣傐槹𣙙𢄪橅𣜃檝㯳枱櫈𩆜㰍欝𠤣惞欵歴𢟍溵𣫛𠎵𡥘㝀吡𣭚毡𣻼毜氷𢒋𤣱𦭑汚舦汹𣶼䓅𣶽𤆤𤤌𤤀" + ], + [ + "fda1", + "𣳉㛥㳫𠴲鮃𣇹𢒑羏样𦴥𦶡𦷫涖浜湼漄𤥿𤂅𦹲蔳𦽴凇沜渝萮𨬡港𣸯瑓𣾂秌湏媑𣁋濸㜍澝𣸰滺𡒗𤀽䕕鏰潄潜㵎潴𩅰㴻澟𤅄濓𤂑𤅕𤀹𣿰𣾴𤄿凟𤅖𤅗𤅀𦇝灋灾炧炁烌烕烖烟䄄㷨熴熖𤉷焫煅媈煊煮岜𤍥煏鍢𤋁焬𤑚𤨧𤨢熺𨯨炽爎" + ], + [ + "fe40", + "鑂爕夑鑃爤鍁𥘅爮牀𤥴梽牕牗㹕𣁄栍漽犂猪猫𤠣𨠫䣭𨠄猨献珏玪𠰺𦨮珉瑉𤇢𡛧𤨤昣㛅𤦷𤦍𤧻珷琕椃𤨦琹𠗃㻗瑜𢢭瑠𨺲瑇珤瑶莹瑬㜰瑴鏱樬璂䥓𤪌" + ], + [ + "fea1", + "𤅟𤩹𨮏孆𨰃𡢞瓈𡦈甎瓩甞𨻙𡩋寗𨺬鎅畍畊畧畮𤾂㼄𤴓疎瑝疞疴瘂瘬癑癏癯癶𦏵皐臯㟸𦤑𦤎皡皥皷盌𦾟葢𥂝𥅽𡸜眞眦着撯𥈠睘𣊬瞯𨥤𨥨𡛁矴砉𡍶𤨒棊碯磇磓隥礮𥗠磗礴碱𧘌辸袄𨬫𦂃𢘜禆褀椂禀𥡗禝𧬹礼禩渪𧄦㺨秆𩄍秔" + ] +]; + +var dbcsData; +var hasRequiredDbcsData; + +function requireDbcsData () { + if (hasRequiredDbcsData) return dbcsData; + hasRequiredDbcsData = 1; + + // Description of supported double byte encodings and aliases. + // Tables are not require()-d until they are needed to speed up library load. + // require()-s are direct to support Browserify. + + dbcsData = { + + // == Japanese/ShiftJIS ==================================================== + // All japanese encodings are based on JIS X set of standards: + // JIS X 0201 - Single-byte encoding of ASCII + ¥ + Kana chars at 0xA1-0xDF. + // JIS X 0208 - Main set of 6879 characters, placed in 94x94 plane, to be encoded by 2 bytes. + // Has several variations in 1978, 1983, 1990 and 1997. + // JIS X 0212 - Supplementary plane of 6067 chars in 94x94 plane. 1990. Effectively dead. + // JIS X 0213 - Extension and modern replacement of 0208 and 0212. Total chars: 11233. + // 2 planes, first is superset of 0208, second - revised 0212. + // Introduced in 2000, revised 2004. Some characters are in Unicode Plane 2 (0x2xxxx) + + // Byte encodings are: + // * Shift_JIS: Compatible with 0201, uses not defined chars in top half as lead bytes for double-byte + // encoding of 0208. Lead byte ranges: 0x81-0x9F, 0xE0-0xEF; Trail byte ranges: 0x40-0x7E, 0x80-0x9E, 0x9F-0xFC. + // Windows CP932 is a superset of Shift_JIS. Some companies added more chars, notably KDDI. + // * EUC-JP: Up to 3 bytes per character. Used mostly on *nixes. + // 0x00-0x7F - lower part of 0201 + // 0x8E, 0xA1-0xDF - upper part of 0201 + // (0xA1-0xFE)x2 - 0208 plane (94x94). + // 0x8F, (0xA1-0xFE)x2 - 0212 plane (94x94). + // * JIS X 208: 7-bit, direct encoding of 0208. Byte ranges: 0x21-0x7E (94 values). Uncommon. + // Used as-is in ISO2022 family. + // * ISO2022-JP: Stateful encoding, with escape sequences to switch between ASCII, + // 0201-1976 Roman, 0208-1978, 0208-1983. + // * ISO2022-JP-1: Adds esc seq for 0212-1990. + // * ISO2022-JP-2: Adds esc seq for GB2313-1980, KSX1001-1992, ISO8859-1, ISO8859-7. + // * ISO2022-JP-3: Adds esc seq for 0201-1976 Kana set, 0213-2000 Planes 1, 2. + // * ISO2022-JP-2004: Adds 0213-2004 Plane 1. + // + // After JIS X 0213 appeared, Shift_JIS-2004, EUC-JISX0213 and ISO2022-JP-2004 followed, with just changing the planes. + // + // Overall, it seems that it's a mess :( http://www8.plala.or.jp/tkubota1/unicode-symbols-map2.html + + 'shiftjis': { + type: '_dbcs', + table: function() { return require$$0 }, + encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E}, + encodeSkipVals: [{from: 0xED40, to: 0xF940}], + }, + 'csshiftjis': 'shiftjis', + 'mskanji': 'shiftjis', + 'sjis': 'shiftjis', + 'windows31j': 'shiftjis', + 'ms31j': 'shiftjis', + 'xsjis': 'shiftjis', + 'windows932': 'shiftjis', + 'ms932': 'shiftjis', + '932': 'shiftjis', + 'cp932': 'shiftjis', + + 'eucjp': { + type: '_dbcs', + table: function() { return require$$1 }, + encodeAdd: {'\u00a5': 0x5C, '\u203E': 0x7E}, + }, + + // TODO: KDDI extension to Shift_JIS + // TODO: IBM CCSID 942 = CP932, but F0-F9 custom chars and other char changes. + // TODO: IBM CCSID 943 = Shift_JIS = CP932 with original Shift_JIS lower 128 chars. + + + // == Chinese/GBK ========================================================== + // http://en.wikipedia.org/wiki/GBK + // We mostly implement W3C recommendation: https://www.w3.org/TR/encoding/#gbk-encoder + + // Oldest GB2312 (1981, ~7600 chars) is a subset of CP936 + 'gb2312': 'cp936', + 'gb231280': 'cp936', + 'gb23121980': 'cp936', + 'csgb2312': 'cp936', + 'csiso58gb231280': 'cp936', + 'euccn': 'cp936', + + // Microsoft's CP936 is a subset and approximation of GBK. + 'windows936': 'cp936', + 'ms936': 'cp936', + '936': 'cp936', + 'cp936': { + type: '_dbcs', + table: function() { return require$$2 }, + }, + + // GBK (~22000 chars) is an extension of CP936 that added user-mapped chars and some other. + 'gbk': { + type: '_dbcs', + table: function() { return require$$2.concat(require$$3) }, + }, + 'xgbk': 'gbk', + 'isoir58': 'gbk', + + // GB18030 is an algorithmic extension of GBK. + // Main source: https://www.w3.org/TR/encoding/#gbk-encoder + // http://icu-project.org/docs/papers/gb18030.html + // http://source.icu-project.org/repos/icu/data/trunk/charset/data/xml/gb-18030-2000.xml + // http://www.khngai.com/chinese/charmap/tblgbk.php?page=0 + 'gb18030': { + type: '_dbcs', + table: function() { return require$$2.concat(require$$3) }, + gb18030: function() { return require$$4 }, + encodeSkipVals: [0x80], + encodeAdd: {'€': 0xA2E3}, + }, + + 'chinese': 'gb18030', + + + // == Korean =============================================================== + // EUC-KR, KS_C_5601 and KS X 1001 are exactly the same. + 'windows949': 'cp949', + 'ms949': 'cp949', + '949': 'cp949', + 'cp949': { + type: '_dbcs', + table: function() { return require$$5$1 }, + }, + + 'cseuckr': 'cp949', + 'csksc56011987': 'cp949', + 'euckr': 'cp949', + 'isoir149': 'cp949', + 'korean': 'cp949', + 'ksc56011987': 'cp949', + 'ksc56011989': 'cp949', + 'ksc5601': 'cp949', + + + // == Big5/Taiwan/Hong Kong ================================================ + // There are lots of tables for Big5 and cp950. Please see the following links for history: + // http://moztw.org/docs/big5/ http://www.haible.de/bruno/charsets/conversion-tables/Big5.html + // Variations, in roughly number of defined chars: + // * Windows CP 950: Microsoft variant of Big5. Canonical: http://www.unicode.org/Public/MAPPINGS/VENDORS/MICSFT/WINDOWS/CP950.TXT + // * Windows CP 951: Microsoft variant of Big5-HKSCS-2001. Seems to be never public. http://me.abelcheung.org/articles/research/what-is-cp951/ + // * Big5-2003 (Taiwan standard) almost superset of cp950. + // * Unicode-at-on (UAO) / Mozilla 1.8. Falling out of use on the Web. Not supported by other browsers. + // * Big5-HKSCS (-2001, -2004, -2008). Hong Kong standard. + // many unicode code points moved from PUA to Supplementary plane (U+2XXXX) over the years. + // Plus, it has 4 combining sequences. + // Seems that Mozilla refused to support it for 10 yrs. https://bugzilla.mozilla.org/show_bug.cgi?id=162431 https://bugzilla.mozilla.org/show_bug.cgi?id=310299 + // because big5-hkscs is the only encoding to include astral characters in non-algorithmic way. + // Implementations are not consistent within browsers; sometimes labeled as just big5. + // MS Internet Explorer switches from big5 to big5-hkscs when a patch applied. + // Great discussion & recap of what's going on https://bugzilla.mozilla.org/show_bug.cgi?id=912470#c31 + // In the encoder, it might make sense to support encoding old PUA mappings to Big5 bytes seq-s. + // Official spec: http://www.ogcio.gov.hk/en/business/tech_promotion/ccli/terms/doc/2003cmp_2008.txt + // http://www.ogcio.gov.hk/tc/business/tech_promotion/ccli/terms/doc/hkscs-2008-big5-iso.txt + // + // Current understanding of how to deal with Big5(-HKSCS) is in the Encoding Standard, http://encoding.spec.whatwg.org/#big5-encoder + // Unicode mapping (http://www.unicode.org/Public/MAPPINGS/OBSOLETE/EASTASIA/OTHER/BIG5.TXT) is said to be wrong. + + 'windows950': 'cp950', + 'ms950': 'cp950', + '950': 'cp950', + 'cp950': { + type: '_dbcs', + table: function() { return require$$6 }, + }, + + // Big5 has many variations and is an extension of cp950. We use Encoding Standard's as a consensus. + 'big5': 'big5hkscs', + 'big5hkscs': { + type: '_dbcs', + table: function() { return require$$6.concat(require$$7) }, + encodeSkipVals: [ + // Although Encoding Standard says we should avoid encoding to HKSCS area (See Step 1 of + // https://encoding.spec.whatwg.org/#index-big5-pointer), we still do it to increase compatibility with ICU. + // But if a single unicode point can be encoded both as HKSCS and regular Big5, we prefer the latter. + 0x8e69, 0x8e6f, 0x8e7e, 0x8eab, 0x8eb4, 0x8ecd, 0x8ed0, 0x8f57, 0x8f69, 0x8f6e, 0x8fcb, 0x8ffe, + 0x906d, 0x907a, 0x90c4, 0x90dc, 0x90f1, 0x91bf, 0x92af, 0x92b0, 0x92b1, 0x92b2, 0x92d1, 0x9447, 0x94ca, + 0x95d9, 0x96fc, 0x9975, 0x9b76, 0x9b78, 0x9b7b, 0x9bc6, 0x9bde, 0x9bec, 0x9bf6, 0x9c42, 0x9c53, 0x9c62, + 0x9c68, 0x9c6b, 0x9c77, 0x9cbc, 0x9cbd, 0x9cd0, 0x9d57, 0x9d5a, 0x9dc4, 0x9def, 0x9dfb, 0x9ea9, 0x9eef, + 0x9efd, 0x9f60, 0x9fcb, 0xa077, 0xa0dc, 0xa0df, 0x8fcc, 0x92c8, 0x9644, 0x96ed, + + // Step 2 of https://encoding.spec.whatwg.org/#index-big5-pointer: Use last pointer for U+2550, U+255E, U+2561, U+256A, U+5341, or U+5345 + 0xa2a4, 0xa2a5, 0xa2a7, 0xa2a6, 0xa2cc, 0xa2ce, + ], + }, + + 'cnbig5': 'big5hkscs', + 'csbig5': 'big5hkscs', + 'xxbig5': 'big5hkscs', + }; + return dbcsData; +} + +var hasRequiredEncodings; + +function requireEncodings () { + if (hasRequiredEncodings) return encodings; + hasRequiredEncodings = 1; + (function (exports) { + + // Update this array if you add/rename/remove files in this directory. + // We support Browserify by skipping automatic module discovery and requiring modules directly. + var modules = [ + requireInternal(), + requireUtf32(), + requireUtf16(), + requireUtf7(), + requireSbcsCodec(), + requireSbcsData(), + requireSbcsDataGenerated(), + requireDbcsCodec(), + requireDbcsData(), + ]; + + // Put all encoding/alias/codec definitions to single object and export it. + for (var i = 0; i < modules.length; i++) { + var module = modules[i]; + for (var enc in module) + if (Object.prototype.hasOwnProperty.call(module, enc)) + exports[enc] = module[enc]; + } +} (encodings)); + return encodings; +} + +var streams; +var hasRequiredStreams; + +function requireStreams () { + if (hasRequiredStreams) return streams; + hasRequiredStreams = 1; + + var Buffer = safer_1.Buffer; + + // NOTE: Due to 'stream' module being pretty large (~100Kb, significant in browser environments), + // we opt to dependency-inject it instead of creating a hard dependency. + streams = function(stream_module) { + var Transform = stream_module.Transform; + + // == Encoder stream ======================================================= + + function IconvLiteEncoderStream(conv, options) { + this.conv = conv; + options = options || {}; + options.decodeStrings = false; // We accept only strings, so we don't need to decode them. + Transform.call(this, options); + } + + IconvLiteEncoderStream.prototype = Object.create(Transform.prototype, { + constructor: { value: IconvLiteEncoderStream } + }); + + IconvLiteEncoderStream.prototype._transform = function(chunk, encoding, done) { + if (typeof chunk != 'string') + return done(new Error("Iconv encoding stream needs strings as its input.")); + try { + var res = this.conv.write(chunk); + if (res && res.length) this.push(res); + done(); + } + catch (e) { + done(e); + } + }; + + IconvLiteEncoderStream.prototype._flush = function(done) { + try { + var res = this.conv.end(); + if (res && res.length) this.push(res); + done(); + } + catch (e) { + done(e); + } + }; + + IconvLiteEncoderStream.prototype.collect = function(cb) { + var chunks = []; + this.on('error', cb); + this.on('data', function(chunk) { chunks.push(chunk); }); + this.on('end', function() { + cb(null, Buffer.concat(chunks)); + }); + return this; + }; + + + // == Decoder stream ======================================================= + + function IconvLiteDecoderStream(conv, options) { + this.conv = conv; + options = options || {}; + options.encoding = this.encoding = 'utf8'; // We output strings. + Transform.call(this, options); + } + + IconvLiteDecoderStream.prototype = Object.create(Transform.prototype, { + constructor: { value: IconvLiteDecoderStream } + }); + + IconvLiteDecoderStream.prototype._transform = function(chunk, encoding, done) { + if (!Buffer.isBuffer(chunk) && !(chunk instanceof Uint8Array)) + return done(new Error("Iconv decoding stream needs buffers as its input.")); + try { + var res = this.conv.write(chunk); + if (res && res.length) this.push(res, this.encoding); + done(); + } + catch (e) { + done(e); + } + }; + + IconvLiteDecoderStream.prototype._flush = function(done) { + try { + var res = this.conv.end(); + if (res && res.length) this.push(res, this.encoding); + done(); + } + catch (e) { + done(e); + } + }; + + IconvLiteDecoderStream.prototype.collect = function(cb) { + var res = ''; + this.on('error', cb); + this.on('data', function(chunk) { res += chunk; }); + this.on('end', function() { + cb(null, res); + }); + return this; + }; + + return { + IconvLiteEncoderStream: IconvLiteEncoderStream, + IconvLiteDecoderStream: IconvLiteDecoderStream, + }; + }; + return streams; +} + +(function (module) { + + var Buffer = safer_1.Buffer; + + var bomHandling$1 = bomHandling, + iconv = module.exports; + + // All codecs and aliases are kept here, keyed by encoding name/alias. + // They are lazy loaded in `iconv.getCodec` from `encodings/index.js`. + iconv.encodings = null; + + // Characters emitted in case of error. + iconv.defaultCharUnicode = '�'; + iconv.defaultCharSingleByte = '?'; + + // Public API. + iconv.encode = function encode(str, encoding, options) { + str = "" + (str || ""); // Ensure string. + + var encoder = iconv.getEncoder(encoding, options); + + var res = encoder.write(str); + var trail = encoder.end(); + + return (trail && trail.length > 0) ? Buffer.concat([res, trail]) : res; + }; + + iconv.decode = function decode(buf, encoding, options) { + if (typeof buf === 'string') { + if (!iconv.skipDecodeWarning) { + console.error('Iconv-lite warning: decode()-ing strings is deprecated. Refer to https://github.com/ashtuchkin/iconv-lite/wiki/Use-Buffers-when-decoding'); + iconv.skipDecodeWarning = true; + } + + buf = Buffer.from("" + (buf || ""), "binary"); // Ensure buffer. + } + + var decoder = iconv.getDecoder(encoding, options); + + var res = decoder.write(buf); + var trail = decoder.end(); + + return trail ? (res + trail) : res; + }; + + iconv.encodingExists = function encodingExists(enc) { + try { + iconv.getCodec(enc); + return true; + } catch (e) { + return false; + } + }; + + // Legacy aliases to convert functions + iconv.toEncoding = iconv.encode; + iconv.fromEncoding = iconv.decode; + + // Search for a codec in iconv.encodings. Cache codec data in iconv._codecDataCache. + iconv._codecDataCache = {}; + iconv.getCodec = function getCodec(encoding) { + if (!iconv.encodings) + iconv.encodings = requireEncodings(); // Lazy load all encoding definitions. + + // Canonicalize encoding name: strip all non-alphanumeric chars and appended year. + var enc = iconv._canonicalizeEncoding(encoding); + + // Traverse iconv.encodings to find actual codec. + var codecOptions = {}; + while (true) { + var codec = iconv._codecDataCache[enc]; + if (codec) + return codec; + + var codecDef = iconv.encodings[enc]; + + switch (typeof codecDef) { + case "string": // Direct alias to other encoding. + enc = codecDef; + break; + + case "object": // Alias with options. Can be layered. + for (var key in codecDef) + codecOptions[key] = codecDef[key]; + + if (!codecOptions.encodingName) + codecOptions.encodingName = enc; + + enc = codecDef.type; + break; + + case "function": // Codec itself. + if (!codecOptions.encodingName) + codecOptions.encodingName = enc; + + // The codec function must load all tables and return object with .encoder and .decoder methods. + // It'll be called only once (for each different options object). + codec = new codecDef(codecOptions, iconv); + + iconv._codecDataCache[codecOptions.encodingName] = codec; // Save it to be reused later. + return codec; + + default: + throw new Error("Encoding not recognized: '" + encoding + "' (searched as: '"+enc+"')"); + } + } + }; + + iconv._canonicalizeEncoding = function(encoding) { + // Canonicalize encoding name: strip all non-alphanumeric chars and appended year. + return (''+encoding).toLowerCase().replace(/:\d{4}$|[^0-9a-z]/g, ""); + }; + + iconv.getEncoder = function getEncoder(encoding, options) { + var codec = iconv.getCodec(encoding), + encoder = new codec.encoder(options, codec); + + if (codec.bomAware && options && options.addBOM) + encoder = new bomHandling$1.PrependBOM(encoder, options); + + return encoder; + }; + + iconv.getDecoder = function getDecoder(encoding, options) { + var codec = iconv.getCodec(encoding), + decoder = new codec.decoder(options, codec); + + if (codec.bomAware && !(options && options.stripBOM === false)) + decoder = new bomHandling$1.StripBOM(decoder, options); + + return decoder; + }; + + // Streaming API + // NOTE: Streaming API naturally depends on 'stream' module from Node.js. Unfortunately in browser environments this module can add + // up to 100Kb to the output bundle. To avoid unnecessary code bloat, we don't enable Streaming API in browser by default. + // If you would like to enable it explicitly, please add the following code to your app: + // > iconv.enableStreamingAPI(require('stream')); + iconv.enableStreamingAPI = function enableStreamingAPI(stream_module) { + if (iconv.supportsStreams) + return; + + // Dependency-inject stream module to create IconvLite stream classes. + var streams = requireStreams()(stream_module); + + // Not public API yet, but expose the stream classes. + iconv.IconvLiteEncoderStream = streams.IconvLiteEncoderStream; + iconv.IconvLiteDecoderStream = streams.IconvLiteDecoderStream; + + // Streaming API. + iconv.encodeStream = function encodeStream(encoding, options) { + return new iconv.IconvLiteEncoderStream(iconv.getEncoder(encoding, options), options); + }; + + iconv.decodeStream = function decodeStream(encoding, options) { + return new iconv.IconvLiteDecoderStream(iconv.getDecoder(encoding, options), options); + }; + + iconv.supportsStreams = true; + }; + + // Enable Streaming API automatically if 'stream' module is available and non-empty (the majority of environments). + var stream_module; + try { + stream_module = require("stream"); + } catch (e) {} + + if (stream_module && stream_module.Transform) { + iconv.enableStreamingAPI(stream_module); + + } else { + // In rare cases where 'stream' module is not available by default, throw a helpful exception. + iconv.encodeStream = iconv.decodeStream = function() { + throw new Error("iconv-lite Streaming API is not enabled. Use iconv.enableStreamingAPI(require('stream')); to enable it."); + }; + } +} (lib$6)); + +var config$2 = {}; + +var util$4 = {}; + +var hasRequiredUtil; + +function requireUtil () { + if (hasRequiredUtil) return util$4; + hasRequiredUtil = 1; + var config = requireConfig(); + var fromCharCode = String.fromCharCode; + var slice = Array.prototype.slice; + var toString = Object.prototype.toString; + var hasOwnProperty = Object.prototype.hasOwnProperty; + var nativeIsArray = Array.isArray; + var nativeObjectKeys = Object.keys; + + + function isObject(x) { + var type = typeof x; + return type === 'function' || type === 'object' && !!x; + } + util$4.isObject = isObject; + + + function isArray(x) { + return nativeIsArray ? nativeIsArray(x) : toString.call(x) === '[object Array]'; + } + util$4.isArray = isArray; + + + function isString(x) { + return typeof x === 'string' || toString.call(x) === '[object String]'; + } + util$4.isString = isString; + + + function objectKeys(object) { + if (nativeObjectKeys) { + return nativeObjectKeys(object); + } + + var keys = []; + for (var key in object) { + if (hasOwnProperty.call(object, key)) { + keys[keys.length] = key; + } + } + + return keys; + } + util$4.objectKeys = objectKeys; + + + function createBuffer(bits, size) { + if (config.HAS_TYPED) { + switch (bits) { + case 8: return new Uint8Array(size); + case 16: return new Uint16Array(size); + } + } + return new Array(size); + } + util$4.createBuffer = createBuffer; + + + function stringToBuffer(string) { + var length = string.length; + var buffer = createBuffer(16, length); + + for (var i = 0; i < length; i++) { + buffer[i] = string.charCodeAt(i); + } + + return buffer; + } + util$4.stringToBuffer = stringToBuffer; + + + function codeToString_fast(code) { + if (config.CAN_CHARCODE_APPLY && config.CAN_CHARCODE_APPLY_TYPED) { + var len = code && code.length; + if (len < config.APPLY_BUFFER_SIZE && config.APPLY_BUFFER_SIZE_OK) { + return fromCharCode.apply(null, code); + } + + if (config.APPLY_BUFFER_SIZE_OK === null) { + try { + var s = fromCharCode.apply(null, code); + if (len > config.APPLY_BUFFER_SIZE) { + config.APPLY_BUFFER_SIZE_OK = true; + } + return s; + } catch (e) { + // Ignore the RangeError "arguments too large" + config.APPLY_BUFFER_SIZE_OK = false; + } + } + } + + return codeToString_chunked(code); + } + util$4.codeToString_fast = codeToString_fast; + + + function codeToString_chunked(code) { + var string = ''; + var length = code && code.length; + var i = 0; + var sub; + + while (i < length) { + if (code.subarray) { + sub = code.subarray(i, i + config.APPLY_BUFFER_SIZE); + } else { + sub = code.slice(i, i + config.APPLY_BUFFER_SIZE); + } + i += config.APPLY_BUFFER_SIZE; + + if (config.APPLY_BUFFER_SIZE_OK) { + string += fromCharCode.apply(null, sub); + continue; + } + + if (config.APPLY_BUFFER_SIZE_OK === null) { + try { + string += fromCharCode.apply(null, sub); + if (sub.length > config.APPLY_BUFFER_SIZE) { + config.APPLY_BUFFER_SIZE_OK = true; + } + continue; + } catch (e) { + config.APPLY_BUFFER_SIZE_OK = false; + } + } + + return codeToString_slow(code); + } + + return string; + } + util$4.codeToString_chunked = codeToString_chunked; + + + function codeToString_slow(code) { + var string = ''; + var length = code && code.length; + + for (var i = 0; i < length; i++) { + string += fromCharCode(code[i]); + } + + return string; + } + util$4.codeToString_slow = codeToString_slow; + + + function stringToCode(string) { + var code = []; + var len = string && string.length; + + for (var i = 0; i < len; i++) { + code[i] = string.charCodeAt(i); + } + + return code; + } + util$4.stringToCode = stringToCode; + + + function codeToBuffer(code) { + if (config.HAS_TYPED) { + // Unicode code point (charCodeAt range) values have a range of 0-0xFFFF, so use Uint16Array + return new Uint16Array(code); + } + + if (isArray(code)) { + return code; + } + + var length = code && code.length; + var buffer = []; + + for (var i = 0; i < length; i++) { + buffer[i] = code[i]; + } + + return buffer; + } + util$4.codeToBuffer = codeToBuffer; + + + function bufferToCode(buffer) { + if (isArray(buffer)) { + return buffer; + } + + return slice.call(buffer); + } + util$4.bufferToCode = bufferToCode; + + /** + * Canonicalize the passed encoding name to the internal encoding name + */ + function canonicalizeEncodingName(target) { + var name = ''; + var expect = ('' + target).toUpperCase().replace(/[^A-Z0-9]+/g, ''); + var aliasNames = objectKeys(config.EncodingAliases); + var len = aliasNames.length; + var hit = 0; + var encoding, encodingLen, j; + + for (var i = 0; i < len; i++) { + encoding = aliasNames[i]; + if (encoding === expect) { + name = encoding; + break; + } + + encodingLen = encoding.length; + for (j = hit; j < encodingLen; j++) { + if (encoding.slice(0, j) === expect.slice(0, j) || + encoding.slice(-j) === expect.slice(-j)) { + name = encoding; + hit = j; + } + } + } + + if (hasOwnProperty.call(config.EncodingAliases, name)) { + return config.EncodingAliases[name]; + } + + return name; + } + util$4.canonicalizeEncodingName = canonicalizeEncodingName; + + // Base64 + /* Copyright (C) 1999 Masanao Izumo + * Version: 1.0 + * LastModified: Dec 25 1999 + * This library is free. You can redistribute it and/or modify it. + */ + // -- Masanao Izumo Copyright 1999 "free" + // Added binary array support for the Encoding.js + + var base64EncodeChars = [ + 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, + 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, + 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, + 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, + 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 43, 47 + ]; + + var base64DecodeChars = [ + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 62, -1, -1, -1, 63, + 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -1, -1, -1, -1, -1, -1, + -1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, + 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -1, -1, -1, -1, -1, + -1, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, + 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1 + ]; + + var base64EncodePadding = '='.charCodeAt(0); + + + function base64encode(data) { + var out, i, len; + var c1, c2, c3; + + len = data && data.length; + i = 0; + out = []; + + while (i < len) { + c1 = data[i++]; + if (i == len) { + out[out.length] = base64EncodeChars[c1 >> 2]; + out[out.length] = base64EncodeChars[(c1 & 0x3) << 4]; + out[out.length] = base64EncodePadding; + out[out.length] = base64EncodePadding; + break; + } + + c2 = data[i++]; + if (i == len) { + out[out.length] = base64EncodeChars[c1 >> 2]; + out[out.length] = base64EncodeChars[((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4)]; + out[out.length] = base64EncodeChars[(c2 & 0xF) << 2]; + out[out.length] = base64EncodePadding; + break; + } + + c3 = data[i++]; + out[out.length] = base64EncodeChars[c1 >> 2]; + out[out.length] = base64EncodeChars[((c1 & 0x3) << 4) | ((c2 & 0xF0) >> 4)]; + out[out.length] = base64EncodeChars[((c2 & 0xF) << 2) | ((c3 & 0xC0) >> 6)]; + out[out.length] = base64EncodeChars[c3 & 0x3F]; + } + + return codeToString_fast(out); + } + util$4.base64encode = base64encode; + + + function base64decode(str) { + var c1, c2, c3, c4; + var i, len, out; + + len = str && str.length; + i = 0; + out = []; + + while (i < len) { + /* c1 */ + do { + c1 = base64DecodeChars[str.charCodeAt(i++) & 0xFF]; + } while (i < len && c1 == -1); + + if (c1 == -1) { + break; + } + + /* c2 */ + do { + c2 = base64DecodeChars[str.charCodeAt(i++) & 0xFF]; + } while (i < len && c2 == -1); + + if (c2 == -1) { + break; + } + + out[out.length] = (c1 << 2) | ((c2 & 0x30) >> 4); + + /* c3 */ + do { + c3 = str.charCodeAt(i++) & 0xFF; + if (c3 == 61) { + return out; + } + c3 = base64DecodeChars[c3]; + } while (i < len && c3 == -1); + + if (c3 == -1) { + break; + } + + out[out.length] = ((c2 & 0xF) << 4) | ((c3 & 0x3C) >> 2); + + /* c4 */ + do { + c4 = str.charCodeAt(i++) & 0xFF; + if (c4 == 61) { + return out; + } + c4 = base64DecodeChars[c4]; + } while (i < len && c4 == -1); + + if (c4 == -1) { + break; + } + + out[out.length] = ((c3 & 0x03) << 6) | c4; + } + + return out; + } + util$4.base64decode = base64decode; + return util$4; +} + +var encodingTable = {}; + +/* eslint-disable indent,key-spacing */ + +/** + * Encoding conversion table for UTF-8 to JIS + */ +var utf8ToJisTable = { +0xEFBDA1:0x21,0xEFBDA2:0x22,0xEFBDA3:0x23,0xEFBDA4:0x24,0xEFBDA5:0x25, +0xEFBDA6:0x26,0xEFBDA7:0x27,0xEFBDA8:0x28,0xEFBDA9:0x29,0xEFBDAA:0x2A, +0xEFBDAB:0x2B,0xEFBDAC:0x2C,0xEFBDAD:0x2D,0xEFBDAE:0x2E,0xEFBDAF:0x2F, +0xEFBDB0:0x30,0xEFBDB1:0x31,0xEFBDB2:0x32,0xEFBDB3:0x33,0xEFBDB4:0x34, +0xEFBDB5:0x35,0xEFBDB6:0x36,0xEFBDB7:0x37,0xEFBDB8:0x38,0xEFBDB9:0x39, +0xEFBDBA:0x3A,0xEFBDBB:0x3B,0xEFBDBC:0x3C,0xEFBDBD:0x3D,0xEFBDBE:0x3E, +0xEFBDBF:0x3F,0xEFBE80:0x40,0xEFBE81:0x41,0xEFBE82:0x42,0xEFBE83:0x43, +0xEFBE84:0x44,0xEFBE85:0x45,0xEFBE86:0x46,0xEFBE87:0x47,0xEFBE88:0x48, +0xEFBE89:0x49,0xEFBE8A:0x4A,0xEFBE8B:0x4B,0xEFBE8C:0x4C,0xEFBE8D:0x4D, +0xEFBE8E:0x4E,0xEFBE8F:0x4F,0xEFBE90:0x50,0xEFBE91:0x51,0xEFBE92:0x52, +0xEFBE93:0x53,0xEFBE94:0x54,0xEFBE95:0x55,0xEFBE96:0x56,0xEFBE97:0x57, +0xEFBE98:0x58,0xEFBE99:0x59,0xEFBE9A:0x5A,0xEFBE9B:0x5B,0xEFBE9C:0x5C, +0xEFBE9D:0x5D,0xEFBE9E:0x5E,0xEFBE9F:0x5F, + +0xE291A0:0x2D21,0xE291A1:0x2D22,0xE291A2:0x2D23,0xE291A3:0x2D24,0xE291A4:0x2D25, +0xE291A5:0x2D26,0xE291A6:0x2D27,0xE291A7:0x2D28,0xE291A8:0x2D29,0xE291A9:0x2D2A, +0xE291AA:0x2D2B,0xE291AB:0x2D2C,0xE291AC:0x2D2D,0xE291AD:0x2D2E,0xE291AE:0x2D2F, +0xE291AF:0x2D30,0xE291B0:0x2D31,0xE291B1:0x2D32,0xE291B2:0x2D33,0xE291B3:0x2D34, +0xE285A0:0x2D35,0xE285A1:0x2D36,0xE285A2:0x2D37,0xE285A3:0x2D38,0xE285A4:0x2D39, +0xE285A5:0x2D3A,0xE285A6:0x2D3B,0xE285A7:0x2D3C,0xE285A8:0x2D3D,0xE285A9:0x2D3E, +0xE38D89:0x2D40,0xE38C94:0x2D41,0xE38CA2:0x2D42,0xE38D8D:0x2D43,0xE38C98:0x2D44, +0xE38CA7:0x2D45,0xE38C83:0x2D46,0xE38CB6:0x2D47,0xE38D91:0x2D48,0xE38D97:0x2D49, +0xE38C8D:0x2D4A,0xE38CA6:0x2D4B,0xE38CA3:0x2D4C,0xE38CAB:0x2D4D,0xE38D8A:0x2D4E, +0xE38CBB:0x2D4F,0xE38E9C:0x2D50,0xE38E9D:0x2D51,0xE38E9E:0x2D52,0xE38E8E:0x2D53, +0xE38E8F:0x2D54,0xE38F84:0x2D55,0xE38EA1:0x2D56,0xE38DBB:0x2D5F,0xE3809D:0x2D60, +0xE3809F:0x2D61,0xE28496:0x2D62,0xE38F8D:0x2D63,0xE284A1:0x2D64,0xE38AA4:0x2D65, +0xE38AA5:0x2D66,0xE38AA6:0x2D67,0xE38AA7:0x2D68,0xE38AA8:0x2D69,0xE388B1:0x2D6A, +0xE388B2:0x2D6B,0xE388B9:0x2D6C,0xE38DBE:0x2D6D,0xE38DBD:0x2D6E,0xE38DBC:0x2D6F, +0xE288AE:0x2D73,0xE28891:0x2D74,0xE2889F:0x2D78,0xE28ABF:0x2D79, + +0xE38080:0x2121,0xE38081:0x2122,0xE38082:0x2123,0xEFBC8C:0x2124,0xEFBC8E:0x2125, +0xE383BB:0x2126,0xEFBC9A:0x2127,0xEFBC9B:0x2128,0xEFBC9F:0x2129,0xEFBC81:0x212A, +0xE3829B:0x212B,0xE3829C:0x212C,0xC2B4:0x212D,0xEFBD80:0x212E,0xC2A8:0x212F, +0xEFBCBE:0x2130,0xEFBFA3:0x2131,0xEFBCBF:0x2132,0xE383BD:0x2133,0xE383BE:0x2134, +0xE3829D:0x2135,0xE3829E:0x2136,0xE38083:0x2137,0xE4BB9D:0x2138,0xE38085:0x2139, +0xE38086:0x213A,0xE38087:0x213B,0xE383BC:0x213C,0xE28095:0x213D,0xE28090:0x213E, +0xEFBC8F:0x213F,0xEFBCBC:0x2140,0xEFBD9E:0x2141,0xE28096:0x2142,0xEFBD9C:0x2143, +0xE280A6:0x2144,0xE280A5:0x2145,0xE28098:0x2146,0xE28099:0x2147,0xE2809C:0x2148, +0xE2809D:0x2149,0xEFBC88:0x214A,0xEFBC89:0x214B,0xE38094:0x214C,0xE38095:0x214D, +0xEFBCBB:0x214E,0xEFBCBD:0x214F,0xEFBD9B:0x2150,0xEFBD9D:0x2151,0xE38088:0x2152, +0xE38089:0x2153,0xE3808A:0x2154,0xE3808B:0x2155,0xE3808C:0x2156,0xE3808D:0x2157, +0xE3808E:0x2158,0xE3808F:0x2159,0xE38090:0x215A,0xE38091:0x215B,0xEFBC8B:0x215C, +0xEFBC8D:0x215D,0xC2B1:0x215E,0xC397:0x215F,0xC3B7:0x2160,0xEFBC9D:0x2161, +0xE289A0:0x2162,0xEFBC9C:0x2163,0xEFBC9E:0x2164,0xE289A6:0x2165,0xE289A7:0x2166, +0xE2889E:0x2167,0xE288B4:0x2168,0xE29982:0x2169,0xE29980:0x216A,0xC2B0:0x216B, +0xE280B2:0x216C,0xE280B3:0x216D,0xE28483:0x216E,0xEFBFA5:0x216F,0xEFBC84:0x2170, +0xEFBFA0:0x2171,0xEFBFA1:0x2172,0xEFBC85:0x2173,0xEFBC83:0x2174,0xEFBC86:0x2175, +0xEFBC8A:0x2176,0xEFBCA0:0x2177,0xC2A7:0x2178,0xE29886:0x2179,0xE29885:0x217A, +0xE2978B:0x217B,0xE2978F:0x217C,0xE2978E:0x217D,0xE29787:0x217E,0xE29786:0x2221, +0xE296A1:0x2222,0xE296A0:0x2223,0xE296B3:0x2224,0xE296B2:0x2225,0xE296BD:0x2226, +0xE296BC:0x2227,0xE280BB:0x2228,0xE38092:0x2229,0xE28692:0x222A,0xE28690:0x222B, +0xE28691:0x222C,0xE28693:0x222D,0xE38093:0x222E,0xE28888:0x223A,0xE2888B:0x223B, +0xE28A86:0x223C,0xE28A87:0x223D,0xE28A82:0x223E,0xE28A83:0x223F,0xE288AA:0x2240, +0xE288A9:0x2241,0xE288A7:0x224A,0xE288A8:0x224B,0xC2AC:0x224C,0xE28792:0x224D, +0xE28794:0x224E,0xE28880:0x224F,0xE28883:0x2250,0xE288A0:0x225C,0xE28AA5:0x225D, +0xE28C92:0x225E,0xE28882:0x225F,0xE28887:0x2260,0xE289A1:0x2261,0xE28992:0x2262, +0xE289AA:0x2263,0xE289AB:0x2264,0xE2889A:0x2265,0xE288BD:0x2266,0xE2889D:0x2267, +0xE288B5:0x2268,0xE288AB:0x2269,0xE288AC:0x226A,0xE284AB:0x2272,0xE280B0:0x2273, +0xE299AF:0x2274,0xE299AD:0x2275,0xE299AA:0x2276,0xE280A0:0x2277,0xE280A1:0x2278, +0xC2B6:0x2279,0xE297AF:0x227E,0xEFBC90:0x2330,0xEFBC91:0x2331,0xEFBC92:0x2332, +0xEFBC93:0x2333,0xEFBC94:0x2334,0xEFBC95:0x2335,0xEFBC96:0x2336,0xEFBC97:0x2337, +0xEFBC98:0x2338,0xEFBC99:0x2339,0xEFBCA1:0x2341,0xEFBCA2:0x2342,0xEFBCA3:0x2343, +0xEFBCA4:0x2344,0xEFBCA5:0x2345,0xEFBCA6:0x2346,0xEFBCA7:0x2347,0xEFBCA8:0x2348, +0xEFBCA9:0x2349,0xEFBCAA:0x234A,0xEFBCAB:0x234B,0xEFBCAC:0x234C,0xEFBCAD:0x234D, +0xEFBCAE:0x234E,0xEFBCAF:0x234F,0xEFBCB0:0x2350,0xEFBCB1:0x2351,0xEFBCB2:0x2352, +0xEFBCB3:0x2353,0xEFBCB4:0x2354,0xEFBCB5:0x2355,0xEFBCB6:0x2356,0xEFBCB7:0x2357, +0xEFBCB8:0x2358,0xEFBCB9:0x2359,0xEFBCBA:0x235A,0xEFBD81:0x2361,0xEFBD82:0x2362, +0xEFBD83:0x2363,0xEFBD84:0x2364,0xEFBD85:0x2365,0xEFBD86:0x2366,0xEFBD87:0x2367, +0xEFBD88:0x2368,0xEFBD89:0x2369,0xEFBD8A:0x236A,0xEFBD8B:0x236B,0xEFBD8C:0x236C, +0xEFBD8D:0x236D,0xEFBD8E:0x236E,0xEFBD8F:0x236F,0xEFBD90:0x2370,0xEFBD91:0x2371, +0xEFBD92:0x2372,0xEFBD93:0x2373,0xEFBD94:0x2374,0xEFBD95:0x2375,0xEFBD96:0x2376, +0xEFBD97:0x2377,0xEFBD98:0x2378,0xEFBD99:0x2379,0xEFBD9A:0x237A,0xE38181:0x2421, +0xE38182:0x2422,0xE38183:0x2423,0xE38184:0x2424,0xE38185:0x2425,0xE38186:0x2426, +0xE38187:0x2427,0xE38188:0x2428,0xE38189:0x2429,0xE3818A:0x242A,0xE3818B:0x242B, +0xE3818C:0x242C,0xE3818D:0x242D,0xE3818E:0x242E,0xE3818F:0x242F,0xE38190:0x2430, +0xE38191:0x2431,0xE38192:0x2432,0xE38193:0x2433,0xE38194:0x2434,0xE38195:0x2435, +0xE38196:0x2436,0xE38197:0x2437,0xE38198:0x2438,0xE38199:0x2439,0xE3819A:0x243A, +0xE3819B:0x243B,0xE3819C:0x243C,0xE3819D:0x243D,0xE3819E:0x243E,0xE3819F:0x243F, +0xE381A0:0x2440,0xE381A1:0x2441,0xE381A2:0x2442,0xE381A3:0x2443,0xE381A4:0x2444, +0xE381A5:0x2445,0xE381A6:0x2446,0xE381A7:0x2447,0xE381A8:0x2448,0xE381A9:0x2449, +0xE381AA:0x244A,0xE381AB:0x244B,0xE381AC:0x244C,0xE381AD:0x244D,0xE381AE:0x244E, +0xE381AF:0x244F,0xE381B0:0x2450,0xE381B1:0x2451,0xE381B2:0x2452,0xE381B3:0x2453, +0xE381B4:0x2454,0xE381B5:0x2455,0xE381B6:0x2456,0xE381B7:0x2457,0xE381B8:0x2458, +0xE381B9:0x2459,0xE381BA:0x245A,0xE381BB:0x245B,0xE381BC:0x245C,0xE381BD:0x245D, +0xE381BE:0x245E,0xE381BF:0x245F,0xE38280:0x2460,0xE38281:0x2461,0xE38282:0x2462, +0xE38283:0x2463,0xE38284:0x2464,0xE38285:0x2465,0xE38286:0x2466,0xE38287:0x2467, +0xE38288:0x2468,0xE38289:0x2469,0xE3828A:0x246A,0xE3828B:0x246B,0xE3828C:0x246C, +0xE3828D:0x246D,0xE3828E:0x246E,0xE3828F:0x246F,0xE38290:0x2470,0xE38291:0x2471, +0xE38292:0x2472,0xE38293:0x2473,0xE382A1:0x2521,0xE382A2:0x2522,0xE382A3:0x2523, +0xE382A4:0x2524,0xE382A5:0x2525,0xE382A6:0x2526,0xE382A7:0x2527,0xE382A8:0x2528, +0xE382A9:0x2529,0xE382AA:0x252A,0xE382AB:0x252B,0xE382AC:0x252C,0xE382AD:0x252D, +0xE382AE:0x252E,0xE382AF:0x252F,0xE382B0:0x2530,0xE382B1:0x2531,0xE382B2:0x2532, +0xE382B3:0x2533,0xE382B4:0x2534,0xE382B5:0x2535,0xE382B6:0x2536,0xE382B7:0x2537, +0xE382B8:0x2538,0xE382B9:0x2539,0xE382BA:0x253A,0xE382BB:0x253B,0xE382BC:0x253C, +0xE382BD:0x253D,0xE382BE:0x253E,0xE382BF:0x253F,0xE38380:0x2540,0xE38381:0x2541, +0xE38382:0x2542,0xE38383:0x2543,0xE38384:0x2544,0xE38385:0x2545,0xE38386:0x2546, +0xE38387:0x2547,0xE38388:0x2548,0xE38389:0x2549,0xE3838A:0x254A,0xE3838B:0x254B, +0xE3838C:0x254C,0xE3838D:0x254D,0xE3838E:0x254E,0xE3838F:0x254F,0xE38390:0x2550, +0xE38391:0x2551,0xE38392:0x2552,0xE38393:0x2553,0xE38394:0x2554,0xE38395:0x2555, +0xE38396:0x2556,0xE38397:0x2557,0xE38398:0x2558,0xE38399:0x2559,0xE3839A:0x255A, +0xE3839B:0x255B,0xE3839C:0x255C,0xE3839D:0x255D,0xE3839E:0x255E,0xE3839F:0x255F, +0xE383A0:0x2560,0xE383A1:0x2561,0xE383A2:0x2562,0xE383A3:0x2563,0xE383A4:0x2564, +0xE383A5:0x2565,0xE383A6:0x2566,0xE383A7:0x2567,0xE383A8:0x2568,0xE383A9:0x2569, +0xE383AA:0x256A,0xE383AB:0x256B,0xE383AC:0x256C,0xE383AD:0x256D,0xE383AE:0x256E, +0xE383AF:0x256F,0xE383B0:0x2570,0xE383B1:0x2571,0xE383B2:0x2572,0xE383B3:0x2573, +0xE383B4:0x2574,0xE383B5:0x2575,0xE383B6:0x2576,0xCE91:0x2621,0xCE92:0x2622, +0xCE93:0x2623,0xCE94:0x2624,0xCE95:0x2625,0xCE96:0x2626,0xCE97:0x2627, +0xCE98:0x2628,0xCE99:0x2629,0xCE9A:0x262A,0xCE9B:0x262B,0xCE9C:0x262C, +0xCE9D:0x262D,0xCE9E:0x262E,0xCE9F:0x262F,0xCEA0:0x2630,0xCEA1:0x2631, +0xCEA3:0x2632,0xCEA4:0x2633,0xCEA5:0x2634,0xCEA6:0x2635,0xCEA7:0x2636, +0xCEA8:0x2637,0xCEA9:0x2638,0xCEB1:0x2641,0xCEB2:0x2642,0xCEB3:0x2643, +0xCEB4:0x2644,0xCEB5:0x2645,0xCEB6:0x2646,0xCEB7:0x2647,0xCEB8:0x2648, +0xCEB9:0x2649,0xCEBA:0x264A,0xCEBB:0x264B,0xCEBC:0x264C,0xCEBD:0x264D, +0xCEBE:0x264E,0xCEBF:0x264F,0xCF80:0x2650,0xCF81:0x2651,0xCF83:0x2652, +0xCF84:0x2653,0xCF85:0x2654,0xCF86:0x2655,0xCF87:0x2656,0xCF88:0x2657, +0xCF89:0x2658,0xD090:0x2721,0xD091:0x2722,0xD092:0x2723,0xD093:0x2724, +0xD094:0x2725,0xD095:0x2726,0xD081:0x2727,0xD096:0x2728,0xD097:0x2729, +0xD098:0x272A,0xD099:0x272B,0xD09A:0x272C,0xD09B:0x272D,0xD09C:0x272E, +0xD09D:0x272F,0xD09E:0x2730,0xD09F:0x2731,0xD0A0:0x2732,0xD0A1:0x2733, +0xD0A2:0x2734,0xD0A3:0x2735,0xD0A4:0x2736,0xD0A5:0x2737,0xD0A6:0x2738, +0xD0A7:0x2739,0xD0A8:0x273A,0xD0A9:0x273B,0xD0AA:0x273C,0xD0AB:0x273D, +0xD0AC:0x273E,0xD0AD:0x273F,0xD0AE:0x2740,0xD0AF:0x2741,0xD0B0:0x2751, +0xD0B1:0x2752,0xD0B2:0x2753,0xD0B3:0x2754,0xD0B4:0x2755,0xD0B5:0x2756, +0xD191:0x2757,0xD0B6:0x2758,0xD0B7:0x2759,0xD0B8:0x275A,0xD0B9:0x275B, +0xD0BA:0x275C,0xD0BB:0x275D,0xD0BC:0x275E,0xD0BD:0x275F,0xD0BE:0x2760, +0xD0BF:0x2761,0xD180:0x2762,0xD181:0x2763,0xD182:0x2764,0xD183:0x2765, +0xD184:0x2766,0xD185:0x2767,0xD186:0x2768,0xD187:0x2769,0xD188:0x276A, +0xD189:0x276B,0xD18A:0x276C,0xD18B:0x276D,0xD18C:0x276E,0xD18D:0x276F, +0xD18E:0x2770,0xD18F:0x2771,0xE29480:0x2821,0xE29482:0x2822,0xE2948C:0x2823, +0xE29490:0x2824,0xE29498:0x2825,0xE29494:0x2826,0xE2949C:0x2827,0xE294AC:0x2828, +0xE294A4:0x2829,0xE294B4:0x282A,0xE294BC:0x282B,0xE29481:0x282C,0xE29483:0x282D, +0xE2948F:0x282E,0xE29493:0x282F,0xE2949B:0x2830,0xE29497:0x2831,0xE294A3:0x2832, +0xE294B3:0x2833,0xE294AB:0x2834,0xE294BB:0x2835,0xE2958B:0x2836,0xE294A0:0x2837, +0xE294AF:0x2838,0xE294A8:0x2839,0xE294B7:0x283A,0xE294BF:0x283B,0xE2949D:0x283C, +0xE294B0:0x283D,0xE294A5:0x283E,0xE294B8:0x283F,0xE29582:0x2840,0xE4BA9C:0x3021, +0xE59496:0x3022,0xE5A883:0x3023,0xE998BF:0x3024,0xE59380:0x3025,0xE6849B:0x3026, +0xE68CA8:0x3027,0xE5A7B6:0x3028,0xE980A2:0x3029,0xE891B5:0x302A,0xE88C9C:0x302B, +0xE7A990:0x302C,0xE682AA:0x302D,0xE68FA1:0x302E,0xE6B8A5:0x302F,0xE697AD:0x3030, +0xE891A6:0x3031,0xE88AA6:0x3032,0xE9AFB5:0x3033,0xE6A293:0x3034,0xE59CA7:0x3035, +0xE696A1:0x3036,0xE689B1:0x3037,0xE5AE9B:0x3038,0xE5A790:0x3039,0xE899BB:0x303A, +0xE9A3B4:0x303B,0xE7B5A2:0x303C,0xE7B6BE:0x303D,0xE9AE8E:0x303E,0xE68896:0x303F, +0xE7B29F:0x3040,0xE8A2B7:0x3041,0xE5AE89:0x3042,0xE5BAB5:0x3043,0xE68C89:0x3044, +0xE69A97:0x3045,0xE6A188:0x3046,0xE99787:0x3047,0xE99E8D:0x3048,0xE69D8F:0x3049, +0xE4BBA5:0x304A,0xE4BC8A:0x304B,0xE4BD8D:0x304C,0xE4BE9D:0x304D,0xE58189:0x304E, +0xE59BB2:0x304F,0xE5A4B7:0x3050,0xE5A794:0x3051,0xE5A881:0x3052,0xE5B089:0x3053, +0xE6839F:0x3054,0xE6848F:0x3055,0xE685B0:0x3056,0xE69893:0x3057,0xE6A485:0x3058, +0xE782BA:0x3059,0xE7958F:0x305A,0xE795B0:0x305B,0xE7A7BB:0x305C,0xE7B6AD:0x305D, +0xE7B7AF:0x305E,0xE88383:0x305F,0xE8908E:0x3060,0xE8A1A3:0x3061,0xE8AC82:0x3062, +0xE98195:0x3063,0xE981BA:0x3064,0xE58CBB:0x3065,0xE4BA95:0x3066,0xE4BAA5:0x3067, +0xE59F9F:0x3068,0xE882B2:0x3069,0xE98381:0x306A,0xE7A3AF:0x306B,0xE4B880:0x306C, +0xE5A3B1:0x306D,0xE6BAA2:0x306E,0xE980B8:0x306F,0xE7A8B2:0x3070,0xE88CA8:0x3071, +0xE88A8B:0x3072,0xE9B0AF:0x3073,0xE58581:0x3074,0xE58DB0:0x3075,0xE592BD:0x3076, +0xE593A1:0x3077,0xE59BA0:0x3078,0xE5A7BB:0x3079,0xE5BC95:0x307A,0xE9A3B2:0x307B, +0xE6B7AB:0x307C,0xE883A4:0x307D,0xE894AD:0x307E,0xE999A2:0x3121,0xE999B0:0x3122, +0xE99AA0:0x3123,0xE99FBB:0x3124,0xE5908B:0x3125,0xE58FB3:0x3126,0xE5AE87:0x3127, +0xE7838F:0x3128,0xE7BEBD:0x3129,0xE8BF82:0x312A,0xE99BA8:0x312B,0xE58DAF:0x312C, +0xE9B59C:0x312D,0xE7AABA:0x312E,0xE4B891:0x312F,0xE7A293:0x3130,0xE887BC:0x3131, +0xE6B8A6:0x3132,0xE59898:0x3133,0xE59484:0x3134,0xE6AC9D:0x3135,0xE8949A:0x3136, +0xE9B0BB:0x3137,0xE5A7A5:0x3138,0xE58EA9:0x3139,0xE6B5A6:0x313A,0xE7939C:0x313B, +0xE9968F:0x313C,0xE59982:0x313D,0xE4BA91:0x313E,0xE9818B:0x313F,0xE99BB2:0x3140, +0xE88D8F:0x3141,0xE9A48C:0x3142,0xE58FA1:0x3143,0xE596B6:0x3144,0xE5ACB0:0x3145, +0xE5BDB1:0x3146,0xE698A0:0x3147,0xE69BB3:0x3148,0xE6A084:0x3149,0xE6B0B8:0x314A, +0xE6B3B3:0x314B,0xE6B4A9:0x314C,0xE7919B:0x314D,0xE79B88:0x314E,0xE7A98E:0x314F, +0xE9A0B4:0x3150,0xE88BB1:0x3151,0xE8A19B:0x3152,0xE8A9A0:0x3153,0xE98BAD:0x3154, +0xE6B6B2:0x3155,0xE796AB:0x3156,0xE79B8A:0x3157,0xE9A785:0x3158,0xE682A6:0x3159, +0xE8AC81:0x315A,0xE8B68A:0x315B,0xE996B2:0x315C,0xE6A68E:0x315D,0xE58EAD:0x315E, +0xE58686:0x315F,0xE59C92:0x3160,0xE5A0B0:0x3161,0xE5A584:0x3162,0xE5AEB4:0x3163, +0xE5BBB6:0x3164,0xE680A8:0x3165,0xE68EA9:0x3166,0xE68FB4:0x3167,0xE6B2BF:0x3168, +0xE6BC94:0x3169,0xE7828E:0x316A,0xE78494:0x316B,0xE78599:0x316C,0xE78795:0x316D, +0xE78CBF:0x316E,0xE7B881:0x316F,0xE889B6:0x3170,0xE88B91:0x3171,0xE89697:0x3172, +0xE981A0:0x3173,0xE9899B:0x3174,0xE9B49B:0x3175,0xE5A1A9:0x3176,0xE696BC:0x3177, +0xE6B19A:0x3178,0xE794A5:0x3179,0xE587B9:0x317A,0xE5A4AE:0x317B,0xE5A5A5:0x317C, +0xE5BE80:0x317D,0xE5BF9C:0x317E,0xE68ABC:0x3221,0xE697BA:0x3222,0xE6A8AA:0x3223, +0xE6ACA7:0x3224,0xE6AEB4:0x3225,0xE78E8B:0x3226,0xE7BF81:0x3227,0xE8A596:0x3228, +0xE9B4AC:0x3229,0xE9B48E:0x322A,0xE9BB84:0x322B,0xE5B2A1:0x322C,0xE6B296:0x322D, +0xE88DBB:0x322E,0xE58484:0x322F,0xE5B18B:0x3230,0xE686B6:0x3231,0xE88786:0x3232, +0xE6A1B6:0x3233,0xE789A1:0x3234,0xE4B999:0x3235,0xE4BFBA:0x3236,0xE58DB8:0x3237, +0xE681A9:0x3238,0xE6B8A9:0x3239,0xE7A98F:0x323A,0xE99FB3:0x323B,0xE4B88B:0x323C, +0xE58C96:0x323D,0xE4BBAE:0x323E,0xE4BD95:0x323F,0xE4BCBD:0x3240,0xE4BEA1:0x3241, +0xE4BDB3:0x3242,0xE58AA0:0x3243,0xE58FAF:0x3244,0xE59889:0x3245,0xE5A48F:0x3246, +0xE5AB81:0x3247,0xE5AEB6:0x3248,0xE5AFA1:0x3249,0xE7A791:0x324A,0xE69A87:0x324B, +0xE69E9C:0x324C,0xE69EB6:0x324D,0xE6AD8C:0x324E,0xE6B2B3:0x324F,0xE781AB:0x3250, +0xE78F82:0x3251,0xE7A68D:0x3252,0xE7A6BE:0x3253,0xE7A8BC:0x3254,0xE7AE87:0x3255, +0xE88AB1:0x3256,0xE88B9B:0x3257,0xE88C84:0x3258,0xE88DB7:0x3259,0xE88FAF:0x325A, +0xE88F93:0x325B,0xE89DA6:0x325C,0xE8AAB2:0x325D,0xE598A9:0x325E,0xE8B2A8:0x325F, +0xE8BFA6:0x3260,0xE9818E:0x3261,0xE99C9E:0x3262,0xE89A8A:0x3263,0xE4BF84:0x3264, +0xE5B3A8:0x3265,0xE68891:0x3266,0xE78999:0x3267,0xE794BB:0x3268,0xE887A5:0x3269, +0xE88ABD:0x326A,0xE89BBE:0x326B,0xE8B380:0x326C,0xE99B85:0x326D,0xE9A493:0x326E, +0xE9A795:0x326F,0xE4BB8B:0x3270,0xE4BC9A:0x3271,0xE8A7A3:0x3272,0xE59B9E:0x3273, +0xE5A18A:0x3274,0xE5A38A:0x3275,0xE5BBBB:0x3276,0xE5BFAB:0x3277,0xE680AA:0x3278, +0xE68294:0x3279,0xE681A2:0x327A,0xE68790:0x327B,0xE68892:0x327C,0xE68B90:0x327D, +0xE694B9:0x327E,0xE9AD81:0x3321,0xE699A6:0x3322,0xE6A2B0:0x3323,0xE6B5B7:0x3324, +0xE781B0:0x3325,0xE7958C:0x3326,0xE79A86:0x3327,0xE7B5B5:0x3328,0xE88AA5:0x3329, +0xE89FB9:0x332A,0xE9968B:0x332B,0xE99A8E:0x332C,0xE8B29D:0x332D,0xE587B1:0x332E, +0xE58ABE:0x332F,0xE5A496:0x3330,0xE592B3:0x3331,0xE5AEB3:0x3332,0xE5B496:0x3333, +0xE685A8:0x3334,0xE6A682:0x3335,0xE6B6AF:0x3336,0xE7A28D:0x3337,0xE8938B:0x3338, +0xE8A197:0x3339,0xE8A9B2:0x333A,0xE98EA7:0x333B,0xE9AAB8:0x333C,0xE6B5AC:0x333D, +0xE9A6A8:0x333E,0xE89B99:0x333F,0xE59EA3:0x3340,0xE69FBF:0x3341,0xE89B8E:0x3342, +0xE9888E:0x3343,0xE58A83:0x3344,0xE59A87:0x3345,0xE59084:0x3346,0xE5BB93:0x3347, +0xE68BA1:0x3348,0xE692B9:0x3349,0xE6A0BC:0x334A,0xE6A0B8:0x334B,0xE6AEBB:0x334C, +0xE78DB2:0x334D,0xE7A2BA:0x334E,0xE7A9AB:0x334F,0xE8A69A:0x3350,0xE8A792:0x3351, +0xE8B5AB:0x3352,0xE8BC83:0x3353,0xE983AD:0x3354,0xE996A3:0x3355,0xE99A94:0x3356, +0xE99DA9:0x3357,0xE5ADA6:0x3358,0xE5B2B3:0x3359,0xE6A5BD:0x335A,0xE9A18D:0x335B, +0xE9A18E:0x335C,0xE68E9B:0x335D,0xE7ACA0:0x335E,0xE6A8AB:0x335F,0xE6A9BF:0x3360, +0xE6A2B6:0x3361,0xE9B08D:0x3362,0xE6BD9F:0x3363,0xE589B2:0x3364,0xE5969D:0x3365, +0xE681B0:0x3366,0xE68BAC:0x3367,0xE6B4BB:0x3368,0xE6B887:0x3369,0xE6BB91:0x336A, +0xE8919B:0x336B,0xE8A490:0x336C,0xE8BD84:0x336D,0xE4B894:0x336E,0xE9B0B9:0x336F, +0xE58FB6:0x3370,0xE6A49B:0x3371,0xE6A8BA:0x3372,0xE99E84:0x3373,0xE6A0AA:0x3374, +0xE5859C:0x3375,0xE7AB83:0x3376,0xE892B2:0x3377,0xE9879C:0x3378,0xE98E8C:0x3379, +0xE5999B:0x337A,0xE9B4A8:0x337B,0xE6A0A2:0x337C,0xE88C85:0x337D,0xE890B1:0x337E, +0xE7B2A5:0x3421,0xE58888:0x3422,0xE88B85:0x3423,0xE793A6:0x3424,0xE4B9BE:0x3425, +0xE4BE83:0x3426,0xE586A0:0x3427,0xE5AF92:0x3428,0xE5888A:0x3429,0xE58B98:0x342A, +0xE58BA7:0x342B,0xE5B7BB:0x342C,0xE5969A:0x342D,0xE5A0AA:0x342E,0xE5A7A6:0x342F, +0xE5AE8C:0x3430,0xE5AE98:0x3431,0xE5AF9B:0x3432,0xE5B9B2:0x3433,0xE5B9B9:0x3434, +0xE682A3:0x3435,0xE6849F:0x3436,0xE685A3:0x3437,0xE686BE:0x3438,0xE68F9B:0x3439, +0xE695A2:0x343A,0xE69F91:0x343B,0xE6A193:0x343C,0xE6A3BA:0x343D,0xE6ACBE:0x343E, +0xE6AD93:0x343F,0xE6B197:0x3440,0xE6BCA2:0x3441,0xE6BE97:0x3442,0xE6BD85:0x3443, +0xE792B0:0x3444,0xE79498:0x3445,0xE79BA3:0x3446,0xE79C8B:0x3447,0xE7ABBF:0x3448, +0xE7AEA1:0x3449,0xE7B0A1:0x344A,0xE7B7A9:0x344B,0xE7BCB6:0x344C,0xE7BFB0:0x344D, +0xE8829D:0x344E,0xE889A6:0x344F,0xE88E9E:0x3450,0xE8A6B3:0x3451,0xE8AB8C:0x3452, +0xE8B2AB:0x3453,0xE98284:0x3454,0xE99191:0x3455,0xE99693:0x3456,0xE99691:0x3457, +0xE996A2:0x3458,0xE999A5:0x3459,0xE99F93:0x345A,0xE9A4A8:0x345B,0xE88898:0x345C, +0xE4B8B8:0x345D,0xE590AB:0x345E,0xE5B2B8:0x345F,0xE5B78C:0x3460,0xE78EA9:0x3461, +0xE7998C:0x3462,0xE79CBC:0x3463,0xE5B2A9:0x3464,0xE7BFAB:0x3465,0xE8B48B:0x3466, +0xE99B81:0x3467,0xE9A091:0x3468,0xE9A194:0x3469,0xE9A198:0x346A,0xE4BC81:0x346B, +0xE4BC8E:0x346C,0xE58DB1:0x346D,0xE5969C:0x346E,0xE599A8:0x346F,0xE59FBA:0x3470, +0xE5A587:0x3471,0xE5AC89:0x3472,0xE5AF84:0x3473,0xE5B290:0x3474,0xE5B88C:0x3475, +0xE5B9BE:0x3476,0xE5BF8C:0x3477,0xE68FAE:0x3478,0xE69CBA:0x3479,0xE69797:0x347A, +0xE697A2:0x347B,0xE69C9F:0x347C,0xE6A38B:0x347D,0xE6A384:0x347E,0xE6A99F:0x3521, +0xE5B8B0:0x3522,0xE6AF85:0x3523,0xE6B097:0x3524,0xE6B1BD:0x3525,0xE795BF:0x3526, +0xE7A588:0x3527,0xE5ADA3:0x3528,0xE7A880:0x3529,0xE7B480:0x352A,0xE5BEBD:0x352B, +0xE8A68F:0x352C,0xE8A898:0x352D,0xE8B2B4:0x352E,0xE8B5B7:0x352F,0xE8BB8C:0x3530, +0xE8BC9D:0x3531,0xE9A3A2:0x3532,0xE9A88E:0x3533,0xE9ACBC:0x3534,0xE4BA80:0x3535, +0xE581BD:0x3536,0xE58480:0x3537,0xE5A693:0x3538,0xE5AE9C:0x3539,0xE688AF:0x353A, +0xE68A80:0x353B,0xE693AC:0x353C,0xE6ACBA:0x353D,0xE78AA0:0x353E,0xE79691:0x353F, +0xE7A587:0x3540,0xE7BEA9:0x3541,0xE89FBB:0x3542,0xE8AABC:0x3543,0xE8ADB0:0x3544, +0xE68EAC:0x3545,0xE88F8A:0x3546,0xE99EA0:0x3547,0xE59089:0x3548,0xE59083:0x3549, +0xE596AB:0x354A,0xE6A194:0x354B,0xE6A998:0x354C,0xE8A9B0:0x354D,0xE7A0A7:0x354E, +0xE69DB5:0x354F,0xE9BB8D:0x3550,0xE58DB4:0x3551,0xE5AEA2:0x3552,0xE8849A:0x3553, +0xE89990:0x3554,0xE98086:0x3555,0xE4B898:0x3556,0xE4B985:0x3557,0xE4BB87:0x3558, +0xE4BC91:0x3559,0xE58F8A:0x355A,0xE590B8:0x355B,0xE5AEAE:0x355C,0xE5BC93:0x355D, +0xE680A5:0x355E,0xE69591:0x355F,0xE69CBD:0x3560,0xE6B182:0x3561,0xE6B1B2:0x3562, +0xE6B3A3:0x3563,0xE781B8:0x3564,0xE79083:0x3565,0xE7A9B6:0x3566,0xE7AAAE:0x3567, +0xE7AC88:0x3568,0xE7B49A:0x3569,0xE7B3BE:0x356A,0xE7B5A6:0x356B,0xE697A7:0x356C, +0xE7899B:0x356D,0xE58EBB:0x356E,0xE5B185:0x356F,0xE5B7A8:0x3570,0xE68B92:0x3571, +0xE68BA0:0x3572,0xE68C99:0x3573,0xE6B8A0:0x3574,0xE8999A:0x3575,0xE8A8B1:0x3576, +0xE8B79D:0x3577,0xE98BB8:0x3578,0xE6BC81:0x3579,0xE7A6A6:0x357A,0xE9AD9A:0x357B, +0xE4BAA8:0x357C,0xE4BAAB:0x357D,0xE4BAAC:0x357E,0xE4BE9B:0x3621,0xE4BEA0:0x3622, +0xE58391:0x3623,0xE58587:0x3624,0xE7ABB6:0x3625,0xE585B1:0x3626,0xE587B6:0x3627, +0xE58D94:0x3628,0xE58CA1:0x3629,0xE58DBF:0x362A,0xE58FAB:0x362B,0xE596AC:0x362C, +0xE5A283:0x362D,0xE5B3A1:0x362E,0xE5BCB7:0x362F,0xE5BD8A:0x3630,0xE680AF:0x3631, +0xE68190:0x3632,0xE681AD:0x3633,0xE68C9F:0x3634,0xE69599:0x3635,0xE6A98B:0x3636, +0xE6B381:0x3637,0xE78B82:0x3638,0xE78BAD:0x3639,0xE79FAF:0x363A,0xE883B8:0x363B, +0xE88485:0x363C,0xE88888:0x363D,0xE8958E:0x363E,0xE983B7:0x363F,0xE98FA1:0x3640, +0xE99FBF:0x3641,0xE9A597:0x3642,0xE9A99A:0x3643,0xE4BBB0:0x3644,0xE5879D:0x3645, +0xE5B0AD:0x3646,0xE69A81:0x3647,0xE6A5AD:0x3648,0xE5B180:0x3649,0xE69BB2:0x364A, +0xE6A5B5:0x364B,0xE78E89:0x364C,0xE6A190:0x364D,0xE7B281:0x364E,0xE58385:0x364F, +0xE58BA4:0x3650,0xE59D87:0x3651,0xE5B7BE:0x3652,0xE98CA6:0x3653,0xE696A4:0x3654, +0xE6ACA3:0x3655,0xE6ACBD:0x3656,0xE790B4:0x3657,0xE7A681:0x3658,0xE7A6BD:0x3659, +0xE7AD8B:0x365A,0xE7B78A:0x365B,0xE88AB9:0x365C,0xE88F8C:0x365D,0xE8A1BF:0x365E, +0xE8A59F:0x365F,0xE8ACB9:0x3660,0xE8BF91:0x3661,0xE98791:0x3662,0xE5909F:0x3663, +0xE98A80:0x3664,0xE4B99D:0x3665,0xE580B6:0x3666,0xE58FA5:0x3667,0xE58CBA:0x3668, +0xE78B97:0x3669,0xE78E96:0x366A,0xE79FA9:0x366B,0xE88BA6:0x366C,0xE8BAAF:0x366D, +0xE9A786:0x366E,0xE9A788:0x366F,0xE9A792:0x3670,0xE585B7:0x3671,0xE6849A:0x3672, +0xE8999E:0x3673,0xE596B0:0x3674,0xE7A9BA:0x3675,0xE581B6:0x3676,0xE5AF93:0x3677, +0xE98187:0x3678,0xE99A85:0x3679,0xE4B8B2:0x367A,0xE6AB9B:0x367B,0xE987A7:0x367C, +0xE5B191:0x367D,0xE5B188:0x367E,0xE68E98:0x3721,0xE7AA9F:0x3722,0xE6B293:0x3723, +0xE99DB4:0x3724,0xE8BDA1:0x3725,0xE7AAAA:0x3726,0xE7868A:0x3727,0xE99A88:0x3728, +0xE7B282:0x3729,0xE6A097:0x372A,0xE7B9B0:0x372B,0xE6A191:0x372C,0xE98DAC:0x372D, +0xE58BB2:0x372E,0xE5909B:0x372F,0xE896AB:0x3730,0xE8A893:0x3731,0xE7BEA4:0x3732, +0xE8BB8D:0x3733,0xE983A1:0x3734,0xE58DA6:0x3735,0xE8A288:0x3736,0xE7A581:0x3737, +0xE4BF82:0x3738,0xE582BE:0x3739,0xE58891:0x373A,0xE58584:0x373B,0xE59593:0x373C, +0xE59CAD:0x373D,0xE78FAA:0x373E,0xE59E8B:0x373F,0xE5A591:0x3740,0xE5BDA2:0x3741, +0xE5BE84:0x3742,0xE681B5:0x3743,0xE685B6:0x3744,0xE685A7:0x3745,0xE686A9:0x3746, +0xE68EB2:0x3747,0xE690BA:0x3748,0xE695AC:0x3749,0xE699AF:0x374A,0xE6A182:0x374B, +0xE6B893:0x374C,0xE795A6:0x374D,0xE7A8BD:0x374E,0xE7B3BB:0x374F,0xE7B58C:0x3750, +0xE7B699:0x3751,0xE7B98B:0x3752,0xE7BDAB:0x3753,0xE88C8E:0x3754,0xE88D8A:0x3755, +0xE89B8D:0x3756,0xE8A888:0x3757,0xE8A9A3:0x3758,0xE8ADA6:0x3759,0xE8BBBD:0x375A, +0xE9A09A:0x375B,0xE9B68F:0x375C,0xE88AB8:0x375D,0xE8BF8E:0x375E,0xE9AFA8:0x375F, +0xE58A87:0x3760,0xE6889F:0x3761,0xE69283:0x3762,0xE6BF80:0x3763,0xE99A99:0x3764, +0xE6A181:0x3765,0xE58291:0x3766,0xE6ACA0:0x3767,0xE6B1BA:0x3768,0xE6BD94:0x3769, +0xE7A9B4:0x376A,0xE7B590:0x376B,0xE8A180:0x376C,0xE8A8A3:0x376D,0xE69C88:0x376E, +0xE4BBB6:0x376F,0xE580B9:0x3770,0xE580A6:0x3771,0xE581A5:0x3772,0xE585BC:0x3773, +0xE588B8:0x3774,0xE589A3:0x3775,0xE596A7:0x3776,0xE59C8F:0x3777,0xE5A085:0x3778, +0xE5AB8C:0x3779,0xE5BBBA:0x377A,0xE686B2:0x377B,0xE687B8:0x377C,0xE68BB3:0x377D, +0xE68DB2:0x377E,0xE6A49C:0x3821,0xE6A8A9:0x3822,0xE789BD:0x3823,0xE78AAC:0x3824, +0xE78CAE:0x3825,0xE7A094:0x3826,0xE7A1AF:0x3827,0xE7B5B9:0x3828,0xE79C8C:0x3829, +0xE882A9:0x382A,0xE8A68B:0x382B,0xE8AC99:0x382C,0xE8B3A2:0x382D,0xE8BB92:0x382E, +0xE981A3:0x382F,0xE98DB5:0x3830,0xE999BA:0x3831,0xE9A195:0x3832,0xE9A893:0x3833, +0xE9B9B8:0x3834,0xE58583:0x3835,0xE58E9F:0x3836,0xE58EB3:0x3837,0xE5B9BB:0x3838, +0xE5BCA6:0x3839,0xE6B89B:0x383A,0xE6BA90:0x383B,0xE78E84:0x383C,0xE78FBE:0x383D, +0xE7B583:0x383E,0xE888B7:0x383F,0xE8A880:0x3840,0xE8ABBA:0x3841,0xE99990:0x3842, +0xE4B98E:0x3843,0xE5808B:0x3844,0xE58FA4:0x3845,0xE591BC:0x3846,0xE59BBA:0x3847, +0xE5A791:0x3848,0xE5ADA4:0x3849,0xE5B7B1:0x384A,0xE5BAAB:0x384B,0xE5BCA7:0x384C, +0xE688B8:0x384D,0xE69585:0x384E,0xE69EAF:0x384F,0xE6B996:0x3850,0xE78B90:0x3851, +0xE7B38A:0x3852,0xE8A2B4:0x3853,0xE882A1:0x3854,0xE883A1:0x3855,0xE88FB0:0x3856, +0xE8998E:0x3857,0xE8AA87:0x3858,0xE8B7A8:0x3859,0xE988B7:0x385A,0xE99B87:0x385B, +0xE9A1A7:0x385C,0xE9BC93:0x385D,0xE4BA94:0x385E,0xE4BA92:0x385F,0xE4BC8D:0x3860, +0xE58D88:0x3861,0xE59189:0x3862,0xE590BE:0x3863,0xE5A8AF:0x3864,0xE5BE8C:0x3865, +0xE5BEA1:0x3866,0xE6829F:0x3867,0xE6A2A7:0x3868,0xE6AA8E:0x3869,0xE7919A:0x386A, +0xE7A281:0x386B,0xE8AA9E:0x386C,0xE8AAA4:0x386D,0xE8ADB7:0x386E,0xE98690:0x386F, +0xE4B99E:0x3870,0xE9AF89:0x3871,0xE4BAA4:0x3872,0xE4BDBC:0x3873,0xE4BEAF:0x3874, +0xE58099:0x3875,0xE58096:0x3876,0xE58589:0x3877,0xE585AC:0x3878,0xE58A9F:0x3879, +0xE58AB9:0x387A,0xE58BBE:0x387B,0xE58E9A:0x387C,0xE58FA3:0x387D,0xE59091:0x387E, +0xE5908E:0x3921,0xE59689:0x3922,0xE59D91:0x3923,0xE59EA2:0x3924,0xE5A5BD:0x3925, +0xE5AD94:0x3926,0xE5AD9D:0x3927,0xE5AE8F:0x3928,0xE5B7A5:0x3929,0xE5B7A7:0x392A, +0xE5B7B7:0x392B,0xE5B9B8:0x392C,0xE5BA83:0x392D,0xE5BA9A:0x392E,0xE5BAB7:0x392F, +0xE5BC98:0x3930,0xE68192:0x3931,0xE6858C:0x3932,0xE68A97:0x3933,0xE68B98:0x3934, +0xE68EA7:0x3935,0xE694BB:0x3936,0xE69882:0x3937,0xE69983:0x3938,0xE69BB4:0x3939, +0xE69DAD:0x393A,0xE6A0A1:0x393B,0xE6A297:0x393C,0xE6A78B:0x393D,0xE6B19F:0x393E, +0xE6B4AA:0x393F,0xE6B5A9:0x3940,0xE6B8AF:0x3941,0xE6BA9D:0x3942,0xE794B2:0x3943, +0xE79A87:0x3944,0xE7A1AC:0x3945,0xE7A8BF:0x3946,0xE7B3A0:0x3947,0xE7B485:0x3948, +0xE7B498:0x3949,0xE7B59E:0x394A,0xE7B6B1:0x394B,0xE88095:0x394C,0xE88083:0x394D, +0xE882AF:0x394E,0xE882B1:0x394F,0xE88594:0x3950,0xE8868F:0x3951,0xE888AA:0x3952, +0xE88D92:0x3953,0xE8A18C:0x3954,0xE8A1A1:0x3955,0xE8AC9B:0x3956,0xE8B2A2:0x3957, +0xE8B3BC:0x3958,0xE9838A:0x3959,0xE985B5:0x395A,0xE989B1:0x395B,0xE7A0BF:0x395C, +0xE98BBC:0x395D,0xE996A4:0x395E,0xE9998D:0x395F,0xE9A085:0x3960,0xE9A699:0x3961, +0xE9AB98:0x3962,0xE9B4BB:0x3963,0xE5899B:0x3964,0xE58AAB:0x3965,0xE58FB7:0x3966, +0xE59088:0x3967,0xE5A395:0x3968,0xE68BB7:0x3969,0xE6BFA0:0x396A,0xE8B1AA:0x396B, +0xE8BD9F:0x396C,0xE9BAB9:0x396D,0xE5858B:0x396E,0xE588BB:0x396F,0xE5918A:0x3970, +0xE59BBD:0x3971,0xE7A980:0x3972,0xE985B7:0x3973,0xE9B5A0:0x3974,0xE9BB92:0x3975, +0xE78D84:0x3976,0xE6BC89:0x3977,0xE885B0:0x3978,0xE79491:0x3979,0xE5BFBD:0x397A, +0xE6839A:0x397B,0xE9AAA8:0x397C,0xE78B9B:0x397D,0xE8BEBC:0x397E,0xE6ADA4:0x3A21, +0xE9A083:0x3A22,0xE4BB8A:0x3A23,0xE59BB0:0x3A24,0xE59DA4:0x3A25,0xE5A2BE:0x3A26, +0xE5A99A:0x3A27,0xE681A8:0x3A28,0xE68787:0x3A29,0xE6988F:0x3A2A,0xE69886:0x3A2B, +0xE6A0B9:0x3A2C,0xE6A2B1:0x3A2D,0xE6B7B7:0x3A2E,0xE79795:0x3A2F,0xE7B4BA:0x3A30, +0xE889AE:0x3A31,0xE9AD82:0x3A32,0xE4BA9B:0x3A33,0xE4BD90:0x3A34,0xE58F89:0x3A35, +0xE59486:0x3A36,0xE5B5AF:0x3A37,0xE5B7A6:0x3A38,0xE5B7AE:0x3A39,0xE69FBB:0x3A3A, +0xE6B299:0x3A3B,0xE791B3:0x3A3C,0xE7A082:0x3A3D,0xE8A990:0x3A3E,0xE98E96:0x3A3F, +0xE8A39F:0x3A40,0xE59D90:0x3A41,0xE5BAA7:0x3A42,0xE68CAB:0x3A43,0xE582B5:0x3A44, +0xE582AC:0x3A45,0xE5868D:0x3A46,0xE69C80:0x3A47,0xE59389:0x3A48,0xE5A19E:0x3A49, +0xE5A6BB:0x3A4A,0xE5AEB0:0x3A4B,0xE5BDA9:0x3A4C,0xE6898D:0x3A4D,0xE68EA1:0x3A4E, +0xE6A0BD:0x3A4F,0xE6ADB3:0x3A50,0xE6B888:0x3A51,0xE781BD:0x3A52,0xE98787:0x3A53, +0xE78A80:0x3A54,0xE7A095:0x3A55,0xE7A0A6:0x3A56,0xE7A5AD:0x3A57,0xE6968E:0x3A58, +0xE7B4B0:0x3A59,0xE88F9C:0x3A5A,0xE8A381:0x3A5B,0xE8BC89:0x3A5C,0xE99A9B:0x3A5D, +0xE589A4:0x3A5E,0xE59CA8:0x3A5F,0xE69D90:0x3A60,0xE7BDAA:0x3A61,0xE8B2A1:0x3A62, +0xE586B4:0x3A63,0xE59D82:0x3A64,0xE998AA:0x3A65,0xE5A0BA:0x3A66,0xE6A68A:0x3A67, +0xE882B4:0x3A68,0xE592B2:0x3A69,0xE5B48E:0x3A6A,0xE59FBC:0x3A6B,0xE7A295:0x3A6C, +0xE9B7BA:0x3A6D,0xE4BD9C:0x3A6E,0xE5898A:0x3A6F,0xE5928B:0x3A70,0xE690BE:0x3A71, +0xE698A8:0x3A72,0xE69C94:0x3A73,0xE69FB5:0x3A74,0xE7AA84:0x3A75,0xE7AD96:0x3A76, +0xE7B4A2:0x3A77,0xE98CAF:0x3A78,0xE6A19C:0x3A79,0xE9AEAD:0x3A7A,0xE7ACB9:0x3A7B, +0xE58C99:0x3A7C,0xE5868A:0x3A7D,0xE588B7:0x3A7E,0xE5AF9F:0x3B21,0xE68BB6:0x3B22, +0xE692AE:0x3B23,0xE693A6:0x3B24,0xE69CAD:0x3B25,0xE6AEBA:0x3B26,0xE896A9:0x3B27, +0xE99B91:0x3B28,0xE79A90:0x3B29,0xE9AF96:0x3B2A,0xE68D8C:0x3B2B,0xE98C86:0x3B2C, +0xE9AEAB:0x3B2D,0xE79ABF:0x3B2E,0xE69992:0x3B2F,0xE4B889:0x3B30,0xE58298:0x3B31, +0xE58F82:0x3B32,0xE5B1B1:0x3B33,0xE683A8:0x3B34,0xE69292:0x3B35,0xE695A3:0x3B36, +0xE6A19F:0x3B37,0xE787A6:0x3B38,0xE78F8A:0x3B39,0xE794A3:0x3B3A,0xE7AE97:0x3B3B, +0xE7BA82:0x3B3C,0xE89A95:0x3B3D,0xE8AE83:0x3B3E,0xE8B39B:0x3B3F,0xE985B8:0x3B40, +0xE9A490:0x3B41,0xE696AC:0x3B42,0xE69AAB:0x3B43,0xE6AE8B:0x3B44,0xE4BB95:0x3B45, +0xE4BB94:0x3B46,0xE4BCBA:0x3B47,0xE4BDBF:0x3B48,0xE588BA:0x3B49,0xE58FB8:0x3B4A, +0xE58FB2:0x3B4B,0xE597A3:0x3B4C,0xE59B9B:0x3B4D,0xE5A3AB:0x3B4E,0xE5A78B:0x3B4F, +0xE5A789:0x3B50,0xE5A7BF:0x3B51,0xE5AD90:0x3B52,0xE5B18D:0x3B53,0xE5B882:0x3B54, +0xE5B8AB:0x3B55,0xE5BF97:0x3B56,0xE6809D:0x3B57,0xE68C87:0x3B58,0xE694AF:0x3B59, +0xE5AD9C:0x3B5A,0xE696AF:0x3B5B,0xE696BD:0x3B5C,0xE697A8:0x3B5D,0xE69E9D:0x3B5E, +0xE6ADA2:0x3B5F,0xE6ADBB:0x3B60,0xE6B08F:0x3B61,0xE78D85:0x3B62,0xE7A589:0x3B63, +0xE7A781:0x3B64,0xE7B3B8:0x3B65,0xE7B499:0x3B66,0xE7B4AB:0x3B67,0xE882A2:0x3B68, +0xE88482:0x3B69,0xE887B3:0x3B6A,0xE8A696:0x3B6B,0xE8A99E:0x3B6C,0xE8A9A9:0x3B6D, +0xE8A9A6:0x3B6E,0xE8AA8C:0x3B6F,0xE8ABAE:0x3B70,0xE8B387:0x3B71,0xE8B39C:0x3B72, +0xE99B8C:0x3B73,0xE9A3BC:0x3B74,0xE6ADAF:0x3B75,0xE4BA8B:0x3B76,0xE4BCBC:0x3B77, +0xE4BE8D:0x3B78,0xE58590:0x3B79,0xE5AD97:0x3B7A,0xE5AFBA:0x3B7B,0xE68588:0x3B7C, +0xE68C81:0x3B7D,0xE69982:0x3B7E,0xE6ACA1:0x3C21,0xE6BB8B:0x3C22,0xE6B2BB:0x3C23, +0xE788BE:0x3C24,0xE792BD:0x3C25,0xE79794:0x3C26,0xE7A381:0x3C27,0xE7A4BA:0x3C28, +0xE8808C:0x3C29,0xE880B3:0x3C2A,0xE887AA:0x3C2B,0xE89294:0x3C2C,0xE8BE9E:0x3C2D, +0xE6B190:0x3C2E,0xE9B9BF:0x3C2F,0xE5BC8F:0x3C30,0xE8AD98:0x3C31,0xE9B4AB:0x3C32, +0xE7ABBA:0x3C33,0xE8BBB8:0x3C34,0xE5AE8D:0x3C35,0xE99BAB:0x3C36,0xE4B883:0x3C37, +0xE58FB1:0x3C38,0xE59FB7:0x3C39,0xE5A4B1:0x3C3A,0xE5AB89:0x3C3B,0xE5AEA4:0x3C3C, +0xE68289:0x3C3D,0xE6B9BF:0x3C3E,0xE6BC86:0x3C3F,0xE796BE:0x3C40,0xE8B3AA:0x3C41, +0xE5AE9F:0x3C42,0xE89480:0x3C43,0xE7AFA0:0x3C44,0xE581B2:0x3C45,0xE69FB4:0x3C46, +0xE88A9D:0x3C47,0xE5B1A1:0x3C48,0xE8958A:0x3C49,0xE7B89E:0x3C4A,0xE8888E:0x3C4B, +0xE58699:0x3C4C,0xE5B084:0x3C4D,0xE68DA8:0x3C4E,0xE8B5A6:0x3C4F,0xE6969C:0x3C50, +0xE785AE:0x3C51,0xE7A4BE:0x3C52,0xE7B497:0x3C53,0xE88085:0x3C54,0xE8AC9D:0x3C55, +0xE8BB8A:0x3C56,0xE981AE:0x3C57,0xE89B87:0x3C58,0xE982AA:0x3C59,0xE5809F:0x3C5A, +0xE58BBA:0x3C5B,0xE5B0BA:0x3C5C,0xE69D93:0x3C5D,0xE781BC:0x3C5E,0xE788B5:0x3C5F, +0xE9858C:0x3C60,0xE98788:0x3C61,0xE98CAB:0x3C62,0xE88BA5:0x3C63,0xE5AF82:0x3C64, +0xE5BCB1:0x3C65,0xE683B9:0x3C66,0xE4B8BB:0x3C67,0xE58F96:0x3C68,0xE5AE88:0x3C69, +0xE6898B:0x3C6A,0xE69CB1:0x3C6B,0xE6AE8A:0x3C6C,0xE78BA9:0x3C6D,0xE78FA0:0x3C6E, +0xE7A8AE:0x3C6F,0xE885AB:0x3C70,0xE8B6A3:0x3C71,0xE98592:0x3C72,0xE9A696:0x3C73, +0xE58492:0x3C74,0xE58F97:0x3C75,0xE591AA:0x3C76,0xE5AFBF:0x3C77,0xE68E88:0x3C78, +0xE6A8B9:0x3C79,0xE7B6AC:0x3C7A,0xE99C80:0x3C7B,0xE59B9A:0x3C7C,0xE58F8E:0x3C7D, +0xE591A8:0x3C7E,0xE5AE97:0x3D21,0xE5B0B1:0x3D22,0xE5B79E:0x3D23,0xE4BFAE:0x3D24, +0xE68481:0x3D25,0xE68BBE:0x3D26,0xE6B4B2:0x3D27,0xE7A780:0x3D28,0xE7A78B:0x3D29, +0xE7B582:0x3D2A,0xE7B98D:0x3D2B,0xE7BF92:0x3D2C,0xE887AD:0x3D2D,0xE8889F:0x3D2E, +0xE89290:0x3D2F,0xE8A186:0x3D30,0xE8A5B2:0x3D31,0xE8AE90:0x3D32,0xE8B9B4:0x3D33, +0xE8BCAF:0x3D34,0xE980B1:0x3D35,0xE9858B:0x3D36,0xE985AC:0x3D37,0xE99B86:0x3D38, +0xE9869C:0x3D39,0xE4BB80:0x3D3A,0xE4BD8F:0x3D3B,0xE58585:0x3D3C,0xE58D81:0x3D3D, +0xE5BE93:0x3D3E,0xE6888E:0x3D3F,0xE69F94:0x3D40,0xE6B181:0x3D41,0xE6B88B:0x3D42, +0xE78DA3:0x3D43,0xE7B8A6:0x3D44,0xE9878D:0x3D45,0xE98A83:0x3D46,0xE58F94:0x3D47, +0xE5A499:0x3D48,0xE5AEBF:0x3D49,0xE6B791:0x3D4A,0xE7A59D:0x3D4B,0xE7B8AE:0x3D4C, +0xE7B29B:0x3D4D,0xE5A1BE:0x3D4E,0xE7869F:0x3D4F,0xE587BA:0x3D50,0xE8A193:0x3D51, +0xE8BFB0:0x3D52,0xE4BF8A:0x3D53,0xE5B3BB:0x3D54,0xE698A5:0x3D55,0xE79EAC:0x3D56, +0xE7ABA3:0x3D57,0xE8889C:0x3D58,0xE9A7BF:0x3D59,0xE58786:0x3D5A,0xE5BEAA:0x3D5B, +0xE697AC:0x3D5C,0xE6A5AF:0x3D5D,0xE6AE89:0x3D5E,0xE6B7B3:0x3D5F,0xE6BA96:0x3D60, +0xE6BDA4:0x3D61,0xE79BBE:0x3D62,0xE7B494:0x3D63,0xE5B7A1:0x3D64,0xE981B5:0x3D65, +0xE98687:0x3D66,0xE9A086:0x3D67,0xE587A6:0x3D68,0xE5889D:0x3D69,0xE68980:0x3D6A, +0xE69A91:0x3D6B,0xE69B99:0x3D6C,0xE6B89A:0x3D6D,0xE5BAB6:0x3D6E,0xE7B792:0x3D6F, +0xE7BDB2:0x3D70,0xE69BB8:0x3D71,0xE896AF:0x3D72,0xE897B7:0x3D73,0xE8ABB8:0x3D74, +0xE58AA9:0x3D75,0xE58F99:0x3D76,0xE5A5B3:0x3D77,0xE5BA8F:0x3D78,0xE5BE90:0x3D79, +0xE68195:0x3D7A,0xE98BA4:0x3D7B,0xE999A4:0x3D7C,0xE582B7:0x3D7D,0xE5849F:0x3D7E, +0xE58B9D:0x3E21,0xE58CA0:0x3E22,0xE58D87:0x3E23,0xE58FAC:0x3E24,0xE593A8:0x3E25, +0xE59586:0x3E26,0xE594B1:0x3E27,0xE59897:0x3E28,0xE5A5A8:0x3E29,0xE5A6BE:0x3E2A, +0xE5A8BC:0x3E2B,0xE5AEB5:0x3E2C,0xE5B086:0x3E2D,0xE5B08F:0x3E2E,0xE5B091:0x3E2F, +0xE5B09A:0x3E30,0xE5BA84:0x3E31,0xE5BA8A:0x3E32,0xE5BBA0:0x3E33,0xE5BDB0:0x3E34, +0xE689BF:0x3E35,0xE68A84:0x3E36,0xE68B9B:0x3E37,0xE68E8C:0x3E38,0xE68DB7:0x3E39, +0xE69887:0x3E3A,0xE6988C:0x3E3B,0xE698AD:0x3E3C,0xE699B6:0x3E3D,0xE69DBE:0x3E3E, +0xE6A2A2:0x3E3F,0xE6A89F:0x3E40,0xE6A8B5:0x3E41,0xE6B2BC:0x3E42,0xE6B688:0x3E43, +0xE6B889:0x3E44,0xE6B998:0x3E45,0xE784BC:0x3E46,0xE784A6:0x3E47,0xE785A7:0x3E48, +0xE79787:0x3E49,0xE79C81:0x3E4A,0xE7A19D:0x3E4B,0xE7A481:0x3E4C,0xE7A5A5:0x3E4D, +0xE7A7B0:0x3E4E,0xE7ABA0:0x3E4F,0xE7AC91:0x3E50,0xE7B2A7:0x3E51,0xE7B4B9:0x3E52, +0xE88296:0x3E53,0xE88F96:0x3E54,0xE8928B:0x3E55,0xE89589:0x3E56,0xE8A19D:0x3E57, +0xE8A3B3:0x3E58,0xE8A89F:0x3E59,0xE8A8BC:0x3E5A,0xE8A994:0x3E5B,0xE8A9B3:0x3E5C, +0xE8B1A1:0x3E5D,0xE8B39E:0x3E5E,0xE986A4:0x3E5F,0xE989A6:0x3E60,0xE98DBE:0x3E61, +0xE99098:0x3E62,0xE99A9C:0x3E63,0xE99E98:0x3E64,0xE4B88A:0x3E65,0xE4B888:0x3E66, +0xE4B89E:0x3E67,0xE4B997:0x3E68,0xE58697:0x3E69,0xE589B0:0x3E6A,0xE59F8E:0x3E6B, +0xE5A0B4:0x3E6C,0xE5A38C:0x3E6D,0xE5ACA2:0x3E6E,0xE5B8B8:0x3E6F,0xE68385:0x3E70, +0xE693BE:0x3E71,0xE69DA1:0x3E72,0xE69D96:0x3E73,0xE6B584:0x3E74,0xE78AB6:0x3E75, +0xE795B3:0x3E76,0xE7A9A3:0x3E77,0xE892B8:0x3E78,0xE8ADB2:0x3E79,0xE986B8:0x3E7A, +0xE98CA0:0x3E7B,0xE598B1:0x3E7C,0xE59FB4:0x3E7D,0xE9A3BE:0x3E7E,0xE68BAD:0x3F21, +0xE6A48D:0x3F22,0xE6AE96:0x3F23,0xE787AD:0x3F24,0xE7B994:0x3F25,0xE881B7:0x3F26, +0xE889B2:0x3F27,0xE8A7A6:0x3F28,0xE9A39F:0x3F29,0xE89D95:0x3F2A,0xE8BEB1:0x3F2B, +0xE5B0BB:0x3F2C,0xE4BCB8:0x3F2D,0xE4BFA1:0x3F2E,0xE4BEB5:0x3F2F,0xE59487:0x3F30, +0xE5A8A0:0x3F31,0xE5AF9D:0x3F32,0xE5AFA9:0x3F33,0xE5BF83:0x3F34,0xE6858E:0x3F35, +0xE68CAF:0x3F36,0xE696B0:0x3F37,0xE6998B:0x3F38,0xE6A3AE:0x3F39,0xE6A69B:0x3F3A, +0xE6B5B8:0x3F3B,0xE6B7B1:0x3F3C,0xE794B3:0x3F3D,0xE796B9:0x3F3E,0xE79C9F:0x3F3F, +0xE7A59E:0x3F40,0xE7A7A6:0x3F41,0xE7B4B3:0x3F42,0xE887A3:0x3F43,0xE88AAF:0x3F44, +0xE896AA:0x3F45,0xE8A6AA:0x3F46,0xE8A8BA:0x3F47,0xE8BAAB:0x3F48,0xE8BE9B:0x3F49, +0xE980B2:0x3F4A,0xE9879D:0x3F4B,0xE99C87:0x3F4C,0xE4BABA:0x3F4D,0xE4BB81:0x3F4E, +0xE58883:0x3F4F,0xE5A1B5:0x3F50,0xE5A3AC:0x3F51,0xE5B08B:0x3F52,0xE7949A:0x3F53, +0xE5B0BD:0x3F54,0xE8858E:0x3F55,0xE8A88A:0x3F56,0xE8BF85:0x3F57,0xE999A3:0x3F58, +0xE99DAD:0x3F59,0xE7ACA5:0x3F5A,0xE8AB8F:0x3F5B,0xE9A088:0x3F5C,0xE985A2:0x3F5D, +0xE59BB3:0x3F5E,0xE58EA8:0x3F5F,0xE98097:0x3F60,0xE590B9:0x3F61,0xE59E82:0x3F62, +0xE5B8A5:0x3F63,0xE68EA8:0x3F64,0xE6B0B4:0x3F65,0xE7828A:0x3F66,0xE79DA1:0x3F67, +0xE7B28B:0x3F68,0xE7BFA0:0x3F69,0xE8A1B0:0x3F6A,0xE98182:0x3F6B,0xE98594:0x3F6C, +0xE98C90:0x3F6D,0xE98C98:0x3F6E,0xE99A8F:0x3F6F,0xE7919E:0x3F70,0xE9AB84:0x3F71, +0xE5B487:0x3F72,0xE5B5A9:0x3F73,0xE695B0:0x3F74,0xE69EA2:0x3F75,0xE8B6A8:0x3F76, +0xE99B9B:0x3F77,0xE68DAE:0x3F78,0xE69D89:0x3F79,0xE6A499:0x3F7A,0xE88F85:0x3F7B, +0xE9A097:0x3F7C,0xE99B80:0x3F7D,0xE8A3BE:0x3F7E,0xE6BE84:0x4021,0xE691BA:0x4022, +0xE5AFB8:0x4023,0xE4B896:0x4024,0xE780AC:0x4025,0xE7959D:0x4026,0xE698AF:0x4027, +0xE58784:0x4028,0xE588B6:0x4029,0xE58BA2:0x402A,0xE5A793:0x402B,0xE5BE81:0x402C, +0xE680A7:0x402D,0xE68890:0x402E,0xE694BF:0x402F,0xE695B4:0x4030,0xE6989F:0x4031, +0xE699B4:0x4032,0xE6A3B2:0x4033,0xE6A096:0x4034,0xE6ADA3:0x4035,0xE6B885:0x4036, +0xE789B2:0x4037,0xE7949F:0x4038,0xE79B9B:0x4039,0xE7B2BE:0x403A,0xE88196:0x403B, +0xE5A3B0:0x403C,0xE8A3BD:0x403D,0xE8A5BF:0x403E,0xE8AAA0:0x403F,0xE8AA93:0x4040, +0xE8AB8B:0x4041,0xE9809D:0x4042,0xE98692:0x4043,0xE99D92:0x4044,0xE99D99:0x4045, +0xE69689:0x4046,0xE7A88E:0x4047,0xE88486:0x4048,0xE99ABB:0x4049,0xE5B8AD:0x404A, +0xE6839C:0x404B,0xE6889A:0x404C,0xE696A5:0x404D,0xE69894:0x404E,0xE69E90:0x404F, +0xE79FB3:0x4050,0xE7A98D:0x4051,0xE7B18D:0x4052,0xE7B8BE:0x4053,0xE8848A:0x4054, +0xE8B2AC:0x4055,0xE8B5A4:0x4056,0xE8B7A1:0x4057,0xE8B99F:0x4058,0xE7A2A9:0x4059, +0xE58887:0x405A,0xE68B99:0x405B,0xE68EA5:0x405C,0xE69182:0x405D,0xE68A98:0x405E, +0xE8A8AD:0x405F,0xE7AA83:0x4060,0xE7AF80:0x4061,0xE8AAAC:0x4062,0xE99BAA:0x4063, +0xE7B5B6:0x4064,0xE8888C:0x4065,0xE89D89:0x4066,0xE4BB99:0x4067,0xE58588:0x4068, +0xE58D83:0x4069,0xE58DA0:0x406A,0xE5AEA3:0x406B,0xE5B082:0x406C,0xE5B096:0x406D, +0xE5B79D:0x406E,0xE688A6:0x406F,0xE68987:0x4070,0xE692B0:0x4071,0xE6A093:0x4072, +0xE6A0B4:0x4073,0xE6B389:0x4074,0xE6B585:0x4075,0xE6B497:0x4076,0xE69F93:0x4077, +0xE6BD9C:0x4078,0xE7858E:0x4079,0xE785BD:0x407A,0xE6978B:0x407B,0xE7A9BF:0x407C, +0xE7AEAD:0x407D,0xE7B79A:0x407E,0xE7B98A:0x4121,0xE7BEA8:0x4122,0xE885BA:0x4123, +0xE8889B:0x4124,0xE888B9:0x4125,0xE896A6:0x4126,0xE8A9AE:0x4127,0xE8B38E:0x4128, +0xE8B7B5:0x4129,0xE981B8:0x412A,0xE981B7:0x412B,0xE98AAD:0x412C,0xE98A91:0x412D, +0xE99683:0x412E,0xE9AEAE:0x412F,0xE5898D:0x4130,0xE59684:0x4131,0xE6BCB8:0x4132, +0xE784B6:0x4133,0xE585A8:0x4134,0xE7A685:0x4135,0xE7B995:0x4136,0xE886B3:0x4137, +0xE7B38E:0x4138,0xE5998C:0x4139,0xE5A191:0x413A,0xE5B2A8:0x413B,0xE68EAA:0x413C, +0xE69BBE:0x413D,0xE69BBD:0x413E,0xE6A59A:0x413F,0xE78B99:0x4140,0xE7968F:0x4141, +0xE7968E:0x4142,0xE7A48E:0x4143,0xE7A596:0x4144,0xE7A79F:0x4145,0xE7B297:0x4146, +0xE7B4A0:0x4147,0xE7B584:0x4148,0xE89887:0x4149,0xE8A8B4:0x414A,0xE998BB:0x414B, +0xE981A1:0x414C,0xE9BCA0:0x414D,0xE583A7:0x414E,0xE589B5:0x414F,0xE58F8C:0x4150, +0xE58FA2:0x4151,0xE58089:0x4152,0xE596AA:0x4153,0xE5A3AE:0x4154,0xE5A58F:0x4155, +0xE788BD:0x4156,0xE5AE8B:0x4157,0xE5B1A4:0x4158,0xE58C9D:0x4159,0xE683A3:0x415A, +0xE683B3:0x415B,0xE68D9C:0x415C,0xE68E83:0x415D,0xE68CBF:0x415E,0xE68EBB:0x415F, +0xE6938D:0x4160,0xE697A9:0x4161,0xE69BB9:0x4162,0xE5B7A3:0x4163,0xE6A78D:0x4164, +0xE6A7BD:0x4165,0xE6BC95:0x4166,0xE787A5:0x4167,0xE4BA89:0x4168,0xE797A9:0x4169, +0xE79BB8:0x416A,0xE7AA93:0x416B,0xE7B39F:0x416C,0xE7B78F:0x416D,0xE7B69C:0x416E, +0xE881A1:0x416F,0xE88D89:0x4170,0xE88D98:0x4171,0xE891AC:0x4172,0xE892BC:0x4173, +0xE897BB:0x4174,0xE8A385:0x4175,0xE8B5B0:0x4176,0xE98081:0x4177,0xE981AD:0x4178, +0xE98E97:0x4179,0xE99C9C:0x417A,0xE9A892:0x417B,0xE5838F:0x417C,0xE5A297:0x417D, +0xE6868E:0x417E,0xE88793:0x4221,0xE894B5:0x4222,0xE8B488:0x4223,0xE980A0:0x4224, +0xE4BF83:0x4225,0xE581B4:0x4226,0xE58987:0x4227,0xE58DB3:0x4228,0xE681AF:0x4229, +0xE68D89:0x422A,0xE69D9F:0x422B,0xE6B8AC:0x422C,0xE8B6B3:0x422D,0xE9809F:0x422E, +0xE4BF97:0x422F,0xE5B19E:0x4230,0xE8B38A:0x4231,0xE6978F:0x4232,0xE7B69A:0x4233, +0xE58D92:0x4234,0xE8A296:0x4235,0xE585B6:0x4236,0xE68F83:0x4237,0xE5AD98:0x4238, +0xE5ADAB:0x4239,0xE5B08A:0x423A,0xE6908D:0x423B,0xE69D91:0x423C,0xE9819C:0x423D, +0xE4BB96:0x423E,0xE5A49A:0x423F,0xE5A4AA:0x4240,0xE6B1B0:0x4241,0xE8A991:0x4242, +0xE594BE:0x4243,0xE5A095:0x4244,0xE5A6A5:0x4245,0xE683B0:0x4246,0xE68993:0x4247, +0xE69F81:0x4248,0xE888B5:0x4249,0xE6A595:0x424A,0xE99980:0x424B,0xE9A784:0x424C, +0xE9A8A8:0x424D,0xE4BD93:0x424E,0xE5A086:0x424F,0xE5AFBE:0x4250,0xE88090:0x4251, +0xE5B2B1:0x4252,0xE5B8AF:0x4253,0xE5BE85:0x4254,0xE680A0:0x4255,0xE6858B:0x4256, +0xE688B4:0x4257,0xE69BBF:0x4258,0xE6B3B0:0x4259,0xE6BB9E:0x425A,0xE8838E:0x425B, +0xE885BF:0x425C,0xE88B94:0x425D,0xE8A28B:0x425E,0xE8B2B8:0x425F,0xE98080:0x4260, +0xE980AE:0x4261,0xE99A8A:0x4262,0xE9BB9B:0x4263,0xE9AF9B:0x4264,0xE4BBA3:0x4265, +0xE58FB0:0x4266,0xE5A4A7:0x4267,0xE7ACAC:0x4268,0xE9868D:0x4269,0xE9A18C:0x426A, +0xE9B7B9:0x426B,0xE6BB9D:0x426C,0xE780A7:0x426D,0xE58D93:0x426E,0xE59584:0x426F, +0xE5AE85:0x4270,0xE68998:0x4271,0xE68A9E:0x4272,0xE68B93:0x4273,0xE6B2A2:0x4274, +0xE6BFAF:0x4275,0xE790A2:0x4276,0xE8A897:0x4277,0xE990B8:0x4278,0xE6BF81:0x4279, +0xE8ABBE:0x427A,0xE88CB8:0x427B,0xE587A7:0x427C,0xE89BB8:0x427D,0xE58FAA:0x427E, +0xE58FA9:0x4321,0xE4BD86:0x4322,0xE98194:0x4323,0xE8BEB0:0x4324,0xE5A5AA:0x4325, +0xE884B1:0x4326,0xE5B7BD:0x4327,0xE7ABAA:0x4328,0xE8BEBF:0x4329,0xE6A39A:0x432A, +0xE8B0B7:0x432B,0xE78BB8:0x432C,0xE9B188:0x432D,0xE6A8BD:0x432E,0xE8AAB0:0x432F, +0xE4B8B9:0x4330,0xE58D98:0x4331,0xE59886:0x4332,0xE59DA6:0x4333,0xE68B85:0x4334, +0xE68EA2:0x4335,0xE697A6:0x4336,0xE6AD8E:0x4337,0xE6B7A1:0x4338,0xE6B99B:0x4339, +0xE782AD:0x433A,0xE79FAD:0x433B,0xE7ABAF:0x433C,0xE7AEAA:0x433D,0xE7B6BB:0x433E, +0xE880BD:0x433F,0xE88386:0x4340,0xE89B8B:0x4341,0xE8AA95:0x4342,0xE98D9B:0x4343, +0xE59BA3:0x4344,0xE5A387:0x4345,0xE5BCBE:0x4346,0xE696AD:0x4347,0xE69A96:0x4348, +0xE6AA80:0x4349,0xE6AEB5:0x434A,0xE794B7:0x434B,0xE8AB87:0x434C,0xE580A4:0x434D, +0xE79FA5:0x434E,0xE59CB0:0x434F,0xE5BC9B:0x4350,0xE681A5:0x4351,0xE699BA:0x4352, +0xE6B1A0:0x4353,0xE797B4:0x4354,0xE7A89A:0x4355,0xE7BDAE:0x4356,0xE887B4:0x4357, +0xE89C98:0x4358,0xE98185:0x4359,0xE9A6B3:0x435A,0xE7AF89:0x435B,0xE7959C:0x435C, +0xE7ABB9:0x435D,0xE7AD91:0x435E,0xE89384:0x435F,0xE98090:0x4360,0xE7A7A9:0x4361, +0xE7AA92:0x4362,0xE88CB6:0x4363,0xE5ABA1:0x4364,0xE79D80:0x4365,0xE4B8AD:0x4366, +0xE4BBB2:0x4367,0xE5AE99:0x4368,0xE5BFA0:0x4369,0xE68ABD:0x436A,0xE698BC:0x436B, +0xE69FB1:0x436C,0xE6B3A8:0x436D,0xE899AB:0x436E,0xE8A1B7:0x436F,0xE8A8BB:0x4370, +0xE9858E:0x4371,0xE98BB3:0x4372,0xE9A790:0x4373,0xE6A897:0x4374,0xE780A6:0x4375, +0xE78CAA:0x4376,0xE88BA7:0x4377,0xE89197:0x4378,0xE8B2AF:0x4379,0xE4B881:0x437A, +0xE58586:0x437B,0xE5878B:0x437C,0xE5968B:0x437D,0xE5AFB5:0x437E,0xE5B896:0x4421, +0xE5B8B3:0x4422,0xE5BA81:0x4423,0xE5BC94:0x4424,0xE5BCB5:0x4425,0xE5BDAB:0x4426, +0xE5BEB4:0x4427,0xE687B2:0x4428,0xE68C91:0x4429,0xE69AA2:0x442A,0xE69C9D:0x442B, +0xE6BDAE:0x442C,0xE78992:0x442D,0xE794BA:0x442E,0xE79CBA:0x442F,0xE881B4:0x4430, +0xE884B9:0x4431,0xE885B8:0x4432,0xE89DB6:0x4433,0xE8AABF:0x4434,0xE8AB9C:0x4435, +0xE8B685:0x4436,0xE8B7B3:0x4437,0xE98A9A:0x4438,0xE995B7:0x4439,0xE9A082:0x443A, +0xE9B3A5:0x443B,0xE58B85:0x443C,0xE68D97:0x443D,0xE79BB4:0x443E,0xE69C95:0x443F, +0xE6B288:0x4440,0xE78F8D:0x4441,0xE8B383:0x4442,0xE98EAE:0x4443,0xE999B3:0x4444, +0xE6B4A5:0x4445,0xE5A29C:0x4446,0xE6A48E:0x4447,0xE6A78C:0x4448,0xE8BFBD:0x4449, +0xE98E9A:0x444A,0xE7979B:0x444B,0xE9809A:0x444C,0xE5A19A:0x444D,0xE6A082:0x444E, +0xE68EB4:0x444F,0xE6A7BB:0x4450,0xE4BD83:0x4451,0xE6BCAC:0x4452,0xE69F98:0x4453, +0xE8BEBB:0x4454,0xE894A6:0x4455,0xE7B6B4:0x4456,0xE98D94:0x4457,0xE6A4BF:0x4458, +0xE6BDB0:0x4459,0xE59DAA:0x445A,0xE5A3B7:0x445B,0xE5ACAC:0x445C,0xE7B4AC:0x445D, +0xE788AA:0x445E,0xE5908A:0x445F,0xE987A3:0x4460,0xE9B6B4:0x4461,0xE4BAAD:0x4462, +0xE4BD8E:0x4463,0xE5819C:0x4464,0xE581B5:0x4465,0xE58983:0x4466,0xE8B29E:0x4467, +0xE59188:0x4468,0xE5A0A4:0x4469,0xE5AE9A:0x446A,0xE5B89D:0x446B,0xE5BA95:0x446C, +0xE5BAAD:0x446D,0xE5BBB7:0x446E,0xE5BC9F:0x446F,0xE6828C:0x4470,0xE68AB5:0x4471, +0xE68CBA:0x4472,0xE68F90:0x4473,0xE6A2AF:0x4474,0xE6B180:0x4475,0xE7A287:0x4476, +0xE7A68E:0x4477,0xE7A88B:0x4478,0xE7B7A0:0x4479,0xE88987:0x447A,0xE8A882:0x447B, +0xE8ABA6:0x447C,0xE8B984:0x447D,0xE98093:0x447E,0xE982B8:0x4521,0xE984AD:0x4522, +0xE98798:0x4523,0xE9BC8E:0x4524,0xE6B3A5:0x4525,0xE69198:0x4526,0xE693A2:0x4527, +0xE695B5:0x4528,0xE6BBB4:0x4529,0xE79A84:0x452A,0xE7AC9B:0x452B,0xE981A9:0x452C, +0xE98F91:0x452D,0xE6BABA:0x452E,0xE593B2:0x452F,0xE5BEB9:0x4530,0xE692A4:0x4531, +0xE8BD8D:0x4532,0xE8BFAD:0x4533,0xE98984:0x4534,0xE585B8:0x4535,0xE5A1AB:0x4536, +0xE5A4A9:0x4537,0xE5B195:0x4538,0xE5BA97:0x4539,0xE6B7BB:0x453A,0xE7BA8F:0x453B, +0xE7949C:0x453C,0xE8B2BC:0x453D,0xE8BBA2:0x453E,0xE9A19B:0x453F,0xE782B9:0x4540, +0xE4BC9D:0x4541,0xE6AEBF:0x4542,0xE6BEB1:0x4543,0xE794B0:0x4544,0xE99BBB:0x4545, +0xE5858E:0x4546,0xE59090:0x4547,0xE5A0B5:0x4548,0xE5A197:0x4549,0xE5A6AC:0x454A, +0xE5B1A0:0x454B,0xE5BE92:0x454C,0xE69697:0x454D,0xE69D9C:0x454E,0xE6B8A1:0x454F, +0xE799BB:0x4550,0xE88F9F:0x4551,0xE8B3AD:0x4552,0xE98094:0x4553,0xE983BD:0x4554, +0xE98D8D:0x4555,0xE7A0A5:0x4556,0xE7A0BA:0x4557,0xE58AAA:0x4558,0xE5BAA6:0x4559, +0xE59C9F:0x455A,0xE5A5B4:0x455B,0xE68092:0x455C,0xE58092:0x455D,0xE5859A:0x455E, +0xE586AC:0x455F,0xE5878D:0x4560,0xE58880:0x4561,0xE59490:0x4562,0xE5A194:0x4563, +0xE5A198:0x4564,0xE5A597:0x4565,0xE5AE95:0x4566,0xE5B3B6:0x4567,0xE5B68B:0x4568, +0xE682BC:0x4569,0xE68A95:0x456A,0xE690AD:0x456B,0xE69DB1:0x456C,0xE6A183:0x456D, +0xE6A2BC:0x456E,0xE6A39F:0x456F,0xE79B97:0x4570,0xE6B798:0x4571,0xE6B9AF:0x4572, +0xE6B69B:0x4573,0xE781AF:0x4574,0xE78788:0x4575,0xE5BD93:0x4576,0xE79798:0x4577, +0xE7A5B7:0x4578,0xE7AD89:0x4579,0xE7AD94:0x457A,0xE7AD92:0x457B,0xE7B396:0x457C, +0xE7B5B1:0x457D,0xE588B0:0x457E,0xE891A3:0x4621,0xE895A9:0x4622,0xE897A4:0x4623, +0xE8A88E:0x4624,0xE8AC84:0x4625,0xE8B186:0x4626,0xE8B88F:0x4627,0xE98083:0x4628, +0xE9808F:0x4629,0xE99099:0x462A,0xE999B6:0x462B,0xE9A0AD:0x462C,0xE9A8B0:0x462D, +0xE99798:0x462E,0xE5838D:0x462F,0xE58B95:0x4630,0xE5908C:0x4631,0xE5A082:0x4632, +0xE5B08E:0x4633,0xE686A7:0x4634,0xE6929E:0x4635,0xE6B49E:0x4636,0xE79EB3:0x4637, +0xE7ABA5:0x4638,0xE883B4:0x4639,0xE89084:0x463A,0xE98193:0x463B,0xE98A85:0x463C, +0xE5B3A0:0x463D,0xE9B487:0x463E,0xE58CBF:0x463F,0xE5BE97:0x4640,0xE5BEB3:0x4641, +0xE6B69C:0x4642,0xE789B9:0x4643,0xE79DA3:0x4644,0xE7A6BF:0x4645,0xE7AFA4:0x4646, +0xE6AF92:0x4647,0xE78BAC:0x4648,0xE8AAAD:0x4649,0xE6A083:0x464A,0xE6A9A1:0x464B, +0xE587B8:0x464C,0xE7AA81:0x464D,0xE6A4B4:0x464E,0xE5B18A:0x464F,0xE9B3B6:0x4650, +0xE88BAB:0x4651,0xE5AF85:0x4652,0xE98589:0x4653,0xE7809E:0x4654,0xE599B8:0x4655, +0xE5B1AF:0x4656,0xE68387:0x4657,0xE695A6:0x4658,0xE6B28C:0x4659,0xE8B19A:0x465A, +0xE98181:0x465B,0xE9A093:0x465C,0xE59191:0x465D,0xE69B87:0x465E,0xE9888D:0x465F, +0xE5A588:0x4660,0xE982A3:0x4661,0xE58685:0x4662,0xE4B98D:0x4663,0xE587AA:0x4664, +0xE89699:0x4665,0xE8AC8E:0x4666,0xE78198:0x4667,0xE68DBA:0x4668,0xE98D8B:0x4669, +0xE6A5A2:0x466A,0xE9A6B4:0x466B,0xE7B884:0x466C,0xE795B7:0x466D,0xE58D97:0x466E, +0xE6A5A0:0x466F,0xE8BB9F:0x4670,0xE99BA3:0x4671,0xE6B19D:0x4672,0xE4BA8C:0x4673, +0xE5B0BC:0x4674,0xE5BC90:0x4675,0xE8BFA9:0x4676,0xE58C82:0x4677,0xE8B391:0x4678, +0xE88289:0x4679,0xE899B9:0x467A,0xE5BBBF:0x467B,0xE697A5:0x467C,0xE4B9B3:0x467D, +0xE585A5:0x467E,0xE5A682:0x4721,0xE5B0BF:0x4722,0xE99FAE:0x4723,0xE4BBBB:0x4724, +0xE5A68A:0x4725,0xE5BF8D:0x4726,0xE8AA8D:0x4727,0xE6BFA1:0x4728,0xE7A6B0:0x4729, +0xE7A5A2:0x472A,0xE5AFA7:0x472B,0xE891B1:0x472C,0xE78CAB:0x472D,0xE786B1:0x472E, +0xE5B9B4:0x472F,0xE5BFB5:0x4730,0xE68DBB:0x4731,0xE6929A:0x4732,0xE78783:0x4733, +0xE7B298:0x4734,0xE4B983:0x4735,0xE5BBBC:0x4736,0xE4B98B:0x4737,0xE59F9C:0x4738, +0xE59AA2:0x4739,0xE682A9:0x473A,0xE6BF83:0x473B,0xE7B48D:0x473C,0xE883BD:0x473D, +0xE884B3:0x473E,0xE886BF:0x473F,0xE8BEB2:0x4740,0xE8A697:0x4741,0xE89AA4:0x4742, +0xE5B7B4:0x4743,0xE68A8A:0x4744,0xE692AD:0x4745,0xE8A687:0x4746,0xE69DB7:0x4747, +0xE6B3A2:0x4748,0xE6B4BE:0x4749,0xE790B6:0x474A,0xE7A0B4:0x474B,0xE5A986:0x474C, +0xE7BDB5:0x474D,0xE88AAD:0x474E,0xE9A6AC:0x474F,0xE4BFB3:0x4750,0xE5BB83:0x4751, +0xE68B9D:0x4752,0xE68E92:0x4753,0xE69597:0x4754,0xE69DAF:0x4755,0xE79B83:0x4756, +0xE7898C:0x4757,0xE8838C:0x4758,0xE882BA:0x4759,0xE8BCA9:0x475A,0xE9858D:0x475B, +0xE5808D:0x475C,0xE59FB9:0x475D,0xE5AA92:0x475E,0xE6A285:0x475F,0xE6A5B3:0x4760, +0xE785A4:0x4761,0xE78BBD:0x4762,0xE8B2B7:0x4763,0xE5A3B2:0x4764,0xE8B3A0:0x4765, +0xE999AA:0x4766,0xE98099:0x4767,0xE89DBF:0x4768,0xE7A7A4:0x4769,0xE79FA7:0x476A, +0xE890A9:0x476B,0xE4BCAF:0x476C,0xE589A5:0x476D,0xE58D9A:0x476E,0xE68B8D:0x476F, +0xE69F8F:0x4770,0xE6B38A:0x4771,0xE799BD:0x4772,0xE7AE94:0x4773,0xE7B295:0x4774, +0xE888B6:0x4775,0xE89684:0x4776,0xE8BFAB:0x4777,0xE69B9D:0x4778,0xE6BCA0:0x4779, +0xE78886:0x477A,0xE7B89B:0x477B,0xE88EAB:0x477C,0xE9A781:0x477D,0xE9BAA6:0x477E, +0xE587BD:0x4821,0xE7AEB1:0x4822,0xE7A1B2:0x4823,0xE7AEB8:0x4824,0xE88287:0x4825, +0xE7AD88:0x4826,0xE6ABA8:0x4827,0xE5B9A1:0x4828,0xE8828C:0x4829,0xE79591:0x482A, +0xE795A0:0x482B,0xE585AB:0x482C,0xE989A2:0x482D,0xE6BA8C:0x482E,0xE799BA:0x482F, +0xE98697:0x4830,0xE9ABAA:0x4831,0xE4BC90:0x4832,0xE7BDB0:0x4833,0xE68A9C:0x4834, +0xE7AD8F:0x4835,0xE996A5:0x4836,0xE9B3A9:0x4837,0xE599BA:0x4838,0xE5A199:0x4839, +0xE89BA4:0x483A,0xE99ABC:0x483B,0xE4BCB4:0x483C,0xE588A4:0x483D,0xE58D8A:0x483E, +0xE58F8D:0x483F,0xE58F9B:0x4840,0xE5B886:0x4841,0xE690AC:0x4842,0xE69691:0x4843, +0xE69DBF:0x4844,0xE6B0BE:0x4845,0xE6B18E:0x4846,0xE78988:0x4847,0xE78AAF:0x4848, +0xE78FAD:0x4849,0xE79594:0x484A,0xE7B981:0x484B,0xE888AC:0x484C,0xE897A9:0x484D, +0xE8B2A9:0x484E,0xE7AF84:0x484F,0xE98786:0x4850,0xE785A9:0x4851,0xE9A092:0x4852, +0xE9A3AF:0x4853,0xE68CBD:0x4854,0xE699A9:0x4855,0xE795AA:0x4856,0xE79BA4:0x4857, +0xE7A390:0x4858,0xE89583:0x4859,0xE89BAE:0x485A,0xE58CAA:0x485B,0xE58D91:0x485C, +0xE590A6:0x485D,0xE5A683:0x485E,0xE5BA87:0x485F,0xE5BDBC:0x4860,0xE682B2:0x4861, +0xE68989:0x4862,0xE689B9:0x4863,0xE68AAB:0x4864,0xE69690:0x4865,0xE6AF94:0x4866, +0xE6B38C:0x4867,0xE796B2:0x4868,0xE79AAE:0x4869,0xE7A291:0x486A,0xE7A798:0x486B, +0xE7B78B:0x486C,0xE7BDB7:0x486D,0xE882A5:0x486E,0xE8A2AB:0x486F,0xE8AAB9:0x4870, +0xE8B2BB:0x4871,0xE981BF:0x4872,0xE99D9E:0x4873,0xE9A39B:0x4874,0xE6A88B:0x4875, +0xE7B0B8:0x4876,0xE58299:0x4877,0xE5B0BE:0x4878,0xE5BEAE:0x4879,0xE69E87:0x487A, +0xE6AF98:0x487B,0xE790B5:0x487C,0xE79C89:0x487D,0xE7BE8E:0x487E,0xE9BCBB:0x4921, +0xE69F8A:0x4922,0xE7A897:0x4923,0xE58CB9:0x4924,0xE7968B:0x4925,0xE9ABAD:0x4926, +0xE5BDA6:0x4927,0xE8869D:0x4928,0xE88FB1:0x4929,0xE88298:0x492A,0xE5BCBC:0x492B, +0xE5BF85:0x492C,0xE795A2:0x492D,0xE7AD86:0x492E,0xE980BC:0x492F,0xE6A1A7:0x4930, +0xE5A7AB:0x4931,0xE5AA9B:0x4932,0xE7B490:0x4933,0xE799BE:0x4934,0xE8ACAC:0x4935, +0xE4BFB5:0x4936,0xE5BDAA:0x4937,0xE6A899:0x4938,0xE6B0B7:0x4939,0xE6BC82:0x493A, +0xE793A2:0x493B,0xE7A5A8:0x493C,0xE8A1A8:0x493D,0xE8A995:0x493E,0xE8B1B9:0x493F, +0xE5BB9F:0x4940,0xE68F8F:0x4941,0xE79785:0x4942,0xE7A792:0x4943,0xE88B97:0x4944, +0xE98CA8:0x4945,0xE98BB2:0x4946,0xE8929C:0x4947,0xE89BAD:0x4948,0xE9B0AD:0x4949, +0xE59381:0x494A,0xE5BDAC:0x494B,0xE6968C:0x494C,0xE6B59C:0x494D,0xE78095:0x494E, +0xE8B2A7:0x494F,0xE8B393:0x4950,0xE9A0BB:0x4951,0xE6958F:0x4952,0xE793B6:0x4953, +0xE4B88D:0x4954,0xE4BB98:0x4955,0xE59FA0:0x4956,0xE5A4AB:0x4957,0xE5A9A6:0x4958, +0xE5AF8C:0x4959,0xE586A8:0x495A,0xE5B883:0x495B,0xE5BA9C:0x495C,0xE68096:0x495D, +0xE689B6:0x495E,0xE695B7:0x495F,0xE696A7:0x4960,0xE699AE:0x4961,0xE6B5AE:0x4962, +0xE788B6:0x4963,0xE7ACA6:0x4964,0xE88590:0x4965,0xE8869A:0x4966,0xE88A99:0x4967, +0xE8AD9C:0x4968,0xE8B2A0:0x4969,0xE8B3A6:0x496A,0xE8B5B4:0x496B,0xE9989C:0x496C, +0xE99984:0x496D,0xE4BEAE:0x496E,0xE692AB:0x496F,0xE6ADA6:0x4970,0xE8889E:0x4971, +0xE891A1:0x4972,0xE895AA:0x4973,0xE983A8:0x4974,0xE5B081:0x4975,0xE6A593:0x4976, +0xE9A2A8:0x4977,0xE891BA:0x4978,0xE89597:0x4979,0xE4BC8F:0x497A,0xE589AF:0x497B, +0xE5BEA9:0x497C,0xE5B985:0x497D,0xE69C8D:0x497E,0xE7A68F:0x4A21,0xE885B9:0x4A22, +0xE8A487:0x4A23,0xE8A686:0x4A24,0xE6B7B5:0x4A25,0xE5BC97:0x4A26,0xE68995:0x4A27, +0xE6B2B8:0x4A28,0xE4BB8F:0x4A29,0xE789A9:0x4A2A,0xE9AE92:0x4A2B,0xE58886:0x4A2C, +0xE590BB:0x4A2D,0xE599B4:0x4A2E,0xE5A2B3:0x4A2F,0xE686A4:0x4A30,0xE689AE:0x4A31, +0xE7849A:0x4A32,0xE5A5AE:0x4A33,0xE7B289:0x4A34,0xE7B39E:0x4A35,0xE7B49B:0x4A36, +0xE99BB0:0x4A37,0xE69687:0x4A38,0xE8819E:0x4A39,0xE4B899:0x4A3A,0xE4BDB5:0x4A3B, +0xE585B5:0x4A3C,0xE5A180:0x4A3D,0xE5B9A3:0x4A3E,0xE5B9B3:0x4A3F,0xE5BC8A:0x4A40, +0xE69F84:0x4A41,0xE4B8A6:0x4A42,0xE894BD:0x4A43,0xE99689:0x4A44,0xE9999B:0x4A45, +0xE7B1B3:0x4A46,0xE9A081:0x4A47,0xE583BB:0x4A48,0xE5A381:0x4A49,0xE79996:0x4A4A, +0xE7A2A7:0x4A4B,0xE588A5:0x4A4C,0xE79EA5:0x4A4D,0xE89491:0x4A4E,0xE7AE86:0x4A4F, +0xE5818F:0x4A50,0xE5A489:0x4A51,0xE78987:0x4A52,0xE7AF87:0x4A53,0xE7B7A8:0x4A54, +0xE8BEBA:0x4A55,0xE8BF94:0x4A56,0xE9818D:0x4A57,0xE4BEBF:0x4A58,0xE58B89:0x4A59, +0xE5A8A9:0x4A5A,0xE5BC81:0x4A5B,0xE99EAD:0x4A5C,0xE4BF9D:0x4A5D,0xE88897:0x4A5E, +0xE98BAA:0x4A5F,0xE59C83:0x4A60,0xE68D95:0x4A61,0xE6ADA9:0x4A62,0xE794AB:0x4A63, +0xE8A39C:0x4A64,0xE8BC94:0x4A65,0xE7A982:0x4A66,0xE58B9F:0x4A67,0xE5A293:0x4A68, +0xE68595:0x4A69,0xE6888A:0x4A6A,0xE69AAE:0x4A6B,0xE6AF8D:0x4A6C,0xE7B0BF:0x4A6D, +0xE88FA9:0x4A6E,0xE580A3:0x4A6F,0xE4BFB8:0x4A70,0xE58C85:0x4A71,0xE59186:0x4A72, +0xE5A0B1:0x4A73,0xE5A589:0x4A74,0xE5AE9D:0x4A75,0xE5B3B0:0x4A76,0xE5B3AF:0x4A77, +0xE5B4A9:0x4A78,0xE5BA96:0x4A79,0xE68AB1:0x4A7A,0xE68DA7:0x4A7B,0xE694BE:0x4A7C, +0xE696B9:0x4A7D,0xE69C8B:0x4A7E,0xE6B395:0x4B21,0xE6B3A1:0x4B22,0xE783B9:0x4B23, +0xE7A0B2:0x4B24,0xE7B8AB:0x4B25,0xE8839E:0x4B26,0xE88AB3:0x4B27,0xE8908C:0x4B28, +0xE893AC:0x4B29,0xE89C82:0x4B2A,0xE8A492:0x4B2B,0xE8A8AA:0x4B2C,0xE8B18A:0x4B2D, +0xE982A6:0x4B2E,0xE98B92:0x4B2F,0xE9A3BD:0x4B30,0xE9B3B3:0x4B31,0xE9B5AC:0x4B32, +0xE4B98F:0x4B33,0xE4BAA1:0x4B34,0xE5828D:0x4B35,0xE58996:0x4B36,0xE59D8A:0x4B37, +0xE5A6A8:0x4B38,0xE5B8BD:0x4B39,0xE5BF98:0x4B3A,0xE5BF99:0x4B3B,0xE688BF:0x4B3C, +0xE69AB4:0x4B3D,0xE69C9B:0x4B3E,0xE69F90:0x4B3F,0xE6A392:0x4B40,0xE58692:0x4B41, +0xE7B4A1:0x4B42,0xE882AA:0x4B43,0xE886A8:0x4B44,0xE8AC80:0x4B45,0xE8B28C:0x4B46, +0xE8B2BF:0x4B47,0xE989BE:0x4B48,0xE998B2:0x4B49,0xE590A0:0x4B4A,0xE9A0AC:0x4B4B, +0xE58C97:0x4B4C,0xE58395:0x4B4D,0xE58D9C:0x4B4E,0xE5A2A8:0x4B4F,0xE692B2:0x4B50, +0xE69CB4:0x4B51,0xE789A7:0x4B52,0xE79DA6:0x4B53,0xE7A986:0x4B54,0xE987A6:0x4B55, +0xE58B83:0x4B56,0xE6B2A1:0x4B57,0xE6AE86:0x4B58,0xE5A080:0x4B59,0xE5B98C:0x4B5A, +0xE5A594:0x4B5B,0xE69CAC:0x4B5C,0xE7BFBB:0x4B5D,0xE587A1:0x4B5E,0xE79B86:0x4B5F, +0xE691A9:0x4B60,0xE7A3A8:0x4B61,0xE9AD94:0x4B62,0xE9BABB:0x4B63,0xE59F8B:0x4B64, +0xE5A6B9:0x4B65,0xE698A7:0x4B66,0xE69E9A:0x4B67,0xE6AF8E:0x4B68,0xE593A9:0x4B69, +0xE6A799:0x4B6A,0xE5B995:0x4B6B,0xE8869C:0x4B6C,0xE69E95:0x4B6D,0xE9AEAA:0x4B6E, +0xE69FBE:0x4B6F,0xE9B192:0x4B70,0xE6A19D:0x4B71,0xE4BAA6:0x4B72,0xE4BFA3:0x4B73, +0xE58F88:0x4B74,0xE68AB9:0x4B75,0xE69CAB:0x4B76,0xE6B2AB:0x4B77,0xE8BF84:0x4B78, +0xE4BEAD:0x4B79,0xE7B9AD:0x4B7A,0xE9BABF:0x4B7B,0xE4B887:0x4B7C,0xE685A2:0x4B7D, +0xE6BA80:0x4B7E,0xE6BCAB:0x4C21,0xE89493:0x4C22,0xE591B3:0x4C23,0xE69CAA:0x4C24, +0xE9AD85:0x4C25,0xE5B7B3:0x4C26,0xE7AE95:0x4C27,0xE5B2AC:0x4C28,0xE5AF86:0x4C29, +0xE89C9C:0x4C2A,0xE6B98A:0x4C2B,0xE89391:0x4C2C,0xE7A894:0x4C2D,0xE88488:0x4C2E, +0xE5A699:0x4C2F,0xE7B28D:0x4C30,0xE6B091:0x4C31,0xE79CA0:0x4C32,0xE58B99:0x4C33, +0xE5A4A2:0x4C34,0xE784A1:0x4C35,0xE7899F:0x4C36,0xE79F9B:0x4C37,0xE99CA7:0x4C38, +0xE9B5A1:0x4C39,0xE6A48B:0x4C3A,0xE5A9BF:0x4C3B,0xE5A898:0x4C3C,0xE586A5:0x4C3D, +0xE5908D:0x4C3E,0xE591BD:0x4C3F,0xE6988E:0x4C40,0xE79B9F:0x4C41,0xE8BFB7:0x4C42, +0xE98A98:0x4C43,0xE9B3B4:0x4C44,0xE5A7AA:0x4C45,0xE7899D:0x4C46,0xE6BB85:0x4C47, +0xE5858D:0x4C48,0xE6A389:0x4C49,0xE7B6BF:0x4C4A,0xE7B7AC:0x4C4B,0xE99DA2:0x4C4C, +0xE9BABA:0x4C4D,0xE691B8:0x4C4E,0xE6A8A1:0x4C4F,0xE88C82:0x4C50,0xE5A684:0x4C51, +0xE5AD9F:0x4C52,0xE6AF9B:0x4C53,0xE78C9B:0x4C54,0xE79BB2:0x4C55,0xE7B6B2:0x4C56, +0xE88097:0x4C57,0xE89299:0x4C58,0xE584B2:0x4C59,0xE69CA8:0x4C5A,0xE9BB99:0x4C5B, +0xE79BAE:0x4C5C,0xE69DA2:0x4C5D,0xE58BBF:0x4C5E,0xE9A485:0x4C5F,0xE5B0A4:0x4C60, +0xE688BB:0x4C61,0xE7B1BE:0x4C62,0xE8B2B0:0x4C63,0xE5958F:0x4C64,0xE682B6:0x4C65, +0xE7B48B:0x4C66,0xE99680:0x4C67,0xE58C81:0x4C68,0xE4B99F:0x4C69,0xE586B6:0x4C6A, +0xE5A49C:0x4C6B,0xE788BA:0x4C6C,0xE880B6:0x4C6D,0xE9878E:0x4C6E,0xE5BCA5:0x4C6F, +0xE79FA2:0x4C70,0xE58E84:0x4C71,0xE5BDB9:0x4C72,0xE7B484:0x4C73,0xE896AC:0x4C74, +0xE8A8B3:0x4C75,0xE8BA8D:0x4C76,0xE99D96:0x4C77,0xE69FB3:0x4C78,0xE896AE:0x4C79, +0xE99193:0x4C7A,0xE68489:0x4C7B,0xE68488:0x4C7C,0xE6B2B9:0x4C7D,0xE79992:0x4C7E, +0xE8ABAD:0x4D21,0xE8BCB8:0x4D22,0xE594AF:0x4D23,0xE4BD91:0x4D24,0xE584AA:0x4D25, +0xE58B87:0x4D26,0xE58F8B:0x4D27,0xE5AEA5:0x4D28,0xE5B9BD:0x4D29,0xE682A0:0x4D2A, +0xE68682:0x4D2B,0xE68F96:0x4D2C,0xE69C89:0x4D2D,0xE69F9A:0x4D2E,0xE6B9A7:0x4D2F, +0xE6B68C:0x4D30,0xE78CB6:0x4D31,0xE78CB7:0x4D32,0xE794B1:0x4D33,0xE7A590:0x4D34, +0xE8A395:0x4D35,0xE8AA98:0x4D36,0xE9818A:0x4D37,0xE98291:0x4D38,0xE983B5:0x4D39, +0xE99B84:0x4D3A,0xE89E8D:0x4D3B,0xE5A495:0x4D3C,0xE4BA88:0x4D3D,0xE4BD99:0x4D3E, +0xE4B88E:0x4D3F,0xE8AA89:0x4D40,0xE8BCBF:0x4D41,0xE9A090:0x4D42,0xE582AD:0x4D43, +0xE5B9BC:0x4D44,0xE5A696:0x4D45,0xE5AEB9:0x4D46,0xE5BAB8:0x4D47,0xE68F9A:0x4D48, +0xE68FBA:0x4D49,0xE69381:0x4D4A,0xE69B9C:0x4D4B,0xE6A58A:0x4D4C,0xE6A798:0x4D4D, +0xE6B48B:0x4D4E,0xE6BAB6:0x4D4F,0xE78694:0x4D50,0xE794A8:0x4D51,0xE7AAAF:0x4D52, +0xE7BE8A:0x4D53,0xE88080:0x4D54,0xE89189:0x4D55,0xE89389:0x4D56,0xE8A681:0x4D57, +0xE8ACA1:0x4D58,0xE8B88A:0x4D59,0xE981A5:0x4D5A,0xE999BD:0x4D5B,0xE9A48A:0x4D5C, +0xE685BE:0x4D5D,0xE68A91:0x4D5E,0xE6ACB2:0x4D5F,0xE6B283:0x4D60,0xE6B5B4:0x4D61, +0xE7BF8C:0x4D62,0xE7BFBC:0x4D63,0xE6B780:0x4D64,0xE7BE85:0x4D65,0xE89EBA:0x4D66, +0xE8A3B8:0x4D67,0xE69DA5:0x4D68,0xE88EB1:0x4D69,0xE9A0BC:0x4D6A,0xE99BB7:0x4D6B, +0xE6B49B:0x4D6C,0xE7B5A1:0x4D6D,0xE890BD:0x4D6E,0xE985AA:0x4D6F,0xE4B9B1:0x4D70, +0xE58DB5:0x4D71,0xE5B590:0x4D72,0xE6AC84:0x4D73,0xE6BFAB:0x4D74,0xE8978D:0x4D75, +0xE898AD:0x4D76,0xE8A6A7:0x4D77,0xE588A9:0x4D78,0xE5908F:0x4D79,0xE5B1A5:0x4D7A, +0xE69D8E:0x4D7B,0xE6A2A8:0x4D7C,0xE79086:0x4D7D,0xE79283:0x4D7E,0xE797A2:0x4E21, +0xE8A38F:0x4E22,0xE8A3A1:0x4E23,0xE9878C:0x4E24,0xE99BA2:0x4E25,0xE999B8:0x4E26, +0xE5BE8B:0x4E27,0xE78E87:0x4E28,0xE7AB8B:0x4E29,0xE8918E:0x4E2A,0xE68EA0:0x4E2B, +0xE795A5:0x4E2C,0xE58A89:0x4E2D,0xE6B581:0x4E2E,0xE6BA9C:0x4E2F,0xE79089:0x4E30, +0xE79599:0x4E31,0xE7A1AB:0x4E32,0xE7B292:0x4E33,0xE99A86:0x4E34,0xE7AB9C:0x4E35, +0xE9BE8D:0x4E36,0xE4BEB6:0x4E37,0xE685AE:0x4E38,0xE69785:0x4E39,0xE8999C:0x4E3A, +0xE4BA86:0x4E3B,0xE4BAAE:0x4E3C,0xE5839A:0x4E3D,0xE4B8A1:0x4E3E,0xE5878C:0x4E3F, +0xE5AFAE:0x4E40,0xE69699:0x4E41,0xE6A281:0x4E42,0xE6B6BC:0x4E43,0xE78C9F:0x4E44, +0xE79982:0x4E45,0xE79EAD:0x4E46,0xE7A89C:0x4E47,0xE7B3A7:0x4E48,0xE889AF:0x4E49, +0xE8AB92:0x4E4A,0xE981BC:0x4E4B,0xE9878F:0x4E4C,0xE999B5:0x4E4D,0xE9A098:0x4E4E, +0xE58A9B:0x4E4F,0xE7B791:0x4E50,0xE580AB:0x4E51,0xE58E98:0x4E52,0xE69E97:0x4E53, +0xE6B78B:0x4E54,0xE78790:0x4E55,0xE790B3:0x4E56,0xE887A8:0x4E57,0xE8BCAA:0x4E58, +0xE99AA3:0x4E59,0xE9B197:0x4E5A,0xE9BA9F:0x4E5B,0xE791A0:0x4E5C,0xE5A181:0x4E5D, +0xE6B699:0x4E5E,0xE7B4AF:0x4E5F,0xE9A19E:0x4E60,0xE4BBA4:0x4E61,0xE4BCB6:0x4E62, +0xE4BE8B:0x4E63,0xE586B7:0x4E64,0xE58AB1:0x4E65,0xE5B6BA:0x4E66,0xE6809C:0x4E67, +0xE78EB2:0x4E68,0xE7A4BC:0x4E69,0xE88B93:0x4E6A,0xE988B4:0x4E6B,0xE99AB7:0x4E6C, +0xE99BB6:0x4E6D,0xE99C8A:0x4E6E,0xE9BA97:0x4E6F,0xE9BDA2:0x4E70,0xE69AA6:0x4E71, +0xE6ADB4:0x4E72,0xE58897:0x4E73,0xE58AA3:0x4E74,0xE78388:0x4E75,0xE8A382:0x4E76, +0xE5BB89:0x4E77,0xE6818B:0x4E78,0xE68690:0x4E79,0xE6BCA3:0x4E7A,0xE78589:0x4E7B, +0xE7B0BE:0x4E7C,0xE7B7B4:0x4E7D,0xE881AF:0x4E7E,0xE893AE:0x4F21,0xE980A3:0x4F22, +0xE98CAC:0x4F23,0xE59182:0x4F24,0xE9ADAF:0x4F25,0xE6AB93:0x4F26,0xE78289:0x4F27, +0xE8B382:0x4F28,0xE8B7AF:0x4F29,0xE99CB2:0x4F2A,0xE58AB4:0x4F2B,0xE5A981:0x4F2C, +0xE5BB8A:0x4F2D,0xE5BC84:0x4F2E,0xE69C97:0x4F2F,0xE6A5BC:0x4F30,0xE6A694:0x4F31, +0xE6B5AA:0x4F32,0xE6BC8F:0x4F33,0xE789A2:0x4F34,0xE78BBC:0x4F35,0xE7AFAD:0x4F36, +0xE88081:0x4F37,0xE881BE:0x4F38,0xE89D8B:0x4F39,0xE9838E:0x4F3A,0xE585AD:0x4F3B, +0xE9BA93:0x4F3C,0xE7A684:0x4F3D,0xE8828B:0x4F3E,0xE98CB2:0x4F3F,0xE8AB96:0x4F40, +0xE580AD:0x4F41,0xE5928C:0x4F42,0xE8A9B1:0x4F43,0xE6ADAA:0x4F44,0xE8B384:0x4F45, +0xE88487:0x4F46,0xE68391:0x4F47,0xE69EA0:0x4F48,0xE9B7B2:0x4F49,0xE4BA99:0x4F4A, +0xE4BA98:0x4F4B,0xE9B090:0x4F4C,0xE8A9AB:0x4F4D,0xE89781:0x4F4E,0xE895A8:0x4F4F, +0xE6A480:0x4F50,0xE6B9BE:0x4F51,0xE7A297:0x4F52,0xE88595:0x4F53,0xE5BC8C:0x5021, +0xE4B890:0x5022,0xE4B895:0x5023,0xE4B8AA:0x5024,0xE4B8B1:0x5025,0xE4B8B6:0x5026, +0xE4B8BC:0x5027,0xE4B8BF:0x5028,0xE4B982:0x5029,0xE4B996:0x502A,0xE4B998:0x502B, +0xE4BA82:0x502C,0xE4BA85:0x502D,0xE8B1AB:0x502E,0xE4BA8A:0x502F,0xE88892:0x5030, +0xE5BC8D:0x5031,0xE4BA8E:0x5032,0xE4BA9E:0x5033,0xE4BA9F:0x5034,0xE4BAA0:0x5035, +0xE4BAA2:0x5036,0xE4BAB0:0x5037,0xE4BAB3:0x5038,0xE4BAB6:0x5039,0xE4BB8E:0x503A, +0xE4BB8D:0x503B,0xE4BB84:0x503C,0xE4BB86:0x503D,0xE4BB82:0x503E,0xE4BB97:0x503F, +0xE4BB9E:0x5040,0xE4BBAD:0x5041,0xE4BB9F:0x5042,0xE4BBB7:0x5043,0xE4BC89:0x5044, +0xE4BD9A:0x5045,0xE4BCB0:0x5046,0xE4BD9B:0x5047,0xE4BD9D:0x5048,0xE4BD97:0x5049, +0xE4BD87:0x504A,0xE4BDB6:0x504B,0xE4BE88:0x504C,0xE4BE8F:0x504D,0xE4BE98:0x504E, +0xE4BDBB:0x504F,0xE4BDA9:0x5050,0xE4BDB0:0x5051,0xE4BE91:0x5052,0xE4BDAF:0x5053, +0xE4BE86:0x5054,0xE4BE96:0x5055,0xE58498:0x5056,0xE4BF94:0x5057,0xE4BF9F:0x5058, +0xE4BF8E:0x5059,0xE4BF98:0x505A,0xE4BF9B:0x505B,0xE4BF91:0x505C,0xE4BF9A:0x505D, +0xE4BF90:0x505E,0xE4BFA4:0x505F,0xE4BFA5:0x5060,0xE5809A:0x5061,0xE580A8:0x5062, +0xE58094:0x5063,0xE580AA:0x5064,0xE580A5:0x5065,0xE58085:0x5066,0xE4BC9C:0x5067, +0xE4BFB6:0x5068,0xE580A1:0x5069,0xE580A9:0x506A,0xE580AC:0x506B,0xE4BFBE:0x506C, +0xE4BFAF:0x506D,0xE58091:0x506E,0xE58086:0x506F,0xE58183:0x5070,0xE58187:0x5071, +0xE69C83:0x5072,0xE58195:0x5073,0xE58190:0x5074,0xE58188:0x5075,0xE5819A:0x5076, +0xE58196:0x5077,0xE581AC:0x5078,0xE581B8:0x5079,0xE58280:0x507A,0xE5829A:0x507B, +0xE58285:0x507C,0xE582B4:0x507D,0xE582B2:0x507E,0xE58389:0x5121,0xE5838A:0x5122, +0xE582B3:0x5123,0xE58382:0x5124,0xE58396:0x5125,0xE5839E:0x5126,0xE583A5:0x5127, +0xE583AD:0x5128,0xE583A3:0x5129,0xE583AE:0x512A,0xE583B9:0x512B,0xE583B5:0x512C, +0xE58489:0x512D,0xE58481:0x512E,0xE58482:0x512F,0xE58496:0x5130,0xE58495:0x5131, +0xE58494:0x5132,0xE5849A:0x5133,0xE584A1:0x5134,0xE584BA:0x5135,0xE584B7:0x5136, +0xE584BC:0x5137,0xE584BB:0x5138,0xE584BF:0x5139,0xE58580:0x513A,0xE58592:0x513B, +0xE5858C:0x513C,0xE58594:0x513D,0xE585A2:0x513E,0xE7ABB8:0x513F,0xE585A9:0x5140, +0xE585AA:0x5141,0xE585AE:0x5142,0xE58680:0x5143,0xE58682:0x5144,0xE59B98:0x5145, +0xE5868C:0x5146,0xE58689:0x5147,0xE5868F:0x5148,0xE58691:0x5149,0xE58693:0x514A, +0xE58695:0x514B,0xE58696:0x514C,0xE586A4:0x514D,0xE586A6:0x514E,0xE586A2:0x514F, +0xE586A9:0x5150,0xE586AA:0x5151,0xE586AB:0x5152,0xE586B3:0x5153,0xE586B1:0x5154, +0xE586B2:0x5155,0xE586B0:0x5156,0xE586B5:0x5157,0xE586BD:0x5158,0xE58785:0x5159, +0xE58789:0x515A,0xE5879B:0x515B,0xE587A0:0x515C,0xE89995:0x515D,0xE587A9:0x515E, +0xE587AD:0x515F,0xE587B0:0x5160,0xE587B5:0x5161,0xE587BE:0x5162,0xE58884:0x5163, +0xE5888B:0x5164,0xE58894:0x5165,0xE5888E:0x5166,0xE588A7:0x5167,0xE588AA:0x5168, +0xE588AE:0x5169,0xE588B3:0x516A,0xE588B9:0x516B,0xE5898F:0x516C,0xE58984:0x516D, +0xE5898B:0x516E,0xE5898C:0x516F,0xE5899E:0x5170,0xE58994:0x5171,0xE589AA:0x5172, +0xE589B4:0x5173,0xE589A9:0x5174,0xE589B3:0x5175,0xE589BF:0x5176,0xE589BD:0x5177, +0xE58A8D:0x5178,0xE58A94:0x5179,0xE58A92:0x517A,0xE589B1:0x517B,0xE58A88:0x517C, +0xE58A91:0x517D,0xE8BEA8:0x517E,0xE8BEA7:0x5221,0xE58AAC:0x5222,0xE58AAD:0x5223, +0xE58ABC:0x5224,0xE58AB5:0x5225,0xE58B81:0x5226,0xE58B8D:0x5227,0xE58B97:0x5228, +0xE58B9E:0x5229,0xE58BA3:0x522A,0xE58BA6:0x522B,0xE9A3AD:0x522C,0xE58BA0:0x522D, +0xE58BB3:0x522E,0xE58BB5:0x522F,0xE58BB8:0x5230,0xE58BB9:0x5231,0xE58C86:0x5232, +0xE58C88:0x5233,0xE794B8:0x5234,0xE58C8D:0x5235,0xE58C90:0x5236,0xE58C8F:0x5237, +0xE58C95:0x5238,0xE58C9A:0x5239,0xE58CA3:0x523A,0xE58CAF:0x523B,0xE58CB1:0x523C, +0xE58CB3:0x523D,0xE58CB8:0x523E,0xE58D80:0x523F,0xE58D86:0x5240,0xE58D85:0x5241, +0xE4B897:0x5242,0xE58D89:0x5243,0xE58D8D:0x5244,0xE58796:0x5245,0xE58D9E:0x5246, +0xE58DA9:0x5247,0xE58DAE:0x5248,0xE5A498:0x5249,0xE58DBB:0x524A,0xE58DB7:0x524B, +0xE58E82:0x524C,0xE58E96:0x524D,0xE58EA0:0x524E,0xE58EA6:0x524F,0xE58EA5:0x5250, +0xE58EAE:0x5251,0xE58EB0:0x5252,0xE58EB6:0x5253,0xE58F83:0x5254,0xE7B092:0x5255, +0xE99B99:0x5256,0xE58F9F:0x5257,0xE69BBC:0x5258,0xE787AE:0x5259,0xE58FAE:0x525A, +0xE58FA8:0x525B,0xE58FAD:0x525C,0xE58FBA:0x525D,0xE59081:0x525E,0xE590BD:0x525F, +0xE59180:0x5260,0xE590AC:0x5261,0xE590AD:0x5262,0xE590BC:0x5263,0xE590AE:0x5264, +0xE590B6:0x5265,0xE590A9:0x5266,0xE5909D:0x5267,0xE5918E:0x5268,0xE5928F:0x5269, +0xE591B5:0x526A,0xE5928E:0x526B,0xE5919F:0x526C,0xE591B1:0x526D,0xE591B7:0x526E, +0xE591B0:0x526F,0xE59292:0x5270,0xE591BB:0x5271,0xE59280:0x5272,0xE591B6:0x5273, +0xE59284:0x5274,0xE59290:0x5275,0xE59286:0x5276,0xE59387:0x5277,0xE592A2:0x5278, +0xE592B8:0x5279,0xE592A5:0x527A,0xE592AC:0x527B,0xE59384:0x527C,0xE59388:0x527D, +0xE592A8:0x527E,0xE592AB:0x5321,0xE59382:0x5322,0xE592A4:0x5323,0xE592BE:0x5324, +0xE592BC:0x5325,0xE59398:0x5326,0xE593A5:0x5327,0xE593A6:0x5328,0xE5948F:0x5329, +0xE59494:0x532A,0xE593BD:0x532B,0xE593AE:0x532C,0xE593AD:0x532D,0xE593BA:0x532E, +0xE593A2:0x532F,0xE594B9:0x5330,0xE59580:0x5331,0xE595A3:0x5332,0xE5958C:0x5333, +0xE594AE:0x5334,0xE5959C:0x5335,0xE59585:0x5336,0xE59596:0x5337,0xE59597:0x5338, +0xE594B8:0x5339,0xE594B3:0x533A,0xE5959D:0x533B,0xE59699:0x533C,0xE59680:0x533D, +0xE592AF:0x533E,0xE5968A:0x533F,0xE5969F:0x5340,0xE595BB:0x5341,0xE595BE:0x5342, +0xE59698:0x5343,0xE5969E:0x5344,0xE596AE:0x5345,0xE595BC:0x5346,0xE59683:0x5347, +0xE596A9:0x5348,0xE59687:0x5349,0xE596A8:0x534A,0xE5979A:0x534B,0xE59785:0x534C, +0xE5979F:0x534D,0xE59784:0x534E,0xE5979C:0x534F,0xE597A4:0x5350,0xE59794:0x5351, +0xE59894:0x5352,0xE597B7:0x5353,0xE59896:0x5354,0xE597BE:0x5355,0xE597BD:0x5356, +0xE5989B:0x5357,0xE597B9:0x5358,0xE5998E:0x5359,0xE59990:0x535A,0xE7879F:0x535B, +0xE598B4:0x535C,0xE598B6:0x535D,0xE598B2:0x535E,0xE598B8:0x535F,0xE599AB:0x5360, +0xE599A4:0x5361,0xE598AF:0x5362,0xE599AC:0x5363,0xE599AA:0x5364,0xE59A86:0x5365, +0xE59A80:0x5366,0xE59A8A:0x5367,0xE59AA0:0x5368,0xE59A94:0x5369,0xE59A8F:0x536A, +0xE59AA5:0x536B,0xE59AAE:0x536C,0xE59AB6:0x536D,0xE59AB4:0x536E,0xE59B82:0x536F, +0xE59ABC:0x5370,0xE59B81:0x5371,0xE59B83:0x5372,0xE59B80:0x5373,0xE59B88:0x5374, +0xE59B8E:0x5375,0xE59B91:0x5376,0xE59B93:0x5377,0xE59B97:0x5378,0xE59BAE:0x5379, +0xE59BB9:0x537A,0xE59C80:0x537B,0xE59BBF:0x537C,0xE59C84:0x537D,0xE59C89:0x537E, +0xE59C88:0x5421,0xE59C8B:0x5422,0xE59C8D:0x5423,0xE59C93:0x5424,0xE59C98:0x5425, +0xE59C96:0x5426,0xE59787:0x5427,0xE59C9C:0x5428,0xE59CA6:0x5429,0xE59CB7:0x542A, +0xE59CB8:0x542B,0xE59D8E:0x542C,0xE59CBB:0x542D,0xE59D80:0x542E,0xE59D8F:0x542F, +0xE59DA9:0x5430,0xE59F80:0x5431,0xE59E88:0x5432,0xE59DA1:0x5433,0xE59DBF:0x5434, +0xE59E89:0x5435,0xE59E93:0x5436,0xE59EA0:0x5437,0xE59EB3:0x5438,0xE59EA4:0x5439, +0xE59EAA:0x543A,0xE59EB0:0x543B,0xE59F83:0x543C,0xE59F86:0x543D,0xE59F94:0x543E, +0xE59F92:0x543F,0xE59F93:0x5440,0xE5A08A:0x5441,0xE59F96:0x5442,0xE59FA3:0x5443, +0xE5A08B:0x5444,0xE5A099:0x5445,0xE5A09D:0x5446,0xE5A1B2:0x5447,0xE5A0A1:0x5448, +0xE5A1A2:0x5449,0xE5A18B:0x544A,0xE5A1B0:0x544B,0xE6AF80:0x544C,0xE5A192:0x544D, +0xE5A0BD:0x544E,0xE5A1B9:0x544F,0xE5A285:0x5450,0xE5A2B9:0x5451,0xE5A29F:0x5452, +0xE5A2AB:0x5453,0xE5A2BA:0x5454,0xE5A39E:0x5455,0xE5A2BB:0x5456,0xE5A2B8:0x5457, +0xE5A2AE:0x5458,0xE5A385:0x5459,0xE5A393:0x545A,0xE5A391:0x545B,0xE5A397:0x545C, +0xE5A399:0x545D,0xE5A398:0x545E,0xE5A3A5:0x545F,0xE5A39C:0x5460,0xE5A3A4:0x5461, +0xE5A39F:0x5462,0xE5A3AF:0x5463,0xE5A3BA:0x5464,0xE5A3B9:0x5465,0xE5A3BB:0x5466, +0xE5A3BC:0x5467,0xE5A3BD:0x5468,0xE5A482:0x5469,0xE5A48A:0x546A,0xE5A490:0x546B, +0xE5A49B:0x546C,0xE6A2A6:0x546D,0xE5A4A5:0x546E,0xE5A4AC:0x546F,0xE5A4AD:0x5470, +0xE5A4B2:0x5471,0xE5A4B8:0x5472,0xE5A4BE:0x5473,0xE7AB92:0x5474,0xE5A595:0x5475, +0xE5A590:0x5476,0xE5A58E:0x5477,0xE5A59A:0x5478,0xE5A598:0x5479,0xE5A5A2:0x547A, +0xE5A5A0:0x547B,0xE5A5A7:0x547C,0xE5A5AC:0x547D,0xE5A5A9:0x547E,0xE5A5B8:0x5521, +0xE5A681:0x5522,0xE5A69D:0x5523,0xE4BD9E:0x5524,0xE4BEAB:0x5525,0xE5A6A3:0x5526, +0xE5A6B2:0x5527,0xE5A786:0x5528,0xE5A7A8:0x5529,0xE5A79C:0x552A,0xE5A68D:0x552B, +0xE5A799:0x552C,0xE5A79A:0x552D,0xE5A8A5:0x552E,0xE5A89F:0x552F,0xE5A891:0x5530, +0xE5A89C:0x5531,0xE5A889:0x5532,0xE5A89A:0x5533,0xE5A980:0x5534,0xE5A9AC:0x5535, +0xE5A989:0x5536,0xE5A8B5:0x5537,0xE5A8B6:0x5538,0xE5A9A2:0x5539,0xE5A9AA:0x553A, +0xE5AA9A:0x553B,0xE5AABC:0x553C,0xE5AABE:0x553D,0xE5AB8B:0x553E,0xE5AB82:0x553F, +0xE5AABD:0x5540,0xE5ABA3:0x5541,0xE5AB97:0x5542,0xE5ABA6:0x5543,0xE5ABA9:0x5544, +0xE5AB96:0x5545,0xE5ABBA:0x5546,0xE5ABBB:0x5547,0xE5AC8C:0x5548,0xE5AC8B:0x5549, +0xE5AC96:0x554A,0xE5ACB2:0x554B,0xE5AB90:0x554C,0xE5ACAA:0x554D,0xE5ACB6:0x554E, +0xE5ACBE:0x554F,0xE5AD83:0x5550,0xE5AD85:0x5551,0xE5AD80:0x5552,0xE5AD91:0x5553, +0xE5AD95:0x5554,0xE5AD9A:0x5555,0xE5AD9B:0x5556,0xE5ADA5:0x5557,0xE5ADA9:0x5558, +0xE5ADB0:0x5559,0xE5ADB3:0x555A,0xE5ADB5:0x555B,0xE5ADB8:0x555C,0xE69688:0x555D, +0xE5ADBA:0x555E,0xE5AE80:0x555F,0xE5AE83:0x5560,0xE5AEA6:0x5561,0xE5AEB8:0x5562, +0xE5AF83:0x5563,0xE5AF87:0x5564,0xE5AF89:0x5565,0xE5AF94:0x5566,0xE5AF90:0x5567, +0xE5AFA4:0x5568,0xE5AFA6:0x5569,0xE5AFA2:0x556A,0xE5AF9E:0x556B,0xE5AFA5:0x556C, +0xE5AFAB:0x556D,0xE5AFB0:0x556E,0xE5AFB6:0x556F,0xE5AFB3:0x5570,0xE5B085:0x5571, +0xE5B087:0x5572,0xE5B088:0x5573,0xE5B08D:0x5574,0xE5B093:0x5575,0xE5B0A0:0x5576, +0xE5B0A2:0x5577,0xE5B0A8:0x5578,0xE5B0B8:0x5579,0xE5B0B9:0x557A,0xE5B181:0x557B, +0xE5B186:0x557C,0xE5B18E:0x557D,0xE5B193:0x557E,0xE5B190:0x5621,0xE5B18F:0x5622, +0xE5ADB1:0x5623,0xE5B1AC:0x5624,0xE5B1AE:0x5625,0xE4B9A2:0x5626,0xE5B1B6:0x5627, +0xE5B1B9:0x5628,0xE5B28C:0x5629,0xE5B291:0x562A,0xE5B294:0x562B,0xE5A69B:0x562C, +0xE5B2AB:0x562D,0xE5B2BB:0x562E,0xE5B2B6:0x562F,0xE5B2BC:0x5630,0xE5B2B7:0x5631, +0xE5B385:0x5632,0xE5B2BE:0x5633,0xE5B387:0x5634,0xE5B399:0x5635,0xE5B3A9:0x5636, +0xE5B3BD:0x5637,0xE5B3BA:0x5638,0xE5B3AD:0x5639,0xE5B68C:0x563A,0xE5B3AA:0x563B, +0xE5B48B:0x563C,0xE5B495:0x563D,0xE5B497:0x563E,0xE5B59C:0x563F,0xE5B49F:0x5640, +0xE5B49B:0x5641,0xE5B491:0x5642,0xE5B494:0x5643,0xE5B4A2:0x5644,0xE5B49A:0x5645, +0xE5B499:0x5646,0xE5B498:0x5647,0xE5B58C:0x5648,0xE5B592:0x5649,0xE5B58E:0x564A, +0xE5B58B:0x564B,0xE5B5AC:0x564C,0xE5B5B3:0x564D,0xE5B5B6:0x564E,0xE5B687:0x564F, +0xE5B684:0x5650,0xE5B682:0x5651,0xE5B6A2:0x5652,0xE5B69D:0x5653,0xE5B6AC:0x5654, +0xE5B6AE:0x5655,0xE5B6BD:0x5656,0xE5B690:0x5657,0xE5B6B7:0x5658,0xE5B6BC:0x5659, +0xE5B789:0x565A,0xE5B78D:0x565B,0xE5B793:0x565C,0xE5B792:0x565D,0xE5B796:0x565E, +0xE5B79B:0x565F,0xE5B7AB:0x5660,0xE5B7B2:0x5661,0xE5B7B5:0x5662,0xE5B88B:0x5663, +0xE5B89A:0x5664,0xE5B899:0x5665,0xE5B891:0x5666,0xE5B89B:0x5667,0xE5B8B6:0x5668, +0xE5B8B7:0x5669,0xE5B984:0x566A,0xE5B983:0x566B,0xE5B980:0x566C,0xE5B98E:0x566D, +0xE5B997:0x566E,0xE5B994:0x566F,0xE5B99F:0x5670,0xE5B9A2:0x5671,0xE5B9A4:0x5672, +0xE5B987:0x5673,0xE5B9B5:0x5674,0xE5B9B6:0x5675,0xE5B9BA:0x5676,0xE9BABC:0x5677, +0xE5B9BF:0x5678,0xE5BAA0:0x5679,0xE5BB81:0x567A,0xE5BB82:0x567B,0xE5BB88:0x567C, +0xE5BB90:0x567D,0xE5BB8F:0x567E,0xE5BB96:0x5721,0xE5BBA3:0x5722,0xE5BB9D:0x5723, +0xE5BB9A:0x5724,0xE5BB9B:0x5725,0xE5BBA2:0x5726,0xE5BBA1:0x5727,0xE5BBA8:0x5728, +0xE5BBA9:0x5729,0xE5BBAC:0x572A,0xE5BBB1:0x572B,0xE5BBB3:0x572C,0xE5BBB0:0x572D, +0xE5BBB4:0x572E,0xE5BBB8:0x572F,0xE5BBBE:0x5730,0xE5BC83:0x5731,0xE5BC89:0x5732, +0xE5BD9D:0x5733,0xE5BD9C:0x5734,0xE5BC8B:0x5735,0xE5BC91:0x5736,0xE5BC96:0x5737, +0xE5BCA9:0x5738,0xE5BCAD:0x5739,0xE5BCB8:0x573A,0xE5BD81:0x573B,0xE5BD88:0x573C, +0xE5BD8C:0x573D,0xE5BD8E:0x573E,0xE5BCAF:0x573F,0xE5BD91:0x5740,0xE5BD96:0x5741, +0xE5BD97:0x5742,0xE5BD99:0x5743,0xE5BDA1:0x5744,0xE5BDAD:0x5745,0xE5BDB3:0x5746, +0xE5BDB7:0x5747,0xE5BE83:0x5748,0xE5BE82:0x5749,0xE5BDBF:0x574A,0xE5BE8A:0x574B, +0xE5BE88:0x574C,0xE5BE91:0x574D,0xE5BE87:0x574E,0xE5BE9E:0x574F,0xE5BE99:0x5750, +0xE5BE98:0x5751,0xE5BEA0:0x5752,0xE5BEA8:0x5753,0xE5BEAD:0x5754,0xE5BEBC:0x5755, +0xE5BF96:0x5756,0xE5BFBB:0x5757,0xE5BFA4:0x5758,0xE5BFB8:0x5759,0xE5BFB1:0x575A, +0xE5BF9D:0x575B,0xE682B3:0x575C,0xE5BFBF:0x575D,0xE680A1:0x575E,0xE681A0:0x575F, +0xE68099:0x5760,0xE68090:0x5761,0xE680A9:0x5762,0xE6808E:0x5763,0xE680B1:0x5764, +0xE6809B:0x5765,0xE68095:0x5766,0xE680AB:0x5767,0xE680A6:0x5768,0xE6808F:0x5769, +0xE680BA:0x576A,0xE6819A:0x576B,0xE68181:0x576C,0xE681AA:0x576D,0xE681B7:0x576E, +0xE6819F:0x576F,0xE6818A:0x5770,0xE68186:0x5771,0xE6818D:0x5772,0xE681A3:0x5773, +0xE68183:0x5774,0xE681A4:0x5775,0xE68182:0x5776,0xE681AC:0x5777,0xE681AB:0x5778, +0xE68199:0x5779,0xE68281:0x577A,0xE6828D:0x577B,0xE683A7:0x577C,0xE68283:0x577D, +0xE6829A:0x577E,0xE68284:0x5821,0xE6829B:0x5822,0xE68296:0x5823,0xE68297:0x5824, +0xE68292:0x5825,0xE682A7:0x5826,0xE6828B:0x5827,0xE683A1:0x5828,0xE682B8:0x5829, +0xE683A0:0x582A,0xE68393:0x582B,0xE682B4:0x582C,0xE5BFB0:0x582D,0xE682BD:0x582E, +0xE68386:0x582F,0xE682B5:0x5830,0xE68398:0x5831,0xE6858D:0x5832,0xE68495:0x5833, +0xE68486:0x5834,0xE683B6:0x5835,0xE683B7:0x5836,0xE68480:0x5837,0xE683B4:0x5838, +0xE683BA:0x5839,0xE68483:0x583A,0xE684A1:0x583B,0xE683BB:0x583C,0xE683B1:0x583D, +0xE6848D:0x583E,0xE6848E:0x583F,0xE68587:0x5840,0xE684BE:0x5841,0xE684A8:0x5842, +0xE684A7:0x5843,0xE6858A:0x5844,0xE684BF:0x5845,0xE684BC:0x5846,0xE684AC:0x5847, +0xE684B4:0x5848,0xE684BD:0x5849,0xE68582:0x584A,0xE68584:0x584B,0xE685B3:0x584C, +0xE685B7:0x584D,0xE68598:0x584E,0xE68599:0x584F,0xE6859A:0x5850,0xE685AB:0x5851, +0xE685B4:0x5852,0xE685AF:0x5853,0xE685A5:0x5854,0xE685B1:0x5855,0xE6859F:0x5856, +0xE6859D:0x5857,0xE68593:0x5858,0xE685B5:0x5859,0xE68699:0x585A,0xE68696:0x585B, +0xE68687:0x585C,0xE686AC:0x585D,0xE68694:0x585E,0xE6869A:0x585F,0xE6868A:0x5860, +0xE68691:0x5861,0xE686AB:0x5862,0xE686AE:0x5863,0xE6878C:0x5864,0xE6878A:0x5865, +0xE68789:0x5866,0xE687B7:0x5867,0xE68788:0x5868,0xE68783:0x5869,0xE68786:0x586A, +0xE686BA:0x586B,0xE6878B:0x586C,0xE7BDB9:0x586D,0xE6878D:0x586E,0xE687A6:0x586F, +0xE687A3:0x5870,0xE687B6:0x5871,0xE687BA:0x5872,0xE687B4:0x5873,0xE687BF:0x5874, +0xE687BD:0x5875,0xE687BC:0x5876,0xE687BE:0x5877,0xE68880:0x5878,0xE68888:0x5879, +0xE68889:0x587A,0xE6888D:0x587B,0xE6888C:0x587C,0xE68894:0x587D,0xE6889B:0x587E, +0xE6889E:0x5921,0xE688A1:0x5922,0xE688AA:0x5923,0xE688AE:0x5924,0xE688B0:0x5925, +0xE688B2:0x5926,0xE688B3:0x5927,0xE68981:0x5928,0xE6898E:0x5929,0xE6899E:0x592A, +0xE689A3:0x592B,0xE6899B:0x592C,0xE689A0:0x592D,0xE689A8:0x592E,0xE689BC:0x592F, +0xE68A82:0x5930,0xE68A89:0x5931,0xE689BE:0x5932,0xE68A92:0x5933,0xE68A93:0x5934, +0xE68A96:0x5935,0xE68B94:0x5936,0xE68A83:0x5937,0xE68A94:0x5938,0xE68B97:0x5939, +0xE68B91:0x593A,0xE68ABB:0x593B,0xE68B8F:0x593C,0xE68BBF:0x593D,0xE68B86:0x593E, +0xE69394:0x593F,0xE68B88:0x5940,0xE68B9C:0x5941,0xE68B8C:0x5942,0xE68B8A:0x5943, +0xE68B82:0x5944,0xE68B87:0x5945,0xE68A9B:0x5946,0xE68B89:0x5947,0xE68C8C:0x5948, +0xE68BAE:0x5949,0xE68BB1:0x594A,0xE68CA7:0x594B,0xE68C82:0x594C,0xE68C88:0x594D, +0xE68BAF:0x594E,0xE68BB5:0x594F,0xE68D90:0x5950,0xE68CBE:0x5951,0xE68D8D:0x5952, +0xE6909C:0x5953,0xE68D8F:0x5954,0xE68E96:0x5955,0xE68E8E:0x5956,0xE68E80:0x5957, +0xE68EAB:0x5958,0xE68DB6:0x5959,0xE68EA3:0x595A,0xE68E8F:0x595B,0xE68E89:0x595C, +0xE68E9F:0x595D,0xE68EB5:0x595E,0xE68DAB:0x595F,0xE68DA9:0x5960,0xE68EBE:0x5961, +0xE68FA9:0x5962,0xE68F80:0x5963,0xE68F86:0x5964,0xE68FA3:0x5965,0xE68F89:0x5966, +0xE68F92:0x5967,0xE68FB6:0x5968,0xE68F84:0x5969,0xE69096:0x596A,0xE690B4:0x596B, +0xE69086:0x596C,0xE69093:0x596D,0xE690A6:0x596E,0xE690B6:0x596F,0xE6949D:0x5970, +0xE69097:0x5971,0xE690A8:0x5972,0xE6908F:0x5973,0xE691A7:0x5974,0xE691AF:0x5975, +0xE691B6:0x5976,0xE6918E:0x5977,0xE694AA:0x5978,0xE69295:0x5979,0xE69293:0x597A, +0xE692A5:0x597B,0xE692A9:0x597C,0xE69288:0x597D,0xE692BC:0x597E,0xE6939A:0x5A21, +0xE69392:0x5A22,0xE69385:0x5A23,0xE69387:0x5A24,0xE692BB:0x5A25,0xE69398:0x5A26, +0xE69382:0x5A27,0xE693B1:0x5A28,0xE693A7:0x5A29,0xE88889:0x5A2A,0xE693A0:0x5A2B, +0xE693A1:0x5A2C,0xE68AAC:0x5A2D,0xE693A3:0x5A2E,0xE693AF:0x5A2F,0xE694AC:0x5A30, +0xE693B6:0x5A31,0xE693B4:0x5A32,0xE693B2:0x5A33,0xE693BA:0x5A34,0xE69480:0x5A35, +0xE693BD:0x5A36,0xE69498:0x5A37,0xE6949C:0x5A38,0xE69485:0x5A39,0xE694A4:0x5A3A, +0xE694A3:0x5A3B,0xE694AB:0x5A3C,0xE694B4:0x5A3D,0xE694B5:0x5A3E,0xE694B7:0x5A3F, +0xE694B6:0x5A40,0xE694B8:0x5A41,0xE7958B:0x5A42,0xE69588:0x5A43,0xE69596:0x5A44, +0xE69595:0x5A45,0xE6958D:0x5A46,0xE69598:0x5A47,0xE6959E:0x5A48,0xE6959D:0x5A49, +0xE695B2:0x5A4A,0xE695B8:0x5A4B,0xE69682:0x5A4C,0xE69683:0x5A4D,0xE8AE8A:0x5A4E, +0xE6969B:0x5A4F,0xE6969F:0x5A50,0xE696AB:0x5A51,0xE696B7:0x5A52,0xE69783:0x5A53, +0xE69786:0x5A54,0xE69781:0x5A55,0xE69784:0x5A56,0xE6978C:0x5A57,0xE69792:0x5A58, +0xE6979B:0x5A59,0xE69799:0x5A5A,0xE697A0:0x5A5B,0xE697A1:0x5A5C,0xE697B1:0x5A5D, +0xE69DB2:0x5A5E,0xE6988A:0x5A5F,0xE69883:0x5A60,0xE697BB:0x5A61,0xE69DB3:0x5A62, +0xE698B5:0x5A63,0xE698B6:0x5A64,0xE698B4:0x5A65,0xE6989C:0x5A66,0xE6998F:0x5A67, +0xE69984:0x5A68,0xE69989:0x5A69,0xE69981:0x5A6A,0xE6999E:0x5A6B,0xE6999D:0x5A6C, +0xE699A4:0x5A6D,0xE699A7:0x5A6E,0xE699A8:0x5A6F,0xE6999F:0x5A70,0xE699A2:0x5A71, +0xE699B0:0x5A72,0xE69A83:0x5A73,0xE69A88:0x5A74,0xE69A8E:0x5A75,0xE69A89:0x5A76, +0xE69A84:0x5A77,0xE69A98:0x5A78,0xE69A9D:0x5A79,0xE69B81:0x5A7A,0xE69AB9:0x5A7B, +0xE69B89:0x5A7C,0xE69ABE:0x5A7D,0xE69ABC:0x5A7E,0xE69B84:0x5B21,0xE69AB8:0x5B22, +0xE69B96:0x5B23,0xE69B9A:0x5B24,0xE69BA0:0x5B25,0xE698BF:0x5B26,0xE69BA6:0x5B27, +0xE69BA9:0x5B28,0xE69BB0:0x5B29,0xE69BB5:0x5B2A,0xE69BB7:0x5B2B,0xE69C8F:0x5B2C, +0xE69C96:0x5B2D,0xE69C9E:0x5B2E,0xE69CA6:0x5B2F,0xE69CA7:0x5B30,0xE99CB8:0x5B31, +0xE69CAE:0x5B32,0xE69CBF:0x5B33,0xE69CB6:0x5B34,0xE69D81:0x5B35,0xE69CB8:0x5B36, +0xE69CB7:0x5B37,0xE69D86:0x5B38,0xE69D9E:0x5B39,0xE69DA0:0x5B3A,0xE69D99:0x5B3B, +0xE69DA3:0x5B3C,0xE69DA4:0x5B3D,0xE69E89:0x5B3E,0xE69DB0:0x5B3F,0xE69EA9:0x5B40, +0xE69DBC:0x5B41,0xE69DAA:0x5B42,0xE69E8C:0x5B43,0xE69E8B:0x5B44,0xE69EA6:0x5B45, +0xE69EA1:0x5B46,0xE69E85:0x5B47,0xE69EB7:0x5B48,0xE69FAF:0x5B49,0xE69EB4:0x5B4A, +0xE69FAC:0x5B4B,0xE69EB3:0x5B4C,0xE69FA9:0x5B4D,0xE69EB8:0x5B4E,0xE69FA4:0x5B4F, +0xE69F9E:0x5B50,0xE69F9D:0x5B51,0xE69FA2:0x5B52,0xE69FAE:0x5B53,0xE69EB9:0x5B54, +0xE69F8E:0x5B55,0xE69F86:0x5B56,0xE69FA7:0x5B57,0xE6AA9C:0x5B58,0xE6A09E:0x5B59, +0xE6A186:0x5B5A,0xE6A0A9:0x5B5B,0xE6A180:0x5B5C,0xE6A18D:0x5B5D,0xE6A0B2:0x5B5E, +0xE6A18E:0x5B5F,0xE6A2B3:0x5B60,0xE6A0AB:0x5B61,0xE6A199:0x5B62,0xE6A1A3:0x5B63, +0xE6A1B7:0x5B64,0xE6A1BF:0x5B65,0xE6A29F:0x5B66,0xE6A28F:0x5B67,0xE6A2AD:0x5B68, +0xE6A294:0x5B69,0xE6A29D:0x5B6A,0xE6A29B:0x5B6B,0xE6A283:0x5B6C,0xE6AAAE:0x5B6D, +0xE6A2B9:0x5B6E,0xE6A1B4:0x5B6F,0xE6A2B5:0x5B70,0xE6A2A0:0x5B71,0xE6A2BA:0x5B72, +0xE6A48F:0x5B73,0xE6A28D:0x5B74,0xE6A1BE:0x5B75,0xE6A481:0x5B76,0xE6A38A:0x5B77, +0xE6A488:0x5B78,0xE6A398:0x5B79,0xE6A4A2:0x5B7A,0xE6A4A6:0x5B7B,0xE6A3A1:0x5B7C, +0xE6A48C:0x5B7D,0xE6A38D:0x5B7E,0xE6A394:0x5C21,0xE6A3A7:0x5C22,0xE6A395:0x5C23, +0xE6A4B6:0x5C24,0xE6A492:0x5C25,0xE6A484:0x5C26,0xE6A397:0x5C27,0xE6A3A3:0x5C28, +0xE6A4A5:0x5C29,0xE6A3B9:0x5C2A,0xE6A3A0:0x5C2B,0xE6A3AF:0x5C2C,0xE6A4A8:0x5C2D, +0xE6A4AA:0x5C2E,0xE6A49A:0x5C2F,0xE6A4A3:0x5C30,0xE6A4A1:0x5C31,0xE6A386:0x5C32, +0xE6A5B9:0x5C33,0xE6A5B7:0x5C34,0xE6A59C:0x5C35,0xE6A5B8:0x5C36,0xE6A5AB:0x5C37, +0xE6A594:0x5C38,0xE6A5BE:0x5C39,0xE6A5AE:0x5C3A,0xE6A4B9:0x5C3B,0xE6A5B4:0x5C3C, +0xE6A4BD:0x5C3D,0xE6A599:0x5C3E,0xE6A4B0:0x5C3F,0xE6A5A1:0x5C40,0xE6A59E:0x5C41, +0xE6A59D:0x5C42,0xE6A681:0x5C43,0xE6A5AA:0x5C44,0xE6A6B2:0x5C45,0xE6A6AE:0x5C46, +0xE6A790:0x5C47,0xE6A6BF:0x5C48,0xE6A781:0x5C49,0xE6A793:0x5C4A,0xE6A6BE:0x5C4B, +0xE6A78E:0x5C4C,0xE5AFA8:0x5C4D,0xE6A78A:0x5C4E,0xE6A79D:0x5C4F,0xE6A6BB:0x5C50, +0xE6A783:0x5C51,0xE6A6A7:0x5C52,0xE6A8AE:0x5C53,0xE6A691:0x5C54,0xE6A6A0:0x5C55, +0xE6A69C:0x5C56,0xE6A695:0x5C57,0xE6A6B4:0x5C58,0xE6A79E:0x5C59,0xE6A7A8:0x5C5A, +0xE6A882:0x5C5B,0xE6A89B:0x5C5C,0xE6A7BF:0x5C5D,0xE6AC8A:0x5C5E,0xE6A7B9:0x5C5F, +0xE6A7B2:0x5C60,0xE6A7A7:0x5C61,0xE6A885:0x5C62,0xE6A6B1:0x5C63,0xE6A89E:0x5C64, +0xE6A7AD:0x5C65,0xE6A894:0x5C66,0xE6A7AB:0x5C67,0xE6A88A:0x5C68,0xE6A892:0x5C69, +0xE6AB81:0x5C6A,0xE6A8A3:0x5C6B,0xE6A893:0x5C6C,0xE6A984:0x5C6D,0xE6A88C:0x5C6E, +0xE6A9B2:0x5C6F,0xE6A8B6:0x5C70,0xE6A9B8:0x5C71,0xE6A987:0x5C72,0xE6A9A2:0x5C73, +0xE6A999:0x5C74,0xE6A9A6:0x5C75,0xE6A988:0x5C76,0xE6A8B8:0x5C77,0xE6A8A2:0x5C78, +0xE6AA90:0x5C79,0xE6AA8D:0x5C7A,0xE6AAA0:0x5C7B,0xE6AA84:0x5C7C,0xE6AAA2:0x5C7D, +0xE6AAA3:0x5C7E,0xE6AA97:0x5D21,0xE89897:0x5D22,0xE6AABB:0x5D23,0xE6AB83:0x5D24, +0xE6AB82:0x5D25,0xE6AAB8:0x5D26,0xE6AAB3:0x5D27,0xE6AAAC:0x5D28,0xE6AB9E:0x5D29, +0xE6AB91:0x5D2A,0xE6AB9F:0x5D2B,0xE6AAAA:0x5D2C,0xE6AB9A:0x5D2D,0xE6ABAA:0x5D2E, +0xE6ABBB:0x5D2F,0xE6AC85:0x5D30,0xE89896:0x5D31,0xE6ABBA:0x5D32,0xE6AC92:0x5D33, +0xE6AC96:0x5D34,0xE9ACB1:0x5D35,0xE6AC9F:0x5D36,0xE6ACB8:0x5D37,0xE6ACB7:0x5D38, +0xE79B9C:0x5D39,0xE6ACB9:0x5D3A,0xE9A3AE:0x5D3B,0xE6AD87:0x5D3C,0xE6AD83:0x5D3D, +0xE6AD89:0x5D3E,0xE6AD90:0x5D3F,0xE6AD99:0x5D40,0xE6AD94:0x5D41,0xE6AD9B:0x5D42, +0xE6AD9F:0x5D43,0xE6ADA1:0x5D44,0xE6ADB8:0x5D45,0xE6ADB9:0x5D46,0xE6ADBF:0x5D47, +0xE6AE80:0x5D48,0xE6AE84:0x5D49,0xE6AE83:0x5D4A,0xE6AE8D:0x5D4B,0xE6AE98:0x5D4C, +0xE6AE95:0x5D4D,0xE6AE9E:0x5D4E,0xE6AEA4:0x5D4F,0xE6AEAA:0x5D50,0xE6AEAB:0x5D51, +0xE6AEAF:0x5D52,0xE6AEB2:0x5D53,0xE6AEB1:0x5D54,0xE6AEB3:0x5D55,0xE6AEB7:0x5D56, +0xE6AEBC:0x5D57,0xE6AF86:0x5D58,0xE6AF8B:0x5D59,0xE6AF93:0x5D5A,0xE6AF9F:0x5D5B, +0xE6AFAC:0x5D5C,0xE6AFAB:0x5D5D,0xE6AFB3:0x5D5E,0xE6AFAF:0x5D5F,0xE9BABE:0x5D60, +0xE6B088:0x5D61,0xE6B093:0x5D62,0xE6B094:0x5D63,0xE6B09B:0x5D64,0xE6B0A4:0x5D65, +0xE6B0A3:0x5D66,0xE6B19E:0x5D67,0xE6B195:0x5D68,0xE6B1A2:0x5D69,0xE6B1AA:0x5D6A, +0xE6B282:0x5D6B,0xE6B28D:0x5D6C,0xE6B29A:0x5D6D,0xE6B281:0x5D6E,0xE6B29B:0x5D6F, +0xE6B1BE:0x5D70,0xE6B1A8:0x5D71,0xE6B1B3:0x5D72,0xE6B292:0x5D73,0xE6B290:0x5D74, +0xE6B384:0x5D75,0xE6B3B1:0x5D76,0xE6B393:0x5D77,0xE6B2BD:0x5D78,0xE6B397:0x5D79, +0xE6B385:0x5D7A,0xE6B39D:0x5D7B,0xE6B2AE:0x5D7C,0xE6B2B1:0x5D7D,0xE6B2BE:0x5D7E, +0xE6B2BA:0x5E21,0xE6B39B:0x5E22,0xE6B3AF:0x5E23,0xE6B399:0x5E24,0xE6B3AA:0x5E25, +0xE6B49F:0x5E26,0xE8A18D:0x5E27,0xE6B4B6:0x5E28,0xE6B4AB:0x5E29,0xE6B4BD:0x5E2A, +0xE6B4B8:0x5E2B,0xE6B499:0x5E2C,0xE6B4B5:0x5E2D,0xE6B4B3:0x5E2E,0xE6B492:0x5E2F, +0xE6B48C:0x5E30,0xE6B5A3:0x5E31,0xE6B693:0x5E32,0xE6B5A4:0x5E33,0xE6B59A:0x5E34, +0xE6B5B9:0x5E35,0xE6B599:0x5E36,0xE6B68E:0x5E37,0xE6B695:0x5E38,0xE6BFA4:0x5E39, +0xE6B685:0x5E3A,0xE6B7B9:0x5E3B,0xE6B895:0x5E3C,0xE6B88A:0x5E3D,0xE6B6B5:0x5E3E, +0xE6B787:0x5E3F,0xE6B7A6:0x5E40,0xE6B6B8:0x5E41,0xE6B786:0x5E42,0xE6B7AC:0x5E43, +0xE6B79E:0x5E44,0xE6B78C:0x5E45,0xE6B7A8:0x5E46,0xE6B792:0x5E47,0xE6B785:0x5E48, +0xE6B7BA:0x5E49,0xE6B799:0x5E4A,0xE6B7A4:0x5E4B,0xE6B795:0x5E4C,0xE6B7AA:0x5E4D, +0xE6B7AE:0x5E4E,0xE6B8AD:0x5E4F,0xE6B9AE:0x5E50,0xE6B8AE:0x5E51,0xE6B899:0x5E52, +0xE6B9B2:0x5E53,0xE6B99F:0x5E54,0xE6B8BE:0x5E55,0xE6B8A3:0x5E56,0xE6B9AB:0x5E57, +0xE6B8AB:0x5E58,0xE6B9B6:0x5E59,0xE6B98D:0x5E5A,0xE6B89F:0x5E5B,0xE6B983:0x5E5C, +0xE6B8BA:0x5E5D,0xE6B98E:0x5E5E,0xE6B8A4:0x5E5F,0xE6BBBF:0x5E60,0xE6B89D:0x5E61, +0xE6B8B8:0x5E62,0xE6BA82:0x5E63,0xE6BAAA:0x5E64,0xE6BA98:0x5E65,0xE6BB89:0x5E66, +0xE6BAB7:0x5E67,0xE6BB93:0x5E68,0xE6BABD:0x5E69,0xE6BAAF:0x5E6A,0xE6BB84:0x5E6B, +0xE6BAB2:0x5E6C,0xE6BB94:0x5E6D,0xE6BB95:0x5E6E,0xE6BA8F:0x5E6F,0xE6BAA5:0x5E70, +0xE6BB82:0x5E71,0xE6BA9F:0x5E72,0xE6BD81:0x5E73,0xE6BC91:0x5E74,0xE7818C:0x5E75, +0xE6BBAC:0x5E76,0xE6BBB8:0x5E77,0xE6BBBE:0x5E78,0xE6BCBF:0x5E79,0xE6BBB2:0x5E7A, +0xE6BCB1:0x5E7B,0xE6BBAF:0x5E7C,0xE6BCB2:0x5E7D,0xE6BB8C:0x5E7E,0xE6BCBE:0x5F21, +0xE6BC93:0x5F22,0xE6BBB7:0x5F23,0xE6BE86:0x5F24,0xE6BDBA:0x5F25,0xE6BDB8:0x5F26, +0xE6BE81:0x5F27,0xE6BE80:0x5F28,0xE6BDAF:0x5F29,0xE6BD9B:0x5F2A,0xE6BFB3:0x5F2B, +0xE6BDAD:0x5F2C,0xE6BE82:0x5F2D,0xE6BDBC:0x5F2E,0xE6BD98:0x5F2F,0xE6BE8E:0x5F30, +0xE6BE91:0x5F31,0xE6BF82:0x5F32,0xE6BDA6:0x5F33,0xE6BEB3:0x5F34,0xE6BEA3:0x5F35, +0xE6BEA1:0x5F36,0xE6BEA4:0x5F37,0xE6BEB9:0x5F38,0xE6BF86:0x5F39,0xE6BEAA:0x5F3A, +0xE6BF9F:0x5F3B,0xE6BF95:0x5F3C,0xE6BFAC:0x5F3D,0xE6BF94:0x5F3E,0xE6BF98:0x5F3F, +0xE6BFB1:0x5F40,0xE6BFAE:0x5F41,0xE6BF9B:0x5F42,0xE78089:0x5F43,0xE7808B:0x5F44, +0xE6BFBA:0x5F45,0xE78091:0x5F46,0xE78081:0x5F47,0xE7808F:0x5F48,0xE6BFBE:0x5F49, +0xE7809B:0x5F4A,0xE7809A:0x5F4B,0xE6BDB4:0x5F4C,0xE7809D:0x5F4D,0xE78098:0x5F4E, +0xE7809F:0x5F4F,0xE780B0:0x5F50,0xE780BE:0x5F51,0xE780B2:0x5F52,0xE78191:0x5F53, +0xE781A3:0x5F54,0xE78299:0x5F55,0xE78292:0x5F56,0xE782AF:0x5F57,0xE783B1:0x5F58, +0xE782AC:0x5F59,0xE782B8:0x5F5A,0xE782B3:0x5F5B,0xE782AE:0x5F5C,0xE7839F:0x5F5D, +0xE7838B:0x5F5E,0xE7839D:0x5F5F,0xE78399:0x5F60,0xE78489:0x5F61,0xE783BD:0x5F62, +0xE7849C:0x5F63,0xE78499:0x5F64,0xE785A5:0x5F65,0xE78595:0x5F66,0xE78688:0x5F67, +0xE785A6:0x5F68,0xE785A2:0x5F69,0xE7858C:0x5F6A,0xE78596:0x5F6B,0xE785AC:0x5F6C, +0xE7868F:0x5F6D,0xE787BB:0x5F6E,0xE78684:0x5F6F,0xE78695:0x5F70,0xE786A8:0x5F71, +0xE786AC:0x5F72,0xE78797:0x5F73,0xE786B9:0x5F74,0xE786BE:0x5F75,0xE78792:0x5F76, +0xE78789:0x5F77,0xE78794:0x5F78,0xE7878E:0x5F79,0xE787A0:0x5F7A,0xE787AC:0x5F7B, +0xE787A7:0x5F7C,0xE787B5:0x5F7D,0xE787BC:0x5F7E,0xE787B9:0x6021,0xE787BF:0x6022, +0xE7888D:0x6023,0xE78890:0x6024,0xE7889B:0x6025,0xE788A8:0x6026,0xE788AD:0x6027, +0xE788AC:0x6028,0xE788B0:0x6029,0xE788B2:0x602A,0xE788BB:0x602B,0xE788BC:0x602C, +0xE788BF:0x602D,0xE78980:0x602E,0xE78986:0x602F,0xE7898B:0x6030,0xE78998:0x6031, +0xE789B4:0x6032,0xE789BE:0x6033,0xE78A82:0x6034,0xE78A81:0x6035,0xE78A87:0x6036, +0xE78A92:0x6037,0xE78A96:0x6038,0xE78AA2:0x6039,0xE78AA7:0x603A,0xE78AB9:0x603B, +0xE78AB2:0x603C,0xE78B83:0x603D,0xE78B86:0x603E,0xE78B84:0x603F,0xE78B8E:0x6040, +0xE78B92:0x6041,0xE78BA2:0x6042,0xE78BA0:0x6043,0xE78BA1:0x6044,0xE78BB9:0x6045, +0xE78BB7:0x6046,0xE5808F:0x6047,0xE78C97:0x6048,0xE78C8A:0x6049,0xE78C9C:0x604A, +0xE78C96:0x604B,0xE78C9D:0x604C,0xE78CB4:0x604D,0xE78CAF:0x604E,0xE78CA9:0x604F, +0xE78CA5:0x6050,0xE78CBE:0x6051,0xE78D8E:0x6052,0xE78D8F:0x6053,0xE9BB98:0x6054, +0xE78D97:0x6055,0xE78DAA:0x6056,0xE78DA8:0x6057,0xE78DB0:0x6058,0xE78DB8:0x6059, +0xE78DB5:0x605A,0xE78DBB:0x605B,0xE78DBA:0x605C,0xE78F88:0x605D,0xE78EB3:0x605E, +0xE78F8E:0x605F,0xE78EBB:0x6060,0xE78F80:0x6061,0xE78FA5:0x6062,0xE78FAE:0x6063, +0xE78F9E:0x6064,0xE792A2:0x6065,0xE79085:0x6066,0xE791AF:0x6067,0xE790A5:0x6068, +0xE78FB8:0x6069,0xE790B2:0x606A,0xE790BA:0x606B,0xE79195:0x606C,0xE790BF:0x606D, +0xE7919F:0x606E,0xE79199:0x606F,0xE79181:0x6070,0xE7919C:0x6071,0xE791A9:0x6072, +0xE791B0:0x6073,0xE791A3:0x6074,0xE791AA:0x6075,0xE791B6:0x6076,0xE791BE:0x6077, +0xE7928B:0x6078,0xE7929E:0x6079,0xE792A7:0x607A,0xE7938A:0x607B,0xE7938F:0x607C, +0xE79394:0x607D,0xE78FB1:0x607E,0xE793A0:0x6121,0xE793A3:0x6122,0xE793A7:0x6123, +0xE793A9:0x6124,0xE793AE:0x6125,0xE793B2:0x6126,0xE793B0:0x6127,0xE793B1:0x6128, +0xE793B8:0x6129,0xE793B7:0x612A,0xE79484:0x612B,0xE79483:0x612C,0xE79485:0x612D, +0xE7948C:0x612E,0xE7948E:0x612F,0xE7948D:0x6130,0xE79495:0x6131,0xE79493:0x6132, +0xE7949E:0x6133,0xE794A6:0x6134,0xE794AC:0x6135,0xE794BC:0x6136,0xE79584:0x6137, +0xE7958D:0x6138,0xE7958A:0x6139,0xE79589:0x613A,0xE7959B:0x613B,0xE79586:0x613C, +0xE7959A:0x613D,0xE795A9:0x613E,0xE795A4:0x613F,0xE795A7:0x6140,0xE795AB:0x6141, +0xE795AD:0x6142,0xE795B8:0x6143,0xE795B6:0x6144,0xE79686:0x6145,0xE79687:0x6146, +0xE795B4:0x6147,0xE7968A:0x6148,0xE79689:0x6149,0xE79682:0x614A,0xE79694:0x614B, +0xE7969A:0x614C,0xE7969D:0x614D,0xE796A5:0x614E,0xE796A3:0x614F,0xE79782:0x6150, +0xE796B3:0x6151,0xE79783:0x6152,0xE796B5:0x6153,0xE796BD:0x6154,0xE796B8:0x6155, +0xE796BC:0x6156,0xE796B1:0x6157,0xE7978D:0x6158,0xE7978A:0x6159,0xE79792:0x615A, +0xE79799:0x615B,0xE797A3:0x615C,0xE7979E:0x615D,0xE797BE:0x615E,0xE797BF:0x615F, +0xE797BC:0x6160,0xE79881:0x6161,0xE797B0:0x6162,0xE797BA:0x6163,0xE797B2:0x6164, +0xE797B3:0x6165,0xE7988B:0x6166,0xE7988D:0x6167,0xE79889:0x6168,0xE7989F:0x6169, +0xE798A7:0x616A,0xE798A0:0x616B,0xE798A1:0x616C,0xE798A2:0x616D,0xE798A4:0x616E, +0xE798B4:0x616F,0xE798B0:0x6170,0xE798BB:0x6171,0xE79987:0x6172,0xE79988:0x6173, +0xE79986:0x6174,0xE7999C:0x6175,0xE79998:0x6176,0xE799A1:0x6177,0xE799A2:0x6178, +0xE799A8:0x6179,0xE799A9:0x617A,0xE799AA:0x617B,0xE799A7:0x617C,0xE799AC:0x617D, +0xE799B0:0x617E,0xE799B2:0x6221,0xE799B6:0x6222,0xE799B8:0x6223,0xE799BC:0x6224, +0xE79A80:0x6225,0xE79A83:0x6226,0xE79A88:0x6227,0xE79A8B:0x6228,0xE79A8E:0x6229, +0xE79A96:0x622A,0xE79A93:0x622B,0xE79A99:0x622C,0xE79A9A:0x622D,0xE79AB0:0x622E, +0xE79AB4:0x622F,0xE79AB8:0x6230,0xE79AB9:0x6231,0xE79ABA:0x6232,0xE79B82:0x6233, +0xE79B8D:0x6234,0xE79B96:0x6235,0xE79B92:0x6236,0xE79B9E:0x6237,0xE79BA1:0x6238, +0xE79BA5:0x6239,0xE79BA7:0x623A,0xE79BAA:0x623B,0xE898AF:0x623C,0xE79BBB:0x623D, +0xE79C88:0x623E,0xE79C87:0x623F,0xE79C84:0x6240,0xE79CA9:0x6241,0xE79CA4:0x6242, +0xE79C9E:0x6243,0xE79CA5:0x6244,0xE79CA6:0x6245,0xE79C9B:0x6246,0xE79CB7:0x6247, +0xE79CB8:0x6248,0xE79D87:0x6249,0xE79D9A:0x624A,0xE79DA8:0x624B,0xE79DAB:0x624C, +0xE79D9B:0x624D,0xE79DA5:0x624E,0xE79DBF:0x624F,0xE79DBE:0x6250,0xE79DB9:0x6251, +0xE79E8E:0x6252,0xE79E8B:0x6253,0xE79E91:0x6254,0xE79EA0:0x6255,0xE79E9E:0x6256, +0xE79EB0:0x6257,0xE79EB6:0x6258,0xE79EB9:0x6259,0xE79EBF:0x625A,0xE79EBC:0x625B, +0xE79EBD:0x625C,0xE79EBB:0x625D,0xE79F87:0x625E,0xE79F8D:0x625F,0xE79F97:0x6260, +0xE79F9A:0x6261,0xE79F9C:0x6262,0xE79FA3:0x6263,0xE79FAE:0x6264,0xE79FBC:0x6265, +0xE7A08C:0x6266,0xE7A092:0x6267,0xE7A4A6:0x6268,0xE7A0A0:0x6269,0xE7A4AA:0x626A, +0xE7A185:0x626B,0xE7A28E:0x626C,0xE7A1B4:0x626D,0xE7A286:0x626E,0xE7A1BC:0x626F, +0xE7A29A:0x6270,0xE7A28C:0x6271,0xE7A2A3:0x6272,0xE7A2B5:0x6273,0xE7A2AA:0x6274, +0xE7A2AF:0x6275,0xE7A391:0x6276,0xE7A386:0x6277,0xE7A38B:0x6278,0xE7A394:0x6279, +0xE7A2BE:0x627A,0xE7A2BC:0x627B,0xE7A385:0x627C,0xE7A38A:0x627D,0xE7A3AC:0x627E, +0xE7A3A7:0x6321,0xE7A39A:0x6322,0xE7A3BD:0x6323,0xE7A3B4:0x6324,0xE7A487:0x6325, +0xE7A492:0x6326,0xE7A491:0x6327,0xE7A499:0x6328,0xE7A4AC:0x6329,0xE7A4AB:0x632A, +0xE7A580:0x632B,0xE7A5A0:0x632C,0xE7A597:0x632D,0xE7A59F:0x632E,0xE7A59A:0x632F, +0xE7A595:0x6330,0xE7A593:0x6331,0xE7A5BA:0x6332,0xE7A5BF:0x6333,0xE7A68A:0x6334, +0xE7A69D:0x6335,0xE7A6A7:0x6336,0xE9BD8B:0x6337,0xE7A6AA:0x6338,0xE7A6AE:0x6339, +0xE7A6B3:0x633A,0xE7A6B9:0x633B,0xE7A6BA:0x633C,0xE7A789:0x633D,0xE7A795:0x633E, +0xE7A7A7:0x633F,0xE7A7AC:0x6340,0xE7A7A1:0x6341,0xE7A7A3:0x6342,0xE7A888:0x6343, +0xE7A88D:0x6344,0xE7A898:0x6345,0xE7A899:0x6346,0xE7A8A0:0x6347,0xE7A89F:0x6348, +0xE7A680:0x6349,0xE7A8B1:0x634A,0xE7A8BB:0x634B,0xE7A8BE:0x634C,0xE7A8B7:0x634D, +0xE7A983:0x634E,0xE7A997:0x634F,0xE7A989:0x6350,0xE7A9A1:0x6351,0xE7A9A2:0x6352, +0xE7A9A9:0x6353,0xE9BE9D:0x6354,0xE7A9B0:0x6355,0xE7A9B9:0x6356,0xE7A9BD:0x6357, +0xE7AA88:0x6358,0xE7AA97:0x6359,0xE7AA95:0x635A,0xE7AA98:0x635B,0xE7AA96:0x635C, +0xE7AAA9:0x635D,0xE7AB88:0x635E,0xE7AAB0:0x635F,0xE7AAB6:0x6360,0xE7AB85:0x6361, +0xE7AB84:0x6362,0xE7AABF:0x6363,0xE98283:0x6364,0xE7AB87:0x6365,0xE7AB8A:0x6366, +0xE7AB8D:0x6367,0xE7AB8F:0x6368,0xE7AB95:0x6369,0xE7AB93:0x636A,0xE7AB99:0x636B, +0xE7AB9A:0x636C,0xE7AB9D:0x636D,0xE7ABA1:0x636E,0xE7ABA2:0x636F,0xE7ABA6:0x6370, +0xE7ABAD:0x6371,0xE7ABB0:0x6372,0xE7AC82:0x6373,0xE7AC8F:0x6374,0xE7AC8A:0x6375, +0xE7AC86:0x6376,0xE7ACB3:0x6377,0xE7AC98:0x6378,0xE7AC99:0x6379,0xE7AC9E:0x637A, +0xE7ACB5:0x637B,0xE7ACA8:0x637C,0xE7ACB6:0x637D,0xE7AD90:0x637E,0xE7ADBA:0x6421, +0xE7AC84:0x6422,0xE7AD8D:0x6423,0xE7AC8B:0x6424,0xE7AD8C:0x6425,0xE7AD85:0x6426, +0xE7ADB5:0x6427,0xE7ADA5:0x6428,0xE7ADB4:0x6429,0xE7ADA7:0x642A,0xE7ADB0:0x642B, +0xE7ADB1:0x642C,0xE7ADAC:0x642D,0xE7ADAE:0x642E,0xE7AE9D:0x642F,0xE7AE98:0x6430, +0xE7AE9F:0x6431,0xE7AE8D:0x6432,0xE7AE9C:0x6433,0xE7AE9A:0x6434,0xE7AE8B:0x6435, +0xE7AE92:0x6436,0xE7AE8F:0x6437,0xE7AD9D:0x6438,0xE7AE99:0x6439,0xE7AF8B:0x643A, +0xE7AF81:0x643B,0xE7AF8C:0x643C,0xE7AF8F:0x643D,0xE7AEB4:0x643E,0xE7AF86:0x643F, +0xE7AF9D:0x6440,0xE7AFA9:0x6441,0xE7B091:0x6442,0xE7B094:0x6443,0xE7AFA6:0x6444, +0xE7AFA5:0x6445,0xE7B1A0:0x6446,0xE7B080:0x6447,0xE7B087:0x6448,0xE7B093:0x6449, +0xE7AFB3:0x644A,0xE7AFB7:0x644B,0xE7B097:0x644C,0xE7B08D:0x644D,0xE7AFB6:0x644E, +0xE7B0A3:0x644F,0xE7B0A7:0x6450,0xE7B0AA:0x6451,0xE7B09F:0x6452,0xE7B0B7:0x6453, +0xE7B0AB:0x6454,0xE7B0BD:0x6455,0xE7B18C:0x6456,0xE7B183:0x6457,0xE7B194:0x6458, +0xE7B18F:0x6459,0xE7B180:0x645A,0xE7B190:0x645B,0xE7B198:0x645C,0xE7B19F:0x645D, +0xE7B1A4:0x645E,0xE7B196:0x645F,0xE7B1A5:0x6460,0xE7B1AC:0x6461,0xE7B1B5:0x6462, +0xE7B283:0x6463,0xE7B290:0x6464,0xE7B2A4:0x6465,0xE7B2AD:0x6466,0xE7B2A2:0x6467, +0xE7B2AB:0x6468,0xE7B2A1:0x6469,0xE7B2A8:0x646A,0xE7B2B3:0x646B,0xE7B2B2:0x646C, +0xE7B2B1:0x646D,0xE7B2AE:0x646E,0xE7B2B9:0x646F,0xE7B2BD:0x6470,0xE7B380:0x6471, +0xE7B385:0x6472,0xE7B382:0x6473,0xE7B398:0x6474,0xE7B392:0x6475,0xE7B39C:0x6476, +0xE7B3A2:0x6477,0xE9ACBB:0x6478,0xE7B3AF:0x6479,0xE7B3B2:0x647A,0xE7B3B4:0x647B, +0xE7B3B6:0x647C,0xE7B3BA:0x647D,0xE7B486:0x647E,0xE7B482:0x6521,0xE7B49C:0x6522, +0xE7B495:0x6523,0xE7B48A:0x6524,0xE7B585:0x6525,0xE7B58B:0x6526,0xE7B4AE:0x6527, +0xE7B4B2:0x6528,0xE7B4BF:0x6529,0xE7B4B5:0x652A,0xE7B586:0x652B,0xE7B5B3:0x652C, +0xE7B596:0x652D,0xE7B58E:0x652E,0xE7B5B2:0x652F,0xE7B5A8:0x6530,0xE7B5AE:0x6531, +0xE7B58F:0x6532,0xE7B5A3:0x6533,0xE7B693:0x6534,0xE7B689:0x6535,0xE7B59B:0x6536, +0xE7B68F:0x6537,0xE7B5BD:0x6538,0xE7B69B:0x6539,0xE7B6BA:0x653A,0xE7B6AE:0x653B, +0xE7B6A3:0x653C,0xE7B6B5:0x653D,0xE7B787:0x653E,0xE7B6BD:0x653F,0xE7B6AB:0x6540, +0xE7B8BD:0x6541,0xE7B6A2:0x6542,0xE7B6AF:0x6543,0xE7B79C:0x6544,0xE7B6B8:0x6545, +0xE7B69F:0x6546,0xE7B6B0:0x6547,0xE7B798:0x6548,0xE7B79D:0x6549,0xE7B7A4:0x654A, +0xE7B79E:0x654B,0xE7B7BB:0x654C,0xE7B7B2:0x654D,0xE7B7A1:0x654E,0xE7B885:0x654F, +0xE7B88A:0x6550,0xE7B8A3:0x6551,0xE7B8A1:0x6552,0xE7B892:0x6553,0xE7B8B1:0x6554, +0xE7B89F:0x6555,0xE7B889:0x6556,0xE7B88B:0x6557,0xE7B8A2:0x6558,0xE7B986:0x6559, +0xE7B9A6:0x655A,0xE7B8BB:0x655B,0xE7B8B5:0x655C,0xE7B8B9:0x655D,0xE7B983:0x655E, +0xE7B8B7:0x655F,0xE7B8B2:0x6560,0xE7B8BA:0x6561,0xE7B9A7:0x6562,0xE7B99D:0x6563, +0xE7B996:0x6564,0xE7B99E:0x6565,0xE7B999:0x6566,0xE7B99A:0x6567,0xE7B9B9:0x6568, +0xE7B9AA:0x6569,0xE7B9A9:0x656A,0xE7B9BC:0x656B,0xE7B9BB:0x656C,0xE7BA83:0x656D, +0xE7B795:0x656E,0xE7B9BD:0x656F,0xE8BEAE:0x6570,0xE7B9BF:0x6571,0xE7BA88:0x6572, +0xE7BA89:0x6573,0xE7BA8C:0x6574,0xE7BA92:0x6575,0xE7BA90:0x6576,0xE7BA93:0x6577, +0xE7BA94:0x6578,0xE7BA96:0x6579,0xE7BA8E:0x657A,0xE7BA9B:0x657B,0xE7BA9C:0x657C, +0xE7BCB8:0x657D,0xE7BCBA:0x657E,0xE7BD85:0x6621,0xE7BD8C:0x6622,0xE7BD8D:0x6623, +0xE7BD8E:0x6624,0xE7BD90:0x6625,0xE7BD91:0x6626,0xE7BD95:0x6627,0xE7BD94:0x6628, +0xE7BD98:0x6629,0xE7BD9F:0x662A,0xE7BDA0:0x662B,0xE7BDA8:0x662C,0xE7BDA9:0x662D, +0xE7BDA7:0x662E,0xE7BDB8:0x662F,0xE7BE82:0x6630,0xE7BE86:0x6631,0xE7BE83:0x6632, +0xE7BE88:0x6633,0xE7BE87:0x6634,0xE7BE8C:0x6635,0xE7BE94:0x6636,0xE7BE9E:0x6637, +0xE7BE9D:0x6638,0xE7BE9A:0x6639,0xE7BEA3:0x663A,0xE7BEAF:0x663B,0xE7BEB2:0x663C, +0xE7BEB9:0x663D,0xE7BEAE:0x663E,0xE7BEB6:0x663F,0xE7BEB8:0x6640,0xE8ADB1:0x6641, +0xE7BF85:0x6642,0xE7BF86:0x6643,0xE7BF8A:0x6644,0xE7BF95:0x6645,0xE7BF94:0x6646, +0xE7BFA1:0x6647,0xE7BFA6:0x6648,0xE7BFA9:0x6649,0xE7BFB3:0x664A,0xE7BFB9:0x664B, +0xE9A39C:0x664C,0xE88086:0x664D,0xE88084:0x664E,0xE8808B:0x664F,0xE88092:0x6650, +0xE88098:0x6651,0xE88099:0x6652,0xE8809C:0x6653,0xE880A1:0x6654,0xE880A8:0x6655, +0xE880BF:0x6656,0xE880BB:0x6657,0xE8818A:0x6658,0xE88186:0x6659,0xE88192:0x665A, +0xE88198:0x665B,0xE8819A:0x665C,0xE8819F:0x665D,0xE881A2:0x665E,0xE881A8:0x665F, +0xE881B3:0x6660,0xE881B2:0x6661,0xE881B0:0x6662,0xE881B6:0x6663,0xE881B9:0x6664, +0xE881BD:0x6665,0xE881BF:0x6666,0xE88284:0x6667,0xE88286:0x6668,0xE88285:0x6669, +0xE8829B:0x666A,0xE88293:0x666B,0xE8829A:0x666C,0xE882AD:0x666D,0xE58690:0x666E, +0xE882AC:0x666F,0xE8839B:0x6670,0xE883A5:0x6671,0xE88399:0x6672,0xE8839D:0x6673, +0xE88384:0x6674,0xE8839A:0x6675,0xE88396:0x6676,0xE88489:0x6677,0xE883AF:0x6678, +0xE883B1:0x6679,0xE8849B:0x667A,0xE884A9:0x667B,0xE884A3:0x667C,0xE884AF:0x667D, +0xE8858B:0x667E,0xE99A8B:0x6721,0xE88586:0x6722,0xE884BE:0x6723,0xE88593:0x6724, +0xE88591:0x6725,0xE883BC:0x6726,0xE885B1:0x6727,0xE885AE:0x6728,0xE885A5:0x6729, +0xE885A6:0x672A,0xE885B4:0x672B,0xE88683:0x672C,0xE88688:0x672D,0xE8868A:0x672E, +0xE88680:0x672F,0xE88682:0x6730,0xE886A0:0x6731,0xE88695:0x6732,0xE886A4:0x6733, +0xE886A3:0x6734,0xE8859F:0x6735,0xE88693:0x6736,0xE886A9:0x6737,0xE886B0:0x6738, +0xE886B5:0x6739,0xE886BE:0x673A,0xE886B8:0x673B,0xE886BD:0x673C,0xE88780:0x673D, +0xE88782:0x673E,0xE886BA:0x673F,0xE88789:0x6740,0xE8878D:0x6741,0xE88791:0x6742, +0xE88799:0x6743,0xE88798:0x6744,0xE88788:0x6745,0xE8879A:0x6746,0xE8879F:0x6747, +0xE887A0:0x6748,0xE887A7:0x6749,0xE887BA:0x674A,0xE887BB:0x674B,0xE887BE:0x674C, +0xE88881:0x674D,0xE88882:0x674E,0xE88885:0x674F,0xE88887:0x6750,0xE8888A:0x6751, +0xE8888D:0x6752,0xE88890:0x6753,0xE88896:0x6754,0xE888A9:0x6755,0xE888AB:0x6756, +0xE888B8:0x6757,0xE888B3:0x6758,0xE88980:0x6759,0xE88999:0x675A,0xE88998:0x675B, +0xE8899D:0x675C,0xE8899A:0x675D,0xE8899F:0x675E,0xE889A4:0x675F,0xE889A2:0x6760, +0xE889A8:0x6761,0xE889AA:0x6762,0xE889AB:0x6763,0xE888AE:0x6764,0xE889B1:0x6765, +0xE889B7:0x6766,0xE889B8:0x6767,0xE889BE:0x6768,0xE88A8D:0x6769,0xE88A92:0x676A, +0xE88AAB:0x676B,0xE88A9F:0x676C,0xE88ABB:0x676D,0xE88AAC:0x676E,0xE88BA1:0x676F, +0xE88BA3:0x6770,0xE88B9F:0x6771,0xE88B92:0x6772,0xE88BB4:0x6773,0xE88BB3:0x6774, +0xE88BBA:0x6775,0xE88E93:0x6776,0xE88C83:0x6777,0xE88BBB:0x6778,0xE88BB9:0x6779, +0xE88B9E:0x677A,0xE88C86:0x677B,0xE88B9C:0x677C,0xE88C89:0x677D,0xE88B99:0x677E, +0xE88CB5:0x6821,0xE88CB4:0x6822,0xE88C96:0x6823,0xE88CB2:0x6824,0xE88CB1:0x6825, +0xE88D80:0x6826,0xE88CB9:0x6827,0xE88D90:0x6828,0xE88D85:0x6829,0xE88CAF:0x682A, +0xE88CAB:0x682B,0xE88C97:0x682C,0xE88C98:0x682D,0xE88E85:0x682E,0xE88E9A:0x682F, +0xE88EAA:0x6830,0xE88E9F:0x6831,0xE88EA2:0x6832,0xE88E96:0x6833,0xE88CA3:0x6834, +0xE88E8E:0x6835,0xE88E87:0x6836,0xE88E8A:0x6837,0xE88DBC:0x6838,0xE88EB5:0x6839, +0xE88DB3:0x683A,0xE88DB5:0x683B,0xE88EA0:0x683C,0xE88E89:0x683D,0xE88EA8:0x683E, +0xE88FB4:0x683F,0xE89093:0x6840,0xE88FAB:0x6841,0xE88F8E:0x6842,0xE88FBD:0x6843, +0xE89083:0x6844,0xE88F98:0x6845,0xE8908B:0x6846,0xE88F81:0x6847,0xE88FB7:0x6848, +0xE89087:0x6849,0xE88FA0:0x684A,0xE88FB2:0x684B,0xE8908D:0x684C,0xE890A2:0x684D, +0xE890A0:0x684E,0xE88EBD:0x684F,0xE890B8:0x6850,0xE89486:0x6851,0xE88FBB:0x6852, +0xE891AD:0x6853,0xE890AA:0x6854,0xE890BC:0x6855,0xE8959A:0x6856,0xE89284:0x6857, +0xE891B7:0x6858,0xE891AB:0x6859,0xE892AD:0x685A,0xE891AE:0x685B,0xE89282:0x685C, +0xE891A9:0x685D,0xE89186:0x685E,0xE890AC:0x685F,0xE891AF:0x6860,0xE891B9:0x6861, +0xE890B5:0x6862,0xE8938A:0x6863,0xE891A2:0x6864,0xE892B9:0x6865,0xE892BF:0x6866, +0xE8929F:0x6867,0xE89399:0x6868,0xE8938D:0x6869,0xE892BB:0x686A,0xE8939A:0x686B, +0xE89390:0x686C,0xE89381:0x686D,0xE89386:0x686E,0xE89396:0x686F,0xE892A1:0x6870, +0xE894A1:0x6871,0xE893BF:0x6872,0xE893B4:0x6873,0xE89497:0x6874,0xE89498:0x6875, +0xE894AC:0x6876,0xE8949F:0x6877,0xE89495:0x6878,0xE89494:0x6879,0xE893BC:0x687A, +0xE89580:0x687B,0xE895A3:0x687C,0xE89598:0x687D,0xE89588:0x687E,0xE89581:0x6921, +0xE89882:0x6922,0xE8958B:0x6923,0xE89595:0x6924,0xE89680:0x6925,0xE896A4:0x6926, +0xE89688:0x6927,0xE89691:0x6928,0xE8968A:0x6929,0xE896A8:0x692A,0xE895AD:0x692B, +0xE89694:0x692C,0xE8969B:0x692D,0xE897AA:0x692E,0xE89687:0x692F,0xE8969C:0x6930, +0xE895B7:0x6931,0xE895BE:0x6932,0xE89690:0x6933,0xE89789:0x6934,0xE896BA:0x6935, +0xE8978F:0x6936,0xE896B9:0x6937,0xE89790:0x6938,0xE89795:0x6939,0xE8979D:0x693A, +0xE897A5:0x693B,0xE8979C:0x693C,0xE897B9:0x693D,0xE8988A:0x693E,0xE89893:0x693F, +0xE8988B:0x6940,0xE897BE:0x6941,0xE897BA:0x6942,0xE89886:0x6943,0xE898A2:0x6944, +0xE8989A:0x6945,0xE898B0:0x6946,0xE898BF:0x6947,0xE8998D:0x6948,0xE4B995:0x6949, +0xE89994:0x694A,0xE8999F:0x694B,0xE899A7:0x694C,0xE899B1:0x694D,0xE89A93:0x694E, +0xE89AA3:0x694F,0xE89AA9:0x6950,0xE89AAA:0x6951,0xE89A8B:0x6952,0xE89A8C:0x6953, +0xE89AB6:0x6954,0xE89AAF:0x6955,0xE89B84:0x6956,0xE89B86:0x6957,0xE89AB0:0x6958, +0xE89B89:0x6959,0xE8A0A3:0x695A,0xE89AAB:0x695B,0xE89B94:0x695C,0xE89B9E:0x695D, +0xE89BA9:0x695E,0xE89BAC:0x695F,0xE89B9F:0x6960,0xE89B9B:0x6961,0xE89BAF:0x6962, +0xE89C92:0x6963,0xE89C86:0x6964,0xE89C88:0x6965,0xE89C80:0x6966,0xE89C83:0x6967, +0xE89BBB:0x6968,0xE89C91:0x6969,0xE89C89:0x696A,0xE89C8D:0x696B,0xE89BB9:0x696C, +0xE89C8A:0x696D,0xE89CB4:0x696E,0xE89CBF:0x696F,0xE89CB7:0x6970,0xE89CBB:0x6971, +0xE89CA5:0x6972,0xE89CA9:0x6973,0xE89C9A:0x6974,0xE89DA0:0x6975,0xE89D9F:0x6976, +0xE89DB8:0x6977,0xE89D8C:0x6978,0xE89D8E:0x6979,0xE89DB4:0x697A,0xE89D97:0x697B, +0xE89DA8:0x697C,0xE89DAE:0x697D,0xE89D99:0x697E,0xE89D93:0x6A21,0xE89DA3:0x6A22, +0xE89DAA:0x6A23,0xE8A085:0x6A24,0xE89EA2:0x6A25,0xE89E9F:0x6A26,0xE89E82:0x6A27, +0xE89EAF:0x6A28,0xE89F8B:0x6A29,0xE89EBD:0x6A2A,0xE89F80:0x6A2B,0xE89F90:0x6A2C, +0xE99B96:0x6A2D,0xE89EAB:0x6A2E,0xE89F84:0x6A2F,0xE89EB3:0x6A30,0xE89F87:0x6A31, +0xE89F86:0x6A32,0xE89EBB:0x6A33,0xE89FAF:0x6A34,0xE89FB2:0x6A35,0xE89FA0:0x6A36, +0xE8A08F:0x6A37,0xE8A08D:0x6A38,0xE89FBE:0x6A39,0xE89FB6:0x6A3A,0xE89FB7:0x6A3B, +0xE8A08E:0x6A3C,0xE89F92:0x6A3D,0xE8A091:0x6A3E,0xE8A096:0x6A3F,0xE8A095:0x6A40, +0xE8A0A2:0x6A41,0xE8A0A1:0x6A42,0xE8A0B1:0x6A43,0xE8A0B6:0x6A44,0xE8A0B9:0x6A45, +0xE8A0A7:0x6A46,0xE8A0BB:0x6A47,0xE8A184:0x6A48,0xE8A182:0x6A49,0xE8A192:0x6A4A, +0xE8A199:0x6A4B,0xE8A19E:0x6A4C,0xE8A1A2:0x6A4D,0xE8A1AB:0x6A4E,0xE8A281:0x6A4F, +0xE8A1BE:0x6A50,0xE8A29E:0x6A51,0xE8A1B5:0x6A52,0xE8A1BD:0x6A53,0xE8A2B5:0x6A54, +0xE8A1B2:0x6A55,0xE8A282:0x6A56,0xE8A297:0x6A57,0xE8A292:0x6A58,0xE8A2AE:0x6A59, +0xE8A299:0x6A5A,0xE8A2A2:0x6A5B,0xE8A28D:0x6A5C,0xE8A2A4:0x6A5D,0xE8A2B0:0x6A5E, +0xE8A2BF:0x6A5F,0xE8A2B1:0x6A60,0xE8A383:0x6A61,0xE8A384:0x6A62,0xE8A394:0x6A63, +0xE8A398:0x6A64,0xE8A399:0x6A65,0xE8A39D:0x6A66,0xE8A3B9:0x6A67,0xE8A482:0x6A68, +0xE8A3BC:0x6A69,0xE8A3B4:0x6A6A,0xE8A3A8:0x6A6B,0xE8A3B2:0x6A6C,0xE8A484:0x6A6D, +0xE8A48C:0x6A6E,0xE8A48A:0x6A6F,0xE8A493:0x6A70,0xE8A583:0x6A71,0xE8A49E:0x6A72, +0xE8A4A5:0x6A73,0xE8A4AA:0x6A74,0xE8A4AB:0x6A75,0xE8A581:0x6A76,0xE8A584:0x6A77, +0xE8A4BB:0x6A78,0xE8A4B6:0x6A79,0xE8A4B8:0x6A7A,0xE8A58C:0x6A7B,0xE8A49D:0x6A7C, +0xE8A5A0:0x6A7D,0xE8A59E:0x6A7E,0xE8A5A6:0x6B21,0xE8A5A4:0x6B22,0xE8A5AD:0x6B23, +0xE8A5AA:0x6B24,0xE8A5AF:0x6B25,0xE8A5B4:0x6B26,0xE8A5B7:0x6B27,0xE8A5BE:0x6B28, +0xE8A683:0x6B29,0xE8A688:0x6B2A,0xE8A68A:0x6B2B,0xE8A693:0x6B2C,0xE8A698:0x6B2D, +0xE8A6A1:0x6B2E,0xE8A6A9:0x6B2F,0xE8A6A6:0x6B30,0xE8A6AC:0x6B31,0xE8A6AF:0x6B32, +0xE8A6B2:0x6B33,0xE8A6BA:0x6B34,0xE8A6BD:0x6B35,0xE8A6BF:0x6B36,0xE8A780:0x6B37, +0xE8A79A:0x6B38,0xE8A79C:0x6B39,0xE8A79D:0x6B3A,0xE8A7A7:0x6B3B,0xE8A7B4:0x6B3C, +0xE8A7B8:0x6B3D,0xE8A883:0x6B3E,0xE8A896:0x6B3F,0xE8A890:0x6B40,0xE8A88C:0x6B41, +0xE8A89B:0x6B42,0xE8A89D:0x6B43,0xE8A8A5:0x6B44,0xE8A8B6:0x6B45,0xE8A981:0x6B46, +0xE8A99B:0x6B47,0xE8A992:0x6B48,0xE8A986:0x6B49,0xE8A988:0x6B4A,0xE8A9BC:0x6B4B, +0xE8A9AD:0x6B4C,0xE8A9AC:0x6B4D,0xE8A9A2:0x6B4E,0xE8AA85:0x6B4F,0xE8AA82:0x6B50, +0xE8AA84:0x6B51,0xE8AAA8:0x6B52,0xE8AAA1:0x6B53,0xE8AA91:0x6B54,0xE8AAA5:0x6B55, +0xE8AAA6:0x6B56,0xE8AA9A:0x6B57,0xE8AAA3:0x6B58,0xE8AB84:0x6B59,0xE8AB8D:0x6B5A, +0xE8AB82:0x6B5B,0xE8AB9A:0x6B5C,0xE8ABAB:0x6B5D,0xE8ABB3:0x6B5E,0xE8ABA7:0x6B5F, +0xE8ABA4:0x6B60,0xE8ABB1:0x6B61,0xE8AC94:0x6B62,0xE8ABA0:0x6B63,0xE8ABA2:0x6B64, +0xE8ABB7:0x6B65,0xE8AB9E:0x6B66,0xE8AB9B:0x6B67,0xE8AC8C:0x6B68,0xE8AC87:0x6B69, +0xE8AC9A:0x6B6A,0xE8ABA1:0x6B6B,0xE8AC96:0x6B6C,0xE8AC90:0x6B6D,0xE8AC97:0x6B6E, +0xE8ACA0:0x6B6F,0xE8ACB3:0x6B70,0xE99EAB:0x6B71,0xE8ACA6:0x6B72,0xE8ACAB:0x6B73, +0xE8ACBE:0x6B74,0xE8ACA8:0x6B75,0xE8AD81:0x6B76,0xE8AD8C:0x6B77,0xE8AD8F:0x6B78, +0xE8AD8E:0x6B79,0xE8AD89:0x6B7A,0xE8AD96:0x6B7B,0xE8AD9B:0x6B7C,0xE8AD9A:0x6B7D, +0xE8ADAB:0x6B7E,0xE8AD9F:0x6C21,0xE8ADAC:0x6C22,0xE8ADAF:0x6C23,0xE8ADB4:0x6C24, +0xE8ADBD:0x6C25,0xE8AE80:0x6C26,0xE8AE8C:0x6C27,0xE8AE8E:0x6C28,0xE8AE92:0x6C29, +0xE8AE93:0x6C2A,0xE8AE96:0x6C2B,0xE8AE99:0x6C2C,0xE8AE9A:0x6C2D,0xE8B0BA:0x6C2E, +0xE8B181:0x6C2F,0xE8B0BF:0x6C30,0xE8B188:0x6C31,0xE8B18C:0x6C32,0xE8B18E:0x6C33, +0xE8B190:0x6C34,0xE8B195:0x6C35,0xE8B1A2:0x6C36,0xE8B1AC:0x6C37,0xE8B1B8:0x6C38, +0xE8B1BA:0x6C39,0xE8B282:0x6C3A,0xE8B289:0x6C3B,0xE8B285:0x6C3C,0xE8B28A:0x6C3D, +0xE8B28D:0x6C3E,0xE8B28E:0x6C3F,0xE8B294:0x6C40,0xE8B1BC:0x6C41,0xE8B298:0x6C42, +0xE6889D:0x6C43,0xE8B2AD:0x6C44,0xE8B2AA:0x6C45,0xE8B2BD:0x6C46,0xE8B2B2:0x6C47, +0xE8B2B3:0x6C48,0xE8B2AE:0x6C49,0xE8B2B6:0x6C4A,0xE8B388:0x6C4B,0xE8B381:0x6C4C, +0xE8B3A4:0x6C4D,0xE8B3A3:0x6C4E,0xE8B39A:0x6C4F,0xE8B3BD:0x6C50,0xE8B3BA:0x6C51, +0xE8B3BB:0x6C52,0xE8B484:0x6C53,0xE8B485:0x6C54,0xE8B48A:0x6C55,0xE8B487:0x6C56, +0xE8B48F:0x6C57,0xE8B48D:0x6C58,0xE8B490:0x6C59,0xE9BD8E:0x6C5A,0xE8B493:0x6C5B, +0xE8B38D:0x6C5C,0xE8B494:0x6C5D,0xE8B496:0x6C5E,0xE8B5A7:0x6C5F,0xE8B5AD:0x6C60, +0xE8B5B1:0x6C61,0xE8B5B3:0x6C62,0xE8B681:0x6C63,0xE8B699:0x6C64,0xE8B782:0x6C65, +0xE8B6BE:0x6C66,0xE8B6BA:0x6C67,0xE8B78F:0x6C68,0xE8B79A:0x6C69,0xE8B796:0x6C6A, +0xE8B78C:0x6C6B,0xE8B79B:0x6C6C,0xE8B78B:0x6C6D,0xE8B7AA:0x6C6E,0xE8B7AB:0x6C6F, +0xE8B79F:0x6C70,0xE8B7A3:0x6C71,0xE8B7BC:0x6C72,0xE8B888:0x6C73,0xE8B889:0x6C74, +0xE8B7BF:0x6C75,0xE8B89D:0x6C76,0xE8B89E:0x6C77,0xE8B890:0x6C78,0xE8B89F:0x6C79, +0xE8B982:0x6C7A,0xE8B8B5:0x6C7B,0xE8B8B0:0x6C7C,0xE8B8B4:0x6C7D,0xE8B98A:0x6C7E, +0xE8B987:0x6D21,0xE8B989:0x6D22,0xE8B98C:0x6D23,0xE8B990:0x6D24,0xE8B988:0x6D25, +0xE8B999:0x6D26,0xE8B9A4:0x6D27,0xE8B9A0:0x6D28,0xE8B8AA:0x6D29,0xE8B9A3:0x6D2A, +0xE8B995:0x6D2B,0xE8B9B6:0x6D2C,0xE8B9B2:0x6D2D,0xE8B9BC:0x6D2E,0xE8BA81:0x6D2F, +0xE8BA87:0x6D30,0xE8BA85:0x6D31,0xE8BA84:0x6D32,0xE8BA8B:0x6D33,0xE8BA8A:0x6D34, +0xE8BA93:0x6D35,0xE8BA91:0x6D36,0xE8BA94:0x6D37,0xE8BA99:0x6D38,0xE8BAAA:0x6D39, +0xE8BAA1:0x6D3A,0xE8BAAC:0x6D3B,0xE8BAB0:0x6D3C,0xE8BB86:0x6D3D,0xE8BAB1:0x6D3E, +0xE8BABE:0x6D3F,0xE8BB85:0x6D40,0xE8BB88:0x6D41,0xE8BB8B:0x6D42,0xE8BB9B:0x6D43, +0xE8BBA3:0x6D44,0xE8BBBC:0x6D45,0xE8BBBB:0x6D46,0xE8BBAB:0x6D47,0xE8BBBE:0x6D48, +0xE8BC8A:0x6D49,0xE8BC85:0x6D4A,0xE8BC95:0x6D4B,0xE8BC92:0x6D4C,0xE8BC99:0x6D4D, +0xE8BC93:0x6D4E,0xE8BC9C:0x6D4F,0xE8BC9F:0x6D50,0xE8BC9B:0x6D51,0xE8BC8C:0x6D52, +0xE8BCA6:0x6D53,0xE8BCB3:0x6D54,0xE8BCBB:0x6D55,0xE8BCB9:0x6D56,0xE8BD85:0x6D57, +0xE8BD82:0x6D58,0xE8BCBE:0x6D59,0xE8BD8C:0x6D5A,0xE8BD89:0x6D5B,0xE8BD86:0x6D5C, +0xE8BD8E:0x6D5D,0xE8BD97:0x6D5E,0xE8BD9C:0x6D5F,0xE8BDA2:0x6D60,0xE8BDA3:0x6D61, +0xE8BDA4:0x6D62,0xE8BE9C:0x6D63,0xE8BE9F:0x6D64,0xE8BEA3:0x6D65,0xE8BEAD:0x6D66, +0xE8BEAF:0x6D67,0xE8BEB7:0x6D68,0xE8BF9A:0x6D69,0xE8BFA5:0x6D6A,0xE8BFA2:0x6D6B, +0xE8BFAA:0x6D6C,0xE8BFAF:0x6D6D,0xE98287:0x6D6E,0xE8BFB4:0x6D6F,0xE98085:0x6D70, +0xE8BFB9:0x6D71,0xE8BFBA:0x6D72,0xE98091:0x6D73,0xE98095:0x6D74,0xE980A1:0x6D75, +0xE9808D:0x6D76,0xE9809E:0x6D77,0xE98096:0x6D78,0xE9808B:0x6D79,0xE980A7:0x6D7A, +0xE980B6:0x6D7B,0xE980B5:0x6D7C,0xE980B9:0x6D7D,0xE8BFB8:0x6D7E,0xE9818F:0x6E21, +0xE98190:0x6E22,0xE98191:0x6E23,0xE98192:0x6E24,0xE9808E:0x6E25,0xE98189:0x6E26, +0xE980BE:0x6E27,0xE98196:0x6E28,0xE98198:0x6E29,0xE9819E:0x6E2A,0xE981A8:0x6E2B, +0xE981AF:0x6E2C,0xE981B6:0x6E2D,0xE99AA8:0x6E2E,0xE981B2:0x6E2F,0xE98282:0x6E30, +0xE981BD:0x6E31,0xE98281:0x6E32,0xE98280:0x6E33,0xE9828A:0x6E34,0xE98289:0x6E35, +0xE9828F:0x6E36,0xE982A8:0x6E37,0xE982AF:0x6E38,0xE982B1:0x6E39,0xE982B5:0x6E3A, +0xE983A2:0x6E3B,0xE983A4:0x6E3C,0xE68988:0x6E3D,0xE9839B:0x6E3E,0xE98482:0x6E3F, +0xE98492:0x6E40,0xE98499:0x6E41,0xE984B2:0x6E42,0xE984B0:0x6E43,0xE9858A:0x6E44, +0xE98596:0x6E45,0xE98598:0x6E46,0xE985A3:0x6E47,0xE985A5:0x6E48,0xE985A9:0x6E49, +0xE985B3:0x6E4A,0xE985B2:0x6E4B,0xE9868B:0x6E4C,0xE98689:0x6E4D,0xE98682:0x6E4E, +0xE986A2:0x6E4F,0xE986AB:0x6E50,0xE986AF:0x6E51,0xE986AA:0x6E52,0xE986B5:0x6E53, +0xE986B4:0x6E54,0xE986BA:0x6E55,0xE98780:0x6E56,0xE98781:0x6E57,0xE98789:0x6E58, +0xE9878B:0x6E59,0xE98790:0x6E5A,0xE98796:0x6E5B,0xE9879F:0x6E5C,0xE987A1:0x6E5D, +0xE9879B:0x6E5E,0xE987BC:0x6E5F,0xE987B5:0x6E60,0xE987B6:0x6E61,0xE9889E:0x6E62, +0xE987BF:0x6E63,0xE98894:0x6E64,0xE988AC:0x6E65,0xE98895:0x6E66,0xE98891:0x6E67, +0xE9899E:0x6E68,0xE98997:0x6E69,0xE98985:0x6E6A,0xE98989:0x6E6B,0xE989A4:0x6E6C, +0xE98988:0x6E6D,0xE98A95:0x6E6E,0xE988BF:0x6E6F,0xE9898B:0x6E70,0xE98990:0x6E71, +0xE98A9C:0x6E72,0xE98A96:0x6E73,0xE98A93:0x6E74,0xE98A9B:0x6E75,0xE9899A:0x6E76, +0xE98B8F:0x6E77,0xE98AB9:0x6E78,0xE98AB7:0x6E79,0xE98BA9:0x6E7A,0xE98C8F:0x6E7B, +0xE98BBA:0x6E7C,0xE98D84:0x6E7D,0xE98CAE:0x6E7E,0xE98C99:0x6F21,0xE98CA2:0x6F22, +0xE98C9A:0x6F23,0xE98CA3:0x6F24,0xE98CBA:0x6F25,0xE98CB5:0x6F26,0xE98CBB:0x6F27, +0xE98D9C:0x6F28,0xE98DA0:0x6F29,0xE98DBC:0x6F2A,0xE98DAE:0x6F2B,0xE98D96:0x6F2C, +0xE98EB0:0x6F2D,0xE98EAC:0x6F2E,0xE98EAD:0x6F2F,0xE98E94:0x6F30,0xE98EB9:0x6F31, +0xE98F96:0x6F32,0xE98F97:0x6F33,0xE98FA8:0x6F34,0xE98FA5:0x6F35,0xE98F98:0x6F36, +0xE98F83:0x6F37,0xE98F9D:0x6F38,0xE98F90:0x6F39,0xE98F88:0x6F3A,0xE98FA4:0x6F3B, +0xE9909A:0x6F3C,0xE99094:0x6F3D,0xE99093:0x6F3E,0xE99083:0x6F3F,0xE99087:0x6F40, +0xE99090:0x6F41,0xE990B6:0x6F42,0xE990AB:0x6F43,0xE990B5:0x6F44,0xE990A1:0x6F45, +0xE990BA:0x6F46,0xE99181:0x6F47,0xE99192:0x6F48,0xE99184:0x6F49,0xE9919B:0x6F4A, +0xE991A0:0x6F4B,0xE991A2:0x6F4C,0xE9919E:0x6F4D,0xE991AA:0x6F4E,0xE988A9:0x6F4F, +0xE991B0:0x6F50,0xE991B5:0x6F51,0xE991B7:0x6F52,0xE991BD:0x6F53,0xE9919A:0x6F54, +0xE991BC:0x6F55,0xE991BE:0x6F56,0xE99281:0x6F57,0xE991BF:0x6F58,0xE99682:0x6F59, +0xE99687:0x6F5A,0xE9968A:0x6F5B,0xE99694:0x6F5C,0xE99696:0x6F5D,0xE99698:0x6F5E, +0xE99699:0x6F5F,0xE996A0:0x6F60,0xE996A8:0x6F61,0xE996A7:0x6F62,0xE996AD:0x6F63, +0xE996BC:0x6F64,0xE996BB:0x6F65,0xE996B9:0x6F66,0xE996BE:0x6F67,0xE9978A:0x6F68, +0xE6BFB6:0x6F69,0xE99783:0x6F6A,0xE9978D:0x6F6B,0xE9978C:0x6F6C,0xE99795:0x6F6D, +0xE99794:0x6F6E,0xE99796:0x6F6F,0xE9979C:0x6F70,0xE997A1:0x6F71,0xE997A5:0x6F72, +0xE997A2:0x6F73,0xE998A1:0x6F74,0xE998A8:0x6F75,0xE998AE:0x6F76,0xE998AF:0x6F77, +0xE99982:0x6F78,0xE9998C:0x6F79,0xE9998F:0x6F7A,0xE9998B:0x6F7B,0xE999B7:0x6F7C, +0xE9999C:0x6F7D,0xE9999E:0x6F7E,0xE9999D:0x7021,0xE9999F:0x7022,0xE999A6:0x7023, +0xE999B2:0x7024,0xE999AC:0x7025,0xE99A8D:0x7026,0xE99A98:0x7027,0xE99A95:0x7028, +0xE99A97:0x7029,0xE99AAA:0x702A,0xE99AA7:0x702B,0xE99AB1:0x702C,0xE99AB2:0x702D, +0xE99AB0:0x702E,0xE99AB4:0x702F,0xE99AB6:0x7030,0xE99AB8:0x7031,0xE99AB9:0x7032, +0xE99B8E:0x7033,0xE99B8B:0x7034,0xE99B89:0x7035,0xE99B8D:0x7036,0xE8A58D:0x7037, +0xE99B9C:0x7038,0xE99C8D:0x7039,0xE99B95:0x703A,0xE99BB9:0x703B,0xE99C84:0x703C, +0xE99C86:0x703D,0xE99C88:0x703E,0xE99C93:0x703F,0xE99C8E:0x7040,0xE99C91:0x7041, +0xE99C8F:0x7042,0xE99C96:0x7043,0xE99C99:0x7044,0xE99CA4:0x7045,0xE99CAA:0x7046, +0xE99CB0:0x7047,0xE99CB9:0x7048,0xE99CBD:0x7049,0xE99CBE:0x704A,0xE99D84:0x704B, +0xE99D86:0x704C,0xE99D88:0x704D,0xE99D82:0x704E,0xE99D89:0x704F,0xE99D9C:0x7050, +0xE99DA0:0x7051,0xE99DA4:0x7052,0xE99DA6:0x7053,0xE99DA8:0x7054,0xE58B92:0x7055, +0xE99DAB:0x7056,0xE99DB1:0x7057,0xE99DB9:0x7058,0xE99E85:0x7059,0xE99DBC:0x705A, +0xE99E81:0x705B,0xE99DBA:0x705C,0xE99E86:0x705D,0xE99E8B:0x705E,0xE99E8F:0x705F, +0xE99E90:0x7060,0xE99E9C:0x7061,0xE99EA8:0x7062,0xE99EA6:0x7063,0xE99EA3:0x7064, +0xE99EB3:0x7065,0xE99EB4:0x7066,0xE99F83:0x7067,0xE99F86:0x7068,0xE99F88:0x7069, +0xE99F8B:0x706A,0xE99F9C:0x706B,0xE99FAD:0x706C,0xE9BD8F:0x706D,0xE99FB2:0x706E, +0xE7AB9F:0x706F,0xE99FB6:0x7070,0xE99FB5:0x7071,0xE9A08F:0x7072,0xE9A08C:0x7073, +0xE9A0B8:0x7074,0xE9A0A4:0x7075,0xE9A0A1:0x7076,0xE9A0B7:0x7077,0xE9A0BD:0x7078, +0xE9A186:0x7079,0xE9A18F:0x707A,0xE9A18B:0x707B,0xE9A1AB:0x707C,0xE9A1AF:0x707D, +0xE9A1B0:0x707E,0xE9A1B1:0x7121,0xE9A1B4:0x7122,0xE9A1B3:0x7123,0xE9A2AA:0x7124, +0xE9A2AF:0x7125,0xE9A2B1:0x7126,0xE9A2B6:0x7127,0xE9A384:0x7128,0xE9A383:0x7129, +0xE9A386:0x712A,0xE9A3A9:0x712B,0xE9A3AB:0x712C,0xE9A483:0x712D,0xE9A489:0x712E, +0xE9A492:0x712F,0xE9A494:0x7130,0xE9A498:0x7131,0xE9A4A1:0x7132,0xE9A49D:0x7133, +0xE9A49E:0x7134,0xE9A4A4:0x7135,0xE9A4A0:0x7136,0xE9A4AC:0x7137,0xE9A4AE:0x7138, +0xE9A4BD:0x7139,0xE9A4BE:0x713A,0xE9A582:0x713B,0xE9A589:0x713C,0xE9A585:0x713D, +0xE9A590:0x713E,0xE9A58B:0x713F,0xE9A591:0x7140,0xE9A592:0x7141,0xE9A58C:0x7142, +0xE9A595:0x7143,0xE9A697:0x7144,0xE9A698:0x7145,0xE9A6A5:0x7146,0xE9A6AD:0x7147, +0xE9A6AE:0x7148,0xE9A6BC:0x7149,0xE9A79F:0x714A,0xE9A79B:0x714B,0xE9A79D:0x714C, +0xE9A798:0x714D,0xE9A791:0x714E,0xE9A7AD:0x714F,0xE9A7AE:0x7150,0xE9A7B1:0x7151, +0xE9A7B2:0x7152,0xE9A7BB:0x7153,0xE9A7B8:0x7154,0xE9A881:0x7155,0xE9A88F:0x7156, +0xE9A885:0x7157,0xE9A7A2:0x7158,0xE9A899:0x7159,0xE9A8AB:0x715A,0xE9A8B7:0x715B, +0xE9A985:0x715C,0xE9A982:0x715D,0xE9A980:0x715E,0xE9A983:0x715F,0xE9A8BE:0x7160, +0xE9A995:0x7161,0xE9A98D:0x7162,0xE9A99B:0x7163,0xE9A997:0x7164,0xE9A99F:0x7165, +0xE9A9A2:0x7166,0xE9A9A5:0x7167,0xE9A9A4:0x7168,0xE9A9A9:0x7169,0xE9A9AB:0x716A, +0xE9A9AA:0x716B,0xE9AAAD:0x716C,0xE9AAB0:0x716D,0xE9AABC:0x716E,0xE9AB80:0x716F, +0xE9AB8F:0x7170,0xE9AB91:0x7171,0xE9AB93:0x7172,0xE9AB94:0x7173,0xE9AB9E:0x7174, +0xE9AB9F:0x7175,0xE9ABA2:0x7176,0xE9ABA3:0x7177,0xE9ABA6:0x7178,0xE9ABAF:0x7179, +0xE9ABAB:0x717A,0xE9ABAE:0x717B,0xE9ABB4:0x717C,0xE9ABB1:0x717D,0xE9ABB7:0x717E, +0xE9ABBB:0x7221,0xE9AC86:0x7222,0xE9AC98:0x7223,0xE9AC9A:0x7224,0xE9AC9F:0x7225, +0xE9ACA2:0x7226,0xE9ACA3:0x7227,0xE9ACA5:0x7228,0xE9ACA7:0x7229,0xE9ACA8:0x722A, +0xE9ACA9:0x722B,0xE9ACAA:0x722C,0xE9ACAE:0x722D,0xE9ACAF:0x722E,0xE9ACB2:0x722F, +0xE9AD84:0x7230,0xE9AD83:0x7231,0xE9AD8F:0x7232,0xE9AD8D:0x7233,0xE9AD8E:0x7234, +0xE9AD91:0x7235,0xE9AD98:0x7236,0xE9ADB4:0x7237,0xE9AE93:0x7238,0xE9AE83:0x7239, +0xE9AE91:0x723A,0xE9AE96:0x723B,0xE9AE97:0x723C,0xE9AE9F:0x723D,0xE9AEA0:0x723E, +0xE9AEA8:0x723F,0xE9AEB4:0x7240,0xE9AF80:0x7241,0xE9AF8A:0x7242,0xE9AEB9:0x7243, +0xE9AF86:0x7244,0xE9AF8F:0x7245,0xE9AF91:0x7246,0xE9AF92:0x7247,0xE9AFA3:0x7248, +0xE9AFA2:0x7249,0xE9AFA4:0x724A,0xE9AF94:0x724B,0xE9AFA1:0x724C,0xE9B0BA:0x724D, +0xE9AFB2:0x724E,0xE9AFB1:0x724F,0xE9AFB0:0x7250,0xE9B095:0x7251,0xE9B094:0x7252, +0xE9B089:0x7253,0xE9B093:0x7254,0xE9B08C:0x7255,0xE9B086:0x7256,0xE9B088:0x7257, +0xE9B092:0x7258,0xE9B08A:0x7259,0xE9B084:0x725A,0xE9B0AE:0x725B,0xE9B09B:0x725C, +0xE9B0A5:0x725D,0xE9B0A4:0x725E,0xE9B0A1:0x725F,0xE9B0B0:0x7260,0xE9B187:0x7261, +0xE9B0B2:0x7262,0xE9B186:0x7263,0xE9B0BE:0x7264,0xE9B19A:0x7265,0xE9B1A0:0x7266, +0xE9B1A7:0x7267,0xE9B1B6:0x7268,0xE9B1B8:0x7269,0xE9B3A7:0x726A,0xE9B3AC:0x726B, +0xE9B3B0:0x726C,0xE9B489:0x726D,0xE9B488:0x726E,0xE9B3AB:0x726F,0xE9B483:0x7270, +0xE9B486:0x7271,0xE9B4AA:0x7272,0xE9B4A6:0x7273,0xE9B6AF:0x7274,0xE9B4A3:0x7275, +0xE9B49F:0x7276,0xE9B584:0x7277,0xE9B495:0x7278,0xE9B492:0x7279,0xE9B581:0x727A, +0xE9B4BF:0x727B,0xE9B4BE:0x727C,0xE9B586:0x727D,0xE9B588:0x727E,0xE9B59D:0x7321, +0xE9B59E:0x7322,0xE9B5A4:0x7323,0xE9B591:0x7324,0xE9B590:0x7325,0xE9B599:0x7326, +0xE9B5B2:0x7327,0xE9B689:0x7328,0xE9B687:0x7329,0xE9B6AB:0x732A,0xE9B5AF:0x732B, +0xE9B5BA:0x732C,0xE9B69A:0x732D,0xE9B6A4:0x732E,0xE9B6A9:0x732F,0xE9B6B2:0x7330, +0xE9B784:0x7331,0xE9B781:0x7332,0xE9B6BB:0x7333,0xE9B6B8:0x7334,0xE9B6BA:0x7335, +0xE9B786:0x7336,0xE9B78F:0x7337,0xE9B782:0x7338,0xE9B799:0x7339,0xE9B793:0x733A, +0xE9B7B8:0x733B,0xE9B7A6:0x733C,0xE9B7AD:0x733D,0xE9B7AF:0x733E,0xE9B7BD:0x733F, +0xE9B89A:0x7340,0xE9B89B:0x7341,0xE9B89E:0x7342,0xE9B9B5:0x7343,0xE9B9B9:0x7344, +0xE9B9BD:0x7345,0xE9BA81:0x7346,0xE9BA88:0x7347,0xE9BA8B:0x7348,0xE9BA8C:0x7349, +0xE9BA92:0x734A,0xE9BA95:0x734B,0xE9BA91:0x734C,0xE9BA9D:0x734D,0xE9BAA5:0x734E, +0xE9BAA9:0x734F,0xE9BAB8:0x7350,0xE9BAAA:0x7351,0xE9BAAD:0x7352,0xE99DA1:0x7353, +0xE9BB8C:0x7354,0xE9BB8E:0x7355,0xE9BB8F:0x7356,0xE9BB90:0x7357,0xE9BB94:0x7358, +0xE9BB9C:0x7359,0xE9BB9E:0x735A,0xE9BB9D:0x735B,0xE9BBA0:0x735C,0xE9BBA5:0x735D, +0xE9BBA8:0x735E,0xE9BBAF:0x735F,0xE9BBB4:0x7360,0xE9BBB6:0x7361,0xE9BBB7:0x7362, +0xE9BBB9:0x7363,0xE9BBBB:0x7364,0xE9BBBC:0x7365,0xE9BBBD:0x7366,0xE9BC87:0x7367, +0xE9BC88:0x7368,0xE79AB7:0x7369,0xE9BC95:0x736A,0xE9BCA1:0x736B,0xE9BCAC:0x736C, +0xE9BCBE:0x736D,0xE9BD8A:0x736E,0xE9BD92:0x736F,0xE9BD94:0x7370,0xE9BDA3:0x7371, +0xE9BD9F:0x7372,0xE9BDA0:0x7373,0xE9BDA1:0x7374,0xE9BDA6:0x7375,0xE9BDA7:0x7376, +0xE9BDAC:0x7377,0xE9BDAA:0x7378,0xE9BDB7:0x7379,0xE9BDB2:0x737A,0xE9BDB6:0x737B, +0xE9BE95:0x737C,0xE9BE9C:0x737D,0xE9BEA0:0x737E,0xE5A0AF:0x7421,0xE6A787:0x7422, +0xE98199:0x7423,0xE791A4:0x7424,0xE5879C:0x7425,0xE78699:0x7426, + +0xE7BA8A:0x7921,0xE8A49C:0x7922,0xE98D88:0x7923,0xE98A88:0x7924,0xE8939C:0x7925, +0xE4BF89:0x7926,0xE782BB:0x7927,0xE698B1:0x7928,0xE6A388:0x7929,0xE98BB9:0x792A, +0xE69BBB:0x792B,0xE5BD85:0x792C,0xE4B8A8:0x792D,0xE4BBA1:0x792E,0xE4BBBC:0x792F, +0xE4BC80:0x7930,0xE4BC83:0x7931,0xE4BCB9:0x7932,0xE4BD96:0x7933,0xE4BE92:0x7934, +0xE4BE8A:0x7935,0xE4BE9A:0x7936,0xE4BE94:0x7937,0xE4BF8D:0x7938,0xE58180:0x7939, +0xE580A2:0x793A,0xE4BFBF:0x793B,0xE5809E:0x793C,0xE58186:0x793D,0xE581B0:0x793E, +0xE58182:0x793F,0xE58294:0x7940,0xE583B4:0x7941,0xE58398:0x7942,0xE5858A:0x7943, +0xE585A4:0x7944,0xE5869D:0x7945,0xE586BE:0x7946,0xE587AC:0x7947,0xE58895:0x7948, +0xE58A9C:0x7949,0xE58AA6:0x794A,0xE58B80:0x794B,0xE58B9B:0x794C,0xE58C80:0x794D, +0xE58C87:0x794E,0xE58CA4:0x794F,0xE58DB2:0x7950,0xE58E93:0x7951,0xE58EB2:0x7952, +0xE58F9D:0x7953,0xEFA88E:0x7954,0xE5929C:0x7955,0xE5928A:0x7956,0xE592A9:0x7957, +0xE593BF:0x7958,0xE59686:0x7959,0xE59D99:0x795A,0xE59DA5:0x795B,0xE59EAC:0x795C, +0xE59F88:0x795D,0xE59F87:0x795E,0xEFA88F:0x795F,0xEFA890:0x7960,0xE5A29E:0x7961, +0xE5A2B2:0x7962,0xE5A48B:0x7963,0xE5A593:0x7964,0xE5A59B:0x7965,0xE5A59D:0x7966, +0xE5A5A3:0x7967,0xE5A6A4:0x7968,0xE5A6BA:0x7969,0xE5AD96:0x796A,0xE5AF80:0x796B, +0xE794AF:0x796C,0xE5AF98:0x796D,0xE5AFAC:0x796E,0xE5B09E:0x796F,0xE5B2A6:0x7970, +0xE5B2BA:0x7971,0xE5B3B5:0x7972,0xE5B4A7:0x7973,0xE5B593:0x7974,0xEFA891:0x7975, +0xE5B582:0x7976,0xE5B5AD:0x7977,0xE5B6B8:0x7978,0xE5B6B9:0x7979,0xE5B790:0x797A, +0xE5BCA1:0x797B,0xE5BCB4:0x797C,0xE5BDA7:0x797D,0xE5BEB7:0x797E,0xE5BF9E:0x7A21, +0xE6819D:0x7A22,0xE68285:0x7A23,0xE6828A:0x7A24,0xE6839E:0x7A25,0xE68395:0x7A26, +0xE684A0:0x7A27,0xE683B2:0x7A28,0xE68491:0x7A29,0xE684B7:0x7A2A,0xE684B0:0x7A2B, +0xE68698:0x7A2C,0xE68893:0x7A2D,0xE68AA6:0x7A2E,0xE68FB5:0x7A2F,0xE691A0:0x7A30, +0xE6929D:0x7A31,0xE6938E:0x7A32,0xE6958E:0x7A33,0xE69880:0x7A34,0xE69895:0x7A35, +0xE698BB:0x7A36,0xE69889:0x7A37,0xE698AE:0x7A38,0xE6989E:0x7A39,0xE698A4:0x7A3A, +0xE699A5:0x7A3B,0xE69997:0x7A3C,0xE69999:0x7A3D,0xEFA892:0x7A3E,0xE699B3:0x7A3F, +0xE69A99:0x7A40,0xE69AA0:0x7A41,0xE69AB2:0x7A42,0xE69ABF:0x7A43,0xE69BBA:0x7A44, +0xE69C8E:0x7A45,0xEFA4A9:0x7A46,0xE69DA6:0x7A47,0xE69EBB:0x7A48,0xE6A192:0x7A49, +0xE69F80:0x7A4A,0xE6A081:0x7A4B,0xE6A184:0x7A4C,0xE6A38F:0x7A4D,0xEFA893:0x7A4E, +0xE6A5A8:0x7A4F,0xEFA894:0x7A50,0xE6A698:0x7A51,0xE6A7A2:0x7A52,0xE6A8B0:0x7A53, +0xE6A9AB:0x7A54,0xE6A986:0x7A55,0xE6A9B3:0x7A56,0xE6A9BE:0x7A57,0xE6ABA2:0x7A58, +0xE6ABA4:0x7A59,0xE6AF96:0x7A5A,0xE6B0BF:0x7A5B,0xE6B19C:0x7A5C,0xE6B286:0x7A5D, +0xE6B1AF:0x7A5E,0xE6B39A:0x7A5F,0xE6B484:0x7A60,0xE6B687:0x7A61,0xE6B5AF:0x7A62, +0xE6B696:0x7A63,0xE6B6AC:0x7A64,0xE6B78F:0x7A65,0xE6B7B8:0x7A66,0xE6B7B2:0x7A67, +0xE6B7BC:0x7A68,0xE6B8B9:0x7A69,0xE6B99C:0x7A6A,0xE6B8A7:0x7A6B,0xE6B8BC:0x7A6C, +0xE6BABF:0x7A6D,0xE6BE88:0x7A6E,0xE6BEB5:0x7A6F,0xE6BFB5:0x7A70,0xE78085:0x7A71, +0xE78087:0x7A72,0xE780A8:0x7A73,0xE78285:0x7A74,0xE782AB:0x7A75,0xE7848F:0x7A76, +0xE78484:0x7A77,0xE7859C:0x7A78,0xE78586:0x7A79,0xE78587:0x7A7A,0xEFA895:0x7A7B, +0xE78781:0x7A7C,0xE787BE:0x7A7D,0xE78AB1:0x7A7E,0xE78ABE:0x7B21,0xE78CA4:0x7B22, +0xEFA896:0x7B23,0xE78DB7:0x7B24,0xE78EBD:0x7B25,0xE78F89:0x7B26,0xE78F96:0x7B27, +0xE78FA3:0x7B28,0xE78F92:0x7B29,0xE79087:0x7B2A,0xE78FB5:0x7B2B,0xE790A6:0x7B2C, +0xE790AA:0x7B2D,0xE790A9:0x7B2E,0xE790AE:0x7B2F,0xE791A2:0x7B30,0xE79289:0x7B31, +0xE7929F:0x7B32,0xE79481:0x7B33,0xE795AF:0x7B34,0xE79A82:0x7B35,0xE79A9C:0x7B36, +0xE79A9E:0x7B37,0xE79A9B:0x7B38,0xE79AA6:0x7B39,0xEFA897:0x7B3A,0xE79D86:0x7B3B, +0xE58AAF:0x7B3C,0xE7A0A1:0x7B3D,0xE7A18E:0x7B3E,0xE7A1A4:0x7B3F,0xE7A1BA:0x7B40, +0xE7A4B0:0x7B41,0xEFA898:0x7B42,0xEFA899:0x7B43,0xEFA89A:0x7B44,0xE7A694:0x7B45, +0xEFA89B:0x7B46,0xE7A69B:0x7B47,0xE7AB91:0x7B48,0xE7ABA7:0x7B49,0xEFA89C:0x7B4A, +0xE7ABAB:0x7B4B,0xE7AE9E:0x7B4C,0xEFA89D:0x7B4D,0xE7B588:0x7B4E,0xE7B59C:0x7B4F, +0xE7B6B7:0x7B50,0xE7B6A0:0x7B51,0xE7B796:0x7B52,0xE7B992:0x7B53,0xE7BD87:0x7B54, +0xE7BEA1:0x7B55,0xEFA89E:0x7B56,0xE88C81:0x7B57,0xE88DA2:0x7B58,0xE88DBF:0x7B59, +0xE88F87:0x7B5A,0xE88FB6:0x7B5B,0xE89188:0x7B5C,0xE892B4:0x7B5D,0xE89593:0x7B5E, +0xE89599:0x7B5F,0xE895AB:0x7B60,0xEFA89F:0x7B61,0xE896B0:0x7B62,0xEFA8A0:0x7B63, +0xEFA8A1:0x7B64,0xE8A087:0x7B65,0xE8A3B5:0x7B66,0xE8A892:0x7B67,0xE8A8B7:0x7B68, +0xE8A9B9:0x7B69,0xE8AAA7:0x7B6A,0xE8AABE:0x7B6B,0xE8AB9F:0x7B6C,0xEFA8A2:0x7B6D, +0xE8ABB6:0x7B6E,0xE8AD93:0x7B6F,0xE8ADBF:0x7B70,0xE8B3B0:0x7B71,0xE8B3B4:0x7B72, +0xE8B492:0x7B73,0xE8B5B6:0x7B74,0xEFA8A3:0x7B75,0xE8BB8F:0x7B76,0xEFA8A4:0x7B77, +0xEFA8A5:0x7B78,0xE981A7:0x7B79,0xE9839E:0x7B7A,0xEFA8A6:0x7B7B,0xE98495:0x7B7C, +0xE984A7:0x7B7D,0xE9879A:0x7B7E,0xE98797:0x7C21,0xE9879E:0x7C22,0xE987AD:0x7C23, +0xE987AE:0x7C24,0xE987A4:0x7C25,0xE987A5:0x7C26,0xE98886:0x7C27,0xE98890:0x7C28, +0xE9888A:0x7C29,0xE988BA:0x7C2A,0xE98980:0x7C2B,0xE988BC:0x7C2C,0xE9898E:0x7C2D, +0xE98999:0x7C2E,0xE98991:0x7C2F,0xE988B9:0x7C30,0xE989A7:0x7C31,0xE98AA7:0x7C32, +0xE989B7:0x7C33,0xE989B8:0x7C34,0xE98BA7:0x7C35,0xE98B97:0x7C36,0xE98B99:0x7C37, +0xE98B90:0x7C38,0xEFA8A7:0x7C39,0xE98B95:0x7C3A,0xE98BA0:0x7C3B,0xE98B93:0x7C3C, +0xE98CA5:0x7C3D,0xE98CA1:0x7C3E,0xE98BBB:0x7C3F,0xEFA8A8:0x7C40,0xE98C9E:0x7C41, +0xE98BBF:0x7C42,0xE98C9D:0x7C43,0xE98C82:0x7C44,0xE98DB0:0x7C45,0xE98D97:0x7C46, +0xE98EA4:0x7C47,0xE98F86:0x7C48,0xE98F9E:0x7C49,0xE98FB8:0x7C4A,0xE990B1:0x7C4B, +0xE99185:0x7C4C,0xE99188:0x7C4D,0xE99692:0x7C4E,0xEFA79C:0x7C4F,0xEFA8A9:0x7C50, +0xE99A9D:0x7C51,0xE99AAF:0x7C52,0xE99CB3:0x7C53,0xE99CBB:0x7C54,0xE99D83:0x7C55, +0xE99D8D:0x7C56,0xE99D8F:0x7C57,0xE99D91:0x7C58,0xE99D95:0x7C59,0xE9A197:0x7C5A, +0xE9A1A5:0x7C5B,0xEFA8AA:0x7C5C,0xEFA8AB:0x7C5D,0xE9A4A7:0x7C5E,0xEFA8AC:0x7C5F, +0xE9A69E:0x7C60,0xE9A98E:0x7C61,0xE9AB99:0x7C62,0xE9AB9C:0x7C63,0xE9ADB5:0x7C64, +0xE9ADB2:0x7C65,0xE9AE8F:0x7C66,0xE9AEB1:0x7C67,0xE9AEBB:0x7C68,0xE9B080:0x7C69, +0xE9B5B0:0x7C6A,0xE9B5AB:0x7C6B,0xEFA8AD:0x7C6C,0xE9B899:0x7C6D,0xE9BB91:0x7C6E, +0xE285B0:0x7C71,0xE285B1:0x7C72,0xE285B2:0x7C73,0xE285B3:0x7C74,0xE285B4:0x7C75, +0xE285B5:0x7C76,0xE285B6:0x7C77,0xE285B7:0x7C78,0xE285B8:0x7C79,0xE285B9:0x7C7A, +0xEFBFA4:0x7C7C,0xEFBC87:0x7C7D,0xEFBC82:0x7C7E, + +//FIXME: mojibake +0xE288A5:0x2142, +0xEFBFA2:0x224C, +0xE28892:0x1215D +}; + +/* eslint-disable indent,key-spacing */ + +/** + * Encoding conversion table for UTF-8 to JIS X 0212:1990 (Hojo-Kanji) + */ +var utf8ToJisx0212Table = { +0xCB98:0x222F,0xCB87:0x2230,0xC2B8:0x2231,0xCB99:0x2232,0xCB9D:0x2233, +0xC2AF:0x2234,0xCB9B:0x2235,0xCB9A:0x2236,0x7E:0x2237,0xCE84:0x2238, +0xCE85:0x2239,0xC2A1:0x2242,0xC2A6:0x2243,0xC2BF:0x2244,0xC2BA:0x226B, +0xC2AA:0x226C,0xC2A9:0x226D,0xC2AE:0x226E,0xE284A2:0x226F,0xC2A4:0x2270, +0xE28496:0x2271,0xCE86:0x2661,0xCE88:0x2662,0xCE89:0x2663,0xCE8A:0x2664, +0xCEAA:0x2665,0xCE8C:0x2667,0xCE8E:0x2669,0xCEAB:0x266A,0xCE8F:0x266C, +0xCEAC:0x2671,0xCEAD:0x2672,0xCEAE:0x2673,0xCEAF:0x2674,0xCF8A:0x2675, +0xCE90:0x2676,0xCF8C:0x2677,0xCF82:0x2678,0xCF8D:0x2679,0xCF8B:0x267A, +0xCEB0:0x267B,0xCF8E:0x267C,0xD082:0x2742,0xD083:0x2743,0xD084:0x2744, +0xD085:0x2745,0xD086:0x2746,0xD087:0x2747,0xD088:0x2748,0xD089:0x2749, +0xD08A:0x274A,0xD08B:0x274B,0xD08C:0x274C,0xD08E:0x274D,0xD08F:0x274E, +0xD192:0x2772,0xD193:0x2773,0xD194:0x2774,0xD195:0x2775,0xD196:0x2776, +0xD197:0x2777,0xD198:0x2778,0xD199:0x2779,0xD19A:0x277A,0xD19B:0x277B, +0xD19C:0x277C,0xD19E:0x277D,0xD19F:0x277E,0xC386:0x2921,0xC490:0x2922, +0xC4A6:0x2924,0xC4B2:0x2926,0xC581:0x2928,0xC4BF:0x2929,0xC58A:0x292B, +0xC398:0x292C,0xC592:0x292D,0xC5A6:0x292F,0xC39E:0x2930,0xC3A6:0x2941, +0xC491:0x2942,0xC3B0:0x2943,0xC4A7:0x2944,0xC4B1:0x2945,0xC4B3:0x2946, +0xC4B8:0x2947,0xC582:0x2948,0xC580:0x2949,0xC589:0x294A,0xC58B:0x294B, +0xC3B8:0x294C,0xC593:0x294D,0xC39F:0x294E,0xC5A7:0x294F,0xC3BE:0x2950, +0xC381:0x2A21,0xC380:0x2A22,0xC384:0x2A23,0xC382:0x2A24,0xC482:0x2A25, +0xC78D:0x2A26,0xC480:0x2A27,0xC484:0x2A28,0xC385:0x2A29,0xC383:0x2A2A, +0xC486:0x2A2B,0xC488:0x2A2C,0xC48C:0x2A2D,0xC387:0x2A2E,0xC48A:0x2A2F, +0xC48E:0x2A30,0xC389:0x2A31,0xC388:0x2A32,0xC38B:0x2A33,0xC38A:0x2A34, +0xC49A:0x2A35,0xC496:0x2A36,0xC492:0x2A37,0xC498:0x2A38,0xC49C:0x2A3A, +0xC49E:0x2A3B,0xC4A2:0x2A3C,0xC4A0:0x2A3D,0xC4A4:0x2A3E,0xC38D:0x2A3F, +0xC38C:0x2A40,0xC38F:0x2A41,0xC38E:0x2A42,0xC78F:0x2A43,0xC4B0:0x2A44, +0xC4AA:0x2A45,0xC4AE:0x2A46,0xC4A8:0x2A47,0xC4B4:0x2A48,0xC4B6:0x2A49, +0xC4B9:0x2A4A,0xC4BD:0x2A4B,0xC4BB:0x2A4C,0xC583:0x2A4D,0xC587:0x2A4E, +0xC585:0x2A4F,0xC391:0x2A50,0xC393:0x2A51,0xC392:0x2A52,0xC396:0x2A53, +0xC394:0x2A54,0xC791:0x2A55,0xC590:0x2A56,0xC58C:0x2A57,0xC395:0x2A58, +0xC594:0x2A59,0xC598:0x2A5A,0xC596:0x2A5B,0xC59A:0x2A5C,0xC59C:0x2A5D, +0xC5A0:0x2A5E,0xC59E:0x2A5F,0xC5A4:0x2A60,0xC5A2:0x2A61,0xC39A:0x2A62, +0xC399:0x2A63,0xC39C:0x2A64,0xC39B:0x2A65,0xC5AC:0x2A66,0xC793:0x2A67, +0xC5B0:0x2A68,0xC5AA:0x2A69,0xC5B2:0x2A6A,0xC5AE:0x2A6B,0xC5A8:0x2A6C, +0xC797:0x2A6D,0xC79B:0x2A6E,0xC799:0x2A6F,0xC795:0x2A70,0xC5B4:0x2A71, +0xC39D:0x2A72,0xC5B8:0x2A73,0xC5B6:0x2A74,0xC5B9:0x2A75,0xC5BD:0x2A76, +0xC5BB:0x2A77,0xC3A1:0x2B21,0xC3A0:0x2B22,0xC3A4:0x2B23,0xC3A2:0x2B24, +0xC483:0x2B25,0xC78E:0x2B26,0xC481:0x2B27,0xC485:0x2B28,0xC3A5:0x2B29, +0xC3A3:0x2B2A,0xC487:0x2B2B,0xC489:0x2B2C,0xC48D:0x2B2D,0xC3A7:0x2B2E, +0xC48B:0x2B2F,0xC48F:0x2B30,0xC3A9:0x2B31,0xC3A8:0x2B32,0xC3AB:0x2B33, +0xC3AA:0x2B34,0xC49B:0x2B35,0xC497:0x2B36,0xC493:0x2B37,0xC499:0x2B38, +0xC7B5:0x2B39,0xC49D:0x2B3A,0xC49F:0x2B3B,0xC4A1:0x2B3D,0xC4A5:0x2B3E, +0xC3AD:0x2B3F,0xC3AC:0x2B40,0xC3AF:0x2B41,0xC3AE:0x2B42,0xC790:0x2B43, +0xC4AB:0x2B45,0xC4AF:0x2B46,0xC4A9:0x2B47,0xC4B5:0x2B48,0xC4B7:0x2B49, +0xC4BA:0x2B4A,0xC4BE:0x2B4B,0xC4BC:0x2B4C,0xC584:0x2B4D,0xC588:0x2B4E, +0xC586:0x2B4F,0xC3B1:0x2B50,0xC3B3:0x2B51,0xC3B2:0x2B52,0xC3B6:0x2B53, +0xC3B4:0x2B54,0xC792:0x2B55,0xC591:0x2B56,0xC58D:0x2B57,0xC3B5:0x2B58, +0xC595:0x2B59,0xC599:0x2B5A,0xC597:0x2B5B,0xC59B:0x2B5C,0xC59D:0x2B5D, +0xC5A1:0x2B5E,0xC59F:0x2B5F,0xC5A5:0x2B60,0xC5A3:0x2B61,0xC3BA:0x2B62, +0xC3B9:0x2B63,0xC3BC:0x2B64,0xC3BB:0x2B65,0xC5AD:0x2B66,0xC794:0x2B67, +0xC5B1:0x2B68,0xC5AB:0x2B69,0xC5B3:0x2B6A,0xC5AF:0x2B6B,0xC5A9:0x2B6C, +0xC798:0x2B6D,0xC79C:0x2B6E,0xC79A:0x2B6F,0xC796:0x2B70,0xC5B5:0x2B71, +0xC3BD:0x2B72,0xC3BF:0x2B73,0xC5B7:0x2B74,0xC5BA:0x2B75,0xC5BE:0x2B76, +0xC5BC:0x2B77, +0xE4B882:0x3021,0xE4B884:0x3022,0xE4B885:0x3023,0xE4B88C:0x3024, +0xE4B892:0x3025,0xE4B89F:0x3026,0xE4B8A3:0x3027,0xE4B8A4:0x3028,0xE4B8A8:0x3029, +0xE4B8AB:0x302A,0xE4B8AE:0x302B,0xE4B8AF:0x302C,0xE4B8B0:0x302D,0xE4B8B5:0x302E, +0xE4B980:0x302F,0xE4B981:0x3030,0xE4B984:0x3031,0xE4B987:0x3032,0xE4B991:0x3033, +0xE4B99A:0x3034,0xE4B99C:0x3035,0xE4B9A3:0x3036,0xE4B9A8:0x3037,0xE4B9A9:0x3038, +0xE4B9B4:0x3039,0xE4B9B5:0x303A,0xE4B9B9:0x303B,0xE4B9BF:0x303C,0xE4BA8D:0x303D, +0xE4BA96:0x303E,0xE4BA97:0x303F,0xE4BA9D:0x3040,0xE4BAAF:0x3041,0xE4BAB9:0x3042, +0xE4BB83:0x3043,0xE4BB90:0x3044,0xE4BB9A:0x3045,0xE4BB9B:0x3046,0xE4BBA0:0x3047, +0xE4BBA1:0x3048,0xE4BBA2:0x3049,0xE4BBA8:0x304A,0xE4BBAF:0x304B,0xE4BBB1:0x304C, +0xE4BBB3:0x304D,0xE4BBB5:0x304E,0xE4BBBD:0x304F,0xE4BBBE:0x3050,0xE4BBBF:0x3051, +0xE4BC80:0x3052,0xE4BC82:0x3053,0xE4BC83:0x3054,0xE4BC88:0x3055,0xE4BC8B:0x3056, +0xE4BC8C:0x3057,0xE4BC92:0x3058,0xE4BC95:0x3059,0xE4BC96:0x305A,0xE4BC97:0x305B, +0xE4BC99:0x305C,0xE4BCAE:0x305D,0xE4BCB1:0x305E,0xE4BDA0:0x305F,0xE4BCB3:0x3060, +0xE4BCB5:0x3061,0xE4BCB7:0x3062,0xE4BCB9:0x3063,0xE4BCBB:0x3064,0xE4BCBE:0x3065, +0xE4BD80:0x3066,0xE4BD82:0x3067,0xE4BD88:0x3068,0xE4BD89:0x3069,0xE4BD8B:0x306A, +0xE4BD8C:0x306B,0xE4BD92:0x306C,0xE4BD94:0x306D,0xE4BD96:0x306E,0xE4BD98:0x306F, +0xE4BD9F:0x3070,0xE4BDA3:0x3071,0xE4BDAA:0x3072,0xE4BDAC:0x3073,0xE4BDAE:0x3074, +0xE4BDB1:0x3075,0xE4BDB7:0x3076,0xE4BDB8:0x3077,0xE4BDB9:0x3078,0xE4BDBA:0x3079, +0xE4BDBD:0x307A,0xE4BDBE:0x307B,0xE4BE81:0x307C,0xE4BE82:0x307D,0xE4BE84:0x307E, +0xE4BE85:0x3121,0xE4BE89:0x3122,0xE4BE8A:0x3123,0xE4BE8C:0x3124,0xE4BE8E:0x3125, +0xE4BE90:0x3126,0xE4BE92:0x3127,0xE4BE93:0x3128,0xE4BE94:0x3129,0xE4BE97:0x312A, +0xE4BE99:0x312B,0xE4BE9A:0x312C,0xE4BE9E:0x312D,0xE4BE9F:0x312E,0xE4BEB2:0x312F, +0xE4BEB7:0x3130,0xE4BEB9:0x3131,0xE4BEBB:0x3132,0xE4BEBC:0x3133,0xE4BEBD:0x3134, +0xE4BEBE:0x3135,0xE4BF80:0x3136,0xE4BF81:0x3137,0xE4BF85:0x3138,0xE4BF86:0x3139, +0xE4BF88:0x313A,0xE4BF89:0x313B,0xE4BF8B:0x313C,0xE4BF8C:0x313D,0xE4BF8D:0x313E, +0xE4BF8F:0x313F,0xE4BF92:0x3140,0xE4BF9C:0x3141,0xE4BFA0:0x3142,0xE4BFA2:0x3143, +0xE4BFB0:0x3144,0xE4BFB2:0x3145,0xE4BFBC:0x3146,0xE4BFBD:0x3147,0xE4BFBF:0x3148, +0xE58080:0x3149,0xE58081:0x314A,0xE58084:0x314B,0xE58087:0x314C,0xE5808A:0x314D, +0xE5808C:0x314E,0xE5808E:0x314F,0xE58090:0x3150,0xE58093:0x3151,0xE58097:0x3152, +0xE58098:0x3153,0xE5809B:0x3154,0xE5809C:0x3155,0xE5809D:0x3156,0xE5809E:0x3157, +0xE580A2:0x3158,0xE580A7:0x3159,0xE580AE:0x315A,0xE580B0:0x315B,0xE580B2:0x315C, +0xE580B3:0x315D,0xE580B5:0x315E,0xE58180:0x315F,0xE58181:0x3160,0xE58182:0x3161, +0xE58185:0x3162,0xE58186:0x3163,0xE5818A:0x3164,0xE5818C:0x3165,0xE5818E:0x3166, +0xE58191:0x3167,0xE58192:0x3168,0xE58193:0x3169,0xE58197:0x316A,0xE58199:0x316B, +0xE5819F:0x316C,0xE581A0:0x316D,0xE581A2:0x316E,0xE581A3:0x316F,0xE581A6:0x3170, +0xE581A7:0x3171,0xE581AA:0x3172,0xE581AD:0x3173,0xE581B0:0x3174,0xE581B1:0x3175, +0xE580BB:0x3176,0xE58281:0x3177,0xE58283:0x3178,0xE58284:0x3179,0xE58286:0x317A, +0xE5828A:0x317B,0xE5828E:0x317C,0xE5828F:0x317D,0xE58290:0x317E,0xE58292:0x3221, +0xE58293:0x3222,0xE58294:0x3223,0xE58296:0x3224,0xE5829B:0x3225,0xE5829C:0x3226, +0xE5829E:0x3227,0xE5829F:0x3228,0xE582A0:0x3229,0xE582A1:0x322A,0xE582A2:0x322B, +0xE582AA:0x322C,0xE582AF:0x322D,0xE582B0:0x322E,0xE582B9:0x322F,0xE582BA:0x3230, +0xE582BD:0x3231,0xE58380:0x3232,0xE58383:0x3233,0xE58384:0x3234,0xE58387:0x3235, +0xE5838C:0x3236,0xE5838E:0x3237,0xE58390:0x3238,0xE58393:0x3239,0xE58394:0x323A, +0xE58398:0x323B,0xE5839C:0x323C,0xE5839D:0x323D,0xE5839F:0x323E,0xE583A2:0x323F, +0xE583A4:0x3240,0xE583A6:0x3241,0xE583A8:0x3242,0xE583A9:0x3243,0xE583AF:0x3244, +0xE583B1:0x3245,0xE583B6:0x3246,0xE583BA:0x3247,0xE583BE:0x3248,0xE58483:0x3249, +0xE58486:0x324A,0xE58487:0x324B,0xE58488:0x324C,0xE5848B:0x324D,0xE5848C:0x324E, +0xE5848D:0x324F,0xE5848E:0x3250,0xE583B2:0x3251,0xE58490:0x3252,0xE58497:0x3253, +0xE58499:0x3254,0xE5849B:0x3255,0xE5849C:0x3256,0xE5849D:0x3257,0xE5849E:0x3258, +0xE584A3:0x3259,0xE584A7:0x325A,0xE584A8:0x325B,0xE584AC:0x325C,0xE584AD:0x325D, +0xE584AF:0x325E,0xE584B1:0x325F,0xE584B3:0x3260,0xE584B4:0x3261,0xE584B5:0x3262, +0xE584B8:0x3263,0xE584B9:0x3264,0xE58582:0x3265,0xE5858A:0x3266,0xE5858F:0x3267, +0xE58593:0x3268,0xE58595:0x3269,0xE58597:0x326A,0xE58598:0x326B,0xE5859F:0x326C, +0xE585A4:0x326D,0xE585A6:0x326E,0xE585BE:0x326F,0xE58683:0x3270,0xE58684:0x3271, +0xE5868B:0x3272,0xE5868E:0x3273,0xE58698:0x3274,0xE5869D:0x3275,0xE586A1:0x3276, +0xE586A3:0x3277,0xE586AD:0x3278,0xE586B8:0x3279,0xE586BA:0x327A,0xE586BC:0x327B, +0xE586BE:0x327C,0xE586BF:0x327D,0xE58782:0x327E,0xE58788:0x3321,0xE5878F:0x3322, +0xE58791:0x3323,0xE58792:0x3324,0xE58793:0x3325,0xE58795:0x3326,0xE58798:0x3327, +0xE5879E:0x3328,0xE587A2:0x3329,0xE587A5:0x332A,0xE587AE:0x332B,0xE587B2:0x332C, +0xE587B3:0x332D,0xE587B4:0x332E,0xE587B7:0x332F,0xE58881:0x3330,0xE58882:0x3331, +0xE58885:0x3332,0xE58892:0x3333,0xE58893:0x3334,0xE58895:0x3335,0xE58896:0x3336, +0xE58898:0x3337,0xE588A2:0x3338,0xE588A8:0x3339,0xE588B1:0x333A,0xE588B2:0x333B, +0xE588B5:0x333C,0xE588BC:0x333D,0xE58985:0x333E,0xE58989:0x333F,0xE58995:0x3340, +0xE58997:0x3341,0xE58998:0x3342,0xE5899A:0x3343,0xE5899C:0x3344,0xE5899F:0x3345, +0xE589A0:0x3346,0xE589A1:0x3347,0xE589A6:0x3348,0xE589AE:0x3349,0xE589B7:0x334A, +0xE589B8:0x334B,0xE589B9:0x334C,0xE58A80:0x334D,0xE58A82:0x334E,0xE58A85:0x334F, +0xE58A8A:0x3350,0xE58A8C:0x3351,0xE58A93:0x3352,0xE58A95:0x3353,0xE58A96:0x3354, +0xE58A97:0x3355,0xE58A98:0x3356,0xE58A9A:0x3357,0xE58A9C:0x3358,0xE58AA4:0x3359, +0xE58AA5:0x335A,0xE58AA6:0x335B,0xE58AA7:0x335C,0xE58AAF:0x335D,0xE58AB0:0x335E, +0xE58AB6:0x335F,0xE58AB7:0x3360,0xE58AB8:0x3361,0xE58ABA:0x3362,0xE58ABB:0x3363, +0xE58ABD:0x3364,0xE58B80:0x3365,0xE58B84:0x3366,0xE58B86:0x3367,0xE58B88:0x3368, +0xE58B8C:0x3369,0xE58B8F:0x336A,0xE58B91:0x336B,0xE58B94:0x336C,0xE58B96:0x336D, +0xE58B9B:0x336E,0xE58B9C:0x336F,0xE58BA1:0x3370,0xE58BA5:0x3371,0xE58BA8:0x3372, +0xE58BA9:0x3373,0xE58BAA:0x3374,0xE58BAC:0x3375,0xE58BB0:0x3376,0xE58BB1:0x3377, +0xE58BB4:0x3378,0xE58BB6:0x3379,0xE58BB7:0x337A,0xE58C80:0x337B,0xE58C83:0x337C, +0xE58C8A:0x337D,0xE58C8B:0x337E,0xE58C8C:0x3421,0xE58C91:0x3422,0xE58C93:0x3423, +0xE58C98:0x3424,0xE58C9B:0x3425,0xE58C9C:0x3426,0xE58C9E:0x3427,0xE58C9F:0x3428, +0xE58CA5:0x3429,0xE58CA7:0x342A,0xE58CA8:0x342B,0xE58CA9:0x342C,0xE58CAB:0x342D, +0xE58CAC:0x342E,0xE58CAD:0x342F,0xE58CB0:0x3430,0xE58CB2:0x3431,0xE58CB5:0x3432, +0xE58CBC:0x3433,0xE58CBD:0x3434,0xE58CBE:0x3435,0xE58D82:0x3436,0xE58D8C:0x3437, +0xE58D8B:0x3438,0xE58D99:0x3439,0xE58D9B:0x343A,0xE58DA1:0x343B,0xE58DA3:0x343C, +0xE58DA5:0x343D,0xE58DAC:0x343E,0xE58DAD:0x343F,0xE58DB2:0x3440,0xE58DB9:0x3441, +0xE58DBE:0x3442,0xE58E83:0x3443,0xE58E87:0x3444,0xE58E88:0x3445,0xE58E8E:0x3446, +0xE58E93:0x3447,0xE58E94:0x3448,0xE58E99:0x3449,0xE58E9D:0x344A,0xE58EA1:0x344B, +0xE58EA4:0x344C,0xE58EAA:0x344D,0xE58EAB:0x344E,0xE58EAF:0x344F,0xE58EB2:0x3450, +0xE58EB4:0x3451,0xE58EB5:0x3452,0xE58EB7:0x3453,0xE58EB8:0x3454,0xE58EBA:0x3455, +0xE58EBD:0x3456,0xE58F80:0x3457,0xE58F85:0x3458,0xE58F8F:0x3459,0xE58F92:0x345A, +0xE58F93:0x345B,0xE58F95:0x345C,0xE58F9A:0x345D,0xE58F9D:0x345E,0xE58F9E:0x345F, +0xE58FA0:0x3460,0xE58FA6:0x3461,0xE58FA7:0x3462,0xE58FB5:0x3463,0xE59082:0x3464, +0xE59093:0x3465,0xE5909A:0x3466,0xE590A1:0x3467,0xE590A7:0x3468,0xE590A8:0x3469, +0xE590AA:0x346A,0xE590AF:0x346B,0xE590B1:0x346C,0xE590B4:0x346D,0xE590B5:0x346E, +0xE59183:0x346F,0xE59184:0x3470,0xE59187:0x3471,0xE5918D:0x3472,0xE5918F:0x3473, +0xE5919E:0x3474,0xE591A2:0x3475,0xE591A4:0x3476,0xE591A6:0x3477,0xE591A7:0x3478, +0xE591A9:0x3479,0xE591AB:0x347A,0xE591AD:0x347B,0xE591AE:0x347C,0xE591B4:0x347D, +0xE591BF:0x347E,0xE59281:0x3521,0xE59283:0x3522,0xE59285:0x3523,0xE59288:0x3524, +0xE59289:0x3525,0xE5928D:0x3526,0xE59291:0x3527,0xE59295:0x3528,0xE59296:0x3529, +0xE5929C:0x352A,0xE5929F:0x352B,0xE592A1:0x352C,0xE592A6:0x352D,0xE592A7:0x352E, +0xE592A9:0x352F,0xE592AA:0x3530,0xE592AD:0x3531,0xE592AE:0x3532,0xE592B1:0x3533, +0xE592B7:0x3534,0xE592B9:0x3535,0xE592BA:0x3536,0xE592BB:0x3537,0xE592BF:0x3538, +0xE59386:0x3539,0xE5938A:0x353A,0xE5938D:0x353B,0xE5938E:0x353C,0xE593A0:0x353D, +0xE593AA:0x353E,0xE593AC:0x353F,0xE593AF:0x3540,0xE593B6:0x3541,0xE593BC:0x3542, +0xE593BE:0x3543,0xE593BF:0x3544,0xE59480:0x3545,0xE59481:0x3546,0xE59485:0x3547, +0xE59488:0x3548,0xE59489:0x3549,0xE5948C:0x354A,0xE5948D:0x354B,0xE5948E:0x354C, +0xE59495:0x354D,0xE594AA:0x354E,0xE594AB:0x354F,0xE594B2:0x3550,0xE594B5:0x3551, +0xE594B6:0x3552,0xE594BB:0x3553,0xE594BC:0x3554,0xE594BD:0x3555,0xE59581:0x3556, +0xE59587:0x3557,0xE59589:0x3558,0xE5958A:0x3559,0xE5958D:0x355A,0xE59590:0x355B, +0xE59591:0x355C,0xE59598:0x355D,0xE5959A:0x355E,0xE5959B:0x355F,0xE5959E:0x3560, +0xE595A0:0x3561,0xE595A1:0x3562,0xE595A4:0x3563,0xE595A6:0x3564,0xE595BF:0x3565, +0xE59681:0x3566,0xE59682:0x3567,0xE59686:0x3568,0xE59688:0x3569,0xE5968E:0x356A, +0xE5968F:0x356B,0xE59691:0x356C,0xE59692:0x356D,0xE59693:0x356E,0xE59694:0x356F, +0xE59697:0x3570,0xE596A3:0x3571,0xE596A4:0x3572,0xE596AD:0x3573,0xE596B2:0x3574, +0xE596BF:0x3575,0xE59781:0x3576,0xE59783:0x3577,0xE59786:0x3578,0xE59789:0x3579, +0xE5978B:0x357A,0xE5978C:0x357B,0xE5978E:0x357C,0xE59791:0x357D,0xE59792:0x357E, +0xE59793:0x3621,0xE59797:0x3622,0xE59798:0x3623,0xE5979B:0x3624,0xE5979E:0x3625, +0xE597A2:0x3626,0xE597A9:0x3627,0xE597B6:0x3628,0xE597BF:0x3629,0xE59885:0x362A, +0xE59888:0x362B,0xE5988A:0x362C,0xE5988D:0x362D,0xE5988E:0x362E,0xE5988F:0x362F, +0xE59890:0x3630,0xE59891:0x3631,0xE59892:0x3632,0xE59899:0x3633,0xE598AC:0x3634, +0xE598B0:0x3635,0xE598B3:0x3636,0xE598B5:0x3637,0xE598B7:0x3638,0xE598B9:0x3639, +0xE598BB:0x363A,0xE598BC:0x363B,0xE598BD:0x363C,0xE598BF:0x363D,0xE59980:0x363E, +0xE59981:0x363F,0xE59983:0x3640,0xE59984:0x3641,0xE59986:0x3642,0xE59989:0x3643, +0xE5998B:0x3644,0xE5998D:0x3645,0xE5998F:0x3646,0xE59994:0x3647,0xE5999E:0x3648, +0xE599A0:0x3649,0xE599A1:0x364A,0xE599A2:0x364B,0xE599A3:0x364C,0xE599A6:0x364D, +0xE599A9:0x364E,0xE599AD:0x364F,0xE599AF:0x3650,0xE599B1:0x3651,0xE599B2:0x3652, +0xE599B5:0x3653,0xE59A84:0x3654,0xE59A85:0x3655,0xE59A88:0x3656,0xE59A8B:0x3657, +0xE59A8C:0x3658,0xE59A95:0x3659,0xE59A99:0x365A,0xE59A9A:0x365B,0xE59A9D:0x365C, +0xE59A9E:0x365D,0xE59A9F:0x365E,0xE59AA6:0x365F,0xE59AA7:0x3660,0xE59AA8:0x3661, +0xE59AA9:0x3662,0xE59AAB:0x3663,0xE59AAC:0x3664,0xE59AAD:0x3665,0xE59AB1:0x3666, +0xE59AB3:0x3667,0xE59AB7:0x3668,0xE59ABE:0x3669,0xE59B85:0x366A,0xE59B89:0x366B, +0xE59B8A:0x366C,0xE59B8B:0x366D,0xE59B8F:0x366E,0xE59B90:0x366F,0xE59B8C:0x3670, +0xE59B8D:0x3671,0xE59B99:0x3672,0xE59B9C:0x3673,0xE59B9D:0x3674,0xE59B9F:0x3675, +0xE59BA1:0x3676,0xE59BA4:0x3677,0xE59BA5:0x3678,0xE59BA6:0x3679,0xE59BA7:0x367A, +0xE59BA8:0x367B,0xE59BB1:0x367C,0xE59BAB:0x367D,0xE59BAD:0x367E,0xE59BB6:0x3721, +0xE59BB7:0x3722,0xE59C81:0x3723,0xE59C82:0x3724,0xE59C87:0x3725,0xE59C8A:0x3726, +0xE59C8C:0x3727,0xE59C91:0x3728,0xE59C95:0x3729,0xE59C9A:0x372A,0xE59C9B:0x372B, +0xE59C9D:0x372C,0xE59CA0:0x372D,0xE59CA2:0x372E,0xE59CA3:0x372F,0xE59CA4:0x3730, +0xE59CA5:0x3731,0xE59CA9:0x3732,0xE59CAA:0x3733,0xE59CAC:0x3734,0xE59CAE:0x3735, +0xE59CAF:0x3736,0xE59CB3:0x3737,0xE59CB4:0x3738,0xE59CBD:0x3739,0xE59CBE:0x373A, +0xE59CBF:0x373B,0xE59D85:0x373C,0xE59D86:0x373D,0xE59D8C:0x373E,0xE59D8D:0x373F, +0xE59D92:0x3740,0xE59DA2:0x3741,0xE59DA5:0x3742,0xE59DA7:0x3743,0xE59DA8:0x3744, +0xE59DAB:0x3745,0xE59DAD:0x3746,0xE59DAE:0x3747,0xE59DAF:0x3748,0xE59DB0:0x3749, +0xE59DB1:0x374A,0xE59DB3:0x374B,0xE59DB4:0x374C,0xE59DB5:0x374D,0xE59DB7:0x374E, +0xE59DB9:0x374F,0xE59DBA:0x3750,0xE59DBB:0x3751,0xE59DBC:0x3752,0xE59DBE:0x3753, +0xE59E81:0x3754,0xE59E83:0x3755,0xE59E8C:0x3756,0xE59E94:0x3757,0xE59E97:0x3758, +0xE59E99:0x3759,0xE59E9A:0x375A,0xE59E9C:0x375B,0xE59E9D:0x375C,0xE59E9E:0x375D, +0xE59E9F:0x375E,0xE59EA1:0x375F,0xE59E95:0x3760,0xE59EA7:0x3761,0xE59EA8:0x3762, +0xE59EA9:0x3763,0xE59EAC:0x3764,0xE59EB8:0x3765,0xE59EBD:0x3766,0xE59F87:0x3767, +0xE59F88:0x3768,0xE59F8C:0x3769,0xE59F8F:0x376A,0xE59F95:0x376B,0xE59F9D:0x376C, +0xE59F9E:0x376D,0xE59FA4:0x376E,0xE59FA6:0x376F,0xE59FA7:0x3770,0xE59FA9:0x3771, +0xE59FAD:0x3772,0xE59FB0:0x3773,0xE59FB5:0x3774,0xE59FB6:0x3775,0xE59FB8:0x3776, +0xE59FBD:0x3777,0xE59FBE:0x3778,0xE59FBF:0x3779,0xE5A083:0x377A,0xE5A084:0x377B, +0xE5A088:0x377C,0xE5A089:0x377D,0xE59FA1:0x377E,0xE5A08C:0x3821,0xE5A08D:0x3822, +0xE5A09B:0x3823,0xE5A09E:0x3824,0xE5A09F:0x3825,0xE5A0A0:0x3826,0xE5A0A6:0x3827, +0xE5A0A7:0x3828,0xE5A0AD:0x3829,0xE5A0B2:0x382A,0xE5A0B9:0x382B,0xE5A0BF:0x382C, +0xE5A189:0x382D,0xE5A18C:0x382E,0xE5A18D:0x382F,0xE5A18F:0x3830,0xE5A190:0x3831, +0xE5A195:0x3832,0xE5A19F:0x3833,0xE5A1A1:0x3834,0xE5A1A4:0x3835,0xE5A1A7:0x3836, +0xE5A1A8:0x3837,0xE5A1B8:0x3838,0xE5A1BC:0x3839,0xE5A1BF:0x383A,0xE5A280:0x383B, +0xE5A281:0x383C,0xE5A287:0x383D,0xE5A288:0x383E,0xE5A289:0x383F,0xE5A28A:0x3840, +0xE5A28C:0x3841,0xE5A28D:0x3842,0xE5A28F:0x3843,0xE5A290:0x3844,0xE5A294:0x3845, +0xE5A296:0x3846,0xE5A29D:0x3847,0xE5A2A0:0x3848,0xE5A2A1:0x3849,0xE5A2A2:0x384A, +0xE5A2A6:0x384B,0xE5A2A9:0x384C,0xE5A2B1:0x384D,0xE5A2B2:0x384E,0xE5A384:0x384F, +0xE5A2BC:0x3850,0xE5A382:0x3851,0xE5A388:0x3852,0xE5A38D:0x3853,0xE5A38E:0x3854, +0xE5A390:0x3855,0xE5A392:0x3856,0xE5A394:0x3857,0xE5A396:0x3858,0xE5A39A:0x3859, +0xE5A39D:0x385A,0xE5A3A1:0x385B,0xE5A3A2:0x385C,0xE5A3A9:0x385D,0xE5A3B3:0x385E, +0xE5A485:0x385F,0xE5A486:0x3860,0xE5A48B:0x3861,0xE5A48C:0x3862,0xE5A492:0x3863, +0xE5A493:0x3864,0xE5A494:0x3865,0xE89981:0x3866,0xE5A49D:0x3867,0xE5A4A1:0x3868, +0xE5A4A3:0x3869,0xE5A4A4:0x386A,0xE5A4A8:0x386B,0xE5A4AF:0x386C,0xE5A4B0:0x386D, +0xE5A4B3:0x386E,0xE5A4B5:0x386F,0xE5A4B6:0x3870,0xE5A4BF:0x3871,0xE5A583:0x3872, +0xE5A586:0x3873,0xE5A592:0x3874,0xE5A593:0x3875,0xE5A599:0x3876,0xE5A59B:0x3877, +0xE5A59D:0x3878,0xE5A59E:0x3879,0xE5A59F:0x387A,0xE5A5A1:0x387B,0xE5A5A3:0x387C, +0xE5A5AB:0x387D,0xE5A5AD:0x387E,0xE5A5AF:0x3921,0xE5A5B2:0x3922,0xE5A5B5:0x3923, +0xE5A5B6:0x3924,0xE5A5B9:0x3925,0xE5A5BB:0x3926,0xE5A5BC:0x3927,0xE5A68B:0x3928, +0xE5A68C:0x3929,0xE5A68E:0x392A,0xE5A692:0x392B,0xE5A695:0x392C,0xE5A697:0x392D, +0xE5A69F:0x392E,0xE5A6A4:0x392F,0xE5A6A7:0x3930,0xE5A6AD:0x3931,0xE5A6AE:0x3932, +0xE5A6AF:0x3933,0xE5A6B0:0x3934,0xE5A6B3:0x3935,0xE5A6B7:0x3936,0xE5A6BA:0x3937, +0xE5A6BC:0x3938,0xE5A781:0x3939,0xE5A783:0x393A,0xE5A784:0x393B,0xE5A788:0x393C, +0xE5A78A:0x393D,0xE5A78D:0x393E,0xE5A792:0x393F,0xE5A79D:0x3940,0xE5A79E:0x3941, +0xE5A79F:0x3942,0xE5A7A3:0x3943,0xE5A7A4:0x3944,0xE5A7A7:0x3945,0xE5A7AE:0x3946, +0xE5A7AF:0x3947,0xE5A7B1:0x3948,0xE5A7B2:0x3949,0xE5A7B4:0x394A,0xE5A7B7:0x394B, +0xE5A880:0x394C,0xE5A884:0x394D,0xE5A88C:0x394E,0xE5A88D:0x394F,0xE5A88E:0x3950, +0xE5A892:0x3951,0xE5A893:0x3952,0xE5A89E:0x3953,0xE5A8A3:0x3954,0xE5A8A4:0x3955, +0xE5A8A7:0x3956,0xE5A8A8:0x3957,0xE5A8AA:0x3958,0xE5A8AD:0x3959,0xE5A8B0:0x395A, +0xE5A984:0x395B,0xE5A985:0x395C,0xE5A987:0x395D,0xE5A988:0x395E,0xE5A98C:0x395F, +0xE5A990:0x3960,0xE5A995:0x3961,0xE5A99E:0x3962,0xE5A9A3:0x3963,0xE5A9A5:0x3964, +0xE5A9A7:0x3965,0xE5A9AD:0x3966,0xE5A9B7:0x3967,0xE5A9BA:0x3968,0xE5A9BB:0x3969, +0xE5A9BE:0x396A,0xE5AA8B:0x396B,0xE5AA90:0x396C,0xE5AA93:0x396D,0xE5AA96:0x396E, +0xE5AA99:0x396F,0xE5AA9C:0x3970,0xE5AA9E:0x3971,0xE5AA9F:0x3972,0xE5AAA0:0x3973, +0xE5AAA2:0x3974,0xE5AAA7:0x3975,0xE5AAAC:0x3976,0xE5AAB1:0x3977,0xE5AAB2:0x3978, +0xE5AAB3:0x3979,0xE5AAB5:0x397A,0xE5AAB8:0x397B,0xE5AABA:0x397C,0xE5AABB:0x397D, +0xE5AABF:0x397E,0xE5AB84:0x3A21,0xE5AB86:0x3A22,0xE5AB88:0x3A23,0xE5AB8F:0x3A24, +0xE5AB9A:0x3A25,0xE5AB9C:0x3A26,0xE5ABA0:0x3A27,0xE5ABA5:0x3A28,0xE5ABAA:0x3A29, +0xE5ABAE:0x3A2A,0xE5ABB5:0x3A2B,0xE5ABB6:0x3A2C,0xE5ABBD:0x3A2D,0xE5AC80:0x3A2E, +0xE5AC81:0x3A2F,0xE5AC88:0x3A30,0xE5AC97:0x3A31,0xE5ACB4:0x3A32,0xE5AC99:0x3A33, +0xE5AC9B:0x3A34,0xE5AC9D:0x3A35,0xE5ACA1:0x3A36,0xE5ACA5:0x3A37,0xE5ACAD:0x3A38, +0xE5ACB8:0x3A39,0xE5AD81:0x3A3A,0xE5AD8B:0x3A3B,0xE5AD8C:0x3A3C,0xE5AD92:0x3A3D, +0xE5AD96:0x3A3E,0xE5AD9E:0x3A3F,0xE5ADA8:0x3A40,0xE5ADAE:0x3A41,0xE5ADAF:0x3A42, +0xE5ADBC:0x3A43,0xE5ADBD:0x3A44,0xE5ADBE:0x3A45,0xE5ADBF:0x3A46,0xE5AE81:0x3A47, +0xE5AE84:0x3A48,0xE5AE86:0x3A49,0xE5AE8A:0x3A4A,0xE5AE8E:0x3A4B,0xE5AE90:0x3A4C, +0xE5AE91:0x3A4D,0xE5AE93:0x3A4E,0xE5AE94:0x3A4F,0xE5AE96:0x3A50,0xE5AEA8:0x3A51, +0xE5AEA9:0x3A52,0xE5AEAC:0x3A53,0xE5AEAD:0x3A54,0xE5AEAF:0x3A55,0xE5AEB1:0x3A56, +0xE5AEB2:0x3A57,0xE5AEB7:0x3A58,0xE5AEBA:0x3A59,0xE5AEBC:0x3A5A,0xE5AF80:0x3A5B, +0xE5AF81:0x3A5C,0xE5AF8D:0x3A5D,0xE5AF8F:0x3A5E,0xE5AF96:0x3A5F,0xE5AF97:0x3A60, +0xE5AF98:0x3A61,0xE5AF99:0x3A62,0xE5AF9A:0x3A63,0xE5AFA0:0x3A64,0xE5AFAF:0x3A65, +0xE5AFB1:0x3A66,0xE5AFB4:0x3A67,0xE5AFBD:0x3A68,0xE5B08C:0x3A69,0xE5B097:0x3A6A, +0xE5B09E:0x3A6B,0xE5B09F:0x3A6C,0xE5B0A3:0x3A6D,0xE5B0A6:0x3A6E,0xE5B0A9:0x3A6F, +0xE5B0AB:0x3A70,0xE5B0AC:0x3A71,0xE5B0AE:0x3A72,0xE5B0B0:0x3A73,0xE5B0B2:0x3A74, +0xE5B0B5:0x3A75,0xE5B0B6:0x3A76,0xE5B199:0x3A77,0xE5B19A:0x3A78,0xE5B19C:0x3A79, +0xE5B1A2:0x3A7A,0xE5B1A3:0x3A7B,0xE5B1A7:0x3A7C,0xE5B1A8:0x3A7D,0xE5B1A9:0x3A7E, +0xE5B1AD:0x3B21,0xE5B1B0:0x3B22,0xE5B1B4:0x3B23,0xE5B1B5:0x3B24,0xE5B1BA:0x3B25, +0xE5B1BB:0x3B26,0xE5B1BC:0x3B27,0xE5B1BD:0x3B28,0xE5B287:0x3B29,0xE5B288:0x3B2A, +0xE5B28A:0x3B2B,0xE5B28F:0x3B2C,0xE5B292:0x3B2D,0xE5B29D:0x3B2E,0xE5B29F:0x3B2F, +0xE5B2A0:0x3B30,0xE5B2A2:0x3B31,0xE5B2A3:0x3B32,0xE5B2A6:0x3B33,0xE5B2AA:0x3B34, +0xE5B2B2:0x3B35,0xE5B2B4:0x3B36,0xE5B2B5:0x3B37,0xE5B2BA:0x3B38,0xE5B389:0x3B39, +0xE5B38B:0x3B3A,0xE5B392:0x3B3B,0xE5B39D:0x3B3C,0xE5B397:0x3B3D,0xE5B3AE:0x3B3E, +0xE5B3B1:0x3B3F,0xE5B3B2:0x3B40,0xE5B3B4:0x3B41,0xE5B481:0x3B42,0xE5B486:0x3B43, +0xE5B48D:0x3B44,0xE5B492:0x3B45,0xE5B4AB:0x3B46,0xE5B4A3:0x3B47,0xE5B4A4:0x3B48, +0xE5B4A6:0x3B49,0xE5B4A7:0x3B4A,0xE5B4B1:0x3B4B,0xE5B4B4:0x3B4C,0xE5B4B9:0x3B4D, +0xE5B4BD:0x3B4E,0xE5B4BF:0x3B4F,0xE5B582:0x3B50,0xE5B583:0x3B51,0xE5B586:0x3B52, +0xE5B588:0x3B53,0xE5B595:0x3B54,0xE5B591:0x3B55,0xE5B599:0x3B56,0xE5B58A:0x3B57, +0xE5B59F:0x3B58,0xE5B5A0:0x3B59,0xE5B5A1:0x3B5A,0xE5B5A2:0x3B5B,0xE5B5A4:0x3B5C, +0xE5B5AA:0x3B5D,0xE5B5AD:0x3B5E,0xE5B5B0:0x3B5F,0xE5B5B9:0x3B60,0xE5B5BA:0x3B61, +0xE5B5BE:0x3B62,0xE5B5BF:0x3B63,0xE5B681:0x3B64,0xE5B683:0x3B65,0xE5B688:0x3B66, +0xE5B68A:0x3B67,0xE5B692:0x3B68,0xE5B693:0x3B69,0xE5B694:0x3B6A,0xE5B695:0x3B6B, +0xE5B699:0x3B6C,0xE5B69B:0x3B6D,0xE5B69F:0x3B6E,0xE5B6A0:0x3B6F,0xE5B6A7:0x3B70, +0xE5B6AB:0x3B71,0xE5B6B0:0x3B72,0xE5B6B4:0x3B73,0xE5B6B8:0x3B74,0xE5B6B9:0x3B75, +0xE5B783:0x3B76,0xE5B787:0x3B77,0xE5B78B:0x3B78,0xE5B790:0x3B79,0xE5B78E:0x3B7A, +0xE5B798:0x3B7B,0xE5B799:0x3B7C,0xE5B7A0:0x3B7D,0xE5B7A4:0x3B7E,0xE5B7A9:0x3C21, +0xE5B7B8:0x3C22,0xE5B7B9:0x3C23,0xE5B880:0x3C24,0xE5B887:0x3C25,0xE5B88D:0x3C26, +0xE5B892:0x3C27,0xE5B894:0x3C28,0xE5B895:0x3C29,0xE5B898:0x3C2A,0xE5B89F:0x3C2B, +0xE5B8A0:0x3C2C,0xE5B8AE:0x3C2D,0xE5B8A8:0x3C2E,0xE5B8B2:0x3C2F,0xE5B8B5:0x3C30, +0xE5B8BE:0x3C31,0xE5B98B:0x3C32,0xE5B990:0x3C33,0xE5B989:0x3C34,0xE5B991:0x3C35, +0xE5B996:0x3C36,0xE5B998:0x3C37,0xE5B99B:0x3C38,0xE5B99C:0x3C39,0xE5B99E:0x3C3A, +0xE5B9A8:0x3C3B,0xE5B9AA:0x3C3C,0xE5B9AB:0x3C3D,0xE5B9AC:0x3C3E,0xE5B9AD:0x3C3F, +0xE5B9AE:0x3C40,0xE5B9B0:0x3C41,0xE5BA80:0x3C42,0xE5BA8B:0x3C43,0xE5BA8E:0x3C44, +0xE5BAA2:0x3C45,0xE5BAA4:0x3C46,0xE5BAA5:0x3C47,0xE5BAA8:0x3C48,0xE5BAAA:0x3C49, +0xE5BAAC:0x3C4A,0xE5BAB1:0x3C4B,0xE5BAB3:0x3C4C,0xE5BABD:0x3C4D,0xE5BABE:0x3C4E, +0xE5BABF:0x3C4F,0xE5BB86:0x3C50,0xE5BB8C:0x3C51,0xE5BB8B:0x3C52,0xE5BB8E:0x3C53, +0xE5BB91:0x3C54,0xE5BB92:0x3C55,0xE5BB94:0x3C56,0xE5BB95:0x3C57,0xE5BB9C:0x3C58, +0xE5BB9E:0x3C59,0xE5BBA5:0x3C5A,0xE5BBAB:0x3C5B,0xE5BC82:0x3C5C,0xE5BC86:0x3C5D, +0xE5BC87:0x3C5E,0xE5BC88:0x3C5F,0xE5BC8E:0x3C60,0xE5BC99:0x3C61,0xE5BC9C:0x3C62, +0xE5BC9D:0x3C63,0xE5BCA1:0x3C64,0xE5BCA2:0x3C65,0xE5BCA3:0x3C66,0xE5BCA4:0x3C67, +0xE5BCA8:0x3C68,0xE5BCAB:0x3C69,0xE5BCAC:0x3C6A,0xE5BCAE:0x3C6B,0xE5BCB0:0x3C6C, +0xE5BCB4:0x3C6D,0xE5BCB6:0x3C6E,0xE5BCBB:0x3C6F,0xE5BCBD:0x3C70,0xE5BCBF:0x3C71, +0xE5BD80:0x3C72,0xE5BD84:0x3C73,0xE5BD85:0x3C74,0xE5BD87:0x3C75,0xE5BD8D:0x3C76, +0xE5BD90:0x3C77,0xE5BD94:0x3C78,0xE5BD98:0x3C79,0xE5BD9B:0x3C7A,0xE5BDA0:0x3C7B, +0xE5BDA3:0x3C7C,0xE5BDA4:0x3C7D,0xE5BDA7:0x3C7E,0xE5BDAF:0x3D21,0xE5BDB2:0x3D22, +0xE5BDB4:0x3D23,0xE5BDB5:0x3D24,0xE5BDB8:0x3D25,0xE5BDBA:0x3D26,0xE5BDBD:0x3D27, +0xE5BDBE:0x3D28,0xE5BE89:0x3D29,0xE5BE8D:0x3D2A,0xE5BE8F:0x3D2B,0xE5BE96:0x3D2C, +0xE5BE9C:0x3D2D,0xE5BE9D:0x3D2E,0xE5BEA2:0x3D2F,0xE5BEA7:0x3D30,0xE5BEAB:0x3D31, +0xE5BEA4:0x3D32,0xE5BEAC:0x3D33,0xE5BEAF:0x3D34,0xE5BEB0:0x3D35,0xE5BEB1:0x3D36, +0xE5BEB8:0x3D37,0xE5BF84:0x3D38,0xE5BF87:0x3D39,0xE5BF88:0x3D3A,0xE5BF89:0x3D3B, +0xE5BF8B:0x3D3C,0xE5BF90:0x3D3D,0xE5BF91:0x3D3E,0xE5BF92:0x3D3F,0xE5BF93:0x3D40, +0xE5BF94:0x3D41,0xE5BF9E:0x3D42,0xE5BFA1:0x3D43,0xE5BFA2:0x3D44,0xE5BFA8:0x3D45, +0xE5BFA9:0x3D46,0xE5BFAA:0x3D47,0xE5BFAC:0x3D48,0xE5BFAD:0x3D49,0xE5BFAE:0x3D4A, +0xE5BFAF:0x3D4B,0xE5BFB2:0x3D4C,0xE5BFB3:0x3D4D,0xE5BFB6:0x3D4E,0xE5BFBA:0x3D4F, +0xE5BFBC:0x3D50,0xE68087:0x3D51,0xE6808A:0x3D52,0xE6808D:0x3D53,0xE68093:0x3D54, +0xE68094:0x3D55,0xE68097:0x3D56,0xE68098:0x3D57,0xE6809A:0x3D58,0xE6809F:0x3D59, +0xE680A4:0x3D5A,0xE680AD:0x3D5B,0xE680B3:0x3D5C,0xE680B5:0x3D5D,0xE68180:0x3D5E, +0xE68187:0x3D5F,0xE68188:0x3D60,0xE68189:0x3D61,0xE6818C:0x3D62,0xE68191:0x3D63, +0xE68194:0x3D64,0xE68196:0x3D65,0xE68197:0x3D66,0xE6819D:0x3D67,0xE681A1:0x3D68, +0xE681A7:0x3D69,0xE681B1:0x3D6A,0xE681BE:0x3D6B,0xE681BF:0x3D6C,0xE68282:0x3D6D, +0xE68286:0x3D6E,0xE68288:0x3D6F,0xE6828A:0x3D70,0xE6828E:0x3D71,0xE68291:0x3D72, +0xE68293:0x3D73,0xE68295:0x3D74,0xE68298:0x3D75,0xE6829D:0x3D76,0xE6829E:0x3D77, +0xE682A2:0x3D78,0xE682A4:0x3D79,0xE682A5:0x3D7A,0xE682A8:0x3D7B,0xE682B0:0x3D7C, +0xE682B1:0x3D7D,0xE682B7:0x3D7E,0xE682BB:0x3E21,0xE682BE:0x3E22,0xE68382:0x3E23, +0xE68384:0x3E24,0xE68388:0x3E25,0xE68389:0x3E26,0xE6838A:0x3E27,0xE6838B:0x3E28, +0xE6838E:0x3E29,0xE6838F:0x3E2A,0xE68394:0x3E2B,0xE68395:0x3E2C,0xE68399:0x3E2D, +0xE6839B:0x3E2E,0xE6839D:0x3E2F,0xE6839E:0x3E30,0xE683A2:0x3E31,0xE683A5:0x3E32, +0xE683B2:0x3E33,0xE683B5:0x3E34,0xE683B8:0x3E35,0xE683BC:0x3E36,0xE683BD:0x3E37, +0xE68482:0x3E38,0xE68487:0x3E39,0xE6848A:0x3E3A,0xE6848C:0x3E3B,0xE68490:0x3E3C, +0xE68491:0x3E3D,0xE68492:0x3E3E,0xE68493:0x3E3F,0xE68494:0x3E40,0xE68496:0x3E41, +0xE68497:0x3E42,0xE68499:0x3E43,0xE6849C:0x3E44,0xE6849E:0x3E45,0xE684A2:0x3E46, +0xE684AA:0x3E47,0xE684AB:0x3E48,0xE684B0:0x3E49,0xE684B1:0x3E4A,0xE684B5:0x3E4B, +0xE684B6:0x3E4C,0xE684B7:0x3E4D,0xE684B9:0x3E4E,0xE68581:0x3E4F,0xE68585:0x3E50, +0xE68586:0x3E51,0xE68589:0x3E52,0xE6859E:0x3E53,0xE685A0:0x3E54,0xE685AC:0x3E55, +0xE685B2:0x3E56,0xE685B8:0x3E57,0xE685BB:0x3E58,0xE685BC:0x3E59,0xE685BF:0x3E5A, +0xE68680:0x3E5B,0xE68681:0x3E5C,0xE68683:0x3E5D,0xE68684:0x3E5E,0xE6868B:0x3E5F, +0xE6868D:0x3E60,0xE68692:0x3E61,0xE68693:0x3E62,0xE68697:0x3E63,0xE68698:0x3E64, +0xE6869C:0x3E65,0xE6869D:0x3E66,0xE6869F:0x3E67,0xE686A0:0x3E68,0xE686A5:0x3E69, +0xE686A8:0x3E6A,0xE686AA:0x3E6B,0xE686AD:0x3E6C,0xE686B8:0x3E6D,0xE686B9:0x3E6E, +0xE686BC:0x3E6F,0xE68780:0x3E70,0xE68781:0x3E71,0xE68782:0x3E72,0xE6878E:0x3E73, +0xE6878F:0x3E74,0xE68795:0x3E75,0xE6879C:0x3E76,0xE6879D:0x3E77,0xE6879E:0x3E78, +0xE6879F:0x3E79,0xE687A1:0x3E7A,0xE687A2:0x3E7B,0xE687A7:0x3E7C,0xE687A9:0x3E7D, +0xE687A5:0x3E7E,0xE687AC:0x3F21,0xE687AD:0x3F22,0xE687AF:0x3F23,0xE68881:0x3F24, +0xE68883:0x3F25,0xE68884:0x3F26,0xE68887:0x3F27,0xE68893:0x3F28,0xE68895:0x3F29, +0xE6889C:0x3F2A,0xE688A0:0x3F2B,0xE688A2:0x3F2C,0xE688A3:0x3F2D,0xE688A7:0x3F2E, +0xE688A9:0x3F2F,0xE688AB:0x3F30,0xE688B9:0x3F31,0xE688BD:0x3F32,0xE68982:0x3F33, +0xE68983:0x3F34,0xE68984:0x3F35,0xE68986:0x3F36,0xE6898C:0x3F37,0xE68990:0x3F38, +0xE68991:0x3F39,0xE68992:0x3F3A,0xE68994:0x3F3B,0xE68996:0x3F3C,0xE6899A:0x3F3D, +0xE6899C:0x3F3E,0xE689A4:0x3F3F,0xE689AD:0x3F40,0xE689AF:0x3F41,0xE689B3:0x3F42, +0xE689BA:0x3F43,0xE689BD:0x3F44,0xE68A8D:0x3F45,0xE68A8E:0x3F46,0xE68A8F:0x3F47, +0xE68A90:0x3F48,0xE68AA6:0x3F49,0xE68AA8:0x3F4A,0xE68AB3:0x3F4B,0xE68AB6:0x3F4C, +0xE68AB7:0x3F4D,0xE68ABA:0x3F4E,0xE68ABE:0x3F4F,0xE68ABF:0x3F50,0xE68B84:0x3F51, +0xE68B8E:0x3F52,0xE68B95:0x3F53,0xE68B96:0x3F54,0xE68B9A:0x3F55,0xE68BAA:0x3F56, +0xE68BB2:0x3F57,0xE68BB4:0x3F58,0xE68BBC:0x3F59,0xE68BBD:0x3F5A,0xE68C83:0x3F5B, +0xE68C84:0x3F5C,0xE68C8A:0x3F5D,0xE68C8B:0x3F5E,0xE68C8D:0x3F5F,0xE68C90:0x3F60, +0xE68C93:0x3F61,0xE68C96:0x3F62,0xE68C98:0x3F63,0xE68CA9:0x3F64,0xE68CAA:0x3F65, +0xE68CAD:0x3F66,0xE68CB5:0x3F67,0xE68CB6:0x3F68,0xE68CB9:0x3F69,0xE68CBC:0x3F6A, +0xE68D81:0x3F6B,0xE68D82:0x3F6C,0xE68D83:0x3F6D,0xE68D84:0x3F6E,0xE68D86:0x3F6F, +0xE68D8A:0x3F70,0xE68D8B:0x3F71,0xE68D8E:0x3F72,0xE68D92:0x3F73,0xE68D93:0x3F74, +0xE68D94:0x3F75,0xE68D98:0x3F76,0xE68D9B:0x3F77,0xE68DA5:0x3F78,0xE68DA6:0x3F79, +0xE68DAC:0x3F7A,0xE68DAD:0x3F7B,0xE68DB1:0x3F7C,0xE68DB4:0x3F7D,0xE68DB5:0x3F7E, +0xE68DB8:0x4021,0xE68DBC:0x4022,0xE68DBD:0x4023,0xE68DBF:0x4024,0xE68E82:0x4025, +0xE68E84:0x4026,0xE68E87:0x4027,0xE68E8A:0x4028,0xE68E90:0x4029,0xE68E94:0x402A, +0xE68E95:0x402B,0xE68E99:0x402C,0xE68E9A:0x402D,0xE68E9E:0x402E,0xE68EA4:0x402F, +0xE68EA6:0x4030,0xE68EAD:0x4031,0xE68EAE:0x4032,0xE68EAF:0x4033,0xE68EBD:0x4034, +0xE68F81:0x4035,0xE68F85:0x4036,0xE68F88:0x4037,0xE68F8E:0x4038,0xE68F91:0x4039, +0xE68F93:0x403A,0xE68F94:0x403B,0xE68F95:0x403C,0xE68F9C:0x403D,0xE68FA0:0x403E, +0xE68FA5:0x403F,0xE68FAA:0x4040,0xE68FAC:0x4041,0xE68FB2:0x4042,0xE68FB3:0x4043, +0xE68FB5:0x4044,0xE68FB8:0x4045,0xE68FB9:0x4046,0xE69089:0x4047,0xE6908A:0x4048, +0xE69090:0x4049,0xE69092:0x404A,0xE69094:0x404B,0xE69098:0x404C,0xE6909E:0x404D, +0xE690A0:0x404E,0xE690A2:0x404F,0xE690A4:0x4050,0xE690A5:0x4051,0xE690A9:0x4052, +0xE690AA:0x4053,0xE690AF:0x4054,0xE690B0:0x4055,0xE690B5:0x4056,0xE690BD:0x4057, +0xE690BF:0x4058,0xE6918B:0x4059,0xE6918F:0x405A,0xE69191:0x405B,0xE69192:0x405C, +0xE69193:0x405D,0xE69194:0x405E,0xE6919A:0x405F,0xE6919B:0x4060,0xE6919C:0x4061, +0xE6919D:0x4062,0xE6919F:0x4063,0xE691A0:0x4064,0xE691A1:0x4065,0xE691A3:0x4066, +0xE691AD:0x4067,0xE691B3:0x4068,0xE691B4:0x4069,0xE691BB:0x406A,0xE691BD:0x406B, +0xE69285:0x406C,0xE69287:0x406D,0xE6928F:0x406E,0xE69290:0x406F,0xE69291:0x4070, +0xE69298:0x4071,0xE69299:0x4072,0xE6929B:0x4073,0xE6929D:0x4074,0xE6929F:0x4075, +0xE692A1:0x4076,0xE692A3:0x4077,0xE692A6:0x4078,0xE692A8:0x4079,0xE692AC:0x407A, +0xE692B3:0x407B,0xE692BD:0x407C,0xE692BE:0x407D,0xE692BF:0x407E,0xE69384:0x4121, +0xE69389:0x4122,0xE6938A:0x4123,0xE6938B:0x4124,0xE6938C:0x4125,0xE6938E:0x4126, +0xE69390:0x4127,0xE69391:0x4128,0xE69395:0x4129,0xE69397:0x412A,0xE693A4:0x412B, +0xE693A5:0x412C,0xE693A9:0x412D,0xE693AA:0x412E,0xE693AD:0x412F,0xE693B0:0x4130, +0xE693B5:0x4131,0xE693B7:0x4132,0xE693BB:0x4133,0xE693BF:0x4134,0xE69481:0x4135, +0xE69484:0x4136,0xE69488:0x4137,0xE69489:0x4138,0xE6948A:0x4139,0xE6948F:0x413A, +0xE69493:0x413B,0xE69494:0x413C,0xE69496:0x413D,0xE69499:0x413E,0xE6949B:0x413F, +0xE6949E:0x4140,0xE6949F:0x4141,0xE694A2:0x4142,0xE694A6:0x4143,0xE694A9:0x4144, +0xE694AE:0x4145,0xE694B1:0x4146,0xE694BA:0x4147,0xE694BC:0x4148,0xE694BD:0x4149, +0xE69583:0x414A,0xE69587:0x414B,0xE69589:0x414C,0xE69590:0x414D,0xE69592:0x414E, +0xE69594:0x414F,0xE6959F:0x4150,0xE695A0:0x4151,0xE695A7:0x4152,0xE695AB:0x4153, +0xE695BA:0x4154,0xE695BD:0x4155,0xE69681:0x4156,0xE69685:0x4157,0xE6968A:0x4158, +0xE69692:0x4159,0xE69695:0x415A,0xE69698:0x415B,0xE6969D:0x415C,0xE696A0:0x415D, +0xE696A3:0x415E,0xE696A6:0x415F,0xE696AE:0x4160,0xE696B2:0x4161,0xE696B3:0x4162, +0xE696B4:0x4163,0xE696BF:0x4164,0xE69782:0x4165,0xE69788:0x4166,0xE69789:0x4167, +0xE6978E:0x4168,0xE69790:0x4169,0xE69794:0x416A,0xE69796:0x416B,0xE69798:0x416C, +0xE6979F:0x416D,0xE697B0:0x416E,0xE697B2:0x416F,0xE697B4:0x4170,0xE697B5:0x4171, +0xE697B9:0x4172,0xE697BE:0x4173,0xE697BF:0x4174,0xE69880:0x4175,0xE69884:0x4176, +0xE69888:0x4177,0xE69889:0x4178,0xE6988D:0x4179,0xE69891:0x417A,0xE69892:0x417B, +0xE69895:0x417C,0xE69896:0x417D,0xE6989D:0x417E,0xE6989E:0x4221,0xE698A1:0x4222, +0xE698A2:0x4223,0xE698A3:0x4224,0xE698A4:0x4225,0xE698A6:0x4226,0xE698A9:0x4227, +0xE698AA:0x4228,0xE698AB:0x4229,0xE698AC:0x422A,0xE698AE:0x422B,0xE698B0:0x422C, +0xE698B1:0x422D,0xE698B3:0x422E,0xE698B9:0x422F,0xE698B7:0x4230,0xE69980:0x4231, +0xE69985:0x4232,0xE69986:0x4233,0xE6998A:0x4234,0xE6998C:0x4235,0xE69991:0x4236, +0xE6998E:0x4237,0xE69997:0x4238,0xE69998:0x4239,0xE69999:0x423A,0xE6999B:0x423B, +0xE6999C:0x423C,0xE699A0:0x423D,0xE699A1:0x423E,0xE69BBB:0x423F,0xE699AA:0x4240, +0xE699AB:0x4241,0xE699AC:0x4242,0xE699BE:0x4243,0xE699B3:0x4244,0xE699B5:0x4245, +0xE699BF:0x4246,0xE699B7:0x4247,0xE699B8:0x4248,0xE699B9:0x4249,0xE699BB:0x424A, +0xE69A80:0x424B,0xE699BC:0x424C,0xE69A8B:0x424D,0xE69A8C:0x424E,0xE69A8D:0x424F, +0xE69A90:0x4250,0xE69A92:0x4251,0xE69A99:0x4252,0xE69A9A:0x4253,0xE69A9B:0x4254, +0xE69A9C:0x4255,0xE69A9F:0x4256,0xE69AA0:0x4257,0xE69AA4:0x4258,0xE69AAD:0x4259, +0xE69AB1:0x425A,0xE69AB2:0x425B,0xE69AB5:0x425C,0xE69ABB:0x425D,0xE69ABF:0x425E, +0xE69B80:0x425F,0xE69B82:0x4260,0xE69B83:0x4261,0xE69B88:0x4262,0xE69B8C:0x4263, +0xE69B8E:0x4264,0xE69B8F:0x4265,0xE69B94:0x4266,0xE69B9B:0x4267,0xE69B9F:0x4268, +0xE69BA8:0x4269,0xE69BAB:0x426A,0xE69BAC:0x426B,0xE69BAE:0x426C,0xE69BBA:0x426D, +0xE69C85:0x426E,0xE69C87:0x426F,0xE69C8E:0x4270,0xE69C93:0x4271,0xE69C99:0x4272, +0xE69C9C:0x4273,0xE69CA0:0x4274,0xE69CA2:0x4275,0xE69CB3:0x4276,0xE69CBE:0x4277, +0xE69D85:0x4278,0xE69D87:0x4279,0xE69D88:0x427A,0xE69D8C:0x427B,0xE69D94:0x427C, +0xE69D95:0x427D,0xE69D9D:0x427E,0xE69DA6:0x4321,0xE69DAC:0x4322,0xE69DAE:0x4323, +0xE69DB4:0x4324,0xE69DB6:0x4325,0xE69DBB:0x4326,0xE69E81:0x4327,0xE69E84:0x4328, +0xE69E8E:0x4329,0xE69E8F:0x432A,0xE69E91:0x432B,0xE69E93:0x432C,0xE69E96:0x432D, +0xE69E98:0x432E,0xE69E99:0x432F,0xE69E9B:0x4330,0xE69EB0:0x4331,0xE69EB1:0x4332, +0xE69EB2:0x4333,0xE69EB5:0x4334,0xE69EBB:0x4335,0xE69EBC:0x4336,0xE69EBD:0x4337, +0xE69FB9:0x4338,0xE69F80:0x4339,0xE69F82:0x433A,0xE69F83:0x433B,0xE69F85:0x433C, +0xE69F88:0x433D,0xE69F89:0x433E,0xE69F92:0x433F,0xE69F97:0x4340,0xE69F99:0x4341, +0xE69F9C:0x4342,0xE69FA1:0x4343,0xE69FA6:0x4344,0xE69FB0:0x4345,0xE69FB2:0x4346, +0xE69FB6:0x4347,0xE69FB7:0x4348,0xE6A192:0x4349,0xE6A094:0x434A,0xE6A099:0x434B, +0xE6A09D:0x434C,0xE6A09F:0x434D,0xE6A0A8:0x434E,0xE6A0A7:0x434F,0xE6A0AC:0x4350, +0xE6A0AD:0x4351,0xE6A0AF:0x4352,0xE6A0B0:0x4353,0xE6A0B1:0x4354,0xE6A0B3:0x4355, +0xE6A0BB:0x4356,0xE6A0BF:0x4357,0xE6A184:0x4358,0xE6A185:0x4359,0xE6A18A:0x435A, +0xE6A18C:0x435B,0xE6A195:0x435C,0xE6A197:0x435D,0xE6A198:0x435E,0xE6A19B:0x435F, +0xE6A1AB:0x4360,0xE6A1AE:0x4361,0xE6A1AF:0x4362,0xE6A1B0:0x4363,0xE6A1B1:0x4364, +0xE6A1B2:0x4365,0xE6A1B5:0x4366,0xE6A1B9:0x4367,0xE6A1BA:0x4368,0xE6A1BB:0x4369, +0xE6A1BC:0x436A,0xE6A282:0x436B,0xE6A284:0x436C,0xE6A286:0x436D,0xE6A288:0x436E, +0xE6A296:0x436F,0xE6A298:0x4370,0xE6A29A:0x4371,0xE6A29C:0x4372,0xE6A2A1:0x4373, +0xE6A2A3:0x4374,0xE6A2A5:0x4375,0xE6A2A9:0x4376,0xE6A2AA:0x4377,0xE6A2AE:0x4378, +0xE6A2B2:0x4379,0xE6A2BB:0x437A,0xE6A385:0x437B,0xE6A388:0x437C,0xE6A38C:0x437D, +0xE6A38F:0x437E,0xE6A390:0x4421,0xE6A391:0x4422,0xE6A393:0x4423,0xE6A396:0x4424, +0xE6A399:0x4425,0xE6A39C:0x4426,0xE6A39D:0x4427,0xE6A3A5:0x4428,0xE6A3A8:0x4429, +0xE6A3AA:0x442A,0xE6A3AB:0x442B,0xE6A3AC:0x442C,0xE6A3AD:0x442D,0xE6A3B0:0x442E, +0xE6A3B1:0x442F,0xE6A3B5:0x4430,0xE6A3B6:0x4431,0xE6A3BB:0x4432,0xE6A3BC:0x4433, +0xE6A3BD:0x4434,0xE6A486:0x4435,0xE6A489:0x4436,0xE6A48A:0x4437,0xE6A490:0x4438, +0xE6A491:0x4439,0xE6A493:0x443A,0xE6A496:0x443B,0xE6A497:0x443C,0xE6A4B1:0x443D, +0xE6A4B3:0x443E,0xE6A4B5:0x443F,0xE6A4B8:0x4440,0xE6A4BB:0x4441,0xE6A582:0x4442, +0xE6A585:0x4443,0xE6A589:0x4444,0xE6A58E:0x4445,0xE6A597:0x4446,0xE6A59B:0x4447, +0xE6A5A3:0x4448,0xE6A5A4:0x4449,0xE6A5A5:0x444A,0xE6A5A6:0x444B,0xE6A5A8:0x444C, +0xE6A5A9:0x444D,0xE6A5AC:0x444E,0xE6A5B0:0x444F,0xE6A5B1:0x4450,0xE6A5B2:0x4451, +0xE6A5BA:0x4452,0xE6A5BB:0x4453,0xE6A5BF:0x4454,0xE6A680:0x4455,0xE6A68D:0x4456, +0xE6A692:0x4457,0xE6A696:0x4458,0xE6A698:0x4459,0xE6A6A1:0x445A,0xE6A6A5:0x445B, +0xE6A6A6:0x445C,0xE6A6A8:0x445D,0xE6A6AB:0x445E,0xE6A6AD:0x445F,0xE6A6AF:0x4460, +0xE6A6B7:0x4461,0xE6A6B8:0x4462,0xE6A6BA:0x4463,0xE6A6BC:0x4464,0xE6A785:0x4465, +0xE6A788:0x4466,0xE6A791:0x4467,0xE6A796:0x4468,0xE6A797:0x4469,0xE6A7A2:0x446A, +0xE6A7A5:0x446B,0xE6A7AE:0x446C,0xE6A7AF:0x446D,0xE6A7B1:0x446E,0xE6A7B3:0x446F, +0xE6A7B5:0x4470,0xE6A7BE:0x4471,0xE6A880:0x4472,0xE6A881:0x4473,0xE6A883:0x4474, +0xE6A88F:0x4475,0xE6A891:0x4476,0xE6A895:0x4477,0xE6A89A:0x4478,0xE6A89D:0x4479, +0xE6A8A0:0x447A,0xE6A8A4:0x447B,0xE6A8A8:0x447C,0xE6A8B0:0x447D,0xE6A8B2:0x447E, +0xE6A8B4:0x4521,0xE6A8B7:0x4522,0xE6A8BB:0x4523,0xE6A8BE:0x4524,0xE6A8BF:0x4525, +0xE6A985:0x4526,0xE6A986:0x4527,0xE6A989:0x4528,0xE6A98A:0x4529,0xE6A98E:0x452A, +0xE6A990:0x452B,0xE6A991:0x452C,0xE6A992:0x452D,0xE6A995:0x452E,0xE6A996:0x452F, +0xE6A99B:0x4530,0xE6A9A4:0x4531,0xE6A9A7:0x4532,0xE6A9AA:0x4533,0xE6A9B1:0x4534, +0xE6A9B3:0x4535,0xE6A9BE:0x4536,0xE6AA81:0x4537,0xE6AA83:0x4538,0xE6AA86:0x4539, +0xE6AA87:0x453A,0xE6AA89:0x453B,0xE6AA8B:0x453C,0xE6AA91:0x453D,0xE6AA9B:0x453E, +0xE6AA9D:0x453F,0xE6AA9E:0x4540,0xE6AA9F:0x4541,0xE6AAA5:0x4542,0xE6AAAB:0x4543, +0xE6AAAF:0x4544,0xE6AAB0:0x4545,0xE6AAB1:0x4546,0xE6AAB4:0x4547,0xE6AABD:0x4548, +0xE6AABE:0x4549,0xE6AABF:0x454A,0xE6AB86:0x454B,0xE6AB89:0x454C,0xE6AB88:0x454D, +0xE6AB8C:0x454E,0xE6AB90:0x454F,0xE6AB94:0x4550,0xE6AB95:0x4551,0xE6AB96:0x4552, +0xE6AB9C:0x4553,0xE6AB9D:0x4554,0xE6ABA4:0x4555,0xE6ABA7:0x4556,0xE6ABAC:0x4557, +0xE6ABB0:0x4558,0xE6ABB1:0x4559,0xE6ABB2:0x455A,0xE6ABBC:0x455B,0xE6ABBD:0x455C, +0xE6AC82:0x455D,0xE6AC83:0x455E,0xE6AC86:0x455F,0xE6AC87:0x4560,0xE6AC89:0x4561, +0xE6AC8F:0x4562,0xE6AC90:0x4563,0xE6AC91:0x4564,0xE6AC97:0x4565,0xE6AC9B:0x4566, +0xE6AC9E:0x4567,0xE6ACA4:0x4568,0xE6ACA8:0x4569,0xE6ACAB:0x456A,0xE6ACAC:0x456B, +0xE6ACAF:0x456C,0xE6ACB5:0x456D,0xE6ACB6:0x456E,0xE6ACBB:0x456F,0xE6ACBF:0x4570, +0xE6AD86:0x4571,0xE6AD8A:0x4572,0xE6AD8D:0x4573,0xE6AD92:0x4574,0xE6AD96:0x4575, +0xE6AD98:0x4576,0xE6AD9D:0x4577,0xE6ADA0:0x4578,0xE6ADA7:0x4579,0xE6ADAB:0x457A, +0xE6ADAE:0x457B,0xE6ADB0:0x457C,0xE6ADB5:0x457D,0xE6ADBD:0x457E,0xE6ADBE:0x4621, +0xE6AE82:0x4622,0xE6AE85:0x4623,0xE6AE97:0x4624,0xE6AE9B:0x4625,0xE6AE9F:0x4626, +0xE6AEA0:0x4627,0xE6AEA2:0x4628,0xE6AEA3:0x4629,0xE6AEA8:0x462A,0xE6AEA9:0x462B, +0xE6AEAC:0x462C,0xE6AEAD:0x462D,0xE6AEAE:0x462E,0xE6AEB0:0x462F,0xE6AEB8:0x4630, +0xE6AEB9:0x4631,0xE6AEBD:0x4632,0xE6AEBE:0x4633,0xE6AF83:0x4634,0xE6AF84:0x4635, +0xE6AF89:0x4636,0xE6AF8C:0x4637,0xE6AF96:0x4638,0xE6AF9A:0x4639,0xE6AFA1:0x463A, +0xE6AFA3:0x463B,0xE6AFA6:0x463C,0xE6AFA7:0x463D,0xE6AFAE:0x463E,0xE6AFB1:0x463F, +0xE6AFB7:0x4640,0xE6AFB9:0x4641,0xE6AFBF:0x4642,0xE6B082:0x4643,0xE6B084:0x4644, +0xE6B085:0x4645,0xE6B089:0x4646,0xE6B08D:0x4647,0xE6B08E:0x4648,0xE6B090:0x4649, +0xE6B092:0x464A,0xE6B099:0x464B,0xE6B09F:0x464C,0xE6B0A6:0x464D,0xE6B0A7:0x464E, +0xE6B0A8:0x464F,0xE6B0AC:0x4650,0xE6B0AE:0x4651,0xE6B0B3:0x4652,0xE6B0B5:0x4653, +0xE6B0B6:0x4654,0xE6B0BA:0x4655,0xE6B0BB:0x4656,0xE6B0BF:0x4657,0xE6B18A:0x4658, +0xE6B18B:0x4659,0xE6B18D:0x465A,0xE6B18F:0x465B,0xE6B192:0x465C,0xE6B194:0x465D, +0xE6B199:0x465E,0xE6B19B:0x465F,0xE6B19C:0x4660,0xE6B1AB:0x4661,0xE6B1AD:0x4662, +0xE6B1AF:0x4663,0xE6B1B4:0x4664,0xE6B1B6:0x4665,0xE6B1B8:0x4666,0xE6B1B9:0x4667, +0xE6B1BB:0x4668,0xE6B285:0x4669,0xE6B286:0x466A,0xE6B287:0x466B,0xE6B289:0x466C, +0xE6B294:0x466D,0xE6B295:0x466E,0xE6B297:0x466F,0xE6B298:0x4670,0xE6B29C:0x4671, +0xE6B29F:0x4672,0xE6B2B0:0x4673,0xE6B2B2:0x4674,0xE6B2B4:0x4675,0xE6B382:0x4676, +0xE6B386:0x4677,0xE6B38D:0x4678,0xE6B38F:0x4679,0xE6B390:0x467A,0xE6B391:0x467B, +0xE6B392:0x467C,0xE6B394:0x467D,0xE6B396:0x467E,0xE6B39A:0x4721,0xE6B39C:0x4722, +0xE6B3A0:0x4723,0xE6B3A7:0x4724,0xE6B3A9:0x4725,0xE6B3AB:0x4726,0xE6B3AC:0x4727, +0xE6B3AE:0x4728,0xE6B3B2:0x4729,0xE6B3B4:0x472A,0xE6B484:0x472B,0xE6B487:0x472C, +0xE6B48A:0x472D,0xE6B48E:0x472E,0xE6B48F:0x472F,0xE6B491:0x4730,0xE6B493:0x4731, +0xE6B49A:0x4732,0xE6B4A6:0x4733,0xE6B4A7:0x4734,0xE6B4A8:0x4735,0xE6B1A7:0x4736, +0xE6B4AE:0x4737,0xE6B4AF:0x4738,0xE6B4B1:0x4739,0xE6B4B9:0x473A,0xE6B4BC:0x473B, +0xE6B4BF:0x473C,0xE6B597:0x473D,0xE6B59E:0x473E,0xE6B59F:0x473F,0xE6B5A1:0x4740, +0xE6B5A5:0x4741,0xE6B5A7:0x4742,0xE6B5AF:0x4743,0xE6B5B0:0x4744,0xE6B5BC:0x4745, +0xE6B682:0x4746,0xE6B687:0x4747,0xE6B691:0x4748,0xE6B692:0x4749,0xE6B694:0x474A, +0xE6B696:0x474B,0xE6B697:0x474C,0xE6B698:0x474D,0xE6B6AA:0x474E,0xE6B6AC:0x474F, +0xE6B6B4:0x4750,0xE6B6B7:0x4751,0xE6B6B9:0x4752,0xE6B6BD:0x4753,0xE6B6BF:0x4754, +0xE6B784:0x4755,0xE6B788:0x4756,0xE6B78A:0x4757,0xE6B78E:0x4758,0xE6B78F:0x4759, +0xE6B796:0x475A,0xE6B79B:0x475B,0xE6B79D:0x475C,0xE6B79F:0x475D,0xE6B7A0:0x475E, +0xE6B7A2:0x475F,0xE6B7A5:0x4760,0xE6B7A9:0x4761,0xE6B7AF:0x4762,0xE6B7B0:0x4763, +0xE6B7B4:0x4764,0xE6B7B6:0x4765,0xE6B7BC:0x4766,0xE6B880:0x4767,0xE6B884:0x4768, +0xE6B89E:0x4769,0xE6B8A2:0x476A,0xE6B8A7:0x476B,0xE6B8B2:0x476C,0xE6B8B6:0x476D, +0xE6B8B9:0x476E,0xE6B8BB:0x476F,0xE6B8BC:0x4770,0xE6B984:0x4771,0xE6B985:0x4772, +0xE6B988:0x4773,0xE6B989:0x4774,0xE6B98B:0x4775,0xE6B98F:0x4776,0xE6B991:0x4777, +0xE6B992:0x4778,0xE6B993:0x4779,0xE6B994:0x477A,0xE6B997:0x477B,0xE6B99C:0x477C, +0xE6B99D:0x477D,0xE6B99E:0x477E,0xE6B9A2:0x4821,0xE6B9A3:0x4822,0xE6B9A8:0x4823, +0xE6B9B3:0x4824,0xE6B9BB:0x4825,0xE6B9BD:0x4826,0xE6BA8D:0x4827,0xE6BA93:0x4828, +0xE6BA99:0x4829,0xE6BAA0:0x482A,0xE6BAA7:0x482B,0xE6BAAD:0x482C,0xE6BAAE:0x482D, +0xE6BAB1:0x482E,0xE6BAB3:0x482F,0xE6BABB:0x4830,0xE6BABF:0x4831,0xE6BB80:0x4832, +0xE6BB81:0x4833,0xE6BB83:0x4834,0xE6BB87:0x4835,0xE6BB88:0x4836,0xE6BB8A:0x4837, +0xE6BB8D:0x4838,0xE6BB8E:0x4839,0xE6BB8F:0x483A,0xE6BBAB:0x483B,0xE6BBAD:0x483C, +0xE6BBAE:0x483D,0xE6BBB9:0x483E,0xE6BBBB:0x483F,0xE6BBBD:0x4840,0xE6BC84:0x4841, +0xE6BC88:0x4842,0xE6BC8A:0x4843,0xE6BC8C:0x4844,0xE6BC8D:0x4845,0xE6BC96:0x4846, +0xE6BC98:0x4847,0xE6BC9A:0x4848,0xE6BC9B:0x4849,0xE6BCA6:0x484A,0xE6BCA9:0x484B, +0xE6BCAA:0x484C,0xE6BCAF:0x484D,0xE6BCB0:0x484E,0xE6BCB3:0x484F,0xE6BCB6:0x4850, +0xE6BCBB:0x4851,0xE6BCBC:0x4852,0xE6BCAD:0x4853,0xE6BD8F:0x4854,0xE6BD91:0x4855, +0xE6BD92:0x4856,0xE6BD93:0x4857,0xE6BD97:0x4858,0xE6BD99:0x4859,0xE6BD9A:0x485A, +0xE6BD9D:0x485B,0xE6BD9E:0x485C,0xE6BDA1:0x485D,0xE6BDA2:0x485E,0xE6BDA8:0x485F, +0xE6BDAC:0x4860,0xE6BDBD:0x4861,0xE6BDBE:0x4862,0xE6BE83:0x4863,0xE6BE87:0x4864, +0xE6BE88:0x4865,0xE6BE8B:0x4866,0xE6BE8C:0x4867,0xE6BE8D:0x4868,0xE6BE90:0x4869, +0xE6BE92:0x486A,0xE6BE93:0x486B,0xE6BE94:0x486C,0xE6BE96:0x486D,0xE6BE9A:0x486E, +0xE6BE9F:0x486F,0xE6BEA0:0x4870,0xE6BEA5:0x4871,0xE6BEA6:0x4872,0xE6BEA7:0x4873, +0xE6BEA8:0x4874,0xE6BEAE:0x4875,0xE6BEAF:0x4876,0xE6BEB0:0x4877,0xE6BEB5:0x4878, +0xE6BEB6:0x4879,0xE6BEBC:0x487A,0xE6BF85:0x487B,0xE6BF87:0x487C,0xE6BF88:0x487D, +0xE6BF8A:0x487E,0xE6BF9A:0x4921,0xE6BF9E:0x4922,0xE6BFA8:0x4923,0xE6BFA9:0x4924, +0xE6BFB0:0x4925,0xE6BFB5:0x4926,0xE6BFB9:0x4927,0xE6BFBC:0x4928,0xE6BFBD:0x4929, +0xE78080:0x492A,0xE78085:0x492B,0xE78086:0x492C,0xE78087:0x492D,0xE7808D:0x492E, +0xE78097:0x492F,0xE780A0:0x4930,0xE780A3:0x4931,0xE780AF:0x4932,0xE780B4:0x4933, +0xE780B7:0x4934,0xE780B9:0x4935,0xE780BC:0x4936,0xE78183:0x4937,0xE78184:0x4938, +0xE78188:0x4939,0xE78189:0x493A,0xE7818A:0x493B,0xE7818B:0x493C,0xE78194:0x493D, +0xE78195:0x493E,0xE7819D:0x493F,0xE7819E:0x4940,0xE7818E:0x4941,0xE781A4:0x4942, +0xE781A5:0x4943,0xE781AC:0x4944,0xE781AE:0x4945,0xE781B5:0x4946,0xE781B6:0x4947, +0xE781BE:0x4948,0xE78281:0x4949,0xE78285:0x494A,0xE78286:0x494B,0xE78294:0x494C, +0xE78295:0x494D,0xE78296:0x494E,0xE78297:0x494F,0xE78298:0x4950,0xE7829B:0x4951, +0xE782A4:0x4952,0xE782AB:0x4953,0xE782B0:0x4954,0xE782B1:0x4955,0xE782B4:0x4956, +0xE782B7:0x4957,0xE7838A:0x4958,0xE78391:0x4959,0xE78393:0x495A,0xE78394:0x495B, +0xE78395:0x495C,0xE78396:0x495D,0xE78398:0x495E,0xE7839C:0x495F,0xE783A4:0x4960, +0xE783BA:0x4961,0xE78483:0x4962,0xE78484:0x4963,0xE78485:0x4964,0xE78486:0x4965, +0xE78487:0x4966,0xE7848B:0x4967,0xE7848C:0x4968,0xE7848F:0x4969,0xE7849E:0x496A, +0xE784A0:0x496B,0xE784AB:0x496C,0xE784AD:0x496D,0xE784AF:0x496E,0xE784B0:0x496F, +0xE784B1:0x4970,0xE784B8:0x4971,0xE78581:0x4972,0xE78585:0x4973,0xE78586:0x4974, +0xE78587:0x4975,0xE7858A:0x4976,0xE7858B:0x4977,0xE78590:0x4978,0xE78592:0x4979, +0xE78597:0x497A,0xE7859A:0x497B,0xE7859C:0x497C,0xE7859E:0x497D,0xE785A0:0x497E, +0xE785A8:0x4A21,0xE785B9:0x4A22,0xE78680:0x4A23,0xE78685:0x4A24,0xE78687:0x4A25, +0xE7868C:0x4A26,0xE78692:0x4A27,0xE7869A:0x4A28,0xE7869B:0x4A29,0xE786A0:0x4A2A, +0xE786A2:0x4A2B,0xE786AF:0x4A2C,0xE786B0:0x4A2D,0xE786B2:0x4A2E,0xE786B3:0x4A2F, +0xE786BA:0x4A30,0xE786BF:0x4A31,0xE78780:0x4A32,0xE78781:0x4A33,0xE78784:0x4A34, +0xE7878B:0x4A35,0xE7878C:0x4A36,0xE78793:0x4A37,0xE78796:0x4A38,0xE78799:0x4A39, +0xE7879A:0x4A3A,0xE7879C:0x4A3B,0xE787B8:0x4A3C,0xE787BE:0x4A3D,0xE78880:0x4A3E, +0xE78887:0x4A3F,0xE78888:0x4A40,0xE78889:0x4A41,0xE78893:0x4A42,0xE78897:0x4A43, +0xE7889A:0x4A44,0xE7889D:0x4A45,0xE7889F:0x4A46,0xE788A4:0x4A47,0xE788AB:0x4A48, +0xE788AF:0x4A49,0xE788B4:0x4A4A,0xE788B8:0x4A4B,0xE788B9:0x4A4C,0xE78981:0x4A4D, +0xE78982:0x4A4E,0xE78983:0x4A4F,0xE78985:0x4A50,0xE7898E:0x4A51,0xE7898F:0x4A52, +0xE78990:0x4A53,0xE78993:0x4A54,0xE78995:0x4A55,0xE78996:0x4A56,0xE7899A:0x4A57, +0xE7899C:0x4A58,0xE7899E:0x4A59,0xE789A0:0x4A5A,0xE789A3:0x4A5B,0xE789A8:0x4A5C, +0xE789AB:0x4A5D,0xE789AE:0x4A5E,0xE789AF:0x4A5F,0xE789B1:0x4A60,0xE789B7:0x4A61, +0xE789B8:0x4A62,0xE789BB:0x4A63,0xE789BC:0x4A64,0xE789BF:0x4A65,0xE78A84:0x4A66, +0xE78A89:0x4A67,0xE78A8D:0x4A68,0xE78A8E:0x4A69,0xE78A93:0x4A6A,0xE78A9B:0x4A6B, +0xE78AA8:0x4A6C,0xE78AAD:0x4A6D,0xE78AAE:0x4A6E,0xE78AB1:0x4A6F,0xE78AB4:0x4A70, +0xE78ABE:0x4A71,0xE78B81:0x4A72,0xE78B87:0x4A73,0xE78B89:0x4A74,0xE78B8C:0x4A75, +0xE78B95:0x4A76,0xE78B96:0x4A77,0xE78B98:0x4A78,0xE78B9F:0x4A79,0xE78BA5:0x4A7A, +0xE78BB3:0x4A7B,0xE78BB4:0x4A7C,0xE78BBA:0x4A7D,0xE78BBB:0x4A7E,0xE78BBE:0x4B21, +0xE78C82:0x4B22,0xE78C84:0x4B23,0xE78C85:0x4B24,0xE78C87:0x4B25,0xE78C8B:0x4B26, +0xE78C8D:0x4B27,0xE78C92:0x4B28,0xE78C93:0x4B29,0xE78C98:0x4B2A,0xE78C99:0x4B2B, +0xE78C9E:0x4B2C,0xE78CA2:0x4B2D,0xE78CA4:0x4B2E,0xE78CA7:0x4B2F,0xE78CA8:0x4B30, +0xE78CAC:0x4B31,0xE78CB1:0x4B32,0xE78CB2:0x4B33,0xE78CB5:0x4B34,0xE78CBA:0x4B35, +0xE78CBB:0x4B36,0xE78CBD:0x4B37,0xE78D83:0x4B38,0xE78D8D:0x4B39,0xE78D90:0x4B3A, +0xE78D92:0x4B3B,0xE78D96:0x4B3C,0xE78D98:0x4B3D,0xE78D9D:0x4B3E,0xE78D9E:0x4B3F, +0xE78D9F:0x4B40,0xE78DA0:0x4B41,0xE78DA6:0x4B42,0xE78DA7:0x4B43,0xE78DA9:0x4B44, +0xE78DAB:0x4B45,0xE78DAC:0x4B46,0xE78DAE:0x4B47,0xE78DAF:0x4B48,0xE78DB1:0x4B49, +0xE78DB7:0x4B4A,0xE78DB9:0x4B4B,0xE78DBC:0x4B4C,0xE78E80:0x4B4D,0xE78E81:0x4B4E, +0xE78E83:0x4B4F,0xE78E85:0x4B50,0xE78E86:0x4B51,0xE78E8E:0x4B52,0xE78E90:0x4B53, +0xE78E93:0x4B54,0xE78E95:0x4B55,0xE78E97:0x4B56,0xE78E98:0x4B57,0xE78E9C:0x4B58, +0xE78E9E:0x4B59,0xE78E9F:0x4B5A,0xE78EA0:0x4B5B,0xE78EA2:0x4B5C,0xE78EA5:0x4B5D, +0xE78EA6:0x4B5E,0xE78EAA:0x4B5F,0xE78EAB:0x4B60,0xE78EAD:0x4B61,0xE78EB5:0x4B62, +0xE78EB7:0x4B63,0xE78EB9:0x4B64,0xE78EBC:0x4B65,0xE78EBD:0x4B66,0xE78EBF:0x4B67, +0xE78F85:0x4B68,0xE78F86:0x4B69,0xE78F89:0x4B6A,0xE78F8B:0x4B6B,0xE78F8C:0x4B6C, +0xE78F8F:0x4B6D,0xE78F92:0x4B6E,0xE78F93:0x4B6F,0xE78F96:0x4B70,0xE78F99:0x4B71, +0xE78F9D:0x4B72,0xE78FA1:0x4B73,0xE78FA3:0x4B74,0xE78FA6:0x4B75,0xE78FA7:0x4B76, +0xE78FA9:0x4B77,0xE78FB4:0x4B78,0xE78FB5:0x4B79,0xE78FB7:0x4B7A,0xE78FB9:0x4B7B, +0xE78FBA:0x4B7C,0xE78FBB:0x4B7D,0xE78FBD:0x4B7E,0xE78FBF:0x4C21,0xE79080:0x4C22, +0xE79081:0x4C23,0xE79084:0x4C24,0xE79087:0x4C25,0xE7908A:0x4C26,0xE79091:0x4C27, +0xE7909A:0x4C28,0xE7909B:0x4C29,0xE790A4:0x4C2A,0xE790A6:0x4C2B,0xE790A8:0x4C2C, +0xE790A9:0x4C2D,0xE790AA:0x4C2E,0xE790AB:0x4C2F,0xE790AC:0x4C30,0xE790AD:0x4C31, +0xE790AE:0x4C32,0xE790AF:0x4C33,0xE790B0:0x4C34,0xE790B1:0x4C35,0xE790B9:0x4C36, +0xE79180:0x4C37,0xE79183:0x4C38,0xE79184:0x4C39,0xE79186:0x4C3A,0xE79187:0x4C3B, +0xE7918B:0x4C3C,0xE7918D:0x4C3D,0xE79191:0x4C3E,0xE79192:0x4C3F,0xE79197:0x4C40, +0xE7919D:0x4C41,0xE791A2:0x4C42,0xE791A6:0x4C43,0xE791A7:0x4C44,0xE791A8:0x4C45, +0xE791AB:0x4C46,0xE791AD:0x4C47,0xE791AE:0x4C48,0xE791B1:0x4C49,0xE791B2:0x4C4A, +0xE79280:0x4C4B,0xE79281:0x4C4C,0xE79285:0x4C4D,0xE79286:0x4C4E,0xE79287:0x4C4F, +0xE79289:0x4C50,0xE7928F:0x4C51,0xE79290:0x4C52,0xE79291:0x4C53,0xE79292:0x4C54, +0xE79298:0x4C55,0xE79299:0x4C56,0xE7929A:0x4C57,0xE7929C:0x4C58,0xE7929F:0x4C59, +0xE792A0:0x4C5A,0xE792A1:0x4C5B,0xE792A3:0x4C5C,0xE792A6:0x4C5D,0xE792A8:0x4C5E, +0xE792A9:0x4C5F,0xE792AA:0x4C60,0xE792AB:0x4C61,0xE792AE:0x4C62,0xE792AF:0x4C63, +0xE792B1:0x4C64,0xE792B2:0x4C65,0xE792B5:0x4C66,0xE792B9:0x4C67,0xE792BB:0x4C68, +0xE792BF:0x4C69,0xE79388:0x4C6A,0xE79389:0x4C6B,0xE7938C:0x4C6C,0xE79390:0x4C6D, +0xE79393:0x4C6E,0xE79398:0x4C6F,0xE7939A:0x4C70,0xE7939B:0x4C71,0xE7939E:0x4C72, +0xE7939F:0x4C73,0xE793A4:0x4C74,0xE793A8:0x4C75,0xE793AA:0x4C76,0xE793AB:0x4C77, +0xE793AF:0x4C78,0xE793B4:0x4C79,0xE793BA:0x4C7A,0xE793BB:0x4C7B,0xE793BC:0x4C7C, +0xE793BF:0x4C7D,0xE79486:0x4C7E,0xE79492:0x4D21,0xE79496:0x4D22,0xE79497:0x4D23, +0xE794A0:0x4D24,0xE794A1:0x4D25,0xE794A4:0x4D26,0xE794A7:0x4D27,0xE794A9:0x4D28, +0xE794AA:0x4D29,0xE794AF:0x4D2A,0xE794B6:0x4D2B,0xE794B9:0x4D2C,0xE794BD:0x4D2D, +0xE794BE:0x4D2E,0xE794BF:0x4D2F,0xE79580:0x4D30,0xE79583:0x4D31,0xE79587:0x4D32, +0xE79588:0x4D33,0xE7958E:0x4D34,0xE79590:0x4D35,0xE79592:0x4D36,0xE79597:0x4D37, +0xE7959E:0x4D38,0xE7959F:0x4D39,0xE795A1:0x4D3A,0xE795AF:0x4D3B,0xE795B1:0x4D3C, +0xE795B9:0x4D3D,0xE795BA:0x4D3E,0xE795BB:0x4D3F,0xE795BC:0x4D40,0xE795BD:0x4D41, +0xE795BE:0x4D42,0xE79681:0x4D43,0xE79685:0x4D44,0xE79690:0x4D45,0xE79692:0x4D46, +0xE79693:0x4D47,0xE79695:0x4D48,0xE79699:0x4D49,0xE7969C:0x4D4A,0xE796A2:0x4D4B, +0xE796A4:0x4D4C,0xE796B4:0x4D4D,0xE796BA:0x4D4E,0xE796BF:0x4D4F,0xE79780:0x4D50, +0xE79781:0x4D51,0xE79784:0x4D52,0xE79786:0x4D53,0xE7978C:0x4D54,0xE7978E:0x4D55, +0xE7978F:0x4D56,0xE79797:0x4D57,0xE7979C:0x4D58,0xE7979F:0x4D59,0xE797A0:0x4D5A, +0xE797A1:0x4D5B,0xE797A4:0x4D5C,0xE797A7:0x4D5D,0xE797AC:0x4D5E,0xE797AE:0x4D5F, +0xE797AF:0x4D60,0xE797B1:0x4D61,0xE797B9:0x4D62,0xE79880:0x4D63,0xE79882:0x4D64, +0xE79883:0x4D65,0xE79884:0x4D66,0xE79887:0x4D67,0xE79888:0x4D68,0xE7988A:0x4D69, +0xE7988C:0x4D6A,0xE7988F:0x4D6B,0xE79892:0x4D6C,0xE79893:0x4D6D,0xE79895:0x4D6E, +0xE79896:0x4D6F,0xE79899:0x4D70,0xE7989B:0x4D71,0xE7989C:0x4D72,0xE7989D:0x4D73, +0xE7989E:0x4D74,0xE798A3:0x4D75,0xE798A5:0x4D76,0xE798A6:0x4D77,0xE798A9:0x4D78, +0xE798AD:0x4D79,0xE798B2:0x4D7A,0xE798B3:0x4D7B,0xE798B5:0x4D7C,0xE798B8:0x4D7D, +0xE798B9:0x4D7E,0xE798BA:0x4E21,0xE798BC:0x4E22,0xE7998A:0x4E23,0xE79980:0x4E24, +0xE79981:0x4E25,0xE79983:0x4E26,0xE79984:0x4E27,0xE79985:0x4E28,0xE79989:0x4E29, +0xE7998B:0x4E2A,0xE79995:0x4E2B,0xE79999:0x4E2C,0xE7999F:0x4E2D,0xE799A4:0x4E2E, +0xE799A5:0x4E2F,0xE799AD:0x4E30,0xE799AE:0x4E31,0xE799AF:0x4E32,0xE799B1:0x4E33, +0xE799B4:0x4E34,0xE79A81:0x4E35,0xE79A85:0x4E36,0xE79A8C:0x4E37,0xE79A8D:0x4E38, +0xE79A95:0x4E39,0xE79A9B:0x4E3A,0xE79A9C:0x4E3B,0xE79A9D:0x4E3C,0xE79A9F:0x4E3D, +0xE79AA0:0x4E3E,0xE79AA2:0x4E3F,0xE79AA3:0x4E40,0xE79AA4:0x4E41,0xE79AA5:0x4E42, +0xE79AA6:0x4E43,0xE79AA7:0x4E44,0xE79AA8:0x4E45,0xE79AAA:0x4E46,0xE79AAD:0x4E47, +0xE79ABD:0x4E48,0xE79B81:0x4E49,0xE79B85:0x4E4A,0xE79B89:0x4E4B,0xE79B8B:0x4E4C, +0xE79B8C:0x4E4D,0xE79B8E:0x4E4E,0xE79B94:0x4E4F,0xE79B99:0x4E50,0xE79BA0:0x4E51, +0xE79BA6:0x4E52,0xE79BA8:0x4E53,0xE79BAC:0x4E54,0xE79BB0:0x4E55,0xE79BB1:0x4E56, +0xE79BB6:0x4E57,0xE79BB9:0x4E58,0xE79BBC:0x4E59,0xE79C80:0x4E5A,0xE79C86:0x4E5B, +0xE79C8A:0x4E5C,0xE79C8E:0x4E5D,0xE79C92:0x4E5E,0xE79C94:0x4E5F,0xE79C95:0x4E60, +0xE79C97:0x4E61,0xE79C99:0x4E62,0xE79C9A:0x4E63,0xE79C9C:0x4E64,0xE79CA2:0x4E65, +0xE79CA8:0x4E66,0xE79CAD:0x4E67,0xE79CAE:0x4E68,0xE79CAF:0x4E69,0xE79CB4:0x4E6A, +0xE79CB5:0x4E6B,0xE79CB6:0x4E6C,0xE79CB9:0x4E6D,0xE79CBD:0x4E6E,0xE79CBE:0x4E6F, +0xE79D82:0x4E70,0xE79D85:0x4E71,0xE79D86:0x4E72,0xE79D8A:0x4E73,0xE79D8D:0x4E74, +0xE79D8E:0x4E75,0xE79D8F:0x4E76,0xE79D92:0x4E77,0xE79D96:0x4E78,0xE79D97:0x4E79, +0xE79D9C:0x4E7A,0xE79D9E:0x4E7B,0xE79D9F:0x4E7C,0xE79DA0:0x4E7D,0xE79DA2:0x4E7E, +0xE79DA4:0x4F21,0xE79DA7:0x4F22,0xE79DAA:0x4F23,0xE79DAC:0x4F24,0xE79DB0:0x4F25, +0xE79DB2:0x4F26,0xE79DB3:0x4F27,0xE79DB4:0x4F28,0xE79DBA:0x4F29,0xE79DBD:0x4F2A, +0xE79E80:0x4F2B,0xE79E84:0x4F2C,0xE79E8C:0x4F2D,0xE79E8D:0x4F2E,0xE79E94:0x4F2F, +0xE79E95:0x4F30,0xE79E96:0x4F31,0xE79E9A:0x4F32,0xE79E9F:0x4F33,0xE79EA2:0x4F34, +0xE79EA7:0x4F35,0xE79EAA:0x4F36,0xE79EAE:0x4F37,0xE79EAF:0x4F38,0xE79EB1:0x4F39, +0xE79EB5:0x4F3A,0xE79EBE:0x4F3B,0xE79F83:0x4F3C,0xE79F89:0x4F3D,0xE79F91:0x4F3E, +0xE79F92:0x4F3F,0xE79F95:0x4F40,0xE79F99:0x4F41,0xE79F9E:0x4F42,0xE79F9F:0x4F43, +0xE79FA0:0x4F44,0xE79FA4:0x4F45,0xE79FA6:0x4F46,0xE79FAA:0x4F47,0xE79FAC:0x4F48, +0xE79FB0:0x4F49,0xE79FB1:0x4F4A,0xE79FB4:0x4F4B,0xE79FB8:0x4F4C,0xE79FBB:0x4F4D, +0xE7A085:0x4F4E,0xE7A086:0x4F4F,0xE7A089:0x4F50,0xE7A08D:0x4F51,0xE7A08E:0x4F52, +0xE7A091:0x4F53,0xE7A09D:0x4F54,0xE7A0A1:0x4F55,0xE7A0A2:0x4F56,0xE7A0A3:0x4F57, +0xE7A0AD:0x4F58,0xE7A0AE:0x4F59,0xE7A0B0:0x4F5A,0xE7A0B5:0x4F5B,0xE7A0B7:0x4F5C, +0xE7A183:0x4F5D,0xE7A184:0x4F5E,0xE7A187:0x4F5F,0xE7A188:0x4F60,0xE7A18C:0x4F61, +0xE7A18E:0x4F62,0xE7A192:0x4F63,0xE7A19C:0x4F64,0xE7A19E:0x4F65,0xE7A1A0:0x4F66, +0xE7A1A1:0x4F67,0xE7A1A3:0x4F68,0xE7A1A4:0x4F69,0xE7A1A8:0x4F6A,0xE7A1AA:0x4F6B, +0xE7A1AE:0x4F6C,0xE7A1BA:0x4F6D,0xE7A1BE:0x4F6E,0xE7A28A:0x4F6F,0xE7A28F:0x4F70, +0xE7A294:0x4F71,0xE7A298:0x4F72,0xE7A2A1:0x4F73,0xE7A29D:0x4F74,0xE7A29E:0x4F75, +0xE7A29F:0x4F76,0xE7A2A4:0x4F77,0xE7A2A8:0x4F78,0xE7A2AC:0x4F79,0xE7A2AD:0x4F7A, +0xE7A2B0:0x4F7B,0xE7A2B1:0x4F7C,0xE7A2B2:0x4F7D,0xE7A2B3:0x4F7E,0xE7A2BB:0x5021, +0xE7A2BD:0x5022,0xE7A2BF:0x5023,0xE7A387:0x5024,0xE7A388:0x5025,0xE7A389:0x5026, +0xE7A38C:0x5027,0xE7A38E:0x5028,0xE7A392:0x5029,0xE7A393:0x502A,0xE7A395:0x502B, +0xE7A396:0x502C,0xE7A3A4:0x502D,0xE7A39B:0x502E,0xE7A39F:0x502F,0xE7A3A0:0x5030, +0xE7A3A1:0x5031,0xE7A3A6:0x5032,0xE7A3AA:0x5033,0xE7A3B2:0x5034,0xE7A3B3:0x5035, +0xE7A480:0x5036,0xE7A3B6:0x5037,0xE7A3B7:0x5038,0xE7A3BA:0x5039,0xE7A3BB:0x503A, +0xE7A3BF:0x503B,0xE7A486:0x503C,0xE7A48C:0x503D,0xE7A490:0x503E,0xE7A49A:0x503F, +0xE7A49C:0x5040,0xE7A49E:0x5041,0xE7A49F:0x5042,0xE7A4A0:0x5043,0xE7A4A5:0x5044, +0xE7A4A7:0x5045,0xE7A4A9:0x5046,0xE7A4AD:0x5047,0xE7A4B1:0x5048,0xE7A4B4:0x5049, +0xE7A4B5:0x504A,0xE7A4BB:0x504B,0xE7A4BD:0x504C,0xE7A4BF:0x504D,0xE7A584:0x504E, +0xE7A585:0x504F,0xE7A586:0x5050,0xE7A58A:0x5051,0xE7A58B:0x5052,0xE7A58F:0x5053, +0xE7A591:0x5054,0xE7A594:0x5055,0xE7A598:0x5056,0xE7A59B:0x5057,0xE7A59C:0x5058, +0xE7A5A7:0x5059,0xE7A5A9:0x505A,0xE7A5AB:0x505B,0xE7A5B2:0x505C,0xE7A5B9:0x505D, +0xE7A5BB:0x505E,0xE7A5BC:0x505F,0xE7A5BE:0x5060,0xE7A68B:0x5061,0xE7A68C:0x5062, +0xE7A691:0x5063,0xE7A693:0x5064,0xE7A694:0x5065,0xE7A695:0x5066,0xE7A696:0x5067, +0xE7A698:0x5068,0xE7A69B:0x5069,0xE7A69C:0x506A,0xE7A6A1:0x506B,0xE7A6A8:0x506C, +0xE7A6A9:0x506D,0xE7A6AB:0x506E,0xE7A6AF:0x506F,0xE7A6B1:0x5070,0xE7A6B4:0x5071, +0xE7A6B8:0x5072,0xE7A6BB:0x5073,0xE7A782:0x5074,0xE7A784:0x5075,0xE7A787:0x5076, +0xE7A788:0x5077,0xE7A78A:0x5078,0xE7A78F:0x5079,0xE7A794:0x507A,0xE7A796:0x507B, +0xE7A79A:0x507C,0xE7A79D:0x507D,0xE7A79E:0x507E,0xE7A7A0:0x5121,0xE7A7A2:0x5122, +0xE7A7A5:0x5123,0xE7A7AA:0x5124,0xE7A7AB:0x5125,0xE7A7AD:0x5126,0xE7A7B1:0x5127, +0xE7A7B8:0x5128,0xE7A7BC:0x5129,0xE7A882:0x512A,0xE7A883:0x512B,0xE7A887:0x512C, +0xE7A889:0x512D,0xE7A88A:0x512E,0xE7A88C:0x512F,0xE7A891:0x5130,0xE7A895:0x5131, +0xE7A89B:0x5132,0xE7A89E:0x5133,0xE7A8A1:0x5134,0xE7A8A7:0x5135,0xE7A8AB:0x5136, +0xE7A8AD:0x5137,0xE7A8AF:0x5138,0xE7A8B0:0x5139,0xE7A8B4:0x513A,0xE7A8B5:0x513B, +0xE7A8B8:0x513C,0xE7A8B9:0x513D,0xE7A8BA:0x513E,0xE7A984:0x513F,0xE7A985:0x5140, +0xE7A987:0x5141,0xE7A988:0x5142,0xE7A98C:0x5143,0xE7A995:0x5144,0xE7A996:0x5145, +0xE7A999:0x5146,0xE7A99C:0x5147,0xE7A99D:0x5148,0xE7A99F:0x5149,0xE7A9A0:0x514A, +0xE7A9A5:0x514B,0xE7A9A7:0x514C,0xE7A9AA:0x514D,0xE7A9AD:0x514E,0xE7A9B5:0x514F, +0xE7A9B8:0x5150,0xE7A9BE:0x5151,0xE7AA80:0x5152,0xE7AA82:0x5153,0xE7AA85:0x5154, +0xE7AA86:0x5155,0xE7AA8A:0x5156,0xE7AA8B:0x5157,0xE7AA90:0x5158,0xE7AA91:0x5159, +0xE7AA94:0x515A,0xE7AA9E:0x515B,0xE7AAA0:0x515C,0xE7AAA3:0x515D,0xE7AAAC:0x515E, +0xE7AAB3:0x515F,0xE7AAB5:0x5160,0xE7AAB9:0x5161,0xE7AABB:0x5162,0xE7AABC:0x5163, +0xE7AB86:0x5164,0xE7AB89:0x5165,0xE7AB8C:0x5166,0xE7AB8E:0x5167,0xE7AB91:0x5168, +0xE7AB9B:0x5169,0xE7ABA8:0x516A,0xE7ABA9:0x516B,0xE7ABAB:0x516C,0xE7ABAC:0x516D, +0xE7ABB1:0x516E,0xE7ABB4:0x516F,0xE7ABBB:0x5170,0xE7ABBD:0x5171,0xE7ABBE:0x5172, +0xE7AC87:0x5173,0xE7AC94:0x5174,0xE7AC9F:0x5175,0xE7ACA3:0x5176,0xE7ACA7:0x5177, +0xE7ACA9:0x5178,0xE7ACAA:0x5179,0xE7ACAB:0x517A,0xE7ACAD:0x517B,0xE7ACAE:0x517C, +0xE7ACAF:0x517D,0xE7ACB0:0x517E,0xE7ACB1:0x5221,0xE7ACB4:0x5222,0xE7ACBD:0x5223, +0xE7ACBF:0x5224,0xE7AD80:0x5225,0xE7AD81:0x5226,0xE7AD87:0x5227,0xE7AD8E:0x5228, +0xE7AD95:0x5229,0xE7ADA0:0x522A,0xE7ADA4:0x522B,0xE7ADA6:0x522C,0xE7ADA9:0x522D, +0xE7ADAA:0x522E,0xE7ADAD:0x522F,0xE7ADAF:0x5230,0xE7ADB2:0x5231,0xE7ADB3:0x5232, +0xE7ADB7:0x5233,0xE7AE84:0x5234,0xE7AE89:0x5235,0xE7AE8E:0x5236,0xE7AE90:0x5237, +0xE7AE91:0x5238,0xE7AE96:0x5239,0xE7AE9B:0x523A,0xE7AE9E:0x523B,0xE7AEA0:0x523C, +0xE7AEA5:0x523D,0xE7AEAC:0x523E,0xE7AEAF:0x523F,0xE7AEB0:0x5240,0xE7AEB2:0x5241, +0xE7AEB5:0x5242,0xE7AEB6:0x5243,0xE7AEBA:0x5244,0xE7AEBB:0x5245,0xE7AEBC:0x5246, +0xE7AEBD:0x5247,0xE7AF82:0x5248,0xE7AF85:0x5249,0xE7AF88:0x524A,0xE7AF8A:0x524B, +0xE7AF94:0x524C,0xE7AF96:0x524D,0xE7AF97:0x524E,0xE7AF99:0x524F,0xE7AF9A:0x5250, +0xE7AF9B:0x5251,0xE7AFA8:0x5252,0xE7AFAA:0x5253,0xE7AFB2:0x5254,0xE7AFB4:0x5255, +0xE7AFB5:0x5256,0xE7AFB8:0x5257,0xE7AFB9:0x5258,0xE7AFBA:0x5259,0xE7AFBC:0x525A, +0xE7AFBE:0x525B,0xE7B081:0x525C,0xE7B082:0x525D,0xE7B083:0x525E,0xE7B084:0x525F, +0xE7B086:0x5260,0xE7B089:0x5261,0xE7B08B:0x5262,0xE7B08C:0x5263,0xE7B08E:0x5264, +0xE7B08F:0x5265,0xE7B099:0x5266,0xE7B09B:0x5267,0xE7B0A0:0x5268,0xE7B0A5:0x5269, +0xE7B0A6:0x526A,0xE7B0A8:0x526B,0xE7B0AC:0x526C,0xE7B0B1:0x526D,0xE7B0B3:0x526E, +0xE7B0B4:0x526F,0xE7B0B6:0x5270,0xE7B0B9:0x5271,0xE7B0BA:0x5272,0xE7B186:0x5273, +0xE7B18A:0x5274,0xE7B195:0x5275,0xE7B191:0x5276,0xE7B192:0x5277,0xE7B193:0x5278, +0xE7B199:0x5279,0xE7B19A:0x527A,0xE7B19B:0x527B,0xE7B19C:0x527C,0xE7B19D:0x527D, +0xE7B19E:0x527E,0xE7B1A1:0x5321,0xE7B1A3:0x5322,0xE7B1A7:0x5323,0xE7B1A9:0x5324, +0xE7B1AD:0x5325,0xE7B1AE:0x5326,0xE7B1B0:0x5327,0xE7B1B2:0x5328,0xE7B1B9:0x5329, +0xE7B1BC:0x532A,0xE7B1BD:0x532B,0xE7B286:0x532C,0xE7B287:0x532D,0xE7B28F:0x532E, +0xE7B294:0x532F,0xE7B29E:0x5330,0xE7B2A0:0x5331,0xE7B2A6:0x5332,0xE7B2B0:0x5333, +0xE7B2B6:0x5334,0xE7B2B7:0x5335,0xE7B2BA:0x5336,0xE7B2BB:0x5337,0xE7B2BC:0x5338, +0xE7B2BF:0x5339,0xE7B384:0x533A,0xE7B387:0x533B,0xE7B388:0x533C,0xE7B389:0x533D, +0xE7B38D:0x533E,0xE7B38F:0x533F,0xE7B393:0x5340,0xE7B394:0x5341,0xE7B395:0x5342, +0xE7B397:0x5343,0xE7B399:0x5344,0xE7B39A:0x5345,0xE7B39D:0x5346,0xE7B3A6:0x5347, +0xE7B3A9:0x5348,0xE7B3AB:0x5349,0xE7B3B5:0x534A,0xE7B483:0x534B,0xE7B487:0x534C, +0xE7B488:0x534D,0xE7B489:0x534E,0xE7B48F:0x534F,0xE7B491:0x5350,0xE7B492:0x5351, +0xE7B493:0x5352,0xE7B496:0x5353,0xE7B49D:0x5354,0xE7B49E:0x5355,0xE7B4A3:0x5356, +0xE7B4A6:0x5357,0xE7B4AA:0x5358,0xE7B4AD:0x5359,0xE7B4B1:0x535A,0xE7B4BC:0x535B, +0xE7B4BD:0x535C,0xE7B4BE:0x535D,0xE7B580:0x535E,0xE7B581:0x535F,0xE7B587:0x5360, +0xE7B588:0x5361,0xE7B58D:0x5362,0xE7B591:0x5363,0xE7B593:0x5364,0xE7B597:0x5365, +0xE7B599:0x5366,0xE7B59A:0x5367,0xE7B59C:0x5368,0xE7B59D:0x5369,0xE7B5A5:0x536A, +0xE7B5A7:0x536B,0xE7B5AA:0x536C,0xE7B5B0:0x536D,0xE7B5B8:0x536E,0xE7B5BA:0x536F, +0xE7B5BB:0x5370,0xE7B5BF:0x5371,0xE7B681:0x5372,0xE7B682:0x5373,0xE7B683:0x5374, +0xE7B685:0x5375,0xE7B686:0x5376,0xE7B688:0x5377,0xE7B68B:0x5378,0xE7B68C:0x5379, +0xE7B68D:0x537A,0xE7B691:0x537B,0xE7B696:0x537C,0xE7B697:0x537D,0xE7B69D:0x537E, +0xE7B69E:0x5421,0xE7B6A6:0x5422,0xE7B6A7:0x5423,0xE7B6AA:0x5424,0xE7B6B3:0x5425, +0xE7B6B6:0x5426,0xE7B6B7:0x5427,0xE7B6B9:0x5428,0xE7B782:0x5429,0xE7B783:0x542A, +0xE7B784:0x542B,0xE7B785:0x542C,0xE7B786:0x542D,0xE7B78C:0x542E,0xE7B78D:0x542F, +0xE7B78E:0x5430,0xE7B797:0x5431,0xE7B799:0x5432,0xE7B880:0x5433,0xE7B7A2:0x5434, +0xE7B7A5:0x5435,0xE7B7A6:0x5436,0xE7B7AA:0x5437,0xE7B7AB:0x5438,0xE7B7AD:0x5439, +0xE7B7B1:0x543A,0xE7B7B5:0x543B,0xE7B7B6:0x543C,0xE7B7B9:0x543D,0xE7B7BA:0x543E, +0xE7B888:0x543F,0xE7B890:0x5440,0xE7B891:0x5441,0xE7B895:0x5442,0xE7B897:0x5443, +0xE7B89C:0x5444,0xE7B89D:0x5445,0xE7B8A0:0x5446,0xE7B8A7:0x5447,0xE7B8A8:0x5448, +0xE7B8AC:0x5449,0xE7B8AD:0x544A,0xE7B8AF:0x544B,0xE7B8B3:0x544C,0xE7B8B6:0x544D, +0xE7B8BF:0x544E,0xE7B984:0x544F,0xE7B985:0x5450,0xE7B987:0x5451,0xE7B98E:0x5452, +0xE7B990:0x5453,0xE7B992:0x5454,0xE7B998:0x5455,0xE7B99F:0x5456,0xE7B9A1:0x5457, +0xE7B9A2:0x5458,0xE7B9A5:0x5459,0xE7B9AB:0x545A,0xE7B9AE:0x545B,0xE7B9AF:0x545C, +0xE7B9B3:0x545D,0xE7B9B8:0x545E,0xE7B9BE:0x545F,0xE7BA81:0x5460,0xE7BA86:0x5461, +0xE7BA87:0x5462,0xE7BA8A:0x5463,0xE7BA8D:0x5464,0xE7BA91:0x5465,0xE7BA95:0x5466, +0xE7BA98:0x5467,0xE7BA9A:0x5468,0xE7BA9D:0x5469,0xE7BA9E:0x546A,0xE7BCBC:0x546B, +0xE7BCBB:0x546C,0xE7BCBD:0x546D,0xE7BCBE:0x546E,0xE7BCBF:0x546F,0xE7BD83:0x5470, +0xE7BD84:0x5471,0xE7BD87:0x5472,0xE7BD8F:0x5473,0xE7BD92:0x5474,0xE7BD93:0x5475, +0xE7BD9B:0x5476,0xE7BD9C:0x5477,0xE7BD9D:0x5478,0xE7BDA1:0x5479,0xE7BDA3:0x547A, +0xE7BDA4:0x547B,0xE7BDA5:0x547C,0xE7BDA6:0x547D,0xE7BDAD:0x547E,0xE7BDB1:0x5521, +0xE7BDBD:0x5522,0xE7BDBE:0x5523,0xE7BDBF:0x5524,0xE7BE80:0x5525,0xE7BE8B:0x5526, +0xE7BE8D:0x5527,0xE7BE8F:0x5528,0xE7BE90:0x5529,0xE7BE91:0x552A,0xE7BE96:0x552B, +0xE7BE97:0x552C,0xE7BE9C:0x552D,0xE7BEA1:0x552E,0xE7BEA2:0x552F,0xE7BEA6:0x5530, +0xE7BEAA:0x5531,0xE7BEAD:0x5532,0xE7BEB4:0x5533,0xE7BEBC:0x5534,0xE7BEBF:0x5535, +0xE7BF80:0x5536,0xE7BF83:0x5537,0xE7BF88:0x5538,0xE7BF8E:0x5539,0xE7BF8F:0x553A, +0xE7BF9B:0x553B,0xE7BF9F:0x553C,0xE7BFA3:0x553D,0xE7BFA5:0x553E,0xE7BFA8:0x553F, +0xE7BFAC:0x5540,0xE7BFAE:0x5541,0xE7BFAF:0x5542,0xE7BFB2:0x5543,0xE7BFBA:0x5544, +0xE7BFBD:0x5545,0xE7BFBE:0x5546,0xE7BFBF:0x5547,0xE88087:0x5548,0xE88088:0x5549, +0xE8808A:0x554A,0xE8808D:0x554B,0xE8808E:0x554C,0xE8808F:0x554D,0xE88091:0x554E, +0xE88093:0x554F,0xE88094:0x5550,0xE88096:0x5551,0xE8809D:0x5552,0xE8809E:0x5553, +0xE8809F:0x5554,0xE880A0:0x5555,0xE880A4:0x5556,0xE880A6:0x5557,0xE880AC:0x5558, +0xE880AE:0x5559,0xE880B0:0x555A,0xE880B4:0x555B,0xE880B5:0x555C,0xE880B7:0x555D, +0xE880B9:0x555E,0xE880BA:0x555F,0xE880BC:0x5560,0xE880BE:0x5561,0xE88180:0x5562, +0xE88184:0x5563,0xE881A0:0x5564,0xE881A4:0x5565,0xE881A6:0x5566,0xE881AD:0x5567, +0xE881B1:0x5568,0xE881B5:0x5569,0xE88281:0x556A,0xE88288:0x556B,0xE8828E:0x556C, +0xE8829C:0x556D,0xE8829E:0x556E,0xE882A6:0x556F,0xE882A7:0x5570,0xE882AB:0x5571, +0xE882B8:0x5572,0xE882B9:0x5573,0xE88388:0x5574,0xE8838D:0x5575,0xE8838F:0x5576, +0xE88392:0x5577,0xE88394:0x5578,0xE88395:0x5579,0xE88397:0x557A,0xE88398:0x557B, +0xE883A0:0x557C,0xE883AD:0x557D,0xE883AE:0x557E,0xE883B0:0x5621,0xE883B2:0x5622, +0xE883B3:0x5623,0xE883B6:0x5624,0xE883B9:0x5625,0xE883BA:0x5626,0xE883BE:0x5627, +0xE88483:0x5628,0xE8848B:0x5629,0xE88496:0x562A,0xE88497:0x562B,0xE88498:0x562C, +0xE8849C:0x562D,0xE8849E:0x562E,0xE884A0:0x562F,0xE884A4:0x5630,0xE884A7:0x5631, +0xE884AC:0x5632,0xE884B0:0x5633,0xE884B5:0x5634,0xE884BA:0x5635,0xE884BC:0x5636, +0xE88585:0x5637,0xE88587:0x5638,0xE8858A:0x5639,0xE8858C:0x563A,0xE88592:0x563B, +0xE88597:0x563C,0xE885A0:0x563D,0xE885A1:0x563E,0xE885A7:0x563F,0xE885A8:0x5640, +0xE885A9:0x5641,0xE885AD:0x5642,0xE885AF:0x5643,0xE885B7:0x5644,0xE88681:0x5645, +0xE88690:0x5646,0xE88684:0x5647,0xE88685:0x5648,0xE88686:0x5649,0xE8868B:0x564A, +0xE8868E:0x564B,0xE88696:0x564C,0xE88698:0x564D,0xE8869B:0x564E,0xE8869E:0x564F, +0xE886A2:0x5650,0xE886AE:0x5651,0xE886B2:0x5652,0xE886B4:0x5653,0xE886BB:0x5654, +0xE8878B:0x5655,0xE88783:0x5656,0xE88785:0x5657,0xE8878A:0x5658,0xE8878E:0x5659, +0xE8878F:0x565A,0xE88795:0x565B,0xE88797:0x565C,0xE8879B:0x565D,0xE8879D:0x565E, +0xE8879E:0x565F,0xE887A1:0x5660,0xE887A4:0x5661,0xE887AB:0x5662,0xE887AC:0x5663, +0xE887B0:0x5664,0xE887B1:0x5665,0xE887B2:0x5666,0xE887B5:0x5667,0xE887B6:0x5668, +0xE887B8:0x5669,0xE887B9:0x566A,0xE887BD:0x566B,0xE887BF:0x566C,0xE88880:0x566D, +0xE88883:0x566E,0xE8888F:0x566F,0xE88893:0x5670,0xE88894:0x5671,0xE88899:0x5672, +0xE8889A:0x5673,0xE8889D:0x5674,0xE888A1:0x5675,0xE888A2:0x5676,0xE888A8:0x5677, +0xE888B2:0x5678,0xE888B4:0x5679,0xE888BA:0x567A,0xE88983:0x567B,0xE88984:0x567C, +0xE88985:0x567D,0xE88986:0x567E,0xE8898B:0x5721,0xE8898E:0x5722,0xE8898F:0x5723, +0xE88991:0x5724,0xE88996:0x5725,0xE8899C:0x5726,0xE889A0:0x5727,0xE889A3:0x5728, +0xE889A7:0x5729,0xE889AD:0x572A,0xE889B4:0x572B,0xE889BB:0x572C,0xE889BD:0x572D, +0xE889BF:0x572E,0xE88A80:0x572F,0xE88A81:0x5730,0xE88A83:0x5731,0xE88A84:0x5732, +0xE88A87:0x5733,0xE88A89:0x5734,0xE88A8A:0x5735,0xE88A8E:0x5736,0xE88A91:0x5737, +0xE88A94:0x5738,0xE88A96:0x5739,0xE88A98:0x573A,0xE88A9A:0x573B,0xE88A9B:0x573C, +0xE88AA0:0x573D,0xE88AA1:0x573E,0xE88AA3:0x573F,0xE88AA4:0x5740,0xE88AA7:0x5741, +0xE88AA8:0x5742,0xE88AA9:0x5743,0xE88AAA:0x5744,0xE88AAE:0x5745,0xE88AB0:0x5746, +0xE88AB2:0x5747,0xE88AB4:0x5748,0xE88AB7:0x5749,0xE88ABA:0x574A,0xE88ABC:0x574B, +0xE88ABE:0x574C,0xE88ABF:0x574D,0xE88B86:0x574E,0xE88B90:0x574F,0xE88B95:0x5750, +0xE88B9A:0x5751,0xE88BA0:0x5752,0xE88BA2:0x5753,0xE88BA4:0x5754,0xE88BA8:0x5755, +0xE88BAA:0x5756,0xE88BAD:0x5757,0xE88BAF:0x5758,0xE88BB6:0x5759,0xE88BB7:0x575A, +0xE88BBD:0x575B,0xE88BBE:0x575C,0xE88C80:0x575D,0xE88C81:0x575E,0xE88C87:0x575F, +0xE88C88:0x5760,0xE88C8A:0x5761,0xE88C8B:0x5762,0xE88D94:0x5763,0xE88C9B:0x5764, +0xE88C9D:0x5765,0xE88C9E:0x5766,0xE88C9F:0x5767,0xE88CA1:0x5768,0xE88CA2:0x5769, +0xE88CAC:0x576A,0xE88CAD:0x576B,0xE88CAE:0x576C,0xE88CB0:0x576D,0xE88CB3:0x576E, +0xE88CB7:0x576F,0xE88CBA:0x5770,0xE88CBC:0x5771,0xE88CBD:0x5772,0xE88D82:0x5773, +0xE88D83:0x5774,0xE88D84:0x5775,0xE88D87:0x5776,0xE88D8D:0x5777,0xE88D8E:0x5778, +0xE88D91:0x5779,0xE88D95:0x577A,0xE88D96:0x577B,0xE88D97:0x577C,0xE88DB0:0x577D, +0xE88DB8:0x577E,0xE88DBD:0x5821,0xE88DBF:0x5822,0xE88E80:0x5823,0xE88E82:0x5824, +0xE88E84:0x5825,0xE88E86:0x5826,0xE88E8D:0x5827,0xE88E92:0x5828,0xE88E94:0x5829, +0xE88E95:0x582A,0xE88E98:0x582B,0xE88E99:0x582C,0xE88E9B:0x582D,0xE88E9C:0x582E, +0xE88E9D:0x582F,0xE88EA6:0x5830,0xE88EA7:0x5831,0xE88EA9:0x5832,0xE88EAC:0x5833, +0xE88EBE:0x5834,0xE88EBF:0x5835,0xE88F80:0x5836,0xE88F87:0x5837,0xE88F89:0x5838, +0xE88F8F:0x5839,0xE88F90:0x583A,0xE88F91:0x583B,0xE88F94:0x583C,0xE88F9D:0x583D, +0xE88D93:0x583E,0xE88FA8:0x583F,0xE88FAA:0x5840,0xE88FB6:0x5841,0xE88FB8:0x5842, +0xE88FB9:0x5843,0xE88FBC:0x5844,0xE89081:0x5845,0xE89086:0x5846,0xE8908A:0x5847, +0xE8908F:0x5848,0xE89091:0x5849,0xE89095:0x584A,0xE89099:0x584B,0xE88EAD:0x584C, +0xE890AF:0x584D,0xE890B9:0x584E,0xE89185:0x584F,0xE89187:0x5850,0xE89188:0x5851, +0xE8918A:0x5852,0xE8918D:0x5853,0xE8918F:0x5854,0xE89191:0x5855,0xE89192:0x5856, +0xE89196:0x5857,0xE89198:0x5858,0xE89199:0x5859,0xE8919A:0x585A,0xE8919C:0x585B, +0xE891A0:0x585C,0xE891A4:0x585D,0xE891A5:0x585E,0xE891A7:0x585F,0xE891AA:0x5860, +0xE891B0:0x5861,0xE891B3:0x5862,0xE891B4:0x5863,0xE891B6:0x5864,0xE891B8:0x5865, +0xE891BC:0x5866,0xE891BD:0x5867,0xE89281:0x5868,0xE89285:0x5869,0xE89292:0x586A, +0xE89293:0x586B,0xE89295:0x586C,0xE8929E:0x586D,0xE892A6:0x586E,0xE892A8:0x586F, +0xE892A9:0x5870,0xE892AA:0x5871,0xE892AF:0x5872,0xE892B1:0x5873,0xE892B4:0x5874, +0xE892BA:0x5875,0xE892BD:0x5876,0xE892BE:0x5877,0xE89380:0x5878,0xE89382:0x5879, +0xE89387:0x587A,0xE89388:0x587B,0xE8938C:0x587C,0xE8938F:0x587D,0xE89393:0x587E, +0xE8939C:0x5921,0xE893A7:0x5922,0xE893AA:0x5923,0xE893AF:0x5924,0xE893B0:0x5925, +0xE893B1:0x5926,0xE893B2:0x5927,0xE893B7:0x5928,0xE894B2:0x5929,0xE893BA:0x592A, +0xE893BB:0x592B,0xE893BD:0x592C,0xE89482:0x592D,0xE89483:0x592E,0xE89487:0x592F, +0xE8948C:0x5930,0xE8948E:0x5931,0xE89490:0x5932,0xE8949C:0x5933,0xE8949E:0x5934, +0xE894A2:0x5935,0xE894A3:0x5936,0xE894A4:0x5937,0xE894A5:0x5938,0xE894A7:0x5939, +0xE894AA:0x593A,0xE894AB:0x593B,0xE894AF:0x593C,0xE894B3:0x593D,0xE894B4:0x593E, +0xE894B6:0x593F,0xE894BF:0x5940,0xE89586:0x5941,0xE8958F:0x5942,0xE89590:0x5943, +0xE89591:0x5944,0xE89592:0x5945,0xE89593:0x5946,0xE89596:0x5947,0xE89599:0x5948, +0xE8959C:0x5949,0xE8959D:0x594A,0xE8959E:0x594B,0xE8959F:0x594C,0xE895A0:0x594D, +0xE895A1:0x594E,0xE895A2:0x594F,0xE895A4:0x5950,0xE895AB:0x5951,0xE895AF:0x5952, +0xE895B9:0x5953,0xE895BA:0x5954,0xE895BB:0x5955,0xE895BD:0x5956,0xE895BF:0x5957, +0xE89681:0x5958,0xE89685:0x5959,0xE89686:0x595A,0xE89689:0x595B,0xE8968B:0x595C, +0xE8968C:0x595D,0xE8968F:0x595E,0xE89693:0x595F,0xE89698:0x5960,0xE8969D:0x5961, +0xE8969F:0x5962,0xE896A0:0x5963,0xE896A2:0x5964,0xE896A5:0x5965,0xE896A7:0x5966, +0xE896B4:0x5967,0xE896B6:0x5968,0xE896B7:0x5969,0xE896B8:0x596A,0xE896BC:0x596B, +0xE896BD:0x596C,0xE896BE:0x596D,0xE896BF:0x596E,0xE89782:0x596F,0xE89787:0x5970, +0xE8978A:0x5971,0xE8978B:0x5972,0xE8978E:0x5973,0xE896AD:0x5974,0xE89798:0x5975, +0xE8979A:0x5976,0xE8979F:0x5977,0xE897A0:0x5978,0xE897A6:0x5979,0xE897A8:0x597A, +0xE897AD:0x597B,0xE897B3:0x597C,0xE897B6:0x597D,0xE897BC:0x597E,0xE897BF:0x5A21, +0xE89880:0x5A22,0xE89884:0x5A23,0xE89885:0x5A24,0xE8988D:0x5A25,0xE8988E:0x5A26, +0xE89890:0x5A27,0xE89891:0x5A28,0xE89892:0x5A29,0xE89898:0x5A2A,0xE89899:0x5A2B, +0xE8989B:0x5A2C,0xE8989E:0x5A2D,0xE898A1:0x5A2E,0xE898A7:0x5A2F,0xE898A9:0x5A30, +0xE898B6:0x5A31,0xE898B8:0x5A32,0xE898BA:0x5A33,0xE898BC:0x5A34,0xE898BD:0x5A35, +0xE89980:0x5A36,0xE89982:0x5A37,0xE89986:0x5A38,0xE89992:0x5A39,0xE89993:0x5A3A, +0xE89996:0x5A3B,0xE89997:0x5A3C,0xE89998:0x5A3D,0xE89999:0x5A3E,0xE8999D:0x5A3F, +0xE899A0:0x5A40,0xE899A1:0x5A41,0xE899A2:0x5A42,0xE899A3:0x5A43,0xE899A4:0x5A44, +0xE899A9:0x5A45,0xE899AC:0x5A46,0xE899AF:0x5A47,0xE899B5:0x5A48,0xE899B6:0x5A49, +0xE899B7:0x5A4A,0xE899BA:0x5A4B,0xE89A8D:0x5A4C,0xE89A91:0x5A4D,0xE89A96:0x5A4E, +0xE89A98:0x5A4F,0xE89A9A:0x5A50,0xE89A9C:0x5A51,0xE89AA1:0x5A52,0xE89AA6:0x5A53, +0xE89AA7:0x5A54,0xE89AA8:0x5A55,0xE89AAD:0x5A56,0xE89AB1:0x5A57,0xE89AB3:0x5A58, +0xE89AB4:0x5A59,0xE89AB5:0x5A5A,0xE89AB7:0x5A5B,0xE89AB8:0x5A5C,0xE89AB9:0x5A5D, +0xE89ABF:0x5A5E,0xE89B80:0x5A5F,0xE89B81:0x5A60,0xE89B83:0x5A61,0xE89B85:0x5A62, +0xE89B91:0x5A63,0xE89B92:0x5A64,0xE89B95:0x5A65,0xE89B97:0x5A66,0xE89B9A:0x5A67, +0xE89B9C:0x5A68,0xE89BA0:0x5A69,0xE89BA3:0x5A6A,0xE89BA5:0x5A6B,0xE89BA7:0x5A6C, +0xE89A88:0x5A6D,0xE89BBA:0x5A6E,0xE89BBC:0x5A6F,0xE89BBD:0x5A70,0xE89C84:0x5A71, +0xE89C85:0x5A72,0xE89C87:0x5A73,0xE89C8B:0x5A74,0xE89C8E:0x5A75,0xE89C8F:0x5A76, +0xE89C90:0x5A77,0xE89C93:0x5A78,0xE89C94:0x5A79,0xE89C99:0x5A7A,0xE89C9E:0x5A7B, +0xE89C9F:0x5A7C,0xE89CA1:0x5A7D,0xE89CA3:0x5A7E,0xE89CA8:0x5B21,0xE89CAE:0x5B22, +0xE89CAF:0x5B23,0xE89CB1:0x5B24,0xE89CB2:0x5B25,0xE89CB9:0x5B26,0xE89CBA:0x5B27, +0xE89CBC:0x5B28,0xE89CBD:0x5B29,0xE89CBE:0x5B2A,0xE89D80:0x5B2B,0xE89D83:0x5B2C, +0xE89D85:0x5B2D,0xE89D8D:0x5B2E,0xE89D98:0x5B2F,0xE89D9D:0x5B30,0xE89DA1:0x5B31, +0xE89DA4:0x5B32,0xE89DA5:0x5B33,0xE89DAF:0x5B34,0xE89DB1:0x5B35,0xE89DB2:0x5B36, +0xE89DBB:0x5B37,0xE89E83:0x5B38,0xE89E84:0x5B39,0xE89E85:0x5B3A,0xE89E86:0x5B3B, +0xE89E87:0x5B3C,0xE89E88:0x5B3D,0xE89E89:0x5B3E,0xE89E8B:0x5B3F,0xE89E8C:0x5B40, +0xE89E90:0x5B41,0xE89E93:0x5B42,0xE89E95:0x5B43,0xE89E97:0x5B44,0xE89E98:0x5B45, +0xE89E99:0x5B46,0xE89E9E:0x5B47,0xE89EA0:0x5B48,0xE89EA3:0x5B49,0xE89EA7:0x5B4A, +0xE89EAC:0x5B4B,0xE89EAD:0x5B4C,0xE89EAE:0x5B4D,0xE89EB1:0x5B4E,0xE89EB5:0x5B4F, +0xE89EBE:0x5B50,0xE89EBF:0x5B51,0xE89F81:0x5B52,0xE89F88:0x5B53,0xE89F89:0x5B54, +0xE89F8A:0x5B55,0xE89F8E:0x5B56,0xE89F95:0x5B57,0xE89F96:0x5B58,0xE89F99:0x5B59, +0xE89F9A:0x5B5A,0xE89F9C:0x5B5B,0xE89F9F:0x5B5C,0xE89FA2:0x5B5D,0xE89FA3:0x5B5E, +0xE89FA4:0x5B5F,0xE89FAA:0x5B60,0xE89FAB:0x5B61,0xE89FAD:0x5B62,0xE89FB1:0x5B63, +0xE89FB3:0x5B64,0xE89FB8:0x5B65,0xE89FBA:0x5B66,0xE89FBF:0x5B67,0xE8A081:0x5B68, +0xE8A083:0x5B69,0xE8A086:0x5B6A,0xE8A089:0x5B6B,0xE8A08A:0x5B6C,0xE8A08B:0x5B6D, +0xE8A090:0x5B6E,0xE8A099:0x5B6F,0xE8A092:0x5B70,0xE8A093:0x5B71,0xE8A094:0x5B72, +0xE8A098:0x5B73,0xE8A09A:0x5B74,0xE8A09B:0x5B75,0xE8A09C:0x5B76,0xE8A09E:0x5B77, +0xE8A09F:0x5B78,0xE8A0A8:0x5B79,0xE8A0AD:0x5B7A,0xE8A0AE:0x5B7B,0xE8A0B0:0x5B7C, +0xE8A0B2:0x5B7D,0xE8A0B5:0x5B7E,0xE8A0BA:0x5C21,0xE8A0BC:0x5C22,0xE8A181:0x5C23, +0xE8A183:0x5C24,0xE8A185:0x5C25,0xE8A188:0x5C26,0xE8A189:0x5C27,0xE8A18A:0x5C28, +0xE8A18B:0x5C29,0xE8A18E:0x5C2A,0xE8A191:0x5C2B,0xE8A195:0x5C2C,0xE8A196:0x5C2D, +0xE8A198:0x5C2E,0xE8A19A:0x5C2F,0xE8A19C:0x5C30,0xE8A19F:0x5C31,0xE8A1A0:0x5C32, +0xE8A1A4:0x5C33,0xE8A1A9:0x5C34,0xE8A1B1:0x5C35,0xE8A1B9:0x5C36,0xE8A1BB:0x5C37, +0xE8A280:0x5C38,0xE8A298:0x5C39,0xE8A29A:0x5C3A,0xE8A29B:0x5C3B,0xE8A29C:0x5C3C, +0xE8A29F:0x5C3D,0xE8A2A0:0x5C3E,0xE8A2A8:0x5C3F,0xE8A2AA:0x5C40,0xE8A2BA:0x5C41, +0xE8A2BD:0x5C42,0xE8A2BE:0x5C43,0xE8A380:0x5C44,0xE8A38A:0x5C45,0xE8A38B:0x5C46, +0xE8A38C:0x5C47,0xE8A38D:0x5C48,0xE8A38E:0x5C49,0xE8A391:0x5C4A,0xE8A392:0x5C4B, +0xE8A393:0x5C4C,0xE8A39B:0x5C4D,0xE8A39E:0x5C4E,0xE8A3A7:0x5C4F,0xE8A3AF:0x5C50, +0xE8A3B0:0x5C51,0xE8A3B1:0x5C52,0xE8A3B5:0x5C53,0xE8A3B7:0x5C54,0xE8A481:0x5C55, +0xE8A486:0x5C56,0xE8A48D:0x5C57,0xE8A48E:0x5C58,0xE8A48F:0x5C59,0xE8A495:0x5C5A, +0xE8A496:0x5C5B,0xE8A498:0x5C5C,0xE8A499:0x5C5D,0xE8A49A:0x5C5E,0xE8A49C:0x5C5F, +0xE8A4A0:0x5C60,0xE8A4A6:0x5C61,0xE8A4A7:0x5C62,0xE8A4A8:0x5C63,0xE8A4B0:0x5C64, +0xE8A4B1:0x5C65,0xE8A4B2:0x5C66,0xE8A4B5:0x5C67,0xE8A4B9:0x5C68,0xE8A4BA:0x5C69, +0xE8A4BE:0x5C6A,0xE8A580:0x5C6B,0xE8A582:0x5C6C,0xE8A585:0x5C6D,0xE8A586:0x5C6E, +0xE8A589:0x5C6F,0xE8A58F:0x5C70,0xE8A592:0x5C71,0xE8A597:0x5C72,0xE8A59A:0x5C73, +0xE8A59B:0x5C74,0xE8A59C:0x5C75,0xE8A5A1:0x5C76,0xE8A5A2:0x5C77,0xE8A5A3:0x5C78, +0xE8A5AB:0x5C79,0xE8A5AE:0x5C7A,0xE8A5B0:0x5C7B,0xE8A5B3:0x5C7C,0xE8A5B5:0x5C7D, +0xE8A5BA:0x5C7E,0xE8A5BB:0x5D21,0xE8A5BC:0x5D22,0xE8A5BD:0x5D23,0xE8A689:0x5D24, +0xE8A68D:0x5D25,0xE8A690:0x5D26,0xE8A694:0x5D27,0xE8A695:0x5D28,0xE8A69B:0x5D29, +0xE8A69C:0x5D2A,0xE8A69F:0x5D2B,0xE8A6A0:0x5D2C,0xE8A6A5:0x5D2D,0xE8A6B0:0x5D2E, +0xE8A6B4:0x5D2F,0xE8A6B5:0x5D30,0xE8A6B6:0x5D31,0xE8A6B7:0x5D32,0xE8A6BC:0x5D33, +0xE8A794:0x5D34,0xE8A795:0x5D35,0xE8A796:0x5D36,0xE8A797:0x5D37,0xE8A798:0x5D38, +0xE8A7A5:0x5D39,0xE8A7A9:0x5D3A,0xE8A7AB:0x5D3B,0xE8A7AD:0x5D3C,0xE8A7B1:0x5D3D, +0xE8A7B3:0x5D3E,0xE8A7B6:0x5D3F,0xE8A7B9:0x5D40,0xE8A7BD:0x5D41,0xE8A7BF:0x5D42, +0xE8A884:0x5D43,0xE8A885:0x5D44,0xE8A887:0x5D45,0xE8A88F:0x5D46,0xE8A891:0x5D47, +0xE8A892:0x5D48,0xE8A894:0x5D49,0xE8A895:0x5D4A,0xE8A89E:0x5D4B,0xE8A8A0:0x5D4C, +0xE8A8A2:0x5D4D,0xE8A8A4:0x5D4E,0xE8A8A6:0x5D4F,0xE8A8AB:0x5D50,0xE8A8AC:0x5D51, +0xE8A8AF:0x5D52,0xE8A8B5:0x5D53,0xE8A8B7:0x5D54,0xE8A8BD:0x5D55,0xE8A8BE:0x5D56, +0xE8A980:0x5D57,0xE8A983:0x5D58,0xE8A985:0x5D59,0xE8A987:0x5D5A,0xE8A989:0x5D5B, +0xE8A98D:0x5D5C,0xE8A98E:0x5D5D,0xE8A993:0x5D5E,0xE8A996:0x5D5F,0xE8A997:0x5D60, +0xE8A998:0x5D61,0xE8A99C:0x5D62,0xE8A99D:0x5D63,0xE8A9A1:0x5D64,0xE8A9A5:0x5D65, +0xE8A9A7:0x5D66,0xE8A9B5:0x5D67,0xE8A9B6:0x5D68,0xE8A9B7:0x5D69,0xE8A9B9:0x5D6A, +0xE8A9BA:0x5D6B,0xE8A9BB:0x5D6C,0xE8A9BE:0x5D6D,0xE8A9BF:0x5D6E,0xE8AA80:0x5D6F, +0xE8AA83:0x5D70,0xE8AA86:0x5D71,0xE8AA8B:0x5D72,0xE8AA8F:0x5D73,0xE8AA90:0x5D74, +0xE8AA92:0x5D75,0xE8AA96:0x5D76,0xE8AA97:0x5D77,0xE8AA99:0x5D78,0xE8AA9F:0x5D79, +0xE8AAA7:0x5D7A,0xE8AAA9:0x5D7B,0xE8AAAE:0x5D7C,0xE8AAAF:0x5D7D,0xE8AAB3:0x5D7E, +0xE8AAB6:0x5E21,0xE8AAB7:0x5E22,0xE8AABB:0x5E23,0xE8AABE:0x5E24,0xE8AB83:0x5E25, +0xE8AB86:0x5E26,0xE8AB88:0x5E27,0xE8AB89:0x5E28,0xE8AB8A:0x5E29,0xE8AB91:0x5E2A, +0xE8AB93:0x5E2B,0xE8AB94:0x5E2C,0xE8AB95:0x5E2D,0xE8AB97:0x5E2E,0xE8AB9D:0x5E2F, +0xE8AB9F:0x5E30,0xE8ABAC:0x5E31,0xE8ABB0:0x5E32,0xE8ABB4:0x5E33,0xE8ABB5:0x5E34, +0xE8ABB6:0x5E35,0xE8ABBC:0x5E36,0xE8ABBF:0x5E37,0xE8AC85:0x5E38,0xE8AC86:0x5E39, +0xE8AC8B:0x5E3A,0xE8AC91:0x5E3B,0xE8AC9C:0x5E3C,0xE8AC9E:0x5E3D,0xE8AC9F:0x5E3E, +0xE8AC8A:0x5E3F,0xE8ACAD:0x5E40,0xE8ACB0:0x5E41,0xE8ACB7:0x5E42,0xE8ACBC:0x5E43, +0xE8AD82:0x5E44,0xE8AD83:0x5E45,0xE8AD84:0x5E46,0xE8AD85:0x5E47,0xE8AD86:0x5E48, +0xE8AD88:0x5E49,0xE8AD92:0x5E4A,0xE8AD93:0x5E4B,0xE8AD94:0x5E4C,0xE8AD99:0x5E4D, +0xE8AD8D:0x5E4E,0xE8AD9E:0x5E4F,0xE8ADA3:0x5E50,0xE8ADAD:0x5E51,0xE8ADB6:0x5E52, +0xE8ADB8:0x5E53,0xE8ADB9:0x5E54,0xE8ADBC:0x5E55,0xE8ADBE:0x5E56,0xE8AE81:0x5E57, +0xE8AE84:0x5E58,0xE8AE85:0x5E59,0xE8AE8B:0x5E5A,0xE8AE8D:0x5E5B,0xE8AE8F:0x5E5C, +0xE8AE94:0x5E5D,0xE8AE95:0x5E5E,0xE8AE9C:0x5E5F,0xE8AE9E:0x5E60,0xE8AE9F:0x5E61, +0xE8B0B8:0x5E62,0xE8B0B9:0x5E63,0xE8B0BD:0x5E64,0xE8B0BE:0x5E65,0xE8B185:0x5E66, +0xE8B187:0x5E67,0xE8B189:0x5E68,0xE8B18B:0x5E69,0xE8B18F:0x5E6A,0xE8B191:0x5E6B, +0xE8B193:0x5E6C,0xE8B194:0x5E6D,0xE8B197:0x5E6E,0xE8B198:0x5E6F,0xE8B19B:0x5E70, +0xE8B19D:0x5E71,0xE8B199:0x5E72,0xE8B1A3:0x5E73,0xE8B1A4:0x5E74,0xE8B1A6:0x5E75, +0xE8B1A8:0x5E76,0xE8B1A9:0x5E77,0xE8B1AD:0x5E78,0xE8B1B3:0x5E79,0xE8B1B5:0x5E7A, +0xE8B1B6:0x5E7B,0xE8B1BB:0x5E7C,0xE8B1BE:0x5E7D,0xE8B286:0x5E7E,0xE8B287:0x5F21, +0xE8B28B:0x5F22,0xE8B290:0x5F23,0xE8B292:0x5F24,0xE8B293:0x5F25,0xE8B299:0x5F26, +0xE8B29B:0x5F27,0xE8B29C:0x5F28,0xE8B2A4:0x5F29,0xE8B2B9:0x5F2A,0xE8B2BA:0x5F2B, +0xE8B385:0x5F2C,0xE8B386:0x5F2D,0xE8B389:0x5F2E,0xE8B38B:0x5F2F,0xE8B38F:0x5F30, +0xE8B396:0x5F31,0xE8B395:0x5F32,0xE8B399:0x5F33,0xE8B39D:0x5F34,0xE8B3A1:0x5F35, +0xE8B3A8:0x5F36,0xE8B3AC:0x5F37,0xE8B3AF:0x5F38,0xE8B3B0:0x5F39,0xE8B3B2:0x5F3A, +0xE8B3B5:0x5F3B,0xE8B3B7:0x5F3C,0xE8B3B8:0x5F3D,0xE8B3BE:0x5F3E,0xE8B3BF:0x5F3F, +0xE8B481:0x5F40,0xE8B483:0x5F41,0xE8B489:0x5F42,0xE8B492:0x5F43,0xE8B497:0x5F44, +0xE8B49B:0x5F45,0xE8B5A5:0x5F46,0xE8B5A9:0x5F47,0xE8B5AC:0x5F48,0xE8B5AE:0x5F49, +0xE8B5BF:0x5F4A,0xE8B682:0x5F4B,0xE8B684:0x5F4C,0xE8B688:0x5F4D,0xE8B68D:0x5F4E, +0xE8B690:0x5F4F,0xE8B691:0x5F50,0xE8B695:0x5F51,0xE8B69E:0x5F52,0xE8B69F:0x5F53, +0xE8B6A0:0x5F54,0xE8B6A6:0x5F55,0xE8B6AB:0x5F56,0xE8B6AC:0x5F57,0xE8B6AF:0x5F58, +0xE8B6B2:0x5F59,0xE8B6B5:0x5F5A,0xE8B6B7:0x5F5B,0xE8B6B9:0x5F5C,0xE8B6BB:0x5F5D, +0xE8B780:0x5F5E,0xE8B785:0x5F5F,0xE8B786:0x5F60,0xE8B787:0x5F61,0xE8B788:0x5F62, +0xE8B78A:0x5F63,0xE8B78E:0x5F64,0xE8B791:0x5F65,0xE8B794:0x5F66,0xE8B795:0x5F67, +0xE8B797:0x5F68,0xE8B799:0x5F69,0xE8B7A4:0x5F6A,0xE8B7A5:0x5F6B,0xE8B7A7:0x5F6C, +0xE8B7AC:0x5F6D,0xE8B7B0:0x5F6E,0xE8B6BC:0x5F6F,0xE8B7B1:0x5F70,0xE8B7B2:0x5F71, +0xE8B7B4:0x5F72,0xE8B7BD:0x5F73,0xE8B881:0x5F74,0xE8B884:0x5F75,0xE8B885:0x5F76, +0xE8B886:0x5F77,0xE8B88B:0x5F78,0xE8B891:0x5F79,0xE8B894:0x5F7A,0xE8B896:0x5F7B, +0xE8B8A0:0x5F7C,0xE8B8A1:0x5F7D,0xE8B8A2:0x5F7E,0xE8B8A3:0x6021,0xE8B8A6:0x6022, +0xE8B8A7:0x6023,0xE8B8B1:0x6024,0xE8B8B3:0x6025,0xE8B8B6:0x6026,0xE8B8B7:0x6027, +0xE8B8B8:0x6028,0xE8B8B9:0x6029,0xE8B8BD:0x602A,0xE8B980:0x602B,0xE8B981:0x602C, +0xE8B98B:0x602D,0xE8B98D:0x602E,0xE8B98E:0x602F,0xE8B98F:0x6030,0xE8B994:0x6031, +0xE8B99B:0x6032,0xE8B99C:0x6033,0xE8B99D:0x6034,0xE8B99E:0x6035,0xE8B9A1:0x6036, +0xE8B9A2:0x6037,0xE8B9A9:0x6038,0xE8B9AC:0x6039,0xE8B9AD:0x603A,0xE8B9AF:0x603B, +0xE8B9B0:0x603C,0xE8B9B1:0x603D,0xE8B9B9:0x603E,0xE8B9BA:0x603F,0xE8B9BB:0x6040, +0xE8BA82:0x6041,0xE8BA83:0x6042,0xE8BA89:0x6043,0xE8BA90:0x6044,0xE8BA92:0x6045, +0xE8BA95:0x6046,0xE8BA9A:0x6047,0xE8BA9B:0x6048,0xE8BA9D:0x6049,0xE8BA9E:0x604A, +0xE8BAA2:0x604B,0xE8BAA7:0x604C,0xE8BAA9:0x604D,0xE8BAAD:0x604E,0xE8BAAE:0x604F, +0xE8BAB3:0x6050,0xE8BAB5:0x6051,0xE8BABA:0x6052,0xE8BABB:0x6053,0xE8BB80:0x6054, +0xE8BB81:0x6055,0xE8BB83:0x6056,0xE8BB84:0x6057,0xE8BB87:0x6058,0xE8BB8F:0x6059, +0xE8BB91:0x605A,0xE8BB94:0x605B,0xE8BB9C:0x605C,0xE8BBA8:0x605D,0xE8BBAE:0x605E, +0xE8BBB0:0x605F,0xE8BBB1:0x6060,0xE8BBB7:0x6061,0xE8BBB9:0x6062,0xE8BBBA:0x6063, +0xE8BBAD:0x6064,0xE8BC80:0x6065,0xE8BC82:0x6066,0xE8BC87:0x6067,0xE8BC88:0x6068, +0xE8BC8F:0x6069,0xE8BC90:0x606A,0xE8BC96:0x606B,0xE8BC97:0x606C,0xE8BC98:0x606D, +0xE8BC9E:0x606E,0xE8BCA0:0x606F,0xE8BCA1:0x6070,0xE8BCA3:0x6071,0xE8BCA5:0x6072, +0xE8BCA7:0x6073,0xE8BCA8:0x6074,0xE8BCAC:0x6075,0xE8BCAD:0x6076,0xE8BCAE:0x6077, +0xE8BCB4:0x6078,0xE8BCB5:0x6079,0xE8BCB6:0x607A,0xE8BCB7:0x607B,0xE8BCBA:0x607C, +0xE8BD80:0x607D,0xE8BD81:0x607E,0xE8BD83:0x6121,0xE8BD87:0x6122,0xE8BD8F:0x6123, +0xE8BD91:0x6124,0xE8BD92:0x6125,0xE8BD93:0x6126,0xE8BD94:0x6127,0xE8BD95:0x6128, +0xE8BD98:0x6129,0xE8BD9D:0x612A,0xE8BD9E:0x612B,0xE8BDA5:0x612C,0xE8BE9D:0x612D, +0xE8BEA0:0x612E,0xE8BEA1:0x612F,0xE8BEA4:0x6130,0xE8BEA5:0x6131,0xE8BEA6:0x6132, +0xE8BEB5:0x6133,0xE8BEB6:0x6134,0xE8BEB8:0x6135,0xE8BEBE:0x6136,0xE8BF80:0x6137, +0xE8BF81:0x6138,0xE8BF86:0x6139,0xE8BF8A:0x613A,0xE8BF8B:0x613B,0xE8BF8D:0x613C, +0xE8BF90:0x613D,0xE8BF92:0x613E,0xE8BF93:0x613F,0xE8BF95:0x6140,0xE8BFA0:0x6141, +0xE8BFA3:0x6142,0xE8BFA4:0x6143,0xE8BFA8:0x6144,0xE8BFAE:0x6145,0xE8BFB1:0x6146, +0xE8BFB5:0x6147,0xE8BFB6:0x6148,0xE8BFBB:0x6149,0xE8BFBE:0x614A,0xE98082:0x614B, +0xE98084:0x614C,0xE98088:0x614D,0xE9808C:0x614E,0xE98098:0x614F,0xE9809B:0x6150, +0xE980A8:0x6151,0xE980A9:0x6152,0xE980AF:0x6153,0xE980AA:0x6154,0xE980AC:0x6155, +0xE980AD:0x6156,0xE980B3:0x6157,0xE980B4:0x6158,0xE980B7:0x6159,0xE980BF:0x615A, +0xE98183:0x615B,0xE98184:0x615C,0xE9818C:0x615D,0xE9819B:0x615E,0xE9819D:0x615F, +0xE981A2:0x6160,0xE981A6:0x6161,0xE981A7:0x6162,0xE981AC:0x6163,0xE981B0:0x6164, +0xE981B4:0x6165,0xE981B9:0x6166,0xE98285:0x6167,0xE98288:0x6168,0xE9828B:0x6169, +0xE9828C:0x616A,0xE9828E:0x616B,0xE98290:0x616C,0xE98295:0x616D,0xE98297:0x616E, +0xE98298:0x616F,0xE98299:0x6170,0xE9829B:0x6171,0xE982A0:0x6172,0xE982A1:0x6173, +0xE982A2:0x6174,0xE982A5:0x6175,0xE982B0:0x6176,0xE982B2:0x6177,0xE982B3:0x6178, +0xE982B4:0x6179,0xE982B6:0x617A,0xE982BD:0x617B,0xE9838C:0x617C,0xE982BE:0x617D, +0xE98383:0x617E,0xE98384:0x6221,0xE98385:0x6222,0xE98387:0x6223,0xE98388:0x6224, +0xE98395:0x6225,0xE98397:0x6226,0xE98398:0x6227,0xE98399:0x6228,0xE9839C:0x6229, +0xE9839D:0x622A,0xE9839F:0x622B,0xE983A5:0x622C,0xE98392:0x622D,0xE983B6:0x622E, +0xE983AB:0x622F,0xE983AF:0x6230,0xE983B0:0x6231,0xE983B4:0x6232,0xE983BE:0x6233, +0xE983BF:0x6234,0xE98480:0x6235,0xE98484:0x6236,0xE98485:0x6237,0xE98486:0x6238, +0xE98488:0x6239,0xE9848D:0x623A,0xE98490:0x623B,0xE98494:0x623C,0xE98496:0x623D, +0xE98497:0x623E,0xE98498:0x623F,0xE9849A:0x6240,0xE9849C:0x6241,0xE9849E:0x6242, +0xE984A0:0x6243,0xE984A5:0x6244,0xE984A2:0x6245,0xE984A3:0x6246,0xE984A7:0x6247, +0xE984A9:0x6248,0xE984AE:0x6249,0xE984AF:0x624A,0xE984B1:0x624B,0xE984B4:0x624C, +0xE984B6:0x624D,0xE984B7:0x624E,0xE984B9:0x624F,0xE984BA:0x6250,0xE984BC:0x6251, +0xE984BD:0x6252,0xE98583:0x6253,0xE98587:0x6254,0xE98588:0x6255,0xE9858F:0x6256, +0xE98593:0x6257,0xE98597:0x6258,0xE98599:0x6259,0xE9859A:0x625A,0xE9859B:0x625B, +0xE985A1:0x625C,0xE985A4:0x625D,0xE985A7:0x625E,0xE985AD:0x625F,0xE985B4:0x6260, +0xE985B9:0x6261,0xE985BA:0x6262,0xE985BB:0x6263,0xE98681:0x6264,0xE98683:0x6265, +0xE98685:0x6266,0xE98686:0x6267,0xE9868A:0x6268,0xE9868E:0x6269,0xE98691:0x626A, +0xE98693:0x626B,0xE98694:0x626C,0xE98695:0x626D,0xE98698:0x626E,0xE9869E:0x626F, +0xE986A1:0x6270,0xE986A6:0x6271,0xE986A8:0x6272,0xE986AC:0x6273,0xE986AD:0x6274, +0xE986AE:0x6275,0xE986B0:0x6276,0xE986B1:0x6277,0xE986B2:0x6278,0xE986B3:0x6279, +0xE986B6:0x627A,0xE986BB:0x627B,0xE986BC:0x627C,0xE986BD:0x627D,0xE986BF:0x627E, +0xE98782:0x6321,0xE98783:0x6322,0xE98785:0x6323,0xE98793:0x6324,0xE98794:0x6325, +0xE98797:0x6326,0xE98799:0x6327,0xE9879A:0x6328,0xE9879E:0x6329,0xE987A4:0x632A, +0xE987A5:0x632B,0xE987A9:0x632C,0xE987AA:0x632D,0xE987AC:0x632E,0xE987AD:0x632F, +0xE987AE:0x6330,0xE987AF:0x6331,0xE987B0:0x6332,0xE987B1:0x6333,0xE987B7:0x6334, +0xE987B9:0x6335,0xE987BB:0x6336,0xE987BD:0x6337,0xE98880:0x6338,0xE98881:0x6339, +0xE98884:0x633A,0xE98885:0x633B,0xE98886:0x633C,0xE98887:0x633D,0xE98889:0x633E, +0xE9888A:0x633F,0xE9888C:0x6340,0xE98890:0x6341,0xE98892:0x6342,0xE98893:0x6343, +0xE98896:0x6344,0xE98898:0x6345,0xE9889C:0x6346,0xE9889D:0x6347,0xE988A3:0x6348, +0xE988A4:0x6349,0xE988A5:0x634A,0xE988A6:0x634B,0xE988A8:0x634C,0xE988AE:0x634D, +0xE988AF:0x634E,0xE988B0:0x634F,0xE988B3:0x6350,0xE988B5:0x6351,0xE988B6:0x6352, +0xE988B8:0x6353,0xE988B9:0x6354,0xE988BA:0x6355,0xE988BC:0x6356,0xE988BE:0x6357, +0xE98980:0x6358,0xE98982:0x6359,0xE98983:0x635A,0xE98986:0x635B,0xE98987:0x635C, +0xE9898A:0x635D,0xE9898D:0x635E,0xE9898E:0x635F,0xE9898F:0x6360,0xE98991:0x6361, +0xE98998:0x6362,0xE98999:0x6363,0xE9899C:0x6364,0xE9899D:0x6365,0xE989A0:0x6366, +0xE989A1:0x6367,0xE989A5:0x6368,0xE989A7:0x6369,0xE989A8:0x636A,0xE989A9:0x636B, +0xE989AE:0x636C,0xE989AF:0x636D,0xE989B0:0x636E,0xE989B5:0x636F,0xE989B6:0x6370, +0xE989B7:0x6371,0xE989B8:0x6372,0xE989B9:0x6373,0xE989BB:0x6374,0xE989BC:0x6375, +0xE989BD:0x6376,0xE989BF:0x6377,0xE98A88:0x6378,0xE98A89:0x6379,0xE98A8A:0x637A, +0xE98A8D:0x637B,0xE98A8E:0x637C,0xE98A92:0x637D,0xE98A97:0x637E,0xE98A99:0x6421, +0xE98A9F:0x6422,0xE98AA0:0x6423,0xE98AA4:0x6424,0xE98AA5:0x6425,0xE98AA7:0x6426, +0xE98AA8:0x6427,0xE98AAB:0x6428,0xE98AAF:0x6429,0xE98AB2:0x642A,0xE98AB6:0x642B, +0xE98AB8:0x642C,0xE98ABA:0x642D,0xE98ABB:0x642E,0xE98ABC:0x642F,0xE98ABD:0x6430, +0xE98ABF:0x6431,0xE98B80:0x6432,0xE98B81:0x6433,0xE98B82:0x6434,0xE98B83:0x6435, +0xE98B85:0x6436,0xE98B86:0x6437,0xE98B87:0x6438,0xE98B88:0x6439,0xE98B8B:0x643A, +0xE98B8C:0x643B,0xE98B8D:0x643C,0xE98B8E:0x643D,0xE98B90:0x643E,0xE98B93:0x643F, +0xE98B95:0x6440,0xE98B97:0x6441,0xE98B98:0x6442,0xE98B99:0x6443,0xE98B9C:0x6444, +0xE98B9D:0x6445,0xE98B9F:0x6446,0xE98BA0:0x6447,0xE98BA1:0x6448,0xE98BA3:0x6449, +0xE98BA5:0x644A,0xE98BA7:0x644B,0xE98BA8:0x644C,0xE98BAC:0x644D,0xE98BAE:0x644E, +0xE98BB0:0x644F,0xE98BB9:0x6450,0xE98BBB:0x6451,0xE98BBF:0x6452,0xE98C80:0x6453, +0xE98C82:0x6454,0xE98C88:0x6455,0xE98C8D:0x6456,0xE98C91:0x6457,0xE98C94:0x6458, +0xE98C95:0x6459,0xE98C9C:0x645A,0xE98C9D:0x645B,0xE98C9E:0x645C,0xE98C9F:0x645D, +0xE98CA1:0x645E,0xE98CA4:0x645F,0xE98CA5:0x6460,0xE98CA7:0x6461,0xE98CA9:0x6462, +0xE98CAA:0x6463,0xE98CB3:0x6464,0xE98CB4:0x6465,0xE98CB6:0x6466,0xE98CB7:0x6467, +0xE98D87:0x6468,0xE98D88:0x6469,0xE98D89:0x646A,0xE98D90:0x646B,0xE98D91:0x646C, +0xE98D92:0x646D,0xE98D95:0x646E,0xE98D97:0x646F,0xE98D98:0x6470,0xE98D9A:0x6471, +0xE98D9E:0x6472,0xE98DA4:0x6473,0xE98DA5:0x6474,0xE98DA7:0x6475,0xE98DA9:0x6476, +0xE98DAA:0x6477,0xE98DAD:0x6478,0xE98DAF:0x6479,0xE98DB0:0x647A,0xE98DB1:0x647B, +0xE98DB3:0x647C,0xE98DB4:0x647D,0xE98DB6:0x647E,0xE98DBA:0x6521,0xE98DBD:0x6522, +0xE98DBF:0x6523,0xE98E80:0x6524,0xE98E81:0x6525,0xE98E82:0x6526,0xE98E88:0x6527, +0xE98E8A:0x6528,0xE98E8B:0x6529,0xE98E8D:0x652A,0xE98E8F:0x652B,0xE98E92:0x652C, +0xE98E95:0x652D,0xE98E98:0x652E,0xE98E9B:0x652F,0xE98E9E:0x6530,0xE98EA1:0x6531, +0xE98EA3:0x6532,0xE98EA4:0x6533,0xE98EA6:0x6534,0xE98EA8:0x6535,0xE98EAB:0x6536, +0xE98EB4:0x6537,0xE98EB5:0x6538,0xE98EB6:0x6539,0xE98EBA:0x653A,0xE98EA9:0x653B, +0xE98F81:0x653C,0xE98F84:0x653D,0xE98F85:0x653E,0xE98F86:0x653F,0xE98F87:0x6540, +0xE98F89:0x6541,0xE98F8A:0x6542,0xE98F8B:0x6543,0xE98F8C:0x6544,0xE98F8D:0x6545, +0xE98F93:0x6546,0xE98F99:0x6547,0xE98F9C:0x6548,0xE98F9E:0x6549,0xE98F9F:0x654A, +0xE98FA2:0x654B,0xE98FA6:0x654C,0xE98FA7:0x654D,0xE98FB9:0x654E,0xE98FB7:0x654F, +0xE98FB8:0x6550,0xE98FBA:0x6551,0xE98FBB:0x6552,0xE98FBD:0x6553,0xE99081:0x6554, +0xE99082:0x6555,0xE99084:0x6556,0xE99088:0x6557,0xE99089:0x6558,0xE9908D:0x6559, +0xE9908E:0x655A,0xE9908F:0x655B,0xE99095:0x655C,0xE99096:0x655D,0xE99097:0x655E, +0xE9909F:0x655F,0xE990AE:0x6560,0xE990AF:0x6561,0xE990B1:0x6562,0xE990B2:0x6563, +0xE990B3:0x6564,0xE990B4:0x6565,0xE990BB:0x6566,0xE990BF:0x6567,0xE990BD:0x6568, +0xE99183:0x6569,0xE99185:0x656A,0xE99188:0x656B,0xE9918A:0x656C,0xE9918C:0x656D, +0xE99195:0x656E,0xE99199:0x656F,0xE9919C:0x6570,0xE9919F:0x6571,0xE991A1:0x6572, +0xE991A3:0x6573,0xE991A8:0x6574,0xE991AB:0x6575,0xE991AD:0x6576,0xE991AE:0x6577, +0xE991AF:0x6578,0xE991B1:0x6579,0xE991B2:0x657A,0xE99284:0x657B,0xE99283:0x657C, +0xE995B8:0x657D,0xE995B9:0x657E,0xE995BE:0x6621,0xE99684:0x6622,0xE99688:0x6623, +0xE9968C:0x6624,0xE9968D:0x6625,0xE9968E:0x6626,0xE9969D:0x6627,0xE9969E:0x6628, +0xE9969F:0x6629,0xE996A1:0x662A,0xE996A6:0x662B,0xE996A9:0x662C,0xE996AB:0x662D, +0xE996AC:0x662E,0xE996B4:0x662F,0xE996B6:0x6630,0xE996BA:0x6631,0xE996BD:0x6632, +0xE996BF:0x6633,0xE99786:0x6634,0xE99788:0x6635,0xE99789:0x6636,0xE9978B:0x6637, +0xE99790:0x6638,0xE99791:0x6639,0xE99792:0x663A,0xE99793:0x663B,0xE99799:0x663C, +0xE9979A:0x663D,0xE9979D:0x663E,0xE9979E:0x663F,0xE9979F:0x6640,0xE997A0:0x6641, +0xE997A4:0x6642,0xE997A6:0x6643,0xE9989D:0x6644,0xE9989E:0x6645,0xE998A2:0x6646, +0xE998A4:0x6647,0xE998A5:0x6648,0xE998A6:0x6649,0xE998AC:0x664A,0xE998B1:0x664B, +0xE998B3:0x664C,0xE998B7:0x664D,0xE998B8:0x664E,0xE998B9:0x664F,0xE998BA:0x6650, +0xE998BC:0x6651,0xE998BD:0x6652,0xE99981:0x6653,0xE99992:0x6654,0xE99994:0x6655, +0xE99996:0x6656,0xE99997:0x6657,0xE99998:0x6658,0xE999A1:0x6659,0xE999AE:0x665A, +0xE999B4:0x665B,0xE999BB:0x665C,0xE999BC:0x665D,0xE999BE:0x665E,0xE999BF:0x665F, +0xE99A81:0x6660,0xE99A82:0x6661,0xE99A83:0x6662,0xE99A84:0x6663,0xE99A89:0x6664, +0xE99A91:0x6665,0xE99A96:0x6666,0xE99A9A:0x6667,0xE99A9D:0x6668,0xE99A9F:0x6669, +0xE99AA4:0x666A,0xE99AA5:0x666B,0xE99AA6:0x666C,0xE99AA9:0x666D,0xE99AAE:0x666E, +0xE99AAF:0x666F,0xE99AB3:0x6670,0xE99ABA:0x6671,0xE99B8A:0x6672,0xE99B92:0x6673, +0xE5B6B2:0x6674,0xE99B98:0x6675,0xE99B9A:0x6676,0xE99B9D:0x6677,0xE99B9E:0x6678, +0xE99B9F:0x6679,0xE99BA9:0x667A,0xE99BAF:0x667B,0xE99BB1:0x667C,0xE99BBA:0x667D, +0xE99C82:0x667E,0xE99C83:0x6721,0xE99C85:0x6722,0xE99C89:0x6723,0xE99C9A:0x6724, +0xE99C9B:0x6725,0xE99C9D:0x6726,0xE99CA1:0x6727,0xE99CA2:0x6728,0xE99CA3:0x6729, +0xE99CA8:0x672A,0xE99CB1:0x672B,0xE99CB3:0x672C,0xE99D81:0x672D,0xE99D83:0x672E, +0xE99D8A:0x672F,0xE99D8E:0x6730,0xE99D8F:0x6731,0xE99D95:0x6732,0xE99D97:0x6733, +0xE99D98:0x6734,0xE99D9A:0x6735,0xE99D9B:0x6736,0xE99DA3:0x6737,0xE99DA7:0x6738, +0xE99DAA:0x6739,0xE99DAE:0x673A,0xE99DB3:0x673B,0xE99DB6:0x673C,0xE99DB7:0x673D, +0xE99DB8:0x673E,0xE99DBB:0x673F,0xE99DBD:0x6740,0xE99DBF:0x6741,0xE99E80:0x6742, +0xE99E89:0x6743,0xE99E95:0x6744,0xE99E96:0x6745,0xE99E97:0x6746,0xE99E99:0x6747, +0xE99E9A:0x6748,0xE99E9E:0x6749,0xE99E9F:0x674A,0xE99EA2:0x674B,0xE99EAC:0x674C, +0xE99EAE:0x674D,0xE99EB1:0x674E,0xE99EB2:0x674F,0xE99EB5:0x6750,0xE99EB6:0x6751, +0xE99EB8:0x6752,0xE99EB9:0x6753,0xE99EBA:0x6754,0xE99EBC:0x6755,0xE99EBE:0x6756, +0xE99EBF:0x6757,0xE99F81:0x6758,0xE99F84:0x6759,0xE99F85:0x675A,0xE99F87:0x675B, +0xE99F89:0x675C,0xE99F8A:0x675D,0xE99F8C:0x675E,0xE99F8D:0x675F,0xE99F8E:0x6760, +0xE99F90:0x6761,0xE99F91:0x6762,0xE99F94:0x6763,0xE99F97:0x6764,0xE99F98:0x6765, +0xE99F99:0x6766,0xE99F9D:0x6767,0xE99F9E:0x6768,0xE99FA0:0x6769,0xE99F9B:0x676A, +0xE99FA1:0x676B,0xE99FA4:0x676C,0xE99FAF:0x676D,0xE99FB1:0x676E,0xE99FB4:0x676F, +0xE99FB7:0x6770,0xE99FB8:0x6771,0xE99FBA:0x6772,0xE9A087:0x6773,0xE9A08A:0x6774, +0xE9A099:0x6775,0xE9A08D:0x6776,0xE9A08E:0x6777,0xE9A094:0x6778,0xE9A096:0x6779, +0xE9A09C:0x677A,0xE9A09E:0x677B,0xE9A0A0:0x677C,0xE9A0A3:0x677D,0xE9A0A6:0x677E, +0xE9A0AB:0x6821,0xE9A0AE:0x6822,0xE9A0AF:0x6823,0xE9A0B0:0x6824,0xE9A0B2:0x6825, +0xE9A0B3:0x6826,0xE9A0B5:0x6827,0xE9A0A5:0x6828,0xE9A0BE:0x6829,0xE9A184:0x682A, +0xE9A187:0x682B,0xE9A18A:0x682C,0xE9A191:0x682D,0xE9A192:0x682E,0xE9A193:0x682F, +0xE9A196:0x6830,0xE9A197:0x6831,0xE9A199:0x6832,0xE9A19A:0x6833,0xE9A1A2:0x6834, +0xE9A1A3:0x6835,0xE9A1A5:0x6836,0xE9A1A6:0x6837,0xE9A1AA:0x6838,0xE9A1AC:0x6839, +0xE9A2AB:0x683A,0xE9A2AD:0x683B,0xE9A2AE:0x683C,0xE9A2B0:0x683D,0xE9A2B4:0x683E, +0xE9A2B7:0x683F,0xE9A2B8:0x6840,0xE9A2BA:0x6841,0xE9A2BB:0x6842,0xE9A2BF:0x6843, +0xE9A382:0x6844,0xE9A385:0x6845,0xE9A388:0x6846,0xE9A38C:0x6847,0xE9A3A1:0x6848, +0xE9A3A3:0x6849,0xE9A3A5:0x684A,0xE9A3A6:0x684B,0xE9A3A7:0x684C,0xE9A3AA:0x684D, +0xE9A3B3:0x684E,0xE9A3B6:0x684F,0xE9A482:0x6850,0xE9A487:0x6851,0xE9A488:0x6852, +0xE9A491:0x6853,0xE9A495:0x6854,0xE9A496:0x6855,0xE9A497:0x6856,0xE9A49A:0x6857, +0xE9A49B:0x6858,0xE9A49C:0x6859,0xE9A49F:0x685A,0xE9A4A2:0x685B,0xE9A4A6:0x685C, +0xE9A4A7:0x685D,0xE9A4AB:0x685E,0xE9A4B1:0x685F,0xE9A4B2:0x6860,0xE9A4B3:0x6861, +0xE9A4B4:0x6862,0xE9A4B5:0x6863,0xE9A4B9:0x6864,0xE9A4BA:0x6865,0xE9A4BB:0x6866, +0xE9A4BC:0x6867,0xE9A580:0x6868,0xE9A581:0x6869,0xE9A586:0x686A,0xE9A587:0x686B, +0xE9A588:0x686C,0xE9A58D:0x686D,0xE9A58E:0x686E,0xE9A594:0x686F,0xE9A598:0x6870, +0xE9A599:0x6871,0xE9A59B:0x6872,0xE9A59C:0x6873,0xE9A59E:0x6874,0xE9A59F:0x6875, +0xE9A5A0:0x6876,0xE9A69B:0x6877,0xE9A69D:0x6878,0xE9A69F:0x6879,0xE9A6A6:0x687A, +0xE9A6B0:0x687B,0xE9A6B1:0x687C,0xE9A6B2:0x687D,0xE9A6B5:0x687E,0xE9A6B9:0x6921, +0xE9A6BA:0x6922,0xE9A6BD:0x6923,0xE9A6BF:0x6924,0xE9A783:0x6925,0xE9A789:0x6926, +0xE9A793:0x6927,0xE9A794:0x6928,0xE9A799:0x6929,0xE9A79A:0x692A,0xE9A79C:0x692B, +0xE9A79E:0x692C,0xE9A7A7:0x692D,0xE9A7AA:0x692E,0xE9A7AB:0x692F,0xE9A7AC:0x6930, +0xE9A7B0:0x6931,0xE9A7B4:0x6932,0xE9A7B5:0x6933,0xE9A7B9:0x6934,0xE9A7BD:0x6935, +0xE9A7BE:0x6936,0xE9A882:0x6937,0xE9A883:0x6938,0xE9A884:0x6939,0xE9A88B:0x693A, +0xE9A88C:0x693B,0xE9A890:0x693C,0xE9A891:0x693D,0xE9A896:0x693E,0xE9A89E:0x693F, +0xE9A8A0:0x6940,0xE9A8A2:0x6941,0xE9A8A3:0x6942,0xE9A8A4:0x6943,0xE9A8A7:0x6944, +0xE9A8AD:0x6945,0xE9A8AE:0x6946,0xE9A8B3:0x6947,0xE9A8B5:0x6948,0xE9A8B6:0x6949, +0xE9A8B8:0x694A,0xE9A987:0x694B,0xE9A981:0x694C,0xE9A984:0x694D,0xE9A98A:0x694E, +0xE9A98B:0x694F,0xE9A98C:0x6950,0xE9A98E:0x6951,0xE9A991:0x6952,0xE9A994:0x6953, +0xE9A996:0x6954,0xE9A99D:0x6955,0xE9AAAA:0x6956,0xE9AAAC:0x6957,0xE9AAAE:0x6958, +0xE9AAAF:0x6959,0xE9AAB2:0x695A,0xE9AAB4:0x695B,0xE9AAB5:0x695C,0xE9AAB6:0x695D, +0xE9AAB9:0x695E,0xE9AABB:0x695F,0xE9AABE:0x6960,0xE9AABF:0x6961,0xE9AB81:0x6962, +0xE9AB83:0x6963,0xE9AB86:0x6964,0xE9AB88:0x6965,0xE9AB8E:0x6966,0xE9AB90:0x6967, +0xE9AB92:0x6968,0xE9AB95:0x6969,0xE9AB96:0x696A,0xE9AB97:0x696B,0xE9AB9B:0x696C, +0xE9AB9C:0x696D,0xE9ABA0:0x696E,0xE9ABA4:0x696F,0xE9ABA5:0x6970,0xE9ABA7:0x6971, +0xE9ABA9:0x6972,0xE9ABAC:0x6973,0xE9ABB2:0x6974,0xE9ABB3:0x6975,0xE9ABB5:0x6976, +0xE9ABB9:0x6977,0xE9ABBA:0x6978,0xE9ABBD:0x6979,0xE9ABBF:0x697A,0xE9AC80:0x697B, +0xE9AC81:0x697C,0xE9AC82:0x697D,0xE9AC83:0x697E,0xE9AC84:0x6A21,0xE9AC85:0x6A22, +0xE9AC88:0x6A23,0xE9AC89:0x6A24,0xE9AC8B:0x6A25,0xE9AC8C:0x6A26,0xE9AC8D:0x6A27, +0xE9AC8E:0x6A28,0xE9AC90:0x6A29,0xE9AC92:0x6A2A,0xE9AC96:0x6A2B,0xE9AC99:0x6A2C, +0xE9AC9B:0x6A2D,0xE9AC9C:0x6A2E,0xE9ACA0:0x6A2F,0xE9ACA6:0x6A30,0xE9ACAB:0x6A31, +0xE9ACAD:0x6A32,0xE9ACB3:0x6A33,0xE9ACB4:0x6A34,0xE9ACB5:0x6A35,0xE9ACB7:0x6A36, +0xE9ACB9:0x6A37,0xE9ACBA:0x6A38,0xE9ACBD:0x6A39,0xE9AD88:0x6A3A,0xE9AD8B:0x6A3B, +0xE9AD8C:0x6A3C,0xE9AD95:0x6A3D,0xE9AD96:0x6A3E,0xE9AD97:0x6A3F,0xE9AD9B:0x6A40, +0xE9AD9E:0x6A41,0xE9ADA1:0x6A42,0xE9ADA3:0x6A43,0xE9ADA5:0x6A44,0xE9ADA6:0x6A45, +0xE9ADA8:0x6A46,0xE9ADAA:0x6A47,0xE9ADAB:0x6A48,0xE9ADAC:0x6A49,0xE9ADAD:0x6A4A, +0xE9ADAE:0x6A4B,0xE9ADB3:0x6A4C,0xE9ADB5:0x6A4D,0xE9ADB7:0x6A4E,0xE9ADB8:0x6A4F, +0xE9ADB9:0x6A50,0xE9ADBF:0x6A51,0xE9AE80:0x6A52,0xE9AE84:0x6A53,0xE9AE85:0x6A54, +0xE9AE86:0x6A55,0xE9AE87:0x6A56,0xE9AE89:0x6A57,0xE9AE8A:0x6A58,0xE9AE8B:0x6A59, +0xE9AE8D:0x6A5A,0xE9AE8F:0x6A5B,0xE9AE90:0x6A5C,0xE9AE94:0x6A5D,0xE9AE9A:0x6A5E, +0xE9AE9D:0x6A5F,0xE9AE9E:0x6A60,0xE9AEA6:0x6A61,0xE9AEA7:0x6A62,0xE9AEA9:0x6A63, +0xE9AEAC:0x6A64,0xE9AEB0:0x6A65,0xE9AEB1:0x6A66,0xE9AEB2:0x6A67,0xE9AEB7:0x6A68, +0xE9AEB8:0x6A69,0xE9AEBB:0x6A6A,0xE9AEBC:0x6A6B,0xE9AEBE:0x6A6C,0xE9AEBF:0x6A6D, +0xE9AF81:0x6A6E,0xE9AF87:0x6A6F,0xE9AF88:0x6A70,0xE9AF8E:0x6A71,0xE9AF90:0x6A72, +0xE9AF97:0x6A73,0xE9AF98:0x6A74,0xE9AF9D:0x6A75,0xE9AF9F:0x6A76,0xE9AFA5:0x6A77, +0xE9AFA7:0x6A78,0xE9AFAA:0x6A79,0xE9AFAB:0x6A7A,0xE9AFAF:0x6A7B,0xE9AFB3:0x6A7C, +0xE9AFB7:0x6A7D,0xE9AFB8:0x6A7E,0xE9AFB9:0x6B21,0xE9AFBA:0x6B22,0xE9AFBD:0x6B23, +0xE9AFBF:0x6B24,0xE9B080:0x6B25,0xE9B082:0x6B26,0xE9B08B:0x6B27,0xE9B08F:0x6B28, +0xE9B091:0x6B29,0xE9B096:0x6B2A,0xE9B098:0x6B2B,0xE9B099:0x6B2C,0xE9B09A:0x6B2D, +0xE9B09C:0x6B2E,0xE9B09E:0x6B2F,0xE9B0A2:0x6B30,0xE9B0A3:0x6B31,0xE9B0A6:0x6B32, +0xE9B0A7:0x6B33,0xE9B0A8:0x6B34,0xE9B0A9:0x6B35,0xE9B0AA:0x6B36,0xE9B0B1:0x6B37, +0xE9B0B5:0x6B38,0xE9B0B6:0x6B39,0xE9B0B7:0x6B3A,0xE9B0BD:0x6B3B,0xE9B181:0x6B3C, +0xE9B183:0x6B3D,0xE9B184:0x6B3E,0xE9B185:0x6B3F,0xE9B189:0x6B40,0xE9B18A:0x6B41, +0xE9B18E:0x6B42,0xE9B18F:0x6B43,0xE9B190:0x6B44,0xE9B193:0x6B45,0xE9B194:0x6B46, +0xE9B196:0x6B47,0xE9B198:0x6B48,0xE9B19B:0x6B49,0xE9B19D:0x6B4A,0xE9B19E:0x6B4B, +0xE9B19F:0x6B4C,0xE9B1A3:0x6B4D,0xE9B1A9:0x6B4E,0xE9B1AA:0x6B4F,0xE9B19C:0x6B50, +0xE9B1AB:0x6B51,0xE9B1A8:0x6B52,0xE9B1AE:0x6B53,0xE9B1B0:0x6B54,0xE9B1B2:0x6B55, +0xE9B1B5:0x6B56,0xE9B1B7:0x6B57,0xE9B1BB:0x6B58,0xE9B3A6:0x6B59,0xE9B3B2:0x6B5A, +0xE9B3B7:0x6B5B,0xE9B3B9:0x6B5C,0xE9B48B:0x6B5D,0xE9B482:0x6B5E,0xE9B491:0x6B5F, +0xE9B497:0x6B60,0xE9B498:0x6B61,0xE9B49C:0x6B62,0xE9B49D:0x6B63,0xE9B49E:0x6B64, +0xE9B4AF:0x6B65,0xE9B4B0:0x6B66,0xE9B4B2:0x6B67,0xE9B4B3:0x6B68,0xE9B4B4:0x6B69, +0xE9B4BA:0x6B6A,0xE9B4BC:0x6B6B,0xE9B585:0x6B6C,0xE9B4BD:0x6B6D,0xE9B582:0x6B6E, +0xE9B583:0x6B6F,0xE9B587:0x6B70,0xE9B58A:0x6B71,0xE9B593:0x6B72,0xE9B594:0x6B73, +0xE9B59F:0x6B74,0xE9B5A3:0x6B75,0xE9B5A2:0x6B76,0xE9B5A5:0x6B77,0xE9B5A9:0x6B78, +0xE9B5AA:0x6B79,0xE9B5AB:0x6B7A,0xE9B5B0:0x6B7B,0xE9B5B6:0x6B7C,0xE9B5B7:0x6B7D, +0xE9B5BB:0x6B7E,0xE9B5BC:0x6C21,0xE9B5BE:0x6C22,0xE9B683:0x6C23,0xE9B684:0x6C24, +0xE9B686:0x6C25,0xE9B68A:0x6C26,0xE9B68D:0x6C27,0xE9B68E:0x6C28,0xE9B692:0x6C29, +0xE9B693:0x6C2A,0xE9B695:0x6C2B,0xE9B696:0x6C2C,0xE9B697:0x6C2D,0xE9B698:0x6C2E, +0xE9B6A1:0x6C2F,0xE9B6AA:0x6C30,0xE9B6AC:0x6C31,0xE9B6AE:0x6C32,0xE9B6B1:0x6C33, +0xE9B6B5:0x6C34,0xE9B6B9:0x6C35,0xE9B6BC:0x6C36,0xE9B6BF:0x6C37,0xE9B783:0x6C38, +0xE9B787:0x6C39,0xE9B789:0x6C3A,0xE9B78A:0x6C3B,0xE9B794:0x6C3C,0xE9B795:0x6C3D, +0xE9B796:0x6C3E,0xE9B797:0x6C3F,0xE9B79A:0x6C40,0xE9B79E:0x6C41,0xE9B79F:0x6C42, +0xE9B7A0:0x6C43,0xE9B7A5:0x6C44,0xE9B7A7:0x6C45,0xE9B7A9:0x6C46,0xE9B7AB:0x6C47, +0xE9B7AE:0x6C48,0xE9B7B0:0x6C49,0xE9B7B3:0x6C4A,0xE9B7B4:0x6C4B,0xE9B7BE:0x6C4C, +0xE9B88A:0x6C4D,0xE9B882:0x6C4E,0xE9B887:0x6C4F,0xE9B88E:0x6C50,0xE9B890:0x6C51, +0xE9B891:0x6C52,0xE9B892:0x6C53,0xE9B895:0x6C54,0xE9B896:0x6C55,0xE9B899:0x6C56, +0xE9B89C:0x6C57,0xE9B89D:0x6C58,0xE9B9BA:0x6C59,0xE9B9BB:0x6C5A,0xE9B9BC:0x6C5B, +0xE9BA80:0x6C5C,0xE9BA82:0x6C5D,0xE9BA83:0x6C5E,0xE9BA84:0x6C5F,0xE9BA85:0x6C60, +0xE9BA87:0x6C61,0xE9BA8E:0x6C62,0xE9BA8F:0x6C63,0xE9BA96:0x6C64,0xE9BA98:0x6C65, +0xE9BA9B:0x6C66,0xE9BA9E:0x6C67,0xE9BAA4:0x6C68,0xE9BAA8:0x6C69,0xE9BAAC:0x6C6A, +0xE9BAAE:0x6C6B,0xE9BAAF:0x6C6C,0xE9BAB0:0x6C6D,0xE9BAB3:0x6C6E,0xE9BAB4:0x6C6F, +0xE9BAB5:0x6C70,0xE9BB86:0x6C71,0xE9BB88:0x6C72,0xE9BB8B:0x6C73,0xE9BB95:0x6C74, +0xE9BB9F:0x6C75,0xE9BBA4:0x6C76,0xE9BBA7:0x6C77,0xE9BBAC:0x6C78,0xE9BBAD:0x6C79, +0xE9BBAE:0x6C7A,0xE9BBB0:0x6C7B,0xE9BBB1:0x6C7C,0xE9BBB2:0x6C7D,0xE9BBB5:0x6C7E, +0xE9BBB8:0x6D21,0xE9BBBF:0x6D22,0xE9BC82:0x6D23,0xE9BC83:0x6D24,0xE9BC89:0x6D25, +0xE9BC8F:0x6D26,0xE9BC90:0x6D27,0xE9BC91:0x6D28,0xE9BC92:0x6D29,0xE9BC94:0x6D2A, +0xE9BC96:0x6D2B,0xE9BC97:0x6D2C,0xE9BC99:0x6D2D,0xE9BC9A:0x6D2E,0xE9BC9B:0x6D2F, +0xE9BC9F:0x6D30,0xE9BCA2:0x6D31,0xE9BCA6:0x6D32,0xE9BCAA:0x6D33,0xE9BCAB:0x6D34, +0xE9BCAF:0x6D35,0xE9BCB1:0x6D36,0xE9BCB2:0x6D37,0xE9BCB4:0x6D38,0xE9BCB7:0x6D39, +0xE9BCB9:0x6D3A,0xE9BCBA:0x6D3B,0xE9BCBC:0x6D3C,0xE9BCBD:0x6D3D,0xE9BCBF:0x6D3E, +0xE9BD81:0x6D3F,0xE9BD83:0x6D40,0xE9BD84:0x6D41,0xE9BD85:0x6D42,0xE9BD86:0x6D43, +0xE9BD87:0x6D44,0xE9BD93:0x6D45,0xE9BD95:0x6D46,0xE9BD96:0x6D47,0xE9BD97:0x6D48, +0xE9BD98:0x6D49,0xE9BD9A:0x6D4A,0xE9BD9D:0x6D4B,0xE9BD9E:0x6D4C,0xE9BDA8:0x6D4D, +0xE9BDA9:0x6D4E,0xE9BDAD:0x6D4F,0xE9BDAE:0x6D50,0xE9BDAF:0x6D51,0xE9BDB0:0x6D52, +0xE9BDB1:0x6D53,0xE9BDB3:0x6D54,0xE9BDB5:0x6D55,0xE9BDBA:0x6D56,0xE9BDBD:0x6D57, +0xE9BE8F:0x6D58,0xE9BE90:0x6D59,0xE9BE91:0x6D5A,0xE9BE92:0x6D5B,0xE9BE94:0x6D5C, +0xE9BE96:0x6D5D,0xE9BE97:0x6D5E,0xE9BE9E:0x6D5F,0xE9BEA1:0x6D60,0xE9BEA2:0x6D61, +0xE9BEA3:0x6D62,0xE9BEA5:0x6D63, + +//FIXME: mojibake +0xE3809C:0x2141 +}; + +/** + * Encoding conversion table for JIS to UTF-8 + */ + +var JIS_TO_UTF8_TABLE = null; +var jisToUtf8Table = JIS_TO_UTF8_TABLE; + +/** + * Encoding conversion table for JIS X 0212:1990 (Hojo-Kanji) to UTF-8 + */ + +var JISX0212_TO_UTF8_TABLE = null; +var jisx0212ToUtf8Table = JISX0212_TO_UTF8_TABLE; + +encodingTable.UTF8_TO_JIS_TABLE = utf8ToJisTable; +encodingTable.UTF8_TO_JISX0212_TABLE = utf8ToJisx0212Table; +encodingTable.JIS_TO_UTF8_TABLE = jisToUtf8Table; +encodingTable.JISX0212_TO_UTF8_TABLE = jisx0212ToUtf8Table; + +var hasRequiredConfig; + +function requireConfig () { + if (hasRequiredConfig) return config$2; + hasRequiredConfig = 1; + var util = requireUtil(); + var EncodingTable = encodingTable; + + // Fallback character when a character can't be represented + config$2.FALLBACK_CHARACTER = 63; // '?' + + var HAS_TYPED = config$2.HAS_TYPED = typeof Uint8Array !== 'undefined' && typeof Uint16Array !== 'undefined'; + + // Test for String.fromCharCode.apply + var CAN_CHARCODE_APPLY = false; + var CAN_CHARCODE_APPLY_TYPED = false; + + try { + if (String.fromCharCode.apply(null, [0x61]) === 'a') { + CAN_CHARCODE_APPLY = true; + } + } catch (e) {} + + if (HAS_TYPED) { + try { + if (String.fromCharCode.apply(null, new Uint8Array([0x61])) === 'a') { + CAN_CHARCODE_APPLY_TYPED = true; + } + } catch (e) {} + } + + config$2.CAN_CHARCODE_APPLY = CAN_CHARCODE_APPLY; + config$2.CAN_CHARCODE_APPLY_TYPED = CAN_CHARCODE_APPLY_TYPED; + + // Function.prototype.apply stack max range + config$2.APPLY_BUFFER_SIZE = 65533; + config$2.APPLY_BUFFER_SIZE_OK = null; + + var EncodingNames = config$2.EncodingNames = { + UTF32: { + order: 0 + }, + UTF32BE: { + alias: ['UCS4'] + }, + UTF32LE: null, + UTF16: { + order: 1 + }, + UTF16BE: { + alias: ['UCS2'] + }, + UTF16LE: null, + BINARY: { + order: 2 + }, + ASCII: { + order: 3, + alias: ['ISO646', 'CP367'] + }, + JIS: { + order: 4, + alias: ['ISO2022JP'] + }, + UTF8: { + order: 5 + }, + EUCJP: { + order: 6 + }, + SJIS: { + order: 7, + alias: ['CP932', 'MSKANJI', 'WINDOWS31J'] + }, + UNICODE: { + order: 8 + } + }; + + var EncodingAliases = {}; + config$2.EncodingAliases = EncodingAliases; + + config$2.EncodingOrders = (function() { + var aliases = EncodingAliases; + + var names = util.objectKeys(EncodingNames); + var orders = []; + var name, encoding, j, l; + + for (var i = 0, len = names.length; i < len; i++) { + name = names[i]; + aliases[name] = name; + + encoding = EncodingNames[name]; + if (encoding != null) { + if (encoding.order != null) { + orders[orders.length] = name; + } + + if (encoding.alias) { + // Create encoding aliases + for (j = 0, l = encoding.alias.length; j < l; j++) { + aliases[encoding.alias[j]] = name; + } + } + } + } + + orders.sort(function(a, b) { + return EncodingNames[a].order - EncodingNames[b].order; + }); + + return orders; + }()); + + function init_JIS_TO_UTF8_TABLE() { + if (EncodingTable.JIS_TO_UTF8_TABLE === null) { + EncodingTable.JIS_TO_UTF8_TABLE = {}; + + var keys = util.objectKeys(EncodingTable.UTF8_TO_JIS_TABLE); + var i = 0; + var len = keys.length; + var key, value; + + for (; i < len; i++) { + key = keys[i]; + value = EncodingTable.UTF8_TO_JIS_TABLE[key]; + if (value > 0x5F) { + EncodingTable.JIS_TO_UTF8_TABLE[value] = key | 0; + } + } + + EncodingTable.JISX0212_TO_UTF8_TABLE = {}; + keys = util.objectKeys(EncodingTable.UTF8_TO_JISX0212_TABLE); + len = keys.length; + + for (i = 0; i < len; i++) { + key = keys[i]; + value = EncodingTable.UTF8_TO_JISX0212_TABLE[key]; + EncodingTable.JISX0212_TO_UTF8_TABLE[value] = key | 0; + } + } + } + config$2.init_JIS_TO_UTF8_TABLE = init_JIS_TO_UTF8_TABLE; + return config$2; +} + +var encodingDetect = {}; + +/** + * Binary (exe, images and so, etc.) + * + * Note: + * This function is not considered for Unicode + */ + +function isBINARY(data) { + var i = 0; + var len = data && data.length; + var c; + + for (; i < len; i++) { + c = data[i]; + if (c > 0xFF) { + return false; + } + + if ((c >= 0x00 && c <= 0x07) || c === 0xFF) { + return true; + } + } + + return false; +} +encodingDetect.isBINARY = isBINARY; + +/** + * ASCII (ISO-646) + */ +function isASCII(data) { + var i = 0; + var len = data && data.length; + var b; + + for (; i < len; i++) { + b = data[i]; + if (b > 0xFF || + (b >= 0x80 && b <= 0xFF) || + b === 0x1B) { + return false; + } + } + + return true; +} +encodingDetect.isASCII = isASCII; + +/** + * ISO-2022-JP (JIS) + * + * RFC1468 Japanese Character Encoding for Internet Messages + * RFC1554 ISO-2022-JP-2: Multilingual Extension of ISO-2022-JP + * RFC2237 Japanese Character Encoding for Internet Messages + */ +function isJIS(data) { + var i = 0; + var len = data && data.length; + var b, esc1, esc2; + + for (; i < len; i++) { + b = data[i]; + if (b > 0xFF || (b >= 0x80 && b <= 0xFF)) { + return false; + } + + if (b === 0x1B) { + if (i + 2 >= len) { + return false; + } + + esc1 = data[i + 1]; + esc2 = data[i + 2]; + if (esc1 === 0x24) { + if (esc2 === 0x28 || // JIS X 0208-1990/2000/2004 + esc2 === 0x40 || // JIS X 0208-1978 + esc2 === 0x42) { // JIS X 0208-1983 + return true; + } + } else if (esc1 === 0x26 && // JIS X 0208-1990 + esc2 === 0x40) { + return true; + } else if (esc1 === 0x28) { + if (esc2 === 0x42 || // ASCII + esc2 === 0x49 || // JIS X 0201 Halfwidth Katakana + esc2 === 0x4A) { // JIS X 0201-1976 Roman set + return true; + } + } + } + } + + return false; +} +encodingDetect.isJIS = isJIS; + +/** + * EUC-JP + */ +function isEUCJP(data) { + var i = 0; + var len = data && data.length; + var b; + + for (; i < len; i++) { + b = data[i]; + if (b < 0x80) { + continue; + } + + if (b > 0xFF || b < 0x8E) { + return false; + } + + if (b === 0x8E) { + if (i + 1 >= len) { + return false; + } + + b = data[++i]; + if (b < 0xA1 || 0xDF < b) { + return false; + } + } else if (b === 0x8F) { + if (i + 2 >= len) { + return false; + } + + b = data[++i]; + if (b < 0xA2 || 0xED < b) { + return false; + } + + b = data[++i]; + if (b < 0xA1 || 0xFE < b) { + return false; + } + } else if (0xA1 <= b && b <= 0xFE) { + if (i + 1 >= len) { + return false; + } + + b = data[++i]; + if (b < 0xA1 || 0xFE < b) { + return false; + } + } else { + return false; + } + } + + return true; +} +encodingDetect.isEUCJP = isEUCJP; + +/** + * Shift-JIS (SJIS) + */ +function isSJIS(data) { + var i = 0; + var len = data && data.length; + var b; + + while (i < len && data[i] > 0x80) { + if (data[i++] > 0xFF) { + return false; + } + } + + for (; i < len; i++) { + b = data[i]; + if (b <= 0x80 || + (0xA1 <= b && b <= 0xDF)) { + continue; + } + + if (b === 0xA0 || b > 0xEF || i + 1 >= len) { + return false; + } + + b = data[++i]; + if (b < 0x40 || b === 0x7F || b > 0xFC) { + return false; + } + } + + return true; +} +encodingDetect.isSJIS = isSJIS; + +/** + * UTF-8 + */ +function isUTF8(data) { + var i = 0; + var len = data && data.length; + var b; + + for (; i < len; i++) { + b = data[i]; + if (b > 0xFF) { + return false; + } + + if (b === 0x09 || b === 0x0A || b === 0x0D || + (b >= 0x20 && b <= 0x7E)) { + continue; + } + + if (b >= 0xC2 && b <= 0xDF) { + if (i + 1 >= len || data[i + 1] < 0x80 || data[i + 1] > 0xBF) { + return false; + } + i++; + } else if (b === 0xE0) { + if (i + 2 >= len || + data[i + 1] < 0xA0 || data[i + 1] > 0xBF || + data[i + 2] < 0x80 || data[i + 2] > 0xBF) { + return false; + } + i += 2; + } else if ((b >= 0xE1 && b <= 0xEC) || + b === 0xEE || b === 0xEF) { + if (i + 2 >= len || + data[i + 1] < 0x80 || data[i + 1] > 0xBF || + data[i + 2] < 0x80 || data[i + 2] > 0xBF) { + return false; + } + i += 2; + } else if (b === 0xED) { + if (i + 2 >= len || + data[i + 1] < 0x80 || data[i + 1] > 0x9F || + data[i + 2] < 0x80 || data[i + 2] > 0xBF) { + return false; + } + i += 2; + } else if (b === 0xF0) { + if (i + 3 >= len || + data[i + 1] < 0x90 || data[i + 1] > 0xBF || + data[i + 2] < 0x80 || data[i + 2] > 0xBF || + data[i + 3] < 0x80 || data[i + 3] > 0xBF) { + return false; + } + i += 3; + } else if (b >= 0xF1 && b <= 0xF3) { + if (i + 3 >= len || + data[i + 1] < 0x80 || data[i + 1] > 0xBF || + data[i + 2] < 0x80 || data[i + 2] > 0xBF || + data[i + 3] < 0x80 || data[i + 3] > 0xBF) { + return false; + } + i += 3; + } else if (b === 0xF4) { + if (i + 3 >= len || + data[i + 1] < 0x80 || data[i + 1] > 0x8F || + data[i + 2] < 0x80 || data[i + 2] > 0xBF || + data[i + 3] < 0x80 || data[i + 3] > 0xBF) { + return false; + } + i += 3; + } else { + return false; + } + } + + return true; +} +encodingDetect.isUTF8 = isUTF8; + +/** + * UTF-16 (LE or BE) + * + * RFC2781: UTF-16, an encoding of ISO 10646 + * + * @link http://www.ietf.org/rfc/rfc2781.txt + */ +function isUTF16(data) { + var i = 0; + var len = data && data.length; + var pos = null; + var b1, b2, next, prev; + + if (len < 2) { + if (data[0] > 0xFF) { + return false; + } + } else { + b1 = data[0]; + b2 = data[1]; + if (b1 === 0xFF && // BOM (little-endian) + b2 === 0xFE) { + return true; + } + if (b1 === 0xFE && // BOM (big-endian) + b2 === 0xFF) { + return true; + } + + for (; i < len; i++) { + if (data[i] === 0x00) { + pos = i; + break; + } else if (data[i] > 0xFF) { + return false; + } + } + + if (pos === null) { + return false; // Non ASCII + } + + next = data[pos + 1]; // BE + if (next !== void 0 && next > 0x00 && next < 0x80) { + return true; + } + + prev = data[pos - 1]; // LE + if (prev !== void 0 && prev > 0x00 && prev < 0x80) { + return true; + } + } + + return false; +} +encodingDetect.isUTF16 = isUTF16; + +/** + * UTF-16BE (big-endian) + * + * RFC 2781 4.3 Interpreting text labelled as UTF-16 + * Text labelled "UTF-16BE" can always be interpreted as being big-endian + * when BOM does not founds (SHOULD) + * + * @link http://www.ietf.org/rfc/rfc2781.txt + */ +function isUTF16BE(data) { + var i = 0; + var len = data && data.length; + var pos = null; + var b1, b2; + + if (len < 2) { + if (data[0] > 0xFF) { + return false; + } + } else { + b1 = data[0]; + b2 = data[1]; + if (b1 === 0xFE && // BOM + b2 === 0xFF) { + return true; + } + + for (; i < len; i++) { + if (data[i] === 0x00) { + pos = i; + break; + } else if (data[i] > 0xFF) { + return false; + } + } + + if (pos === null) { + return false; // Non ASCII + } + + if (pos % 2 === 0) { + return true; + } + } + + return false; +} +encodingDetect.isUTF16BE = isUTF16BE; + +/** + * UTF-16LE (little-endian) + */ +function isUTF16LE(data) { + var i = 0; + var len = data && data.length; + var pos = null; + var b1, b2; + + if (len < 2) { + if (data[0] > 0xFF) { + return false; + } + } else { + b1 = data[0]; + b2 = data[1]; + if (b1 === 0xFF && // BOM + b2 === 0xFE) { + return true; + } + + for (; i < len; i++) { + if (data[i] === 0x00) { + pos = i; + break; + } else if (data[i] > 0xFF) { + return false; + } + } + + if (pos === null) { + return false; // Non ASCII + } + + if (pos % 2 !== 0) { + return true; + } + } + + return false; +} +encodingDetect.isUTF16LE = isUTF16LE; + +/** + * UTF-32 + * + * Unicode 3.2.0: Unicode Standard Annex #19 + * + * @link http://www.iana.org/assignments/charset-reg/UTF-32 + * @link http://www.unicode.org/reports/tr19/tr19-9.html + */ +function isUTF32(data) { + var i = 0; + var len = data && data.length; + var pos = null; + var b1, b2, b3, b4; + var next, prev; + + if (len < 4) { + for (; i < len; i++) { + if (data[i] > 0xFF) { + return false; + } + } + } else { + b1 = data[0]; + b2 = data[1]; + b3 = data[2]; + b4 = data[3]; + if (b1 === 0x00 && b2 === 0x00 && // BOM (big-endian) + b3 === 0xFE && b4 === 0xFF) { + return true; + } + + if (b1 === 0xFF && b2 === 0xFE && // BOM (little-endian) + b3 === 0x00 && b4 === 0x00) { + return true; + } + + for (; i < len; i++) { + if (data[i] === 0x00 && data[i + 1] === 0x00 && data[i + 2] === 0x00) { + pos = i; + break; + } else if (data[i] > 0xFF) { + return false; + } + } + + if (pos === null) { + return false; + } + + // The byte order should be the big-endian when BOM is not detected. + next = data[pos + 3]; + if (next !== void 0 && next > 0x00 && next <= 0x7F) { + // big-endian + return data[pos + 2] === 0x00 && data[pos + 1] === 0x00; + } + + prev = data[pos - 1]; + if (prev !== void 0 && prev > 0x00 && prev <= 0x7F) { + // little-endian + return data[pos + 1] === 0x00 && data[pos + 2] === 0x00; + } + } + + return false; +} +encodingDetect.isUTF32 = isUTF32; + +/** + * JavaScript Unicode array + */ +function isUNICODE(data) { + var i = 0; + var len = data && data.length; + var c; + + for (; i < len; i++) { + c = data[i]; + if (c < 0 || c > 0x10FFFF) { + return false; + } + } + + return true; +} +encodingDetect.isUNICODE = isUNICODE; + +var encodingConvert = {}; + +var config$1 = requireConfig(); +var util$3 = requireUtil(); +var EncodingDetect$1 = encodingDetect; +var EncodingTable = encodingTable; + +/** + * JIS to SJIS + */ +function JISToSJIS(data) { + var results = []; + var index = 0; + var i = 0; + var len = data && data.length; + var b1, b2; + + for (; i < len; i++) { + // escape sequence + while (data[i] === 0x1B) { + if ((data[i + 1] === 0x24 && data[i + 2] === 0x42) || + (data[i + 1] === 0x24 && data[i + 2] === 0x40)) { + index = 1; + } else if ((data[i + 1] === 0x28 && data[i + 2] === 0x49)) { + index = 2; + } else if (data[i + 1] === 0x24 && data[i + 2] === 0x28 && + data[i + 3] === 0x44) { + index = 3; + i++; + } else { + index = 0; + } + + i += 3; + if (data[i] === void 0) { + return results; + } + } + + if (index === 1) { + b1 = data[i]; + b2 = data[++i]; + if (b1 & 0x01) { + b1 >>= 1; + if (b1 < 0x2F) { + b1 += 0x71; + } else { + b1 -= 0x4F; + } + if (b2 > 0x5F) { + b2 += 0x20; + } else { + b2 += 0x1F; + } + } else { + b1 >>= 1; + if (b1 <= 0x2F) { + b1 += 0x70; + } else { + b1 -= 0x50; + } + b2 += 0x7E; + } + results[results.length] = b1 & 0xFF; + results[results.length] = b2 & 0xFF; + } else if (index === 2) { + results[results.length] = data[i] + 0x80 & 0xFF; + } else if (index === 3) { + // Shift_JIS cannot convert JIS X 0212:1990. + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.JISToSJIS = JISToSJIS; + +/** + * JIS to EUCJP + */ +function JISToEUCJP(data) { + var results = []; + var index = 0; + var len = data && data.length; + var i = 0; + + for (; i < len; i++) { + + // escape sequence + while (data[i] === 0x1B) { + if ((data[i + 1] === 0x24 && data[i + 2] === 0x42) || + (data[i + 1] === 0x24 && data[i + 2] === 0x40)) { + index = 1; + } else if ((data[i + 1] === 0x28 && data[i + 2] === 0x49)) { + index = 2; + } else if (data[i + 1] === 0x24 && data[i + 2] === 0x28 && + data[i + 3] === 0x44) { + index = 3; + i++; + } else { + index = 0; + } + + i += 3; + if (data[i] === void 0) { + return results; + } + } + + if (index === 1) { + results[results.length] = data[i] + 0x80 & 0xFF; + results[results.length] = data[++i] + 0x80 & 0xFF; + } else if (index === 2) { + results[results.length] = 0x8E; + results[results.length] = data[i] + 0x80 & 0xFF; + } else if (index === 3) { + results[results.length] = 0x8F; + results[results.length] = data[i] + 0x80 & 0xFF; + results[results.length] = data[++i] + 0x80 & 0xFF; + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.JISToEUCJP = JISToEUCJP; + +/** + * SJIS to JIS + */ +function SJISToJIS(data) { + var results = []; + var index = 0; + var len = data && data.length; + var i = 0; + var b1, b2; + + var esc = [ + 0x1B, 0x28, 0x42, + 0x1B, 0x24, 0x42, + 0x1B, 0x28, 0x49 + ]; + + for (; i < len; i++) { + b1 = data[i]; + if (b1 >= 0xA1 && b1 <= 0xDF) { + if (index !== 2) { + index = 2; + results[results.length] = esc[6]; + results[results.length] = esc[7]; + results[results.length] = esc[8]; + } + results[results.length] = b1 - 0x80 & 0xFF; + } else if (b1 >= 0x80) { + if (index !== 1) { + index = 1; + results[results.length] = esc[3]; + results[results.length] = esc[4]; + results[results.length] = esc[5]; + } + + b1 <<= 1; + b2 = data[++i]; + if (b2 < 0x9F) { + if (b1 < 0x13F) { + b1 -= 0xE1; + } else { + b1 -= 0x61; + } + if (b2 > 0x7E) { + b2 -= 0x20; + } else { + b2 -= 0x1F; + } + } else { + if (b1 < 0x13F) { + b1 -= 0xE0; + } else { + b1 -= 0x60; + } + b2 -= 0x7E; + } + results[results.length] = b1 & 0xFF; + results[results.length] = b2 & 0xFF; + } else { + if (index !== 0) { + index = 0; + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + results[results.length] = b1 & 0xFF; + } + } + + if (index !== 0) { + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + + return results; +} +encodingConvert.SJISToJIS = SJISToJIS; + +/** + * SJIS to EUCJP + */ +function SJISToEUCJP(data) { + var results = []; + var len = data && data.length; + var i = 0; + var b1, b2; + + for (; i < len; i++) { + b1 = data[i]; + if (b1 >= 0xA1 && b1 <= 0xDF) { + results[results.length] = 0x8E; + results[results.length] = b1; + } else if (b1 >= 0x81) { + b2 = data[++i]; + b1 <<= 1; + if (b2 < 0x9F) { + if (b1 < 0x13F) { + b1 -= 0x61; + } else { + b1 -= 0xE1; + } + + if (b2 > 0x7E) { + b2 += 0x60; + } else { + b2 += 0x61; + } + } else { + if (b1 < 0x13F) { + b1 -= 0x60; + } else { + b1 -= 0xE0; + } + b2 += 0x02; + } + results[results.length] = b1 & 0xFF; + results[results.length] = b2 & 0xFF; + } else { + results[results.length] = b1 & 0xFF; + } + } + + return results; +} +encodingConvert.SJISToEUCJP = SJISToEUCJP; + +/** + * EUCJP to JIS + */ +function EUCJPToJIS(data) { + var results = []; + var index = 0; + var len = data && data.length; + var i = 0; + var b; + + // escape sequence + var esc = [ + 0x1B, 0x28, 0x42, + 0x1B, 0x24, 0x42, + 0x1B, 0x28, 0x49, + 0x1B, 0x24, 0x28, 0x44 + ]; + + for (; i < len; i++) { + b = data[i]; + if (b === 0x8E) { + if (index !== 2) { + index = 2; + results[results.length] = esc[6]; + results[results.length] = esc[7]; + results[results.length] = esc[8]; + } + results[results.length] = data[++i] - 0x80 & 0xFF; + } else if (b === 0x8F) { + if (index !== 3) { + index = 3; + results[results.length] = esc[9]; + results[results.length] = esc[10]; + results[results.length] = esc[11]; + results[results.length] = esc[12]; + } + results[results.length] = data[++i] - 0x80 & 0xFF; + results[results.length] = data[++i] - 0x80 & 0xFF; + } else if (b > 0x8E) { + if (index !== 1) { + index = 1; + results[results.length] = esc[3]; + results[results.length] = esc[4]; + results[results.length] = esc[5]; + } + results[results.length] = b - 0x80 & 0xFF; + results[results.length] = data[++i] - 0x80 & 0xFF; + } else { + if (index !== 0) { + index = 0; + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + results[results.length] = b & 0xFF; + } + } + + if (index !== 0) { + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + + return results; +} +encodingConvert.EUCJPToJIS = EUCJPToJIS; + +/** + * EUCJP to SJIS + */ +function EUCJPToSJIS(data) { + var results = []; + var len = data && data.length; + var i = 0; + var b1, b2; + + for (; i < len; i++) { + b1 = data[i]; + if (b1 === 0x8F) { + results[results.length] = config$1.FALLBACK_CHARACTER; + i += 2; + } else if (b1 > 0x8E) { + b2 = data[++i]; + if (b1 & 0x01) { + b1 >>= 1; + if (b1 < 0x6F) { + b1 += 0x31; + } else { + b1 += 0x71; + } + + if (b2 > 0xDF) { + b2 -= 0x60; + } else { + b2 -= 0x61; + } + } else { + b1 >>= 1; + if (b1 <= 0x6F) { + b1 += 0x30; + } else { + b1 += 0x70; + } + b2 -= 0x02; + } + results[results.length] = b1 & 0xFF; + results[results.length] = b2 & 0xFF; + } else if (b1 === 0x8E) { + results[results.length] = data[++i] & 0xFF; + } else { + results[results.length] = b1 & 0xFF; + } + } + + return results; +} +encodingConvert.EUCJPToSJIS = EUCJPToSJIS; + +/** + * SJIS To UTF-8 + */ +function SJISToUTF8(data) { + config$1.init_JIS_TO_UTF8_TABLE(); + + var results = []; + var i = 0; + var len = data && data.length; + var b, b1, b2, u2, u3, jis, utf8; + + for (; i < len; i++) { + b = data[i]; + if (b >= 0xA1 && b <= 0xDF) { + b2 = b - 0x40; + u2 = 0xBC | ((b2 >> 6) & 0x03); + u3 = 0x80 | (b2 & 0x3F); + + results[results.length] = 0xEF; + results[results.length] = u2 & 0xFF; + results[results.length] = u3 & 0xFF; + } else if (b >= 0x80) { + b1 = b << 1; + b2 = data[++i]; + + if (b2 < 0x9F) { + if (b1 < 0x13F) { + b1 -= 0xE1; + } else { + b1 -= 0x61; + } + + if (b2 > 0x7E) { + b2 -= 0x20; + } else { + b2 -= 0x1F; + } + } else { + if (b1 < 0x13F) { + b1 -= 0xE0; + } else { + b1 -= 0x60; + } + b2 -= 0x7E; + } + + b1 &= 0xFF; + jis = (b1 << 8) + b2; + + utf8 = EncodingTable.JIS_TO_UTF8_TABLE[jis]; + if (utf8 === void 0) { + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + if (utf8 < 0xFFFF) { + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } else { + results[results.length] = utf8 >> 16 & 0xFF; + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } + } + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.SJISToUTF8 = SJISToUTF8; + +/** + * EUC-JP to UTF-8 + */ +function EUCJPToUTF8(data) { + config$1.init_JIS_TO_UTF8_TABLE(); + + var results = []; + var i = 0; + var len = data && data.length; + var b, b2, u2, u3, j2, j3, jis, utf8; + + for (; i < len; i++) { + b = data[i]; + if (b === 0x8E) { + b2 = data[++i] - 0x40; + u2 = 0xBC | ((b2 >> 6) & 0x03); + u3 = 0x80 | (b2 & 0x3F); + + results[results.length] = 0xEF; + results[results.length] = u2 & 0xFF; + results[results.length] = u3 & 0xFF; + } else if (b === 0x8F) { + j2 = data[++i] - 0x80; + j3 = data[++i] - 0x80; + jis = (j2 << 8) + j3; + + utf8 = EncodingTable.JISX0212_TO_UTF8_TABLE[jis]; + if (utf8 === void 0) { + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + if (utf8 < 0xFFFF) { + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } else { + results[results.length] = utf8 >> 16 & 0xFF; + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } + } + } else if (b >= 0x80) { + jis = ((b - 0x80) << 8) + (data[++i] - 0x80); + + utf8 = EncodingTable.JIS_TO_UTF8_TABLE[jis]; + if (utf8 === void 0) { + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + if (utf8 < 0xFFFF) { + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } else { + results[results.length] = utf8 >> 16 & 0xFF; + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } + } + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.EUCJPToUTF8 = EUCJPToUTF8; + +/** + * JIS to UTF-8 + */ +function JISToUTF8(data) { + config$1.init_JIS_TO_UTF8_TABLE(); + + var results = []; + var index = 0; + var i = 0; + var len = data && data.length; + var b2, u2, u3, jis, utf8; + + for (; i < len; i++) { + while (data[i] === 0x1B) { + if ((data[i + 1] === 0x24 && data[i + 2] === 0x42) || + (data[i + 1] === 0x24 && data[i + 2] === 0x40)) { + index = 1; + } else if (data[i + 1] === 0x28 && data[i + 2] === 0x49) { + index = 2; + } else if (data[i + 1] === 0x24 && data[i + 2] === 0x28 && + data[i + 3] === 0x44) { + index = 3; + i++; + } else { + index = 0; + } + + i += 3; + if (data[i] === void 0) { + return results; + } + } + + if (index === 1) { + jis = (data[i] << 8) + data[++i]; + + utf8 = EncodingTable.JIS_TO_UTF8_TABLE[jis]; + if (utf8 === void 0) { + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + if (utf8 < 0xFFFF) { + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } else { + results[results.length] = utf8 >> 16 & 0xFF; + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } + } + } else if (index === 2) { + b2 = data[i] + 0x40; + u2 = 0xBC | ((b2 >> 6) & 0x03); + u3 = 0x80 | (b2 & 0x3F); + + results[results.length] = 0xEF; + results[results.length] = u2 & 0xFF; + results[results.length] = u3 & 0xFF; + } else if (index === 3) { + jis = (data[i] << 8) + data[++i]; + + utf8 = EncodingTable.JISX0212_TO_UTF8_TABLE[jis]; + if (utf8 === void 0) { + results[results.length] = config$1.FALLBACK_CHARACTER; + } else { + if (utf8 < 0xFFFF) { + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } else { + results[results.length] = utf8 >> 16 & 0xFF; + results[results.length] = utf8 >> 8 & 0xFF; + results[results.length] = utf8 & 0xFF; + } + } + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.JISToUTF8 = JISToUTF8; + +/** + * UTF-8 to SJIS + */ +function UTF8ToSJIS(data, options) { + var results = []; + var i = 0; + var len = data && data.length; + var b, b1, b2, bytes, utf8, jis; + var fallbackOption = options && options.fallback; + + for (; i < len; i++) { + b = data[i]; + + if (b >= 0x80) { + if (b <= 0xDF) { + // 2 bytes + bytes = [b, data[i + 1]]; + utf8 = (b << 8) + data[++i]; + } else if (b <= 0xEF) { + // 3 bytes + bytes = [b, data[i + 1], data[i + 2]]; + utf8 = (b << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } else { + // 4 bytes + bytes = [b, data[i + 1], data[i + 2], data[i + 3]]; + utf8 = (b << 24) + + (data[++i] << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } + + jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8]; + if (jis == null) { + if (fallbackOption) { + handleFallback(results, bytes, fallbackOption); + } else { + results[results.length] = config$1.FALLBACK_CHARACTER; + } + } else { + if (jis < 0xFF) { + results[results.length] = jis + 0x80; + } else { + if (jis > 0x10000) { + jis -= 0x10000; + } + + b1 = jis >> 8; + b2 = jis & 0xFF; + if (b1 & 0x01) { + b1 >>= 1; + if (b1 < 0x2F) { + b1 += 0x71; + } else { + b1 -= 0x4F; + } + + if (b2 > 0x5F) { + b2 += 0x20; + } else { + b2 += 0x1F; + } + } else { + b1 >>= 1; + if (b1 <= 0x2F) { + b1 += 0x70; + } else { + b1 -= 0x50; + } + b2 += 0x7E; + } + results[results.length] = b1 & 0xFF; + results[results.length] = b2 & 0xFF; + } + } + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.UTF8ToSJIS = UTF8ToSJIS; + +/** + * UTF-8 to EUC-JP + */ +function UTF8ToEUCJP(data, options) { + var results = []; + var i = 0; + var len = data && data.length; + var b, bytes, utf8, jis; + var fallbackOption = options && options.fallback; + + for (; i < len; i++) { + b = data[i]; + if (b >= 0x80) { + if (b <= 0xDF) { + // 2 bytes + bytes = [b, data[i + 1]]; + utf8 = (b << 8) + data[++i]; + } else if (b <= 0xEF) { + // 3 bytes + bytes = [b, data[i + 1], data[i + 2]]; + utf8 = (b << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } else { + // 4 bytes + bytes = [b, data[i + 1], data[i + 2], data[i + 3]]; + utf8 = (b << 24) + + (data[++i] << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } + + jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8]; + if (jis == null) { + jis = EncodingTable.UTF8_TO_JISX0212_TABLE[utf8]; + if (jis == null) { + if (fallbackOption) { + handleFallback(results, bytes, fallbackOption); + } else { + results[results.length] = config$1.FALLBACK_CHARACTER; + } + } else { + results[results.length] = 0x8F; + results[results.length] = (jis >> 8) - 0x80 & 0xFF; + results[results.length] = (jis & 0xFF) - 0x80 & 0xFF; + } + } else { + if (jis > 0x10000) { + jis -= 0x10000; + } + if (jis < 0xFF) { + results[results.length] = 0x8E; + results[results.length] = jis - 0x80 & 0xFF; + } else { + results[results.length] = (jis >> 8) - 0x80 & 0xFF; + results[results.length] = (jis & 0xFF) - 0x80 & 0xFF; + } + } + } else { + results[results.length] = data[i] & 0xFF; + } + } + + return results; +} +encodingConvert.UTF8ToEUCJP = UTF8ToEUCJP; + +/** + * UTF-8 to JIS + */ +function UTF8ToJIS(data, options) { + var results = []; + var index = 0; + var len = data && data.length; + var i = 0; + var b, bytes, utf8, jis; + var fallbackOption = options && options.fallback; + + var esc = [ + 0x1B, 0x28, 0x42, + 0x1B, 0x24, 0x42, + 0x1B, 0x28, 0x49, + 0x1B, 0x24, 0x28, 0x44 + ]; + + for (; i < len; i++) { + b = data[i]; + if (b < 0x80) { + if (index !== 0) { + index = 0; + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + results[results.length] = b & 0xFF; + } else { + if (b <= 0xDF) { + // 2 bytes + bytes = [b, data[i + 1]]; + utf8 = (b << 8) + data[++i]; + } else if (b <= 0xEF) { + // 3 bytes + bytes = [b, data[i + 1], data[i + 2]]; + utf8 = (b << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } else { + // 4 bytes + bytes = [b, data[i + 1], data[i + 2], data[i + 3]]; + utf8 = (b << 24) + + (data[++i] << 16) + + (data[++i] << 8) + + (data[++i] & 0xFF); + } + + jis = EncodingTable.UTF8_TO_JIS_TABLE[utf8]; + if (jis == null) { + jis = EncodingTable.UTF8_TO_JISX0212_TABLE[utf8]; + if (jis == null) { + if (index !== 0) { + index = 0; + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + + if (fallbackOption) { + handleFallback(results, bytes, fallbackOption); + } else { + results[results.length] = config$1.FALLBACK_CHARACTER; + } + } else { + // JIS X 0212:1990 + if (index !== 3) { + index = 3; + results[results.length] = esc[9]; + results[results.length] = esc[10]; + results[results.length] = esc[11]; + results[results.length] = esc[12]; + } + results[results.length] = jis >> 8 & 0xFF; + results[results.length] = jis & 0xFF; + } + } else { + if (jis > 0x10000) { + jis -= 0x10000; + } + if (jis < 0xFF) { + // Halfwidth Katakana + if (index !== 2) { + index = 2; + results[results.length] = esc[6]; + results[results.length] = esc[7]; + results[results.length] = esc[8]; + } + results[results.length] = jis & 0xFF; + } else { + if (index !== 1) { + index = 1; + results[results.length] = esc[3]; + results[results.length] = esc[4]; + results[results.length] = esc[5]; + } + results[results.length] = jis >> 8 & 0xFF; + results[results.length] = jis & 0xFF; + } + } + } + } + + if (index !== 0) { + results[results.length] = esc[0]; + results[results.length] = esc[1]; + results[results.length] = esc[2]; + } + + return results; +} +encodingConvert.UTF8ToJIS = UTF8ToJIS; + +/** + * UTF-16 (JavaScript Unicode array) to UTF-8 + */ +function UNICODEToUTF8(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c, second; + + for (; i < len; i++) { + c = data[i]; + + // high surrogate + if (c >= 0xD800 && c <= 0xDBFF && i + 1 < len) { + second = data[i + 1]; + // low surrogate + if (second >= 0xDC00 && second <= 0xDFFF) { + c = (c - 0xD800) * 0x400 + second - 0xDC00 + 0x10000; + i++; + } + } + + if (c < 0x80) { + results[results.length] = c; + } else if (c < 0x800) { + results[results.length] = 0xC0 | ((c >> 6) & 0x1F); + results[results.length] = 0x80 | (c & 0x3F); + } else if (c < 0x10000) { + results[results.length] = 0xE0 | ((c >> 12) & 0xF); + results[results.length] = 0x80 | ((c >> 6) & 0x3F); + results[results.length] = 0x80 | (c & 0x3F); + } else if (c < 0x200000) { + results[results.length] = 0xF0 | ((c >> 18) & 0xF); + results[results.length] = 0x80 | ((c >> 12) & 0x3F); + results[results.length] = 0x80 | ((c >> 6) & 0x3F); + results[results.length] = 0x80 | (c & 0x3F); + } + } + + return results; +} +encodingConvert.UNICODEToUTF8 = UNICODEToUTF8; + +/** + * UTF-8 to UTF-16 (JavaScript Unicode array) + */ +function UTF8ToUNICODE(data, options) { + var results = []; + var i = 0; + var len = data && data.length; + var n, c, c2, c3, c4, code; + // For internal usage only + var ignoreSurrogatePair = options && options.ignoreSurrogatePair; + + while (i < len) { + c = data[i++]; + n = c >> 4; + if (n >= 0 && n <= 7) { + // 0xxx xxxx + code = c; + } else if (n === 12 || n === 13) { + // 110x xxxx + // 10xx xxxx + c2 = data[i++]; + code = ((c & 0x1F) << 6) | (c2 & 0x3F); + } else if (n === 14) { + // 1110 xxxx + // 10xx xxxx + // 10xx xxxx + c2 = data[i++]; + c3 = data[i++]; + code = ((c & 0x0F) << 12) | + ((c2 & 0x3F) << 6) | + (c3 & 0x3F); + } else if (n === 15) { + // 1111 0xxx + // 10xx xxxx + // 10xx xxxx + // 10xx xxxx + c2 = data[i++]; + c3 = data[i++]; + c4 = data[i++]; + code = ((c & 0x7) << 18) | + ((c2 & 0x3F) << 12) | + ((c3 & 0x3F) << 6) | + (c4 & 0x3F); + } + + if (code <= 0xFFFF || ignoreSurrogatePair) { + results[results.length] = code; + } else { + // Split in surrogate halves + code -= 0x10000; + results[results.length] = (code >> 10) + 0xD800; // High surrogate + results[results.length] = (code % 0x400) + 0xDC00; // Low surrogate + } + } + + return results; +} +encodingConvert.UTF8ToUNICODE = UTF8ToUNICODE; + +/** + * UTF-16 (JavaScript Unicode array) to UTF-16 + * + * UTF-16BE (big-endian) + * Note: this function does not prepend the BOM by default. + * + * RFC 2781 4.3 Interpreting text labelled as UTF-16 + * If the first two octets of the text is not 0xFE followed by + * 0xFF, and is not 0xFF followed by 0xFE, then the text SHOULD be + * interpreted as being big-endian. + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UNICODEToUTF16(data, options) { + var results; + + if (options && options.bom) { + var optBom = options.bom; + if (!util$3.isString(optBom)) { + optBom = 'BE'; + } + + var bom, utf16; + if (optBom.charAt(0).toUpperCase() === 'B') { + // Big-endian + bom = [0xFE, 0xFF]; + utf16 = UNICODEToUTF16BE(data); + } else { + // Little-endian + bom = [0xFF, 0xFE]; + utf16 = UNICODEToUTF16LE(data); + } + + results = []; + results[0] = bom[0]; + results[1] = bom[1]; + + for (var i = 0, len = utf16.length; i < len; i++) { + results[results.length] = utf16[i]; + } + } else { + // Should be interpreted as being big-endian when text has no BOM + results = UNICODEToUTF16BE(data); + } + + return results; +} +encodingConvert.UNICODEToUTF16 = UNICODEToUTF16; + +/** + * UTF-16 (JavaScript Unicode array) to UTF-16BE + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UNICODEToUTF16BE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c; + + while (i < len) { + c = data[i++]; + if (c <= 0xFF) { + results[results.length] = 0; + results[results.length] = c; + } else if (c <= 0xFFFF) { + results[results.length] = c >> 8 & 0xFF; + results[results.length] = c & 0xFF; + } + } + + return results; +} +encodingConvert.UNICODEToUTF16BE = UNICODEToUTF16BE; + +/** + * UTF-16 (JavaScript Unicode array) to UTF-16LE + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UNICODEToUTF16LE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c; + + while (i < len) { + c = data[i++]; + if (c <= 0xFF) { + results[results.length] = c; + results[results.length] = 0; + } else if (c <= 0xFFFF) { + results[results.length] = c & 0xFF; + results[results.length] = c >> 8 & 0xFF; + } + } + + return results; +} +encodingConvert.UNICODEToUTF16LE = UNICODEToUTF16LE; + +/** + * UTF-16BE to UTF-16 (JavaScript Unicode array) + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UTF16BEToUNICODE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c1, c2; + + if (len >= 2 && + ((data[0] === 0xFE && data[1] === 0xFF) || + (data[0] === 0xFF && data[1] === 0xFE)) + ) { + i = 2; + } + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + if (c1 === 0) { + results[results.length] = c2; + } else { + results[results.length] = ((c1 & 0xFF) << 8) | (c2 & 0xFF); + } + } + + return results; +} +encodingConvert.UTF16BEToUNICODE = UTF16BEToUNICODE; + +/** + * UTF-16LE to UTF-16 (JavaScript Unicode array) + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UTF16LEToUNICODE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c1, c2; + + if (len >= 2 && + ((data[0] === 0xFE && data[1] === 0xFF) || + (data[0] === 0xFF && data[1] === 0xFE)) + ) { + i = 2; + } + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + if (c2 === 0) { + results[results.length] = c1; + } else { + results[results.length] = ((c2 & 0xFF) << 8) | (c1 & 0xFF); + } + } + + return results; +} +encodingConvert.UTF16LEToUNICODE = UTF16LEToUNICODE; + +/** + * UTF-16 to UTF-16 (JavaScript Unicode array) + * + * @link https://www.ietf.org/rfc/rfc2781.txt + * UTF-16, an encoding of ISO 10646 + */ +function UTF16ToUNICODE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var isLE = false; + var first = true; + var c1, c2; + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + + if (first && i === 2) { + first = false; + if (c1 === 0xFE && c2 === 0xFF) { + isLE = false; + } else if (c1 === 0xFF && c2 === 0xFE) { + // Little-endian + isLE = true; + } else { + isLE = EncodingDetect$1.isUTF16LE(data); + i = 0; + } + continue; + } + + if (isLE) { + if (c2 === 0) { + results[results.length] = c1; + } else { + results[results.length] = ((c2 & 0xFF) << 8) | (c1 & 0xFF); + } + } else { + if (c1 === 0) { + results[results.length] = c2; + } else { + results[results.length] = ((c1 & 0xFF) << 8) | (c2 & 0xFF); + } + } + } + + return results; +} +encodingConvert.UTF16ToUNICODE = UTF16ToUNICODE; + +/** + * UTF-16 to UTF-16BE + */ +function UTF16ToUTF16BE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var isLE = false; + var first = true; + var c1, c2; + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + + if (first && i === 2) { + first = false; + if (c1 === 0xFE && c2 === 0xFF) { + isLE = false; + } else if (c1 === 0xFF && c2 === 0xFE) { + // Little-endian + isLE = true; + } else { + isLE = EncodingDetect$1.isUTF16LE(data); + i = 0; + } + continue; + } + + if (isLE) { + results[results.length] = c2; + results[results.length] = c1; + } else { + results[results.length] = c1; + results[results.length] = c2; + } + } + + return results; +} +encodingConvert.UTF16ToUTF16BE = UTF16ToUTF16BE; + +/** + * UTF-16BE to UTF-16 + */ +function UTF16BEToUTF16(data, options) { + var isLE = false; + var bom; + + if (options && options.bom) { + var optBom = options.bom; + if (!util$3.isString(optBom)) { + optBom = 'BE'; + } + + if (optBom.charAt(0).toUpperCase() === 'B') { + // Big-endian + bom = [0xFE, 0xFF]; + } else { + // Little-endian + bom = [0xFF, 0xFE]; + isLE = true; + } + } + + var results = []; + var len = data && data.length; + var i = 0; + + if (len >= 2 && + ((data[0] === 0xFE && data[1] === 0xFF) || + (data[0] === 0xFF && data[1] === 0xFE)) + ) { + i = 2; + } + + if (bom) { + results[0] = bom[0]; + results[1] = bom[1]; + } + + var c1, c2; + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + + if (isLE) { + results[results.length] = c2; + results[results.length] = c1; + } else { + results[results.length] = c1; + results[results.length] = c2; + } + } + + return results; +} +encodingConvert.UTF16BEToUTF16 = UTF16BEToUTF16; + +/** + * UTF-16 to UTF-16LE + */ +function UTF16ToUTF16LE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var isLE = false; + var first = true; + var c1, c2; + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + + if (first && i === 2) { + first = false; + if (c1 === 0xFE && c2 === 0xFF) { + isLE = false; + } else if (c1 === 0xFF && c2 === 0xFE) { + // Little-endian + isLE = true; + } else { + isLE = EncodingDetect$1.isUTF16LE(data); + i = 0; + } + continue; + } + + if (isLE) { + results[results.length] = c1; + results[results.length] = c2; + } else { + results[results.length] = c2; + results[results.length] = c1; + } + } + + return results; +} +encodingConvert.UTF16ToUTF16LE = UTF16ToUTF16LE; + +/** + * UTF-16LE to UTF-16 + */ +function UTF16LEToUTF16(data, options) { + var isLE = false; + var bom; + + if (options && options.bom) { + var optBom = options.bom; + if (!util$3.isString(optBom)) { + optBom = 'BE'; + } + + if (optBom.charAt(0).toUpperCase() === 'B') { + // Big-endian + bom = [0xFE, 0xFF]; + } else { + // Little-endian + bom = [0xFF, 0xFE]; + isLE = true; + } + } + + var results = []; + var len = data && data.length; + var i = 0; + + if (len >= 2 && + ((data[0] === 0xFE && data[1] === 0xFF) || + (data[0] === 0xFF && data[1] === 0xFE)) + ) { + i = 2; + } + + if (bom) { + results[0] = bom[0]; + results[1] = bom[1]; + } + + var c1, c2; + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + + if (isLE) { + results[results.length] = c1; + results[results.length] = c2; + } else { + results[results.length] = c2; + results[results.length] = c1; + } + } + + return results; +} +encodingConvert.UTF16LEToUTF16 = UTF16LEToUTF16; + +/** + * UTF-16BE to UTF-16LE + */ +function UTF16BEToUTF16LE(data) { + var results = []; + var i = 0; + var len = data && data.length; + var c1, c2; + + if (len >= 2 && + ((data[0] === 0xFE && data[1] === 0xFF) || + (data[0] === 0xFF && data[1] === 0xFE)) + ) { + i = 2; + } + + while (i < len) { + c1 = data[i++]; + c2 = data[i++]; + results[results.length] = c2; + results[results.length] = c1; + } + + return results; +} +encodingConvert.UTF16BEToUTF16LE = UTF16BEToUTF16LE; + +/** + * UTF-16LE to UTF-16BE + */ +function UTF16LEToUTF16BE(data) { + return UTF16BEToUTF16LE(data); +} +encodingConvert.UTF16LEToUTF16BE = UTF16LEToUTF16BE; + +/** + * UTF-16 (JavaScript Unicode array) to JIS + */ +function UNICODEToJIS(data, options) { + return UTF8ToJIS(UNICODEToUTF8(data), options); +} +encodingConvert.UNICODEToJIS = UNICODEToJIS; + +/** + * JIS to UTF-16 (JavaScript Unicode array) + */ +function JISToUNICODE(data) { + return UTF8ToUNICODE(JISToUTF8(data)); +} +encodingConvert.JISToUNICODE = JISToUNICODE; + +/** + * UTF-16 (JavaScript Unicode array) to EUCJP + */ +function UNICODEToEUCJP(data, options) { + return UTF8ToEUCJP(UNICODEToUTF8(data), options); +} +encodingConvert.UNICODEToEUCJP = UNICODEToEUCJP; + +/** + * EUCJP to UTF-16 (JavaScript Unicode array) + */ +function EUCJPToUNICODE(data) { + return UTF8ToUNICODE(EUCJPToUTF8(data)); +} +encodingConvert.EUCJPToUNICODE = EUCJPToUNICODE; + +/** + * UTF-16 (JavaScript Unicode array) to SJIS + */ +function UNICODEToSJIS(data, options) { + return UTF8ToSJIS(UNICODEToUTF8(data), options); +} +encodingConvert.UNICODEToSJIS = UNICODEToSJIS; + +/** + * SJIS to UTF-16 (JavaScript Unicode array) + */ +function SJISToUNICODE(data) { + return UTF8ToUNICODE(SJISToUTF8(data)); +} +encodingConvert.SJISToUNICODE = SJISToUNICODE; + +/** + * UTF-8 to UTF-16 + */ +function UTF8ToUTF16(data, options) { + return UNICODEToUTF16(UTF8ToUNICODE(data), options); +} +encodingConvert.UTF8ToUTF16 = UTF8ToUTF16; + +/** + * UTF-16 to UTF-8 + */ +function UTF16ToUTF8(data) { + return UNICODEToUTF8(UTF16ToUNICODE(data)); +} +encodingConvert.UTF16ToUTF8 = UTF16ToUTF8; + +/** + * UTF-8 to UTF-16BE + */ +function UTF8ToUTF16BE(data) { + return UNICODEToUTF16BE(UTF8ToUNICODE(data)); +} +encodingConvert.UTF8ToUTF16BE = UTF8ToUTF16BE; + +/** + * UTF-16BE to UTF-8 + */ +function UTF16BEToUTF8(data) { + return UNICODEToUTF8(UTF16BEToUNICODE(data)); +} +encodingConvert.UTF16BEToUTF8 = UTF16BEToUTF8; + +/** + * UTF-8 to UTF-16LE + */ +function UTF8ToUTF16LE(data) { + return UNICODEToUTF16LE(UTF8ToUNICODE(data)); +} +encodingConvert.UTF8ToUTF16LE = UTF8ToUTF16LE; + +/** + * UTF-16LE to UTF-8 + */ +function UTF16LEToUTF8(data) { + return UNICODEToUTF8(UTF16LEToUNICODE(data)); +} +encodingConvert.UTF16LEToUTF8 = UTF16LEToUTF8; + +/** + * JIS to UTF-16 + */ +function JISToUTF16(data, options) { + return UTF8ToUTF16(JISToUTF8(data), options); +} +encodingConvert.JISToUTF16 = JISToUTF16; + +/** + * UTF-16 to JIS + */ +function UTF16ToJIS(data, options) { + return UTF8ToJIS(UTF16ToUTF8(data), options); +} +encodingConvert.UTF16ToJIS = UTF16ToJIS; + +/** + * JIS to UTF-16BE + */ +function JISToUTF16BE(data) { + return UTF8ToUTF16BE(JISToUTF8(data)); +} +encodingConvert.JISToUTF16BE = JISToUTF16BE; + +/** + * UTF-16BE to JIS + */ +function UTF16BEToJIS(data, options) { + return UTF8ToJIS(UTF16BEToUTF8(data), options); +} +encodingConvert.UTF16BEToJIS = UTF16BEToJIS; + +/** + * JIS to UTF-16LE + */ +function JISToUTF16LE(data) { + return UTF8ToUTF16LE(JISToUTF8(data)); +} +encodingConvert.JISToUTF16LE = JISToUTF16LE; + +/** + * UTF-16LE to JIS + */ +function UTF16LEToJIS(data, options) { + return UTF8ToJIS(UTF16LEToUTF8(data), options); +} +encodingConvert.UTF16LEToJIS = UTF16LEToJIS; + +/** + * EUC-JP to UTF-16 + */ +function EUCJPToUTF16(data, options) { + return UTF8ToUTF16(EUCJPToUTF8(data), options); +} +encodingConvert.EUCJPToUTF16 = EUCJPToUTF16; + +/** + * UTF-16 to EUC-JP + */ +function UTF16ToEUCJP(data, options) { + return UTF8ToEUCJP(UTF16ToUTF8(data), options); +} +encodingConvert.UTF16ToEUCJP = UTF16ToEUCJP; + +/** + * EUC-JP to UTF-16BE + */ +function EUCJPToUTF16BE(data) { + return UTF8ToUTF16BE(EUCJPToUTF8(data)); +} +encodingConvert.EUCJPToUTF16BE = EUCJPToUTF16BE; + +/** + * UTF-16BE to EUC-JP + */ +function UTF16BEToEUCJP(data, options) { + return UTF8ToEUCJP(UTF16BEToUTF8(data), options); +} +encodingConvert.UTF16BEToEUCJP = UTF16BEToEUCJP; + +/** + * EUC-JP to UTF-16LE + */ +function EUCJPToUTF16LE(data) { + return UTF8ToUTF16LE(EUCJPToUTF8(data)); +} +encodingConvert.EUCJPToUTF16LE = EUCJPToUTF16LE; + +/** + * UTF-16LE to EUC-JP + */ +function UTF16LEToEUCJP(data, options) { + return UTF8ToEUCJP(UTF16LEToUTF8(data), options); +} +encodingConvert.UTF16LEToEUCJP = UTF16LEToEUCJP; + +/** + * SJIS to UTF-16 + */ +function SJISToUTF16(data, options) { + return UTF8ToUTF16(SJISToUTF8(data), options); +} +encodingConvert.SJISToUTF16 = SJISToUTF16; + +/** + * UTF-16 to SJIS + */ +function UTF16ToSJIS(data, options) { + return UTF8ToSJIS(UTF16ToUTF8(data), options); +} +encodingConvert.UTF16ToSJIS = UTF16ToSJIS; + +/** + * SJIS to UTF-16BE + */ +function SJISToUTF16BE(data) { + return UTF8ToUTF16BE(SJISToUTF8(data)); +} +encodingConvert.SJISToUTF16BE = SJISToUTF16BE; + +/** + * UTF-16BE to SJIS + */ +function UTF16BEToSJIS(data, options) { + return UTF8ToSJIS(UTF16BEToUTF8(data), options); +} +encodingConvert.UTF16BEToSJIS = UTF16BEToSJIS; + +/** + * SJIS to UTF-16LE + */ +function SJISToUTF16LE(data) { + return UTF8ToUTF16LE(SJISToUTF8(data)); +} +encodingConvert.SJISToUTF16LE = SJISToUTF16LE; + +/** + * UTF-16LE to SJIS + */ +function UTF16LEToSJIS(data, options) { + return UTF8ToSJIS(UTF16LEToUTF8(data), options); +} +encodingConvert.UTF16LEToSJIS = UTF16LEToSJIS; + +/** + * Fallback handler when a character can't be represented + */ +function handleFallback(results, bytes, fallbackOption) { + switch (fallbackOption) { + case 'html-entity': + case 'html-entity-hex': + var unicode = UTF8ToUNICODE(bytes, { ignoreSurrogatePair: true })[0]; + if (unicode) { + results[results.length] = 0x26; // & + results[results.length] = 0x23; // # + + var radix = fallbackOption.slice(-3) === 'hex' ? 16 : 10; + if (radix === 16) { + results[results.length] = 0x78; // x + } + + var entity = unicode.toString(radix); + for (var i = 0, len = entity.length; i < len; i++) { + results[results.length] = entity.charCodeAt(i); + } + results[results.length] = 0x3B; // ; + } + } +} + +var kanaCaseTable = {}; + +/* eslint-disable key-spacing */ + +/** + * Katakana table + */ +kanaCaseTable.HANKANA_TABLE = { + 0x3001:0xFF64,0x3002:0xFF61,0x300C:0xFF62,0x300D:0xFF63,0x309B:0xFF9E, + 0x309C:0xFF9F,0x30A1:0xFF67,0x30A2:0xFF71,0x30A3:0xFF68,0x30A4:0xFF72, + 0x30A5:0xFF69,0x30A6:0xFF73,0x30A7:0xFF6A,0x30A8:0xFF74,0x30A9:0xFF6B, + 0x30AA:0xFF75,0x30AB:0xFF76,0x30AD:0xFF77,0x30AF:0xFF78,0x30B1:0xFF79, + 0x30B3:0xFF7A,0x30B5:0xFF7B,0x30B7:0xFF7C,0x30B9:0xFF7D,0x30BB:0xFF7E, + 0x30BD:0xFF7F,0x30BF:0xFF80,0x30C1:0xFF81,0x30C3:0xFF6F,0x30C4:0xFF82, + 0x30C6:0xFF83,0x30C8:0xFF84,0x30CA:0xFF85,0x30CB:0xFF86,0x30CC:0xFF87, + 0x30CD:0xFF88,0x30CE:0xFF89,0x30CF:0xFF8A,0x30D2:0xFF8B,0x30D5:0xFF8C, + 0x30D8:0xFF8D,0x30DB:0xFF8E,0x30DE:0xFF8F,0x30DF:0xFF90,0x30E0:0xFF91, + 0x30E1:0xFF92,0x30E2:0xFF93,0x30E3:0xFF6C,0x30E4:0xFF94,0x30E5:0xFF6D, + 0x30E6:0xFF95,0x30E7:0xFF6E,0x30E8:0xFF96,0x30E9:0xFF97,0x30EA:0xFF98, + 0x30EB:0xFF99,0x30EC:0xFF9A,0x30ED:0xFF9B,0x30EF:0xFF9C,0x30F2:0xFF66, + 0x30F3:0xFF9D,0x30FB:0xFF65,0x30FC:0xFF70 +}; + +kanaCaseTable.HANKANA_SONANTS = { + 0x30F4:0xFF73, + 0x30F7:0xFF9C, + 0x30FA:0xFF66 +}; + +kanaCaseTable.HANKANA_MARKS = [0xFF9E, 0xFF9F]; + +/** + * Zenkaku table [U+FF61] - [U+FF9F] + */ +kanaCaseTable.ZENKANA_TABLE = [ + 0x3002, 0x300C, 0x300D, 0x3001, 0x30FB, 0x30F2, 0x30A1, 0x30A3, + 0x30A5, 0x30A7, 0x30A9, 0x30E3, 0x30E5, 0x30E7, 0x30C3, 0x30FC, + 0x30A2, 0x30A4, 0x30A6, 0x30A8, 0x30AA, 0x30AB, 0x30AD, 0x30AF, + 0x30B1, 0x30B3, 0x30B5, 0x30B7, 0x30B9, 0x30BB, 0x30BD, 0x30BF, + 0x30C1, 0x30C4, 0x30C6, 0x30C8, 0x30CA, 0x30CB, 0x30CC, 0x30CD, + 0x30CE, 0x30CF, 0x30D2, 0x30D5, 0x30D8, 0x30DB, 0x30DE, 0x30DF, + 0x30E0, 0x30E1, 0x30E2, 0x30E4, 0x30E6, 0x30E8, 0x30E9, 0x30EA, + 0x30EB, 0x30EC, 0x30ED, 0x30EF, 0x30F3, 0x309B, 0x309C +]; + +var name = "encoding-japanese"; +var version$1 = "2.0.0"; +var description = "Convert or detect character encoding in JavaScript"; +var main = "src/index.js"; +var files = [ + "encoding.js", + "encoding.min.js", + "encoding.min.js.map", + "src/*" +]; +var scripts = { + build: "npm run compile && npm run minify", + compile: "browserify src/index.js -o encoding.js -s Encoding -p [ bannerify --file src/banner.js ] --no-bundle-external --bare", + minify: "uglifyjs encoding.js -o encoding.min.js --source-map \"url='encoding.min.js.map'\" --comments -c -m -b ascii_only=true,beautify=false", + test: "./node_modules/.bin/eslint . && npm run build && mocha tests/test", + watch: "watchify src/index.js -o encoding.js -s Encoding -p [ bannerify --file src/banner.js ] --no-bundle-external --bare --poll=300 -v" +}; +var engines = { + node: ">=8.10.0" +}; +var repository = { + type: "git", + url: "https://github.com/polygonplanet/encoding.js.git" +}; +var author = "polygonplanet "; +var license = "MIT"; +var bugs = { + url: "https://github.com/polygonplanet/encoding.js/issues" +}; +var homepage = "https://github.com/polygonplanet/encoding.js"; +var keywords = [ + "base64", + "charset", + "convert", + "detect", + "encoding", + "euc-jp", + "eucjp", + "iconv", + "iso-2022-jp", + "japanese", + "jis", + "shift_jis", + "sjis", + "unicode", + "urldecode", + "urlencode", + "utf-16", + "utf-32", + "utf-8" +]; +var dependencies = { +}; +var devDependencies = { + bannerify: "^1.0.1", + browserify: "^17.0.0", + eslint: "^8.12.0", + mocha: "^9.2.2", + "package-json-versionify": "^1.0.4", + "power-assert": "^1.6.1", + "uglify-js": "^3.15.3", + uglifyify: "^5.0.2", + watchify: "^4.0.0" +}; +var browserify = { + transform: [ + "package-json-versionify" + ] +}; +var require$$5 = { + name: name, + version: version$1, + description: description, + main: main, + files: files, + scripts: scripts, + engines: engines, + repository: repository, + author: author, + license: license, + bugs: bugs, + homepage: homepage, + keywords: keywords, + dependencies: dependencies, + devDependencies: devDependencies, + browserify: browserify +}; + +var config = requireConfig(); +var util$2 = requireUtil(); +var EncodingDetect = encodingDetect; +var EncodingConvert = encodingConvert; +var KanaCaseTable = kanaCaseTable; +var version = require$$5.version; + +var hasOwnProperty = Object.prototype.hasOwnProperty; + +var Encoding = { + version: version, + + /** + * Encoding orders + */ + orders: config.EncodingOrders, + + /** + * Detects character encoding + * + * If encodings is "AUTO", or the encoding-list as an array, or + * comma separated list string it will be detected automatically + * + * @param {Array.|TypedArray|string} data The data being detected + * @param {(Object|string|Array.)=} [encodings] The encoding-list of + * character encoding + * @return {string|boolean} The detected character encoding, or false + */ + detect: function(data, encodings) { + if (data == null || data.length === 0) { + return false; + } + + if (util$2.isObject(encodings) && !util$2.isArray(encodings)) { + encodings = encodings.encoding; + } + + if (util$2.isString(data)) { + data = util$2.stringToBuffer(data); + } + + if (encodings == null) { + encodings = Encoding.orders; + } else { + if (util$2.isString(encodings)) { + encodings = encodings.toUpperCase(); + if (encodings === 'AUTO') { + encodings = Encoding.orders; + } else if (~encodings.indexOf(',')) { + encodings = encodings.split(/\s*,\s*/); + } else { + encodings = [encodings]; + } + } + } + + var len = encodings.length; + var e, encoding, method; + for (var i = 0; i < len; i++) { + e = encodings[i]; + encoding = util$2.canonicalizeEncodingName(e); + if (!encoding) { + continue; + } + + method = 'is' + encoding; + if (!hasOwnProperty.call(EncodingDetect, method)) { + throw new Error('Undefined encoding: ' + e); + } + + if (EncodingDetect[method](data)) { + return encoding; + } + } + + return false; + }, + + /** + * Convert character encoding + * + * If `from` is "AUTO", or the encoding-list as an array, or + * comma separated list string it will be detected automatically + * + * @param {Array.|TypedArray|string} data The data being converted + * @param {(string|Object)} to The name of encoding to + * @param {(string|Array.)=} [from] The encoding-list of + * character encoding + * @return {Array|TypedArray|string} The converted data + */ + convert: function(data, to, from) { + var result, type, options; + + if (!util$2.isObject(to)) { + options = {}; + } else { + options = to; + from = options.from; + to = options.to; + + if (options.type) { + type = options.type; + } + } + + if (util$2.isString(data)) { + type = type || 'string'; + data = util$2.stringToBuffer(data); + } else if (data == null || data.length === 0) { + data = []; + } + + var encodingFrom; + if (from != null && util$2.isString(from) && + from.toUpperCase() !== 'AUTO' && !~from.indexOf(',')) { + encodingFrom = util$2.canonicalizeEncodingName(from); + } else { + encodingFrom = Encoding.detect(data); + } + + var encodingTo = util$2.canonicalizeEncodingName(to); + var method = encodingFrom + 'To' + encodingTo; + + if (hasOwnProperty.call(EncodingConvert, method)) { + result = EncodingConvert[method](data, options); + } else { + // Returns the raw data if the method is undefined + result = data; + } + + switch (('' + type).toLowerCase()) { + case 'string': + return util$2.codeToString_fast(result); + case 'arraybuffer': + return util$2.codeToBuffer(result); + default: // array + return util$2.bufferToCode(result); + } + }, + + /** + * Encode a character code array to URL string like encodeURIComponent + * + * @param {Array.|TypedArray} data The data being encoded + * @return {string} The percent encoded string + */ + urlEncode: function(data) { + if (util$2.isString(data)) { + data = util$2.stringToBuffer(data); + } + + var alpha = util$2.stringToCode('0123456789ABCDEF'); + var results = []; + var i = 0; + var len = data && data.length; + var b; + + for (; i < len; i++) { + b = data[i]; + + // urlEncode is for an array of numbers in the range 0-255 (Uint8Array), but if an array + // of numbers greater than 255 is passed (Unicode code unit i.e. charCodeAt range), + // it will be tentatively encoded as UTF-8 using encodeURIComponent. + if (b > 0xFF) { + return encodeURIComponent(util$2.codeToString_fast(data)); + } + + if ((b >= 0x61 /*a*/ && b <= 0x7A /*z*/) || + (b >= 0x41 /*A*/ && b <= 0x5A /*Z*/) || + (b >= 0x30 /*0*/ && b <= 0x39 /*9*/) || + b === 0x21 /*!*/ || + (b >= 0x27 /*'*/ && b <= 0x2A /***/) || + b === 0x2D /*-*/ || b === 0x2E /*.*/ || + b === 0x5F /*_*/ || b === 0x7E /*~*/ + ) { + results[results.length] = b; + } else { + results[results.length] = 0x25; /*%*/ + if (b < 0x10) { + results[results.length] = 0x30; /*0*/ + results[results.length] = alpha[b]; + } else { + results[results.length] = alpha[b >> 4 & 0xF]; + results[results.length] = alpha[b & 0xF]; + } + } + } + + return util$2.codeToString_fast(results); + }, + + /** + * Decode a percent encoded string to + * character code array like decodeURIComponent + * + * @param {string} string The data being decoded + * @return {Array.} The decoded array + */ + urlDecode: function(string) { + var results = []; + var i = 0; + var len = string && string.length; + var c; + + while (i < len) { + c = string.charCodeAt(i++); + if (c === 0x25 /*%*/) { + results[results.length] = parseInt( + string.charAt(i++) + string.charAt(i++), 16); + } else { + results[results.length] = c; + } + } + + return results; + }, + + /** + * Encode a character code array to Base64 encoded string + * + * @param {Array.|TypedArray} data The data being encoded + * @return {string} The Base64 encoded string + */ + base64Encode: function(data) { + if (util$2.isString(data)) { + data = util$2.stringToBuffer(data); + } + return util$2.base64encode(data); + }, + + /** + * Decode a Base64 encoded string to character code array + * + * @param {string} string The data being decoded + * @return {Array.} The decoded array + */ + base64Decode: function(string) { + return util$2.base64decode(string); + }, + + /** + * Joins a character code array to string + * + * @param {Array.|TypedArray} data The data being joined + * @return {String} The joined string + */ + codeToString: util$2.codeToString_fast, + + /** + * Splits string to an array of character codes + * + * @param {string} string The input string + * @return {Array.} The character code array + */ + stringToCode: util$2.stringToCode, + + /** + * 全角英数記号文字を半角英数記号文字に変換 + * + * Convert the ascii symbols and alphanumeric characters to + * the zenkaku symbols and alphanumeric characters + * + * @example + * console.log(Encoding.toHankakuCase('Hello World! 12345')); + * // 'Hello World! 12345' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toHankakuCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c >= 0xFF01 && c <= 0xFF5E) { + c -= 0xFEE0; + } + results[results.length] = c; + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 半角英数記号文字を全角英数記号文字に変換 + * + * Convert to the zenkaku symbols and alphanumeric characters + * from the ascii symbols and alphanumeric characters + * + * @example + * console.log(Encoding.toZenkakuCase('Hello World! 12345')); + * // 'Hello World! 12345' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toZenkakuCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c >= 0x21 && c <= 0x7E) { + c += 0xFEE0; + } + results[results.length] = c; + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 全角カタカナを全角ひらがなに変換 + * + * Convert to the zenkaku hiragana from the zenkaku katakana + * + * @example + * console.log(Encoding.toHiraganaCase('ボポヴァアィイゥウェエォオ')); + * // 'ぼぽう゛ぁあぃいぅうぇえぉお' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toHiraganaCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c >= 0x30A1 && c <= 0x30F6) { + c -= 0x0060; + // 「ワ゛」 => 「わ」 + 「゛」 + } else if (c === 0x30F7) { + results[results.length] = 0x308F; + c = 0x309B; + // 「ヲ゛」 => 「を」 + 「゛」 + } else if (c === 0x30FA) { + results[results.length] = 0x3092; + c = 0x309B; + } + results[results.length] = c; + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 全角ひらがなを全角カタカナに変換 + * + * Convert to the zenkaku katakana from the zenkaku hiragana + * + * @example + * console.log(Encoding.toKatakanaCase('ぼぽう゛ぁあぃいぅうぇえぉお')); + * // 'ボポヴァアィイゥウェエォオ' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toKatakanaCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c >= 0x3041 && c <= 0x3096) { + if ((c === 0x308F || // 「わ」 + 「゛」 => 「ワ゛」 + c === 0x3092) && // 「を」 + 「゛」 => 「ヲ゛」 + i < len && data[i] === 0x309B) { + c = c === 0x308F ? 0x30F7 : 0x30FA; + i++; + } else { + c += 0x0060; + } + } + results[results.length] = c; + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 全角カタカナを半角カタカナに変換 + * + * Convert to the hankaku katakana from the zenkaku katakana + * + * @example + * console.log(Encoding.toHankanaCase('ボポヴァアィイゥウェエォオ')); + * // 'ボポヴァアィイゥウェエォオ' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toHankanaCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c, d, t; + + while (i < len) { + c = data[i++]; + + if (c >= 0x3001 && c <= 0x30FC) { + t = KanaCaseTable.HANKANA_TABLE[c]; + if (t !== void 0) { + results[results.length] = t; + continue; + } + } + + // 「ヴ」, 「ワ」+「゛」, 「ヲ」+「゛」 + if (c === 0x30F4 || c === 0x30F7 || c === 0x30FA) { + results[results.length] = KanaCaseTable.HANKANA_SONANTS[c]; + results[results.length] = 0xFF9E; + // 「カ」 - 「ド」 + } else if (c >= 0x30AB && c <= 0x30C9) { + results[results.length] = KanaCaseTable.HANKANA_TABLE[c - 1]; + results[results.length] = 0xFF9E; + // 「ハ」 - 「ポ」 + } else if (c >= 0x30CF && c <= 0x30DD) { + d = c % 3; + results[results.length] = KanaCaseTable.HANKANA_TABLE[c - d]; + results[results.length] = KanaCaseTable.HANKANA_MARKS[d - 1]; + } else { + results[results.length] = c; + } + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 半角カタカナを全角カタカナに変換 (濁音含む) + * + * Convert to the zenkaku katakana from the hankaku katakana + * + * @example + * console.log(Encoding.toZenkanaCase('ボポヴァアィイゥウェエォオ')); + * // 'ボポヴァアィイゥウェエォオ' + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toZenkanaCase: function(data) { + var asString = false; + if (util$2.isString(data)) { + asString = true; + data = util$2.stringToBuffer(data); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c, code, next; + + for (i = 0; i < len; i++) { + c = data[i]; + // Hankaku katakana + if (c > 0xFF60 && c < 0xFFA0) { + code = KanaCaseTable.ZENKANA_TABLE[c - 0xFF61]; + if (i + 1 < len) { + next = data[i + 1]; + // 「゙」 + 「ヴ」 + if (next === 0xFF9E && c === 0xFF73) { + code = 0x30F4; + i++; + // 「゙」 + 「ワ゛」 + } else if (next === 0xFF9E && c === 0xFF9C) { + code = 0x30F7; + i++; + // 「゙」 + 「ヲ゛」 + } else if (next === 0xFF9E && c === 0xFF66) { + code = 0x30FA; + i++; + // 「゙」 + 「カ」 - 「コ」 or 「ハ」 - 「ホ」 + } else if (next === 0xFF9E && + ((c > 0xFF75 && c < 0xFF85) || + (c > 0xFF89 && c < 0xFF8F))) { + code++; + i++; + // 「゚」 + 「ハ」 - 「ホ」 + } else if (next === 0xFF9F && + (c > 0xFF89 && c < 0xFF8F)) { + code += 2; + i++; + } + } + c = code; + } + results[results.length] = c; + } + + return asString ? util$2.codeToString_fast(results) : results; + }, + + /** + * 全角スペースを半角スペースに変換 + * + * Convert the em space(U+3000) to the single space(U+0020) + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toHankakuSpace: function(data) { + if (util$2.isString(data)) { + return data.replace(/\u3000/g, ' '); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c === 0x3000) { + c = 0x20; + } + results[results.length] = c; + } + + return results; + }, + + /** + * 半角スペースを全角スペースに変換 + * + * Convert the single space(U+0020) to the em space(U+3000) + * + * @param {Array.|TypedArray|string} data The input unicode data + * @return {Array.|string} The conveted data + */ + toZenkakuSpace: function(data) { + if (util$2.isString(data)) { + return data.replace(/\u0020/g, '\u3000'); + } + + var results = []; + var len = data && data.length; + var i = 0; + var c; + + while (i < len) { + c = data[i++]; + if (c === 0x20) { + c = 0x3000; + } + results[results.length] = c; + } + + return results; + } +}; + +var src = Encoding; + +/* eslint quote-props: 0*/ + +var charsets$3 = { + '866': 'IBM866', + 'unicode-1-1-utf-8': 'UTF-8', + 'utf-8': 'UTF-8', + utf8: 'UTF-8', + cp866: 'IBM866', + csibm866: 'IBM866', + ibm866: 'IBM866', + csisolatin2: 'ISO-8859-2', + 'iso-8859-2': 'ISO-8859-2', + 'iso-ir-101': 'ISO-8859-2', + 'iso8859-2': 'ISO-8859-2', + iso88592: 'ISO-8859-2', + 'iso_8859-2': 'ISO-8859-2', + 'iso_8859-2:1987': 'ISO-8859-2', + l2: 'ISO-8859-2', + latin2: 'ISO-8859-2', + csisolatin3: 'ISO-8859-3', + 'iso-8859-3': 'ISO-8859-3', + 'iso-ir-109': 'ISO-8859-3', + 'iso8859-3': 'ISO-8859-3', + iso88593: 'ISO-8859-3', + 'iso_8859-3': 'ISO-8859-3', + 'iso_8859-3:1988': 'ISO-8859-3', + l3: 'ISO-8859-3', + latin3: 'ISO-8859-3', + csisolatin4: 'ISO-8859-4', + 'iso-8859-4': 'ISO-8859-4', + 'iso-ir-110': 'ISO-8859-4', + 'iso8859-4': 'ISO-8859-4', + iso88594: 'ISO-8859-4', + 'iso_8859-4': 'ISO-8859-4', + 'iso_8859-4:1988': 'ISO-8859-4', + l4: 'ISO-8859-4', + latin4: 'ISO-8859-4', + csisolatincyrillic: 'ISO-8859-5', + cyrillic: 'ISO-8859-5', + 'iso-8859-5': 'ISO-8859-5', + 'iso-ir-144': 'ISO-8859-5', + 'iso8859-5': 'ISO-8859-5', + iso88595: 'ISO-8859-5', + 'iso_8859-5': 'ISO-8859-5', + 'iso_8859-5:1988': 'ISO-8859-5', + arabic: 'ISO-8859-6', + 'asmo-708': 'ISO-8859-6', + csiso88596e: 'ISO-8859-6', + csiso88596i: 'ISO-8859-6', + csisolatinarabic: 'ISO-8859-6', + 'ecma-114': 'ISO-8859-6', + 'iso-8859-6': 'ISO-8859-6', + 'iso-8859-6-e': 'ISO-8859-6', + 'iso-8859-6-i': 'ISO-8859-6', + 'iso-ir-127': 'ISO-8859-6', + 'iso8859-6': 'ISO-8859-6', + iso88596: 'ISO-8859-6', + 'iso_8859-6': 'ISO-8859-6', + 'iso_8859-6:1987': 'ISO-8859-6', + csisolatingreek: 'ISO-8859-7', + 'ecma-118': 'ISO-8859-7', + elot_928: 'ISO-8859-7', + greek: 'ISO-8859-7', + greek8: 'ISO-8859-7', + 'iso-8859-7': 'ISO-8859-7', + 'iso-ir-126': 'ISO-8859-7', + 'iso8859-7': 'ISO-8859-7', + iso88597: 'ISO-8859-7', + 'iso_8859-7': 'ISO-8859-7', + 'iso_8859-7:1987': 'ISO-8859-7', + sun_eu_greek: 'ISO-8859-7', + csiso88598e: 'ISO-8859-8', + csisolatinhebrew: 'ISO-8859-8', + hebrew: 'ISO-8859-8', + 'iso-8859-8': 'ISO-8859-8', + 'iso-8859-8-e': 'ISO-8859-8', + 'iso-8859-8-i': 'ISO-8859-8', + 'iso-ir-138': 'ISO-8859-8', + 'iso8859-8': 'ISO-8859-8', + iso88598: 'ISO-8859-8', + 'iso_8859-8': 'ISO-8859-8', + 'iso_8859-8:1988': 'ISO-8859-8', + visual: 'ISO-8859-8', + csisolatin6: 'ISO-8859-10', + 'iso-8859-10': 'ISO-8859-10', + 'iso-ir-157': 'ISO-8859-10', + 'iso8859-10': 'ISO-8859-10', + iso885910: 'ISO-8859-10', + l6: 'ISO-8859-10', + latin6: 'ISO-8859-10', + 'iso-8859-13': 'ISO-8859-13', + 'iso8859-13': 'ISO-8859-13', + iso885913: 'ISO-8859-13', + 'iso-8859-14': 'ISO-8859-14', + 'iso8859-14': 'ISO-8859-14', + iso885914: 'ISO-8859-14', + csisolatin9: 'ISO-8859-15', + 'iso-8859-15': 'ISO-8859-15', + 'iso8859-15': 'ISO-8859-15', + iso885915: 'ISO-8859-15', + 'iso_8859-15': 'ISO-8859-15', + l9: 'ISO-8859-15', + 'iso-8859-16': 'ISO-8859-16', + cskoi8r: 'KOI8-R', + koi: 'KOI8-R', + koi8: 'KOI8-R', + 'koi8-r': 'KOI8-R', + koi8_r: 'KOI8-R', + 'koi8-ru': 'KOI8-U', + 'koi8-u': 'KOI8-U', + csmacintosh: 'macintosh', + mac: 'macintosh', + macintosh: 'macintosh', + 'x-mac-roman': 'macintosh', + 'dos-874': 'windows-874', + 'iso-8859-11': 'windows-874', + 'iso8859-11': 'windows-874', + iso885911: 'windows-874', + 'tis-620': 'windows-874', + 'windows-874': 'windows-874', + cp1250: 'windows-1250', + 'windows-1250': 'windows-1250', + 'x-cp1250': 'windows-1250', + cp1251: 'windows-1251', + 'windows-1251': 'windows-1251', + 'x-cp1251': 'windows-1251', + 'ansi_x3.4-1968': 'windows-1252', + ascii: 'windows-1252', + cp1252: 'windows-1252', + cp819: 'windows-1252', + csisolatin1: 'windows-1252', + ibm819: 'windows-1252', + 'iso-8859-1': 'windows-1252', + 'iso-ir-100': 'windows-1252', + 'iso8859-1': 'windows-1252', + iso88591: 'windows-1252', + 'iso_8859-1': 'windows-1252', + 'iso_8859-1:1987': 'windows-1252', + l1: 'windows-1252', + latin1: 'windows-1252', + 'us-ascii': 'windows-1252', + 'windows-1252': 'windows-1252', + 'x-cp1252': 'windows-1252', + cp1253: 'windows-1253', + 'windows-1253': 'windows-1253', + 'x-cp1253': 'windows-1253', + cp1254: 'windows-1254', + csisolatin5: 'windows-1254', + 'iso-8859-9': 'windows-1254', + 'iso-ir-148': 'windows-1254', + 'iso8859-9': 'windows-1254', + iso88599: 'windows-1254', + 'iso_8859-9': 'windows-1254', + 'iso_8859-9:1989': 'windows-1254', + l5: 'windows-1254', + latin5: 'windows-1254', + 'windows-1254': 'windows-1254', + 'x-cp1254': 'windows-1254', + cp1255: 'windows-1255', + 'windows-1255': 'windows-1255', + 'x-cp1255': 'windows-1255', + cp1256: 'windows-1256', + 'windows-1256': 'windows-1256', + 'x-cp1256': 'windows-1256', + cp1257: 'windows-1257', + 'windows-1257': 'windows-1257', + 'x-cp1257': 'windows-1257', + cp1258: 'windows-1258', + 'windows-1258': 'windows-1258', + 'x-cp1258': 'windows-1258', + chinese: 'GBK', + csgb2312: 'GBK', + csiso58gb231280: 'GBK', + gb2312: 'GBK', + gb_2312: 'GBK', + 'gb_2312-80': 'GBK', + gbk: 'GBK', + 'iso-ir-58': 'GBK', + 'x-gbk': 'GBK', + gb18030: 'gb18030', + big5: 'Big5', + 'big5-hkscs': 'Big5', + 'cn-big5': 'Big5', + csbig5: 'Big5', + 'x-x-big5': 'Big5', + cseucpkdfmtjapanese: 'EUC-JP', + 'euc-jp': 'EUC-JP', + 'x-euc-jp': 'EUC-JP', + csshiftjis: 'Shift_JIS', + ms932: 'Shift_JIS', + ms_kanji: 'Shift_JIS', + 'shift-jis': 'Shift_JIS', + shift_jis: 'Shift_JIS', + sjis: 'Shift_JIS', + 'windows-31j': 'Shift_JIS', + 'x-sjis': 'Shift_JIS', + cseuckr: 'EUC-KR', + csksc56011987: 'EUC-KR', + 'euc-kr': 'EUC-KR', + 'iso-ir-149': 'EUC-KR', + korean: 'EUC-KR', + 'ks_c_5601-1987': 'EUC-KR', + 'ks_c_5601-1989': 'EUC-KR', + ksc5601: 'EUC-KR', + ksc_5601: 'EUC-KR', + 'windows-949': 'EUC-KR', + 'utf-16be': 'UTF-16BE', + 'utf-16': 'UTF-16LE', + 'utf-16le': 'UTF-16LE' +}; + +const iconv$2 = libExports; +const encodingJapanese$2 = src; +const charsets$2 = charsets$3; + +/** + * Character set encoding and decoding functions + */ +const charset$2 = (charset$3.exports = { + /** + * Encodes an unicode string into an Buffer object as UTF-8 + * + * We force UTF-8 here, no strange encodings allowed. + * + * @param {String} str String to be encoded + * @return {Buffer} UTF-8 encoded typed array + */ + encode(str) { + return Buffer.from(str, 'utf-8'); + }, + + /** + * Decodes a string from Buffer to an unicode string using specified encoding + * NB! Throws if unknown charset is used + * + * @param {Buffer} buf Binary data to be decoded + * @param {String} [fromCharset='UTF-8'] Binary data is decoded into string using this charset + * @return {String} Decded string + */ + decode(buf, fromCharset) { + fromCharset = charset$2.normalizeCharset(fromCharset || 'UTF-8'); + + if (/^(us-)?ascii|utf-8|7bit$/i.test(fromCharset)) { + return buf.toString('utf-8'); + } + + try { + if (/^jis|^iso-?2022-?jp|^EUCJP/i.test(fromCharset)) { + if (typeof buf === 'string') { + buf = Buffer.from(buf); + } + try { + let output = encodingJapanese$2.convert(buf, { + to: 'UNICODE', + from: fromCharset, + type: 'string' + }); + if (typeof output === 'string') { + output = Buffer.from(output); + } + return output; + } catch (err) { + // ignore, defaults to iconv-lite on error + } + } + + return iconv$2.decode(buf, fromCharset); + } catch (err) { + // enforce utf-8, data loss might occur + return buf.toString(); + } + }, + + /** + * Convert a string from specific encoding to UTF-8 Buffer + * + * @param {String|Buffer} str String to be encoded + * @param {String} [fromCharset='UTF-8'] Source encoding for the string + * @return {Buffer} UTF-8 encoded typed array + */ + convert(data, fromCharset) { + fromCharset = charset$2.normalizeCharset(fromCharset || 'UTF-8'); + + let bufString; + + if (typeof data !== 'string') { + if (/^(us-)?ascii|utf-8|7bit$/i.test(fromCharset)) { + return data; + } + + bufString = charset$2.decode(data, fromCharset); + return charset$2.encode(bufString); + } + return charset$2.encode(data); + }, + + /** + * Converts well known invalid character set names to proper names. + * eg. win-1257 will be converted to WINDOWS-1257 + * + * @param {String} charset Charset name to convert + * @return {String} Canoninicalized charset name + */ + normalizeCharset(charset) { + charset = charset.toLowerCase().trim(); + + // first pass + if (charsets$2.hasOwnProperty(charset) && charsets$2[charset]) { + return charsets$2[charset]; + } + + charset = charset + .replace(/^utf[-_]?(\d+)/, 'utf-$1') + .replace(/^(?:us[-_]?)ascii/, 'windows-1252') + .replace(/^win(?:dows)?[-_]?(\d+)/, 'windows-$1') + .replace(/^(?:latin|iso[-_]?8859)?[-_]?(\d+)/, 'iso-8859-$1') + .replace(/^l[-_]?(\d+)/, 'iso-8859-$1'); + + // updated pass + if (charsets$2.hasOwnProperty(charset) && charsets$2[charset]) { + return charsets$2[charset]; + } + + return charset.toUpperCase(); + } +}); + +const stream$1 = require$$0$2; +const Transform$8 = stream$1.Transform; + +/** + * Encodes a Buffer into a base64 encoded string + * + * @param {Buffer} buffer Buffer to convert + * @returns {String} base64 encoded string + */ +function encode$2(buffer) { + if (typeof buffer === 'string') { + buffer = Buffer.from(buffer, 'utf-8'); + } + + return buffer.toString('base64'); +} + +/** + * Decodes a base64 encoded string to a Buffer object + * + * @param {String} str base64 encoded string + * @returns {Buffer} Decoded value + */ +function decode$2(str) { + str = str || ''; + return Buffer.from(str, 'base64'); +} + +/** + * Adds soft line breaks to a base64 string + * + * @param {String} str base64 encoded string that might need line wrapping + * @param {Number} [lineLength=76] Maximum allowed length for a line + * @returns {String} Soft-wrapped base64 encoded string + */ +function wrap$1(str, lineLength) { + str = (str || '').toString(); + lineLength = lineLength || 76; + + if (str.length <= lineLength) { + return str; + } + + let result = []; + let pos = 0; + let chunkLength = lineLength * 1024; + while (pos < str.length) { + let wrappedLines = str + .substr(pos, chunkLength) + .replace(new RegExp('.{' + lineLength + '}', 'g'), '$&\r\n') + .trim(); + result.push(wrappedLines); + pos += chunkLength; + } + + return result.join('\r\n').trim(); +} + +/** + * Creates a transform stream for encoding data to base64 encoding + * + * @constructor + * @param {Object} options Stream options + * @param {Number} [options.lineLength=76] Maximum lenght for lines, set to false to disable wrapping + */ +let Encoder$1 = class Encoder extends Transform$8 { + constructor(options) { + super(); + // init Transform + this.options = options || {}; + + if (this.options.lineLength !== false) { + this.options.lineLength = Number(this.options.lineLength) || 76; + } + + this.skipStartBytes = Number(this.options.skipStartBytes) || 0; + this.limitOutbutBytes = Number(this.options.limitOutbutBytes) || 0; + + // startPadding can be used together with skipStartBytes + this._curLine = this.options.startPadding || ''; + this._remainingBytes = false; + + this.inputBytes = 0; + this.outputBytes = 0; + } + + _writeChunk(chunk /*, isFinal */) { + if (this.skipStartBytes) { + if (chunk.length <= this.skipStartBytes) { + this.skipStartBytes -= chunk.length; + return; + } + + chunk = chunk.slice(this.skipStartBytes); + this.skipStartBytes = 0; + } + + if (this.limitOutbutBytes) { + if (this.outputBytes + chunk.length <= this.limitOutbutBytes) ; else if (this.outputBytes >= this.limitOutbutBytes) { + // chunks already processed + return; + } else { + // use partial chunk + chunk = chunk.slice(0, this.limitOutbutBytes - this.outputBytes); + } + } + + this.outputBytes += chunk.length; + this.push(chunk); + } + + _getWrapped(str, isFinal) { + str = wrap$1(str, this.options.lineLength); + if (!isFinal && str.length === this.options.lineLength) { + str += '\r\n'; + } + return str; + } + + _transform(chunk, encoding, done) { + if (encoding !== 'buffer') { + chunk = Buffer.from(chunk, encoding); + } + + if (!chunk || !chunk.length) { + return setImmediate(done); + } + + this.inputBytes += chunk.length; + + if (this._remainingBytes && this._remainingBytes.length) { + chunk = Buffer.concat([this._remainingBytes, chunk], this._remainingBytes.length + chunk.length); + this._remainingBytes = false; + } + + if (chunk.length % 3) { + this._remainingBytes = chunk.slice(chunk.length - (chunk.length % 3)); + chunk = chunk.slice(0, chunk.length - (chunk.length % 3)); + } else { + this._remainingBytes = false; + } + + let b64 = this._curLine + encode$2(chunk); + + if (this.options.lineLength) { + b64 = this._getWrapped(b64); + + // remove last line as it is still most probably incomplete + let lastLF = b64.lastIndexOf('\n'); + if (lastLF < 0) { + this._curLine = b64; + b64 = ''; + } else if (lastLF === b64.length - 1) { + this._curLine = ''; + } else { + this._curLine = b64.substr(lastLF + 1); + b64 = b64.substr(0, lastLF + 1); + } + } + + if (b64) { + this._writeChunk(Buffer.from(b64, 'ascii'), false); + } + + setImmediate(done); + } + + _flush(done) { + if (this._remainingBytes && this._remainingBytes.length) { + this._curLine += encode$2(this._remainingBytes); + } + + if (this._curLine) { + this._curLine = this._getWrapped(this._curLine, true); + this._writeChunk(Buffer.from(this._curLine, 'ascii'), true); + this._curLine = ''; + } + done(); + } +}; + +/** + * Creates a transform stream for decoding base64 encoded strings + * + * @constructor + * @param {Object} options Stream options + */ +let Decoder$1 = class Decoder extends Transform$8 { + constructor(options) { + super(); + // init Transform + this.options = options || {}; + this._curLine = ''; + + this.inputBytes = 0; + this.outputBytes = 0; + } + + _transform(chunk, encoding, done) { + if (!chunk || !chunk.length) { + return setImmediate(done); + } + + this.inputBytes += chunk.length; + + let b64 = this._curLine + chunk.toString('ascii'); + this._curLine = ''; + + if (/[^a-zA-Z0-9+/=]/.test(b64)) { + b64 = b64.replace(/[^a-zA-Z0-9+/=]/g, ''); + } + + if (b64.length < 4) { + this._curLine = b64; + b64 = ''; + } else if (b64.length % 4) { + this._curLine = b64.substr(-b64.length % 4); + b64 = b64.substr(0, b64.length - this._curLine.length); + } + + if (b64) { + let buf = decode$2(b64); + this.outputBytes += buf.length; + this.push(buf); + } + + setImmediate(done); + } + + _flush(done) { + if (this._curLine) { + let buf = decode$2(this._curLine); + this.outputBytes += buf.length; + this.push(buf); + this._curLine = ''; + } + setImmediate(done); + } +}; + +// expose to the world +var libbase64$3 = { + encode: encode$2, + decode: decode$2, + wrap: wrap$1, + Encoder: Encoder$1, + Decoder: Decoder$1 +}; + +/* eslint no-useless-escape: 0 */ + +const stream = require$$0$2; +const Transform$7 = stream.Transform; + +/** + * Encodes a Buffer into a Quoted-Printable encoded string + * + * @param {Buffer} buffer Buffer to convert + * @returns {String} Quoted-Printable encoded string + */ +function encode$1(buffer) { + if (typeof buffer === 'string') { + buffer = Buffer.from(buffer, 'utf-8'); + } + + // usable characters that do not need encoding + let ranges = [ + // https://tools.ietf.org/html/rfc2045#section-6.7 + [0x09], // + [0x0a], // + [0x0d], // + [0x20, 0x3c], // !"#$%&'()*+,-./0123456789:; + [0x3e, 0x7e] // >?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} + ]; + let result = ''; + let ord; + + for (let i = 0, len = buffer.length; i < len; i++) { + ord = buffer[i]; + // if the char is in allowed range, then keep as is, unless it is a ws in the end of a line + if (checkRanges(ord, ranges) && !((ord === 0x20 || ord === 0x09) && (i === len - 1 || buffer[i + 1] === 0x0a || buffer[i + 1] === 0x0d))) { + result += String.fromCharCode(ord); + continue; + } + result += '=' + (ord < 0x10 ? '0' : '') + ord.toString(16).toUpperCase(); + } + + return result; +} + +/** + * Decodes a Quoted-Printable encoded string to a Buffer object + * + * @param {String} str Quoted-Printable encoded string + * @returns {Buffer} Decoded value + */ +function decode$1(str) { + str = (str || '') + .toString() + // remove invalid whitespace from the end of lines + .replace(/[\t ]+$/gm, '') + // remove soft line breaks + .replace(/\=(?:\r?\n|$)/g, ''); + + let encodedBytesCount = (str.match(/\=[\da-fA-F]{2}/g) || []).length, + bufferLength = str.length - encodedBytesCount * 2, + chr, + hex, + buffer = Buffer.alloc(bufferLength), + bufferPos = 0; + + for (let i = 0, len = str.length; i < len; i++) { + chr = str.charAt(i); + if (chr === '=' && (hex = str.substr(i + 1, 2)) && /[\da-fA-F]{2}/.test(hex)) { + buffer[bufferPos++] = parseInt(hex, 16); + i += 2; + continue; + } + buffer[bufferPos++] = chr.charCodeAt(0); + } + + return buffer; +} + +/** + * Adds soft line breaks to a Quoted-Printable string + * + * @param {String} str Quoted-Printable encoded string that might need line wrapping + * @param {Number} [lineLength=76] Maximum allowed length for a line + * @returns {String} Soft-wrapped Quoted-Printable encoded string + */ +function wrap(str, lineLength) { + str = (str || '').toString(); + lineLength = lineLength || 76; + + if (str.length <= lineLength) { + return str; + } + + let pos = 0, + len = str.length, + match, + code, + line, + lineMargin = Math.floor(lineLength / 3), + result = ''; + + // insert soft linebreaks where needed + while (pos < len) { + line = str.substr(pos, lineLength); + if ((match = line.match(/\r\n/))) { + line = line.substr(0, match.index + match[0].length); + result += line; + pos += line.length; + continue; + } + + if (line.substr(-1) === '\n') { + // nothing to change here + result += line; + pos += line.length; + continue; + } else if ((match = line.substr(-lineMargin).match(/\n.*?$/))) { + // truncate to nearest line break + line = line.substr(0, line.length - (match[0].length - 1)); + result += line; + pos += line.length; + continue; + } else if (line.length > lineLength - lineMargin && (match = line.substr(-lineMargin).match(/[ \t\.,!\?][^ \t\.,!\?]*$/))) { + // truncate to nearest space + line = line.substr(0, line.length - (match[0].length - 1)); + } else if (line.match(/\=[\da-f]{0,2}$/i)) { + // push incomplete encoding sequences to the next line + if ((match = line.match(/\=[\da-f]{0,1}$/i))) { + line = line.substr(0, line.length - match[0].length); + } + + // ensure that utf-8 sequences are not split + while (line.length > 3 && line.length < len - pos && !line.match(/^(?:=[\da-f]{2}){1,4}$/i) && (match = line.match(/\=[\da-f]{2}$/gi))) { + code = parseInt(match[0].substr(1, 2), 16); + if (code < 128) { + break; + } + + line = line.substr(0, line.length - 3); + + if (code >= 0xc0) { + break; + } + } + } + + if (pos + line.length < len && line.substr(-1) !== '\n') { + if (line.length === lineLength && line.match(/\=[\da-f]{2}$/i)) { + line = line.substr(0, line.length - 3); + } else if (line.length === lineLength) { + line = line.substr(0, line.length - 1); + } + pos += line.length; + line += '=\r\n'; + } else { + pos += line.length; + } + + result += line; + } + + return result; +} + +/** + * Helper function to check if a number is inside provided ranges + * + * @param {Number} nr Number to check for + * @param {Array} ranges An Array of allowed values + * @returns {Boolean} True if the value was found inside allowed ranges, false otherwise + */ +function checkRanges(nr, ranges) { + for (let i = ranges.length - 1; i >= 0; i--) { + if (!ranges[i].length) { + continue; + } + if (ranges[i].length === 1 && nr === ranges[i][0]) { + return true; + } + if (ranges[i].length === 2 && nr >= ranges[i][0] && nr <= ranges[i][1]) { + return true; + } + } + return false; +} + +/** + * Creates a transform stream for encoding data to Quoted-Printable encoding + * + * @constructor + * @param {Object} options Stream options + * @param {Number} [options.lineLength=76] Maximum lenght for lines, set to false to disable wrapping + */ +class Encoder extends Transform$7 { + constructor(options) { + super(); + + // init Transform + this.options = options || {}; + + if (this.options.lineLength !== false) { + this.options.lineLength = this.options.lineLength || 76; + } + + this._curLine = ''; + + this.inputBytes = 0; + this.outputBytes = 0; + + Transform$7.call(this, this.options); + } + + _transform(chunk, encoding, done) { + let qp; + + if (encoding !== 'buffer') { + chunk = Buffer.from(chunk, encoding); + } + + if (!chunk || !chunk.length) { + return done(); + } + + this.inputBytes += chunk.length; + + if (this.options.lineLength) { + qp = this._curLine + encode$1(chunk); + qp = wrap(qp, this.options.lineLength); + qp = qp.replace(/(^|\n)([^\n]*)$/, (match, lineBreak, lastLine) => { + this._curLine = lastLine; + return lineBreak; + }); + + if (qp) { + this.outputBytes += qp.length; + this.push(qp); + } + } else { + qp = encode$1(chunk); + this.outputBytes += qp.length; + this.push(qp, 'ascii'); + } + + done(); + } + + _flush(done) { + if (this._curLine) { + this.outputBytes += this._curLine.length; + this.push(this._curLine, 'ascii'); + } + done(); + } +} + +/** + * Creates a transform stream for decoding Quoted-Printable encoded strings + * + * @constructor + * @param {Object} options Stream options + */ +class Decoder extends Transform$7 { + constructor(options) { + options = options || {}; + super(options); + + // init Transform + this.options = options; + this._curLine = ''; + + this.inputBytes = 0; + this.outputBytes = 0; + } + + _transform(chunk, encoding, done) { + let qp, buf; + + chunk = chunk.toString('ascii'); + + if (!chunk || !chunk.length) { + return done(); + } + + this.inputBytes += chunk.length; + + qp = this._curLine + chunk; + this._curLine = ''; + qp = qp.replace(/\=[^\n]?$/, lastLine => { + this._curLine = lastLine; + return ''; + }); + + if (qp) { + buf = decode$1(qp); + this.outputBytes += buf.length; + this.push(buf); + } + + done(); + } + + _flush(done) { + let buf; + if (this._curLine) { + buf = decode$1(this._curLine); + this.outputBytes += buf.length; + this.push(buf); + } + done(); + } +} + +// expose to the world +var libqp$3 = { + encode: encode$1, + decode: decode$1, + wrap, + Encoder, + Decoder +}; + +/* eslint quote-props: 0 */ + +var mimetypes$3 = { + list: { + 'application/acad': 'dwg', + 'application/applixware': 'aw', + 'application/arj': 'arj', + 'application/atom+xml': 'xml', + 'application/atomcat+xml': 'atomcat', + 'application/atomsvc+xml': 'atomsvc', + 'application/base64': ['mm', 'mme'], + 'application/binhex': 'hqx', + 'application/binhex4': 'hqx', + 'application/book': ['book', 'boo'], + 'application/ccxml+xml,': 'ccxml', + 'application/cdf': 'cdf', + 'application/cdmi-capability': 'cdmia', + 'application/cdmi-container': 'cdmic', + 'application/cdmi-domain': 'cdmid', + 'application/cdmi-object': 'cdmio', + 'application/cdmi-queue': 'cdmiq', + 'application/clariscad': 'ccad', + 'application/commonground': 'dp', + 'application/cu-seeme': 'cu', + 'application/davmount+xml': 'davmount', + 'application/drafting': 'drw', + 'application/dsptype': 'tsp', + 'application/dssc+der': 'dssc', + 'application/dssc+xml': 'xdssc', + 'application/dxf': 'dxf', + 'application/ecmascript': ['js', 'es'], + 'application/emma+xml': 'emma', + 'application/envoy': 'evy', + 'application/epub+zip': 'epub', + 'application/excel': ['xls', 'xl', 'xla', 'xlb', 'xlc', 'xld', 'xlk', 'xll', 'xlm', 'xlt', 'xlv', 'xlw'], + 'application/exi': 'exi', + 'application/font-tdpfr': 'pfr', + 'application/fractals': 'fif', + 'application/freeloader': 'frl', + 'application/futuresplash': 'spl', + 'application/gnutar': 'tgz', + 'application/groupwise': 'vew', + 'application/hlp': 'hlp', + 'application/hta': 'hta', + 'application/hyperstudio': 'stk', + 'application/i-deas': 'unv', + 'application/iges': ['iges', 'igs'], + 'application/inf': 'inf', + 'application/internet-property-stream': 'acx', + 'application/ipfix': 'ipfix', + 'application/java': 'class', + 'application/java-archive': 'jar', + 'application/java-byte-code': 'class', + 'application/java-serialized-object': 'ser', + 'application/java-vm': 'class', + 'application/javascript': 'js', + 'application/json': 'json', + 'application/lha': 'lha', + 'application/lzx': 'lzx', + 'application/mac-binary': 'bin', + 'application/mac-binhex': 'hqx', + 'application/mac-binhex40': 'hqx', + 'application/mac-compactpro': 'cpt', + 'application/macbinary': 'bin', + 'application/mads+xml': 'mads', + 'application/marc': 'mrc', + 'application/marcxml+xml': 'mrcx', + 'application/mathematica': 'ma', + 'application/mathml+xml': 'mathml', + 'application/mbedlet': 'mbd', + 'application/mbox': 'mbox', + 'application/mcad': 'mcd', + 'application/mediaservercontrol+xml': 'mscml', + 'application/metalink4+xml': 'meta4', + 'application/mets+xml': 'mets', + 'application/mime': 'aps', + 'application/mods+xml': 'mods', + 'application/mp21': 'm21', + 'application/mp4': 'mp4', + 'application/mspowerpoint': ['ppt', 'pot', 'pps', 'ppz'], + 'application/msword': ['doc', 'dot', 'w6w', 'wiz', 'word'], + 'application/mswrite': 'wri', + 'application/mxf': 'mxf', + 'application/netmc': 'mcp', + 'application/octet-stream': ['*'], + 'application/oda': 'oda', + 'application/oebps-package+xml': 'opf', + 'application/ogg': 'ogx', + 'application/olescript': 'axs', + 'application/onenote': 'onetoc', + 'application/patch-ops-error+xml': 'xer', + 'application/pdf': 'pdf', + 'application/pgp-encrypted': 'asc', + 'application/pgp-signature': 'pgp', + 'application/pics-rules': 'prf', + 'application/pkcs-12': 'p12', + 'application/pkcs-crl': 'crl', + 'application/pkcs10': 'p10', + 'application/pkcs7-mime': ['p7c', 'p7m'], + 'application/pkcs7-signature': 'p7s', + 'application/pkcs8': 'p8', + 'application/pkix-attr-cert': 'ac', + 'application/pkix-cert': ['cer', 'crt'], + 'application/pkix-crl': 'crl', + 'application/pkix-pkipath': 'pkipath', + 'application/pkixcmp': 'pki', + 'application/plain': 'text', + 'application/pls+xml': 'pls', + 'application/postscript': ['ps', 'ai', 'eps'], + 'application/powerpoint': 'ppt', + 'application/pro_eng': ['part', 'prt'], + 'application/prs.cww': 'cww', + 'application/pskc+xml': 'pskcxml', + 'application/rdf+xml': 'rdf', + 'application/reginfo+xml': 'rif', + 'application/relax-ng-compact-syntax': 'rnc', + 'application/resource-lists+xml': 'rl', + 'application/resource-lists-diff+xml': 'rld', + 'application/ringing-tones': 'rng', + 'application/rls-services+xml': 'rs', + 'application/rsd+xml': 'rsd', + 'application/rss+xml': 'xml', + 'application/rtf': ['rtf', 'rtx'], + 'application/sbml+xml': 'sbml', + 'application/scvp-cv-request': 'scq', + 'application/scvp-cv-response': 'scs', + 'application/scvp-vp-request': 'spq', + 'application/scvp-vp-response': 'spp', + 'application/sdp': 'sdp', + 'application/sea': 'sea', + 'application/set': 'set', + 'application/set-payment-initiation': 'setpay', + 'application/set-registration-initiation': 'setreg', + 'application/shf+xml': 'shf', + 'application/sla': 'stl', + 'application/smil': ['smi', 'smil'], + 'application/smil+xml': 'smi', + 'application/solids': 'sol', + 'application/sounder': 'sdr', + 'application/sparql-query': 'rq', + 'application/sparql-results+xml': 'srx', + 'application/srgs': 'gram', + 'application/srgs+xml': 'grxml', + 'application/sru+xml': 'sru', + 'application/ssml+xml': 'ssml', + 'application/step': ['step', 'stp'], + 'application/streamingmedia': 'ssm', + 'application/tei+xml': 'tei', + 'application/thraud+xml': 'tfi', + 'application/timestamped-data': 'tsd', + 'application/toolbook': 'tbk', + 'application/vda': 'vda', + 'application/vnd.3gpp.pic-bw-large': 'plb', + 'application/vnd.3gpp.pic-bw-small': 'psb', + 'application/vnd.3gpp.pic-bw-var': 'pvb', + 'application/vnd.3gpp2.tcap': 'tcap', + 'application/vnd.3m.post-it-notes': 'pwn', + 'application/vnd.accpac.simply.aso': 'aso', + 'application/vnd.accpac.simply.imp': 'imp', + 'application/vnd.acucobol': 'acu', + 'application/vnd.acucorp': 'atc', + 'application/vnd.adobe.air-application-installer-package+zip': 'air', + 'application/vnd.adobe.fxp': 'fxp', + 'application/vnd.adobe.xdp+xml': 'xdp', + 'application/vnd.adobe.xfdf': 'xfdf', + 'application/vnd.ahead.space': 'ahead', + 'application/vnd.airzip.filesecure.azf': 'azf', + 'application/vnd.airzip.filesecure.azs': 'azs', + 'application/vnd.amazon.ebook': 'azw', + 'application/vnd.americandynamics.acc': 'acc', + 'application/vnd.amiga.ami': 'ami', + 'application/vnd.android.package-archive': 'apk', + 'application/vnd.anser-web-certificate-issue-initiation': 'cii', + 'application/vnd.anser-web-funds-transfer-initiation': 'fti', + 'application/vnd.antix.game-component': 'atx', + 'application/vnd.apple.installer+xml': 'mpkg', + 'application/vnd.apple.mpegurl': 'm3u8', + 'application/vnd.aristanetworks.swi': 'swi', + 'application/vnd.audiograph': 'aep', + 'application/vnd.blueice.multipass': 'mpm', + 'application/vnd.bmi': 'bmi', + 'application/vnd.businessobjects': 'rep', + 'application/vnd.chemdraw+xml': 'cdxml', + 'application/vnd.chipnuts.karaoke-mmd': 'mmd', + 'application/vnd.cinderella': 'cdy', + 'application/vnd.claymore': 'cla', + 'application/vnd.cloanto.rp9': 'rp9', + 'application/vnd.clonk.c4group': 'c4g', + 'application/vnd.cluetrust.cartomobile-config': 'c11amc', + 'application/vnd.cluetrust.cartomobile-config-pkg': 'c11amz', + 'application/vnd.commonspace': 'csp', + 'application/vnd.contact.cmsg': 'cdbcmsg', + 'application/vnd.cosmocaller': 'cmc', + 'application/vnd.crick.clicker': 'clkx', + 'application/vnd.crick.clicker.keyboard': 'clkk', + 'application/vnd.crick.clicker.palette': 'clkp', + 'application/vnd.crick.clicker.template': 'clkt', + 'application/vnd.crick.clicker.wordbank': 'clkw', + 'application/vnd.criticaltools.wbs+xml': 'wbs', + 'application/vnd.ctc-posml': 'pml', + 'application/vnd.cups-ppd': 'ppd', + 'application/vnd.curl.car': 'car', + 'application/vnd.curl.pcurl': 'pcurl', + 'application/vnd.data-vision.rdz': 'rdz', + 'application/vnd.denovo.fcselayout-link': 'fe_launch', + 'application/vnd.dna': 'dna', + 'application/vnd.dolby.mlp': 'mlp', + 'application/vnd.dpgraph': 'dpg', + 'application/vnd.dreamfactory': 'dfac', + 'application/vnd.dvb.ait': 'ait', + 'application/vnd.dvb.service': 'svc', + 'application/vnd.dynageo': 'geo', + 'application/vnd.ecowin.chart': 'mag', + 'application/vnd.enliven': 'nml', + 'application/vnd.epson.esf': 'esf', + 'application/vnd.epson.msf': 'msf', + 'application/vnd.epson.quickanime': 'qam', + 'application/vnd.epson.salt': 'slt', + 'application/vnd.epson.ssf': 'ssf', + 'application/vnd.eszigno3+xml': 'es3', + 'application/vnd.ezpix-album': 'ez2', + 'application/vnd.ezpix-package': 'ez3', + 'application/vnd.fdf': 'fdf', + 'application/vnd.fdsn.seed': 'seed', + 'application/vnd.flographit': 'gph', + 'application/vnd.fluxtime.clip': 'ftc', + 'application/vnd.framemaker': 'fm', + 'application/vnd.frogans.fnc': 'fnc', + 'application/vnd.frogans.ltf': 'ltf', + 'application/vnd.fsc.weblaunch': 'fsc', + 'application/vnd.fujitsu.oasys': 'oas', + 'application/vnd.fujitsu.oasys2': 'oa2', + 'application/vnd.fujitsu.oasys3': 'oa3', + 'application/vnd.fujitsu.oasysgp': 'fg5', + 'application/vnd.fujitsu.oasysprs': 'bh2', + 'application/vnd.fujixerox.ddd': 'ddd', + 'application/vnd.fujixerox.docuworks': 'xdw', + 'application/vnd.fujixerox.docuworks.binder': 'xbd', + 'application/vnd.fuzzysheet': 'fzs', + 'application/vnd.genomatix.tuxedo': 'txd', + 'application/vnd.geogebra.file': 'ggb', + 'application/vnd.geogebra.tool': 'ggt', + 'application/vnd.geometry-explorer': 'gex', + 'application/vnd.geonext': 'gxt', + 'application/vnd.geoplan': 'g2w', + 'application/vnd.geospace': 'g3w', + 'application/vnd.gmx': 'gmx', + 'application/vnd.google-earth.kml+xml': 'kml', + 'application/vnd.google-earth.kmz': 'kmz', + 'application/vnd.grafeq': 'gqf', + 'application/vnd.groove-account': 'gac', + 'application/vnd.groove-help': 'ghf', + 'application/vnd.groove-identity-message': 'gim', + 'application/vnd.groove-injector': 'grv', + 'application/vnd.groove-tool-message': 'gtm', + 'application/vnd.groove-tool-template': 'tpl', + 'application/vnd.groove-vcard': 'vcg', + 'application/vnd.hal+xml': 'hal', + 'application/vnd.handheld-entertainment+xml': 'zmm', + 'application/vnd.hbci': 'hbci', + 'application/vnd.hhe.lesson-player': 'les', + 'application/vnd.hp-hpgl': ['hgl', 'hpg', 'hpgl'], + 'application/vnd.hp-hpid': 'hpid', + 'application/vnd.hp-hps': 'hps', + 'application/vnd.hp-jlyt': 'jlt', + 'application/vnd.hp-pcl': 'pcl', + 'application/vnd.hp-pclxl': 'pclxl', + 'application/vnd.hydrostatix.sof-data': 'sfd-hdstx', + 'application/vnd.hzn-3d-crossword': 'x3d', + 'application/vnd.ibm.minipay': 'mpy', + 'application/vnd.ibm.modcap': 'afp', + 'application/vnd.ibm.rights-management': 'irm', + 'application/vnd.ibm.secure-container': 'sc', + 'application/vnd.iccprofile': 'icc', + 'application/vnd.igloader': 'igl', + 'application/vnd.immervision-ivp': 'ivp', + 'application/vnd.immervision-ivu': 'ivu', + 'application/vnd.insors.igm': 'igm', + 'application/vnd.intercon.formnet': 'xpw', + 'application/vnd.intergeo': 'i2g', + 'application/vnd.intu.qbo': 'qbo', + 'application/vnd.intu.qfx': 'qfx', + 'application/vnd.ipunplugged.rcprofile': 'rcprofile', + 'application/vnd.irepository.package+xml': 'irp', + 'application/vnd.is-xpr': 'xpr', + 'application/vnd.isac.fcs': 'fcs', + 'application/vnd.jam': 'jam', + 'application/vnd.jcp.javame.midlet-rms': 'rms', + 'application/vnd.jisp': 'jisp', + 'application/vnd.joost.joda-archive': 'joda', + 'application/vnd.kahootz': 'ktz', + 'application/vnd.kde.karbon': 'karbon', + 'application/vnd.kde.kchart': 'chrt', + 'application/vnd.kde.kformula': 'kfo', + 'application/vnd.kde.kivio': 'flw', + 'application/vnd.kde.kontour': 'kon', + 'application/vnd.kde.kpresenter': 'kpr', + 'application/vnd.kde.kspread': 'ksp', + 'application/vnd.kde.kword': 'kwd', + 'application/vnd.kenameaapp': 'htke', + 'application/vnd.kidspiration': 'kia', + 'application/vnd.kinar': 'kne', + 'application/vnd.koan': 'skp', + 'application/vnd.kodak-descriptor': 'sse', + 'application/vnd.las.las+xml': 'lasxml', + 'application/vnd.llamagraphics.life-balance.desktop': 'lbd', + 'application/vnd.llamagraphics.life-balance.exchange+xml': 'lbe', + 'application/vnd.lotus-1-2-3': '123', + 'application/vnd.lotus-approach': 'apr', + 'application/vnd.lotus-freelance': 'pre', + 'application/vnd.lotus-notes': 'nsf', + 'application/vnd.lotus-organizer': 'org', + 'application/vnd.lotus-screencam': 'scm', + 'application/vnd.lotus-wordpro': 'lwp', + 'application/vnd.macports.portpkg': 'portpkg', + 'application/vnd.mcd': 'mcd', + 'application/vnd.medcalcdata': 'mc1', + 'application/vnd.mediastation.cdkey': 'cdkey', + 'application/vnd.mfer': 'mwf', + 'application/vnd.mfmp': 'mfm', + 'application/vnd.micrografx.flo': 'flo', + 'application/vnd.micrografx.igx': 'igx', + 'application/vnd.mif': 'mif', + 'application/vnd.mobius.daf': 'daf', + 'application/vnd.mobius.dis': 'dis', + 'application/vnd.mobius.mbk': 'mbk', + 'application/vnd.mobius.mqy': 'mqy', + 'application/vnd.mobius.msl': 'msl', + 'application/vnd.mobius.plc': 'plc', + 'application/vnd.mobius.txf': 'txf', + 'application/vnd.mophun.application': 'mpn', + 'application/vnd.mophun.certificate': 'mpc', + 'application/vnd.mozilla.xul+xml': 'xul', + 'application/vnd.ms-artgalry': 'cil', + 'application/vnd.ms-cab-compressed': 'cab', + 'application/vnd.ms-excel': ['xls', 'xla', 'xlc', 'xlm', 'xlt', 'xlw', 'xlb', 'xll'], + 'application/vnd.ms-excel.addin.macroenabled.12': 'xlam', + 'application/vnd.ms-excel.sheet.binary.macroenabled.12': 'xlsb', + 'application/vnd.ms-excel.sheet.macroenabled.12': 'xlsm', + 'application/vnd.ms-excel.template.macroenabled.12': 'xltm', + 'application/vnd.ms-fontobject': 'eot', + 'application/vnd.ms-htmlhelp': 'chm', + 'application/vnd.ms-ims': 'ims', + 'application/vnd.ms-lrm': 'lrm', + 'application/vnd.ms-officetheme': 'thmx', + 'application/vnd.ms-outlook': 'msg', + 'application/vnd.ms-pki.certstore': 'sst', + 'application/vnd.ms-pki.pko': 'pko', + 'application/vnd.ms-pki.seccat': 'cat', + 'application/vnd.ms-pki.stl': 'stl', + 'application/vnd.ms-pkicertstore': 'sst', + 'application/vnd.ms-pkiseccat': 'cat', + 'application/vnd.ms-pkistl': 'stl', + 'application/vnd.ms-powerpoint': ['ppt', 'pot', 'pps', 'ppa', 'pwz'], + 'application/vnd.ms-powerpoint.addin.macroenabled.12': 'ppam', + 'application/vnd.ms-powerpoint.presentation.macroenabled.12': 'pptm', + 'application/vnd.ms-powerpoint.slide.macroenabled.12': 'sldm', + 'application/vnd.ms-powerpoint.slideshow.macroenabled.12': 'ppsm', + 'application/vnd.ms-powerpoint.template.macroenabled.12': 'potm', + 'application/vnd.ms-project': 'mpp', + 'application/vnd.ms-word.document.macroenabled.12': 'docm', + 'application/vnd.ms-word.template.macroenabled.12': 'dotm', + 'application/vnd.ms-works': ['wks', 'wcm', 'wdb', 'wps'], + 'application/vnd.ms-wpl': 'wpl', + 'application/vnd.ms-xpsdocument': 'xps', + 'application/vnd.mseq': 'mseq', + 'application/vnd.musician': 'mus', + 'application/vnd.muvee.style': 'msty', + 'application/vnd.neurolanguage.nlu': 'nlu', + 'application/vnd.noblenet-directory': 'nnd', + 'application/vnd.noblenet-sealer': 'nns', + 'application/vnd.noblenet-web': 'nnw', + 'application/vnd.nokia.configuration-message': 'ncm', + 'application/vnd.nokia.n-gage.data': 'ngdat', + 'application/vnd.nokia.n-gage.symbian.install': 'n-gage', + 'application/vnd.nokia.radio-preset': 'rpst', + 'application/vnd.nokia.radio-presets': 'rpss', + 'application/vnd.nokia.ringing-tone': 'rng', + 'application/vnd.novadigm.edm': 'edm', + 'application/vnd.novadigm.edx': 'edx', + 'application/vnd.novadigm.ext': 'ext', + 'application/vnd.oasis.opendocument.chart': 'odc', + 'application/vnd.oasis.opendocument.chart-template': 'otc', + 'application/vnd.oasis.opendocument.database': 'odb', + 'application/vnd.oasis.opendocument.formula': 'odf', + 'application/vnd.oasis.opendocument.formula-template': 'odft', + 'application/vnd.oasis.opendocument.graphics': 'odg', + 'application/vnd.oasis.opendocument.graphics-template': 'otg', + 'application/vnd.oasis.opendocument.image': 'odi', + 'application/vnd.oasis.opendocument.image-template': 'oti', + 'application/vnd.oasis.opendocument.presentation': 'odp', + 'application/vnd.oasis.opendocument.presentation-template': 'otp', + 'application/vnd.oasis.opendocument.spreadsheet': 'ods', + 'application/vnd.oasis.opendocument.spreadsheet-template': 'ots', + 'application/vnd.oasis.opendocument.text': 'odt', + 'application/vnd.oasis.opendocument.text-master': 'odm', + 'application/vnd.oasis.opendocument.text-template': 'ott', + 'application/vnd.oasis.opendocument.text-web': 'oth', + 'application/vnd.olpc-sugar': 'xo', + 'application/vnd.oma.dd2+xml': 'dd2', + 'application/vnd.openofficeorg.extension': 'oxt', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'pptx', + 'application/vnd.openxmlformats-officedocument.presentationml.slide': 'sldx', + 'application/vnd.openxmlformats-officedocument.presentationml.slideshow': 'ppsx', + 'application/vnd.openxmlformats-officedocument.presentationml.template': 'potx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'xlsx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.template': 'xltx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'docx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.template': 'dotx', + 'application/vnd.osgeo.mapguide.package': 'mgp', + 'application/vnd.osgi.dp': 'dp', + 'application/vnd.palm': 'pdb', + 'application/vnd.pawaafile': 'paw', + 'application/vnd.pg.format': 'str', + 'application/vnd.pg.osasli': 'ei6', + 'application/vnd.picsel': 'efif', + 'application/vnd.pmi.widget': 'wg', + 'application/vnd.pocketlearn': 'plf', + 'application/vnd.powerbuilder6': 'pbd', + 'application/vnd.previewsystems.box': 'box', + 'application/vnd.proteus.magazine': 'mgz', + 'application/vnd.publishare-delta-tree': 'qps', + 'application/vnd.pvi.ptid1': 'ptid', + 'application/vnd.quark.quarkxpress': 'qxd', + 'application/vnd.realvnc.bed': 'bed', + 'application/vnd.recordare.musicxml': 'mxl', + 'application/vnd.recordare.musicxml+xml': 'musicxml', + 'application/vnd.rig.cryptonote': 'cryptonote', + 'application/vnd.rim.cod': 'cod', + 'application/vnd.rn-realmedia': 'rm', + 'application/vnd.rn-realplayer': 'rnx', + 'application/vnd.route66.link66+xml': 'link66', + 'application/vnd.sailingtracker.track': 'st', + 'application/vnd.seemail': 'see', + 'application/vnd.sema': 'sema', + 'application/vnd.semd': 'semd', + 'application/vnd.semf': 'semf', + 'application/vnd.shana.informed.formdata': 'ifm', + 'application/vnd.shana.informed.formtemplate': 'itp', + 'application/vnd.shana.informed.interchange': 'iif', + 'application/vnd.shana.informed.package': 'ipk', + 'application/vnd.simtech-mindmapper': 'twd', + 'application/vnd.smaf': 'mmf', + 'application/vnd.smart.teacher': 'teacher', + 'application/vnd.solent.sdkm+xml': 'sdkm', + 'application/vnd.spotfire.dxp': 'dxp', + 'application/vnd.spotfire.sfs': 'sfs', + 'application/vnd.stardivision.calc': 'sdc', + 'application/vnd.stardivision.draw': 'sda', + 'application/vnd.stardivision.impress': 'sdd', + 'application/vnd.stardivision.math': 'smf', + 'application/vnd.stardivision.writer': 'sdw', + 'application/vnd.stardivision.writer-global': 'sgl', + 'application/vnd.stepmania.stepchart': 'sm', + 'application/vnd.sun.xml.calc': 'sxc', + 'application/vnd.sun.xml.calc.template': 'stc', + 'application/vnd.sun.xml.draw': 'sxd', + 'application/vnd.sun.xml.draw.template': 'std', + 'application/vnd.sun.xml.impress': 'sxi', + 'application/vnd.sun.xml.impress.template': 'sti', + 'application/vnd.sun.xml.math': 'sxm', + 'application/vnd.sun.xml.writer': 'sxw', + 'application/vnd.sun.xml.writer.global': 'sxg', + 'application/vnd.sun.xml.writer.template': 'stw', + 'application/vnd.sus-calendar': 'sus', + 'application/vnd.svd': 'svd', + 'application/vnd.symbian.install': 'sis', + 'application/vnd.syncml+xml': 'xsm', + 'application/vnd.syncml.dm+wbxml': 'bdm', + 'application/vnd.syncml.dm+xml': 'xdm', + 'application/vnd.tao.intent-module-archive': 'tao', + 'application/vnd.tmobile-livetv': 'tmo', + 'application/vnd.trid.tpt': 'tpt', + 'application/vnd.triscape.mxs': 'mxs', + 'application/vnd.trueapp': 'tra', + 'application/vnd.ufdl': 'ufd', + 'application/vnd.uiq.theme': 'utz', + 'application/vnd.umajin': 'umj', + 'application/vnd.unity': 'unityweb', + 'application/vnd.uoml+xml': 'uoml', + 'application/vnd.vcx': 'vcx', + 'application/vnd.visio': 'vsd', + 'application/vnd.visionary': 'vis', + 'application/vnd.vsf': 'vsf', + 'application/vnd.wap.wbxml': 'wbxml', + 'application/vnd.wap.wmlc': 'wmlc', + 'application/vnd.wap.wmlscriptc': 'wmlsc', + 'application/vnd.webturbo': 'wtb', + 'application/vnd.wolfram.player': 'nbp', + 'application/vnd.wordperfect': 'wpd', + 'application/vnd.wqd': 'wqd', + 'application/vnd.wt.stf': 'stf', + 'application/vnd.xara': ['web', 'xar'], + 'application/vnd.xfdl': 'xfdl', + 'application/vnd.yamaha.hv-dic': 'hvd', + 'application/vnd.yamaha.hv-script': 'hvs', + 'application/vnd.yamaha.hv-voice': 'hvp', + 'application/vnd.yamaha.openscoreformat': 'osf', + 'application/vnd.yamaha.openscoreformat.osfpvg+xml': 'osfpvg', + 'application/vnd.yamaha.smaf-audio': 'saf', + 'application/vnd.yamaha.smaf-phrase': 'spf', + 'application/vnd.yellowriver-custom-menu': 'cmp', + 'application/vnd.zul': 'zir', + 'application/vnd.zzazz.deck+xml': 'zaz', + 'application/vocaltec-media-desc': 'vmd', + 'application/vocaltec-media-file': 'vmf', + 'application/voicexml+xml': 'vxml', + 'application/widget': 'wgt', + 'application/winhlp': 'hlp', + 'application/wordperfect': ['wp', 'wp5', 'wp6', 'wpd'], + 'application/wordperfect6.0': ['w60', 'wp5'], + 'application/wordperfect6.1': 'w61', + 'application/wsdl+xml': 'wsdl', + 'application/wspolicy+xml': 'wspolicy', + 'application/x-123': 'wk1', + 'application/x-7z-compressed': '7z', + 'application/x-abiword': 'abw', + 'application/x-ace-compressed': 'ace', + 'application/x-aim': 'aim', + 'application/x-authorware-bin': 'aab', + 'application/x-authorware-map': 'aam', + 'application/x-authorware-seg': 'aas', + 'application/x-bcpio': 'bcpio', + 'application/x-binary': 'bin', + 'application/x-binhex40': 'hqx', + 'application/x-bittorrent': 'torrent', + 'application/x-bsh': ['bsh', 'sh', 'shar'], + 'application/x-bytecode.elisp': 'elc', + 'applicaiton/x-bytecode.python': 'pyc', + 'application/x-bzip': 'bz', + 'application/x-bzip2': ['boz', 'bz2'], + 'application/x-cdf': 'cdf', + 'application/x-cdlink': 'vcd', + 'application/x-chat': ['cha', 'chat'], + 'application/x-chess-pgn': 'pgn', + 'application/x-cmu-raster': 'ras', + 'application/x-cocoa': 'cco', + 'application/x-compactpro': 'cpt', + 'application/x-compress': 'z', + 'application/x-compressed': ['tgz', 'gz', 'z', 'zip'], + 'application/x-conference': 'nsc', + 'application/x-cpio': 'cpio', + 'application/x-cpt': 'cpt', + 'application/x-csh': 'csh', + 'application/x-debian-package': 'deb', + 'application/x-deepv': 'deepv', + 'application/x-director': ['dir', 'dcr', 'dxr'], + 'application/x-doom': 'wad', + 'application/x-dtbncx+xml': 'ncx', + 'application/x-dtbook+xml': 'dtb', + 'application/x-dtbresource+xml': 'res', + 'application/x-dvi': 'dvi', + 'application/x-elc': 'elc', + 'application/x-envoy': ['env', 'evy'], + 'application/x-esrehber': 'es', + 'application/x-excel': ['xls', 'xla', 'xlb', 'xlc', 'xld', 'xlk', 'xll', 'xlm', 'xlt', 'xlv', 'xlw'], + 'application/x-font-bdf': 'bdf', + 'application/x-font-ghostscript': 'gsf', + 'application/x-font-linux-psf': 'psf', + 'application/x-font-otf': 'otf', + 'application/x-font-pcf': 'pcf', + 'application/x-font-snf': 'snf', + 'application/x-font-ttf': 'ttf', + 'application/x-font-type1': 'pfa', + 'application/x-font-woff': 'woff', + 'application/x-frame': 'mif', + 'application/x-freelance': 'pre', + 'application/x-futuresplash': 'spl', + 'application/x-gnumeric': 'gnumeric', + 'application/x-gsp': 'gsp', + 'application/x-gss': 'gss', + 'application/x-gtar': 'gtar', + 'application/x-gzip': ['gz', 'gzip'], + 'application/x-hdf': 'hdf', + 'application/x-helpfile': ['help', 'hlp'], + 'application/x-httpd-imap': 'imap', + 'application/x-ima': 'ima', + 'application/x-internet-signup': ['ins', 'isp'], + 'application/x-internett-signup': 'ins', + 'application/x-inventor': 'iv', + 'application/x-ip2': 'ip', + 'application/x-iphone': 'iii', + 'application/x-java-class': 'class', + 'application/x-java-commerce': 'jcm', + 'application/x-java-jnlp-file': 'jnlp', + 'application/x-javascript': 'js', + 'application/x-koan': ['skd', 'skm', 'skp', 'skt'], + 'application/x-ksh': 'ksh', + 'application/x-latex': ['latex', 'ltx'], + 'application/x-lha': 'lha', + 'application/x-lisp': 'lsp', + 'application/x-livescreen': 'ivy', + 'application/x-lotus': 'wq1', + 'application/x-lotusscreencam': 'scm', + 'application/x-lzh': 'lzh', + 'application/x-lzx': 'lzx', + 'application/x-mac-binhex40': 'hqx', + 'application/x-macbinary': 'bin', + 'application/x-magic-cap-package-1.0': 'mc$', + 'application/x-mathcad': 'mcd', + 'application/x-meme': 'mm', + 'application/x-midi': ['mid', 'midi'], + 'application/x-mif': 'mif', + 'application/x-mix-transfer': 'nix', + 'application/x-mobipocket-ebook': 'prc', + 'application/x-mplayer2': 'asx', + 'application/x-ms-application': 'application', + 'application/x-ms-wmd': 'wmd', + 'application/x-ms-wmz': 'wmz', + 'application/x-ms-xbap': 'xbap', + 'application/x-msaccess': 'mdb', + 'application/x-msbinder': 'obd', + 'application/x-mscardfile': 'crd', + 'application/x-msclip': 'clp', + 'application/x-msdownload': ['exe', 'dll'], + 'application/x-msexcel': ['xls', 'xla', 'xlw'], + 'application/x-msmediaview': ['mvb', 'm13', 'm14'], + 'application/x-msmetafile': 'wmf', + 'application/x-msmoney': 'mny', + 'application/x-mspowerpoint': 'ppt', + 'application/x-mspublisher': 'pub', + 'application/x-msschedule': 'scd', + 'application/x-msterminal': 'trm', + 'application/x-mswrite': 'wri', + 'application/x-navi-animation': 'ani', + 'application/x-navidoc': 'nvd', + 'application/x-navimap': 'map', + 'application/x-navistyle': 'stl', + 'application/x-netcdf': ['cdf', 'nc'], + 'application/x-newton-compatible-pkg': 'pkg', + 'application/x-nokia-9000-communicator-add-on-software': 'aos', + 'application/x-omc': 'omc', + 'application/x-omcdatamaker': 'omcd', + 'application/x-omcregerator': 'omcr', + 'application/x-pagemaker': ['pm4', 'pm5'], + 'application/x-pcl': 'pcl', + 'application/x-perfmon': ['pma', 'pmc', 'pml', 'pmr', 'pmw'], + 'application/x-pixclscript': 'plx', + 'application/x-pkcs10': 'p10', + 'application/x-pkcs12': ['p12', 'pfx'], + 'application/x-pkcs7-certificates': ['p7b', 'spc'], + 'application/x-pkcs7-certreqresp': 'p7r', + 'application/x-pkcs7-mime': ['p7m', 'p7c'], + 'application/x-pkcs7-signature': ['p7s', 'p7a'], + 'application/x-pointplus': 'css', + 'application/x-portable-anymap': 'pnm', + 'application/x-project': ['mpc', 'mpt', 'mpv', 'mpx'], + 'application/x-qpro': 'wb1', + 'application/x-rar-compressed': 'rar', + 'application/x-rtf': 'rtf', + 'application/x-sdp': 'sdp', + 'application/x-sea': 'sea', + 'application/x-seelogo': 'sl', + 'application/x-sh': 'sh', + 'application/x-shar': ['shar', 'sh'], + 'application/x-shockwave-flash': 'swf', + 'application/x-silverlight-app': 'xap', + 'application/x-sit': 'sit', + 'application/x-sprite': ['spr', 'sprite'], + 'application/x-stuffit': 'sit', + 'application/x-stuffitx': 'sitx', + 'application/x-sv4cpio': 'sv4cpio', + 'application/x-sv4crc': 'sv4crc', + 'application/x-tar': 'tar', + 'application/x-tbook': ['sbk', 'tbk'], + 'application/x-tcl': 'tcl', + 'application/x-tex': 'tex', + 'application/x-tex-tfm': 'tfm', + 'application/x-texinfo': ['texi', 'texinfo'], + 'application/x-troff': ['roff', 't', 'tr'], + 'application/x-troff-man': 'man', + 'application/x-troff-me': 'me', + 'application/x-troff-ms': 'ms', + 'application/x-troff-msvideo': 'avi', + 'application/x-ustar': 'ustar', + 'application/x-visio': ['vsd', 'vst', 'vsw'], + 'application/x-vnd.audioexplosion.mzz': 'mzz', + 'application/x-vnd.ls-xpix': 'xpix', + 'application/x-vrml': 'vrml', + 'application/x-wais-source': ['src', 'wsrc'], + 'application/x-winhelp': 'hlp', + 'application/x-wintalk': 'wtk', + 'application/x-world': ['wrl', 'svr'], + 'application/x-wpwin': 'wpd', + 'application/x-wri': 'wri', + 'application/x-x509-ca-cert': ['cer', 'crt', 'der'], + 'application/x-x509-user-cert': 'crt', + 'application/x-xfig': 'fig', + 'application/x-xpinstall': 'xpi', + 'application/x-zip-compressed': 'zip', + 'application/xcap-diff+xml': 'xdf', + 'application/xenc+xml': 'xenc', + 'application/xhtml+xml': 'xhtml', + 'application/xml': 'xml', + 'application/xml-dtd': 'dtd', + 'application/xop+xml': 'xop', + 'application/xslt+xml': 'xslt', + 'application/xspf+xml': 'xspf', + 'application/xv+xml': 'mxml', + 'application/yang': 'yang', + 'application/yin+xml': 'yin', + 'application/ynd.ms-pkipko': 'pko', + 'application/zip': 'zip', + 'audio/adpcm': 'adp', + 'audio/aiff': ['aiff', 'aif', 'aifc'], + 'audio/basic': ['snd', 'au'], + 'audio/it': 'it', + 'audio/make': ['funk', 'my', 'pfunk'], + 'audio/make.my.funk': 'pfunk', + 'audio/mid': ['mid', 'rmi'], + 'audio/midi': ['midi', 'kar', 'mid'], + 'audio/mod': 'mod', + 'audio/mp4': 'mp4a', + 'audio/mpeg': ['mpga', 'mp3', 'm2a', 'mp2', 'mpa', 'mpg'], + 'audio/mpeg3': 'mp3', + 'audio/nspaudio': ['la', 'lma'], + 'audio/ogg': 'oga', + 'audio/s3m': 's3m', + 'audio/tsp-audio': 'tsi', + 'audio/tsplayer': 'tsp', + 'audio/vnd.dece.audio': 'uva', + 'audio/vnd.digital-winds': 'eol', + 'audio/vnd.dra': 'dra', + 'audio/vnd.dts': 'dts', + 'audio/vnd.dts.hd': 'dtshd', + 'audio/vnd.lucent.voice': 'lvp', + 'audio/vnd.ms-playready.media.pya': 'pya', + 'audio/vnd.nuera.ecelp4800': 'ecelp4800', + 'audio/vnd.nuera.ecelp7470': 'ecelp7470', + 'audio/vnd.nuera.ecelp9600': 'ecelp9600', + 'audio/vnd.qcelp': 'qcp', + 'audio/vnd.rip': 'rip', + 'audio/voc': 'voc', + 'audio/voxware': 'vox', + 'audio/wav': 'wav', + 'audio/webm': 'weba', + 'audio/x-aac': 'aac', + 'audio/x-adpcm': 'snd', + 'audio/x-aiff': ['aiff', 'aif', 'aifc'], + 'audio/x-au': 'au', + 'audio/x-gsm': ['gsd', 'gsm'], + 'audio/x-jam': 'jam', + 'audio/x-liveaudio': 'lam', + 'audio/x-mid': ['mid', 'midi'], + 'audio/x-midi': ['midi', 'mid'], + 'audio/x-mod': 'mod', + 'audio/x-mpeg': 'mp2', + 'audio/x-mpeg-3': 'mp3', + 'audio/x-mpegurl': 'm3u', + 'audio/x-mpequrl': 'm3u', + 'audio/x-ms-wax': 'wax', + 'audio/x-ms-wma': 'wma', + 'audio/x-nspaudio': ['la', 'lma'], + 'audio/x-pn-realaudio': ['ra', 'ram', 'rm', 'rmm', 'rmp'], + 'audio/x-pn-realaudio-plugin': ['ra', 'rmp', 'rpm'], + 'audio/x-psid': 'sid', + 'audio/x-realaudio': 'ra', + 'audio/x-twinvq': 'vqf', + 'audio/x-twinvq-plugin': ['vqe', 'vql'], + 'audio/x-vnd.audioexplosion.mjuicemediafile': 'mjf', + 'audio/x-voc': 'voc', + 'audio/x-wav': 'wav', + 'audio/xm': 'xm', + 'chemical/x-cdx': 'cdx', + 'chemical/x-cif': 'cif', + 'chemical/x-cmdf': 'cmdf', + 'chemical/x-cml': 'cml', + 'chemical/x-csml': 'csml', + 'chemical/x-pdb': ['pdb', 'xyz'], + 'chemical/x-xyz': 'xyz', + 'drawing/x-dwf': 'dwf', + 'i-world/i-vrml': 'ivr', + 'image/bmp': ['bmp', 'bm'], + 'image/cgm': 'cgm', + 'image/cis-cod': 'cod', + 'image/cmu-raster': ['ras', 'rast'], + 'image/fif': 'fif', + 'image/florian': ['flo', 'turbot'], + 'image/g3fax': 'g3', + 'image/gif': 'gif', + 'image/ief': ['ief', 'iefs'], + 'image/jpeg': ['jpeg', 'jpe', 'jpg', 'jfif', 'jfif-tbnl'], + 'image/jutvision': 'jut', + 'image/ktx': 'ktx', + 'image/naplps': ['nap', 'naplps'], + 'image/pict': ['pic', 'pict'], + 'image/pipeg': 'jfif', + 'image/pjpeg': ['jfif', 'jpe', 'jpeg', 'jpg'], + 'image/png': ['png', 'x-png'], + 'image/prs.btif': 'btif', + 'image/svg+xml': 'svg', + 'image/tiff': ['tif', 'tiff'], + 'image/vasa': 'mcf', + 'image/vnd.adobe.photoshop': 'psd', + 'image/vnd.dece.graphic': 'uvi', + 'image/vnd.djvu': 'djvu', + 'image/vnd.dvb.subtitle': 'sub', + 'image/vnd.dwg': ['dwg', 'dxf', 'svf'], + 'image/vnd.dxf': 'dxf', + 'image/vnd.fastbidsheet': 'fbs', + 'image/vnd.fpx': 'fpx', + 'image/vnd.fst': 'fst', + 'image/vnd.fujixerox.edmics-mmr': 'mmr', + 'image/vnd.fujixerox.edmics-rlc': 'rlc', + 'image/vnd.ms-modi': 'mdi', + 'image/vnd.net-fpx': ['fpx', 'npx'], + 'image/vnd.rn-realflash': 'rf', + 'image/vnd.rn-realpix': 'rp', + 'image/vnd.wap.wbmp': 'wbmp', + 'image/vnd.xiff': 'xif', + 'image/webp': 'webp', + 'image/x-cmu-raster': 'ras', + 'image/x-cmx': 'cmx', + 'image/x-dwg': ['dwg', 'dxf', 'svf'], + 'image/x-freehand': 'fh', + 'image/x-icon': 'ico', + 'image/x-jg': 'art', + 'image/x-jps': 'jps', + 'image/x-niff': ['niff', 'nif'], + 'image/x-pcx': 'pcx', + 'image/x-pict': ['pct', 'pic'], + 'image/x-portable-anymap': 'pnm', + 'image/x-portable-bitmap': 'pbm', + 'image/x-portable-graymap': 'pgm', + 'image/x-portable-greymap': 'pgm', + 'image/x-portable-pixmap': 'ppm', + 'image/x-quicktime': ['qif', 'qti', 'qtif'], + 'image/x-rgb': 'rgb', + 'image/x-tiff': ['tif', 'tiff'], + 'image/x-windows-bmp': 'bmp', + 'image/x-xbitmap': 'xbm', + 'image/x-xbm': 'xbm', + 'image/x-xpixmap': ['xpm', 'pm'], + 'image/x-xwd': 'xwd', + 'image/x-xwindowdump': 'xwd', + 'image/xbm': 'xbm', + 'image/xpm': 'xpm', + 'message/rfc822': ['eml', 'mht', 'mhtml', 'nws', 'mime'], + 'model/iges': ['iges', 'igs'], + 'model/mesh': 'msh', + 'model/vnd.collada+xml': 'dae', + 'model/vnd.dwf': 'dwf', + 'model/vnd.gdl': 'gdl', + 'model/vnd.gtw': 'gtw', + 'model/vnd.mts': 'mts', + 'model/vnd.vtu': 'vtu', + 'model/vrml': ['vrml', 'wrl', 'wrz'], + 'model/x-pov': 'pov', + 'multipart/x-gzip': 'gzip', + 'multipart/x-ustar': 'ustar', + 'multipart/x-zip': 'zip', + 'music/crescendo': ['mid', 'midi'], + 'music/x-karaoke': 'kar', + 'paleovu/x-pv': 'pvu', + 'text/asp': 'asp', + 'text/calendar': 'ics', + 'text/css': 'css', + 'text/csv': 'csv', + 'text/ecmascript': 'js', + 'text/h323': '323', + 'text/html': ['html', 'htm', 'stm', 'acgi', 'htmls', 'htx', 'shtml'], + 'text/iuls': 'uls', + 'text/javascript': 'js', + 'text/mcf': 'mcf', + 'text/n3': 'n3', + 'text/pascal': 'pas', + 'text/plain': [ + 'txt', + 'bas', + 'c', + 'h', + 'c++', + 'cc', + 'com', + 'conf', + 'cxx', + 'def', + 'f', + 'f90', + 'for', + 'g', + 'hh', + 'idc', + 'jav', + 'java', + 'list', + 'log', + 'lst', + 'm', + 'mar', + 'pl', + 'sdml', + 'text' + ], + 'text/plain-bas': 'par', + 'text/prs.lines.tag': 'dsc', + 'text/richtext': ['rtx', 'rt', 'rtf'], + 'text/scriplet': 'wsc', + 'text/scriptlet': 'sct', + 'text/sgml': ['sgm', 'sgml'], + 'text/tab-separated-values': 'tsv', + 'text/troff': 't', + 'text/turtle': 'ttl', + 'text/uri-list': ['uni', 'unis', 'uri', 'uris'], + 'text/vnd.abc': 'abc', + 'text/vnd.curl': 'curl', + 'text/vnd.curl.dcurl': 'dcurl', + 'text/vnd.curl.mcurl': 'mcurl', + 'text/vnd.curl.scurl': 'scurl', + 'text/vnd.fly': 'fly', + 'text/vnd.fmi.flexstor': 'flx', + 'text/vnd.graphviz': 'gv', + 'text/vnd.in3d.3dml': '3dml', + 'text/vnd.in3d.spot': 'spot', + 'text/vnd.rn-realtext': 'rt', + 'text/vnd.sun.j2me.app-descriptor': 'jad', + 'text/vnd.wap.wml': 'wml', + 'text/vnd.wap.wmlscript': 'wmls', + 'text/webviewhtml': 'htt', + 'text/x-asm': ['asm', 's'], + 'text/x-audiosoft-intra': 'aip', + 'text/x-c': ['c', 'cc', 'cpp'], + 'text/x-component': 'htc', + 'text/x-fortran': ['for', 'f', 'f77', 'f90'], + 'text/x-h': ['h', 'hh'], + 'text/x-java-source': ['java', 'jav'], + 'text/x-java-source,java': 'java', + 'text/x-la-asf': 'lsx', + 'text/x-m': 'm', + 'text/x-pascal': 'p', + 'text/x-script': 'hlb', + 'text/x-script.csh': 'csh', + 'text/x-script.elisp': 'el', + 'text/x-script.guile': 'scm', + 'text/x-script.ksh': 'ksh', + 'text/x-script.lisp': 'lsp', + 'text/x-script.perl': 'pl', + 'text/x-script.perl-module': 'pm', + 'text/x-script.phyton': 'py', + 'text/x-script.rexx': 'rexx', + 'text/x-script.scheme': 'scm', + 'text/x-script.sh': 'sh', + 'text/x-script.tcl': 'tcl', + 'text/x-script.tcsh': 'tcsh', + 'text/x-script.zsh': 'zsh', + 'text/x-server-parsed-html': ['shtml', 'ssi'], + 'text/x-setext': 'etx', + 'text/x-sgml': ['sgm', 'sgml'], + 'text/x-speech': ['spc', 'talk'], + 'text/x-uil': 'uil', + 'text/x-uuencode': ['uu', 'uue'], + 'text/x-vcalendar': 'vcs', + 'text/x-vcard': 'vcf', + 'text/xml': 'xml', + 'video/3gpp': '3gp', + 'video/3gpp2': '3g2', + 'video/animaflex': 'afl', + 'video/avi': 'avi', + 'video/avs-video': 'avs', + 'video/dl': 'dl', + 'video/fli': 'fli', + 'video/gl': 'gl', + 'video/h261': 'h261', + 'video/h263': 'h263', + 'video/h264': 'h264', + 'video/jpeg': 'jpgv', + 'video/jpm': 'jpm', + 'video/mj2': 'mj2', + 'video/mp4': 'mp4', + 'video/mpeg': ['mpeg', 'mp2', 'mpa', 'mpe', 'mpg', 'mpv2', 'm1v', 'm2v', 'mp3'], + 'video/msvideo': 'avi', + 'video/ogg': 'ogv', + 'video/quicktime': ['mov', 'qt', 'moov'], + 'video/vdo': 'vdo', + 'video/vivo': ['viv', 'vivo'], + 'video/vnd.dece.hd': 'uvh', + 'video/vnd.dece.mobile': 'uvm', + 'video/vnd.dece.pd': 'uvp', + 'video/vnd.dece.sd': 'uvs', + 'video/vnd.dece.video': 'uvv', + 'video/vnd.fvt': 'fvt', + 'video/vnd.mpegurl': 'mxu', + 'video/vnd.ms-playready.media.pyv': 'pyv', + 'video/vnd.rn-realvideo': 'rv', + 'video/vnd.uvvu.mp4': 'uvu', + 'video/vnd.vivo': ['viv', 'vivo'], + 'video/vosaic': 'vos', + 'video/webm': 'webm', + 'video/x-amt-demorun': 'xdr', + 'video/x-amt-showrun': 'xsr', + 'video/x-atomic3d-feature': 'fmf', + 'video/x-dl': 'dl', + 'video/x-dv': ['dif', 'dv'], + 'video/x-f4v': 'f4v', + 'video/x-fli': 'fli', + 'video/x-flv': 'flv', + 'video/x-gl': 'gl', + 'video/x-isvideo': 'isu', + 'video/x-la-asf': ['lsf', 'lsx'], + 'video/x-m4v': 'm4v', + 'video/x-motion-jpeg': 'mjpg', + 'video/x-mpeg': ['mp3', 'mp2'], + 'video/x-mpeq2a': 'mp2', + 'video/x-ms-asf': ['asf', 'asr', 'asx'], + 'video/x-ms-asf-plugin': 'asx', + 'video/x-ms-wm': 'wm', + 'video/x-ms-wmv': 'wmv', + 'video/x-ms-wmx': 'wmx', + 'video/x-ms-wvx': 'wvx', + 'video/x-msvideo': 'avi', + 'video/x-qtc': 'qtc', + 'video/x-scm': 'scm', + 'video/x-sgi-movie': ['movie', 'mv'], + 'windows/metafile': 'wmf', + 'www/mime': 'mime', + 'x-conference/x-cooltalk': 'ice', + 'x-music/x-midi': ['mid', 'midi'], + 'x-world/x-3dmf': ['3dm', '3dmf', 'qd3', 'qd3d'], + 'x-world/x-svr': 'svr', + 'x-world/x-vrml': ['flr', 'vrml', 'wrl', 'wrz', 'xaf', 'xof'], + 'x-world/x-vrt': 'vrt', + 'xgl/drawing': 'xgz', + 'xgl/movie': 'xmz' + }, + + extensions: { + '*': 'application/octet-stream', + '123': 'application/vnd.lotus-1-2-3', + '323': 'text/h323', + '3dm': 'x-world/x-3dmf', + '3dmf': 'x-world/x-3dmf', + '3dml': 'text/vnd.in3d.3dml', + '3g2': 'video/3gpp2', + '3gp': 'video/3gpp', + '7z': 'application/x-7z-compressed', + a: 'application/octet-stream', + aab: 'application/x-authorware-bin', + aac: 'audio/x-aac', + aam: 'application/x-authorware-map', + aas: 'application/x-authorware-seg', + abc: 'text/vnd.abc', + abw: 'application/x-abiword', + ac: 'application/pkix-attr-cert', + acc: 'application/vnd.americandynamics.acc', + ace: 'application/x-ace-compressed', + acgi: 'text/html', + acu: 'application/vnd.acucobol', + acx: 'application/internet-property-stream', + adp: 'audio/adpcm', + aep: 'application/vnd.audiograph', + afl: 'video/animaflex', + afp: 'application/vnd.ibm.modcap', + ahead: 'application/vnd.ahead.space', + ai: 'application/postscript', + aif: ['audio/aiff', 'audio/x-aiff'], + aifc: ['audio/aiff', 'audio/x-aiff'], + aiff: ['audio/aiff', 'audio/x-aiff'], + aim: 'application/x-aim', + aip: 'text/x-audiosoft-intra', + air: 'application/vnd.adobe.air-application-installer-package+zip', + ait: 'application/vnd.dvb.ait', + ami: 'application/vnd.amiga.ami', + ani: 'application/x-navi-animation', + aos: 'application/x-nokia-9000-communicator-add-on-software', + apk: 'application/vnd.android.package-archive', + application: 'application/x-ms-application', + apr: 'application/vnd.lotus-approach', + aps: 'application/mime', + arc: 'application/octet-stream', + arj: ['application/arj', 'application/octet-stream'], + art: 'image/x-jg', + asf: 'video/x-ms-asf', + asm: 'text/x-asm', + aso: 'application/vnd.accpac.simply.aso', + asp: 'text/asp', + asr: 'video/x-ms-asf', + asx: ['video/x-ms-asf', 'application/x-mplayer2', 'video/x-ms-asf-plugin'], + atc: 'application/vnd.acucorp', + atomcat: 'application/atomcat+xml', + atomsvc: 'application/atomsvc+xml', + atx: 'application/vnd.antix.game-component', + au: ['audio/basic', 'audio/x-au'], + avi: ['video/avi', 'video/msvideo', 'application/x-troff-msvideo', 'video/x-msvideo'], + avs: 'video/avs-video', + aw: 'application/applixware', + axs: 'application/olescript', + azf: 'application/vnd.airzip.filesecure.azf', + azs: 'application/vnd.airzip.filesecure.azs', + azw: 'application/vnd.amazon.ebook', + bas: 'text/plain', + bcpio: 'application/x-bcpio', + bdf: 'application/x-font-bdf', + bdm: 'application/vnd.syncml.dm+wbxml', + bed: 'application/vnd.realvnc.bed', + bh2: 'application/vnd.fujitsu.oasysprs', + bin: ['application/octet-stream', 'application/mac-binary', 'application/macbinary', 'application/x-macbinary', 'application/x-binary'], + bm: 'image/bmp', + bmi: 'application/vnd.bmi', + bmp: ['image/bmp', 'image/x-windows-bmp'], + boo: 'application/book', + book: 'application/book', + box: 'application/vnd.previewsystems.box', + boz: 'application/x-bzip2', + bsh: 'application/x-bsh', + btif: 'image/prs.btif', + bz: 'application/x-bzip', + bz2: 'application/x-bzip2', + c: ['text/plain', 'text/x-c'], + 'c++': 'text/plain', + c11amc: 'application/vnd.cluetrust.cartomobile-config', + c11amz: 'application/vnd.cluetrust.cartomobile-config-pkg', + c4g: 'application/vnd.clonk.c4group', + cab: 'application/vnd.ms-cab-compressed', + car: 'application/vnd.curl.car', + cat: ['application/vnd.ms-pkiseccat', 'application/vnd.ms-pki.seccat'], + cc: ['text/plain', 'text/x-c'], + ccad: 'application/clariscad', + cco: 'application/x-cocoa', + ccxml: 'application/ccxml+xml,', + cdbcmsg: 'application/vnd.contact.cmsg', + cdf: ['application/cdf', 'application/x-cdf', 'application/x-netcdf'], + cdkey: 'application/vnd.mediastation.cdkey', + cdmia: 'application/cdmi-capability', + cdmic: 'application/cdmi-container', + cdmid: 'application/cdmi-domain', + cdmio: 'application/cdmi-object', + cdmiq: 'application/cdmi-queue', + cdx: 'chemical/x-cdx', + cdxml: 'application/vnd.chemdraw+xml', + cdy: 'application/vnd.cinderella', + cer: ['application/pkix-cert', 'application/x-x509-ca-cert'], + cgm: 'image/cgm', + cha: 'application/x-chat', + chat: 'application/x-chat', + chm: 'application/vnd.ms-htmlhelp', + chrt: 'application/vnd.kde.kchart', + cif: 'chemical/x-cif', + cii: 'application/vnd.anser-web-certificate-issue-initiation', + cil: 'application/vnd.ms-artgalry', + cla: 'application/vnd.claymore', + class: ['application/octet-stream', 'application/java', 'application/java-byte-code', 'application/java-vm', 'application/x-java-class'], + clkk: 'application/vnd.crick.clicker.keyboard', + clkp: 'application/vnd.crick.clicker.palette', + clkt: 'application/vnd.crick.clicker.template', + clkw: 'application/vnd.crick.clicker.wordbank', + clkx: 'application/vnd.crick.clicker', + clp: 'application/x-msclip', + cmc: 'application/vnd.cosmocaller', + cmdf: 'chemical/x-cmdf', + cml: 'chemical/x-cml', + cmp: 'application/vnd.yellowriver-custom-menu', + cmx: 'image/x-cmx', + cod: ['image/cis-cod', 'application/vnd.rim.cod'], + com: ['application/octet-stream', 'text/plain'], + conf: 'text/plain', + cpio: 'application/x-cpio', + cpp: 'text/x-c', + cpt: ['application/mac-compactpro', 'application/x-compactpro', 'application/x-cpt'], + crd: 'application/x-mscardfile', + crl: ['application/pkix-crl', 'application/pkcs-crl'], + crt: ['application/pkix-cert', 'application/x-x509-user-cert', 'application/x-x509-ca-cert'], + cryptonote: 'application/vnd.rig.cryptonote', + csh: ['text/x-script.csh', 'application/x-csh'], + csml: 'chemical/x-csml', + csp: 'application/vnd.commonspace', + css: ['text/css', 'application/x-pointplus'], + csv: 'text/csv', + cu: 'application/cu-seeme', + curl: 'text/vnd.curl', + cww: 'application/prs.cww', + cxx: 'text/plain', + dae: 'model/vnd.collada+xml', + daf: 'application/vnd.mobius.daf', + davmount: 'application/davmount+xml', + dcr: 'application/x-director', + dcurl: 'text/vnd.curl.dcurl', + dd2: 'application/vnd.oma.dd2+xml', + ddd: 'application/vnd.fujixerox.ddd', + deb: 'application/x-debian-package', + deepv: 'application/x-deepv', + def: 'text/plain', + der: 'application/x-x509-ca-cert', + dfac: 'application/vnd.dreamfactory', + dif: 'video/x-dv', + dir: 'application/x-director', + dis: 'application/vnd.mobius.dis', + djvu: 'image/vnd.djvu', + dl: ['video/dl', 'video/x-dl'], + dll: 'application/x-msdownload', + dms: 'application/octet-stream', + dna: 'application/vnd.dna', + doc: 'application/msword', + docm: 'application/vnd.ms-word.document.macroenabled.12', + docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + dot: 'application/msword', + dotm: 'application/vnd.ms-word.template.macroenabled.12', + dotx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', + dp: ['application/commonground', 'application/vnd.osgi.dp'], + dpg: 'application/vnd.dpgraph', + dra: 'audio/vnd.dra', + drw: 'application/drafting', + dsc: 'text/prs.lines.tag', + dssc: 'application/dssc+der', + dtb: 'application/x-dtbook+xml', + dtd: 'application/xml-dtd', + dts: 'audio/vnd.dts', + dtshd: 'audio/vnd.dts.hd', + dump: 'application/octet-stream', + dv: 'video/x-dv', + dvi: 'application/x-dvi', + dwf: ['model/vnd.dwf', 'drawing/x-dwf'], + dwg: ['application/acad', 'image/vnd.dwg', 'image/x-dwg'], + dxf: ['application/dxf', 'image/vnd.dwg', 'image/vnd.dxf', 'image/x-dwg'], + dxp: 'application/vnd.spotfire.dxp', + dxr: 'application/x-director', + ecelp4800: 'audio/vnd.nuera.ecelp4800', + ecelp7470: 'audio/vnd.nuera.ecelp7470', + ecelp9600: 'audio/vnd.nuera.ecelp9600', + edm: 'application/vnd.novadigm.edm', + edx: 'application/vnd.novadigm.edx', + efif: 'application/vnd.picsel', + ei6: 'application/vnd.pg.osasli', + el: 'text/x-script.elisp', + elc: ['application/x-elc', 'application/x-bytecode.elisp'], + eml: 'message/rfc822', + emma: 'application/emma+xml', + env: 'application/x-envoy', + eol: 'audio/vnd.digital-winds', + eot: 'application/vnd.ms-fontobject', + eps: 'application/postscript', + epub: 'application/epub+zip', + es: ['application/ecmascript', 'application/x-esrehber'], + es3: 'application/vnd.eszigno3+xml', + esf: 'application/vnd.epson.esf', + etx: 'text/x-setext', + evy: ['application/envoy', 'application/x-envoy'], + exe: ['application/octet-stream', 'application/x-msdownload'], + exi: 'application/exi', + ext: 'application/vnd.novadigm.ext', + ez2: 'application/vnd.ezpix-album', + ez3: 'application/vnd.ezpix-package', + f: ['text/plain', 'text/x-fortran'], + f4v: 'video/x-f4v', + f77: 'text/x-fortran', + f90: ['text/plain', 'text/x-fortran'], + fbs: 'image/vnd.fastbidsheet', + fcs: 'application/vnd.isac.fcs', + fdf: 'application/vnd.fdf', + fe_launch: 'application/vnd.denovo.fcselayout-link', + fg5: 'application/vnd.fujitsu.oasysgp', + fh: 'image/x-freehand', + fif: ['application/fractals', 'image/fif'], + fig: 'application/x-xfig', + fli: ['video/fli', 'video/x-fli'], + flo: ['image/florian', 'application/vnd.micrografx.flo'], + flr: 'x-world/x-vrml', + flv: 'video/x-flv', + flw: 'application/vnd.kde.kivio', + flx: 'text/vnd.fmi.flexstor', + fly: 'text/vnd.fly', + fm: 'application/vnd.framemaker', + fmf: 'video/x-atomic3d-feature', + fnc: 'application/vnd.frogans.fnc', + for: ['text/plain', 'text/x-fortran'], + fpx: ['image/vnd.fpx', 'image/vnd.net-fpx'], + frl: 'application/freeloader', + fsc: 'application/vnd.fsc.weblaunch', + fst: 'image/vnd.fst', + ftc: 'application/vnd.fluxtime.clip', + fti: 'application/vnd.anser-web-funds-transfer-initiation', + funk: 'audio/make', + fvt: 'video/vnd.fvt', + fxp: 'application/vnd.adobe.fxp', + fzs: 'application/vnd.fuzzysheet', + g: 'text/plain', + g2w: 'application/vnd.geoplan', + g3: 'image/g3fax', + g3w: 'application/vnd.geospace', + gac: 'application/vnd.groove-account', + gdl: 'model/vnd.gdl', + geo: 'application/vnd.dynageo', + gex: 'application/vnd.geometry-explorer', + ggb: 'application/vnd.geogebra.file', + ggt: 'application/vnd.geogebra.tool', + ghf: 'application/vnd.groove-help', + gif: 'image/gif', + gim: 'application/vnd.groove-identity-message', + gl: ['video/gl', 'video/x-gl'], + gmx: 'application/vnd.gmx', + gnumeric: 'application/x-gnumeric', + gph: 'application/vnd.flographit', + gqf: 'application/vnd.grafeq', + gram: 'application/srgs', + grv: 'application/vnd.groove-injector', + grxml: 'application/srgs+xml', + gsd: 'audio/x-gsm', + gsf: 'application/x-font-ghostscript', + gsm: 'audio/x-gsm', + gsp: 'application/x-gsp', + gss: 'application/x-gss', + gtar: 'application/x-gtar', + gtm: 'application/vnd.groove-tool-message', + gtw: 'model/vnd.gtw', + gv: 'text/vnd.graphviz', + gxt: 'application/vnd.geonext', + gz: ['application/x-gzip', 'application/x-compressed'], + gzip: ['multipart/x-gzip', 'application/x-gzip'], + h: ['text/plain', 'text/x-h'], + h261: 'video/h261', + h263: 'video/h263', + h264: 'video/h264', + hal: 'application/vnd.hal+xml', + hbci: 'application/vnd.hbci', + hdf: 'application/x-hdf', + help: 'application/x-helpfile', + hgl: 'application/vnd.hp-hpgl', + hh: ['text/plain', 'text/x-h'], + hlb: 'text/x-script', + hlp: ['application/winhlp', 'application/hlp', 'application/x-helpfile', 'application/x-winhelp'], + hpg: 'application/vnd.hp-hpgl', + hpgl: 'application/vnd.hp-hpgl', + hpid: 'application/vnd.hp-hpid', + hps: 'application/vnd.hp-hps', + hqx: [ + 'application/mac-binhex40', + 'application/binhex', + 'application/binhex4', + 'application/mac-binhex', + 'application/x-binhex40', + 'application/x-mac-binhex40' + ], + hta: 'application/hta', + htc: 'text/x-component', + htke: 'application/vnd.kenameaapp', + htm: 'text/html', + html: 'text/html', + htmls: 'text/html', + htt: 'text/webviewhtml', + htx: 'text/html', + hvd: 'application/vnd.yamaha.hv-dic', + hvp: 'application/vnd.yamaha.hv-voice', + hvs: 'application/vnd.yamaha.hv-script', + i2g: 'application/vnd.intergeo', + icc: 'application/vnd.iccprofile', + ice: 'x-conference/x-cooltalk', + ico: 'image/x-icon', + ics: 'text/calendar', + idc: 'text/plain', + ief: 'image/ief', + iefs: 'image/ief', + ifm: 'application/vnd.shana.informed.formdata', + iges: ['application/iges', 'model/iges'], + igl: 'application/vnd.igloader', + igm: 'application/vnd.insors.igm', + igs: ['application/iges', 'model/iges'], + igx: 'application/vnd.micrografx.igx', + iif: 'application/vnd.shana.informed.interchange', + iii: 'application/x-iphone', + ima: 'application/x-ima', + imap: 'application/x-httpd-imap', + imp: 'application/vnd.accpac.simply.imp', + ims: 'application/vnd.ms-ims', + inf: 'application/inf', + ins: ['application/x-internet-signup', 'application/x-internett-signup'], + ip: 'application/x-ip2', + ipfix: 'application/ipfix', + ipk: 'application/vnd.shana.informed.package', + irm: 'application/vnd.ibm.rights-management', + irp: 'application/vnd.irepository.package+xml', + isp: 'application/x-internet-signup', + isu: 'video/x-isvideo', + it: 'audio/it', + itp: 'application/vnd.shana.informed.formtemplate', + iv: 'application/x-inventor', + ivp: 'application/vnd.immervision-ivp', + ivr: 'i-world/i-vrml', + ivu: 'application/vnd.immervision-ivu', + ivy: 'application/x-livescreen', + jad: 'text/vnd.sun.j2me.app-descriptor', + jam: ['application/vnd.jam', 'audio/x-jam'], + jar: 'application/java-archive', + jav: ['text/plain', 'text/x-java-source'], + java: ['text/plain', 'text/x-java-source,java', 'text/x-java-source'], + jcm: 'application/x-java-commerce', + jfif: ['image/pipeg', 'image/jpeg', 'image/pjpeg'], + 'jfif-tbnl': 'image/jpeg', + jisp: 'application/vnd.jisp', + jlt: 'application/vnd.hp-jlyt', + jnlp: 'application/x-java-jnlp-file', + joda: 'application/vnd.joost.joda-archive', + jpe: ['image/jpeg', 'image/pjpeg'], + jpeg: ['image/jpeg', 'image/pjpeg'], + jpg: ['image/jpeg', 'image/pjpeg'], + jpgv: 'video/jpeg', + jpm: 'video/jpm', + jps: 'image/x-jps', + js: ['application/javascript', 'application/ecmascript', 'text/javascript', 'text/ecmascript', 'application/x-javascript'], + json: 'application/json', + jut: 'image/jutvision', + kar: ['audio/midi', 'music/x-karaoke'], + karbon: 'application/vnd.kde.karbon', + kfo: 'application/vnd.kde.kformula', + kia: 'application/vnd.kidspiration', + kml: 'application/vnd.google-earth.kml+xml', + kmz: 'application/vnd.google-earth.kmz', + kne: 'application/vnd.kinar', + kon: 'application/vnd.kde.kontour', + kpr: 'application/vnd.kde.kpresenter', + ksh: ['application/x-ksh', 'text/x-script.ksh'], + ksp: 'application/vnd.kde.kspread', + ktx: 'image/ktx', + ktz: 'application/vnd.kahootz', + kwd: 'application/vnd.kde.kword', + la: ['audio/nspaudio', 'audio/x-nspaudio'], + lam: 'audio/x-liveaudio', + lasxml: 'application/vnd.las.las+xml', + latex: 'application/x-latex', + lbd: 'application/vnd.llamagraphics.life-balance.desktop', + lbe: 'application/vnd.llamagraphics.life-balance.exchange+xml', + les: 'application/vnd.hhe.lesson-player', + lha: ['application/octet-stream', 'application/lha', 'application/x-lha'], + lhx: 'application/octet-stream', + link66: 'application/vnd.route66.link66+xml', + list: 'text/plain', + lma: ['audio/nspaudio', 'audio/x-nspaudio'], + log: 'text/plain', + lrm: 'application/vnd.ms-lrm', + lsf: 'video/x-la-asf', + lsp: ['application/x-lisp', 'text/x-script.lisp'], + lst: 'text/plain', + lsx: ['video/x-la-asf', 'text/x-la-asf'], + ltf: 'application/vnd.frogans.ltf', + ltx: 'application/x-latex', + lvp: 'audio/vnd.lucent.voice', + lwp: 'application/vnd.lotus-wordpro', + lzh: ['application/octet-stream', 'application/x-lzh'], + lzx: ['application/lzx', 'application/octet-stream', 'application/x-lzx'], + m: ['text/plain', 'text/x-m'], + m13: 'application/x-msmediaview', + m14: 'application/x-msmediaview', + m1v: 'video/mpeg', + m21: 'application/mp21', + m2a: 'audio/mpeg', + m2v: 'video/mpeg', + m3u: ['audio/x-mpegurl', 'audio/x-mpequrl'], + m3u8: 'application/vnd.apple.mpegurl', + m4v: 'video/x-m4v', + ma: 'application/mathematica', + mads: 'application/mads+xml', + mag: 'application/vnd.ecowin.chart', + man: 'application/x-troff-man', + map: 'application/x-navimap', + mar: 'text/plain', + mathml: 'application/mathml+xml', + mbd: 'application/mbedlet', + mbk: 'application/vnd.mobius.mbk', + mbox: 'application/mbox', + mc$: 'application/x-magic-cap-package-1.0', + mc1: 'application/vnd.medcalcdata', + mcd: ['application/mcad', 'application/vnd.mcd', 'application/x-mathcad'], + mcf: ['image/vasa', 'text/mcf'], + mcp: 'application/netmc', + mcurl: 'text/vnd.curl.mcurl', + mdb: 'application/x-msaccess', + mdi: 'image/vnd.ms-modi', + me: 'application/x-troff-me', + meta4: 'application/metalink4+xml', + mets: 'application/mets+xml', + mfm: 'application/vnd.mfmp', + mgp: 'application/vnd.osgeo.mapguide.package', + mgz: 'application/vnd.proteus.magazine', + mht: 'message/rfc822', + mhtml: 'message/rfc822', + mid: ['audio/mid', 'audio/midi', 'music/crescendo', 'x-music/x-midi', 'audio/x-midi', 'application/x-midi', 'audio/x-mid'], + midi: ['audio/midi', 'music/crescendo', 'x-music/x-midi', 'audio/x-midi', 'application/x-midi', 'audio/x-mid'], + mif: ['application/vnd.mif', 'application/x-mif', 'application/x-frame'], + mime: ['message/rfc822', 'www/mime'], + mj2: 'video/mj2', + mjf: 'audio/x-vnd.audioexplosion.mjuicemediafile', + mjpg: 'video/x-motion-jpeg', + mlp: 'application/vnd.dolby.mlp', + mm: ['application/base64', 'application/x-meme'], + mmd: 'application/vnd.chipnuts.karaoke-mmd', + mme: 'application/base64', + mmf: 'application/vnd.smaf', + mmr: 'image/vnd.fujixerox.edmics-mmr', + mny: 'application/x-msmoney', + mod: ['audio/mod', 'audio/x-mod'], + mods: 'application/mods+xml', + moov: 'video/quicktime', + mov: 'video/quicktime', + movie: 'video/x-sgi-movie', + mp2: ['video/mpeg', 'audio/mpeg', 'video/x-mpeg', 'audio/x-mpeg', 'video/x-mpeq2a'], + mp3: ['audio/mpeg', 'audio/mpeg3', 'video/mpeg', 'audio/x-mpeg-3', 'video/x-mpeg'], + mp4: ['video/mp4', 'application/mp4'], + mp4a: 'audio/mp4', + mpa: ['video/mpeg', 'audio/mpeg'], + mpc: ['application/vnd.mophun.certificate', 'application/x-project'], + mpe: 'video/mpeg', + mpeg: 'video/mpeg', + mpg: ['video/mpeg', 'audio/mpeg'], + mpga: 'audio/mpeg', + mpkg: 'application/vnd.apple.installer+xml', + mpm: 'application/vnd.blueice.multipass', + mpn: 'application/vnd.mophun.application', + mpp: 'application/vnd.ms-project', + mpt: 'application/x-project', + mpv: 'application/x-project', + mpv2: 'video/mpeg', + mpx: 'application/x-project', + mpy: 'application/vnd.ibm.minipay', + mqy: 'application/vnd.mobius.mqy', + mrc: 'application/marc', + mrcx: 'application/marcxml+xml', + ms: 'application/x-troff-ms', + mscml: 'application/mediaservercontrol+xml', + mseq: 'application/vnd.mseq', + msf: 'application/vnd.epson.msf', + msg: 'application/vnd.ms-outlook', + msh: 'model/mesh', + msl: 'application/vnd.mobius.msl', + msty: 'application/vnd.muvee.style', + mts: 'model/vnd.mts', + mus: 'application/vnd.musician', + musicxml: 'application/vnd.recordare.musicxml+xml', + mv: 'video/x-sgi-movie', + mvb: 'application/x-msmediaview', + mwf: 'application/vnd.mfer', + mxf: 'application/mxf', + mxl: 'application/vnd.recordare.musicxml', + mxml: 'application/xv+xml', + mxs: 'application/vnd.triscape.mxs', + mxu: 'video/vnd.mpegurl', + my: 'audio/make', + mzz: 'application/x-vnd.audioexplosion.mzz', + 'n-gage': 'application/vnd.nokia.n-gage.symbian.install', + n3: 'text/n3', + nap: 'image/naplps', + naplps: 'image/naplps', + nbp: 'application/vnd.wolfram.player', + nc: 'application/x-netcdf', + ncm: 'application/vnd.nokia.configuration-message', + ncx: 'application/x-dtbncx+xml', + ngdat: 'application/vnd.nokia.n-gage.data', + nif: 'image/x-niff', + niff: 'image/x-niff', + nix: 'application/x-mix-transfer', + nlu: 'application/vnd.neurolanguage.nlu', + nml: 'application/vnd.enliven', + nnd: 'application/vnd.noblenet-directory', + nns: 'application/vnd.noblenet-sealer', + nnw: 'application/vnd.noblenet-web', + npx: 'image/vnd.net-fpx', + nsc: 'application/x-conference', + nsf: 'application/vnd.lotus-notes', + nvd: 'application/x-navidoc', + nws: 'message/rfc822', + o: 'application/octet-stream', + oa2: 'application/vnd.fujitsu.oasys2', + oa3: 'application/vnd.fujitsu.oasys3', + oas: 'application/vnd.fujitsu.oasys', + obd: 'application/x-msbinder', + oda: 'application/oda', + odb: 'application/vnd.oasis.opendocument.database', + odc: 'application/vnd.oasis.opendocument.chart', + odf: 'application/vnd.oasis.opendocument.formula', + odft: 'application/vnd.oasis.opendocument.formula-template', + odg: 'application/vnd.oasis.opendocument.graphics', + odi: 'application/vnd.oasis.opendocument.image', + odm: 'application/vnd.oasis.opendocument.text-master', + odp: 'application/vnd.oasis.opendocument.presentation', + ods: 'application/vnd.oasis.opendocument.spreadsheet', + odt: 'application/vnd.oasis.opendocument.text', + oga: 'audio/ogg', + ogv: 'video/ogg', + ogx: 'application/ogg', + omc: 'application/x-omc', + omcd: 'application/x-omcdatamaker', + omcr: 'application/x-omcregerator', + onetoc: 'application/onenote', + opf: 'application/oebps-package+xml', + org: 'application/vnd.lotus-organizer', + osf: 'application/vnd.yamaha.openscoreformat', + osfpvg: 'application/vnd.yamaha.openscoreformat.osfpvg+xml', + otc: 'application/vnd.oasis.opendocument.chart-template', + otf: 'application/x-font-otf', + otg: 'application/vnd.oasis.opendocument.graphics-template', + oth: 'application/vnd.oasis.opendocument.text-web', + oti: 'application/vnd.oasis.opendocument.image-template', + otp: 'application/vnd.oasis.opendocument.presentation-template', + ots: 'application/vnd.oasis.opendocument.spreadsheet-template', + ott: 'application/vnd.oasis.opendocument.text-template', + oxt: 'application/vnd.openofficeorg.extension', + p: 'text/x-pascal', + p10: ['application/pkcs10', 'application/x-pkcs10'], + p12: ['application/pkcs-12', 'application/x-pkcs12'], + p7a: 'application/x-pkcs7-signature', + p7b: 'application/x-pkcs7-certificates', + p7c: ['application/pkcs7-mime', 'application/x-pkcs7-mime'], + p7m: ['application/pkcs7-mime', 'application/x-pkcs7-mime'], + p7r: 'application/x-pkcs7-certreqresp', + p7s: ['application/pkcs7-signature', 'application/x-pkcs7-signature'], + p8: 'application/pkcs8', + par: 'text/plain-bas', + part: 'application/pro_eng', + pas: 'text/pascal', + paw: 'application/vnd.pawaafile', + pbd: 'application/vnd.powerbuilder6', + pbm: 'image/x-portable-bitmap', + pcf: 'application/x-font-pcf', + pcl: ['application/vnd.hp-pcl', 'application/x-pcl'], + pclxl: 'application/vnd.hp-pclxl', + pct: 'image/x-pict', + pcurl: 'application/vnd.curl.pcurl', + pcx: 'image/x-pcx', + pdb: ['application/vnd.palm', 'chemical/x-pdb'], + pdf: 'application/pdf', + pfa: 'application/x-font-type1', + pfr: 'application/font-tdpfr', + pfunk: ['audio/make', 'audio/make.my.funk'], + pfx: 'application/x-pkcs12', + pgm: ['image/x-portable-graymap', 'image/x-portable-greymap'], + pgn: 'application/x-chess-pgn', + pgp: 'application/pgp-signature', + pic: ['image/pict', 'image/x-pict'], + pict: 'image/pict', + pkg: 'application/x-newton-compatible-pkg', + pki: 'application/pkixcmp', + pkipath: 'application/pkix-pkipath', + pko: ['application/ynd.ms-pkipko', 'application/vnd.ms-pki.pko'], + pl: ['text/plain', 'text/x-script.perl'], + plb: 'application/vnd.3gpp.pic-bw-large', + plc: 'application/vnd.mobius.plc', + plf: 'application/vnd.pocketlearn', + pls: 'application/pls+xml', + plx: 'application/x-pixclscript', + pm: ['text/x-script.perl-module', 'image/x-xpixmap'], + pm4: 'application/x-pagemaker', + pm5: 'application/x-pagemaker', + pma: 'application/x-perfmon', + pmc: 'application/x-perfmon', + pml: ['application/vnd.ctc-posml', 'application/x-perfmon'], + pmr: 'application/x-perfmon', + pmw: 'application/x-perfmon', + png: 'image/png', + pnm: ['application/x-portable-anymap', 'image/x-portable-anymap'], + portpkg: 'application/vnd.macports.portpkg', + pot: ['application/vnd.ms-powerpoint', 'application/mspowerpoint'], + potm: 'application/vnd.ms-powerpoint.template.macroenabled.12', + potx: 'application/vnd.openxmlformats-officedocument.presentationml.template', + pov: 'model/x-pov', + ppa: 'application/vnd.ms-powerpoint', + ppam: 'application/vnd.ms-powerpoint.addin.macroenabled.12', + ppd: 'application/vnd.cups-ppd', + ppm: 'image/x-portable-pixmap', + pps: ['application/vnd.ms-powerpoint', 'application/mspowerpoint'], + ppsm: 'application/vnd.ms-powerpoint.slideshow.macroenabled.12', + ppsx: 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', + ppt: ['application/vnd.ms-powerpoint', 'application/mspowerpoint', 'application/powerpoint', 'application/x-mspowerpoint'], + pptm: 'application/vnd.ms-powerpoint.presentation.macroenabled.12', + pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + ppz: 'application/mspowerpoint', + prc: 'application/x-mobipocket-ebook', + pre: ['application/vnd.lotus-freelance', 'application/x-freelance'], + prf: 'application/pics-rules', + prt: 'application/pro_eng', + ps: 'application/postscript', + psb: 'application/vnd.3gpp.pic-bw-small', + psd: ['application/octet-stream', 'image/vnd.adobe.photoshop'], + psf: 'application/x-font-linux-psf', + pskcxml: 'application/pskc+xml', + ptid: 'application/vnd.pvi.ptid1', + pub: 'application/x-mspublisher', + pvb: 'application/vnd.3gpp.pic-bw-var', + pvu: 'paleovu/x-pv', + pwn: 'application/vnd.3m.post-it-notes', + pwz: 'application/vnd.ms-powerpoint', + py: 'text/x-script.phyton', + pya: 'audio/vnd.ms-playready.media.pya', + pyc: 'applicaiton/x-bytecode.python', + pyv: 'video/vnd.ms-playready.media.pyv', + qam: 'application/vnd.epson.quickanime', + qbo: 'application/vnd.intu.qbo', + qcp: 'audio/vnd.qcelp', + qd3: 'x-world/x-3dmf', + qd3d: 'x-world/x-3dmf', + qfx: 'application/vnd.intu.qfx', + qif: 'image/x-quicktime', + qps: 'application/vnd.publishare-delta-tree', + qt: 'video/quicktime', + qtc: 'video/x-qtc', + qti: 'image/x-quicktime', + qtif: 'image/x-quicktime', + qxd: 'application/vnd.quark.quarkxpress', + ra: ['audio/x-realaudio', 'audio/x-pn-realaudio', 'audio/x-pn-realaudio-plugin'], + ram: 'audio/x-pn-realaudio', + rar: 'application/x-rar-compressed', + ras: ['image/cmu-raster', 'application/x-cmu-raster', 'image/x-cmu-raster'], + rast: 'image/cmu-raster', + rcprofile: 'application/vnd.ipunplugged.rcprofile', + rdf: 'application/rdf+xml', + rdz: 'application/vnd.data-vision.rdz', + rep: 'application/vnd.businessobjects', + res: 'application/x-dtbresource+xml', + rexx: 'text/x-script.rexx', + rf: 'image/vnd.rn-realflash', + rgb: 'image/x-rgb', + rif: 'application/reginfo+xml', + rip: 'audio/vnd.rip', + rl: 'application/resource-lists+xml', + rlc: 'image/vnd.fujixerox.edmics-rlc', + rld: 'application/resource-lists-diff+xml', + rm: ['application/vnd.rn-realmedia', 'audio/x-pn-realaudio'], + rmi: 'audio/mid', + rmm: 'audio/x-pn-realaudio', + rmp: ['audio/x-pn-realaudio-plugin', 'audio/x-pn-realaudio'], + rms: 'application/vnd.jcp.javame.midlet-rms', + rnc: 'application/relax-ng-compact-syntax', + rng: ['application/ringing-tones', 'application/vnd.nokia.ringing-tone'], + rnx: 'application/vnd.rn-realplayer', + roff: 'application/x-troff', + rp: 'image/vnd.rn-realpix', + rp9: 'application/vnd.cloanto.rp9', + rpm: 'audio/x-pn-realaudio-plugin', + rpss: 'application/vnd.nokia.radio-presets', + rpst: 'application/vnd.nokia.radio-preset', + rq: 'application/sparql-query', + rs: 'application/rls-services+xml', + rsd: 'application/rsd+xml', + rt: ['text/richtext', 'text/vnd.rn-realtext'], + rtf: ['application/rtf', 'text/richtext', 'application/x-rtf'], + rtx: ['text/richtext', 'application/rtf'], + rv: 'video/vnd.rn-realvideo', + s: 'text/x-asm', + s3m: 'audio/s3m', + saf: 'application/vnd.yamaha.smaf-audio', + saveme: 'application/octet-stream', + sbk: 'application/x-tbook', + sbml: 'application/sbml+xml', + sc: 'application/vnd.ibm.secure-container', + scd: 'application/x-msschedule', + scm: ['application/vnd.lotus-screencam', 'video/x-scm', 'text/x-script.guile', 'application/x-lotusscreencam', 'text/x-script.scheme'], + scq: 'application/scvp-cv-request', + scs: 'application/scvp-cv-response', + sct: 'text/scriptlet', + scurl: 'text/vnd.curl.scurl', + sda: 'application/vnd.stardivision.draw', + sdc: 'application/vnd.stardivision.calc', + sdd: 'application/vnd.stardivision.impress', + sdkm: 'application/vnd.solent.sdkm+xml', + sdml: 'text/plain', + sdp: ['application/sdp', 'application/x-sdp'], + sdr: 'application/sounder', + sdw: 'application/vnd.stardivision.writer', + sea: ['application/sea', 'application/x-sea'], + see: 'application/vnd.seemail', + seed: 'application/vnd.fdsn.seed', + sema: 'application/vnd.sema', + semd: 'application/vnd.semd', + semf: 'application/vnd.semf', + ser: 'application/java-serialized-object', + set: 'application/set', + setpay: 'application/set-payment-initiation', + setreg: 'application/set-registration-initiation', + 'sfd-hdstx': 'application/vnd.hydrostatix.sof-data', + sfs: 'application/vnd.spotfire.sfs', + sgl: 'application/vnd.stardivision.writer-global', + sgm: ['text/sgml', 'text/x-sgml'], + sgml: ['text/sgml', 'text/x-sgml'], + sh: ['application/x-shar', 'application/x-bsh', 'application/x-sh', 'text/x-script.sh'], + shar: ['application/x-bsh', 'application/x-shar'], + shf: 'application/shf+xml', + shtml: ['text/html', 'text/x-server-parsed-html'], + sid: 'audio/x-psid', + sis: 'application/vnd.symbian.install', + sit: ['application/x-stuffit', 'application/x-sit'], + sitx: 'application/x-stuffitx', + skd: 'application/x-koan', + skm: 'application/x-koan', + skp: ['application/vnd.koan', 'application/x-koan'], + skt: 'application/x-koan', + sl: 'application/x-seelogo', + sldm: 'application/vnd.ms-powerpoint.slide.macroenabled.12', + sldx: 'application/vnd.openxmlformats-officedocument.presentationml.slide', + slt: 'application/vnd.epson.salt', + sm: 'application/vnd.stepmania.stepchart', + smf: 'application/vnd.stardivision.math', + smi: ['application/smil', 'application/smil+xml'], + smil: 'application/smil', + snd: ['audio/basic', 'audio/x-adpcm'], + snf: 'application/x-font-snf', + sol: 'application/solids', + spc: ['text/x-speech', 'application/x-pkcs7-certificates'], + spf: 'application/vnd.yamaha.smaf-phrase', + spl: ['application/futuresplash', 'application/x-futuresplash'], + spot: 'text/vnd.in3d.spot', + spp: 'application/scvp-vp-response', + spq: 'application/scvp-vp-request', + spr: 'application/x-sprite', + sprite: 'application/x-sprite', + src: 'application/x-wais-source', + sru: 'application/sru+xml', + srx: 'application/sparql-results+xml', + sse: 'application/vnd.kodak-descriptor', + ssf: 'application/vnd.epson.ssf', + ssi: 'text/x-server-parsed-html', + ssm: 'application/streamingmedia', + ssml: 'application/ssml+xml', + sst: ['application/vnd.ms-pkicertstore', 'application/vnd.ms-pki.certstore'], + st: 'application/vnd.sailingtracker.track', + stc: 'application/vnd.sun.xml.calc.template', + std: 'application/vnd.sun.xml.draw.template', + step: 'application/step', + stf: 'application/vnd.wt.stf', + sti: 'application/vnd.sun.xml.impress.template', + stk: 'application/hyperstudio', + stl: ['application/vnd.ms-pkistl', 'application/sla', 'application/vnd.ms-pki.stl', 'application/x-navistyle'], + stm: 'text/html', + stp: 'application/step', + str: 'application/vnd.pg.format', + stw: 'application/vnd.sun.xml.writer.template', + sub: 'image/vnd.dvb.subtitle', + sus: 'application/vnd.sus-calendar', + sv4cpio: 'application/x-sv4cpio', + sv4crc: 'application/x-sv4crc', + svc: 'application/vnd.dvb.service', + svd: 'application/vnd.svd', + svf: ['image/vnd.dwg', 'image/x-dwg'], + svg: 'image/svg+xml', + svr: ['x-world/x-svr', 'application/x-world'], + swf: 'application/x-shockwave-flash', + swi: 'application/vnd.aristanetworks.swi', + sxc: 'application/vnd.sun.xml.calc', + sxd: 'application/vnd.sun.xml.draw', + sxg: 'application/vnd.sun.xml.writer.global', + sxi: 'application/vnd.sun.xml.impress', + sxm: 'application/vnd.sun.xml.math', + sxw: 'application/vnd.sun.xml.writer', + t: ['text/troff', 'application/x-troff'], + talk: 'text/x-speech', + tao: 'application/vnd.tao.intent-module-archive', + tar: 'application/x-tar', + tbk: ['application/toolbook', 'application/x-tbook'], + tcap: 'application/vnd.3gpp2.tcap', + tcl: ['text/x-script.tcl', 'application/x-tcl'], + tcsh: 'text/x-script.tcsh', + teacher: 'application/vnd.smart.teacher', + tei: 'application/tei+xml', + tex: 'application/x-tex', + texi: 'application/x-texinfo', + texinfo: 'application/x-texinfo', + text: ['application/plain', 'text/plain'], + tfi: 'application/thraud+xml', + tfm: 'application/x-tex-tfm', + tgz: ['application/gnutar', 'application/x-compressed'], + thmx: 'application/vnd.ms-officetheme', + tif: ['image/tiff', 'image/x-tiff'], + tiff: ['image/tiff', 'image/x-tiff'], + tmo: 'application/vnd.tmobile-livetv', + torrent: 'application/x-bittorrent', + tpl: 'application/vnd.groove-tool-template', + tpt: 'application/vnd.trid.tpt', + tr: 'application/x-troff', + tra: 'application/vnd.trueapp', + trm: 'application/x-msterminal', + tsd: 'application/timestamped-data', + tsi: 'audio/tsp-audio', + tsp: ['application/dsptype', 'audio/tsplayer'], + tsv: 'text/tab-separated-values', + ttf: 'application/x-font-ttf', + ttl: 'text/turtle', + turbot: 'image/florian', + twd: 'application/vnd.simtech-mindmapper', + txd: 'application/vnd.genomatix.tuxedo', + txf: 'application/vnd.mobius.txf', + txt: 'text/plain', + ufd: 'application/vnd.ufdl', + uil: 'text/x-uil', + uls: 'text/iuls', + umj: 'application/vnd.umajin', + uni: 'text/uri-list', + unis: 'text/uri-list', + unityweb: 'application/vnd.unity', + unv: 'application/i-deas', + uoml: 'application/vnd.uoml+xml', + uri: 'text/uri-list', + uris: 'text/uri-list', + ustar: ['application/x-ustar', 'multipart/x-ustar'], + utz: 'application/vnd.uiq.theme', + uu: ['application/octet-stream', 'text/x-uuencode'], + uue: 'text/x-uuencode', + uva: 'audio/vnd.dece.audio', + uvh: 'video/vnd.dece.hd', + uvi: 'image/vnd.dece.graphic', + uvm: 'video/vnd.dece.mobile', + uvp: 'video/vnd.dece.pd', + uvs: 'video/vnd.dece.sd', + uvu: 'video/vnd.uvvu.mp4', + uvv: 'video/vnd.dece.video', + vcd: 'application/x-cdlink', + vcf: 'text/x-vcard', + vcg: 'application/vnd.groove-vcard', + vcs: 'text/x-vcalendar', + vcx: 'application/vnd.vcx', + vda: 'application/vda', + vdo: 'video/vdo', + vew: 'application/groupwise', + vis: 'application/vnd.visionary', + viv: ['video/vivo', 'video/vnd.vivo'], + vivo: ['video/vivo', 'video/vnd.vivo'], + vmd: 'application/vocaltec-media-desc', + vmf: 'application/vocaltec-media-file', + voc: ['audio/voc', 'audio/x-voc'], + vos: 'video/vosaic', + vox: 'audio/voxware', + vqe: 'audio/x-twinvq-plugin', + vqf: 'audio/x-twinvq', + vql: 'audio/x-twinvq-plugin', + vrml: ['model/vrml', 'x-world/x-vrml', 'application/x-vrml'], + vrt: 'x-world/x-vrt', + vsd: ['application/vnd.visio', 'application/x-visio'], + vsf: 'application/vnd.vsf', + vst: 'application/x-visio', + vsw: 'application/x-visio', + vtu: 'model/vnd.vtu', + vxml: 'application/voicexml+xml', + w60: 'application/wordperfect6.0', + w61: 'application/wordperfect6.1', + w6w: 'application/msword', + wad: 'application/x-doom', + wav: ['audio/wav', 'audio/x-wav'], + wax: 'audio/x-ms-wax', + wb1: 'application/x-qpro', + wbmp: 'image/vnd.wap.wbmp', + wbs: 'application/vnd.criticaltools.wbs+xml', + wbxml: 'application/vnd.wap.wbxml', + wcm: 'application/vnd.ms-works', + wdb: 'application/vnd.ms-works', + web: 'application/vnd.xara', + weba: 'audio/webm', + webm: 'video/webm', + webp: 'image/webp', + wg: 'application/vnd.pmi.widget', + wgt: 'application/widget', + wiz: 'application/msword', + wk1: 'application/x-123', + wks: 'application/vnd.ms-works', + wm: 'video/x-ms-wm', + wma: 'audio/x-ms-wma', + wmd: 'application/x-ms-wmd', + wmf: ['windows/metafile', 'application/x-msmetafile'], + wml: 'text/vnd.wap.wml', + wmlc: 'application/vnd.wap.wmlc', + wmls: 'text/vnd.wap.wmlscript', + wmlsc: 'application/vnd.wap.wmlscriptc', + wmv: 'video/x-ms-wmv', + wmx: 'video/x-ms-wmx', + wmz: 'application/x-ms-wmz', + woff: 'application/x-font-woff', + word: 'application/msword', + wp: 'application/wordperfect', + wp5: ['application/wordperfect', 'application/wordperfect6.0'], + wp6: 'application/wordperfect', + wpd: ['application/wordperfect', 'application/vnd.wordperfect', 'application/x-wpwin'], + wpl: 'application/vnd.ms-wpl', + wps: 'application/vnd.ms-works', + wq1: 'application/x-lotus', + wqd: 'application/vnd.wqd', + wri: ['application/mswrite', 'application/x-wri', 'application/x-mswrite'], + wrl: ['model/vrml', 'x-world/x-vrml', 'application/x-world'], + wrz: ['model/vrml', 'x-world/x-vrml'], + wsc: 'text/scriplet', + wsdl: 'application/wsdl+xml', + wspolicy: 'application/wspolicy+xml', + wsrc: 'application/x-wais-source', + wtb: 'application/vnd.webturbo', + wtk: 'application/x-wintalk', + wvx: 'video/x-ms-wvx', + 'x-png': 'image/png', + x3d: 'application/vnd.hzn-3d-crossword', + xaf: 'x-world/x-vrml', + xap: 'application/x-silverlight-app', + xar: 'application/vnd.xara', + xbap: 'application/x-ms-xbap', + xbd: 'application/vnd.fujixerox.docuworks.binder', + xbm: ['image/xbm', 'image/x-xbm', 'image/x-xbitmap'], + xdf: 'application/xcap-diff+xml', + xdm: 'application/vnd.syncml.dm+xml', + xdp: 'application/vnd.adobe.xdp+xml', + xdr: 'video/x-amt-demorun', + xdssc: 'application/dssc+xml', + xdw: 'application/vnd.fujixerox.docuworks', + xenc: 'application/xenc+xml', + xer: 'application/patch-ops-error+xml', + xfdf: 'application/vnd.adobe.xfdf', + xfdl: 'application/vnd.xfdl', + xgz: 'xgl/drawing', + xhtml: 'application/xhtml+xml', + xif: 'image/vnd.xiff', + xl: 'application/excel', + xla: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xlam: 'application/vnd.ms-excel.addin.macroenabled.12', + xlb: ['application/excel', 'application/vnd.ms-excel', 'application/x-excel'], + xlc: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xld: ['application/excel', 'application/x-excel'], + xlk: ['application/excel', 'application/x-excel'], + xll: ['application/excel', 'application/vnd.ms-excel', 'application/x-excel'], + xlm: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xls: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xlsb: 'application/vnd.ms-excel.sheet.binary.macroenabled.12', + xlsm: 'application/vnd.ms-excel.sheet.macroenabled.12', + xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + xlt: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xltm: 'application/vnd.ms-excel.template.macroenabled.12', + xltx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', + xlv: ['application/excel', 'application/x-excel'], + xlw: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xm: 'audio/xm', + xml: ['application/xml', 'text/xml', 'application/atom+xml', 'application/rss+xml'], + xmz: 'xgl/movie', + xo: 'application/vnd.olpc-sugar', + xof: 'x-world/x-vrml', + xop: 'application/xop+xml', + xpi: 'application/x-xpinstall', + xpix: 'application/x-vnd.ls-xpix', + xpm: ['image/xpm', 'image/x-xpixmap'], + xpr: 'application/vnd.is-xpr', + xps: 'application/vnd.ms-xpsdocument', + xpw: 'application/vnd.intercon.formnet', + xslt: 'application/xslt+xml', + xsm: 'application/vnd.syncml+xml', + xspf: 'application/xspf+xml', + xsr: 'video/x-amt-showrun', + xul: 'application/vnd.mozilla.xul+xml', + xwd: ['image/x-xwd', 'image/x-xwindowdump'], + xyz: ['chemical/x-xyz', 'chemical/x-pdb'], + yang: 'application/yang', + yin: 'application/yin+xml', + z: ['application/x-compressed', 'application/x-compress'], + zaz: 'application/vnd.zzazz.deck+xml', + zip: ['application/zip', 'multipart/x-zip', 'application/x-zip-compressed', 'application/x-compressed'], + zir: 'application/vnd.zul', + zmm: 'application/vnd.handheld-entertainment+xml', + zoo: 'application/octet-stream', + zsh: 'text/x-script.zsh' + } +}; + +/* eslint no-control-regex: 0, no-div-regex: 0, quotes: 0 */ + +const libcharset$1 = charsetExports$1; +const libbase64$2 = libbase64$3; +const libqp$2 = libqp$3; +const mimetypes$2 = mimetypes$3; + +const STAGE_KEY$1 = 0x1001; +const STAGE_VALUE$1 = 0x1002; + +let Libmime$1 = class Libmime { + constructor(config) { + this.config = config || {}; + } + + /** + * Checks if a value is plaintext string (uses only printable 7bit chars) + * + * @param {String} value String to be tested + * @returns {Boolean} true if it is a plaintext string + */ + isPlainText(value) { + if (typeof value !== 'string' || /[\x00-\x08\x0b\x0c\x0e-\x1f\u0080-\uFFFF]/.test(value)) { + return false; + } else { + return true; + } + } + + /** + * Checks if a multi line string containes lines longer than the selected value. + * + * Useful when detecting if a mail message needs any processing at all – + * if only plaintext characters are used and lines are short, then there is + * no need to encode the values in any way. If the value is plaintext but has + * longer lines then allowed, then use format=flowed + * + * @param {Number} lineLength Max line length to check for + * @returns {Boolean} Returns true if there is at least one line longer than lineLength chars + */ + hasLongerLines(str, lineLength) { + return new RegExp('^.{' + (lineLength + 1) + ',}', 'm').test(str); + } + + /** + * Decodes a string from a format=flowed soft wrapping. + * + * @param {String} str Plaintext string with format=flowed to decode + * @param {Boolean} [delSp] If true, delete leading spaces (delsp=yes) + * @return {String} Mime decoded string + */ + decodeFlowed(str, delSp) { + str = (str || '').toString(); + + return ( + str + .split(/\r?\n/) + // remove soft linebreaks + // soft linebreaks are added after space symbols + .reduce((previousValue, currentValue) => { + if (/ $/.test(previousValue) && !/(^|\n)-- $/.test(previousValue)) { + if (delSp) { + // delsp adds space to text to be able to fold it + // these spaces can be removed once the text is unfolded + return previousValue.slice(0, -1) + currentValue; + } else { + return previousValue + currentValue; + } + } else { + return previousValue + '\n' + currentValue; + } + }) + // remove whitespace stuffing + // http://tools.ietf.org/html/rfc3676#section-4.4 + .replace(/^ /gm, '') + ); + } + + /** + * Adds soft line breaks to content marked with format=flowed to + * ensure that no line in the message is never longer than lineLength + * + * @param {String} str Plaintext string that requires wrapping + * @param {Number} [lineLength=76] Maximum length of a line + * @return {String} String with forced line breaks + */ + encodeFlowed(str, lineLength) { + lineLength = lineLength || 76; + + let flowed = []; + str.split(/\r?\n/).forEach(line => { + flowed.push( + this.foldLines( + line + // space stuffing http://tools.ietf.org/html/rfc3676#section-4.2 + .replace(/^( |From|>)/gim, ' $1'), + lineLength, + true + ) + ); + }); + return flowed.join('\r\n'); + } + + /** + * Encodes a string or an Buffer to an UTF-8 MIME Word (rfc2047) + * + * @param {String|Buffer} data String to be encoded + * @param {String} mimeWordEncoding='Q' Encoding for the mime word, either Q or B + * @param {Number} [maxLength=0] If set, split mime words into several chunks if needed + * @return {String} Single or several mime words joined together + */ + encodeWord(data, mimeWordEncoding, maxLength) { + mimeWordEncoding = (mimeWordEncoding || 'Q').toString().toUpperCase().trim().charAt(0); + maxLength = maxLength || 0; + + let encodedStr; + let toCharset = 'UTF-8'; + + if (maxLength && maxLength > 7 + toCharset.length) { + maxLength -= 7 + toCharset.length; + } + + if (mimeWordEncoding === 'Q') { + // https://tools.ietf.org/html/rfc2047#section-5 rule (3) + encodedStr = libqp$2.encode(data).replace(/[^a-z0-9!*+\-/=]/gi, chr => { + let ord = chr.charCodeAt(0).toString(16).toUpperCase(); + if (chr === ' ') { + return '_'; + } else { + return '=' + (ord.length === 1 ? '0' + ord : ord); + } + }); + } else if (mimeWordEncoding === 'B') { + encodedStr = typeof data === 'string' ? data : libbase64$2.encode(data); + maxLength = maxLength ? Math.max(3, ((maxLength - (maxLength % 4)) / 4) * 3) : 0; + } + + if (maxLength && (mimeWordEncoding !== 'B' ? encodedStr : libbase64$2.encode(data)).length > maxLength) { + if (mimeWordEncoding === 'Q') { + encodedStr = this.splitMimeEncodedString(encodedStr, maxLength).join('?= =?' + toCharset + '?' + mimeWordEncoding + '?'); + } else { + // RFC2047 6.3 (2) states that encoded-word must include an integral number of characters, so no chopping unicode sequences + let parts = []; + let lpart = ''; + for (let i = 0, len = encodedStr.length; i < len; i++) { + let chr = encodedStr.charAt(i); + // check if we can add this character to the existing string + // without breaking byte length limit + if (Buffer.byteLength(lpart + chr) <= maxLength || i === 0) { + lpart += chr; + } else { + // we hit the length limit, so push the existing string and start over + parts.push(libbase64$2.encode(lpart)); + lpart = chr; + } + } + if (lpart) { + parts.push(libbase64$2.encode(lpart)); + } + + if (parts.length > 1) { + encodedStr = parts.join('?= =?' + toCharset + '?' + mimeWordEncoding + '?'); + } else { + encodedStr = parts.join(''); + } + } + } else if (mimeWordEncoding === 'B') { + encodedStr = libbase64$2.encode(data); + } + + return '=?' + toCharset + '?' + mimeWordEncoding + '?' + encodedStr + (encodedStr.substr(-2) === '?=' ? '' : '?='); + } + + /** + * Decode a complete mime word encoded string + * + * @param {String} str Mime word encoded string + * @return {String} Decoded unicode string + */ + decodeWord(charset, encoding, str) { + // RFC2231 added language tag to the encoding + // see: https://tools.ietf.org/html/rfc2231#section-5 + // this implementation silently ignores this tag + let splitPos = charset.indexOf('*'); + if (splitPos >= 0) { + charset = charset.substr(0, splitPos); + } + charset = libcharset$1.normalizeCharset(charset); + + encoding = encoding.toUpperCase(); + + if (encoding === 'Q') { + str = str + // remove spaces between = and hex char, this might indicate invalidly applied line splitting + .replace(/=\s+([0-9a-fA-F])/g, '=$1') + // convert all underscores to spaces + .replace(/[_\s]/g, ' '); + + let buf = Buffer.from(str); + let bytes = []; + for (let i = 0, len = buf.length; i < len; i++) { + let c = buf[i]; + if (i <= len - 2 && c === 0x3d /* = */) { + let c1 = this.getHex(buf[i + 1]); + let c2 = this.getHex(buf[i + 2]); + if (c1 && c2) { + let c = parseInt(c1 + c2, 16); + bytes.push(c); + i += 2; + continue; + } + } + bytes.push(c); + } + str = Buffer.from(bytes); + } else if (encoding === 'B') { + str = Buffer.concat( + str + .split('=') + .filter(s => s !== '') // filter empty string + .map(str => Buffer.from(str, 'base64')) + ); + } else { + // keep as is, convert Buffer to unicode string, assume utf8 + str = Buffer.from(str); + } + + return libcharset$1.decode(str, charset); + } + + /** + * Finds word sequences with non ascii text and converts these to mime words + * + * @param {String|Buffer} data String to be encoded + * @param {String} mimeWordEncoding='Q' Encoding for the mime word, either Q or B + * @param {Number} [maxLength=0] If set, split mime words into several chunks if needed + * @param {String} [fromCharset='UTF-8'] Source sharacter set + * @return {String} String with possible mime words + */ + encodeWords(data, mimeWordEncoding, maxLength, fromCharset) { + if (!fromCharset && typeof maxLength === 'string' && !maxLength.match(/^[0-9]+$/)) { + fromCharset = maxLength; + maxLength = undefined; + } + + maxLength = maxLength || 0; + + let decodedValue = libcharset$1.decode(libcharset$1.convert(data || '', fromCharset)); + let encodedValue; + + let firstMatch = decodedValue.match(/(?:^|\s)([^\s]*[\u0080-\uFFFF])/); + if (!firstMatch) { + return decodedValue; + } + let lastMatch = decodedValue.match(/([\u0080-\uFFFF][^\s]*)[^\u0080-\uFFFF]*$/); + if (!lastMatch) { + // should not happen + return decodedValue; + } + let startIndex = + firstMatch.index + + ( + firstMatch[0].match(/[^\s]/) || { + index: 0 + } + ).index; + let endIndex = lastMatch.index + (lastMatch[1] || '').length; + + encodedValue = + (startIndex ? decodedValue.substr(0, startIndex) : '') + + this.encodeWord(decodedValue.substring(startIndex, endIndex), mimeWordEncoding || 'Q', maxLength) + + (endIndex < decodedValue.length ? decodedValue.substr(endIndex) : ''); + + return encodedValue; + } + + /** + * Decode a string that might include one or several mime words + * + * @param {String} str String including some mime words that will be encoded + * @return {String} Decoded unicode string + */ + decodeWords(str) { + return ( + (str || '') + .toString() + // find base64 words that can be joined + .replace(/(=\?([^?]+)\?[Bb]\?[^?]*\?=)\s*(?==\?([^?]+)\?[Bb]\?[^?]*\?=)/g, (match, left, chLeft, chRight) => { + // only mark b64 chunks to be joined if charsets match + if (libcharset$1.normalizeCharset(chLeft || '') === libcharset$1.normalizeCharset(chRight || '')) { + // set a joiner marker + return left + '__\x00JOIN\x00__'; + } + return match; + }) + // find QP words that can be joined + .replace(/(=\?([^?]+)\?[Qq]\?[^?]*\?=)\s*(?==\?([^?]+)\?[Qq]\?[^?]*\?=)/g, (match, left, chLeft, chRight) => { + // only mark QP chunks to be joined if charsets match + if (libcharset$1.normalizeCharset(chLeft || '') === libcharset$1.normalizeCharset(chRight || '')) { + // set a joiner marker + return left + '__\x00JOIN\x00__'; + } + return match; + }) + // join base64 encoded words + .replace(/(\?=)?__\x00JOIN\x00__(=\?([^?]+)\?[QqBb]\?)?/g, '') + // remove spaces between mime encoded words + .replace(/(=\?[^?]+\?[QqBb]\?[^?]*\?=)\s+(?==\?[^?]+\?[QqBb]\?[^?]*\?=)/g, '$1') + // decode words + .replace(/=\?([\w_\-*]+)\?([QqBb])\?([^?]*)\?=/g, (m, charset, encoding, text) => this.decodeWord(charset, encoding, text)) + ); + } + + getHex(c) { + if ((c >= 0x30 /* 0 */ && c <= 0x39) /* 9 */ || (c >= 0x61 /* a */ && c <= 0x66) /* f */ || (c >= 0x41 /* A */ && c <= 0x46) /* F */) { + return String.fromCharCode(c); + } + return false; + } + + /** + * Splits a string by : + * The result is not mime word decoded, you need to do your own decoding based + * on the rules for the specific header key + * + * @param {String} headerLine Single header line, might include linebreaks as well if folded + * @return {Object} And object of {key, value} + */ + decodeHeader(headerLine) { + let line = (headerLine || '') + .toString() + .replace(/(?:\r?\n|\r)[ \t]*/g, ' ') + .trim(), + match = line.match(/^\s*([^:]+):(.*)$/), + key = ((match && match[1]) || '').trim().toLowerCase(), + value = ((match && match[2]) || '').trim(); + + return { + key, + value + }; + } + + /** + * Parses a block of header lines. Does not decode mime words as every + * header might have its own rules (eg. formatted email addresses and such) + * + * @param {String} headers Headers string + * @return {Object} An object of headers, where header keys are object keys. NB! Several values with the same key make up an Array + */ + decodeHeaders(headers) { + let lines = headers.split(/\r?\n|\r/), + headersObj = {}, + header, + i, + len; + + for (i = lines.length - 1; i >= 0; i--) { + if (i && lines[i].match(/^\s/)) { + lines[i - 1] += '\r\n' + lines[i]; + lines.splice(i, 1); + } + } + + for (i = 0, len = lines.length; i < len; i++) { + header = this.decodeHeader(lines[i]); + if (!headersObj[header.key]) { + headersObj[header.key] = [header.value]; + } else { + headersObj[header.key].push(header.value); + } + } + + return headersObj; + } + + /** + * Joins parsed header value together as 'value; param1=value1; param2=value2' + * PS: We are following RFC 822 for the list of special characters that we need to keep in quotes. + * Refer: https://www.w3.org/Protocols/rfc1341/4_Content-Type.html + * @param {Object} structured Parsed header value + * @return {String} joined header value + */ + buildHeaderValue(structured) { + let paramsArray = []; + + Object.keys(structured.params || {}).forEach(param => { + // filename might include unicode characters so it is a special case + let value = structured.params[param]; + if (!this.isPlainText(value) || value.length >= 75) { + this.buildHeaderParam(param, value, 50).forEach(encodedParam => { + if (!/[\s"\\;:/=(),<>@[\]?]|^[-']|'$/.test(encodedParam.value) || encodedParam.key.substr(-1) === '*') { + paramsArray.push(encodedParam.key + '=' + encodedParam.value); + } else { + paramsArray.push(encodedParam.key + '=' + JSON.stringify(encodedParam.value)); + } + }); + } else if (/[\s'"\\;:/=(),<>@[\]?]|^-/.test(value)) { + paramsArray.push(param + '=' + JSON.stringify(value)); + } else { + paramsArray.push(param + '=' + value); + } + }); + + return structured.value + (paramsArray.length ? '; ' + paramsArray.join('; ') : ''); + } + + /** + * Parses a header value with key=value arguments into a structured + * object. + * + * parseHeaderValue('content-type: text/plain; CHARSET='UTF-8'') -> + * { + * 'value': 'text/plain', + * 'params': { + * 'charset': 'UTF-8' + * } + * } + * + * @param {String} str Header value + * @return {Object} Header value as a parsed structure + */ + parseHeaderValue(str) { + let response = { + value: false, + params: {} + }; + let key = false; + let value = ''; + let stage = STAGE_VALUE$1; + + let quote = false; + let escaped = false; + let chr; + + for (let i = 0, len = str.length; i < len; i++) { + chr = str.charAt(i); + switch (stage) { + case STAGE_KEY$1: + if (chr === '=') { + key = value.trim().toLowerCase(); + stage = STAGE_VALUE$1; + value = ''; + break; + } + value += chr; + break; + case STAGE_VALUE$1: + if (escaped) { + value += chr; + } else if (chr === '\\') { + escaped = true; + continue; + } else if (quote && chr === quote) { + quote = false; + } else if (!quote && chr === '"') { + quote = chr; + } else if (!quote && chr === ';') { + if (key === false) { + response.value = value.trim(); + } else { + response.params[key] = value.trim(); + } + stage = STAGE_KEY$1; + value = ''; + } else { + value += chr; + } + escaped = false; + break; + } + } + + // finalize remainder + value = value.trim(); + if (stage === STAGE_VALUE$1) { + if (key === false) { + // default value + response.value = value; + } else { + // subkey value + response.params[key] = value; + } + } else if (value) { + // treat as key without value, see emptykey: + // Header-Key: somevalue; key=value; emptykey + response.params[value.toLowerCase()] = ''; + } + + // handle parameter value continuations + // https://tools.ietf.org/html/rfc2231#section-3 + + // preprocess values + Object.keys(response.params).forEach(key => { + let actualKey; + let nr; + let value; + + let match = key.match(/\*((\d+)\*?)?$/); + + if (!match) { + // nothing to do here, does not seem like a continuation param + return; + } + + actualKey = key.substr(0, match.index).toLowerCase(); + nr = Number(match[2]) || 0; + + if (!response.params[actualKey] || typeof response.params[actualKey] !== 'object') { + response.params[actualKey] = { + charset: false, + values: [] + }; + } + + value = response.params[key]; + + if (nr === 0 && match[0].charAt(match[0].length - 1) === '*' && (match = value.match(/^([^']*)'[^']*'(.*)$/))) { + response.params[actualKey].charset = match[1] || 'utf-8'; + value = match[2]; + } + + response.params[actualKey].values.push({ nr, value }); + + // remove the old reference + delete response.params[key]; + }); + + // concatenate split rfc2231 strings and convert encoded strings to mime encoded words + Object.keys(response.params).forEach(key => { + let value; + if (response.params[key] && Array.isArray(response.params[key].values)) { + value = response.params[key].values + .sort((a, b) => a.nr - b.nr) + .map(val => (val && val.value) || '') + .join(''); + + if (response.params[key].charset) { + // convert "%AB" to "=?charset?Q?=AB?=" and then to unicode + response.params[key] = this.decodeWords( + '=?' + + response.params[key].charset + + '?Q?' + + value + // fix invalidly encoded chars + .replace(/[=?_\s]/g, s => { + let c = s.charCodeAt(0).toString(16); + if (s === ' ') { + return '_'; + } else { + return '%' + (c.length < 2 ? '0' : '') + c; + } + }) + // change from urlencoding to percent encoding + .replace(/%/g, '=') + + '?=' + ); + } else { + response.params[key] = this.decodeWords(value); + } + } + }); + + return response; + } + + /** + * Encodes a string or an Buffer to an UTF-8 Parameter Value Continuation encoding (rfc2231) + * Useful for splitting long parameter values. + * + * For example + * title="unicode string" + * becomes + * title*0*=utf-8''unicode + * title*1*=%20string + * + * @param {String|Buffer} data String to be encoded + * @param {Number} [maxLength=50] Max length for generated chunks + * @param {String} [fromCharset='UTF-8'] Source sharacter set + * @return {Array} A list of encoded keys and headers + */ + buildHeaderParam(key, data, maxLength, fromCharset) { + let list = []; + let encodedStr = typeof data === 'string' ? data : this.decode(data, fromCharset); + let encodedStrArr; + let chr, ord; + let line; + let startPos = 0; + let isEncoded = false; + let i, len; + + maxLength = maxLength || 50; + + // process ascii only text + if (this.isPlainText(data)) { + // check if conversion is even needed + if (encodedStr.length <= maxLength) { + return [ + { + key, + value: encodedStr + } + ]; + } + + encodedStr = encodedStr.replace(new RegExp('.{' + maxLength + '}', 'g'), str => { + list.push({ + line: str + }); + return ''; + }); + + if (encodedStr) { + list.push({ + line: encodedStr + }); + } + } else { + if (/[\uD800-\uDBFF]/.test(encodedStr)) { + // string containts surrogate pairs, so normalize it to an array of bytes + encodedStrArr = []; + for (i = 0, len = encodedStr.length; i < len; i++) { + chr = encodedStr.charAt(i); + ord = chr.charCodeAt(0); + if (ord >= 0xd800 && ord <= 0xdbff && i < len - 1) { + chr += encodedStr.charAt(i + 1); + encodedStrArr.push(chr); + i++; + } else { + encodedStrArr.push(chr); + } + } + encodedStr = encodedStrArr; + } + + // first line includes the charset and language info and needs to be encoded + // even if it does not contain any unicode characters + line = "utf-8''"; + isEncoded = true; + startPos = 0; + + // process text with unicode or special chars + for (i = 0, len = encodedStr.length; i < len; i++) { + chr = encodedStr[i]; + + if (isEncoded) { + chr = this.safeEncodeURIComponent(chr); + } else { + // try to urlencode current char + chr = chr === ' ' ? chr : this.safeEncodeURIComponent(chr); + // By default it is not required to encode a line, the need + // only appears when the string contains unicode or special chars + // in this case we start processing the line over and encode all chars + if (chr !== encodedStr[i]) { + // Check if it is even possible to add the encoded char to the line + // If not, there is no reason to use this line, just push it to the list + // and start a new line with the char that needs encoding + if ((this.safeEncodeURIComponent(line) + chr).length >= maxLength) { + list.push({ + line, + encoded: isEncoded + }); + line = ''; + startPos = i - 1; + } else { + isEncoded = true; + i = startPos; + line = ''; + continue; + } + } + } + + // if the line is already too long, push it to the list and start a new one + if ((line + chr).length >= maxLength) { + list.push({ + line, + encoded: isEncoded + }); + line = chr = encodedStr[i] === ' ' ? ' ' : this.safeEncodeURIComponent(encodedStr[i]); + if (chr === encodedStr[i]) { + isEncoded = false; + startPos = i - 1; + } else { + isEncoded = true; + } + } else { + line += chr; + } + } + + if (line) { + list.push({ + line, + encoded: isEncoded + }); + } + } + + return list.map((item, i) => ({ + // encoded lines: {name}*{part}* + // unencoded lines: {name}*{part} + // if any line needs to be encoded then the first line (part==0) is always encoded + key: key + '*' + i + (item.encoded ? '*' : ''), + value: item.line + })); + } + + /** + * Returns file extension for a content type string. If no suitable extensions + * are found, 'bin' is used as the default extension + * + * @param {String} mimeType Content type to be checked for + * @return {String} File extension + */ + detectExtension(mimeType) { + mimeType = (mimeType || '').toString().toLowerCase().replace(/\s/g, ''); + if (!(mimeType in mimetypes$2.list)) { + return 'bin'; + } + + if (typeof mimetypes$2.list[mimeType] === 'string') { + return mimetypes$2.list[mimeType]; + } + + let mimeParts = mimeType.split('/'); + + // search for name match + for (let i = 0, len = mimetypes$2.list[mimeType].length; i < len; i++) { + if (mimeParts[1] === mimetypes$2.list[mimeType][i]) { + return mimetypes$2.list[mimeType][i]; + } + } + + // use the first one + return mimetypes$2.list[mimeType][0] !== '*' ? mimetypes$2.list[mimeType][0] : 'bin'; + } + + /** + * Returns content type for a file extension. If no suitable content types + * are found, 'application/octet-stream' is used as the default content type + * + * @param {String} extension Extension to be checked for + * @return {String} File extension + */ + detectMimeType(extension) { + extension = (extension || '').toString().toLowerCase().replace(/\s/g, '').replace(/^\./g, '').split('.').pop(); + + if (!(extension in mimetypes$2.extensions)) { + return 'application/octet-stream'; + } + + if (typeof mimetypes$2.extensions[extension] === 'string') { + return mimetypes$2.extensions[extension]; + } + + let mimeParts; + + // search for name match + for (let i = 0, len = mimetypes$2.extensions[extension].length; i < len; i++) { + mimeParts = mimetypes$2.extensions[extension][i].split('/'); + if (mimeParts[1] === extension) { + return mimetypes$2.extensions[extension][i]; + } + } + + // use the first one + return mimetypes$2.extensions[extension][0]; + } + + /** + * Folds long lines, useful for folding header lines (afterSpace=false) and + * flowed text (afterSpace=true) + * + * @param {String} str String to be folded + * @param {Number} [lineLength=76] Maximum length of a line + * @param {Boolean} afterSpace If true, leave a space in th end of a line + * @return {String} String with folded lines + */ + foldLines(str, lineLength, afterSpace) { + str = (str || '').toString(); + lineLength = lineLength || 76; + + let pos = 0, + len = str.length, + result = '', + line, + match; + + while (pos < len) { + line = str.substr(pos, lineLength); + if (line.length < lineLength) { + result += line; + break; + } + if ((match = line.match(/^[^\n\r]*(\r?\n|\r)/))) { + line = match[0]; + result += line; + pos += line.length; + continue; + } else if ((match = line.match(/(\s+)[^\s]*$/)) && match[0].length - (afterSpace ? (match[1] || '').length : 0) < line.length) { + line = line.substr(0, line.length - (match[0].length - (afterSpace ? (match[1] || '').length : 0))); + } else if ((match = str.substr(pos + line.length).match(/^[^\s]+(\s*)/))) { + line = line + match[0].substr(0, match[0].length - (!afterSpace ? (match[1] || '').length : 0)); + } + + result += line; + pos += line.length; + if (pos < len) { + result += '\r\n'; + } + } + + return result; + } + + /** + * Splits a mime encoded string. Needed for dividing mime words into smaller chunks + * + * @param {String} str Mime encoded string to be split up + * @param {Number} maxlen Maximum length of characters for one part (minimum 12) + * @return {Array} Split string + */ + splitMimeEncodedString(str, maxlen) { + let curLine, + match, + chr, + done, + lines = []; + + // require at least 12 symbols to fit possible 4 octet UTF-8 sequences + maxlen = Math.max(maxlen || 0, 12); + + while (str.length) { + curLine = str.substr(0, maxlen); + + // move incomplete escaped char back to main + if ((match = curLine.match(/[=][0-9A-F]?$/i))) { + curLine = curLine.substr(0, match.index); + } + + done = false; + while (!done) { + done = true; + // check if not middle of a unicode char sequence + if ((match = str.substr(curLine.length).match(/^[=]([0-9A-F]{2})/i))) { + chr = parseInt(match[1], 16); + // invalid sequence, move one char back anc recheck + if (chr < 0xc2 && chr > 0x7f) { + curLine = curLine.substr(0, curLine.length - 3); + done = false; + } + } + } + + if (curLine.length) { + lines.push(curLine); + } + str = str.substr(curLine.length); + } + + return lines; + } + + encodeURICharComponent(chr) { + let res = ''; + let ord = chr.charCodeAt(0).toString(16).toUpperCase(); + + if (ord.length % 2) { + ord = '0' + ord; + } + + if (ord.length > 2) { + for (let i = 0, len = ord.length / 2; i < len; i++) { + res += '%' + ord.substr(i, 2); + } + } else { + res += '%' + ord; + } + + return res; + } + + safeEncodeURIComponent(str) { + str = (str || '').toString(); + + try { + // might throw if we try to encode invalid sequences, eg. partial emoji + str = encodeURIComponent(str); + } catch (E) { + // should never run + return str.replace(/[^\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]+/g, ''); + } + + // ensure chars that are not handled by encodeURICompent are converted as well + return str.replace(/[\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]/g, chr => this.encodeURICharComponent(chr)); + } +}; + +libmime$5.exports = new Libmime$1(); +libmimeExports$1.Libmime = Libmime$1; + +const libmime$4 = libmimeExports$1; + +/** + * Class Headers to parse and handle message headers. Headers instance allows to + * check existing, delete or add new headers + */ +let Headers$2 = class Headers { + constructor(headers, config) { + config = config || {}; + + if (Array.isArray(headers)) { + // already using parsed headers + this.changed = true; + this.headers = false; + this.parsed = true; + this.lines = headers; + } else { + // using original string/buffer headers + this.changed = false; + this.headers = headers; + this.parsed = false; + this.lines = false; + } + this.mbox = false; + this.http = false; + + this.libmime = new libmime$4.Libmime({ Iconv: config.Iconv }); + } + + hasHeader(key) { + if (!this.parsed) { + this._parseHeaders(); + } + key = this._normalizeHeader(key); + return typeof this.lines.find(line => line.key === key) === 'object'; + } + + get(key) { + if (!this.parsed) { + this._parseHeaders(); + } + key = this._normalizeHeader(key); + let lines = this.lines.filter(line => line.key === key).map(line => line.line); + + return lines; + } + + getDecoded(key) { + return this.get(key) + .map(line => this.libmime.decodeHeader(line)) + .filter(line => line && line.value); + } + + getFirst(key) { + if (!this.parsed) { + this._parseHeaders(); + } + key = this._normalizeHeader(key); + let header = this.lines.find(line => line.key === key); + if (!header) { + return ''; + } + return ((this.libmime.decodeHeader(header.line) || {}).value || '').toString().trim(); + } + + getList() { + if (!this.parsed) { + this._parseHeaders(); + } + return this.lines; + } + + add(key, value, index) { + if (typeof value === 'undefined') { + return; + } + + if (typeof value === 'number') { + value = value.toString(); + } + + if (typeof value === 'string') { + value = Buffer.from(value); + } + + value = value.toString('binary'); + this.addFormatted(key, this.libmime.foldLines(key + ': ' + value.replace(/\r?\n/g, ''), 76, false), index); + } + + addFormatted(key, line, index) { + if (!this.parsed) { + this._parseHeaders(); + } + index = index || 0; + this.changed = true; + + if (!line) { + return; + } + + if (typeof line !== 'string') { + line = line.toString('binary'); + } + + let header = { + key: this._normalizeHeader(key), + line + }; + + if (index < 1) { + this.lines.unshift(header); + } else if (index >= this.lines.length) { + this.lines.push(header); + } else { + this.lines.splice(index, 0, header); + } + } + + remove(key) { + if (!this.parsed) { + this._parseHeaders(); + } + key = this._normalizeHeader(key); + for (let i = this.lines.length - 1; i >= 0; i--) { + if (this.lines[i].key === key) { + this.changed = true; + this.lines.splice(i, 1); + } + } + } + + update(key, value, relativeIndex) { + if (!this.parsed) { + this._parseHeaders(); + } + let keyName = key; + let index = 0; + key = this._normalizeHeader(key); + let relativeIndexCount = 0; + let relativeMatchFound = false; + for (let i = this.lines.length - 1; i >= 0; i--) { + if (this.lines[i].key === key) { + if (relativeIndex && relativeIndex !== relativeIndexCount) { + relativeIndexCount++; + continue; + } + index = i; + this.changed = true; + this.lines.splice(i, 1); + if (relativeIndex) { + relativeMatchFound = true; + break; + } + } + } + if (relativeIndex && !relativeMatchFound) return; + this.add(keyName, value, index); + } + + build(lineEnd) { + if (!this.changed && !lineEnd) { + return typeof this.headers === 'string' ? Buffer.from(this.headers, 'binary') : this.headers; + } + + if (!this.parsed) { + this._parseHeaders(); + } + + lineEnd = lineEnd || '\r\n'; + + let headers = this.lines.map(line => line.line.replace(/\r?\n/g, lineEnd)).join(lineEnd) + `${lineEnd}${lineEnd}`; + + if (this.mbox) { + headers = this.mbox + lineEnd + headers; + } + + if (this.http) { + headers = this.http + lineEnd + headers; + } + + return Buffer.from(headers, 'binary'); + } + + _normalizeHeader(key) { + return (key || '').toLowerCase().trim(); + } + + _parseHeaders() { + if (!this.headers) { + this.lines = []; + this.parsed = true; + return; + } + + let lines = this.headers + .toString('binary') + .replace(/[\r\n]+$/, '') + .split(/\r?\n/); + + for (let i = lines.length - 1; i >= 0; i--) { + let chr = lines[i].charAt(0); + if (i && (chr === ' ' || chr === '\t')) { + lines[i - 1] += '\r\n' + lines[i]; + lines.splice(i, 1); + } else { + let line = lines[i]; + if (!i && /^From /i.test(line)) { + // mbox file + this.mbox = line; + lines.splice(i, 1); + continue; + } else if (!i && /^POST /i.test(line)) { + // HTTP POST request + this.http = line; + lines.splice(i, 1); + continue; + } + let key = this._normalizeHeader(line.substr(0, line.indexOf(':'))); + lines[i] = { + key, + line + }; + } + } + + this.lines = lines; + this.parsed = true; + } +}; + +// expose to the world +var headers = Headers$2; + +const Headers$1 = headers; +const libmime$3 = libmimeExports$1; +const libqp$1 = libqp$3; +const libbase64$1 = libbase64$3; +const PassThrough = require$$0$2.PassThrough; +const pathlib = require$$5$2; + +let MimeNode$1 = class MimeNode { + constructor(parentNode, config) { + this.type = 'node'; + this.root = !parentNode; + this.parentNode = parentNode; + + this._parentBoundary = this.parentNode && this.parentNode._boundary; + this._headersLines = []; + this._headerlen = 0; + + this._parsedContentType = false; + this._boundary = false; + + this.multipart = false; + this.encoding = false; + this.headers = false; + this.contentType = false; + this.flowed = false; + this.delSp = false; + + this.config = config || {}; + this.libmime = new libmime$3.Libmime({ Iconv: this.config.Iconv }); + + this.parentPartNumber = (parentNode && this.partNr) || []; + this.partNr = false; // resolved later + this.childPartNumbers = 0; + } + + getPartNr(provided) { + if (provided) { + return [] + .concat(this.partNr || []) + .filter(nr => !isNaN(nr)) + .concat(provided); + } + let childPartNr = ++this.childPartNumbers; + return [] + .concat(this.partNr || []) + .filter(nr => !isNaN(nr)) + .concat(childPartNr); + } + + addHeaderChunk(line) { + if (!line) { + return; + } + this._headersLines.push(line); + this._headerlen += line.length; + } + + parseHeaders() { + if (this.headers) { + return; + } + this.headers = new Headers$1(Buffer.concat(this._headersLines, this._headerlen), this.config); + + this._parsedContentDisposition = this.libmime.parseHeaderValue(this.headers.getFirst('Content-Disposition')); + + // if content-type is missing default to plaintext + let contentHeader; + if (this.headers.get('Content-Type').length) { + contentHeader = this.headers.getFirst('Content-Type'); + } else { + if (this._parsedContentDisposition.params.filename) { + let extension = pathlib.parse(this._parsedContentDisposition.params.filename).ext.replace(/^\./, ''); + if (extension) { + contentHeader = libmime$3.detectMimeType(extension); + } + } + if (!contentHeader) { + if (/^attachment$/i.test(this._parsedContentDisposition.value)) { + contentHeader = 'application/octet-stream'; + } else { + contentHeader = 'text/plain'; + } + } + } + + this._parsedContentType = this.libmime.parseHeaderValue(contentHeader); + + this.encoding = this.headers + .getFirst('Content-Transfer-Encoding') + .replace(/\(.*\)/g, '') + .toLowerCase() + .trim(); + this.contentType = (this._parsedContentType.value || '').toLowerCase().trim() || false; + this.charset = this._parsedContentType.params.charset || false; + this.disposition = (this._parsedContentDisposition.value || '').toLowerCase().trim() || false; + + // fix invalidly encoded disposition values + if (this.disposition) { + try { + this.disposition = this.libmime.decodeWords(this.disposition); + } catch (E) { + // failed to parse disposition, keep as is (most probably an unknown charset is used) + } + } + + this.filename = this._parsedContentDisposition.params.filename || this._parsedContentType.params.name || false; + + if (this._parsedContentType.params.format && this._parsedContentType.params.format.toLowerCase().trim() === 'flowed') { + this.flowed = true; + if (this._parsedContentType.params.delsp && this._parsedContentType.params.delsp.toLowerCase().trim() === 'yes') { + this.delSp = true; + } + } + + if (this.filename) { + try { + this.filename = this.libmime.decodeWords(this.filename); + } catch (E) { + // failed to parse filename, keep as is (most probably an unknown charset is used) + } + } + + this.multipart = + (this.contentType && + this.contentType.substr(0, this.contentType.indexOf('/')) === 'multipart' && + this.contentType.substr(this.contentType.indexOf('/') + 1)) || + false; + this._boundary = (this._parsedContentType.params.boundary && Buffer.from(this._parsedContentType.params.boundary)) || false; + + this.rfc822 = this.contentType === 'message/rfc822'; + + if (!this.parentNode || this.parentNode.rfc822) { + this.partNr = this.parentNode ? this.parentNode.getPartNr('TEXT') : ['TEXT']; + } else { + this.partNr = this.parentNode ? this.parentNode.getPartNr() : []; + } + } + + getHeaders() { + if (!this.headers) { + this.parseHeaders(); + } + return this.headers.build(); + } + + setContentType(contentType) { + if (!this.headers) { + this.parseHeaders(); + } + + contentType = (contentType || '').toLowerCase().trim(); + if (contentType) { + this._parsedContentType.value = contentType; + } + + if (!this.flowed && this._parsedContentType.params.format) { + delete this._parsedContentType.params.format; + } + + if (!this.delSp && this._parsedContentType.params.delsp) { + delete this._parsedContentType.params.delsp; + } + + this.headers.update('Content-Type', this.libmime.buildHeaderValue(this._parsedContentType)); + } + + setCharset(charset) { + if (!this.headers) { + this.parseHeaders(); + } + + charset = (charset || '').toLowerCase().trim(); + + if (charset === 'ascii') { + charset = ''; + } + + if (!charset) { + if (!this._parsedContentType.value) { + // nothing to set or update + return; + } + delete this._parsedContentType.params.charset; + } else { + this._parsedContentType.params.charset = charset; + } + + if (!this._parsedContentType.value) { + this._parsedContentType.value = 'text/plain'; + } + + this.headers.update('Content-Type', this.libmime.buildHeaderValue(this._parsedContentType)); + } + + setFilename(filename) { + if (!this.headers) { + this.parseHeaders(); + } + + this.filename = (filename || '').toLowerCase().trim(); + + if (this._parsedContentType.params.name) { + delete this._parsedContentType.params.name; + this.headers.update('Content-Type', this.libmime.buildHeaderValue(this._parsedContentType)); + } + + if (!this.filename) { + if (!this._parsedContentDisposition.value) { + // nothing to set or update + return; + } + delete this._parsedContentDisposition.params.filename; + } else { + this._parsedContentDisposition.params.filename = this.filename; + } + + if (!this._parsedContentDisposition.value) { + this._parsedContentDisposition.value = 'attachment'; + } + + this.headers.update('Content-Disposition', this.libmime.buildHeaderValue(this._parsedContentDisposition)); + } + + getDecoder() { + if (!this.headers) { + this.parseHeaders(); + } + + switch (this.encoding) { + case 'base64': + return new libbase64$1.Decoder(); + case 'quoted-printable': + return new libqp$1.Decoder(); + default: + return new PassThrough(); + } + } + + getEncoder(encoding) { + if (!this.headers) { + this.parseHeaders(); + } + + encoding = (encoding || '').toString().toLowerCase().trim(); + + if (encoding && encoding !== this.encoding) { + this.headers.update('Content-Transfer-Encoding', encoding); + } else { + encoding = this.encoding; + } + + switch (encoding) { + case 'base64': + return new libbase64$1.Encoder(); + case 'quoted-printable': + return new libqp$1.Encoder(); + default: + return new PassThrough(); + } + } +}; + +var mimeNode = MimeNode$1; + +const Transform$6 = require$$0$2.Transform; +const MimeNode = mimeNode; + +const MAX_HEAD_SIZE = 1 * 1024 * 1024; +const MAX_CHILD_NODES = 1000; + +const HEAD = 0x01; +const BODY = 0x02; + +let MessageSplitter$1 = class MessageSplitter extends Transform$6 { + constructor(config) { + let options = { + readableObjectMode: true, + writableObjectMode: false + }; + super(options); + + this.config = config || {}; + this.maxHeadSize = this.config.maxHeadSize || MAX_HEAD_SIZE; + this.maxChildNodes = this.config.maxChildNodes || MAX_CHILD_NODES; + this.tree = []; + this.nodeCounter = 0; + this.newNode(); + this.tree.push(this.node); + this.line = false; + this.hasFailed = false; + } + + _transform(chunk, encoding, callback) { + // process line by line + // find next line ending + let pos = 0; + let i = 0; + let group = { + type: 'none' + }; + let groupstart = this.line ? -this.line.length : 0; + let groupend = 0; + + let checkTrailingLinebreak = data => { + if (data.type === 'body' && data.node.parentNode && data.value && data.value.length) { + if (data.value[data.value.length - 1] === 0x0a) { + groupstart--; + groupend--; + pos--; + if (data.value.length > 1 && data.value[data.value.length - 2] === 0x0d) { + groupstart--; + groupend--; + pos--; + if (groupstart < 0 && !this.line) { + // store only as should be on the positive side + this.line = Buffer.allocUnsafe(1); + this.line[0] = 0x0d; + } + data.value = data.value.slice(0, data.value.length - 2); + } else { + data.value = data.value.slice(0, data.value.length - 1); + } + } else if (data.value[data.value.length - 1] === 0x0d) { + groupstart--; + groupend--; + pos--; + data.value = data.value.slice(0, data.value.length - 1); + } + } + }; + + let iterateData = () => { + for (let len = chunk.length; i < len; i++) { + // find next + if (chunk[i] === 0x0a) { + // line end + + let start = Math.max(pos, 0); + pos = ++i; + + return this.processLine(chunk.slice(start, i), false, (err, data, flush) => { + if (err) { + this.hasFailed = true; + return setImmediate(() => callback(err)); + } + + if (!data) { + return setImmediate(iterateData); + } + + if (flush) { + if (group && group.type !== 'none') { + if (group.type === 'body' && groupend >= groupstart && group.node.parentNode) { + // do not include the last line ending for body + if (chunk[groupend - 1] === 0x0a) { + groupend--; + if (groupend >= groupstart && chunk[groupend - 1] === 0x0d) { + groupend--; + } + } + } + if (groupstart !== groupend) { + group.value = chunk.slice(groupstart, groupend); + if (groupend < i) { + data.value = chunk.slice(groupend, i); + } + } + this.push(group); + group = { + type: 'none' + }; + groupstart = groupend = i; + } + this.push(data); + groupend = i; + return setImmediate(iterateData); + } + + if (data.type === group.type) { + // shift slice end position forward + groupend = i; + } else { + if (group.type === 'body' && groupend >= groupstart && group.node.parentNode) { + // do not include the last line ending for body + if (chunk[groupend - 1] === 0x0a) { + groupend--; + if (groupend >= groupstart && chunk[groupend - 1] === 0x0d) { + groupend--; + } + } + } + + if (group.type !== 'none' && group.type !== 'node') { + // we have a previous data/body chunk to output + if (groupstart !== groupend) { + group.value = chunk.slice(groupstart, groupend); + if (group.value && group.value.length) { + this.push(group); + group = { + type: 'none' + }; + } + } + } + + if (data.type === 'node') { + this.push(data); + groupstart = i; + groupend = i; + } else if (groupstart < 0) { + groupstart = i; + groupend = i; + checkTrailingLinebreak(data); + if (data.value && data.value.length) { + this.push(data); + } + } else { + // start new body/data chunk + group = data; + groupstart = groupend; + groupend = i; + } + } + return setImmediate(iterateData); + }); + } + } + + // skip last linebreak for body + if (pos >= groupstart + 1 && group.type === 'body' && group.node.parentNode) { + // do not include the last line ending for body + if (chunk[pos - 1] === 0x0a) { + pos--; + if (pos >= groupstart && chunk[pos - 1] === 0x0d) { + pos--; + } + } + } + + if (group.type !== 'none' && group.type !== 'node' && pos > groupstart) { + // we have a leftover data/body chunk to push out + group.value = chunk.slice(groupstart, pos); + + if (group.value && group.value.length) { + this.push(group); + group = { + type: 'none' + }; + } + } + + if (pos < chunk.length) { + if (this.line) { + this.line = Buffer.concat([this.line, chunk.slice(pos)]); + } else { + this.line = chunk.slice(pos); + } + } + callback(); + }; + + setImmediate(iterateData); + } + + _flush(callback) { + if (this.hasFailed) { + return callback(); + } + this.processLine(false, true, (err, data) => { + if (err) { + return setImmediate(() => callback(err)); + } + if (data && (data.type === 'node' || (data.value && data.value.length))) { + this.push(data); + } + callback(); + }); + } + + compareBoundary(line, startpos, boundary) { + // --{boundary}\r\n or --{boundary}--\r\n + if (line.length < boundary.length + 3 + startpos || line.length > boundary.length + 6 + startpos) { + return false; + } + for (let i = 0; i < boundary.length; i++) { + if (line[i + 2 + startpos] !== boundary[i]) { + return false; + } + } + + let pos = 0; + for (let i = boundary.length + 2 + startpos; i < line.length; i++) { + let c = line[i]; + if (pos === 0 && (c === 0x0d || c === 0x0a)) { + // 1: next node + return 1; + } + if (pos === 0 && c !== 0x2d) { + // expecting "-" + return false; + } + if (pos === 1 && c !== 0x2d) { + // expecting "-" + return false; + } + if (pos === 2 && c !== 0x0d && c !== 0x0a) { + // expecting line terminator, either or + return false; + } + if (pos === 3 && c !== 0x0a) { + // expecting line terminator + return false; + } + pos++; + } + + // 2: multipart end + return 2; + } + + checkBoundary(line) { + let startpos = 0; + if (line.length >= 1 && (line[0] === 0x0d || line[0] === 0x0a)) { + startpos++; + if (line.length >= 2 && (line[0] === 0x0d || line[1] === 0x0a)) { + startpos++; + } + } + if (line.length < 4 || line[startpos] !== 0x2d || line[startpos + 1] !== 0x2d) { + // defnitely not a boundary + return false; + } + + let boundary; + if (this.node._boundary && (boundary = this.compareBoundary(line, startpos, this.node._boundary))) { + // 1: next child + // 2: multipart end + return boundary; + } + + if (this.node._parentBoundary && (boundary = this.compareBoundary(line, startpos, this.node._parentBoundary))) { + // 3: next sibling + // 4: parent end + return boundary + 2; + } + + return false; + } + + processLine(line, final, next) { + let flush = false; + + if (this.line && line) { + line = Buffer.concat([this.line, line]); + this.line = false; + } else if (this.line && !line) { + line = this.line; + this.line = false; + } + + if (!line) { + line = Buffer.alloc(0); + } + + if (this.nodeCounter > this.maxChildNodes) { + let err = new Error('Max allowed child nodes exceeded'); + err.code = 'EMAXLEN'; + return next(err); + } + + // we check boundary outside the HEAD/BODY scope as it may appear anywhere + let boundary = this.checkBoundary(line); + if (boundary) { + // reached boundary, switch context + switch (boundary) { + case 1: + // next child + this.newNode(this.node); + flush = true; + break; + case 2: + // reached end of children, keep current node + break; + case 3: { + // next sibling + let parentNode = this.node.parentNode; + if (parentNode && parentNode.contentType === 'message/rfc822') { + // special case where immediate parent is an inline message block + // move up another step + parentNode = parentNode.parentNode; + } + this.newNode(parentNode); + flush = true; + break; + } + case 4: + // special case when boundary close a node with only header. + if (this.node && this.node._headerlen && !this.node.headers) { + this.node.parseHeaders(); + this.push(this.node); + } + // move up + if (this.tree.length) { + this.node = this.tree.pop(); + } + this.state = BODY; + break; + } + + return next( + null, + { + node: this.node, + type: 'data', + value: line + }, + flush + ); + } + + switch (this.state) { + case HEAD: { + this.node.addHeaderChunk(line); + if (this.node._headerlen > this.maxHeadSize) { + let err = new Error('Max header size for a MIME node exceeded'); + err.code = 'EMAXLEN'; + return next(err); + } + if (final || (line.length === 1 && line[0] === 0x0a) || (line.length === 2 && line[0] === 0x0d && line[1] === 0x0a)) { + let currentNode = this.node; + + currentNode.parseHeaders(); + + // if the content is attached message then just continue + if ( + currentNode.contentType === 'message/rfc822' && + !this.config.ignoreEmbedded && + (!currentNode.encoding || ['7bit', '8bit', 'binary'].includes(currentNode.encoding)) && + (this.config.defaultInlineEmbedded ? currentNode.disposition !== 'attachment' : currentNode.disposition === 'inline') + ) { + currentNode.messageNode = true; + this.newNode(currentNode); + if (currentNode.parentNode) { + this.node._parentBoundary = currentNode.parentNode._boundary; + } + } else { + if (currentNode.contentType === 'message/rfc822') { + currentNode.messageNode = false; + } + this.state = BODY; + if (currentNode.multipart && currentNode._boundary) { + this.tree.push(currentNode); + } + } + + return next(null, currentNode, flush); + } + + return next(); + } + case BODY: { + return next( + null, + { + node: this.node, + type: this.node.multipart ? 'data' : 'body', + value: line + }, + flush + ); + } + } + + next(null, false); + } + + newNode(parent) { + this.node = new MimeNode(parent || false, this.config); + this.state = HEAD; + this.nodeCounter++; + } +}; + +var messageSplitter = MessageSplitter$1; + +const Transform$5 = require$$0$2.Transform; + +let MessageJoiner$1 = class MessageJoiner extends Transform$5 { + constructor() { + let options = { + readableObjectMode: false, + writableObjectMode: true + }; + super(options); + } + + _transform(obj, encoding, callback) { + if (Buffer.isBuffer(obj)) { + this.push(obj); + } else if (obj.type === 'node') { + this.push(obj.getHeaders()); + } else if (obj.value) { + this.push(obj.value); + } + return callback(); + } + + _flush(callback) { + return callback(); + } +}; + +var messageJoiner = MessageJoiner$1; + +// Helper class to rewrite nodes with specific mime type + +const Transform$4 = require$$0$2.Transform; +const libmime$2 = libmimeExports$1; + +/** + * Really bad "stream" transform to parse format=flowed content + * + * @constructor + * @param {String} delSp True if delsp option was used + */ +let FlowedDecoder$3 = class FlowedDecoder extends Transform$4 { + constructor(config) { + super(); + this.config = config || {}; + + this.chunks = []; + this.chunklen = 0; + + this.libmime = new libmime$2.Libmime({ Iconv: config.Iconv }); + } + + _transform(chunk, encoding, callback) { + if (!chunk || !chunk.length) { + return callback(); + } + + if (!encoding !== 'buffer') { + chunk = Buffer.from(chunk, encoding); + } + + this.chunks.push(chunk); + this.chunklen += chunk.length; + + callback(); + } + + _flush(callback) { + if (this.chunklen) { + let currentBody = Buffer.concat(this.chunks, this.chunklen); + + if (this.config.encoding === 'base64') { + currentBody = Buffer.from(currentBody.toString('binary'), 'base64'); + } + + let content = this.libmime.decodeFlowed(currentBody.toString('binary'), this.config.delSp); + this.push(Buffer.from(content, 'binary')); + } + return callback(); + } +}; + +var flowedDecoder = FlowedDecoder$3; + +// Helper class to rewrite nodes with specific mime type + +const Transform$3 = require$$0$2.Transform; +const FlowedDecoder$2 = flowedDecoder; + +/** + * NodeRewriter Transform stream. Updates content for all nodes with specified mime type + * + * @constructor + * @param {String} mimeType Define the Mime-Type to look for + * @param {Function} rewriteAction Function to run with the node content + */ +let NodeRewriter$1 = class NodeRewriter extends Transform$3 { + constructor(filterFunc, rewriteAction) { + let options = { + readableObjectMode: true, + writableObjectMode: true + }; + super(options); + + this.filterFunc = filterFunc; + this.rewriteAction = rewriteAction; + + this.decoder = false; + this.encoder = false; + this.continue = false; + } + + _transform(data, encoding, callback) { + this.processIncoming(data, callback); + } + + _flush(callback) { + if (this.decoder) { + // emit an empty node just in case there is pending data to end + return this.processIncoming( + { + type: 'none' + }, + callback + ); + } + return callback(); + } + + processIncoming(data, callback) { + if (this.decoder && data.type === 'body') { + // data to parse + if (!this.decoder.write(data.value)) { + return this.decoder.once('drain', callback); + } else { + return callback(); + } + } else if (this.decoder && data.type !== 'body') { + // stop decoding. + // we can not process the current data chunk as we need to wait until + // the parsed data is completely processed, so we store a reference to the + // continue callback + this.continue = () => { + this.continue = false; + this.decoder = false; + this.encoder = false; + this.processIncoming(data, callback); + }; + return this.decoder.end(); + } else if (data.type === 'node' && this.filterFunc(data)) { + // found matching node, create new handler + this.emit('node', this.createDecodePair(data)); + } else if (this.readable && data.type !== 'none') { + // we don't care about this data, just pass it over to the joiner + this.push(data); + } + callback(); + } + + createDecodePair(node) { + this.decoder = node.getDecoder(); + + if (['base64', 'quoted-printable'].includes(node.encoding)) { + this.encoder = node.getEncoder(); + } else { + this.encoder = node.getEncoder('quoted-printable'); + } + + let lastByte = false; + + let decoder = this.decoder; + let encoder = this.encoder; + let firstChunk = true; + decoder.$reading = false; + + let readFromEncoder = () => { + decoder.$reading = true; + + let data = encoder.read(); + if (data === null) { + decoder.$reading = false; + return; + } + + if (firstChunk) { + firstChunk = false; + if (this.readable) { + this.push(node); + if (node.type === 'body') { + lastByte = node.value && node.value.length && node.value[node.value.length - 1]; + } + } + } + + let writeMore = true; + if (this.readable) { + writeMore = this.push({ + node, + type: 'body', + value: data + }); + lastByte = data && data.length && data[data.length - 1]; + } + + if (writeMore) { + return setImmediate(readFromEncoder); + } else { + encoder.pause(); + // no idea how to catch drain? use timeout for now as poor man's substitute + // this.once('drain', () => encoder.resume()); + setTimeout(() => { + encoder.resume(); + setImmediate(readFromEncoder); + }, 100); + } + }; + + encoder.on('readable', () => { + if (!decoder.$reading) { + return readFromEncoder(); + } + }); + + encoder.on('end', () => { + if (firstChunk) { + firstChunk = false; + if (this.readable) { + this.push(node); + if (node.type === 'body') { + lastByte = node.value && node.value.length && node.value[node.value.length - 1]; + } + } + } + + if (lastByte !== 0x0a) { + // make sure there is a terminating line break + this.push({ + node, + type: 'body', + value: Buffer.from([0x0a]) + }); + } + + if (this.continue) { + return this.continue(); + } + }); + + if (/^text\//.test(node.contentType) && node.flowed) { + // text/plain; format=flowed is a special case + let flowDecoder = decoder; + decoder = new FlowedDecoder$2({ + delSp: node.delSp, + encoding: node.encoding + }); + flowDecoder.on('error', err => { + decoder.emit('error', err); + }); + flowDecoder.pipe(decoder); + + // we don't know what kind of data we are going to get, does it comply with the + // requirements of format=flowed, so we just cancel it + node.flowed = false; + node.delSp = false; + node.setContentType(); + } + + return { + node, + decoder, + encoder + }; + } +}; + +var nodeRewriter = NodeRewriter$1; + +// Helper class to rewrite nodes with specific mime type + +const Transform$2 = require$$0$2.Transform; +const FlowedDecoder$1 = flowedDecoder; + +/** + * NodeRewriter Transform stream. Updates content for all nodes with specified mime type + * + * @constructor + * @param {String} mimeType Define the Mime-Type to look for + * @param {Function} streamAction Function to run with the node content + */ +let NodeStreamer$1 = class NodeStreamer extends Transform$2 { + constructor(filterFunc, streamAction) { + let options = { + readableObjectMode: true, + writableObjectMode: true + }; + super(options); + + this.filterFunc = filterFunc; + this.streamAction = streamAction; + + this.decoder = false; + this.canContinue = false; + this.continue = false; + } + + _transform(data, encoding, callback) { + this.processIncoming(data, callback); + } + + _flush(callback) { + if (this.decoder) { + // emit an empty node just in case there is pending data to end + return this.processIncoming( + { + type: 'none' + }, + callback + ); + } + return callback(); + } + + processIncoming(data, callback) { + if (this.decoder && data.type === 'body') { + // data to parse + this.push(data); + if (!this.decoder.write(data.value)) { + return this.decoder.once('drain', callback); + } else { + return callback(); + } + } else if (this.decoder && data.type !== 'body') { + // stop decoding. + // we can not process the current data chunk as we need to wait until + // the parsed data is completely processed, so we store a reference to the + // continue callback + + let doContinue = () => { + this.continue = false; + this.decoder = false; + this.canContinue = false; + this.processIncoming(data, callback); + }; + + if (this.canContinue) { + setImmediate(doContinue); + } else { + this.continue = () => doContinue(); + } + + return this.decoder.end(); + } else if (data.type === 'node' && this.filterFunc(data)) { + this.push(data); + // found matching node, create new handler + this.emit('node', this.createDecoder(data)); + } else if (this.readable && data.type !== 'none') { + // we don't care about this data, just pass it over to the joiner + this.push(data); + } + callback(); + } + + createDecoder(node) { + this.decoder = node.getDecoder(); + + let decoder = this.decoder; + decoder.$reading = false; + + if (/^text\//.test(node.contentType) && node.flowed) { + let flowDecoder = decoder; + decoder = new FlowedDecoder$1({ + delSp: node.delSp + }); + flowDecoder.on('error', err => { + decoder.emit('error', err); + }); + flowDecoder.pipe(decoder); + } + + return { + node, + decoder, + done: () => { + if (typeof this.continue === 'function') { + // called once input stream is processed + this.continue(); + } else { + // called before input stream is processed + this.canContinue = true; + } + } + }; + } +}; + +var nodeStreamer = NodeStreamer$1; + +const MessageSplitter = messageSplitter; +const MessageJoiner = messageJoiner; +const NodeRewriter = nodeRewriter; +const NodeStreamer = nodeStreamer; +const Headers = headers; + +var mailsplit$1 = { + Splitter: MessageSplitter, + Joiner: MessageJoiner, + Rewriter: NodeRewriter, + Streamer: NodeStreamer, + Headers +}; + +var libmimeExports = {}; +var libmime$1 = { + get exports(){ return libmimeExports; }, + set exports(v){ libmimeExports = v; }, +}; + +var charsetExports = {}; +var charset$1 = { + get exports(){ return charsetExports; }, + set exports(v){ charsetExports = v; }, +}; + +/* eslint quote-props: 0*/ + +var charsets$1 = { + '866': 'IBM866', + 'unicode-1-1-utf-8': 'UTF-8', + 'utf-8': 'UTF-8', + utf8: 'UTF-8', + cp866: 'IBM866', + csibm866: 'IBM866', + ibm866: 'IBM866', + csisolatin2: 'ISO-8859-2', + 'iso-8859-2': 'ISO-8859-2', + 'iso-ir-101': 'ISO-8859-2', + 'iso8859-2': 'ISO-8859-2', + iso88592: 'ISO-8859-2', + 'iso_8859-2': 'ISO-8859-2', + 'iso_8859-2:1987': 'ISO-8859-2', + l2: 'ISO-8859-2', + latin2: 'ISO-8859-2', + csisolatin3: 'ISO-8859-3', + 'iso-8859-3': 'ISO-8859-3', + 'iso-ir-109': 'ISO-8859-3', + 'iso8859-3': 'ISO-8859-3', + iso88593: 'ISO-8859-3', + 'iso_8859-3': 'ISO-8859-3', + 'iso_8859-3:1988': 'ISO-8859-3', + l3: 'ISO-8859-3', + latin3: 'ISO-8859-3', + csisolatin4: 'ISO-8859-4', + 'iso-8859-4': 'ISO-8859-4', + 'iso-ir-110': 'ISO-8859-4', + 'iso8859-4': 'ISO-8859-4', + iso88594: 'ISO-8859-4', + 'iso_8859-4': 'ISO-8859-4', + 'iso_8859-4:1988': 'ISO-8859-4', + l4: 'ISO-8859-4', + latin4: 'ISO-8859-4', + csisolatincyrillic: 'ISO-8859-5', + cyrillic: 'ISO-8859-5', + 'iso-8859-5': 'ISO-8859-5', + 'iso-ir-144': 'ISO-8859-5', + 'iso8859-5': 'ISO-8859-5', + iso88595: 'ISO-8859-5', + 'iso_8859-5': 'ISO-8859-5', + 'iso_8859-5:1988': 'ISO-8859-5', + arabic: 'ISO-8859-6', + 'asmo-708': 'ISO-8859-6', + csiso88596e: 'ISO-8859-6', + csiso88596i: 'ISO-8859-6', + csisolatinarabic: 'ISO-8859-6', + 'ecma-114': 'ISO-8859-6', + 'iso-8859-6': 'ISO-8859-6', + 'iso-8859-6-e': 'ISO-8859-6', + 'iso-8859-6-i': 'ISO-8859-6', + 'iso-ir-127': 'ISO-8859-6', + 'iso8859-6': 'ISO-8859-6', + iso88596: 'ISO-8859-6', + 'iso_8859-6': 'ISO-8859-6', + 'iso_8859-6:1987': 'ISO-8859-6', + csisolatingreek: 'ISO-8859-7', + 'ecma-118': 'ISO-8859-7', + elot_928: 'ISO-8859-7', + greek: 'ISO-8859-7', + greek8: 'ISO-8859-7', + 'iso-8859-7': 'ISO-8859-7', + 'iso-ir-126': 'ISO-8859-7', + 'iso8859-7': 'ISO-8859-7', + iso88597: 'ISO-8859-7', + 'iso_8859-7': 'ISO-8859-7', + 'iso_8859-7:1987': 'ISO-8859-7', + sun_eu_greek: 'ISO-8859-7', + csiso88598e: 'ISO-8859-8', + csisolatinhebrew: 'ISO-8859-8', + hebrew: 'ISO-8859-8', + 'iso-8859-8': 'ISO-8859-8', + 'iso-8859-8-e': 'ISO-8859-8', + 'iso-8859-8-i': 'ISO-8859-8', + 'iso-ir-138': 'ISO-8859-8', + 'iso8859-8': 'ISO-8859-8', + iso88598: 'ISO-8859-8', + 'iso_8859-8': 'ISO-8859-8', + 'iso_8859-8:1988': 'ISO-8859-8', + visual: 'ISO-8859-8', + csisolatin6: 'ISO-8859-10', + 'iso-8859-10': 'ISO-8859-10', + 'iso-ir-157': 'ISO-8859-10', + 'iso8859-10': 'ISO-8859-10', + iso885910: 'ISO-8859-10', + l6: 'ISO-8859-10', + latin6: 'ISO-8859-10', + 'iso-8859-13': 'ISO-8859-13', + 'iso8859-13': 'ISO-8859-13', + iso885913: 'ISO-8859-13', + 'iso-8859-14': 'ISO-8859-14', + 'iso8859-14': 'ISO-8859-14', + iso885914: 'ISO-8859-14', + csisolatin9: 'ISO-8859-15', + 'iso-8859-15': 'ISO-8859-15', + 'iso8859-15': 'ISO-8859-15', + iso885915: 'ISO-8859-15', + 'iso_8859-15': 'ISO-8859-15', + l9: 'ISO-8859-15', + 'iso-8859-16': 'ISO-8859-16', + cskoi8r: 'KOI8-R', + koi: 'KOI8-R', + koi8: 'KOI8-R', + 'koi8-r': 'KOI8-R', + koi8_r: 'KOI8-R', + 'koi8-ru': 'KOI8-U', + 'koi8-u': 'KOI8-U', + csmacintosh: 'macintosh', + mac: 'macintosh', + macintosh: 'macintosh', + 'x-mac-roman': 'macintosh', + 'dos-874': 'windows-874', + 'iso-8859-11': 'windows-874', + 'iso8859-11': 'windows-874', + iso885911: 'windows-874', + 'tis-620': 'windows-874', + 'windows-874': 'windows-874', + cp1250: 'windows-1250', + 'windows-1250': 'windows-1250', + 'x-cp1250': 'windows-1250', + cp1251: 'windows-1251', + 'windows-1251': 'windows-1251', + 'x-cp1251': 'windows-1251', + 'ansi_x3.4-1968': 'windows-1252', + ascii: 'windows-1252', + cp1252: 'windows-1252', + cp819: 'windows-1252', + csisolatin1: 'windows-1252', + ibm819: 'windows-1252', + 'iso-8859-1': 'windows-1252', + 'iso-ir-100': 'windows-1252', + 'iso8859-1': 'windows-1252', + iso88591: 'windows-1252', + 'iso_8859-1': 'windows-1252', + 'iso_8859-1:1987': 'windows-1252', + l1: 'windows-1252', + latin1: 'windows-1252', + 'us-ascii': 'windows-1252', + 'windows-1252': 'windows-1252', + 'x-cp1252': 'windows-1252', + cp1253: 'windows-1253', + 'windows-1253': 'windows-1253', + 'x-cp1253': 'windows-1253', + cp1254: 'windows-1254', + csisolatin5: 'windows-1254', + 'iso-8859-9': 'windows-1254', + 'iso-ir-148': 'windows-1254', + 'iso8859-9': 'windows-1254', + iso88599: 'windows-1254', + 'iso_8859-9': 'windows-1254', + 'iso_8859-9:1989': 'windows-1254', + l5: 'windows-1254', + latin5: 'windows-1254', + 'windows-1254': 'windows-1254', + 'x-cp1254': 'windows-1254', + cp1255: 'windows-1255', + 'windows-1255': 'windows-1255', + 'x-cp1255': 'windows-1255', + cp1256: 'windows-1256', + 'windows-1256': 'windows-1256', + 'x-cp1256': 'windows-1256', + cp1257: 'windows-1257', + 'windows-1257': 'windows-1257', + 'x-cp1257': 'windows-1257', + cp1258: 'windows-1258', + 'windows-1258': 'windows-1258', + 'x-cp1258': 'windows-1258', + chinese: 'GBK', + csgb2312: 'GBK', + csiso58gb231280: 'GBK', + gb2312: 'GBK', + gb_2312: 'GBK', + 'gb_2312-80': 'GBK', + gbk: 'GBK', + 'iso-ir-58': 'GBK', + 'x-gbk': 'GBK', + gb18030: 'gb18030', + big5: 'Big5', + 'big5-hkscs': 'Big5', + 'cn-big5': 'Big5', + csbig5: 'Big5', + 'x-x-big5': 'Big5', + cseucpkdfmtjapanese: 'EUC-JP', + 'euc-jp': 'EUC-JP', + 'x-euc-jp': 'EUC-JP', + csshiftjis: 'Shift_JIS', + ms932: 'Shift_JIS', + ms_kanji: 'Shift_JIS', + 'shift-jis': 'Shift_JIS', + shift_jis: 'Shift_JIS', + sjis: 'Shift_JIS', + 'windows-31j': 'Shift_JIS', + 'x-sjis': 'Shift_JIS', + cseuckr: 'EUC-KR', + csksc56011987: 'EUC-KR', + 'euc-kr': 'EUC-KR', + 'iso-ir-149': 'EUC-KR', + korean: 'EUC-KR', + 'ks_c_5601-1987': 'EUC-KR', + 'ks_c_5601-1989': 'EUC-KR', + ksc5601: 'EUC-KR', + ksc_5601: 'EUC-KR', + 'windows-949': 'EUC-KR', + 'utf-16be': 'UTF-16BE', + 'utf-16': 'UTF-16LE', + 'utf-16le': 'UTF-16LE' +}; + +const iconv$1 = libExports; +const encodingJapanese$1 = src; +const charsets = charsets$1; + +/** + * Character set encoding and decoding functions + */ +const charset = (charset$1.exports = { + /** + * Encodes an unicode string into an Buffer object as UTF-8 + * + * We force UTF-8 here, no strange encodings allowed. + * + * @param {String} str String to be encoded + * @return {Buffer} UTF-8 encoded typed array + */ + encode(str) { + return Buffer.from(str, 'utf-8'); + }, + + /** + * Decodes a string from Buffer to an unicode string using specified encoding + * NB! Throws if unknown charset is used + * + * @param {Buffer} buf Binary data to be decoded + * @param {String} [fromCharset='UTF-8'] Binary data is decoded into string using this charset + * @return {String} Decded string + */ + decode(buf, fromCharset) { + fromCharset = charset.normalizeCharset(fromCharset || 'UTF-8'); + + if (/^(us-)?ascii|utf-8|7bit$/i.test(fromCharset)) { + return buf.toString('utf-8'); + } + + try { + if (/^jis|^iso-?2022-?jp|^EUCJP/i.test(fromCharset)) { + if (typeof buf === 'string') { + buf = Buffer.from(buf); + } + try { + let output = encodingJapanese$1.convert(buf, { + to: 'UNICODE', + from: fromCharset, + type: 'string' + }); + if (typeof output === 'string') { + output = Buffer.from(output); + } + return output; + } catch (err) { + // ignore, defaults to iconv-lite on error + } + } + + return iconv$1.decode(buf, fromCharset); + } catch (err) { + // enforce utf-8, data loss might occur + return buf.toString(); + } + }, + + /** + * Convert a string from specific encoding to UTF-8 Buffer + * + * @param {String|Buffer} str String to be encoded + * @param {String} [fromCharset='UTF-8'] Source encoding for the string + * @return {Buffer} UTF-8 encoded typed array + */ + convert(data, fromCharset) { + fromCharset = charset.normalizeCharset(fromCharset || 'UTF-8'); + + let bufString; + + if (typeof data !== 'string') { + if (/^(us-)?ascii|utf-8|7bit$/i.test(fromCharset)) { + return data; + } + + bufString = charset.decode(data, fromCharset); + return charset.encode(bufString); + } + return charset.encode(data); + }, + + /** + * Converts well known invalid character set names to proper names. + * eg. win-1257 will be converted to WINDOWS-1257 + * + * @param {String} charset Charset name to convert + * @return {String} Canoninicalized charset name + */ + normalizeCharset(charset) { + charset = charset.toLowerCase().trim(); + + // first pass + if (charsets.hasOwnProperty(charset) && charsets[charset]) { + return charsets[charset]; + } + + charset = charset + .replace(/^utf[-_]?(\d+)/, 'utf-$1') + .replace(/^(?:us[-_]?)ascii/, 'windows-1252') + .replace(/^win(?:dows)?[-_]?(\d+)/, 'windows-$1') + .replace(/^(?:latin|iso[-_]?8859)?[-_]?(\d+)/, 'iso-8859-$1') + .replace(/^l[-_]?(\d+)/, 'iso-8859-$1'); + + // updated pass + if (charsets.hasOwnProperty(charset) && charsets[charset]) { + return charsets[charset]; + } + + return charset.toUpperCase(); + } +}); + +/* eslint quote-props: 0 */ + +var mimetypes$1 = { + list: { + 'application/acad': 'dwg', + 'application/applixware': 'aw', + 'application/arj': 'arj', + 'application/atom+xml': 'xml', + 'application/atomcat+xml': 'atomcat', + 'application/atomsvc+xml': 'atomsvc', + 'application/base64': ['mm', 'mme'], + 'application/binhex': 'hqx', + 'application/binhex4': 'hqx', + 'application/book': ['book', 'boo'], + 'application/ccxml+xml,': 'ccxml', + 'application/cdf': 'cdf', + 'application/cdmi-capability': 'cdmia', + 'application/cdmi-container': 'cdmic', + 'application/cdmi-domain': 'cdmid', + 'application/cdmi-object': 'cdmio', + 'application/cdmi-queue': 'cdmiq', + 'application/clariscad': 'ccad', + 'application/commonground': 'dp', + 'application/cu-seeme': 'cu', + 'application/davmount+xml': 'davmount', + 'application/drafting': 'drw', + 'application/dsptype': 'tsp', + 'application/dssc+der': 'dssc', + 'application/dssc+xml': 'xdssc', + 'application/dxf': 'dxf', + 'application/ecmascript': ['js', 'es'], + 'application/emma+xml': 'emma', + 'application/envoy': 'evy', + 'application/epub+zip': 'epub', + 'application/excel': ['xls', 'xl', 'xla', 'xlb', 'xlc', 'xld', 'xlk', 'xll', 'xlm', 'xlt', 'xlv', 'xlw'], + 'application/exi': 'exi', + 'application/font-tdpfr': 'pfr', + 'application/fractals': 'fif', + 'application/freeloader': 'frl', + 'application/futuresplash': 'spl', + 'application/gnutar': 'tgz', + 'application/groupwise': 'vew', + 'application/hlp': 'hlp', + 'application/hta': 'hta', + 'application/hyperstudio': 'stk', + 'application/i-deas': 'unv', + 'application/iges': ['iges', 'igs'], + 'application/inf': 'inf', + 'application/internet-property-stream': 'acx', + 'application/ipfix': 'ipfix', + 'application/java': 'class', + 'application/java-archive': 'jar', + 'application/java-byte-code': 'class', + 'application/java-serialized-object': 'ser', + 'application/java-vm': 'class', + 'application/javascript': 'js', + 'application/json': 'json', + 'application/lha': 'lha', + 'application/lzx': 'lzx', + 'application/mac-binary': 'bin', + 'application/mac-binhex': 'hqx', + 'application/mac-binhex40': 'hqx', + 'application/mac-compactpro': 'cpt', + 'application/macbinary': 'bin', + 'application/mads+xml': 'mads', + 'application/marc': 'mrc', + 'application/marcxml+xml': 'mrcx', + 'application/mathematica': 'ma', + 'application/mathml+xml': 'mathml', + 'application/mbedlet': 'mbd', + 'application/mbox': 'mbox', + 'application/mcad': 'mcd', + 'application/mediaservercontrol+xml': 'mscml', + 'application/metalink4+xml': 'meta4', + 'application/mets+xml': 'mets', + 'application/mime': 'aps', + 'application/mods+xml': 'mods', + 'application/mp21': 'm21', + 'application/mp4': 'mp4', + 'application/mspowerpoint': ['ppt', 'pot', 'pps', 'ppz'], + 'application/msword': ['doc', 'dot', 'w6w', 'wiz', 'word'], + 'application/mswrite': 'wri', + 'application/mxf': 'mxf', + 'application/netmc': 'mcp', + 'application/octet-stream': ['*'], + 'application/oda': 'oda', + 'application/oebps-package+xml': 'opf', + 'application/ogg': 'ogx', + 'application/olescript': 'axs', + 'application/onenote': 'onetoc', + 'application/patch-ops-error+xml': 'xer', + 'application/pdf': 'pdf', + 'application/pgp-encrypted': 'asc', + 'application/pgp-signature': 'pgp', + 'application/pics-rules': 'prf', + 'application/pkcs-12': 'p12', + 'application/pkcs-crl': 'crl', + 'application/pkcs10': 'p10', + 'application/pkcs7-mime': ['p7c', 'p7m'], + 'application/pkcs7-signature': 'p7s', + 'application/pkcs8': 'p8', + 'application/pkix-attr-cert': 'ac', + 'application/pkix-cert': ['cer', 'crt'], + 'application/pkix-crl': 'crl', + 'application/pkix-pkipath': 'pkipath', + 'application/pkixcmp': 'pki', + 'application/plain': 'text', + 'application/pls+xml': 'pls', + 'application/postscript': ['ps', 'ai', 'eps'], + 'application/powerpoint': 'ppt', + 'application/pro_eng': ['part', 'prt'], + 'application/prs.cww': 'cww', + 'application/pskc+xml': 'pskcxml', + 'application/rdf+xml': 'rdf', + 'application/reginfo+xml': 'rif', + 'application/relax-ng-compact-syntax': 'rnc', + 'application/resource-lists+xml': 'rl', + 'application/resource-lists-diff+xml': 'rld', + 'application/ringing-tones': 'rng', + 'application/rls-services+xml': 'rs', + 'application/rsd+xml': 'rsd', + 'application/rss+xml': 'xml', + 'application/rtf': ['rtf', 'rtx'], + 'application/sbml+xml': 'sbml', + 'application/scvp-cv-request': 'scq', + 'application/scvp-cv-response': 'scs', + 'application/scvp-vp-request': 'spq', + 'application/scvp-vp-response': 'spp', + 'application/sdp': 'sdp', + 'application/sea': 'sea', + 'application/set': 'set', + 'application/set-payment-initiation': 'setpay', + 'application/set-registration-initiation': 'setreg', + 'application/shf+xml': 'shf', + 'application/sla': 'stl', + 'application/smil': ['smi', 'smil'], + 'application/smil+xml': 'smi', + 'application/solids': 'sol', + 'application/sounder': 'sdr', + 'application/sparql-query': 'rq', + 'application/sparql-results+xml': 'srx', + 'application/srgs': 'gram', + 'application/srgs+xml': 'grxml', + 'application/sru+xml': 'sru', + 'application/ssml+xml': 'ssml', + 'application/step': ['step', 'stp'], + 'application/streamingmedia': 'ssm', + 'application/tei+xml': 'tei', + 'application/thraud+xml': 'tfi', + 'application/timestamped-data': 'tsd', + 'application/toolbook': 'tbk', + 'application/vda': 'vda', + 'application/vnd.3gpp.pic-bw-large': 'plb', + 'application/vnd.3gpp.pic-bw-small': 'psb', + 'application/vnd.3gpp.pic-bw-var': 'pvb', + 'application/vnd.3gpp2.tcap': 'tcap', + 'application/vnd.3m.post-it-notes': 'pwn', + 'application/vnd.accpac.simply.aso': 'aso', + 'application/vnd.accpac.simply.imp': 'imp', + 'application/vnd.acucobol': 'acu', + 'application/vnd.acucorp': 'atc', + 'application/vnd.adobe.air-application-installer-package+zip': 'air', + 'application/vnd.adobe.fxp': 'fxp', + 'application/vnd.adobe.xdp+xml': 'xdp', + 'application/vnd.adobe.xfdf': 'xfdf', + 'application/vnd.ahead.space': 'ahead', + 'application/vnd.airzip.filesecure.azf': 'azf', + 'application/vnd.airzip.filesecure.azs': 'azs', + 'application/vnd.amazon.ebook': 'azw', + 'application/vnd.americandynamics.acc': 'acc', + 'application/vnd.amiga.ami': 'ami', + 'application/vnd.android.package-archive': 'apk', + 'application/vnd.anser-web-certificate-issue-initiation': 'cii', + 'application/vnd.anser-web-funds-transfer-initiation': 'fti', + 'application/vnd.antix.game-component': 'atx', + 'application/vnd.apple.installer+xml': 'mpkg', + 'application/vnd.apple.mpegurl': 'm3u8', + 'application/vnd.aristanetworks.swi': 'swi', + 'application/vnd.audiograph': 'aep', + 'application/vnd.blueice.multipass': 'mpm', + 'application/vnd.bmi': 'bmi', + 'application/vnd.businessobjects': 'rep', + 'application/vnd.chemdraw+xml': 'cdxml', + 'application/vnd.chipnuts.karaoke-mmd': 'mmd', + 'application/vnd.cinderella': 'cdy', + 'application/vnd.claymore': 'cla', + 'application/vnd.cloanto.rp9': 'rp9', + 'application/vnd.clonk.c4group': 'c4g', + 'application/vnd.cluetrust.cartomobile-config': 'c11amc', + 'application/vnd.cluetrust.cartomobile-config-pkg': 'c11amz', + 'application/vnd.commonspace': 'csp', + 'application/vnd.contact.cmsg': 'cdbcmsg', + 'application/vnd.cosmocaller': 'cmc', + 'application/vnd.crick.clicker': 'clkx', + 'application/vnd.crick.clicker.keyboard': 'clkk', + 'application/vnd.crick.clicker.palette': 'clkp', + 'application/vnd.crick.clicker.template': 'clkt', + 'application/vnd.crick.clicker.wordbank': 'clkw', + 'application/vnd.criticaltools.wbs+xml': 'wbs', + 'application/vnd.ctc-posml': 'pml', + 'application/vnd.cups-ppd': 'ppd', + 'application/vnd.curl.car': 'car', + 'application/vnd.curl.pcurl': 'pcurl', + 'application/vnd.data-vision.rdz': 'rdz', + 'application/vnd.denovo.fcselayout-link': 'fe_launch', + 'application/vnd.dna': 'dna', + 'application/vnd.dolby.mlp': 'mlp', + 'application/vnd.dpgraph': 'dpg', + 'application/vnd.dreamfactory': 'dfac', + 'application/vnd.dvb.ait': 'ait', + 'application/vnd.dvb.service': 'svc', + 'application/vnd.dynageo': 'geo', + 'application/vnd.ecowin.chart': 'mag', + 'application/vnd.enliven': 'nml', + 'application/vnd.epson.esf': 'esf', + 'application/vnd.epson.msf': 'msf', + 'application/vnd.epson.quickanime': 'qam', + 'application/vnd.epson.salt': 'slt', + 'application/vnd.epson.ssf': 'ssf', + 'application/vnd.eszigno3+xml': 'es3', + 'application/vnd.ezpix-album': 'ez2', + 'application/vnd.ezpix-package': 'ez3', + 'application/vnd.fdf': 'fdf', + 'application/vnd.fdsn.seed': 'seed', + 'application/vnd.flographit': 'gph', + 'application/vnd.fluxtime.clip': 'ftc', + 'application/vnd.framemaker': 'fm', + 'application/vnd.frogans.fnc': 'fnc', + 'application/vnd.frogans.ltf': 'ltf', + 'application/vnd.fsc.weblaunch': 'fsc', + 'application/vnd.fujitsu.oasys': 'oas', + 'application/vnd.fujitsu.oasys2': 'oa2', + 'application/vnd.fujitsu.oasys3': 'oa3', + 'application/vnd.fujitsu.oasysgp': 'fg5', + 'application/vnd.fujitsu.oasysprs': 'bh2', + 'application/vnd.fujixerox.ddd': 'ddd', + 'application/vnd.fujixerox.docuworks': 'xdw', + 'application/vnd.fujixerox.docuworks.binder': 'xbd', + 'application/vnd.fuzzysheet': 'fzs', + 'application/vnd.genomatix.tuxedo': 'txd', + 'application/vnd.geogebra.file': 'ggb', + 'application/vnd.geogebra.tool': 'ggt', + 'application/vnd.geometry-explorer': 'gex', + 'application/vnd.geonext': 'gxt', + 'application/vnd.geoplan': 'g2w', + 'application/vnd.geospace': 'g3w', + 'application/vnd.gmx': 'gmx', + 'application/vnd.google-earth.kml+xml': 'kml', + 'application/vnd.google-earth.kmz': 'kmz', + 'application/vnd.grafeq': 'gqf', + 'application/vnd.groove-account': 'gac', + 'application/vnd.groove-help': 'ghf', + 'application/vnd.groove-identity-message': 'gim', + 'application/vnd.groove-injector': 'grv', + 'application/vnd.groove-tool-message': 'gtm', + 'application/vnd.groove-tool-template': 'tpl', + 'application/vnd.groove-vcard': 'vcg', + 'application/vnd.hal+xml': 'hal', + 'application/vnd.handheld-entertainment+xml': 'zmm', + 'application/vnd.hbci': 'hbci', + 'application/vnd.hhe.lesson-player': 'les', + 'application/vnd.hp-hpgl': ['hgl', 'hpg', 'hpgl'], + 'application/vnd.hp-hpid': 'hpid', + 'application/vnd.hp-hps': 'hps', + 'application/vnd.hp-jlyt': 'jlt', + 'application/vnd.hp-pcl': 'pcl', + 'application/vnd.hp-pclxl': 'pclxl', + 'application/vnd.hydrostatix.sof-data': 'sfd-hdstx', + 'application/vnd.hzn-3d-crossword': 'x3d', + 'application/vnd.ibm.minipay': 'mpy', + 'application/vnd.ibm.modcap': 'afp', + 'application/vnd.ibm.rights-management': 'irm', + 'application/vnd.ibm.secure-container': 'sc', + 'application/vnd.iccprofile': 'icc', + 'application/vnd.igloader': 'igl', + 'application/vnd.immervision-ivp': 'ivp', + 'application/vnd.immervision-ivu': 'ivu', + 'application/vnd.insors.igm': 'igm', + 'application/vnd.intercon.formnet': 'xpw', + 'application/vnd.intergeo': 'i2g', + 'application/vnd.intu.qbo': 'qbo', + 'application/vnd.intu.qfx': 'qfx', + 'application/vnd.ipunplugged.rcprofile': 'rcprofile', + 'application/vnd.irepository.package+xml': 'irp', + 'application/vnd.is-xpr': 'xpr', + 'application/vnd.isac.fcs': 'fcs', + 'application/vnd.jam': 'jam', + 'application/vnd.jcp.javame.midlet-rms': 'rms', + 'application/vnd.jisp': 'jisp', + 'application/vnd.joost.joda-archive': 'joda', + 'application/vnd.kahootz': 'ktz', + 'application/vnd.kde.karbon': 'karbon', + 'application/vnd.kde.kchart': 'chrt', + 'application/vnd.kde.kformula': 'kfo', + 'application/vnd.kde.kivio': 'flw', + 'application/vnd.kde.kontour': 'kon', + 'application/vnd.kde.kpresenter': 'kpr', + 'application/vnd.kde.kspread': 'ksp', + 'application/vnd.kde.kword': 'kwd', + 'application/vnd.kenameaapp': 'htke', + 'application/vnd.kidspiration': 'kia', + 'application/vnd.kinar': 'kne', + 'application/vnd.koan': 'skp', + 'application/vnd.kodak-descriptor': 'sse', + 'application/vnd.las.las+xml': 'lasxml', + 'application/vnd.llamagraphics.life-balance.desktop': 'lbd', + 'application/vnd.llamagraphics.life-balance.exchange+xml': 'lbe', + 'application/vnd.lotus-1-2-3': '123', + 'application/vnd.lotus-approach': 'apr', + 'application/vnd.lotus-freelance': 'pre', + 'application/vnd.lotus-notes': 'nsf', + 'application/vnd.lotus-organizer': 'org', + 'application/vnd.lotus-screencam': 'scm', + 'application/vnd.lotus-wordpro': 'lwp', + 'application/vnd.macports.portpkg': 'portpkg', + 'application/vnd.mcd': 'mcd', + 'application/vnd.medcalcdata': 'mc1', + 'application/vnd.mediastation.cdkey': 'cdkey', + 'application/vnd.mfer': 'mwf', + 'application/vnd.mfmp': 'mfm', + 'application/vnd.micrografx.flo': 'flo', + 'application/vnd.micrografx.igx': 'igx', + 'application/vnd.mif': 'mif', + 'application/vnd.mobius.daf': 'daf', + 'application/vnd.mobius.dis': 'dis', + 'application/vnd.mobius.mbk': 'mbk', + 'application/vnd.mobius.mqy': 'mqy', + 'application/vnd.mobius.msl': 'msl', + 'application/vnd.mobius.plc': 'plc', + 'application/vnd.mobius.txf': 'txf', + 'application/vnd.mophun.application': 'mpn', + 'application/vnd.mophun.certificate': 'mpc', + 'application/vnd.mozilla.xul+xml': 'xul', + 'application/vnd.ms-artgalry': 'cil', + 'application/vnd.ms-cab-compressed': 'cab', + 'application/vnd.ms-excel': ['xls', 'xla', 'xlc', 'xlm', 'xlt', 'xlw', 'xlb', 'xll'], + 'application/vnd.ms-excel.addin.macroenabled.12': 'xlam', + 'application/vnd.ms-excel.sheet.binary.macroenabled.12': 'xlsb', + 'application/vnd.ms-excel.sheet.macroenabled.12': 'xlsm', + 'application/vnd.ms-excel.template.macroenabled.12': 'xltm', + 'application/vnd.ms-fontobject': 'eot', + 'application/vnd.ms-htmlhelp': 'chm', + 'application/vnd.ms-ims': 'ims', + 'application/vnd.ms-lrm': 'lrm', + 'application/vnd.ms-officetheme': 'thmx', + 'application/vnd.ms-outlook': 'msg', + 'application/vnd.ms-pki.certstore': 'sst', + 'application/vnd.ms-pki.pko': 'pko', + 'application/vnd.ms-pki.seccat': 'cat', + 'application/vnd.ms-pki.stl': 'stl', + 'application/vnd.ms-pkicertstore': 'sst', + 'application/vnd.ms-pkiseccat': 'cat', + 'application/vnd.ms-pkistl': 'stl', + 'application/vnd.ms-powerpoint': ['ppt', 'pot', 'pps', 'ppa', 'pwz'], + 'application/vnd.ms-powerpoint.addin.macroenabled.12': 'ppam', + 'application/vnd.ms-powerpoint.presentation.macroenabled.12': 'pptm', + 'application/vnd.ms-powerpoint.slide.macroenabled.12': 'sldm', + 'application/vnd.ms-powerpoint.slideshow.macroenabled.12': 'ppsm', + 'application/vnd.ms-powerpoint.template.macroenabled.12': 'potm', + 'application/vnd.ms-project': 'mpp', + 'application/vnd.ms-word.document.macroenabled.12': 'docm', + 'application/vnd.ms-word.template.macroenabled.12': 'dotm', + 'application/vnd.ms-works': ['wks', 'wcm', 'wdb', 'wps'], + 'application/vnd.ms-wpl': 'wpl', + 'application/vnd.ms-xpsdocument': 'xps', + 'application/vnd.mseq': 'mseq', + 'application/vnd.musician': 'mus', + 'application/vnd.muvee.style': 'msty', + 'application/vnd.neurolanguage.nlu': 'nlu', + 'application/vnd.noblenet-directory': 'nnd', + 'application/vnd.noblenet-sealer': 'nns', + 'application/vnd.noblenet-web': 'nnw', + 'application/vnd.nokia.configuration-message': 'ncm', + 'application/vnd.nokia.n-gage.data': 'ngdat', + 'application/vnd.nokia.n-gage.symbian.install': 'n-gage', + 'application/vnd.nokia.radio-preset': 'rpst', + 'application/vnd.nokia.radio-presets': 'rpss', + 'application/vnd.nokia.ringing-tone': 'rng', + 'application/vnd.novadigm.edm': 'edm', + 'application/vnd.novadigm.edx': 'edx', + 'application/vnd.novadigm.ext': 'ext', + 'application/vnd.oasis.opendocument.chart': 'odc', + 'application/vnd.oasis.opendocument.chart-template': 'otc', + 'application/vnd.oasis.opendocument.database': 'odb', + 'application/vnd.oasis.opendocument.formula': 'odf', + 'application/vnd.oasis.opendocument.formula-template': 'odft', + 'application/vnd.oasis.opendocument.graphics': 'odg', + 'application/vnd.oasis.opendocument.graphics-template': 'otg', + 'application/vnd.oasis.opendocument.image': 'odi', + 'application/vnd.oasis.opendocument.image-template': 'oti', + 'application/vnd.oasis.opendocument.presentation': 'odp', + 'application/vnd.oasis.opendocument.presentation-template': 'otp', + 'application/vnd.oasis.opendocument.spreadsheet': 'ods', + 'application/vnd.oasis.opendocument.spreadsheet-template': 'ots', + 'application/vnd.oasis.opendocument.text': 'odt', + 'application/vnd.oasis.opendocument.text-master': 'odm', + 'application/vnd.oasis.opendocument.text-template': 'ott', + 'application/vnd.oasis.opendocument.text-web': 'oth', + 'application/vnd.olpc-sugar': 'xo', + 'application/vnd.oma.dd2+xml': 'dd2', + 'application/vnd.openofficeorg.extension': 'oxt', + 'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'pptx', + 'application/vnd.openxmlformats-officedocument.presentationml.slide': 'sldx', + 'application/vnd.openxmlformats-officedocument.presentationml.slideshow': 'ppsx', + 'application/vnd.openxmlformats-officedocument.presentationml.template': 'potx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'xlsx', + 'application/vnd.openxmlformats-officedocument.spreadsheetml.template': 'xltx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'docx', + 'application/vnd.openxmlformats-officedocument.wordprocessingml.template': 'dotx', + 'application/vnd.osgeo.mapguide.package': 'mgp', + 'application/vnd.osgi.dp': 'dp', + 'application/vnd.palm': 'pdb', + 'application/vnd.pawaafile': 'paw', + 'application/vnd.pg.format': 'str', + 'application/vnd.pg.osasli': 'ei6', + 'application/vnd.picsel': 'efif', + 'application/vnd.pmi.widget': 'wg', + 'application/vnd.pocketlearn': 'plf', + 'application/vnd.powerbuilder6': 'pbd', + 'application/vnd.previewsystems.box': 'box', + 'application/vnd.proteus.magazine': 'mgz', + 'application/vnd.publishare-delta-tree': 'qps', + 'application/vnd.pvi.ptid1': 'ptid', + 'application/vnd.quark.quarkxpress': 'qxd', + 'application/vnd.realvnc.bed': 'bed', + 'application/vnd.recordare.musicxml': 'mxl', + 'application/vnd.recordare.musicxml+xml': 'musicxml', + 'application/vnd.rig.cryptonote': 'cryptonote', + 'application/vnd.rim.cod': 'cod', + 'application/vnd.rn-realmedia': 'rm', + 'application/vnd.rn-realplayer': 'rnx', + 'application/vnd.route66.link66+xml': 'link66', + 'application/vnd.sailingtracker.track': 'st', + 'application/vnd.seemail': 'see', + 'application/vnd.sema': 'sema', + 'application/vnd.semd': 'semd', + 'application/vnd.semf': 'semf', + 'application/vnd.shana.informed.formdata': 'ifm', + 'application/vnd.shana.informed.formtemplate': 'itp', + 'application/vnd.shana.informed.interchange': 'iif', + 'application/vnd.shana.informed.package': 'ipk', + 'application/vnd.simtech-mindmapper': 'twd', + 'application/vnd.smaf': 'mmf', + 'application/vnd.smart.teacher': 'teacher', + 'application/vnd.solent.sdkm+xml': 'sdkm', + 'application/vnd.spotfire.dxp': 'dxp', + 'application/vnd.spotfire.sfs': 'sfs', + 'application/vnd.stardivision.calc': 'sdc', + 'application/vnd.stardivision.draw': 'sda', + 'application/vnd.stardivision.impress': 'sdd', + 'application/vnd.stardivision.math': 'smf', + 'application/vnd.stardivision.writer': 'sdw', + 'application/vnd.stardivision.writer-global': 'sgl', + 'application/vnd.stepmania.stepchart': 'sm', + 'application/vnd.sun.xml.calc': 'sxc', + 'application/vnd.sun.xml.calc.template': 'stc', + 'application/vnd.sun.xml.draw': 'sxd', + 'application/vnd.sun.xml.draw.template': 'std', + 'application/vnd.sun.xml.impress': 'sxi', + 'application/vnd.sun.xml.impress.template': 'sti', + 'application/vnd.sun.xml.math': 'sxm', + 'application/vnd.sun.xml.writer': 'sxw', + 'application/vnd.sun.xml.writer.global': 'sxg', + 'application/vnd.sun.xml.writer.template': 'stw', + 'application/vnd.sus-calendar': 'sus', + 'application/vnd.svd': 'svd', + 'application/vnd.symbian.install': 'sis', + 'application/vnd.syncml+xml': 'xsm', + 'application/vnd.syncml.dm+wbxml': 'bdm', + 'application/vnd.syncml.dm+xml': 'xdm', + 'application/vnd.tao.intent-module-archive': 'tao', + 'application/vnd.tmobile-livetv': 'tmo', + 'application/vnd.trid.tpt': 'tpt', + 'application/vnd.triscape.mxs': 'mxs', + 'application/vnd.trueapp': 'tra', + 'application/vnd.ufdl': 'ufd', + 'application/vnd.uiq.theme': 'utz', + 'application/vnd.umajin': 'umj', + 'application/vnd.unity': 'unityweb', + 'application/vnd.uoml+xml': 'uoml', + 'application/vnd.vcx': 'vcx', + 'application/vnd.visio': 'vsd', + 'application/vnd.visionary': 'vis', + 'application/vnd.vsf': 'vsf', + 'application/vnd.wap.wbxml': 'wbxml', + 'application/vnd.wap.wmlc': 'wmlc', + 'application/vnd.wap.wmlscriptc': 'wmlsc', + 'application/vnd.webturbo': 'wtb', + 'application/vnd.wolfram.player': 'nbp', + 'application/vnd.wordperfect': 'wpd', + 'application/vnd.wqd': 'wqd', + 'application/vnd.wt.stf': 'stf', + 'application/vnd.xara': ['web', 'xar'], + 'application/vnd.xfdl': 'xfdl', + 'application/vnd.yamaha.hv-dic': 'hvd', + 'application/vnd.yamaha.hv-script': 'hvs', + 'application/vnd.yamaha.hv-voice': 'hvp', + 'application/vnd.yamaha.openscoreformat': 'osf', + 'application/vnd.yamaha.openscoreformat.osfpvg+xml': 'osfpvg', + 'application/vnd.yamaha.smaf-audio': 'saf', + 'application/vnd.yamaha.smaf-phrase': 'spf', + 'application/vnd.yellowriver-custom-menu': 'cmp', + 'application/vnd.zul': 'zir', + 'application/vnd.zzazz.deck+xml': 'zaz', + 'application/vocaltec-media-desc': 'vmd', + 'application/vocaltec-media-file': 'vmf', + 'application/voicexml+xml': 'vxml', + 'application/widget': 'wgt', + 'application/winhlp': 'hlp', + 'application/wordperfect': ['wp', 'wp5', 'wp6', 'wpd'], + 'application/wordperfect6.0': ['w60', 'wp5'], + 'application/wordperfect6.1': 'w61', + 'application/wsdl+xml': 'wsdl', + 'application/wspolicy+xml': 'wspolicy', + 'application/x-123': 'wk1', + 'application/x-7z-compressed': '7z', + 'application/x-abiword': 'abw', + 'application/x-ace-compressed': 'ace', + 'application/x-aim': 'aim', + 'application/x-authorware-bin': 'aab', + 'application/x-authorware-map': 'aam', + 'application/x-authorware-seg': 'aas', + 'application/x-bcpio': 'bcpio', + 'application/x-binary': 'bin', + 'application/x-binhex40': 'hqx', + 'application/x-bittorrent': 'torrent', + 'application/x-bsh': ['bsh', 'sh', 'shar'], + 'application/x-bytecode.elisp': 'elc', + 'applicaiton/x-bytecode.python': 'pyc', + 'application/x-bzip': 'bz', + 'application/x-bzip2': ['boz', 'bz2'], + 'application/x-cdf': 'cdf', + 'application/x-cdlink': 'vcd', + 'application/x-chat': ['cha', 'chat'], + 'application/x-chess-pgn': 'pgn', + 'application/x-cmu-raster': 'ras', + 'application/x-cocoa': 'cco', + 'application/x-compactpro': 'cpt', + 'application/x-compress': 'z', + 'application/x-compressed': ['tgz', 'gz', 'z', 'zip'], + 'application/x-conference': 'nsc', + 'application/x-cpio': 'cpio', + 'application/x-cpt': 'cpt', + 'application/x-csh': 'csh', + 'application/x-debian-package': 'deb', + 'application/x-deepv': 'deepv', + 'application/x-director': ['dir', 'dcr', 'dxr'], + 'application/x-doom': 'wad', + 'application/x-dtbncx+xml': 'ncx', + 'application/x-dtbook+xml': 'dtb', + 'application/x-dtbresource+xml': 'res', + 'application/x-dvi': 'dvi', + 'application/x-elc': 'elc', + 'application/x-envoy': ['env', 'evy'], + 'application/x-esrehber': 'es', + 'application/x-excel': ['xls', 'xla', 'xlb', 'xlc', 'xld', 'xlk', 'xll', 'xlm', 'xlt', 'xlv', 'xlw'], + 'application/x-font-bdf': 'bdf', + 'application/x-font-ghostscript': 'gsf', + 'application/x-font-linux-psf': 'psf', + 'application/x-font-otf': 'otf', + 'application/x-font-pcf': 'pcf', + 'application/x-font-snf': 'snf', + 'application/x-font-ttf': 'ttf', + 'application/x-font-type1': 'pfa', + 'application/x-font-woff': 'woff', + 'application/x-frame': 'mif', + 'application/x-freelance': 'pre', + 'application/x-futuresplash': 'spl', + 'application/x-gnumeric': 'gnumeric', + 'application/x-gsp': 'gsp', + 'application/x-gss': 'gss', + 'application/x-gtar': 'gtar', + 'application/x-gzip': ['gz', 'gzip'], + 'application/x-hdf': 'hdf', + 'application/x-helpfile': ['help', 'hlp'], + 'application/x-httpd-imap': 'imap', + 'application/x-ima': 'ima', + 'application/x-internet-signup': ['ins', 'isp'], + 'application/x-internett-signup': 'ins', + 'application/x-inventor': 'iv', + 'application/x-ip2': 'ip', + 'application/x-iphone': 'iii', + 'application/x-java-class': 'class', + 'application/x-java-commerce': 'jcm', + 'application/x-java-jnlp-file': 'jnlp', + 'application/x-javascript': 'js', + 'application/x-koan': ['skd', 'skm', 'skp', 'skt'], + 'application/x-ksh': 'ksh', + 'application/x-latex': ['latex', 'ltx'], + 'application/x-lha': 'lha', + 'application/x-lisp': 'lsp', + 'application/x-livescreen': 'ivy', + 'application/x-lotus': 'wq1', + 'application/x-lotusscreencam': 'scm', + 'application/x-lzh': 'lzh', + 'application/x-lzx': 'lzx', + 'application/x-mac-binhex40': 'hqx', + 'application/x-macbinary': 'bin', + 'application/x-magic-cap-package-1.0': 'mc$', + 'application/x-mathcad': 'mcd', + 'application/x-meme': 'mm', + 'application/x-midi': ['mid', 'midi'], + 'application/x-mif': 'mif', + 'application/x-mix-transfer': 'nix', + 'application/x-mobipocket-ebook': 'prc', + 'application/x-mplayer2': 'asx', + 'application/x-ms-application': 'application', + 'application/x-ms-wmd': 'wmd', + 'application/x-ms-wmz': 'wmz', + 'application/x-ms-xbap': 'xbap', + 'application/x-msaccess': 'mdb', + 'application/x-msbinder': 'obd', + 'application/x-mscardfile': 'crd', + 'application/x-msclip': 'clp', + 'application/x-msdownload': ['exe', 'dll'], + 'application/x-msexcel': ['xls', 'xla', 'xlw'], + 'application/x-msmediaview': ['mvb', 'm13', 'm14'], + 'application/x-msmetafile': 'wmf', + 'application/x-msmoney': 'mny', + 'application/x-mspowerpoint': 'ppt', + 'application/x-mspublisher': 'pub', + 'application/x-msschedule': 'scd', + 'application/x-msterminal': 'trm', + 'application/x-mswrite': 'wri', + 'application/x-navi-animation': 'ani', + 'application/x-navidoc': 'nvd', + 'application/x-navimap': 'map', + 'application/x-navistyle': 'stl', + 'application/x-netcdf': ['cdf', 'nc'], + 'application/x-newton-compatible-pkg': 'pkg', + 'application/x-nokia-9000-communicator-add-on-software': 'aos', + 'application/x-omc': 'omc', + 'application/x-omcdatamaker': 'omcd', + 'application/x-omcregerator': 'omcr', + 'application/x-pagemaker': ['pm4', 'pm5'], + 'application/x-pcl': 'pcl', + 'application/x-perfmon': ['pma', 'pmc', 'pml', 'pmr', 'pmw'], + 'application/x-pixclscript': 'plx', + 'application/x-pkcs10': 'p10', + 'application/x-pkcs12': ['p12', 'pfx'], + 'application/x-pkcs7-certificates': ['p7b', 'spc'], + 'application/x-pkcs7-certreqresp': 'p7r', + 'application/x-pkcs7-mime': ['p7m', 'p7c'], + 'application/x-pkcs7-signature': ['p7s', 'p7a'], + 'application/x-pointplus': 'css', + 'application/x-portable-anymap': 'pnm', + 'application/x-project': ['mpc', 'mpt', 'mpv', 'mpx'], + 'application/x-qpro': 'wb1', + 'application/x-rar-compressed': 'rar', + 'application/x-rtf': 'rtf', + 'application/x-sdp': 'sdp', + 'application/x-sea': 'sea', + 'application/x-seelogo': 'sl', + 'application/x-sh': 'sh', + 'application/x-shar': ['shar', 'sh'], + 'application/x-shockwave-flash': 'swf', + 'application/x-silverlight-app': 'xap', + 'application/x-sit': 'sit', + 'application/x-sprite': ['spr', 'sprite'], + 'application/x-stuffit': 'sit', + 'application/x-stuffitx': 'sitx', + 'application/x-sv4cpio': 'sv4cpio', + 'application/x-sv4crc': 'sv4crc', + 'application/x-tar': 'tar', + 'application/x-tbook': ['sbk', 'tbk'], + 'application/x-tcl': 'tcl', + 'application/x-tex': 'tex', + 'application/x-tex-tfm': 'tfm', + 'application/x-texinfo': ['texi', 'texinfo'], + 'application/x-troff': ['roff', 't', 'tr'], + 'application/x-troff-man': 'man', + 'application/x-troff-me': 'me', + 'application/x-troff-ms': 'ms', + 'application/x-troff-msvideo': 'avi', + 'application/x-ustar': 'ustar', + 'application/x-visio': ['vsd', 'vst', 'vsw'], + 'application/x-vnd.audioexplosion.mzz': 'mzz', + 'application/x-vnd.ls-xpix': 'xpix', + 'application/x-vrml': 'vrml', + 'application/x-wais-source': ['src', 'wsrc'], + 'application/x-winhelp': 'hlp', + 'application/x-wintalk': 'wtk', + 'application/x-world': ['wrl', 'svr'], + 'application/x-wpwin': 'wpd', + 'application/x-wri': 'wri', + 'application/x-x509-ca-cert': ['cer', 'crt', 'der'], + 'application/x-x509-user-cert': 'crt', + 'application/x-xfig': 'fig', + 'application/x-xpinstall': 'xpi', + 'application/x-zip-compressed': 'zip', + 'application/xcap-diff+xml': 'xdf', + 'application/xenc+xml': 'xenc', + 'application/xhtml+xml': 'xhtml', + 'application/xml': 'xml', + 'application/xml-dtd': 'dtd', + 'application/xop+xml': 'xop', + 'application/xslt+xml': 'xslt', + 'application/xspf+xml': 'xspf', + 'application/xv+xml': 'mxml', + 'application/yang': 'yang', + 'application/yin+xml': 'yin', + 'application/ynd.ms-pkipko': 'pko', + 'application/zip': 'zip', + 'audio/adpcm': 'adp', + 'audio/aiff': ['aiff', 'aif', 'aifc'], + 'audio/basic': ['snd', 'au'], + 'audio/it': 'it', + 'audio/make': ['funk', 'my', 'pfunk'], + 'audio/make.my.funk': 'pfunk', + 'audio/mid': ['mid', 'rmi'], + 'audio/midi': ['midi', 'kar', 'mid'], + 'audio/mod': 'mod', + 'audio/mp4': 'mp4a', + 'audio/mpeg': ['mpga', 'mp3', 'm2a', 'mp2', 'mpa', 'mpg'], + 'audio/mpeg3': 'mp3', + 'audio/nspaudio': ['la', 'lma'], + 'audio/ogg': 'oga', + 'audio/s3m': 's3m', + 'audio/tsp-audio': 'tsi', + 'audio/tsplayer': 'tsp', + 'audio/vnd.dece.audio': 'uva', + 'audio/vnd.digital-winds': 'eol', + 'audio/vnd.dra': 'dra', + 'audio/vnd.dts': 'dts', + 'audio/vnd.dts.hd': 'dtshd', + 'audio/vnd.lucent.voice': 'lvp', + 'audio/vnd.ms-playready.media.pya': 'pya', + 'audio/vnd.nuera.ecelp4800': 'ecelp4800', + 'audio/vnd.nuera.ecelp7470': 'ecelp7470', + 'audio/vnd.nuera.ecelp9600': 'ecelp9600', + 'audio/vnd.qcelp': 'qcp', + 'audio/vnd.rip': 'rip', + 'audio/voc': 'voc', + 'audio/voxware': 'vox', + 'audio/wav': 'wav', + 'audio/webm': 'weba', + 'audio/x-aac': 'aac', + 'audio/x-adpcm': 'snd', + 'audio/x-aiff': ['aiff', 'aif', 'aifc'], + 'audio/x-au': 'au', + 'audio/x-gsm': ['gsd', 'gsm'], + 'audio/x-jam': 'jam', + 'audio/x-liveaudio': 'lam', + 'audio/x-mid': ['mid', 'midi'], + 'audio/x-midi': ['midi', 'mid'], + 'audio/x-mod': 'mod', + 'audio/x-mpeg': 'mp2', + 'audio/x-mpeg-3': 'mp3', + 'audio/x-mpegurl': 'm3u', + 'audio/x-mpequrl': 'm3u', + 'audio/x-ms-wax': 'wax', + 'audio/x-ms-wma': 'wma', + 'audio/x-nspaudio': ['la', 'lma'], + 'audio/x-pn-realaudio': ['ra', 'ram', 'rm', 'rmm', 'rmp'], + 'audio/x-pn-realaudio-plugin': ['ra', 'rmp', 'rpm'], + 'audio/x-psid': 'sid', + 'audio/x-realaudio': 'ra', + 'audio/x-twinvq': 'vqf', + 'audio/x-twinvq-plugin': ['vqe', 'vql'], + 'audio/x-vnd.audioexplosion.mjuicemediafile': 'mjf', + 'audio/x-voc': 'voc', + 'audio/x-wav': 'wav', + 'audio/xm': 'xm', + 'chemical/x-cdx': 'cdx', + 'chemical/x-cif': 'cif', + 'chemical/x-cmdf': 'cmdf', + 'chemical/x-cml': 'cml', + 'chemical/x-csml': 'csml', + 'chemical/x-pdb': ['pdb', 'xyz'], + 'chemical/x-xyz': 'xyz', + 'drawing/x-dwf': 'dwf', + 'i-world/i-vrml': 'ivr', + 'image/bmp': ['bmp', 'bm'], + 'image/cgm': 'cgm', + 'image/cis-cod': 'cod', + 'image/cmu-raster': ['ras', 'rast'], + 'image/fif': 'fif', + 'image/florian': ['flo', 'turbot'], + 'image/g3fax': 'g3', + 'image/gif': 'gif', + 'image/ief': ['ief', 'iefs'], + 'image/jpeg': ['jpeg', 'jpe', 'jpg', 'jfif', 'jfif-tbnl'], + 'image/jutvision': 'jut', + 'image/ktx': 'ktx', + 'image/naplps': ['nap', 'naplps'], + 'image/pict': ['pic', 'pict'], + 'image/pipeg': 'jfif', + 'image/pjpeg': ['jfif', 'jpe', 'jpeg', 'jpg'], + 'image/png': ['png', 'x-png'], + 'image/prs.btif': 'btif', + 'image/svg+xml': 'svg', + 'image/tiff': ['tif', 'tiff'], + 'image/vasa': 'mcf', + 'image/vnd.adobe.photoshop': 'psd', + 'image/vnd.dece.graphic': 'uvi', + 'image/vnd.djvu': 'djvu', + 'image/vnd.dvb.subtitle': 'sub', + 'image/vnd.dwg': ['dwg', 'dxf', 'svf'], + 'image/vnd.dxf': 'dxf', + 'image/vnd.fastbidsheet': 'fbs', + 'image/vnd.fpx': 'fpx', + 'image/vnd.fst': 'fst', + 'image/vnd.fujixerox.edmics-mmr': 'mmr', + 'image/vnd.fujixerox.edmics-rlc': 'rlc', + 'image/vnd.ms-modi': 'mdi', + 'image/vnd.net-fpx': ['fpx', 'npx'], + 'image/vnd.rn-realflash': 'rf', + 'image/vnd.rn-realpix': 'rp', + 'image/vnd.wap.wbmp': 'wbmp', + 'image/vnd.xiff': 'xif', + 'image/webp': 'webp', + 'image/x-cmu-raster': 'ras', + 'image/x-cmx': 'cmx', + 'image/x-dwg': ['dwg', 'dxf', 'svf'], + 'image/x-freehand': 'fh', + 'image/x-icon': 'ico', + 'image/x-jg': 'art', + 'image/x-jps': 'jps', + 'image/x-niff': ['niff', 'nif'], + 'image/x-pcx': 'pcx', + 'image/x-pict': ['pct', 'pic'], + 'image/x-portable-anymap': 'pnm', + 'image/x-portable-bitmap': 'pbm', + 'image/x-portable-graymap': 'pgm', + 'image/x-portable-greymap': 'pgm', + 'image/x-portable-pixmap': 'ppm', + 'image/x-quicktime': ['qif', 'qti', 'qtif'], + 'image/x-rgb': 'rgb', + 'image/x-tiff': ['tif', 'tiff'], + 'image/x-windows-bmp': 'bmp', + 'image/x-xbitmap': 'xbm', + 'image/x-xbm': 'xbm', + 'image/x-xpixmap': ['xpm', 'pm'], + 'image/x-xwd': 'xwd', + 'image/x-xwindowdump': 'xwd', + 'image/xbm': 'xbm', + 'image/xpm': 'xpm', + 'message/rfc822': ['eml', 'mht', 'mhtml', 'nws', 'mime'], + 'model/iges': ['iges', 'igs'], + 'model/mesh': 'msh', + 'model/vnd.collada+xml': 'dae', + 'model/vnd.dwf': 'dwf', + 'model/vnd.gdl': 'gdl', + 'model/vnd.gtw': 'gtw', + 'model/vnd.mts': 'mts', + 'model/vnd.vtu': 'vtu', + 'model/vrml': ['vrml', 'wrl', 'wrz'], + 'model/x-pov': 'pov', + 'multipart/x-gzip': 'gzip', + 'multipart/x-ustar': 'ustar', + 'multipart/x-zip': 'zip', + 'music/crescendo': ['mid', 'midi'], + 'music/x-karaoke': 'kar', + 'paleovu/x-pv': 'pvu', + 'text/asp': 'asp', + 'text/calendar': 'ics', + 'text/css': 'css', + 'text/csv': 'csv', + 'text/ecmascript': 'js', + 'text/h323': '323', + 'text/html': ['html', 'htm', 'stm', 'acgi', 'htmls', 'htx', 'shtml'], + 'text/iuls': 'uls', + 'text/javascript': 'js', + 'text/mcf': 'mcf', + 'text/n3': 'n3', + 'text/pascal': 'pas', + 'text/plain': [ + 'txt', + 'bas', + 'c', + 'h', + 'c++', + 'cc', + 'com', + 'conf', + 'cxx', + 'def', + 'f', + 'f90', + 'for', + 'g', + 'hh', + 'idc', + 'jav', + 'java', + 'list', + 'log', + 'lst', + 'm', + 'mar', + 'pl', + 'sdml', + 'text' + ], + 'text/plain-bas': 'par', + 'text/prs.lines.tag': 'dsc', + 'text/richtext': ['rtx', 'rt', 'rtf'], + 'text/scriplet': 'wsc', + 'text/scriptlet': 'sct', + 'text/sgml': ['sgm', 'sgml'], + 'text/tab-separated-values': 'tsv', + 'text/troff': 't', + 'text/turtle': 'ttl', + 'text/uri-list': ['uni', 'unis', 'uri', 'uris'], + 'text/vnd.abc': 'abc', + 'text/vnd.curl': 'curl', + 'text/vnd.curl.dcurl': 'dcurl', + 'text/vnd.curl.mcurl': 'mcurl', + 'text/vnd.curl.scurl': 'scurl', + 'text/vnd.fly': 'fly', + 'text/vnd.fmi.flexstor': 'flx', + 'text/vnd.graphviz': 'gv', + 'text/vnd.in3d.3dml': '3dml', + 'text/vnd.in3d.spot': 'spot', + 'text/vnd.rn-realtext': 'rt', + 'text/vnd.sun.j2me.app-descriptor': 'jad', + 'text/vnd.wap.wml': 'wml', + 'text/vnd.wap.wmlscript': 'wmls', + 'text/webviewhtml': 'htt', + 'text/x-asm': ['asm', 's'], + 'text/x-audiosoft-intra': 'aip', + 'text/x-c': ['c', 'cc', 'cpp'], + 'text/x-component': 'htc', + 'text/x-fortran': ['for', 'f', 'f77', 'f90'], + 'text/x-h': ['h', 'hh'], + 'text/x-java-source': ['java', 'jav'], + 'text/x-java-source,java': 'java', + 'text/x-la-asf': 'lsx', + 'text/x-m': 'm', + 'text/x-pascal': 'p', + 'text/x-script': 'hlb', + 'text/x-script.csh': 'csh', + 'text/x-script.elisp': 'el', + 'text/x-script.guile': 'scm', + 'text/x-script.ksh': 'ksh', + 'text/x-script.lisp': 'lsp', + 'text/x-script.perl': 'pl', + 'text/x-script.perl-module': 'pm', + 'text/x-script.phyton': 'py', + 'text/x-script.rexx': 'rexx', + 'text/x-script.scheme': 'scm', + 'text/x-script.sh': 'sh', + 'text/x-script.tcl': 'tcl', + 'text/x-script.tcsh': 'tcsh', + 'text/x-script.zsh': 'zsh', + 'text/x-server-parsed-html': ['shtml', 'ssi'], + 'text/x-setext': 'etx', + 'text/x-sgml': ['sgm', 'sgml'], + 'text/x-speech': ['spc', 'talk'], + 'text/x-uil': 'uil', + 'text/x-uuencode': ['uu', 'uue'], + 'text/x-vcalendar': 'vcs', + 'text/x-vcard': 'vcf', + 'text/xml': 'xml', + 'video/3gpp': '3gp', + 'video/3gpp2': '3g2', + 'video/animaflex': 'afl', + 'video/avi': 'avi', + 'video/avs-video': 'avs', + 'video/dl': 'dl', + 'video/fli': 'fli', + 'video/gl': 'gl', + 'video/h261': 'h261', + 'video/h263': 'h263', + 'video/h264': 'h264', + 'video/jpeg': 'jpgv', + 'video/jpm': 'jpm', + 'video/mj2': 'mj2', + 'video/mp4': 'mp4', + 'video/mpeg': ['mpeg', 'mp2', 'mpa', 'mpe', 'mpg', 'mpv2', 'm1v', 'm2v', 'mp3'], + 'video/msvideo': 'avi', + 'video/ogg': 'ogv', + 'video/quicktime': ['mov', 'qt', 'moov'], + 'video/vdo': 'vdo', + 'video/vivo': ['viv', 'vivo'], + 'video/vnd.dece.hd': 'uvh', + 'video/vnd.dece.mobile': 'uvm', + 'video/vnd.dece.pd': 'uvp', + 'video/vnd.dece.sd': 'uvs', + 'video/vnd.dece.video': 'uvv', + 'video/vnd.fvt': 'fvt', + 'video/vnd.mpegurl': 'mxu', + 'video/vnd.ms-playready.media.pyv': 'pyv', + 'video/vnd.rn-realvideo': 'rv', + 'video/vnd.uvvu.mp4': 'uvu', + 'video/vnd.vivo': ['viv', 'vivo'], + 'video/vosaic': 'vos', + 'video/webm': 'webm', + 'video/x-amt-demorun': 'xdr', + 'video/x-amt-showrun': 'xsr', + 'video/x-atomic3d-feature': 'fmf', + 'video/x-dl': 'dl', + 'video/x-dv': ['dif', 'dv'], + 'video/x-f4v': 'f4v', + 'video/x-fli': 'fli', + 'video/x-flv': 'flv', + 'video/x-gl': 'gl', + 'video/x-isvideo': 'isu', + 'video/x-la-asf': ['lsf', 'lsx'], + 'video/x-m4v': 'm4v', + 'video/x-motion-jpeg': 'mjpg', + 'video/x-mpeg': ['mp3', 'mp2'], + 'video/x-mpeq2a': 'mp2', + 'video/x-ms-asf': ['asf', 'asr', 'asx'], + 'video/x-ms-asf-plugin': 'asx', + 'video/x-ms-wm': 'wm', + 'video/x-ms-wmv': 'wmv', + 'video/x-ms-wmx': 'wmx', + 'video/x-ms-wvx': 'wvx', + 'video/x-msvideo': 'avi', + 'video/x-qtc': 'qtc', + 'video/x-scm': 'scm', + 'video/x-sgi-movie': ['movie', 'mv'], + 'windows/metafile': 'wmf', + 'www/mime': 'mime', + 'x-conference/x-cooltalk': 'ice', + 'x-music/x-midi': ['mid', 'midi'], + 'x-world/x-3dmf': ['3dm', '3dmf', 'qd3', 'qd3d'], + 'x-world/x-svr': 'svr', + 'x-world/x-vrml': ['flr', 'vrml', 'wrl', 'wrz', 'xaf', 'xof'], + 'x-world/x-vrt': 'vrt', + 'xgl/drawing': 'xgz', + 'xgl/movie': 'xmz' + }, + + extensions: { + '*': 'application/octet-stream', + '123': 'application/vnd.lotus-1-2-3', + '323': 'text/h323', + '3dm': 'x-world/x-3dmf', + '3dmf': 'x-world/x-3dmf', + '3dml': 'text/vnd.in3d.3dml', + '3g2': 'video/3gpp2', + '3gp': 'video/3gpp', + '7z': 'application/x-7z-compressed', + a: 'application/octet-stream', + aab: 'application/x-authorware-bin', + aac: 'audio/x-aac', + aam: 'application/x-authorware-map', + aas: 'application/x-authorware-seg', + abc: 'text/vnd.abc', + abw: 'application/x-abiword', + ac: 'application/pkix-attr-cert', + acc: 'application/vnd.americandynamics.acc', + ace: 'application/x-ace-compressed', + acgi: 'text/html', + acu: 'application/vnd.acucobol', + acx: 'application/internet-property-stream', + adp: 'audio/adpcm', + aep: 'application/vnd.audiograph', + afl: 'video/animaflex', + afp: 'application/vnd.ibm.modcap', + ahead: 'application/vnd.ahead.space', + ai: 'application/postscript', + aif: ['audio/aiff', 'audio/x-aiff'], + aifc: ['audio/aiff', 'audio/x-aiff'], + aiff: ['audio/aiff', 'audio/x-aiff'], + aim: 'application/x-aim', + aip: 'text/x-audiosoft-intra', + air: 'application/vnd.adobe.air-application-installer-package+zip', + ait: 'application/vnd.dvb.ait', + ami: 'application/vnd.amiga.ami', + ani: 'application/x-navi-animation', + aos: 'application/x-nokia-9000-communicator-add-on-software', + apk: 'application/vnd.android.package-archive', + application: 'application/x-ms-application', + apr: 'application/vnd.lotus-approach', + aps: 'application/mime', + arc: 'application/octet-stream', + arj: ['application/arj', 'application/octet-stream'], + art: 'image/x-jg', + asf: 'video/x-ms-asf', + asm: 'text/x-asm', + aso: 'application/vnd.accpac.simply.aso', + asp: 'text/asp', + asr: 'video/x-ms-asf', + asx: ['video/x-ms-asf', 'application/x-mplayer2', 'video/x-ms-asf-plugin'], + atc: 'application/vnd.acucorp', + atomcat: 'application/atomcat+xml', + atomsvc: 'application/atomsvc+xml', + atx: 'application/vnd.antix.game-component', + au: ['audio/basic', 'audio/x-au'], + avi: ['video/avi', 'video/msvideo', 'application/x-troff-msvideo', 'video/x-msvideo'], + avs: 'video/avs-video', + aw: 'application/applixware', + axs: 'application/olescript', + azf: 'application/vnd.airzip.filesecure.azf', + azs: 'application/vnd.airzip.filesecure.azs', + azw: 'application/vnd.amazon.ebook', + bas: 'text/plain', + bcpio: 'application/x-bcpio', + bdf: 'application/x-font-bdf', + bdm: 'application/vnd.syncml.dm+wbxml', + bed: 'application/vnd.realvnc.bed', + bh2: 'application/vnd.fujitsu.oasysprs', + bin: ['application/octet-stream', 'application/mac-binary', 'application/macbinary', 'application/x-macbinary', 'application/x-binary'], + bm: 'image/bmp', + bmi: 'application/vnd.bmi', + bmp: ['image/bmp', 'image/x-windows-bmp'], + boo: 'application/book', + book: 'application/book', + box: 'application/vnd.previewsystems.box', + boz: 'application/x-bzip2', + bsh: 'application/x-bsh', + btif: 'image/prs.btif', + bz: 'application/x-bzip', + bz2: 'application/x-bzip2', + c: ['text/plain', 'text/x-c'], + 'c++': 'text/plain', + c11amc: 'application/vnd.cluetrust.cartomobile-config', + c11amz: 'application/vnd.cluetrust.cartomobile-config-pkg', + c4g: 'application/vnd.clonk.c4group', + cab: 'application/vnd.ms-cab-compressed', + car: 'application/vnd.curl.car', + cat: ['application/vnd.ms-pkiseccat', 'application/vnd.ms-pki.seccat'], + cc: ['text/plain', 'text/x-c'], + ccad: 'application/clariscad', + cco: 'application/x-cocoa', + ccxml: 'application/ccxml+xml,', + cdbcmsg: 'application/vnd.contact.cmsg', + cdf: ['application/cdf', 'application/x-cdf', 'application/x-netcdf'], + cdkey: 'application/vnd.mediastation.cdkey', + cdmia: 'application/cdmi-capability', + cdmic: 'application/cdmi-container', + cdmid: 'application/cdmi-domain', + cdmio: 'application/cdmi-object', + cdmiq: 'application/cdmi-queue', + cdx: 'chemical/x-cdx', + cdxml: 'application/vnd.chemdraw+xml', + cdy: 'application/vnd.cinderella', + cer: ['application/pkix-cert', 'application/x-x509-ca-cert'], + cgm: 'image/cgm', + cha: 'application/x-chat', + chat: 'application/x-chat', + chm: 'application/vnd.ms-htmlhelp', + chrt: 'application/vnd.kde.kchart', + cif: 'chemical/x-cif', + cii: 'application/vnd.anser-web-certificate-issue-initiation', + cil: 'application/vnd.ms-artgalry', + cla: 'application/vnd.claymore', + class: ['application/octet-stream', 'application/java', 'application/java-byte-code', 'application/java-vm', 'application/x-java-class'], + clkk: 'application/vnd.crick.clicker.keyboard', + clkp: 'application/vnd.crick.clicker.palette', + clkt: 'application/vnd.crick.clicker.template', + clkw: 'application/vnd.crick.clicker.wordbank', + clkx: 'application/vnd.crick.clicker', + clp: 'application/x-msclip', + cmc: 'application/vnd.cosmocaller', + cmdf: 'chemical/x-cmdf', + cml: 'chemical/x-cml', + cmp: 'application/vnd.yellowriver-custom-menu', + cmx: 'image/x-cmx', + cod: ['image/cis-cod', 'application/vnd.rim.cod'], + com: ['application/octet-stream', 'text/plain'], + conf: 'text/plain', + cpio: 'application/x-cpio', + cpp: 'text/x-c', + cpt: ['application/mac-compactpro', 'application/x-compactpro', 'application/x-cpt'], + crd: 'application/x-mscardfile', + crl: ['application/pkix-crl', 'application/pkcs-crl'], + crt: ['application/pkix-cert', 'application/x-x509-user-cert', 'application/x-x509-ca-cert'], + cryptonote: 'application/vnd.rig.cryptonote', + csh: ['text/x-script.csh', 'application/x-csh'], + csml: 'chemical/x-csml', + csp: 'application/vnd.commonspace', + css: ['text/css', 'application/x-pointplus'], + csv: 'text/csv', + cu: 'application/cu-seeme', + curl: 'text/vnd.curl', + cww: 'application/prs.cww', + cxx: 'text/plain', + dae: 'model/vnd.collada+xml', + daf: 'application/vnd.mobius.daf', + davmount: 'application/davmount+xml', + dcr: 'application/x-director', + dcurl: 'text/vnd.curl.dcurl', + dd2: 'application/vnd.oma.dd2+xml', + ddd: 'application/vnd.fujixerox.ddd', + deb: 'application/x-debian-package', + deepv: 'application/x-deepv', + def: 'text/plain', + der: 'application/x-x509-ca-cert', + dfac: 'application/vnd.dreamfactory', + dif: 'video/x-dv', + dir: 'application/x-director', + dis: 'application/vnd.mobius.dis', + djvu: 'image/vnd.djvu', + dl: ['video/dl', 'video/x-dl'], + dll: 'application/x-msdownload', + dms: 'application/octet-stream', + dna: 'application/vnd.dna', + doc: 'application/msword', + docm: 'application/vnd.ms-word.document.macroenabled.12', + docx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', + dot: 'application/msword', + dotm: 'application/vnd.ms-word.template.macroenabled.12', + dotx: 'application/vnd.openxmlformats-officedocument.wordprocessingml.template', + dp: ['application/commonground', 'application/vnd.osgi.dp'], + dpg: 'application/vnd.dpgraph', + dra: 'audio/vnd.dra', + drw: 'application/drafting', + dsc: 'text/prs.lines.tag', + dssc: 'application/dssc+der', + dtb: 'application/x-dtbook+xml', + dtd: 'application/xml-dtd', + dts: 'audio/vnd.dts', + dtshd: 'audio/vnd.dts.hd', + dump: 'application/octet-stream', + dv: 'video/x-dv', + dvi: 'application/x-dvi', + dwf: ['model/vnd.dwf', 'drawing/x-dwf'], + dwg: ['application/acad', 'image/vnd.dwg', 'image/x-dwg'], + dxf: ['application/dxf', 'image/vnd.dwg', 'image/vnd.dxf', 'image/x-dwg'], + dxp: 'application/vnd.spotfire.dxp', + dxr: 'application/x-director', + ecelp4800: 'audio/vnd.nuera.ecelp4800', + ecelp7470: 'audio/vnd.nuera.ecelp7470', + ecelp9600: 'audio/vnd.nuera.ecelp9600', + edm: 'application/vnd.novadigm.edm', + edx: 'application/vnd.novadigm.edx', + efif: 'application/vnd.picsel', + ei6: 'application/vnd.pg.osasli', + el: 'text/x-script.elisp', + elc: ['application/x-elc', 'application/x-bytecode.elisp'], + eml: 'message/rfc822', + emma: 'application/emma+xml', + env: 'application/x-envoy', + eol: 'audio/vnd.digital-winds', + eot: 'application/vnd.ms-fontobject', + eps: 'application/postscript', + epub: 'application/epub+zip', + es: ['application/ecmascript', 'application/x-esrehber'], + es3: 'application/vnd.eszigno3+xml', + esf: 'application/vnd.epson.esf', + etx: 'text/x-setext', + evy: ['application/envoy', 'application/x-envoy'], + exe: ['application/octet-stream', 'application/x-msdownload'], + exi: 'application/exi', + ext: 'application/vnd.novadigm.ext', + ez2: 'application/vnd.ezpix-album', + ez3: 'application/vnd.ezpix-package', + f: ['text/plain', 'text/x-fortran'], + f4v: 'video/x-f4v', + f77: 'text/x-fortran', + f90: ['text/plain', 'text/x-fortran'], + fbs: 'image/vnd.fastbidsheet', + fcs: 'application/vnd.isac.fcs', + fdf: 'application/vnd.fdf', + fe_launch: 'application/vnd.denovo.fcselayout-link', + fg5: 'application/vnd.fujitsu.oasysgp', + fh: 'image/x-freehand', + fif: ['application/fractals', 'image/fif'], + fig: 'application/x-xfig', + fli: ['video/fli', 'video/x-fli'], + flo: ['image/florian', 'application/vnd.micrografx.flo'], + flr: 'x-world/x-vrml', + flv: 'video/x-flv', + flw: 'application/vnd.kde.kivio', + flx: 'text/vnd.fmi.flexstor', + fly: 'text/vnd.fly', + fm: 'application/vnd.framemaker', + fmf: 'video/x-atomic3d-feature', + fnc: 'application/vnd.frogans.fnc', + for: ['text/plain', 'text/x-fortran'], + fpx: ['image/vnd.fpx', 'image/vnd.net-fpx'], + frl: 'application/freeloader', + fsc: 'application/vnd.fsc.weblaunch', + fst: 'image/vnd.fst', + ftc: 'application/vnd.fluxtime.clip', + fti: 'application/vnd.anser-web-funds-transfer-initiation', + funk: 'audio/make', + fvt: 'video/vnd.fvt', + fxp: 'application/vnd.adobe.fxp', + fzs: 'application/vnd.fuzzysheet', + g: 'text/plain', + g2w: 'application/vnd.geoplan', + g3: 'image/g3fax', + g3w: 'application/vnd.geospace', + gac: 'application/vnd.groove-account', + gdl: 'model/vnd.gdl', + geo: 'application/vnd.dynageo', + gex: 'application/vnd.geometry-explorer', + ggb: 'application/vnd.geogebra.file', + ggt: 'application/vnd.geogebra.tool', + ghf: 'application/vnd.groove-help', + gif: 'image/gif', + gim: 'application/vnd.groove-identity-message', + gl: ['video/gl', 'video/x-gl'], + gmx: 'application/vnd.gmx', + gnumeric: 'application/x-gnumeric', + gph: 'application/vnd.flographit', + gqf: 'application/vnd.grafeq', + gram: 'application/srgs', + grv: 'application/vnd.groove-injector', + grxml: 'application/srgs+xml', + gsd: 'audio/x-gsm', + gsf: 'application/x-font-ghostscript', + gsm: 'audio/x-gsm', + gsp: 'application/x-gsp', + gss: 'application/x-gss', + gtar: 'application/x-gtar', + gtm: 'application/vnd.groove-tool-message', + gtw: 'model/vnd.gtw', + gv: 'text/vnd.graphviz', + gxt: 'application/vnd.geonext', + gz: ['application/x-gzip', 'application/x-compressed'], + gzip: ['multipart/x-gzip', 'application/x-gzip'], + h: ['text/plain', 'text/x-h'], + h261: 'video/h261', + h263: 'video/h263', + h264: 'video/h264', + hal: 'application/vnd.hal+xml', + hbci: 'application/vnd.hbci', + hdf: 'application/x-hdf', + help: 'application/x-helpfile', + hgl: 'application/vnd.hp-hpgl', + hh: ['text/plain', 'text/x-h'], + hlb: 'text/x-script', + hlp: ['application/winhlp', 'application/hlp', 'application/x-helpfile', 'application/x-winhelp'], + hpg: 'application/vnd.hp-hpgl', + hpgl: 'application/vnd.hp-hpgl', + hpid: 'application/vnd.hp-hpid', + hps: 'application/vnd.hp-hps', + hqx: [ + 'application/mac-binhex40', + 'application/binhex', + 'application/binhex4', + 'application/mac-binhex', + 'application/x-binhex40', + 'application/x-mac-binhex40' + ], + hta: 'application/hta', + htc: 'text/x-component', + htke: 'application/vnd.kenameaapp', + htm: 'text/html', + html: 'text/html', + htmls: 'text/html', + htt: 'text/webviewhtml', + htx: 'text/html', + hvd: 'application/vnd.yamaha.hv-dic', + hvp: 'application/vnd.yamaha.hv-voice', + hvs: 'application/vnd.yamaha.hv-script', + i2g: 'application/vnd.intergeo', + icc: 'application/vnd.iccprofile', + ice: 'x-conference/x-cooltalk', + ico: 'image/x-icon', + ics: 'text/calendar', + idc: 'text/plain', + ief: 'image/ief', + iefs: 'image/ief', + ifm: 'application/vnd.shana.informed.formdata', + iges: ['application/iges', 'model/iges'], + igl: 'application/vnd.igloader', + igm: 'application/vnd.insors.igm', + igs: ['application/iges', 'model/iges'], + igx: 'application/vnd.micrografx.igx', + iif: 'application/vnd.shana.informed.interchange', + iii: 'application/x-iphone', + ima: 'application/x-ima', + imap: 'application/x-httpd-imap', + imp: 'application/vnd.accpac.simply.imp', + ims: 'application/vnd.ms-ims', + inf: 'application/inf', + ins: ['application/x-internet-signup', 'application/x-internett-signup'], + ip: 'application/x-ip2', + ipfix: 'application/ipfix', + ipk: 'application/vnd.shana.informed.package', + irm: 'application/vnd.ibm.rights-management', + irp: 'application/vnd.irepository.package+xml', + isp: 'application/x-internet-signup', + isu: 'video/x-isvideo', + it: 'audio/it', + itp: 'application/vnd.shana.informed.formtemplate', + iv: 'application/x-inventor', + ivp: 'application/vnd.immervision-ivp', + ivr: 'i-world/i-vrml', + ivu: 'application/vnd.immervision-ivu', + ivy: 'application/x-livescreen', + jad: 'text/vnd.sun.j2me.app-descriptor', + jam: ['application/vnd.jam', 'audio/x-jam'], + jar: 'application/java-archive', + jav: ['text/plain', 'text/x-java-source'], + java: ['text/plain', 'text/x-java-source,java', 'text/x-java-source'], + jcm: 'application/x-java-commerce', + jfif: ['image/pipeg', 'image/jpeg', 'image/pjpeg'], + 'jfif-tbnl': 'image/jpeg', + jisp: 'application/vnd.jisp', + jlt: 'application/vnd.hp-jlyt', + jnlp: 'application/x-java-jnlp-file', + joda: 'application/vnd.joost.joda-archive', + jpe: ['image/jpeg', 'image/pjpeg'], + jpeg: ['image/jpeg', 'image/pjpeg'], + jpg: ['image/jpeg', 'image/pjpeg'], + jpgv: 'video/jpeg', + jpm: 'video/jpm', + jps: 'image/x-jps', + js: ['application/javascript', 'application/ecmascript', 'text/javascript', 'text/ecmascript', 'application/x-javascript'], + json: 'application/json', + jut: 'image/jutvision', + kar: ['audio/midi', 'music/x-karaoke'], + karbon: 'application/vnd.kde.karbon', + kfo: 'application/vnd.kde.kformula', + kia: 'application/vnd.kidspiration', + kml: 'application/vnd.google-earth.kml+xml', + kmz: 'application/vnd.google-earth.kmz', + kne: 'application/vnd.kinar', + kon: 'application/vnd.kde.kontour', + kpr: 'application/vnd.kde.kpresenter', + ksh: ['application/x-ksh', 'text/x-script.ksh'], + ksp: 'application/vnd.kde.kspread', + ktx: 'image/ktx', + ktz: 'application/vnd.kahootz', + kwd: 'application/vnd.kde.kword', + la: ['audio/nspaudio', 'audio/x-nspaudio'], + lam: 'audio/x-liveaudio', + lasxml: 'application/vnd.las.las+xml', + latex: 'application/x-latex', + lbd: 'application/vnd.llamagraphics.life-balance.desktop', + lbe: 'application/vnd.llamagraphics.life-balance.exchange+xml', + les: 'application/vnd.hhe.lesson-player', + lha: ['application/octet-stream', 'application/lha', 'application/x-lha'], + lhx: 'application/octet-stream', + link66: 'application/vnd.route66.link66+xml', + list: 'text/plain', + lma: ['audio/nspaudio', 'audio/x-nspaudio'], + log: 'text/plain', + lrm: 'application/vnd.ms-lrm', + lsf: 'video/x-la-asf', + lsp: ['application/x-lisp', 'text/x-script.lisp'], + lst: 'text/plain', + lsx: ['video/x-la-asf', 'text/x-la-asf'], + ltf: 'application/vnd.frogans.ltf', + ltx: 'application/x-latex', + lvp: 'audio/vnd.lucent.voice', + lwp: 'application/vnd.lotus-wordpro', + lzh: ['application/octet-stream', 'application/x-lzh'], + lzx: ['application/lzx', 'application/octet-stream', 'application/x-lzx'], + m: ['text/plain', 'text/x-m'], + m13: 'application/x-msmediaview', + m14: 'application/x-msmediaview', + m1v: 'video/mpeg', + m21: 'application/mp21', + m2a: 'audio/mpeg', + m2v: 'video/mpeg', + m3u: ['audio/x-mpegurl', 'audio/x-mpequrl'], + m3u8: 'application/vnd.apple.mpegurl', + m4v: 'video/x-m4v', + ma: 'application/mathematica', + mads: 'application/mads+xml', + mag: 'application/vnd.ecowin.chart', + man: 'application/x-troff-man', + map: 'application/x-navimap', + mar: 'text/plain', + mathml: 'application/mathml+xml', + mbd: 'application/mbedlet', + mbk: 'application/vnd.mobius.mbk', + mbox: 'application/mbox', + mc$: 'application/x-magic-cap-package-1.0', + mc1: 'application/vnd.medcalcdata', + mcd: ['application/mcad', 'application/vnd.mcd', 'application/x-mathcad'], + mcf: ['image/vasa', 'text/mcf'], + mcp: 'application/netmc', + mcurl: 'text/vnd.curl.mcurl', + mdb: 'application/x-msaccess', + mdi: 'image/vnd.ms-modi', + me: 'application/x-troff-me', + meta4: 'application/metalink4+xml', + mets: 'application/mets+xml', + mfm: 'application/vnd.mfmp', + mgp: 'application/vnd.osgeo.mapguide.package', + mgz: 'application/vnd.proteus.magazine', + mht: 'message/rfc822', + mhtml: 'message/rfc822', + mid: ['audio/mid', 'audio/midi', 'music/crescendo', 'x-music/x-midi', 'audio/x-midi', 'application/x-midi', 'audio/x-mid'], + midi: ['audio/midi', 'music/crescendo', 'x-music/x-midi', 'audio/x-midi', 'application/x-midi', 'audio/x-mid'], + mif: ['application/vnd.mif', 'application/x-mif', 'application/x-frame'], + mime: ['message/rfc822', 'www/mime'], + mj2: 'video/mj2', + mjf: 'audio/x-vnd.audioexplosion.mjuicemediafile', + mjpg: 'video/x-motion-jpeg', + mlp: 'application/vnd.dolby.mlp', + mm: ['application/base64', 'application/x-meme'], + mmd: 'application/vnd.chipnuts.karaoke-mmd', + mme: 'application/base64', + mmf: 'application/vnd.smaf', + mmr: 'image/vnd.fujixerox.edmics-mmr', + mny: 'application/x-msmoney', + mod: ['audio/mod', 'audio/x-mod'], + mods: 'application/mods+xml', + moov: 'video/quicktime', + mov: 'video/quicktime', + movie: 'video/x-sgi-movie', + mp2: ['video/mpeg', 'audio/mpeg', 'video/x-mpeg', 'audio/x-mpeg', 'video/x-mpeq2a'], + mp3: ['audio/mpeg', 'audio/mpeg3', 'video/mpeg', 'audio/x-mpeg-3', 'video/x-mpeg'], + mp4: ['video/mp4', 'application/mp4'], + mp4a: 'audio/mp4', + mpa: ['video/mpeg', 'audio/mpeg'], + mpc: ['application/vnd.mophun.certificate', 'application/x-project'], + mpe: 'video/mpeg', + mpeg: 'video/mpeg', + mpg: ['video/mpeg', 'audio/mpeg'], + mpga: 'audio/mpeg', + mpkg: 'application/vnd.apple.installer+xml', + mpm: 'application/vnd.blueice.multipass', + mpn: 'application/vnd.mophun.application', + mpp: 'application/vnd.ms-project', + mpt: 'application/x-project', + mpv: 'application/x-project', + mpv2: 'video/mpeg', + mpx: 'application/x-project', + mpy: 'application/vnd.ibm.minipay', + mqy: 'application/vnd.mobius.mqy', + mrc: 'application/marc', + mrcx: 'application/marcxml+xml', + ms: 'application/x-troff-ms', + mscml: 'application/mediaservercontrol+xml', + mseq: 'application/vnd.mseq', + msf: 'application/vnd.epson.msf', + msg: 'application/vnd.ms-outlook', + msh: 'model/mesh', + msl: 'application/vnd.mobius.msl', + msty: 'application/vnd.muvee.style', + mts: 'model/vnd.mts', + mus: 'application/vnd.musician', + musicxml: 'application/vnd.recordare.musicxml+xml', + mv: 'video/x-sgi-movie', + mvb: 'application/x-msmediaview', + mwf: 'application/vnd.mfer', + mxf: 'application/mxf', + mxl: 'application/vnd.recordare.musicxml', + mxml: 'application/xv+xml', + mxs: 'application/vnd.triscape.mxs', + mxu: 'video/vnd.mpegurl', + my: 'audio/make', + mzz: 'application/x-vnd.audioexplosion.mzz', + 'n-gage': 'application/vnd.nokia.n-gage.symbian.install', + n3: 'text/n3', + nap: 'image/naplps', + naplps: 'image/naplps', + nbp: 'application/vnd.wolfram.player', + nc: 'application/x-netcdf', + ncm: 'application/vnd.nokia.configuration-message', + ncx: 'application/x-dtbncx+xml', + ngdat: 'application/vnd.nokia.n-gage.data', + nif: 'image/x-niff', + niff: 'image/x-niff', + nix: 'application/x-mix-transfer', + nlu: 'application/vnd.neurolanguage.nlu', + nml: 'application/vnd.enliven', + nnd: 'application/vnd.noblenet-directory', + nns: 'application/vnd.noblenet-sealer', + nnw: 'application/vnd.noblenet-web', + npx: 'image/vnd.net-fpx', + nsc: 'application/x-conference', + nsf: 'application/vnd.lotus-notes', + nvd: 'application/x-navidoc', + nws: 'message/rfc822', + o: 'application/octet-stream', + oa2: 'application/vnd.fujitsu.oasys2', + oa3: 'application/vnd.fujitsu.oasys3', + oas: 'application/vnd.fujitsu.oasys', + obd: 'application/x-msbinder', + oda: 'application/oda', + odb: 'application/vnd.oasis.opendocument.database', + odc: 'application/vnd.oasis.opendocument.chart', + odf: 'application/vnd.oasis.opendocument.formula', + odft: 'application/vnd.oasis.opendocument.formula-template', + odg: 'application/vnd.oasis.opendocument.graphics', + odi: 'application/vnd.oasis.opendocument.image', + odm: 'application/vnd.oasis.opendocument.text-master', + odp: 'application/vnd.oasis.opendocument.presentation', + ods: 'application/vnd.oasis.opendocument.spreadsheet', + odt: 'application/vnd.oasis.opendocument.text', + oga: 'audio/ogg', + ogv: 'video/ogg', + ogx: 'application/ogg', + omc: 'application/x-omc', + omcd: 'application/x-omcdatamaker', + omcr: 'application/x-omcregerator', + onetoc: 'application/onenote', + opf: 'application/oebps-package+xml', + org: 'application/vnd.lotus-organizer', + osf: 'application/vnd.yamaha.openscoreformat', + osfpvg: 'application/vnd.yamaha.openscoreformat.osfpvg+xml', + otc: 'application/vnd.oasis.opendocument.chart-template', + otf: 'application/x-font-otf', + otg: 'application/vnd.oasis.opendocument.graphics-template', + oth: 'application/vnd.oasis.opendocument.text-web', + oti: 'application/vnd.oasis.opendocument.image-template', + otp: 'application/vnd.oasis.opendocument.presentation-template', + ots: 'application/vnd.oasis.opendocument.spreadsheet-template', + ott: 'application/vnd.oasis.opendocument.text-template', + oxt: 'application/vnd.openofficeorg.extension', + p: 'text/x-pascal', + p10: ['application/pkcs10', 'application/x-pkcs10'], + p12: ['application/pkcs-12', 'application/x-pkcs12'], + p7a: 'application/x-pkcs7-signature', + p7b: 'application/x-pkcs7-certificates', + p7c: ['application/pkcs7-mime', 'application/x-pkcs7-mime'], + p7m: ['application/pkcs7-mime', 'application/x-pkcs7-mime'], + p7r: 'application/x-pkcs7-certreqresp', + p7s: ['application/pkcs7-signature', 'application/x-pkcs7-signature'], + p8: 'application/pkcs8', + par: 'text/plain-bas', + part: 'application/pro_eng', + pas: 'text/pascal', + paw: 'application/vnd.pawaafile', + pbd: 'application/vnd.powerbuilder6', + pbm: 'image/x-portable-bitmap', + pcf: 'application/x-font-pcf', + pcl: ['application/vnd.hp-pcl', 'application/x-pcl'], + pclxl: 'application/vnd.hp-pclxl', + pct: 'image/x-pict', + pcurl: 'application/vnd.curl.pcurl', + pcx: 'image/x-pcx', + pdb: ['application/vnd.palm', 'chemical/x-pdb'], + pdf: 'application/pdf', + pfa: 'application/x-font-type1', + pfr: 'application/font-tdpfr', + pfunk: ['audio/make', 'audio/make.my.funk'], + pfx: 'application/x-pkcs12', + pgm: ['image/x-portable-graymap', 'image/x-portable-greymap'], + pgn: 'application/x-chess-pgn', + pgp: 'application/pgp-signature', + pic: ['image/pict', 'image/x-pict'], + pict: 'image/pict', + pkg: 'application/x-newton-compatible-pkg', + pki: 'application/pkixcmp', + pkipath: 'application/pkix-pkipath', + pko: ['application/ynd.ms-pkipko', 'application/vnd.ms-pki.pko'], + pl: ['text/plain', 'text/x-script.perl'], + plb: 'application/vnd.3gpp.pic-bw-large', + plc: 'application/vnd.mobius.plc', + plf: 'application/vnd.pocketlearn', + pls: 'application/pls+xml', + plx: 'application/x-pixclscript', + pm: ['text/x-script.perl-module', 'image/x-xpixmap'], + pm4: 'application/x-pagemaker', + pm5: 'application/x-pagemaker', + pma: 'application/x-perfmon', + pmc: 'application/x-perfmon', + pml: ['application/vnd.ctc-posml', 'application/x-perfmon'], + pmr: 'application/x-perfmon', + pmw: 'application/x-perfmon', + png: 'image/png', + pnm: ['application/x-portable-anymap', 'image/x-portable-anymap'], + portpkg: 'application/vnd.macports.portpkg', + pot: ['application/vnd.ms-powerpoint', 'application/mspowerpoint'], + potm: 'application/vnd.ms-powerpoint.template.macroenabled.12', + potx: 'application/vnd.openxmlformats-officedocument.presentationml.template', + pov: 'model/x-pov', + ppa: 'application/vnd.ms-powerpoint', + ppam: 'application/vnd.ms-powerpoint.addin.macroenabled.12', + ppd: 'application/vnd.cups-ppd', + ppm: 'image/x-portable-pixmap', + pps: ['application/vnd.ms-powerpoint', 'application/mspowerpoint'], + ppsm: 'application/vnd.ms-powerpoint.slideshow.macroenabled.12', + ppsx: 'application/vnd.openxmlformats-officedocument.presentationml.slideshow', + ppt: ['application/vnd.ms-powerpoint', 'application/mspowerpoint', 'application/powerpoint', 'application/x-mspowerpoint'], + pptm: 'application/vnd.ms-powerpoint.presentation.macroenabled.12', + pptx: 'application/vnd.openxmlformats-officedocument.presentationml.presentation', + ppz: 'application/mspowerpoint', + prc: 'application/x-mobipocket-ebook', + pre: ['application/vnd.lotus-freelance', 'application/x-freelance'], + prf: 'application/pics-rules', + prt: 'application/pro_eng', + ps: 'application/postscript', + psb: 'application/vnd.3gpp.pic-bw-small', + psd: ['application/octet-stream', 'image/vnd.adobe.photoshop'], + psf: 'application/x-font-linux-psf', + pskcxml: 'application/pskc+xml', + ptid: 'application/vnd.pvi.ptid1', + pub: 'application/x-mspublisher', + pvb: 'application/vnd.3gpp.pic-bw-var', + pvu: 'paleovu/x-pv', + pwn: 'application/vnd.3m.post-it-notes', + pwz: 'application/vnd.ms-powerpoint', + py: 'text/x-script.phyton', + pya: 'audio/vnd.ms-playready.media.pya', + pyc: 'applicaiton/x-bytecode.python', + pyv: 'video/vnd.ms-playready.media.pyv', + qam: 'application/vnd.epson.quickanime', + qbo: 'application/vnd.intu.qbo', + qcp: 'audio/vnd.qcelp', + qd3: 'x-world/x-3dmf', + qd3d: 'x-world/x-3dmf', + qfx: 'application/vnd.intu.qfx', + qif: 'image/x-quicktime', + qps: 'application/vnd.publishare-delta-tree', + qt: 'video/quicktime', + qtc: 'video/x-qtc', + qti: 'image/x-quicktime', + qtif: 'image/x-quicktime', + qxd: 'application/vnd.quark.quarkxpress', + ra: ['audio/x-realaudio', 'audio/x-pn-realaudio', 'audio/x-pn-realaudio-plugin'], + ram: 'audio/x-pn-realaudio', + rar: 'application/x-rar-compressed', + ras: ['image/cmu-raster', 'application/x-cmu-raster', 'image/x-cmu-raster'], + rast: 'image/cmu-raster', + rcprofile: 'application/vnd.ipunplugged.rcprofile', + rdf: 'application/rdf+xml', + rdz: 'application/vnd.data-vision.rdz', + rep: 'application/vnd.businessobjects', + res: 'application/x-dtbresource+xml', + rexx: 'text/x-script.rexx', + rf: 'image/vnd.rn-realflash', + rgb: 'image/x-rgb', + rif: 'application/reginfo+xml', + rip: 'audio/vnd.rip', + rl: 'application/resource-lists+xml', + rlc: 'image/vnd.fujixerox.edmics-rlc', + rld: 'application/resource-lists-diff+xml', + rm: ['application/vnd.rn-realmedia', 'audio/x-pn-realaudio'], + rmi: 'audio/mid', + rmm: 'audio/x-pn-realaudio', + rmp: ['audio/x-pn-realaudio-plugin', 'audio/x-pn-realaudio'], + rms: 'application/vnd.jcp.javame.midlet-rms', + rnc: 'application/relax-ng-compact-syntax', + rng: ['application/ringing-tones', 'application/vnd.nokia.ringing-tone'], + rnx: 'application/vnd.rn-realplayer', + roff: 'application/x-troff', + rp: 'image/vnd.rn-realpix', + rp9: 'application/vnd.cloanto.rp9', + rpm: 'audio/x-pn-realaudio-plugin', + rpss: 'application/vnd.nokia.radio-presets', + rpst: 'application/vnd.nokia.radio-preset', + rq: 'application/sparql-query', + rs: 'application/rls-services+xml', + rsd: 'application/rsd+xml', + rt: ['text/richtext', 'text/vnd.rn-realtext'], + rtf: ['application/rtf', 'text/richtext', 'application/x-rtf'], + rtx: ['text/richtext', 'application/rtf'], + rv: 'video/vnd.rn-realvideo', + s: 'text/x-asm', + s3m: 'audio/s3m', + saf: 'application/vnd.yamaha.smaf-audio', + saveme: 'application/octet-stream', + sbk: 'application/x-tbook', + sbml: 'application/sbml+xml', + sc: 'application/vnd.ibm.secure-container', + scd: 'application/x-msschedule', + scm: ['application/vnd.lotus-screencam', 'video/x-scm', 'text/x-script.guile', 'application/x-lotusscreencam', 'text/x-script.scheme'], + scq: 'application/scvp-cv-request', + scs: 'application/scvp-cv-response', + sct: 'text/scriptlet', + scurl: 'text/vnd.curl.scurl', + sda: 'application/vnd.stardivision.draw', + sdc: 'application/vnd.stardivision.calc', + sdd: 'application/vnd.stardivision.impress', + sdkm: 'application/vnd.solent.sdkm+xml', + sdml: 'text/plain', + sdp: ['application/sdp', 'application/x-sdp'], + sdr: 'application/sounder', + sdw: 'application/vnd.stardivision.writer', + sea: ['application/sea', 'application/x-sea'], + see: 'application/vnd.seemail', + seed: 'application/vnd.fdsn.seed', + sema: 'application/vnd.sema', + semd: 'application/vnd.semd', + semf: 'application/vnd.semf', + ser: 'application/java-serialized-object', + set: 'application/set', + setpay: 'application/set-payment-initiation', + setreg: 'application/set-registration-initiation', + 'sfd-hdstx': 'application/vnd.hydrostatix.sof-data', + sfs: 'application/vnd.spotfire.sfs', + sgl: 'application/vnd.stardivision.writer-global', + sgm: ['text/sgml', 'text/x-sgml'], + sgml: ['text/sgml', 'text/x-sgml'], + sh: ['application/x-shar', 'application/x-bsh', 'application/x-sh', 'text/x-script.sh'], + shar: ['application/x-bsh', 'application/x-shar'], + shf: 'application/shf+xml', + shtml: ['text/html', 'text/x-server-parsed-html'], + sid: 'audio/x-psid', + sis: 'application/vnd.symbian.install', + sit: ['application/x-stuffit', 'application/x-sit'], + sitx: 'application/x-stuffitx', + skd: 'application/x-koan', + skm: 'application/x-koan', + skp: ['application/vnd.koan', 'application/x-koan'], + skt: 'application/x-koan', + sl: 'application/x-seelogo', + sldm: 'application/vnd.ms-powerpoint.slide.macroenabled.12', + sldx: 'application/vnd.openxmlformats-officedocument.presentationml.slide', + slt: 'application/vnd.epson.salt', + sm: 'application/vnd.stepmania.stepchart', + smf: 'application/vnd.stardivision.math', + smi: ['application/smil', 'application/smil+xml'], + smil: 'application/smil', + snd: ['audio/basic', 'audio/x-adpcm'], + snf: 'application/x-font-snf', + sol: 'application/solids', + spc: ['text/x-speech', 'application/x-pkcs7-certificates'], + spf: 'application/vnd.yamaha.smaf-phrase', + spl: ['application/futuresplash', 'application/x-futuresplash'], + spot: 'text/vnd.in3d.spot', + spp: 'application/scvp-vp-response', + spq: 'application/scvp-vp-request', + spr: 'application/x-sprite', + sprite: 'application/x-sprite', + src: 'application/x-wais-source', + sru: 'application/sru+xml', + srx: 'application/sparql-results+xml', + sse: 'application/vnd.kodak-descriptor', + ssf: 'application/vnd.epson.ssf', + ssi: 'text/x-server-parsed-html', + ssm: 'application/streamingmedia', + ssml: 'application/ssml+xml', + sst: ['application/vnd.ms-pkicertstore', 'application/vnd.ms-pki.certstore'], + st: 'application/vnd.sailingtracker.track', + stc: 'application/vnd.sun.xml.calc.template', + std: 'application/vnd.sun.xml.draw.template', + step: 'application/step', + stf: 'application/vnd.wt.stf', + sti: 'application/vnd.sun.xml.impress.template', + stk: 'application/hyperstudio', + stl: ['application/vnd.ms-pkistl', 'application/sla', 'application/vnd.ms-pki.stl', 'application/x-navistyle'], + stm: 'text/html', + stp: 'application/step', + str: 'application/vnd.pg.format', + stw: 'application/vnd.sun.xml.writer.template', + sub: 'image/vnd.dvb.subtitle', + sus: 'application/vnd.sus-calendar', + sv4cpio: 'application/x-sv4cpio', + sv4crc: 'application/x-sv4crc', + svc: 'application/vnd.dvb.service', + svd: 'application/vnd.svd', + svf: ['image/vnd.dwg', 'image/x-dwg'], + svg: 'image/svg+xml', + svr: ['x-world/x-svr', 'application/x-world'], + swf: 'application/x-shockwave-flash', + swi: 'application/vnd.aristanetworks.swi', + sxc: 'application/vnd.sun.xml.calc', + sxd: 'application/vnd.sun.xml.draw', + sxg: 'application/vnd.sun.xml.writer.global', + sxi: 'application/vnd.sun.xml.impress', + sxm: 'application/vnd.sun.xml.math', + sxw: 'application/vnd.sun.xml.writer', + t: ['text/troff', 'application/x-troff'], + talk: 'text/x-speech', + tao: 'application/vnd.tao.intent-module-archive', + tar: 'application/x-tar', + tbk: ['application/toolbook', 'application/x-tbook'], + tcap: 'application/vnd.3gpp2.tcap', + tcl: ['text/x-script.tcl', 'application/x-tcl'], + tcsh: 'text/x-script.tcsh', + teacher: 'application/vnd.smart.teacher', + tei: 'application/tei+xml', + tex: 'application/x-tex', + texi: 'application/x-texinfo', + texinfo: 'application/x-texinfo', + text: ['application/plain', 'text/plain'], + tfi: 'application/thraud+xml', + tfm: 'application/x-tex-tfm', + tgz: ['application/gnutar', 'application/x-compressed'], + thmx: 'application/vnd.ms-officetheme', + tif: ['image/tiff', 'image/x-tiff'], + tiff: ['image/tiff', 'image/x-tiff'], + tmo: 'application/vnd.tmobile-livetv', + torrent: 'application/x-bittorrent', + tpl: 'application/vnd.groove-tool-template', + tpt: 'application/vnd.trid.tpt', + tr: 'application/x-troff', + tra: 'application/vnd.trueapp', + trm: 'application/x-msterminal', + tsd: 'application/timestamped-data', + tsi: 'audio/tsp-audio', + tsp: ['application/dsptype', 'audio/tsplayer'], + tsv: 'text/tab-separated-values', + ttf: 'application/x-font-ttf', + ttl: 'text/turtle', + turbot: 'image/florian', + twd: 'application/vnd.simtech-mindmapper', + txd: 'application/vnd.genomatix.tuxedo', + txf: 'application/vnd.mobius.txf', + txt: 'text/plain', + ufd: 'application/vnd.ufdl', + uil: 'text/x-uil', + uls: 'text/iuls', + umj: 'application/vnd.umajin', + uni: 'text/uri-list', + unis: 'text/uri-list', + unityweb: 'application/vnd.unity', + unv: 'application/i-deas', + uoml: 'application/vnd.uoml+xml', + uri: 'text/uri-list', + uris: 'text/uri-list', + ustar: ['application/x-ustar', 'multipart/x-ustar'], + utz: 'application/vnd.uiq.theme', + uu: ['application/octet-stream', 'text/x-uuencode'], + uue: 'text/x-uuencode', + uva: 'audio/vnd.dece.audio', + uvh: 'video/vnd.dece.hd', + uvi: 'image/vnd.dece.graphic', + uvm: 'video/vnd.dece.mobile', + uvp: 'video/vnd.dece.pd', + uvs: 'video/vnd.dece.sd', + uvu: 'video/vnd.uvvu.mp4', + uvv: 'video/vnd.dece.video', + vcd: 'application/x-cdlink', + vcf: 'text/x-vcard', + vcg: 'application/vnd.groove-vcard', + vcs: 'text/x-vcalendar', + vcx: 'application/vnd.vcx', + vda: 'application/vda', + vdo: 'video/vdo', + vew: 'application/groupwise', + vis: 'application/vnd.visionary', + viv: ['video/vivo', 'video/vnd.vivo'], + vivo: ['video/vivo', 'video/vnd.vivo'], + vmd: 'application/vocaltec-media-desc', + vmf: 'application/vocaltec-media-file', + voc: ['audio/voc', 'audio/x-voc'], + vos: 'video/vosaic', + vox: 'audio/voxware', + vqe: 'audio/x-twinvq-plugin', + vqf: 'audio/x-twinvq', + vql: 'audio/x-twinvq-plugin', + vrml: ['model/vrml', 'x-world/x-vrml', 'application/x-vrml'], + vrt: 'x-world/x-vrt', + vsd: ['application/vnd.visio', 'application/x-visio'], + vsf: 'application/vnd.vsf', + vst: 'application/x-visio', + vsw: 'application/x-visio', + vtu: 'model/vnd.vtu', + vxml: 'application/voicexml+xml', + w60: 'application/wordperfect6.0', + w61: 'application/wordperfect6.1', + w6w: 'application/msword', + wad: 'application/x-doom', + wav: ['audio/wav', 'audio/x-wav'], + wax: 'audio/x-ms-wax', + wb1: 'application/x-qpro', + wbmp: 'image/vnd.wap.wbmp', + wbs: 'application/vnd.criticaltools.wbs+xml', + wbxml: 'application/vnd.wap.wbxml', + wcm: 'application/vnd.ms-works', + wdb: 'application/vnd.ms-works', + web: 'application/vnd.xara', + weba: 'audio/webm', + webm: 'video/webm', + webp: 'image/webp', + wg: 'application/vnd.pmi.widget', + wgt: 'application/widget', + wiz: 'application/msword', + wk1: 'application/x-123', + wks: 'application/vnd.ms-works', + wm: 'video/x-ms-wm', + wma: 'audio/x-ms-wma', + wmd: 'application/x-ms-wmd', + wmf: ['windows/metafile', 'application/x-msmetafile'], + wml: 'text/vnd.wap.wml', + wmlc: 'application/vnd.wap.wmlc', + wmls: 'text/vnd.wap.wmlscript', + wmlsc: 'application/vnd.wap.wmlscriptc', + wmv: 'video/x-ms-wmv', + wmx: 'video/x-ms-wmx', + wmz: 'application/x-ms-wmz', + woff: 'application/x-font-woff', + word: 'application/msword', + wp: 'application/wordperfect', + wp5: ['application/wordperfect', 'application/wordperfect6.0'], + wp6: 'application/wordperfect', + wpd: ['application/wordperfect', 'application/vnd.wordperfect', 'application/x-wpwin'], + wpl: 'application/vnd.ms-wpl', + wps: 'application/vnd.ms-works', + wq1: 'application/x-lotus', + wqd: 'application/vnd.wqd', + wri: ['application/mswrite', 'application/x-wri', 'application/x-mswrite'], + wrl: ['model/vrml', 'x-world/x-vrml', 'application/x-world'], + wrz: ['model/vrml', 'x-world/x-vrml'], + wsc: 'text/scriplet', + wsdl: 'application/wsdl+xml', + wspolicy: 'application/wspolicy+xml', + wsrc: 'application/x-wais-source', + wtb: 'application/vnd.webturbo', + wtk: 'application/x-wintalk', + wvx: 'video/x-ms-wvx', + 'x-png': 'image/png', + x3d: 'application/vnd.hzn-3d-crossword', + xaf: 'x-world/x-vrml', + xap: 'application/x-silverlight-app', + xar: 'application/vnd.xara', + xbap: 'application/x-ms-xbap', + xbd: 'application/vnd.fujixerox.docuworks.binder', + xbm: ['image/xbm', 'image/x-xbm', 'image/x-xbitmap'], + xdf: 'application/xcap-diff+xml', + xdm: 'application/vnd.syncml.dm+xml', + xdp: 'application/vnd.adobe.xdp+xml', + xdr: 'video/x-amt-demorun', + xdssc: 'application/dssc+xml', + xdw: 'application/vnd.fujixerox.docuworks', + xenc: 'application/xenc+xml', + xer: 'application/patch-ops-error+xml', + xfdf: 'application/vnd.adobe.xfdf', + xfdl: 'application/vnd.xfdl', + xgz: 'xgl/drawing', + xhtml: 'application/xhtml+xml', + xif: 'image/vnd.xiff', + xl: 'application/excel', + xla: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xlam: 'application/vnd.ms-excel.addin.macroenabled.12', + xlb: ['application/excel', 'application/vnd.ms-excel', 'application/x-excel'], + xlc: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xld: ['application/excel', 'application/x-excel'], + xlk: ['application/excel', 'application/x-excel'], + xll: ['application/excel', 'application/vnd.ms-excel', 'application/x-excel'], + xlm: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xls: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xlsb: 'application/vnd.ms-excel.sheet.binary.macroenabled.12', + xlsm: 'application/vnd.ms-excel.sheet.macroenabled.12', + xlsx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', + xlt: ['application/vnd.ms-excel', 'application/excel', 'application/x-excel'], + xltm: 'application/vnd.ms-excel.template.macroenabled.12', + xltx: 'application/vnd.openxmlformats-officedocument.spreadsheetml.template', + xlv: ['application/excel', 'application/x-excel'], + xlw: ['application/vnd.ms-excel', 'application/excel', 'application/x-msexcel', 'application/x-excel'], + xm: 'audio/xm', + xml: ['application/xml', 'text/xml', 'application/atom+xml', 'application/rss+xml'], + xmz: 'xgl/movie', + xo: 'application/vnd.olpc-sugar', + xof: 'x-world/x-vrml', + xop: 'application/xop+xml', + xpi: 'application/x-xpinstall', + xpix: 'application/x-vnd.ls-xpix', + xpm: ['image/xpm', 'image/x-xpixmap'], + xpr: 'application/vnd.is-xpr', + xps: 'application/vnd.ms-xpsdocument', + xpw: 'application/vnd.intercon.formnet', + xslt: 'application/xslt+xml', + xsm: 'application/vnd.syncml+xml', + xspf: 'application/xspf+xml', + xsr: 'video/x-amt-showrun', + xul: 'application/vnd.mozilla.xul+xml', + xwd: ['image/x-xwd', 'image/x-xwindowdump'], + xyz: ['chemical/x-xyz', 'chemical/x-pdb'], + yang: 'application/yang', + yin: 'application/yin+xml', + z: ['application/x-compressed', 'application/x-compress'], + zaz: 'application/vnd.zzazz.deck+xml', + zip: ['application/zip', 'multipart/x-zip', 'application/x-zip-compressed', 'application/x-compressed'], + zir: 'application/vnd.zul', + zmm: 'application/vnd.handheld-entertainment+xml', + zoo: 'application/octet-stream', + zsh: 'text/x-script.zsh' + } +}; + +/* eslint no-control-regex: 0, no-div-regex: 0, quotes: 0 */ + +const libcharset = charsetExports; +const libbase64 = libbase64$3; +const libqp = libqp$3; +const mimetypes = mimetypes$1; + +const STAGE_KEY = 0x1001; +const STAGE_VALUE = 0x1002; + +class Libmime { + constructor(config) { + this.config = config || {}; + } + + /** + * Checks if a value is plaintext string (uses only printable 7bit chars) + * + * @param {String} value String to be tested + * @returns {Boolean} true if it is a plaintext string + */ + isPlainText(value) { + if (typeof value !== 'string' || /[\x00-\x08\x0b\x0c\x0e-\x1f\u0080-\uFFFF]/.test(value)) { + return false; + } else { + return true; + } + } + + /** + * Checks if a multi line string containes lines longer than the selected value. + * + * Useful when detecting if a mail message needs any processing at all – + * if only plaintext characters are used and lines are short, then there is + * no need to encode the values in any way. If the value is plaintext but has + * longer lines then allowed, then use format=flowed + * + * @param {Number} lineLength Max line length to check for + * @returns {Boolean} Returns true if there is at least one line longer than lineLength chars + */ + hasLongerLines(str, lineLength) { + return new RegExp('^.{' + (lineLength + 1) + ',}', 'm').test(str); + } + + /** + * Decodes a string from a format=flowed soft wrapping. + * + * @param {String} str Plaintext string with format=flowed to decode + * @param {Boolean} [delSp] If true, delete leading spaces (delsp=yes) + * @return {String} Mime decoded string + */ + decodeFlowed(str, delSp) { + str = (str || '').toString(); + + return ( + str + .split(/\r?\n/) + // remove soft linebreaks + // soft linebreaks are added after space symbols + .reduce((previousValue, currentValue) => { + if (/ $/.test(previousValue) && !/(^|\n)-- $/.test(previousValue)) { + if (delSp) { + // delsp adds space to text to be able to fold it + // these spaces can be removed once the text is unfolded + return previousValue.slice(0, -1) + currentValue; + } else { + return previousValue + currentValue; + } + } else { + return previousValue + '\n' + currentValue; + } + }) + // remove whitespace stuffing + // http://tools.ietf.org/html/rfc3676#section-4.4 + .replace(/^ /gm, '') + ); + } + + /** + * Adds soft line breaks to content marked with format=flowed to + * ensure that no line in the message is never longer than lineLength + * + * @param {String} str Plaintext string that requires wrapping + * @param {Number} [lineLength=76] Maximum length of a line + * @return {String} String with forced line breaks + */ + encodeFlowed(str, lineLength) { + lineLength = lineLength || 76; + + let flowed = []; + str.split(/\r?\n/).forEach(line => { + flowed.push( + this.foldLines( + line + // space stuffing http://tools.ietf.org/html/rfc3676#section-4.2 + .replace(/^( |From|>)/gim, ' $1'), + lineLength, + true + ) + ); + }); + return flowed.join('\r\n'); + } + + /** + * Encodes a string or an Buffer to an UTF-8 MIME Word (rfc2047) + * + * @param {String|Buffer} data String to be encoded + * @param {String} mimeWordEncoding='Q' Encoding for the mime word, either Q or B + * @param {Number} [maxLength=0] If set, split mime words into several chunks if needed + * @return {String} Single or several mime words joined together + */ + encodeWord(data, mimeWordEncoding, maxLength) { + mimeWordEncoding = (mimeWordEncoding || 'Q').toString().toUpperCase().trim().charAt(0); + maxLength = maxLength || 0; + + let encodedStr; + let toCharset = 'UTF-8'; + + if (maxLength && maxLength > 7 + toCharset.length) { + maxLength -= 7 + toCharset.length; + } + + if (mimeWordEncoding === 'Q') { + // https://tools.ietf.org/html/rfc2047#section-5 rule (3) + encodedStr = libqp.encode(data).replace(/[^a-z0-9!*+\-/=]/gi, chr => { + let ord = chr.charCodeAt(0).toString(16).toUpperCase(); + if (chr === ' ') { + return '_'; + } else { + return '=' + (ord.length === 1 ? '0' + ord : ord); + } + }); + } else if (mimeWordEncoding === 'B') { + encodedStr = typeof data === 'string' ? data : libbase64.encode(data); + maxLength = maxLength ? Math.max(3, ((maxLength - (maxLength % 4)) / 4) * 3) : 0; + } + + if (maxLength && (mimeWordEncoding !== 'B' ? encodedStr : libbase64.encode(data)).length > maxLength) { + if (mimeWordEncoding === 'Q') { + encodedStr = this.splitMimeEncodedString(encodedStr, maxLength).join('?= =?' + toCharset + '?' + mimeWordEncoding + '?'); + } else { + // RFC2047 6.3 (2) states that encoded-word must include an integral number of characters, so no chopping unicode sequences + let parts = []; + let lpart = ''; + for (let i = 0, len = encodedStr.length; i < len; i++) { + let chr = encodedStr.charAt(i); + // check if we can add this character to the existing string + // without breaking byte length limit + + if (/[\ud83c\ud83d\ud83e]/.test(chr) && i < len - 1) { + // composite emoji byte, so add the next byte as well + chr += encodedStr.charAt(++i); + } + + if (Buffer.byteLength(lpart + chr) <= maxLength || i === 0) { + lpart += chr; + } else { + // we hit the length limit, so push the existing string and start over + parts.push(libbase64.encode(lpart)); + lpart = chr; + } + } + if (lpart) { + parts.push(libbase64.encode(lpart)); + } + + if (parts.length > 1) { + encodedStr = parts.join('?= =?' + toCharset + '?' + mimeWordEncoding + '?'); + } else { + encodedStr = parts.join(''); + } + } + } else if (mimeWordEncoding === 'B') { + encodedStr = libbase64.encode(data); + } + + return '=?' + toCharset + '?' + mimeWordEncoding + '?' + encodedStr + (encodedStr.substr(-2) === '?=' ? '' : '?='); + } + + /** + * Decode a complete mime word encoded string + * + * @param {String} str Mime word encoded string + * @return {String} Decoded unicode string + */ + decodeWord(charset, encoding, str) { + // RFC2231 added language tag to the encoding + // see: https://tools.ietf.org/html/rfc2231#section-5 + // this implementation silently ignores this tag + let splitPos = charset.indexOf('*'); + if (splitPos >= 0) { + charset = charset.substr(0, splitPos); + } + charset = libcharset.normalizeCharset(charset); + + encoding = encoding.toUpperCase(); + + if (encoding === 'Q') { + str = str + // remove spaces between = and hex char, this might indicate invalidly applied line splitting + .replace(/=\s+([0-9a-fA-F])/g, '=$1') + // convert all underscores to spaces + .replace(/[_\s]/g, ' '); + + let buf = Buffer.from(str); + let bytes = []; + for (let i = 0, len = buf.length; i < len; i++) { + let c = buf[i]; + if (i <= len - 2 && c === 0x3d /* = */) { + let c1 = this.getHex(buf[i + 1]); + let c2 = this.getHex(buf[i + 2]); + if (c1 && c2) { + let c = parseInt(c1 + c2, 16); + bytes.push(c); + i += 2; + continue; + } + } + bytes.push(c); + } + str = Buffer.from(bytes); + } else if (encoding === 'B') { + str = Buffer.concat( + str + .split('=') + .filter(s => s !== '') // filter empty string + .map(str => Buffer.from(str, 'base64')) + ); + } else { + // keep as is, convert Buffer to unicode string, assume utf8 + str = Buffer.from(str); + } + + return libcharset.decode(str, charset); + } + + /** + * Finds word sequences with non ascii text and converts these to mime words + * + * @param {String|Buffer} data String to be encoded + * @param {String} mimeWordEncoding='Q' Encoding for the mime word, either Q or B + * @param {Number} [maxLength=0] If set, split mime words into several chunks if needed + * @param {String} [fromCharset='UTF-8'] Source sharacter set + * @return {String} String with possible mime words + */ + encodeWords(data, mimeWordEncoding, maxLength, fromCharset) { + if (!fromCharset && typeof maxLength === 'string' && !maxLength.match(/^[0-9]+$/)) { + fromCharset = maxLength; + maxLength = undefined; + } + + maxLength = maxLength || 0; + + let decodedValue = libcharset.decode(libcharset.convert(data || '', fromCharset)); + let encodedValue; + + let firstMatch = decodedValue.match(/(?:^|\s)([^\s]*[\u0080-\uFFFF])/); + if (!firstMatch) { + return decodedValue; + } + let lastMatch = decodedValue.match(/([\u0080-\uFFFF][^\s]*)[^\u0080-\uFFFF]*$/); + if (!lastMatch) { + // should not happen + return decodedValue; + } + let startIndex = + firstMatch.index + + ( + firstMatch[0].match(/[^\s]/) || { + index: 0 + } + ).index; + let endIndex = lastMatch.index + (lastMatch[1] || '').length; + + encodedValue = + (startIndex ? decodedValue.substr(0, startIndex) : '') + + this.encodeWord(decodedValue.substring(startIndex, endIndex), mimeWordEncoding || 'Q', maxLength) + + (endIndex < decodedValue.length ? decodedValue.substr(endIndex) : ''); + + return encodedValue; + } + + /** + * Decode a string that might include one or several mime words + * + * @param {String} str String including some mime words that will be encoded + * @return {String} Decoded unicode string + */ + decodeWords(str) { + return ( + (str || '') + .toString() + // find base64 words that can be joined + .replace(/(=\?([^?]+)\?[Bb]\?[^?]*\?=)\s*(?==\?([^?]+)\?[Bb]\?[^?]*\?=)/g, (match, left, chLeft, chRight) => { + // only mark b64 chunks to be joined if charsets match + if (libcharset.normalizeCharset(chLeft || '') === libcharset.normalizeCharset(chRight || '')) { + // set a joiner marker + return left + '__\x00JOIN\x00__'; + } + return match; + }) + // find QP words that can be joined + .replace(/(=\?([^?]+)\?[Qq]\?[^?]*\?=)\s*(?==\?([^?]+)\?[Qq]\?[^?]*\?=)/g, (match, left, chLeft, chRight) => { + // only mark QP chunks to be joined if charsets match + if (libcharset.normalizeCharset(chLeft || '') === libcharset.normalizeCharset(chRight || '')) { + // set a joiner marker + return left + '__\x00JOIN\x00__'; + } + return match; + }) + // join base64 encoded words + .replace(/(\?=)?__\x00JOIN\x00__(=\?([^?]+)\?[QqBb]\?)?/g, '') + // remove spaces between mime encoded words + .replace(/(=\?[^?]+\?[QqBb]\?[^?]*\?=)\s+(?==\?[^?]+\?[QqBb]\?[^?]*\?=)/g, '$1') + // decode words + .replace(/=\?([\w_\-*]+)\?([QqBb])\?([^?]*)\?=/g, (m, charset, encoding, text) => this.decodeWord(charset, encoding, text)) + ); + } + + getHex(c) { + if ((c >= 0x30 /* 0 */ && c <= 0x39) /* 9 */ || (c >= 0x61 /* a */ && c <= 0x66) /* f */ || (c >= 0x41 /* A */ && c <= 0x46) /* F */) { + return String.fromCharCode(c); + } + return false; + } + + /** + * Splits a string by : + * The result is not mime word decoded, you need to do your own decoding based + * on the rules for the specific header key + * + * @param {String} headerLine Single header line, might include linebreaks as well if folded + * @return {Object} And object of {key, value} + */ + decodeHeader(headerLine) { + let line = (headerLine || '') + .toString() + .replace(/(?:\r?\n|\r)[ \t]*/g, ' ') + .trim(), + match = line.match(/^\s*([^:]+):(.*)$/), + key = ((match && match[1]) || '').trim().toLowerCase(), + value = ((match && match[2]) || '').trim(); + + return { + key, + value + }; + } + + /** + * Parses a block of header lines. Does not decode mime words as every + * header might have its own rules (eg. formatted email addresses and such) + * + * @param {String} headers Headers string + * @return {Object} An object of headers, where header keys are object keys. NB! Several values with the same key make up an Array + */ + decodeHeaders(headers) { + let lines = headers.split(/\r?\n|\r/), + headersObj = {}, + header, + i, + len; + + for (i = lines.length - 1; i >= 0; i--) { + if (i && lines[i].match(/^\s/)) { + lines[i - 1] += '\r\n' + lines[i]; + lines.splice(i, 1); + } + } + + for (i = 0, len = lines.length; i < len; i++) { + header = this.decodeHeader(lines[i]); + if (!headersObj[header.key]) { + headersObj[header.key] = [header.value]; + } else { + headersObj[header.key].push(header.value); + } + } + + return headersObj; + } + + /** + * Joins parsed header value together as 'value; param1=value1; param2=value2' + * PS: We are following RFC 822 for the list of special characters that we need to keep in quotes. + * Refer: https://www.w3.org/Protocols/rfc1341/4_Content-Type.html + * @param {Object} structured Parsed header value + * @return {String} joined header value + */ + buildHeaderValue(structured) { + let paramsArray = []; + + Object.keys(structured.params || {}).forEach(param => { + // filename might include unicode characters so it is a special case + let value = structured.params[param]; + if (!this.isPlainText(value) || value.length >= 75) { + this.buildHeaderParam(param, value, 50).forEach(encodedParam => { + if (!/[\s"\\;:/=(),<>@[\]?]|^[-']|'$/.test(encodedParam.value) || encodedParam.key.substr(-1) === '*') { + paramsArray.push(encodedParam.key + '=' + encodedParam.value); + } else { + paramsArray.push(encodedParam.key + '=' + JSON.stringify(encodedParam.value)); + } + }); + } else if (/[\s'"\\;:/=(),<>@[\]?]|^-/.test(value)) { + paramsArray.push(param + '=' + JSON.stringify(value)); + } else { + paramsArray.push(param + '=' + value); + } + }); + + return structured.value + (paramsArray.length ? '; ' + paramsArray.join('; ') : ''); + } + + /** + * Parses a header value with key=value arguments into a structured + * object. + * + * parseHeaderValue('content-type: text/plain; CHARSET='UTF-8'') -> + * { + * 'value': 'text/plain', + * 'params': { + * 'charset': 'UTF-8' + * } + * } + * + * @param {String} str Header value + * @return {Object} Header value as a parsed structure + */ + parseHeaderValue(str) { + let response = { + value: false, + params: {} + }; + let key = false; + let value = ''; + let stage = STAGE_VALUE; + + let quote = false; + let escaped = false; + let chr; + + for (let i = 0, len = str.length; i < len; i++) { + chr = str.charAt(i); + switch (stage) { + case STAGE_KEY: + if (chr === '=') { + key = value.trim().toLowerCase(); + stage = STAGE_VALUE; + value = ''; + break; + } + value += chr; + break; + case STAGE_VALUE: + if (escaped) { + value += chr; + } else if (chr === '\\') { + escaped = true; + continue; + } else if (quote && chr === quote) { + quote = false; + } else if (!quote && chr === '"') { + quote = chr; + } else if (!quote && chr === ';') { + if (key === false) { + response.value = value.trim(); + } else { + response.params[key] = value.trim(); + } + stage = STAGE_KEY; + value = ''; + } else { + value += chr; + } + escaped = false; + break; + } + } + + // finalize remainder + value = value.trim(); + if (stage === STAGE_VALUE) { + if (key === false) { + // default value + response.value = value; + } else { + // subkey value + response.params[key] = value; + } + } else if (value) { + // treat as key without value, see emptykey: + // Header-Key: somevalue; key=value; emptykey + response.params[value.toLowerCase()] = ''; + } + + // handle parameter value continuations + // https://tools.ietf.org/html/rfc2231#section-3 + + // preprocess values + Object.keys(response.params).forEach(key => { + let actualKey; + let nr; + let value; + + let match = key.match(/\*((\d+)\*?)?$/); + + if (!match) { + // nothing to do here, does not seem like a continuation param + return; + } + + actualKey = key.substr(0, match.index).toLowerCase(); + nr = Number(match[2]) || 0; + + if (!response.params[actualKey] || typeof response.params[actualKey] !== 'object') { + response.params[actualKey] = { + charset: false, + values: [] + }; + } + + value = response.params[key]; + + if (nr === 0 && match[0].charAt(match[0].length - 1) === '*' && (match = value.match(/^([^']*)'[^']*'(.*)$/))) { + response.params[actualKey].charset = match[1] || 'utf-8'; + value = match[2]; + } + + response.params[actualKey].values.push({ nr, value }); + + // remove the old reference + delete response.params[key]; + }); + + // concatenate split rfc2231 strings and convert encoded strings to mime encoded words + Object.keys(response.params).forEach(key => { + let value; + if (response.params[key] && Array.isArray(response.params[key].values)) { + value = response.params[key].values + .sort((a, b) => a.nr - b.nr) + .map(val => (val && val.value) || '') + .join(''); + + if (response.params[key].charset) { + // convert "%AB" to "=?charset?Q?=AB?=" and then to unicode + response.params[key] = this.decodeWords( + '=?' + + response.params[key].charset + + '?Q?' + + value + // fix invalidly encoded chars + .replace(/[=?_\s]/g, s => { + let c = s.charCodeAt(0).toString(16); + if (s === ' ') { + return '_'; + } else { + return '%' + (c.length < 2 ? '0' : '') + c; + } + }) + // change from urlencoding to percent encoding + .replace(/%/g, '=') + + '?=' + ); + } else { + response.params[key] = this.decodeWords(value); + } + } + }); + + return response; + } + + /** + * Encodes a string or an Buffer to an UTF-8 Parameter Value Continuation encoding (rfc2231) + * Useful for splitting long parameter values. + * + * For example + * title="unicode string" + * becomes + * title*0*=utf-8''unicode + * title*1*=%20string + * + * @param {String|Buffer} data String to be encoded + * @param {Number} [maxLength=50] Max length for generated chunks + * @param {String} [fromCharset='UTF-8'] Source sharacter set + * @return {Array} A list of encoded keys and headers + */ + buildHeaderParam(key, data, maxLength, fromCharset) { + let list = []; + let encodedStr = typeof data === 'string' ? data : this.decode(data, fromCharset); + let encodedStrArr; + let chr, ord; + let line; + let startPos = 0; + let isEncoded = false; + let i, len; + + maxLength = maxLength || 50; + + // process ascii only text + if (this.isPlainText(data)) { + // check if conversion is even needed + if (encodedStr.length <= maxLength) { + return [ + { + key, + value: encodedStr + } + ]; + } + + encodedStr = encodedStr.replace(new RegExp('.{' + maxLength + '}', 'g'), str => { + list.push({ + line: str + }); + return ''; + }); + + if (encodedStr) { + list.push({ + line: encodedStr + }); + } + } else { + if (/[\uD800-\uDBFF]/.test(encodedStr)) { + // string containts surrogate pairs, so normalize it to an array of bytes + encodedStrArr = []; + for (i = 0, len = encodedStr.length; i < len; i++) { + chr = encodedStr.charAt(i); + ord = chr.charCodeAt(0); + if (ord >= 0xd800 && ord <= 0xdbff && i < len - 1) { + chr += encodedStr.charAt(i + 1); + encodedStrArr.push(chr); + i++; + } else { + encodedStrArr.push(chr); + } + } + encodedStr = encodedStrArr; + } + + // first line includes the charset and language info and needs to be encoded + // even if it does not contain any unicode characters + line = "utf-8''"; + isEncoded = true; + startPos = 0; + + // process text with unicode or special chars + for (i = 0, len = encodedStr.length; i < len; i++) { + chr = encodedStr[i]; + + if (isEncoded) { + chr = this.safeEncodeURIComponent(chr); + } else { + // try to urlencode current char + chr = chr === ' ' ? chr : this.safeEncodeURIComponent(chr); + // By default it is not required to encode a line, the need + // only appears when the string contains unicode or special chars + // in this case we start processing the line over and encode all chars + if (chr !== encodedStr[i]) { + // Check if it is even possible to add the encoded char to the line + // If not, there is no reason to use this line, just push it to the list + // and start a new line with the char that needs encoding + if ((this.safeEncodeURIComponent(line) + chr).length >= maxLength) { + list.push({ + line, + encoded: isEncoded + }); + line = ''; + startPos = i - 1; + } else { + isEncoded = true; + i = startPos; + line = ''; + continue; + } + } + } + + // if the line is already too long, push it to the list and start a new one + if ((line + chr).length >= maxLength) { + list.push({ + line, + encoded: isEncoded + }); + line = chr = encodedStr[i] === ' ' ? ' ' : this.safeEncodeURIComponent(encodedStr[i]); + if (chr === encodedStr[i]) { + isEncoded = false; + startPos = i - 1; + } else { + isEncoded = true; + } + } else { + line += chr; + } + } + + if (line) { + list.push({ + line, + encoded: isEncoded + }); + } + } + + return list.map((item, i) => ({ + // encoded lines: {name}*{part}* + // unencoded lines: {name}*{part} + // if any line needs to be encoded then the first line (part==0) is always encoded + key: key + '*' + i + (item.encoded ? '*' : ''), + value: item.line + })); + } + + /** + * Returns file extension for a content type string. If no suitable extensions + * are found, 'bin' is used as the default extension + * + * @param {String} mimeType Content type to be checked for + * @return {String} File extension + */ + detectExtension(mimeType) { + mimeType = (mimeType || '').toString().toLowerCase().replace(/\s/g, ''); + if (!(mimeType in mimetypes.list)) { + return 'bin'; + } + + if (typeof mimetypes.list[mimeType] === 'string') { + return mimetypes.list[mimeType]; + } + + let mimeParts = mimeType.split('/'); + + // search for name match + for (let i = 0, len = mimetypes.list[mimeType].length; i < len; i++) { + if (mimeParts[1] === mimetypes.list[mimeType][i]) { + return mimetypes.list[mimeType][i]; + } + } + + // use the first one + return mimetypes.list[mimeType][0] !== '*' ? mimetypes.list[mimeType][0] : 'bin'; + } + + /** + * Returns content type for a file extension. If no suitable content types + * are found, 'application/octet-stream' is used as the default content type + * + * @param {String} extension Extension to be checked for + * @return {String} File extension + */ + detectMimeType(extension) { + extension = (extension || '').toString().toLowerCase().replace(/\s/g, '').replace(/^\./g, '').split('.').pop(); + + if (!(extension in mimetypes.extensions)) { + return 'application/octet-stream'; + } + + if (typeof mimetypes.extensions[extension] === 'string') { + return mimetypes.extensions[extension]; + } + + let mimeParts; + + // search for name match + for (let i = 0, len = mimetypes.extensions[extension].length; i < len; i++) { + mimeParts = mimetypes.extensions[extension][i].split('/'); + if (mimeParts[1] === extension) { + return mimetypes.extensions[extension][i]; + } + } + + // use the first one + return mimetypes.extensions[extension][0]; + } + + /** + * Folds long lines, useful for folding header lines (afterSpace=false) and + * flowed text (afterSpace=true) + * + * @param {String} str String to be folded + * @param {Number} [lineLength=76] Maximum length of a line + * @param {Boolean} afterSpace If true, leave a space in th end of a line + * @return {String} String with folded lines + */ + foldLines(str, lineLength, afterSpace) { + str = (str || '').toString(); + lineLength = lineLength || 76; + + let pos = 0, + len = str.length, + result = '', + line, + match; + + while (pos < len) { + line = str.substr(pos, lineLength); + if (line.length < lineLength) { + result += line; + break; + } + if ((match = line.match(/^[^\n\r]*(\r?\n|\r)/))) { + line = match[0]; + result += line; + pos += line.length; + continue; + } else if ((match = line.match(/(\s+)[^\s]*$/)) && match[0].length - (afterSpace ? (match[1] || '').length : 0) < line.length) { + line = line.substr(0, line.length - (match[0].length - (afterSpace ? (match[1] || '').length : 0))); + } else if ((match = str.substr(pos + line.length).match(/^[^\s]+(\s*)/))) { + line = line + match[0].substr(0, match[0].length - (!afterSpace ? (match[1] || '').length : 0)); + } + + result += line; + pos += line.length; + if (pos < len) { + result += '\r\n'; + } + } + + return result; + } + + /** + * Splits a mime encoded string. Needed for dividing mime words into smaller chunks + * + * @param {String} str Mime encoded string to be split up + * @param {Number} maxlen Maximum length of characters for one part (minimum 12) + * @return {Array} Split string + */ + splitMimeEncodedString(str, maxlen) { + let curLine, + match, + chr, + done, + lines = []; + + // require at least 12 symbols to fit possible 4 octet UTF-8 sequences + maxlen = Math.max(maxlen || 0, 12); + + while (str.length) { + curLine = str.substr(0, maxlen); + + // move incomplete escaped char back to main + if ((match = curLine.match(/[=][0-9A-F]?$/i))) { + curLine = curLine.substr(0, match.index); + } + + done = false; + while (!done) { + done = true; + // check if not middle of a unicode char sequence + if ((match = str.substr(curLine.length).match(/^[=]([0-9A-F]{2})/i))) { + chr = parseInt(match[1], 16); + // invalid sequence, move one char back anc recheck + if (chr < 0xc2 && chr > 0x7f) { + curLine = curLine.substr(0, curLine.length - 3); + done = false; + } + } + } + + if (curLine.length) { + lines.push(curLine); + } + str = str.substr(curLine.length); + } + + return lines; + } + + encodeURICharComponent(chr) { + let res = ''; + let ord = chr.charCodeAt(0).toString(16).toUpperCase(); + + if (ord.length % 2) { + ord = '0' + ord; + } + + if (ord.length > 2) { + for (let i = 0, len = ord.length / 2; i < len; i++) { + res += '%' + ord.substr(i, 2); + } + } else { + res += '%' + ord; + } + + return res; + } + + safeEncodeURIComponent(str) { + str = (str || '').toString(); + + try { + // might throw if we try to encode invalid sequences, eg. partial emoji + str = encodeURIComponent(str); + } catch (E) { + // should never run + return str.replace(/[^\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]+/g, ''); + } + + // ensure chars that are not handled by encodeURICompent are converted as well + return str.replace(/[\x00-\x1F *'()<>@,;:\\"[\]?=\u007F-\uFFFF]/g, chr => this.encodeURICharComponent(chr)); + } +} + +libmime$1.exports = new Libmime(); +libmimeExports.Libmime = Libmime; + +/** + * Converts tokens for a single address into an address object + * + * @param {Array} tokens Tokens object + * @return {Object} Address object + */ +function _handleAddress(tokens) { + let token; + let isGroup = false; + let state = 'text'; + let address; + let addresses = []; + let data = { + address: [], + comment: [], + group: [], + text: [] + }; + let i; + let len; + + // Filter out , (comments) and regular text + for (i = 0, len = tokens.length; i < len; i++) { + token = tokens[i]; + if (token.type === 'operator') { + switch (token.value) { + case '<': + state = 'address'; + break; + case '(': + state = 'comment'; + break; + case ':': + state = 'group'; + isGroup = true; + break; + default: + state = 'text'; + } + } else if (token.value) { + if (state === 'address') { + // handle use case where unquoted name includes a "<" + // Apple Mail truncates everything between an unexpected < and an address + // and so will we + token.value = token.value.replace(/^[^<]*<\s*/, ''); + } + data[state].push(token.value); + } + } + + // If there is no text but a comment, replace the two + if (!data.text.length && data.comment.length) { + data.text = data.comment; + data.comment = []; + } + + if (isGroup) { + // http://tools.ietf.org/html/rfc2822#appendix-A.1.3 + data.text = data.text.join(' '); + addresses.push({ + name: data.text || (address && address.name), + group: data.group.length ? addressparser$1(data.group.join(',')) : [] + }); + } else { + // If no address was found, try to detect one from regular text + if (!data.address.length && data.text.length) { + for (i = data.text.length - 1; i >= 0; i--) { + if (data.text[i].match(/^[^@\s]+@[^@\s]+$/)) { + data.address = data.text.splice(i, 1); + break; + } + } + + let _regexHandler = function (address) { + if (!data.address.length) { + data.address = [address.trim()]; + return ' '; + } else { + return address; + } + }; + + // still no address + if (!data.address.length) { + for (i = data.text.length - 1; i >= 0; i--) { + // fixed the regex to parse email address correctly when email address has more than one @ + data.text[i] = data.text[i].replace(/\s*\b[^@\s]+@[^\s]+\b\s*/, _regexHandler).trim(); + if (data.address.length) { + break; + } + } + } + } + + // If there's still is no text but a comment exixts, replace the two + if (!data.text.length && data.comment.length) { + data.text = data.comment; + data.comment = []; + } + + // Keep only the first address occurence, push others to regular text + if (data.address.length > 1) { + data.text = data.text.concat(data.address.splice(1)); + } + + // Join values with spaces + data.text = data.text.join(' '); + data.address = data.address.join(' '); + + if (!data.address && isGroup) { + return []; + } else { + address = { + address: data.address || data.text || '', + name: data.text || data.address || '' + }; + + if (address.address === address.name) { + if ((address.address || '').match(/@/)) { + address.name = ''; + } else { + address.address = ''; + } + } + + addresses.push(address); + } + } + + return addresses; +} + +/** + * Creates a Tokenizer object for tokenizing address field strings + * + * @constructor + * @param {String} str Address field string + */ +let Tokenizer$1 = class Tokenizer { + constructor(str) { + this.str = (str || '').toString(); + this.operatorCurrent = ''; + this.operatorExpecting = ''; + this.node = null; + this.escaped = false; + + this.list = []; + /** + * Operator tokens and which tokens are expected to end the sequence + */ + this.operators = { + '"': '"', + '(': ')', + '<': '>', + ',': '', + ':': ';', + // Semicolons are not a legal delimiter per the RFC2822 grammar other + // than for terminating a group, but they are also not valid for any + // other use in this context. Given that some mail clients have + // historically allowed the semicolon as a delimiter equivalent to the + // comma in their UI, it makes sense to treat them the same as a comma + // when used outside of a group. + ';': '' + }; + } + + /** + * Tokenizes the original input string + * + * @return {Array} An array of operator|text tokens + */ + tokenize() { + let chr, + list = []; + for (let i = 0, len = this.str.length; i < len; i++) { + chr = this.str.charAt(i); + this.checkChar(chr); + } + + this.list.forEach(node => { + node.value = (node.value || '').toString().trim(); + if (node.value) { + list.push(node); + } + }); + + return list; + } + + /** + * Checks if a character is an operator or text and acts accordingly + * + * @param {String} chr Character from the address field + */ + checkChar(chr) { + if (this.escaped) ; else if (chr === this.operatorExpecting) { + this.node = { + type: 'operator', + value: chr + }; + this.list.push(this.node); + this.node = null; + this.operatorExpecting = ''; + this.escaped = false; + return; + } else if (!this.operatorExpecting && chr in this.operators) { + this.node = { + type: 'operator', + value: chr + }; + this.list.push(this.node); + this.node = null; + this.operatorExpecting = this.operators[chr]; + this.escaped = false; + return; + } else if (['"', "'"].includes(this.operatorExpecting) && chr === '\\') { + this.escaped = true; + return; + } + + if (!this.node) { + this.node = { + type: 'text', + value: '' + }; + this.list.push(this.node); + } + + if (chr === '\n') { + // Convert newlines to spaces. Carriage return is ignored as \r and \n usually + // go together anyway and there already is a WS for \n. Lone \r means something is fishy. + chr = ' '; + } + + if (chr.charCodeAt(0) >= 0x21 || [' ', '\t'].includes(chr)) { + // skip command bytes + this.node.value += chr; + } + + this.escaped = false; + } +}; + +/** + * Parses structured e-mail addresses from an address field + * + * Example: + * + * 'Name ' + * + * will be converted to + * + * [{name: 'Name', address: 'address@domain'}] + * + * @param {String} str Address field + * @return {Array} An array of address objects + */ +function addressparser$1(str, options) { + options = options || {}; + + let tokenizer = new Tokenizer$1(str); + let tokens = tokenizer.tokenize(); + + let addresses = []; + let address = []; + let parsedAddresses = []; + + tokens.forEach(token => { + if (token.type === 'operator' && (token.value === ',' || token.value === ';')) { + if (address.length) { + addresses.push(address); + } + address = []; + } else { + address.push(token); + } + }); + + if (address.length) { + addresses.push(address); + } + + addresses.forEach(address => { + address = _handleAddress(address); + if (address.length) { + parsedAddresses = parsedAddresses.concat(address); + } + }); + + if (options.flatten) { + let addresses = []; + let walkAddressList = list => { + list.forEach(address => { + if (address.group) { + return walkAddressList(address.group); + } else { + addresses.push(address); + } + }); + }; + walkAddressList(parsedAddresses); + return addresses; + } + + return parsedAddresses; +} + +// expose to the world +var addressparser_1 = addressparser$1; + +const crypto = require$$0$3; +const Transform$1 = require$$0$2.Transform; + +let StreamHash$1 = class StreamHash extends Transform$1 { + constructor(attachment, algo) { + super(); + this.attachment = attachment; + this.algo = (algo || 'md5').toLowerCase(); + this.hash = crypto.createHash(algo); + this.byteCount = 0; + } + + _transform(chunk, encoding, done) { + this.hash.update(chunk); + this.byteCount += chunk.length; + done(null, chunk); + } + + _flush(done) { + this.attachment.checksum = this.hash.digest('hex'); + this.attachment.size = this.byteCount; + done(); + } +}; + +var streamHash = StreamHash$1; + +var htmlToText$1 = {}; + +var hp2Builder$1 = {}; + +var lib$5 = {}; + +var lib$4 = {}; + +(function (exports) { + Object.defineProperty(exports, "__esModule", { value: true }); + exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0; + /** Types of elements found in htmlparser2's DOM */ + var ElementType; + (function (ElementType) { + /** Type for the root element of a document */ + ElementType["Root"] = "root"; + /** Type for Text */ + ElementType["Text"] = "text"; + /** Type for */ + ElementType["Directive"] = "directive"; + /** Type for */ + ElementType["Comment"] = "comment"; + /** Type for `. + this.sequenceIndex = Number(c === CharCodes.Lt); + } + }; + Tokenizer.prototype.stateCDATASequence = function (c) { + if (c === Sequences.Cdata[this.sequenceIndex]) { + if (++this.sequenceIndex === Sequences.Cdata.length) { + this.state = State.InCommentLike; + this.currentSequence = Sequences.CdataEnd; + this.sequenceIndex = 0; + this.sectionStart = this.index + 1; + } + } + else { + this.sequenceIndex = 0; + this.state = State.InDeclaration; + this.stateInDeclaration(c); // Reconsume the character + } + }; + /** + * When we wait for one specific character, we can speed things up + * by skipping through the buffer until we find it. + * + * @returns Whether the character was found. + */ + Tokenizer.prototype.fastForwardTo = function (c) { + while (++this.index < this.buffer.length + this.offset) { + if (this.buffer.charCodeAt(this.index - this.offset) === c) { + return true; + } + } + /* + * We increment the index at the end of the `parse` loop, + * so set it to `buffer.length - 1` here. + * + * TODO: Refactor `parse` to increment index before calling states. + */ + this.index = this.buffer.length + this.offset - 1; + return false; + }; + /** + * Comments and CDATA end with `-->` and `]]>`. + * + * Their common qualities are: + * - Their end sequences have a distinct character they start with. + * - That character is then repeated, so we have to check multiple repeats. + * - All characters but the start character of the sequence can be skipped. + */ + Tokenizer.prototype.stateInCommentLike = function (c) { + if (c === this.currentSequence[this.sequenceIndex]) { + if (++this.sequenceIndex === this.currentSequence.length) { + if (this.currentSequence === Sequences.CdataEnd) { + this.cbs.oncdata(this.sectionStart, this.index, 2); + } + else { + this.cbs.oncomment(this.sectionStart, this.index, 2); + } + this.sequenceIndex = 0; + this.sectionStart = this.index + 1; + this.state = State.Text; + } + } + else if (this.sequenceIndex === 0) { + // Fast-forward to the first character of the sequence + if (this.fastForwardTo(this.currentSequence[0])) { + this.sequenceIndex = 1; + } + } + else if (c !== this.currentSequence[this.sequenceIndex - 1]) { + // Allow long sequences, eg. --->, ]]]> + this.sequenceIndex = 0; + } + }; + /** + * HTML only allows ASCII alpha characters (a-z and A-Z) at the beginning of a tag name. + * + * XML allows a lot more characters here (@see https://www.w3.org/TR/REC-xml/#NT-NameStartChar). + * We allow anything that wouldn't end the tag. + */ + Tokenizer.prototype.isTagStartChar = function (c) { + return this.xmlMode ? !isEndOfTagSection(c) : isASCIIAlpha(c); + }; + Tokenizer.prototype.startSpecial = function (sequence, offset) { + this.isSpecial = true; + this.currentSequence = sequence; + this.sequenceIndex = offset; + this.state = State.SpecialStartSequence; + }; + Tokenizer.prototype.stateBeforeTagName = function (c) { + if (c === CharCodes.ExclamationMark) { + this.state = State.BeforeDeclaration; + this.sectionStart = this.index + 1; + } + else if (c === CharCodes.Questionmark) { + this.state = State.InProcessingInstruction; + this.sectionStart = this.index + 1; + } + else if (this.isTagStartChar(c)) { + var lower = c | 0x20; + this.sectionStart = this.index; + if (!this.xmlMode && lower === Sequences.TitleEnd[2]) { + this.startSpecial(Sequences.TitleEnd, 3); + } + else { + this.state = + !this.xmlMode && lower === Sequences.ScriptEnd[2] + ? State.BeforeSpecialS + : State.InTagName; + } + } + else if (c === CharCodes.Slash) { + this.state = State.BeforeClosingTagName; + } + else { + this.state = State.Text; + this.stateText(c); + } + }; + Tokenizer.prototype.stateInTagName = function (c) { + if (isEndOfTagSection(c)) { + this.cbs.onopentagname(this.sectionStart, this.index); + this.sectionStart = -1; + this.state = State.BeforeAttributeName; + this.stateBeforeAttributeName(c); + } + }; + Tokenizer.prototype.stateBeforeClosingTagName = function (c) { + if (isWhitespace(c)) ; + else if (c === CharCodes.Gt) { + this.state = State.Text; + } + else { + this.state = this.isTagStartChar(c) + ? State.InClosingTagName + : State.InSpecialComment; + this.sectionStart = this.index; + } + }; + Tokenizer.prototype.stateInClosingTagName = function (c) { + if (c === CharCodes.Gt || isWhitespace(c)) { + this.cbs.onclosetag(this.sectionStart, this.index); + this.sectionStart = -1; + this.state = State.AfterClosingTagName; + this.stateAfterClosingTagName(c); + } + }; + Tokenizer.prototype.stateAfterClosingTagName = function (c) { + // Skip everything until ">" + if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) { + this.state = State.Text; + this.baseState = State.Text; + this.sectionStart = this.index + 1; + } + }; + Tokenizer.prototype.stateBeforeAttributeName = function (c) { + if (c === CharCodes.Gt) { + this.cbs.onopentagend(this.index); + if (this.isSpecial) { + this.state = State.InSpecialTag; + this.sequenceIndex = 0; + } + else { + this.state = State.Text; + } + this.baseState = this.state; + this.sectionStart = this.index + 1; + } + else if (c === CharCodes.Slash) { + this.state = State.InSelfClosingTag; + } + else if (!isWhitespace(c)) { + this.state = State.InAttributeName; + this.sectionStart = this.index; + } + }; + Tokenizer.prototype.stateInSelfClosingTag = function (c) { + if (c === CharCodes.Gt) { + this.cbs.onselfclosingtag(this.index); + this.state = State.Text; + this.baseState = State.Text; + this.sectionStart = this.index + 1; + this.isSpecial = false; // Reset special state, in case of self-closing special tags + } + else if (!isWhitespace(c)) { + this.state = State.BeforeAttributeName; + this.stateBeforeAttributeName(c); + } + }; + Tokenizer.prototype.stateInAttributeName = function (c) { + if (c === CharCodes.Eq || isEndOfTagSection(c)) { + this.cbs.onattribname(this.sectionStart, this.index); + this.sectionStart = -1; + this.state = State.AfterAttributeName; + this.stateAfterAttributeName(c); + } + }; + Tokenizer.prototype.stateAfterAttributeName = function (c) { + if (c === CharCodes.Eq) { + this.state = State.BeforeAttributeValue; + } + else if (c === CharCodes.Slash || c === CharCodes.Gt) { + this.cbs.onattribend(QuoteType.NoValue, this.index); + this.state = State.BeforeAttributeName; + this.stateBeforeAttributeName(c); + } + else if (!isWhitespace(c)) { + this.cbs.onattribend(QuoteType.NoValue, this.index); + this.state = State.InAttributeName; + this.sectionStart = this.index; + } + }; + Tokenizer.prototype.stateBeforeAttributeValue = function (c) { + if (c === CharCodes.DoubleQuote) { + this.state = State.InAttributeValueDq; + this.sectionStart = this.index + 1; + } + else if (c === CharCodes.SingleQuote) { + this.state = State.InAttributeValueSq; + this.sectionStart = this.index + 1; + } + else if (!isWhitespace(c)) { + this.sectionStart = this.index; + this.state = State.InAttributeValueNq; + this.stateInAttributeValueNoQuotes(c); // Reconsume token + } + }; + Tokenizer.prototype.handleInAttributeValue = function (c, quote) { + if (c === quote || + (!this.decodeEntities && this.fastForwardTo(quote))) { + this.cbs.onattribdata(this.sectionStart, this.index); + this.sectionStart = -1; + this.cbs.onattribend(quote === CharCodes.DoubleQuote + ? QuoteType.Double + : QuoteType.Single, this.index); + this.state = State.BeforeAttributeName; + } + else if (this.decodeEntities && c === CharCodes.Amp) { + this.baseState = this.state; + this.state = State.BeforeEntity; + } + }; + Tokenizer.prototype.stateInAttributeValueDoubleQuotes = function (c) { + this.handleInAttributeValue(c, CharCodes.DoubleQuote); + }; + Tokenizer.prototype.stateInAttributeValueSingleQuotes = function (c) { + this.handleInAttributeValue(c, CharCodes.SingleQuote); + }; + Tokenizer.prototype.stateInAttributeValueNoQuotes = function (c) { + if (isWhitespace(c) || c === CharCodes.Gt) { + this.cbs.onattribdata(this.sectionStart, this.index); + this.sectionStart = -1; + this.cbs.onattribend(QuoteType.Unquoted, this.index); + this.state = State.BeforeAttributeName; + this.stateBeforeAttributeName(c); + } + else if (this.decodeEntities && c === CharCodes.Amp) { + this.baseState = this.state; + this.state = State.BeforeEntity; + } + }; + Tokenizer.prototype.stateBeforeDeclaration = function (c) { + if (c === CharCodes.OpeningSquareBracket) { + this.state = State.CDATASequence; + this.sequenceIndex = 0; + } + else { + this.state = + c === CharCodes.Dash + ? State.BeforeComment + : State.InDeclaration; + } + }; + Tokenizer.prototype.stateInDeclaration = function (c) { + if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) { + this.cbs.ondeclaration(this.sectionStart, this.index); + this.state = State.Text; + this.sectionStart = this.index + 1; + } + }; + Tokenizer.prototype.stateInProcessingInstruction = function (c) { + if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) { + this.cbs.onprocessinginstruction(this.sectionStart, this.index); + this.state = State.Text; + this.sectionStart = this.index + 1; + } + }; + Tokenizer.prototype.stateBeforeComment = function (c) { + if (c === CharCodes.Dash) { + this.state = State.InCommentLike; + this.currentSequence = Sequences.CommentEnd; + // Allow short comments (eg. ) + this.sequenceIndex = 2; + this.sectionStart = this.index + 1; + } + else { + this.state = State.InDeclaration; + } + }; + Tokenizer.prototype.stateInSpecialComment = function (c) { + if (c === CharCodes.Gt || this.fastForwardTo(CharCodes.Gt)) { + this.cbs.oncomment(this.sectionStart, this.index, 0); + this.state = State.Text; + this.sectionStart = this.index + 1; + } + }; + Tokenizer.prototype.stateBeforeSpecialS = function (c) { + var lower = c | 0x20; + if (lower === Sequences.ScriptEnd[3]) { + this.startSpecial(Sequences.ScriptEnd, 4); + } + else if (lower === Sequences.StyleEnd[3]) { + this.startSpecial(Sequences.StyleEnd, 4); + } + else { + this.state = State.InTagName; + this.stateInTagName(c); // Consume the token again + } + }; + Tokenizer.prototype.stateBeforeEntity = function (c) { + // Start excess with 1 to include the '&' + this.entityExcess = 1; + this.entityResult = 0; + if (c === CharCodes.Number) { + this.state = State.BeforeNumericEntity; + } + else if (c === CharCodes.Amp) ; + else { + this.trieIndex = 0; + this.trieCurrent = this.entityTrie[0]; + this.state = State.InNamedEntity; + this.stateInNamedEntity(c); + } + }; + Tokenizer.prototype.stateInNamedEntity = function (c) { + this.entityExcess += 1; + this.trieIndex = (0, decode_js_1.determineBranch)(this.entityTrie, this.trieCurrent, this.trieIndex + 1, c); + if (this.trieIndex < 0) { + this.emitNamedEntity(); + this.index--; + return; + } + this.trieCurrent = this.entityTrie[this.trieIndex]; + var masked = this.trieCurrent & decode_js_1.BinTrieFlags.VALUE_LENGTH; + // If the branch is a value, store it and continue + if (masked) { + // The mask is the number of bytes of the value, including the current byte. + var valueLength = (masked >> 14) - 1; + // If we have a legacy entity while parsing strictly, just skip the number of bytes + if (!this.allowLegacyEntity() && c !== CharCodes.Semi) { + this.trieIndex += valueLength; + } + else { + // Add 1 as we have already incremented the excess + var entityStart = this.index - this.entityExcess + 1; + if (entityStart > this.sectionStart) { + this.emitPartial(this.sectionStart, entityStart); + } + // If this is a surrogate pair, consume the next two bytes + this.entityResult = this.trieIndex; + this.trieIndex += valueLength; + this.entityExcess = 0; + this.sectionStart = this.index + 1; + if (valueLength === 0) { + this.emitNamedEntity(); + } + } + } + }; + Tokenizer.prototype.emitNamedEntity = function () { + this.state = this.baseState; + if (this.entityResult === 0) { + return; + } + var valueLength = (this.entityTrie[this.entityResult] & decode_js_1.BinTrieFlags.VALUE_LENGTH) >> + 14; + switch (valueLength) { + case 1: { + this.emitCodePoint(this.entityTrie[this.entityResult] & + ~decode_js_1.BinTrieFlags.VALUE_LENGTH); + break; + } + case 2: { + this.emitCodePoint(this.entityTrie[this.entityResult + 1]); + break; + } + case 3: { + this.emitCodePoint(this.entityTrie[this.entityResult + 1]); + this.emitCodePoint(this.entityTrie[this.entityResult + 2]); + } + } + }; + Tokenizer.prototype.stateBeforeNumericEntity = function (c) { + if ((c | 0x20) === CharCodes.LowerX) { + this.entityExcess++; + this.state = State.InHexEntity; + } + else { + this.state = State.InNumericEntity; + this.stateInNumericEntity(c); + } + }; + Tokenizer.prototype.emitNumericEntity = function (strict) { + var entityStart = this.index - this.entityExcess - 1; + var numberStart = entityStart + 2 + Number(this.state === State.InHexEntity); + if (numberStart !== this.index) { + // Emit leading data if any + if (entityStart > this.sectionStart) { + this.emitPartial(this.sectionStart, entityStart); + } + this.sectionStart = this.index + Number(strict); + this.emitCodePoint((0, decode_js_1.replaceCodePoint)(this.entityResult)); + } + this.state = this.baseState; + }; + Tokenizer.prototype.stateInNumericEntity = function (c) { + if (c === CharCodes.Semi) { + this.emitNumericEntity(true); + } + else if (isNumber(c)) { + this.entityResult = this.entityResult * 10 + (c - CharCodes.Zero); + this.entityExcess++; + } + else { + if (this.allowLegacyEntity()) { + this.emitNumericEntity(false); + } + else { + this.state = this.baseState; + } + this.index--; + } + }; + Tokenizer.prototype.stateInHexEntity = function (c) { + if (c === CharCodes.Semi) { + this.emitNumericEntity(true); + } + else if (isNumber(c)) { + this.entityResult = this.entityResult * 16 + (c - CharCodes.Zero); + this.entityExcess++; + } + else if (isHexDigit(c)) { + this.entityResult = + this.entityResult * 16 + ((c | 0x20) - CharCodes.LowerA + 10); + this.entityExcess++; + } + else { + if (this.allowLegacyEntity()) { + this.emitNumericEntity(false); + } + else { + this.state = this.baseState; + } + this.index--; + } + }; + Tokenizer.prototype.allowLegacyEntity = function () { + return (!this.xmlMode && + (this.baseState === State.Text || + this.baseState === State.InSpecialTag)); + }; + /** + * Remove data that has already been consumed from the buffer. + */ + Tokenizer.prototype.cleanup = function () { + // If we are inside of text or attributes, emit what we already have. + if (this.running && this.sectionStart !== this.index) { + if (this.state === State.Text || + (this.state === State.InSpecialTag && this.sequenceIndex === 0)) { + this.cbs.ontext(this.sectionStart, this.index); + this.sectionStart = this.index; + } + else if (this.state === State.InAttributeValueDq || + this.state === State.InAttributeValueSq || + this.state === State.InAttributeValueNq) { + this.cbs.onattribdata(this.sectionStart, this.index); + this.sectionStart = this.index; + } + } + }; + Tokenizer.prototype.shouldContinue = function () { + return this.index < this.buffer.length + this.offset && this.running; + }; + /** + * Iterates through the buffer, calling the function corresponding to the current state. + * + * States that are more likely to be hit are higher up, as a performance improvement. + */ + Tokenizer.prototype.parse = function () { + while (this.shouldContinue()) { + var c = this.buffer.charCodeAt(this.index - this.offset); + switch (this.state) { + case State.Text: { + this.stateText(c); + break; + } + case State.SpecialStartSequence: { + this.stateSpecialStartSequence(c); + break; + } + case State.InSpecialTag: { + this.stateInSpecialTag(c); + break; + } + case State.CDATASequence: { + this.stateCDATASequence(c); + break; + } + case State.InAttributeValueDq: { + this.stateInAttributeValueDoubleQuotes(c); + break; + } + case State.InAttributeName: { + this.stateInAttributeName(c); + break; + } + case State.InCommentLike: { + this.stateInCommentLike(c); + break; + } + case State.InSpecialComment: { + this.stateInSpecialComment(c); + break; + } + case State.BeforeAttributeName: { + this.stateBeforeAttributeName(c); + break; + } + case State.InTagName: { + this.stateInTagName(c); + break; + } + case State.InClosingTagName: { + this.stateInClosingTagName(c); + break; + } + case State.BeforeTagName: { + this.stateBeforeTagName(c); + break; + } + case State.AfterAttributeName: { + this.stateAfterAttributeName(c); + break; + } + case State.InAttributeValueSq: { + this.stateInAttributeValueSingleQuotes(c); + break; + } + case State.BeforeAttributeValue: { + this.stateBeforeAttributeValue(c); + break; + } + case State.BeforeClosingTagName: { + this.stateBeforeClosingTagName(c); + break; + } + case State.AfterClosingTagName: { + this.stateAfterClosingTagName(c); + break; + } + case State.BeforeSpecialS: { + this.stateBeforeSpecialS(c); + break; + } + case State.InAttributeValueNq: { + this.stateInAttributeValueNoQuotes(c); + break; + } + case State.InSelfClosingTag: { + this.stateInSelfClosingTag(c); + break; + } + case State.InDeclaration: { + this.stateInDeclaration(c); + break; + } + case State.BeforeDeclaration: { + this.stateBeforeDeclaration(c); + break; + } + case State.BeforeComment: { + this.stateBeforeComment(c); + break; + } + case State.InProcessingInstruction: { + this.stateInProcessingInstruction(c); + break; + } + case State.InNamedEntity: { + this.stateInNamedEntity(c); + break; + } + case State.BeforeEntity: { + this.stateBeforeEntity(c); + break; + } + case State.InHexEntity: { + this.stateInHexEntity(c); + break; + } + case State.InNumericEntity: { + this.stateInNumericEntity(c); + break; + } + default: { + // `this._state === State.BeforeNumericEntity` + this.stateBeforeNumericEntity(c); + } + } + this.index++; + } + this.cleanup(); + }; + Tokenizer.prototype.finish = function () { + if (this.state === State.InNamedEntity) { + this.emitNamedEntity(); + } + // If there is remaining data, emit it in a reasonable way + if (this.sectionStart < this.index) { + this.handleTrailingData(); + } + this.cbs.onend(); + }; + /** Handle any trailing data. */ + Tokenizer.prototype.handleTrailingData = function () { + var endIndex = this.buffer.length + this.offset; + if (this.state === State.InCommentLike) { + if (this.currentSequence === Sequences.CdataEnd) { + this.cbs.oncdata(this.sectionStart, endIndex, 0); + } + else { + this.cbs.oncomment(this.sectionStart, endIndex, 0); + } + } + else if (this.state === State.InNumericEntity && + this.allowLegacyEntity()) { + this.emitNumericEntity(false); + // All trailing data will have been consumed + } + else if (this.state === State.InHexEntity && + this.allowLegacyEntity()) { + this.emitNumericEntity(false); + // All trailing data will have been consumed + } + else if (this.state === State.InTagName || + this.state === State.BeforeAttributeName || + this.state === State.BeforeAttributeValue || + this.state === State.AfterAttributeName || + this.state === State.InAttributeName || + this.state === State.InAttributeValueSq || + this.state === State.InAttributeValueDq || + this.state === State.InAttributeValueNq || + this.state === State.InClosingTagName) ; + else { + this.cbs.ontext(this.sectionStart, endIndex); + } + }; + Tokenizer.prototype.emitPartial = function (start, endIndex) { + if (this.baseState !== State.Text && + this.baseState !== State.InSpecialTag) { + this.cbs.onattribdata(start, endIndex); + } + else { + this.cbs.ontext(start, endIndex); + } + }; + Tokenizer.prototype.emitCodePoint = function (cp) { + if (this.baseState !== State.Text && + this.baseState !== State.InSpecialTag) { + this.cbs.onattribentity(cp); + } + else { + this.cbs.ontextentity(cp); + } + }; + return Tokenizer; + }()); + exports.default = Tokenizer; + +} (Tokenizer)); + +var __createBinding$1 = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault$1 = (commonjsGlobal && commonjsGlobal.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar$1 = (commonjsGlobal && commonjsGlobal.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding$1(result, mod, k); + __setModuleDefault$1(result, mod); + return result; +}; +Object.defineProperty(Parser$1, "__esModule", { value: true }); +Parser$1.Parser = void 0; +var Tokenizer_js_1 = __importStar$1(Tokenizer); +var decode_js_1 = decode; +var formTags = new Set([ + "input", + "option", + "optgroup", + "select", + "button", + "datalist", + "textarea", +]); +var pTag = new Set(["p"]); +var tableSectionTags = new Set(["thead", "tbody"]); +var ddtTags = new Set(["dd", "dt"]); +var rtpTags = new Set(["rt", "rp"]); +var openImpliesClose = new Map([ + ["tr", new Set(["tr", "th", "td"])], + ["th", new Set(["th"])], + ["td", new Set(["thead", "th", "td"])], + ["body", new Set(["head", "link", "script"])], + ["li", new Set(["li"])], + ["p", pTag], + ["h1", pTag], + ["h2", pTag], + ["h3", pTag], + ["h4", pTag], + ["h5", pTag], + ["h6", pTag], + ["select", formTags], + ["input", formTags], + ["output", formTags], + ["button", formTags], + ["datalist", formTags], + ["textarea", formTags], + ["option", new Set(["option"])], + ["optgroup", new Set(["optgroup", "option"])], + ["dd", ddtTags], + ["dt", ddtTags], + ["address", pTag], + ["article", pTag], + ["aside", pTag], + ["blockquote", pTag], + ["details", pTag], + ["div", pTag], + ["dl", pTag], + ["fieldset", pTag], + ["figcaption", pTag], + ["figure", pTag], + ["footer", pTag], + ["form", pTag], + ["header", pTag], + ["hr", pTag], + ["main", pTag], + ["nav", pTag], + ["ol", pTag], + ["pre", pTag], + ["section", pTag], + ["table", pTag], + ["ul", pTag], + ["rt", rtpTags], + ["rp", rtpTags], + ["tbody", tableSectionTags], + ["tfoot", tableSectionTags], +]); +var voidElements = new Set([ + "area", + "base", + "basefont", + "br", + "col", + "command", + "embed", + "frame", + "hr", + "img", + "input", + "isindex", + "keygen", + "link", + "meta", + "param", + "source", + "track", + "wbr", +]); +var foreignContextElements = new Set(["math", "svg"]); +var htmlIntegrationElements = new Set([ + "mi", + "mo", + "mn", + "ms", + "mtext", + "annotation-xml", + "foreignobject", + "desc", + "title", +]); +var reNameEnd = /\s|\//; +var Parser = /** @class */ (function () { + function Parser(cbs, options) { + if (options === void 0) { options = {}; } + var _a, _b, _c, _d, _e; + this.options = options; + /** The start index of the last event. */ + this.startIndex = 0; + /** The end index of the last event. */ + this.endIndex = 0; + /** + * Store the start index of the current open tag, + * so we can update the start index for attributes. + */ + this.openTagStart = 0; + this.tagname = ""; + this.attribname = ""; + this.attribvalue = ""; + this.attribs = null; + this.stack = []; + this.foreignContext = []; + this.buffers = []; + this.bufferOffset = 0; + /** The index of the last written buffer. Used when resuming after a `pause()`. */ + this.writeIndex = 0; + /** Indicates whether the parser has finished running / `.end` has been called. */ + this.ended = false; + this.cbs = cbs !== null && cbs !== void 0 ? cbs : {}; + this.lowerCaseTagNames = (_a = options.lowerCaseTags) !== null && _a !== void 0 ? _a : !options.xmlMode; + this.lowerCaseAttributeNames = + (_b = options.lowerCaseAttributeNames) !== null && _b !== void 0 ? _b : !options.xmlMode; + this.tokenizer = new ((_c = options.Tokenizer) !== null && _c !== void 0 ? _c : Tokenizer_js_1.default)(this.options, this); + (_e = (_d = this.cbs).onparserinit) === null || _e === void 0 ? void 0 : _e.call(_d, this); + } + // Tokenizer event handlers + /** @internal */ + Parser.prototype.ontext = function (start, endIndex) { + var _a, _b; + var data = this.getSlice(start, endIndex); + this.endIndex = endIndex - 1; + (_b = (_a = this.cbs).ontext) === null || _b === void 0 ? void 0 : _b.call(_a, data); + this.startIndex = endIndex; + }; + /** @internal */ + Parser.prototype.ontextentity = function (cp) { + var _a, _b; + /* + * Entities can be emitted on the character, or directly after. + * We use the section start here to get accurate indices. + */ + var index = this.tokenizer.getSectionStart(); + this.endIndex = index - 1; + (_b = (_a = this.cbs).ontext) === null || _b === void 0 ? void 0 : _b.call(_a, (0, decode_js_1.fromCodePoint)(cp)); + this.startIndex = index; + }; + Parser.prototype.isVoidElement = function (name) { + return !this.options.xmlMode && voidElements.has(name); + }; + /** @internal */ + Parser.prototype.onopentagname = function (start, endIndex) { + this.endIndex = endIndex; + var name = this.getSlice(start, endIndex); + if (this.lowerCaseTagNames) { + name = name.toLowerCase(); + } + this.emitOpenTag(name); + }; + Parser.prototype.emitOpenTag = function (name) { + var _a, _b, _c, _d; + this.openTagStart = this.startIndex; + this.tagname = name; + var impliesClose = !this.options.xmlMode && openImpliesClose.get(name); + if (impliesClose) { + while (this.stack.length > 0 && + impliesClose.has(this.stack[this.stack.length - 1])) { + var element = this.stack.pop(); + (_b = (_a = this.cbs).onclosetag) === null || _b === void 0 ? void 0 : _b.call(_a, element, true); + } + } + if (!this.isVoidElement(name)) { + this.stack.push(name); + if (foreignContextElements.has(name)) { + this.foreignContext.push(true); + } + else if (htmlIntegrationElements.has(name)) { + this.foreignContext.push(false); + } + } + (_d = (_c = this.cbs).onopentagname) === null || _d === void 0 ? void 0 : _d.call(_c, name); + if (this.cbs.onopentag) + this.attribs = {}; + }; + Parser.prototype.endOpenTag = function (isImplied) { + var _a, _b; + this.startIndex = this.openTagStart; + if (this.attribs) { + (_b = (_a = this.cbs).onopentag) === null || _b === void 0 ? void 0 : _b.call(_a, this.tagname, this.attribs, isImplied); + this.attribs = null; + } + if (this.cbs.onclosetag && this.isVoidElement(this.tagname)) { + this.cbs.onclosetag(this.tagname, true); + } + this.tagname = ""; + }; + /** @internal */ + Parser.prototype.onopentagend = function (endIndex) { + this.endIndex = endIndex; + this.endOpenTag(false); + // Set `startIndex` for next node + this.startIndex = endIndex + 1; + }; + /** @internal */ + Parser.prototype.onclosetag = function (start, endIndex) { + var _a, _b, _c, _d, _e, _f; + this.endIndex = endIndex; + var name = this.getSlice(start, endIndex); + if (this.lowerCaseTagNames) { + name = name.toLowerCase(); + } + if (foreignContextElements.has(name) || + htmlIntegrationElements.has(name)) { + this.foreignContext.pop(); + } + if (!this.isVoidElement(name)) { + var pos = this.stack.lastIndexOf(name); + if (pos !== -1) { + if (this.cbs.onclosetag) { + var count = this.stack.length - pos; + while (count--) { + // We know the stack has sufficient elements. + this.cbs.onclosetag(this.stack.pop(), count !== 0); + } + } + else + this.stack.length = pos; + } + else if (!this.options.xmlMode && name === "p") { + // Implicit open before close + this.emitOpenTag("p"); + this.closeCurrentTag(true); + } + } + else if (!this.options.xmlMode && name === "br") { + // We can't use `emitOpenTag` for implicit open, as `br` would be implicitly closed. + (_b = (_a = this.cbs).onopentagname) === null || _b === void 0 ? void 0 : _b.call(_a, "br"); + (_d = (_c = this.cbs).onopentag) === null || _d === void 0 ? void 0 : _d.call(_c, "br", {}, true); + (_f = (_e = this.cbs).onclosetag) === null || _f === void 0 ? void 0 : _f.call(_e, "br", false); + } + // Set `startIndex` for next node + this.startIndex = endIndex + 1; + }; + /** @internal */ + Parser.prototype.onselfclosingtag = function (endIndex) { + this.endIndex = endIndex; + if (this.options.xmlMode || + this.options.recognizeSelfClosing || + this.foreignContext[this.foreignContext.length - 1]) { + this.closeCurrentTag(false); + // Set `startIndex` for next node + this.startIndex = endIndex + 1; + } + else { + // Ignore the fact that the tag is self-closing. + this.onopentagend(endIndex); + } + }; + Parser.prototype.closeCurrentTag = function (isOpenImplied) { + var _a, _b; + var name = this.tagname; + this.endOpenTag(isOpenImplied); + // Self-closing tags will be on the top of the stack + if (this.stack[this.stack.length - 1] === name) { + // If the opening tag isn't implied, the closing tag has to be implied. + (_b = (_a = this.cbs).onclosetag) === null || _b === void 0 ? void 0 : _b.call(_a, name, !isOpenImplied); + this.stack.pop(); + } + }; + /** @internal */ + Parser.prototype.onattribname = function (start, endIndex) { + this.startIndex = start; + var name = this.getSlice(start, endIndex); + this.attribname = this.lowerCaseAttributeNames + ? name.toLowerCase() + : name; + }; + /** @internal */ + Parser.prototype.onattribdata = function (start, endIndex) { + this.attribvalue += this.getSlice(start, endIndex); + }; + /** @internal */ + Parser.prototype.onattribentity = function (cp) { + this.attribvalue += (0, decode_js_1.fromCodePoint)(cp); + }; + /** @internal */ + Parser.prototype.onattribend = function (quote, endIndex) { + var _a, _b; + this.endIndex = endIndex; + (_b = (_a = this.cbs).onattribute) === null || _b === void 0 ? void 0 : _b.call(_a, this.attribname, this.attribvalue, quote === Tokenizer_js_1.QuoteType.Double + ? '"' + : quote === Tokenizer_js_1.QuoteType.Single + ? "'" + : quote === Tokenizer_js_1.QuoteType.NoValue + ? undefined + : null); + if (this.attribs && + !Object.prototype.hasOwnProperty.call(this.attribs, this.attribname)) { + this.attribs[this.attribname] = this.attribvalue; + } + this.attribvalue = ""; + }; + Parser.prototype.getInstructionName = function (value) { + var index = value.search(reNameEnd); + var name = index < 0 ? value : value.substr(0, index); + if (this.lowerCaseTagNames) { + name = name.toLowerCase(); + } + return name; + }; + /** @internal */ + Parser.prototype.ondeclaration = function (start, endIndex) { + this.endIndex = endIndex; + var value = this.getSlice(start, endIndex); + if (this.cbs.onprocessinginstruction) { + var name = this.getInstructionName(value); + this.cbs.onprocessinginstruction("!".concat(name), "!".concat(value)); + } + // Set `startIndex` for next node + this.startIndex = endIndex + 1; + }; + /** @internal */ + Parser.prototype.onprocessinginstruction = function (start, endIndex) { + this.endIndex = endIndex; + var value = this.getSlice(start, endIndex); + if (this.cbs.onprocessinginstruction) { + var name = this.getInstructionName(value); + this.cbs.onprocessinginstruction("?".concat(name), "?".concat(value)); + } + // Set `startIndex` for next node + this.startIndex = endIndex + 1; + }; + /** @internal */ + Parser.prototype.oncomment = function (start, endIndex, offset) { + var _a, _b, _c, _d; + this.endIndex = endIndex; + (_b = (_a = this.cbs).oncomment) === null || _b === void 0 ? void 0 : _b.call(_a, this.getSlice(start, endIndex - offset)); + (_d = (_c = this.cbs).oncommentend) === null || _d === void 0 ? void 0 : _d.call(_c); + // Set `startIndex` for next node + this.startIndex = endIndex + 1; + }; + /** @internal */ + Parser.prototype.oncdata = function (start, endIndex, offset) { + var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; + this.endIndex = endIndex; + var value = this.getSlice(start, endIndex - offset); + if (this.options.xmlMode || this.options.recognizeCDATA) { + (_b = (_a = this.cbs).oncdatastart) === null || _b === void 0 ? void 0 : _b.call(_a); + (_d = (_c = this.cbs).ontext) === null || _d === void 0 ? void 0 : _d.call(_c, value); + (_f = (_e = this.cbs).oncdataend) === null || _f === void 0 ? void 0 : _f.call(_e); + } + else { + (_h = (_g = this.cbs).oncomment) === null || _h === void 0 ? void 0 : _h.call(_g, "[CDATA[".concat(value, "]]")); + (_k = (_j = this.cbs).oncommentend) === null || _k === void 0 ? void 0 : _k.call(_j); + } + // Set `startIndex` for next node + this.startIndex = endIndex + 1; + }; + /** @internal */ + Parser.prototype.onend = function () { + var _a, _b; + if (this.cbs.onclosetag) { + // Set the end index for all remaining tags + this.endIndex = this.startIndex; + for (var index = this.stack.length; index > 0; this.cbs.onclosetag(this.stack[--index], true)) + ; + } + (_b = (_a = this.cbs).onend) === null || _b === void 0 ? void 0 : _b.call(_a); + }; + /** + * Resets the parser to a blank state, ready to parse a new HTML document + */ + Parser.prototype.reset = function () { + var _a, _b, _c, _d; + (_b = (_a = this.cbs).onreset) === null || _b === void 0 ? void 0 : _b.call(_a); + this.tokenizer.reset(); + this.tagname = ""; + this.attribname = ""; + this.attribs = null; + this.stack.length = 0; + this.startIndex = 0; + this.endIndex = 0; + (_d = (_c = this.cbs).onparserinit) === null || _d === void 0 ? void 0 : _d.call(_c, this); + this.buffers.length = 0; + this.bufferOffset = 0; + this.writeIndex = 0; + this.ended = false; + }; + /** + * Resets the parser, then parses a complete document and + * pushes it to the handler. + * + * @param data Document to parse. + */ + Parser.prototype.parseComplete = function (data) { + this.reset(); + this.end(data); + }; + Parser.prototype.getSlice = function (start, end) { + while (start - this.bufferOffset >= this.buffers[0].length) { + this.shiftBuffer(); + } + var slice = this.buffers[0].slice(start - this.bufferOffset, end - this.bufferOffset); + while (end - this.bufferOffset > this.buffers[0].length) { + this.shiftBuffer(); + slice += this.buffers[0].slice(0, end - this.bufferOffset); + } + return slice; + }; + Parser.prototype.shiftBuffer = function () { + this.bufferOffset += this.buffers[0].length; + this.writeIndex--; + this.buffers.shift(); + }; + /** + * Parses a chunk of data and calls the corresponding callbacks. + * + * @param chunk Chunk to parse. + */ + Parser.prototype.write = function (chunk) { + var _a, _b; + if (this.ended) { + (_b = (_a = this.cbs).onerror) === null || _b === void 0 ? void 0 : _b.call(_a, new Error(".write() after done!")); + return; + } + this.buffers.push(chunk); + if (this.tokenizer.running) { + this.tokenizer.write(chunk); + this.writeIndex++; + } + }; + /** + * Parses the end of the buffer and clears the stack, calls onend. + * + * @param chunk Optional final chunk to parse. + */ + Parser.prototype.end = function (chunk) { + var _a, _b; + if (this.ended) { + (_b = (_a = this.cbs).onerror) === null || _b === void 0 ? void 0 : _b.call(_a, new Error(".end() after done!")); + return; + } + if (chunk) + this.write(chunk); + this.ended = true; + this.tokenizer.end(); + }; + /** + * Pauses parsing. The parser won't emit events until `resume` is called. + */ + Parser.prototype.pause = function () { + this.tokenizer.pause(); + }; + /** + * Resumes parsing after `pause` was called. + */ + Parser.prototype.resume = function () { + this.tokenizer.resume(); + while (this.tokenizer.running && + this.writeIndex < this.buffers.length) { + this.tokenizer.write(this.buffers[this.writeIndex++]); + } + if (this.ended) + this.tokenizer.end(); + }; + /** + * Alias of `write`, for backwards compatibility. + * + * @param chunk Chunk to parse. + * @deprecated + */ + Parser.prototype.parseChunk = function (chunk) { + this.write(chunk); + }; + /** + * Alias of `end`, for backwards compatibility. + * + * @param chunk Optional final chunk to parse. + * @deprecated + */ + Parser.prototype.done = function (chunk) { + this.end(chunk); + }; + return Parser; +}()); +Parser$1.Parser = Parser; + +var lib$2 = {}; + +var stringify = {}; + +var lib$1 = {}; + +var lib = {}; + +var encode = {}; + +var encodeHtml = {}; + +// Generated using scripts/write-encode-map.ts +Object.defineProperty(encodeHtml, "__esModule", { value: true }); +function restoreDiff(arr) { + for (var i = 1; i < arr.length; i++) { + arr[i][0] += arr[i - 1][0] + 1; + } + return arr; +} +// prettier-ignore +encodeHtml.default = new Map(/* #__PURE__ */ restoreDiff([[9, " "], [0, " "], [22, "!"], [0, """], [0, "#"], [0, "$"], [0, "%"], [0, "&"], [0, "'"], [0, "("], [0, ")"], [0, "*"], [0, "+"], [0, ","], [1, "."], [0, "/"], [10, ":"], [0, ";"], [0, { v: "<", n: 8402, o: "<⃒" }], [0, { v: "=", n: 8421, o: "=⃥" }], [0, { v: ">", n: 8402, o: ">⃒" }], [0, "?"], [0, "@"], [26, "["], [0, "\"], [0, "]"], [0, "^"], [0, "_"], [0, "`"], [5, { n: 106, o: "fj" }], [20, "{"], [0, "|"], [0, "}"], [34, " "], [0, "¡"], [0, "¢"], [0, "£"], [0, "¤"], [0, "¥"], [0, "¦"], [0, "§"], [0, "¨"], [0, "©"], [0, "ª"], [0, "«"], [0, "¬"], [0, "­"], [0, "®"], [0, "¯"], [0, "°"], [0, "±"], [0, "²"], [0, "³"], [0, "´"], [0, "µ"], [0, "¶"], [0, "·"], [0, "¸"], [0, "¹"], [0, "º"], [0, "»"], [0, "¼"], [0, "½"], [0, "¾"], [0, "¿"], [0, "À"], [0, "Á"], [0, "Â"], [0, "Ã"], [0, "Ä"], [0, "Å"], [0, "Æ"], [0, "Ç"], [0, "È"], [0, "É"], [0, "Ê"], [0, "Ë"], [0, "Ì"], [0, "Í"], [0, "Î"], [0, "Ï"], [0, "Ð"], [0, "Ñ"], [0, "Ò"], [0, "Ó"], [0, "Ô"], [0, "Õ"], [0, "Ö"], [0, "×"], [0, "Ø"], [0, "Ù"], [0, "Ú"], [0, "Û"], [0, "Ü"], [0, "Ý"], [0, "Þ"], [0, "ß"], [0, "à"], [0, "á"], [0, "â"], [0, "ã"], [0, "ä"], [0, "å"], [0, "æ"], [0, "ç"], [0, "è"], [0, "é"], [0, "ê"], [0, "ë"], [0, "ì"], [0, "í"], [0, "î"], [0, "ï"], [0, "ð"], [0, "ñ"], [0, "ò"], [0, "ó"], [0, "ô"], [0, "õ"], [0, "ö"], [0, "÷"], [0, "ø"], [0, "ù"], [0, "ú"], [0, "û"], [0, "ü"], [0, "ý"], [0, "þ"], [0, "ÿ"], [0, "Ā"], [0, "ā"], [0, "Ă"], [0, "ă"], [0, "Ą"], [0, "ą"], [0, "Ć"], [0, "ć"], [0, "Ĉ"], [0, "ĉ"], [0, "Ċ"], [0, "ċ"], [0, "Č"], [0, "č"], [0, "Ď"], [0, "ď"], [0, "Đ"], [0, "đ"], [0, "Ē"], [0, "ē"], [2, "Ė"], [0, "ė"], [0, "Ę"], [0, "ę"], [0, "Ě"], [0, "ě"], [0, "Ĝ"], [0, "ĝ"], [0, "Ğ"], [0, "ğ"], [0, "Ġ"], [0, "ġ"], [0, "Ģ"], [1, "Ĥ"], [0, "ĥ"], [0, "Ħ"], [0, "ħ"], [0, "Ĩ"], [0, "ĩ"], [0, "Ī"], [0, "ī"], [2, "Į"], [0, "į"], [0, "İ"], [0, "ı"], [0, "IJ"], [0, "ij"], [0, "Ĵ"], [0, "ĵ"], [0, "Ķ"], [0, "ķ"], [0, "ĸ"], [0, "Ĺ"], [0, "ĺ"], [0, "Ļ"], [0, "ļ"], [0, "Ľ"], [0, "ľ"], [0, "Ŀ"], [0, "ŀ"], [0, "Ł"], [0, "ł"], [0, "Ń"], [0, "ń"], [0, "Ņ"], [0, "ņ"], [0, "Ň"], [0, "ň"], [0, "ʼn"], [0, "Ŋ"], [0, "ŋ"], [0, "Ō"], [0, "ō"], [2, "Ő"], [0, "ő"], [0, "Œ"], [0, "œ"], [0, "Ŕ"], [0, "ŕ"], [0, "Ŗ"], [0, "ŗ"], [0, "Ř"], [0, "ř"], [0, "Ś"], [0, "ś"], [0, "Ŝ"], [0, "ŝ"], [0, "Ş"], [0, "ş"], [0, "Š"], [0, "š"], [0, "Ţ"], [0, "ţ"], [0, "Ť"], [0, "ť"], [0, "Ŧ"], [0, "ŧ"], [0, "Ũ"], [0, "ũ"], [0, "Ū"], [0, "ū"], [0, "Ŭ"], [0, "ŭ"], [0, "Ů"], [0, "ů"], [0, "Ű"], [0, "ű"], [0, "Ų"], [0, "ų"], [0, "Ŵ"], [0, "ŵ"], [0, "Ŷ"], [0, "ŷ"], [0, "Ÿ"], [0, "Ź"], [0, "ź"], [0, "Ż"], [0, "ż"], [0, "Ž"], [0, "ž"], [19, "ƒ"], [34, "Ƶ"], [63, "ǵ"], [65, "ȷ"], [142, "ˆ"], [0, "ˇ"], [16, "˘"], [0, "˙"], [0, "˚"], [0, "˛"], [0, "˜"], [0, "˝"], [51, "̑"], [127, "Α"], [0, "Β"], [0, "Γ"], [0, "Δ"], [0, "Ε"], [0, "Ζ"], [0, "Η"], [0, "Θ"], [0, "Ι"], [0, "Κ"], [0, "Λ"], [0, "Μ"], [0, "Ν"], [0, "Ξ"], [0, "Ο"], [0, "Π"], [0, "Ρ"], [1, "Σ"], [0, "Τ"], [0, "Υ"], [0, "Φ"], [0, "Χ"], [0, "Ψ"], [0, "Ω"], [7, "α"], [0, "β"], [0, "γ"], [0, "δ"], [0, "ε"], [0, "ζ"], [0, "η"], [0, "θ"], [0, "ι"], [0, "κ"], [0, "λ"], [0, "μ"], [0, "ν"], [0, "ξ"], [0, "ο"], [0, "π"], [0, "ρ"], [0, "ς"], [0, "σ"], [0, "τ"], [0, "υ"], [0, "φ"], [0, "χ"], [0, "ψ"], [0, "ω"], [7, "ϑ"], [0, "ϒ"], [2, "ϕ"], [0, "ϖ"], [5, "Ϝ"], [0, "ϝ"], [18, "ϰ"], [0, "ϱ"], [3, "ϵ"], [0, "϶"], [10, "Ё"], [0, "Ђ"], [0, "Ѓ"], [0, "Є"], [0, "Ѕ"], [0, "І"], [0, "Ї"], [0, "Ј"], [0, "Љ"], [0, "Њ"], [0, "Ћ"], [0, "Ќ"], [1, "Ў"], [0, "Џ"], [0, "А"], [0, "Б"], [0, "В"], [0, "Г"], [0, "Д"], [0, "Е"], [0, "Ж"], [0, "З"], [0, "И"], [0, "Й"], [0, "К"], [0, "Л"], [0, "М"], [0, "Н"], [0, "О"], [0, "П"], [0, "Р"], [0, "С"], [0, "Т"], [0, "У"], [0, "Ф"], [0, "Х"], [0, "Ц"], [0, "Ч"], [0, "Ш"], [0, "Щ"], [0, "Ъ"], [0, "Ы"], [0, "Ь"], [0, "Э"], [0, "Ю"], [0, "Я"], [0, "а"], [0, "б"], [0, "в"], [0, "г"], [0, "д"], [0, "е"], [0, "ж"], [0, "з"], [0, "и"], [0, "й"], [0, "к"], [0, "л"], [0, "м"], [0, "н"], [0, "о"], [0, "п"], [0, "р"], [0, "с"], [0, "т"], [0, "у"], [0, "ф"], [0, "х"], [0, "ц"], [0, "ч"], [0, "ш"], [0, "щ"], [0, "ъ"], [0, "ы"], [0, "ь"], [0, "э"], [0, "ю"], [0, "я"], [1, "ё"], [0, "ђ"], [0, "ѓ"], [0, "є"], [0, "ѕ"], [0, "і"], [0, "ї"], [0, "ј"], [0, "љ"], [0, "њ"], [0, "ћ"], [0, "ќ"], [1, "ў"], [0, "џ"], [7074, " "], [0, " "], [0, " "], [0, " "], [1, " "], [0, " "], [0, " "], [0, " "], [0, "​"], [0, "‌"], [0, "‍"], [0, "‎"], [0, "‏"], [0, "‐"], [2, "–"], [0, "—"], [0, "―"], [0, "‖"], [1, "‘"], [0, "’"], [0, "‚"], [1, "“"], [0, "”"], [0, "„"], [1, "†"], [0, "‡"], [0, "•"], [2, "‥"], [0, "…"], [9, "‰"], [0, "‱"], [0, "′"], [0, "″"], [0, "‴"], [0, "‵"], [3, "‹"], [0, "›"], [3, "‾"], [2, "⁁"], [1, "⁃"], [0, "⁄"], [10, "⁏"], [7, "⁗"], [7, { v: " ", n: 8202, o: "  " }], [0, "⁠"], [0, "⁡"], [0, "⁢"], [0, "⁣"], [72, "€"], [46, "⃛"], [0, "⃜"], [37, "ℂ"], [2, "℅"], [4, "ℊ"], [0, "ℋ"], [0, "ℌ"], [0, "ℍ"], [0, "ℎ"], [0, "ℏ"], [0, "ℐ"], [0, "ℑ"], [0, "ℒ"], [0, "ℓ"], [1, "ℕ"], [0, "№"], [0, "℗"], [0, "℘"], [0, "ℙ"], [0, "ℚ"], [0, "ℛ"], [0, "ℜ"], [0, "ℝ"], [0, "℞"], [3, "™"], [1, "ℤ"], [2, "℧"], [0, "ℨ"], [0, "℩"], [2, "ℬ"], [0, "ℭ"], [1, "ℯ"], [0, "ℰ"], [0, "ℱ"], [1, "ℳ"], [0, "ℴ"], [0, "ℵ"], [0, "ℶ"], [0, "ℷ"], [0, "ℸ"], [12, "ⅅ"], [0, "ⅆ"], [0, "ⅇ"], [0, "ⅈ"], [10, "⅓"], [0, "⅔"], [0, "⅕"], [0, "⅖"], [0, "⅗"], [0, "⅘"], [0, "⅙"], [0, "⅚"], [0, "⅛"], [0, "⅜"], [0, "⅝"], [0, "⅞"], [49, "←"], [0, "↑"], [0, "→"], [0, "↓"], [0, "↔"], [0, "↕"], [0, "↖"], [0, "↗"], [0, "↘"], [0, "↙"], [0, "↚"], [0, "↛"], [1, { v: "↝", n: 824, o: "↝̸" }], [0, "↞"], [0, "↟"], [0, "↠"], [0, "↡"], [0, "↢"], [0, "↣"], [0, "↤"], [0, "↥"], [0, "↦"], [0, "↧"], [1, "↩"], [0, "↪"], [0, "↫"], [0, "↬"], [0, "↭"], [0, "↮"], [1, "↰"], [0, "↱"], [0, "↲"], [0, "↳"], [1, "↵"], [0, "↶"], [0, "↷"], [2, "↺"], [0, "↻"], [0, "↼"], [0, "↽"], [0, "↾"], [0, "↿"], [0, "⇀"], [0, "⇁"], [0, "⇂"], [0, "⇃"], [0, "⇄"], [0, "⇅"], [0, "⇆"], [0, "⇇"], [0, "⇈"], [0, "⇉"], [0, "⇊"], [0, "⇋"], [0, "⇌"], [0, "⇍"], [0, "⇎"], [0, "⇏"], [0, "⇐"], [0, "⇑"], [0, "⇒"], [0, "⇓"], [0, "⇔"], [0, "⇕"], [0, "⇖"], [0, "⇗"], [0, "⇘"], [0, "⇙"], [0, "⇚"], [0, "⇛"], [1, "⇝"], [6, "⇤"], [0, "⇥"], [15, "⇵"], [7, "⇽"], [0, "⇾"], [0, "⇿"], [0, "∀"], [0, "∁"], [0, { v: "∂", n: 824, o: "∂̸" }], [0, "∃"], [0, "∄"], [0, "∅"], [1, "∇"], [0, "∈"], [0, "∉"], [1, "∋"], [0, "∌"], [2, "∏"], [0, "∐"], [0, "∑"], [0, "−"], [0, "∓"], [0, "∔"], [1, "∖"], [0, "∗"], [0, "∘"], [1, "√"], [2, "∝"], [0, "∞"], [0, "∟"], [0, { v: "∠", n: 8402, o: "∠⃒" }], [0, "∡"], [0, "∢"], [0, "∣"], [0, "∤"], [0, "∥"], [0, "∦"], [0, "∧"], [0, "∨"], [0, { v: "∩", n: 65024, o: "∩︀" }], [0, { v: "∪", n: 65024, o: "∪︀" }], [0, "∫"], [0, "∬"], [0, "∭"], [0, "∮"], [0, "∯"], [0, "∰"], [0, "∱"], [0, "∲"], [0, "∳"], [0, "∴"], [0, "∵"], [0, "∶"], [0, "∷"], [0, "∸"], [1, "∺"], [0, "∻"], [0, { v: "∼", n: 8402, o: "∼⃒" }], [0, { v: "∽", n: 817, o: "∽̱" }], [0, { v: "∾", n: 819, o: "∾̳" }], [0, "∿"], [0, "≀"], [0, "≁"], [0, { v: "≂", n: 824, o: "≂̸" }], [0, "≃"], [0, "≄"], [0, "≅"], [0, "≆"], [0, "≇"], [0, "≈"], [0, "≉"], [0, "≊"], [0, { v: "≋", n: 824, o: "≋̸" }], [0, "≌"], [0, { v: "≍", n: 8402, o: "≍⃒" }], [0, { v: "≎", n: 824, o: "≎̸" }], [0, { v: "≏", n: 824, o: "≏̸" }], [0, { v: "≐", n: 824, o: "≐̸" }], [0, "≑"], [0, "≒"], [0, "≓"], [0, "≔"], [0, "≕"], [0, "≖"], [0, "≗"], [1, "≙"], [0, "≚"], [1, "≜"], [2, "≟"], [0, "≠"], [0, { v: "≡", n: 8421, o: "≡⃥" }], [0, "≢"], [1, { v: "≤", n: 8402, o: "≤⃒" }], [0, { v: "≥", n: 8402, o: "≥⃒" }], [0, { v: "≦", n: 824, o: "≦̸" }], [0, { v: "≧", n: 824, o: "≧̸" }], [0, { v: "≨", n: 65024, o: "≨︀" }], [0, { v: "≩", n: 65024, o: "≩︀" }], [0, { v: "≪", n: new Map(/* #__PURE__ */ restoreDiff([[824, "≪̸"], [7577, "≪⃒"]])) }], [0, { v: "≫", n: new Map(/* #__PURE__ */ restoreDiff([[824, "≫̸"], [7577, "≫⃒"]])) }], [0, "≬"], [0, "≭"], [0, "≮"], [0, "≯"], [0, "≰"], [0, "≱"], [0, "≲"], [0, "≳"], [0, "≴"], [0, "≵"], [0, "≶"], [0, "≷"], [0, "≸"], [0, "≹"], [0, "≺"], [0, "≻"], [0, "≼"], [0, "≽"], [0, "≾"], [0, { v: "≿", n: 824, o: "≿̸" }], [0, "⊀"], [0, "⊁"], [0, { v: "⊂", n: 8402, o: "⊂⃒" }], [0, { v: "⊃", n: 8402, o: "⊃⃒" }], [0, "⊄"], [0, "⊅"], [0, "⊆"], [0, "⊇"], [0, "⊈"], [0, "⊉"], [0, { v: "⊊", n: 65024, o: "⊊︀" }], [0, { v: "⊋", n: 65024, o: "⊋︀" }], [1, "⊍"], [0, "⊎"], [0, { v: "⊏", n: 824, o: "⊏̸" }], [0, { v: "⊐", n: 824, o: "⊐̸" }], [0, "⊑"], [0, "⊒"], [0, { v: "⊓", n: 65024, o: "⊓︀" }], [0, { v: "⊔", n: 65024, o: "⊔︀" }], [0, "⊕"], [0, "⊖"], [0, "⊗"], [0, "⊘"], [0, "⊙"], [0, "⊚"], [0, "⊛"], [1, "⊝"], [0, "⊞"], [0, "⊟"], [0, "⊠"], [0, "⊡"], [0, "⊢"], [0, "⊣"], [0, "⊤"], [0, "⊥"], [1, "⊧"], [0, "⊨"], [0, "⊩"], [0, "⊪"], [0, "⊫"], [0, "⊬"], [0, "⊭"], [0, "⊮"], [0, "⊯"], [0, "⊰"], [1, "⊲"], [0, "⊳"], [0, { v: "⊴", n: 8402, o: "⊴⃒" }], [0, { v: "⊵", n: 8402, o: "⊵⃒" }], [0, "⊶"], [0, "⊷"], [0, "⊸"], [0, "⊹"], [0, "⊺"], [0, "⊻"], [1, "⊽"], [0, "⊾"], [0, "⊿"], [0, "⋀"], [0, "⋁"], [0, "⋂"], [0, "⋃"], [0, "⋄"], [0, "⋅"], [0, "⋆"], [0, "⋇"], [0, "⋈"], [0, "⋉"], [0, "⋊"], [0, "⋋"], [0, "⋌"], [0, "⋍"], [0, "⋎"], [0, "⋏"], [0, "⋐"], [0, "⋑"], [0, "⋒"], [0, "⋓"], [0, "⋔"], [0, "⋕"], [0, "⋖"], [0, "⋗"], [0, { v: "⋘", n: 824, o: "⋘̸" }], [0, { v: "⋙", n: 824, o: "⋙̸" }], [0, { v: "⋚", n: 65024, o: "⋚︀" }], [0, { v: "⋛", n: 65024, o: "⋛︀" }], [2, "⋞"], [0, "⋟"], [0, "⋠"], [0, "⋡"], [0, "⋢"], [0, "⋣"], [2, "⋦"], [0, "⋧"], [0, "⋨"], [0, "⋩"], [0, "⋪"], [0, "⋫"], [0, "⋬"], [0, "⋭"], [0, "⋮"], [0, "⋯"], [0, "⋰"], [0, "⋱"], [0, "⋲"], [0, "⋳"], [0, "⋴"], [0, { v: "⋵", n: 824, o: "⋵̸" }], [0, "⋶"], [0, "⋷"], [1, { v: "⋹", n: 824, o: "⋹̸" }], [0, "⋺"], [0, "⋻"], [0, "⋼"], [0, "⋽"], [0, "⋾"], [6, "⌅"], [0, "⌆"], [1, "⌈"], [0, "⌉"], [0, "⌊"], [0, "⌋"], [0, "⌌"], [0, "⌍"], [0, "⌎"], [0, "⌏"], [0, "⌐"], [1, "⌒"], [0, "⌓"], [1, "⌕"], [0, "⌖"], [5, "⌜"], [0, "⌝"], [0, "⌞"], [0, "⌟"], [2, "⌢"], [0, "⌣"], [9, "⌭"], [0, "⌮"], [7, "⌶"], [6, "⌽"], [1, "⌿"], [60, "⍼"], [51, "⎰"], [0, "⎱"], [2, "⎴"], [0, "⎵"], [0, "⎶"], [37, "⏜"], [0, "⏝"], [0, "⏞"], [0, "⏟"], [2, "⏢"], [4, "⏧"], [59, "␣"], [164, "Ⓢ"], [55, "─"], [1, "│"], [9, "┌"], [3, "┐"], [3, "└"], [3, "┘"], [3, "├"], [7, "┤"], [7, "┬"], [7, "┴"], [7, "┼"], [19, "═"], [0, "║"], [0, "╒"], [0, "╓"], [0, "╔"], [0, "╕"], [0, "╖"], [0, "╗"], [0, "╘"], [0, "╙"], [0, "╚"], [0, "╛"], [0, "╜"], [0, "╝"], [0, "╞"], [0, "╟"], [0, "╠"], [0, "╡"], [0, "╢"], [0, "╣"], [0, "╤"], [0, "╥"], [0, "╦"], [0, "╧"], [0, "╨"], [0, "╩"], [0, "╪"], [0, "╫"], [0, "╬"], [19, "▀"], [3, "▄"], [3, "█"], [8, "░"], [0, "▒"], [0, "▓"], [13, "□"], [8, "▪"], [0, "▫"], [1, "▭"], [0, "▮"], [2, "▱"], [1, "△"], [0, "▴"], [0, "▵"], [2, "▸"], [0, "▹"], [3, "▽"], [0, "▾"], [0, "▿"], [2, "◂"], [0, "◃"], [6, "◊"], [0, "○"], [32, "◬"], [2, "◯"], [8, "◸"], [0, "◹"], [0, "◺"], [0, "◻"], [0, "◼"], [8, "★"], [0, "☆"], [7, "☎"], [49, "♀"], [1, "♂"], [29, "♠"], [2, "♣"], [1, "♥"], [0, "♦"], [3, "♪"], [2, "♭"], [0, "♮"], [0, "♯"], [163, "✓"], [3, "✗"], [8, "✠"], [21, "✶"], [33, "❘"], [25, "❲"], [0, "❳"], [84, "⟈"], [0, "⟉"], [28, "⟦"], [0, "⟧"], [0, "⟨"], [0, "⟩"], [0, "⟪"], [0, "⟫"], [0, "⟬"], [0, "⟭"], [7, "⟵"], [0, "⟶"], [0, "⟷"], [0, "⟸"], [0, "⟹"], [0, "⟺"], [1, "⟼"], [2, "⟿"], [258, "⤂"], [0, "⤃"], [0, "⤄"], [0, "⤅"], [6, "⤌"], [0, "⤍"], [0, "⤎"], [0, "⤏"], [0, "⤐"], [0, "⤑"], [0, "⤒"], [0, "⤓"], [2, "⤖"], [2, "⤙"], [0, "⤚"], [0, "⤛"], [0, "⤜"], [0, "⤝"], [0, "⤞"], [0, "⤟"], [0, "⤠"], [2, "⤣"], [0, "⤤"], [0, "⤥"], [0, "⤦"], [0, "⤧"], [0, "⤨"], [0, "⤩"], [0, "⤪"], [8, { v: "⤳", n: 824, o: "⤳̸" }], [1, "⤵"], [0, "⤶"], [0, "⤷"], [0, "⤸"], [0, "⤹"], [2, "⤼"], [0, "⤽"], [7, "⥅"], [2, "⥈"], [0, "⥉"], [0, "⥊"], [0, "⥋"], [2, "⥎"], [0, "⥏"], [0, "⥐"], [0, "⥑"], [0, "⥒"], [0, "⥓"], [0, "⥔"], [0, "⥕"], [0, "⥖"], [0, "⥗"], [0, "⥘"], [0, "⥙"], [0, "⥚"], [0, "⥛"], [0, "⥜"], [0, "⥝"], [0, "⥞"], [0, "⥟"], [0, "⥠"], [0, "⥡"], [0, "⥢"], [0, "⥣"], [0, "⥤"], [0, "⥥"], [0, "⥦"], [0, "⥧"], [0, "⥨"], [0, "⥩"], [0, "⥪"], [0, "⥫"], [0, "⥬"], [0, "⥭"], [0, "⥮"], [0, "⥯"], [0, "⥰"], [0, "⥱"], [0, "⥲"], [0, "⥳"], [0, "⥴"], [0, "⥵"], [0, "⥶"], [1, "⥸"], [0, "⥹"], [1, "⥻"], [0, "⥼"], [0, "⥽"], [0, "⥾"], [0, "⥿"], [5, "⦅"], [0, "⦆"], [4, "⦋"], [0, "⦌"], [0, "⦍"], [0, "⦎"], [0, "⦏"], [0, "⦐"], [0, "⦑"], [0, "⦒"], [0, "⦓"], [0, "⦔"], [0, "⦕"], [0, "⦖"], [3, "⦚"], [1, "⦜"], [0, "⦝"], [6, "⦤"], [0, "⦥"], [0, "⦦"], [0, "⦧"], [0, "⦨"], [0, "⦩"], [0, "⦪"], [0, "⦫"], [0, "⦬"], [0, "⦭"], [0, "⦮"], [0, "⦯"], [0, "⦰"], [0, "⦱"], [0, "⦲"], [0, "⦳"], [0, "⦴"], [0, "⦵"], [0, "⦶"], [0, "⦷"], [1, "⦹"], [1, "⦻"], [0, "⦼"], [1, "⦾"], [0, "⦿"], [0, "⧀"], [0, "⧁"], [0, "⧂"], [0, "⧃"], [0, "⧄"], [0, "⧅"], [3, "⧉"], [3, "⧍"], [0, "⧎"], [0, { v: "⧏", n: 824, o: "⧏̸" }], [0, { v: "⧐", n: 824, o: "⧐̸" }], [11, "⧜"], [0, "⧝"], [0, "⧞"], [4, "⧣"], [0, "⧤"], [0, "⧥"], [5, "⧫"], [8, "⧴"], [1, "⧶"], [9, "⨀"], [0, "⨁"], [0, "⨂"], [1, "⨄"], [1, "⨆"], [5, "⨌"], [0, "⨍"], [2, "⨐"], [0, "⨑"], [0, "⨒"], [0, "⨓"], [0, "⨔"], [0, "⨕"], [0, "⨖"], [0, "⨗"], [10, "⨢"], [0, "⨣"], [0, "⨤"], [0, "⨥"], [0, "⨦"], [0, "⨧"], [1, "⨩"], [0, "⨪"], [2, "⨭"], [0, "⨮"], [0, "⨯"], [0, "⨰"], [0, "⨱"], [1, "⨳"], [0, "⨴"], [0, "⨵"], [0, "⨶"], [0, "⨷"], [0, "⨸"], [0, "⨹"], [0, "⨺"], [0, "⨻"], [0, "⨼"], [2, "⨿"], [0, "⩀"], [1, "⩂"], [0, "⩃"], [0, "⩄"], [0, "⩅"], [0, "⩆"], [0, "⩇"], [0, "⩈"], [0, "⩉"], [0, "⩊"], [0, "⩋"], [0, "⩌"], [0, "⩍"], [2, "⩐"], [2, "⩓"], [0, "⩔"], [0, "⩕"], [0, "⩖"], [0, "⩗"], [0, "⩘"], [1, "⩚"], [0, "⩛"], [0, "⩜"], [0, "⩝"], [1, "⩟"], [6, "⩦"], [3, "⩪"], [2, { v: "⩭", n: 824, o: "⩭̸" }], [0, "⩮"], [0, "⩯"], [0, { v: "⩰", n: 824, o: "⩰̸" }], [0, "⩱"], [0, "⩲"], [0, "⩳"], [0, "⩴"], [0, "⩵"], [1, "⩷"], [0, "⩸"], [0, "⩹"], [0, "⩺"], [0, "⩻"], [0, "⩼"], [0, { v: "⩽", n: 824, o: "⩽̸" }], [0, { v: "⩾", n: 824, o: "⩾̸" }], [0, "⩿"], [0, "⪀"], [0, "⪁"], [0, "⪂"], [0, "⪃"], [0, "⪄"], [0, "⪅"], [0, "⪆"], [0, "⪇"], [0, "⪈"], [0, "⪉"], [0, "⪊"], [0, "⪋"], [0, "⪌"], [0, "⪍"], [0, "⪎"], [0, "⪏"], [0, "⪐"], [0, "⪑"], [0, "⪒"], [0, "⪓"], [0, "⪔"], [0, "⪕"], [0, "⪖"], [0, "⪗"], [0, "⪘"], [0, "⪙"], [0, "⪚"], [2, "⪝"], [0, "⪞"], [0, "⪟"], [0, "⪠"], [0, { v: "⪡", n: 824, o: "⪡̸" }], [0, { v: "⪢", n: 824, o: "⪢̸" }], [1, "⪤"], [0, "⪥"], [0, "⪦"], [0, "⪧"], [0, "⪨"], [0, "⪩"], [0, "⪪"], [0, "⪫"], [0, { v: "⪬", n: 65024, o: "⪬︀" }], [0, { v: "⪭", n: 65024, o: "⪭︀" }], [0, "⪮"], [0, { v: "⪯", n: 824, o: "⪯̸" }], [0, { v: "⪰", n: 824, o: "⪰̸" }], [2, "⪳"], [0, "⪴"], [0, "⪵"], [0, "⪶"], [0, "⪷"], [0, "⪸"], [0, "⪹"], [0, "⪺"], [0, "⪻"], [0, "⪼"], [0, "⪽"], [0, "⪾"], [0, "⪿"], [0, "⫀"], [0, "⫁"], [0, "⫂"], [0, "⫃"], [0, "⫄"], [0, { v: "⫅", n: 824, o: "⫅̸" }], [0, { v: "⫆", n: 824, o: "⫆̸" }], [0, "⫇"], [0, "⫈"], [2, { v: "⫋", n: 65024, o: "⫋︀" }], [0, { v: "⫌", n: 65024, o: "⫌︀" }], [2, "⫏"], [0, "⫐"], [0, "⫑"], [0, "⫒"], [0, "⫓"], [0, "⫔"], [0, "⫕"], [0, "⫖"], [0, "⫗"], [0, "⫘"], [0, "⫙"], [0, "⫚"], [0, "⫛"], [8, "⫤"], [1, "⫦"], [0, "⫧"], [0, "⫨"], [0, "⫩"], [1, "⫫"], [0, "⫬"], [0, "⫭"], [0, "⫮"], [0, "⫯"], [0, "⫰"], [0, "⫱"], [0, "⫲"], [0, "⫳"], [9, { v: "⫽", n: 8421, o: "⫽⃥" }], [44343, { n: new Map(/* #__PURE__ */ restoreDiff([[56476, "𝒜"], [1, "𝒞"], [0, "𝒟"], [2, "𝒢"], [2, "𝒥"], [0, "𝒦"], [2, "𝒩"], [0, "𝒪"], [0, "𝒫"], [0, "𝒬"], [1, "𝒮"], [0, "𝒯"], [0, "𝒰"], [0, "𝒱"], [0, "𝒲"], [0, "𝒳"], [0, "𝒴"], [0, "𝒵"], [0, "𝒶"], [0, "𝒷"], [0, "𝒸"], [0, "𝒹"], [1, "𝒻"], [1, "𝒽"], [0, "𝒾"], [0, "𝒿"], [0, "𝓀"], [0, "𝓁"], [0, "𝓂"], [0, "𝓃"], [1, "𝓅"], [0, "𝓆"], [0, "𝓇"], [0, "𝓈"], [0, "𝓉"], [0, "𝓊"], [0, "𝓋"], [0, "𝓌"], [0, "𝓍"], [0, "𝓎"], [0, "𝓏"], [52, "𝔄"], [0, "𝔅"], [1, "𝔇"], [0, "𝔈"], [0, "𝔉"], [0, "𝔊"], [2, "𝔍"], [0, "𝔎"], [0, "𝔏"], [0, "𝔐"], [0, "𝔑"], [0, "𝔒"], [0, "𝔓"], [0, "𝔔"], [1, "𝔖"], [0, "𝔗"], [0, "𝔘"], [0, "𝔙"], [0, "𝔚"], [0, "𝔛"], [0, "𝔜"], [1, "𝔞"], [0, "𝔟"], [0, "𝔠"], [0, "𝔡"], [0, "𝔢"], [0, "𝔣"], [0, "𝔤"], [0, "𝔥"], [0, "𝔦"], [0, "𝔧"], [0, "𝔨"], [0, "𝔩"], [0, "𝔪"], [0, "𝔫"], [0, "𝔬"], [0, "𝔭"], [0, "𝔮"], [0, "𝔯"], [0, "𝔰"], [0, "𝔱"], [0, "𝔲"], [0, "𝔳"], [0, "𝔴"], [0, "𝔵"], [0, "𝔶"], [0, "𝔷"], [0, "𝔸"], [0, "𝔹"], [1, "𝔻"], [0, "𝔼"], [0, "𝔽"], [0, "𝔾"], [1, "𝕀"], [0, "𝕁"], [0, "𝕂"], [0, "𝕃"], [0, "𝕄"], [1, "𝕆"], [3, "𝕊"], [0, "𝕋"], [0, "𝕌"], [0, "𝕍"], [0, "𝕎"], [0, "𝕏"], [0, "𝕐"], [1, "𝕒"], [0, "𝕓"], [0, "𝕔"], [0, "𝕕"], [0, "𝕖"], [0, "𝕗"], [0, "𝕘"], [0, "𝕙"], [0, "𝕚"], [0, "𝕛"], [0, "𝕜"], [0, "𝕝"], [0, "𝕞"], [0, "𝕟"], [0, "𝕠"], [0, "𝕡"], [0, "𝕢"], [0, "𝕣"], [0, "𝕤"], [0, "𝕥"], [0, "𝕦"], [0, "𝕧"], [0, "𝕨"], [0, "𝕩"], [0, "𝕪"], [0, "𝕫"]])) }], [8906, "ff"], [0, "fi"], [0, "fl"], [0, "ffi"], [0, "ffl"]])); + +var _escape = {}; + +(function (exports) { + Object.defineProperty(exports, "__esModule", { value: true }); + exports.escapeText = exports.escapeAttribute = exports.escapeUTF8 = exports.escape = exports.encodeXML = exports.getCodePoint = exports.xmlReplacer = void 0; + exports.xmlReplacer = /["&'<>$\x80-\uFFFF]/g; + var xmlCodeMap = new Map([ + [34, """], + [38, "&"], + [39, "'"], + [60, "<"], + [62, ">"], + ]); + // For compatibility with node < 4, we wrap `codePointAt` + exports.getCodePoint = + // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition + String.prototype.codePointAt != null + ? function (str, index) { return str.codePointAt(index); } + : // http://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae + function (c, index) { + return (c.charCodeAt(index) & 0xfc00) === 0xd800 + ? (c.charCodeAt(index) - 0xd800) * 0x400 + + c.charCodeAt(index + 1) - + 0xdc00 + + 0x10000 + : c.charCodeAt(index); + }; + /** + * Encodes all non-ASCII characters, as well as characters not valid in XML + * documents using XML entities. + * + * If a character has no equivalent entity, a + * numeric hexadecimal reference (eg. `ü`) will be used. + */ + function encodeXML(str) { + var ret = ""; + var lastIdx = 0; + var match; + while ((match = exports.xmlReplacer.exec(str)) !== null) { + var i = match.index; + var char = str.charCodeAt(i); + var next = xmlCodeMap.get(char); + if (next !== undefined) { + ret += str.substring(lastIdx, i) + next; + lastIdx = i + 1; + } + else { + ret += "".concat(str.substring(lastIdx, i), "&#x").concat((0, exports.getCodePoint)(str, i).toString(16), ";"); + // Increase by 1 if we have a surrogate pair + lastIdx = exports.xmlReplacer.lastIndex += Number((char & 0xfc00) === 0xd800); + } + } + return ret + str.substr(lastIdx); + } + exports.encodeXML = encodeXML; + /** + * Encodes all non-ASCII characters, as well as characters not valid in XML + * documents using numeric hexadecimal reference (eg. `ü`). + * + * Have a look at `escapeUTF8` if you want a more concise output at the expense + * of reduced transportability. + * + * @param data String to escape. + */ + exports.escape = encodeXML; + /** + * Creates a function that escapes all characters matched by the given regular + * expression using the given map of characters to escape to their entities. + * + * @param regex Regular expression to match characters to escape. + * @param map Map of characters to escape to their entities. + * + * @returns Function that escapes all characters matched by the given regular + * expression using the given map of characters to escape to their entities. + */ + function getEscaper(regex, map) { + return function escape(data) { + var match; + var lastIdx = 0; + var result = ""; + while ((match = regex.exec(data))) { + if (lastIdx !== match.index) { + result += data.substring(lastIdx, match.index); + } + // We know that this character will be in the map. + result += map.get(match[0].charCodeAt(0)); + // Every match will be of length 1 + lastIdx = match.index + 1; + } + return result + data.substring(lastIdx); + }; + } + /** + * Encodes all characters not valid in XML documents using XML entities. + * + * Note that the output will be character-set dependent. + * + * @param data String to escape. + */ + exports.escapeUTF8 = getEscaper(/[&<>'"]/g, xmlCodeMap); + /** + * Encodes all characters that have to be escaped in HTML attributes, + * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}. + * + * @param data String to escape. + */ + exports.escapeAttribute = getEscaper(/["&\u00A0]/g, new Map([ + [34, """], + [38, "&"], + [160, " "], + ])); + /** + * Encodes all characters that have to be escaped in HTML text, + * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}. + * + * @param data String to escape. + */ + exports.escapeText = getEscaper(/[&<>\u00A0]/g, new Map([ + [38, "&"], + [60, "<"], + [62, ">"], + [160, " "], + ])); + +} (_escape)); + +var __importDefault$1 = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(encode, "__esModule", { value: true }); +encode.encodeNonAsciiHTML = encode.encodeHTML = void 0; +var encode_html_js_1 = __importDefault$1(encodeHtml); +var escape_js_1 = _escape; +var htmlReplacer = /[\t\n!-,./:-@[-`\f{-}$\x80-\uFFFF]/g; +/** + * Encodes all characters in the input using HTML entities. This includes + * characters that are valid ASCII characters in HTML documents, such as `#`. + * + * To get a more compact output, consider using the `encodeNonAsciiHTML` + * function, which will only encode characters that are not valid in HTML + * documents, as well as non-ASCII characters. + * + * If a character has no equivalent entity, a numeric hexadecimal reference + * (eg. `ü`) will be used. + */ +function encodeHTML(data) { + return encodeHTMLTrieRe(htmlReplacer, data); +} +encode.encodeHTML = encodeHTML; +/** + * Encodes all non-ASCII characters, as well as characters not valid in HTML + * documents using HTML entities. This function will not encode characters that + * are valid in HTML documents, such as `#`. + * + * If a character has no equivalent entity, a numeric hexadecimal reference + * (eg. `ü`) will be used. + */ +function encodeNonAsciiHTML(data) { + return encodeHTMLTrieRe(escape_js_1.xmlReplacer, data); +} +encode.encodeNonAsciiHTML = encodeNonAsciiHTML; +function encodeHTMLTrieRe(regExp, str) { + var ret = ""; + var lastIdx = 0; + var match; + while ((match = regExp.exec(str)) !== null) { + var i = match.index; + ret += str.substring(lastIdx, i); + var char = str.charCodeAt(i); + var next = encode_html_js_1.default.get(char); + if (typeof next === "object") { + // We are in a branch. Try to match the next char. + if (i + 1 < str.length) { + var nextChar = str.charCodeAt(i + 1); + var value = typeof next.n === "number" + ? next.n === nextChar + ? next.o + : undefined + : next.n.get(nextChar); + if (value !== undefined) { + ret += value; + lastIdx = regExp.lastIndex += 1; + continue; + } + } + next = next.v; + } + // We might have a tree node without a value; skip and use a numeric entity. + if (next !== undefined) { + ret += next; + lastIdx = i + 1; + } + else { + var cp = (0, escape_js_1.getCodePoint)(str, i); + ret += "&#x".concat(cp.toString(16), ";"); + // Increase by 1 if we have a surrogate pair + lastIdx = regExp.lastIndex += Number(cp !== char); + } + } + return ret + str.substr(lastIdx); +} + +(function (exports) { + Object.defineProperty(exports, "__esModule", { value: true }); + exports.decodeXMLStrict = exports.decodeHTML5Strict = exports.decodeHTML4Strict = exports.decodeHTML5 = exports.decodeHTML4 = exports.decodeHTMLAttribute = exports.decodeHTMLStrict = exports.decodeHTML = exports.decodeXML = exports.DecodingMode = exports.EntityDecoder = exports.encodeHTML5 = exports.encodeHTML4 = exports.encodeNonAsciiHTML = exports.encodeHTML = exports.escapeText = exports.escapeAttribute = exports.escapeUTF8 = exports.escape = exports.encodeXML = exports.encode = exports.decodeStrict = exports.decode = exports.EncodingMode = exports.EntityLevel = void 0; + var decode_js_1 = decode; + var encode_js_1 = encode; + var escape_js_1 = _escape; + /** The level of entities to support. */ + var EntityLevel; + (function (EntityLevel) { + /** Support only XML entities. */ + EntityLevel[EntityLevel["XML"] = 0] = "XML"; + /** Support HTML entities, which are a superset of XML entities. */ + EntityLevel[EntityLevel["HTML"] = 1] = "HTML"; + })(EntityLevel = exports.EntityLevel || (exports.EntityLevel = {})); + var EncodingMode; + (function (EncodingMode) { + /** + * The output is UTF-8 encoded. Only characters that need escaping within + * XML will be escaped. + */ + EncodingMode[EncodingMode["UTF8"] = 0] = "UTF8"; + /** + * The output consists only of ASCII characters. Characters that need + * escaping within HTML, and characters that aren't ASCII characters will + * be escaped. + */ + EncodingMode[EncodingMode["ASCII"] = 1] = "ASCII"; + /** + * Encode all characters that have an equivalent entity, as well as all + * characters that are not ASCII characters. + */ + EncodingMode[EncodingMode["Extensive"] = 2] = "Extensive"; + /** + * Encode all characters that have to be escaped in HTML attributes, + * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}. + */ + EncodingMode[EncodingMode["Attribute"] = 3] = "Attribute"; + /** + * Encode all characters that have to be escaped in HTML text, + * following {@link https://html.spec.whatwg.org/multipage/parsing.html#escapingString}. + */ + EncodingMode[EncodingMode["Text"] = 4] = "Text"; + })(EncodingMode = exports.EncodingMode || (exports.EncodingMode = {})); + /** + * Decodes a string with entities. + * + * @param data String to decode. + * @param options Decoding options. + */ + function decode$1(data, options) { + if (options === void 0) { options = EntityLevel.XML; } + var level = typeof options === "number" ? options : options.level; + if (level === EntityLevel.HTML) { + var mode = typeof options === "object" ? options.mode : undefined; + return (0, decode_js_1.decodeHTML)(data, mode); + } + return (0, decode_js_1.decodeXML)(data); + } + exports.decode = decode$1; + /** + * Decodes a string with entities. Does not allow missing trailing semicolons for entities. + * + * @param data String to decode. + * @param options Decoding options. + * @deprecated Use `decode` with the `mode` set to `Strict`. + */ + function decodeStrict(data, options) { + var _a; + if (options === void 0) { options = EntityLevel.XML; } + var opts = typeof options === "number" ? { level: options } : options; + (_a = opts.mode) !== null && _a !== void 0 ? _a : (opts.mode = decode_js_1.DecodingMode.Strict); + return decode$1(data, opts); + } + exports.decodeStrict = decodeStrict; + /** + * Encodes a string with entities. + * + * @param data String to encode. + * @param options Encoding options. + */ + function encode$1(data, options) { + if (options === void 0) { options = EntityLevel.XML; } + var opts = typeof options === "number" ? { level: options } : options; + // Mode `UTF8` just escapes XML entities + if (opts.mode === EncodingMode.UTF8) + return (0, escape_js_1.escapeUTF8)(data); + if (opts.mode === EncodingMode.Attribute) + return (0, escape_js_1.escapeAttribute)(data); + if (opts.mode === EncodingMode.Text) + return (0, escape_js_1.escapeText)(data); + if (opts.level === EntityLevel.HTML) { + if (opts.mode === EncodingMode.ASCII) { + return (0, encode_js_1.encodeNonAsciiHTML)(data); + } + return (0, encode_js_1.encodeHTML)(data); + } + // ASCII and Extensive are equivalent + return (0, escape_js_1.encodeXML)(data); + } + exports.encode = encode$1; + var escape_js_2 = _escape; + Object.defineProperty(exports, "encodeXML", { enumerable: true, get: function () { return escape_js_2.encodeXML; } }); + Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } }); + Object.defineProperty(exports, "escapeUTF8", { enumerable: true, get: function () { return escape_js_2.escapeUTF8; } }); + Object.defineProperty(exports, "escapeAttribute", { enumerable: true, get: function () { return escape_js_2.escapeAttribute; } }); + Object.defineProperty(exports, "escapeText", { enumerable: true, get: function () { return escape_js_2.escapeText; } }); + var encode_js_2 = encode; + Object.defineProperty(exports, "encodeHTML", { enumerable: true, get: function () { return encode_js_2.encodeHTML; } }); + Object.defineProperty(exports, "encodeNonAsciiHTML", { enumerable: true, get: function () { return encode_js_2.encodeNonAsciiHTML; } }); + // Legacy aliases (deprecated) + Object.defineProperty(exports, "encodeHTML4", { enumerable: true, get: function () { return encode_js_2.encodeHTML; } }); + Object.defineProperty(exports, "encodeHTML5", { enumerable: true, get: function () { return encode_js_2.encodeHTML; } }); + var decode_js_2 = decode; + Object.defineProperty(exports, "EntityDecoder", { enumerable: true, get: function () { return decode_js_2.EntityDecoder; } }); + Object.defineProperty(exports, "DecodingMode", { enumerable: true, get: function () { return decode_js_2.DecodingMode; } }); + Object.defineProperty(exports, "decodeXML", { enumerable: true, get: function () { return decode_js_2.decodeXML; } }); + Object.defineProperty(exports, "decodeHTML", { enumerable: true, get: function () { return decode_js_2.decodeHTML; } }); + Object.defineProperty(exports, "decodeHTMLStrict", { enumerable: true, get: function () { return decode_js_2.decodeHTMLStrict; } }); + Object.defineProperty(exports, "decodeHTMLAttribute", { enumerable: true, get: function () { return decode_js_2.decodeHTMLAttribute; } }); + // Legacy aliases (deprecated) + Object.defineProperty(exports, "decodeHTML4", { enumerable: true, get: function () { return decode_js_2.decodeHTML; } }); + Object.defineProperty(exports, "decodeHTML5", { enumerable: true, get: function () { return decode_js_2.decodeHTML; } }); + Object.defineProperty(exports, "decodeHTML4Strict", { enumerable: true, get: function () { return decode_js_2.decodeHTMLStrict; } }); + Object.defineProperty(exports, "decodeHTML5Strict", { enumerable: true, get: function () { return decode_js_2.decodeHTMLStrict; } }); + Object.defineProperty(exports, "decodeXMLStrict", { enumerable: true, get: function () { return decode_js_2.decodeXML; } }); + +} (lib)); + +var foreignNames = {}; + +Object.defineProperty(foreignNames, "__esModule", { value: true }); +foreignNames.attributeNames = foreignNames.elementNames = void 0; +foreignNames.elementNames = new Map([ + "altGlyph", + "altGlyphDef", + "altGlyphItem", + "animateColor", + "animateMotion", + "animateTransform", + "clipPath", + "feBlend", + "feColorMatrix", + "feComponentTransfer", + "feComposite", + "feConvolveMatrix", + "feDiffuseLighting", + "feDisplacementMap", + "feDistantLight", + "feDropShadow", + "feFlood", + "feFuncA", + "feFuncB", + "feFuncG", + "feFuncR", + "feGaussianBlur", + "feImage", + "feMerge", + "feMergeNode", + "feMorphology", + "feOffset", + "fePointLight", + "feSpecularLighting", + "feSpotLight", + "feTile", + "feTurbulence", + "foreignObject", + "glyphRef", + "linearGradient", + "radialGradient", + "textPath", +].map(function (val) { return [val.toLowerCase(), val]; })); +foreignNames.attributeNames = new Map([ + "definitionURL", + "attributeName", + "attributeType", + "baseFrequency", + "baseProfile", + "calcMode", + "clipPathUnits", + "diffuseConstant", + "edgeMode", + "filterUnits", + "glyphRef", + "gradientTransform", + "gradientUnits", + "kernelMatrix", + "kernelUnitLength", + "keyPoints", + "keySplines", + "keyTimes", + "lengthAdjust", + "limitingConeAngle", + "markerHeight", + "markerUnits", + "markerWidth", + "maskContentUnits", + "maskUnits", + "numOctaves", + "pathLength", + "patternContentUnits", + "patternTransform", + "patternUnits", + "pointsAtX", + "pointsAtY", + "pointsAtZ", + "preserveAlpha", + "preserveAspectRatio", + "primitiveUnits", + "refX", + "refY", + "repeatCount", + "repeatDur", + "requiredExtensions", + "requiredFeatures", + "specularConstant", + "specularExponent", + "spreadMethod", + "startOffset", + "stdDeviation", + "stitchTiles", + "surfaceScale", + "systemLanguage", + "tableValues", + "targetX", + "targetY", + "textLength", + "viewBox", + "viewTarget", + "xChannelSelector", + "yChannelSelector", + "zoomAndPan", +].map(function (val) { return [val.toLowerCase(), val]; })); + +var __assign = (commonjsGlobal && commonjsGlobal.__assign) || function () { + __assign = Object.assign || function(t) { + for (var s, i = 1, n = arguments.length; i < n; i++) { + s = arguments[i]; + for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) + t[p] = s[p]; + } + return t; + }; + return __assign.apply(this, arguments); +}; +var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); +}) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; +})); +var __setModuleDefault = (commonjsGlobal && commonjsGlobal.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); +}) : function(o, v) { + o["default"] = v; +}); +var __importStar = (commonjsGlobal && commonjsGlobal.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; +}; +Object.defineProperty(lib$1, "__esModule", { value: true }); +lib$1.render = void 0; +/* + * Module dependencies + */ +var ElementType = __importStar(lib$4); +var entities_1 = lib; +/** + * Mixed-case SVG and MathML tags & attributes + * recognized by the HTML parser. + * + * @see https://html.spec.whatwg.org/multipage/parsing.html#parsing-main-inforeign + */ +var foreignNames_js_1 = foreignNames; +var unencodedElements = new Set([ + "style", + "script", + "xmp", + "iframe", + "noembed", + "noframes", + "plaintext", + "noscript", +]); +function replaceQuotes(value) { + return value.replace(/"/g, """); +} +/** + * Format attributes + */ +function formatAttributes(attributes, opts) { + var _a; + if (!attributes) + return; + var encode = ((_a = opts.encodeEntities) !== null && _a !== void 0 ? _a : opts.decodeEntities) === false + ? replaceQuotes + : opts.xmlMode || opts.encodeEntities !== "utf8" + ? entities_1.encodeXML + : entities_1.escapeAttribute; + return Object.keys(attributes) + .map(function (key) { + var _a, _b; + var value = (_a = attributes[key]) !== null && _a !== void 0 ? _a : ""; + if (opts.xmlMode === "foreign") { + /* Fix up mixed-case attribute names */ + key = (_b = foreignNames_js_1.attributeNames.get(key)) !== null && _b !== void 0 ? _b : key; + } + if (!opts.emptyAttrs && !opts.xmlMode && value === "") { + return key; + } + return "".concat(key, "=\"").concat(encode(value), "\""); + }) + .join(" "); +} +/** + * Self-enclosing tags + */ +var singleTag = new Set([ + "area", + "base", + "basefont", + "br", + "col", + "command", + "embed", + "frame", + "hr", + "img", + "input", + "isindex", + "keygen", + "link", + "meta", + "param", + "source", + "track", + "wbr", +]); +/** + * Renders a DOM node or an array of DOM nodes to a string. + * + * Can be thought of as the equivalent of the `outerHTML` of the passed node(s). + * + * @param node Node to be rendered. + * @param options Changes serialization behavior + */ +function render(node, options) { + if (options === void 0) { options = {}; } + var nodes = "length" in node ? node : [node]; + var output = ""; + for (var i = 0; i < nodes.length; i++) { + output += renderNode(nodes[i], options); + } + return output; +} +lib$1.render = render; +lib$1.default = render; +function renderNode(node, options) { + switch (node.type) { + case ElementType.Root: + return render(node.children, options); + // @ts-expect-error We don't use `Doctype` yet + case ElementType.Doctype: + case ElementType.Directive: + return renderDirective(node); + case ElementType.Comment: + return renderComment(node); + case ElementType.CDATA: + return renderCdata(node); + case ElementType.Script: + case ElementType.Style: + case ElementType.Tag: + return renderTag(node, options); + case ElementType.Text: + return renderText(node, options); + } +} +var foreignModeIntegrationPoints = new Set([ + "mi", + "mo", + "mn", + "ms", + "mtext", + "annotation-xml", + "foreignObject", + "desc", + "title", +]); +var foreignElements = new Set(["svg", "math"]); +function renderTag(elem, opts) { + var _a; + // Handle SVG / MathML in HTML + if (opts.xmlMode === "foreign") { + /* Fix up mixed-case element names */ + elem.name = (_a = foreignNames_js_1.elementNames.get(elem.name)) !== null && _a !== void 0 ? _a : elem.name; + /* Exit foreign mode at integration points */ + if (elem.parent && + foreignModeIntegrationPoints.has(elem.parent.name)) { + opts = __assign(__assign({}, opts), { xmlMode: false }); + } + } + if (!opts.xmlMode && foreignElements.has(elem.name)) { + opts = __assign(__assign({}, opts), { xmlMode: "foreign" }); + } + var tag = "<".concat(elem.name); + var attribs = formatAttributes(elem.attribs, opts); + if (attribs) { + tag += " ".concat(attribs); + } + if (elem.children.length === 0 && + (opts.xmlMode + ? // In XML mode or foreign mode, and user hasn't explicitly turned off self-closing tags + opts.selfClosingTags !== false + : // User explicitly asked for self-closing tags, even in HTML mode + opts.selfClosingTags && singleTag.has(elem.name))) { + if (!opts.xmlMode) + tag += " "; + tag += "/>"; + } + else { + tag += ">"; + if (elem.children.length > 0) { + tag += render(elem.children, opts); + } + if (opts.xmlMode || !singleTag.has(elem.name)) { + tag += ""); + } + } + return tag; +} +function renderDirective(elem) { + return "<".concat(elem.data, ">"); +} +function renderText(elem, opts) { + var _a; + var data = elem.data || ""; + // If entities weren't decoded, no need to encode them back + if (((_a = opts.encodeEntities) !== null && _a !== void 0 ? _a : opts.decodeEntities) !== false && + !(!opts.xmlMode && + elem.parent && + unencodedElements.has(elem.parent.name))) { + data = + opts.xmlMode || opts.encodeEntities !== "utf8" + ? (0, entities_1.encodeXML)(data) + : (0, entities_1.escapeText)(data); + } + return data; +} +function renderCdata(elem) { + return ""); +} +function renderComment(elem) { + return ""); +} + +var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; +}; +Object.defineProperty(stringify, "__esModule", { value: true }); +stringify.innerText = stringify.textContent = stringify.getText = stringify.getInnerHTML = stringify.getOuterHTML = void 0; +var domhandler_1$3 = lib$5; +var dom_serializer_1 = __importDefault(lib$1); +var domelementtype_1 = lib$4; +/** + * @category Stringify + * @deprecated Use the `dom-serializer` module directly. + * @param node Node to get the outer HTML of. + * @param options Options for serialization. + * @returns `node`'s outer HTML. + */ +function getOuterHTML(node, options) { + return (0, dom_serializer_1.default)(node, options); +} +stringify.getOuterHTML = getOuterHTML; +/** + * @category Stringify + * @deprecated Use the `dom-serializer` module directly. + * @param node Node to get the inner HTML of. + * @param options Options for serialization. + * @returns `node`'s inner HTML. + */ +function getInnerHTML(node, options) { + return (0, domhandler_1$3.hasChildren)(node) + ? node.children.map(function (node) { return getOuterHTML(node, options); }).join("") + : ""; +} +stringify.getInnerHTML = getInnerHTML; +/** + * Get a node's inner text. Same as `textContent`, but inserts newlines for `
` tags. + * + * @category Stringify + * @deprecated Use `textContent` instead. + * @param node Node to get the inner text of. + * @returns `node`'s inner text. + */ +function getText$1(node) { + if (Array.isArray(node)) + return node.map(getText$1).join(""); + if ((0, domhandler_1$3.isTag)(node)) + return node.name === "br" ? "\n" : getText$1(node.children); + if ((0, domhandler_1$3.isCDATA)(node)) + return getText$1(node.children); + if ((0, domhandler_1$3.isText)(node)) + return node.data; + return ""; +} +stringify.getText = getText$1; +/** + * Get a node's text content. + * + * @category Stringify + * @param node Node to get the text content of. + * @returns `node`'s text content. + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent} + */ +function textContent(node) { + if (Array.isArray(node)) + return node.map(textContent).join(""); + if ((0, domhandler_1$3.hasChildren)(node) && !(0, domhandler_1$3.isComment)(node)) { + return textContent(node.children); + } + if ((0, domhandler_1$3.isText)(node)) + return node.data; + return ""; +} +stringify.textContent = textContent; +/** + * Get a node's inner text. + * + * @category Stringify + * @param node Node to get the inner text of. + * @returns `node`'s inner text. + * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/Node/innerText} + */ +function innerText(node) { + if (Array.isArray(node)) + return node.map(innerText).join(""); + if ((0, domhandler_1$3.hasChildren)(node) && (node.type === domelementtype_1.ElementType.Tag || (0, domhandler_1$3.isCDATA)(node))) { + return innerText(node.children); + } + if ((0, domhandler_1$3.isText)(node)) + return node.data; + return ""; +} +stringify.innerText = innerText; + +var traversal = {}; + +Object.defineProperty(traversal, "__esModule", { value: true }); +traversal.prevElementSibling = traversal.nextElementSibling = traversal.getName = traversal.hasAttrib = traversal.getAttributeValue = traversal.getSiblings = traversal.getParent = traversal.getChildren = void 0; +var domhandler_1$2 = lib$5; +/** + * Get a node's children. + * + * @category Traversal + * @param elem Node to get the children of. + * @returns `elem`'s children, or an empty array. + */ +function getChildren(elem) { + return (0, domhandler_1$2.hasChildren)(elem) ? elem.children : []; +} +traversal.getChildren = getChildren; +/** + * Get a node's parent. + * + * @category Traversal + * @param elem Node to get the parent of. + * @returns `elem`'s parent node. + */ +function getParent(elem) { + return elem.parent || null; +} +traversal.getParent = getParent; +/** + * Gets an elements siblings, including the element itself. + * + * Attempts to get the children through the element's parent first. If we don't + * have a parent (the element is a root node), we walk the element's `prev` & + * `next` to get all remaining nodes. + * + * @category Traversal + * @param elem Element to get the siblings of. + * @returns `elem`'s siblings. + */ +function getSiblings(elem) { + var _a, _b; + var parent = getParent(elem); + if (parent != null) + return getChildren(parent); + var siblings = [elem]; + var prev = elem.prev, next = elem.next; + while (prev != null) { + siblings.unshift(prev); + (_a = prev, prev = _a.prev); + } + while (next != null) { + siblings.push(next); + (_b = next, next = _b.next); + } + return siblings; +} +traversal.getSiblings = getSiblings; +/** + * Gets an attribute from an element. + * + * @category Traversal + * @param elem Element to check. + * @param name Attribute name to retrieve. + * @returns The element's attribute value, or `undefined`. + */ +function getAttributeValue(elem, name) { + var _a; + return (_a = elem.attribs) === null || _a === void 0 ? void 0 : _a[name]; +} +traversal.getAttributeValue = getAttributeValue; +/** + * Checks whether an element has an attribute. + * + * @category Traversal + * @param elem Element to check. + * @param name Attribute name to look for. + * @returns Returns whether `elem` has the attribute `name`. + */ +function hasAttrib(elem, name) { + return (elem.attribs != null && + Object.prototype.hasOwnProperty.call(elem.attribs, name) && + elem.attribs[name] != null); +} +traversal.hasAttrib = hasAttrib; +/** + * Get the tag name of an element. + * + * @category Traversal + * @param elem The element to get the name for. + * @returns The tag name of `elem`. + */ +function getName(elem) { + return elem.name; +} +traversal.getName = getName; +/** + * Returns the next element sibling of a node. + * + * @category Traversal + * @param elem The element to get the next sibling of. + * @returns `elem`'s next sibling that is a tag. + */ +function nextElementSibling(elem) { + var _a; + var next = elem.next; + while (next !== null && !(0, domhandler_1$2.isTag)(next)) + (_a = next, next = _a.next); + return next; +} +traversal.nextElementSibling = nextElementSibling; +/** + * Returns the previous element sibling of a node. + * + * @category Traversal + * @param elem The element to get the previous sibling of. + * @returns `elem`'s previous sibling that is a tag. + */ +function prevElementSibling(elem) { + var _a; + var prev = elem.prev; + while (prev !== null && !(0, domhandler_1$2.isTag)(prev)) + (_a = prev, prev = _a.prev); + return prev; +} +traversal.prevElementSibling = prevElementSibling; + +var manipulation = {}; + +Object.defineProperty(manipulation, "__esModule", { value: true }); +manipulation.prepend = manipulation.prependChild = manipulation.append = manipulation.appendChild = manipulation.replaceElement = manipulation.removeElement = void 0; +/** + * Remove an element from the dom + * + * @category Manipulation + * @param elem The element to be removed + */ +function removeElement(elem) { + if (elem.prev) + elem.prev.next = elem.next; + if (elem.next) + elem.next.prev = elem.prev; + if (elem.parent) { + var childs = elem.parent.children; + childs.splice(childs.lastIndexOf(elem), 1); + } +} +manipulation.removeElement = removeElement; +/** + * Replace an element in the dom + * + * @category Manipulation + * @param elem The element to be replaced + * @param replacement The element to be added + */ +function replaceElement(elem, replacement) { + var prev = (replacement.prev = elem.prev); + if (prev) { + prev.next = replacement; + } + var next = (replacement.next = elem.next); + if (next) { + next.prev = replacement; + } + var parent = (replacement.parent = elem.parent); + if (parent) { + var childs = parent.children; + childs[childs.lastIndexOf(elem)] = replacement; + elem.parent = null; + } +} +manipulation.replaceElement = replaceElement; +/** + * Append a child to an element. + * + * @category Manipulation + * @param elem The element to append to. + * @param child The element to be added as a child. + */ +function appendChild(elem, child) { + removeElement(child); + child.next = null; + child.parent = elem; + if (elem.children.push(child) > 1) { + var sibling = elem.children[elem.children.length - 2]; + sibling.next = child; + child.prev = sibling; + } + else { + child.prev = null; + } +} +manipulation.appendChild = appendChild; +/** + * Append an element after another. + * + * @category Manipulation + * @param elem The element to append after. + * @param next The element be added. + */ +function append(elem, next) { + removeElement(next); + var parent = elem.parent; + var currNext = elem.next; + next.next = currNext; + next.prev = elem; + elem.next = next; + next.parent = parent; + if (currNext) { + currNext.prev = next; + if (parent) { + var childs = parent.children; + childs.splice(childs.lastIndexOf(currNext), 0, next); + } + } + else if (parent) { + parent.children.push(next); + } +} +manipulation.append = append; +/** + * Prepend a child to an element. + * + * @category Manipulation + * @param elem The element to prepend before. + * @param child The element to be added as a child. + */ +function prependChild(elem, child) { + removeElement(child); + child.parent = elem; + child.prev = null; + if (elem.children.unshift(child) !== 1) { + var sibling = elem.children[1]; + sibling.prev = child; + child.next = sibling; + } + else { + child.next = null; + } +} +manipulation.prependChild = prependChild; +/** + * Prepend an element before another. + * + * @category Manipulation + * @param elem The element to prepend before. + * @param prev The element be added. + */ +function prepend(elem, prev) { + removeElement(prev); + var parent = elem.parent; + if (parent) { + var childs = parent.children; + childs.splice(childs.indexOf(elem), 0, prev); + } + if (elem.prev) { + elem.prev.next = prev; + } + prev.parent = parent; + prev.prev = elem.prev; + prev.next = elem; + elem.prev = prev; +} +manipulation.prepend = prepend; + +var querying = {}; + +Object.defineProperty(querying, "__esModule", { value: true }); +querying.findAll = querying.existsOne = querying.findOne = querying.findOneChild = querying.find = querying.filter = void 0; +var domhandler_1$1 = lib$5; +/** + * Search a node and its children for nodes passing a test function. + * + * @category Querying + * @param test Function to test nodes on. + * @param node Node to search. Will be included in the result set if it matches. + * @param recurse Also consider child nodes. + * @param limit Maximum number of nodes to return. + * @returns All nodes passing `test`. + */ +function filter(test, node, recurse, limit) { + if (recurse === void 0) { recurse = true; } + if (limit === void 0) { limit = Infinity; } + if (!Array.isArray(node)) + node = [node]; + return find(test, node, recurse, limit); +} +querying.filter = filter; +/** + * Search an array of node and its children for nodes passing a test function. + * + * @category Querying + * @param test Function to test nodes on. + * @param nodes Array of nodes to search. + * @param recurse Also consider child nodes. + * @param limit Maximum number of nodes to return. + * @returns All nodes passing `test`. + */ +function find(test, nodes, recurse, limit) { + var result = []; + for (var _i = 0, nodes_1 = nodes; _i < nodes_1.length; _i++) { + var elem = nodes_1[_i]; + if (test(elem)) { + result.push(elem); + if (--limit <= 0) + break; + } + if (recurse && (0, domhandler_1$1.hasChildren)(elem) && elem.children.length > 0) { + var children = find(test, elem.children, recurse, limit); + result.push.apply(result, children); + limit -= children.length; + if (limit <= 0) + break; + } + } + return result; +} +querying.find = find; +/** + * Finds the first element inside of an array that matches a test function. + * + * @category Querying + * @param test Function to test nodes on. + * @param nodes Array of nodes to search. + * @returns The first node in the array that passes `test`. + * @deprecated Use `Array.prototype.find` directly. + */ +function findOneChild(test, nodes) { + return nodes.find(test); +} +querying.findOneChild = findOneChild; +/** + * Finds one element in a tree that passes a test. + * + * @category Querying + * @param test Function to test nodes on. + * @param nodes Array of nodes to search. + * @param recurse Also consider child nodes. + * @returns The first child node that passes `test`. + */ +function findOne(test, nodes, recurse) { + if (recurse === void 0) { recurse = true; } + var elem = null; + for (var i = 0; i < nodes.length && !elem; i++) { + var checked = nodes[i]; + if (!(0, domhandler_1$1.isTag)(checked)) { + continue; + } + else if (test(checked)) { + elem = checked; + } + else if (recurse && checked.children.length > 0) { + elem = findOne(test, checked.children, true); + } + } + return elem; +} +querying.findOne = findOne; +/** + * @category Querying + * @param test Function to test nodes on. + * @param nodes Array of nodes to search. + * @returns Whether a tree of nodes contains at least one node passing the test. + */ +function existsOne(test, nodes) { + return nodes.some(function (checked) { + return (0, domhandler_1$1.isTag)(checked) && + (test(checked) || + (checked.children.length > 0 && + existsOne(test, checked.children))); + }); +} +querying.existsOne = existsOne; +/** + * Search and array of nodes and its children for elements passing a test function. + * + * Same as `find`, but limited to elements and with less options, leading to reduced complexity. + * + * @category Querying + * @param test Function to test nodes on. + * @param nodes Array of nodes to search. + * @returns All nodes passing `test`. + */ +function findAll(test, nodes) { + var _a; + var result = []; + var stack = nodes.filter(domhandler_1$1.isTag); + var elem; + while ((elem = stack.shift())) { + var children = (_a = elem.children) === null || _a === void 0 ? void 0 : _a.filter(domhandler_1$1.isTag); + if (children && children.length > 0) { + stack.unshift.apply(stack, children); + } + if (test(elem)) + result.push(elem); + } + return result; +} +querying.findAll = findAll; + +var legacy = {}; + +Object.defineProperty(legacy, "__esModule", { value: true }); +legacy.getElementsByTagType = legacy.getElementsByTagName = legacy.getElementById = legacy.getElements = legacy.testElement = void 0; +var domhandler_1 = lib$5; +var querying_js_1 = querying; +var Checks = { + tag_name: function (name) { + if (typeof name === "function") { + return function (elem) { return (0, domhandler_1.isTag)(elem) && name(elem.name); }; + } + else if (name === "*") { + return domhandler_1.isTag; + } + return function (elem) { return (0, domhandler_1.isTag)(elem) && elem.name === name; }; + }, + tag_type: function (type) { + if (typeof type === "function") { + return function (elem) { return type(elem.type); }; + } + return function (elem) { return elem.type === type; }; + }, + tag_contains: function (data) { + if (typeof data === "function") { + return function (elem) { return (0, domhandler_1.isText)(elem) && data(elem.data); }; + } + return function (elem) { return (0, domhandler_1.isText)(elem) && elem.data === data; }; + }, +}; +/** + * @param attrib Attribute to check. + * @param value Attribute value to look for. + * @returns A function to check whether the a node has an attribute with a + * particular value. + */ +function getAttribCheck(attrib, value) { + if (typeof value === "function") { + return function (elem) { return (0, domhandler_1.isTag)(elem) && value(elem.attribs[attrib]); }; + } + return function (elem) { return (0, domhandler_1.isTag)(elem) && elem.attribs[attrib] === value; }; +} +/** + * @param a First function to combine. + * @param b Second function to combine. + * @returns A function taking a node and returning `true` if either of the input + * functions returns `true` for the node. + */ +function combineFuncs(a, b) { + return function (elem) { return a(elem) || b(elem); }; +} +/** + * @param options An object describing nodes to look for. + * @returns A function executing all checks in `options` and returning `true` if + * any of them match a node. + */ +function compileTest(options) { + var funcs = Object.keys(options).map(function (key) { + var value = options[key]; + return Object.prototype.hasOwnProperty.call(Checks, key) + ? Checks[key](value) + : getAttribCheck(key, value); + }); + return funcs.length === 0 ? null : funcs.reduce(combineFuncs); +} +/** + * @category Legacy Query Functions + * @param options An object describing nodes to look for. + * @param node The element to test. + * @returns Whether the element matches the description in `options`. + */ +function testElement(options, node) { + var test = compileTest(options); + return test ? test(node) : true; +} +legacy.testElement = testElement; +/** + * @category Legacy Query Functions + * @param options An object describing nodes to look for. + * @param nodes Nodes to search through. + * @param recurse Also consider child nodes. + * @param limit Maximum number of nodes to return. + * @returns All nodes that match `options`. + */ +function getElements(options, nodes, recurse, limit) { + if (limit === void 0) { limit = Infinity; } + var test = compileTest(options); + return test ? (0, querying_js_1.filter)(test, nodes, recurse, limit) : []; +} +legacy.getElements = getElements; +/** + * @category Legacy Query Functions + * @param id The unique ID attribute value to look for. + * @param nodes Nodes to search through. + * @param recurse Also consider child nodes. + * @returns The node with the supplied ID. + */ +function getElementById(id, nodes, recurse) { + if (recurse === void 0) { recurse = true; } + if (!Array.isArray(nodes)) + nodes = [nodes]; + return (0, querying_js_1.findOne)(getAttribCheck("id", id), nodes, recurse); +} +legacy.getElementById = getElementById; +/** + * @category Legacy Query Functions + * @param tagName Tag name to search for. + * @param nodes Nodes to search through. + * @param recurse Also consider child nodes. + * @param limit Maximum number of nodes to return. + * @returns All nodes with the supplied `tagName`. + */ +function getElementsByTagName(tagName, nodes, recurse, limit) { + if (recurse === void 0) { recurse = true; } + if (limit === void 0) { limit = Infinity; } + return (0, querying_js_1.filter)(Checks["tag_name"](tagName), nodes, recurse, limit); +} +legacy.getElementsByTagName = getElementsByTagName; +/** + * @category Legacy Query Functions + * @param type Element type to look for. + * @param nodes Nodes to search through. + * @param recurse Also consider child nodes. + * @param limit Maximum number of nodes to return. + * @returns All nodes with the supplied `type`. + */ +function getElementsByTagType(type, nodes, recurse, limit) { + if (recurse === void 0) { recurse = true; } + if (limit === void 0) { limit = Infinity; } + return (0, querying_js_1.filter)(Checks["tag_type"](type), nodes, recurse, limit); +} +legacy.getElementsByTagType = getElementsByTagType; + +var helpers = {}; + +(function (exports) { + Object.defineProperty(exports, "__esModule", { value: true }); + exports.uniqueSort = exports.compareDocumentPosition = exports.DocumentPosition = exports.removeSubsets = void 0; + var domhandler_1 = lib$5; + /** + * Given an array of nodes, remove any member that is contained by another. + * + * @category Helpers + * @param nodes Nodes to filter. + * @returns Remaining nodes that aren't subtrees of each other. + */ + function removeSubsets(nodes) { + var idx = nodes.length; + /* + * Check if each node (or one of its ancestors) is already contained in the + * array. + */ + while (--idx >= 0) { + var node = nodes[idx]; + /* + * Remove the node if it is not unique. + * We are going through the array from the end, so we only + * have to check nodes that preceed the node under consideration in the array. + */ + if (idx > 0 && nodes.lastIndexOf(node, idx - 1) >= 0) { + nodes.splice(idx, 1); + continue; + } + for (var ancestor = node.parent; ancestor; ancestor = ancestor.parent) { + if (nodes.includes(ancestor)) { + nodes.splice(idx, 1); + break; + } + } + } + return nodes; + } + exports.removeSubsets = removeSubsets; + /** + * @category Helpers + * @see {@link http://dom.spec.whatwg.org/#dom-node-comparedocumentposition} + */ + var DocumentPosition; + (function (DocumentPosition) { + DocumentPosition[DocumentPosition["DISCONNECTED"] = 1] = "DISCONNECTED"; + DocumentPosition[DocumentPosition["PRECEDING"] = 2] = "PRECEDING"; + DocumentPosition[DocumentPosition["FOLLOWING"] = 4] = "FOLLOWING"; + DocumentPosition[DocumentPosition["CONTAINS"] = 8] = "CONTAINS"; + DocumentPosition[DocumentPosition["CONTAINED_BY"] = 16] = "CONTAINED_BY"; + })(DocumentPosition = exports.DocumentPosition || (exports.DocumentPosition = {})); + /** + * Compare the position of one node against another node in any other document. + * The return value is a bitmask with the values from {@link DocumentPosition}. + * + * Document order: + * > There is an ordering, document order, defined on all the nodes in the + * > document corresponding to the order in which the first character of the + * > XML representation of each node occurs in the XML representation of the + * > document after expansion of general entities. Thus, the document element + * > node will be the first node. Element nodes occur before their children. + * > Thus, document order orders element nodes in order of the occurrence of + * > their start-tag in the XML (after expansion of entities). The attribute + * > nodes of an element occur after the element and before its children. The + * > relative order of attribute nodes is implementation-dependent. + * + * Source: + * http://www.w3.org/TR/DOM-Level-3-Core/glossary.html#dt-document-order + * + * @category Helpers + * @param nodeA The first node to use in the comparison + * @param nodeB The second node to use in the comparison + * @returns A bitmask describing the input nodes' relative position. + * + * See http://dom.spec.whatwg.org/#dom-node-comparedocumentposition for + * a description of these values. + */ + function compareDocumentPosition(nodeA, nodeB) { + var aParents = []; + var bParents = []; + if (nodeA === nodeB) { + return 0; + } + var current = (0, domhandler_1.hasChildren)(nodeA) ? nodeA : nodeA.parent; + while (current) { + aParents.unshift(current); + current = current.parent; + } + current = (0, domhandler_1.hasChildren)(nodeB) ? nodeB : nodeB.parent; + while (current) { + bParents.unshift(current); + current = current.parent; + } + var maxIdx = Math.min(aParents.length, bParents.length); + var idx = 0; + while (idx < maxIdx && aParents[idx] === bParents[idx]) { + idx++; + } + if (idx === 0) { + return DocumentPosition.DISCONNECTED; + } + var sharedParent = aParents[idx - 1]; + var siblings = sharedParent.children; + var aSibling = aParents[idx]; + var bSibling = bParents[idx]; + if (siblings.indexOf(aSibling) > siblings.indexOf(bSibling)) { + if (sharedParent === nodeB) { + return DocumentPosition.FOLLOWING | DocumentPosition.CONTAINED_BY; + } + return DocumentPosition.FOLLOWING; + } + if (sharedParent === nodeA) { + return DocumentPosition.PRECEDING | DocumentPosition.CONTAINS; + } + return DocumentPosition.PRECEDING; + } + exports.compareDocumentPosition = compareDocumentPosition; + /** + * Sort an array of nodes based on their relative position in the document and + * remove any duplicate nodes. If the array contains nodes that do not belong to + * the same document, sort order is unspecified. + * + * @category Helpers + * @param nodes Array of DOM nodes. + * @returns Collection of unique nodes, sorted in document order. + */ + function uniqueSort(nodes) { + nodes = nodes.filter(function (node, i, arr) { return !arr.includes(node, i + 1); }); + nodes.sort(function (a, b) { + var relative = compareDocumentPosition(a, b); + if (relative & DocumentPosition.PRECEDING) { + return -1; + } + else if (relative & DocumentPosition.FOLLOWING) { + return 1; + } + return 0; + }); + return nodes; + } + exports.uniqueSort = uniqueSort; + +} (helpers)); + +var feeds = {}; + +Object.defineProperty(feeds, "__esModule", { value: true }); +feeds.getFeed = void 0; +var stringify_js_1 = stringify; +var legacy_js_1 = legacy; +/** + * Get the feed object from the root of a DOM tree. + * + * @category Feeds + * @param doc - The DOM to to extract the feed from. + * @returns The feed. + */ +function getFeed(doc) { + var feedRoot = getOneElement(isValidFeed, doc); + return !feedRoot + ? null + : feedRoot.name === "feed" + ? getAtomFeed(feedRoot) + : getRssFeed(feedRoot); +} +feeds.getFeed = getFeed; +/** + * Parse an Atom feed. + * + * @param feedRoot The root of the feed. + * @returns The parsed feed. + */ +function getAtomFeed(feedRoot) { + var _a; + var childs = feedRoot.children; + var feed = { + type: "atom", + items: (0, legacy_js_1.getElementsByTagName)("entry", childs).map(function (item) { + var _a; + var children = item.children; + var entry = { media: getMediaElements(children) }; + addConditionally(entry, "id", "id", children); + addConditionally(entry, "title", "title", children); + var href = (_a = getOneElement("link", children)) === null || _a === void 0 ? void 0 : _a.attribs["href"]; + if (href) { + entry.link = href; + } + var description = fetch("summary", children) || fetch("content", children); + if (description) { + entry.description = description; + } + var pubDate = fetch("updated", children); + if (pubDate) { + entry.pubDate = new Date(pubDate); + } + return entry; + }), + }; + addConditionally(feed, "id", "id", childs); + addConditionally(feed, "title", "title", childs); + var href = (_a = getOneElement("link", childs)) === null || _a === void 0 ? void 0 : _a.attribs["href"]; + if (href) { + feed.link = href; + } + addConditionally(feed, "description", "subtitle", childs); + var updated = fetch("updated", childs); + if (updated) { + feed.updated = new Date(updated); + } + addConditionally(feed, "author", "email", childs, true); + return feed; +} +/** + * Parse a RSS feed. + * + * @param feedRoot The root of the feed. + * @returns The parsed feed. + */ +function getRssFeed(feedRoot) { + var _a, _b; + var childs = (_b = (_a = getOneElement("channel", feedRoot.children)) === null || _a === void 0 ? void 0 : _a.children) !== null && _b !== void 0 ? _b : []; + var feed = { + type: feedRoot.name.substr(0, 3), + id: "", + items: (0, legacy_js_1.getElementsByTagName)("item", feedRoot.children).map(function (item) { + var children = item.children; + var entry = { media: getMediaElements(children) }; + addConditionally(entry, "id", "guid", children); + addConditionally(entry, "title", "title", children); + addConditionally(entry, "link", "link", children); + addConditionally(entry, "description", "description", children); + var pubDate = fetch("pubDate", children); + if (pubDate) + entry.pubDate = new Date(pubDate); + return entry; + }), + }; + addConditionally(feed, "title", "title", childs); + addConditionally(feed, "link", "link", childs); + addConditionally(feed, "description", "description", childs); + var updated = fetch("lastBuildDate", childs); + if (updated) { + feed.updated = new Date(updated); + } + addConditionally(feed, "author", "managingEditor", childs, true); + return feed; +} +var MEDIA_KEYS_STRING = ["url", "type", "lang"]; +var MEDIA_KEYS_INT = [ + "fileSize", + "bitrate", + "framerate", + "samplingrate", + "channels", + "duration", + "height", + "width", +]; +/** + * Get all media elements of a feed item. + * + * @param where Nodes to search in. + * @returns Media elements. + */ +function getMediaElements(where) { + return (0, legacy_js_1.getElementsByTagName)("media:content", where).map(function (elem) { + var attribs = elem.attribs; + var media = { + medium: attribs["medium"], + isDefault: !!attribs["isDefault"], + }; + for (var _i = 0, MEDIA_KEYS_STRING_1 = MEDIA_KEYS_STRING; _i < MEDIA_KEYS_STRING_1.length; _i++) { + var attrib = MEDIA_KEYS_STRING_1[_i]; + if (attribs[attrib]) { + media[attrib] = attribs[attrib]; + } + } + for (var _a = 0, MEDIA_KEYS_INT_1 = MEDIA_KEYS_INT; _a < MEDIA_KEYS_INT_1.length; _a++) { + var attrib = MEDIA_KEYS_INT_1[_a]; + if (attribs[attrib]) { + media[attrib] = parseInt(attribs[attrib], 10); + } + } + if (attribs["expression"]) { + media.expression = attribs["expression"]; + } + return media; + }); +} +/** + * Get one element by tag name. + * + * @param tagName Tag name to look for + * @param node Node to search in + * @returns The element or null + */ +function getOneElement(tagName, node) { + return (0, legacy_js_1.getElementsByTagName)(tagName, node, true, 1)[0]; +} +/** + * Get the text content of an element with a certain tag name. + * + * @param tagName Tag name to look for. + * @param where Node to search in. + * @param recurse Whether to recurse into child nodes. + * @returns The text content of the element. + */ +function fetch(tagName, where, recurse) { + if (recurse === void 0) { recurse = false; } + return (0, stringify_js_1.textContent)((0, legacy_js_1.getElementsByTagName)(tagName, where, recurse, 1)).trim(); +} +/** + * Adds a property to an object if it has a value. + * + * @param obj Object to be extended + * @param prop Property name + * @param tagName Tag name that contains the conditionally added property + * @param where Element to search for the property + * @param recurse Whether to recurse into child nodes. + */ +function addConditionally(obj, prop, tagName, where, recurse) { + if (recurse === void 0) { recurse = false; } + var val = fetch(tagName, where, recurse); + if (val) + obj[prop] = val; +} +/** + * Checks if an element is a feed root node. + * + * @param value The name of the element to check. + * @returns Whether an element is a feed root node. + */ +function isValidFeed(value) { + return value === "rss" || value === "feed" || value === "rdf:RDF"; +} + +(function (exports) { + var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); + }) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + })); + var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) { + for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); + }; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.hasChildren = exports.isDocument = exports.isComment = exports.isText = exports.isCDATA = exports.isTag = void 0; + __exportStar(stringify, exports); + __exportStar(traversal, exports); + __exportStar(manipulation, exports); + __exportStar(querying, exports); + __exportStar(legacy, exports); + __exportStar(helpers, exports); + __exportStar(feeds, exports); + /** @deprecated Use these methods from `domhandler` directly. */ + var domhandler_1 = lib$5; + Object.defineProperty(exports, "isTag", { enumerable: true, get: function () { return domhandler_1.isTag; } }); + Object.defineProperty(exports, "isCDATA", { enumerable: true, get: function () { return domhandler_1.isCDATA; } }); + Object.defineProperty(exports, "isText", { enumerable: true, get: function () { return domhandler_1.isText; } }); + Object.defineProperty(exports, "isComment", { enumerable: true, get: function () { return domhandler_1.isComment; } }); + Object.defineProperty(exports, "isDocument", { enumerable: true, get: function () { return domhandler_1.isDocument; } }); + Object.defineProperty(exports, "hasChildren", { enumerable: true, get: function () { return domhandler_1.hasChildren; } }); + +} (lib$2)); + +(function (exports) { + var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + var desc = Object.getOwnPropertyDescriptor(m, k); + if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { + desc = { enumerable: true, get: function() { return m[k]; } }; + } + Object.defineProperty(o, k2, desc); + }) : (function(o, m, k, k2) { + if (k2 === undefined) k2 = k; + o[k2] = m[k]; + })); + var __setModuleDefault = (commonjsGlobal && commonjsGlobal.__setModuleDefault) || (Object.create ? (function(o, v) { + Object.defineProperty(o, "default", { enumerable: true, value: v }); + }) : function(o, v) { + o["default"] = v; + }); + var __importStar = (commonjsGlobal && commonjsGlobal.__importStar) || function (mod) { + if (mod && mod.__esModule) return mod; + var result = {}; + if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); + __setModuleDefault(result, mod); + return result; + }; + var __importDefault = (commonjsGlobal && commonjsGlobal.__importDefault) || function (mod) { + return (mod && mod.__esModule) ? mod : { "default": mod }; + }; + Object.defineProperty(exports, "__esModule", { value: true }); + exports.DomUtils = exports.parseFeed = exports.getFeed = exports.ElementType = exports.Tokenizer = exports.createDomStream = exports.parseDOM = exports.parseDocument = exports.DefaultHandler = exports.DomHandler = exports.Parser = void 0; + var Parser_js_1 = Parser$1; + var Parser_js_2 = Parser$1; + Object.defineProperty(exports, "Parser", { enumerable: true, get: function () { return Parser_js_2.Parser; } }); + var domhandler_1 = lib$5; + var domhandler_2 = lib$5; + Object.defineProperty(exports, "DomHandler", { enumerable: true, get: function () { return domhandler_2.DomHandler; } }); + // Old name for DomHandler + Object.defineProperty(exports, "DefaultHandler", { enumerable: true, get: function () { return domhandler_2.DomHandler; } }); + // Helper methods + /** + * Parses the data, returns the resulting document. + * + * @param data The data that should be parsed. + * @param options Optional options for the parser and DOM builder. + */ + function parseDocument(data, options) { + var handler = new domhandler_1.DomHandler(undefined, options); + new Parser_js_1.Parser(handler, options).end(data); + return handler.root; + } + exports.parseDocument = parseDocument; + /** + * Parses data, returns an array of the root nodes. + * + * Note that the root nodes still have a `Document` node as their parent. + * Use `parseDocument` to get the `Document` node instead. + * + * @param data The data that should be parsed. + * @param options Optional options for the parser and DOM builder. + * @deprecated Use `parseDocument` instead. + */ + function parseDOM(data, options) { + return parseDocument(data, options).children; + } + exports.parseDOM = parseDOM; + /** + * Creates a parser instance, with an attached DOM handler. + * + * @param callback A callback that will be called once parsing has been completed. + * @param options Optional options for the parser and DOM builder. + * @param elementCallback An optional callback that will be called every time a tag has been completed inside of the DOM. + */ + function createDomStream(callback, options, elementCallback) { + var handler = new domhandler_1.DomHandler(callback, options, elementCallback); + return new Parser_js_1.Parser(handler, options); + } + exports.createDomStream = createDomStream; + var Tokenizer_js_1 = Tokenizer; + Object.defineProperty(exports, "Tokenizer", { enumerable: true, get: function () { return __importDefault(Tokenizer_js_1).default; } }); + /* + * All of the following exports exist for backwards-compatibility. + * They should probably be removed eventually. + */ + exports.ElementType = __importStar(lib$4); + var domutils_1 = lib$2; + var domutils_2 = lib$2; + Object.defineProperty(exports, "getFeed", { enumerable: true, get: function () { return domutils_2.getFeed; } }); + var parseFeedDefaultOptions = { xmlMode: true }; + /** + * Parse a feed. + * + * @param feed The feed that should be parsed, as a string. + * @param options Optionally, options for parsing. When using this, you should set `xmlMode` to `true`. + */ + function parseFeed(feed, options) { + if (options === void 0) { options = parseFeedDefaultOptions; } + return (0, domutils_1.getFeed)(parseDOM(feed, options)); + } + exports.parseFeed = parseFeed; + exports.DomUtils = __importStar(lib$2); + +} (lib$3)); + +var isMergeableObject = function isMergeableObject(value) { + return isNonNullObject(value) + && !isSpecial(value) +}; + +function isNonNullObject(value) { + return !!value && typeof value === 'object' +} + +function isSpecial(value) { + var stringValue = Object.prototype.toString.call(value); + + return stringValue === '[object RegExp]' + || stringValue === '[object Date]' + || isReactElement(value) +} + +// see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25 +var canUseSymbol = typeof Symbol === 'function' && Symbol.for; +var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for('react.element') : 0xeac7; + +function isReactElement(value) { + return value.$$typeof === REACT_ELEMENT_TYPE +} + +function emptyTarget(val) { + return Array.isArray(val) ? [] : {} +} + +function cloneUnlessOtherwiseSpecified(value, options) { + return (options.clone !== false && options.isMergeableObject(value)) + ? deepmerge(emptyTarget(value), value, options) + : value +} + +function defaultArrayMerge(target, source, options) { + return target.concat(source).map(function(element) { + return cloneUnlessOtherwiseSpecified(element, options) + }) +} + +function getMergeFunction(key, options) { + if (!options.customMerge) { + return deepmerge + } + var customMerge = options.customMerge(key); + return typeof customMerge === 'function' ? customMerge : deepmerge +} + +function getEnumerableOwnPropertySymbols(target) { + return Object.getOwnPropertySymbols + ? Object.getOwnPropertySymbols(target).filter(function(symbol) { + return Object.propertyIsEnumerable.call(target, symbol) + }) + : [] +} + +function getKeys(target) { + return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target)) +} + +function propertyIsOnObject(object, property) { + try { + return property in object + } catch(_) { + return false + } +} + +// Protects from prototype poisoning and unexpected merging up the prototype chain. +function propertyIsUnsafe(target, key) { + return propertyIsOnObject(target, key) // Properties are safe to merge if they don't exist in the target yet, + && !(Object.hasOwnProperty.call(target, key) // unsafe if they exist up the prototype chain, + && Object.propertyIsEnumerable.call(target, key)) // and also unsafe if they're nonenumerable. +} + +function mergeObject(target, source, options) { + var destination = {}; + if (options.isMergeableObject(target)) { + getKeys(target).forEach(function(key) { + destination[key] = cloneUnlessOtherwiseSpecified(target[key], options); + }); + } + getKeys(source).forEach(function(key) { + if (propertyIsUnsafe(target, key)) { + return + } + + if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) { + destination[key] = getMergeFunction(key, options)(target[key], source[key], options); + } else { + destination[key] = cloneUnlessOtherwiseSpecified(source[key], options); + } + }); + return destination +} + +function deepmerge(target, source, options) { + options = options || {}; + options.arrayMerge = options.arrayMerge || defaultArrayMerge; + options.isMergeableObject = options.isMergeableObject || isMergeableObject; + // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge() + // implementations can use it. The caller may not replace it. + options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified; + + var sourceIsArray = Array.isArray(source); + var targetIsArray = Array.isArray(target); + var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray; + + if (!sourceAndTargetTypesMatch) { + return cloneUnlessOtherwiseSpecified(source, options) + } else if (sourceIsArray) { + return options.arrayMerge(target, source, options) + } else { + return mergeObject(target, source, options) + } +} + +deepmerge.all = function deepmergeAll(array, options) { + if (!Array.isArray(array)) { + throw new Error('first argument should be an array') + } + + return array.reduce(function(prev, next) { + return deepmerge(prev, next, options) + }, {}) +}; + +var deepmerge_1 = deepmerge; + +var cjs = deepmerge_1; + +Object.defineProperty(htmlToText$1, '__esModule', { value: true }); + +var pluginHtmlparser2 = hp2Builder$1; +var htmlparser2 = lib$3; +var selderee = selderee$2; +var merge = cjs; +var domSerializer = lib$1; + +function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; } + +var merge__default = /*#__PURE__*/_interopDefaultLegacy(merge); + +/** + * Make a recursive function that will only run to a given depth + * and switches to an alternative function at that depth. \ + * No limitation if `n` is `undefined` (Just wraps `f` in that case). + * + * @param { number | undefined } n Allowed depth of recursion. `undefined` for no limitation. + * @param { Function } f Function that accepts recursive callback as the first argument. + * @param { Function } [g] Function to run instead, when maximum depth was reached. Do nothing by default. + * @returns { Function } + */ +function limitedDepthRecursive (n, f, g = () => undefined) { + if (n === undefined) { + const f1 = function (...args) { return f(f1, ...args); }; + return f1; + } + if (n >= 0) { + return function (...args) { return f(limitedDepthRecursive(n - 1, f, g), ...args); }; + } + return g; +} + +/** + * Return the same string or a substring with + * the given character occurrences removed from each side. + * + * @param { string } str A string to trim. + * @param { string } char A character to be trimmed. + * @returns { string } + */ +function trimCharacter (str, char) { + let start = 0; + let end = str.length; + while (start < end && str[start] === char) { ++start; } + while (end > start && str[end - 1] === char) { --end; } + return (start > 0 || end < str.length) + ? str.substring(start, end) + : str; +} + +/** + * Return the same string or a substring with + * the given character occurrences removed from the end only. + * + * @param { string } str A string to trim. + * @param { string } char A character to be trimmed. + * @returns { string } + */ +function trimCharacterEnd (str, char) { + let end = str.length; + while (end > 0 && str[end - 1] === char) { --end; } + return (end < str.length) + ? str.substring(0, end) + : str; +} + +/** + * Return a new string will all characters replaced with unicode escape sequences. + * This extreme kind of escaping can used to be safely compose regular expressions. + * + * @param { string } str A string to escape. + * @returns { string } A string of unicode escape sequences. + */ +function unicodeEscape (str) { + return str.replace(/[\s\S]/g, c => '\\u' + c.charCodeAt().toString(16).padStart(4, '0')); +} + +/** + * Deduplicate an array by a given key callback. + * Item properties are merged recursively and with the preference for last defined values. + * Of items with the same key, merged item takes the place of the last item, + * others are omitted. + * + * @param { any[] } items An array to deduplicate. + * @param { (x: any) => string } getKey Callback to get a value that distinguishes unique items. + * @returns { any[] } + */ +function mergeDuplicatesPreferLast (items, getKey) { + const map = new Map(); + for (let i = items.length; i-- > 0;) { + const item = items[i]; + const key = getKey(item); + map.set( + key, + (map.has(key)) + ? merge__default["default"](item, map.get(key), { arrayMerge: overwriteMerge$1 }) + : item + ); + } + return [...map.values()].reverse(); +} + +const overwriteMerge$1 = (acc, src, options) => [...src]; + +/** + * Get a nested property from an object. + * + * @param { object } obj The object to query for the value. + * @param { string[] } path The path to the property. + * @returns { any } + */ +function get (obj, path) { + for (const key of path) { + if (!obj) { return undefined; } + obj = obj[key]; + } + return obj; +} + +/** + * Convert a number into alphabetic sequence representation (Sequence without zeroes). + * + * For example: `a, ..., z, aa, ..., zz, aaa, ...`. + * + * @param { number } num Number to convert. Must be >= 1. + * @param { string } [baseChar = 'a'] Character for 1 in the sequence. + * @param { number } [base = 26] Number of characters in the sequence. + * @returns { string } + */ +function numberToLetterSequence (num, baseChar = 'a', base = 26) { + const digits = []; + do { + num -= 1; + digits.push(num % base); + num = (num / base) >> 0; // quick `floor` + } while (num > 0); + const baseCode = baseChar.charCodeAt(0); + return digits + .reverse() + .map(n => String.fromCharCode(baseCode + n)) + .join(''); +} + +const I = ['I', 'X', 'C', 'M']; +const V = ['V', 'L', 'D']; + +/** + * Convert a number to it's Roman representation. No large numbers extension. + * + * @param { number } num Number to convert. `0 < num <= 3999`. + * @returns { string } + */ +function numberToRoman (num) { + return [...(num) + ''] + .map(n => +n) + .reverse() + .map((v, i) => ((v % 5 < 4) + ? (v < 5 ? '' : V[i]) + I[i].repeat(v % 5) + : I[i] + (v < 5 ? V[i] : I[i + 1]))) + .reverse() + .join(''); +} + +/** + * Helps to build text from words. + */ +class InlineTextBuilder { + /** + * Creates an instance of InlineTextBuilder. + * + * If `maxLineLength` is not provided then it is either `options.wordwrap` or unlimited. + * + * @param { Options } options HtmlToText options. + * @param { number } [ maxLineLength ] This builder will try to wrap text to fit this line length. + */ + constructor (options, maxLineLength = undefined) { + /** @type { string[][] } */ + this.lines = []; + /** @type { string[] } */ + this.nextLineWords = []; + this.maxLineLength = maxLineLength || options.wordwrap || Number.MAX_VALUE; + this.nextLineAvailableChars = this.maxLineLength; + this.wrapCharacters = get(options, ['longWordSplit', 'wrapCharacters']) || []; + this.forceWrapOnLimit = get(options, ['longWordSplit', 'forceWrapOnLimit']) || false; + + this.stashedSpace = false; + this.wordBreakOpportunity = false; + } + + /** + * Add a new word. + * + * @param { string } word A word to add. + * @param { boolean } [noWrap] Don't wrap text even if the line is too long. + */ + pushWord (word, noWrap = false) { + if (this.nextLineAvailableChars <= 0 && !noWrap) { + this.startNewLine(); + } + const isLineStart = this.nextLineWords.length === 0; + const cost = word.length + (isLineStart ? 0 : 1); + if ((cost <= this.nextLineAvailableChars) || noWrap) { // Fits into available budget + + this.nextLineWords.push(word); + this.nextLineAvailableChars -= cost; + + } else { // Does not fit - try to split the word + + // The word is moved to a new line - prefer to wrap between words. + const [first, ...rest] = this.splitLongWord(word); + if (!isLineStart) { this.startNewLine(); } + this.nextLineWords.push(first); + this.nextLineAvailableChars -= first.length; + for (const part of rest) { + this.startNewLine(); + this.nextLineWords.push(part); + this.nextLineAvailableChars -= part.length; + } + + } + } + + /** + * Pop a word from the currently built line. + * This doesn't affect completed lines. + * + * @returns { string } + */ + popWord () { + const lastWord = this.nextLineWords.pop(); + if (lastWord !== undefined) { + const isLineStart = this.nextLineWords.length === 0; + const cost = lastWord.length + (isLineStart ? 0 : 1); + this.nextLineAvailableChars += cost; + } + return lastWord; + } + + /** + * Concat a word to the last word already in the builder. + * Adds a new word in case there are no words yet in the last line. + * + * @param { string } word A word to be concatenated. + * @param { boolean } [noWrap] Don't wrap text even if the line is too long. + */ + concatWord (word, noWrap = false) { + if (this.wordBreakOpportunity && word.length > this.nextLineAvailableChars) { + this.pushWord(word, noWrap); + this.wordBreakOpportunity = false; + } else { + const lastWord = this.popWord(); + this.pushWord((lastWord) ? lastWord.concat(word) : word, noWrap); + } + } + + /** + * Add current line (and more empty lines if provided argument > 1) to the list of complete lines and start a new one. + * + * @param { number } n Number of line breaks that will be added to the resulting string. + */ + startNewLine (n = 1) { + this.lines.push(this.nextLineWords); + if (n > 1) { + this.lines.push(...Array.from({ length: n - 1 }, () => [])); + } + this.nextLineWords = []; + this.nextLineAvailableChars = this.maxLineLength; + } + + /** + * No words in this builder. + * + * @returns { boolean } + */ + isEmpty () { + return this.lines.length === 0 + && this.nextLineWords.length === 0; + } + + clear () { + this.lines.length = 0; + this.nextLineWords.length = 0; + this.nextLineAvailableChars = this.maxLineLength; + } + + /** + * Join all lines of words inside the InlineTextBuilder into a complete string. + * + * @returns { string } + */ + toString () { + return [...this.lines, this.nextLineWords] + .map(words => words.join(' ')) + .join('\n'); + } + + /** + * Split a long word up to fit within the word wrap limit. + * Use either a character to split looking back from the word wrap limit, + * or truncate to the word wrap limit. + * + * @param { string } word Input word. + * @returns { string[] } Parts of the word. + */ + splitLongWord (word) { + const parts = []; + let idx = 0; + while (word.length > this.maxLineLength) { + + const firstLine = word.substring(0, this.maxLineLength); + const remainingChars = word.substring(this.maxLineLength); + + const splitIndex = firstLine.lastIndexOf(this.wrapCharacters[idx]); + + if (splitIndex > -1) { // Found a character to split on + + word = firstLine.substring(splitIndex + 1) + remainingChars; + parts.push(firstLine.substring(0, splitIndex + 1)); + + } else { // Not found a character to split on + + idx++; + if (idx < this.wrapCharacters.length) { // There is next character to try + + word = firstLine + remainingChars; + + } else { // No more characters to try + + if (this.forceWrapOnLimit) { + parts.push(firstLine); + word = remainingChars; + if (word.length > this.maxLineLength) { + continue; + } + } else { + word = firstLine + remainingChars; + } + break; + + } + + } + + } + parts.push(word); // Add remaining part to array + return parts; + } +} + +/* eslint-disable max-classes-per-file */ + + +class StackItem { + constructor (next = null) { this.next = next; } + + getRoot () { return (this.next) ? this.next : this; } +} + +class BlockStackItem extends StackItem { + constructor (options, next = null, leadingLineBreaks = 1, maxLineLength = undefined) { + super(next); + this.leadingLineBreaks = leadingLineBreaks; + this.inlineTextBuilder = new InlineTextBuilder(options, maxLineLength); + this.rawText = ''; + this.stashedLineBreaks = 0; + this.isPre = next && next.isPre; + this.isNoWrap = next && next.isNoWrap; + } +} + +class ListStackItem extends BlockStackItem { + constructor ( + options, + next = null, + { + interRowLineBreaks = 1, + leadingLineBreaks = 2, + maxLineLength = undefined, + maxPrefixLength = 0, + prefixAlign = 'left', + } = {} + ) { + super(options, next, leadingLineBreaks, maxLineLength); + this.maxPrefixLength = maxPrefixLength; + this.prefixAlign = prefixAlign; + this.interRowLineBreaks = interRowLineBreaks; + } +} + +class ListItemStackItem extends BlockStackItem { + constructor ( + options, + next = null, + { + leadingLineBreaks = 1, + maxLineLength = undefined, + prefix = '', + } = {} + ) { + super(options, next, leadingLineBreaks, maxLineLength); + this.prefix = prefix; + } +} + +class TableStackItem extends StackItem { + constructor (next = null) { + super(next); + this.rows = []; + this.isPre = next && next.isPre; + this.isNoWrap = next && next.isNoWrap; + } +} + +class TableRowStackItem extends StackItem { + constructor (next = null) { + super(next); + this.cells = []; + this.isPre = next && next.isPre; + this.isNoWrap = next && next.isNoWrap; + } +} + +class TableCellStackItem extends StackItem { + constructor (options, next = null, maxColumnWidth = undefined) { + super(next); + this.inlineTextBuilder = new InlineTextBuilder(options, maxColumnWidth); + this.rawText = ''; + this.stashedLineBreaks = 0; + this.isPre = next && next.isPre; + this.isNoWrap = next && next.isNoWrap; + } +} + +class TransformerStackItem extends StackItem { + constructor (next = null, transform) { + super(next); + this.transform = transform; + } +} + +function charactersToCodes (str) { + return [...str] + .map(c => '\\u' + c.charCodeAt(0).toString(16).padStart(4, '0')) + .join(''); +} + +/** + * Helps to handle HTML whitespaces. + * + * @class WhitespaceProcessor + */ +class WhitespaceProcessor { + + /** + * Creates an instance of WhitespaceProcessor. + * + * @param { Options } options HtmlToText options. + * @memberof WhitespaceProcessor + */ + constructor (options) { + this.whitespaceChars = (options.preserveNewlines) + ? options.whitespaceCharacters.replace(/\n/g, '') + : options.whitespaceCharacters; + const whitespaceCodes = charactersToCodes(this.whitespaceChars); + this.leadingWhitespaceRe = new RegExp(`^[${whitespaceCodes}]`); + this.trailingWhitespaceRe = new RegExp(`[${whitespaceCodes}]$`); + this.allWhitespaceOrEmptyRe = new RegExp(`^[${whitespaceCodes}]*$`); + this.newlineOrNonWhitespaceRe = new RegExp(`(\\n|[^\\n${whitespaceCodes}])`, 'g'); + this.newlineOrNonNewlineStringRe = new RegExp(`(\\n|[^\\n]+)`, 'g'); + + if (options.preserveNewlines) { + + const wordOrNewlineRe = new RegExp(`\\n|[^\\n${whitespaceCodes}]+`, 'gm'); + + /** + * Shrink whitespaces and wrap text, add to the builder. + * + * @param { string } text Input text. + * @param { InlineTextBuilder } inlineTextBuilder A builder to receive processed text. + * @param { (str: string) => string } [ transform ] A transform to be applied to words. + * @param { boolean } [noWrap] Don't wrap text even if the line is too long. + */ + this.shrinkWrapAdd = function (text, inlineTextBuilder, transform = (str => str), noWrap = false) { + if (!text) { return; } + const previouslyStashedSpace = inlineTextBuilder.stashedSpace; + let anyMatch = false; + let m = wordOrNewlineRe.exec(text); + if (m) { + anyMatch = true; + if (m[0] === '\n') { + inlineTextBuilder.startNewLine(); + } else if (previouslyStashedSpace || this.testLeadingWhitespace(text)) { + inlineTextBuilder.pushWord(transform(m[0]), noWrap); + } else { + inlineTextBuilder.concatWord(transform(m[0]), noWrap); + } + while ((m = wordOrNewlineRe.exec(text)) !== null) { + if (m[0] === '\n') { + inlineTextBuilder.startNewLine(); + } else { + inlineTextBuilder.pushWord(transform(m[0]), noWrap); + } + } + } + inlineTextBuilder.stashedSpace = (previouslyStashedSpace && !anyMatch) || (this.testTrailingWhitespace(text)); + // No need to stash a space in case last added item was a new line, + // but that won't affect anything later anyway. + }; + + } else { + + const wordRe = new RegExp(`[^${whitespaceCodes}]+`, 'g'); + + this.shrinkWrapAdd = function (text, inlineTextBuilder, transform = (str => str), noWrap = false) { + if (!text) { return; } + const previouslyStashedSpace = inlineTextBuilder.stashedSpace; + let anyMatch = false; + let m = wordRe.exec(text); + if (m) { + anyMatch = true; + if (previouslyStashedSpace || this.testLeadingWhitespace(text)) { + inlineTextBuilder.pushWord(transform(m[0]), noWrap); + } else { + inlineTextBuilder.concatWord(transform(m[0]), noWrap); + } + while ((m = wordRe.exec(text)) !== null) { + inlineTextBuilder.pushWord(transform(m[0]), noWrap); + } + } + inlineTextBuilder.stashedSpace = (previouslyStashedSpace && !anyMatch) || this.testTrailingWhitespace(text); + }; + + } + } + + /** + * Add text with only minimal processing. + * Everything between newlines considered a single word. + * No whitespace is trimmed. + * Not affected by preserveNewlines option - `\n` always starts a new line. + * + * `noWrap` argument is `true` by default - this won't start a new line + * even if there is not enough space left in the current line. + * + * @param { string } text Input text. + * @param { InlineTextBuilder } inlineTextBuilder A builder to receive processed text. + * @param { boolean } [noWrap] Don't wrap text even if the line is too long. + */ + addLiteral (text, inlineTextBuilder, noWrap = true) { + if (!text) { return; } + const previouslyStashedSpace = inlineTextBuilder.stashedSpace; + let anyMatch = false; + let m = this.newlineOrNonNewlineStringRe.exec(text); + if (m) { + anyMatch = true; + if (m[0] === '\n') { + inlineTextBuilder.startNewLine(); + } else if (previouslyStashedSpace) { + inlineTextBuilder.pushWord(m[0], noWrap); + } else { + inlineTextBuilder.concatWord(m[0], noWrap); + } + while ((m = this.newlineOrNonNewlineStringRe.exec(text)) !== null) { + if (m[0] === '\n') { + inlineTextBuilder.startNewLine(); + } else { + inlineTextBuilder.pushWord(m[0], noWrap); + } + } + } + inlineTextBuilder.stashedSpace = (previouslyStashedSpace && !anyMatch); + } + + /** + * Test whether the given text starts with HTML whitespace character. + * + * @param { string } text The string to test. + * @returns { boolean } + */ + testLeadingWhitespace (text) { + return this.leadingWhitespaceRe.test(text); + } + + /** + * Test whether the given text ends with HTML whitespace character. + * + * @param { string } text The string to test. + * @returns { boolean } + */ + testTrailingWhitespace (text) { + return this.trailingWhitespaceRe.test(text); + } + + /** + * Test whether the given text contains any non-whitespace characters. + * + * @param { string } text The string to test. + * @returns { boolean } + */ + testContainsWords (text) { + return !this.allWhitespaceOrEmptyRe.test(text); + } + + /** + * Return the number of newlines if there are no words. + * + * If any word is found then return zero regardless of the actual number of newlines. + * + * @param { string } text Input string. + * @returns { number } + */ + countNewlinesNoWords (text) { + this.newlineOrNonWhitespaceRe.lastIndex = 0; + let counter = 0; + let match; + while ((match = this.newlineOrNonWhitespaceRe.exec(text)) !== null) { + if (match[0] === '\n') { + counter++; + } else { + return 0; + } + } + return counter; + } + +} + +/** + * Helps to build text from inline and block elements. + * + * @class BlockTextBuilder + */ +class BlockTextBuilder { + + /** + * Creates an instance of BlockTextBuilder. + * + * @param { Options } options HtmlToText options. + * @param { import('selderee').Picker } picker Selectors decision tree picker. + * @param { any} [metadata] Optional metadata for HTML document, for use in formatters. + */ + constructor (options, picker, metadata = undefined) { + this.options = options; + this.picker = picker; + this.metadata = metadata; + this.whitespaceProcessor = new WhitespaceProcessor(options); + /** @type { StackItem } */ + this._stackItem = new BlockStackItem(options); + /** @type { TransformerStackItem } */ + this._wordTransformer = undefined; + } + + /** + * Put a word-by-word transform function onto the transformations stack. + * + * Mainly used for uppercasing. Can be bypassed to add unformatted text such as URLs. + * + * Word transformations applied before wrapping. + * + * @param { (str: string) => string } wordTransform Word transformation function. + */ + pushWordTransform (wordTransform) { + this._wordTransformer = new TransformerStackItem(this._wordTransformer, wordTransform); + } + + /** + * Remove a function from the word transformations stack. + * + * @returns { (str: string) => string } A function that was removed. + */ + popWordTransform () { + if (!this._wordTransformer) { return undefined; } + const transform = this._wordTransformer.transform; + this._wordTransformer = this._wordTransformer.next; + return transform; + } + + /** + * Ignore wordwrap option in followup inline additions and disable automatic wrapping. + */ + startNoWrap () { + this._stackItem.isNoWrap = true; + } + + /** + * Return automatic wrapping to behavior defined by options. + */ + stopNoWrap () { + this._stackItem.isNoWrap = false; + } + + /** @returns { (str: string) => string } */ + _getCombinedWordTransformer () { + const wt = (this._wordTransformer) + ? ((str) => applyTransformer(str, this._wordTransformer)) + : undefined; + const ce = this.options.encodeCharacters; + return (wt) + ? ((ce) ? (str) => ce(wt(str)) : wt) + : ce; + } + + _popStackItem () { + const item = this._stackItem; + this._stackItem = item.next; + return item; + } + + /** + * Add a line break into currently built block. + */ + addLineBreak () { + if (!( + this._stackItem instanceof BlockStackItem + || this._stackItem instanceof ListItemStackItem + || this._stackItem instanceof TableCellStackItem + )) { return; } + if (this._stackItem.isPre) { + this._stackItem.rawText += '\n'; + } else { + this._stackItem.inlineTextBuilder.startNewLine(); + } + } + + /** + * Allow to break line in case directly following text will not fit. + */ + addWordBreakOpportunity () { + if ( + this._stackItem instanceof BlockStackItem + || this._stackItem instanceof ListItemStackItem + || this._stackItem instanceof TableCellStackItem + ) { + this._stackItem.inlineTextBuilder.wordBreakOpportunity = true; + } + } + + /** + * Add a node inline into the currently built block. + * + * @param { string } str + * Text content of a node to add. + * + * @param { object } [param1] + * Object holding the parameters of the operation. + * + * @param { boolean } [param1.noWordTransform] + * Ignore word transformers if there are any. + * Don't encode characters as well. + * (Use this for things like URL addresses). + */ + addInline (str, { noWordTransform = false } = {}) { + if (!( + this._stackItem instanceof BlockStackItem + || this._stackItem instanceof ListItemStackItem + || this._stackItem instanceof TableCellStackItem + )) { return; } + + if (this._stackItem.isPre) { + this._stackItem.rawText += str; + return; + } + + if ( + str.length === 0 || // empty string + ( + this._stackItem.stashedLineBreaks && // stashed linebreaks make whitespace irrelevant + !this.whitespaceProcessor.testContainsWords(str) // no words to add + ) + ) { return; } + + if (this.options.preserveNewlines) { + const newlinesNumber = this.whitespaceProcessor.countNewlinesNoWords(str); + if (newlinesNumber > 0) { + this._stackItem.inlineTextBuilder.startNewLine(newlinesNumber); + // keep stashedLineBreaks unchanged + return; + } + } + + if (this._stackItem.stashedLineBreaks) { + this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks); + } + this.whitespaceProcessor.shrinkWrapAdd( + str, + this._stackItem.inlineTextBuilder, + (noWordTransform) ? undefined : this._getCombinedWordTransformer(), + this._stackItem.isNoWrap + ); + this._stackItem.stashedLineBreaks = 0; // inline text doesn't introduce line breaks + } + + /** + * Add a string inline into the currently built block. + * + * Use this for markup elements that don't have to adhere + * to text layout rules. + * + * @param { string } str Text to add. + */ + addLiteral (str) { + if (!( + this._stackItem instanceof BlockStackItem + || this._stackItem instanceof ListItemStackItem + || this._stackItem instanceof TableCellStackItem + )) { return; } + + if (str.length === 0) { return; } + + if (this._stackItem.isPre) { + this._stackItem.rawText += str; + return; + } + + if (this._stackItem.stashedLineBreaks) { + this._stackItem.inlineTextBuilder.startNewLine(this._stackItem.stashedLineBreaks); + } + this.whitespaceProcessor.addLiteral( + str, + this._stackItem.inlineTextBuilder, + this._stackItem.isNoWrap + ); + this._stackItem.stashedLineBreaks = 0; + } + + /** + * Start building a new block. + * + * @param { object } [param0] + * Object holding the parameters of the block. + * + * @param { number } [param0.leadingLineBreaks] + * This block should have at least this number of line breaks to separate it from any preceding block. + * + * @param { number } [param0.reservedLineLength] + * Reserve this number of characters on each line for block markup. + * + * @param { boolean } [param0.isPre] + * Should HTML whitespace be preserved inside this block. + */ + openBlock ({ leadingLineBreaks = 1, reservedLineLength = 0, isPre = false } = {}) { + const maxLineLength = Math.max(20, this._stackItem.inlineTextBuilder.maxLineLength - reservedLineLength); + this._stackItem = new BlockStackItem( + this.options, + this._stackItem, + leadingLineBreaks, + maxLineLength + ); + if (isPre) { this._stackItem.isPre = true; } + } + + /** + * Finalize currently built block, add it's content to the parent block. + * + * @param { object } [param0] + * Object holding the parameters of the block. + * + * @param { number } [param0.trailingLineBreaks] + * This block should have at least this number of line breaks to separate it from any following block. + * + * @param { (str: string) => string } [param0.blockTransform] + * A function to transform the block text before adding to the parent block. + * This happens after word wrap and should be used in combination with reserved line length + * in order to keep line lengths correct. + * Used for whole block markup. + */ + closeBlock ({ trailingLineBreaks = 1, blockTransform = undefined } = {}) { + const block = this._popStackItem(); + const blockText = (blockTransform) ? blockTransform(getText(block)) : getText(block); + addText(this._stackItem, blockText, block.leadingLineBreaks, Math.max(block.stashedLineBreaks, trailingLineBreaks)); + } + + /** + * Start building a new list. + * + * @param { object } [param0] + * Object holding the parameters of the list. + * + * @param { number } [param0.maxPrefixLength] + * Length of the longest list item prefix. + * If not supplied or too small then list items won't be aligned properly. + * + * @param { 'left' | 'right' } [param0.prefixAlign] + * Specify how prefixes of different lengths have to be aligned + * within a column. + * + * @param { number } [param0.interRowLineBreaks] + * Minimum number of line breaks between list items. + * + * @param { number } [param0.leadingLineBreaks] + * This list should have at least this number of line breaks to separate it from any preceding block. + */ + openList ({ maxPrefixLength = 0, prefixAlign = 'left', interRowLineBreaks = 1, leadingLineBreaks = 2 } = {}) { + this._stackItem = new ListStackItem(this.options, this._stackItem, { + interRowLineBreaks: interRowLineBreaks, + leadingLineBreaks: leadingLineBreaks, + maxLineLength: this._stackItem.inlineTextBuilder.maxLineLength, + maxPrefixLength: maxPrefixLength, + prefixAlign: prefixAlign + }); + } + + /** + * Start building a new list item. + * + * @param {object} param0 + * Object holding the parameters of the list item. + * + * @param { string } [param0.prefix] + * Prefix for this list item (item number, bullet point, etc). + */ + openListItem ({ prefix = '' } = {}) { + if (!(this._stackItem instanceof ListStackItem)) { + throw new Error('Can\'t add a list item to something that is not a list! Check the formatter.'); + } + const list = this._stackItem; + const prefixLength = Math.max(prefix.length, list.maxPrefixLength); + const maxLineLength = Math.max(20, list.inlineTextBuilder.maxLineLength - prefixLength); + this._stackItem = new ListItemStackItem(this.options, list, { + prefix: prefix, + maxLineLength: maxLineLength, + leadingLineBreaks: list.interRowLineBreaks + }); + } + + /** + * Finalize currently built list item, add it's content to the parent list. + */ + closeListItem () { + const listItem = this._popStackItem(); + const list = listItem.next; + + const prefixLength = Math.max(listItem.prefix.length, list.maxPrefixLength); + const spacing = '\n' + ' '.repeat(prefixLength); + const prefix = (list.prefixAlign === 'right') + ? listItem.prefix.padStart(prefixLength) + : listItem.prefix.padEnd(prefixLength); + const text = prefix + getText(listItem).replace(/\n/g, spacing); + + addText( + list, + text, + listItem.leadingLineBreaks, + Math.max(listItem.stashedLineBreaks, list.interRowLineBreaks) + ); + } + + /** + * Finalize currently built list, add it's content to the parent block. + * + * @param { object } param0 + * Object holding the parameters of the list. + * + * @param { number } [param0.trailingLineBreaks] + * This list should have at least this number of line breaks to separate it from any following block. + */ + closeList ({ trailingLineBreaks = 2 } = {}) { + const list = this._popStackItem(); + const text = getText(list); + if (text) { + addText(this._stackItem, text, list.leadingLineBreaks, trailingLineBreaks); + } + } + + /** + * Start building a table. + */ + openTable () { + this._stackItem = new TableStackItem(this._stackItem); + } + + /** + * Start building a table row. + */ + openTableRow () { + if (!(this._stackItem instanceof TableStackItem)) { + throw new Error('Can\'t add a table row to something that is not a table! Check the formatter.'); + } + this._stackItem = new TableRowStackItem(this._stackItem); + } + + /** + * Start building a table cell. + * + * @param { object } [param0] + * Object holding the parameters of the cell. + * + * @param { number } [param0.maxColumnWidth] + * Wrap cell content to this width. Fall back to global wordwrap value if undefined. + */ + openTableCell ({ maxColumnWidth = undefined } = {}) { + if (!(this._stackItem instanceof TableRowStackItem)) { + throw new Error('Can\'t add a table cell to something that is not a table row! Check the formatter.'); + } + this._stackItem = new TableCellStackItem(this.options, this._stackItem, maxColumnWidth); + } + + /** + * Finalize currently built table cell and add it to parent table row's cells. + * + * @param { object } [param0] + * Object holding the parameters of the cell. + * + * @param { number } [param0.colspan] How many columns this cell should occupy. + * @param { number } [param0.rowspan] How many rows this cell should occupy. + */ + closeTableCell ({ colspan = 1, rowspan = 1 } = {}) { + const cell = this._popStackItem(); + const text = trimCharacter(getText(cell), '\n'); + cell.next.cells.push({ colspan: colspan, rowspan: rowspan, text: text }); + } + + /** + * Finalize currently built table row and add it to parent table's rows. + */ + closeTableRow () { + const row = this._popStackItem(); + row.next.rows.push(row.cells); + } + + /** + * Finalize currently built table and add the rendered text to the parent block. + * + * @param { object } param0 + * Object holding the parameters of the table. + * + * @param { TablePrinter } param0.tableToString + * A function to convert a table of stringified cells into a complete table. + * + * @param { number } [param0.leadingLineBreaks] + * This table should have at least this number of line breaks to separate if from any preceding block. + * + * @param { number } [param0.trailingLineBreaks] + * This table should have at least this number of line breaks to separate it from any following block. + */ + closeTable ({ tableToString, leadingLineBreaks = 2, trailingLineBreaks = 2 }) { + const table = this._popStackItem(); + const output = tableToString(table.rows); + if (output) { + addText(this._stackItem, output, leadingLineBreaks, trailingLineBreaks); + } + } + + /** + * Return the rendered text content of this builder. + * + * @returns { string } + */ + toString () { + return getText(this._stackItem.getRoot()); + // There should only be the root item if everything is closed properly. + } + +} + +function getText (stackItem) { + if (!( + stackItem instanceof BlockStackItem + || stackItem instanceof ListItemStackItem + || stackItem instanceof TableCellStackItem + )) { + throw new Error('Only blocks, list items and table cells can be requested for text contents.'); + } + return (stackItem.inlineTextBuilder.isEmpty()) + ? stackItem.rawText + : stackItem.rawText + stackItem.inlineTextBuilder.toString(); +} + +function addText (stackItem, text, leadingLineBreaks, trailingLineBreaks) { + if (!( + stackItem instanceof BlockStackItem + || stackItem instanceof ListItemStackItem + || stackItem instanceof TableCellStackItem + )) { + throw new Error('Only blocks, list items and table cells can contain text.'); + } + const parentText = getText(stackItem); + const lineBreaks = Math.max(stackItem.stashedLineBreaks, leadingLineBreaks); + stackItem.inlineTextBuilder.clear(); + if (parentText) { + stackItem.rawText = parentText + '\n'.repeat(lineBreaks) + text; + } else { + stackItem.rawText = text; + stackItem.leadingLineBreaks = lineBreaks; + } + stackItem.stashedLineBreaks = trailingLineBreaks; +} + +/** + * @param { string } str A string to transform. + * @param { TransformerStackItem } transformer A transformer item (with possible continuation). + * @returns { string } + */ +function applyTransformer (str, transformer) { + return ((transformer) ? applyTransformer(transformer.transform(str), transformer.next) : str); +} + +/** + * Compile selectors into a decision tree, + * return a function intended for batch processing. + * + * @param { Options } [options = {}] HtmlToText options (defaults, formatters, user options merged, deduplicated). + * @returns { (html: string, metadata?: any) => string } Pre-configured converter function. + * @static + */ +function compile$1 (options = {}) { + const selectorsWithoutFormat = options.selectors.filter(s => !s.format); + if (selectorsWithoutFormat.length) { + throw new Error( + 'Following selectors have no specified format: ' + + selectorsWithoutFormat.map(s => `\`${s.selector}\``).join(', ') + ); + } + const picker = new selderee.DecisionTree( + options.selectors.map(s => [s.selector, s]) + ).build(pluginHtmlparser2.hp2Builder); + + if (typeof options.encodeCharacters !== 'function') { + options.encodeCharacters = makeReplacerFromDict(options.encodeCharacters); + } + + const baseSelectorsPicker = new selderee.DecisionTree( + options.baseElements.selectors.map((s, i) => [s, i + 1]) + ).build(pluginHtmlparser2.hp2Builder); + function findBaseElements (dom) { + return findBases(dom, options, baseSelectorsPicker); + } + + const limitedWalk = limitedDepthRecursive( + options.limits.maxDepth, + recursiveWalk, + function (dom, builder) { + builder.addInline(options.limits.ellipsis || ''); + } + ); + + return function (html, metadata = undefined) { + return process$1(html, metadata, options, picker, findBaseElements, limitedWalk); + }; +} + + +/** + * Convert given HTML according to preprocessed options. + * + * @param { string } html HTML content to convert. + * @param { any } metadata Optional metadata for HTML document, for use in formatters. + * @param { Options } options HtmlToText options (preprocessed). + * @param { import('selderee').Picker } picker + * Tag definition picker for DOM nodes processing. + * @param { (dom: DomNode[]) => DomNode[] } findBaseElements + * Function to extract elements from HTML DOM + * that will only be present in the output text. + * @param { RecursiveCallback } walk Recursive callback. + * @returns { string } + */ +function process$1 (html, metadata, options, picker, findBaseElements, walk) { + const maxInputLength = options.limits.maxInputLength; + if (maxInputLength && html && html.length > maxInputLength) { + console.warn( + `Input length ${html.length} is above allowed limit of ${maxInputLength}. Truncating without ellipsis.` + ); + html = html.substring(0, maxInputLength); + } + + const document = htmlparser2.parseDocument(html, { decodeEntities: options.decodeEntities }); + const bases = findBaseElements(document.children); + const builder = new BlockTextBuilder(options, picker, metadata); + walk(bases, builder); + return builder.toString(); +} + + +function findBases (dom, options, baseSelectorsPicker) { + const results = []; + + function recursiveWalk (walk, /** @type { DomNode[] } */ dom) { + dom = dom.slice(0, options.limits.maxChildNodes); + for (const elem of dom) { + if (elem.type !== 'tag') { + continue; + } + const pickedSelectorIndex = baseSelectorsPicker.pick1(elem); + if (pickedSelectorIndex > 0) { + results.push({ selectorIndex: pickedSelectorIndex, element: elem }); + } else if (elem.children) { + walk(elem.children); + } + if (results.length >= options.limits.maxBaseElements) { + return; + } + } + } + + const limitedWalk = limitedDepthRecursive( + options.limits.maxDepth, + recursiveWalk + ); + limitedWalk(dom); + + if (options.baseElements.orderBy !== 'occurrence') { // 'selectors' + results.sort((a, b) => a.selectorIndex - b.selectorIndex); + } + return (options.baseElements.returnDomByDefault && results.length === 0) + ? dom + : results.map(x => x.element); +} + +/** + * Function to walk through DOM nodes and accumulate their string representations. + * + * @param { RecursiveCallback } walk Recursive callback. + * @param { DomNode[] } [dom] Nodes array to process. + * @param { BlockTextBuilder } builder Passed around to accumulate output text. + * @private + */ +function recursiveWalk (walk, dom, builder) { + if (!dom) { return; } + + const options = builder.options; + + const tooManyChildNodes = dom.length > options.limits.maxChildNodes; + if (tooManyChildNodes) { + dom = dom.slice(0, options.limits.maxChildNodes); + dom.push({ + data: options.limits.ellipsis, + type: 'text' + }); + } + + for (const elem of dom) { + switch (elem.type) { + case 'text': { + builder.addInline(elem.data); + break; + } + case 'tag': { + const tagDefinition = builder.picker.pick1(elem); + const format = options.formatters[tagDefinition.format]; + format(elem, walk, builder, tagDefinition.options || {}); + break; + } + } + } + + return; +} + +/** + * @param { Object } dict + * A dictionary where keys are characters to replace + * and values are replacement strings. + * + * First code point from dict keys is used. + * Compound emojis with ZWJ are not supported (not until Node 16). + * + * @returns { ((str: string) => string) | undefined } + */ +function makeReplacerFromDict (dict) { + if (!dict || Object.keys(dict).length === 0) { + return undefined; + } + /** @type { [string, string][] } */ + const entries = Object.entries(dict).filter(([, v]) => v !== false); + const regex = new RegExp( + entries + .map(([c]) => `(${unicodeEscape([...c][0])})`) + .join('|'), + 'g' + ); + const values = entries.map(([, v]) => v); + const replacer = (m, ...cgs) => values[cgs.findIndex(cg => cg)]; + return (str) => str.replace(regex, replacer); +} + +/** + * Dummy formatter that discards the input and does nothing. + * + * @type { FormatCallback } + */ +function formatSkip (elem, walk, builder, formatOptions) { + /* do nothing */ +} + +/** + * Insert the given string literal inline instead of a tag. + * + * @type { FormatCallback } + */ +function formatInlineString (elem, walk, builder, formatOptions) { + builder.addLiteral(formatOptions.string || ''); +} + +/** + * Insert a block with the given string literal instead of a tag. + * + * @type { FormatCallback } + */ +function formatBlockString (elem, walk, builder, formatOptions) { + builder.openBlock({ leadingLineBreaks: formatOptions.leadingLineBreaks || 2 }); + builder.addLiteral(formatOptions.string || ''); + builder.closeBlock({ trailingLineBreaks: formatOptions.trailingLineBreaks || 2 }); +} + +/** + * Process an inline-level element. + * + * @type { FormatCallback } + */ +function formatInline (elem, walk, builder, formatOptions) { + walk(elem.children, builder); +} + +/** + * Process a block-level container. + * + * @type { FormatCallback } + */ +function formatBlock$1 (elem, walk, builder, formatOptions) { + builder.openBlock({ leadingLineBreaks: formatOptions.leadingLineBreaks || 2 }); + walk(elem.children, builder); + builder.closeBlock({ trailingLineBreaks: formatOptions.trailingLineBreaks || 2 }); +} + +function renderOpenTag (elem) { + const attrs = (elem.attribs && elem.attribs.length) + ? ' ' + Object.entries(elem.attribs) + .map(([k, v]) => ((v === '') ? k : `${k}=${v.replace(/"/g, '"')}`)) + .join(' ') + : ''; + return `<${elem.name}${attrs}>`; +} + +function renderCloseTag (elem) { + return ``; +} + +/** + * Render an element as inline HTML tag, walk through it's children. + * + * @type { FormatCallback } + */ +function formatInlineTag (elem, walk, builder, formatOptions) { + builder.startNoWrap(); + builder.addLiteral(renderOpenTag(elem)); + builder.stopNoWrap(); + walk(elem.children, builder); + builder.startNoWrap(); + builder.addLiteral(renderCloseTag(elem)); + builder.stopNoWrap(); +} + +/** + * Render an element as HTML block bag, walk through it's children. + * + * @type { FormatCallback } + */ +function formatBlockTag (elem, walk, builder, formatOptions) { + builder.openBlock({ leadingLineBreaks: formatOptions.leadingLineBreaks || 2 }); + builder.startNoWrap(); + builder.addLiteral(renderOpenTag(elem)); + builder.stopNoWrap(); + walk(elem.children, builder); + builder.startNoWrap(); + builder.addLiteral(renderCloseTag(elem)); + builder.stopNoWrap(); + builder.closeBlock({ trailingLineBreaks: formatOptions.trailingLineBreaks || 2 }); +} + +/** + * Render an element with all it's children as inline HTML. + * + * @type { FormatCallback } + */ +function formatInlineHtml (elem, walk, builder, formatOptions) { + builder.startNoWrap(); + builder.addLiteral( + domSerializer.render(elem, { decodeEntities: builder.options.decodeEntities }) + ); + builder.stopNoWrap(); +} + +/** + * Render an element with all it's children as HTML block. + * + * @type { FormatCallback } + */ +function formatBlockHtml (elem, walk, builder, formatOptions) { + builder.openBlock({ leadingLineBreaks: formatOptions.leadingLineBreaks || 2 }); + builder.startNoWrap(); + builder.addLiteral( + domSerializer.render(elem, { decodeEntities: builder.options.decodeEntities }) + ); + builder.stopNoWrap(); + builder.closeBlock({ trailingLineBreaks: formatOptions.trailingLineBreaks || 2 }); +} + +/** + * Render inline element wrapped with given strings. + * + * @type { FormatCallback } + */ +function formatInlineSurround (elem, walk, builder, formatOptions) { + builder.addLiteral(formatOptions.prefix || ''); + walk(elem.children, builder); + builder.addLiteral(formatOptions.suffix || ''); +} + +var genericFormatters = /*#__PURE__*/Object.freeze({ + __proto__: null, + block: formatBlock$1, + blockHtml: formatBlockHtml, + blockString: formatBlockString, + blockTag: formatBlockTag, + inline: formatInline, + inlineHtml: formatInlineHtml, + inlineString: formatInlineString, + inlineSurround: formatInlineSurround, + inlineTag: formatInlineTag, + skip: formatSkip +}); + +function getRow (matrix, j) { + if (!matrix[j]) { matrix[j] = []; } + return matrix[j]; +} + +function findFirstVacantIndex (row, x = 0) { + while (row[x]) { x++; } + return x; +} + +function transposeInPlace (matrix, maxSize) { + for (let i = 0; i < maxSize; i++) { + const rowI = getRow(matrix, i); + for (let j = 0; j < i; j++) { + const rowJ = getRow(matrix, j); + if (rowI[j] || rowJ[i]) { + const temp = rowI[j]; + rowI[j] = rowJ[i]; + rowJ[i] = temp; + } + } + } +} + +function putCellIntoLayout (cell, layout, baseRow, baseCol) { + for (let r = 0; r < cell.rowspan; r++) { + const layoutRow = getRow(layout, baseRow + r); + for (let c = 0; c < cell.colspan; c++) { + layoutRow[baseCol + c] = cell; + } + } +} + +function getOrInitOffset (offsets, index) { + if (offsets[index] === undefined) { + offsets[index] = (index === 0) ? 0 : 1 + getOrInitOffset(offsets, index - 1); + } + return offsets[index]; +} + +function updateOffset (offsets, base, span, value) { + offsets[base + span] = Math.max( + getOrInitOffset(offsets, base + span), + getOrInitOffset(offsets, base) + value + ); +} + +/** + * Render a table into a string. + * Cells can contain multiline text and span across multiple rows and columns. + * + * Modifies cells to add lines array. + * + * @param { TablePrinterCell[][] } tableRows Table to render. + * @param { number } rowSpacing Number of spaces between columns. + * @param { number } colSpacing Number of empty lines between rows. + * @returns { string } + */ +function tableToString (tableRows, rowSpacing, colSpacing) { + const layout = []; + let colNumber = 0; + const rowNumber = tableRows.length; + const rowOffsets = [0]; + // Fill the layout table and row offsets row-by-row. + for (let j = 0; j < rowNumber; j++) { + const layoutRow = getRow(layout, j); + const cells = tableRows[j]; + let x = 0; + for (let i = 0; i < cells.length; i++) { + const cell = cells[i]; + x = findFirstVacantIndex(layoutRow, x); + putCellIntoLayout(cell, layout, j, x); + x += cell.colspan; + cell.lines = cell.text.split('\n'); + const cellHeight = cell.lines.length; + updateOffset(rowOffsets, j, cell.rowspan, cellHeight + rowSpacing); + } + colNumber = (layoutRow.length > colNumber) ? layoutRow.length : colNumber; + } + + transposeInPlace(layout, (rowNumber > colNumber) ? rowNumber : colNumber); + + const outputLines = []; + const colOffsets = [0]; + // Fill column offsets and output lines column-by-column. + for (let x = 0; x < colNumber; x++) { + let y = 0; + let cell; + const rowsInThisColumn = Math.min(rowNumber, layout[x].length); + while (y < rowsInThisColumn) { + cell = layout[x][y]; + if (cell) { + if (!cell.rendered) { + let cellWidth = 0; + for (let j = 0; j < cell.lines.length; j++) { + const line = cell.lines[j]; + const lineOffset = rowOffsets[y] + j; + outputLines[lineOffset] = (outputLines[lineOffset] || '').padEnd(colOffsets[x]) + line; + cellWidth = (line.length > cellWidth) ? line.length : cellWidth; + } + updateOffset(colOffsets, x, cell.colspan, cellWidth + colSpacing); + cell.rendered = true; + } + y += cell.rowspan; + } else { + const lineOffset = rowOffsets[y]; + outputLines[lineOffset] = (outputLines[lineOffset] || ''); + y++; + } + } + } + + return outputLines.join('\n'); +} + +/** + * Process a line-break. + * + * @type { FormatCallback } + */ +function formatLineBreak (elem, walk, builder, formatOptions) { + builder.addLineBreak(); +} + +/** + * Process a `wbr` tag (word break opportunity). + * + * @type { FormatCallback } + */ +function formatWbr (elem, walk, builder, formatOptions) { + builder.addWordBreakOpportunity(); +} + +/** + * Process a horizontal line. + * + * @type { FormatCallback } + */ +function formatHorizontalLine (elem, walk, builder, formatOptions) { + builder.openBlock({ leadingLineBreaks: formatOptions.leadingLineBreaks || 2 }); + builder.addInline('-'.repeat(formatOptions.length || builder.options.wordwrap || 40)); + builder.closeBlock({ trailingLineBreaks: formatOptions.trailingLineBreaks || 2 }); +} + +/** + * Process a paragraph. + * + * @type { FormatCallback } + */ +function formatParagraph (elem, walk, builder, formatOptions) { + builder.openBlock({ leadingLineBreaks: formatOptions.leadingLineBreaks || 2 }); + walk(elem.children, builder); + builder.closeBlock({ trailingLineBreaks: formatOptions.trailingLineBreaks || 2 }); +} + +/** + * Process a preformatted content. + * + * @type { FormatCallback } + */ +function formatPre (elem, walk, builder, formatOptions) { + builder.openBlock({ + isPre: true, + leadingLineBreaks: formatOptions.leadingLineBreaks || 2 + }); + walk(elem.children, builder); + builder.closeBlock({ trailingLineBreaks: formatOptions.trailingLineBreaks || 2 }); +} + +/** + * Process a heading. + * + * @type { FormatCallback } + */ +function formatHeading (elem, walk, builder, formatOptions) { + builder.openBlock({ leadingLineBreaks: formatOptions.leadingLineBreaks || 2 }); + if (formatOptions.uppercase !== false) { + builder.pushWordTransform(str => str.toUpperCase()); + walk(elem.children, builder); + builder.popWordTransform(); + } else { + walk(elem.children, builder); + } + builder.closeBlock({ trailingLineBreaks: formatOptions.trailingLineBreaks || 2 }); +} + +/** + * Process a blockquote. + * + * @type { FormatCallback } + */ +function formatBlockquote (elem, walk, builder, formatOptions) { + builder.openBlock({ + leadingLineBreaks: formatOptions.leadingLineBreaks || 2, + reservedLineLength: 2 + }); + walk(elem.children, builder); + builder.closeBlock({ + trailingLineBreaks: formatOptions.trailingLineBreaks || 2, + blockTransform: str => ((formatOptions.trimEmptyLines !== false) ? trimCharacter(str, '\n') : str) + .split('\n') + .map(line => '> ' + line) + .join('\n') + }); +} + +function withBrackets (str, brackets) { + if (!brackets) { return str; } + + const lbr = (typeof brackets[0] === 'string') + ? brackets[0] + : '['; + const rbr = (typeof brackets[1] === 'string') + ? brackets[1] + : ']'; + return lbr + str + rbr; +} + +function pathRewrite (path, rewriter, baseUrl, metadata, elem) { + const modifiedPath = (typeof rewriter === 'function') + ? rewriter(path, metadata, elem) + : path; + return (modifiedPath[0] === '/' && baseUrl) + ? trimCharacterEnd(baseUrl, '/') + modifiedPath + : modifiedPath; +} + +/** + * Process an image. + * + * @type { FormatCallback } + */ +function formatImage (elem, walk, builder, formatOptions) { + const attribs = elem.attribs || {}; + const alt = (attribs.alt) + ? attribs.alt + : ''; + const src = (!attribs.src) + ? '' + : pathRewrite(attribs.src, formatOptions.pathRewrite, formatOptions.baseUrl, builder.metadata, elem); + const text = (!src) + ? alt + : (!alt) + ? withBrackets(src, formatOptions.linkBrackets) + : alt + ' ' + withBrackets(src, formatOptions.linkBrackets); + + builder.addInline(text, { noWordTransform: true }); +} + +/** + * Process an anchor. + * + * @type { FormatCallback } + */ +function formatAnchor (elem, walk, builder, formatOptions) { + function getHref () { + if (formatOptions.ignoreHref) { return ''; } + if (!elem.attribs || !elem.attribs.href) { return ''; } + let href = elem.attribs.href.replace(/^mailto:/, ''); + if (formatOptions.noAnchorUrl && href[0] === '#') { return ''; } + href = pathRewrite(href, formatOptions.pathRewrite, formatOptions.baseUrl, builder.metadata, elem); + return href; + } + const href = getHref(); + if (!href) { + walk(elem.children, builder); + } else { + let text = ''; + builder.pushWordTransform( + str => { + if (str) { text += str; } + return str; + } + ); + walk(elem.children, builder); + builder.popWordTransform(); + + const hideSameLink = formatOptions.hideLinkHrefIfSameAsText && href === text; + if (!hideSameLink) { + builder.addInline( + (!text) + ? href + : ' ' + withBrackets(href, formatOptions.linkBrackets), + { noWordTransform: true } + ); + } + } +} + +/** + * @param { DomNode } elem List items with their prefixes. + * @param { RecursiveCallback } walk Recursive callback to process child nodes. + * @param { BlockTextBuilder } builder Passed around to accumulate output text. + * @param { FormatOptions } formatOptions Options specific to a formatter. + * @param { () => string } nextPrefixCallback Function that returns increasing index each time it is called. + */ +function formatList (elem, walk, builder, formatOptions, nextPrefixCallback) { + const isNestedList = get(elem, ['parent', 'name']) === 'li'; + + // With Roman numbers, index length is not as straightforward as with Arabic numbers or letters, + // so the dumb length comparison is the most robust way to get the correct value. + let maxPrefixLength = 0; + const listItems = (elem.children || []) + // it might be more accurate to check only for html spaces here, but no significant benefit + .filter(child => child.type !== 'text' || !/^\s*$/.test(child.data)) + .map(function (child) { + if (child.name !== 'li') { + return { node: child, prefix: '' }; + } + const prefix = (isNestedList) + ? nextPrefixCallback().trimStart() + : nextPrefixCallback(); + if (prefix.length > maxPrefixLength) { maxPrefixLength = prefix.length; } + return { node: child, prefix: prefix }; + }); + if (!listItems.length) { return; } + + builder.openList({ + interRowLineBreaks: 1, + leadingLineBreaks: isNestedList ? 1 : (formatOptions.leadingLineBreaks || 2), + maxPrefixLength: maxPrefixLength, + prefixAlign: 'left' + }); + + for (const { node, prefix } of listItems) { + builder.openListItem({ prefix: prefix }); + walk([node], builder); + builder.closeListItem(); + } + + builder.closeList({ trailingLineBreaks: isNestedList ? 1 : (formatOptions.trailingLineBreaks || 2) }); +} + +/** + * Process an unordered list. + * + * @type { FormatCallback } + */ +function formatUnorderedList (elem, walk, builder, formatOptions) { + const prefix = formatOptions.itemPrefix || ' * '; + return formatList(elem, walk, builder, formatOptions, () => prefix); +} + +/** + * Process an ordered list. + * + * @type { FormatCallback } + */ +function formatOrderedList (elem, walk, builder, formatOptions) { + let nextIndex = Number(elem.attribs.start || '1'); + const indexFunction = getOrderedListIndexFunction(elem.attribs.type); + const nextPrefixCallback = () => ' ' + indexFunction(nextIndex++) + '. '; + return formatList(elem, walk, builder, formatOptions, nextPrefixCallback); +} + +/** + * Return a function that can be used to generate index markers of a specified format. + * + * @param { string } [olType='1'] Marker type. + * @returns { (i: number) => string } + */ +function getOrderedListIndexFunction (olType = '1') { + switch (olType) { + case 'a': return (i) => numberToLetterSequence(i, 'a'); + case 'A': return (i) => numberToLetterSequence(i, 'A'); + case 'i': return (i) => numberToRoman(i).toLowerCase(); + case 'I': return (i) => numberToRoman(i); + case '1': + default: return (i) => (i).toString(); + } +} + +/** + * Given a list of class and ID selectors (prefixed with '.' and '#'), + * return them as separate lists of names without prefixes. + * + * @param { string[] } selectors Class and ID selectors (`[".class", "#id"]` etc). + * @returns { { classes: string[], ids: string[] } } + */ +function splitClassesAndIds (selectors) { + const classes = []; + const ids = []; + for (const selector of selectors) { + if (selector.startsWith('.')) { + classes.push(selector.substring(1)); + } else if (selector.startsWith('#')) { + ids.push(selector.substring(1)); + } + } + return { classes: classes, ids: ids }; +} + +function isDataTable (attr, tables) { + if (tables === true) { return true; } + if (!attr) { return false; } + + const { classes, ids } = splitClassesAndIds(tables); + const attrClasses = (attr['class'] || '').split(' '); + const attrIds = (attr['id'] || '').split(' '); + + return attrClasses.some(x => classes.includes(x)) || attrIds.some(x => ids.includes(x)); +} + +/** + * Process a table (either as a container or as a data table, depending on options). + * + * @type { FormatCallback } + */ +function formatTable (elem, walk, builder, formatOptions) { + return isDataTable(elem.attribs, builder.options.tables) + ? formatDataTable(elem, walk, builder, formatOptions) + : formatBlock(elem, walk, builder, formatOptions); +} + +function formatBlock (elem, walk, builder, formatOptions) { + builder.openBlock({ leadingLineBreaks: formatOptions.leadingLineBreaks }); + walk(elem.children, builder); + builder.closeBlock({ trailingLineBreaks: formatOptions.trailingLineBreaks }); +} + +/** + * Process a data table. + * + * @type { FormatCallback } + */ +function formatDataTable (elem, walk, builder, formatOptions) { + builder.openTable(); + elem.children.forEach(walkTable); + builder.closeTable({ + tableToString: (rows) => tableToString(rows, formatOptions.rowSpacing ?? 0, formatOptions.colSpacing ?? 3), + leadingLineBreaks: formatOptions.leadingLineBreaks, + trailingLineBreaks: formatOptions.trailingLineBreaks + }); + + function formatCell (cellNode) { + const colspan = +get(cellNode, ['attribs', 'colspan']) || 1; + const rowspan = +get(cellNode, ['attribs', 'rowspan']) || 1; + builder.openTableCell({ maxColumnWidth: formatOptions.maxColumnWidth }); + walk(cellNode.children, builder); + builder.closeTableCell({ colspan: colspan, rowspan: rowspan }); + } + + function walkTable (elem) { + if (elem.type !== 'tag') { return; } + + const formatHeaderCell = (formatOptions.uppercaseHeaderCells !== false) + ? (cellNode) => { + builder.pushWordTransform(str => str.toUpperCase()); + formatCell(cellNode); + builder.popWordTransform(); + } + : formatCell; + + switch (elem.name) { + case 'thead': + case 'tbody': + case 'tfoot': + case 'center': + elem.children.forEach(walkTable); + return; + + case 'tr': { + builder.openTableRow(); + for (const childOfTr of elem.children) { + if (childOfTr.type !== 'tag') { continue; } + switch (childOfTr.name) { + case 'th': { + formatHeaderCell(childOfTr); + break; + } + case 'td': { + formatCell(childOfTr); + break; + } + // do nothing + } + } + builder.closeTableRow(); + break; + } + // do nothing + } + } +} + +var textFormatters = /*#__PURE__*/Object.freeze({ + __proto__: null, + anchor: formatAnchor, + blockquote: formatBlockquote, + dataTable: formatDataTable, + heading: formatHeading, + horizontalLine: formatHorizontalLine, + image: formatImage, + lineBreak: formatLineBreak, + orderedList: formatOrderedList, + paragraph: formatParagraph, + pre: formatPre, + table: formatTable, + unorderedList: formatUnorderedList, + wbr: formatWbr +}); + +/** + * Default options. + * + * @constant + * @type { Options } + * @default + * @private + */ +const DEFAULT_OPTIONS = { + baseElements: { + selectors: [ 'body' ], + orderBy: 'selectors', // 'selectors' | 'occurrence' + returnDomByDefault: true + }, + decodeEntities: true, + encodeCharacters: {}, + formatters: {}, + limits: { + ellipsis: '...', + maxBaseElements: undefined, + maxChildNodes: undefined, + maxDepth: undefined, + maxInputLength: (1 << 24) // 16_777_216 + }, + longWordSplit: { + forceWrapOnLimit: false, + wrapCharacters: [] + }, + preserveNewlines: false, + selectors: [ + { selector: '*', format: 'inline' }, + { + selector: 'a', + format: 'anchor', + options: { + baseUrl: null, + hideLinkHrefIfSameAsText: false, + ignoreHref: false, + linkBrackets: ['[', ']'], + noAnchorUrl: true + } + }, + { selector: 'article', format: 'block', options: { leadingLineBreaks: 1, trailingLineBreaks: 1 } }, + { selector: 'aside', format: 'block', options: { leadingLineBreaks: 1, trailingLineBreaks: 1 } }, + { + selector: 'blockquote', + format: 'blockquote', + options: { leadingLineBreaks: 2, trailingLineBreaks: 2, trimEmptyLines: true } + }, + { selector: 'br', format: 'lineBreak' }, + { selector: 'div', format: 'block', options: { leadingLineBreaks: 1, trailingLineBreaks: 1 } }, + { selector: 'footer', format: 'block', options: { leadingLineBreaks: 1, trailingLineBreaks: 1 } }, + { selector: 'form', format: 'block', options: { leadingLineBreaks: 1, trailingLineBreaks: 1 } }, + { selector: 'h1', format: 'heading', options: { leadingLineBreaks: 3, trailingLineBreaks: 2, uppercase: true } }, + { selector: 'h2', format: 'heading', options: { leadingLineBreaks: 3, trailingLineBreaks: 2, uppercase: true } }, + { selector: 'h3', format: 'heading', options: { leadingLineBreaks: 3, trailingLineBreaks: 2, uppercase: true } }, + { selector: 'h4', format: 'heading', options: { leadingLineBreaks: 2, trailingLineBreaks: 2, uppercase: true } }, + { selector: 'h5', format: 'heading', options: { leadingLineBreaks: 2, trailingLineBreaks: 2, uppercase: true } }, + { selector: 'h6', format: 'heading', options: { leadingLineBreaks: 2, trailingLineBreaks: 2, uppercase: true } }, + { selector: 'header', format: 'block', options: { leadingLineBreaks: 1, trailingLineBreaks: 1 } }, + { + selector: 'hr', + format: 'horizontalLine', + options: { leadingLineBreaks: 2, length: undefined, trailingLineBreaks: 2 } + }, + { + selector: 'img', + format: 'image', + options: { baseUrl: null, linkBrackets: ['[', ']'] } + }, + { selector: 'main', format: 'block', options: { leadingLineBreaks: 1, trailingLineBreaks: 1 } }, + { selector: 'nav', format: 'block', options: { leadingLineBreaks: 1, trailingLineBreaks: 1 } }, + { + selector: 'ol', + format: 'orderedList', + options: { leadingLineBreaks: 2, trailingLineBreaks: 2 } + }, + { selector: 'p', format: 'paragraph', options: { leadingLineBreaks: 2, trailingLineBreaks: 2 } }, + { selector: 'pre', format: 'pre', options: { leadingLineBreaks: 2, trailingLineBreaks: 2 } }, + { selector: 'section', format: 'block', options: { leadingLineBreaks: 1, trailingLineBreaks: 1 } }, + { + selector: 'table', + format: 'table', + options: { + colSpacing: 3, + leadingLineBreaks: 2, + maxColumnWidth: 60, + rowSpacing: 0, + trailingLineBreaks: 2, + uppercaseHeaderCells: true + } + }, + { + selector: 'ul', + format: 'unorderedList', + options: { itemPrefix: ' * ', leadingLineBreaks: 2, trailingLineBreaks: 2 } + }, + { selector: 'wbr', format: 'wbr' }, + ], + tables: [], // deprecated + whitespaceCharacters: ' \t\r\n\f\u200b', + wordwrap: 80 +}; + +const concatMerge = (acc, src, options) => [...acc, ...src]; +const overwriteMerge = (acc, src, options) => [...src]; +const selectorsMerge = (acc, src, options) => ( + (acc.some(s => typeof s === 'object')) + ? concatMerge(acc, src) // selectors + : overwriteMerge(acc, src) // baseElements.selectors +); + +/** + * Preprocess options, compile selectors into a decision tree, + * return a function intended for batch processing. + * + * @param { Options } [options = {}] HtmlToText options. + * @returns { (html: string, metadata?: any) => string } Pre-configured converter function. + * @static + */ +function compile$2 (options = {}) { + options = merge__default["default"]( + DEFAULT_OPTIONS, + options, + { + arrayMerge: overwriteMerge, + customMerge: (key) => ((key === 'selectors') ? selectorsMerge : undefined) + } + ); + options.formatters = Object.assign({}, genericFormatters, textFormatters, options.formatters); + options.selectors = mergeDuplicatesPreferLast(options.selectors, (s => s.selector)); + + handleDeprecatedOptions(options); + + return compile$1(options); +} + +/** + * Convert given HTML content to plain text string. + * + * @param { string } html HTML content to convert. + * @param { Options } [options = {}] HtmlToText options. + * @param { any } [metadata] Optional metadata for HTML document, for use in formatters. + * @returns { string } Plain text string. + * @static + * + * @example + * const { convert } = require('html-to-text'); + * const text = convert('

Hello World

', { + * wordwrap: 130 + * }); + * console.log(text); // HELLO WORLD + */ +function convert (html, options = {}, metadata = undefined) { + return compile$2(options)(html, metadata); +} + +/** + * Map previously existing and now deprecated options to the new options layout. + * This is a subject for cleanup in major releases. + * + * @param { Options } options HtmlToText options. + */ +function handleDeprecatedOptions (options) { + if (options.tags) { + const tagDefinitions = Object.entries(options.tags).map( + ([selector, definition]) => ({ ...definition, selector: selector || '*' }) + ); + options.selectors.push(...tagDefinitions); + options.selectors = mergeDuplicatesPreferLast(options.selectors, (s => s.selector)); + } + + function set (obj, path, value) { + const valueKey = path.pop(); + for (const key of path) { + let nested = obj[key]; + if (!nested) { + nested = {}; + obj[key] = nested; + } + obj = nested; + } + obj[valueKey] = value; + } + + if (options['baseElement']) { + const baseElement = options['baseElement']; + set( + options, + ['baseElements', 'selectors'], + (Array.isArray(baseElement) ? baseElement : [baseElement]) + ); + } + if (options['returnDomByDefault'] !== undefined) { + set(options, ['baseElements', 'returnDomByDefault'], options['returnDomByDefault']); + } + + for (const definition of options.selectors) { + if (definition.format === 'anchor' && get(definition, ['options', 'noLinkBrackets'])) { + set(definition, ['options', 'linkBrackets'], false); + } + } +} + +htmlToText$1.compile = compile$2; +htmlToText$1.convert = convert; +htmlToText$1.htmlToText = convert; + +var heExports = {}; +var he$1 = { + get exports(){ return heExports; }, + set exports(v){ heExports = v; }, +}; + +/*! https://mths.be/he v1.2.0 by @mathias | MIT license */ + +(function (module, exports) { +(function(root) { + + // Detect free variables `exports`. + var freeExports = exports; + + // Detect free variable `module`. + var freeModule = module && + module.exports == freeExports && module; + + // Detect free variable `global`, from Node.js or Browserified code, + // and use it as `root`. + var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal; + if (freeGlobal.global === freeGlobal || freeGlobal.window === freeGlobal) { + root = freeGlobal; + } + + /*--------------------------------------------------------------------------*/ + + // All astral symbols. + var regexAstralSymbols = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g; + // All ASCII symbols (not just printable ASCII) except those listed in the + // first column of the overrides table. + // https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides + var regexAsciiWhitelist = /[\x01-\x7F]/g; + // All BMP symbols that are not ASCII newlines, printable ASCII symbols, or + // code points listed in the first column of the overrides table on + // https://html.spec.whatwg.org/multipage/syntax.html#table-charref-overrides. + var regexBmpWhitelist = /[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g; + + var regexEncodeNonAscii = /<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g; + var encodeMap = {'\xAD':'shy','\u200C':'zwnj','\u200D':'zwj','\u200E':'lrm','\u2063':'ic','\u2062':'it','\u2061':'af','\u200F':'rlm','\u200B':'ZeroWidthSpace','\u2060':'NoBreak','\u0311':'DownBreve','\u20DB':'tdot','\u20DC':'DotDot','\t':'Tab','\n':'NewLine','\u2008':'puncsp','\u205F':'MediumSpace','\u2009':'thinsp','\u200A':'hairsp','\u2004':'emsp13','\u2002':'ensp','\u2005':'emsp14','\u2003':'emsp','\u2007':'numsp','\xA0':'nbsp','\u205F\u200A':'ThickSpace','\u203E':'oline','_':'lowbar','\u2010':'dash','\u2013':'ndash','\u2014':'mdash','\u2015':'horbar',',':'comma',';':'semi','\u204F':'bsemi',':':'colon','\u2A74':'Colone','!':'excl','\xA1':'iexcl','?':'quest','\xBF':'iquest','.':'period','\u2025':'nldr','\u2026':'mldr','\xB7':'middot','\'':'apos','\u2018':'lsquo','\u2019':'rsquo','\u201A':'sbquo','\u2039':'lsaquo','\u203A':'rsaquo','"':'quot','\u201C':'ldquo','\u201D':'rdquo','\u201E':'bdquo','\xAB':'laquo','\xBB':'raquo','(':'lpar',')':'rpar','[':'lsqb',']':'rsqb','{':'lcub','}':'rcub','\u2308':'lceil','\u2309':'rceil','\u230A':'lfloor','\u230B':'rfloor','\u2985':'lopar','\u2986':'ropar','\u298B':'lbrke','\u298C':'rbrke','\u298D':'lbrkslu','\u298E':'rbrksld','\u298F':'lbrksld','\u2990':'rbrkslu','\u2991':'langd','\u2992':'rangd','\u2993':'lparlt','\u2994':'rpargt','\u2995':'gtlPar','\u2996':'ltrPar','\u27E6':'lobrk','\u27E7':'robrk','\u27E8':'lang','\u27E9':'rang','\u27EA':'Lang','\u27EB':'Rang','\u27EC':'loang','\u27ED':'roang','\u2772':'lbbrk','\u2773':'rbbrk','\u2016':'Vert','\xA7':'sect','\xB6':'para','@':'commat','*':'ast','/':'sol','undefined':null,'&':'amp','#':'num','%':'percnt','\u2030':'permil','\u2031':'pertenk','\u2020':'dagger','\u2021':'Dagger','\u2022':'bull','\u2043':'hybull','\u2032':'prime','\u2033':'Prime','\u2034':'tprime','\u2057':'qprime','\u2035':'bprime','\u2041':'caret','`':'grave','\xB4':'acute','\u02DC':'tilde','^':'Hat','\xAF':'macr','\u02D8':'breve','\u02D9':'dot','\xA8':'die','\u02DA':'ring','\u02DD':'dblac','\xB8':'cedil','\u02DB':'ogon','\u02C6':'circ','\u02C7':'caron','\xB0':'deg','\xA9':'copy','\xAE':'reg','\u2117':'copysr','\u2118':'wp','\u211E':'rx','\u2127':'mho','\u2129':'iiota','\u2190':'larr','\u219A':'nlarr','\u2192':'rarr','\u219B':'nrarr','\u2191':'uarr','\u2193':'darr','\u2194':'harr','\u21AE':'nharr','\u2195':'varr','\u2196':'nwarr','\u2197':'nearr','\u2198':'searr','\u2199':'swarr','\u219D':'rarrw','\u219D\u0338':'nrarrw','\u219E':'Larr','\u219F':'Uarr','\u21A0':'Rarr','\u21A1':'Darr','\u21A2':'larrtl','\u21A3':'rarrtl','\u21A4':'mapstoleft','\u21A5':'mapstoup','\u21A6':'map','\u21A7':'mapstodown','\u21A9':'larrhk','\u21AA':'rarrhk','\u21AB':'larrlp','\u21AC':'rarrlp','\u21AD':'harrw','\u21B0':'lsh','\u21B1':'rsh','\u21B2':'ldsh','\u21B3':'rdsh','\u21B5':'crarr','\u21B6':'cularr','\u21B7':'curarr','\u21BA':'olarr','\u21BB':'orarr','\u21BC':'lharu','\u21BD':'lhard','\u21BE':'uharr','\u21BF':'uharl','\u21C0':'rharu','\u21C1':'rhard','\u21C2':'dharr','\u21C3':'dharl','\u21C4':'rlarr','\u21C5':'udarr','\u21C6':'lrarr','\u21C7':'llarr','\u21C8':'uuarr','\u21C9':'rrarr','\u21CA':'ddarr','\u21CB':'lrhar','\u21CC':'rlhar','\u21D0':'lArr','\u21CD':'nlArr','\u21D1':'uArr','\u21D2':'rArr','\u21CF':'nrArr','\u21D3':'dArr','\u21D4':'iff','\u21CE':'nhArr','\u21D5':'vArr','\u21D6':'nwArr','\u21D7':'neArr','\u21D8':'seArr','\u21D9':'swArr','\u21DA':'lAarr','\u21DB':'rAarr','\u21DD':'zigrarr','\u21E4':'larrb','\u21E5':'rarrb','\u21F5':'duarr','\u21FD':'loarr','\u21FE':'roarr','\u21FF':'hoarr','\u2200':'forall','\u2201':'comp','\u2202':'part','\u2202\u0338':'npart','\u2203':'exist','\u2204':'nexist','\u2205':'empty','\u2207':'Del','\u2208':'in','\u2209':'notin','\u220B':'ni','\u220C':'notni','\u03F6':'bepsi','\u220F':'prod','\u2210':'coprod','\u2211':'sum','+':'plus','\xB1':'pm','\xF7':'div','\xD7':'times','<':'lt','\u226E':'nlt','<\u20D2':'nvlt','=':'equals','\u2260':'ne','=\u20E5':'bne','\u2A75':'Equal','>':'gt','\u226F':'ngt','>\u20D2':'nvgt','\xAC':'not','|':'vert','\xA6':'brvbar','\u2212':'minus','\u2213':'mp','\u2214':'plusdo','\u2044':'frasl','\u2216':'setmn','\u2217':'lowast','\u2218':'compfn','\u221A':'Sqrt','\u221D':'prop','\u221E':'infin','\u221F':'angrt','\u2220':'ang','\u2220\u20D2':'nang','\u2221':'angmsd','\u2222':'angsph','\u2223':'mid','\u2224':'nmid','\u2225':'par','\u2226':'npar','\u2227':'and','\u2228':'or','\u2229':'cap','\u2229\uFE00':'caps','\u222A':'cup','\u222A\uFE00':'cups','\u222B':'int','\u222C':'Int','\u222D':'tint','\u2A0C':'qint','\u222E':'oint','\u222F':'Conint','\u2230':'Cconint','\u2231':'cwint','\u2232':'cwconint','\u2233':'awconint','\u2234':'there4','\u2235':'becaus','\u2236':'ratio','\u2237':'Colon','\u2238':'minusd','\u223A':'mDDot','\u223B':'homtht','\u223C':'sim','\u2241':'nsim','\u223C\u20D2':'nvsim','\u223D':'bsim','\u223D\u0331':'race','\u223E':'ac','\u223E\u0333':'acE','\u223F':'acd','\u2240':'wr','\u2242':'esim','\u2242\u0338':'nesim','\u2243':'sime','\u2244':'nsime','\u2245':'cong','\u2247':'ncong','\u2246':'simne','\u2248':'ap','\u2249':'nap','\u224A':'ape','\u224B':'apid','\u224B\u0338':'napid','\u224C':'bcong','\u224D':'CupCap','\u226D':'NotCupCap','\u224D\u20D2':'nvap','\u224E':'bump','\u224E\u0338':'nbump','\u224F':'bumpe','\u224F\u0338':'nbumpe','\u2250':'doteq','\u2250\u0338':'nedot','\u2251':'eDot','\u2252':'efDot','\u2253':'erDot','\u2254':'colone','\u2255':'ecolon','\u2256':'ecir','\u2257':'cire','\u2259':'wedgeq','\u225A':'veeeq','\u225C':'trie','\u225F':'equest','\u2261':'equiv','\u2262':'nequiv','\u2261\u20E5':'bnequiv','\u2264':'le','\u2270':'nle','\u2264\u20D2':'nvle','\u2265':'ge','\u2271':'nge','\u2265\u20D2':'nvge','\u2266':'lE','\u2266\u0338':'nlE','\u2267':'gE','\u2267\u0338':'ngE','\u2268\uFE00':'lvnE','\u2268':'lnE','\u2269':'gnE','\u2269\uFE00':'gvnE','\u226A':'ll','\u226A\u0338':'nLtv','\u226A\u20D2':'nLt','\u226B':'gg','\u226B\u0338':'nGtv','\u226B\u20D2':'nGt','\u226C':'twixt','\u2272':'lsim','\u2274':'nlsim','\u2273':'gsim','\u2275':'ngsim','\u2276':'lg','\u2278':'ntlg','\u2277':'gl','\u2279':'ntgl','\u227A':'pr','\u2280':'npr','\u227B':'sc','\u2281':'nsc','\u227C':'prcue','\u22E0':'nprcue','\u227D':'sccue','\u22E1':'nsccue','\u227E':'prsim','\u227F':'scsim','\u227F\u0338':'NotSucceedsTilde','\u2282':'sub','\u2284':'nsub','\u2282\u20D2':'vnsub','\u2283':'sup','\u2285':'nsup','\u2283\u20D2':'vnsup','\u2286':'sube','\u2288':'nsube','\u2287':'supe','\u2289':'nsupe','\u228A\uFE00':'vsubne','\u228A':'subne','\u228B\uFE00':'vsupne','\u228B':'supne','\u228D':'cupdot','\u228E':'uplus','\u228F':'sqsub','\u228F\u0338':'NotSquareSubset','\u2290':'sqsup','\u2290\u0338':'NotSquareSuperset','\u2291':'sqsube','\u22E2':'nsqsube','\u2292':'sqsupe','\u22E3':'nsqsupe','\u2293':'sqcap','\u2293\uFE00':'sqcaps','\u2294':'sqcup','\u2294\uFE00':'sqcups','\u2295':'oplus','\u2296':'ominus','\u2297':'otimes','\u2298':'osol','\u2299':'odot','\u229A':'ocir','\u229B':'oast','\u229D':'odash','\u229E':'plusb','\u229F':'minusb','\u22A0':'timesb','\u22A1':'sdotb','\u22A2':'vdash','\u22AC':'nvdash','\u22A3':'dashv','\u22A4':'top','\u22A5':'bot','\u22A7':'models','\u22A8':'vDash','\u22AD':'nvDash','\u22A9':'Vdash','\u22AE':'nVdash','\u22AA':'Vvdash','\u22AB':'VDash','\u22AF':'nVDash','\u22B0':'prurel','\u22B2':'vltri','\u22EA':'nltri','\u22B3':'vrtri','\u22EB':'nrtri','\u22B4':'ltrie','\u22EC':'nltrie','\u22B4\u20D2':'nvltrie','\u22B5':'rtrie','\u22ED':'nrtrie','\u22B5\u20D2':'nvrtrie','\u22B6':'origof','\u22B7':'imof','\u22B8':'mumap','\u22B9':'hercon','\u22BA':'intcal','\u22BB':'veebar','\u22BD':'barvee','\u22BE':'angrtvb','\u22BF':'lrtri','\u22C0':'Wedge','\u22C1':'Vee','\u22C2':'xcap','\u22C3':'xcup','\u22C4':'diam','\u22C5':'sdot','\u22C6':'Star','\u22C7':'divonx','\u22C8':'bowtie','\u22C9':'ltimes','\u22CA':'rtimes','\u22CB':'lthree','\u22CC':'rthree','\u22CD':'bsime','\u22CE':'cuvee','\u22CF':'cuwed','\u22D0':'Sub','\u22D1':'Sup','\u22D2':'Cap','\u22D3':'Cup','\u22D4':'fork','\u22D5':'epar','\u22D6':'ltdot','\u22D7':'gtdot','\u22D8':'Ll','\u22D8\u0338':'nLl','\u22D9':'Gg','\u22D9\u0338':'nGg','\u22DA\uFE00':'lesg','\u22DA':'leg','\u22DB':'gel','\u22DB\uFE00':'gesl','\u22DE':'cuepr','\u22DF':'cuesc','\u22E6':'lnsim','\u22E7':'gnsim','\u22E8':'prnsim','\u22E9':'scnsim','\u22EE':'vellip','\u22EF':'ctdot','\u22F0':'utdot','\u22F1':'dtdot','\u22F2':'disin','\u22F3':'isinsv','\u22F4':'isins','\u22F5':'isindot','\u22F5\u0338':'notindot','\u22F6':'notinvc','\u22F7':'notinvb','\u22F9':'isinE','\u22F9\u0338':'notinE','\u22FA':'nisd','\u22FB':'xnis','\u22FC':'nis','\u22FD':'notnivc','\u22FE':'notnivb','\u2305':'barwed','\u2306':'Barwed','\u230C':'drcrop','\u230D':'dlcrop','\u230E':'urcrop','\u230F':'ulcrop','\u2310':'bnot','\u2312':'profline','\u2313':'profsurf','\u2315':'telrec','\u2316':'target','\u231C':'ulcorn','\u231D':'urcorn','\u231E':'dlcorn','\u231F':'drcorn','\u2322':'frown','\u2323':'smile','\u232D':'cylcty','\u232E':'profalar','\u2336':'topbot','\u233D':'ovbar','\u233F':'solbar','\u237C':'angzarr','\u23B0':'lmoust','\u23B1':'rmoust','\u23B4':'tbrk','\u23B5':'bbrk','\u23B6':'bbrktbrk','\u23DC':'OverParenthesis','\u23DD':'UnderParenthesis','\u23DE':'OverBrace','\u23DF':'UnderBrace','\u23E2':'trpezium','\u23E7':'elinters','\u2423':'blank','\u2500':'boxh','\u2502':'boxv','\u250C':'boxdr','\u2510':'boxdl','\u2514':'boxur','\u2518':'boxul','\u251C':'boxvr','\u2524':'boxvl','\u252C':'boxhd','\u2534':'boxhu','\u253C':'boxvh','\u2550':'boxH','\u2551':'boxV','\u2552':'boxdR','\u2553':'boxDr','\u2554':'boxDR','\u2555':'boxdL','\u2556':'boxDl','\u2557':'boxDL','\u2558':'boxuR','\u2559':'boxUr','\u255A':'boxUR','\u255B':'boxuL','\u255C':'boxUl','\u255D':'boxUL','\u255E':'boxvR','\u255F':'boxVr','\u2560':'boxVR','\u2561':'boxvL','\u2562':'boxVl','\u2563':'boxVL','\u2564':'boxHd','\u2565':'boxhD','\u2566':'boxHD','\u2567':'boxHu','\u2568':'boxhU','\u2569':'boxHU','\u256A':'boxvH','\u256B':'boxVh','\u256C':'boxVH','\u2580':'uhblk','\u2584':'lhblk','\u2588':'block','\u2591':'blk14','\u2592':'blk12','\u2593':'blk34','\u25A1':'squ','\u25AA':'squf','\u25AB':'EmptyVerySmallSquare','\u25AD':'rect','\u25AE':'marker','\u25B1':'fltns','\u25B3':'xutri','\u25B4':'utrif','\u25B5':'utri','\u25B8':'rtrif','\u25B9':'rtri','\u25BD':'xdtri','\u25BE':'dtrif','\u25BF':'dtri','\u25C2':'ltrif','\u25C3':'ltri','\u25CA':'loz','\u25CB':'cir','\u25EC':'tridot','\u25EF':'xcirc','\u25F8':'ultri','\u25F9':'urtri','\u25FA':'lltri','\u25FB':'EmptySmallSquare','\u25FC':'FilledSmallSquare','\u2605':'starf','\u2606':'star','\u260E':'phone','\u2640':'female','\u2642':'male','\u2660':'spades','\u2663':'clubs','\u2665':'hearts','\u2666':'diams','\u266A':'sung','\u2713':'check','\u2717':'cross','\u2720':'malt','\u2736':'sext','\u2758':'VerticalSeparator','\u27C8':'bsolhsub','\u27C9':'suphsol','\u27F5':'xlarr','\u27F6':'xrarr','\u27F7':'xharr','\u27F8':'xlArr','\u27F9':'xrArr','\u27FA':'xhArr','\u27FC':'xmap','\u27FF':'dzigrarr','\u2902':'nvlArr','\u2903':'nvrArr','\u2904':'nvHarr','\u2905':'Map','\u290C':'lbarr','\u290D':'rbarr','\u290E':'lBarr','\u290F':'rBarr','\u2910':'RBarr','\u2911':'DDotrahd','\u2912':'UpArrowBar','\u2913':'DownArrowBar','\u2916':'Rarrtl','\u2919':'latail','\u291A':'ratail','\u291B':'lAtail','\u291C':'rAtail','\u291D':'larrfs','\u291E':'rarrfs','\u291F':'larrbfs','\u2920':'rarrbfs','\u2923':'nwarhk','\u2924':'nearhk','\u2925':'searhk','\u2926':'swarhk','\u2927':'nwnear','\u2928':'toea','\u2929':'tosa','\u292A':'swnwar','\u2933':'rarrc','\u2933\u0338':'nrarrc','\u2935':'cudarrr','\u2936':'ldca','\u2937':'rdca','\u2938':'cudarrl','\u2939':'larrpl','\u293C':'curarrm','\u293D':'cularrp','\u2945':'rarrpl','\u2948':'harrcir','\u2949':'Uarrocir','\u294A':'lurdshar','\u294B':'ldrushar','\u294E':'LeftRightVector','\u294F':'RightUpDownVector','\u2950':'DownLeftRightVector','\u2951':'LeftUpDownVector','\u2952':'LeftVectorBar','\u2953':'RightVectorBar','\u2954':'RightUpVectorBar','\u2955':'RightDownVectorBar','\u2956':'DownLeftVectorBar','\u2957':'DownRightVectorBar','\u2958':'LeftUpVectorBar','\u2959':'LeftDownVectorBar','\u295A':'LeftTeeVector','\u295B':'RightTeeVector','\u295C':'RightUpTeeVector','\u295D':'RightDownTeeVector','\u295E':'DownLeftTeeVector','\u295F':'DownRightTeeVector','\u2960':'LeftUpTeeVector','\u2961':'LeftDownTeeVector','\u2962':'lHar','\u2963':'uHar','\u2964':'rHar','\u2965':'dHar','\u2966':'luruhar','\u2967':'ldrdhar','\u2968':'ruluhar','\u2969':'rdldhar','\u296A':'lharul','\u296B':'llhard','\u296C':'rharul','\u296D':'lrhard','\u296E':'udhar','\u296F':'duhar','\u2970':'RoundImplies','\u2971':'erarr','\u2972':'simrarr','\u2973':'larrsim','\u2974':'rarrsim','\u2975':'rarrap','\u2976':'ltlarr','\u2978':'gtrarr','\u2979':'subrarr','\u297B':'suplarr','\u297C':'lfisht','\u297D':'rfisht','\u297E':'ufisht','\u297F':'dfisht','\u299A':'vzigzag','\u299C':'vangrt','\u299D':'angrtvbd','\u29A4':'ange','\u29A5':'range','\u29A6':'dwangle','\u29A7':'uwangle','\u29A8':'angmsdaa','\u29A9':'angmsdab','\u29AA':'angmsdac','\u29AB':'angmsdad','\u29AC':'angmsdae','\u29AD':'angmsdaf','\u29AE':'angmsdag','\u29AF':'angmsdah','\u29B0':'bemptyv','\u29B1':'demptyv','\u29B2':'cemptyv','\u29B3':'raemptyv','\u29B4':'laemptyv','\u29B5':'ohbar','\u29B6':'omid','\u29B7':'opar','\u29B9':'operp','\u29BB':'olcross','\u29BC':'odsold','\u29BE':'olcir','\u29BF':'ofcir','\u29C0':'olt','\u29C1':'ogt','\u29C2':'cirscir','\u29C3':'cirE','\u29C4':'solb','\u29C5':'bsolb','\u29C9':'boxbox','\u29CD':'trisb','\u29CE':'rtriltri','\u29CF':'LeftTriangleBar','\u29CF\u0338':'NotLeftTriangleBar','\u29D0':'RightTriangleBar','\u29D0\u0338':'NotRightTriangleBar','\u29DC':'iinfin','\u29DD':'infintie','\u29DE':'nvinfin','\u29E3':'eparsl','\u29E4':'smeparsl','\u29E5':'eqvparsl','\u29EB':'lozf','\u29F4':'RuleDelayed','\u29F6':'dsol','\u2A00':'xodot','\u2A01':'xoplus','\u2A02':'xotime','\u2A04':'xuplus','\u2A06':'xsqcup','\u2A0D':'fpartint','\u2A10':'cirfnint','\u2A11':'awint','\u2A12':'rppolint','\u2A13':'scpolint','\u2A14':'npolint','\u2A15':'pointint','\u2A16':'quatint','\u2A17':'intlarhk','\u2A22':'pluscir','\u2A23':'plusacir','\u2A24':'simplus','\u2A25':'plusdu','\u2A26':'plussim','\u2A27':'plustwo','\u2A29':'mcomma','\u2A2A':'minusdu','\u2A2D':'loplus','\u2A2E':'roplus','\u2A2F':'Cross','\u2A30':'timesd','\u2A31':'timesbar','\u2A33':'smashp','\u2A34':'lotimes','\u2A35':'rotimes','\u2A36':'otimesas','\u2A37':'Otimes','\u2A38':'odiv','\u2A39':'triplus','\u2A3A':'triminus','\u2A3B':'tritime','\u2A3C':'iprod','\u2A3F':'amalg','\u2A40':'capdot','\u2A42':'ncup','\u2A43':'ncap','\u2A44':'capand','\u2A45':'cupor','\u2A46':'cupcap','\u2A47':'capcup','\u2A48':'cupbrcap','\u2A49':'capbrcup','\u2A4A':'cupcup','\u2A4B':'capcap','\u2A4C':'ccups','\u2A4D':'ccaps','\u2A50':'ccupssm','\u2A53':'And','\u2A54':'Or','\u2A55':'andand','\u2A56':'oror','\u2A57':'orslope','\u2A58':'andslope','\u2A5A':'andv','\u2A5B':'orv','\u2A5C':'andd','\u2A5D':'ord','\u2A5F':'wedbar','\u2A66':'sdote','\u2A6A':'simdot','\u2A6D':'congdot','\u2A6D\u0338':'ncongdot','\u2A6E':'easter','\u2A6F':'apacir','\u2A70':'apE','\u2A70\u0338':'napE','\u2A71':'eplus','\u2A72':'pluse','\u2A73':'Esim','\u2A77':'eDDot','\u2A78':'equivDD','\u2A79':'ltcir','\u2A7A':'gtcir','\u2A7B':'ltquest','\u2A7C':'gtquest','\u2A7D':'les','\u2A7D\u0338':'nles','\u2A7E':'ges','\u2A7E\u0338':'nges','\u2A7F':'lesdot','\u2A80':'gesdot','\u2A81':'lesdoto','\u2A82':'gesdoto','\u2A83':'lesdotor','\u2A84':'gesdotol','\u2A85':'lap','\u2A86':'gap','\u2A87':'lne','\u2A88':'gne','\u2A89':'lnap','\u2A8A':'gnap','\u2A8B':'lEg','\u2A8C':'gEl','\u2A8D':'lsime','\u2A8E':'gsime','\u2A8F':'lsimg','\u2A90':'gsiml','\u2A91':'lgE','\u2A92':'glE','\u2A93':'lesges','\u2A94':'gesles','\u2A95':'els','\u2A96':'egs','\u2A97':'elsdot','\u2A98':'egsdot','\u2A99':'el','\u2A9A':'eg','\u2A9D':'siml','\u2A9E':'simg','\u2A9F':'simlE','\u2AA0':'simgE','\u2AA1':'LessLess','\u2AA1\u0338':'NotNestedLessLess','\u2AA2':'GreaterGreater','\u2AA2\u0338':'NotNestedGreaterGreater','\u2AA4':'glj','\u2AA5':'gla','\u2AA6':'ltcc','\u2AA7':'gtcc','\u2AA8':'lescc','\u2AA9':'gescc','\u2AAA':'smt','\u2AAB':'lat','\u2AAC':'smte','\u2AAC\uFE00':'smtes','\u2AAD':'late','\u2AAD\uFE00':'lates','\u2AAE':'bumpE','\u2AAF':'pre','\u2AAF\u0338':'npre','\u2AB0':'sce','\u2AB0\u0338':'nsce','\u2AB3':'prE','\u2AB4':'scE','\u2AB5':'prnE','\u2AB6':'scnE','\u2AB7':'prap','\u2AB8':'scap','\u2AB9':'prnap','\u2ABA':'scnap','\u2ABB':'Pr','\u2ABC':'Sc','\u2ABD':'subdot','\u2ABE':'supdot','\u2ABF':'subplus','\u2AC0':'supplus','\u2AC1':'submult','\u2AC2':'supmult','\u2AC3':'subedot','\u2AC4':'supedot','\u2AC5':'subE','\u2AC5\u0338':'nsubE','\u2AC6':'supE','\u2AC6\u0338':'nsupE','\u2AC7':'subsim','\u2AC8':'supsim','\u2ACB\uFE00':'vsubnE','\u2ACB':'subnE','\u2ACC\uFE00':'vsupnE','\u2ACC':'supnE','\u2ACF':'csub','\u2AD0':'csup','\u2AD1':'csube','\u2AD2':'csupe','\u2AD3':'subsup','\u2AD4':'supsub','\u2AD5':'subsub','\u2AD6':'supsup','\u2AD7':'suphsub','\u2AD8':'supdsub','\u2AD9':'forkv','\u2ADA':'topfork','\u2ADB':'mlcp','\u2AE4':'Dashv','\u2AE6':'Vdashl','\u2AE7':'Barv','\u2AE8':'vBar','\u2AE9':'vBarv','\u2AEB':'Vbar','\u2AEC':'Not','\u2AED':'bNot','\u2AEE':'rnmid','\u2AEF':'cirmid','\u2AF0':'midcir','\u2AF1':'topcir','\u2AF2':'nhpar','\u2AF3':'parsim','\u2AFD':'parsl','\u2AFD\u20E5':'nparsl','\u266D':'flat','\u266E':'natur','\u266F':'sharp','\xA4':'curren','\xA2':'cent','$':'dollar','\xA3':'pound','\xA5':'yen','\u20AC':'euro','\xB9':'sup1','\xBD':'half','\u2153':'frac13','\xBC':'frac14','\u2155':'frac15','\u2159':'frac16','\u215B':'frac18','\xB2':'sup2','\u2154':'frac23','\u2156':'frac25','\xB3':'sup3','\xBE':'frac34','\u2157':'frac35','\u215C':'frac38','\u2158':'frac45','\u215A':'frac56','\u215D':'frac58','\u215E':'frac78','\uD835\uDCB6':'ascr','\uD835\uDD52':'aopf','\uD835\uDD1E':'afr','\uD835\uDD38':'Aopf','\uD835\uDD04':'Afr','\uD835\uDC9C':'Ascr','\xAA':'ordf','\xE1':'aacute','\xC1':'Aacute','\xE0':'agrave','\xC0':'Agrave','\u0103':'abreve','\u0102':'Abreve','\xE2':'acirc','\xC2':'Acirc','\xE5':'aring','\xC5':'angst','\xE4':'auml','\xC4':'Auml','\xE3':'atilde','\xC3':'Atilde','\u0105':'aogon','\u0104':'Aogon','\u0101':'amacr','\u0100':'Amacr','\xE6':'aelig','\xC6':'AElig','\uD835\uDCB7':'bscr','\uD835\uDD53':'bopf','\uD835\uDD1F':'bfr','\uD835\uDD39':'Bopf','\u212C':'Bscr','\uD835\uDD05':'Bfr','\uD835\uDD20':'cfr','\uD835\uDCB8':'cscr','\uD835\uDD54':'copf','\u212D':'Cfr','\uD835\uDC9E':'Cscr','\u2102':'Copf','\u0107':'cacute','\u0106':'Cacute','\u0109':'ccirc','\u0108':'Ccirc','\u010D':'ccaron','\u010C':'Ccaron','\u010B':'cdot','\u010A':'Cdot','\xE7':'ccedil','\xC7':'Ccedil','\u2105':'incare','\uD835\uDD21':'dfr','\u2146':'dd','\uD835\uDD55':'dopf','\uD835\uDCB9':'dscr','\uD835\uDC9F':'Dscr','\uD835\uDD07':'Dfr','\u2145':'DD','\uD835\uDD3B':'Dopf','\u010F':'dcaron','\u010E':'Dcaron','\u0111':'dstrok','\u0110':'Dstrok','\xF0':'eth','\xD0':'ETH','\u2147':'ee','\u212F':'escr','\uD835\uDD22':'efr','\uD835\uDD56':'eopf','\u2130':'Escr','\uD835\uDD08':'Efr','\uD835\uDD3C':'Eopf','\xE9':'eacute','\xC9':'Eacute','\xE8':'egrave','\xC8':'Egrave','\xEA':'ecirc','\xCA':'Ecirc','\u011B':'ecaron','\u011A':'Ecaron','\xEB':'euml','\xCB':'Euml','\u0117':'edot','\u0116':'Edot','\u0119':'eogon','\u0118':'Eogon','\u0113':'emacr','\u0112':'Emacr','\uD835\uDD23':'ffr','\uD835\uDD57':'fopf','\uD835\uDCBB':'fscr','\uD835\uDD09':'Ffr','\uD835\uDD3D':'Fopf','\u2131':'Fscr','\uFB00':'fflig','\uFB03':'ffilig','\uFB04':'ffllig','\uFB01':'filig','fj':'fjlig','\uFB02':'fllig','\u0192':'fnof','\u210A':'gscr','\uD835\uDD58':'gopf','\uD835\uDD24':'gfr','\uD835\uDCA2':'Gscr','\uD835\uDD3E':'Gopf','\uD835\uDD0A':'Gfr','\u01F5':'gacute','\u011F':'gbreve','\u011E':'Gbreve','\u011D':'gcirc','\u011C':'Gcirc','\u0121':'gdot','\u0120':'Gdot','\u0122':'Gcedil','\uD835\uDD25':'hfr','\u210E':'planckh','\uD835\uDCBD':'hscr','\uD835\uDD59':'hopf','\u210B':'Hscr','\u210C':'Hfr','\u210D':'Hopf','\u0125':'hcirc','\u0124':'Hcirc','\u210F':'hbar','\u0127':'hstrok','\u0126':'Hstrok','\uD835\uDD5A':'iopf','\uD835\uDD26':'ifr','\uD835\uDCBE':'iscr','\u2148':'ii','\uD835\uDD40':'Iopf','\u2110':'Iscr','\u2111':'Im','\xED':'iacute','\xCD':'Iacute','\xEC':'igrave','\xCC':'Igrave','\xEE':'icirc','\xCE':'Icirc','\xEF':'iuml','\xCF':'Iuml','\u0129':'itilde','\u0128':'Itilde','\u0130':'Idot','\u012F':'iogon','\u012E':'Iogon','\u012B':'imacr','\u012A':'Imacr','\u0133':'ijlig','\u0132':'IJlig','\u0131':'imath','\uD835\uDCBF':'jscr','\uD835\uDD5B':'jopf','\uD835\uDD27':'jfr','\uD835\uDCA5':'Jscr','\uD835\uDD0D':'Jfr','\uD835\uDD41':'Jopf','\u0135':'jcirc','\u0134':'Jcirc','\u0237':'jmath','\uD835\uDD5C':'kopf','\uD835\uDCC0':'kscr','\uD835\uDD28':'kfr','\uD835\uDCA6':'Kscr','\uD835\uDD42':'Kopf','\uD835\uDD0E':'Kfr','\u0137':'kcedil','\u0136':'Kcedil','\uD835\uDD29':'lfr','\uD835\uDCC1':'lscr','\u2113':'ell','\uD835\uDD5D':'lopf','\u2112':'Lscr','\uD835\uDD0F':'Lfr','\uD835\uDD43':'Lopf','\u013A':'lacute','\u0139':'Lacute','\u013E':'lcaron','\u013D':'Lcaron','\u013C':'lcedil','\u013B':'Lcedil','\u0142':'lstrok','\u0141':'Lstrok','\u0140':'lmidot','\u013F':'Lmidot','\uD835\uDD2A':'mfr','\uD835\uDD5E':'mopf','\uD835\uDCC2':'mscr','\uD835\uDD10':'Mfr','\uD835\uDD44':'Mopf','\u2133':'Mscr','\uD835\uDD2B':'nfr','\uD835\uDD5F':'nopf','\uD835\uDCC3':'nscr','\u2115':'Nopf','\uD835\uDCA9':'Nscr','\uD835\uDD11':'Nfr','\u0144':'nacute','\u0143':'Nacute','\u0148':'ncaron','\u0147':'Ncaron','\xF1':'ntilde','\xD1':'Ntilde','\u0146':'ncedil','\u0145':'Ncedil','\u2116':'numero','\u014B':'eng','\u014A':'ENG','\uD835\uDD60':'oopf','\uD835\uDD2C':'ofr','\u2134':'oscr','\uD835\uDCAA':'Oscr','\uD835\uDD12':'Ofr','\uD835\uDD46':'Oopf','\xBA':'ordm','\xF3':'oacute','\xD3':'Oacute','\xF2':'ograve','\xD2':'Ograve','\xF4':'ocirc','\xD4':'Ocirc','\xF6':'ouml','\xD6':'Ouml','\u0151':'odblac','\u0150':'Odblac','\xF5':'otilde','\xD5':'Otilde','\xF8':'oslash','\xD8':'Oslash','\u014D':'omacr','\u014C':'Omacr','\u0153':'oelig','\u0152':'OElig','\uD835\uDD2D':'pfr','\uD835\uDCC5':'pscr','\uD835\uDD61':'popf','\u2119':'Popf','\uD835\uDD13':'Pfr','\uD835\uDCAB':'Pscr','\uD835\uDD62':'qopf','\uD835\uDD2E':'qfr','\uD835\uDCC6':'qscr','\uD835\uDCAC':'Qscr','\uD835\uDD14':'Qfr','\u211A':'Qopf','\u0138':'kgreen','\uD835\uDD2F':'rfr','\uD835\uDD63':'ropf','\uD835\uDCC7':'rscr','\u211B':'Rscr','\u211C':'Re','\u211D':'Ropf','\u0155':'racute','\u0154':'Racute','\u0159':'rcaron','\u0158':'Rcaron','\u0157':'rcedil','\u0156':'Rcedil','\uD835\uDD64':'sopf','\uD835\uDCC8':'sscr','\uD835\uDD30':'sfr','\uD835\uDD4A':'Sopf','\uD835\uDD16':'Sfr','\uD835\uDCAE':'Sscr','\u24C8':'oS','\u015B':'sacute','\u015A':'Sacute','\u015D':'scirc','\u015C':'Scirc','\u0161':'scaron','\u0160':'Scaron','\u015F':'scedil','\u015E':'Scedil','\xDF':'szlig','\uD835\uDD31':'tfr','\uD835\uDCC9':'tscr','\uD835\uDD65':'topf','\uD835\uDCAF':'Tscr','\uD835\uDD17':'Tfr','\uD835\uDD4B':'Topf','\u0165':'tcaron','\u0164':'Tcaron','\u0163':'tcedil','\u0162':'Tcedil','\u2122':'trade','\u0167':'tstrok','\u0166':'Tstrok','\uD835\uDCCA':'uscr','\uD835\uDD66':'uopf','\uD835\uDD32':'ufr','\uD835\uDD4C':'Uopf','\uD835\uDD18':'Ufr','\uD835\uDCB0':'Uscr','\xFA':'uacute','\xDA':'Uacute','\xF9':'ugrave','\xD9':'Ugrave','\u016D':'ubreve','\u016C':'Ubreve','\xFB':'ucirc','\xDB':'Ucirc','\u016F':'uring','\u016E':'Uring','\xFC':'uuml','\xDC':'Uuml','\u0171':'udblac','\u0170':'Udblac','\u0169':'utilde','\u0168':'Utilde','\u0173':'uogon','\u0172':'Uogon','\u016B':'umacr','\u016A':'Umacr','\uD835\uDD33':'vfr','\uD835\uDD67':'vopf','\uD835\uDCCB':'vscr','\uD835\uDD19':'Vfr','\uD835\uDD4D':'Vopf','\uD835\uDCB1':'Vscr','\uD835\uDD68':'wopf','\uD835\uDCCC':'wscr','\uD835\uDD34':'wfr','\uD835\uDCB2':'Wscr','\uD835\uDD4E':'Wopf','\uD835\uDD1A':'Wfr','\u0175':'wcirc','\u0174':'Wcirc','\uD835\uDD35':'xfr','\uD835\uDCCD':'xscr','\uD835\uDD69':'xopf','\uD835\uDD4F':'Xopf','\uD835\uDD1B':'Xfr','\uD835\uDCB3':'Xscr','\uD835\uDD36':'yfr','\uD835\uDCCE':'yscr','\uD835\uDD6A':'yopf','\uD835\uDCB4':'Yscr','\uD835\uDD1C':'Yfr','\uD835\uDD50':'Yopf','\xFD':'yacute','\xDD':'Yacute','\u0177':'ycirc','\u0176':'Ycirc','\xFF':'yuml','\u0178':'Yuml','\uD835\uDCCF':'zscr','\uD835\uDD37':'zfr','\uD835\uDD6B':'zopf','\u2128':'Zfr','\u2124':'Zopf','\uD835\uDCB5':'Zscr','\u017A':'zacute','\u0179':'Zacute','\u017E':'zcaron','\u017D':'Zcaron','\u017C':'zdot','\u017B':'Zdot','\u01B5':'imped','\xFE':'thorn','\xDE':'THORN','\u0149':'napos','\u03B1':'alpha','\u0391':'Alpha','\u03B2':'beta','\u0392':'Beta','\u03B3':'gamma','\u0393':'Gamma','\u03B4':'delta','\u0394':'Delta','\u03B5':'epsi','\u03F5':'epsiv','\u0395':'Epsilon','\u03DD':'gammad','\u03DC':'Gammad','\u03B6':'zeta','\u0396':'Zeta','\u03B7':'eta','\u0397':'Eta','\u03B8':'theta','\u03D1':'thetav','\u0398':'Theta','\u03B9':'iota','\u0399':'Iota','\u03BA':'kappa','\u03F0':'kappav','\u039A':'Kappa','\u03BB':'lambda','\u039B':'Lambda','\u03BC':'mu','\xB5':'micro','\u039C':'Mu','\u03BD':'nu','\u039D':'Nu','\u03BE':'xi','\u039E':'Xi','\u03BF':'omicron','\u039F':'Omicron','\u03C0':'pi','\u03D6':'piv','\u03A0':'Pi','\u03C1':'rho','\u03F1':'rhov','\u03A1':'Rho','\u03C3':'sigma','\u03A3':'Sigma','\u03C2':'sigmaf','\u03C4':'tau','\u03A4':'Tau','\u03C5':'upsi','\u03A5':'Upsilon','\u03D2':'Upsi','\u03C6':'phi','\u03D5':'phiv','\u03A6':'Phi','\u03C7':'chi','\u03A7':'Chi','\u03C8':'psi','\u03A8':'Psi','\u03C9':'omega','\u03A9':'ohm','\u0430':'acy','\u0410':'Acy','\u0431':'bcy','\u0411':'Bcy','\u0432':'vcy','\u0412':'Vcy','\u0433':'gcy','\u0413':'Gcy','\u0453':'gjcy','\u0403':'GJcy','\u0434':'dcy','\u0414':'Dcy','\u0452':'djcy','\u0402':'DJcy','\u0435':'iecy','\u0415':'IEcy','\u0451':'iocy','\u0401':'IOcy','\u0454':'jukcy','\u0404':'Jukcy','\u0436':'zhcy','\u0416':'ZHcy','\u0437':'zcy','\u0417':'Zcy','\u0455':'dscy','\u0405':'DScy','\u0438':'icy','\u0418':'Icy','\u0456':'iukcy','\u0406':'Iukcy','\u0457':'yicy','\u0407':'YIcy','\u0439':'jcy','\u0419':'Jcy','\u0458':'jsercy','\u0408':'Jsercy','\u043A':'kcy','\u041A':'Kcy','\u045C':'kjcy','\u040C':'KJcy','\u043B':'lcy','\u041B':'Lcy','\u0459':'ljcy','\u0409':'LJcy','\u043C':'mcy','\u041C':'Mcy','\u043D':'ncy','\u041D':'Ncy','\u045A':'njcy','\u040A':'NJcy','\u043E':'ocy','\u041E':'Ocy','\u043F':'pcy','\u041F':'Pcy','\u0440':'rcy','\u0420':'Rcy','\u0441':'scy','\u0421':'Scy','\u0442':'tcy','\u0422':'Tcy','\u045B':'tshcy','\u040B':'TSHcy','\u0443':'ucy','\u0423':'Ucy','\u045E':'ubrcy','\u040E':'Ubrcy','\u0444':'fcy','\u0424':'Fcy','\u0445':'khcy','\u0425':'KHcy','\u0446':'tscy','\u0426':'TScy','\u0447':'chcy','\u0427':'CHcy','\u045F':'dzcy','\u040F':'DZcy','\u0448':'shcy','\u0428':'SHcy','\u0449':'shchcy','\u0429':'SHCHcy','\u044A':'hardcy','\u042A':'HARDcy','\u044B':'ycy','\u042B':'Ycy','\u044C':'softcy','\u042C':'SOFTcy','\u044D':'ecy','\u042D':'Ecy','\u044E':'yucy','\u042E':'YUcy','\u044F':'yacy','\u042F':'YAcy','\u2135':'aleph','\u2136':'beth','\u2137':'gimel','\u2138':'daleth'}; + + var regexEscape = /["&'<>`]/g; + var escapeMap = { + '"': '"', + '&': '&', + '\'': ''', + '<': '<', + // See https://mathiasbynens.be/notes/ambiguous-ampersands: in HTML, the + // following is not strictly necessary unless it’s part of a tag or an + // unquoted attribute value. We’re only escaping it to support those + // situations, and for XML support. + '>': '>', + // In Internet Explorer ≤ 8, the backtick character can be used + // to break out of (un)quoted attribute values or HTML comments. + // See http://html5sec.org/#102, http://html5sec.org/#108, and + // http://html5sec.org/#133. + '`': '`' + }; + + var regexInvalidEntity = /&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/; + var regexInvalidRawCodePoint = /[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; + var regexDecode = /&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g; + var decodeMap = {'aacute':'\xE1','Aacute':'\xC1','abreve':'\u0103','Abreve':'\u0102','ac':'\u223E','acd':'\u223F','acE':'\u223E\u0333','acirc':'\xE2','Acirc':'\xC2','acute':'\xB4','acy':'\u0430','Acy':'\u0410','aelig':'\xE6','AElig':'\xC6','af':'\u2061','afr':'\uD835\uDD1E','Afr':'\uD835\uDD04','agrave':'\xE0','Agrave':'\xC0','alefsym':'\u2135','aleph':'\u2135','alpha':'\u03B1','Alpha':'\u0391','amacr':'\u0101','Amacr':'\u0100','amalg':'\u2A3F','amp':'&','AMP':'&','and':'\u2227','And':'\u2A53','andand':'\u2A55','andd':'\u2A5C','andslope':'\u2A58','andv':'\u2A5A','ang':'\u2220','ange':'\u29A4','angle':'\u2220','angmsd':'\u2221','angmsdaa':'\u29A8','angmsdab':'\u29A9','angmsdac':'\u29AA','angmsdad':'\u29AB','angmsdae':'\u29AC','angmsdaf':'\u29AD','angmsdag':'\u29AE','angmsdah':'\u29AF','angrt':'\u221F','angrtvb':'\u22BE','angrtvbd':'\u299D','angsph':'\u2222','angst':'\xC5','angzarr':'\u237C','aogon':'\u0105','Aogon':'\u0104','aopf':'\uD835\uDD52','Aopf':'\uD835\uDD38','ap':'\u2248','apacir':'\u2A6F','ape':'\u224A','apE':'\u2A70','apid':'\u224B','apos':'\'','ApplyFunction':'\u2061','approx':'\u2248','approxeq':'\u224A','aring':'\xE5','Aring':'\xC5','ascr':'\uD835\uDCB6','Ascr':'\uD835\uDC9C','Assign':'\u2254','ast':'*','asymp':'\u2248','asympeq':'\u224D','atilde':'\xE3','Atilde':'\xC3','auml':'\xE4','Auml':'\xC4','awconint':'\u2233','awint':'\u2A11','backcong':'\u224C','backepsilon':'\u03F6','backprime':'\u2035','backsim':'\u223D','backsimeq':'\u22CD','Backslash':'\u2216','Barv':'\u2AE7','barvee':'\u22BD','barwed':'\u2305','Barwed':'\u2306','barwedge':'\u2305','bbrk':'\u23B5','bbrktbrk':'\u23B6','bcong':'\u224C','bcy':'\u0431','Bcy':'\u0411','bdquo':'\u201E','becaus':'\u2235','because':'\u2235','Because':'\u2235','bemptyv':'\u29B0','bepsi':'\u03F6','bernou':'\u212C','Bernoullis':'\u212C','beta':'\u03B2','Beta':'\u0392','beth':'\u2136','between':'\u226C','bfr':'\uD835\uDD1F','Bfr':'\uD835\uDD05','bigcap':'\u22C2','bigcirc':'\u25EF','bigcup':'\u22C3','bigodot':'\u2A00','bigoplus':'\u2A01','bigotimes':'\u2A02','bigsqcup':'\u2A06','bigstar':'\u2605','bigtriangledown':'\u25BD','bigtriangleup':'\u25B3','biguplus':'\u2A04','bigvee':'\u22C1','bigwedge':'\u22C0','bkarow':'\u290D','blacklozenge':'\u29EB','blacksquare':'\u25AA','blacktriangle':'\u25B4','blacktriangledown':'\u25BE','blacktriangleleft':'\u25C2','blacktriangleright':'\u25B8','blank':'\u2423','blk12':'\u2592','blk14':'\u2591','blk34':'\u2593','block':'\u2588','bne':'=\u20E5','bnequiv':'\u2261\u20E5','bnot':'\u2310','bNot':'\u2AED','bopf':'\uD835\uDD53','Bopf':'\uD835\uDD39','bot':'\u22A5','bottom':'\u22A5','bowtie':'\u22C8','boxbox':'\u29C9','boxdl':'\u2510','boxdL':'\u2555','boxDl':'\u2556','boxDL':'\u2557','boxdr':'\u250C','boxdR':'\u2552','boxDr':'\u2553','boxDR':'\u2554','boxh':'\u2500','boxH':'\u2550','boxhd':'\u252C','boxhD':'\u2565','boxHd':'\u2564','boxHD':'\u2566','boxhu':'\u2534','boxhU':'\u2568','boxHu':'\u2567','boxHU':'\u2569','boxminus':'\u229F','boxplus':'\u229E','boxtimes':'\u22A0','boxul':'\u2518','boxuL':'\u255B','boxUl':'\u255C','boxUL':'\u255D','boxur':'\u2514','boxuR':'\u2558','boxUr':'\u2559','boxUR':'\u255A','boxv':'\u2502','boxV':'\u2551','boxvh':'\u253C','boxvH':'\u256A','boxVh':'\u256B','boxVH':'\u256C','boxvl':'\u2524','boxvL':'\u2561','boxVl':'\u2562','boxVL':'\u2563','boxvr':'\u251C','boxvR':'\u255E','boxVr':'\u255F','boxVR':'\u2560','bprime':'\u2035','breve':'\u02D8','Breve':'\u02D8','brvbar':'\xA6','bscr':'\uD835\uDCB7','Bscr':'\u212C','bsemi':'\u204F','bsim':'\u223D','bsime':'\u22CD','bsol':'\\','bsolb':'\u29C5','bsolhsub':'\u27C8','bull':'\u2022','bullet':'\u2022','bump':'\u224E','bumpe':'\u224F','bumpE':'\u2AAE','bumpeq':'\u224F','Bumpeq':'\u224E','cacute':'\u0107','Cacute':'\u0106','cap':'\u2229','Cap':'\u22D2','capand':'\u2A44','capbrcup':'\u2A49','capcap':'\u2A4B','capcup':'\u2A47','capdot':'\u2A40','CapitalDifferentialD':'\u2145','caps':'\u2229\uFE00','caret':'\u2041','caron':'\u02C7','Cayleys':'\u212D','ccaps':'\u2A4D','ccaron':'\u010D','Ccaron':'\u010C','ccedil':'\xE7','Ccedil':'\xC7','ccirc':'\u0109','Ccirc':'\u0108','Cconint':'\u2230','ccups':'\u2A4C','ccupssm':'\u2A50','cdot':'\u010B','Cdot':'\u010A','cedil':'\xB8','Cedilla':'\xB8','cemptyv':'\u29B2','cent':'\xA2','centerdot':'\xB7','CenterDot':'\xB7','cfr':'\uD835\uDD20','Cfr':'\u212D','chcy':'\u0447','CHcy':'\u0427','check':'\u2713','checkmark':'\u2713','chi':'\u03C7','Chi':'\u03A7','cir':'\u25CB','circ':'\u02C6','circeq':'\u2257','circlearrowleft':'\u21BA','circlearrowright':'\u21BB','circledast':'\u229B','circledcirc':'\u229A','circleddash':'\u229D','CircleDot':'\u2299','circledR':'\xAE','circledS':'\u24C8','CircleMinus':'\u2296','CirclePlus':'\u2295','CircleTimes':'\u2297','cire':'\u2257','cirE':'\u29C3','cirfnint':'\u2A10','cirmid':'\u2AEF','cirscir':'\u29C2','ClockwiseContourIntegral':'\u2232','CloseCurlyDoubleQuote':'\u201D','CloseCurlyQuote':'\u2019','clubs':'\u2663','clubsuit':'\u2663','colon':':','Colon':'\u2237','colone':'\u2254','Colone':'\u2A74','coloneq':'\u2254','comma':',','commat':'@','comp':'\u2201','compfn':'\u2218','complement':'\u2201','complexes':'\u2102','cong':'\u2245','congdot':'\u2A6D','Congruent':'\u2261','conint':'\u222E','Conint':'\u222F','ContourIntegral':'\u222E','copf':'\uD835\uDD54','Copf':'\u2102','coprod':'\u2210','Coproduct':'\u2210','copy':'\xA9','COPY':'\xA9','copysr':'\u2117','CounterClockwiseContourIntegral':'\u2233','crarr':'\u21B5','cross':'\u2717','Cross':'\u2A2F','cscr':'\uD835\uDCB8','Cscr':'\uD835\uDC9E','csub':'\u2ACF','csube':'\u2AD1','csup':'\u2AD0','csupe':'\u2AD2','ctdot':'\u22EF','cudarrl':'\u2938','cudarrr':'\u2935','cuepr':'\u22DE','cuesc':'\u22DF','cularr':'\u21B6','cularrp':'\u293D','cup':'\u222A','Cup':'\u22D3','cupbrcap':'\u2A48','cupcap':'\u2A46','CupCap':'\u224D','cupcup':'\u2A4A','cupdot':'\u228D','cupor':'\u2A45','cups':'\u222A\uFE00','curarr':'\u21B7','curarrm':'\u293C','curlyeqprec':'\u22DE','curlyeqsucc':'\u22DF','curlyvee':'\u22CE','curlywedge':'\u22CF','curren':'\xA4','curvearrowleft':'\u21B6','curvearrowright':'\u21B7','cuvee':'\u22CE','cuwed':'\u22CF','cwconint':'\u2232','cwint':'\u2231','cylcty':'\u232D','dagger':'\u2020','Dagger':'\u2021','daleth':'\u2138','darr':'\u2193','dArr':'\u21D3','Darr':'\u21A1','dash':'\u2010','dashv':'\u22A3','Dashv':'\u2AE4','dbkarow':'\u290F','dblac':'\u02DD','dcaron':'\u010F','Dcaron':'\u010E','dcy':'\u0434','Dcy':'\u0414','dd':'\u2146','DD':'\u2145','ddagger':'\u2021','ddarr':'\u21CA','DDotrahd':'\u2911','ddotseq':'\u2A77','deg':'\xB0','Del':'\u2207','delta':'\u03B4','Delta':'\u0394','demptyv':'\u29B1','dfisht':'\u297F','dfr':'\uD835\uDD21','Dfr':'\uD835\uDD07','dHar':'\u2965','dharl':'\u21C3','dharr':'\u21C2','DiacriticalAcute':'\xB4','DiacriticalDot':'\u02D9','DiacriticalDoubleAcute':'\u02DD','DiacriticalGrave':'`','DiacriticalTilde':'\u02DC','diam':'\u22C4','diamond':'\u22C4','Diamond':'\u22C4','diamondsuit':'\u2666','diams':'\u2666','die':'\xA8','DifferentialD':'\u2146','digamma':'\u03DD','disin':'\u22F2','div':'\xF7','divide':'\xF7','divideontimes':'\u22C7','divonx':'\u22C7','djcy':'\u0452','DJcy':'\u0402','dlcorn':'\u231E','dlcrop':'\u230D','dollar':'$','dopf':'\uD835\uDD55','Dopf':'\uD835\uDD3B','dot':'\u02D9','Dot':'\xA8','DotDot':'\u20DC','doteq':'\u2250','doteqdot':'\u2251','DotEqual':'\u2250','dotminus':'\u2238','dotplus':'\u2214','dotsquare':'\u22A1','doublebarwedge':'\u2306','DoubleContourIntegral':'\u222F','DoubleDot':'\xA8','DoubleDownArrow':'\u21D3','DoubleLeftArrow':'\u21D0','DoubleLeftRightArrow':'\u21D4','DoubleLeftTee':'\u2AE4','DoubleLongLeftArrow':'\u27F8','DoubleLongLeftRightArrow':'\u27FA','DoubleLongRightArrow':'\u27F9','DoubleRightArrow':'\u21D2','DoubleRightTee':'\u22A8','DoubleUpArrow':'\u21D1','DoubleUpDownArrow':'\u21D5','DoubleVerticalBar':'\u2225','downarrow':'\u2193','Downarrow':'\u21D3','DownArrow':'\u2193','DownArrowBar':'\u2913','DownArrowUpArrow':'\u21F5','DownBreve':'\u0311','downdownarrows':'\u21CA','downharpoonleft':'\u21C3','downharpoonright':'\u21C2','DownLeftRightVector':'\u2950','DownLeftTeeVector':'\u295E','DownLeftVector':'\u21BD','DownLeftVectorBar':'\u2956','DownRightTeeVector':'\u295F','DownRightVector':'\u21C1','DownRightVectorBar':'\u2957','DownTee':'\u22A4','DownTeeArrow':'\u21A7','drbkarow':'\u2910','drcorn':'\u231F','drcrop':'\u230C','dscr':'\uD835\uDCB9','Dscr':'\uD835\uDC9F','dscy':'\u0455','DScy':'\u0405','dsol':'\u29F6','dstrok':'\u0111','Dstrok':'\u0110','dtdot':'\u22F1','dtri':'\u25BF','dtrif':'\u25BE','duarr':'\u21F5','duhar':'\u296F','dwangle':'\u29A6','dzcy':'\u045F','DZcy':'\u040F','dzigrarr':'\u27FF','eacute':'\xE9','Eacute':'\xC9','easter':'\u2A6E','ecaron':'\u011B','Ecaron':'\u011A','ecir':'\u2256','ecirc':'\xEA','Ecirc':'\xCA','ecolon':'\u2255','ecy':'\u044D','Ecy':'\u042D','eDDot':'\u2A77','edot':'\u0117','eDot':'\u2251','Edot':'\u0116','ee':'\u2147','efDot':'\u2252','efr':'\uD835\uDD22','Efr':'\uD835\uDD08','eg':'\u2A9A','egrave':'\xE8','Egrave':'\xC8','egs':'\u2A96','egsdot':'\u2A98','el':'\u2A99','Element':'\u2208','elinters':'\u23E7','ell':'\u2113','els':'\u2A95','elsdot':'\u2A97','emacr':'\u0113','Emacr':'\u0112','empty':'\u2205','emptyset':'\u2205','EmptySmallSquare':'\u25FB','emptyv':'\u2205','EmptyVerySmallSquare':'\u25AB','emsp':'\u2003','emsp13':'\u2004','emsp14':'\u2005','eng':'\u014B','ENG':'\u014A','ensp':'\u2002','eogon':'\u0119','Eogon':'\u0118','eopf':'\uD835\uDD56','Eopf':'\uD835\uDD3C','epar':'\u22D5','eparsl':'\u29E3','eplus':'\u2A71','epsi':'\u03B5','epsilon':'\u03B5','Epsilon':'\u0395','epsiv':'\u03F5','eqcirc':'\u2256','eqcolon':'\u2255','eqsim':'\u2242','eqslantgtr':'\u2A96','eqslantless':'\u2A95','Equal':'\u2A75','equals':'=','EqualTilde':'\u2242','equest':'\u225F','Equilibrium':'\u21CC','equiv':'\u2261','equivDD':'\u2A78','eqvparsl':'\u29E5','erarr':'\u2971','erDot':'\u2253','escr':'\u212F','Escr':'\u2130','esdot':'\u2250','esim':'\u2242','Esim':'\u2A73','eta':'\u03B7','Eta':'\u0397','eth':'\xF0','ETH':'\xD0','euml':'\xEB','Euml':'\xCB','euro':'\u20AC','excl':'!','exist':'\u2203','Exists':'\u2203','expectation':'\u2130','exponentiale':'\u2147','ExponentialE':'\u2147','fallingdotseq':'\u2252','fcy':'\u0444','Fcy':'\u0424','female':'\u2640','ffilig':'\uFB03','fflig':'\uFB00','ffllig':'\uFB04','ffr':'\uD835\uDD23','Ffr':'\uD835\uDD09','filig':'\uFB01','FilledSmallSquare':'\u25FC','FilledVerySmallSquare':'\u25AA','fjlig':'fj','flat':'\u266D','fllig':'\uFB02','fltns':'\u25B1','fnof':'\u0192','fopf':'\uD835\uDD57','Fopf':'\uD835\uDD3D','forall':'\u2200','ForAll':'\u2200','fork':'\u22D4','forkv':'\u2AD9','Fouriertrf':'\u2131','fpartint':'\u2A0D','frac12':'\xBD','frac13':'\u2153','frac14':'\xBC','frac15':'\u2155','frac16':'\u2159','frac18':'\u215B','frac23':'\u2154','frac25':'\u2156','frac34':'\xBE','frac35':'\u2157','frac38':'\u215C','frac45':'\u2158','frac56':'\u215A','frac58':'\u215D','frac78':'\u215E','frasl':'\u2044','frown':'\u2322','fscr':'\uD835\uDCBB','Fscr':'\u2131','gacute':'\u01F5','gamma':'\u03B3','Gamma':'\u0393','gammad':'\u03DD','Gammad':'\u03DC','gap':'\u2A86','gbreve':'\u011F','Gbreve':'\u011E','Gcedil':'\u0122','gcirc':'\u011D','Gcirc':'\u011C','gcy':'\u0433','Gcy':'\u0413','gdot':'\u0121','Gdot':'\u0120','ge':'\u2265','gE':'\u2267','gel':'\u22DB','gEl':'\u2A8C','geq':'\u2265','geqq':'\u2267','geqslant':'\u2A7E','ges':'\u2A7E','gescc':'\u2AA9','gesdot':'\u2A80','gesdoto':'\u2A82','gesdotol':'\u2A84','gesl':'\u22DB\uFE00','gesles':'\u2A94','gfr':'\uD835\uDD24','Gfr':'\uD835\uDD0A','gg':'\u226B','Gg':'\u22D9','ggg':'\u22D9','gimel':'\u2137','gjcy':'\u0453','GJcy':'\u0403','gl':'\u2277','gla':'\u2AA5','glE':'\u2A92','glj':'\u2AA4','gnap':'\u2A8A','gnapprox':'\u2A8A','gne':'\u2A88','gnE':'\u2269','gneq':'\u2A88','gneqq':'\u2269','gnsim':'\u22E7','gopf':'\uD835\uDD58','Gopf':'\uD835\uDD3E','grave':'`','GreaterEqual':'\u2265','GreaterEqualLess':'\u22DB','GreaterFullEqual':'\u2267','GreaterGreater':'\u2AA2','GreaterLess':'\u2277','GreaterSlantEqual':'\u2A7E','GreaterTilde':'\u2273','gscr':'\u210A','Gscr':'\uD835\uDCA2','gsim':'\u2273','gsime':'\u2A8E','gsiml':'\u2A90','gt':'>','Gt':'\u226B','GT':'>','gtcc':'\u2AA7','gtcir':'\u2A7A','gtdot':'\u22D7','gtlPar':'\u2995','gtquest':'\u2A7C','gtrapprox':'\u2A86','gtrarr':'\u2978','gtrdot':'\u22D7','gtreqless':'\u22DB','gtreqqless':'\u2A8C','gtrless':'\u2277','gtrsim':'\u2273','gvertneqq':'\u2269\uFE00','gvnE':'\u2269\uFE00','Hacek':'\u02C7','hairsp':'\u200A','half':'\xBD','hamilt':'\u210B','hardcy':'\u044A','HARDcy':'\u042A','harr':'\u2194','hArr':'\u21D4','harrcir':'\u2948','harrw':'\u21AD','Hat':'^','hbar':'\u210F','hcirc':'\u0125','Hcirc':'\u0124','hearts':'\u2665','heartsuit':'\u2665','hellip':'\u2026','hercon':'\u22B9','hfr':'\uD835\uDD25','Hfr':'\u210C','HilbertSpace':'\u210B','hksearow':'\u2925','hkswarow':'\u2926','hoarr':'\u21FF','homtht':'\u223B','hookleftarrow':'\u21A9','hookrightarrow':'\u21AA','hopf':'\uD835\uDD59','Hopf':'\u210D','horbar':'\u2015','HorizontalLine':'\u2500','hscr':'\uD835\uDCBD','Hscr':'\u210B','hslash':'\u210F','hstrok':'\u0127','Hstrok':'\u0126','HumpDownHump':'\u224E','HumpEqual':'\u224F','hybull':'\u2043','hyphen':'\u2010','iacute':'\xED','Iacute':'\xCD','ic':'\u2063','icirc':'\xEE','Icirc':'\xCE','icy':'\u0438','Icy':'\u0418','Idot':'\u0130','iecy':'\u0435','IEcy':'\u0415','iexcl':'\xA1','iff':'\u21D4','ifr':'\uD835\uDD26','Ifr':'\u2111','igrave':'\xEC','Igrave':'\xCC','ii':'\u2148','iiiint':'\u2A0C','iiint':'\u222D','iinfin':'\u29DC','iiota':'\u2129','ijlig':'\u0133','IJlig':'\u0132','Im':'\u2111','imacr':'\u012B','Imacr':'\u012A','image':'\u2111','ImaginaryI':'\u2148','imagline':'\u2110','imagpart':'\u2111','imath':'\u0131','imof':'\u22B7','imped':'\u01B5','Implies':'\u21D2','in':'\u2208','incare':'\u2105','infin':'\u221E','infintie':'\u29DD','inodot':'\u0131','int':'\u222B','Int':'\u222C','intcal':'\u22BA','integers':'\u2124','Integral':'\u222B','intercal':'\u22BA','Intersection':'\u22C2','intlarhk':'\u2A17','intprod':'\u2A3C','InvisibleComma':'\u2063','InvisibleTimes':'\u2062','iocy':'\u0451','IOcy':'\u0401','iogon':'\u012F','Iogon':'\u012E','iopf':'\uD835\uDD5A','Iopf':'\uD835\uDD40','iota':'\u03B9','Iota':'\u0399','iprod':'\u2A3C','iquest':'\xBF','iscr':'\uD835\uDCBE','Iscr':'\u2110','isin':'\u2208','isindot':'\u22F5','isinE':'\u22F9','isins':'\u22F4','isinsv':'\u22F3','isinv':'\u2208','it':'\u2062','itilde':'\u0129','Itilde':'\u0128','iukcy':'\u0456','Iukcy':'\u0406','iuml':'\xEF','Iuml':'\xCF','jcirc':'\u0135','Jcirc':'\u0134','jcy':'\u0439','Jcy':'\u0419','jfr':'\uD835\uDD27','Jfr':'\uD835\uDD0D','jmath':'\u0237','jopf':'\uD835\uDD5B','Jopf':'\uD835\uDD41','jscr':'\uD835\uDCBF','Jscr':'\uD835\uDCA5','jsercy':'\u0458','Jsercy':'\u0408','jukcy':'\u0454','Jukcy':'\u0404','kappa':'\u03BA','Kappa':'\u039A','kappav':'\u03F0','kcedil':'\u0137','Kcedil':'\u0136','kcy':'\u043A','Kcy':'\u041A','kfr':'\uD835\uDD28','Kfr':'\uD835\uDD0E','kgreen':'\u0138','khcy':'\u0445','KHcy':'\u0425','kjcy':'\u045C','KJcy':'\u040C','kopf':'\uD835\uDD5C','Kopf':'\uD835\uDD42','kscr':'\uD835\uDCC0','Kscr':'\uD835\uDCA6','lAarr':'\u21DA','lacute':'\u013A','Lacute':'\u0139','laemptyv':'\u29B4','lagran':'\u2112','lambda':'\u03BB','Lambda':'\u039B','lang':'\u27E8','Lang':'\u27EA','langd':'\u2991','langle':'\u27E8','lap':'\u2A85','Laplacetrf':'\u2112','laquo':'\xAB','larr':'\u2190','lArr':'\u21D0','Larr':'\u219E','larrb':'\u21E4','larrbfs':'\u291F','larrfs':'\u291D','larrhk':'\u21A9','larrlp':'\u21AB','larrpl':'\u2939','larrsim':'\u2973','larrtl':'\u21A2','lat':'\u2AAB','latail':'\u2919','lAtail':'\u291B','late':'\u2AAD','lates':'\u2AAD\uFE00','lbarr':'\u290C','lBarr':'\u290E','lbbrk':'\u2772','lbrace':'{','lbrack':'[','lbrke':'\u298B','lbrksld':'\u298F','lbrkslu':'\u298D','lcaron':'\u013E','Lcaron':'\u013D','lcedil':'\u013C','Lcedil':'\u013B','lceil':'\u2308','lcub':'{','lcy':'\u043B','Lcy':'\u041B','ldca':'\u2936','ldquo':'\u201C','ldquor':'\u201E','ldrdhar':'\u2967','ldrushar':'\u294B','ldsh':'\u21B2','le':'\u2264','lE':'\u2266','LeftAngleBracket':'\u27E8','leftarrow':'\u2190','Leftarrow':'\u21D0','LeftArrow':'\u2190','LeftArrowBar':'\u21E4','LeftArrowRightArrow':'\u21C6','leftarrowtail':'\u21A2','LeftCeiling':'\u2308','LeftDoubleBracket':'\u27E6','LeftDownTeeVector':'\u2961','LeftDownVector':'\u21C3','LeftDownVectorBar':'\u2959','LeftFloor':'\u230A','leftharpoondown':'\u21BD','leftharpoonup':'\u21BC','leftleftarrows':'\u21C7','leftrightarrow':'\u2194','Leftrightarrow':'\u21D4','LeftRightArrow':'\u2194','leftrightarrows':'\u21C6','leftrightharpoons':'\u21CB','leftrightsquigarrow':'\u21AD','LeftRightVector':'\u294E','LeftTee':'\u22A3','LeftTeeArrow':'\u21A4','LeftTeeVector':'\u295A','leftthreetimes':'\u22CB','LeftTriangle':'\u22B2','LeftTriangleBar':'\u29CF','LeftTriangleEqual':'\u22B4','LeftUpDownVector':'\u2951','LeftUpTeeVector':'\u2960','LeftUpVector':'\u21BF','LeftUpVectorBar':'\u2958','LeftVector':'\u21BC','LeftVectorBar':'\u2952','leg':'\u22DA','lEg':'\u2A8B','leq':'\u2264','leqq':'\u2266','leqslant':'\u2A7D','les':'\u2A7D','lescc':'\u2AA8','lesdot':'\u2A7F','lesdoto':'\u2A81','lesdotor':'\u2A83','lesg':'\u22DA\uFE00','lesges':'\u2A93','lessapprox':'\u2A85','lessdot':'\u22D6','lesseqgtr':'\u22DA','lesseqqgtr':'\u2A8B','LessEqualGreater':'\u22DA','LessFullEqual':'\u2266','LessGreater':'\u2276','lessgtr':'\u2276','LessLess':'\u2AA1','lesssim':'\u2272','LessSlantEqual':'\u2A7D','LessTilde':'\u2272','lfisht':'\u297C','lfloor':'\u230A','lfr':'\uD835\uDD29','Lfr':'\uD835\uDD0F','lg':'\u2276','lgE':'\u2A91','lHar':'\u2962','lhard':'\u21BD','lharu':'\u21BC','lharul':'\u296A','lhblk':'\u2584','ljcy':'\u0459','LJcy':'\u0409','ll':'\u226A','Ll':'\u22D8','llarr':'\u21C7','llcorner':'\u231E','Lleftarrow':'\u21DA','llhard':'\u296B','lltri':'\u25FA','lmidot':'\u0140','Lmidot':'\u013F','lmoust':'\u23B0','lmoustache':'\u23B0','lnap':'\u2A89','lnapprox':'\u2A89','lne':'\u2A87','lnE':'\u2268','lneq':'\u2A87','lneqq':'\u2268','lnsim':'\u22E6','loang':'\u27EC','loarr':'\u21FD','lobrk':'\u27E6','longleftarrow':'\u27F5','Longleftarrow':'\u27F8','LongLeftArrow':'\u27F5','longleftrightarrow':'\u27F7','Longleftrightarrow':'\u27FA','LongLeftRightArrow':'\u27F7','longmapsto':'\u27FC','longrightarrow':'\u27F6','Longrightarrow':'\u27F9','LongRightArrow':'\u27F6','looparrowleft':'\u21AB','looparrowright':'\u21AC','lopar':'\u2985','lopf':'\uD835\uDD5D','Lopf':'\uD835\uDD43','loplus':'\u2A2D','lotimes':'\u2A34','lowast':'\u2217','lowbar':'_','LowerLeftArrow':'\u2199','LowerRightArrow':'\u2198','loz':'\u25CA','lozenge':'\u25CA','lozf':'\u29EB','lpar':'(','lparlt':'\u2993','lrarr':'\u21C6','lrcorner':'\u231F','lrhar':'\u21CB','lrhard':'\u296D','lrm':'\u200E','lrtri':'\u22BF','lsaquo':'\u2039','lscr':'\uD835\uDCC1','Lscr':'\u2112','lsh':'\u21B0','Lsh':'\u21B0','lsim':'\u2272','lsime':'\u2A8D','lsimg':'\u2A8F','lsqb':'[','lsquo':'\u2018','lsquor':'\u201A','lstrok':'\u0142','Lstrok':'\u0141','lt':'<','Lt':'\u226A','LT':'<','ltcc':'\u2AA6','ltcir':'\u2A79','ltdot':'\u22D6','lthree':'\u22CB','ltimes':'\u22C9','ltlarr':'\u2976','ltquest':'\u2A7B','ltri':'\u25C3','ltrie':'\u22B4','ltrif':'\u25C2','ltrPar':'\u2996','lurdshar':'\u294A','luruhar':'\u2966','lvertneqq':'\u2268\uFE00','lvnE':'\u2268\uFE00','macr':'\xAF','male':'\u2642','malt':'\u2720','maltese':'\u2720','map':'\u21A6','Map':'\u2905','mapsto':'\u21A6','mapstodown':'\u21A7','mapstoleft':'\u21A4','mapstoup':'\u21A5','marker':'\u25AE','mcomma':'\u2A29','mcy':'\u043C','Mcy':'\u041C','mdash':'\u2014','mDDot':'\u223A','measuredangle':'\u2221','MediumSpace':'\u205F','Mellintrf':'\u2133','mfr':'\uD835\uDD2A','Mfr':'\uD835\uDD10','mho':'\u2127','micro':'\xB5','mid':'\u2223','midast':'*','midcir':'\u2AF0','middot':'\xB7','minus':'\u2212','minusb':'\u229F','minusd':'\u2238','minusdu':'\u2A2A','MinusPlus':'\u2213','mlcp':'\u2ADB','mldr':'\u2026','mnplus':'\u2213','models':'\u22A7','mopf':'\uD835\uDD5E','Mopf':'\uD835\uDD44','mp':'\u2213','mscr':'\uD835\uDCC2','Mscr':'\u2133','mstpos':'\u223E','mu':'\u03BC','Mu':'\u039C','multimap':'\u22B8','mumap':'\u22B8','nabla':'\u2207','nacute':'\u0144','Nacute':'\u0143','nang':'\u2220\u20D2','nap':'\u2249','napE':'\u2A70\u0338','napid':'\u224B\u0338','napos':'\u0149','napprox':'\u2249','natur':'\u266E','natural':'\u266E','naturals':'\u2115','nbsp':'\xA0','nbump':'\u224E\u0338','nbumpe':'\u224F\u0338','ncap':'\u2A43','ncaron':'\u0148','Ncaron':'\u0147','ncedil':'\u0146','Ncedil':'\u0145','ncong':'\u2247','ncongdot':'\u2A6D\u0338','ncup':'\u2A42','ncy':'\u043D','Ncy':'\u041D','ndash':'\u2013','ne':'\u2260','nearhk':'\u2924','nearr':'\u2197','neArr':'\u21D7','nearrow':'\u2197','nedot':'\u2250\u0338','NegativeMediumSpace':'\u200B','NegativeThickSpace':'\u200B','NegativeThinSpace':'\u200B','NegativeVeryThinSpace':'\u200B','nequiv':'\u2262','nesear':'\u2928','nesim':'\u2242\u0338','NestedGreaterGreater':'\u226B','NestedLessLess':'\u226A','NewLine':'\n','nexist':'\u2204','nexists':'\u2204','nfr':'\uD835\uDD2B','Nfr':'\uD835\uDD11','nge':'\u2271','ngE':'\u2267\u0338','ngeq':'\u2271','ngeqq':'\u2267\u0338','ngeqslant':'\u2A7E\u0338','nges':'\u2A7E\u0338','nGg':'\u22D9\u0338','ngsim':'\u2275','ngt':'\u226F','nGt':'\u226B\u20D2','ngtr':'\u226F','nGtv':'\u226B\u0338','nharr':'\u21AE','nhArr':'\u21CE','nhpar':'\u2AF2','ni':'\u220B','nis':'\u22FC','nisd':'\u22FA','niv':'\u220B','njcy':'\u045A','NJcy':'\u040A','nlarr':'\u219A','nlArr':'\u21CD','nldr':'\u2025','nle':'\u2270','nlE':'\u2266\u0338','nleftarrow':'\u219A','nLeftarrow':'\u21CD','nleftrightarrow':'\u21AE','nLeftrightarrow':'\u21CE','nleq':'\u2270','nleqq':'\u2266\u0338','nleqslant':'\u2A7D\u0338','nles':'\u2A7D\u0338','nless':'\u226E','nLl':'\u22D8\u0338','nlsim':'\u2274','nlt':'\u226E','nLt':'\u226A\u20D2','nltri':'\u22EA','nltrie':'\u22EC','nLtv':'\u226A\u0338','nmid':'\u2224','NoBreak':'\u2060','NonBreakingSpace':'\xA0','nopf':'\uD835\uDD5F','Nopf':'\u2115','not':'\xAC','Not':'\u2AEC','NotCongruent':'\u2262','NotCupCap':'\u226D','NotDoubleVerticalBar':'\u2226','NotElement':'\u2209','NotEqual':'\u2260','NotEqualTilde':'\u2242\u0338','NotExists':'\u2204','NotGreater':'\u226F','NotGreaterEqual':'\u2271','NotGreaterFullEqual':'\u2267\u0338','NotGreaterGreater':'\u226B\u0338','NotGreaterLess':'\u2279','NotGreaterSlantEqual':'\u2A7E\u0338','NotGreaterTilde':'\u2275','NotHumpDownHump':'\u224E\u0338','NotHumpEqual':'\u224F\u0338','notin':'\u2209','notindot':'\u22F5\u0338','notinE':'\u22F9\u0338','notinva':'\u2209','notinvb':'\u22F7','notinvc':'\u22F6','NotLeftTriangle':'\u22EA','NotLeftTriangleBar':'\u29CF\u0338','NotLeftTriangleEqual':'\u22EC','NotLess':'\u226E','NotLessEqual':'\u2270','NotLessGreater':'\u2278','NotLessLess':'\u226A\u0338','NotLessSlantEqual':'\u2A7D\u0338','NotLessTilde':'\u2274','NotNestedGreaterGreater':'\u2AA2\u0338','NotNestedLessLess':'\u2AA1\u0338','notni':'\u220C','notniva':'\u220C','notnivb':'\u22FE','notnivc':'\u22FD','NotPrecedes':'\u2280','NotPrecedesEqual':'\u2AAF\u0338','NotPrecedesSlantEqual':'\u22E0','NotReverseElement':'\u220C','NotRightTriangle':'\u22EB','NotRightTriangleBar':'\u29D0\u0338','NotRightTriangleEqual':'\u22ED','NotSquareSubset':'\u228F\u0338','NotSquareSubsetEqual':'\u22E2','NotSquareSuperset':'\u2290\u0338','NotSquareSupersetEqual':'\u22E3','NotSubset':'\u2282\u20D2','NotSubsetEqual':'\u2288','NotSucceeds':'\u2281','NotSucceedsEqual':'\u2AB0\u0338','NotSucceedsSlantEqual':'\u22E1','NotSucceedsTilde':'\u227F\u0338','NotSuperset':'\u2283\u20D2','NotSupersetEqual':'\u2289','NotTilde':'\u2241','NotTildeEqual':'\u2244','NotTildeFullEqual':'\u2247','NotTildeTilde':'\u2249','NotVerticalBar':'\u2224','npar':'\u2226','nparallel':'\u2226','nparsl':'\u2AFD\u20E5','npart':'\u2202\u0338','npolint':'\u2A14','npr':'\u2280','nprcue':'\u22E0','npre':'\u2AAF\u0338','nprec':'\u2280','npreceq':'\u2AAF\u0338','nrarr':'\u219B','nrArr':'\u21CF','nrarrc':'\u2933\u0338','nrarrw':'\u219D\u0338','nrightarrow':'\u219B','nRightarrow':'\u21CF','nrtri':'\u22EB','nrtrie':'\u22ED','nsc':'\u2281','nsccue':'\u22E1','nsce':'\u2AB0\u0338','nscr':'\uD835\uDCC3','Nscr':'\uD835\uDCA9','nshortmid':'\u2224','nshortparallel':'\u2226','nsim':'\u2241','nsime':'\u2244','nsimeq':'\u2244','nsmid':'\u2224','nspar':'\u2226','nsqsube':'\u22E2','nsqsupe':'\u22E3','nsub':'\u2284','nsube':'\u2288','nsubE':'\u2AC5\u0338','nsubset':'\u2282\u20D2','nsubseteq':'\u2288','nsubseteqq':'\u2AC5\u0338','nsucc':'\u2281','nsucceq':'\u2AB0\u0338','nsup':'\u2285','nsupe':'\u2289','nsupE':'\u2AC6\u0338','nsupset':'\u2283\u20D2','nsupseteq':'\u2289','nsupseteqq':'\u2AC6\u0338','ntgl':'\u2279','ntilde':'\xF1','Ntilde':'\xD1','ntlg':'\u2278','ntriangleleft':'\u22EA','ntrianglelefteq':'\u22EC','ntriangleright':'\u22EB','ntrianglerighteq':'\u22ED','nu':'\u03BD','Nu':'\u039D','num':'#','numero':'\u2116','numsp':'\u2007','nvap':'\u224D\u20D2','nvdash':'\u22AC','nvDash':'\u22AD','nVdash':'\u22AE','nVDash':'\u22AF','nvge':'\u2265\u20D2','nvgt':'>\u20D2','nvHarr':'\u2904','nvinfin':'\u29DE','nvlArr':'\u2902','nvle':'\u2264\u20D2','nvlt':'<\u20D2','nvltrie':'\u22B4\u20D2','nvrArr':'\u2903','nvrtrie':'\u22B5\u20D2','nvsim':'\u223C\u20D2','nwarhk':'\u2923','nwarr':'\u2196','nwArr':'\u21D6','nwarrow':'\u2196','nwnear':'\u2927','oacute':'\xF3','Oacute':'\xD3','oast':'\u229B','ocir':'\u229A','ocirc':'\xF4','Ocirc':'\xD4','ocy':'\u043E','Ocy':'\u041E','odash':'\u229D','odblac':'\u0151','Odblac':'\u0150','odiv':'\u2A38','odot':'\u2299','odsold':'\u29BC','oelig':'\u0153','OElig':'\u0152','ofcir':'\u29BF','ofr':'\uD835\uDD2C','Ofr':'\uD835\uDD12','ogon':'\u02DB','ograve':'\xF2','Ograve':'\xD2','ogt':'\u29C1','ohbar':'\u29B5','ohm':'\u03A9','oint':'\u222E','olarr':'\u21BA','olcir':'\u29BE','olcross':'\u29BB','oline':'\u203E','olt':'\u29C0','omacr':'\u014D','Omacr':'\u014C','omega':'\u03C9','Omega':'\u03A9','omicron':'\u03BF','Omicron':'\u039F','omid':'\u29B6','ominus':'\u2296','oopf':'\uD835\uDD60','Oopf':'\uD835\uDD46','opar':'\u29B7','OpenCurlyDoubleQuote':'\u201C','OpenCurlyQuote':'\u2018','operp':'\u29B9','oplus':'\u2295','or':'\u2228','Or':'\u2A54','orarr':'\u21BB','ord':'\u2A5D','order':'\u2134','orderof':'\u2134','ordf':'\xAA','ordm':'\xBA','origof':'\u22B6','oror':'\u2A56','orslope':'\u2A57','orv':'\u2A5B','oS':'\u24C8','oscr':'\u2134','Oscr':'\uD835\uDCAA','oslash':'\xF8','Oslash':'\xD8','osol':'\u2298','otilde':'\xF5','Otilde':'\xD5','otimes':'\u2297','Otimes':'\u2A37','otimesas':'\u2A36','ouml':'\xF6','Ouml':'\xD6','ovbar':'\u233D','OverBar':'\u203E','OverBrace':'\u23DE','OverBracket':'\u23B4','OverParenthesis':'\u23DC','par':'\u2225','para':'\xB6','parallel':'\u2225','parsim':'\u2AF3','parsl':'\u2AFD','part':'\u2202','PartialD':'\u2202','pcy':'\u043F','Pcy':'\u041F','percnt':'%','period':'.','permil':'\u2030','perp':'\u22A5','pertenk':'\u2031','pfr':'\uD835\uDD2D','Pfr':'\uD835\uDD13','phi':'\u03C6','Phi':'\u03A6','phiv':'\u03D5','phmmat':'\u2133','phone':'\u260E','pi':'\u03C0','Pi':'\u03A0','pitchfork':'\u22D4','piv':'\u03D6','planck':'\u210F','planckh':'\u210E','plankv':'\u210F','plus':'+','plusacir':'\u2A23','plusb':'\u229E','pluscir':'\u2A22','plusdo':'\u2214','plusdu':'\u2A25','pluse':'\u2A72','PlusMinus':'\xB1','plusmn':'\xB1','plussim':'\u2A26','plustwo':'\u2A27','pm':'\xB1','Poincareplane':'\u210C','pointint':'\u2A15','popf':'\uD835\uDD61','Popf':'\u2119','pound':'\xA3','pr':'\u227A','Pr':'\u2ABB','prap':'\u2AB7','prcue':'\u227C','pre':'\u2AAF','prE':'\u2AB3','prec':'\u227A','precapprox':'\u2AB7','preccurlyeq':'\u227C','Precedes':'\u227A','PrecedesEqual':'\u2AAF','PrecedesSlantEqual':'\u227C','PrecedesTilde':'\u227E','preceq':'\u2AAF','precnapprox':'\u2AB9','precneqq':'\u2AB5','precnsim':'\u22E8','precsim':'\u227E','prime':'\u2032','Prime':'\u2033','primes':'\u2119','prnap':'\u2AB9','prnE':'\u2AB5','prnsim':'\u22E8','prod':'\u220F','Product':'\u220F','profalar':'\u232E','profline':'\u2312','profsurf':'\u2313','prop':'\u221D','Proportion':'\u2237','Proportional':'\u221D','propto':'\u221D','prsim':'\u227E','prurel':'\u22B0','pscr':'\uD835\uDCC5','Pscr':'\uD835\uDCAB','psi':'\u03C8','Psi':'\u03A8','puncsp':'\u2008','qfr':'\uD835\uDD2E','Qfr':'\uD835\uDD14','qint':'\u2A0C','qopf':'\uD835\uDD62','Qopf':'\u211A','qprime':'\u2057','qscr':'\uD835\uDCC6','Qscr':'\uD835\uDCAC','quaternions':'\u210D','quatint':'\u2A16','quest':'?','questeq':'\u225F','quot':'"','QUOT':'"','rAarr':'\u21DB','race':'\u223D\u0331','racute':'\u0155','Racute':'\u0154','radic':'\u221A','raemptyv':'\u29B3','rang':'\u27E9','Rang':'\u27EB','rangd':'\u2992','range':'\u29A5','rangle':'\u27E9','raquo':'\xBB','rarr':'\u2192','rArr':'\u21D2','Rarr':'\u21A0','rarrap':'\u2975','rarrb':'\u21E5','rarrbfs':'\u2920','rarrc':'\u2933','rarrfs':'\u291E','rarrhk':'\u21AA','rarrlp':'\u21AC','rarrpl':'\u2945','rarrsim':'\u2974','rarrtl':'\u21A3','Rarrtl':'\u2916','rarrw':'\u219D','ratail':'\u291A','rAtail':'\u291C','ratio':'\u2236','rationals':'\u211A','rbarr':'\u290D','rBarr':'\u290F','RBarr':'\u2910','rbbrk':'\u2773','rbrace':'}','rbrack':']','rbrke':'\u298C','rbrksld':'\u298E','rbrkslu':'\u2990','rcaron':'\u0159','Rcaron':'\u0158','rcedil':'\u0157','Rcedil':'\u0156','rceil':'\u2309','rcub':'}','rcy':'\u0440','Rcy':'\u0420','rdca':'\u2937','rdldhar':'\u2969','rdquo':'\u201D','rdquor':'\u201D','rdsh':'\u21B3','Re':'\u211C','real':'\u211C','realine':'\u211B','realpart':'\u211C','reals':'\u211D','rect':'\u25AD','reg':'\xAE','REG':'\xAE','ReverseElement':'\u220B','ReverseEquilibrium':'\u21CB','ReverseUpEquilibrium':'\u296F','rfisht':'\u297D','rfloor':'\u230B','rfr':'\uD835\uDD2F','Rfr':'\u211C','rHar':'\u2964','rhard':'\u21C1','rharu':'\u21C0','rharul':'\u296C','rho':'\u03C1','Rho':'\u03A1','rhov':'\u03F1','RightAngleBracket':'\u27E9','rightarrow':'\u2192','Rightarrow':'\u21D2','RightArrow':'\u2192','RightArrowBar':'\u21E5','RightArrowLeftArrow':'\u21C4','rightarrowtail':'\u21A3','RightCeiling':'\u2309','RightDoubleBracket':'\u27E7','RightDownTeeVector':'\u295D','RightDownVector':'\u21C2','RightDownVectorBar':'\u2955','RightFloor':'\u230B','rightharpoondown':'\u21C1','rightharpoonup':'\u21C0','rightleftarrows':'\u21C4','rightleftharpoons':'\u21CC','rightrightarrows':'\u21C9','rightsquigarrow':'\u219D','RightTee':'\u22A2','RightTeeArrow':'\u21A6','RightTeeVector':'\u295B','rightthreetimes':'\u22CC','RightTriangle':'\u22B3','RightTriangleBar':'\u29D0','RightTriangleEqual':'\u22B5','RightUpDownVector':'\u294F','RightUpTeeVector':'\u295C','RightUpVector':'\u21BE','RightUpVectorBar':'\u2954','RightVector':'\u21C0','RightVectorBar':'\u2953','ring':'\u02DA','risingdotseq':'\u2253','rlarr':'\u21C4','rlhar':'\u21CC','rlm':'\u200F','rmoust':'\u23B1','rmoustache':'\u23B1','rnmid':'\u2AEE','roang':'\u27ED','roarr':'\u21FE','robrk':'\u27E7','ropar':'\u2986','ropf':'\uD835\uDD63','Ropf':'\u211D','roplus':'\u2A2E','rotimes':'\u2A35','RoundImplies':'\u2970','rpar':')','rpargt':'\u2994','rppolint':'\u2A12','rrarr':'\u21C9','Rrightarrow':'\u21DB','rsaquo':'\u203A','rscr':'\uD835\uDCC7','Rscr':'\u211B','rsh':'\u21B1','Rsh':'\u21B1','rsqb':']','rsquo':'\u2019','rsquor':'\u2019','rthree':'\u22CC','rtimes':'\u22CA','rtri':'\u25B9','rtrie':'\u22B5','rtrif':'\u25B8','rtriltri':'\u29CE','RuleDelayed':'\u29F4','ruluhar':'\u2968','rx':'\u211E','sacute':'\u015B','Sacute':'\u015A','sbquo':'\u201A','sc':'\u227B','Sc':'\u2ABC','scap':'\u2AB8','scaron':'\u0161','Scaron':'\u0160','sccue':'\u227D','sce':'\u2AB0','scE':'\u2AB4','scedil':'\u015F','Scedil':'\u015E','scirc':'\u015D','Scirc':'\u015C','scnap':'\u2ABA','scnE':'\u2AB6','scnsim':'\u22E9','scpolint':'\u2A13','scsim':'\u227F','scy':'\u0441','Scy':'\u0421','sdot':'\u22C5','sdotb':'\u22A1','sdote':'\u2A66','searhk':'\u2925','searr':'\u2198','seArr':'\u21D8','searrow':'\u2198','sect':'\xA7','semi':';','seswar':'\u2929','setminus':'\u2216','setmn':'\u2216','sext':'\u2736','sfr':'\uD835\uDD30','Sfr':'\uD835\uDD16','sfrown':'\u2322','sharp':'\u266F','shchcy':'\u0449','SHCHcy':'\u0429','shcy':'\u0448','SHcy':'\u0428','ShortDownArrow':'\u2193','ShortLeftArrow':'\u2190','shortmid':'\u2223','shortparallel':'\u2225','ShortRightArrow':'\u2192','ShortUpArrow':'\u2191','shy':'\xAD','sigma':'\u03C3','Sigma':'\u03A3','sigmaf':'\u03C2','sigmav':'\u03C2','sim':'\u223C','simdot':'\u2A6A','sime':'\u2243','simeq':'\u2243','simg':'\u2A9E','simgE':'\u2AA0','siml':'\u2A9D','simlE':'\u2A9F','simne':'\u2246','simplus':'\u2A24','simrarr':'\u2972','slarr':'\u2190','SmallCircle':'\u2218','smallsetminus':'\u2216','smashp':'\u2A33','smeparsl':'\u29E4','smid':'\u2223','smile':'\u2323','smt':'\u2AAA','smte':'\u2AAC','smtes':'\u2AAC\uFE00','softcy':'\u044C','SOFTcy':'\u042C','sol':'/','solb':'\u29C4','solbar':'\u233F','sopf':'\uD835\uDD64','Sopf':'\uD835\uDD4A','spades':'\u2660','spadesuit':'\u2660','spar':'\u2225','sqcap':'\u2293','sqcaps':'\u2293\uFE00','sqcup':'\u2294','sqcups':'\u2294\uFE00','Sqrt':'\u221A','sqsub':'\u228F','sqsube':'\u2291','sqsubset':'\u228F','sqsubseteq':'\u2291','sqsup':'\u2290','sqsupe':'\u2292','sqsupset':'\u2290','sqsupseteq':'\u2292','squ':'\u25A1','square':'\u25A1','Square':'\u25A1','SquareIntersection':'\u2293','SquareSubset':'\u228F','SquareSubsetEqual':'\u2291','SquareSuperset':'\u2290','SquareSupersetEqual':'\u2292','SquareUnion':'\u2294','squarf':'\u25AA','squf':'\u25AA','srarr':'\u2192','sscr':'\uD835\uDCC8','Sscr':'\uD835\uDCAE','ssetmn':'\u2216','ssmile':'\u2323','sstarf':'\u22C6','star':'\u2606','Star':'\u22C6','starf':'\u2605','straightepsilon':'\u03F5','straightphi':'\u03D5','strns':'\xAF','sub':'\u2282','Sub':'\u22D0','subdot':'\u2ABD','sube':'\u2286','subE':'\u2AC5','subedot':'\u2AC3','submult':'\u2AC1','subne':'\u228A','subnE':'\u2ACB','subplus':'\u2ABF','subrarr':'\u2979','subset':'\u2282','Subset':'\u22D0','subseteq':'\u2286','subseteqq':'\u2AC5','SubsetEqual':'\u2286','subsetneq':'\u228A','subsetneqq':'\u2ACB','subsim':'\u2AC7','subsub':'\u2AD5','subsup':'\u2AD3','succ':'\u227B','succapprox':'\u2AB8','succcurlyeq':'\u227D','Succeeds':'\u227B','SucceedsEqual':'\u2AB0','SucceedsSlantEqual':'\u227D','SucceedsTilde':'\u227F','succeq':'\u2AB0','succnapprox':'\u2ABA','succneqq':'\u2AB6','succnsim':'\u22E9','succsim':'\u227F','SuchThat':'\u220B','sum':'\u2211','Sum':'\u2211','sung':'\u266A','sup':'\u2283','Sup':'\u22D1','sup1':'\xB9','sup2':'\xB2','sup3':'\xB3','supdot':'\u2ABE','supdsub':'\u2AD8','supe':'\u2287','supE':'\u2AC6','supedot':'\u2AC4','Superset':'\u2283','SupersetEqual':'\u2287','suphsol':'\u27C9','suphsub':'\u2AD7','suplarr':'\u297B','supmult':'\u2AC2','supne':'\u228B','supnE':'\u2ACC','supplus':'\u2AC0','supset':'\u2283','Supset':'\u22D1','supseteq':'\u2287','supseteqq':'\u2AC6','supsetneq':'\u228B','supsetneqq':'\u2ACC','supsim':'\u2AC8','supsub':'\u2AD4','supsup':'\u2AD6','swarhk':'\u2926','swarr':'\u2199','swArr':'\u21D9','swarrow':'\u2199','swnwar':'\u292A','szlig':'\xDF','Tab':'\t','target':'\u2316','tau':'\u03C4','Tau':'\u03A4','tbrk':'\u23B4','tcaron':'\u0165','Tcaron':'\u0164','tcedil':'\u0163','Tcedil':'\u0162','tcy':'\u0442','Tcy':'\u0422','tdot':'\u20DB','telrec':'\u2315','tfr':'\uD835\uDD31','Tfr':'\uD835\uDD17','there4':'\u2234','therefore':'\u2234','Therefore':'\u2234','theta':'\u03B8','Theta':'\u0398','thetasym':'\u03D1','thetav':'\u03D1','thickapprox':'\u2248','thicksim':'\u223C','ThickSpace':'\u205F\u200A','thinsp':'\u2009','ThinSpace':'\u2009','thkap':'\u2248','thksim':'\u223C','thorn':'\xFE','THORN':'\xDE','tilde':'\u02DC','Tilde':'\u223C','TildeEqual':'\u2243','TildeFullEqual':'\u2245','TildeTilde':'\u2248','times':'\xD7','timesb':'\u22A0','timesbar':'\u2A31','timesd':'\u2A30','tint':'\u222D','toea':'\u2928','top':'\u22A4','topbot':'\u2336','topcir':'\u2AF1','topf':'\uD835\uDD65','Topf':'\uD835\uDD4B','topfork':'\u2ADA','tosa':'\u2929','tprime':'\u2034','trade':'\u2122','TRADE':'\u2122','triangle':'\u25B5','triangledown':'\u25BF','triangleleft':'\u25C3','trianglelefteq':'\u22B4','triangleq':'\u225C','triangleright':'\u25B9','trianglerighteq':'\u22B5','tridot':'\u25EC','trie':'\u225C','triminus':'\u2A3A','TripleDot':'\u20DB','triplus':'\u2A39','trisb':'\u29CD','tritime':'\u2A3B','trpezium':'\u23E2','tscr':'\uD835\uDCC9','Tscr':'\uD835\uDCAF','tscy':'\u0446','TScy':'\u0426','tshcy':'\u045B','TSHcy':'\u040B','tstrok':'\u0167','Tstrok':'\u0166','twixt':'\u226C','twoheadleftarrow':'\u219E','twoheadrightarrow':'\u21A0','uacute':'\xFA','Uacute':'\xDA','uarr':'\u2191','uArr':'\u21D1','Uarr':'\u219F','Uarrocir':'\u2949','ubrcy':'\u045E','Ubrcy':'\u040E','ubreve':'\u016D','Ubreve':'\u016C','ucirc':'\xFB','Ucirc':'\xDB','ucy':'\u0443','Ucy':'\u0423','udarr':'\u21C5','udblac':'\u0171','Udblac':'\u0170','udhar':'\u296E','ufisht':'\u297E','ufr':'\uD835\uDD32','Ufr':'\uD835\uDD18','ugrave':'\xF9','Ugrave':'\xD9','uHar':'\u2963','uharl':'\u21BF','uharr':'\u21BE','uhblk':'\u2580','ulcorn':'\u231C','ulcorner':'\u231C','ulcrop':'\u230F','ultri':'\u25F8','umacr':'\u016B','Umacr':'\u016A','uml':'\xA8','UnderBar':'_','UnderBrace':'\u23DF','UnderBracket':'\u23B5','UnderParenthesis':'\u23DD','Union':'\u22C3','UnionPlus':'\u228E','uogon':'\u0173','Uogon':'\u0172','uopf':'\uD835\uDD66','Uopf':'\uD835\uDD4C','uparrow':'\u2191','Uparrow':'\u21D1','UpArrow':'\u2191','UpArrowBar':'\u2912','UpArrowDownArrow':'\u21C5','updownarrow':'\u2195','Updownarrow':'\u21D5','UpDownArrow':'\u2195','UpEquilibrium':'\u296E','upharpoonleft':'\u21BF','upharpoonright':'\u21BE','uplus':'\u228E','UpperLeftArrow':'\u2196','UpperRightArrow':'\u2197','upsi':'\u03C5','Upsi':'\u03D2','upsih':'\u03D2','upsilon':'\u03C5','Upsilon':'\u03A5','UpTee':'\u22A5','UpTeeArrow':'\u21A5','upuparrows':'\u21C8','urcorn':'\u231D','urcorner':'\u231D','urcrop':'\u230E','uring':'\u016F','Uring':'\u016E','urtri':'\u25F9','uscr':'\uD835\uDCCA','Uscr':'\uD835\uDCB0','utdot':'\u22F0','utilde':'\u0169','Utilde':'\u0168','utri':'\u25B5','utrif':'\u25B4','uuarr':'\u21C8','uuml':'\xFC','Uuml':'\xDC','uwangle':'\u29A7','vangrt':'\u299C','varepsilon':'\u03F5','varkappa':'\u03F0','varnothing':'\u2205','varphi':'\u03D5','varpi':'\u03D6','varpropto':'\u221D','varr':'\u2195','vArr':'\u21D5','varrho':'\u03F1','varsigma':'\u03C2','varsubsetneq':'\u228A\uFE00','varsubsetneqq':'\u2ACB\uFE00','varsupsetneq':'\u228B\uFE00','varsupsetneqq':'\u2ACC\uFE00','vartheta':'\u03D1','vartriangleleft':'\u22B2','vartriangleright':'\u22B3','vBar':'\u2AE8','Vbar':'\u2AEB','vBarv':'\u2AE9','vcy':'\u0432','Vcy':'\u0412','vdash':'\u22A2','vDash':'\u22A8','Vdash':'\u22A9','VDash':'\u22AB','Vdashl':'\u2AE6','vee':'\u2228','Vee':'\u22C1','veebar':'\u22BB','veeeq':'\u225A','vellip':'\u22EE','verbar':'|','Verbar':'\u2016','vert':'|','Vert':'\u2016','VerticalBar':'\u2223','VerticalLine':'|','VerticalSeparator':'\u2758','VerticalTilde':'\u2240','VeryThinSpace':'\u200A','vfr':'\uD835\uDD33','Vfr':'\uD835\uDD19','vltri':'\u22B2','vnsub':'\u2282\u20D2','vnsup':'\u2283\u20D2','vopf':'\uD835\uDD67','Vopf':'\uD835\uDD4D','vprop':'\u221D','vrtri':'\u22B3','vscr':'\uD835\uDCCB','Vscr':'\uD835\uDCB1','vsubne':'\u228A\uFE00','vsubnE':'\u2ACB\uFE00','vsupne':'\u228B\uFE00','vsupnE':'\u2ACC\uFE00','Vvdash':'\u22AA','vzigzag':'\u299A','wcirc':'\u0175','Wcirc':'\u0174','wedbar':'\u2A5F','wedge':'\u2227','Wedge':'\u22C0','wedgeq':'\u2259','weierp':'\u2118','wfr':'\uD835\uDD34','Wfr':'\uD835\uDD1A','wopf':'\uD835\uDD68','Wopf':'\uD835\uDD4E','wp':'\u2118','wr':'\u2240','wreath':'\u2240','wscr':'\uD835\uDCCC','Wscr':'\uD835\uDCB2','xcap':'\u22C2','xcirc':'\u25EF','xcup':'\u22C3','xdtri':'\u25BD','xfr':'\uD835\uDD35','Xfr':'\uD835\uDD1B','xharr':'\u27F7','xhArr':'\u27FA','xi':'\u03BE','Xi':'\u039E','xlarr':'\u27F5','xlArr':'\u27F8','xmap':'\u27FC','xnis':'\u22FB','xodot':'\u2A00','xopf':'\uD835\uDD69','Xopf':'\uD835\uDD4F','xoplus':'\u2A01','xotime':'\u2A02','xrarr':'\u27F6','xrArr':'\u27F9','xscr':'\uD835\uDCCD','Xscr':'\uD835\uDCB3','xsqcup':'\u2A06','xuplus':'\u2A04','xutri':'\u25B3','xvee':'\u22C1','xwedge':'\u22C0','yacute':'\xFD','Yacute':'\xDD','yacy':'\u044F','YAcy':'\u042F','ycirc':'\u0177','Ycirc':'\u0176','ycy':'\u044B','Ycy':'\u042B','yen':'\xA5','yfr':'\uD835\uDD36','Yfr':'\uD835\uDD1C','yicy':'\u0457','YIcy':'\u0407','yopf':'\uD835\uDD6A','Yopf':'\uD835\uDD50','yscr':'\uD835\uDCCE','Yscr':'\uD835\uDCB4','yucy':'\u044E','YUcy':'\u042E','yuml':'\xFF','Yuml':'\u0178','zacute':'\u017A','Zacute':'\u0179','zcaron':'\u017E','Zcaron':'\u017D','zcy':'\u0437','Zcy':'\u0417','zdot':'\u017C','Zdot':'\u017B','zeetrf':'\u2128','ZeroWidthSpace':'\u200B','zeta':'\u03B6','Zeta':'\u0396','zfr':'\uD835\uDD37','Zfr':'\u2128','zhcy':'\u0436','ZHcy':'\u0416','zigrarr':'\u21DD','zopf':'\uD835\uDD6B','Zopf':'\u2124','zscr':'\uD835\uDCCF','Zscr':'\uD835\uDCB5','zwj':'\u200D','zwnj':'\u200C'}; + var decodeMapLegacy = {'aacute':'\xE1','Aacute':'\xC1','acirc':'\xE2','Acirc':'\xC2','acute':'\xB4','aelig':'\xE6','AElig':'\xC6','agrave':'\xE0','Agrave':'\xC0','amp':'&','AMP':'&','aring':'\xE5','Aring':'\xC5','atilde':'\xE3','Atilde':'\xC3','auml':'\xE4','Auml':'\xC4','brvbar':'\xA6','ccedil':'\xE7','Ccedil':'\xC7','cedil':'\xB8','cent':'\xA2','copy':'\xA9','COPY':'\xA9','curren':'\xA4','deg':'\xB0','divide':'\xF7','eacute':'\xE9','Eacute':'\xC9','ecirc':'\xEA','Ecirc':'\xCA','egrave':'\xE8','Egrave':'\xC8','eth':'\xF0','ETH':'\xD0','euml':'\xEB','Euml':'\xCB','frac12':'\xBD','frac14':'\xBC','frac34':'\xBE','gt':'>','GT':'>','iacute':'\xED','Iacute':'\xCD','icirc':'\xEE','Icirc':'\xCE','iexcl':'\xA1','igrave':'\xEC','Igrave':'\xCC','iquest':'\xBF','iuml':'\xEF','Iuml':'\xCF','laquo':'\xAB','lt':'<','LT':'<','macr':'\xAF','micro':'\xB5','middot':'\xB7','nbsp':'\xA0','not':'\xAC','ntilde':'\xF1','Ntilde':'\xD1','oacute':'\xF3','Oacute':'\xD3','ocirc':'\xF4','Ocirc':'\xD4','ograve':'\xF2','Ograve':'\xD2','ordf':'\xAA','ordm':'\xBA','oslash':'\xF8','Oslash':'\xD8','otilde':'\xF5','Otilde':'\xD5','ouml':'\xF6','Ouml':'\xD6','para':'\xB6','plusmn':'\xB1','pound':'\xA3','quot':'"','QUOT':'"','raquo':'\xBB','reg':'\xAE','REG':'\xAE','sect':'\xA7','shy':'\xAD','sup1':'\xB9','sup2':'\xB2','sup3':'\xB3','szlig':'\xDF','thorn':'\xFE','THORN':'\xDE','times':'\xD7','uacute':'\xFA','Uacute':'\xDA','ucirc':'\xFB','Ucirc':'\xDB','ugrave':'\xF9','Ugrave':'\xD9','uml':'\xA8','uuml':'\xFC','Uuml':'\xDC','yacute':'\xFD','Yacute':'\xDD','yen':'\xA5','yuml':'\xFF'}; + var decodeMapNumeric = {'0':'\uFFFD','128':'\u20AC','130':'\u201A','131':'\u0192','132':'\u201E','133':'\u2026','134':'\u2020','135':'\u2021','136':'\u02C6','137':'\u2030','138':'\u0160','139':'\u2039','140':'\u0152','142':'\u017D','145':'\u2018','146':'\u2019','147':'\u201C','148':'\u201D','149':'\u2022','150':'\u2013','151':'\u2014','152':'\u02DC','153':'\u2122','154':'\u0161','155':'\u203A','156':'\u0153','158':'\u017E','159':'\u0178'}; + var invalidReferenceCodePoints = [1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65000,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]; + + /*--------------------------------------------------------------------------*/ + + var stringFromCharCode = String.fromCharCode; + + var object = {}; + var hasOwnProperty = object.hasOwnProperty; + var has = function(object, propertyName) { + return hasOwnProperty.call(object, propertyName); + }; + + var contains = function(array, value) { + var index = -1; + var length = array.length; + while (++index < length) { + if (array[index] == value) { + return true; + } + } + return false; + }; + + var merge = function(options, defaults) { + if (!options) { + return defaults; + } + var result = {}; + var key; + for (key in defaults) { + // A `hasOwnProperty` check is not needed here, since only recognized + // option names are used anyway. Any others are ignored. + result[key] = has(options, key) ? options[key] : defaults[key]; + } + return result; + }; + + // Modified version of `ucs2encode`; see https://mths.be/punycode. + var codePointToSymbol = function(codePoint, strict) { + var output = ''; + if ((codePoint >= 0xD800 && codePoint <= 0xDFFF) || codePoint > 0x10FFFF) { + // See issue #4: + // “Otherwise, if the number is in the range 0xD800 to 0xDFFF or is + // greater than 0x10FFFF, then this is a parse error. Return a U+FFFD + // REPLACEMENT CHARACTER.” + if (strict) { + parseError('character reference outside the permissible Unicode range'); + } + return '\uFFFD'; + } + if (has(decodeMapNumeric, codePoint)) { + if (strict) { + parseError('disallowed character reference'); + } + return decodeMapNumeric[codePoint]; + } + if (strict && contains(invalidReferenceCodePoints, codePoint)) { + parseError('disallowed character reference'); + } + if (codePoint > 0xFFFF) { + codePoint -= 0x10000; + output += stringFromCharCode(codePoint >>> 10 & 0x3FF | 0xD800); + codePoint = 0xDC00 | codePoint & 0x3FF; + } + output += stringFromCharCode(codePoint); + return output; + }; + + var hexEscape = function(codePoint) { + return '&#x' + codePoint.toString(16).toUpperCase() + ';'; + }; + + var decEscape = function(codePoint) { + return '&#' + codePoint + ';'; + }; + + var parseError = function(message) { + throw Error('Parse error: ' + message); + }; + + /*--------------------------------------------------------------------------*/ + + var encode = function(string, options) { + options = merge(options, encode.options); + var strict = options.strict; + if (strict && regexInvalidRawCodePoint.test(string)) { + parseError('forbidden code point'); + } + var encodeEverything = options.encodeEverything; + var useNamedReferences = options.useNamedReferences; + var allowUnsafeSymbols = options.allowUnsafeSymbols; + var escapeCodePoint = options.decimal ? decEscape : hexEscape; + + var escapeBmpSymbol = function(symbol) { + return escapeCodePoint(symbol.charCodeAt(0)); + }; + + if (encodeEverything) { + // Encode ASCII symbols. + string = string.replace(regexAsciiWhitelist, function(symbol) { + // Use named references if requested & possible. + if (useNamedReferences && has(encodeMap, symbol)) { + return '&' + encodeMap[symbol] + ';'; + } + return escapeBmpSymbol(symbol); + }); + // Shorten a few escapes that represent two symbols, of which at least one + // is within the ASCII range. + if (useNamedReferences) { + string = string + .replace(/>\u20D2/g, '>⃒') + .replace(/<\u20D2/g, '<⃒') + .replace(/fj/g, 'fj'); + } + // Encode non-ASCII symbols. + if (useNamedReferences) { + // Encode non-ASCII symbols that can be replaced with a named reference. + string = string.replace(regexEncodeNonAscii, function(string) { + // Note: there is no need to check `has(encodeMap, string)` here. + return '&' + encodeMap[string] + ';'; + }); + } + // Note: any remaining non-ASCII symbols are handled outside of the `if`. + } else if (useNamedReferences) { + // Apply named character references. + // Encode `<>"'&` using named character references. + if (!allowUnsafeSymbols) { + string = string.replace(regexEscape, function(string) { + return '&' + encodeMap[string] + ';'; // no need to check `has()` here + }); + } + // Shorten escapes that represent two symbols, of which at least one is + // `<>"'&`. + string = string + .replace(/>\u20D2/g, '>⃒') + .replace(/<\u20D2/g, '<⃒'); + // Encode non-ASCII symbols that can be replaced with a named reference. + string = string.replace(regexEncodeNonAscii, function(string) { + // Note: there is no need to check `has(encodeMap, string)` here. + return '&' + encodeMap[string] + ';'; + }); + } else if (!allowUnsafeSymbols) { + // Encode `<>"'&` using hexadecimal escapes, now that they’re not handled + // using named character references. + string = string.replace(regexEscape, escapeBmpSymbol); + } + return string + // Encode astral symbols. + .replace(regexAstralSymbols, function($0) { + // https://mathiasbynens.be/notes/javascript-encoding#surrogate-formulae + var high = $0.charCodeAt(0); + var low = $0.charCodeAt(1); + var codePoint = (high - 0xD800) * 0x400 + low - 0xDC00 + 0x10000; + return escapeCodePoint(codePoint); + }) + // Encode any remaining BMP symbols that are not printable ASCII symbols + // using a hexadecimal escape. + .replace(regexBmpWhitelist, escapeBmpSymbol); + }; + // Expose default options (so they can be overridden globally). + encode.options = { + 'allowUnsafeSymbols': false, + 'encodeEverything': false, + 'strict': false, + 'useNamedReferences': false, + 'decimal' : false + }; + + var decode = function(html, options) { + options = merge(options, decode.options); + var strict = options.strict; + if (strict && regexInvalidEntity.test(html)) { + parseError('malformed character reference'); + } + return html.replace(regexDecode, function($0, $1, $2, $3, $4, $5, $6, $7, $8) { + var codePoint; + var semicolon; + var decDigits; + var hexDigits; + var reference; + var next; + + if ($1) { + reference = $1; + // Note: there is no need to check `has(decodeMap, reference)`. + return decodeMap[reference]; + } + + if ($2) { + // Decode named character references without trailing `;`, e.g. `&`. + // This is only a parse error if it gets converted to `&`, or if it is + // followed by `=` in an attribute context. + reference = $2; + next = $3; + if (next && options.isAttributeValue) { + if (strict && next == '=') { + parseError('`&` did not start a character reference'); + } + return $0; + } else { + if (strict) { + parseError( + 'named character reference was not terminated by a semicolon' + ); + } + // Note: there is no need to check `has(decodeMapLegacy, reference)`. + return decodeMapLegacy[reference] + (next || ''); + } + } + + if ($4) { + // Decode decimal escapes, e.g. `𝌆`. + decDigits = $4; + semicolon = $5; + if (strict && !semicolon) { + parseError('character reference was not terminated by a semicolon'); + } + codePoint = parseInt(decDigits, 10); + return codePointToSymbol(codePoint, strict); + } + + if ($6) { + // Decode hexadecimal escapes, e.g. `𝌆`. + hexDigits = $6; + semicolon = $7; + if (strict && !semicolon) { + parseError('character reference was not terminated by a semicolon'); + } + codePoint = parseInt(hexDigits, 16); + return codePointToSymbol(codePoint, strict); + } + + // If we’re still here, `if ($7)` is implied; it’s an ambiguous + // ampersand for sure. https://mths.be/notes/ambiguous-ampersands + if (strict) { + parseError( + 'named character reference was not terminated by a semicolon' + ); + } + return $0; + }); + }; + // Expose default options (so they can be overridden globally). + decode.options = { + 'isAttributeValue': false, + 'strict': false + }; + + var escape = function(string) { + return string.replace(regexEscape, function($0) { + // Note: there is no need to check `has(escapeMap, $0)` here. + return escapeMap[$0]; + }); + }; + + /*--------------------------------------------------------------------------*/ + + var he = { + 'version': '1.2.0', + 'encode': encode, + 'decode': decode, + 'escape': escape, + 'unescape': decode + }; + + // Some AMD build optimizers, like r.js, check for specific condition patterns + // like the following: + if (freeExports && !freeExports.nodeType) { + if (freeModule) { // in Node.js, io.js, or RingoJS v0.8.0+ + freeModule.exports = he; + } else { // in Narwhal or RingoJS v0.7.0- + for (var key in he) { + has(he, key) && (freeExports[key] = he[key]); + } + } + } else { // in Rhino or a web browser + root.he = he; + } + + }(commonjsGlobal)); +} (he$1, heExports)); + +var regex$3; +var hasRequiredRegex$3; + +function requireRegex$3 () { + if (hasRequiredRegex$3) return regex$3; + hasRequiredRegex$3 = 1; + regex$3=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/; + return regex$3; +} + +var regex$2; +var hasRequiredRegex$2; + +function requireRegex$2 () { + if (hasRequiredRegex$2) return regex$2; + hasRequiredRegex$2 = 1; + regex$2=/[\0-\x1F\x7F-\x9F]/; + return regex$2; +} + +var regex$1; +var hasRequiredRegex$1; + +function requireRegex$1 () { + if (hasRequiredRegex$1) return regex$1; + hasRequiredRegex$1 = 1; + regex$1=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/; + return regex$1; +} + +var regex; +var hasRequiredRegex; + +function requireRegex () { + if (hasRequiredRegex) return regex; + hasRequiredRegex = 1; + regex=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/; + return regex; +} + +var re; +var hasRequiredRe; + +function requireRe () { + if (hasRequiredRe) return re; + hasRequiredRe = 1; + + + re = function (opts) { + var re = {}; + opts = opts || {}; + + // Use direct extract instead of `regenerate` to reduse browserified size + re.src_Any = requireRegex$3().source; + re.src_Cc = requireRegex$2().source; + re.src_Z = requireRegex$1().source; + re.src_P = requireRegex().source; + + // \p{\Z\P\Cc\CF} (white spaces + control + format + punctuation) + re.src_ZPCc = [ re.src_Z, re.src_P, re.src_Cc ].join('|'); + + // \p{\Z\Cc} (white spaces + control) + re.src_ZCc = [ re.src_Z, re.src_Cc ].join('|'); + + // Experimental. List of chars, completely prohibited in links + // because can separate it from other part of text + var text_separators = '[><\uff5c]'; + + // All possible word characters (everything without punctuation, spaces & controls) + // Defined via punctuation & spaces to save space + // Should be something like \p{\L\N\S\M} (\w but without `_`) + re.src_pseudo_letter = '(?:(?!' + text_separators + '|' + re.src_ZPCc + ')' + re.src_Any + ')'; + // The same as abothe but without [0-9] + // var src_pseudo_letter_non_d = '(?:(?![0-9]|' + src_ZPCc + ')' + src_Any + ')'; + + //////////////////////////////////////////////////////////////////////////////// + + re.src_ip4 = + + '(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)'; + + // Prohibit any of "@/[]()" in user/pass to avoid wrong domain fetch. + re.src_auth = '(?:(?:(?!' + re.src_ZCc + '|[@/\\[\\]()]).)+@)?'; + + re.src_port = + + '(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?'; + + re.src_host_terminator = + + '(?=$|' + text_separators + '|' + re.src_ZPCc + ')' + + '(?!' + (opts['---'] ? '-(?!--)|' : '-|') + '_|:\\d|\\.-|\\.(?!$|' + re.src_ZPCc + '))'; + + re.src_path = + + '(?:' + + '[/?#]' + + '(?:' + + '(?!' + re.src_ZCc + '|' + text_separators + '|[()[\\]{}.,"\'?!\\-;]).|' + + '\\[(?:(?!' + re.src_ZCc + '|\\]).)*\\]|' + + '\\((?:(?!' + re.src_ZCc + '|[)]).)*\\)|' + + '\\{(?:(?!' + re.src_ZCc + '|[}]).)*\\}|' + + '\\"(?:(?!' + re.src_ZCc + '|["]).)+\\"|' + + "\\'(?:(?!" + re.src_ZCc + "|[']).)+\\'|" + + "\\'(?=" + re.src_pseudo_letter + '|[-])|' + // allow `I'm_king` if no pair found + '\\.{2,}[a-zA-Z0-9%/&]|' + // google has many dots in "google search" links (#66, #81). + // github has ... in commit range links, + // Restrict to + // - english + // - percent-encoded + // - parts of file path + // - params separator + // until more examples found. + '\\.(?!' + re.src_ZCc + '|[.]|$)|' + + (opts['---'] ? + '\\-(?!--(?:[^-]|$))(?:-*)|' // `---` => long dash, terminate + : + '\\-+|' + ) + + ',(?!' + re.src_ZCc + '|$)|' + // allow `,,,` in paths + ';(?!' + re.src_ZCc + '|$)|' + // allow `;` if not followed by space-like char + '\\!+(?!' + re.src_ZCc + '|[!]|$)|' + // allow `!!!` in paths, but not at the end + '\\?(?!' + re.src_ZCc + '|[?]|$)' + + ')+' + + '|\\/' + + ')?'; + + // Allow anything in markdown spec, forbid quote (") at the first position + // because emails enclosed in quotes are far more common + re.src_email_name = + + '[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*'; + + re.src_xn = + + 'xn--[a-z0-9\\-]{1,59}'; + + // More to read about domain names + // http://serverfault.com/questions/638260/ + + re.src_domain_root = + + // Allow letters & digits (http://test1) + '(?:' + + re.src_xn + + '|' + + re.src_pseudo_letter + '{1,63}' + + ')'; + + re.src_domain = + + '(?:' + + re.src_xn + + '|' + + '(?:' + re.src_pseudo_letter + ')' + + '|' + + '(?:' + re.src_pseudo_letter + '(?:-|' + re.src_pseudo_letter + '){0,61}' + re.src_pseudo_letter + ')' + + ')'; + + re.src_host = + + '(?:' + + // Don't need IP check, because digits are already allowed in normal domain names + // src_ip4 + + // '|' + + '(?:(?:(?:' + re.src_domain + ')\\.)*' + re.src_domain/*_root*/ + ')' + + ')'; + + re.tpl_host_fuzzy = + + '(?:' + + re.src_ip4 + + '|' + + '(?:(?:(?:' + re.src_domain + ')\\.)+(?:%TLDS%))' + + ')'; + + re.tpl_host_no_ip_fuzzy = + + '(?:(?:(?:' + re.src_domain + ')\\.)+(?:%TLDS%))'; + + re.src_host_strict = + + re.src_host + re.src_host_terminator; + + re.tpl_host_fuzzy_strict = + + re.tpl_host_fuzzy + re.src_host_terminator; + + re.src_host_port_strict = + + re.src_host + re.src_port + re.src_host_terminator; + + re.tpl_host_port_fuzzy_strict = + + re.tpl_host_fuzzy + re.src_port + re.src_host_terminator; + + re.tpl_host_port_no_ip_fuzzy_strict = + + re.tpl_host_no_ip_fuzzy + re.src_port + re.src_host_terminator; + + + //////////////////////////////////////////////////////////////////////////////// + // Main rules + + // Rude test fuzzy links by host, for quick deny + re.tpl_host_fuzzy_test = + + 'localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:' + re.src_ZPCc + '|>|$))'; + + re.tpl_email_fuzzy = + + '(^|' + text_separators + '|"|\\(|' + re.src_ZCc + ')' + + '(' + re.src_email_name + '@' + re.tpl_host_fuzzy_strict + ')'; + + re.tpl_link_fuzzy = + // Fuzzy link can't be prepended with .:/\- and non punctuation. + // but can start with > (markdown blockquote) + '(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|' + re.src_ZPCc + '))' + + '((?![$+<=>^`|\uff5c])' + re.tpl_host_port_fuzzy_strict + re.src_path + ')'; + + re.tpl_link_no_ip_fuzzy = + // Fuzzy link can't be prepended with .:/\- and non punctuation. + // but can start with > (markdown blockquote) + '(^|(?![.:/\\-_@])(?:[$+<=>^`|\uff5c]|' + re.src_ZPCc + '))' + + '((?![$+<=>^`|\uff5c])' + re.tpl_host_port_no_ip_fuzzy_strict + re.src_path + ')'; + + return re; + }; + return re; +} + +//////////////////////////////////////////////////////////////////////////////// +// Helpers + +// Merge objects +// +function assign(obj /*from1, from2, from3, ...*/) { + var sources = Array.prototype.slice.call(arguments, 1); + + sources.forEach(function (source) { + if (!source) { return; } + + Object.keys(source).forEach(function (key) { + obj[key] = source[key]; + }); + }); + + return obj; +} + +function _class(obj) { return Object.prototype.toString.call(obj); } +function isString(obj) { return _class(obj) === '[object String]'; } +function isObject(obj) { return _class(obj) === '[object Object]'; } +function isRegExp(obj) { return _class(obj) === '[object RegExp]'; } +function isFunction(obj) { return _class(obj) === '[object Function]'; } + + +function escapeRE(str) { return str.replace(/[.?*+^$[\]\\(){}|-]/g, '\\$&'); } + +//////////////////////////////////////////////////////////////////////////////// + + +var defaultOptions = { + fuzzyLink: true, + fuzzyEmail: true, + fuzzyIP: false +}; + + +function isOptionsObj(obj) { + return Object.keys(obj || {}).reduce(function (acc, k) { + return acc || defaultOptions.hasOwnProperty(k); + }, false); +} + + +var defaultSchemas = { + 'http:': { + validate: function (text, pos, self) { + var tail = text.slice(pos); + + if (!self.re.http) { + // compile lazily, because "host"-containing variables can change on tlds update. + self.re.http = new RegExp( + '^\\/\\/' + self.re.src_auth + self.re.src_host_port_strict + self.re.src_path, 'i' + ); + } + if (self.re.http.test(tail)) { + return tail.match(self.re.http)[0].length; + } + return 0; + } + }, + 'https:': 'http:', + 'ftp:': 'http:', + '//': { + validate: function (text, pos, self) { + var tail = text.slice(pos); + + if (!self.re.no_http) { + // compile lazily, because "host"-containing variables can change on tlds update. + self.re.no_http = new RegExp( + '^' + + self.re.src_auth + + // Don't allow single-level domains, because of false positives like '//test' + // with code comments + '(?:localhost|(?:(?:' + self.re.src_domain + ')\\.)+' + self.re.src_domain_root + ')' + + self.re.src_port + + self.re.src_host_terminator + + self.re.src_path, + + 'i' + ); + } + + if (self.re.no_http.test(tail)) { + // should not be `://` & `///`, that protects from errors in protocol name + if (pos >= 3 && text[pos - 3] === ':') { return 0; } + if (pos >= 3 && text[pos - 3] === '/') { return 0; } + return tail.match(self.re.no_http)[0].length; + } + return 0; + } + }, + 'mailto:': { + validate: function (text, pos, self) { + var tail = text.slice(pos); + + if (!self.re.mailto) { + self.re.mailto = new RegExp( + '^' + self.re.src_email_name + '@' + self.re.src_host_strict, 'i' + ); + } + if (self.re.mailto.test(tail)) { + return tail.match(self.re.mailto)[0].length; + } + return 0; + } + } +}; + +/*eslint-disable max-len*/ + +// RE pattern for 2-character tlds (autogenerated by ./support/tlds_2char_gen.js) +var tlds_2ch_src_re = 'a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]'; + +// DON'T try to make PRs with changes. Extend TLDs with LinkifyIt.tlds() instead +var tlds_default = 'biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф'.split('|'); + +/*eslint-enable max-len*/ + +//////////////////////////////////////////////////////////////////////////////// + +function resetScanCache(self) { + self.__index__ = -1; + self.__text_cache__ = ''; +} + +function createValidator(re) { + return function (text, pos) { + var tail = text.slice(pos); + + if (re.test(tail)) { + return tail.match(re)[0].length; + } + return 0; + }; +} + +function createNormalizer() { + return function (match, self) { + self.normalize(match); + }; +} + +// Schemas compiler. Build regexps. +// +function compile(self) { + + // Load & clone RE patterns. + var re = self.re = requireRe()(self.__opts__); + + // Define dynamic patterns + var tlds = self.__tlds__.slice(); + + self.onCompile(); + + if (!self.__tlds_replaced__) { + tlds.push(tlds_2ch_src_re); + } + tlds.push(re.src_xn); + + re.src_tlds = tlds.join('|'); + + function untpl(tpl) { return tpl.replace('%TLDS%', re.src_tlds); } + + re.email_fuzzy = RegExp(untpl(re.tpl_email_fuzzy), 'i'); + re.link_fuzzy = RegExp(untpl(re.tpl_link_fuzzy), 'i'); + re.link_no_ip_fuzzy = RegExp(untpl(re.tpl_link_no_ip_fuzzy), 'i'); + re.host_fuzzy_test = RegExp(untpl(re.tpl_host_fuzzy_test), 'i'); + + // + // Compile each schema + // + + var aliases = []; + + self.__compiled__ = {}; // Reset compiled data + + function schemaError(name, val) { + throw new Error('(LinkifyIt) Invalid schema "' + name + '": ' + val); + } + + Object.keys(self.__schemas__).forEach(function (name) { + var val = self.__schemas__[name]; + + // skip disabled methods + if (val === null) { return; } + + var compiled = { validate: null, link: null }; + + self.__compiled__[name] = compiled; + + if (isObject(val)) { + if (isRegExp(val.validate)) { + compiled.validate = createValidator(val.validate); + } else if (isFunction(val.validate)) { + compiled.validate = val.validate; + } else { + schemaError(name, val); + } + + if (isFunction(val.normalize)) { + compiled.normalize = val.normalize; + } else if (!val.normalize) { + compiled.normalize = createNormalizer(); + } else { + schemaError(name, val); + } + + return; + } + + if (isString(val)) { + aliases.push(name); + return; + } + + schemaError(name, val); + }); + + // + // Compile postponed aliases + // + + aliases.forEach(function (alias) { + if (!self.__compiled__[self.__schemas__[alias]]) { + // Silently fail on missed schemas to avoid errons on disable. + // schemaError(alias, self.__schemas__[alias]); + return; + } + + self.__compiled__[alias].validate = + self.__compiled__[self.__schemas__[alias]].validate; + self.__compiled__[alias].normalize = + self.__compiled__[self.__schemas__[alias]].normalize; + }); + + // + // Fake record for guessed links + // + self.__compiled__[''] = { validate: null, normalize: createNormalizer() }; + + // + // Build schema condition + // + var slist = Object.keys(self.__compiled__) + .filter(function (name) { + // Filter disabled & fake schemas + return name.length > 0 && self.__compiled__[name]; + }) + .map(escapeRE) + .join('|'); + // (?!_) cause 1.5x slowdown + self.re.schema_test = RegExp('(^|(?!_)(?:[><\uff5c]|' + re.src_ZPCc + '))(' + slist + ')', 'i'); + self.re.schema_search = RegExp('(^|(?!_)(?:[><\uff5c]|' + re.src_ZPCc + '))(' + slist + ')', 'ig'); + self.re.schema_at_start = RegExp('^' + self.re.schema_search.source, 'i'); + + self.re.pretest = RegExp( + '(' + self.re.schema_test.source + ')|(' + self.re.host_fuzzy_test.source + ')|@', + 'i' + ); + + // + // Cleanup + // + + resetScanCache(self); +} + +/** + * class Match + * + * Match result. Single element of array, returned by [[LinkifyIt#match]] + **/ +function Match(self, shift) { + var start = self.__index__, + end = self.__last_index__, + text = self.__text_cache__.slice(start, end); + + /** + * Match#schema -> String + * + * Prefix (protocol) for matched string. + **/ + this.schema = self.__schema__.toLowerCase(); + /** + * Match#index -> Number + * + * First position of matched string. + **/ + this.index = start + shift; + /** + * Match#lastIndex -> Number + * + * Next position after matched string. + **/ + this.lastIndex = end + shift; + /** + * Match#raw -> String + * + * Matched string. + **/ + this.raw = text; + /** + * Match#text -> String + * + * Notmalized text of matched string. + **/ + this.text = text; + /** + * Match#url -> String + * + * Normalized url of matched string. + **/ + this.url = text; +} + +function createMatch(self, shift) { + var match = new Match(self, shift); + + self.__compiled__[match.schema].normalize(match, self); + + return match; +} + + +/** + * class LinkifyIt + **/ + +/** + * new LinkifyIt(schemas, options) + * - schemas (Object): Optional. Additional schemas to validate (prefix/validator) + * - options (Object): { fuzzyLink|fuzzyEmail|fuzzyIP: true|false } + * + * Creates new linkifier instance with optional additional schemas. + * Can be called without `new` keyword for convenience. + * + * By default understands: + * + * - `http(s)://...` , `ftp://...`, `mailto:...` & `//...` links + * - "fuzzy" links and emails (example.com, foo@bar.com). + * + * `schemas` is an object, where each key/value describes protocol/rule: + * + * - __key__ - link prefix (usually, protocol name with `:` at the end, `skype:` + * for example). `linkify-it` makes shure that prefix is not preceeded with + * alphanumeric char and symbols. Only whitespaces and punctuation allowed. + * - __value__ - rule to check tail after link prefix + * - _String_ - just alias to existing rule + * - _Object_ + * - _validate_ - validator function (should return matched length on success), + * or `RegExp`. + * - _normalize_ - optional function to normalize text & url of matched result + * (for example, for @twitter mentions). + * + * `options`: + * + * - __fuzzyLink__ - recognige URL-s without `http(s):` prefix. Default `true`. + * - __fuzzyIP__ - allow IPs in fuzzy links above. Can conflict with some texts + * like version numbers. Default `false`. + * - __fuzzyEmail__ - recognize emails without `mailto:` prefix. + * + **/ +function LinkifyIt(schemas, options) { + if (!(this instanceof LinkifyIt)) { + return new LinkifyIt(schemas, options); + } + + if (!options) { + if (isOptionsObj(schemas)) { + options = schemas; + schemas = {}; + } + } + + this.__opts__ = assign({}, defaultOptions, options); + + // Cache last tested result. Used to skip repeating steps on next `match` call. + this.__index__ = -1; + this.__last_index__ = -1; // Next scan position + this.__schema__ = ''; + this.__text_cache__ = ''; + + this.__schemas__ = assign({}, defaultSchemas, schemas); + this.__compiled__ = {}; + + this.__tlds__ = tlds_default; + this.__tlds_replaced__ = false; + + this.re = {}; + + compile(this); +} + + +/** chainable + * LinkifyIt#add(schema, definition) + * - schema (String): rule name (fixed pattern prefix) + * - definition (String|RegExp|Object): schema definition + * + * Add new rule definition. See constructor description for details. + **/ +LinkifyIt.prototype.add = function add(schema, definition) { + this.__schemas__[schema] = definition; + compile(this); + return this; +}; + + +/** chainable + * LinkifyIt#set(options) + * - options (Object): { fuzzyLink|fuzzyEmail|fuzzyIP: true|false } + * + * Set recognition options for links without schema. + **/ +LinkifyIt.prototype.set = function set(options) { + this.__opts__ = assign(this.__opts__, options); + return this; +}; + + +/** + * LinkifyIt#test(text) -> Boolean + * + * Searches linkifiable pattern and returns `true` on success or `false` on fail. + **/ +LinkifyIt.prototype.test = function test(text) { + // Reset scan cache + this.__text_cache__ = text; + this.__index__ = -1; + + if (!text.length) { return false; } + + var m, ml, me, len, shift, next, re, tld_pos, at_pos; + + // try to scan for link with schema - that's the most simple rule + if (this.re.schema_test.test(text)) { + re = this.re.schema_search; + re.lastIndex = 0; + while ((m = re.exec(text)) !== null) { + len = this.testSchemaAt(text, m[2], re.lastIndex); + if (len) { + this.__schema__ = m[2]; + this.__index__ = m.index + m[1].length; + this.__last_index__ = m.index + m[0].length + len; + break; + } + } + } + + if (this.__opts__.fuzzyLink && this.__compiled__['http:']) { + // guess schemaless links + tld_pos = text.search(this.re.host_fuzzy_test); + if (tld_pos >= 0) { + // if tld is located after found link - no need to check fuzzy pattern + if (this.__index__ < 0 || tld_pos < this.__index__) { + if ((ml = text.match(this.__opts__.fuzzyIP ? this.re.link_fuzzy : this.re.link_no_ip_fuzzy)) !== null) { + + shift = ml.index + ml[1].length; + + if (this.__index__ < 0 || shift < this.__index__) { + this.__schema__ = ''; + this.__index__ = shift; + this.__last_index__ = ml.index + ml[0].length; + } + } + } + } + } + + if (this.__opts__.fuzzyEmail && this.__compiled__['mailto:']) { + // guess schemaless emails + at_pos = text.indexOf('@'); + if (at_pos >= 0) { + // We can't skip this check, because this cases are possible: + // 192.168.1.1@gmail.com, my.in@example.com + if ((me = text.match(this.re.email_fuzzy)) !== null) { + + shift = me.index + me[1].length; + next = me.index + me[0].length; + + if (this.__index__ < 0 || shift < this.__index__ || + (shift === this.__index__ && next > this.__last_index__)) { + this.__schema__ = 'mailto:'; + this.__index__ = shift; + this.__last_index__ = next; + } + } + } + } + + return this.__index__ >= 0; +}; + + +/** + * LinkifyIt#pretest(text) -> Boolean + * + * Very quick check, that can give false positives. Returns true if link MAY BE + * can exists. Can be used for speed optimization, when you need to check that + * link NOT exists. + **/ +LinkifyIt.prototype.pretest = function pretest(text) { + return this.re.pretest.test(text); +}; + + +/** + * LinkifyIt#testSchemaAt(text, name, position) -> Number + * - text (String): text to scan + * - name (String): rule (schema) name + * - position (Number): text offset to check from + * + * Similar to [[LinkifyIt#test]] but checks only specific protocol tail exactly + * at given position. Returns length of found pattern (0 on fail). + **/ +LinkifyIt.prototype.testSchemaAt = function testSchemaAt(text, schema, pos) { + // If not supported schema check requested - terminate + if (!this.__compiled__[schema.toLowerCase()]) { + return 0; + } + return this.__compiled__[schema.toLowerCase()].validate(text, pos, this); +}; + + +/** + * LinkifyIt#match(text) -> Array|null + * + * Returns array of found link descriptions or `null` on fail. We strongly + * recommend to use [[LinkifyIt#test]] first, for best speed. + * + * ##### Result match description + * + * - __schema__ - link schema, can be empty for fuzzy links, or `//` for + * protocol-neutral links. + * - __index__ - offset of matched text + * - __lastIndex__ - index of next char after mathch end + * - __raw__ - matched text + * - __text__ - normalized text + * - __url__ - link, generated from matched text + **/ +LinkifyIt.prototype.match = function match(text) { + var shift = 0, result = []; + + // Try to take previous element from cache, if .test() called before + if (this.__index__ >= 0 && this.__text_cache__ === text) { + result.push(createMatch(this, shift)); + shift = this.__last_index__; + } + + // Cut head if cache was used + var tail = shift ? text.slice(shift) : text; + + // Scan string until end reached + while (this.test(tail)) { + result.push(createMatch(this, shift)); + + tail = tail.slice(this.__last_index__); + shift += this.__last_index__; + } + + if (result.length) { + return result; + } + + return null; +}; + + +/** + * LinkifyIt#matchAtStart(text) -> Match|null + * + * Returns fully-formed (not fuzzy) link if it starts at the beginning + * of the string, and null otherwise. + **/ +LinkifyIt.prototype.matchAtStart = function matchAtStart(text) { + // Reset scan cache + this.__text_cache__ = text; + this.__index__ = -1; + + if (!text.length) return null; + + var m = this.re.schema_at_start.exec(text); + if (!m) return null; + + var len = this.testSchemaAt(text, m[2], m[0].length); + if (!len) return null; + + this.__schema__ = m[2]; + this.__index__ = m.index + m[1].length; + this.__last_index__ = m.index + m[0].length + len; + + return createMatch(this, 0); +}; + + +/** chainable + * LinkifyIt#tlds(list [, keepOld]) -> this + * - list (Array): list of tlds + * - keepOld (Boolean): merge with current list if `true` (`false` by default) + * + * Load (or merge) new tlds list. Those are user for fuzzy links (without prefix) + * to avoid false positives. By default this algorythm used: + * + * - hostname with any 2-letter root zones are ok. + * - biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф + * are ok. + * - encoded (`xn--...`) root zones are ok. + * + * If list is replaced, then exact match for 2-chars root zones will be checked. + **/ +LinkifyIt.prototype.tlds = function tlds(list, keepOld) { + list = Array.isArray(list) ? list : [ list ]; + + if (!keepOld) { + this.__tlds__ = list.slice(); + this.__tlds_replaced__ = true; + compile(this); + return this; + } + + this.__tlds__ = this.__tlds__.concat(list) + .sort() + .filter(function (el, idx, arr) { + return el !== arr[idx - 1]; + }) + .reverse(); + + compile(this); + return this; +}; + +/** + * LinkifyIt#normalize(match) + * + * Default normalizer (if schema does not define it's own). + **/ +LinkifyIt.prototype.normalize = function normalize(match) { + + // Do minimal possible changes by default. Need to collect feedback prior + // to move forward https://github.com/markdown-it/linkify-it/issues/1 + + if (!match.schema) { match.url = 'http://' + match.url; } + + if (match.schema === 'mailto:' && !/^mailto:/i.test(match.url)) { + match.url = 'mailto:' + match.url; + } +}; + + +/** + * LinkifyIt#onCompile() + * + * Override to modify basic RegExp-s. + **/ +LinkifyIt.prototype.onCompile = function onCompile() { +}; + + +var linkifyIt = LinkifyIt; + +var require$$11 = [ + "aaa", + "aarp", + "abarth", + "abb", + "abbott", + "abbvie", + "abc", + "able", + "abogado", + "abudhabi", + "ac", + "academy", + "accenture", + "accountant", + "accountants", + "aco", + "actor", + "ad", + "ads", + "adult", + "ae", + "aeg", + "aero", + "aetna", + "af", + "afl", + "africa", + "ag", + "agakhan", + "agency", + "ai", + "aig", + "airbus", + "airforce", + "airtel", + "akdn", + "al", + "alfaromeo", + "alibaba", + "alipay", + "allfinanz", + "allstate", + "ally", + "alsace", + "alstom", + "am", + "amazon", + "americanexpress", + "americanfamily", + "amex", + "amfam", + "amica", + "amsterdam", + "analytics", + "android", + "anquan", + "anz", + "ao", + "aol", + "apartments", + "app", + "apple", + "aq", + "aquarelle", + "ar", + "arab", + "aramco", + "archi", + "army", + "arpa", + "art", + "arte", + "as", + "asda", + "asia", + "associates", + "at", + "athleta", + "attorney", + "au", + "auction", + "audi", + "audible", + "audio", + "auspost", + "author", + "auto", + "autos", + "avianca", + "aw", + "aws", + "ax", + "axa", + "az", + "azure", + "ba", + "baby", + "baidu", + "banamex", + "bananarepublic", + "band", + "bank", + "bar", + "barcelona", + "barclaycard", + "barclays", + "barefoot", + "bargains", + "baseball", + "basketball", + "bauhaus", + "bayern", + "bb", + "bbc", + "bbt", + "bbva", + "bcg", + "bcn", + "bd", + "be", + "beats", + "beauty", + "beer", + "bentley", + "berlin", + "best", + "bestbuy", + "bet", + "bf", + "bg", + "bh", + "bharti", + "bi", + "bible", + "bid", + "bike", + "bing", + "bingo", + "bio", + "biz", + "bj", + "black", + "blackfriday", + "blockbuster", + "blog", + "bloomberg", + "blue", + "bm", + "bms", + "bmw", + "bn", + "bnpparibas", + "bo", + "boats", + "boehringer", + "bofa", + "bom", + "bond", + "boo", + "book", + "booking", + "bosch", + "bostik", + "boston", + "bot", + "boutique", + "box", + "br", + "bradesco", + "bridgestone", + "broadway", + "broker", + "brother", + "brussels", + "bs", + "bt", + "build", + "builders", + "business", + "buy", + "buzz", + "bv", + "bw", + "by", + "bz", + "bzh", + "ca", + "cab", + "cafe", + "cal", + "call", + "calvinklein", + "cam", + "camera", + "camp", + "canon", + "capetown", + "capital", + "capitalone", + "car", + "caravan", + "cards", + "care", + "career", + "careers", + "cars", + "casa", + "case", + "cash", + "casino", + "cat", + "catering", + "catholic", + "cba", + "cbn", + "cbre", + "cbs", + "cc", + "cd", + "center", + "ceo", + "cern", + "cf", + "cfa", + "cfd", + "cg", + "ch", + "chanel", + "channel", + "charity", + "chase", + "chat", + "cheap", + "chintai", + "christmas", + "chrome", + "church", + "ci", + "cipriani", + "circle", + "cisco", + "citadel", + "citi", + "citic", + "city", + "cityeats", + "ck", + "cl", + "claims", + "cleaning", + "click", + "clinic", + "clinique", + "clothing", + "cloud", + "club", + "clubmed", + "cm", + "cn", + "co", + "coach", + "codes", + "coffee", + "college", + "cologne", + "com", + "comcast", + "commbank", + "community", + "company", + "compare", + "computer", + "comsec", + "condos", + "construction", + "consulting", + "contact", + "contractors", + "cooking", + "cookingchannel", + "cool", + "coop", + "corsica", + "country", + "coupon", + "coupons", + "courses", + "cpa", + "cr", + "credit", + "creditcard", + "creditunion", + "cricket", + "crown", + "crs", + "cruise", + "cruises", + "cu", + "cuisinella", + "cv", + "cw", + "cx", + "cy", + "cymru", + "cyou", + "cz", + "dabur", + "dad", + "dance", + "data", + "date", + "dating", + "datsun", + "day", + "dclk", + "dds", + "de", + "deal", + "dealer", + "deals", + "degree", + "delivery", + "dell", + "deloitte", + "delta", + "democrat", + "dental", + "dentist", + "desi", + "design", + "dev", + "dhl", + "diamonds", + "diet", + "digital", + "direct", + "directory", + "discount", + "discover", + "dish", + "diy", + "dj", + "dk", + "dm", + "dnp", + "do", + "docs", + "doctor", + "dog", + "domains", + "dot", + "download", + "drive", + "dtv", + "dubai", + "dunlop", + "dupont", + "durban", + "dvag", + "dvr", + "dz", + "earth", + "eat", + "ec", + "eco", + "edeka", + "edu", + "education", + "ee", + "eg", + "email", + "emerck", + "energy", + "engineer", + "engineering", + "enterprises", + "epson", + "equipment", + "er", + "ericsson", + "erni", + "es", + "esq", + "estate", + "et", + "etisalat", + "eu", + "eurovision", + "eus", + "events", + "exchange", + "expert", + "exposed", + "express", + "extraspace", + "fage", + "fail", + "fairwinds", + "faith", + "family", + "fan", + "fans", + "farm", + "farmers", + "fashion", + "fast", + "fedex", + "feedback", + "ferrari", + "ferrero", + "fi", + "fiat", + "fidelity", + "fido", + "film", + "final", + "finance", + "financial", + "fire", + "firestone", + "firmdale", + "fish", + "fishing", + "fit", + "fitness", + "fj", + "fk", + "flickr", + "flights", + "flir", + "florist", + "flowers", + "fly", + "fm", + "fo", + "foo", + "food", + "foodnetwork", + "football", + "ford", + "forex", + "forsale", + "forum", + "foundation", + "fox", + "fr", + "free", + "fresenius", + "frl", + "frogans", + "frontdoor", + "frontier", + "ftr", + "fujitsu", + "fun", + "fund", + "furniture", + "futbol", + "fyi", + "ga", + "gal", + "gallery", + "gallo", + "gallup", + "game", + "games", + "gap", + "garden", + "gay", + "gb", + "gbiz", + "gd", + "gdn", + "ge", + "gea", + "gent", + "genting", + "george", + "gf", + "gg", + "ggee", + "gh", + "gi", + "gift", + "gifts", + "gives", + "giving", + "gl", + "glass", + "gle", + "global", + "globo", + "gm", + "gmail", + "gmbh", + "gmo", + "gmx", + "gn", + "godaddy", + "gold", + "goldpoint", + "golf", + "goo", + "goodyear", + "goog", + "google", + "gop", + "got", + "gov", + "gp", + "gq", + "gr", + "grainger", + "graphics", + "gratis", + "green", + "gripe", + "grocery", + "group", + "gs", + "gt", + "gu", + "guardian", + "gucci", + "guge", + "guide", + "guitars", + "guru", + "gw", + "gy", + "hair", + "hamburg", + "hangout", + "haus", + "hbo", + "hdfc", + "hdfcbank", + "health", + "healthcare", + "help", + "helsinki", + "here", + "hermes", + "hgtv", + "hiphop", + "hisamitsu", + "hitachi", + "hiv", + "hk", + "hkt", + "hm", + "hn", + "hockey", + "holdings", + "holiday", + "homedepot", + "homegoods", + "homes", + "homesense", + "honda", + "horse", + "hospital", + "host", + "hosting", + "hot", + "hoteles", + "hotels", + "hotmail", + "house", + "how", + "hr", + "hsbc", + "ht", + "hu", + "hughes", + "hyatt", + "hyundai", + "ibm", + "icbc", + "ice", + "icu", + "id", + "ie", + "ieee", + "ifm", + "ikano", + "il", + "im", + "imamat", + "imdb", + "immo", + "immobilien", + "in", + "inc", + "industries", + "infiniti", + "info", + "ing", + "ink", + "institute", + "insurance", + "insure", + "int", + "international", + "intuit", + "investments", + "io", + "ipiranga", + "iq", + "ir", + "irish", + "is", + "ismaili", + "ist", + "istanbul", + "it", + "itau", + "itv", + "jaguar", + "java", + "jcb", + "je", + "jeep", + "jetzt", + "jewelry", + "jio", + "jll", + "jm", + "jmp", + "jnj", + "jo", + "jobs", + "joburg", + "jot", + "joy", + "jp", + "jpmorgan", + "jprs", + "juegos", + "juniper", + "kaufen", + "kddi", + "ke", + "kerryhotels", + "kerrylogistics", + "kerryproperties", + "kfh", + "kg", + "kh", + "ki", + "kia", + "kids", + "kim", + "kinder", + "kindle", + "kitchen", + "kiwi", + "km", + "kn", + "koeln", + "komatsu", + "kosher", + "kp", + "kpmg", + "kpn", + "kr", + "krd", + "kred", + "kuokgroup", + "kw", + "ky", + "kyoto", + "kz", + "la", + "lacaixa", + "lamborghini", + "lamer", + "lancaster", + "lancia", + "land", + "landrover", + "lanxess", + "lasalle", + "lat", + "latino", + "latrobe", + "law", + "lawyer", + "lb", + "lc", + "lds", + "lease", + "leclerc", + "lefrak", + "legal", + "lego", + "lexus", + "lgbt", + "li", + "lidl", + "life", + "lifeinsurance", + "lifestyle", + "lighting", + "like", + "lilly", + "limited", + "limo", + "lincoln", + "linde", + "link", + "lipsy", + "live", + "living", + "lk", + "llc", + "llp", + "loan", + "loans", + "locker", + "locus", + "lol", + "london", + "lotte", + "lotto", + "love", + "lpl", + "lplfinancial", + "lr", + "ls", + "lt", + "ltd", + "ltda", + "lu", + "lundbeck", + "luxe", + "luxury", + "lv", + "ly", + "ma", + "macys", + "madrid", + "maif", + "maison", + "makeup", + "man", + "management", + "mango", + "map", + "market", + "marketing", + "markets", + "marriott", + "marshalls", + "maserati", + "mattel", + "mba", + "mc", + "mckinsey", + "md", + "me", + "med", + "media", + "meet", + "melbourne", + "meme", + "memorial", + "men", + "menu", + "merckmsd", + "mg", + "mh", + "miami", + "microsoft", + "mil", + "mini", + "mint", + "mit", + "mitsubishi", + "mk", + "ml", + "mlb", + "mls", + "mm", + "mma", + "mn", + "mo", + "mobi", + "mobile", + "moda", + "moe", + "moi", + "mom", + "monash", + "money", + "monster", + "mormon", + "mortgage", + "moscow", + "moto", + "motorcycles", + "mov", + "movie", + "mp", + "mq", + "mr", + "ms", + "msd", + "mt", + "mtn", + "mtr", + "mu", + "museum", + "music", + "mutual", + "mv", + "mw", + "mx", + "my", + "mz", + "na", + "nab", + "nagoya", + "name", + "natura", + "navy", + "nba", + "nc", + "ne", + "nec", + "net", + "netbank", + "netflix", + "network", + "neustar", + "new", + "news", + "next", + "nextdirect", + "nexus", + "nf", + "nfl", + "ng", + "ngo", + "nhk", + "ni", + "nico", + "nike", + "nikon", + "ninja", + "nissan", + "nissay", + "nl", + "no", + "nokia", + "northwesternmutual", + "norton", + "now", + "nowruz", + "nowtv", + "np", + "nr", + "nra", + "nrw", + "ntt", + "nu", + "nyc", + "nz", + "obi", + "observer", + "office", + "okinawa", + "olayan", + "olayangroup", + "oldnavy", + "ollo", + "om", + "omega", + "one", + "ong", + "onl", + "online", + "ooo", + "open", + "oracle", + "orange", + "org", + "organic", + "origins", + "osaka", + "otsuka", + "ott", + "ovh", + "pa", + "page", + "panasonic", + "paris", + "pars", + "partners", + "parts", + "party", + "passagens", + "pay", + "pccw", + "pe", + "pet", + "pf", + "pfizer", + "pg", + "ph", + "pharmacy", + "phd", + "philips", + "phone", + "photo", + "photography", + "photos", + "physio", + "pics", + "pictet", + "pictures", + "pid", + "pin", + "ping", + "pink", + "pioneer", + "pizza", + "pk", + "pl", + "place", + "play", + "playstation", + "plumbing", + "plus", + "pm", + "pn", + "pnc", + "pohl", + "poker", + "politie", + "porn", + "post", + "pr", + "pramerica", + "praxi", + "press", + "prime", + "pro", + "prod", + "productions", + "prof", + "progressive", + "promo", + "properties", + "property", + "protection", + "pru", + "prudential", + "ps", + "pt", + "pub", + "pw", + "pwc", + "py", + "qa", + "qpon", + "quebec", + "quest", + "racing", + "radio", + "re", + "read", + "realestate", + "realtor", + "realty", + "recipes", + "red", + "redstone", + "redumbrella", + "rehab", + "reise", + "reisen", + "reit", + "reliance", + "ren", + "rent", + "rentals", + "repair", + "report", + "republican", + "rest", + "restaurant", + "review", + "reviews", + "rexroth", + "rich", + "richardli", + "ricoh", + "ril", + "rio", + "rip", + "ro", + "rocher", + "rocks", + "rodeo", + "rogers", + "room", + "rs", + "rsvp", + "ru", + "rugby", + "ruhr", + "run", + "rw", + "rwe", + "ryukyu", + "sa", + "saarland", + "safe", + "safety", + "sakura", + "sale", + "salon", + "samsclub", + "samsung", + "sandvik", + "sandvikcoromant", + "sanofi", + "sap", + "sarl", + "sas", + "save", + "saxo", + "sb", + "sbi", + "sbs", + "sc", + "sca", + "scb", + "schaeffler", + "schmidt", + "scholarships", + "school", + "schule", + "schwarz", + "science", + "scot", + "sd", + "se", + "search", + "seat", + "secure", + "security", + "seek", + "select", + "sener", + "services", + "seven", + "sew", + "sex", + "sexy", + "sfr", + "sg", + "sh", + "shangrila", + "sharp", + "shaw", + "shell", + "shia", + "shiksha", + "shoes", + "shop", + "shopping", + "shouji", + "show", + "showtime", + "si", + "silk", + "sina", + "singles", + "site", + "sj", + "sk", + "ski", + "skin", + "sky", + "skype", + "sl", + "sling", + "sm", + "smart", + "smile", + "sn", + "sncf", + "so", + "soccer", + "social", + "softbank", + "software", + "sohu", + "solar", + "solutions", + "song", + "sony", + "soy", + "spa", + "space", + "sport", + "spot", + "sr", + "srl", + "ss", + "st", + "stada", + "staples", + "star", + "statebank", + "statefarm", + "stc", + "stcgroup", + "stockholm", + "storage", + "store", + "stream", + "studio", + "study", + "style", + "su", + "sucks", + "supplies", + "supply", + "support", + "surf", + "surgery", + "suzuki", + "sv", + "swatch", + "swiss", + "sx", + "sy", + "sydney", + "systems", + "sz", + "tab", + "taipei", + "talk", + "taobao", + "target", + "tatamotors", + "tatar", + "tattoo", + "tax", + "taxi", + "tc", + "tci", + "td", + "tdk", + "team", + "tech", + "technology", + "tel", + "temasek", + "tennis", + "teva", + "tf", + "tg", + "th", + "thd", + "theater", + "theatre", + "tiaa", + "tickets", + "tienda", + "tiffany", + "tips", + "tires", + "tirol", + "tj", + "tjmaxx", + "tjx", + "tk", + "tkmaxx", + "tl", + "tm", + "tmall", + "tn", + "to", + "today", + "tokyo", + "tools", + "top", + "toray", + "toshiba", + "total", + "tours", + "town", + "toyota", + "toys", + "tr", + "trade", + "trading", + "training", + "travel", + "travelchannel", + "travelers", + "travelersinsurance", + "trust", + "trv", + "tt", + "tube", + "tui", + "tunes", + "tushu", + "tv", + "tvs", + "tw", + "tz", + "ua", + "ubank", + "ubs", + "ug", + "uk", + "unicom", + "university", + "uno", + "uol", + "ups", + "us", + "uy", + "uz", + "va", + "vacations", + "vana", + "vanguard", + "vc", + "ve", + "vegas", + "ventures", + "verisign", + "vermögensberater", + "vermögensberatung", + "versicherung", + "vet", + "vg", + "vi", + "viajes", + "video", + "vig", + "viking", + "villas", + "vin", + "vip", + "virgin", + "visa", + "vision", + "viva", + "vivo", + "vlaanderen", + "vn", + "vodka", + "volkswagen", + "volvo", + "vote", + "voting", + "voto", + "voyage", + "vu", + "vuelos", + "wales", + "walmart", + "walter", + "wang", + "wanggou", + "watch", + "watches", + "weather", + "weatherchannel", + "webcam", + "weber", + "website", + "wed", + "wedding", + "weibo", + "weir", + "wf", + "whoswho", + "wien", + "wiki", + "williamhill", + "win", + "windows", + "wine", + "winners", + "wme", + "wolterskluwer", + "woodside", + "work", + "works", + "world", + "wow", + "ws", + "wtc", + "wtf", + "xbox", + "xerox", + "xfinity", + "xihuan", + "xin", + "xxx", + "xyz", + "yachts", + "yahoo", + "yamaxun", + "yandex", + "ye", + "yodobashi", + "yoga", + "yokohama", + "you", + "youtube", + "yt", + "yun", + "za", + "zappos", + "zara", + "zero", + "zip", + "zm", + "zone", + "zuerich", + "zw", + "ελ", + "ευ", + "бг", + "бел", + "дети", + "ею", + "католик", + "ком", + "мкд", + "мон", + "москва", + "онлайн", + "орг", + "рус", + "рф", + "сайт", + "срб", + "укр", + "қаз", + "հայ", + "ישראל", + "קום", + "ابوظبي", + "اتصالات", + "ارامكو", + "الاردن", + "البحرين", + "الجزائر", + "السعودية", + "العليان", + "المغرب", + "امارات", + "ایران", + "بارت", + "بازار", + "بيتك", + "بھارت", + "تونس", + "سودان", + "سورية", + "شبكة", + "عراق", + "عرب", + "عمان", + "فلسطين", + "قطر", + "كاثوليك", + "كوم", + "مصر", + "مليسيا", + "موريتانيا", + "موقع", + "همراه", + "پاکستان", + "ڀارت", + "कॉम", + "नेट", + "भारत", + "भारतम्", + "भारोत", + "संगठन", + "বাংলা", + "ভারত", + "ভাৰত", + "ਭਾਰਤ", + "ભારત", + "ଭାରତ", + "இந்தியா", + "இலங்கை", + "சிங்கப்பூர்", + "భారత్", + "ಭಾರತ", + "ഭാരതം", + "ලංකා", + "คอม", + "ไทย", + "ລາວ", + "გე", + "みんな", + "アマゾン", + "クラウド", + "グーグル", + "コム", + "ストア", + "セール", + "ファッション", + "ポイント", + "世界", + "中信", + "中国", + "中國", + "中文网", + "亚马逊", + "企业", + "佛山", + "信息", + "健康", + "八卦", + "公司", + "公益", + "台湾", + "台灣", + "商城", + "商店", + "商标", + "嘉里", + "嘉里大酒店", + "在线", + "大拿", + "天主教", + "娱乐", + "家電", + "广东", + "微博", + "慈善", + "我爱你", + "手机", + "招聘", + "政务", + "政府", + "新加坡", + "新闻", + "时尚", + "書籍", + "机构", + "淡马锡", + "游戏", + "澳門", + "点看", + "移动", + "组织机构", + "网址", + "网店", + "网站", + "网络", + "联通", + "谷歌", + "购物", + "通販", + "集团", + "電訊盈科", + "飞利浦", + "食品", + "餐厅", + "香格里拉", + "香港", + "닷넷", + "닷컴", + "삼성", + "한국" +]; + +const mailsplit = mailsplit$1; +const libmime = libmimeExports; +const addressparser = addressparser_1; +const Transform = require$$0$2.Transform; +const Splitter = mailsplit.Splitter; +const punycode = require$$4$1; +const FlowedDecoder = flowedDecoder; +const StreamHash = streamHash; +const iconv = libExports; +const { htmlToText } = htmlToText$1; +const he = heExports; +const linkify = linkifyIt(); +const tlds = require$$11; +const encodingJapanese = src; + +linkify + .tlds(tlds) // Reload with full tlds list + .tlds('onion', true) // Add unofficial `.onion` domain + .add('git:', 'http:') // Add `git:` ptotocol as "alias" + .add('ftp:', null) // Disable `ftp:` ptotocol + .set({ fuzzyIP: true, fuzzyLink: true, fuzzyEmail: true }); + +// twitter linkifier from +// https://github.com/markdown-it/linkify-it#example-2-add-twitter-mentions-handler +linkify.add('@', { + validate(text, pos, self) { + let tail = text.slice(pos); + + if (!self.re.twitter) { + self.re.twitter = new RegExp('^([a-zA-Z0-9_]){1,15}(?!_)(?=$|' + self.re.src_ZPCc + ')'); + } + if (self.re.twitter.test(tail)) { + // Linkifier allows punctuation chars before prefix, + // but we additionally disable `@` ("@@mention" is invalid) + if (pos >= 2 && tail[pos - 2] === '@') { + return false; + } + return tail.match(self.re.twitter)[0].length; + } + return 0; + }, + normalize(match) { + match.url = 'https://twitter.com/' + match.url.replace(/^@/, ''); + } +}); + +class IconvDecoder extends Transform { + constructor(Iconv, charset) { + super(); + + // Iconv throws error on ks_c_5601-1987 when it is mapped to EUC-KR + // https://github.com/bnoordhuis/node-iconv/issues/169 + if (charset.toLowerCase() === 'ks_c_5601-1987') { + charset = 'CP949'; + } + this.stream = new Iconv(charset, 'UTF-8//TRANSLIT//IGNORE'); + + this.inputEnded = false; + this.endCb = false; + + this.stream.on('error', err => this.emit('error', err)); + this.stream.on('data', chunk => this.push(chunk)); + this.stream.on('end', () => { + this.inputEnded = true; + if (typeof this.endCb === 'function') { + this.endCb(); + } + }); + } + + _transform(chunk, encoding, done) { + this.stream.write(chunk); + done(); + } + + _flush(done) { + this.endCb = done; + this.stream.end(); + } +} + +class JPDecoder extends Transform { + constructor(charset) { + super(); + + this.charset = charset; + this.chunks = []; + this.chunklen = 0; + } + + _transform(chunk, encoding, done) { + if (typeof chunk === 'string') { + chunk = Buffer.from(chunk, encoding); + } + + this.chunks.push(chunk); + this.chunklen += chunk.length; + done(); + } + + _flush(done) { + let input = Buffer.concat(this.chunks, this.chunklen); + try { + let output = encodingJapanese.convert(input, { + to: 'UNICODE', // to_encoding + from: this.charset, // from_encoding + type: 'string' + }); + if (typeof output === 'string') { + output = Buffer.from(output); + } + this.push(output); + } catch (err) { + // keep as is on errors + this.push(input); + } + + done(); + } +} + +class MailParser extends Transform { + constructor(config) { + super({ + readableObjectMode: true, + writableObjectMode: false + }); + + this.options = config || {}; + this.splitter = new Splitter(config); + this.finished = false; + this.waitingEnd = false; + + this.headers = false; + this.headerLines = false; + + this.endReceived = false; + this.reading = false; + this.hasFailed = false; + + this.tree = false; + this.curnode = false; + this.waitUntilAttachmentEnd = false; + this.attachmentCallback = false; + + this.hasHtml = false; + this.hasText = false; + + this.text = false; + this.html = false; + this.textAsHtml = false; + + this.attachmentList = []; + + this.boundaries = []; + + this.textTypes = ['text/plain', 'text/html'].concat(!this.options.keepDeliveryStatus ? 'message/delivery-status' : []); + + this.decoder = this.getDecoder(); + + this.splitter.on('readable', () => { + if (this.reading) { + return false; + } + this.readData(); + }); + + this.splitter.on('end', () => { + this.endReceived = true; + if (!this.reading) { + this.endStream(); + } + }); + + this.splitter.on('error', err => { + this.hasFailed = true; + if (typeof this.waitingEnd === 'function') { + return this.waitingEnd(err); + } + this.emit('error', err); + }); + + this.libmime = new libmime.Libmime({ Iconv: this.options.Iconv }); + } + + getDecoder() { + if (this.options.Iconv) { + const Iconv = this.options.Iconv; + // create wrapper + return { + decodeStream(charset) { + return new IconvDecoder(Iconv, charset); + } + }; + } else { + return { + decodeStream(charset) { + charset = (charset || 'ascii').toString().trim().toLowerCase(); + if (/^jis|^iso-?2022-?jp|^EUCJP/i.test(charset)) { + // special case not supported by iconv-lite + return new JPDecoder(charset); + } + + return iconv.decodeStream(charset); + } + }; + } + } + + readData() { + if (this.hasFailed) { + return false; + } + this.reading = true; + let data = this.splitter.read(); + if (data === null) { + this.reading = false; + if (this.endReceived) { + this.endStream(); + } + return; + } + + this.processChunk(data, err => { + if (err) { + if (typeof this.waitingEnd === 'function') { + return this.waitingEnd(err); + } + return this.emit('error', err); + } + setImmediate(() => this.readData()); + }); + } + + endStream() { + this.finished = true; + + if (this.curnode && this.curnode.decoder) { + this.curnode.decoder.end(); + } + if (typeof this.waitingEnd === 'function') { + this.waitingEnd(); + } + } + + _transform(chunk, encoding, done) { + if (!chunk || !chunk.length) { + return done(); + } + + if (this.splitter.write(chunk) === false) { + return this.splitter.once('drain', () => { + done(); + }); + } else { + return done(); + } + } + + _flush(done) { + setImmediate(() => this.splitter.end()); + if (this.finished) { + return this.cleanup(done); + } + this.waitingEnd = () => { + this.cleanup(() => { + done(); + }); + }; + } + + cleanup(done) { + let finish = () => { + try { + let t = this.getTextContent(); + this.push(t); + } catch (err) { + return this.emit('error', err); + } + + done(); + }; + + if (this.curnode && this.curnode.decoder && this.curnode.decoder.readable && !this.decoderEnded) { + (this.curnode.contentStream || this.curnode.decoder).once('end', () => { + finish(); + }); + this.curnode.decoder.end(); + } else { + setImmediate(() => { + finish(); + }); + } + } + + processHeaders(lines) { + let headers = new Map(); + (lines || []).forEach(line => { + let key = line.key; + let value = ((this.libmime.decodeHeader(line.line) || {}).value || '').toString().trim(); + value = Buffer.from(value, 'binary').toString(); + switch (key) { + case 'content-type': + case 'content-disposition': + case 'dkim-signature': + value = this.libmime.parseHeaderValue(value); + if (value.value) { + value.value = this.libmime.decodeWords(value.value); + } + Object.keys((value && value.params) || {}).forEach(key => { + try { + value.params[key] = this.libmime.decodeWords(value.params[key]); + } catch (E) { + // ignore, keep as is + } + }); + break; + case 'date': { + let dateValue = new Date(value); + if (isNaN(dateValue)) { + // date parsing failed :S + dateValue = new Date(); + } + value = dateValue; + break; + } + case 'subject': + try { + value = this.libmime.decodeWords(value); + } catch (E) { + // ignore, keep as is + } + break; + case 'references': + try { + value = this.libmime.decodeWords(value); + } catch (E) { + // ignore + } + value = value.split(/\s+/).map(this.ensureMessageIDFormat); + break; + case 'message-id': + case 'in-reply-to': + try { + value = this.libmime.decodeWords(value); + } catch (E) { + // ignore + } + value = this.ensureMessageIDFormat(value); + break; + case 'priority': + case 'x-priority': + case 'x-msmail-priority': + case 'importance': + key = 'priority'; + value = this.parsePriority(value); + break; + case 'from': + case 'to': + case 'cc': + case 'bcc': + case 'sender': + case 'reply-to': + case 'delivered-to': + case 'return-path': + value = addressparser(value); + this.decodeAddresses(value); + value = { + value, + html: this.getAddressesHTML(value), + text: this.getAddressesText(value) + }; + break; + } + + // handle list-* keys + if (key.substr(0, 5) === 'list-') { + value = this.parseListHeader(key.substr(5), value); + key = 'list'; + } + + if (value) { + if (!headers.has(key)) { + headers.set(key, [].concat(value || [])); + } else if (Array.isArray(value)) { + headers.set(key, headers.get(key).concat(value)); + } else { + headers.get(key).push(value); + } + } + }); + + // keep only the first value + let singleKeys = [ + 'message-id', + 'content-id', + 'from', + 'sender', + 'in-reply-to', + 'reply-to', + 'subject', + 'date', + 'content-disposition', + 'content-type', + 'content-transfer-encoding', + 'priority', + 'mime-version', + 'content-description', + 'precedence', + 'errors-to' + ]; + + headers.forEach((value, key) => { + if (Array.isArray(value)) { + if (singleKeys.includes(key) && value.length) { + headers.set(key, value[value.length - 1]); + } else if (value.length === 1) { + headers.set(key, value[0]); + } + } + + if (key === 'list') { + // normalize List-* headers + let listValue = {}; + [].concat(value || []).forEach(val => { + Object.keys(val || {}).forEach(listKey => { + listValue[listKey] = val[listKey]; + }); + }); + headers.set(key, listValue); + } + }); + + return headers; + } + + parseListHeader(key, value) { + let addresses = addressparser(value); + let response = {}; + let data = addresses + .map(address => { + if (/^https?:/i.test(address.name)) { + response.url = address.name; + } else if (address.name) { + response.name = address.name; + } + if (/^mailto:/.test(address.address)) { + response.mail = address.address.substr(7); + } else if (address.address && address.address.indexOf('@') < 0) { + response.id = address.address; + } else if (address.address) { + response.mail = address.address; + } + if (Object.keys(response).length) { + return response; + } + return false; + }) + .filter(address => address); + if (data.length) { + return { + [key]: response + }; + } + return false; + } + + parsePriority(value) { + value = value.toLowerCase().trim(); + if (!isNaN(parseInt(value, 10))) { + // support "X-Priority: 1 (Highest)" + value = parseInt(value, 10) || 0; + if (value === 3) { + return 'normal'; + } else if (value > 3) { + return 'low'; + } else { + return 'high'; + } + } else { + switch (value) { + case 'non-urgent': + case 'low': + return 'low'; + case 'urgent': + case 'high': + return 'high'; + } + } + return 'normal'; + } + + ensureMessageIDFormat(value) { + if (!value.length) { + return false; + } + + if (value.charAt(0) !== '<') { + value = '<' + value; + } + + if (value.charAt(value.length - 1) !== '>') { + value += '>'; + } + + return value; + } + + decodeAddresses(addresses) { + let processedAddress = new WeakSet(); + for (let i = 0; i < addresses.length; i++) { + let address = addresses[i]; + address.name = (address.name || '').toString().trim(); + + if (!address.address && /^(=\?([^?]+)\?[Bb]\?[^?]*\?=)(\s*=\?([^?]+)\?[Bb]\?[^?]*\?=)*$/.test(address.name) && !processedAddress.has(address)) { + let parsed = addressparser(this.libmime.decodeWords(address.name)); + if (parsed.length) { + parsed.forEach(entry => { + processedAddress.add(entry); + addresses.push(entry); + }); + } + + // remove current element + addresses.splice(i, 1); + i--; + continue; + } + + if (address.name) { + try { + address.name = this.libmime.decodeWords(address.name); + } catch (E) { + //ignore, keep as is + } + } + if (/@xn--/.test(address.address)) { + try { + address.address = + address.address.substr(0, address.address.lastIndexOf('@') + 1) + + punycode.toUnicode(address.address.substr(address.address.lastIndexOf('@') + 1)); + } catch (E) { + // Not a valid punycode string; keep as is + } + } + if (address.group) { + this.decodeAddresses(address.group); + } + } + } + + createNode(node) { + let contentType = node.contentType; + let disposition = node.disposition; + let encoding = node.encoding; + let charset = node.charset; + + if (!contentType && node.root) { + contentType = 'text/plain'; + } + + let newNode = { + node, + headerLines: node.headers.lines, + headers: this.processHeaders(node.headers.getList()), + contentType, + children: [] + }; + + if (!/^multipart\//i.test(contentType)) { + if (disposition && !['attachment', 'inline'].includes(disposition)) { + disposition = 'attachment'; + } + + if (!disposition && !this.textTypes.includes(contentType)) { + newNode.disposition = 'attachment'; + } else { + newNode.disposition = disposition || 'inline'; + } + + newNode.isAttachment = !this.textTypes.includes(contentType) || newNode.disposition !== 'inline'; + + newNode.encoding = ['quoted-printable', 'base64'].includes(encoding) ? encoding : 'binary'; + + if (charset) { + newNode.charset = charset; + } + + let decoder = node.getDecoder(); + decoder.on('end', () => { + this.decoderEnded = true; + }); + newNode.decoder = decoder; + } + + if (node.root) { + this.headers = newNode.headers; + this.headerLines = newNode.headerLines; + } + + // find location in tree + + if (!this.tree) { + newNode.root = true; + this.curnode = this.tree = newNode; + return newNode; + } + + // immediate child of root node + if (!this.curnode.parent) { + newNode.parent = this.curnode; + this.curnode.children.push(newNode); + this.curnode = newNode; + return newNode; + } + + // siblings + if (this.curnode.parent.node === node.parentNode) { + newNode.parent = this.curnode.parent; + this.curnode.parent.children.push(newNode); + this.curnode = newNode; + return newNode; + } + + // first child + if (this.curnode.node === node.parentNode) { + newNode.parent = this.curnode; + this.curnode.children.push(newNode); + this.curnode = newNode; + return newNode; + } + + // move up + let parentNode = this.curnode; + while ((parentNode = parentNode.parent)) { + if (parentNode.node === node.parentNode) { + newNode.parent = parentNode; + parentNode.children.push(newNode); + this.curnode = newNode; + return newNode; + } + } + + // should never happen, can't detect parent + this.curnode = newNode; + return newNode; + } + + getTextContent() { + let text = []; + let html = []; + let processNode = (alternative, level, node) => { + if (node.showMeta) { + let meta = ['From', 'Subject', 'Date', 'To', 'Cc', 'Bcc'] + .map(fkey => { + let key = fkey.toLowerCase(); + if (!node.headers.has(key)) { + return false; + } + let value = node.headers.get(key); + if (!value) { + return false; + } + return { + key: fkey, + value: Array.isArray(value) ? value[value.length - 1] : value + }; + }) + .filter(entry => entry); + if (this.hasHtml) { + html.push( + '' + + meta + .map(entry => { + let value = entry.value; + switch (entry.key) { + case 'From': + case 'To': + case 'Cc': + case 'Bcc': + value = value.html; + break; + case 'Date': + value = this.options.formatDateString ? this.options.formatDateString(value) : value.toUTCString(); + break; + case 'Subject': + value = '' + he.encode(value) + ''; + break; + default: + value = he.encode(value); + } + + return ''; + }) + .join('\n') + + '
' + he.encode(entry.key) + ':' + value + '
' + ); + } + if (this.hasText) { + text.push( + '\n' + + meta + .map(entry => { + let value = entry.value; + switch (entry.key) { + case 'From': + case 'To': + case 'Cc': + case 'Bcc': + value = value.text; + break; + case 'Date': + value = this.options.formatDateString ? this.options.formatDateString(value) : value.toUTCString(); + break; + } + return entry.key + ': ' + value; + }) + .join('\n') + + '\n' + ); + } + } + if (node.textContent) { + if (node.contentType === 'text/plain') { + text.push(node.textContent); + if (!alternative && this.hasHtml) { + html.push(this.textToHtml(node.textContent)); + } + } else if (node.contentType === 'message/delivery-status' && !this.options.keepDeliveryStatus) { + text.push(node.textContent); + if (!alternative && this.hasHtml) { + html.push(this.textToHtml(node.textContent)); + } + } else if (node.contentType === 'text/html') { + let failedToParseHtml = false; + if ((!alternative && this.hasText) || (node.root && !this.hasText)) { + if (this.options.skipHtmlToText) { + text.push(''); + } else if (node.textContent.length > this.options.maxHtmlLengthToParse) { + this.emit('error', new Error(`HTML too long for parsing ${node.textContent.length} bytes`)); + text.push('Invalid HTML content (too long)'); + failedToParseHtml = true; + } else { + try { + text.push(htmlToText(node.textContent)); + } catch (err) { + this.emit('error', new Error('Failed to parse HTML')); + text.push('Invalid HTML content'); + failedToParseHtml = true; + } + } + } + if (!failedToParseHtml) { + html.push(node.textContent); + } + } + } + alternative = alternative || node.contentType === 'multipart/alternative'; + if (node.children) { + node.children.forEach(subNode => { + processNode(alternative, level + 1, subNode); + }); + } + }; + + processNode(false, 0, this.tree); + + let response = { + type: 'text' + }; + if (html.length) { + this.html = response.html = html.join('
\n'); + } + if (text.length) { + this.text = response.text = text.join('\n'); + this.textAsHtml = response.textAsHtml = text.map(part => this.textToHtml(part)).join('
\n'); + } + return response; + } + + processChunk(data, done) { + let partId = null; + if (data._parentBoundary) { + partId = this._getPartId(data._parentBoundary); + } + switch (data.type) { + case 'node': { + let node = this.createNode(data); + if (node === this.tree) { + ['subject', 'references', 'date', 'to', 'from', 'to', 'cc', 'bcc', 'message-id', 'in-reply-to', 'reply-to'].forEach(key => { + if (node.headers.has(key)) { + this[key.replace(/-([a-z])/g, (m, c) => c.toUpperCase())] = node.headers.get(key); + } + }); + this.emit('headers', node.headers); + } + + if (data.contentType === 'message/rfc822' && data.messageNode) { + break; + } + + if (data.parentNode && data.parentNode.contentType === 'message/rfc822') { + node.showMeta = true; + } + + if (node.isAttachment) { + let contentType = node.contentType; + if (node.contentType === 'application/octet-stream' && data.filename) { + contentType = this.libmime.detectMimeType(data.filename) || 'application/octet-stream'; + } + + let attachment = { + type: 'attachment', + content: null, + contentType, + partId, + release: () => { + attachment.release = null; + if (this.waitUntilAttachmentEnd && typeof this.attachmentCallback === 'function') { + setImmediate(this.attachmentCallback); + } + this.attachmentCallback = false; + this.waitUntilAttachmentEnd = false; + } + }; + + let algo = this.options.checksumAlgo || 'md5'; + let hasher = new StreamHash(attachment, algo); + node.decoder.on('error', err => { + hasher.emit('error', err); + }); + + node.decoder.on('readable', () => { + let chunk; + + while ((chunk = node.decoder.read()) !== null) { + hasher.write(chunk); + } + }); + + node.decoder.once('end', () => { + hasher.end(); + }); + + //node.decoder.pipe(hasher); + attachment.content = hasher; + + this.waitUntilAttachmentEnd = true; + if (data.disposition) { + attachment.contentDisposition = data.disposition; + } + + if (data.filename) { + attachment.filename = data.filename; + } + + if (node.headers.has('content-id')) { + attachment.contentId = [].concat(node.headers.get('content-id') || []).shift(); + attachment.cid = attachment.contentId.trim().replace(/^<|>$/g, '').trim(); + // check if the attachment is "related" to text content like an embedded image etc + let parentNode = node; + while ((parentNode = parentNode.parent)) { + if (parentNode.contentType === 'multipart/related') { + attachment.related = true; + } + } + } + + attachment.headers = node.headers; + this.push(attachment); + this.attachmentList.push(attachment); + } else if (node.disposition === 'inline') { + let chunks = []; + let chunklen = 0; + node.contentStream = node.decoder; + + if (node.contentType === 'text/plain') { + this.hasText = true; + } else if (node.contentType === 'text/html') { + this.hasHtml = true; + } else if (node.contentType === 'message/delivery-status' && !this.options.keepDeliveryStatus) { + this.hasText = true; + } + + if (node.node.flowed) { + let contentStream = node.contentStream; + let flowDecoder = new FlowedDecoder({ + delSp: node.node.delSp + }); + contentStream.on('error', err => { + flowDecoder.emit('error', err); + }); + contentStream.pipe(flowDecoder); + node.contentStream = flowDecoder; + } + + let charset = node.charset || 'utf-8'; + //charset = charset || 'windows-1257'; + + if (!['ascii', 'usascii', 'utf8'].includes(charset.toLowerCase().replace(/[^a-z0-9]+/g, ''))) { + try { + let contentStream = node.contentStream; + let decodeStream = this.decoder.decodeStream(charset); + contentStream.on('error', err => { + decodeStream.emit('error', err); + }); + contentStream.pipe(decodeStream); + node.contentStream = decodeStream; + } catch (E) { + // do not decode charset + } + } + + node.contentStream.on('readable', () => { + let chunk; + while ((chunk = node.contentStream.read()) !== null) { + if (typeof chunk === 'string') { + chunk = Buffer.from(chunk); + } + chunks.push(chunk); + chunklen += chunk.length; + } + }); + + node.contentStream.once('end', () => { + node.textContent = Buffer.concat(chunks, chunklen).toString().replace(/\r?\n/g, '\n'); + }); + + node.contentStream.once('error', err => { + this.emit('error', err); + }); + } + + break; + } + + case 'data': + if (this.curnode && this.curnode.decoder) { + this.curnode.decoder.end(); + } + + if (this.waitUntilAttachmentEnd) { + this.attachmentCallback = done; + return; + } + + // multipart message structure + // this is not related to any specific 'node' block as it includes + // everything between the end of some node body and between the next header + //process.stdout.write(data.value); + break; + + case 'body': + if (this.curnode && this.curnode.decoder && this.curnode.decoder.writable) { + if (this.curnode.decoder.write(data.value) === false) { + return this.curnode.decoder.once('drain', done); + } + } + + // Leaf element body. Includes the body for the last 'node' block. You might + // have several 'body' calls for a single 'node' block + //process.stdout.write(data.value); + break; + } + + setImmediate(done); + } + + _getPartId(parentBoundary) { + let boundaryIndex = this.boundaries.findIndex(item => item.name === parentBoundary); + if (boundaryIndex === -1) { + this.boundaries.push({ name: parentBoundary, count: 1 }); + boundaryIndex = this.boundaries.length - 1; + } else { + this.boundaries[boundaryIndex].count++; + } + let partId = '1'; + for (let i = 0; i <= boundaryIndex; i++) { + if (i === 0) partId = this.boundaries[i].count.toString(); + else partId += '.' + this.boundaries[i].count.toString(); + } + return partId; + } + + getAddressesHTML(value) { + let formatSingleLevel = addresses => + addresses + .map(address => { + let str = ''; + if (address.name) { + str += '' + he.encode(address.name) + (address.group ? ': ' : '') + ''; + } + if (address.address) { + let link = '' + he.encode(address.address) + ''; + if (address.name) { + str += ' <' + link + '>'; + } else { + str += link; + } + } + if (address.group) { + str += formatSingleLevel(address.group) + ';'; + } + return str + ''; + }) + .join(', '); + return formatSingleLevel([].concat(value || [])); + } + + getAddressesText(value) { + let formatSingleLevel = addresses => + addresses + .map(address => { + let str = ''; + if (address.name) { + str += address.name + (address.group ? ': ' : ''); + } + if (address.address) { + let link = address.address; + if (address.name) { + str += ' <' + link + '>'; + } else { + str += link; + } + } + if (address.group) { + str += formatSingleLevel(address.group) + ';'; + } + return str; + }) + .join(', '); + return formatSingleLevel([].concat(value || [])); + } + + updateImageLinks(replaceCallback, done) { + if (!this.html) { + return setImmediate(() => done(null, false)); + } + + let cids = new Map(); + let html = (this.html || '').toString(); + + if (this.options.skipImageLinks) { + return done(null, html); + } + + html.replace(/\bcid:([^'"\s]{1,256})/g, (match, cid) => { + for (let i = 0, len = this.attachmentList.length; i < len; i++) { + if (this.attachmentList[i].cid === cid && /^image\/[\w]+$/i.test(this.attachmentList[i].contentType)) { + cids.set(cid, { + attachment: this.attachmentList[i] + }); + break; + } + } + return match; + }); + + let cidList = []; + cids.forEach(entry => { + cidList.push(entry); + }); + + let pos = 0; + let processNext = () => { + if (pos >= cidList.length) { + html = html.replace(/\bcid:([^'"\s]{1,256})/g, (match, cid) => { + if (cids.has(cid) && cids.get(cid).url) { + return cids.get(cid).url; + } + return match; + }); + + return done(null, html); + } + let entry = cidList[pos++]; + replaceCallback(entry.attachment, (err, url) => { + if (err) { + return setImmediate(() => done(err)); + } + entry.url = url; + setImmediate(processNext); + }); + }; + + setImmediate(processNext); + } + + textToHtml(str) { + if (this.options.skipTextToHtml) { + return ''; + } + str = (str || '').toString(); + let encoded; + + let linkified = false; + if (!this.options.skipTextLinks) { + try { + if (linkify.pretest(str)) { + linkified = true; + let links = linkify.match(str) || []; + let result = []; + let last = 0; + + links.forEach(link => { + if (last < link.index) { + let textPart = he + // encode special chars + .encode(str.slice(last, link.index), { + useNamedReferences: true + }); + result.push(textPart); + } + + result.push(`${link.text}`); + + last = link.lastIndex; + }); + + let textPart = he + // encode special chars + .encode(str.slice(last), { + useNamedReferences: true + }); + result.push(textPart); + + encoded = result.join(''); + } + } catch (E) { + // failed, don't linkify + } + } + + if (!linkified) { + encoded = he + // encode special chars + .encode(str, { + useNamedReferences: true + }); + } + + let text = + '

' + + encoded + .replace(/\r?\n/g, '\n') + .trim() // normalize line endings + .replace(/[ \t]+$/gm, '') + .trim() // trim empty line endings + .replace(/\n\n+/g, '

') + .trim() // insert

to multiple linebreaks + .replace(/\n/g, '
') + // insert
to single linebreaks + '

'; + + return text; + } +} + +var mailParser = MailParser; + +export { mailParser as default }; From a746670baaa60238aa3fe0d71141f0bfebb3dbe1 Mon Sep 17 00:00:00 2001 From: jhm Date: Tue, 23 May 2023 17:20:40 +0200 Subject: [PATCH 6/9] Clean up code and extend AdSyncConfig --- .../worker/facades/lazy/ImportImapFacade.ts | 3 -- src/api/worker/imapimport/ImapImportUtils.ts | 2 +- src/api/worker/imapimport/ImapImporter.ts | 40 +++++-------------- .../imapimport/adsync/AdSyncEventListener.ts | 2 +- src/desktop/imapimport/adsync/ImapAdSync.ts | 8 +++- .../imapimport/adsync/ImapSyncSession.ts | 24 ++++++----- .../adsync/ImapSyncSessionMailbox.ts | 5 ++- .../adsync/ImapSyncSessionProcess.ts | 18 +++++---- .../imapimport/adsync/ImapSyncState.ts | 2 +- .../imapimport/adsync/imapmail/ImapMail.ts | 2 + .../adsync/imapmail/ImapMailRFC822Parser.ts | 5 ++- .../imapimport/adsync/imapmail/ImapMailbox.ts | 2 +- .../AdSyncDownloadBatchSizeOptimizer.ts | 8 ++-- .../adsync/optimizer/AdSyncOptimizer.ts | 4 +- .../AdSyncParallelProcessesOptimizer.ts | 8 ++-- .../AdSyncProcessesOptimizer.ts | 14 ++++--- .../AdSyncSingleProcessesOptimizer.ts | 2 +- .../adsync/utils/DifferentialUidLoader.ts | 6 +-- .../imapimport/adsync/ImapAdSyncTest.ts | 19 --------- 19 files changed, 80 insertions(+), 94 deletions(-) delete mode 100644 test/tests/desktop/imapimport/adsync/ImapAdSyncTest.ts diff --git a/src/api/worker/facades/lazy/ImportImapFacade.ts b/src/api/worker/facades/lazy/ImportImapFacade.ts index 930c6d549fb..b53ca530803 100644 --- a/src/api/worker/facades/lazy/ImportImapFacade.ts +++ b/src/api/worker/facades/lazy/ImportImapFacade.ts @@ -92,13 +92,10 @@ export class ImportImapFacade { } async postponeImapImport(postponedUntil: Date, importImapAccountSyncStateId: Id): Promise { - const mailGroupId = this.userFacade.getGroupId(GroupType.Mail) - const importImapAccountSyncState = await this.entityClient.load(ImportImapAccountSyncStateTypeRef, importImapAccountSyncStateId) importImapAccountSyncState.postponedUntil = postponedUntil.getTime().toString() await this.entityClient.update(importImapAccountSyncState) - return importImapAccountSyncState } diff --git a/src/api/worker/imapimport/ImapImportUtils.ts b/src/api/worker/imapimport/ImapImportUtils.ts index bfaea5c320b..cce75e7d2ed 100644 --- a/src/api/worker/imapimport/ImapImportUtils.ts +++ b/src/api/worker/imapimport/ImapImportUtils.ts @@ -52,7 +52,7 @@ export function imapMailToImportMailParams( receivedDate: imapMail.internalDate ?? new Date(Date.now()), state: mailStateFromImapMailbox(imapMail.belongsToMailbox), unread: unreadFromImapMail(imapMail), - messageId: imapMail.envelope?.messageId ?? null, // if null, a new messageId is generated on the tutadb server + messageId: imapMail.envelope?.messageId ?? null, // TODO if null, a new messageId should be generated on the Tutadb server senderMailAddress: fromMailAddress, senderName: fromName, method: mailMethodFromImapMail(imapMail), diff --git a/src/api/worker/imapimport/ImapImporter.ts b/src/api/worker/imapimport/ImapImporter.ts index d9f9e6491e4..6e9da5abef8 100644 --- a/src/api/worker/imapimport/ImapImporter.ts +++ b/src/api/worker/imapimport/ImapImporter.ts @@ -11,12 +11,12 @@ import { ImapMail, ImapMailAttachment } from "../../../desktop/imapimport/adsync import { ImapError } from "../../../desktop/imapimport/adsync/imapmail/ImapError.js" import { ImapImportSystemFacade } from "../../../native/common/generatedipc/ImapImportSystemFacade.js" import { ImapImportFacade } from "../../../native/common/generatedipc/ImapImportFacade.js" -import { defer, DeferredObject, uint8ArrayToString } from "@tutao/tutanota-utils" +import { uint8ArrayToString } from "@tutao/tutanota-utils" import { sha256Hash } from "@tutao/tutanota-crypto" import { MaybePromise } from "rollup" import { SuspensionError } from "../../common/error/SuspensionError.js" -const DEFAULT_POSTPONE_TIME = 120 * 1000 +const DEFAULT_TUTANOTA_SERVER_POSTPONE_TIME = 120 * 1000 // 120 seconds export interface InitializeImapImportParams { host: string @@ -34,11 +34,6 @@ export class ImapImporter implements ImapImportFacade { private importImapFolderSyncStates?: ImportImapFolderSyncState[] private importedImapAttachmentHashToIdMap?: Map> - // TODO remove after evaluation - private testMailCounterPromise?: DeferredObject - private testMailCounter = 0 - private testDownloadStartTime: Date = new Date() - constructor( private readonly imapImportSystemFacade: ImapImportSystemFacade, private readonly importImapFacade: ImportImapFacade, @@ -94,10 +89,6 @@ export class ImapImporter implements ImapImportFacade { await this.imapImportSystemFacade.startImport(imapSyncState) - // TODO remove after evaluation - this.testMailCounter = 0 - this.testDownloadStartTime.setTime(Date.now()) - this.imapImportState = new ImapImportState(ImportState.RUNNING) return this.imapImportState } @@ -122,7 +113,7 @@ export class ImapImporter implements ImapImportFacade { } async deleteImport(): Promise { - // TODO delete imap import + // TODO delete import return true } @@ -221,7 +212,7 @@ export class ImapImporter implements ImapImportFacade { this.importedImapAttachmentHashToIdMap?.set(fileHash, deferredAttachmentId) let importDataFile: ImapImportDataFile = { _type: "DataFile", - name: imapMailAttachment.filename ?? imapMailAttachment.cid + Date.now().toString(), // TODO better to use hash? + name: imapMailAttachment.filename ?? imapMailAttachment.cid + Date.now().toString(), // TODO better to directly use the hash? data: imapMailAttachment.content, size: imapMailAttachment.size, mimeType: imapMailAttachment.contentType, @@ -254,8 +245,10 @@ export class ImapImporter implements ImapImportFacade { } break case AdSyncEventType.UPDATE: + // TODO update mail folder through existing Tutanota API's break case AdSyncEventType.DELETE: + // TODO delete mail folder through existing Tutanota API's break } @@ -279,13 +272,6 @@ export class ImapImporter implements ImapImportFacade { } async onMail(imapMail: ImapMail, eventType: AdSyncEventType): Promise { - // TODO remove after evaluation - // lock testMailCounter - await this.testMailCounterPromise?.promise - this.testMailCounterPromise = defer() - this.testMailCounter += 1 - this.testMailCounterPromise.resolve() - if (this.importImapFolderSyncStates === undefined) { throw new ProgrammingError("onMail event received but importImapFolderSyncStates not initialized!") } @@ -299,14 +285,17 @@ export class ImapImporter implements ImapImportFacade { case AdSyncEventType.CREATE: this.importMailFacade.importMail(importMailParams).catch((error) => { if (error instanceof SuspensionError) { - this.postponeImport(new Date(Date.now() + (error.suspensionTime ? parseInt(error.suspensionTime) : DEFAULT_POSTPONE_TIME))) + this.postponeImport( + new Date(Date.now() + (error.suspensionTime ? parseInt(error.suspensionTime) : DEFAULT_TUTANOTA_SERVER_POSTPONE_TIME)), + ) } }) break case AdSyncEventType.UPDATE: - //this.importMailFacade.updateMail(importMailParams) // TODO update mail properties through existing tutanota apis (unread / read, etc) + // TODO update mail properties through existing Tutanota API's (unread / read, etc.) break case AdSyncEventType.DELETE: + // TODO delete mail through existing Tutanota API's break } } @@ -320,13 +309,6 @@ export class ImapImporter implements ImapImportFacade { } onFinish(downloadedQuota: number): Promise { - // TODO remove after evaluation - let downloadTime = Date.now() - this.testDownloadStartTime.getTime() - console.log("Downloaded data (byte): " + downloadedQuota) - console.log("Took (ms): " + downloadTime) - console.log("Average throughput (bytes/ms): " + downloadedQuota / downloadTime) - console.log("# amount of mails downloaded: " + this.testMailCounter) - this.imapImportState = new ImapImportState(ImportState.FINISHED) return Promise.resolve() } diff --git a/src/desktop/imapimport/adsync/AdSyncEventListener.ts b/src/desktop/imapimport/adsync/AdSyncEventListener.ts index e6b803bbe77..4631ecec149 100644 --- a/src/desktop/imapimport/adsync/AdSyncEventListener.ts +++ b/src/desktop/imapimport/adsync/AdSyncEventListener.ts @@ -1,4 +1,4 @@ -//@bundleInto:common-min +//@bundleInto:common import { ImapMailbox, ImapMailboxStatus } from "./imapmail/ImapMailbox.js" import { ImapMail } from "./imapmail/ImapMail.js" diff --git a/src/desktop/imapimport/adsync/ImapAdSync.ts b/src/desktop/imapimport/adsync/ImapAdSync.ts index b78b2c54792..31282deecd8 100644 --- a/src/desktop/imapimport/adsync/ImapAdSync.ts +++ b/src/desktop/imapimport/adsync/ImapAdSync.ts @@ -4,20 +4,24 @@ import { ImapSyncState } from "./ImapSyncState.js" const defaultAdSyncConfig: AdSyncConfig = { isEnableParallelProcessesOptimizer: true, - isEnableDownloadBatchSizeOptimizer: true, parallelProcessesOptimizationDifference: 2, + processesTimeToLive: 15, + isEnableDownloadBatchSizeOptimizer: true, downloadBatchSizeOptimizationDifference: 100, defaultDownloadBatchSize: 500, + optimizationInterval: 10, emitAdSyncEventTypes: new Set([AdSyncEventType.CREATE, AdSyncEventType.UPDATE, AdSyncEventType.DELETE]), isEnableImapQresync: true, } export interface AdSyncConfig { isEnableParallelProcessesOptimizer: boolean - isEnableDownloadBatchSizeOptimizer: boolean parallelProcessesOptimizationDifference: number + processesTimeToLive: number + isEnableDownloadBatchSizeOptimizer: boolean downloadBatchSizeOptimizationDifference: number defaultDownloadBatchSize: number + optimizationInterval: number emitAdSyncEventTypes: Set isEnableImapQresync: boolean } diff --git a/src/desktop/imapimport/adsync/ImapSyncSession.ts b/src/desktop/imapimport/adsync/ImapSyncSession.ts index fdfa8bf1db3..13dac7d2563 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSession.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSession.ts @@ -83,9 +83,14 @@ export class ImapSyncSession implements SyncSessionEventListener { if (mailboxes != null) { if (this.adSyncConfig.isEnableParallelProcessesOptimizer) { - this.adSyncOptimizer = new AdSyncParallelProcessesOptimizer(mailboxes, this.adSyncConfig.parallelProcessesOptimizationDifference, this) + this.adSyncOptimizer = new AdSyncParallelProcessesOptimizer( + mailboxes, + this.adSyncConfig.parallelProcessesOptimizationDifference, + this.adSyncConfig.optimizationInterval, + this, + ) } else { - // start AdSyncSingleProcessesOptimizer with optimizationDifference of zero (0) (always open only a single mailbox (i.e. folder) at a time) + // start AdSyncSingleProcessesOptimizer with optimizationDifference and optimizationInterval of zero (0) (always open only a single mailbox (i.e. folder) at a time) this.adSyncOptimizer = new AdSyncSingleProcessesOptimizer(mailboxes, this) } this.adSyncOptimizer.startAdSyncOptimizer() @@ -98,7 +103,7 @@ export class ImapSyncSession implements SyncSessionEventListener { } let knownMailboxes = this.imapSyncState.imapMailboxStates.map((mailboxState) => { - return new ImapSyncSessionMailbox(mailboxState, this.adSyncConfig.defaultDownloadBatchSize) + return new ImapSyncSessionMailbox(mailboxState, this.adSyncConfig.defaultDownloadBatchSize, this.adSyncConfig.processesTimeToLive) }) let imapAccount = this.imapSyncState.imapAccount @@ -106,10 +111,6 @@ export class ImapSyncSession implements SyncSessionEventListener { host: imapAccount.host, port: imapAccount.port, secure: true, - tls: { - rejectUnauthorized: false, // TODO deactivate after testing - }, - logger: true, auth: { user: imapAccount.username, pass: imapAccount.password, @@ -156,12 +157,16 @@ export class ImapSyncSession implements SyncSessionEventListener { } private traverseImapMailboxes(knownMailboxes: ImapSyncSessionMailbox[], imapMailbox: ImapMailbox): ImapSyncSessionMailbox[] { - let result = [] + let result: ImapSyncSessionMailbox[] = [] let syncSessionMailbox = knownMailboxes.find((value) => value.mailboxState.path == imapMailbox.path) if (syncSessionMailbox === undefined) { this.adSyncEventListener.onMailbox(imapMailbox, AdSyncEventType.CREATE) - syncSessionMailbox = new ImapSyncSessionMailbox(ImapMailboxState.fromImapMailbox(imapMailbox), this.adSyncConfig.defaultDownloadBatchSize) + syncSessionMailbox = new ImapSyncSessionMailbox( + ImapMailboxState.fromImapMailbox(imapMailbox), + this.adSyncConfig.defaultDownloadBatchSize, + this.adSyncConfig.processesTimeToLive, + ) } if (imapMailbox.specialUse) { @@ -194,6 +199,7 @@ export class ImapSyncSession implements SyncSessionEventListener { let adSyncDownloadBlatchSizeOptimizer = new AdSyncDownloadBatchSizeOptimizer( nextMailboxToDownload, this.adSyncConfig.downloadBatchSizeOptimizationDifference, + this.adSyncConfig.optimizationInterval, ) let syncSessionProcess = new ImapSyncSessionProcess(processId, adSyncDownloadBlatchSizeOptimizer, this.adSyncOptimizer, this.adSyncConfig) diff --git a/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts b/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts index 162cf17ef0a..553fbdf1688 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSessionMailbox.ts @@ -21,7 +21,7 @@ export class ImapSyncSessionMailbox { mailboxState: ImapMailboxState downloadBatchSize: number mailCount: number | null = 0 - timeToLiveInterval: number = 10 // in seconds + timeToLive: number // in seconds importance: SyncSessionMailboxImportance = SyncSessionMailboxImportance.MEDIUM lastFetchedMailSeq = 0 @@ -30,9 +30,10 @@ export class ImapSyncSessionMailbox { private averageThroughputInTimeIntervalHistory: Map = new Map() private downloadBatchSizeHistory: Map = new Map() - constructor(mailboxState: ImapMailboxState, downloadBatchSize: number) { + constructor(mailboxState: ImapMailboxState, downloadBatchSize: number, timeToLive: number) { this.mailboxState = mailboxState this.downloadBatchSize = downloadBatchSize + this.timeToLive = timeToLive } get specialUse(): ImapMailboxSpecialUse | null { diff --git a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts index 8b7a74c79cd..1bce889dcc5 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts @@ -44,10 +44,6 @@ export class ImapSyncSessionProcess { host: imapAccount.host, port: imapAccount.port, secure: true, - tls: { - rejectUnauthorized: false, // TODO deactivate after testing - }, - logger: false, auth: { user: imapAccount.username, pass: imapAccount.password, @@ -65,7 +61,7 @@ export class ImapSyncSessionProcess { this.state = SyncSessionProcessState.RUNNING } } catch (error) { - if (error.message.match("(NO|BAD)")) { + if (error.responseStatus !== undefined && error.responseStatus.match("(NO|BAD)")) { this.state = SyncSessionProcessState.CONNECTION_FAILED_REJECTED } else { this.state = SyncSessionProcessState.CONNECTION_FAILED_UNKNOWN @@ -98,6 +94,10 @@ export class ImapSyncSessionProcess { let openedImapMailbox = ImapMailbox.fromSyncSessionMailbox(this.adSyncOptimizer.optimizedSyncSessionMailbox) let isEnableImapQresync = this.adSyncConfig.isEnableImapQresync && highestModSeq != null + if (isEnableImapQresync) { + this.setupImapFlowExpungeHandler(imapClient, openedImapMailbox, adSyncEventListener) + } + // calculate UID differences let differentialUidLoader = new DifferentialUidLoader( imapClient, @@ -131,8 +131,6 @@ export class ImapSyncSessionProcess { this.adSyncOptimizer.optimizedSyncSessionMailbox.reportDownloadBatchSizeUsage(nextUidFetchRequest.usedDownloadBatchSize) - let mailFetchStartTime = Date.now() - let mails = imapClient.fetch( nextUidFetchRequest.uidFetchSequenceString, { @@ -148,6 +146,7 @@ export class ImapSyncSessionProcess { fetchOptions, ) + let mailFetchStartTime = Date.now() // @ts-ignore for await (const mail of mails) { if (this.state == SyncSessionProcessState.STOPPED) { @@ -160,7 +159,7 @@ export class ImapSyncSessionProcess { if (mail.source) { let mailSize = mail.source.length - let mailDownloadTime = mailFetchTime != 0 ? mailFetchTime : 1 // we approximate the mailFetchTime to minimum 1 millisecond + let mailDownloadTime = mailFetchTime != 0 ? mailFetchTime : 0.5 // we approximate the mailFetchTime to minimum 1 millisecond let currenThroughput = mailSize / mailDownloadTime this.adSyncOptimizer.optimizedSyncSessionMailbox.reportCurrentThroughput(currenThroughput) @@ -194,6 +193,8 @@ export class ImapSyncSessionProcess { } else { adSyncEventListener.onError(new ImapError(`No IMAP mail source available for IMAP mail with UID ${mail.uid}.`)) } + + mailFetchStartTime = Date.now() } nextUidFetchRequest = await differentialUidLoader.getNextUidFetchRequest(this.adSyncOptimizer.optimizedSyncSessionMailbox.downloadBatchSize) @@ -276,6 +277,7 @@ export class ImapSyncSessionProcess { }) } + // emit DELETE events when IMAP QRESYNC is enabled and supported private setupImapFlowExpungeHandler(imapClient: ImapFlow, openedImapMailbox: ImapMailbox, adSyncEventListener: AdSyncEventListener) { imapClient.on("expunge", (deletedMail) => { this.emitImapMailDeleteEvent(deletedMail.uid, openedImapMailbox, adSyncEventListener) diff --git a/src/desktop/imapimport/adsync/ImapSyncState.ts b/src/desktop/imapimport/adsync/ImapSyncState.ts index 1cf457d68c9..ca490a7e32f 100644 --- a/src/desktop/imapimport/adsync/ImapSyncState.ts +++ b/src/desktop/imapimport/adsync/ImapSyncState.ts @@ -1,4 +1,4 @@ -//@bundleInto:commin-min +//@bundleInto:common import { ImapMailbox } from "./imapmail/ImapMailbox.js" diff --git a/src/desktop/imapimport/adsync/imapmail/ImapMail.ts b/src/desktop/imapimport/adsync/imapmail/ImapMail.ts index a4e8317af0c..e783a79b8d0 100644 --- a/src/desktop/imapimport/adsync/imapmail/ImapMail.ts +++ b/src/desktop/imapimport/adsync/imapmail/ImapMail.ts @@ -92,6 +92,8 @@ export class ImapMailEnvelope { static fromMailParserHeadersMap(mailParserHeadersMap: Map) { let imapMailEnvelope = new ImapMailEnvelope() + // TODO test case where mail is not properly formatted --> crashing? + if (mailParserHeadersMap.has("date")) { imapMailEnvelope.setDate(mailParserHeadersMap.get("date") as Date) } diff --git a/src/desktop/imapimport/adsync/imapmail/ImapMailRFC822Parser.ts b/src/desktop/imapimport/adsync/imapmail/ImapMailRFC822Parser.ts index bfd39f903b7..b3f92f3482b 100644 --- a/src/desktop/imapimport/adsync/imapmail/ImapMailRFC822Parser.ts +++ b/src/desktop/imapimport/adsync/imapmail/ImapMailRFC822Parser.ts @@ -1,7 +1,8 @@ import { ImapMailAttachment, ImapMailBody, ImapMailEnvelope } from "./ImapMail.js" import * as Stream from "node:stream" -const MailParser = require("mailparser").MailParser +// @ts-ignore +import MailParser from "mailparser" export type MailParserAddress = { name: string @@ -21,7 +22,7 @@ export interface ParsedImapRFC822 { parsedAttachments?: ImapMailAttachment[] } -// TODO perform security cleansing +// TODO perform security HTML, etc. cleansing / sanitization export class ImapMailRFC822Parser { private parser: typeof MailParser diff --git a/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts b/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts index d282f5ecfcc..66b32ea79f7 100644 --- a/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts +++ b/src/desktop/imapimport/adsync/imapmail/ImapMailbox.ts @@ -1,4 +1,4 @@ -//@bundleInto:common-min +//@bundleInto:common import { ImapSyncSessionMailbox } from "../ImapSyncSessionMailbox.js" diff --git a/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts index b7f13d3be78..1e480cd737b 100644 --- a/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts +++ b/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts @@ -7,14 +7,14 @@ export class AdSyncDownloadBatchSizeOptimizer extends AdSyncOptimizer { protected _optimizedSyncSessionMailbox: ImapSyncSessionMailbox protected scheduler?: NodeJS.Timer - constructor(syncSessionMailbox: ImapSyncSessionMailbox, optimizationDifference: number) { - super(optimizationDifference) + constructor(syncSessionMailbox: ImapSyncSessionMailbox, optimizationDifference: number, optimizationInterval: number) { + super(optimizationDifference, optimizationInterval) this._optimizedSyncSessionMailbox = syncSessionMailbox } override startAdSyncOptimizer(): void { super.startAdSyncOptimizer() - this.scheduler = setInterval(this.optimize.bind(this), OPTIMIZATION_INTERVAL * 1000) // every OPTIMIZATION_INTERVAL seconds + this.scheduler = setInterval(this.optimize.bind(this), this.optimizationInterval * 1000) // every optimizationInterval seconds } get optimizedSyncSessionMailbox(): ImapSyncSessionMailbox { @@ -29,6 +29,8 @@ export class AdSyncDownloadBatchSizeOptimizer extends AdSyncOptimizer { currentInterval.toTimeStamp, ) let averageThroughputLast = this.optimizedSyncSessionMailbox.getAverageThroughputInTimeInterval(lastInterval.fromTimeStamp, lastInterval.toTimeStamp) + + // TODO remove logging console.log( "(DownloadBatchSizeOptimizer -> " + this.optimizedSyncSessionMailbox.mailboxState.path + diff --git a/src/desktop/imapimport/adsync/optimizer/AdSyncOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/AdSyncOptimizer.ts index 9d079e9cec8..cd1944f4196 100644 --- a/src/desktop/imapimport/adsync/optimizer/AdSyncOptimizer.ts +++ b/src/desktop/imapimport/adsync/optimizer/AdSyncOptimizer.ts @@ -15,11 +15,13 @@ export const THROUGHPUT_THRESHOLD: number = 10 export abstract class AdSyncOptimizer { protected optimizationDifference: number + protected optimizationInterval: number protected abstract scheduler?: NodeJS.Timer protected optimizerUpdateTimeStampHistory: TimeStamp[] = [] - protected constructor(optimizationDifference: number) { + protected constructor(optimizationDifference: number, optimizationInterval: number) { this.optimizationDifference = optimizationDifference + this.optimizationInterval = optimizationInterval } protected abstract optimize(): void diff --git a/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncParallelProcessesOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncParallelProcessesOptimizer.ts index adae69e27bf..736615d2714 100644 --- a/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncParallelProcessesOptimizer.ts +++ b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncParallelProcessesOptimizer.ts @@ -3,7 +3,6 @@ import { AverageThroughput, TimeStamp } from "../../utils/AdSyncUtils.js" import { ProgrammingError } from "../../../../../api/common/error/ProgrammingError.js" import { AdSyncProcessesOptimizer, OptimizerProcess } from "./AdSyncProcessesOptimizer.js" -const OPTIMIZATION_INTERVAL = 5 // in seconds const MINIMUM_PARALLEL_PROCESSES = 2 const MAX_PARALLEL_PROCESSES = 15 @@ -13,7 +12,7 @@ export class AdSyncParallelProcessesOptimizer extends AdSyncProcessesOptimizer { override startAdSyncOptimizer(): void { super.startAdSyncOptimizer() - this.scheduler = setInterval(this.optimize.bind(this), OPTIMIZATION_INTERVAL * 1000) // every OPTIMIZATION_INTERVAL seconds + this.scheduler = setInterval(this.optimize.bind(this), this.optimizationInterval * 1000) // every optimizationInterval seconds this.optimize() // call once to start downloading of mails } @@ -22,6 +21,8 @@ export class AdSyncParallelProcessesOptimizer extends AdSyncProcessesOptimizer { let lastInterval = this.getLastTimeStampInterval() let combinedAverageThroughputCurrent = this.getCombinedAverageThroughputInTimeInterval(currentInterval.fromTimeStamp, currentInterval.toTimeStamp) let combinedAverageThroughputLast = this.getCombinedAverageThroughputInTimeInterval(lastInterval.fromTimeStamp, lastInterval.toTimeStamp) + + // TODO remove logging console.log("(ParallelProcessOptimizer) Throughput stats: ... | " + combinedAverageThroughputLast + " | " + combinedAverageThroughputCurrent + " |") let lastUpdateAction = this.optimizerUpdateActionHistory.at(-1) @@ -65,9 +66,10 @@ export class AdSyncParallelProcessesOptimizer extends AdSyncProcessesOptimizer { } forceStopSyncSessionProcess(processId: number, isExceededRateLimit: boolean = false) { - super.forceStopSyncSessionProcess(processId) if (isExceededRateLimit && this.runningProcessMap.size >= MINIMUM_PARALLEL_PROCESSES) { this.maxParallelProcesses = this.runningProcessMap.size - 1 } + + super.forceStopSyncSessionProcess(processId) } } diff --git a/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncProcessesOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncProcessesOptimizer.ts index 633ac3bc5e2..16b88a0b664 100644 --- a/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncProcessesOptimizer.ts +++ b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncProcessesOptimizer.ts @@ -28,8 +28,13 @@ export class AdSyncProcessesOptimizer extends AdSyncOptimizer implements AdSyncP protected runningProcessMap = new Map() private nextProcessId: number = 0 - constructor(mailboxes: ImapSyncSessionMailbox[], optimizationDifference: number, syncSessionEventListener: SyncSessionEventListener) { - super(optimizationDifference) + constructor( + mailboxes: ImapSyncSessionMailbox[], + optimizationDifference: number, + optimizationInterval: number, + syncSessionEventListener: SyncSessionEventListener, + ) { + super(optimizationDifference, optimizationInterval) this.optimizedSyncSessionMailboxes = mailboxes this.syncSessionEventListener = syncSessionEventListener } @@ -59,8 +64,7 @@ export class AdSyncProcessesOptimizer extends AdSyncOptimizer implements AdSyncP nextProcessIdsToDrop.forEach((processId) => { let mailboxToDrop = this.runningProcessMap.get(processId) if (mailboxToDrop) { - let timeToLiveIntervalMS = - 1000 * (mailboxToDrop.syncSessionMailbox?.timeToLiveInterval ? mailboxToDrop.syncSessionMailbox?.timeToLiveInterval : 0) // conversion to milliseconds + let timeToLiveIntervalMS = 1000 * (mailboxToDrop.syncSessionMailbox?.timeToLive ? mailboxToDrop.syncSessionMailbox?.timeToLive : 0) // conversion to milliseconds // a process may run at least its timeToLiveInterval in seconds if (mailboxToDrop.processStartTime + timeToLiveIntervalMS <= Date.now()) { @@ -91,7 +95,7 @@ export class AdSyncProcessesOptimizer extends AdSyncOptimizer implements AdSyncP return value.syncSessionMailbox !== undefined }) .sort(([_processIdA, valueA], [_processIdB, valueB]) => { - let averageEfficiencyScoreA = valueB.syncSessionMailbox!.getAverageEfficiencyScoreInTimeInterval( + let averageEfficiencyScoreA = valueA.syncSessionMailbox!.getAverageEfficiencyScoreInTimeInterval( currentInterval.fromTimeStamp, currentInterval.toTimeStamp, ) diff --git a/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncSingleProcessesOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncSingleProcessesOptimizer.ts index 3b873c7a328..c4d78b917e0 100644 --- a/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncSingleProcessesOptimizer.ts +++ b/src/desktop/imapimport/adsync/optimizer/processesoptimizer/AdSyncSingleProcessesOptimizer.ts @@ -4,7 +4,7 @@ import { SyncSessionEventListener } from "../../ImapSyncSession.js" export class AdSyncSingleProcessesOptimizer extends AdSyncProcessesOptimizer { constructor(mailboxes: ImapSyncSessionMailbox[], syncSessionEventListener: SyncSessionEventListener) { - super(mailboxes, 0, syncSessionEventListener) // setting optimizationDifference to zero (0) + super(mailboxes, 0, 0, syncSessionEventListener) // setting optimizationDifference and optimizationInterval to zero (0) } override startAdSyncOptimizer(): void { diff --git a/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts b/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts index 9c3241c0e08..eb3b1e9bb0e 100644 --- a/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts +++ b/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts @@ -15,7 +15,7 @@ export enum UidFetchRequestType { WAIT, } -export const UID_FETCH_REQUEST_WAIT_TIME = 5000 // in ms +export const UID_FETCH_REQUEST_WAIT_TIME = 10 // in ms export interface UidFetchRequest { uidFetchSequenceString: string @@ -82,7 +82,7 @@ export class DifferentialUidLoader { return deletedUids } - async calculateUidDiffInBatches(fromSeq: number, downloadBatchSize: number, totalMessageCount: number | null): Promise { + private async calculateUidDiffInBatches(fromSeq: number, downloadBatchSize: number, totalMessageCount: number | null): Promise { let seenUids: number[] = [] if (totalMessageCount == 0) { @@ -170,7 +170,7 @@ export class DifferentialUidLoader { return uidFetchSequenceList }, []) - // We restrict the length of the uidFetchSequenceString to speed up IMAP server communication (we only allow 25 SequenceStrings per IMAP command) + // we restrict the length of the uidFetchSequenceString to speed up IMAP server communication (we only allow 25 SequenceStrings per IMAP command) let perChunk = 25 let uidFetchSequenceChunks = uidFetchSequenceList.reduce( (uidFetchSequenceListChunks: UidFetchSequence[][], uidFetchSequenceList, index) => { diff --git a/test/tests/desktop/imapimport/adsync/ImapAdSyncTest.ts b/test/tests/desktop/imapimport/adsync/ImapAdSyncTest.ts deleted file mode 100644 index 7e6a5194e8e..00000000000 --- a/test/tests/desktop/imapimport/adsync/ImapAdSyncTest.ts +++ /dev/null @@ -1,19 +0,0 @@ -import o from "ospec" -import { ImapAdSync } from "../../../../../src/desktop/imapimport/adsync/ImapAdSync.js" -import { ImapAccount, ImapMailboxState, ImapSyncState } from "../../../../../src/desktop/imapimport/adsync/ImapSyncState.js" - -o.spec("ImapAdSyncTest", function () { - let imapAdSync: ImapAdSync - - o.beforeEach(function () { - let imapAccount = new ImapAccount("192.168.178.83", 25, "johannes") - imapAccount.password = "Wsw6r6dzEH7Y9mDJ" - let mailboxStates = [new ImapMailboxState("\\Drafts", new Map())] - let imapSyncState = new ImapSyncState(imapAccount, 2500, mailboxStates, new Map()) - let imapAdSync = new ImapAdSync(this) - }) - - o.only("trigger AdSyncEventListener onMail event", async function () { - // TODO write some test cases - }) -}) From a9e8aeadf68e98d2d49c2fd4fb5be38c57aaa3d1 Mon Sep 17 00:00:00 2001 From: jhm Date: Wed, 28 Jun 2023 15:57:11 +0200 Subject: [PATCH 7/9] Final cleanup --- package-lock.json | 2 +- src/api/worker/facades/lazy/ImportImapFacade.ts | 2 +- src/api/worker/imapimport/ImapImporter.ts | 2 +- .../imapimport/DesktopImapImportSystemFacade.ts | 12 ++++++------ src/desktop/imapimport/adsync/AdSyncEventListener.ts | 12 ++++++------ .../imapimport/adsync/ImapSyncSessionProcess.ts | 2 +- src/settings/imapimport/EnterImapCredentialsPage.ts | 2 +- src/settings/imapimport/ImapImportSettingsViewer.ts | 1 - 8 files changed, 17 insertions(+), 18 deletions(-) diff --git a/package-lock.json b/package-lock.json index 19f2af4319d..bfb889d4368 100644 --- a/package-lock.json +++ b/package-lock.json @@ -35,7 +35,7 @@ "keytar": "git+https://github.com/tutao/node-keytar#12593c5809c9ed6bfc063ed3e862dd85a1506aca", "linkifyjs": "3.0.5", "luxon": "3.2.1", - "mailparser": "^3.6.4", + "mailparser": "3.6.4", "mithril": "2.2.2", "qrcode-svg": "1.0.0", "squire-rte": "2.0.3", diff --git a/src/api/worker/facades/lazy/ImportImapFacade.ts b/src/api/worker/facades/lazy/ImportImapFacade.ts index b53ca530803..f390cef008e 100644 --- a/src/api/worker/facades/lazy/ImportImapFacade.ts +++ b/src/api/worker/facades/lazy/ImportImapFacade.ts @@ -138,7 +138,7 @@ export class ImportImapFacade { ): Promise { folderSyncState.uidnext = imapMailboxStatus.uidNext.toString() folderSyncState.uidvalidity = imapMailboxStatus.uidValidity.toString() - folderSyncState.highestmodseq = imapMailboxStatus.highestModSeq?.toString() ?? null // value null denotes that the mailbox doesn't support persistent mod-sequences + folderSyncState.highestmodseq = imapMailboxStatus.highestModSeq?.toString() ?? null // value null denotes that the mailbox doesn't support IMAP QRESYNC feature await this.entityClient.update(folderSyncState) return this.entityClient.load(ImportImapFolderSyncStateTypeRef, folderSyncState._id) diff --git a/src/api/worker/imapimport/ImapImporter.ts b/src/api/worker/imapimport/ImapImporter.ts index 6e9da5abef8..5043ca904d4 100644 --- a/src/api/worker/imapimport/ImapImporter.ts +++ b/src/api/worker/imapimport/ImapImporter.ts @@ -212,7 +212,7 @@ export class ImapImporter implements ImapImportFacade { this.importedImapAttachmentHashToIdMap?.set(fileHash, deferredAttachmentId) let importDataFile: ImapImportDataFile = { _type: "DataFile", - name: imapMailAttachment.filename ?? imapMailAttachment.cid + Date.now().toString(), // TODO better to directly use the hash? + name: imapMailAttachment.filename ?? imapMailAttachment.cid + Date.now().toString(), // TODO Should we use the hash directly? data: imapMailAttachment.content, size: imapMailAttachment.size, mimeType: imapMailAttachment.contentType, diff --git a/src/desktop/imapimport/DesktopImapImportSystemFacade.ts b/src/desktop/imapimport/DesktopImapImportSystemFacade.ts index 44c829d09f1..5a61e7ff9b4 100644 --- a/src/desktop/imapimport/DesktopImapImportSystemFacade.ts +++ b/src/desktop/imapimport/DesktopImapImportSystemFacade.ts @@ -25,27 +25,27 @@ export class DesktopImapImportSystemFacade implements ImapImportSystemFacade, Ad return Promise.resolve() } - onError(error: ImapError): void { + async onError(error: ImapError): Promise { this.win.imapImportFacade.onError(error) } - onFinish(downloadedQuota: number): void { + async onFinish(downloadedQuota: number): Promise { this.win.imapImportFacade.onFinish(downloadedQuota) } - onMail(mail: ImapMail, eventType: AdSyncEventType): void { + async onMail(mail: ImapMail, eventType: AdSyncEventType): Promise { this.win.imapImportFacade.onMail(mail, eventType) } - onMailbox(mailbox: ImapMailbox, eventType: AdSyncEventType): void { + async onMailbox(mailbox: ImapMailbox, eventType: AdSyncEventType): Promise { this.win.imapImportFacade.onMailbox(mailbox, eventType) } - onMailboxStatus(mailboxStatus: ImapMailboxStatus): void { + async onMailboxStatus(mailboxStatus: ImapMailboxStatus): Promise { this.win.imapImportFacade.onMailboxStatus(mailboxStatus) } - onPostpone(postponedUntil: Date): void { + async onPostpone(postponedUntil: Date): Promise { this.win.imapImportFacade.onPostpone(postponedUntil) } } diff --git a/src/desktop/imapimport/adsync/AdSyncEventListener.ts b/src/desktop/imapimport/adsync/AdSyncEventListener.ts index 4631ecec149..57ba6ee5ecc 100644 --- a/src/desktop/imapimport/adsync/AdSyncEventListener.ts +++ b/src/desktop/imapimport/adsync/AdSyncEventListener.ts @@ -11,15 +11,15 @@ export enum AdSyncEventType { } export interface AdSyncEventListener { - onMailbox(imapMailbox: ImapMailbox, eventType: AdSyncEventType): void + onMailbox(imapMailbox: ImapMailbox, eventType: AdSyncEventType): Promise - onMailboxStatus(imapMailboxStatus: ImapMailboxStatus): void + onMailboxStatus(imapMailboxStatus: ImapMailboxStatus): Promise - onMail(imapMail: ImapMail, eventType: AdSyncEventType): void + onMail(imapMail: ImapMail, eventType: AdSyncEventType): Promise - onPostpone(postponedUntil: Date): void + onPostpone(postponedUntil: Date): Promise - onFinish(downloadedQuota: number): void + onFinish(downloadedQuota: number): Promise - onError(imapError: ImapError): void + onError(imapError: ImapError): Promise } diff --git a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts index 1bce889dcc5..febc67ef7f1 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts @@ -159,7 +159,7 @@ export class ImapSyncSessionProcess { if (mail.source) { let mailSize = mail.source.length - let mailDownloadTime = mailFetchTime != 0 ? mailFetchTime : 0.5 // we approximate the mailFetchTime to minimum 1 millisecond + let mailDownloadTime = mailFetchTime != 0 ? mailFetchTime : 0.5 // we approximate the mailFetchTime to minimum 0.5 millisecond let currenThroughput = mailSize / mailDownloadTime this.adSyncOptimizer.optimizedSyncSessionMailbox.reportCurrentThroughput(currenThroughput) diff --git a/src/settings/imapimport/EnterImapCredentialsPage.ts b/src/settings/imapimport/EnterImapCredentialsPage.ts index 6126db8634a..d77f6df5f3f 100644 --- a/src/settings/imapimport/EnterImapCredentialsPage.ts +++ b/src/settings/imapimport/EnterImapCredentialsPage.ts @@ -7,9 +7,9 @@ import { emitWizardEvent, WizardEventType } from "../../gui/base/WizardDialog.js import { Button, ButtonType } from "../../gui/base/Button.js" import { assertMainOrNode } from "../../api/common/Env" import { AddImapImportData, ImapImportModel } from "./AddImapImportWizard.js" -import { ToggleButton } from "../../gui/base/ToggleButton.js" import { Icons } from "../../gui/base/icons/Icons.js" import { ButtonSize } from "../../gui/base/ButtonSize.js" +import { ToggleButton } from "../../gui/base/buttons/ToggleButton.js" assertMainOrNode() diff --git a/src/settings/imapimport/ImapImportSettingsViewer.ts b/src/settings/imapimport/ImapImportSettingsViewer.ts index 82149536bd5..9b7e731963c 100644 --- a/src/settings/imapimport/ImapImportSettingsViewer.ts +++ b/src/settings/imapimport/ImapImportSettingsViewer.ts @@ -209,7 +209,6 @@ export class ImapImportSettingsViewer implements UpdatableSettingsViewer { m.redraw() } - // TODO we should maybe track the importState on the server to allow the UI to be updated. async entityEventsReceived(updates: ReadonlyArray): Promise { for (const update of updates) { if (isUpdateForTypeRef(ImportImapAccountSyncStateTypeRef, update)) { From e724beb849f2c710727ff3179f373e22d7a549d7 Mon Sep 17 00:00:00 2001 From: jhm Date: Tue, 4 Jul 2023 19:52:47 +0200 Subject: [PATCH 8/9] Minor fixes --- src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts | 6 ++---- .../adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts | 2 -- .../imapimport/adsync/utils/DifferentialUidLoader.ts | 9 +-------- 3 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts index febc67ef7f1..0cb890f794a 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSessionProcess.ts @@ -101,8 +101,6 @@ export class ImapSyncSessionProcess { // calculate UID differences let differentialUidLoader = new DifferentialUidLoader( imapClient, - adSyncEventListener, - openedImapMailbox, this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap, isEnableImapQresync, this.adSyncConfig.emitAdSyncEventTypes, @@ -118,7 +116,7 @@ export class ImapSyncSessionProcess { this.handleDeletedUids(deletedUids, openedImapMailbox, adSyncEventListener) }) - let fetchOptions = this.initFetchOptions(imapMailboxStatus, isEnableImapQresync) + let fetchOptions = this.initFetchOptions(isEnableImapQresync) let nextUidFetchRequest = await differentialUidLoader.getNextUidFetchRequest(this.adSyncOptimizer.optimizedSyncSessionMailbox.downloadBatchSize) while (nextUidFetchRequest) { @@ -223,7 +221,7 @@ export class ImapSyncSessionProcess { } } - private initFetchOptions(imapMailboxStatus: ImapMailboxStatus, isEnableImapQresync: boolean) { + private initFetchOptions(isEnableImapQresync: boolean) { let fetchOptions = {} if (isEnableImapQresync) { let highestModSeq = [...this.adSyncOptimizer.optimizedSyncSessionMailbox.mailboxState.importedUidToMailIdsMap.values()].reduce( diff --git a/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts b/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts index 1e480cd737b..e282edf69dd 100644 --- a/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts +++ b/src/desktop/imapimport/adsync/optimizer/AdSyncDownloadBatchSizeOptimizer.ts @@ -1,8 +1,6 @@ import { AdSyncOptimizer, THROUGHPUT_THRESHOLD } from "./AdSyncOptimizer.js" import { ImapSyncSessionMailbox } from "../ImapSyncSessionMailbox.js" -const OPTIMIZATION_INTERVAL = 10 // in seconds - export class AdSyncDownloadBatchSizeOptimizer extends AdSyncOptimizer { protected _optimizedSyncSessionMailbox: ImapSyncSessionMailbox protected scheduler?: NodeJS.Timer diff --git a/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts b/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts index eb3b1e9bb0e..66d27218e1c 100644 --- a/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts +++ b/src/desktop/imapimport/adsync/utils/DifferentialUidLoader.ts @@ -1,6 +1,5 @@ import { ImapMailIds } from "../ImapSyncState.js" -import { AdSyncEventListener, AdSyncEventType } from "../AdSyncEventListener.js" -import { ImapMailbox } from "../imapmail/ImapMailbox.js" +import { AdSyncEventType } from "../AdSyncEventListener.js" import { ImapFlow } from "imapflow" interface UidFetchSequence { @@ -35,23 +34,17 @@ export class DifferentialUidLoader { private uidDiffInProgress: boolean = false private readonly imapClient: ImapFlow - private readonly adSyncEventListener: AdSyncEventListener - private readonly openedImapMailbox: ImapMailbox private readonly importedUidToMailIdsMap: Map private readonly isEnableImapQresync: boolean private readonly emitAdSyncEventTypes: Set constructor( imapClient: ImapFlow, - adSyncEventListener: AdSyncEventListener, - openedImapMailbox: ImapMailbox, importedUidToMailIdsMap: Map, isEnableImapQresync: boolean, emitAdSyncEventTypes: Set, ) { this.imapClient = imapClient - this.adSyncEventListener = adSyncEventListener - this.openedImapMailbox = openedImapMailbox this.importedUidToMailIdsMap = importedUidToMailIdsMap this.isEnableImapQresync = isEnableImapQresync this.emitAdSyncEventTypes = emitAdSyncEventTypes From 5ccef4834029722eaf7db086f1d01d5966edbc96 Mon Sep 17 00:00:00 2001 From: nig Date: Wed, 5 Jul 2023 16:24:38 +0200 Subject: [PATCH 9/9] small improvements --- src/api/worker/imapimport/ImapImporter.ts | 2 ++ src/desktop/imapimport/adsync/ImapSyncSession.ts | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/api/worker/imapimport/ImapImporter.ts b/src/api/worker/imapimport/ImapImporter.ts index 5043ca904d4..8c5495652d8 100644 --- a/src/api/worker/imapimport/ImapImporter.ts +++ b/src/api/worker/imapimport/ImapImporter.ts @@ -19,7 +19,9 @@ import { SuspensionError } from "../../common/error/SuspensionError.js" const DEFAULT_TUTANOTA_SERVER_POSTPONE_TIME = 120 * 1000 // 120 seconds export interface InitializeImapImportParams { + /** hostname of the imap server to import mail from */ host: string + /** imap port of the host */ port: string username: string password: string | null diff --git a/src/desktop/imapimport/adsync/ImapSyncSession.ts b/src/desktop/imapimport/adsync/ImapSyncSession.ts index 13dac7d2563..e1134fee8f6 100644 --- a/src/desktop/imapimport/adsync/ImapSyncSession.ts +++ b/src/desktop/imapimport/adsync/ImapSyncSession.ts @@ -33,17 +33,13 @@ export interface SyncSessionEventListener { } export class ImapSyncSession implements SyncSessionEventListener { - private adSyncEventListener: AdSyncEventListener - private adSyncConfig: AdSyncConfig private state: SyncSessionState private imapSyncState?: ImapSyncState private adSyncOptimizer?: AdSyncProcessesOptimizer private runningSyncSessionProcesses: Map = new Map() private downloadedQuotas: number[] = [] - constructor(adSyncEventListener: AdSyncEventListener, adSyncConfig: AdSyncConfig) { - this.adSyncEventListener = adSyncEventListener - this.adSyncConfig = adSyncConfig + constructor(private adSyncEventListener: AdSyncEventListener, private adSyncConfig: AdSyncConfig) { this.state = SyncSessionState.PAUSED }