@feedmepos/mf-connect 0.1.0-beta.7 → 0.1.0-beta.71
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/Analytic-CnF_WeRZ.js +427 -0
- package/dist/{App-DalxIjTu.js → App-DJwSTuRa.js} +445 -420
- package/dist/AuditLogs-RarW2PHL.js +1886 -0
- package/dist/Bin-BaixTvHW.js +166 -0
- package/dist/{Broadcast-uMAvsC--.js → Broadcast-8DEAMhyM.js} +56 -54
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-JxbENan8.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DPXoOupI.js} +6 -8
- package/dist/Card-DRwLZ-Mn.js +896 -0
- package/dist/Collections-WsPM9v03.js +459 -0
- package/dist/{Credit-QlnatflM.js → Credit-DMxRdTzt.js} +36 -34
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js +108 -0
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js +58 -0
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-Bcj6o4Xi.js +2181 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BE07lc4M.js → EffectSheet.vue_vue_type_style_index_0_lang-CuJ8curT.js} +49 -49
- package/dist/{Experience-Czy41ifp.js → Experience-B0BV4Tc_.js} +32 -30
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-BrPLkFX8.js +118 -0
- package/dist/Game-Bu6kJJHx.js +278 -0
- package/dist/Index-CX-aPFQt.js +259 -0
- package/dist/Marketing-CiVFwl6S.js +20071 -0
- package/dist/Member-DZfTtt13.js +333 -0
- package/dist/MemberList-CscwsZnv.js +1598 -0
- package/dist/MemberTransactions-BWNs6bUm.js +45 -0
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CtM73bcN.js → MessageInput.vue_vue_type_script_setup_true_lang-BrbRudIU.js} +134 -122
- package/dist/Mission-CyJ-9Qfl.js +296 -0
- package/dist/Overview-DLyt6VId.js +1078 -0
- package/dist/{Point-By6ogYy_.js → Point-Cc_0-RKm.js} +55 -53
- package/dist/Promotion-KqA8nev2.js +289 -0
- package/dist/Queue-i8--zps9.js +249 -0
- package/dist/Record-CLUO1JVc.js +340 -0
- package/dist/Reward-BEdUKQ3M.js +442 -0
- package/dist/RewardGroup.vue_vue_type_script_setup_true_lang-B9vnSbWj.js +150 -0
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-B8zw1TmO.js +1727 -0
- package/dist/Segment-B8sYajZG.js +568 -0
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-CmmI5Vwl.js +181 -0
- package/dist/SendCollectionSheet.vue_vue_type_script_setup_true_lang-CIcXjbJG.js +186 -0
- package/dist/SendVoucherSheet.vue_vue_type_script_setup_true_lang-DY3FMuIf.js +147 -0
- package/dist/Setting-DT8dRb2A.js +1931 -0
- package/dist/Store-BhsPWRkR.js +1841 -0
- package/dist/StoreRewards-Cx2WDZ3p.js +423 -0
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-Byb7GOoh.js +1028 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-nEdCD6la.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-Cb-FGTO9.js} +1 -1
- package/dist/{Tier-DvAs0-yx.js → Tier-kQy1vGwo.js} +327 -318
- package/dist/{Title-B_Trr39o.js → Title-DKv8FqpX.js} +224 -209
- package/dist/{Transaction-DCJw-b3H.js → Transaction-CSLllOgl.js} +2 -2
- package/dist/UserRuleGroup.vue_vue_type_script_setup_true_lang-CvpBdNBn.js +130 -0
- package/dist/Voucher-BP6fmSwu.js +354 -0
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-CxQEg_HW.js +419 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DXkhu8e9.js → ZodTextField.vue_vue_type_script_setup_true_lang-aurdXO2X.js} +1 -1
- package/dist/app-B3qgrQOd.js +7079 -0
- package/dist/app-s3iL79De.js +33357 -0
- package/dist/app.js +1 -1
- package/dist/business-DG2w8U-i.js +79 -0
- package/dist/campaign-BP6Rz-AH.js +1810 -0
- package/dist/{campaign--0_yMbMV.js → campaign-WPRZ4BRF.js} +2 -2
- package/dist/campaign.enum-CoqrWNTZ.js +20 -0
- package/dist/campaign.fn-BRPigTOA.js +758 -0
- package/dist/collectible.enum-Dy4sxF43.js +19 -0
- package/dist/{collection.fn-3TwPe7aF.js → collection.fn-DGnLyYgV.js} +2 -2
- package/dist/dto-xZ9I6-Jr.js +214 -0
- package/dist/{effect-BeR0LK61.js → effect-C0XoYTus.js} +33 -16
- package/dist/email-addresses-CJ87c7W1.js +705 -0
- package/dist/{export-xeLLhqvh.js → export-qlV-AbEl.js} +5 -5
- package/dist/{helper-B5iqfKh8.js → helper-DzYe8aNx.js} +1 -1
- package/dist/{index-BOdtpNkP.js → index-4vdSri7m.js} +266 -173
- package/dist/{index-CU_d8jjU.js → index-BfSj7cUl.js} +1 -1
- package/dist/index-Bj0ULpXi.js +29556 -0
- package/dist/index-BnZ4yaMH.js +115 -0
- package/dist/index-Bo5DJXxs.js +54 -0
- package/dist/{index-Ct_wR519.js → index-BuvJH6SU.js} +24 -21
- package/dist/index-C2GEs8di.js +32 -0
- package/dist/{index-CyKZ-SsN.js → index-CJuOTcCE.js} +1 -1
- package/dist/index-CsaQJMAR.js +66 -0
- package/dist/{index-DP-dGMJC.js → index-DReysUPw.js} +2230 -871
- package/dist/{index-CAn5heDe.js → index-DgCjRb3o.js} +48 -4
- package/dist/index-IwITtvVu.js +56 -0
- package/dist/{index-Bh-uaaBG.js → index-n3wiQlbk.js} +1506 -1480
- package/dist/index-vh86FiIQ.js +10 -0
- package/dist/{index.esm2017-5jeDA5Zo.js → index.esm2017-CkJhTmme.js} +154 -154
- package/dist/loading-DwJdwl4G.js +71 -0
- package/dist/{membership-D0nqqWNZ.js → membership-DvPK3h8f.js} +54 -46
- package/dist/money-C_WIbr_x.js +15 -0
- package/dist/number-ZeVoGhzP.js +12 -0
- package/dist/objectid-8lkX6otO.js +145 -0
- package/dist/{loading-C-JDVajU.js → plugins-D20keyDW.js} +2990 -3062
- package/dist/remy-vue-client-Cpppk9h-.js +1693 -0
- package/dist/reward-CqnMEq_w.js +36 -0
- package/dist/{rule-Dn_GgBCe.js → rule-D7htGgWz.js} +185 -178
- package/dist/{rule-builder-BXt29Es4.js → rule-builder-BbJpYQ0n.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{template-D2Oi3dxP.js → template-BWQCVHm7.js} +5 -5
- package/dist/trigger-DMuv0_O7.js +144 -0
- package/dist/user-C_v2C0qN.js +54 -0
- package/dist/vue-i18n-N8_TEEd0.js +2365 -0
- package/dist/{xlsx-CCRCidY2.js → xlsx-CsPDNSTo.js} +1 -1
- package/package.json +11 -7
- package/dist/Analytic-BMpS6jWb.js +0 -622
- package/dist/Card-DV8-g69L.js +0 -825
- package/dist/Collections-DRafEHT1.js +0 -453
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-TDoMehSB.js +0 -2813
- package/dist/Game-CD3zSitz.js +0 -255
- package/dist/Marketing-NNes8z6Q.js +0 -316
- package/dist/Member-CTqBgYuV.js +0 -69
- package/dist/MemberList-B99tS5ce.js +0 -1733
- package/dist/MemberTransactions-D1YCXPOg.js +0 -38
- package/dist/Mission-XbBVKBiE.js +0 -261
- package/dist/Promotion-DKcBr-RI.js +0 -247
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-D1ESqEFO.js +0 -1753
- package/dist/Segment-B8cszL-F.js +0 -437
- package/dist/Setting-aZYABlMW.js +0 -1901
- package/dist/Store-Bx2tyJwe.js +0 -1511
- package/dist/StoreRewards-DTp9G6gw.js +0 -401
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-B2W7ly5Z.js +0 -890
- package/dist/Voucher-jqv3ji90.js +0 -490
- package/dist/app-WlcUVbFb.js +0 -5764
- package/dist/app-_w0hjM7u.js +0 -53428
- package/dist/business-BC4-i1cU.js +0 -78
- package/dist/dto-Ns2dLn1B.js +0 -2770
- package/dist/index-BWb9vRCi.js +0 -29193
- package/dist/index-CpU9aqyW.js +0 -206
- package/dist/index-CqO_ZvtD.js +0 -99
- package/dist/index-CuvNtC_M.js +0 -61
- package/dist/index-DsNsA2uX.js +0 -298
- package/dist/index-WAMr3npT.js +0 -762
- package/dist/money-hdbrblud.js +0 -15
- package/dist/number-CRWGOZaW.js +0 -12
- package/dist/user-Bm4KttFq.js +0 -37
- package/dist/vue-i18n-Dud8fvmw.js +0 -2365
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Y = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_0dcd8967-b0c4-4606-b434-2b43fc7d11e1", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.7 npm/? node/v20.18.3 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.33", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_0dcd8967-b0c4-4606-b434-2b43fc7d11e1", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.3/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-8.13", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.0.13004108", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.12.5", npm_package_dependencies_fabric: "^6.4.2", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "725", npm_package_dependencies__feedmepos_ui_library: "1.3.5", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250302.1.0", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.6/x64", JOURNAL_STREAM: "8:6519", GITHUB_WORKFLOW: "Publish mf-connect - dev", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "13719916749", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "0226f48c6434dbd34ab82245f44f620490ae31f8", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] publish-mf-connect.yml@refs/heads/dev", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.7/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.7/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.7/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.3/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_5ba1a668-5fe9-4a57-ad62-8d74abd6df6f", INVOCATION_ID: "0daf68918c514950b9a03c58f45f8e34", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.3/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "63", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.18", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 94", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/marketing-services", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "^2.10.6", npm_lifecycle_script: "vite build --mode fmmf", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.7/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.7/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.7/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.7/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.7/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.7/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.1.0-beta.7", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "0226f48c6434dbd34ab82245f44f620490ae31f8", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_0dcd8967-b0c4-4606-b434-2b43fc7d11e1", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.7/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", 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_0dcd8967-b0c4-4606-b434-2b43fc7d11e1", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", npm_package_pnpm_overrides__feedmepos_mf_common: "1.15.0-beta.6", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_0dcd8967-b0c4-4606-b434-2b43fc7d11e1", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account" } };
|
|
1
|
+
var Y = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_7915135c-4c72-411f-b62e-a9beae73547b", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.41", DOTNET_NOLOGO: "1", npm_package_dependencies__feedmepos_remy_vue_client: "0.2.0-beta.14", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.9 npm/? node/v20.19.3 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.33", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_7915135c-4c72-411f-b62e-a9beae73547b", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.4", npm_node_execpath: "/opt/hostedtoolcache/node/20.19.3/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-8.14.3", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/28.2.13676358", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.12.5", npm_package_dependencies_fabric: "^5.5.1", npm_package_dependencies_ua_parser_js: "^2.0.3", npm_package_dependencies_zod_i18n_map: "2.27.0", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", npm_package_devDependencies__types_file_saver: "^2.0.7", SYSTEMD_EXEC_PID: "1747", npm_package_dependencies__feedmepos_ui_library: "1.6.7", npm_package_dependencies_dayjs: "^1.11.12", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_dependencies_i18next: "24.2.1", npm_package_devDependencies_tailwindcss: "^3.4.6", npm_package_devDependencies_typescript: "^5.5.3", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.26", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20250710.1.0", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.8", LOGNAME: "runner", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.12/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.10/x64", JOURNAL_STREAM: "9:10208", GITHUB_WORKFLOW: "[CD:dev] connect-portal (mf-connect)", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/hosted-compute-agent.service/memory.pressure", GOROOT_1_24_X64: "/opt/hostedtoolcache/go/1.24.4/x64", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.157.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", GITHUB_RUN_ID: "16461373924", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.7", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2f43f4fd910a616135763113932cd8016fb29356", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[DEV] deploy-mf-connect.yml@refs/heads/dev", GITHUB_ACTION_REPOSITORY: "", ENABLE_RUNNER_TRACING: "true", npm_package_dependencies_axios: "^1.7.2", 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/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.9/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.19.3/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_3953c326-e116-4087-b08a-20f472b66be6", INVOCATION_ID: "cfda76079c2940e49ccf32c010f56b6a", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.19.3/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", npm_package_dependencies_file_saver: "^2.0.5", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "24", GITHUB_TRIGGERING_ACTOR: "sharon001104", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.20", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 1000008016", XDG_CONFIG_HOME: "/home/runner/.config", GITHUB_REF_NAME: "dev", GITHUB_REPOSITORY: "feedmepos/marketing-services", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "^2.14.19", npm_lifecycle_script: "vite build --mode fmmf", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", SHELL: "/bin/bash", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/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", npm_package_version: "0.1.0-beta.71", npm_lifecycle_event: "build:mf:dev", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", npm_package_dependencies_vue_i18n: "10.0.5", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "2f43f4fd910a616135763113932cd8016fb29356", GITHUB_RUN_ATTEMPT: "1", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.4.0", GITHUB_REF: "refs/heads/dev", GITHUB_ACTOR: "sharon001104", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.4", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_7915135c-4c72-411f-b62e-a9beae73547b", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "207501026", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", 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: "push", 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_7915135c-4c72-411f-b62e-a9beae73547b", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.39", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", npm_package_pnpm_overrides__feedmepos_mf_common: "1.15.0-beta.6", npm_package_dependencies__feedmepos_menu: "1.0.34", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_7915135c-4c72-411f-b62e-a9beae73547b", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4", PAYMENT_PORTAL_URL: "https://portal.feedmedev.cc/payment/payout-account", LICENSE_PORTAL_URL: "https://license.feedmedev.cc/" } };
|
|
2
2
|
/**
|
|
3
3
|
* @license
|
|
4
4
|
* Copyright 2017 Google LLC
|
|
@@ -159,8 +159,8 @@ const Ue = function(t) {
|
|
|
159
159
|
if (r.push(_), u !== 64) {
|
|
160
160
|
const m = a << 4 & 240 | u >> 2;
|
|
161
161
|
if (r.push(m), p !== 64) {
|
|
162
|
-
const
|
|
163
|
-
r.push(
|
|
162
|
+
const I = u << 6 & 192 | p;
|
|
163
|
+
r.push(I);
|
|
164
164
|
}
|
|
165
165
|
}
|
|
166
166
|
}
|
|
@@ -449,17 +449,17 @@ class Me {
|
|
|
449
449
|
this.service = e, this.serviceName = n, this.errors = r;
|
|
450
450
|
}
|
|
451
451
|
create(e, ...n) {
|
|
452
|
-
const r = n[0] || {}, s = `${this.service}/${e}`, o = this.errors[e], i = o ?
|
|
452
|
+
const r = n[0] || {}, s = `${this.service}/${e}`, o = this.errors[e], i = o ? vt(o, r) : "Error", a = `${this.serviceName}: ${i} (${s}).`;
|
|
453
453
|
return new B(s, a, r);
|
|
454
454
|
}
|
|
455
455
|
}
|
|
456
|
-
function
|
|
457
|
-
return t.replace(
|
|
456
|
+
function vt(t, e) {
|
|
457
|
+
return t.replace(It, (n, r) => {
|
|
458
458
|
const s = e[r];
|
|
459
459
|
return s != null ? String(s) : `<${r}?>`;
|
|
460
460
|
});
|
|
461
461
|
}
|
|
462
|
-
const
|
|
462
|
+
const It = /\{\$([^}]+)}/g;
|
|
463
463
|
function Zr(t) {
|
|
464
464
|
for (const e in t)
|
|
465
465
|
if (Object.prototype.hasOwnProperty.call(t, e))
|
|
@@ -513,10 +513,10 @@ function Qr(t) {
|
|
|
513
513
|
return e.length ? "&" + e.join("&") : "";
|
|
514
514
|
}
|
|
515
515
|
function es(t, e) {
|
|
516
|
-
const n = new
|
|
516
|
+
const n = new Rt(t, e);
|
|
517
517
|
return n.subscribe.bind(n);
|
|
518
518
|
}
|
|
519
|
-
class
|
|
519
|
+
class Rt {
|
|
520
520
|
/**
|
|
521
521
|
* @param executor Function which can make calls to a single Observer
|
|
522
522
|
* as a proxy.
|
|
@@ -554,7 +554,7 @@ class vt {
|
|
|
554
554
|
let s;
|
|
555
555
|
if (e === void 0 && n === void 0 && r === void 0)
|
|
556
556
|
throw new Error("Missing Observer.");
|
|
557
|
-
|
|
557
|
+
Tt(e, [
|
|
558
558
|
"next",
|
|
559
559
|
"error",
|
|
560
560
|
"complete"
|
|
@@ -600,7 +600,7 @@ class vt {
|
|
|
600
600
|
}));
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Tt(t, e) {
|
|
604
604
|
if (typeof t != "object" || t === null)
|
|
605
605
|
return !1;
|
|
606
606
|
for (const n of e)
|
|
@@ -685,7 +685,7 @@ const D = "[DEFAULT]";
|
|
|
685
685
|
* See the License for the specific language governing permissions and
|
|
686
686
|
* limitations under the License.
|
|
687
687
|
*/
|
|
688
|
-
class
|
|
688
|
+
class yt {
|
|
689
689
|
constructor(e, n) {
|
|
690
690
|
this.name = e, this.container = n, this.component = null, this.instances = /* @__PURE__ */ new Map(), this.instancesDeferred = /* @__PURE__ */ new Map(), this.instancesOptions = /* @__PURE__ */ new Map(), this.onInitCallbacks = /* @__PURE__ */ new Map();
|
|
691
691
|
}
|
|
@@ -823,7 +823,7 @@ class At {
|
|
|
823
823
|
getOrInitializeService({ instanceIdentifier: e, options: n = {} }) {
|
|
824
824
|
let r = this.instances.get(e);
|
|
825
825
|
if (!r && this.component && (r = this.component.instanceFactory(this.container, {
|
|
826
|
-
instanceIdentifier:
|
|
826
|
+
instanceIdentifier: At(e),
|
|
827
827
|
options: n
|
|
828
828
|
}), this.instances.set(e, r), this.instancesOptions.set(e, n), this.invokeOnInitCallbacks(r, e), this.component.onInstanceCreated))
|
|
829
829
|
try {
|
|
@@ -839,7 +839,7 @@ class At {
|
|
|
839
839
|
return !!this.component && this.component.instantiationMode !== "EXPLICIT";
|
|
840
840
|
}
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function At(t) {
|
|
843
843
|
return t === D ? void 0 : t;
|
|
844
844
|
}
|
|
845
845
|
function wt(t) {
|
|
@@ -893,7 +893,7 @@ class Ot {
|
|
|
893
893
|
getProvider(e) {
|
|
894
894
|
if (this.providers.has(e))
|
|
895
895
|
return this.providers.get(e);
|
|
896
|
-
const n = new
|
|
896
|
+
const n = new yt(e, this);
|
|
897
897
|
return this.providers.set(e, n), n;
|
|
898
898
|
}
|
|
899
899
|
getProviders() {
|
|
@@ -927,16 +927,16 @@ const Dt = {
|
|
|
927
927
|
warn: l.WARN,
|
|
928
928
|
error: l.ERROR,
|
|
929
929
|
silent: l.SILENT
|
|
930
|
-
},
|
|
930
|
+
}, kt = l.INFO, Nt = {
|
|
931
931
|
[l.DEBUG]: "log",
|
|
932
932
|
[l.VERBOSE]: "log",
|
|
933
933
|
[l.INFO]: "info",
|
|
934
934
|
[l.WARN]: "warn",
|
|
935
935
|
[l.ERROR]: "error"
|
|
936
|
-
},
|
|
936
|
+
}, St = (t, e, ...n) => {
|
|
937
937
|
if (e < t.logLevel)
|
|
938
938
|
return;
|
|
939
|
-
const r = (/* @__PURE__ */ new Date()).toISOString(), s =
|
|
939
|
+
const r = (/* @__PURE__ */ new Date()).toISOString(), s = Nt[e];
|
|
940
940
|
if (s)
|
|
941
941
|
console[s](`[${r}] ${t.name}:`, ...n);
|
|
942
942
|
else
|
|
@@ -950,7 +950,7 @@ class Ct {
|
|
|
950
950
|
* @param name The name that the logs will be associated with
|
|
951
951
|
*/
|
|
952
952
|
constructor(e) {
|
|
953
|
-
this.name = e, this._logLevel =
|
|
953
|
+
this.name = e, this._logLevel = kt, this._logHandler = St, this._userLogHandler = null;
|
|
954
954
|
}
|
|
955
955
|
get logLevel() {
|
|
956
956
|
return this._logLevel;
|
|
@@ -998,9 +998,9 @@ class Ct {
|
|
|
998
998
|
}
|
|
999
999
|
}
|
|
1000
1000
|
const Ut = (t, e) => e.some((n) => t instanceof n);
|
|
1001
|
-
let
|
|
1001
|
+
let ve, Ie;
|
|
1002
1002
|
function Bt() {
|
|
1003
|
-
return
|
|
1003
|
+
return ve || (ve = [
|
|
1004
1004
|
IDBDatabase,
|
|
1005
1005
|
IDBObjectStore,
|
|
1006
1006
|
IDBIndex,
|
|
@@ -1009,7 +1009,7 @@ function Bt() {
|
|
|
1009
1009
|
]);
|
|
1010
1010
|
}
|
|
1011
1011
|
function Pt() {
|
|
1012
|
-
return
|
|
1012
|
+
return Ie || (Ie = [
|
|
1013
1013
|
IDBCursor.prototype.advance,
|
|
1014
1014
|
IDBCursor.prototype.continue,
|
|
1015
1015
|
IDBCursor.prototype.continuePrimaryKey
|
|
@@ -1021,7 +1021,7 @@ function Lt(t) {
|
|
|
1021
1021
|
const s = () => {
|
|
1022
1022
|
t.removeEventListener("success", o), t.removeEventListener("error", i);
|
|
1023
1023
|
}, o = () => {
|
|
1024
|
-
n(
|
|
1024
|
+
n(A(t.result)), s();
|
|
1025
1025
|
}, i = () => {
|
|
1026
1026
|
r(t.error), s();
|
|
1027
1027
|
};
|
|
@@ -1057,7 +1057,7 @@ let ie = {
|
|
|
1057
1057
|
if (e === "store")
|
|
1058
1058
|
return n.objectStoreNames[1] ? void 0 : n.objectStore(n.objectStoreNames[0]);
|
|
1059
1059
|
}
|
|
1060
|
-
return
|
|
1060
|
+
return A(t[e]);
|
|
1061
1061
|
},
|
|
1062
1062
|
set(t, e, n) {
|
|
1063
1063
|
return t[e] = n, !0;
|
|
@@ -1072,17 +1072,17 @@ function Ht(t) {
|
|
|
1072
1072
|
function xt(t) {
|
|
1073
1073
|
return t === IDBDatabase.prototype.transaction && !("objectStoreNames" in IDBTransaction.prototype) ? function(e, ...n) {
|
|
1074
1074
|
const r = t.call(Q(this), e, ...n);
|
|
1075
|
-
return xe.set(r, e.sort ? e.sort() : [e]),
|
|
1075
|
+
return xe.set(r, e.sort ? e.sort() : [e]), A(r);
|
|
1076
1076
|
} : Pt().includes(t) ? function(...e) {
|
|
1077
|
-
return t.apply(Q(this), e),
|
|
1077
|
+
return t.apply(Q(this), e), A(He.get(this));
|
|
1078
1078
|
} : function(...e) {
|
|
1079
|
-
return
|
|
1079
|
+
return A(t.apply(Q(this), e));
|
|
1080
1080
|
};
|
|
1081
1081
|
}
|
|
1082
1082
|
function Ft(t) {
|
|
1083
1083
|
return typeof t == "function" ? xt(t) : (t instanceof IDBTransaction && Mt(t), Ut(t, Bt()) ? new Proxy(t, ie) : t);
|
|
1084
1084
|
}
|
|
1085
|
-
function
|
|
1085
|
+
function A(t) {
|
|
1086
1086
|
if (t instanceof IDBRequest)
|
|
1087
1087
|
return Lt(t);
|
|
1088
1088
|
if (Z.has(t))
|
|
@@ -1092,9 +1092,9 @@ function y(t) {
|
|
|
1092
1092
|
}
|
|
1093
1093
|
const Q = (t) => he.get(t);
|
|
1094
1094
|
function $t(t, e, { blocked: n, upgrade: r, blocking: s, terminated: o } = {}) {
|
|
1095
|
-
const i = indexedDB.open(t, e), a =
|
|
1095
|
+
const i = indexedDB.open(t, e), a = A(i);
|
|
1096
1096
|
return r && i.addEventListener("upgradeneeded", (c) => {
|
|
1097
|
-
r(
|
|
1097
|
+
r(A(i.result), c.oldVersion, c.newVersion, A(i.transaction), c);
|
|
1098
1098
|
}), n && i.addEventListener("blocked", (c) => n(
|
|
1099
1099
|
// Casting due to https://github.com/microsoft/TypeScript-DOM-lib-generator/pull/1405
|
|
1100
1100
|
c.oldVersion,
|
|
@@ -1106,7 +1106,7 @@ function $t(t, e, { blocked: n, upgrade: r, blocking: s, terminated: o } = {}) {
|
|
|
1106
1106
|
}), a;
|
|
1107
1107
|
}
|
|
1108
1108
|
const jt = ["get", "getKey", "getAll", "getAllKeys", "count"], Gt = ["put", "add", "delete", "clear"], ee = /* @__PURE__ */ new Map();
|
|
1109
|
-
function
|
|
1109
|
+
function Re(t, e) {
|
|
1110
1110
|
if (!(t instanceof IDBDatabase && !(e in t) && typeof e == "string"))
|
|
1111
1111
|
return;
|
|
1112
1112
|
if (ee.get(e))
|
|
@@ -1129,8 +1129,8 @@ function ve(t, e) {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
Ht((t) => ({
|
|
1131
1131
|
...t,
|
|
1132
|
-
get: (e, n, r) =>
|
|
1133
|
-
has: (e, n) => !!
|
|
1132
|
+
get: (e, n, r) => Re(e, n) || t.get(e, n, r),
|
|
1133
|
+
has: (e, n) => !!Re(e, n) || t.has(e, n)
|
|
1134
1134
|
}));
|
|
1135
1135
|
/**
|
|
1136
1136
|
* @license
|
|
@@ -1168,7 +1168,7 @@ function Wt(t) {
|
|
|
1168
1168
|
const e = t.getComponent();
|
|
1169
1169
|
return (e == null ? void 0 : e.type) === "VERSION";
|
|
1170
1170
|
}
|
|
1171
|
-
const ae = "@firebase/app",
|
|
1171
|
+
const ae = "@firebase/app", Te = "0.10.7";
|
|
1172
1172
|
/**
|
|
1173
1173
|
* @license
|
|
1174
1174
|
* Copyright 2019 Google LLC
|
|
@@ -1185,7 +1185,7 @@ const ae = "@firebase/app", Ie = "0.10.7";
|
|
|
1185
1185
|
* See the License for the specific language governing permissions and
|
|
1186
1186
|
* limitations under the License.
|
|
1187
1187
|
*/
|
|
1188
|
-
const
|
|
1188
|
+
const N = new Ct("@firebase/app"), zt = "@firebase/app-compat", Kt = "@firebase/analytics-compat", Xt = "@firebase/analytics", qt = "@firebase/app-check-compat", Yt = "@firebase/app-check", Jt = "@firebase/auth", Zt = "@firebase/auth-compat", Qt = "@firebase/database", en = "@firebase/database-compat", tn = "@firebase/functions", nn = "@firebase/functions-compat", rn = "@firebase/installations", sn = "@firebase/installations-compat", on = "@firebase/messaging", an = "@firebase/messaging-compat", cn = "@firebase/performance", un = "@firebase/performance-compat", ln = "@firebase/remote-config", dn = "@firebase/remote-config-compat", hn = "@firebase/storage", pn = "@firebase/storage-compat", _n = "@firebase/firestore", fn = "@firebase/vertexai-preview", mn = "@firebase/firestore-compat", gn = "firebase", bn = "10.12.4";
|
|
1189
1189
|
/**
|
|
1190
1190
|
* @license
|
|
1191
1191
|
* Copyright 2019 Google LLC
|
|
@@ -1247,26 +1247,26 @@ const ce = "[DEFAULT]", En = {
|
|
|
1247
1247
|
* See the License for the specific language governing permissions and
|
|
1248
1248
|
* limitations under the License.
|
|
1249
1249
|
*/
|
|
1250
|
-
const x = /* @__PURE__ */ new Map(),
|
|
1251
|
-
function
|
|
1250
|
+
const x = /* @__PURE__ */ new Map(), vn = /* @__PURE__ */ new Map(), ue = /* @__PURE__ */ new Map();
|
|
1251
|
+
function ye(t, e) {
|
|
1252
1252
|
try {
|
|
1253
1253
|
t.container.addComponent(e);
|
|
1254
1254
|
} catch (n) {
|
|
1255
|
-
|
|
1255
|
+
N.debug(`Component ${e.name} failed to register with FirebaseApp ${t.name}`, n);
|
|
1256
1256
|
}
|
|
1257
1257
|
}
|
|
1258
1258
|
function z(t) {
|
|
1259
1259
|
const e = t.name;
|
|
1260
1260
|
if (ue.has(e))
|
|
1261
|
-
return
|
|
1261
|
+
return N.debug(`There were multiple attempts to register component ${e}.`), !1;
|
|
1262
1262
|
ue.set(e, t);
|
|
1263
1263
|
for (const n of x.values())
|
|
1264
|
-
|
|
1265
|
-
for (const n of
|
|
1266
|
-
|
|
1264
|
+
ye(n, t);
|
|
1265
|
+
for (const n of vn.values())
|
|
1266
|
+
ye(n, t);
|
|
1267
1267
|
return !0;
|
|
1268
1268
|
}
|
|
1269
|
-
function
|
|
1269
|
+
function In(t, e) {
|
|
1270
1270
|
const n = t.container.getProvider("heartbeat").getImmediate({ optional: !0 });
|
|
1271
1271
|
return n && n.triggerHeartbeat(), t.container.getProvider(e);
|
|
1272
1272
|
}
|
|
@@ -1289,7 +1289,7 @@ function ts(t) {
|
|
|
1289
1289
|
* See the License for the specific language governing permissions and
|
|
1290
1290
|
* limitations under the License.
|
|
1291
1291
|
*/
|
|
1292
|
-
const
|
|
1292
|
+
const Rn = {
|
|
1293
1293
|
"no-app": "No Firebase App '{$appName}' has been created - call initializeApp() first",
|
|
1294
1294
|
"bad-app-name": "Illegal App name: '{$appName}'",
|
|
1295
1295
|
"duplicate-app": "Firebase App named '{$appName}' already exists with different options or config",
|
|
@@ -1304,7 +1304,7 @@ const vn = {
|
|
|
1304
1304
|
"idb-delete": "Error thrown when deleting from IndexedDB. Original error: {$originalErrorMessage}.",
|
|
1305
1305
|
"finalization-registry-not-supported": "FirebaseServerApp deleteOnDeref field defined but the JS runtime does not support FinalizationRegistry.",
|
|
1306
1306
|
"invalid-server-app-environment": "FirebaseServerApp is not for use in browser environments."
|
|
1307
|
-
}, w = new Me("app", "Firebase",
|
|
1307
|
+
}, w = new Me("app", "Firebase", Rn);
|
|
1308
1308
|
/**
|
|
1309
1309
|
* @license
|
|
1310
1310
|
* Copyright 2019 Google LLC
|
|
@@ -1321,7 +1321,7 @@ const vn = {
|
|
|
1321
1321
|
* See the License for the specific language governing permissions and
|
|
1322
1322
|
* limitations under the License.
|
|
1323
1323
|
*/
|
|
1324
|
-
class
|
|
1324
|
+
class Tn {
|
|
1325
1325
|
constructor(e, n, r) {
|
|
1326
1326
|
this._isDeleted = !1, this._options = Object.assign({}, e), this._config = Object.assign({}, n), this._name = n.name, this._automaticDataCollectionEnabled = n.automaticDataCollectionEnabled, this._container = r, this.container.addComponent(new H(
|
|
1327
1327
|
"app",
|
|
@@ -1379,8 +1379,8 @@ class In {
|
|
|
1379
1379
|
* See the License for the specific language governing permissions and
|
|
1380
1380
|
* limitations under the License.
|
|
1381
1381
|
*/
|
|
1382
|
-
const
|
|
1383
|
-
function
|
|
1382
|
+
const yn = bn;
|
|
1383
|
+
function An(t, e = {}) {
|
|
1384
1384
|
let n = t;
|
|
1385
1385
|
typeof e != "object" && (e = { name: e });
|
|
1386
1386
|
const r = Object.assign({ name: ce, automaticDataCollectionEnabled: !1 }, e), s = r.name;
|
|
@@ -1402,13 +1402,13 @@ function yn(t, e = {}) {
|
|
|
1402
1402
|
const i = new Ot(s);
|
|
1403
1403
|
for (const c of ue.values())
|
|
1404
1404
|
i.addComponent(c);
|
|
1405
|
-
const a = new
|
|
1405
|
+
const a = new Tn(n, r, i);
|
|
1406
1406
|
return x.set(s, a), a;
|
|
1407
1407
|
}
|
|
1408
1408
|
function wn(t = ce) {
|
|
1409
1409
|
const e = x.get(t);
|
|
1410
1410
|
if (!e && t === ce && Pe())
|
|
1411
|
-
return
|
|
1411
|
+
return An();
|
|
1412
1412
|
if (!e)
|
|
1413
1413
|
throw w.create("no-app", { appName: t });
|
|
1414
1414
|
return e;
|
|
@@ -1425,7 +1425,7 @@ function L(t, e, n) {
|
|
|
1425
1425
|
const a = [
|
|
1426
1426
|
`Unable to register library "${s}" with version "${e}":`
|
|
1427
1427
|
];
|
|
1428
|
-
o && a.push(`library name "${s}" contains illegal characters (whitespace or "/")`), o && i && a.push("and"), i && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`),
|
|
1428
|
+
o && a.push(`library name "${s}" contains illegal characters (whitespace or "/")`), o && i && a.push("and"), i && a.push(`version name "${e}" contains illegal characters (whitespace or "/")`), N.warn(a.join(" "));
|
|
1429
1429
|
return;
|
|
1430
1430
|
}
|
|
1431
1431
|
z(new H(
|
|
@@ -1471,33 +1471,33 @@ function Fe() {
|
|
|
1471
1471
|
});
|
|
1472
1472
|
})), te;
|
|
1473
1473
|
}
|
|
1474
|
-
async function
|
|
1474
|
+
async function kn(t) {
|
|
1475
1475
|
try {
|
|
1476
1476
|
const n = (await Fe()).transaction(F), r = await n.objectStore(F).get($e(t));
|
|
1477
1477
|
return await n.done, r;
|
|
1478
1478
|
} catch (e) {
|
|
1479
1479
|
if (e instanceof B)
|
|
1480
|
-
|
|
1480
|
+
N.warn(e.message);
|
|
1481
1481
|
else {
|
|
1482
1482
|
const n = w.create("idb-get", {
|
|
1483
1483
|
originalErrorMessage: e == null ? void 0 : e.message
|
|
1484
1484
|
});
|
|
1485
|
-
|
|
1485
|
+
N.warn(n.message);
|
|
1486
1486
|
}
|
|
1487
1487
|
}
|
|
1488
1488
|
}
|
|
1489
|
-
async function
|
|
1489
|
+
async function Ae(t, e) {
|
|
1490
1490
|
try {
|
|
1491
1491
|
const r = (await Fe()).transaction(F, "readwrite");
|
|
1492
1492
|
await r.objectStore(F).put(e, $e(t)), await r.done;
|
|
1493
1493
|
} catch (n) {
|
|
1494
1494
|
if (n instanceof B)
|
|
1495
|
-
|
|
1495
|
+
N.warn(n.message);
|
|
1496
1496
|
else {
|
|
1497
1497
|
const r = w.create("idb-set", {
|
|
1498
1498
|
originalErrorMessage: n == null ? void 0 : n.message
|
|
1499
1499
|
});
|
|
1500
|
-
|
|
1500
|
+
N.warn(r.message);
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
1503
|
}
|
|
@@ -1520,7 +1520,7 @@ function $e(t) {
|
|
|
1520
1520
|
* See the License for the specific language governing permissions and
|
|
1521
1521
|
* limitations under the License.
|
|
1522
1522
|
*/
|
|
1523
|
-
const
|
|
1523
|
+
const Nn = 1024, Sn = 30 * 24 * 60 * 60 * 1e3;
|
|
1524
1524
|
class Cn {
|
|
1525
1525
|
constructor(e) {
|
|
1526
1526
|
this.container = e, this._heartbeatsCache = null;
|
|
@@ -1540,7 +1540,7 @@ class Cn {
|
|
|
1540
1540
|
if (!(((e = this._heartbeatsCache) === null || e === void 0 ? void 0 : e.heartbeats) == null && (this._heartbeatsCache = await this._heartbeatsCachePromise, ((n = this._heartbeatsCache) === null || n === void 0 ? void 0 : n.heartbeats) == null)) && !(this._heartbeatsCache.lastSentHeartbeatDate === o || this._heartbeatsCache.heartbeats.some((i) => i.date === o)))
|
|
1541
1541
|
return this._heartbeatsCache.heartbeats.push({ date: o, agent: s }), this._heartbeatsCache.heartbeats = this._heartbeatsCache.heartbeats.filter((i) => {
|
|
1542
1542
|
const a = new Date(i.date).valueOf();
|
|
1543
|
-
return Date.now() - a <=
|
|
1543
|
+
return Date.now() - a <= Sn;
|
|
1544
1544
|
}), this._storage.overwrite(this._heartbeatsCache);
|
|
1545
1545
|
}
|
|
1546
1546
|
/**
|
|
@@ -1561,7 +1561,7 @@ class Cn {
|
|
|
1561
1561
|
function we() {
|
|
1562
1562
|
return (/* @__PURE__ */ new Date()).toISOString().substring(0, 10);
|
|
1563
1563
|
}
|
|
1564
|
-
function Un(t, e =
|
|
1564
|
+
function Un(t, e = Nn) {
|
|
1565
1565
|
const n = [];
|
|
1566
1566
|
let r = t.slice();
|
|
1567
1567
|
for (const s of t) {
|
|
@@ -1597,7 +1597,7 @@ class Bn {
|
|
|
1597
1597
|
*/
|
|
1598
1598
|
async read() {
|
|
1599
1599
|
if (await this._canUseIndexedDBPromise) {
|
|
1600
|
-
const n = await
|
|
1600
|
+
const n = await kn(this.app);
|
|
1601
1601
|
return n != null && n.heartbeats ? n : { heartbeats: [] };
|
|
1602
1602
|
} else
|
|
1603
1603
|
return { heartbeats: [] };
|
|
@@ -1607,7 +1607,7 @@ class Bn {
|
|
|
1607
1607
|
var n;
|
|
1608
1608
|
if (await this._canUseIndexedDBPromise) {
|
|
1609
1609
|
const s = await this.read();
|
|
1610
|
-
return
|
|
1610
|
+
return Ae(this.app, {
|
|
1611
1611
|
lastSentHeartbeatDate: (n = e.lastSentHeartbeatDate) !== null && n !== void 0 ? n : s.lastSentHeartbeatDate,
|
|
1612
1612
|
heartbeats: e.heartbeats
|
|
1613
1613
|
});
|
|
@@ -1619,7 +1619,7 @@ class Bn {
|
|
|
1619
1619
|
var n;
|
|
1620
1620
|
if (await this._canUseIndexedDBPromise) {
|
|
1621
1621
|
const s = await this.read();
|
|
1622
|
-
return
|
|
1622
|
+
return Ae(this.app, {
|
|
1623
1623
|
lastSentHeartbeatDate: (n = e.lastSentHeartbeatDate) !== null && n !== void 0 ? n : s.lastSentHeartbeatDate,
|
|
1624
1624
|
heartbeats: [
|
|
1625
1625
|
...s.heartbeats,
|
|
@@ -1663,7 +1663,7 @@ function Pn(t) {
|
|
|
1663
1663
|
(e) => new Cn(e),
|
|
1664
1664
|
"PRIVATE"
|
|
1665
1665
|
/* ComponentType.PRIVATE */
|
|
1666
|
-
)), L(ae,
|
|
1666
|
+
)), L(ae, Te, t), L(ae, Te, "esm2017"), L("fire-js", "");
|
|
1667
1667
|
}
|
|
1668
1668
|
Pn("");
|
|
1669
1669
|
/**
|
|
@@ -1814,7 +1814,7 @@ function P(t) {
|
|
|
1814
1814
|
* See the License for the specific language governing permissions and
|
|
1815
1815
|
* limitations under the License.
|
|
1816
1816
|
*/
|
|
1817
|
-
class
|
|
1817
|
+
class v {
|
|
1818
1818
|
constructor(e, n) {
|
|
1819
1819
|
this.bucket = e, this.path_ = n;
|
|
1820
1820
|
}
|
|
@@ -1834,9 +1834,9 @@ class T {
|
|
|
1834
1834
|
static makeFromBucketSpec(e, n) {
|
|
1835
1835
|
let r;
|
|
1836
1836
|
try {
|
|
1837
|
-
r =
|
|
1837
|
+
r = v.makeFromUrl(e, n);
|
|
1838
1838
|
} catch {
|
|
1839
|
-
return new
|
|
1839
|
+
return new v(e, "");
|
|
1840
1840
|
}
|
|
1841
1841
|
if (r.path === "")
|
|
1842
1842
|
return r;
|
|
@@ -1852,11 +1852,11 @@ class T {
|
|
|
1852
1852
|
function u(E) {
|
|
1853
1853
|
E.path_ = decodeURIComponent(E.path);
|
|
1854
1854
|
}
|
|
1855
|
-
const f = "v[A-Za-z0-9_]+", p = n.replace(/[.]/g, "\\."), _ = "(/([^?#]*).*)?$", m = new RegExp(`^https?://${p}/${f}/b/${s}/o${_}`, "i"),
|
|
1855
|
+
const f = "v[A-Za-z0-9_]+", p = n.replace(/[.]/g, "\\."), _ = "(/([^?#]*).*)?$", m = new RegExp(`^https?://${p}/${f}/b/${s}/o${_}`, "i"), I = { bucket: 1, path: 3 }, C = n === je ? "(?:storage.googleapis.com|storage.cloud.google.com)" : n, b = "([^?#]*)", U = new RegExp(`^https?://${C}/${s}/${b}`, "i"), R = [
|
|
1856
1856
|
{ regex: a, indices: c, postModify: o },
|
|
1857
1857
|
{
|
|
1858
1858
|
regex: m,
|
|
1859
|
-
indices:
|
|
1859
|
+
indices: I,
|
|
1860
1860
|
postModify: u
|
|
1861
1861
|
},
|
|
1862
1862
|
{
|
|
@@ -1865,12 +1865,12 @@ class T {
|
|
|
1865
1865
|
postModify: u
|
|
1866
1866
|
}
|
|
1867
1867
|
];
|
|
1868
|
-
for (let E = 0; E <
|
|
1869
|
-
const j =
|
|
1868
|
+
for (let E = 0; E < R.length; E++) {
|
|
1869
|
+
const j = R[E], X = j.regex.exec(e);
|
|
1870
1870
|
if (X) {
|
|
1871
1871
|
const st = X[j.indices.bucket];
|
|
1872
1872
|
let q = X[j.indices.path];
|
|
1873
|
-
q || (q = ""), r = new
|
|
1873
|
+
q || (q = ""), r = new v(st, q), j.postModify(r);
|
|
1874
1874
|
break;
|
|
1875
1875
|
}
|
|
1876
1876
|
}
|
|
@@ -1938,12 +1938,12 @@ function Qn(t, e, n) {
|
|
|
1938
1938
|
return;
|
|
1939
1939
|
}
|
|
1940
1940
|
r < 64 && (r *= 2);
|
|
1941
|
-
let
|
|
1942
|
-
a === 1 ? (a = 2,
|
|
1941
|
+
let R;
|
|
1942
|
+
a === 1 ? (a = 2, R = 0) : R = (r + Math.random()) * 1e3, p(R);
|
|
1943
1943
|
}
|
|
1944
|
-
let
|
|
1944
|
+
let I = !1;
|
|
1945
1945
|
function C(b) {
|
|
1946
|
-
|
|
1946
|
+
I || (I = !0, _(), !u && (s !== null ? (b || (a = 2), clearTimeout(s), p(0)) : b || (a = 1)));
|
|
1947
1947
|
}
|
|
1948
1948
|
return p(0), o = setTimeout(() => {
|
|
1949
1949
|
i = !0, C(!0);
|
|
@@ -1983,7 +1983,7 @@ function De(t) {
|
|
|
1983
1983
|
function fe() {
|
|
1984
1984
|
return typeof Blob < "u";
|
|
1985
1985
|
}
|
|
1986
|
-
function
|
|
1986
|
+
function ke(t, e, n, r) {
|
|
1987
1987
|
if (r < e)
|
|
1988
1988
|
throw le(`Invalid value for '${t}'. Expected ${e} or greater.`);
|
|
1989
1989
|
if (r > n)
|
|
@@ -2035,10 +2035,10 @@ function We(t) {
|
|
|
2035
2035
|
* See the License for the specific language governing permissions and
|
|
2036
2036
|
* limitations under the License.
|
|
2037
2037
|
*/
|
|
2038
|
-
var
|
|
2038
|
+
var k;
|
|
2039
2039
|
(function(t) {
|
|
2040
2040
|
t[t.NO_ERROR = 0] = "NO_ERROR", t[t.NETWORK_ERROR = 1] = "NETWORK_ERROR", t[t.ABORT = 2] = "ABORT";
|
|
2041
|
-
})(
|
|
2041
|
+
})(k || (k = {}));
|
|
2042
2042
|
/**
|
|
2043
2043
|
* @license
|
|
2044
2044
|
* Copyright 2022 Google LLC
|
|
@@ -2082,8 +2082,8 @@ function rr(t, e) {
|
|
|
2082
2082
|
*/
|
|
2083
2083
|
class sr {
|
|
2084
2084
|
constructor(e, n, r, s, o, i, a, c, u, f, p, _ = !0) {
|
|
2085
|
-
this.url_ = e, this.method_ = n, this.headers_ = r, this.body_ = s, this.successCodes_ = o, this.additionalRetryCodes_ = i, this.callback_ = a, this.errorCallback_ = c, this.timeout_ = u, this.progressCallback_ = f, this.connectionFactory_ = p, this.retry = _, this.pendingConnection_ = null, this.backoffId_ = null, this.canceled_ = !1, this.appDelete_ = !1, this.promise_ = new Promise((m,
|
|
2086
|
-
this.resolve_ = m, this.reject_ =
|
|
2085
|
+
this.url_ = e, this.method_ = n, this.headers_ = r, this.body_ = s, this.successCodes_ = o, this.additionalRetryCodes_ = i, this.callback_ = a, this.errorCallback_ = c, this.timeout_ = u, this.progressCallback_ = f, this.connectionFactory_ = p, this.retry = _, this.pendingConnection_ = null, this.backoffId_ = null, this.canceled_ = !1, this.appDelete_ = !1, this.promise_ = new Promise((m, I) => {
|
|
2086
|
+
this.resolve_ = m, this.reject_ = I, this.start_();
|
|
2087
2087
|
});
|
|
2088
2088
|
}
|
|
2089
2089
|
/**
|
|
@@ -2103,9 +2103,9 @@ class sr {
|
|
|
2103
2103
|
};
|
|
2104
2104
|
this.progressCallback_ !== null && o.addUploadProgressListener(i), o.send(this.url_, this.method_, this.body_, this.headers_).then(() => {
|
|
2105
2105
|
this.progressCallback_ !== null && o.removeUploadProgressListener(i), this.pendingConnection_ = null;
|
|
2106
|
-
const a = o.getErrorCode() ===
|
|
2106
|
+
const a = o.getErrorCode() === k.NO_ERROR, c = o.getStatus();
|
|
2107
2107
|
if (!a || rr(c, this.additionalRetryCodes_) && this.retry) {
|
|
2108
|
-
const f = o.getErrorCode() ===
|
|
2108
|
+
const f = o.getErrorCode() === k.ABORT;
|
|
2109
2109
|
r(!1, new G(!1, null, f));
|
|
2110
2110
|
return;
|
|
2111
2111
|
}
|
|
@@ -2236,7 +2236,7 @@ function pr(t) {
|
|
|
2236
2236
|
* See the License for the specific language governing permissions and
|
|
2237
2237
|
* limitations under the License.
|
|
2238
2238
|
*/
|
|
2239
|
-
const
|
|
2239
|
+
const T = {
|
|
2240
2240
|
/**
|
|
2241
2241
|
* Indicates the string should be interpreted "raw", that is, as normal text.
|
|
2242
2242
|
* The string will be interpreted as UTF-16, then uploaded as a UTF-8 byte
|
|
@@ -2277,12 +2277,12 @@ class re {
|
|
|
2277
2277
|
}
|
|
2278
2278
|
function _r(t, e) {
|
|
2279
2279
|
switch (t) {
|
|
2280
|
-
case
|
|
2280
|
+
case T.RAW:
|
|
2281
2281
|
return new re(ze(e));
|
|
2282
|
-
case
|
|
2283
|
-
case
|
|
2282
|
+
case T.BASE64:
|
|
2283
|
+
case T.BASE64URL:
|
|
2284
2284
|
return new re(Ke(t, e));
|
|
2285
|
-
case
|
|
2285
|
+
case T.DATA_URL:
|
|
2286
2286
|
return new re(mr(e), gr(e));
|
|
2287
2287
|
}
|
|
2288
2288
|
throw pe();
|
|
@@ -2312,19 +2312,19 @@ function fr(t) {
|
|
|
2312
2312
|
try {
|
|
2313
2313
|
e = decodeURIComponent(t);
|
|
2314
2314
|
} catch {
|
|
2315
|
-
throw M(
|
|
2315
|
+
throw M(T.DATA_URL, "Malformed data URL.");
|
|
2316
2316
|
}
|
|
2317
2317
|
return ze(e);
|
|
2318
2318
|
}
|
|
2319
2319
|
function Ke(t, e) {
|
|
2320
2320
|
switch (t) {
|
|
2321
|
-
case
|
|
2321
|
+
case T.BASE64: {
|
|
2322
2322
|
const s = e.indexOf("-") !== -1, o = e.indexOf("_") !== -1;
|
|
2323
2323
|
if (s || o)
|
|
2324
2324
|
throw M(t, "Invalid character '" + (s ? "-" : "_") + "' found: is it base64url encoded?");
|
|
2325
2325
|
break;
|
|
2326
2326
|
}
|
|
2327
|
-
case
|
|
2327
|
+
case T.BASE64URL: {
|
|
2328
2328
|
const s = e.indexOf("+") !== -1, o = e.indexOf("/") !== -1;
|
|
2329
2329
|
if (s || o)
|
|
2330
2330
|
throw M(t, "Invalid character '" + (s ? "+" : "/") + "' found: is it base64 encoded?");
|
|
@@ -2348,14 +2348,14 @@ class Xe {
|
|
|
2348
2348
|
this.base64 = !1, this.contentType = null;
|
|
2349
2349
|
const n = e.match(/^data:([^,]+)?,/);
|
|
2350
2350
|
if (n === null)
|
|
2351
|
-
throw M(
|
|
2351
|
+
throw M(T.DATA_URL, "Must be formatted 'data:[<mediatype>][;base64],<data>");
|
|
2352
2352
|
const r = n[1] || null;
|
|
2353
2353
|
r != null && (this.base64 = br(r, ";base64"), this.contentType = this.base64 ? r.substring(0, r.length - 7) : r), this.rest = e.substring(e.indexOf(",") + 1);
|
|
2354
2354
|
}
|
|
2355
2355
|
}
|
|
2356
2356
|
function mr(t) {
|
|
2357
2357
|
const e = new Xe(t);
|
|
2358
|
-
return e.base64 ? Ke(
|
|
2358
|
+
return e.base64 ? Ke(T.BASE64, e.rest) : fr(e.rest);
|
|
2359
2359
|
}
|
|
2360
2360
|
function gr(t) {
|
|
2361
2361
|
return new Xe(t).contentType;
|
|
@@ -2379,7 +2379,7 @@ function br(t, e) {
|
|
|
2379
2379
|
* See the License for the specific language governing permissions and
|
|
2380
2380
|
* limitations under the License.
|
|
2381
2381
|
*/
|
|
2382
|
-
class
|
|
2382
|
+
class y {
|
|
2383
2383
|
constructor(e, n) {
|
|
2384
2384
|
let r = 0, s = "";
|
|
2385
2385
|
De(e) ? (this.data_ = e, r = e.size, s = e.type) : e instanceof ArrayBuffer ? (n ? this.data_ = new Uint8Array(e) : (this.data_ = new Uint8Array(e.byteLength), this.data_.set(new Uint8Array(e))), r = this.data_.length) : e instanceof Uint8Array && (n ? this.data_ = e : (this.data_ = new Uint8Array(e.length), this.data_.set(e)), r = e.length), this.size_ = r, this.type_ = s;
|
|
@@ -2393,18 +2393,18 @@ class A {
|
|
|
2393
2393
|
slice(e, n) {
|
|
2394
2394
|
if (De(this.data_)) {
|
|
2395
2395
|
const r = this.data_, s = hr(r, e, n);
|
|
2396
|
-
return s === null ? null : new
|
|
2396
|
+
return s === null ? null : new y(s);
|
|
2397
2397
|
} else {
|
|
2398
2398
|
const r = new Uint8Array(this.data_.buffer, e, n - e);
|
|
2399
|
-
return new
|
|
2399
|
+
return new y(r, !0);
|
|
2400
2400
|
}
|
|
2401
2401
|
}
|
|
2402
2402
|
static getBlob(...e) {
|
|
2403
2403
|
if (fe()) {
|
|
2404
|
-
const n = e.map((r) => r instanceof
|
|
2405
|
-
return new
|
|
2404
|
+
const n = e.map((r) => r instanceof y ? r.data_ : r);
|
|
2405
|
+
return new y(dr.apply(null, n));
|
|
2406
2406
|
} else {
|
|
2407
|
-
const n = e.map((i) => _e(i) ? _r(
|
|
2407
|
+
const n = e.map((i) => _e(i) ? _r(T.RAW, i).data : i.data_);
|
|
2408
2408
|
let r = 0;
|
|
2409
2409
|
n.forEach((i) => {
|
|
2410
2410
|
r += i.byteLength;
|
|
@@ -2414,7 +2414,7 @@ class A {
|
|
|
2414
2414
|
return n.forEach((i) => {
|
|
2415
2415
|
for (let a = 0; a < i.length; a++)
|
|
2416
2416
|
s[o++] = i[a];
|
|
2417
|
-
}), new
|
|
2417
|
+
}), new y(s, !0);
|
|
2418
2418
|
}
|
|
2419
2419
|
}
|
|
2420
2420
|
uploadData() {
|
|
@@ -2468,7 +2468,7 @@ function Er(t) {
|
|
|
2468
2468
|
const e = t.lastIndexOf("/");
|
|
2469
2469
|
return e === -1 ? "" : t.slice(0, e);
|
|
2470
2470
|
}
|
|
2471
|
-
function
|
|
2471
|
+
function vr(t, e) {
|
|
2472
2472
|
const n = e.split("/").filter((r) => r.length > 0).join("/");
|
|
2473
2473
|
return t.length === 0 ? n : t + "/" + n;
|
|
2474
2474
|
}
|
|
@@ -2492,16 +2492,16 @@ function Ye(t) {
|
|
|
2492
2492
|
* See the License for the specific language governing permissions and
|
|
2493
2493
|
* limitations under the License.
|
|
2494
2494
|
*/
|
|
2495
|
-
function
|
|
2495
|
+
function Ir(t, e) {
|
|
2496
2496
|
return e;
|
|
2497
2497
|
}
|
|
2498
2498
|
class g {
|
|
2499
2499
|
constructor(e, n, r, s) {
|
|
2500
|
-
this.server = e, this.local = n || e, this.writable = !!r, this.xform = s ||
|
|
2500
|
+
this.server = e, this.local = n || e, this.writable = !!r, this.xform = s || Ir;
|
|
2501
2501
|
}
|
|
2502
2502
|
}
|
|
2503
2503
|
let V = null;
|
|
2504
|
-
function
|
|
2504
|
+
function Rr(t) {
|
|
2505
2505
|
return !_e(t) || t.length < 2 ? t : Ye(t);
|
|
2506
2506
|
}
|
|
2507
2507
|
function Je() {
|
|
@@ -2510,7 +2510,7 @@ function Je() {
|
|
|
2510
2510
|
const t = [];
|
|
2511
2511
|
t.push(new g("bucket")), t.push(new g("generation")), t.push(new g("metageneration")), t.push(new g("name", "fullPath", !0));
|
|
2512
2512
|
function e(o, i) {
|
|
2513
|
-
return
|
|
2513
|
+
return Rr(i);
|
|
2514
2514
|
}
|
|
2515
2515
|
const n = new g("name");
|
|
2516
2516
|
n.xform = e, t.push(n);
|
|
@@ -2520,14 +2520,14 @@ function Je() {
|
|
|
2520
2520
|
const s = new g("size");
|
|
2521
2521
|
return s.xform = r, t.push(s), t.push(new g("timeCreated")), t.push(new g("updated")), t.push(new g("md5Hash", null, !0)), t.push(new g("cacheControl", null, !0)), t.push(new g("contentDisposition", null, !0)), t.push(new g("contentEncoding", null, !0)), t.push(new g("contentLanguage", null, !0)), t.push(new g("contentType", null, !0)), t.push(new g("metadata", "customMetadata", !0)), V = t, V;
|
|
2522
2522
|
}
|
|
2523
|
-
function
|
|
2523
|
+
function Tr(t, e) {
|
|
2524
2524
|
function n() {
|
|
2525
|
-
const r = t.bucket, s = t.fullPath, o = new
|
|
2525
|
+
const r = t.bucket, s = t.fullPath, o = new v(r, s);
|
|
2526
2526
|
return e._makeStorageReference(o);
|
|
2527
2527
|
}
|
|
2528
2528
|
Object.defineProperty(t, "ref", { get: n });
|
|
2529
2529
|
}
|
|
2530
|
-
function
|
|
2530
|
+
function yr(t, e, n) {
|
|
2531
2531
|
const r = {};
|
|
2532
2532
|
r.type = "file";
|
|
2533
2533
|
const s = n.length;
|
|
@@ -2535,13 +2535,13 @@ function Ar(t, e, n) {
|
|
|
2535
2535
|
const i = n[o];
|
|
2536
2536
|
r[i.local] = i.xform(r, e[i.server]);
|
|
2537
2537
|
}
|
|
2538
|
-
return
|
|
2538
|
+
return Tr(r, t), r;
|
|
2539
2539
|
}
|
|
2540
2540
|
function Ze(t, e, n) {
|
|
2541
2541
|
const r = qe(e);
|
|
2542
|
-
return r === null ? null :
|
|
2542
|
+
return r === null ? null : yr(t, r, n);
|
|
2543
2543
|
}
|
|
2544
|
-
function
|
|
2544
|
+
function Ar(t, e, n, r) {
|
|
2545
2545
|
const s = qe(e);
|
|
2546
2546
|
if (s === null || !_e(s.downloadTokens))
|
|
2547
2547
|
return null;
|
|
@@ -2550,11 +2550,11 @@ function yr(t, e, n, r) {
|
|
|
2550
2550
|
return null;
|
|
2551
2551
|
const i = encodeURIComponent;
|
|
2552
2552
|
return o.split(",").map((u) => {
|
|
2553
|
-
const f = t.bucket, p = t.fullPath, _ = "/b/" + i(f) + "/o/" + i(p), m = K(_, n, r),
|
|
2553
|
+
const f = t.bucket, p = t.fullPath, _ = "/b/" + i(f) + "/o/" + i(p), m = K(_, n, r), I = We({
|
|
2554
2554
|
alt: "media",
|
|
2555
2555
|
token: u
|
|
2556
2556
|
});
|
|
2557
|
-
return m +
|
|
2557
|
+
return m + I;
|
|
2558
2558
|
})[0];
|
|
2559
2559
|
}
|
|
2560
2560
|
function wr(t, e) {
|
|
@@ -2600,7 +2600,7 @@ function Or(t, e) {
|
|
|
2600
2600
|
function Dr(t, e) {
|
|
2601
2601
|
function n(r, s) {
|
|
2602
2602
|
const o = Ze(t, s, e);
|
|
2603
|
-
return Qe(o !== null),
|
|
2603
|
+
return Qe(o !== null), Ar(o, s, t.host, t._protocol);
|
|
2604
2604
|
}
|
|
2605
2605
|
return n;
|
|
2606
2606
|
}
|
|
@@ -2619,33 +2619,33 @@ function tt(t) {
|
|
|
2619
2619
|
}
|
|
2620
2620
|
return n;
|
|
2621
2621
|
}
|
|
2622
|
-
function
|
|
2622
|
+
function kr(t, e, n) {
|
|
2623
2623
|
const r = e.fullServerUrl(), s = K(r, t.host, t._protocol), o = "GET", i = t.maxOperationRetryTime, a = new me(s, o, Dr(t, n), i);
|
|
2624
2624
|
return a.errorHandler = tt(e), a;
|
|
2625
2625
|
}
|
|
2626
|
-
function
|
|
2626
|
+
function Nr(t, e) {
|
|
2627
2627
|
const n = e.fullServerUrl(), r = K(n, t.host, t._protocol), s = "DELETE", o = t.maxOperationRetryTime;
|
|
2628
2628
|
function i(c, u) {
|
|
2629
2629
|
}
|
|
2630
2630
|
const a = new me(r, s, i, o);
|
|
2631
2631
|
return a.successCodes = [200, 204], a.errorHandler = tt(e), a;
|
|
2632
2632
|
}
|
|
2633
|
-
function
|
|
2633
|
+
function Sr(t, e) {
|
|
2634
2634
|
return t && t.contentType || e && e.type() || "application/octet-stream";
|
|
2635
2635
|
}
|
|
2636
2636
|
function Cr(t, e, n) {
|
|
2637
2637
|
const r = Object.assign({}, n);
|
|
2638
|
-
return r.fullPath = t.path, r.size = e.size(), r.contentType || (r.contentType =
|
|
2638
|
+
return r.fullPath = t.path, r.size = e.size(), r.contentType || (r.contentType = Sr(null, e)), r;
|
|
2639
2639
|
}
|
|
2640
2640
|
function Ur(t, e, n, r, s) {
|
|
2641
2641
|
const o = e.bucketOnlyServerUrl(), i = {
|
|
2642
2642
|
"X-Goog-Upload-Protocol": "multipart"
|
|
2643
2643
|
};
|
|
2644
2644
|
function a() {
|
|
2645
|
-
let
|
|
2645
|
+
let R = "";
|
|
2646
2646
|
for (let E = 0; E < 2; E++)
|
|
2647
|
-
|
|
2648
|
-
return
|
|
2647
|
+
R = R + Math.random().toString().slice(2);
|
|
2648
|
+
return R;
|
|
2649
2649
|
}
|
|
2650
2650
|
const c = a();
|
|
2651
2651
|
i["Content-Type"] = "multipart/related; boundary=" + c;
|
|
@@ -2657,19 +2657,19 @@ Content-Type: application/json; charset=utf-8\r
|
|
|
2657
2657
|
Content-Type: ` + u.contentType + `\r
|
|
2658
2658
|
\r
|
|
2659
2659
|
`, _ = `\r
|
|
2660
|
-
--` + c + "--", m =
|
|
2660
|
+
--` + c + "--", m = y.getBlob(p, r, _);
|
|
2661
2661
|
if (m === null)
|
|
2662
2662
|
throw Xn();
|
|
2663
|
-
const
|
|
2664
|
-
return O.urlParams =
|
|
2663
|
+
const I = { name: u.fullPath }, C = K(o, t.host, t._protocol), b = "POST", U = t.maxUploadRetryTime, O = new me(C, b, Or(t, n), U);
|
|
2664
|
+
return O.urlParams = I, O.headers = i, O.body = m.uploadData(), O.errorHandler = et(e), O;
|
|
2665
2665
|
}
|
|
2666
2666
|
class Br {
|
|
2667
2667
|
constructor() {
|
|
2668
|
-
this.sent_ = !1, this.xhr_ = new XMLHttpRequest(), this.initXhr(), this.errorCode_ =
|
|
2668
|
+
this.sent_ = !1, this.xhr_ = new XMLHttpRequest(), this.initXhr(), this.errorCode_ = k.NO_ERROR, this.sendPromise_ = new Promise((e) => {
|
|
2669
2669
|
this.xhr_.addEventListener("abort", () => {
|
|
2670
|
-
this.errorCode_ =
|
|
2670
|
+
this.errorCode_ = k.ABORT, e();
|
|
2671
2671
|
}), this.xhr_.addEventListener("error", () => {
|
|
2672
|
-
this.errorCode_ =
|
|
2672
|
+
this.errorCode_ = k.NETWORK_ERROR, e();
|
|
2673
2673
|
}), this.xhr_.addEventListener("load", () => {
|
|
2674
2674
|
e();
|
|
2675
2675
|
});
|
|
@@ -2745,9 +2745,9 @@ function ge() {
|
|
|
2745
2745
|
* See the License for the specific language governing permissions and
|
|
2746
2746
|
* limitations under the License.
|
|
2747
2747
|
*/
|
|
2748
|
-
class
|
|
2748
|
+
class S {
|
|
2749
2749
|
constructor(e, n) {
|
|
2750
|
-
this._service = e, n instanceof
|
|
2750
|
+
this._service = e, n instanceof v ? this._location = n : this._location = v.makeFromUrl(n, e.host);
|
|
2751
2751
|
}
|
|
2752
2752
|
/**
|
|
2753
2753
|
* Returns the URL for the bucket and path this object references,
|
|
@@ -2758,13 +2758,13 @@ class N {
|
|
|
2758
2758
|
return "gs://" + this._location.bucket + "/" + this._location.path;
|
|
2759
2759
|
}
|
|
2760
2760
|
_newRef(e, n) {
|
|
2761
|
-
return new
|
|
2761
|
+
return new S(e, n);
|
|
2762
2762
|
}
|
|
2763
2763
|
/**
|
|
2764
2764
|
* A reference to the root of this object's bucket.
|
|
2765
2765
|
*/
|
|
2766
2766
|
get root() {
|
|
2767
|
-
const e = new
|
|
2767
|
+
const e = new v(this._location.bucket, "");
|
|
2768
2768
|
return this._newRef(this._service, e);
|
|
2769
2769
|
}
|
|
2770
2770
|
/**
|
|
@@ -2800,8 +2800,8 @@ class N {
|
|
|
2800
2800
|
const e = Er(this._location.path);
|
|
2801
2801
|
if (e === null)
|
|
2802
2802
|
return null;
|
|
2803
|
-
const n = new
|
|
2804
|
-
return new
|
|
2803
|
+
const n = new v(this._location.bucket, e);
|
|
2804
|
+
return new S(this._service, n);
|
|
2805
2805
|
}
|
|
2806
2806
|
/**
|
|
2807
2807
|
* Utility function to throw an error in methods that do not accept a root reference.
|
|
@@ -2813,7 +2813,7 @@ class N {
|
|
|
2813
2813
|
}
|
|
2814
2814
|
function Lr(t, e, n) {
|
|
2815
2815
|
t._throwIfRoot("uploadBytes");
|
|
2816
|
-
const r = Ur(t.storage, t._location, Je(), new
|
|
2816
|
+
const r = Ur(t.storage, t._location, Je(), new y(e, !0), n);
|
|
2817
2817
|
return t.storage.makeRequestWithTokens(r, ge).then((s) => ({
|
|
2818
2818
|
metadata: s,
|
|
2819
2819
|
ref: t
|
|
@@ -2821,7 +2821,7 @@ function Lr(t, e, n) {
|
|
|
2821
2821
|
}
|
|
2822
2822
|
function Mr(t) {
|
|
2823
2823
|
t._throwIfRoot("getDownloadURL");
|
|
2824
|
-
const e =
|
|
2824
|
+
const e = kr(t.storage, t._location, Je());
|
|
2825
2825
|
return t.storage.makeRequestWithTokens(e, ge).then((n) => {
|
|
2826
2826
|
if (n === null)
|
|
2827
2827
|
throw qn();
|
|
@@ -2830,12 +2830,12 @@ function Mr(t) {
|
|
|
2830
2830
|
}
|
|
2831
2831
|
function Hr(t) {
|
|
2832
2832
|
t._throwIfRoot("deleteObject");
|
|
2833
|
-
const e =
|
|
2833
|
+
const e = Nr(t.storage, t._location);
|
|
2834
2834
|
return t.storage.makeRequestWithTokens(e, ge);
|
|
2835
2835
|
}
|
|
2836
2836
|
function xr(t, e) {
|
|
2837
|
-
const n =
|
|
2838
|
-
return new
|
|
2837
|
+
const n = vr(t._location.path, e), r = new v(t._location.bucket, n);
|
|
2838
|
+
return new S(t.storage, r);
|
|
2839
2839
|
}
|
|
2840
2840
|
/**
|
|
2841
2841
|
* @license
|
|
@@ -2857,14 +2857,14 @@ function Fr(t) {
|
|
|
2857
2857
|
return /^[A-Za-z]+:\/\//.test(t);
|
|
2858
2858
|
}
|
|
2859
2859
|
function $r(t, e) {
|
|
2860
|
-
return new
|
|
2860
|
+
return new S(t, e);
|
|
2861
2861
|
}
|
|
2862
2862
|
function nt(t, e) {
|
|
2863
2863
|
if (t instanceof be) {
|
|
2864
2864
|
const n = t;
|
|
2865
2865
|
if (n._bucket == null)
|
|
2866
2866
|
throw Kn();
|
|
2867
|
-
const r = new
|
|
2867
|
+
const r = new S(n, n._bucket);
|
|
2868
2868
|
return e != null ? nt(r, e) : r;
|
|
2869
2869
|
} else
|
|
2870
2870
|
return e !== void 0 ? xr(t, e) : t;
|
|
@@ -2877,9 +2877,9 @@ function jr(t, e) {
|
|
|
2877
2877
|
} else
|
|
2878
2878
|
return nt(t, e);
|
|
2879
2879
|
}
|
|
2880
|
-
function
|
|
2880
|
+
function Ne(t, e) {
|
|
2881
2881
|
const n = e == null ? void 0 : e[Ge];
|
|
2882
|
-
return n == null ? null :
|
|
2882
|
+
return n == null ? null : v.makeFromBucketSpec(n, t);
|
|
2883
2883
|
}
|
|
2884
2884
|
function Gr(t, e, n, r = {}) {
|
|
2885
2885
|
t.host = `${e}:${n}`, t._protocol = "http";
|
|
@@ -2888,7 +2888,7 @@ function Gr(t, e, n, r = {}) {
|
|
|
2888
2888
|
}
|
|
2889
2889
|
class be {
|
|
2890
2890
|
constructor(e, n, r, s, o) {
|
|
2891
|
-
this.app = e, this._authProvider = n, this._appCheckProvider = r, this._url = s, this._firebaseVersion = o, this._bucket = null, this._host = je, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime = Ln, this._maxUploadRetryTime = Mn, this._requests = /* @__PURE__ */ new Set(), s != null ? this._bucket =
|
|
2891
|
+
this.app = e, this._authProvider = n, this._appCheckProvider = r, this._url = s, this._firebaseVersion = o, this._bucket = null, this._host = je, this._protocol = "https", this._appId = null, this._deleted = !1, this._maxOperationRetryTime = Ln, this._maxUploadRetryTime = Mn, this._requests = /* @__PURE__ */ new Set(), s != null ? this._bucket = v.makeFromBucketSpec(s, this._host) : this._bucket = Ne(this._host, this.app.options);
|
|
2892
2892
|
}
|
|
2893
2893
|
/**
|
|
2894
2894
|
* The host string for this service, in the form of `host` or
|
|
@@ -2898,7 +2898,7 @@ class be {
|
|
|
2898
2898
|
return this._host;
|
|
2899
2899
|
}
|
|
2900
2900
|
set host(e) {
|
|
2901
|
-
this._host = e, this._url != null ? this._bucket =
|
|
2901
|
+
this._host = e, this._url != null ? this._bucket = v.makeFromBucketSpec(this._url, e) : this._bucket = Ne(e, this.app.options);
|
|
2902
2902
|
}
|
|
2903
2903
|
/**
|
|
2904
2904
|
* The maximum time to retry uploads in milliseconds.
|
|
@@ -2907,7 +2907,7 @@ class be {
|
|
|
2907
2907
|
return this._maxUploadRetryTime;
|
|
2908
2908
|
}
|
|
2909
2909
|
set maxUploadRetryTime(e) {
|
|
2910
|
-
|
|
2910
|
+
ke(
|
|
2911
2911
|
"time",
|
|
2912
2912
|
/* minValue=*/
|
|
2913
2913
|
0,
|
|
@@ -2924,7 +2924,7 @@ class be {
|
|
|
2924
2924
|
return this._maxOperationRetryTime;
|
|
2925
2925
|
}
|
|
2926
2926
|
set maxOperationRetryTime(e) {
|
|
2927
|
-
|
|
2927
|
+
ke(
|
|
2928
2928
|
"time",
|
|
2929
2929
|
/* minValue=*/
|
|
2930
2930
|
0,
|
|
@@ -2959,7 +2959,7 @@ class be {
|
|
|
2959
2959
|
* at the given Location.
|
|
2960
2960
|
*/
|
|
2961
2961
|
_makeStorageReference(e) {
|
|
2962
|
-
return new
|
|
2962
|
+
return new S(this, e);
|
|
2963
2963
|
}
|
|
2964
2964
|
/**
|
|
2965
2965
|
* @param requestInfo - HTTP RequestInfo object
|
|
@@ -2981,7 +2981,7 @@ class be {
|
|
|
2981
2981
|
return this._makeRequest(e, n, r, s).getPromise();
|
|
2982
2982
|
}
|
|
2983
2983
|
}
|
|
2984
|
-
const
|
|
2984
|
+
const Se = "@firebase/storage", Ce = "0.12.6";
|
|
2985
2985
|
/**
|
|
2986
2986
|
* @license
|
|
2987
2987
|
* Copyright 2020 Google LLC
|
|
@@ -3013,7 +3013,7 @@ function is(t, e) {
|
|
|
3013
3013
|
}
|
|
3014
3014
|
function as(t = wn(), e) {
|
|
3015
3015
|
t = $(t);
|
|
3016
|
-
const r =
|
|
3016
|
+
const r = In(t, rt).getImmediate({
|
|
3017
3017
|
identifier: e
|
|
3018
3018
|
}), s = _t("storage");
|
|
3019
3019
|
return s && Vr(r, ...s), r;
|
|
@@ -3023,7 +3023,7 @@ function Vr(t, e, n, r = {}) {
|
|
|
3023
3023
|
}
|
|
3024
3024
|
function Wr(t, { instanceIdentifier: e }) {
|
|
3025
3025
|
const n = t.getProvider("app").getImmediate(), r = t.getProvider("auth-internal"), s = t.getProvider("app-check-internal");
|
|
3026
|
-
return new be(n, r, s, e,
|
|
3026
|
+
return new be(n, r, s, e, yn);
|
|
3027
3027
|
}
|
|
3028
3028
|
function zr() {
|
|
3029
3029
|
z(new H(
|
|
@@ -3031,7 +3031,7 @@ function zr() {
|
|
|
3031
3031
|
Wr,
|
|
3032
3032
|
"PUBLIC"
|
|
3033
3033
|
/* ComponentType.PUBLIC */
|
|
3034
|
-
).setMultipleInstances(!0)), L(
|
|
3034
|
+
).setMultipleInstances(!0)), L(Se, Ce, ""), L(Se, Ce, "esm2017");
|
|
3035
3035
|
}
|
|
3036
3036
|
zr();
|
|
3037
3037
|
export {
|
|
@@ -3039,14 +3039,14 @@ export {
|
|
|
3039
3039
|
Me as E,
|
|
3040
3040
|
B as F,
|
|
3041
3041
|
Ct as L,
|
|
3042
|
-
|
|
3042
|
+
yn as S,
|
|
3043
3043
|
z as _,
|
|
3044
3044
|
Yr as a,
|
|
3045
3045
|
qr as b,
|
|
3046
3046
|
ts as c,
|
|
3047
3047
|
$ as d,
|
|
3048
3048
|
es as e,
|
|
3049
|
-
|
|
3049
|
+
In as f,
|
|
3050
3050
|
Kr as g,
|
|
3051
3051
|
pt as h,
|
|
3052
3052
|
Xr as i,
|
|
@@ -3060,7 +3060,7 @@ export {
|
|
|
3060
3060
|
Qr as q,
|
|
3061
3061
|
L as r,
|
|
3062
3062
|
ns as s,
|
|
3063
|
-
|
|
3063
|
+
An as t,
|
|
3064
3064
|
as as u,
|
|
3065
3065
|
is as v,
|
|
3066
3066
|
rs as w,
|