@wix/himalaya-cli 0.1817.0 → 0.1819.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/dist/cli.mjs CHANGED
@@ -4411,7 +4411,6 @@ var init_himi_package = __esm({
4411
4411
  var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
4412
4412
  var init_icon_catalog_generated = __esm({
4413
4413
  "../../core/ts/src/icon-catalog.generated.ts"() {
4414
- "use strict";
4415
4414
  init_define_HHP_CATALOG();
4416
4415
  ICON_VIEW_BOX = 24;
4417
4416
  ICON_STROKE_WIDTH = 2;
@@ -37381,6 +37380,111 @@ var init_wix_cache_policy = __esm({
37381
37380
  }
37382
37381
  });
37383
37382
 
37383
+ // ../l10n/pseudo.ts
37384
+ function isPseudoLocale(tag) {
37385
+ return typeof tag === "string" && PSEUDO_LOCALE_ALIASES.includes(tag.trim().toLowerCase());
37386
+ }
37387
+ function accentPlain(text32) {
37388
+ let out2 = "";
37389
+ let letters = 0;
37390
+ for (let i2 = 0; i2 < text32.length; ) {
37391
+ VERBATIM.lastIndex = i2;
37392
+ const keep = VERBATIM.exec(text32);
37393
+ if (keep) {
37394
+ out2 += keep[0];
37395
+ i2 += keep[0].length;
37396
+ continue;
37397
+ }
37398
+ const ch2 = text32[i2];
37399
+ const mapped = ACCENT.get(ch2);
37400
+ if (mapped) letters++;
37401
+ out2 += mapped ?? ch2;
37402
+ i2++;
37403
+ }
37404
+ return { out: out2, letters };
37405
+ }
37406
+ function closeOf(text32, open6) {
37407
+ let depth = 0;
37408
+ for (let i2 = open6; i2 < text32.length; i2++) {
37409
+ if (text32[i2] === "{") depth++;
37410
+ else if (text32[i2] === "}" && --depth === 0) return i2;
37411
+ }
37412
+ return -1;
37413
+ }
37414
+ function accentIcu(text32) {
37415
+ let out2 = "";
37416
+ let letters = 0;
37417
+ let plain4 = "";
37418
+ const flush2 = () => {
37419
+ const r3 = accentPlain(plain4);
37420
+ out2 += r3.out;
37421
+ letters += r3.letters;
37422
+ plain4 = "";
37423
+ };
37424
+ for (let i2 = 0; i2 < text32.length; ) {
37425
+ if (text32[i2] !== "{") {
37426
+ plain4 += text32[i2];
37427
+ i2++;
37428
+ continue;
37429
+ }
37430
+ const end2 = closeOf(text32, i2);
37431
+ if (end2 === -1) {
37432
+ plain4 += text32.slice(i2);
37433
+ break;
37434
+ }
37435
+ flush2();
37436
+ const inner = text32.slice(i2 + 1, end2);
37437
+ if (!inner.includes("{")) {
37438
+ out2 += `{${inner}}`;
37439
+ } else {
37440
+ let body = "";
37441
+ for (let j2 = 0; j2 < inner.length; ) {
37442
+ if (inner[j2] !== "{") {
37443
+ body += inner[j2];
37444
+ j2++;
37445
+ continue;
37446
+ }
37447
+ const branchEnd = closeOf(inner, j2);
37448
+ if (branchEnd === -1) {
37449
+ body += inner.slice(j2);
37450
+ break;
37451
+ }
37452
+ const branch = accentIcu(inner.slice(j2 + 1, branchEnd));
37453
+ letters += branch.letters;
37454
+ body += `{${branch.out}}`;
37455
+ j2 = branchEnd + 1;
37456
+ }
37457
+ out2 += `{${body}}`;
37458
+ }
37459
+ i2 = end2 + 1;
37460
+ }
37461
+ flush2();
37462
+ return { out: out2, letters };
37463
+ }
37464
+ function pseudoLocalize(text32) {
37465
+ if (!text32) return text32;
37466
+ if (text32.startsWith(PSEUDO_OPEN) && text32.endsWith(PSEUDO_CLOSE)) return text32;
37467
+ const { out: out2, letters } = accentIcu(text32);
37468
+ const pad3 = letters === 0 ? 0 : Math.ceil(letters * PSEUDO_EXPANSION);
37469
+ return `${PSEUDO_OPEN}${out2}${pad3 ? ` ${PAD.repeat(pad3)}` : ""}${PSEUDO_CLOSE}`;
37470
+ }
37471
+ var PSEUDO_LOCALE, PSEUDO_LOCALE_ALIASES, PSEUDO_OPEN, PSEUDO_CLOSE, PSEUDO_EXPANSION, PAD, FROM, TO, ACCENT, VERBATIM;
37472
+ var init_pseudo = __esm({
37473
+ "../l10n/pseudo.ts"() {
37474
+ init_define_HHP_CATALOG();
37475
+ PSEUDO_LOCALE = "en-XA";
37476
+ PSEUDO_LOCALE_ALIASES = ["en-xa", "qps-ploc"];
37477
+ PSEUDO_OPEN = "\u27E6";
37478
+ PSEUDO_CLOSE = "\u27E7";
37479
+ PSEUDO_EXPANSION = 0.35;
37480
+ PAD = "~";
37481
+ FROM = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
37482
+ TO = "\xC5\u0181\xC7\xD0\xC9\u0191\u011C\u0124\xCE\u0134\u0136\u013B\u1E3E\xD1\xD6\xDE\u01EA\u0154\u0160\u0162\xDB\u1E7C\u0174\u1E8A\xDD\u017D\xE5\u0180\xE7\xF0\xE9\u0192\u011D\u0125\xEE\u0135\u0137\u013C\u1E3F\xF1\xF6\xFE\u01EB\u0155\u0161\u0163\xFB\u1E7D\u0175\u1E8B\xFD\u017E";
37483
+ ACCENT = new Map([...FROM].map((c2, i2) => [c2, [...TO][i2]]));
37484
+ VERBATIM = /\$t:[A-Za-z0-9_.\-]+|%(?:\d+\$)?[@dsfu]/y;
37485
+ }
37486
+ });
37487
+
37384
37488
  // ../../core/dev-server/src/l10n-catalog.ts
37385
37489
  function parseCatalog(text32) {
37386
37490
  try {
@@ -37410,9 +37514,30 @@ function keyMap(catalog4, opts = {}) {
37410
37514
  }
37411
37515
  return out2;
37412
37516
  }
37517
+ function pseudoCatalog(source2) {
37518
+ if (!source2) return void 0;
37519
+ const messages = {};
37520
+ for (const [id, m2] of Object.entries(source2.messages ?? {})) {
37521
+ if (typeof m2?.source !== "string") continue;
37522
+ messages[id] = { ...m2, translation: pseudoLocalize(m2.source) };
37523
+ }
37524
+ return { ...source2, $source: source2.$source, messages };
37525
+ }
37526
+ function prefersPseudoLocale(acceptLanguage) {
37527
+ if (!acceptLanguage) return false;
37528
+ const ranked = acceptLanguage.split(",").map((part5, order) => {
37529
+ const [tag = "", ...params] = part5.split(";");
37530
+ const q4 = params.map((p2) => /^\s*q\s*=\s*([0-9.]+)\s*$/i.exec(p2)?.[1]).find((v2) => v2 !== void 0);
37531
+ const weight2 = q4 === void 0 ? 1 : Number(q4);
37532
+ return { tag: tag.trim(), weight: Number.isFinite(weight2) ? weight2 : 0, order };
37533
+ }).filter((e2) => e2.tag && e2.weight > 0);
37534
+ ranked.sort((x2, y2) => y2.weight - x2.weight || x2.order - y2.order);
37535
+ return ranked.length > 0 && isPseudoLocale(ranked[0].tag);
37536
+ }
37413
37537
  var init_l10n_catalog = __esm({
37414
37538
  "../../core/dev-server/src/l10n-catalog.ts"() {
37415
37539
  init_define_HHP_CATALOG();
37540
+ init_pseudo();
37416
37541
  }
37417
37542
  });
37418
37543
 
@@ -37422,13 +37547,20 @@ import { resolve as resolve27 } from "node:path";
37422
37547
  import { fileURLToPath as fileURLToPath19 } from "node:url";
37423
37548
  function loadCatalog(tag) {
37424
37549
  if (catalogCache.has(tag)) return catalogCache.get(tag);
37425
- const path2 = resolve27(ROOT3, `tools/l10n/catalog.${tag}.json`);
37550
+ const pseudo = isPseudoLocale(tag);
37551
+ const path2 = resolve27(ROOT3, `tools/l10n/catalog.${pseudo ? "en" : tag}.json`);
37552
+ if (pseudo) {
37553
+ const map3 = existsSync33(path2) ? sourceMap(pseudoCatalog(parseCatalog(readFileSync31(path2, "utf8")))) : /* @__PURE__ */ new Map();
37554
+ catalogCache.set(tag, map3);
37555
+ return map3;
37556
+ }
37426
37557
  const map2 = existsSync33(path2) ? sourceMap(parseCatalog(readFileSync31(path2, "utf8"))) : /* @__PURE__ */ new Map();
37427
37558
  catalogCache.set(tag, map2);
37428
37559
  return map2;
37429
37560
  }
37430
37561
  function pickLocale(acceptLanguage) {
37431
37562
  if (!acceptLanguage) return null;
37563
+ if (prefersPseudoLocale(acceptLanguage)) return PSEUDO_LOCALE;
37432
37564
  const tags = acceptLanguage.split(",").map((s5) => s5.split(";")[0].trim().toLowerCase()).map((s5) => s5.split("-")[0]).filter((s5) => s5.length > 0);
37433
37565
  for (const tag of tags) {
37434
37566
  if (tag === "en") continue;
@@ -42590,7 +42722,6 @@ function shouldRevealError(args) {
42590
42722
  var EMAIL_RE, URL_HOST_RE, INTEGER_RE, NUMBER_RE, AUTHORED_PATTERN_LIMIT, authoredPatterns;
42591
42723
  var init_validation = __esm({
42592
42724
  "../../core/ts/src/validation.ts"() {
42593
- "use strict";
42594
42725
  init_define_HHP_CATALOG();
42595
42726
  EMAIL_RE = /^[A-Za-z0-9._%+-]+@[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*\.[A-Za-z]{2,}$/;
42596
42727
  URL_HOST_RE = /^[A-Za-z0-9-]+(\.[A-Za-z0-9-]+)*(:[0-9]+)?$/;
@@ -146229,7 +146360,9 @@ function renderDescriptorToHtml(payload, tokens2, scheme = "light", provider = n
146229
146360
  ...rtl ? { isRTL: true } : {},
146230
146361
  ...opts?.idiomContext ? { idiomContext: opts.idiomContext } : {},
146231
146362
  ...opts?.debugUnknownComponents ? { debugUnknownComponents: true } : {},
146232
- ...opts?.assetBaseUrl ? { assetBaseUrl: opts.assetBaseUrl } : {}
146363
+ ...opts?.assetBaseUrl ? { assetBaseUrl: opts.assetBaseUrl } : {},
146364
+ ...opts?.catalog ? { catalog: opts.catalog } : {},
146365
+ ...opts?.localeTag ? { localeTag: opts.localeTag } : {}
146233
146366
  });
146234
146367
  const FOCUS_STYLE_MARKUP = `<style data-himalaya-focus-ring>${FOCUS_RING_CSS}</style>`;
146235
146368
  const glassPreview = isIOSGlassPreview(opts?.idiomContext);
@@ -146568,6 +146701,7 @@ function resolveTreeScalar(v2, provider, itemScope) {
146568
146701
  return itemScope ? key4 ? itemScope[key4] : itemScope : void 0;
146569
146702
  }
146570
146703
  if (v2.startsWith("$service:")) return provider.value(v2) ?? void 0;
146704
+ if (v2.startsWith(TRANSLATION_PREFIX) && provider.catalog) return resolveTranslation(v2, provider.catalog);
146571
146705
  return v2;
146572
146706
  }
146573
146707
  function collectResolvedMediaRecord(record5, path2, context) {
@@ -146678,7 +146812,8 @@ function buildRenderTree(node3, path2 = "$", provider = null, itemScope = void 0
146678
146812
  const template = props2.template;
146679
146813
  if (type2 === "Text" && template && typeof template.template === "string") {
146680
146814
  const args = Object.fromEntries(Object.entries(template.params ?? {}).map(([key4, value2]) => [key4, resolveTreeScalar(value2, provider, itemScope)]));
146681
- values.content = formatMessage(template.template, args);
146815
+ const pattern = resolveTreeScalar(template.template, provider, itemScope);
146816
+ values.content = formatMessage(typeof pattern === "string" ? pattern : template.template, args);
146682
146817
  }
146683
146818
  const valuePath = props2.valuePath;
146684
146819
  const asText3 = VALUE_PATH_TEXT.get(type2);
@@ -146888,7 +147023,7 @@ function composeStickyTree(payload, header2, footer) {
146888
147023
  if (footer) children2.push(footer);
146889
147024
  return { id: "screen", type: "ScreenChrome", children: children2 };
146890
147025
  }
146891
- async function renderDescriptorWeb(descriptor, tokens2, scheme, wantPng, services2 = null, width, isRTL2, idiomContext, assetBaseUrl, platformFrame, contentMaxWidth) {
147026
+ async function renderDescriptorWeb(descriptor, tokens2, scheme, wantPng, services2 = null, width, isRTL2, idiomContext, assetBaseUrl, platformFrame, contentMaxWidth, l10n) {
146892
147027
  const desc = descriptor;
146893
147028
  const tooDeep = rawJsonDepthFinding(descriptor);
146894
147029
  if (tooDeep) return { renderable: false, reason: `depth_budget_exceeded: ${tooDeep.message}` };
@@ -146903,6 +147038,7 @@ async function renderDescriptorWeb(descriptor, tokens2, scheme, wantPng, service
146903
147038
  };
146904
147039
  }
146905
147040
  const provider = services2 ? new FakeServiceProvider(services2) : null;
147041
+ const treeProvider = provider && l10n ? { value: (path2) => provider.value(path2), catalog: l10n.catalog } : provider;
146906
147042
  const stickyHeader = isSduiNode(desc.stickyHeader) ? desc.stickyHeader : void 0;
146907
147043
  const stickyFooter = isSduiNode(desc.stickyFooter) ? desc.stickyFooter : void 0;
146908
147044
  const clientEnv = clientEnvFor(scheme, width, isRTL2);
@@ -146912,10 +147048,10 @@ async function renderDescriptorWeb(descriptor, tokens2, scheme, wantPng, service
146912
147048
  stickyHeader ? treeOf(stickyHeader, "$.stickyHeader", null) : null,
146913
147049
  stickyFooter ? treeOf(stickyFooter, "$.stickyFooter", null) : null
146914
147050
  );
146915
- const resolvedRenderTree = provider ? composeStickyTree(
146916
- treeOf(payload, "$", provider) ?? void 0,
146917
- stickyHeader ? treeOf(stickyHeader, "$.stickyHeader", provider) : null,
146918
- stickyFooter ? treeOf(stickyFooter, "$.stickyFooter", provider) : null
147051
+ const resolvedRenderTree = treeProvider ? composeStickyTree(
147052
+ treeOf(payload, "$", treeProvider) ?? void 0,
147053
+ stickyHeader ? treeOf(stickyHeader, "$.stickyHeader", treeProvider) : null,
147054
+ stickyFooter ? treeOf(stickyFooter, "$.stickyFooter", treeProvider) : null
146919
147055
  ) : void 0;
146920
147056
  let html;
146921
147057
  try {
@@ -146933,7 +147069,7 @@ async function renderDescriptorWeb(descriptor, tokens2, scheme, wantPng, service
146933
147069
  } : void 0,
146934
147070
  // #4497 — the agent fast loop is a dev tool: an unknown component type keeps its
146935
147071
  // developer label here (a shipped web app renders nothing for it).
146936
- { ...isRTL2 ? { isRTL: true } : {}, ...idiomContext ? { idiomContext } : {}, ...assetBaseUrl ? { assetBaseUrl } : {}, ...platformFrame ? { platformFrame } : {}, ...contentMaxWidth ? { contentMaxWidth } : {}, debugUnknownComponents: true }
147072
+ { ...isRTL2 ? { isRTL: true } : {}, ...idiomContext ? { idiomContext } : {}, ...assetBaseUrl ? { assetBaseUrl } : {}, ...platformFrame ? { platformFrame } : {}, ...contentMaxWidth ? { contentMaxWidth } : {}, ...l10n ? { catalog: l10n.catalog, localeTag: l10n.localeTag } : {}, debugUnknownComponents: true }
146937
147073
  );
146938
147074
  } catch (err) {
146939
147075
  return {
@@ -147128,6 +147264,7 @@ var init_render_descriptor = __esm({
147128
147264
  init_media_value();
147129
147265
  init_raw_json_depth();
147130
147266
  init_message_format();
147267
+ init_bindings();
147131
147268
  init_preview_surfaces();
147132
147269
  init_shell_nav();
147133
147270
  init_a11y_contract();
@@ -148776,10 +148913,25 @@ function sourceTranslationKeys(state) {
148776
148913
  return /* @__PURE__ */ new Set();
148777
148914
  }
148778
148915
  }
148916
+ function renderL10nFor(state, locale) {
148917
+ if (typeof locale !== "string" || !state.app) return void 0;
148918
+ const pseudo = isPseudoLocale(locale);
148919
+ const sourceLocale = uiConfig(state.app.module.config).locale?.default ?? "en";
148920
+ const tag = pseudo ? sourceLocale : locale.trim();
148921
+ if (!/^[a-z]{2,3}(-[A-Za-z0-9]{1,8})?$/.test(tag)) return void 0;
148922
+ const path2 = resolve34(state.app.dir, "l10n", `${tag}.json`);
148923
+ if (!existsSync40(path2)) return void 0;
148924
+ try {
148925
+ const parsed = parseCatalog(readFileSync43(path2, "utf8"));
148926
+ return { catalog: keyMap(pseudo ? pseudoCatalog(parsed) : parsed, { sourceFallback: tag === sourceLocale }), localeTag: pseudo ? PSEUDO_LOCALE : tag };
148927
+ } catch {
148928
+ return void 0;
148929
+ }
148930
+ }
148779
148931
  function handleL10nRequest(req, res, state) {
148780
148932
  const u2 = new URL(req.url ?? "", "http://localhost");
148781
148933
  const app2 = (u2.searchParams.get("app") ?? "").trim();
148782
- const tag = (u2.searchParams.get("tag") ?? "").trim();
148934
+ let tag = (u2.searchParams.get("tag") ?? "").trim();
148783
148935
  const cors = { "access-control-allow-origin": "*" };
148784
148936
  if (!isWellFormedAppParam(app2)) {
148785
148937
  return sendJson(res, 400, { error: "bad_app", hint: "pass ?app=<kebab-app-name>&tag=<locale>" }, cors);
@@ -148790,17 +148942,20 @@ function handleL10nRequest(req, res, state) {
148790
148942
  if (!state.app || app2 !== state.app.name) {
148791
148943
  return sendJson(res, 404, { error: "unknown_app", app: app2 }, cors);
148792
148944
  }
148793
- const path2 = resolve34(state.app.dir, "l10n", `${tag}.json`);
148945
+ const sourceLocale = uiConfig(state.app.module.config).locale?.default ?? "en";
148946
+ if (isPseudoLocale(tag) || tag === sourceLocale && prefersPseudoLocale(String(req.headers["accept-language"] ?? ""))) tag = PSEUDO_LOCALE;
148947
+ const pseudo = tag === PSEUDO_LOCALE;
148948
+ const path2 = resolve34(state.app.dir, "l10n", `${pseudo ? sourceLocale : tag}.json`);
148794
148949
  if (!existsSync40(path2)) {
148795
148950
  res.writeHead(204, cors);
148796
148951
  res.end();
148797
148952
  return;
148798
148953
  }
148799
- const sourceLocale = uiConfig(state.app.module.config).locale?.default ?? "en";
148800
148954
  let messages;
148801
148955
  try {
148956
+ const parsed = parseCatalog(readFileSync43(path2, "utf8"));
148802
148957
  messages = Object.fromEntries(
148803
- keyMap(parseCatalog(readFileSync43(path2, "utf8")), { sourceFallback: tag === sourceLocale })
148958
+ keyMap(pseudo ? pseudoCatalog(parsed) : parsed, { sourceFallback: tag === sourceLocale })
148804
148959
  );
148805
148960
  } catch {
148806
148961
  return sendJson(res, 500, { error: "catalog_unreadable", app: app2, tag }, cors);
@@ -150555,7 +150710,11 @@ async function handleDev(req, res, state) {
150555
150710
  idiomContext,
150556
150711
  // #4595 — HHP package images arrive host-less (`/v1/asset/<sha>?app=`); a PNG page loads at
150557
150712
  // about:blank, so resolve them against this server, as a device resolves them against its origin.
150558
- state.serverBaseUrl
150713
+ state.serverBaseUrl,
150714
+ void 0,
150715
+ void 0,
150716
+ // platformFrame, contentMaxWidth
150717
+ renderL10nFor(state, body.locale)
150559
150718
  );
150560
150719
  const legacy = { screenId, scheme, ...render3, diagnostics };
150561
150720
  const report9 = foldLegacyReport(legacy, {
@@ -179889,7 +180048,7 @@ function planReel(dir) {
179889
180048
  const tokens2 = readJson6(join59(dir, "tokens.json"));
179890
180049
  const accentToken = tokens2?.colors?.accentPrimary;
179891
180050
  const accentRaw = typeof accentToken === "string" ? accentToken : accentToken?.light;
179892
- const accent = typeof accentRaw === "string" && ACCENT.test(accentRaw) ? accentRaw : DEFAULT_ACCENT;
180051
+ const accent = typeof accentRaw === "string" && ACCENT2.test(accentRaw) ? accentRaw : DEFAULT_ACCENT;
179893
180052
  const shots = memory2?.shots ?? [];
179894
180053
  const present = shots.filter((s5) => s5.present).sort((a3, b3) => a3.firstSeen.localeCompare(b3.firstSeen) || a3.id.localeCompare(b3.id));
179895
180054
  const home2 = present.find((s5) => /(^|_)home($|_)/i.test(s5.id)) ?? present.find((s5) => /home/i.test(s5.id));
@@ -180006,7 +180165,7 @@ function sinceStart(start2, ts34) {
180006
180165
  function renderReel(plan, images) {
180007
180166
  const img = (f2, alt, cls = "") => f2 && images.has(f2) ? `<img class="${cls}" src="${images.get(f2)}" alt="${escapeHtml(alt)}">` : "";
180008
180167
  const count3 = (n2) => escapeHtml(String(Number.isSafeInteger(n2) && n2 >= 0 ? n2 : 0));
180009
- const accent = ACCENT.test(plan.accent) ? plan.accent : DEFAULT_ACCENT;
180168
+ const accent = ACCENT2.test(plan.accent) ? plan.accent : DEFAULT_ACCENT;
180010
180169
  const clock = (ts34) => sinceStart(plan.startedAt, ts34);
180011
180170
  const frames = plan.frames.filter((f2) => images.has(f2.file));
180012
180171
  const flip = frames.length ? `<section class="flip"><div class="phone">${frames.map((f2, i2) => `<img class="fr${i2 === 0 ? " on" : ""}" src="${images.get(f2.file)}" alt="${escapeHtml(plan.focusId ?? "")} at ${clock(f2.ts)}">`).join("")}</div>
@@ -180052,7 +180211,7 @@ function buildReel(dir, budget = REEL_BUDGET_BYTES) {
180052
180211
  const { plan, images } = inlineImages(dir, planReel(dir), budget);
180053
180212
  return { html: renderReel(plan, images), plan };
180054
180213
  }
180055
- var REEL_BUDGET_BYTES, MAX_FLIP_FRAMES, DEFAULT_ACCENT, ACCENT, HISTORY_NAME, MIME2, mimeOf, readJson6, isObj3, str7, historyName, cited;
180214
+ var REEL_BUDGET_BYTES, MAX_FLIP_FRAMES, DEFAULT_ACCENT, ACCENT2, HISTORY_NAME, MIME2, mimeOf, readJson6, isObj3, str7, historyName, cited;
180056
180215
  var init_studio_reel = __esm({
180057
180216
  "src/studio-reel.ts"() {
180058
180217
  init_define_HHP_CATALOG();
@@ -180061,7 +180220,7 @@ var init_studio_reel = __esm({
180061
180220
  REEL_BUDGET_BYTES = 12 * 1024 * 1024;
180062
180221
  MAX_FLIP_FRAMES = 40;
180063
180222
  DEFAULT_ACCENT = "#3b6fd8";
180064
- ACCENT = /^#[0-9a-f]{3,8}$/i;
180223
+ ACCENT2 = /^#[0-9a-f]{3,8}$/i;
180065
180224
  HISTORY_NAME = /^[0-9a-f]{64}\.(png|jpg|gif|webp)$/;
180066
180225
  MIME2 = { png: "image/png", jpg: "image/jpeg", gif: "image/gif", webp: "image/webp" };
180067
180226
  mimeOf = (file2) => MIME2[file2.slice(65)] ?? "image/png";
@@ -252936,52 +253095,52 @@ var init_preview_assets_generated = __esm({
252936
253095
  init_define_HHP_CATALOG();
252937
253096
  init_preview_assets_format();
252938
253097
  PREVIEW_ASSET_MANIFEST = [
252939
- { key: "assets/DashboardHost-vu6816_S.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "05dd472984581a115a603da4be98988c86ec43d16fc53402846e3890d7b4c7e5" },
252940
- { key: "assets/DevDrawer-B245udVX.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "3c9dd1b1699cd0478eb510f2459631f4158a0beea1c2779e5fe9dfbf26bfbafb" },
252941
- { key: "assets/IdiomCompare-wqxNLeES.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "c33f0bd0de2065271238edb19100841ee5e66d317f8d8bf46b8726bf55329408" },
252942
- { key: "assets/LightboxViewer-D8mem260.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 17382, sha256: "619eff81e662338799470bc68293bb96fea4aa5c4361de94f91c34766390f25c" },
252943
- { key: "assets/OfflineReadingBar-BEaI1X4G.js", contentType: "application/javascript; charset=utf-8", offset: 39084, length: 1646, sha256: "11be061f86775fddc495ccd504e862ad4260a49caf1786bea07dcb1bd05f56cd" },
252944
- { key: "assets/PhonePreviewControl-DITvwvbj.js", contentType: "application/javascript; charset=utf-8", offset: 40730, length: 37851, sha256: "b8c88c17491e18ce178177b6e03da5f6171838d0022c41cb96f20fb45cf80b11" },
252945
- { key: "assets/SchemeCompare-CjVCY--d.js", contentType: "application/javascript; charset=utf-8", offset: 78581, length: 1858, sha256: "cdb0c692c6dcdecd5c38a659f14f21a4b7603ad32f3318c54486f225b3dbd3c8" },
252946
- { key: "assets/WixFrogTelemetrySink-dfAVTCPB.js", contentType: "application/javascript; charset=utf-8", offset: 80439, length: 3515, sha256: "5024330543f5a522877eea24bca2168747918fc388c69490788dee7f732a5e19" },
253098
+ { key: "assets/DashboardHost-BkgrUNcf.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "4c444cc26eb0d6872ffc49bd4e22d9d65c1c49f15cf4e516ca0fd09ef3a0afe0" },
253099
+ { key: "assets/DevDrawer-0_bRi8d-.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "a524d2e635d0b329ec0a1ac523d2096c7f9d10d44728f418a37ef76e7a70ad63" },
253100
+ { key: "assets/IdiomCompare-D7O33XgJ.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "26e3e9f109c774bc40a79b3c15e39d1b3ea56ea6591c8639634519eb7f3dfd8b" },
253101
+ { key: "assets/LightboxViewer-BA7S1BUN.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 17382, sha256: "49cb070b2bac66b44a5b663694c73ec75171d462c35b2918204c4fb5f2f8a1c1" },
253102
+ { key: "assets/OfflineReadingBar-D0jkzqaf.js", contentType: "application/javascript; charset=utf-8", offset: 39084, length: 1646, sha256: "c03ef51bbc68682a2c76e08dc41711db1a01282a0f26d21e919b8dc4faf5a77e" },
253103
+ { key: "assets/PhonePreviewControl-V0_rSxTh.js", contentType: "application/javascript; charset=utf-8", offset: 40730, length: 37851, sha256: "eeb1eac2389aa6805f50f12e5426f02911bdc33d5d1edad9478a7513f1149c0f" },
253104
+ { key: "assets/SchemeCompare-CzEKl0MP.js", contentType: "application/javascript; charset=utf-8", offset: 78581, length: 1858, sha256: "ba91213afe52bcf4a338f5854054163fc8f0271b4649d5093862b6c50285608d" },
253105
+ { key: "assets/WixFrogTelemetrySink-DCAT7ixx.js", contentType: "application/javascript; charset=utf-8", offset: 80439, length: 3515, sha256: "ef2ac1e84ad8af224ea15e59227e1a86e67bd2060dae6c5cb1d069795df2e068" },
252947
253106
  { key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 83954, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
252948
253107
  { key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 86146, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
252949
- { key: "assets/catalogFontFaces-PoF0qC9s.js", contentType: "application/javascript; charset=utf-8", offset: 121772, length: 1111, sha256: "59930f6dd7bdbe87488ee929f8ab38bfab26560004b391bb16da2176f1547475" },
253108
+ { key: "assets/catalogFontFaces-EIY7Lk30.js", contentType: "application/javascript; charset=utf-8", offset: 121772, length: 1111, sha256: "d3270a56594d4022b73c961caa1cf0e078846257b5dbd3768d8e27ba71ed4ee4" },
252950
253109
  { key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 122883, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
252951
- { key: "assets/files-transfer-YwmcfxEr.js", contentType: "application/javascript; charset=utf-8", offset: 125450, length: 6446, sha256: "6873271127a397f7cd0da78912f82a88118850fa6ae2edc13218f1c80a35c464" },
253110
+ { key: "assets/files-transfer-NSrjTed7.js", contentType: "application/javascript; charset=utf-8", offset: 125450, length: 6446, sha256: "2854a4f26f5dff3d60eea6615d2f28cfc0833c118277e3e822df36d6d5ad3c6d" },
252952
253111
  { key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 131896, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
252953
- { key: "assets/frogApiRules-CZMqGHRD.js", contentType: "application/javascript; charset=utf-8", offset: 133068, length: 2207, sha256: "4953ef170721f5b4ced16b593d84ca787facb7b1f5f6966b64cae5fa1453303b" },
253112
+ { key: "assets/frogApiRules-BGjt22iK.js", contentType: "application/javascript; charset=utf-8", offset: 133068, length: 2207, sha256: "9fa074e6601a1bfb6c9ec867afa2b25d536df05ebf476372b18816026e75b7fe" },
252954
253113
  { key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 135275, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
252955
253114
  { key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 136342, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
252956
253115
  { key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 142920, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
252957
- { key: "assets/index-DfWfamZY.js", contentType: "application/javascript; charset=utf-8", offset: 145624, length: 1616714, sha256: "905ae41300ff79f89557d5afe4b65bebf814d5e534274af7a29d48c246be74a3" },
252958
- { key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1762338, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
252959
- { key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1770089, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
252960
- { key: "assets/pdf-hxfZ_Mtv.js", contentType: "application/javascript; charset=utf-8", offset: 1780620, length: 488215, sha256: "6b75cd09be1a632e3fe09f4c4b24f8faf6da7967bd737d0e834263fdeac9132f" },
252961
- { key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2268835, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
252962
- { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2268925, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
252963
- { key: "assets/pdfDocument-BrwFA9CR.js", contentType: "application/javascript; charset=utf-8", offset: 3585959, length: 3470, sha256: "dab2c3e3a7fec950c2227fd4bdbecc61eba0e368798c28c222f7c45f1a544d8c" },
252964
- { key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3589429, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
252965
- { key: "assets/scrollLinkedRuntime-30A-etWD.js", contentType: "application/javascript; charset=utf-8", offset: 3591695, length: 2278, sha256: "cd68b026d5c23ac8009f43ef2b12f111f7fc88e75f286827aa489ea38dfd740d" },
252966
- { key: "assets/webviewBridgeHost-H_aOl0S8.js", contentType: "application/javascript; charset=utf-8", offset: 3593973, length: 9889, sha256: "029ffd75997727cf7b00aa4a542847ad82d9b5f55c1c6ac8c1e3fe462a114f22" },
252967
- { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3603862, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
252968
- { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3608472, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
252969
- { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4097056, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
252970
- { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4187980, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
252971
- { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4278964, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
252972
- { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4369944, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
252973
- { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4460816, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
252974
- { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4551796, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
252975
- { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4660432, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
252976
- { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4769516, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
252977
- { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4878564, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
252978
- { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4986264, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
252979
- { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5074372, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
252980
- { key: "index.html", contentType: "text/html; charset=utf-8", offset: 5081190, length: 4924, sha256: "4fb5bcaec49158d7d3cdde4a6d1f6f347e0d9eedfa126b63d0710e6bf9323809" },
252981
- { key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5086114, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
252982
- { key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5097571, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
252983
- { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5098742, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
252984
- { key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5123045, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
253116
+ { key: "assets/index-CIXK4jus.js", contentType: "application/javascript; charset=utf-8", offset: 145624, length: 1617496, sha256: "676d362b58f890c873fbfd127689f53023ed016d8a7a66b68c0ff659bccd0b45" },
253117
+ { key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1763120, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
253118
+ { key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1770871, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
253119
+ { key: "assets/pdf-BgvkxM5D.js", contentType: "application/javascript; charset=utf-8", offset: 1781402, length: 488215, sha256: "07b2e5e38ef6723989a20a92ad6fb8739a065fb1c1efda5414180c4d819f93a0" },
253120
+ { key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2269617, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
253121
+ { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2269707, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
253122
+ { key: "assets/pdfDocument-CZHUDmoC.js", contentType: "application/javascript; charset=utf-8", offset: 3586741, length: 3470, sha256: "68d2aaa1db1dc56c99ff5fbcf0506e26587332ce5409177e69891318d7738e76" },
253123
+ { key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3590211, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
253124
+ { key: "assets/scrollLinkedRuntime-CZfSYm3v.js", contentType: "application/javascript; charset=utf-8", offset: 3592477, length: 2278, sha256: "c9c6aa33dde82380d2b2e708aa845f0e0a5be7f91dbe287dd7fc1a9199afaec1" },
253125
+ { key: "assets/webviewBridgeHost-Bt1_kXhC.js", contentType: "application/javascript; charset=utf-8", offset: 3594755, length: 9889, sha256: "595d79f0d0c53caf1eb6285f4733dc2ca8d300a1ae7d4f6875ebdeca85d7d23d" },
253126
+ { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3604644, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
253127
+ { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3609254, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
253128
+ { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4097838, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
253129
+ { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4188762, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
253130
+ { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4279746, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
253131
+ { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4370726, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
253132
+ { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4461598, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
253133
+ { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4552578, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
253134
+ { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4661214, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
253135
+ { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4770298, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
253136
+ { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4879346, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
253137
+ { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 4987046, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
253138
+ { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5075154, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
253139
+ { key: "index.html", contentType: "text/html; charset=utf-8", offset: 5081972, length: 4924, sha256: "dd0e1056b5e1f92d4331742a2ae8d8a6715108bfe3e58d52986b9a3901f7e295" },
253140
+ { key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5086896, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
253141
+ { key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5098353, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
253142
+ { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5099524, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
253143
+ { key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5123827, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
252985
253144
  ];
252986
253145
  }
252987
253146
  });
@@ -291534,7 +291693,7 @@ MODES \u2014 pick by who is at the keyboard
291534
291693
  but the sign-in still posts back to THIS machine, so the browser must run here
291535
291694
  (otherwise use --device).
291536
291695
  --provider <id> sign in WITHOUT a Wix account where the plane offers it
291537
- (base44, \u2026): the browser goes straight to that sign-in. Such a login is
291696
+ (base44, github): the browser goes straight to that sign-in. Such a login is
291538
291697
  stored with a refresh token and renews itself when it expires.
291539
291698
  --wix HEADLESS \u2014 the mode a server, a CI job or an agent container can satisfy. It
291540
291699
  presents, in order: the owner's Wix token piped on stdin (--wix-token-stdin),
@@ -291552,10 +291711,10 @@ MODES \u2014 pick by who is at the keyboard
291552
291711
  waits (up to 10 minutes) and stores the same token --browser does. Show the
291553
291712
  owner the URL and the code, and check they see the same code.
291554
291713
  NO WIX ACCOUNT? Where the plane offers it, the page also lets the person sign
291555
- in another way (Base44, later GitHub); the token then names them as
291714
+ in another way (GitHub); the token then names them as
291556
291715
  <provider>:<id> and the JSON says "credential": "federated". Such an account
291557
291716
  can push releases and read, not run \`himi dist\` or promote yet.
291558
- --provider <id> put the sign-in choice in the link (wix, base44, \u2026) so the
291717
+ --provider <id> put the sign-in choice in the link (wix, github) so the
291559
291718
  person is not asked; \`--provider wix\` skips the choice today.
291560
291719
  --site <msid> also asks to connect that site's live data: the owner picks or
291561
291720
  confirms the site on the approve page, and the plane finds or creates the
@@ -291997,7 +292156,7 @@ async function loginCommand(ctx) {
291997
292156
  return 2;
291998
292157
  }
291999
292158
  if (flags.provider !== void 0 && !(providerFlag && LOGIN_PROVIDER_RE.test(providerFlag))) {
292000
- io2.error(JSON.stringify({ error: `--provider needs a sign-in id such as wix or base44, got ${JSON.stringify(flags.provider)}` }));
292159
+ io2.error(JSON.stringify({ error: `--provider needs a sign-in id such as wix, github or base44, got ${JSON.stringify(flags.provider)}` }));
292001
292160
  return 2;
292002
292161
  }
292003
292162
  if (providerFlag && providerFlag !== "wix" && flags.site !== void 0) {
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/himalaya-cli",
3
- "version": "0.1817.0",
3
+ "version": "0.1819.0",
4
4
  "type": "module",
5
5
  "description": "himi — the Himalaya authoring CLI. Build a Tier-5 content package on your own machine, push it to the production serve as a draft, preview it on web + Himi Player, and read worker logs back — the remote dev loop. Wraps @himalaya/serve-cli for transport.",
6
6
  "keywords": [
@@ -82,5 +82,5 @@
82
82
  "artifactId": "himalaya-cli"
83
83
  }
84
84
  },
85
- "falconPackageHash": "e6fecf438feed0021de52930d2c1d54e22d366a863c36a374156923e"
85
+ "falconPackageHash": "699b1b61bbc7e53bbc87b116bbed0af81cd485b613cc7d3fcc79e722"
86
86
  }