{"version":3,"file":"presentation.cjs","sources":["../../src/presentation.ts"],"sourcesContent":["import {removeUndefinedLocaleResources} from 'sanity'\n\nexport default removeUndefinedLocaleResources({\n  /** The status of the channel connection */\n  'channel.status_connected': undefined, // 'Connected'\n  /** The status of the channel connection */\n  'channel.status_connecting': undefined, // 'Connecting'\n  /** The status of the channel connection */\n  'channel.status_disconnected': undefined, // 'Disconnected'\n  /** The status of the channel connection */\n  'channel.status_reconnecting': undefined, // 'Reconnecting'\n\n  /** The title shown above the document list */\n  'document-list-pane.document-list.title': undefined, // 'Documents on this page'\n  /** The text shown if the document list is unable to render */\n  'document-list-pane.error.text': undefined, // 'Could not render the document list'\n\n  /** The text shown if the document editor is unable to render */\n  'document-pane.error.text': undefined, // 'Could not render the document editor'\n\n  /** The text shown on the button for bypassing after a connection has failed */\n  'error-card.continue-button.text': undefined, // 'Continue anyway'\n  /** The text shown on the button for retrying after a connection has failed */\n  'error-card.retry-button.text': undefined, // 'Retry'\n  /** The title on the card shown after a connection has failed */\n  'error-card.title': undefined, // 'An error occurred'\n\n  /** The text shown when the document is used in a single location */\n  'locations-banner.locations-count_one': undefined, // 'Used on one page'\n  /** The text shown when the document is used in multiple locations */\n  'locations-banner.locations-count_other': undefined, // 'Used on {{count}} pages'\n  /** The text shown when a resolver exists but the document is not used in any locations */\n  'locations-banner.locations-count_zero': undefined, // 'Not used on any pages'\n  /** The text shown whilst the locations resolver is executing */\n  'locations-banner.resolving.text': undefined, // 'Resolving locations...'\n\n  /** The label shown on a main document in the list pane */\n  'main-document.label': undefined, // 'Main document'\n  /** The warning message text shown when a defined resolver fails to return a main document */\n  'main-document.missing.text': undefined, // 'Missing a main document for <Code>{{path}}</Code>'\n\n  /** The label for the tab that shows the document editor at narrow viewports */\n  'narrow-tabs.content-tab.label': undefined, // 'Structure'\n  /** The label for the tab that shows the navigator at narrow viewports */\n  'narrow-tabs.navigator-tab.label': undefined, // 'Navigator'\n  /** The label for the tab that shows the preview at narrow viewports */\n  'narrow-tabs.preview-tab.label': undefined, // 'Presentation'\n\n  /** The label for a generic error message */\n  'presentation-error.label': undefined, // 'Error message'\n\n  /** The toast description for the error message explaining that the iframe is blocked from loading due to a security mismatch. */\n  'preview-frame.configuration.error.description': undefined, // 'The preview iframe is configured to load <Code>{{targetOrigin}}</Code>, but the reported origin is <Code>{{reportedOrigin}}</Code>. Presentation Tool is unable to connect to unknown origins for security purposes. Update your <Code>presentationTool.allowOrigins</Code> configuration to allow connecting to Visual Editing and Loaders.'\n  /** The title of the error toast that shows when the preview iframe times out while waiting for a connection over comlink to establish, and the root cause is discovered to be that the iframe is loading on an URL origin that's not in the allow list. */\n  'preview-frame.configuration.error.title': undefined, // 'Preview URL origin mismatch'\n  /** The text shown when the preview frame cannot connect to Presentation */\n  'preview-frame.connection.error.text': undefined, // 'Could not connect to the preview'\n  /** The text shown on the button for dismissing the error overlay after a timeout */\n  'preview-frame.continue-button.text': undefined, // 'Continue anyway'\n  /** The label for the loader's connection status */\n  'preview-frame.loader.connection-status.label': undefined, // 'Loader connection status'\n  /** The `aria-label` for the navigator toggle button */\n  'preview-frame.navigator.toggle-button.aria-label': undefined, // 'Toggle navigator'\n  /** The tooltip text for the navigator toggle button */\n  'preview-frame.navigator.toggle-button.tooltip': undefined, // 'Toggle navigator'\n  /** The label for the overlay's connection status */\n  'preview-frame.overlay.connection-status.label': undefined, // 'Overlay connection status'\n  /** The text shown on the overlay toggle button */\n  'preview-frame.overlay.toggle-button.text': undefined, // 'Edit'\n  /** The text shown on the overlay toggle tooltip when overlays are enabled */\n  'preview-frame.overlay.toggle-button.tooltip_disable': undefined, // 'Disable edit overlay'\n  /** The text shown on the overlay toggle tooltip when overlays are disabled */\n  'preview-frame.overlay.toggle-button.tooltip_enable': undefined, // 'Enable edit overlay'\n  /** The text description for the published perspective switcher menu item */\n  'preview-frame.perspective.published.text': undefined, // 'View this page with published content'\n  /** The `aria-label` for the refresh button */\n  'preview-frame.refresh-button.aria-label': undefined, // 'Refresh preview'\n  /** The tooltip text for the refresh button */\n  'preview-frame.refresh-button.tooltip': undefined, // 'Refresh preview'\n  /** The `aria-label` for the button that opens the share menu */\n  'preview-frame.share-button.aria-label': undefined, // 'Share this preview'\n  /** Text describing the current status of the preview frame */\n  'preview-frame.status_connecting': undefined, // 'Connecting.'\n  /** Text describing the current status of the preview frame */\n  'preview-frame.status_loading': undefined, // 'Loading.'\n  /** Text describing the current status of the preview frame */\n  'preview-frame.status_refreshing': undefined, // 'Refreshing.'\n  /** Text describing the current status of the preview frame */\n  'preview-frame.status_reloading': undefined, // 'Refreshing.'\n  /** Text describing the current status of the preview frame */\n  'preview-frame.status_timeout': undefined, // 'Unable to connect, check the browser console for more information.'\n  /** The `aria-label` for the button that switches viewport size */\n  'preview-frame.viewport-button.aria-label': undefined, // 'Toggle viewport size'\n  /** The viewport size button tooltip text when switching to a full width viewport */\n  'preview-frame.viewport-button.tooltip_full': undefined, // 'Switch to full viewport'\n  /** The viewport size button tooltip text when switching to a narrow viewport */\n  'preview-frame.viewport-button.tooltip_narrow': undefined, // 'Switch to narrow viewport'\n\n  /** The validation error message shown when the preview location input is missing an origin */\n  'preview-location-input.error_missing-origin': undefined, // 'URL must start with {{origin}}'\n  /** The validation error message shown when the preview location input's base path matches that of the studio */\n  'preview-location-input.error_same-base-path': undefined, // 'URL can’t have the same base path as the Studio {{basePath}}'\n\n  /** The toast description for the error message explaining that the iframe won't navigate to the new preview URL due to an URL origin security mismatch. */\n  'preview-search-param.configuration.error.description': undefined, // 'The router wants to navigate to <Code>{{previewSearchParam}}</Code>, but the origin <Code>{{blockedOrigin}}</Code> is not allowed. Update your <Code>presentationTool.allowOrigins</Code> configuration to allow it.'\n  /** The title of the error toast that shows when attempting to navigate to a preview URL origin that's not in the allow list. */\n  'preview-search-param.configuration.error.title': undefined, // 'Blocked preview URL'\n\n  /** Error toast that notifies that URL Preview Secrets can't be generated as the user lacks ACL grants */\n  'preview-url-secret.missing-grants': undefined, // 'You don\\'t have permission to create URL Preview Secrets. This will likely cause the preview to fail loading.'\n\n  /** Menu item in the share preview menu that allows copying the current preview URL, if sharing is enabled */\n  'share-preview-menu.copy-url.text': undefined, // 'Copy preview link'\n  /** Fallback message shown when the current user is not permitted to share previews */\n  'share-preview-menu.error_missing-grants': undefined, // 'You don\\'t have permission to share previews. '\n  /** Error message toast that shows the current user does not have permission to toggle sharing of the current preview */\n  'share-preview-menu.error_toggle-sharing': undefined, // 'You don\\'t have permission to toggle sharing of this preview'\n  /** The text show below the QR Code SVG, with instructions on how to use it */\n  'share-preview-menu.qr-code.instructions': undefined, // 'Scan the QR Code to open the preview on your phone.'\n  /** Placeholder message for the QR Code SVG when sharing is yet to be enabled */\n  'share-preview-menu.qr-code.placeholder': undefined, // 'QR code will appear here'\n  /** The <title> for the QR Code SVG that shows a link to the current preview */\n  'share-preview-menu.qr-code.title': undefined, // 'A QR Code which encodes the URL: {{url}}'\n  /** The first line of the label that renders next to the sharing toggle, it renders on two rows */\n  'share-preview-menu.toggle-button.label_first-line': undefined, // 'Share this preview'\n  /** The second line of the label that renders next to the sharing toggle, it renders on two rows */\n  'share-preview-menu.toggle-button.label_second-line': undefined, // 'with anyone who has the link'\n  /** The text shown on the sharing toggle tooltip when sharing is enabled */\n  'share-preview-menu.toggle-button.tooltip_disable': undefined, // 'Disable sharing'\n  /** The text shown on the sharing toggle tooltip when sharing is disabled */\n  'share-preview-menu.toggle-button.tooltip_enable': undefined, // 'Enable sharing'\n\n  /** The status of the clipboard operation when copying a URL */\n  'share-url.clipboard.status_copying': undefined, // 'Copying URL to clipboard…'\n  /** The status of the clipboard operation when copying a URL */\n  'share-url.clipboard.status_failed': undefined, // 'Copy failed'\n  /** The status of the clipboard operation when copying a URL */\n  'share-url.clipboard.status_success': undefined, // 'The URL is copied to the clipboard'\n  /** The status of the clipboard operation when copying a URL */\n  'share-url.clipboard.status_unsupported': undefined, // 'Clipboard not supported'\n  /** The share URL menu item text for opening a preview window */\n  'share-url.menu-item.open.text': undefined, // 'Open preview'\n})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