@wix/himalaya-cli 0.1946.0 → 0.1947.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
@@ -3964,7 +3964,6 @@ var init_himi_package = __esm({
3964
3964
  var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
3965
3965
  var init_icon_catalog_generated = __esm({
3966
3966
  "../../core/ts/src/icon-catalog.generated.ts"() {
3967
- "use strict";
3968
3967
  init_define_HHP_CATALOG();
3969
3968
  ICON_VIEW_BOX = 24;
3970
3969
  ICON_STROKE_WIDTH = 2;
@@ -18856,9 +18855,9 @@ function isBindingField(key4) {
18856
18855
  function collectAppBindings(root) {
18857
18856
  const out2 = [];
18858
18857
  const seen = /* @__PURE__ */ new Set();
18859
- const visit = (node4, at2, key4, unresolved = false) => {
18858
+ const visit = (node4, at2, key4, unresolved = false, collapse = false) => {
18860
18859
  if (typeof node4 === "string") {
18861
- if (node4.trim().startsWith(APP_BINDING_PREFIX)) out2.push({ at: at2, key: key4, value: node4, ...unresolved ? { unresolved } : {} });
18860
+ if (node4.trim().startsWith(APP_BINDING_PREFIX)) out2.push({ at: at2, key: key4, value: node4, ...unresolved ? { unresolved } : {}, ...collapse ? { collapseWhenEmpty: true } : {} });
18862
18861
  return;
18863
18862
  }
18864
18863
  if (!node4 || typeof node4 !== "object" || seen.has(node4)) return;
@@ -18890,7 +18889,7 @@ function collectAppBindings(root) {
18890
18889
  continue;
18891
18890
  }
18892
18891
  if (isOpaqueAuthorJson(k3, v2, at2 === "")) continue;
18893
- visit(v2, here, k3);
18892
+ visit(v2, here, k3, false, record6.collapseWhenEmpty === true && typeof v2 === "string");
18894
18893
  }
18895
18894
  };
18896
18895
  visit(root, "", "");
@@ -18982,6 +18981,24 @@ function appActionIssue(actionId, at2, ctx, appActions, registeredNative) {
18982
18981
  }
18983
18982
  return null;
18984
18983
  }
18984
+ function tier5NamesAppServiceIssues(actions, ctx, appActions, screenServices) {
18985
+ if (!appActions || !appServicesVerdictOf(ctx).ok || ctx?.appBundleDeclared === false) return [];
18986
+ const issues = [];
18987
+ for (const { actionId, at: at2 } of actions) {
18988
+ const m2 = /^tier5\.([A-Za-z0-9_-]+)\.([A-Za-z0-9_-]+)$/.exec(actionId);
18989
+ if (!m2 || screenServices?.has(m2[1])) continue;
18990
+ const exported = own(appActions, m2[1]);
18991
+ if (!exported?.includes(m2[2])) continue;
18992
+ issues.push({
18993
+ severity: "warning",
18994
+ pass: "actions",
18995
+ ruleCode: "tier5-names-app-service",
18996
+ path: at2,
18997
+ message: `actionId "${actionId}" names the app service "${m2[1]}" through the tier5.* route \u2014 use "app.${m2[1]}.${m2[2]}", which goes to the app services and nowhere else (RFC 0074 \xA75)`
18998
+ });
18999
+ }
19000
+ return issues;
19001
+ }
18985
19002
  function screenBundleAppServiceIssues(input) {
18986
19003
  const issues = [];
18987
19004
  const verdict = appServicesVerdictOf(input.ctx);
@@ -19096,7 +19113,7 @@ function collectActionIds(root) {
19096
19113
  for (const [k3, v2] of Object.entries(node4)) {
19097
19114
  if (isOpaqueAuthorJson(k3, v2, false)) continue;
19098
19115
  const here = at2 ? `${at2}.${k3}` : k3;
19099
- if (typeof v2 === "string" && /(^actionId$|ActionId$|^observerAction$|^observer_action$|^link$)/.test(k3)) out2.push({ actionId: v2, at: here });
19116
+ if (typeof v2 === "string" && /(^actionId$|ActionId$|^observerAction$|^observer_action$|^link$)/.test(k3)) out2.push({ actionId: v2, at: here, key: k3 });
19100
19117
  else visit(v2, here);
19101
19118
  }
19102
19119
  };
@@ -24542,7 +24559,8 @@ async function bootBundleWorker(bundleJs, opts) {
24542
24559
  action: typeof p2.action === "string" ? p2.action : "",
24543
24560
  intervalMs: typeof p2.intervalMs === "number" ? p2.intervalMs : null,
24544
24561
  immediate: p2.immediate === void 0 ? bootImmediate : p2.immediate === true,
24545
- stop: p2.stop === true
24562
+ stop: p2.stop === true,
24563
+ stopExtras: p2.stop === true ? ["intervalMs", "action", "immediate"].filter((k3) => p2[k3] !== void 0) : []
24546
24564
  };
24547
24565
  pollDirectives.push(record6);
24548
24566
  return record6;
@@ -27010,6 +27028,12 @@ function validateScreenDescriptor(screenId, served, opts = {}) {
27010
27028
  actionCatalogWithheld: opts.services !== void 0 || opts.bundleBound === true,
27011
27029
  appServices: opts.appServices
27012
27030
  }));
27031
+ issues.push(...tier5NamesAppServiceIssues(
27032
+ descriptorActions,
27033
+ opts.appServices,
27034
+ opts.appWorkerActions,
27035
+ Object.keys(services2).length > 0 ? new Set(Object.keys(services2)) : void 0
27036
+ ));
27013
27037
  const screenServicesForCollision = () => {
27014
27038
  if (Object.keys(services2).length > 0) return Object.keys(services2);
27015
27039
  if (!opts.bundleJs || !(opts.appWorkerActions || opts.appServices?.appState) || opts.services !== void 0) return void 0;
@@ -141606,6 +141630,7 @@ function swipeTabsAdoption(children2) {
141606
141630
  function wantsRowStretch(node4) {
141607
141631
  const { type: type2, props: props2 } = normalize2(node4);
141608
141632
  if (type2 === "Toggle") return props2?.fullWidth !== false;
141633
+ if (type2 === "PageControl") return true;
141609
141634
  if (type2 === "Button") {
141610
141635
  if (props2?.iconOnly) return false;
141611
141636
  if (typeof props2?.fullWidth === "boolean") return props2.fullWidth;
@@ -144526,7 +144551,7 @@ function listSeparatorStyle(separator, horizontal) {
144526
144551
  const insetLeading = Math.max(0, Number(s5.insetLeading ?? s5.inset_leading ?? 0) || 0);
144527
144552
  return { token, thickness, insetLeading };
144528
144553
  }
144529
- var MOTION_WRAPPER_ATTRS, AppearanceActionContext, rowValue, loadPdfFetch, WebViewBridgeHost2, useIsomorphicLayoutEffect3, GridColumnsContext, GridBoundList, GRID_SPAN_ALL, ResponsiveGrid, MasonryCells, SPLIT_EXPANDED_MIN_WIDTH, SPLIT_COLUMN_GAP, ResponsiveSplitView, appearKeyframesInjected, valueSwapKeyframesInjected, NUMERIC_TEXT, shimmerKeyframesInjected, APPEAR_KEYFRAMES, linkedEntranceKeyframesInjected, pressStylesInjected, REVEAL_ON_FOCUS_ATTR, FOCUS_RING_CSS, focusStylesInjected, HLIST_CHILD_CSS, hListStylesInjected, listAnimateRuntimeInstalled, transitionKeyframesInjected, ENTER_KEYFRAMES, ENTRANCE_KEYFRAMES_CSS, countUpRuntimeInjected, MEASURE_PREFIX, measureRuntimeInjected, revealRuntimeInjected, AMBIENT_HOST_STYLE, AmbientMotionBox, vectorAnimStylesInjected, scrollProgressRuntimeInjected, scrollLinkedRuntime, confettiRuntimeInjected, lottieRuntimeInjected, lottieAssetHeaders, LOTTIE_RUNTIME_ATTRIBUTES, lottieAnims, riveRuntimeInjected, gradientKeyframesInjected, parallaxRuntimeInjected, spinKeyframesInjected, marqueeKeyframesInjected, alignItems, zJustifyItems, fillsZLayer, fillsZHeight, presentsFromOwnSurface, zLayerIndex, ZFILL_CSS, zFillStylesInjected, hAlignItems, bodyFont, kids2, columnKids, PLACED_TYPES, unplaced, columnPlaceStyle, rowKidCtx, rowKidOwnCtx, rowKids, staggeredKids, asTextL10n, asFinalTextL10n, asBoundText, useBoundString, asBoundCopy, useBoundCopy, InterpolatedTextView, txt, oneLineDir, txtRaw, fragmentCaseText, selectFragmentCase, fragmentValueHash, fragmentSlotContent, FragmentSlotNode, RichContentEditorNode, MediaFieldNode, WorkerSubtreeNode, RichContentNode, substituteItemDeep, resolveItemDeep2, resolveRowAction2, resolveSwipeActions, resolveModBindings, resolvedComponentId, directServiceBindings, withRootStyle, InScreenMorphHost, ReactiveDirectScalars, resolveNodeBoundTransforms, HiddenGate, ScrollPastGate, ExitPresence, StatefulSectionNode, KEYBOARD_INPUT_MODES, AUTOCAPITALIZE_VALUES, ENTER_KEY_HINTS, AUTOCOMPLETE_TOKENS, AUTOGROW_CEILING, EditableField, MENU_ANCHOR_CONTROL, MenuNode, MENU_LONG_PRESS_MS, menuOpensOnLongPress, LoadMoreSentinel, FieldErrorNode, FormView, MediaSlotProvider, MEDIA_ITEM_BINDABLE, MediaPlayerView, VideoNode, PdfDocumentCanvas, PdfViewNode, WebViewNode, InteractivePicker, InteractiveDatePicker, InteractiveSearchField, InteractiveStepper, NODE_EXTRAS_TARGET, SYNTHETIC_TAP_ROLE, SYNTHETIC_TABINDEX, INFERRED_DECORATIVE, SELF_RENDERED_LEAF, ROLE_WHEN_NAMED, AUTHORED_ROLE, PENDING_RANGE, RANGE_ROLES, NODE_A11Y_ATTRS, INTERACTIVE_ROLES, ALWAYS_INTERACTIVE_COMPONENT_TYPES, TAP_ACTIVATOR_ATTR, TAP_GROUP_ATTR, NESTED_CONTROL_SELECTOR, VISUALLY_HIDDEN, NAME_SKIP_SELECTOR, activatorNameObservers, ACTIVATOR_STATE_ATTRS, controlNode, ToggleNode, SliderNode, SelectionControlNode, TabsNode, SegmentedControlNode, DisclosureGroupNode, GridNode, SplitViewNode, REVEAL_RELEASE_MS, REVEAL_FADE_MS, REVEAL_BUFFER, revealProgress, countWords, RevealText, TextNode, ImageNode, ANIMATION_LEAF, LottieNode, RiveNode, AvatarNode, IconNode, EMPTY_STATE_SPACING, EmptyStateNode, ERROR_STATE_VARIANTS, ERROR_STATE_SPACING, ErrorStateNode, ButtonNode, OtpInputNode, ProgressBarNode, SnackbarNode, ACTIVITY_DEFAULT_NAME, ACTIVITY_RING_ARC, ActivityIndicatorNode, NATIVELY_TABBABLE, BottomSheetNode, BOTTOM_DRAWER_HOST_STACK_EVENT, ModalBottomSheetNode, BottomDrawerNode, PRESENTED_OVERLAY_ATTR, TooltipNode, PopoverNode, ChipsInputNode, ChipNode, TableNode, GaugeRing, GaugeNode, RATING_METRICS, ratingMetrics, RatingNode, AVATAR_RING_INSET, AVATAR_BORDER_INSET, AvatarStripNode, CHART_STROKE_CYCLE, chartStrokeAt, chartBarCenter, ChartNode, donutSliceOpacity, DonutChartNode, QrCodeNode, ShapeNode, LegendMarker, LegendNode, cellAlign, dataTableProbe, DataTableNode, voiceNoteState, voiceNoteDelivery, VOICE_NOTE_DEFAULT_BARS, clampBarCount, VoiceNoteNode, LiveWaveformNode, PageControlNode, TimelineNode, ECHO_WINDOW_MS, heldPageIndex, LiveWindowMeasured, LiveWindowPage, PagingNode, WheelPickerNode, ColorPickerNode, FilterChipsNode, TILE_PX, MAX_MERCATOR_LAT, DEFAULT_TILE_MAX_ZOOM, CIRCLE_SEGMENTS, METRES_PER_DEG_LAT, MARKER_HIT_RADIUS, SHAPE_HIT_RADIUS, MapNode, CAROUSEL_SETTLE_MS, railScrollLeft, carouselScrollLeft, scrollCarouselTo, carouselDotsDrawn, CarouselNode, BannerNode, CollapsingHeaderNode, UnsupportedOnSurface, ptrCopy, CALENDAR_DATE_ONLY_RE, CAL_DEFAULT_MAX_DOTS, CAL_AGENDA_INITIAL_DAYS, CAL_AGENDA_PAGE_DAYS, CAL_DEFAULT_SNAP_MINUTES, CAL_UNASSIGNED_LANE_ID, MonthCalendarNode, TimeGridNode, AgendaNode, ARIA_ROLE, initialFocusScheduled, PRESENTED_SCOPE, focusRoots, A11yHintDescription, rowRenderers, railRowFrame, renderRailRow, RowAnchors, AD_BANNER_PACKAGE, AD_BANNER_TYPE, reportedUnknownComponents, UnknownComponentNode, WebRenderer, ScrollIntoViewNode;
144554
+ var MOTION_WRAPPER_ATTRS, AppearanceActionContext, rowValue, loadPdfFetch, WebViewBridgeHost2, useIsomorphicLayoutEffect3, GridColumnsContext, GridBoundList, GRID_SPAN_ALL, ResponsiveGrid, MasonryCells, SPLIT_EXPANDED_MIN_WIDTH, SPLIT_COLUMN_GAP, ResponsiveSplitView, appearKeyframesInjected, valueSwapKeyframesInjected, NUMERIC_TEXT, shimmerKeyframesInjected, APPEAR_KEYFRAMES, linkedEntranceKeyframesInjected, pressStylesInjected, REVEAL_ON_FOCUS_ATTR, FOCUS_RING_CSS, focusStylesInjected, HLIST_CHILD_CSS, hListStylesInjected, listAnimateRuntimeInstalled, transitionKeyframesInjected, ENTER_KEYFRAMES, ENTRANCE_KEYFRAMES_CSS, countUpRuntimeInjected, MEASURE_PREFIX, measureRuntimeInjected, revealRuntimeInjected, AMBIENT_HOST_STYLE, AmbientMotionBox, vectorAnimStylesInjected, scrollProgressRuntimeInjected, scrollLinkedRuntime, confettiRuntimeInjected, lottieRuntimeInjected, lottieAssetHeaders, LOTTIE_RUNTIME_ATTRIBUTES, lottieAnims, riveRuntimeInjected, gradientKeyframesInjected, parallaxRuntimeInjected, spinKeyframesInjected, marqueeKeyframesInjected, alignItems, zJustifyItems, fillsZLayer, fillsZHeight, presentsFromOwnSurface, zLayerIndex, ZFILL_CSS, zFillStylesInjected, hAlignItems, bodyFont, kids2, columnKids, PLACED_TYPES, unplaced, columnPlaceStyle, rowKidCtx, rowKidOwnCtx, rowKids, staggeredKids, asTextL10n, asFinalTextL10n, asBoundText, useBoundString, asBoundCopy, useBoundCopy, InterpolatedTextView, txt, oneLineDir, txtRaw, fragmentCaseText, selectFragmentCase, fragmentValueHash, fragmentSlotContent, FragmentSlotNode, RichContentEditorNode, MediaFieldNode, WorkerSubtreeNode, RichContentNode, substituteItemDeep, resolveItemDeep2, resolveRowAction2, resolveSwipeActions, resolveModBindings, resolvedComponentId, directServiceBindings, withRootStyle, InScreenMorphHost, ReactiveDirectScalars, resolveNodeBoundTransforms, HiddenGate, ScrollPastGate, ExitPresence, StatefulSectionNode, KEYBOARD_INPUT_MODES, AUTOCAPITALIZE_VALUES, ENTER_KEY_HINTS, AUTOCOMPLETE_TOKENS, AUTOGROW_CEILING, EditableField, MENU_ANCHOR_CONTROL, MenuNode, MENU_LONG_PRESS_MS, menuOpensOnLongPress, LoadMoreSentinel, FieldErrorNode, FormView, MediaSlotProvider, MEDIA_ITEM_BINDABLE, MediaPlayerView, VideoNode, PdfDocumentCanvas, PdfViewNode, WebViewNode, InteractivePicker, InteractiveDatePicker, InteractiveSearchField, InteractiveStepper, NODE_EXTRAS_TARGET, SYNTHETIC_TAP_ROLE, SYNTHETIC_TABINDEX, INFERRED_DECORATIVE, SELF_RENDERED_LEAF, ROLE_WHEN_NAMED, AUTHORED_ROLE, PENDING_RANGE, RANGE_ROLES, NODE_A11Y_ATTRS, INTERACTIVE_ROLES, ALWAYS_INTERACTIVE_COMPONENT_TYPES, TAP_ACTIVATOR_ATTR, TAP_GROUP_ATTR, NESTED_CONTROL_SELECTOR, VISUALLY_HIDDEN, NAME_SKIP_SELECTOR, activatorNameObservers, ACTIVATOR_STATE_ATTRS, controlNode, ToggleNode, SliderNode, SelectionControlNode, TabsNode, SegmentedControlNode, DisclosureGroupNode, GridNode, SplitViewNode, REVEAL_RELEASE_MS, REVEAL_FADE_MS, REVEAL_BUFFER, revealProgress, countWords, RevealText, TextNode, ImageNode, ANIMATION_LEAF, LottieNode, RiveNode, AvatarNode, IconNode, EMPTY_STATE_SPACING, EmptyStateNode, ERROR_STATE_VARIANTS, ERROR_STATE_SPACING, ErrorStateNode, ButtonNode, OtpInputNode, ProgressBarNode, SnackbarNode, ACTIVITY_DEFAULT_NAME, ACTIVITY_RING_ARC, ActivityIndicatorNode, NATIVELY_TABBABLE, BottomSheetNode, BOTTOM_DRAWER_HOST_STACK_EVENT, ModalBottomSheetNode, BottomDrawerNode, PRESENTED_OVERLAY_ATTR, TooltipNode, PopoverNode, ChipsInputNode, ChipNode, TableNode, GaugeRing, GaugeNode, RATING_METRICS, ratingMetrics, RatingNode, AVATAR_RING_INSET, AVATAR_BORDER_INSET, AvatarStripNode, CHART_STROKE_CYCLE, chartStrokeAt, chartBarCenter, ChartNode, donutSliceOpacity, DonutChartNode, QrCodeNode, ShapeNode, LegendMarker, LegendNode, cellAlign, dataTableProbe, DataTableNode, voiceNoteState, voiceNoteDelivery, VOICE_NOTE_DEFAULT_BARS, clampBarCount, VoiceNoteNode, LiveWaveformNode, pageControlSizing, PageControlNode, TimelineNode, ECHO_WINDOW_MS, heldPageIndex, LiveWindowMeasured, LiveWindowPage, PagingNode, WheelPickerNode, ColorPickerNode, FilterChipsNode, TILE_PX, MAX_MERCATOR_LAT, DEFAULT_TILE_MAX_ZOOM, CIRCLE_SEGMENTS, METRES_PER_DEG_LAT, MARKER_HIT_RADIUS, SHAPE_HIT_RADIUS, MapNode, CAROUSEL_SETTLE_MS, railScrollLeft, carouselScrollLeft, scrollCarouselTo, carouselDotsDrawn, CarouselNode, BannerNode, CollapsingHeaderNode, UnsupportedOnSurface, ptrCopy, CALENDAR_DATE_ONLY_RE, CAL_DEFAULT_MAX_DOTS, CAL_AGENDA_INITIAL_DAYS, CAL_AGENDA_PAGE_DAYS, CAL_DEFAULT_SNAP_MINUTES, CAL_UNASSIGNED_LANE_ID, MonthCalendarNode, TimeGridNode, AgendaNode, ARIA_ROLE, initialFocusScheduled, PRESENTED_SCOPE, focusRoots, A11yHintDescription, rowRenderers, railRowFrame, renderRailRow, RowAnchors, AD_BANNER_PACKAGE, AD_BANNER_TYPE, reportedUnknownComponents, UnknownComponentNode, WebRenderer, ScrollIntoViewNode;
144530
144555
  var init_renderNode = __esm({
144531
144556
  "../../core/web-renderer/src/renderNode.tsx"() {
144532
144557
  "use strict";
@@ -150018,6 +150043,7 @@ var init_renderNode = __esm({
150018
150043
  }
150019
150044
  );
150020
150045
  });
150046
+ pageControlSizing = (ctx) => ctx.rowStretch ? { flex: "1 1 0" } : ctx.wrapRowChild ? {} : { width: "100%" };
150021
150047
  PageControlNode = withExtras("PageControlNode", ({ props: props2, ctx, wrap }) => {
150022
150048
  const C2 = ctx.color;
150023
150049
  const boundCount = pageNumber(useResolvedScalar(props2.countPath ?? props2.count_path, ctx));
@@ -150028,13 +150054,18 @@ var init_renderNode = __esm({
150028
150054
  if (props2.style === "dots") {
150029
150055
  const total = Math.max(0, Math.trunc(boundCount ?? (typeof props2.count === "number" ? props2.count : 0)));
150030
150056
  const page = Math.min(Math.max(Math.trunc(boundIndex ?? (typeof props2.currentIndex === "number" ? props2.currentIndex : 0)), 0), Math.max(total - 1, 0));
150031
- return /* @__PURE__ */ jsx16("div", { style: { display: "inline-flex", alignItems: "center", gap: 6, height: 7, ...wrap }, children: pageControlTaperedDots(total, page).map(({ index, scale }) => (
150057
+ return /* @__PURE__ */ jsx16("div", { style: rowShareFloor({ display: "flex", justifyContent: "center", alignItems: "center", gap: 6, height: 7, ...pageControlSizing(ctx), ...wrap }, ctx.rowStretch === true, "fit-content"), children: pageControlTaperedDots(total, page).map(({ index, scale }) => (
150032
150058
  // Every dot keeps a full 7px slot (the tap area on iOS/Android); the drawn dot is centred in it, so the row
150033
150059
  // does not shrink or shift as the taper moves.
150034
150060
  /* @__PURE__ */ jsx16("span", { "data-page-control-slot": "", style: { display: "inline-flex", alignItems: "center", justifyContent: "center", width: 7, height: 7, flex: "none" }, children: /* @__PURE__ */ jsx16("span", { "data-page-control-dot": "", style: { width: 7 * scale, height: 7 * scale, borderRadius: "50%", background: index === page ? accent : C2("surfaceTertiary", "#cdd2d9") } }) }, index)
150035
150061
  )) });
150036
150062
  }
150037
- return /* @__PURE__ */ jsx16("div", { style: { display: "inline-flex", alignItems: "center", gap: 8, ...wrap }, children: Array.from({ length: count3 }).map((_2, i2) => /* @__PURE__ */ jsx16("span", { style: { width: i2 === cur ? 22 : 9, height: 9, borderRadius: 999, background: i2 === cur ? accent : C2("textTertiary", "#aab2bd"), transition: "width .2s" } }, i2)) });
150063
+ return (
150064
+ // In a column it fills the width; in a row (ctx.rowStretch) it shares the row by flex instead of claiming all of it.
150065
+ // (A padding modifier is already border-box: the modifier path adds it.)
150066
+ // Floored at its dots (rowShareFloor, AFTER `...wrap`, as ButtonNode): a long sibling never squeezes it below them.
150067
+ /* @__PURE__ */ jsx16("div", { style: rowShareFloor({ display: "flex", justifyContent: "center", alignItems: "center", gap: 8, ...pageControlSizing(ctx), ...wrap }, ctx.rowStretch === true, "fit-content"), children: Array.from({ length: count3 }).map((_2, i2) => /* @__PURE__ */ jsx16("span", { style: { width: i2 === cur ? 22 : 9, height: 9, flexShrink: 0, borderRadius: 999, background: i2 === cur ? accent : C2("textTertiary", "#aab2bd"), transition: "width .2s" } }, i2)) })
150068
+ );
150038
150069
  });
150039
150070
  TimelineNode = withExtras("TimelineNode", ({ props: props2, ctx, wrap }) => {
150040
150071
  const C2 = ctx.color;
@@ -160093,6 +160124,7 @@ var init_crawl_relations = __esm({
160093
160124
  // ../../core/dev-server/src/screen-crawl.ts
160094
160125
  var screen_crawl_exports = {};
160095
160126
  __export(screen_crawl_exports, {
160127
+ APP_SERVICES_SCREEN: () => APP_SERVICES_SCREEN,
160096
160128
  MEMBER_IDENTITY_ACTION: () => MEMBER_IDENTITY_ACTION,
160097
160129
  REPEATED_CALL_LIMIT: () => REPEATED_CALL_LIMIT,
160098
160130
  UNTRACKED_ITEMS: () => UNTRACKED_ITEMS,
@@ -160100,6 +160132,7 @@ __export(screen_crawl_exports, {
160100
160132
  actionSitesForDescriptor: () => actionSitesForDescriptor,
160101
160133
  bootAndSnapshotState: () => bootAndSnapshotState,
160102
160134
  bootScreenWorker: () => bootScreenWorker,
160135
+ crawlAppServices: () => crawlAppServices,
160103
160136
  crawlScreen: () => crawlScreen,
160104
160137
  crawlScreenCapabilitySuccess: () => crawlScreenCapabilitySuccess,
160105
160138
  crawlScreenDeep: () => crawlScreenDeep,
@@ -160238,6 +160271,33 @@ function errText(e2) {
160238
160271
  const msg = e2 && typeof e2 === "object" ? e2.message : void 0;
160239
160272
  return typeof msg === "string" ? msg : String(e2);
160240
160273
  }
160274
+ function pollStopExtraFinding(screen, trigger, d2, source2) {
160275
+ if (!d2.stop || !d2.stopExtras.length) return null;
160276
+ return {
160277
+ screen,
160278
+ trigger,
160279
+ invariant: "poll-stop-extra-fields",
160280
+ severity: "warning",
160281
+ ...source2 ? { source: source2 } : {},
160282
+ message: `_poll "${d2.id || "(no id)"}" is a stop (stop: true) but also sets ${d2.stopExtras.join(", ")} \u2014 every host ignores those fields`,
160283
+ actual: d2.stopExtras.join(","),
160284
+ hint: "the stop form is exactly `{ id, stop: true }`. If you meant to (re)start the poll, drop `stop`; if you meant to stop it, drop the other fields"
160285
+ };
160286
+ }
160287
+ function sourceOfLiteral(bundleJs, bundleMap, action, literal4) {
160288
+ if (!bundleJs || !bundleMap) return void 0;
160289
+ const escaped = action ? action.replace(/[.*+?^${}()|[\]\\]/g, "\\$&") : null;
160290
+ const def2 = escaped ? new RegExp(`[\\s,{"']${escaped}["']?\\s*[:(]`).exec(bundleJs) : null;
160291
+ const from = def2 ? def2.index : 0;
160292
+ const hit = new RegExp(literal4.source, "g");
160293
+ hit.lastIndex = from;
160294
+ const m2 = hit.exec(bundleJs);
160295
+ if (!m2) return void 0;
160296
+ const before = bundleJs.slice(0, m2.index);
160297
+ const line = before.split("\n").length;
160298
+ const col = m2.index - (before.lastIndexOf("\n") + 1);
160299
+ return mapBundleFrame(bundleMap, line, col) ?? void 0;
160300
+ }
160241
160301
  function sourceOfStack(stack, bundleMap) {
160242
160302
  if (!stack || !bundleMap) return void 0;
160243
160303
  const m2 = /himi-bundle\.js:(\d+):(\d+)/.exec(stack);
@@ -161475,7 +161535,12 @@ async function crawlScreenInner(opts) {
161475
161535
  const declared = Object.keys(w2.handles);
161476
161536
  for (const d2 of w2.pollDirectives.splice(0)) {
161477
161537
  const label4 = d2.id ? `_poll "${d2.id}"` : "_poll";
161478
- if (d2.stop) continue;
161538
+ if (d2.stop) {
161539
+ const act = typeof trigger === "object" ? parseWorkerAction(trigger.action)?.action ?? null : null;
161540
+ const extra = pollStopExtraFinding(screenId, trigger, d2, sourceOfLiteral(bundleJs, opts.bundleMap, act, POLL_STOP_LITERAL));
161541
+ if (extra) findings.push(extra);
161542
+ continue;
161543
+ }
161479
161544
  if (!d2.id) {
161480
161545
  findings.push({
161481
161546
  screen: screenId,
@@ -162700,7 +162765,319 @@ async function crawlScreenRelations(opts) {
162700
162765
  return { findings: dedupe(findings), checked, byKind };
162701
162766
  });
162702
162767
  }
162703
- var ACTION_KEYS, UNTRACKED_ITEMS, NESTED_ITEMS_SEP, REJECT_ALL_MESSAGE, WIX_DATA_QUERY, WIX_DATA_ANY, CAPABILITY_ACTION, detached, CRAWL_PRINCIPAL, CRAWL_CLOCK, MEMBER_IDENTITY_ACTION, BLANK_WHEN_BOUND, CONTROL_ROLES, NAME_KEYS, A11Y_ROWS_PER_LIST, A11Y_LIST_DEPTH, ITEM_PATH_RE, UNOBSERVED_COPY_KEYS, LABEL_NEEDS_HANDLER, REPEATER_TEMPLATE_KEYS, STALE_SNAPSHOT_HINT, REPEATED_CALL_LIMIT, UNBINDABLE_ROW;
162768
+ async function crawlAppServices(opts) {
162769
+ return withSwallowedRejections(async () => {
162770
+ const findings = [];
162771
+ const effects = [];
162772
+ const hooks = [];
162773
+ const gaps = [];
162774
+ let actionsExercised = 0;
162775
+ let bindingsChecked = 0;
162776
+ const T2 = (action, key4 = "app") => ({ tap: null, key: key4, action });
162777
+ const throwHint = "an uncaught throw in an app service leaves the app on whatever state it had \u2014 wrap the failing call and set an error state";
162778
+ const descriptor = { logicBundle: { declaredCapabilities: [...opts.declaredCapabilities ?? []] } };
162779
+ const { call: transport } = layeredTransport({ rules: opts.rules, cmsSeed: opts.cmsSeed, canned: opts.canned });
162780
+ const bootApp = () => bootScreenWorker({
162781
+ bundleJs: opts.bundleJs,
162782
+ descriptor,
162783
+ wixCall: transport,
162784
+ budgetMs: opts.budgetMs,
162785
+ clock: opts.clock,
162786
+ seed: opts.seed,
162787
+ localDbSchema: opts.localDbSchema,
162788
+ l10n: opts.l10n,
162789
+ base44Data: opts.base44Data,
162790
+ ...opts.evaluator ? { evaluator: opts.evaluator } : {}
162791
+ });
162792
+ const reportThrow = (service, action, e2, trigger) => {
162793
+ const source2 = sourceOfStack(e2?.stack, opts.bundleMap);
162794
+ findings.push({
162795
+ screen: APP_SERVICES_SCREEN,
162796
+ trigger,
162797
+ invariant: "worker-threw",
162798
+ severity: "error",
162799
+ ...source2 ? { source: source2 } : {},
162800
+ message: `${service}: ${action}: ${errText(e2)}`,
162801
+ hint: throwHint
162802
+ });
162803
+ };
162804
+ const ticked2 = /* @__PURE__ */ new Set();
162805
+ const invoke = async (w3, service, action, args, origin, what, trigger) => {
162806
+ const handle = w3.handles[service];
162807
+ if (!handle || !handle.actionNames().includes(action)) return;
162808
+ const mark = { wix: w3.calls.length, host: w3.hostCalls.length };
162809
+ const navMark = w3.navDirectives.length;
162810
+ const pollMark = w3.pollDirectives.length;
162811
+ try {
162812
+ await handle.dispatch(action, ...args);
162813
+ } catch (e2) {
162814
+ reportThrow(service, action, e2, trigger);
162815
+ }
162816
+ const effect = effectSince(w3, mark, `app.${service}.${action}`, null);
162817
+ if (effect) effects.push(effect);
162818
+ for (const nav of w3.navDirectives.slice(navMark)) {
162819
+ if (origin === "gesture") continue;
162820
+ const source2 = sourceOfLiteral(opts.bundleJs, opts.bundleMap, action, /\b_nav\b/);
162821
+ findings.push({
162822
+ screen: APP_SERVICES_SCREEN,
162823
+ trigger,
162824
+ invariant: "app-nav-without-gesture",
162825
+ severity: "error",
162826
+ ...source2 ? { source: source2 } : {},
162827
+ message: `${what} (app.${service}.${action}) returned a _nav to "${nav.screenId}" from an ambient invocation \u2014 the host drops it as no_user_gesture, so nothing navigates`,
162828
+ actual: nav.screenId,
162829
+ hint: "only a returned _nav from a user gesture is honoured (RFC 0074 \xA77). From a poll/stream tick, a hook, a push receipt or an app.dispatch, show ui.alert / ui.snackbar with an action whose actionId is an app.<svc>.<action> that returns the _nav \u2014 pressing it is the gesture"
162830
+ });
162831
+ }
162832
+ for (const d2 of w3.pollDirectives.slice(pollMark)) {
162833
+ if (d2.stop) {
162834
+ const extra = pollStopExtraFinding(APP_SERVICES_SCREEN, trigger, d2, sourceOfLiteral(opts.bundleJs, opts.bundleMap, action, POLL_STOP_LITERAL));
162835
+ if (extra) findings.push(extra);
162836
+ continue;
162837
+ }
162838
+ const [svc, act] = d2.action.split(".");
162839
+ if (!d2.id || !svc || !act || d2.action.split(".").length !== 2) continue;
162840
+ const key4 = `${svc}.${act}`;
162841
+ if (ticked2.has(key4) || ticked2.size >= APP_TICK_LIMIT) continue;
162842
+ ticked2.add(key4);
162843
+ await invoke(w3, svc, act, [], "ambient", `a _poll tick ("${d2.id}")`, T2(`app.${svc}.${act}`, "poll"));
162844
+ }
162845
+ };
162846
+ let booted = false;
162847
+ const bootWithLaunch = async () => {
162848
+ ticked2.clear();
162849
+ const effectsMark = effects.length;
162850
+ const w3 = await bootApp();
162851
+ for (const d2 of w3.pollDirectives.splice(0)) {
162852
+ if (d2.stop) {
162853
+ const extra = pollStopExtraFinding(APP_SERVICES_SCREEN, "boot", d2, sourceOfLiteral(opts.bundleJs, opts.bundleMap, null, POLL_STOP_LITERAL));
162854
+ if (extra) findings.push(extra);
162855
+ } else {
162856
+ const [svc, act] = d2.action.split(".");
162857
+ if (d2.id && svc && act && d2.action.split(".").length === 2 && !ticked2.has(d2.action) && ticked2.size < APP_TICK_LIMIT) {
162858
+ ticked2.add(d2.action);
162859
+ await invoke(w3, svc, act, [], "ambient", `a _poll tick ("${d2.id}")`, T2(`app.${svc}.${act}`, "poll"));
162860
+ }
162861
+ }
162862
+ }
162863
+ for (const svc of Object.keys(w3.handles)) {
162864
+ await invoke(w3, svc, "onLaunch", [], "ambient", "onLaunch", T2(`app.${svc}.onLaunch`, "hook"));
162865
+ }
162866
+ if (booted) effects.length = effectsMark;
162867
+ booted = true;
162868
+ return w3;
162869
+ };
162870
+ let launchedState = {};
162871
+ const w2 = await bootWithLaunch();
162872
+ try {
162873
+ const services2 = Object.keys(w2.handles);
162874
+ for (const e2 of w2.errors) {
162875
+ const source2 = sourceOfStack(e2.stack, opts.bundleMap);
162876
+ findings.push({
162877
+ screen: APP_SERVICES_SCREEN,
162878
+ trigger: "boot",
162879
+ invariant: "worker-threw",
162880
+ severity: "error",
162881
+ ...source2 ? { source: source2 } : {},
162882
+ message: `${e2.service}: ${e2.message}`,
162883
+ hint: throwHint
162884
+ });
162885
+ }
162886
+ for (const nav of w2.navDirectives.splice(0)) {
162887
+ const source2 = sourceOfLiteral(opts.bundleJs, opts.bundleMap, null, /\b_nav\b/);
162888
+ findings.push({
162889
+ screen: APP_SERVICES_SCREEN,
162890
+ trigger: "boot",
162891
+ invariant: "app-nav-without-gesture",
162892
+ severity: "error",
162893
+ ...source2 ? { source: source2 } : {},
162894
+ message: `the app bundle returned a _nav to "${nav.screenId}" while booting (load / onLaunch / first poll tick) \u2014 an ambient invocation, so the host drops it as no_user_gesture`,
162895
+ actual: nav.screenId,
162896
+ hint: "only a returned _nav from a user gesture is honoured (RFC 0074 \xA77)"
162897
+ });
162898
+ }
162899
+ const state = snapshot3(w2).state;
162900
+ launchedState = state;
162901
+ const hooksRun = [];
162902
+ {
162903
+ const launchers = services2.filter((svc) => w2.handles[svc].actionNames().includes("onLaunch"));
162904
+ hooksRun.push({ hook: "onLaunch", services: launchers });
162905
+ }
162906
+ const scanned = [
162907
+ ...opts.screens.map((s5) => ({ owner: s5.screenId, tree: s5.descriptor })),
162908
+ ...opts.appConfig ? [{ owner: "(app config)", tree: opts.appConfig }] : []
162909
+ ];
162910
+ for (const { owner, tree } of scanned) {
162911
+ for (const ref of collectAppBindings(tree)) {
162912
+ const parsed = parseAppBinding(ref.value);
162913
+ if (!parsed) continue;
162914
+ bindingsChecked += 1;
162915
+ const at2 = `${owner}:${ref.at}`;
162916
+ if (!(parsed.service in state)) {
162917
+ findings.push({
162918
+ screen: owner === "(app config)" ? APP_SERVICES_SCREEN : owner,
162919
+ trigger: "boot",
162920
+ invariant: "app-binding-unresolved",
162921
+ severity: ref.collapseWhenEmpty === true ? "warning" : "error",
162922
+ message: `binding "${ref.value}" names app service "${parsed.service}", which the app bundle does not define`,
162923
+ at: at2,
162924
+ hint: `app services defined: ${services2.join(", ") || "none"}`
162925
+ });
162926
+ continue;
162927
+ }
162928
+ const first = parsed.path.split(/[.[]/)[0];
162929
+ if (first && pathValue(state[parsed.service], first) === void 0) {
162930
+ const source2 = sourceOfLiteral(opts.bundleJs, opts.bundleMap, null, new RegExp(`defineService\\w*\\(\\s*["']${parsed.service}["']`));
162931
+ findings.push({
162932
+ screen: owner === "(app config)" ? APP_SERVICES_SCREEN : owner,
162933
+ trigger: "boot",
162934
+ invariant: "app-binding-unresolved",
162935
+ severity: ref.collapseWhenEmpty === true ? "warning" : "error",
162936
+ ...source2 ? { source: source2 } : {},
162937
+ message: `binding "${ref.value}" reads "${first}", which is absent from ${parsed.service}'s state after onLaunch`,
162938
+ at: at2,
162939
+ hint: `${parsed.service} state keys: ${Object.keys(state[parsed.service] ?? {}).join(", ") || "none"}`
162940
+ });
162941
+ }
162942
+ }
162943
+ }
162944
+ for (const hook of APP_HOOKS) {
162945
+ const declaring = services2.filter((svc) => w2.handles[svc].actionNames().includes(hook.name));
162946
+ if (!hooksRun.some((h2) => h2.hook === hook.label)) hooksRun.push({ hook: hook.label, services: declaring });
162947
+ for (const svc of declaring) {
162948
+ await invoke(w2, svc, hook.name, hook.args, hook.origin, hook.label, T2(`app.${svc}.${hook.name}`, "hook"));
162949
+ }
162950
+ if (hook.name === "onPushOpened" && declaring.length) {
162951
+ gaps.push({
162952
+ surface: "onPushOpened",
162953
+ why: "dispatched with a synthetic { link, payload: {}, resolved: false }; a real notification payload and the host's route resolution (which sets `resolved: true` and withholds gesture credit) are not reachable headlessly",
162954
+ remedy: "drive a real push on a device (Argus) \u2014 a notification tap \u2014 to see the hook with the payload your server sends"
162955
+ });
162956
+ }
162957
+ if (hook.name === "onIdentityChange" && declaring.length && hook.args[0] && hook.args[0].signedIn === true) {
162958
+ gaps.push({
162959
+ surface: "onIdentityChange",
162960
+ why: "the worker's wixApi is not rebound to a member session and its persisted snapshot is not re-keyed \u2014 only the reducer runs",
162961
+ remedy: "sign in and out on a device to prove the member-session rebind and the snapshot re-key"
162962
+ });
162963
+ }
162964
+ }
162965
+ hooks.push(...hooksRun);
162966
+ } finally {
162967
+ w2.dispose();
162968
+ }
162969
+ const refs = [];
162970
+ const seenRefs = /* @__PURE__ */ new Set();
162971
+ const addRef = (r3) => {
162972
+ const id = `${r3.actionId}|${r3.origin}|${JSON.stringify(r3.args)}`;
162973
+ if (seenRefs.has(id)) return;
162974
+ seenRefs.add(id);
162975
+ refs.push(r3);
162976
+ };
162977
+ const dropped = [];
162978
+ const appState = launchedState;
162979
+ const fixtureArgs = (actionId, params, args) => {
162980
+ const out2 = {};
162981
+ for (const [k3, v2] of Object.entries({ ...params ?? {}, ...args ?? {} })) {
162982
+ if (typeof v2 === "string" && /^\$(?:item\.|service:|app:|t:|input\.)/.test(v2)) {
162983
+ const parsed = parseAppBinding(v2);
162984
+ const value2 = parsed ? pathValue(appState[parsed.service], parsed.path) : void 0;
162985
+ if (value2 === void 0) {
162986
+ dropped.push(`${actionId}.${k3}`);
162987
+ continue;
162988
+ }
162989
+ out2[k3] = value2;
162990
+ } else out2[k3] = v2;
162991
+ }
162992
+ return Object.keys(out2).length ? [out2] : [];
162993
+ };
162994
+ for (const screen of opts.screens) {
162995
+ for (const site of actionSitesForDescriptor(screen.descriptor)) {
162996
+ if (!parseAppActionId(site.actionId)) continue;
162997
+ if (opts.skipAction?.(site.actionId, site.componentId)) continue;
162998
+ addRef({ actionId: site.actionId, origin: "gesture", origin_label: "a tap", owner: screen.screenId, componentId: site.componentId, key: site.key, args: fixtureArgs(site.actionId, site.params, site.args) });
162999
+ }
163000
+ if (screen.bundleJs) {
163001
+ for (const m2 of screen.bundleJs.matchAll(/\bapp\.dispatch\(\s*["']([A-Za-z0-9_-]+)\.([A-Za-z0-9_-]+)["']/g)) {
163002
+ addRef({ actionId: `app.${m2[1]}.${m2[2]}`, origin: "ambient", origin_label: "an app.dispatch from the screen worker", owner: screen.screenId, componentId: null, key: "app.dispatch", args: [] });
163003
+ }
163004
+ }
163005
+ }
163006
+ if (opts.appConfig) {
163007
+ for (const ref of collectActionIds(opts.appConfig)) {
163008
+ if (!parseAppActionId(ref.actionId)) continue;
163009
+ const receipt = /^(?:observerAction|observer_action)$/.test(ref.key);
163010
+ addRef({
163011
+ actionId: ref.actionId,
163012
+ origin: receipt ? "ambient" : "gesture",
163013
+ origin_label: receipt ? "a push receipt (observer_action)" : "a chrome tap",
163014
+ owner: APP_SERVICES_SCREEN,
163015
+ componentId: ref.at,
163016
+ key: ref.key,
163017
+ args: []
163018
+ });
163019
+ }
163020
+ } else {
163021
+ gaps.push({ surface: "app config", why: "the baked app config was not supplied, so chrome actions, push routes and observer_action ids were not scanned", remedy: "run through `himi test --content <dir>`, which passes the baked app config" });
163022
+ }
163023
+ for (const ref of refs) {
163024
+ const parsed = parseAppActionId(ref.actionId);
163025
+ const trigger = { tap: ref.componentId, key: ref.key, action: ref.actionId };
163026
+ const w22 = await bootWithLaunch();
163027
+ try {
163028
+ const handle = w22.handles[parsed.service];
163029
+ if (!handle) {
163030
+ findings.push({
163031
+ screen: ref.owner,
163032
+ trigger,
163033
+ invariant: "app-action-unresolved",
163034
+ severity: "error",
163035
+ ...ref.componentId ? { at: ref.componentId } : {},
163036
+ message: `"${ref.key}" dispatches ${ref.actionId}, but the app bundle defines no service "${parsed.service}"`,
163037
+ hint: `app services defined: ${Object.keys(w22.handles).join(", ") || "none"}`
163038
+ });
163039
+ continue;
163040
+ }
163041
+ if (!handle.actionNames().includes(parsed.action)) {
163042
+ findings.push({
163043
+ screen: ref.owner,
163044
+ trigger,
163045
+ invariant: "app-action-unresolved",
163046
+ severity: "error",
163047
+ ...ref.componentId ? { at: ref.componentId } : {},
163048
+ message: `"${ref.key}" dispatches ${ref.actionId}, but app service "${parsed.service}" declares no action "${parsed.action}"`,
163049
+ hint: `${parsed.service} actions: ${handle.actionNames().join(", ") || "none"}`
163050
+ });
163051
+ continue;
163052
+ }
163053
+ actionsExercised += 1;
163054
+ const before = findings.length;
163055
+ await invoke(w22, parsed.service, parsed.action, ref.args, ref.origin, ref.origin_label, trigger);
163056
+ for (const f2 of findings.slice(before)) if (ref.owner !== APP_SERVICES_SCREEN && f2.screen === APP_SERVICES_SCREEN) f2.screen = ref.owner;
163057
+ } finally {
163058
+ w22.dispose();
163059
+ }
163060
+ }
163061
+ if (dropped.length) {
163062
+ gaps.push({
163063
+ surface: "app.* args",
163064
+ why: `${dropped.length} param(s) bound to a row, screen state or an unset app path were dispatched without a value (${[...new Set(dropped)].slice(0, 6).join(", ")})`,
163065
+ remedy: "the crawl has no row or screen state at an app.* tap; drive the filled-in flow on a preview (himi push) or a device"
163066
+ });
163067
+ }
163068
+ return { findings: dedupeAppFindings(findings), effects, services: Object.keys(appState), bindingsChecked, actionsExercised, hooks, gaps, state: appState };
163069
+ });
163070
+ }
163071
+ function dedupeAppFindings(findings) {
163072
+ const seen = /* @__PURE__ */ new Set();
163073
+ return findings.filter((f2) => {
163074
+ const key4 = `${f2.invariant}|${f2.screen}|${f2.at ?? ""}|${f2.message}`;
163075
+ if (seen.has(key4)) return false;
163076
+ seen.add(key4);
163077
+ return true;
163078
+ });
163079
+ }
163080
+ var ACTION_KEYS, UNTRACKED_ITEMS, NESTED_ITEMS_SEP, REJECT_ALL_MESSAGE, POLL_STOP_LITERAL, WIX_DATA_QUERY, WIX_DATA_ANY, CAPABILITY_ACTION, detached, CRAWL_PRINCIPAL, CRAWL_CLOCK, MEMBER_IDENTITY_ACTION, BLANK_WHEN_BOUND, CONTROL_ROLES, NAME_KEYS, A11Y_ROWS_PER_LIST, A11Y_LIST_DEPTH, ITEM_PATH_RE, UNOBSERVED_COPY_KEYS, LABEL_NEEDS_HANDLER, REPEATER_TEMPLATE_KEYS, STALE_SNAPSHOT_HINT, REPEATED_CALL_LIMIT, UNBINDABLE_ROW, APP_SERVICES_SCREEN, APP_HOOKS, APP_TICK_LIMIT;
162704
163081
  var init_screen_crawl = __esm({
162705
163082
  "../../core/dev-server/src/screen-crawl.ts"() {
162706
163083
  init_define_HHP_CATALOG();
@@ -162715,6 +163092,8 @@ var init_screen_crawl = __esm({
162715
163092
  init_actionParams();
162716
163093
  init_implications();
162717
163094
  init_bindings();
163095
+ init_app_services_gate();
163096
+ init_app_services_lint();
162718
163097
  init_capability_fixtures();
162719
163098
  init_base44_crawl_data();
162720
163099
  init_webview_bridge_crawl();
@@ -162740,6 +163119,7 @@ var init_screen_crawl = __esm({
162740
163119
  UNTRACKED_ITEMS = "__untracked-items__";
162741
163120
  NESTED_ITEMS_SEP = "[].";
162742
163121
  REJECT_ALL_MESSAGE = "offline crawl: no net fixture \u2014 the Wix transport rejects by design";
163122
+ POLL_STOP_LITERAL = /\bstop\s*:\s*(?:true|!0)/;
162743
163123
  WIX_DATA_QUERY = /\/wix-data\/v2\/items\/query$/;
162744
163124
  WIX_DATA_ANY = /\/wix-data\//;
162745
163125
  CAPABILITY_ACTION = /^capability\.([a-z0-9_]+)\.([A-Za-z0-9_]+)$/;
@@ -162786,6 +163166,15 @@ var init_screen_crawl = __esm({
162786
163166
  STALE_SNAPSHOT_HINT = 'if every path already does, look for a stale-snapshot write-back: `return s` (or `{ ...s }`) after an await or from an early-return guard writes back the state as it was BEFORE the await, loading flag included \u2014 to change nothing, return `undefined` instead (not `null` or `{}`); see `himi docs tier-5-add-a-screen`, "Should this result be committed at all?"';
162787
163167
  REPEATED_CALL_LIMIT = 50;
162788
163168
  UNBINDABLE_ROW = Symbol("unbindable-row");
163169
+ APP_SERVICES_SCREEN = "(app services)";
163170
+ APP_HOOKS = [
163171
+ { name: "onIdentityChange", label: "onIdentityChange({ signedIn: true })", args: [{ signedIn: true, userId: "crawl-user" }], origin: "ambient" },
163172
+ { name: "onIdentityChange", label: "onIdentityChange({ signedIn: false })", args: [{ signedIn: false }], origin: "ambient" },
163173
+ { name: "onForeground", label: "onForeground", args: [], origin: "ambient" },
163174
+ { name: "onBackground", label: "onBackground", args: [], origin: "ambient" },
163175
+ { name: "onPushOpened", label: "onPushOpened({ resolved: false })", args: [{ link: "himalaya://crawl", payload: {}, resolved: false }], origin: "gesture" }
163176
+ ];
163177
+ APP_TICK_LIMIT = 25;
162789
163178
  }
162790
163179
  });
162791
163180
 
@@ -165036,6 +165425,12 @@ async function buildFromLoaded(preloaded, dest, opts = {}) {
165036
165425
  ...collect2?.lint ? { lint, workers } : {},
165037
165426
  ...renderer ? { renders: renderer.renders } : {},
165038
165427
  ...collect2?.descriptors ? { descriptors: baked, linkableScreenIds: [...linkable], ...bakedAppConfig ? { appConfig: bakedAppConfig } : {} } : {},
165428
+ ...collect2?.descriptors && appBundleName && readBundle(appBundleName) !== void 0 ? { appBundle: {
165429
+ name: appBundleName,
165430
+ js: readBundle(appBundleName),
165431
+ map: bundleMapFor(bundleDirFor(appBundleName), appBundleName).bundleMap,
165432
+ declaredCapabilities: [...appLogicBundleRef(config)?.declaredCapabilities ?? []]
165433
+ } } : {},
165039
165434
  ...typeof preloaded.meta.homeScreenId === "string" && preloaded.meta.homeScreenId ? { homeScreenId: preloaded.meta.homeScreenId } : {},
165040
165435
  ...renderTokens !== void 0 ? { tokens: renderTokens } : {},
165041
165436
  ...preloaded.meta.surfaces ? { surfaceNav: preloaded.meta.surfaces } : {},
@@ -165125,6 +165520,7 @@ var init_build3 = __esm({
165125
165520
  init_web_fallback();
165126
165521
  init_src6();
165127
165522
  init_check();
165523
+ init_app_services_gate();
165128
165524
  init_file_store();
165129
165525
  init_release_patch();
165130
165526
  init_screen_views();
@@ -167218,6 +167614,7 @@ async function loadAuthoring() {
167218
167614
  uncoveredFunctions: cov.uncoveredFunctions,
167219
167615
  crawlScreenDeep: crawl.crawlScreenDeep,
167220
167616
  crawlSignature: crawl.crawlSignature,
167617
+ crawlAppServices: crawl.crawlAppServices,
167221
167618
  recordScreenTraffic: crawl.recordScreenTraffic,
167222
167619
  mintVisitor: wml.mintVisitor,
167223
167620
  mintOneAppVisitorToken: wml.mintOneAppVisitorToken,
@@ -202126,7 +202523,31 @@ async function runCrawl(opts) {
202126
202523
  message: issue3.message,
202127
202524
  hint: "Fix the value in the tokens file; `himi validate` reports the same finding."
202128
202525
  }));
202129
- const all = [...results.flatMap((r3) => r3.findings), ...hostileFindings, ...deepFindings, ...journeyFindings, ...edgeFindings, ...relationFindings, ...webviewFindings, ...writeFindings, ...tokenFindings].filter((f2) => {
202526
+ const appServiceFindings = [];
202527
+ let appServicesReport;
202528
+ if (opts.appBundle && deps.crawlAppServices) {
202529
+ const ar2 = await deps.crawlAppServices({
202530
+ bundleJs: opts.appBundle.js,
202531
+ bundleMap: opts.appBundle.map ?? null,
202532
+ declaredCapabilities: opts.appBundle.declaredCapabilities ?? [],
202533
+ // Every screen that bakes, not just the crawled representatives: a `$app:` / `app.*` on a collapsed
202534
+ // templated instance is the same defect, but an un-collapsed screen is where it is written.
202535
+ screens: descriptors.filter((d2) => !invalid4.has(d2.screenId) && (!only || only.has(d2.screenId))).map((d2) => ({ screenId: d2.screenId, descriptor: d2.descriptor, bundleJs: d2.bundleJs })),
202536
+ appConfig: opts.appConfig,
202537
+ rules: net2?.rules ?? null,
202538
+ ...opts.cmsSeed && Object.keys(opts.cmsSeed).length ? { cmsSeed: opts.cmsSeed } : {},
202539
+ ...opts.canned?.count ? { canned: opts.canned.byKey } : {},
202540
+ ...localDbSchema?.length ? { localDbSchema } : {},
202541
+ ...l10n ? { l10n } : {},
202542
+ ...opts.base44Data ? { base44Data: opts.base44Data } : {},
202543
+ ...opts.budgetMs ? { budgetMs: opts.budgetMs } : {},
202544
+ skipAction: (actionId, componentId) => matchSuppression(APP_SERVICES_FINDING_SCREEN, actionId, componentId) !== void 0
202545
+ });
202546
+ appServiceFindings.push(...ar2.findings);
202547
+ for (const e2 of ar2.effects) writes.push(...writesFromEffects(APP_SERVICES_FINDING_SCREEN, [e2]));
202548
+ appServicesReport = { services: ar2.services, bindingsChecked: ar2.bindingsChecked, actionsExercised: ar2.actionsExercised, hooks: ar2.hooks, gaps: ar2.gaps };
202549
+ }
202550
+ const all = [...results.flatMap((r3) => r3.findings), ...hostileFindings, ...appServiceFindings, ...deepFindings, ...journeyFindings, ...edgeFindings, ...relationFindings, ...webviewFindings, ...writeFindings, ...tokenFindings].filter((f2) => {
202130
202551
  if (f2.invariant === "no-request-issued" && !f2.axis && fetchProven.has(f2.screen)) {
202131
202552
  const by = fetchProven.get(f2.screen);
202132
202553
  if (!retired.some((x2) => x2.screen === f2.screen)) retired.push({ screen: f2.screen, from: by.from, params: by.params });
@@ -202170,6 +202591,7 @@ async function runCrawl(opts) {
202170
202591
  failures,
202171
202592
  warnings,
202172
202593
  unverifiable: results.flatMap((r3) => r3.unverifiable),
202594
+ ...appServicesReport ? { appServices: appServicesReport } : {},
202173
202595
  ...webviewScreens.length ? { webview: webviewScreens } : {},
202174
202596
  ...suppressed.length ? { suppressed } : {},
202175
202597
  ...unknownScreens.length ? { unknownScreens } : {},
@@ -202374,7 +202796,7 @@ function formatReport(r3) {
202374
202796
  }
202375
202797
  return out2.join("\n");
202376
202798
  }
202377
- var TEST_CONFIG_FILE, mapResult, TOKENS_FINDING_SCREEN, triggerLabel;
202799
+ var TEST_CONFIG_FILE, mapResult, TOKENS_FINDING_SCREEN, APP_SERVICES_FINDING_SCREEN, triggerLabel;
202378
202800
  var init_test = __esm({
202379
202801
  "src/test.ts"() {
202380
202802
  init_define_HHP_CATALOG();
@@ -202390,6 +202812,7 @@ var init_test = __esm({
202390
202812
  TEST_CONFIG_FILE = "himi-test.json";
202391
202813
  mapResult = (r3) => ({ screen: r3.screen, navEdges: r3.navEdges ?? [], navUnfollowed: r3.navUnfollowed ?? 0, failed: (r3.findings ?? []).some((x2) => x2.severity === "error") });
202392
202814
  TOKENS_FINDING_SCREEN = "tokens.json";
202815
+ APP_SERVICES_FINDING_SCREEN = "(app services)";
202393
202816
  triggerLabel = (f2) => (f2.trigger === "boot" ? "on appear" : `${f2.trigger.key} ${f2.trigger.tap ?? "(no id)"} \u2192 ${f2.trigger.action}`) + (f2.axis ? ` [${f2.axis}]` : "");
202394
202817
  }
202395
202818
  });
@@ -265114,6 +265537,15 @@ function assembleLedger(r3, options2 = {}) {
265114
265537
  list5.push(u2.node);
265115
265538
  unverifiableByScreen.set(u2.screen, list5);
265116
265539
  }
265540
+ for (const g2 of r3.appServices?.gaps ?? []) {
265541
+ out2.push({
265542
+ key: `unverifiable|app-services|${g2.surface}`,
265543
+ kind: "unverifiable",
265544
+ screen: null,
265545
+ gap: `app services \u2014 ${g2.surface}: ${g2.why}`,
265546
+ remedy: g2.remedy
265547
+ });
265548
+ }
265117
265549
  for (const [screen, nodes3] of unverifiableByScreen) {
265118
265550
  out2.push({
265119
265551
  key: `unverifiable|${screen}`,
@@ -266595,7 +267027,7 @@ async function testCommand(ctx) {
266595
267027
  return results.every((result2) => result2.ok) ? 0 : 1;
266596
267028
  }
266597
267029
  const app2 = await appId(dir);
266598
- const { buildContentBundles: buildContentBundles2, buildReleaseFromContent: buildReleaseFromContent2, bundleOutDir: bundleOutDir2, crawlScreen: crawlScreen2, crawlScreenJourney: crawlScreenJourney2, crawlScreenHostile: crawlScreenHostile2, crawlScreenRelations: crawlScreenRelations2, crawlScreenCapabilitySuccess: crawlScreenCapabilitySuccess2, crawlScreenWebView: crawlScreenWebView2, findingKey: findingKey2, startWorkerCoverage: startWorkerCoverage2, uncoveredFunctions: uncoveredFunctions2, crawlScreenDeep: crawlScreenDeep2, crawlSignature: crawlSignature2, recordScreenTraffic: recordScreenTraffic2, mintVisitor: mintVisitor2, mintOneAppVisitorToken: mintOneAppVisitorToken2, webWixCall: webWixCall2, freezeTrafficToMocks: freezeTrafficToMocks2, bootAndSnapshotState: bootAndSnapshotState2, isUnservedRequest: isUnservedRequest2, renderDescriptorWeb: renderDescriptorWeb2, renderPngBatch: renderPngBatch2, pngAvailable: pngAvailable2, crawlBlockingPasses } = await loadAuthoring();
267030
+ const { buildContentBundles: buildContentBundles2, buildReleaseFromContent: buildReleaseFromContent2, bundleOutDir: bundleOutDir2, crawlScreen: crawlScreen2, crawlScreenJourney: crawlScreenJourney2, crawlScreenHostile: crawlScreenHostile2, crawlScreenRelations: crawlScreenRelations2, crawlScreenCapabilitySuccess: crawlScreenCapabilitySuccess2, crawlScreenWebView: crawlScreenWebView2, findingKey: findingKey2, startWorkerCoverage: startWorkerCoverage2, uncoveredFunctions: uncoveredFunctions2, crawlScreenDeep: crawlScreenDeep2, crawlSignature: crawlSignature2, crawlAppServices: crawlAppServices2, recordScreenTraffic: recordScreenTraffic2, mintVisitor: mintVisitor2, mintOneAppVisitorToken: mintOneAppVisitorToken2, webWixCall: webWixCall2, freezeTrafficToMocks: freezeTrafficToMocks2, bootAndSnapshotState: bootAndSnapshotState2, isUnservedRequest: isUnservedRequest2, renderDescriptorWeb: renderDescriptorWeb2, renderPngBatch: renderPngBatch2, pngAvailable: pngAvailable2, crawlBlockingPasses } = await loadAuthoring();
266599
267031
  const { readTestConfig: readTestConfig2, runCrawl: runCrawl2, formatReport: formatReport2, readCannedResponses: readCannedResponses2, makeRecordingWixCall: makeRecordingWixCall2, runRecordPass: runRecordPass2, runShotsPass: runShotsPass2, defaultNetRules: defaultNetRules2, readNetRules: readNetRules2, scopeDescriptors: scopeDescriptors2, writeRecordedMocks: writeRecordedMocks2 } = await Promise.resolve().then(() => (init_test(), test_exports));
266600
267032
  let config;
266601
267033
  let capturedConfig;
@@ -266879,10 +267311,11 @@ async function testCommand(ctx) {
266879
267311
  ...outcome.linkableScreenIds?.length ? { linkableScreenIds: new Set(outcome.linkableScreenIds) } : {},
266880
267312
  // The app-level worker's services (the top bar's badge counts): not judged against each screen's own worker.
266881
267313
  ...appServices.size ? { appServices } : {},
267314
+ ...outcome.appBundle ? { appBundle: outcome.appBundle, ...outcome.appConfig ? { appConfig: outcome.appConfig } : {} } : {},
266882
267315
  ...deep ? { deep } : {},
266883
267316
  ...offline ? { offline: true } : {},
266884
267317
  ...offline || flags["no-hostile"] === true ? { hostile: false } : {},
266885
- deps: { crawlScreen: crawlScreen2, crawlScreenJourney: crawlScreenJourney2, crawlScreenHostile: crawlScreenHostile2, crawlScreenRelations: crawlScreenRelations2, crawlScreenCapabilitySuccess: crawlScreenCapabilitySuccess2, crawlScreenWebView: crawlScreenWebView2, findingKey: findingKey2, startWorkerCoverage: startWorkerCoverage2, uncoveredFunctions: uncoveredFunctions2, crawlScreenDeep: crawlScreenDeep2, crawlSignature: crawlSignature2 }
267318
+ deps: { crawlScreen: crawlScreen2, crawlScreenJourney: crawlScreenJourney2, crawlScreenHostile: crawlScreenHostile2, crawlScreenRelations: crawlScreenRelations2, crawlScreenCapabilitySuccess: crawlScreenCapabilitySuccess2, crawlScreenWebView: crawlScreenWebView2, findingKey: findingKey2, startWorkerCoverage: startWorkerCoverage2, uncoveredFunctions: uncoveredFunctions2, crawlScreenDeep: crawlScreenDeep2, crawlSignature: crawlSignature2, crawlAppServices: crawlAppServices2 }
266886
267319
  });
266887
267320
  } catch (e2) {
266888
267321
  io2.error(JSON.stringify({ error: e2.message }));
@@ -275066,55 +275499,55 @@ var init_preview_assets_generated = __esm({
275066
275499
  init_define_HHP_CATALOG();
275067
275500
  init_preview_assets_format();
275068
275501
  PREVIEW_ASSET_MANIFEST = [
275069
- { key: "assets/DashboardHost-Yz1w8FH6.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "d3697d9ac2f852c8a5d6474249c0fabf6b45dc03f3346819711054a2c3e2a177" },
275070
- { key: "assets/DevDrawer-B6Si-_5U.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "5614c362d4317ab95c789cc585d8fcc8ceac77a9f38b16198dbae0970528f39b" },
275071
- { key: "assets/IdiomCompare-DpqHmGxd.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "c2690fc7b1ed9e5c29d5f45d999502611af97d1d812573d72a66dfe5f4702ac6" },
275072
- { key: "assets/LightboxViewer-C0FGmmqu.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15970, sha256: "689ef101e2033d7a125938cbba22853d8df16e408c52cc269a0297e47eaa083f" },
275073
- { key: "assets/OfflineReadingBar-C73lYqPk.js", contentType: "application/javascript; charset=utf-8", offset: 37672, length: 1761, sha256: "d7f4df1c98c1dee4f94814f7b3bfae70f5cd6eba4876fcf5f3627949859f6d46" },
275074
- { key: "assets/PhonePreviewControl-BajnfX_m.js", contentType: "application/javascript; charset=utf-8", offset: 39433, length: 37851, sha256: "d486116a81ca6c847e188a7c4097a070c34e826142a78ad6e9f704bcef6acb42" },
275075
- { key: "assets/SchemeCompare-B5RledHL.js", contentType: "application/javascript; charset=utf-8", offset: 77284, length: 1858, sha256: "bc29909fe33fda475b9dd266912bdac18405581aad9a7f63c545cea30c1c5a75" },
275076
- { key: "assets/TopBarSearchStates-BINsLxko.js", contentType: "application/javascript; charset=utf-8", offset: 79142, length: 4068, sha256: "9f2ff41d8b88aae40d8fbd8ad3d0aa9f11a7a9b6edea51f9dd9795898c855da6" },
275077
- { key: "assets/WixFrogTelemetrySink-DIo9ZUkJ.js", contentType: "application/javascript; charset=utf-8", offset: 83210, length: 3586, sha256: "b949ee2306a5753692afd0fba99342d56217a4ce4cf1e67f209af6c6f41bbf7a" },
275502
+ { key: "assets/DashboardHost-CPcLBW3C.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "06797e0933bc9b18ed2d1576d7bba4e45cf84055553dd900147acac82ed6ee8d" },
275503
+ { key: "assets/DevDrawer-9hJCD3SX.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "9468af745879ca314a9d6cefd9f54f2fa8a100185c532c7f0dc8b491b162de47" },
275504
+ { key: "assets/IdiomCompare-Eg5h7I1L.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "936e410dcec4702b39bbaebef2763bce1aba4a7eee0efabdbb2b005d27d6ce8e" },
275505
+ { key: "assets/LightboxViewer-DKBQbuYE.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15970, sha256: "e9d56e2a268d23e04debc002f8a43d53545227f616d2a4d59f3419836982ea68" },
275506
+ { key: "assets/OfflineReadingBar-L7I_gkug.js", contentType: "application/javascript; charset=utf-8", offset: 37672, length: 1761, sha256: "c401bd2131cc4a3139fb62f87395c52fef8097d580bd1c6235850ac823597ed3" },
275507
+ { key: "assets/PhonePreviewControl-Dh1OvDHE.js", contentType: "application/javascript; charset=utf-8", offset: 39433, length: 37851, sha256: "f528b20d62415ab6f9e15a1aa32ad3933726bcb17bc4ae2eb751dfb34b162e34" },
275508
+ { key: "assets/SchemeCompare-BbdqObZs.js", contentType: "application/javascript; charset=utf-8", offset: 77284, length: 1858, sha256: "d16827668391b23ae912fb8e27db980ac4cbb68902c1dfd2e7a2888574dc752c" },
275509
+ { key: "assets/TopBarSearchStates-0LxZVjjS.js", contentType: "application/javascript; charset=utf-8", offset: 79142, length: 4068, sha256: "e9f8e4fb5dfca158dc91937840fbc94390613f17fe72bd4dbaae5d2772674d3c" },
275510
+ { key: "assets/WixFrogTelemetrySink-ClQbTCz6.js", contentType: "application/javascript; charset=utf-8", offset: 83210, length: 3586, sha256: "d7a691c78c5ce2a024c3ba301ea2ac11cfb56621506e8640a3a48937114c68af" },
275078
275511
  { key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 86796, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
275079
275512
  { key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 88988, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
275080
- { key: "assets/catalogFontFaces-D-PpCpnT.js", contentType: "application/javascript; charset=utf-8", offset: 124614, length: 1111, sha256: "c1e8c985e4cd0db625cfb94c336d225a87b9c209e272f67713c5be80da6d771c" },
275513
+ { key: "assets/catalogFontFaces-AYxoZgxT.js", contentType: "application/javascript; charset=utf-8", offset: 124614, length: 1111, sha256: "f40725c6ff50fb684db30a3eecb579f092a711fa4e785c6700328bdf44b25892" },
275081
275514
  { key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 125725, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
275082
- { key: "assets/files-transfer-Dc-4WFRe.js", contentType: "application/javascript; charset=utf-8", offset: 128292, length: 6446, sha256: "05a691f01910f3b8f1dfe7c54c328dea5b9aa8441ef685e0ace527573c87d060" },
275515
+ { key: "assets/files-transfer-_8KpqoTV.js", contentType: "application/javascript; charset=utf-8", offset: 128292, length: 6446, sha256: "6ccec45d8ed191f1d14e685a7739204d2b272f8dd176d327ce1669009bab5012" },
275083
275516
  { key: "assets/frogActionMap-DzUppDSb.js", contentType: "application/javascript; charset=utf-8", offset: 134738, length: 1172, sha256: "6d59e1dd1c68aaeb2d9927693f6e107c354cc82a611979679c137277f29e14c9" },
275084
- { key: "assets/frogApiRules-Bf4aAat_.js", contentType: "application/javascript; charset=utf-8", offset: 135910, length: 2207, sha256: "e080cc1cf391663a962f5de7dbd3bbca89e7d6b2ce758cf64fd1a82229787da6" },
275517
+ { key: "assets/frogApiRules-DEJDODeP.js", contentType: "application/javascript; charset=utf-8", offset: 135910, length: 2207, sha256: "b120ab3763c93ff6cdecaaffcb3c7ebed1b35b9bed4d09ae46975048ac0dc973" },
275085
275518
  { key: "assets/frogScreenMap-LM0nfzDQ.js", contentType: "application/javascript; charset=utf-8", offset: 138117, length: 1096, sha256: "991b931a02a029c9c4514f0ccbdc8a07f4cf2168ea3e23ffe5e244327fa05141" },
275086
275519
  { key: "assets/frogScreenNavArgs-mIYDwUYX.js", contentType: "application/javascript; charset=utf-8", offset: 139213, length: 780, sha256: "6c9e52135322e0a752b57ef6f360d71400cb77414b4f29d480230ae174201230" },
275087
275520
  { key: "assets/glassPreviewBrowser-OVmIRgHt.js", contentType: "application/javascript; charset=utf-8", offset: 139993, length: 6800, sha256: "3671697a4f66a1f5f68610fab57d590630be70be934f59675ef1bda9a96e6fe3" },
275088
275521
  { key: "assets/godot-pack-cache-Cuhrw41M.js", contentType: "application/javascript; charset=utf-8", offset: 146793, length: 1626, sha256: "70b16367b8938ebd6eb8494a2b472171dd2acdcb452c52f35f140eb8ede9c0b7" },
275089
275522
  { key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 148419, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
275090
- { key: "assets/index-l43LJft1.js", contentType: "application/javascript; charset=utf-8", offset: 151123, length: 1745975, sha256: "4020a0a4e220830600a25e64937b6adaebf7e8a6f2e5513c58ebcf182f92e61a" },
275091
- { key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1897098, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
275092
- { key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1904849, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
275093
- { key: "assets/pdf-DdwUM4l9.js", contentType: "application/javascript; charset=utf-8", offset: 1915380, length: 488215, sha256: "9521361aa5be10b9a96b96c0ea2f7e157e728874b20de5200879cbd735eefb38" },
275094
- { key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2403595, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
275095
- { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2403685, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
275096
- { key: "assets/pdfDocument-DlY2TR_Y.js", contentType: "application/javascript; charset=utf-8", offset: 3720719, length: 3836, sha256: "0e3f94447c9d10160672d6ef7b8396b254a4511268db543271fdabade3550ed9" },
275097
- { key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3724555, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
275098
- { key: "assets/scrollLinkedRuntime-BFIfW6nD.js", contentType: "application/javascript; charset=utf-8", offset: 3726821, length: 2278, sha256: "90a963c0aedeaff634afb7eef44c940e7d91776ac9da6cd67f9c471fdf3b4551" },
275099
- { key: "assets/webviewBridgeHost-DYxzUmJu.js", contentType: "application/javascript; charset=utf-8", offset: 3729099, length: 9889, sha256: "00d21e7e90fe94e0a0d577e2c46ffe6ef89d6028fcd3537426a78ac9dcb438f3" },
275100
- { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3738988, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
275101
- { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3743598, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
275102
- { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4232182, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
275103
- { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4323106, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
275104
- { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4414090, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
275105
- { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4505070, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
275106
- { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4595942, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
275107
- { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4686922, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
275108
- { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4795558, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
275109
- { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4904642, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
275110
- { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 5013690, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
275111
- { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5121390, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
275112
- { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5209498, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
275113
- { key: "index.html", contentType: "text/html; charset=utf-8", offset: 5216316, length: 4924, sha256: "ce0a829951378fea9d7e91573bb72e78dfcf160608ea3ee1d9b31869c9335f49" },
275114
- { key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5221240, length: 15585, sha256: "98ec60ef8f9568532f0746d1092b5c76f1c52d718365c586c8bade8f62c7c5eb" },
275115
- { key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5236825, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
275116
- { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5237996, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
275117
- { key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5262299, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
275523
+ { key: "assets/index-B0PWuFWG.js", contentType: "application/javascript; charset=utf-8", offset: 151123, length: 1746654, sha256: "025d855841fa1c132e8e98b01e4f97c182488a3a8ca104726e8d252e60427e52" },
275524
+ { key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1897777, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
275525
+ { key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1905528, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
275526
+ { key: "assets/pdf-CHk_jb5s.js", contentType: "application/javascript; charset=utf-8", offset: 1916059, length: 488215, sha256: "da958a2a47eef7082c7892c1cc755a58bbeefcb4b617b47fde87f1ce567b3e64" },
275527
+ { key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2404274, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
275528
+ { key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2404364, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
275529
+ { key: "assets/pdfDocument-Bj_vGGei.js", contentType: "application/javascript; charset=utf-8", offset: 3721398, length: 3836, sha256: "fcc0155128be49914d0ced282c1861a2941bf11bea55ecd37a58ebeac4cf129b" },
275530
+ { key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3725234, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
275531
+ { key: "assets/scrollLinkedRuntime-DU1kWsV4.js", contentType: "application/javascript; charset=utf-8", offset: 3727500, length: 2278, sha256: "1fa5fa1bddaf90f6e8cf6f6e1767249949ebdf6943244bb220b69c00babf1ea9" },
275532
+ { key: "assets/webviewBridgeHost-CD8POTu6.js", contentType: "application/javascript; charset=utf-8", offset: 3729778, length: 9889, sha256: "e1a334930e86ed2d0f62fd4937c94af81db7248d51aa4f89d4ca2cb3ce3ba2aa" },
275533
+ { key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3739667, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
275534
+ { key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3744277, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
275535
+ { key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4232861, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
275536
+ { key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4323785, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
275537
+ { key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4414769, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
275538
+ { key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4505749, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
275539
+ { key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4596621, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
275540
+ { key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4687601, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
275541
+ { key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4796237, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
275542
+ { key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4905321, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
275543
+ { key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 5014369, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
275544
+ { key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5122069, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
275545
+ { key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5210177, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
275546
+ { key: "index.html", contentType: "text/html; charset=utf-8", offset: 5216995, length: 4924, sha256: "14f57710fe002c1343653175fd51d4c9fc8e51b79d25583c9045034777750829" },
275547
+ { key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5221919, length: 15585, sha256: "98ec60ef8f9568532f0746d1092b5c76f1c52d718365c586c8bade8f62c7c5eb" },
275548
+ { key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5237504, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
275549
+ { key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5238675, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
275550
+ { key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5262978, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
275118
275551
  ];
275119
275552
  }
275120
275553
  });