@lovrabet/rabetbase-cli 2.1.5 → 2.1.6-beta.0
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 -0
- package/lib/commands/data/getOne.js +1 -0
- package/lib/commands/data/index.js +1 -0
- package/lib/commands/data/shared.js +1 -0
- package/lib/commands/dataset/detail.js +1 -1
- package/lib/commands/dataset/index.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/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/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 -0
- 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 +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x574941,_0x36f483){const _0x371484=a74_0x532b,_0x7d8775=_0x574941();while(!![]){try{const _0x2a9090=parseInt(_0x371484(0xf0))/0x1+parseInt(_0x371484(0xf8))/0x2+parseInt(_0x371484(0xef))/0x3+-parseInt(_0x371484(0xfa))/0x4+-parseInt(_0x371484(0xf4))/0x5*(parseInt(_0x371484(0x114))/0x6)+-parseInt(_0x371484(0x10e))/0x7+parseInt(_0x371484(0x10a))/0x8*(parseInt(_0x371484(0x10f))/0x9);if(_0x2a9090===_0x36f483)break;else _0x7d8775['push'](_0x7d8775['shift']());}catch(_0x3d5270){_0x7d8775['push'](_0x7d8775['shift']());}}}(a74_0x4f75,0x8442e));function a74_0x532b(_0x33ce68,_0x428ed3){_0x33ce68=_0x33ce68-0xee;const _0x4f753b=a74_0x4f75();let _0x532b19=_0x4f753b[_0x33ce68];return _0x532b19;}import a74_0x4ef642 from'chalk';import{checkbox,input,confirm}from'@inquirer/prompts';import a74_0x4d3603 from'ora';import{isUrlReachable}from'../../../commands/menu/shared/valid-url.js';import{CliErrors}from'../../../errors.js';function onCancel(_0x3f0108){const _0x52638a=a74_0x532b;return _0x3f0108[_0x52638a(0x117)](_0x3af2cf=>{const _0x4ebf54=_0x52638a;if(_0x3af2cf?.[_0x4ebf54(0xf2)]===_0x4ebf54(0x112))throw CliErrors['cancelled']('Cancelled.');throw _0x3af2cf;});}export function startSpinner(_0x556c74){const _0x50aa95=a74_0x532b;return a74_0x4d3603({'text':_0x556c74,'color':_0x50aa95(0x10c)})[_0x50aa95(0x102)]();}export function stopSpinner(_0x47130a,_0x4070a6,_0x1a2ffd){const _0x504574=a74_0x532b;_0x1a2ffd?_0x47130a[_0x504574(0x111)](_0x4070a6):_0x47130a[_0x504574(0x105)](_0x4070a6);}export async function askConfirm(_0xad71f2){return onCancel(confirm({'message':_0xad71f2,'theme':{'prefix':''}}));}export async function askJsUrl(_0x5cf737){const _0x4f698b=a74_0x532b;while(!![]){const _0x2928c2=await onCancel(input({'message':'\x20\x20JS\x20URL:','default':_0x5cf737,'theme':{'prefix':''}}));if(_0x2928c2['trim']()==='')throw CliErrors[_0x4f698b(0x108)](_0x4f698b(0x107));if(!/^https:\/\/.+\.js(\?.*)?$/[_0x4f698b(0xf1)](_0x2928c2[_0x4f698b(0x119)]())){console[_0x4f698b(0xff)](a74_0x4ef642[_0x4f698b(0xfb)](_0x4f698b(0x10d)));continue;}const _0x4763e4=startSpinner(_0x4f698b(0x113));try{const _0x307058=await isUrlReachable(_0x2928c2['trim']());stopSpinner(_0x4763e4,_0x4f698b(0xfc),_0x307058);if(!_0x307058){console[_0x4f698b(0xff)](a74_0x4ef642['red'](_0x4f698b(0x110)));continue;}return _0x2928c2['trim']();}catch(_0x143d3d){stopSpinner(_0x4763e4,_0x4f698b(0x116),![]);throw _0x143d3d;}}}export async function askCssUrl(_0x28d8f1){const _0x4b8c25=a74_0x532b;while(!![]){const _0x204161=await onCancel(input({'message':_0x4b8c25(0x103),'default':_0x28d8f1,'theme':{'prefix':''}}));if(_0x204161[_0x4b8c25(0x119)]()==='')throw CliErrors[_0x4b8c25(0x108)](_0x4b8c25(0x107));if(!/^https:\/\/.+\.css(\?.*)?$/[_0x4b8c25(0xf1)](_0x204161[_0x4b8c25(0x119)]())){console[_0x4b8c25(0xff)](a74_0x4ef642['red']('\x20\x20✗\x20CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL'));continue;}const _0x4defee=startSpinner(_0x4b8c25(0xf7));try{const _0x55a90f=await isUrlReachable(_0x204161[_0x4b8c25(0x119)]());stopSpinner(_0x4defee,_0x4b8c25(0xfe),_0x55a90f);if(!_0x55a90f){console[_0x4b8c25(0xff)](a74_0x4ef642[_0x4b8c25(0xfb)](_0x4b8c25(0xee)));continue;}return _0x204161[_0x4b8c25(0x119)]();}catch(_0x38052b){stopSpinner(_0x4defee,_0x4b8c25(0xf9),![]);throw _0x38052b;}}}export async function selectPages(_0x96b978,_0x4b4e41,_0x580ce7){const _0x67ae3f=a74_0x532b,_0x2047a3=_0x96b978['map'](_0x4a8089=>({'name':_0x4a8089[_0x67ae3f(0x109)]+'\x20\x20'+(_0x4b4e41[_0x67ae3f(0xfd)](_0x4a8089['path'])?a74_0x4ef642['gray']('[already\x20on\x20platform]'):a74_0x4ef642[_0x67ae3f(0x115)](_0x67ae3f(0xf5))),'value':_0x4a8089[_0x67ae3f(0x109)],'checked':_0x580ce7?_0x580ce7[_0x67ae3f(0x101)](_0x4a8089['label']):!_0x4b4e41[_0x67ae3f(0xfd)](_0x4a8089['path'])}));if(_0x2047a3[_0x67ae3f(0xf6)]===0x0)throw new Error('No\x20local\x20pages\x20found.');const _0x111ce0=await onCancel(checkbox({'message':_0x67ae3f(0x104),'choices':_0x2047a3,'loop':![],'theme':{'prefix':''}}));if(_0x111ce0['length']===0x0)throw new Error(_0x67ae3f(0xf3));return _0x96b978[_0x67ae3f(0x100)](_0x33bec7=>_0x111ce0[_0x67ae3f(0x101)](_0x33bec7[_0x67ae3f(0x109)]));}function a74_0x4f75(){const _0x5eb7c5=['CSS\x20URL\x20check\x20failed','3584864QZCoRo','red','JS\x20URL\x20checked','has','CSS\x20URL\x20checked','error','filter','includes','start','\x20\x20CSS\x20URL:','\x20\x20Select\x20menus\x20to\x20sync\x20(space\x20to\x20toggle,\x20a=all,\x20i=invert):','fail','isTTY','Cancelled.','cancelled','label','8uPOUzc','This\x20command\x20requires\x20an\x20interactive\x20terminal.\x20','cyan','\x20\x20✗\x20JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL','4255251eJwfhl','12202929oshswu','\x20\x20✗\x20JS\x20URL\x20is\x20unreachable','succeed','ExitPromptError','\x20\x20Checking\x20JS\x20URL\x20reachability...','3056838lcHZwL','green','JS\x20URL\x20check\x20failed','catch','stdin','trim','\x20\x20✗\x20CSS\x20URL\x20is\x20unreachable','578499hliQBB','477821WWSDEO','test','name','No\x20menus\x20selected.','5TfLuah','[new]','length','\x20\x20Checking\x20CSS\x20URL\x20reachability...','1057578qPGcGC'];a74_0x4f75=function(){return _0x5eb7c5;};return a74_0x4f75();}export function isInteractive(){const _0x202984=a74_0x532b;return process[_0x202984(0x118)][_0x202984(0x106)]===!![];}export function requireInteractive(){const _0x1fb143=a74_0x532b;if(!isInteractive())throw new Error(_0x1fb143(0x10b)+'Use\x20--yes\x20to\x20run\x20in\x20non-interactive\x20mode,\x20or\x20pipe\x20data\x20via\x20--params.');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a75_0x2040(){const _0x1ec364=['4402486tdWIIw','endsWith','24LGDbHn','3388hIqlTu','cwd','318fXDMyk','2yUSQAt','1007464JzZBoU','push','isDirectory','9OtnQrS','replace','filter','match','1059wjWSHj','split','concat','utf-8','1379050CnKYuh','.tsx','18900QGfAjE','55034KpMYFn','join','replaceAll','200890mKiRnt','forEach'];a75_0x2040=function(){return _0x1ec364;};return a75_0x2040();}const a75_0x18132a=a75_0x438d;(function(_0x5ab8cd,_0x533ab7){const _0x51a5ea=a75_0x438d,_0x3135c4=_0x5ab8cd();while(!![]){try{const _0x334949=parseInt(_0x51a5ea(0x1dd))/0x1*(-parseInt(_0x51a5ea(0x1e8))/0x2)+-parseInt(_0x51a5ea(0x1f0))/0x3*(parseInt(_0x51a5ea(0x1e5))/0x4)+-parseInt(_0x51a5ea(0x1f4))/0x5+parseInt(_0x51a5ea(0x1e7))/0x6*(-parseInt(_0x51a5ea(0x1f6))/0x7)+-parseInt(_0x51a5ea(0x1e9))/0x8*(-parseInt(_0x51a5ea(0x1ec))/0x9)+parseInt(_0x51a5ea(0x1e0))/0xa+-parseInt(_0x51a5ea(0x1e2))/0xb*(-parseInt(_0x51a5ea(0x1e4))/0xc);if(_0x334949===_0x533ab7)break;else _0x3135c4['push'](_0x3135c4['shift']());}catch(_0x20d26b){_0x3135c4['push'](_0x3135c4['shift']());}}}(a75_0x2040,0x2a5e3));import{readdirSync,statSync,readFileSync}from'fs';import{join,relative,resolve,sep}from'path';const pagesDir=resolve(process[a75_0x18132a(0x1e6)](),'src/pages');function a75_0x438d(_0x4a2c0a,_0x40a972){_0x4a2c0a=_0x4a2c0a-0x1dd;const _0x204092=a75_0x2040();let _0x438da1=_0x204092[_0x4a2c0a];return _0x438da1;}export function extractTitleFromComment(_0x3f17a9){const _0x48c8a2=a75_0x18132a;try{const _0x2b9ef4=readFileSync(_0x3f17a9,_0x48c8a2(0x1f3)),_0x3bc94e=_0x2b9ef4[_0x48c8a2(0x1ef)](/^\s*\/\*\*?([\s\S]*?)\*\//);if(_0x3bc94e&&_0x3bc94e[0x1]){const _0x391032=_0x3bc94e[0x1],_0x485326=_0x391032[_0x48c8a2(0x1ef)](/^\s*\*?\s*title\s*:\s*(.+)/im);if(_0x485326&&_0x485326[0x1])return _0x485326[0x1]['trim']();}let _0xd5715c=null;const _0x3b7185=_0x2b9ef4[_0x48c8a2(0x1ef)](/export\s+default\s+([A-Z][a-zA-Z0-9]*)/);_0x3b7185&&_0x3b7185[0x1]&&(_0xd5715c=_0x3b7185[0x1]);if(!_0xd5715c){const _0x31a3bd=_0x2b9ef4['match'](/export\s+default\s+function\s+([A-Z][a-zA-Z0-9]*)/);_0x31a3bd&&_0x31a3bd[0x1]&&(_0xd5715c=_0x31a3bd[0x1]);}if(_0xd5715c){const _0x4edec2=new RegExp('\x5cb'+_0xd5715c+'\x5c.displayName\x5cs*=\x5cs*[\x22\x27]([^\x22\x27]+)[\x22\x27]'),_0x5a8663=_0x2b9ef4['match'](_0x4edec2);if(_0x5a8663&&_0x5a8663[0x1])return _0x5a8663[0x1];return _0xd5715c;}return null;}catch(_0x489e95){return null;}}export function getLocalPages(_0x4f1ead=pagesDir,_0x5b3840=pagesDir){const _0x2376f4=a75_0x18132a;let _0x11cfb1=[];const _0x2a0a31=readdirSync(_0x4f1ead);return _0x2a0a31[_0x2376f4(0x1e1)](_0x52ea01=>{const _0x17a04f=_0x2376f4,_0x58f420=join(_0x4f1ead,_0x52ea01),_0x273826=statSync(_0x58f420);if(_0x273826&&_0x273826[_0x17a04f(0x1eb)]())_0x11cfb1=_0x11cfb1[_0x17a04f(0x1f2)](getLocalPages(_0x58f420,_0x5b3840));else{if(_0x52ea01[_0x17a04f(0x1e3)](_0x17a04f(0x1f5))){let _0x1994ec=relative(_0x5b3840,_0x58f420);_0x1994ec['endsWith']('index.tsx')?_0x1994ec=_0x1994ec[_0x17a04f(0x1ed)](/index\.tsx$/,''):_0x1994ec=_0x1994ec[_0x17a04f(0x1ed)](/\.tsx$/,'');_0x1994ec[_0x17a04f(0x1e3)](sep)&&(_0x1994ec=_0x1994ec['slice'](0x0,-0x1));const _0x1d33d0=_0x1994ec[_0x17a04f(0x1f1)](sep)[_0x17a04f(0x1de)]('/'),_0x36c42c=extractTitleFromComment(_0x58f420),_0x27f6c9=_0x36c42c||_0x1d33d0;_0x11cfb1[_0x17a04f(0x1ea)]({'path':_0x1d33d0[_0x17a04f(0x1df)]('$',':'),'label':_0x27f6c9});}}}),_0x11cfb1[_0x2376f4(0x1ee)](_0x5718ea=>_0x5718ea['path']!=='');}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x4f5b66,_0x30520e){const _0x3f5243=a76_0x3336,_0x4d976d=_0x4f5b66();while(!![]){try{const _0x357f2e=parseInt(_0x3f5243(0xf2))/0x1*(-parseInt(_0x3f5243(0xf0))/0x2)+parseInt(_0x3f5243(0xe8))/0x3+parseInt(_0x3f5243(0xec))/0x4+parseInt(_0x3f5243(0xef))/0x5+-parseInt(_0x3f5243(0xf5))/0x6*(-parseInt(_0x3f5243(0xfc))/0x7)+-parseInt(_0x3f5243(0xf6))/0x8+-parseInt(_0x3f5243(0xf1))/0x9;if(_0x357f2e===_0x30520e)break;else _0x4d976d['push'](_0x4d976d['shift']());}catch(_0x3f186c){_0x4d976d['push'](_0x4d976d['shift']());}}}(a76_0x318b,0xc37ec));import{getLocalPages}from'../../../commands/menu/shared/local-pages.js';function a76_0x318b(){const _0x4bd361=['map','CSS\x20URL\x20is\x20unreachable','trim','JS\x20URL\x20is\x20unreachable','rejected','1087887DUuzoF','path','length','status','4766208eeehrd','has','JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL','7961780zxfGHd','6GJWsqu','22100670cLcWjS','12301zoXUaF','label','filter','107526rMGhaf','1836776DuegYo','No\x20local\x20pages\x20matched\x20labels:\x20','push','CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL','errors','join','147wisKJo'];a76_0x318b=function(){return _0x4bd361;};return a76_0x318b();}import{getOnlineMenuList,createMenus,updateMenuCdnUrl}from'../../../commands/menu/shared/service.js';import{isUrlReachable,isValidCssHttpsUrl,isValidJsHttpsUrl}from'../../../commands/menu/shared/valid-url.js';export function validateJsUrl(_0x23e0de){const _0x41e23c=a76_0x3336,_0x4b7e17=[];return!isValidJsHttpsUrl(_0x23e0de)&&_0x4b7e17['push'](_0x41e23c(0xee)),{'ok':_0x4b7e17[_0x41e23c(0xea)]===0x0,'errors':_0x4b7e17};}export function validateCssUrl(_0x4c333d){const _0x40a74f=a76_0x3336,_0x4e2ef7=[];return!isValidCssHttpsUrl(_0x4c333d)&&_0x4e2ef7[_0x40a74f(0xf8)](_0x40a74f(0xf9)),{'ok':_0x4e2ef7['length']===0x0,'errors':_0x4e2ef7};}export async function validateJsUrlReachable(_0x21a68c){const _0x510423=a76_0x3336,_0x32091e=validateJsUrl(_0x21a68c);if(!_0x32091e['ok'])return _0x32091e;const _0x1cdf44=await isUrlReachable(_0x21a68c);if(!_0x1cdf44)_0x32091e['errors'][_0x510423(0xf8)](_0x510423(0x100));return{'ok':_0x32091e[_0x510423(0xfa)][_0x510423(0xea)]===0x0,'errors':_0x32091e[_0x510423(0xfa)]};}function a76_0x3336(_0x12f9ee,_0x440845){_0x12f9ee=_0x12f9ee-0xe8;const _0x318b47=a76_0x318b();let _0x33361d=_0x318b47[_0x12f9ee];return _0x33361d;}export async function validateCssUrlReachable(_0x3b3471){const _0x2ddb89=a76_0x3336,_0x20a21e=validateCssUrl(_0x3b3471);if(!_0x20a21e['ok'])return _0x20a21e;const _0x5cca3b=await isUrlReachable(_0x3b3471);if(!_0x5cca3b)_0x20a21e[_0x2ddb89(0xfa)]['push'](_0x2ddb89(0xfe));return{'ok':_0x20a21e['errors'][_0x2ddb89(0xea)]===0x0,'errors':_0x20a21e['errors']};}export function buildCompareRows(_0x559630,_0x59de33){const _0x4ac975=a76_0x3336;return _0x559630[_0x4ac975(0xfd)](_0x5c4b1c=>({'label':_0x5c4b1c[_0x4ac975(0xf3)],'path':_0x5c4b1c['path'],'local':!![],'online':_0x59de33[_0x4ac975(0xed)](_0x5c4b1c[_0x4ac975(0xe9)])}));}export function filterNewPages(_0x4cad79,_0x33a2f2,_0xc77477){const _0x225337=a76_0x3336;if(_0xc77477&&_0xc77477[_0x225337(0xea)]>0x0){const _0x5e17cd=new Set(_0xc77477[_0x225337(0xfd)](_0x47a137=>_0x47a137[_0x225337(0xff)]())),_0x16bfe8=_0x4cad79[_0x225337(0xf4)](_0x34f3a5=>_0x5e17cd[_0x225337(0xed)](_0x34f3a5['label']));if(_0x16bfe8['length']===0x0)throw new Error(_0x225337(0xf7)+[..._0x5e17cd][_0x225337(0xfb)](',\x20'));return _0x16bfe8;}return _0x4cad79[_0x225337(0xf4)](_0x23a07a=>!_0x33a2f2[_0x225337(0xed)](_0x23a07a[_0x225337(0xe9)]));}export function filterPagesByLabels(_0x12a50c,_0xeb4f50){const _0x4ed3b8=a76_0x3336,_0x12de93=[],_0x3c0fa9=[];for(const _0x47c855 of _0xeb4f50){const _0x2af307=_0x47c855[_0x4ed3b8(0xff)](),_0x2cc8c0=_0x12a50c['find'](_0x2c69cc=>_0x2c69cc['label']===_0x2af307);if(_0x2cc8c0)_0x12de93[_0x4ed3b8(0xf8)](_0x2cc8c0);else _0x3c0fa9[_0x4ed3b8(0xf8)](_0x47c855);}return{'matched':_0x12de93,'unmatched':_0x3c0fa9};}export async function doCreateMenus(_0x5229db,_0x1bf795,_0x504717,_0x2b7cd6){const _0xe2ea7b=a76_0x3336,_0x22053c=await createMenus(_0x5229db,_0x1bf795,_0x504717,_0x2b7cd6);return{'created':_0x22053c[_0xe2ea7b(0xea)],'failed':0x0,'labels':_0x504717['map'](_0x7b9c7f=>_0x7b9c7f['label']),'menus':_0x22053c};}export function filterMenusWithResources(_0x2a85cb){const _0x276626=a76_0x3336;return _0x2a85cb['filter'](_0x18cda0=>_0x18cda0['resources'][_0x276626(0xea)]>0x0);}export async function doUpdateCdnUrls(_0x105599,_0x2a3e8c,_0x356358,_0x1b5e05){const _0x518367=a76_0x3336,_0x356179=_0x356358[_0x518367(0xf4)](_0x55831b=>_0x55831b['resources'][_0x518367(0xea)]>0x0),_0xa48e15=await Promise['allSettled'](_0x356179[_0x518367(0xfd)](_0x10a1ad=>updateMenuCdnUrl(_0x105599,_0x2a3e8c,{'id':_0x10a1ad['id'],'label':_0x10a1ad[_0x518367(0xf3)],'path':_0x10a1ad['path'],'resources':_0x1b5e05}))),_0x1033a4=_0xa48e15[_0x518367(0xf4)](_0x9ddc28=>_0x9ddc28[_0x518367(0xeb)]==='fulfilled')['map'](_0x1bcfcc=>_0x1bcfcc['value']),_0x24fb59=_0xa48e15[_0x518367(0xf4)](_0x5dd3b2=>_0x5dd3b2['status']===_0x518367(0x101))[_0x518367(0xea)];return{'updated':_0x1033a4['length'],'failed':_0x24fb59,'menus':_0x1033a4};}export async function fetchMenuData(_0x399463,_0x34b85a){const _0x39a3ea=a76_0x3336,_0x13c2e0=getLocalPages(),_0x450030=await getOnlineMenuList(_0x399463,_0x34b85a),_0x177899=new Set(_0x450030[_0x39a3ea(0xfd)](_0x2e40f4=>_0x2e40f4['path']));return{'localPages':_0x13c2e0,'onlineMenuList':_0x450030,'onlinePaths':_0x177899};}export async function fetchOnlineMenuList(_0x89a11b,_0x40f7c6){return getOnlineMenuList(_0x89a11b,_0x40f7c6);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x54a4a4,_0x5eb755){const _0x2969a4=a77_0xecfc,_0x1fbe2e=_0x54a4a4();while(!![]){try{const _0x25e85d=-parseInt(_0x2969a4(0xee))/0x1+-parseInt(_0x2969a4(0xe9))/0x2+parseInt(_0x2969a4(0xda))/0x3+-parseInt(_0x2969a4(0xe2))/0x4+-parseInt(_0x2969a4(0xe1))/0x5+-parseInt(_0x2969a4(0xe8))/0x6+parseInt(_0x2969a4(0xf8))/0x7;if(_0x25e85d===_0x5eb755)break;else _0x1fbe2e['push'](_0x1fbe2e['shift']());}catch(_0x3089f0){_0x1fbe2e['push'](_0x1fbe2e['shift']());}}}(a77_0x1950,0x5381e));import{getApiDomain}from'../../../constant/domain.js';import{getEnv,isProduction}from'../../../constant/env.js';function a77_0x1950(){const _0x167411=['path','create-menu','resources','Fetch\x20menu\x20list','1362330ynzPWF','info','Menu\x20created\x20successfully:\x20','map','isArray','POST','get-online-menu-list','362775AoxTSi','213296mTPyDg','extend','Create\x20menu\x20\x22','Fetching\x20daily\x20menu\x20list...\x20(appCode:\x20','procode','Batch\x20menu\x20creation\x20completed,\x20total\x20','2178822ucekjX','1021694nPeVtH','all','\x20online\x20menus\x20successfully','update-menu-cdn-url','label','587098cmzmzx','Creating\x20menu:\x20','Updating\x20menu\x20asset\x20links:\x20','/smartapi/menu/find?appCode=','import','length','Start\x20batch\x20menu\x20creation,\x20total\x20','/smartapi/menu/create','push','children','10324279noZnHp','Menu\x20assets\x20synced:\x20','create-menus','stringify','flat','Fetched\x20','Fetching\x20online\x20menu\x20list...\x20(appCode:\x20'];a77_0x1950=function(){return _0x167411;};return a77_0x1950();}function a77_0xecfc(_0x113fe2,_0x17b13c){_0x113fe2=_0x113fe2-0xd6;const _0x195096=a77_0x1950();let _0xecfcf2=_0x195096[_0x113fe2];return _0xecfcf2;}import{logger}from'../../../utils/logger.js';import{platformFetch}from'../../../core/api-client.js';export async function getOnlineMenuList(_0x4b52e,_0x5f78b){const _0x359b37=a77_0xecfc,_0x3eb9da=getEnv();logger[_0x359b37(0xdb)]('get-online-menu-list',isProduction(_0x3eb9da)?_0x359b37(0xfe)+_0x4b52e+')':_0x359b37(0xe5)+_0x4b52e+')');const _0x279d79=await platformFetch(getApiDomain()+_0x359b37(0xf1)+_0x4b52e,{'cookie':_0x5f78b,'label':_0x359b37(0xd9)});if(!_0x279d79)return logger[_0x359b37(0xdb)](_0x359b37(0xe0),'Server\x20returned\x20empty\x20menu\x20list'),[];return logger[_0x359b37(0xdb)](_0x359b37(0xe0),_0x359b37(0xfd)+_0x279d79[_0x359b37(0xf3)]+_0x359b37(0xeb)),_0x279d79[_0x359b37(0xdd)](flattenMenuItem)[_0x359b37(0xfc)]();}function flattenMenuItem(_0x44b00a){const _0x17ba9b=a77_0xecfc;let _0x4a0116=[];try{if(_0x44b00a[_0x17ba9b(0xe3)]?.[_0x17ba9b(0xd8)]){const _0x587f9d=JSON['parse'](_0x44b00a[_0x17ba9b(0xe3)]['resources']);if(Array[_0x17ba9b(0xde)](_0x587f9d))_0x4a0116=_0x587f9d;}}catch{}const _0x42e822=[{'id':_0x44b00a['id'],'path':_0x44b00a[_0x17ba9b(0xd6)],'label':_0x44b00a[_0x17ba9b(0xed)],'resources':_0x4a0116}];if(_0x44b00a[_0x17ba9b(0xf7)]&&_0x44b00a[_0x17ba9b(0xf7)][_0x17ba9b(0xf3)]>0x0)for(const _0x269144 of _0x44b00a[_0x17ba9b(0xf7)]){_0x42e822[_0x17ba9b(0xf6)](...flattenMenuItem(_0x269144));}return _0x42e822;}export async function createMenu(_0x27f889,_0x5ec21b,_0x37f9ed){const _0x3bfec0=a77_0xecfc;logger[_0x3bfec0(0xdb)]('create-menu',_0x3bfec0(0xef)+_0x37f9ed[_0x3bfec0(0xed)]+'\x20('+_0x37f9ed[_0x3bfec0(0xd6)]+')');const _0x221a20={'appCode':_0x27f889,'type':_0x3bfec0(0xe6),'sort':0x0,'extend':{'loadScriptMode':_0x3bfec0(0xf2),'resources':_0x37f9ed[_0x3bfec0(0xd8)]?JSON[_0x3bfec0(0xfb)](_0x37f9ed[_0x3bfec0(0xd8)]):undefined},..._0x37f9ed},_0x24265f=await platformFetch(getApiDomain()+_0x3bfec0(0xf5),{'method':_0x3bfec0(0xdf),'body':_0x221a20,'cookie':_0x5ec21b,'label':_0x3bfec0(0xe4)+_0x37f9ed[_0x3bfec0(0xed)]+'\x22'});return logger[_0x3bfec0(0xdb)](_0x3bfec0(0xd7),'Menu\x20created\x20successfully:\x20'+_0x37f9ed[_0x3bfec0(0xed)]),_0x24265f;}async function createSingleMenu(_0x5d81a0,_0x471a7c,_0x3f9e51,_0x447d52){const _0x2c7619=a77_0xecfc,_0xdc504={'appCode':_0x5d81a0,'type':'procode','sort':0x0,'extend':{'loadScriptMode':_0x2c7619(0xf2),'resources':_0x447d52?JSON['stringify'](_0x447d52):undefined},'label':_0x3f9e51[_0x2c7619(0xed)],'path':_0x3f9e51[_0x2c7619(0xd6)]},_0x4f0baa=await platformFetch(getApiDomain()+'/smartapi/menu/create',{'method':_0x2c7619(0xdf),'body':_0xdc504,'cookie':_0x471a7c,'label':'Create\x20menu\x20\x22'+_0x3f9e51['label']+'\x22'});return logger[_0x2c7619(0xdb)](_0x2c7619(0xd7),_0x2c7619(0xdc)+_0x3f9e51['label']),_0x4f0baa;}export async function createMenus(_0x1fa5ae,_0x15ae1d,_0x5ecc6b,_0x3a0092){const _0xc47b2b=a77_0xecfc;logger[_0xc47b2b(0xdb)]('create-menus',_0xc47b2b(0xf4)+_0x5ecc6b[_0xc47b2b(0xf3)]);const _0x4ebe1a=await Promise[_0xc47b2b(0xea)](_0x5ecc6b['map'](_0x314739=>createSingleMenu(_0x1fa5ae,_0x15ae1d,_0x314739,_0x3a0092)));return logger['info'](_0xc47b2b(0xfa),_0xc47b2b(0xe7)+_0x5ecc6b['length']),_0x4ebe1a;}export async function updateMenuCdnUrl(_0x536ab7,_0x5cdb60,_0x142f69){const _0x505d31=a77_0xecfc;logger['info'](_0x505d31(0xec),_0x505d31(0xf0)+_0x142f69[_0x505d31(0xed)]+'\x20('+_0x142f69[_0x505d31(0xd6)]+')');const _0x5d70a5={'id':_0x142f69['id'],'appCode':_0x536ab7,'extend':{'loadScriptMode':_0x505d31(0xf2),'resources':_0x142f69[_0x505d31(0xd8)]?JSON[_0x505d31(0xfb)](_0x142f69[_0x505d31(0xd8)]):undefined}},_0x36f8f9=await platformFetch(getApiDomain()+'/smartapi/menu/update',{'method':_0x505d31(0xdf),'body':_0x5d70a5,'cookie':_0x5cdb60,'label':'Update\x20menu\x20assets\x20\x22'+_0x142f69[_0x505d31(0xed)]+'\x22'});return logger[_0x505d31(0xdb)](_0x505d31(0xec),_0x505d31(0xf9)+_0x142f69[_0x505d31(0xed)],undefined),_0x36f8f9;}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
function a78_0xb0a4(_0x31515e,_0x5d285b){_0x31515e=_0x31515e-0x16c;const _0x4128ce=a78_0x4128();let _0xb0a40=_0x4128ce[_0x31515e];return _0xb0a40;}(function(_0xaa0dbf,_0x55cbd3){const _0x1c4f42=a78_0xb0a4,_0x26f298=_0xaa0dbf();while(!![]){try{const _0x4c10ed=parseInt(_0x1c4f42(0x199))/0x1*(parseInt(_0x1c4f42(0x188))/0x2)+-parseInt(_0x1c4f42(0x195))/0x3*(parseInt(_0x1c4f42(0x19a))/0x4)+parseInt(_0x1c4f42(0x18d))/0x5+parseInt(_0x1c4f42(0x17d))/0x6+parseInt(_0x1c4f42(0x17a))/0x7+-parseInt(_0x1c4f42(0x182))/0x8+parseInt(_0x1c4f42(0x17b))/0x9;if(_0x4c10ed===_0x55cbd3)break;else _0x26f298['push'](_0x26f298['shift']());}catch(_0x20325e){_0x26f298['push'](_0x26f298['shift']());}}}(a78_0x4128,0x647d1));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';import{logger}from'../../../utils/logger.js';function validateParams(_0x24aa48){const _0x162ae7=a78_0xb0a4,_0x5df781=[];return _0x24aa48[_0x162ae7(0x18a)]&&!isValidJsHttpsUrl(_0x24aa48['jsUrl'])&&_0x5df781[_0x162ae7(0x175)]({'field':_0x162ae7(0x18a),'message':'JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL'}),_0x24aa48[_0x162ae7(0x17e)]&&!isValidCssHttpsUrl(_0x24aa48[_0x162ae7(0x17e)])&&_0x5df781[_0x162ae7(0x175)]({'field':'cssUrl','message':'CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL'}),_0x5df781;}function a78_0x4128(){const _0x163e6b=['string','utf8','112452oaqmgn','isTTY','readableEnded','menu-sync','16ucYHtv','60ZKATzD','trim','message','path','has','pages','--params.','JS\x20URL\x20is\x20unreachable:\x20','split','concat','push','selectedLabels','isArray','data','CSS\x20URL\x20is\x20unreachable:\x20','3104388aKHPHC','809613KDDyLV','map','1863510VmJpnA','cssUrl','label','toString','Menu\x20sync\x20completed','5568840MriXVa','field','length','object','info','stdin','93202ROgeTy','filter','jsUrl','Start\x20non-interactive\x20menu\x20sync','\x0a\x20\x20Available\x20local\x20pages:\x20','401620noFjHO','startsWith','Invalid\x20--params:\x20','cwd','No\x20local\x20pages\x20matched\x20labels:\x20','join'];a78_0x4128=function(){return _0x163e6b;};return a78_0x4128();}export async function runMenuSyncCore(_0x44cf38,_0x3cc013,_0x406f09=[],_0x4e96f2){const _0x183398=a78_0xb0a4,_0x1e87d0=parseParamsFlag(_0x4e96f2),_0x4b6c53=_0x406f09[_0x183398(0x184)]>0x0?_0x406f09:_0x1e87d0[_0x183398(0x176)],_0x230cc9=_0x1e87d0[_0x183398(0x18a)],_0x1a02fc=_0x1e87d0['cssUrl'],_0x21c49c=[];if(_0x230cc9)_0x21c49c['push'](_0x230cc9);if(_0x1a02fc)_0x21c49c[_0x183398(0x175)](_0x1a02fc);const _0x52e89a=validateParams(_0x1e87d0);if(_0x52e89a[_0x183398(0x184)]>0x0){const _0x3ed5d8=_0x52e89a[_0x183398(0x17c)](_0x33b642=>_0x183398(0x171)+_0x33b642[_0x183398(0x183)]+':\x20'+_0x33b642[_0x183398(0x16d)])['join'](';\x20');throw new Error(_0x183398(0x18f)+_0x3ed5d8);}logger['setLogPath'](process[_0x183398(0x190)]()),logger[_0x183398(0x186)](_0x183398(0x198),_0x183398(0x18b),{'appCode':_0x44cf38,'selectedCount':_0x4b6c53?.[_0x183398(0x184)],'jsUrl':_0x230cc9,'cssUrl':_0x1a02fc});if(_0x230cc9){const _0x150905=await isUrlReachable(_0x230cc9);if(!_0x150905)throw new Error(_0x183398(0x172)+_0x230cc9);}if(_0x1a02fc){const _0x591ef6=await isUrlReachable(_0x1a02fc);if(!_0x591ef6)throw new Error(_0x183398(0x179)+_0x1a02fc);}const _0x2231cd=getLocalPages();if(_0x2231cd['length']===0x0)return{'created':0x0,'skipped':!![],'targetPages':[]};const _0x5800ae=await getOnlineMenuList(_0x44cf38,_0x3cc013),_0x417953=new Set(_0x5800ae[_0x183398(0x17c)](_0x207010=>_0x207010[_0x183398(0x16e)]));let _0x482217;if(_0x4b6c53&&_0x4b6c53[_0x183398(0x184)]>0x0){const _0x432ad1=new Set(_0x4b6c53[_0x183398(0x17c)](_0x4a68a9=>_0x4a68a9[_0x183398(0x16c)]()));_0x482217=_0x2231cd['filter'](_0x2b83cf=>_0x432ad1[_0x183398(0x16f)](_0x2b83cf[_0x183398(0x17f)]));if(_0x482217['length']===0x0){const _0x559a05=_0x2231cd[_0x183398(0x17c)](_0x26b475=>_0x26b475[_0x183398(0x17f)])['join'](',\x20');throw new Error(_0x183398(0x191)+[..._0x432ad1][_0x183398(0x192)](',\x20')+_0x183398(0x18c)+_0x559a05);}}else _0x482217=_0x2231cd[_0x183398(0x189)](_0x3cea55=>!_0x417953[_0x183398(0x16f)](_0x3cea55[_0x183398(0x16e)]));if(_0x482217[_0x183398(0x184)]===0x0)return{'created':0x0,'skipped':!![],'targetPages':[]};const _0x11aeba=await createMenus(_0x44cf38,_0x3cc013,_0x482217,_0x21c49c[_0x183398(0x184)]>0x0?_0x21c49c:undefined);return logger[_0x183398(0x186)](_0x183398(0x198),_0x183398(0x181),{'count':_0x482217[_0x183398(0x184)],'resources':_0x21c49c}),{'created':_0x11aeba[_0x183398(0x184)],'skipped':![],'targetPages':_0x482217,'menus':_0x11aeba};}export async function readPageLabelsFromStdin(){const _0x2bf173=a78_0xb0a4;if(!process['stdin'][_0x2bf173(0x196)]&&!process['stdin'][_0x2bf173(0x197)])return new Promise(_0x14d756=>{const _0x30b9b9=_0x2bf173,_0x46299c=[];process[_0x30b9b9(0x187)]['on'](_0x30b9b9(0x178),_0x2596a9=>_0x46299c[_0x30b9b9(0x175)](_0x2596a9)),process['stdin']['on']('end',()=>{const _0x5c8280=_0x30b9b9,_0x55fb6b=Buffer[_0x5c8280(0x174)](_0x46299c)[_0x5c8280(0x180)](_0x5c8280(0x194)),_0x50fc2e=_0x55fb6b[_0x5c8280(0x173)]('\x0a')[_0x5c8280(0x17c)](_0x3edac5=>_0x3edac5[_0x5c8280(0x16c)]())[_0x5c8280(0x189)](_0x4bf71a=>_0x4bf71a[_0x5c8280(0x184)]>0x0&&!_0x4bf71a[_0x5c8280(0x18e)]('#'));_0x14d756(_0x50fc2e);}),setTimeout(()=>_0x14d756([]),0x1f4);});return[];}function parseParamsFlag(_0x568689){const _0x238d5f=a78_0xb0a4;if(!_0x568689||typeof _0x568689!==_0x238d5f(0x193))return{};try{const _0x2c0605=JSON['parse'](_0x568689);if(typeof _0x2c0605!==_0x238d5f(0x185)||_0x2c0605===null||Array['isArray'](_0x2c0605))return{};return{'selectedLabels':Array[_0x238d5f(0x177)](_0x2c0605[_0x238d5f(0x170)])?_0x2c0605[_0x238d5f(0x170)][_0x238d5f(0x17c)](String):undefined,'jsUrl':typeof _0x2c0605['jsUrl']===_0x238d5f(0x193)?_0x2c0605[_0x238d5f(0x18a)][_0x238d5f(0x16c)]():undefined,'cssUrl':typeof _0x2c0605[_0x238d5f(0x17e)]===_0x238d5f(0x193)?_0x2c0605[_0x238d5f(0x17e)][_0x238d5f(0x16c)]():undefined};}catch{return{};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x82475b,_0x3d0eb3){const _0x254709=a80_0xb1a3,_0x350b6d=_0x82475b();while(!![]){try{const _0x285428=parseInt(_0x254709(0xf5))/0x1*(-parseInt(_0x254709(0xe2))/0x2)+-parseInt(_0x254709(0x106))/0x3+-parseInt(_0x254709(0xee))/0x4*(-parseInt(_0x254709(0xf8))/0x5)+-parseInt(_0x254709(0x10b))/0x6*(-parseInt(_0x254709(0x107))/0x7)+parseInt(_0x254709(0xfe))/0x8*(parseInt(_0x254709(0xe8))/0x9)+-parseInt(_0x254709(0xea))/0xa*(parseInt(_0x254709(0xf7))/0xb)+-parseInt(_0x254709(0x103))/0xc*(-parseInt(_0x254709(0x100))/0xd);if(_0x285428===_0x3d0eb3)break;else _0x350b6d['push'](_0x350b6d['shift']());}catch(_0x3395c9){_0x350b6d['push'](_0x350b6d['shift']());}}}(a80_0x3dfc,0xb7f42));import{updateMenuCdnUrl,getOnlineMenuList}from'../../../commands/menu/shared/service.js';import{isUrlReachable,isValidCssHttpsUrl,isValidJsHttpsUrl}from'../../../commands/menu/shared/valid-url.js';import{logger}from'../../../utils/logger.js';function validateParams(_0x2ecb83){const _0x443d68=a80_0xb1a3,_0xcd7132=[];return _0x2ecb83[_0x443d68(0x10c)]&&!isValidJsHttpsUrl(_0x2ecb83[_0x443d68(0x10c)])&&_0xcd7132[_0x443d68(0xfd)]({'field':_0x443d68(0x10c),'message':'JS\x20URL\x20must\x20be\x20a\x20valid\x20https://...js\x20URL'}),_0x2ecb83[_0x443d68(0xfa)]&&!isValidCssHttpsUrl(_0x2ecb83['cssUrl'])&&_0xcd7132[_0x443d68(0xfd)]({'field':_0x443d68(0xfa),'message':'CSS\x20URL\x20must\x20be\x20a\x20valid\x20https://...css\x20URL'}),_0xcd7132;}function a80_0x3dfc(){const _0x45640f=['status','CSS\x20URL\x20is\x20unreachable:\x20','48kKcjss','length','trim','2822949KjJkmj','3446422XgbdQU','isArray','--params.','path','6AnDoqV','jsUrl','4YMcRwz','parse','map','message','object','setLogPath','498105ubDpNC','menu-update','152420GVJasp','value','allSettled','label','184swtIyv','Start\x20non-interactive\x20menu\x20update','Invalid\x20--params:\x20','cwd','string','JS\x20URL\x20is\x20unreachable:\x20','join','368201gHffCb','resources','1001RLZSrA','63685PCeSso','fulfilled','cssUrl','filter','Menu\x20update\x20completed','push','40AYaxkp','info','8004451UFflor'];a80_0x3dfc=function(){return _0x45640f;};return a80_0x3dfc();}function a80_0xb1a3(_0x4b3731,_0x45fabe){_0x4b3731=_0x4b3731-0xe2;const _0x3dfc70=a80_0x3dfc();let _0xb1a32c=_0x3dfc70[_0x4b3731];return _0xb1a32c;}export async function runMenuUpdateCore(_0x4184e2,_0x52f302,_0x292a5c){const _0x40fc88=a80_0xb1a3,_0x58118d=parseUpdateParamsFlag(_0x292a5c),_0x573346=[];if(_0x58118d[_0x40fc88(0x10c)])_0x573346[_0x40fc88(0xfd)](_0x58118d[_0x40fc88(0x10c)]);if(_0x58118d[_0x40fc88(0xfa)])_0x573346[_0x40fc88(0xfd)](_0x58118d[_0x40fc88(0xfa)]);const _0x507062=validateParams(_0x58118d);if(_0x507062['length']>0x0){const _0x506524=_0x507062[_0x40fc88(0xe4)](_0x15910d=>_0x40fc88(0x109)+_0x15910d['field']+':\x20'+_0x15910d[_0x40fc88(0xe5)])[_0x40fc88(0xf4)](';\x20');throw new Error(_0x40fc88(0xf0)+_0x506524);}logger[_0x40fc88(0xe7)](process[_0x40fc88(0xf1)]()),logger[_0x40fc88(0xff)](_0x40fc88(0xe9),_0x40fc88(0xef),{'appCode':_0x4184e2,'jsUrl':_0x58118d[_0x40fc88(0x10c)],'cssUrl':_0x58118d['cssUrl']});if(_0x58118d[_0x40fc88(0x10c)]){const _0x40f89a=await isUrlReachable(_0x58118d['jsUrl']);if(!_0x40f89a)throw new Error(_0x40fc88(0xf3)+_0x58118d[_0x40fc88(0x10c)]);}if(_0x58118d['cssUrl']){const _0x2d06c6=await isUrlReachable(_0x58118d[_0x40fc88(0xfa)]);if(!_0x2d06c6)throw new Error(_0x40fc88(0x102)+_0x58118d[_0x40fc88(0xfa)]);}const _0x47189e=await getOnlineMenuList(_0x4184e2,_0x52f302),_0x5809d2=_0x47189e[_0x40fc88(0xfb)](_0x126587=>_0x126587[_0x40fc88(0xf6)][_0x40fc88(0x104)]>0x0);if(_0x5809d2[_0x40fc88(0x104)]===0x0)return{'updated':0x0,'failed':0x0,'skipped':!![]};const _0x426b3f=await Promise[_0x40fc88(0xec)](_0x5809d2[_0x40fc88(0xe4)](_0x358f59=>updateMenuCdnUrl(_0x4184e2,_0x52f302,{'id':_0x358f59['id'],'label':_0x358f59[_0x40fc88(0xed)],'path':_0x358f59[_0x40fc88(0x10a)],'resources':_0x573346}))),_0x2434f6=_0x426b3f[_0x40fc88(0xfb)](_0x11775c=>_0x11775c[_0x40fc88(0x101)]===_0x40fc88(0xf9))[_0x40fc88(0xe4)](_0x38440f=>_0x38440f[_0x40fc88(0xeb)]),_0x40d8ca=_0x426b3f[_0x40fc88(0xfb)](_0x2f26cc=>_0x2f26cc[_0x40fc88(0x101)]==='rejected')[_0x40fc88(0x104)];return logger[_0x40fc88(0xff)]('menu-update',_0x40fc88(0xfc),{'count':_0x5809d2[_0x40fc88(0x104)],'resources':_0x573346}),{'updated':_0x2434f6[_0x40fc88(0x104)],'failed':_0x40d8ca,'skipped':![],'menus':_0x2434f6};}function parseUpdateParamsFlag(_0x2e788f){const _0x3c3b2d=a80_0xb1a3;if(!_0x2e788f||typeof _0x2e788f!==_0x3c3b2d(0xf2))return{};try{const _0x40e231=JSON[_0x3c3b2d(0xe3)](_0x2e788f);if(typeof _0x40e231!==_0x3c3b2d(0xe6)||_0x40e231===null||Array[_0x3c3b2d(0x108)](_0x40e231))return{};return{'jsUrl':typeof _0x40e231['jsUrl']===_0x3c3b2d(0xf2)?_0x40e231[_0x3c3b2d(0x10c)]['trim']():undefined,'cssUrl':typeof _0x40e231['cssUrl']==='string'?_0x40e231[_0x3c3b2d(0xfa)][_0x3c3b2d(0x105)]():undefined};}catch{return{};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(_0x1abba9,_0x5d5a27){const _0x52344e=a81_0x593a,_0x5ab3d0=_0x1abba9();while(!![]){try{const _0x39266f=-parseInt(_0x52344e(0xbc))/0x1+-parseInt(_0x52344e(0xc2))/0x2*(-parseInt(_0x52344e(0xbf))/0x3)+parseInt(_0x52344e(0xba))/0x4*(parseInt(_0x52344e(0xc1))/0x5)+parseInt(_0x52344e(0xbe))/0x6*(-parseInt(_0x52344e(0xb9))/0x7)+-parseInt(_0x52344e(0xc5))/0x8*(-parseInt(_0x52344e(0xbd))/0x9)+-parseInt(_0x52344e(0xc3))/0xa*(parseInt(_0x52344e(0xc4))/0xb)+-parseInt(_0x52344e(0xbb))/0xc*(-parseInt(_0x52344e(0xc6))/0xd);if(_0x39266f===_0x5d5a27)break;else _0x5ab3d0['push'](_0x5ab3d0['shift']());}catch(_0xb213ef){_0x5ab3d0['push'](_0x5ab3d0['shift']());}}}(a81_0x18ac,0xe9c93));export function isValidJsHttpsUrl(_0x47d51e){const _0x19a42a=a81_0x593a;return/^https:\/\/.+\.js(\?.*)?$/[_0x19a42a(0xc0)](_0x47d51e[_0x19a42a(0xb8)]());}export function isValidCssHttpsUrl(_0x343da8){const _0x352f33=a81_0x593a;return/^https:\/\/.+\.css(\?.*)?$/[_0x352f33(0xc0)](_0x343da8[_0x352f33(0xb8)]());}function a81_0x593a(_0x807f04,_0x2069fe){_0x807f04=_0x807f04-0xb8;const _0x18ac53=a81_0x18ac();let _0x593a2f=_0x18ac53[_0x807f04];return _0x593a2f;}export async function isUrlReachable(_0xff95f3){try{const _0x33b591=await fetch(_0xff95f3,{'method':'HEAD'});return _0x33b591['ok'];}catch{return![];}}function a81_0x18ac(){const _0x4493c4=['10PbvhDV','4768577ZJDjaF','175688MtTPNM','558389CYSoVd','trim','9149OGraVL','32KZwkaW','588ouPiqw','1865638oYHEca','90XbJPDZ','204XANFYF','249XorFvq','test','215200AhUzPT','15242ljcggw'];a81_0x18ac=function(){return _0x4493c4;};return a81_0x18ac();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a82_0x4f5f24=a82_0x1a16;(function(_0x1556ba,_0x3b1d6f){const _0x35532d=a82_0x1a16,_0x2c2130=_0x1556ba();while(!![]){try{const _0x18a997=parseInt(_0x35532d(0x1b3))/0x1+-parseInt(_0x35532d(0x1c2))/0x2*(parseInt(_0x35532d(0x1dc))/0x3)+parseInt(_0x35532d(0x1c9))/0x4*(parseInt(_0x35532d(0x1aa))/0x5)+parseInt(_0x35532d(0x1ad))/0x6*(parseInt(_0x35532d(0x1d6))/0x7)+parseInt(_0x35532d(0x1bc))/0x8+-parseInt(_0x35532d(0x1b5))/0x9*(parseInt(_0x35532d(0x1e5))/0xa)+-parseInt(_0x35532d(0x1cf))/0xb;if(_0x18a997===_0x3b1d6f)break;else _0x2c2130['push'](_0x2c2130['shift']());}catch(_0x494a14){_0x2c2130['push'](_0x2c2130['shift']());}}}(a82_0x4cc8,0x81dca));import a82_0x1f67d7 from'chalk';import{buildCompareRows,doCreateMenus,fetchMenuData}from'../../commands/menu/shared/logic.js';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';function a82_0x1a16(_0x474c73,_0x59dfe6){_0x474c73=_0x474c73-0x1a8;const _0x4cc8d6=a82_0x4cc8();let _0x1a1638=_0x4cc8d6[_0x474c73];return _0x1a1638;}import{getLocalPages}from'../../commands/menu/shared/local-pages.js';function a82_0x4cc8(){const _0x1284bf=['\x20menu(s)...','\x20menu(s)\x20with\x20JS:\x20','parse','1969704qybPxT','Sync\x20local\x20pages\x20as\x20platform\x20menus','isArray','validation','Creating\x20','onlinePaths','148598QXKsUt','\x20created.','flag','\x20\x20Continue\x20with\x20creation?','\x20and\x20CSS:\x20','Non-interactive:\x20auto-create\x20all\x20local\x20pages\x20not\x20yet\x20on\x20platform','sync','24yAztVS','✓\x20All\x20local\x20pages\x20are\x20already\x20on\x20platform','yes','\x20failed.','created','Online\x20menu\x20list\x20fetched','18275389LdrBni','failed','message','yellow','Fetching\x20online\x20menu\x20list...','cyan','\x20menu(s)','93779Ppmdxv','Menu\x20sync\x20completed:\x20','length','localPages','Failed\x20to\x20fetch\x20online\x20menu\x20list','write','3ARYCdG','appCode','str','object','trim','map','Menu\x20sync\x20skipped','gray','cookie','9129990zfWkji','string','pages','832935xmIJdt','JSON:\x20{\x22jsUrl\x22:\x22https://...js\x22,\x22cssUrl\x22:\x22https://...css\x22,\x22pages\x22:[\x22Page1\x22]}','\x20\x20Cancelled.','438ginEgc','jsUrl','onlineMenuList','\x20\x20Create\x20','Menu\x20creation\x20failed','params','956895AqkepI','Pre-fill\x20JS/CSS\x20URLs\x20and/or\x20select\x20specific\x20pages.\x20','9ZRpeYj','cssUrl','Created\x20','skipped'];a82_0x4cc8=function(){return _0x1284bf;};return a82_0x4cc8();}export const menuSync={'service':'menu','command':a82_0x4f5f24(0x1c8),'description':a82_0x4f5f24(0x1bd),'risk':a82_0x4f5f24(0x1db),'flags':[{'name':'params','type':'string','description':a82_0x4f5f24(0x1b4)+a82_0x4f5f24(0x1ab)},{'name':a82_0x4f5f24(0x1cb),'type':'boolean','description':a82_0x4f5f24(0x1c7)}],async 'execute'(_0x24c986){const _0x3e707a=a82_0x4f5f24,_0x55744e=_0x24c986[_0x3e707a(0x1c4)]('yes'),_0x2d8ec5=_0x24c986[_0x3e707a(0x1de)](_0x3e707a(0x1b2)),_0x4fe85a=parseParams(_0x2d8ec5),_0x25a15d=!!(_0x4fe85a['jsUrl']||_0x4fe85a['cssUrl']||_0x4fe85a[_0x3e707a(0x1a9)]&&_0x4fe85a['pages'][_0x3e707a(0x1d8)]>0x0);if(_0x55744e||_0x25a15d){let _0xc7e4d4=[];!isInteractive()&&!_0x4fe85a[_0x3e707a(0x1a9)]?.[_0x3e707a(0x1d8)]&&(_0xc7e4d4=await readPageLabelsFromStdin());const _0x5cb4f9=await runMenuSyncCore(_0x24c986['appCode'],_0x24c986[_0x3e707a(0x1e4)],_0xc7e4d4[_0x3e707a(0x1d8)]>0x0?_0xc7e4d4:_0x4fe85a[_0x3e707a(0x1a9)]??[],_0x2d8ec5);if(_0x5cb4f9[_0x3e707a(0x1b8)]){const _0x41d7a1=getLocalPages();_0x41d7a1[_0x3e707a(0x1d8)]===0x0?writeCliSideChannelLine('!\x20No\x20local\x20pages\x20found\x20in\x20src/pages'):writeCliSideChannelLine(_0x3e707a(0x1ca));}else writeCliSideChannelLine('✓\x20Menu\x20sync\x20completed:\x20'+_0x5cb4f9[_0x3e707a(0x1cd)]+'\x20menu(s)\x20created');return{'ok':!![],'data':_0x5cb4f9,'message':_0x5cb4f9[_0x3e707a(0x1b8)]?_0x3e707a(0x1e2):_0x3e707a(0x1d7)+_0x5cb4f9[_0x3e707a(0x1cd)]+_0x3e707a(0x1c3)};}requireInteractive();const _0x565c38=startSpinner(_0x3e707a(0x1d3));let _0x121bee,_0x4e06a9,_0x444140;try{const _0x59a681=await fetchMenuData(_0x24c986[_0x3e707a(0x1dd)],_0x24c986['cookie']);_0x121bee=_0x59a681[_0x3e707a(0x1d9)],_0x4e06a9=_0x59a681[_0x3e707a(0x1c1)],_0x444140=_0x59a681[_0x3e707a(0x1af)],stopSpinner(_0x565c38,_0x3e707a(0x1ce),!![]);}catch(_0x5ee904){stopSpinner(_0x565c38,_0x3e707a(0x1da),![]);throw CliErrors[_0x3e707a(0x1bf)](_0x5ee904 instanceof Error?_0x5ee904[_0x3e707a(0x1d1)]:_0x3e707a(0x1da));}if(_0x121bee[_0x3e707a(0x1d8)]===0x0)return writeCliSideChannelLine(a82_0x1f67d7[_0x3e707a(0x1d2)]('\x20\x20!\x20No\x20local\x20pages\x20found,\x20please\x20create\x20pages\x20first')),{'ok':!![]};const _0x60946d=buildCompareRows(_0x121bee,_0x4e06a9);writeCliSideChannelLine(renderCompareTable(_0x60946d)),writeCliSideChannelLine('');const _0x442a2a=_0x4fe85a[_0x3e707a(0x1a9)],_0x1b62b7=await selectPages(_0x121bee,_0x4e06a9,_0x442a2a);writeCliSideChannelLine(''),writeCliSideChannelLine(a82_0x1f67d7[_0x3e707a(0x1d4)]('\x20\x20✓\x20Selected:\x20'+_0x1b62b7['length']+'\x20page(s)'));const _0xa41445=_0x4fe85a['jsUrl']&&_0x4fe85a[_0x3e707a(0x1b6)];if(!_0xa41445){writeCliSideChannelLine(renderSyncSummary(_0x1b62b7,_0x4e06a9['size']>0x0));const _0x34571f=await askConfirm(_0x3e707a(0x1c5));if(!_0x34571f)return writeCliSideChannelLine(a82_0x1f67d7['gray'](_0x3e707a(0x1ac))),{'ok':!![]};}let _0x5740e6=_0x4fe85a[_0x3e707a(0x1ae)],_0x5dabf3=_0x4fe85a[_0x3e707a(0x1b6)];!_0x5740e6&&(_0x5740e6=await askJsUrl());!_0x5dabf3&&(_0x5dabf3=await askCssUrl());const _0x53e3f1=await askConfirm(_0x3e707a(0x1b0)+_0x1b62b7[_0x3e707a(0x1d8)]+_0x3e707a(0x1ba)+_0x5740e6+_0x3e707a(0x1c6)+_0x5dabf3+'?');if(!_0x53e3f1)return writeCliSideChannelLine(a82_0x1f67d7[_0x3e707a(0x1e3)]('\x20\x20Cancelled.')),{'ok':!![]};const _0x54e292=[_0x5740e6,_0x5dabf3],_0x1a0a07=startSpinner(_0x3e707a(0x1c0)+_0x1b62b7[_0x3e707a(0x1d8)]+_0x3e707a(0x1b9));try{const _0x4ad975=await doCreateMenus(_0x24c986[_0x3e707a(0x1dd)],_0x24c986[_0x3e707a(0x1e4)],_0x1b62b7,_0x54e292);return stopSpinner(_0x1a0a07,_0x3e707a(0x1b7)+_0x4ad975[_0x3e707a(0x1cd)]+_0x3e707a(0x1d5),!![]),{'ok':!![],'data':_0x4ad975,'message':_0x3e707a(0x1d7)+_0x4ad975[_0x3e707a(0x1cd)]+'\x20created,\x20'+_0x4ad975[_0x3e707a(0x1d0)]+_0x3e707a(0x1cc)};}catch(_0x2c3c49){stopSpinner(_0x1a0a07,_0x3e707a(0x1b1),![]);throw CliErrors['validation'](_0x2c3c49 instanceof Error?_0x2c3c49['message']:'Menu\x20creation\x20failed');}}};function parseParams(_0xe59746){const _0xdac017=a82_0x4f5f24;if(!_0xe59746)return{};try{const _0xb4c3c2=JSON[_0xdac017(0x1bb)](_0xe59746);if(typeof _0xb4c3c2!==_0xdac017(0x1df)||_0xb4c3c2===null||Array[_0xdac017(0x1be)](_0xb4c3c2))return{};return{'jsUrl':typeof _0xb4c3c2['jsUrl']===_0xdac017(0x1a8)?_0xb4c3c2[_0xdac017(0x1ae)][_0xdac017(0x1e0)]():undefined,'cssUrl':typeof _0xb4c3c2[_0xdac017(0x1b6)]==='string'?_0xb4c3c2['cssUrl'][_0xdac017(0x1e0)]():undefined,'pages':Array[_0xdac017(0x1be)](_0xb4c3c2[_0xdac017(0x1a9)])?_0xb4c3c2['pages'][_0xdac017(0x1e1)](String):undefined};}catch{return{};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a83_0xb47cec=a83_0x5f2a;(function(_0x115536,_0x491c94){const _0xddbfc9=a83_0x5f2a,_0x368e7a=_0x115536();while(!![]){try{const _0xf0e977=parseInt(_0xddbfc9(0xb0))/0x1+-parseInt(_0xddbfc9(0x8d))/0x2+-parseInt(_0xddbfc9(0xa5))/0x3*(parseInt(_0xddbfc9(0xb7))/0x4)+-parseInt(_0xddbfc9(0xac))/0x5*(-parseInt(_0xddbfc9(0xa3))/0x6)+-parseInt(_0xddbfc9(0x8a))/0x7+parseInt(_0xddbfc9(0xa2))/0x8+-parseInt(_0xddbfc9(0x99))/0x9*(-parseInt(_0xddbfc9(0x9f))/0xa);if(_0xf0e977===_0x491c94)break;else _0x368e7a['push'](_0x368e7a['shift']());}catch(_0x283c51){_0x368e7a['push'](_0x368e7a['shift']());}}}(a83_0x3736,0x89220));import a83_0x4b8d22 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 a83_0x3736(){const _0x41c917=['appCode','message','\x20menu(s)\x20with\x20JS:\x20','Failed\x20to\x20fetch\x20online\x20menu\x20list','175gtaELT','\x20menu(s)\x20updated','cssUrl','trim','616434DhnywK','updated','parse','\x20menu(s)\x20failed','validation','Online\x20menu\x20list\x20fetched','\x20menu(s)\x20with\x20existing\x20resources','53548KyNLxh','!\x20No\x20menus\x20with\x20existing\x20resources\x20found','isArray','JSON:\x20{\x22jsUrl\x22:\x22https://...js\x22,\x22cssUrl\x22:\x22https://...css\x22}','string','str','failed','Non-interactive:\x20update\x20all\x20menus\x20without\x20confirmation','gray','\x20and\x20CSS:\x20','map','write','\x20menu(s)','4583418UaSqfp','Updating\x20','Fetching\x20online\x20menu\x20list...','2019762MpNbjo','jsUrl','\x20\x20!\x20No\x20menus\x20with\x20existing\x20resources\x20found','length','params','Pre-fill\x20JS/CSS\x20URLs\x20to\x20update.\x20','yes','label','\x20failed.','Menu\x20update\x20completed:\x20','yellow','\x20updated,\x20','3370707YaCFPc','Menu\x20update\x20failed','\x20\x20Found\x20','cyan','object','Update\x20CDN\x20asset\x20URLs\x20for\x20all\x20online\x20menus\x20with\x20existing\x20resources','50dPEFpi','Menu\x20update\x20skipped','cookie','1996024AahDiu','22350wWXCiF','update','144pdBUgt','\x20\x20Cancelled.','menu'];a83_0x3736=function(){return _0x41c917;};return a83_0x3736();}function a83_0x5f2a(_0x339ffe,_0x559b41){_0x339ffe=_0x339ffe-0x83;const _0x373652=a83_0x3736();let _0x5f2a1c=_0x373652[_0x339ffe];return _0x5f2a1c;}import{writeCliSideChannelLine}from'../../utils/write-cli-side-channel.js';import{runMenuUpdateCore}from'../../commands/menu/shared/update-core.js';export const menuUpdate={'service':a83_0xb47cec(0xa7),'command':a83_0xb47cec(0xa4),'description':a83_0xb47cec(0x9e),'risk':a83_0xb47cec(0x88),'flags':[{'name':a83_0xb47cec(0x91),'type':a83_0xb47cec(0xbb),'description':a83_0xb47cec(0x92)+a83_0xb47cec(0xba)},{'name':a83_0xb47cec(0x93),'type':'boolean','description':a83_0xb47cec(0x84)}],async 'execute'(_0x39b411){const _0x2735a0=a83_0xb47cec,_0x3c9811=_0x39b411['flag']('yes'),_0x2522ea=_0x39b411[_0x2735a0(0xbc)](_0x2735a0(0x91)),_0x434d95=parseParams(_0x2522ea),_0x3e46b6=!!(_0x434d95[_0x2735a0(0x8e)]||_0x434d95[_0x2735a0(0xae)]);if(_0x3c9811||_0x3e46b6&&!isInteractive()){const _0x20be3a=await runMenuUpdateCore(_0x39b411['appCode'],_0x39b411[_0x2735a0(0xa1)],_0x2522ea);return _0x20be3a['skipped']?writeCliSideChannelLine(_0x2735a0(0xb8)):(writeCliSideChannelLine('✓\x20Menu\x20update\x20completed:\x20'+_0x20be3a[_0x2735a0(0xb1)]+_0x2735a0(0xad)),_0x20be3a[_0x2735a0(0x83)]>0x0&&writeCliSideChannelLine('!\x20'+_0x20be3a[_0x2735a0(0x83)]+_0x2735a0(0xb3))),{'ok':_0x20be3a[_0x2735a0(0x83)]===0x0,'data':_0x20be3a,'message':_0x20be3a['skipped']?_0x2735a0(0xa0):_0x2735a0(0x96)+_0x20be3a[_0x2735a0(0xb1)]+'\x20updated,\x20'+_0x20be3a[_0x2735a0(0x83)]+_0x2735a0(0x95)};}requireInteractive();const _0x164aa4=startSpinner(_0x2735a0(0x8c));let _0x440639;try{_0x440639=await fetchOnlineMenuList(_0x39b411[_0x2735a0(0xa8)],_0x39b411['cookie']),stopSpinner(_0x164aa4,_0x2735a0(0xb5),!![]);}catch(_0x166cdf){stopSpinner(_0x164aa4,_0x2735a0(0xab),![]);throw CliErrors['validation'](_0x166cdf instanceof Error?_0x166cdf[_0x2735a0(0xa9)]:_0x2735a0(0xab));}const _0x373886=filterMenusWithResources(_0x440639);if(_0x373886[_0x2735a0(0x90)]===0x0)return writeCliSideChannelLine(a83_0x4b8d22[_0x2735a0(0x97)](_0x2735a0(0x8f))),{'ok':!![]};writeCliSideChannelLine(''),writeCliSideChannelLine(a83_0x4b8d22[_0x2735a0(0x9c)](_0x2735a0(0x9b)+_0x373886[_0x2735a0(0x90)]+_0x2735a0(0xb6))),writeCliSideChannelLine(renderUpdateSummary(_0x373886[_0x2735a0(0x87)](_0x3aab13=>_0x3aab13[_0x2735a0(0x94)]),[_0x434d95['jsUrl'],_0x434d95[_0x2735a0(0xae)]])),writeCliSideChannelLine('');let _0xd08b45=_0x434d95[_0x2735a0(0x8e)],_0x527609=_0x434d95[_0x2735a0(0xae)];!_0xd08b45&&(_0xd08b45=await askJsUrl());!_0x527609&&(_0x527609=await askCssUrl());const _0x333345=await askConfirm('\x20\x20Update\x20'+_0x373886[_0x2735a0(0x90)]+_0x2735a0(0xaa)+_0xd08b45+_0x2735a0(0x86)+_0x527609+'?');if(!_0x333345)return writeCliSideChannelLine(a83_0x4b8d22[_0x2735a0(0x85)](_0x2735a0(0xa6))),{'ok':!![]};const _0x1c88b4=[_0xd08b45,_0x527609],_0x331d7d=startSpinner(_0x2735a0(0x8b)+_0x373886[_0x2735a0(0x90)]+'\x20menu(s)...');try{const _0x489aea=await doUpdateCdnUrls(_0x39b411['appCode'],_0x39b411[_0x2735a0(0xa1)],_0x373886,_0x1c88b4);return stopSpinner(_0x331d7d,'Updated\x20'+_0x489aea[_0x2735a0(0xb1)]+_0x2735a0(0x89),_0x489aea[_0x2735a0(0x83)]===0x0),{'ok':_0x489aea[_0x2735a0(0x83)]===0x0,'data':_0x489aea,'message':_0x489aea[_0x2735a0(0x83)]>0x0?_0x2735a0(0x96)+_0x489aea['updated']+_0x2735a0(0x98)+_0x489aea['failed']+_0x2735a0(0x95):_0x2735a0(0x96)+_0x489aea['updated']+'\x20updated.'};}catch(_0x3544ed){stopSpinner(_0x331d7d,_0x2735a0(0x9a),![]);throw CliErrors[_0x2735a0(0xb4)](_0x3544ed instanceof Error?_0x3544ed['message']:_0x2735a0(0x9a));}}};function parseParams(_0x8e48cb){const _0x504598=a83_0xb47cec;if(!_0x8e48cb)return{};try{const _0x2e0195=JSON[_0x504598(0xb2)](_0x8e48cb);if(typeof _0x2e0195!==_0x504598(0x9d)||_0x2e0195===null||Array[_0x504598(0xb9)](_0x2e0195))return{};return{'jsUrl':typeof _0x2e0195[_0x504598(0x8e)]==='string'?_0x2e0195[_0x504598(0x8e)][_0x504598(0xaf)]():undefined,'cssUrl':typeof _0x2e0195[_0x504598(0xae)]===_0x504598(0xbb)?_0x2e0195['cssUrl']['trim']():undefined};}catch{return{};}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a84_0x5b9bbc=a84_0x1e3d;(function(_0x8842ac,_0x54ad1e){const _0x5d5cd0=a84_0x1e3d,_0x22ea9b=_0x8842ac();while(!![]){try{const _0x34d7ad=parseInt(_0x5d5cd0(0x106))/0x1+-parseInt(_0x5d5cd0(0xe8))/0x2*(parseInt(_0x5d5cd0(0x10e))/0x3)+-parseInt(_0x5d5cd0(0x104))/0x4*(-parseInt(_0x5d5cd0(0x113))/0x5)+parseInt(_0x5d5cd0(0xec))/0x6+parseInt(_0x5d5cd0(0xf0))/0x7+parseInt(_0x5d5cd0(0xf1))/0x8*(-parseInt(_0x5d5cd0(0x102))/0x9)+parseInt(_0x5d5cd0(0x112))/0xa*(-parseInt(_0x5d5cd0(0xf2))/0xb);if(_0x34d7ad===_0x54ad1e)break;else _0x22ea9b['push'](_0x22ea9b['shift']());}catch(_0x333b45){_0x22ea9b['push'](_0x22ea9b['shift']());}}}(a84_0x3cfd,0x8e142));function a84_0x3cfd(){const _0x59235b=['复用已有生成任务','reused','progressRate','generate-start','standardPageStatus','message','303552QBiZoL','/smartapi/lovrabet/dataset/','124gfhCPS','POST','454944qRpaAn','status','dataset','page','Start\x20async\x20standard\x20page\x20generation\x20from\x20a\x20dataset','operationId','appCode','name','1893Sxumny','fieldCount','clientOperationId','/generate-standard-pages/start','4389800yVgUdf','174805qLYnXV','218pZlHWI','allowGenerate','precheck','currentStep','2730444KkTjnM','related-pages-fallback','alias','number','2886296vFGqLj','104VAXsYo','33UJnwcx','code','manualResolutionRequired','已提交生成任务','compress','write','nextAction','source','Dataset\x20alias\x20from\x20api.ts\x20(resolves\x20to\x20dataset\x20code\x20automatically)','string'];a84_0x3cfd=function(){return _0x59235b;};return a84_0x3cfd();}import{APPCODE_FLAG_OPTIONAL,DATASETCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';import{assessGenerateOperationState,assessStandardPageState,buildPageGenerateOperationStatusQueryCommand,buildStandardPageStatusQueryCommand,createPageGenerateClientOperationId,getUndeletedRelatedPages,loadDatasetDetailForPage,loadStandardPageStatusForGenerate,serializeDryRunDescription,validateDatasetSelector}from'../../commands/page/shared.js';import{startGenerateStandardPages}from'../../core/api-client.js';function a84_0x1e3d(_0x4eeaa2,_0x548b04){_0x4eeaa2=_0x4eeaa2-0xe8;const _0x3cfd67=a84_0x3cfd();let _0x1e3db9=_0x3cfd67[_0x4eeaa2];return _0x1e3db9;}export const pageGenerateStart={'service':a84_0x5b9bbc(0x109),'command':a84_0x5b9bbc(0xff),'description':a84_0x5b9bbc(0x10a),'risk':a84_0x5b9bbc(0xf7),'defaultOutputFormat':a84_0x5b9bbc(0xf6),'flags':[APPCODE_FLAG_OPTIONAL,DATASETCODE_FLAG_OPTIONAL,{'name':a84_0x5b9bbc(0xee),'type':a84_0x5b9bbc(0xfb),'description':a84_0x5b9bbc(0xfa)}],async 'validate'(_0x569368){validateDatasetSelector(_0x569368);},async 'dryRun'(_0x3ebbde){const _0x1dde3c=a84_0x5b9bbc,_0x196c20=await prepare(_0x3ebbde);return{'method':_0x1dde3c(0x105),'url':_0x1dde3c(0x103)+_0x196c20[_0x1dde3c(0x108)]['code']+_0x1dde3c(0x111),'body':{'appCode':_0x3ebbde[_0x1dde3c(0x10c)],'clientOperationId':_0x196c20[_0x1dde3c(0x110)]},'description':serializeDryRunDescription({'dataset':{'id':_0x196c20[_0x1dde3c(0x108)]['id'],'code':_0x196c20[_0x1dde3c(0x108)][_0x1dde3c(0xf3)],'name':_0x196c20[_0x1dde3c(0x108)][_0x1dde3c(0x10d)],'fieldCount':_0x196c20[_0x1dde3c(0x108)][_0x1dde3c(0x10f)]},'precheckSource':_0x196c20[_0x1dde3c(0x100)]?.[_0x1dde3c(0xf9)]??_0x1dde3c(0xed),'action':'generate-start','clientOperationId':_0x196c20['clientOperationId'],'plannedStatus':_0x196c20['precheck'][_0x1dde3c(0x107)],'reason':_0x196c20[_0x1dde3c(0xea)][_0x1dde3c(0x101)]})};},async 'execute'(_0x530798){const _0xf06585=a84_0x5b9bbc,_0x37ceb7=await prepare(_0x530798);if(!_0x37ceb7[_0xf06585(0xea)][_0xf06585(0xe9)])return{'ok':![],'message':_0x37ceb7[_0xf06585(0xea)][_0xf06585(0x101)],'data':{'datasetCode':_0x37ceb7['dataset'][_0xf06585(0xf3)],'clientOperationId':_0x37ceb7[_0xf06585(0x110)],'precheckSource':_0x37ceb7[_0xf06585(0x100)]?.[_0xf06585(0xf9)]??_0xf06585(0xed),'status':_0x37ceb7[_0xf06585(0xea)][_0xf06585(0x107)],'manualResolutionRequired':_0x37ceb7[_0xf06585(0xea)][_0xf06585(0xf4)],'nextAction':_0x37ceb7['precheck'][_0xf06585(0xf8)],'query':{'command':buildStandardPageStatusQueryCommand(_0x37ceb7['dataset'][_0xf06585(0xf3)],_0x530798[_0xf06585(0x10c)])},'standardPageStatus':_0x37ceb7[_0xf06585(0x100)]}};const _0x4d493f=await startGenerateStandardPages(_0x530798[_0xf06585(0x10c)],_0x37ceb7['dataset'][_0xf06585(0xf3)],{'clientOperationId':_0x37ceb7[_0xf06585(0x110)]}),_0x31371c=_0x4d493f[_0xf06585(0x107)]==='SUCCESS'||_0x4d493f[_0xf06585(0x107)]==='PARTIAL_SUCCESS'?await loadStandardPageStatusForGenerate(_0x530798,_0x37ceb7['dataset'][_0xf06585(0xf3)]):null,_0x200283=assessGenerateOperationState(_0x37ceb7[_0xf06585(0x108)][_0xf06585(0xf3)],_0x4d493f['status'],_0x31371c);return{'ok':!![],'message':_0x4d493f[_0xf06585(0xfd)]?_0xf06585(0xfc):_0xf06585(0xf5),'data':{'datasetCode':_0x37ceb7[_0xf06585(0x108)][_0xf06585(0xf3)],'appCode':_0x530798[_0xf06585(0x10c)],'operationId':_0x4d493f['operationId']??null,'clientOperationId':_0x37ceb7[_0xf06585(0x110)],'jobStatus':_0x4d493f[_0xf06585(0x107)]??null,'progressRate':typeof _0x4d493f[_0xf06585(0xfe)]===_0xf06585(0xef)?_0x4d493f['progressRate']:null,'currentStep':_0x4d493f[_0xf06585(0xeb)]??null,'reused':_0x4d493f['reused']===!![],'status':_0x200283[_0xf06585(0x107)],'manualResolutionRequired':_0x200283[_0xf06585(0xf4)],'nextAction':_0x200283['nextAction'],'query':{'command':buildPageGenerateOperationStatusQueryCommand(_0x37ceb7[_0xf06585(0x108)][_0xf06585(0xf3)],{'appCode':_0x530798['appCode'],'operationId':_0x4d493f[_0xf06585(0x10b)],'clientOperationId':_0x37ceb7['clientOperationId']})},'standardPageStatus':_0x31371c}};}};async function prepare(_0x5b739e){const _0x413170=a84_0x5b9bbc,_0x1f76a9=await loadDatasetDetailForPage(_0x5b739e),_0x345542=await loadStandardPageStatusForGenerate(_0x5b739e,_0x1f76a9[_0x413170(0xf3)]),_0x2f1c80=getUndeletedRelatedPages(_0x1f76a9);return{'dataset':_0x1f76a9,'standardPageStatus':_0x345542,'clientOperationId':createPageGenerateClientOperationId(),'precheck':assessStandardPageState(_0x1f76a9[_0x413170(0xf3)],_0x345542,{'fallbackUndeletedPages':_0x2f1c80})};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a85_0x263d66=a85_0x199c;function a85_0x2321(){const _0x51dea3=['operation-id','1077076HwJPhi','compress','3AtZAgR','progressRate','generate-status','operation_failed','275085IaoFxO','name','PARTIAL_SUCCESS','client-operation-id','clientOperationId','GET','str','appCode','282233gNAbXd','code','message','Dataset\x20alias\x20from\x20api.ts\x20(resolves\x20to\x20dataset\x20code\x20automatically)','3258982cpSpzT','toString','query-generate-operation-status','page','Query\x20standard\x20page\x20generate\x20operation\x20status','errorMsg','661130PZZfSA','SUCCESS','alias','Client\x20recovery/idempotency\x20id\x20when\x20operationId\x20is\x20unavailable\x20or\x20lost','910xDaGfr','Async\x20operation\x20id\x20returned\x20by\x20page\x20generate-start','number','manualResolutionRequired','string','set','read','2593794RYwMQt','1407545kVQBKa','status','296uQWfNb'];a85_0x2321=function(){return _0x51dea3;};return a85_0x2321();}(function(_0x342986,_0x5694a6){const _0x217351=a85_0x199c,_0x1a6fa2=_0x342986();while(!![]){try{const _0x400a64=-parseInt(_0x217351(0x84))/0x1+-parseInt(_0x217351(0x7e))/0x2+parseInt(_0x217351(0x6e))/0x3*(-parseInt(_0x217351(0x6c))/0x4)+-parseInt(_0x217351(0x90))/0x5+-parseInt(_0x217351(0x8f))/0x6+parseInt(_0x217351(0x7a))/0x7*(parseInt(_0x217351(0x6a))/0x8)+parseInt(_0x217351(0x72))/0x9*(parseInt(_0x217351(0x88))/0xa);if(_0x400a64===_0x5694a6)break;else _0x1a6fa2['push'](_0x1a6fa2['shift']());}catch(_0x28f580){_0x1a6fa2['push'](_0x1a6fa2['shift']());}}}(a85_0x2321,0xf4060));import{APPCODE_FLAG_OPTIONAL,DATASETCODE_FLAG_OPTIONAL}from'../../commands/common/flags.js';function a85_0x199c(_0x36b873,_0x373acc){_0x36b873=_0x36b873-0x6a;const _0x2321ef=a85_0x2321();let _0x199cd1=_0x2321ef[_0x36b873];return _0x199cd1;}import{assessGenerateOperationState,buildPageGenerateOperationStatusQueryCommand,loadDatasetDetailForPage,loadStandardPageStatusForGenerate,serializeDryRunDescription,validateDatasetSelector,validateGenerateOperationSelector}from'../../commands/page/shared.js';import{getGenerateStandardPagesStatus}from'../../core/api-client.js';export const pageGenerateStatus={'service':a85_0x263d66(0x81),'command':a85_0x263d66(0x70),'description':a85_0x263d66(0x82),'risk':a85_0x263d66(0x8e),'defaultOutputFormat':a85_0x263d66(0x6d),'flags':[APPCODE_FLAG_OPTIONAL,DATASETCODE_FLAG_OPTIONAL,{'name':a85_0x263d66(0x86),'type':a85_0x263d66(0x8c),'description':a85_0x263d66(0x7d)},{'name':'operation-id','type':'string','description':a85_0x263d66(0x89)},{'name':a85_0x263d66(0x75),'type':a85_0x263d66(0x8c),'description':a85_0x263d66(0x87)}],async 'validate'(_0xd730b9){validateDatasetSelector(_0xd730b9),validateGenerateOperationSelector(_0xd730b9);},async 'dryRun'(_0x5e982c){const _0xe79793=a85_0x263d66,_0x536748=await loadDatasetDetailForPage(_0x5e982c),_0x34fcf5=_0x5e982c[_0xe79793(0x78)](_0xe79793(0x6b)),_0x347f85=_0x5e982c['str'](_0xe79793(0x75)),_0x55983a=new URLSearchParams({'appCode':_0x5e982c['appCode']});return _0x34fcf5&&_0x55983a['set']('operationId',_0x34fcf5),_0x347f85&&_0x55983a[_0xe79793(0x8d)]('clientOperationId',_0x347f85),{'method':_0xe79793(0x77),'url':'/smartapi/lovrabet/dataset/'+_0x536748[_0xe79793(0x7b)]+'/generate-standard-pages/status?'+_0x55983a[_0xe79793(0x7f)](),'description':serializeDryRunDescription({'dataset':{'id':_0x536748['id'],'code':_0x536748['code'],'name':_0x536748[_0xe79793(0x73)]},'action':_0xe79793(0x80),'operationId':_0x34fcf5||undefined,'clientOperationId':_0x347f85||undefined})};},async 'execute'(_0x5d38cd){const _0x43514f=a85_0x263d66,_0x425a35=await loadDatasetDetailForPage(_0x5d38cd),_0x184c81=_0x5d38cd[_0x43514f(0x78)]('operation-id'),_0x394812=_0x5d38cd[_0x43514f(0x78)](_0x43514f(0x75)),_0x6692ac=await getGenerateStandardPagesStatus(_0x5d38cd[_0x43514f(0x79)],_0x425a35[_0x43514f(0x7b)],{'operationId':_0x184c81||undefined,'clientOperationId':_0x394812||undefined}),_0x5cf725=_0x6692ac[_0x43514f(0x91)]===_0x43514f(0x85)||_0x6692ac[_0x43514f(0x91)]===_0x43514f(0x74),_0x53862d=_0x5cf725?await loadStandardPageStatusForGenerate(_0x5d38cd,_0x425a35[_0x43514f(0x7b)]):null,_0x3988f5=assessGenerateOperationState(_0x425a35[_0x43514f(0x7b)],_0x6692ac[_0x43514f(0x91)],_0x53862d),_0x36f21d=_0x6692ac['operationId']??_0x184c81??undefined,_0x3ed170=_0x6692ac[_0x43514f(0x76)]??_0x394812??undefined;return{'ok':!![],'message':_0x3988f5[_0x43514f(0x91)]===_0x43514f(0x71)?_0x6692ac[_0x43514f(0x83)]||_0x3988f5[_0x43514f(0x7c)]:_0x3988f5[_0x43514f(0x7c)],'data':{'datasetCode':_0x425a35['code'],'appCode':_0x5d38cd[_0x43514f(0x79)],'operationId':_0x36f21d,'clientOperationId':_0x3ed170,'jobStatus':_0x6692ac[_0x43514f(0x91)]??null,'progressRate':typeof _0x6692ac[_0x43514f(0x6f)]===_0x43514f(0x8a)?_0x6692ac[_0x43514f(0x6f)]:null,'currentStep':_0x6692ac['currentStep']??null,'errorMsg':_0x6692ac[_0x43514f(0x83)]??null,'status':_0x3988f5[_0x43514f(0x91)],'manualResolutionRequired':_0x3988f5[_0x43514f(0x8b)],'nextAction':_0x3988f5['nextAction'],'query':{'command':buildPageGenerateOperationStatusQueryCommand(_0x425a35[_0x43514f(0x7b)],{'appCode':_0x5d38cd[_0x43514f(0x79)],'operationId':_0x36f21d,'clientOperationId':_0x3ed170})},'standardPageStatus':_0x53862d,'result':_0x6692ac['result']??null}};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(_0x7cacf0,_0x57980b){const _0x232ee9=a86_0x5772,_0x27934f=_0x7cacf0();while(!![]){try{const _0xd1f749=-parseInt(_0x232ee9(0x12a))/0x1+parseInt(_0x232ee9(0x122))/0x2+parseInt(_0x232ee9(0x128))/0x3*(parseInt(_0x232ee9(0x125))/0x4)+-parseInt(_0x232ee9(0x12b))/0x5+-parseInt(_0x232ee9(0x123))/0x6*(parseInt(_0x232ee9(0x124))/0x7)+parseInt(_0x232ee9(0x126))/0x8+parseInt(_0x232ee9(0x127))/0x9*(parseInt(_0x232ee9(0x129))/0xa);if(_0xd1f749===_0x57980b)break;else _0x27934f['push'](_0x27934f['shift']());}catch(_0x1572a0){_0x27934f['push'](_0x27934f['shift']());}}}(a86_0x5c14,0xa2e3d));import{pageGenerateStart}from'../../commands/page/generate-start.js';import{pageGenerateStatus}from'../../commands/page/generate-status.js';function a86_0x5772(_0x1fe2c3,_0x4082a7){_0x1fe2c3=_0x1fe2c3-0x122;const _0x5c1439=a86_0x5c14();let _0x57723=_0x5c1439[_0x1fe2c3];return _0x57723;}import{pageStandardPageStatus}from'../../commands/page/standard-page-status.js';import{pageSync}from'../../commands/page/sync.js';import{pagePull}from'../../commands/page/pull.js';function a86_0x5c14(){const _0x19c9ba=['1195054zYHaND','4310680LGjRLP','1357578zBJtBb','6PoSbIW','577374NOZskJ','510812UWPMAI','2789184gKEVba','6858117kSRdWO','6mHlPMQ','20rvsOBZ'];a86_0x5c14=function(){return _0x19c9ba;};return a86_0x5c14();}import{pagePush}from'../../commands/page/push.js';export const pageDefinitions=[pageGenerateStart,pageGenerateStatus,pageStandardPageStatus,pageSync,pagePull,pagePush];
|