@feedmepos/mf-menu 0.31.69-prod → 0.31.70-prod
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{App-Byjppp7I.js → App-oww7ujyg.js} +8 -8
- package/dist/{ApplyProduct.vue_vue_type_script_setup_true_lang-a3SOjvXY.js → ApplyProduct.vue_vue_type_script_setup_true_lang-CEO0LmL1.js} +3 -3
- package/dist/{Catalog-Bx3K7UqS.js → Catalog-DZQ3pNGh.js} +6 -6
- package/dist/{Category-BxfQ5OjG.js → Category-BXKg5OyS.js} +6 -6
- package/dist/{Category-C01Ct1Tf.js → Category-D-PHOpIW.js} +4 -4
- package/dist/{CookingGuide-CsTgj78F.js → CookingGuide-BTbnCFEu.js} +4 -4
- package/dist/{CustomAttributeChip.vue_vue_type_script_setup_true_lang-Dn-rOcky.js → CustomAttributeChip.vue_vue_type_script_setup_true_lang-Dqx_t_0O.js} +1 -1
- package/dist/{Group-BUT2zIZO.js → Group-ClHMNiSh.js} +3 -3
- package/dist/{Group-DqV3QKc-.js → Group-prqsKUYP.js} +1 -1
- package/dist/{Group.vue_vue_type_script_setup_true_lang-uzYIOv4G.js → Group.vue_vue_type_script_setup_true_lang-Dw6aWjBP.js} +7 -7
- package/dist/{GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-zJW4-S9p.js → GroupMarkupPriceDialog.vue_vue_type_script_setup_true_lang-BFkeTBAE.js} +5 -5
- package/dist/{ImportProductDialog.vue_vue_type_script_setup_true_lang-7qMW2Pv6.js → ImportProductDialog.vue_vue_type_script_setup_true_lang-CvMmNOHQ.js} +8 -8
- package/dist/{Ingredient-CM1T0bUh.js → Ingredient-4FJGrf6p.js} +3 -3
- package/dist/{InventoryBinding.vue_vue_type_script_setup_true_lang-NETtbB15.js → InventoryBinding.vue_vue_type_script_setup_true_lang-BktMGXRr.js} +1052 -1052
- package/dist/{LinkProductSideSheet-CcqAYsNl.js → LinkProductSideSheet-BSCsz67z.js} +3 -3
- package/dist/{MenuSetting-DYb7ukCf.js → MenuSetting-DR0y-yPf.js} +5 -5
- package/dist/{PrintRoute-Cok4l1zV.js → PrintRoute-A8lsBSq1.js} +4 -4
- package/dist/{Product-Dhc4Adhn.js → Product-BqjAt406.js} +1 -1
- package/dist/{Product.vue_vue_type_script_setup_true_lang-Cz-_UH53.js → Product.vue_vue_type_script_setup_true_lang-WiLPTgR2.js} +13 -13
- package/dist/{ProductInternalTools-D0RSqHy-.js → ProductInternalTools-DvBcp55c.js} +5 -5
- package/dist/{Products-Cqm3G5zr.js → Products-C6fidsDS.js} +11 -11
- package/dist/{Publish-B4tEDino.js → Publish-DOfjbtEs.js} +3 -3
- package/dist/{Recipe-7Dmy8ftx.js → Recipe-CFodRGOY.js} +4 -4
- package/dist/{Scheduler-DdRzLW-P.js → Scheduler-ClacjAPG.js} +3 -3
- package/dist/{ServingSequence-BInVw61-.js → ServingSequence-C5z95byt.js} +3 -3
- package/dist/{Setting-DcmNcix_.js → Setting-DtbsCiec.js} +5 -5
- package/dist/{Subcategory-BJPHM19c.js → Subcategory-zw0Mx0hR.js} +4 -4
- package/dist/{Takeaway-DffrT2Oe.js → Takeaway-C3uzSDJX.js} +4 -4
- package/dist/{Takeaway-CAMQB-IJ.js → Takeaway-CCJytDsu.js} +1 -1
- package/dist/{Takeaway.vue_vue_type_script_setup_true_lang-d739Y4lL.js → Takeaway.vue_vue_type_script_setup_true_lang-CpF85_B3.js} +5 -5
- package/dist/{Thumbnail.vue_vue_type_script_setup_true_lang-DadgzMI1.js → Thumbnail.vue_vue_type_script_setup_true_lang-D50rbfyr.js} +4 -4
- package/dist/{TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DBz3IAPN.js → TreeEditorOpenner.vue_vue_type_script_setup_true_lang-DmSjQJZ4.js} +14 -14
- package/dist/{Unit-DAjjHptw.js → Unit-DZdmF1pQ.js} +2 -2
- package/dist/{Variant-DbK_VSB4.js → Variant-Zcaocd8i.js} +3 -3
- package/dist/{_id_-BekyhQuo.js → _id_-BRcrca-8.js} +10 -10
- package/dist/{app-Dy_PpbJy.js → app-DDeSIfVZ.js} +1 -1
- package/dist/{app-DtCzoQbv.js → app-bUBWiDME.js} +26 -26
- package/dist/app.js +1 -1
- package/dist/assets/{linked-status-BtBrdkGB.js → linked-status-Bq0hNQpE.js} +2 -2
- package/dist/assets/{override-menu-aFa61roK.js → override-menu-BfnB3e1m.js} +2 -2
- package/dist/assets/{validate-menu-59YPNrR_.js → validate-menu-DMk-PBQi.js} +2 -2
- package/dist/{catalog-BMQMzuhB.js → catalog-eKbQRcDH.js} +1 -1
- package/dist/{catalogSetting-CQzUjCKe.js → catalogSetting-BufMUBKK.js} +1 -1
- package/dist/{category-COs21nTW.js → category-CVsPgNpg.js} +1 -1
- package/dist/{currency-Dhnr3ve1.js → currency-Bl1dxyO8.js} +1 -1
- package/dist/{customAttributes-3FR2K7UT.js → customAttributes-CPP_qryZ.js} +1 -1
- package/dist/{dayjs.min-Ch62VG8w.js → dayjs.min-C993k2az.js} +1 -1
- package/dist/{index-eArd_3kW.js → index-C6AFKvQ_.js} +1 -1
- package/dist/{index-C7QPwnik.js → index-CY6S-qH1.js} +4 -4
- package/dist/{index-BtcFkeQa.js → index-CkWZO4-z.js} +3 -3
- package/dist/{index-D12PAJYh.js → index-DdPRy5Qr.js} +1 -1
- package/dist/{item-B-j4iPOr.js → item-ive2BP_S.js} +16 -16
- package/dist/{jszip.min-5blhaVPG.js → jszip.min-vg2FxcB6.js} +245 -245
- package/dist/{menu-CxC6-3Ha.js → menu-2WDYsA46.js} +1 -1
- package/dist/{menu-Ca6KeFDH.js → menu-Cn0fAw5d.js} +4 -4
- package/dist/{menuV2-vW_kPd7g.js → menuV2-Czw9W7-q.js} +167 -167
- package/dist/{priceTier-DnE-LoIJ.js → priceTier-m5FyI-jd.js} +1 -1
- package/dist/{scheduler-DJ9vrIaV.js → scheduler-9JK1FVcw.js} +4 -4
- package/dist/{subcategory-BtKCfoK9.js → subcategory-BytdHQzK.js} +2 -2
- package/dist/{toExcel-B8G6ceKY.js → toExcel-BA8mKhiw.js} +2 -2
- package/dist/{unit-8ggZO-G6.js → unit-IwfUEGHv.js} +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a0 as ft, a1 as yt, g as Dt } from "./menu-
|
|
1
|
+
import { a0 as ft, a1 as yt, g as Dt } from "./menu-Cn0fAw5d.js";
|
|
2
2
|
var wt = { exports: {} }, Bt = wt.exports, It;
|
|
3
3
|
function Nt() {
|
|
4
4
|
return It || (It = 1, function(kt, Ot) {
|
|
@@ -9,12 +9,12 @@ function Nt() {
|
|
|
9
9
|
return typeof _ > "u" ? _ = { autoBom: !1 } : typeof _ != "object" && (console.warn("Deprecated: Expected third argument to be a object"), _ = { autoBom: !_ }), _.autoBom && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type) ? new Blob(["\uFEFF", a], { type: a.type }) : a;
|
|
10
10
|
}
|
|
11
11
|
function v(a, _, b) {
|
|
12
|
-
var
|
|
13
|
-
|
|
14
|
-
n(
|
|
15
|
-
},
|
|
12
|
+
var h = new XMLHttpRequest();
|
|
13
|
+
h.open("GET", a), h.responseType = "blob", h.onload = function() {
|
|
14
|
+
n(h.response, _, b);
|
|
15
|
+
}, h.onerror = function() {
|
|
16
16
|
console.error("could not download file");
|
|
17
|
-
},
|
|
17
|
+
}, h.send();
|
|
18
18
|
}
|
|
19
19
|
function F(a) {
|
|
20
20
|
var _ = new XMLHttpRequest();
|
|
@@ -35,9 +35,9 @@ function Nt() {
|
|
|
35
35
|
}
|
|
36
36
|
var u = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof ft == "object" && ft.global === ft ? ft : void 0, d = u.navigator && /Macintosh/.test(navigator.userAgent) && /AppleWebKit/.test(navigator.userAgent) && !/Safari/.test(navigator.userAgent), n = u.saveAs || (typeof window != "object" || window !== u ? function() {
|
|
37
37
|
} : "download" in HTMLAnchorElement.prototype && !d ? function(a, _, b) {
|
|
38
|
-
var
|
|
39
|
-
_ = _ || a.name || "download", m.download = _, m.rel = "noopener", typeof a == "string" ? (m.href = a, m.origin === location.origin ? w(m) : F(m.href) ? v(a, _, b) : w(m, m.target = "_blank")) : (m.href =
|
|
40
|
-
|
|
38
|
+
var h = u.URL || u.webkitURL, m = document.createElement("a");
|
|
39
|
+
_ = _ || a.name || "download", m.download = _, m.rel = "noopener", typeof a == "string" ? (m.href = a, m.origin === location.origin ? w(m) : F(m.href) ? v(a, _, b) : w(m, m.target = "_blank")) : (m.href = h.createObjectURL(a), setTimeout(function() {
|
|
40
|
+
h.revokeObjectURL(m.href);
|
|
41
41
|
}, 4e4), setTimeout(function() {
|
|
42
42
|
w(m);
|
|
43
43
|
}, 0));
|
|
@@ -45,23 +45,23 @@ function Nt() {
|
|
|
45
45
|
if (_ = _ || a.name || "download", typeof a != "string") navigator.msSaveOrOpenBlob(gt(a, b), _);
|
|
46
46
|
else if (F(a)) v(a, _, b);
|
|
47
47
|
else {
|
|
48
|
-
var
|
|
49
|
-
|
|
50
|
-
w(
|
|
48
|
+
var h = document.createElement("a");
|
|
49
|
+
h.href = a, h.target = "_blank", setTimeout(function() {
|
|
50
|
+
w(h);
|
|
51
51
|
});
|
|
52
52
|
}
|
|
53
|
-
} : function(a, _, b,
|
|
54
|
-
if (
|
|
53
|
+
} : function(a, _, b, h) {
|
|
54
|
+
if (h = h || open("", "_blank"), h && (h.document.title = h.document.body.innerText = "downloading..."), typeof a == "string") return v(a, _, b);
|
|
55
55
|
var m = a.type === "application/octet-stream", i = /constructor/i.test(u.HTMLElement) || u.safari, f = /CriOS\/[\d]+/.test(navigator.userAgent);
|
|
56
56
|
if ((f || m && i || d) && typeof FileReader < "u") {
|
|
57
57
|
var r = new FileReader();
|
|
58
58
|
r.onloadend = function() {
|
|
59
59
|
var p = r.result;
|
|
60
|
-
p = f ? p : p.replace(/^data:[^;]*;/, "data:attachment/file;"),
|
|
60
|
+
p = f ? p : p.replace(/^data:[^;]*;/, "data:attachment/file;"), h ? h.location.href = p : location = p, h = null;
|
|
61
61
|
}, r.readAsDataURL(a);
|
|
62
62
|
} else {
|
|
63
63
|
var l = u.URL || u.webkitURL, s = l.createObjectURL(a);
|
|
64
|
-
|
|
64
|
+
h ? h.location = s : location.href = s, h = null, setTimeout(function() {
|
|
65
65
|
l.revokeObjectURL(s);
|
|
66
66
|
}, 4e4);
|
|
67
67
|
}
|
|
@@ -73,7 +73,7 @@ function Nt() {
|
|
|
73
73
|
var Lt = Nt(), xt = { exports: {} }, Rt;
|
|
74
74
|
function Ut() {
|
|
75
75
|
return Rt || (Rt = 1, function(kt, Ot) {
|
|
76
|
-
var gt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_141fbd7d-be69-41a3-a5ee-501ffd1328ea", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_141fbd7d-be69-41a3-a5ee-501ffd1328ea", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1784", npm_package_dependencies__feedmepos_ui_library: "1.8.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20251126.144.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:10887", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.10/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.4/x64", GITHUB_RUN_ID: "20132518809", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "84bfb3750ccb573a9a18d7e6c1097b6171484f8e", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_86bfaf75-5abe-4da7-b265-e8410306ad7a", INVOCATION_ID: "89bfe164bd594f9ba69c6bc023f6fee5", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "119", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000033337", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.49", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.69-prod", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "84bfb3750ccb573a9a18d7e6c1097b6171484f8e", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_141fbd7d-be69-41a3-a5ee-501ffd1328ea", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_141fbd7d-be69-41a3-a5ee-501ffd1328ea", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.21", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_141fbd7d-be69-41a3-a5ee-501ffd1328ea", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
76
|
+
var gt = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f81ddd5e-86a5-4a19-9566-eca66286cd41", npm_package_scripts_dev_prod: "dotenv -e .env.prod -- vite --mode dev --port 5176", npm_package_dependencies__vue_devtools_api: "^6.5.0", npm_package_dependencies_dinero_js: "^1.9.1", npm_package_devDependencies__types_node: "^18.18.5", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_core_dart: "^0.2.6", npm_package_dependencies__feedmepos_remy_vue_client: "0.1.3-beta.8", npm_package_dependencies_pinia: "^2.1.7", npm_package_devDependencies_vitest: "^2.1.8", USER: "runner", npm_package_devDependencies__rollup_plugin_node_resolve: "^16.0.0", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v18.20.8 linux x64", CI: "true", npm_package_dependencies_vue: "^3.5.16", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f81ddd5e-86a5-4a19-9566-eca66286cd41", PIPX_HOME: "/opt/pipx", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", npm_package_devDependencies_vite: "^6.2.2", npm_node_execpath: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", MENU_BACKEND_URL: "https://menu-v4.feedmeapi.com", GTM_ID: "GTM-WR8XHXLH", FIREBASE_MESSAGING_SENDER_ID: "128512026847", npm_package_files_0: "dist", HOME: "/home/runner", VITE_FEED_ME_NAMESPACE: "production", npm_package_devDependencies_sass: "1.69.5", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_dependencies__feedmepos_core_legacy: "file:../../core-legacy-1.4.tar.gz", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=10240", GRADLE_HOME: "/usr/share/gradle-9.2.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/29.0.14206865", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_scripts_type_check: "vue-tsc --noEmit -p tsconfig.app.json --composite false", npm_package_dependencies__feedmepos_mf_common: "workspace:^", npm_package_devDependencies_npm_run_all2: "^6.1.1", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", GTM_SERVER_URL: "https://server-side-tagging-zzez732dna-as.a.run.app", SYSTEMD_EXEC_PID: "1760", npm_package_dependencies__feedmepos_ui_library: "1.8.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_devDependencies__tsconfig_node18: "^18.2.2", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_dependencies_i18next: "^23.11.5", npm_package_devDependencies_tailwindcss: "^3.3.3", npm_package_devDependencies_typescript: "^5.2.2", JAVA_HOME_25_X64: "/usr/lib/jvm/temurin-25-jdk-amd64", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "dotenv -e .env.dev pnpm build-only", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^1.8.25", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20251208.163.1", npm_package_scripts_dev: "vite --mode dev --port 5176", npm_package_scripts_build_prod: "dotenv -e .env.prod pnpm build-only", npm_package_dependencies__feedmepos_custom_attributes: "0.0.1-rc.4", npm_package_dependencies__types_dinero_js: "^1.9.4", npm_package_dependencies_i18next_vue: "^4.0.0", npm_package_devDependencies_prettier: "^3.0.3", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", SWIFT_PATH: "/usr/share/swift/usr/bin", PORTAL_BACKEND_URL: "https://portal-v2.feedmeapi.com", npm_package_type: "module", npm_package_dependencies__vueuse_core: "^10.11.0", npm_package_devDependencies__vue_tsconfig: "^0.4.0", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.12/x64", JOURNAL_STREAM: "9:15523", GITHUB_WORKFLOW: "Publish mf-menu prod", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_dependencies_vite_svg_loader: "^5.1.0", npm_package_devDependencies__rollup_plugin_commonjs: "^28.0.2", npm_package_devDependencies_autoprefixer: "^10.4.16", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.11/x64", REMY_URL: "https://remy.feedmeapi.com/v1", npm_package_scripts_lint: "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore", npm_package_devDependencies__types_uuid: "^10.0.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GOROOT_1_25_X64: "/opt/hostedtoolcache/go/1.25.5/x64", GITHUB_RUN_ID: "20191089529", npm_package_devDependencies__types_lodash: "^4.17.6", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "9b4c6bbf54de6a5465a6d52e25784975127bb404", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", GTM_ENV: "production", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.2.4", GITHUB_WORKFLOW_REF: "feedmepos/portal/.github/workflows/publish-mf-menu-prod.yml@refs/heads/main", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", npm_package_dependencies_axios: "^1.7.2", npm_package_devDependencies__types_pouchdb_core: "^7.0.15", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/work/portal/portal/apps/mf-menu/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/portal/portal/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/18.20.8/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_b099a30d-092c-41cd-bd32-f7be92c496d0", INVOCATION_ID: "a967c2d69b4d4b1eac03fd5c8cbb470f", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/18.20.8/x64/bin/node", npm_package_name: "@feedmepos/mf-menu", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_4", GITHUB_RUN_NUMBER: "120", GITHUB_TRIGGERING_ACTOR: "heiseshandian", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", GTM_SERVER_MEASUREMENT_ID: "G-2MP52PC24R", npm_package_scripts_build_mf: "vite build --mode fmmf", npm_package_scripts_publish_npm: "pnpm build && pnpm publish --no-git-checks", npm_config_frozen_lockfile: "", npm_package_dependencies_vue_advanced_cropper: "^2.8.9", npm_package_devDependencies__vitest_ui: "^2.1.8", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_devDependencies_eslint: "^8.49.0", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000033652", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/portal", npm_package_exports___style_css: "./dist/style.css", npm_package_scripts_build_dts: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.app.json --outDir ./dist", npm_package_dependencies__feedmepos_core: "2.14.49", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_scripts_test: "vitest", npm_package_dependencies_vue3_lottie: "^3.3.0", npm_package_devDependencies__vitejs_plugin_vue_jsx: "^5.0.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "705534668", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/bin/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules/vite/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/vite@6.3.5_@types+node@18.19.110_jiti@1.21.7_sass@1.69.5_terser@5.40.0_yaml@2.8.0/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules/dotenv-cli/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/dotenv-cli@7.4.4/node_modules:/home/runner/work/portal/portal/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.31.70-prod", npm_package_scripts_build_only: "pnpm build:mf && pnpm build:dts && echo 'Build completed'", npm_package_dependencies__feedmepos_mf_inventory_portal: "https://registry.npmjs.org/@feedmepos/mf-inventory-portal/-/mf-inventory-portal-0.0.19-dev.6.tgz", npm_package_dependencies_exceljs: "^4.4.0", npm_package_dependencies_vuedraggable: "^4.1.0", npm_lifecycle_event: "build:mf", GITHUB_REF_PROTECTED: "false", GTM_DEBUG: "false", FIREBASE_PROJECT_ID: "feedme-253402", npm_package_scripts_build: 'run-p type-check "build-only {@}" --', npm_package_dependencies_dotenv_cli: "^7.4.2", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/portal/portal", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_scripts_test_coverage: "vitest --coverage", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "9b4c6bbf54de6a5465a6d52e25784975127bb404", GITHUB_RUN_ATTEMPT: "1", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", npm_package_dependencies_canvas: "^2.9.3", npm_package_dependencies_vue_router: "^4.2.5", npm_package_devDependencies_eslint_plugin_tailwindcss: "^3.14.0", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "heiseshandian", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_scripts_test_ui: "vitest --ui", npm_package_scripts_format: "prettier --write src/", npm_package_scripts_prepare_menu_debug: "bash scripts/prepare-menu-debug.sh", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_jszip: "^3.10.1", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_f81ddd5e-86a5-4a19-9566-eca66286cd41", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/portal/portal/apps/mf-menu", GITHUB_ACTOR_ID: "7780463", RUNNER_WORKSPACE: "/home/runner/work/portal", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f81ddd5e-86a5-4a19-9566-eca66286cd41", npm_package_exports___types: "./dist/apps/mf-menu/src/app.d.ts", npm_package_dependencies__feedmepos_auth: "^1.1.14", npm_package_dependencies__feedmepos_inventory_core: "^0.2.6", npm_package_dependencies__feedmepos_zod_entity: "0.0.4-alpha.9", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/portal/portal/apps/mf-menu", npm_package_devDependencies_eslint_plugin_vue: "^9.17.0", npm_package_devDependencies_postcss: "^8.4.31", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.3.13750724", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", VITE_FEED_ME_CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476", npm_package_scripts_deploy: "pnpm publish --no-git-checks .", npm_package_dependencies_vue3_carousel: "0.16.0", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", npm_package_dependencies__feedmepos_menu: "1.7.21", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.3.13750724", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f81ddd5e-86a5-4a19-9566-eca66286cd41", INIT_CWD: "/home/runner/work/portal/portal/apps/mf-menu", NODE_ENV: "production" } };
|
|
77
77
|
/*!
|
|
78
78
|
|
|
79
79
|
JSZip v3.10.1 - A JavaScript class for generating and reading zip files
|
|
@@ -92,8 +92,8 @@ function Ut() {
|
|
|
92
92
|
function d(_, b) {
|
|
93
93
|
if (!w[_]) {
|
|
94
94
|
if (!F[_]) {
|
|
95
|
-
var
|
|
96
|
-
if (!b &&
|
|
95
|
+
var h = typeof yt == "function" && yt;
|
|
96
|
+
if (!b && h) return h(_, !0);
|
|
97
97
|
if (n) return n(_, !0);
|
|
98
98
|
var m = new Error("Cannot find module '" + _ + "'");
|
|
99
99
|
throw m.code = "MODULE_NOT_FOUND", m;
|
|
@@ -111,30 +111,30 @@ function Ut() {
|
|
|
111
111
|
}({ 1: [function(v, F, w) {
|
|
112
112
|
var u = v("./utils"), d = v("./support"), n = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
|
|
113
113
|
w.encode = function(a) {
|
|
114
|
-
for (var _, b,
|
|
114
|
+
for (var _, b, h, m, i, f, r, l = [], s = 0, p = a.length, y = p, x = u.getTypeOf(a) !== "string"; s < a.length; ) y = p - s, h = x ? (_ = a[s++], b = s < p ? a[s++] : 0, s < p ? a[s++] : 0) : (_ = a.charCodeAt(s++), b = s < p ? a.charCodeAt(s++) : 0, s < p ? a.charCodeAt(s++) : 0), m = _ >> 2, i = (3 & _) << 4 | b >> 4, f = 1 < y ? (15 & b) << 2 | h >> 6 : 64, r = 2 < y ? 63 & h : 64, l.push(n.charAt(m) + n.charAt(i) + n.charAt(f) + n.charAt(r));
|
|
115
115
|
return l.join("");
|
|
116
116
|
}, w.decode = function(a) {
|
|
117
|
-
var _, b,
|
|
117
|
+
var _, b, h, m, i, f, r = 0, l = 0, s = "data:";
|
|
118
118
|
if (a.substr(0, s.length) === s) throw new Error("Invalid base64 input, it looks like a data url.");
|
|
119
119
|
var p, y = 3 * (a = a.replace(/[^A-Za-z0-9+/=]/g, "")).length / 4;
|
|
120
120
|
if (a.charAt(a.length - 1) === n.charAt(64) && y--, a.charAt(a.length - 2) === n.charAt(64) && y--, y % 1 != 0) throw new Error("Invalid base64 input, bad content length.");
|
|
121
|
-
for (p = d.uint8array ? new Uint8Array(0 | y) : new Array(0 | y); r < a.length; ) _ = n.indexOf(a.charAt(r++)) << 2 | (m = n.indexOf(a.charAt(r++))) >> 4, b = (15 & m) << 4 | (i = n.indexOf(a.charAt(r++))) >> 2,
|
|
121
|
+
for (p = d.uint8array ? new Uint8Array(0 | y) : new Array(0 | y); r < a.length; ) _ = n.indexOf(a.charAt(r++)) << 2 | (m = n.indexOf(a.charAt(r++))) >> 4, b = (15 & m) << 4 | (i = n.indexOf(a.charAt(r++))) >> 2, h = (3 & i) << 6 | (f = n.indexOf(a.charAt(r++))), p[l++] = _, i !== 64 && (p[l++] = b), f !== 64 && (p[l++] = h);
|
|
122
122
|
return p;
|
|
123
123
|
};
|
|
124
124
|
}, { "./support": 30, "./utils": 32 }], 2: [function(v, F, w) {
|
|
125
125
|
var u = v("./external"), d = v("./stream/DataWorker"), n = v("./stream/Crc32Probe"), a = v("./stream/DataLengthProbe");
|
|
126
|
-
function _(b,
|
|
127
|
-
this.compressedSize = b, this.uncompressedSize =
|
|
126
|
+
function _(b, h, m, i, f) {
|
|
127
|
+
this.compressedSize = b, this.uncompressedSize = h, this.crc32 = m, this.compression = i, this.compressedContent = f;
|
|
128
128
|
}
|
|
129
129
|
_.prototype = { getContentWorker: function() {
|
|
130
|
-
var b = new d(u.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")),
|
|
130
|
+
var b = new d(u.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a("data_length")), h = this;
|
|
131
131
|
return b.on("end", function() {
|
|
132
|
-
if (this.streamInfo.data_length !==
|
|
132
|
+
if (this.streamInfo.data_length !== h.uncompressedSize) throw new Error("Bug : uncompressed data size mismatch");
|
|
133
133
|
}), b;
|
|
134
134
|
}, getCompressedWorker: function() {
|
|
135
135
|
return new d(u.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize", this.compressedSize).withStreamInfo("uncompressedSize", this.uncompressedSize).withStreamInfo("crc32", this.crc32).withStreamInfo("compression", this.compression);
|
|
136
|
-
} }, _.createWorkerFrom = function(b,
|
|
137
|
-
return b.pipe(new n()).pipe(new a("uncompressedSize")).pipe(
|
|
136
|
+
} }, _.createWorkerFrom = function(b, h, m) {
|
|
137
|
+
return b.pipe(new n()).pipe(new a("uncompressedSize")).pipe(h.compressWorker(m)).pipe(new a("compressedSize")).withStreamInfo("compression", h);
|
|
138
138
|
}, F.exports = _;
|
|
139
139
|
}, { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 }], 3: [function(v, F, w) {
|
|
140
140
|
var u = v("./stream/GenericWorker");
|
|
@@ -153,13 +153,13 @@ function Ut() {
|
|
|
153
153
|
return a;
|
|
154
154
|
}();
|
|
155
155
|
F.exports = function(n, a) {
|
|
156
|
-
return n !== void 0 && n.length ? u.getTypeOf(n) !== "string" ? function(_, b,
|
|
157
|
-
var i = d, f = m +
|
|
156
|
+
return n !== void 0 && n.length ? u.getTypeOf(n) !== "string" ? function(_, b, h, m) {
|
|
157
|
+
var i = d, f = m + h;
|
|
158
158
|
_ ^= -1;
|
|
159
159
|
for (var r = m; r < f; r++) _ = _ >>> 8 ^ i[255 & (_ ^ b[r])];
|
|
160
160
|
return -1 ^ _;
|
|
161
|
-
}(0 | a, n, n.length, 0) : function(_, b,
|
|
162
|
-
var i = d, f = m +
|
|
161
|
+
}(0 | a, n, n.length, 0) : function(_, b, h, m) {
|
|
162
|
+
var i = d, f = m + h;
|
|
163
163
|
_ ^= -1;
|
|
164
164
|
for (var r = m; r < f; r++) _ = _ >>> 8 ^ i[255 & (_ ^ b.charCodeAt(r))];
|
|
165
165
|
return -1 ^ _;
|
|
@@ -172,23 +172,23 @@ function Ut() {
|
|
|
172
172
|
u = typeof Promise < "u" ? Promise : v("lie"), F.exports = { Promise: u };
|
|
173
173
|
}, { lie: 37 }], 7: [function(v, F, w) {
|
|
174
174
|
var u = typeof Uint8Array < "u" && typeof Uint16Array < "u" && typeof Uint32Array < "u", d = v("pako"), n = v("./utils"), a = v("./stream/GenericWorker"), _ = u ? "uint8array" : "array";
|
|
175
|
-
function b(
|
|
176
|
-
a.call(this, "FlateWorker/" +
|
|
175
|
+
function b(h, m) {
|
|
176
|
+
a.call(this, "FlateWorker/" + h), this._pako = null, this._pakoAction = h, this._pakoOptions = m, this.meta = {};
|
|
177
177
|
}
|
|
178
|
-
w.magic = "\b\0", n.inherits(b, a), b.prototype.processChunk = function(
|
|
179
|
-
this.meta =
|
|
178
|
+
w.magic = "\b\0", n.inherits(b, a), b.prototype.processChunk = function(h) {
|
|
179
|
+
this.meta = h.meta, this._pako === null && this._createPako(), this._pako.push(n.transformTo(_, h.data), !1);
|
|
180
180
|
}, b.prototype.flush = function() {
|
|
181
181
|
a.prototype.flush.call(this), this._pako === null && this._createPako(), this._pako.push([], !0);
|
|
182
182
|
}, b.prototype.cleanUp = function() {
|
|
183
183
|
a.prototype.cleanUp.call(this), this._pako = null;
|
|
184
184
|
}, b.prototype._createPako = function() {
|
|
185
185
|
this._pako = new d[this._pakoAction]({ raw: !0, level: this._pakoOptions.level || -1 });
|
|
186
|
-
var
|
|
186
|
+
var h = this;
|
|
187
187
|
this._pako.onData = function(m) {
|
|
188
|
-
|
|
188
|
+
h.push({ data: m, meta: h.meta });
|
|
189
189
|
};
|
|
190
|
-
}, w.compressWorker = function(
|
|
191
|
-
return new b("Deflate",
|
|
190
|
+
}, w.compressWorker = function(h) {
|
|
191
|
+
return new b("Deflate", h);
|
|
192
192
|
}, w.uncompressWorker = function() {
|
|
193
193
|
return new b("Inflate", {});
|
|
194
194
|
};
|
|
@@ -212,9 +212,9 @@ function Ut() {
|
|
|
212
212
|
}(E.dosPermissions)), y = j.getUTCHours(), y <<= 6, y |= j.getUTCMinutes(), y <<= 5, y |= j.getUTCSeconds() / 2, x = j.getUTCFullYear() - 1980, x <<= 4, x |= j.getUTCMonth() + 1, x <<= 5, x |= j.getUTCDate(), C && (q = u(1, 1) + u(b(L), 4) + O, D += "up" + u(q.length, 2) + q), e && (P = u(1, 1) + u(b(Y), 4) + g, D += "uc" + u(P.length, 2) + P);
|
|
213
213
|
var Z = "";
|
|
214
214
|
return Z += `
|
|
215
|
-
\0`, Z += u(I, 2), Z += B.magic, Z += u(y, 2), Z += u(x, 2), Z += u(J.crc32, 4), Z += u(J.compressedSize, 4), Z += u(J.uncompressedSize, 4), Z += u(L.length, 2), Z += u(D.length, 2), { fileRecord:
|
|
215
|
+
\0`, Z += u(I, 2), Z += B.magic, Z += u(y, 2), Z += u(x, 2), Z += u(J.crc32, 4), Z += u(J.compressedSize, 4), Z += u(J.uncompressedSize, 4), Z += u(L.length, 2), Z += u(D.length, 2), { fileRecord: h.LOCAL_FILE_HEADER + Z + L + D, dirRecord: h.CENTRAL_FILE_HEADER + u(X, 2) + Z + u(Y.length, 2) + "\0\0\0\0" + u(S, 4) + u(l, 4) + L + D + Y };
|
|
216
216
|
}
|
|
217
|
-
var n = v("../utils"), a = v("../stream/GenericWorker"), _ = v("../utf8"), b = v("../crc32"),
|
|
217
|
+
var n = v("../utils"), a = v("../stream/GenericWorker"), _ = v("../utf8"), b = v("../crc32"), h = v("../signature");
|
|
218
218
|
function m(i, f, r, l) {
|
|
219
219
|
a.call(this, "ZipFileWorker"), this.bytesWritten = 0, this.zipComment = f, this.zipPlatform = r, this.encodeFileName = l, this.streamFiles = i, this.accumulate = !1, this.contentBuffer = [], this.dirRecords = [], this.currentSourceOffset = 0, this.entriesCount = 0, this.currentFile = null, this._sources = [];
|
|
220
220
|
}
|
|
@@ -232,7 +232,7 @@ function Ut() {
|
|
|
232
232
|
this.accumulate = !1;
|
|
233
233
|
var f = this.streamFiles && !i.file.dir, r = d(i, f, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
|
|
234
234
|
if (this.dirRecords.push(r.dirRecord), f) this.push({ data: function(l) {
|
|
235
|
-
return
|
|
235
|
+
return h.DATA_DESCRIPTOR + u(l.crc32, 4) + u(l.compressedSize, 4) + u(l.uncompressedSize, 4);
|
|
236
236
|
}(i), meta: { percent: 100 } });
|
|
237
237
|
else for (this.push({ data: r.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; ) this.push(this.contentBuffer.shift());
|
|
238
238
|
this.currentFile = null;
|
|
@@ -240,7 +240,7 @@ function Ut() {
|
|
|
240
240
|
for (var i = this.bytesWritten, f = 0; f < this.dirRecords.length; f++) this.push({ data: this.dirRecords[f], meta: { percent: 100 } });
|
|
241
241
|
var r = this.bytesWritten - i, l = function(s, p, y, x, E) {
|
|
242
242
|
var B = n.transformTo("string", E(x));
|
|
243
|
-
return
|
|
243
|
+
return h.CENTRAL_DIRECTORY_END + "\0\0\0\0" + u(s, 2) + u(s, 2) + u(p, 4) + u(y, 4) + u(B.length, 2) + B;
|
|
244
244
|
}(this.dirRecords.length, r, i, this.zipComment, this.encodeFileName);
|
|
245
245
|
this.push({ data: l, meta: { percent: 100 } });
|
|
246
246
|
}, m.prototype.prepareNextSource = function() {
|
|
@@ -272,17 +272,17 @@ function Ut() {
|
|
|
272
272
|
}, { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 }], 9: [function(v, F, w) {
|
|
273
273
|
var u = v("../compressions"), d = v("./ZipFileWorker");
|
|
274
274
|
w.generateWorker = function(n, a, _) {
|
|
275
|
-
var b = new d(a.streamFiles, _, a.platform, a.encodeFileName),
|
|
275
|
+
var b = new d(a.streamFiles, _, a.platform, a.encodeFileName), h = 0;
|
|
276
276
|
try {
|
|
277
277
|
n.forEach(function(m, i) {
|
|
278
|
-
|
|
278
|
+
h++;
|
|
279
279
|
var f = function(p, y) {
|
|
280
280
|
var x = p || y, E = u[x];
|
|
281
281
|
if (!E) throw new Error(x + " is not a valid compression method !");
|
|
282
282
|
return E;
|
|
283
283
|
}(i.options.compression, a.compression), r = i.options.compressionOptions || a.compressionOptions || {}, l = i.dir, s = i.date;
|
|
284
284
|
i._compressWorker(f, r).withStreamInfo("file", { name: m, dir: l, date: s, comment: i.comment || "", unixPermissions: i.unixPermissions, dosPermissions: i.dosPermissions }).pipe(b);
|
|
285
|
-
}), b.entriesCount =
|
|
285
|
+
}), b.entriesCount = h;
|
|
286
286
|
} catch (m) {
|
|
287
287
|
b.error(m);
|
|
288
288
|
}
|
|
@@ -303,7 +303,7 @@ function Ut() {
|
|
|
303
303
|
}, u.external = v("./external"), F.exports = u;
|
|
304
304
|
}, { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 }], 11: [function(v, F, w) {
|
|
305
305
|
var u = v("./utils"), d = v("./external"), n = v("./utf8"), a = v("./zipEntries"), _ = v("./stream/Crc32Probe"), b = v("./nodejsUtils");
|
|
306
|
-
function
|
|
306
|
+
function h(m) {
|
|
307
307
|
return new d.Promise(function(i, f) {
|
|
308
308
|
var r = m.decompressed.getContentWorker().pipe(new _());
|
|
309
309
|
r.on("error", function(l) {
|
|
@@ -320,7 +320,7 @@ function Ut() {
|
|
|
320
320
|
return l.load(r), l;
|
|
321
321
|
}).then(function(r) {
|
|
322
322
|
var l = [d.Promise.resolve(r)], s = r.files;
|
|
323
|
-
if (i.checkCRC32) for (var p = 0; p < s.length; p++) l.push(
|
|
323
|
+
if (i.checkCRC32) for (var p = 0; p < s.length; p++) l.push(h(s[p]));
|
|
324
324
|
return d.Promise.all(l);
|
|
325
325
|
}).then(function(r) {
|
|
326
326
|
for (var l = r.shift(), s = l.files, p = 0; p < s.length; p++) {
|
|
@@ -354,10 +354,10 @@ function Ut() {
|
|
|
354
354
|
function d(n, a, _) {
|
|
355
355
|
u.call(this, a), this._helper = n;
|
|
356
356
|
var b = this;
|
|
357
|
-
n.on("data", function(
|
|
358
|
-
b.push(
|
|
359
|
-
}).on("error", function(
|
|
360
|
-
b.emit("error",
|
|
357
|
+
n.on("data", function(h, m) {
|
|
358
|
+
b.push(h) || b._helper.pause(), _ && _(m);
|
|
359
|
+
}).on("error", function(h) {
|
|
360
|
+
b.emit("error", h);
|
|
361
361
|
}).on("end", function() {
|
|
362
362
|
b.push(null);
|
|
363
363
|
});
|
|
@@ -384,13 +384,13 @@ function Ut() {
|
|
|
384
384
|
var L, O = n.getTypeOf(B), H = n.extend(T || {}, b);
|
|
385
385
|
H.date = H.date || /* @__PURE__ */ new Date(), H.compression !== null && (H.compression = H.compression.toUpperCase()), typeof H.unixPermissions == "string" && (H.unixPermissions = parseInt(H.unixPermissions, 8)), H.unixPermissions && 16384 & H.unixPermissions && (H.dir = !0), H.dosPermissions && 16 & H.dosPermissions && (H.dir = !0), H.dir && (E = s(E)), H.createFolders && (L = l(E)) && p.call(this, L, !0);
|
|
386
386
|
var Y = O === "string" && H.binary === !1 && H.base64 === !1;
|
|
387
|
-
T && T.binary !== void 0 || (H.binary = !Y), (B instanceof
|
|
387
|
+
T && T.binary !== void 0 || (H.binary = !Y), (B instanceof h && B.uncompressedSize === 0 || H.dir || !B || B.length === 0) && (H.base64 = !1, H.binary = !0, B = "", H.compression = "STORE", O = "string");
|
|
388
388
|
var g = null;
|
|
389
|
-
g = B instanceof
|
|
389
|
+
g = B instanceof h || B instanceof a ? B : f.isNode && f.isStream(B) ? new r(E, B) : n.prepareContent(E, B, H.binary, H.optimizedBinaryString, H.base64);
|
|
390
390
|
var C = new m(E, g, H);
|
|
391
391
|
this.files[E] = C;
|
|
392
392
|
}
|
|
393
|
-
var d = v("./utf8"), n = v("./utils"), a = v("./stream/GenericWorker"), _ = v("./stream/StreamHelper"), b = v("./defaults"),
|
|
393
|
+
var d = v("./utf8"), n = v("./utils"), a = v("./stream/GenericWorker"), _ = v("./stream/StreamHelper"), b = v("./defaults"), h = v("./compressedObject"), m = v("./zipObject"), i = v("./generate"), f = v("./nodejsUtils"), r = v("./nodejs/NodejsStreamInputAdapter"), l = function(E) {
|
|
394
394
|
E.slice(-1) === "/" && (E = E.substring(0, E.length - 1));
|
|
395
395
|
var B = E.lastIndexOf("/");
|
|
396
396
|
return 0 < B ? E.substring(0, B) : "";
|
|
@@ -467,11 +467,11 @@ function Ut() {
|
|
|
467
467
|
v("../utils").inherits(d, u), d.prototype.byteAt = function(n) {
|
|
468
468
|
return this.data[this.zero + n];
|
|
469
469
|
}, d.prototype.lastIndexOfSignature = function(n) {
|
|
470
|
-
for (var a = n.charCodeAt(0), _ = n.charCodeAt(1), b = n.charCodeAt(2),
|
|
470
|
+
for (var a = n.charCodeAt(0), _ = n.charCodeAt(1), b = n.charCodeAt(2), h = n.charCodeAt(3), m = this.length - 4; 0 <= m; --m) if (this.data[m] === a && this.data[m + 1] === _ && this.data[m + 2] === b && this.data[m + 3] === h) return m - this.zero;
|
|
471
471
|
return -1;
|
|
472
472
|
}, d.prototype.readAndCheckSignature = function(n) {
|
|
473
|
-
var a = n.charCodeAt(0), _ = n.charCodeAt(1), b = n.charCodeAt(2),
|
|
474
|
-
return a === m[0] && _ === m[1] && b === m[2] &&
|
|
473
|
+
var a = n.charCodeAt(0), _ = n.charCodeAt(1), b = n.charCodeAt(2), h = n.charCodeAt(3), m = this.readData(4);
|
|
474
|
+
return a === m[0] && _ === m[1] && b === m[2] && h === m[3];
|
|
475
475
|
}, d.prototype.readData = function(n) {
|
|
476
476
|
if (this.checkOffset(n), n === 0) return [];
|
|
477
477
|
var a = this.data.slice(this.zero + this.index, this.zero + this.index + n);
|
|
@@ -542,9 +542,9 @@ function Ut() {
|
|
|
542
542
|
}, F.exports = d;
|
|
543
543
|
}, { "../utils": 32, "./ArrayReader": 17 }], 22: [function(v, F, w) {
|
|
544
544
|
var u = v("../utils"), d = v("../support"), n = v("./ArrayReader"), a = v("./StringReader"), _ = v("./NodeBufferReader"), b = v("./Uint8ArrayReader");
|
|
545
|
-
F.exports = function(
|
|
546
|
-
var m = u.getTypeOf(
|
|
547
|
-
return u.checkSupport(m), m !== "string" || d.uint8array ? m === "nodebuffer" ? new _(
|
|
545
|
+
F.exports = function(h) {
|
|
546
|
+
var m = u.getTypeOf(h);
|
|
547
|
+
return u.checkSupport(m), m !== "string" || d.uint8array ? m === "nodebuffer" ? new _(h) : d.uint8array ? new b(u.transformTo("uint8array", h)) : new n(u.transformTo("array", h)) : new a(h);
|
|
548
548
|
};
|
|
549
549
|
}, { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 }], 23: [function(v, F, w) {
|
|
550
550
|
w.LOCAL_FILE_HEADER = "PK", w.CENTRAL_FILE_HEADER = "PK", w.CENTRAL_DIRECTORY_END = "PK", w.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK\x07", w.ZIP64_CENTRAL_DIRECTORY_END = "PK", w.DATA_DESCRIPTOR = "PK\x07\b";
|
|
@@ -667,9 +667,9 @@ function Ut() {
|
|
|
667
667
|
return this.previous ? this.previous + " -> " + d : d;
|
|
668
668
|
} }, F.exports = u;
|
|
669
669
|
}, {}], 29: [function(v, F, w) {
|
|
670
|
-
var u = v("../utils"), d = v("./ConvertWorker"), n = v("./GenericWorker"), a = v("../base64"), _ = v("../support"), b = v("../external"),
|
|
670
|
+
var u = v("../utils"), d = v("./ConvertWorker"), n = v("./GenericWorker"), a = v("../base64"), _ = v("../support"), b = v("../external"), h = null;
|
|
671
671
|
if (_.nodestream) try {
|
|
672
|
-
|
|
672
|
+
h = v("../nodejs/NodejsStreamOutputAdapter");
|
|
673
673
|
} catch {
|
|
674
674
|
}
|
|
675
675
|
function m(f, r) {
|
|
@@ -746,7 +746,7 @@ function Ut() {
|
|
|
746
746
|
return this._worker.pause(), this;
|
|
747
747
|
}, toNodejsStream: function(f) {
|
|
748
748
|
if (u.checkSupport("nodestream"), this._outputType !== "nodebuffer") throw new Error(this._outputType + " is not supported by this method");
|
|
749
|
-
return new
|
|
749
|
+
return new h(this, { objectMode: this._outputType !== "nodebuffer" }, f);
|
|
750
750
|
} }, F.exports = i;
|
|
751
751
|
}, { "../base64": 1, "../external": 6, "../nodejs/NodejsStreamOutputAdapter": 13, "../support": 30, "../utils": 32, "./ConvertWorker": 24, "./GenericWorker": 28 }], 30: [function(v, F, w) {
|
|
752
752
|
if (w.base64 = !0, w.array = !0, w.string = !0, w.arraybuffer = typeof ArrayBuffer < "u" && typeof Uint8Array < "u", w.nodebuffer = typeof Buffer < "u", w.uint8array = typeof Uint8Array < "u", typeof ArrayBuffer > "u") w.blob = !1;
|
|
@@ -771,7 +771,7 @@ function Ut() {
|
|
|
771
771
|
}, { "readable-stream": 16 }], 31: [function(v, F, w) {
|
|
772
772
|
for (var u = v("./utils"), d = v("./support"), n = v("./nodejsUtils"), a = v("./stream/GenericWorker"), _ = new Array(256), b = 0; b < 256; b++) _[b] = 252 <= b ? 6 : 248 <= b ? 5 : 240 <= b ? 4 : 224 <= b ? 3 : 192 <= b ? 2 : 1;
|
|
773
773
|
_[254] = _[254] = 1;
|
|
774
|
-
function
|
|
774
|
+
function h() {
|
|
775
775
|
a.call(this, "utf-8 decode"), this.leftOver = null;
|
|
776
776
|
}
|
|
777
777
|
function m() {
|
|
@@ -795,7 +795,7 @@ function Ut() {
|
|
|
795
795
|
}
|
|
796
796
|
return x.length !== l && (x.subarray ? x = x.subarray(0, l) : x.length = l), u.applyFromCharCode(x);
|
|
797
797
|
}(i = u.transformTo(d.uint8array ? "uint8array" : "array", i));
|
|
798
|
-
}, u.inherits(
|
|
798
|
+
}, u.inherits(h, a), h.prototype.processChunk = function(i) {
|
|
799
799
|
var f = u.transformTo(d.uint8array ? "uint8array" : "array", i.data);
|
|
800
800
|
if (this.leftOver && this.leftOver.length) {
|
|
801
801
|
if (d.uint8array) {
|
|
@@ -810,9 +810,9 @@ function Ut() {
|
|
|
810
810
|
return x < 0 || x === 0 ? y : x + _[p[x]] > y ? x : y;
|
|
811
811
|
}(f), s = f;
|
|
812
812
|
l !== f.length && (d.uint8array ? (s = f.subarray(0, l), this.leftOver = f.subarray(l, f.length)) : (s = f.slice(0, l), this.leftOver = f.slice(l, f.length))), this.push({ data: w.utf8decode(s), meta: i.meta });
|
|
813
|
-
},
|
|
813
|
+
}, h.prototype.flush = function() {
|
|
814
814
|
this.leftOver && this.leftOver.length && (this.push({ data: w.utf8decode(this.leftOver), meta: {} }), this.leftOver = null);
|
|
815
|
-
}, w.Utf8DecodeWorker =
|
|
815
|
+
}, w.Utf8DecodeWorker = h, u.inherits(m, a), m.prototype.processChunk = function(i) {
|
|
816
816
|
this.push({ data: w.utf8encode(i.data), meta: i.meta });
|
|
817
817
|
}, w.Utf8EncodeWorker = m;
|
|
818
818
|
}, { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 }], 32: [function(v, F, w) {
|
|
@@ -837,7 +837,7 @@ function Ut() {
|
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
839
|
};
|
|
840
|
-
var
|
|
840
|
+
var h = { stringifyByChunk: function(r, l, s) {
|
|
841
841
|
var p = [], y = 0, x = r.length;
|
|
842
842
|
if (x <= s) return String.fromCharCode.apply(null, r);
|
|
843
843
|
for (; y < x; ) l === "array" || l === "nodebuffer" ? p.push(String.fromCharCode.apply(null, r.slice(y, Math.min(y + s, x)))) : p.push(String.fromCharCode.apply(null, r.subarray(y, Math.min(y + s, x)))), y += s;
|
|
@@ -860,12 +860,12 @@ function Ut() {
|
|
|
860
860
|
}() } };
|
|
861
861
|
function m(r) {
|
|
862
862
|
var l = 65536, s = w.getTypeOf(r), p = !0;
|
|
863
|
-
if (s === "uint8array" ? p =
|
|
864
|
-
return
|
|
863
|
+
if (s === "uint8array" ? p = h.applyCanBeUsed.uint8array : s === "nodebuffer" && (p = h.applyCanBeUsed.nodebuffer), p) for (; 1 < l; ) try {
|
|
864
|
+
return h.stringifyByChunk(r, s, l);
|
|
865
865
|
} catch {
|
|
866
866
|
l = Math.floor(l / 2);
|
|
867
867
|
}
|
|
868
|
-
return
|
|
868
|
+
return h.stringifyByChar(r);
|
|
869
869
|
}
|
|
870
870
|
function i(r, l) {
|
|
871
871
|
for (var s = 0; s < r.length; s++) l[s] = r[s];
|
|
@@ -957,44 +957,44 @@ function Ut() {
|
|
|
957
957
|
};
|
|
958
958
|
}, { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 }], 33: [function(v, F, w) {
|
|
959
959
|
var u = v("./reader/readerFor"), d = v("./utils"), n = v("./signature"), a = v("./zipEntry"), _ = v("./support");
|
|
960
|
-
function b(
|
|
961
|
-
this.files = [], this.loadOptions =
|
|
960
|
+
function b(h) {
|
|
961
|
+
this.files = [], this.loadOptions = h;
|
|
962
962
|
}
|
|
963
|
-
b.prototype = { checkSignature: function(
|
|
964
|
-
if (!this.reader.readAndCheckSignature(
|
|
963
|
+
b.prototype = { checkSignature: function(h) {
|
|
964
|
+
if (!this.reader.readAndCheckSignature(h)) {
|
|
965
965
|
this.reader.index -= 4;
|
|
966
966
|
var m = this.reader.readString(4);
|
|
967
|
-
throw new Error("Corrupted zip or bug: unexpected signature (" + d.pretty(m) + ", expected " + d.pretty(
|
|
967
|
+
throw new Error("Corrupted zip or bug: unexpected signature (" + d.pretty(m) + ", expected " + d.pretty(h) + ")");
|
|
968
968
|
}
|
|
969
|
-
}, isSignature: function(
|
|
969
|
+
}, isSignature: function(h, m) {
|
|
970
970
|
var i = this.reader.index;
|
|
971
|
-
this.reader.setIndex(
|
|
971
|
+
this.reader.setIndex(h);
|
|
972
972
|
var f = this.reader.readString(4) === m;
|
|
973
973
|
return this.reader.setIndex(i), f;
|
|
974
974
|
}, readBlockEndOfCentral: function() {
|
|
975
975
|
this.diskNumber = this.reader.readInt(2), this.diskWithCentralDirStart = this.reader.readInt(2), this.centralDirRecordsOnThisDisk = this.reader.readInt(2), this.centralDirRecords = this.reader.readInt(2), this.centralDirSize = this.reader.readInt(4), this.centralDirOffset = this.reader.readInt(4), this.zipCommentLength = this.reader.readInt(2);
|
|
976
|
-
var
|
|
976
|
+
var h = this.reader.readData(this.zipCommentLength), m = _.uint8array ? "uint8array" : "array", i = d.transformTo(m, h);
|
|
977
977
|
this.zipComment = this.loadOptions.decodeFileName(i);
|
|
978
978
|
}, readBlockZip64EndOfCentral: function() {
|
|
979
979
|
this.zip64EndOfCentralSize = this.reader.readInt(8), this.reader.skip(4), this.diskNumber = this.reader.readInt(4), this.diskWithCentralDirStart = this.reader.readInt(4), this.centralDirRecordsOnThisDisk = this.reader.readInt(8), this.centralDirRecords = this.reader.readInt(8), this.centralDirSize = this.reader.readInt(8), this.centralDirOffset = this.reader.readInt(8), this.zip64ExtensibleData = {};
|
|
980
|
-
for (var
|
|
980
|
+
for (var h, m, i, f = this.zip64EndOfCentralSize - 44; 0 < f; ) h = this.reader.readInt(2), m = this.reader.readInt(4), i = this.reader.readData(m), this.zip64ExtensibleData[h] = { id: h, length: m, value: i };
|
|
981
981
|
}, readBlockZip64EndOfCentralLocator: function() {
|
|
982
982
|
if (this.diskWithZip64CentralDirStart = this.reader.readInt(4), this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8), this.disksCount = this.reader.readInt(4), 1 < this.disksCount) throw new Error("Multi-volumes zip are not supported");
|
|
983
983
|
}, readLocalFiles: function() {
|
|
984
|
-
var
|
|
985
|
-
for (
|
|
984
|
+
var h, m;
|
|
985
|
+
for (h = 0; h < this.files.length; h++) m = this.files[h], this.reader.setIndex(m.localHeaderOffset), this.checkSignature(n.LOCAL_FILE_HEADER), m.readLocalPart(this.reader), m.handleUTF8(), m.processAttributes();
|
|
986
986
|
}, readCentralDir: function() {
|
|
987
|
-
var
|
|
988
|
-
for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER); ) (
|
|
987
|
+
var h;
|
|
988
|
+
for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER); ) (h = new a({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(h);
|
|
989
989
|
if (this.centralDirRecords !== this.files.length && this.centralDirRecords !== 0 && this.files.length === 0) throw new Error("Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length);
|
|
990
990
|
}, readEndOfCentral: function() {
|
|
991
|
-
var
|
|
992
|
-
if (
|
|
993
|
-
this.reader.setIndex(
|
|
994
|
-
var m =
|
|
991
|
+
var h = this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);
|
|
992
|
+
if (h < 0) throw this.isSignature(0, n.LOCAL_FILE_HEADER) ? new Error("Corrupted zip: can't find end of central directory") : new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");
|
|
993
|
+
this.reader.setIndex(h);
|
|
994
|
+
var m = h;
|
|
995
995
|
if (this.checkSignature(n.CENTRAL_DIRECTORY_END), this.readBlockEndOfCentral(), this.diskNumber === d.MAX_VALUE_16BITS || this.diskWithCentralDirStart === d.MAX_VALUE_16BITS || this.centralDirRecordsOnThisDisk === d.MAX_VALUE_16BITS || this.centralDirRecords === d.MAX_VALUE_16BITS || this.centralDirSize === d.MAX_VALUE_32BITS || this.centralDirOffset === d.MAX_VALUE_32BITS) {
|
|
996
|
-
if (this.zip64 = !0, (
|
|
997
|
-
if (this.reader.setIndex(
|
|
996
|
+
if (this.zip64 = !0, (h = this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
|
|
997
|
+
if (this.reader.setIndex(h), this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR), this.readBlockZip64EndOfCentralLocator(), !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, n.ZIP64_CENTRAL_DIRECTORY_END) && (this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_END), this.relativeOffsetEndOfZip64CentralDir < 0)) throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");
|
|
998
998
|
this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir), this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_END), this.readBlockZip64EndOfCentral();
|
|
999
999
|
}
|
|
1000
1000
|
var i = this.centralDirOffset + this.centralDirSize;
|
|
@@ -1002,13 +1002,13 @@ function Ut() {
|
|
|
1002
1002
|
var f = m - i;
|
|
1003
1003
|
if (0 < f) this.isSignature(m, n.CENTRAL_FILE_HEADER) || (this.reader.zero = f);
|
|
1004
1004
|
else if (f < 0) throw new Error("Corrupted zip: missing " + Math.abs(f) + " bytes.");
|
|
1005
|
-
}, prepareReader: function(
|
|
1006
|
-
this.reader = u(
|
|
1007
|
-
}, load: function(
|
|
1008
|
-
this.prepareReader(
|
|
1005
|
+
}, prepareReader: function(h) {
|
|
1006
|
+
this.reader = u(h);
|
|
1007
|
+
}, load: function(h) {
|
|
1008
|
+
this.prepareReader(h), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
|
|
1009
1009
|
} }, F.exports = b;
|
|
1010
1010
|
}, { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 }], 34: [function(v, F, w) {
|
|
1011
|
-
var u = v("./reader/readerFor"), d = v("./utils"), n = v("./compressedObject"), a = v("./crc32"), _ = v("./utf8"), b = v("./compressions"),
|
|
1011
|
+
var u = v("./reader/readerFor"), d = v("./utils"), n = v("./compressedObject"), a = v("./crc32"), _ = v("./utf8"), b = v("./compressions"), h = v("./support");
|
|
1012
1012
|
function m(i, f) {
|
|
1013
1013
|
this.options = i, this.loadOptions = f;
|
|
1014
1014
|
}
|
|
@@ -1043,7 +1043,7 @@ function Ut() {
|
|
|
1043
1043
|
for (this.extraFields || (this.extraFields = {}); i.index + 4 < s; ) f = i.readInt(2), r = i.readInt(2), l = i.readData(r), this.extraFields[f] = { id: f, length: r, value: l };
|
|
1044
1044
|
i.setIndex(s);
|
|
1045
1045
|
}, handleUTF8: function() {
|
|
1046
|
-
var i =
|
|
1046
|
+
var i = h.uint8array ? "uint8array" : "array";
|
|
1047
1047
|
if (this.useUTF8()) this.fileNameStr = _.utf8decode(this.fileName), this.fileCommentStr = _.utf8decode(this.fileComment);
|
|
1048
1048
|
else {
|
|
1049
1049
|
var f = this.findExtraFieldUnicodePath();
|
|
@@ -1102,17 +1102,17 @@ function Ut() {
|
|
|
1102
1102
|
}, _decompressWorker: function() {
|
|
1103
1103
|
return this._data instanceof _ ? this._data.getContentWorker() : this._data instanceof b ? this._data : new n(this._data);
|
|
1104
1104
|
} };
|
|
1105
|
-
for (var
|
|
1105
|
+
for (var h = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"], m = function() {
|
|
1106
1106
|
throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
|
|
1107
|
-
}, i = 0; i <
|
|
1107
|
+
}, i = 0; i < h.length; i++) u.prototype[h[i]] = m;
|
|
1108
1108
|
F.exports = u;
|
|
1109
1109
|
}, { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 }], 36: [function(v, F, w) {
|
|
1110
1110
|
(function(u) {
|
|
1111
1111
|
var d, n, a = u.MutationObserver || u.WebKitMutationObserver;
|
|
1112
1112
|
if (a) {
|
|
1113
|
-
var _ = 0, b = new a(f),
|
|
1114
|
-
b.observe(
|
|
1115
|
-
|
|
1113
|
+
var _ = 0, b = new a(f), h = u.document.createTextNode("");
|
|
1114
|
+
b.observe(h, { characterData: !0 }), d = function() {
|
|
1115
|
+
h.data = _ = ++_ % 2;
|
|
1116
1116
|
};
|
|
1117
1117
|
} else if (u.setImmediate || u.MessageChannel === void 0) d = "document" in u && "onreadystatechange" in u.document.createElement("script") ? function() {
|
|
1118
1118
|
var r = u.document.createElement("script");
|
|
@@ -1147,7 +1147,7 @@ function Ut() {
|
|
|
1147
1147
|
function d() {
|
|
1148
1148
|
}
|
|
1149
1149
|
var n = {}, a = ["REJECTED"], _ = ["FULFILLED"], b = ["PENDING"];
|
|
1150
|
-
function
|
|
1150
|
+
function h(s) {
|
|
1151
1151
|
if (typeof s != "function") throw new TypeError("resolver must be a function");
|
|
1152
1152
|
this.state = b, this.queue = [], this.outcome = void 0, s !== d && r(this, s);
|
|
1153
1153
|
}
|
|
@@ -1193,7 +1193,7 @@ function Ut() {
|
|
|
1193
1193
|
}
|
|
1194
1194
|
return y;
|
|
1195
1195
|
}
|
|
1196
|
-
(F.exports =
|
|
1196
|
+
(F.exports = h).prototype.finally = function(s) {
|
|
1197
1197
|
if (typeof s != "function") return this;
|
|
1198
1198
|
var p = this.constructor;
|
|
1199
1199
|
return this.then(function(y) {
|
|
@@ -1205,9 +1205,9 @@ function Ut() {
|
|
|
1205
1205
|
throw y;
|
|
1206
1206
|
});
|
|
1207
1207
|
});
|
|
1208
|
-
},
|
|
1208
|
+
}, h.prototype.catch = function(s) {
|
|
1209
1209
|
return this.then(null, s);
|
|
1210
|
-
},
|
|
1210
|
+
}, h.prototype.then = function(s, p) {
|
|
1211
1211
|
if (typeof s != "function" && this.state === _ || typeof p != "function" && this.state === a) return this;
|
|
1212
1212
|
var y = new this.constructor(d);
|
|
1213
1213
|
return this.state !== b ? i(y, this.state === _ ? s : p, this.outcome) : this.queue.push(new m(y, s, p)), y;
|
|
@@ -1233,12 +1233,12 @@ function Ut() {
|
|
|
1233
1233
|
s.state = a, s.outcome = p;
|
|
1234
1234
|
for (var y = -1, x = s.queue.length; ++y < x; ) s.queue[y].callRejected(p);
|
|
1235
1235
|
return s;
|
|
1236
|
-
},
|
|
1236
|
+
}, h.resolve = function(s) {
|
|
1237
1237
|
return s instanceof this ? s : n.resolve(new this(d), s);
|
|
1238
|
-
},
|
|
1238
|
+
}, h.reject = function(s) {
|
|
1239
1239
|
var p = new this(d);
|
|
1240
1240
|
return n.reject(p, s);
|
|
1241
|
-
},
|
|
1241
|
+
}, h.all = function(s) {
|
|
1242
1242
|
var p = this;
|
|
1243
1243
|
if (Object.prototype.toString.call(s) !== "[object Array]") return this.reject(new TypeError("must be an array"));
|
|
1244
1244
|
var y = s.length, x = !1;
|
|
@@ -1252,7 +1252,7 @@ function Ut() {
|
|
|
1252
1252
|
x || (x = !0, n.reject(L, g));
|
|
1253
1253
|
});
|
|
1254
1254
|
}
|
|
1255
|
-
},
|
|
1255
|
+
}, h.race = function(s) {
|
|
1256
1256
|
var p = this;
|
|
1257
1257
|
if (Object.prototype.toString.call(s) !== "[object Array]") return this.reject(new TypeError("must be an array"));
|
|
1258
1258
|
var y = s.length, x = !1;
|
|
@@ -1269,17 +1269,17 @@ function Ut() {
|
|
|
1269
1269
|
var u = {};
|
|
1270
1270
|
(0, v("./lib/utils/common").assign)(u, v("./lib/deflate"), v("./lib/inflate"), v("./lib/zlib/constants")), F.exports = u;
|
|
1271
1271
|
}, { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 }], 39: [function(v, F, w) {
|
|
1272
|
-
var u = v("./zlib/deflate"), d = v("./utils/common"), n = v("./utils/strings"), a = v("./zlib/messages"), _ = v("./zlib/zstream"), b = Object.prototype.toString,
|
|
1272
|
+
var u = v("./zlib/deflate"), d = v("./utils/common"), n = v("./utils/strings"), a = v("./zlib/messages"), _ = v("./zlib/zstream"), b = Object.prototype.toString, h = 0, m = -1, i = 0, f = 8;
|
|
1273
1273
|
function r(s) {
|
|
1274
1274
|
if (!(this instanceof r)) return new r(s);
|
|
1275
1275
|
this.options = d.assign({ level: m, method: f, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: i, to: "" }, s || {});
|
|
1276
1276
|
var p = this.options;
|
|
1277
1277
|
p.raw && 0 < p.windowBits ? p.windowBits = -p.windowBits : p.gzip && 0 < p.windowBits && p.windowBits < 16 && (p.windowBits += 16), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new _(), this.strm.avail_out = 0;
|
|
1278
1278
|
var y = u.deflateInit2(this.strm, p.level, p.method, p.windowBits, p.memLevel, p.strategy);
|
|
1279
|
-
if (y !==
|
|
1279
|
+
if (y !== h) throw new Error(a[y]);
|
|
1280
1280
|
if (p.header && u.deflateSetHeader(this.strm, p.header), p.dictionary) {
|
|
1281
1281
|
var x;
|
|
1282
|
-
if (x = typeof p.dictionary == "string" ? n.string2buf(p.dictionary) : b.call(p.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(p.dictionary) : p.dictionary, (y = u.deflateSetDictionary(this.strm, x)) !==
|
|
1282
|
+
if (x = typeof p.dictionary == "string" ? n.string2buf(p.dictionary) : b.call(p.dictionary) === "[object ArrayBuffer]" ? new Uint8Array(p.dictionary) : p.dictionary, (y = u.deflateSetDictionary(this.strm, x)) !== h) throw new Error(a[y]);
|
|
1283
1283
|
this._dict_set = !0;
|
|
1284
1284
|
}
|
|
1285
1285
|
}
|
|
@@ -1293,21 +1293,21 @@ function Ut() {
|
|
|
1293
1293
|
if (this.ended) return !1;
|
|
1294
1294
|
x = p === ~~p ? p : p === !0 ? 4 : 0, typeof s == "string" ? E.input = n.string2buf(s) : b.call(s) === "[object ArrayBuffer]" ? E.input = new Uint8Array(s) : E.input = s, E.next_in = 0, E.avail_in = E.input.length;
|
|
1295
1295
|
do {
|
|
1296
|
-
if (E.avail_out === 0 && (E.output = new d.Buf8(B), E.next_out = 0, E.avail_out = B), (y = u.deflate(E, x)) !== 1 && y !==
|
|
1296
|
+
if (E.avail_out === 0 && (E.output = new d.Buf8(B), E.next_out = 0, E.avail_out = B), (y = u.deflate(E, x)) !== 1 && y !== h) return this.onEnd(y), !(this.ended = !0);
|
|
1297
1297
|
E.avail_out !== 0 && (E.avail_in !== 0 || x !== 4 && x !== 2) || (this.options.to === "string" ? this.onData(n.buf2binstring(d.shrinkBuf(E.output, E.next_out))) : this.onData(d.shrinkBuf(E.output, E.next_out)));
|
|
1298
1298
|
} while ((0 < E.avail_in || E.avail_out === 0) && y !== 1);
|
|
1299
|
-
return x === 4 ? (y = u.deflateEnd(this.strm), this.onEnd(y), this.ended = !0, y ===
|
|
1299
|
+
return x === 4 ? (y = u.deflateEnd(this.strm), this.onEnd(y), this.ended = !0, y === h) : x !== 2 || (this.onEnd(h), !(E.avail_out = 0));
|
|
1300
1300
|
}, r.prototype.onData = function(s) {
|
|
1301
1301
|
this.chunks.push(s);
|
|
1302
1302
|
}, r.prototype.onEnd = function(s) {
|
|
1303
|
-
s ===
|
|
1303
|
+
s === h && (this.options.to === "string" ? this.result = this.chunks.join("") : this.result = d.flattenChunks(this.chunks)), this.chunks = [], this.err = s, this.msg = this.strm.msg;
|
|
1304
1304
|
}, w.Deflate = r, w.deflate = l, w.deflateRaw = function(s, p) {
|
|
1305
1305
|
return (p = p || {}).raw = !0, l(s, p);
|
|
1306
1306
|
}, w.gzip = function(s, p) {
|
|
1307
1307
|
return (p = p || {}).gzip = !0, l(s, p);
|
|
1308
1308
|
};
|
|
1309
1309
|
}, { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 }], 40: [function(v, F, w) {
|
|
1310
|
-
var u = v("./zlib/inflate"), d = v("./utils/common"), n = v("./utils/strings"), a = v("./zlib/constants"), _ = v("./zlib/messages"), b = v("./zlib/zstream"),
|
|
1310
|
+
var u = v("./zlib/inflate"), d = v("./utils/common"), n = v("./utils/strings"), a = v("./zlib/constants"), _ = v("./zlib/messages"), b = v("./zlib/zstream"), h = v("./zlib/gzheader"), m = Object.prototype.toString;
|
|
1311
1311
|
function i(r) {
|
|
1312
1312
|
if (!(this instanceof i)) return new i(r);
|
|
1313
1313
|
this.options = d.assign({ chunkSize: 16384, windowBits: 0, to: "" }, r || {});
|
|
@@ -1315,7 +1315,7 @@ function Ut() {
|
|
|
1315
1315
|
l.raw && 0 <= l.windowBits && l.windowBits < 16 && (l.windowBits = -l.windowBits, l.windowBits === 0 && (l.windowBits = -15)), !(0 <= l.windowBits && l.windowBits < 16) || r && r.windowBits || (l.windowBits += 32), 15 < l.windowBits && l.windowBits < 48 && (15 & l.windowBits) == 0 && (l.windowBits |= 15), this.err = 0, this.msg = "", this.ended = !1, this.chunks = [], this.strm = new b(), this.strm.avail_out = 0;
|
|
1316
1316
|
var s = u.inflateInit2(this.strm, l.windowBits);
|
|
1317
1317
|
if (s !== a.Z_OK) throw new Error(_[s]);
|
|
1318
|
-
this.header = new
|
|
1318
|
+
this.header = new h(), u.inflateGetHeader(this.strm, this.header);
|
|
1319
1319
|
}
|
|
1320
1320
|
function f(r, l) {
|
|
1321
1321
|
var s = new i(l);
|
|
@@ -1345,23 +1345,23 @@ function Ut() {
|
|
|
1345
1345
|
var b = _.shift();
|
|
1346
1346
|
if (b) {
|
|
1347
1347
|
if (typeof b != "object") throw new TypeError(b + "must be non-object");
|
|
1348
|
-
for (var
|
|
1348
|
+
for (var h in b) b.hasOwnProperty(h) && (a[h] = b[h]);
|
|
1349
1349
|
}
|
|
1350
1350
|
}
|
|
1351
1351
|
return a;
|
|
1352
1352
|
}, w.shrinkBuf = function(a, _) {
|
|
1353
1353
|
return a.length === _ ? a : a.subarray ? a.subarray(0, _) : (a.length = _, a);
|
|
1354
1354
|
};
|
|
1355
|
-
var d = { arraySet: function(a, _, b,
|
|
1356
|
-
if (_.subarray && a.subarray) a.set(_.subarray(b, b +
|
|
1357
|
-
else for (var i = 0; i <
|
|
1355
|
+
var d = { arraySet: function(a, _, b, h, m) {
|
|
1356
|
+
if (_.subarray && a.subarray) a.set(_.subarray(b, b + h), m);
|
|
1357
|
+
else for (var i = 0; i < h; i++) a[m + i] = _[b + i];
|
|
1358
1358
|
}, flattenChunks: function(a) {
|
|
1359
|
-
var _, b,
|
|
1360
|
-
for (_ =
|
|
1361
|
-
for (f = new Uint8Array(
|
|
1359
|
+
var _, b, h, m, i, f;
|
|
1360
|
+
for (_ = h = 0, b = a.length; _ < b; _++) h += a[_].length;
|
|
1361
|
+
for (f = new Uint8Array(h), _ = m = 0, b = a.length; _ < b; _++) i = a[_], f.set(i, m), m += i.length;
|
|
1362
1362
|
return f;
|
|
1363
|
-
} }, n = { arraySet: function(a, _, b,
|
|
1364
|
-
for (var i = 0; i <
|
|
1363
|
+
} }, n = { arraySet: function(a, _, b, h, m) {
|
|
1364
|
+
for (var i = 0; i < h; i++) a[m + i] = _[b + i];
|
|
1365
1365
|
}, flattenChunks: function(a) {
|
|
1366
1366
|
return [].concat.apply([], a);
|
|
1367
1367
|
} };
|
|
@@ -1381,39 +1381,39 @@ function Ut() {
|
|
|
1381
1381
|
n = !1;
|
|
1382
1382
|
}
|
|
1383
1383
|
for (var a = new u.Buf8(256), _ = 0; _ < 256; _++) a[_] = 252 <= _ ? 6 : 248 <= _ ? 5 : 240 <= _ ? 4 : 224 <= _ ? 3 : 192 <= _ ? 2 : 1;
|
|
1384
|
-
function b(
|
|
1385
|
-
if (m < 65537 && (
|
|
1386
|
-
for (var i = "", f = 0; f < m; f++) i += String.fromCharCode(
|
|
1384
|
+
function b(h, m) {
|
|
1385
|
+
if (m < 65537 && (h.subarray && n || !h.subarray && d)) return String.fromCharCode.apply(null, u.shrinkBuf(h, m));
|
|
1386
|
+
for (var i = "", f = 0; f < m; f++) i += String.fromCharCode(h[f]);
|
|
1387
1387
|
return i;
|
|
1388
1388
|
}
|
|
1389
|
-
a[254] = a[254] = 1, w.string2buf = function(
|
|
1390
|
-
var m, i, f, r, l, s =
|
|
1391
|
-
for (r = 0; r < s; r++) (64512 & (i =
|
|
1392
|
-
for (m = new u.Buf8(p), r = l = 0; l < p; r++) (64512 & (i =
|
|
1389
|
+
a[254] = a[254] = 1, w.string2buf = function(h) {
|
|
1390
|
+
var m, i, f, r, l, s = h.length, p = 0;
|
|
1391
|
+
for (r = 0; r < s; r++) (64512 & (i = h.charCodeAt(r))) == 55296 && r + 1 < s && (64512 & (f = h.charCodeAt(r + 1))) == 56320 && (i = 65536 + (i - 55296 << 10) + (f - 56320), r++), p += i < 128 ? 1 : i < 2048 ? 2 : i < 65536 ? 3 : 4;
|
|
1392
|
+
for (m = new u.Buf8(p), r = l = 0; l < p; r++) (64512 & (i = h.charCodeAt(r))) == 55296 && r + 1 < s && (64512 & (f = h.charCodeAt(r + 1))) == 56320 && (i = 65536 + (i - 55296 << 10) + (f - 56320), r++), i < 128 ? m[l++] = i : (i < 2048 ? m[l++] = 192 | i >>> 6 : (i < 65536 ? m[l++] = 224 | i >>> 12 : (m[l++] = 240 | i >>> 18, m[l++] = 128 | i >>> 12 & 63), m[l++] = 128 | i >>> 6 & 63), m[l++] = 128 | 63 & i);
|
|
1393
1393
|
return m;
|
|
1394
|
-
}, w.buf2binstring = function(
|
|
1395
|
-
return b(
|
|
1396
|
-
}, w.binstring2buf = function(
|
|
1397
|
-
for (var m = new u.Buf8(
|
|
1394
|
+
}, w.buf2binstring = function(h) {
|
|
1395
|
+
return b(h, h.length);
|
|
1396
|
+
}, w.binstring2buf = function(h) {
|
|
1397
|
+
for (var m = new u.Buf8(h.length), i = 0, f = m.length; i < f; i++) m[i] = h.charCodeAt(i);
|
|
1398
1398
|
return m;
|
|
1399
|
-
}, w.buf2string = function(
|
|
1400
|
-
var i, f, r, l, s = m ||
|
|
1401
|
-
for (i = f = 0; i < s; ) if ((r =
|
|
1399
|
+
}, w.buf2string = function(h, m) {
|
|
1400
|
+
var i, f, r, l, s = m || h.length, p = new Array(2 * s);
|
|
1401
|
+
for (i = f = 0; i < s; ) if ((r = h[i++]) < 128) p[f++] = r;
|
|
1402
1402
|
else if (4 < (l = a[r])) p[f++] = 65533, i += l - 1;
|
|
1403
1403
|
else {
|
|
1404
|
-
for (r &= l === 2 ? 31 : l === 3 ? 15 : 7; 1 < l && i < s; ) r = r << 6 | 63 &
|
|
1404
|
+
for (r &= l === 2 ? 31 : l === 3 ? 15 : 7; 1 < l && i < s; ) r = r << 6 | 63 & h[i++], l--;
|
|
1405
1405
|
1 < l ? p[f++] = 65533 : r < 65536 ? p[f++] = r : (r -= 65536, p[f++] = 55296 | r >> 10 & 1023, p[f++] = 56320 | 1023 & r);
|
|
1406
1406
|
}
|
|
1407
1407
|
return b(p, f);
|
|
1408
|
-
}, w.utf8border = function(
|
|
1408
|
+
}, w.utf8border = function(h, m) {
|
|
1409
1409
|
var i;
|
|
1410
|
-
for ((m = m ||
|
|
1411
|
-
return i < 0 || i === 0 ? m : i + a[
|
|
1410
|
+
for ((m = m || h.length) > h.length && (m = h.length), i = m - 1; 0 <= i && (192 & h[i]) == 128; ) i--;
|
|
1411
|
+
return i < 0 || i === 0 ? m : i + a[h[i]] > m ? i : m;
|
|
1412
1412
|
};
|
|
1413
1413
|
}, { "./common": 41 }], 43: [function(v, F, w) {
|
|
1414
1414
|
F.exports = function(u, d, n, a) {
|
|
1415
|
-
for (var _ = 65535 & u | 0, b = u >>> 16 & 65535 | 0,
|
|
1416
|
-
for (n -=
|
|
1415
|
+
for (var _ = 65535 & u | 0, b = u >>> 16 & 65535 | 0, h = 0; n !== 0; ) {
|
|
1416
|
+
for (n -= h = 2e3 < n ? 2e3 : n; b = b + (_ = _ + d[a++] | 0) | 0, --h; ) ;
|
|
1417
1417
|
_ %= 65521, b %= 65521;
|
|
1418
1418
|
}
|
|
1419
1419
|
return _ | b << 16 | 0;
|
|
@@ -1430,13 +1430,13 @@ function Ut() {
|
|
|
1430
1430
|
return n;
|
|
1431
1431
|
}();
|
|
1432
1432
|
F.exports = function(d, n, a, _) {
|
|
1433
|
-
var b = u,
|
|
1433
|
+
var b = u, h = _ + a;
|
|
1434
1434
|
d ^= -1;
|
|
1435
|
-
for (var m = _; m <
|
|
1435
|
+
for (var m = _; m < h; m++) d = d >>> 8 ^ b[255 & (d ^ n[m])];
|
|
1436
1436
|
return -1 ^ d;
|
|
1437
1437
|
};
|
|
1438
1438
|
}, {}], 46: [function(v, F, w) {
|
|
1439
|
-
var u, d = v("../utils/common"), n = v("./trees"), a = v("./adler32"), _ = v("./crc32"), b = v("./messages"),
|
|
1439
|
+
var u, d = v("../utils/common"), n = v("./trees"), a = v("./adler32"), _ = v("./crc32"), b = v("./messages"), h = 0, m = 4, i = 0, f = -2, r = -1, l = 4, s = 2, p = 8, y = 9, x = 286, E = 30, B = 19, T = 2 * x + 1, L = 15, O = 3, H = 258, Y = H + O + 1, g = 42, C = 113, e = 1, D = 2, q = 3, P = 4;
|
|
1440
1440
|
function Q(t, z) {
|
|
1441
1441
|
return t.msg = b[z], z;
|
|
1442
1442
|
}
|
|
@@ -1460,7 +1460,7 @@ function Ut() {
|
|
|
1460
1460
|
t.pending_buf[t.pending++] = z >>> 8 & 255, t.pending_buf[t.pending++] = 255 & z;
|
|
1461
1461
|
}
|
|
1462
1462
|
function W(t, z) {
|
|
1463
|
-
var R,
|
|
1463
|
+
var R, c, o = t.max_chain_length, k = t.strstart, N = t.prev_length, U = t.nice_match, A = t.strstart > t.w_size - Y ? t.strstart - (t.w_size - Y) : 0, M = t.window, K = t.w_mask, G = t.prev, V = t.strstart + H, rt = M[k + N - 1], tt = M[k + N];
|
|
1464
1464
|
t.prev_length >= t.good_match && (o >>= 2), U > t.lookahead && (U = t.lookahead);
|
|
1465
1465
|
do
|
|
1466
1466
|
if (M[(R = z) + N] === tt && M[R + N - 1] === rt && M[R] === M[k] && M[++R] === M[k + 1]) {
|
|
@@ -1468,8 +1468,8 @@ function Ut() {
|
|
|
1468
1468
|
do
|
|
1469
1469
|
;
|
|
1470
1470
|
while (M[++k] === M[++R] && M[++k] === M[++R] && M[++k] === M[++R] && M[++k] === M[++R] && M[++k] === M[++R] && M[++k] === M[++R] && M[++k] === M[++R] && M[++k] === M[++R] && k < V);
|
|
1471
|
-
if (
|
|
1472
|
-
if (t.match_start = z, U <= (N =
|
|
1471
|
+
if (c = H - (V - k), k = V - H, N < c) {
|
|
1472
|
+
if (t.match_start = z, U <= (N = c)) break;
|
|
1473
1473
|
rt = M[k + N - 1], tt = M[k + N];
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
@@ -1477,11 +1477,11 @@ function Ut() {
|
|
|
1477
1477
|
return N <= t.lookahead ? N : t.lookahead;
|
|
1478
1478
|
}
|
|
1479
1479
|
function nt(t) {
|
|
1480
|
-
var z, R,
|
|
1480
|
+
var z, R, c, o, k, N, U, A, M, K, G = t.w_size;
|
|
1481
1481
|
do {
|
|
1482
1482
|
if (o = t.window_size - t.lookahead - t.strstart, t.strstart >= G + (G - Y)) {
|
|
1483
|
-
for (d.arraySet(t.window, t.window, G, G, 0), t.match_start -= G, t.strstart -= G, t.block_start -= G, z = R = t.hash_size;
|
|
1484
|
-
for (z = R = G;
|
|
1483
|
+
for (d.arraySet(t.window, t.window, G, G, 0), t.match_start -= G, t.strstart -= G, t.block_start -= G, z = R = t.hash_size; c = t.head[--z], t.head[z] = G <= c ? c - G : 0, --R; ) ;
|
|
1484
|
+
for (z = R = G; c = t.prev[--z], t.prev[z] = G <= c ? c - G : 0, --R; ) ;
|
|
1485
1485
|
o += G;
|
|
1486
1486
|
}
|
|
1487
1487
|
if (t.strm.avail_in === 0) break;
|
|
@@ -1489,44 +1489,44 @@ function Ut() {
|
|
|
1489
1489
|
} while (t.lookahead < Y && t.strm.avail_in !== 0);
|
|
1490
1490
|
}
|
|
1491
1491
|
function ot(t, z) {
|
|
1492
|
-
for (var R,
|
|
1492
|
+
for (var R, c; ; ) {
|
|
1493
1493
|
if (t.lookahead < Y) {
|
|
1494
|
-
if (nt(t), t.lookahead < Y && z ===
|
|
1494
|
+
if (nt(t), t.lookahead < Y && z === h) return e;
|
|
1495
1495
|
if (t.lookahead === 0) break;
|
|
1496
1496
|
}
|
|
1497
|
-
if (R = 0, t.lookahead >= O && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + O - 1]) & t.hash_mask, R = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart), R !== 0 && t.strstart - R <= t.w_size - Y && (t.match_length = W(t, R)), t.match_length >= O) if (
|
|
1497
|
+
if (R = 0, t.lookahead >= O && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + O - 1]) & t.hash_mask, R = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart), R !== 0 && t.strstart - R <= t.w_size - Y && (t.match_length = W(t, R)), t.match_length >= O) if (c = n._tr_tally(t, t.strstart - t.match_start, t.match_length - O), t.lookahead -= t.match_length, t.match_length <= t.max_lazy_match && t.lookahead >= O) {
|
|
1498
1498
|
for (t.match_length--; t.strstart++, t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + O - 1]) & t.hash_mask, R = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart, --t.match_length != 0; ) ;
|
|
1499
1499
|
t.strstart++;
|
|
1500
1500
|
} else t.strstart += t.match_length, t.match_length = 0, t.ins_h = t.window[t.strstart], t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + 1]) & t.hash_mask;
|
|
1501
|
-
else
|
|
1502
|
-
if (
|
|
1501
|
+
else c = n._tr_tally(t, 0, t.window[t.strstart]), t.lookahead--, t.strstart++;
|
|
1502
|
+
if (c && (S(t, !1), t.strm.avail_out === 0)) return e;
|
|
1503
1503
|
}
|
|
1504
1504
|
return t.insert = t.strstart < O - 1 ? t.strstart : O - 1, z === m ? (S(t, !0), t.strm.avail_out === 0 ? q : P) : t.last_lit && (S(t, !1), t.strm.avail_out === 0) ? e : D;
|
|
1505
1505
|
}
|
|
1506
1506
|
function $(t, z) {
|
|
1507
|
-
for (var R,
|
|
1507
|
+
for (var R, c, o; ; ) {
|
|
1508
1508
|
if (t.lookahead < Y) {
|
|
1509
|
-
if (nt(t), t.lookahead < Y && z ===
|
|
1509
|
+
if (nt(t), t.lookahead < Y && z === h) return e;
|
|
1510
1510
|
if (t.lookahead === 0) break;
|
|
1511
1511
|
}
|
|
1512
1512
|
if (R = 0, t.lookahead >= O && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + O - 1]) & t.hash_mask, R = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart), t.prev_length = t.match_length, t.prev_match = t.match_start, t.match_length = O - 1, R !== 0 && t.prev_length < t.max_lazy_match && t.strstart - R <= t.w_size - Y && (t.match_length = W(t, R), t.match_length <= 5 && (t.strategy === 1 || t.match_length === O && 4096 < t.strstart - t.match_start) && (t.match_length = O - 1)), t.prev_length >= O && t.match_length <= t.prev_length) {
|
|
1513
|
-
for (o = t.strstart + t.lookahead - O,
|
|
1514
|
-
if (t.match_available = 0, t.match_length = O - 1, t.strstart++,
|
|
1513
|
+
for (o = t.strstart + t.lookahead - O, c = n._tr_tally(t, t.strstart - 1 - t.prev_match, t.prev_length - O), t.lookahead -= t.prev_length - 1, t.prev_length -= 2; ++t.strstart <= o && (t.ins_h = (t.ins_h << t.hash_shift ^ t.window[t.strstart + O - 1]) & t.hash_mask, R = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h], t.head[t.ins_h] = t.strstart), --t.prev_length != 0; ) ;
|
|
1514
|
+
if (t.match_available = 0, t.match_length = O - 1, t.strstart++, c && (S(t, !1), t.strm.avail_out === 0)) return e;
|
|
1515
1515
|
} else if (t.match_available) {
|
|
1516
|
-
if ((
|
|
1516
|
+
if ((c = n._tr_tally(t, 0, t.window[t.strstart - 1])) && S(t, !1), t.strstart++, t.lookahead--, t.strm.avail_out === 0) return e;
|
|
1517
1517
|
} else t.match_available = 1, t.strstart++, t.lookahead--;
|
|
1518
1518
|
}
|
|
1519
|
-
return t.match_available && (
|
|
1519
|
+
return t.match_available && (c = n._tr_tally(t, 0, t.window[t.strstart - 1]), t.match_available = 0), t.insert = t.strstart < O - 1 ? t.strstart : O - 1, z === m ? (S(t, !0), t.strm.avail_out === 0 ? q : P) : t.last_lit && (S(t, !1), t.strm.avail_out === 0) ? e : D;
|
|
1520
1520
|
}
|
|
1521
|
-
function et(t, z, R,
|
|
1522
|
-
this.good_length = t, this.max_lazy = z, this.nice_length = R, this.max_chain =
|
|
1521
|
+
function et(t, z, R, c, o) {
|
|
1522
|
+
this.good_length = t, this.max_lazy = z, this.nice_length = R, this.max_chain = c, this.func = o;
|
|
1523
1523
|
}
|
|
1524
1524
|
function st() {
|
|
1525
1525
|
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = p, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new d.Buf16(2 * T), this.dyn_dtree = new d.Buf16(2 * (2 * E + 1)), this.bl_tree = new d.Buf16(2 * (2 * B + 1)), J(this.dyn_ltree), J(this.dyn_dtree), J(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new d.Buf16(L + 1), this.heap = new d.Buf16(2 * x + 1), J(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new d.Buf16(2 * x + 1), J(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
|
|
1526
1526
|
}
|
|
1527
1527
|
function it(t) {
|
|
1528
1528
|
var z;
|
|
1529
|
-
return t && t.state ? (t.total_in = t.total_out = 0, t.data_type = s, (z = t.state).pending = 0, z.pending_out = 0, z.wrap < 0 && (z.wrap = -z.wrap), z.status = z.wrap ? g : C, t.adler = z.wrap === 2 ? 0 : 1, z.last_flush =
|
|
1529
|
+
return t && t.state ? (t.total_in = t.total_out = 0, t.data_type = s, (z = t.state).pending = 0, z.pending_out = 0, z.wrap < 0 && (z.wrap = -z.wrap), z.status = z.wrap ? g : C, t.adler = z.wrap === 2 ? 0 : 1, z.last_flush = h, n._tr_init(z), i) : Q(t, f);
|
|
1530
1530
|
}
|
|
1531
1531
|
function lt(t) {
|
|
1532
1532
|
var z = it(t);
|
|
@@ -1534,24 +1534,24 @@ function Ut() {
|
|
|
1534
1534
|
R.window_size = 2 * R.w_size, J(R.head), R.max_lazy_match = u[R.level].max_lazy, R.good_match = u[R.level].good_length, R.nice_match = u[R.level].nice_length, R.max_chain_length = u[R.level].max_chain, R.strstart = 0, R.block_start = 0, R.lookahead = 0, R.insert = 0, R.match_length = R.prev_length = O - 1, R.match_available = 0, R.ins_h = 0;
|
|
1535
1535
|
}(t.state), z;
|
|
1536
1536
|
}
|
|
1537
|
-
function dt(t, z, R,
|
|
1537
|
+
function dt(t, z, R, c, o, k) {
|
|
1538
1538
|
if (!t) return f;
|
|
1539
1539
|
var N = 1;
|
|
1540
|
-
if (z === r && (z = 6),
|
|
1541
|
-
|
|
1540
|
+
if (z === r && (z = 6), c < 0 ? (N = 0, c = -c) : 15 < c && (N = 2, c -= 16), o < 1 || y < o || R !== p || c < 8 || 15 < c || z < 0 || 9 < z || k < 0 || l < k) return Q(t, f);
|
|
1541
|
+
c === 8 && (c = 9);
|
|
1542
1542
|
var U = new st();
|
|
1543
|
-
return (t.state = U).strm = t, U.wrap = N, U.gzhead = null, U.w_bits =
|
|
1543
|
+
return (t.state = U).strm = t, U.wrap = N, U.gzhead = null, U.w_bits = c, U.w_size = 1 << U.w_bits, U.w_mask = U.w_size - 1, U.hash_bits = o + 7, U.hash_size = 1 << U.hash_bits, U.hash_mask = U.hash_size - 1, U.hash_shift = ~~((U.hash_bits + O - 1) / O), U.window = new d.Buf8(2 * U.w_size), U.head = new d.Buf16(U.hash_size), U.prev = new d.Buf16(U.w_size), U.lit_bufsize = 1 << o + 6, U.pending_buf_size = 4 * U.lit_bufsize, U.pending_buf = new d.Buf8(U.pending_buf_size), U.d_buf = 1 * U.lit_bufsize, U.l_buf = 3 * U.lit_bufsize, U.level = z, U.strategy = k, U.method = R, lt(t);
|
|
1544
1544
|
}
|
|
1545
1545
|
u = [new et(0, 0, 0, 0, function(t, z) {
|
|
1546
1546
|
var R = 65535;
|
|
1547
1547
|
for (R > t.pending_buf_size - 5 && (R = t.pending_buf_size - 5); ; ) {
|
|
1548
1548
|
if (t.lookahead <= 1) {
|
|
1549
|
-
if (nt(t), t.lookahead === 0 && z ===
|
|
1549
|
+
if (nt(t), t.lookahead === 0 && z === h) return e;
|
|
1550
1550
|
if (t.lookahead === 0) break;
|
|
1551
1551
|
}
|
|
1552
1552
|
t.strstart += t.lookahead, t.lookahead = 0;
|
|
1553
|
-
var
|
|
1554
|
-
if ((t.strstart === 0 || t.strstart >=
|
|
1553
|
+
var c = t.block_start + R;
|
|
1554
|
+
if ((t.strstart === 0 || t.strstart >= c) && (t.lookahead = t.strstart - c, t.strstart = c, S(t, !1), t.strm.avail_out === 0) || t.strstart - t.block_start >= t.w_size - Y && (S(t, !1), t.strm.avail_out === 0)) return e;
|
|
1555
1555
|
}
|
|
1556
1556
|
return t.insert = 0, z === m ? (S(t, !0), t.strm.avail_out === 0 ? q : P) : (t.strstart > t.block_start && (S(t, !1), t.strm.avail_out), e);
|
|
1557
1557
|
}), new et(4, 4, 8, 4, ot), new et(4, 5, 16, 8, ot), new et(4, 6, 32, 32, ot), new et(4, 4, 16, 16, $), new et(8, 16, 32, 32, $), new et(8, 16, 128, 128, $), new et(8, 32, 128, 256, $), new et(32, 128, 258, 1024, $), new et(32, 258, 258, 4096, $)], w.deflateInit = function(t, z) {
|
|
@@ -1559,58 +1559,58 @@ function Ut() {
|
|
|
1559
1559
|
}, w.deflateInit2 = dt, w.deflateReset = lt, w.deflateResetKeep = it, w.deflateSetHeader = function(t, z) {
|
|
1560
1560
|
return t && t.state ? t.state.wrap !== 2 ? f : (t.state.gzhead = z, i) : f;
|
|
1561
1561
|
}, w.deflate = function(t, z) {
|
|
1562
|
-
var R,
|
|
1562
|
+
var R, c, o, k;
|
|
1563
1563
|
if (!t || !t.state || 5 < z || z < 0) return t ? Q(t, f) : f;
|
|
1564
|
-
if (
|
|
1565
|
-
if (
|
|
1564
|
+
if (c = t.state, !t.output || !t.input && t.avail_in !== 0 || c.status === 666 && z !== m) return Q(t, t.avail_out === 0 ? -5 : f);
|
|
1565
|
+
if (c.strm = t, R = c.last_flush, c.last_flush = z, c.status === g) if (c.wrap === 2) t.adler = 0, X(c, 31), X(c, 139), X(c, 8), c.gzhead ? (X(c, (c.gzhead.text ? 1 : 0) + (c.gzhead.hcrc ? 2 : 0) + (c.gzhead.extra ? 4 : 0) + (c.gzhead.name ? 8 : 0) + (c.gzhead.comment ? 16 : 0)), X(c, 255 & c.gzhead.time), X(c, c.gzhead.time >> 8 & 255), X(c, c.gzhead.time >> 16 & 255), X(c, c.gzhead.time >> 24 & 255), X(c, c.level === 9 ? 2 : 2 <= c.strategy || c.level < 2 ? 4 : 0), X(c, 255 & c.gzhead.os), c.gzhead.extra && c.gzhead.extra.length && (X(c, 255 & c.gzhead.extra.length), X(c, c.gzhead.extra.length >> 8 & 255)), c.gzhead.hcrc && (t.adler = _(t.adler, c.pending_buf, c.pending, 0)), c.gzindex = 0, c.status = 69) : (X(c, 0), X(c, 0), X(c, 0), X(c, 0), X(c, 0), X(c, c.level === 9 ? 2 : 2 <= c.strategy || c.level < 2 ? 4 : 0), X(c, 3), c.status = C);
|
|
1566
1566
|
else {
|
|
1567
|
-
var N = p + (
|
|
1568
|
-
N |= (2 <=
|
|
1567
|
+
var N = p + (c.w_bits - 8 << 4) << 8;
|
|
1568
|
+
N |= (2 <= c.strategy || c.level < 2 ? 0 : c.level < 6 ? 1 : c.level === 6 ? 2 : 3) << 6, c.strstart !== 0 && (N |= 32), N += 31 - N % 31, c.status = C, Z(c, N), c.strstart !== 0 && (Z(c, t.adler >>> 16), Z(c, 65535 & t.adler)), t.adler = 1;
|
|
1569
1569
|
}
|
|
1570
|
-
if (
|
|
1571
|
-
for (o =
|
|
1572
|
-
|
|
1573
|
-
} else
|
|
1574
|
-
if (
|
|
1575
|
-
o =
|
|
1570
|
+
if (c.status === 69) if (c.gzhead.extra) {
|
|
1571
|
+
for (o = c.pending; c.gzindex < (65535 & c.gzhead.extra.length) && (c.pending !== c.pending_buf_size || (c.gzhead.hcrc && c.pending > o && (t.adler = _(t.adler, c.pending_buf, c.pending - o, o)), I(t), o = c.pending, c.pending !== c.pending_buf_size)); ) X(c, 255 & c.gzhead.extra[c.gzindex]), c.gzindex++;
|
|
1572
|
+
c.gzhead.hcrc && c.pending > o && (t.adler = _(t.adler, c.pending_buf, c.pending - o, o)), c.gzindex === c.gzhead.extra.length && (c.gzindex = 0, c.status = 73);
|
|
1573
|
+
} else c.status = 73;
|
|
1574
|
+
if (c.status === 73) if (c.gzhead.name) {
|
|
1575
|
+
o = c.pending;
|
|
1576
1576
|
do {
|
|
1577
|
-
if (
|
|
1577
|
+
if (c.pending === c.pending_buf_size && (c.gzhead.hcrc && c.pending > o && (t.adler = _(t.adler, c.pending_buf, c.pending - o, o)), I(t), o = c.pending, c.pending === c.pending_buf_size)) {
|
|
1578
1578
|
k = 1;
|
|
1579
1579
|
break;
|
|
1580
1580
|
}
|
|
1581
|
-
k =
|
|
1581
|
+
k = c.gzindex < c.gzhead.name.length ? 255 & c.gzhead.name.charCodeAt(c.gzindex++) : 0, X(c, k);
|
|
1582
1582
|
} while (k !== 0);
|
|
1583
|
-
|
|
1584
|
-
} else
|
|
1585
|
-
if (
|
|
1586
|
-
o =
|
|
1583
|
+
c.gzhead.hcrc && c.pending > o && (t.adler = _(t.adler, c.pending_buf, c.pending - o, o)), k === 0 && (c.gzindex = 0, c.status = 91);
|
|
1584
|
+
} else c.status = 91;
|
|
1585
|
+
if (c.status === 91) if (c.gzhead.comment) {
|
|
1586
|
+
o = c.pending;
|
|
1587
1587
|
do {
|
|
1588
|
-
if (
|
|
1588
|
+
if (c.pending === c.pending_buf_size && (c.gzhead.hcrc && c.pending > o && (t.adler = _(t.adler, c.pending_buf, c.pending - o, o)), I(t), o = c.pending, c.pending === c.pending_buf_size)) {
|
|
1589
1589
|
k = 1;
|
|
1590
1590
|
break;
|
|
1591
1591
|
}
|
|
1592
|
-
k =
|
|
1592
|
+
k = c.gzindex < c.gzhead.comment.length ? 255 & c.gzhead.comment.charCodeAt(c.gzindex++) : 0, X(c, k);
|
|
1593
1593
|
} while (k !== 0);
|
|
1594
|
-
|
|
1595
|
-
} else
|
|
1596
|
-
if (
|
|
1597
|
-
if (I(t), t.avail_out === 0) return
|
|
1594
|
+
c.gzhead.hcrc && c.pending > o && (t.adler = _(t.adler, c.pending_buf, c.pending - o, o)), k === 0 && (c.status = 103);
|
|
1595
|
+
} else c.status = 103;
|
|
1596
|
+
if (c.status === 103 && (c.gzhead.hcrc ? (c.pending + 2 > c.pending_buf_size && I(t), c.pending + 2 <= c.pending_buf_size && (X(c, 255 & t.adler), X(c, t.adler >> 8 & 255), t.adler = 0, c.status = C)) : c.status = C), c.pending !== 0) {
|
|
1597
|
+
if (I(t), t.avail_out === 0) return c.last_flush = -1, i;
|
|
1598
1598
|
} else if (t.avail_in === 0 && j(z) <= j(R) && z !== m) return Q(t, -5);
|
|
1599
|
-
if (
|
|
1600
|
-
if (t.avail_in !== 0 ||
|
|
1601
|
-
var U =
|
|
1599
|
+
if (c.status === 666 && t.avail_in !== 0) return Q(t, -5);
|
|
1600
|
+
if (t.avail_in !== 0 || c.lookahead !== 0 || z !== h && c.status !== 666) {
|
|
1601
|
+
var U = c.strategy === 2 ? function(A, M) {
|
|
1602
1602
|
for (var K; ; ) {
|
|
1603
1603
|
if (A.lookahead === 0 && (nt(A), A.lookahead === 0)) {
|
|
1604
|
-
if (M ===
|
|
1604
|
+
if (M === h) return e;
|
|
1605
1605
|
break;
|
|
1606
1606
|
}
|
|
1607
1607
|
if (A.match_length = 0, K = n._tr_tally(A, 0, A.window[A.strstart]), A.lookahead--, A.strstart++, K && (S(A, !1), A.strm.avail_out === 0)) return e;
|
|
1608
1608
|
}
|
|
1609
1609
|
return A.insert = 0, M === m ? (S(A, !0), A.strm.avail_out === 0 ? q : P) : A.last_lit && (S(A, !1), A.strm.avail_out === 0) ? e : D;
|
|
1610
|
-
}(
|
|
1610
|
+
}(c, z) : c.strategy === 3 ? function(A, M) {
|
|
1611
1611
|
for (var K, G, V, rt, tt = A.window; ; ) {
|
|
1612
1612
|
if (A.lookahead <= H) {
|
|
1613
|
-
if (nt(A), A.lookahead <= H && M ===
|
|
1613
|
+
if (nt(A), A.lookahead <= H && M === h) return e;
|
|
1614
1614
|
if (A.lookahead === 0) break;
|
|
1615
1615
|
}
|
|
1616
1616
|
if (A.match_length = 0, A.lookahead >= O && 0 < A.strstart && (G = tt[V = A.strstart - 1]) === tt[++V] && G === tt[++V] && G === tt[++V]) {
|
|
@@ -1623,20 +1623,20 @@ function Ut() {
|
|
|
1623
1623
|
if (A.match_length >= O ? (K = n._tr_tally(A, 1, A.match_length - O), A.lookahead -= A.match_length, A.strstart += A.match_length, A.match_length = 0) : (K = n._tr_tally(A, 0, A.window[A.strstart]), A.lookahead--, A.strstart++), K && (S(A, !1), A.strm.avail_out === 0)) return e;
|
|
1624
1624
|
}
|
|
1625
1625
|
return A.insert = 0, M === m ? (S(A, !0), A.strm.avail_out === 0 ? q : P) : A.last_lit && (S(A, !1), A.strm.avail_out === 0) ? e : D;
|
|
1626
|
-
}(
|
|
1627
|
-
if (U !== q && U !== P || (
|
|
1628
|
-
if (U === D && (z === 1 ? n._tr_align(
|
|
1626
|
+
}(c, z) : u[c.level].func(c, z);
|
|
1627
|
+
if (U !== q && U !== P || (c.status = 666), U === e || U === q) return t.avail_out === 0 && (c.last_flush = -1), i;
|
|
1628
|
+
if (U === D && (z === 1 ? n._tr_align(c) : z !== 5 && (n._tr_stored_block(c, 0, 0, !1), z === 3 && (J(c.head), c.lookahead === 0 && (c.strstart = 0, c.block_start = 0, c.insert = 0))), I(t), t.avail_out === 0)) return c.last_flush = -1, i;
|
|
1629
1629
|
}
|
|
1630
|
-
return z !== m ? i :
|
|
1630
|
+
return z !== m ? i : c.wrap <= 0 ? 1 : (c.wrap === 2 ? (X(c, 255 & t.adler), X(c, t.adler >> 8 & 255), X(c, t.adler >> 16 & 255), X(c, t.adler >> 24 & 255), X(c, 255 & t.total_in), X(c, t.total_in >> 8 & 255), X(c, t.total_in >> 16 & 255), X(c, t.total_in >> 24 & 255)) : (Z(c, t.adler >>> 16), Z(c, 65535 & t.adler)), I(t), 0 < c.wrap && (c.wrap = -c.wrap), c.pending !== 0 ? i : 1);
|
|
1631
1631
|
}, w.deflateEnd = function(t) {
|
|
1632
1632
|
var z;
|
|
1633
1633
|
return t && t.state ? (z = t.state.status) !== g && z !== 69 && z !== 73 && z !== 91 && z !== 103 && z !== C && z !== 666 ? Q(t, f) : (t.state = null, z === C ? Q(t, -3) : i) : f;
|
|
1634
1634
|
}, w.deflateSetDictionary = function(t, z) {
|
|
1635
|
-
var R,
|
|
1635
|
+
var R, c, o, k, N, U, A, M, K = z.length;
|
|
1636
1636
|
if (!t || !t.state || (k = (R = t.state).wrap) === 2 || k === 1 && R.status !== g || R.lookahead) return f;
|
|
1637
1637
|
for (k === 1 && (t.adler = a(t.adler, z, K, 0)), R.wrap = 0, K >= R.w_size && (k === 0 && (J(R.head), R.strstart = 0, R.block_start = 0, R.insert = 0), M = new d.Buf8(R.w_size), d.arraySet(M, z, K - R.w_size, R.w_size, 0), z = M, K = R.w_size), N = t.avail_in, U = t.next_in, A = t.input, t.avail_in = K, t.next_in = 0, t.input = z, nt(R); R.lookahead >= O; ) {
|
|
1638
|
-
for (
|
|
1639
|
-
R.strstart =
|
|
1638
|
+
for (c = R.strstart, o = R.lookahead - (O - 1); R.ins_h = (R.ins_h << R.hash_shift ^ R.window[c + O - 1]) & R.hash_mask, R.prev[c & R.w_mask] = R.head[R.ins_h], R.head[R.ins_h] = c, c++, --o; ) ;
|
|
1639
|
+
R.strstart = c, R.lookahead = O - 1, nt(R);
|
|
1640
1640
|
}
|
|
1641
1641
|
return R.strstart += R.lookahead, R.block_start = R.strstart, R.insert = R.lookahead, R.lookahead = 0, R.match_length = R.prev_length = O - 1, R.match_available = 0, t.next_in = U, t.input = A, t.avail_in = N, R.wrap = k, i;
|
|
1642
1642
|
}, w.deflateInfo = "pako deflate (from Nodeca project)";
|
|
@@ -1646,8 +1646,8 @@ function Ut() {
|
|
|
1646
1646
|
};
|
|
1647
1647
|
}, {}], 48: [function(v, F, w) {
|
|
1648
1648
|
F.exports = function(u, d) {
|
|
1649
|
-
var n, a, _, b,
|
|
1650
|
-
n = u.state, a = u.next_in, e = u.input, _ = a + (u.avail_in - 5), b = u.next_out, D = u.output,
|
|
1649
|
+
var n, a, _, b, h, m, i, f, r, l, s, p, y, x, E, B, T, L, O, H, Y, g, C, e, D;
|
|
1650
|
+
n = u.state, a = u.next_in, e = u.input, _ = a + (u.avail_in - 5), b = u.next_out, D = u.output, h = b - (d - u.avail_out), m = b + (u.avail_out - 257), i = n.dmax, f = n.wsize, r = n.whave, l = n.wnext, s = n.window, p = n.hold, y = n.bits, x = n.lencode, E = n.distcode, B = (1 << n.lenbits) - 1, T = (1 << n.distbits) - 1;
|
|
1651
1651
|
t: do {
|
|
1652
1652
|
y < 15 && (p += e[a++] << y, y += 8, p += e[a++] << y, y += 8), L = x[p & B];
|
|
1653
1653
|
e: for (; ; ) {
|
|
@@ -1679,7 +1679,7 @@ function Ut() {
|
|
|
1679
1679
|
u.msg = "invalid distance too far back", n.mode = 30;
|
|
1680
1680
|
break t;
|
|
1681
1681
|
}
|
|
1682
|
-
if (p >>>= O, y -= O, (O = b -
|
|
1682
|
+
if (p >>>= O, y -= O, (O = b - h) < Y) {
|
|
1683
1683
|
if (r < (O = Y - O) && n.sane) {
|
|
1684
1684
|
u.msg = "invalid distance too far back", n.mode = 30;
|
|
1685
1685
|
break t;
|
|
@@ -1716,7 +1716,7 @@ function Ut() {
|
|
|
1716
1716
|
a -= H = y >> 3, p &= (1 << (y -= H << 3)) - 1, u.next_in = a, u.next_out = b, u.avail_in = a < _ ? _ - a + 5 : 5 - (a - _), u.avail_out = b < m ? m - b + 257 : 257 - (b - m), n.hold = p, n.bits = y;
|
|
1717
1717
|
};
|
|
1718
1718
|
}, {}], 49: [function(v, F, w) {
|
|
1719
|
-
var u = v("../utils/common"), d = v("./adler32"), n = v("./crc32"), a = v("./inffast"), _ = v("./inftrees"), b = 1,
|
|
1719
|
+
var u = v("../utils/common"), d = v("./adler32"), n = v("./crc32"), a = v("./inffast"), _ = v("./inftrees"), b = 1, h = 2, m = 0, i = -2, f = 1, r = 852, l = 592;
|
|
1720
1720
|
function s(g) {
|
|
1721
1721
|
return (g >>> 24 & 255) + (g >>> 8 & 65280) + ((65280 & g) << 8) + ((255 & g) << 24);
|
|
1722
1722
|
}
|
|
@@ -1748,7 +1748,7 @@ function Ut() {
|
|
|
1748
1748
|
for (; C < 280; ) g.lens[C++] = 7;
|
|
1749
1749
|
for (; C < 288; ) g.lens[C++] = 8;
|
|
1750
1750
|
for (_(b, g.lens, 0, 288, T, 0, g.work, { bits: 9 }), C = 0; C < 32; ) g.lens[C++] = 5;
|
|
1751
|
-
_(
|
|
1751
|
+
_(h, g.lens, 0, 32, L, 0, g.work, { bits: 5 }), O = !1;
|
|
1752
1752
|
}
|
|
1753
1753
|
g.lencode = T, g.lenbits = 9, g.distcode = L, g.distbits = 5;
|
|
1754
1754
|
}
|
|
@@ -1759,7 +1759,7 @@ function Ut() {
|
|
|
1759
1759
|
w.inflateReset = x, w.inflateReset2 = E, w.inflateResetKeep = y, w.inflateInit = function(g) {
|
|
1760
1760
|
return B(g, 15);
|
|
1761
1761
|
}, w.inflateInit2 = B, w.inflate = function(g, C) {
|
|
1762
|
-
var e, D, q, P, Q, j, J, I, S, X, Z, W, nt, ot, $, et, st, it, lt, dt, t, z, R,
|
|
1762
|
+
var e, D, q, P, Q, j, J, I, S, X, Z, W, nt, ot, $, et, st, it, lt, dt, t, z, R, c, o = 0, k = new u.Buf8(4), N = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
1763
1763
|
if (!g || !g.state || !g.output || !g.input && g.avail_in !== 0) return i;
|
|
1764
1764
|
(e = g.state).mode === 12 && (e.mode = 13), Q = g.next_out, q = g.output, J = g.avail_out, P = g.next_in, D = g.input, j = g.avail_in, I = e.hold, S = e.bits, X = j, Z = J, z = m;
|
|
1765
1765
|
t: for (; ; ) switch (e.mode) {
|
|
@@ -1946,7 +1946,7 @@ function Ut() {
|
|
|
1946
1946
|
if (st < 16) I >>>= $, S -= $, e.lens[e.have++] = st;
|
|
1947
1947
|
else {
|
|
1948
1948
|
if (st === 16) {
|
|
1949
|
-
for (
|
|
1949
|
+
for (c = $ + 2; S < c; ) {
|
|
1950
1950
|
if (j === 0) break t;
|
|
1951
1951
|
j--, I += D[P++] << S, S += 8;
|
|
1952
1952
|
}
|
|
@@ -1956,13 +1956,13 @@ function Ut() {
|
|
|
1956
1956
|
}
|
|
1957
1957
|
t = e.lens[e.have - 1], W = 3 + (3 & I), I >>>= 2, S -= 2;
|
|
1958
1958
|
} else if (st === 17) {
|
|
1959
|
-
for (
|
|
1959
|
+
for (c = $ + 3; S < c; ) {
|
|
1960
1960
|
if (j === 0) break t;
|
|
1961
1961
|
j--, I += D[P++] << S, S += 8;
|
|
1962
1962
|
}
|
|
1963
1963
|
S -= $, t = 0, W = 3 + (7 & (I >>>= $)), I >>>= 3, S -= 3;
|
|
1964
1964
|
} else {
|
|
1965
|
-
for (
|
|
1965
|
+
for (c = $ + 7; S < c; ) {
|
|
1966
1966
|
if (j === 0) break t;
|
|
1967
1967
|
j--, I += D[P++] << S, S += 8;
|
|
1968
1968
|
}
|
|
@@ -1984,7 +1984,7 @@ function Ut() {
|
|
|
1984
1984
|
g.msg = "invalid literal/lengths set", e.mode = 30;
|
|
1985
1985
|
break;
|
|
1986
1986
|
}
|
|
1987
|
-
if (e.distbits = 6, e.distcode = e.distdyn, R = { bits: e.distbits }, z = _(
|
|
1987
|
+
if (e.distbits = 6, e.distcode = e.distdyn, R = { bits: e.distbits }, z = _(h, e.lens, e.nlen, e.ndist, e.distcode, 0, e.work, R), e.distbits = R.bits, z) {
|
|
1988
1988
|
g.msg = "invalid distances set", e.mode = 30;
|
|
1989
1989
|
break;
|
|
1990
1990
|
}
|
|
@@ -2022,7 +2022,7 @@ function Ut() {
|
|
|
2022
2022
|
e.extra = 15 & et, e.mode = 22;
|
|
2023
2023
|
case 22:
|
|
2024
2024
|
if (e.extra) {
|
|
2025
|
-
for (
|
|
2025
|
+
for (c = e.extra; S < c; ) {
|
|
2026
2026
|
if (j === 0) break t;
|
|
2027
2027
|
j--, I += D[P++] << S, S += 8;
|
|
2028
2028
|
}
|
|
@@ -2048,7 +2048,7 @@ function Ut() {
|
|
|
2048
2048
|
e.offset = st, e.extra = 15 & et, e.mode = 24;
|
|
2049
2049
|
case 24:
|
|
2050
2050
|
if (e.extra) {
|
|
2051
|
-
for (
|
|
2051
|
+
for (c = e.extra; S < c; ) {
|
|
2052
2052
|
if (j === 0) break t;
|
|
2053
2053
|
j--, I += D[P++] << S, S += 8;
|
|
2054
2054
|
}
|
|
@@ -2127,24 +2127,24 @@ function Ut() {
|
|
|
2127
2127
|
}, w.inflateInfo = "pako inflate (from Nodeca project)";
|
|
2128
2128
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(v, F, w) {
|
|
2129
2129
|
var u = v("../utils/common"), d = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], n = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], a = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], _ = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
|
|
2130
|
-
F.exports = function(b,
|
|
2130
|
+
F.exports = function(b, h, m, i, f, r, l, s) {
|
|
2131
2131
|
var p, y, x, E, B, T, L, O, H, Y = s.bits, g = 0, C = 0, e = 0, D = 0, q = 0, P = 0, Q = 0, j = 0, J = 0, I = 0, S = null, X = 0, Z = new u.Buf16(16), W = new u.Buf16(16), nt = null, ot = 0;
|
|
2132
2132
|
for (g = 0; g <= 15; g++) Z[g] = 0;
|
|
2133
|
-
for (C = 0; C < i; C++) Z[
|
|
2133
|
+
for (C = 0; C < i; C++) Z[h[m + C]]++;
|
|
2134
2134
|
for (q = Y, D = 15; 1 <= D && Z[D] === 0; D--) ;
|
|
2135
2135
|
if (D < q && (q = D), D === 0) return f[r++] = 20971520, f[r++] = 20971520, s.bits = 1, 0;
|
|
2136
2136
|
for (e = 1; e < D && Z[e] === 0; e++) ;
|
|
2137
2137
|
for (q < e && (q = e), g = j = 1; g <= 15; g++) if (j <<= 1, (j -= Z[g]) < 0) return -1;
|
|
2138
2138
|
if (0 < j && (b === 0 || D !== 1)) return -1;
|
|
2139
2139
|
for (W[1] = 0, g = 1; g < 15; g++) W[g + 1] = W[g] + Z[g];
|
|
2140
|
-
for (C = 0; C < i; C++)
|
|
2140
|
+
for (C = 0; C < i; C++) h[m + C] !== 0 && (l[W[h[m + C]]++] = C);
|
|
2141
2141
|
if (T = b === 0 ? (S = nt = l, 19) : b === 1 ? (S = d, X -= 257, nt = n, ot -= 257, 256) : (S = a, nt = _, -1), g = e, B = r, Q = C = I = 0, x = -1, E = (J = 1 << (P = q)) - 1, b === 1 && 852 < J || b === 2 && 592 < J) return 1;
|
|
2142
2142
|
for (; ; ) {
|
|
2143
2143
|
for (L = g - Q, H = l[C] < T ? (O = 0, l[C]) : l[C] > T ? (O = nt[ot + l[C]], S[X + l[C]]) : (O = 96, 0), p = 1 << g - Q, e = y = 1 << P; f[B + (I >> Q) + (y -= p)] = L << 24 | O << 16 | H | 0, y !== 0; ) ;
|
|
2144
2144
|
for (p = 1 << g - 1; I & p; ) p >>= 1;
|
|
2145
2145
|
if (p !== 0 ? (I &= p - 1, I += p) : I = 0, C++, --Z[g] == 0) {
|
|
2146
2146
|
if (g === D) break;
|
|
2147
|
-
g =
|
|
2147
|
+
g = h[m + l[C]];
|
|
2148
2148
|
}
|
|
2149
2149
|
if (q < g && (I & E) !== x) {
|
|
2150
2150
|
for (Q === 0 && (Q = q), B += e, j = 1 << (P = g - Q); P + Q < D && !((j -= Z[P + Q]) <= 0); ) P++, j <<= 1;
|
|
@@ -2161,7 +2161,7 @@ function Ut() {
|
|
|
2161
2161
|
function a(o) {
|
|
2162
2162
|
for (var k = o.length; 0 <= --k; ) o[k] = 0;
|
|
2163
2163
|
}
|
|
2164
|
-
var _ = 0, b = 29,
|
|
2164
|
+
var _ = 0, b = 29, h = 256, m = h + 1 + b, i = 30, f = 19, r = 2 * m + 1, l = 15, s = 16, p = 7, y = 256, x = 16, E = 17, B = 18, T = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0], L = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13], O = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7], H = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15], Y = new Array(2 * (m + 2));
|
|
2165
2165
|
a(Y);
|
|
2166
2166
|
var g = new Array(2 * i);
|
|
2167
2167
|
a(g);
|
|
@@ -2222,7 +2222,7 @@ function Ut() {
|
|
|
2222
2222
|
}
|
|
2223
2223
|
function lt(o, k, N) {
|
|
2224
2224
|
var U, A, M, K, G = 0;
|
|
2225
|
-
if (o.last_lit !== 0) for (; U = o.pending_buf[o.d_buf + 2 * G] << 8 | o.pending_buf[o.d_buf + 2 * G + 1], A = o.pending_buf[o.l_buf + G], G++, U === 0 ? W(o, A, k) : (W(o, (M = e[A]) +
|
|
2225
|
+
if (o.last_lit !== 0) for (; U = o.pending_buf[o.d_buf + 2 * G] << 8 | o.pending_buf[o.d_buf + 2 * G + 1], A = o.pending_buf[o.l_buf + G], G++, U === 0 ? W(o, A, k) : (W(o, (M = e[A]) + h + 1, k), (K = T[M]) !== 0 && Z(o, A -= D[M], K), W(o, M = S(--U), N), (K = L[M]) !== 0 && Z(o, U -= j[M], K)), G < o.last_lit; ) ;
|
|
2226
2226
|
W(o, y, k);
|
|
2227
2227
|
}
|
|
2228
2228
|
function dt(o, k) {
|
|
@@ -2232,15 +2232,15 @@ function Ut() {
|
|
|
2232
2232
|
for (k.max_code = rt, N = o.heap_len >> 1; 1 <= N; N--) it(o, M, N);
|
|
2233
2233
|
for (A = V; N = o.heap[1], o.heap[1] = o.heap[o.heap_len--], it(o, M, 1), U = o.heap[1], o.heap[--o.heap_max] = N, o.heap[--o.heap_max] = U, M[2 * A] = M[2 * N] + M[2 * U], o.depth[A] = (o.depth[N] >= o.depth[U] ? o.depth[N] : o.depth[U]) + 1, M[2 * N + 1] = M[2 * U + 1] = A, o.heap[1] = A++, it(o, M, 1), 2 <= o.heap_len; ) ;
|
|
2234
2234
|
o.heap[--o.heap_max] = o.heap[1], function(tt, ut) {
|
|
2235
|
-
var pt,
|
|
2235
|
+
var pt, ct, _t, at, vt, Et, ht = ut.dyn_tree, At = ut.max_code, Tt = ut.stat_desc.static_tree, Ct = ut.stat_desc.has_stree, zt = ut.stat_desc.extra_bits, St = ut.stat_desc.extra_base, mt = ut.stat_desc.max_length, bt = 0;
|
|
2236
2236
|
for (at = 0; at <= l; at++) tt.bl_count[at] = 0;
|
|
2237
|
-
for (
|
|
2237
|
+
for (ht[2 * tt.heap[tt.heap_max] + 1] = 0, pt = tt.heap_max + 1; pt < r; pt++) mt < (at = ht[2 * ht[2 * (ct = tt.heap[pt]) + 1] + 1] + 1) && (at = mt, bt++), ht[2 * ct + 1] = at, At < ct || (tt.bl_count[at]++, vt = 0, St <= ct && (vt = zt[ct - St]), Et = ht[2 * ct], tt.opt_len += Et * (at + vt), Ct && (tt.static_len += Et * (Tt[2 * ct + 1] + vt)));
|
|
2238
2238
|
if (bt !== 0) {
|
|
2239
2239
|
do {
|
|
2240
2240
|
for (at = mt - 1; tt.bl_count[at] === 0; ) at--;
|
|
2241
2241
|
tt.bl_count[at]--, tt.bl_count[at + 1] += 2, tt.bl_count[mt]--, bt -= 2;
|
|
2242
2242
|
} while (0 < bt);
|
|
2243
|
-
for (at = mt; at !== 0; at--) for (
|
|
2243
|
+
for (at = mt; at !== 0; at--) for (ct = tt.bl_count[at]; ct !== 0; ) At < (_t = tt.heap[--pt]) || (ht[2 * _t + 1] !== at && (tt.opt_len += (at - ht[2 * _t + 1]) * ht[2 * _t], ht[2 * _t + 1] = at), ct--);
|
|
2244
2244
|
}
|
|
2245
2245
|
}(o, k), ot(M, rt, o.bl_count);
|
|
2246
2246
|
}
|
|
@@ -2258,7 +2258,7 @@ function Ut() {
|
|
|
2258
2258
|
}
|
|
2259
2259
|
a(j);
|
|
2260
2260
|
var R = !1;
|
|
2261
|
-
function
|
|
2261
|
+
function c(o, k, N, U) {
|
|
2262
2262
|
Z(o, (_ << 1) + (U ? 1 : 0), 3), function(A, M, K, G) {
|
|
2263
2263
|
et(A), X(A, K), X(A, ~K), u.arraySet(A.pending_buf, A.window, M, K, A.pending), A.pending += K;
|
|
2264
2264
|
}(o, k, N);
|
|
@@ -2275,27 +2275,27 @@ function Ut() {
|
|
|
2275
2275
|
for (; k <= 279; ) Y[2 * k + 1] = 7, k++, K[7]++;
|
|
2276
2276
|
for (; k <= 287; ) Y[2 * k + 1] = 8, k++, K[8]++;
|
|
2277
2277
|
for (ot(Y, m + 1, K), k = 0; k < i; k++) g[2 * k + 1] = 5, g[2 * k] = nt(k, 5);
|
|
2278
|
-
q = new J(Y, T,
|
|
2278
|
+
q = new J(Y, T, h + 1, m, l), P = new J(g, L, 0, i, l), Q = new J(new Array(0), O, 0, f, p);
|
|
2279
2279
|
}(), R = !0), o.l_desc = new I(o.dyn_ltree, q), o.d_desc = new I(o.dyn_dtree, P), o.bl_desc = new I(o.bl_tree, Q), o.bi_buf = 0, o.bi_valid = 0, $(o);
|
|
2280
|
-
}, w._tr_stored_block =
|
|
2280
|
+
}, w._tr_stored_block = c, w._tr_flush_block = function(o, k, N, U) {
|
|
2281
2281
|
var A, M, K = 0;
|
|
2282
2282
|
0 < o.level ? (o.strm.data_type === 2 && (o.strm.data_type = function(G) {
|
|
2283
2283
|
var V, rt = 4093624447;
|
|
2284
2284
|
for (V = 0; V <= 31; V++, rt >>>= 1) if (1 & rt && G.dyn_ltree[2 * V] !== 0) return d;
|
|
2285
2285
|
if (G.dyn_ltree[18] !== 0 || G.dyn_ltree[20] !== 0 || G.dyn_ltree[26] !== 0) return n;
|
|
2286
|
-
for (V = 32; V <
|
|
2286
|
+
for (V = 32; V < h; V++) if (G.dyn_ltree[2 * V] !== 0) return n;
|
|
2287
2287
|
return d;
|
|
2288
2288
|
}(o)), dt(o, o.l_desc), dt(o, o.d_desc), K = function(G) {
|
|
2289
2289
|
var V;
|
|
2290
2290
|
for (t(G, G.dyn_ltree, G.l_desc.max_code), t(G, G.dyn_dtree, G.d_desc.max_code), dt(G, G.bl_desc), V = f - 1; 3 <= V && G.bl_tree[2 * H[V] + 1] === 0; V--) ;
|
|
2291
2291
|
return G.opt_len += 3 * (V + 1) + 5 + 5 + 4, V;
|
|
2292
|
-
}(o), A = o.opt_len + 3 + 7 >>> 3, (M = o.static_len + 3 + 7 >>> 3) <= A && (A = M)) : A = M = N + 5, N + 4 <= A && k !== -1 ?
|
|
2292
|
+
}(o), A = o.opt_len + 3 + 7 >>> 3, (M = o.static_len + 3 + 7 >>> 3) <= A && (A = M)) : A = M = N + 5, N + 4 <= A && k !== -1 ? c(o, k, N, U) : o.strategy === 4 || M === A ? (Z(o, 2 + (U ? 1 : 0), 3), lt(o, Y, g)) : (Z(o, 4 + (U ? 1 : 0), 3), function(G, V, rt, tt) {
|
|
2293
2293
|
var ut;
|
|
2294
2294
|
for (Z(G, V - 257, 5), Z(G, rt - 1, 5), Z(G, tt - 4, 4), ut = 0; ut < tt; ut++) Z(G, G.bl_tree[2 * H[ut] + 1], 3);
|
|
2295
2295
|
z(G, G.dyn_ltree, V - 1), z(G, G.dyn_dtree, rt - 1);
|
|
2296
2296
|
}(o, o.l_desc.max_code + 1, o.d_desc.max_code + 1, K + 1), lt(o, o.dyn_ltree, o.dyn_dtree)), $(o), U && et(o);
|
|
2297
2297
|
}, w._tr_tally = function(o, k, N) {
|
|
2298
|
-
return o.pending_buf[o.d_buf + 2 * o.last_lit] = k >>> 8 & 255, o.pending_buf[o.d_buf + 2 * o.last_lit + 1] = 255 & k, o.pending_buf[o.l_buf + o.last_lit] = 255 & N, o.last_lit++, k === 0 ? o.dyn_ltree[2 * N]++ : (o.matches++, k--, o.dyn_ltree[2 * (e[N] +
|
|
2298
|
+
return o.pending_buf[o.d_buf + 2 * o.last_lit] = k >>> 8 & 255, o.pending_buf[o.d_buf + 2 * o.last_lit + 1] = 255 & k, o.pending_buf[o.l_buf + o.last_lit] = 255 & N, o.last_lit++, k === 0 ? o.dyn_ltree[2 * N]++ : (o.matches++, k--, o.dyn_ltree[2 * (e[N] + h + 1)]++, o.dyn_dtree[2 * S(k)]++), o.last_lit === o.lit_bufsize - 1;
|
|
2299
2299
|
}, w._tr_align = function(o) {
|
|
2300
2300
|
Z(o, 2, 3), W(o, y, Y), function(k) {
|
|
2301
2301
|
k.bi_valid === 16 ? (X(k, k.bi_buf), k.bi_buf = 0, k.bi_valid = 0) : 8 <= k.bi_valid && (k.pending_buf[k.pending++] = 255 & k.bi_buf, k.bi_buf >>= 8, k.bi_valid -= 8);
|
|
@@ -2309,7 +2309,7 @@ function Ut() {
|
|
|
2309
2309
|
(function(u) {
|
|
2310
2310
|
(function(d, n) {
|
|
2311
2311
|
if (!d.setImmediate) {
|
|
2312
|
-
var a, _, b,
|
|
2312
|
+
var a, _, b, h, m = 1, i = {}, f = !1, r = d.document, l = Object.getPrototypeOf && Object.getPrototypeOf(d);
|
|
2313
2313
|
l = l && l.setTimeout ? l : d, a = {}.toString.call(d.process) === "[object process]" ? function(x) {
|
|
2314
2314
|
gt.nextTick(function() {
|
|
2315
2315
|
p(x);
|
|
@@ -2321,8 +2321,8 @@ function Ut() {
|
|
|
2321
2321
|
x = !1;
|
|
2322
2322
|
}, d.postMessage("", "*"), d.onmessage = E, x;
|
|
2323
2323
|
}
|
|
2324
|
-
}() ? (
|
|
2325
|
-
d.postMessage(
|
|
2324
|
+
}() ? (h = "setImmediate$" + Math.random() + "$", d.addEventListener ? d.addEventListener("message", y, !1) : d.attachEvent("onmessage", y), function(x) {
|
|
2325
|
+
d.postMessage(h + x, "*");
|
|
2326
2326
|
}) : d.MessageChannel ? ((b = new MessageChannel()).port1.onmessage = function(x) {
|
|
2327
2327
|
p(x.data);
|
|
2328
2328
|
}, function(x) {
|
|
@@ -2377,7 +2377,7 @@ function Ut() {
|
|
|
2377
2377
|
}
|
|
2378
2378
|
}
|
|
2379
2379
|
function y(x) {
|
|
2380
|
-
x.source === d && typeof x.data == "string" && x.data.indexOf(
|
|
2380
|
+
x.source === d && typeof x.data == "string" && x.data.indexOf(h) === 0 && p(+x.data.slice(h.length));
|
|
2381
2381
|
}
|
|
2382
2382
|
})(typeof self > "u" ? u === void 0 ? this : u : self);
|
|
2383
2383
|
}).call(this, typeof ft < "u" ? ft : typeof self < "u" ? self : typeof window < "u" ? window : {});
|