@lovrabet/rabetbase-cli 2.1.10-beta.3 → 2.1.11
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/lib/api/api-doc.js +1 -1
- package/lib/api/fetch-model-list.js +1 -1
- package/lib/api/generate-api-file.js +1 -1
- package/lib/auth/auth-server-ui.js +1 -1
- package/lib/auth/auth-server.js +1 -1
- package/lib/auth/constant.js +1 -1
- package/lib/auth/get-cookie.js +1 -1
- package/lib/auth/get-session-user.js +1 -1
- package/lib/auth/is-session-valid.js +1 -1
- package/lib/auth/login-success-html.js +1 -1
- package/lib/auth/logout.js +1 -1
- package/lib/cli-flags.js +1 -1
- package/lib/cli.js +1 -1
- package/lib/commands/api/generate.js +1 -1
- package/lib/commands/api/index.js +1 -1
- package/lib/commands/api/list.js +1 -1
- package/lib/commands/api/pull.js +1 -1
- package/lib/commands/api/shared.js +1 -1
- package/lib/commands/app/add.js +1 -1
- package/lib/commands/app/discover.js +1 -1
- package/lib/commands/app/index.js +1 -1
- package/lib/commands/app/list.js +1 -1
- package/lib/commands/app/remove.js +1 -1
- package/lib/commands/app/shared.js +1 -1
- package/lib/commands/app/use.js +1 -1
- package/lib/commands/auth/index.js +1 -1
- package/lib/commands/bff/create.js +1 -1
- package/lib/commands/bff/delete.js +1 -1
- package/lib/commands/bff/detail.js +1 -1
- package/lib/commands/bff/index.js +1 -1
- package/lib/commands/bff/list.js +1 -1
- package/lib/commands/bff/pull.js +1 -1
- package/lib/commands/bff/push.js +1 -1
- package/lib/commands/bff/status.js +1 -1
- package/lib/commands/cli-update.js +1 -1
- package/lib/commands/codegen/index.js +1 -1
- package/lib/commands/codegen/sdk.js +1 -1
- package/lib/commands/codegen/sql.js +1 -1
- package/lib/commands/common/app-selector.js +1 -1
- package/lib/commands/common/flags.js +1 -1
- package/lib/commands/common/validate.js +1 -1
- package/lib/commands/config/get.js +1 -1
- package/lib/commands/config/index.js +1 -1
- package/lib/commands/config/list.js +1 -1
- package/lib/commands/config/set.js +1 -1
- package/lib/commands/config/shared.js +1 -1
- package/lib/commands/data/filter.js +1 -1
- package/lib/commands/data/getOne.js +1 -1
- package/lib/commands/data/index.js +1 -1
- package/lib/commands/data/shared.js +1 -1
- package/lib/commands/dataset/capability.js +1 -1
- package/lib/commands/dataset/delete.js +1 -1
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/field-update.js +1 -1
- package/lib/commands/dataset/index.js +1 -1
- package/lib/commands/dataset/link-create.js +1 -1
- package/lib/commands/dataset/link-delete.js +1 -1
- package/lib/commands/dataset/link-shared.js +1 -1
- package/lib/commands/dataset/link-update.js +1 -1
- package/lib/commands/dataset/links.js +1 -1
- package/lib/commands/dataset/list.js +1 -1
- package/lib/commands/dataset/operations.js +1 -1
- package/lib/commands/db/analyze-cancel.js +1 -1
- package/lib/commands/db/analyze-start.js +1 -1
- package/lib/commands/db/analyze-status.js +1 -1
- package/lib/commands/db/create.js +1 -1
- package/lib/commands/db/delete.js +1 -1
- package/lib/commands/db/detail.js +1 -1
- package/lib/commands/db/diff.js +1 -1
- package/lib/commands/db/index.js +1 -1
- package/lib/commands/db/list.js +1 -1
- package/lib/commands/db/shared.js +1 -1
- package/lib/commands/db/tables.js +1 -1
- package/lib/commands/db/test.js +1 -1
- package/lib/commands/db/update.js +1 -1
- package/lib/commands/doctor.js +1 -1
- package/lib/commands/init/index.js +1 -1
- package/lib/commands/issue/index.js +1 -1
- package/lib/commands/issue/report.js +1 -1
- package/lib/commands/logs/index.js +1 -1
- package/lib/commands/menu/index.js +1 -1
- package/lib/commands/menu/shared/compare-table.js +1 -1
- package/lib/commands/menu/shared/index.js +1 -1
- package/lib/commands/menu/shared/inquirer.js +1 -1
- package/lib/commands/menu/shared/local-pages.js +1 -1
- package/lib/commands/menu/shared/logic.js +1 -1
- package/lib/commands/menu/shared/service.js +1 -1
- package/lib/commands/menu/shared/sync-core.js +1 -1
- package/lib/commands/menu/shared/update-core.js +1 -1
- package/lib/commands/menu/shared/valid-url.js +1 -1
- package/lib/commands/menu/sync.js +1 -1
- package/lib/commands/menu/update.js +1 -1
- package/lib/commands/page/generate-start.js +1 -1
- package/lib/commands/page/generate-status.js +1 -1
- package/lib/commands/page/index.js +1 -1
- package/lib/commands/page/pull.js +1 -1
- package/lib/commands/page/push.js +1 -1
- package/lib/commands/page/shared.js +1 -1
- package/lib/commands/page/standard-page-status.js +1 -1
- package/lib/commands/page/sync.js +1 -1
- package/lib/commands/project/create/enhanced-guided-create.js +1 -1
- package/lib/commands/project/create/format-elapsed.js +1 -1
- package/lib/commands/project/create/main.js +1 -1
- package/lib/commands/project/create/non-interactive.js +1 -1
- package/lib/commands/project/create/project-template-path.js +1 -1
- package/lib/commands/project/create/use-copy-project-template.js +1 -1
- package/lib/commands/project/create/use-format-code.js +1 -1
- package/lib/commands/project/create/use-install-dependencies.js +1 -1
- package/lib/commands/project/index.js +1 -1
- package/lib/commands/project/init.js +1 -1
- package/lib/commands/project/upgrade.js +1 -1
- package/lib/commands/registry.js +1 -1
- package/lib/commands/run/index.js +1 -1
- package/lib/commands/schema.js +1 -1
- package/lib/commands/skill/index.js +1 -1
- package/lib/commands/sql/create.js +1 -1
- package/lib/commands/sql/delete.js +1 -1
- package/lib/commands/sql/detail.js +1 -1
- package/lib/commands/sql/exec.js +1 -1
- package/lib/commands/sql/index.js +1 -1
- package/lib/commands/sql/list.js +1 -1
- package/lib/commands/sql/pull.js +1 -1
- package/lib/commands/sql/push.js +1 -1
- package/lib/commands/sql/save.js +1 -1
- package/lib/commands/sql/shared.js +1 -1
- package/lib/commands/sql/status.js +1 -1
- package/lib/commands/sql/validate.js +1 -1
- package/lib/config/schema.js +1 -1
- package/lib/constant/cdn.js +1 -1
- package/lib/constant/cli.js +1 -1
- package/lib/constant/defaults.js +1 -1
- package/lib/constant/domain.js +1 -1
- package/lib/constant/env.js +1 -1
- package/lib/constant/output.js +1 -1
- package/lib/constant/paths.js +1 -1
- package/lib/constant/risk.js +1 -1
- package/lib/context.js +1 -1
- package/lib/core/alias-resolver.js +1 -1
- package/lib/core/api-client.js +1 -1
- package/lib/core/bff/config.js +1 -1
- package/lib/core/bff/file-system.js +1 -1
- package/lib/core/bff/hash.js +1 -1
- package/lib/core/bff/lock.js +1 -1
- package/lib/core/bff/utils.js +1 -1
- package/lib/core/db-resolver.js +1 -1
- package/lib/core/page/file-system.js +1 -1
- package/lib/core/page/hash.js +1 -1
- package/lib/core/page/lock.js +1 -1
- package/lib/core/sql-sync/config.js +1 -1
- package/lib/core/sql-sync/file-system.js +1 -1
- package/lib/core/sql-sync/hash.js +1 -1
- package/lib/core/sql-sync/lock.js +1 -1
- package/lib/core/sql-sync/utils.js +1 -1
- package/lib/core/sql-validator.js +1 -1
- package/lib/errors.js +1 -1
- package/lib/framework/build-all-flags.js +1 -1
- package/lib/framework/flags.js +1 -1
- package/lib/framework/help.js +1 -1
- package/lib/framework/index.js +1 -1
- package/lib/framework/output.js +1 -1
- package/lib/framework/response.js +1 -1
- package/lib/framework/runner-alias.js +1 -1
- package/lib/framework/runner.js +1 -1
- package/lib/framework/schema-export.js +1 -1
- package/lib/framework/types.js +1 -1
- package/lib/generated/build-info.js +1 -1
- package/lib/help.js +1 -1
- package/lib/skills/main.js +1 -1
- package/lib/skills/npx-skills-add.js +1 -1
- package/lib/telemetry/cli-command-trace.js +1 -1
- package/lib/telemetry/cli-help-trace.js +1 -1
- package/lib/telemetry/ensure-cli-otel-config.js +1 -1
- package/lib/telemetry/register-otel-exit-shutdown.js +1 -1
- package/lib/telemetry/send-cli-trace-log.js +1 -1
- package/lib/telemetry/send-platform-issue-collect-log.js +1 -1
- package/lib/utils/ai_config.js +1 -1
- package/lib/utils/apply-jq-filter.js +1 -1
- package/lib/utils/cdn-config.js +1 -1
- package/lib/utils/check-sdk-version.js +1 -1
- package/lib/utils/cli-version-check.js +1 -1
- package/lib/utils/cli-version-policy.js +1 -1
- package/lib/utils/config.js +1 -1
- package/lib/utils/copy-directory.js +1 -1
- package/lib/utils/entity-with-id.js +1 -1
- package/lib/utils/file-utils.js +1 -1
- package/lib/utils/guides-cdn.js +1 -1
- package/lib/utils/http-client.js +1 -1
- package/lib/utils/is-non-interactive.js +1 -1
- package/lib/utils/logger.js +1 -1
- package/lib/utils/params.js +1 -1
- package/lib/utils/platform.js +1 -1
- package/lib/utils/rules-cdn.js +1 -1
- package/lib/utils/sleep.js +1 -1
- package/lib/utils/template-replacer.js +1 -1
- package/lib/utils/version.js +1 -1
- package/lib/utils/with-active-cookie.js +1 -1
- package/lib/utils/write-cli-side-channel.js +1 -1
- package/package.json +1 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4805da,_0x3970c8){const _0x19e5b2=a83_0x4395,_0x44af0b=_0x4805da();while(!![]){try{const _0x4e871f=parseInt(_0x19e5b2(0xd2))/0x1+-parseInt(_0x19e5b2(0xb8))/0x2*(parseInt(_0x19e5b2(0xb4))/0x3)+parseInt(_0x19e5b2(0xc3))/0x4+parseInt(_0x19e5b2(0xb1))/0x5*(parseInt(_0x19e5b2(0xc9))/0x6)+-parseInt(_0x19e5b2(0xc6))/0x7+parseInt(_0x19e5b2(0xc7))/0x8*(parseInt(_0x19e5b2(0xbd))/0x9)+parseInt(_0x19e5b2(0xb0))/0xa*(-parseInt(_0x19e5b2(0xb7))/0xb);if(_0x4e871f===_0x3970c8)break;else _0x44af0b['push'](_0x44af0b['shift']());}catch(_0x2564e8){_0x44af0b['push'](_0x44af0b['shift']());}}}(a83_0xf878,0x8f183));import a83_0x16e2c2 from'chalk';import{checkbox,input,confirm}from'@inquirer/prompts';function a83_0x4395(_0x249e61,_0xdbfeca){_0x249e61=_0x249e61-0xac;const _0xf8788e=a83_0xf878();let _0x43955d=_0xf8788e[_0x249e61];return _0x43955d;}import a83_0x19ef49 from'ora';import{isUrlReachable}from'../../../commands/menu/shared/valid-url.js';import{CliErrors}from'../../../errors.js';function onCancel(_0x37a6fe){const _0x592cd1=a83_0x4395;return _0x37a6fe[_0x592cd1(0xb2)](_0x4357d8=>{const _0x4063be=_0x592cd1;if(_0x4357d8?.[_0x4063be(0xbe)]===_0x4063be(0xb3))throw CliErrors[_0x4063be(0xd4)](_0x4063be(0xb5));throw _0x4357d8;});}export function startSpinner(_0x447d8f){const _0x35a4d0=a83_0x4395;return a83_0x19ef49({'text':_0x447d8f,'color':'cyan'})[_0x35a4d0(0xcf)]();}export function stopSpinner(_0x3c93f2,_0x5c8596,_0x215de5){const _0x1323bf=a83_0x4395;_0x215de5?_0x3c93f2[_0x1323bf(0xae)](_0x5c8596):_0x3c93f2[_0x1323bf(0xd3)](_0x5c8596);}export async function askConfirm(_0x33a957){return onCancel(confirm({'message':_0x33a957,'theme':{'prefix':''}}));}function a83_0xf878(){const _0xde21f2=['60009VdNTTc','Cancelled.','error','18197102bidExu','6DzKrQO','filter','includes','No\x20menus\x20selected.','green','574038ltUYmp','name','No\x20local\x20pages\x20found.','This\x20command\x20requires\x20an\x20interactive\x20terminal.\x20','path','isTTY','3684048ULRqne','length','\x20\x20Checking\x20CSS\x20URL\x20reachability...','1347199DHbpvI','8LigOwi','\x20\x20CSS\x20URL:','366ABdxHj','\x20\x20✗\x20JS\x20URL\x20is\x20unreachable','gray','\x20\x20✗\x20CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL','test','label','start','red','has','856040omZfeG','fail','cancelled','\x20\x20Checking\x20JS\x20URL\x20reachability...','trim','Use\x20--yes\x20to\x20run\x20in\x20non-interactive\x20mode,\x20or\x20pipe\x20data\x20via\x20--params.','succeed','JS\x20URL\x20checked','10dzkzno','53445LCujjB','catch','ExitPromptError'];a83_0xf878=function(){return _0xde21f2;};return a83_0xf878();}export async function askJsUrl(_0x1e484f){const _0x148dae=a83_0x4395;while(!![]){const _0x3f5e84=await onCancel(input({'message':'\x20\x20JS\x20URL:','default':_0x1e484f,'theme':{'prefix':''}}));if(_0x3f5e84['trim']()==='')throw CliErrors[_0x148dae(0xd4)](_0x148dae(0xb5));if(!/^https:\/\/.+\.js(\?.*)?$/[_0x148dae(0xcd)](_0x3f5e84['trim']())){console[_0x148dae(0xb6)](a83_0x16e2c2[_0x148dae(0xd0)]('\x20\x20✗\x20JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL'));continue;}const _0x881186=startSpinner(_0x148dae(0xd5));try{const _0x53fcc0=await isUrlReachable(_0x3f5e84['trim']());stopSpinner(_0x881186,_0x148dae(0xaf),_0x53fcc0);if(!_0x53fcc0){console[_0x148dae(0xb6)](a83_0x16e2c2['red'](_0x148dae(0xca)));continue;}return _0x3f5e84[_0x148dae(0xac)]();}catch(_0x163b21){stopSpinner(_0x881186,'JS\x20URL\x20check\x20failed',![]);throw _0x163b21;}}}export async function askCssUrl(_0x37d172){const _0x41cf5e=a83_0x4395;while(!![]){const _0x3d6380=await onCancel(input({'message':_0x41cf5e(0xc8),'default':_0x37d172,'theme':{'prefix':''}}));if(_0x3d6380[_0x41cf5e(0xac)]()==='')throw CliErrors[_0x41cf5e(0xd4)]('Cancelled.');if(!/^https:\/\/.+\.css(\?.*)?$/[_0x41cf5e(0xcd)](_0x3d6380[_0x41cf5e(0xac)]())){console[_0x41cf5e(0xb6)](a83_0x16e2c2['red'](_0x41cf5e(0xcc)));continue;}const _0x3017d8=startSpinner(_0x41cf5e(0xc5));try{const _0xef2e77=await isUrlReachable(_0x3d6380[_0x41cf5e(0xac)]());stopSpinner(_0x3017d8,'CSS\x20URL\x20checked',_0xef2e77);if(!_0xef2e77){console[_0x41cf5e(0xb6)](a83_0x16e2c2['red']('\x20\x20✗\x20CSS\x20URL\x20is\x20unreachable'));continue;}return _0x3d6380[_0x41cf5e(0xac)]();}catch(_0x396d63){stopSpinner(_0x3017d8,'CSS\x20URL\x20check\x20failed',![]);throw _0x396d63;}}}export async function selectPages(_0x2c9832,_0x11ccf2,_0x2dd41b){const _0x1d0cf2=a83_0x4395,_0x108541=_0x2c9832['map'](_0x35cdfe=>({'name':_0x35cdfe['label']+'\x20\x20'+(_0x11ccf2[_0x1d0cf2(0xd1)](_0x35cdfe[_0x1d0cf2(0xc1)])?a83_0x16e2c2[_0x1d0cf2(0xcb)]('[already\x20on\x20platform]'):a83_0x16e2c2[_0x1d0cf2(0xbc)]('[new]')),'value':_0x35cdfe['label'],'checked':_0x2dd41b?_0x2dd41b[_0x1d0cf2(0xba)](_0x35cdfe['label']):!_0x11ccf2[_0x1d0cf2(0xd1)](_0x35cdfe[_0x1d0cf2(0xc1)])}));if(_0x108541[_0x1d0cf2(0xc4)]===0x0)throw new Error(_0x1d0cf2(0xbf));const _0x4a17df=await onCancel(checkbox({'message':'\x20\x20Select\x20menus\x20to\x20sync\x20(space\x20to\x20toggle,\x20a=all,\x20i=invert):','choices':_0x108541,'loop':![],'theme':{'prefix':''}}));if(_0x4a17df[_0x1d0cf2(0xc4)]===0x0)throw new Error(_0x1d0cf2(0xbb));return _0x2c9832[_0x1d0cf2(0xb9)](_0x830b01=>_0x4a17df[_0x1d0cf2(0xba)](_0x830b01[_0x1d0cf2(0xce)]));}export function isInteractive(){const _0x3b2fd8=a83_0x4395;return process['stdin'][_0x3b2fd8(0xc2)]===!![];}export function requireInteractive(){const _0x20befb=a83_0x4395;if(!isInteractive())throw new Error(_0x20befb(0xc0)+_0x20befb(0xad));}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x36d69a,_0x432014){const _0x51c430=a84_0x5946,_0x15e715=_0x36d69a();while(!![]){try{const _0x17c6d1=-parseInt(_0x51c430(0xd2))/0x1+parseInt(_0x51c430(0xd6))/0x2+parseInt(_0x51c430(0xe0))/0x3*(parseInt(_0x51c430(0xd8))/0x4)+-parseInt(_0x51c430(0xe6))/0x5*(parseInt(_0x51c430(0xd7))/0x6)+-parseInt(_0x51c430(0xe9))/0x7*(-parseInt(_0x51c430(0xdf))/0x8)+-parseInt(_0x51c430(0xe7))/0x9+parseInt(_0x51c430(0xd4))/0xa*(parseInt(_0x51c430(0xe5))/0xb);if(_0x17c6d1===_0x432014)break;else _0x15e715['push'](_0x15e715['shift']());}catch(_0x5ee896){_0x15e715['push'](_0x15e715['shift']());}}}(a84_0x179d,0xd1a10));function a84_0x5946(_0x3417c7,_0x19df63){_0x3417c7=_0x3417c7-0xd2;const _0x179da4=a84_0x179d();let _0x5946e5=_0x179da4[_0x3417c7];return _0x5946e5;}function a84_0x179d(){const _0x3c452d=['concat','5028037fXcHza','match','749892wfWcoO','utf-8','8118510CXNSpo','path','273604AUXZEe','24bWACmK','4njDUdF','trim','slice','\x5c.displayName\x5cs*=\x5cs*[\x22\x27]([^\x22\x27]+)[\x22\x27]','.tsx','push','isDirectory','8FFyuni','535917kjEVeT','forEach','join','endsWith','replace','33XEOvnR','1248035bmsKkS','7760925MiWzEQ'];a84_0x179d=function(){return _0x3c452d;};return a84_0x179d();}import{readdirSync,statSync,readFileSync}from'fs';import{join,relative,resolve,sep}from'path';const pagesDir=resolve(process['cwd'](),'src/pages');export function extractTitleFromComment(_0x573e97){const _0xdce5fe=a84_0x5946;try{const _0x2fc815=readFileSync(_0x573e97,_0xdce5fe(0xd3)),_0x28c3e4=_0x2fc815[_0xdce5fe(0xea)](/^\s*\/\*\*?([\s\S]*?)\*\//);if(_0x28c3e4&&_0x28c3e4[0x1]){const _0xbaa0a8=_0x28c3e4[0x1],_0x327c9e=_0xbaa0a8['match'](/^\s*\*?\s*title\s*:\s*(.+)/im);if(_0x327c9e&&_0x327c9e[0x1])return _0x327c9e[0x1][_0xdce5fe(0xd9)]();}let _0x460523=null;const _0x1e7ae3=_0x2fc815[_0xdce5fe(0xea)](/export\s+default\s+([A-Z][a-zA-Z0-9]*)/);_0x1e7ae3&&_0x1e7ae3[0x1]&&(_0x460523=_0x1e7ae3[0x1]);if(!_0x460523){const _0x2947f2=_0x2fc815[_0xdce5fe(0xea)](/export\s+default\s+function\s+([A-Z][a-zA-Z0-9]*)/);_0x2947f2&&_0x2947f2[0x1]&&(_0x460523=_0x2947f2[0x1]);}if(_0x460523){const _0x3fa6ee=new RegExp('\x5cb'+_0x460523+_0xdce5fe(0xdb)),_0x580b27=_0x2fc815[_0xdce5fe(0xea)](_0x3fa6ee);if(_0x580b27&&_0x580b27[0x1])return _0x580b27[0x1];return _0x460523;}return null;}catch(_0x5cffc9){return null;}}export function getLocalPages(_0x3500d2=pagesDir,_0xa562c9=pagesDir){const _0x494c07=a84_0x5946;let _0x11233f=[];const _0x2ab129=readdirSync(_0x3500d2);return _0x2ab129[_0x494c07(0xe1)](_0x3f2934=>{const _0xe0cf9c=_0x494c07,_0x554aab=join(_0x3500d2,_0x3f2934),_0x4004d3=statSync(_0x554aab);if(_0x4004d3&&_0x4004d3[_0xe0cf9c(0xde)]())_0x11233f=_0x11233f[_0xe0cf9c(0xe8)](getLocalPages(_0x554aab,_0xa562c9));else{if(_0x3f2934[_0xe0cf9c(0xe3)](_0xe0cf9c(0xdc))){let _0x1f21e7=relative(_0xa562c9,_0x554aab);_0x1f21e7[_0xe0cf9c(0xe3)]('index.tsx')?_0x1f21e7=_0x1f21e7[_0xe0cf9c(0xe4)](/index\.tsx$/,''):_0x1f21e7=_0x1f21e7[_0xe0cf9c(0xe4)](/\.tsx$/,'');_0x1f21e7[_0xe0cf9c(0xe3)](sep)&&(_0x1f21e7=_0x1f21e7[_0xe0cf9c(0xda)](0x0,-0x1));const _0x12574e=_0x1f21e7['split'](sep)[_0xe0cf9c(0xe2)]('/'),_0x57a31a=extractTitleFromComment(_0x554aab),_0x1a32df=_0x57a31a||_0x12574e;_0x11233f[_0xe0cf9c(0xdd)]({'path':_0x12574e['replaceAll']('$',':'),'label':_0x1a32df});}}}),_0x11233f['filter'](_0x1175fe=>_0x1175fe[_0x494c07(0xd5)]!=='');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x395b7d,_0x3bb334){const _0x313927=a85_0x5911,_0x4f02ea=_0x395b7d();while(!![]){try{const _0x7e2c46=parseInt(_0x313927(0x1ba))/0x1*(parseInt(_0x313927(0x1b9))/0x2)+-parseInt(_0x313927(0x1af))/0x3*(-parseInt(_0x313927(0x1b0))/0x4)+parseInt(_0x313927(0x1ad))/0x5+parseInt(_0x313927(0x1bf))/0x6*(parseInt(_0x313927(0x1b2))/0x7)+-parseInt(_0x313927(0x1ae))/0x8+-parseInt(_0x313927(0x1be))/0x9+parseInt(_0x313927(0x1c6))/0xa*(parseInt(_0x313927(0x1c2))/0xb);if(_0x7e2c46===_0x3bb334)break;else _0x4f02ea['push'](_0x4f02ea['shift']());}catch(_0x389444){_0x4f02ea['push'](_0x4f02ea['shift']());}}}(a85_0x48d6,0x74acb));import{getLocalPages}from'../../../commands/menu/shared/local-pages.js';function a85_0x5911(_0x256203,_0x8265cb){_0x256203=_0x256203-0x1ab;const _0x48d65b=a85_0x48d6();let _0x5911ca=_0x48d65b[_0x256203];return _0x5911ca;}import{getOnlineMenuList,createMenus,updateMenuCdnUrl}from'../../../commands/menu/shared/service.js';import{isUrlReachable,isValidCssHttpsUrl,isValidJsHttpsUrl}from'../../../commands/menu/shared/valid-url.js';export function validateJsUrl(_0x952454){const _0x28813e=a85_0x5911,_0x1c98b6=[];return!isValidJsHttpsUrl(_0x952454)&&_0x1c98b6[_0x28813e(0x1b8)]('JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL'),{'ok':_0x1c98b6['length']===0x0,'errors':_0x1c98b6};}export function validateCssUrl(_0x50c8a1){const _0xd44978=a85_0x5911,_0x7e1718=[];return!isValidCssHttpsUrl(_0x50c8a1)&&_0x7e1718['push'](_0xd44978(0x1c4)),{'ok':_0x7e1718[_0xd44978(0x1b5)]===0x0,'errors':_0x7e1718};}export async function validateJsUrlReachable(_0x1b01bc){const _0x3bd46e=a85_0x5911,_0x1a7c7b=validateJsUrl(_0x1b01bc);if(!_0x1a7c7b['ok'])return _0x1a7c7b;const _0x660b08=await isUrlReachable(_0x1b01bc);if(!_0x660b08)_0x1a7c7b['errors']['push'](_0x3bd46e(0x1ac));return{'ok':_0x1a7c7b[_0x3bd46e(0x1b1)][_0x3bd46e(0x1b5)]===0x0,'errors':_0x1a7c7b[_0x3bd46e(0x1b1)]};}export async function validateCssUrlReachable(_0x382e08){const _0x9e7a7a=a85_0x5911,_0x40287d=validateCssUrl(_0x382e08);if(!_0x40287d['ok'])return _0x40287d;const _0x3d2c22=await isUrlReachable(_0x382e08);if(!_0x3d2c22)_0x40287d[_0x9e7a7a(0x1b1)][_0x9e7a7a(0x1b8)]('CSS\x20URL\x20is\x20unreachable');return{'ok':_0x40287d[_0x9e7a7a(0x1b1)][_0x9e7a7a(0x1b5)]===0x0,'errors':_0x40287d['errors']};}function a85_0x48d6(){const _0x519db3=['length','label','rejected','push','4iGITWp','165777IZhSLL','status','has','join','4774932OHPTEZ','12oMYkCO','value','filter','30701GPVtOW','path','CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL','allSettled','1130iWenzA','trim','No\x20local\x20pages\x20matched\x20labels:\x20','map','JS\x20URL\x20is\x20unreachable','1993675suYzrZ','4534056jaOJul','573dWiqJt','512kUDXDd','errors','1767794mErvHs','fulfilled','resources'];a85_0x48d6=function(){return _0x519db3;};return a85_0x48d6();}export function buildCompareRows(_0x2d44ca,_0x1df296){const _0x77841a=a85_0x5911;return _0x2d44ca[_0x77841a(0x1ab)](_0x25f006=>({'label':_0x25f006['label'],'path':_0x25f006[_0x77841a(0x1c3)],'local':!![],'online':_0x1df296['has'](_0x25f006['path'])}));}export function filterNewPages(_0x40fe56,_0x17092f,_0x47a30e){const _0x455cf9=a85_0x5911;if(_0x47a30e&&_0x47a30e[_0x455cf9(0x1b5)]>0x0){const _0x3fcc69=new Set(_0x47a30e['map'](_0x28c397=>_0x28c397[_0x455cf9(0x1c7)]())),_0x21e3a2=_0x40fe56[_0x455cf9(0x1c1)](_0x2b1f89=>_0x3fcc69[_0x455cf9(0x1bc)](_0x2b1f89[_0x455cf9(0x1b6)]));if(_0x21e3a2[_0x455cf9(0x1b5)]===0x0)throw new Error(_0x455cf9(0x1c8)+[..._0x3fcc69][_0x455cf9(0x1bd)](',\x20'));return _0x21e3a2;}return _0x40fe56[_0x455cf9(0x1c1)](_0x59d2b6=>!_0x17092f[_0x455cf9(0x1bc)](_0x59d2b6[_0x455cf9(0x1c3)]));}export function filterPagesByLabels(_0x297f5d,_0x4e074f){const _0x8b776d=a85_0x5911,_0x5642ce=[],_0x44efc3=[];for(const _0xce4145 of _0x4e074f){const _0x512f2b=_0xce4145[_0x8b776d(0x1c7)](),_0x19ba8f=_0x297f5d['find'](_0x5c4065=>_0x5c4065[_0x8b776d(0x1b6)]===_0x512f2b);if(_0x19ba8f)_0x5642ce[_0x8b776d(0x1b8)](_0x19ba8f);else _0x44efc3[_0x8b776d(0x1b8)](_0xce4145);}return{'matched':_0x5642ce,'unmatched':_0x44efc3};}export async function doCreateMenus(_0x437c97,_0x5ea1e5,_0x592428,_0x183f1d){const _0x6ebf78=a85_0x5911,_0x36c204=await createMenus(_0x437c97,_0x5ea1e5,_0x592428,_0x183f1d);return{'created':_0x36c204[_0x6ebf78(0x1b5)],'failed':0x0,'labels':_0x592428['map'](_0x50b055=>_0x50b055[_0x6ebf78(0x1b6)]),'menus':_0x36c204};}export function filterMenusWithResources(_0x73c134){const _0x34e968=a85_0x5911;return _0x73c134[_0x34e968(0x1c1)](_0x330daf=>_0x330daf['resources']['length']>0x0);}export async function doUpdateCdnUrls(_0x344aa1,_0x105d35,_0x113fba,_0x5d9c69){const _0x3efb9f=a85_0x5911,_0x231b95=_0x113fba[_0x3efb9f(0x1c1)](_0x24cd09=>_0x24cd09[_0x3efb9f(0x1b4)][_0x3efb9f(0x1b5)]>0x0),_0xc84676=await Promise[_0x3efb9f(0x1c5)](_0x231b95[_0x3efb9f(0x1ab)](_0x473190=>updateMenuCdnUrl(_0x344aa1,_0x105d35,{'id':_0x473190['id'],'label':_0x473190[_0x3efb9f(0x1b6)],'path':_0x473190['path'],'resources':_0x5d9c69}))),_0x3e274e=_0xc84676[_0x3efb9f(0x1c1)](_0x352e8b=>_0x352e8b[_0x3efb9f(0x1bb)]===_0x3efb9f(0x1b3))[_0x3efb9f(0x1ab)](_0x16a24a=>_0x16a24a[_0x3efb9f(0x1c0)]),_0x2d6a06=_0xc84676['filter'](_0x5789ae=>_0x5789ae[_0x3efb9f(0x1bb)]===_0x3efb9f(0x1b7))[_0x3efb9f(0x1b5)];return{'updated':_0x3e274e[_0x3efb9f(0x1b5)],'failed':_0x2d6a06,'menus':_0x3e274e};}export async function fetchMenuData(_0x3a4b22,_0x4823cd){const _0x29bc64=a85_0x5911,_0x2e9c2e=getLocalPages(),_0x449915=await getOnlineMenuList(_0x3a4b22,_0x4823cd),_0x149bad=new Set(_0x449915[_0x29bc64(0x1ab)](_0x3b28ed=>_0x3b28ed[_0x29bc64(0x1c3)]));return{'localPages':_0x2e9c2e,'onlineMenuList':_0x449915,'onlinePaths':_0x149bad};}export async function fetchOnlineMenuList(_0xa4979d,_0x3e227c){return getOnlineMenuList(_0xa4979d,_0x3e227c);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x61e0e,_0x38c6ce){const _0x1cb3be=a86_0xc185,_0x58b194=_0x61e0e();while(!![]){try{const _0x158b82=parseInt(_0x1cb3be(0x8a))/0x1*(parseInt(_0x1cb3be(0xac))/0x2)+parseInt(_0x1cb3be(0x9f))/0x3+parseInt(_0x1cb3be(0x9d))/0x4+-parseInt(_0x1cb3be(0xb0))/0x5+parseInt(_0x1cb3be(0xa3))/0x6*(parseInt(_0x1cb3be(0x8b))/0x7)+parseInt(_0x1cb3be(0xa0))/0x8*(parseInt(_0x1cb3be(0x8c))/0x9)+-parseInt(_0x1cb3be(0xb1))/0xa;if(_0x158b82===_0x38c6ce)break;else _0x58b194['push'](_0x58b194['shift']());}catch(_0x2ea838){_0x58b194['push'](_0x58b194['shift']());}}}(a86_0x4d66,0x83fcc));function a86_0xc185(_0x4b9542,_0x500338){_0x4b9542=_0x4b9542-0x89;const _0x4d6600=a86_0x4d66();let _0xc18526=_0x4d6600[_0x4b9542];return _0xc18526;}import{getApiDomain}from'../../../constant/domain.js';import{getEnv,isProduction}from'../../../constant/env.js';function a86_0x4d66(){const _0x57a376=['create-menus','extend','procode','Fetched\x20','info','Fetching\x20online\x20menu\x20list...\x20(appCode:\x20','Menu\x20created\x20successfully:\x20','/smartapi/menu/create','label','POST','update-menu-cdn-url','Creating\x20menu:\x20','path','/smartapi/menu/find?appCode=','2167384tddrCT','children','1675392yVgQYO','7992800oDpOET','import','resources','42CEKpHt','Fetch\x20menu\x20list','\x20online\x20menus\x20successfully','length','Batch\x20menu\x20creation\x20completed,\x20total\x20','Updating\x20menu\x20asset\x20links:\x20','stringify','parse','get-online-menu-list','250924MHqPPi','map','flat','create-menu','2291725HvOmjB','20484060WFRFXn','Create\x20menu\x20\x22','Fetching\x20daily\x20menu\x20list...\x20(appCode:\x20','7oIykCq','69727AifSom','9VUyyOj','Update\x20menu\x20assets\x20\x22','Start\x20batch\x20menu\x20creation,\x20total\x20'];a86_0x4d66=function(){return _0x57a376;};return a86_0x4d66();}import{logger}from'../../../utils/logger.js';import{platformFetch}from'../../../core/api-client.js';export async function getOnlineMenuList(_0x23f83c,_0x473d23){const _0x3fed05=a86_0xc185,_0x448a5a=getEnv();logger[_0x3fed05(0x93)](_0x3fed05(0xab),isProduction(_0x448a5a)?_0x3fed05(0x94)+_0x23f83c+')':_0x3fed05(0x89)+_0x23f83c+')');const _0x1b49e8=await platformFetch(getApiDomain()+_0x3fed05(0x9c)+_0x23f83c,{'cookie':_0x473d23,'label':_0x3fed05(0xa4)});if(!_0x1b49e8)return logger['info'](_0x3fed05(0xab),'Server\x20returned\x20empty\x20menu\x20list'),[];return logger[_0x3fed05(0x93)](_0x3fed05(0xab),_0x3fed05(0x92)+_0x1b49e8[_0x3fed05(0xa6)]+_0x3fed05(0xa5)),_0x1b49e8[_0x3fed05(0xad)](flattenMenuItem)[_0x3fed05(0xae)]();}function flattenMenuItem(_0x504fbe){const _0x38b884=a86_0xc185;let _0x58fa75=[];try{if(_0x504fbe[_0x38b884(0x90)]?.[_0x38b884(0xa2)]){const _0x5ef51d=JSON[_0x38b884(0xaa)](_0x504fbe['extend'][_0x38b884(0xa2)]);if(Array['isArray'](_0x5ef51d))_0x58fa75=_0x5ef51d;}}catch{}const _0x39c0d0=[{'id':_0x504fbe['id'],'path':_0x504fbe[_0x38b884(0x9b)],'label':_0x504fbe[_0x38b884(0x97)],'resources':_0x58fa75}];if(_0x504fbe[_0x38b884(0x9e)]&&_0x504fbe['children'][_0x38b884(0xa6)]>0x0)for(const _0x294e01 of _0x504fbe[_0x38b884(0x9e)]){_0x39c0d0['push'](...flattenMenuItem(_0x294e01));}return _0x39c0d0;}export async function createMenu(_0x434376,_0x49a21e,_0x1f7af8){const _0x504d43=a86_0xc185;logger['info'](_0x504d43(0xaf),_0x504d43(0x9a)+_0x1f7af8[_0x504d43(0x97)]+'\x20('+_0x1f7af8[_0x504d43(0x9b)]+')');const _0x29aea0={'appCode':_0x434376,'type':_0x504d43(0x91),'sort':0x0,'extend':{'loadScriptMode':_0x504d43(0xa1),'resources':_0x1f7af8['resources']?JSON[_0x504d43(0xa9)](_0x1f7af8[_0x504d43(0xa2)]):undefined},..._0x1f7af8},_0x1a7b9b=await platformFetch(getApiDomain()+_0x504d43(0x96),{'method':'POST','body':_0x29aea0,'cookie':_0x49a21e,'label':_0x504d43(0xb2)+_0x1f7af8[_0x504d43(0x97)]+'\x22'});return logger['info'](_0x504d43(0xaf),'Menu\x20created\x20successfully:\x20'+_0x1f7af8['label']),_0x1a7b9b;}async function createSingleMenu(_0x18477c,_0x42d905,_0x50304f,_0x2eee91){const _0x27de70=a86_0xc185,_0x4b3825={'appCode':_0x18477c,'type':_0x27de70(0x91),'sort':0x0,'extend':{'loadScriptMode':_0x27de70(0xa1),'resources':_0x2eee91?JSON[_0x27de70(0xa9)](_0x2eee91):undefined},'label':_0x50304f[_0x27de70(0x97)],'path':_0x50304f[_0x27de70(0x9b)]},_0xe3263c=await platformFetch(getApiDomain()+_0x27de70(0x96),{'method':'POST','body':_0x4b3825,'cookie':_0x42d905,'label':_0x27de70(0xb2)+_0x50304f[_0x27de70(0x97)]+'\x22'});return logger[_0x27de70(0x93)](_0x27de70(0xaf),_0x27de70(0x95)+_0x50304f[_0x27de70(0x97)]),_0xe3263c;}export async function createMenus(_0x1cfd7e,_0x1843ef,_0x2d0e5f,_0x129a19){const _0xfad373=a86_0xc185;logger[_0xfad373(0x93)]('create-menus',_0xfad373(0x8e)+_0x2d0e5f['length']);const _0x10879e=await Promise['all'](_0x2d0e5f[_0xfad373(0xad)](_0x3a8b6d=>createSingleMenu(_0x1cfd7e,_0x1843ef,_0x3a8b6d,_0x129a19)));return logger[_0xfad373(0x93)](_0xfad373(0x8f),_0xfad373(0xa7)+_0x2d0e5f[_0xfad373(0xa6)]),_0x10879e;}export async function updateMenuCdnUrl(_0x331a0d,_0xf09c7,_0x28a518){const _0x4b0823=a86_0xc185;logger[_0x4b0823(0x93)](_0x4b0823(0x99),_0x4b0823(0xa8)+_0x28a518[_0x4b0823(0x97)]+'\x20('+_0x28a518[_0x4b0823(0x9b)]+')');const _0x16996f={'id':_0x28a518['id'],'appCode':_0x331a0d,'extend':{'loadScriptMode':_0x4b0823(0xa1),'resources':_0x28a518[_0x4b0823(0xa2)]?JSON['stringify'](_0x28a518[_0x4b0823(0xa2)]):undefined}},_0x1900bd=await platformFetch(getApiDomain()+'/smartapi/menu/update',{'method':_0x4b0823(0x98),'body':_0x16996f,'cookie':_0xf09c7,'label':_0x4b0823(0x8d)+_0x28a518['label']+'\x22'});return logger[_0x4b0823(0x93)](_0x4b0823(0x99),'Menu\x20assets\x20synced:\x20'+_0x28a518[_0x4b0823(0x97)],undefined),_0x1900bd;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a87_0x1f93(){const _0x352ca5=['309632ZHUPSj','isArray','CSS\x20URL\x20is\x20unreachable:\x20','cssUrl','33313340VrigOY','2210824TutOYh','360OLtjJI','parse','path','data','info','string','2297820tgOLez','jsUrl','8586768HFEpMA','startsWith','join','map','has','stdin','562685McsTnj','JS\x20URL\x20is\x20unreachable:\x20','object','pages','end','2swtsIm','No\x20local\x20pages\x20matched\x20labels:\x20','\x0a\x20\x20Available\x20local\x20pages:\x20','23577bZpMat','cwd','4szaBmo','filter','selectedLabels','toString','menu-sync','trim','JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL','Menu\x20sync\x20completed','push','--params.','11ftVOQB','utf8','Start\x20non-interactive\x20menu\x20sync','length','Invalid\x20--params:\x20'];a87_0x1f93=function(){return _0x352ca5;};return a87_0x1f93();}(function(_0x4e488b,_0x4c1ebe){const _0x4d8aa6=a87_0x28f7,_0x36036f=_0x4e488b();while(!![]){try{const _0x141fdd=parseInt(_0x4d8aa6(0xd9))/0x1*(parseInt(_0x4d8aa6(0xde))/0x2)+parseInt(_0x4d8aa6(0xe1))/0x3*(parseInt(_0x4d8aa6(0xe3))/0x4)+-parseInt(_0x4d8aa6(0xfe))/0x5+-parseInt(_0x4d8aa6(0x100))/0x6+parseInt(_0x4d8aa6(0xf7))/0x7+parseInt(_0x4d8aa6(0xf2))/0x8*(-parseInt(_0x4d8aa6(0xf8))/0x9)+-parseInt(_0x4d8aa6(0xf6))/0xa*(-parseInt(_0x4d8aa6(0xed))/0xb);if(_0x141fdd===_0x4c1ebe)break;else _0x36036f['push'](_0x36036f['shift']());}catch(_0x4a3633){_0x36036f['push'](_0x36036f['shift']());}}}(a87_0x1f93,0xbe26a));import{getLocalPages}from'../../../commands/menu/shared/local-pages.js';import{getOnlineMenuList,createMenus}from'../../../commands/menu/shared/service.js';import{isUrlReachable,isValidCssHttpsUrl,isValidJsHttpsUrl}from'../../../commands/menu/shared/valid-url.js';function a87_0x28f7(_0x3f81e0,_0x4a2571){_0x3f81e0=_0x3f81e0-0xd8;const _0x1f93e0=a87_0x1f93();let _0x28f710=_0x1f93e0[_0x3f81e0];return _0x28f710;}import{logger}from'../../../utils/logger.js';function validateParams(_0x927b37){const _0x3f0b49=a87_0x28f7,_0x8288bd=[];return _0x927b37[_0x3f0b49(0xff)]&&!isValidJsHttpsUrl(_0x927b37[_0x3f0b49(0xff)])&&_0x8288bd['push']({'field':_0x3f0b49(0xff),'message':_0x3f0b49(0xe9)}),_0x927b37[_0x3f0b49(0xf5)]&&!isValidCssHttpsUrl(_0x927b37[_0x3f0b49(0xf5)])&&_0x8288bd[_0x3f0b49(0xeb)]({'field':_0x3f0b49(0xf5),'message':'CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL'}),_0x8288bd;}export async function runMenuSyncCore(_0x77e5e,_0x12c3af,_0x351346=[],_0x55e635){const _0x52836c=a87_0x28f7,_0x521652=parseParamsFlag(_0x55e635),_0x51870c=_0x351346[_0x52836c(0xf0)]>0x0?_0x351346:_0x521652[_0x52836c(0xe5)],_0x274201=_0x521652['jsUrl'],_0x207506=_0x521652[_0x52836c(0xf5)],_0x501071=[];if(_0x274201)_0x501071[_0x52836c(0xeb)](_0x274201);if(_0x207506)_0x501071[_0x52836c(0xeb)](_0x207506);const _0x48469f=validateParams(_0x521652);if(_0x48469f[_0x52836c(0xf0)]>0x0){const _0x24d027=_0x48469f[_0x52836c(0x103)](_0x5f56b0=>_0x52836c(0xec)+_0x5f56b0['field']+':\x20'+_0x5f56b0['message'])[_0x52836c(0x102)](';\x20');throw new Error(_0x52836c(0xf1)+_0x24d027);}logger['setLogPath'](process[_0x52836c(0xe2)]()),logger[_0x52836c(0xfc)](_0x52836c(0xe7),_0x52836c(0xef),{'appCode':_0x77e5e,'selectedCount':_0x51870c?.[_0x52836c(0xf0)],'jsUrl':_0x274201,'cssUrl':_0x207506});if(_0x274201){const _0xc1d42d=await isUrlReachable(_0x274201);if(!_0xc1d42d)throw new Error(_0x52836c(0xda)+_0x274201);}if(_0x207506){const _0xd4f272=await isUrlReachable(_0x207506);if(!_0xd4f272)throw new Error(_0x52836c(0xf4)+_0x207506);}const _0x3480c2=getLocalPages();if(_0x3480c2['length']===0x0)return{'created':0x0,'skipped':!![],'targetPages':[]};const _0x10c7c6=await getOnlineMenuList(_0x77e5e,_0x12c3af),_0x595e89=new Set(_0x10c7c6['map'](_0x1ece58=>_0x1ece58['path']));let _0x59613f;if(_0x51870c&&_0x51870c[_0x52836c(0xf0)]>0x0){const _0x42f62a=new Set(_0x51870c['map'](_0x2febc6=>_0x2febc6[_0x52836c(0xe8)]()));_0x59613f=_0x3480c2[_0x52836c(0xe4)](_0x42b58e=>_0x42f62a[_0x52836c(0x104)](_0x42b58e['label']));if(_0x59613f[_0x52836c(0xf0)]===0x0){const _0x218171=_0x3480c2['map'](_0x4ddd8c=>_0x4ddd8c['label'])[_0x52836c(0x102)](',\x20');throw new Error(_0x52836c(0xdf)+[..._0x42f62a]['join'](',\x20')+_0x52836c(0xe0)+_0x218171);}}else _0x59613f=_0x3480c2[_0x52836c(0xe4)](_0x14609b=>!_0x595e89[_0x52836c(0x104)](_0x14609b[_0x52836c(0xfa)]));if(_0x59613f['length']===0x0)return{'created':0x0,'skipped':!![],'targetPages':[]};const _0x4760a7=await createMenus(_0x77e5e,_0x12c3af,_0x59613f,_0x501071[_0x52836c(0xf0)]>0x0?_0x501071:undefined);return logger[_0x52836c(0xfc)](_0x52836c(0xe7),_0x52836c(0xea),{'count':_0x59613f['length'],'resources':_0x501071}),{'created':_0x4760a7['length'],'skipped':![],'targetPages':_0x59613f,'menus':_0x4760a7};}export async function readPageLabelsFromStdin(){const _0x14a287=a87_0x28f7;if(!process[_0x14a287(0xd8)]['isTTY']&&!process['stdin']['readableEnded'])return new Promise(_0x2a60c1=>{const _0xd61569=_0x14a287,_0x3514ed=[];process['stdin']['on'](_0xd61569(0xfb),_0x3c2e60=>_0x3514ed['push'](_0x3c2e60)),process[_0xd61569(0xd8)]['on'](_0xd61569(0xdd),()=>{const _0x2fc00b=_0xd61569,_0x55654a=Buffer['concat'](_0x3514ed)[_0x2fc00b(0xe6)](_0x2fc00b(0xee)),_0x396b82=_0x55654a['split']('\x0a')[_0x2fc00b(0x103)](_0x37f0ea=>_0x37f0ea[_0x2fc00b(0xe8)]())[_0x2fc00b(0xe4)](_0x146b07=>_0x146b07['length']>0x0&&!_0x146b07[_0x2fc00b(0x101)]('#'));_0x2a60c1(_0x396b82);}),setTimeout(()=>_0x2a60c1([]),0x1f4);});return[];}function parseParamsFlag(_0x587658){const _0x544cd3=a87_0x28f7;if(!_0x587658||typeof _0x587658!=='string')return{};try{const _0x24add3=JSON[_0x544cd3(0xf9)](_0x587658);if(typeof _0x24add3!==_0x544cd3(0xdb)||_0x24add3===null||Array[_0x544cd3(0xf3)](_0x24add3))return{};return{'selectedLabels':Array[_0x544cd3(0xf3)](_0x24add3[_0x544cd3(0xdc)])?_0x24add3[_0x544cd3(0xdc)][_0x544cd3(0x103)](String):undefined,'jsUrl':typeof _0x24add3[_0x544cd3(0xff)]===_0x544cd3(0xfd)?_0x24add3[_0x544cd3(0xff)][_0x544cd3(0xe8)]():undefined,'cssUrl':typeof _0x24add3[_0x544cd3(0xf5)]===_0x544cd3(0xfd)?_0x24add3['cssUrl'][_0x544cd3(0xe8)]():undefined};}catch{return{};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x221c61,_0xde5a8f){const _0x2a5276=a89_0x2484,_0x3fa155=_0x221c61();while(!![]){try{const _0x20a3d0=-parseInt(_0x2a5276(0xf1))/0x1+-parseInt(_0x2a5276(0x101))/0x2*(-parseInt(_0x2a5276(0x10c))/0x3)+parseInt(_0x2a5276(0xf5))/0x4+parseInt(_0x2a5276(0xe6))/0x5+parseInt(_0x2a5276(0xf2))/0x6+-parseInt(_0x2a5276(0xe5))/0x7*(-parseInt(_0x2a5276(0x105))/0x8)+-parseInt(_0x2a5276(0xe9))/0x9*(parseInt(_0x2a5276(0xe8))/0xa);if(_0x20a3d0===_0xde5a8f)break;else _0x3fa155['push'](_0x3fa155['shift']());}catch(_0x5f5908){_0x3fa155['push'](_0x3fa155['shift']());}}}(a89_0x15f6,0xccb53));import{updateMenuCdnUrl,getOnlineMenuList}from'../../../commands/menu/shared/service.js';import{isUrlReachable,isValidCssHttpsUrl,isValidJsHttpsUrl}from'../../../commands/menu/shared/valid-url.js';function a89_0x2484(_0x4be85c,_0x2ffc86){_0x4be85c=_0x4be85c-0xe5;const _0x15f649=a89_0x15f6();let _0x248466=_0x15f649[_0x4be85c];return _0x248466;}import{logger}from'../../../utils/logger.js';function validateParams(_0x2d9be9){const _0x1a4a11=a89_0x2484,_0x22c4b5=[];return _0x2d9be9[_0x1a4a11(0xf3)]&&!isValidJsHttpsUrl(_0x2d9be9['jsUrl'])&&_0x22c4b5[_0x1a4a11(0xf0)]({'field':_0x1a4a11(0xf3),'message':_0x1a4a11(0xf7)}),_0x2d9be9[_0x1a4a11(0xfd)]&&!isValidCssHttpsUrl(_0x2d9be9['cssUrl'])&&_0x22c4b5[_0x1a4a11(0xf0)]({'field':_0x1a4a11(0xfd),'message':_0x1a4a11(0xe7)}),_0x22c4b5;}export async function runMenuUpdateCore(_0x48d7d1,_0x47ac52,_0x2f9d64){const _0xb22686=a89_0x2484,_0x326523=parseUpdateParamsFlag(_0x2f9d64),_0x41c568=[];if(_0x326523[_0xb22686(0xf3)])_0x41c568[_0xb22686(0xf0)](_0x326523[_0xb22686(0xf3)]);if(_0x326523[_0xb22686(0xfd)])_0x41c568[_0xb22686(0xf0)](_0x326523[_0xb22686(0xfd)]);const _0x42236a=validateParams(_0x326523);if(_0x42236a['length']>0x0){const _0x4ca456=_0x42236a[_0xb22686(0xfc)](_0x5bead0=>_0xb22686(0xfb)+_0x5bead0['field']+':\x20'+_0x5bead0[_0xb22686(0x10a)])[_0xb22686(0xf4)](';\x20');throw new Error('Invalid\x20--params:\x20'+_0x4ca456);}logger[_0xb22686(0xfa)](process[_0xb22686(0xf9)]()),logger[_0xb22686(0x108)](_0xb22686(0xee),_0xb22686(0xff),{'appCode':_0x48d7d1,'jsUrl':_0x326523[_0xb22686(0xf3)],'cssUrl':_0x326523[_0xb22686(0xfd)]});if(_0x326523['jsUrl']){const _0x58c2a6=await isUrlReachable(_0x326523[_0xb22686(0xf3)]);if(!_0x58c2a6)throw new Error('JS\x20URL\x20is\x20unreachable:\x20'+_0x326523[_0xb22686(0xf3)]);}if(_0x326523['cssUrl']){const _0x50ccf7=await isUrlReachable(_0x326523[_0xb22686(0xfd)]);if(!_0x50ccf7)throw new Error(_0xb22686(0x10b)+_0x326523[_0xb22686(0xfd)]);}const _0x334c55=await getOnlineMenuList(_0x48d7d1,_0x47ac52),_0x40e46f=_0x334c55[_0xb22686(0x103)](_0x33ee14=>_0x33ee14[_0xb22686(0xed)][_0xb22686(0xf6)]>0x0);if(_0x40e46f[_0xb22686(0xf6)]===0x0)return{'updated':0x0,'failed':0x0,'skipped':!![]};const _0x3754fd=await Promise[_0xb22686(0x106)](_0x40e46f[_0xb22686(0xfc)](_0x3e58c7=>updateMenuCdnUrl(_0x48d7d1,_0x47ac52,{'id':_0x3e58c7['id'],'label':_0x3e58c7[_0xb22686(0x104)],'path':_0x3e58c7[_0xb22686(0x109)],'resources':_0x41c568}))),_0x543905=_0x3754fd[_0xb22686(0x103)](_0x9bca76=>_0x9bca76[_0xb22686(0xeb)]===_0xb22686(0xea))['map'](_0x4f0cbb=>_0x4f0cbb[_0xb22686(0x102)]),_0x21b22a=_0x3754fd['filter'](_0x263c0d=>_0x263c0d[_0xb22686(0xeb)]===_0xb22686(0x100))[_0xb22686(0xf6)];return logger[_0xb22686(0x108)]('menu-update',_0xb22686(0xfe),{'count':_0x40e46f[_0xb22686(0xf6)],'resources':_0x41c568}),{'updated':_0x543905[_0xb22686(0xf6)],'failed':_0x21b22a,'skipped':![],'menus':_0x543905};}function a89_0x15f6(){const _0x46d0c6=['join','6601056LfHLRh','length','JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL','parse','cwd','setLogPath','--params.','map','cssUrl','Menu\x20update\x20completed','Start\x20non-interactive\x20menu\x20update','rejected','548112TtATII','value','filter','label','84104YgqhAa','allSettled','isArray','info','path','message','CSS\x20URL\x20is\x20unreachable:\x20','9CzxbMt','721XpgHtv','708235LeKing','CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL','10oENgrS','13843611fhNqMH','fulfilled','status','trim','resources','menu-update','string','push','1453752LFhsJE','800976txOfXr','jsUrl'];a89_0x15f6=function(){return _0x46d0c6;};return a89_0x15f6();}function parseUpdateParamsFlag(_0x512bce){const _0x51b3d4=a89_0x2484;if(!_0x512bce||typeof _0x512bce!=='string')return{};try{const _0x49002b=JSON[_0x51b3d4(0xf8)](_0x512bce);if(typeof _0x49002b!=='object'||_0x49002b===null||Array[_0x51b3d4(0x107)](_0x49002b))return{};return{'jsUrl':typeof _0x49002b[_0x51b3d4(0xf3)]===_0x51b3d4(0xef)?_0x49002b[_0x51b3d4(0xf3)][_0x51b3d4(0xec)]():undefined,'cssUrl':typeof _0x49002b[_0x51b3d4(0xfd)]===_0x51b3d4(0xef)?_0x49002b[_0x51b3d4(0xfd)][_0x51b3d4(0xec)]():undefined};}catch{return{};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a90_0x18fa(){const _0x37b67b=['HEAD','920478jErtGT','711810WXohsu','192766AWaGme','7Saoqws','test','1770776KJBIys','5rgksQv','trim','610hRpvBD','87993sLvdZR','808956wsqESk','365110aYwDnA'];a90_0x18fa=function(){return _0x37b67b;};return a90_0x18fa();}function a90_0x1b23(_0x2d7beb,_0x5c6d9e){_0x2d7beb=_0x2d7beb-0x177;const _0x18fa25=a90_0x18fa();let _0x1b237f=_0x18fa25[_0x2d7beb];return _0x1b237f;}(function(_0x52c358,_0x53b9cc){const _0x1ed979=a90_0x1b23,_0x1e51a7=_0x52c358();while(!![]){try{const _0x55ed56=parseInt(_0x1ed979(0x17a))/0x1+parseInt(_0x1ed979(0x183))/0x2+-parseInt(_0x1ed979(0x179))/0x3+-parseInt(_0x1ed979(0x182))/0x4*(-parseInt(_0x1ed979(0x17e))/0x5)+-parseInt(_0x1ed979(0x178))/0x6*(-parseInt(_0x1ed979(0x17b))/0x7)+parseInt(_0x1ed979(0x17d))/0x8+parseInt(_0x1ed979(0x181))/0x9*(-parseInt(_0x1ed979(0x180))/0xa);if(_0x55ed56===_0x53b9cc)break;else _0x1e51a7['push'](_0x1e51a7['shift']());}catch(_0x17bdfc){_0x1e51a7['push'](_0x1e51a7['shift']());}}}(a90_0x18fa,0x1cf7d));export function isValidJsHttpsUrl(_0x341606){const _0x5a8f3e=a90_0x1b23;return/^https:\/\/.+\.js(\?.*)?$/[_0x5a8f3e(0x17c)](_0x341606[_0x5a8f3e(0x17f)]());}export function isValidCssHttpsUrl(_0x1c482d){const _0x2f64f7=a90_0x1b23;return/^https:\/\/.+\.css(\?.*)?$/['test'](_0x1c482d[_0x2f64f7(0x17f)]());}export async function isUrlReachable(_0x3d967e){const _0x3ffbb7=a90_0x1b23;try{const _0x451ede=await fetch(_0x3d967e,{'method':_0x3ffbb7(0x177)});return _0x451ede['ok'];}catch{return![];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a91_0x5297(){const _0x20bafe=['JSON:\x20{\x22jsUrl\x22:\x22https://...js\x22,\x22cssUrl\x22:\x22https://...css\x22,\x22pages\x22:[\x22Page1\x22]}','length','Menu\x20creation\x20failed','4437130yzDJuO','onlineMenuList','yes','14799888rolJsN','26106XXagAW','yellow','\x20created.','\x20\x20Cancelled.','appCode','!\x20No\x20local\x20pages\x20found\x20in\x20src/pages','skipped','Menu\x20sync\x20completed:\x20','434qYCYnM','4195RGmMzG','\x20failed.','\x20created,\x20','pages','boolean','Online\x20menu\x20list\x20fetched','2820928yfXHKL','cookie','\x20page(s)','Failed\x20to\x20fetch\x20online\x20menu\x20list','\x20menu(s)...','Created\x20','message','3blKFCu','cssUrl','✓\x20All\x20local\x20pages\x20are\x20already\x20on\x20platform','✓\x20Menu\x20sync\x20completed:\x20','size','map','2807848mgKRNv','749WiCtxz','flag','params','\x20and\x20CSS:\x20','str','Non-interactive:\x20auto-create\x20all\x20local\x20pages\x20not\x20yet\x20on\x20platform','jsUrl','3214395NGeXYW','created','isArray','gray','menu','string','cyan','\x20menu(s)','sync','write','\x20\x20!\x20No\x20local\x20pages\x20found,\x20please\x20create\x20pages\x20first','Sync\x20local\x20pages\x20as\x20platform\x20menus','Menu\x20sync\x20skipped','Pre-fill\x20JS/CSS\x20URLs\x20and/or\x20select\x20specific\x20pages.\x20','\x20menu(s)\x20with\x20JS:\x20','validation'];a91_0x5297=function(){return _0x20bafe;};return a91_0x5297();}const a91_0x56082c=a91_0x3494;(function(_0xd5301b,_0x2ac832){const _0x1f4ece=a91_0x3494,_0x40fd05=_0xd5301b();while(!![]){try{const _0x485901=parseInt(_0x1f4ece(0x1b9))/0x1*(parseInt(_0x1f4ece(0x1b8))/0x2)+-parseInt(_0x1f4ece(0x1c6))/0x3*(-parseInt(_0x1f4ece(0x1cc))/0x4)+parseInt(_0x1f4ece(0x1d4))/0x5+-parseInt(_0x1f4ece(0x1b0))/0x6*(-parseInt(_0x1f4ece(0x1cd))/0x7)+parseInt(_0x1f4ece(0x1bf))/0x8+-parseInt(_0x1f4ece(0x1af))/0x9+-parseInt(_0x1f4ece(0x1e7))/0xa;if(_0x485901===_0x2ac832)break;else _0x40fd05['push'](_0x40fd05['shift']());}catch(_0x509fca){_0x40fd05['push'](_0x40fd05['shift']());}}}(a91_0x5297,0xf0860));import a91_0x457d4c from'chalk';import{buildCompareRows,doCreateMenus,fetchMenuData}from'../../commands/menu/shared/logic.js';function a91_0x3494(_0x4252a5,_0x3d70b2){_0x4252a5=_0x4252a5-0x1af;const _0x529715=a91_0x5297();let _0x3494fd=_0x529715[_0x4252a5];return _0x3494fd;}import{renderCompareTable,renderSyncSummary}from'../../commands/menu/shared/compare-table.js';import{selectPages,askJsUrl,askCssUrl,askConfirm,startSpinner,stopSpinner,isInteractive,requireInteractive}from'../../commands/menu/shared/inquirer.js';import{CliErrors}from'../../errors.js';import{writeCliSideChannelLine}from'../../utils/write-cli-side-channel.js';import{runMenuSyncCore,readPageLabelsFromStdin}from'../../commands/menu/shared/sync-core.js';import{getLocalPages}from'../../commands/menu/shared/local-pages.js';export const menuSync={'service':a91_0x56082c(0x1d8),'command':a91_0x56082c(0x1dc),'description':a91_0x56082c(0x1df),'risk':a91_0x56082c(0x1dd),'flags':[{'name':a91_0x56082c(0x1cf),'type':a91_0x56082c(0x1d9),'description':a91_0x56082c(0x1e1)+a91_0x56082c(0x1e4)},{'name':a91_0x56082c(0x1e9),'type':a91_0x56082c(0x1bd),'description':a91_0x56082c(0x1d2)}],async 'execute'(_0x4a9e98){const _0x33cb16=a91_0x56082c,_0xb278a1=_0x4a9e98[_0x33cb16(0x1ce)](_0x33cb16(0x1e9)),_0x35338e=_0x4a9e98[_0x33cb16(0x1d1)](_0x33cb16(0x1cf)),_0x5af4d4=parseParams(_0x35338e),_0x54fb47=!!(_0x5af4d4[_0x33cb16(0x1d3)]||_0x5af4d4[_0x33cb16(0x1c7)]||_0x5af4d4[_0x33cb16(0x1bc)]&&_0x5af4d4['pages']['length']>0x0);if(_0xb278a1||_0x54fb47){let _0x564134=[];!isInteractive()&&!_0x5af4d4[_0x33cb16(0x1bc)]?.[_0x33cb16(0x1e5)]&&(_0x564134=await readPageLabelsFromStdin());const _0x1f2a69=await runMenuSyncCore(_0x4a9e98[_0x33cb16(0x1b4)],_0x4a9e98[_0x33cb16(0x1c0)],_0x564134[_0x33cb16(0x1e5)]>0x0?_0x564134:_0x5af4d4[_0x33cb16(0x1bc)]??[],_0x35338e);if(_0x1f2a69['skipped']){const _0x1b92ce=getLocalPages();_0x1b92ce['length']===0x0?writeCliSideChannelLine(_0x33cb16(0x1b5)):writeCliSideChannelLine(_0x33cb16(0x1c8));}else writeCliSideChannelLine(_0x33cb16(0x1c9)+_0x1f2a69[_0x33cb16(0x1d5)]+'\x20menu(s)\x20created');return{'ok':!![],'data':_0x1f2a69,'message':_0x1f2a69[_0x33cb16(0x1b6)]?_0x33cb16(0x1e0):_0x33cb16(0x1b7)+_0x1f2a69[_0x33cb16(0x1d5)]+_0x33cb16(0x1b2)};}requireInteractive();const _0x3d4df0=startSpinner('Fetching\x20online\x20menu\x20list...');let _0x3bf29b,_0x21dcd5,_0x58b535;try{const _0x51c950=await fetchMenuData(_0x4a9e98['appCode'],_0x4a9e98[_0x33cb16(0x1c0)]);_0x3bf29b=_0x51c950['localPages'],_0x21dcd5=_0x51c950['onlinePaths'],_0x58b535=_0x51c950[_0x33cb16(0x1e8)],stopSpinner(_0x3d4df0,_0x33cb16(0x1be),!![]);}catch(_0x55a92f){stopSpinner(_0x3d4df0,_0x33cb16(0x1c2),![]);throw CliErrors[_0x33cb16(0x1e3)](_0x55a92f instanceof Error?_0x55a92f[_0x33cb16(0x1c5)]:_0x33cb16(0x1c2));}if(_0x3bf29b[_0x33cb16(0x1e5)]===0x0)return writeCliSideChannelLine(a91_0x457d4c[_0x33cb16(0x1b1)](_0x33cb16(0x1de))),{'ok':!![]};const _0x575503=buildCompareRows(_0x3bf29b,_0x21dcd5);writeCliSideChannelLine(renderCompareTable(_0x575503)),writeCliSideChannelLine('');const _0x2a7011=_0x5af4d4[_0x33cb16(0x1bc)],_0x26566c=await selectPages(_0x3bf29b,_0x21dcd5,_0x2a7011);writeCliSideChannelLine(''),writeCliSideChannelLine(a91_0x457d4c[_0x33cb16(0x1da)]('\x20\x20✓\x20Selected:\x20'+_0x26566c[_0x33cb16(0x1e5)]+_0x33cb16(0x1c1)));const _0x1c554c=_0x5af4d4[_0x33cb16(0x1d3)]&&_0x5af4d4['cssUrl'];if(!_0x1c554c){writeCliSideChannelLine(renderSyncSummary(_0x26566c,_0x21dcd5[_0x33cb16(0x1ca)]>0x0));const _0x2246af=await askConfirm('\x20\x20Continue\x20with\x20creation?');if(!_0x2246af)return writeCliSideChannelLine(a91_0x457d4c[_0x33cb16(0x1d7)](_0x33cb16(0x1b3))),{'ok':!![]};}let _0x35f2b4=_0x5af4d4[_0x33cb16(0x1d3)],_0x540089=_0x5af4d4['cssUrl'];!_0x35f2b4&&(_0x35f2b4=await askJsUrl());!_0x540089&&(_0x540089=await askCssUrl());const _0x5ca18c=await askConfirm('\x20\x20Create\x20'+_0x26566c[_0x33cb16(0x1e5)]+_0x33cb16(0x1e2)+_0x35f2b4+_0x33cb16(0x1d0)+_0x540089+'?');if(!_0x5ca18c)return writeCliSideChannelLine(a91_0x457d4c[_0x33cb16(0x1d7)]('\x20\x20Cancelled.')),{'ok':!![]};const _0x1d202f=[_0x35f2b4,_0x540089],_0x4be8cd=startSpinner('Creating\x20'+_0x26566c[_0x33cb16(0x1e5)]+_0x33cb16(0x1c3));try{const _0x2e424c=await doCreateMenus(_0x4a9e98['appCode'],_0x4a9e98['cookie'],_0x26566c,_0x1d202f);return stopSpinner(_0x4be8cd,_0x33cb16(0x1c4)+_0x2e424c['created']+_0x33cb16(0x1db),!![]),{'ok':!![],'data':_0x2e424c,'message':_0x33cb16(0x1b7)+_0x2e424c['created']+_0x33cb16(0x1bb)+_0x2e424c['failed']+_0x33cb16(0x1ba)};}catch(_0x3d262a){stopSpinner(_0x4be8cd,_0x33cb16(0x1e6),![]);throw CliErrors[_0x33cb16(0x1e3)](_0x3d262a instanceof Error?_0x3d262a[_0x33cb16(0x1c5)]:_0x33cb16(0x1e6));}}};function parseParams(_0x27455d){const _0x529d87=a91_0x56082c;if(!_0x27455d)return{};try{const _0x38cbdd=JSON['parse'](_0x27455d);if(typeof _0x38cbdd!=='object'||_0x38cbdd===null||Array[_0x529d87(0x1d6)](_0x38cbdd))return{};return{'jsUrl':typeof _0x38cbdd['jsUrl']===_0x529d87(0x1d9)?_0x38cbdd[_0x529d87(0x1d3)]['trim']():undefined,'cssUrl':typeof _0x38cbdd[_0x529d87(0x1c7)]===_0x529d87(0x1d9)?_0x38cbdd[_0x529d87(0x1c7)]['trim']():undefined,'pages':Array[_0x529d87(0x1d6)](_0x38cbdd['pages'])?_0x38cbdd['pages'][_0x529d87(0x1cb)](String):undefined};}catch{return{};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a92_0x2513d4=a92_0x3f60;(function(_0x51286b,_0x2e1aaf){const _0x1aec89=a92_0x3f60,_0x177471=_0x51286b();while(!![]){try{const _0x127c7a=-parseInt(_0x1aec89(0x172))/0x1+-parseInt(_0x1aec89(0x173))/0x2*(-parseInt(_0x1aec89(0x164))/0x3)+-parseInt(_0x1aec89(0x16f))/0x4*(parseInt(_0x1aec89(0x171))/0x5)+parseInt(_0x1aec89(0x170))/0x6+parseInt(_0x1aec89(0x167))/0x7*(parseInt(_0x1aec89(0x188))/0x8)+-parseInt(_0x1aec89(0x174))/0x9*(-parseInt(_0x1aec89(0x17c))/0xa)+parseInt(_0x1aec89(0x179))/0xb;if(_0x127c7a===_0x2e1aaf)break;else _0x177471['push'](_0x177471['shift']());}catch(_0x341165){_0x177471['push'](_0x177471['shift']());}}}(a92_0x3589,0x83cf4));import a92_0x3d1686 from'chalk';import{filterMenusWithResources,doUpdateCdnUrls,fetchOnlineMenuList}from'../../commands/menu/shared/logic.js';import{renderUpdateSummary}from'../../commands/menu/shared/compare-table.js';import{askJsUrl,askCssUrl,askConfirm,startSpinner,stopSpinner,isInteractive,requireInteractive}from'../../commands/menu/shared/inquirer.js';import{CliErrors}from'../../errors.js';function a92_0x3f60(_0x3e02ea,_0x44206c){_0x3e02ea=_0x3e02ea-0x159;const _0x3589dc=a92_0x3589();let _0x3f60a8=_0x3589dc[_0x3e02ea];return _0x3f60a8;}import{writeCliSideChannelLine}from'../../utils/write-cli-side-channel.js';import{runMenuUpdateCore}from'../../commands/menu/shared/update-core.js';export const menuUpdate={'service':a92_0x2513d4(0x168),'command':'update','description':a92_0x2513d4(0x182),'risk':a92_0x2513d4(0x176),'flags':[{'name':'params','type':'string','description':a92_0x2513d4(0x17a)+a92_0x2513d4(0x15d)},{'name':'yes','type':a92_0x2513d4(0x169),'description':a92_0x2513d4(0x16e)}],async 'execute'(_0x202c60){const _0x456d76=a92_0x2513d4,_0x245e82=_0x202c60['flag']('yes'),_0x18ffe6=_0x202c60[_0x456d76(0x177)](_0x456d76(0x17e)),_0x52ed4e=parseParams(_0x18ffe6),_0x131ce1=!!(_0x52ed4e[_0x456d76(0x165)]||_0x52ed4e['cssUrl']);if(_0x245e82||_0x131ce1&&!isInteractive()){const _0x365af3=await runMenuUpdateCore(_0x202c60['appCode'],_0x202c60['cookie'],_0x18ffe6);return _0x365af3[_0x456d76(0x187)]?writeCliSideChannelLine('!\x20No\x20menus\x20with\x20existing\x20resources\x20found'):(writeCliSideChannelLine(_0x456d76(0x185)+_0x365af3[_0x456d76(0x166)]+_0x456d76(0x15c)),_0x365af3[_0x456d76(0x15f)]>0x0&&writeCliSideChannelLine('!\x20'+_0x365af3['failed']+_0x456d76(0x162))),{'ok':_0x365af3['failed']===0x0,'data':_0x365af3,'message':_0x365af3[_0x456d76(0x187)]?_0x456d76(0x178):_0x456d76(0x163)+_0x365af3[_0x456d76(0x166)]+_0x456d76(0x17d)+_0x365af3[_0x456d76(0x15f)]+_0x456d76(0x15b)};}requireInteractive();const _0x893e84=startSpinner('Fetching\x20online\x20menu\x20list...');let _0x47eda6;try{_0x47eda6=await fetchOnlineMenuList(_0x202c60[_0x456d76(0x159)],_0x202c60[_0x456d76(0x160)]),stopSpinner(_0x893e84,'Online\x20menu\x20list\x20fetched',!![]);}catch(_0x441ced){stopSpinner(_0x893e84,'Failed\x20to\x20fetch\x20online\x20menu\x20list',![]);throw CliErrors[_0x456d76(0x18b)](_0x441ced instanceof Error?_0x441ced[_0x456d76(0x16b)]:_0x456d76(0x18a));}const _0xea52d8=filterMenusWithResources(_0x47eda6);if(_0xea52d8[_0x456d76(0x15a)]===0x0)return writeCliSideChannelLine(a92_0x3d1686[_0x456d76(0x15e)](_0x456d76(0x183))),{'ok':!![]};writeCliSideChannelLine(''),writeCliSideChannelLine(a92_0x3d1686['cyan'](_0x456d76(0x17f)+_0xea52d8[_0x456d76(0x15a)]+'\x20menu(s)\x20with\x20existing\x20resources')),writeCliSideChannelLine(renderUpdateSummary(_0xea52d8[_0x456d76(0x175)](_0x33af5a=>_0x33af5a[_0x456d76(0x16a)]),[_0x52ed4e[_0x456d76(0x165)],_0x52ed4e[_0x456d76(0x16d)]])),writeCliSideChannelLine('');let _0x5dc24a=_0x52ed4e[_0x456d76(0x165)],_0x3c4201=_0x52ed4e[_0x456d76(0x16d)];!_0x5dc24a&&(_0x5dc24a=await askJsUrl());!_0x3c4201&&(_0x3c4201=await askCssUrl());const _0x384478=await askConfirm(_0x456d76(0x186)+_0xea52d8[_0x456d76(0x15a)]+'\x20menu(s)\x20with\x20JS:\x20'+_0x5dc24a+'\x20and\x20CSS:\x20'+_0x3c4201+'?');if(!_0x384478)return writeCliSideChannelLine(a92_0x3d1686[_0x456d76(0x17b)]('\x20\x20Cancelled.')),{'ok':!![]};const _0x205e5d=[_0x5dc24a,_0x3c4201],_0x5947dd=startSpinner('Updating\x20'+_0xea52d8[_0x456d76(0x15a)]+'\x20menu(s)...');try{const _0x2196dd=await doUpdateCdnUrls(_0x202c60['appCode'],_0x202c60[_0x456d76(0x160)],_0xea52d8,_0x205e5d);return stopSpinner(_0x5947dd,'Updated\x20'+_0x2196dd[_0x456d76(0x166)]+_0x456d76(0x189),_0x2196dd[_0x456d76(0x15f)]===0x0),{'ok':_0x2196dd['failed']===0x0,'data':_0x2196dd,'message':_0x2196dd[_0x456d76(0x15f)]>0x0?_0x456d76(0x163)+_0x2196dd['updated']+'\x20updated,\x20'+_0x2196dd['failed']+'\x20failed.':_0x456d76(0x163)+_0x2196dd[_0x456d76(0x166)]+_0x456d76(0x184)};}catch(_0x2d82be){stopSpinner(_0x5947dd,_0x456d76(0x16c),![]);throw CliErrors[_0x456d76(0x18b)](_0x2d82be instanceof Error?_0x2d82be[_0x456d76(0x16b)]:_0x456d76(0x16c));}}};function a92_0x3589(){const _0x125e4b=['Menu\x20update\x20completed:\x20','3wzMNUm','jsUrl','updated','7LjkzKP','menu','boolean','label','message','Menu\x20update\x20failed','cssUrl','Non-interactive:\x20update\x20all\x20menus\x20without\x20confirmation','3769124cpVxFb','5195922KBiSDn','5cvWMgh','522100NyrPgI','1821952XfSiaV','9TKbcty','map','write','str','Menu\x20update\x20skipped','1205468TeXlQj','Pre-fill\x20JS/CSS\x20URLs\x20to\x20update.\x20','gray','244130yDFkcW','\x20updated,\x20','params','\x20\x20Found\x20','trim','string','Update\x20CDN\x20asset\x20URLs\x20for\x20all\x20online\x20menus\x20with\x20existing\x20resources','\x20\x20!\x20No\x20menus\x20with\x20existing\x20resources\x20found','\x20updated.','✓\x20Menu\x20update\x20completed:\x20','\x20\x20Update\x20','skipped','746472sBewtd','\x20menu(s)','Failed\x20to\x20fetch\x20online\x20menu\x20list','validation','appCode','length','\x20failed.','\x20menu(s)\x20updated','JSON:\x20{\x22jsUrl\x22:\x22https://...js\x22,\x22cssUrl\x22:\x22https://...css\x22}','yellow','failed','cookie','isArray','\x20menu(s)\x20failed'];a92_0x3589=function(){return _0x125e4b;};return a92_0x3589();}function parseParams(_0xbb0262){const _0x2b247a=a92_0x2513d4;if(!_0xbb0262)return{};try{const _0x265925=JSON['parse'](_0xbb0262);if(typeof _0x265925!=='object'||_0x265925===null||Array[_0x2b247a(0x161)](_0x265925))return{};return{'jsUrl':typeof _0x265925[_0x2b247a(0x165)]==='string'?_0x265925[_0x2b247a(0x165)][_0x2b247a(0x180)]():undefined,'cssUrl':typeof _0x265925[_0x2b247a(0x16d)]===_0x2b247a(0x181)?_0x265925[_0x2b247a(0x16d)][_0x2b247a(0x180)]():undefined};}catch{return{};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a93_0x170d7c=a93_0x2df9;(function(_0x2a30c1,_0x57df7d){const _0x220f8b=a93_0x2df9,_0x365844=_0x2a30c1();while(!![]){try{const _0x646488=parseInt(_0x220f8b(0x14a))/0x1+parseInt(_0x220f8b(0x153))/0x2*(parseInt(_0x220f8b(0x149))/0x3)+-parseInt(_0x220f8b(0x152))/0x4+parseInt(_0x220f8b(0x14e))/0x5+parseInt(_0x220f8b(0x141))/0x6+parseInt(_0x220f8b(0x13f))/0x7+-parseInt(_0x220f8b(0x148))/0x8;if(_0x646488===_0x57df7d)break;else _0x365844['push'](_0x365844['shift']());}catch(_0x1d82c1){_0x365844['push'](_0x365844['shift']());}}}(a93_0x30ca,0xf32c1));import{APPCODE_FLAG_OPTIONAL,DATASETCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';function a93_0x2df9(_0x116015,_0x404d5b){_0x116015=_0x116015-0x13b;const _0x30ca2b=a93_0x30ca();let _0x2df9e4=_0x30ca2b[_0x116015];return _0x2df9e4;}import{assessGenerateOperationState,assessStandardPageState,buildPageGenerateOperationStatusQueryCommand,buildStandardPageStatusQueryCommand,createPageGenerateClientOperationId,getUndeletedRelatedPages,loadDatasetDetailForPage,loadStandardPageStatusForGenerate,serializeDryRunDescription,validateDatasetSelector}from'../../commands/page/shared.js';function a93_0x30ca(){const _0x4b4b6b=['/generate-standard-pages/start','page','13219045nXpSnp','generate-start','7889532SCLONL','operationId','已提交生成任务','source','manualResolutionRequired','precheck','Start\x20async\x20Smart\x20List\x20Page\x20generation\x20from\x20a\x20dataset','17765952LYpKiV','501573eBxiWn','85318Dmohwd','clientOperationId','code','allowGenerate','4932390jhFpTV','nextAction','progressRate','name','5571032nHEmlL','4buwvZr','currentStep','fieldCount','string','message','related-pages-fallback','PARTIAL_SUCCESS','POST','Dataset\x20alias\x20from\x20api.ts\x20(resolves\x20to\x20dataset\x20code\x20automatically)','复用已有生成任务','status','reused','standardPageStatus','appCode','dataset','alias','/smartapi/lovrabet/dataset/'];a93_0x30ca=function(){return _0x4b4b6b;};return a93_0x30ca();}import{startGenerateStandardPages}from'../../core/api-client.js';export const pageGenerateStart={'service':a93_0x170d7c(0x13e),'command':a93_0x170d7c(0x140),'description':a93_0x170d7c(0x147),'risk':'write','defaultOutputFormat':'compress','flags':[APPCODE_FLAG_OPTIONAL,DATASETCODE_FLAG_OPTIONAL,{'name':a93_0x170d7c(0x13b),'type':a93_0x170d7c(0x156),'description':a93_0x170d7c(0x15b)}],async 'validate'(_0x86bef5){validateDatasetSelector(_0x86bef5);},async 'dryRun'(_0x4665c0){const _0x4e3346=a93_0x170d7c,_0x3b94d5=await prepare(_0x4665c0);return{'method':_0x4e3346(0x15a),'url':_0x4e3346(0x13c)+_0x3b94d5[_0x4e3346(0x161)]['code']+_0x4e3346(0x13d),'body':{'appCode':_0x4665c0[_0x4e3346(0x160)],'clientOperationId':_0x3b94d5[_0x4e3346(0x14b)]},'description':serializeDryRunDescription({'dataset':{'id':_0x3b94d5['dataset']['id'],'code':_0x3b94d5['dataset'][_0x4e3346(0x14c)],'name':_0x3b94d5[_0x4e3346(0x161)][_0x4e3346(0x151)],'fieldCount':_0x3b94d5[_0x4e3346(0x161)][_0x4e3346(0x155)]},'precheckSource':_0x3b94d5['standardPageStatus']?.[_0x4e3346(0x144)]??_0x4e3346(0x158),'action':_0x4e3346(0x140),'clientOperationId':_0x3b94d5[_0x4e3346(0x14b)],'plannedStatus':_0x3b94d5['precheck']['status'],'reason':_0x3b94d5['precheck'][_0x4e3346(0x157)]})};},async 'execute'(_0x5b1904){const _0x2ef6e0=a93_0x170d7c,_0x3947a5=await prepare(_0x5b1904);if(!_0x3947a5['precheck'][_0x2ef6e0(0x14d)])return{'ok':![],'message':_0x3947a5['precheck'][_0x2ef6e0(0x157)],'data':{'datasetCode':_0x3947a5[_0x2ef6e0(0x161)][_0x2ef6e0(0x14c)],'clientOperationId':_0x3947a5[_0x2ef6e0(0x14b)],'precheckSource':_0x3947a5[_0x2ef6e0(0x15f)]?.[_0x2ef6e0(0x144)]??_0x2ef6e0(0x158),'status':_0x3947a5['precheck'][_0x2ef6e0(0x15d)],'manualResolutionRequired':_0x3947a5[_0x2ef6e0(0x146)][_0x2ef6e0(0x145)],'nextAction':_0x3947a5[_0x2ef6e0(0x146)][_0x2ef6e0(0x14f)],'query':{'command':buildStandardPageStatusQueryCommand(_0x3947a5[_0x2ef6e0(0x161)][_0x2ef6e0(0x14c)],_0x5b1904[_0x2ef6e0(0x160)])},'standardPageStatus':_0x3947a5['standardPageStatus']}};const _0x41b840=await startGenerateStandardPages(_0x5b1904['appCode'],_0x3947a5['dataset'][_0x2ef6e0(0x14c)],{'clientOperationId':_0x3947a5[_0x2ef6e0(0x14b)]}),_0x4ca3c5=_0x41b840[_0x2ef6e0(0x15d)]==='SUCCESS'||_0x41b840[_0x2ef6e0(0x15d)]===_0x2ef6e0(0x159)?await loadStandardPageStatusForGenerate(_0x5b1904,_0x3947a5['dataset'][_0x2ef6e0(0x14c)]):null,_0x590e83=assessGenerateOperationState(_0x3947a5[_0x2ef6e0(0x161)][_0x2ef6e0(0x14c)],_0x41b840[_0x2ef6e0(0x15d)],_0x4ca3c5);return{'ok':!![],'message':_0x41b840[_0x2ef6e0(0x15e)]?_0x2ef6e0(0x15c):_0x2ef6e0(0x143),'data':{'datasetCode':_0x3947a5[_0x2ef6e0(0x161)][_0x2ef6e0(0x14c)],'appCode':_0x5b1904[_0x2ef6e0(0x160)],'operationId':_0x41b840['operationId']??null,'clientOperationId':_0x3947a5[_0x2ef6e0(0x14b)],'jobStatus':_0x41b840[_0x2ef6e0(0x15d)]??null,'progressRate':typeof _0x41b840[_0x2ef6e0(0x150)]==='number'?_0x41b840[_0x2ef6e0(0x150)]:null,'currentStep':_0x41b840[_0x2ef6e0(0x154)]??null,'reused':_0x41b840['reused']===!![],'status':_0x590e83[_0x2ef6e0(0x15d)],'manualResolutionRequired':_0x590e83['manualResolutionRequired'],'nextAction':_0x590e83[_0x2ef6e0(0x14f)],'query':{'command':buildPageGenerateOperationStatusQueryCommand(_0x3947a5[_0x2ef6e0(0x161)][_0x2ef6e0(0x14c)],{'appCode':_0x5b1904['appCode'],'operationId':_0x41b840[_0x2ef6e0(0x142)],'clientOperationId':_0x3947a5['clientOperationId']})},'standardPageStatus':_0x4ca3c5}};}};async function prepare(_0x16372e){const _0x30c9ea=a93_0x170d7c,_0x15d662=await loadDatasetDetailForPage(_0x16372e),_0x24838e=await loadStandardPageStatusForGenerate(_0x16372e,_0x15d662[_0x30c9ea(0x14c)]),_0x27d364=getUndeletedRelatedPages(_0x15d662);return{'dataset':_0x15d662,'standardPageStatus':_0x24838e,'clientOperationId':createPageGenerateClientOperationId(),'precheck':assessStandardPageState(_0x15d662[_0x30c9ea(0x14c)],_0x24838e,{'fallbackUndeletedPages':_0x27d364})};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a94_0x4bfcf7=a94_0x1001;(function(_0x53a6fb,_0x3c0cd7){const _0x36d00d=a94_0x1001,_0x9e1023=_0x53a6fb();while(!![]){try{const _0x35911c=parseInt(_0x36d00d(0x1d6))/0x1*(-parseInt(_0x36d00d(0x1b6))/0x2)+-parseInt(_0x36d00d(0x1d3))/0x3+parseInt(_0x36d00d(0x1b4))/0x4+parseInt(_0x36d00d(0x1b8))/0x5+parseInt(_0x36d00d(0x1b3))/0x6*(parseInt(_0x36d00d(0x1c6))/0x7)+parseInt(_0x36d00d(0x1c1))/0x8*(parseInt(_0x36d00d(0x1b1))/0x9)+-parseInt(_0x36d00d(0x1c0))/0xa;if(_0x35911c===_0x3c0cd7)break;else _0x9e1023['push'](_0x9e1023['shift']());}catch(_0x19d6c5){_0x9e1023['push'](_0x9e1023['shift']());}}}(a94_0x1772,0x5c580));import{APPCODE_FLAG_OPTIONAL,DATASETCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';import{assessGenerateOperationState,buildPageGenerateOperationStatusQueryCommand,loadDatasetDetailForPage,loadStandardPageStatusForGenerate,serializeDryRunDescription,validateDatasetSelector,validateGenerateOperationSelector}from'../../commands/page/shared.js';import{getGenerateStandardPagesStatus}from'../../core/api-client.js';function a94_0x1001(_0x384704,_0x19df6){_0x384704=_0x384704-0x1b1;const _0x17727f=a94_0x1772();let _0x10019a=_0x17727f[_0x384704];return _0x10019a;}export const pageGenerateStatus={'service':a94_0x4bfcf7(0x1be),'command':a94_0x4bfcf7(0x1bf),'description':'Query\x20Smart\x20List\x20Page\x20generate\x20operation\x20status','risk':a94_0x4bfcf7(0x1c9),'defaultOutputFormat':a94_0x4bfcf7(0x1bd),'flags':[APPCODE_FLAG_OPTIONAL,DATASETCODE_FLAG_OPTIONAL,{'name':a94_0x4bfcf7(0x1d4),'type':a94_0x4bfcf7(0x1d2),'description':'Dataset\x20alias\x20from\x20api.ts\x20(resolves\x20to\x20dataset\x20code\x20automatically)'},{'name':a94_0x4bfcf7(0x1d5),'type':a94_0x4bfcf7(0x1d2),'description':a94_0x4bfcf7(0x1b9)},{'name':a94_0x4bfcf7(0x1c2),'type':a94_0x4bfcf7(0x1d2),'description':a94_0x4bfcf7(0x1ce)}],async 'validate'(_0x109f53){validateDatasetSelector(_0x109f53),validateGenerateOperationSelector(_0x109f53);},async 'dryRun'(_0x439ab3){const _0x48a495=a94_0x4bfcf7,_0x124e23=await loadDatasetDetailForPage(_0x439ab3),_0x29de6e=_0x439ab3[_0x48a495(0x1c7)]('operation-id'),_0x185b3c=_0x439ab3[_0x48a495(0x1c7)](_0x48a495(0x1c2)),_0x2f09a2=new URLSearchParams({'appCode':_0x439ab3['appCode']});return _0x29de6e&&_0x2f09a2[_0x48a495(0x1d8)](_0x48a495(0x1cd),_0x29de6e),_0x185b3c&&_0x2f09a2[_0x48a495(0x1d8)](_0x48a495(0x1ba),_0x185b3c),{'method':_0x48a495(0x1d1),'url':_0x48a495(0x1b7)+_0x124e23[_0x48a495(0x1cf)]+_0x48a495(0x1bb)+_0x2f09a2[_0x48a495(0x1b5)](),'description':serializeDryRunDescription({'dataset':{'id':_0x124e23['id'],'code':_0x124e23[_0x48a495(0x1cf)],'name':_0x124e23[_0x48a495(0x1ca)]},'action':_0x48a495(0x1c3),'operationId':_0x29de6e||undefined,'clientOperationId':_0x185b3c||undefined})};},async 'execute'(_0x41cbe7){const _0x5dc5f1=a94_0x4bfcf7,_0x1a5778=await loadDatasetDetailForPage(_0x41cbe7),_0x5afd5d=_0x41cbe7[_0x5dc5f1(0x1c7)](_0x5dc5f1(0x1d5)),_0x38580a=_0x41cbe7[_0x5dc5f1(0x1c7)]('client-operation-id'),_0x29d3bd=await getGenerateStandardPagesStatus(_0x41cbe7['appCode'],_0x1a5778['code'],{'operationId':_0x5afd5d||undefined,'clientOperationId':_0x38580a||undefined}),_0x33be6e=_0x29d3bd[_0x5dc5f1(0x1bc)]===_0x5dc5f1(0x1d0)||_0x29d3bd['status']==='PARTIAL_SUCCESS',_0x35880b=_0x33be6e?await loadStandardPageStatusForGenerate(_0x41cbe7,_0x1a5778[_0x5dc5f1(0x1cf)]):null,_0x323104=assessGenerateOperationState(_0x1a5778['code'],_0x29d3bd[_0x5dc5f1(0x1bc)],_0x35880b),_0x56c491=_0x29d3bd[_0x5dc5f1(0x1cd)]??_0x5afd5d??undefined,_0x4407f4=_0x29d3bd[_0x5dc5f1(0x1ba)]??_0x38580a??undefined;return{'ok':!![],'message':_0x323104['status']===_0x5dc5f1(0x1c8)?_0x29d3bd[_0x5dc5f1(0x1cb)]||_0x323104['message']:_0x323104['message'],'data':{'datasetCode':_0x1a5778[_0x5dc5f1(0x1cf)],'appCode':_0x41cbe7[_0x5dc5f1(0x1c4)],'operationId':_0x56c491,'clientOperationId':_0x4407f4,'jobStatus':_0x29d3bd['status']??null,'progressRate':typeof _0x29d3bd[_0x5dc5f1(0x1c5)]===_0x5dc5f1(0x1cc)?_0x29d3bd[_0x5dc5f1(0x1c5)]:null,'currentStep':_0x29d3bd[_0x5dc5f1(0x1d7)]??null,'errorMsg':_0x29d3bd['errorMsg']??null,'status':_0x323104['status'],'manualResolutionRequired':_0x323104['manualResolutionRequired'],'nextAction':_0x323104['nextAction'],'query':{'command':buildPageGenerateOperationStatusQueryCommand(_0x1a5778['code'],{'appCode':_0x41cbe7[_0x5dc5f1(0x1c4)],'operationId':_0x56c491,'clientOperationId':_0x4407f4})},'standardPageStatus':_0x35880b,'result':_0x29d3bd[_0x5dc5f1(0x1b2)]??null}};}};function a94_0x1772(){const _0x33c14c=['clientOperationId','/generate-standard-pages/status?','status','compress','page','generate-status','10439710cgRZai','834976uCLGEB','client-operation-id','query-generate-operation-status','appCode','progressRate','21ajODbo','str','operation_failed','read','name','errorMsg','number','operationId','Client\x20recovery/idempotency\x20id\x20when\x20operationId\x20is\x20unavailable\x20or\x20lost','code','SUCCESS','GET','string','752985mOxSID','alias','operation-id','2rbNzLP','currentStep','set','45NKNewh','result','1272606fqQoLv','100380qqBhcd','toString','45542fGIQeH','/smartapi/lovrabet/dataset/','2677450BGHOCq','Async\x20operation\x20id\x20returned\x20by\x20page\x20generate-start'];a94_0x1772=function(){return _0x33c14c;};return a94_0x1772();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x53b8c6,_0x3a4867){const _0x40a0e3=a95_0x1dcb,_0x393397=_0x53b8c6();while(!![]){try{const _0x31ec95=-parseInt(_0x40a0e3(0x18f))/0x1+-parseInt(_0x40a0e3(0x189))/0x2+-parseInt(_0x40a0e3(0x18d))/0x3*(-parseInt(_0x40a0e3(0x190))/0x4)+parseInt(_0x40a0e3(0x188))/0x5*(parseInt(_0x40a0e3(0x191))/0x6)+parseInt(_0x40a0e3(0x18b))/0x7+-parseInt(_0x40a0e3(0x18a))/0x8*(-parseInt(_0x40a0e3(0x18e))/0x9)+parseInt(_0x40a0e3(0x18c))/0xa;if(_0x31ec95===_0x3a4867)break;else _0x393397['push'](_0x393397['shift']());}catch(_0x585fac){_0x393397['push'](_0x393397['shift']());}}}(a95_0xd174,0x8f765));function a95_0xd174(){const _0x308351=['625037uFDTbO','7559830OgZifG','15ebOryY','36dxlbLJ','884958MxmQtJ','238408uLakLX','333852dImtPy','10YMRUwZ','1869466OZcpew','2305488rakUSV'];a95_0xd174=function(){return _0x308351;};return a95_0xd174();}import{pageGenerateStart}from'../../commands/page/generate-start.js';function a95_0x1dcb(_0x254b31,_0x5b1917){_0x254b31=_0x254b31-0x188;const _0xd17444=a95_0xd174();let _0x1dcb20=_0xd17444[_0x254b31];return _0x1dcb20;}import{pageGenerateStatus}from'../../commands/page/generate-status.js';import{pageStandardPageStatus}from'../../commands/page/standard-page-status.js';import{pageSync}from'../../commands/page/sync.js';import{pagePull}from'../../commands/page/pull.js';import{pagePush}from'../../commands/page/push.js';export const pageDefinitions=[pageGenerateStart,pageGenerateStatus,pageStandardPageStatus,pageSync,pagePull,pagePush];
|