sanity 6.3.0-next.25 → 6.3.0-next.28
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/lib/_chunks-es/version.js +2 -2
- package/lib/_createContext.js +0 -1
- package/lib/_createContext.js.map +1 -1
- package/lib/_internal.js +0 -1
- package/lib/_internal.js.map +1 -1
- package/lib/_singletons.js +0 -1
- package/lib/_singletons.js.map +1 -1
- package/lib/bundle.css.d.ts +3 -0
- package/lib/cli.js +0 -1
- package/lib/cli.js.map +1 -1
- package/lib/desk.js +0 -1
- package/lib/desk.js.map +1 -1
- package/lib/media-library.js +0 -1
- package/lib/media-library.js.map +1 -1
- package/lib/migrate.js +0 -1
- package/lib/migrate.js.map +1 -1
- package/lib/presentation.js +0 -1
- package/lib/presentation.js.map +1 -1
- package/lib/router.js +0 -1
- package/lib/router.js.map +1 -1
- package/lib/structure.js +0 -1
- package/lib/structure.js.map +1 -1
- package/package.json +11 -11
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var version = "6.3.0-next.
|
|
1
|
+
var version = "6.3.0-next.28+372088b3fa";
|
|
2
2
|
let buildVersion;
|
|
3
3
|
try {
|
|
4
4
|
buildVersion = process.env.PKG_BUILD_VERSION;
|
|
@@ -7,7 +7,7 @@ try {
|
|
|
7
7
|
try {
|
|
8
8
|
buildVersion = buildVersion || // This is replaced by `@sanity/pkg-utils` at build time
|
|
9
9
|
// and must always be references by its full static name, e.g. no optional chaining, no `if (process && process.env)` etc.
|
|
10
|
-
"6.3.0-next.
|
|
10
|
+
"6.3.0-next.28+372088b3fa";
|
|
11
11
|
} catch {
|
|
12
12
|
}
|
|
13
13
|
const SANITY_VERSION = buildVersion || `${version}-dev`;
|
package/lib/_createContext.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_createContext.js","sources":["../src/_createContext/createGlobalScopedContext.ts"],"sourcesContent":["import {type Context, createContext} from 'react'\n\nimport {SANITY_VERSION} from '../core/version'\n\nconst MISSING_CONTEXT_HELP_URL = 'https://www.sanity.io/help/missing-context-error'\n\n/**\n * @internal\n * @hidden\n */\nexport function createGlobalScopedContext<ContextType, const T extends ContextType = ContextType>(\n /**\n * It's important to prefix these keys as they are global\n */\n key: `sanity/_singletons/context/${string}`,\n defaultValue: T,\n): Context<ContextType> {\n const symbol = Symbol.for(key)\n\n /**\n * Prevent errors about re-renders on React SSR on Next.js App Router, as well as JSDOM-based\n * environments such as when we extract schemas etc from the studio configuration.\n */\n if (\n typeof document === 'undefined' ||\n (typeof window !== 'undefined' &&\n typeof window.navigator !== 'undefined' &&\n window.navigator.userAgent.includes('jsdom'))\n ) {\n const context = createContext<ContextType>(defaultValue)\n context.displayName = key\n return context\n }\n\n if (!globalScope[symbol]) {\n globalScope[symbol] = {context: createContext<T>(defaultValue), version: SANITY_VERSION}\n } else if (globalScope[symbol].version !== SANITY_VERSION) {\n throw new TypeError(\n `Duplicate instances of context \"${key}\" with incompatible versions detected: Expected ${SANITY_VERSION} but got ${globalScope[symbol].version}.\\n\\n` +\n `For more information, please visit ${MISSING_CONTEXT_HELP_URL}`,\n )\n } else if (!warned.has(SANITY_VERSION)) {\n console.warn(\n `Duplicate instances of context \"${key}\" detected. This is likely a mistake and may cause unexpected behavior.\\n\\n` +\n `For more information, please visit ${MISSING_CONTEXT_HELP_URL}`,\n )\n warned.add(SANITY_VERSION)\n }\n\n return globalScope[symbol].context\n}\n\nconst warned = new Set<typeof SANITY_VERSION>()\n\n/**\n * Gets the global scope instance in a given environment.\n *\n * The strategy is to return the most modern, and if not, the most common:\n * - The `globalThis` variable is the modern approach to accessing the global scope\n * - The `window` variable is the global scope in a web browser\n * - The `self` variable is the global scope in workers and others\n * - The `global` variable is the global scope in Node.js\n */\nfunction getGlobalScope() {\n if (typeof globalThis !== 'undefined') return globalThis\n if (typeof window !== 'undefined') return window\n if (typeof self !== 'undefined') return self\n if (typeof global !== 'undefined') return global\n\n throw new Error('sanity: could not locate global scope')\n}\n\nconst globalScope = getGlobalScope() as any\n"],"names":["MISSING_CONTEXT_HELP_URL","createGlobalScopedContext","key","defaultValue","symbol","Symbol","for","document","window","navigator","userAgent","includes","context","createContext","displayName","globalScope","version","SANITY_VERSION","TypeError","warned","has","console","warn","add","Set","getGlobalScope","globalThis","self","global","Error"],"mappings":"
|
|
1
|
+
{"version":3,"file":"_createContext.js","sources":["../src/_createContext/createGlobalScopedContext.ts"],"sourcesContent":["import {type Context, createContext} from 'react'\n\nimport {SANITY_VERSION} from '../core/version'\n\nconst MISSING_CONTEXT_HELP_URL = 'https://www.sanity.io/help/missing-context-error'\n\n/**\n * @internal\n * @hidden\n */\nexport function createGlobalScopedContext<ContextType, const T extends ContextType = ContextType>(\n /**\n * It's important to prefix these keys as they are global\n */\n key: `sanity/_singletons/context/${string}`,\n defaultValue: T,\n): Context<ContextType> {\n const symbol = Symbol.for(key)\n\n /**\n * Prevent errors about re-renders on React SSR on Next.js App Router, as well as JSDOM-based\n * environments such as when we extract schemas etc from the studio configuration.\n */\n if (\n typeof document === 'undefined' ||\n (typeof window !== 'undefined' &&\n typeof window.navigator !== 'undefined' &&\n window.navigator.userAgent.includes('jsdom'))\n ) {\n const context = createContext<ContextType>(defaultValue)\n context.displayName = key\n return context\n }\n\n if (!globalScope[symbol]) {\n globalScope[symbol] = {context: createContext<T>(defaultValue), version: SANITY_VERSION}\n } else if (globalScope[symbol].version !== SANITY_VERSION) {\n throw new TypeError(\n `Duplicate instances of context \"${key}\" with incompatible versions detected: Expected ${SANITY_VERSION} but got ${globalScope[symbol].version}.\\n\\n` +\n `For more information, please visit ${MISSING_CONTEXT_HELP_URL}`,\n )\n } else if (!warned.has(SANITY_VERSION)) {\n console.warn(\n `Duplicate instances of context \"${key}\" detected. This is likely a mistake and may cause unexpected behavior.\\n\\n` +\n `For more information, please visit ${MISSING_CONTEXT_HELP_URL}`,\n )\n warned.add(SANITY_VERSION)\n }\n\n return globalScope[symbol].context\n}\n\nconst warned = new Set<typeof SANITY_VERSION>()\n\n/**\n * Gets the global scope instance in a given environment.\n *\n * The strategy is to return the most modern, and if not, the most common:\n * - The `globalThis` variable is the modern approach to accessing the global scope\n * - The `window` variable is the global scope in a web browser\n * - The `self` variable is the global scope in workers and others\n * - The `global` variable is the global scope in Node.js\n */\nfunction getGlobalScope() {\n if (typeof globalThis !== 'undefined') return globalThis\n if (typeof window !== 'undefined') return window\n if (typeof self !== 'undefined') return self\n if (typeof global !== 'undefined') return global\n\n throw new Error('sanity: could not locate global scope')\n}\n\nconst globalScope = getGlobalScope() as any\n"],"names":["MISSING_CONTEXT_HELP_URL","createGlobalScopedContext","key","defaultValue","symbol","Symbol","for","document","window","navigator","userAgent","includes","context","createContext","displayName","globalScope","version","SANITY_VERSION","TypeError","warned","has","console","warn","add","Set","getGlobalScope","globalThis","self","global","Error"],"mappings":";;AAIA,MAAMA,2BAA2B;AAM1B,SAASC,0BAIdC,KACAC,cACsB;AACtB,QAAMC,SAASC,OAAOC,IAAIJ,GAAG;AAM7B,MACE,OAAOK,WAAa,OACnB,OAAOC,SAAW,OACjB,OAAOA,OAAOC,YAAc,OAC5BD,OAAOC,UAAUC,UAAUC,SAAS,OAAO,GAC7C;AACA,UAAMC,UAAUC,cAA2BV,YAAY;AACvDS,WAAAA,QAAQE,cAAcZ,KACfU;AAAAA,EACT;AAEA,MAAI,CAACG,YAAYX,MAAM;AACrBW,gBAAYX,MAAM,IAAI;AAAA,MAACQ,SAASC,cAAiBV,YAAY;AAAA,MAAGa,SAASC;AAAAA,IAAAA;AAAAA,OACpE;AAAA,QAAIF,YAAYX,MAAM,EAAEY,YAAYC;AACzC,YAAM,IAAIC,UACR,mCAAmChB,GAAG,mDAAmDe,cAAc,YAAYF,YAAYX,MAAM,EAAEY,OAAO;AAAA;AAAA,qCACtGhB,wBAAwB,EAClE;AACUmB,WAAOC,IAAIH,cAAc,MACnCI,QAAQC,KACN,mCAAmCpB,GAAG;AAAA;AAAA,qCACEF,wBAAwB,EAClE,GACAmB,OAAOI,IAAIN,cAAc;AAAA,EAAA;AAG3B,SAAOF,YAAYX,MAAM,EAAEQ;AAC7B;AAEA,MAAMO,6BAAaK,IAAAA;AAWnB,SAASC,iBAAiB;AACxB,MAAI,OAAOC,aAAe,IAAa,QAAOA;AAC9C,MAAI,OAAOlB,SAAW,IAAa,QAAOA;AAC1C,MAAI,OAAOmB,OAAS,IAAa,QAAOA;AACxC,MAAI,OAAOC,SAAW,IAAa,QAAOA;AAE1C,QAAM,IAAIC,MAAM,uCAAuC;AACzD;AAEA,MAAMd,cAAcU,eAAAA;"}
|
package/lib/_internal.js
CHANGED
package/lib/_internal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_internal.js","sources":["../src/_internal/index.ts"],"sourcesContent":["/**\n * This export is provided for backwards \"compatibility\" with older versions of the CLI,\n * but will throw an error if accessed. The error message should be helpful and\n * point users to the documentation.\n */\nconst HELP_URL = `https://www.sanity.io/docs/help/sanity-cli-sanity-studio-mismatch`\n\n/**\n * This export is server-side only and not importable in a browser.\n * @internal\n */\nexport const cliProjectCommands: {\n // Actually unused since v3 was released, but kept for type compatibility\n requiredCliVersionRange: string\n // actually `CliCommandDefinition | CliCommandGroupDefinition` but avoiding the import\n commands: Array<unknown>\n} = {\n requiredCliVersionRange: '^7.0.0',\n commands: new Proxy([], {\n get() {\n throw new Error(\n `The installed version of \"@sanity/cli\" is not compatible with the installed version of \"sanity\". ` +\n `For more information on how to resolve this, see ${HELP_URL}`,\n )\n },\n }),\n}\n"],"names":["HELP_URL","cliProjectCommands","requiredCliVersionRange","commands","Proxy","get","Error"],"mappings":"
|
|
1
|
+
{"version":3,"file":"_internal.js","sources":["../src/_internal/index.ts"],"sourcesContent":["/**\n * This export is provided for backwards \"compatibility\" with older versions of the CLI,\n * but will throw an error if accessed. The error message should be helpful and\n * point users to the documentation.\n */\nconst HELP_URL = `https://www.sanity.io/docs/help/sanity-cli-sanity-studio-mismatch`\n\n/**\n * This export is server-side only and not importable in a browser.\n * @internal\n */\nexport const cliProjectCommands: {\n // Actually unused since v3 was released, but kept for type compatibility\n requiredCliVersionRange: string\n // actually `CliCommandDefinition | CliCommandGroupDefinition` but avoiding the import\n commands: Array<unknown>\n} = {\n requiredCliVersionRange: '^7.0.0',\n commands: new Proxy([], {\n get() {\n throw new Error(\n `The installed version of \"@sanity/cli\" is not compatible with the installed version of \"sanity\". ` +\n `For more information on how to resolve this, see ${HELP_URL}`,\n )\n },\n }),\n}\n"],"names":["HELP_URL","cliProjectCommands","requiredCliVersionRange","commands","Proxy","get","Error"],"mappings":"AAKA,MAAMA,WAAW,qEAMJC,qBAKT;AAAA,EACFC,yBAAyB;AAAA,EACzBC,UAAU,IAAIC,MAAM,IAAI;AAAA,IACtBC,MAAM;AACJ,YAAM,IAAIC,MACR,qJACsDN,QAAQ,EAChE;AAAA,IACF;AAAA,EAAA,CACD;AACH;"}
|
package/lib/_singletons.js
CHANGED
package/lib/_singletons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"_singletons.js","sources":["../src/_singletons/context/ActiveWorkspaceMatcherContext.ts","../src/_singletons/context/AddonDatasetContext.ts","../src/_singletons/context/AppIdCacheContext.ts","../src/_singletons/context/ArrayValidationContext.ts","../src/_singletons/context/AssetLimitContext.ts","../src/_singletons/context/CalendarContext.ts","../src/_singletons/context/ChangeIndicatorTrackerContexts.ts","../src/_singletons/context/ColorSchemeSetValueContext.ts","../src/_singletons/context/ColorSchemeValueContext.ts","../src/_singletons/context/CommentInputContext.ts","../src/_singletons/context/CommentsAuthoringPathContext.ts","../src/_singletons/context/CommentsContext.ts","../src/_singletons/context/CommentsEnabledContext.ts","../src/_singletons/context/CommentsIntentContext.ts","../src/_singletons/context/CommentsOnboardingContext.ts","../src/_singletons/context/CommentsSelectedPathContext.ts","../src/_singletons/context/CommentsUpsellContext.ts","../src/_singletons/context/CopyPasteContext.ts","../src/_singletons/context/DialogStackContext.ts","../src/_singletons/context/DiffContext.ts","../src/_singletons/context/DocumentActionPropsContext.ts","../src/_singletons/context/DocumentActionsStateContext.ts","../src/_singletons/context/DocumentChangeContext.ts","../src/_singletons/context/DocumentDivergencesContext.ts","../src/_singletons/context/DocumentFieldActionsContext.ts","../src/_singletons/context/DocumentIdContext.ts","../src/_singletons/context/DocumentLimitContext.ts","../src/_singletons/context/DocumentPaneContext.ts","../src/_singletons/context/DocumentPaneInfoContext.ts","../src/_singletons/context/EnhancedObjectDialogContext.ts","../src/_singletons/context/EventsContext.ts","../src/_singletons/context/FeedbackContext.ts","../src/_singletons/context/FieldActionsContext.ts","../src/_singletons/context/FormBuilderContext.ts","../src/_singletons/context/FormCallbacksContext.ts","../src/_singletons/context/FormFieldPresenceContext.ts","../src/_singletons/context/FormValueContext.ts","../src/_singletons/context/FreeTrialContext.ts","../src/_singletons/context/FullscreenPTEContext.ts","../src/_singletons/context/GetFormValueContext.ts","../src/_singletons/context/HoveredFieldContext.ts","../src/_singletons/context/IsLastPaneContext.ts","../src/_singletons/context/LiveUserApplicationContext.tsx","../src/_singletons/context/LocaleContext.ts","../src/_singletons/context/MediaLibraryIdsContext.ts","../src/_singletons/context/MentionUserContext.ts","../src/_singletons/context/NavbarContext.ts","../src/_singletons/context/PackageVersionInfoContext.tsx","../src/_singletons/context/PaneContext.ts","../src/_singletons/context/PaneLayoutContext.ts","../src/_singletons/context/PaneRouterContext.tsx","../src/_singletons/context/ParseErrorsContext.ts","../src/_singletons/context/PerspectiveContext.ts","../src/_singletons/context/PortableTextMarkersContext.ts","../src/_singletons/context/PortableTextMemberItemElementRefsContext.ts","../src/_singletons/context/PortableTextMemberItemsContext.ts","../src/_singletons/context/PortableTextMemberSchemaTypesContext.ts","../src/_singletons/context/PresenceContext.ts","../src/_singletons/context/PresenceTrackerContexts.ts","../src/_singletons/context/PresentationContext.ts","../src/_singletons/context/PresentationDisplayedDocumentContext.ts","../src/_singletons/context/PresentationDocumentContext.ts","../src/_singletons/context/PresentationNavigateContext.ts","../src/_singletons/context/PresentationPanelsContext.ts","../src/_singletons/context/PresentationParamsContext.ts","../src/_singletons/context/PresentationSharedStateContext.ts","../src/_singletons/context/PreviewCardContext.ts","../src/_singletons/context/ReferenceInputOptionsContext.ts","../src/_singletons/context/ReferenceItemRefContext.ts","../src/_singletons/context/ReleasesMetadataContext.ts","../src/_singletons/context/ReleasesTableContext.ts","../src/_singletons/context/ReleasesUpsellContext.ts","../src/_singletons/context/ResolvedPanesContext.tsx","../src/_singletons/context/ResourceCacheContext.ts","../src/_singletons/context/ReviewChangesContext.ts","../src/_singletons/context/RouterContext.ts","../src/_singletons/context/RouterHistoryContext.ts","../src/_singletons/context/ScheduledPublishingEnabledContext.ts","../src/_singletons/context/SchedulePublishingUpsellContext.ts","../src/_singletons/context/SchedulesContext.ts","../src/_singletons/context/ScrollContext.ts","../src/_singletons/context/SearchContext.ts","../src/_singletons/context/SelectedAnnotationsContext.ts","../src/_singletons/context/SingleDocReleaseContext.ts","../src/_singletons/context/SingleDocReleaseEnabledContext.ts","../src/_singletons/context/SingleDocReleaseUpsellContext.ts","../src/_singletons/context/SortableItemIdContext.ts","../src/_singletons/context/SourceContext.ts","../src/_singletons/context/StructureToolContext.ts","../src/_singletons/context/StudioAnnouncementsContext.ts","../src/_singletons/context/TasksContext.ts","../src/_singletons/context/TasksEnabledContext.ts","../src/_singletons/context/TasksNavigationContext.ts","../src/_singletons/context/TasksUpsellContext.ts","../src/_singletons/context/UserApplicationCacheContext.ts","../src/_singletons/context/UserColorManagerContext.ts","../src/_singletons/context/ValidationContext.ts","../src/_singletons/context/VirtualizerScrollInstanceContext.ts","../src/_singletons/context/VisibleWorkspacesContext.ts","../src/_singletons/context/WorkspaceContext.ts","../src/_singletons/context/WorkspacesContext.ts","../src/_singletons/context/ZIndexContext.ts"],"sourcesContent":["import {createContext} from 'sanity/_createContext'\n\nimport type {ActiveWorkspaceMatcherContextValue} from '../../core/studio/activeWorkspaceMatcher/ActiveWorkspaceMatcherContext'\n\n/** @internal */\nexport const ActiveWorkspaceMatcherContext =\n createContext<ActiveWorkspaceMatcherContextValue | null>(\n 'sanity/_singletons/context/active-workspace-matcher',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {AddonDatasetContextValue} from '../../core/studio/addonDataset/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const AddonDatasetContext = createContext<AddonDatasetContextValue | null>(\n 'sanity/_singletons/context/addon-dataset',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {AppIdCache} from '../../core/store/studio-app/appIdCache'\n\n/**\n * @internal\n */\nexport const AppIdCacheContext = createContext<AppIdCache | null>(\n 'sanity/_singletons/context/app-id-cache',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ArrayValidationState} from '../../core/form/inputs/arrays/common/ArrayValidationContext'\n\n/** @internal */\nexport const ArrayValidationContext = createContext<ArrayValidationState | null>(\n 'sanity/_singletons/context/array-validation',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UpsellDialogViewedInfo} from '../../core/studio/upsell'\nimport type {UpsellData} from '../../core/studio/upsell/types'\n\n/**\n * @internal\n */\nexport interface AssetLimitUpsellContextValue {\n upsellDialogOpen: boolean\n handleOpenDialog: (source: UpsellDialogViewedInfo['source']) => void\n upsellData: UpsellData | null\n telemetryLogs: {\n dialogSecondaryClicked: () => void\n dialogPrimaryClicked: () => void\n }\n}\n\n/**\n * @internal\n */\nexport const AssetLimitUpsellContext = createContext<AssetLimitUpsellContextValue | null>(\n 'sanity/_singletons/context/asset-limit-upsell',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CalendarContextValue} from '../../core/studio/components/navbar/search/components/filters/filter/inputs/date/datePicker/calendar/contexts/CalendarContext'\n\n/**\n * @internal\n */\nexport const CalendarContext = createContext<CalendarContextValue | undefined>(\n 'sanity/_singletons/context/calendar',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {\n ChangeIndicatorTrackerContextStoreType,\n ChangeIndicatorTrackerGetSnapshotType,\n} from '../../core/changeIndicators/ChangeIndicatorTrackerContexts'\n\n/** @internal */\nexport const ChangeIndicatorTrackerContextStore =\n createContext<ChangeIndicatorTrackerContextStoreType>(\n 'sanity/_singletons/context/change-indicator-tracker-store',\n null,\n )\n\n/** @internal */\nexport const ChangeIndicatorTrackerContextGetSnapshot =\n createContext<ChangeIndicatorTrackerGetSnapshotType>(\n 'sanity/_singletons/context/change-indicator-tracker-get-snapshot',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StudioThemeColorSchemeKey} from '../../core/theme/types'\n\n/**\n * The setter for ColorSchemeValueContext, in a separate context to avoid unnecessary re-renders\n * If set to false then the UI should adjust to reflect that the Studio can't change the color scheme\n * @internal\n */\nexport const ColorSchemeSetValueContext = createContext<\n ((nextScheme: StudioThemeColorSchemeKey) => void) | false | null\n>('sanity/_singletons/context/color-scheme-set-value', null)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StudioThemeColorSchemeKey} from '../../core/theme/types'\n\n/**\n * Used to keep track of the internal value, which can be \"system\" in addition to \"light\" and \"dark\"\n * @internal\n */\nexport const ColorSchemeValueContext = createContext<StudioThemeColorSchemeKey | null>(\n 'sanity/_singletons/context/color-scheme-value',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentInputContextValue} from '../../core/comments/components/pte/comment-input/CommentInputProvider'\n\n/**\n * @internal\n */\nexport const CommentInputContext = createContext<CommentInputContextValue | null>(\n 'sanity/_singletons/context/comment-input',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsAuthoringPathContextValue} from '../../core/comments/context/authoring-path/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const CommentsAuthoringPathContext = createContext<CommentsAuthoringPathContextValue | null>(\n 'sanity/_singletons/context/comments-authoring-path',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsContextValue} from '../../core/comments/context/comments/types'\n\n/**\n * @internal\n */\nexport const CommentsContext = createContext<CommentsContextValue | null>(\n 'sanity/_singletons/context/comments',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsEnabledContextValue} from '../../core/comments/context/enabled/types'\n\n// NOTE: We initialize this context with a default value (`enabled: false`)\n// rather than `null` to handle cases where the comments feature's availability\n// isn't explicitly provided by a surrounding provider component. Typically,\n// comments functionality is included by default in all new studio\n// configurations. Therefore, in the absence of a specific provider\n// (CommentsEnabledProvider), we assume that the feature is disabled.\n/**\n * @internal\n */\nexport const CommentsEnabledContext = createContext<CommentsEnabledContextValue>(\n 'sanity/_singletons/context/comments-enabled',\n {\n enabled: false,\n mode: null,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsIntentContextValue} from '../../core/comments/context/intent/types'\n\n/**\n * @internal\n */\nexport const CommentsIntentContext = createContext<CommentsIntentContextValue | undefined>(\n 'sanity/_singletons/context/comments-intent',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsOnboardingContextValue} from '../../core/comments/context/onboarding/types'\n\n/**\n * @internal\n */\nexport const CommentsOnboardingContext = createContext<CommentsOnboardingContextValue | null>(\n 'sanity/_singletons/context/comments-onboarding',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsSelectedPathContextValue} from '../../core/comments/context/selected-path/types'\n\n/**\n * @internal\n */\nexport const CommentsSelectedPathContext = createContext<CommentsSelectedPathContextValue | null>(\n 'sanity/_singletons/context/comments-selected-path',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsUpsellContextValue} from '../../core/comments/context/upsell/types'\n\n/**\n * @internal\n */\nexport const CommentsUpsellContext = createContext<CommentsUpsellContextValue | null>(\n 'sanity/_singletons/context/comments-upsell',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CopyPasteContextType} from '../../core/studio/copyPaste'\n\n/**\n * @beta\n * @hidden\n */\nexport const CopyPasteContext = createContext<CopyPasteContextType | null>(\n 'sanity/_singletons/context/copy-paste',\n null,\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * Entry in the dialog stack.\n *\n * @beta\n */\nexport interface DialogStackEntry {\n id: string\n path?: Path\n}\n\n/**\n * Context value for tracking the dialog stack.\n *\n * @beta\n */\nexport interface DialogStackContextValue {\n /** Stack of dialog entries, last one is the top */\n stack: DialogStackEntry[]\n /** Push a dialog onto the stack */\n push: (id: string, path?: Path) => void\n /** Remove a dialog from the stack */\n remove: (id: string) => void\n /** Update the path of an existing dialog entry */\n update: (id: string, path?: Path) => void\n /** Close dialogs. Pass `{ toParent: true }` to close only the top dialog and navigate to the parent. */\n close: (options?: {\n /**\n * When true, closes only the top dialog and navigates to its parent path.\n * When false or omitted, closes all dialogs and resets to the root path.\n */\n toParent?: boolean\n }) => void\n /** Navigate to a specific path, updating the form path and cleaning up stack entries that are at or deeper than the target. */\n navigateTo: (path: Path) => void\n}\n\n/**\n * Context for tracking the stack of open dialogs.\n *\n * @beta\n */\nexport const DialogStackContext = createContext<DialogStackContextValue | null>(\n 'sanity/_singletons/context/dialog-stack',\n null,\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/** @internal */\nexport const DiffContext = createContext<{\n path: Path\n}>('sanity/_singletons/context/diff', {\n path: [],\n})\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentActionProps} from '../../core/config/document/actions'\n\n/**\n * @internal\n */\nexport const DocumentActionPropsContext = createContext<DocumentActionProps | undefined>(\n 'sanity/_singletons/context/document-action-props',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentActionDescription} from '../../core/config/document/actions'\n\n/**\n * @internal\n */\nexport const DocumentActionsStateContext = createContext<DocumentActionDescription[] | null>(\n 'sanity/_singletons/context/actions-state',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentChangeContextInstance} from '../../core/field/diff/contexts/DocumentChangeContext'\n\n/** @internal */\nexport const DocumentChangeContext = createContext<DocumentChangeContextInstance | null>(\n 'sanity/_singletons/context/document-change',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DivergenceNavigator} from '../../core/divergence/divergenceNavigator'\n\n/**\n * @internal\n */\nexport type DocumentDivergencesContextValue =\n | (DivergenceNavigator & {enabled: true; sessionId: string})\n | {enabled: false; sessionId: null}\n\n/**\n * @internal\n */\nexport const DocumentDivergencesContext = createContext<DocumentDivergencesContextValue>(\n 'sanity/_singletons/context/document-divergences',\n {\n enabled: false,\n sessionId: null,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentFieldAction} from '../../core/config/document/fieldActions/types'\n\n/**\n * @internal\n */\nexport interface DocumentFieldActionsContextValue {\n actions: DocumentFieldAction[]\n}\n\n/**\n * @internal\n */\nexport const DocumentFieldActionsContext = createContext<DocumentFieldActionsContextValue | null>(\n 'sanity/_singletons/context/document-field-actions',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport interface DocumentIdContextValue {\n id: string\n}\n\n/**\n * @internal\n */\nexport const DocumentIdContext = createContext<DocumentIdContextValue | null>(\n 'sanity/_singletons/context/document-id',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UpsellDialogViewedInfo} from '../../core/studio/upsell'\nimport type {UpsellData} from '../../core/studio/upsell/types'\n\n/**\n * @internal\n */\nexport interface DocumentLimitUpsellContextValue {\n upsellDialogOpen: boolean\n handleOpenDialog: (source: UpsellDialogViewedInfo['source']) => void\n handleClose: () => void\n upsellData: UpsellData | null\n telemetryLogs: {\n dialogSecondaryClicked: () => void\n dialogPrimaryClicked: () => void\n panelPrimaryClicked: () => void\n panelSecondaryClicked: () => void\n }\n}\n\n/**\n * @internal\n */\nexport const DocumentLimitUpsellContext = createContext<DocumentLimitUpsellContextValue | null>(\n 'sanity/_singletons/context/document-limit-upsell',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentPaneContextValue} from '../../structure/panes/document/DocumentPaneContext'\n\n/** @internal */\nexport const DocumentPaneContext = createContext<DocumentPaneContextValue | null>(\n 'sanity/_singletons/context/document-pane',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentPaneInfoContextValue} from '../../structure/panes/document/DocumentPaneContext'\n\n/** @internal */\nexport const DocumentPaneInfoContext = createContext<DocumentPaneInfoContextValue | null>(\n 'sanity/_singletons/context/document-pane-info',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {EnhancedObjectDialogContextValue} from '../../core/form/studio/tree-editing/context/enabled/useEnhancedObjectDialog'\n\n/**\n * @internal\n * @deprecated This context is no longer used and will be removed in a future release as we make the enhanced object dialog the default.\n */\nexport const EnhancedObjectDialogContext = createContext<EnhancedObjectDialogContextValue>(\n 'sanity/_singletons/context/enhanced-object-dialog-enabled',\n {\n enabled: false,\n legacyEditing: false,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {EventsStore} from '../../core/store/events/types'\n\n/**\n * @internal\n */\nexport const EventsContext = createContext<EventsStore | null>(\n 'sanity/_singletons/context/events',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TagValue} from '../../core/feedback/types'\nimport type {ConsentStatus} from '../../core/studio/telemetry/telemetryConsent'\n\n/** @internal */\nexport interface FeedbackContextValue {\n telemetryConsent: ConsentStatus\n userName: string | undefined\n userEmail: string | undefined\n tags: Record<string, TagValue>\n}\n\n/** @internal */\nexport const FeedbackContext = createContext<FeedbackContextValue>(\n 'sanity/_singletons/context/feedback',\n {\n telemetryConsent: 'denied',\n userName: undefined,\n userEmail: undefined,\n tags: {},\n },\n)\n","import type {ReactNode} from 'react'\nimport {createContext} from 'sanity/_createContext'\n\nimport type {DocumentFieldActionNode} from '../../core/config/document/fieldActions/types'\nimport type {FieldCommentsProps} from '../../core/form/types/fieldProps'\n\n/** @internal */\nexport interface FieldActionsContextValue {\n actions: DocumentFieldActionNode[]\n __internal_comments?: FieldCommentsProps\n __internal_slot?: ReactNode\n focused?: boolean\n hovered: boolean\n onMouseEnter: () => void\n onMouseLeave: () => void\n}\n\n/** @internal */\nexport const FieldActionsContext = createContext<FieldActionsContextValue>(\n 'sanity/_singletons/context/field-actions',\n {\n actions: [],\n focused: false,\n hovered: false,\n __internal_slot: undefined,\n __internal_comments: undefined,\n onMouseEnter: () => undefined,\n onMouseLeave: () => undefined,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormBuilderContextValue} from '../../core/form/FormBuilderContext'\n\n/**\n * @internal\n */\nexport const FormBuilderContext = createContext<FormBuilderContextValue | null>(\n 'sanity/_singletons/context/form-builder',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormCallbacksValue} from '../../core/form/studio/contexts/FormCallbacks'\n\n/**\n * @internal\n */\nexport const FormCallbacksContext = createContext<FormCallbacksValue | null>(\n 'sanity/_singletons/context/form-callbacks',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormNodePresence} from '../../core/presence/types'\n\n/** @internal */\nexport const FormFieldPresenceContext = createContext<FormNodePresence[]>(\n 'sanity/_singletons/context/form-field-presence',\n [],\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormValueContextValue} from '../../core/form/contexts/FormValue'\n\n/**\n * @internal\n */\nexport const FormValueContext = createContext<FormValueContextValue | null>(\n 'sanity/_singletons/context/form-value',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FreeTrialContextProps} from '../../core/studio/components/navbar/free-trial/FreeTrialContext'\n\n/**\n * @internal\n */\nexport const FreeTrialContext = createContext<FreeTrialContextProps | undefined>(\n 'sanity/_singletons/context/free-trial',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FullscreenPTEContextValue} from '../../core/form/inputs/PortableText/contexts/fullscreen/FullscreenPTEContext'\n\n/**\n * @internal\n */\nexport const FullscreenPTEContext = createContext<FullscreenPTEContextValue>(\n 'sanity/_singletons/context/fullscreen-pte',\n {\n getFullscreenPath: () => undefined,\n setFullscreenPath: () => {},\n hasAnyFullscreen: () => false,\n allFullscreenPaths: [],\n },\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n * @hidden\n */\nexport type GetFormValueContextValue = (path: Path) => unknown\n\n/**\n * @internal\n */\nexport const GetFormValueContext = createContext<GetFormValueContextValue | null>(\n 'sanity/_singletons/context/get-form-value',\n null,\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/** @internal */\nexport interface HoveredFieldContextValue {\n store: {\n subscribe: (onStoreCallback: () => void) => () => void\n getSnapshot: () => string[]\n }\n onMouseEnter: (path: Path) => void\n onMouseLeave: (path: Path) => void\n}\n\n/** @internal */\nexport const HoveredFieldContext = createContext<HoveredFieldContextValue>(\n 'sanity/_singletons/context/hovered-field',\n {\n store: {\n subscribe: () => () => undefined,\n getSnapshot: () => [],\n },\n onMouseEnter: () => undefined,\n onMouseLeave: () => undefined,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * TODO: remove this context when alternate document-specific context are\n * introduced.\n *\n * The following context is used in the structure tool to set the active\n * document if it's the last pane open in the structure tool. This is a\n * temporary context provider that was introduced when the comments and tasks\n * plugins were refactor and decoupled from the structure tool. ideally this\n * should be removed and replaced with a document-specific context that gives\n * plugin authors access to what the `usePane`, `usePaneRouter`, and\n * `useDocumentPane` provides without exposing specifics from the structure tool\n */\n/**\n * @internal\n */\nexport const IsLastPaneContext = createContext<boolean>(\n 'sanity/_singletons/context/is-last-pane',\n false,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UserApplication} from '../../core/store/userApplications'\n\n/**\n * @hidden\n * @internal\n */\nexport type LiveUserApplicationContextValue = {\n userApplication: UserApplication | undefined\n isLoading: boolean\n}\n/**\n *\n * @hidden\n * @internal\n */\nexport const LiveUserApplicationContext = createContext<LiveUserApplicationContextValue>(\n 'sanity/_singletons/context/live-user-application',\n {\n userApplication: undefined,\n isLoading: true,\n },\n)\n","// oxlint-disable-next-line @sanity/i18n/no-i18next-import -- figure out how to have the linter be fine with importing types-only\nimport type {i18n} from 'i18next'\nimport {createContext} from 'sanity/_createContext'\n\nimport type {Locale} from '../../core/i18n/types'\n\n/**\n * @internal\n * @hidden\n */\nexport interface LocaleContextValue {\n locales: Locale[]\n currentLocale: Locale\n __internal: {\n i18next: i18n\n }\n changeLocale: (newLocale: string) => Promise<void>\n}\n\n/**\n * @internal\n * @hidden\n */\nexport const LocaleContext = createContext<LocaleContextValue | undefined>(\n 'sanity/_singletons/context/locale',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {MediaLibraryIds} from '../../core/form/studio/assetSourceMediaLibrary/shared/MediaLibraryProvider'\n\n/** @internal */\nexport const MediaLibraryIdsContext = createContext<MediaLibraryIds | null>(\n 'sanity/_singletons/context/media-library',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {MentionUserContextValue} from '../../core/tasks/context/mentionUser/types'\n\n/**\n * @internal\n */\nexport const MentionUserContext = createContext<MentionUserContextValue | null>(\n 'sanity/_singletons/context/mention-user',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {NavbarContextValue} from '../../core/studio/StudioLayout'\n\n/** @internal */\nexport const NavbarContext = createContext<NavbarContextValue>(\n 'sanity/_singletons/context/navbar',\n {\n onSearchFullscreenOpenChange: () => '',\n onSearchOpenChange: () => '',\n searchFullscreenOpen: false,\n searchFullscreenPortalEl: null,\n searchOpen: false,\n },\n)\n","import {createContext} from 'sanity/_createContext'\nimport type {SemVer} from 'semver'\n\n/**\n * @hidden\n * @internal\n */\nexport type PackageVersionInfoContextValue = {\n /**\n * Request a new update check\n */\n checkForUpdates: () => void\n\n /**\n * Status of version check (i.e. are we currently checking for updates)\n */\n versionCheckStatus: {lastCheckedAt: Date | null; checking: boolean}\n\n /**\n * Whether this Studio is configured to be auto-updating\n */\n isAutoUpdating: boolean\n\n /**\n * If an importmap for the sanity module exists in the DOM, includes details\n * will be undefined if no importmap is found\n */\n importMapInfo?: {valid: false; error: Error} | {valid: true; minVersion: SemVer; appId?: string}\n\n /**\n * What is the version tagged as latest (periodically checked)\n */\n latestTaggedVersion?: SemVer\n\n /**\n * What version is the Studio currently running\n */\n currentVersion: SemVer\n\n /**\n * What is the current auto-updating version (as periodically resolved via module server and configured via manage)\n */\n autoUpdatingVersion?: SemVer\n}\n/**\n *\n * @hidden\n * @internal\n */\nexport const PackageVersionInfoContext = createContext<PackageVersionInfoContextValue>(\n 'sanity/_singletons/context/package-version-info',\n {\n isAutoUpdating: false,\n checkForUpdates: () => {},\n get currentVersion(): never {\n throw new Error('PackageVersionInfoContext not provided')\n },\n versionCheckStatus: {lastCheckedAt: null, checking: false},\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PaneContextValue} from '../../structure/components/pane/types'\n\n/**\n * @internal\n */\nexport const PaneContext = createContext<PaneContextValue | null>(\n 'sanity/_singletons/context/pane',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PaneLayoutContextValue} from '../../structure/components/pane/types'\n\n/**\n * @internal\n */\nexport const PaneLayoutContext = createContext<PaneLayoutContextValue | null>(\n 'sanity/_singletons/context/pane-layout',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PaneRouterContextValue} from '../../structure/components/paneRouter/types'\n\nfunction missingContext<T = unknown>(): T {\n throw new Error('Pane is missing router context')\n}\n\n/**\n *\n * @hidden\n * @beta\n */\nexport const PaneRouterContext = createContext<PaneRouterContextValue>(\n 'sanity/_singletons/context/pane-router',\n {\n index: 0,\n groupIndex: 0,\n siblingIndex: 0,\n payload: undefined,\n params: {},\n hasGroupSiblings: false,\n groupLength: 0,\n routerPanesState: [],\n BackLink: () => missingContext(),\n ChildLink: () => missingContext(),\n ReferenceChildLink: () => missingContext(),\n handleEditReference: () => missingContext(),\n ParameterizedLink: () => missingContext(),\n replaceCurrent: () => missingContext(),\n closeCurrentAndAfter: () => missingContext(),\n closeCurrent: () => missingContext(),\n duplicateCurrent: () => missingContext(),\n setView: () => missingContext(),\n setParams: () => missingContext(),\n setPayload: () => missingContext(),\n navigateIntent: () => missingContext(),\n createPathWithParams: () => missingContext(),\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ParseError} from '../../core/form/store/utils/mergeParseErrors'\n\n/**\n * Setter passed to inputs via `useReportParseError`. Inputs register a\n * transient parse error keyed by `@sanity/util/paths` `toString(path)`, or\n * clear it by passing `null`.\n *\n * @internal\n */\nexport type SetParseError = (pathKey: string, value: ParseError | null) => void\n\ninterface ParseErrorsContextValue {\n errors: Record<string, ParseError>\n set: SetParseError\n}\n\n/**\n * @internal\n */\nexport const ParseErrorsContext = createContext<ParseErrorsContextValue>(\n 'sanity/_singletons/context/parse-errors',\n {errors: {}, set: () => undefined},\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PerspectiveContextValue} from '../../core/perspective/types'\n\n/**\n *\n * @hidden\n * @beta\n */\nexport const PerspectiveContext = createContext<PerspectiveContextValue | null>(\n 'sanity/_singletons/context/perspective-context',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PortableTextMarker} from '../../core/form/types/_transitional'\n\n/**\n * @internal\n */\nexport const PortableTextMarkersContext = createContext<PortableTextMarker[]>(\n 'sanity/_singletons/context/portable-text-markers',\n [],\n)\n","import {BehaviorSubject} from 'rxjs'\nimport {createContext} from 'sanity/_createContext'\n\n/** @internal */\nexport type PortableTextEditorElement = HTMLDivElement | HTMLSpanElement\n\n/**\n * @internal\n */\nexport const PortableTextMemberItemElementRefsContext = createContext<\n BehaviorSubject<Record<string, PortableTextEditorElement | null | undefined>>\n>('sanity/_singletons/context/portable-text-member-item-element-refs', new BehaviorSubject({}))\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PortableTextMemberItem} from '../../core/form/inputs/PortableText/PortableTextInput'\n\n/**\n * @internal\n */\nexport const PortableTextMemberItemsContext = createContext<PortableTextMemberItem[]>(\n 'sanity/_singletons/context/portable-text-member-items',\n [],\n)\n","import type {PortableTextMemberSchemaTypes} from '@portabletext/sanity-bridge'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * Context for Sanity-specific schema types for Portable Text.\n * This provides access to the full Sanity schema types instead of relying on\n * `editor.schemaTypes` from PTE, which will contain minimal PT schema types\n * when PTE removes its Sanity dependencies.\n *\n * @internal\n */\nexport const PortableTextMemberSchemaTypesContext =\n createContext<PortableTextMemberSchemaTypes | null>(\n 'sanity/_singletons/context/portable-text-member-schema-types',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormNodePresence} from '../../core/presence/types'\n\n/**\n * @internal\n */\nexport const PresenceContext = createContext<FormNodePresence[]>(\n 'sanity/_singletons/context/presence',\n [],\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {\n PresenceTrackerContextStoreType,\n PresenceTrackerGetSnapshotType,\n} from '../../core/presence/overlay/PresenceTrackerContexts'\n\n/** @internal */\nexport const PresenceTrackerContextStore = createContext<PresenceTrackerContextStoreType>(\n 'sanity/_singletons/context/presence-tracker-store',\n null,\n)\n\n/** @internal */\nexport const PresenceTrackerContextGetSnapshot = createContext<PresenceTrackerGetSnapshotType>(\n 'sanity/_singletons/context/presence-tracker-get-snapshot',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationContextValue} from '../../presentation/types'\n\n/**\n * @internal\n */\nexport const PresentationContext = createContext<PresentationContextValue | null>(\n 'sanity/_singletons/context/presentation',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationDisplayedDocumentContextValue} from '../../presentation/loader/types'\n\n/**\n * @internal\n */\nexport const PresentationDisplayedDocumentContext =\n createContext<PresentationDisplayedDocumentContextValue | null>(\n 'sanity/_singletons/context/presentation/displayed-document',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationDocumentContextValue} from '../../presentation/document/types'\n\n/**\n * @internal\n */\nexport const PresentationDocumentContext = createContext<PresentationDocumentContextValue | null>(\n 'sanity/_singletons/context/presentation/document',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationNavigateContextValue} from '../../presentation/types'\n\n/**\n * @internal\n */\nexport const PresentationNavigateContext = createContext<PresentationNavigateContextValue | null>(\n 'sanity/_singletons/context/presentation/navigate',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationPanelsContextValue} from '../../presentation/panels/types'\n\n/**\n * @internal\n */\nexport const PresentationPanelsContext = createContext<PresentationPanelsContextValue | null>(\n 'sanity/_singletons/context/presentation/panels',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationParamsContextValue} from '../../presentation/types'\n\n/**\n * @internal\n */\nexport const PresentationParamsContext = createContext<PresentationParamsContextValue | null>(\n 'sanity/_singletons/context/presentation/params',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationSharedStateContextValue} from '../../presentation/overlays/types'\n\n/**\n * @internal\n */\nexport const PresentationSharedStateContext =\n createContext<PresentationSharedStateContextValue | null>(\n 'sanity/_singletons/context/presentation/shared-state',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PreviewCardContextValue} from '../../core/components/previewCard/PreviewCard'\n\n/**\n * @internal\n */\nexport const PreviewCardContext = createContext<PreviewCardContextValue>(\n 'sanity/_singletons/context/preview-card',\n {\n selected: false,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ReferenceInputOptions} from '../../core/form/studio/contexts/ReferenceInputOptions'\n\n/**\n * @internal\n */\nexport const ReferenceInputOptionsContext = createContext<ReferenceInputOptions>(\n 'sanity/_singletons/context/reference-input-options',\n {},\n)\n","import type {MutableRefObject} from 'react'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport interface ReferenceItemRef {\n menuRef: MutableRefObject<HTMLDivElement | null>\n menuButtonRef: MutableRefObject<HTMLButtonElement | null>\n containerRef: MutableRefObject<HTMLDivElement | null>\n}\n\n/**\n * This is a way to store ref of the menu as well as the container of the ReferenceItem\n * so it can be used down the tree for clickOutside handling\n * @internal\n */\nexport const ReferenceItemRefContext = createContext<ReferenceItemRef | null>(\n 'sanity/_singletons/context/reference-item-ref',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ReleasesMetadataContextValue} from '../../core/releases/contexts/ReleasesMetadataProvider'\n\n/**\n * @internal\n * @hidden\n */\nexport const ReleasesMetadataContext = createContext<ReleasesMetadataContextValue | null>(\n 'sanity/_singletons/context/releases-metadata',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TableContextValue} from '../../core/releases/tool/components/Table/TableProvider'\n\n/**\n * @internal\n */\nexport const TableContext = createContext<TableContextValue | null>(\n 'sanity/_singletons/context/releases-table',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ReleasesUpsellContextValue} from '../../core/releases/contexts/upsell/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const ReleasesUpsellContext = createContext<ReleasesUpsellContextValue | null>(\n 'sanity/_singletons/context/releases-upsell',\n null,\n)\n","import type {ReactNode} from 'react'\nimport {createContext} from 'sanity/_createContext'\n\nimport type {Panes} from '../../structure/structureResolvers/useResolvedPanes'\n\n/**\n * @internal\n */\nexport const ResolvedPanesContext = createContext<Panes | null>(\n 'sanity/_singletons/context/resolved-panes',\n null,\n)\n\n/**\n * @internal\n */\nexport function ResolvedPanesProvider({children, value}: {children: ReactNode; value: Panes}) {\n return <ResolvedPanesContext.Provider value={value}>{children}</ResolvedPanesContext.Provider>\n}\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ResourceCache} from '../../core/store/ResourceCacheProvider'\n\n/**\n * @internal\n */\nexport const ResourceCacheContext = createContext<ResourceCache | null>(\n 'sanity/_singletons/context/resource-cache',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ConnectorContextValue} from '../../core/changeIndicators/ConnectorContext'\n\n/** @internal */\nexport const ReviewChangesContext = createContext<ConnectorContextValue>(\n 'sanity/_singletons/context/review-changes',\n {\n onOpenReviewChanges: () => undefined,\n onSetFocus: () => undefined,\n isReviewChangesOpen: false,\n isInteractive: true,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {RouterContextValue} from '../../router/types'\n\n/**\n * @internal\n */\nexport const RouterContext = createContext<RouterContextValue | null>(\n 'sanity/_singletons/context/router',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {RouterHistory} from '../../core/studio/router'\n\n/**\n * Internal use only. Userland should leverage the public `useRouter` APIs.\n * @internal\n */\nexport const RouterHistoryContext = createContext<RouterHistory | null>(\n 'sanity/_singletons/context/router-history',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {HasUsedScheduledPublishing} from '../../core/scheduledPublishing/tool/contexts/useHasUsedScheduledPublishing'\n\n/**\n * @internal\n */\nexport type ScheduledPublishingEnabledContextValue =\n | {\n enabled: false\n mode: null\n hasUsedScheduledPublishing: HasUsedScheduledPublishing\n }\n | {\n enabled: true\n mode: 'default' | 'upsell'\n hasUsedScheduledPublishing: HasUsedScheduledPublishing\n }\n\nconst DEFAULT: ScheduledPublishingEnabledContextValue = {\n enabled: false,\n mode: null,\n hasUsedScheduledPublishing: {\n used: false,\n loading: false,\n },\n}\n\n/**\n * @internal\n */\nexport const ScheduledPublishingEnabledContext =\n createContext<ScheduledPublishingEnabledContextValue>(\n 'sanity/_singletons/context/scheduled-publishing-enabled',\n DEFAULT,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UpsellDialogViewedInfo} from '../../core/studio/upsell'\nimport type {UpsellData} from '../../core/studio/upsell/types'\n\n/**\n * @internal\n */\nexport interface SchedulePublishUpsellContextValue {\n upsellDialogOpen: boolean\n handleOpenDialog: (source: UpsellDialogViewedInfo['source']) => void\n handleClose: () => void\n upsellData: UpsellData | null\n telemetryLogs: {\n dialogSecondaryClicked: () => void\n dialogPrimaryClicked: () => void\n panelViewed: (source: UpsellDialogViewedInfo['source']) => void\n panelDismissed: () => void\n panelPrimaryClicked: () => void\n panelSecondaryClicked: () => void\n }\n}\n\n/**\n * @internal\n */\nexport const SchedulePublishUpsellContext = createContext<SchedulePublishUpsellContextValue>(\n 'sanity/_singletons/context/schedule-publish-upsell',\n {\n upsellData: null,\n handleOpenDialog: () => null,\n handleClose: () => null,\n upsellDialogOpen: false,\n telemetryLogs: {\n dialogSecondaryClicked: () => null,\n dialogPrimaryClicked: () => null,\n panelViewed: () => null,\n panelDismissed: () => null,\n panelPrimaryClicked: () => null,\n panelSecondaryClicked: () => null,\n },\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\n// oxlint-disable-next-line no-restricted-imports\nimport type {SchedulesContextValue} from '../../core/scheduled-publishing/contexts/Schedules'\n\n/**\n * @deprecated we will be dropping support for scheduled publishing on a future major version\n * @internal\n */\nexport const SchedulesContext = createContext<SchedulesContextValue | undefined>(\n 'sanity/_singletons/context/schedules',\n undefined,\n)\n","import type {PubSub} from 'nano-pubsub'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport const ScrollContext = createContext<null | PubSub<Event>>(\n 'sanity/_singletons/context/scroll',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {SearchContextValue} from '../../core/studio/components/navbar/search/contexts/search/SearchContext'\n\n/**\n * @internal\n */\nexport const SearchContext = createContext<SearchContextValue | undefined>(\n 'sanity/_singletons/context/search',\n undefined,\n)\n","import type {ObjectSchemaType} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * Entry representing a selected annotation for the combined popover\n * @internal\n */\nexport interface AnnotationEntry {\n key: string\n title: string\n schemaType: ObjectSchemaType\n onOpen: () => void\n onRemove: () => void\n referenceElement: HTMLElement | null\n}\n\n/**\n * Context value for tracking selected annotations\n * @internal\n */\nexport interface SelectedAnnotationsContextValue {\n register: (entry: AnnotationEntry) => void\n unregister: (key: string) => void\n annotations: AnnotationEntry[]\n}\n\n/**\n * Context for managing selected annotations in the Portable Text editor.\n * Used by CombinedAnnotationPopover to show all active annotations in a single popover.\n * @internal\n */\nexport const SelectedAnnotationsContext = createContext<SelectedAnnotationsContextValue | null>(\n 'sanity/_singletons/context/selected-annotations',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport interface SingleDocReleaseContextValue {\n /**\n * Sets the scheduled draft perspective into the local router params.\n */\n onSetScheduledDraftPerspective: (releaseId: string) => void\n}\n\n/**\n * @internal\n */\nexport const SingleDocReleaseContext = createContext<SingleDocReleaseContextValue | null>(\n 'sanity/_singletons/context/single-doc-release-context',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport type SingleDocReleaseEnabledContextValue =\n | {enabled: false; mode: null}\n | {enabled: true; mode: 'default' | 'upsell'}\n\nconst DEFAULT: SingleDocReleaseEnabledContextValue = {\n enabled: false,\n mode: null,\n}\n\n/**\n * @internal\n */\nexport const SingleDocReleaseEnabledContext = createContext<SingleDocReleaseEnabledContextValue>(\n 'sanity/_singletons/context/single-doc-release-enabled',\n DEFAULT,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UpsellDialogViewedInfo} from '../../core/studio/upsell'\nimport type {UpsellData} from '../../core/studio/upsell/types'\n\n/**\n * @internal\n */\nexport interface SingleDocReleaseUpsellContextValue {\n upsellDialogOpen: boolean\n handleOpenDialog: (source: UpsellDialogViewedInfo['source']) => void\n handleClose: () => void\n upsellData: UpsellData | null\n telemetryLogs: {\n dialogSecondaryClicked: () => void\n dialogPrimaryClicked: () => void\n panelViewed: (source: UpsellDialogViewedInfo['source']) => void\n panelDismissed: () => void\n panelPrimaryClicked: () => void\n panelSecondaryClicked: () => void\n }\n}\n\n/**\n * @internal\n */\nexport const SingleDocReleaseUpsellContext = createContext<SingleDocReleaseUpsellContextValue>(\n 'sanity/_singletons/context/single-doc-release-upsell',\n {\n upsellData: null,\n handleOpenDialog: () => null,\n handleClose: () => null,\n upsellDialogOpen: false,\n telemetryLogs: {\n dialogSecondaryClicked: () => null,\n dialogPrimaryClicked: () => null,\n panelViewed: () => null,\n panelDismissed: () => null,\n panelPrimaryClicked: () => null,\n panelSecondaryClicked: () => null,\n },\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport const SortableItemIdContext = createContext<string | null>(\n 'sanity/_singletons/context/sortable-item-id',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {Source} from '../../core/config/types'\n\n/**\n * @internal\n */\nexport const SourceContext = createContext<Source | null>('sanity/_singletons/context/source', null)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StructureToolContextValue} from '../../structure/types'\n\n/**\n * @internal\n */\nexport const StructureToolContext = createContext<StructureToolContextValue | null>(\n 'sanity/_singletons/context/structure-tool',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StudioAnnouncementsContextValue} from '../../core/studio/studioAnnouncements/types'\n\n/**\n * @internal\n */\nexport const StudioAnnouncementContext = createContext<StudioAnnouncementsContextValue | undefined>(\n 'sanity/_singletons/context/studioAnnouncements',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksContextValue} from '../../core/tasks/context/tasks/types'\n\n/**\n * @internal\n */\nexport const TasksContext = createContext<TasksContextValue | null>(\n 'sanity/_singletons/context/tasks',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksEnabledContextValue} from '../../core/tasks/context/enabled/types'\n\n// NOTE: We initialize this context with a default value (`enabled: false`)\n// rather than `null` to handle cases where the tasks feature's availability\n// isn't explicitly provided by a surrounding provider component. Typically,\n// Tasks are included by default in all new Studio configurations. Therefore,\n// in the absence of a specific provider (TasksEnabledProvider), we assume that\n// the feature is disabled.\n/**\n * @internal\n */\nexport const TasksEnabledContext = createContext<TasksEnabledContextValue>(\n 'sanity/_singletons/context/tasks-enabled',\n {\n enabled: false,\n mode: null,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksNavigationContextValue} from '../../core/tasks/context/navigation/types'\n\n/**\n * @internal\n */\nexport const TasksNavigationContext = createContext<TasksNavigationContextValue | null>(\n 'sanity/_singletons/context/tasks-navigation',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksUpsellContextValue} from '../../core/tasks/context/upsell/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const TasksUpsellContext = createContext<TasksUpsellContextValue | null>(\n 'sanity/_singletons/context/tasks-upsell',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UserApplicationCache} from '../../core/store/userApplications/userApplicationCache'\n\n/**\n * @internal\n */\nexport const UserApplicationCacheContext = createContext<UserApplicationCache | null>(\n 'sanity/_singletons/context/user-application-cache',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UserColorManager} from '../../core/user-color/types'\n\n/**\n * @internal\n */\nexport const UserColorManagerContext = createContext<UserColorManager | null>(\n 'sanity/_singletons/context/user-color-manager',\n null,\n)\n","import type {ValidationMarker} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport const ValidationContext = createContext<ValidationMarker[]>(\n 'sanity/_singletons/context/validation',\n [],\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {VirtualizerScrollInstance} from '../../core/form/inputs/arrays/ArrayOfObjectsInput/List/useVirtualizerScrollInstance'\n\n/**\n * This is used to store the reference to the scroll element for virtualizer\n * @internal\n */\nexport const VirtualizerScrollInstanceContext = createContext<VirtualizerScrollInstance | null>(\n 'sanity/_singletons/context/virtualizer-scroll-instance',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {VisibleWorkspacesContextValue} from '../../core/studio/workspaces/VisibleWorkspacesProvider'\n\n/** @internal */\nexport const VisibleWorkspacesContext = createContext<VisibleWorkspacesContextValue | null>(\n 'sanity/_singletons/context/visible-workspaces',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {Workspace} from '../../core/config/types'\n\n/**\n * @internal\n */\nexport const WorkspaceContext = createContext<Workspace | null>(\n 'sanity/_singletons/context/workspace',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {WorkspacesContextValue} from '../../core/studio/workspaces/WorkspacesContext'\n\n/** @internal */\nexport const WorkspacesContext = createContext<WorkspacesContextValue | null>(\n 'sanity/_singletons/context/workspaces',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ZIndexContextValue} from '../../core/components/zOffsets/types'\n\n/**\n * @internal\n */\nexport const zIndexContextDefaults: ZIndexContextValue = {\n navbar: 200,\n navbarPopover: 500000,\n navbarDialog: 500001,\n // pane\n pane: 100,\n paneHeader: [110, 15000],\n paneFooter: [120, 20000],\n paneResizer: [130, 25000],\n paneDialog: [140, 5000],\n //\n popover: 200,\n modal: 200,\n movingItem: 10000,\n drawershade: 1000000,\n drawer: 1000001,\n fullscreen: 1200000,\n inspectorDialog: 20000,\n toast: [100, 11000],\n // NOT IN USE\n portal: 200,\n dropdown: 200,\n navbarFixed: 1010,\n fullscreenEdit: 1050,\n popoverBackground: 1060,\n tooltip: 200,\n modalBackground: 2000,\n spinner: 3000,\n}\n\n/**\n * TODO: Rename to `ZOffsetsContext`\n *\n * @internal\n */\nexport const ZIndexContext = createContext<ZIndexContextValue>(\n 'sanity/_singletons/context/z-index',\n zIndexContextDefaults,\n)\n"],"names":["ActiveWorkspaceMatcherContext","createContext","AddonDatasetContext","AppIdCacheContext","ArrayValidationContext","AssetLimitUpsellContext","CalendarContext","undefined","ChangeIndicatorTrackerContextStore","ChangeIndicatorTrackerContextGetSnapshot","ColorSchemeSetValueContext","ColorSchemeValueContext","CommentInputContext","CommentsAuthoringPathContext","CommentsContext","CommentsEnabledContext","enabled","mode","CommentsIntentContext","CommentsOnboardingContext","CommentsSelectedPathContext","CommentsUpsellContext","CopyPasteContext","DialogStackContext","DiffContext","path","DocumentActionPropsContext","DocumentActionsStateContext","DocumentChangeContext","DocumentDivergencesContext","sessionId","DocumentFieldActionsContext","DocumentIdContext","DocumentLimitUpsellContext","DocumentPaneContext","DocumentPaneInfoContext","EnhancedObjectDialogContext","legacyEditing","EventsContext","FeedbackContext","telemetryConsent","userName","userEmail","tags","FieldActionsContext","actions","focused","hovered","__internal_slot","__internal_comments","onMouseEnter","onMouseLeave","FormBuilderContext","FormCallbacksContext","FormFieldPresenceContext","FormValueContext","FreeTrialContext","FullscreenPTEContext","getFullscreenPath","setFullscreenPath","hasAnyFullscreen","allFullscreenPaths","GetFormValueContext","HoveredFieldContext","store","subscribe","getSnapshot","IsLastPaneContext","LiveUserApplicationContext","userApplication","isLoading","LocaleContext","MediaLibraryIdsContext","MentionUserContext","NavbarContext","onSearchFullscreenOpenChange","onSearchOpenChange","searchFullscreenOpen","searchFullscreenPortalEl","searchOpen","PackageVersionInfoContext","isAutoUpdating","checkForUpdates","currentVersion","Error","versionCheckStatus","lastCheckedAt","checking","PaneContext","PaneLayoutContext","missingContext","PaneRouterContext","index","groupIndex","siblingIndex","payload","params","hasGroupSiblings","groupLength","routerPanesState","BackLink","ChildLink","ReferenceChildLink","handleEditReference","ParameterizedLink","replaceCurrent","closeCurrentAndAfter","closeCurrent","duplicateCurrent","setView","setParams","setPayload","navigateIntent","createPathWithParams","ParseErrorsContext","errors","set","PerspectiveContext","PortableTextMarkersContext","PortableTextMemberItemElementRefsContext","BehaviorSubject","PortableTextMemberItemsContext","PortableTextMemberSchemaTypesContext","PresenceContext","PresenceTrackerContextStore","PresenceTrackerContextGetSnapshot","PresentationContext","PresentationDisplayedDocumentContext","PresentationDocumentContext","PresentationNavigateContext","PresentationPanelsContext","PresentationParamsContext","PresentationSharedStateContext","PreviewCardContext","selected","ReferenceInputOptionsContext","ReferenceItemRefContext","ReleasesMetadataContext","TableContext","ReleasesUpsellContext","ResolvedPanesContext","ResolvedPanesProvider","t0","$","_c","children","value","t1","ResourceCacheContext","ReviewChangesContext","onOpenReviewChanges","onSetFocus","isReviewChangesOpen","isInteractive","RouterContext","RouterHistoryContext","DEFAULT","hasUsedScheduledPublishing","used","loading","ScheduledPublishingEnabledContext","SchedulePublishUpsellContext","upsellData","handleOpenDialog","handleClose","upsellDialogOpen","telemetryLogs","dialogSecondaryClicked","dialogPrimaryClicked","panelViewed","panelDismissed","panelPrimaryClicked","panelSecondaryClicked","SchedulesContext","ScrollContext","SearchContext","SelectedAnnotationsContext","SingleDocReleaseContext","SingleDocReleaseEnabledContext","SingleDocReleaseUpsellContext","SortableItemIdContext","SourceContext","StructureToolContext","StudioAnnouncementContext","TasksContext","TasksEnabledContext","TasksNavigationContext","TasksUpsellContext","UserApplicationCacheContext","UserColorManagerContext","ValidationContext","VirtualizerScrollInstanceContext","VisibleWorkspacesContext","WorkspaceContext","WorkspacesContext","zIndexContextDefaults","navbar","navbarPopover","navbarDialog","pane","paneHeader","paneFooter","paneResizer","paneDialog","popover","modal","movingItem","drawershade","drawer","fullscreen","inspectorDialog","toast","portal","dropdown","navbarFixed","fullscreenEdit","popoverBackground","tooltip","modalBackground","spinner","ZIndexContext"],"mappings":";;;;;AAKO,MAAMA,gCACXC,cACE,uDACA,IACF,GCDWC,sBAAsBD,cACjC,4CACA,IACF,GCJaE,oBAAoBF,cAC/B,2CACA,IACF,GCLaG,yBAAyBH,cACpC,+CACA,IACF,GCaaI,0BAA0BJ,cACrC,iDACA,IACF,GCjBaK,kBAAkBL,cAC7B,uCACAM,MACF,GCFaC,qCACXP,cACE,6DACA,IACF,GAGWQ,2CACXR,cACE,oEACA,IACF,GCVWS,6BAA6BT,cAExC,qDAAqD,IAAI,GCH9CU,0BAA0BV,cACrC,iDACA,IACF,GCJaW,sBAAsBX,cACjC,4CACA,IACF,GCFaY,+BAA+BZ,cAC1C,sDACA,IACF,GCJaa,kBAAkBb,cAC7B,uCACA,IACF,GCGac,yBAAyBd,cACpC,+CACA;AAAA,EACEe,SAAS;AAAA,EACTC,MAAM;AACR,CACF,GCZaC,wBAAwBjB,cACnC,8CACAM,MACF,GCHaY,4BAA4BlB,cACvC,kDACA,I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A,EACEe,SAAS;AAAA,EACTC,MAAM;AACR,CACF,GCZayK,yBAAyBzL,cACpC,+CACA,IACF,GCFa0L,qBAAqB1L,cAChC,2CACA,IACF,GCJa2L,8BAA8B3L,cACzC,qDACA,IACF,GCHa4L,0BAA0B5L,cACrC,iDACA,IACF,GCJa6L,oBAAoB7L,cAC/B,yCACA,CAAA,CACF,GCDa8L,mCAAmC9L,cAC9C,0DACA,IACF,GCNa+L,2BAA2B/L,cACtC,iDACA,IACF,GCDagM,mBAAmBhM,cAC9B,wCACA,IACF,GCLaiM,oBAAoBjM,cAC/B,yCACA,IACF,GCDakM,wBAA4C;AAAA,EACvDC,QAAQ;AAAA,EACRC,eAAe;AAAA,EACfC,cAAc;AAAA;AAAA,EAEdC,MAAM;AAAA,EACNC,YAAY,CAAC,KAAK,IAAK;AAAA,EACvBC,YAAY,CAAC,KAAK,GAAK;AAAA,EACvBC,aAAa,CAAC,KAAK,IAAK;AAAA,EACxBC,YAAY,CAAC,KAAK,GAAI;AAAA;AAAA,EAEtBC,SAAS;AAAA,EACTC,OAAO;AAAA,EACPC,YAAY;AAAA,EACZC,aAAa;AAAA,EACbC,QAAQ;AAAA,EACRC,YAAY;AAAA,EACZC,iBAAiB;AAAA,EACjBC,OAAO,CAAC,KAAK,IAAK;AAAA;AAAA,EAElBC,QAAQ;AAAA,EACRC,UAAU;AAAA,EACVC,aAAa;AAAA,EACbC,gBAAgB;AAAA,EAChBC,mBAAmB;AAAA,EACnBC,SAAS;AAAA,EACTC,iBAAiB;AAAA,EACjBC,SAAS;AACX,GAOaC,gBAAgB3N,cAC3B,sCACAkM,qBACF;"}
|
|
1
|
+
{"version":3,"file":"_singletons.js","sources":["../src/_singletons/context/ActiveWorkspaceMatcherContext.ts","../src/_singletons/context/AddonDatasetContext.ts","../src/_singletons/context/AppIdCacheContext.ts","../src/_singletons/context/ArrayValidationContext.ts","../src/_singletons/context/AssetLimitContext.ts","../src/_singletons/context/CalendarContext.ts","../src/_singletons/context/ChangeIndicatorTrackerContexts.ts","../src/_singletons/context/ColorSchemeSetValueContext.ts","../src/_singletons/context/ColorSchemeValueContext.ts","../src/_singletons/context/CommentInputContext.ts","../src/_singletons/context/CommentsAuthoringPathContext.ts","../src/_singletons/context/CommentsContext.ts","../src/_singletons/context/CommentsEnabledContext.ts","../src/_singletons/context/CommentsIntentContext.ts","../src/_singletons/context/CommentsOnboardingContext.ts","../src/_singletons/context/CommentsSelectedPathContext.ts","../src/_singletons/context/CommentsUpsellContext.ts","../src/_singletons/context/CopyPasteContext.ts","../src/_singletons/context/DialogStackContext.ts","../src/_singletons/context/DiffContext.ts","../src/_singletons/context/DocumentActionPropsContext.ts","../src/_singletons/context/DocumentActionsStateContext.ts","../src/_singletons/context/DocumentChangeContext.ts","../src/_singletons/context/DocumentDivergencesContext.ts","../src/_singletons/context/DocumentFieldActionsContext.ts","../src/_singletons/context/DocumentIdContext.ts","../src/_singletons/context/DocumentLimitContext.ts","../src/_singletons/context/DocumentPaneContext.ts","../src/_singletons/context/DocumentPaneInfoContext.ts","../src/_singletons/context/EnhancedObjectDialogContext.ts","../src/_singletons/context/EventsContext.ts","../src/_singletons/context/FeedbackContext.ts","../src/_singletons/context/FieldActionsContext.ts","../src/_singletons/context/FormBuilderContext.ts","../src/_singletons/context/FormCallbacksContext.ts","../src/_singletons/context/FormFieldPresenceContext.ts","../src/_singletons/context/FormValueContext.ts","../src/_singletons/context/FreeTrialContext.ts","../src/_singletons/context/FullscreenPTEContext.ts","../src/_singletons/context/GetFormValueContext.ts","../src/_singletons/context/HoveredFieldContext.ts","../src/_singletons/context/IsLastPaneContext.ts","../src/_singletons/context/LiveUserApplicationContext.tsx","../src/_singletons/context/LocaleContext.ts","../src/_singletons/context/MediaLibraryIdsContext.ts","../src/_singletons/context/MentionUserContext.ts","../src/_singletons/context/NavbarContext.ts","../src/_singletons/context/PackageVersionInfoContext.tsx","../src/_singletons/context/PaneContext.ts","../src/_singletons/context/PaneLayoutContext.ts","../src/_singletons/context/PaneRouterContext.tsx","../src/_singletons/context/ParseErrorsContext.ts","../src/_singletons/context/PerspectiveContext.ts","../src/_singletons/context/PortableTextMarkersContext.ts","../src/_singletons/context/PortableTextMemberItemElementRefsContext.ts","../src/_singletons/context/PortableTextMemberItemsContext.ts","../src/_singletons/context/PortableTextMemberSchemaTypesContext.ts","../src/_singletons/context/PresenceContext.ts","../src/_singletons/context/PresenceTrackerContexts.ts","../src/_singletons/context/PresentationContext.ts","../src/_singletons/context/PresentationDisplayedDocumentContext.ts","../src/_singletons/context/PresentationDocumentContext.ts","../src/_singletons/context/PresentationNavigateContext.ts","../src/_singletons/context/PresentationPanelsContext.ts","../src/_singletons/context/PresentationParamsContext.ts","../src/_singletons/context/PresentationSharedStateContext.ts","../src/_singletons/context/PreviewCardContext.ts","../src/_singletons/context/ReferenceInputOptionsContext.ts","../src/_singletons/context/ReferenceItemRefContext.ts","../src/_singletons/context/ReleasesMetadataContext.ts","../src/_singletons/context/ReleasesTableContext.ts","../src/_singletons/context/ReleasesUpsellContext.ts","../src/_singletons/context/ResolvedPanesContext.tsx","../src/_singletons/context/ResourceCacheContext.ts","../src/_singletons/context/ReviewChangesContext.ts","../src/_singletons/context/RouterContext.ts","../src/_singletons/context/RouterHistoryContext.ts","../src/_singletons/context/ScheduledPublishingEnabledContext.ts","../src/_singletons/context/SchedulePublishingUpsellContext.ts","../src/_singletons/context/SchedulesContext.ts","../src/_singletons/context/ScrollContext.ts","../src/_singletons/context/SearchContext.ts","../src/_singletons/context/SelectedAnnotationsContext.ts","../src/_singletons/context/SingleDocReleaseContext.ts","../src/_singletons/context/SingleDocReleaseEnabledContext.ts","../src/_singletons/context/SingleDocReleaseUpsellContext.ts","../src/_singletons/context/SortableItemIdContext.ts","../src/_singletons/context/SourceContext.ts","../src/_singletons/context/StructureToolContext.ts","../src/_singletons/context/StudioAnnouncementsContext.ts","../src/_singletons/context/TasksContext.ts","../src/_singletons/context/TasksEnabledContext.ts","../src/_singletons/context/TasksNavigationContext.ts","../src/_singletons/context/TasksUpsellContext.ts","../src/_singletons/context/UserApplicationCacheContext.ts","../src/_singletons/context/UserColorManagerContext.ts","../src/_singletons/context/ValidationContext.ts","../src/_singletons/context/VirtualizerScrollInstanceContext.ts","../src/_singletons/context/VisibleWorkspacesContext.ts","../src/_singletons/context/WorkspaceContext.ts","../src/_singletons/context/WorkspacesContext.ts","../src/_singletons/context/ZIndexContext.ts"],"sourcesContent":["import {createContext} from 'sanity/_createContext'\n\nimport type {ActiveWorkspaceMatcherContextValue} from '../../core/studio/activeWorkspaceMatcher/ActiveWorkspaceMatcherContext'\n\n/** @internal */\nexport const ActiveWorkspaceMatcherContext =\n createContext<ActiveWorkspaceMatcherContextValue | null>(\n 'sanity/_singletons/context/active-workspace-matcher',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {AddonDatasetContextValue} from '../../core/studio/addonDataset/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const AddonDatasetContext = createContext<AddonDatasetContextValue | null>(\n 'sanity/_singletons/context/addon-dataset',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {AppIdCache} from '../../core/store/studio-app/appIdCache'\n\n/**\n * @internal\n */\nexport const AppIdCacheContext = createContext<AppIdCache | null>(\n 'sanity/_singletons/context/app-id-cache',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ArrayValidationState} from '../../core/form/inputs/arrays/common/ArrayValidationContext'\n\n/** @internal */\nexport const ArrayValidationContext = createContext<ArrayValidationState | null>(\n 'sanity/_singletons/context/array-validation',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UpsellDialogViewedInfo} from '../../core/studio/upsell'\nimport type {UpsellData} from '../../core/studio/upsell/types'\n\n/**\n * @internal\n */\nexport interface AssetLimitUpsellContextValue {\n upsellDialogOpen: boolean\n handleOpenDialog: (source: UpsellDialogViewedInfo['source']) => void\n upsellData: UpsellData | null\n telemetryLogs: {\n dialogSecondaryClicked: () => void\n dialogPrimaryClicked: () => void\n }\n}\n\n/**\n * @internal\n */\nexport const AssetLimitUpsellContext = createContext<AssetLimitUpsellContextValue | null>(\n 'sanity/_singletons/context/asset-limit-upsell',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CalendarContextValue} from '../../core/studio/components/navbar/search/components/filters/filter/inputs/date/datePicker/calendar/contexts/CalendarContext'\n\n/**\n * @internal\n */\nexport const CalendarContext = createContext<CalendarContextValue | undefined>(\n 'sanity/_singletons/context/calendar',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {\n ChangeIndicatorTrackerContextStoreType,\n ChangeIndicatorTrackerGetSnapshotType,\n} from '../../core/changeIndicators/ChangeIndicatorTrackerContexts'\n\n/** @internal */\nexport const ChangeIndicatorTrackerContextStore =\n createContext<ChangeIndicatorTrackerContextStoreType>(\n 'sanity/_singletons/context/change-indicator-tracker-store',\n null,\n )\n\n/** @internal */\nexport const ChangeIndicatorTrackerContextGetSnapshot =\n createContext<ChangeIndicatorTrackerGetSnapshotType>(\n 'sanity/_singletons/context/change-indicator-tracker-get-snapshot',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StudioThemeColorSchemeKey} from '../../core/theme/types'\n\n/**\n * The setter for ColorSchemeValueContext, in a separate context to avoid unnecessary re-renders\n * If set to false then the UI should adjust to reflect that the Studio can't change the color scheme\n * @internal\n */\nexport const ColorSchemeSetValueContext = createContext<\n ((nextScheme: StudioThemeColorSchemeKey) => void) | false | null\n>('sanity/_singletons/context/color-scheme-set-value', null)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StudioThemeColorSchemeKey} from '../../core/theme/types'\n\n/**\n * Used to keep track of the internal value, which can be \"system\" in addition to \"light\" and \"dark\"\n * @internal\n */\nexport const ColorSchemeValueContext = createContext<StudioThemeColorSchemeKey | null>(\n 'sanity/_singletons/context/color-scheme-value',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentInputContextValue} from '../../core/comments/components/pte/comment-input/CommentInputProvider'\n\n/**\n * @internal\n */\nexport const CommentInputContext = createContext<CommentInputContextValue | null>(\n 'sanity/_singletons/context/comment-input',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsAuthoringPathContextValue} from '../../core/comments/context/authoring-path/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const CommentsAuthoringPathContext = createContext<CommentsAuthoringPathContextValue | null>(\n 'sanity/_singletons/context/comments-authoring-path',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsContextValue} from '../../core/comments/context/comments/types'\n\n/**\n * @internal\n */\nexport const CommentsContext = createContext<CommentsContextValue | null>(\n 'sanity/_singletons/context/comments',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsEnabledContextValue} from '../../core/comments/context/enabled/types'\n\n// NOTE: We initialize this context with a default value (`enabled: false`)\n// rather than `null` to handle cases where the comments feature's availability\n// isn't explicitly provided by a surrounding provider component. Typically,\n// comments functionality is included by default in all new studio\n// configurations. Therefore, in the absence of a specific provider\n// (CommentsEnabledProvider), we assume that the feature is disabled.\n/**\n * @internal\n */\nexport const CommentsEnabledContext = createContext<CommentsEnabledContextValue>(\n 'sanity/_singletons/context/comments-enabled',\n {\n enabled: false,\n mode: null,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsIntentContextValue} from '../../core/comments/context/intent/types'\n\n/**\n * @internal\n */\nexport const CommentsIntentContext = createContext<CommentsIntentContextValue | undefined>(\n 'sanity/_singletons/context/comments-intent',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsOnboardingContextValue} from '../../core/comments/context/onboarding/types'\n\n/**\n * @internal\n */\nexport const CommentsOnboardingContext = createContext<CommentsOnboardingContextValue | null>(\n 'sanity/_singletons/context/comments-onboarding',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsSelectedPathContextValue} from '../../core/comments/context/selected-path/types'\n\n/**\n * @internal\n */\nexport const CommentsSelectedPathContext = createContext<CommentsSelectedPathContextValue | null>(\n 'sanity/_singletons/context/comments-selected-path',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CommentsUpsellContextValue} from '../../core/comments/context/upsell/types'\n\n/**\n * @internal\n */\nexport const CommentsUpsellContext = createContext<CommentsUpsellContextValue | null>(\n 'sanity/_singletons/context/comments-upsell',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {CopyPasteContextType} from '../../core/studio/copyPaste'\n\n/**\n * @beta\n * @hidden\n */\nexport const CopyPasteContext = createContext<CopyPasteContextType | null>(\n 'sanity/_singletons/context/copy-paste',\n null,\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * Entry in the dialog stack.\n *\n * @beta\n */\nexport interface DialogStackEntry {\n id: string\n path?: Path\n}\n\n/**\n * Context value for tracking the dialog stack.\n *\n * @beta\n */\nexport interface DialogStackContextValue {\n /** Stack of dialog entries, last one is the top */\n stack: DialogStackEntry[]\n /** Push a dialog onto the stack */\n push: (id: string, path?: Path) => void\n /** Remove a dialog from the stack */\n remove: (id: string) => void\n /** Update the path of an existing dialog entry */\n update: (id: string, path?: Path) => void\n /** Close dialogs. Pass `{ toParent: true }` to close only the top dialog and navigate to the parent. */\n close: (options?: {\n /**\n * When true, closes only the top dialog and navigates to its parent path.\n * When false or omitted, closes all dialogs and resets to the root path.\n */\n toParent?: boolean\n }) => void\n /** Navigate to a specific path, updating the form path and cleaning up stack entries that are at or deeper than the target. */\n navigateTo: (path: Path) => void\n}\n\n/**\n * Context for tracking the stack of open dialogs.\n *\n * @beta\n */\nexport const DialogStackContext = createContext<DialogStackContextValue | null>(\n 'sanity/_singletons/context/dialog-stack',\n null,\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/** @internal */\nexport const DiffContext = createContext<{\n path: Path\n}>('sanity/_singletons/context/diff', {\n path: [],\n})\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentActionProps} from '../../core/config/document/actions'\n\n/**\n * @internal\n */\nexport const DocumentActionPropsContext = createContext<DocumentActionProps | undefined>(\n 'sanity/_singletons/context/document-action-props',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentActionDescription} from '../../core/config/document/actions'\n\n/**\n * @internal\n */\nexport const DocumentActionsStateContext = createContext<DocumentActionDescription[] | null>(\n 'sanity/_singletons/context/actions-state',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentChangeContextInstance} from '../../core/field/diff/contexts/DocumentChangeContext'\n\n/** @internal */\nexport const DocumentChangeContext = createContext<DocumentChangeContextInstance | null>(\n 'sanity/_singletons/context/document-change',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DivergenceNavigator} from '../../core/divergence/divergenceNavigator'\n\n/**\n * @internal\n */\nexport type DocumentDivergencesContextValue =\n | (DivergenceNavigator & {enabled: true; sessionId: string})\n | {enabled: false; sessionId: null}\n\n/**\n * @internal\n */\nexport const DocumentDivergencesContext = createContext<DocumentDivergencesContextValue>(\n 'sanity/_singletons/context/document-divergences',\n {\n enabled: false,\n sessionId: null,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentFieldAction} from '../../core/config/document/fieldActions/types'\n\n/**\n * @internal\n */\nexport interface DocumentFieldActionsContextValue {\n actions: DocumentFieldAction[]\n}\n\n/**\n * @internal\n */\nexport const DocumentFieldActionsContext = createContext<DocumentFieldActionsContextValue | null>(\n 'sanity/_singletons/context/document-field-actions',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport interface DocumentIdContextValue {\n id: string\n}\n\n/**\n * @internal\n */\nexport const DocumentIdContext = createContext<DocumentIdContextValue | null>(\n 'sanity/_singletons/context/document-id',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UpsellDialogViewedInfo} from '../../core/studio/upsell'\nimport type {UpsellData} from '../../core/studio/upsell/types'\n\n/**\n * @internal\n */\nexport interface DocumentLimitUpsellContextValue {\n upsellDialogOpen: boolean\n handleOpenDialog: (source: UpsellDialogViewedInfo['source']) => void\n handleClose: () => void\n upsellData: UpsellData | null\n telemetryLogs: {\n dialogSecondaryClicked: () => void\n dialogPrimaryClicked: () => void\n panelPrimaryClicked: () => void\n panelSecondaryClicked: () => void\n }\n}\n\n/**\n * @internal\n */\nexport const DocumentLimitUpsellContext = createContext<DocumentLimitUpsellContextValue | null>(\n 'sanity/_singletons/context/document-limit-upsell',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentPaneContextValue} from '../../structure/panes/document/DocumentPaneContext'\n\n/** @internal */\nexport const DocumentPaneContext = createContext<DocumentPaneContextValue | null>(\n 'sanity/_singletons/context/document-pane',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {DocumentPaneInfoContextValue} from '../../structure/panes/document/DocumentPaneContext'\n\n/** @internal */\nexport const DocumentPaneInfoContext = createContext<DocumentPaneInfoContextValue | null>(\n 'sanity/_singletons/context/document-pane-info',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {EnhancedObjectDialogContextValue} from '../../core/form/studio/tree-editing/context/enabled/useEnhancedObjectDialog'\n\n/**\n * @internal\n * @deprecated This context is no longer used and will be removed in a future release as we make the enhanced object dialog the default.\n */\nexport const EnhancedObjectDialogContext = createContext<EnhancedObjectDialogContextValue>(\n 'sanity/_singletons/context/enhanced-object-dialog-enabled',\n {\n enabled: false,\n legacyEditing: false,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {EventsStore} from '../../core/store/events/types'\n\n/**\n * @internal\n */\nexport const EventsContext = createContext<EventsStore | null>(\n 'sanity/_singletons/context/events',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TagValue} from '../../core/feedback/types'\nimport type {ConsentStatus} from '../../core/studio/telemetry/telemetryConsent'\n\n/** @internal */\nexport interface FeedbackContextValue {\n telemetryConsent: ConsentStatus\n userName: string | undefined\n userEmail: string | undefined\n tags: Record<string, TagValue>\n}\n\n/** @internal */\nexport const FeedbackContext = createContext<FeedbackContextValue>(\n 'sanity/_singletons/context/feedback',\n {\n telemetryConsent: 'denied',\n userName: undefined,\n userEmail: undefined,\n tags: {},\n },\n)\n","import type {ReactNode} from 'react'\nimport {createContext} from 'sanity/_createContext'\n\nimport type {DocumentFieldActionNode} from '../../core/config/document/fieldActions/types'\nimport type {FieldCommentsProps} from '../../core/form/types/fieldProps'\n\n/** @internal */\nexport interface FieldActionsContextValue {\n actions: DocumentFieldActionNode[]\n __internal_comments?: FieldCommentsProps\n __internal_slot?: ReactNode\n focused?: boolean\n hovered: boolean\n onMouseEnter: () => void\n onMouseLeave: () => void\n}\n\n/** @internal */\nexport const FieldActionsContext = createContext<FieldActionsContextValue>(\n 'sanity/_singletons/context/field-actions',\n {\n actions: [],\n focused: false,\n hovered: false,\n __internal_slot: undefined,\n __internal_comments: undefined,\n onMouseEnter: () => undefined,\n onMouseLeave: () => undefined,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormBuilderContextValue} from '../../core/form/FormBuilderContext'\n\n/**\n * @internal\n */\nexport const FormBuilderContext = createContext<FormBuilderContextValue | null>(\n 'sanity/_singletons/context/form-builder',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormCallbacksValue} from '../../core/form/studio/contexts/FormCallbacks'\n\n/**\n * @internal\n */\nexport const FormCallbacksContext = createContext<FormCallbacksValue | null>(\n 'sanity/_singletons/context/form-callbacks',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormNodePresence} from '../../core/presence/types'\n\n/** @internal */\nexport const FormFieldPresenceContext = createContext<FormNodePresence[]>(\n 'sanity/_singletons/context/form-field-presence',\n [],\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormValueContextValue} from '../../core/form/contexts/FormValue'\n\n/**\n * @internal\n */\nexport const FormValueContext = createContext<FormValueContextValue | null>(\n 'sanity/_singletons/context/form-value',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FreeTrialContextProps} from '../../core/studio/components/navbar/free-trial/FreeTrialContext'\n\n/**\n * @internal\n */\nexport const FreeTrialContext = createContext<FreeTrialContextProps | undefined>(\n 'sanity/_singletons/context/free-trial',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FullscreenPTEContextValue} from '../../core/form/inputs/PortableText/contexts/fullscreen/FullscreenPTEContext'\n\n/**\n * @internal\n */\nexport const FullscreenPTEContext = createContext<FullscreenPTEContextValue>(\n 'sanity/_singletons/context/fullscreen-pte',\n {\n getFullscreenPath: () => undefined,\n setFullscreenPath: () => {},\n hasAnyFullscreen: () => false,\n allFullscreenPaths: [],\n },\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n * @hidden\n */\nexport type GetFormValueContextValue = (path: Path) => unknown\n\n/**\n * @internal\n */\nexport const GetFormValueContext = createContext<GetFormValueContextValue | null>(\n 'sanity/_singletons/context/get-form-value',\n null,\n)\n","import type {Path} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/** @internal */\nexport interface HoveredFieldContextValue {\n store: {\n subscribe: (onStoreCallback: () => void) => () => void\n getSnapshot: () => string[]\n }\n onMouseEnter: (path: Path) => void\n onMouseLeave: (path: Path) => void\n}\n\n/** @internal */\nexport const HoveredFieldContext = createContext<HoveredFieldContextValue>(\n 'sanity/_singletons/context/hovered-field',\n {\n store: {\n subscribe: () => () => undefined,\n getSnapshot: () => [],\n },\n onMouseEnter: () => undefined,\n onMouseLeave: () => undefined,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * TODO: remove this context when alternate document-specific context are\n * introduced.\n *\n * The following context is used in the structure tool to set the active\n * document if it's the last pane open in the structure tool. This is a\n * temporary context provider that was introduced when the comments and tasks\n * plugins were refactor and decoupled from the structure tool. ideally this\n * should be removed and replaced with a document-specific context that gives\n * plugin authors access to what the `usePane`, `usePaneRouter`, and\n * `useDocumentPane` provides without exposing specifics from the structure tool\n */\n/**\n * @internal\n */\nexport const IsLastPaneContext = createContext<boolean>(\n 'sanity/_singletons/context/is-last-pane',\n false,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UserApplication} from '../../core/store/userApplications'\n\n/**\n * @hidden\n * @internal\n */\nexport type LiveUserApplicationContextValue = {\n userApplication: UserApplication | undefined\n isLoading: boolean\n}\n/**\n *\n * @hidden\n * @internal\n */\nexport const LiveUserApplicationContext = createContext<LiveUserApplicationContextValue>(\n 'sanity/_singletons/context/live-user-application',\n {\n userApplication: undefined,\n isLoading: true,\n },\n)\n","// oxlint-disable-next-line @sanity/i18n/no-i18next-import -- figure out how to have the linter be fine with importing types-only\nimport type {i18n} from 'i18next'\nimport {createContext} from 'sanity/_createContext'\n\nimport type {Locale} from '../../core/i18n/types'\n\n/**\n * @internal\n * @hidden\n */\nexport interface LocaleContextValue {\n locales: Locale[]\n currentLocale: Locale\n __internal: {\n i18next: i18n\n }\n changeLocale: (newLocale: string) => Promise<void>\n}\n\n/**\n * @internal\n * @hidden\n */\nexport const LocaleContext = createContext<LocaleContextValue | undefined>(\n 'sanity/_singletons/context/locale',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {MediaLibraryIds} from '../../core/form/studio/assetSourceMediaLibrary/shared/MediaLibraryProvider'\n\n/** @internal */\nexport const MediaLibraryIdsContext = createContext<MediaLibraryIds | null>(\n 'sanity/_singletons/context/media-library',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {MentionUserContextValue} from '../../core/tasks/context/mentionUser/types'\n\n/**\n * @internal\n */\nexport const MentionUserContext = createContext<MentionUserContextValue | null>(\n 'sanity/_singletons/context/mention-user',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {NavbarContextValue} from '../../core/studio/StudioLayout'\n\n/** @internal */\nexport const NavbarContext = createContext<NavbarContextValue>(\n 'sanity/_singletons/context/navbar',\n {\n onSearchFullscreenOpenChange: () => '',\n onSearchOpenChange: () => '',\n searchFullscreenOpen: false,\n searchFullscreenPortalEl: null,\n searchOpen: false,\n },\n)\n","import {createContext} from 'sanity/_createContext'\nimport type {SemVer} from 'semver'\n\n/**\n * @hidden\n * @internal\n */\nexport type PackageVersionInfoContextValue = {\n /**\n * Request a new update check\n */\n checkForUpdates: () => void\n\n /**\n * Status of version check (i.e. are we currently checking for updates)\n */\n versionCheckStatus: {lastCheckedAt: Date | null; checking: boolean}\n\n /**\n * Whether this Studio is configured to be auto-updating\n */\n isAutoUpdating: boolean\n\n /**\n * If an importmap for the sanity module exists in the DOM, includes details\n * will be undefined if no importmap is found\n */\n importMapInfo?: {valid: false; error: Error} | {valid: true; minVersion: SemVer; appId?: string}\n\n /**\n * What is the version tagged as latest (periodically checked)\n */\n latestTaggedVersion?: SemVer\n\n /**\n * What version is the Studio currently running\n */\n currentVersion: SemVer\n\n /**\n * What is the current auto-updating version (as periodically resolved via module server and configured via manage)\n */\n autoUpdatingVersion?: SemVer\n}\n/**\n *\n * @hidden\n * @internal\n */\nexport const PackageVersionInfoContext = createContext<PackageVersionInfoContextValue>(\n 'sanity/_singletons/context/package-version-info',\n {\n isAutoUpdating: false,\n checkForUpdates: () => {},\n get currentVersion(): never {\n throw new Error('PackageVersionInfoContext not provided')\n },\n versionCheckStatus: {lastCheckedAt: null, checking: false},\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PaneContextValue} from '../../structure/components/pane/types'\n\n/**\n * @internal\n */\nexport const PaneContext = createContext<PaneContextValue | null>(\n 'sanity/_singletons/context/pane',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PaneLayoutContextValue} from '../../structure/components/pane/types'\n\n/**\n * @internal\n */\nexport const PaneLayoutContext = createContext<PaneLayoutContextValue | null>(\n 'sanity/_singletons/context/pane-layout',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PaneRouterContextValue} from '../../structure/components/paneRouter/types'\n\nfunction missingContext<T = unknown>(): T {\n throw new Error('Pane is missing router context')\n}\n\n/**\n *\n * @hidden\n * @beta\n */\nexport const PaneRouterContext = createContext<PaneRouterContextValue>(\n 'sanity/_singletons/context/pane-router',\n {\n index: 0,\n groupIndex: 0,\n siblingIndex: 0,\n payload: undefined,\n params: {},\n hasGroupSiblings: false,\n groupLength: 0,\n routerPanesState: [],\n BackLink: () => missingContext(),\n ChildLink: () => missingContext(),\n ReferenceChildLink: () => missingContext(),\n handleEditReference: () => missingContext(),\n ParameterizedLink: () => missingContext(),\n replaceCurrent: () => missingContext(),\n closeCurrentAndAfter: () => missingContext(),\n closeCurrent: () => missingContext(),\n duplicateCurrent: () => missingContext(),\n setView: () => missingContext(),\n setParams: () => missingContext(),\n setPayload: () => missingContext(),\n navigateIntent: () => missingContext(),\n createPathWithParams: () => missingContext(),\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ParseError} from '../../core/form/store/utils/mergeParseErrors'\n\n/**\n * Setter passed to inputs via `useReportParseError`. Inputs register a\n * transient parse error keyed by `@sanity/util/paths` `toString(path)`, or\n * clear it by passing `null`.\n *\n * @internal\n */\nexport type SetParseError = (pathKey: string, value: ParseError | null) => void\n\ninterface ParseErrorsContextValue {\n errors: Record<string, ParseError>\n set: SetParseError\n}\n\n/**\n * @internal\n */\nexport const ParseErrorsContext = createContext<ParseErrorsContextValue>(\n 'sanity/_singletons/context/parse-errors',\n {errors: {}, set: () => undefined},\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PerspectiveContextValue} from '../../core/perspective/types'\n\n/**\n *\n * @hidden\n * @beta\n */\nexport const PerspectiveContext = createContext<PerspectiveContextValue | null>(\n 'sanity/_singletons/context/perspective-context',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PortableTextMarker} from '../../core/form/types/_transitional'\n\n/**\n * @internal\n */\nexport const PortableTextMarkersContext = createContext<PortableTextMarker[]>(\n 'sanity/_singletons/context/portable-text-markers',\n [],\n)\n","import {BehaviorSubject} from 'rxjs'\nimport {createContext} from 'sanity/_createContext'\n\n/** @internal */\nexport type PortableTextEditorElement = HTMLDivElement | HTMLSpanElement\n\n/**\n * @internal\n */\nexport const PortableTextMemberItemElementRefsContext = createContext<\n BehaviorSubject<Record<string, PortableTextEditorElement | null | undefined>>\n>('sanity/_singletons/context/portable-text-member-item-element-refs', new BehaviorSubject({}))\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PortableTextMemberItem} from '../../core/form/inputs/PortableText/PortableTextInput'\n\n/**\n * @internal\n */\nexport const PortableTextMemberItemsContext = createContext<PortableTextMemberItem[]>(\n 'sanity/_singletons/context/portable-text-member-items',\n [],\n)\n","import type {PortableTextMemberSchemaTypes} from '@portabletext/sanity-bridge'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * Context for Sanity-specific schema types for Portable Text.\n * This provides access to the full Sanity schema types instead of relying on\n * `editor.schemaTypes` from PTE, which will contain minimal PT schema types\n * when PTE removes its Sanity dependencies.\n *\n * @internal\n */\nexport const PortableTextMemberSchemaTypesContext =\n createContext<PortableTextMemberSchemaTypes | null>(\n 'sanity/_singletons/context/portable-text-member-schema-types',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {FormNodePresence} from '../../core/presence/types'\n\n/**\n * @internal\n */\nexport const PresenceContext = createContext<FormNodePresence[]>(\n 'sanity/_singletons/context/presence',\n [],\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {\n PresenceTrackerContextStoreType,\n PresenceTrackerGetSnapshotType,\n} from '../../core/presence/overlay/PresenceTrackerContexts'\n\n/** @internal */\nexport const PresenceTrackerContextStore = createContext<PresenceTrackerContextStoreType>(\n 'sanity/_singletons/context/presence-tracker-store',\n null,\n)\n\n/** @internal */\nexport const PresenceTrackerContextGetSnapshot = createContext<PresenceTrackerGetSnapshotType>(\n 'sanity/_singletons/context/presence-tracker-get-snapshot',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationContextValue} from '../../presentation/types'\n\n/**\n * @internal\n */\nexport const PresentationContext = createContext<PresentationContextValue | null>(\n 'sanity/_singletons/context/presentation',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationDisplayedDocumentContextValue} from '../../presentation/loader/types'\n\n/**\n * @internal\n */\nexport const PresentationDisplayedDocumentContext =\n createContext<PresentationDisplayedDocumentContextValue | null>(\n 'sanity/_singletons/context/presentation/displayed-document',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationDocumentContextValue} from '../../presentation/document/types'\n\n/**\n * @internal\n */\nexport const PresentationDocumentContext = createContext<PresentationDocumentContextValue | null>(\n 'sanity/_singletons/context/presentation/document',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationNavigateContextValue} from '../../presentation/types'\n\n/**\n * @internal\n */\nexport const PresentationNavigateContext = createContext<PresentationNavigateContextValue | null>(\n 'sanity/_singletons/context/presentation/navigate',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationPanelsContextValue} from '../../presentation/panels/types'\n\n/**\n * @internal\n */\nexport const PresentationPanelsContext = createContext<PresentationPanelsContextValue | null>(\n 'sanity/_singletons/context/presentation/panels',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationParamsContextValue} from '../../presentation/types'\n\n/**\n * @internal\n */\nexport const PresentationParamsContext = createContext<PresentationParamsContextValue | null>(\n 'sanity/_singletons/context/presentation/params',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PresentationSharedStateContextValue} from '../../presentation/overlays/types'\n\n/**\n * @internal\n */\nexport const PresentationSharedStateContext =\n createContext<PresentationSharedStateContextValue | null>(\n 'sanity/_singletons/context/presentation/shared-state',\n null,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {PreviewCardContextValue} from '../../core/components/previewCard/PreviewCard'\n\n/**\n * @internal\n */\nexport const PreviewCardContext = createContext<PreviewCardContextValue>(\n 'sanity/_singletons/context/preview-card',\n {\n selected: false,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ReferenceInputOptions} from '../../core/form/studio/contexts/ReferenceInputOptions'\n\n/**\n * @internal\n */\nexport const ReferenceInputOptionsContext = createContext<ReferenceInputOptions>(\n 'sanity/_singletons/context/reference-input-options',\n {},\n)\n","import type {MutableRefObject} from 'react'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport interface ReferenceItemRef {\n menuRef: MutableRefObject<HTMLDivElement | null>\n menuButtonRef: MutableRefObject<HTMLButtonElement | null>\n containerRef: MutableRefObject<HTMLDivElement | null>\n}\n\n/**\n * This is a way to store ref of the menu as well as the container of the ReferenceItem\n * so it can be used down the tree for clickOutside handling\n * @internal\n */\nexport const ReferenceItemRefContext = createContext<ReferenceItemRef | null>(\n 'sanity/_singletons/context/reference-item-ref',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ReleasesMetadataContextValue} from '../../core/releases/contexts/ReleasesMetadataProvider'\n\n/**\n * @internal\n * @hidden\n */\nexport const ReleasesMetadataContext = createContext<ReleasesMetadataContextValue | null>(\n 'sanity/_singletons/context/releases-metadata',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TableContextValue} from '../../core/releases/tool/components/Table/TableProvider'\n\n/**\n * @internal\n */\nexport const TableContext = createContext<TableContextValue | null>(\n 'sanity/_singletons/context/releases-table',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ReleasesUpsellContextValue} from '../../core/releases/contexts/upsell/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const ReleasesUpsellContext = createContext<ReleasesUpsellContextValue | null>(\n 'sanity/_singletons/context/releases-upsell',\n null,\n)\n","import type {ReactNode} from 'react'\nimport {createContext} from 'sanity/_createContext'\n\nimport type {Panes} from '../../structure/structureResolvers/useResolvedPanes'\n\n/**\n * @internal\n */\nexport const ResolvedPanesContext = createContext<Panes | null>(\n 'sanity/_singletons/context/resolved-panes',\n null,\n)\n\n/**\n * @internal\n */\nexport function ResolvedPanesProvider({children, value}: {children: ReactNode; value: Panes}) {\n return <ResolvedPanesContext.Provider value={value}>{children}</ResolvedPanesContext.Provider>\n}\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ResourceCache} from '../../core/store/ResourceCacheProvider'\n\n/**\n * @internal\n */\nexport const ResourceCacheContext = createContext<ResourceCache | null>(\n 'sanity/_singletons/context/resource-cache',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ConnectorContextValue} from '../../core/changeIndicators/ConnectorContext'\n\n/** @internal */\nexport const ReviewChangesContext = createContext<ConnectorContextValue>(\n 'sanity/_singletons/context/review-changes',\n {\n onOpenReviewChanges: () => undefined,\n onSetFocus: () => undefined,\n isReviewChangesOpen: false,\n isInteractive: true,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {RouterContextValue} from '../../router/types'\n\n/**\n * @internal\n */\nexport const RouterContext = createContext<RouterContextValue | null>(\n 'sanity/_singletons/context/router',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {RouterHistory} from '../../core/studio/router'\n\n/**\n * Internal use only. Userland should leverage the public `useRouter` APIs.\n * @internal\n */\nexport const RouterHistoryContext = createContext<RouterHistory | null>(\n 'sanity/_singletons/context/router-history',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {HasUsedScheduledPublishing} from '../../core/scheduledPublishing/tool/contexts/useHasUsedScheduledPublishing'\n\n/**\n * @internal\n */\nexport type ScheduledPublishingEnabledContextValue =\n | {\n enabled: false\n mode: null\n hasUsedScheduledPublishing: HasUsedScheduledPublishing\n }\n | {\n enabled: true\n mode: 'default' | 'upsell'\n hasUsedScheduledPublishing: HasUsedScheduledPublishing\n }\n\nconst DEFAULT: ScheduledPublishingEnabledContextValue = {\n enabled: false,\n mode: null,\n hasUsedScheduledPublishing: {\n used: false,\n loading: false,\n },\n}\n\n/**\n * @internal\n */\nexport const ScheduledPublishingEnabledContext =\n createContext<ScheduledPublishingEnabledContextValue>(\n 'sanity/_singletons/context/scheduled-publishing-enabled',\n DEFAULT,\n )\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UpsellDialogViewedInfo} from '../../core/studio/upsell'\nimport type {UpsellData} from '../../core/studio/upsell/types'\n\n/**\n * @internal\n */\nexport interface SchedulePublishUpsellContextValue {\n upsellDialogOpen: boolean\n handleOpenDialog: (source: UpsellDialogViewedInfo['source']) => void\n handleClose: () => void\n upsellData: UpsellData | null\n telemetryLogs: {\n dialogSecondaryClicked: () => void\n dialogPrimaryClicked: () => void\n panelViewed: (source: UpsellDialogViewedInfo['source']) => void\n panelDismissed: () => void\n panelPrimaryClicked: () => void\n panelSecondaryClicked: () => void\n }\n}\n\n/**\n * @internal\n */\nexport const SchedulePublishUpsellContext = createContext<SchedulePublishUpsellContextValue>(\n 'sanity/_singletons/context/schedule-publish-upsell',\n {\n upsellData: null,\n handleOpenDialog: () => null,\n handleClose: () => null,\n upsellDialogOpen: false,\n telemetryLogs: {\n dialogSecondaryClicked: () => null,\n dialogPrimaryClicked: () => null,\n panelViewed: () => null,\n panelDismissed: () => null,\n panelPrimaryClicked: () => null,\n panelSecondaryClicked: () => null,\n },\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\n// oxlint-disable-next-line no-restricted-imports\nimport type {SchedulesContextValue} from '../../core/scheduled-publishing/contexts/Schedules'\n\n/**\n * @deprecated we will be dropping support for scheduled publishing on a future major version\n * @internal\n */\nexport const SchedulesContext = createContext<SchedulesContextValue | undefined>(\n 'sanity/_singletons/context/schedules',\n undefined,\n)\n","import type {PubSub} from 'nano-pubsub'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport const ScrollContext = createContext<null | PubSub<Event>>(\n 'sanity/_singletons/context/scroll',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {SearchContextValue} from '../../core/studio/components/navbar/search/contexts/search/SearchContext'\n\n/**\n * @internal\n */\nexport const SearchContext = createContext<SearchContextValue | undefined>(\n 'sanity/_singletons/context/search',\n undefined,\n)\n","import type {ObjectSchemaType} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * Entry representing a selected annotation for the combined popover\n * @internal\n */\nexport interface AnnotationEntry {\n key: string\n title: string\n schemaType: ObjectSchemaType\n onOpen: () => void\n onRemove: () => void\n referenceElement: HTMLElement | null\n}\n\n/**\n * Context value for tracking selected annotations\n * @internal\n */\nexport interface SelectedAnnotationsContextValue {\n register: (entry: AnnotationEntry) => void\n unregister: (key: string) => void\n annotations: AnnotationEntry[]\n}\n\n/**\n * Context for managing selected annotations in the Portable Text editor.\n * Used by CombinedAnnotationPopover to show all active annotations in a single popover.\n * @internal\n */\nexport const SelectedAnnotationsContext = createContext<SelectedAnnotationsContextValue | null>(\n 'sanity/_singletons/context/selected-annotations',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport interface SingleDocReleaseContextValue {\n /**\n * Sets the scheduled draft perspective into the local router params.\n */\n onSetScheduledDraftPerspective: (releaseId: string) => void\n}\n\n/**\n * @internal\n */\nexport const SingleDocReleaseContext = createContext<SingleDocReleaseContextValue | null>(\n 'sanity/_singletons/context/single-doc-release-context',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport type SingleDocReleaseEnabledContextValue =\n | {enabled: false; mode: null}\n | {enabled: true; mode: 'default' | 'upsell'}\n\nconst DEFAULT: SingleDocReleaseEnabledContextValue = {\n enabled: false,\n mode: null,\n}\n\n/**\n * @internal\n */\nexport const SingleDocReleaseEnabledContext = createContext<SingleDocReleaseEnabledContextValue>(\n 'sanity/_singletons/context/single-doc-release-enabled',\n DEFAULT,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UpsellDialogViewedInfo} from '../../core/studio/upsell'\nimport type {UpsellData} from '../../core/studio/upsell/types'\n\n/**\n * @internal\n */\nexport interface SingleDocReleaseUpsellContextValue {\n upsellDialogOpen: boolean\n handleOpenDialog: (source: UpsellDialogViewedInfo['source']) => void\n handleClose: () => void\n upsellData: UpsellData | null\n telemetryLogs: {\n dialogSecondaryClicked: () => void\n dialogPrimaryClicked: () => void\n panelViewed: (source: UpsellDialogViewedInfo['source']) => void\n panelDismissed: () => void\n panelPrimaryClicked: () => void\n panelSecondaryClicked: () => void\n }\n}\n\n/**\n * @internal\n */\nexport const SingleDocReleaseUpsellContext = createContext<SingleDocReleaseUpsellContextValue>(\n 'sanity/_singletons/context/single-doc-release-upsell',\n {\n upsellData: null,\n handleOpenDialog: () => null,\n handleClose: () => null,\n upsellDialogOpen: false,\n telemetryLogs: {\n dialogSecondaryClicked: () => null,\n dialogPrimaryClicked: () => null,\n panelViewed: () => null,\n panelDismissed: () => null,\n panelPrimaryClicked: () => null,\n panelSecondaryClicked: () => null,\n },\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport const SortableItemIdContext = createContext<string | null>(\n 'sanity/_singletons/context/sortable-item-id',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {Source} from '../../core/config/types'\n\n/**\n * @internal\n */\nexport const SourceContext = createContext<Source | null>('sanity/_singletons/context/source', null)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StructureToolContextValue} from '../../structure/types'\n\n/**\n * @internal\n */\nexport const StructureToolContext = createContext<StructureToolContextValue | null>(\n 'sanity/_singletons/context/structure-tool',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {StudioAnnouncementsContextValue} from '../../core/studio/studioAnnouncements/types'\n\n/**\n * @internal\n */\nexport const StudioAnnouncementContext = createContext<StudioAnnouncementsContextValue | undefined>(\n 'sanity/_singletons/context/studioAnnouncements',\n undefined,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksContextValue} from '../../core/tasks/context/tasks/types'\n\n/**\n * @internal\n */\nexport const TasksContext = createContext<TasksContextValue | null>(\n 'sanity/_singletons/context/tasks',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksEnabledContextValue} from '../../core/tasks/context/enabled/types'\n\n// NOTE: We initialize this context with a default value (`enabled: false`)\n// rather than `null` to handle cases where the tasks feature's availability\n// isn't explicitly provided by a surrounding provider component. Typically,\n// Tasks are included by default in all new Studio configurations. Therefore,\n// in the absence of a specific provider (TasksEnabledProvider), we assume that\n// the feature is disabled.\n/**\n * @internal\n */\nexport const TasksEnabledContext = createContext<TasksEnabledContextValue>(\n 'sanity/_singletons/context/tasks-enabled',\n {\n enabled: false,\n mode: null,\n },\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksNavigationContextValue} from '../../core/tasks/context/navigation/types'\n\n/**\n * @internal\n */\nexport const TasksNavigationContext = createContext<TasksNavigationContextValue | null>(\n 'sanity/_singletons/context/tasks-navigation',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {TasksUpsellContextValue} from '../../core/tasks/context/upsell/types'\n\n/**\n * @beta\n * @hidden\n */\nexport const TasksUpsellContext = createContext<TasksUpsellContextValue | null>(\n 'sanity/_singletons/context/tasks-upsell',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UserApplicationCache} from '../../core/store/userApplications/userApplicationCache'\n\n/**\n * @internal\n */\nexport const UserApplicationCacheContext = createContext<UserApplicationCache | null>(\n 'sanity/_singletons/context/user-application-cache',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {UserColorManager} from '../../core/user-color/types'\n\n/**\n * @internal\n */\nexport const UserColorManagerContext = createContext<UserColorManager | null>(\n 'sanity/_singletons/context/user-color-manager',\n null,\n)\n","import type {ValidationMarker} from '@sanity/types'\nimport {createContext} from 'sanity/_createContext'\n\n/**\n * @internal\n */\nexport const ValidationContext = createContext<ValidationMarker[]>(\n 'sanity/_singletons/context/validation',\n [],\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {VirtualizerScrollInstance} from '../../core/form/inputs/arrays/ArrayOfObjectsInput/List/useVirtualizerScrollInstance'\n\n/**\n * This is used to store the reference to the scroll element for virtualizer\n * @internal\n */\nexport const VirtualizerScrollInstanceContext = createContext<VirtualizerScrollInstance | null>(\n 'sanity/_singletons/context/virtualizer-scroll-instance',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {VisibleWorkspacesContextValue} from '../../core/studio/workspaces/VisibleWorkspacesProvider'\n\n/** @internal */\nexport const VisibleWorkspacesContext = createContext<VisibleWorkspacesContextValue | null>(\n 'sanity/_singletons/context/visible-workspaces',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {Workspace} from '../../core/config/types'\n\n/**\n * @internal\n */\nexport const WorkspaceContext = createContext<Workspace | null>(\n 'sanity/_singletons/context/workspace',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {WorkspacesContextValue} from '../../core/studio/workspaces/WorkspacesContext'\n\n/** @internal */\nexport const WorkspacesContext = createContext<WorkspacesContextValue | null>(\n 'sanity/_singletons/context/workspaces',\n null,\n)\n","import {createContext} from 'sanity/_createContext'\n\nimport type {ZIndexContextValue} from '../../core/components/zOffsets/types'\n\n/**\n * @internal\n */\nexport const zIndexContextDefaults: ZIndexContextValue = {\n navbar: 200,\n navbarPopover: 500000,\n navbarDialog: 500001,\n // pane\n pane: 100,\n paneHeader: [110, 15000],\n paneFooter: [120, 20000],\n paneResizer: [130, 25000],\n paneDialog: [140, 5000],\n //\n popover: 200,\n modal: 200,\n movingItem: 10000,\n drawershade: 1000000,\n drawer: 1000001,\n fullscreen: 1200000,\n inspectorDialog: 20000,\n toast: [100, 11000],\n // NOT IN USE\n portal: 200,\n dropdown: 200,\n navbarFixed: 1010,\n fullscreenEdit: 1050,\n popoverBackground: 1060,\n tooltip: 200,\n modalBackground: 2000,\n spinner: 3000,\n}\n\n/**\n * TODO: Rename to `ZOffsetsContext`\n *\n * @internal\n */\nexport const ZIndexContext = createContext<ZIndexContextValue>(\n 'sanity/_singletons/context/z-index',\n zIndexContextDefaults,\n)\n"],"names":["ActiveWorkspaceMatcherContext","createContext","AddonDatasetContext","AppIdCacheContext","ArrayValidationContext","AssetLimitUpsellContext","CalendarContext","undefined","ChangeIndicatorTrackerContextStore","ChangeIndicatorTrackerContextGetSnapshot","ColorSchemeSetValueContext","ColorSchemeValueContext","CommentInputContext","CommentsAuthoringPathContext","CommentsContext","CommentsEnabledContext","enabled","mode","CommentsIntentContext","CommentsOnboardingContext","CommentsSelectedPathContext","CommentsUpsellContext","CopyPasteContext","DialogStackContext","DiffContext","path","DocumentActionPropsContext","DocumentActionsStateContext","DocumentChangeContext","DocumentDivergencesContext","sessionId","DocumentFieldActionsContext","DocumentIdContext","DocumentLimitUpsellContext","DocumentPaneContext","DocumentPaneInfoContext","EnhancedObjectDialogContext","legacyEditing","EventsContext","FeedbackContext","telemetryConsent","userName","userEmail","tags","FieldActionsContext","actions","focused","hovered","__internal_slot","__internal_comments","onMouseEnter","onMouseLeave","FormBuilderContext","FormCallbacksContext","FormFieldPresenceContext","FormValueContext","FreeTrialContext","FullscreenPTEContext","getFullscreenPath","setFullscreenPath","hasAnyFullscreen","allFullscreenPaths","GetFormValueContext","HoveredFieldContext","store","subscribe","getSnapshot","IsLastPaneContext","LiveUserApplicationContext","userApplication","isLoading","LocaleContext","MediaLibraryIdsContext","MentionUserContext","NavbarContext","onSearchFullscreenOpenChange","onSearchOpenChange","searchFullscreenOpen","searchFullscreenPortalEl","searchOpen","PackageVersionInfoContext","isAutoUpdating","checkForUpdates","currentVersion","Error","versionCheckStatus","lastCheckedAt","checking","PaneContext","PaneLayoutContext","missingContext","PaneRouterContext","index","groupIndex","siblingIndex","payload","params","hasGroupSiblings","groupLength","routerPanesState","BackLink","ChildLink","ReferenceChildLink","handleEditReference","ParameterizedLink","replaceCurrent","closeCurrentAndAfter","closeCurrent","duplicateCurrent","setView","setParams","setPayload","navigateIntent","createPathWithParams","ParseErrorsContext","errors","set","PerspectiveContext","PortableTextMarkersContext","PortableTextMemberItemElementRefsContext","BehaviorSubject","PortableTextMemberItemsContext","PortableTextMemberSchemaTypesContext","PresenceContext","PresenceTrackerContextStore","PresenceTrackerContextGetSnapshot","PresentationContext","PresentationDisplayedDocumentContext","PresentationDocumentContext","PresentationNavigateContext","PresentationPanelsContext","PresentationParamsContext","PresentationSharedStateContext","PreviewCardContext","selected","ReferenceInputOptionsContext","ReferenceItemRefContext","ReleasesMetadataContext","TableContext","ReleasesUpsellContext","ResolvedPanesContext","ResolvedPanesProvider","t0","$","_c","children","value","t1","ResourceCacheContext","ReviewChangesContext","onOpenReviewChanges","onSetFocus","isReviewChangesOpen","isInteractive","RouterContext","RouterHistoryContext","DEFAULT","hasUsedScheduledPublishing","used","loading","ScheduledPublishingEnabledContext","SchedulePublishUpsellContext","upsellData","handleOpenDialog","handleClose","upsellDialogOpen","telemetryLogs","dialogSecondaryClicked","dialogPrimaryClicked","panelViewed","panelDismissed","panelPrimaryClicked","panelSecondaryClicked","SchedulesContext","ScrollContext","SearchContext","SelectedAnnotationsContext","SingleDocReleaseContext","SingleDocReleaseEnabledContext","SingleDocReleaseUpsellContext","SortableItemIdContext","SourceContext","StructureToolContext","StudioAnnouncementContext","TasksContext","TasksEnabledContext","TasksNavigationContext","TasksUpsellContext","UserApplicationCacheContext","UserColorManagerContext","ValidationContext","VirtualizerScrollInstanceContext","VisibleWorkspacesContext","WorkspaceContext","WorkspacesContext","zIndexContextDefaults","navbar","navbarPopover","navbarDialog","pane","paneHeader","paneFooter","paneResizer","paneDialog","popover","modal","movingItem","drawershade","drawer","fullscreen","inspectorDialog","toast","portal","dropdown","navbarFixed","fullscreenEdit","popoverBackground","tooltip","modalBackground","spinner","ZIndexContext"],"mappings":";;;;AAKO,MAAMA,gCACXC,cACE,uDACA,IACF,GCDWC,sBAAsBD,cACjC,4CACA,IACF,GCJaE,oBAAoBF,cAC/B,2CACA,IACF,GCLaG,yBAAyBH,cACpC,+CACA,IACF,GCaaI,0BAA0BJ,cACrC,iDACA,IACF,GCjBaK,kBAAkBL,cAC7B,uCACAM,MAC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C,aAAa;AAAA,EACbC,gBAAgB;AAAA,EAChBC,mBAAmB;AAAA,EACnBC,SAAS;AAAA,EACTC,iBAAiB;AAAA,EACjBC,SAAS;AACX,GAOaC,gBAAgB3N,cAC3B,sCACAkM,qBACF;"}
|
package/lib/cli.js
CHANGED
package/lib/cli.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cli.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cli.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/lib/desk.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import "sanity/bundle.css";
|
|
2
1
|
import { ConfirmDeleteDialogContainer, DocumentInspectorHeader as DocumentInspectorHeader$1, PaneContainer, DocumentPane as DocumentPane$1, DocumentPaneProviderWrapper, PaneLayout as PaneLayout$1, structureTool, useStructureTool, useDocumentPane as useDocumentPane$1, useDocumentTitle as useDocumentTitle$1, usePaneRouter as usePaneRouter$1 } from "./_chunks-es/structureTool.js";
|
|
3
2
|
import "react/jsx-runtime";
|
|
4
3
|
import "react/compiler-runtime";
|