sanity 3.74.2-corel.18 → 3.74.2-coreui.20
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-cjs/runtime.js +8 -4
- package/lib/_chunks-cjs/runtime.js.map +1 -1
- package/lib/_chunks-cjs/version.js +1 -1
- package/lib/_chunks-es/version.mjs +1 -1
- package/lib/_legacy/version.esm.js +1 -1
- package/package.json +10 -11
- package/src/_internal/cli/server/renderDocument.tsx +12 -0
- package/src/_internal/cli/server/runtime.ts +13 -10
- package/src/_internal/cli/server/vite/plugin-sanity-build-entries.ts +14 -12
- package/dist/BroadcastDisplayedDocument-BHYI8o6u.mjs +0 -19
- package/dist/BroadcastDisplayedDocument-BHYI8o6u.mjs.map +0 -1
- package/dist/DisplayedDocumentBroadcaster-DfHPxc7C.mjs +0 -58
- package/dist/DisplayedDocumentBroadcaster-DfHPxc7C.mjs.map +0 -1
- package/dist/LiveQueries-sYvgBCKh.mjs +0 -267
- package/dist/LiveQueries-sYvgBCKh.mjs.map +0 -1
- package/dist/LoaderQueries-AQneabiG.mjs +0 -581
- package/dist/LoaderQueries-AQneabiG.mjs.map +0 -1
- package/dist/Observable-wwWYwtkh.mjs +0 -551
- package/dist/Observable-wwWYwtkh.mjs.map +0 -1
- package/dist/PostMessageDocuments-DLMdHDk6.mjs +0 -75
- package/dist/PostMessageDocuments-DLMdHDk6.mjs.map +0 -1
- package/dist/PostMessageFeatures-CazMQz3f.mjs +0 -21
- package/dist/PostMessageFeatures-CazMQz3f.mjs.map +0 -1
- package/dist/PostMessagePerspective-m4uZ6sI5.mjs +0 -23
- package/dist/PostMessagePerspective-m4uZ6sI5.mjs.map +0 -1
- package/dist/PostMessagePreviewSnapshots-Dr7CEAiM.mjs +0 -66
- package/dist/PostMessagePreviewSnapshots-Dr7CEAiM.mjs.map +0 -1
- package/dist/PostMessageRefreshMutations-CWb9UqSy.mjs +0 -66
- package/dist/PostMessageRefreshMutations-CWb9UqSy.mjs.map +0 -1
- package/dist/PostMessageSchema-BVFyZOH1.mjs +0 -514
- package/dist/PostMessageSchema-BVFyZOH1.mjs.map +0 -1
- package/dist/PostMessageTelemetry-CSluBvcC.mjs +0 -51
- package/dist/PostMessageTelemetry-CSluBvcC.mjs.map +0 -1
- package/dist/PresentationToolGrantsCheck-4zo266wj.mjs +0 -3919
- package/dist/PresentationToolGrantsCheck-4zo266wj.mjs.map +0 -1
- package/dist/QRCodeSVG-D6VfGEbM.mjs +0 -648
- package/dist/QRCodeSVG-D6VfGEbM.mjs.map +0 -1
- package/dist/SourceContext-T8zcpOpp.mjs +0 -33
- package/dist/SourceContext-T8zcpOpp.mjs.map +0 -1
- package/dist/StructureToolProvider-BMLps71e.mjs +0 -13815
- package/dist/StructureToolProvider-BMLps71e.mjs.map +0 -1
- package/dist/Subject-DP0DoUP_.mjs +0 -108
- package/dist/Subject-DP0DoUP_.mjs.map +0 -1
- package/dist/ViteDevServerStopped-DdibXNvO.mjs +0 -44
- package/dist/ViteDevServerStopped-DdibXNvO.mjs.map +0 -1
- package/dist/_createContext.mjs +0 -36
- package/dist/_createContext.mjs.map +0 -1
- package/dist/_singletons.mjs +0 -195
- package/dist/_singletons.mjs.map +0 -1
- package/dist/browser-BzDH2pyp.mjs +0 -455
- package/dist/browser-BzDH2pyp.mjs.map +0 -1
- package/dist/browser-DWCoWoiH.mjs +0 -3988
- package/dist/browser-DWCoWoiH.mjs.map +0 -1
- package/dist/debounceTime-BeoKrERE.mjs +0 -130
- package/dist/debounceTime-BeoKrERE.mjs.map +0 -1
- package/dist/desk.mjs +0 -52
- package/dist/desk.mjs.map +0 -1
- package/dist/first-Di4GZDIY.mjs +0 -42
- package/dist/first-Di4GZDIY.mjs.map +0 -1
- package/dist/get-psIoeD-z.mjs +0 -327
- package/dist/get-psIoeD-z.mjs.map +0 -1
- package/dist/hooks-4sgcd521.mjs +0 -90
- package/dist/hooks-4sgcd521.mjs.map +0 -1
- package/dist/index-9PJcXUTv.mjs +0 -87
- package/dist/index-9PJcXUTv.mjs.map +0 -1
- package/dist/index-ByFK-IwD.mjs +0 -528
- package/dist/index-ByFK-IwD.mjs.map +0 -1
- package/dist/index-C2OAo3To.mjs +0 -7079
- package/dist/index-C2OAo3To.mjs.map +0 -1
- package/dist/index-C3OvVLVP.mjs +0 -4636
- package/dist/index-C3OvVLVP.mjs.map +0 -1
- package/dist/index-DBPVDKJN.mjs +0 -1198
- package/dist/index-DBPVDKJN.mjs.map +0 -1
- package/dist/index-DkvUNBNf.mjs +0 -73
- package/dist/index-DkvUNBNf.mjs.map +0 -1
- package/dist/index-Sp9w8lMg.mjs +0 -118
- package/dist/index-Sp9w8lMg.mjs.map +0 -1
- package/dist/index.browser-BxT2qp9y.mjs +0 -104
- package/dist/index.browser-BxT2qp9y.mjs.map +0 -1
- package/dist/index.mjs +0 -129019
- package/dist/index.mjs.map +0 -1
- package/dist/isObservable-ByOheaM8.mjs +0 -8
- package/dist/isObservable-ByOheaM8.mjs.map +0 -1
- package/dist/never-ChKjLemk.mjs +0 -6
- package/dist/never-ChKjLemk.mjs.map +0 -1
- package/dist/pane-C4tskUPg.mjs +0 -5
- package/dist/pane-C4tskUPg.mjs.map +0 -1
- package/dist/pane-Dhx8FvsK.mjs +0 -5
- package/dist/pane-Dhx8FvsK.mjs.map +0 -1
- package/dist/presentation-CSS9GR9X.mjs +0 -984
- package/dist/presentation-CSS9GR9X.mjs.map +0 -1
- package/dist/presentation.mjs +0 -14
- package/dist/presentation.mjs.map +0 -1
- package/dist/resources-4cbq8YlR.mjs +0 -124
- package/dist/resources-4cbq8YlR.mjs.map +0 -1
- package/dist/resources-BVETz6Ur.mjs +0 -57
- package/dist/resources-BVETz6Ur.mjs.map +0 -1
- package/dist/resources-D4AaU75F.mjs +0 -434
- package/dist/resources-D4AaU75F.mjs.map +0 -1
- package/dist/resources-Dc-6ZcPg.mjs +0 -157
- package/dist/resources-Dc-6ZcPg.mjs.map +0 -1
- package/dist/resources-DgU0prBM.mjs +0 -179
- package/dist/resources-DgU0prBM.mjs.map +0 -1
- package/dist/resources-MD8RsYhH.mjs +0 -288
- package/dist/resources-MD8RsYhH.mjs.map +0 -1
- package/dist/router.mjs +0 -689
- package/dist/router.mjs.map +0 -1
- package/dist/share-bcOpIdQz.mjs +0 -71
- package/dist/share-bcOpIdQz.mjs.map +0 -1
- package/dist/shareReplay-Dj1O6fKV.mjs +0 -43
- package/dist/shareReplay-Dj1O6fKV.mjs.map +0 -1
- package/dist/stegaEncodeSourceMap-DXdUZQye.mjs +0 -342
- package/dist/stegaEncodeSourceMap-DXdUZQye.mjs.map +0 -1
- package/dist/structure.mjs +0 -56
- package/dist/structure.mjs.map +0 -1
- package/dist/takeUntil-CgZP1bze.mjs +0 -111
- package/dist/takeUntil-CgZP1bze.mjs.map +0 -1
- package/dist/v4-C78sE4Gb.mjs +0 -27082
- package/dist/v4-C78sE4Gb.mjs.map +0 -1
- package/dist/version-D7UZEoYI.mjs +0 -5
- package/dist/version-D7UZEoYI.mjs.map +0 -1
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"presentation-CSS9GR9X.mjs","sources":["../../../node_modules/.pnpm/react-compiler-runtime@19.0.0-beta-201e55d-20241215_react@18.3.1/node_modules/react-compiler-runtime/dist/index.js","../../../node_modules/.pnpm/@sanity+presentation@1.19.14-release.0_@emotion+is-prop-valid@1.3.1_@sanity+color@3.0.6_debug_vqegs67ktulknun2leapg5jvli/node_modules/@sanity/presentation/dist/_chunks-es/index.js"],"sourcesContent":["/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n *\n * @lightSyntaxTransform\n * @noflow\n * @nolint\n * @preventMunge\n * @preserve-invariant-messages\n */\n\n\"use no memo\";'use strict';\n\nvar React = require('react');\n\nfunction _interopNamespaceDefault(e) {\n var n = Object.create(null);\n if (e) {\n Object.keys(e).forEach(function (k) {\n if (k !== 'default') {\n var d = Object.getOwnPropertyDescriptor(e, k);\n Object.defineProperty(n, k, d.get ? d : {\n enumerable: true,\n get: function () { return e[k]; }\n });\n }\n });\n }\n n.default = e;\n return Object.freeze(n);\n}\n\nvar React__namespace = /*#__PURE__*/_interopNamespaceDefault(React);\n\nvar _a, _b;\nconst { useRef, useEffect, isValidElement } = React__namespace;\nconst ReactSecretInternals = (_a = React__namespace.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE) !== null && _a !== void 0 ? _a : React__namespace.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\nconst $empty = Symbol.for('react.memo_cache_sentinel');\nconst c = typeof ((_b = React__namespace.__COMPILER_RUNTIME) === null || _b === void 0 ? void 0 : _b.c) === 'function'\n ?\n React__namespace.__COMPILER_RUNTIME.c\n : function c(size) {\n return React__namespace.useMemo(() => {\n const $ = new Array(size);\n for (let ii = 0; ii < size; ii++) {\n $[ii] = $empty;\n }\n $[$empty] = true;\n return $;\n }, []);\n };\nconst LazyGuardDispatcher = {};\n[\n 'readContext',\n 'useCallback',\n 'useContext',\n 'useEffect',\n 'useImperativeHandle',\n 'useInsertionEffect',\n 'useLayoutEffect',\n 'useMemo',\n 'useReducer',\n 'useRef',\n 'useState',\n 'useDebugValue',\n 'useDeferredValue',\n 'useTransition',\n 'useMutableSource',\n 'useSyncExternalStore',\n 'useId',\n 'unstable_isNewReconciler',\n 'getCacheSignal',\n 'getCacheForType',\n 'useCacheRefresh',\n].forEach(name => {\n LazyGuardDispatcher[name] = () => {\n throw new Error(`[React] Unexpected React hook call (${name}) from a React compiled function. ` +\n \"Check that all hooks are called directly and named according to convention ('use[A-Z]') \");\n };\n});\nlet originalDispatcher = null;\nLazyGuardDispatcher['useMemoCache'] = (count) => {\n if (originalDispatcher == null) {\n throw new Error('React Compiler internal invariant violation: unexpected null dispatcher');\n }\n else {\n return originalDispatcher.useMemoCache(count);\n }\n};\nvar GuardKind;\n(function (GuardKind) {\n GuardKind[GuardKind[\"PushGuardContext\"] = 0] = \"PushGuardContext\";\n GuardKind[GuardKind[\"PopGuardContext\"] = 1] = \"PopGuardContext\";\n GuardKind[GuardKind[\"PushExpectHook\"] = 2] = \"PushExpectHook\";\n GuardKind[GuardKind[\"PopExpectHook\"] = 3] = \"PopExpectHook\";\n})(GuardKind || (GuardKind = {}));\nfunction setCurrent(newDispatcher) {\n ReactSecretInternals.ReactCurrentDispatcher.current = newDispatcher;\n return ReactSecretInternals.ReactCurrentDispatcher.current;\n}\nconst guardFrames = [];\nfunction $dispatcherGuard(kind) {\n const curr = ReactSecretInternals.ReactCurrentDispatcher.current;\n if (kind === GuardKind.PushGuardContext) {\n guardFrames.push(curr);\n if (guardFrames.length === 1) {\n originalDispatcher = curr;\n }\n if (curr === LazyGuardDispatcher) {\n throw new Error(`[React] Unexpected call to custom hook or component from a React compiled function. ` +\n \"Check that (1) all hooks are called directly and named according to convention ('use[A-Z]') \" +\n 'and (2) components are returned as JSX instead of being directly invoked.');\n }\n setCurrent(LazyGuardDispatcher);\n }\n else if (kind === GuardKind.PopGuardContext) {\n const lastFrame = guardFrames.pop();\n if (lastFrame == null) {\n throw new Error('React Compiler internal error: unexpected null in guard stack');\n }\n if (guardFrames.length === 0) {\n originalDispatcher = null;\n }\n setCurrent(lastFrame);\n }\n else if (kind === GuardKind.PushExpectHook) {\n guardFrames.push(curr);\n setCurrent(originalDispatcher);\n }\n else if (kind === GuardKind.PopExpectHook) {\n const lastFrame = guardFrames.pop();\n if (lastFrame == null) {\n throw new Error('React Compiler internal error: unexpected null in guard stack');\n }\n setCurrent(lastFrame);\n }\n else {\n throw new Error('React Compiler internal error: unreachable block' + kind);\n }\n}\nfunction $reset($) {\n for (let ii = 0; ii < $.length; ii++) {\n $[ii] = $empty;\n }\n}\nfunction $makeReadOnly() {\n throw new Error('TODO: implement $makeReadOnly in react-compiler-runtime');\n}\nconst renderCounterRegistry = new Map();\nfunction clearRenderCounterRegistry() {\n for (const counters of renderCounterRegistry.values()) {\n counters.forEach(counter => {\n counter.count = 0;\n });\n }\n}\nfunction registerRenderCounter(name, val) {\n let counters = renderCounterRegistry.get(name);\n if (counters == null) {\n counters = new Set();\n renderCounterRegistry.set(name, counters);\n }\n counters.add(val);\n}\nfunction removeRenderCounter(name, val) {\n const counters = renderCounterRegistry.get(name);\n if (counters == null) {\n return;\n }\n counters.delete(val);\n}\nfunction useRenderCounter(name) {\n const val = useRef(null);\n if (val.current != null) {\n val.current.count += 1;\n }\n useEffect(() => {\n if (val.current == null) {\n const counter = { count: 0 };\n registerRenderCounter(name, counter);\n val.current = counter;\n }\n return () => {\n if (val.current !== null) {\n removeRenderCounter(name, val.current);\n }\n };\n });\n}\nconst seenErrors = new Set();\nfunction $structuralCheck(oldValue, newValue, variableName, fnName, kind, loc) {\n function error(l, r, path, depth) {\n const str = `${fnName}:${loc} [${kind}] ${variableName}${path} changed from ${l} to ${r} at depth ${depth}`;\n if (seenErrors.has(str)) {\n return;\n }\n seenErrors.add(str);\n console.error(str);\n }\n const depthLimit = 2;\n function recur(oldValue, newValue, path, depth) {\n if (depth > depthLimit) {\n return;\n }\n else if (oldValue === newValue) {\n return;\n }\n else if (typeof oldValue !== typeof newValue) {\n error(`type ${typeof oldValue}`, `type ${typeof newValue}`, path, depth);\n }\n else if (typeof oldValue === 'object') {\n const oldArray = Array.isArray(oldValue);\n const newArray = Array.isArray(newValue);\n if (oldValue === null && newValue !== null) {\n error('null', `type ${typeof newValue}`, path, depth);\n }\n else if (newValue === null) {\n error(`type ${typeof oldValue}`, 'null', path, depth);\n }\n else if (oldValue instanceof Map) {\n if (!(newValue instanceof Map)) {\n error(`Map instance`, `other value`, path, depth);\n }\n else if (oldValue.size !== newValue.size) {\n error(`Map instance with size ${oldValue.size}`, `Map instance with size ${newValue.size}`, path, depth);\n }\n else {\n for (const [k, v] of oldValue) {\n if (!newValue.has(k)) {\n error(`Map instance with key ${k}`, `Map instance without key ${k}`, path, depth);\n }\n else {\n recur(v, newValue.get(k), `${path}.get(${k})`, depth + 1);\n }\n }\n }\n }\n else if (newValue instanceof Map) {\n error('other value', `Map instance`, path, depth);\n }\n else if (oldValue instanceof Set) {\n if (!(newValue instanceof Set)) {\n error(`Set instance`, `other value`, path, depth);\n }\n else if (oldValue.size !== newValue.size) {\n error(`Set instance with size ${oldValue.size}`, `Set instance with size ${newValue.size}`, path, depth);\n }\n else {\n for (const v of newValue) {\n if (!oldValue.has(v)) {\n error(`Set instance without element ${v}`, `Set instance with element ${v}`, path, depth);\n }\n }\n }\n }\n else if (newValue instanceof Set) {\n error('other value', `Set instance`, path, depth);\n }\n else if (oldArray || newArray) {\n if (oldArray !== newArray) {\n error(`type ${oldArray ? 'array' : 'object'}`, `type ${newArray ? 'array' : 'object'}`, path, depth);\n }\n else if (oldValue.length !== newValue.length) {\n error(`array with length ${oldValue.length}`, `array with length ${newValue.length}`, path, depth);\n }\n else {\n for (let ii = 0; ii < oldValue.length; ii++) {\n recur(oldValue[ii], newValue[ii], `${path}[${ii}]`, depth + 1);\n }\n }\n }\n else if (isValidElement(oldValue) || isValidElement(newValue)) {\n if (isValidElement(oldValue) !== isValidElement(newValue)) {\n error(`type ${isValidElement(oldValue) ? 'React element' : 'object'}`, `type ${isValidElement(newValue) ? 'React element' : 'object'}`, path, depth);\n }\n else if (oldValue.type !== newValue.type) {\n error(`React element of type ${oldValue.type}`, `React element of type ${newValue.type}`, path, depth);\n }\n else {\n recur(oldValue.props, newValue.props, `[props of ${path}]`, depth + 1);\n }\n }\n else {\n for (const key in newValue) {\n if (!(key in oldValue)) {\n error(`object without key ${key}`, `object with key ${key}`, path, depth);\n }\n }\n for (const key in oldValue) {\n if (!(key in newValue)) {\n error(`object with key ${key}`, `object without key ${key}`, path, depth);\n }\n else {\n recur(oldValue[key], newValue[key], `${path}.${key}`, depth + 1);\n }\n }\n }\n }\n else if (typeof oldValue === 'function') {\n return;\n }\n else if (isNaN(oldValue) || isNaN(newValue)) {\n if (isNaN(oldValue) !== isNaN(newValue)) {\n error(`${isNaN(oldValue) ? 'NaN' : 'non-NaN value'}`, `${isNaN(newValue) ? 'NaN' : 'non-NaN value'}`, path, depth);\n }\n }\n else if (oldValue !== newValue) {\n error(oldValue, newValue, path, depth);\n }\n }\n recur(oldValue, newValue, '', 0);\n}\n\nexports.$dispatcherGuard = $dispatcherGuard;\nexports.$makeReadOnly = $makeReadOnly;\nexports.$reset = $reset;\nexports.$structuralCheck = $structuralCheck;\nexports.c = c;\nexports.clearRenderCounterRegistry = clearRenderCounterRegistry;\nexports.renderCounterRegistry = renderCounterRegistry;\nexports.useRenderCounter = useRenderCounter;\n//# sourceMappingURL=index.js.map\n","import { jsxs, jsx, Fragment } from \"react/jsx-runtime\";\nimport { c } from \"react-compiler-runtime\";\nimport { useState, useEffect, createContext, useContext, createElement, useLayoutEffect, lazy, Suspense } from \"react\";\nimport { useDocumentStore, isRecord, isReference, defineLocaleResourceBundle, useTranslation, defineDocumentFieldAction, useWorkspace, pathToString, getPublishedId, definePlugin, isDocumentSchemaType } from \"sanity\";\nimport { ComposeIcon, InfoOutlineIcon, ChevronRightIcon, WarningOutlineIcon, ErrorOutlineIcon, DesktopIcon, MasterDetailIcon } from \"@sanity/icons\";\nimport { Flex, Box, Text, Card, Spinner, Stack, rem } from \"@sanity/ui\";\nimport { styled } from \"styled-components\";\nimport get from \"lodash/get.js\";\nimport { Observable, switchMap, isObservable, from, map, of, combineLatest, mergeAll, scan } from \"rxjs\";\nimport { useIntentLink, useRouter, encodeJsonParams, route } from \"sanity/router\";\nimport { useEffectEvent } from \"use-effect-event\";\nimport { uuid } from \"@sanity/uuid\";\nconst DEFAULT_TOOL_ICON = ComposeIcon, DEFAULT_TOOL_NAME = \"presentation\", DEFAULT_TOOL_TITLE = \"Presentation\", COMMENTS_INSPECTOR_NAME = \"sanity/structure/comments\", EDIT_INTENT_MODE = \"presentation\", MAX_TIME_TO_OVERLAYS_CONNECTION = 3e3, API_VERSION = \"vX\", MIN_LOADER_QUERY_LISTEN_HEARTBEAT_INTERVAL = 1e3, LIVE_QUERY_CACHE_BATCH_SIZE = 100, LIVE_QUERY_CACHE_SIZE = 2048, POPUP_CHECK_INTERVAL = 1e3;\nfunction keysOf(value) {\n return Object.keys(value);\n}\nfunction setKey(source, key, value) {\n return {\n ...source,\n [key]: value\n };\n}\nfunction props(options = {}) {\n return (source) => new Observable((observer) => source.subscribe(observer)).pipe(switchMap((object2) => {\n const keyObservables = keysOf(object2).map((key) => {\n const value = object2[key];\n return isObservable(value) ? from(value).pipe(map((val) => [key, val])) : of([key, value]);\n });\n return options.wait ? combineLatest(keyObservables).pipe(map((pairs) => pairs.reduce((acc, [key, value]) => setKey(acc, key, value), {}))) : from(keyObservables).pipe(mergeAll(), scan((acc, [key, value]) => setKey(acc, key, value), {}));\n }));\n}\nconst INITIAL_STATE = {\n locations: []\n};\nfunction getDocumentId(value) {\n return isReference(value) ? value._ref : \"_id\" in value ? value._id : void 0;\n}\nfunction cleanPreviewable(id, previewable) {\n const clean = id ? {\n ...previewable,\n _id: id\n } : {\n ...previewable\n };\n return clean._type === \"reference\" && (delete clean._type, delete clean._ref, delete clean._weak, delete clean._dataset, delete clean._projectId, delete clean._strengthenOnPublish), clean;\n}\nfunction listen(id, fields, store5) {\n const query = `*[_id==$id][0]{${fields.join(\", \")}}`, params = {\n id\n };\n return store5.listenQuery(query, params, {\n perspective: \"previewDrafts\"\n });\n}\nfunction observeDocument(value, paths, store5) {\n if (!value || typeof value != \"object\")\n return of(value);\n const id = getDocumentId(value), currentValue = cleanPreviewable(id, value), headlessPaths = paths.filter((path) => !(path[0] in currentValue));\n if (id && headlessPaths.length) {\n const fields = [...new Set(headlessPaths.map((path) => path[0]))];\n return listen(id, fields, store5).pipe(switchMap((snapshot) => snapshot ? observeDocument(snapshot, paths, store5) : of(null)));\n }\n const leads = {};\n paths.forEach((path) => {\n const [head, ...tail] = path;\n leads[head] || (leads[head] = []), leads[head].push(tail);\n });\n const next = Object.keys(leads).reduce((res, head) => {\n const tails = leads[head].filter((tail) => tail.length > 0);\n return tails.length === 0 ? res[head] = isRecord(value) ? value[head] : void 0 : res[head] = observeDocument(value[head], tails, store5), res;\n }, currentValue);\n return of(next).pipe(props({\n wait: !0\n }));\n}\nfunction observeForLocations(documentId, resolver, documentStore) {\n const {\n select\n } = resolver, paths = Object.values(select).map((value) => String(value).split(\".\")) || [];\n return observeDocument({\n _type: \"reference\",\n _ref: documentId\n }, paths, documentStore).pipe(map((doc2) => Object.keys(select).reduce((acc, key) => (acc[key] = get(doc2, select[key]), acc), {})), map(resolver.resolve));\n}\nfunction useDocumentLocations(props2) {\n const $ = c(17), {\n id,\n resolvers,\n type\n } = props2, documentStore = useDocumentStore(), [locationsState, setLocationsState] = useState(INITIAL_STATE), resolver = resolvers && (typeof resolvers == \"function\" ? resolvers : resolvers[type]), [locationsStatus, setLocationsStatus] = useState(resolver ? \"resolving\" : \"empty\");\n let t0;\n bb0: {\n if (!resolver) {\n t0 = void 0;\n break bb0;\n }\n if (typeof resolver == \"function\") {\n let t13;\n if ($[0] !== documentStore || $[1] !== id || $[2] !== resolver || $[3] !== type) {\n const _result = resolver({\n id,\n type\n }, {\n documentStore\n });\n t13 = isObservable(_result) ? _result : of(_result), $[0] = documentStore, $[1] = id, $[2] = resolver, $[3] = type, $[4] = t13;\n } else\n t13 = $[4];\n t0 = t13;\n break bb0;\n }\n if (\"select\" in resolver && \"resolve\" in resolver) {\n let t13;\n $[5] !== documentStore || $[6] !== id || $[7] !== resolver ? (t13 = observeForLocations(id, resolver, documentStore), $[5] = documentStore, $[6] = id, $[7] = resolver, $[8] = t13) : t13 = $[8], t0 = t13;\n break bb0;\n }\n let t12;\n $[9] !== resolver ? (t12 = of(resolver), $[9] = resolver, $[10] = t12) : t12 = $[10], t0 = t12;\n }\n const result = t0;\n let t1, t2;\n $[11] !== result ? (t1 = () => {\n const sub = result?.subscribe((state) => {\n setLocationsState(state || INITIAL_STATE), setLocationsStatus(state ? \"resolved\" : \"empty\");\n });\n return () => sub?.unsubscribe();\n }, t2 = [result], $[11] = result, $[12] = t1, $[13] = t2) : (t1 = $[12], t2 = $[13]), useEffect(t1, t2);\n let t3;\n return $[14] !== locationsState || $[15] !== locationsStatus ? (t3 = {\n state: locationsState,\n status: locationsStatus\n }, $[14] = locationsState, $[15] = locationsStatus, $[16] = t3) : t3 = $[16], t3;\n}\nconst presentationLocaleNamespace = \"presentation\", presentationUsEnglishLocaleBundle = defineLocaleResourceBundle({\n locale: \"en-US\",\n namespace: presentationLocaleNamespace,\n resources: () => import(\"./resources.js\")\n}), PresentationContext = createContext(null);\nfunction usePresentationTool(t0) {\n const throwOnMissingContext = t0 === void 0 ? !0 : t0, presentation = useContext(PresentationContext);\n if (throwOnMissingContext && !presentation)\n throw new Error(\"Presentation context is missing\");\n return presentation;\n}\nfunction useCurrentPresentationToolName() {\n return usePresentationTool(!1)?.name ?? void 0;\n}\nconst TONE_ICONS = {\n positive: InfoOutlineIcon,\n caution: WarningOutlineIcon,\n critical: ErrorOutlineIcon\n};\nfunction LocationsBanner(props2) {\n const $ = c(33), {\n documentId,\n isResolving,\n options,\n schemaType,\n showPresentationTitle\n } = props2, {\n locations,\n message,\n tone\n } = props2.state, len = locations?.length || 0, {\n t\n } = useTranslation(presentationLocaleNamespace), presentation = useContext(PresentationContext), presentationName = presentation?.name, [expanded, setExpanded] = useState(!1);\n let t0;\n $[0] !== len ? (t0 = () => {\n len && setExpanded(_temp$1);\n }, $[0] = len, $[1] = t0) : t0 = $[1];\n const toggle = t0;\n let t1;\n $[2] !== isResolving || $[3] !== len || $[4] !== message || $[5] !== t ? (t1 = isResolving ? t(\"locations-banner.resolving.text\") : message || t(\"locations-banner.locations-count\", {\n count: len\n }), $[2] = isResolving, $[3] = len, $[4] = message, $[5] = t, $[6] = t1) : t1 = $[6];\n const title = t1;\n let t2;\n $[7] === Symbol.for(\"react.memo_cache_sentinel\") ? (t2 = {\n margin: -1\n }, $[7] = t2) : t2 = $[7];\n let t3;\n $[8] !== locations || $[9] !== options || $[10] !== showPresentationTitle || $[11] !== title || $[12] !== tone ? (t3 = !locations && /* @__PURE__ */ jsxs(Flex, { align: \"flex-start\", gap: 3, padding: 3, children: [\n tone && /* @__PURE__ */ jsx(Box, { flex: \"none\", children: /* @__PURE__ */ jsx(Text, { size: 1, children: createElement(TONE_ICONS[tone]) }) }),\n /* @__PURE__ */ jsx(Box, { flex: 1, children: /* @__PURE__ */ jsxs(Text, { size: 1, weight: \"medium\", children: [\n showPresentationTitle && /* @__PURE__ */ jsxs(Fragment, { children: [\n options.title || DEFAULT_TOOL_TITLE,\n \" \\xB7 \"\n ] }),\n title\n ] }) })\n ] }), $[8] = locations, $[9] = options, $[10] = showPresentationTitle, $[11] = title, $[12] = tone, $[13] = t3) : t3 = $[13];\n let t4;\n $[14] !== documentId || $[15] !== expanded || $[16] !== isResolving || $[17] !== len || $[18] !== locations || $[19] !== options || $[20] !== presentation?.params || $[21] !== presentationName || $[22] !== schemaType || $[23] !== showPresentationTitle || $[24] !== title || $[25] !== toggle ? (t4 = locations && /* @__PURE__ */ jsxs(Fragment, { children: [\n /* @__PURE__ */ jsx(Card, { as: len ? \"button\" : void 0, onClick: toggle, padding: 3, radius: 1, tone: \"inherit\", children: /* @__PURE__ */ jsxs(Flex, { gap: 3, children: [\n /* @__PURE__ */ jsx(Box, { flex: \"none\", children: isResolving ? /* @__PURE__ */ jsx(Spinner, { size: 1 }) : /* @__PURE__ */ jsx(Text, { size: 1, children: len === 0 ? /* @__PURE__ */ jsx(InfoOutlineIcon, {}) : /* @__PURE__ */ jsx(ChevronRightIcon, { style: {\n transform: `rotate(${expanded ? \"90deg\" : 0})`,\n transition: \"transform 100ms ease-in-out\"\n } }) }) }),\n /* @__PURE__ */ jsx(Box, { flex: 1, children: /* @__PURE__ */ jsxs(Text, { size: 1, weight: \"medium\", children: [\n showPresentationTitle && /* @__PURE__ */ jsxs(Fragment, { children: [\n options.title || DEFAULT_TOOL_TITLE,\n \" \\xB7 \"\n ] }),\n title\n ] }) })\n ] }) }),\n /* @__PURE__ */ jsx(Stack, { hidden: !expanded, marginTop: 1, space: 1, children: locations.map((l, index) => /* @__PURE__ */ jsx(LocationItem, { active: (options.name || DEFAULT_TOOL_NAME) === presentationName && l.href === presentation?.params.preview, documentId, documentType: schemaType.name, node: l, toolName: options.name || DEFAULT_TOOL_NAME }, index)) })\n ] }), $[14] = documentId, $[15] = expanded, $[16] = isResolving, $[17] = len, $[18] = locations, $[19] = options, $[20] = presentation?.params, $[21] = presentationName, $[22] = schemaType, $[23] = showPresentationTitle, $[24] = title, $[25] = toggle, $[26] = t4) : t4 = $[26];\n let t5;\n $[27] !== t3 || $[28] !== t4 ? (t5 = /* @__PURE__ */ jsxs(\"div\", { style: t2, children: [\n t3,\n t4\n ] }), $[27] = t3, $[28] = t4, $[29] = t5) : t5 = $[29];\n let t6;\n return $[30] !== t5 || $[31] !== tone ? (t6 = /* @__PURE__ */ jsx(Card, { padding: 1, radius: 2, border: !0, tone, children: t5 }), $[30] = t5, $[31] = tone, $[32] = t6) : t6 = $[32], t6;\n}\nfunction _temp$1(v) {\n return !v;\n}\nfunction LocationItem(props2) {\n const $ = c(26), {\n documentId,\n documentType,\n node,\n active,\n toolName\n } = props2, presentation = useContext(PresentationContext), currentPresentationToolName = useCurrentPresentationToolName(), isCurrentTool = toolName === currentPresentationToolName, navigate = presentation?.navigate, t0 = presentation?.structureParams;\n let t1;\n $[0] !== documentId || $[1] !== documentType || $[2] !== node.href || $[3] !== t0 || $[4] !== toolName ? (t1 = {\n intent: \"edit\",\n params: {\n id: documentId,\n type: documentType,\n mode: \"presentation\",\n presentation: toolName,\n ...t0,\n preview: node.href\n }\n }, $[0] = documentId, $[1] = documentType, $[2] = node.href, $[3] = t0, $[4] = toolName, $[5] = t1) : t1 = $[5];\n const presentationLinkProps = useIntentLink(t1);\n let t2;\n $[6] !== navigate || $[7] !== node.href ? (t2 = () => {\n navigate?.({}, {\n preview: node.href\n });\n }, $[6] = navigate, $[7] = node.href, $[8] = t2) : t2 = $[8];\n const handleCurrentToolClick = t2;\n let t3;\n $[9] !== isCurrentTool || $[10] !== presentationLinkProps ? (t3 = isCurrentTool ? {} : presentationLinkProps, $[9] = isCurrentTool, $[10] = presentationLinkProps, $[11] = t3) : t3 = $[11];\n const t4 = isCurrentTool ? handleCurrentToolClick : presentationLinkProps.onClick;\n let t5;\n $[12] === Symbol.for(\"react.memo_cache_sentinel\") ? (t5 = /* @__PURE__ */ jsx(Box, { flex: \"none\", children: /* @__PURE__ */ jsx(Text, { size: 1, children: /* @__PURE__ */ jsx(DesktopIcon, {}) }) }), $[12] = t5) : t5 = $[12];\n let t6;\n $[13] !== node.title ? (t6 = /* @__PURE__ */ jsx(Text, { size: 1, weight: \"medium\", children: node.title }), $[13] = node.title, $[14] = t6) : t6 = $[14];\n let t7;\n $[15] !== node.href ? (t7 = /* @__PURE__ */ jsx(Text, { muted: !0, size: 1, textOverflow: \"ellipsis\", children: node.href }), $[15] = node.href, $[16] = t7) : t7 = $[16];\n let t8;\n $[17] !== t6 || $[18] !== t7 ? (t8 = /* @__PURE__ */ jsxs(Flex, { gap: 3, children: [\n t5,\n /* @__PURE__ */ jsxs(Stack, { flex: 1, space: 2, children: [\n t6,\n t7\n ] })\n ] }), $[17] = t6, $[18] = t7, $[19] = t8) : t8 = $[19];\n let t9;\n return $[20] !== active || $[21] !== node.href || $[22] !== t3 || $[23] !== t4 || $[24] !== t8 ? (t9 = /* @__PURE__ */ createElement(Card, { ...t3, as: \"a\", key: node.href, onClick: t4, padding: 3, radius: 1, pressed: active, tone: \"inherit\" }, t8), $[20] = active, $[21] = node.href, $[22] = t3, $[23] = t4, $[24] = t8, $[25] = t9) : t9 = $[25], t9;\n}\nconst PresentationDocumentContext = createContext(null), LocationStack = styled(Stack)`\n min-height: ${rem(42)};\n\n & + &:empty {\n display: none;\n }\n`;\nfunction PresentationDocumentHeader(props2) {\n const $ = c(20), {\n documentId,\n options,\n schemaType\n } = props2, context = useContext(PresentationDocumentContext), t0 = options.resolve?.locations || options.locate;\n let t1;\n $[0] !== documentId || $[1] !== schemaType.name || $[2] !== t0 ? (t1 = {\n id: documentId,\n resolvers: t0,\n type: schemaType.name\n }, $[0] = documentId, $[1] = schemaType.name, $[2] = t0, $[3] = t1) : t1 = $[3];\n const {\n state,\n status\n } = useDocumentLocations(t1);\n if (context && context.options[0] !== options || status === \"empty\")\n return null;\n let t2;\n $[4] !== context?.options ? (t2 = context?.options || [], $[4] = context?.options, $[5] = t2) : t2 = $[5];\n const contextOptions = t2;\n let t3;\n if ($[6] !== contextOptions || $[7] !== documentId || $[8] !== schemaType || $[9] !== state || $[10] !== status) {\n let t42;\n $[12] !== contextOptions.length || $[13] !== documentId || $[14] !== schemaType || $[15] !== state || $[16] !== status ? (t42 = (options_0, idx) => /* @__PURE__ */ jsx(LocationsBanner, { documentId, isResolving: status === \"resolving\", options: options_0, schemaType, showPresentationTitle: contextOptions.length > 1, state }, idx), $[12] = contextOptions.length, $[13] = documentId, $[14] = schemaType, $[15] = state, $[16] = status, $[17] = t42) : t42 = $[17], t3 = contextOptions.map(t42), $[6] = contextOptions, $[7] = documentId, $[8] = schemaType, $[9] = state, $[10] = status, $[11] = t3;\n } else\n t3 = $[11];\n let t4;\n return $[18] !== t3 ? (t4 = /* @__PURE__ */ jsx(LocationStack, { marginBottom: 5, space: 5, children: /* @__PURE__ */ jsx(Stack, { space: 2, children: t3 }) }), $[18] = t3, $[19] = t4) : t4 = $[19], t4;\n}\nfunction PresentationDocumentProvider(props2) {\n const $ = c(14), {\n children,\n options\n } = props2, parent = useContext(PresentationDocumentContext), parentRegister = parent?.register, [optionsArray, setOptionsArray] = useState(_temp);\n let t0;\n $[0] !== parentRegister ? (t0 = (options_0) => parentRegister ? parentRegister(options_0) : (setOptionsArray((prev) => [options_0].concat(prev)), () => {\n setOptionsArray((prev_0) => prev_0.filter((o) => o !== options_0));\n }), $[0] = parentRegister, $[1] = t0) : t0 = $[1];\n const register = t0;\n let t1;\n const t2 = parent?.options || optionsArray;\n let t3;\n $[2] !== register || $[3] !== t2 ? (t3 = {\n options: t2,\n register\n }, $[2] = register, $[3] = t2, $[4] = t3) : t3 = $[4], t1 = t3;\n const context = t1;\n let t4;\n $[5] !== register ? (t4 = (options_1) => register(options_1), $[5] = register, $[6] = t4) : t4 = $[6];\n const registerEffectEvent = useEffectEvent(t4);\n let t5, t6;\n $[7] !== options || $[8] !== registerEffectEvent ? (t5 = () => registerEffectEvent(options), t6 = [registerEffectEvent, options], $[7] = options, $[8] = registerEffectEvent, $[9] = t5, $[10] = t6) : (t5 = $[9], t6 = $[10]), useLayoutEffect(t5, t6);\n let t7;\n return $[11] !== children || $[12] !== context ? (t7 = /* @__PURE__ */ jsx(PresentationDocumentContext.Provider, { value: context, children }), $[11] = children, $[12] = context, $[13] = t7) : t7 = $[13], t7;\n}\nfunction _temp() {\n return [];\n}\nfunction useOpenInStructureAction(props2) {\n const $ = c(14), {\n documentId,\n documentType,\n path\n } = props2, workspace = useWorkspace(), {\n navigateIntent\n } = useRouter(), presentation = useContext(PresentationContext);\n let t0, t1;\n $[0] !== documentId || $[1] !== documentType || $[2] !== workspace.tools ? (t1 = findStructureTool(workspace.tools, documentId, documentType), $[0] = documentId, $[1] = documentType, $[2] = workspace.tools, $[3] = t1) : t1 = $[3], t0 = t1;\n const defaultStructureTool = t0;\n let t2;\n $[4] !== documentId || $[5] !== documentType || $[6] !== navigateIntent || $[7] !== path ? (t2 = () => {\n navigateIntent(\"edit\", {\n id: documentId,\n type: documentType,\n mode: \"structure\",\n path: pathToString(path)\n });\n }, $[4] = documentId, $[5] = documentType, $[6] = navigateIntent, $[7] = path, $[8] = t2) : t2 = $[8];\n const handleAction = t2, t3 = !presentation || path.length > 0 || !defaultStructureTool, t4 = defaultStructureTool?.icon || MasterDetailIcon, t5 = `Open in ${defaultStructureTool?.title || \"Structure\"}`;\n let t6;\n return $[9] !== handleAction || $[10] !== t3 || $[11] !== t4 || $[12] !== t5 ? (t6 = {\n type: \"action\",\n hidden: t3,\n icon: t4,\n title: t5,\n onAction: handleAction,\n renderAsButton: !0\n }, $[9] = handleAction, $[10] = t3, $[11] = t4, $[12] = t5, $[13] = t6) : t6 = $[13], t6;\n}\nconst openInStructure = defineDocumentFieldAction({\n name: \"presentation/openInStructure\",\n useAction: useOpenInStructureAction\n});\nfunction findStructureTool(tools, documentId, documentType) {\n const results = tools.map((t) => {\n const match = t.canHandleIntent?.(\"edit\", {\n id: documentId,\n type: documentType,\n mode: \"structure\"\n }, {});\n return {\n tool: t,\n match\n };\n }), modeMatches = results.filter((t) => isRecord(t.match) && t.match.mode);\n return modeMatches.length > 0 ? modeMatches[0].tool : results.filter((t) => t.match)[0]?.tool;\n}\nconst preservedSearchParamKeys = [\"preview\", \"perspective\", \"viewport\"];\nfunction getIntentState(intent, params, routerState, payload) {\n const {\n id,\n mode,\n path,\n presentation,\n type,\n ...searchParams\n } = params, _searchParams = {\n ...(routerState?._searchParams || []).filter(([key]) => preservedSearchParamKeys.includes(key)).reduce((acc, [key, value]) => ({\n ...acc,\n [key]: value\n }), {}),\n ...searchParams\n };\n return intent === \"edit\" && id ? (_searchParams.preview = _searchParams.preview || new URLSearchParams(window.location.search).get(\"preview\") || \"/\", {\n type: type || \"*\",\n id: getPublishedId(id),\n path,\n _searchParams: Object.entries(_searchParams)\n }) : intent === \"create\" ? (_searchParams.preview = _searchParams.preview || new URLSearchParams(window.location.search).get(\"preview\") || \"/\", payload && typeof payload == \"object\" && (_searchParams.templateParams = encodeJsonParams(payload)), {\n type: type || \"*\",\n id: id || uuid(),\n _searchParams: Object.entries(_searchParams)\n }) : {\n intent,\n params,\n payload\n };\n}\nfunction PresentationSpinner() {\n const $ = c(1);\n let t0;\n return $[0] === Symbol.for(\"react.memo_cache_sentinel\") ? (t0 = /* @__PURE__ */ jsx(Flex, { align: \"center\", direction: \"column\", height: \"fill\", justify: \"center\", style: {\n width: \"100%\"\n }, children: /* @__PURE__ */ jsx(Spinner, {}) }), $[0] = t0) : t0 = $[0], t0;\n}\nconst router = route.create(\"/\", {\n __unsafe_disableScopedSearchParams: !0\n}, [route.intents(\"/intent\"), route.create(\":type\", [route.create(\":id\", [route.create(\":path\")])])]), PresentationTool = lazy(() => import(\"./PresentationToolGrantsCheck.js\").then(function(n) {\n return n.PresentationToolGrantsCheck;\n})), BroadcastDisplayedDocument = lazy(() => import(\"./BroadcastDisplayedDocument.js\"));\nfunction defineLocations(resolver) {\n return resolver;\n}\nfunction defineDocuments(resolvers) {\n return resolvers;\n}\nconst presentationTool = definePlugin((options) => {\n const toolName = options.name || DEFAULT_TOOL_NAME;\n \"locate\" in options && console.warn(\"Presentation\\u2019s `locate` option is deprecated. Use `resolve.locations` instead.\");\n const hasLocationsResolver = !!(options.resolve?.locations || options.locate);\n function PresentationDocumentInput(props2) {\n const $ = c(19), value = props2.value;\n let t0;\n $[0] !== value?._id ? (t0 = value?._id ? getPublishedId(value?._id) : void 0, $[0] = value?._id, $[1] = t0) : t0 = $[1];\n const documentId = t0;\n if (isDocumentSchemaType(props2.schemaType)) {\n let t12;\n $[2] !== documentId || $[3] !== props2.schemaType ? (t12 = hasLocationsResolver && documentId && /* @__PURE__ */ jsx(PresentationDocumentHeader, { documentId, options, schemaType: props2.schemaType }), $[2] = documentId, $[3] = props2.schemaType, $[4] = t12) : t12 = $[4];\n let t2;\n $[5] === Symbol.for(\"react.memo_cache_sentinel\") ? (t2 = /* @__PURE__ */ jsx(PresentationSpinner, {}), $[5] = t2) : t2 = $[5];\n let t3;\n $[6] !== props2 ? (t3 = props2.renderDefault(props2), $[6] = props2, $[7] = t3) : t3 = $[7];\n let t4;\n $[8] !== t3 ? (t4 = /* @__PURE__ */ jsx(Suspense, { fallback: t2, children: t3 }), $[8] = t3, $[9] = t4) : t4 = $[9];\n let t5;\n $[10] !== documentId || $[11] !== value ? (t5 = /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(BroadcastDisplayedDocument, { value }, documentId) }, \"broadcast-displayed-document\"), $[10] = documentId, $[11] = value, $[12] = t5) : t5 = $[12];\n let t6;\n return $[13] !== t12 || $[14] !== t4 || $[15] !== t5 ? (t6 = /* @__PURE__ */ jsxs(PresentationDocumentProvider, { options, children: [\n t12,\n t4,\n t5\n ] }), $[13] = t12, $[14] = t4, $[15] = t5, $[16] = t6) : t6 = $[16], t6;\n }\n let t1;\n return $[17] !== props2 ? (t1 = props2.renderDefault(props2), $[17] = props2, $[18] = t1) : t1 = $[18], t1;\n }\n function canHandleCreateIntent(params) {\n return !(\"type\" in params) || \"presentation\" in params && params.presentation !== toolName ? !1 : \"template\" in params ? {\n template: !0\n } : !0;\n }\n function canHandleEditIntent(params) {\n return !(\"type\" in params) || !(\"id\" in params) || \"presentation\" in params && params.presentation !== toolName ? !1 : \"mode\" in params ? {\n mode: params.mode === EDIT_INTENT_MODE\n } : !0;\n }\n return {\n i18n: {\n bundles: [presentationUsEnglishLocaleBundle]\n },\n document: {\n unstable_fieldActions: (prev) => [\n ...prev.filter((a) => a.name !== openInStructure.name),\n // prevent duplication\n openInStructure\n ]\n },\n form: {\n components: {\n input: PresentationDocumentInput\n }\n },\n tools: [{\n icon: options.icon || DEFAULT_TOOL_ICON,\n name: toolName,\n title: options.title,\n component: PresentationTool,\n options,\n canHandleIntent(intent, params) {\n return intent === \"create\" ? canHandleCreateIntent(params) : intent === \"edit\" ? canHandleEditIntent(params) : !1;\n },\n getIntentState,\n router\n }]\n };\n}), PresentationNavigateContext = createContext(null);\nfunction usePresentationNavigate() {\n const navigate = useContext(PresentationNavigateContext);\n if (!navigate)\n throw new Error(\"Presentation navigate context is missing\");\n return navigate;\n}\nconst PresentationParamsContext = createContext(null);\nfunction usePresentationParams(t0) {\n const throwOnMissingContext = t0 === void 0 ? !0 : t0, params = useContext(PresentationParamsContext);\n if (throwOnMissingContext && !params)\n throw new Error(\"Presentation params context is missing\");\n return params;\n}\nconst SharedStateContext = createContext(null), useSharedState = (key, value) => {\n const $ = c(5), context = useContext(SharedStateContext);\n if (!context)\n throw new Error(\"Preview Snapshots context is missing\");\n const {\n setValue\n } = context;\n let t0, t1;\n $[0] !== key || $[1] !== setValue || $[2] !== value ? (t0 = () => {\n setValue(key, value);\n }, t1 = [key, value, setValue], $[0] = key, $[1] = setValue, $[2] = value, $[3] = t0, $[4] = t1) : (t0 = $[3], t1 = $[4]), useEffect(t0, t1);\n};\nvar store;\nfunction getGlobalConfig(config2) {\n return {\n lang: config2?.lang ?? store?.lang,\n message: config2?.message,\n abortEarly: config2?.abortEarly ?? store?.abortEarly,\n abortPipeEarly: config2?.abortPipeEarly ?? store?.abortPipeEarly,\n skipPipe: config2?.skipPipe\n };\n}\nvar store2;\nfunction getGlobalMessage(lang) {\n return store2?.get(lang);\n}\nvar store3;\nfunction getSchemaMessage(lang) {\n return store3?.get(lang);\n}\nvar store4;\nfunction getSpecificMessage(reference, lang) {\n return store4?.get(reference)?.get(lang);\n}\nfunction _stringify(input) {\n let type = typeof input;\n return type === \"object\" && (type = (input && Object.getPrototypeOf(input)?.constructor?.name) ?? \"null\"), type === \"string\" ? `\"${input}\"` : type === \"number\" || type === \"bigint\" || type === \"boolean\" ? `${input}` : type;\n}\nfunction _addIssue(context, label, dataset, config2, other) {\n const input = other && \"input\" in other ? other.input : dataset.value, expected = other?.expected ?? context.expects, received = other?.received ?? _stringify(input), issue = {\n kind: context.kind,\n type: context.type,\n input,\n expected,\n received,\n message: `Invalid ${label}: ${expected ? `Expected ${expected} but r` : \"R\"}eceived ${received}`,\n // @ts-expect-error\n requirement: context.requirement,\n path: other?.path,\n issues: other?.issues,\n lang: config2.lang,\n abortEarly: config2.abortEarly,\n abortPipeEarly: config2.abortPipeEarly,\n skipPipe: config2.skipPipe\n }, isSchema = context.kind === \"schema\", message = (\n // @ts-expect-error\n context.message ?? getSpecificMessage(context.reference, issue.lang) ?? (isSchema ? getSchemaMessage(issue.lang) : null) ?? config2.message ?? getGlobalMessage(issue.lang)\n );\n message && (issue.message = typeof message == \"function\" ? message(issue) : message), isSchema && (dataset.typed = !1), dataset.issues ? dataset.issues.push(issue) : dataset.issues = [issue];\n}\nfunction _isAllowedObjectKey(key) {\n return key !== \"__proto__\" && key !== \"prototype\" && key !== \"constructor\";\n}\nvar ValiError = class extends Error {\n /**\n * The error issues.\n */\n issues;\n /**\n * Creates a Valibot error with useful information.\n *\n * @param issues The error issues.\n */\n constructor(issues) {\n super(issues[0].message), this.name = \"ValiError\", this.issues = issues;\n }\n};\nfunction minLength(requirement, message) {\n return {\n kind: \"validation\",\n type: \"min_length\",\n reference: minLength,\n async: !1,\n expects: `>=${requirement}`,\n requirement,\n message,\n _run(dataset, config2) {\n return dataset.typed && dataset.value.length < this.requirement && _addIssue(this, \"length\", dataset, config2, {\n received: `${dataset.value.length}`\n }), dataset;\n }\n };\n}\nfunction getFallback(schema, dataset, config2) {\n return typeof schema.fallback == \"function\" ? (\n // @ts-expect-error\n schema.fallback(dataset, config2)\n ) : (\n // @ts-expect-error\n schema.fallback\n );\n}\nfunction fallback(schema, fallback2) {\n return {\n ...schema,\n fallback: fallback2,\n _run(dataset, config2) {\n return schema._run(dataset, config2), dataset.issues ? {\n typed: !0,\n value: getFallback(this, dataset, config2)\n } : dataset;\n }\n };\n}\nfunction getDefault(schema, dataset, config2) {\n return typeof schema.default == \"function\" ? (\n // @ts-expect-error\n schema.default(dataset, config2)\n ) : (\n // @ts-expect-error\n schema.default\n );\n}\nfunction boolean(message) {\n return {\n kind: \"schema\",\n type: \"boolean\",\n reference: boolean,\n expects: \"boolean\",\n async: !1,\n message,\n _run(dataset, config2) {\n return typeof dataset.value == \"boolean\" ? dataset.typed = !0 : _addIssue(this, \"type\", dataset, config2), dataset;\n }\n };\n}\nfunction object(entries, message) {\n return {\n kind: \"schema\",\n type: \"object\",\n reference: object,\n expects: \"Object\",\n async: !1,\n entries,\n message,\n _run(dataset, config2) {\n const input = dataset.value;\n if (input && typeof input == \"object\") {\n dataset.typed = !0, dataset.value = {};\n for (const key in this.entries) {\n const value2 = input[key], valueDataset = this.entries[key]._run({\n typed: !1,\n value: value2\n }, config2);\n if (valueDataset.issues) {\n const pathItem = {\n type: \"object\",\n origin: \"value\",\n input,\n key,\n value: value2\n };\n for (const issue of valueDataset.issues)\n issue.path ? issue.path.unshift(pathItem) : issue.path = [pathItem], dataset.issues?.push(issue);\n if (dataset.issues || (dataset.issues = valueDataset.issues), config2.abortEarly) {\n dataset.typed = !1;\n break;\n }\n }\n valueDataset.typed || (dataset.typed = !1), (valueDataset.value !== void 0 || key in input) && (dataset.value[key] = valueDataset.value);\n }\n } else\n _addIssue(this, \"type\", dataset, config2);\n return dataset;\n }\n };\n}\nfunction optional(wrapped, ...args) {\n const schema = {\n kind: \"schema\",\n type: \"optional\",\n reference: optional,\n expects: `${wrapped.expects} | undefined`,\n async: !1,\n wrapped,\n _run(dataset, config2) {\n return dataset.value === void 0 && (\"default\" in this && (dataset.value = getDefault(this, dataset, config2)), dataset.value === void 0) ? (dataset.typed = !0, dataset) : this.wrapped._run(dataset, config2);\n }\n };\n return 0 in args && (schema.default = args[0]), schema;\n}\nfunction picklist(options, message) {\n return {\n kind: \"schema\",\n type: \"picklist\",\n reference: picklist,\n expects: options.map(_stringify).join(\" | \") || \"never\",\n async: !1,\n options,\n message,\n _run(dataset, config2) {\n return this.options.includes(dataset.value) ? dataset.typed = !0 : _addIssue(this, \"type\", dataset, config2), dataset;\n }\n };\n}\nfunction record(key, value2, message) {\n return {\n kind: \"schema\",\n type: \"record\",\n reference: record,\n expects: \"Object\",\n async: !1,\n key,\n value: value2,\n message,\n _run(dataset, config2) {\n const input = dataset.value;\n if (input && typeof input == \"object\") {\n dataset.typed = !0, dataset.value = {};\n for (const entryKey in input)\n if (_isAllowedObjectKey(entryKey)) {\n const entryValue = input[entryKey], keyDataset = this.key._run({\n typed: !1,\n value: entryKey\n }, config2);\n if (keyDataset.issues) {\n const pathItem = {\n type: \"record\",\n origin: \"key\",\n input,\n key: entryKey,\n value: entryValue\n };\n for (const issue of keyDataset.issues)\n issue.path = [pathItem], dataset.issues?.push(issue);\n if (dataset.issues || (dataset.issues = keyDataset.issues), config2.abortEarly) {\n dataset.typed = !1;\n break;\n }\n }\n const valueDataset = this.value._run({\n typed: !1,\n value: entryValue\n }, config2);\n if (valueDataset.issues) {\n const pathItem = {\n type: \"record\",\n origin: \"value\",\n input,\n key: entryKey,\n value: entryValue\n };\n for (const issue of valueDataset.issues)\n issue.path ? issue.path.unshift(pathItem) : issue.path = [pathItem], dataset.issues?.push(issue);\n if (dataset.issues || (dataset.issues = valueDataset.issues), config2.abortEarly) {\n dataset.typed = !1;\n break;\n }\n }\n (!keyDataset.typed || !valueDataset.typed) && (dataset.typed = !1), keyDataset.typed && (dataset.value[keyDataset.value] = valueDataset.value);\n }\n } else\n _addIssue(this, \"type\", dataset, config2);\n return dataset;\n }\n };\n}\nfunction string(message) {\n return {\n kind: \"schema\",\n type: \"string\",\n reference: string,\n expects: \"string\",\n async: !1,\n message,\n _run(dataset, config2) {\n return typeof dataset.value == \"string\" ? dataset.typed = !0 : _addIssue(this, \"type\", dataset, config2), dataset;\n }\n };\n}\nfunction unknown() {\n return {\n kind: \"schema\",\n type: \"unknown\",\n reference: unknown,\n expects: \"unknown\",\n async: !1,\n _run(dataset) {\n return dataset.typed = !0, dataset;\n }\n };\n}\nfunction parse(schema, input, config2) {\n const dataset = schema._run({\n typed: !1,\n value: input\n }, getGlobalConfig(config2));\n if (dataset.issues)\n throw new ValiError(dataset.issues);\n return dataset.value;\n}\nfunction pipe(...pipe2) {\n return {\n ...pipe2[0],\n pipe: pipe2,\n _run(dataset, config2) {\n for (let index = 0; index < pipe2.length; index++) {\n dataset = pipe2[index]._run(dataset, config2);\n const nextAction = pipe2[index + 1];\n if (config2.skipPipe || dataset.issues && (config2.abortEarly || config2.abortPipeEarly || // TODO: This behavior must be documented!\n nextAction?.kind === \"schema\" || nextAction?.kind === \"transformation\")) {\n dataset.typed = !1;\n break;\n }\n }\n return dataset;\n }\n };\n}\nconst ACTION_IFRAME_LOADED = \"ACTION_IFRAME_LOADED\", ACTION_IFRAME_REFRESH = \"ACTION_IFRAME_REFRESH\", ACTION_IFRAME_RELOAD = \"ACTION_IFRAME_RELOAD\", ACTION_VISUAL_EDITING_OVERLAYS_TOGGLE = \"ACTION_VISUAL_EDITING_OVERLAYS_TOGGLE\", presentationReducer = (state, action) => {\n switch (action.type) {\n case ACTION_IFRAME_LOADED:\n return state.iframe.status === \"loaded\" ? state : {\n ...state,\n iframe: {\n ...state.iframe,\n status: \"loaded\"\n }\n };\n case ACTION_IFRAME_REFRESH:\n return state.iframe.status === \"refreshing\" ? state : {\n ...state,\n iframe: {\n ...state.iframe,\n status: \"refreshing\"\n }\n };\n case ACTION_IFRAME_RELOAD:\n return state.iframe.status === \"reloading\" ? state : {\n ...state,\n iframe: {\n ...state.iframe,\n status: \"reloading\"\n }\n };\n case ACTION_VISUAL_EDITING_OVERLAYS_TOGGLE:\n return toggleVisualEditingOverlays(state, action);\n default:\n return state;\n }\n}, toggleVisualEditingOverlays = (state, action) => state.visualEditing.overlaysEnabled === action.enabled ? state : {\n ...state,\n visualEditing: {\n ...state.visualEditing,\n overlaysEnabled: action.enabled\n }\n}, mainDocumentSchema = fallback(boolean(), !1), iframeStatusSchema = picklist([\"loading\", \"loaded\", \"refreshing\", \"reloading\"]), initStateSchema = object({\n mainDocument: mainDocumentSchema,\n iframe: object({\n status: iframeStatusSchema\n }),\n visualEditing: object({\n overlaysEnabled: boolean()\n })\n}), INITIAL_PRESENTATION_STATE = {\n mainDocument: !1,\n iframe: {\n status: \"loading\"\n },\n visualEditing: {\n overlaysEnabled: !1\n }\n};\nfunction presentationReducerInit(state) {\n return parse(initStateSchema, {\n ...INITIAL_PRESENTATION_STATE,\n ...state\n });\n}\nexport {\n ACTION_IFRAME_LOADED,\n ACTION_IFRAME_REFRESH,\n ACTION_IFRAME_RELOAD,\n ACTION_VISUAL_EDITING_OVERLAYS_TOGGLE,\n API_VERSION,\n COMMENTS_INSPECTOR_NAME,\n DEFAULT_TOOL_NAME,\n EDIT_INTENT_MODE,\n LIVE_QUERY_CACHE_BATCH_SIZE,\n LIVE_QUERY_CACHE_SIZE,\n MAX_TIME_TO_OVERLAYS_CONNECTION,\n MIN_LOADER_QUERY_LISTEN_HEARTBEAT_INTERVAL,\n POPUP_CHECK_INTERVAL,\n PresentationContext,\n PresentationNavigateContext,\n PresentationParamsContext,\n PresentationSpinner,\n SharedStateContext,\n defineDocuments,\n defineLocations,\n minLength,\n object,\n optional,\n pipe,\n presentationLocaleNamespace,\n presentationReducer,\n presentationReducerInit,\n presentationTool,\n record,\n string,\n unknown,\n usePresentationNavigate,\n usePresentationParams,\n usePresentationTool,\n useSharedState\n};\n//# sourceMappingURL=index.js.map\n"],"names":["React","require$$0","_interopNamespaceDefault","e","n","k","d","React__namespace","_a","_b","$empty","c","size","$","ii","GuardKind","c_1","DEFAULT_TOOL_ICON","ComposeIcon","DEFAULT_TOOL_NAME","DEFAULT_TOOL_TITLE","COMMENTS_INSPECTOR_NAME","EDIT_INTENT_MODE","MAX_TIME_TO_OVERLAYS_CONNECTION","API_VERSION","MIN_LOADER_QUERY_LISTEN_HEARTBEAT_INTERVAL","LIVE_QUERY_CACHE_BATCH_SIZE","LIVE_QUERY_CACHE_SIZE","POPUP_CHECK_INTERVAL","keysOf","value","setKey","source","key","props","options","Observable","observer","switchMap","object2","keyObservables","isObservable","from","map","val","of","combineLatest","pairs","acc","mergeAll","scan","INITIAL_STATE","getDocumentId","isReference","cleanPreviewable","id","previewable","clean","listen","fields","store5","query","params","observeDocument","paths","currentValue","headlessPaths","path","snapshot","leads","head","tail","next","res","tails","isRecord","observeForLocations","documentId","resolver","documentStore","select","doc2","get","useDocumentLocations","props2","resolvers","type","useDocumentStore","locationsState","setLocationsState","useState","locationsStatus","setLocationsStatus","t0","bb0","t13","_result","t12","result","t1","t2","sub","state","useEffect","t3","presentationLocaleNamespace","presentationUsEnglishLocaleBundle","defineLocaleResourceBundle","PresentationContext","createContext","usePresentationTool","throwOnMissingContext","presentation","useContext","useCurrentPresentationToolName","TONE_ICONS","InfoOutlineIcon","WarningOutlineIcon","ErrorOutlineIcon","LocationsBanner","isResolving","schemaType","showPresentationTitle","locations","message","tone","len","t","useTranslation","presentationName","expanded","setExpanded","_temp$1","toggle","title","jsxs","Flex","jsx","Box","Text","createElement","Fragment","t4","Card","Spinner","ChevronRightIcon","Stack","l","index","LocationItem","t5","t6","v","documentType","node","active","toolName","currentPresentationToolName","isCurrentTool","navigate","presentationLinkProps","useIntentLink","handleCurrentToolClick","DesktopIcon","t7","t8","t9","PresentationDocumentContext","LocationStack","styled","rem","PresentationDocumentHeader","context","status","contextOptions","t42","options_0","idx","PresentationDocumentProvider","children","parent","parentRegister","optionsArray","setOptionsArray","_temp","prev","prev_0","o","register","options_1","registerEffectEvent","useEffectEvent","useLayoutEffect","useOpenInStructureAction","workspace","useWorkspace","navigateIntent","useRouter","findStructureTool","defaultStructureTool","pathToString","handleAction","MasterDetailIcon","openInStructure","defineDocumentFieldAction","tools","results","match","modeMatches","preservedSearchParamKeys","getIntentState","intent","routerState","payload","mode","searchParams","_searchParams","getPublishedId","encodeJsonParams","uuid","PresentationSpinner","router","route","PresentationTool","lazy","BroadcastDisplayedDocument","defineLocations","defineDocuments","presentationTool","definePlugin","hasLocationsResolver","PresentationDocumentInput","isDocumentSchemaType","Suspense","canHandleCreateIntent","canHandleEditIntent","a","PresentationNavigateContext","usePresentationNavigate","PresentationParamsContext","usePresentationParams","SharedStateContext","useSharedState","setValue","store","getGlobalConfig","config2","store2","getGlobalMessage","lang","store3","getSchemaMessage","store4","getSpecificMessage","reference","_stringify","input","_addIssue","label","dataset","other","expected","received","issue","isSchema","_isAllowedObjectKey","ValiError","issues","__publicField","minLength","requirement","getFallback","schema","fallback","fallback2","getDefault","boolean","object","entries","value2","valueDataset","pathItem","optional","wrapped","args","picklist","record","entryKey","entryValue","keyDataset","string","unknown","parse","pipe","pipe2","nextAction","ACTION_IFRAME_LOADED","ACTION_IFRAME_REFRESH","ACTION_IFRAME_RELOAD","ACTION_VISUAL_EDITING_OVERLAYS_TOGGLE","presentationReducer","action","toggleVisualEditingOverlays","mainDocumentSchema","iframeStatusSchema","initStateSchema","INITIAL_PRESENTATION_STATE","presentationReducerInit"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAeA,IAAIA,KAAQC;AAEZ,SAASC,GAAyBC,GAAG;AACjC,MAAIC,IAAI,uBAAO,OAAO,IAAI;AAC1B,SAAID,KACA,OAAO,KAAKA,CAAC,EAAE,QAAQ,SAAUE,GAAG;AAChC,QAAIA,MAAM,WAAW;AACjB,UAAIC,IAAI,OAAO,yBAAyBH,GAAGE,CAAC;AAC5C,aAAO,eAAeD,GAAGC,GAAGC,EAAE,MAAMA,IAAI;AAAA,QACpC,YAAY;AAAA,QACZ,KAAK,WAAY;AAAE,iBAAOH,EAAEE,CAAC;AAAA,QAAE;AAAA,MACnD,CAAiB;AAAA,IACjB;AAAA,EACA,CAAS,GAELD,EAAE,UAAUD,GACL,OAAO,OAAOC,CAAC;AAC1B;AAEA,IAAIG,IAAgC,gBAAAL,GAAyBF,EAAK,GAE9DQ,GAAIC;AAAA,CAEsBD,IAAKD,EAAiB,qEAAqE,QAAQC,MAAO,UAAcD,EAAiB;AACvK,MAAMG,KAAS,OAAO,IAAI,2BAA2B,GAC/CC,KAAI,SAASF,IAAKF,EAAiB,wBAAwB,QAAQE,MAAO,SAAS,SAASA,EAAG,MAAO,aAEpGF,EAAiB,mBAAmB,IACtC,SAAWK,GAAM;AACf,SAAOL,EAAiB,QAAQ,MAAM;AAClC,UAAMM,IAAI,IAAI,MAAMD,CAAI;AACxB,aAASE,IAAK,GAAGA,IAAKF,GAAME;AACxB,MAAAD,EAAEC,CAAE,IAAIJ;AAEZ,WAAAG,EAAEH,EAAM,IAAI,IACLG;AAAA,EACV,GAAE,EAAE;AACR;AAuCL,IAAIE;AAAA,CACH,SAAUA,GAAW;AAClB,EAAAA,EAAUA,EAAU,mBAAsB,CAAC,IAAI,oBAC/C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GAAG8B,KAA6B;AAAA,EAC/B,cAAc;AAAA,EACd,QAAQ;AAAA,IACN,QAAQ;AAAA,EACT;AAAA,EACD,eAAe;AAAA,IACb,iBAAiB;AAAA,EACrB;AACA;AACA,SAASC,GAAwB7M,GAAO;AACtC,SAAO8L,GAAMa,IAAiB;AAAA,IAC5B,GAAGC;AAAA,IACH,GAAG5M;AAAA,EACP,CAAG;AACH;","x_google_ignoreList":[0,1]}
|
package/dist/presentation.mjs
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
import { h as e, n as t, f as n, l as A, x as o, y as E, z as I, B as _, u as O, F as i } from "./presentation-CSS9GR9X.mjs";
|
2
|
-
export {
|
3
|
-
e as ACTION_IFRAME_LOADED,
|
4
|
-
t as ACTION_IFRAME_REFRESH,
|
5
|
-
n as ACTION_IFRAME_RELOAD,
|
6
|
-
A as ACTION_VISUAL_EDITING_OVERLAYS_TOGGLE,
|
7
|
-
o as defineDocuments,
|
8
|
-
E as defineLocations,
|
9
|
-
I as presentationTool,
|
10
|
-
_ as usePresentationNavigate,
|
11
|
-
O as usePresentationParams,
|
12
|
-
i as useSharedState
|
13
|
-
};
|
14
|
-
//# sourceMappingURL=presentation.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"presentation.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
|
@@ -1,124 +0,0 @@
|
|
1
|
-
var e = {
|
2
|
-
/** The title shown above the document list */
|
3
|
-
"document-list-pane.document-list.title": "Documents on this page",
|
4
|
-
/** The text shown if the document list is unable to render */
|
5
|
-
"document-list-pane.error.text": "Could not render the document list",
|
6
|
-
/** The status of the channel connection */
|
7
|
-
"channel.status_connected": "Connected",
|
8
|
-
/** The status of the channel connection */
|
9
|
-
"channel.status_connecting": "Connecting",
|
10
|
-
/** The status of the channel connection */
|
11
|
-
"channel.status_disconnected": "Disconnected",
|
12
|
-
/** The status of the channel connection */
|
13
|
-
"channel.status_reconnecting": "Reconnecting",
|
14
|
-
/** The text shown if the document editor is unable to render */
|
15
|
-
"document-pane.error.text": "Could not render the document editor",
|
16
|
-
/** The text shown on the button for bypassing after a connection has failed */
|
17
|
-
"error-card.continue-button.text": "Continue anyway",
|
18
|
-
/** The text shown on the button for retrying after a connection has failed */
|
19
|
-
"error-card.retry-button.text": "Retry",
|
20
|
-
/** The title on the card shown after a connection has failed */
|
21
|
-
"error-card.title": "An error occurred",
|
22
|
-
/** The text shown when the document is used in a single location */
|
23
|
-
"locations-banner.locations-count_one": "Used on one page",
|
24
|
-
/** The text shown when the document is used in multiple locations */
|
25
|
-
"locations-banner.locations-count_other": "Used on {{count}} pages",
|
26
|
-
/** The text shown when a resolver exists but the document is not used in any locations */
|
27
|
-
"locations-banner.locations-count_zero": "Not used on any pages",
|
28
|
-
/** The text shown whilst the locations resolver is executing */
|
29
|
-
"locations-banner.resolving.text": "Resolving locations...",
|
30
|
-
/** The label shown on a main document in the list pane */
|
31
|
-
"main-document.label": "Main document",
|
32
|
-
/** The warning message text shown when a defined resolver fails to return a main document */
|
33
|
-
"main-document.missing.text": "Missing a main document for <Code>{{path}}</Code>",
|
34
|
-
/** The label for a generic error message */
|
35
|
-
"presentation-error.label": "Error message",
|
36
|
-
/** The text shown when the preview frame cannot connect to Presentation */
|
37
|
-
"preview-frame.connection.error.text": "Could not connect to the preview",
|
38
|
-
/** The text shown on the button for dismissing the error overlay after a timeout */
|
39
|
-
"preview-frame.continue-button.text": "Continue anyway",
|
40
|
-
/** The label for the loader's connection status */
|
41
|
-
"preview-frame.loader.connection-status.label": "Loader connection status",
|
42
|
-
/** The `aria-label` for the navigator toggle button */
|
43
|
-
"preview-frame.navigator.toggle-button.aria-label": "Toggle navigator",
|
44
|
-
/** The tooltip text for the navigator toggle button */
|
45
|
-
"preview-frame.navigator.toggle-button.tooltip": "Toggle navigator",
|
46
|
-
/** The label for the overlay's connection status */
|
47
|
-
"preview-frame.overlay.connection-status.label": "Overlay connection status",
|
48
|
-
/** The text shown on the overlay toggle button */
|
49
|
-
"preview-frame.overlay.toggle-button.text": "Edit",
|
50
|
-
/** The text shown on the overlay toggle tooltip when overlays are enabled */
|
51
|
-
"preview-frame.overlay.toggle-button.tooltip_disable": "Disable edit overlay",
|
52
|
-
/** The text shown on the overlay toggle tooltip when overlays are disabled */
|
53
|
-
"preview-frame.overlay.toggle-button.tooltip_enable": "Enable edit overlay",
|
54
|
-
/** The text description for the previewDrafts perspective switcher menu item */
|
55
|
-
"preview-frame.perspective.previewDrafts.text": "View this page with latest draft content",
|
56
|
-
/** The title for the previewDrafts perspective switcher menu item */
|
57
|
-
"preview-frame.perspective.previewDrafts.title": "Drafts",
|
58
|
-
/** The text description for the published perspective switcher menu item */
|
59
|
-
"preview-frame.perspective.published.text": "View this page with published content",
|
60
|
-
/** The title for the published perspective switcher menu item */
|
61
|
-
"preview-frame.perspective.published.title": "Published",
|
62
|
-
/** The `aria-label` for the refresh button */
|
63
|
-
"preview-frame.refresh-button.aria-label": "Refresh preview",
|
64
|
-
/** The tooltip text for the refresh button */
|
65
|
-
"preview-frame.refresh-button.tooltip": "Refresh preview",
|
66
|
-
/** Text describing the current status of the preview frame */
|
67
|
-
"preview-frame.status_connecting": "Connecting.",
|
68
|
-
/** Text describing the current status of the preview frame */
|
69
|
-
"preview-frame.status_loading": "Loading.",
|
70
|
-
/** Text describing the current status of the preview frame */
|
71
|
-
"preview-frame.status_refreshing": "Refreshing.",
|
72
|
-
/** Text describing the current status of the preview frame */
|
73
|
-
"preview-frame.status_reloading": "Refreshing.",
|
74
|
-
/** Text describing the current status of the preview frame */
|
75
|
-
"preview-frame.status_timeout": "Unable to connect, check the browser console for more information.",
|
76
|
-
/** The `aria-label` for the button that switches viewport size */
|
77
|
-
"preview-frame.viewport-button.aria-label": "Toggle viewport size",
|
78
|
-
/** The viewport size button tooltip text when switching to a full width viewport */
|
79
|
-
"preview-frame.viewport-button.tooltip_full": "Switch to full viewport",
|
80
|
-
/** The viewport size button tooltip text when switching to a narrow viewport */
|
81
|
-
"preview-frame.viewport-button.tooltip_narrow": "Switch to narrow viewport",
|
82
|
-
/** The validation error message shown when the preview location input is missing an origin */
|
83
|
-
"preview-location-input.error_missing-origin": "URL must start with ${{origin}}",
|
84
|
-
/** The validation error message shown when the preview location input's base path matches that of the studio */
|
85
|
-
"preview-location-input.error_same-base-path": "URL can’t have the same base path as the Studio {{basePath}}",
|
86
|
-
/** The status of the clipboard operation when copying a URL */
|
87
|
-
"share-url.clipboard.status_copying": "Copying URL to clipboard…",
|
88
|
-
/** The status of the clipboard operation when copying a URL */
|
89
|
-
"share-url.clipboard.status_failed": "Copy failed",
|
90
|
-
/** The status of the clipboard operation when copying a URL */
|
91
|
-
"share-url.clipboard.status_success": "The URL is copied to the clipboard",
|
92
|
-
/** The status of the clipboard operation when copying a URL */
|
93
|
-
"share-url.clipboard.status_unsupported": "Clipboard not supported",
|
94
|
-
/** The share URL menu item text for opening a preview window */
|
95
|
-
"share-url.menu-item.open.text": "Open preview",
|
96
|
-
/** Error toast that notifies that URL Preview Secrets can't be generated as the user lacks ACL grants */
|
97
|
-
"preview-url-secret.missing-grants": "You don't have permission to create URL Preview Secrets. This will likely cause the preview to fail loading.",
|
98
|
-
/** The `aria-label` for the button that opens the share menu */
|
99
|
-
"preview-frame.share-button.aria-label": "Share this preview",
|
100
|
-
/** The <title> for the QR Code SVG that shows a link to the current preview */
|
101
|
-
"share-preview-menu.qr-code.title": "A QR Code which encodes the URL: {{url}}",
|
102
|
-
/** Error message toast that shows the current user does not have permission to toggle sharing of the current preview */
|
103
|
-
"share-preview-menu.error_toggle-sharing": "You don't have permission to toggle sharing of this preview",
|
104
|
-
/** The text shown on the sharing toggle tooltip when sharing is enabled */
|
105
|
-
"share-preview-menu.toggle-button.tooltip_disable": "Disable sharing",
|
106
|
-
/** The text shown on the sharing toggle tooltip when sharing is disabled */
|
107
|
-
"share-preview-menu.toggle-button.tooltip_enable": "Enable sharing",
|
108
|
-
/** The first line of the label that renders next to the sharing toggle, it renders on two rows */
|
109
|
-
"share-preview-menu.toggle-button.label_first-line": "Share this preview",
|
110
|
-
/** The second line of the label that renders next to the sharing toggle, it renders on two rows */
|
111
|
-
"share-preview-menu.toggle-button.label_second-line": "with anyone who has the link",
|
112
|
-
/** Placeholder message for the QR Code SVG when sharing is yet to be enabled */
|
113
|
-
"share-preview-menu.qr-code.placeholder": "QR code will appear here",
|
114
|
-
/** The text show below the QR Code SVG, with instructions on how to use it */
|
115
|
-
"share-preview-menu.qr-code.instructions": "Scan the QR Code to open the preview on your phone.",
|
116
|
-
/** Menu item in the share preview menu that allows copying the current preview URL, if sharing is enabled */
|
117
|
-
"share-preview-menu.copy-url.text": "Copy preview link",
|
118
|
-
/** Fallback message shown when the current user is not permitted to share previews */
|
119
|
-
"share-preview-menu.error_missing-grants": "You don't have permission to share previews. "
|
120
|
-
};
|
121
|
-
export {
|
122
|
-
e as default
|
123
|
-
};
|
124
|
-
//# sourceMappingURL=resources-4cbq8YlR.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"resources-4cbq8YlR.mjs","sources":["../../../node_modules/.pnpm/@sanity+presentation@1.19.14-release.0_@emotion+is-prop-valid@1.3.1_@sanity+color@3.0.6_debug_vqegs67ktulknun2leapg5jvli/node_modules/@sanity/presentation/dist/_chunks-es/resources.js"],"sourcesContent":["var resources = {\n /** The title shown above the document list */\n \"document-list-pane.document-list.title\": \"Documents on this page\",\n /** The text shown if the document list is unable to render */\n \"document-list-pane.error.text\": \"Could not render the document list\",\n /** The status of the channel connection */\n \"channel.status_connected\": \"Connected\",\n /** The status of the channel connection */\n \"channel.status_connecting\": \"Connecting\",\n /** The status of the channel connection */\n \"channel.status_disconnected\": \"Disconnected\",\n /** The status of the channel connection */\n \"channel.status_reconnecting\": \"Reconnecting\",\n /** The text shown if the document editor is unable to render */\n \"document-pane.error.text\": \"Could not render the document editor\",\n /** The text shown on the button for bypassing after a connection has failed */\n \"error-card.continue-button.text\": \"Continue anyway\",\n /** The text shown on the button for retrying after a connection has failed */\n \"error-card.retry-button.text\": \"Retry\",\n /** The title on the card shown after a connection has failed */\n \"error-card.title\": \"An error occurred\",\n /** The text shown when the document is used in a single location */\n \"locations-banner.locations-count_one\": \"Used on one page\",\n /** The text shown when the document is used in multiple locations */\n \"locations-banner.locations-count_other\": \"Used on {{count}} pages\",\n /** The text shown when a resolver exists but the document is not used in any locations */\n \"locations-banner.locations-count_zero\": \"Not used on any pages\",\n /** The text shown whilst the locations resolver is executing */\n \"locations-banner.resolving.text\": \"Resolving locations...\",\n /** The label shown on a main document in the list pane */\n \"main-document.label\": \"Main document\",\n /** The warning message text shown when a defined resolver fails to return a main document */\n \"main-document.missing.text\": \"Missing a main document for <Code>{{path}}</Code>\",\n /** The label for a generic error message */\n \"presentation-error.label\": \"Error message\",\n /** The text shown when the preview frame cannot connect to Presentation */\n \"preview-frame.connection.error.text\": \"Could not connect to the preview\",\n /** The text shown on the button for dismissing the error overlay after a timeout */\n \"preview-frame.continue-button.text\": \"Continue anyway\",\n /** The label for the loader's connection status */\n \"preview-frame.loader.connection-status.label\": \"Loader connection status\",\n /** The `aria-label` for the navigator toggle button */\n \"preview-frame.navigator.toggle-button.aria-label\": \"Toggle navigator\",\n /** The tooltip text for the navigator toggle button */\n \"preview-frame.navigator.toggle-button.tooltip\": \"Toggle navigator\",\n /** The label for the overlay's connection status */\n \"preview-frame.overlay.connection-status.label\": \"Overlay connection status\",\n /** The text shown on the overlay toggle button */\n \"preview-frame.overlay.toggle-button.text\": \"Edit\",\n /** The text shown on the overlay toggle tooltip when overlays are enabled */\n \"preview-frame.overlay.toggle-button.tooltip_disable\": \"Disable edit overlay\",\n /** The text shown on the overlay toggle tooltip when overlays are disabled */\n \"preview-frame.overlay.toggle-button.tooltip_enable\": \"Enable edit overlay\",\n /** The text description for the previewDrafts perspective switcher menu item */\n \"preview-frame.perspective.previewDrafts.text\": \"View this page with latest draft content\",\n /** The title for the previewDrafts perspective switcher menu item */\n \"preview-frame.perspective.previewDrafts.title\": \"Drafts\",\n /** The text description for the published perspective switcher menu item */\n \"preview-frame.perspective.published.text\": \"View this page with published content\",\n /** The title for the published perspective switcher menu item */\n \"preview-frame.perspective.published.title\": \"Published\",\n /** The `aria-label` for the refresh button */\n \"preview-frame.refresh-button.aria-label\": \"Refresh preview\",\n /** The tooltip text for the refresh button */\n \"preview-frame.refresh-button.tooltip\": \"Refresh preview\",\n /** Text describing the current status of the preview frame */\n \"preview-frame.status_connecting\": \"Connecting.\",\n /** Text describing the current status of the preview frame */\n \"preview-frame.status_loading\": \"Loading.\",\n /** Text describing the current status of the preview frame */\n \"preview-frame.status_refreshing\": \"Refreshing.\",\n /** Text describing the current status of the preview frame */\n \"preview-frame.status_reloading\": \"Refreshing.\",\n /** Text describing the current status of the preview frame */\n \"preview-frame.status_timeout\": \"Unable to connect, check the browser console for more information.\",\n /** The `aria-label` for the button that switches viewport size */\n \"preview-frame.viewport-button.aria-label\": \"Toggle viewport size\",\n /** The viewport size button tooltip text when switching to a full width viewport */\n \"preview-frame.viewport-button.tooltip_full\": \"Switch to full viewport\",\n /** The viewport size button tooltip text when switching to a narrow viewport */\n \"preview-frame.viewport-button.tooltip_narrow\": \"Switch to narrow viewport\",\n /** The validation error message shown when the preview location input is missing an origin */\n \"preview-location-input.error_missing-origin\": \"URL must start with ${{origin}}\",\n /** The validation error message shown when the preview location input's base path matches that of the studio */\n \"preview-location-input.error_same-base-path\": \"URL can\\u2019t have the same base path as the Studio {{basePath}}\",\n /** The status of the clipboard operation when copying a URL */\n \"share-url.clipboard.status_copying\": \"Copying URL to clipboard\\u2026\",\n /** The status of the clipboard operation when copying a URL */\n \"share-url.clipboard.status_failed\": \"Copy failed\",\n /** The status of the clipboard operation when copying a URL */\n \"share-url.clipboard.status_success\": \"The URL is copied to the clipboard\",\n /** The status of the clipboard operation when copying a URL */\n \"share-url.clipboard.status_unsupported\": \"Clipboard not supported\",\n /** The share URL menu item text for opening a preview window */\n \"share-url.menu-item.open.text\": \"Open preview\",\n /** Error toast that notifies that URL Preview Secrets can't be generated as the user lacks ACL grants */\n \"preview-url-secret.missing-grants\": \"You don't have permission to create URL Preview Secrets. This will likely cause the preview to fail loading.\",\n /** The `aria-label` for the button that opens the share menu */\n \"preview-frame.share-button.aria-label\": \"Share this preview\",\n /** The <title> for the QR Code SVG that shows a link to the current preview */\n \"share-preview-menu.qr-code.title\": \"A QR Code which encodes the URL: {{url}}\",\n /** Error message toast that shows the current user does not have permission to toggle sharing of the current preview */\n \"share-preview-menu.error_toggle-sharing\": \"You don't have permission to toggle sharing of this preview\",\n /** The text shown on the sharing toggle tooltip when sharing is enabled */\n \"share-preview-menu.toggle-button.tooltip_disable\": \"Disable sharing\",\n /** The text shown on the sharing toggle tooltip when sharing is disabled */\n \"share-preview-menu.toggle-button.tooltip_enable\": \"Enable sharing\",\n /** The first line of the label that renders next to the sharing toggle, it renders on two rows */\n \"share-preview-menu.toggle-button.label_first-line\": \"Share this preview\",\n /** The second line of the label that renders next to the sharing toggle, it renders on two rows */\n \"share-preview-menu.toggle-button.label_second-line\": \"with anyone who has the link\",\n /** Placeholder message for the QR Code SVG when sharing is yet to be enabled */\n \"share-preview-menu.qr-code.placeholder\": \"QR code will appear here\",\n /** The text show below the QR Code SVG, with instructions on how to use it */\n \"share-preview-menu.qr-code.instructions\": \"Scan the QR Code to open the preview on your phone.\",\n /** Menu item in the share preview menu that allows copying the current preview URL, if sharing is enabled */\n \"share-preview-menu.copy-url.text\": \"Copy preview link\",\n /** Fallback message shown when the current user is not permitted to share previews */\n \"share-preview-menu.error_missing-grants\": \"You don't have permission to share previews. \"\n};\nexport {\n resources as default\n};\n//# sourceMappingURL=resources.js.map\n"],"names":["resources"],"mappings":"AAAG,IAACA,IAAY;AAAA;AAAA,EAEd,0CAA0C;AAAA;AAAA,EAE1C,iCAAiC;AAAA;AAAA,EAEjC,4BAA4B;AAAA;AAAA,EAE5B,6BAA6B;AAAA;AAAA,EAE7B,+BAA+B;AAAA;AAAA,EAE/B,+BAA+B;AAA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2C;AAAA;AAAA,EAE3C,oDAAoD;AAAA;AAAA,EAEpD,mDAAmD;AAAA;AAAA,EAEnD,qDAAqD;AAAA;AAAA,EAErD,sDAAsD;AAAA;AAAA,EAEtD,0CAA0C;AAAA;AAAA,EAE1C,2CAA2C;AAAA;AAAA,EAE3C,oCAAoC;AAAA;AAAA,EAEpC,2CAA2C;AAC7C;","x_google_ignoreList":[0]}
|
@@ -1,57 +0,0 @@
|
|
1
|
-
import { defineLocalesResources as e } from "./index.mjs";
|
2
|
-
const i = e("create", {
|
3
|
-
/** "Start in Sanity Create" link button text */
|
4
|
-
"start-in-create-link.label": "Start in Create",
|
5
|
-
/** Header of the "Start writing in Create" banner */
|
6
|
-
"start-in-create-banner.title": "Get started with Sanity Create",
|
7
|
-
/** Header badge of the "Start writing in Create" banner */
|
8
|
-
"start-in-create-banner.title-badge": "Early access",
|
9
|
-
/** Subtitle of the "Start writing in Create" banner */
|
10
|
-
"start-in-create-banner.subtitle": "A free-form, AI-powered editor that syncs directly with your Studio documents.",
|
11
|
-
/** CTA in "Start writing in Create" dialog: Learn more */
|
12
|
-
"start-in-create-dialog.cta.learn-more": "Learn more.",
|
13
|
-
/** Toast error message when we dont have a resolved Sanity Create url*/
|
14
|
-
"start-in-create-dialog.error-toast.unresolved-url": "Unable to determine Sanity Create URL.",
|
15
|
-
/** Header of the "Linking in progress" dialog */
|
16
|
-
"linking-in-progress-dialog.header": "Linking to Sanity Create",
|
17
|
-
/** Lede text for the "Linking in progress" dialog */
|
18
|
-
"linking-in-progress-dialog.lede": "Head back to Sanity Create. Your document will sync automatically (usually takes a few seconds).",
|
19
|
-
/** Details for the "Linking in progress" dialog */
|
20
|
-
"linking-in-progress-dialog.details": "Once linked, your edits will appear here in real-time.",
|
21
|
-
/** "Linking in progress" troubleshooting button title */
|
22
|
-
"linking-in-progress-dialog.troubleshooting.button.title": "Linking delayed?",
|
23
|
-
/** "Linking in progress" troubleshooting content */
|
24
|
-
"linking-in-progress-dialog.troubleshooting.content": "Check if your Sanity Create window is still open, or if the process seems stuck. If problems persist, try refreshing the Studio and try again.",
|
25
|
-
/** Text for the document pane banner informing users that the document is linked to Sanity Create */
|
26
|
-
"studio-create-link-banner.text": "This document is linked to Sanity Create",
|
27
|
-
/** Tooltip for Create Link button */
|
28
|
-
"create-link-info.tooltip": "Learn more",
|
29
|
-
/** Text above header in Create Link info popover */
|
30
|
-
"create-link-info-popover.eyebrow-title": "Sanity Create",
|
31
|
-
/** Text in badge above header in Create Link info popover */
|
32
|
-
"create-link-info-popover.eyebrow-badge": "Early access",
|
33
|
-
/** Header in Create Link info popover */
|
34
|
-
"create-link-info-popover.header": "Idea-first authoring",
|
35
|
-
/** Informational text in Create Link info popover */
|
36
|
-
"create-link-info-popover.text": "Write naturally in an AI-powered editor. Your content automatically maps to Studio fields as you type.",
|
37
|
-
/** Edit in Create button text */
|
38
|
-
"edit-in-create-button.text": "Edit with Sanity Create",
|
39
|
-
/** Unlink document from Sanity Create button text */
|
40
|
-
"unlink-from-create-button.text": "Unlink",
|
41
|
-
/** Unlink from Create dialog header */
|
42
|
-
"unlink-from-create-dialog.header": "Switch editing to Studio?",
|
43
|
-
/** Unlink from Create dialog – first informational paragraph */
|
44
|
-
"unlink-from-create-dialog.first-paragraph": "You’re unlinking “<strong>{{title}}</strong>” from Sanity Create so it can be edited here.",
|
45
|
-
/** Unlink from Create dialog – second informational paragraph */
|
46
|
-
"unlink-from-create-dialog.second-paragraph": "You’ll keep your content in both places. Any new changes in Sanity Create will stop syncing to this Studio.",
|
47
|
-
/** Unlink from Create dialog: Cancel button text */
|
48
|
-
"unlink-from-create-dialog.cancel.text": "Cancel",
|
49
|
-
/** Unlink from Create dialog: Document title used if no other title can be determined */
|
50
|
-
"unlink-from-create-dialog.document.untitled.text": "Untitled",
|
51
|
-
/** Unlink from Create dialog: Unlink button text */
|
52
|
-
"unlink-from-create-dialog.unlink.text": "Unlink now"
|
53
|
-
});
|
54
|
-
export {
|
55
|
-
i as default
|
56
|
-
};
|
57
|
-
//# sourceMappingURL=resources-BVETz6Ur.mjs.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"resources-BVETz6Ur.mjs","sources":["../src/core/create/i18n/resources.ts"],"sourcesContent":["import {defineLocalesResources} from '../../i18n'\n\n/**\n * Defined locale strings for the Create integration feature, in US English.\n *\n * @internal\n */\nconst createLocaleStrings = defineLocalesResources('create', {\n /** \"Start in Sanity Create\" link button text */\n 'start-in-create-link.label': 'Start in Create',\n\n /** Header of the \"Start writing in Create\" banner */\n 'start-in-create-banner.title': 'Get started with Sanity Create',\n /** Header badge of the \"Start writing in Create\" banner */\n 'start-in-create-banner.title-badge': 'Early access',\n /** Subtitle of the \"Start writing in Create\" banner */\n 'start-in-create-banner.subtitle':\n 'A free-form, AI-powered editor that syncs directly with your Studio documents.',\n\n /** CTA in \"Start writing in Create\" dialog: Learn more */\n 'start-in-create-dialog.cta.learn-more': 'Learn more.',\n /** Toast error message when we dont have a resolved Sanity Create url*/\n 'start-in-create-dialog.error-toast.unresolved-url': 'Unable to determine Sanity Create URL.',\n\n /** Header of the \"Linking in progress\" dialog */\n 'linking-in-progress-dialog.header': 'Linking to Sanity Create',\n /** Lede text for the \"Linking in progress\" dialog */\n 'linking-in-progress-dialog.lede':\n 'Head back to Sanity Create. Your document will sync automatically (usually takes a few seconds).',\n /** Details for the \"Linking in progress\" dialog */\n 'linking-in-progress-dialog.details': 'Once linked, your edits will appear here in real-time.',\n /** \"Linking in progress\" troubleshooting button title */\n 'linking-in-progress-dialog.troubleshooting.button.title': 'Linking delayed?',\n /** \"Linking in progress\" troubleshooting content */\n 'linking-in-progress-dialog.troubleshooting.content':\n 'Check if your Sanity Create window is still open, or if the process seems stuck. If problems persist, try refreshing the Studio and try again.',\n /** Text for the document pane banner informing users that the document is linked to Sanity Create */\n 'studio-create-link-banner.text': 'This document is linked to Sanity Create',\n\n /** Tooltip for Create Link button */\n 'create-link-info.tooltip': 'Learn more',\n /** Text above header in Create Link info popover */\n 'create-link-info-popover.eyebrow-title': 'Sanity Create',\n /** Text in badge above header in Create Link info popover */\n 'create-link-info-popover.eyebrow-badge': 'Early access',\n /** Header in Create Link info popover */\n 'create-link-info-popover.header': 'Idea-first authoring',\n /** Informational text in Create Link info popover */\n 'create-link-info-popover.text':\n 'Write naturally in an AI-powered editor. Your content automatically maps to Studio fields as you type.',\n\n /** Edit in Create button text */\n 'edit-in-create-button.text': 'Edit with Sanity Create',\n /** Unlink document from Sanity Create button text */\n 'unlink-from-create-button.text': 'Unlink',\n\n /** Unlink from Create dialog header */\n 'unlink-from-create-dialog.header': 'Switch editing to Studio?',\n /** Unlink from Create dialog – first informational paragraph */\n 'unlink-from-create-dialog.first-paragraph':\n 'You’re unlinking “<strong>{{title}}</strong>” from Sanity Create so it can be edited here.',\n /** Unlink from Create dialog – second informational paragraph */\n 'unlink-from-create-dialog.second-paragraph':\n 'You’ll keep your content in both places. Any new changes in Sanity Create will stop syncing to this Studio.',\n /** Unlink from Create dialog: Cancel button text */\n 'unlink-from-create-dialog.cancel.text': 'Cancel',\n /** Unlink from Create dialog: Document title used if no other title can be determined */\n 'unlink-from-create-dialog.document.untitled.text': 'Untitled',\n /** Unlink from Create dialog: Unlink button text */\n 'unlink-from-create-dialog.unlink.text': 'Unlink now',\n})\n\n/**\n * @alpha\n */\nexport type CreateLocaleResourceKeys = keyof typeof createLocaleStrings\n\nexport default createLocaleStrings\n"],"names":["createLocaleStrings","defineLocalesResources"],"mappings":";AAOMA,MAAAA,IAAsBC,EAAuB,UAAU;AAAA;AAAA,EAE3D,8BAA8B;AAAA;AAAA,EAG9B,gCAAgC;AAAA;AAAA,EAEhC,sCAAsC;AAAA;AAAA,EAEtC,mCACE;AAAA;AAAA,EAGF,yCAAyC;AAAA;AAAA,EAEzC,qDAAqD;AAAA;AAAA,EAGrD,qCAAqC;AAAA;AAAA,EAErC,mCACE;AAAA;AAAA,EAEF,sCAAsC;AAAA;AAAA,EAEtC,2DAA2D;AAAA;AAAA,EAE3D,sDACE;AAAA;AAAA,EAEF,kCAAkC;AAAA;AAAA,EAGlC,4BAA4B;AAAA;AAAA,EAE5B,0CAA0C;AAAA;AAAA,EAE1C,0CAA0C;AAAA;AAAA,EAE1C,mCAAmC;AAAA;AAAA,EAEnC,iCACE;AAAA;AAAA,EAGF,8BAA8B;AAAA;AAAA,EAE9B,kCAAkC;AAAA;AAAA,EAGlC,oCAAoC;AAAA;AAAA,EAEpC,6CACE;AAAA;AAAA,EAEF,8CACE;AAAA;AAAA,EAEF,yCAAyC;AAAA;AAAA,EAEzC,oDAAoD;AAAA;AAAA,EAEpD,yCAAyC;AAC3C,CAAC;"}
|