@vectoriox/iox-ui 5.143.0 → 5.144.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.
@@ -22623,7 +22623,7 @@ function checkFooter(given, ctx) {
22623
22623
  }
22624
22624
  // ── The recipe: the mix arranged from the contract's parts ─────────────────────────────────────────────────────────
22625
22625
  const clone$5 = (v) => JSON.parse(JSON.stringify(v));
22626
- const part$2 = (id) => clone$5(PARTS$1[id]);
22626
+ const part$3 = (id) => clone$5(PARTS$1[id]);
22627
22627
  /** A part with more layout, its own kept. */
22628
22628
  const laid$1 = (node, lay) => ({ ...node, lay: { ...(node.lay ?? {}), ...lay } });
22629
22629
  const GAP$1 = 'var(--iox-space-gap)';
@@ -22637,7 +22637,7 @@ const centred = (node) => ({
22637
22637
  });
22638
22638
  /** The brand block: the name, and the tagline only when the business has one. */
22639
22639
  const brandPart = (ctx) => {
22640
- const node = part$2('brand');
22640
+ const node = part$3('brand');
22641
22641
  return ctx.tagline?.trim() ? node : { ...node, c: (node.c ?? []).filter(n => n.fromBusiness !== 'tagline') };
22642
22642
  };
22643
22643
  /** The columns of a footer's grid: the name's block wider, one column per block it holds. */
