@wix/himalaya-cli 0.1859.0 → 0.1860.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/browser-plane/assets.json +5 -5
- package/dist/browser-plane/preview-deferred/{b2b76cc19f21f7c6d8b1a3cd6aa1ac0f194b052fa183761d08bd4f43fd46f844.bin → a60c092217d4c21970ff66e8b63221007e49d0792eb9d5fe66238f8efbce884a.bin} +1 -1
- package/dist/browser-plane/sw.js +7 -7
- package/dist/cli.mjs +632 -336
- package/dist/preview-assets.generated.bin +0 -0
- package/guides/testing-himi-apps.md +4 -5
- package/package.json +2 -2
package/dist/cli.mjs
CHANGED
|
@@ -4450,6 +4450,7 @@ var init_himi_package = __esm({
|
|
|
4450
4450
|
var ICON_VIEW_BOX, ICON_STROKE_WIDTH, ICON_FALLBACK, ICON_CATALOG, ICON_NORMALIZED_INDEX, ICON_NAMES;
|
|
4451
4451
|
var init_icon_catalog_generated = __esm({
|
|
4452
4452
|
"../../core/ts/src/icon-catalog.generated.ts"() {
|
|
4453
|
+
"use strict";
|
|
4453
4454
|
init_define_HHP_CATALOG();
|
|
4454
4455
|
ICON_VIEW_BOX = 24;
|
|
4455
4456
|
ICON_STROKE_WIDTH = 2;
|
|
@@ -8458,7 +8459,6 @@ function assertExternalUrl(site, value2, where) {
|
|
|
8458
8459
|
var WIX_FREE_SITE_HOST_SUFFIXES, SITE_KINDS, SITE_LAYOUTS, SITE_PAGE_TITLES, SITE_TOP_BAR_MAX_ACTIONS, SITE_BUILTIN_NATIVE_SCREENS, SITE_PRIVATE_NATIVE_SCREENS, SITE_SHELL_MAX_TABS, SITE_SCREEN_PREFIX, SITE_PAGE_SCREEN_ID, BASE44_ORIGINS, PAGE_ID, SITE_PAGE_NODE_ID, SITE_SCREEN_FORMS, SITE_NODE_SCREEN_RENDERER, PLACEMENTS, ICONS, SITE_MEMBER_PAGE_SCREENS, SITE_MEMBER_CART_SCREENS, SITE_MEMBER_ONLY_SCREENS;
|
|
8459
8460
|
var init_site_shell = __esm({
|
|
8460
8461
|
"../../core/ts/src/site-shell.ts"() {
|
|
8461
|
-
"use strict";
|
|
8462
8462
|
init_define_HHP_CATALOG();
|
|
8463
8463
|
init_himi_package();
|
|
8464
8464
|
init_icon_catalog_generated();
|
|
@@ -41260,6 +41260,7 @@ function resolveIdiom(tokens2, ctx = {}) {
|
|
|
41260
41260
|
var IDIOM_CONTEXTS, UNSAFE_KEYS;
|
|
41261
41261
|
var init_idiom = __esm({
|
|
41262
41262
|
"../../core/ts/src/idiom.ts"() {
|
|
41263
|
+
"use strict";
|
|
41263
41264
|
init_define_HHP_CATALOG();
|
|
41264
41265
|
IDIOM_CONTEXTS = {
|
|
41265
41266
|
ios: { native: ["ios"] },
|
|
@@ -50354,6 +50355,408 @@ var init_menuItems = __esm({
|
|
|
50354
50355
|
}
|
|
50355
50356
|
});
|
|
50356
50357
|
|
|
50358
|
+
// ../../core/web-renderer/src/runtimeCopy.generated.ts
|
|
50359
|
+
var RUNTIME_COPY_DEFAULTS, RUNTIME_RENDERER_COPY;
|
|
50360
|
+
var init_runtimeCopy_generated = __esm({
|
|
50361
|
+
"../../core/web-renderer/src/runtimeCopy.generated.ts"() {
|
|
50362
|
+
init_define_HHP_CATALOG();
|
|
50363
|
+
RUNTIME_COPY_DEFAULTS = {
|
|
50364
|
+
"runtime.auth.signOutFailed": "Couldn\u2019t sign out. Check your connection and try again.",
|
|
50365
|
+
"runtime.auth.signOutPurgeFailed": "Signed out, but this device\u2019s data couldn\u2019t be cleared. Try again.",
|
|
50366
|
+
"runtime.boot.failed": "The app couldn't start. Please try again.",
|
|
50367
|
+
"runtime.boot.generic": "Something went wrong while starting the app.",
|
|
50368
|
+
"runtime.boot.known.connectionClosed": "The connection closed before the app finished loading.",
|
|
50369
|
+
"runtime.boot.known.insecure": "The app couldn\u2019t verify a secure connection to its server.",
|
|
50370
|
+
"runtime.boot.known.noCache": "The app has nothing saved to open offline.",
|
|
50371
|
+
"runtime.boot.known.revoked": "Part of the app is no longer available.",
|
|
50372
|
+
"runtime.boot.known.serverError": "Wix returned an error.",
|
|
50373
|
+
"runtime.boot.known.slow": "The app\u2019s server took too long to answer.",
|
|
50374
|
+
"runtime.boot.known.unreachable": "The app couldn\u2019t reach its server.",
|
|
50375
|
+
"runtime.boot.known.unreachableCheck": "The app couldn\u2019t reach its server \u2014 check the connection.",
|
|
50376
|
+
"runtime.boot.known.unverified": "Part of the app couldn\u2019t be verified.",
|
|
50377
|
+
"runtime.boot.updateFailed": "The app couldn't load its latest content.",
|
|
50378
|
+
"runtime.boot.updateRequired": "This screen needs a newer version of the app. Please update to continue.",
|
|
50379
|
+
"runtime.boot.withRetry": "{message} Try again in a moment.",
|
|
50380
|
+
"runtime.component.agenda.allDay": "All day",
|
|
50381
|
+
"runtime.component.agenda.today": "Today",
|
|
50382
|
+
"runtime.component.agenda.tomorrow": "Tomorrow",
|
|
50383
|
+
"runtime.component.alertDialog.label": "Alert",
|
|
50384
|
+
"runtime.component.badge.label": "Badge",
|
|
50385
|
+
"runtime.component.button.label": "Button",
|
|
50386
|
+
"runtime.component.calendar.changeTime": "Change time\u2026",
|
|
50387
|
+
"runtime.component.calendar.move": "Move\u2026",
|
|
50388
|
+
"runtime.component.calendar.next": "Next",
|
|
50389
|
+
"runtime.component.calendar.nextMonth": "Next month",
|
|
50390
|
+
"runtime.component.calendar.nextWeek": "Next week",
|
|
50391
|
+
"runtime.component.calendar.noEvents": "No events",
|
|
50392
|
+
"runtime.component.calendar.previous": "Previous",
|
|
50393
|
+
"runtime.component.calendar.previousMonth": "Previous month",
|
|
50394
|
+
"runtime.component.calendar.previousWeek": "Previous week",
|
|
50395
|
+
"runtime.component.calendar.showMonth": "Show month",
|
|
50396
|
+
"runtime.component.calendar.showWeek": "Show week",
|
|
50397
|
+
"runtime.component.chips.add": "Add a chip",
|
|
50398
|
+
"runtime.component.chips.chip": "chip",
|
|
50399
|
+
"runtime.component.chips.placeholder": "Add\u2026",
|
|
50400
|
+
"runtime.component.chips.remove": "Remove {name}",
|
|
50401
|
+
"runtime.component.colorPicker.choose": "Choose {color}",
|
|
50402
|
+
"runtime.component.datePicker.date": "Select date",
|
|
50403
|
+
"runtime.component.datePicker.dateTime": "Select date and time",
|
|
50404
|
+
"runtime.component.datePicker.time": "Select time",
|
|
50405
|
+
"runtime.component.fab.action": "Action",
|
|
50406
|
+
"runtime.component.form.loading": "Loading form\u2026",
|
|
50407
|
+
"runtime.component.form.refreshing": "Refreshing form\u2026",
|
|
50408
|
+
"runtime.component.form.unavailable": "Form unavailable. Please try again.",
|
|
50409
|
+
"runtime.component.image.label": "Image",
|
|
50410
|
+
"runtime.component.image.openPreview": "Opens image preview",
|
|
50411
|
+
"runtime.component.list.empty": "Nothing here yet",
|
|
50412
|
+
"runtime.component.list.pullToRefresh": "Pull to refresh",
|
|
50413
|
+
"runtime.component.list.refreshing": "Refreshing",
|
|
50414
|
+
"runtime.component.media.audio": "Audio",
|
|
50415
|
+
"runtime.component.media.cast": "Cast",
|
|
50416
|
+
"runtime.component.media.empty": "No media",
|
|
50417
|
+
"runtime.component.media.exitFullscreen": "Exit full screen",
|
|
50418
|
+
"runtime.component.media.fullscreen": "Fullscreen",
|
|
50419
|
+
"runtime.component.media.live": "LIVE",
|
|
50420
|
+
"runtime.component.media.loading": "Loading",
|
|
50421
|
+
"runtime.component.media.mute": "Mute",
|
|
50422
|
+
"runtime.component.media.next": "Next",
|
|
50423
|
+
"runtime.component.media.off": "Off",
|
|
50424
|
+
"runtime.component.media.pause": "Pause",
|
|
50425
|
+
"runtime.component.media.pictureInPicture": "Picture in Picture",
|
|
50426
|
+
"runtime.component.media.play": "Play",
|
|
50427
|
+
"runtime.component.media.playbackSpeed": "Playback speed",
|
|
50428
|
+
"runtime.component.media.position": "Media position",
|
|
50429
|
+
"runtime.component.media.previous": "Previous",
|
|
50430
|
+
"runtime.component.media.providerUnavailable": "Provider playback unavailable",
|
|
50431
|
+
"runtime.component.media.replay": "Replay",
|
|
50432
|
+
"runtime.component.media.showControls": "Show player controls",
|
|
50433
|
+
"runtime.component.media.skipBack": "Skip back {seconds} seconds",
|
|
50434
|
+
"runtime.component.media.skipForward": "Skip forward {seconds} seconds",
|
|
50435
|
+
"runtime.component.media.subtitles": "Subtitles",
|
|
50436
|
+
"runtime.component.media.subtitlesAndAudio": "Subtitles and audio",
|
|
50437
|
+
"runtime.component.media.tapToPlay": "Tap to play",
|
|
50438
|
+
"runtime.component.media.unmute": "Unmute",
|
|
50439
|
+
"runtime.component.media.untitled": "Untitled",
|
|
50440
|
+
"runtime.component.media.youtube": "YouTube video",
|
|
50441
|
+
"runtime.component.menu.item": "Item",
|
|
50442
|
+
"runtime.component.menu.moreActions": "More actions",
|
|
50443
|
+
"runtime.component.message.notSent": "Not sent",
|
|
50444
|
+
"runtime.component.message.sending": "Sending\u2026",
|
|
50445
|
+
"runtime.component.otp.label": "One-time code",
|
|
50446
|
+
"runtime.component.pager.carousel": "Carousel",
|
|
50447
|
+
"runtime.component.pager.page": "Page {page} of {count}",
|
|
50448
|
+
"runtime.component.pager.pages": "Pages",
|
|
50449
|
+
"runtime.component.pdf.controls": "Document controls",
|
|
50450
|
+
"runtime.component.pdf.download": "Download PDF",
|
|
50451
|
+
"runtime.component.pdf.downloadShort": "Download",
|
|
50452
|
+
"runtime.component.pdf.loading": "loading document",
|
|
50453
|
+
"runtime.component.pdf.nextPage": "Next page",
|
|
50454
|
+
"runtime.component.pdf.open": "Open",
|
|
50455
|
+
"runtime.component.pdf.openInTab": "Open PDF in a new tab",
|
|
50456
|
+
"runtime.component.pdf.page": "Page {page} of {count}",
|
|
50457
|
+
"runtime.component.pdf.pageCount": "{count, plural, one {# page} other {# pages}}",
|
|
50458
|
+
"runtime.component.pdf.pageOnly": "Page {page}",
|
|
50459
|
+
"runtime.component.pdf.previousPage": "Previous page",
|
|
50460
|
+
"runtime.component.pdf.zoomIn": "Zoom in",
|
|
50461
|
+
"runtime.component.pdf.zoomOut": "Zoom out",
|
|
50462
|
+
"runtime.component.picker.placeholder": "Select",
|
|
50463
|
+
"runtime.component.rating.label": "Rating, {summary}",
|
|
50464
|
+
"runtime.component.rating.rate": "{count, plural, one {Rate # star} other {Rate # stars}}",
|
|
50465
|
+
"runtime.component.rating.summary": "{value} of {max}",
|
|
50466
|
+
"runtime.component.region.failed": "Couldn't load this section",
|
|
50467
|
+
"runtime.component.richEditor.apply": "Apply",
|
|
50468
|
+
"runtime.component.richEditor.cancel": "Cancel",
|
|
50469
|
+
"runtime.component.richEditor.formatting": "Formatting",
|
|
50470
|
+
"runtime.component.richEditor.insertLink": "Insert link",
|
|
50471
|
+
"runtime.component.richEditor.label": "Rich text editor",
|
|
50472
|
+
"runtime.component.richEditor.linkAddress": "Link address",
|
|
50473
|
+
"runtime.component.richEditor.linkText": "Link text",
|
|
50474
|
+
"runtime.component.richEditor.linkTextPlaceholder": "Text (optional)",
|
|
50475
|
+
"runtime.component.richEditor.loading": "Loading editor",
|
|
50476
|
+
"runtime.component.richEditor.loadingVisible": "Loading editor\u2026",
|
|
50477
|
+
"runtime.component.richEditor.unavailable": "Editor unavailable",
|
|
50478
|
+
"runtime.component.search.field": "Search\u2026",
|
|
50479
|
+
"runtime.component.search.placeholder": "Search",
|
|
50480
|
+
"runtime.component.segmented.option": "Option {index}",
|
|
50481
|
+
"runtime.component.slider.maximum": "Maximum",
|
|
50482
|
+
"runtime.component.slider.minimum": "Minimum",
|
|
50483
|
+
"runtime.component.stepper.decrease": "Decrease",
|
|
50484
|
+
"runtime.component.stepper.increase": "Increase",
|
|
50485
|
+
"runtime.component.tag.label": "Tag",
|
|
50486
|
+
"runtime.component.voiceNote.label": "Voice message, {duration}",
|
|
50487
|
+
"runtime.component.voiceNote.loading": "Loading voice message",
|
|
50488
|
+
"runtime.component.voiceNote.minutes": "{minutes, plural, one {# minute} other {# minutes}}",
|
|
50489
|
+
"runtime.component.voiceNote.minutesSeconds": "{minutes, plural, one {# minute} other {# minutes}} {seconds, plural, one {# second} other {# seconds}}",
|
|
50490
|
+
"runtime.component.voiceNote.pause": "Pause voice message",
|
|
50491
|
+
"runtime.component.voiceNote.play": "Play voice message",
|
|
50492
|
+
"runtime.component.voiceNote.playbackSpeed": "Playback speed {rate}. Tap to change.",
|
|
50493
|
+
"runtime.component.voiceNote.retry": "Retry sending voice message",
|
|
50494
|
+
"runtime.component.voiceNote.seconds": "{seconds, plural, one {# second} other {# seconds}}",
|
|
50495
|
+
"runtime.component.voiceNote.sending": "Sending voice message",
|
|
50496
|
+
"runtime.component.webview.loading": "Loading",
|
|
50497
|
+
"runtime.component.webview.openInTab": "Open in a new tab",
|
|
50498
|
+
"runtime.component.wheel.label": "Wheel selection",
|
|
50499
|
+
"runtime.dialog.cancel": "Cancel",
|
|
50500
|
+
"runtime.dialog.confirm": "Confirm",
|
|
50501
|
+
"runtime.dialog.delete": "Delete",
|
|
50502
|
+
"runtime.dialog.discard.body": "Your changes will be lost.",
|
|
50503
|
+
"runtime.dialog.discard.confirm": "Discard",
|
|
50504
|
+
"runtime.dialog.discard.keep": "Keep editing",
|
|
50505
|
+
"runtime.dialog.discard.title": "Discard changes?",
|
|
50506
|
+
"runtime.dialog.ok": "OK",
|
|
50507
|
+
"runtime.lightbox.close": "Close",
|
|
50508
|
+
"runtime.lightbox.export.failed": "Couldn't save this image",
|
|
50509
|
+
"runtime.lightbox.export.permission": "Allow photo access in Settings to save images",
|
|
50510
|
+
"runtime.lightbox.export.saved": "Saved to your photos",
|
|
50511
|
+
"runtime.lightbox.more": "More",
|
|
50512
|
+
"runtime.lightbox.next": "Next image",
|
|
50513
|
+
"runtime.lightbox.position": "Image {index} of {count}",
|
|
50514
|
+
"runtime.lightbox.previous": "Previous image",
|
|
50515
|
+
"runtime.lightbox.save": "Save",
|
|
50516
|
+
"runtime.lightbox.share": "Share",
|
|
50517
|
+
"runtime.lightbox.viewer": "Image viewer",
|
|
50518
|
+
"runtime.nav.actionUnavailable": "Action unavailable. Please try again.",
|
|
50519
|
+
"runtime.nav.back": "Back",
|
|
50520
|
+
"runtime.nav.cancel": "Cancel",
|
|
50521
|
+
"runtime.nav.cancelSearch": "Cancel search",
|
|
50522
|
+
"runtime.nav.clearSearch": "Clear search",
|
|
50523
|
+
"runtime.nav.close": "Close",
|
|
50524
|
+
"runtime.nav.disabledSuffix": "{name}, disabled",
|
|
50525
|
+
"runtime.nav.dismiss": "Dismiss",
|
|
50526
|
+
"runtime.nav.dismissMenu": "Dismiss menu",
|
|
50527
|
+
"runtime.nav.dismissSheet": "Dismiss sheet",
|
|
50528
|
+
"runtime.nav.done": "Done",
|
|
50529
|
+
"runtime.nav.drawer": "Navigation",
|
|
50530
|
+
"runtime.nav.edit": "Edit",
|
|
50531
|
+
"runtime.nav.hostedAppFailed": "Couldn't open {title}.",
|
|
50532
|
+
"runtime.nav.jumpToLatest": "Jump to latest",
|
|
50533
|
+
"runtime.nav.menu": "Menu",
|
|
50534
|
+
"runtime.nav.more": "More",
|
|
50535
|
+
"runtime.nav.moreActions": "More Actions",
|
|
50536
|
+
"runtime.nav.moreOptions": "More options",
|
|
50537
|
+
"runtime.nav.noScreen": "No screen.",
|
|
50538
|
+
"runtime.nav.resizeSheet": "Resize sheet",
|
|
50539
|
+
"runtime.nav.screenBlocked": "This screen's address can't be opened here.",
|
|
50540
|
+
"runtime.nav.screenFailed": "This screen couldn't render.",
|
|
50541
|
+
"runtime.nav.search": "Search",
|
|
50542
|
+
"runtime.nav.searchClear": "Clear",
|
|
50543
|
+
"runtime.nav.searchError": "Results weren't loaded due to a technical issue. Wait and try again.",
|
|
50544
|
+
"runtime.nav.searchNoResults": "No results",
|
|
50545
|
+
"runtime.nav.searchRecents": "Recent searches",
|
|
50546
|
+
"runtime.nav.searchTryAgain": "Try Again",
|
|
50547
|
+
"runtime.nav.selectionCount": "{count} selected",
|
|
50548
|
+
"runtime.nav.showActions": "Show actions",
|
|
50549
|
+
"runtime.nav.stillSaving": "Still saving\u2026",
|
|
50550
|
+
"runtime.nav.thisApp": "this app",
|
|
50551
|
+
"runtime.nav.toggleSidebar": "Toggle sidebar",
|
|
50552
|
+
"runtime.nav.voiceSearch": "Voice search",
|
|
50553
|
+
"runtime.offline.banner": "You're offline",
|
|
50554
|
+
"runtime.offline.loadFailed": "This content couldn't load. Try again.",
|
|
50555
|
+
"runtime.offline.pending": "{count, plural, one {# change waiting to sync} other {# changes waiting to sync}}",
|
|
50556
|
+
"runtime.offline.readStatus": "Showing saved content",
|
|
50557
|
+
"runtime.offline.readUnavailable": "This content isn't available offline. Connect to load it.",
|
|
50558
|
+
"runtime.offline.reading.failed": "This content could not load. Try again.",
|
|
50559
|
+
"runtime.offline.reading.snapshot": "You\u2019re offline. Showing previously loaded content.",
|
|
50560
|
+
"runtime.offline.reading.stale": "Couldn\u2019t refresh. Content may be outdated.",
|
|
50561
|
+
"runtime.offline.reading.unavailable": "You\u2019re offline. This content isn\u2019t available offline. Connect to load it.",
|
|
50562
|
+
"runtime.offline.refreshFailed": "Couldn't refresh. Content may be outdated.",
|
|
50563
|
+
"runtime.offline.syncing": "{count, plural, one {Syncing # change\u2026} other {Syncing # changes\u2026}}",
|
|
50564
|
+
"runtime.state.loading": "Loading\u2026",
|
|
50565
|
+
"runtime.state.offline.body": "Check your connection and try again.",
|
|
50566
|
+
"runtime.state.offline.cta": "Try again",
|
|
50567
|
+
"runtime.state.offline.title": "You're offline",
|
|
50568
|
+
"runtime.state.permission.body": "Ask the owner for permission to view this content.",
|
|
50569
|
+
"runtime.state.permission.cta": "Go back",
|
|
50570
|
+
"runtime.state.permission.title": "You don't have access",
|
|
50571
|
+
"runtime.state.retry": "Try again",
|
|
50572
|
+
"runtime.state.server.body": "Something went wrong on our end. Please try again.",
|
|
50573
|
+
"runtime.state.server.cta": "Try again",
|
|
50574
|
+
"runtime.state.server.title": "Unable to load this content",
|
|
50575
|
+
"runtime.state.signIn.body": "You need to sign in to view this content.",
|
|
50576
|
+
"runtime.state.signIn.cta": "Sign in",
|
|
50577
|
+
"runtime.state.signIn.title": "Sign in to continue",
|
|
50578
|
+
"runtime.state.takeAction": "Take action",
|
|
50579
|
+
"runtime.webview.externalLink.body": "This link opens outside the app.",
|
|
50580
|
+
"runtime.webview.externalLink.bodyHost": "This link opens {host} outside the app.",
|
|
50581
|
+
"runtime.webview.externalLink.open": "Open",
|
|
50582
|
+
"runtime.webview.externalLink.title": "Open link?",
|
|
50583
|
+
"runtime.webview.offline.body": "Check your connection and try again.",
|
|
50584
|
+
"runtime.webview.offline.title": "You're offline",
|
|
50585
|
+
"runtime.webview.pageError": "This page couldn't be loaded",
|
|
50586
|
+
"runtime.worker.actionFailed": "That didn't work. Please try again.",
|
|
50587
|
+
"runtime.worker.failed": "Something went wrong while loading this screen."
|
|
50588
|
+
};
|
|
50589
|
+
RUNTIME_RENDERER_COPY = {
|
|
50590
|
+
"runtime.component.agenda.allDay": "All day",
|
|
50591
|
+
"runtime.component.agenda.today": "Today",
|
|
50592
|
+
"runtime.component.agenda.tomorrow": "Tomorrow",
|
|
50593
|
+
"runtime.component.alertDialog.label": "Alert",
|
|
50594
|
+
"runtime.component.badge.label": "Badge",
|
|
50595
|
+
"runtime.component.button.label": "Button",
|
|
50596
|
+
"runtime.component.calendar.changeTime": "Change time\u2026",
|
|
50597
|
+
"runtime.component.calendar.move": "Move\u2026",
|
|
50598
|
+
"runtime.component.calendar.next": "Next",
|
|
50599
|
+
"runtime.component.calendar.nextMonth": "Next month",
|
|
50600
|
+
"runtime.component.calendar.nextWeek": "Next week",
|
|
50601
|
+
"runtime.component.calendar.noEvents": "No events",
|
|
50602
|
+
"runtime.component.calendar.previous": "Previous",
|
|
50603
|
+
"runtime.component.calendar.previousMonth": "Previous month",
|
|
50604
|
+
"runtime.component.calendar.previousWeek": "Previous week",
|
|
50605
|
+
"runtime.component.calendar.showMonth": "Show month",
|
|
50606
|
+
"runtime.component.calendar.showWeek": "Show week",
|
|
50607
|
+
"runtime.component.chips.add": "Add a chip",
|
|
50608
|
+
"runtime.component.chips.chip": "chip",
|
|
50609
|
+
"runtime.component.chips.placeholder": "Add\u2026",
|
|
50610
|
+
"runtime.component.chips.remove": "Remove {name}",
|
|
50611
|
+
"runtime.component.colorPicker.choose": "Choose {color}",
|
|
50612
|
+
"runtime.component.datePicker.date": "Select date",
|
|
50613
|
+
"runtime.component.datePicker.dateTime": "Select date and time",
|
|
50614
|
+
"runtime.component.datePicker.time": "Select time",
|
|
50615
|
+
"runtime.component.fab.action": "Action",
|
|
50616
|
+
"runtime.component.form.loading": "Loading form\u2026",
|
|
50617
|
+
"runtime.component.form.refreshing": "Refreshing form\u2026",
|
|
50618
|
+
"runtime.component.form.unavailable": "Form unavailable. Please try again.",
|
|
50619
|
+
"runtime.component.list.pullToRefresh": "Pull to refresh",
|
|
50620
|
+
"runtime.component.list.refreshing": "Refreshing",
|
|
50621
|
+
"runtime.component.media.audio": "Audio",
|
|
50622
|
+
"runtime.component.media.cast": "Cast",
|
|
50623
|
+
"runtime.component.media.empty": "No media",
|
|
50624
|
+
"runtime.component.media.exitFullscreen": "Exit full screen",
|
|
50625
|
+
"runtime.component.media.fullscreen": "Fullscreen",
|
|
50626
|
+
"runtime.component.media.live": "LIVE",
|
|
50627
|
+
"runtime.component.media.loading": "Loading",
|
|
50628
|
+
"runtime.component.media.mute": "Mute",
|
|
50629
|
+
"runtime.component.media.next": "Next",
|
|
50630
|
+
"runtime.component.media.off": "Off",
|
|
50631
|
+
"runtime.component.media.pause": "Pause",
|
|
50632
|
+
"runtime.component.media.pictureInPicture": "Picture in Picture",
|
|
50633
|
+
"runtime.component.media.play": "Play",
|
|
50634
|
+
"runtime.component.media.playbackSpeed": "Playback speed",
|
|
50635
|
+
"runtime.component.media.position": "Media position",
|
|
50636
|
+
"runtime.component.media.previous": "Previous",
|
|
50637
|
+
"runtime.component.media.providerUnavailable": "Provider playback unavailable",
|
|
50638
|
+
"runtime.component.media.replay": "Replay",
|
|
50639
|
+
"runtime.component.media.showControls": "Show player controls",
|
|
50640
|
+
"runtime.component.media.skipBack": "Skip back {seconds} seconds",
|
|
50641
|
+
"runtime.component.media.skipForward": "Skip forward {seconds} seconds",
|
|
50642
|
+
"runtime.component.media.subtitles": "Subtitles",
|
|
50643
|
+
"runtime.component.media.subtitlesAndAudio": "Subtitles and audio",
|
|
50644
|
+
"runtime.component.media.tapToPlay": "Tap to play",
|
|
50645
|
+
"runtime.component.media.unmute": "Unmute",
|
|
50646
|
+
"runtime.component.media.untitled": "Untitled",
|
|
50647
|
+
"runtime.component.media.youtube": "YouTube video",
|
|
50648
|
+
"runtime.component.menu.item": "Item",
|
|
50649
|
+
"runtime.component.menu.moreActions": "More actions",
|
|
50650
|
+
"runtime.component.message.notSent": "Not sent",
|
|
50651
|
+
"runtime.component.message.sending": "Sending\u2026",
|
|
50652
|
+
"runtime.component.otp.label": "One-time code",
|
|
50653
|
+
"runtime.component.pager.carousel": "Carousel",
|
|
50654
|
+
"runtime.component.pager.page": "Page {page} of {count}",
|
|
50655
|
+
"runtime.component.pager.pages": "Pages",
|
|
50656
|
+
"runtime.component.pdf.controls": "Document controls",
|
|
50657
|
+
"runtime.component.pdf.download": "Download PDF",
|
|
50658
|
+
"runtime.component.pdf.downloadShort": "Download",
|
|
50659
|
+
"runtime.component.pdf.loading": "loading document",
|
|
50660
|
+
"runtime.component.pdf.nextPage": "Next page",
|
|
50661
|
+
"runtime.component.pdf.open": "Open",
|
|
50662
|
+
"runtime.component.pdf.openInTab": "Open PDF in a new tab",
|
|
50663
|
+
"runtime.component.pdf.page": "Page {page} of {count}",
|
|
50664
|
+
"runtime.component.pdf.pageCount": "{count, plural, one {# page} other {# pages}}",
|
|
50665
|
+
"runtime.component.pdf.pageOnly": "Page {page}",
|
|
50666
|
+
"runtime.component.pdf.previousPage": "Previous page",
|
|
50667
|
+
"runtime.component.pdf.zoomIn": "Zoom in",
|
|
50668
|
+
"runtime.component.pdf.zoomOut": "Zoom out",
|
|
50669
|
+
"runtime.component.picker.placeholder": "Select",
|
|
50670
|
+
"runtime.component.rating.label": "Rating, {summary}",
|
|
50671
|
+
"runtime.component.rating.rate": "{count, plural, one {Rate # star} other {Rate # stars}}",
|
|
50672
|
+
"runtime.component.rating.summary": "{value} of {max}",
|
|
50673
|
+
"runtime.component.richEditor.apply": "Apply",
|
|
50674
|
+
"runtime.component.richEditor.cancel": "Cancel",
|
|
50675
|
+
"runtime.component.richEditor.formatting": "Formatting",
|
|
50676
|
+
"runtime.component.richEditor.insertLink": "Insert link",
|
|
50677
|
+
"runtime.component.richEditor.label": "Rich text editor",
|
|
50678
|
+
"runtime.component.richEditor.linkAddress": "Link address",
|
|
50679
|
+
"runtime.component.richEditor.linkText": "Link text",
|
|
50680
|
+
"runtime.component.richEditor.linkTextPlaceholder": "Text (optional)",
|
|
50681
|
+
"runtime.component.richEditor.loading": "Loading editor",
|
|
50682
|
+
"runtime.component.richEditor.loadingVisible": "Loading editor\u2026",
|
|
50683
|
+
"runtime.component.richEditor.unavailable": "Editor unavailable",
|
|
50684
|
+
"runtime.component.search.field": "Search\u2026",
|
|
50685
|
+
"runtime.component.search.placeholder": "Search",
|
|
50686
|
+
"runtime.component.segmented.option": "Option {index}",
|
|
50687
|
+
"runtime.component.slider.maximum": "Maximum",
|
|
50688
|
+
"runtime.component.slider.minimum": "Minimum",
|
|
50689
|
+
"runtime.component.stepper.decrease": "Decrease",
|
|
50690
|
+
"runtime.component.stepper.increase": "Increase",
|
|
50691
|
+
"runtime.component.tag.label": "Tag",
|
|
50692
|
+
"runtime.component.voiceNote.label": "Voice message, {duration}",
|
|
50693
|
+
"runtime.component.voiceNote.loading": "Loading voice message",
|
|
50694
|
+
"runtime.component.voiceNote.minutes": "{minutes, plural, one {# minute} other {# minutes}}",
|
|
50695
|
+
"runtime.component.voiceNote.minutesSeconds": "{minutes, plural, one {# minute} other {# minutes}} {seconds, plural, one {# second} other {# seconds}}",
|
|
50696
|
+
"runtime.component.voiceNote.pause": "Pause voice message",
|
|
50697
|
+
"runtime.component.voiceNote.play": "Play voice message",
|
|
50698
|
+
"runtime.component.voiceNote.playbackSpeed": "Playback speed {rate}. Tap to change.",
|
|
50699
|
+
"runtime.component.voiceNote.retry": "Retry sending voice message",
|
|
50700
|
+
"runtime.component.voiceNote.seconds": "{seconds, plural, one {# second} other {# seconds}}",
|
|
50701
|
+
"runtime.component.voiceNote.sending": "Sending voice message",
|
|
50702
|
+
"runtime.component.webview.loading": "Loading",
|
|
50703
|
+
"runtime.component.webview.openInTab": "Open in a new tab",
|
|
50704
|
+
"runtime.component.wheel.label": "Wheel selection",
|
|
50705
|
+
"runtime.dialog.cancel": "Cancel",
|
|
50706
|
+
"runtime.dialog.confirm": "Confirm",
|
|
50707
|
+
"runtime.dialog.delete": "Delete",
|
|
50708
|
+
"runtime.nav.dismiss": "Dismiss",
|
|
50709
|
+
"runtime.nav.dismissMenu": "Dismiss menu",
|
|
50710
|
+
"runtime.nav.dismissSheet": "Dismiss sheet",
|
|
50711
|
+
"runtime.nav.resizeSheet": "Resize sheet",
|
|
50712
|
+
"runtime.state.offline.body": "Check your connection and try again.",
|
|
50713
|
+
"runtime.state.offline.cta": "Try again",
|
|
50714
|
+
"runtime.state.offline.title": "You're offline",
|
|
50715
|
+
"runtime.state.permission.body": "Ask the owner for permission to view this content.",
|
|
50716
|
+
"runtime.state.permission.cta": "Go back",
|
|
50717
|
+
"runtime.state.permission.title": "You don't have access",
|
|
50718
|
+
"runtime.state.retry": "Try again",
|
|
50719
|
+
"runtime.state.server.body": "Something went wrong on our end. Please try again.",
|
|
50720
|
+
"runtime.state.server.cta": "Try again",
|
|
50721
|
+
"runtime.state.server.title": "Unable to load this content",
|
|
50722
|
+
"runtime.state.signIn.body": "You need to sign in to view this content.",
|
|
50723
|
+
"runtime.state.signIn.cta": "Sign in",
|
|
50724
|
+
"runtime.state.signIn.title": "Sign in to continue",
|
|
50725
|
+
"runtime.state.takeAction": "Take action",
|
|
50726
|
+
"runtime.webview.pageError": "This page couldn't be loaded"
|
|
50727
|
+
};
|
|
50728
|
+
}
|
|
50729
|
+
});
|
|
50730
|
+
|
|
50731
|
+
// ../../core/web-renderer/src/runtimeCopy.ts
|
|
50732
|
+
function runtimeText(key4, args = {}, catalog4, locale = "en") {
|
|
50733
|
+
const template = catalog4?.get(key4) || RUNTIME_COPY_DEFAULTS[key4] || key4;
|
|
50734
|
+
return formatMessage(template, args, locale);
|
|
50735
|
+
}
|
|
50736
|
+
function runtimeEnglish(key4) {
|
|
50737
|
+
return RUNTIME_COPY_DEFAULTS[key4] ?? key4;
|
|
50738
|
+
}
|
|
50739
|
+
function rcopy(ctx, key4, args = {}) {
|
|
50740
|
+
return formatMessage(ctx.catalog?.get(key4) || RUNTIME_RENDERER_COPY[key4] || key4, args, ctx.localeTag ?? "en");
|
|
50741
|
+
}
|
|
50742
|
+
function rendererEnglish(key4) {
|
|
50743
|
+
return RUNTIME_RENDERER_COPY[key4] ?? key4;
|
|
50744
|
+
}
|
|
50745
|
+
function dateLocale(ctx) {
|
|
50746
|
+
const app2 = ctx.localeTag;
|
|
50747
|
+
const browser = typeof navigator !== "undefined" ? navigator.language : "";
|
|
50748
|
+
return app2 && browser.length > app2.length && browser.split("-")[0].toLowerCase() === app2.split("-")[0].toLowerCase() ? browser : app2;
|
|
50749
|
+
}
|
|
50750
|
+
var RuntimeCopy;
|
|
50751
|
+
var init_runtimeCopy = __esm({
|
|
50752
|
+
"../../core/web-renderer/src/runtimeCopy.ts"() {
|
|
50753
|
+
init_define_HHP_CATALOG();
|
|
50754
|
+
init_message_format();
|
|
50755
|
+
init_runtimeCopy_generated();
|
|
50756
|
+
RuntimeCopy = { text: runtimeText, english: runtimeEnglish };
|
|
50757
|
+
}
|
|
50758
|
+
});
|
|
50759
|
+
|
|
50357
50760
|
// ../../core/web-renderer/src/icons.tsx
|
|
50358
50761
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
50359
50762
|
function normalize3(name) {
|
|
@@ -50659,7 +51062,7 @@ function MenuPanel(props2) {
|
|
|
50659
51062
|
style: { display: "flex", alignItems: "center", gap: 10, padding: "9px 10px", borderRadius: 8, cursor: it2?.disabled ? "default" : "pointer", opacity: it2?.disabled ? 0.4 : 1, color: it2?.destructive ? C2("danger", "#E62214") : C2("textPrimary", "#13171e"), fontFamily: style.fontFamily, fontSize: style.fontSize },
|
|
50660
51063
|
children: [
|
|
50661
51064
|
it2?.leading ? /* @__PURE__ */ jsx7("span", { "aria-hidden": "true", style: { display: "inline-grid", placeItems: "center", width: 20, height: 20 }, children: it2.leading }) : it2?.icon && /* @__PURE__ */ jsx7("span", { style: { display: "inline-grid", placeItems: "center", width: 20, height: 20 }, children: iconSvg(it2.icon, { size: 18, color: it2?.destructive ? C2("danger", "#E62214") : C2("textSecondary", "#636b78") }) }),
|
|
50662
|
-
/* @__PURE__ */ jsx7("span", { dir: "auto", children: style.text(it2?.label) || "
|
|
51065
|
+
/* @__PURE__ */ jsx7("span", { dir: "auto", children: style.text(it2?.label) || style.itemLabel || rendererEnglish("runtime.component.menu.item") }),
|
|
50663
51066
|
it2?.selected === true && /* @__PURE__ */ jsx7("span", { "aria-hidden": "true", "data-testid": it2?.testId ? `${it2.testId}-check` : void 0, style: { marginInlineStart: "auto", display: "inline-grid", placeItems: "center" }, children: iconSvg("checkmark", { size: 16 }) }),
|
|
50664
51067
|
it2?.loading && /* @__PURE__ */ jsx7("span", { "aria-hidden": "true", "data-himi-menu-spinner": "", "data-testid": it2?.testId ? `${it2.testId}-loading` : void 0, style: { marginInlineStart: "auto", width: 14, height: 14, boxSizing: "border-box", borderRadius: "50%", border: "2px solid currentColor", borderInlineEndColor: "transparent", animation: "himi-menu-spin 0.8s linear infinite" }, children: /* @__PURE__ */ jsx7("style", { children: "@keyframes himi-menu-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){[data-himi-menu-spinner]{animation:none!important}}" }) })
|
|
50665
51068
|
]
|
|
@@ -50674,6 +51077,7 @@ var init_menuPopover = __esm({
|
|
|
50674
51077
|
"../../core/web-renderer/src/menuPopover.tsx"() {
|
|
50675
51078
|
"use strict";
|
|
50676
51079
|
init_define_HHP_CATALOG();
|
|
51080
|
+
init_runtimeCopy();
|
|
50677
51081
|
init_icons();
|
|
50678
51082
|
init_modalStack();
|
|
50679
51083
|
useIsomorphicLayoutEffect2 = typeof globalThis.document === "undefined" ? React12.useEffect : React12.useLayoutEffect;
|
|
@@ -51459,6 +51863,7 @@ function MenuHeading({ label: label4 }) {
|
|
|
51459
51863
|
}
|
|
51460
51864
|
function MediaControls(props2) {
|
|
51461
51865
|
const { mediaRef, mediaKey: mediaKey2, layout: layout2, status: status2, live: live4, actions, foreground, accent } = props2;
|
|
51866
|
+
const t2 = (key4, args) => rcopy(props2.copy ?? {}, `runtime.component.media.${key4}`, args);
|
|
51462
51867
|
const playing = status2 === "playing";
|
|
51463
51868
|
const ended = status2 === "ended";
|
|
51464
51869
|
const [visible, setVisible] = React14.useState(true);
|
|
@@ -51557,12 +51962,12 @@ function MediaControls(props2) {
|
|
|
51557
51962
|
cast: props2.showsCast
|
|
51558
51963
|
}));
|
|
51559
51964
|
const transport = (large) => /* @__PURE__ */ jsxs6("div", { style: { display: "flex", alignItems: "center", gap: large ? 28 : 6 }, children: [
|
|
51560
|
-
shown3.has("media.previous") && /* @__PURE__ */ jsx9(IconButton, { label: "
|
|
51561
|
-
shown3.has("media.skipBack") && /* @__PURE__ */ jsx9(IconButton, { label:
|
|
51965
|
+
shown3.has("media.previous") && /* @__PURE__ */ jsx9(IconButton, { label: t2("previous"), icon: "previous", size: large ? 26 : 20, id: "media.previous", onClick: use(() => actions.select(-1)) }),
|
|
51966
|
+
shown3.has("media.skipBack") && /* @__PURE__ */ jsx9(IconButton, { label: t2("skipBack", { seconds: props2.backSeconds }), icon: "back", size: large ? 30 : 22, id: "media.skipBack", onClick: use(() => skip(-props2.backSeconds)), children: /* @__PURE__ */ jsx9("span", { "aria-hidden": "true", style: { position: "absolute", fontSize: large ? 9 : 7, fontWeight: 700, marginTop: large ? 3 : 2 }, children: props2.backSeconds }) }),
|
|
51562
51967
|
/* @__PURE__ */ jsx9(
|
|
51563
51968
|
IconButton,
|
|
51564
51969
|
{
|
|
51565
|
-
label: playing ? "
|
|
51970
|
+
label: t2(playing ? "pause" : ended ? "replay" : "play"),
|
|
51566
51971
|
icon: playing ? "pause" : ended ? "replay" : "play",
|
|
51567
51972
|
size: large ? 44 : 28,
|
|
51568
51973
|
id: "media.play",
|
|
@@ -51575,16 +51980,16 @@ function MediaControls(props2) {
|
|
|
51575
51980
|
})
|
|
51576
51981
|
}
|
|
51577
51982
|
),
|
|
51578
|
-
shown3.has("media.skipForward") && /* @__PURE__ */ jsx9(IconButton, { label:
|
|
51579
|
-
shown3.has("media.next") && /* @__PURE__ */ jsx9(IconButton, { label: "
|
|
51983
|
+
shown3.has("media.skipForward") && /* @__PURE__ */ jsx9(IconButton, { label: t2("skipForward", { seconds: props2.forwardSeconds }), icon: "forward", size: large ? 30 : 22, id: "media.skipForward", onClick: use(() => skip(props2.forwardSeconds)), children: /* @__PURE__ */ jsx9("span", { "aria-hidden": "true", style: { position: "absolute", fontSize: large ? 9 : 7, fontWeight: 700, marginTop: large ? 3 : 2 }, children: props2.forwardSeconds }) }),
|
|
51984
|
+
shown3.has("media.next") && /* @__PURE__ */ jsx9(IconButton, { label: t2("next"), icon: "next", size: large ? 26 : 20, id: "media.next", onClick: use(() => actions.select(1)) })
|
|
51580
51985
|
] });
|
|
51581
|
-
const timeline = shown3.has("media.live") ? /* @__PURE__ */ jsx9("div", { style: { display: "flex", width: "100%", padding: "4px 0" }, children: /* @__PURE__ */ jsx9("span", { "data-media-control": "media.live", style: { background: "#E53935", color: "#fff", borderRadius: 4, padding: "2px 6px", fontSize: 11, fontWeight: 700 }, children: "
|
|
51986
|
+
const timeline = shown3.has("media.live") ? /* @__PURE__ */ jsx9("div", { style: { display: "flex", width: "100%", padding: "4px 0" }, children: /* @__PURE__ */ jsx9("span", { "data-media-control": "media.live", style: { background: "#E53935", color: "#fff", borderRadius: 4, padding: "2px 6px", fontSize: 11, fontWeight: 700 }, children: t2("live") }) }) : /* @__PURE__ */ jsxs6("div", { style: { display: "flex", alignItems: "center", gap: 8, width: "100%", minWidth: 0 }, children: [
|
|
51582
51987
|
/* @__PURE__ */ jsx9("span", { ref: elapsed, "data-media-time": "elapsed", style: { fontSize: 12, fontVariantNumeric: "tabular-nums", whiteSpace: "nowrap" }, children: "0:00" }),
|
|
51583
51988
|
/* @__PURE__ */ jsx9(
|
|
51584
51989
|
"input",
|
|
51585
51990
|
{
|
|
51586
51991
|
ref: bar,
|
|
51587
|
-
"aria-label": "
|
|
51992
|
+
"aria-label": t2("position"),
|
|
51588
51993
|
type: "range",
|
|
51589
51994
|
min: 0,
|
|
51590
51995
|
max: 1,
|
|
@@ -51619,15 +52024,15 @@ function MediaControls(props2) {
|
|
|
51619
52024
|
/* @__PURE__ */ jsx9("span", { ref: remaining, "data-media-time": "remaining", style: { fontSize: 12, fontVariantNumeric: "tabular-nums", whiteSpace: "nowrap" }, children: "-0:00" })
|
|
51620
52025
|
] });
|
|
51621
52026
|
const buttons = /* @__PURE__ */ jsxs6("div", { style: { display: "flex", alignItems: "center", justifyContent: "flex-end" }, children: [
|
|
51622
|
-
/* @__PURE__ */ jsx9(IconButton, { label: props2.muted ? "
|
|
51623
|
-
shown3.has("media.speed") && /* @__PURE__ */ jsx9(Menu, { label: "
|
|
52027
|
+
/* @__PURE__ */ jsx9(IconButton, { label: t2(props2.muted ? "unmute" : "mute"), icon: props2.muted ? "muted" : "volume", size: 22, id: "media.mute", onClick: use(() => actions.setMuted(!props2.muted)) }),
|
|
52028
|
+
shown3.has("media.speed") && /* @__PURE__ */ jsx9(Menu, { label: t2("playbackSpeed"), id: "media.speed", text: mediaRateLabel(props2.rate), opened: menuOpened, children: (close) => props2.rates.map((value2) => /* @__PURE__ */ jsx9(MenuItem, { label: mediaRateLabel(value2), selected: value2 === props2.rate, onClick: () => {
|
|
51624
52029
|
close();
|
|
51625
52030
|
actions.setRate(value2);
|
|
51626
52031
|
} }, value2)) }),
|
|
51627
|
-
shown3.has("media.selection") && /* @__PURE__ */ jsx9(Menu, { label: "
|
|
52032
|
+
shown3.has("media.selection") && /* @__PURE__ */ jsx9(Menu, { label: t2("subtitlesAndAudio"), id: "media.selection", icon: "captions", opened: menuOpened, children: (close) => /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
51628
52033
|
props2.captions.length > 0 && /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
51629
|
-
props2.audio.length > 0 && /* @__PURE__ */ jsx9(MenuHeading, { label: "
|
|
51630
|
-
/* @__PURE__ */ jsx9(MenuItem, { label: "
|
|
52034
|
+
props2.audio.length > 0 && /* @__PURE__ */ jsx9(MenuHeading, { label: t2("subtitles") }),
|
|
52035
|
+
/* @__PURE__ */ jsx9(MenuItem, { label: t2("off"), selected: props2.captions.every((track2) => !track2.showing), onClick: () => {
|
|
51631
52036
|
close();
|
|
51632
52037
|
actions.setCaptions(-1);
|
|
51633
52038
|
} }),
|
|
@@ -51637,16 +52042,16 @@ function MediaControls(props2) {
|
|
|
51637
52042
|
} }, track2.index))
|
|
51638
52043
|
] }),
|
|
51639
52044
|
props2.audio.length > 0 && /* @__PURE__ */ jsxs6(Fragment2, { children: [
|
|
51640
|
-
/* @__PURE__ */ jsx9(MenuHeading, { label: "
|
|
52045
|
+
/* @__PURE__ */ jsx9(MenuHeading, { label: t2("audio") }),
|
|
51641
52046
|
props2.audio.map((track2) => /* @__PURE__ */ jsx9(MenuItem, { label: track2.label, selected: track2.enabled, onClick: () => {
|
|
51642
52047
|
close();
|
|
51643
52048
|
actions.setAudio(track2.index);
|
|
51644
52049
|
} }, `audio-${track2.index}`))
|
|
51645
52050
|
] })
|
|
51646
52051
|
] }) }),
|
|
51647
|
-
shown3.has("media.pip") && /* @__PURE__ */ jsx9(IconButton, { label: "
|
|
51648
|
-
shown3.has("media.cast") && /* @__PURE__ */ jsx9(IconButton, { label: "
|
|
51649
|
-
shown3.has("media.fullscreen") && /* @__PURE__ */ jsx9(IconButton, { label: props2.isFullscreen ? "
|
|
52052
|
+
shown3.has("media.pip") && /* @__PURE__ */ jsx9(IconButton, { label: t2("pictureInPicture"), icon: "pip", size: 22, id: "media.pip", onClick: use(actions.pictureInPicture) }),
|
|
52053
|
+
shown3.has("media.cast") && /* @__PURE__ */ jsx9(IconButton, { label: t2("cast"), icon: "cast", size: 22, id: "media.cast", onClick: use(actions.cast) }),
|
|
52054
|
+
shown3.has("media.fullscreen") && /* @__PURE__ */ jsx9(IconButton, { label: t2(props2.isFullscreen ? "exitFullscreen" : "fullscreen"), icon: props2.isFullscreen ? "fullscreenExit" : "fullscreen", size: 24, id: "media.fullscreen", onClick: use(actions.fullscreen) })
|
|
51650
52055
|
] });
|
|
51651
52056
|
if (layout2 === "bar") {
|
|
51652
52057
|
return /* @__PURE__ */ jsxs6("div", { "data-media-controls": "builtIn", style: { width: "100%", padding: "8px 12px", boxSizing: "border-box", color: foreground, background: "linear-gradient(transparent,rgba(0,0,0,.82))" }, children: [
|
|
@@ -51665,7 +52070,7 @@ function MediaControls(props2) {
|
|
|
51665
52070
|
"data-media-controls-visible": visible ? "true" : "false",
|
|
51666
52071
|
tabIndex: visible ? void 0 : 0,
|
|
51667
52072
|
role: visible ? void 0 : "button",
|
|
51668
|
-
"aria-label": visible ? void 0 : "
|
|
52073
|
+
"aria-label": visible ? void 0 : t2("showControls"),
|
|
51669
52074
|
onKeyDown: (event) => {
|
|
51670
52075
|
if (visible || event.key !== "Enter" && event.key !== " ") return;
|
|
51671
52076
|
event.preventDefault();
|
|
@@ -51730,6 +52135,7 @@ var init_mediaControls = __esm({
|
|
|
51730
52135
|
"../../core/web-renderer/src/mediaControls.tsx"() {
|
|
51731
52136
|
"use strict";
|
|
51732
52137
|
init_define_HHP_CATALOG();
|
|
52138
|
+
init_runtimeCopy();
|
|
51733
52139
|
MEDIA_CONTROLS_HIDE_MS = 3e3;
|
|
51734
52140
|
DEFAULT_PLAYBACK_RATES = [0.5, 0.75, 1, 1.25, 1.5, 2];
|
|
51735
52141
|
ICONS2 = {
|
|
@@ -52564,10 +52970,10 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52564
52970
|
if (!live4) {
|
|
52565
52971
|
const { paddingTop: _t2, paddingBottom: _b, paddingLeft: _l2, paddingRight: _r2, ...rootNoSides } = root;
|
|
52566
52972
|
const own6 = { ...rootNoSides, border: `1px solid ${C2("border", "#e3e3e3")}`, borderRadius: 8, padding: 12, boxSizing: "border-box" };
|
|
52567
|
-
return /* @__PURE__ */ jsx10("div", { ...dom, style: addIntrinsicPadding(own6, wrap) ?? own6, children: /* @__PURE__ */ jsx10("span", { style: { color: C2("textSecondary", "#636B78") }, children: placeholder3 ||
|
|
52973
|
+
return /* @__PURE__ */ jsx10("div", { ...dom, style: addIntrinsicPadding(own6, wrap) ?? own6, children: /* @__PURE__ */ jsx10("span", { style: { color: C2("textSecondary", "#636B78") }, children: placeholder3 || rcopy(ctx, "runtime.component.richEditor.label") }) });
|
|
52568
52974
|
}
|
|
52569
52975
|
if (status2 === "unavailable") {
|
|
52570
|
-
return /* @__PURE__ */ jsx10("div", { ...dom, style: root, children: /* @__PURE__ */ jsx10("div", { "data-component-id": `${id}/fallback`, children: props2.fallback ? renderChild(props2.fallback) : /* @__PURE__ */ jsx10("p", { style: { margin: 0, color: C2("textSecondary", "#636B78") }, children: "
|
|
52976
|
+
return /* @__PURE__ */ jsx10("div", { ...dom, style: root, children: /* @__PURE__ */ jsx10("div", { "data-component-id": `${id}/fallback`, children: props2.fallback ? renderChild(props2.fallback) : /* @__PURE__ */ jsx10("p", { style: { margin: 0, color: C2("textSecondary", "#636B78") }, children: rcopy(ctx, "runtime.component.richEditor.unavailable") }) }) });
|
|
52571
52977
|
}
|
|
52572
52978
|
const ready = status2 === "ready";
|
|
52573
52979
|
return /* @__PURE__ */ jsxs7("div", { ...dom, style: root, children: [
|
|
@@ -52575,7 +52981,7 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52575
52981
|
"div",
|
|
52576
52982
|
{
|
|
52577
52983
|
role: "toolbar",
|
|
52578
|
-
"aria-label": "
|
|
52984
|
+
"aria-label": rcopy(ctx, "runtime.component.richEditor.formatting"),
|
|
52579
52985
|
"data-component-id": `${id}/toolbar`,
|
|
52580
52986
|
style: { display: "flex", flexWrap: "wrap", gap: 4, padding: 4, background: C2("surfacePrimary", "#FFFFFF"), borderBottom: `1px solid ${C2("border", "#E3E3E3")}`, ...dockStyle(focused && ready, typeof window !== "undefined" ? window : void 0) },
|
|
52581
52987
|
children: tools.map((tool2) => {
|
|
@@ -52609,12 +53015,12 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52609
53015
|
})
|
|
52610
53016
|
}
|
|
52611
53017
|
),
|
|
52612
|
-
link4 && /* @__PURE__ */ jsxs7("div", { "data-component-id": `${id}/link_sheet`, role: "dialog", "aria-label":
|
|
53018
|
+
link4 && /* @__PURE__ */ jsxs7("div", { "data-component-id": `${id}/link_sheet`, role: "dialog", "aria-label": rcopy(ctx, "runtime.component.richEditor.insertLink"), style: { display: "flex", flexDirection: "column", gap: 8, padding: 12, borderBottom: `1px solid ${C2("border", "#E3E3E3")}` }, children: [
|
|
52613
53019
|
/* @__PURE__ */ jsx10(
|
|
52614
53020
|
"input",
|
|
52615
53021
|
{
|
|
52616
53022
|
"data-component-id": `${id}/link_url`,
|
|
52617
|
-
"aria-label":
|
|
53023
|
+
"aria-label": rcopy(ctx, "runtime.component.richEditor.linkAddress"),
|
|
52618
53024
|
inputMode: "url",
|
|
52619
53025
|
placeholder: "https://",
|
|
52620
53026
|
value: link4.url,
|
|
@@ -52625,16 +53031,16 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52625
53031
|
"input",
|
|
52626
53032
|
{
|
|
52627
53033
|
"data-component-id": `${id}/link_text`,
|
|
52628
|
-
"aria-label":
|
|
52629
|
-
placeholder: "
|
|
53034
|
+
"aria-label": rcopy(ctx, "runtime.component.richEditor.linkText"),
|
|
53035
|
+
placeholder: rcopy(ctx, "runtime.component.richEditor.linkTextPlaceholder"),
|
|
52630
53036
|
value: link4.text,
|
|
52631
53037
|
onChange: (e2) => setLink({ ...link4, text: e2.currentTarget.value })
|
|
52632
53038
|
}
|
|
52633
53039
|
),
|
|
52634
53040
|
link4.error && /* @__PURE__ */ jsx10("div", { role: "alert", style: { color: C2("danger", "#E62214"), fontSize: pxToRem(13) }, children: link4.error }),
|
|
52635
53041
|
/* @__PURE__ */ jsxs7("div", { style: { display: "flex", gap: 8 }, children: [
|
|
52636
|
-
/* @__PURE__ */ jsx10("button", { type: "button", "data-component-id": `${id}/link_apply`, onClick: applyLink, children: "
|
|
52637
|
-
/* @__PURE__ */ jsx10("button", { type: "button", "data-component-id": `${id}/link_cancel`, onClick: () => setLink(null), children: "
|
|
53042
|
+
/* @__PURE__ */ jsx10("button", { type: "button", "data-component-id": `${id}/link_apply`, onClick: applyLink, children: rcopy(ctx, "runtime.component.richEditor.apply") }),
|
|
53043
|
+
/* @__PURE__ */ jsx10("button", { type: "button", "data-component-id": `${id}/link_cancel`, onClick: () => setLink(null), children: rcopy(ctx, "runtime.component.richEditor.cancel") })
|
|
52638
53044
|
] })
|
|
52639
53045
|
] }),
|
|
52640
53046
|
src && /* @__PURE__ */ jsx10(
|
|
@@ -52643,7 +53049,7 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52643
53049
|
ref: iframeRef,
|
|
52644
53050
|
src,
|
|
52645
53051
|
sandbox: "allow-scripts",
|
|
52646
|
-
title: placeholder3 ||
|
|
53052
|
+
title: placeholder3 || rcopy(ctx, "runtime.component.richEditor.label"),
|
|
52647
53053
|
"data-component-id": `${id}/webview`,
|
|
52648
53054
|
style: { flex: "1 1 auto", width: "100%", border: 0, minHeight: fill2 ? 0 : minHeight, background: "transparent" }
|
|
52649
53055
|
}
|
|
@@ -52667,10 +53073,10 @@ function RichContentEditorView({ props: props2, ctx, wrap, nodeId, renderChild,
|
|
|
52667
53073
|
{
|
|
52668
53074
|
"data-component-id": `${id}/loading`,
|
|
52669
53075
|
role: "progressbar",
|
|
52670
|
-
"aria-label":
|
|
53076
|
+
"aria-label": rcopy(ctx, "runtime.component.richEditor.loading"),
|
|
52671
53077
|
"aria-busy": "true",
|
|
52672
53078
|
style: { position: "absolute", inset: 0, display: "flex", alignItems: "center", justifyContent: "center", pointerEvents: "none", fontSize: pxToRem(13), color: C2("textSecondary", "#636B78") },
|
|
52673
|
-
children:
|
|
53079
|
+
children: rcopy(ctx, "runtime.component.richEditor.loadingVisible")
|
|
52674
53080
|
}
|
|
52675
53081
|
)
|
|
52676
53082
|
] });
|
|
@@ -52680,6 +53086,7 @@ var init_richContentEditor = __esm({
|
|
|
52680
53086
|
"../../core/web-renderer/src/richContentEditor.tsx"() {
|
|
52681
53087
|
"use strict";
|
|
52682
53088
|
init_define_HHP_CATALOG();
|
|
53089
|
+
init_runtimeCopy();
|
|
52683
53090
|
init_formBag();
|
|
52684
53091
|
init_modifiers();
|
|
52685
53092
|
init_bindings2();
|
|
@@ -53063,6 +53470,7 @@ var init_controls = __esm({
|
|
|
53063
53470
|
init_define_HHP_CATALOG();
|
|
53064
53471
|
init_image_preview_runtime();
|
|
53065
53472
|
init_helpers();
|
|
53473
|
+
init_runtimeCopy();
|
|
53066
53474
|
init_tokens2();
|
|
53067
53475
|
init_idiom_controls();
|
|
53068
53476
|
init_bindings2();
|
|
@@ -53229,7 +53637,7 @@ var init_controls = __esm({
|
|
|
53229
53637
|
...i2 === 0 ? { [A11Y_PART]: "focus" } : {},
|
|
53230
53638
|
role: "slider",
|
|
53231
53639
|
tabIndex: props2.disabled ? -1 : 0,
|
|
53232
|
-
"aria-label": i2 === 0 ? "
|
|
53640
|
+
"aria-label": rcopy(ctx, i2 === 0 ? "runtime.component.slider.minimum" : "runtime.component.slider.maximum"),
|
|
53233
53641
|
"aria-valuenow": p2,
|
|
53234
53642
|
"aria-valuemin": i2 === 0 ? min : lo2,
|
|
53235
53643
|
"aria-valuemax": i2 === 0 ? hi2 : max,
|
|
@@ -53573,7 +53981,7 @@ var init_controls = __esm({
|
|
|
53573
53981
|
style: { all: "unset", flex: 1, minWidth: 44, minHeight: seg2.height - 2 * seg2.trackPadding, textAlign: "center", padding: "7px 4px", borderRadius: outerR, fontFamily: FONT(ctx), fontWeight: 600, fontSize: pxToRem(13), cursor: "pointer", boxSizing: "border-box", background: on4 ? C2("surfacePrimary", "#fff") : seg2.outlined ? C2(pickRole(ctx.tokens.colors, seg2.roles.inactive), "#eee") : "transparent", color: on4 ? C2("textPrimary", "#111") : C2("textSecondary", "#777"), boxShadow: on4 && !seg2.outlined ? "0 1px 3px rgba(0,0,0,.12)" : "none", ...outlinedShape },
|
|
53574
53982
|
children: [
|
|
53575
53983
|
on4 && seg2.selectedCheck ? /* @__PURE__ */ jsx11("span", { "aria-hidden": "true", children: "\u2713 " }) : null,
|
|
53576
|
-
isolateRun(asText2(o2.label ?? o2.title ?? o2.id) ||
|
|
53984
|
+
isolateRun(asText2(o2.label ?? o2.title ?? o2.id) || rcopy(ctx, "runtime.component.segmented.option", { index: i2 + 1 }), ctx)
|
|
53577
53985
|
]
|
|
53578
53986
|
},
|
|
53579
53987
|
o2.id ?? i2
|
|
@@ -53838,9 +54246,10 @@ var init_listGestures = __esm({
|
|
|
53838
54246
|
"use strict";
|
|
53839
54247
|
init_define_HHP_CATALOG();
|
|
53840
54248
|
init_tokens2();
|
|
54249
|
+
init_runtimeCopy();
|
|
53841
54250
|
PULL_THRESHOLD = 56;
|
|
53842
54251
|
SWIPE_OPEN = 76;
|
|
53843
|
-
PullToRefreshList = ({ onRefresh, accent, fg, surface, label: label4 = "
|
|
54252
|
+
PullToRefreshList = ({ onRefresh, accent, fg, surface, label: label4 = rendererEnglish("runtime.component.list.pullToRefresh"), busyLabel = rendererEnglish("runtime.component.list.refreshing"), fontFamily = '"Wix Madefor Text", system-ui', style, children: children2, ...extras }) => {
|
|
53844
54253
|
const [pull, setPull] = useState5(0);
|
|
53845
54254
|
const [busy2, setBusy] = useState5(false);
|
|
53846
54255
|
const startY = useRef2(null);
|
|
@@ -53882,7 +54291,7 @@ var init_listGestures = __esm({
|
|
|
53882
54291
|
type: "button",
|
|
53883
54292
|
"data-testid": "list-pull-refresh",
|
|
53884
54293
|
"data-himalaya-pull-refresh": true,
|
|
53885
|
-
"aria-label": busy2 ?
|
|
54294
|
+
"aria-label": busy2 ? busyLabel : label4,
|
|
53886
54295
|
onClick: fire,
|
|
53887
54296
|
style: {
|
|
53888
54297
|
display: "flex",
|
|
@@ -55650,7 +56059,7 @@ var init_scrollLinkedRuntime = __esm({
|
|
|
55650
56059
|
});
|
|
55651
56060
|
|
|
55652
56061
|
// ../../core/web-renderer/src/pdfPainter.ts
|
|
55653
|
-
async function paintPdfDocument(document2, container, width = container.clientWidth || 600, startPage = 1, zoomPercent = 100, isCurrent = () => true, onPageCount) {
|
|
56062
|
+
async function paintPdfDocument(document2, container, width = container.clientWidth || 600, startPage = 1, zoomPercent = 100, isCurrent = () => true, onPageCount, pageLabel = (page, count3) => `Page ${page} of ${count3}`) {
|
|
55654
56063
|
if (!isCurrent()) return document2.numPages;
|
|
55655
56064
|
onPageCount?.(document2.numPages);
|
|
55656
56065
|
container.replaceChildren();
|
|
@@ -55664,7 +56073,7 @@ async function paintPdfDocument(document2, container, width = container.clientWi
|
|
|
55664
56073
|
const canvas = container.ownerDocument.createElement("canvas");
|
|
55665
56074
|
canvas.width = Math.ceil(viewport.width);
|
|
55666
56075
|
canvas.height = Math.ceil(viewport.height);
|
|
55667
|
-
canvas.setAttribute("aria-label",
|
|
56076
|
+
canvas.setAttribute("aria-label", pageLabel(pageNumber2, document2.numPages));
|
|
55668
56077
|
canvas.setAttribute("role", "img");
|
|
55669
56078
|
canvas.dataset.pdfPage = String(pageNumber2);
|
|
55670
56079
|
canvas.style.cssText = `display:block;width:${width * zoom}px;height:auto;background:#fff`;
|
|
@@ -136278,7 +136687,7 @@ async function destroyPdfDocumentLoad(loading) {
|
|
|
136278
136687
|
} catch {
|
|
136279
136688
|
}
|
|
136280
136689
|
}
|
|
136281
|
-
function PdfDocument({ src, nativeSrc, title, height, startPage, zoomPercent, style, onPageCount, onFallback, loadDocument = loadPdfDocument }) {
|
|
136690
|
+
function PdfDocument({ src, nativeSrc, title, height, startPage, zoomPercent, style, onPageCount, onFallback, loadDocument = loadPdfDocument, pageLabel, pageCountLabel }) {
|
|
136282
136691
|
const [pages2, setPages] = React21.useState(0);
|
|
136283
136692
|
const [failedRequest, setFailedRequest] = React21.useState(null);
|
|
136284
136693
|
const request2 = JSON.stringify([src, zoomPercent]);
|
|
@@ -136287,6 +136696,17 @@ function PdfDocument({ src, nativeSrc, title, height, startPage, zoomPercent, st
|
|
|
136287
136696
|
const frameRef = React21.useRef(null);
|
|
136288
136697
|
const startPageRef = React21.useRef(startPage);
|
|
136289
136698
|
startPageRef.current = startPage;
|
|
136699
|
+
const pageLabelRef = React21.useRef(pageLabel);
|
|
136700
|
+
pageLabelRef.current = pageLabel;
|
|
136701
|
+
React21.useEffect(() => {
|
|
136702
|
+
if (!pages2 || !pageLabel) return;
|
|
136703
|
+
const canvases = containerRef.current?.querySelectorAll("canvas[data-pdf-page]");
|
|
136704
|
+
if (!canvases?.length) return;
|
|
136705
|
+
for (const canvas of Array.from(canvases)) {
|
|
136706
|
+
const next = pageLabel(Number(canvas.dataset.pdfPage), pages2);
|
|
136707
|
+
if (canvas.getAttribute("aria-label") !== next) canvas.setAttribute("aria-label", next);
|
|
136708
|
+
}
|
|
136709
|
+
});
|
|
136290
136710
|
React21.useEffect(() => {
|
|
136291
136711
|
if (failed2) onFallback?.();
|
|
136292
136712
|
}, [failed2, onFallback]);
|
|
@@ -136320,7 +136740,7 @@ function PdfDocument({ src, nativeSrc, title, height, startPage, zoomPercent, st
|
|
|
136320
136740
|
}
|
|
136321
136741
|
loading = task;
|
|
136322
136742
|
const document2 = await task.promise;
|
|
136323
|
-
const count3 = await paintPdfDocument(document2, container, container.clientWidth || 600, startPageRef.current, zoomPercent, () => live4, onPageCount);
|
|
136743
|
+
const count3 = await paintPdfDocument(document2, container, container.clientWidth || 600, startPageRef.current, zoomPercent, () => live4, onPageCount, (page, count4) => pageLabelRef.current?.(page, count4) ?? `Page ${page} of ${count4}`);
|
|
136324
136744
|
if (live4) setPages(count3);
|
|
136325
136745
|
})().catch(() => {
|
|
136326
136746
|
if (live4) setFailedRequest(request2);
|
|
@@ -136346,10 +136766,7 @@ function PdfDocument({ src, nativeSrc, title, height, startPage, zoomPercent, st
|
|
|
136346
136766
|
}
|
|
136347
136767
|
return /* @__PURE__ */ jsxs11("div", { ref: frameRef, "data-himalaya-pdf": "canvas-document", "data-himalaya-pdf-src": src, "data-himalaya-pdf-zoom": zoomPercent ?? 100, "data-himalaya-pdf-start-page": startPage ?? 1, "data-himalaya-pdf-native-src": nativeSrc, role: "group", "aria-label": title, "aria-busy": pages2 === 0, style: frame, children: [
|
|
136348
136768
|
/* @__PURE__ */ jsx14("div", { ref: containerRef, "data-himalaya-pdf-pages": "true" }),
|
|
136349
|
-
pages2 ? /* @__PURE__ */
|
|
136350
|
-
pages2,
|
|
136351
|
-
" pages"
|
|
136352
|
-
] }) : null
|
|
136769
|
+
pages2 ? /* @__PURE__ */ jsx14("span", { "data-himalaya-pdf-page-count": "true", style: { position: "absolute", width: 1, height: 1, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0,0,0,0)", whiteSpace: "nowrap", border: 0 }, children: pageCountLabel ? pageCountLabel(pages2) : `${pages2} pages` }) : null
|
|
136353
136770
|
] });
|
|
136354
136771
|
}
|
|
136355
136772
|
var init_pdfDocument = __esm({
|
|
@@ -138166,12 +138583,12 @@ function voiceNoteClock(ms2) {
|
|
|
138166
138583
|
const total = Math.floor(Math.max(0, ms2) / 1e3);
|
|
138167
138584
|
return `${Math.floor(total / 60)}:${String(total % 60).padStart(2, "0")}`;
|
|
138168
138585
|
}
|
|
138169
|
-
function voiceNoteSpokenDuration(ms2) {
|
|
138586
|
+
function voiceNoteSpokenDuration(ms2, ctx = {}) {
|
|
138170
138587
|
const total = Math.floor(Math.max(0, ms2) / 1e3);
|
|
138171
|
-
const
|
|
138172
|
-
if (
|
|
138173
|
-
if (
|
|
138174
|
-
return
|
|
138588
|
+
const minutes = Math.floor(total / 60), seconds = total % 60;
|
|
138589
|
+
if (minutes === 0) return rcopy(ctx, "runtime.component.voiceNote.seconds", { seconds });
|
|
138590
|
+
if (seconds === 0) return rcopy(ctx, "runtime.component.voiceNote.minutes", { minutes });
|
|
138591
|
+
return rcopy(ctx, "runtime.component.voiceNote.minutesSeconds", { minutes, seconds });
|
|
138175
138592
|
}
|
|
138176
138593
|
function resolvePagedIndex(value2, count3) {
|
|
138177
138594
|
if (count3 <= 0) return void 0;
|
|
@@ -138419,9 +138836,9 @@ function parseLocalDate(when) {
|
|
|
138419
138836
|
const d2 = when instanceof Date ? new Date(when.getTime()) : new Date(when);
|
|
138420
138837
|
return isNaN(d2.getTime()) ? null : d2;
|
|
138421
138838
|
}
|
|
138422
|
-
function localTimeLabel(d2) {
|
|
138839
|
+
function localTimeLabel(d2, locale) {
|
|
138423
138840
|
try {
|
|
138424
|
-
return d2.toLocaleTimeString(
|
|
138841
|
+
return d2.toLocaleTimeString(locale, { hour: "numeric", minute: "2-digit" }).replace(/[\u202F\u00A0]/g, " ");
|
|
138425
138842
|
} catch {
|
|
138426
138843
|
const p2 = (n2) => String(n2).padStart(2, "0");
|
|
138427
138844
|
return `${p2(d2.getHours())}:${p2(d2.getMinutes())}`;
|
|
@@ -138547,11 +138964,11 @@ function calWeekAnchorForMonth(year, month, selectedDate) {
|
|
|
138547
138964
|
if (inMonth(today4)) return today4;
|
|
138548
138965
|
return localDayKey(new Date(year, month - 1, 1));
|
|
138549
138966
|
}
|
|
138550
|
-
function weekdayLabels(firstWeekday) {
|
|
138967
|
+
function weekdayLabels(firstWeekday, locale) {
|
|
138551
138968
|
const out2 = [];
|
|
138552
138969
|
const anchor = new Date(2024, 0, 7);
|
|
138553
138970
|
for (let i2 = 0; i2 < 7; i2++) {
|
|
138554
|
-
out2.push(new Date(anchor.getFullYear(), anchor.getMonth(), anchor.getDate() + firstWeekday + i2).toLocaleDateString(
|
|
138971
|
+
out2.push(new Date(anchor.getFullYear(), anchor.getMonth(), anchor.getDate() + firstWeekday + i2).toLocaleDateString(locale, { weekday: "short" }));
|
|
138555
138972
|
}
|
|
138556
138973
|
return out2;
|
|
138557
138974
|
}
|
|
@@ -139522,6 +139939,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139522
139939
|
return /* @__PURE__ */ jsx15(
|
|
139523
139940
|
PullToRefreshList,
|
|
139524
139941
|
{
|
|
139942
|
+
...ptrCopy(ctx),
|
|
139525
139943
|
onRefresh: () => ctx.onAction(resolveItemDeep2(boundRefresh, ctx)),
|
|
139526
139944
|
accent: C2("accentPrimary", "#116DFF"),
|
|
139527
139945
|
fg: C2("textPrimary", "#13171e"),
|
|
@@ -139593,6 +140011,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139593
140011
|
return /* @__PURE__ */ jsxs12(
|
|
139594
140012
|
PullToRefreshList,
|
|
139595
140013
|
{
|
|
140014
|
+
...ptrCopy(ctx),
|
|
139596
140015
|
onRefresh: () => ctx.onAction(resolveItemDeep2(refresh, ctx)),
|
|
139597
140016
|
accent: C2("accentPrimary", "#116DFF"),
|
|
139598
140017
|
fg: C2("textPrimary", "#13171e"),
|
|
@@ -139710,13 +140129,13 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139710
140129
|
const badgeLabel = m2?.accessibilityLabel ?? m2?.accessibility_label;
|
|
139711
140130
|
const badgeRole = roleDeclared ? void 0 : liveCount ? "status" : typeof badgeLabel === "string" && badgeLabel.trim() !== "" ? "img" : void 0;
|
|
139712
140131
|
const fg = _bt ? c2 : sevTextColor(ctx, props2.style ?? "info");
|
|
139713
|
-
return /* @__PURE__ */ jsx15("span", { role: badgeRole, style: { display: "inline-flex", alignItems: "center", alignSelf: "flex-start", width: "fit-content", padding: "3px 9px", borderRadius: 999, fontSize: pxToRem(12), fontWeight: 700, fontFamily: bodyFont(ctx), background: `color-mix(in srgb, ${c2} 16%, ${softPillSurface(C2("surfacePrimary", "#fff"))})`, color: fg, ...wrap }, children: ctx.empty ? "" : txt(props2.text, ctx) || "
|
|
140132
|
+
return /* @__PURE__ */ jsx15("span", { role: badgeRole, style: { display: "inline-flex", alignItems: "center", alignSelf: "flex-start", width: "fit-content", padding: "3px 9px", borderRadius: 999, fontSize: pxToRem(12), fontWeight: 700, fontFamily: bodyFont(ctx), background: `color-mix(in srgb, ${c2} 16%, ${softPillSurface(C2("surfacePrimary", "#fff"))})`, color: fg, ...wrap }, children: ctx.empty ? "" : txt(props2.text, ctx) || rcopy(ctx, "runtime.component.badge.label") });
|
|
139714
140133
|
}
|
|
139715
140134
|
case "Tag": {
|
|
139716
140135
|
const tagToken = boundTokenName(props2.tokenPath, props2.token, ctx);
|
|
139717
140136
|
const c2 = C2(tagToken ?? "accentPrimary", "#116DFF");
|
|
139718
140137
|
const tagFg = tagToken ? c2 : accentTextColor(ctx);
|
|
139719
|
-
return /* @__PURE__ */ jsx15("span", { style: { display: "inline-flex", alignItems: "center", alignSelf: "flex-start", width: "fit-content", padding: "5px 11px", borderRadius: 999, fontSize: pxToRem(13), fontWeight: 600, fontFamily: bodyFont(ctx), background: `color-mix(in srgb, ${c2} 14%, ${softPillSurface(C2("surfacePrimary", "#fff"))})`, border: `1px solid color-mix(in srgb, ${c2} 30%, transparent)`, color: tagFg, ...wrap }, children: ctx.empty ? "" : txt(props2.text, ctx) || "
|
|
140138
|
+
return /* @__PURE__ */ jsx15("span", { style: { display: "inline-flex", alignItems: "center", alignSelf: "flex-start", width: "fit-content", padding: "5px 11px", borderRadius: 999, fontSize: pxToRem(13), fontWeight: 600, fontFamily: bodyFont(ctx), background: `color-mix(in srgb, ${c2} 14%, ${softPillSurface(C2("surfacePrimary", "#fff"))})`, border: `1px solid color-mix(in srgb, ${c2} 30%, transparent)`, color: tagFg, ...wrap }, children: ctx.empty ? "" : txt(props2.text, ctx) || rcopy(ctx, "runtime.component.tag.label") });
|
|
139720
140139
|
}
|
|
139721
140140
|
case "ProgressBar":
|
|
139722
140141
|
return /* @__PURE__ */ jsx15(ProgressBarNode, { props: props2, ctx, wrap });
|
|
@@ -139906,7 +140325,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
139906
140325
|
extended && /* @__PURE__ */ jsx15("span", { style: { fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15) }, children: txt(props2.label, ctx) })
|
|
139907
140326
|
] });
|
|
139908
140327
|
if (!actionable) return /* @__PURE__ */ jsx15("div", { style, children: content });
|
|
139909
|
-
return /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": extended ? void 0 : props2.icon || "
|
|
140328
|
+
return /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": extended ? void 0 : props2.icon || rcopy(ctx, "runtime.component.fab.action"), onClick: ctx.onAction ? (e2) => {
|
|
139910
140329
|
e2.stopPropagation();
|
|
139911
140330
|
ctx.onAction(resolveItemDeep2(props2.action, ctx));
|
|
139912
140331
|
} : void 0, style: { ...style, appearance: "none", border: 0, font: "inherit" }, children: content });
|
|
@@ -140062,7 +140481,7 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
140062
140481
|
// it. A presented alert is `presentation: "alert"` on a navigating Action, which the web host
|
|
140063
140482
|
// draws as its own modal dialog.
|
|
140064
140483
|
case "AlertDialog":
|
|
140065
|
-
return /* @__PURE__ */ jsxs12("div", { role: "alertdialog", "aria-label": props2.title != null ? asBoundText(props2.title, ctx) : "
|
|
140484
|
+
return /* @__PURE__ */ jsxs12("div", { role: "alertdialog", "aria-label": props2.title != null ? asBoundText(props2.title, ctx) : rcopy(ctx, "runtime.component.alertDialog.label"), style: { background: C2("surfacePrimary", "#fff"), borderRadius: ctx.radius("lg", 14), padding: 18, width: "100%", boxSizing: "border-box", border: `1px solid ${C2("border", "#e3e3e3")}`, boxShadow: "0 12px 30px -12px rgba(0,0,0,.4)", ...wrap }, children: [
|
|
140066
140485
|
/* @__PURE__ */ jsx15("div", { style: { fontFamily: bodyFont(ctx), fontWeight: 700, fontSize: pxToRem(17), color: C2("textPrimary", "#111") }, children: txt(props2.title, ctx) }),
|
|
140067
140486
|
/* @__PURE__ */ jsx15("div", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(14), lineHeight: 1.45, color: C2("textSecondary", "#666"), margin: "6px 0 16px" }, children: txt(props2.message, ctx) }),
|
|
140068
140487
|
Array.isArray(props2.buttons) && props2.buttons.length > 0 ? (
|
|
@@ -140072,8 +140491,8 @@ function renderInner(node3, ctx, boundMotion) {
|
|
|
140072
140491
|
// `alert.<id>` stays unique on screen (invariant 27).
|
|
140073
140492
|
/* @__PURE__ */ jsx15("div", { style: { display: "flex", gap: 10, ...props2.buttons.length > 2 && typeof window !== "undefined" && window.innerWidth < 360 ? { flexDirection: "column" } : {} }, children: [...props2.buttons.filter((b3) => b3?.role === "cancel"), ...props2.buttons.filter((b3) => b3?.role !== "cancel")].map((b3) => /* @__PURE__ */ jsx15("button", { type: "button", "data-testid": `alert_preview.${b3.id}`, onClick: b3.action ? actionClick(ctx, b3.action) : void 0, style: { flex: 1, textAlign: "center", padding: 11, borderRadius: ctx.radius("md", 8), appearance: "none", WebkitAppearance: "none", border: "none", fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15), ...b3.role === "cancel" ? { background: C2("surfaceTertiary", "#eee"), color: C2("textPrimary", "#111") } : { background: b3.role === "destructive" ? C2("danger", "#E62214") : C2("accentPrimary", "#116DFF"), color: "#fff" }, cursor: ctx.onAction ? "pointer" : "default" }, children: isolateRun(asBoundText(b3.label, ctx), ctx) }, String(b3.id))) })
|
|
140074
140493
|
) : /* @__PURE__ */ jsxs12("div", { style: { display: "flex", gap: 10 }, children: [
|
|
140075
|
-
props2.cancelAction != null && /* @__PURE__ */ jsx15("button", { type: "button", onClick: actionClick(ctx, props2.cancelAction), style: { flex: 1, textAlign: "center", padding: 11, borderRadius: ctx.radius("md", 8), appearance: "none", WebkitAppearance: "none", border: "none", fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15), background: C2("surfaceTertiary", "#eee"), color: C2("textPrimary", "#111"), cursor: ctx.onAction ? "pointer" : "default" }, children: isolateRun(asBoundText(props2.cancelLabel, ctx) || "
|
|
140076
|
-
props2.confirmAction != null && /* @__PURE__ */ jsx15("button", { type: "button", onClick: actionClick(ctx, props2.confirmAction), style: { flex: 1, textAlign: "center", padding: 11, borderRadius: ctx.radius("md", 8), appearance: "none", WebkitAppearance: "none", border: "none", fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15), background: props2.destructive ? C2("danger", "#E62214") : C2("accentPrimary", "#116DFF"), color: "#fff", cursor: ctx.onAction ? "pointer" : "default" }, children: isolateRun(asBoundText(props2.confirmLabel, ctx) || (props2.destructive ? "
|
|
140494
|
+
props2.cancelAction != null && /* @__PURE__ */ jsx15("button", { type: "button", onClick: actionClick(ctx, props2.cancelAction), style: { flex: 1, textAlign: "center", padding: 11, borderRadius: ctx.radius("md", 8), appearance: "none", WebkitAppearance: "none", border: "none", fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15), background: C2("surfaceTertiary", "#eee"), color: C2("textPrimary", "#111"), cursor: ctx.onAction ? "pointer" : "default" }, children: isolateRun(asBoundText(props2.cancelLabel, ctx) || rcopy(ctx, "runtime.dialog.cancel"), ctx) }),
|
|
140495
|
+
props2.confirmAction != null && /* @__PURE__ */ jsx15("button", { type: "button", onClick: actionClick(ctx, props2.confirmAction), style: { flex: 1, textAlign: "center", padding: 11, borderRadius: ctx.radius("md", 8), appearance: "none", WebkitAppearance: "none", border: "none", fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(15), background: props2.destructive ? C2("danger", "#E62214") : C2("accentPrimary", "#116DFF"), color: "#fff", cursor: ctx.onAction ? "pointer" : "default" }, children: isolateRun(asBoundText(props2.confirmLabel, ctx) || rcopy(ctx, props2.destructive ? "runtime.dialog.delete" : "runtime.dialog.confirm"), ctx) })
|
|
140077
140496
|
] })
|
|
140078
140497
|
] });
|
|
140079
140498
|
// ───────────── embeddable WebView ─────────────
|
|
@@ -140121,7 +140540,7 @@ function listSeparatorStyle(separator, horizontal) {
|
|
|
140121
140540
|
const insetLeading = Math.max(0, Number(s5.insetLeading ?? s5.inset_leading ?? 0) || 0);
|
|
140122
140541
|
return { token, thickness, insetLeading };
|
|
140123
140542
|
}
|
|
140124
|
-
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, presentsFromOwnSurface, zLayerIndex, ZFILL_CSS, zFillStylesInjected, hAlignItems, bodyFont, kids2, columnKids, PLACED_TYPES, unplaced, columnPlaceStyle, rowKidCtx, rowKids, staggeredKids, asTextL10n, asFinalTextL10n, asBoundText, useBoundString, asBoundCopy, useBoundCopy, InterpolatedTextView, txt, oneLineDir, txtRaw, selectFragmentCase, fragmentValueHash, fragmentSlotContent, FragmentSlotNode, RichContentEditorNode, MediaFieldNode, WorkerSubtreeNode, RichContentNode, substituteItemDeep, resolveItemDeep2, resolveRowAction2, resolveSwipeActions, resolveModBindings, resolvedComponentId, directServiceBindings, withRootStyle, InScreenMorphHost, ReactiveDirectScalars, resolveNodeBoundTransforms, HiddenGate, 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, CarouselNode, BannerNode, CollapsingHeaderNode, UnsupportedOnSurface, 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, reportedUnknownComponents, UnknownComponentNode, WebRenderer, ScrollIntoViewNode;
|
|
140543
|
+
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, presentsFromOwnSurface, zLayerIndex, ZFILL_CSS, zFillStylesInjected, hAlignItems, bodyFont, kids2, columnKids, PLACED_TYPES, unplaced, columnPlaceStyle, rowKidCtx, rowKids, staggeredKids, asTextL10n, asFinalTextL10n, asBoundText, useBoundString, asBoundCopy, useBoundCopy, InterpolatedTextView, txt, oneLineDir, txtRaw, selectFragmentCase, fragmentValueHash, fragmentSlotContent, FragmentSlotNode, RichContentEditorNode, MediaFieldNode, WorkerSubtreeNode, RichContentNode, substituteItemDeep, resolveItemDeep2, resolveRowAction2, resolveSwipeActions, resolveModBindings, resolvedComponentId, directServiceBindings, withRootStyle, InScreenMorphHost, ReactiveDirectScalars, resolveNodeBoundTransforms, HiddenGate, 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, 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, reportedUnknownComponents, UnknownComponentNode, WebRenderer, ScrollIntoViewNode;
|
|
140125
140544
|
var init_renderNode = __esm({
|
|
140126
140545
|
"../../core/web-renderer/src/renderNode.tsx"() {
|
|
140127
140546
|
"use strict";
|
|
@@ -140194,6 +140613,7 @@ var init_renderNode = __esm({
|
|
|
140194
140613
|
init_rich_content();
|
|
140195
140614
|
init_rich_text_field();
|
|
140196
140615
|
init_richContent();
|
|
140616
|
+
init_runtimeCopy();
|
|
140197
140617
|
init_liveWaveform();
|
|
140198
140618
|
init_pageControl();
|
|
140199
140619
|
MOTION_WRAPPER_ATTRS = ["data-himalaya-parallax", "data-himalaya-reveal", "data-himalaya-scroll-progress", "data-himalaya-vectoranim", "data-himalaya-confetti-host"];
|
|
@@ -140946,7 +141366,7 @@ var init_renderNode = __esm({
|
|
|
140946
141366
|
const renderCfg = (cfg) => cfg && typeof cfg === "object" ? /* @__PURE__ */ jsxs12("div", { style: { textAlign: "center", padding: "24px 12px", color: C2("textSecondary", "#9aa2ad") }, children: [
|
|
140947
141367
|
cfg.title && /* @__PURE__ */ jsx15("div", { style: { fontSize: pxToRem(15), fontWeight: 600, color: C2("textPrimary", "#111") }, children: isolateRun(asText2(cfg.title), ctx) }),
|
|
140948
141368
|
(cfg.subtitle ?? cfg.message) && /* @__PURE__ */ jsx15("div", { style: { fontSize: pxToRem(13), marginTop: 4 }, children: isolateRun(asText2(cfg.subtitle ?? cfg.message), ctx) }),
|
|
140949
|
-
actionTextButton(ctx, cfg.retry ?? cfg.action, asText2(cfg.retryLabel) || asText2(cfg.actionLabel) || (cfg.retry != null ? "
|
|
141369
|
+
actionTextButton(ctx, cfg.retry ?? cfg.action, asText2(cfg.retryLabel) || asText2(cfg.actionLabel) || (cfg.retry != null ? rcopy(ctx, "runtime.state.retry") : rcopy(ctx, "runtime.state.takeAction")), accentTextColor(ctx), { margin: "12px auto 0", textAlign: "center" })
|
|
140950
141370
|
] }) : null;
|
|
140951
141371
|
let content = null;
|
|
140952
141372
|
switch (shown3) {
|
|
@@ -141338,7 +141758,7 @@ var init_renderNode = __esm({
|
|
|
141338
141758
|
const C2 = ctx.color;
|
|
141339
141759
|
const modal = previewMode || isOverlayModal("Menu", props2.modal);
|
|
141340
141760
|
const rawAnchorLabel = props2.anchor?.modifiers?.accessibilityLabel;
|
|
141341
|
-
const anchorLabel = String((typeof rawAnchorLabel === "string" && rawAnchorLabel.startsWith("$item") ? resolveItemDeep2(rawAnchorLabel, ctx) : rawAnchorLabel) ||
|
|
141761
|
+
const anchorLabel = String((typeof rawAnchorLabel === "string" && rawAnchorLabel.startsWith("$item") ? resolveItemDeep2(rawAnchorLabel, ctx) : rawAnchorLabel) || rcopy(ctx, "runtime.component.menu.moreActions"));
|
|
141342
141762
|
const flexGrow = typeof wrap?.flex === "string" ? parseFloat(wrap.flex) : typeof wrap?.flex === "number" ? wrap.flex : Number(wrap?.flexGrow ?? 0);
|
|
141343
141763
|
const fill2 = wrap?.width === "100%" || Number.isFinite(flexGrow) && flexGrow > 0;
|
|
141344
141764
|
const popupPlacement = menuPopupPlacement(fill2);
|
|
@@ -141533,7 +141953,7 @@ var init_renderNode = __esm({
|
|
|
141533
141953
|
setOpen(false);
|
|
141534
141954
|
ctx.onAction?.(resolveItemDeep2(it2.action, ctx));
|
|
141535
141955
|
},
|
|
141536
|
-
style: { color: C2, fontFamily: bodyFont(ctx), fontSize: pxToRem(15), text: asText2 }
|
|
141956
|
+
style: { color: C2, fontFamily: bodyFont(ctx), fontSize: pxToRem(15), text: asText2, itemLabel: rcopy(ctx, "runtime.component.menu.item") }
|
|
141537
141957
|
}
|
|
141538
141958
|
))
|
|
141539
141959
|
] });
|
|
@@ -141618,8 +142038,8 @@ var init_renderNode = __esm({
|
|
|
141618
142038
|
return { ...node3, props: { ...node3.props ?? {}, disabled: true } };
|
|
141619
142039
|
}, [props2.submitButton, valid3, waiting, unavailable2]);
|
|
141620
142040
|
return /* @__PURE__ */ jsxs12("div", { "aria-busy": waiting || void 0, style: { display: "flex", flexDirection: "column", gap: 14, width: "100%", ...wrap }, children: [
|
|
141621
|
-
waiting && /* @__PURE__ */ jsx15("span", { role: "status", children: refreshing ? "
|
|
141622
|
-
unavailable2 && /* @__PURE__ */ jsx15("span", { role: "status", children: "
|
|
142041
|
+
waiting && /* @__PURE__ */ jsx15("span", { role: "status", children: refreshing ? rcopy(ctx, "runtime.component.form.refreshing") : rcopy(ctx, "runtime.component.form.loading") }),
|
|
142042
|
+
unavailable2 && /* @__PURE__ */ jsx15("span", { role: "status", children: rcopy(ctx, "runtime.component.form.unavailable") }),
|
|
141623
142043
|
/* @__PURE__ */ jsxs12(FormValuesContext.Provider, { value: bag, children: [
|
|
141624
142044
|
/* @__PURE__ */ jsx15("fieldset", { disabled: waiting || unavailable2, style: { display: waiting && !refreshing ? "none" : "contents", border: 0, padding: 0, margin: 0, minWidth: 0 }, children: kids2(props2.fields, ctx) }),
|
|
141625
142045
|
submitNode && renderNode(submitNode, submitCtx)
|
|
@@ -142149,6 +142569,7 @@ var init_renderNode = __esm({
|
|
|
142149
142569
|
const builtInControls = /* @__PURE__ */ jsx15(
|
|
142150
142570
|
MediaControls,
|
|
142151
142571
|
{
|
|
142572
|
+
copy: ctx,
|
|
142152
142573
|
mediaRef,
|
|
142153
142574
|
mediaKey: mediaKey2,
|
|
142154
142575
|
layout: isAudio ? "bar" : "overlay",
|
|
@@ -142252,24 +142673,24 @@ var init_renderNode = __esm({
|
|
|
142252
142673
|
if (items.length === 0) {
|
|
142253
142674
|
const waiting = typeof itemsPath === "string" && isBinding(itemsPath);
|
|
142254
142675
|
return /* @__PURE__ */ jsxs12("div", { "data-media-player": sessionId, "data-media-empty": waiting ? "loading" : "none", style: { position: "relative", width: "100%", height: props2.height, aspectRatio: props2.height ? void 0 : String(ar2), minHeight: props2.height ? void 0 : 0, display: "grid", placeItems: "center", overflow: "hidden", borderRadius: ctx.radius("md", 8), background, color: foreground, ...wrap }, children: [
|
|
142255
|
-
slot("empty") ?? (waiting ? /* @__PURE__ */ jsx15("div", { role: "status", "aria-label": "
|
|
142676
|
+
slot("empty") ?? (waiting ? /* @__PURE__ */ jsx15("div", { role: "status", "aria-label": rcopy(ctx, "runtime.component.media.loading"), style: { width: 24, height: 24, borderRadius: "50%", border: "2px solid rgba(255,255,255,.3)", borderTopColor: "#fff", animation: "himalaya-media-spin 0.9s linear infinite" } }) : rcopy(ctx, "runtime.component.media.empty")),
|
|
142256
142677
|
waiting && /* @__PURE__ */ jsx15("style", { children: "@keyframes himalaya-media-spin{to{transform:rotate(360deg)}}" })
|
|
142257
142678
|
] });
|
|
142258
142679
|
}
|
|
142259
142680
|
return /* @__PURE__ */ jsxs12("div", { ref: hostRef, "data-media-player": sessionId, "data-media-provider": provider, "data-media-status": status2, "data-media-fullscreen": fullscreen ? "true" : "false", style: { position: hidden ? "fixed" : "relative", width: hidden ? 1 : "100%", height: hidden ? 1 : props2.height, aspectRatio: hidden || props2.height ? void 0 : String(ar2), overflow: "hidden", borderRadius: fullscreen ? 0 : ctx.radius("md", 8), background, color: foreground, display: hidden ? "block" : "flex", flexDirection: "column", isolation: "isolate", ...wrap }, children: [
|
|
142260
142681
|
slot("audioBackground"),
|
|
142261
142682
|
isUnsupportedProvider ? /* @__PURE__ */ jsxs12("div", { role: "status", style: { flex: 1, minHeight: 0, display: "grid", placeItems: "center", gap: 8, padding: 24, textAlign: "center", background: "#17191f", color: foreground }, children: [
|
|
142262
|
-
/* @__PURE__ */ jsx15("div", { style: { fontWeight: 700 }, children:
|
|
142683
|
+
/* @__PURE__ */ jsx15("div", { style: { fontWeight: 700 }, children: rcopy(ctx, "runtime.component.media.providerUnavailable") }),
|
|
142263
142684
|
/* @__PURE__ */ jsxs12("div", { style: { opacity: 0.75, fontSize: pxToRem(13) }, children: [
|
|
142264
142685
|
"This course uses an unsupported provider adapter: ",
|
|
142265
142686
|
provider,
|
|
142266
142687
|
"."
|
|
142267
142688
|
] })
|
|
142268
|
-
] }) : isYouTube ? /* @__PURE__ */ jsx15("iframe", { title: String(item2?.title ??
|
|
142689
|
+
] }) : isYouTube ? /* @__PURE__ */ jsx15("iframe", { title: String(item2?.title ?? rcopy(ctx, "runtime.component.media.youtube")), src: `https://www.youtube-nocookie.com/embed/${encodeURIComponent(youtubeId(item2))}?playsinline=1&autoplay=${props2.autoplay === "never" ? 0 : 1}&mute=${props2.muted === true ? 1 : 0}&controls=${chrome === "none" ? 0 : 1}`, allow: "autoplay; encrypted-media; picture-in-picture; fullscreen", allowFullScreen: true, style: { border: 0, width: "100%", flex: 1, minHeight: 0 } }, mediaKey2) : isAudio ? /* @__PURE__ */ jsxs12("div", { style: { position: "relative", flex: 1, minHeight: 0, display: "grid", gridTemplateColumns: props2.presentation === "compact" || props2.presentation === "mini" ? "72px 1fr" : "1fr", alignItems: "center", gap: 16, padding: hidden ? 0 : 16, boxSizing: "border-box" }, children: [
|
|
142269
142690
|
poster && /* @__PURE__ */ jsx15("img", { src: poster, alt: "", style: chrome === "custom" ? { position: "absolute", inset: 0, width: "100%", height: "100%", objectFit: "cover", opacity: 0.62 } : { width: props2.presentation === "compact" || props2.presentation === "mini" ? 72 : "min(55%, 260px)", aspectRatio: "1", objectFit: "cover", borderRadius: ctx.radius("md", 8), justifySelf: "center" } }),
|
|
142270
142691
|
chrome === "custom" && /* @__PURE__ */ jsx15("div", { style: { position: "absolute", inset: 0, background: "linear-gradient(transparent,rgba(0,0,0,.75))" } }),
|
|
142271
142692
|
!hidden && chrome !== "custom" && /* @__PURE__ */ jsxs12("div", { style: { textAlign: props2.presentation === "compact" || props2.presentation === "mini" ? layoutIsRTL(ctx) ? "right" : "left" : "center", minWidth: 0 }, children: [
|
|
142272
|
-
/* @__PURE__ */ jsx15("div", { ...layoutIsRTL(ctx) ? { dir: "auto" } : {}, style: { fontWeight: 700, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: String(item2?.title ?? "
|
|
142693
|
+
/* @__PURE__ */ jsx15("div", { ...layoutIsRTL(ctx) ? { dir: "auto" } : {}, style: { fontWeight: 700, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: String(item2?.title ?? rcopy(ctx, "runtime.component.media.untitled")) }),
|
|
142273
142694
|
/* @__PURE__ */ jsx15("div", { ...layoutIsRTL(ctx) ? { dir: "auto" } : {}, style: { opacity: 0.7, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: String(item2?.artist ?? item2?.album ?? "") })
|
|
142274
142695
|
] }),
|
|
142275
142696
|
/* @__PURE__ */ jsx15("audio", { ref: (el2) => {
|
|
@@ -142281,8 +142702,8 @@ var init_renderNode = __esm({
|
|
|
142281
142702
|
status2 === "idle" && slot("poster"),
|
|
142282
142703
|
slot("overlay"),
|
|
142283
142704
|
status2 === "loading" && slot("loading"),
|
|
142284
|
-
(status2 === "error" || status2 === "blocked") && (slot("error") ?? /* @__PURE__ */ jsx15("button", { onClick: () => void play(), style: { position: "absolute", inset: 0, margin: "auto", width: "fit-content", height: "fit-content", padding: "10px 16px", borderRadius: 999, border: 0 }, children:
|
|
142285
|
-
minimal && !isYouTube && /* @__PURE__ */ jsx15("button", { "aria-label": status2 === "playing" ? "
|
|
142705
|
+
(status2 === "error" || status2 === "blocked") && (slot("error") ?? /* @__PURE__ */ jsx15("button", { onClick: () => void play(), style: { position: "absolute", inset: 0, margin: "auto", width: "fit-content", height: "fit-content", padding: "10px 16px", borderRadius: 999, border: 0 }, children: rcopy(ctx, "runtime.component.media.tapToPlay") })),
|
|
142706
|
+
minimal && !isYouTube && /* @__PURE__ */ jsx15("button", { "aria-label": rcopy(ctx, status2 === "playing" ? "runtime.component.media.pause" : "runtime.component.media.play"), onClick: () => status2 === "playing" ? pause2() : void play(), style: { position: "absolute", inset: 0, margin: "auto", width: 54, height: 54, borderRadius: "50%", border: 0, background: foreground, color: background, fontSize: 24 }, children: status2 === "playing" ? "\u275A\u275A" : "\u25B6" }),
|
|
142286
142707
|
!hidden && !isYouTube && !isUnsupportedProvider && (showBuiltIn ? builtInControls : customControls),
|
|
142287
142708
|
fullscreen && slot("fullscreenOverlay")
|
|
142288
142709
|
] });
|
|
@@ -142374,7 +142795,7 @@ var init_renderNode = __esm({
|
|
|
142374
142795
|
{
|
|
142375
142796
|
"data-himalaya-pdf": "loading",
|
|
142376
142797
|
role: "img",
|
|
142377
|
-
"aria-label": "loading
|
|
142798
|
+
"aria-label": rcopy(ctx, "runtime.component.pdf.loading"),
|
|
142378
142799
|
"aria-busy": "true",
|
|
142379
142800
|
style: { ...frame, background: "#f4f4f4" }
|
|
142380
142801
|
}
|
|
@@ -142405,7 +142826,7 @@ var init_renderNode = __esm({
|
|
|
142405
142826
|
const data = base2 + pdfOpenFragment(sourceHash, { page, zoom: zoomable ? view.zoom : null, fitWidth: !zoomable });
|
|
142406
142827
|
const label4 = typeof props2.title === "string" && props2.title ? props2.title : "PDF document";
|
|
142407
142828
|
const documentStyle = showPageControls || zoomable || allowShare ? { display: "block", width: "100%", flex: "1 1 auto", minHeight: ph ? 0 : 280, border: "none" } : frame;
|
|
142408
|
-
const object16 = typeof window === "undefined" ? /* @__PURE__ */ jsx15("object", { "data-himalaya-pdf": "static-fallback", data, type: "application/pdf", "aria-label": label4, style: documentStyle }) : /* @__PURE__ */ jsx15(React22.Suspense, { fallback: /* @__PURE__ */ jsx15("div", { "data-himalaya-pdf": "loading", role: "img", "aria-label": "loading
|
|
142829
|
+
const object16 = typeof window === "undefined" ? /* @__PURE__ */ jsx15("object", { "data-himalaya-pdf": "static-fallback", data, type: "application/pdf", "aria-label": label4, style: documentStyle }) : /* @__PURE__ */ jsx15(React22.Suspense, { fallback: /* @__PURE__ */ jsx15("div", { "data-himalaya-pdf": "loading", role: "img", "aria-label": rcopy(ctx, "runtime.component.pdf.loading"), "aria-busy": "true", style: documentStyle }), children: /* @__PURE__ */ jsx15(
|
|
142409
142830
|
PdfDocumentCanvas,
|
|
142410
142831
|
{
|
|
142411
142832
|
src: loadSrc ?? src,
|
|
@@ -142416,6 +142837,8 @@ var init_renderNode = __esm({
|
|
|
142416
142837
|
onFallback,
|
|
142417
142838
|
startPage: shownPage,
|
|
142418
142839
|
zoomPercent: zoomable ? view.zoom ?? sourceZoomPercent(sourceHash) : void 0,
|
|
142840
|
+
pageLabel: (page2, count3) => rcopy(ctx, "runtime.component.pdf.page", { page: page2, count: count3 }),
|
|
142841
|
+
pageCountLabel: (count3) => rcopy(ctx, "runtime.component.pdf.pageCount", { count: count3 }),
|
|
142419
142842
|
style: documentStyle
|
|
142420
142843
|
}
|
|
142421
142844
|
) });
|
|
@@ -142443,26 +142866,26 @@ var init_renderNode = __esm({
|
|
|
142443
142866
|
{
|
|
142444
142867
|
"data-himalaya-pdf-controls": "",
|
|
142445
142868
|
role: "toolbar",
|
|
142446
|
-
"aria-label": "
|
|
142869
|
+
"aria-label": rcopy(ctx, "runtime.component.pdf.controls"),
|
|
142447
142870
|
style: { display: "flex", alignItems: "center", gap: 4, padding: "4px 8px", fontFamily: bodyFont(ctx), fontSize: pxToRem(12), color: C2("textSecondary", "#636b78") },
|
|
142448
142871
|
children: [
|
|
142449
142872
|
showPageControls && /* @__PURE__ */ jsxs12(Fragment5, { children: [
|
|
142450
|
-
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
142451
|
-
/* @__PURE__ */ jsx15("span", { "data-himalaya-pdf-page": shownPage, "aria-live": "polite", children: pageCount != null ?
|
|
142452
|
-
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
142873
|
+
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.pdf.previousPage"), disabled: shownPage <= 1, onClick: () => go2(shownPage - 1), style: shownPage <= 1 ? off : btn, children: "\u2039" }),
|
|
142874
|
+
/* @__PURE__ */ jsx15("span", { "data-himalaya-pdf-page": shownPage, "aria-live": "polite", children: pageCount != null ? rcopy(ctx, "runtime.component.pdf.page", { page: shownPage, count: pageCount }) : rcopy(ctx, "runtime.component.pdf.pageOnly", { page: shownPage }) }),
|
|
142875
|
+
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.pdf.nextPage"), disabled: atEnd, onClick: () => go2(shownPage + 1), style: atEnd ? off : btn, children: "\u203A" })
|
|
142453
142876
|
] }),
|
|
142454
142877
|
/* @__PURE__ */ jsx15("span", { style: { flex: "1 1 auto" } }),
|
|
142455
142878
|
zoomable && /* @__PURE__ */ jsxs12(Fragment5, { children: [
|
|
142456
|
-
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
142457
|
-
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
142879
|
+
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.pdf.zoomOut"), onClick: () => zoomBy(-1), style: btn, children: "\u2212" }),
|
|
142880
|
+
/* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.pdf.zoomIn"), onClick: () => zoomBy(1), style: btn, children: "+" })
|
|
142458
142881
|
] }),
|
|
142459
142882
|
allowShare && (downloadHref ? (
|
|
142460
142883
|
// Bytes the page holds (a re-typed blob, or a CORS fetch): a real download.
|
|
142461
|
-
/* @__PURE__ */ jsx15("a", { href: downloadHref, download: fileName, "aria-label":
|
|
142884
|
+
/* @__PURE__ */ jsx15("a", { href: downloadHref, download: fileName, "aria-label": rcopy(ctx, "runtime.component.pdf.download"), style: { ...btn, textDecoration: "none", fontSize: pxToRem(12) }, children: rcopy(ctx, "runtime.component.pdf.downloadShort") })
|
|
142462
142885
|
) : (
|
|
142463
142886
|
// A cross-origin document the page cannot read: `download` would be ignored, so say what
|
|
142464
142887
|
// actually happens — it opens in a new tab.
|
|
142465
|
-
/* @__PURE__ */ jsx15("a", { href: openHref, target: "_blank", rel: "noopener noreferrer", "aria-label":
|
|
142888
|
+
/* @__PURE__ */ jsx15("a", { href: openHref, target: "_blank", rel: "noopener noreferrer", "aria-label": rcopy(ctx, "runtime.component.pdf.openInTab"), style: { ...btn, textDecoration: "none", fontSize: pxToRem(12) }, children: rcopy(ctx, "runtime.component.pdf.open") })
|
|
142466
142889
|
))
|
|
142467
142890
|
]
|
|
142468
142891
|
}
|
|
@@ -142525,7 +142948,7 @@ var init_renderNode = __esm({
|
|
|
142525
142948
|
const bandColor = typeof rawBand === "string" && rawBand.length > 0 ? rawBand : void 0;
|
|
142526
142949
|
return /* @__PURE__ */ jsxs12("div", { ...{ [ROLE_WHEN_NAMED]: "group" }, style: { width: "100%", position: "relative", ...fill2 ? { height: "100%", flex: "1 1 0", minHeight: 0, display: "flex", flexDirection: "column" } : {}, ...bandColor ? { background: bandColor, borderRadius: ctx.radius("md", 8), overflow: "hidden" } : {}, ...wrap }, children: [
|
|
142527
142950
|
bandColor ? /* @__PURE__ */ jsx15("div", { "data-testid": "webview-cover-band", style: { height: 8, background: bandColor } }) : null,
|
|
142528
|
-
htmlStr ? /* @__PURE__ */ jsx15("iframe", { ...frameProps, srcDoc: htmlStr, sandbox: "allow-scripts" }, frameKey ?? void 0) : urlFrame ? /* @__PURE__ */ jsx15("iframe", { ...frameProps, src: urlFrame.src, sandbox: urlFrame.sandbox }, frameKey ?? void 0) : /* @__PURE__ */ jsx15("div", { style: { ...frameStyle, display: "grid", placeItems: "center",
|
|
142951
|
+
htmlStr ? /* @__PURE__ */ jsx15("iframe", { ...frameProps, srcDoc: htmlStr, sandbox: "allow-scripts" }, frameKey ?? void 0) : urlFrame ? /* @__PURE__ */ jsx15("iframe", { ...frameProps, src: urlFrame.src, sandbox: urlFrame.sandbox }, frameKey ?? void 0) : /* @__PURE__ */ jsx15("div", { "data-webview-unavailable": urlStr ? "refused" : "empty", style: { ...frameStyle, display: "grid", placeItems: "center", background: ctx.color("surfacePrimary", "#fff"), color: ctx.color("textSecondary", "#636b78"), fontFamily: bodyFont(ctx), fontSize: pxToRem(13) }, children: urlStr ? rcopy(ctx, "runtime.webview.pageError") : null }),
|
|
142529
142952
|
bridgeChannel ? /* @__PURE__ */ jsx15(React22.Suspense, { fallback: null, children: /* @__PURE__ */ jsx15(
|
|
142530
142953
|
WebViewBridgeHost2,
|
|
142531
142954
|
{
|
|
@@ -142553,16 +142976,16 @@ var init_renderNode = __esm({
|
|
|
142553
142976
|
href: openInTabHref,
|
|
142554
142977
|
target: "_blank",
|
|
142555
142978
|
rel: "noopener noreferrer",
|
|
142556
|
-
"aria-label":
|
|
142979
|
+
"aria-label": rcopy(ctx, "runtime.component.webview.openInTab"),
|
|
142557
142980
|
style: { position: "absolute", right: 12, bottom: 12, zIndex: 2, display: "inline-flex", alignItems: "center", gap: 6, padding: "6px 12px", borderRadius: 999, background: "rgba(19,23,30,0.78)", color: "#fff", textDecoration: "none", fontFamily: bodyFont(ctx), fontSize: pxToRem(13), fontWeight: 600, boxShadow: "0 2px 8px rgba(0,0,0,0.25)" },
|
|
142558
142981
|
children: [
|
|
142559
142982
|
/* @__PURE__ */ jsx15("span", { "aria-hidden": "true", children: "\u2197" }),
|
|
142560
|
-
|
|
142983
|
+
rcopy(ctx, "runtime.component.webview.openInTab")
|
|
142561
142984
|
]
|
|
142562
142985
|
}
|
|
142563
142986
|
)
|
|
142564
142987
|
) : null,
|
|
142565
|
-
showLoading ? /* @__PURE__ */ jsxs12("div", { "data-testid": "webview-loading", role: "status", "aria-live": "polite", "aria-label": config.loadingText ? void 0 : "
|
|
142988
|
+
showLoading ? /* @__PURE__ */ jsxs12("div", { "data-testid": "webview-loading", role: "status", "aria-live": "polite", "aria-label": config.loadingText ? void 0 : rcopy(ctx, "runtime.component.webview.loading"), style: { position: "absolute", left: 0, right: 0, top: bandColor ? 8 : 0, bottom: 0, display: "grid", placeItems: "center", pointerEvents: "none", fontFamily: bodyFont(ctx), fontSize: pxToRem(13), color: ctx.color("textSecondary", "#666") }, children: [
|
|
142566
142989
|
config.showProgressBar ? /* @__PURE__ */ jsx15("div", { "aria-hidden": "true", style: { position: "absolute", left: 0, top: 0, height: 3, width: "40%", background: ctx.color("accentPrimary", "#116DFF") } }) : null,
|
|
142567
142990
|
config.loadingText ?? null
|
|
142568
142991
|
] }) : null
|
|
@@ -142602,12 +143025,12 @@ var init_renderNode = __esm({
|
|
|
142602
143025
|
const mode = pickerPresentation(props2, opts);
|
|
142603
143026
|
const labelOf2 = (o2) => asTextL10n(o2?.label ?? o2?.title ?? o2?.id, ctx);
|
|
142604
143027
|
const pickerA11yProps = formFieldA11y(props2);
|
|
142605
|
-
const pickerName = pickerA11yProps["aria-labelledby"] ? void 0 : String(placeholderText || "
|
|
143028
|
+
const pickerName = pickerA11yProps["aria-labelledby"] ? void 0 : String(placeholderText || rcopy(ctx, "runtime.component.picker.placeholder"));
|
|
142606
143029
|
if (mode === "menu" || mode === "sheet") {
|
|
142607
143030
|
const look = pickerFieldLook(props2.field, ctx);
|
|
142608
143031
|
const shownSel = ctx.onAction ? sel : ctx.empty ? null : selectedId;
|
|
142609
143032
|
const picked = opts.find((o2) => o2 != null && String(o2.id) === String(shownSel ?? ""));
|
|
142610
|
-
const text32 = picked ? labelOf2(picked) : String(placeholderText || "
|
|
143033
|
+
const text32 = picked ? labelOf2(picked) : String(placeholderText || rcopy(ctx, "runtime.component.picker.placeholder"));
|
|
142611
143034
|
const box = /* @__PURE__ */ jsx15(PickerFieldBox, { look, ctx, option: picked, text: text32, isPlaceholder: !picked, font: bodyFont(ctx) });
|
|
142612
143035
|
if (!ctx.onAction) return /* @__PURE__ */ jsx15("div", { style: { width: "100%", ...wrap }, children: box });
|
|
142613
143036
|
return /* @__PURE__ */ jsxs12("div", { ...{ [A11Y_PART]: "root" }, "data-hm-picker-focus": "", style: { position: "relative", width: "100%", ...wrap }, children: [
|
|
@@ -142649,7 +143072,7 @@ var init_renderNode = __esm({
|
|
|
142649
143072
|
...pickerA11yProps,
|
|
142650
143073
|
style: { width: "100%", background: C2("surfaceSecondary", "#f5f7fa"), border: "none", borderRadius: 12, padding: 6, boxSizing: "border-box", fontFamily: bodyFont(ctx), fontSize: pxToRem(16), color: C2("textPrimary", "#111"), textAlign: "center", ...wrap },
|
|
142651
143074
|
children: [
|
|
142652
|
-
wheelSelection === "" && /* @__PURE__ */ jsx15("option", { value: "", disabled: true, children: String(placeholderText || "
|
|
143075
|
+
wheelSelection === "" && /* @__PURE__ */ jsx15("option", { value: "", disabled: true, children: String(placeholderText || rcopy(ctx, "runtime.component.picker.placeholder")) }),
|
|
142653
143076
|
wheelOpts.map((o2, i2) => /* @__PURE__ */ jsx15("option", { value: o2?.id, style: { padding: "6px 0" }, children: labelOf2(o2) }, o2?.id ?? i2))
|
|
142654
143077
|
]
|
|
142655
143078
|
}
|
|
@@ -142731,10 +143154,10 @@ var init_renderNode = __esm({
|
|
|
142731
143154
|
if (dateBag && dateFieldId) dateBag.set(dateFieldId, dateBagVal);
|
|
142732
143155
|
}, [dateBagVal, dateFieldId, dateBag]);
|
|
142733
143156
|
if (!ctx.onAction) {
|
|
142734
|
-
let label4 = "
|
|
143157
|
+
let label4 = rcopy(ctx, "runtime.component.datePicker.date");
|
|
142735
143158
|
if (!ctx.empty && props2.valueUnix) {
|
|
142736
143159
|
const d2 = new Date(props2.valueUnix * 1e3);
|
|
142737
|
-
label4 = timeMode ? d2.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" }) : dateTimeMode ? d2.toLocaleString(
|
|
143160
|
+
label4 = timeMode ? d2.toLocaleTimeString(dateLocale(ctx) ?? [], { hour: "2-digit", minute: "2-digit" }) : dateTimeMode ? d2.toLocaleString(dateLocale(ctx), { year: "numeric", month: "short", day: "numeric", hour: "2-digit", minute: "2-digit" }) : d2.toLocaleDateString(dateLocale(ctx), { year: "numeric", month: "short", day: "numeric" });
|
|
142738
143161
|
}
|
|
142739
143162
|
return /* @__PURE__ */ jsxs12("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", width: "100%", background: C2("surfacePrimary", "#fff"), border: `1px solid ${C2("border", "#e3e3e3")}`, borderRadius: ctx.radius("md", 8), padding: "12px 14px", boxSizing: "border-box", fontFamily: bodyFont(ctx), fontSize: pxToRem(15), color: C2("textPrimary", "#111"), ...wrap }, children: [
|
|
142740
143163
|
/* @__PURE__ */ jsx15("span", { children: isolateRun(label4, ctx) }),
|
|
@@ -142770,7 +143193,7 @@ var init_renderNode = __esm({
|
|
|
142770
143193
|
onChange: (e2) => emit(e2.currentTarget.value),
|
|
142771
143194
|
min: minUnix != null ? toInput(minUnix) : void 0,
|
|
142772
143195
|
max: maxUnix != null ? toInput(maxUnix) : void 0,
|
|
142773
|
-
"aria-label": formFieldA11y(props2)["aria-labelledby"] ? void 0 : timeMode ? "
|
|
143196
|
+
"aria-label": formFieldA11y(props2)["aria-labelledby"] ? void 0 : timeMode ? rcopy(ctx, "runtime.component.datePicker.time") : dateTimeMode ? rcopy(ctx, "runtime.component.datePicker.dateTime") : rcopy(ctx, "runtime.component.datePicker.date"),
|
|
142774
143197
|
...formFieldA11y(props2),
|
|
142775
143198
|
style: { width: "100%", boxSizing: "border-box", background: C2("surfacePrimary", "#fff"), border: `1px solid ${C2("border", "#e3e3e3")}`, borderRadius: ctx.radius("md", 8), padding: "12px 14px", fontFamily: bodyFont(ctx), fontSize: pxToRem(15), color: C2("textPrimary", "#111"), ...wrap }
|
|
142776
143199
|
}
|
|
@@ -142788,7 +143211,7 @@ var init_renderNode = __esm({
|
|
|
142788
143211
|
if (!ctx.onAction) {
|
|
142789
143212
|
return /* @__PURE__ */ jsxs12("div", { style: box, children: [
|
|
142790
143213
|
icon,
|
|
142791
|
-
placeholderText || "
|
|
143214
|
+
placeholderText || rcopy(ctx, "runtime.component.search.field")
|
|
142792
143215
|
] });
|
|
142793
143216
|
}
|
|
142794
143217
|
const onChange = props2.onChange;
|
|
@@ -142854,8 +143277,8 @@ var init_renderNode = __esm({
|
|
|
142854
143277
|
onKeyDown: (e2) => {
|
|
142855
143278
|
if (e2.key === "Enter") submit();
|
|
142856
143279
|
},
|
|
142857
|
-
placeholder: String(placeholderText || "
|
|
142858
|
-
"aria-label": String(placeholderText || "
|
|
143280
|
+
placeholder: String(placeholderText || rcopy(ctx, "runtime.component.search.field")),
|
|
143281
|
+
"aria-label": String(placeholderText || rcopy(ctx, "runtime.component.search.placeholder")),
|
|
142859
143282
|
style: searchFieldInputStyle(ctx, bodyFont(ctx))
|
|
142860
143283
|
}
|
|
142861
143284
|
),
|
|
@@ -142976,9 +143399,9 @@ var init_renderNode = __esm({
|
|
|
142976
143399
|
] });
|
|
142977
143400
|
}
|
|
142978
143401
|
return /* @__PURE__ */ jsxs12("div", { ...root, style: box, children: [
|
|
142979
|
-
/* @__PURE__ */ jsx15("button", { type: "button", tabIndex: -1, "aria-label": "
|
|
143402
|
+
/* @__PURE__ */ jsx15("button", { type: "button", tabIndex: -1, "aria-label": rcopy(ctx, "runtime.component.stepper.decrease"), disabled: disabled("min"), onClick: () => press(-step), style: { ...btn("min"), font: "inherit" }, children: "\u2212" }),
|
|
142980
143403
|
/* @__PURE__ */ jsx15("b", { ...valueA11y, "aria-valuenow": value2, tabIndex: 0, onKeyDown: onValueKeyDown, style: valueStyle, children: value2 }),
|
|
142981
|
-
/* @__PURE__ */ jsx15("button", { type: "button", tabIndex: -1, "aria-label": "
|
|
143404
|
+
/* @__PURE__ */ jsx15("button", { type: "button", tabIndex: -1, "aria-label": rcopy(ctx, "runtime.component.stepper.increase"), disabled: disabled("max"), onClick: () => press(step), style: { ...btn("max"), font: "inherit" }, children: "+" }),
|
|
142982
143405
|
/* @__PURE__ */ jsx15("span", { "aria-live": "polite", style: { position: "absolute", width: 1, height: 1, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", border: 0 }, children: pressed.text + (pressed.count % 2 ? "\xA0" : "") })
|
|
142983
143406
|
] });
|
|
142984
143407
|
});
|
|
@@ -143127,6 +143550,7 @@ var init_renderNode = __esm({
|
|
|
143127
143550
|
return /* @__PURE__ */ jsx15("div", { style: { display: "flex", flexDirection: "column", width: "100%", ...wrap }, children: /* @__PURE__ */ jsx15(
|
|
143128
143551
|
PullToRefreshList,
|
|
143129
143552
|
{
|
|
143553
|
+
...ptrCopy(ctx),
|
|
143130
143554
|
onRefresh: () => ctx.onAction(resolveItemDeep2(refresh, ctx)),
|
|
143131
143555
|
accent: C2("accentPrimary", "#116DFF"),
|
|
143132
143556
|
fg: C2("textPrimary", "#13171e"),
|
|
@@ -143493,10 +143917,12 @@ var init_renderNode = __esm({
|
|
|
143493
143917
|
] });
|
|
143494
143918
|
});
|
|
143495
143919
|
ERROR_STATE_VARIANTS = {
|
|
143496
|
-
|
|
143497
|
-
|
|
143498
|
-
|
|
143499
|
-
|
|
143920
|
+
// RuntimeCopy keys (#6304): the canonical state-view copy Android reads too (#6301). Permission and
|
|
143921
|
+
// signIn paint no body, as on iOS and Android.
|
|
143922
|
+
server: { icon: "error", title: "runtime.state.server.title", body: "runtime.state.server.body", cta: "runtime.state.server.cta" },
|
|
143923
|
+
offline: { icon: "wifi", title: "runtime.state.offline.title", body: "runtime.state.offline.body", cta: "runtime.state.offline.cta" },
|
|
143924
|
+
permission: { icon: "error", title: "runtime.state.permission.title", body: null, cta: "runtime.state.permission.cta" },
|
|
143925
|
+
signIn: { icon: "person", title: "runtime.state.signIn.title", body: null, cta: "runtime.state.signIn.cta" }
|
|
143500
143926
|
};
|
|
143501
143927
|
ERROR_STATE_SPACING = {
|
|
143502
143928
|
padding: ["lg", 16],
|
|
@@ -143517,9 +143943,9 @@ var init_renderNode = __esm({
|
|
|
143517
143943
|
const r3 = resolveItemDeep2(v2, ctx);
|
|
143518
143944
|
return typeof r3 === "string" ? r3 : "";
|
|
143519
143945
|
};
|
|
143520
|
-
const title = own6(props2.title) || d2.title;
|
|
143521
|
-
const body = own6(props2.body) || d2.body;
|
|
143522
|
-
const label4 = own6(props2.ctaLabel).trim() ? own6(props2.ctaLabel) : d2.cta;
|
|
143946
|
+
const title = own6(props2.title) || rcopy(ctx, d2.title);
|
|
143947
|
+
const body = own6(props2.body) || (d2.body ? rcopy(ctx, d2.body) : "");
|
|
143948
|
+
const label4 = own6(props2.ctaLabel).trim() ? own6(props2.ctaLabel) : rcopy(ctx, d2.cta);
|
|
143523
143949
|
const titleFont = ctx.font("bodyEmphasis");
|
|
143524
143950
|
const bodyFont2 = ctx.font("caption");
|
|
143525
143951
|
const fontCss = (f2) => ({
|
|
@@ -143588,7 +144014,7 @@ var init_renderNode = __esm({
|
|
|
143588
144014
|
const ic = (name) => /* @__PURE__ */ jsx15("span", { style: { display: "inline-grid", placeItems: "center", width: glyph, height: glyph }, children: iconSvg(name, { size: glyph, color: fg }) });
|
|
143589
144015
|
const iconLabel = typeof resolvedLeadingIcon === "string" && resolvedLeadingIcon ? resolvedLeadingIcon.replace(/[_-]+/g, " ").replace(/\b\w/g, (c2) => c2.toUpperCase()) : "";
|
|
143590
144016
|
const hasTitle = typeof resolvedTitle === "string" && resolvedTitle.length > 0 || typeof resolvedTitle === "number";
|
|
143591
|
-
const accessibleLabel = hasTitle ? String(resolvedTitle) : asText2(txtRaw(props2.title, ctx)) || (props2.iconOnly ? iconLabel : "") || "
|
|
144017
|
+
const accessibleLabel = hasTitle ? String(resolvedTitle) : asText2(txtRaw(props2.title, ctx)) || (props2.iconOnly ? iconLabel : "") || rcopy(ctx, "runtime.component.button.label");
|
|
143592
144018
|
if (loading) ensureSpinKeyframes();
|
|
143593
144019
|
const rowStretch = ctx.rowStretch === true && !props2.iconOnly;
|
|
143594
144020
|
return /* @__PURE__ */ jsxs12(
|
|
@@ -143677,7 +144103,7 @@ var init_renderNode = __esm({
|
|
|
143677
144103
|
children: [
|
|
143678
144104
|
loading && /* @__PURE__ */ jsx15("span", { style: { width: glyph, height: glyph, boxSizing: "border-box", borderRadius: "50%", border: `2px solid ${rgba(fg, primary ? 0.4 : 0.35)}`, borderTopColor: fg, animation: ctx.empty ? void 0 : "himalaya-spin .7s linear infinite" } }),
|
|
143679
144105
|
!loading && resolvedLeadingIcon && ic(String(resolvedLeadingIcon)),
|
|
143680
|
-
!props2.iconOnly && (resolvedTitle != null && resolvedTitle !== "" ? isolateRun(String(resolvedTitle), ctx) : txt(props2.title, ctx) || "
|
|
144106
|
+
!props2.iconOnly && (resolvedTitle != null && resolvedTitle !== "" ? isolateRun(String(resolvedTitle), ctx) : txt(props2.title, ctx) || rcopy(ctx, "runtime.component.button.label")),
|
|
143681
144107
|
!loading && !props2.iconOnly && resolvedTrailingIcon && ic(String(resolvedTrailingIcon))
|
|
143682
144108
|
]
|
|
143683
144109
|
}
|
|
@@ -143729,7 +144155,7 @@ var init_renderNode = __esm({
|
|
|
143729
144155
|
{
|
|
143730
144156
|
...{ [A11Y_PART]: "node" },
|
|
143731
144157
|
tabIndex: 0,
|
|
143732
|
-
"aria-label":
|
|
144158
|
+
"aria-label": rcopy(ctx, "runtime.component.otp.label"),
|
|
143733
144159
|
value: val,
|
|
143734
144160
|
onChange: (e2) => {
|
|
143735
144161
|
const field = e2.currentTarget;
|
|
@@ -143807,7 +144233,7 @@ var init_renderNode = __esm({
|
|
|
143807
144233
|
}, [hideAfter, identity, held]);
|
|
143808
144234
|
if (phase === "gone") return null;
|
|
143809
144235
|
const tone = snackbarTone(props2.severity) ?? "info";
|
|
143810
|
-
const label4 = asBoundText(props2.actionLabel, ctx) ||
|
|
144236
|
+
const label4 = asBoundText(props2.actionLabel, ctx) || rcopy(ctx, "runtime.state.takeAction");
|
|
143811
144237
|
const onAction = props2.action != null ? actionClick(ctx, props2.action) : void 0;
|
|
143812
144238
|
return /* @__PURE__ */ jsx15(
|
|
143813
144239
|
"div",
|
|
@@ -144073,7 +144499,7 @@ var init_renderNode = __esm({
|
|
|
144073
144499
|
"button",
|
|
144074
144500
|
{
|
|
144075
144501
|
type: "button",
|
|
144076
|
-
"aria-label":
|
|
144502
|
+
"aria-label": rcopy(ctx, "runtime.nav.resizeSheet"),
|
|
144077
144503
|
"data-sheet-handle": "",
|
|
144078
144504
|
onClick: () => {
|
|
144079
144505
|
if (drag.current?.moved) {
|
|
@@ -144414,7 +144840,7 @@ var init_renderNode = __esm({
|
|
|
144414
144840
|
"button",
|
|
144415
144841
|
{
|
|
144416
144842
|
type: "button",
|
|
144417
|
-
"aria-label":
|
|
144843
|
+
"aria-label": rcopy(ctx, "runtime.nav.resizeSheet"),
|
|
144418
144844
|
"data-sheet-handle": "",
|
|
144419
144845
|
onClick: (e2) => {
|
|
144420
144846
|
e2.stopPropagation();
|
|
@@ -144682,7 +145108,7 @@ var init_renderNode = __esm({
|
|
|
144682
145108
|
/* @__PURE__ */ jsxs12("div", { ...hasAddField ? { [A11Y_PART]: "root" } : {}, style: { display: "flex", flexWrap: "wrap", alignItems: "center", gap: 6, width: "100%", minHeight: 44, padding: "8px 10px", boxSizing: "border-box", background: C2("surfacePrimary", "#fff"), border: `1px solid ${C2("border", "#e3e3e3")}`, borderRadius: ctx.radius("md", 8), opacity: props2.disabled ? 0.5 : 1, ...wrap }, children: [
|
|
144683
145109
|
values.map((v2, i2) => /* @__PURE__ */ jsxs12("span", { style: { display: "inline-flex", alignItems: "center", gap: 5, padding: "4px 9px", borderRadius: 999, fontFamily: bodyFont(ctx), fontSize: pxToRem(13), background: C2("surfaceTertiary", "#eef0f3"), color: C2("textPrimary", "#13171e") }, children: [
|
|
144684
145110
|
isolateRun(asText2(v2), ctx),
|
|
144685
|
-
props2.onRemove && /* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
145111
|
+
props2.onRemove && /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.chips.remove", { name: asText2(v2) }), disabled: !!props2.disabled || !ctx.onAction, onClick: () => {
|
|
144686
145112
|
if (props2.disabled || !ctx.onAction) return;
|
|
144687
145113
|
const action = resolveItemDeep2(props2.onRemove, ctx);
|
|
144688
145114
|
ctx.onAction({ ...action, args: { ...action.args, value: v2, index: i2 } });
|
|
@@ -144693,8 +145119,8 @@ var init_renderNode = __esm({
|
|
|
144693
145119
|
{
|
|
144694
145120
|
...{ [A11Y_PART]: "node" },
|
|
144695
145121
|
tabIndex: 0,
|
|
144696
|
-
"aria-label": placeholderText ||
|
|
144697
|
-
placeholder: placeholderText || "
|
|
145122
|
+
"aria-label": placeholderText || rcopy(ctx, "runtime.component.chips.add"),
|
|
145123
|
+
placeholder: placeholderText || rcopy(ctx, "runtime.component.chips.placeholder"),
|
|
144698
145124
|
dir: layoutIsRTL(ctx) ? "auto" : void 0,
|
|
144699
145125
|
value: draft,
|
|
144700
145126
|
disabled: !!props2.disabled,
|
|
@@ -144712,7 +145138,7 @@ var init_renderNode = __esm({
|
|
|
144712
145138
|
} : void 0,
|
|
144713
145139
|
style: { minWidth: 80, minHeight: 44, flex: "1 1 100px", border: 0, background: "transparent", color: C2("textPrimary", "#13171e"), outlineOffset: 3, fontFamily: bodyFont(ctx), fontSize: pxToRem(14) }
|
|
144714
145140
|
}
|
|
144715
|
-
) : /* @__PURE__ */ jsx15("span", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(14), color: C2("textSecondary", "#888") }, children: values.length ? "" : placeholderText || "
|
|
145141
|
+
) : /* @__PURE__ */ jsx15("span", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(14), color: C2("textSecondary", "#888") }, children: values.length ? "" : placeholderText || rcopy(ctx, "runtime.component.chips.placeholder") })
|
|
144716
145142
|
] })
|
|
144717
145143
|
);
|
|
144718
145144
|
});
|
|
@@ -144749,7 +145175,7 @@ var init_renderNode = __esm({
|
|
|
144749
145175
|
content,
|
|
144750
145176
|
hitArea
|
|
144751
145177
|
] }) : content,
|
|
144752
|
-
/* @__PURE__ */ jsxs12("button", { type: "button", "aria-label":
|
|
145178
|
+
/* @__PURE__ */ jsxs12("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.chips.remove", { name: asText2(txtRaw(props2.label, ctx)) || rcopy(ctx, "runtime.component.chips.chip") }), disabled: !remove, onClick: remove, style: { position: "relative", display: "inline-grid", placeItems: "center", width: 16, height: 16, padding: 0, border: 0, background: "transparent", color: "inherit", fontSize: 13, opacity: 0.7, cursor: remove ? "pointer" : "default" }, children: [
|
|
144753
145179
|
"\xD7",
|
|
144754
145180
|
hitArea
|
|
144755
145181
|
] })
|
|
@@ -144829,10 +145255,10 @@ var init_renderNode = __esm({
|
|
|
144829
145255
|
const base2 = invalidIcon ? ICON_FALLBACK : (typeof props2.icon === "string" && props2.icon ? props2.icon : "star").replace(/_fill$/, "");
|
|
144830
145256
|
const filledCount = Math.round(val);
|
|
144831
145257
|
const onClickStar = (i2) => ctx.onAction && props2.interactive && props2.onChange ? () => ctx.onAction({ ...props2.onChange, params: { ...props2.onChange?.params ?? {}, value: String(i2 + 1) }, args: { ...props2.onChange?.args ?? {}, value: i2 + 1 } }) : void 0;
|
|
144832
|
-
const cv = Number.isFinite(val) ? Math.max(0, Math.min(max, val)) : 0, summary2 =
|
|
144833
|
-
return /* @__PURE__ */ jsx15("span", { style: { display: "inline-flex", alignItems: "center", gap: m2.gap, ...wrap }, role: props2.interactive ? "group" : "img", "aria-label":
|
|
145258
|
+
const cv = Number.isFinite(val) ? Math.max(0, Math.min(max, val)) : 0, summary2 = rcopy(ctx, "runtime.component.rating.summary", { value: Number.isInteger(cv) ? String(cv) : cv.toFixed(1), max: String(max) });
|
|
145259
|
+
return /* @__PURE__ */ jsx15("span", { style: { display: "inline-flex", alignItems: "center", gap: m2.gap, ...wrap }, role: props2.interactive ? "group" : "img", "aria-label": rcopy(ctx, "runtime.component.rating.label", { summary: summary2 }), "data-a11y-value": summary2, children: Array.from({ length: max }).map((_2, i2) => {
|
|
144834
145260
|
const filled2 = i2 < filledCount;
|
|
144835
|
-
return onClickStar(i2) ? /* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
145261
|
+
return onClickStar(i2) ? /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.rating.rate", { count: i2 + 1 }), "aria-pressed": i2 + 1 === Math.round(cv), onClick: onClickStar(i2), style: { display: "inline-grid", placeItems: "center", width: m2.cell, height: m2.cell, padding: 0, border: 0, background: "transparent", cursor: "pointer", opacity: filled2 ? 1 : 0.28 }, children: iconSvg(filled2 ? `${base2}_fill` : base2, { size: m2.glyph, color: col }) }, i2) : /* @__PURE__ */ jsx15("span", { style: { display: "inline-grid", placeItems: "center", width: m2.cell, height: m2.cell, opacity: filled2 ? 1 : 0.28 }, children: iconSvg(filled2 ? `${base2}_fill` : base2, { size: m2.glyph, color: col }) }, i2);
|
|
144836
145262
|
}) });
|
|
144837
145263
|
});
|
|
144838
145264
|
AVATAR_RING_INSET = 2.5;
|
|
@@ -145297,7 +145723,7 @@ var init_renderNode = __esm({
|
|
|
145297
145723
|
const box = e2.currentTarget.getBoundingClientRect();
|
|
145298
145724
|
return box.width > 0 ? Math.min(Math.max((e2.clientX - box.left) / box.width, 0), 1) : 0;
|
|
145299
145725
|
};
|
|
145300
|
-
const transportLabel = isUploading ? "
|
|
145726
|
+
const transportLabel = rcopy(ctx, `runtime.component.voiceNote.${isUploading ? "sending" : isFailed ? "retry" : isLoading ? "loading" : isPlaying ? "pause" : "play"}`);
|
|
145301
145727
|
const onTransport = () => {
|
|
145302
145728
|
if (isUploading || isLoading) return;
|
|
145303
145729
|
if (isFailed) return emit(props2.onRetry);
|
|
@@ -145386,7 +145812,7 @@ var init_renderNode = __esm({
|
|
|
145386
145812
|
viewBox: `0 0 ${W2} ${H2}`,
|
|
145387
145813
|
preserveAspectRatio: "none",
|
|
145388
145814
|
role: "img",
|
|
145389
|
-
"aria-label":
|
|
145815
|
+
"aria-label": rcopy(ctx, "runtime.component.voiceNote.label", { duration: voiceNoteSpokenDuration(durationMs2, ctx) }),
|
|
145390
145816
|
style: { display: "block", cursor: canScrub ? "pointer" : "default", touchAction: canScrub ? "none" : void 0 },
|
|
145391
145817
|
onPointerDown: canScrub ? (e2) => {
|
|
145392
145818
|
e2.currentTarget.setPointerCapture?.(e2.pointerId);
|
|
@@ -145426,14 +145852,14 @@ var init_renderNode = __esm({
|
|
|
145426
145852
|
),
|
|
145427
145853
|
/* @__PURE__ */ jsxs12("div", { style: { display: "flex", alignItems: "center", gap: 8, fontFamily: bodyFont(ctx) }, children: [
|
|
145428
145854
|
/* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(12), fontWeight: 500, fontVariantNumeric: "tabular-nums", color: isFailed ? danger : secondary }, children: voiceNoteClock(clockMs) }),
|
|
145429
|
-
isUploading && /* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(12), color: secondary }, children: "
|
|
145430
|
-
isFailed && /* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(12), color: danger }, children:
|
|
145855
|
+
isUploading && /* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(12), color: secondary }, children: rcopy(ctx, "runtime.component.message.sending") }),
|
|
145856
|
+
isFailed && /* @__PURE__ */ jsx15("span", { style: { fontSize: pxToRem(12), color: danger }, children: rcopy(ctx, "runtime.component.message.notSent") }),
|
|
145431
145857
|
/* @__PURE__ */ jsx15("span", { style: { flex: 1 } }),
|
|
145432
145858
|
rates.length > 0 && isPlayable && /* @__PURE__ */ jsx15(
|
|
145433
145859
|
"button",
|
|
145434
145860
|
{
|
|
145435
145861
|
type: "button",
|
|
145436
|
-
"aria-label":
|
|
145862
|
+
"aria-label": rcopy(ctx, "runtime.component.voiceNote.playbackSpeed", { rate: rateText }),
|
|
145437
145863
|
onClick: () => {
|
|
145438
145864
|
const idx = rates.findIndex((r3) => Math.abs(r3 - effectiveRate) < 0.01);
|
|
145439
145865
|
const next = rates[(idx + 1) % rates.length];
|
|
@@ -145618,7 +146044,7 @@ var init_renderNode = __esm({
|
|
|
145618
146044
|
"data-component-id": liveWindowPlaceholderId(ownerId, index),
|
|
145619
146045
|
"data-live-window-placeholder": "",
|
|
145620
146046
|
role: "group",
|
|
145621
|
-
"aria-label":
|
|
146047
|
+
"aria-label": rcopy(ctx, "runtime.component.pager.page", { page: index + 1, count: count3 }),
|
|
145622
146048
|
style: { width: "100%", height: remembered ? remembered : "100%", minHeight: remembered ? remembered : "100%", position: "relative", overflow: "hidden", background: token && !isBinding(token) ? ctx.color(token, "transparent") : void 0 },
|
|
145623
146049
|
children: picture ? /* @__PURE__ */ jsx15("div", { "aria-hidden": "true", style: { position: "absolute", inset: 0, pointerEvents: "none" }, children: renderNode({ type: picture.type, props: picture.props }, { ...ctx, onAction: null }) }) : null
|
|
145624
146050
|
}
|
|
@@ -145787,7 +146213,7 @@ var init_renderNode = __esm({
|
|
|
145787
146213
|
ref: rail,
|
|
145788
146214
|
"data-page-rail": "",
|
|
145789
146215
|
tabIndex: 0,
|
|
145790
|
-
"aria-label": props2.__pager ? "
|
|
146216
|
+
"aria-label": rcopy(ctx, props2.__pager ? "runtime.component.pager.pages" : "runtime.component.pager.carousel"),
|
|
145791
146217
|
onKeyDown: (event) => {
|
|
145792
146218
|
if (event.target !== event.currentTarget || boundRail || !["ArrowLeft", "ArrowRight", "Home", "End"].includes(event.key)) return;
|
|
145793
146219
|
event.preventDefault();
|
|
@@ -145815,7 +146241,7 @@ var init_renderNode = __esm({
|
|
|
145815
146241
|
children: boundRail ? /* @__PURE__ */ jsx15(BoundList, { ctx, itemsPath, template: items[0], renderRow: renderRailRow }) : entries.map((entry, index) => /* @__PURE__ */ jsx15("div", { style: { minWidth: "100%", scrollSnapAlign: "start", ...fills ? { display: "grid", gridTemplateRows: "minmax(0, 1fr)", gridTemplateColumns: "minmax(0, 1fr)" } : {} }, children: /* @__PURE__ */ jsx15(LiveWindowPage, { page: entry.node, index, count: pages2.length, current: settled, liveWindow: props2.liveWindow, ownerId: nodeId || (props2.__pager ? "pager" : "carousel"), heights: pageHeights, ctx: entry.ctx }) }, entry.key))
|
|
145816
146242
|
}
|
|
145817
146243
|
),
|
|
145818
|
-
!boundRail && pages2.length > 1 && (!props2.__pager || props2.showIndicator !== false) && /* @__PURE__ */ jsx15("div", { "aria-label":
|
|
146244
|
+
!boundRail && pages2.length > 1 && (!props2.__pager || props2.showIndicator !== false) && /* @__PURE__ */ jsx15("div", { "aria-label": rcopy(ctx, "runtime.component.pager.page", { page: current + 1, count: pages2.length }), style: { display: "flex", gap: 6, justifyContent: "center", marginTop: 10 }, children: pages2.map((_2, index) => /* @__PURE__ */ jsx15("span", { "aria-current": index === current ? "true" : void 0, style: { width: index === current ? 18 : 7, height: 7, borderRadius: 999, background: index === current ? ctx.color("accentPrimary", "#116DFF") : ctx.color("border", "#ccc") } }, index)) })
|
|
145819
146245
|
] });
|
|
145820
146246
|
});
|
|
145821
146247
|
WheelPickerNode = withExtras("WheelPickerNode", ({ props: props2, ctx, wrap }) => {
|
|
@@ -145846,7 +146272,7 @@ var init_renderNode = __esm({
|
|
|
145846
146272
|
{
|
|
145847
146273
|
ref: viewport,
|
|
145848
146274
|
role: "listbox",
|
|
145849
|
-
"aria-label":
|
|
146275
|
+
"aria-label": rcopy(ctx, "runtime.component.wheel.label"),
|
|
145850
146276
|
"aria-activedescendant": opts.length ? `${pickerId}-${selIdx}` : void 0,
|
|
145851
146277
|
"aria-disabled": !interactive,
|
|
145852
146278
|
tabIndex: interactive ? 0 : void 0,
|
|
@@ -145891,7 +146317,7 @@ var init_renderNode = __esm({
|
|
|
145891
146317
|
props2.label != null && /* @__PURE__ */ jsx15("span", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(15), color: C2("textPrimary", "#13171e") }, children: txt(props2.label, ctx) }),
|
|
145892
146318
|
/* @__PURE__ */ jsx15("span", { style: { marginLeft: "auto", fontFamily: "ui-monospace, monospace", fontSize: pxToRem(13), color: C2("textSecondary", "#636b78") }, children: isolateRun(asText2(cur), ctx) })
|
|
145893
146319
|
] }),
|
|
145894
|
-
/* @__PURE__ */ jsx15("div", { style: { display: "flex", flexWrap: "wrap", gap: 8 }, children: swatches.map((s5, i2) => /* @__PURE__ */ jsx15("button", { type: "button", "aria-label":
|
|
146320
|
+
/* @__PURE__ */ jsx15("div", { style: { display: "flex", flexWrap: "wrap", gap: 8 }, children: swatches.map((s5, i2) => /* @__PURE__ */ jsx15("button", { type: "button", "aria-label": rcopy(ctx, "runtime.component.colorPicker.choose", { color: s5 }), "aria-pressed": s5 === cur, disabled: !onPick(s5), onClick: onPick(s5), style: { width: 44, height: 44, padding: 9, border: "none", background: "transparent", cursor: onPick(s5) ? "pointer" : "default", display: "grid", placeItems: "center" }, children: /* @__PURE__ */ jsx15("span", { "aria-hidden": "true", style: { width: 26, height: 26, borderRadius: "50%", background: C2(s5, s5), boxShadow: s5 === cur ? `0 0 0 2px ${C2("surfacePrimary", "#fff")}, 0 0 0 4px ${C2(s5, s5)}` : "inset 0 0 0 1px rgba(0,0,0,.08)" } }) }, i2)) })
|
|
145895
146321
|
] });
|
|
145896
146322
|
});
|
|
145897
146323
|
FilterChipsNode = withExtras("FilterChipsNode", ({ props: props2, ctx, wrap }) => {
|
|
@@ -146437,7 +146863,7 @@ var init_renderNode = __esm({
|
|
|
146437
146863
|
ref: trackRef,
|
|
146438
146864
|
"data-page-rail": "",
|
|
146439
146865
|
tabIndex: 0,
|
|
146440
|
-
"aria-label": "
|
|
146866
|
+
"aria-label": rcopy(ctx, "runtime.component.pager.carousel"),
|
|
146441
146867
|
onScroll,
|
|
146442
146868
|
...mouseDrag.handlers,
|
|
146443
146869
|
onPointerDown: (event) => {
|
|
@@ -146458,7 +146884,7 @@ var init_renderNode = __esm({
|
|
|
146458
146884
|
children: pages2.map((pg, i2) => /* @__PURE__ */ jsx15("div", { style: { minWidth: "100%", scrollSnapAlign: "start" }, children: /* @__PURE__ */ jsx15(LiveWindowPage, { page: pg, index: i2, count: count3, current: settled, liveWindow: props2.liveWindow, ownerId: nodeId || "carousel", heights: pageHeights, ctx: pg.__itemScope ? { ...ctx, itemScope: pg.__itemScope, ...pg.__previewKey !== void 0 ? { imagePreviewRows: [...ctx.imagePreviewRows ?? [], pg.__previewKey] } : {} } : ctx }) }, pg?.id ?? i2))
|
|
146459
146885
|
}
|
|
146460
146886
|
),
|
|
146461
|
-
count3 > 1 && /* @__PURE__ */ jsx15("div", { "aria-label":
|
|
146887
|
+
count3 > 1 && /* @__PURE__ */ jsx15("div", { "aria-label": rcopy(ctx, "runtime.component.pager.page", { page: index + 1, count: count3 }), style: { display: "flex", gap: 6, justifyContent: "center", marginTop: 10 }, children: pages2.map((_2, i2) => /* @__PURE__ */ jsx15("span", { "aria-current": i2 === index ? "true" : void 0, style: { width: i2 === index ? 18 : 7, height: 7, borderRadius: 999, background: i2 === index ? C2("accentPrimary", "#116DFF") : C2("border", "#ccc") } }, i2)) })
|
|
146462
146888
|
]
|
|
146463
146889
|
}
|
|
146464
146890
|
);
|
|
@@ -146473,14 +146899,14 @@ var init_renderNode = __esm({
|
|
|
146473
146899
|
/* @__PURE__ */ jsxs12("div", { style: props2.dismissible === true ? { flex: 1, minWidth: 0 } : void 0, children: [
|
|
146474
146900
|
/* @__PURE__ */ jsx15("div", { style: { fontFamily: bodyFont(ctx), fontWeight: 600, fontSize: pxToRem(14), color: C2("textPrimary", "#111") }, children: txt(props2.title, ctx) }),
|
|
146475
146901
|
props2.message && /* @__PURE__ */ jsx15("div", { style: { fontFamily: bodyFont(ctx), fontSize: pxToRem(13), lineHeight: 1.4, color: C2("textSecondary", "#666"), marginTop: 2 }, children: txt(props2.message, ctx) }),
|
|
146476
|
-
actionTextButton(ctx, props2.action, asBoundText(props2.actionLabel, ctx) ||
|
|
146902
|
+
actionTextButton(ctx, props2.action, asBoundText(props2.actionLabel, ctx) || rcopy(ctx, "runtime.state.takeAction"), C2("textPrimary", "#111"), { marginTop: 7, textDecoration: "underline" })
|
|
146477
146903
|
] }),
|
|
146478
146904
|
props2.dismissible === true && /* @__PURE__ */ jsx15(
|
|
146479
146905
|
"button",
|
|
146480
146906
|
{
|
|
146481
146907
|
type: "button",
|
|
146482
146908
|
"data-testid": "banner-dismiss",
|
|
146483
|
-
"aria-label": "
|
|
146909
|
+
"aria-label": rcopy(ctx, "runtime.nav.dismiss"),
|
|
146484
146910
|
onClick: (e2) => {
|
|
146485
146911
|
e2.stopPropagation();
|
|
146486
146912
|
setDismissed(true);
|
|
@@ -146585,6 +147011,7 @@ var init_renderNode = __esm({
|
|
|
146585
147011
|
]
|
|
146586
147012
|
}
|
|
146587
147013
|
);
|
|
147014
|
+
ptrCopy = (ctx) => ({ label: rcopy(ctx, "runtime.component.list.pullToRefresh"), busyLabel: rcopy(ctx, "runtime.component.list.refreshing") });
|
|
146588
147015
|
CALENDAR_DATE_ONLY_RE = /^(\d{4})-(\d{2})-(\d{2})$/;
|
|
146589
147016
|
CAL_DEFAULT_MAX_DOTS = 4;
|
|
146590
147017
|
CAL_AGENDA_INITIAL_DAYS = 14;
|
|
@@ -146670,10 +147097,10 @@ var init_renderNode = __esm({
|
|
|
146670
147097
|
const date = calAddDays(weekStart, i2);
|
|
146671
147098
|
return { date, day: parseLocalDate(date)?.getDate() ?? 0, inMonth: true, isToday: date === todayKey };
|
|
146672
147099
|
})] : monthMatrix(year, month, firstWeekday);
|
|
146673
|
-
const heads = weekdayLabels(firstWeekday);
|
|
147100
|
+
const heads = weekdayLabels(firstWeekday, dateLocale(ctx));
|
|
146674
147101
|
const gridRef = React22.useRef(null);
|
|
146675
147102
|
const titleMonth = isWeek ? calWeekTitleMonth(weekStart) : { year, month };
|
|
146676
|
-
const monthLabel = new Date(titleMonth.year, titleMonth.month - 1, 1).toLocaleDateString(
|
|
147103
|
+
const monthLabel = new Date(titleMonth.year, titleMonth.month - 1, 1).toLocaleDateString(dateLocale(ctx), { month: "long", year: "numeric" });
|
|
146677
147104
|
const expandable2 = props2.expandable === true;
|
|
146678
147105
|
const visibleRange = (r3) => ({ startDate: r3[0][0].date, endDate: r3[r3.length - 1][6].date });
|
|
146679
147106
|
const canPage = true;
|
|
@@ -146733,7 +147160,7 @@ var init_renderNode = __esm({
|
|
|
146733
147160
|
"button",
|
|
146734
147161
|
{
|
|
146735
147162
|
type: "button",
|
|
146736
|
-
"aria-label": isWeek ? "
|
|
147163
|
+
"aria-label": rcopy(ctx, isWeek ? "runtime.component.calendar.previousWeek" : "runtime.component.calendar.previousMonth"),
|
|
146737
147164
|
onClick: () => page(-1),
|
|
146738
147165
|
disabled: !canPage,
|
|
146739
147166
|
style: { border: "none", background: "none", cursor: canPage ? "pointer" : "default", color: C2("textSecondary", "#636b78"), fontSize: pxToRem(18), padding: 6, opacity: canPage ? 1 : 0.4 },
|
|
@@ -146744,7 +147171,7 @@ var init_renderNode = __esm({
|
|
|
146744
147171
|
"button",
|
|
146745
147172
|
{
|
|
146746
147173
|
type: "button",
|
|
146747
|
-
"aria-label": isWeek ? "
|
|
147174
|
+
"aria-label": rcopy(ctx, isWeek ? "runtime.component.calendar.showMonth" : "runtime.component.calendar.showWeek"),
|
|
146748
147175
|
"aria-expanded": !isWeek,
|
|
146749
147176
|
onClick: toggleMode,
|
|
146750
147177
|
style: { display: "inline-flex", alignItems: "center", gap: 4, border: "none", background: "none", cursor: "pointer", padding: 4, fontFamily: bodyFont(ctx), fontWeight: 700, fontSize: pxToRem(15), color: C2("textPrimary", "#13171e") },
|
|
@@ -146758,7 +147185,7 @@ var init_renderNode = __esm({
|
|
|
146758
147185
|
"button",
|
|
146759
147186
|
{
|
|
146760
147187
|
type: "button",
|
|
146761
|
-
"aria-label": isWeek ? "
|
|
147188
|
+
"aria-label": rcopy(ctx, isWeek ? "runtime.component.calendar.nextWeek" : "runtime.component.calendar.nextMonth"),
|
|
146762
147189
|
onClick: () => page(1),
|
|
146763
147190
|
disabled: !canPage,
|
|
146764
147191
|
style: { border: "none", background: "none", cursor: canPage ? "pointer" : "default", color: C2("textSecondary", "#636b78"), fontSize: pxToRem(18), padding: 6, opacity: canPage ? 1 : 0.4 },
|
|
@@ -146894,14 +147321,14 @@ var init_renderNode = __esm({
|
|
|
146894
147321
|
const nowMinutes = now.getHours() * 60 + now.getMinutes();
|
|
146895
147322
|
const nowKey = localDayKey(now);
|
|
146896
147323
|
const showNow = props2.showNowLine === true && nowMinutes >= startHour * 60 && nowMinutes <= endHour * 60;
|
|
146897
|
-
const rangeLabel = days.length > 1 ? `${days[0].toLocaleDateString(
|
|
147324
|
+
const rangeLabel = days.length > 1 ? `${days[0].toLocaleDateString(dateLocale(ctx), { month: "short", day: "numeric" })} \u2013 ${days[days.length - 1].toLocaleDateString(dateLocale(ctx), { month: "short", day: "numeric" })}` : days[0].toLocaleDateString(dateLocale(ctx), { weekday: "long", month: "short", day: "numeric" });
|
|
146898
147325
|
return /* @__PURE__ */ jsxs12("div", { style: { width: "100%", boxSizing: "border-box", overflowX: "auto", ...wrap }, children: [
|
|
146899
147326
|
/* @__PURE__ */ jsxs12("div", { style: { display: "flex", alignItems: "center", justifyContent: "space-between", marginBottom: 8 }, children: [
|
|
146900
147327
|
/* @__PURE__ */ jsx15(
|
|
146901
147328
|
"button",
|
|
146902
147329
|
{
|
|
146903
147330
|
type: "button",
|
|
146904
|
-
"aria-label": "
|
|
147331
|
+
"aria-label": rcopy(ctx, "runtime.component.calendar.previous"),
|
|
146905
147332
|
onClick: () => shiftRange(-rangeStep),
|
|
146906
147333
|
disabled: !canPage,
|
|
146907
147334
|
style: { border: "none", background: "none", cursor: canPage ? "pointer" : "default", color: C2("textSecondary", "#636b78"), fontSize: pxToRem(18), opacity: canPage ? 1 : 0.4 },
|
|
@@ -146913,7 +147340,7 @@ var init_renderNode = __esm({
|
|
|
146913
147340
|
"button",
|
|
146914
147341
|
{
|
|
146915
147342
|
type: "button",
|
|
146916
|
-
"aria-label": "
|
|
147343
|
+
"aria-label": rcopy(ctx, "runtime.component.calendar.next"),
|
|
146917
147344
|
onClick: () => shiftRange(rangeStep),
|
|
146918
147345
|
disabled: !canPage,
|
|
146919
147346
|
style: { border: "none", background: "none", cursor: canPage ? "pointer" : "default", color: C2("textSecondary", "#636b78"), fontSize: pxToRem(18), opacity: canPage ? 1 : 0.4 },
|
|
@@ -146921,7 +147348,7 @@ var init_renderNode = __esm({
|
|
|
146921
147348
|
}
|
|
146922
147349
|
)
|
|
146923
147350
|
] }),
|
|
146924
|
-
/* @__PURE__ */ jsx15("div", { style: { display: "flex", marginLeft: 44, minWidth: days.length * 90 }, children: laneMode ? laneCols.map((lane) => /* @__PURE__ */ jsx15("div", { "data-lane": lane.id, style: { flex: "1 1 0", minWidth: 0, textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(12), fontWeight: 600, color: C2("textSecondary", "#888"), padding: "4px 2px", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: laneTitle(lane.id) }, lane.id)) : days.map((d2, i2) => /* @__PURE__ */ jsx15("div", { style: { flex: "1 1 0", minWidth: 0, textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(11), fontWeight: 600, color: dayKeys[i2] === nowKey ? accentTextColor(ctx) : C2("textSecondary", "#888") }, children: d2.toLocaleDateString(
|
|
147351
|
+
/* @__PURE__ */ jsx15("div", { style: { display: "flex", marginLeft: 44, minWidth: days.length * 90 }, children: laneMode ? laneCols.map((lane) => /* @__PURE__ */ jsx15("div", { "data-lane": lane.id, style: { flex: "1 1 0", minWidth: 0, textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(12), fontWeight: 600, color: C2("textSecondary", "#888"), padding: "4px 2px", overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" }, children: laneTitle(lane.id) }, lane.id)) : days.map((d2, i2) => /* @__PURE__ */ jsx15("div", { style: { flex: "1 1 0", minWidth: 0, textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(11), fontWeight: 600, color: dayKeys[i2] === nowKey ? accentTextColor(ctx) : C2("textSecondary", "#888") }, children: d2.toLocaleDateString(dateLocale(ctx), { weekday: "short", day: "numeric" }) }, i2)) }),
|
|
146925
147352
|
days.some((_2, i2) => (byDay.get(dayKeys[i2])?.allDay.length ?? 0) > 0) && /* @__PURE__ */ jsx15("div", { style: { display: "flex", marginLeft: 44, gap: 2, marginBottom: 4, minWidth: days.length * 90 }, children: days.map((d2, i2) => /* @__PURE__ */ jsx15("div", { style: { flex: "1 1 0", minWidth: 0, display: "flex", flexDirection: "column", gap: 2, padding: "0 1px" }, children: (byDay.get(dayKeys[i2])?.allDay ?? []).map((ev, j2) => {
|
|
146926
147353
|
const tappable = !!(ev?.onTap || props2.onSelectEvent);
|
|
146927
147354
|
return /* @__PURE__ */ jsx15(
|
|
@@ -147031,7 +147458,7 @@ var init_renderNode = __esm({
|
|
|
147031
147458
|
{
|
|
147032
147459
|
type: "button",
|
|
147033
147460
|
"data-edit-move": p2.ev?.id ?? "",
|
|
147034
|
-
"aria-label": `${moveLabel || "
|
|
147461
|
+
"aria-label": `${moveLabel || rcopy(ctx, "runtime.component.calendar.move")}: ${asText2(p2.ev?.title)}`,
|
|
147035
147462
|
onClick: (e2) => {
|
|
147036
147463
|
e2.stopPropagation();
|
|
147037
147464
|
const r3 = calMoveEvent(p2.startMin, p2.endMin, snapStep, snapStep);
|
|
@@ -147039,7 +147466,7 @@ var init_renderNode = __esm({
|
|
|
147039
147466
|
},
|
|
147040
147467
|
...{ [REVEAL_ON_FOCUS_ATTR]: "" },
|
|
147041
147468
|
style: revealOnFocusStyle(C2),
|
|
147042
|
-
children: /* @__PURE__ */ jsx15("span", { "aria-hidden": "true", children: moveLabel || "
|
|
147469
|
+
children: /* @__PURE__ */ jsx15("span", { "aria-hidden": "true", children: moveLabel || rcopy(ctx, "runtime.component.calendar.move") })
|
|
147043
147470
|
}
|
|
147044
147471
|
),
|
|
147045
147472
|
/* @__PURE__ */ jsx15(
|
|
@@ -147047,7 +147474,7 @@ var init_renderNode = __esm({
|
|
|
147047
147474
|
{
|
|
147048
147475
|
type: "button",
|
|
147049
147476
|
"data-edit-resize": p2.ev?.id ?? "",
|
|
147050
|
-
"aria-label": `${resizeLabel ||
|
|
147477
|
+
"aria-label": `${resizeLabel || rcopy(ctx, "runtime.component.calendar.changeTime")}: ${asText2(p2.ev?.title)}`,
|
|
147051
147478
|
onClick: (e2) => {
|
|
147052
147479
|
e2.stopPropagation();
|
|
147053
147480
|
const r3 = calResizeEvent(p2.startMin, p2.endMin, snapStep, snapStep);
|
|
@@ -147055,7 +147482,7 @@ var init_renderNode = __esm({
|
|
|
147055
147482
|
},
|
|
147056
147483
|
...{ [REVEAL_ON_FOCUS_ATTR]: "" },
|
|
147057
147484
|
style: revealOnFocusStyle(C2),
|
|
147058
|
-
children: /* @__PURE__ */ jsx15("span", { "aria-hidden": "true", children: resizeLabel ||
|
|
147485
|
+
children: /* @__PURE__ */ jsx15("span", { "aria-hidden": "true", children: resizeLabel || rcopy(ctx, "runtime.component.calendar.changeTime") })
|
|
147059
147486
|
}
|
|
147060
147487
|
),
|
|
147061
147488
|
/* @__PURE__ */ jsx15(
|
|
@@ -147161,24 +147588,24 @@ var init_renderNode = __esm({
|
|
|
147161
147588
|
return () => io2.disconnect();
|
|
147162
147589
|
}, [hasMore, windowEnd]);
|
|
147163
147590
|
if (groups.length === 0) {
|
|
147164
|
-
return /* @__PURE__ */ jsx15("div", { style: { width: "100%", padding: "28px 16px", boxSizing: "border-box", textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(14), color: C2("textSecondary", "#888"), ...wrap }, children: emptyLabel ||
|
|
147591
|
+
return /* @__PURE__ */ jsx15("div", { style: { width: "100%", padding: "28px 16px", boxSizing: "border-box", textAlign: "center", fontFamily: bodyFont(ctx), fontSize: pxToRem(14), color: C2("textSecondary", "#888"), ...wrap }, children: emptyLabel || rcopy(ctx, "runtime.component.calendar.noEvents") });
|
|
147165
147592
|
}
|
|
147166
147593
|
const sticky = props2.stickyHeaders === true;
|
|
147167
147594
|
const dayHeaderFont = ctx.font("caption");
|
|
147168
147595
|
const todayKey = localDayKey(/* @__PURE__ */ new Date());
|
|
147169
147596
|
const tomorrowKey = localDayKey(new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), (/* @__PURE__ */ new Date()).getDate() + 1));
|
|
147170
147597
|
const dayHeaderLabel = (key4) => {
|
|
147171
|
-
if (key4 === todayKey) return "
|
|
147172
|
-
if (key4 === tomorrowKey) return "
|
|
147598
|
+
if (key4 === todayKey) return rcopy(ctx, "runtime.component.agenda.today");
|
|
147599
|
+
if (key4 === tomorrowKey) return rcopy(ctx, "runtime.component.agenda.tomorrow");
|
|
147173
147600
|
const d2 = parseLocalDate(key4);
|
|
147174
|
-
return d2 ? d2.toLocaleDateString(
|
|
147601
|
+
return d2 ? d2.toLocaleDateString(dateLocale(ctx), { weekday: "short", month: "short", day: "numeric" }) : key4;
|
|
147175
147602
|
};
|
|
147176
147603
|
return /* @__PURE__ */ jsxs12("div", { ref: containerRef, "data-agenda-days": shown3.length, style: { width: "100%", boxSizing: "border-box", ...wrap }, children: [
|
|
147177
147604
|
shown3.map((g2) => /* @__PURE__ */ jsxs12("div", { "data-daygroup": g2.key, children: [
|
|
147178
147605
|
/* @__PURE__ */ jsx15("div", { "data-dayheader": "", style: { position: sticky ? "sticky" : "static", top: 0, zIndex: 1, background: C2("surfaceSecondary", "#f5f7fa"), fontFamily: fontStack(dayHeaderFont.family, ctx.idiom), fontSize: dayHeaderFont.remSize, fontWeight: dayHeaderFont.weight, lineHeight: dayHeaderFont.line, letterSpacing: dayHeaderFont.letterSpacing, color: C2("textSecondary", "#888"), padding: "6px 16px", textAlign: "start" }, children: dayHeaderLabel(g2.key) }),
|
|
147179
147606
|
g2.items.map((ev, i2) => {
|
|
147180
147607
|
const start2 = parseLocalDate(ev.start);
|
|
147181
|
-
const timeStr = ev.allDay === true ?
|
|
147608
|
+
const timeStr = ev.allDay === true ? rcopy(ctx, "runtime.component.agenda.allDay") : start2 ? localTimeLabel(start2, dateLocale(ctx)) : "";
|
|
147182
147609
|
const tappable = !!(ev?.onTap || props2.onSelectEvent);
|
|
147183
147610
|
if (props2.eventTemplate) {
|
|
147184
147611
|
const itemCtx = { ...ctx, itemScope: calEventScope(ev, i2) };
|
|
@@ -147458,7 +147885,7 @@ function platformFrameElement(spec, ctx, content, text32, plainText3 = (v2) => S
|
|
|
147458
147885
|
const itemInk = nav.back === "arrow" ? ink : accent;
|
|
147459
147886
|
const trailing = spec.trailing.length > 0 && !barGone ? /* @__PURE__ */ jsx16("div", { style: { display: "flex", gap: nav.back === "arrow" ? 0 : 18, marginInlineStart: "auto", alignItems: "center", color: itemInk }, children: spec.trailing.map((it2, i2) => /* @__PURE__ */ jsx16("span", { "data-testid": "platform-bar-item", style: { display: "inline-grid", placeItems: "center", minWidth: nav.back === "arrow" ? 48 : void 0, height: nav.back === "arrow" ? 48 : void 0, fontSize: 17 }, children: it2.avatar ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-bar-avatar", style: { display: "inline-grid", placeItems: "center", width: 30, height: 30, borderRadius: 15, background: C2("surfaceTertiary", "#e5e5ea") }, children: iconSvg("person", { size: 18, color: C2("textSecondary", "#8e8e93"), rtl }) }) : it2.icon ? iconSvg(it2.icon, { size: nav.back === "arrow" ? 24 : 22, color: itemInk, rtl }) : text32(it2.label) }, i2)) }) : null;
|
|
147460
147887
|
const iconButton = (testId, name) => /* @__PURE__ */ jsx16("span", { "data-testid": testId, style: { display: "inline-grid", placeItems: "center", width: nav.back === "arrow" ? 48 : 30, height: nav.back === "arrow" ? 48 : 44, color: itemInk }, children: iconSvg(name, { size: nav.back === "arrow" ? 24 : 22, color: itemInk, rtl }) });
|
|
147461
|
-
const leading = barGone ? null : spec.leading === "menu" ? iconButton("platform-menu", "menu") : spec.leading === "avatar" ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-bar-avatar", style: { display: "inline-grid", placeItems: "center", width: 30, height: 30, borderRadius: 15, background: C2("surfaceTertiary", "#e5e5ea") }, children: iconSvg("person", { size: 18, color: C2("textSecondary", "#8e8e93"), rtl }) }) : spec.leading === "cancel" ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-cancel", style: { color: itemInk, fontSize: 17, padding: nav.back === "arrow" ? "0 12px" : 0 }, children: text32(spec.cancelLabel ?? "
|
|
147888
|
+
const leading = barGone ? null : spec.leading === "menu" ? iconButton("platform-menu", "menu") : spec.leading === "avatar" ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-bar-avatar", style: { display: "inline-grid", placeItems: "center", width: 30, height: 30, borderRadius: 15, background: C2("surfaceTertiary", "#e5e5ea") }, children: iconSvg("person", { size: 18, color: C2("textSecondary", "#8e8e93"), rtl }) }) : spec.leading === "cancel" ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-cancel", style: { color: itemInk, fontSize: 17, padding: nav.back === "arrow" ? "0 12px" : 0 }, children: text32(spec.cancelLabel ?? rcopy(ctx, "runtime.dialog.cancel")) }) : spec.leading === "back" ? nav.back === "arrow" ? /* @__PURE__ */ jsx16("span", { "data-testid": "platform-back", style: { display: "inline-grid", placeItems: "center", width: 48, height: 48, color: ink }, children: iconSvg("arrow_left", { size: 24, color: ink, rtl }) }) : /* @__PURE__ */ jsxs13("span", { "data-testid": "platform-back", style: { display: "inline-flex", alignItems: "center", gap: 2, color: accent, fontSize: 17 }, children: [
|
|
147462
147889
|
iconSvg("chevron_left", { size: 22, color: accent, rtl }),
|
|
147463
147890
|
"Back"
|
|
147464
147891
|
] }) : null;
|
|
@@ -147520,6 +147947,7 @@ var init_platformFrame = __esm({
|
|
|
147520
147947
|
"../../core/web-renderer/src/platformFrame.tsx"() {
|
|
147521
147948
|
"use strict";
|
|
147522
147949
|
init_define_HHP_CATALOG();
|
|
147950
|
+
init_runtimeCopy();
|
|
147523
147951
|
init_idiom_controls();
|
|
147524
147952
|
init_icons();
|
|
147525
147953
|
init_tokens2();
|
|
@@ -147661,145 +148089,6 @@ var init_AppRegistry = __esm({
|
|
|
147661
148089
|
}
|
|
147662
148090
|
});
|
|
147663
148091
|
|
|
147664
|
-
// ../../core/web-renderer/src/runtimeCopy.generated.ts
|
|
147665
|
-
var RUNTIME_COPY_DEFAULTS;
|
|
147666
|
-
var init_runtimeCopy_generated = __esm({
|
|
147667
|
-
"../../core/web-renderer/src/runtimeCopy.generated.ts"() {
|
|
147668
|
-
init_define_HHP_CATALOG();
|
|
147669
|
-
RUNTIME_COPY_DEFAULTS = {
|
|
147670
|
-
"runtime.auth.signOutFailed": "Couldn\u2019t sign out. Check your connection and try again.",
|
|
147671
|
-
"runtime.auth.signOutPurgeFailed": "Signed out, but this device\u2019s data couldn\u2019t be cleared. Try again.",
|
|
147672
|
-
"runtime.boot.failed": "The app couldn't start. Please try again.",
|
|
147673
|
-
"runtime.boot.generic": "Something went wrong while starting the app.",
|
|
147674
|
-
"runtime.boot.known.connectionClosed": "The connection closed before the app finished loading.",
|
|
147675
|
-
"runtime.boot.known.insecure": "The app couldn\u2019t verify a secure connection to its server.",
|
|
147676
|
-
"runtime.boot.known.noCache": "The app has nothing saved to open offline.",
|
|
147677
|
-
"runtime.boot.known.revoked": "Part of the app is no longer available.",
|
|
147678
|
-
"runtime.boot.known.serverError": "Wix returned an error.",
|
|
147679
|
-
"runtime.boot.known.slow": "The app\u2019s server took too long to answer.",
|
|
147680
|
-
"runtime.boot.known.unreachable": "The app couldn\u2019t reach its server.",
|
|
147681
|
-
"runtime.boot.known.unreachableCheck": "The app couldn\u2019t reach its server \u2014 check the connection.",
|
|
147682
|
-
"runtime.boot.known.unverified": "Part of the app couldn\u2019t be verified.",
|
|
147683
|
-
"runtime.boot.updateFailed": "The app couldn't load its latest content.",
|
|
147684
|
-
"runtime.boot.updateRequired": "This screen needs a newer version of the app. Please update to continue.",
|
|
147685
|
-
"runtime.boot.withRetry": "{message} Try again in a moment.",
|
|
147686
|
-
"runtime.component.image.label": "Image",
|
|
147687
|
-
"runtime.component.image.openPreview": "Opens image preview",
|
|
147688
|
-
"runtime.component.list.empty": "Nothing here yet",
|
|
147689
|
-
"runtime.component.picker.placeholder": "Select",
|
|
147690
|
-
"runtime.component.region.failed": "Couldn't load this section",
|
|
147691
|
-
"runtime.component.search.placeholder": "Search",
|
|
147692
|
-
"runtime.dialog.cancel": "Cancel",
|
|
147693
|
-
"runtime.dialog.confirm": "Confirm",
|
|
147694
|
-
"runtime.dialog.delete": "Delete",
|
|
147695
|
-
"runtime.dialog.discard.body": "Your changes will be lost.",
|
|
147696
|
-
"runtime.dialog.discard.confirm": "Discard",
|
|
147697
|
-
"runtime.dialog.discard.keep": "Keep editing",
|
|
147698
|
-
"runtime.dialog.discard.title": "Discard changes?",
|
|
147699
|
-
"runtime.dialog.ok": "OK",
|
|
147700
|
-
"runtime.lightbox.close": "Close",
|
|
147701
|
-
"runtime.lightbox.export.failed": "Couldn't save this image",
|
|
147702
|
-
"runtime.lightbox.export.permission": "Allow photo access in Settings to save images",
|
|
147703
|
-
"runtime.lightbox.export.saved": "Saved to your photos",
|
|
147704
|
-
"runtime.lightbox.more": "More",
|
|
147705
|
-
"runtime.lightbox.next": "Next image",
|
|
147706
|
-
"runtime.lightbox.position": "Image {index} of {count}",
|
|
147707
|
-
"runtime.lightbox.previous": "Previous image",
|
|
147708
|
-
"runtime.lightbox.save": "Save",
|
|
147709
|
-
"runtime.lightbox.share": "Share",
|
|
147710
|
-
"runtime.lightbox.viewer": "Image viewer",
|
|
147711
|
-
"runtime.nav.actionUnavailable": "Action unavailable. Please try again.",
|
|
147712
|
-
"runtime.nav.back": "Back",
|
|
147713
|
-
"runtime.nav.cancel": "Cancel",
|
|
147714
|
-
"runtime.nav.cancelSearch": "Cancel search",
|
|
147715
|
-
"runtime.nav.clearSearch": "Clear search",
|
|
147716
|
-
"runtime.nav.close": "Close",
|
|
147717
|
-
"runtime.nav.disabledSuffix": "{name}, disabled",
|
|
147718
|
-
"runtime.nav.dismiss": "Dismiss",
|
|
147719
|
-
"runtime.nav.dismissMenu": "Dismiss menu",
|
|
147720
|
-
"runtime.nav.dismissSheet": "Dismiss sheet",
|
|
147721
|
-
"runtime.nav.done": "Done",
|
|
147722
|
-
"runtime.nav.drawer": "Navigation",
|
|
147723
|
-
"runtime.nav.edit": "Edit",
|
|
147724
|
-
"runtime.nav.hostedAppFailed": "Couldn't open {title}.",
|
|
147725
|
-
"runtime.nav.jumpToLatest": "Jump to latest",
|
|
147726
|
-
"runtime.nav.menu": "Menu",
|
|
147727
|
-
"runtime.nav.more": "More",
|
|
147728
|
-
"runtime.nav.moreActions": "More Actions",
|
|
147729
|
-
"runtime.nav.moreOptions": "More options",
|
|
147730
|
-
"runtime.nav.noScreen": "No screen.",
|
|
147731
|
-
"runtime.nav.resizeSheet": "Resize sheet",
|
|
147732
|
-
"runtime.nav.screenBlocked": "This screen's address can't be opened here.",
|
|
147733
|
-
"runtime.nav.screenFailed": "This screen couldn't render.",
|
|
147734
|
-
"runtime.nav.search": "Search",
|
|
147735
|
-
"runtime.nav.searchClear": "Clear",
|
|
147736
|
-
"runtime.nav.searchError": "Results weren't loaded due to a technical issue. Wait and try again.",
|
|
147737
|
-
"runtime.nav.searchNoResults": "No results",
|
|
147738
|
-
"runtime.nav.searchRecents": "Recent searches",
|
|
147739
|
-
"runtime.nav.searchTryAgain": "Try Again",
|
|
147740
|
-
"runtime.nav.selectionCount": "{count} selected",
|
|
147741
|
-
"runtime.nav.showActions": "Show actions",
|
|
147742
|
-
"runtime.nav.stillSaving": "Still saving\u2026",
|
|
147743
|
-
"runtime.nav.thisApp": "this app",
|
|
147744
|
-
"runtime.nav.toggleSidebar": "Toggle sidebar",
|
|
147745
|
-
"runtime.nav.voiceSearch": "Voice search",
|
|
147746
|
-
"runtime.offline.banner": "You're offline",
|
|
147747
|
-
"runtime.offline.loadFailed": "This content couldn't load. Try again.",
|
|
147748
|
-
"runtime.offline.pending": "{count, plural, one {# change waiting to sync} other {# changes waiting to sync}}",
|
|
147749
|
-
"runtime.offline.readStatus": "Showing saved content",
|
|
147750
|
-
"runtime.offline.readUnavailable": "This content isn't available offline. Connect to load it.",
|
|
147751
|
-
"runtime.offline.reading.failed": "This content could not load. Try again.",
|
|
147752
|
-
"runtime.offline.reading.snapshot": "You\u2019re offline. Showing previously loaded content.",
|
|
147753
|
-
"runtime.offline.reading.stale": "Couldn\u2019t refresh. Content may be outdated.",
|
|
147754
|
-
"runtime.offline.reading.unavailable": "You\u2019re offline. This content isn\u2019t available offline. Connect to load it.",
|
|
147755
|
-
"runtime.offline.refreshFailed": "Couldn't refresh. Content may be outdated.",
|
|
147756
|
-
"runtime.offline.syncing": "{count, plural, one {Syncing # change\u2026} other {Syncing # changes\u2026}}",
|
|
147757
|
-
"runtime.state.loading": "Loading\u2026",
|
|
147758
|
-
"runtime.state.offline.body": "Check your connection and try again.",
|
|
147759
|
-
"runtime.state.offline.cta": "Try again",
|
|
147760
|
-
"runtime.state.offline.title": "You're offline",
|
|
147761
|
-
"runtime.state.permission.body": "Ask the owner for permission to view this content.",
|
|
147762
|
-
"runtime.state.permission.cta": "Go back",
|
|
147763
|
-
"runtime.state.permission.title": "You don't have access",
|
|
147764
|
-
"runtime.state.retry": "Try again",
|
|
147765
|
-
"runtime.state.server.body": "Something went wrong on our end. Please try again.",
|
|
147766
|
-
"runtime.state.server.cta": "Try again",
|
|
147767
|
-
"runtime.state.server.title": "Unable to load this content",
|
|
147768
|
-
"runtime.state.signIn.body": "You need to sign in to view this content.",
|
|
147769
|
-
"runtime.state.signIn.cta": "Sign in",
|
|
147770
|
-
"runtime.state.signIn.title": "Sign in to continue",
|
|
147771
|
-
"runtime.state.takeAction": "Take action",
|
|
147772
|
-
"runtime.webview.externalLink.body": "This link opens outside the app.",
|
|
147773
|
-
"runtime.webview.externalLink.bodyHost": "This link opens {host} outside the app.",
|
|
147774
|
-
"runtime.webview.externalLink.open": "Open",
|
|
147775
|
-
"runtime.webview.externalLink.title": "Open link?",
|
|
147776
|
-
"runtime.webview.offline.body": "Check your connection and try again.",
|
|
147777
|
-
"runtime.webview.offline.title": "You're offline",
|
|
147778
|
-
"runtime.webview.pageError": "This page couldn't be loaded",
|
|
147779
|
-
"runtime.worker.actionFailed": "That didn't work. Please try again.",
|
|
147780
|
-
"runtime.worker.failed": "Something went wrong while loading this screen."
|
|
147781
|
-
};
|
|
147782
|
-
}
|
|
147783
|
-
});
|
|
147784
|
-
|
|
147785
|
-
// ../../core/web-renderer/src/runtimeCopy.ts
|
|
147786
|
-
function runtimeText(key4, args = {}, catalog4, locale = "en") {
|
|
147787
|
-
const template = catalog4?.get(key4) || RUNTIME_COPY_DEFAULTS[key4] || key4;
|
|
147788
|
-
return formatMessage(template, args, locale);
|
|
147789
|
-
}
|
|
147790
|
-
function runtimeEnglish(key4) {
|
|
147791
|
-
return RUNTIME_COPY_DEFAULTS[key4] ?? key4;
|
|
147792
|
-
}
|
|
147793
|
-
var RuntimeCopy;
|
|
147794
|
-
var init_runtimeCopy = __esm({
|
|
147795
|
-
"../../core/web-renderer/src/runtimeCopy.ts"() {
|
|
147796
|
-
init_define_HHP_CATALOG();
|
|
147797
|
-
init_message_format();
|
|
147798
|
-
init_runtimeCopy_generated();
|
|
147799
|
-
RuntimeCopy = { text: runtimeText, english: runtimeEnglish };
|
|
147800
|
-
}
|
|
147801
|
-
});
|
|
147802
|
-
|
|
147803
148092
|
// ../../core/web-renderer/src/index.ts
|
|
147804
148093
|
var src_exports2 = {};
|
|
147805
148094
|
__export(src_exports2, {
|
|
@@ -258474,53 +258763,53 @@ var init_preview_assets_generated = __esm({
|
|
|
258474
258763
|
init_define_HHP_CATALOG();
|
|
258475
258764
|
init_preview_assets_format();
|
|
258476
258765
|
PREVIEW_ASSET_MANIFEST = [
|
|
258477
|
-
{ key: "assets/DashboardHost-
|
|
258478
|
-
{ key: "assets/DevDrawer-
|
|
258479
|
-
{ key: "assets/IdiomCompare-
|
|
258480
|
-
{ key: "assets/LightboxViewer-
|
|
258481
|
-
{ key: "assets/OfflineReadingBar-
|
|
258482
|
-
{ key: "assets/PhonePreviewControl-
|
|
258483
|
-
{ key: "assets/SchemeCompare-
|
|
258484
|
-
{ key: "assets/TopBarSearchStates-
|
|
258485
|
-
{ key: "assets/WixFrogTelemetrySink-
|
|
258486
|
-
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258487
|
-
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258488
|
-
{ key: "assets/catalogFontFaces-
|
|
258489
|
-
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258490
|
-
{ key: "assets/files-transfer-
|
|
258491
|
-
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258492
|
-
{ key: "assets/frogApiRules-
|
|
258493
|
-
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258494
|
-
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258495
|
-
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258496
|
-
{ key: "assets/index-
|
|
258497
|
-
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258498
|
-
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258499
|
-
{ key: "assets/pdf-
|
|
258500
|
-
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258501
|
-
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset:
|
|
258502
|
-
{ key: "assets/pdfDocument-
|
|
258503
|
-
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258504
|
-
{ key: "assets/scrollLinkedRuntime-
|
|
258505
|
-
{ key: "assets/webviewBridgeHost-
|
|
258506
|
-
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset:
|
|
258507
|
-
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset:
|
|
258508
|
-
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset:
|
|
258509
|
-
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
258510
|
-
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset:
|
|
258511
|
-
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset:
|
|
258512
|
-
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
258513
|
-
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset:
|
|
258514
|
-
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset:
|
|
258515
|
-
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset:
|
|
258516
|
-
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset:
|
|
258517
|
-
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset:
|
|
258518
|
-
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset:
|
|
258519
|
-
{ key: "index.html", contentType: "text/html; charset=utf-8", offset:
|
|
258520
|
-
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset:
|
|
258521
|
-
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset:
|
|
258522
|
-
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
258523
|
-
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset:
|
|
258766
|
+
{ key: "assets/DashboardHost-BPaqCjxU.js", contentType: "application/javascript; charset=utf-8", offset: 8, length: 2985, sha256: "8739ba90c0763c07ef927790b70e3f51426d196e0f477e96bf683e4c186e557c" },
|
|
258767
|
+
{ key: "assets/DevDrawer-CsgsTrX0.js", contentType: "application/javascript; charset=utf-8", offset: 2993, length: 16783, sha256: "6db2cbf3f8de16dc2404cbd134d53eaf3255ad4ef66c670eb7bdace91fa3aa7c" },
|
|
258768
|
+
{ key: "assets/IdiomCompare-8cCXWu_h.js", contentType: "application/javascript; charset=utf-8", offset: 19776, length: 1926, sha256: "fcfbf8b5d41bb6fdf5831a87757a8612e14e37dc7bb9945eabb1047e39f7efe6" },
|
|
258769
|
+
{ key: "assets/LightboxViewer-cltFHD3r.js", contentType: "application/javascript; charset=utf-8", offset: 21702, length: 15926, sha256: "972623a83a71077f85893458b64038fdf8fb86e1334123db8fb909379c6ad64c" },
|
|
258770
|
+
{ key: "assets/OfflineReadingBar-DCBbrg6Q.js", contentType: "application/javascript; charset=utf-8", offset: 37628, length: 1695, sha256: "6676e25117eb634d590ed52d0fe0d9ce5bc865c7c7d6a7af79cb3b3f2645cdae" },
|
|
258771
|
+
{ key: "assets/PhonePreviewControl-C9m68tSR.js", contentType: "application/javascript; charset=utf-8", offset: 39323, length: 37851, sha256: "8168a5da026fd95d7c6c566a307e4f4313d353bae8ba6a720cab4b86d313ec79" },
|
|
258772
|
+
{ key: "assets/SchemeCompare-Bym-PxX-.js", contentType: "application/javascript; charset=utf-8", offset: 77174, length: 1858, sha256: "901b4b30d5818bcca340d8ffed8d33d6682f2c7a7d2545401e29cf0fac5b75c8" },
|
|
258773
|
+
{ key: "assets/TopBarSearchStates-ClYAN9Ri.js", contentType: "application/javascript; charset=utf-8", offset: 79032, length: 4068, sha256: "7fd7ee37c11f529e82138cea794af40205a0c6c5dbb16b0038216f2ba88cc7c1" },
|
|
258774
|
+
{ key: "assets/WixFrogTelemetrySink-D6HL6YTj.js", contentType: "application/javascript; charset=utf-8", offset: 83100, length: 3515, sha256: "96d42eab0b5eb1f9447adcf1b4c5677a0222f92ca16a13d0b12b1128cba524c3" },
|
|
258775
|
+
{ key: "assets/calendar-ics-BvfIYWjG.js", contentType: "application/javascript; charset=utf-8", offset: 86615, length: 2192, sha256: "1636167041e9829ceccd3544297b86b8475c38bd2f759c4dbc17c813dc6e9254" },
|
|
258776
|
+
{ key: "assets/catalog-B4UJpy5D.js", contentType: "application/javascript; charset=utf-8", offset: 88807, length: 35626, sha256: "90111ffcf2d13eff399836acafd1f2b387859440a29dcd4a0afd8370915992cb" },
|
|
258777
|
+
{ key: "assets/catalogFontFaces-C9SZMDnT.js", contentType: "application/javascript; charset=utf-8", offset: 124433, length: 1111, sha256: "3be21364351205bdda44afe74e65aba741ab000f4985ed21d2fcf4520c1cb71f" },
|
|
258778
|
+
{ key: "assets/contacts-vcard-BcohPQ0m.js", contentType: "application/javascript; charset=utf-8", offset: 125544, length: 2567, sha256: "c4ff75e96cd909bbb9182c5dc78794fcebc65139fbddef2537711d774fb33ad0" },
|
|
258779
|
+
{ key: "assets/files-transfer-DudYjhqd.js", contentType: "application/javascript; charset=utf-8", offset: 128111, length: 6446, sha256: "227ce5e3110d5b225cf407e706ee3454d4fb9530676441480cc1118ecf5153ef" },
|
|
258780
|
+
{ key: "assets/frogActionMap-CTMe3Bz1.js", contentType: "application/javascript; charset=utf-8", offset: 134557, length: 1172, sha256: "9f1ce4c70a680dfb902949e1f482c7e47500b69c3350cd091b1b51d674032d53" },
|
|
258781
|
+
{ key: "assets/frogApiRules-oq_xUNnU.js", contentType: "application/javascript; charset=utf-8", offset: 135729, length: 2207, sha256: "dec0c6b9057670b0cf462160f3cc795f806751a33aafa150df664e8dcd34e9c6" },
|
|
258782
|
+
{ key: "assets/frogScreenMap-S_IRnz20.js", contentType: "application/javascript; charset=utf-8", offset: 137936, length: 1067, sha256: "22b2f71e1b06df8f1e79b890d47fe42e983d37865c2cc9be753e4121764c91e1" },
|
|
258783
|
+
{ key: "assets/glassPreviewBrowser-DONaOehd.js", contentType: "application/javascript; charset=utf-8", offset: 139003, length: 6578, sha256: "4402c4cddd2a564e7466cdf1e12a0e0277c0400b288e1e5eda1d23e797599d31" },
|
|
258784
|
+
{ key: "assets/image-preparation-Cj4gldm6.js", contentType: "application/javascript; charset=utf-8", offset: 145581, length: 2704, sha256: "32944ea587c2f3b84389b66b50a850437560238f1c8d33b6275973ee04eee865" },
|
|
258785
|
+
{ key: "assets/index-BXSqRCa5.js", contentType: "application/javascript; charset=utf-8", offset: 148285, length: 1689749, sha256: "b98c25993a717df4410d654ba87672faaa8e105ba16ff99a25becb3a4792c5f2" },
|
|
258786
|
+
{ key: "assets/jsx-runtime-CdvZGgm7.js", contentType: "application/javascript; charset=utf-8", offset: 1838034, length: 7751, sha256: "42a78b508d0f309f6a4a6efbb8669015211b3c26574c5b0929884c4d9d20b806" },
|
|
258787
|
+
{ key: "assets/on-device-ml-D5QGvW8P.js", contentType: "application/javascript; charset=utf-8", offset: 1845785, length: 10531, sha256: "914ea54d973624e7bc82d1847444f26084ac16d69be3051b4b5938b1e35beced" },
|
|
258788
|
+
{ key: "assets/pdf-PejcntYu.js", contentType: "application/javascript; charset=utf-8", offset: 1856316, length: 488215, sha256: "a60c092217d4c21970ff66e8b63221007e49d0792eb9d5fe66238f8efbce884a" },
|
|
258789
|
+
{ key: "assets/pdf.worker.min-BGnVRhRG.js", contentType: "application/javascript; charset=utf-8", offset: 2344531, length: 90, sha256: "521a0e528916d678d7588b2cddf3dadd3bb959a6d62426382f61c77a82017e35" },
|
|
258790
|
+
{ key: "assets/pdf.worker.min-BmVo14Nb.mjs", contentType: "application/javascript; charset=utf-8", offset: 2344621, length: 1317034, sha256: "a33cfe728c584fdba4fcc1fd54bcdc2f9f2f13889ddbb5b2bd1d0f8cbe49b84e" },
|
|
258791
|
+
{ key: "assets/pdfDocument-BFbYA_14.js", contentType: "application/javascript; charset=utf-8", offset: 3661655, length: 3836, sha256: "84724143ed7b39d7323df6be46f4adee3db57e1a7f69702339e05d4a94258bcd" },
|
|
258792
|
+
{ key: "assets/pdfFetch-Cc8i1I1h.js", contentType: "application/javascript; charset=utf-8", offset: 3665491, length: 2266, sha256: "1d21ad008921942217c9eac0c35b1713773b9d89c71e3ab4412781f7bb88f463" },
|
|
258793
|
+
{ key: "assets/scrollLinkedRuntime-BfXoFGH6.js", contentType: "application/javascript; charset=utf-8", offset: 3667757, length: 2278, sha256: "85f3bfc3974ef91c658706126c63e3c4580de683269323d12ecc2e14ef49f018" },
|
|
258794
|
+
{ key: "assets/webviewBridgeHost-B2vNdomY.js", contentType: "application/javascript; charset=utf-8", offset: 3670035, length: 9889, sha256: "ecb6a089858c8d10d1a0dddc991c5c3733ceca982d84285b160faeecf1005986" },
|
|
258795
|
+
{ key: "fonts/Roboto-LICENSE.txt", contentType: "application/octet-stream", offset: 3679924, length: 4610, sha256: "994062dd7af4186a739de55dd9e151c63b6301f8e2cbafc608d35c2e87da0cd2" },
|
|
258796
|
+
{ key: "fonts/Roboto-Variable.ttf", contentType: "font/ttf", offset: 3684534, length: 488584, sha256: "d7598e12c5dbef095ff8272cfc55da0250bd07fbdecbac8a530b9b277872a134" },
|
|
258797
|
+
{ key: "fonts/WixMadeforDisplay-Bold.ttf", contentType: "font/ttf", offset: 4173118, length: 90924, sha256: "ec4c7d63772d980d6e147b2df6215fd2737e4b04cebe0cf7e11dc695fb63cdcf" },
|
|
258798
|
+
{ key: "fonts/WixMadeforDisplay-ExtraBold.ttf", contentType: "font/ttf", offset: 4264042, length: 90984, sha256: "bf4c16a2774edd38a921edf3099469866cd74c094fd596f3fa4e81f54a04dfaa" },
|
|
258799
|
+
{ key: "fonts/WixMadeforDisplay-Medium.ttf", contentType: "font/ttf", offset: 4355026, length: 90980, sha256: "368faca44fb9f7207e4af784e94750b1ee59c1098b8689e0f4a918926f244fb5" },
|
|
258800
|
+
{ key: "fonts/WixMadeforDisplay-Regular.ttf", contentType: "font/ttf", offset: 4446006, length: 90872, sha256: "97ed8f1a6772abe26e3d8af5cecfc4b02faa94497d585b0398b5053b739a70c1" },
|
|
258801
|
+
{ key: "fonts/WixMadeforDisplay-SemiBold.ttf", contentType: "font/ttf", offset: 4536878, length: 90980, sha256: "642feab8a48ddf6c7a89d7c2a7c0edfa0e6e773f671287e460e222703563191e" },
|
|
258802
|
+
{ key: "fonts/WixMadeforText-Bold.ttf", contentType: "font/ttf", offset: 4627858, length: 108636, sha256: "37c179b4fefb63ea9637322b84583a2df53aa226c150294eea1675c14b1b8e29" },
|
|
258803
|
+
{ key: "fonts/WixMadeforText-ExtraBold.ttf", contentType: "font/ttf", offset: 4736494, length: 109084, sha256: "62e2fe4718129f36ecdb0ae4de385bd6b81ecc876146447167c6c140fad699a9" },
|
|
258804
|
+
{ key: "fonts/WixMadeforText-Medium.ttf", contentType: "font/ttf", offset: 4845578, length: 109048, sha256: "4ecf270136af928612c76fe4ebade91d8156975e5ea4c0cf9225501dd1788e02" },
|
|
258805
|
+
{ key: "fonts/WixMadeforText-Regular.ttf", contentType: "font/ttf", offset: 4954626, length: 107700, sha256: "dee56f09fd3efc127c1ea95557edc74110c1460a46287da36e0af25efd341ef5" },
|
|
258806
|
+
{ key: "fonts/WixMadeforText-SemiBold.ttf", contentType: "font/ttf", offset: 5062326, length: 88108, sha256: "dced97a77624bc5f8b1ae65850360908297f4588e09feb6f22792d29dc7e765b" },
|
|
258807
|
+
{ key: "himi-sw.js", contentType: "application/javascript; charset=utf-8", offset: 5150434, length: 6818, sha256: "835250c3d8004f27c2b67f9b471984351ba6df07b916d97e33b43c691200a18c" },
|
|
258808
|
+
{ key: "index.html", contentType: "text/html; charset=utf-8", offset: 5157252, length: 4924, sha256: "5cdee1e087cdba735d779469a48c42ac1ef3f37c5a582b7a46ad39eb7c949ad8" },
|
|
258809
|
+
{ key: "ios-glass-preview.css", contentType: "text/css; charset=utf-8", offset: 5162176, length: 11457, sha256: "6cb2b75264fa5fa2b4d28851878a5eab0712900e8b3a6c2370cc661d6d820805" },
|
|
258810
|
+
{ key: "kit-tab-bar.css", contentType: "text/css; charset=utf-8", offset: 5173633, length: 1171, sha256: "9e2c3a0faaf05d5471badf167a4d3bdf1c4e6dd65c432eea6d254158bfd99585" },
|
|
258811
|
+
{ key: "t5-frame.html", contentType: "text/html; charset=utf-8", offset: 5174804, length: 24303, sha256: "7ee3dbacf4e6da69c1c7085a2423e33e2adaec933cd897fb2ee2391e3277c3ae" },
|
|
258812
|
+
{ key: "t5-worker-frame.html", contentType: "text/html; charset=utf-8", offset: 5199107, length: 24320, sha256: "d24f399a1fcfa7f696a0d96aadbc983d2624b45712dae9a15545f6914dbb9506" }
|
|
258524
258813
|
];
|
|
258525
258814
|
}
|
|
258526
258815
|
});
|
|
@@ -269759,9 +270048,11 @@ ${rows}
|
|
|
269759
270048
|
function renderTs(table) {
|
|
269760
270049
|
const sorted3 = {};
|
|
269761
270050
|
const nav = {};
|
|
270051
|
+
const renderer = {};
|
|
269762
270052
|
for (const k3 of Object.keys(table).sort()) {
|
|
269763
270053
|
sorted3[k3] = table[k3];
|
|
269764
270054
|
if (k3.startsWith("runtime.nav.") || k3.startsWith("runtime.offline.") || k3.startsWith("runtime.lightbox.") || k3.startsWith("runtime.auth.") || k3 === "runtime.state.loading" || k3 === "runtime.state.retry") nav[k3] = table[k3];
|
|
270055
|
+
if (!RENDERER_EXCLUDE.has(k3) && RENDERER_PREFIXES.some((p2) => k3.startsWith(p2))) renderer[k3] = table[k3];
|
|
269765
270056
|
}
|
|
269766
270057
|
return HEADER3("TypeScript") + `
|
|
269767
270058
|
/** \`key -> English\` (ICU MessageFormat) for every runtime-owned string. Read only through \`runtimeText\`. */
|
|
@@ -269769,6 +270060,9 @@ export const RUNTIME_COPY_DEFAULTS: Readonly<Record<string, string>> = ${JSON.st
|
|
|
269769
270060
|
|
|
269770
270061
|
/** The \`runtime.nav.*\` slice alone \u2014 what the web host's entry chunk reads, so it never carries the whole table. */
|
|
269771
270062
|
export const RUNTIME_NAV_COPY: Readonly<Record<string, string>> = ${JSON.stringify(nav, null, 2)};
|
|
270063
|
+
|
|
270064
|
+
/** The component / state / dialog / webview slice \u2014 what the renderer's \`rcopy\` reads, so the entry never carries boot, lightbox, nav, offline or worker copy. */
|
|
270065
|
+
export const RUNTIME_RENDERER_COPY: Readonly<Record<string, string>> = ${JSON.stringify(renderer, null, 2)};
|
|
269772
270066
|
`;
|
|
269773
270067
|
}
|
|
269774
270068
|
function rowId(key4) {
|
|
@@ -269803,7 +270097,7 @@ function expectedOutputs(table = loadTable()) {
|
|
|
269803
270097
|
}
|
|
269804
270098
|
return out2;
|
|
269805
270099
|
}
|
|
269806
|
-
var REPO_ROOT8, TABLE_PATH, SWIFT_OUT, KOTLIN_OUT, TS_OUT, HEADER3, RUNTIME_KIND;
|
|
270100
|
+
var REPO_ROOT8, TABLE_PATH, SWIFT_OUT, KOTLIN_OUT, TS_OUT, HEADER3, RENDERER_PREFIXES, RENDERER_EXCLUDE, RUNTIME_KIND;
|
|
269807
270101
|
var init_runtime_copy = __esm({
|
|
269808
270102
|
"../l10n/runtime-copy.ts"() {
|
|
269809
270103
|
init_define_HHP_CATALOG();
|
|
@@ -269816,6 +270110,8 @@ var init_runtime_copy = __esm({
|
|
|
269816
270110
|
// Regenerate: npm run l10n:runtime. The ${lang} half of the runtime's offline copy floor (#6298);
|
|
269817
270111
|
// the app's served \`$t:\` catalog wins over every value here.
|
|
269818
270112
|
`;
|
|
270113
|
+
RENDERER_PREFIXES = ["runtime.component.", "runtime.state.retry", "runtime.state.takeAction", "runtime.state.server.", "runtime.state.offline.", "runtime.state.permission.", "runtime.state.signIn.", "runtime.nav.resizeSheet", "runtime.nav.dismiss", "runtime.dialog.cancel", "runtime.dialog.confirm", "runtime.dialog.delete", "runtime.webview.pageError"];
|
|
270114
|
+
RENDERER_EXCLUDE = /* @__PURE__ */ new Set(["runtime.component.image.label", "runtime.component.image.openPreview", "runtime.component.region.failed", "runtime.component.list.empty"]);
|
|
269819
270115
|
RUNTIME_KIND = "Runtime.native";
|
|
269820
270116
|
if (false) main();
|
|
269821
270117
|
}
|