@@ -22651,11 +22651,11 @@ function columnsOf(count) {
22651
22651
  /** The closing name: the business name across the width — fitted to the name in the look's display face as a layout's
22652
22652
  * screen word is (`screenFontSize`, the 12-column room), never under the smallest or over the largest screen word. */
22653
22653
  function closingName(ctx) {
22654
- return laid$1(part$2('name'), { fontSize: screenFontSize(nameWidthEm(ctx), 12, 0, 0, 0) });
22654
+ return laid$1(part$3('name'), { fontSize: screenFontSize(nameWidthEm(ctx), 12, 0, 0, 0) });
22655
22655
  }
22656
22656
  /** A block it holds: how to reach the business leaves its city to the visit block when the footer holds both. */
22657
22657
  function holdPart(hold, mix) {
22658
- const node = part$2(hold);
22658
+ const node = part$3(hold);
22659
22659
  if (hold !== FooterHold.Contact || !mix.holds.includes(FooterHold.Visit))
22660
22660
  return node;
22661
22661
  return { ...node, c: (node.c ?? []).filter(n => n.ph !== 'city') };
@@ -22666,32 +22666,32 @@ function bodyOf$2(mix, ctx) {
22666
22666
  switch (mix.arrange) {
22667
22667
  case FooterArrange.Line: {
22668
22668
  const row = { t: 'Container', es: 'box', lay: { display: 'flex', flexWrap: 'wrap', alignItems: 'center', justifyContent: 'space-between', gap: GAP$1 }, c: [
22669
- laid$1(part$2('copyright'), { width: 'auto' }),
22670
- ...(mix.holds.includes(FooterHold.Pages) ? [part$2('pageRow')] : []),
22669
+ laid$1(part$3('copyright'), { width: 'auto' }),
22670
+ ...(mix.holds.includes(FooterHold.Pages) ? [part$3('pageRow')] : []),
22671
22671
  ] };
22672
22672
  return [row];
22673
22673
  }
22674
22674
  case FooterArrange.Centred: {
22675
- const blocks = mix.holds.map(h => (h === FooterHold.Pages ? laid$1(part$2('pageRow'), { justifyContent: 'center' }) : centred(holdPart(h, mix))));
22675
+ const blocks = mix.holds.map(h => (h === FooterHold.Pages ? laid$1(part$3('pageRow'), { justifyContent: 'center' }) : centred(holdPart(h, mix))));
22676
22676
  return [
22677
22677
  { t: 'Container', es: 'box', lay: { display: 'flex', flexDirection: 'column', gap: '28px', ...CENTRED }, c: [centred(brandPart(ctx)), ...blocks] },
22678
- part$2('rule'),
22679
- laid$1(part$2('copyright'), { textAlign: 'center' }),
22678
+ part$3('rule'),
22679
+ laid$1(part$3('copyright'), { textAlign: 'center' }),
22680
22680
  ];
22681
22681
  }
22682
22682
  default:
22683
- return [{ t: 'Container', es: 'box', ...columnsOf(holds.length), c: [brandPart(ctx), ...holds] }, part$2('rule'), part$2('copyright')];
22683
+ return [{ t: 'Container', es: 'box', ...columnsOf(holds.length), c: [brandPart(ctx), ...holds] }, part$3('rule'), part$3('copyright')];
22684
22684
  }
22685
22685
  }
22686
22686
  /** A footer mix as a pattern: what the composer stamps as the site's footer (global, after the page). Check it first. */
22687
22687
  function footerPattern(given, ctx) {
22688
22688
  const mix = drawnFooterMix(given).mix;
22689
22689
  const plain = mix.ground === FooterGround.Plain;
22690
- const call = mix.closing === FooterClosing.Call ? [mix.arrange === FooterArrange.Columns ? part$2('call') : centred(part$2('call'))] : [];
22690
+ const call = mix.closing === FooterClosing.Call ? [mix.arrange === FooterArrange.Columns ? part$3('call') : centred(part$3('call'))] : [];
22691
22691
  const name = mix.closing === FooterClosing.Name ? [closingName(ctx)] : [];
22692
- const c = [...(plain ? [part$2('rule')] : []), ...call, ...bodyOf$2(mix, ctx), ...name];
22692
+ const c = [...(plain ? [part$3('rule')] : []), ...call, ...bodyOf$2(mix, ctx), ...name];
22693
22693
  // The contract's shell; a Section with one child does not stack it (the patterns' rule, build-spec "more than one child").
22694
- const { lay, ...shell } = part$2('section');
22694
+ const { lay, ...shell } = part$3('section');
22695
22695
  const node = { ...shell, ...(c.length > 1 && lay ? { lay } : {}), ...(plain ? {} : { scheme: mix.ground }), c };
22696
22696
  // A stored footer keeps its own name and intent (the composed root is labelled with it).
22697
22697
  const stored = SITE_PATTERNS[footerPatternIdOf(mix) ?? ''];
@@ -23003,7 +23003,7 @@ function asToggle(node) {
23003
23003
  }
23004
23004
  return node;
23005
23005
  }
23006
- function part$1(kit, suffix, type, props, style, role, lay = {}) {
23006
+ function part$2(kit, suffix, type, props, style, role, lay = {}) {
23007
23007
  const node = createSerializedNode(kit.id(suffix), type, props, style, COMPOSED$2);
23008
23008
  if (role)
23009
23009
  node.role = role;
@@ -23068,10 +23068,10 @@ function moveDisplayOverride(node, to) {
23068
23068
  }
23069
23069
  }
23070
23070
  function iconNode(kit, suffix, iconClass) {
23071
- return part$1(kit, suffix, ICON$1, { iconClass }, null);
23071
+ return part$2(kit, suffix, ICON$1, { iconClass }, null);
23072
23072
  }
23073
23073
  function labelText(kit, suffix, words) {
23074
- return part$1(kit, suffix, TEXT$1, { content: words, tag: 'span' }, 'button-label');
23074
+ return part$2(kit, suffix, TEXT$1, { content: words, tag: 'span' }, 'button-label');
23075
23075
  }
23076
23076
  /** The menu button and the drawer's Close are ONE size — and the shared CSS pads the drawer like the header
23077
23077
  * (`.iox-role-nav-drawer` re-declares dialog-pad as nav-pad) — so the Close lands where the menu button is and
@@ -23080,26 +23080,26 @@ function labelText(kit, suffix, words) {
23080
23080
  // lines makes the row taller, and two centred buttons in rows of different heights part (iox-ui#60).
23081
23081
  const MENU_BUTTON_LAY = { width: '48px', height: '48px', alignItems: 'center', justifyContent: 'center', alignSelf: 'flex-start', flexShrink: '0' };
23082
23082
  function menuButton(kit, drawerId, at) {
23083
- const btn = part$1(kit, 'menu', BUTTON, { tag: 'button', ariaLabel: NAV_SHAPE_COPY.menu }, 'button-ghost', NavRole.MenuButton, { ...MENU_BUTTON_LAY });
23083
+ const btn = part$2(kit, 'menu', BUTTON, { tag: 'button', ariaLabel: NAV_SHAPE_COPY.menu }, 'button-ghost', NavRole.MenuButton, { ...MENU_BUTTON_LAY });
23084
23084
  btn.children = [iconNode(kit, 'menu-icon', MENU_ICON)];
23085
23085
  btn.interactions = [clickTo(kit, 'menu', NavDialogAction.Toggle, drawerId)];
23086
23086
  phoneOnly(btn, at, MENU_DISPLAY);
23087
23087
  return btn;
23088
23088
  }
23089
23089
  function pageLink$1(kit, suffix, page, role, lay = {}) {
23090
- return part$1(kit, suffix, LINK$1, { label: page.label, linkType: LinkType.Page, pageRoute: page.route }, 'link', role, lay);
23090
+ return part$2(kit, suffix, LINK$1, { label: page.label, linkType: LinkType.Page, pageRoute: page.route }, 'link', role, lay);
23091
23091
  }
23092
23092
  function drawer(kit, root, pages, at) {
23093
- const dr = part$1(kit, 'drawer', DIALOG$1, {
23093
+ const dr = part$2(kit, 'drawer', DIALOG$1, {
23094
23094
  placement: 'end', closeOnBackdrop: true, showCloseButton: false, ariaLabel: NAV_SHAPE_COPY.menu, closeAbove: at,
23095
23095
  }, 'dialog', NavRole.Drawer, { width: '86vw', maxWidth: '360px', display: 'flex', flexDirection: 'column', gap: '20px' });
23096
23096
  const brandWords = textOf$2(find([root], NavRole.Brand) ?? root) || NAV_PART_LABELS[NavRole.Root];
23097
- const head = part$1(kit, 'drawer-head', CONTAINER$1, {}, 'box', NavRole.DrawerHead, { display: 'flex', justifyContent: 'space-between', alignItems: 'center', gap: '12px' });
23098
- const close = part$1(kit, 'drawer-close', BUTTON, { tag: 'button', ariaLabel: NAV_SHAPE_COPY.closeMenu }, 'button-ghost', NavRole.DrawerClose, { ...MENU_BUTTON_LAY });
23097
+ const head = part$2(kit, 'drawer-head', CONTAINER$1, {}, 'box', NavRole.DrawerHead, { display: 'flex', justifyContent: 'space-between', alignItems: 'center', gap: '12px' });
23098
+ const close = part$2(kit, 'drawer-close', BUTTON, { tag: 'button', ariaLabel: NAV_SHAPE_COPY.closeMenu }, 'button-ghost', NavRole.DrawerClose, { ...MENU_BUTTON_LAY });
23099
23099
  close.children = [iconNode(kit, 'drawer-close-icon', CLOSE_ICON)];
23100
23100
  close.interactions = [clickTo(kit, 'drawer-close', NavDialogAction.Close, dr.id)];
23101
- head.children = [part$1(kit, 'drawer-brand', HEADING$1, { content: brandWords, level: 'h3' }, 'h3'), close];
23102
- const list = part$1(kit, 'drawer-links', CONTAINER$1, {}, 'box', NavRole.DrawerLinks, { display: 'flex', flexDirection: 'column', gap: '4px' });
23101
+ head.children = [part$2(kit, 'drawer-brand', HEADING$1, { content: brandWords, level: 'h3' }, 'h3'), close];
23102
+ const list = part$2(kit, 'drawer-links', CONTAINER$1, {}, 'box', NavRole.DrawerLinks, { display: 'flex', flexDirection: 'column', gap: '4px' });
23103
23103
  // Board 1: every page, Home first, at lead size (on each Link: a Link's own baseline font size would
23104
23104
  // beat one inherited from the list). The links rest at the body weight and the CURRENT page reads by its ink and
23105
23105
  // weight (no line since 2026-11-22) — the shared CSS keys that on the list's role (iox-design.css), so no Link holds
@@ -23178,7 +23178,7 @@ function dressMenu(kit, dr, menu, look, locale) {
23178
23178
  dressButton(kit, close, 'drawer-close', look.button, true, locale);
23179
23179
  }
23180
23180
  function barItem(kit, i, page) {
23181
- const item = part$1(kit, `bar-item-${i}`, LINKED, { linkType: LinkType.Page, pageRoute: page.route, target: '_self' }, 'bottom-bar-item', NavRole.BarItem, BAR_ITEM_LAY);
23181
+ const item = part$2(kit, `bar-item-${i}`, LINKED, { linkType: LinkType.Page, pageRoute: page.route, target: '_self' }, 'bottom-bar-item', NavRole.BarItem, BAR_ITEM_LAY);
23182
23182
  item.label = page.label;
23183
23183
  item.children = [iconNode(kit, `bar-item-${i}-icon`, barIconForRoute(page.route)), labelText(kit, `bar-item-${i}-label`, page.label)];
23184
23184
  return item;
@@ -23188,7 +23188,7 @@ const BAR_ITEM_LAY = {
23188
23188
  flexGrow: '1', flexShrink: '1', flexBasis: '0px', minWidth: '0px', minHeight: '52px', padding: '4px 2px', textDecoration: 'none',
23189
23189
  };
23190
23190
  function moreItem(kit, drawerId) {
23191
- const more = part$1(kit, 'bar-more', BUTTON, { tag: 'button' }, 'bottom-bar-item', NavRole.More, BAR_ITEM_LAY);
23191
+ const more = part$2(kit, 'bar-more', BUTTON, { tag: 'button' }, 'bottom-bar-item', NavRole.More, BAR_ITEM_LAY);
23192
23192
  more.children = [iconNode(kit, 'bar-more-icon', MORE_ICON), labelText(kit, 'bar-more-label', NAV_SHAPE_COPY.more)];
23193
23193
  more.interactions = [clickTo(kit, 'bar-more', NavDialogAction.Toggle, drawerId)];
23194
23194
  return more;
@@ -23207,7 +23207,7 @@ function barPages(root, pages, count) {
23207
23207
  function bar(kit, root, pages, shape, count, drawerId, at) {
23208
23208
  // The node IS fixed (not only its element style): the builder canvas forces a node's own `position`
23209
23209
  // with !important, so a stored `static` default would pin the bar into the flow there.
23210
- const b = part$1(kit, 'bar', CONTAINER$1, { htmlTag: 'nav' }, 'bottom-bar', NavRole.Bar, { position: 'fixed', justifyContent: 'space-around', alignItems: 'stretch', gap: '4px', padding: '6px 8px', width: 'auto' });
23210
+ const b = part$2(kit, 'bar', CONTAINER$1, { htmlTag: 'nav' }, 'bottom-bar', NavRole.Bar, { position: 'fixed', justifyContent: 'space-around', alignItems: 'stretch', gap: '4px', padding: '6px 8px', width: 'auto' });
23211
23211
  phoneOnly(b, at, 'flex');
23212
23212
  const itemCount = shape === NavShape.Both ? count - 1 : count;
23213
23213
  b.children = barPages(root, pages, itemCount).map((p, i) => barItem(kit, i, p));
@@ -23802,7 +23802,7 @@ function checkHeader(mix, ctx) {
23802
23802
  }
23803
23803
  // ── The recipe: the mix arranged from the contract's parts (§4 — ONE recipe for the palette and the generator) ────
23804
23804
  const clone$3 = (v) => JSON.parse(JSON.stringify(v));
23805
- const part = (id) => clone$3(PARTS[id]);
23805
+ const part$1 = (id) => clone$3(PARTS[id]);
23806
23806
  const laid = (node, lay) => ({ ...node, lay: { ...(node.lay ?? {}), ...lay } });
23807
23807
  const GAP = 'var(--iox-space-gap)';
23808
23808
  /** A side of a centred name: half the room each, so the name sits in the true middle (never nudged by what is beside it). */
@@ -23814,9 +23814,9 @@ const pageLink = (p, role) => ({ t: 'Link', es: 'link', text: p.name, href: p.ro
23814
23814
  /** What a header asks for, in the order it shows them. */
23815
23815
  function actionsOf$1(mix, ctx) {
23816
23816
  switch (mix.action) {
23817
- case HeaderAction.Button: return [part('button')];
23818
- case HeaderAction.Link: return [part('quiet')];
23819
- case HeaderAction.Two: return ctx.shop ? [part('button'), { ...part('outlined'), href: ctx.shop }] : [part('button')];
23817
+ case HeaderAction.Button: return [part$1('button')];
23818
+ case HeaderAction.Link: return [part$1('quiet')];
23819
+ case HeaderAction.Two: return ctx.shop ? [part$1('button'), { ...part$1('outlined'), href: ctx.shop }] : [part$1('button')];
23820
23820
  default: return [];
23821
23821
  }
23822
23822
  }
@@ -23829,14 +23829,14 @@ function pinnedPagesOf(ctx) {
23829
23829
  function keptInBar(mix, ctx) {
23830
23830
  const pins = mix.pages === HeaderPages.MenuPinned ? pinnedPagesOf(ctx) : [];
23831
23831
  const acts = actionsOf$1(mix, ctx);
23832
- const pinned = pins.length ? { ...part('pinned'), c: pins.map(p => pageLink(p)) } : null;
23833
- const actions = acts.length ? { ...part('links'), role: NavRole.Actions, c: acts } : null;
23832
+ const pinned = pins.length ? { ...part$1('pinned'), c: pins.map(p => pageLink(p)) } : null;
23833
+ const actions = acts.length ? { ...part$1('links'), role: NavRole.Actions, c: acts } : null;
23834
23834
  return { pinned, actions };
23835
23835
  }
23836
23836
  /** The root's children for the mix (the menu button is the phone shape's — `planNavShape` places it). */
23837
23837
  function bodyOf$1(mix, ctx) {
23838
- const brand = part('brand');
23839
- const links = (more, lay = {}) => ({ ...laid(part('links'), lay), c: [part('link'), ...more] });
23838
+ const brand = part$1('brand');
23839
+ const links = (more, lay = {}) => ({ ...laid(part$1('links'), lay), c: [part$1('link'), ...more] });
23840
23840
  const flex = { display: 'flex', flexWrap: 'nowrap', justifyContent: 'space-between', alignItems: 'center', gap: GAP };
23841
23841
  if (!behindMenu(mix)) {
23842
23842
  switch (mix.arrange) {
@@ -23845,7 +23845,7 @@ function bodyOf$1(mix, ctx) {
23845
23845
  c: [brand, links(actionsOf$1(mix, ctx), { justifyContent: 'center' })] };
23846
23846
  case HeaderArrange.Between: {
23847
23847
  const half = Math.ceil(ctx.pages.length / 2);
23848
- const row = (pages, more) => ({ ...part('links'), c: [...pages.map(p => pageLink(p, NavRole.Link)), ...more] });
23848
+ const row = (pages, more) => ({ ...part$1('links'), c: [...pages.map(p => pageLink(p, NavRole.Link)), ...more] });
23849
23849
  return { lay: flex, c: [cell('start', [row(ctx.pages.slice(0, half), [])]), brand, cell('end', [row(ctx.pages.slice(half), actionsOf$1(mix, ctx))])] };
23850
23850
  }
23851
23851
  default:
@@ -23890,7 +23890,7 @@ function headerRecipe(mix, ctx) {
23890
23890
  const menuSide = mix.menuSide === MenuSide.Start ? MenuSide.Start : MenuSide.End;
23891
23891
  const stored = SITE_PATTERNS[headerPatternIdOf(mix) ?? ''];
23892
23892
  const { lay, resp, c } = bodyOf$1(mix, ctx);
23893
- const node = { ...part('root'), lay, ...(resp ? { resp } : {}), c };
23893
+ const node = { ...part$1('root'), lay, ...(resp ? { resp } : {}), c };
23894
23894
  const pattern = {
23895
23895
  family: 'nav',
23896
23896
  label: stored?.label ?? `Header — ${headerTokenWords(headerTokenOf(mix))}`,
@@ -31656,7 +31656,7 @@ const AI_STEP_TYPICAL_TOKENS = {
31656
31656
  /** 1 credit = 1 US cent of what the AI actually cost (decision D4). */
31657
31657
  const CREDITS_PER_USD = 100;
31658
31658
  const TOKENS_PER_PRICE_UNIT = 1_000_000;
31659
- const CREDIT_PRECISION = 1e6;
31659
+ const CREDIT_PRECISION$1 = 1e6;
31660
31660
  const NO_TOKENS = Object.freeze({ input: 0, output: 0, cacheWrite: 0, cacheRead: 0 });
31661
31661
  /** What `tokens` cost at `price`, in US dollars. */
31662
31662
  function costUsd(tokens, price) {
@@ -31669,7 +31669,7 @@ function costUsd(tokens, price) {
31669
31669
  }
31670
31670
  /** Dollars → credits, kept to a millionth of a credit (a short read costs a fraction of one). */
31671
31671
  function creditsOfUsd(usd) {
31672
- return Math.round(usd * CREDITS_PER_USD * CREDIT_PRECISION) / CREDIT_PRECISION;
31672
+ return Math.round(usd * CREDITS_PER_USD * CREDIT_PRECISION$1) / CREDIT_PRECISION$1;
31673
31673
  }
31674
31674
  /** What a typical request of `step` reads and writes — one part's when the step is asked in parts, else the whole step's. */
31675
31675
  function typicalStepTokens(step, part) {
@@ -31878,6 +31878,95 @@ function composingShare(waiting, tier) {
31878
31878
  return tier === GenerationTier.Award ? share : Math.min(1, share);
31879
31879
  }
31880
31880
 
31881
+ /**
31882
+ * What a generation will cost, said BEFORE Send (AI plan "Credit estimate before Send", CE-D1…CE-D3, CE-D6, CE-D9) —
31883
+ * pure. ONE function prices a start: iox-cms holds its `high` when a generation starts and answers it, with the gate's
31884
+ * refusal, on the dry quote route, so the number the owner sees is the number held (R-H1). The screens never sum
31885
+ * prices themselves.
31886
+ *
31887
+ * - `high` = what the start holds: counted high like every estimate (the plan's pages part asked twice, each composed page
31888
+ * with its repair). `low` = the same run with no re-ask and no repair. Both rounded OUTWARD to whole credits.
31889
+ * - Home is composed at its model; every following page at the model that runs it (`followingFor`, CE-D3) — Award
31890
+ * 196 → 123, Basic 79 → 65 at the default models.
31891
+ * - An own-key route is priced and marked `keyMode: own` (not charged by IOX, CE-D6); a model the vetted list does not
31892
+ * price carries `estimated` (iox-cms `priceFor`: the dearest known price of its provider).
31893
+ * - Pictures and a film are never in the number (CE-D9): the screen names them as rows with no price.
31894
+ */
31895
+ /** The steps a generation's start is priced on, in order (the reading, the plan, the composed pages). */
31896
+ const START_QUOTE_STEPS = [AiStep.ReadMessage, AiStep.PlanSite, AiStep.ComposePages];
31897
+ /**
31898
+ * One composed page with no repair — the low end of a start (measured on the live u2band run, 2026-11-16: Home 8.8k in /
31899
+ * 8.7k out, the next page 8.7k / 5.6k; ≈ 9k / 7k a page). The high end is `AI_STEP_TYPICAL_TOKENS[ComposePages]` over
31900
+ * `AI_COMPOSED_PAGES_ESTIMATED` (each page with its repair).
31901
+ */
31902
+ const AI_COMPOSED_PAGE_LEAN_TOKENS = Object.freeze({ input: 9_000, output: 7_000, cacheWrite: 0, cacheRead: 0 });
31903
+ const scale = (t, by) => ({
31904
+ input: t.input * by, output: t.output * by, cacheWrite: t.cacheWrite * by, cacheRead: t.cacheRead * by,
31905
+ ...(t.imageOutput !== undefined ? { imageOutput: t.imageOutput * by } : {}),
31906
+ });
31907
+ const sum = (a, b) => ({
31908
+ input: a.input + b.input, output: a.output + b.output, cacheWrite: a.cacheWrite + b.cacheWrite, cacheRead: a.cacheRead + b.cacheRead,
31909
+ });
31910
+ /** The tokens a start is priced on: high = the held estimate's (`AI_STEP_TYPICAL_TOKENS`); low = no re-asked plan part,
31911
+ * no layout repair. */
31912
+ const START_QUOTE_TOKENS = {
31913
+ [AiStep.ReadMessage]: { low: AI_STEP_TYPICAL_TOKENS[AiStep.ReadMessage], high: AI_STEP_TYPICAL_TOKENS[AiStep.ReadMessage] },
31914
+ [AiStep.PlanSite]: {
31915
+ low: PLAN_PARTS.map(part => AI_STEP_PART_TOKENS[AiStep.PlanSite][part]).reduce(sum),
31916
+ high: AI_STEP_TYPICAL_TOKENS[AiStep.PlanSite],
31917
+ },
31918
+ [AiStep.ComposePages]: {
31919
+ low: AI_COMPOSED_PAGE_LEAN_TOKENS,
31920
+ high: scale(AI_STEP_TYPICAL_TOKENS[AiStep.ComposePages], 1 / AI_COMPOSED_PAGES_ESTIMATED),
31921
+ },
31922
+ };
31923
+ const CREDIT_PRECISION = 1e6;
31924
+ const exact = (credits) => Math.round(credits * CREDIT_PRECISION) / CREDIT_PRECISION;
31925
+ /** A credit range rounded OUTWARD to whole credits (low down, high up) — the ONE rounding every quoted range uses. */
31926
+ function outwardCredits(low, high) {
31927
+ return { low: Math.floor(exact(low)), high: Math.ceil(exact(high)) };
31928
+ }
31929
+ function part(step, route, tokens, pages, following) {
31930
+ const times = pages ?? 1;
31931
+ const price = route?.price ?? null;
31932
+ const credits = (t) => (price ? exact(estimateStepCredits(step, price, t) * times) : 0);
31933
+ return {
31934
+ step,
31935
+ model: route?.model ?? null,
31936
+ ...(pages !== undefined ? { pages } : {}),
31937
+ ...(following ? { following: true } : {}),
31938
+ low: credits(tokens.low),
31939
+ high: credits(tokens.high),
31940
+ estimated: !route || !price || route.estimated === true,
31941
+ keyMode: route?.keyMode ?? AiKeyMode.Platform,
31942
+ };
31943
+ }
31944
+ /**
31945
+ * The price of a generation's start at `tier`, on `routes`. The composed pages are the tier's start count
31946
+ * (`AI_COMPOSED_PAGES_BY_TIER`: Basic 2, Award 6) — Home at the composing route, the rest at `following`.
31947
+ */
31948
+ function startQuote(routes, tier, tokens = START_QUOTE_TOKENS) {
31949
+ const at = tierOf(tier);
31950
+ const pages = AI_COMPOSED_PAGES_BY_TIER[at];
31951
+ const compose = routes[AiStep.ComposePages];
31952
+ const following = routes.following === undefined ? compose : routes.following;
31953
+ const parts = [
31954
+ part(AiStep.ReadMessage, routes[AiStep.ReadMessage], tokens[AiStep.ReadMessage]),
31955
+ part(AiStep.PlanSite, routes[AiStep.PlanSite], tokens[AiStep.PlanSite]),
31956
+ part(AiStep.ComposePages, compose, tokens[AiStep.ComposePages], 1),
31957
+ ...(pages > 1 ? [part(AiStep.ComposePages, following, tokens[AiStep.ComposePages], pages - 1, true)] : []),
31958
+ ];
31959
+ const total = outwardCredits(parts.reduce((s, p) => s + p.low, 0), parts.reduce((s, p) => s + p.high, 0));
31960
+ const priced = parts.filter(p => p.model !== null);
31961
+ return {
31962
+ ...total,
31963
+ tier: at,
31964
+ keyMode: priced.length > 0 && priced.every(p => p.keyMode === AiKeyMode.Own) ? AiKeyMode.Own : AiKeyMode.Platform,
31965
+ estimated: parts.some(p => p.estimated),
31966
+ parts,
31967
+ };
31968
+ }
31969
+
31881
31970
  /**
31882
31971
  * What a structured-output request costs the provider's grammar compiler, counted the way the Claude API counts it
31883
31972
  * (platform.claude.com/docs/en/build-with-claude/structured-outputs, "Schema complexity limits", read 2026-10-27):
@@ -35784,5 +35873,5 @@ function siteGlobalsOf(globals) {
35784
35873
  * Generated bundle index. Do not edit.
35785
35874
  */
35786
35875
 
35787
- export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, FooterRole, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBuiltWords, listIngredientWords, listMeaning, listMixFromWords, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRefusal, listWordTier, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
35876
+ export { ACCOUNT_ENTRY_ID, ACTION_START_SCALE, ACTIVE_BUILD_STATUSES, ADDITION_CAPS, ADDITION_ITEMS_KEY, ADDITION_ITEM_SOURCE_SUFFIX, ADDITION_KEY_PREFIX, ADDITION_SLUG, ADJUSTMENTS, ADJUST_AXIS_LABELS, ADJUST_OWN, ADJUST_STEPS, ADJUST_STEP_IDS, AI_COMPOSED_PAGES_BY_TIER, AI_COMPOSED_PAGES_ESTIMATED, AI_COMPOSED_PAGE_LEAN_TOKENS, AI_PLAN_REASKED_PART, AI_REFUSAL_NEXT, AI_REFUSAL_STATUS, AI_STEPS, AI_STEP_FEATURE, AI_STEP_LABELS, AI_STEP_NEEDS, AI_STEP_PART_TOKENS, AI_STEP_TYPICAL_TOKENS, ART_DIRECTION_PARTS, AWARD_COMPOSED_PAGES_ESTIMATED, AdditionHeldBack, AdditionIssueCode, AdditionOrigin, AdditionsPart, AdditionsSkipped, AdjustAxis, AdjustKind, AiCallStatus, AiCapability, AiFeature, AiGenerationStage, AiKeyMode, AiLimit, AiNextKind, AiProviderId, AiRefusalCode, AiStep, BAR_ITEMS_MAX, BAR_ITEMS_MIN, BASELINE_ROLES, BASELINE_WORDS_HE, BODY_TOKEN, BUILD_STEPS, BUTTON_LINK_PROPS, BaselineRole, BindScope, BodyIngredient, BodyMixError, BodyRepairCode, BodyRhythm, BodySeam, BodySectionWord, BodyTexture, BuildNoticeCode, BuildStep, CARRIED_BUTTON_STYLES, CARRY_LAYER_KINDS, CARRY_PHOTO_KINDS, CARRY_PROMPT_QUOTE, CARRY_WHOLE_LAYER_KINDS, CONTENT_ROLE_MEANINGS, COPY_OUT, CREDITS_PER_USD, CardBindTarget, CarryBlockKind, CarryKeptReason, CarryKind, CarryReferenceVia, CheckSeverity, ComposeError, ComposeIssueCode, ContentFieldControl, ContentFieldType, ContentRole, ContentTypeAction, CreatedKind, DANGLING_LINK_CODES, DEFAULT_FOOTER_PATTERN, DEFAULT_GENERATION_TIER, DEFAULT_HEADER_PATTERN, DEFAULT_PHONE_MENU_BREAKPOINT, DEFAULT_SITE_LOCALE, ENTRANCE_EASING, ENTRANCE_ORIGIN_LOOK, ENTRANCE_TRIGGER, EntrancePart, EntranceSide, FACT_KEYS, FIELD_TYPE_OF_CONTROL, FILL_ASPECT, FILM_PATTERN, FINAL_GENERATION_STAGES, FINDING_SEVERITY, FOOTER_LEGAL_ROLE, FOOTER_TOKEN, FORM_LEGAL_ROLE, FilmUnplaced, FooterArrange, FooterClosing, FooterGround, FooterHold, FooterIngredient, FooterMixError, FooterRepairCode, FooterRole, GRAMMAR_TOO_LARGE_MESSAGE, GenerationTier, GlobalSlot, GroundTone, HAND_PAGE_KEY_PREFIX, HEADER_TOKEN, HEBREW_PREFIXES, HeaderAction, HeaderArrange, HeaderIngredient, HeaderMixError, HeaderPages, HeaderRepairCode, HeaderReplacedKind, IMPRINT_COUNTRIES, ISRAEL, JSON_SCHEMA_BANNED_KEYWORDS, JsonSchemaShapeError, KeptPagesChoice, KeptReason, LAYOUT_ACCENT_TEXT, LAYOUT_BEAT_DELAY, LAYOUT_CHECK_VIEWPORT, LAYOUT_COLOUR_TOKEN, LAYOUT_COLUMN_GAP, LAYOUT_DEPTH_ON_PHONE, LAYOUT_DRIFT, LAYOUT_EASING, LAYOUT_ENTRANCE_MAX_MS, LAYOUT_FONT_SIZE, LAYOUT_GUTTER, LAYOUT_HIDDEN_OPACITY, LAYOUT_KINETIC_KINDS, LAYOUT_LINE_HEIGHT, LAYOUT_LIST_TOKEN, LAYOUT_MIX_OFFERED, LAYOUT_MIX_OFFERED_AWARD, LAYOUT_MIX_WORDS, LAYOUT_OPERATED, LAYOUT_OWNED_PROPS, LAYOUT_PACE, LAYOUT_PHONE_BREAKPOINT, LAYOUT_PHONE_PADDING, LAYOUT_PHOTO_ASPECT, LAYOUT_READY_MADE_TOKEN, LAYOUT_RISE, LAYOUT_SCREEN_PX, LAYOUT_TEXT_KINDS, LAYOUT_TOOLTIP_TRAIT, LAYOUT_VIEWPORTS, LAYOUT_WIRE_AUTOPLAY_MS, LEGAL_KINDS, LEGAL_PAGE_SETTING, LIST_CARD_PART, LIST_DECK_MAX_PX, LIST_DECK_SHARE, LIST_INGREDIENTS, LIST_LONG_WORDS, LIST_RHYTHMS, LIST_ROLE_WORDS, LIST_RULES, LIST_TABLE, LIST_WORDS_BESIDE_RULE, LayoutAlign, LayoutBleed, LayoutButtonVariant, LayoutColour, LayoutColourMode, LayoutDepth, LayoutDial, LayoutEase, LayoutEditOp, LayoutEnter, LayoutGalleryEffect, LayoutGapCode, LayoutIssueCode, LayoutLayerKind, LayoutListArrange, LayoutListArrive, LayoutListHover, LayoutListHow, LayoutListItem, LayoutListMove, LayoutListPhone, LayoutListRole, LayoutListSide, LayoutListWho, LayoutMendKind, LayoutMixIngredient, LayoutNavKind, LayoutPace, LayoutPhotoShape, LayoutPhotoSource, LayoutRole, LayoutScrubRefusal, LayoutSectionKind, LayoutSequenceToken, LayoutSide, LayoutSignatureId, LayoutSize, LayoutSourceChoice, LayoutTrackProp, LayoutTransition, LayoutViewport, LegalBlocks, LegalFact, LegalKind, ListWordRefusal, MAX_SITE_PICTURES, MOTION_TRIGGERS, MOVING_OPENING_MEDIA, MenuSide, NAV_PART_LABELS, NAV_SHAPE_COPY, NEUTRAL_STYLE_PROPS, NODE_BASELINES, NO_TOKENS, NavPagesSource, NavRole, NavShape, NavShapeError, ONCE_ENTRANCE_MS, OPENING_HEIGHT, OPENING_MIX_PROP, OPENING_TOKEN, OpeningExtra, OpeningFrame, OpeningIngredient, OpeningMedia, OpeningMixError, OpeningMotion, OpeningRepairCode, OpeningRole, OpeningWords, PAGE_ARCHETYPES, PERSONAL_CONTROLS, PHOTO_ANALYSIS_WIDTH, PHOTO_CALM_DETAIL, PHOTO_GRID, PHOTO_LIGHT_LUMINANCE, PICTURE_ASPECTS, PICTURE_NEVER, PICTURE_REAL_PLACE_FAMILIES, PICTURE_REROLL_EVERY, PICTURE_REVIEW_FORMAT, PICTURE_REVIEW_SHAPE, PICTURE_TEXT_CONTRAST, PICTURE_WORLDS, PICTURE_WORLD_IDS, PLAN_EDITS_ANSWER_SHAPES, PLAN_EDITS_PART_SCHEMA_NAMES, PLAN_EDIT_OP_PART, PLAN_EDIT_SHAPE, PLAN_EDIT_WIRE_KEYS, PLAN_PARTS, PLAN_PART_KEYS, PLAN_WIRE_DERIVED, PLAN_WIRE_PART_SCHEMA_NAMES, PLAN_WIRE_SHAPE, PREVIOUS_ROUTE_SUFFIX, PRICING_PATTERN, PROOF_FINGERPRINTS, PUBLISH_BLOCKING_PLACEHOLDERS, PageDataKind, PathIssueCollector, PatternDirective, PatternGlobalPosition, PatternOpens, PatternPlaceholder, PatternRecipe, PhoneMenuBreakpoint, PhotoTone, PictureRefusal, PictureWorld, PlaceholderKind, PlanChangeAction, PlanChangeKind, PlanDataSourceMode, PlanDataSourceType, PlanEditIssueCode, PlanEditOp, PlanEditsOutcome, PlanPart, PlanWireEntry, PlanWireShapeError, PlanWordIssueCode, PreflightRefusalCode, PriceBindTarget, PublishRefusalCode, PublishScope, REDESIGN_ADDITIONS_SCHEMA_NAMES, REDESIGN_BACK_DAYS, REDESIGN_PARTS, REDESIGN_STEPS, RENDER_CHECK, REQUIRED_CONTENT_ROLES, RedesignPageResult, RedesignPart, RedesignRefusalCode, RedesignStep, RelativeOp, SAMPLE_IMAGE_REF, SCENE_LEVEL, SCENE_OTHER_PAGES, SCRIM_BACKGROUND, SCRIM_COVER, SCRIM_LEVELS, SCRUBBED_ENTRANCE, SCRUB_UNTIL, SHOP_CART_BUTTON_ID, SHOP_CART_DRAWER_ID, SHOP_FIELDS, SHOP_LATEST_LIMIT, SHOP_LIST_LIMIT, SHOP_NEED, SHOP_ONLY_CONTENT_ROLES, SHOP_PRODUCTS_MAX, SHOP_ROLES, SHOP_SLUG_FIELD, SHOWCASE_FILM, SHOWCASE_SHOP, SIGN_IN_DIALOG_ID, SITE_CHECKS, SITE_FACT_LABELS, SITE_HEADER_PATTERN, SITE_LIBRARY, SITE_LOCALES, SITE_NEED_IDS, SITE_PATTERNS, SITE_PLAN_VERSION, SITE_TEMPLATES, SPEC_SITE_ARCHETYPES, SPEC_SITE_COPY_LENGTHS, SPEC_SITE_DENSITY_COPY, SPEC_SITE_FACTS, SPEC_SITE_FOOTER_PARTS, SPEC_SITE_HEADER_PARTS, SPEC_SITE_LAYOUT, SPEC_SITE_LIBRARY, SPEC_SITE_LOCALES, SPEC_SITE_NEED_IDS, SPEC_SITE_PATTERNS, SPEC_SITE_PICTURE_NEVER, SPEC_SITE_PICTURE_WORLDS, SPEC_SITE_PLAN_SHAPE, SPEC_SITE_REQUIRED_ROLES, SPEC_SITE_ROLES, SPEC_SITE_TEMPLATES, STAMPED_PAGE_ARCHETYPES, START_QUOTE_STEPS, START_QUOTE_TOKENS, STOCK_FAMILIES, STOCK_FAMILY_INTENTS, STOCK_INTENT_ORDER, STOCK_INTENT_SUBJECTS, STOCK_ITEM_ASPECT, STOCK_MIN_KEPT, STOCK_PROVIDER_TERMS, STOCK_SEED_MARGIN, STOCK_SUBJECT_WORDS, STORE_CONTACT_CODES, STRICT_SCHEMA_BUDGET, STRICT_SCHEMA_LIMITS, STUDIO_TEMPLATE, SWAP_CARRY_KINDS, ScrimLevel, ScrubUntil, SectionFallbackLastResort, SectionMaker, SectionSwapAction, SectionSwapRule, ShopResource, ShopSourceRole, SiteBuildKind, SiteBuildStatus, SiteCheckId, SiteFindingCode, SiteLocale, SitePageMaker, SitePlanError, SitePlanIssueCode, SitePlanSourceKind, SiteTemplateError, SiteTemplateId, StagedPageReason, StagedPageWay, StepState, StockIntent, StockOrientation, StockProviderId, StockReviewFlag, StockReviewVerdict, StockSlotKind, StockSubject, WORDS_AREA_DEFAULT_SHARE, WordsEdge, addBarItem, addStockCredits, additionKey, additionSourcesOf, additionsNeedContent, adjustStepLabel, adjustStepOf, adjustStyleProps, aiRefusalNext, aiStepParts, applyHeaderMix, applyLayoutEdits, applyOpeningMix, applyOwnPhotoGalleries, applyPictureScrims, applyPlanEdits, applyStockItemPhotos, applyStockPhotos, archetypeIssues, areaLuminance, artDirectionFor, artDirectionIssues, artDirectionPreamble, aspectRatioOf, assertStyleSlots, assertValidSitePlan, auditLayoutMotion, auditSite, barIconForRoute, bentoFill, blocksPublish, bodyMeaning, bodyMix, bodyMixFromWords, bodyMixOfPlan, bodyMixWords, bodySeamClass, bodySeamShape, bodyTokenOf, bodyWireWords, bodyWordDrawn, bodyWordOffered, bodyWordTier, bodyWordWaits, bodyWords, brandHueWord, buildKeys, buildStepFacts, buildStepsOf, builtHomePageId, calmParts, calmUnder, canonicalNodeJson, canonicalValue, carryBlockOf, carryButtonLink, carryHandles, carryInto, carryKindOf, carryNotPlaced, checkAdditions, checkBody, checkCarry, checkFooter, checkHeader, checkLayout, checkList, checkOpening, chooseScrim, composablePage, composeContextOf, composeLayout, composeNavHeader, composeOpening, composePresetForm, composeSection, composeSite, composedPagesMax, composedPagesShare, composerLeftovers, composingShare, contentTypeOfSource, contentTypePreviewFields, contentTypeToWire, copyLengthOf, copyOutInteraction, costUsd, countryLegalFacts, coverCrop, createSerializedNode, creditsOfUsd, dataSourceToWire, derivedBeats, derivedDataSources, derivedShopSources, describeCarryForPrompt, describeInventoryForPrompt, describeListShape, describePlanData, describeShapeKey, distinctFooter, distinctHeader, drawnBodyMix, drawnFooterMix, drawnHeaderMix, drawnOpeningMix, driftAt, driftOverlap, duplicateNodeIds, editedPageIds, emptyAreaPhrase, entranceAction, entranceInteraction, estimatePictures, estimateStepCredits, expandAdditions, expandLayoutWire, expandPlanWire, expandWireContentType, expandWireDataSource, expandWireEdit, expandWireField, expandWirePage, expandWireSection, expandWireShop, factIssues, failedBuildStep, fallBackBySection, fieldToWire, filmOfPlan, filmPlacement, findNavRoot, findOpening, fingerprintOf, fingerprintOfPlanPage, footerMeaning, footerMix, footerMixFromWords, footerMixOfPlan, footerMixWords, footerPattern, footerPatternIdOf, footerReferences, footerTableWords, footerTokenOf, footerTokenWords, footerWait, footerWireWords, footerWords, formAsksPersonalData, formLegalFacts, frameWords, generationTierOf, groundToneOf, handPageKey, handPlanPage, harvestPage, hash53, headerAdvice, headerCompanions, headerContextOfPlan, headerGallery, headerGalleryIdOf, headerMeaning, headerMix, headerMixFromWords, headerMixOfNavKind, headerMixOfPlan, headerMixValue, headerMixWords, headerPatternIdOf, headerRecipe, headerReferences, headerShape, headerSiteFor, headerTokenOf, headerTokenWords, headerWireWords, headerWordDrawn, headerWords, isActiveBuild, isAdditionKey, isHandPageKey, isLayoutRule, isLegalKind, isNonEmptyString, isPerItemPage, isPictureWorld, isPlainObject, isRedesignRun, isRtlLocale, isScrubbedEntrance, isSectionCarryHandle, isSectionStamp, isShopResource, isTemplateRoute, jsonAnyOf, jsonBoolean, jsonClosedObject, jsonInteger, jsonListOf, jsonOneOf, jsonSchemaKeywords, jsonSchemaObjects, jsonShapedObject, jsonText, judgeLayoutRender, layerShownSpans, layoutBandScheme, layoutBoxPx, layoutColumnsVw, layoutDesignOf, layoutDialOf, layoutDriftPhoto, layoutElementStyle, layoutEntersOffered, layoutFlagsOffered, layoutGalleryLists, layoutGallerySources, layoutGlideDepth, layoutHeldStill, layoutListBare, layoutListBinding, layoutListDrawnCols, layoutListPair, layoutListShapes, layoutListsContext, layoutLookChanges, layoutLookOf, layoutMixOffered, layoutMotionOf, layoutNodeClass, layoutOpeningDisplayMend, layoutOpeningDisplays, layoutPathSteps, layoutPhotoIds, layoutPresetColours, layoutPresetOf, layoutRepairJsonSchema, layoutRoomPx, layoutRuleEdge, layoutScrubTakes, layoutShapeHasPurpose, layoutStillLine, layoutTextFits, layoutTextWidthEm, layoutToWire, layoutVoidScreens, layoutVoids, layoutWireJsonSchema, layoutWirePartWords, legalFactsOf, legalFormLine, legalKindBlocks, legalKindOfPage, legalKindRow, legalKindsFor, legalLabel, legalPageOf, legalRoute, legalTitle, listBelowPro, listBuiltWords, listIngredientWords, listMeaning, listMixFromWords, listMixValue, listMixWords, listNeverIsEmpty, listOverhang, listPanelRows, listTokenOf, listTokensOf, listWait, listWordOffered, listWordRefusal, listWordTier, listWords, luminanceOf, measureLayout, mendCarry, mendLayout, mendNotices, menuAtEveryWidth, menuLookOf, menuWords, modelCanDo, moveBarItem, moveEntrance, namedFooterMix, namedHeaderMix, namedOpeningMix, navHeaderContext, navPages, navShapeBreakpoint, navShapeOf, nearestHeaderMix, nestSitePages, nextSourceOf, nodeBindPaths, offeredForTier, onceEntrance, openingAdvice, openingAdviceMix, openingContextOf, openingFromSection, openingGallery, openingGalleryIdOf, openingMeaning, openingMix, openingMixFromWords, openingMixOfPlan, openingMixValue, openingMixWords, openingPatternIdOf, openingPhoneInset, openingRecipe, openingReferences, openingTokenOf, openingWireWords, openingWordDrawn, openingWordOffered, openingWordTier, openingWordWaits, openingWords$1 as openingWords, orientationOfRatio, outwardCredits, ownPhotoFit, ownerContentInto, paddingKeepingClear, pageBuildSource, pageListIssues, pageToWire, parseLayoutPhotoId, parsePatternPath, parseSampleImageRef, pathAt, patternById, patternHasForm, patternLinkSlots, patternListGap, patternManifest, patternNeedsBinding, patternNodes, patternOptionalParts, patternRoleNeeds, patternScopes, patternSlotBudgets, patternSlots, patternTakesBinding, phoneGapBefore, phoneMenuPages, phoneWordsColour, photoInventory, photoShapeOf, pickListWord, pictureAspect, pictureItemsOf, picturePrompt, pictureRefusalOf, pictureRerolls, pictureReviewIssues, pictureReviewJsonSchema, pictureReviewPasses, pictureSlotKey, pictureTargets, pictureTryFits, pinnedPagesOf, pixelsUnder, placeFilm, plainCarryText, planEditOps, planEditToWire, planEditWireGaps, planEditWireKeys, planEditWireOps, planEditWireShape, planEditsFromWire, planEditsJsonSchema, planEditsToWire, planEntrances, planFromTemplate, planHasShopSource, planHeader, planLayoutPhotos, planNavShape, planOwnPhotos, planPartOfPath, planPartToWire, planPictures, planSells, planStockPhotos, planToWire, planWireGaps, planWirePartJsonSchema, planWirePartShape, planWireShape, planWordIssues, previousRoute, pricesIn, publishRefusal, publishVerdict, quietMoveEntrance, readHeader, readOpening, readyMadeColumn, recipeListBinds, recomposeAsks, redesignAdditionsJsonSchema, redesignBackOpen, redesignBackUntil, redesignDiscardable, redesignPreviousChoices, refitBuiltPage, refitPage, refreshSectionStamps, releasedLayoutDefaults, removeBarItem, requiredAcknowledgements, requiredShapeKeys, rewordStoreGlobal, rhythmIssues, roleField, routeMatches, routeParams, samenessIssues, sampleImageRef, scoreStockPhoto, screenFontSize, screenWordColumns, screenWordMisfit, screenWordOverflowPx, scrubEntranceStamps, scrubTokenOf, scrubUntilChoice, scrubbedEntrance, scrubsEntrance, sectionBuildKey, sectionEntrances, sectionFingerprint, sectionOrigin, sectionPatternIds, sectionToWire, sectionTokenOf, sectionUnchanged, sectionsNamed, sequenceShare, sequenceTokenOf, setStyleProps, shapeKeys, shopCategoriesOf, shopContentType, shopListAliases, shopListsShownOn, shopPageOfPlan, shopSourceAliases, showcaseGlobals, showcasePages, showcasePlans, showcaseScenes, showcaseStorePages, shownTogether, signatureOf, siteBuiltWithLaw, siteFactLabel, siteGlobalsOf, siteNavPages, sitePagesOf, siteParentRoute, siteSells, siteTreeOf, siteTreeOfPlan, slotBudget, splitCssValue, splitSide, stampHeaderMix, stampOpeningMix, stampOpeningMotion, stampSection, startComposingShare, startQuote, stockCopyKey, stockCreditLine, stockCreditLines, stockCreditNode, stockCreditNodeId, stockFits, stockGroupOf, stockItemSlots, stockKept, stockPhotoRatio, stockPhotoSubject, stockPhotoUsable, stockPhotoWords, stockSlots, stockWord, stockWords, storedHeaderMix, storedOpeningMix, strictSchemaComplexity, strictSchemaRefusal, swapParts, tierOf, tierOffers, toneOf, typesOfAddition, typicalStepTokens, validatePlanEdits, validateSitePlan, variantNamesOf, walkSerialized, wearBodyMix, wireContentTypeJsonSchema, wireDataSourceJsonSchema, wireFieldJsonSchema, wirePageJsonSchema, wireSectionJsonSchema, wireShopProductJsonSchema, withAdditions, withCarriedText, withComposedPages, withDerivedSources, withDistinctFooter, withDistinctHeader, withHeaderWord, withListWord, withOpeningWord, withShownList, wordPattern, wordsOverPhotos, wordsOverPicture, wornHeaderOfPlan, writtenTexts };
35788
35877
  //# sourceMappingURL=vectoriox-iox-ui-generation-core.mjs.map